pay-sdk-react 1.1.2 → 1.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (242) hide show
  1. package/README.md +37 -19
  2. package/README.zh-CN.md +37 -19
  3. package/dist/css/index.css +703 -1
  4. package/dist/css/index.min.css +1 -0
  5. package/dist/es/Airwallex/airwallex-button.js +56 -36
  6. package/dist/es/Airwallex/airwallex-modal.js +41 -34
  7. package/dist/es/Airwallex/airwallex-popup.js +43 -38
  8. package/dist/es/Airwallex/airwallex.js +26 -28
  9. package/dist/es/Airwallex/index.js +1 -1
  10. package/dist/es/Airwallex/style/index.css +335 -1
  11. package/dist/es/Airwallex/style/index.min.css +1 -0
  12. package/dist/es/Alipay/alipay-button.js +39 -24
  13. package/dist/es/Alipay/alipay-modal.js +37 -31
  14. package/dist/es/Alipay/alipay.js +22 -15
  15. package/dist/es/Alipay/index.d.ts +4 -4
  16. package/dist/es/Alipay/index.js +5 -5
  17. package/dist/es/Alipay/style/index.css +18 -1
  18. package/dist/es/Alipay/style/index.min.css +1 -0
  19. package/dist/es/Button/button.js +62 -37
  20. package/dist/es/Button/index.d.ts +2 -2
  21. package/dist/es/Button/index.js +2 -2
  22. package/dist/es/Button/style/index.css +95 -1
  23. package/dist/es/Button/style/index.min.css +1 -0
  24. package/dist/es/FullScreenLoading/index.js +40 -40
  25. package/dist/es/FullScreenLoading/interface.d.ts +2 -2
  26. package/dist/es/FullScreenLoading/style/index.css +239 -1
  27. package/dist/es/FullScreenLoading/style/index.min.css +1 -0
  28. package/dist/es/MAlipay/index.js +1 -1
  29. package/dist/es/MAlipay/m-alipay-auto-submit.js +9 -11
  30. package/dist/es/MAlipay/m-alipay-button.js +71 -51
  31. package/dist/es/MAlipay/style/index.css +252 -1
  32. package/dist/es/MAlipay/style/index.min.css +1 -0
  33. package/dist/es/MWeChat/index.d.ts +2 -2
  34. package/dist/es/MWeChat/index.js +2 -2
  35. package/dist/es/MWeChat/m-wechat-button.js +70 -50
  36. package/dist/es/MWeChat/style/index.css +252 -1
  37. package/dist/es/MWeChat/style/index.min.css +1 -0
  38. package/dist/es/Mask/index.d.ts +2 -2
  39. package/dist/es/Mask/index.js +2 -2
  40. package/dist/es/Mask/mask.js +48 -45
  41. package/dist/es/Mask/style/index.css +11 -1
  42. package/dist/es/Mask/style/index.min.css +1 -0
  43. package/dist/es/PayButton/index.js +2 -2
  44. package/dist/es/PayButton/interface.d.ts +9 -9
  45. package/dist/es/PayButton/interface.js +1 -1
  46. package/dist/es/PayMask/index.d.ts +2 -2
  47. package/dist/es/PayMask/index.js +2 -2
  48. package/dist/es/PayMask/interface.d.ts +8 -2
  49. package/dist/es/PayMask/pay-mask.js +48 -40
  50. package/dist/es/PayMask/style/index.css +62 -1
  51. package/dist/es/PayMask/style/index.min.css +1 -0
  52. package/dist/es/Paypal/index.d.ts +2 -2
  53. package/dist/es/Paypal/index.js +2 -2
  54. package/dist/es/Paypal/paypal-button.js +55 -36
  55. package/dist/es/Paypal/style/index.css +207 -1
  56. package/dist/es/Paypal/style/index.min.css +1 -0
  57. package/dist/es/Payssion/index.d.ts +2 -2
  58. package/dist/es/Payssion/index.js +2 -2
  59. package/dist/es/Payssion/payssion-button.js +56 -37
  60. package/dist/es/Payssion/style/index.css +157 -1
  61. package/dist/es/Payssion/style/index.min.css +1 -0
  62. package/dist/es/Stripe/index.d.ts +5 -5
  63. package/dist/es/Stripe/index.js +6 -6
  64. package/dist/es/Stripe/stripe-button.js +47 -33
  65. package/dist/es/Stripe/stripe-modal.js +38 -32
  66. package/dist/es/Stripe/stripe-popup.js +42 -37
  67. package/dist/es/Stripe/stripe.js +15 -15
  68. package/dist/es/Stripe/style/index.css +365 -1
  69. package/dist/es/Stripe/style/index.min.css +1 -0
  70. package/dist/es/Wechat/index.d.ts +4 -4
  71. package/dist/es/Wechat/index.js +5 -5
  72. package/dist/es/Wechat/style/index.css +25 -1
  73. package/dist/es/Wechat/style/index.min.css +1 -0
  74. package/dist/es/Wechat/wechat-button.js +38 -23
  75. package/dist/es/Wechat/wechat-modal.js +37 -31
  76. package/dist/es/Wechat/wechat.js +16 -12
  77. package/dist/es/confirm-modal/index.js +42 -39
  78. package/dist/es/confirm-modal/interface.d.ts +8 -2
  79. package/dist/es/confirm-modal/style/index.css +95 -1
  80. package/dist/es/confirm-modal/style/index.min.css +1 -0
  81. package/dist/es/dot-loading/dot-loading.js +25 -23
  82. package/dist/es/dot-loading/index.d.ts +2 -2
  83. package/dist/es/dot-loading/index.js +2 -2
  84. package/dist/es/dot-loading/style/index.css +3 -1
  85. package/dist/es/dot-loading/style/index.min.css +1 -0
  86. package/dist/es/hooks/use-initialized.js +2 -2
  87. package/dist/es/hooks/use-inner-visible.js +8 -4
  88. package/dist/es/hooks/use-lock-scroll.d.ts +2 -2
  89. package/dist/es/hooks/use-lock-scroll.js +30 -34
  90. package/dist/es/hooks/use-touch.d.ts +1 -1
  91. package/dist/es/hooks/use-touch.js +35 -31
  92. package/dist/es/hooks/usePayWindowOpen.d.ts +16 -10
  93. package/dist/es/hooks/usePayWindowOpen.js +81 -37
  94. package/dist/es/icons/IconAlipay/index.js +18 -16
  95. package/dist/es/icons/IconClose/index.js +24 -22
  96. package/dist/es/icons/IconPaypalText/index.js +24 -22
  97. package/dist/es/icons/IconPaypalWhite/index.js +19 -17
  98. package/dist/es/icons/IconPayssionPay/index.js +47 -45
  99. package/dist/es/icons/IconStripe/index.js +19 -17
  100. package/dist/es/icons/IconStripeText/index.js +19 -17
  101. package/dist/es/icons/IconWechatPay/index.js +18 -16
  102. package/dist/es/icons/interface.d.ts +1 -1
  103. package/dist/es/icons/style/index.css +45 -1
  104. package/dist/es/icons/style/index.min.css +1 -0
  105. package/dist/es/pay-modal/index.d.ts +2 -2
  106. package/dist/es/pay-modal/index.js +2 -2
  107. package/dist/es/pay-modal/pay-modal.js +45 -48
  108. package/dist/es/pay-modal/style/index.css +95 -1
  109. package/dist/es/pay-modal/style/index.min.css +1 -0
  110. package/dist/es/pay-popup/index.js +51 -53
  111. package/dist/es/pay-popup/interface.d.ts +6 -6
  112. package/dist/es/pay-popup/style/index.css +145 -1
  113. package/dist/es/pay-popup/style/index.min.css +1 -0
  114. package/dist/es/shared/enums/index.d.ts +21 -0
  115. package/dist/es/shared/enums/index.js +24 -1
  116. package/dist/es/shared/index.d.ts +1 -1
  117. package/dist/es/shared/index.js +1 -1
  118. package/dist/es/utils/can-use-dom.js +1 -1
  119. package/dist/es/utils/classNames.js +15 -11
  120. package/dist/es/utils/dom.js +18 -18
  121. package/dist/es/utils/get-container.js +2 -2
  122. package/dist/es/utils/get-scroll-parent.js +8 -9
  123. package/dist/es/utils/is.d.ts +10 -1
  124. package/dist/es/utils/is.js +68 -34
  125. package/dist/es/utils/native-props.d.ts +2 -2
  126. package/dist/es/utils/native-props.js +7 -9
  127. package/dist/es/utils/omit.js +3 -5
  128. package/dist/es/utils/qrcode.js +5 -5
  129. package/dist/es/utils/render-to-container.d.ts +1 -1
  130. package/dist/es/utils/render-to-container.js +4 -4
  131. package/dist/es/utils/should-render.d.ts +1 -1
  132. package/dist/es/utils/should-render.js +4 -4
  133. package/dist/es/utils/supports-passive.js +8 -7
  134. package/dist/es/utils/warning.js +0 -1
  135. package/dist/es/utils/with-default-props.js +6 -4
  136. package/dist/es/utils/with-stop-propagation.d.ts +3 -3
  137. package/dist/es/utils/with-stop-propagation.js +27 -14
  138. package/dist/lib/Airwallex/airwallex-button.js +12 -15
  139. package/dist/lib/Airwallex/airwallex-modal.js +11 -14
  140. package/dist/lib/Airwallex/airwallex-popup.js +16 -23
  141. package/dist/lib/Airwallex/airwallex.js +20 -25
  142. package/dist/lib/Airwallex/index.js +1 -1
  143. package/dist/lib/Airwallex/style/index.css +335 -1
  144. package/dist/lib/Airwallex/style/index.min.css +1 -0
  145. package/dist/lib/Alipay/alipay-button.js +12 -15
  146. package/dist/lib/Alipay/alipay-modal.js +9 -12
  147. package/dist/lib/Alipay/alipay.js +19 -23
  148. package/dist/lib/Alipay/index.js +1 -1
  149. package/dist/lib/Alipay/style/index.css +18 -1
  150. package/dist/lib/Alipay/style/index.min.css +1 -0
  151. package/dist/lib/Button/button.js +13 -13
  152. package/dist/lib/Button/index.js +1 -1
  153. package/dist/lib/Button/style/index.css +95 -1
  154. package/dist/lib/Button/style/index.min.css +1 -0
  155. package/dist/lib/FullScreenLoading/index.js +28 -29
  156. package/dist/lib/FullScreenLoading/style/index.css +239 -1
  157. package/dist/lib/FullScreenLoading/style/index.min.css +1 -0
  158. package/dist/lib/MAlipay/index.js +1 -1
  159. package/dist/lib/MAlipay/m-alipay-auto-submit.js +3 -4
  160. package/dist/lib/MAlipay/m-alipay-button.js +34 -44
  161. package/dist/lib/MAlipay/style/index.css +252 -1
  162. package/dist/lib/MAlipay/style/index.min.css +1 -0
  163. package/dist/lib/MWeChat/index.js +2 -2
  164. package/dist/lib/MWeChat/m-wechat-button.js +34 -44
  165. package/dist/lib/MWeChat/style/index.css +252 -1
  166. package/dist/lib/MWeChat/style/index.min.css +1 -0
  167. package/dist/lib/Mask/index.js +1 -1
  168. package/dist/lib/Mask/mask.js +6 -11
  169. package/dist/lib/Mask/style/index.css +11 -1
  170. package/dist/lib/Mask/style/index.min.css +1 -0
  171. package/dist/lib/PayButton/index.js +10 -10
  172. package/dist/lib/PayMask/index.js +1 -1
  173. package/dist/lib/PayMask/pay-mask.js +26 -24
  174. package/dist/lib/PayMask/style/index.css +62 -1
  175. package/dist/lib/PayMask/style/index.min.css +1 -0
  176. package/dist/lib/Paypal/index.js +2 -2
  177. package/dist/lib/Paypal/paypal-button.js +17 -22
  178. package/dist/lib/Paypal/style/index.css +207 -1
  179. package/dist/lib/Paypal/style/index.min.css +1 -0
  180. package/dist/lib/Payssion/index.js +2 -2
  181. package/dist/lib/Payssion/payssion-button.js +17 -22
  182. package/dist/lib/Payssion/style/index.css +157 -1
  183. package/dist/lib/Payssion/style/index.min.css +1 -0
  184. package/dist/lib/Stripe/index.js +1 -1
  185. package/dist/lib/Stripe/stripe-button.js +14 -17
  186. package/dist/lib/Stripe/stripe-modal.js +10 -13
  187. package/dist/lib/Stripe/stripe-popup.js +16 -23
  188. package/dist/lib/Stripe/stripe.js +8 -11
  189. package/dist/lib/Stripe/style/index.css +365 -1
  190. package/dist/lib/Stripe/style/index.min.css +1 -0
  191. package/dist/lib/Wechat/index.js +1 -1
  192. package/dist/lib/Wechat/style/index.css +25 -1
  193. package/dist/lib/Wechat/style/index.min.css +1 -0
  194. package/dist/lib/Wechat/wechat-button.js +12 -15
  195. package/dist/lib/Wechat/wechat-modal.js +9 -12
  196. package/dist/lib/Wechat/wechat.js +11 -12
  197. package/dist/lib/confirm-modal/index.js +24 -28
  198. package/dist/lib/confirm-modal/style/index.css +95 -1
  199. package/dist/lib/confirm-modal/style/index.min.css +1 -0
  200. package/dist/lib/dot-loading/dot-loading.js +3 -4
  201. package/dist/lib/dot-loading/index.js +1 -1
  202. package/dist/lib/dot-loading/style/index.css +3 -1
  203. package/dist/lib/dot-loading/style/index.min.css +1 -0
  204. package/dist/lib/hooks/use-lock-scroll.js +11 -12
  205. package/dist/lib/hooks/use-touch.js +10 -10
  206. package/dist/lib/hooks/usePayWindowOpen.js +63 -21
  207. package/dist/lib/icons/IconAlipay/index.js +6 -6
  208. package/dist/lib/icons/IconClose/index.js +8 -8
  209. package/dist/lib/icons/IconPaypalText/index.js +7 -7
  210. package/dist/lib/icons/IconPaypalWhite/index.js +6 -6
  211. package/dist/lib/icons/IconPayssionPay/index.js +13 -13
  212. package/dist/lib/icons/IconStripe/index.js +6 -6
  213. package/dist/lib/icons/IconStripeText/index.js +6 -6
  214. package/dist/lib/icons/IconWechatPay/index.js +6 -6
  215. package/dist/lib/icons/index.js +2 -2
  216. package/dist/lib/icons/style/index.css +45 -1
  217. package/dist/lib/icons/style/index.min.css +1 -0
  218. package/dist/lib/index.js +2 -2
  219. package/dist/lib/pay-modal/index.js +1 -1
  220. package/dist/lib/pay-modal/pay-modal.js +24 -30
  221. package/dist/lib/pay-modal/style/index.css +95 -1
  222. package/dist/lib/pay-modal/style/index.min.css +1 -0
  223. package/dist/lib/pay-popup/index.js +24 -28
  224. package/dist/lib/pay-popup/style/index.css +145 -1
  225. package/dist/lib/pay-popup/style/index.min.css +1 -0
  226. package/dist/lib/shared/enums/index.js +23 -1
  227. package/dist/lib/utils/can-use-dom.js +1 -1
  228. package/dist/lib/utils/classNames.js +6 -7
  229. package/dist/lib/utils/dom.js +9 -11
  230. package/dist/lib/utils/get-scroll-parent.js +2 -3
  231. package/dist/lib/utils/getPrefixCls.js +1 -1
  232. package/dist/lib/utils/is.js +32 -17
  233. package/dist/lib/utils/native-props.js +10 -10
  234. package/dist/lib/utils/omit.js +3 -6
  235. package/dist/lib/utils/qrcode.js +1 -1
  236. package/dist/lib/utils/supports-passive.js +4 -3
  237. package/dist/lib/utils/warning.js +2 -6
  238. package/dist/lib/utils/with-default-props.js +4 -8
  239. package/dist/lib/utils/with-stop-propagation.js +6 -9
  240. package/dist/umd/pay-sdk-react.umd.js +218 -130
  241. package/dist/umd/pay-sdk-react.umd.js.map +1 -1
  242. package/package.json +6 -3
@@ -1409,52 +1409,58 @@
1409
1409
  }
1410
1410
 
1411
1411
  const classPrefix$g = getPrefixCls('icon');
1412
- const IconClose = React.forwardRef((props, ref) => (jsxRuntimeExports.jsxs("svg", { ref: ref, d: "1750733458208", viewBox: "0 0 1024 1024", version: "1.1", xmlns: "http://www.w3.org/2000/svg", "p-id": "4564", stroke: "currentColor", strokeWidth: "4", className: `${classPrefix$g} ${classPrefix$g}-close`, ...omit(props, ['className']), children: [jsxRuntimeExports.jsx("path", { d: "M0 0h1024v1024H0z", fill: "#999999", "fill-opacity": "0", "p-id": "4565" }), jsxRuntimeExports.jsx("path", { d: "M240.448 168l2.346667 2.154667 289.92 289.941333 279.253333-279.253333a42.666667 42.666667 0 0 1 62.506667 58.026666l-2.133334 2.346667-279.296 279.210667 279.274667 279.253333a42.666667 42.666667 0 0 1-58.005333 62.528l-2.346667-2.176-279.253333-279.253333-289.92 289.962666a42.666667 42.666667 0 0 1-62.506667-58.005333l2.154667-2.346667 289.941333-289.962666-289.92-289.92a42.666667 42.666667 0 0 1 57.984-62.506667z", fill: "#999999", "p-id": "4566" })] })));
1412
+ const IconClose = React.forwardRef((props, ref) => (jsxRuntimeExports.jsxs("svg", { ref: ref, d: "1750733458208", viewBox: "0 0 1024 1024", version: "1.1", xmlns: "http://www.w3.org/2000/svg", "data-p-id": "4564", stroke: "currentColor", strokeWidth: "4", className: `${classPrefix$g} ${classPrefix$g}-close`, ...omit(props, ['className']), children: [jsxRuntimeExports.jsx("path", { d: "M0 0h1024v1024H0z", fill: "#999999", fillOpacity: "0", "data-p-id": "4565" }), jsxRuntimeExports.jsx("path", { d: "M240.448 168l2.346667 2.154667 289.92 289.941333 279.253333-279.253333a42.666667 42.666667 0 0 1 62.506667 58.026666l-2.133334 2.346667-279.296 279.210667 279.274667 279.253333a42.666667 42.666667 0 0 1-58.005333 62.528l-2.346667-2.176-279.253333-279.253333-289.92 289.962666a42.666667 42.666667 0 0 1-62.506667-58.005333l2.154667-2.346667 289.941333-289.962666-289.92-289.92a42.666667 42.666667 0 0 1 57.984-62.506667z", fill: "#999999", "data-p-id": "4566" })] })));
1413
1413
  IconClose.displayName = 'IconClose';
1414
1414
 
1415
1415
  const classPrefix$f = getPrefixCls('icon');
1416
- const IconPaypalText = React.forwardRef((props, ref) => (jsxRuntimeExports.jsxs("svg", { ref: ref, d: "1749543295731", viewBox: "0 0 3711 1024", version: "1.1", xmlns: "http://www.w3.org/2000/svg", "p-id": "4652", id: "mx_n_1749543295732", stroke: "currentColor", strokeWidth: "4", className: `${classPrefix$f} ${classPrefix$f}-paypal-text`, ...omit(props, ['className']), children: [jsxRuntimeExports.jsx("path", { d: "M470.648858 1.406067c118.876545 0 230.083635 66.59643 215.256023 235.196604-18.534515 199.661465-122.455624 309.334665-285.815005 313.297217H258.971914c-22.241418 0-29.655224 15.722382-37.06903 54.964424l-26.076146 180.23218c-3.706903 27.354388-18.534515 39.114218-37.06903 39.114218H25.053551c-22.241418 0-29.655224-15.722382-22.241418-47.039321L110.440145 52.407939C114.274872 17.000624 129.102484 1.406067 151.343902 1.406067h319.304956zM251.558108 393.187367h107.628011c66.852078-3.834727 111.462739-50.874048 115.041818-137.155411 3.834727-54.8366-33.234303-93.950818-88.965673-93.950818h-100.342029l-33.362127 231.106229z m794.555486 376.186744c11.120709-11.75983 25.948321-15.722382 22.241418-3.962552l-3.706903 35.279491c-3.706903 19.557109 3.834727 27.354388 18.534515 27.354388h118.876545c18.534515 0 29.655224-7.669455 33.362127-39.114218l74.265884-474.100113c3.834727-23.51966-3.706903-35.279491-18.534515-35.27949H1161.155411c-11.120709 0-18.534515 7.925103-18.534515 23.51966l-3.706903 27.482212c-3.706903 15.594557-7.413806 19.557109-14.827612 3.834727-22.241418-54.8366-77.972787-78.35626-155.945575-78.35626-181.893896 3.962551-304.477344 148.915242-315.598052 329.147422-11.120709 140.990139 89.093496 254.625889 215.383847 254.62589 89.093496 3.962551 129.86943-23.51966 178.186993-70.431157zM945.899388 698.815129c-77.972787 0-133.704157-66.59643-122.583447-144.95269 11.120709-78.35626 85.386593-144.95269 163.35938-144.95269s133.704157 66.468606 122.583448 144.95269C1098.010236 632.218699 1023.872176 698.815129 945.899388 698.815129z m593.999251-419.263512h-118.876544c-25.948321 0-33.234303 19.684933-25.948321 43.076769l148.531768 450.580452-144.824865 215.511671c-11.120709 19.557109-3.706903 35.279491 14.955436 35.279491h133.576332c18.662339 0 29.783048-3.834727 40.903758-19.557109l449.302209-681.814505c14.827612-19.557109 7.413806-43.076769-14.955436-43.076769h-126.162527c-22.369242 0-29.783048 7.925103-44.61066 27.482211l-189.307702 285.942829-85.386593-285.942829c-3.834727-19.557109-14.827612-27.482212-37.06903-27.482211z", fill: "#113984", "p-id": "4653" }), jsxRuntimeExports.jsx("path", { d: "M2524.912246 1.406067c121.177381 0 234.685308 60.844339 219.602047 215.000374-18.917988 182.660841-124.884284 282.875047-291.439271 286.58195h-143.930096c-22.624891 0-30.166521 14.316315-37.835976 50.107103l-26.459618 164.765447c-3.834727 25.053551-18.917988 35.790788-37.835975 35.790788H2070.752715c-22.752715 0-30.294345-14.316315-22.752715-42.948945l113.635751-666.347772c3.834727-28.63263 15.083261-42.948945 41.542878-42.948945h321.733617z m-219.474223 358.163525h109.801023c68.130321-3.579079 113.507927-46.528024 117.342654-125.267757 3.834727-50.234927-34.129073-86.025715-90.883036-86.025715h-102.259393l-34.001248 211.293472z m806.187492 343.84721c11.376358-10.609412 26.459618-14.188491 22.752715-3.451255l-3.834727 32.211709c-3.834727 17.895394 3.834727 25.053551 18.917987 25.053552h121.177382c18.917988 0 30.294345-7.158158 34.001248-35.790788l75.799775-433.452004c3.834727-21.474473-3.834727-32.211709-18.917988-32.211708H3228.840345c-11.376358 0-18.917988 7.158158-18.917988 21.474472l-3.834727 25.053552c-3.834727 14.316315-7.54163 17.895394-15.083261 3.579078-22.752715-50.107103-79.506678-71.581575-159.013357-71.581575-185.34515 3.579079-310.357259 136.132817-321.733616 300.898265-11.376358 128.97466 90.883036 232.767944 219.602047 232.767944 90.755212 3.579079 136.260642-21.474473 181.638248-64.423418z m-98.424666-64.423418c-79.506678 0-136.260642-60.844339-124.884284-132.425914 11.376358-71.7094 87.048309-132.553739 166.554987-132.553739 79.506678 0 136.260642 60.844339 124.884284 132.553739-15.083261 71.581575-86.920484 132.425914-166.554987 132.425914z m552.712021 118.237424H3425.689677c-11.376358 0-18.917988-7.158158-18.917988-17.895394L3527.94907 22.880539c0-10.737236 11.248533-17.895394 22.624891-17.895394h140.095369c11.376358 0 18.917988 7.158158 15.08326 17.895394l-121.049557 716.454875c3.834727 10.737236-7.669455 17.895394-18.917987 17.895394z", fill: "#009DE2", "p-id": "4654" })] })));
1416
+ const IconPaypalText = React.forwardRef((props, ref) => (jsxRuntimeExports.jsxs("svg", { ref: ref, d: "1749543295731", viewBox: "0 0 3711 1024", version: "1.1", xmlns: "http://www.w3.org/2000/svg", "data-p-id": "4652", id: "mx_n_1749543295732", stroke: "currentColor", strokeWidth: "4", className: `${classPrefix$f} ${classPrefix$f}-paypal-text`, ...omit(props, ['className']), children: [jsxRuntimeExports.jsx("path", { d: "M470.648858 1.406067c118.876545 0 230.083635 66.59643 215.256023 235.196604-18.534515 199.661465-122.455624 309.334665-285.815005 313.297217H258.971914c-22.241418 0-29.655224 15.722382-37.06903 54.964424l-26.076146 180.23218c-3.706903 27.354388-18.534515 39.114218-37.06903 39.114218H25.053551c-22.241418 0-29.655224-15.722382-22.241418-47.039321L110.440145 52.407939C114.274872 17.000624 129.102484 1.406067 151.343902 1.406067h319.304956zM251.558108 393.187367h107.628011c66.852078-3.834727 111.462739-50.874048 115.041818-137.155411 3.834727-54.8366-33.234303-93.950818-88.965673-93.950818h-100.342029l-33.362127 231.106229z m794.555486 376.186744c11.120709-11.75983 25.948321-15.722382 22.241418-3.962552l-3.706903 35.279491c-3.706903 19.557109 3.834727 27.354388 18.534515 27.354388h118.876545c18.534515 0 29.655224-7.669455 33.362127-39.114218l74.265884-474.100113c3.834727-23.51966-3.706903-35.279491-18.534515-35.27949H1161.155411c-11.120709 0-18.534515 7.925103-18.534515 23.51966l-3.706903 27.482212c-3.706903 15.594557-7.413806 19.557109-14.827612 3.834727-22.241418-54.8366-77.972787-78.35626-155.945575-78.35626-181.893896 3.962551-304.477344 148.915242-315.598052 329.147422-11.120709 140.990139 89.093496 254.625889 215.383847 254.62589 89.093496 3.962551 129.86943-23.51966 178.186993-70.431157zM945.899388 698.815129c-77.972787 0-133.704157-66.59643-122.583447-144.95269 11.120709-78.35626 85.386593-144.95269 163.35938-144.95269s133.704157 66.468606 122.583448 144.95269C1098.010236 632.218699 1023.872176 698.815129 945.899388 698.815129z m593.999251-419.263512h-118.876544c-25.948321 0-33.234303 19.684933-25.948321 43.076769l148.531768 450.580452-144.824865 215.511671c-11.120709 19.557109-3.706903 35.279491 14.955436 35.279491h133.576332c18.662339 0 29.783048-3.834727 40.903758-19.557109l449.302209-681.814505c14.827612-19.557109 7.413806-43.076769-14.955436-43.076769h-126.162527c-22.369242 0-29.783048 7.925103-44.61066 27.482211l-189.307702 285.942829-85.386593-285.942829c-3.834727-19.557109-14.827612-27.482212-37.06903-27.482211z", fill: "#113984", "data-p-id": "4653" }), jsxRuntimeExports.jsx("path", { d: "M2524.912246 1.406067c121.177381 0 234.685308 60.844339 219.602047 215.000374-18.917988 182.660841-124.884284 282.875047-291.439271 286.58195h-143.930096c-22.624891 0-30.166521 14.316315-37.835976 50.107103l-26.459618 164.765447c-3.834727 25.053551-18.917988 35.790788-37.835975 35.790788H2070.752715c-22.752715 0-30.294345-14.316315-22.752715-42.948945l113.635751-666.347772c3.834727-28.63263 15.083261-42.948945 41.542878-42.948945h321.733617z m-219.474223 358.163525h109.801023c68.130321-3.579079 113.507927-46.528024 117.342654-125.267757 3.834727-50.234927-34.129073-86.025715-90.883036-86.025715h-102.259393l-34.001248 211.293472z m806.187492 343.84721c11.376358-10.609412 26.459618-14.188491 22.752715-3.451255l-3.834727 32.211709c-3.834727 17.895394 3.834727 25.053551 18.917987 25.053552h121.177382c18.917988 0 30.294345-7.158158 34.001248-35.790788l75.799775-433.452004c3.834727-21.474473-3.834727-32.211709-18.917988-32.211708H3228.840345c-11.376358 0-18.917988 7.158158-18.917988 21.474472l-3.834727 25.053552c-3.834727 14.316315-7.54163 17.895394-15.083261 3.579078-22.752715-50.107103-79.506678-71.581575-159.013357-71.581575-185.34515 3.579079-310.357259 136.132817-321.733616 300.898265-11.376358 128.97466 90.883036 232.767944 219.602047 232.767944 90.755212 3.579079 136.260642-21.474473 181.638248-64.423418z m-98.424666-64.423418c-79.506678 0-136.260642-60.844339-124.884284-132.425914 11.376358-71.7094 87.048309-132.553739 166.554987-132.553739 79.506678 0 136.260642 60.844339 124.884284 132.553739-15.083261 71.581575-86.920484 132.425914-166.554987 132.425914z m552.712021 118.237424H3425.689677c-11.376358 0-18.917988-7.158158-18.917988-17.895394L3527.94907 22.880539c0-10.737236 11.248533-17.895394 22.624891-17.895394h140.095369c11.376358 0 18.917988 7.158158 15.08326 17.895394l-121.049557 716.454875c3.834727 10.737236-7.669455 17.895394-18.917987 17.895394z", fill: "#009DE2", "data-p-id": "4654" })] })));
1417
1417
  IconPaypalText.displayName = 'IconPaypalText';
1418
1418
 
1419
1419
  const classPrefix$e = getPrefixCls('icon');
1420
- const IconPaypalWhite = React.forwardRef((props, ref) => (jsxRuntimeExports.jsx("svg", { ref: ref, d: "1749564648720", viewBox: "0 0 1024 1024", version: "1.1", xmlns: "http://www.w3.org/2000/svg", "p-id": "10907", stroke: "currentColor", strokeWidth: "4", className: `${classPrefix$e} ${classPrefix$e}-paypal-white`, ...omit(props, ['className']), children: jsxRuntimeExports.jsx("path", { d: "M856.192 361.728c20.992 37.547 23.723 85.93 12.8 141.952-31.573 162.39-139.776 218.453-277.93 218.453h-21.334a34.347 34.347 0 0 0-33.877 29.014l-1.707 9.386-26.88 170.368-1.365 7.254a34.304 34.304 0 0 1-33.878 28.97H329.387a20.608 20.608 0 0 1-20.352-23.808L316.5 896h64.768l40.534-256.853h59.093c199.595 0 330.667-93.995 375.296-277.419zM729.899 144.555c32.512 37.034 41.941 77.226 32.085 140.16-0.81 5.248-1.707 10.24-2.645 15.36-31.36 160.981-131.798 232.362-296.79 232.362h-80.384c-26.88 0-50.09 17.664-57.77 42.752l-0.598-0.085-39.68 251.477H133.163a2.176 2.176 0 0 1-2.134-2.56l110.848-704.426A40.533 40.533 0 0 1 281.9 85.333h254.976c93.141 0 158.549 20.011 192.981 59.222z", fill: "#ffffff", "p-id": "10908" }) })));
1420
+ const IconPaypalWhite = React.forwardRef((props, ref) => (jsxRuntimeExports.jsx("svg", { ref: ref, d: "1749564648720", viewBox: "0 0 1024 1024", version: "1.1", xmlns: "http://www.w3.org/2000/svg", "data-p-id": "10907", stroke: "currentColor", strokeWidth: "4", className: `${classPrefix$e} ${classPrefix$e}-paypal-white`, ...omit(props, ['className']), children: jsxRuntimeExports.jsx("path", { d: "M856.192 361.728c20.992 37.547 23.723 85.93 12.8 141.952-31.573 162.39-139.776 218.453-277.93 218.453h-21.334a34.347 34.347 0 0 0-33.877 29.014l-1.707 9.386-26.88 170.368-1.365 7.254a34.304 34.304 0 0 1-33.878 28.97H329.387a20.608 20.608 0 0 1-20.352-23.808L316.5 896h64.768l40.534-256.853h59.093c199.595 0 330.667-93.995 375.296-277.419zM729.899 144.555c32.512 37.034 41.941 77.226 32.085 140.16-0.81 5.248-1.707 10.24-2.645 15.36-31.36 160.981-131.798 232.362-296.79 232.362h-80.384c-26.88 0-50.09 17.664-57.77 42.752l-0.598-0.085-39.68 251.477H133.163a2.176 2.176 0 0 1-2.134-2.56l110.848-704.426A40.533 40.533 0 0 1 281.9 85.333h254.976c93.141 0 158.549 20.011 192.981 59.222z", fill: "#ffffff", "data-p-id": "10908" }) })));
1421
1421
  IconPaypalWhite.displayName = 'IconPaypalWhite';
1422
1422
 
1423
1423
  const classPrefix$d = getPrefixCls('icon');
1424
- const IconStripe = React.forwardRef((props, ref) => (jsxRuntimeExports.jsx("svg", { ref: ref, d: "1749699330712", viewBox: "0 0 1024 1024", version: "1.1", xmlns: "http://www.w3.org/2000/svg", "p-id": "12279", stroke: "currentColor", strokeWidth: "4", className: `${classPrefix$d} ${classPrefix$d}-stripe`, ...omit(props, ['className']), children: jsxRuntimeExports.jsx("path", { d: "M128 0a128 128 0 0 0-128 128v768a128 128 0 0 0 128 128h768a128 128 0 0 0 128-128V128a128 128 0 0 0-128-128z m398.464 344.64c-37.376 0-59.968 10.496-59.968 37.952 0 29.952 38.848 43.136 87.04 59.52 78.592 26.56 182.016 61.632 182.464 191.552C736 759.552 635.136 832 488.32 832a490.784 490.784 0 0 1-195.744-41.312l3.168 1.248v-167.424c59.264 32.384 134.08 56.32 192.64 56.32 39.488 0 67.712-10.56 67.712-42.944 0-33.152-42.112-48.32-92.992-66.624C385.664 543.36 288 508.16 288 391.04 288 266.56 383.232 192 526.464 192l4.192-0.032c61.472 0 120.192 11.872 173.952 33.44l-3.136-1.12v165.312c-53.632-28.8-121.344-44.992-174.976-44.992z", "p-id": "12280", fill: "#5f59d7" }) })));
1424
+ const IconStripe = React.forwardRef((props, ref) => (jsxRuntimeExports.jsx("svg", { ref: ref, d: "1749699330712", viewBox: "0 0 1024 1024", version: "1.1", xmlns: "http://www.w3.org/2000/svg", "data-p-id": "12279", stroke: "currentColor", strokeWidth: "4", className: `${classPrefix$d} ${classPrefix$d}-stripe`, ...omit(props, ['className']), children: jsxRuntimeExports.jsx("path", { d: "M128 0a128 128 0 0 0-128 128v768a128 128 0 0 0 128 128h768a128 128 0 0 0 128-128V128a128 128 0 0 0-128-128z m398.464 344.64c-37.376 0-59.968 10.496-59.968 37.952 0 29.952 38.848 43.136 87.04 59.52 78.592 26.56 182.016 61.632 182.464 191.552C736 759.552 635.136 832 488.32 832a490.784 490.784 0 0 1-195.744-41.312l3.168 1.248v-167.424c59.264 32.384 134.08 56.32 192.64 56.32 39.488 0 67.712-10.56 67.712-42.944 0-33.152-42.112-48.32-92.992-66.624C385.664 543.36 288 508.16 288 391.04 288 266.56 383.232 192 526.464 192l4.192-0.032c61.472 0 120.192 11.872 173.952 33.44l-3.136-1.12v165.312c-53.632-28.8-121.344-44.992-174.976-44.992z", "data-p-id": "12280", fill: "#5f59d7" }) })));
1425
1425
  IconStripe.displayName = 'IconStripe';
1426
1426
 
1427
1427
  const classPrefix$c = getPrefixCls('icon');
1428
- const IconStripeText = React.forwardRef((props, ref) => (jsxRuntimeExports.jsx("svg", { ref: ref, d: "1749718686078", viewBox: "0 0 2469 1024", version: "1.1", xmlns: "http://www.w3.org/2000/svg", "p-id": "7307", stroke: "currentColor", strokeWidth: "4", className: `${classPrefix$c} ${classPrefix$c}-stripe-text`, ...omit(props, ['className']), children: jsxRuntimeExports.jsx("path", { d: "M2165.028571 477.696c5.12-80.896 26.624-118.784 68.096-118.784s61.952 38.912 65.024 118.784H2165.028571z m303.616 48.128a340.918857 340.918857 0 0 0-58.514285-212.114286 207.945143 207.945143 0 0 0-173.056-76.8c-153.6 0-249.344 113.664-249.344 295.424a305.078857 305.078857 0 0 0 75.776 227.328 269.677714 269.677714 0 0 0 194.048 65.828572 365.714286 365.714286 0 0 0 194.048-48.128l-19.602286-124.050286a319.780571 319.780571 0 0 1-154.624 37.376 109.714286 109.714286 0 0 1-76.288-22.528 110.445714 110.445714 0 0 1-33.28-79.36h299.52c-0.512-9.216 1.024-50.176 1.024-62.976z m-723.236571 122.368a71.241143 71.241143 0 0 1-63.122286 41.984 107.812571 107.812571 0 0 1-48.64-10.752V409.6a96.694857 96.694857 0 0 1 68.096-35.328c46.08 0 68.096 49.664 68.096 146.285714a255.561143 255.561143 0 0 1-24.064 127.488z m150.016-349.696a158.72 158.72 0 0 0-133.12-61.952 189.366857 189.366857 0 0 0-141.312 67.584l-9.216-56.832h-159.232V1024l180.736-30.208V811.885714a278.601143 278.601143 0 0 0 81.408 13.312 213.138286 213.138286 0 0 0 161.792-67.072 354.377143 354.377143 0 0 0 73.728-244.224 350.500571 350.500571 0 0 0-54.784-215.552z m-695.296-51.2h181.248v566.784h-181.248z m91.136-55.808a95.085714 95.085714 0 0 0 95.085714-95.744 95.085714 95.085714 0 1 0-190.171428 0 95.085714 95.085714 0 0 0 95.085714 95.744z m-169.472 48.64a107.373714 107.373714 0 0 0-107.52 74.752l-10.752-67.072h-157.696v566.272h180.736V446.171429a117.028571 117.028571 0 0 1 98.304-37.888 190.610286 190.610286 0 0 1 32.256 2.048V244.224a152.868571 152.868571 0 0 0-35.328-4.096zM775.314286 381.44l21.942857-133.632H681.984V84.48l-155.355429 25.6-22.308571 137.216-54.784 8.704-19.968 124.928H504.685714V643.657143a175.542857 175.542857 0 0 0 53.248 144.896 206.701714 206.701714 0 0 0 133.12 35.328 335.213714 335.213714 0 0 0 95.085715-13.312v-141.897143a266.532571 266.532571 0 0 1-52.224 8.192c-35.328 0-50.688-17.92-50.688-59.392V381.44zM258.048 461.312C204.8 441.344 175.542857 425.984 175.542857 402.285714c0-19.968 16.896-32.256 46.592-32.256a373.028571 373.028571 0 0 1 149.065143 39.570286l21.942857-135.168a414.72 414.72 0 0 0-179.638857-38.912 227.766857 227.766857 0 0 0-148.48 46.08A163.254857 163.254857 0 0 0 7.314286 413.184C7.314286 512 67.584 554.496 166.4 590.336c63.488 22.528 84.48 38.912 84.48 63.488s-19.968 37.888-57.344 37.888A397.604571 397.604571 0 0 1 22.528 640L0 776.704a442.953143 442.953143 0 0 0 202.752 48.64 249.490286 249.490286 0 0 0 155.136-43.885714 168.667429 168.667429 0 0 0 61.952-140.434286c0-102.4-61.952-144.384-161.792-179.712z", fill: "#6772E5", "p-id": "7308" }) })));
1428
+ const IconStripeText = React.forwardRef((props, ref) => (jsxRuntimeExports.jsx("svg", { ref: ref, d: "1749718686078", viewBox: "0 0 2469 1024", version: "1.1", xmlns: "http://www.w3.org/2000/svg", "data-p-id": "7307", stroke: "currentColor", strokeWidth: "4", className: `${classPrefix$c} ${classPrefix$c}-stripe-text`, ...omit(props, ['className']), children: jsxRuntimeExports.jsx("path", { d: "M2165.028571 477.696c5.12-80.896 26.624-118.784 68.096-118.784s61.952 38.912 65.024 118.784H2165.028571z m303.616 48.128a340.918857 340.918857 0 0 0-58.514285-212.114286 207.945143 207.945143 0 0 0-173.056-76.8c-153.6 0-249.344 113.664-249.344 295.424a305.078857 305.078857 0 0 0 75.776 227.328 269.677714 269.677714 0 0 0 194.048 65.828572 365.714286 365.714286 0 0 0 194.048-48.128l-19.602286-124.050286a319.780571 319.780571 0 0 1-154.624 37.376 109.714286 109.714286 0 0 1-76.288-22.528 110.445714 110.445714 0 0 1-33.28-79.36h299.52c-0.512-9.216 1.024-50.176 1.024-62.976z m-723.236571 122.368a71.241143 71.241143 0 0 1-63.122286 41.984 107.812571 107.812571 0 0 1-48.64-10.752V409.6a96.694857 96.694857 0 0 1 68.096-35.328c46.08 0 68.096 49.664 68.096 146.285714a255.561143 255.561143 0 0 1-24.064 127.488z m150.016-349.696a158.72 158.72 0 0 0-133.12-61.952 189.366857 189.366857 0 0 0-141.312 67.584l-9.216-56.832h-159.232V1024l180.736-30.208V811.885714a278.601143 278.601143 0 0 0 81.408 13.312 213.138286 213.138286 0 0 0 161.792-67.072 354.377143 354.377143 0 0 0 73.728-244.224 350.500571 350.500571 0 0 0-54.784-215.552z m-695.296-51.2h181.248v566.784h-181.248z m91.136-55.808a95.085714 95.085714 0 0 0 95.085714-95.744 95.085714 95.085714 0 1 0-190.171428 0 95.085714 95.085714 0 0 0 95.085714 95.744z m-169.472 48.64a107.373714 107.373714 0 0 0-107.52 74.752l-10.752-67.072h-157.696v566.272h180.736V446.171429a117.028571 117.028571 0 0 1 98.304-37.888 190.610286 190.610286 0 0 1 32.256 2.048V244.224a152.868571 152.868571 0 0 0-35.328-4.096zM775.314286 381.44l21.942857-133.632H681.984V84.48l-155.355429 25.6-22.308571 137.216-54.784 8.704-19.968 124.928H504.685714V643.657143a175.542857 175.542857 0 0 0 53.248 144.896 206.701714 206.701714 0 0 0 133.12 35.328 335.213714 335.213714 0 0 0 95.085715-13.312v-141.897143a266.532571 266.532571 0 0 1-52.224 8.192c-35.328 0-50.688-17.92-50.688-59.392V381.44zM258.048 461.312C204.8 441.344 175.542857 425.984 175.542857 402.285714c0-19.968 16.896-32.256 46.592-32.256a373.028571 373.028571 0 0 1 149.065143 39.570286l21.942857-135.168a414.72 414.72 0 0 0-179.638857-38.912 227.766857 227.766857 0 0 0-148.48 46.08A163.254857 163.254857 0 0 0 7.314286 413.184C7.314286 512 67.584 554.496 166.4 590.336c63.488 22.528 84.48 38.912 84.48 63.488s-19.968 37.888-57.344 37.888A397.604571 397.604571 0 0 1 22.528 640L0 776.704a442.953143 442.953143 0 0 0 202.752 48.64 249.490286 249.490286 0 0 0 155.136-43.885714 168.667429 168.667429 0 0 0 61.952-140.434286c0-102.4-61.952-144.384-161.792-179.712z", fill: "#6772E5", "data-p-id": "7308" }) })));
1429
1429
  IconStripeText.displayName = 'IconStripeText';
1430
1430
 
1431
1431
  const classPrefix$b = getPrefixCls('icon');
1432
- const IconAlipay = React.forwardRef((props, ref) => (jsxRuntimeExports.jsx("svg", { ref: ref, d: "1750766022943", viewBox: "0 0 1024 1024", version: "1.1", xmlns: "http://www.w3.org/2000/svg", "p-id": "7113", stroke: "currentColor", className: `${classPrefix$b} ${classPrefix$b}-alipay`, ...omit(props, ['className']), children: jsxRuntimeExports.jsx("path", { d: "M1024.0512 701.0304V196.864A196.9664 196.9664 0 0 0 827.136 0H196.864A196.9664 196.9664 0 0 0 0 196.864v630.272A196.9152 196.9152 0 0 0 196.864 1024h630.272a197.12 197.12 0 0 0 193.8432-162.0992c-52.224-22.6304-278.528-120.32-396.4416-176.64-89.7024 108.6976-183.7056 173.9264-325.3248 173.9264s-236.1856-87.2448-224.8192-194.048c7.4752-70.0416 55.552-184.576 264.2944-164.9664 110.08 10.3424 160.4096 30.8736 250.1632 60.5184 23.1936-42.5984 42.496-89.4464 57.1392-139.264H248.064v-39.424h196.9152V311.1424H204.8V267.776h240.128V165.632s2.1504-15.9744 19.8144-15.9744h98.4576V267.776h256v43.4176h-256V381.952h208.8448a805.9904 805.9904 0 0 1-84.8384 212.6848c60.672 22.016 336.7936 106.3936 336.7936 106.3936zM283.5456 791.6032c-149.6576 0-173.312-94.464-165.376-133.9392 7.8336-39.3216 51.2-90.624 134.4-90.624 95.5904 0 181.248 24.4736 284.0576 74.5472-72.192 94.0032-160.9216 150.016-253.0816 150.016z", fill: "#009FE8", "p-id": "7114" }) })));
1432
+ const IconAlipay = React.forwardRef((props, ref) => (jsxRuntimeExports.jsx("svg", { ref: ref, d: "1750766022943", viewBox: "0 0 1024 1024", version: "1.1", xmlns: "http://www.w3.org/2000/svg", "data-p-id": "7113", stroke: "currentColor", className: `${classPrefix$b} ${classPrefix$b}-alipay`, ...omit(props, ['className']), children: jsxRuntimeExports.jsx("path", { d: "M1024.0512 701.0304V196.864A196.9664 196.9664 0 0 0 827.136 0H196.864A196.9664 196.9664 0 0 0 0 196.864v630.272A196.9152 196.9152 0 0 0 196.864 1024h630.272a197.12 197.12 0 0 0 193.8432-162.0992c-52.224-22.6304-278.528-120.32-396.4416-176.64-89.7024 108.6976-183.7056 173.9264-325.3248 173.9264s-236.1856-87.2448-224.8192-194.048c7.4752-70.0416 55.552-184.576 264.2944-164.9664 110.08 10.3424 160.4096 30.8736 250.1632 60.5184 23.1936-42.5984 42.496-89.4464 57.1392-139.264H248.064v-39.424h196.9152V311.1424H204.8V267.776h240.128V165.632s2.1504-15.9744 19.8144-15.9744h98.4576V267.776h256v43.4176h-256V381.952h208.8448a805.9904 805.9904 0 0 1-84.8384 212.6848c60.672 22.016 336.7936 106.3936 336.7936 106.3936zM283.5456 791.6032c-149.6576 0-173.312-94.464-165.376-133.9392 7.8336-39.3216 51.2-90.624 134.4-90.624 95.5904 0 181.248 24.4736 284.0576 74.5472-72.192 94.0032-160.9216 150.016-253.0816 150.016z", fill: "#009FE8", "data-p-id": "7114" }) })));
1433
1433
  IconAlipay.displayName = 'IconAlipay';
1434
1434
 
1435
1435
  const classPrefix$a = getPrefixCls('icon');
1436
- const IconWechatPay = React.forwardRef((props, ref) => (jsxRuntimeExports.jsx("svg", { ref: ref, d: "1750765734858", viewBox: "0 0 1024 1024", version: "1.1", xmlns: "http://www.w3.org/2000/svg", "p-id": "6038", stroke: "currentColor", className: `${classPrefix$a} ${classPrefix$a}-wechat-pay`, ...omit(props, ['className']), children: jsxRuntimeExports.jsx("path", { d: "M964.16 294.4c-3.328-5.568-5.888-5.76-11.168-2.528-17.44 10.56-35.168 20.64-52.864 30.752-45.024 25.76-90.144 51.424-135.2 77.184-53.344 30.464-106.688 60.896-159.936 91.488-75.328 43.264-150.56 86.656-225.856 129.984-21.056 12.096-41.184 5.6-51.232-16.48-8.448-18.432-16.992-36.832-25.44-55.264-21.92-48.032-43.84-96.064-65.696-144.128-4.032-8.864-2.528-15.264 4.16-20.8 6.304-5.28 13.824-5.248 21.568 0.256 35.136 24.864 70.08 49.92 105.376 74.56 15.84 11.072 33.12 12.64 51.008 4.8 45.824-20.16 91.648-40.224 137.376-60.48 64.928-28.8 129.728-57.76 194.624-86.528a30516.544 30516.544 0 0 1 165.056-72.8c7.136-3.104 7.616-5.44 2.56-11.104-40.96-45.664-89.376-81.248-144.32-108.864a568.64 568.64 0 0 0-159.488-52.064c-33.728-5.856-67.84-9.536-99.712-7.68-45.92-1.28-88.576 3.968-130.976 13.088a560.096 560.096 0 0 0-98.976 30.784c-85.76 35.904-157.696 89.216-211.008 165.76C30.816 336.32 8.352 405.12 7.776 480.48a340.96 340.96 0 0 0 15.264 102.656c20.16 66.24 56.832 122.016 106.176 170.24 16.832 16.416 35.136 31.072 53.792 45.28 11.584 8.8 15.552 20.704 12.224 34.048-6.752 27.136-14.72 54.016-22.144 80.992l-3.648 13.696a15.776 15.776 0 0 0 6.304 17.792c6.496 4.544 13.76 3.424 20.576-0.48 36.352-20.8 72.704-41.6 109.12-62.272 10.624-6.048 21.888-10.528 34.432-8.032 9.312 1.824 18.496 4.416 27.68 6.912 39.36 10.656 79.616 15.808 120.288 17.216 41.248 1.408 82.304-0.64 123.2-7.424 34.112-5.632 67.584-13.504 99.872-25.216 58.976-21.344 113.568-50.72 161.6-91.424 66.944-56.64 113.856-125.6 134.88-211.104a349.12 349.12 0 0 0 5.184-139.2c-7.36-46.304-24.224-89.44-48.416-129.792", fill: "#0DC803", "p-id": "6039" }) })));
1436
+ const IconWechatPay = React.forwardRef((props, ref) => (jsxRuntimeExports.jsx("svg", { ref: ref, d: "1750765734858", viewBox: "0 0 1024 1024", version: "1.1", xmlns: "http://www.w3.org/2000/svg", "data-p-id": "6038", stroke: "currentColor", className: `${classPrefix$a} ${classPrefix$a}-wechat-pay`, ...omit(props, ['className']), children: jsxRuntimeExports.jsx("path", { d: "M964.16 294.4c-3.328-5.568-5.888-5.76-11.168-2.528-17.44 10.56-35.168 20.64-52.864 30.752-45.024 25.76-90.144 51.424-135.2 77.184-53.344 30.464-106.688 60.896-159.936 91.488-75.328 43.264-150.56 86.656-225.856 129.984-21.056 12.096-41.184 5.6-51.232-16.48-8.448-18.432-16.992-36.832-25.44-55.264-21.92-48.032-43.84-96.064-65.696-144.128-4.032-8.864-2.528-15.264 4.16-20.8 6.304-5.28 13.824-5.248 21.568 0.256 35.136 24.864 70.08 49.92 105.376 74.56 15.84 11.072 33.12 12.64 51.008 4.8 45.824-20.16 91.648-40.224 137.376-60.48 64.928-28.8 129.728-57.76 194.624-86.528a30516.544 30516.544 0 0 1 165.056-72.8c7.136-3.104 7.616-5.44 2.56-11.104-40.96-45.664-89.376-81.248-144.32-108.864a568.64 568.64 0 0 0-159.488-52.064c-33.728-5.856-67.84-9.536-99.712-7.68-45.92-1.28-88.576 3.968-130.976 13.088a560.096 560.096 0 0 0-98.976 30.784c-85.76 35.904-157.696 89.216-211.008 165.76C30.816 336.32 8.352 405.12 7.776 480.48a340.96 340.96 0 0 0 15.264 102.656c20.16 66.24 56.832 122.016 106.176 170.24 16.832 16.416 35.136 31.072 53.792 45.28 11.584 8.8 15.552 20.704 12.224 34.048-6.752 27.136-14.72 54.016-22.144 80.992l-3.648 13.696a15.776 15.776 0 0 0 6.304 17.792c6.496 4.544 13.76 3.424 20.576-0.48 36.352-20.8 72.704-41.6 109.12-62.272 10.624-6.048 21.888-10.528 34.432-8.032 9.312 1.824 18.496 4.416 27.68 6.912 39.36 10.656 79.616 15.808 120.288 17.216 41.248 1.408 82.304-0.64 123.2-7.424 34.112-5.632 67.584-13.504 99.872-25.216 58.976-21.344 113.568-50.72 161.6-91.424 66.944-56.64 113.856-125.6 134.88-211.104a349.12 349.12 0 0 0 5.184-139.2c-7.36-46.304-24.224-89.44-48.416-129.792", fill: "#0DC803", "data-p-id": "6039" }) })));
1437
1437
  IconWechatPay.displayName = 'IconWechatPay';
1438
1438
 
1439
1439
  const classPrefix$9 = getPrefixCls('icon');
1440
- const IconPayssionPay = React.forwardRef((props, ref) => (jsxRuntimeExports.jsxs("svg", { ref: ref, d: "1750766211404", viewBox: "0 0 2257 1024", version: "1.1", xmlns: "http://www.w3.org/2000/svg", "p-id": "11906", stroke: "currentColor", strokeWidth: "4", className: `${classPrefix$9} ${classPrefix$9}-payssion-pay`, ...omit(props, ['className']), children: [jsxRuntimeExports.jsx("path", { d: "M472.722384 655.612215c25.925985 14.677522 51.565019 29.90025 77.835345 43.932134 74.707583 39.900478 152.973354 70.532452 236.375539 86.659075 91.178547 17.618766 181.410156 16.054885 269.590069-16.456616 70.948531-26.141198 130.648599-68.868139 181.582327-124.249601 12.769301-13.874061 24.390799-28.809838 36.758369-43.042587 1.922569-2.209519 5.279891-4.447734 7.991574-4.476429 36.801412-0.301298 73.617171-0.215213 110.475973-0.200865a36.184468 36.184468 0 0 1 3.88818 0.559554c-2.008654 2.639945-3.414712 4.691642-5.007288 6.55682-53.258027 62.454794-117.075836 111.4803-189.889545 149.013436a578.53541 578.53541 0 0 1-152.959007 53.35846 588.248687 588.248687 0 0 1-150.419493 9.885448c-101.867456-6.083352-197.135048-36.05534-288.385332-80.460943-45.180369-21.980414-88.237303-47.562058-130.246868-75.023229-2.769073-1.807789-5.409018-3.802095-8.120701-5.739011z", fill: "#0D3676", "p-id": "11907" }), jsxRuntimeExports.jsx("path", { d: "M392.476655 219.131689c10.459349-11.865406 19.770895-23.257344 29.943293-33.831473 71.407652-74.219767 155.469824-128.410384 253.951262-159.659302 61.149168-19.412207 123.876565-27.260305 187.952629-25.366431 88.538601 2.66864 172.643816 24.491232 253.951263 58.595308a1026.422222 1026.422222 0 0 1 140.921429 73.229788 10.660214 10.660214 0 0 1 4.490777 4.591209c-8.852425-4.921202-17.661808-9.899795-26.557276-14.74926-66.299931-36.170121-135.426326-65.295604-208.928717-83.459576-44.922113-11.09064-90.475518-17.661808-136.731951-17.733546-121.624003-0.186518-226.576177 42.109997-314.067409 126.387383-22.12389 21.306081-41.320883 45.653837-61.966977 68.466408-1.865179 2.051697-4.949897 4.304259-7.48941 4.304259-37.04532 0.286951-74.104987 0.200865-111.164655 0.186518a30.861535 30.861535 0 0 1-4.304258-0.961285z", fill: "#B01D3A", "p-id": "11908" }), jsxRuntimeExports.jsx("path", { d: "M1397.506711 287.770268c28.967661 0.516511 55.481894 7.475063 77.792302 26.700751 20.531314 17.690503 30.488499 40.70394 31.865861 67.433386 3.959918 76.630152-51.651104 148.023456-134.235481 160.319289-28.350717 4.218174-56.285356 2.309952-82.383511-11.3202-38.293555-19.986108-55.381462-54.69278-52.110225-95.841494 5.853792-73.373263 55.654065-128.8982 127.836483-143.676155 10.229788-2.166477 20.818265-2.482123 31.234571-3.615577z m65.998633 89.571623c-0.846504-6.355955-1.434753-15.667502-3.400365-24.706445-6.054657-28.695058-22.539968-45.840355-50.216351-49.771578-36.098383-5.150763-67.433386 6.528126-89.729446 34.950581-31.851514 40.632202-42.540423 88.222956-35.022318 138.955818 5.394671 36.327943 34.77841 56.945342 71.106353 53.444545 29.025051-2.869506 51.952402-16.585743 70.302892-38.480073 27.102482-32.22455 34.649282-70.962878 36.973582-114.407195z", fill: "#B21B3A", "p-id": "11909" }), jsxRuntimeExports.jsx("path", { d: "M1523.994526 293.308414c14.534047 0 29.068094-0.11478 43.60214 0 8.522432 0.100433 18.393532-1.893874 25.151219 1.721703s9.957185 12.912776 14.648827 19.885676q51.507629 75.912776 102.972215 151.839899c0.774767 1.147802 1.678661 2.209519 3.672967 4.820769 2.051697-9.899795 3.902528-18.307447 5.538147-26.772489q11.277158-58.337053 22.453882-116.688453c2.869506-15.122296-3.213846-24.103849-18.264404-26.585971-4.691642-0.774767-9.426327-1.262583-16.686176-2.223867 2.61125-2.697335 4.218174-5.739012 5.853792-5.810749 30.301981-0.286951 60.61831-0.215213 90.762468-0.215213 1.434753 4.87816 0.258256 6.456388-4.304259 7.001594a136.617171 136.617171 0 0 0-23.056479 4.519472c-8.967206 2.682988-14.146664 9.455022-15.925757 18.651787q-9.69893 49.857663-19.297426 99.744022c-7.747666 40.029606-15.538374 80.044864-23.22865 119.744476-5.423366 2.539513-7.403325-1.004327-9.584149-4.189478q-31.033705-45.194716-62.096106-90.389433-34.921885-50.790253-69.901161-101.537462c-1.16215-1.693008-2.582555-3.213846-4.964245-6.126395-2.869506 13.974493-5.437713 26.413801-7.819403 38.910499q-11.764974 61.522204-23.372125 123.073103c-3.199499 16.915737 2.582555 25.179913 19.613072 28.121157 3.271237 0.559554 6.700296 0.329993 9.957186 0.932589 1.27693 0.22956 3.400364 2.094739 3.242541 2.625598a9.440674 9.440674 0 0 1-3.027328 3.988613c-0.573901 0.487816-1.850831 0.215213-2.869506 0.215213h-85.339103a34.204509 34.204509 0 0 1-3.629924-0.387383c-1.750399-4.964245 0.301298-6.284218 4.835117-6.772034a128.295604 128.295604 0 0 0 21.047825-3.558187c9.741972-2.740378 15.638807-9.569802 17.575723-19.699157q17.36051-90.676383 34.764063-181.352766c1.822136-9.555454-8.76634-22.956046-19.62742-25.151219-3.041676-0.602596-6.298565-0.516511-9.153724-1.578228-1.936916-0.717376-3.328627-2.869506-4.964245-4.390344z", fill: "#B21B3A", "p-id": "11910" }), jsxRuntimeExports.jsx("path", { d: "M48.867684 299.750454c-1.147802-4.720337 0.186518-6.585516 4.835117-6.513778 41.607834 0.573901 83.215668 0.22956 124.723069 1.936917 13.486677 0.559554 27.260305 4.921202 39.986563 10.04327 29.254612 11.894102 37.777044 32.999317 28.135505 63.129127-9.741972 30.388066-32.39672 45.998178-61.005694 55.39581-27.389433 8.981553-55.496242 8.335914-83.717831 6.485083-1.176497-0.071738-2.338647-0.200865-4.404691-0.387383-2.510818 12.654521-5.035983 25.208608-7.503758 37.762696-2.338647 11.937144-4.576862 23.902983-6.944204 35.868822-3.242542 16.413573 4.304259 26.499886 20.96174 27.877249 1.434753 0.11478 3.041676-0.329993 4.304258 0.215213a23.501252 23.501252 0 0 1 4.390344 3.256889c-1.563881 1.291278-3.099066 2.625598-4.720337 3.859485-0.301298 0.22956-0.932589 0-1.434753 0H3.902528a31.99499 31.99499 0 0 1-3.60123-0.416078c-1.133455-4.99294 1.119107-6.499431 5.538146-6.786381a76.658847 76.658847 0 0 0 14.132316-1.979959c11.3202-2.869506 18.651788-9.727625 20.890002-21.793897 11.478023-60.460487 23.372125-120.863584 34.979276-181.309723 2.726031-14.189706-3.816443-22.956046-18.135277-25.136871-2.826463-0.444773-5.624231-1.004327-8.838077-1.506491z m50.661124 118.324072c17.331815-1.090412 33.157139-0.688681 48.465953-3.328627 29.326349-5.064678 49.283762-21.521293 56.199271-51.737189 6.083352-26.585971-3.88818-45.094284-30.388066-51.464587-13.70189-3.299932-28.27898-3.156456-42.483033-4.046003-6.054657-0.373036-10.430654 2.711683-11.764974 9.211114-2.49647 12.123662-5.265543 24.175586-7.647233 36.313596-4.074698 20.775222-7.934184 41.593486-12.381918 65.066043z", fill: "#0E3578", "p-id": "11911" }), jsxRuntimeExports.jsx("path", { d: "M910.623315 290.108915l-5.810749 74.707583c-8.608517 3.084719-9.75632 2.367342-11.234115-5.739011-4.691642-25.696424-16.671829-45.768617-43.300842-53.602368-16.284445-4.792075-32.28194-3.228194-47.0312 5.466408-22.46823 13.242769-25.653382 40.273514-6.485083 58.035755 8.178092 7.575495 17.604418 13.888408 26.915964 20.08654 12.31018 8.235482 25.007743 15.882715 37.619221 23.673423 44.47734 27.46117 39.297882 72.010248 10.258483 100.432703-30.875882 30.258939-68.466408 36.614894-109.572079 25.667729-7.60419-2.023002-15.165338-4.304259-22.841266-6.069005-9.211114-2.123434-14.031883 0.286951-19.584377 7.848099-1.520838 2.066044-4.906855 2.740378-8.077659 4.390343 0-13.773628-0.17217-25.639034 0-37.490093 0.22956-12.181052 0.832157-24.390799 1.305626-36.543156 0.272603-7.274197 0.746072-7.60419 7.991573-6.341608 3.988613 10.115008 7.030289 20.244363 11.793669 29.484172 18.881348 36.586199 68.681621 47.590754 98.538829 22.166933 16.054885-13.673195 23.214302-36.858802 15.050558-53.372808a48.953769 48.953769 0 0 0-15.079253-17.618766c-16.169665-11.478023-33.27192-21.521293-49.900706-32.296287-4.806422-3.113414-9.254156-6.757686-13.888408-10.143703-26.930312-19.727852-25.710772-48.523343-14.232749-70.302892 14.003188-26.557276 37.518788-39.972216 66.744705-43.587793 16.614439-2.066044 32.870189 0.502164 48.580733 6.370303 3.802095 1.434753 7.690276 2.596903 11.592804 3.701662 9.282851 2.625598 13.328854 1.004327 19.555681-6.054657 2.195172-2.49647 5.896834-3.65862 8.909816-5.423366zM921.62787 545.351455l2.869506-80.245729c6.556821-2.424732 8.924163-0.444773 10.301526 5.308585 6.757686 28.106809 21.822592 49.240719 51.062855 57.203598 33.515828 9.125028 64.693008-7.087679 73.071965-37.604873 4.892507-17.790936 0.616944-32.081075-14.347529-43.042587-11.721931-8.608517-24.304714-16.02619-36.471418-24.003416-8.981553-5.882487-18.077886-11.621498-26.88727-17.776588-30.287634-21.176953-28.996356-50.991118-15.882714-74.506718 14.347529-25.653382 37.690959-38.55181 66.414711-41.780004a97.936233 97.936233 0 0 1 45.797313 5.825096c4.462082 1.678661 9.168071 2.697335 13.6445 4.304259 8.120701 2.869506 14.347529 0.703029 19.397859-6.183785 3.500797-4.806422 3.672967-4.691642 10.947165-3.142109-0.674334 10.502391-1.291278 21.148258-2.051697 31.794124-0.860852 12.152357-1.865179 24.290367-2.769073 36.442724-0.645639 8.70895-0.961284 8.981553-9.512412 7.876793-3.199499-9.914143-5.409018-20.014803-9.598497-29.211569-15.194033-33.32931-60.460487-44.64951-87.936005-22.453882-17.102255 13.81667-19.110909 35.137098-4.820769 51.765884 11.779321 13.716238 27.905944 21.521293 42.698246 31.076748 11.478023 7.403325 23.199954 14.347529 33.946253 22.6404 30.388066 23.415167 29.082441 56.758825 10.373264 82.57003-23.702118 32.698018-57.648371 44.47734-96.845821 40.632202-14.347529-1.434753-28.379412-6.0977-42.497381-9.555455-9.225461-2.252562-16.915737-1.535186-22.109542 7.876794-0.903894 1.936916-4.591209 2.338647-8.795035 4.189478z", fill: "#B21B3A", "p-id": "11912" }), jsxRuntimeExports.jsx("path", { d: "M457.800954 533.772999c-1.606923 1.635618-3.199499 4.677294-4.835117 4.691642-32.698018 0.272603-65.410385 0.215213-98.122751 0.215213-1.649966-5.179458 0-7.173764 4.749032-7.288544a79.284445 79.284445 0 0 0 12.783649-1.434753c10.358916-2.051697 14.491004-7.173764 13.257116-17.633113a187.507856 187.507856 0 0 0-4.734684-22.353451c-2.166477-8.795035-4.76338-17.489638-6.915509-26.29902-0.946937-3.845138-2.740378-5.495104-6.886814-5.480756-32.023685 0.129128-64.061717 0-96.128444 0.200865a8.608517 8.608517 0 0 0-6.26987 3.299932c-8.522432 13.257117-16.700524 26.743794-24.950353 40.173081-0.989979 1.621271-1.678661 3.429059-2.625598 5.079025-7.776361 13.70189-0.602596 23.113869 14.347529 24.247324 4.634252 0.344341 7.66158 0.932589 5.265543 6.972899h-78.696196c-0.903894-4.218174-0.473468-6.413345 4.691642-7.173764a35.754042 35.754042 0 0 0 24.67775-14.591437c20.344796-28.881576 40.675245-57.791847 60.259621-87.218629 29.971988-45.180369 59.212252-90.834206 88.95468-136.143702a10.416306 10.416306 0 0 1 7.747665-4.175131c1.779094 0.071738 4.304259 3.7734 4.964245 6.26987q28.264632 98.99795 56.242314 198.16807c1.893874 6.642906 4.390344 13.113641 6.685948 19.62742 3.959918 11.3202 10.717604 19.196994 24.3908 18.508312z m-115.411523-192.429058l-65.424732 101.867456h92.928945zM598.650646 452.809893c-2.309952 17.948759-6.657253 35.624914-10.043271 53.430198-2.066044 10.889774 2.783421 19.641767 13.457983 22.626053 7.030289 1.965611 14.447962 2.510818 24.075153 4.074699-2.869506 2.510818-4.562514 5.480756-6.341608 5.480756-38.967889 0.22956-77.935777 0.143475-116.918013 0.071737-0.416078 0-0.817809-0.401731-1.305625-0.659986-1.018675-4.662947 1.076065-5.939877 5.609884-6.542473a153.69073 153.69073 0 0 0 25.725119-5.122068c8.350262-2.61125 12.912776-9.426327 14.519699-18.077887 4.720337-24.84992 9.569802-49.671145 14.146664-74.60715a12.152357 12.152357 0 0 0-1.291278-7.417673c-17.920064-32.999317-35.868822-65.883853-54.118879-98.624914-10.703257-19.168299-15.194033-22.310408-37.131405-30.12981 1.908221-1.434753 3.802095-3.94557 5.739012-3.959918 35.381006-0.200865 70.762013-0.11478 106.171714 0a6.32726 6.32726 0 0 1 1.578228 0.487816c0.602596 4.777727-1.33432 6.786381-6.312913 6.470735a46.815987 46.815987 0 0 0-7.819403 0.875199c-17.53268 1.893874-21.105215 8.221134-13.75928 25.366432 6.556821 15.323161 15.208381 29.742428 22.956046 44.477339 6.685948 12.654521 13.501025 25.237303 20.646094 38.594853 1.865179-1.779094 3.429059-3.084719 4.76338-4.576861 22.037804-24.448189 44.132999-48.968116 65.78342-73.846732 4.76338-5.466409 8.235482-12.1954 11.607151-18.651788 2.410385-4.677294 0.459121-8.608517-4.863812-9.713277-6.241175-1.434753-12.582783-2.26691-19.268732-3.429059l0.559554-5.739012h88.02209l1.291278 1.549533c-2.037349 1.979959-3.83079 5.322933-6.140743 5.739012-16.413573 2.740378-29.441129 11.664541-40.445684 23.070826-26.715099 27.647688-52.181963 56.514917-79.241402 83.818265", fill: "#0D3676", "p-id": "11913" }), jsxRuntimeExports.jsx("path", { d: "M1146.79799 298.000056c1.563881-1.549533 3.127761-4.462082 4.705989-4.476429 38.451378-0.258256 76.917103-0.200865 115.454566-0.200865 1.736051 5.16511-0.071738 6.427693-4.720337 7.073331a138.927123 138.927123 0 0 0-24.3908 5.093373c-8.53678 2.797768-13.257117 9.512412-15.007515 18.52266-11.678889 60.431792-23.544295 120.820541-35.208836 181.252333-2.869506 14.677522 5.739012 24.204281 22.956046 25.983375a70.518105 70.518105 0 0 1 7.848099 0.530859c1.205192 0.258256 3.084719 2.152129 2.869505 2.869506a7.919836 7.919836 0 0 1-3.027328 3.744705c-0.602596 0.487816-1.850831 0.186518-2.869506 0.186518h-109.04122a38.738328 38.738328 0 0 1-4.304259-0.459121c-1.807789-5.294238 0.946937-6.083352 5.150763-6.714644 8.192439-1.233887 16.542701-2.338647 24.390799-4.949897 8.120701-2.726031 12.826691-9.067638 14.548395-17.977454 11.822364-60.446139 23.773855-120.806194 35.567524-181.237986 2.697335-13.874061-3.959918-23.142564-18.135277-25.610339-4.921202-0.860852-9.92849-1.233887-14.892735-1.822136z", fill: "#B21B3A", "p-id": "11914" })] })));
1440
+ const IconPayssionPay = React.forwardRef((props, ref) => (jsxRuntimeExports.jsxs("svg", { ref: ref, d: "1750766211404", viewBox: "0 0 2257 1024", version: "1.1", xmlns: "http://www.w3.org/2000/svg", "data-p-id": "11906", stroke: "currentColor", strokeWidth: "4", className: `${classPrefix$9} ${classPrefix$9}-payssion-pay`, ...omit(props, ['className']), children: [jsxRuntimeExports.jsx("path", { d: "M472.722384 655.612215c25.925985 14.677522 51.565019 29.90025 77.835345 43.932134 74.707583 39.900478 152.973354 70.532452 236.375539 86.659075 91.178547 17.618766 181.410156 16.054885 269.590069-16.456616 70.948531-26.141198 130.648599-68.868139 181.582327-124.249601 12.769301-13.874061 24.390799-28.809838 36.758369-43.042587 1.922569-2.209519 5.279891-4.447734 7.991574-4.476429 36.801412-0.301298 73.617171-0.215213 110.475973-0.200865a36.184468 36.184468 0 0 1 3.88818 0.559554c-2.008654 2.639945-3.414712 4.691642-5.007288 6.55682-53.258027 62.454794-117.075836 111.4803-189.889545 149.013436a578.53541 578.53541 0 0 1-152.959007 53.35846 588.248687 588.248687 0 0 1-150.419493 9.885448c-101.867456-6.083352-197.135048-36.05534-288.385332-80.460943-45.180369-21.980414-88.237303-47.562058-130.246868-75.023229-2.769073-1.807789-5.409018-3.802095-8.120701-5.739011z", fill: "#0D3676", "data-p-id": "11907" }), jsxRuntimeExports.jsx("path", { d: "M392.476655 219.131689c10.459349-11.865406 19.770895-23.257344 29.943293-33.831473 71.407652-74.219767 155.469824-128.410384 253.951262-159.659302 61.149168-19.412207 123.876565-27.260305 187.952629-25.366431 88.538601 2.66864 172.643816 24.491232 253.951263 58.595308a1026.422222 1026.422222 0 0 1 140.921429 73.229788 10.660214 10.660214 0 0 1 4.490777 4.591209c-8.852425-4.921202-17.661808-9.899795-26.557276-14.74926-66.299931-36.170121-135.426326-65.295604-208.928717-83.459576-44.922113-11.09064-90.475518-17.661808-136.731951-17.733546-121.624003-0.186518-226.576177 42.109997-314.067409 126.387383-22.12389 21.306081-41.320883 45.653837-61.966977 68.466408-1.865179 2.051697-4.949897 4.304259-7.48941 4.304259-37.04532 0.286951-74.104987 0.200865-111.164655 0.186518a30.861535 30.861535 0 0 1-4.304258-0.961285z", fill: "#B01D3A", "data-p-id": "11908" }), jsxRuntimeExports.jsx("path", { d: "M1397.506711 287.770268c28.967661 0.516511 55.481894 7.475063 77.792302 26.700751 20.531314 17.690503 30.488499 40.70394 31.865861 67.433386 3.959918 76.630152-51.651104 148.023456-134.235481 160.319289-28.350717 4.218174-56.285356 2.309952-82.383511-11.3202-38.293555-19.986108-55.381462-54.69278-52.110225-95.841494 5.853792-73.373263 55.654065-128.8982 127.836483-143.676155 10.229788-2.166477 20.818265-2.482123 31.234571-3.615577z m65.998633 89.571623c-0.846504-6.355955-1.434753-15.667502-3.400365-24.706445-6.054657-28.695058-22.539968-45.840355-50.216351-49.771578-36.098383-5.150763-67.433386 6.528126-89.729446 34.950581-31.851514 40.632202-42.540423 88.222956-35.022318 138.955818 5.394671 36.327943 34.77841 56.945342 71.106353 53.444545 29.025051-2.869506 51.952402-16.585743 70.302892-38.480073 27.102482-32.22455 34.649282-70.962878 36.973582-114.407195z", fill: "#B21B3A", "data-p-id": "11909" }), jsxRuntimeExports.jsx("path", { d: "M1523.994526 293.308414c14.534047 0 29.068094-0.11478 43.60214 0 8.522432 0.100433 18.393532-1.893874 25.151219 1.721703s9.957185 12.912776 14.648827 19.885676q51.507629 75.912776 102.972215 151.839899c0.774767 1.147802 1.678661 2.209519 3.672967 4.820769 2.051697-9.899795 3.902528-18.307447 5.538147-26.772489q11.277158-58.337053 22.453882-116.688453c2.869506-15.122296-3.213846-24.103849-18.264404-26.585971-4.691642-0.774767-9.426327-1.262583-16.686176-2.223867 2.61125-2.697335 4.218174-5.739012 5.853792-5.810749 30.301981-0.286951 60.61831-0.215213 90.762468-0.215213 1.434753 4.87816 0.258256 6.456388-4.304259 7.001594a136.617171 136.617171 0 0 0-23.056479 4.519472c-8.967206 2.682988-14.146664 9.455022-15.925757 18.651787q-9.69893 49.857663-19.297426 99.744022c-7.747666 40.029606-15.538374 80.044864-23.22865 119.744476-5.423366 2.539513-7.403325-1.004327-9.584149-4.189478q-31.033705-45.194716-62.096106-90.389433-34.921885-50.790253-69.901161-101.537462c-1.16215-1.693008-2.582555-3.213846-4.964245-6.126395-2.869506 13.974493-5.437713 26.413801-7.819403 38.910499q-11.764974 61.522204-23.372125 123.073103c-3.199499 16.915737 2.582555 25.179913 19.613072 28.121157 3.271237 0.559554 6.700296 0.329993 9.957186 0.932589 1.27693 0.22956 3.400364 2.094739 3.242541 2.625598a9.440674 9.440674 0 0 1-3.027328 3.988613c-0.573901 0.487816-1.850831 0.215213-2.869506 0.215213h-85.339103a34.204509 34.204509 0 0 1-3.629924-0.387383c-1.750399-4.964245 0.301298-6.284218 4.835117-6.772034a128.295604 128.295604 0 0 0 21.047825-3.558187c9.741972-2.740378 15.638807-9.569802 17.575723-19.699157q17.36051-90.676383 34.764063-181.352766c1.822136-9.555454-8.76634-22.956046-19.62742-25.151219-3.041676-0.602596-6.298565-0.516511-9.153724-1.578228-1.936916-0.717376-3.328627-2.869506-4.964245-4.390344z", fill: "#B21B3A", "data-p-id": "11910" }), jsxRuntimeExports.jsx("path", { d: "M48.867684 299.750454c-1.147802-4.720337 0.186518-6.585516 4.835117-6.513778 41.607834 0.573901 83.215668 0.22956 124.723069 1.936917 13.486677 0.559554 27.260305 4.921202 39.986563 10.04327 29.254612 11.894102 37.777044 32.999317 28.135505 63.129127-9.741972 30.388066-32.39672 45.998178-61.005694 55.39581-27.389433 8.981553-55.496242 8.335914-83.717831 6.485083-1.176497-0.071738-2.338647-0.200865-4.404691-0.387383-2.510818 12.654521-5.035983 25.208608-7.503758 37.762696-2.338647 11.937144-4.576862 23.902983-6.944204 35.868822-3.242542 16.413573 4.304259 26.499886 20.96174 27.877249 1.434753 0.11478 3.041676-0.329993 4.304258 0.215213a23.501252 23.501252 0 0 1 4.390344 3.256889c-1.563881 1.291278-3.099066 2.625598-4.720337 3.859485-0.301298 0.22956-0.932589 0-1.434753 0H3.902528a31.99499 31.99499 0 0 1-3.60123-0.416078c-1.133455-4.99294 1.119107-6.499431 5.538146-6.786381a76.658847 76.658847 0 0 0 14.132316-1.979959c11.3202-2.869506 18.651788-9.727625 20.890002-21.793897 11.478023-60.460487 23.372125-120.863584 34.979276-181.309723 2.726031-14.189706-3.816443-22.956046-18.135277-25.136871-2.826463-0.444773-5.624231-1.004327-8.838077-1.506491z m50.661124 118.324072c17.331815-1.090412 33.157139-0.688681 48.465953-3.328627 29.326349-5.064678 49.283762-21.521293 56.199271-51.737189 6.083352-26.585971-3.88818-45.094284-30.388066-51.464587-13.70189-3.299932-28.27898-3.156456-42.483033-4.046003-6.054657-0.373036-10.430654 2.711683-11.764974 9.211114-2.49647 12.123662-5.265543 24.175586-7.647233 36.313596-4.074698 20.775222-7.934184 41.593486-12.381918 65.066043z", fill: "#0E3578", "data-p-id": "11911" }), jsxRuntimeExports.jsx("path", { d: "M910.623315 290.108915l-5.810749 74.707583c-8.608517 3.084719-9.75632 2.367342-11.234115-5.739011-4.691642-25.696424-16.671829-45.768617-43.300842-53.602368-16.284445-4.792075-32.28194-3.228194-47.0312 5.466408-22.46823 13.242769-25.653382 40.273514-6.485083 58.035755 8.178092 7.575495 17.604418 13.888408 26.915964 20.08654 12.31018 8.235482 25.007743 15.882715 37.619221 23.673423 44.47734 27.46117 39.297882 72.010248 10.258483 100.432703-30.875882 30.258939-68.466408 36.614894-109.572079 25.667729-7.60419-2.023002-15.165338-4.304259-22.841266-6.069005-9.211114-2.123434-14.031883 0.286951-19.584377 7.848099-1.520838 2.066044-4.906855 2.740378-8.077659 4.390343 0-13.773628-0.17217-25.639034 0-37.490093 0.22956-12.181052 0.832157-24.390799 1.305626-36.543156 0.272603-7.274197 0.746072-7.60419 7.991573-6.341608 3.988613 10.115008 7.030289 20.244363 11.793669 29.484172 18.881348 36.586199 68.681621 47.590754 98.538829 22.166933 16.054885-13.673195 23.214302-36.858802 15.050558-53.372808a48.953769 48.953769 0 0 0-15.079253-17.618766c-16.169665-11.478023-33.27192-21.521293-49.900706-32.296287-4.806422-3.113414-9.254156-6.757686-13.888408-10.143703-26.930312-19.727852-25.710772-48.523343-14.232749-70.302892 14.003188-26.557276 37.518788-39.972216 66.744705-43.587793 16.614439-2.066044 32.870189 0.502164 48.580733 6.370303 3.802095 1.434753 7.690276 2.596903 11.592804 3.701662 9.282851 2.625598 13.328854 1.004327 19.555681-6.054657 2.195172-2.49647 5.896834-3.65862 8.909816-5.423366zM921.62787 545.351455l2.869506-80.245729c6.556821-2.424732 8.924163-0.444773 10.301526 5.308585 6.757686 28.106809 21.822592 49.240719 51.062855 57.203598 33.515828 9.125028 64.693008-7.087679 73.071965-37.604873 4.892507-17.790936 0.616944-32.081075-14.347529-43.042587-11.721931-8.608517-24.304714-16.02619-36.471418-24.003416-8.981553-5.882487-18.077886-11.621498-26.88727-17.776588-30.287634-21.176953-28.996356-50.991118-15.882714-74.506718 14.347529-25.653382 37.690959-38.55181 66.414711-41.780004a97.936233 97.936233 0 0 1 45.797313 5.825096c4.462082 1.678661 9.168071 2.697335 13.6445 4.304259 8.120701 2.869506 14.347529 0.703029 19.397859-6.183785 3.500797-4.806422 3.672967-4.691642 10.947165-3.142109-0.674334 10.502391-1.291278 21.148258-2.051697 31.794124-0.860852 12.152357-1.865179 24.290367-2.769073 36.442724-0.645639 8.70895-0.961284 8.981553-9.512412 7.876793-3.199499-9.914143-5.409018-20.014803-9.598497-29.211569-15.194033-33.32931-60.460487-44.64951-87.936005-22.453882-17.102255 13.81667-19.110909 35.137098-4.820769 51.765884 11.779321 13.716238 27.905944 21.521293 42.698246 31.076748 11.478023 7.403325 23.199954 14.347529 33.946253 22.6404 30.388066 23.415167 29.082441 56.758825 10.373264 82.57003-23.702118 32.698018-57.648371 44.47734-96.845821 40.632202-14.347529-1.434753-28.379412-6.0977-42.497381-9.555455-9.225461-2.252562-16.915737-1.535186-22.109542 7.876794-0.903894 1.936916-4.591209 2.338647-8.795035 4.189478z", fill: "#B21B3A", "data-p-id": "11912" }), jsxRuntimeExports.jsx("path", { d: "M457.800954 533.772999c-1.606923 1.635618-3.199499 4.677294-4.835117 4.691642-32.698018 0.272603-65.410385 0.215213-98.122751 0.215213-1.649966-5.179458 0-7.173764 4.749032-7.288544a79.284445 79.284445 0 0 0 12.783649-1.434753c10.358916-2.051697 14.491004-7.173764 13.257116-17.633113a187.507856 187.507856 0 0 0-4.734684-22.353451c-2.166477-8.795035-4.76338-17.489638-6.915509-26.29902-0.946937-3.845138-2.740378-5.495104-6.886814-5.480756-32.023685 0.129128-64.061717 0-96.128444 0.200865a8.608517 8.608517 0 0 0-6.26987 3.299932c-8.522432 13.257117-16.700524 26.743794-24.950353 40.173081-0.989979 1.621271-1.678661 3.429059-2.625598 5.079025-7.776361 13.70189-0.602596 23.113869 14.347529 24.247324 4.634252 0.344341 7.66158 0.932589 5.265543 6.972899h-78.696196c-0.903894-4.218174-0.473468-6.413345 4.691642-7.173764a35.754042 35.754042 0 0 0 24.67775-14.591437c20.344796-28.881576 40.675245-57.791847 60.259621-87.218629 29.971988-45.180369 59.212252-90.834206 88.95468-136.143702a10.416306 10.416306 0 0 1 7.747665-4.175131c1.779094 0.071738 4.304259 3.7734 4.964245 6.26987q28.264632 98.99795 56.242314 198.16807c1.893874 6.642906 4.390344 13.113641 6.685948 19.62742 3.959918 11.3202 10.717604 19.196994 24.3908 18.508312z m-115.411523-192.429058l-65.424732 101.867456h92.928945zM598.650646 452.809893c-2.309952 17.948759-6.657253 35.624914-10.043271 53.430198-2.066044 10.889774 2.783421 19.641767 13.457983 22.626053 7.030289 1.965611 14.447962 2.510818 24.075153 4.074699-2.869506 2.510818-4.562514 5.480756-6.341608 5.480756-38.967889 0.22956-77.935777 0.143475-116.918013 0.071737-0.416078 0-0.817809-0.401731-1.305625-0.659986-1.018675-4.662947 1.076065-5.939877 5.609884-6.542473a153.69073 153.69073 0 0 0 25.725119-5.122068c8.350262-2.61125 12.912776-9.426327 14.519699-18.077887 4.720337-24.84992 9.569802-49.671145 14.146664-74.60715a12.152357 12.152357 0 0 0-1.291278-7.417673c-17.920064-32.999317-35.868822-65.883853-54.118879-98.624914-10.703257-19.168299-15.194033-22.310408-37.131405-30.12981 1.908221-1.434753 3.802095-3.94557 5.739012-3.959918 35.381006-0.200865 70.762013-0.11478 106.171714 0a6.32726 6.32726 0 0 1 1.578228 0.487816c0.602596 4.777727-1.33432 6.786381-6.312913 6.470735a46.815987 46.815987 0 0 0-7.819403 0.875199c-17.53268 1.893874-21.105215 8.221134-13.75928 25.366432 6.556821 15.323161 15.208381 29.742428 22.956046 44.477339 6.685948 12.654521 13.501025 25.237303 20.646094 38.594853 1.865179-1.779094 3.429059-3.084719 4.76338-4.576861 22.037804-24.448189 44.132999-48.968116 65.78342-73.846732 4.76338-5.466409 8.235482-12.1954 11.607151-18.651788 2.410385-4.677294 0.459121-8.608517-4.863812-9.713277-6.241175-1.434753-12.582783-2.26691-19.268732-3.429059l0.559554-5.739012h88.02209l1.291278 1.549533c-2.037349 1.979959-3.83079 5.322933-6.140743 5.739012-16.413573 2.740378-29.441129 11.664541-40.445684 23.070826-26.715099 27.647688-52.181963 56.514917-79.241402 83.818265", fill: "#0D3676", "data-p-id": "11913" }), jsxRuntimeExports.jsx("path", { d: "M1146.79799 298.000056c1.563881-1.549533 3.127761-4.462082 4.705989-4.476429 38.451378-0.258256 76.917103-0.200865 115.454566-0.200865 1.736051 5.16511-0.071738 6.427693-4.720337 7.073331a138.927123 138.927123 0 0 0-24.3908 5.093373c-8.53678 2.797768-13.257117 9.512412-15.007515 18.52266-11.678889 60.431792-23.544295 120.820541-35.208836 181.252333-2.869506 14.677522 5.739012 24.204281 22.956046 25.983375a70.518105 70.518105 0 0 1 7.848099 0.530859c1.205192 0.258256 3.084719 2.152129 2.869505 2.869506a7.919836 7.919836 0 0 1-3.027328 3.744705c-0.602596 0.487816-1.850831 0.186518-2.869506 0.186518h-109.04122a38.738328 38.738328 0 0 1-4.304259-0.459121c-1.807789-5.294238 0.946937-6.083352 5.150763-6.714644 8.192439-1.233887 16.542701-2.338647 24.390799-4.949897 8.120701-2.726031 12.826691-9.067638 14.548395-17.977454 11.822364-60.446139 23.773855-120.806194 35.567524-181.237986 2.697335-13.874061-3.959918-23.142564-18.135277-25.610339-4.921202-0.860852-9.92849-1.233887-14.892735-1.822136z", fill: "#B21B3A", "data-p-id": "11914" })] })));
1441
1441
  IconPayssionPay.displayName = 'IconPayssionPay';
1442
1442
 
1443
- const canUseDom = !!(typeof window !== "undefined" &&
1444
- typeof document !== "undefined" &&
1443
+ const canUseDom = !!(typeof window !== 'undefined' &&
1444
+ typeof document !== 'undefined' &&
1445
1445
  window.document &&
1446
1446
  window.document.createElement);
1447
1447
 
1448
1448
  const NOOP = () => { };
1449
1449
  const isServerRendering = (function () {
1450
1450
  try {
1451
- return !(typeof window !== "undefined" && document !== undefined);
1451
+ return !(typeof window !== 'undefined' && document !== undefined);
1452
1452
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
1453
1453
  }
1454
1454
  catch (e) {
1455
1455
  return true;
1456
1456
  }
1457
1457
  })();
1458
+ const clientWindow = (function () {
1459
+ if (isServerRendering) {
1460
+ return undefined;
1461
+ }
1462
+ return window;
1463
+ })();
1458
1464
  const clientDocument = (function () {
1459
1465
  if (isServerRendering) {
1460
1466
  return undefined;
@@ -1482,31 +1488,44 @@
1482
1488
 
1483
1489
  const opt = Object.prototype.toString;
1484
1490
  function isArray(obj) {
1485
- return opt.call(obj) === "[object Array]";
1491
+ return opt.call(obj) === '[object Array]';
1486
1492
  }
1487
1493
  function isObject(obj) {
1488
- return opt.call(obj) === "[object Object]";
1494
+ return opt.call(obj) === '[object Object]';
1489
1495
  }
1490
1496
  function isString(obj) {
1491
- return opt.call(obj) === "[object String]";
1497
+ return opt.call(obj) === '[object String]';
1492
1498
  }
1493
1499
  function isFunction(obj) {
1494
- return typeof obj === "function";
1500
+ return typeof obj === 'function';
1501
+ }
1502
+ /**
1503
+ * @zh 检测是否为移动设备
1504
+ * @en Detect if it's a mobile device
1505
+ */
1506
+ function isMobileDevice() {
1507
+ return (clientWindow &&
1508
+ /Android|webOS|iPhone|iPad|iPod|Windows Phone|BlackBerry|Mobile|IEMobile|Opera Mini/i.test(clientWindow?.navigator.userAgent));
1509
+ }
1510
+ /**
1511
+ * @zh 检测是否为触摸设备
1512
+ * @en Detect if it's a touch device
1513
+ */
1514
+ function isTouchDevice() {
1515
+ return 'ontouchstart' in window || navigator.maxTouchPoints > 0;
1495
1516
  }
1496
1517
  function isPromise$1(obj) {
1497
- return (!!obj && typeof obj === "object" && typeof obj.then === "function");
1518
+ return (!!obj && typeof obj === 'object' && typeof obj.then === 'function');
1498
1519
  }
1499
1520
 
1500
1521
  function warning(condition, message, ...extra) {
1501
1522
  if (process.env.NODE_ENV !== 'production' && console) {
1502
1523
  {
1503
- // eslint-disable-next-line no-console
1504
1524
  return console.error(`[pay-sdk-react]: ${message}`, extra ? { detail: extra } : undefined);
1505
1525
  }
1506
1526
  }
1507
1527
  }
1508
1528
 
1509
- // eslint-disable-next-line import/no-anonymous-default-export
1510
1529
  function cs (...args) {
1511
1530
  const length = args.length;
1512
1531
  let classNames = [];
@@ -1529,10 +1548,10 @@
1529
1548
  });
1530
1549
  }
1531
1550
  else {
1532
- warning(true, "arguments must be one of string/array/object.");
1551
+ warning(true, 'arguments must be one of string/array/object.');
1533
1552
  }
1534
1553
  }
1535
- return [...new Set(classNames)].join(" ");
1554
+ return [...new Set(classNames)].join(' ');
1536
1555
  }
1537
1556
 
1538
1557
  var isBrowser$1 = !!(typeof window !== 'undefined' && window.document && window.document.createElement);
@@ -4889,8 +4908,8 @@
4889
4908
  }
4890
4909
 
4891
4910
  const eventToPropRecord = {
4892
- click: "onClick",
4893
- touchstart: "onTouchStart",
4911
+ click: 'onClick',
4912
+ touchstart: 'onTouchStart',
4894
4913
  };
4895
4914
  function withStopPropagation(events, element) {
4896
4915
  const props = { ...element.props };
@@ -4920,7 +4939,7 @@
4920
4939
  }
4921
4940
 
4922
4941
  const defaultRoot = canUseDom ? window : undefined;
4923
- const overflowStylePatterns = ["scroll", "auto", "overlay"];
4942
+ const overflowStylePatterns = ['scroll', 'auto', 'overlay'];
4924
4943
  function isElement(node) {
4925
4944
  const ELEMENT_NODE_TYPE = 1;
4926
4945
  return node.nodeType === ELEMENT_NODE_TYPE;
@@ -4945,13 +4964,14 @@
4945
4964
  if (canUseDom) {
4946
4965
  try {
4947
4966
  const opts = {};
4948
- Object.defineProperty(opts, "passive", {
4967
+ Object.defineProperty(opts, 'passive', {
4968
+ // eslint-disable-next-line getter-return
4949
4969
  get() {
4950
4970
  supportsPassive = true;
4951
4971
  },
4952
4972
  });
4953
- window.addEventListener("test-passive", null, opts);
4954
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
4973
+ window.addEventListener('test-passive', null, opts);
4974
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars, no-empty
4955
4975
  }
4956
4976
  catch (e) { }
4957
4977
  }
@@ -4959,12 +4979,12 @@
4959
4979
  const MIN_DISTANCE = 10;
4960
4980
  function getDirection(x, y) {
4961
4981
  if (x > y && x > MIN_DISTANCE) {
4962
- return "horizontal";
4982
+ return 'horizontal';
4963
4983
  }
4964
4984
  if (y > x && y > MIN_DISTANCE) {
4965
- return "vertical";
4985
+ return 'vertical';
4966
4986
  }
4967
- return "";
4987
+ return '';
4968
4988
  }
4969
4989
  function useTouch() {
4970
4990
  const startX = React.useRef(0);
@@ -4973,15 +4993,15 @@
4973
4993
  const deltaY = React.useRef(0);
4974
4994
  const offsetX = React.useRef(0);
4975
4995
  const offsetY = React.useRef(0);
4976
- const direction = React.useRef("");
4977
- const isVertical = () => direction.current === "vertical";
4978
- const isHorizontal = () => direction.current === "horizontal";
4996
+ const direction = React.useRef('');
4997
+ const isVertical = () => direction.current === 'vertical';
4998
+ const isHorizontal = () => direction.current === 'horizontal';
4979
4999
  const reset = () => {
4980
5000
  deltaX.current = 0;
4981
5001
  deltaY.current = 0;
4982
5002
  offsetX.current = 0;
4983
5003
  offsetY.current = 0;
4984
- direction.current = "";
5004
+ direction.current = '';
4985
5005
  };
4986
5006
  const start = ((event) => {
4987
5007
  reset();
@@ -5017,7 +5037,7 @@
5017
5037
  }
5018
5038
 
5019
5039
  let totalLockCount = 0;
5020
- const BODY_LOCK_CLASS = "yfm-overflow-hidden";
5040
+ const BODY_LOCK_CLASS = 'yfm-overflow-hidden';
5021
5041
  function getScrollableElement(el) {
5022
5042
  let current = el?.parentElement;
5023
5043
  while (current) {
@@ -5032,12 +5052,12 @@
5032
5052
  const touch = useTouch();
5033
5053
  const onTouchMove = (event) => {
5034
5054
  touch.move(event);
5035
- const direction = touch.deltaY.current > 0 ? "10" : "01";
5055
+ const direction = touch.deltaY.current > 0 ? '10' : '01';
5036
5056
  const el = getScrollParent(event.target, rootRef.current);
5037
5057
  if (!el)
5038
5058
  return;
5039
5059
  // This has perf cost but we have to compatible with iOS 12
5040
- if (shouldLock === "strict") {
5060
+ if (shouldLock === 'strict') {
5041
5061
  const scrollableParent = getScrollableElement(event.target);
5042
5062
  if (scrollableParent === document.body ||
5043
5063
  scrollableParent === document.documentElement) {
@@ -5047,14 +5067,14 @@
5047
5067
  }
5048
5068
  const { scrollHeight, offsetHeight, scrollTop } = el;
5049
5069
  const { height } = el.getBoundingClientRect();
5050
- let status = "11";
5070
+ let status = '11';
5051
5071
  if (scrollTop === 0) {
5052
- status = offsetHeight >= scrollHeight ? "00" : "01";
5072
+ status = offsetHeight >= scrollHeight ? '00' : '01';
5053
5073
  }
5054
5074
  else if (scrollHeight <= Math.round(height + scrollTop)) {
5055
- status = "10";
5075
+ status = '10';
5056
5076
  }
5057
- if (status !== "11" &&
5077
+ if (status !== '11' &&
5058
5078
  touch.isVertical() &&
5059
5079
  !(parseInt(status, 2) & parseInt(direction, 2))) {
5060
5080
  if (event.cancelable && supportsPassive) {
@@ -5063,8 +5083,8 @@
5063
5083
  }
5064
5084
  };
5065
5085
  const lock = () => {
5066
- document.addEventListener("touchstart", touch.start);
5067
- document.addEventListener("touchmove", onTouchMove, supportsPassive ? { passive: false } : false);
5086
+ document.addEventListener('touchstart', touch.start);
5087
+ document.addEventListener('touchmove', onTouchMove, supportsPassive ? { passive: false } : false);
5068
5088
  if (!totalLockCount) {
5069
5089
  document.body.classList.add(BODY_LOCK_CLASS);
5070
5090
  }
@@ -5072,8 +5092,8 @@
5072
5092
  };
5073
5093
  const unlock = () => {
5074
5094
  if (totalLockCount) {
5075
- document.removeEventListener("touchstart", touch.start);
5076
- document.removeEventListener("touchmove", onTouchMove);
5095
+ document.removeEventListener('touchstart', touch.start);
5096
+ document.removeEventListener('touchmove', onTouchMove);
5077
5097
  totalLockCount--;
5078
5098
  if (!totalLockCount) {
5079
5099
  document.body.classList.remove(BODY_LOCK_CLASS);
@@ -5087,7 +5107,6 @@
5087
5107
  unlock();
5088
5108
  };
5089
5109
  }
5090
- // eslint-disable-next-line react-hooks/exhaustive-deps
5091
5110
  }, [shouldLock]);
5092
5111
  }
5093
5112
 
@@ -5101,7 +5120,7 @@
5101
5120
  black: '0, 0, 0',
5102
5121
  white: '255, 255, 255',
5103
5122
  };
5104
- const defaultProps$4 = {
5123
+ const defaultProps$5 = {
5105
5124
  visible: true,
5106
5125
  destroyOnClose: false,
5107
5126
  forceRender: false,
@@ -5112,7 +5131,7 @@
5112
5131
  stopPropagation: ['click'],
5113
5132
  };
5114
5133
  const Mask = (p) => {
5115
- const props = mergeProps(defaultProps$4, p);
5134
+ const props = mergeProps(defaultProps$5, p);
5116
5135
  const ref = React.useRef(null);
5117
5136
  useLockScroll(ref, props.visible && props.disableBodyScroll);
5118
5137
  const background = React.useMemo(() => {
@@ -5159,28 +5178,154 @@
5159
5178
  return (jsxRuntimeExports.jsx(ShouldRender, { active: active, forceRender: props.forceRender, destroyOnClose: props.destroyOnClose, children: renderToContainer(props.getContainer, node) }));
5160
5179
  };
5161
5180
 
5162
- function usePayWindowOpen({ payUrl, onClose, onSuccess, autoOpen = true, openMode = "window", }) {
5181
+ exports.PaymentMethod = void 0;
5182
+ (function (PaymentMethod) {
5183
+ /**
5184
+ * @zh 微信(pc)
5185
+ * @en Wechat(pc)
5186
+ */
5187
+ PaymentMethod["WechatPc"] = "wechat-pc";
5188
+ /**
5189
+ * @zh 支付宝(pc)
5190
+ * @en Alipay(pc)
5191
+ */
5192
+ PaymentMethod["AlipayPc"] = "alipay-pc";
5193
+ /**
5194
+ * @zh paypal(pc)
5195
+ * @en Paypal(pc)
5196
+ */
5197
+ PaymentMethod["PaypalPc"] = "paypal-pc";
5198
+ /**
5199
+ * @zh stripe(pc)
5200
+ * @en Stripe(pc)
5201
+ */
5202
+ PaymentMethod["StripePc"] = "stripe-pc";
5203
+ /**
5204
+ * @zh 微信(H5)
5205
+ * @en Wechat(H5)
5206
+ */
5207
+ PaymentMethod["WechatH5"] = "wechat-h5";
5208
+ /**
5209
+ * @zh 支付宝(H5)
5210
+ * @en Alipay(H5)
5211
+ */
5212
+ PaymentMethod["AlipayH5"] = "alipay-h5";
5213
+ /**
5214
+ * @zh paypal(H5)
5215
+ * @en Paypal(H5)
5216
+ */
5217
+ PaymentMethod["PaypalH5"] = "paypal-h5";
5218
+ /**
5219
+ * @zh 微信内部(H5)
5220
+ * @en Wechat inside(H5)
5221
+ */
5222
+ PaymentMethod["WechatInsideH5"] = "wechat-inside-h5";
5223
+ /**
5224
+ * @zh stripe(H5)
5225
+ * @en Stripe(H5)
5226
+ */
5227
+ PaymentMethod["StripeH5"] = "stripe-h5";
5228
+ /**
5229
+ * @zh payssion支付
5230
+ * @en Payssion
5231
+ */
5232
+ PaymentMethod["Payssion"] = "payssion";
5233
+ /**
5234
+ * @zh 空中云汇
5235
+ * @en Airwallex
5236
+ */
5237
+ PaymentMethod["Airwallex"] = "airwallex";
5238
+ })(exports.PaymentMethod || (exports.PaymentMethod = {}));
5239
+ /**
5240
+ * @zh 支付页面打开模式枚举
5241
+ * @en Payment page opening mode enum
5242
+ */
5243
+ exports.OpenPayUrlMode = void 0;
5244
+ (function (OpenPayUrlMode) {
5245
+ /**
5246
+ * @zh 新页面或弹窗模式 - 使用 window.open() 打开新页面或弹窗,支持智能设备检测
5247
+ * @en New page or popup mode - Use window.open() to open new page or popup, supports smart device detection
5248
+ */
5249
+ OpenPayUrlMode["Window"] = "window";
5250
+ /**
5251
+ * @zh 新页面模式 - 使用 window.location.href 跳转到新页面
5252
+ * @en New page mode - Use window.location.href to navigate to new page
5253
+ */
5254
+ OpenPayUrlMode["Href"] = "href";
5255
+ /**
5256
+ * @zh 替换页面模式 - 使用 window.location.replace 替换当前页面
5257
+ * @en Replace page mode - Use window.location.replace to replace current page
5258
+ */
5259
+ OpenPayUrlMode["Replace"] = "replace";
5260
+ })(exports.OpenPayUrlMode || (exports.OpenPayUrlMode = {}));
5261
+
5262
+ /**
5263
+ * @zh 获取屏幕宽度
5264
+ * @en Get screen width
5265
+ */
5266
+ function getScreenWidth() {
5267
+ return (clientWindow?.innerWidth ||
5268
+ clientDocument?.documentElement?.clientWidth ||
5269
+ clientDocument?.body?.clientWidth);
5270
+ }
5271
+ const defaultProps$4 = {
5272
+ payUrl: '',
5273
+ openMode: exports.OpenPayUrlMode.Window,
5274
+ };
5275
+ function usePayWindowOpen(p) {
5276
+ const props = mergeProps(defaultProps$4, p);
5277
+ const { payUrl, onClose, onSuccess, autoOpen = true } = props;
5163
5278
  const payWindowRef = React.useRef(null);
5164
5279
  const pollTimerRef = React.useRef(null);
5165
5280
  const [isWindowMonitoring, setWindowMonitoring] = React.useState(false);
5281
+ // 创建弹窗的公共函数
5282
+ const createPopupWindow = React.useCallback((url) => {
5283
+ // 计算弹窗尺寸和位置,实现垂直水平居中
5284
+ const width = Math.min(550, window.outerWidth * 0.9);
5285
+ const height = Math.min(700, window.outerHeight);
5286
+ // 使用多种定位方法确保居中
5287
+ const left = Math.round((window.screen.availWidth - width) / 2);
5288
+ const top = Math.round((window.screen.availHeight - height) / 2);
5289
+ const screenX = left;
5290
+ const screenY = top;
5291
+ return window.open(url, 'paypal_payment', `width=${width},height=${height},left=${left},top=${top},screenX=${screenX},screenY=${screenY},scrollbars=yes,resizable=yes`);
5292
+ }, [onClose, onSuccess]);
5166
5293
  // 打开支付窗口
5167
5294
  const openWindow = React.useCallback(() => {
5168
- if (openMode === "window") {
5295
+ if (props?.openMode === exports.OpenPayUrlMode.Window) {
5169
5296
  if (payWindowRef.current && !payWindowRef.current.closed) {
5170
5297
  payWindowRef.current.focus();
5171
5298
  }
5172
5299
  else {
5173
- payWindowRef.current = window.open(payUrl);
5174
- setWindowMonitoring(true);
5300
+ const isMobile = isMobileDevice() || isTouchDevice();
5301
+ const forceNewWindow = props?.forceNewWindow;
5302
+ if (isMobile) {
5303
+ payWindowRef.current = window.open(payUrl);
5304
+ return;
5305
+ }
5306
+ if (forceNewWindow) {
5307
+ payWindowRef.current = createPopupWindow(payUrl);
5308
+ return;
5309
+ }
5310
+ const screenWidth = getScreenWidth() || 0;
5311
+ if (screenWidth >= 768) {
5312
+ payWindowRef.current = createPopupWindow(payUrl);
5313
+ }
5314
+ else {
5315
+ payWindowRef.current = window.open(payUrl);
5316
+ }
5175
5317
  }
5318
+ setWindowMonitoring(true);
5319
+ return;
5176
5320
  }
5177
- else if (openMode === "replace") {
5321
+ if (props?.openMode === exports.OpenPayUrlMode.Replace) {
5178
5322
  window.location.replace(payUrl);
5323
+ return;
5179
5324
  }
5180
- else if (openMode === "href") {
5325
+ if (props?.openMode === exports.OpenPayUrlMode.Href) {
5181
5326
  window.location.href = payUrl;
5182
5327
  }
5183
- }, [payUrl, openMode]);
5328
+ }, [payUrl, props, createPopupWindow]);
5184
5329
  // 关闭窗口
5185
5330
  const closeWindow = React.useCallback(() => {
5186
5331
  payWindowRef.current?.close();
@@ -5194,7 +5339,7 @@
5194
5339
  }, [autoOpen, openWindow]);
5195
5340
  // 轮询和消息监听
5196
5341
  React.useEffect(() => {
5197
- if (!isWindowMonitoring || openMode !== "window") {
5342
+ if (!isWindowMonitoring || props?.openMode !== exports.OpenPayUrlMode.Window) {
5198
5343
  return;
5199
5344
  }
5200
5345
  pollTimerRef.current = setInterval(() => {
@@ -5205,7 +5350,7 @@
5205
5350
  }
5206
5351
  }, 1500);
5207
5352
  function handleMessage(event) {
5208
- if (event.data === "PAYMENT_SUCCESS") {
5353
+ if (event.data === 'PAYMENT_SUCCESS') {
5209
5354
  onSuccess?.();
5210
5355
  onClose?.();
5211
5356
  payWindowRef.current?.close();
@@ -5213,13 +5358,13 @@
5213
5358
  setWindowMonitoring(false);
5214
5359
  }
5215
5360
  }
5216
- window.addEventListener("message", handleMessage);
5361
+ window.addEventListener('message', handleMessage);
5217
5362
  return () => {
5218
5363
  clearInterval(pollTimerRef.current);
5219
- window.removeEventListener("message", handleMessage);
5364
+ window.removeEventListener('message', handleMessage);
5220
5365
  payWindowRef.current?.close();
5221
5366
  };
5222
- }, [isWindowMonitoring, openMode, onClose, onSuccess]);
5367
+ }, [isWindowMonitoring, props, onClose, onSuccess]);
5223
5368
  return {
5224
5369
  openWindow,
5225
5370
  closeWindow,
@@ -5237,7 +5382,7 @@
5237
5382
  };
5238
5383
  const PayMask = (p) => {
5239
5384
  const props = mergeProps(defaultProps$3, p);
5240
- const { visible, payUrl, onClose, onMaskClick, onContinue, openMode, autoOpenWindow, className, destroyOnClose = true, ...rest } = props;
5385
+ const { visible, payUrl, onClose, onMaskClick, onContinue, openMode, autoOpenWindow, forceNewWindow, className, destroyOnClose = true, ...rest } = props;
5241
5386
  const [isWindowMonitoring, setIsWindowMonitoring] = React.useState(false);
5242
5387
  const { openWindow, closeWindow } = usePayWindowOpen({
5243
5388
  payUrl: payUrl || '',
@@ -5247,6 +5392,7 @@
5247
5392
  },
5248
5393
  autoOpen: autoOpenWindow,
5249
5394
  openMode,
5395
+ ...(openMode === exports.OpenPayUrlMode.Window && { forceNewWindow }),
5250
5396
  });
5251
5397
  React.useEffect(() => {
5252
5398
  if (visible && autoOpenWindow) {
@@ -5295,9 +5441,9 @@
5295
5441
  p.tabIndex = props.tabIndex;
5296
5442
  }
5297
5443
  for (const key in props) {
5298
- if (!props.hasOwnProperty(key))
5444
+ if (!Object.prototype.hasOwnProperty.call(props, key))
5299
5445
  continue;
5300
- if (key.startsWith("data-") || key.startsWith("aria-")) {
5446
+ if (key.startsWith('data-') || key.startsWith('aria-')) {
5301
5447
  p[key] = props[key];
5302
5448
  }
5303
5449
  }
@@ -5383,7 +5529,7 @@
5383
5529
  const handlePayCreateOrder = React.useCallback(async () => {
5384
5530
  if (createOrder) {
5385
5531
  // 1. 业务侧创建订单,获取参数
5386
- const { paypalUrl } = await createOrder?.();
5532
+ const { paypalUrl } = await createOrder();
5387
5533
  if (paypalUrl) {
5388
5534
  // 2. 唤起蒙层
5389
5535
  setShowMask(true);
@@ -9248,7 +9394,7 @@
9248
9394
  const handlePayCreateOrder = React.useCallback(async () => {
9249
9395
  if (createOrder) {
9250
9396
  // 1. 业务侧创建订单,获取参数
9251
- const options = await createOrder?.();
9397
+ const options = await createOrder();
9252
9398
  if (options?.clientSecret && options?.stripeKey) {
9253
9399
  // 2. 唤起弹窗
9254
9400
  if (displayType === 'modal') {
@@ -9431,7 +9577,7 @@
9431
9577
  const handlePayCreateOrder = React.useCallback(async () => {
9432
9578
  if (createOrder) {
9433
9579
  // 1. 业务侧创建订单,获取参数
9434
- const options = await createOrder?.();
9580
+ const options = await createOrder();
9435
9581
  if (options) {
9436
9582
  if (props?.payMode === 'embedded') {
9437
9583
  if (props?.displayType === 'modal') {
@@ -9499,7 +9645,7 @@
9499
9645
  const handlePayCreateOrder = React.useCallback(async () => {
9500
9646
  if (createOrder) {
9501
9647
  // 1. 业务侧创建订单,获取参数
9502
- const { payssionUrl } = await createOrder?.();
9648
+ const { payssionUrl } = await createOrder();
9503
9649
  if (payssionUrl) {
9504
9650
  // 2. 唤起蒙层
9505
9651
  setShowMask(true);
@@ -9531,7 +9677,7 @@
9531
9677
  var PayssionButton$1 = React.memo(PayssionButton);
9532
9678
 
9533
9679
  const ConfirmModal = (props) => {
9534
- const { visible, title = '支付确认', desc = (jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [jsxRuntimeExports.jsx("div", { children: "1. \u5982\u679C\u60A8\u5DF2\u5B8C\u6210\u652F\u4ED8\uFF0C\u8BF7\u70B9\u51FB[\u652F\u4ED8\u5B8C\u6210]" }), jsxRuntimeExports.jsx("div", { children: "2. \u5982\u679C\u672A\u652F\u4ED8\u6210\u529F\uFF0C\u53EF\u70B9\u51FB[\u91CD\u65B0\u652F\u4ED8]" })] })), retryButtonProps, finishButtonProps, icon = (jsxRuntimeExports.jsx("span", { role: "img", "aria-label": "success", children: "\u2714\uFE0F" })), showClose = true, maskClosable = false, onClose, payUrl, autoOpenWindow = false, openMode = 'window', } = props;
9680
+ const { visible, title = '支付确认', desc = (jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [jsxRuntimeExports.jsx("div", { children: "1. \u5982\u679C\u60A8\u5DF2\u5B8C\u6210\u652F\u4ED8\uFF0C\u8BF7\u70B9\u51FB[\u652F\u4ED8\u5B8C\u6210]" }), jsxRuntimeExports.jsx("div", { children: "2. \u5982\u679C\u672A\u652F\u4ED8\u6210\u529F\uFF0C\u53EF\u70B9\u51FB[\u91CD\u65B0\u652F\u4ED8]" })] })), retryButtonProps, finishButtonProps, icon = (jsxRuntimeExports.jsx("span", { role: "img", "aria-label": "success", children: "\u2714\uFE0F" })), showClose = true, maskClosable = false, onClose, payUrl, autoOpenWindow = false, openMode = exports.OpenPayUrlMode.Window, forceNewWindow, } = props;
9535
9681
  const { children: retryButtonChildren = '重新支付', ...retryButtonPropsRest } = retryButtonProps || {};
9536
9682
  const { children: finishButtonChildren = '支付完成', ...finishButtonPropsRest } = finishButtonProps || {};
9537
9683
  const { closeWindow } = usePayWindowOpen({
@@ -9539,6 +9685,7 @@
9539
9685
  onClose,
9540
9686
  autoOpen: autoOpenWindow,
9541
9687
  openMode: openMode,
9688
+ ...(openMode === exports.OpenPayUrlMode.Window && { forceNewWindow }),
9542
9689
  });
9543
9690
  const handleClose = React.useCallback(() => {
9544
9691
  onClose?.();
@@ -9593,7 +9740,7 @@
9593
9740
  }, [onClose, displayType]);
9594
9741
  const handlePayCreateOrder = React.useCallback(async () => {
9595
9742
  if (createOrder) {
9596
- const { wechatUrl } = await createOrder?.();
9743
+ const { wechatUrl } = await createOrder();
9597
9744
  if (wechatUrl) {
9598
9745
  handleDisplay();
9599
9746
  setWechatUrl(wechatUrl);
@@ -9697,7 +9844,7 @@
9697
9844
  }, [onClose, displayType]);
9698
9845
  const handlePayCreateOrder = React.useCallback(async () => {
9699
9846
  if (createOrder) {
9700
- const { formHtml } = await createOrder?.();
9847
+ const { formHtml } = await createOrder();
9701
9848
  if (formHtml) {
9702
9849
  handleDisplay();
9703
9850
  setFormHtmlString(formHtml);
@@ -9855,7 +10002,7 @@
9855
10002
  React.useImperativeHandle(ref, () => alipayButtonRef.current);
9856
10003
  const handlePayCreateOrder = React.useCallback(async () => {
9857
10004
  if (createOrder) {
9858
- const options = await createOrder?.();
10005
+ const options = await createOrder();
9859
10006
  if (options) {
9860
10007
  alipayModalRef?.current?.open(options);
9861
10008
  }
@@ -16262,7 +16409,7 @@
16262
16409
  React.useImperativeHandle(ref, () => wechatButtonRef.current);
16263
16410
  const handlePayCreateOrder = React.useCallback(async () => {
16264
16411
  if (createOrder) {
16265
- const options = await createOrder?.();
16412
+ const options = await createOrder();
16266
16413
  wechatModalRef.current?.open(options);
16267
16414
  }
16268
16415
  }, [createOrder]);
@@ -16284,65 +16431,6 @@
16284
16431
  WechatComponent.Button = WechatButton$1;
16285
16432
  WechatComponent.Modal = WechatModal$1;
16286
16433
 
16287
- exports.PaymentMethod = void 0;
16288
- (function (PaymentMethod) {
16289
- /**
16290
- * @zh 微信(pc)
16291
- * @en Wechat(pc)
16292
- */
16293
- PaymentMethod["WechatPc"] = "wechat-pc";
16294
- /**
16295
- * @zh 支付宝(pc)
16296
- * @en Alipay(pc)
16297
- */
16298
- PaymentMethod["AlipayPc"] = "alipay-pc";
16299
- /**
16300
- * @zh paypal(pc)
16301
- * @en Paypal(pc)
16302
- */
16303
- PaymentMethod["PaypalPc"] = "paypal-pc";
16304
- /**
16305
- * @zh stripe(pc)
16306
- * @en Stripe(pc)
16307
- */
16308
- PaymentMethod["StripePc"] = "stripe-pc";
16309
- /**
16310
- * @zh 微信(H5)
16311
- * @en Wechat(H5)
16312
- */
16313
- PaymentMethod["WechatH5"] = "wechat-h5";
16314
- /**
16315
- * @zh 支付宝(H5)
16316
- * @en Alipay(H5)
16317
- */
16318
- PaymentMethod["AlipayH5"] = "alipay-h5";
16319
- /**
16320
- * @zh paypal(H5)
16321
- * @en Paypal(H5)
16322
- */
16323
- PaymentMethod["PaypalH5"] = "paypal-h5";
16324
- /**
16325
- * @zh 微信内部(H5)
16326
- * @en Wechat inside(H5)
16327
- */
16328
- PaymentMethod["WechatInsideH5"] = "wechat-inside-h5";
16329
- /**
16330
- * @zh stripe(H5)
16331
- * @en Stripe(H5)
16332
- */
16333
- PaymentMethod["StripeH5"] = "stripe-h5";
16334
- /**
16335
- * @zh payssion支付
16336
- * @en Payssion
16337
- */
16338
- PaymentMethod["Payssion"] = "payssion";
16339
- /**
16340
- * @zh 空中云汇
16341
- * @en Airwallex
16342
- */
16343
- PaymentMethod["Airwallex"] = "airwallex";
16344
- })(exports.PaymentMethod || (exports.PaymentMethod = {}));
16345
-
16346
16434
  const PayButton = React.forwardRef((props, ref) => {
16347
16435
  if (props.payMethod === exports.PaymentMethod.PaypalH5 ||
16348
16436
  props.payMethod === exports.PaymentMethod.PaypalPc) {