@zonos/elements 1.3.279 → 1.3.281

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 (243) hide show
  1. package/dist/cjs/{TaxId-12acedde.js → TaxId-cd9d490e.js} +1 -1
  2. package/dist/cjs/{cart-e8bc11a3.js → cart-3313cb0c.js} +2 -2
  3. package/dist/cjs/{collect-e6485168.js → collect-2659c5af.js} +2 -2
  4. package/dist/cjs/formatStringWithLinks-c25b4018.js +24 -0
  5. package/dist/cjs/{hasInclusivePrice-798ce42d.js → hasInclusivePrice-d132daaa.js} +1 -1
  6. package/dist/cjs/index.cjs.js +8 -8
  7. package/dist/cjs/{invoice-dff7ec81.js → invoice-26f52c07.js} +2 -2
  8. package/dist/cjs/isSameHostCheckoutLink-6148cabb.js +28 -0
  9. package/dist/cjs/{localization-90650d7d.js → localization-6189080f.js} +120 -120
  10. package/dist/cjs/{paypal-77bd640c.js → paypal-f6a256b5.js} +2 -2
  11. package/dist/cjs/{placeTestOrder-7767d119.js → placeTestOrder-695f2b32.js} +2 -2
  12. package/dist/cjs/{renderCheckoutCurrency-66377cf5.js → renderCheckoutCurrency-fe56094f.js} +2 -2
  13. package/dist/cjs/{shouldRenderTaxIdInput-b8abf6de.js → shouldRenderTaxIdInput-7d19556c.js} +1 -1
  14. package/dist/cjs/zonos-address-display_8.cjs.entry.js +4 -4
  15. package/dist/cjs/zonos-address_4.cjs.entry.js +4 -4
  16. package/dist/cjs/zonos-airwallex-payment.cjs.entry.js +4 -4
  17. package/dist/cjs/zonos-card_5.cjs.entry.js +4 -4
  18. package/dist/cjs/zonos-cart-items_12.cjs.entry.js +27 -12
  19. package/dist/cjs/zonos-checkout.cjs.entry.js +190 -14
  20. package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +3 -3
  21. package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +7 -7
  22. package/dist/cjs/zonos-collect.cjs.entry.js +5 -5
  23. package/dist/cjs/zonos-controller.cjs.entry.js +3 -3
  24. package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
  25. package/dist/cjs/zonos-country-select_4.cjs.entry.js +3 -2
  26. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +5 -4
  27. package/dist/cjs/zonos-hello.cjs.entry.js +1 -1
  28. package/dist/cjs/zonos-invoice-cart-items_2.cjs.entry.js +5 -5
  29. package/dist/cjs/zonos-invoice-finish_5.cjs.entry.js +7 -7
  30. package/dist/cjs/zonos-invoice.cjs.entry.js +5 -5
  31. package/dist/cjs/zonos-language-select_2.cjs.entry.js +1 -1
  32. package/dist/cjs/zonos-policy-consent_2.cjs.entry.js +4 -4
  33. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.js +13 -1
  34. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +36 -2
  35. package/dist/collection/components/store/translationStore/strings.arabic.js +6 -6
  36. package/dist/collection/components/store/translationStore/strings.base.js +6 -6
  37. package/dist/collection/components/store/translationStore/strings.chinese.js +6 -6
  38. package/dist/collection/components/store/translationStore/strings.danish.js +6 -6
  39. package/dist/collection/components/store/translationStore/strings.dutch.js +6 -6
  40. package/dist/collection/components/store/translationStore/strings.french.js +6 -6
  41. package/dist/collection/components/store/translationStore/strings.german.js +6 -6
  42. package/dist/collection/components/store/translationStore/strings.hebrew.js +6 -6
  43. package/dist/collection/components/store/translationStore/strings.indonesian.js +6 -6
  44. package/dist/collection/components/store/translationStore/strings.italian.js +6 -6
  45. package/dist/collection/components/store/translationStore/strings.japanese.js +6 -6
  46. package/dist/collection/components/store/translationStore/strings.korean.js +6 -6
  47. package/dist/collection/components/store/translationStore/strings.norwegian.js +6 -6
  48. package/dist/collection/components/store/translationStore/strings.polish.js +6 -6
  49. package/dist/collection/components/store/translationStore/strings.portuguese.js +6 -6
  50. package/dist/collection/components/store/translationStore/strings.russian.js +6 -6
  51. package/dist/collection/components/store/translationStore/strings.spanish.js +6 -6
  52. package/dist/collection/components/store/translationStore/strings.swedish.js +6 -6
  53. package/dist/collection/components/store/translationStore/strings.turkish.js +6 -6
  54. package/dist/collection/components/store/translationStore/strings.vietnamese.js +6 -6
  55. package/dist/collection/components/utils/checkout/buildBigcommerceRedirectUrl.js +6 -1
  56. package/dist/collection/components/utils/checkout/watchImmediateBigcommerceDomesticCheckoutRedirect.js +144 -7
  57. package/dist/collection/components/utils/formatStringWithLinks.js +12 -6
  58. package/dist/collection/components/utils/isSameHostCheckoutLink.js +24 -0
  59. package/dist/collection/components/utils/taxIdValidationResult.js +6 -3
  60. package/dist/collection/types/checkout/TaxId.js +1 -1
  61. package/dist/collection/types/generated/graphql.internal.types.js +84 -0
  62. package/dist/esm/{TaxId-50d72254.js → TaxId-63a14057.js} +1 -1
  63. package/dist/esm/{cart-8b8dc79f.js → cart-c66ec17e.js} +3 -3
  64. package/dist/esm/{collect-f4965586.js → collect-915fd59d.js} +2 -2
  65. package/dist/esm/formatStringWithLinks-0d48f183.js +22 -0
  66. package/dist/esm/{hasInclusivePrice-1589fef9.js → hasInclusivePrice-6fd935f3.js} +1 -1
  67. package/dist/esm/index.js +8 -8
  68. package/dist/esm/{invoice-b7a1fb14.js → invoice-2a17c93c.js} +2 -2
  69. package/dist/esm/isSameHostCheckoutLink-c1b88ab7.js +26 -0
  70. package/dist/esm/{localization-d49867ed.js → localization-6d36209f.js} +120 -120
  71. package/dist/esm/{paypal-da551105.js → paypal-cae1d404.js} +2 -2
  72. package/dist/esm/{placeTestOrder-4309b170.js → placeTestOrder-955269d2.js} +2 -2
  73. package/dist/esm/{renderCheckoutCurrency-0ed221ac.js → renderCheckoutCurrency-951386a5.js} +2 -2
  74. package/dist/esm/{shouldRenderTaxIdInput-2572bf77.js → shouldRenderTaxIdInput-ef7b5860.js} +1 -1
  75. package/dist/esm/zonos-address-display_8.entry.js +4 -4
  76. package/dist/esm/zonos-address_4.entry.js +4 -4
  77. package/dist/esm/zonos-airwallex-payment.entry.js +4 -4
  78. package/dist/esm/zonos-card_5.entry.js +4 -4
  79. package/dist/esm/zonos-cart-items_12.entry.js +27 -12
  80. package/dist/esm/zonos-checkout.entry.js +190 -14
  81. package/dist/esm/zonos-collect-cart-items_3.entry.js +3 -3
  82. package/dist/esm/zonos-collect-finish_6.entry.js +7 -7
  83. package/dist/esm/zonos-collect.entry.js +5 -5
  84. package/dist/esm/zonos-controller.entry.js +3 -3
  85. package/dist/esm/zonos-country-flag.entry.js +1 -1
  86. package/dist/esm/zonos-country-select_4.entry.js +3 -2
  87. package/dist/esm/zonos-hello-dialog.entry.js +5 -4
  88. package/dist/esm/zonos-hello.entry.js +1 -1
  89. package/dist/esm/zonos-invoice-cart-items_2.entry.js +5 -5
  90. package/dist/esm/zonos-invoice-finish_5.entry.js +7 -7
  91. package/dist/esm/zonos-invoice.entry.js +5 -5
  92. package/dist/esm/zonos-language-select_2.entry.js +1 -1
  93. package/dist/esm/zonos-policy-consent_2.entry.js +4 -4
  94. package/dist/esm-es5/{TaxId-50d72254.js → TaxId-63a14057.js} +1 -1
  95. package/dist/esm-es5/{cart-8b8dc79f.js → cart-c66ec17e.js} +1 -1
  96. package/dist/esm-es5/{collect-f4965586.js → collect-915fd59d.js} +1 -1
  97. package/dist/esm-es5/formatStringWithLinks-0d48f183.js +1 -0
  98. package/dist/esm-es5/{hasInclusivePrice-1589fef9.js → hasInclusivePrice-6fd935f3.js} +1 -1
  99. package/dist/esm-es5/index.js +1 -1
  100. package/dist/esm-es5/{invoice-b7a1fb14.js → invoice-2a17c93c.js} +1 -1
  101. package/dist/esm-es5/isSameHostCheckoutLink-c1b88ab7.js +1 -0
  102. package/dist/esm-es5/localization-6d36209f.js +1 -0
  103. package/dist/esm-es5/{paypal-da551105.js → paypal-cae1d404.js} +1 -1
  104. package/dist/esm-es5/{placeTestOrder-4309b170.js → placeTestOrder-955269d2.js} +1 -1
  105. package/dist/esm-es5/{renderCheckoutCurrency-0ed221ac.js → renderCheckoutCurrency-951386a5.js} +1 -1
  106. package/dist/esm-es5/{shouldRenderTaxIdInput-2572bf77.js → shouldRenderTaxIdInput-ef7b5860.js} +1 -1
  107. package/dist/esm-es5/zonos-address-display_8.entry.js +1 -1
  108. package/dist/esm-es5/zonos-address_4.entry.js +1 -1
  109. package/dist/esm-es5/zonos-airwallex-payment.entry.js +1 -1
  110. package/dist/esm-es5/zonos-card_5.entry.js +1 -1
  111. package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
  112. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  113. package/dist/esm-es5/zonos-collect-cart-items_3.entry.js +1 -1
  114. package/dist/esm-es5/zonos-collect-finish_6.entry.js +1 -1
  115. package/dist/esm-es5/zonos-collect.entry.js +1 -1
  116. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  117. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  118. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  119. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  120. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  121. package/dist/esm-es5/zonos-invoice-cart-items_2.entry.js +1 -1
  122. package/dist/esm-es5/zonos-invoice-finish_5.entry.js +1 -1
  123. package/dist/esm-es5/zonos-invoice.entry.js +1 -1
  124. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  125. package/dist/esm-es5/zonos-policy-consent_2.entry.js +1 -1
  126. package/dist/scripts/index.d.ts +3 -3
  127. package/dist/scripts/index.js +1 -1
  128. package/dist/scripts/loadZonos.js +1 -1
  129. package/dist/scripts/zonos.js +1 -1
  130. package/dist/types/components/store/translationStore/strings.arabic.d.ts +3 -3
  131. package/dist/types/components/store/translationStore/strings.base.d.ts +3 -3
  132. package/dist/types/components/store/translationStore/strings.chinese.d.ts +3 -3
  133. package/dist/types/components/store/translationStore/strings.danish.d.ts +3 -3
  134. package/dist/types/components/store/translationStore/strings.dutch.d.ts +3 -3
  135. package/dist/types/components/store/translationStore/strings.french.d.ts +3 -3
  136. package/dist/types/components/store/translationStore/strings.german.d.ts +3 -3
  137. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +3 -3
  138. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +3 -3
  139. package/dist/types/components/store/translationStore/strings.italian.d.ts +3 -3
  140. package/dist/types/components/store/translationStore/strings.japanese.d.ts +3 -3
  141. package/dist/types/components/store/translationStore/strings.korean.d.ts +3 -3
  142. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +3 -3
  143. package/dist/types/components/store/translationStore/strings.polish.d.ts +3 -3
  144. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +3 -3
  145. package/dist/types/components/store/translationStore/strings.russian.d.ts +3 -3
  146. package/dist/types/components/store/translationStore/strings.spanish.d.ts +3 -3
  147. package/dist/types/components/store/translationStore/strings.swedish.d.ts +3 -3
  148. package/dist/types/components/store/translationStore/strings.turkish.d.ts +3 -3
  149. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +3 -3
  150. package/dist/types/components/utils/isSameHostCheckoutLink.d.ts +14 -0
  151. package/dist/types/components/utils/taxIdValidationResult.d.ts +1 -1
  152. package/dist/types/types/checkout/TaxId.d.ts +1 -1
  153. package/dist/types/types/generated/graphql.internal.types.d.ts +84 -0
  154. package/dist/types/types/generated/graphql.internal.types.ts +85 -0
  155. package/dist/zonos-elements/index.esm.js +1 -1
  156. package/dist/zonos-elements/{p-d5945ddc.entry.js → p-03fda4a8.entry.js} +1 -1
  157. package/dist/zonos-elements/{p-43815edd.system.entry.js → p-060c521b.system.entry.js} +1 -1
  158. package/dist/zonos-elements/{p-8bd37d3b.entry.js → p-09da3c76.entry.js} +1 -1
  159. package/dist/zonos-elements/{p-5e09c22d.system.js → p-0ac1aa87.system.js} +1 -1
  160. package/dist/zonos-elements/p-0d2f81ce.system.js +1 -0
  161. package/dist/zonos-elements/p-11206fe2.js +1 -0
  162. package/dist/zonos-elements/{p-5c76ef2a.js → p-156891c5.js} +1 -1
  163. package/dist/zonos-elements/p-1577a739.js +1 -0
  164. package/dist/zonos-elements/{p-4e6e9a3c.system.entry.js → p-179caaea.system.entry.js} +1 -1
  165. package/dist/zonos-elements/{p-5827c868.entry.js → p-1ee5f392.entry.js} +1 -1
  166. package/dist/zonos-elements/p-26ca8ce7.js +1 -0
  167. package/dist/zonos-elements/p-29b60bf3.system.js +1 -1
  168. package/dist/zonos-elements/p-2b97f7ed.js +1 -0
  169. package/dist/zonos-elements/{p-b36205f4.entry.js → p-30067eed.entry.js} +1 -1
  170. package/dist/zonos-elements/{p-a8c79850.js → p-3246d120.js} +1 -1
  171. package/dist/zonos-elements/{p-2aecc055.entry.js → p-38879af9.entry.js} +1 -1
  172. package/dist/zonos-elements/{p-647438d6.system.js → p-39695a8b.system.js} +1 -1
  173. package/dist/zonos-elements/p-3e6bbf0b.system.entry.js +1 -0
  174. package/dist/zonos-elements/{p-12a08423.system.entry.js → p-3f6fe80a.system.entry.js} +1 -1
  175. package/dist/zonos-elements/{p-998f9df5.system.entry.js → p-40b96482.system.entry.js} +1 -1
  176. package/dist/zonos-elements/{p-8d87e748.entry.js → p-4441c451.entry.js} +1 -1
  177. package/dist/zonos-elements/{p-7614ea6f.system.entry.js → p-4c3f5fda.system.entry.js} +1 -1
  178. package/dist/zonos-elements/{p-5bc43687.system.entry.js → p-54a8d4cf.system.entry.js} +1 -1
  179. package/dist/zonos-elements/p-5677d31f.entry.js +1 -0
  180. package/dist/zonos-elements/p-56fc3210.js +1 -0
  181. package/dist/zonos-elements/{p-ed676ad1.system.entry.js → p-5a61c301.system.entry.js} +1 -1
  182. package/dist/zonos-elements/{p-73d3fa61.entry.js → p-5e1aad7d.entry.js} +1 -1
  183. package/dist/zonos-elements/p-67426156.system.js +1 -0
  184. package/dist/zonos-elements/{p-0402af0d.entry.js → p-683ec0bf.entry.js} +1 -1
  185. package/dist/zonos-elements/{p-8b42245d.entry.js → p-6df034d6.entry.js} +1 -1
  186. package/dist/zonos-elements/p-6df6cb8a.entry.js +1 -0
  187. package/dist/zonos-elements/{p-02065a08.system.js → p-717cbe90.system.js} +1 -1
  188. package/dist/zonos-elements/{p-7e8aba66.system.entry.js → p-71cb16da.system.entry.js} +1 -1
  189. package/dist/zonos-elements/{p-9beb2624.entry.js → p-727387ed.entry.js} +1 -1
  190. package/dist/zonos-elements/{p-77fa437c.entry.js → p-746bdebe.entry.js} +1 -1
  191. package/dist/zonos-elements/{p-48d55793.system.js → p-7ac8846c.system.js} +1 -1
  192. package/dist/zonos-elements/{p-32278945.system.js → p-8005e102.system.js} +1 -1
  193. package/dist/zonos-elements/{p-2654556b.js → p-8051403a.js} +1 -1
  194. package/dist/zonos-elements/{p-d7cb9ef6.system.entry.js → p-8308f7d6.system.entry.js} +1 -1
  195. package/dist/zonos-elements/{p-6fae9835.system.entry.js → p-86d6961c.system.entry.js} +1 -1
  196. package/dist/zonos-elements/p-9448d960.js +1 -0
  197. package/dist/zonos-elements/{p-2b8345d8.system.js → p-989cb22b.system.js} +1 -1
  198. package/dist/zonos-elements/{p-5afea02c.system.entry.js → p-a23d3b3f.system.entry.js} +1 -1
  199. package/dist/zonos-elements/p-a34269b1.system.entry.js +1 -0
  200. package/dist/zonos-elements/p-a553e132.js +1 -0
  201. package/dist/zonos-elements/{p-74ebd766.js → p-a5f8dc19.js} +1 -1
  202. package/dist/zonos-elements/p-a6535773.system.entry.js +1 -0
  203. package/dist/zonos-elements/{p-ee434a71.entry.js → p-a6773627.entry.js} +1 -1
  204. package/dist/zonos-elements/{p-cd41b16b.system.entry.js → p-ae30e6c0.system.entry.js} +1 -1
  205. package/dist/zonos-elements/{p-0745e440.entry.js → p-b406bb39.entry.js} +1 -1
  206. package/dist/zonos-elements/{p-6b361d2b.js → p-bcf5cffb.js} +1 -1
  207. package/dist/zonos-elements/{p-e6165cc2.system.js → p-bf942ef0.system.js} +1 -1
  208. package/dist/zonos-elements/p-c345d1f5.system.js +1 -0
  209. package/dist/zonos-elements/p-d4337686.entry.js +1 -0
  210. package/dist/zonos-elements/{p-1b963905.system.js → p-ddf68916.system.js} +1 -1
  211. package/dist/zonos-elements/p-df8b8827.entry.js +1 -0
  212. package/dist/zonos-elements/{p-abf61f6f.system.entry.js → p-e0ec0aa3.system.entry.js} +1 -1
  213. package/dist/zonos-elements/p-e210edd9.system.js +1 -0
  214. package/dist/zonos-elements/{p-f44a3338.entry.js → p-e7a45f6c.entry.js} +1 -1
  215. package/dist/zonos-elements/p-edf613ea.entry.js +1 -0
  216. package/dist/zonos-elements/p-ee3c7b11.system.entry.js +1 -0
  217. package/dist/zonos-elements/{p-293183c1.system.entry.js → p-f156e2e5.system.entry.js} +1 -1
  218. package/dist/zonos-elements/{p-3f380c8f.system.js → p-f314217a.system.js} +1 -1
  219. package/dist/zonos-elements/{p-ac59f5c1.system.entry.js → p-f3e1a6a7.system.entry.js} +1 -1
  220. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  221. package/package.json +3 -3
  222. package/dist/cjs/formatStringWithLinks-52341fc7.js +0 -17
  223. package/dist/esm/formatStringWithLinks-9e819405.js +0 -15
  224. package/dist/esm-es5/formatStringWithLinks-9e819405.js +0 -1
  225. package/dist/esm-es5/localization-d49867ed.js +0 -1
  226. package/dist/zonos-elements/p-21d925d7.entry.js +0 -1
  227. package/dist/zonos-elements/p-2d6557ee.system.js +0 -1
  228. package/dist/zonos-elements/p-32704baa.js +0 -1
  229. package/dist/zonos-elements/p-3cf22558.entry.js +0 -1
  230. package/dist/zonos-elements/p-45e1c33b.entry.js +0 -1
  231. package/dist/zonos-elements/p-5d3ea491.system.entry.js +0 -1
  232. package/dist/zonos-elements/p-63a383f4.js +0 -1
  233. package/dist/zonos-elements/p-6b4ef7e0.entry.js +0 -1
  234. package/dist/zonos-elements/p-7365e22c.system.js +0 -1
  235. package/dist/zonos-elements/p-7522ec43.js +0 -1
  236. package/dist/zonos-elements/p-9fab45aa.system.js +0 -1
  237. package/dist/zonos-elements/p-a87561b8.js +0 -1
  238. package/dist/zonos-elements/p-c209e36d.js +0 -1
  239. package/dist/zonos-elements/p-d7bda14d.js +0 -1
  240. package/dist/zonos-elements/p-d93991c3.system.entry.js +0 -1
  241. package/dist/zonos-elements/p-eb9369b9.system.entry.js +0 -1
  242. package/dist/zonos-elements/p-f3a73132.entry.js +0 -1
  243. package/dist/zonos-elements/p-ffbf87c8.system.entry.js +0 -1
@@ -308,8 +308,8 @@ export const stringsJapanese = {
308
308
  'Invalid CUIT/CUIL format. Must contain 11 digits, with or without dashes (XX-XXXXXXXX-X).': {
309
309
  value: '無効なCUIT/CUIL形式です。ハイフンを含むか含まないかで11桁である必要があります (XX-XXXXXXXX-X)。',
310
310
  },
311
- 'Invalid RFC format. Must be 12–13 uppercase letters and numbers only.': {
312
- value: '無効なRFC形式です。12〜13の大文字と数字のみである必要があります。',
311
+ 'Invalid RFC or CURP format. Must be a 12–13 character RFC or an 18 character CURP, uppercase letters and numbers only.': {
312
+ value: 'RFCまたはCURPの形式が無効です。12~13文字のRFCまたは18文字のCURPで、大文字と数字のみ使用できます。',
313
313
  },
314
314
  'Invalid promo code': {
315
315
  value: '無効なプロモーションコード',
@@ -512,8 +512,8 @@ export const stringsJapanese = {
512
512
  Quantity: {
513
513
  value: '数量',
514
514
  },
515
- 'RFC number': {
516
- value: 'RFC番号',
515
+ 'RFC or CURP number': {
516
+ value: 'RFCまたはCURP番号',
517
517
  },
518
518
  'Refund policy': {
519
519
  value: '返金ポリシー',
@@ -818,8 +818,8 @@ export const stringsJapanese = {
818
818
  'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
819
819
  value: 'お支払いが正常に完了しました! ご利用いただきありがとうございます!楽しんでいただけましたら幸いです。あなたのご支援は私たちにとって大変重要な意味を持ちます。',
820
820
  },
821
- 'Your saved default address ships internationally. Would you like to continue to international checkout, or stay here and select a domestic address?': {
822
- value: '保存されたデフォルトの住所は国際配送先です。国際チェックアウトに進みますか、それともここに留まって国内住所を選択しますか?',
821
+ 'Your selected address ships internationally. Would you like to continue to international checkout, or stay here and select a domestic address?': {
822
+ value: '選択された住所は国際配送先です。国際チェックアウトに進みますか、それともここに留まって国内住所を選択しますか?',
823
823
  },
824
824
  'Your selected payment method requires additional verification. Please follow the instructions provided by your payment provider to complete the transaction.': {
825
825
  value: '選択した支払い方法には追加の確認が必要です。取引を完了するには、支払いプロバイダーから提供された指示に従ってください。',
@@ -308,8 +308,8 @@ export const stringsKorean = {
308
308
  'Invalid CUIT/CUIL format. Must contain 11 digits, with or without dashes (XX-XXXXXXXX-X).': {
309
309
  value: '잘못된 CUIT/CUIL 형식입니다. 대시 포함 또는 미포함 11자리 숫자여야 합니다 (XX-XXXXXXXX-X).',
310
310
  },
311
- 'Invalid RFC format. Must be 12–13 uppercase letters and numbers only.': {
312
- value: '잘못된 RFC 형식입니다. 12~13개의 대문자와 숫자만 포함해야 합니다.',
311
+ 'Invalid RFC or CURP format. Must be a 12–13 character RFC or an 18 character CURP, uppercase letters and numbers only.': {
312
+ value: '잘못된 RFC 또는 CURP 형식입니다. 12–13자의 RFC 또는 18자의 CURP여야 하며, 대문자와 숫자만 사용할 수 있습니다.',
313
313
  },
314
314
  'Invalid promo code': {
315
315
  value: '유효하지 않은 프로모션 코드',
@@ -512,8 +512,8 @@ export const stringsKorean = {
512
512
  Quantity: {
513
513
  value: '수량',
514
514
  },
515
- 'RFC number': {
516
- value: 'RFC 번호',
515
+ 'RFC or CURP number': {
516
+ value: 'RFC 또는 CURP 번호',
517
517
  },
518
518
  'Refund policy': {
519
519
  value: '환불 정책',
@@ -818,8 +818,8 @@ export const stringsKorean = {
818
818
  'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
819
819
  value: '결제가 성공적으로 완료되었습니다! 저희와 함께 쇼핑해 주셔서 감사합니다! 즐거운 경험을 하셨기를 바라며, 귀하의 지원은 저희에게 매우 소중합니다.',
820
820
  },
821
- 'Your saved default address ships internationally. Would you like to continue to international checkout, or stay here and select a domestic address?': {
822
- value: '저장된 기본 주소가 해외 배송 주소입니다. 국제 결제로 계속 진행하시겠습니까, 아니면 여기에 머물며 국내 주소를 선택하시겠습니까?',
821
+ 'Your selected address ships internationally. Would you like to continue to international checkout, or stay here and select a domestic address?': {
822
+ value: '선택하신 주소가 해외 배송 주소입니다. 국제 결제로 계속 진행하시겠습니까, 아니면 여기에 머물며 국내 주소를 선택하시겠습니까?',
823
823
  },
824
824
  'Your selected payment method requires additional verification. Please follow the instructions provided by your payment provider to complete the transaction.': {
825
825
  value: '선택한 결제 방법은 추가 확인이 필요합니다. 거래를 완료하려면 결제 제공업체에서 제공한 지침을 따르십시오.',
@@ -308,8 +308,8 @@ export const stringsNorwegian = {
308
308
  'Invalid CUIT/CUIL format. Must contain 11 digits, with or without dashes (XX-XXXXXXXX-X).': {
309
309
  value: 'Ugyldig CUIT/CUIL-format. Må inneholde 11 sifre, med eller uten bindestreker (XX-XXXXXXXX-X).',
310
310
  },
311
- 'Invalid RFC format. Must be 12–13 uppercase letters and numbers only.': {
312
- value: 'Ugyldig RFC-format. Må kun inneholde 12–13 store bokstaver og tall.',
311
+ 'Invalid RFC or CURP format. Must be a 12–13 character RFC or an 18 character CURP, uppercase letters and numbers only.': {
312
+ value: 'Ugyldig RFC- eller CURP-format. Må være en RFC på 12–13 tegn eller en CURP på 18 tegn, kun store bokstaver og tall.',
313
313
  },
314
314
  'Invalid promo code': {
315
315
  value: 'Ugyldig kampanjekode',
@@ -512,8 +512,8 @@ export const stringsNorwegian = {
512
512
  Quantity: {
513
513
  value: 'Mengde',
514
514
  },
515
- 'RFC number': {
516
- value: 'RFC-nummer',
515
+ 'RFC or CURP number': {
516
+ value: 'RFC- eller CURP-nummer',
517
517
  },
518
518
  'Refund policy': {
519
519
  value: 'Refusjonspolicy',
@@ -818,8 +818,8 @@ export const stringsNorwegian = {
818
818
  'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
819
819
  value: 'Betalingen din gikk igjennom! Takk for at du handler hos oss! Vi håper du hadde en hyggelig opplevelse og din støtte betyr utrolig mye for oss.',
820
820
  },
821
- 'Your saved default address ships internationally. Would you like to continue to international checkout, or stay here and select a domestic address?': {
822
- value: 'Din lagrede standardadresse sendes internasjonalt. Vil du fortsette til internasjonal utsjekking, eller bli her og velge en innenlandsk adresse?',
821
+ 'Your selected address ships internationally. Would you like to continue to international checkout, or stay here and select a domestic address?': {
822
+ value: 'Din valgte adresse sendes internasjonalt. Vil du fortsette til internasjonal utsjekking, eller bli her og velge en innenlandsk adresse?',
823
823
  },
824
824
  'Your selected payment method requires additional verification. Please follow the instructions provided by your payment provider to complete the transaction.': {
825
825
  value: 'Din valgte betalingsmetode krever ytterligere verifisering. Vennligst følg instruksjonene fra din betalingsleverandør for å fullføre transaksjonen.',
@@ -308,8 +308,8 @@ export const stringsPolish = {
308
308
  'Invalid CUIT/CUIL format. Must contain 11 digits, with or without dashes (XX-XXXXXXXX-X).': {
309
309
  value: 'Nieprawidłowy format CUIT/CUIL. Musi zawierać 11 cyfr, z myślnikami lub bez (XX-XXXXXXXX-X).',
310
310
  },
311
- 'Invalid RFC format. Must be 12–13 uppercase letters and numbers only.': {
312
- value: 'Nieprawidłowy format RFC. Musi zawierać tylko 12-13 wielkich liter i cyfr.',
311
+ 'Invalid RFC or CURP format. Must be a 12–13 character RFC or an 18 character CURP, uppercase letters and numbers only.': {
312
+ value: 'Nieprawidłowy format RFC lub CURP. Musi to być RFC o długości 12–13 znaków lub CURP o długości 18 znaków, tylko wielkie litery i cyfry.',
313
313
  },
314
314
  'Invalid promo code': {
315
315
  value: 'Nieprawidłowy kod promocyjny',
@@ -512,8 +512,8 @@ export const stringsPolish = {
512
512
  Quantity: {
513
513
  value: 'Ilość',
514
514
  },
515
- 'RFC number': {
516
- value: 'Numer RFC',
515
+ 'RFC or CURP number': {
516
+ value: 'Numer RFC lub CURP',
517
517
  },
518
518
  'Refund policy': {
519
519
  value: 'Polityka zwrotów',
@@ -818,8 +818,8 @@ export const stringsPolish = {
818
818
  'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
819
819
  value: 'Twoja płatność została pomyślnie zrealizowana! Dziękujemy za zakupy u nas! Mamy nadzieję, że miałeś przyjemne doświadczenie, a Twoje wsparcie wiele dla nas znaczy.',
820
820
  },
821
- 'Your saved default address ships internationally. Would you like to continue to international checkout, or stay here and select a domestic address?': {
822
- value: 'Twój zapisany domyślny adres jest adresem wysyłki międzynarodowej. Czy chcesz przejść do międzynarodowej kasy, czy pozostać tutaj i wybrać adres krajowy?',
821
+ 'Your selected address ships internationally. Would you like to continue to international checkout, or stay here and select a domestic address?': {
822
+ value: 'Twój wybrany adres jest adresem wysyłki międzynarodowej. Czy chcesz przejść do międzynarodowej kasy, czy pozostać tutaj i wybrać adres krajowy?',
823
823
  },
824
824
  'Your selected payment method requires additional verification. Please follow the instructions provided by your payment provider to complete the transaction.': {
825
825
  value: 'Wybrana metoda płatności wymaga dodatkowej weryfikacji. Proszę postępować zgodnie z instrukcjami dostarczonymi przez dostawcę płatności, aby zakończyć transakcję.',
@@ -308,8 +308,8 @@ export const stringsPortuguese = {
308
308
  'Invalid CUIT/CUIL format. Must contain 11 digits, with or without dashes (XX-XXXXXXXX-X).': {
309
309
  value: 'Formato de CUIT/CUIL inválido. Deve conter 11 dígitos, com ou sem traços (XX-XXXXXXXX-X).',
310
310
  },
311
- 'Invalid RFC format. Must be 12–13 uppercase letters and numbers only.': {
312
- value: 'Formato de RFC inválido. Deve ter apenas 12-13 letras maiúsculas e números.',
311
+ 'Invalid RFC or CURP format. Must be a 12–13 character RFC or an 18 character CURP, uppercase letters and numbers only.': {
312
+ value: 'Formato de RFC ou CURP inválido. Deve ser um RFC de 12–13 caracteres ou um CURP de 18 caracteres, apenas letras maiúsculas e números.',
313
313
  },
314
314
  'Invalid promo code': {
315
315
  value: 'Código promocional inválido',
@@ -512,8 +512,8 @@ export const stringsPortuguese = {
512
512
  Quantity: {
513
513
  value: 'Quantidade',
514
514
  },
515
- 'RFC number': {
516
- value: 'Número RFC',
515
+ 'RFC or CURP number': {
516
+ value: 'Número RFC ou CURP',
517
517
  },
518
518
  'Refund policy': {
519
519
  value: 'Política de reembolso',
@@ -818,8 +818,8 @@ export const stringsPortuguese = {
818
818
  'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
819
819
  value: 'Seu pagamento foi processado com sucesso! Obrigado por comprar conosco! Esperamos que tenha tido uma experiência agradável e seu apoio significa muito para nós.',
820
820
  },
821
- 'Your saved default address ships internationally. Would you like to continue to international checkout, or stay here and select a domestic address?': {
822
- value: 'Seu endereço padrão salvo é de envio internacional. Deseja continuar para o checkout internacional ou permanecer aqui e selecionar um endereço nacional?',
821
+ 'Your selected address ships internationally. Would you like to continue to international checkout, or stay here and select a domestic address?': {
822
+ value: 'Seu endereço selecionado é de envio internacional. Deseja continuar para o checkout internacional ou permanecer aqui e selecionar um endereço nacional?',
823
823
  },
824
824
  'Your selected payment method requires additional verification. Please follow the instructions provided by your payment provider to complete the transaction.': {
825
825
  value: 'Seu método de pagamento selecionado requer verificação adicional. Por favor, siga as instruções fornecidas pelo seu provedor de pagamento para completar a transação.',
@@ -308,8 +308,8 @@ export const stringsRussian = {
308
308
  'Invalid CUIT/CUIL format. Must contain 11 digits, with or without dashes (XX-XXXXXXXX-X).': {
309
309
  value: 'Неверный формат CUIT/CUIL. Должен содержать 11 цифр, с дефисами или без (XX-XXXXXXXX-X).',
310
310
  },
311
- 'Invalid RFC format. Must be 12–13 uppercase letters and numbers only.': {
312
- value: 'Неверный формат RFC. Должно быть 12–13 заглавных букв и цифр.',
311
+ 'Invalid RFC or CURP format. Must be a 12–13 character RFC or an 18 character CURP, uppercase letters and numbers only.': {
312
+ value: 'Неверный формат RFC или CURP. Должен быть RFC из 12–13 символов или CURP из 18 символов, только заглавные буквы и цифры.',
313
313
  },
314
314
  'Invalid promo code': {
315
315
  value: 'Недействительный промо-код',
@@ -512,8 +512,8 @@ export const stringsRussian = {
512
512
  Quantity: {
513
513
  value: 'Количество',
514
514
  },
515
- 'RFC number': {
516
- value: 'Номер RFC',
515
+ 'RFC or CURP number': {
516
+ value: 'Номер RFC или CURP',
517
517
  },
518
518
  'Refund policy': {
519
519
  value: 'Политика возврата',
@@ -818,8 +818,8 @@ export const stringsRussian = {
818
818
  'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
819
819
  value: 'Оплата прошла успешно! Благодарим вас за покупку! Надеемся, вам понравилось, и ваша поддержка очень важна для нас.',
820
820
  },
821
- 'Your saved default address ships internationally. Would you like to continue to international checkout, or stay here and select a domestic address?': {
822
- value: 'Ваш сохранённый адрес по умолчанию предназначен для международной доставки. Хотите продолжить к международному оформлению заказа или остаться здесь и выбрать внутренний адрес?',
821
+ 'Your selected address ships internationally. Would you like to continue to international checkout, or stay here and select a domestic address?': {
822
+ value: 'Выбранный вами адрес предназначен для международной доставки. Хотите продолжить к международному оформлению заказа или остаться здесь и выбрать внутренний адрес?',
823
823
  },
824
824
  'Your selected payment method requires additional verification. Please follow the instructions provided by your payment provider to complete the transaction.': {
825
825
  value: 'Ваш выбранный способ оплаты требует дополнительной проверки. Пожалуйста, следуйте инструкциям, предоставленным вашим поставщиком платежей, чтобы завершить транзакцию.',
@@ -308,8 +308,8 @@ export const stringsSpanish = {
308
308
  'Invalid CUIT/CUIL format. Must contain 11 digits, with or without dashes (XX-XXXXXXXX-X).': {
309
309
  value: 'Formato de CUIT/CUIL inválido. Debe contener 11 dígitos, con o sin guiones (XX-XXXXXXXX-X).',
310
310
  },
311
- 'Invalid RFC format. Must be 12–13 uppercase letters and numbers only.': {
312
- value: 'Formato de RFC no válido. Debe tener solo 12-13 letras mayúsculas y números.',
311
+ 'Invalid RFC or CURP format. Must be a 12–13 character RFC or an 18 character CURP, uppercase letters and numbers only.': {
312
+ value: 'Formato de RFC o CURP inválido. Debe ser un RFC de 12–13 caracteres o una CURP de 18 caracteres, solo letras mayúsculas y números.',
313
313
  },
314
314
  'Invalid promo code': {
315
315
  value: 'Código promocional no válido',
@@ -512,8 +512,8 @@ export const stringsSpanish = {
512
512
  Quantity: {
513
513
  value: 'Cantidad',
514
514
  },
515
- 'RFC number': {
516
- value: 'Número RFC',
515
+ 'RFC or CURP number': {
516
+ value: 'Número RFC o CURP',
517
517
  },
518
518
  'Refund policy': {
519
519
  value: 'Política de reembolso',
@@ -818,8 +818,8 @@ export const stringsSpanish = {
818
818
  'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
819
819
  value: '¡Su pago se realizó exitosamente! Gracias por comprar con nosotros. Esperamos que haya tenido una experiencia agradable y su apoyo significa mucho para nosotros.',
820
820
  },
821
- 'Your saved default address ships internationally. Would you like to continue to international checkout, or stay here and select a domestic address?': {
822
- value: 'Su dirección predeterminada guardada es de envío internacional. ¿Desea continuar al pago internacional o permanecer aquí y seleccionar una dirección nacional?',
821
+ 'Your selected address ships internationally. Would you like to continue to international checkout, or stay here and select a domestic address?': {
822
+ value: 'Su dirección seleccionada es de envío internacional. ¿Desea continuar al pago internacional o permanecer aquí y seleccionar una dirección nacional?',
823
823
  },
824
824
  'Your selected payment method requires additional verification. Please follow the instructions provided by your payment provider to complete the transaction.': {
825
825
  value: 'Su método de pago seleccionado requiere verificación adicional. Por favor, siga las instrucciones proporcionadas por su proveedor de pagos para completar la transacción.',
@@ -308,8 +308,8 @@ export const stringsSwedish = {
308
308
  'Invalid CUIT/CUIL format. Must contain 11 digits, with or without dashes (XX-XXXXXXXX-X).': {
309
309
  value: 'Ogiltigt CUIT/CUIL-format. Måste innehålla 11 siffror, med eller utan bindestreck (XX-XXXXXXXX-X).',
310
310
  },
311
- 'Invalid RFC format. Must be 12–13 uppercase letters and numbers only.': {
312
- value: 'Ogiltigt RFC-format. Måste endast innehålla 12–13 versaler och siffror.',
311
+ 'Invalid RFC or CURP format. Must be a 12–13 character RFC or an 18 character CURP, uppercase letters and numbers only.': {
312
+ value: 'Ogiltigt RFC- eller CURP-format. Måste vara ett RFC på 12–13 tecken eller ett CURP på 18 tecken, endast versaler och siffror.',
313
313
  },
314
314
  'Invalid promo code': {
315
315
  value: 'Ogiltig kampanjkod',
@@ -512,8 +512,8 @@ export const stringsSwedish = {
512
512
  Quantity: {
513
513
  value: 'Kvantitet',
514
514
  },
515
- 'RFC number': {
516
- value: 'RFC-nummer',
515
+ 'RFC or CURP number': {
516
+ value: 'RFC- eller CURP-nummer',
517
517
  },
518
518
  'Refund policy': {
519
519
  value: 'Återbetalningspolicy',
@@ -818,8 +818,8 @@ export const stringsSwedish = {
818
818
  'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
819
819
  value: 'Din betalning gick igenom framgångsrikt! Tack för att du handlar med oss! Vi hoppas att du har haft en trevlig upplevelse och ditt stöd betyder mycket för oss.',
820
820
  },
821
- 'Your saved default address ships internationally. Would you like to continue to international checkout, or stay here and select a domestic address?': {
822
- value: 'Din sparade standardadress skickas internationellt. Vill du fortsätta till internationell kassa, eller stanna här och välja en inrikes adress?',
821
+ 'Your selected address ships internationally. Would you like to continue to international checkout, or stay here and select a domestic address?': {
822
+ value: 'Din valda adress skickas internationellt. Vill du fortsätta till internationell kassa, eller stanna här och välja en inrikes adress?',
823
823
  },
824
824
  'Your selected payment method requires additional verification. Please follow the instructions provided by your payment provider to complete the transaction.': {
825
825
  value: 'Din valda betalningsmetod kräver ytterligare verifiering. Vänligen följ instruktionerna från din betalningsleverantör för att slutföra transaktionen.',
@@ -308,8 +308,8 @@ export const stringsTurkish = {
308
308
  'Invalid CUIT/CUIL format. Must contain 11 digits, with or without dashes (XX-XXXXXXXX-X).': {
309
309
  value: 'Geçersiz CUIT/CUIL formatı. Tireli veya tiresiz 11 rakam içermelidir (XX-XXXXXXXX-X).',
310
310
  },
311
- 'Invalid RFC format. Must be 12–13 uppercase letters and numbers only.': {
312
- value: 'Geçersiz RFC formatı. Yalnızca 12-13 büyük harf ve rakam olmalıdır.',
311
+ 'Invalid RFC or CURP format. Must be a 12–13 character RFC or an 18 character CURP, uppercase letters and numbers only.': {
312
+ value: 'Geçersiz RFC veya CURP formatı. 12–13 karakterlik bir RFC veya 18 karakterlik bir CURP olmalı, yalnızca büyük harf ve rakam.',
313
313
  },
314
314
  'Invalid promo code': {
315
315
  value: 'Geçersiz promosyon kodu',
@@ -512,8 +512,8 @@ export const stringsTurkish = {
512
512
  Quantity: {
513
513
  value: 'Miktar',
514
514
  },
515
- 'RFC number': {
516
- value: 'RFC numarası',
515
+ 'RFC or CURP number': {
516
+ value: 'RFC veya CURP numarası',
517
517
  },
518
518
  'Refund policy': {
519
519
  value: 'İade politikası',
@@ -818,8 +818,8 @@ export const stringsTurkish = {
818
818
  'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
819
819
  value: 'Ödemeniz başarıyla tamamlandı! Bizimle alışveriş yaptığınız için teşekkür ederiz! Keyifli bir deneyim yaşadığınızı umuyoruz ve desteğiniz bizim için çok değerli.',
820
820
  },
821
- 'Your saved default address ships internationally. Would you like to continue to international checkout, or stay here and select a domestic address?': {
822
- value: 'Kayıtlı varsayılan adresiniz uluslararası gönderime sahiptir. Uluslararası ödemeye devam etmek mi yoksa burada kalıp yurt içi bir adres seçmek mi istersiniz?',
821
+ 'Your selected address ships internationally. Would you like to continue to international checkout, or stay here and select a domestic address?': {
822
+ value: 'Seçtiğiniz adres uluslararası gönderime sahiptir. Uluslararası ödemeye devam etmek mi yoksa burada kalıp yurt içi bir adres seçmek mi istersiniz?',
823
823
  },
824
824
  'Your selected payment method requires additional verification. Please follow the instructions provided by your payment provider to complete the transaction.': {
825
825
  value: 'Seçtiğiniz ödeme yöntemi ek doğrulama gerektirir. İşlemi tamamlamak için lütfen ödeme sağlayıcınız tarafından sağlanan talimatları izleyin.',
@@ -308,8 +308,8 @@ export const stringsVietnamese = {
308
308
  'Invalid CUIT/CUIL format. Must contain 11 digits, with or without dashes (XX-XXXXXXXX-X).': {
309
309
  value: 'Định dạng CUIT/CUIL không hợp lệ. Phải chứa 11 chữ số, có hoặc không có dấu gạch ngang (XX-XXXXXXXX-X).',
310
310
  },
311
- 'Invalid RFC format. Must be 12–13 uppercase letters and numbers only.': {
312
- value: 'Định dạng RFC không hợp lệ. Phải chỉ có 12–13 chữ cái viết hoa và số.',
311
+ 'Invalid RFC or CURP format. Must be a 12–13 character RFC or an 18 character CURP, uppercase letters and numbers only.': {
312
+ value: 'Định dạng RFC hoặc CURP không hợp lệ. Phải là RFC gồm 12–13 ký tự hoặc CURP gồm 18 ký tự, chỉ gồm chữ in hoa và số.',
313
313
  },
314
314
  'Invalid promo code': {
315
315
  value: 'Mã khuyến mãi không hợp lệ',
@@ -512,8 +512,8 @@ export const stringsVietnamese = {
512
512
  Quantity: {
513
513
  value: 'Số lượng',
514
514
  },
515
- 'RFC number': {
516
- value: 'Số RFC',
515
+ 'RFC or CURP number': {
516
+ value: 'Số RFC hoặc CURP',
517
517
  },
518
518
  'Refund policy': {
519
519
  value: 'Chính sách hoàn tiền',
@@ -818,8 +818,8 @@ export const stringsVietnamese = {
818
818
  'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
819
819
  value: 'Thanh toán của bạn thành công! Cảm ơn bạn đã mua sắm với chúng tôi! Chúng tôi hy vọng bạn có trải nghiệm thú vị và sự ủng hộ của bạn thật sự ý nghĩa với chúng tôi.',
820
820
  },
821
- 'Your saved default address ships internationally. Would you like to continue to international checkout, or stay here and select a domestic address?': {
822
- value: 'Địa chỉ mặc định đã lưu của bạn là địa chỉ giao hàng quốc tế. Bạn muốn tiếp tục đến thanh toán quốc tế hay ở lại đây và chọn một địa chỉ trong nước?',
821
+ 'Your selected address ships internationally. Would you like to continue to international checkout, or stay here and select a domestic address?': {
822
+ value: 'Địa chỉ đã chọn của bạn là địa chỉ giao hàng quốc tế. Bạn muốn tiếp tục đến thanh toán quốc tế hay ở lại đây và chọn một địa chỉ trong nước?',
823
823
  },
824
824
  'Your selected payment method requires additional verification. Please follow the instructions provided by your payment provider to complete the transaction.': {
825
825
  value: 'Phương thức thanh toán bạn chọn yêu cầu xác minh bổ sung. Vui lòng làm theo hướng dẫn của nhà cung cấp thanh toán của bạn để hoàn tất giao dịch.',
@@ -11,10 +11,15 @@ import { getIsTestMode } from "./getIsTestMode";
11
11
  */
12
12
  export const buildBigcommerceRedirectUrl = (pathname) => {
13
13
  const url = new URL(pathname, window.location.origin);
14
- const zonosQaUrl = new URLSearchParams(window.location.search).get('zonosQaUrl');
14
+ const searchParams = new URLSearchParams(window.location.search);
15
+ const zonosQaUrl = searchParams.get('zonosQaUrl');
15
16
  if (zonosQaUrl) {
16
17
  url.searchParams.set('zonosQaUrl', zonosQaUrl);
17
18
  }
19
+ // zonosDebug=1
20
+ if (searchParams.get('zonosDebug') === '1') {
21
+ url.searchParams.set('zonosDebug', '1');
22
+ }
18
23
  if (getIsTestMode()) {
19
24
  url.searchParams.set('zonosTestMode', '1');
20
25
  }
@@ -9,6 +9,11 @@ import { isShippableCountry } from "./isShippableCountry";
9
9
  import { log } from "../logging/log";
10
10
  import { logError } from "../logging/logError";
11
11
  const FALLBACK_SHIP_TO_COUNTRY_SELECTOR = 'select[name="shippingAddress.countryCode"]';
12
+ /**
13
+ * Native BigCommerce shipping-step "Continue" button. Clicking it commits the
14
+ * selected shipping address and advances to the payment step.
15
+ */
16
+ const BIGCOMMERCE_SHIPPING_CONTINUE_SELECTOR = '#checkout-shipping-continue, #checkout-billing-continue, #checkout-payment-continue';
12
17
  /**
13
18
  * Check if the logged-in user already has a shipping address on the checkout
14
19
  * that is internationally shippable. If so, optionally prompt the user to
@@ -116,11 +121,11 @@ export const watchImmediateBigcommerceDomesticCheckoutRedirect = ({ domesticRedi
116
121
  overrideShippingCountry);
117
122
  if (!shippingCountry) {
118
123
  // do nothing if shipping country is not found
119
- return false;
124
+ return 'noAction';
120
125
  }
121
126
  if (!isShippableCountry(false, shippingCountry)) {
122
127
  // do nothing if shipping country is not shippable
123
- return false;
128
+ return 'noAction';
124
129
  }
125
130
  // Only check bypass after confirming the country is shippable (i.e. user is
126
131
  // about to be redirected to Zonos international checkout). Force-refresh so
@@ -141,7 +146,7 @@ export const watchImmediateBigcommerceDomesticCheckoutRedirect = ({ domesticRedi
141
146
  // Logged-in customer is in a bypass group — keep them on BC native
142
147
  // checkout and stop polling / fetching further.
143
148
  log('Bypass customer group detected on BC checkout, stopping interval', 'info');
144
- return true;
149
+ return 'bypass';
145
150
  }
146
151
  // Same force-login gate as the logged-in-default-address path — we run
147
152
  // it *after* the bypass check so reseller groups never see the login
@@ -149,7 +154,7 @@ export const watchImmediateBigcommerceDomesticCheckoutRedirect = ({ domesticRedi
149
154
  const forceLogin = await checkBigCommerceForceLogin({ preFetched });
150
155
  if (forceLogin.shouldForceLogin && forceLogin.redirectUrl) {
151
156
  window.location.href = forceLogin.redirectUrl;
152
- return true;
157
+ return 'redirected';
153
158
  }
154
159
  if (onInternationalCheckoutSelected) {
155
160
  await onInternationalCheckoutSelected();
@@ -186,7 +191,135 @@ export const watchImmediateBigcommerceDomesticCheckoutRedirect = ({ domesticRedi
186
191
  // having domestic shipping session. Carry over zonosQaUrl / zonosTestMode
187
192
  // so the destination page keeps using the same build/env.
188
193
  window.location.href = buildBigcommerceRedirectUrl('/');
189
- return true;
194
+ return 'redirected';
195
+ };
196
+ /**
197
+ * When `true`, the logged-in "Continue" hook re-dispatched the shopper's
198
+ * click so BigCommerce's own handler can run (domestic / bypass case). The
199
+ * hook's listener sees this flag and lets the event through untouched.
200
+ */
201
+ let isBypassingContinueHook = false;
202
+ /**
203
+ * Set to `true` once the document-level "Continue" click delegation has been
204
+ * attached, so opting out repeatedly doesn't bind it more than once.
205
+ */
206
+ let loggedInContinueDelegationAttached = false;
207
+ /**
208
+ * Resolve the shopper's currently-selected shipping country on the BC native
209
+ * checkout. Logged-in shoppers picking a saved address don't expose a
210
+ * country `<select>`, so read it from the active checkout consignment via the
211
+ * Storefront API; fall back to the `<select>` value when one is present.
212
+ */
213
+ const resolveSelectedShippingCountry = async () => {
214
+ var _a, _b, _c, _d;
215
+ const checkoutId = await fetchCheckoutId();
216
+ if (checkoutId) {
217
+ const checkout = await fetchBigCommerceCheckout(checkoutId);
218
+ const consignmentCountry = (_c = (_b = (_a = checkout === null || checkout === void 0 ? void 0 : checkout.consignments) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.shippingAddress) === null || _c === void 0 ? void 0 : _c.countryCode;
219
+ if (consignmentCountry) {
220
+ return consignmentCountry;
221
+ }
222
+ }
223
+ const shipToCountryElement = document.querySelector(((_d = zonosStore.genericSettings) === null || _d === void 0 ? void 0 : _d.bigcommerceDomesticCheckoutCountrySelector) ||
224
+ FALLBACK_SHIP_TO_COUNTRY_SELECTOR);
225
+ return (shipToCountryElement === null || shipToCountryElement === void 0 ? void 0 : shipToCountryElement.value) || null;
226
+ };
227
+ /**
228
+ * Req 2 (05CHECK-887): once a logged-in shopper with an international default
229
+ * address has chosen to "Stay on this page", we must still force them onto
230
+ * the Zonos international checkout if they end up committing an international
231
+ * shipping address. BC's saved-address flow exposes no country `<select>` to
232
+ * poll, so we hook the native shipping "Continue" button and re-check the
233
+ * selected consignment country when the shopper tries to advance.
234
+ */
235
+ /**
236
+ * Resolve the selected shipping country when the shopper clicks the native
237
+ * BC "Continue" button and, if it's international, redirect to the Zonos
238
+ * checkout. On any outcome other than a redirect — domestic, bypass group,
239
+ * or an unexpected error — replay the click so BigCommerce's own handler runs
240
+ * and the shopper is never left stuck on the shipping step.
241
+ */
242
+ const handleLoggedInInternationalContinue = async (continueButton, observer) => {
243
+ // Default to replaying the native click; only a confirmed international
244
+ // redirect (page navigating away) suppresses it.
245
+ let shouldReplayClick = true;
246
+ try {
247
+ let country = null;
248
+ try {
249
+ country = await resolveSelectedShippingCountry();
250
+ }
251
+ catch (error) {
252
+ logError('Error resolving selected shipping country on BC continue', error);
253
+ }
254
+ // When the shopper is committing an international address we're about to
255
+ // save the domestic shipping session and redirect to `/`. Disconnect this
256
+ // /checkout-page observer first: otherwise its own session-detection
257
+ // branch races the save — it would append the hidden redirect button and
258
+ // open checkout locally, consuming and clearing the session before the
259
+ // navigation to `/` lands, leaving the redirect a no-op. (The `/` page
260
+ // runs its own fresh watcher to open checkout.)
261
+ if (country && isShippableCountry(false, country)) {
262
+ observer.disconnect();
263
+ }
264
+ const decision = country
265
+ ? await handleInternationalCheckoutSelected(country)
266
+ : 'noAction';
267
+ // `redirected` → the page is navigating to the Zonos international
268
+ // checkout, so don't replay. `bypass` / `noAction` → the shopper stays on
269
+ // BC native checkout, so fall through and replay the click.
270
+ if (decision === 'redirected') {
271
+ shouldReplayClick = false;
272
+ }
273
+ }
274
+ catch (error) {
275
+ // We already blocked BC's native click; if resolving the country or the
276
+ // redirect helper throws, replay so BC can advance rather than leaving
277
+ // the shopper stuck on the shipping step.
278
+ logError('Error handling BC continue international redirect', error);
279
+ }
280
+ if (shouldReplayClick) {
281
+ isBypassingContinueHook = true;
282
+ continueButton.click();
283
+ isBypassingContinueHook = false;
284
+ }
285
+ };
286
+ /**
287
+ * Req 2 (05CHECK-887): attach the logged-in international-redirect hook via a
288
+ * single capture-phase listener on `document` (delegation) rather than
289
+ * binding the button node directly. Delegation is resilient to BC
290
+ * re-rendering the shipping step and — crucially — to the MutationObserver
291
+ * disconnecting once the country `<select>` path sets up its polling
292
+ * interval: the "Continue" button may only render after that point, so a
293
+ * node-bound listener attached from the observer could miss it entirely.
294
+ * Attached once, on opt-out.
295
+ */
296
+ const attachLoggedInInternationalContinueDelegation = (observer) => {
297
+ if (loggedInContinueDelegationAttached) {
298
+ return;
299
+ }
300
+ loggedInContinueDelegationAttached = true;
301
+ document.addEventListener('click', event => {
302
+ // Programmatic replay for the domestic / bypass case — let BC's own
303
+ // handler run without interference.
304
+ if (isBypassingContinueHook) {
305
+ return;
306
+ }
307
+ const { target } = event;
308
+ if (!(target instanceof Element)) {
309
+ return;
310
+ }
311
+ const continueButton = target.closest(BIGCOMMERCE_SHIPPING_CONTINUE_SELECTOR);
312
+ if (!continueButton) {
313
+ return;
314
+ }
315
+ // Block BC's native advance until we know whether the selected shipping
316
+ // country forces an international redirect. Capture phase +
317
+ // stopImmediatePropagation (done synchronously here, before the async
318
+ // handler) prevents BC's React click handler from firing.
319
+ event.preventDefault();
320
+ event.stopImmediatePropagation();
321
+ void handleLoggedInInternationalContinue(continueButton, observer);
322
+ }, true);
190
323
  };
191
324
  let isProcessing = false;
192
325
  let intervalCreated = false;
@@ -262,6 +395,10 @@ export const watchImmediateBigcommerceDomesticCheckoutRedirect = ({ domesticRedi
262
395
  // observer logic so the country-change watcher still fires when
263
396
  // the user manually picks an international country in BC's UI.
264
397
  loggedInAddressCheckSkipped = true;
398
+ // Attach the "Continue" redirect hook now (once). Delegation on
399
+ // `document` keeps it working even after this observer disconnects
400
+ // when the country <select> path sets up its interval below.
401
+ attachLoggedInInternationalContinueDelegation(observer);
265
402
  }
266
403
  }
267
404
  catch (error) {
@@ -297,11 +434,11 @@ export const watchImmediateBigcommerceDomesticCheckoutRedirect = ({ domesticRedi
297
434
  }
298
435
  isProcessing = true;
299
436
  try {
300
- const shouldStopPolling = await handleInternationalCheckoutSelected();
437
+ const decision = await handleInternationalCheckoutSelected();
301
438
  // Stop the interval once either:
302
439
  // - the user is being redirected to Zonos international checkout
303
440
  // - the logged-in customer is in a bypass group (stay on BC checkout)
304
- if (shouldStopPolling) {
441
+ if (decision === 'redirected' || decision === 'bypass') {
305
442
  clearInterval(interval);
306
443
  return;
307
444
  }
@@ -1,13 +1,19 @@
1
+ import { isSameHostCheckoutLink } from "./isSameHostCheckoutLink";
1
2
  export const formatStringWithLinks = (str) => {
2
3
  // Match Markdown-style links or standalone URLs not in Markdown format
3
4
  const linkRegex = /\[([^\]]+)\]\((https?:\/\/[^\s\)]+)\)|(https?:\/\/[^\s]+)/g;
4
5
  const messageWithLinks = str.replace(linkRegex, (_match, text, markdownUrl, url) => {
5
- if (markdownUrl) {
6
- return `<zonos-link href="${markdownUrl}" target="_blank" rel="noopener noreferrer">${text}</zonos-link>`;
7
- }
8
- else {
9
- return `<zonos-link href="${url}" target="_blank" rel="noopener noreferrer">${url}</zonos-link>`;
10
- }
6
+ var _a;
7
+ const href = markdownUrl || url;
8
+ // For BigCommerce, a same-host `/checkout` link navigates the current tab
9
+ // (`_self`) instead of opening a new one — the Zonos checkout unloads and
10
+ // the native checkout opens in its place rather than leaving two
11
+ // checkouts open at once (05CHECK-887).
12
+ const target = !!((_a = window.Zonos) === null || _a === void 0 ? void 0 : _a.isBigCommerce) && isSameHostCheckoutLink(href)
13
+ ? '_self'
14
+ : '_blank';
15
+ const label = markdownUrl ? text : url;
16
+ return `<zonos-link href="${href}" target="${target}" rel="noopener noreferrer">${label}</zonos-link>`;
11
17
  });
12
18
  return messageWithLinks;
13
19
  };
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Whether a link points at the same-origin native `/checkout` page.
3
+ *
4
+ * Merchant custom messages in the international checkout can contain a link
5
+ * like "click here to complete checkout" that targets the store's native
6
+ * BigCommerce checkout. When that link is same-host `/checkout`, we want it to
7
+ * navigate the current tab instead of opening a new one — so the Zonos checkout
8
+ * unloads and the native checkout opens in its place rather than leaving two
9
+ * checkouts open at once (05CHECK-887).
10
+ *
11
+ * Returns `false` for cross-origin links, non-`/checkout` paths, or unparsable
12
+ * hrefs (which should keep their default new-tab behavior).
13
+ */
14
+ export const isSameHostCheckoutLink = (href) => {
15
+ try {
16
+ const url = new URL(href, window.location.href);
17
+ // Normalize a trailing slash so `/checkout` and `/checkout/` both match.
18
+ const pathname = url.pathname.replace(/\/+$/, '');
19
+ return (url.hostname === window.location.hostname && pathname === '/checkout');
20
+ }
21
+ catch (_a) {
22
+ return false;
23
+ }
24
+ };