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

const PickupIcon = ({ className, onClick }: PickupIconType) => {
  return (
    <svg
      width="40"
      height="40"
      viewBox="0 0 40 40"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      className={className}
      onClick={onClick}
    >
      <path
        d="M38.125 1.25H34.375C34.2092 1.25 34.0502 1.31585 33.933 1.43306C33.8158 1.55027 33.75 1.70924 33.75 1.875V2.5H21.875C21.7878 2.50021 21.7016 2.51866 21.6219 2.55418C21.5422 2.58971 21.4709 2.6415 21.4125 2.70625L15.9687 8.75H8.74997C8.59388 8.75064 8.44357 8.80915 8.32812 8.91421C8.21267 9.01927 8.14029 9.16341 8.12497 9.31875L5.62497 38.0688C5.61714 38.1554 5.6275 38.2428 5.65538 38.3252C5.68326 38.4077 5.72805 38.4834 5.78689 38.5475C5.84573 38.6117 5.91731 38.6628 5.99705 38.6977C6.0768 38.7325 6.16294 38.7504 6.24997 38.75H33.75C33.837 38.7504 33.9232 38.7325 34.0029 38.6977C34.0826 38.6628 34.1542 38.6117 34.2131 38.5475C34.2719 38.4834 34.3167 38.4077 34.3446 38.3252C34.3724 38.2428 34.3828 38.1554 34.375 38.0688L32.2562 13.75H33.75V14.375C33.75 14.5408 33.8158 14.6997 33.933 14.8169C34.0502 14.9342 34.2092 15 34.375 15H38.125C38.2907 15 38.4497 14.9342 38.5669 14.8169C38.6841 14.6997 38.75 14.5408 38.75 14.375V1.875C38.75 1.70924 38.6841 1.55027 38.5669 1.43306C38.4497 1.31585 38.2907 1.25 38.125 1.25ZM15.625 10H23.4625C23.1421 10.5505 23.0451 11.2029 23.1916 11.8227C23.3382 12.4426 23.717 12.9825 24.25 13.3313C24.0686 13.9885 23.6773 14.5684 23.1356 14.9825C22.594 15.3967 21.9318 15.6223 21.25 15.625H18.75C17.9212 15.625 17.1263 15.2958 16.5403 14.7097C15.9542 14.1237 15.625 13.3288 15.625 12.5V10ZM33.0687 37.5H6.93122L9.32497 10H14.375V12.5C14.3763 13.6599 14.8377 14.7719 15.6578 15.5921C16.478 16.4123 17.5901 16.8737 18.75 16.875H21.25C22.1947 16.874 23.1138 16.5673 23.8697 16.0006C24.6257 15.434 25.1778 14.6378 25.4437 13.7313C25.5038 13.7406 25.5643 13.7468 25.625 13.75H31L33.0687 37.5ZM33.75 12.5H25.625C25.2935 12.5 24.9755 12.3683 24.7411 12.1339C24.5067 11.8995 24.375 11.5815 24.375 11.25C24.375 10.9185 24.5067 10.6005 24.7411 10.3661C24.9755 10.1317 25.2935 10 25.625 10H31.25C31.4157 10 31.5747 9.93415 31.6919 9.81694C31.8091 9.69973 31.875 9.54076 31.875 9.375C31.875 9.20924 31.8091 9.05027 31.6919 8.93306C31.5747 8.81585 31.4157 8.75 31.25 8.75H17.6562L22.1562 3.75H33.75V12.5ZM37.5 13.75H35V2.5H37.5V13.75Z"
        fill="#333333"
      />
      <path
        d="M28.75 27.5H27.9881L26.8563 22.9737C26.8225 22.8385 26.7445 22.7184 26.6347 22.6325C26.5248 22.5467 26.3894 22.5 26.25 22.5H13.75C13.6106 22.5 13.4752 22.5467 13.3653 22.6325C13.2555 22.7184 13.1775 22.8385 13.1438 22.9737L12.0119 27.5H11.25C11.0842 27.5 10.9253 27.5658 10.8081 27.6831C10.6908 27.8003 10.625 27.9592 10.625 28.125V30.625C10.625 30.7908 10.6908 30.9497 10.8081 31.0669C10.9253 31.1842 11.0842 31.25 11.25 31.25H12.0119L13.1438 35.7763C13.1775 35.9115 13.2555 36.0316 13.3653 36.1175C13.4752 36.2033 13.6106 36.25 13.75 36.25H26.25C26.3894 36.25 26.5248 36.2033 26.6347 36.1175C26.7445 36.0316 26.8225 35.9115 26.8563 35.7763L27.9881 31.25H28.75C28.9158 31.25 29.0747 31.1842 29.1919 31.0669C29.3092 30.9497 29.375 30.7908 29.375 30.625V28.125C29.375 27.9592 29.3092 27.8003 29.1919 27.6831C29.0747 27.5658 28.9158 27.5 28.75 27.5ZM14.2381 23.75H25.7619L26.6994 27.5H13.3006L14.2381 23.75ZM25.7619 35H14.2381L13.3006 31.25H17.5V33.125C17.5 33.2908 17.5658 33.4497 17.6831 33.5669C17.8003 33.6842 17.9592 33.75 18.125 33.75H21.875C22.0408 33.75 22.1997 33.6842 22.3169 33.5669C22.4342 33.4497 22.5 33.2908 22.5 33.125V31.25H26.6994L25.7619 35ZM18.75 31.25H21.25V32.5H18.75V31.25ZM28.125 30H11.875V28.75H28.125V30Z"
        fill="#333333"
      />
    </svg>
  );
};

export default PickupIcon;
