@zonos/elements 1.3.275 → 1.3.277

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 (238) hide show
  1. package/dist/cjs/{cart-73d7ecdc.js → cart-65e8da66.js} +38 -12
  2. package/dist/cjs/{collect-32ea7a37.js → collect-37c177ab.js} +2 -2
  3. package/dist/cjs/{hasInclusivePrice-38ebedfb.js → hasInclusivePrice-798ce42d.js} +1 -1
  4. package/dist/cjs/index.cjs.js +32 -9
  5. package/dist/cjs/{invoice-df662cd1.js → invoice-96f5c802.js} +2 -2
  6. package/dist/cjs/{localization-09e91031.js → localization-90650d7d.js} +60 -0
  7. package/dist/cjs/{paypal-11acb15f.js → paypal-1952f6ec.js} +2 -2
  8. package/dist/cjs/{placeTestOrder-e0f80338.js → placeTestOrder-30191a8f.js} +2 -2
  9. package/dist/cjs/{renderCheckoutCurrency-d902f973.js → renderCheckoutCurrency-fd35b4ef.js} +2 -2
  10. package/dist/cjs/zonos-address-display_8.cjs.entry.js +2 -2
  11. package/dist/cjs/zonos-address_4.cjs.entry.js +2 -2
  12. package/dist/cjs/zonos-airwallex-payment.cjs.entry.js +4 -3
  13. package/dist/cjs/zonos-card_5.cjs.entry.js +4 -3
  14. package/dist/cjs/zonos-cart-items_12.cjs.entry.js +74 -9
  15. package/dist/cjs/zonos-checkout.cjs.entry.js +4 -3
  16. package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +3 -2
  17. package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +7 -6
  18. package/dist/cjs/zonos-collect.cjs.entry.js +5 -4
  19. package/dist/cjs/zonos-controller.cjs.entry.js +18 -4
  20. package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
  21. package/dist/cjs/zonos-country-select_4.cjs.entry.js +1 -1
  22. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +2 -2
  23. package/dist/cjs/zonos-hello.cjs.entry.js +1 -1
  24. package/dist/cjs/zonos-invoice-cart-items_2.cjs.entry.js +5 -4
  25. package/dist/cjs/zonos-invoice-finish_5.cjs.entry.js +7 -6
  26. package/dist/cjs/zonos-invoice.cjs.entry.js +5 -4
  27. package/dist/cjs/zonos-language-select_2.cjs.entry.js +1 -1
  28. package/dist/cjs/zonos-policy-consent_2.cjs.entry.js +4 -3
  29. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.js +52 -1
  30. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +1 -1
  31. package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js +18 -2
  32. package/dist/collection/components/common/zonos-stripe-phone-input/zonos-stripe-phone-input.js +1 -1
  33. package/dist/collection/components/main/zonos-controller.js +16 -3
  34. package/dist/collection/components/store/checkout/cart.js +21 -11
  35. package/dist/collection/components/store/translationStore/strings.arabic.js +3 -0
  36. package/dist/collection/components/store/translationStore/strings.base.js +3 -0
  37. package/dist/collection/components/store/translationStore/strings.chinese.js +3 -0
  38. package/dist/collection/components/store/translationStore/strings.danish.js +3 -0
  39. package/dist/collection/components/store/translationStore/strings.dutch.js +3 -0
  40. package/dist/collection/components/store/translationStore/strings.french.js +3 -0
  41. package/dist/collection/components/store/translationStore/strings.german.js +3 -0
  42. package/dist/collection/components/store/translationStore/strings.hebrew.js +3 -0
  43. package/dist/collection/components/store/translationStore/strings.indonesian.js +3 -0
  44. package/dist/collection/components/store/translationStore/strings.italian.js +3 -0
  45. package/dist/collection/components/store/translationStore/strings.japanese.js +3 -0
  46. package/dist/collection/components/store/translationStore/strings.korean.js +3 -0
  47. package/dist/collection/components/store/translationStore/strings.norwegian.js +3 -0
  48. package/dist/collection/components/store/translationStore/strings.polish.js +3 -0
  49. package/dist/collection/components/store/translationStore/strings.portuguese.js +3 -0
  50. package/dist/collection/components/store/translationStore/strings.russian.js +3 -0
  51. package/dist/collection/components/store/translationStore/strings.spanish.js +3 -0
  52. package/dist/collection/components/store/translationStore/strings.swedish.js +3 -0
  53. package/dist/collection/components/store/translationStore/strings.turkish.js +3 -0
  54. package/dist/collection/components/store/translationStore/strings.vietnamese.js +3 -0
  55. package/dist/collection/components/utils/checkout/isEuDapRemittance.js +15 -0
  56. package/dist/collection/scripts/_loadStripe.js +20 -2
  57. package/dist/collection/scripts/_zonosBase.js +5 -0
  58. package/dist/collection/types/generated/graphql.internal.types.js +78 -0
  59. package/dist/esm/{cart-c3cd0036.js → cart-402dcde5.js} +38 -13
  60. package/dist/esm/{collect-a7a4696c.js → collect-b88fe4ca.js} +2 -2
  61. package/dist/esm/{hasInclusivePrice-93a88196.js → hasInclusivePrice-1589fef9.js} +1 -1
  62. package/dist/esm/index.js +32 -9
  63. package/dist/esm/{invoice-5a07bb03.js → invoice-5eb27944.js} +2 -2
  64. package/dist/esm/{localization-a185c345.js → localization-d49867ed.js} +60 -0
  65. package/dist/esm/{paypal-cc558697.js → paypal-2d4c9d01.js} +2 -2
  66. package/dist/esm/{placeTestOrder-92847316.js → placeTestOrder-2ba7c3f2.js} +2 -2
  67. package/dist/esm/{renderCheckoutCurrency-34aaa81e.js → renderCheckoutCurrency-ef71083e.js} +2 -2
  68. package/dist/esm/zonos-address-display_8.entry.js +2 -2
  69. package/dist/esm/zonos-address_4.entry.js +2 -2
  70. package/dist/esm/zonos-airwallex-payment.entry.js +4 -3
  71. package/dist/esm/zonos-card_5.entry.js +4 -3
  72. package/dist/esm/zonos-cart-items_12.entry.js +74 -9
  73. package/dist/esm/zonos-checkout.entry.js +4 -3
  74. package/dist/esm/zonos-collect-cart-items_3.entry.js +3 -2
  75. package/dist/esm/zonos-collect-finish_6.entry.js +7 -6
  76. package/dist/esm/zonos-collect.entry.js +5 -4
  77. package/dist/esm/zonos-controller.entry.js +18 -4
  78. package/dist/esm/zonos-country-flag.entry.js +1 -1
  79. package/dist/esm/zonos-country-select_4.entry.js +1 -1
  80. package/dist/esm/zonos-hello-dialog.entry.js +2 -2
  81. package/dist/esm/zonos-hello.entry.js +1 -1
  82. package/dist/esm/zonos-invoice-cart-items_2.entry.js +5 -4
  83. package/dist/esm/zonos-invoice-finish_5.entry.js +7 -6
  84. package/dist/esm/zonos-invoice.entry.js +5 -4
  85. package/dist/esm/zonos-language-select_2.entry.js +1 -1
  86. package/dist/esm/zonos-policy-consent_2.entry.js +4 -3
  87. package/dist/esm-es5/cart-402dcde5.js +1 -0
  88. package/dist/esm-es5/{collect-a7a4696c.js → collect-b88fe4ca.js} +1 -1
  89. package/dist/esm-es5/{hasInclusivePrice-93a88196.js → hasInclusivePrice-1589fef9.js} +1 -1
  90. package/dist/esm-es5/index.js +1 -1
  91. package/dist/esm-es5/{invoice-5a07bb03.js → invoice-5eb27944.js} +1 -1
  92. package/dist/esm-es5/localization-d49867ed.js +1 -0
  93. package/dist/esm-es5/{paypal-cc558697.js → paypal-2d4c9d01.js} +1 -1
  94. package/dist/esm-es5/{placeTestOrder-92847316.js → placeTestOrder-2ba7c3f2.js} +1 -1
  95. package/dist/esm-es5/{renderCheckoutCurrency-34aaa81e.js → renderCheckoutCurrency-ef71083e.js} +1 -1
  96. package/dist/esm-es5/zonos-address-display_8.entry.js +1 -1
  97. package/dist/esm-es5/zonos-address_4.entry.js +1 -1
  98. package/dist/esm-es5/zonos-airwallex-payment.entry.js +1 -1
  99. package/dist/esm-es5/zonos-card_5.entry.js +1 -1
  100. package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
  101. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  102. package/dist/esm-es5/zonos-collect-cart-items_3.entry.js +1 -1
  103. package/dist/esm-es5/zonos-collect-finish_6.entry.js +1 -1
  104. package/dist/esm-es5/zonos-collect.entry.js +1 -1
  105. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  106. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  107. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  108. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  109. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  110. package/dist/esm-es5/zonos-invoice-cart-items_2.entry.js +1 -1
  111. package/dist/esm-es5/zonos-invoice-finish_5.entry.js +1 -1
  112. package/dist/esm-es5/zonos-invoice.entry.js +1 -1
  113. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  114. package/dist/esm-es5/zonos-policy-consent_2.entry.js +1 -1
  115. package/dist/scripts/index.d.ts +23 -0
  116. package/dist/scripts/index.js +1 -1
  117. package/dist/scripts/loadZonos.js +1 -1
  118. package/dist/scripts/zonos.js +1 -1
  119. package/dist/types/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.d.ts +8 -0
  120. package/dist/types/components/store/checkout/cart.d.ts +2 -2
  121. package/dist/types/components/store/translationStore/strings.arabic.d.ts +3 -0
  122. package/dist/types/components/store/translationStore/strings.base.d.ts +3 -0
  123. package/dist/types/components/store/translationStore/strings.chinese.d.ts +3 -0
  124. package/dist/types/components/store/translationStore/strings.danish.d.ts +3 -0
  125. package/dist/types/components/store/translationStore/strings.dutch.d.ts +3 -0
  126. package/dist/types/components/store/translationStore/strings.french.d.ts +3 -0
  127. package/dist/types/components/store/translationStore/strings.german.d.ts +3 -0
  128. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +3 -0
  129. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +3 -0
  130. package/dist/types/components/store/translationStore/strings.italian.d.ts +3 -0
  131. package/dist/types/components/store/translationStore/strings.japanese.d.ts +3 -0
  132. package/dist/types/components/store/translationStore/strings.korean.d.ts +3 -0
  133. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +3 -0
  134. package/dist/types/components/store/translationStore/strings.polish.d.ts +3 -0
  135. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +3 -0
  136. package/dist/types/components/store/translationStore/strings.russian.d.ts +3 -0
  137. package/dist/types/components/store/translationStore/strings.spanish.d.ts +3 -0
  138. package/dist/types/components/store/translationStore/strings.swedish.d.ts +3 -0
  139. package/dist/types/components/store/translationStore/strings.turkish.d.ts +3 -0
  140. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +3 -0
  141. package/dist/types/components/utils/checkout/isEuDapRemittance.d.ts +15 -0
  142. package/dist/types/scripts/_zonosBase.d.ts +12 -0
  143. package/dist/types/types/generated/graphql.internal.types.d.ts +94 -0
  144. package/dist/types/types/generated/graphql.internal.types.ts +114 -7
  145. package/dist/zonos-elements/index.esm.js +1 -1
  146. package/dist/zonos-elements/{p-ac762358.entry.js → p-0745e440.entry.js} +1 -1
  147. package/dist/zonos-elements/p-0b321037.system.entry.js +1 -0
  148. package/dist/zonos-elements/p-10715fee.system.entry.js +1 -0
  149. package/dist/zonos-elements/p-144a380d.entry.js +1 -0
  150. package/dist/zonos-elements/p-18135660.entry.js +1 -0
  151. package/dist/zonos-elements/{p-38d2da0d.entry.js → p-1e4dcd29.entry.js} +1 -1
  152. package/dist/zonos-elements/{p-3fa307d1.system.entry.js → p-293183c1.system.entry.js} +1 -1
  153. package/dist/zonos-elements/p-29b60bf3.system.js +1 -1
  154. package/dist/zonos-elements/p-2e0d813f.system.js +1 -0
  155. package/dist/zonos-elements/{p-03c357f5.system.js → p-2ea73ca2.system.js} +1 -1
  156. package/dist/zonos-elements/{p-96972001.entry.js → p-3cf22558.entry.js} +1 -1
  157. package/dist/zonos-elements/p-3cfa4880.js +1 -0
  158. package/dist/zonos-elements/p-3feff726.entry.js +1 -0
  159. package/dist/zonos-elements/p-42ba4da5.system.entry.js +1 -0
  160. package/dist/zonos-elements/p-45535a81.js +1 -0
  161. package/dist/zonos-elements/p-4596bdca.system.entry.js +1 -0
  162. package/dist/zonos-elements/p-48627415.system.entry.js +1 -0
  163. package/dist/zonos-elements/p-4a1c9fa1.entry.js +1 -0
  164. package/dist/zonos-elements/{p-3e914f69.system.entry.js → p-4a6f9c5e.system.entry.js} +1 -1
  165. package/dist/zonos-elements/p-4b06044f.js +1 -0
  166. package/dist/zonos-elements/p-4d29dcc8.entry.js +1 -0
  167. package/dist/zonos-elements/{p-79f58524.system.entry.js → p-4e6e9a3c.system.entry.js} +1 -1
  168. package/dist/zonos-elements/p-521cbeea.entry.js +1 -0
  169. package/dist/zonos-elements/p-534057ad.system.entry.js +1 -0
  170. package/dist/zonos-elements/p-55195dab.entry.js +1 -0
  171. package/dist/zonos-elements/p-58b56c69.entry.js +1 -0
  172. package/dist/zonos-elements/p-5ce88ef3.system.entry.js +1 -0
  173. package/dist/zonos-elements/{p-d6d18115.system.entry.js → p-5d3ea491.system.entry.js} +1 -1
  174. package/dist/zonos-elements/p-5e3b0ef4.entry.js +1 -0
  175. package/dist/zonos-elements/p-628fe742.system.entry.js +1 -0
  176. package/dist/zonos-elements/{p-be233925.system.js → p-647438d6.system.js} +1 -1
  177. package/dist/zonos-elements/p-684e27da.system.js +1 -0
  178. package/dist/zonos-elements/{p-863cfab2.system.js → p-6ad0f720.system.js} +2 -2
  179. package/dist/zonos-elements/p-77ac8bfe.entry.js +1 -0
  180. package/dist/zonos-elements/p-864525b4.system.entry.js +1 -0
  181. package/dist/zonos-elements/p-89befc63.system.entry.js +1 -0
  182. package/dist/zonos-elements/{p-12396d79.system.entry.js → p-998f9df5.system.entry.js} +1 -1
  183. package/dist/zonos-elements/p-9fab45aa.system.js +1 -0
  184. package/dist/zonos-elements/{p-9cb80484.js → p-a02ff788.js} +1 -1
  185. package/dist/zonos-elements/{p-e3376f43.js → p-a3bc7e97.js} +1 -1
  186. package/dist/zonos-elements/{p-a1f59d6d.system.entry.js → p-a7050d1e.system.entry.js} +1 -1
  187. package/dist/zonos-elements/p-ac1b60c8.system.entry.js +1 -0
  188. package/dist/zonos-elements/{p-819f182e.entry.js → p-ac9b9f7d.entry.js} +1 -1
  189. package/dist/zonos-elements/{p-a7028453.js → p-b1c86a5b.js} +1 -1
  190. package/dist/zonos-elements/p-b79989a6.entry.js +1 -0
  191. package/dist/zonos-elements/p-b7e4f1f5.entry.js +1 -0
  192. package/dist/zonos-elements/p-c209e36d.js +1 -0
  193. package/dist/zonos-elements/p-c750a2e0.system.entry.js +1 -0
  194. package/dist/zonos-elements/{p-f97da77c.entry.js → p-d5945ddc.entry.js} +1 -1
  195. package/dist/zonos-elements/p-d7bda14d.js +1 -0
  196. package/dist/zonos-elements/p-d90e79e4.system.js +1 -0
  197. package/dist/zonos-elements/{p-216d31ca.entry.js → p-ee434a71.entry.js} +1 -1
  198. package/dist/zonos-elements/{p-3ea7643b.system.js → p-f2768c92.system.js} +1 -1
  199. package/dist/zonos-elements/{p-3980e553.system.js → p-f2d50796.system.js} +1 -1
  200. package/dist/zonos-elements/{p-a9d01bfa.entry.js → p-f3a73132.entry.js} +1 -1
  201. package/dist/zonos-elements/{p-4900096c.system.entry.js → p-ffbf87c8.system.entry.js} +1 -1
  202. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  203. package/package.json +1 -1
  204. package/dist/esm-es5/cart-c3cd0036.js +0 -1
  205. package/dist/esm-es5/localization-a185c345.js +0 -1
  206. package/dist/zonos-elements/p-043e9a84.js +0 -1
  207. package/dist/zonos-elements/p-1906c8f7.js +0 -1
  208. package/dist/zonos-elements/p-1de258c3.js +0 -1
  209. package/dist/zonos-elements/p-2b2122bc.system.entry.js +0 -1
  210. package/dist/zonos-elements/p-2bdfa429.system.js +0 -1
  211. package/dist/zonos-elements/p-2c0a627d.js +0 -1
  212. package/dist/zonos-elements/p-387f33ae.js +0 -1
  213. package/dist/zonos-elements/p-391ea5c2.entry.js +0 -1
  214. package/dist/zonos-elements/p-3f8050ab.entry.js +0 -1
  215. package/dist/zonos-elements/p-51b537a6.system.entry.js +0 -1
  216. package/dist/zonos-elements/p-5427bf51.entry.js +0 -1
  217. package/dist/zonos-elements/p-577b543c.entry.js +0 -1
  218. package/dist/zonos-elements/p-5ce8b3c3.system.entry.js +0 -1
  219. package/dist/zonos-elements/p-70fd21c4.system.entry.js +0 -1
  220. package/dist/zonos-elements/p-785d6f43.entry.js +0 -1
  221. package/dist/zonos-elements/p-8873d332.system.entry.js +0 -1
  222. package/dist/zonos-elements/p-9295b932.entry.js +0 -1
  223. package/dist/zonos-elements/p-93c6c2df.system.entry.js +0 -1
  224. package/dist/zonos-elements/p-9d80357b.entry.js +0 -1
  225. package/dist/zonos-elements/p-a2353242.system.entry.js +0 -1
  226. package/dist/zonos-elements/p-a33e1549.system.entry.js +0 -1
  227. package/dist/zonos-elements/p-b376aba7.system.entry.js +0 -1
  228. package/dist/zonos-elements/p-b9034a75.system.entry.js +0 -1
  229. package/dist/zonos-elements/p-b9359002.system.entry.js +0 -1
  230. package/dist/zonos-elements/p-c68a7f3e.entry.js +0 -1
  231. package/dist/zonos-elements/p-d1f2e532.system.js +0 -1
  232. package/dist/zonos-elements/p-d62dab88.system.js +0 -1
  233. package/dist/zonos-elements/p-e562d953.system.js +0 -1
  234. package/dist/zonos-elements/p-e5f25b27.entry.js +0 -1
  235. package/dist/zonos-elements/p-e9e3c951.system.entry.js +0 -1
  236. package/dist/zonos-elements/p-ee70bd2e.entry.js +0 -1
  237. package/dist/zonos-elements/p-ee920b9b.entry.js +0 -1
  238. package/dist/zonos-elements/p-fb830355.entry.js +0 -1
@@ -401,8 +401,10 @@ export const adjustmentType = {
401
401
  };
402
402
  export const agency = {
403
403
  Ams: 'AMS',
404
+ Aphis: 'APHIS',
404
405
  Apl: 'APL',
405
406
  Cpsc: 'CPSC',
407
+ Epa: 'EPA',
406
408
  Fda: 'FDA',
407
409
  Fws: 'FWS',
408
410
  };
@@ -480,6 +482,7 @@ export const analyticsProviderType = {
480
482
  export const answerProvenance = {
481
483
  Inferred: 'INFERRED',
482
484
  Manual: 'MANUAL',
485
+ Supplied: 'SUPPLIED',
483
486
  };
484
487
  export const answerType = {
485
488
  Boolean: 'BOOLEAN',
@@ -489,6 +492,25 @@ export const answerType = {
489
492
  SingleSelect: 'SINGLE_SELECT',
490
493
  Text: 'TEXT',
491
494
  };
495
+ export const aphisItemType = {
496
+ Component: 'COMPONENT',
497
+ Product: 'PRODUCT',
498
+ };
499
+ export const aphisUnitOfMeasure = {
500
+ Amu: 'AMU',
501
+ Bh: 'BH',
502
+ Bqt: 'BQT',
503
+ Bx: 'BX',
504
+ Ct: 'CT',
505
+ G: 'G',
506
+ Kg: 'KG',
507
+ L: 'L',
508
+ Ml: 'ML',
509
+ No: 'NO',
510
+ Ptu: 'PTU',
511
+ Sad: 'SAD',
512
+ Stm: 'STM',
513
+ };
492
514
  export const apiUsageEntityType = {
493
515
  BillingCompany: 'BILLING_COMPANY',
494
516
  Organization: 'ORGANIZATION',
@@ -2176,6 +2198,11 @@ export const disputeType = {
2176
2198
  Inquiry: 'INQUIRY',
2177
2199
  PreArbitration: 'PRE_ARBITRATION',
2178
2200
  };
2201
+ export const documentExtractionStatus = {
2202
+ Active: 'ACTIVE',
2203
+ Deleted: 'DELETED',
2204
+ Failed: 'FAILED',
2205
+ };
2179
2206
  export const documentFilingType = {
2180
2207
  Electronic: 'ELECTRONIC',
2181
2208
  HardCopy: 'HARD_COPY',
@@ -2201,6 +2228,11 @@ export const documentUsage = {
2201
2228
  ElectronicTradeDocuments: 'ELECTRONIC_TRADE_DOCUMENTS',
2202
2229
  PricingDocuments: 'PRICING_DOCUMENTS',
2203
2230
  };
2231
+ export const documentVerdict = {
2232
+ Block: 'BLOCK',
2233
+ NotEvaluated: 'NOT_EVALUATED',
2234
+ Pass: 'PASS',
2235
+ };
2204
2236
  export const domesticCheckoutStatus = {
2205
2237
  Disabled: 'DISABLED',
2206
2238
  Enabled: 'ENABLED',
@@ -2236,6 +2268,11 @@ export const elementsUiTheme = {
2236
2268
  Light: 'LIGHT',
2237
2269
  System: 'SYSTEM',
2238
2270
  };
2271
+ export const emailDomainAuthenticationStatus = {
2272
+ Failed: 'FAILED',
2273
+ Pending: 'PENDING',
2274
+ Verified: 'VERIFIED',
2275
+ };
2239
2276
  export const emailPreferenceCategory = {
2240
2277
  AccountAndSecurity: 'ACCOUNT_AND_SECURITY',
2241
2278
  BetaAndResearch: 'BETA_AND_RESEARCH',
@@ -2346,6 +2383,21 @@ export const entryStatus = {
2346
2383
  Rejected: 'REJECTED',
2347
2384
  Submitted: 'SUBMITTED',
2348
2385
  };
2386
+ export const epaDisclaimCode = {
2387
+ A: 'A',
2388
+ B: 'B',
2389
+ C: 'C',
2390
+ D: 'D',
2391
+ };
2392
+ export const epaProgram = {
2393
+ Hfc: 'HFC',
2394
+ Ods: 'ODS',
2395
+ Ps1: 'PS1',
2396
+ Ps2: 'PS2',
2397
+ Ps3: 'PS3',
2398
+ Ts1: 'TS1',
2399
+ Vne: 'VNE',
2400
+ };
2349
2401
  export const errorDetail = {
2350
2402
  DeadlineExceeded: 'DEADLINE_EXCEEDED',
2351
2403
  EnhanceYourCalm: 'ENHANCE_YOUR_CALM',
@@ -3291,6 +3343,7 @@ export const labelBrokerType = {
3291
3343
  };
3292
3344
  export const labelCarrierCode = {
3293
3345
  Apc: 'APC',
3346
+ AustraliaPost: 'AUSTRALIA_POST',
3294
3347
  CanadaPost: 'CANADA_POST',
3295
3348
  Dhl: 'DHL',
3296
3349
  DirectLink: 'DIRECT_LINK',
@@ -3772,6 +3825,7 @@ export const landedCostSettingsHsCodeConsolidationType = {
3772
3825
  Hs10Coo: 'HS10_COO',
3773
3826
  Hs6: 'HS6',
3774
3827
  Hs6Coo: 'HS6_COO',
3828
+ None: 'NONE',
3775
3829
  };
3776
3830
  export const landedCostTariffRate = {
3777
3831
  Exact: 'EXACT',
@@ -3929,6 +3983,29 @@ export const manifestDataSource = {
3929
3983
  Predes: 'PREDES',
3930
3984
  Resdit: 'RESDIT',
3931
3985
  };
3986
+ export const manifestItemMeasurementType = {
3987
+ AlcoholByVolume: 'ALCOHOL_BY_VOLUME',
3988
+ Height: 'HEIGHT',
3989
+ Length: 'LENGTH',
3990
+ Volume: 'VOLUME',
3991
+ Weight: 'WEIGHT',
3992
+ Width: 'WIDTH',
3993
+ };
3994
+ export const manifestItemUnitOfMeasure = {
3995
+ Centimeter: 'CENTIMETER',
3996
+ Foot: 'FOOT',
3997
+ Gram: 'GRAM',
3998
+ Inch: 'INCH',
3999
+ Kilogram: 'KILOGRAM',
4000
+ Liter: 'LITER',
4001
+ Meter: 'METER',
4002
+ Milliliter: 'MILLILITER',
4003
+ Millimeter: 'MILLIMETER',
4004
+ Ounce: 'OUNCE',
4005
+ Percentage: 'PERCENTAGE',
4006
+ Pound: 'POUND',
4007
+ Yard: 'YARD',
4008
+ };
3932
4009
  export const manifestLineEndUse = {
3933
4010
  Documents: 'DOCUMENTS',
3934
4011
  ForResale: 'FOR_RESALE',
@@ -5125,6 +5202,7 @@ export const shipmentCartonSpecialService = {
5125
5202
  SignatureOption: 'SIGNATURE_OPTION',
5126
5203
  };
5127
5204
  export const shipmentConsolidationCarrier = {
5205
+ AustraliaPost: 'AUSTRALIA_POST',
5128
5206
  CanadaPost: 'CANADA_POST',
5129
5207
  JapanPost: 'JAPAN_POST',
5130
5208
  };
@@ -1,9 +1,10 @@
1
1
  import { c as createStore, z as zonosStore } from './zonosStore-b7d3f9b0.js';
2
- import { s as storageStore, t as translate, l as localizationStore, j as getOverridenZCountry, f as filterValidTests, d as storageStoreSetEnabledVariantTestKeys } from './localization-a185c345.js';
2
+ import { s as storageStore, t as translate, l as localizationStore, j as getOverridenZCountry, f as filterValidTests, d as storageStoreSetEnabledVariantTestKeys } from './localization-d49867ed.js';
3
3
  import { l as log, b as allLogs } from './VarianceTest-572cecf5.js';
4
4
  import { h as handleFetch, l as logError, f as fallbackApiList, g as getIsTestMode, a as getIsStagingMode, s as sendErrorLog, j as jsonParse } from './handleFetch-a844cac1.js';
5
5
  import { i as isDarkColor } from './isDarkColor-039ef212.js';
6
6
  import { g as getBorderRadius } from './getBorderRadius-dc982fe6.js';
7
+ import { e as euCountryCodes } from './TaxId-50d72254.js';
7
8
 
8
9
  const getCheckoutSession = async () => {
9
10
  if (!storageStore.checkoutSessionId) {
@@ -2179,6 +2180,21 @@ stripeStoreOnChange('clientSecret', clientSecret => {
2179
2180
  }
2180
2181
  });
2181
2182
 
2183
+ /**
2184
+ * EU 3-EUR cutover (05CHECK-893): when shipping to an EU country with a POSTAL
2185
+ * service level whose DAP landed cost has remittance available, we keep treating
2186
+ * the quote as DAP (duties paid upon delivery) instead of converting it to DDP.
2187
+ * The cart subtotals then show taxes and fees as collected while duties are
2188
+ * estimated and paid on delivery.
2189
+ *
2190
+ * @see [[cartStoreGetMethod]] for the DAP/DDP conversion this guards.
2191
+ */
2192
+ const isEuDapRemittance = ({ deliveryType, landedCost, shipToCountry, }) => landedCost.method === 'DAP' &&
2193
+ deliveryType === 'POSTAL' &&
2194
+ landedCost.remittance.length > 0 &&
2195
+ !!shipToCountry &&
2196
+ euCountryCodes.includes(shipToCountry);
2197
+
2182
2198
  const { onChange: cartStoreOnChange, reset, state: cartStore, } = createStore(() => ({
2183
2199
  addressFormRenderType: 'stripe',
2184
2200
  adjustmentTotal: 0,
@@ -2453,13 +2469,22 @@ const cartStoreReCalculateTotal = async ({ adjustmentsAmount, cartId, currency,
2453
2469
  /**
2454
2470
  * For some service levels, the landed cost that's DAP and we do remittance on behalf of the merchant, these landed cost should be treated as DDP
2455
2471
  */
2456
- const cartStoreGetMethod = (landedCost) => {
2457
- var _a, _b, _c;
2472
+ const cartStoreGetMethod = (landedCost, deliveryType) => {
2473
+ var _a, _b, _c, _d;
2458
2474
  // If the landed cost is DAP and the country is domestic, then treat it as DDP since no duty or fee is due at the door
2459
2475
  if (landedCost.method === 'DAP' &&
2460
2476
  ((_b = (_a = zonosStore.genericSettings) === null || _a === void 0 ? void 0 : _a.domesticCountries) === null || _b === void 0 ? void 0 : _b.includes(((_c = stripeStore.stripeAddressEventData) === null || _c === void 0 ? void 0 : _c.value.address.country) || 'US'))) {
2461
2477
  return 'DDP';
2462
2478
  }
2479
+ // EU 3-EUR cutover (05CHECK-893): keep EU POSTAL remittance quotes as DAP so
2480
+ // the shopper is told duties are paid upon delivery, even though we remit.
2481
+ if (isEuDapRemittance({
2482
+ deliveryType,
2483
+ landedCost,
2484
+ shipToCountry: (_d = stripeStore.stripeAddressEventData) === null || _d === void 0 ? void 0 : _d.value.address.country,
2485
+ })) {
2486
+ return 'DAP';
2487
+ }
2463
2488
  if (landedCost.method === 'DAP' &&
2464
2489
  landedCost.remittance.length &&
2465
2490
  landedCost.landedCostGuaranteeCode === 'ZONOS') {
@@ -2468,7 +2493,7 @@ const cartStoreGetMethod = (landedCost) => {
2468
2493
  return landedCost.method;
2469
2494
  };
2470
2495
  const cartStoreUpdateSelectedShippingOption = async ({ applySubtotalsOnly, landedCostId, selectedShippingOption, }) => {
2471
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
2496
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
2472
2497
  log('Updating selected shipping option', 'info', {
2473
2498
  landedCostId,
2474
2499
  selectedShippingOption,
@@ -2498,13 +2523,13 @@ const cartStoreUpdateSelectedShippingOption = async ({ applySubtotalsOnly, lande
2498
2523
  if (dutiesTaxesFeesEstimate) {
2499
2524
  log(`DAP quote, using estimate: ${dutiesTaxesFeesEstimate}`, 'info');
2500
2525
  }
2501
- cartStore.landedCostMethod = cartStoreGetMethod(selectedLandedCost.landedCost);
2526
+ cartStore.landedCostMethod = cartStoreGetMethod(selectedLandedCost.landedCost, (_c = selectedShippingOption.shippingProfile) === null || _c === void 0 ? void 0 : _c.serviceLevel.deliveryType);
2502
2527
  // update shipping value and dutiesTaxFees on selectedShippingOption change
2503
2528
  cartStore.shipping = selectedLandedCost.subtotals.shipping;
2504
2529
  // update deminimis status
2505
- const isGuarantee = ((_c = selectedLandedCost === null || selectedLandedCost === void 0 ? void 0 : selectedLandedCost.landedCost) === null || _c === void 0 ? void 0 : _c.landedCostGuaranteeCode) === 'ZONOS';
2530
+ const isGuarantee = ((_d = selectedLandedCost === null || selectedLandedCost === void 0 ? void 0 : selectedLandedCost.landedCost) === null || _d === void 0 ? void 0 : _d.landedCostGuaranteeCode) === 'ZONOS';
2506
2531
  // one item in deminimis with type of duty and tax has threshold value is "ABOVE"
2507
- const isAboveDeminimis = !!((_e = (_d = selectedLandedCost === null || selectedLandedCost === void 0 ? void 0 : selectedLandedCost.landedCost) === null || _d === void 0 ? void 0 : _d.deMinimis) === null || _e === void 0 ? void 0 : _e.find(item => ['DUTY', 'TAX'].includes(item.type) && item.threshold === 'ABOVE'));
2532
+ const isAboveDeminimis = !!((_f = (_e = selectedLandedCost === null || selectedLandedCost === void 0 ? void 0 : selectedLandedCost.landedCost) === null || _e === void 0 ? void 0 : _e.deMinimis) === null || _f === void 0 ? void 0 : _f.find(item => ['DUTY', 'TAX'].includes(item.type) && item.threshold === 'ABOVE'));
2508
2533
  cartStore.isSelectedShippingAboveDeminimis = isAboveDeminimis;
2509
2534
  cartStore.isSelectedShippingGuarantee = isGuarantee;
2510
2535
  let updateCalculateStatus = false;
@@ -2529,22 +2554,22 @@ const cartStoreUpdateSelectedShippingOption = async ({ applySubtotalsOnly, lande
2529
2554
  billToPartyId: stripeStore.partyBillingId,
2530
2555
  cartId: window.Zonos.cartId,
2531
2556
  dutiesTaxesFeesEstimate: dutiesTaxesFeesEstimate,
2532
- landedCostId: (_f = selectedLandedCost.landedCost) === null || _f === void 0 ? void 0 : _f.id,
2557
+ landedCostId: (_g = selectedLandedCost.landedCost) === null || _g === void 0 ? void 0 : _g.id,
2533
2558
  shipToPartyId: stripeStore.partyShippingId,
2534
2559
  varianceTestInput: storageStore.enabledVariantTestKeys || [],
2535
2560
  });
2536
2561
  }
2537
2562
  // update conditionally render pay in USD button
2538
- const firstItem = (_g = cartStore.items.find(Boolean)) === null || _g === void 0 ? void 0 : _g.currencyCode;
2563
+ const firstItem = (_h = cartStore.items.find(Boolean)) === null || _h === void 0 ? void 0 : _h.currencyCode;
2539
2564
  // Stripe address event data should be available at this point
2540
- const shipToCountry = ((_h = stripeStore.stripeAddressEventData) === null || _h === void 0 ? void 0 : _h.value.address.country) || 'US';
2565
+ const shipToCountry = ((_j = stripeStore.stripeAddressEventData) === null || _j === void 0 ? void 0 : _j.value.address.country) || 'US';
2541
2566
  // Only show pay in USD button if item's currency is in USD, the setting is enabled and the order presentment currency is not USD, also only in USD settlement ship to country list
2542
2567
  stripeStore.shouldRenderPayInUsdButton =
2543
2568
  firstItem === 'USD' &&
2544
2569
  zonosStore.checkoutSettings.allowedSettlementCurrencies ===
2545
2570
  'LOCAL_AND_USD' &&
2546
- ((_j = cartStore.checkoutSession) === null || _j === void 0 ? void 0 : _j.subtotals.presentmentCurrencyCode) !== 'USD' &&
2547
- !!((_l = (_k = zonosStore.genericSettings) === null || _k === void 0 ? void 0 : _k.usdSettlementCountryEnabled) === null || _l === void 0 ? void 0 : _l.includes(shipToCountry));
2571
+ ((_k = cartStore.checkoutSession) === null || _k === void 0 ? void 0 : _k.subtotals.presentmentCurrencyCode) !== 'USD' &&
2572
+ !!((_m = (_l = zonosStore.genericSettings) === null || _l === void 0 ? void 0 : _l.usdSettlementCountryEnabled) === null || _m === void 0 ? void 0 : _m.includes(shipToCountry));
2548
2573
  return updateCalculateStatus;
2549
2574
  };
2550
2575
  const cartStoreStartCheckoutInterval = ({ isPreview, sessionTimeout, }) => {
@@ -2699,4 +2724,4 @@ const cartStoreUpdateStoreCredit = () => {
2699
2724
  }, 300);
2700
2725
  };
2701
2726
 
2702
- export { storeCreditStoreSetUseFullBalance as $, validateCheckoutSession as A, storeCreditStoreCreateOrder as B, stripeStoreConfirmPayment as C, stripeStoreHandleInventoryRefund as D, policyConsentStore as E, stripeStoreReset as F, cartStoreOnChange as G, stripeStoreOnChange as H, storeCreditStoreGetEffectiveAmount as I, stripeStoreRecordPolicyConsent as J, stripeStoreBuildAddressForPartyCreate as K, cartStoreUpdateSelectedShippingOption as L, cartStoreHasOneEligibleItem as M, stripeStoreApplyPromoCode as N, stripeStoreRemovePromoCode as O, stripeStoreResetPromoCode as P, stripeStoreMessageBasedOnStatus as Q, storeCreditStore as R, storeCreditStoreReset as S, stripeStoreTranslateAddressToLatin as T, extractName as U, stripeStoreAsyncAddressUpdate as V, cartStoreGetShippingTransitInfo as W, cartStoreGetMethod as X, sortServiceLevelOptionsByAmount as Y, getEnabledPolicies as Z, storeCreditStoreSetEnabled as _, stripeStoreSaveDomesticShippingSession as a, cartStoreUpdateStoreCredit as a0, storeCreditStoreSetAmount as a1, storeCreditStoreRefreshBalance as a2, stripeStore as b, stripeStoreRetrievePayment as c, cartStore as d, cartStoreUpdateItems as e, cartStoreReset as f, cartStoreResetTabItems as g, cartStoreClearCheckoutInterval as h, initStripeElements as i, stripeStoreInitCheckoutSession as j, stripeStoreGetPaymentIntent as k, cartStoreStartCheckoutInterval as l, getCheckoutSessionBody as m, cartStoreUpdateToErrorState as n, stripeStoreCleanupDomesticShippingSession as o, policyConsentStoreReset as p, cartStoreSetCheckoutSession as q, stripeStorePrefetchLandedCost as r, stripeStoreGetDomesticShippingSession as s, trackConversionEvent as t, cartStoreNextStep as u, isPolicyConsentRequired as v, stripeStoreUpdateCheckoutSessionBaseCurrency as w, stripeStoreHandleInventoryCheck as x, storeCreditStoreApplyCredit as y, storeCreditStoreCoversFullAmount as z };
2727
+ export { storeCreditStoreSetEnabled as $, validateCheckoutSession as A, storeCreditStoreCreateOrder as B, stripeStoreConfirmPayment as C, stripeStoreHandleInventoryRefund as D, policyConsentStore as E, stripeStoreReset as F, cartStoreOnChange as G, stripeStoreOnChange as H, storeCreditStoreGetEffectiveAmount as I, stripeStoreRecordPolicyConsent as J, stripeStoreBuildAddressForPartyCreate as K, cartStoreUpdateSelectedShippingOption as L, cartStoreHasOneEligibleItem as M, isEuDapRemittance as N, stripeStoreApplyPromoCode as O, stripeStoreRemovePromoCode as P, stripeStoreResetPromoCode as Q, stripeStoreMessageBasedOnStatus as R, storeCreditStore as S, storeCreditStoreReset as T, stripeStoreTranslateAddressToLatin as U, extractName as V, stripeStoreAsyncAddressUpdate as W, cartStoreGetShippingTransitInfo as X, cartStoreGetMethod as Y, sortServiceLevelOptionsByAmount as Z, getEnabledPolicies as _, stripeStoreSaveDomesticShippingSession as a, storeCreditStoreSetUseFullBalance as a0, cartStoreUpdateStoreCredit as a1, storeCreditStoreSetAmount as a2, storeCreditStoreRefreshBalance as a3, stripeStore as b, stripeStoreRetrievePayment as c, cartStore as d, cartStoreUpdateItems as e, cartStoreReset as f, cartStoreResetTabItems as g, cartStoreClearCheckoutInterval as h, initStripeElements as i, stripeStoreInitCheckoutSession as j, stripeStoreGetPaymentIntent as k, cartStoreStartCheckoutInterval as l, getCheckoutSessionBody as m, cartStoreUpdateToErrorState as n, stripeStoreCleanupDomesticShippingSession as o, policyConsentStoreReset as p, cartStoreSetCheckoutSession as q, stripeStorePrefetchLandedCost as r, stripeStoreGetDomesticShippingSession as s, trackConversionEvent as t, cartStoreNextStep as u, isPolicyConsentRequired as v, stripeStoreUpdateCheckoutSessionBaseCurrency as w, stripeStoreHandleInventoryCheck as x, storeCreditStoreApplyCredit as y, storeCreditStoreCoversFullAmount as z };
@@ -1,8 +1,8 @@
1
1
  import { c as createStore, z as zonosStore } from './zonosStore-b7d3f9b0.js';
2
- import { t as translate, l as localizationStore, s as storageStore } from './localization-a185c345.js';
2
+ import { t as translate, l as localizationStore, s as storageStore } from './localization-d49867ed.js';
3
3
  import { l as logError$1, h as handleFetch, s as sendErrorLog } from './handleFetch-a844cac1.js';
4
4
  import { l as log, b as allLogs } from './VarianceTest-572cecf5.js';
5
- import { b as stripeStore, K as stripeStoreBuildAddressForPartyCreate, d as cartStore, L as cartStoreUpdateSelectedShippingOption } from './cart-c3cd0036.js';
5
+ import { b as stripeStore, K as stripeStoreBuildAddressForPartyCreate, d as cartStore, L as cartStoreUpdateSelectedShippingOption } from './cart-402dcde5.js';
6
6
 
7
7
  // src/constant/common.ts
8
8
  function _array_like_to_array(arr, len) {
@@ -1,4 +1,4 @@
1
- import { l as localizationStore } from './localization-a185c345.js';
1
+ import { l as localizationStore } from './localization-d49867ed.js';
2
2
 
3
3
  /**
4
4
  * Since the backend and the frontend are using the same keys,
package/dist/esm/index.js CHANGED
@@ -131,7 +131,7 @@ const getZonosQaUrl = () => {
131
131
  return null;
132
132
  }
133
133
  const qaUrl = extractZonosQaUrl(window.location.href);
134
- const cdnUrl = "https://v1.3.275.js.zonos.com";
134
+ const cdnUrl = "https://v1.3.277.js.zonos.com";
135
135
  // when the qaUrl is not set and the built URL is from the test domain, use the test domain for testing
136
136
  if (!qaUrl &&
137
137
  (cdnUrl.includes('test.') ||
@@ -278,7 +278,20 @@ const initStripe = (maybeStripe, args, startTime) => {
278
278
 
279
279
  // Execute our own script injection after a tick to give users time to do their
280
280
  // own script injection.
281
- const stripePromise = Promise.resolve().then(() => zonosStripeLoadScript(null));
281
+ const hasCheckoutCartCallback = () => {
282
+ var _a, _b;
283
+ return typeof window !== 'undefined' &&
284
+ (typeof ((_a = window.Zonos) === null || _a === void 0 ? void 0 : _a.createCartId) === 'function' ||
285
+ typeof ((_b = window.Zonos) === null || _b === void 0 ? void 0 : _b.buildCartDetail) === 'function');
286
+ };
287
+ const stripePromise = Promise.resolve().then(() => {
288
+ // Skip eagerly loading Stripe when no checkout cart callback is configured
289
+ // (e.g. a Hello-only integration). Stripe is loaded on demand instead.
290
+ if (!hasCheckoutCartCallback()) {
291
+ return null;
292
+ }
293
+ return zonosStripeLoadScript(null);
294
+ });
282
295
  let loadCalled = false;
283
296
  stripePromise.catch((err) => {
284
297
  if (!loadCalled) {
@@ -287,9 +300,14 @@ stripePromise.catch((err) => {
287
300
  }
288
301
  });
289
302
  const zonosLoadStripe = async (...args) => {
303
+ var _a;
290
304
  loadCalled = true;
291
305
  const startTime = Date.now();
292
- return stripePromise.then(maybeStripe => initStripe(maybeStripe, args, startTime));
306
+ // Fall back to loading Stripe on demand if the eager preload was skipped
307
+ // (callbacks set after the microtask, or Collect/Invoice flows that don't
308
+ // use cart callbacks). `zonosStripeLoadScript` is idempotent.
309
+ const maybeStripe = (_a = (await stripePromise)) !== null && _a !== void 0 ? _a : (await zonosStripeLoadScript(null));
310
+ return initStripe(maybeStripe, args, startTime);
293
311
  };
294
312
 
295
313
  const TEMP_CART_ID_QUERY_PARAM = 'tempCartUUID';
@@ -379,10 +397,10 @@ const zonosLoadUrl = (() => {
379
397
  return null;
380
398
  })();
381
399
  const startLoadTime = Date.now();
382
- const ZONOS_URL = "https://v1.3.275.js.zonos.com";
383
- const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.275";
384
- const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.275";
385
- const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.275";
400
+ const ZONOS_URL = "https://v1.3.277.js.zonos.com";
401
+ const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.277";
402
+ const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.277";
403
+ const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.277";
386
404
  const GOOGLE_FONT_URL = 'https://fonts.googleapis.com';
387
405
  const GOOGLE_FONT_REGEX = /^https:\/\/fonts\.googleapis\.com/;
388
406
  class Zonos {
@@ -400,7 +418,7 @@ Zonos.iframeLogType = typeof window !== 'undefined'
400
418
  ? new URLSearchParams(window.location.search).get('iframeLogType')
401
419
  : null;
402
420
  Zonos.isBigCommerce = false;
403
- Zonos.releaseDate = "1782426635166";
421
+ Zonos.releaseDate = "1782835765706";
404
422
  Zonos.isLegacyCheckout = false;
405
423
  Zonos.googleAnalyticId = null;
406
424
  Zonos.googleAnalyticReady = false;
@@ -425,7 +443,7 @@ Zonos.isNpm = true;
425
443
  Zonos.zonosQaUrl = null;
426
444
  Zonos.zonosQaUrlApi = null;
427
445
  Zonos.trackEventLogs = [];
428
- Zonos.version = `v${"1.3.275"}`;
446
+ Zonos.version = `v${"1.3.277"}`;
429
447
  Zonos.modeAlerted = false;
430
448
  Zonos.cartData = null;
431
449
  Zonos.paypal = null;
@@ -438,6 +456,11 @@ Zonos.logIntervalId = null;
438
456
  Zonos.init = async (params) => {
439
457
  const { appearance, checkoutSettings, currencyConverter, helloSettings, onCountryChange, overrideCurrencyFormat, storeId, zonosApiKey, } = params;
440
458
  _a.cartId = getCartIdFromQueryParam();
459
+ // Expose the checkout cart callbacks on the global so Stripe loading can be
460
+ // gated on whether at least one of them is configured.
461
+ _a.createCartId = checkoutSettings === null || checkoutSettings === void 0 ? void 0 : checkoutSettings.createCartId;
462
+ // eslint-disable-next-line deprecation/deprecation -- intentionally mirror the (deprecated) callback so Stripe loading can be gated on it
463
+ _a.buildCartDetail = checkoutSettings === null || checkoutSettings === void 0 ? void 0 : checkoutSettings.buildCartDetail;
441
464
  if (_a.doneInit) {
442
465
  // do nothing if zonos is already initialized
443
466
  return;
@@ -1,6 +1,6 @@
1
1
  import { c as createStore, z as zonosStore } from './zonosStore-b7d3f9b0.js';
2
- import { b as stripeStore, K as stripeStoreBuildAddressForPartyCreate, d as cartStore, L as cartStoreUpdateSelectedShippingOption } from './cart-c3cd0036.js';
3
- import { s as storageStore } from './localization-a185c345.js';
2
+ import { b as stripeStore, K as stripeStoreBuildAddressForPartyCreate, d as cartStore, L as cartStoreUpdateSelectedShippingOption } from './cart-402dcde5.js';
3
+ import { s as storageStore } from './localization-d49867ed.js';
4
4
  import { h as handleFetch, s as sendErrorLog, l as logError } from './handleFetch-a844cac1.js';
5
5
  import { b as allLogs } from './VarianceTest-572cecf5.js';
6
6
 
@@ -291,6 +291,9 @@ const stringsArabic = {
291
291
  'Duties will apply to all orders.': {
292
292
  value: 'ستنطبق الرسوم على جميع الطلبات.',
293
293
  },
294
+ 'Duties will be charged upon delivery.': {
295
+ value: 'سيتم فرض الرسوم عند التسليم.',
296
+ },
294
297
  'Duties, taxes, and fees': {
295
298
  value: 'الرسوم والضرائب والرسوم',
296
299
  },
@@ -1147,6 +1150,9 @@ const stringsBase = {
1147
1150
  'Duties will apply to all orders.': {
1148
1151
  value: 'Duties will apply to all orders.',
1149
1152
  },
1153
+ 'Duties will be charged upon delivery.': {
1154
+ value: 'Duties will be charged upon delivery.',
1155
+ },
1150
1156
  'Duties, taxes, and fees': {
1151
1157
  value: 'Duties, taxes, and fees',
1152
1158
  },
@@ -2002,6 +2008,9 @@ const stringsChinese = {
2002
2008
  'Duties will apply to all orders.': {
2003
2009
  value: '所有订单都将适用关税。',
2004
2010
  },
2011
+ 'Duties will be charged upon delivery.': {
2012
+ value: '关税将在交货时收取。',
2013
+ },
2005
2014
  'Duties, taxes, and fees': {
2006
2015
  value: '关税、税款和费用',
2007
2016
  },
@@ -2857,6 +2866,9 @@ const stringsDanish = {
2857
2866
  'Duties will apply to all orders.': {
2858
2867
  value: 'Told vil gælde for alle ordrer.',
2859
2868
  },
2869
+ 'Duties will be charged upon delivery.': {
2870
+ value: 'Told vil blive opkrævet ved levering.',
2871
+ },
2860
2872
  'Duties, taxes, and fees': {
2861
2873
  value: 'Told, skatter og gebyrer',
2862
2874
  },
@@ -3712,6 +3724,9 @@ const stringsDutch = {
3712
3724
  'Duties will apply to all orders.': {
3713
3725
  value: 'Invoerrechten zullen van toepassing zijn op alle bestellingen.',
3714
3726
  },
3727
+ 'Duties will be charged upon delivery.': {
3728
+ value: 'Invoerrechten worden bij levering in rekening gebracht.',
3729
+ },
3715
3730
  'Duties, taxes, and fees': {
3716
3731
  value: 'Heffingen, belastingen en kosten',
3717
3732
  },
@@ -4567,6 +4582,9 @@ const stringsFrench = {
4567
4582
  'Duties will apply to all orders.': {
4568
4583
  value: "Des droits de douane s'appliqueront à toutes les commandes.",
4569
4584
  },
4585
+ 'Duties will be charged upon delivery.': {
4586
+ value: 'Les droits seront facturés à la livraison.',
4587
+ },
4570
4588
  'Duties, taxes, and fees': {
4571
4589
  value: 'Droits, taxes et frais',
4572
4590
  },
@@ -5422,6 +5440,9 @@ const stringsGerman = {
5422
5440
  'Duties will apply to all orders.': {
5423
5441
  value: 'Zölle werden auf alle Bestellungen angewendet.',
5424
5442
  },
5443
+ 'Duties will be charged upon delivery.': {
5444
+ value: 'Zölle werden bei Lieferung berechnet.',
5445
+ },
5425
5446
  'Duties, taxes, and fees': {
5426
5447
  value: 'Zölle, Steuern und Gebühren',
5427
5448
  },
@@ -6277,6 +6298,9 @@ const stringsHebrew = {
6277
6298
  'Duties will apply to all orders.': {
6278
6299
  value: 'חובות יחולו על כל ההזמנות.',
6279
6300
  },
6301
+ 'Duties will be charged upon delivery.': {
6302
+ value: 'מכס ייגבה בעת המסירה.',
6303
+ },
6280
6304
  'Duties, taxes, and fees': {
6281
6305
  value: 'מכס, מסים ועמלות',
6282
6306
  },
@@ -7132,6 +7156,9 @@ const stringsIndonesian = {
7132
7156
  'Duties will apply to all orders.': {
7133
7157
  value: 'Bea akan berlaku untuk semua pesanan.',
7134
7158
  },
7159
+ 'Duties will be charged upon delivery.': {
7160
+ value: 'Bea akan dikenakan saat pengiriman.',
7161
+ },
7135
7162
  'Duties, taxes, and fees': {
7136
7163
  value: 'Bea masuk, pajak, dan biaya',
7137
7164
  },
@@ -7987,6 +8014,9 @@ const stringsItalian = {
7987
8014
  'Duties will apply to all orders.': {
7988
8015
  value: 'I dazi si applicheranno a tutti gli ordini.',
7989
8016
  },
8017
+ 'Duties will be charged upon delivery.': {
8018
+ value: 'I dazi saranno addebitati alla consegna.',
8019
+ },
7990
8020
  'Duties, taxes, and fees': {
7991
8021
  value: 'Dazi, tasse e spese',
7992
8022
  },
@@ -8842,6 +8872,9 @@ const stringsJapanese = {
8842
8872
  'Duties will apply to all orders.': {
8843
8873
  value: 'すべての注文に関税が適用されます。',
8844
8874
  },
8875
+ 'Duties will be charged upon delivery.': {
8876
+ value: '配達時に関税が請求されます。',
8877
+ },
8845
8878
  'Duties, taxes, and fees': {
8846
8879
  value: '関税、税金、手数料',
8847
8880
  },
@@ -9697,6 +9730,9 @@ const stringsKorean = {
9697
9730
  'Duties will apply to all orders.': {
9698
9731
  value: '모든 주문에 관세가 적용됩니다.',
9699
9732
  },
9733
+ 'Duties will be charged upon delivery.': {
9734
+ value: '관세는 배송 시 부과됩니다.',
9735
+ },
9700
9736
  'Duties, taxes, and fees': {
9701
9737
  value: '관세, 세금 및 수수료',
9702
9738
  },
@@ -10552,6 +10588,9 @@ const stringsNorwegian = {
10552
10588
  'Duties will apply to all orders.': {
10553
10589
  value: 'Avgifter vil gjelde for alle bestillinger.',
10554
10590
  },
10591
+ 'Duties will be charged upon delivery.': {
10592
+ value: 'Avgifter vil bli belastet ved levering.',
10593
+ },
10555
10594
  'Duties, taxes, and fees': {
10556
10595
  value: 'Avgifter, skatter og gebyrer',
10557
10596
  },
@@ -11407,6 +11446,9 @@ const stringsPolish = {
11407
11446
  'Duties will apply to all orders.': {
11408
11447
  value: 'Cła będą miały zastosowanie do wszystkich zamówień.',
11409
11448
  },
11449
+ 'Duties will be charged upon delivery.': {
11450
+ value: 'Cła zostaną naliczone przy dostawie.',
11451
+ },
11410
11452
  'Duties, taxes, and fees': {
11411
11453
  value: 'Cła, podatki i opłaty',
11412
11454
  },
@@ -12262,6 +12304,9 @@ const stringsPortuguese = {
12262
12304
  'Duties will apply to all orders.': {
12263
12305
  value: 'Impostos serão aplicados a todos os pedidos.',
12264
12306
  },
12307
+ 'Duties will be charged upon delivery.': {
12308
+ value: 'As taxas serão cobradas na entrega.',
12309
+ },
12265
12310
  'Duties, taxes, and fees': {
12266
12311
  value: 'Impostos, taxas e emolumentos',
12267
12312
  },
@@ -13117,6 +13162,9 @@ const stringsRussian = {
13117
13162
  'Duties will apply to all orders.': {
13118
13163
  value: 'Пошлины будут применяться ко всем заказам.',
13119
13164
  },
13165
+ 'Duties will be charged upon delivery.': {
13166
+ value: 'Пошлины будут взиматься при доставке.',
13167
+ },
13120
13168
  'Duties, taxes, and fees': {
13121
13169
  value: 'Пошлины, налоги и сборы',
13122
13170
  },
@@ -13972,6 +14020,9 @@ const stringsSpanish = {
13972
14020
  'Duties will apply to all orders.': {
13973
14021
  value: 'Se aplicarán aranceles a todos los pedidos.',
13974
14022
  },
14023
+ 'Duties will be charged upon delivery.': {
14024
+ value: 'Los aranceles se cobrarán al momento de la entrega.',
14025
+ },
13975
14026
  'Duties, taxes, and fees': {
13976
14027
  value: 'Aranceles, impuestos y cuotas',
13977
14028
  },
@@ -14827,6 +14878,9 @@ const stringsSwedish = {
14827
14878
  'Duties will apply to all orders.': {
14828
14879
  value: 'Tullar kommer att gälla för alla beställningar.',
14829
14880
  },
14881
+ 'Duties will be charged upon delivery.': {
14882
+ value: 'Tullar debiteras vid leverans.',
14883
+ },
14830
14884
  'Duties, taxes, and fees': {
14831
14885
  value: 'Tull, skatter och avgifter',
14832
14886
  },
@@ -15682,6 +15736,9 @@ const stringsTurkish = {
15682
15736
  'Duties will apply to all orders.': {
15683
15737
  value: 'Tüm siparişlere gümrük vergisi uygulanacaktır.',
15684
15738
  },
15739
+ 'Duties will be charged upon delivery.': {
15740
+ value: 'Harçlar teslimatta tahsil edilecektir.',
15741
+ },
15685
15742
  'Duties, taxes, and fees': {
15686
15743
  value: 'Gümrük vergisi, vergiler ve ücretler',
15687
15744
  },
@@ -16537,6 +16594,9 @@ const stringsVietnamese = {
16537
16594
  'Duties will apply to all orders.': {
16538
16595
  value: 'Thuế sẽ áp dụng cho tất cả các đơn hàng.',
16539
16596
  },
16597
+ 'Duties will be charged upon delivery.': {
16598
+ value: 'Thuế sẽ được tính khi giao hàng.',
16599
+ },
16540
16600
  'Duties, taxes, and fees': {
16541
16601
  value: 'Thuế, phí và lệ phí',
16542
16602
  },
@@ -1,6 +1,6 @@
1
1
  import { z as zonosStore, c as createStore } from './zonosStore-b7d3f9b0.js';
2
- import { t as trackConversionEvent, v as isPolicyConsentRequired, E as policyConsentStore, A as validateCheckoutSession, b as stripeStore, d as cartStore, x as stripeStoreHandleInventoryCheck, y as storeCreditStoreApplyCredit, J as stripeStoreRecordPolicyConsent, z as storeCreditStoreCoversFullAmount, B as storeCreditStoreCreateOrder, u as cartStoreNextStep, h as cartStoreClearCheckoutInterval, I as storeCreditStoreGetEffectiveAmount } from './cart-c3cd0036.js';
3
- import { t as translate, s as storageStore } from './localization-a185c345.js';
2
+ import { t as trackConversionEvent, v as isPolicyConsentRequired, E as policyConsentStore, A as validateCheckoutSession, b as stripeStore, d as cartStore, x as stripeStoreHandleInventoryCheck, y as storeCreditStoreApplyCredit, J as stripeStoreRecordPolicyConsent, z as storeCreditStoreCoversFullAmount, B as storeCreditStoreCreateOrder, u as cartStoreNextStep, h as cartStoreClearCheckoutInterval, I as storeCreditStoreGetEffectiveAmount } from './cart-402dcde5.js';
3
+ import { t as translate, s as storageStore } from './localization-d49867ed.js';
4
4
  import { h as handleFetch, g as getIsTestMode, l as logError, j as jsonParse } from './handleFetch-a844cac1.js';
5
5
  import { i as isContrastColor } from './isContrastColor-089de6ac.js';
6
6
  import { l as log } from './VarianceTest-572cecf5.js';
@@ -1,5 +1,5 @@
1
- import { d as cartStore } from './cart-c3cd0036.js';
2
- import { s as storageStore } from './localization-a185c345.js';
1
+ import { d as cartStore } from './cart-402dcde5.js';
2
+ import { s as storageStore } from './localization-d49867ed.js';
3
3
  import { l as logError, h as handleFetch } from './handleFetch-a844cac1.js';
4
4
 
5
5
  const placeTestOrder = async () => {
@@ -1,5 +1,5 @@
1
- import { d as cartStore } from './cart-c3cd0036.js';
2
- import { w as applyInclusiveEffectiveRate, h as currencyFormat } from './localization-a185c345.js';
1
+ import { d as cartStore } from './cart-402dcde5.js';
2
+ import { w as applyInclusiveEffectiveRate, h as currencyFormat } from './localization-d49867ed.js';
3
3
 
4
4
  const getDisplayCurrency = () => {
5
5
  var _a, _b;
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, h, a as Host, d as createEvent, g as getElement } from './index-cfd394c8.js';
2
- import { t as translate, l as localizationStore, s as storageStore, y as storageStoreOnChange } from './localization-a185c345.js';
2
+ import { t as translate, l as localizationStore, s as storageStore, y as storageStoreOnChange } from './localization-d49867ed.js';
3
3
  import { i as isTextContainsNonLatinChars, c as containsNonLatinChars } from './containsNonLatinChars-2d8810c3.js';
4
- import { U as extractName, b as stripeStore, r as stripeStorePrefetchLandedCost, t as trackConversionEvent } from './cart-c3cd0036.js';
4
+ import { V as extractName, b as stripeStore, r as stripeStorePrefetchLandedCost, t as trackConversionEvent } from './cart-402dcde5.js';
5
5
  import { c as classes } from './classes-0d95c529.js';
6
6
  import { g as getBorderRadius } from './getBorderRadius-dc982fe6.js';
7
7
  import { z as zonosStore, f as zonosStoreFontFamily } from './zonosStore-b7d3f9b0.js';
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, d as createEvent, h, a as Host, g as getElement } from './index-cfd394c8.js';
2
2
  import { t as throttle_1 } from './throttle-44bfb6b5.js';
3
- import { b as stripeStore, t as trackConversionEvent, U as extractName, H as stripeStoreOnChange, r as stripeStorePrefetchLandedCost, d as cartStore } from './cart-c3cd0036.js';
4
- import { s as storageStore, z as getFallbackDefaultCountryCode, t as translate, y as storageStoreOnChange, l as localizationStore } from './localization-a185c345.js';
3
+ import { b as stripeStore, t as trackConversionEvent, V as extractName, H as stripeStoreOnChange, r as stripeStorePrefetchLandedCost, d as cartStore } from './cart-402dcde5.js';
4
+ import { s as storageStore, z as getFallbackDefaultCountryCode, t as translate, y as storageStoreOnChange, l as localizationStore } from './localization-d49867ed.js';
5
5
  import { z as zonosStore, g as getZonosStoreTheme, f as zonosStoreFontFamily } from './zonosStore-b7d3f9b0.js';
6
6
  import { l as logError, i as isCheckoutMobile, s as sendErrorLog } from './handleFetch-a844cac1.js';
7
7
  import { a as shouldRenderTaxIdInput, s as shouldRenderShortAddressCodeInput } from './shouldRenderTaxIdInput-2572bf77.js';