import { iconVariants } from "./variants"

import type { IconProps } from "@/types/components/icon"

export default function BikeIcon({ className, color, ...props }: IconProps) {
  const classNames = iconVariants({ className, color })
  return (
    <svg
      className={classNames}
      xmlns="http://www.w3.org/2000/svg"
      width="24"
      height="24"
      viewBox="0 0 24 24"
      fill="none"
      {...props}
    >
      <path
        d="M5.125 19.825C3.75 19.825 2.59375 19.3563 1.65625 18.4188C0.71875 17.4813 0.25 16.325 0.25 14.95C0.25 13.575 0.72775 12.4146 1.68325 11.4688C2.63875 10.5229 3.79433 10.05 5.15 10.05C6.35833 10.05 7.39792 10.4292 8.26875 11.1875C9.13958 11.9459 9.68333 12.8834 9.9 14H10.65L8.85 8.97502H8.0625C7.80417 8.97502 7.58333 8.88336 7.4 8.70002C7.21667 8.51669 7.125 8.29586 7.125 8.03752C7.125 7.77919 7.21667 7.55836 7.4 7.37502C7.58333 7.19169 7.80417 7.10002 8.0625 7.10002H11.0375C11.2958 7.10002 11.5167 7.19169 11.7 7.37502C11.8833 7.55836 11.975 7.77919 11.975 8.03752C11.975 8.29586 11.8833 8.51669 11.7 8.70002C11.5167 8.88336 11.2958 8.97502 11.0375 8.97502H10.85L11.225 10.05H16.075L14.6 6.02502H12.9875C12.7292 6.02502 12.5083 5.93336 12.325 5.75002C12.1417 5.56669 12.05 5.34586 12.05 5.08752C12.05 4.82919 12.1417 4.60836 12.325 4.42502C12.5083 4.24169 12.7292 4.15002 12.9875 4.15002H14.575C14.9922 4.15002 15.3652 4.26044 15.6941 4.48127C16.023 4.70211 16.2583 5.00836 16.4 5.40002L18.075 10.025H18.9C20.2487 10.025 21.3984 10.5005 22.3491 11.4515C23.2997 12.4024 23.775 13.5525 23.775 14.9018C23.775 16.2673 23.3021 17.4292 22.3563 18.3875C21.4104 19.3459 20.2563 19.825 18.8938 19.825C17.7259 19.825 16.7 19.4547 15.816 18.7141C14.932 17.9735 14.3683 17.0271 14.125 15.875H9.9C9.68333 17.0167 9.13489 17.9604 8.25468 18.7063C7.37446 19.4521 6.33123 19.825 5.125 19.825ZM5.125 17.95C5.80833 17.95 6.4 17.7563 6.9 17.3688C7.4 16.9813 7.75 16.4834 7.95 15.875H6.1125C5.85417 15.875 5.63333 15.7834 5.45 15.6C5.26667 15.4167 5.175 15.1959 5.175 14.9375C5.175 14.6792 5.26667 14.4584 5.45 14.275C5.63333 14.0917 5.85417 14 6.1125 14H7.95C7.75 13.375 7.4 12.8771 6.9 12.5063C6.4 12.1354 5.80833 11.95 5.125 11.95C4.275 11.95 3.5625 12.2375 2.9875 12.8125C2.4125 13.3875 2.125 14.1 2.125 14.95C2.125 15.7917 2.4125 16.5021 2.9875 17.0813C3.5625 17.6604 4.275 17.95 5.125 17.95ZM12.6747 14H14.1209C14.207 13.6167 14.3271 13.2459 14.4812 12.8875C14.6354 12.5292 14.8417 12.2084 15.1 11.925H11.9L12.6747 14ZM18.9 17.95C19.75 17.95 20.4625 17.6604 21.0375 17.0813C21.6125 16.5021 21.9 15.7917 21.9 14.95C21.9 14.1 21.6125 13.3875 21.0375 12.8125C20.4625 12.2375 19.75 11.95 18.9 11.95H18.75L19.4 13.7C19.4917 13.95 19.4831 14.1889 19.3742 14.4168C19.2653 14.6447 19.0864 14.8057 18.8375 14.9C18.5875 14.9917 18.3462 14.9831 18.1136 14.8742C17.8809 14.7653 17.7181 14.5864 17.625 14.3375L17 12.6C16.6417 12.8834 16.3688 13.225 16.1813 13.625C15.9938 14.025 15.9 14.4682 15.9 14.9546C15.9 15.7932 16.1875 16.5021 16.7625 17.0813C17.3375 17.6604 18.05 17.95 18.9 17.95Z"
        fill="#4D001B"
      />
    </svg>
  )
}
