import React from 'react';

import type { IconProps } from './iconProps';

export const BugIcon = ({
  width = 20,
  height = 20,
  viewBox = '0 0 20 20',
  role = 'image',
  ref,
  ...rest
}: IconProps) => (
  <svg
    ref={ref}
    xmlns="http://www.w3.org/2000/svg"
    fill="none"
    width={width}
    height={height}
    viewBox={viewBox}
    role={role}
    {...rest}
  >
    <path
      d="M14.4544 1.39253C14.8667 1.49557 15.1142 1.90056 15.007 2.29711C14.8999 2.69366 14.4788 2.9316 14.0664 2.82857L12.7192 2.49194C12.5937 2.46057 12.4635 2.524 12.4156 2.63988L12.3562 2.7835C13.2466 3.33788 13.9067 4.20511 14.1683 5.22337C14.3046 5.75371 13.8312 6.20315 13.2632 6.20315L6.85422 6.20315C6.28616 6.20315 5.81281 5.75371 5.94907 5.22337C6.22121 4.16419 6.92452 3.26843 7.86963 2.71819L7.83724 2.63988C7.78931 2.524 7.65916 2.46057 7.53365 2.49194L6.18645 2.82857C5.7741 2.9316 5.35297 2.69366 5.24583 2.29711C5.13869 1.90056 5.38612 1.49557 5.79846 1.39253L7.14566 1.0559C8.02425 0.836363 8.93534 1.28035 9.27083 2.09152L9.31369 2.19514C9.55555 2.15384 9.80451 2.13229 10.0587 2.13229C10.3572 2.13229 10.6485 2.162 10.9295 2.21852L10.982 2.09152C11.3175 1.28035 12.2286 0.836363 13.1072 1.0559L14.4544 1.39253Z"
      fill="currentColor"
    />
    <path
      d="M2.41745 4.66648C2.83813 4.60165 3.2338 4.87705 3.30121 5.2816L3.69498 7.64454C3.71288 7.75195 3.80166 7.8355 3.91372 7.85037L5.13481 8.01244C5.41366 7.62838 5.87666 7.37714 6.40068 7.37714H13.6005C14.1245 7.37714 14.5875 7.62836 14.8664 8.01239L16.0863 7.85048C16.1983 7.83561 16.2871 7.75206 16.305 7.64464L16.6988 5.28171C16.7662 4.87716 17.1619 4.60176 17.5825 4.66659C18.0032 4.73142 18.2896 5.11194 18.2222 5.51649L17.8284 7.87942C17.7031 8.63131 17.0816 9.21616 16.2972 9.32026L15.1434 9.4734V10.7468L16.7557 11.0053C17.3761 11.1047 17.8975 11.5083 18.131 12.0698L18.9446 14.0259C19.1028 14.4063 18.9104 14.838 18.5149 14.9902C18.1193 15.1424 17.6704 14.9573 17.5121 14.5769L16.6985 12.6209C16.6652 12.5407 16.5907 12.483 16.5021 12.4688L15.1434 12.251V12.8174C15.1434 13.2536 15.0847 13.6766 14.9744 14.0794L15.8136 14.8861C16.2394 15.2953 16.4243 15.8822 16.3062 16.4499L15.8999 18.4035C15.8164 18.8052 15.41 19.0658 14.9922 18.9855C14.5744 18.9051 14.3035 18.5143 14.387 18.1125L14.7933 16.1589C14.8102 16.0778 14.7838 15.994 14.723 15.9355L14.3014 15.5303C13.3822 16.8752 11.7992 17.7632 10.0006 17.7632C8.20164 17.7632 6.6184 16.8749 5.69932 15.5295L5.27703 15.9354C5.21621 15.9938 5.1898 16.0777 5.20667 16.1588L5.61296 18.1124C5.69651 18.5142 5.42558 18.905 5.00781 18.9853C4.59004 19.0657 4.18364 18.8051 4.10009 18.4034L3.6938 16.4498C3.57574 15.8821 3.76059 15.2952 4.18636 14.886L5.0265 14.0784C4.91646 13.6758 4.85785 13.2532 4.85785 12.8174V12.2507L3.49792 12.4687C3.4093 12.4829 3.33482 12.5406 3.30145 12.6208L2.48786 14.5768C2.32963 14.9572 1.88069 15.1423 1.48512 14.9901C1.08955 14.8379 0.897152 14.4062 1.05538 14.0258L1.86897 12.0697C2.10254 11.5082 2.62394 11.1046 3.24428 11.0052L4.85785 10.7465V9.47346L3.70279 9.32016C2.9184 9.21605 2.29688 8.63121 2.17158 7.87931L1.77782 5.51638C1.71041 5.11183 1.99678 4.73131 2.41745 4.66648Z"
      fill="currentColor1B1B"
    />
  </svg>
);
