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

const DineInIcon = ({ className, onClick }: DineInIconType) => {
  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="M10.3047 10.0859C16.8594 2.05468 29.8438 4.84374 34.4688 14.3672C34.6016 14.6328 34.3906 14.9687 34.0938 14.9609C33.9375 14.9609 33.7891 14.875 33.7188 14.7187C31.4922 9.95312 25.9297 6.21875 21.0469 6.21875C15.9453 6.21875 13.6328 7.71093 10.9141 10.6562C10.5625 11.0625 9.9219 10.4766 10.3047 10.0859ZM33.7344 25.3906C29.211 36.1953 13.7031 36.6172 8.64846 26.0078C8.40627 25.5156 7.66408 25.8828 7.89846 26.375C10.375 31.4609 15.4141 34.6172 21.0469 34.6172C26.9219 34.6172 32.2031 31.125 34.5 25.7187C34.7266 25.2266 33.9297 24.8984 33.7344 25.3906ZM11.7969 19.0547C11.5781 19.0312 11.3672 19.2187 11.3594 19.4453C10.9375 24.8594 15.625 29.8281 21.0547 29.7031C27 29.8516 31.875 23.8906 30.5781 18.0937C30.5313 17.8672 30.3203 17.7187 30.086 17.7656C29.8594 17.8125 29.711 18.0312 29.7578 18.2578C30.9453 23.5547 26.4844 29.0078 21.0547 28.8672C16.0938 28.9766 11.8125 24.4375 12.1953 19.4922C12.2031 19.2656 12.0235 19.0703 11.7969 19.0547ZM13.1719 15.9062C15.5781 10.9844 22.5 9.57812 26.6563 13.125C27.0703 13.4766 27.6016 12.8125 27.1875 12.4766C22.6406 8.59375 15.0625 10.1328 12.4297 15.5156C12.2813 15.7812 12.5 16.1328 12.7969 16.125C12.9531 16.1328 13.1016 16.0469 13.1719 15.9062ZM13.7031 16.3828C13.7266 16.3672 13.7422 16.3516 13.7656 16.3359C13.8906 16.2891 14.0156 16.25 14.1406 16.2187C14.1953 16.2031 14.2578 16.2031 14.3125 16.1875C14.375 16.1797 14.4375 16.1641 14.4922 16.1562C14.875 16.1172 15.2813 16.1719 15.6797 16.3437C15.7891 16.3906 15.8906 16.4375 15.9922 16.5C16.0156 16.5156 16.0391 16.5312 16.0625 16.5469C16.211 16.6406 16.3594 16.75 16.4922 16.8828L16.8438 17.2344L17.1641 17.5547L17.4219 17.8125L18.1563 18.5469L18.5313 18.9219L18.9141 19.3047L19.461 19.8516C19.6719 20.0625 19.8125 20.2031 19.8125 20.2031L25.5938 14.4219C25.7813 14.25 26.0781 13.9766 26.3516 13.9219C28.6485 12.8672 31.211 15.8047 29.1485 17.9766C29.1485 17.9766 29.0391 18.0859 28.8516 18.2734L28.4531 18.6719L25.375 21.75C24.4297 22.6953 23.4844 23.6406 22.7735 24.3516L21.5938 25.5312C21.1016 26.0234 20.461 26.2656 19.8125 26.2656C19.1641 26.2656 18.5235 26.0234 18.0313 25.5312L12.9219 20.4219C12.7344 20.2187 12.4375 19.8516 12.336 19.5156C11.8438 18.2656 12.5781 16.9219 13.7031 16.3828ZM13.1485 19.2578C13.1953 19.3516 13.2422 19.4609 13.2891 19.5547C13.3594 19.6641 13.4219 19.7656 13.5235 19.8594C13.625 19.9531 13.7031 20.0391 13.9922 20.3281L14.7031 21.0391L15.5938 21.9297L16.3047 22.6406C17.0235 23.3594 17.711 24.0469 18.1485 24.4844C18.4375 24.7734 18.6172 24.9531 18.6172 24.9531C19.2735 25.6094 20.3438 25.6094 20.9922 24.9531L28.5469 17.3984C30.0313 15.8516 27.9063 13.6641 26.3125 14.9062C26.2266 14.9766 26.125 15.0703 26.0078 15.1797C25.6563 15.5312 24.711 16.4766 23.6719 17.5156C22.5078 18.7109 21.2735 19.9766 20.5156 20.6719C20.2578 20.9297 20.1016 21.0859 20.1016 21.0859C20.0235 21.1641 19.9141 21.2109 19.8047 21.2109C19.6953 21.2109 19.5938 21.1719 19.5078 21.0859L15.8828 17.4609C15.7735 17.3516 15.6563 17.2734 15.5313 17.1953C15.5 17.1797 15.461 17.1562 15.4297 17.1406C15.3125 17.0859 15.1953 17.0391 15.0703 17.0078C15.0547 17.0078 15.0391 17 15.0235 16.9922C14.8906 16.9687 14.7578 16.9687 14.625 16.9687C14.5469 16.9687 14.4844 16.9844 14.4141 17C14.3047 17.0156 14.2031 17.0391 14.0938 17.0781C13.2969 17.4297 12.8516 18.4297 13.1485 19.2578ZM7.26565 19.7109V31.3437C7.26565 32.6562 6.20315 33.7187 4.89065 33.7187C3.57815 33.7187 2.51565 32.6484 2.51565 31.3437V17.6172C1.03908 16.7656 2.23834e-05 15.1641 0.0234599 13.4219V8.17968C0.0156474 7.64843 0.218772 7.20312 0.546897 6.875C0.890647 6.50781 1.38283 6.27343 1.9219 6.27343C1.97658 6.27343 2.02346 6.28125 2.07815 6.28906C2.13283 6.28906 2.17971 6.29687 2.22658 6.30468C2.26565 6.31249 2.2969 6.3125 2.33596 6.32031C2.6719 6.39062 2.99221 6.55468 3.25783 6.82812L3.27346 6.84374C3.32034 6.89062 3.3594 6.92968 3.39846 6.98437C3.4219 6.95312 3.45315 6.92968 3.47658 6.90625C3.51565 6.86718 3.5469 6.82812 3.58596 6.78906C3.64846 6.72656 3.71877 6.66406 3.7969 6.61718C3.82815 6.59374 3.8594 6.57812 3.89065 6.5625C3.96096 6.52343 4.03127 6.47656 4.10158 6.44531C4.33596 6.33593 4.60158 6.27343 4.88283 6.27343C5.16408 6.27343 5.4219 6.33593 5.66408 6.44531C5.74221 6.47656 5.80471 6.52343 5.87502 6.5625C5.90627 6.57812 5.93752 6.59374 5.96877 6.61718C6.0469 6.67187 6.1094 6.72656 6.17971 6.78906C6.21877 6.82812 6.25783 6.86718 6.28908 6.90625C6.31252 6.9375 6.34377 6.95312 6.36721 6.98437C6.40627 6.92968 6.45315 6.89062 6.49221 6.84374C6.50002 6.83593 6.50002 6.82812 6.50783 6.82031C6.76565 6.54687 7.08596 6.38281 7.4219 6.32031C7.46096 6.3125 7.50783 6.30468 7.5469 6.29687C7.59377 6.28906 7.63283 6.28906 7.67971 6.28125C7.7344 6.27343 7.78908 6.26562 7.84377 6.26562C8.38283 6.26562 8.86721 6.49218 9.21096 6.85156C9.53908 7.17968 9.75002 7.625 9.74221 8.15625V9.80468V13.0078V13.3672C9.78127 15.7031 7.96877 17.7578 5.74221 18.1562C5.43752 18.2578 5.00002 18.2578 4.57815 18.2187C4.15627 18.1953 3.7344 18.1172 3.34377 17.9766V31.3281C3.38283 33.3516 6.39065 33.3594 6.42971 31.3281V19.6953C6.42971 19.1719 7.25783 19.1641 7.26565 19.7109ZM8.91408 13.4219C8.91408 13.4219 8.91408 13.2734 8.91408 13.0312C8.91408 11.8281 8.91408 8.17968 8.91408 8.17968C8.91408 7.75781 8.66408 7.40625 8.31252 7.22656C8.27346 7.21093 8.22659 7.19531 8.18752 7.17968C8.12502 7.15625 8.05471 7.14843 7.9844 7.14062C7.89846 7.13281 7.81252 7.13281 7.72658 7.14062C7.65627 7.14843 7.58596 7.16406 7.51565 7.17968C7.47658 7.19531 7.43752 7.21093 7.39846 7.22656C7.0469 7.39843 6.7969 7.75781 6.7969 8.17968V14.2187C6.7969 14.4531 6.6094 14.6328 6.38283 14.6328C6.14846 14.6328 5.96877 14.4453 5.96877 14.2187V8.17187C5.96877 7.74999 5.71877 7.39843 5.36721 7.21875C5.32815 7.20312 5.28127 7.1875 5.24221 7.17187C5.17971 7.14843 5.1094 7.14062 5.03908 7.13281C4.95315 7.125 4.86721 7.125 4.78127 7.13281C4.71096 7.14062 4.64065 7.15625 4.57033 7.17187C4.53127 7.1875 4.49221 7.20312 4.45315 7.21875C4.10158 7.39062 3.85158 7.74999 3.85158 8.17187V14.2187C3.85158 14.4531 3.66408 14.6328 3.43752 14.6328C3.20315 14.6328 3.02346 14.4453 3.02346 14.2187V8.17187C3.02346 7.74999 2.77346 7.39843 2.4219 7.21875C2.38283 7.20312 2.33596 7.1875 2.2969 7.17187C2.2344 7.14843 2.16408 7.14062 2.09377 7.13281C2.00783 7.125 1.9219 7.125 1.83596 7.13281C1.76565 7.14062 1.69533 7.15625 1.62502 7.17187C1.58596 7.1875 1.5469 7.20312 1.50002 7.21875C1.14846 7.39062 0.89846 7.74999 0.89846 8.17187V13.375C1.03908 18.6953 8.70315 18.6953 8.91408 13.4219ZM39.9766 6.69531V21.0625C39.9766 21.7266 39.4375 22.2656 38.7735 22.2656H37.6172H35.6641V31.3359C35.6641 32.1875 36.3516 32.875 37.2031 32.875C38.0547 32.875 38.7422 32.1797 38.7422 31.3359V23.4766C38.7422 22.9375 39.5781 22.9297 39.5781 23.4766V31.3437C39.5781 32.6562 38.5078 33.7187 37.2031 33.7187C35.8906 33.7187 34.8281 32.6484 34.8281 31.3437V21.9531C34.586 21.7344 34.4375 21.4219 34.4375 21.0703C34.4375 10.9844 36.0625 6.28125 39.5547 6.28125C39.7891 6.28125 39.9766 6.46874 39.9766 6.69531ZM39.1406 7.14843C36.5391 7.57812 35.2735 12.1406 35.2735 21.0625C35.2735 21.2031 35.3594 21.3281 35.4766 21.3906C35.5313 21.4219 35.586 21.4375 35.6485 21.4375H37.625H38.7813C38.9844 21.4375 39.1485 21.2734 39.1485 21.0703V7.14843H39.1406Z"
        fill="#333333"
      />
    </svg>
  );
};

export default DineInIcon;
