@zonos/elements 1.3.281 → 1.3.282

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 (341) hide show
  1. package/dist/cjs/{cart-3313cb0c.js → cart-dc31b242.js} +2 -1
  2. package/dist/cjs/{collect-2659c5af.js → collect-463ab3d7.js} +2 -2
  3. package/dist/cjs/getMissingRequiredShippingFields-7cd21100.js +50 -0
  4. package/dist/cjs/{hasInclusivePrice-d132daaa.js → hasInclusivePrice-d14b9d71.js} +1 -1
  5. package/dist/cjs/index.cjs.js +7 -7
  6. package/dist/cjs/{invoice-26f52c07.js → invoice-8c995041.js} +2 -2
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/cjs/{localization-6189080f.js → localization-491121ad.js} +240 -0
  9. package/dist/cjs/{paypal-f6a256b5.js → paypal-2a4c374c.js} +2 -2
  10. package/dist/cjs/{placeTestOrder-695f2b32.js → placeTestOrder-a940a2e9.js} +2 -2
  11. package/dist/cjs/{renderCheckoutCurrency-fe56094f.js → renderCheckoutCurrency-ab39875a.js} +2 -2
  12. package/dist/cjs/{zonos-address-display_8.cjs.entry.js → zonos-address-completion-dialog_7.cjs.entry.js} +141 -149
  13. package/dist/cjs/zonos-address-display_2.cjs.entry.js +150 -0
  14. package/dist/cjs/zonos-address_4.cjs.entry.js +73 -12
  15. package/dist/cjs/zonos-airwallex-payment.cjs.entry.js +3 -3
  16. package/dist/cjs/zonos-badge.cjs.entry.js +3 -3
  17. package/dist/cjs/zonos-button_3.cjs.entry.js +3 -3
  18. package/dist/cjs/zonos-card_5.cjs.entry.js +9 -9
  19. package/dist/cjs/zonos-cart-items_12.cjs.entry.js +89 -20
  20. package/dist/cjs/zonos-checkbox_2.cjs.entry.js +5 -5
  21. package/dist/cjs/zonos-checkout.cjs.entry.js +3 -3
  22. package/dist/cjs/zonos-collapse.cjs.entry.js +2 -2
  23. package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +6 -6
  24. package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +19 -19
  25. package/dist/cjs/zonos-collect.cjs.entry.js +4 -4
  26. package/dist/cjs/zonos-component.cjs.entry.js +1 -1
  27. package/dist/cjs/zonos-controller.cjs.entry.js +3 -3
  28. package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
  29. package/dist/cjs/zonos-country-select_4.cjs.entry.js +10 -10
  30. package/dist/cjs/zonos-elements.cjs.js +1 -1
  31. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +6 -6
  32. package/dist/cjs/zonos-hello.cjs.entry.js +1 -1
  33. package/dist/cjs/zonos-input.cjs.entry.js +4 -4
  34. package/dist/cjs/zonos-invoice-cart-items_2.cjs.entry.js +8 -8
  35. package/dist/cjs/zonos-invoice-finish_5.cjs.entry.js +14 -14
  36. package/dist/cjs/zonos-invoice.cjs.entry.js +4 -4
  37. package/dist/cjs/zonos-language-select_2.cjs.entry.js +5 -5
  38. package/dist/cjs/zonos-link.cjs.entry.js +1 -1
  39. package/dist/cjs/zonos-logo.cjs.entry.js +2 -2
  40. package/dist/cjs/zonos-policy-consent_2.cjs.entry.js +3 -3
  41. package/dist/cjs/zonos-stripe-input.cjs.entry.js +4 -4
  42. package/dist/cjs/zonos-tooltip.cjs.entry.js +2 -2
  43. package/dist/cjs/zonos-v-stack.cjs.entry.js +2 -2
  44. package/dist/collection/collection-manifest.json +1 -0
  45. package/dist/collection/components/checkout/zonos-checkout/zonos-address-completion-dialog/zonos-address-completion-dialog.css +105 -0
  46. package/dist/collection/components/checkout/zonos-checkout/zonos-address-completion-dialog/zonos-address-completion-dialog.js +341 -0
  47. package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-form/zonos-address-form.js +5 -5
  48. package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-update-dialog.js +3 -3
  49. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-items/zonos-cart-items.js +1 -1
  50. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +4 -4
  51. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.js +2 -2
  52. package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.js +52 -2
  53. package/dist/collection/components/checkout/zonos-collect/zonos-collect-cart-items/zonos-collect-cart-items.js +1 -1
  54. package/dist/collection/components/checkout/zonos-collect/zonos-collect-finish/zonos-collect-finish.js +2 -2
  55. package/dist/collection/components/checkout/zonos-collect/zonos-collect-footer/zonos-collect-footer.js +3 -3
  56. package/dist/collection/components/checkout/zonos-collect/zonos-collect-review/zonos-collect-review.js +3 -3
  57. package/dist/collection/components/checkout/zonos-collect/zonos-collect-subtotal/zonos-collect-subtotal.js +5 -5
  58. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-cart-items/zonos-invoice-cart-items.js +2 -2
  59. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-finish/zonos-invoice-finish.js +2 -2
  60. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-footer/zonos-invoice-footer.js +3 -3
  61. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-review/zonos-invoice-review.js +3 -3
  62. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-subtotal/zonos-invoice-subtotal.js +2 -2
  63. package/dist/collection/components/common/zonos-badge/zonos-badge.js +3 -3
  64. package/dist/collection/components/common/zonos-button/zonos-button.js +3 -3
  65. package/dist/collection/components/common/zonos-card/zonos-card.js +4 -4
  66. package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +3 -3
  67. package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +3 -3
  68. package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +2 -2
  69. package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.js +3 -3
  70. package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +3 -3
  71. package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +2 -2
  72. package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +3 -3
  73. package/dist/collection/components/common/zonos-h-stack/zonos-h-stack.js +2 -2
  74. package/dist/collection/components/common/zonos-input/zonos-input.js +4 -4
  75. package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +2 -2
  76. package/dist/collection/components/common/zonos-link/zonos-link.js +1 -1
  77. package/dist/collection/components/common/zonos-loading-overlay/zonos-loading-overlay.js +1 -1
  78. package/dist/collection/components/common/zonos-logo/zonos-logo.js +2 -2
  79. package/dist/collection/components/common/zonos-rest-state/zonos-rest-state.js +3 -3
  80. package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +2 -2
  81. package/dist/collection/components/common/zonos-skeleton/zonos-skeleton.js +1 -1
  82. package/dist/collection/components/common/zonos-stripe-input/zonos-stripe-input.js +4 -4
  83. package/dist/collection/components/common/zonos-stripe-phone-input/zonos-stripe-phone-input.js +5 -5
  84. package/dist/collection/components/common/zonos-toggle/zonos-toggle.js +2 -2
  85. package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +2 -2
  86. package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +2 -2
  87. package/dist/collection/components/common/zonos-virtual-scroll/zonos-virtual-scroll.js +2 -2
  88. package/dist/collection/components/component-template/zonos-component/zonos-component.js +1 -1
  89. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +2 -2
  90. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +4 -4
  91. package/dist/collection/components/main/zonos-controller.js +1 -1
  92. package/dist/collection/components/paypal/zonos-paypal-payment.js +1 -1
  93. package/dist/collection/components/store/checkout/stripe.js +1 -1
  94. package/dist/collection/components/store/translationStore/strings.arabic.js +12 -0
  95. package/dist/collection/components/store/translationStore/strings.base.js +12 -0
  96. package/dist/collection/components/store/translationStore/strings.chinese.js +12 -0
  97. package/dist/collection/components/store/translationStore/strings.danish.js +12 -0
  98. package/dist/collection/components/store/translationStore/strings.dutch.js +12 -0
  99. package/dist/collection/components/store/translationStore/strings.french.js +12 -0
  100. package/dist/collection/components/store/translationStore/strings.german.js +12 -0
  101. package/dist/collection/components/store/translationStore/strings.hebrew.js +12 -0
  102. package/dist/collection/components/store/translationStore/strings.indonesian.js +12 -0
  103. package/dist/collection/components/store/translationStore/strings.italian.js +12 -0
  104. package/dist/collection/components/store/translationStore/strings.japanese.js +12 -0
  105. package/dist/collection/components/store/translationStore/strings.korean.js +12 -0
  106. package/dist/collection/components/store/translationStore/strings.norwegian.js +12 -0
  107. package/dist/collection/components/store/translationStore/strings.polish.js +12 -0
  108. package/dist/collection/components/store/translationStore/strings.portuguese.js +12 -0
  109. package/dist/collection/components/store/translationStore/strings.russian.js +12 -0
  110. package/dist/collection/components/store/translationStore/strings.spanish.js +12 -0
  111. package/dist/collection/components/store/translationStore/strings.swedish.js +12 -0
  112. package/dist/collection/components/store/translationStore/strings.turkish.js +12 -0
  113. package/dist/collection/components/store/translationStore/strings.vietnamese.js +12 -0
  114. package/dist/collection/components/stripe/zonos-address/zonos-address.js +11 -6
  115. package/dist/collection/components/stripe/zonos-custom-address/zonos-address-suggestions/zonos-address-suggestions.js +2 -2
  116. package/dist/collection/components/stripe/zonos-custom-address/zonos-custom-address.js +2 -2
  117. package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
  118. package/dist/collection/components/utils/checkout/applyAddressCompletion.js +23 -0
  119. package/dist/collection/components/utils/checkout/buildAddressContacts.js +57 -0
  120. package/dist/collection/components/utils/checkout/getMissingRequiredShippingFields.js +44 -0
  121. package/dist/esm/{cart-c66ec17e.js → cart-5282f6c1.js} +2 -2
  122. package/dist/esm/{collect-915fd59d.js → collect-fdbab973.js} +2 -2
  123. package/dist/esm/getMissingRequiredShippingFields-bdeecbff.js +47 -0
  124. package/dist/esm/{hasInclusivePrice-6fd935f3.js → hasInclusivePrice-161e203f.js} +1 -1
  125. package/dist/esm/index.js +7 -7
  126. package/dist/esm/{invoice-2a17c93c.js → invoice-cf6ad79e.js} +2 -2
  127. package/dist/esm/loader.js +1 -1
  128. package/dist/esm/{localization-6d36209f.js → localization-0953a048.js} +240 -0
  129. package/dist/esm/{paypal-cae1d404.js → paypal-7c82eac4.js} +2 -2
  130. package/dist/esm/{placeTestOrder-955269d2.js → placeTestOrder-6a746207.js} +2 -2
  131. package/dist/esm/{renderCheckoutCurrency-951386a5.js → renderCheckoutCurrency-44f897a1.js} +2 -2
  132. package/dist/esm/{zonos-address-display_8.entry.js → zonos-address-completion-dialog_7.entry.js} +142 -149
  133. package/dist/esm/zonos-address-display_2.entry.js +145 -0
  134. package/dist/esm/zonos-address_4.entry.js +73 -12
  135. package/dist/esm/zonos-airwallex-payment.entry.js +3 -3
  136. package/dist/esm/zonos-badge.entry.js +3 -3
  137. package/dist/esm/zonos-button_3.entry.js +3 -3
  138. package/dist/esm/zonos-card_5.entry.js +9 -9
  139. package/dist/esm/zonos-cart-items_12.entry.js +90 -21
  140. package/dist/esm/zonos-checkbox_2.entry.js +5 -5
  141. package/dist/esm/zonos-checkout.entry.js +3 -3
  142. package/dist/esm/zonos-collapse.entry.js +2 -2
  143. package/dist/esm/zonos-collect-cart-items_3.entry.js +6 -6
  144. package/dist/esm/zonos-collect-finish_6.entry.js +19 -19
  145. package/dist/esm/zonos-collect.entry.js +4 -4
  146. package/dist/esm/zonos-component.entry.js +1 -1
  147. package/dist/esm/zonos-controller.entry.js +3 -3
  148. package/dist/esm/zonos-country-flag.entry.js +1 -1
  149. package/dist/esm/zonos-country-select_4.entry.js +10 -10
  150. package/dist/esm/zonos-elements.js +1 -1
  151. package/dist/esm/zonos-hello-dialog.entry.js +6 -6
  152. package/dist/esm/zonos-hello.entry.js +1 -1
  153. package/dist/esm/zonos-input.entry.js +4 -4
  154. package/dist/esm/zonos-invoice-cart-items_2.entry.js +8 -8
  155. package/dist/esm/zonos-invoice-finish_5.entry.js +14 -14
  156. package/dist/esm/zonos-invoice.entry.js +4 -4
  157. package/dist/esm/zonos-language-select_2.entry.js +5 -5
  158. package/dist/esm/zonos-link.entry.js +1 -1
  159. package/dist/esm/zonos-logo.entry.js +2 -2
  160. package/dist/esm/zonos-policy-consent_2.entry.js +3 -3
  161. package/dist/esm/zonos-stripe-input.entry.js +4 -4
  162. package/dist/esm/zonos-tooltip.entry.js +2 -2
  163. package/dist/esm/zonos-v-stack.entry.js +2 -2
  164. package/dist/esm-es5/{cart-c66ec17e.js → cart-5282f6c1.js} +1 -1
  165. package/dist/esm-es5/{collect-915fd59d.js → collect-fdbab973.js} +1 -1
  166. package/dist/esm-es5/getMissingRequiredShippingFields-bdeecbff.js +1 -0
  167. package/dist/esm-es5/{hasInclusivePrice-6fd935f3.js → hasInclusivePrice-161e203f.js} +1 -1
  168. package/dist/esm-es5/index.js +1 -1
  169. package/dist/esm-es5/{invoice-2a17c93c.js → invoice-cf6ad79e.js} +1 -1
  170. package/dist/esm-es5/loader.js +1 -1
  171. package/dist/esm-es5/localization-0953a048.js +1 -0
  172. package/dist/esm-es5/{paypal-cae1d404.js → paypal-7c82eac4.js} +1 -1
  173. package/dist/esm-es5/{placeTestOrder-955269d2.js → placeTestOrder-6a746207.js} +1 -1
  174. package/dist/esm-es5/{renderCheckoutCurrency-951386a5.js → renderCheckoutCurrency-44f897a1.js} +1 -1
  175. package/dist/esm-es5/zonos-address-completion-dialog_7.entry.js +1 -0
  176. package/dist/esm-es5/zonos-address-display_2.entry.js +1 -0
  177. package/dist/esm-es5/zonos-address_4.entry.js +1 -1
  178. package/dist/esm-es5/zonos-airwallex-payment.entry.js +1 -1
  179. package/dist/esm-es5/zonos-badge.entry.js +1 -1
  180. package/dist/esm-es5/zonos-button_3.entry.js +1 -1
  181. package/dist/esm-es5/zonos-card_5.entry.js +1 -1
  182. package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
  183. package/dist/esm-es5/zonos-checkbox_2.entry.js +1 -1
  184. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  185. package/dist/esm-es5/zonos-collapse.entry.js +1 -1
  186. package/dist/esm-es5/zonos-collect-cart-items_3.entry.js +1 -1
  187. package/dist/esm-es5/zonos-collect-finish_6.entry.js +1 -1
  188. package/dist/esm-es5/zonos-collect.entry.js +1 -1
  189. package/dist/esm-es5/zonos-component.entry.js +1 -1
  190. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  191. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  192. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  193. package/dist/esm-es5/zonos-elements.js +1 -1
  194. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  195. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  196. package/dist/esm-es5/zonos-input.entry.js +1 -1
  197. package/dist/esm-es5/zonos-invoice-cart-items_2.entry.js +1 -1
  198. package/dist/esm-es5/zonos-invoice-finish_5.entry.js +1 -1
  199. package/dist/esm-es5/zonos-invoice.entry.js +1 -1
  200. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  201. package/dist/esm-es5/zonos-link.entry.js +1 -1
  202. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  203. package/dist/esm-es5/zonos-policy-consent_2.entry.js +1 -1
  204. package/dist/esm-es5/zonos-stripe-input.entry.js +1 -1
  205. package/dist/esm-es5/zonos-tooltip.entry.js +1 -1
  206. package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
  207. package/dist/scripts/index.d.ts +123 -0
  208. package/dist/scripts/index.js +1 -1
  209. package/dist/scripts/loadZonos.js +1 -1
  210. package/dist/scripts/zonos.js +1 -1
  211. package/dist/types/components/checkout/zonos-checkout/zonos-address-completion-dialog/zonos-address-completion-dialog.d.ts +75 -0
  212. package/dist/types/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.d.ts +16 -0
  213. package/dist/types/components/store/checkout/stripe.d.ts +4 -0
  214. package/dist/types/components/store/translationStore/strings.arabic.d.ts +12 -0
  215. package/dist/types/components/store/translationStore/strings.base.d.ts +12 -0
  216. package/dist/types/components/store/translationStore/strings.chinese.d.ts +12 -0
  217. package/dist/types/components/store/translationStore/strings.danish.d.ts +12 -0
  218. package/dist/types/components/store/translationStore/strings.dutch.d.ts +12 -0
  219. package/dist/types/components/store/translationStore/strings.french.d.ts +12 -0
  220. package/dist/types/components/store/translationStore/strings.german.d.ts +12 -0
  221. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +12 -0
  222. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +12 -0
  223. package/dist/types/components/store/translationStore/strings.italian.d.ts +12 -0
  224. package/dist/types/components/store/translationStore/strings.japanese.d.ts +12 -0
  225. package/dist/types/components/store/translationStore/strings.korean.d.ts +12 -0
  226. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +12 -0
  227. package/dist/types/components/store/translationStore/strings.polish.d.ts +12 -0
  228. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +12 -0
  229. package/dist/types/components/store/translationStore/strings.russian.d.ts +12 -0
  230. package/dist/types/components/store/translationStore/strings.spanish.d.ts +12 -0
  231. package/dist/types/components/store/translationStore/strings.swedish.d.ts +12 -0
  232. package/dist/types/components/store/translationStore/strings.turkish.d.ts +12 -0
  233. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +12 -0
  234. package/dist/types/components/utils/checkout/applyAddressCompletion.d.ts +25 -0
  235. package/dist/types/components/utils/checkout/buildAddressContacts.d.ts +21 -0
  236. package/dist/types/components/utils/checkout/getMissingRequiredShippingFields.d.ts +35 -0
  237. package/dist/types/components.d.ts +97 -0
  238. package/dist/zonos-elements/index.esm.js +1 -1
  239. package/dist/zonos-elements/p-0287f9cd.system.js +1 -0
  240. package/dist/zonos-elements/{p-5aee5de5.system.entry.js → p-05cb0a0d.system.entry.js} +1 -1
  241. package/dist/zonos-elements/{p-03fda4a8.entry.js → p-0fb4e032.entry.js} +1 -1
  242. package/dist/zonos-elements/{p-727387ed.entry.js → p-10584546.entry.js} +1 -1
  243. package/dist/zonos-elements/p-193fc2da.entry.js +1 -0
  244. package/dist/zonos-elements/p-1977f4b5.js +1 -0
  245. package/dist/zonos-elements/p-1cf5e2ce.system.entry.js +1 -0
  246. package/dist/zonos-elements/p-1cf76dd3.entry.js +1 -0
  247. package/dist/zonos-elements/p-1d31b966.system.js +1 -0
  248. package/dist/zonos-elements/{p-0ad6a92b.system.entry.js → p-21489ff1.system.entry.js} +1 -1
  249. package/dist/zonos-elements/{p-734d646b.entry.js → p-21f7d57b.entry.js} +1 -1
  250. package/dist/zonos-elements/p-2394b186.system.js +1 -0
  251. package/dist/zonos-elements/{p-edf613ea.entry.js → p-23eee868.entry.js} +1 -1
  252. package/dist/zonos-elements/{p-b5f67807.entry.js → p-26bf0c31.entry.js} +1 -1
  253. package/dist/zonos-elements/{p-ddf68916.system.js → p-28ee0860.system.js} +1 -1
  254. package/dist/zonos-elements/p-29b60bf3.system.js +1 -1
  255. package/dist/zonos-elements/{p-6df6cb8a.entry.js → p-30cfc9f4.entry.js} +1 -1
  256. package/dist/zonos-elements/{p-5677d31f.entry.js → p-323279b8.entry.js} +1 -1
  257. package/dist/zonos-elements/{p-8c54aaec.entry.js → p-32b53999.entry.js} +1 -1
  258. package/dist/zonos-elements/{p-c15476a1.system.entry.js → p-333f6018.system.entry.js} +1 -1
  259. package/dist/zonos-elements/p-3642dd99.entry.js +1 -0
  260. package/dist/zonos-elements/p-3c62acbd.js +1 -0
  261. package/dist/zonos-elements/{p-4441c451.entry.js → p-4417475f.entry.js} +1 -1
  262. package/dist/zonos-elements/p-543b25f9.entry.js +1 -0
  263. package/dist/zonos-elements/{p-1992fd91.entry.js → p-55c5977b.entry.js} +1 -1
  264. package/dist/zonos-elements/{p-b406bb39.entry.js → p-56e9a29e.entry.js} +1 -1
  265. package/dist/zonos-elements/{p-5e1aad7d.entry.js → p-59518657.entry.js} +1 -1
  266. package/dist/zonos-elements/p-5953208b.js +1 -0
  267. package/dist/zonos-elements/p-5987dea1.js +1 -0
  268. package/dist/zonos-elements/{p-a44591f6.system.entry.js → p-5a37683b.system.entry.js} +1 -1
  269. package/dist/zonos-elements/{p-36b311f9.system.entry.js → p-5b11bbca.system.entry.js} +1 -1
  270. package/dist/zonos-elements/{p-a34269b1.system.entry.js → p-5d6b018c.system.entry.js} +1 -1
  271. package/dist/zonos-elements/p-63b462dd.system.entry.js +1 -0
  272. package/dist/zonos-elements/p-646e6b47.system.entry.js +1 -0
  273. package/dist/zonos-elements/{p-060c521b.system.entry.js → p-68631285.system.entry.js} +1 -1
  274. package/dist/zonos-elements/{p-683ec0bf.entry.js → p-6f874ed9.entry.js} +1 -1
  275. package/dist/zonos-elements/p-71fc8a22.js +1 -0
  276. package/dist/zonos-elements/{p-a6773627.entry.js → p-76e36d6d.entry.js} +1 -1
  277. package/dist/zonos-elements/{p-a3d3ce5d.system.entry.js → p-781b3345.system.entry.js} +1 -1
  278. package/dist/zonos-elements/{p-156891c5.js → p-7ab15d20.js} +1 -1
  279. package/dist/zonos-elements/{p-3246d120.js → p-7c70e0c7.js} +1 -1
  280. package/dist/zonos-elements/p-8418aa07.entry.js +1 -0
  281. package/dist/zonos-elements/{p-99e8743e.system.entry.js → p-8fa3a8f8.system.entry.js} +1 -1
  282. package/dist/zonos-elements/{p-5a61c301.system.entry.js → p-8fb15a6b.system.entry.js} +1 -1
  283. package/dist/zonos-elements/{p-30067eed.entry.js → p-95042e71.entry.js} +1 -1
  284. package/dist/zonos-elements/p-987b5d8f.js +1 -0
  285. package/dist/zonos-elements/{p-39695a8b.system.js → p-a4eddf6c.system.js} +1 -1
  286. package/dist/zonos-elements/{p-3e6bbf0b.system.entry.js → p-aa1f3060.system.entry.js} +1 -1
  287. package/dist/zonos-elements/p-aa37f436.system.entry.js +1 -0
  288. package/dist/zonos-elements/{p-f314217a.system.js → p-ab61ef19.system.js} +1 -1
  289. package/dist/zonos-elements/{p-4c3f5fda.system.entry.js → p-b91a8f31.system.entry.js} +1 -1
  290. package/dist/zonos-elements/{p-15097876.system.entry.js → p-b93013f7.system.entry.js} +1 -1
  291. package/dist/zonos-elements/{p-746bdebe.entry.js → p-c121b2b8.entry.js} +1 -1
  292. package/dist/zonos-elements/{p-54a8d4cf.system.entry.js → p-c12ca8fe.system.entry.js} +1 -1
  293. package/dist/zonos-elements/p-c5bfe522.system.js +1 -0
  294. package/dist/zonos-elements/{p-732e7373.system.entry.js → p-c634546a.system.entry.js} +1 -1
  295. package/dist/zonos-elements/{p-a5f8dc19.js → p-c8bc4ede.js} +1 -1
  296. package/dist/zonos-elements/{p-f156e2e5.system.entry.js → p-c8df5eee.system.entry.js} +1 -1
  297. package/dist/zonos-elements/{p-e0ec0aa3.system.entry.js → p-c9e44c77.system.entry.js} +1 -1
  298. package/dist/zonos-elements/{p-179caaea.system.entry.js → p-ca9231a0.system.entry.js} +1 -1
  299. package/dist/zonos-elements/{p-3e058b4e.entry.js → p-cb376f03.entry.js} +1 -1
  300. package/dist/zonos-elements/{p-717cbe90.system.js → p-cd3f7fd7.system.js} +1 -1
  301. package/dist/zonos-elements/{p-ee3c7b11.system.entry.js → p-d06486ba.system.entry.js} +1 -1
  302. package/dist/zonos-elements/{p-e7a45f6c.entry.js → p-d0767f88.entry.js} +1 -1
  303. package/dist/zonos-elements/{p-8308f7d6.system.entry.js → p-d2cb99ee.system.entry.js} +1 -1
  304. package/dist/zonos-elements/p-ddd0e703.system.entry.js +1 -0
  305. package/dist/zonos-elements/{p-09da3c76.entry.js → p-dfd83cff.entry.js} +1 -1
  306. package/dist/zonos-elements/{p-4efd7178.entry.js → p-e0cbc7c7.entry.js} +1 -1
  307. package/dist/zonos-elements/{p-3f6fe80a.system.entry.js → p-e101b0de.system.entry.js} +1 -1
  308. package/dist/zonos-elements/{p-dd6da3de.entry.js → p-e3d0d8ff.entry.js} +1 -1
  309. package/dist/zonos-elements/{p-8005e102.system.js → p-e57f862d.system.js} +1 -1
  310. package/dist/zonos-elements/{p-38879af9.entry.js → p-e6e3a303.entry.js} +1 -1
  311. package/dist/zonos-elements/{p-5d4201d5.entry.js → p-ef2c264c.entry.js} +1 -1
  312. package/dist/zonos-elements/{p-40b96482.system.entry.js → p-f1298203.system.entry.js} +1 -1
  313. package/dist/zonos-elements/{p-86d6961c.system.entry.js → p-f1aa60fd.system.entry.js} +1 -1
  314. package/dist/zonos-elements/{p-429ab545.system.entry.js → p-f1dbeb85.system.entry.js} +1 -1
  315. package/dist/zonos-elements/{p-2825431d.entry.js → p-f2431e47.entry.js} +1 -1
  316. package/dist/zonos-elements/{p-29c1703c.system.entry.js → p-f2511b86.system.entry.js} +1 -1
  317. package/dist/zonos-elements/{p-08e78d79.entry.js → p-fa80a973.entry.js} +1 -1
  318. package/dist/zonos-elements/p-fb8dc23f.system.js +1 -0
  319. package/dist/zonos-elements/{p-f59514e9.entry.js → p-fc45b3a5.entry.js} +1 -1
  320. package/dist/zonos-elements/{p-a23d3b3f.system.entry.js → p-fdd7ec44.system.entry.js} +1 -1
  321. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  322. package/package.json +1 -1
  323. package/dist/esm-es5/localization-6d36209f.js +0 -1
  324. package/dist/esm-es5/zonos-address-display_8.entry.js +0 -1
  325. package/dist/zonos-elements/p-0ac1aa87.system.js +0 -1
  326. package/dist/zonos-elements/p-1577a739.js +0 -1
  327. package/dist/zonos-elements/p-1ee5f392.entry.js +0 -1
  328. package/dist/zonos-elements/p-26ca8ce7.js +0 -1
  329. package/dist/zonos-elements/p-56fc3210.js +0 -1
  330. package/dist/zonos-elements/p-6df034d6.entry.js +0 -1
  331. package/dist/zonos-elements/p-71cb16da.system.entry.js +0 -1
  332. package/dist/zonos-elements/p-8051403a.js +0 -1
  333. package/dist/zonos-elements/p-9448d960.js +0 -1
  334. package/dist/zonos-elements/p-a6535773.system.entry.js +0 -1
  335. package/dist/zonos-elements/p-ae30e6c0.system.entry.js +0 -1
  336. package/dist/zonos-elements/p-bf942ef0.system.js +0 -1
  337. package/dist/zonos-elements/p-c345d1f5.system.js +0 -1
  338. package/dist/zonos-elements/p-d4337686.entry.js +0 -1
  339. package/dist/zonos-elements/p-df8b8827.entry.js +0 -1
  340. package/dist/zonos-elements/p-e210edd9.system.js +0 -1
  341. package/dist/zonos-elements/p-f3e1a6a7.system.entry.js +0 -1
@@ -1,23 +1,24 @@
1
1
  import { r as registerInstance, e as getAssetPath, h, a as Host, F as Fragment, d as createEvent, g as getElement } from './index-cfd394c8.js';
2
- import { d as cartStore, M as cartStoreHasOneEligibleItem, N as isEuDapRemittance, b as stripeStore, O as stripeStoreApplyPromoCode, P as stripeStoreRemovePromoCode, F as stripeStoreReset, c as stripeStoreRetrievePayment, t as trackConversionEvent, Q as stripeStoreResetPromoCode, R as stripeStoreMessageBasedOnStatus, S as storeCreditStore, T as storeCreditStoreReset, z as storeCreditStoreCoversFullAmount, w as isPolicyConsentRequired, E as policyConsentStore, J as stripeStoreRecordPolicyConsent, v as cartStoreNextStep, U as stripeStoreTranslateAddressToLatin, V as extractName, G as cartStoreOnChange, W as stripeStoreAsyncAddressUpdate, L as cartStoreUpdateSelectedShippingOption, X as cartStoreGetShippingTransitInfo, Y as cartStoreGetMethod, Z as sortServiceLevelOptionsByAmount } from './cart-c66ec17e.js';
3
- import { t as translate, l as localizationStore, s as storageStore, u as getExchangeRate, v as numberFormat, e as localizationStoreOnChange } from './localization-6d36209f.js';
4
- import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-951386a5.js';
2
+ import { d as cartStore, M as cartStoreHasOneEligibleItem, N as isEuDapRemittance, b as stripeStore, O as stripeStoreApplyPromoCode, P as stripeStoreRemovePromoCode, F as stripeStoreReset, c as stripeStoreRetrievePayment, t as trackConversionEvent, Q as stripeStoreResetPromoCode, R as stripeStoreMessageBasedOnStatus, S as storeCreditStore, T as storeCreditStoreReset, z as storeCreditStoreCoversFullAmount, w as isPolicyConsentRequired, E as policyConsentStore, J as stripeStoreRecordPolicyConsent, v as cartStoreNextStep, U as extractName, V as stripeStoreTranslateAddressToLatin, G as cartStoreOnChange, W as getCountryField, X as stripeStoreAsyncAddressUpdate, L as cartStoreUpdateSelectedShippingOption, Y as cartStoreGetShippingTransitInfo, Z as cartStoreGetMethod, _ as sortServiceLevelOptionsByAmount } from './cart-5282f6c1.js';
3
+ import { t as translate, l as localizationStore, s as storageStore, u as getExchangeRate, v as numberFormat, e as localizationStoreOnChange } from './localization-0953a048.js';
4
+ import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-44f897a1.js';
5
5
  import { c as cleanHtmlMarkdown } from './cleanHtmlMarkdown-87d195f6.js';
6
6
  import { c as classes } from './classes-0d95c529.js';
7
7
  import { z as zonosStore, c as createStore, h as zonosStoreOnChange, g as getZonosStoreTheme, f as zonosStoreFontFamily } from './zonosStore-b7d3f9b0.js';
8
- import { D as DUTY_KEY, T as TAXES_KEY, h as hasInclusivePrice } from './hasInclusivePrice-6fd935f3.js';
8
+ import { D as DUTY_KEY, T as TAXES_KEY, h as hasInclusivePrice } from './hasInclusivePrice-161e203f.js';
9
9
  import { i as isSameHostCheckoutLink } from './isSameHostCheckoutLink-c1b88ab7.js';
10
- import { s as submitAnalytics, c as paypalStoreReset, a as paypalStore } from './paypal-cae1d404.js';
11
- import { h as handleFetch, s as sendErrorLog, j as jsonParse, g as getIsTestMode, i as isCheckoutMobile, a as getIsStagingMode } from './handleFetch-a844cac1.js';
10
+ import { s as submitAnalytics, c as paypalStoreReset, a as paypalStore } from './paypal-7c82eac4.js';
11
+ import { h as handleFetch, s as sendErrorLog, j as jsonParse, g as getIsTestMode, i as isCheckoutMobile, a as getIsStagingMode, l as logError } from './handleFetch-a844cac1.js';
12
12
  import { c as createCustomEvent } from './createCustomEvent-58159025.js';
13
13
  import { g as getBorderRadius } from './getBorderRadius-dc982fe6.js';
14
14
  import { l as log, b as allLogs } from './VarianceTest-572cecf5.js';
15
15
  import { l as languages } from './ILanguage-cd6acb72.js';
16
- import { p as placeTestOrder } from './placeTestOrder-955269d2.js';
16
+ import { p as placeTestOrder } from './placeTestOrder-6a746207.js';
17
17
  import { i as isDarkColor } from './isDarkColor-039ef212.js';
18
18
  import { g as getContrastColor } from './getContrastColor-af895b60.js';
19
19
  import { i as isColorVariable } from './isColorVariable-0a94004f.js';
20
20
  import { u as updateCheckoutSessionAttributes } from './updateCheckoutSessionAttributes-e0a282d9.js';
21
+ import { g as getMissingRequiredShippingFields } from './getMissingRequiredShippingFields-bdeecbff.js';
21
22
  import { c as containsNonLatinChars } from './containsNonLatinChars-2d8810c3.js';
22
23
  import { s as shouldRenderShortAddressCodeInput, a as shouldRenderTaxIdInput } from './shouldRenderTaxIdInput-ef7b5860.js';
23
24
  import { e as euCountryCodes } from './TaxId-63a14057.js';
@@ -37,7 +38,7 @@ const ZonosCartItems = class {
37
38
  render() {
38
39
  const emptyItemImg = getAssetPath('./assets/empty-item.jpeg');
39
40
  const nonRestrictedItems = cartStore.items.filter(item => !item.isRestricted);
40
- return (h(Host, { key: 'ec83033ab6a41452e8d3f611ca59f571741d7c73', class: "zonos--cart-items zonos--elements" }, h("table", { key: '3f403b3e3943f13394e419b6d3e01629ed673cd8', class: "zonos--cart-table" }, h("tbody", { key: '0c2caccc03dd36d00453e88ac7df9d8e3c47b5f1' }, nonRestrictedItems.map(item => {
41
+ return (h(Host, { key: '2f81af1b6315853352a29bacaa230d782e76115a', class: "zonos--cart-items zonos--elements" }, h("table", { key: '7fe64f09729e0791605cdd8e66d7230ab162c7cf', class: "zonos--cart-table" }, h("tbody", { key: '49c17b5c7c68bfd41b2d8fabbbf4c3c764faba33' }, nonRestrictedItems.map(item => {
41
42
  const itemImg = item.imageUrl;
42
43
  const cleanedItemNames = cleanHtmlMarkdown(item.name);
43
44
  const amount = item.amount * item.quantity;
@@ -1021,11 +1022,11 @@ const ZonosCheckoutFinish = class {
1021
1022
  }
1022
1023
  render() {
1023
1024
  const isTestMode = getIsTestMode();
1024
- return (h(Host, { key: '7bbe3b38422e6b6a0b7a98c8e9cacf4b6abbfd8f', class: "zonos--checkout-finish zonos--elements", style: {
1025
+ return (h(Host, { key: '76a3503d5c41cf3138e71b071fdb5e341fad1781', class: "zonos--checkout-finish zonos--elements", style: {
1025
1026
  '--zonos--border-radius': getBorderRadius({
1026
1027
  overrideBorderStyle: this.borderRadius,
1027
1028
  }),
1028
- } }, this.isImmediateRedirecting && (h("div", { key: '8608faad8369cb1ad3e208862d264cc176f37702', class: "loading-wrapper" }, h("zonos-spinner", { key: '749ea9f925a11859310a47280f906f4e54cff7b2', size: 48 }))), !this.isLoading && !this.isImmediateRedirecting && (h("div", { key: 'ccb75f51c73fa22e94771f4ff00456a042185fb7', class: "zonos--finish-details" }, h("div", { key: '4bb0e457e963c2c95517a1688d0dcfdaa2c94013', class: "zonos--group" }, this.notificationType === 'success' ? (h("zonos-icon", { "aria-label": "Order success", content: SuccessIcon, iconColor: 'blue-800', size: 50 })) : (h("zonos-icon", { "aria-label": "Order failed", content: RemoveIcon, iconColor: 'red-800', size: 50 })), h("zonos-text", { key: '7b57ab0d072852734a54833153d9a4aef526f97d', class: "zonos--title", type: "semiBoldSubheader" }, this.notificationTitle), h("zonos-text", { key: 'b633c665c126225ab060f806e150d77e118b7f6a', class: "zonos--subtitle", textColor: "gray-600" }, this.notificationMessages.map(message => (h(Fragment, null, message, h("br", null))))), this.shouldRenderCloseButtonForRedirectBehavior() && (h("zonos-button", { key: 'f15e8bef4931917ec51a5c449b6d20e76c295cbf',
1029
+ } }, this.isImmediateRedirecting && (h("div", { key: 'aab29e86b7d17dde74d873fe97f342e419e1b5cb', class: "loading-wrapper" }, h("zonos-spinner", { key: '29526f5d056c117ccd65bd1ed303761c04fdbdf3', size: 48 }))), !this.isLoading && !this.isImmediateRedirecting && (h("div", { key: '438b210be5c4c78c74d37e5fde8de994e379afa0', class: "zonos--finish-details" }, h("div", { key: '1cb133c14660035ea6395adb74d30790b69715f3', class: "zonos--group" }, this.notificationType === 'success' ? (h("zonos-icon", { "aria-label": "Order success", content: SuccessIcon, iconColor: 'blue-800', size: 50 })) : (h("zonos-icon", { "aria-label": "Order failed", content: RemoveIcon, iconColor: 'red-800', size: 50 })), h("zonos-text", { key: '4e5a66524f7833916829c9dd7172225e872bb329', class: "zonos--title", type: "semiBoldSubheader" }, this.notificationTitle), h("zonos-text", { key: '773a548cd7757af62b26bbe119e7dd078ab4df5b', class: "zonos--subtitle", textColor: "gray-600" }, this.notificationMessages.map(message => (h(Fragment, null, message, h("br", null))))), this.shouldRenderCloseButtonForRedirectBehavior() && (h("zonos-button", { key: 'ea8c30af05aa57c05155f68b416668db16cfcd1c',
1029
1030
  // Only show loading spinner if it's not an error notification
1030
1031
  loading: this.isWaitingToRedirect &&
1031
1032
  this.notificationType !== 'error', onClick: () => {
@@ -1037,9 +1038,9 @@ const ZonosCheckoutFinish = class {
1037
1038
  }
1038
1039
  this.closeClickHandler();
1039
1040
  }, size: "md", variant: "primary" }, translate('Close'))), !window.Zonos.isLegacyCheckout &&
1040
- this.shouldRenderKeepShoppingButton() && (h("zonos-button", { key: 'f450a254f244806612f269f90ce984167c787795', onClick: () => this.closeClickHandler(), size: "md", variant: "primary" }, this.notificationActionText))), isTestMode &&
1041
+ this.shouldRenderKeepShoppingButton() && (h("zonos-button", { key: '50120bf3a405a2b6e5433fe1bb744f0b836ac49f', onClick: () => this.closeClickHandler(), size: "md", variant: "primary" }, this.notificationActionText))), isTestMode &&
1041
1042
  cartStore.step === 'finish' &&
1042
- this.notificationType === 'success' && (h("div", { key: 'd5ab67cad67c9b62e2e369c52f028aca0fb485b5', class: "zonos--finish-button-wrapper" }, h("zonos-button", { key: '1ab66e026b3797e2fc0f44fe0bcea439dab85128', backgroundColor: "gray-0", buttonColor: "gray-1000", onClick: () => this.closeClickHandler(), size: "lg", variant: "outline" }, "New test cart"), h("zonos-button", { key: '8fc0dc456bb32fb94ea390bf50a9590b35bbb04d', onClick: () => {
1043
+ this.notificationType === 'success' && (h("div", { key: '2794f9deea56b65de81ad92285270388a7089a73', class: "zonos--finish-button-wrapper" }, h("zonos-button", { key: '2ba2ef7a26f78cf484d1625428d866cdfadd1b2f', backgroundColor: "gray-0", buttonColor: "gray-1000", onClick: () => this.closeClickHandler(), size: "lg", variant: "outline" }, "New test cart"), h("zonos-button", { key: 'fc689ad6192fb0cc86a9fcaf164660a056df8bc5', onClick: () => {
1043
1044
  const isZonosDashboard = window.location.hostname.includes('dashboard.zonos.com');
1044
1045
  this.redirectToUrl(isZonosDashboard
1045
1046
  ? '/orders/all'
@@ -1113,10 +1114,10 @@ const ZonosCheckoutFooter = class {
1113
1114
  const languageLabel = (_a = languages.find(x => x.code === localizationStore.selectedLocale)) === null || _a === void 0 ? void 0 : _a.label;
1114
1115
  // reverse color when on desktop. With the coversheet backdrop, the color should be white
1115
1116
  const colorDesktop = this.dataTheme === 'LIGHT' && !this.mobile ? 'gray-0' : 'gray-1000';
1116
- return (h(Host, { key: 'edf9d7cfd7375fcd4f335caedccc2928f84a594e', class: classes(['zonos--elements', this.isMobile && 'mobile']) }, h("div", { key: '14f359b70f1f4610be37571ae5d32ae7791be012', class: "zonos--checkout-footer" }, h("div", { key: 'ae803331487f9759403633a8e27cc6e480b40f93', class: "zonos--checkout-locale-wrapper" }, h("zonos-button", { key: 'f173841a4c1b3af79a2c21ad9195b509f2891964', buttonColor: colorDesktop, class: "zonos--checkout-footer-language-button", icon: h("zonos-icon", { "aria-label": "Language select", content: Globe, iconColor: colorDesktop }), onClick: () => this.toggleLanguageDialog(), variant: "subtle" }, h("span", { key: '7148d2a6076b786954cb9a02e41c760ba4719d6b', class: "zonos--checkout-locale-label" }, languageLabel, h("zonos-icon", { key: '0a759d42576bf657893e6e2349cc3938855de6fc', "aria-hidden": "true", class: "zonos--checkout-locale-chevron", content: ChevronDownIcon$1, iconColor: colorDesktop, size: 18 }))), h("div", { key: '63b1ac3440c35349341272b051c4a3e04e19f818', class: classes([
1117
+ return (h(Host, { key: '3a463ea949a4c94be594297c2d7151e5dac16242', class: classes(['zonos--elements', this.isMobile && 'mobile']) }, h("div", { key: '7e34187328438ad3d48748917740a8676cca4969', class: "zonos--checkout-footer" }, h("div", { key: '5570ef60246917331cc043c5b12933aa8032f009', class: "zonos--checkout-locale-wrapper" }, h("zonos-button", { key: '37ffa31d7c49fede9d0938827fdc6533839cc7b0', buttonColor: colorDesktop, class: "zonos--checkout-footer-language-button", icon: h("zonos-icon", { "aria-label": "Language select", content: Globe, iconColor: colorDesktop }), onClick: () => this.toggleLanguageDialog(), variant: "subtle" }, h("span", { key: 'bfce982c3285039125a37c3be266752fea03b4ce', class: "zonos--checkout-locale-label" }, languageLabel, h("zonos-icon", { key: 'd5c1a5e5a43df15a3fcfb8e7cf9635ce369de158', "aria-hidden": "true", class: "zonos--checkout-locale-chevron", content: ChevronDownIcon$1, iconColor: colorDesktop, size: 18 }))), h("div", { key: '15ed2186739391725783bdef158d80d961e0ba92', class: classes([
1117
1118
  'zonos--checkout-footer-dialog',
1118
1119
  this.showLanguageDialog && 'zonos--checkout-footer-dialog-open',
1119
- ]) }, h("zonos-language-select", { key: '5cad0220d288b722355715c5418928f065af07c1', handleOnClose: () => this.toggleLanguageDialog() }))), h("div", { key: '30ec30fd80133525889fea8ab0567179f3ffdd3a', class: "zonos--checkout-footer-icon-wrapper" }, h("a", { key: 'a6900165737de98bed8fee21d88b4e269ad209e3', href: "https://zonos.com/docs/legal/zonos-privacy-policy", rel: "noopener noreferrer", target: "_blank" }, h("zonos-text", { key: 'ca88bc63b702dcb651530f41aee4764734a5ee84', textColor: colorDesktop }, translate('Privacy policy'))), h("div", { key: '8caa023f3aca229e464a27f55c289985114cc641', class: "zonos--checkout-footer-logo" }, h("zonos-text", { key: '9a3b6097c157dd86bd8a03c41887915051852930', textColor: colorDesktop }, translate('Powered by')), h("a", { key: '5e0657c052e71ce12c5717b8a5473e4fc5ca2926', href: "https://zonos.com", rel: "noopener noreferrer", target: "_blank", title: "Zonos website" }, h("zonos-icon", { key: '1c6a13757a62a14a9898b3de06aaa1f717f3035d', autoHeight: true, content: colorDesktop === 'gray-1000'
1120
+ ]) }, h("zonos-language-select", { key: '4857e62f7c7026a2ea5962e24bff0c3eb8528ec9', handleOnClose: () => this.toggleLanguageDialog() }))), h("div", { key: '5b30864dae419059892700b83680ed7a00ac0f3c', class: "zonos--checkout-footer-icon-wrapper" }, h("a", { key: '26ef022e181d72ad959b17acd4ab0e8870edf48f', href: "https://zonos.com/docs/legal/zonos-privacy-policy", rel: "noopener noreferrer", target: "_blank" }, h("zonos-text", { key: 'b4c804c21a5a5fc6904aa969976c24b7c833bcdb', textColor: colorDesktop }, translate('Privacy policy'))), h("div", { key: '142c042ef81891b74e18fe303a50be2a8363e0ce', class: "zonos--checkout-footer-logo" }, h("zonos-text", { key: '90f54daa4476cbdb3b934f9d6127e1c9245df9a5', textColor: colorDesktop }, translate('Powered by')), h("a", { key: 'bc6ef3c56a9a3550898f96ae04eeb0444d56e10a', href: "https://zonos.com", rel: "noopener noreferrer", target: "_blank", title: "Zonos website" }, h("zonos-icon", { key: '21ec5a15e996e2ff925593823ee583832bac4ab5', autoHeight: true, content: colorDesktop === 'gray-1000'
1120
1121
  ? ZonosIconLight
1121
1122
  : ZonosIconDark, size: 108 })))))));
1122
1123
  }
@@ -1589,17 +1590,17 @@ const ZonosCheckoutProgressTabs = class {
1589
1590
  color: labelSelectedColor,
1590
1591
  })
1591
1592
  : labelSelectedColor;
1592
- return (h(Host, { key: 'e5c68ba81756351ca14ee7cecc1fc31070aea2f6', class: "zonos--elements", style: {
1593
+ return (h(Host, { key: 'b6a80cfc838ca16ce76be381fcde573a0d6db0cc', class: "zonos--elements", style: {
1593
1594
  '--zonos--color': contrastLabelColor,
1594
1595
  '--zonos--progress-percent': this.getTotalSuccessStep(),
1595
- } }, h("div", { key: '64c20db4eb660505af2e97c07e9658f9866cfd57', class: "zonos--tab-wrapper" }, Object.values(cartStore.tabItems).map((tab, index) => {
1596
+ } }, h("div", { key: '6002136139ac0349c9dca75fc4c24dc258599551', class: "zonos--tab-wrapper" }, Object.values(cartStore.tabItems).map((tab, index) => {
1596
1597
  const isSelected = tab.value === selectedStep;
1597
1598
  return (h("button", { "aria-label": `Tab ${tab.label}`, class: classes([
1598
1599
  'zonos--tab-item',
1599
1600
  tab.value === selectedStep && 'selected',
1600
1601
  tab.isDone && 'done',
1601
1602
  ]), disabled: !this.isTabClickable(tab.value), key: tab.value, onClick: () => this.setTabSelected(tab.value) }, h("div", { class: "zonos--tab-index" }, h("zonos-text", { class: "zonos--tab-index-label", textColor: isSelected ? contrastLabelColor : 'gray-1000', type: "label" }, index + 1), h("zonos-icon", { class: "zonos--tab-index-done-icon", content: TabCheckmark, iconColor: isSelected ? contrastLabelColor : 'gray-1000' })), h("zonos-text", { textColor: isSelected ? contrastLabelColor : 'gray-1000', type: "label" }, translate(tab.label))));
1602
- })), h("div", { key: 'e3257fb953c3c76e946a47334a16a2bd802ceb10', class: "zonos--tab-progress" }, h("div", { key: '2e8a3905cf361d1138846aa8f8153b92e80c5fca', class: "zonos--progress-bar-fill" }))));
1603
+ })), h("div", { key: '5b834399f95b66f5ae076e721acb51f50c068551', class: "zonos--tab-progress" }, h("div", { key: '267bf0a5b8911eadcca75147d625201115b7de8b', class: "zonos--progress-bar-fill" }))));
1603
1604
  }
1604
1605
  static get assetsDirs() { return ["assets"]; }
1605
1606
  get ele() { return getElement(this); }
@@ -1640,6 +1641,29 @@ const ZonosCurrencyToggle = class {
1640
1641
  static get assetsDirs() { return ["assets"]; }
1641
1642
  };
1642
1643
 
1644
+ /**
1645
+ * Merge the fields captured in the completion dialog back into a Stripe shipping address event,
1646
+ * rebuilding the full name from the extracted first name and the provided/known last name and
1647
+ * marking the address complete. Fields the customer wasn't asked for are left untouched.
1648
+ *
1649
+ * Pure: returns a new event object rather than mutating the input, so it can be unit-tested and
1650
+ * assigned straight to the store.
1651
+ */
1652
+ const applyAddressCompletion = ({ data, event, }) => {
1653
+ var _a, _b, _c, _d;
1654
+ // Use the same name extraction as the detection step so the two stay in agreement even when
1655
+ // the surname is only available via the combined `name` field.
1656
+ const { firstName: extractedFirstName, lastName: extractedLastName } = extractName({
1657
+ firstName: event.value.firstName,
1658
+ lastName: event.value.lastName,
1659
+ name: event.value.name,
1660
+ });
1661
+ const firstName = (_a = data.firstName) !== null && _a !== void 0 ? _a : extractedFirstName;
1662
+ const lastName = (_b = data.lastName) !== null && _b !== void 0 ? _b : extractedLastName;
1663
+ return Object.assign(Object.assign({}, event), { complete: true, value: Object.assign(Object.assign({}, event.value), { address: Object.assign(Object.assign({}, event.value.address), { postal_code: (_c = data.postal_code) !== null && _c !== void 0 ? _c : event.value.address.postal_code, state: (_d = data.state) !== null && _d !== void 0 ? _d : event.value.address.state }), firstName,
1664
+ lastName, name: `${firstName} ${lastName}`.trim() }) });
1665
+ };
1666
+
1643
1667
  const shortAddressCodeValidationResult = ({ shippingCountry, shortAddressCode, }) => {
1644
1668
  // Check to see if we are required to collect short address code for the shipping country or not
1645
1669
  const isShortAddressCodeInputRendered = shouldRenderShortAddressCodeInput({
@@ -1828,6 +1852,15 @@ const ZonosCustomerInfo = class {
1828
1852
  * Handler for the dialog close button
1829
1853
  */
1830
1854
  this.openAddressValidationDialog = false;
1855
+ /**
1856
+ * Whether the "complete your shipping address" dialog is open. Shown when Stripe reports
1857
+ * the address complete but Zonos still needs fields Link didn't provide (e.g. last name).
1858
+ */
1859
+ this.openCompletionDialog = false;
1860
+ /**
1861
+ * Zonos-required shipping fields still missing from the selected Stripe address
1862
+ */
1863
+ this.missingShippingFields = [];
1831
1864
  /**
1832
1865
  * Handler for the email error state
1833
1866
  */
@@ -1919,6 +1952,30 @@ const ZonosCustomerInfo = class {
1919
1952
  return;
1920
1953
  }
1921
1954
  this.showErrorBanner = false;
1955
+ // Stripe reports the address complete, but Link's single name input (and, for some
1956
+ // countries, a missing state/postal code) can leave Zonos short of what it needs to ship
1957
+ // internationally. Capture only those missing fields before proceeding. Custom ('zonos')
1958
+ // address forms enforce their own required fields, so this only applies to the Stripe form.
1959
+ if (this.addressFormRenderType !== 'zonos') {
1960
+ const missingShippingFields = getMissingRequiredShippingFields({
1961
+ countryField: stripeStore.stripeAddressEventData
1962
+ ? getCountryField(stripeStore.stripeAddressEventData.value.address.country)
1963
+ : null,
1964
+ event: stripeStore.stripeAddressEventData,
1965
+ });
1966
+ if (missingShippingFields.length) {
1967
+ this.missingShippingFields = missingShippingFields;
1968
+ this.openCompletionDialog = true;
1969
+ return;
1970
+ }
1971
+ }
1972
+ await this.continueAfterValidation();
1973
+ };
1974
+ /**
1975
+ * Continue past the customer step once the address is validated and complete. Runs the
1976
+ * non-Latin character check (which may open the translate dialog) before emitting.
1977
+ */
1978
+ this.continueAfterValidation = async () => {
1922
1979
  // check if the address contains invalid characters
1923
1980
  const { hasInvalidCharacters } = await this.handleInvalidCharacters();
1924
1981
  if (hasInvalidCharacters) {
@@ -1930,6 +1987,18 @@ const ZonosCustomerInfo = class {
1930
1987
  shippingAddress: stripeStore.stripeAddressEventData,
1931
1988
  });
1932
1989
  };
1990
+ this.completionSubmitHandler = (data) => {
1991
+ const eventData = stripeStore.stripeAddressEventData;
1992
+ if (eventData) {
1993
+ // Merge the captured fields back into the stored shipping address event.
1994
+ stripeStore.stripeAddressEventData = applyAddressCompletion({
1995
+ data,
1996
+ event: eventData,
1997
+ });
1998
+ }
1999
+ this.openCompletionDialog = false;
2000
+ void this.continueAfterValidation().catch(logError);
2001
+ };
1933
2002
  /**
1934
2003
  * Validate the custom address form, turn the flag showError to false if the form is valid, or vice versa
1935
2004
  */
@@ -2286,7 +2355,7 @@ const ZonosCustomerInfo = class {
2286
2355
  submitData,
2287
2356
  type: 'billingAddress',
2288
2357
  });
2289
- }, shippingAddress: this.prepareAddressObject(stripeStore.stripeAddressEventData), translatedBillingAddress: stripeStore.translatedAddress.billingAddress, translatedShippingAddress: stripeStore.translatedAddress.address }))));
2358
+ }, shippingAddress: this.prepareAddressObject(stripeStore.stripeAddressEventData), translatedBillingAddress: stripeStore.translatedAddress.billingAddress, translatedShippingAddress: stripeStore.translatedAddress.address })), stripeStore.stripeAddressEventData && (h("zonos-address-completion-dialog", { continueLoading: this.continueLoading, "data-theme": theme, dialogOpen: this.openCompletionDialog, isMobile: this.isMobile, missingFields: this.missingShippingFields, onCloseCompletionDialog: () => (this.openCompletionDialog = false), onCompletionSubmit: e => this.completionSubmitHandler(e.detail), shippingAddress: this.prepareAddressObject(stripeStore.stripeAddressEventData), submitBtnColor: this.submitBtnColor, submitBtnType: this.submitBtnType }))));
2290
2359
  }
2291
2360
  get el() { return getElement(this); }
2292
2361
  static get watchers() { return {
@@ -2315,11 +2384,11 @@ const ZonosRestState = class {
2315
2384
  }
2316
2385
  render() {
2317
2386
  const imageUrl = this.getImageRestState();
2318
- return (h(Host, { key: '318c4da3d24faab9e2896923388183be1553fc39', class: classes(['zonos--elements zonos--restState']), style: {
2387
+ return (h(Host, { key: '709006622bdc4ba41d622c57562d98e90d6bfbbd', class: classes(['zonos--elements zonos--restState']), style: {
2319
2388
  '--zonos--font-family': zonosStoreFontFamily(),
2320
- } }, h("div", { key: '4a25dbfceb67d366ea68ebe0b16bd3af2f2073e6', class: "zonos--restState-image" }, h("img", { key: '5af2ffcf96d9ee70ceb14c6c16ad8607c5a734d8', alt: this.restStateType, onError: () => {
2389
+ } }, h("div", { key: 'ecd47662e89cdd64c19e56f33fff5ebe929609fd', class: "zonos--restState-image" }, h("img", { key: 'c11941895f62fb7cd2dfcb34d8b5409ecbe23a3a', alt: this.restStateType, onError: () => {
2321
2390
  this.isErrorImageLoad = true;
2322
- }, src: imageUrl })), h("div", { key: 'c3c6c28e7edabc3f127f74a1f8025cdd556c2df1', class: "content" }, h("zonos-text", { key: '8fc1b63061c1c6ed1aaf7c8bf1f6d0107ad96574', class: "title", type: "boldSubheader" }, this.restStateTitle), h("zonos-text", { key: '8410ef232d219a27bedd6fab0f2145c242c21a6d', class: "subtitle" }, this.restStateSubtitle)), h("div", { key: 'f9d8cd4653bc3918b9c2c3bf453b17999e16972f', class: "action" }, h("slot", { key: '60091e060884958d729092292ae6c34f9af85ae1' }))));
2391
+ }, src: imageUrl })), h("div", { key: '40a66ae6959222fedcfd69de6f0236ac078903c3', class: "content" }, h("zonos-text", { key: 'ca7f67de9b084e16e1a5e5635a4917680fcbdfd6', class: "title", type: "boldSubheader" }, this.restStateTitle), h("zonos-text", { key: '9e6f22d9fb87b1462044a2395c32b03d9b4b59d3', class: "subtitle" }, this.restStateSubtitle)), h("div", { key: 'f93aa94983a14e5a4bc03cd339c1d53954da0f30', class: "action" }, h("slot", { key: 'b893fc9c907a97f241d6b7148636b01381f26813' }))));
2323
2392
  }
2324
2393
  static get assetsDirs() { return ["assets"]; }
2325
2394
  };
@@ -68,14 +68,14 @@ const ZonosCheckbox = class {
68
68
  customRoundRadius: '4px',
69
69
  overrideBorderStyle: this.borderStyle,
70
70
  });
71
- return (h(Host, { key: '2021966f1236912bd2970023fbc44165c7b6ed7c', class: classes(['zonos--elements zonos--checkbox']), style: {
71
+ return (h(Host, { key: 'e85da15e441564d911fc0cf3927d4bbfcd151570', class: classes(['zonos--elements zonos--checkbox']), style: {
72
72
  '--zonos--background-color': backgroundColor,
73
73
  '--zonos--border-radius': borderStyle,
74
74
  '--zonos--font-family': zonosStoreFontFamily(),
75
75
  '--zonos--size': `${this.size}px`,
76
- } }, h("label", { key: 'b49919481676d8360a07d9cd456ce149559b9a09', class: classes([this.isDisabled && 'disabled']), htmlFor: this.inputId }, h("input", { key: '5d3382b19c8f5207e5a505ff09248441969aa5c7', checked: this.isChecked, disabled: this.isDisabled, hidden: true, id: this.inputId, onChange: e => {
76
+ } }, h("label", { key: 'f0dd01f615792e9c2cd2051a8a3aa04d8f6f1f53', class: classes([this.isDisabled && 'disabled']), htmlFor: this.inputId }, h("input", { key: '503709370926204f7d4c7ac3e75853a832a73401', checked: this.isChecked, disabled: this.isDisabled, hidden: true, id: this.inputId, onChange: e => {
77
77
  this.checkboxSelected.emit(e.target.checked);
78
- }, type: "checkbox" }), h("span", { key: 'fc35e3d6c1a3380b8f2b012951b5cf50e42e9735', class: "checkmark-container" }, h("svg", { key: 'c134d6444c50ff2294c7685f2a3ed52a6ef070b6', class: "checkmark", color: checkmarkColor, fill: "none", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '635394bdaa83c0d222f995a805128b3ccfae71a0', "clip-rule": "evenodd", d: "M17.456 7.404a.75.75 0 0 1 .14 1.052l-6.5 8.5a.75.75 0 0 1-1.126.074l-4-4a.75.75 0 0 1 1.06-1.06l3.395 3.394 5.98-7.82a.75.75 0 0 1 1.05-.14Z", fill: "currentColor", "fill-rule": "evenodd" }))), this.label && (h("zonos-text", { key: '0626598dc95151a065a615ffaf99fd59030d2a29', size: this.fontSize }, this.label)))));
78
+ }, type: "checkbox" }), h("span", { key: '228d3d5cabdcd5633bd0fabea9997a787fdca0ae', class: "checkmark-container" }, h("svg", { key: '42ab50560eb8fde3dcb3d0d0325ba05c57c5e30f', class: "checkmark", color: checkmarkColor, fill: "none", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '63f95aec780a449cb03896ee3a2d2e039355af18', "clip-rule": "evenodd", d: "M17.456 7.404a.75.75 0 0 1 .14 1.052l-6.5 8.5a.75.75 0 0 1-1.126.074l-4-4a.75.75 0 0 1 1.06-1.06l3.395 3.394 5.98-7.82a.75.75 0 0 1 1.05-.14Z", fill: "currentColor", "fill-rule": "evenodd" }))), this.label && (h("zonos-text", { key: 'fad4553fae51c0dffc77443c08439c8076a9dfbd', size: this.fontSize }, this.label)))));
79
79
  }
80
80
  };
81
81
  ZonosCheckbox.style = ZonosCheckboxStyle0;
@@ -93,9 +93,9 @@ const ZonosToggle = class {
93
93
  this.options = [];
94
94
  }
95
95
  render() {
96
- return (h(Host, { key: 'cdc4d67f72773fa460d24cfc0a24fcb5288f40ad', class: classes(['zonos--elements zonos--toggle']), style: {
96
+ return (h(Host, { key: 'e4177068eca8831790db346088acde5c24a1cb52', class: classes(['zonos--elements zonos--toggle']), style: {
97
97
  '--zonos--font-family': zonosStoreFontFamily(),
98
- } }, h("div", { key: '2eb725addb5f65b98edd5193ceb6eaaa2564952b', class: "wrapper" }, this.options.map(option => {
98
+ } }, h("div", { key: '89c8561a03f2e9c11c858b406fd8dd5cbc92a9b7', class: "wrapper" }, this.options.map(option => {
99
99
  const selected = option.value === this.value;
100
100
  return (h("button", { class: classes(['zonos--option', selected && 'selected']), key: option.value, onClick: () => {
101
101
  this.toggleChanged.emit(option.value);
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, h, F as Fragment, a as Host } from './index-cfd394c8.js';
2
- import { s as stripeStoreGetDomesticShippingSession, a as stripeStoreSaveDomesticShippingSession, b as stripeStore, i as initStripeElements, c as stripeStoreRetrievePayment, d as cartStore, e as cartStoreUpdateItems, f as cartStoreReset, p as policyConsentStoreReset, g as cartStoreResetTabItems, h as cartStoreClearCheckoutInterval, j as stripeStoreInitCheckoutSession, k as stripeStoreGetPaymentIntent, l as stripeStoreHandleInventoryCheck, m as cartStoreStartCheckoutInterval, t as trackConversionEvent, n as getCheckoutSessionBody, o as cartStoreUpdateToErrorState, q as stripeStoreCleanupDomesticShippingSession, r as cartStoreSetCheckoutSession, u as stripeStorePrefetchLandedCost, v as cartStoreNextStep, w as isPolicyConsentRequired, x as stripeStoreUpdateCheckoutSessionBaseCurrency, y as storeCreditStoreApplyCredit, z as storeCreditStoreCoversFullAmount, A as validateCheckoutSession, B as storeCreditStoreCreateOrder, C as stripeStoreConfirmPayment, D as stripeStoreHandleInventoryRefund, E as policyConsentStore, F as stripeStoreReset, G as cartStoreOnChange, H as stripeStoreOnChange, I as storeCreditStoreGetEffectiveAmount } from './cart-c66ec17e.js';
3
- import { p as paypalStoreHasPaypalEnabled, s as submitAnalytics, a as paypalStore, b as paypalInitScript } from './paypal-cae1d404.js';
4
- import { f as filterValidTests, a as fetchCheckoutId, b as fetchBigCommerceCheckout, i as isBigCommerceCustomerLoggedIn, l as localizationStore, c as localizationStoreUpdateSelectedCountryCode, g as getZCountryUrlParam, s as storageStore, V as VARIANT_TEST_KEY_EXPIRATION, d as storageStoreSetEnabledVariantTestKeys, t as translate, e as localizationStoreOnChange, h as currencyFormat } from './localization-6d36209f.js';
2
+ import { s as stripeStoreGetDomesticShippingSession, a as stripeStoreSaveDomesticShippingSession, b as stripeStore, i as initStripeElements, c as stripeStoreRetrievePayment, d as cartStore, e as cartStoreUpdateItems, f as cartStoreReset, p as policyConsentStoreReset, g as cartStoreResetTabItems, h as cartStoreClearCheckoutInterval, j as stripeStoreInitCheckoutSession, k as stripeStoreGetPaymentIntent, l as stripeStoreHandleInventoryCheck, m as cartStoreStartCheckoutInterval, t as trackConversionEvent, n as getCheckoutSessionBody, o as cartStoreUpdateToErrorState, q as stripeStoreCleanupDomesticShippingSession, r as cartStoreSetCheckoutSession, u as stripeStorePrefetchLandedCost, v as cartStoreNextStep, w as isPolicyConsentRequired, x as stripeStoreUpdateCheckoutSessionBaseCurrency, y as storeCreditStoreApplyCredit, z as storeCreditStoreCoversFullAmount, A as validateCheckoutSession, B as storeCreditStoreCreateOrder, C as stripeStoreConfirmPayment, D as stripeStoreHandleInventoryRefund, E as policyConsentStore, F as stripeStoreReset, G as cartStoreOnChange, H as stripeStoreOnChange, I as storeCreditStoreGetEffectiveAmount } from './cart-5282f6c1.js';
3
+ import { p as paypalStoreHasPaypalEnabled, s as submitAnalytics, a as paypalStore, b as paypalInitScript } from './paypal-7c82eac4.js';
4
+ import { f as filterValidTests, a as fetchCheckoutId, b as fetchBigCommerceCheckout, i as isBigCommerceCustomerLoggedIn, l as localizationStore, c as localizationStoreUpdateSelectedCountryCode, g as getZCountryUrlParam, s as storageStore, V as VARIANT_TEST_KEY_EXPIRATION, d as storageStoreSetEnabledVariantTestKeys, t as translate, e as localizationStoreOnChange, h as currencyFormat } from './localization-0953a048.js';
5
5
  import { z as zonosStore, g as getZonosStoreTheme, m as mergeConfig } from './zonosStore-b7d3f9b0.js';
6
6
  import { b as buildCartItemsByTempCart } from './buildCartItemsByTempCart-a117f75d.js';
7
7
  import { h as handleFetch, g as getIsTestMode, j as jsonParse, l as logError, b as getAdditionalLogMetadata, s as sendErrorLog, a as getIsStagingMode, i as isCheckoutMobile } from './handleFetch-a844cac1.js';
@@ -53,10 +53,10 @@ const ZonosCollapse = class {
53
53
  // set overflow to hidden to prevent content from showing when collapsed
54
54
  this.el.style.overflow = 'hidden';
55
55
  }
56
- return (h(Host, { key: '9a7c1c2e4f960e34fa81af1ce3bc509857082a27', class: 'zonos--elements zonos--collapse', style: {
56
+ return (h(Host, { key: '89b15e5cd4fc45b07cd185c076b239dddc7398f1', class: 'zonos--elements zonos--collapse', style: {
57
57
  '--zonos--font-family': zonosStoreFontFamily(),
58
58
  height: this.getElementHeight(),
59
- } }, h("div", { key: 'e68bac246e123eaf18d3b0a47c38b60ddd9c297a' }, h("iframe", { key: '011961e0e1608ba664ba366a16347c843d4280b3', class: "height-change-listener", tabindex: "-1", title: "collapse-height-change-listener" }), h("slot", { key: '8234271563b9a56b8507374e4aa9881ae8f699ba' }))));
59
+ } }, h("div", { key: '21f33e337c456f9706eb4ac05e97e80b1a79b56d' }, h("iframe", { key: '2a2dd65f575471f7a0c6bbb407d063103ace77ab', class: "height-change-listener", tabindex: "-1", title: "collapse-height-change-listener" }), h("slot", { key: '6e09930a27e8c5278eea633f0998d4441fc3599c' }))));
60
60
  }
61
61
  get el() { return getElement(this); }
62
62
  };
@@ -1,10 +1,10 @@
1
1
  import { r as registerInstance, e as getAssetPath, h, a as Host } from './index-cfd394c8.js';
2
- import { d as cartStore } from './cart-c66ec17e.js';
2
+ import { d as cartStore } from './cart-5282f6c1.js';
3
3
  import { c as cleanHtmlMarkdown } from './cleanHtmlMarkdown-87d195f6.js';
4
4
  import { f as zonosStoreFontFamily } from './zonosStore-b7d3f9b0.js';
5
5
  import { c as classes } from './classes-0d95c529.js';
6
6
  import { s as styles } from './styles-6fc2fad9.js';
7
- import './localization-6d36209f.js';
7
+ import './localization-0953a048.js';
8
8
  import './handleFetch-a844cac1.js';
9
9
  import './VarianceTest-572cecf5.js';
10
10
  import './isDarkColor-039ef212.js';
@@ -22,7 +22,7 @@ const ZonosCollectCartItems = class {
22
22
  render() {
23
23
  const emptyItemImg = getAssetPath('./assets/empty-item.jpeg');
24
24
  const nonRestrictedItems = cartStore.items.filter(item => !item.isRestricted);
25
- return (h(Host, { key: 'b59fc5d56e5672ed47312fa930a1f35bf987b58d', class: "zonos--collect-cart-items zonos--elements" }, h("table", { key: '1f1020fd843fc2e86a12f426786f275e2c45c7c6', class: "zonos--cart-table" }, h("tbody", { key: 'b383812ea0967e3715701c09753fda8b3dbfe612' }, nonRestrictedItems.map(item => {
25
+ return (h(Host, { key: '1ce09299c7be0b28d85a5bf5b6d0cd1272b305a2', class: "zonos--collect-cart-items zonos--elements" }, h("table", { key: 'a964c41a141ad4490e3213054d25dd688dca6d18', class: "zonos--cart-table" }, h("tbody", { key: 'dbc155d72b4de43839b0e2fc8b8704e5c885a5ec' }, nonRestrictedItems.map(item => {
26
26
  const itemImg = item.imageUrl;
27
27
  const cleanedItemNames = cleanHtmlMarkdown(item.name);
28
28
  return (h("tr", { class: "zonos--collect-cart-item" }, h("td", { class: "zonos--column zonos--cart-item-image" }, itemImg && !this.errorImages.includes(itemImg) ? (h("img", { alt: item.name, onError: () => {
@@ -49,10 +49,10 @@ const HStack = class {
49
49
  this.spacing = 24;
50
50
  }
51
51
  render() {
52
- return (h(Host, { key: 'f06155d19be654e8af1f3fe31d8b90c9714803a1', style: {
52
+ return (h(Host, { key: '029e16a802574614fb1d7cf1c7142425bf5a8dd2', style: {
53
53
  '--spacing': `${this.spacing}px`,
54
54
  '--zonos--font-family': zonosStoreFontFamily(),
55
- } }, h("slot", { key: '6cfa7de515d78cc8376e9c863e54e6875392bd0a' })));
55
+ } }, h("slot", { key: '9894338cb38887b8757182f8ed2a4ce1bcff0eaf' })));
56
56
  }
57
57
  };
58
58
  HStack.style = ZonosHStackStyle0;
@@ -75,7 +75,7 @@ const ZonosSkeleton = class {
75
75
  this.skeletonHeight = '14px';
76
76
  }
77
77
  render() {
78
- return (h(Host, { key: '58a2bedd58be3710e9e769efda15097c3ba19ea8', class: classes(['zonos--elements zonos--skeleton']), style: styles({
78
+ return (h(Host, { key: 'b5450df7f385c16cc93b492ba8e3369f131db069', class: classes(['zonos--elements zonos--skeleton']), style: styles({
79
79
  '--zonos--skeleton-height': this.skeletonHeight,
80
80
  '--zonos--skeleton-width': this.skeletonWidth,
81
81
  }) }));
@@ -1,8 +1,8 @@
1
1
  import { r as registerInstance, d as createEvent, h, F as Fragment, a as Host, g as getElement } from './index-cfd394c8.js';
2
- import { b as airwallexStore, d as airwallexStoreRetrievePaymentIntent, j as airwallexStoreMessageBasedOnStatus, k as airwallexStoreReset, c as collectStore, e as airwallexStoreIsPaidStatus } from './collect-915fd59d.js';
3
- import { b as stripeStore, c as stripeStoreRetrievePayment, t as trackConversionEvent, Q as stripeStoreResetPromoCode, F as stripeStoreReset, R as stripeStoreMessageBasedOnStatus, d as cartStore, v as cartStoreNextStep, G as cartStoreOnChange } from './cart-c66ec17e.js';
4
- import { s as submitAnalytics, c as paypalStoreReset, a as paypalStore, b as paypalInitScript } from './paypal-cae1d404.js';
5
- import { t as translate, s as storageStore, l as localizationStore, x as translationStoreOnChange } from './localization-6d36209f.js';
2
+ import { b as airwallexStore, d as airwallexStoreRetrievePaymentIntent, j as airwallexStoreMessageBasedOnStatus, k as airwallexStoreReset, c as collectStore, e as airwallexStoreIsPaidStatus } from './collect-fdbab973.js';
3
+ import { b as stripeStore, c as stripeStoreRetrievePayment, t as trackConversionEvent, Q as stripeStoreResetPromoCode, F as stripeStoreReset, R as stripeStoreMessageBasedOnStatus, d as cartStore, v as cartStoreNextStep, G as cartStoreOnChange } from './cart-5282f6c1.js';
4
+ import { s as submitAnalytics, c as paypalStoreReset, a as paypalStore, b as paypalInitScript } from './paypal-7c82eac4.js';
5
+ import { t as translate, s as storageStore, l as localizationStore, x as translationStoreOnChange } from './localization-0953a048.js';
6
6
  import { z as zonosStore } from './zonosStore-b7d3f9b0.js';
7
7
  import { h as handleFetch, s as sendErrorLog, g as getIsTestMode, i as isCheckoutMobile, a as getIsStagingMode } from './handleFetch-a844cac1.js';
8
8
  import { c as createCustomEvent } from './createCustomEvent-58159025.js';
@@ -11,8 +11,8 @@ import { l as log, b as allLogs } from './VarianceTest-572cecf5.js';
11
11
  import { i as isCollectMobile, a as isCollectTablet } from './isCollectMobileTablet-111b0dd7.js';
12
12
  import { c as classes } from './classes-0d95c529.js';
13
13
  import { l as languages } from './ILanguage-cd6acb72.js';
14
- import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-951386a5.js';
15
- import { p as placeTestOrder } from './placeTestOrder-955269d2.js';
14
+ import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-44f897a1.js';
15
+ import { p as placeTestOrder } from './placeTestOrder-6a746207.js';
16
16
  import { r as renderFallback } from './renderFallback-b250f4e9.js';
17
17
  import './isDarkColor-039ef212.js';
18
18
  import './TaxId-63a14057.js';
@@ -376,11 +376,11 @@ const ZonosCollectFinish = class {
376
376
  }
377
377
  render() {
378
378
  const cartId = window.Zonos.cartId;
379
- return (h(Host, { key: 'fe3107670230caeaacc834983d9215422a7828ae', class: "zonos--checkout-finish zonos--elements", style: {
379
+ return (h(Host, { key: '79369b0b697b1ab4e4b320442452bcf1f942f57c', class: "zonos--checkout-finish zonos--elements", style: {
380
380
  '--zonos--border-radius': getBorderRadius({
381
381
  overrideBorderStyle: this.borderRadius,
382
382
  }),
383
- } }, !this.isLoading && (h("div", { key: 'fefefedc7ec022318cbc6da23b327079afec981b', class: "zonos--finish-details" }, h("div", { key: '4428271e11c3a96db732726719c5747364a18097', class: "zonos--group" }, this.notificationType === 'success' ? (h("zonos-icon", { "aria-label": "Order success", content: SuccessIcon, iconColor: 'blue-800', size: 50 })) : (h("zonos-icon", { "aria-label": "Order failed", content: RemoveIcon, iconColor: 'red-800', size: 50 })), h("zonos-text", { key: '0c3371b3bed8fd83e437075f1c35179fbb7e5e09', class: "zonos--title", type: "semiBoldSubheader" }, this.notificationTitle), this.confirmationId && (h("zonos-badge", { key: 'dbb263f0f95a62d93ae3c5ac455625512eb1f63e', badgeColor: "gray" }, this.confirmationId)), h("zonos-text", { key: '07e2733ad91ced8e5260e0f8fea627610b864ebf', class: "zonos--subtitle", textColor: "gray-600" }, this.notificationMessages.map(message => (h(Fragment, null, message, h("br", null))))), this.order && cartId && (h("div", { key: 'ecb7332cb4b7c28d398f2957d3b521c6328163eb', class: "zonos--button-container" }, h("zonos-button", { key: 'c8303e2a61d573b6e028ab38df2427fa98471e9f', onClick: () => {
383
+ } }, !this.isLoading && (h("div", { key: 'd7685ab3248308469d186f96384f4c3d4b1994df', class: "zonos--finish-details" }, h("div", { key: '45e8b49c5bba2022a1033c4496ed6f910a66af55', class: "zonos--group" }, this.notificationType === 'success' ? (h("zonos-icon", { "aria-label": "Order success", content: SuccessIcon, iconColor: 'blue-800', size: 50 })) : (h("zonos-icon", { "aria-label": "Order failed", content: RemoveIcon, iconColor: 'red-800', size: 50 })), h("zonos-text", { key: 'ead6f0af19b569c0e38c0ed10a553d17487f7950', class: "zonos--title", type: "semiBoldSubheader" }, this.notificationTitle), this.confirmationId && (h("zonos-badge", { key: '81007111e84420a27a390dd4e4146434b6fa371d', badgeColor: "gray" }, this.confirmationId)), h("zonos-text", { key: '5b8343c8d75242d8beead8d75dd3826e139aaf02', class: "zonos--subtitle", textColor: "gray-600" }, this.notificationMessages.map(message => (h(Fragment, null, message, h("br", null))))), this.order && cartId && (h("div", { key: '46d3f8184caefe2f5b143d9d7269a428b73dd7da', class: "zonos--button-container" }, h("zonos-button", { key: '9923fc08076ddd03053b0ef0ff77af6debee749c', onClick: () => {
384
384
  window.open(this.getReceiptUrl({ cartId }), '_blank');
385
385
  }, size: "lg", variant: "primary" }, translate('View receipt')))))))));
386
386
  }
@@ -445,15 +445,15 @@ const ZonosCollectFooter = class {
445
445
  const languageLabel = (_a = languages.find(x => x.code === localizationStore.selectedLocale)) === null || _a === void 0 ? void 0 : _a.label;
446
446
  // reverse color when on desktop. With the coversheet backdrop, the color should be white
447
447
  const colorDesktop = 'gray-1000';
448
- return (h(Host, { key: '52908f4538918641b708887436e1cfe3b643376f', class: classes([
448
+ return (h(Host, { key: '8ab700c2f2b1a05379fd75e879c818e2adb8afd1', class: classes([
449
449
  'zonos--elements',
450
450
  this.isMobile && 'mobile',
451
451
  this.isTablet && 'tablet',
452
- ]) }, h("div", { key: '46a1c762d78396a7f993bad323c93f8e6bc71f1b', class: "zonos--collect-footer" }, h("div", { key: 'a6a98539cdb901ecd162f5e5b98591c9b8b7321a', class: "zonos--collect-locale-wrapper" }, h("zonos-button", { key: '8a5c4a18bc1030c3e74e412ff14a59c299f59e9a', buttonColor: colorDesktop, class: "zonos--collect-footer-language-button", icon: h("zonos-icon", { "aria-label": "Language select", content: Globe, iconColor: colorDesktop }), onClick: () => this.toggleLanguageDialog(), variant: "subtle" }, h("span", { key: '03bc4235862d1382cd8f0cdb007fd708bf2bfe87', class: "zonos--collect-locale-label" }, languageLabel, h("zonos-icon", { key: '4b3bbcd5bcd4039f3cb1f1c4c12698cba1894308', "aria-hidden": "true", class: "zonos--collect-locale-chevron", content: ChevronDownIcon$1, iconColor: colorDesktop, size: 18 }))), h("div", { key: '5508629b0cdc334b81ad4d4d5a034ced133d6744', class: classes([
452
+ ]) }, h("div", { key: 'e4de4b99e01ecc9aec961067af0f295a64616f13', class: "zonos--collect-footer" }, h("div", { key: '154b2c963f4154174bb9ec74ce7fd9fbd50fba80', class: "zonos--collect-locale-wrapper" }, h("zonos-button", { key: '45bce389798236f0827e2a3adbc185cd93d08541', buttonColor: colorDesktop, class: "zonos--collect-footer-language-button", icon: h("zonos-icon", { "aria-label": "Language select", content: Globe, iconColor: colorDesktop }), onClick: () => this.toggleLanguageDialog(), variant: "subtle" }, h("span", { key: '0cdf082f147e03893e50d882794a4330716c351d', class: "zonos--collect-locale-label" }, languageLabel, h("zonos-icon", { key: '4a32f8d8dd7e3bfc7117dbb9821ce76e9556cd26', "aria-hidden": "true", class: "zonos--collect-locale-chevron", content: ChevronDownIcon$1, iconColor: colorDesktop, size: 18 }))), h("div", { key: 'da0241df9b3729f615690671a9470fa632d766f7', class: classes([
453
453
  'zonos--collect-language-dialog',
454
454
  this.showLanguageDialog &&
455
455
  'zonos--collect-language-dialog-open',
456
- ]) }, h("zonos-language-select", { key: 'ca4b77d72dfd9db8743290d333b7fcde15d090d6', handleOnClose: () => this.toggleLanguageDialog() }))), h("div", { key: '98f0d0c35e3c6b4fde833e4b9ae334549fe46f1f', class: "zonos--collect-footer-icon-wrapper" }, h("div", { key: 'b3039948472d797bf04a23d3aca839472f6c6946', class: "zonos--collect-footer-logo" }, h("zonos-text", { key: '75123a6fb2bcdce07e0ebe433a28d81eefaec9ea', textColor: colorDesktop }, "Powered by"), h("a", { key: '2a0f4e2bc5df9d383ac4b91c589d2ce7149c6b3d', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, h("zonos-icon", { key: '436005434f2a9d2ff1228cd36d873b8de7d339f2', autoHeight: true, content: ZonosWordmark, size: 42 }))), h("div", { key: 'c488b5eefba54424a0e66af61415d78d8f3d46fa', class: "dot" }), h("a", { key: 'd98fc7646d4877179b94bee6d3f8a7a283bbc756', href: "https://zonos.com/docs/legal/zonos-privacy-policy", target: "_blank" }, h("zonos-text", { key: '54fe3d9316ee5b22f5620b7acde145627b66cbe3', textColor: colorDesktop }, "Privacy policy"))))));
456
+ ]) }, h("zonos-language-select", { key: 'a29977d98d3a4db1230c9fab41d4f84485aee2a7', handleOnClose: () => this.toggleLanguageDialog() }))), h("div", { key: 'cb7881f46838f5f6639e444f524292aec43df8d6', class: "zonos--collect-footer-icon-wrapper" }, h("div", { key: '3d3d435a3607762a4004819670367d19d81f4607', class: "zonos--collect-footer-logo" }, h("zonos-text", { key: 'e56373f0f1f7c97a8a47dcc29ddebcaa0b1e9b06', textColor: colorDesktop }, "Powered by"), h("a", { key: '1dce741207bdd3c5f9f3a36486d361ba5b0b8683', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, h("zonos-icon", { key: 'bda31cd75b162b66acad3ab888b69e042e195f1e', autoHeight: true, content: ZonosWordmark, size: 42 }))), h("div", { key: '896509762127608a50bca02a01051c05ce17c172', class: "dot" }), h("a", { key: 'dcff1c02f80665e9b52527b9c8019af5cbf68bd3', href: "https://zonos.com/docs/legal/zonos-privacy-policy", target: "_blank" }, h("zonos-text", { key: 'dab8c359011952955a64c20c3fe17977cf286848', textColor: colorDesktop }, "Privacy policy"))))));
457
457
  }
458
458
  get el() { return getElement(this); }
459
459
  static get watchers() { return {
@@ -794,13 +794,13 @@ const ZonosCollectReview = class {
794
794
  }
795
795
  render() {
796
796
  const titleTextColor = this.isMobile ? 'gray-1000' : 'gray-800';
797
- return (h(Host, { key: '7f1709df3a42ae9917e26a86e9c90703b2243ab7', class: classes([
797
+ return (h(Host, { key: '3a3a7d5291db82d260d85446ce4ef97bbb8034d1', class: classes([
798
798
  'zonos--collect-review zonos--elements',
799
799
  this.isMobile && 'mobile',
800
800
  this.isTablet && 'tablet',
801
- ]) }, h("div", { key: '5ed5f5c7da922a9393501b5e31da9a20b9724d9c', class: "zonos--title" }, h("zonos-text", { key: 'd54511663bb32405e16349b20807b9ccddb5fd03', textColor: titleTextColor, type: 'semiBoldLabel' }, translate('Pay [organizationName] duties, taxes and fees for your shipment', {
801
+ ]) }, h("div", { key: 'cb74e4a870e73eadbbbba7590d765f97db8450ba', class: "zonos--title" }, h("zonos-text", { key: '1e4cdd77f6102369ac57a836d82431119001a053', textColor: titleTextColor, type: 'semiBoldLabel' }, translate('Pay [organizationName] duties, taxes and fees for your shipment', {
802
802
  organizationName: zonosStore.organizationName,
803
- }))), h("div", { key: '82967c3614ee91cf95955372bb013837f93822d1', class: "zonos--total-pay" }, renderFallback({
803
+ }))), h("div", { key: '6c1a8207d2f148c155d50e7e2ff80c1153d86eec', class: "zonos--total-pay" }, renderFallback({
804
804
  content: (h("zonos-text", { type: 'secondaryPageHeader' }, renderCheckoutCurrency({
805
805
  amount: collectStore.amountDutyTaxFeeTotal || 0,
806
806
  isForeign: true,
@@ -866,7 +866,7 @@ const ZonosCollectSubtotal = class {
866
866
  }
867
867
  render() {
868
868
  this.initSubtotalData();
869
- return (h(Host, { key: 'fea37a2a4dd32592b88703c37d901fee65408bed', class: "zonos--collect-subtotal zonos--elements" }, h("table", { key: 'be501438b0101c4b13421450dad99ec12f7c5a0b', class: "zonos--collect-table" }, !!this.subtotals[translate('Duties')] && (h("tr", { key: '2c61bf6e958a199d4b8ae3aff00b74a9889ab491', class: "zonos--row zonos--collect-duty" }, h("td", { key: 'd6fc30c58fcc42c282b7dfb03c83b0b7feb0dd82', class: "zonos--column zonos--collect-subtotal-title" }, h("zonos-text", { key: '5909abeeed4a5f90df5a79be09383842137a175c', type: "semiBoldLabel" }, translate('Duties'))), h("td", { key: '68d06c4e8732363e0e5e36d77f9d4b363c0adc3c', class: "zonos--column" }), h("td", { key: 'fd23e46a4ed44fadc31472e38a15f7579ebed160', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback({
869
+ return (h(Host, { key: '873283e3bcbed910a71ec1a45c814a7ea05bcac5', class: "zonos--collect-subtotal zonos--elements" }, h("table", { key: '0df7eed4bd29a79e9065599859317fa2837803c3', class: "zonos--collect-table" }, !!this.subtotals[translate('Duties')] && (h("tr", { key: '8d7e641c65cae73a38f182b2775686816eeea853', class: "zonos--row zonos--collect-duty" }, h("td", { key: 'cd85fe2eeebc447cb844be0e9ae2ca3acfbb988f', class: "zonos--column zonos--collect-subtotal-title" }, h("zonos-text", { key: '6bf01a7f93b0a097648b7284a5a32aa51311a588', type: "semiBoldLabel" }, translate('Duties'))), h("td", { key: '981f35ab9dd6d7519a77465b6bd9fa53e21ddbe7', class: "zonos--column" }), h("td", { key: '5bc30957e829731d8d18bdbd468eff56abe1527e', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback({
870
870
  content: (h("zonos-text", { type: "label" }, renderCheckoutCurrency({
871
871
  amount: this.subtotals[translate('Duties')] || 0,
872
872
  isForeign: true,
@@ -874,7 +874,7 @@ const ZonosCollectSubtotal = class {
874
874
  isLoading: collectStore.isFetchingShippingInfo,
875
875
  skeletonHeight: '14px',
876
876
  skeletonWidth: '150px',
877
- })))), !!this.subtotals[translate('Taxes')] && (h("tr", { key: '3960ae24df8093e1bb7e904bba82b774dc32103c', class: "zonos--row zonos--collect-tax" }, h("td", { key: 'cdfb4bd23f8b3f0545170a05a3b060533db22f26', class: "zonos--column zonos--collect-subtotal-title" }, h("zonos-text", { key: 'bbbdaade160358cc94a9347f835d2e8bc759866d', type: "semiBoldLabel" }, translate('Taxes'))), h("td", { key: '032c233f3301289c89791d78a5624d9409292041', class: "zonos--column" }), h("td", { key: 'b96dc16ecbff5add3adb0236c794c7a71c48800b', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback({
877
+ })))), !!this.subtotals[translate('Taxes')] && (h("tr", { key: 'aba01d5cd377a972c409971bfa6261101a2aca58', class: "zonos--row zonos--collect-tax" }, h("td", { key: 'c016dafb4c6b92cfc715159249d4c0ed663fc301', class: "zonos--column zonos--collect-subtotal-title" }, h("zonos-text", { key: 'afab7f0757f4f7e1941a81f2831bdbd4460ba3fa', type: "semiBoldLabel" }, translate('Taxes'))), h("td", { key: '0b6ee1a4a59db701e17caaad5c69da01156f7cff', class: "zonos--column" }), h("td", { key: 'a5c0ad551408a7c760048f6660fead6d71f9ba89', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback({
878
878
  content: (h("zonos-text", { type: "label" }, renderCheckoutCurrency({
879
879
  amount: this.subtotals[translate('Taxes')] || 0,
880
880
  isForeign: true,
@@ -882,7 +882,7 @@ const ZonosCollectSubtotal = class {
882
882
  isLoading: collectStore.isFetchingShippingInfo,
883
883
  skeletonHeight: '14px',
884
884
  skeletonWidth: '150px',
885
- })))), !!this.subtotals[translate('Fees')] && (h("tr", { key: '056890bb4d5394aea10f618c97c6d22d0ed63d3b', class: "zonos--row zonos--collect-fee" }, h("td", { key: '920bbbc49538bf61a4b3a180454a904996448b22', class: "zonos--column zonos--collect-subtotal-title" }, h("zonos-text", { key: '3609ef98b6fe12f11d16a9176321321fa450c482', type: "semiBoldLabel" }, translate('Fees'))), h("td", { key: 'c7393e334a5d229f879094aa10356740676a412a', class: "zonos--column" }), h("td", { key: '799e621fbeda831fd2181a362d9ace49a39b69e4', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback({
885
+ })))), !!this.subtotals[translate('Fees')] && (h("tr", { key: '794f30fc44ea873b4e242e17b5d647f80bf7dd2b', class: "zonos--row zonos--collect-fee" }, h("td", { key: '0290e97bb88893eda374f62e93e9876900932182', class: "zonos--column zonos--collect-subtotal-title" }, h("zonos-text", { key: 'b789da8295e4069fd3a5f5b6dee0b0457fc31a51', type: "semiBoldLabel" }, translate('Fees'))), h("td", { key: '38a80da4106ce87ad7dabf6de3b1b1eba710b71e', class: "zonos--column" }), h("td", { key: '0fbfa990caf302692dfe1e8c27ddaea51df99660', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback({
886
886
  content: (h("zonos-text", { type: "label" }, renderCheckoutCurrency({
887
887
  amount: this.subtotals[translate('Fees')] || 0,
888
888
  isForeign: true,
@@ -890,7 +890,7 @@ const ZonosCollectSubtotal = class {
890
890
  isLoading: collectStore.isFetchingShippingInfo,
891
891
  skeletonHeight: '14px',
892
892
  skeletonWidth: '150px',
893
- })))), h("tr", { key: 'b9cc1a5aa049ccefb48dc5d1627bdb8093ffe29f', class: "zonos--row zonos--collect-spacing" }, h("td", { key: '439b7508f723ed01efd63e499de979a84e136b21', class: "zonos--column", colSpan: 3 })), h("tr", { key: '6c3db4c263f849b9f1ad25a1ce1cfb23dcf03b10', class: "zonos--row zonos--collect-total zonos--collect-total-subtotal" }, h("td", { key: '3fac71f137d3d5af8a40d7aaa0ad36c31a827a5b', class: "zonos--column" }), h("td", { key: '45084572c966e849b69dd4f10d065fd3f0aa5544', class: "zonos--column zonos--collect-subtotal-title" }, h("zonos-text", { key: '5c09a882998169f59baa30a59574d1ca919ab1c6', type: "label" }, translate('Subtotal'))), h("td", { key: 'd8debe70bbc2394f95581409a1db5cb8055383eb', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback({
893
+ })))), h("tr", { key: '5427b75fa3f55701713bc837c4e75fac31bd5c53', class: "zonos--row zonos--collect-spacing" }, h("td", { key: 'd543700b03631be1b95cc5cca39c9239abaf147c', class: "zonos--column", colSpan: 3 })), h("tr", { key: 'ddf127c847f6261cb2658e164a58e01f5db47b90', class: "zonos--row zonos--collect-total zonos--collect-total-subtotal" }, h("td", { key: '1dcb250d978b55e5d999796cf39dcef885e0b145', class: "zonos--column" }), h("td", { key: '4299cfc2a589c61878c660e6cc60dc0a44162b2f', class: "zonos--column zonos--collect-subtotal-title" }, h("zonos-text", { key: '359d4e0dfec0717cc67d611a561f8e530e387863', type: "label" }, translate('Subtotal'))), h("td", { key: '07f45c0222553309ca503b1eef283b96156e19a5', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback({
894
894
  content: (h("zonos-text", { type: "label" }, renderCheckoutCurrency({
895
895
  amount: collectStore.amountDutyTaxFeeTotal || 0,
896
896
  isForeign: true,
@@ -898,7 +898,7 @@ const ZonosCollectSubtotal = class {
898
898
  isLoading: collectStore.isFetchingShippingInfo,
899
899
  skeletonHeight: '14px',
900
900
  skeletonWidth: '150px',
901
- }))), h("tr", { key: 'db55f0a9600bff78e582609f17ac561fb30ec85f', class: "zonos--row zonos--collect-total" }, h("td", { key: '8b77eb9db155a44591bce58fd24ee46110b9a407', class: "zonos--column" }), h("td", { key: '5c1b6df053e202f60d1d3fa4ff5d8c53fb1762ce', class: "zonos--column zonos--collect-subtotal-title" }, h("zonos-text", { key: '393f436b62e9b49d52598896b2913f08e953987b', type: "semiBoldLabel" }, translate('Customs fees total'))), h("td", { key: 'c2bc51d66b8490652c6f6df8fac0194544785706', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback({
901
+ }))), h("tr", { key: '0de126a7c6083b28ecd13a99828d3e9a37a04ba2', class: "zonos--row zonos--collect-total" }, h("td", { key: '2b5be6f49d700c545b25a603d0a9caafa42e3a70', class: "zonos--column" }), h("td", { key: 'da833751a18f408b0d2d17cb9b812497e43360a8', class: "zonos--column zonos--collect-subtotal-title" }, h("zonos-text", { key: 'b6cf2a310f40274d9633825471e16f429152a994', type: "semiBoldLabel" }, translate('Customs fees total'))), h("td", { key: 'f93207f749dc584419b542a31dcae1a0c279f6e3', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback({
902
902
  content: (h("zonos-text", { type: "semiBoldLabel" }, renderCheckoutCurrency({
903
903
  amount: collectStore.amountDutyTaxFeeTotal || 0,
904
904
  isForeign: true,
@@ -1,8 +1,8 @@
1
1
  import { r as registerInstance, h, a as Host, F as Fragment } from './index-cfd394c8.js';
2
- import { c as collectStore, a as airwallexStoreSetFromSession, b as airwallexStore, d as airwallexStoreRetrievePaymentIntent, e as airwallexStoreIsPaidStatus, f as airwallexStoreInitSdk, g as collectStoreUpdateSelectedShippingOption, h as collectStoreInitShippingInfo, i as collectStoreAsyncAddressUpdate } from './collect-915fd59d.js';
3
- import { b as stripeStore, i as initStripeElements, d as cartStore, c as stripeStoreRetrievePayment, o as cartStoreUpdateToErrorState, e as cartStoreUpdateItems, j as stripeStoreInitCheckoutSession, k as stripeStoreGetPaymentIntent, x as stripeStoreUpdateCheckoutSessionBaseCurrency, C as stripeStoreConfirmPayment, H as stripeStoreOnChange, F as stripeStoreReset, f as cartStoreReset } from './cart-c66ec17e.js';
4
- import { p as paypalStoreHasPaypalEnabled, a as paypalStore } from './paypal-cae1d404.js';
5
- import { s as storageStore, t as translate, e as localizationStoreOnChange, h as currencyFormat, l as localizationStore } from './localization-6d36209f.js';
2
+ import { c as collectStore, a as airwallexStoreSetFromSession, b as airwallexStore, d as airwallexStoreRetrievePaymentIntent, e as airwallexStoreIsPaidStatus, f as airwallexStoreInitSdk, g as collectStoreUpdateSelectedShippingOption, h as collectStoreInitShippingInfo, i as collectStoreAsyncAddressUpdate } from './collect-fdbab973.js';
3
+ import { b as stripeStore, i as initStripeElements, d as cartStore, c as stripeStoreRetrievePayment, o as cartStoreUpdateToErrorState, e as cartStoreUpdateItems, j as stripeStoreInitCheckoutSession, k as stripeStoreGetPaymentIntent, x as stripeStoreUpdateCheckoutSessionBaseCurrency, C as stripeStoreConfirmPayment, H as stripeStoreOnChange, F as stripeStoreReset, f as cartStoreReset } from './cart-5282f6c1.js';
4
+ import { p as paypalStoreHasPaypalEnabled, a as paypalStore } from './paypal-7c82eac4.js';
5
+ import { s as storageStore, t as translate, e as localizationStoreOnChange, h as currencyFormat, l as localizationStore } from './localization-0953a048.js';
6
6
  import { z as zonosStore } from './zonosStore-b7d3f9b0.js';
7
7
  import { b as buildCartItemsByTempCart } from './buildCartItemsByTempCart-a117f75d.js';
8
8
  import { h as handleFetch, s as sendErrorLog, l as logError, g as getIsTestMode } from './handleFetch-a844cac1.js';
@@ -27,7 +27,7 @@ const ZonosComponent = class {
27
27
  return format(this.first, this.middle, this.last);
28
28
  }
29
29
  render() {
30
- return h("div", { key: '27751801e26bb6bc488e28911f5c685332b879c7' }, "Hello, World! I'm ", this.getText());
30
+ return h("div", { key: '4e29ec8d8aeafa6d194925220355d6a8a785e838' }, "Hello, World! I'm ", this.getText());
31
31
  }
32
32
  };
33
33
  ZonosComponent.style = ZonosComponentStyle0;
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, d as createEvent, h, a as Host } from './index-cfd394c8.js';
2
- import { b as stripeStore } from './cart-c66ec17e.js';
3
- import { j as getOverridenZCountry, k as isValidSelector, m as initLocalizationStore, s as storageStore, c as localizationStoreUpdateSelectedCountryCode } from './localization-6d36209f.js';
2
+ import { b as stripeStore } from './cart-5282f6c1.js';
3
+ import { j as getOverridenZCountry, k as isValidSelector, m as initLocalizationStore, s as storageStore, c as localizationStoreUpdateSelectedCountryCode } from './localization-0953a048.js';
4
4
  import { z as zonosStore, e as zonosStoreInitSetting, f as zonosStoreFontFamily } from './zonosStore-b7d3f9b0.js';
5
5
  import { g as getGenericSettingsOverride, i as iframeServices, a as injectPrivateIframe } from './getGenericSettingsOverride-0bc3e118.js';
6
6
  import { h as handleFetch, l as logError } from './handleFetch-a844cac1.js';
@@ -859,7 +859,7 @@ const ZonosController = class {
859
859
  zonosStore.organizationName = organizationName;
860
860
  }
861
861
  render() {
862
- return h(Host, { key: '925af89a63419b44e6372de48c66e0898d039ae0', class: "zonos--elements" });
862
+ return h(Host, { key: '4fde0983cf8a248635f7e1d8c54c712142e9363d', class: "zonos--elements" });
863
863
  }
864
864
  };
865
865
  ZonosController.style = ZonosControllerStyle0;
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, a as Host, g as getElement } from './index-cfd394c8.js';
2
- import { l as localizationStore } from './localization-6d36209f.js';
2
+ import { l as localizationStore } from './localization-0953a048.js';
3
3
  import { f as zonosStoreFontFamily } from './zonosStore-b7d3f9b0.js';
4
4
  import { c as classes } from './classes-0d95c529.js';
5
5
  import './handleFetch-a844cac1.js';