import { PaymentIconProps } from './IconProps'

export const ChinaUnionPayIcon = (props: PaymentIconProps) => (
  <svg
    width="48"
    height="32"
    viewBox="0 0 48 32"
    fill="none"
    xmlns="http://www.w3.org/2000/svg"
    {...props}
  >
    <g clipPath="url(#clip0_5382_46856)">
      <path
        d="M46.4 0H1.6C0.716344 0 0 0.716344 0 1.6V30.4C0 31.2837 0.716344 32 1.6 32H46.4C47.2837 32 48 31.2837 48 30.4V1.6C48 0.716344 47.2837 0 46.4 0Z"
        fill="white"
      />
      <rect x="0.5" y="0.5" width="47" height="31" rx="2.5" stroke="#E9E8E7" />
      <path
        fill-rule="evenodd"
        clip-rule="evenodd"
        d="M30.6113 5.67139C29.4968 5.70603 28.134 6.58371 27.8858 7.66599L24.1192 24.3347C23.871 25.4271 24.5462 26.316 25.6325 26.3323H33.9998C35.0695 26.2794 36.109 25.4118 36.3529 24.3418L40.1196 7.67299C40.372 6.56947 39.6804 5.67343 38.5761 5.67343L30.6113 5.67139Z"
        fill="#01798A"
      />
      <path
        fill-rule="evenodd"
        clip-rule="evenodd"
        d="M24.1192 24.3348L27.8858 7.66607C28.134 6.58379 29.4968 5.70611 30.5909 5.67255L27.4242 5.67051L21.7186 5.66943C20.6213 5.69187 19.2408 6.57571 18.9927 7.66607L15.225 24.3348C14.9759 25.4272 15.6521 26.3161 16.7376 26.3324H25.6325C24.5462 26.3161 23.871 25.4272 24.1192 24.3348Z"
        fill="#024381"
      />
      <path
        fill-rule="evenodd"
        clip-rule="evenodd"
        d="M15.2249 24.3348L18.9926 7.66604C19.2407 6.57568 20.6212 5.69184 21.7185 5.6694L14.4093 5.66748C13.3059 5.66748 11.8913 6.56148 11.6391 7.66604L7.87136 24.3348C7.84844 24.4365 7.83572 24.5362 7.82812 24.6337V24.943C7.90189 25.7392 8.50996 26.3191 9.384 26.3324H16.7375C15.652 26.316 14.9758 25.4271 15.2249 24.3348Z"
        fill="#DD0228"
      />
      <path
        fill-rule="evenodd"
        clip-rule="evenodd"
        d="M21.8729 17.8153H22.0112C22.1384 17.8153 22.2239 17.7727 22.264 17.6882L22.6234 17.1502H23.586L23.3852 17.5041H24.5394L24.393 18.0462H23.0196C22.8615 18.2842 22.6668 18.3961 22.4327 18.3828H21.7174L21.8729 17.8153ZM21.7149 18.5924H24.2434L24.0822 19.1813H23.0654L22.9102 19.7498H23.8997L23.7385 20.3387H22.749L22.5192 21.1787C22.4622 21.3191 22.5371 21.3823 22.7424 21.368H23.5489L23.3995 21.9152H21.8512C21.5577 21.9152 21.457 21.7473 21.5491 21.4107L21.843 20.3387H21.2104L21.3711 19.7498H22.0037L22.1588 19.1813H21.5541L21.7149 18.5924ZM25.7507 17.1462L25.7109 17.4909C25.7109 17.4909 26.1878 17.1328 26.621 17.1328H28.2217L27.6096 19.349C27.5588 19.6024 27.3411 19.7284 26.9566 19.7284H25.1424L24.7174 21.2846C24.6929 21.368 24.7275 21.4107 24.819 21.4107H25.176L25.0448 21.8938H24.1372C23.7889 21.8938 23.644 21.789 23.7014 21.5786L24.9024 17.1462H25.7507ZM27.1062 17.7727H25.6775L25.5066 18.3707C25.5066 18.3707 25.7445 18.1989 26.1421 18.1927C26.5386 18.1865 26.9912 18.1927 26.9912 18.1927L27.1062 17.7727ZM26.5886 19.1599C26.6942 19.1742 26.7533 19.1324 26.7604 19.0337L26.8479 18.7185H25.417L25.297 19.1599H26.5886ZM25.6234 19.8759H26.4482L26.4329 20.2329H26.6525C26.7634 20.2329 26.8184 20.1973 26.8184 20.1272L26.8834 19.8963H27.5689L27.4774 20.2329C27.4 20.5136 27.1947 20.6601 26.8611 20.6744H26.4218L26.4197 21.2846C26.4117 21.3823 26.5 21.4321 26.682 21.4321H27.095L26.9617 21.9152H25.9712C25.6936 21.9284 25.5575 21.7961 25.5604 21.5155L25.6234 19.8759Z"
        fill="white"
      />
      <path
        fill-rule="evenodd"
        clip-rule="evenodd"
        d="M29.1289 17.8399L29.3202 17.1667H30.2873L30.2455 17.4137C30.2455 17.4137 30.7397 17.1667 31.0956 17.1667H32.2915L32.1014 17.8399H31.9133L31.0112 21.0152H31.1993L31.0204 21.6458H30.8323L30.754 21.9194H29.8174L29.8955 21.6458H28.0479L28.2279 21.0152H28.413L29.316 17.8399H29.1289ZM30.1723 17.8399L29.9262 18.6993C29.9262 18.6993 30.3473 18.5377 30.7103 18.4919C30.7905 18.1918 30.8953 17.8399 30.8953 17.8399H30.1723ZM29.8122 19.1021L29.5652 20.0022C29.5652 20.0022 30.032 19.7724 30.3522 19.753C30.4448 19.4052 30.5374 19.1021 30.5374 19.1021H29.8122ZM29.9932 21.0152L30.1784 20.3623H29.4565L29.2704 21.0152H29.9932ZM32.3323 17.125H33.2415L33.28 17.4605C33.274 17.5459 33.3248 17.5867 33.4326 17.5867H33.5932L33.4307 18.1552H32.7624C32.5073 18.1684 32.376 18.0708 32.3639 17.8602L32.3323 17.125ZM35.0109 18.3444L34.838 18.9547H33.9004L33.7396 19.5221H34.6763L34.5024 20.1314H33.4591L33.2231 20.4885H33.7337L33.8517 21.2034C33.8658 21.2746 33.9289 21.3092 34.0367 21.3092H34.1953L34.0286 21.898H33.4672C33.1763 21.9123 33.0259 21.8146 33.0137 21.6042L32.8783 20.9512L32.4137 21.6458C32.3038 21.8421 32.1349 21.9337 31.9073 21.9194H31.0499L31.2167 21.3305H31.4842C31.5941 21.3305 31.6855 21.2817 31.7678 21.183L32.495 20.1314H31.5574L31.7312 19.5221H32.7482L32.9099 18.9547H31.8919L32.0659 18.3444H35.0109Z"
        fill="white"
      />
      <path
        fill-rule="evenodd"
        clip-rule="evenodd"
        d="M35.9423 16.3673C35.6372 17.0161 35.3465 17.3944 35.1757 17.5704C35.0047 17.7444 34.6662 18.1492 33.8506 18.1186L33.9208 17.6233C34.6071 17.4118 34.9783 16.4587 35.1898 16.0367L34.9377 12.9285L35.4685 12.9214H35.9139L35.9618 14.8711L36.7965 12.9214H37.6417L35.9423 16.3673Z"
        fill="white"
      />
      <path
        fill-rule="evenodd"
        clip-rule="evenodd"
        d="M33.5789 13.1559L33.2431 13.3869C32.8923 13.1123 32.572 12.9424 31.9538 13.2292C31.1117 13.6197 30.408 16.6151 32.7266 15.6285L32.8588 15.7851L33.771 15.8085L34.37 13.0868L33.5789 13.1559ZM33.0602 14.6439C32.9136 15.0762 32.5864 15.362 32.3301 15.2807C32.0738 15.2013 31.9823 14.7843 32.1308 14.351C32.2772 13.9177 32.6066 13.633 32.8608 13.7143C33.1171 13.7937 33.2096 14.2107 33.0602 14.6439Z"
        fill="white"
      />
      <path
        fill-rule="evenodd"
        clip-rule="evenodd"
        d="M28.3048 11.1304H30.3834C30.7831 11.1304 31.0922 11.221 31.3047 11.3989C31.5162 11.5789 31.6221 11.8373 31.6221 12.1739V12.1841C31.6221 12.2481 31.6179 12.3203 31.6119 12.3986C31.6016 12.4759 31.5883 12.5542 31.5712 12.6356C31.4797 13.0811 31.2671 13.4391 30.9387 13.7107C30.6091 13.9812 30.2187 14.1175 29.7692 14.1175H28.6546L28.3099 15.8089H27.3447L28.3048 11.1304ZM28.8243 13.3039H29.7489C29.9898 13.3039 30.181 13.2479 30.3204 13.1371C30.4587 13.0252 30.5502 12.8544 30.601 12.6225C30.6091 12.5797 30.6141 12.5411 30.6203 12.5055C30.6234 12.472 30.6274 12.4383 30.6274 12.4059C30.6274 12.24 30.5686 12.12 30.4505 12.0447C30.3326 11.9684 30.1476 11.9319 29.8912 11.9319H29.1061L28.8243 13.3039Z"
        fill="white"
      />
      <path
        fill-rule="evenodd"
        clip-rule="evenodd"
        d="M24.7659 12.9204H25.4819L25.4007 13.3374L25.5022 13.2184C25.7342 12.9703 26.0169 12.8472 26.3484 12.8472C26.6495 12.8472 26.867 12.9347 27.0022 13.1106C27.1356 13.2866 27.1742 13.5296 27.109 13.8419L26.7165 15.8089H25.9802L26.3363 14.026C26.3728 13.8419 26.3627 13.7046 26.3067 13.616C26.2487 13.5276 26.1439 13.4839 25.9905 13.4839C25.8013 13.4839 25.6427 13.5428 25.5115 13.6598C25.3812 13.7778 25.2949 13.9416 25.2543 14.15L24.9248 15.8089H24.189L24.7659 12.9204Z"
        fill="white"
      />
      <path
        fill-rule="evenodd"
        clip-rule="evenodd"
        d="M21.3782 15.5882C21.1707 15.3899 21.0659 15.1224 21.0649 14.7828C21.0649 14.7247 21.0685 14.6587 21.0762 14.5864C21.0838 14.5132 21.0935 14.442 21.1072 14.3759C21.2012 13.907 21.4016 13.5348 21.7102 13.2602C22.0183 12.9846 22.3901 12.8462 22.8253 12.8462C23.1817 12.8462 23.4644 12.9459 23.6715 13.1452C23.8783 13.3456 23.982 13.6161 23.982 13.96C23.982 14.0189 23.9775 14.087 23.9699 14.1603C23.9607 14.2345 23.9496 14.3057 23.9367 14.3759C23.8448 14.8376 23.6451 15.2058 23.3364 15.4754C23.0277 15.747 22.657 15.8821 22.2248 15.8821C21.8669 15.8821 21.5851 15.7845 21.3782 15.5882ZM22.8899 15.0166C23.0297 14.8651 23.1299 14.6352 23.1909 14.3291C23.2001 14.2814 23.2082 14.2315 23.2132 14.1816C23.2183 14.1328 23.2203 14.087 23.2203 14.0454C23.2203 13.8674 23.1751 13.7291 23.0841 13.6314C22.9936 13.5327 22.865 13.484 22.6988 13.484C22.479 13.484 22.3001 13.5612 22.1598 13.7158C22.0183 13.8704 21.9182 14.1044 21.8551 14.4156C21.8465 14.4634 21.8394 14.5112 21.8328 14.558C21.8277 14.6058 21.8262 14.6505 21.8272 14.6912C21.8272 14.8682 21.8725 15.0045 21.9635 15.101C22.0539 15.1977 22.182 15.2455 22.3504 15.2455C22.5711 15.2455 22.7501 15.1692 22.8899 15.0166Z"
        fill="white"
      />
      <path
        fill-rule="evenodd"
        clip-rule="evenodd"
        d="M19.8825 12.9212H20.6758L20.0544 15.8077H19.2627L19.8825 12.9212ZM20.1322 11.8696H20.9325L20.7831 12.5703H19.9828L20.1322 11.8696Z"
        fill="white"
      />
      <path
        fill-rule="evenodd"
        clip-rule="evenodd"
        d="M16.5619 12.9204H17.2773L17.1955 13.3374L17.2982 13.2184C17.5301 12.9703 17.8118 12.8472 18.1443 12.8472C18.4453 12.8472 18.6624 12.9347 18.7987 13.1106C18.9329 13.2866 18.9695 13.5296 18.9061 13.8419L18.5119 15.8089H17.7767L18.1326 14.026C18.1693 13.8419 18.1591 13.7046 18.1026 13.616C18.0467 13.5276 17.9399 13.4839 17.7858 13.4839C17.5967 13.4839 17.4375 13.5428 17.3079 13.6598C17.1777 13.7778 17.0918 13.9416 17.0496 14.15L16.7216 15.8089H15.9849L16.5619 12.9204Z"
        fill="white"
      />
      <path
        fill-rule="evenodd"
        clip-rule="evenodd"
        d="M15.6288 14.1937C15.517 14.742 15.2576 15.163 14.8554 15.462C14.4568 15.756 13.9427 15.9034 13.3132 15.9034C12.7209 15.9034 12.2866 15.7529 12.0095 15.4508C11.8173 15.2362 11.7217 14.9636 11.7217 14.6341C11.7217 14.4978 11.738 14.3514 11.7705 14.1937L12.4412 10.9595H13.4541L12.7926 14.1571C12.7722 14.2456 12.7641 14.328 12.7651 14.4022C12.7641 14.566 12.8047 14.7002 12.8871 14.805C13.0071 14.9606 13.2018 15.0379 13.4729 15.0379C13.7845 15.0379 14.0413 14.9616 14.2406 14.808C14.44 14.6555 14.5702 14.4389 14.6286 14.1571L15.2922 10.9595H16.3L15.6288 14.1937Z"
        fill="white"
      />
    </g>
    <defs>
      <clipPath id="clip0_5382_46856">
        <rect width="48" height="32" fill="white" />
      </clipPath>
    </defs>
  </svg>
)
