@zonos/elements 1.3.39 → 1.3.40

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 (283) hide show
  1. package/dist/cjs/{cart-c7212410.js → cart-775440b7.js} +240 -7
  2. package/dist/cjs/{getBorderRadius-074b46ef.js → getBorderRadius-9ae7890c.js} +1 -1
  3. package/dist/cjs/{index-b071017b.js → index-ef8b2c76.js} +234 -167
  4. package/dist/cjs/index.cjs.js +10 -4
  5. package/dist/cjs/{isDarkColor-371a3b1a.js → isDarkColor-5f56770b.js} +1 -1
  6. package/dist/cjs/loader.cjs.js +2 -2
  7. package/dist/cjs/paypal-25c84e33.js +461 -0
  8. package/dist/cjs/{submitGtag-7a679d92.js → sendErrorLog-7818b288.js} +2 -19
  9. package/dist/cjs/zonos-address_8.cjs.entry.js +8 -8
  10. package/dist/cjs/zonos-badge_2.cjs.entry.js +2 -2
  11. package/dist/cjs/zonos-banner.cjs.entry.js +2 -2
  12. package/dist/cjs/zonos-button_3.cjs.entry.js +4 -4
  13. package/dist/cjs/zonos-card.cjs.entry.js +3 -3
  14. package/dist/cjs/zonos-cart-items_12.cjs.entry.js +73 -35
  15. package/dist/cjs/zonos-checkout.cjs.entry.js +43 -70
  16. package/dist/cjs/zonos-component.cjs.entry.js +1 -1
  17. package/dist/cjs/zonos-controller.cjs.entry.js +15 -15
  18. package/dist/cjs/zonos-country-flag.cjs.entry.js +5 -5
  19. package/dist/cjs/zonos-country-select_3.cjs.entry.js +5 -5
  20. package/dist/cjs/zonos-elements.cjs.js +3 -3
  21. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +5 -5
  22. package/dist/cjs/zonos-hello.cjs.entry.js +5 -5
  23. package/dist/cjs/zonos-input.cjs.entry.js +3 -3
  24. package/dist/cjs/zonos-language-select_2.cjs.entry.js +5 -5
  25. package/dist/cjs/zonos-link.cjs.entry.js +1 -1
  26. package/dist/cjs/zonos-logo.cjs.entry.js +2 -2
  27. package/dist/cjs/{zonos-notification_2.cjs.entry.js → zonos-notification_3.cjs.entry.js} +59 -7
  28. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +3 -3
  29. package/dist/cjs/zonos-text.cjs.entry.js +2 -2
  30. package/dist/cjs/zonos-v-stack.cjs.entry.js +2 -2
  31. package/dist/cjs/{zonosStore-4c6c85da.js → zonosStore-b6c72408.js} +5 -1
  32. package/dist/collection/__tests__/build-utils/urlCheckOne.js +3 -1
  33. package/dist/collection/collection-manifest.json +2 -1
  34. package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-update-dialog.css +1 -0
  35. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +39 -8
  36. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.css +1 -0
  37. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.css +7 -1
  38. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.js +37 -22
  39. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.css +3 -0
  40. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +30 -60
  41. package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.css +1 -0
  42. package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.css +1 -0
  43. package/dist/collection/components/main/zonos-controller.js +22 -8
  44. package/dist/collection/components/paypal/zonos-paypal-payment.css +37 -0
  45. package/dist/collection/components/paypal/zonos-paypal-payment.js +92 -0
  46. package/dist/collection/components/store/checkout/cart.js +26 -1
  47. package/dist/collection/components/store/checkout/paypal.js +219 -0
  48. package/dist/collection/components/store/checkout/stripe.js +16 -4
  49. package/dist/collection/components/store/translationStore/strings.arabic.js +9 -0
  50. package/dist/collection/components/store/translationStore/strings.base.js +9 -0
  51. package/dist/collection/components/store/translationStore/strings.chinese.js +9 -0
  52. package/dist/collection/components/store/translationStore/strings.danish.js +9 -0
  53. package/dist/collection/components/store/translationStore/strings.dutch.js +9 -0
  54. package/dist/collection/components/store/translationStore/strings.french.js +9 -0
  55. package/dist/collection/components/store/translationStore/strings.german.js +9 -0
  56. package/dist/collection/components/store/translationStore/strings.hebrew.js +9 -0
  57. package/dist/collection/components/store/translationStore/strings.indonesian.js +9 -0
  58. package/dist/collection/components/store/translationStore/strings.italian.js +9 -0
  59. package/dist/collection/components/store/translationStore/strings.japanese.js +9 -0
  60. package/dist/collection/components/store/translationStore/strings.korean.js +9 -0
  61. package/dist/collection/components/store/translationStore/strings.norwegian.js +9 -0
  62. package/dist/collection/components/store/translationStore/strings.polish.js +9 -0
  63. package/dist/collection/components/store/translationStore/strings.portuguese.js +9 -0
  64. package/dist/collection/components/store/translationStore/strings.russian.js +9 -0
  65. package/dist/collection/components/store/translationStore/strings.spanish.js +9 -0
  66. package/dist/collection/components/store/translationStore/strings.swedish.js +9 -0
  67. package/dist/collection/components/store/translationStore/strings.turkish.js +9 -0
  68. package/dist/collection/components/store/translationStore/strings.vietnamese.js +9 -0
  69. package/dist/collection/components/store/zonosStore.js +4 -0
  70. package/dist/collection/components/stripe/zonos-address/zonos-address.js +2 -2
  71. package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +1 -1
  72. package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +2 -3
  73. package/dist/collection/components/utils/api/getZonosSettings.js +3 -3
  74. package/dist/collection/components/utils/api/paypalCaptureOrder.js +8 -0
  75. package/dist/collection/components/utils/api/paypalCreateOrder.js +8 -0
  76. package/dist/collection/components/utils/getContrastColor.js +6 -2
  77. package/dist/collection/components/utils/handleFetch.js +6 -1
  78. package/dist/collection/components/utils/isContrastColor.js +7 -0
  79. package/dist/collection/environment.js +4 -5
  80. package/dist/collection/scripts/_getZonosQaUrl.js +4 -0
  81. package/dist/collection/scripts/_zonosBase.js +2 -0
  82. package/dist/collection/styles/stripe/addressRuleStyle.js +6 -0
  83. package/dist/collection/types/generated/graphql.customer.types.js +35 -0
  84. package/dist/esm/{cart-eb75b113.js → cart-e9cd8286.js} +236 -8
  85. package/dist/esm/{getBorderRadius-947c24de.js → getBorderRadius-3c75c4c1.js} +1 -1
  86. package/dist/esm/{index-3b46f3c3.js → index-5a37ccde.js} +234 -167
  87. package/dist/esm/index.js +10 -4
  88. package/dist/esm/{isDarkColor-f8324c10.js → isDarkColor-3eb31a6d.js} +1 -1
  89. package/dist/esm/loader.js +3 -3
  90. package/dist/esm/paypal-da2b3db1.js +453 -0
  91. package/dist/esm/{submitGtag-0bc0baa0.js → sendErrorLog-2fcf78a2.js} +3 -19
  92. package/dist/esm/zonos-address_8.entry.js +8 -8
  93. package/dist/esm/zonos-badge_2.entry.js +2 -2
  94. package/dist/esm/zonos-banner.entry.js +2 -2
  95. package/dist/esm/zonos-button_3.entry.js +4 -4
  96. package/dist/esm/zonos-card.entry.js +3 -3
  97. package/dist/esm/zonos-cart-items_12.entry.js +60 -22
  98. package/dist/esm/zonos-checkout.entry.js +34 -61
  99. package/dist/esm/zonos-component.entry.js +1 -1
  100. package/dist/esm/zonos-controller.entry.js +15 -15
  101. package/dist/esm/zonos-country-flag.entry.js +5 -5
  102. package/dist/esm/zonos-country-select_3.entry.js +5 -5
  103. package/dist/esm/zonos-elements.js +4 -4
  104. package/dist/esm/zonos-hello-dialog.entry.js +5 -5
  105. package/dist/esm/zonos-hello.entry.js +5 -5
  106. package/dist/esm/zonos-input.entry.js +3 -3
  107. package/dist/esm/zonos-language-select_2.entry.js +5 -5
  108. package/dist/esm/zonos-link.entry.js +1 -1
  109. package/dist/esm/zonos-logo.entry.js +2 -2
  110. package/dist/esm/{zonos-notification_2.entry.js → zonos-notification_3.entry.js} +60 -9
  111. package/dist/esm/zonos-shipping-rich-radio.entry.js +3 -3
  112. package/dist/esm/zonos-text.entry.js +2 -2
  113. package/dist/esm/zonos-v-stack.entry.js +2 -2
  114. package/dist/esm/{zonosStore-ba9e541e.js → zonosStore-425abc1b.js} +5 -1
  115. package/dist/esm-es5/cart-e9cd8286.js +1 -0
  116. package/dist/esm-es5/{getBorderRadius-947c24de.js → getBorderRadius-3c75c4c1.js} +1 -1
  117. package/dist/esm-es5/index-5a37ccde.js +2 -0
  118. package/dist/esm-es5/index.js +1 -1
  119. package/dist/esm-es5/{isDarkColor-f8324c10.js → isDarkColor-3eb31a6d.js} +1 -1
  120. package/dist/esm-es5/loader.js +1 -1
  121. package/dist/esm-es5/paypal-da2b3db1.js +17 -0
  122. package/dist/esm-es5/sendErrorLog-2fcf78a2.js +1 -0
  123. package/dist/esm-es5/zonos-address_8.entry.js +1 -1
  124. package/dist/esm-es5/zonos-badge_2.entry.js +1 -1
  125. package/dist/esm-es5/zonos-banner.entry.js +1 -1
  126. package/dist/esm-es5/zonos-button_3.entry.js +1 -1
  127. package/dist/esm-es5/zonos-card.entry.js +1 -1
  128. package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
  129. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  130. package/dist/esm-es5/zonos-component.entry.js +1 -1
  131. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  132. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  133. package/dist/esm-es5/zonos-country-select_3.entry.js +1 -1
  134. package/dist/esm-es5/zonos-elements.js +1 -1
  135. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  136. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  137. package/dist/esm-es5/zonos-input.entry.js +1 -1
  138. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  139. package/dist/esm-es5/zonos-link.entry.js +1 -1
  140. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  141. package/dist/esm-es5/zonos-notification_3.entry.js +1 -0
  142. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
  143. package/dist/esm-es5/zonos-text.entry.js +1 -1
  144. package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
  145. package/dist/esm-es5/{zonosStore-ba9e541e.js → zonosStore-425abc1b.js} +1 -1
  146. package/dist/scripts/index.d.ts +91 -6
  147. package/dist/scripts/index.js +1 -1
  148. package/dist/scripts/loadZonos.js +1 -1
  149. package/dist/scripts/zonos.js +1 -1
  150. package/dist/types/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.d.ts +2 -1
  151. package/dist/types/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.d.ts +8 -4
  152. package/dist/types/components/checkout/zonos-checkout/zonos-checkout.d.ts +1 -20
  153. package/dist/types/components/main/zonos-controller.d.ts +6 -0
  154. package/dist/types/components/paypal/zonos-paypal-payment.d.ts +17 -0
  155. package/dist/types/components/store/checkout/cart.d.ts +19 -1
  156. package/dist/types/components/store/checkout/paypal.d.ts +28 -0
  157. package/dist/types/components/store/checkout/stripe.d.ts +10 -1
  158. package/dist/types/components/store/translationStore/strings.arabic.d.ts +9 -0
  159. package/dist/types/components/store/translationStore/strings.base.d.ts +9 -0
  160. package/dist/types/components/store/translationStore/strings.chinese.d.ts +9 -0
  161. package/dist/types/components/store/translationStore/strings.danish.d.ts +9 -0
  162. package/dist/types/components/store/translationStore/strings.dutch.d.ts +9 -0
  163. package/dist/types/components/store/translationStore/strings.french.d.ts +9 -0
  164. package/dist/types/components/store/translationStore/strings.german.d.ts +9 -0
  165. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +9 -0
  166. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +9 -0
  167. package/dist/types/components/store/translationStore/strings.italian.d.ts +9 -0
  168. package/dist/types/components/store/translationStore/strings.japanese.d.ts +9 -0
  169. package/dist/types/components/store/translationStore/strings.korean.d.ts +9 -0
  170. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +9 -0
  171. package/dist/types/components/store/translationStore/strings.polish.d.ts +9 -0
  172. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +9 -0
  173. package/dist/types/components/store/translationStore/strings.russian.d.ts +9 -0
  174. package/dist/types/components/store/translationStore/strings.spanish.d.ts +9 -0
  175. package/dist/types/components/store/translationStore/strings.swedish.d.ts +9 -0
  176. package/dist/types/components/store/translationStore/strings.turkish.d.ts +9 -0
  177. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +9 -0
  178. package/dist/types/components/store/translationStore.d.ts +1 -1
  179. package/dist/types/components/store/zonosStore.d.ts +4 -0
  180. package/dist/types/components/utils/api/getZonosSettings.d.ts +2 -0
  181. package/dist/types/components/utils/api/paypalCaptureOrder.d.ts +10 -0
  182. package/dist/types/components/utils/api/paypalCreateOrder.d.ts +9 -0
  183. package/dist/types/components/utils/handleFetch.d.ts +4 -0
  184. package/dist/types/components/utils/isContrastColor.d.ts +4 -0
  185. package/dist/types/components.d.ts +50 -6
  186. package/dist/types/scripts/_zonosBase.d.ts +9 -1
  187. package/dist/types/stencil-public-runtime.d.ts +3 -10
  188. package/dist/types/types/checkout/CheckoutConfig.d.ts +14 -1
  189. package/dist/types/types/generated/graphql.customer.types.d.ts +71 -11
  190. package/dist/types/types/generated/graphql.customer.types.ts +103 -11
  191. package/dist/zonos-elements/assets/RemoveIcon.svg +1 -1
  192. package/dist/zonos-elements/index.esm.js +1 -1
  193. package/dist/zonos-elements/{p-ed333de6.system.entry.js → p-01bd2187.system.entry.js} +1 -1
  194. package/dist/zonos-elements/{p-f06bb776.system.entry.js → p-14b53e8f.system.entry.js} +1 -1
  195. package/dist/zonos-elements/p-15ecad81.entry.js +1 -0
  196. package/dist/zonos-elements/p-1b499bcc.system.js +1 -0
  197. package/dist/zonos-elements/{p-d2992457.system.entry.js → p-1daa3b1e.system.entry.js} +1 -1
  198. package/dist/zonos-elements/{p-085548f2.entry.js → p-1debb7b2.entry.js} +1 -1
  199. package/dist/zonos-elements/{p-9de374a7.system.entry.js → p-2bfb5e4b.system.entry.js} +1 -1
  200. package/dist/zonos-elements/{p-01304a58.system.entry.js → p-2c03ac78.system.entry.js} +1 -1
  201. package/dist/zonos-elements/p-3447ef24.system.js +17 -0
  202. package/dist/zonos-elements/{p-699a5376.entry.js → p-3496183d.entry.js} +1 -1
  203. package/dist/zonos-elements/{p-59f37de3.entry.js → p-36df9785.entry.js} +1 -1
  204. package/dist/zonos-elements/p-3996d025.system.js +1 -0
  205. package/dist/zonos-elements/p-3b6a7200.entry.js +1 -0
  206. package/dist/zonos-elements/p-3d98f422.system.entry.js +1 -0
  207. package/dist/zonos-elements/{p-31b3d26b.js → p-3da1bc42.js} +1 -1
  208. package/dist/zonos-elements/{p-a21ec316.system.entry.js → p-445fb353.system.entry.js} +1 -1
  209. package/dist/zonos-elements/{p-3541e6dd.entry.js → p-54101ed6.entry.js} +1 -1
  210. package/dist/zonos-elements/p-54971a77.system.js +1 -0
  211. package/dist/zonos-elements/{p-c0fcc0fa.system.entry.js → p-5a5d1a12.system.entry.js} +1 -1
  212. package/dist/zonos-elements/{p-c21802e9.entry.js → p-5e55dcbc.entry.js} +1 -1
  213. package/dist/zonos-elements/{p-71882ac9.system.entry.js → p-5f68f356.system.entry.js} +1 -1
  214. package/dist/zonos-elements/{p-73ba4398.system.entry.js → p-61842b4f.system.entry.js} +1 -1
  215. package/dist/zonos-elements/{p-3523c3b4.entry.js → p-657be9e9.entry.js} +1 -1
  216. package/dist/zonos-elements/p-6897be29.entry.js +1 -0
  217. package/dist/zonos-elements/{p-3f5e2e5c.system.entry.js → p-6f39051c.system.entry.js} +1 -1
  218. package/dist/zonos-elements/{p-966ab4e7.system.entry.js → p-70b024ad.system.entry.js} +1 -1
  219. package/dist/zonos-elements/{p-22882fd6.entry.js → p-71037fe5.entry.js} +1 -1
  220. package/dist/zonos-elements/p-7dd54a63.entry.js +1 -0
  221. package/dist/zonos-elements/{p-e3c014ae.entry.js → p-7f96d3b4.entry.js} +1 -1
  222. package/dist/zonos-elements/p-800db524.system.js +1 -0
  223. package/dist/zonos-elements/{p-9a1c0d02.js → p-890f5788.js} +1 -1
  224. package/dist/zonos-elements/{p-62ed4236.entry.js → p-8d149b99.entry.js} +1 -1
  225. package/dist/zonos-elements/p-916adba7.entry.js +1 -0
  226. package/dist/zonos-elements/{p-5821856c.js → p-92bebe7a.js} +1 -1
  227. package/dist/zonos-elements/p-94279862.system.js +1 -0
  228. package/dist/zonos-elements/{p-b903af96.system.entry.js → p-97dadd90.system.entry.js} +1 -1
  229. package/dist/zonos-elements/{p-e37440ad.system.js → p-b2007124.system.js} +1 -1
  230. package/dist/zonos-elements/p-b55b557a.system.js +2 -0
  231. package/dist/zonos-elements/{p-18b28104.entry.js → p-bfa5ec2b.entry.js} +1 -1
  232. package/dist/zonos-elements/p-c55a5fe4.system.entry.js +1 -0
  233. package/dist/zonos-elements/p-c5a5512a.system.entry.js +1 -0
  234. package/dist/zonos-elements/p-c87113fb.system.entry.js +1 -0
  235. package/dist/zonos-elements/p-ca58f16e.system.entry.js +1 -0
  236. package/dist/zonos-elements/{p-6c3390b7.entry.js → p-d46fa40a.entry.js} +1 -1
  237. package/dist/zonos-elements/p-d6135575.js +1 -0
  238. package/dist/zonos-elements/p-d95cb86a.system.js +1 -0
  239. package/dist/zonos-elements/{p-d8c1eb99.entry.js → p-d9d5ee2f.entry.js} +1 -1
  240. package/dist/zonos-elements/{p-2a45c837.system.entry.js → p-da15b587.system.entry.js} +1 -1
  241. package/dist/zonos-elements/{p-8acdf43b.system.entry.js → p-dc6a17fe.system.entry.js} +1 -1
  242. package/dist/zonos-elements/p-dd61b7a0.js +2 -0
  243. package/dist/zonos-elements/p-e252d86f.entry.js +1 -0
  244. package/dist/zonos-elements/{p-da2e5289.system.entry.js → p-e6efc2e1.system.entry.js} +1 -1
  245. package/dist/zonos-elements/{p-63a27875.entry.js → p-efdc7748.entry.js} +1 -1
  246. package/dist/zonos-elements/{p-2aa72606.entry.js → p-f643035f.entry.js} +1 -1
  247. package/dist/zonos-elements/p-f98f7066.js +17 -0
  248. package/dist/zonos-elements/{p-9d29f3f4.system.entry.js → p-fa02dd07.system.entry.js} +1 -1
  249. package/dist/zonos-elements/{p-c3619b3d.entry.js → p-fa95c3dc.entry.js} +1 -1
  250. package/dist/zonos-elements/p-fb63bd03.js +1 -0
  251. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  252. package/dist/zonos-elements/zonos-elements.js +1 -1
  253. package/loader/cdn.js +1 -2
  254. package/loader/index.cjs.js +1 -2
  255. package/loader/index.d.ts +3 -0
  256. package/loader/index.es2017.js +1 -2
  257. package/loader/index.js +1 -2
  258. package/package.json +12 -11
  259. package/dist/esm-es5/cart-eb75b113.js +0 -1
  260. package/dist/esm-es5/index-3b46f3c3.js +0 -2
  261. package/dist/esm-es5/submitGtag-0bc0baa0.js +0 -1
  262. package/dist/esm-es5/zonos-notification_2.entry.js +0 -1
  263. package/dist/zonos-elements/p-02405211.system.entry.js +0 -1
  264. package/dist/zonos-elements/p-0b538ed4.system.js +0 -1
  265. package/dist/zonos-elements/p-357322ea.system.entry.js +0 -1
  266. package/dist/zonos-elements/p-53acc999.js +0 -1
  267. package/dist/zonos-elements/p-548ac127.entry.js +0 -1
  268. package/dist/zonos-elements/p-5609876a.system.entry.js +0 -1
  269. package/dist/zonos-elements/p-6f9448bb.entry.js +0 -1
  270. package/dist/zonos-elements/p-70262120.system.js +0 -1
  271. package/dist/zonos-elements/p-878293fe.js +0 -1
  272. package/dist/zonos-elements/p-97d74f84.system.js +0 -1
  273. package/dist/zonos-elements/p-a393c1db.system.entry.js +0 -1
  274. package/dist/zonos-elements/p-a8b934c2.entry.js +0 -1
  275. package/dist/zonos-elements/p-a8cb25de.system.js +0 -1
  276. package/dist/zonos-elements/p-abe8ea12.system.js +0 -1
  277. package/dist/zonos-elements/p-ae04d3ff.entry.js +0 -1
  278. package/dist/zonos-elements/p-b684f8aa.system.entry.js +0 -1
  279. package/dist/zonos-elements/p-ce347974.js +0 -2
  280. package/dist/zonos-elements/p-d99232c5.system.js +0 -2
  281. package/dist/zonos-elements/p-e0bf9666.system.js +0 -1
  282. package/dist/zonos-elements/p-e1db1bc9.entry.js +0 -1
  283. package/dist/zonos-elements/p-e74ca4bc.entry.js +0 -1
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- const zonosStore = require('./zonosStore-4c6c85da.js');
3
+ const zonosStore = require('./zonosStore-b6c72408.js');
4
4
  const logError = require('./logError-4e2f2020.js');
5
- const isDarkColor = require('./isDarkColor-371a3b1a.js');
6
- const getBorderRadius = require('./getBorderRadius-074b46ef.js');
5
+ const isDarkColor = require('./isDarkColor-5f56770b.js');
6
+ const getBorderRadius = require('./getBorderRadius-9ae7890c.js');
7
7
 
8
8
  const stringsArabic = {
9
9
  'Above de minimis threshold for': {
@@ -18,6 +18,9 @@ const stringsArabic = {
18
18
  'Address line 2': {
19
19
  value: 'سطر العنوان 2',
20
20
  },
21
+ 'An unexpected error occurred when processing PayPal order.': {
22
+ value: 'حدث خطأ غير متوقع عند معالجة طلب PayPal.',
23
+ },
21
24
  'Are you sure?': {
22
25
  value: 'هل أنت متأكد؟',
23
26
  },
@@ -99,6 +102,9 @@ const stringsArabic = {
99
102
  'Expected delivery': {
100
103
  value: 'التوصيل المتوقع',
101
104
  },
105
+ 'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
106
+ value: 'فشل في إنشاء طلب PayPal. يرجى المحاولة مرة أخرى، أو النظر في استخدام طريقة بديلة.',
107
+ },
102
108
  Failure: {
103
109
  value: 'فشل',
104
110
  },
@@ -324,6 +330,9 @@ const stringsArabic = {
324
330
  'click to learn more': {
325
331
  value: 'انقر لمعرفة المزيد',
326
332
  },
333
+ or: {
334
+ value: 'أو',
335
+ },
327
336
  'restricted items': {
328
337
  value: 'عناصر مقيدة',
329
338
  },
@@ -342,6 +351,9 @@ const stringsBase = {
342
351
  'Address line 2': {
343
352
  value: 'Address line 2',
344
353
  },
354
+ 'An unexpected error occurred when processing PayPal order.': {
355
+ value: 'An unexpected error occurred when processing PayPal order.',
356
+ },
345
357
  'Are you sure?': {
346
358
  value: 'Are you sure?',
347
359
  },
@@ -423,6 +435,9 @@ const stringsBase = {
423
435
  'Expected delivery': {
424
436
  value: 'Expected delivery',
425
437
  },
438
+ 'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
439
+ value: 'Failed to create PayPal order. Please try again, or consider using an alternative method.',
440
+ },
426
441
  Failure: {
427
442
  value: 'Failure',
428
443
  },
@@ -648,6 +663,9 @@ const stringsBase = {
648
663
  'click to learn more': {
649
664
  value: 'click to learn more',
650
665
  },
666
+ or: {
667
+ value: 'or',
668
+ },
651
669
  'restricted items': {
652
670
  value: 'restricted items',
653
671
  },
@@ -666,6 +684,9 @@ const stringsChinese = {
666
684
  'Address line 2': {
667
685
  value: '地址行2',
668
686
  },
687
+ 'An unexpected error occurred when processing PayPal order.': {
688
+ value: '处理PayPal订单时发生意外错误。',
689
+ },
669
690
  'Are you sure?': {
670
691
  value: '你确定吗?',
671
692
  },
@@ -747,6 +768,9 @@ const stringsChinese = {
747
768
  'Expected delivery': {
748
769
  value: '预计送达',
749
770
  },
771
+ 'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
772
+ value: '创建PayPal订单失败。请重试,或考虑使用其他方法。',
773
+ },
750
774
  Failure: {
751
775
  value: '失败',
752
776
  },
@@ -972,6 +996,9 @@ const stringsChinese = {
972
996
  'click to learn more': {
973
997
  value: '点击了解更多',
974
998
  },
999
+ or: {
1000
+ value: '或',
1001
+ },
975
1002
  'restricted items': {
976
1003
  value: '限制物品',
977
1004
  },
@@ -990,6 +1017,9 @@ const stringsDanish = {
990
1017
  'Address line 2': {
991
1018
  value: 'Adresse linje 2',
992
1019
  },
1020
+ 'An unexpected error occurred when processing PayPal order.': {
1021
+ value: 'Der opstod en uventet fejl ved behandling af PayPal-ordren.',
1022
+ },
993
1023
  'Are you sure?': {
994
1024
  value: 'Er du sikker?',
995
1025
  },
@@ -1071,6 +1101,9 @@ const stringsDanish = {
1071
1101
  'Expected delivery': {
1072
1102
  value: 'Forventet levering',
1073
1103
  },
1104
+ 'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
1105
+ value: 'Kunne ikke oprette PayPal-ordre. Prøv venligst igen, eller overvej at bruge en alternativ metode.',
1106
+ },
1074
1107
  Failure: {
1075
1108
  value: 'Fiasko',
1076
1109
  },
@@ -1296,6 +1329,9 @@ const stringsDanish = {
1296
1329
  'click to learn more': {
1297
1330
  value: 'klik for at lære mere',
1298
1331
  },
1332
+ or: {
1333
+ value: 'eller',
1334
+ },
1299
1335
  'restricted items': {
1300
1336
  value: 'begrænsede genstande',
1301
1337
  },
@@ -1314,6 +1350,9 @@ const stringsDutch = {
1314
1350
  'Address line 2': {
1315
1351
  value: 'Adreslijn 2',
1316
1352
  },
1353
+ 'An unexpected error occurred when processing PayPal order.': {
1354
+ value: 'Er is een onverwachte fout opgetreden bij het verwerken van de PayPal-bestelling.',
1355
+ },
1317
1356
  'Are you sure?': {
1318
1357
  value: 'Weet je het zeker?',
1319
1358
  },
@@ -1395,6 +1434,9 @@ const stringsDutch = {
1395
1434
  'Expected delivery': {
1396
1435
  value: 'Verwachte levering',
1397
1436
  },
1437
+ 'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
1438
+ value: 'Het aanmaken van de PayPal-bestelling is mislukt. Probeer het opnieuw of overweeg een alternatieve methode te gebruiken.',
1439
+ },
1398
1440
  Failure: {
1399
1441
  value: 'Mislukking',
1400
1442
  },
@@ -1620,6 +1662,9 @@ const stringsDutch = {
1620
1662
  'click to learn more': {
1621
1663
  value: 'klik om meer te leren',
1622
1664
  },
1665
+ or: {
1666
+ value: 'of',
1667
+ },
1623
1668
  'restricted items': {
1624
1669
  value: 'beperkte items',
1625
1670
  },
@@ -1638,6 +1683,9 @@ const stringsFrench = {
1638
1683
  'Address line 2': {
1639
1684
  value: 'Adresse ligne 2',
1640
1685
  },
1686
+ 'An unexpected error occurred when processing PayPal order.': {
1687
+ value: "Une erreur inattendue s'est produite lors du traitement de la commande PayPal.",
1688
+ },
1641
1689
  'Are you sure?': {
1642
1690
  value: 'Es-tu sûr?',
1643
1691
  },
@@ -1719,6 +1767,9 @@ const stringsFrench = {
1719
1767
  'Expected delivery': {
1720
1768
  value: 'Livraison prévue',
1721
1769
  },
1770
+ 'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
1771
+ value: "Échec de la création de la commande PayPal. Veuillez réessayer ou envisager d'utiliser une méthode alternative.",
1772
+ },
1722
1773
  Failure: {
1723
1774
  value: 'Échec',
1724
1775
  },
@@ -1944,6 +1995,9 @@ const stringsFrench = {
1944
1995
  'click to learn more': {
1945
1996
  value: 'cliquez pour en savoir plus',
1946
1997
  },
1998
+ or: {
1999
+ value: 'ou',
2000
+ },
1947
2001
  'restricted items': {
1948
2002
  value: 'articles restreints',
1949
2003
  },
@@ -1962,6 +2016,9 @@ const stringsGerman = {
1962
2016
  'Address line 2': {
1963
2017
  value: 'Adresszeile 2',
1964
2018
  },
2019
+ 'An unexpected error occurred when processing PayPal order.': {
2020
+ value: 'Beim Verarbeiten der PayPal-Bestellung ist ein unerwarteter Fehler aufgetreten.',
2021
+ },
1965
2022
  'Are you sure?': {
1966
2023
  value: 'Bist du sicher?',
1967
2024
  },
@@ -2043,6 +2100,9 @@ const stringsGerman = {
2043
2100
  'Expected delivery': {
2044
2101
  value: 'Voraussichtliche Lieferung',
2045
2102
  },
2103
+ 'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
2104
+ value: 'Fehler beim Erstellen der PayPal-Bestellung. Bitte versuchen Sie es erneut oder erwägen Sie die Verwendung einer alternativen Methode.',
2105
+ },
2046
2106
  Failure: {
2047
2107
  value: 'Misserfolg',
2048
2108
  },
@@ -2268,6 +2328,9 @@ const stringsGerman = {
2268
2328
  'click to learn more': {
2269
2329
  value: 'Klicken, um mehr zu erfahren',
2270
2330
  },
2331
+ or: {
2332
+ value: 'oder',
2333
+ },
2271
2334
  'restricted items': {
2272
2335
  value: 'eingeschränkte Artikel',
2273
2336
  },
@@ -2286,6 +2349,9 @@ const stringsHebrew = {
2286
2349
  'Address line 2': {
2287
2350
  value: 'כתובת שורה 2',
2288
2351
  },
2352
+ 'An unexpected error occurred when processing PayPal order.': {
2353
+ value: 'אירעה שגיאה בלתי צפויה בעת עיבוד הזמנת PayPal.',
2354
+ },
2289
2355
  'Are you sure?': {
2290
2356
  value: 'אתה בטוח?',
2291
2357
  },
@@ -2367,6 +2433,9 @@ const stringsHebrew = {
2367
2433
  'Expected delivery': {
2368
2434
  value: 'אספקה צפויה',
2369
2435
  },
2436
+ 'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
2437
+ value: 'נכשל ביצירת הזמנת PayPal. אנא נסה שוב, או שקול להשתמש בשיטה חלופית.',
2438
+ },
2370
2439
  Failure: {
2371
2440
  value: 'כישלון',
2372
2441
  },
@@ -2592,6 +2661,9 @@ const stringsHebrew = {
2592
2661
  'click to learn more': {
2593
2662
  value: 'לחץ למידע נוסף',
2594
2663
  },
2664
+ or: {
2665
+ value: 'או',
2666
+ },
2595
2667
  'restricted items': {
2596
2668
  value: 'פריטים מוגבלים',
2597
2669
  },
@@ -2610,6 +2682,9 @@ const stringsIndonesian = {
2610
2682
  'Address line 2': {
2611
2683
  value: 'Baris alamat 2',
2612
2684
  },
2685
+ 'An unexpected error occurred when processing PayPal order.': {
2686
+ value: 'Terjadi kesalahan tak terduga saat memproses pesanan PayPal.',
2687
+ },
2613
2688
  'Are you sure?': {
2614
2689
  value: 'Apakah Anda yakin?',
2615
2690
  },
@@ -2691,6 +2766,9 @@ const stringsIndonesian = {
2691
2766
  'Expected delivery': {
2692
2767
  value: 'Perkiraan pengiriman',
2693
2768
  },
2769
+ 'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
2770
+ value: 'Gagal membuat pesanan PayPal. Silakan coba lagi, atau pertimbangkan menggunakan metode alternatif.',
2771
+ },
2694
2772
  Failure: {
2695
2773
  value: 'Kegagalan',
2696
2774
  },
@@ -2916,6 +2994,9 @@ const stringsIndonesian = {
2916
2994
  'click to learn more': {
2917
2995
  value: 'klik untuk belajar lebih lanjut',
2918
2996
  },
2997
+ or: {
2998
+ value: 'atau',
2999
+ },
2919
3000
  'restricted items': {
2920
3001
  value: 'barang terbatas',
2921
3002
  },
@@ -2934,6 +3015,9 @@ const stringsItalian = {
2934
3015
  'Address line 2': {
2935
3016
  value: 'Indirizzo linea 2',
2936
3017
  },
3018
+ 'An unexpected error occurred when processing PayPal order.': {
3019
+ value: "Si è verificato un errore imprevisto durante l'elaborazione dell'ordine PayPal.",
3020
+ },
2937
3021
  'Are you sure?': {
2938
3022
  value: 'Sei sicuro?',
2939
3023
  },
@@ -3015,6 +3099,9 @@ const stringsItalian = {
3015
3099
  'Expected delivery': {
3016
3100
  value: 'Consegna prevista',
3017
3101
  },
3102
+ 'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
3103
+ value: "Impossibile creare l'ordine PayPal. Per favore, riprova o considera l'uso di un metodo alternativo.",
3104
+ },
3018
3105
  Failure: {
3019
3106
  value: 'Fallimento',
3020
3107
  },
@@ -3240,6 +3327,9 @@ const stringsItalian = {
3240
3327
  'click to learn more': {
3241
3328
  value: 'clicca per saperne di più',
3242
3329
  },
3330
+ or: {
3331
+ value: 'o',
3332
+ },
3243
3333
  'restricted items': {
3244
3334
  value: 'articoli limitati',
3245
3335
  },
@@ -3258,6 +3348,9 @@ const stringsJapanese = {
3258
3348
  'Address line 2': {
3259
3349
  value: '住所2',
3260
3350
  },
3351
+ 'An unexpected error occurred when processing PayPal order.': {
3352
+ value: 'PayPal注文の処理中に予期しないエラーが発生しました。',
3353
+ },
3261
3354
  'Are you sure?': {
3262
3355
  value: '本気ですか?',
3263
3356
  },
@@ -3339,6 +3432,9 @@ const stringsJapanese = {
3339
3432
  'Expected delivery': {
3340
3433
  value: '配送予定日',
3341
3434
  },
3435
+ 'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
3436
+ value: 'PayPal注文の作成に失敗しました。もう一度お試しになるか、別の方法を検討してください。',
3437
+ },
3342
3438
  Failure: {
3343
3439
  value: '失敗',
3344
3440
  },
@@ -3564,6 +3660,9 @@ const stringsJapanese = {
3564
3660
  'click to learn more': {
3565
3661
  value: '詳細を知るにはクリック',
3566
3662
  },
3663
+ or: {
3664
+ value: 'または',
3665
+ },
3567
3666
  'restricted items': {
3568
3667
  value: '制限された項目',
3569
3668
  },
@@ -3582,6 +3681,9 @@ const stringsKorean = {
3582
3681
  'Address line 2': {
3583
3682
  value: '주소 2',
3584
3683
  },
3684
+ 'An unexpected error occurred when processing PayPal order.': {
3685
+ value: 'PayPal 주문을 처리하는 중에 예기치 않은 오류가 발생했습니다.',
3686
+ },
3585
3687
  'Are you sure?': {
3586
3688
  value: '확실합니까?',
3587
3689
  },
@@ -3663,6 +3765,9 @@ const stringsKorean = {
3663
3765
  'Expected delivery': {
3664
3766
  value: '예상 배송일',
3665
3767
  },
3768
+ 'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
3769
+ value: 'PayPal 주문 생성에 실패했습니다. 다시 시도하거나 대체 방법을 고려하십시오.',
3770
+ },
3666
3771
  Failure: {
3667
3772
  value: '실패',
3668
3773
  },
@@ -3888,6 +3993,9 @@ const stringsKorean = {
3888
3993
  'click to learn more': {
3889
3994
  value: '자세히 알아보려면 클릭',
3890
3995
  },
3996
+ or: {
3997
+ value: '또는',
3998
+ },
3891
3999
  'restricted items': {
3892
4000
  value: '제한된 항목',
3893
4001
  },
@@ -3906,6 +4014,9 @@ const stringsNorwegian = {
3906
4014
  'Address line 2': {
3907
4015
  value: 'Adresselinje 2',
3908
4016
  },
4017
+ 'An unexpected error occurred when processing PayPal order.': {
4018
+ value: 'En uventet feil oppstod ved behandling av PayPal-bestillingen.',
4019
+ },
3909
4020
  'Are you sure?': {
3910
4021
  value: 'Er du sikker?',
3911
4022
  },
@@ -3987,6 +4098,9 @@ const stringsNorwegian = {
3987
4098
  'Expected delivery': {
3988
4099
  value: 'Forventet levering',
3989
4100
  },
4101
+ 'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
4102
+ value: 'Kunne ikke opprette PayPal-bestilling. Vennligst prøv igjen, eller vurder å bruke en alternativ metode.',
4103
+ },
3990
4104
  Failure: {
3991
4105
  value: 'Feil',
3992
4106
  },
@@ -4212,6 +4326,9 @@ const stringsNorwegian = {
4212
4326
  'click to learn more': {
4213
4327
  value: 'klikk for å lære mer',
4214
4328
  },
4329
+ or: {
4330
+ value: 'eller',
4331
+ },
4215
4332
  'restricted items': {
4216
4333
  value: 'begrensede elementer',
4217
4334
  },
@@ -4230,6 +4347,9 @@ const stringsPolish = {
4230
4347
  'Address line 2': {
4231
4348
  value: 'Linia adresowa 2',
4232
4349
  },
4350
+ 'An unexpected error occurred when processing PayPal order.': {
4351
+ value: 'Wystąpił nieoczekiwany błąd podczas przetwarzania zamówienia PayPal.',
4352
+ },
4233
4353
  'Are you sure?': {
4234
4354
  value: 'Jesteś pewien?',
4235
4355
  },
@@ -4311,6 +4431,9 @@ const stringsPolish = {
4311
4431
  'Expected delivery': {
4312
4432
  value: 'Przewidywana dostawa',
4313
4433
  },
4434
+ 'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
4435
+ value: 'Nie udało się utworzyć zamówienia PayPal. Proszę spróbować ponownie lub rozważyć użycie innej metody.',
4436
+ },
4314
4437
  Failure: {
4315
4438
  value: 'Niepowodzenie',
4316
4439
  },
@@ -4536,6 +4659,9 @@ const stringsPolish = {
4536
4659
  'click to learn more': {
4537
4660
  value: 'kliknij, aby dowiedzieć się więcej',
4538
4661
  },
4662
+ or: {
4663
+ value: 'lub',
4664
+ },
4539
4665
  'restricted items': {
4540
4666
  value: 'przedmioty ograniczone',
4541
4667
  },
@@ -4554,6 +4680,9 @@ const stringsPortuguese = {
4554
4680
  'Address line 2': {
4555
4681
  value: 'Endereço linha 2',
4556
4682
  },
4683
+ 'An unexpected error occurred when processing PayPal order.': {
4684
+ value: 'Ocorreu um erro inesperado ao processar o pedido do PayPal.',
4685
+ },
4557
4686
  'Are you sure?': {
4558
4687
  value: 'Você tem certeza?',
4559
4688
  },
@@ -4635,6 +4764,9 @@ const stringsPortuguese = {
4635
4764
  'Expected delivery': {
4636
4765
  value: 'Entrega prevista',
4637
4766
  },
4767
+ 'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
4768
+ value: 'Falha ao criar o pedido do PayPal. Por favor, tente novamente ou considere usar um método alternativo.',
4769
+ },
4638
4770
  Failure: {
4639
4771
  value: 'Falha',
4640
4772
  },
@@ -4860,6 +4992,9 @@ const stringsPortuguese = {
4860
4992
  'click to learn more': {
4861
4993
  value: 'clique para saber mais',
4862
4994
  },
4995
+ or: {
4996
+ value: 'ou',
4997
+ },
4863
4998
  'restricted items': {
4864
4999
  value: 'itens restritos',
4865
5000
  },
@@ -4878,6 +5013,9 @@ const stringsRussian = {
4878
5013
  'Address line 2': {
4879
5014
  value: 'Адресная строка 2',
4880
5015
  },
5016
+ 'An unexpected error occurred when processing PayPal order.': {
5017
+ value: 'Произошла непредвиденная ошибка при обработке заказа PayPal.',
5018
+ },
4881
5019
  'Are you sure?': {
4882
5020
  value: 'Вы уверены?',
4883
5021
  },
@@ -4959,6 +5097,9 @@ const stringsRussian = {
4959
5097
  'Expected delivery': {
4960
5098
  value: 'Ожидаемая доставка',
4961
5099
  },
5100
+ 'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
5101
+ value: 'Не удалось создать заказ PayPal. Пожалуйста, попробуйте снова или рассмотрите возможность использования альтернативного метода.',
5102
+ },
4962
5103
  Failure: {
4963
5104
  value: 'Неудача',
4964
5105
  },
@@ -5184,6 +5325,9 @@ const stringsRussian = {
5184
5325
  'click to learn more': {
5185
5326
  value: 'нажмите, чтобы узнать больше',
5186
5327
  },
5328
+ or: {
5329
+ value: 'или',
5330
+ },
5187
5331
  'restricted items': {
5188
5332
  value: 'ограниченные предметы',
5189
5333
  },
@@ -5202,6 +5346,9 @@ const stringsSpanish = {
5202
5346
  'Address line 2': {
5203
5347
  value: 'Línea de dirección 2',
5204
5348
  },
5349
+ 'An unexpected error occurred when processing PayPal order.': {
5350
+ value: 'Se produjo un error inesperado al procesar el pedido de PayPal.',
5351
+ },
5205
5352
  'Are you sure?': {
5206
5353
  value: '¿Estás seguro?',
5207
5354
  },
@@ -5283,6 +5430,9 @@ const stringsSpanish = {
5283
5430
  'Expected delivery': {
5284
5431
  value: 'Entrega esperada',
5285
5432
  },
5433
+ 'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
5434
+ value: 'No se pudo crear el pedido de PayPal. Por favor, inténtelo de nuevo o considere usar un método alternativo.',
5435
+ },
5286
5436
  Failure: {
5287
5437
  value: 'Fracaso',
5288
5438
  },
@@ -5508,6 +5658,9 @@ const stringsSpanish = {
5508
5658
  'click to learn more': {
5509
5659
  value: 'haga clic para obtener más información',
5510
5660
  },
5661
+ or: {
5662
+ value: 'o',
5663
+ },
5511
5664
  'restricted items': {
5512
5665
  value: 'artículos restringidos',
5513
5666
  },
@@ -5526,6 +5679,9 @@ const stringsSwedish = {
5526
5679
  'Address line 2': {
5527
5680
  value: 'Adressrad 2',
5528
5681
  },
5682
+ 'An unexpected error occurred when processing PayPal order.': {
5683
+ value: 'Ett oväntat fel inträffade vid bearbetning av PayPal-beställningen.',
5684
+ },
5529
5685
  'Are you sure?': {
5530
5686
  value: 'Är du säker?',
5531
5687
  },
@@ -5607,6 +5763,9 @@ const stringsSwedish = {
5607
5763
  'Expected delivery': {
5608
5764
  value: 'Beräknad leverans',
5609
5765
  },
5766
+ 'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
5767
+ value: 'Misslyckades med att skapa PayPal-beställning. Försök igen, eller överväg att använda en alternativ metod.',
5768
+ },
5610
5769
  Failure: {
5611
5770
  value: 'Misslyckande',
5612
5771
  },
@@ -5832,6 +5991,9 @@ const stringsSwedish = {
5832
5991
  'click to learn more': {
5833
5992
  value: 'klicka för att lära dig mer',
5834
5993
  },
5994
+ or: {
5995
+ value: 'eller',
5996
+ },
5835
5997
  'restricted items': {
5836
5998
  value: 'begränsade föremål',
5837
5999
  },
@@ -5850,6 +6012,9 @@ const stringsTurkish = {
5850
6012
  'Address line 2': {
5851
6013
  value: 'Adres satırı 2',
5852
6014
  },
6015
+ 'An unexpected error occurred when processing PayPal order.': {
6016
+ value: 'PayPal siparişi işlenirken beklenmedik bir hata oluştu.',
6017
+ },
5853
6018
  'Are you sure?': {
5854
6019
  value: 'Emin misiniz?',
5855
6020
  },
@@ -5931,6 +6096,9 @@ const stringsTurkish = {
5931
6096
  'Expected delivery': {
5932
6097
  value: 'Beklenen teslimat',
5933
6098
  },
6099
+ 'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
6100
+ value: 'PayPal siparişi oluşturulamadı. Lütfen tekrar deneyin veya alternatif bir yöntem kullanmayı düşünün.',
6101
+ },
5934
6102
  Failure: {
5935
6103
  value: 'Başarısızlık',
5936
6104
  },
@@ -6156,6 +6324,9 @@ const stringsTurkish = {
6156
6324
  'click to learn more': {
6157
6325
  value: 'daha fazla bilgi için tıklayın',
6158
6326
  },
6327
+ or: {
6328
+ value: 'veya',
6329
+ },
6159
6330
  'restricted items': {
6160
6331
  value: 'kısıtlı öğeler',
6161
6332
  },
@@ -6174,6 +6345,9 @@ const stringsVietnamese = {
6174
6345
  'Address line 2': {
6175
6346
  value: 'Dòng địa chỉ 2',
6176
6347
  },
6348
+ 'An unexpected error occurred when processing PayPal order.': {
6349
+ value: 'Đã xảy ra lỗi bất ngờ khi xử lý đơn hàng PayPal.',
6350
+ },
6177
6351
  'Are you sure?': {
6178
6352
  value: 'Bạn có chắc không?',
6179
6353
  },
@@ -6255,6 +6429,9 @@ const stringsVietnamese = {
6255
6429
  'Expected delivery': {
6256
6430
  value: 'Dự kiến giao hàng',
6257
6431
  },
6432
+ 'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
6433
+ value: 'Không thể tạo đơn hàng PayPal. Vui lòng thử lại hoặc cân nhắc sử dụng phương pháp thay thế.',
6434
+ },
6258
6435
  Failure: {
6259
6436
  value: 'Thất bại',
6260
6437
  },
@@ -6480,6 +6657,9 @@ const stringsVietnamese = {
6480
6657
  'click to learn more': {
6481
6658
  value: 'nhấp để tìm hiểu thêm',
6482
6659
  },
6660
+ or: {
6661
+ value: 'hoặc',
6662
+ },
6483
6663
  'restricted items': {
6484
6664
  value: 'mặt hàng bị hạn chế',
6485
6665
  },
@@ -6611,6 +6791,7 @@ const handleRequest = async (url, options) => {
6611
6791
  errors: [{ message: e.message, type: 'unknown' }],
6612
6792
  json: null,
6613
6793
  response: null,
6794
+ zonosMode: null,
6614
6795
  };
6615
6796
  }
6616
6797
  const message = 'Fail to fetch';
@@ -6618,6 +6799,7 @@ const handleRequest = async (url, options) => {
6618
6799
  errors: [{ message, type: 'unknown' }],
6619
6800
  json: null,
6620
6801
  response: null,
6802
+ zonosMode: null,
6621
6803
  };
6622
6804
  }
6623
6805
  const zonosMode = response.headers.get('Zonos-Mode');
@@ -6638,6 +6820,7 @@ const handleRequest = async (url, options) => {
6638
6820
  errors: [],
6639
6821
  json: data,
6640
6822
  response,
6823
+ zonosMode,
6641
6824
  };
6642
6825
  }
6643
6826
  const status = response.status.toString();
@@ -6648,9 +6831,10 @@ const handleRequest = async (url, options) => {
6648
6831
  });
6649
6832
  const message = JSON.stringify(data);
6650
6833
  return {
6651
- errors: [{ message: `${status}: ${message}`, type: status }],
6834
+ errors: [{ message, type: status }],
6652
6835
  json: null,
6653
6836
  response,
6837
+ zonosMode,
6654
6838
  };
6655
6839
  }
6656
6840
  catch (e) {
@@ -6659,6 +6843,7 @@ const handleRequest = async (url, options) => {
6659
6843
  errors: [{ message: `${status}: ${message}`, type: status }],
6660
6844
  json: null,
6661
6845
  response: null,
6846
+ zonosMode,
6662
6847
  };
6663
6848
  }
6664
6849
  };
@@ -7499,6 +7684,12 @@ const jsonParse = (_data) => {
7499
7684
 
7500
7685
  const addressRuleStyle = ({ theme, }) => {
7501
7686
  const defaultStyle = {
7687
+ '.AccordionItem': {
7688
+ color: 'var(--colorText)',
7689
+ },
7690
+ '.AccordionItem--selected': {
7691
+ color: 'var(--colorText)',
7692
+ },
7502
7693
  '.Action': {
7503
7694
  color: 'var(--colorText)',
7504
7695
  },
@@ -7552,6 +7743,7 @@ const defaultVariable = ({ borderStyle, theme, }) => {
7552
7743
  const { onChange: onChange$1, reset: reset$1, state: stripeStore, } = zonosStore.createStore(() => ({
7553
7744
  clientSecret: sessionStorage.getItem('zonos--client-secret') || null,
7554
7745
  fetchingLandedCostAbordController: null,
7746
+ hasPaymentError: false,
7555
7747
  isFetchingLandedCost: false,
7556
7748
  isFetchingSession: false,
7557
7749
  stripe: null,
@@ -7773,7 +7965,7 @@ const stripeStorePrefetchLandedCost = async () => {
7773
7965
  stripeStore.isFetchingLandedCost = false;
7774
7966
  }
7775
7967
  };
7776
- const getStripeMessageBasedOnStatus = (status) => {
7968
+ const stripeStoreMessageBasedOnStatus = (status) => {
7777
7969
  let messages = [];
7778
7970
  let isError = true;
7779
7971
  // Inspect the PaymentIntent `status` to indicate the status of the payment
@@ -7817,10 +8009,21 @@ const getStripeMessageBasedOnStatus = (status) => {
7817
8009
  messages,
7818
8010
  };
7819
8011
  };
8012
+ /**
8013
+ * Handle inventory check and returns error message if the callback provided.
8014
+ */
8015
+ const stripeStoreHandleInventoryCheck = async () => {
8016
+ const { onInventoryCheck } = zonosStore.zonosStore.checkoutSettings;
8017
+ if (typeof onInventoryCheck !== 'function') {
8018
+ return null;
8019
+ }
8020
+ const message = await onInventoryCheck({ items: cartStore.items });
8021
+ return message;
8022
+ };
7820
8023
  const stripeStoreRetrievePayment = async ({ clientSecret: _clientSecret, storybookForceStatus, }) => {
7821
8024
  if (storybookForceStatus) {
7822
8025
  // return status right away if we are in storybook mode
7823
- const { isError, messages } = getStripeMessageBasedOnStatus(storybookForceStatus);
8026
+ const { isError, messages } = stripeStoreMessageBasedOnStatus(storybookForceStatus);
7824
8027
  return { error: isError, messages };
7825
8028
  }
7826
8029
  const clientSecret = _clientSecret || stripeStore.clientSecret;
@@ -7830,7 +8033,7 @@ const stripeStoreRetrievePayment = async ({ clientSecret: _clientSecret, storybo
7830
8033
  }
7831
8034
  const { paymentIntent } = await stripeStore.stripe.retrievePaymentIntent(clientSecret);
7832
8035
  const status = paymentIntent === null || paymentIntent === void 0 ? void 0 : paymentIntent.status;
7833
- const { isError, messages } = getStripeMessageBasedOnStatus(status);
8036
+ const { isError, messages } = stripeStoreMessageBasedOnStatus(status);
7834
8037
  return {
7835
8038
  error: isError,
7836
8039
  messages,
@@ -8077,11 +8280,14 @@ const getDaysDifference = (targetDate) => {
8077
8280
 
8078
8281
  const { onChange, reset, state: cartStore, } = zonosStore.createStore(() => ({
8079
8282
  checkoutSessionId: sessionStorage.getItem('zonos--checkout-session-id') || null,
8283
+ checkoutSessionTimeoutShow: false,
8284
+ checkoutTimeoutInterval: null,
8080
8285
  currency: 'USD',
8081
8286
  doneSteps: [],
8082
8287
  dutiesTaxFees: 0,
8083
8288
  error: null,
8084
8289
  exchangeRate: null,
8290
+ inventoryCheckErrorMessage: null,
8085
8291
  isSelectedShippingAboveDeminimis: false,
8086
8292
  isSelectedShippingGuarantee: false,
8087
8293
  items: [],
@@ -8288,6 +8494,28 @@ onChange('checkoutSessionId', () => {
8288
8494
  }
8289
8495
  sessionStorage.setItem('zonos--checkout-session-id', cartStore.checkoutSessionId);
8290
8496
  });
8497
+ const cartStoreStartCheckoutInterval = ({ isPreview, sessionTimeout, }) => {
8498
+ // do nothing if in preview mode
8499
+ if (isPreview) {
8500
+ return;
8501
+ }
8502
+ const timeoutQuery = new URLSearchParams(window.location.search).get('zonosCheckoutTimeout');
8503
+ const timeout =
8504
+ // timeout query is mainly for testing purpose
8505
+ timeoutQuery && !isNaN(parseInt(timeoutQuery, 10))
8506
+ ? parseInt(timeoutQuery, 10)
8507
+ : sessionTimeout;
8508
+ logError.log(`==START CHECKOUT TIMEOUT - ${timeout}==`);
8509
+ cartStore.checkoutTimeoutInterval = setTimeout(() => {
8510
+ cartStore.checkoutSessionTimeoutShow = true;
8511
+ }, timeout);
8512
+ };
8513
+ const cartStoreClearCheckoutInterval = () => {
8514
+ if (cartStore.checkoutTimeoutInterval) {
8515
+ clearTimeout(cartStore.checkoutTimeoutInterval);
8516
+ cartStore.checkoutTimeoutInterval = null;
8517
+ }
8518
+ };
8291
8519
  const getCartItemToUse = (items) => items.map(item => (Object.assign(Object.assign({}, item), { isRestricted: false })));
8292
8520
  const cartStoreResetCartItems = () => {
8293
8521
  // mark all items as not restricted
@@ -8347,11 +8575,13 @@ const cartStoreResetTabItems = () => {
8347
8575
  };
8348
8576
 
8349
8577
  exports.cartStore = cartStore;
8578
+ exports.cartStoreClearCheckoutInterval = cartStoreClearCheckoutInterval;
8350
8579
  exports.cartStoreGetShippingTransitInfo = cartStoreGetShippingTransitInfo;
8351
8580
  exports.cartStoreHasOneEligibleItem = cartStoreHasOneEligibleItem;
8352
8581
  exports.cartStoreNextStep = cartStoreNextStep;
8353
8582
  exports.cartStoreReset = cartStoreReset;
8354
8583
  exports.cartStoreResetTabItems = cartStoreResetTabItems;
8584
+ exports.cartStoreStartCheckoutInterval = cartStoreStartCheckoutInterval;
8355
8585
  exports.cartStoreUpdateItems = cartStoreUpdateItems;
8356
8586
  exports.cartStoreUpdateSelectedShippingOption = cartStoreUpdateSelectedShippingOption;
8357
8587
  exports.cartStoreUpdateToErrorState = cartStoreUpdateToErrorState;
@@ -8364,6 +8594,7 @@ exports.handleFetch = handleFetch;
8364
8594
  exports.initLocalizationStore = initLocalizationStore;
8365
8595
  exports.initStripeElements = initStripeElements;
8366
8596
  exports.isValidSelector = isValidSelector;
8597
+ exports.jsonParse = jsonParse;
8367
8598
  exports.localizationStore = localizationStore;
8368
8599
  exports.localizationStoreOnUpdate = localizationStoreOnUpdate;
8369
8600
  exports.localizationStoreUpdateSelectedCountryCode = localizationStoreUpdateSelectedCountryCode;
@@ -8373,7 +8604,9 @@ exports.stripeStore = stripeStore;
8373
8604
  exports.stripeStoreCleanupDomesticShippingSession = stripeStoreCleanupDomesticShippingSession;
8374
8605
  exports.stripeStoreConfirmPayment = stripeStoreConfirmPayment;
8375
8606
  exports.stripeStoreGetDomesticShippingSession = stripeStoreGetDomesticShippingSession;
8607
+ exports.stripeStoreHandleInventoryCheck = stripeStoreHandleInventoryCheck;
8376
8608
  exports.stripeStoreInitCheckoutSession = stripeStoreInitCheckoutSession;
8609
+ exports.stripeStoreMessageBasedOnStatus = stripeStoreMessageBasedOnStatus;
8377
8610
  exports.stripeStorePrefetchLandedCost = stripeStorePrefetchLandedCost;
8378
8611
  exports.stripeStoreReset = stripeStoreReset;
8379
8612
  exports.stripeStoreRetrievePayment = stripeStoreRetrievePayment;