import { PaymentIconProps } from './IconProps'

export const PayPalIcon = (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_46860)">
      <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
        fillRule="evenodd"
        clipRule="evenodd"
        d="M30.4927 13.8679C30.3424 14.8536 29.5892 14.8536 28.8603 14.8536H28.4457L28.7366 13.0131C28.754 12.902 28.85 12.8202 28.9627 12.8202H29.153C29.649 12.8202 30.1174 12.8202 30.3591 13.1024C30.5036 13.2713 30.5472 13.5219 30.4927 13.8679ZM30.1756 11.2959H27.4274C27.2392 11.2959 27.0794 11.4326 27.05 11.6181L25.9389 18.6598C25.9169 18.7986 26.0246 18.9243 26.1649 18.9243H27.5752C27.7066 18.9243 27.8186 18.8287 27.8391 18.6991L28.1545 16.7025C28.1835 16.517 28.3437 16.3803 28.5315 16.3803H29.401C31.2112 16.3803 32.2562 15.5051 32.529 13.7698C32.652 13.0114 32.534 12.4151 32.1786 11.9977C31.7878 11.5388 31.095 11.2959 30.1756 11.2959Z"
        fill="#009CDE"
      />
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M10.8911 13.8679C10.7409 14.8536 9.98761 14.8536 9.25873 14.8536H8.84417L9.13509 13.0131C9.15245 12.902 9.24845 12.8202 9.36113 12.8202H9.55141C10.0475 12.8202 10.5159 12.8202 10.7575 13.1024C10.9021 13.2713 10.9457 13.5219 10.8911 13.8679ZM10.574 11.2959H7.82585C7.63769 11.2959 7.47789 11.4326 7.44849 11.6181L6.33733 18.6598C6.31537 18.7986 6.42273 18.9243 6.56337 18.9243H7.87581C8.06361 18.9243 8.22341 18.7877 8.25281 18.6025L8.55293 16.7025C8.58197 16.517 8.74213 16.3803 8.92993 16.3803H9.79945C11.6097 16.3803 12.6546 15.5051 12.9275 13.7698C13.0504 13.0114 12.9324 12.4151 12.577 11.9977C12.1862 11.5388 11.4935 11.2959 10.574 11.2959Z"
        fill="#003087"
      />
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M16.9544 16.3959C16.8272 17.1472 16.2305 17.6518 15.4691 17.6518C15.0875 17.6518 14.7817 17.5289 14.5854 17.2966C14.3909 17.0665 14.3175 16.7383 14.3792 16.3732C14.4975 15.6283 15.1041 15.1078 15.8539 15.1078C16.2277 15.1078 16.531 15.2317 16.7312 15.4661C16.9328 15.7023 17.0122 16.0323 16.9544 16.3959ZM18.7884 13.8363H17.4724C17.3598 13.8363 17.2637 13.9181 17.246 14.0296L17.1883 14.3972L17.0965 14.264C16.8113 13.8508 16.1759 13.7124 15.5417 13.7124C14.0879 13.7124 12.846 14.8136 12.6043 16.3576C12.4785 17.1281 12.6571 17.8642 13.0944 18.378C13.4958 18.85 14.0688 19.0464 14.7516 19.0464C15.9237 19.0464 16.5735 18.2944 16.5735 18.2944L16.5147 18.6598C16.4927 18.7986 16.6001 18.9243 16.7411 18.9243H17.926C18.1141 18.9243 18.2739 18.788 18.3033 18.6024L19.0148 14.1008C19.0368 13.962 18.9291 13.8363 18.7884 13.8363Z"
        fill="#003087"
      />
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M36.5555 16.3959C36.4283 17.1472 35.8316 17.6518 35.0702 17.6518C34.6885 17.6518 34.3828 17.5289 34.1864 17.2966C33.9916 17.0665 33.9186 16.7383 33.9802 16.3732C34.0986 15.6283 34.7052 15.1078 35.455 15.1078C35.8288 15.1078 36.1321 15.2317 36.3322 15.4661C36.5339 15.7023 36.6132 16.0323 36.5555 16.3959ZM38.3895 13.8363H37.0735C36.9608 13.8363 36.8648 13.9181 36.8471 14.0296L36.7894 14.3972L36.6972 14.264C36.4123 13.8508 35.777 13.7124 35.1428 13.7124C33.689 13.7124 32.4471 14.8136 32.2054 16.3576C32.0796 17.1281 32.2582 17.8642 32.6954 18.378C33.0969 18.85 33.6698 19.0464 34.3526 19.0464C35.5248 19.0464 36.1746 18.2944 36.1746 18.2944L36.1158 18.6598C36.0938 18.7986 36.2012 18.9243 36.3422 18.9243H37.527C37.7152 18.9243 37.875 18.788 37.9044 18.6024L38.6159 14.1008C38.6379 13.962 38.5302 13.8363 38.3895 13.8363Z"
        fill="#009CDE"
      />
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M25.7972 13.8364H24.4745C24.348 13.8364 24.2296 13.8991 24.1588 14.0039L22.334 16.6891L21.5608 14.1087C21.5123 13.9473 21.3635 13.8364 21.1948 13.8364H19.8948C19.7378 13.8364 19.6273 13.9908 19.678 14.1391L21.1342 18.4113L19.7644 20.3428C19.657 20.4943 19.7655 20.7039 19.9515 20.7039H21.2728C21.3978 20.7039 21.5151 20.6427 21.5867 20.54L25.9853 14.1958C26.0906 14.0439 25.9821 13.8364 25.7972 13.8364Z"
        fill="#003087"
      />
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M39.9407 11.4897L38.8129 18.6603C38.7909 18.7991 38.8983 18.9248 39.039 18.9248H40.1737C40.3613 18.9248 40.5213 18.7881 40.5505 18.6026L41.6629 11.5609C41.6849 11.4221 41.5773 11.2964 41.4365 11.2964H40.1673C40.0541 11.2964 39.9581 11.3781 39.9407 11.4897Z"
        fill="#009CDE"
      />
    </g>
    <defs>
      <clipPath id="clip0_5382_46860">
        <rect width="48" height="32" fill="white" />
      </clipPath>
    </defs>
  </svg>
)
