interface CarIconType {
  className?: string;
  onClick?: () => void;
}

const CarIcon = ({ className, onClick }: CarIconType) => {
  return (
    <svg
      width="16"
      height="16"
      viewBox="0 0 16 16"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      className={className}
      onClick={onClick}
    >
      <path
        d="M15.9008 12.207C15.882 12.3352 15.8508 12.4602 15.8039 12.557C15.7195 12.7289 15.6383 12.7446 15.3195 12.7289C14.907 12.7102 14.3164 12.7289 13.6914 12.7539C13.6914 12.9258 13.6977 13.0071 13.6977 13.0071C13.7383 13.479 13.9508 13.4946 14.0352 13.4946H15.3789C15.4977 13.4946 15.607 13.4946 15.6914 13.4383C15.8008 13.3665 15.8477 13.1571 15.8883 12.7914C15.8945 12.7383 15.8977 12.6696 15.9008 12.5883V12.5852C15.9008 12.5602 15.9039 12.5289 15.9039 12.4945V12.4602C15.9039 12.3758 15.9039 12.282 15.9008 12.207Z"
        fill="#FFC600"
      />
      <path
        d="M0.0929687 12.207C0.111719 12.3352 0.142969 12.4602 0.189844 12.557C0.274219 12.7289 0.355469 12.7446 0.674219 12.7289C1.08672 12.7102 1.67734 12.7289 2.30234 12.7539C2.30234 12.9258 2.29609 13.0071 2.29609 13.0071C2.25547 13.479 2.04297 13.4946 1.95859 13.4946H0.614844C0.496094 13.4946 0.396094 13.4946 0.302344 13.4383C0.189844 13.3727 0.146094 13.1571 0.105469 12.7914C0.0992188 12.7383 0.0960937 12.6696 0.0929687 12.5883V12.5852C0.0929687 12.5602 0.0898438 12.5289 0.0898438 12.4945V12.4602C0.0929688 12.3758 0.0929687 12.282 0.0929687 12.207Z"
        fill="#FFC600"
      />
      <path
        d="M8 2.59961C8.84832 2.59961 9.79745 2.61577 10.9893 2.74023H10.9902C12.1615 2.85894 12.3095 2.89486 12.4697 2.94434V2.94531C12.6172 2.99283 13.0169 3.19897 13.4062 3.89844C13.5852 4.22114 13.7336 4.58939 13.8584 4.93164C13.9814 5.26881 14.0849 5.59042 14.1699 5.7998L14.1963 5.86426L14.2646 5.8623L14.5244 5.85645L14.6211 5.85449L14.6221 5.75781V5.73145C14.6224 5.71462 14.6229 5.69041 14.624 5.66113C14.6263 5.60235 14.6313 5.52367 14.6387 5.44336C14.6461 5.3622 14.6565 5.28169 14.6709 5.21973C14.6781 5.18894 14.6855 5.16589 14.6924 5.15039C14.6951 5.14435 14.6971 5.14045 14.6982 5.13867C14.7295 5.11866 14.7413 5.11165 14.7686 5.10645C14.8035 5.09981 14.8662 5.09845 14.9961 5.11523C15.1295 5.1325 15.3058 5.15547 15.4609 5.18848C15.5384 5.20496 15.608 5.2228 15.6631 5.24316C15.7218 5.2649 15.7503 5.28443 15.7598 5.29492C15.8013 5.34134 15.8366 5.40797 15.8613 5.47754C15.8862 5.54754 15.8964 5.61005 15.8965 5.64355C15.8965 5.67688 15.8921 5.69181 15.8818 5.70801C15.8668 5.73174 15.8394 5.7602 15.7822 5.81738C15.7734 5.8259 15.7408 5.84412 15.6729 5.86523C15.6094 5.88496 15.529 5.90333 15.4424 5.91797C15.2691 5.94721 15.0798 5.96286 14.9629 5.96289C14.8587 5.96289 14.8116 5.94015 14.7773 5.9209C14.742 5.90102 14.6784 5.85293 14.5801 5.86328H14.5791C14.5344 5.86854 14.4834 5.89073 14.4482 5.90625C14.4065 5.92468 14.3685 5.94313 14.3301 5.95508L14.2256 5.9873L14.2666 6.08789C14.291 6.14806 14.3124 6.1987 14.3389 6.24219C14.3674 6.28888 14.4001 6.32562 14.4463 6.36328C14.49 6.39897 14.5481 6.43736 14.625 6.48828C14.7035 6.54023 14.806 6.60727 14.9434 6.70117C15.216 6.88658 15.4115 7.0279 15.542 7.13086C15.6072 7.18228 15.6554 7.2232 15.6885 7.25488C15.7048 7.27048 15.7164 7.28326 15.7246 7.29297L15.7354 7.30762C15.736 7.3095 15.7375 7.31329 15.7393 7.31934C15.7421 7.32938 15.7452 7.34302 15.749 7.36035C15.7567 7.39518 15.7652 7.44237 15.7744 7.5C15.7928 7.61504 15.8134 7.77009 15.832 7.95215C15.8692 8.31656 15.9004 8.78718 15.9004 9.2627C15.9004 10.2253 15.8318 11.0718 15.8252 11.3887V11.3906C15.8252 11.5209 15.8278 11.7383 15.7979 11.9453C15.7799 12.0682 15.7505 12.1817 15.71 12.2656C15.6732 12.3406 15.649 12.3598 15.6152 12.3711C15.5907 12.3793 15.5585 12.3841 15.5117 12.3857L15.3203 12.3818L14.9766 12.375C14.6029 12.3742 14.1477 12.3909 13.6875 12.4072H13.6865C13.2731 12.4229 12.853 12.441 12.4795 12.4473H12.1855C11.9434 12.4401 11.8436 12.4146 11.7832 12.3926C11.7618 12.3848 11.7439 12.3773 11.7227 12.3682C11.702 12.3593 11.6786 12.3492 11.6504 12.3408C11.5924 12.3235 11.5234 12.3147 11.417 12.3164C11.0145 12.3228 9.44066 12.3877 7.99707 12.3877C6.55316 12.3877 4.98158 12.3227 4.57617 12.3164C4.47017 12.3148 4.40163 12.3236 4.34375 12.3408C4.31551 12.3493 4.29118 12.3593 4.27051 12.3682C4.2494 12.3772 4.23217 12.3848 4.21094 12.3926C4.13046 12.4219 3.98002 12.4566 3.51465 12.4473L2.30664 12.4072H2.30762C1.69295 12.3823 1.09137 12.3629 0.673828 12.3818H0.672852C0.507712 12.3898 0.428023 12.3874 0.378906 12.3711C0.345091 12.3598 0.320004 12.3406 0.283203 12.2656L0.282227 12.2637C0.261254 12.2229 0.244557 12.1747 0.230469 12.1211L0.196289 11.9453C0.169311 11.7374 0.168945 11.5189 0.168945 11.3906C0.168915 11.2343 0.150815 10.9377 0.133789 10.5674C0.116628 10.1941 0.0996094 9.74015 0.0996094 9.2627C0.0996142 8.78718 0.130765 8.31656 0.167969 7.95215C0.186561 7.77009 0.207221 7.61504 0.225586 7.5C0.234791 7.44237 0.243333 7.39518 0.250977 7.36035C0.25478 7.34302 0.257866 7.32938 0.260742 7.31934C0.262799 7.31217 0.264111 7.3081 0.264648 7.30664L0.265625 7.30469C0.265651 7.30471 0.274971 7.28982 0.310547 7.25586C0.343429 7.22448 0.391396 7.18327 0.457031 7.13184C0.588087 7.02914 0.783796 6.88827 1.05664 6.70117C1.19404 6.60725 1.29575 6.54027 1.37402 6.48828C1.45103 6.43713 1.50907 6.39811 1.55273 6.3623C1.59862 6.32464 1.6317 6.28859 1.66016 6.24219C1.68655 6.19911 1.7074 6.14876 1.73242 6.08887L1.77441 5.98828L1.6709 5.95508C1.63331 5.94297 1.5944 5.92488 1.55176 5.90625C1.51583 5.89055 1.46511 5.86848 1.4209 5.86328H1.41992C1.32156 5.85293 1.258 5.90102 1.22266 5.9209C1.18841 5.94015 1.14129 5.96289 1.03711 5.96289C0.920203 5.96286 0.730897 5.94721 0.557617 5.91797C0.470958 5.90333 0.390647 5.88496 0.327148 5.86523C0.259181 5.84412 0.226615 5.8259 0.217773 5.81738L0.216797 5.81641L0.119141 5.70898C0.108736 5.69237 0.103516 5.67714 0.103516 5.64355C0.103587 5.61005 0.1138 5.54754 0.138672 5.47754C0.163408 5.40797 0.198707 5.34134 0.240234 5.29492C0.249492 5.28461 0.277523 5.26558 0.335938 5.24414C0.391076 5.22394 0.461315 5.2058 0.539062 5.18945C0.694655 5.15674 0.870294 5.13424 1.00488 5.11523C1.13422 5.09699 1.19622 5.09875 1.23047 5.10547C1.25803 5.11094 1.26915 5.11813 1.30273 5.13965C1.30383 5.14134 1.30594 5.14463 1.30859 5.15039C1.31561 5.16576 1.32375 5.18964 1.33105 5.2207C1.3455 5.28233 1.35603 5.36157 1.36328 5.44238C1.37047 5.52256 1.37396 5.60135 1.37598 5.66016C1.37698 5.68951 1.37763 5.71461 1.37793 5.73145V5.75684L1.37891 5.85449L1.47559 5.85645L1.73535 5.8623L1.80371 5.86426L1.83008 5.7998C1.91506 5.59042 2.01862 5.26881 2.1416 4.93164C2.26645 4.58939 2.41482 4.22114 2.59375 3.89844C2.98347 3.19825 3.38629 2.98957 3.5293 2.94531C3.68982 2.89569 3.83588 2.86243 5.01074 2.74023L5.00977 2.73926C6.20203 2.61785 7.15185 2.59961 8 2.59961ZM8 8.88477C7.78194 8.88477 6.95246 8.89089 5.85938 9.03223C5.54637 9.07272 5.314 9.10204 5.13574 9.13281C4.95758 9.16358 4.82543 9.19727 4.71387 9.24707C4.60218 9.297 4.51367 9.36293 4.41992 9.45215L4.09277 9.79785C3.97373 9.9243 3.92216 10.0655 3.92871 10.208C3.93514 10.3475 3.99646 10.4777 4.08203 10.5879C4.25153 10.8059 4.53739 10.9725 4.79297 11.0059H4.79395C5.02409 11.0348 5.6105 11.0538 6.24121 11.0654C6.87498 11.0772 7.56208 11.082 8 11.082C8.43784 11.082 9.12497 11.0777 9.75879 11.0664C10.3895 11.0551 10.9766 11.0365 11.207 11.0059C11.4626 10.9725 11.7485 10.8059 11.918 10.5879C12.0035 10.4777 12.0649 10.3475 12.0713 10.208C12.0762 10.101 12.0488 9.99439 11.9844 9.89453L11.9072 9.79785C11.6398 9.51227 11.5099 9.34709 11.2861 9.24707C11.1746 9.19727 11.0424 9.16358 10.8643 9.13281C10.686 9.10204 10.4536 9.07272 10.1406 9.03223C9.04776 8.89405 8.21524 8.88477 8 8.88477ZM15.373 7.1875C14.8191 7.16191 14.286 7.21421 13.3008 7.49121C12.7989 7.63035 12.4091 7.83568 12.1445 8.00684C12.0122 8.09246 11.9114 8.17041 11.8428 8.22656C11.8087 8.25447 11.7824 8.27693 11.7646 8.29297C11.7557 8.301 11.7489 8.30805 11.7441 8.3125C11.7418 8.31467 11.7396 8.31615 11.7383 8.31738L11.7363 8.31934L11.5615 8.49121H11.8232C11.8365 8.49197 11.8573 8.49382 11.8848 8.49707C11.94 8.50361 12.0237 8.51691 12.1318 8.54395C12.2369 8.5702 12.3129 8.60884 12.4199 8.64941C12.5238 8.68879 12.6403 8.72168 12.7969 8.72168C12.9456 8.72168 13.2133 8.68872 13.4561 8.65625C13.7048 8.62297 13.9252 8.59123 14.002 8.58789C14.0599 8.58678 14.1196 8.60664 14.1826 8.63574C14.216 8.65118 14.2408 8.66497 14.2734 8.68066C14.3012 8.69402 14.3356 8.70935 14.3691 8.7168C14.4377 8.73195 14.5222 8.71533 14.6035 8.69434C14.6899 8.67203 14.7979 8.63707 14.9209 8.59863C14.9837 8.57904 15.0297 8.56838 15.0869 8.55176C15.1391 8.53661 15.1938 8.51794 15.2441 8.4873C15.3527 8.42111 15.4203 8.31303 15.4658 8.13086C15.5118 7.94538 15.5107 7.72646 15.5 7.56055C15.4946 7.47648 15.4863 7.40318 15.4795 7.35156C15.4761 7.32596 15.473 7.3052 15.4707 7.29102C15.4696 7.28411 15.4685 7.27851 15.4678 7.27441C15.4674 7.27252 15.4673 7.26974 15.4668 7.26758C15.4666 7.26662 15.4658 7.26323 15.4648 7.25977C15.4645 7.25852 15.4631 7.25613 15.4619 7.25293C15.4612 7.25105 15.4593 7.2459 15.458 7.24316C15.4555 7.23854 15.4477 7.22609 15.4414 7.21875C15.4304 7.20957 15.4018 7.19948 15.3721 7.19629L15.373 7.1875ZM0.626953 7.18164L0.546875 7.18555L0.532227 7.26465V7.2666C0.532057 7.26761 0.531518 7.26888 0.53125 7.27051C0.5306 7.27446 0.530422 7.28078 0.529297 7.28809C0.527051 7.30268 0.52389 7.3236 0.520508 7.34961C0.513704 7.40193 0.505441 7.47534 0.5 7.55957C0.49196 7.68414 0.489181 7.83775 0.507812 7.98438L0.53418 8.12793C0.578174 8.31154 0.646112 8.42048 0.755859 8.48633C0.806477 8.51663 0.860988 8.535 0.913086 8.5498C0.969575 8.56585 1.01744 8.57645 1.0791 8.5957C1.20136 8.63391 1.31033 8.66973 1.39648 8.69238C1.43975 8.70375 1.48088 8.71328 1.51855 8.71777C1.55564 8.72217 1.59658 8.72279 1.63477 8.71289C1.66705 8.70449 1.70019 8.68836 1.72754 8.6748C1.75839 8.65951 1.78556 8.64556 1.81738 8.63086C1.87981 8.60202 1.93881 8.58277 1.99609 8.58496C2.07105 8.58784 2.2931 8.61977 2.54395 8.65332C2.78672 8.68579 3.05436 8.71875 3.20312 8.71875V8.71777C3.3597 8.71935 3.47625 8.68722 3.58008 8.64746C3.68755 8.60629 3.76334 8.56722 3.86816 8.54102C3.97678 8.51387 4.06051 8.49952 4.11621 8.49219C4.14404 8.48853 4.16525 8.48639 4.17871 8.48535C4.18526 8.48485 4.19042 8.48452 4.19336 8.48438C4.19465 8.48431 4.19579 8.48439 4.19629 8.48438L4.43359 8.47852L4.2627 8.3125L4.25586 8.30566C4.25118 8.3013 4.24414 8.29496 4.23535 8.28711C4.21747 8.27115 4.19065 8.24766 4.15625 8.21973C4.08747 8.16389 3.98574 8.08717 3.85352 8.00195C3.58868 7.8313 3.19932 7.626 2.69922 7.48535C1.71401 7.20835 1.1809 7.15605 0.626953 7.18164ZM8.00293 2.89648C7.45084 2.89649 6.26452 2.92505 5.19043 2.99707C4.60446 3.03635 4.19228 3.09328 3.91895 3.14453C3.78246 3.17013 3.68006 3.19454 3.60742 3.21484C3.57327 3.22439 3.54318 3.23338 3.51855 3.24219L3.46191 3.2666C3.39099 3.3074 3.31296 3.38716 3.2373 3.47656C3.15896 3.56915 3.07469 3.68231 2.99414 3.80176C2.87366 3.98041 2.75764 4.17681 2.67383 4.34082L2.60156 4.49219C2.52447 4.67368 2.43614 4.93727 2.37207 5.16699C2.34001 5.28197 2.31357 5.39136 2.29785 5.47852C2.29008 5.52166 2.28414 5.56167 2.28223 5.5957C2.28128 5.61277 2.28077 5.63088 2.28223 5.64746C2.28346 5.66134 2.287 5.68007 2.29492 5.69922V5.7002C2.29693 5.7053 2.29858 5.71093 2.30078 5.71973C2.30249 5.72657 2.30608 5.74305 2.31152 5.75781C2.31784 5.77493 2.32869 5.79602 2.34766 5.81543C2.36654 5.83466 2.38907 5.84706 2.41211 5.85547C2.4542 5.8708 2.50834 5.87568 2.57422 5.87598C2.64295 5.87629 2.73627 5.87171 2.86328 5.8623C3.36494 5.82514 6.51983 5.78419 8.00586 5.78418C9.12274 5.78418 11.1773 5.80784 12.3447 5.83496L13.1484 5.8623C13.2756 5.87251 13.3695 5.87711 13.4385 5.87695C13.5044 5.87678 13.5592 5.87226 13.6016 5.85645C13.6248 5.84773 13.6473 5.83496 13.666 5.81543C13.6847 5.79588 13.695 5.77485 13.7012 5.75781C13.7065 5.74307 13.7102 5.72662 13.7119 5.71973C13.7141 5.71085 13.7158 5.70525 13.7178 5.7002C13.726 5.67956 13.7287 5.6582 13.7295 5.64355C13.7303 5.62756 13.7298 5.61051 13.7285 5.59375C13.7259 5.56007 13.7192 5.51985 13.7109 5.47656C13.6944 5.38962 13.6681 5.28093 13.6357 5.16602C13.571 4.93611 13.4815 4.67244 13.4043 4.49219C13.3264 4.3105 13.1886 4.05867 13.0352 3.82812C12.884 3.60102 12.7085 3.37916 12.5508 3.27051C12.5333 3.25847 12.5094 3.24867 12.4893 3.24121C12.4662 3.2327 12.4366 3.22308 12.4004 3.21289C12.3274 3.19235 12.2239 3.16897 12.0869 3.14355C11.8129 3.09272 11.4005 3.03634 10.8164 2.99707C9.74212 2.92503 8.55497 2.89648 8.00293 2.89648Z"
        fill="#FFC600"
        stroke="#FFC600"
        strokeWidth="0.2"
      />
    </svg>
  );
};

export default CarIcon;
