@zonos/elements 1.3.263 → 1.3.264

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 (266) hide show
  1. package/dist/cjs/{cart-02a93797.js → cart-d4486651.js} +1 -1
  2. package/dist/cjs/{hasInclusivePrice-751ef38b.js → hasInclusivePrice-40358cb1.js} +1 -1
  3. package/dist/cjs/index.cjs.js +7 -7
  4. package/dist/cjs/{invoice-215b8d2b.js → invoice-600fa2a4.js} +2 -2
  5. package/dist/cjs/{isCollectMobileTablet-0d909501.js → isCollectMobileTablet-f56566ef.js} +2 -2
  6. package/dist/cjs/{localization-68ebf7c6.js → localization-06cc0379.js} +15 -1
  7. package/dist/cjs/{paypal-f8a0cca3.js → paypal-52c4a4d4.js} +2 -2
  8. package/dist/cjs/{placeTestOrder-ce734b60.js → placeTestOrder-7c88197a.js} +2 -2
  9. package/dist/cjs/{renderCheckoutCurrency-d163c1c4.js → renderCheckoutCurrency-2ebeff09.js} +2 -2
  10. package/dist/cjs/zonos-address-display_8.cjs.entry.js +19 -19
  11. package/dist/cjs/zonos-address_4.cjs.entry.js +8 -8
  12. package/dist/cjs/zonos-badge.cjs.entry.js +3 -3
  13. package/dist/cjs/zonos-button_3.cjs.entry.js +3 -3
  14. package/dist/cjs/zonos-card_5.cjs.entry.js +9 -9
  15. package/dist/cjs/zonos-cart-items_12.cjs.entry.js +17 -15
  16. package/dist/cjs/zonos-checkbox_2.cjs.entry.js +5 -5
  17. package/dist/cjs/zonos-checkout.cjs.entry.js +210 -60
  18. package/dist/cjs/zonos-collapse.cjs.entry.js +2 -2
  19. package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +6 -6
  20. package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +22 -20
  21. package/dist/cjs/zonos-collect.cjs.entry.js +4 -4
  22. package/dist/cjs/zonos-component.cjs.entry.js +1 -1
  23. package/dist/cjs/zonos-controller.cjs.entry.js +3 -3
  24. package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
  25. package/dist/cjs/zonos-country-select_4.cjs.entry.js +13 -11
  26. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +6 -6
  27. package/dist/cjs/zonos-hello.cjs.entry.js +1 -1
  28. package/dist/cjs/zonos-input.cjs.entry.js +4 -4
  29. package/dist/cjs/zonos-invoice-cart-items_2.cjs.entry.js +8 -8
  30. package/dist/cjs/zonos-invoice-finish_5.cjs.entry.js +17 -15
  31. package/dist/cjs/zonos-invoice.cjs.entry.js +4 -4
  32. package/dist/cjs/zonos-language-select_2.cjs.entry.js +5 -5
  33. package/dist/cjs/zonos-link.cjs.entry.js +1 -1
  34. package/dist/cjs/zonos-logo.cjs.entry.js +2 -2
  35. package/dist/cjs/zonos-store-credit.cjs.entry.js +3 -3
  36. package/dist/cjs/zonos-stripe-input.cjs.entry.js +4 -4
  37. package/dist/cjs/zonos-tooltip.cjs.entry.js +2 -2
  38. package/dist/cjs/zonos-v-stack.cjs.entry.js +2 -2
  39. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.css +5 -0
  40. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.js +4 -2
  41. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +52 -0
  42. package/dist/collection/components/checkout/zonos-collect/zonos-collect-cart-items/zonos-collect-cart-items.js +1 -1
  43. package/dist/collection/components/checkout/zonos-collect/zonos-collect-finish/zonos-collect-finish.js +2 -2
  44. package/dist/collection/components/checkout/zonos-collect/zonos-collect-footer/zonos-collect-footer.css +5 -0
  45. package/dist/collection/components/checkout/zonos-collect/zonos-collect-footer/zonos-collect-footer.js +5 -3
  46. package/dist/collection/components/checkout/zonos-collect/zonos-collect-review/zonos-collect-review.js +3 -3
  47. package/dist/collection/components/checkout/zonos-collect/zonos-collect-subtotal/zonos-collect-subtotal.js +5 -5
  48. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-cart-items/zonos-invoice-cart-items.js +2 -2
  49. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-finish/zonos-invoice-finish.js +2 -2
  50. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-footer/zonos-invoice-footer.css +5 -0
  51. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-footer/zonos-invoice-footer.js +5 -3
  52. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-review/zonos-invoice-review.js +3 -3
  53. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-subtotal/zonos-invoice-subtotal.js +2 -2
  54. package/dist/collection/components/common/zonos-badge/zonos-badge.js +3 -3
  55. package/dist/collection/components/common/zonos-button/zonos-button.js +3 -3
  56. package/dist/collection/components/common/zonos-card/zonos-card.js +4 -4
  57. package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +3 -3
  58. package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +3 -3
  59. package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +2 -2
  60. package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.js +3 -3
  61. package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +3 -3
  62. package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +2 -2
  63. package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +3 -3
  64. package/dist/collection/components/common/zonos-h-stack/zonos-h-stack.js +2 -2
  65. package/dist/collection/components/common/zonos-input/zonos-input.js +4 -4
  66. package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +2 -2
  67. package/dist/collection/components/common/zonos-link/zonos-link.js +1 -1
  68. package/dist/collection/components/common/zonos-loading-overlay/zonos-loading-overlay.js +1 -1
  69. package/dist/collection/components/common/zonos-logo/zonos-logo.js +2 -2
  70. package/dist/collection/components/common/zonos-rest-state/zonos-rest-state.js +3 -3
  71. package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +2 -2
  72. package/dist/collection/components/common/zonos-skeleton/zonos-skeleton.js +1 -1
  73. package/dist/collection/components/common/zonos-stripe-input/zonos-stripe-input.js +4 -4
  74. package/dist/collection/components/common/zonos-stripe-phone-input/zonos-stripe-phone-input.js +5 -5
  75. package/dist/collection/components/common/zonos-stripe-select/zonos-stripe-select.js +5 -5
  76. package/dist/collection/components/common/zonos-toggle/zonos-toggle.js +2 -2
  77. package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +2 -2
  78. package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +2 -2
  79. package/dist/collection/components/common/zonos-virtual-scroll/zonos-virtual-scroll.js +2 -2
  80. package/dist/collection/components/component-template/zonos-component/zonos-component.js +1 -1
  81. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.css +5 -0
  82. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +4 -2
  83. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +4 -4
  84. package/dist/collection/components/main/zonos-controller.js +1 -1
  85. package/dist/collection/components/paypal/zonos-paypal-payment.js +1 -1
  86. package/dist/collection/components/stripe/zonos-address/zonos-address.js +2 -2
  87. package/dist/collection/components/stripe/zonos-custom-address/zonos-address-suggestions/zonos-address-suggestions.js +2 -2
  88. package/dist/collection/components/stripe/zonos-custom-address/zonos-custom-address.js +2 -2
  89. package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
  90. package/dist/collection/components/utils/checkout/bigcommerceStorefrontApi.js +1 -1
  91. package/dist/collection/components/utils/checkout/getBigCommerceCustomerAddresses.js +99 -0
  92. package/dist/collection/components/utils/hello/currencyConversion/currencyDisplay.js +15 -0
  93. package/dist/collection/components/utils/hello/currencyConversion/currencyFormat.js +1 -1
  94. package/dist/esm/{cart-34b11708.js → cart-41f41429.js} +1 -1
  95. package/dist/esm/{hasInclusivePrice-dfb21fc9.js → hasInclusivePrice-afc0dd6e.js} +1 -1
  96. package/dist/esm/index.js +7 -7
  97. package/dist/esm/{invoice-6d8bdf21.js → invoice-e6721745.js} +2 -2
  98. package/dist/esm/{isCollectMobileTablet-85403c93.js → isCollectMobileTablet-d02bb448.js} +2 -2
  99. package/dist/esm/{localization-2e523b35.js → localization-ee06df70.js} +15 -1
  100. package/dist/esm/{paypal-d3b3d967.js → paypal-ac74241f.js} +2 -2
  101. package/dist/esm/{placeTestOrder-e1d6dfcd.js → placeTestOrder-0416d327.js} +2 -2
  102. package/dist/esm/{renderCheckoutCurrency-cc72a6c2.js → renderCheckoutCurrency-99da51f5.js} +2 -2
  103. package/dist/esm/zonos-address-display_8.entry.js +19 -19
  104. package/dist/esm/zonos-address_4.entry.js +8 -8
  105. package/dist/esm/zonos-badge.entry.js +3 -3
  106. package/dist/esm/zonos-button_3.entry.js +3 -3
  107. package/dist/esm/zonos-card_5.entry.js +9 -9
  108. package/dist/esm/zonos-cart-items_12.entry.js +17 -15
  109. package/dist/esm/zonos-checkbox_2.entry.js +5 -5
  110. package/dist/esm/zonos-checkout.entry.js +211 -61
  111. package/dist/esm/zonos-collapse.entry.js +2 -2
  112. package/dist/esm/zonos-collect-cart-items_3.entry.js +6 -6
  113. package/dist/esm/zonos-collect-finish_6.entry.js +22 -20
  114. package/dist/esm/zonos-collect.entry.js +4 -4
  115. package/dist/esm/zonos-component.entry.js +1 -1
  116. package/dist/esm/zonos-controller.entry.js +3 -3
  117. package/dist/esm/zonos-country-flag.entry.js +1 -1
  118. package/dist/esm/zonos-country-select_4.entry.js +13 -11
  119. package/dist/esm/zonos-hello-dialog.entry.js +6 -6
  120. package/dist/esm/zonos-hello.entry.js +1 -1
  121. package/dist/esm/zonos-input.entry.js +4 -4
  122. package/dist/esm/zonos-invoice-cart-items_2.entry.js +8 -8
  123. package/dist/esm/zonos-invoice-finish_5.entry.js +17 -15
  124. package/dist/esm/zonos-invoice.entry.js +4 -4
  125. package/dist/esm/zonos-language-select_2.entry.js +5 -5
  126. package/dist/esm/zonos-link.entry.js +1 -1
  127. package/dist/esm/zonos-logo.entry.js +2 -2
  128. package/dist/esm/zonos-store-credit.entry.js +3 -3
  129. package/dist/esm/zonos-stripe-input.entry.js +4 -4
  130. package/dist/esm/zonos-tooltip.entry.js +2 -2
  131. package/dist/esm/zonos-v-stack.entry.js +2 -2
  132. package/dist/esm-es5/{cart-34b11708.js → cart-41f41429.js} +1 -1
  133. package/dist/esm-es5/{hasInclusivePrice-dfb21fc9.js → hasInclusivePrice-afc0dd6e.js} +1 -1
  134. package/dist/esm-es5/index.js +1 -1
  135. package/dist/esm-es5/{invoice-6d8bdf21.js → invoice-e6721745.js} +1 -1
  136. package/dist/esm-es5/{isCollectMobileTablet-85403c93.js → isCollectMobileTablet-d02bb448.js} +1 -1
  137. package/dist/esm-es5/{localization-2e523b35.js → localization-ee06df70.js} +1 -1
  138. package/dist/esm-es5/{paypal-d3b3d967.js → paypal-ac74241f.js} +1 -1
  139. package/dist/esm-es5/{placeTestOrder-e1d6dfcd.js → placeTestOrder-0416d327.js} +1 -1
  140. package/dist/esm-es5/{renderCheckoutCurrency-cc72a6c2.js → renderCheckoutCurrency-99da51f5.js} +1 -1
  141. package/dist/esm-es5/zonos-address-display_8.entry.js +1 -1
  142. package/dist/esm-es5/zonos-address_4.entry.js +1 -1
  143. package/dist/esm-es5/zonos-badge.entry.js +1 -1
  144. package/dist/esm-es5/zonos-button_3.entry.js +1 -1
  145. package/dist/esm-es5/zonos-card_5.entry.js +1 -1
  146. package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
  147. package/dist/esm-es5/zonos-checkbox_2.entry.js +1 -1
  148. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  149. package/dist/esm-es5/zonos-collapse.entry.js +1 -1
  150. package/dist/esm-es5/zonos-collect-cart-items_3.entry.js +1 -1
  151. package/dist/esm-es5/zonos-collect-finish_6.entry.js +1 -1
  152. package/dist/esm-es5/zonos-collect.entry.js +1 -1
  153. package/dist/esm-es5/zonos-component.entry.js +1 -1
  154. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  155. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  156. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  157. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  158. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  159. package/dist/esm-es5/zonos-input.entry.js +1 -1
  160. package/dist/esm-es5/zonos-invoice-cart-items_2.entry.js +1 -1
  161. package/dist/esm-es5/zonos-invoice-finish_5.entry.js +1 -1
  162. package/dist/esm-es5/zonos-invoice.entry.js +1 -1
  163. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  164. package/dist/esm-es5/zonos-link.entry.js +1 -1
  165. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  166. package/dist/esm-es5/zonos-store-credit.entry.js +1 -1
  167. package/dist/esm-es5/zonos-stripe-input.entry.js +1 -1
  168. package/dist/esm-es5/zonos-tooltip.entry.js +1 -1
  169. package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
  170. package/dist/scripts/index.js +1 -1
  171. package/dist/scripts/loadZonos.js +1 -1
  172. package/dist/scripts/zonos.js +1 -1
  173. package/dist/types/components/checkout/zonos-checkout/zonos-checkout.d.ts +9 -0
  174. package/dist/types/components/utils/checkout/bigcommerceStorefrontApi.d.ts +22 -11
  175. package/dist/types/components/utils/checkout/getBigCommerceCustomerAddresses.d.ts +26 -0
  176. package/dist/zonos-elements/index.esm.js +1 -1
  177. package/dist/zonos-elements/{p-17b6f9ff.system.entry.js → p-0529a06b.system.entry.js} +1 -1
  178. package/dist/zonos-elements/{p-227a1ecc.system.js → p-076ca381.system.js} +1 -1
  179. package/dist/zonos-elements/{p-bccae0df.entry.js → p-07cdff18.entry.js} +1 -1
  180. package/dist/zonos-elements/{p-dc71be6f.system.entry.js → p-0914b8a1.system.entry.js} +1 -1
  181. package/dist/zonos-elements/{p-155b4425.entry.js → p-0b4ba025.entry.js} +1 -1
  182. package/dist/zonos-elements/{p-c361d520.system.entry.js → p-0f9a04fe.system.entry.js} +1 -1
  183. package/dist/zonos-elements/{p-c2b86522.js → p-14ce8e3a.js} +1 -1
  184. package/dist/zonos-elements/{p-a3936c44.system.entry.js → p-15f70aae.system.entry.js} +1 -1
  185. package/dist/zonos-elements/{p-b1c76c38.system.entry.js → p-16948eea.system.entry.js} +1 -1
  186. package/dist/zonos-elements/{p-5290d104.entry.js → p-1ed2827f.entry.js} +1 -1
  187. package/dist/zonos-elements/p-20e0c24e.entry.js +1 -0
  188. package/dist/zonos-elements/{p-5496e9ae.system.js → p-24aae506.system.js} +1 -1
  189. package/dist/zonos-elements/{p-92f40018.system.entry.js → p-2555ba6b.system.entry.js} +1 -1
  190. package/dist/zonos-elements/{p-1f107c84.entry.js → p-258c0551.entry.js} +1 -1
  191. package/dist/zonos-elements/{p-30b19a4e.system.entry.js → p-274a7c0e.system.entry.js} +1 -1
  192. package/dist/zonos-elements/{p-fb87172c.entry.js → p-283ffaad.entry.js} +1 -1
  193. package/dist/zonos-elements/p-29b60bf3.system.js +1 -1
  194. package/dist/zonos-elements/{p-25b5ac23.system.entry.js → p-2c027b67.system.entry.js} +1 -1
  195. package/dist/zonos-elements/p-2fc253b3.js +1 -0
  196. package/dist/zonos-elements/{p-e06936f4.entry.js → p-32ecece3.entry.js} +1 -1
  197. package/dist/zonos-elements/{p-de44cccd.system.entry.js → p-349bdc03.system.entry.js} +1 -1
  198. package/dist/zonos-elements/{p-adeaa7cf.entry.js → p-34dc7755.entry.js} +1 -1
  199. package/dist/zonos-elements/{p-356b2068.js → p-37f47658.js} +1 -1
  200. package/dist/zonos-elements/{p-9c5cce08.system.entry.js → p-3a23ec5f.system.entry.js} +1 -1
  201. package/dist/zonos-elements/p-3bc1adb7.entry.js +1 -0
  202. package/dist/zonos-elements/p-41f2e301.entry.js +1 -0
  203. package/dist/zonos-elements/{p-a50d095f.js → p-4220556e.js} +1 -1
  204. package/dist/zonos-elements/{p-926c33b1.system.entry.js → p-42518502.system.entry.js} +1 -1
  205. package/dist/zonos-elements/{p-2b40fab2.entry.js → p-52077d7c.entry.js} +1 -1
  206. package/dist/zonos-elements/{p-70c485df.js → p-551dd2e0.js} +1 -1
  207. package/dist/zonos-elements/{p-5d32f10f.system.entry.js → p-5678c044.system.entry.js} +1 -1
  208. package/dist/zonos-elements/{p-15161658.entry.js → p-59aa5785.entry.js} +1 -1
  209. package/dist/zonos-elements/{p-20e1a5a0.entry.js → p-66edcaa4.entry.js} +1 -1
  210. package/dist/zonos-elements/{p-b8710131.entry.js → p-6b9ad020.entry.js} +1 -1
  211. package/dist/zonos-elements/{p-a076cf7f.system.js → p-721069c3.system.js} +1 -1
  212. package/dist/zonos-elements/{p-501d16ad.system.entry.js → p-72833da8.system.entry.js} +1 -1
  213. package/dist/zonos-elements/{p-96f8cea8.entry.js → p-7564d199.entry.js} +1 -1
  214. package/dist/zonos-elements/{p-8331aa21.system.entry.js → p-79f3c227.system.entry.js} +1 -1
  215. package/dist/zonos-elements/p-84c7cae6.system.entry.js +1 -0
  216. package/dist/zonos-elements/{p-0f3b9ed7.entry.js → p-86ed51fd.entry.js} +1 -1
  217. package/dist/zonos-elements/{p-73765370.system.entry.js → p-88596f27.system.entry.js} +1 -1
  218. package/dist/zonos-elements/p-8a01157e.system.entry.js +1 -0
  219. package/dist/zonos-elements/{p-7e313e45.entry.js → p-8a21ed2d.entry.js} +1 -1
  220. package/dist/zonos-elements/{p-191661c6.system.entry.js → p-90a19f4c.system.entry.js} +1 -1
  221. package/dist/zonos-elements/{p-562fbdab.js → p-90d19cb6.js} +1 -1
  222. package/dist/zonos-elements/{p-024a4af5.entry.js → p-9288878f.entry.js} +1 -1
  223. package/dist/zonos-elements/{p-2381985c.entry.js → p-92a14180.entry.js} +1 -1
  224. package/dist/zonos-elements/{p-22a8b44b.system.js → p-98c53c77.system.js} +1 -1
  225. package/dist/zonos-elements/{p-7297f6bd.system.entry.js → p-9da832b2.system.entry.js} +1 -1
  226. package/dist/zonos-elements/{p-1c1149ff.js → p-9eff0691.js} +1 -1
  227. package/dist/zonos-elements/{p-47a58a38.system.entry.js → p-9f18348f.system.entry.js} +1 -1
  228. package/dist/zonos-elements/{p-1b5d90ee.system.entry.js → p-a2e9b2aa.system.entry.js} +1 -1
  229. package/dist/zonos-elements/{p-51c60875.system.entry.js → p-a5f5993f.system.entry.js} +1 -1
  230. package/dist/zonos-elements/{p-65ea8ae4.js → p-a901d002.js} +1 -1
  231. package/dist/zonos-elements/{p-fe5303d1.entry.js → p-ab73cbed.entry.js} +1 -1
  232. package/dist/zonos-elements/p-b0526805.system.entry.js +1 -0
  233. package/dist/zonos-elements/{p-bee55d71.entry.js → p-b13d56b9.entry.js} +1 -1
  234. package/dist/zonos-elements/p-b32cd0c5.system.js +1 -0
  235. package/dist/zonos-elements/{p-f440cd53.entry.js → p-b4b23475.entry.js} +1 -1
  236. package/dist/zonos-elements/{p-7b6e65d6.system.js → p-b65bca4b.system.js} +1 -1
  237. package/dist/zonos-elements/p-ba7cf5e8.system.entry.js +1 -0
  238. package/dist/zonos-elements/{p-45ceb26f.system.entry.js → p-c0fffa75.system.entry.js} +1 -1
  239. package/dist/zonos-elements/p-c52bc5ad.system.entry.js +1 -0
  240. package/dist/zonos-elements/{p-07c228a7.entry.js → p-cc481c69.entry.js} +1 -1
  241. package/dist/zonos-elements/p-ccc4f69b.entry.js +1 -0
  242. package/dist/zonos-elements/{p-60a391b8.system.js → p-ce855245.system.js} +1 -1
  243. package/dist/zonos-elements/{p-4d776228.entry.js → p-d1ff24f5.entry.js} +1 -1
  244. package/dist/zonos-elements/p-d6b49830.entry.js +1 -0
  245. package/dist/zonos-elements/{p-b2d462f9.system.js → p-db607fc3.system.js} +1 -1
  246. package/dist/zonos-elements/{p-4d0b8897.system.js → p-dea75665.system.js} +1 -1
  247. package/dist/zonos-elements/{p-6a11cccc.system.entry.js → p-e3bc3917.system.entry.js} +1 -1
  248. package/dist/zonos-elements/{p-e0ea6e24.entry.js → p-e5582c35.entry.js} +1 -1
  249. package/dist/zonos-elements/{p-7dbac3ae.system.entry.js → p-e6cc5a25.system.entry.js} +1 -1
  250. package/dist/zonos-elements/{p-3ae1a543.entry.js → p-f546bd7d.entry.js} +1 -1
  251. package/dist/zonos-elements/{p-235ee1d3.entry.js → p-f9c715ad.entry.js} +1 -1
  252. package/dist/zonos-elements/{p-50a15e3d.system.entry.js → p-fb684748.system.entry.js} +1 -1
  253. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  254. package/package.json +1 -1
  255. package/dist/zonos-elements/p-06d8f294.entry.js +0 -1
  256. package/dist/zonos-elements/p-1fb6b787.entry.js +0 -1
  257. package/dist/zonos-elements/p-3baf98a0.system.entry.js +0 -1
  258. package/dist/zonos-elements/p-4039b72d.system.entry.js +0 -1
  259. package/dist/zonos-elements/p-5834833a.entry.js +0 -1
  260. package/dist/zonos-elements/p-5aa86f9c.entry.js +0 -1
  261. package/dist/zonos-elements/p-79a7998f.system.entry.js +0 -1
  262. package/dist/zonos-elements/p-8603fb37.system.entry.js +0 -1
  263. package/dist/zonos-elements/p-97f0eda6.system.js +0 -1
  264. package/dist/zonos-elements/p-c4d057b0.js +0 -1
  265. package/dist/zonos-elements/p-cda0b441.entry.js +0 -1
  266. package/dist/zonos-elements/p-e4792f63.system.entry.js +0 -1
@@ -72,14 +72,14 @@ const ZonosCheckbox = class {
72
72
  customRoundRadius: '4px',
73
73
  overrideBorderStyle: this.borderStyle,
74
74
  });
75
- return (index.h(index.Host, { key: 'a3db8981598a3703228e7c54bfd8350da718f744', class: classes.classes(['zonos--elements zonos--checkbox']), style: {
75
+ return (index.h(index.Host, { key: 'b72500a3ead1362eebf6cd90fc60fddbade0bccf', class: classes.classes(['zonos--elements zonos--checkbox']), style: {
76
76
  '--zonos--background-color': backgroundColor,
77
77
  '--zonos--border-radius': borderStyle,
78
78
  '--zonos--font-family': zonosStore.zonosStoreFontFamily(),
79
79
  '--zonos--size': `${this.size}px`,
80
- } }, index.h("label", { key: '6abc998d8a2338fd188e561ce38af6f351e87d93', class: classes.classes([this.isDisabled && 'disabled']), htmlFor: this.inputId }, index.h("input", { key: 'a2b3bc99d562f0ddc3337093597d962a28fe7006', checked: this.isChecked, disabled: this.isDisabled, hidden: true, id: this.inputId, onChange: e => {
80
+ } }, index.h("label", { key: '3a5104fa8f2b3874108f27732df0aee9d4bebbd6', class: classes.classes([this.isDisabled && 'disabled']), htmlFor: this.inputId }, index.h("input", { key: 'aea12725ffa80d01c7fe1753d637f6e94e1d0fad', checked: this.isChecked, disabled: this.isDisabled, hidden: true, id: this.inputId, onChange: e => {
81
81
  this.checkboxSelected.emit(e.target.checked);
82
- }, type: "checkbox" }), index.h("span", { key: '4ff30adc1de3f679a62ac4bdc23c89c7fbd70862', class: "checkmark-container" }, index.h("svg", { key: 'c235768b91c19a2edf0d5ed1d416e6b58be4f9eb', class: "checkmark", color: checkmarkColor, fill: "none", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { key: '67e8a36292f8f4fe226709acdd08579d2092b836', "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 && (index.h("zonos-text", { key: '9fdd82641973e8870e55117992ca26f1e585c801', size: this.fontSize }, this.label)))));
82
+ }, type: "checkbox" }), index.h("span", { key: '807f1b1b8acf88793abe74d329c8ffd81a450d9b', class: "checkmark-container" }, index.h("svg", { key: '18bec57b0554f70704f5c53e57a5929a48165f44', class: "checkmark", color: checkmarkColor, fill: "none", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { key: 'd98ba6681c05d63e242518b332b7d3292e19d39e', "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 && (index.h("zonos-text", { key: 'f540e55464dd67bf513cf6a77b078c7492945b50', size: this.fontSize }, this.label)))));
83
83
  }
84
84
  };
85
85
  ZonosCheckbox.style = ZonosCheckboxStyle0;
@@ -97,9 +97,9 @@ const ZonosToggle = class {
97
97
  this.options = [];
98
98
  }
99
99
  render() {
100
- return (index.h(index.Host, { key: '220dcc3ef8685ea09db761d7a42a00a7309caa70', class: classes.classes(['zonos--elements zonos--toggle']), style: {
100
+ return (index.h(index.Host, { key: 'a69d1282e442b2cc5b24df68ee41c452b02fb022', class: classes.classes(['zonos--elements zonos--toggle']), style: {
101
101
  '--zonos--font-family': zonosStore.zonosStoreFontFamily(),
102
- } }, index.h("div", { key: 'fa54f818b15ff33d88dc08a1df370ca9be17ff71', class: "wrapper" }, this.options.map(option => {
102
+ } }, index.h("div", { key: 'a0fff3107e8d9a98d3ff323379c6e39bee294eca', class: "wrapper" }, this.options.map(option => {
103
103
  const selected = option.value === this.value;
104
104
  return (index.h("button", { class: classes.classes(['zonos--option', selected && 'selected']), key: option.value, onClick: () => {
105
105
  this.toggleChanged.emit(option.value);
@@ -3,9 +3,9 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const cart = require('./cart-02a93797.js');
7
- const paypal = require('./paypal-f8a0cca3.js');
8
- const localization = require('./localization-68ebf7c6.js');
6
+ const cart = require('./cart-d4486651.js');
7
+ const paypal = require('./paypal-52c4a4d4.js');
8
+ const localization = require('./localization-06cc0379.js');
9
9
  const zonosStore = require('./zonosStore-0662b95f.js');
10
10
  const buildCartItemsByTempCart = require('./buildCartItemsByTempCart-edddbf4b.js');
11
11
  const handleFetch = require('./handleFetch-954f30e1.js');
@@ -97,6 +97,63 @@ const buildCartUrl = ({ cartId, checkoutSessionId, customerAddress1, customerAdd
97
97
  return `${hostedCheckoutUrl}?${urlParams.toString()}`;
98
98
  };
99
99
 
100
+ /**
101
+ * Fetch the checkout/cart ID from the BigCommerce Storefront Cart API.
102
+ * The `/checkout` page URL does not include the checkout ID, so we
103
+ * retrieve it from `/api/storefront/cart` which returns the active cart(s).
104
+ */
105
+ const fetchCheckoutId = async () => {
106
+ var _a, _b;
107
+ try {
108
+ const response = await fetch('/api/storefront/cart', {
109
+ credentials: 'same-origin',
110
+ headers: {
111
+ Accept: 'application/json',
112
+ },
113
+ });
114
+ if (!response.ok) {
115
+ VarianceTest.log(`Failed to fetch BigCommerce cart: ${String(response.status)}`, 'error');
116
+ return null;
117
+ }
118
+ const carts = (await response.json());
119
+ return (_b = (_a = carts === null || carts === void 0 ? void 0 : carts[0]) === null || _a === void 0 ? void 0 : _a.id) !== null && _b !== void 0 ? _b : null;
120
+ }
121
+ catch (error) {
122
+ handleFetch.logError('Error fetching BigCommerce cart data', error);
123
+ return null;
124
+ }
125
+ };
126
+ /**
127
+ * Fetch checkout data from the BigCommerce Storefront API.
128
+ * This API is cookie-authenticated (same-origin), so no token is needed.
129
+ */
130
+ const fetchBigCommerceCheckout = async (checkoutId) => {
131
+ try {
132
+ const response = await fetch(`/api/storefront/checkouts/${checkoutId}?include=customer.customerGroup,customer.addresses`, {
133
+ credentials: 'same-origin',
134
+ headers: {
135
+ Accept: 'application/json',
136
+ 'Content-Type': 'application/json',
137
+ },
138
+ });
139
+ if (!response.ok) {
140
+ VarianceTest.log(`Failed to fetch BigCommerce checkout: ${String(response.status)}`, 'error');
141
+ return null;
142
+ }
143
+ return (await response.json());
144
+ }
145
+ catch (error) {
146
+ handleFetch.logError('Error fetching BigCommerce checkout data', error);
147
+ return null;
148
+ }
149
+ };
150
+ /**
151
+ * Whether the BigCommerce shopper is already logged in. We key off the
152
+ * customer's numeric `id` since the storefront API populates it only for
153
+ * authenticated sessions (guest checkouts have an empty `customer` object).
154
+ */
155
+ const isBigCommerceCustomerLoggedIn = (checkout) => { var _a; return !!((_a = checkout === null || checkout === void 0 ? void 0 : checkout.customer) === null || _a === void 0 ? void 0 : _a.id); };
156
+
100
157
  /**
101
158
  * The query flag that BigCommerce carries back to `cart.php` after the
102
159
  * shopper logs in. When present, Zonos-elements knows to resume the
@@ -184,63 +241,6 @@ const buildBigcommerceRedirectUrl = (pathname) => {
184
241
  return url.toString();
185
242
  };
186
243
 
187
- /**
188
- * Fetch the checkout/cart ID from the BigCommerce Storefront Cart API.
189
- * The `/checkout` page URL does not include the checkout ID, so we
190
- * retrieve it from `/api/storefront/cart` which returns the active cart(s).
191
- */
192
- const fetchCheckoutId = async () => {
193
- var _a, _b;
194
- try {
195
- const response = await fetch('/api/storefront/cart', {
196
- credentials: 'same-origin',
197
- headers: {
198
- Accept: 'application/json',
199
- },
200
- });
201
- if (!response.ok) {
202
- VarianceTest.log(`Failed to fetch BigCommerce cart: ${String(response.status)}`, 'error');
203
- return null;
204
- }
205
- const carts = (await response.json());
206
- return (_b = (_a = carts === null || carts === void 0 ? void 0 : carts[0]) === null || _a === void 0 ? void 0 : _a.id) !== null && _b !== void 0 ? _b : null;
207
- }
208
- catch (error) {
209
- handleFetch.logError('Error fetching BigCommerce cart data', error);
210
- return null;
211
- }
212
- };
213
- /**
214
- * Fetch checkout data from the BigCommerce Storefront API.
215
- * This API is cookie-authenticated (same-origin), so no token is needed.
216
- */
217
- const fetchBigCommerceCheckout = async (checkoutId) => {
218
- try {
219
- const response = await fetch(`/api/storefront/checkouts/${checkoutId}?include=customer.customerGroup`, {
220
- credentials: 'same-origin',
221
- headers: {
222
- Accept: 'application/json',
223
- 'Content-Type': 'application/json',
224
- },
225
- });
226
- if (!response.ok) {
227
- VarianceTest.log(`Failed to fetch BigCommerce checkout: ${String(response.status)}`, 'error');
228
- return null;
229
- }
230
- return (await response.json());
231
- }
232
- catch (error) {
233
- handleFetch.logError('Error fetching BigCommerce checkout data', error);
234
- return null;
235
- }
236
- };
237
- /**
238
- * Whether the BigCommerce shopper is already logged in. We key off the
239
- * customer's numeric `id` since the storefront API populates it only for
240
- * authenticated sessions (guest checkouts have an empty `customer` object).
241
- */
242
- const isBigCommerceCustomerLoggedIn = (checkout) => { var _a; return !!((_a = checkout === null || checkout === void 0 ? void 0 : checkout.customer) === null || _a === void 0 ? void 0 : _a.id); };
243
-
244
244
  const DEFAULT_RESULT = {
245
245
  customerGroupId: null,
246
246
  shouldBypass: false,
@@ -614,6 +614,106 @@ const fixBigCommerceLoginCreateAccountLink = () => {
614
614
  setTimeout(() => observer.disconnect(), 10000);
615
615
  };
616
616
 
617
+ const toContactOption = (address, email) => {
618
+ // Skip entries missing the fields the address form treats as required.
619
+ if (!address.address1 || !address.countryCode) {
620
+ return null;
621
+ }
622
+ const name = [address.firstName, address.lastName]
623
+ .filter(Boolean)
624
+ .join(' ')
625
+ .trim();
626
+ return {
627
+ address: {
628
+ city: address.city || '',
629
+ country: address.countryCode,
630
+ line1: address.address1,
631
+ line2: address.address2 || '',
632
+ postal_code: address.postalCode || '',
633
+ // Prefer the ISO subdivision code when present so it round-trips through
634
+ // Stripe; fall back to the human-readable state name.
635
+ state: address.stateOrProvinceCode || address.stateOrProvince || '',
636
+ },
637
+ email,
638
+ name,
639
+ phone: address.phone || '',
640
+ };
641
+ };
642
+ const dedupKey = (option) => [
643
+ option.address.line1,
644
+ option.address.line2 || '',
645
+ option.address.postal_code,
646
+ option.address.country,
647
+ ]
648
+ .join('|')
649
+ .toLowerCase();
650
+ /**
651
+ * Extract a logged-in BigCommerce shopper's known addresses from a Storefront
652
+ * API checkout response and convert them into the shape that `zonos-address`
653
+ * consumes (`StripeStoreContactOption[]`).
654
+ *
655
+ * Combines the saved address book (`customer.addresses`) with any address
656
+ * already attached to the active checkout's consignments, so a shopper who
657
+ * just selected a one-off shipping address on BC native checkout still sees
658
+ * that address in the international checkout's address picker. Deduplicates
659
+ * by line1 + line2 + postal code + country.
660
+ *
661
+ * Callers must supply `isShippable` so addresses outside the merchant's
662
+ * shipping zones are filtered out — international checkout can't fulfill
663
+ * them and showing them would just confuse the shopper. The optional
664
+ * `selectedCountryCode` floats addresses in that country to the top of the
665
+ * list so the shopper's current destination is the default choice.
666
+ *
667
+ * Returns an empty list for guest sessions (no `customer.id`) or when the
668
+ * checkout response is missing the relevant includes.
669
+ */
670
+ const getBigCommerceCustomerAddresses = (checkout, options) => {
671
+ var _a, _b, _c, _d;
672
+ if (!((_a = checkout === null || checkout === void 0 ? void 0 : checkout.customer) === null || _a === void 0 ? void 0 : _a.id)) {
673
+ return [];
674
+ }
675
+ const { isShippable, selectedCountryCode } = options;
676
+ const email = checkout.customer.email || '';
677
+ const consignmentAddresses = (_c = (_b = checkout.consignments) === null || _b === void 0 ? void 0 : _b.flatMap(consignment => consignment.shippingAddress ? [consignment.shippingAddress] : [])) !== null && _c !== void 0 ? _c : [];
678
+ const savedAddresses = (_d = checkout.customer.addresses) !== null && _d !== void 0 ? _d : [];
679
+ const seen = new Set();
680
+ const result = [];
681
+ // Iterate saved addresses first so the dedup key for an address present in
682
+ // both lists keeps the saved-book version (which carries an `id` and is the
683
+ // shopper's canonical entry).
684
+ for (const address of [...savedAddresses, ...consignmentAddresses]) {
685
+ const option = toContactOption(address, email);
686
+ if (!option) {
687
+ continue;
688
+ }
689
+ if (!isShippable(option.address.country)) {
690
+ continue;
691
+ }
692
+ const key = dedupKey(option);
693
+ if (seen.has(key)) {
694
+ continue;
695
+ }
696
+ seen.add(key);
697
+ result.push(option);
698
+ }
699
+ if (!selectedCountryCode) {
700
+ return result;
701
+ }
702
+ // Stable-sort the survivors so addresses matching the currently-selected
703
+ // country come first while everything else keeps its original order.
704
+ return result
705
+ .map((option, index) => ({ index, option }))
706
+ .sort((a, b) => {
707
+ const aMatches = a.option.address.country === selectedCountryCode;
708
+ const bMatches = b.option.address.country === selectedCountryCode;
709
+ if (aMatches === bMatches) {
710
+ return a.index - b.index;
711
+ }
712
+ return aMatches ? -1 : 1;
713
+ })
714
+ .map(entry => entry.option);
715
+ };
716
+
617
717
  const isDisabledCountry = (showLog = true) => {
618
718
  if (!localization.localizationStore.localizationLoaded) {
619
719
  return true;
@@ -1518,6 +1618,51 @@ const ZonosCheckout = class {
1518
1618
  settlementAmount: total,
1519
1619
  };
1520
1620
  };
1621
+ /**
1622
+ * For BigCommerce stores with a logged-in shopper, seed
1623
+ * `defaultCustomerProfileAddress` from the BC Storefront API so the
1624
+ * `zonos-address` picker prefills the shopper's saved address book without
1625
+ * forcing them to retype anything. Skips when an address has already been
1626
+ * prefilled by another path (Stripe customer profile, merchant-provided
1627
+ * `defaultAddress`, or the BC redirect's session-storage handoff).
1628
+ */
1629
+ this.prefillBigCommerceCustomerAddresses = async () => {
1630
+ if (!window.Zonos.isBigCommerce) {
1631
+ return;
1632
+ }
1633
+ if (this.defaultCustomerProfileAddress.length) {
1634
+ return;
1635
+ }
1636
+ const hasManualDefault = (Array.isArray(this.defaultAddress) && this.defaultAddress.length > 0) ||
1637
+ (!Array.isArray(this.defaultAddress) &&
1638
+ typeof this.defaultAddress === 'object' &&
1639
+ this.defaultAddress !== null);
1640
+ if (hasManualDefault) {
1641
+ return;
1642
+ }
1643
+ const checkoutId = await fetchCheckoutId();
1644
+ if (!checkoutId) {
1645
+ return;
1646
+ }
1647
+ const checkout = await fetchBigCommerceCheckout(checkoutId);
1648
+ if (!isBigCommerceCustomerLoggedIn(checkout)) {
1649
+ return;
1650
+ }
1651
+ const addresses = getBigCommerceCustomerAddresses(checkout, {
1652
+ isShippable: countryCode => isShippableCountry(false, countryCode),
1653
+ selectedCountryCode: localization.localizationStore.selectedCountryCode || undefined,
1654
+ });
1655
+ if (!addresses.length) {
1656
+ return;
1657
+ }
1658
+ // Re-check after the awaits — another prefill path may have populated state
1659
+ // while we were waiting on the network.
1660
+ if (this.defaultCustomerProfileAddress.length) {
1661
+ return;
1662
+ }
1663
+ this.defaultCustomerProfileAddress = addresses;
1664
+ VarianceTest.log(`Prefilled ${String(addresses.length)} BigCommerce customer address(es) for logged-in shopper`, 'info');
1665
+ };
1521
1666
  this.getDefaultAddress = () => {
1522
1667
  // If checkout customer is authenticated, use the address from the customer profile
1523
1668
  if (this.defaultCustomerProfileAddress.length) {
@@ -2204,6 +2349,11 @@ const ZonosCheckout = class {
2204
2349
  // resume flag, auto-open the international checkout. Strip the flag
2205
2350
  // from the URL so a refresh doesn't keep re-triggering the dialog.
2206
2351
  this.handleBigcommerceInternationalResumeFlag();
2352
+ // For BigCommerce + logged-in shopper, prefetch the saved address book
2353
+ // (`customer.addresses` include) so the international checkout's address
2354
+ // picker is populated by the time the shopper opens it. Fire-and-forget —
2355
+ // the prefill itself guards against overwriting other prefill sources.
2356
+ void this.prefillBigCommerceCustomerAddresses();
2207
2357
  // check if bigcommerce, if user enters the shipping address that's in the shipping zone at bigcommerce checkout
2208
2358
  watchImmediateBigcommerceDomesticCheckoutRedirect({
2209
2359
  domesticRedirectedBtnSelector: CheckoutConfig.domesticRedirectedBtnSelector,
@@ -57,10 +57,10 @@ const ZonosCollapse = class {
57
57
  // set overflow to hidden to prevent content from showing when collapsed
58
58
  this.el.style.overflow = 'hidden';
59
59
  }
60
- return (index.h(index.Host, { key: '4fb230dfc4aa850c90c8cfbaf59da8d5043a4a89', class: 'zonos--elements zonos--collapse', style: {
60
+ return (index.h(index.Host, { key: '3e88dfbb76bc891e26c8b25729719b3bdc7e4087', class: 'zonos--elements zonos--collapse', style: {
61
61
  '--zonos--font-family': zonosStore.zonosStoreFontFamily(),
62
62
  height: this.getElementHeight(),
63
- } }, index.h("div", { key: '766542489d4a47d87ac2a2e2b7d62ec99272386a' }, index.h("iframe", { key: 'd2e33a342c9001bf4be3a478a068e0713a88bac5', class: "height-change-listener", tabindex: "-1", title: "collapse-height-change-listener" }), index.h("slot", { key: '566b3f4a214fc43cb9642895a716dc69e95ff9ef' }))));
63
+ } }, index.h("div", { key: '3304ccae3cf01ee2100f10e0e4751bb1ea709d00' }, index.h("iframe", { key: 'c7af721e790b0b7cea8a5345403d485c8ed0dae4', class: "height-change-listener", tabindex: "-1", title: "collapse-height-change-listener" }), index.h("slot", { key: 'be37b54db2a486750777edf71ff1001e4589f80a' }))));
64
64
  }
65
65
  get el() { return index.getElement(this); }
66
66
  };
@@ -3,12 +3,12 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const cart = require('./cart-02a93797.js');
6
+ const cart = require('./cart-d4486651.js');
7
7
  const cleanHtmlMarkdown = require('./cleanHtmlMarkdown-31da84b7.js');
8
8
  const zonosStore = require('./zonosStore-0662b95f.js');
9
9
  const classes = require('./classes-b7918f56.js');
10
10
  const styles = require('./styles-d1e64fb9.js');
11
- require('./localization-68ebf7c6.js');
11
+ require('./localization-06cc0379.js');
12
12
  require('./handleFetch-954f30e1.js');
13
13
  require('./VarianceTest-bec00ea8.js');
14
14
  require('./isDarkColor-e317bb06.js');
@@ -25,7 +25,7 @@ const ZonosCollectCartItems = class {
25
25
  render() {
26
26
  const emptyItemImg = index.getAssetPath('./assets/empty-item.jpeg');
27
27
  const nonRestrictedItems = cart.cartStore.items.filter(item => !item.isRestricted);
28
- return (index.h(index.Host, { key: 'd92815bdd86b1bb911bd11eb9e69bfb6fc477061', class: "zonos--collect-cart-items zonos--elements" }, index.h("table", { key: '23e36f132b3ad84cd9cd87c11e3d9149b5dd5e1d', class: "zonos--cart-table" }, index.h("tbody", { key: 'a49a23585c25c93a1b829c044e9641e7143ec212' }, nonRestrictedItems.map(item => {
28
+ return (index.h(index.Host, { key: 'ccad7b37a4f0d00d679dfdecb98fa15c2600aea2', class: "zonos--collect-cart-items zonos--elements" }, index.h("table", { key: '0464336c854621f6f2b31b2fa6ce93daa152e607', class: "zonos--cart-table" }, index.h("tbody", { key: 'a32edcb6ed81d0117fb96f93c9e4fea5d1971abe' }, nonRestrictedItems.map(item => {
29
29
  const itemImg = item.imageUrl;
30
30
  const cleanedItemNames = cleanHtmlMarkdown.cleanHtmlMarkdown(item.name);
31
31
  return (index.h("tr", { class: "zonos--collect-cart-item" }, index.h("td", { class: "zonos--column zonos--cart-item-image" }, itemImg && !this.errorImages.includes(itemImg) ? (index.h("img", { alt: item.name, onError: () => {
@@ -52,10 +52,10 @@ const HStack = class {
52
52
  this.spacing = 24;
53
53
  }
54
54
  render() {
55
- return (index.h(index.Host, { key: '5f51e8415536589fe4300c5db75ea13e4419350b', style: {
55
+ return (index.h(index.Host, { key: '6d17afddd6bee4215f1ca29e6d1876ead04b1cf4', style: {
56
56
  '--spacing': `${this.spacing}px`,
57
57
  '--zonos--font-family': zonosStore.zonosStoreFontFamily(),
58
- } }, index.h("slot", { key: 'b0cc8a581603ee78ec576346c5730f28ba5006e1' })));
58
+ } }, index.h("slot", { key: '1588eca69137d187ce946df8004a5192187e963b' })));
59
59
  }
60
60
  };
61
61
  HStack.style = ZonosHStackStyle0;
@@ -78,7 +78,7 @@ const ZonosSkeleton = class {
78
78
  this.skeletonHeight = '14px';
79
79
  }
80
80
  render() {
81
- return (index.h(index.Host, { key: '0b7adeb320e2f98d56158e4ec4d8933aa252ee8b', class: classes.classes(['zonos--elements zonos--skeleton']), style: styles.styles({
81
+ return (index.h(index.Host, { key: '06888cfea3918480152b8f1af660148882747195', class: classes.classes(['zonos--elements zonos--skeleton']), style: styles.styles({
82
82
  '--zonos--skeleton-height': this.skeletonHeight,
83
83
  '--zonos--skeleton-width': this.skeletonWidth,
84
84
  }) }));
@@ -3,19 +3,19 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const cart = require('./cart-02a93797.js');
7
- const paypal = require('./paypal-f8a0cca3.js');
8
- const localization = require('./localization-68ebf7c6.js');
6
+ const cart = require('./cart-d4486651.js');
7
+ const paypal = require('./paypal-52c4a4d4.js');
8
+ const localization = require('./localization-06cc0379.js');
9
9
  const zonosStore = require('./zonosStore-0662b95f.js');
10
10
  const handleFetch = require('./handleFetch-954f30e1.js');
11
11
  const createCustomEvent = require('./createCustomEvent-7b6fad95.js');
12
12
  const getBorderRadius = require('./getBorderRadius-a91911e7.js');
13
13
  const VarianceTest = require('./VarianceTest-bec00ea8.js');
14
- const isCollectMobileTablet = require('./isCollectMobileTablet-0d909501.js');
14
+ const isCollectMobileTablet = require('./isCollectMobileTablet-f56566ef.js');
15
15
  const classes = require('./classes-b7918f56.js');
16
16
  const ILanguage = require('./ILanguage-98b04442.js');
17
- const renderCheckoutCurrency = require('./renderCheckoutCurrency-d163c1c4.js');
18
- const placeTestOrder = require('./placeTestOrder-ce734b60.js');
17
+ const renderCheckoutCurrency = require('./renderCheckoutCurrency-2ebeff09.js');
18
+ const placeTestOrder = require('./placeTestOrder-7c88197a.js');
19
19
  const renderFallback = require('./renderFallback-bc20ee20.js');
20
20
  require('./isDarkColor-e317bb06.js');
21
21
  require('./isContrastColor-a02c4889.js');
@@ -272,11 +272,11 @@ const ZonosCollectFinish = class {
272
272
  }
273
273
  render() {
274
274
  const cartId = window.Zonos.cartId;
275
- return (index.h(index.Host, { key: '89331d23e3b6b57ce708f091fb4c9cdaae84f838', class: "zonos--checkout-finish zonos--elements", style: {
275
+ return (index.h(index.Host, { key: 'ebc550d41d82330609ce842578fb9414397f11d2', class: "zonos--checkout-finish zonos--elements", style: {
276
276
  '--zonos--border-radius': getBorderRadius.getBorderRadius({
277
277
  overrideBorderStyle: this.borderRadius,
278
278
  }),
279
- } }, !this.isLoading && (index.h("div", { key: '7539e73d3e88c6a486ded338d35ec55398a1f3f4', class: "zonos--finish-details" }, index.h("div", { key: '4a61f515eff3cf0ce77fc88526424c1e63e5d66a', class: "zonos--group" }, this.notificationType === 'success' ? (index.h("zonos-icon", { "aria-label": "Order success", content: SuccessIcon, iconColor: 'blue-800', size: 50 })) : (index.h("zonos-icon", { "aria-label": "Order failed", content: RemoveIcon, iconColor: 'red-800', size: 50 })), index.h("zonos-text", { key: '6a44ceadf42398e95b3bef73888583cca2d4d076', class: "zonos--title", type: "semiBoldSubheader" }, this.notificationTitle), this.confirmationId && (index.h("zonos-badge", { key: 'aa83de37eaaa4e8a349d6752f11d933584d56c81', badgeColor: "gray" }, this.confirmationId)), index.h("zonos-text", { key: '26ff76617b31f1726bdc3b7d024a29841692f7b9', class: "zonos--subtitle", textColor: "gray-600" }, this.notificationMessages.map(message => (index.h(index.Fragment, null, message, index.h("br", null))))), this.order && cartId && (index.h("div", { key: '721ce7b4561f9d82c2a251ac3f595e36567aaac7', class: "zonos--button-container" }, index.h("zonos-button", { key: '77db63afae505f5472f089e4e5ed9e9c52e48157', onClick: () => {
279
+ } }, !this.isLoading && (index.h("div", { key: 'e63176b8eb34a1c9bac491cc653c1108e085e77e', class: "zonos--finish-details" }, index.h("div", { key: 'abad1b8c765417e3d1cb4eb5f97c2713bc780517', class: "zonos--group" }, this.notificationType === 'success' ? (index.h("zonos-icon", { "aria-label": "Order success", content: SuccessIcon, iconColor: 'blue-800', size: 50 })) : (index.h("zonos-icon", { "aria-label": "Order failed", content: RemoveIcon, iconColor: 'red-800', size: 50 })), index.h("zonos-text", { key: '00924614cb5e3553bd572008a7e13ecd7c516272', class: "zonos--title", type: "semiBoldSubheader" }, this.notificationTitle), this.confirmationId && (index.h("zonos-badge", { key: 'e39986d7d0f739a7ea221546f3f06aa5327ef824', badgeColor: "gray" }, this.confirmationId)), index.h("zonos-text", { key: 'b4894f5156a213413e58484fe465905e1c5e48d4', class: "zonos--subtitle", textColor: "gray-600" }, this.notificationMessages.map(message => (index.h(index.Fragment, null, message, index.h("br", null))))), this.order && cartId && (index.h("div", { key: '8770f7a408b8b9862a2ef5ac4fa02a6caae6183a', class: "zonos--button-container" }, index.h("zonos-button", { key: '3bebe519d938bccb40c65c668fa58088cfeff47f', onClick: () => {
280
280
  window.open(this.getReceiptUrl({ cartId }), '_blank');
281
281
  }, size: "lg", variant: "primary" }, localization.translate('View receipt')))))))));
282
282
  }
@@ -284,6 +284,8 @@ const ZonosCollectFinish = class {
284
284
  };
285
285
  ZonosCollectFinish.style = ZonosCollectFinishStyle0;
286
286
 
287
+ const ChevronDownIcon$1 = `<svg color="var(--zonos-elements-gray-400)" fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="https://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M6.293 9.293a1 1 0 0 1 1.414 0L12 13.586l4.293-4.293a1 1 0 0 1 1.414 1.414l-4.93 4.93a1.1 1.1 0 0 1-1.555 0l-4.93-4.93a1 1 0 0 1 0-1.414Z" fill="currentColor" fill-rule="evenodd"></path></svg>`;
288
+
287
289
  const Globe = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" color="var(--zonos-elements-gray-1000)" xmlns="http://www.w3.org/2000/svg">
288
290
  <path fill-rule="evenodd" clip-rule="evenodd" d="M20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12ZM11.4709 5.80634C11.7686 5.53723 11.9541 5.5 12 5.5C12.0459 5.5 12.2314 5.53723 12.5291 5.80634C12.8115 6.06164 13.1289 6.46913 13.4271 7.03651C13.9505 8.03191 14.3838 9.46098 14.48 11.25H9.51996C9.61624 9.46098 10.0495 8.03191 10.5729 7.03651C10.8711 6.46913 11.1885 6.06164 11.4709 5.80634ZM8.01802 11.25C8.11591 9.23031 8.60319 7.55958 9.24516 6.33849C9.29983 6.23451 9.35585 6.13335 9.41312 6.03514C7.32916 6.94017 5.81218 8.90533 5.5428 11.25H8.01802ZM5.5428 12.75H8.01802C8.11591 14.7697 8.60319 16.4404 9.24516 17.6615C9.29983 17.7655 9.35585 17.8666 9.41312 17.9649C7.32916 17.0598 5.81218 15.0947 5.5428 12.75ZM9.51996 12.75H14.48C14.3838 14.539 13.9505 15.9681 13.4271 16.9635C13.1289 17.5309 12.8115 17.9384 12.5291 18.1937C12.2314 18.4628 12.0459 18.5 12 18.5C11.9541 18.5 11.7686 18.4628 11.4709 18.1937C11.1885 17.9384 10.8711 17.5309 10.5729 16.9635C10.0495 15.9681 9.61624 14.539 9.51996 12.75ZM15.982 12.75C15.8841 14.7697 15.3968 16.4404 14.7548 17.6615C14.7002 17.7655 14.6441 17.8666 14.5869 17.9649C16.6708 17.0598 18.1878 15.0947 18.4572 12.75H15.982ZM18.4572 11.25C18.1878 8.90533 16.6708 6.94017 14.5869 6.03514C14.6441 6.13335 14.7002 6.23451 14.7548 6.33849C15.3968 7.55958 15.8841 9.23031 15.982 11.25H18.4572Z" fill="currentColor"/>
289
291
  </svg>
@@ -298,7 +300,7 @@ const ZonosWordmark = `<svg width="43" height="10" viewBox="0 0 43 10" fill="non
298
300
  </svg>
299
301
  `;
300
302
 
301
- const zonosCollectFooterCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{position:absolute;bottom:0;left:32px;right:32px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;z-index:2}:host .zonos--collect-footer{gap:16px;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;padding:12px;padding-left:0;-ms-flex-align:center;align-items:center;width:100%}:host .zonos--collect-footer .zonos--collect-footer-icon-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:16px}:host .zonos--collect-footer .zonos--collect-footer-icon-wrapper .zonos--collect-footer-logo{display:-ms-inline-flexbox;display:inline-flex;gap:8px;-ms-flex-align:center;align-items:center}:host .zonos--collect-footer .zonos--collect-footer-icon-wrapper .zonos--collect-footer-logo a{line-height:0}:host .zonos--collect-footer .zonos--collect-footer-icon-wrapper a{text-decoration:none}:host .zonos--collect-footer zonos-button button.outline{outline:1px solid var(--zonos-elements-gray-800)}:host .zonos--collect-footer .zonos--collect-locale-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:8px;position:relative}@media (max-width: 400px){:host .zonos--collect-footer .zonos--collect-locale-wrapper{gap:4px}}:host .zonos--collect-footer .zonos--collect-language-dialog{position:absolute;bottom:36px;left:var(--language-dialog-left);background:var(--zonos-elements-surface-color);-webkit-box-shadow:var(--zonos-elements-v3-shadow-xl);box-shadow:var(--zonos-elements-v3-shadow-xl);border-radius:var(--zonos-elements-radius-12);width:360px;max-width:100vw;max-height:500px;z-index:2147483011;overflow:auto;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:bottom left;transform-origin:bottom left;opacity:0;-webkit-transition:opacity 0.3s ease-out, -webkit-transform 0.3s ease-out;transition:opacity 0.3s ease-out, -webkit-transform 0.3s ease-out;transition:transform 0.3s ease-out, opacity 0.3s ease-out;transition:transform 0.3s ease-out, opacity 0.3s ease-out, -webkit-transform 0.3s ease-out;-ms-scroll-chaining:none;overscroll-behavior:contain}:host .zonos--collect-footer .zonos--collect-language-dialog::-webkit-scrollbar{width:10px}:host .zonos--collect-footer .zonos--collect-language-dialog::-webkit-scrollbar-track{background:var(--zonos-elements-gray-50)}:host .zonos--collect-footer .zonos--collect-language-dialog::-webkit-scrollbar-thumb{border-radius:10px;background:#cccccc;border:3px solid transparent;background-clip:content-box}:host .zonos--collect-footer .zonos--collect-language-dialog::-webkit-scrollbar-thumb:hover{background:#d6d6d6}:host .zonos--collect-footer .zonos--collect-language-dialog::-webkit-scrollbar-track{border-top-right-radius:var(--zonos-elements-radius-12);border-bottom-right-radius:var(--zonos-elements-radius-12)}:host .zonos--collect-footer .zonos--collect-language-dialog.zonos--collect-language-dialog-open{opacity:1;-webkit-transform:scale(1);transform:scale(1)}:host .dot{display:-ms-inline-flexbox;display:inline-flex;background:var(--zonos-elements-gray-400);width:6px;height:6px;border-radius:50%}:host(.mobile),:host(.tablet){background-color:var(--zonos-elements-gray-0);width:100%;position:-webkit-sticky;position:sticky;bottom:0}:host(.tablet) .zonos--collect-footer{width:100%;max-width:800px;-ms-flex-pack:justify;justify-content:space-between;display:-ms-flexbox;display:flex}:host(.mobile) .zonos--collect-locale-wrapper{display:none}:host(.mobile) .zonos--collect-footer{-ms-flex-pack:center;justify-content:center}";
303
+ const zonosCollectFooterCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{position:absolute;bottom:0;left:32px;right:32px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;z-index:2}:host .zonos--collect-footer{gap:16px;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;padding:12px;padding-left:0;-ms-flex-align:center;align-items:center;width:100%}:host .zonos--collect-footer .zonos--collect-footer-icon-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:16px}:host .zonos--collect-footer .zonos--collect-footer-icon-wrapper .zonos--collect-footer-logo{display:-ms-inline-flexbox;display:inline-flex;gap:8px;-ms-flex-align:center;align-items:center}:host .zonos--collect-footer .zonos--collect-footer-icon-wrapper .zonos--collect-footer-logo a{line-height:0}:host .zonos--collect-footer .zonos--collect-footer-icon-wrapper a{text-decoration:none}:host .zonos--collect-footer zonos-button button.outline{outline:1px solid var(--zonos-elements-gray-800)}:host .zonos--collect-footer .zonos--collect-locale-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:8px;position:relative}@media (max-width: 400px){:host .zonos--collect-footer .zonos--collect-locale-wrapper{gap:4px}}:host .zonos--collect-footer .zonos--collect-locale-wrapper .zonos--collect-locale-label{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;gap:4px}:host .zonos--collect-footer .zonos--collect-language-dialog{position:absolute;bottom:36px;left:var(--language-dialog-left);background:var(--zonos-elements-surface-color);-webkit-box-shadow:var(--zonos-elements-v3-shadow-xl);box-shadow:var(--zonos-elements-v3-shadow-xl);border-radius:var(--zonos-elements-radius-12);width:360px;max-width:100vw;max-height:500px;z-index:2147483011;overflow:auto;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:bottom left;transform-origin:bottom left;opacity:0;-webkit-transition:opacity 0.3s ease-out, -webkit-transform 0.3s ease-out;transition:opacity 0.3s ease-out, -webkit-transform 0.3s ease-out;transition:transform 0.3s ease-out, opacity 0.3s ease-out;transition:transform 0.3s ease-out, opacity 0.3s ease-out, -webkit-transform 0.3s ease-out;-ms-scroll-chaining:none;overscroll-behavior:contain}:host .zonos--collect-footer .zonos--collect-language-dialog::-webkit-scrollbar{width:10px}:host .zonos--collect-footer .zonos--collect-language-dialog::-webkit-scrollbar-track{background:var(--zonos-elements-gray-50)}:host .zonos--collect-footer .zonos--collect-language-dialog::-webkit-scrollbar-thumb{border-radius:10px;background:#cccccc;border:3px solid transparent;background-clip:content-box}:host .zonos--collect-footer .zonos--collect-language-dialog::-webkit-scrollbar-thumb:hover{background:#d6d6d6}:host .zonos--collect-footer .zonos--collect-language-dialog::-webkit-scrollbar-track{border-top-right-radius:var(--zonos-elements-radius-12);border-bottom-right-radius:var(--zonos-elements-radius-12)}:host .zonos--collect-footer .zonos--collect-language-dialog.zonos--collect-language-dialog-open{opacity:1;-webkit-transform:scale(1);transform:scale(1)}:host .dot{display:-ms-inline-flexbox;display:inline-flex;background:var(--zonos-elements-gray-400);width:6px;height:6px;border-radius:50%}:host(.mobile),:host(.tablet){background-color:var(--zonos-elements-gray-0);width:100%;position:-webkit-sticky;position:sticky;bottom:0}:host(.tablet) .zonos--collect-footer{width:100%;max-width:800px;-ms-flex-pack:justify;justify-content:space-between;display:-ms-flexbox;display:flex}:host(.mobile) .zonos--collect-locale-wrapper{display:none}:host(.mobile) .zonos--collect-footer{-ms-flex-pack:center;justify-content:center}";
302
304
  const ZonosCollectFooterStyle0 = zonosCollectFooterCss;
303
305
 
304
306
  const ZonosCollectFooter = class {
@@ -339,15 +341,15 @@ const ZonosCollectFooter = class {
339
341
  const languageLabel = (_a = ILanguage.languages.find(x => x.code === localization.localizationStore.selectedLocale)) === null || _a === void 0 ? void 0 : _a.label;
340
342
  // reverse color when on desktop. With the coversheet backdrop, the color should be white
341
343
  const colorDesktop = 'gray-1000';
342
- return (index.h(index.Host, { key: 'ca7bd600af1d83937719aa6d83324d61f60b4c79', class: classes.classes([
344
+ return (index.h(index.Host, { key: '2650da0d6942ec1389d65316d4f387b205eb3d23', class: classes.classes([
343
345
  'zonos--elements',
344
346
  this.isMobile && 'mobile',
345
347
  this.isTablet && 'tablet',
346
- ]) }, index.h("div", { key: 'a69e9229e009f9c754e2ad9cf068654d683036fa', class: "zonos--collect-footer" }, index.h("div", { key: '72e62b7191dd32f0ead5970cb62edcd469ef40ce', class: "zonos--collect-locale-wrapper" }, index.h("zonos-button", { key: '2f76f5c3009175bb1dd4cd90d91628e79a97770e', buttonColor: colorDesktop, class: "zonos--collect-footer-language-button", icon: index.h("zonos-icon", { "aria-label": "Language select", content: Globe, iconColor: colorDesktop }), onClick: () => this.toggleLanguageDialog(), variant: "subtle" }, languageLabel), index.h("div", { key: '53f2b59da147de3637487cdc4b1cd6d440838b81', class: classes.classes([
348
+ ]) }, index.h("div", { key: '711017e883a7c88de6a8c4d2761d969045fa7511', class: "zonos--collect-footer" }, index.h("div", { key: '3eb3e89a254e3dba1cbd0a4dca0e257f0f7a64f7', class: "zonos--collect-locale-wrapper" }, index.h("zonos-button", { key: '2615195358247954888d47aa01b873c2e1ff738d', buttonColor: colorDesktop, class: "zonos--collect-footer-language-button", icon: index.h("zonos-icon", { "aria-label": "Language select", content: Globe, iconColor: colorDesktop }), onClick: () => this.toggleLanguageDialog(), variant: "subtle" }, index.h("span", { key: '90d0c4ca757c3825865cf82b9991a13d2972254d', class: "zonos--collect-locale-label" }, languageLabel, index.h("zonos-icon", { key: '6badf11c60712883ee1ed037a8ddb955a7675d53', "aria-hidden": "true", class: "zonos--collect-locale-chevron", content: ChevronDownIcon$1, iconColor: colorDesktop, size: 18 }))), index.h("div", { key: 'e8b45be9f457a57482da8ed95193ca2c36525525', class: classes.classes([
347
349
  'zonos--collect-language-dialog',
348
350
  this.showLanguageDialog &&
349
351
  'zonos--collect-language-dialog-open',
350
- ]) }, index.h("zonos-language-select", { key: 'bd0a83b6f180e5d4d0a368240599eb7934b8d06f', handleOnClose: () => this.toggleLanguageDialog() }))), index.h("div", { key: '52620a619a47e52129207880adbfd8e6a88372c6', class: "zonos--collect-footer-icon-wrapper" }, index.h("div", { key: '38c863a4b26b3e6768ed8acb57a32e398ba064ea', class: "zonos--collect-footer-logo" }, index.h("zonos-text", { key: '27402251e8d46578e3d9f1eb7a54afb5c553ea33', textColor: colorDesktop }, "Powered by"), index.h("a", { key: '350ed904d6d3787a38229a4178c0ee82a2c87cac', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, index.h("zonos-icon", { key: '3c65492b88a601459d0487e4c615208c8dcaa810', autoHeight: true, content: ZonosWordmark, size: 42 }))), index.h("div", { key: 'dc8f6479806466c45ac1c1ed8e32587190f14175', class: "dot" }), index.h("a", { key: 'bc4a48af6ea629273cdf9bd1cdca4981306a8eb9', href: "https://zonos.com/docs/legal/zonos-privacy-policy", target: "_blank" }, index.h("zonos-text", { key: '2e923eef08f6b6a9dd53190a1aa221666cab4210', textColor: colorDesktop }, "Privacy policy"))))));
352
+ ]) }, index.h("zonos-language-select", { key: 'a0a9bc9fca4df158e615ae387a5be2598a7b9f36', handleOnClose: () => this.toggleLanguageDialog() }))), index.h("div", { key: '8e4743edc609ac041cb283a2a4864efcbda0a86e', class: "zonos--collect-footer-icon-wrapper" }, index.h("div", { key: 'd1119f22e17b80d015198c2803657c0280939ec7', class: "zonos--collect-footer-logo" }, index.h("zonos-text", { key: '4faac90e9cb3469ffeb743155345232de8e3730a', textColor: colorDesktop }, "Powered by"), index.h("a", { key: '63b6ad613f96d8bd6f88b931c0c3833d08744479', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, index.h("zonos-icon", { key: '09d6e961e27583a37b319be89fd0f80dbb9e96bd', autoHeight: true, content: ZonosWordmark, size: 42 }))), index.h("div", { key: 'b78088f8ab0cdc6b8dba6f1e0012e4c96407dd92', class: "dot" }), index.h("a", { key: '5ada46bc9f2fa3b52e235b3ec0231423e15fb5f5', href: "https://zonos.com/docs/legal/zonos-privacy-policy", target: "_blank" }, index.h("zonos-text", { key: 'b22d50bd1aaf5fddf8e1795f68b85c0e4f0125e8', textColor: colorDesktop }, "Privacy policy"))))));
351
353
  }
352
354
  get el() { return index.getElement(this); }
353
355
  static get watchers() { return {
@@ -681,13 +683,13 @@ const ZonosCollectReview = class {
681
683
  }
682
684
  render() {
683
685
  const titleTextColor = this.isMobile ? 'gray-1000' : 'gray-800';
684
- return (index.h(index.Host, { key: 'c8445ba13733af60fb88372eb2ae07fdc435364c', class: classes.classes([
686
+ return (index.h(index.Host, { key: '9b00168e63cbd687c01583577eefe9f5e9958996', class: classes.classes([
685
687
  'zonos--collect-review zonos--elements',
686
688
  this.isMobile && 'mobile',
687
689
  this.isTablet && 'tablet',
688
- ]) }, index.h("div", { key: '5589e61c35cbcdd885dc33cdb07999e55f5c4715', class: "zonos--title" }, index.h("zonos-text", { key: '783d38dcf9aabd64d94ab3356935aa5d6ffcdec0', textColor: titleTextColor, type: 'semiBoldLabel' }, localization.translate('Pay [organizationName]', {
690
+ ]) }, index.h("div", { key: '5d29409d7c09ce620b32d6f4512bbd280817cfa8', class: "zonos--title" }, index.h("zonos-text", { key: 'b06ea84a112b06f1aba656060c85680cada09808', textColor: titleTextColor, type: 'semiBoldLabel' }, localization.translate('Pay [organizationName]', {
689
691
  organizationName: zonosStore.zonosStore.organizationName,
690
- }))), index.h("div", { key: '4ce3c3391b6e2a47518cce212019137970dd99f7', class: "zonos--total-pay" }, renderFallback.renderFallback({
692
+ }))), index.h("div", { key: '7d96f27c70d54f69862816be87bf1c084a91ecb9', class: "zonos--total-pay" }, renderFallback.renderFallback({
691
693
  content: (index.h("zonos-text", { type: 'secondaryPageHeader' }, renderCheckoutCurrency.renderCheckoutCurrency({
692
694
  amount: isCollectMobileTablet.collectStore.amountDutyTaxFeeTotal || 0,
693
695
  isForeign: true,
@@ -753,7 +755,7 @@ const ZonosCollectSubtotal = class {
753
755
  }
754
756
  render() {
755
757
  this.initSubtotalData();
756
- return (index.h(index.Host, { key: 'ebd46815f83307682f5cbb8430bb64e66b9eadd1', class: "zonos--collect-subtotal zonos--elements" }, index.h("table", { key: '7a878d4bb5dce069060888f4d7e1fde0ef0e23cd', class: "zonos--collect-table" }, !!this.subtotals[localization.translate('Duties')] && (index.h("tr", { key: '496a81ab73739fe285636aad504232b1faa2f8e1', class: "zonos--row zonos--collect-duty" }, index.h("td", { key: '85334ee7319578f110a75f512f9d2e28f3eca79a', class: "zonos--column zonos--collect-subtotal-title" }, index.h("zonos-text", { key: 'f877f57ad0d6853f7c49237e4da649b1bfc5206b', type: "semiBoldLabel" }, localization.translate('Duties'))), index.h("td", { key: '97588563d5bd85fd1692e1882fcace85b3036b8c', class: "zonos--column" }), index.h("td", { key: '2acb01b0b6d38861eb23b5910c20a57a52172a33', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback.renderFallback({
758
+ return (index.h(index.Host, { key: 'dbdf16aeb070857018db4456e06b8c74cc135d78', class: "zonos--collect-subtotal zonos--elements" }, index.h("table", { key: '90e8278e1f518f5531813c3cf0b032707fe42eb8', class: "zonos--collect-table" }, !!this.subtotals[localization.translate('Duties')] && (index.h("tr", { key: '3c63319c6be8719069eb7d80eda2546dcc76f273', class: "zonos--row zonos--collect-duty" }, index.h("td", { key: '942aa283152bbf69439e7a864156c2f4a71f66dd', class: "zonos--column zonos--collect-subtotal-title" }, index.h("zonos-text", { key: 'db7ee74968f1b452e93a9e1d46de833e2513f582', type: "semiBoldLabel" }, localization.translate('Duties'))), index.h("td", { key: 'dfae6f70ace82c38bdce41de0b4f900c790fa9ae', class: "zonos--column" }), index.h("td", { key: '943c6781ad1909d6c5c315f705fcb08547a92660', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback.renderFallback({
757
759
  content: (index.h("zonos-text", { type: "label" }, renderCheckoutCurrency.renderCheckoutCurrency({
758
760
  amount: this.subtotals[localization.translate('Duties')] || 0,
759
761
  isForeign: true,
@@ -761,7 +763,7 @@ const ZonosCollectSubtotal = class {
761
763
  isLoading: isCollectMobileTablet.collectStore.isFetchingShippingInfo,
762
764
  skeletonHeight: '14px',
763
765
  skeletonWidth: '150px',
764
- })))), !!this.subtotals[localization.translate('Taxes')] && (index.h("tr", { key: '36b004cc298b1d9c757b3090ce4610c6ea36b209', class: "zonos--row zonos--collect-tax" }, index.h("td", { key: 'ceb1e460218ba71eb9c8db33a9cfe0e4affa00eb', class: "zonos--column zonos--collect-subtotal-title" }, index.h("zonos-text", { key: '147687aafbe073169862789a9ac0ac6da544e1ce', type: "semiBoldLabel" }, localization.translate('Taxes'))), index.h("td", { key: '642c5ff03b7dea8e4f2bd378e3ca482d81169f46', class: "zonos--column" }), index.h("td", { key: '31776ea8d128ad9ce6c9e523ca8fa297baf4763d', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback.renderFallback({
766
+ })))), !!this.subtotals[localization.translate('Taxes')] && (index.h("tr", { key: 'e87cf556d84fa66789f2410b77e049229eb54732', class: "zonos--row zonos--collect-tax" }, index.h("td", { key: '5941322ab31a1227a6944a05b25b27f387e184e7', class: "zonos--column zonos--collect-subtotal-title" }, index.h("zonos-text", { key: '729fd97147df76283b5d97a30015e2af84a4fbb6', type: "semiBoldLabel" }, localization.translate('Taxes'))), index.h("td", { key: 'a51514811435edae33c37f6062b0323ef2acfd05', class: "zonos--column" }), index.h("td", { key: 'a091d24821800034b1629813e05b40854951908d', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback.renderFallback({
765
767
  content: (index.h("zonos-text", { type: "label" }, renderCheckoutCurrency.renderCheckoutCurrency({
766
768
  amount: this.subtotals[localization.translate('Taxes')] || 0,
767
769
  isForeign: true,
@@ -769,7 +771,7 @@ const ZonosCollectSubtotal = class {
769
771
  isLoading: isCollectMobileTablet.collectStore.isFetchingShippingInfo,
770
772
  skeletonHeight: '14px',
771
773
  skeletonWidth: '150px',
772
- })))), !!this.subtotals[localization.translate('Fees')] && (index.h("tr", { key: 'ee18eaf3af00321a0741b07565d8474bc692b2fa', class: "zonos--row zonos--collect-fee" }, index.h("td", { key: '0abdde651b432368fcd374ecb1c9119981dc2531', class: "zonos--column zonos--collect-subtotal-title" }, index.h("zonos-text", { key: '385973cd0c11a161cba2a8737f6dfba4c4749d77', type: "semiBoldLabel" }, localization.translate('Fees'))), index.h("td", { key: '4ae0c1da68e5ac48ce0be09ec1826867905f9e74', class: "zonos--column" }), index.h("td", { key: '80f232ffdb0a66f88753c2a07290ed6273b66747', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback.renderFallback({
774
+ })))), !!this.subtotals[localization.translate('Fees')] && (index.h("tr", { key: '1ee4eae6bc0ea9be2d3b98733a3d51034db3b2c3', class: "zonos--row zonos--collect-fee" }, index.h("td", { key: '6548ee27908c32e7c39f4f16a7c6f202df256e28', class: "zonos--column zonos--collect-subtotal-title" }, index.h("zonos-text", { key: 'b911ffc5f29252efba3989e494eca1c5ec0fbd54', type: "semiBoldLabel" }, localization.translate('Fees'))), index.h("td", { key: 'f01086495ba4e1864f63de5fdd212de922e335c6', class: "zonos--column" }), index.h("td", { key: 'f2e628f5fb0087cebc5b135194325127357828e2', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback.renderFallback({
773
775
  content: (index.h("zonos-text", { type: "label" }, renderCheckoutCurrency.renderCheckoutCurrency({
774
776
  amount: this.subtotals[localization.translate('Fees')] || 0,
775
777
  isForeign: true,
@@ -777,7 +779,7 @@ const ZonosCollectSubtotal = class {
777
779
  isLoading: isCollectMobileTablet.collectStore.isFetchingShippingInfo,
778
780
  skeletonHeight: '14px',
779
781
  skeletonWidth: '150px',
780
- })))), index.h("tr", { key: '71677498d7c575e4227f45620b62f5ddadf06858', class: "zonos--row zonos--collect-spacing" }, index.h("td", { key: '5fc92ef7b46c8e5eb8ebb391015682f376785a26', class: "zonos--column", colSpan: 3 })), index.h("tr", { key: '253c6735bd30ef66c2fa1f82a44cebff3dacc189', class: "zonos--row zonos--collect-total zonos--collect-total-subtotal" }, index.h("td", { key: '0755b1c175973640e925520e747141e96446eea8', class: "zonos--column" }), index.h("td", { key: '19646da57bd222dbb2ada0c450eabf508833c069', class: "zonos--column zonos--collect-subtotal-title" }, index.h("zonos-text", { key: '57b3ff6e47ab14ab955abda316deb635fe70d3e9', type: "label" }, localization.translate('Subtotal'))), index.h("td", { key: 'c3ce8d85aa7a4d554ee271b0bc9ed248d97315b0', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback.renderFallback({
782
+ })))), index.h("tr", { key: '1b3c7371aa2b395c310e1bbfbda5071fc76bc523', class: "zonos--row zonos--collect-spacing" }, index.h("td", { key: 'ffcab1bd04d14fbc8c57d6731f2243945d889b9f', class: "zonos--column", colSpan: 3 })), index.h("tr", { key: 'c674e6737e1888c3ef4dfa9a2cc06ec595ddc74f', class: "zonos--row zonos--collect-total zonos--collect-total-subtotal" }, index.h("td", { key: 'c79170263853ebba9168b566ed0985af9e7f7bec', class: "zonos--column" }), index.h("td", { key: '05bff80d6dd83b047ec4f40dedbb42dcef822a34', class: "zonos--column zonos--collect-subtotal-title" }, index.h("zonos-text", { key: '61e4f56cd4da5187bb64c746920b04655ed4624a', type: "label" }, localization.translate('Subtotal'))), index.h("td", { key: 'a1701fa2c16e87cdba274349b7c5f9f0b90093ea', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback.renderFallback({
781
783
  content: (index.h("zonos-text", { type: "label" }, renderCheckoutCurrency.renderCheckoutCurrency({
782
784
  amount: isCollectMobileTablet.collectStore.amountDutyTaxFeeTotal || 0,
783
785
  isForeign: true,
@@ -785,7 +787,7 @@ const ZonosCollectSubtotal = class {
785
787
  isLoading: isCollectMobileTablet.collectStore.isFetchingShippingInfo,
786
788
  skeletonHeight: '14px',
787
789
  skeletonWidth: '150px',
788
- }))), index.h("tr", { key: 'e21e986f76bb932645c54e75698db4c06024335e', class: "zonos--row zonos--collect-total" }, index.h("td", { key: 'b4cc8e32cd69c0b1ed000c582c058a1215c4e365', class: "zonos--column" }), index.h("td", { key: '1b55f78e8161cd9da263d3b58c053b9b04cca999', class: "zonos--column zonos--collect-subtotal-title" }, index.h("zonos-text", { key: '97de8710348f0a039375d02b075c1e91ef6ae621', type: "semiBoldLabel" }, localization.translate('Customs fees total'))), index.h("td", { key: '58bf548786e07bb780c73433ae7a8582f2c2b059', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback.renderFallback({
790
+ }))), index.h("tr", { key: '83b981afc2f2ddfa5a21ee28fea2e00ec3aef4e8', class: "zonos--row zonos--collect-total" }, index.h("td", { key: '041fdf582712439e15521ab290f6475106d890cc', class: "zonos--column" }), index.h("td", { key: '82734ce4831e6255d8d6fe6aa73e8c132ba65d1d', class: "zonos--column zonos--collect-subtotal-title" }, index.h("zonos-text", { key: 'd7b1771c43d5176226d1e503ec9308da5806fa52', type: "semiBoldLabel" }, localization.translate('Customs fees total'))), index.h("td", { key: '5bebbeaaa0ed0c112e73e4e6283d1364b9ae4f64', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback.renderFallback({
789
791
  content: (index.h("zonos-text", { type: "semiBoldLabel" }, renderCheckoutCurrency.renderCheckoutCurrency({
790
792
  amount: isCollectMobileTablet.collectStore.amountDutyTaxFeeTotal || 0,
791
793
  isForeign: true,
@@ -3,10 +3,10 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const cart = require('./cart-02a93797.js');
7
- const isCollectMobileTablet = require('./isCollectMobileTablet-0d909501.js');
8
- const paypal = require('./paypal-f8a0cca3.js');
9
- const localization = require('./localization-68ebf7c6.js');
6
+ const cart = require('./cart-d4486651.js');
7
+ const isCollectMobileTablet = require('./isCollectMobileTablet-f56566ef.js');
8
+ const paypal = require('./paypal-52c4a4d4.js');
9
+ const localization = require('./localization-06cc0379.js');
10
10
  const zonosStore = require('./zonosStore-0662b95f.js');
11
11
  const buildCartItemsByTempCart = require('./buildCartItemsByTempCart-edddbf4b.js');
12
12
  const handleFetch = require('./handleFetch-954f30e1.js');
@@ -31,7 +31,7 @@ const ZonosComponent = class {
31
31
  return format(this.first, this.middle, this.last);
32
32
  }
33
33
  render() {
34
- return index.h("div", { key: '1d369c76153c971ef62736d7e00a5a940284d346' }, "Hello, World! I'm ", this.getText());
34
+ return index.h("div", { key: 'f8ec6c765a31d6d9599003523128ef4f5c8d3078' }, "Hello, World! I'm ", this.getText());
35
35
  }
36
36
  };
37
37
  ZonosComponent.style = ZonosComponentStyle0;