@zonos/elements 1.3.141 → 1.3.143

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 (309) hide show
  1. package/dist/cjs/{CheckoutConfig-165db6b6.js → CheckoutConfig-eaaf62a1.js} +1 -1
  2. package/dist/cjs/TaxId-4632639d.js +29 -0
  3. package/dist/cjs/{cart-e1b59d03.js → cart-6ac8dc06.js} +258 -8
  4. package/dist/cjs/{getBorderRadius-f72d8edf.js → getBorderRadius-f97c99ad.js} +1 -1
  5. package/dist/cjs/{handleFetch-4a90f091.js → handleFetch-864d3c53.js} +5 -5
  6. package/dist/cjs/{index-d56e0a8b.js → index-b678ce0c.js} +42 -8
  7. package/dist/cjs/index.cjs.js +12 -9
  8. package/dist/cjs/{isDarkColor-dd6d723b.js → isDarkColor-434d71dd.js} +1 -1
  9. package/dist/cjs/loader.cjs.js +2 -2
  10. package/dist/cjs/{paypal-86cc51e4.js → paypal-ea8b4ca0.js} +5 -5
  11. package/dist/cjs/{zonos-address_7.cjs.entry.js → zonos-address_8.cjs.entry.js} +64 -9
  12. package/dist/cjs/zonos-badge.cjs.entry.js +2 -2
  13. package/dist/cjs/zonos-banner.cjs.entry.js +2 -2
  14. package/dist/cjs/zonos-button_3.cjs.entry.js +4 -4
  15. package/dist/cjs/zonos-card.cjs.entry.js +3 -3
  16. package/dist/cjs/zonos-cart-items_13.cjs.entry.js +33 -12
  17. package/dist/cjs/zonos-checkout.cjs.entry.js +9 -9
  18. package/dist/cjs/zonos-collapse.cjs.entry.js +2 -2
  19. package/dist/cjs/zonos-component.cjs.entry.js +2 -2
  20. package/dist/cjs/zonos-controller.cjs.entry.js +7 -7
  21. package/dist/cjs/zonos-country-flag.cjs.entry.js +6 -6
  22. package/dist/cjs/zonos-country-select_4.cjs.entry.js +10 -10
  23. package/dist/cjs/zonos-elements.cjs.js +3 -3
  24. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +10 -10
  25. package/dist/cjs/zonos-hello.cjs.entry.js +6 -6
  26. package/dist/cjs/zonos-input.cjs.entry.js +3 -3
  27. package/dist/cjs/zonos-language-select_2.cjs.entry.js +6 -6
  28. package/dist/cjs/zonos-link.cjs.entry.js +1 -1
  29. package/dist/cjs/zonos-logo.cjs.entry.js +2 -2
  30. package/dist/cjs/zonos-notification_3.cjs.entry.js +9 -9
  31. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +3 -3
  32. package/dist/cjs/zonos-text.cjs.entry.js +2 -2
  33. package/dist/cjs/zonos-toggle.cjs.entry.js +4 -4
  34. package/dist/cjs/zonos-tooltip.cjs.entry.js +3 -3
  35. package/dist/cjs/zonos-v-stack.cjs.entry.js +4 -4
  36. package/dist/cjs/{zonosStore-293bb3ba.js → zonosStore-8971eb65.js} +1 -1
  37. package/dist/collection/collection-manifest.json +3 -2
  38. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +1 -1
  39. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +2 -2
  40. package/dist/collection/components/checkout/zonos-checkout/zonos-currency-toggle/zonos-currency-toggle.js +2 -2
  41. package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.css +3 -0
  42. package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.js +22 -1
  43. package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +1 -1
  44. package/dist/collection/components/common/zonos-stripe-input/zonos-stripe-input.css +162 -0
  45. package/dist/collection/components/common/zonos-stripe-input/zonos-stripe-input.js +220 -0
  46. package/dist/collection/components/common/zonos-toggle/zonos-toggle.js +2 -2
  47. package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +2 -2
  48. package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +2 -2
  49. package/dist/collection/components/common/zonos-virtual-scroll/zonos-virtual-scroll.js +2 -2
  50. package/dist/collection/components/component-template/zonos-component/zonos-component.js +1 -1
  51. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +2 -2
  52. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +4 -4
  53. package/dist/collection/components/main/zonos-controller.js +1 -1
  54. package/dist/collection/components/paypal/zonos-paypal-payment.js +1 -1
  55. package/dist/collection/components/store/checkout/paypal.js +1 -1
  56. package/dist/collection/components/store/checkout/stripe.js +9 -1
  57. package/dist/collection/components/store/translationStore/strings.arabic.js +12 -0
  58. package/dist/collection/components/store/translationStore/strings.base.js +12 -0
  59. package/dist/collection/components/store/translationStore/strings.chinese.js +12 -0
  60. package/dist/collection/components/store/translationStore/strings.danish.js +12 -0
  61. package/dist/collection/components/store/translationStore/strings.dutch.js +12 -0
  62. package/dist/collection/components/store/translationStore/strings.french.js +12 -0
  63. package/dist/collection/components/store/translationStore/strings.german.js +12 -0
  64. package/dist/collection/components/store/translationStore/strings.hebrew.js +12 -0
  65. package/dist/collection/components/store/translationStore/strings.indonesian.js +12 -0
  66. package/dist/collection/components/store/translationStore/strings.italian.js +12 -0
  67. package/dist/collection/components/store/translationStore/strings.japanese.js +12 -0
  68. package/dist/collection/components/store/translationStore/strings.korean.js +12 -0
  69. package/dist/collection/components/store/translationStore/strings.norwegian.js +12 -0
  70. package/dist/collection/components/store/translationStore/strings.polish.js +12 -0
  71. package/dist/collection/components/store/translationStore/strings.portuguese.js +12 -0
  72. package/dist/collection/components/store/translationStore/strings.russian.js +12 -0
  73. package/dist/collection/components/store/translationStore/strings.spanish.js +12 -0
  74. package/dist/collection/components/store/translationStore/strings.swedish.js +12 -0
  75. package/dist/collection/components/store/translationStore/strings.turkish.js +12 -0
  76. package/dist/collection/components/store/translationStore/strings.vietnamese.js +12 -0
  77. package/dist/collection/components/stripe/zonos-address/zonos-address.js +1 -1
  78. package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +2 -2
  79. package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
  80. package/dist/collection/components/utils/api/getCountries.js +1 -1
  81. package/dist/collection/components/utils/api/getLocalization.js +1 -1
  82. package/dist/collection/components/utils/api/prepCalculateLandedCost.js +2 -0
  83. package/dist/collection/components/utils/handleFetch.js +2 -2
  84. package/dist/collection/components/utils/isValidSelector.js +1 -1
  85. package/dist/collection/components/utils/jsonParse.js +1 -1
  86. package/dist/collection/components/utils/logging/log.js +1 -1
  87. package/dist/collection/components/utils/logging/sendErrorLog.js +1 -1
  88. package/dist/collection/environment.js +1 -1
  89. package/dist/collection/types/checkout/TaxId.js +24 -0
  90. package/dist/collection/types/generated/graphql.internal.types.js +52 -0
  91. package/dist/collection/types/index.js +1 -0
  92. package/dist/collection/types/stripe/Apperance.js +0 -58
  93. package/dist/esm/{CheckoutConfig-930107d4.js → CheckoutConfig-262008fe.js} +1 -1
  94. package/dist/esm/TaxId-915ef042.js +26 -0
  95. package/dist/esm/{cart-709f053f.js → cart-acba54d0.js} +258 -8
  96. package/dist/esm/{getBorderRadius-bdd709e7.js → getBorderRadius-4aca63d4.js} +1 -1
  97. package/dist/esm/{handleFetch-22cb914b.js → handleFetch-badf4543.js} +5 -5
  98. package/dist/esm/{index-86b8247e.js → index-986b5ff2.js} +42 -8
  99. package/dist/esm/index.js +11 -10
  100. package/dist/esm/{isDarkColor-c6924924.js → isDarkColor-4915739f.js} +1 -1
  101. package/dist/esm/loader.js +3 -3
  102. package/dist/esm/{paypal-77a60c44.js → paypal-3401f757.js} +5 -5
  103. package/dist/esm/{zonos-address_7.entry.js → zonos-address_8.entry.js} +64 -10
  104. package/dist/esm/zonos-badge.entry.js +2 -2
  105. package/dist/esm/zonos-banner.entry.js +2 -2
  106. package/dist/esm/zonos-button_3.entry.js +4 -4
  107. package/dist/esm/zonos-card.entry.js +3 -3
  108. package/dist/esm/zonos-cart-items_13.entry.js +33 -12
  109. package/dist/esm/zonos-checkout.entry.js +9 -9
  110. package/dist/esm/zonos-collapse.entry.js +2 -2
  111. package/dist/esm/zonos-component.entry.js +2 -2
  112. package/dist/esm/zonos-controller.entry.js +7 -7
  113. package/dist/esm/zonos-country-flag.entry.js +6 -6
  114. package/dist/esm/zonos-country-select_4.entry.js +10 -10
  115. package/dist/esm/zonos-elements.js +4 -4
  116. package/dist/esm/zonos-hello-dialog.entry.js +10 -10
  117. package/dist/esm/zonos-hello.entry.js +6 -6
  118. package/dist/esm/zonos-input.entry.js +3 -3
  119. package/dist/esm/zonos-language-select_2.entry.js +6 -6
  120. package/dist/esm/zonos-link.entry.js +1 -1
  121. package/dist/esm/zonos-logo.entry.js +2 -2
  122. package/dist/esm/zonos-notification_3.entry.js +9 -9
  123. package/dist/esm/zonos-shipping-rich-radio.entry.js +3 -3
  124. package/dist/esm/zonos-text.entry.js +2 -2
  125. package/dist/esm/zonos-toggle.entry.js +4 -4
  126. package/dist/esm/zonos-tooltip.entry.js +3 -3
  127. package/dist/esm/zonos-v-stack.entry.js +4 -4
  128. package/dist/esm/{zonosStore-c493c4fe.js → zonosStore-708637e7.js} +1 -1
  129. package/dist/esm-es5/{CheckoutConfig-930107d4.js → CheckoutConfig-262008fe.js} +1 -1
  130. package/dist/esm-es5/TaxId-915ef042.js +1 -0
  131. package/dist/esm-es5/cart-acba54d0.js +1 -0
  132. package/dist/esm-es5/{getBorderRadius-bdd709e7.js → getBorderRadius-4aca63d4.js} +1 -1
  133. package/dist/esm-es5/index-986b5ff2.js +2 -0
  134. package/dist/esm-es5/index.js +1 -1
  135. package/dist/esm-es5/{isDarkColor-c6924924.js → isDarkColor-4915739f.js} +1 -1
  136. package/dist/esm-es5/loader.js +1 -1
  137. package/dist/esm-es5/{paypal-77a60c44.js → paypal-3401f757.js} +1 -1
  138. package/dist/esm-es5/{zonos-address_7.entry.js → zonos-address_8.entry.js} +1 -1
  139. package/dist/esm-es5/zonos-badge.entry.js +1 -1
  140. package/dist/esm-es5/zonos-banner.entry.js +1 -1
  141. package/dist/esm-es5/zonos-button_3.entry.js +1 -1
  142. package/dist/esm-es5/zonos-card.entry.js +1 -1
  143. package/dist/esm-es5/zonos-cart-items_13.entry.js +1 -1
  144. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  145. package/dist/esm-es5/zonos-collapse.entry.js +1 -1
  146. package/dist/esm-es5/zonos-component.entry.js +1 -1
  147. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  148. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  149. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  150. package/dist/esm-es5/zonos-elements.js +1 -1
  151. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  152. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  153. package/dist/esm-es5/zonos-input.entry.js +1 -1
  154. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  155. package/dist/esm-es5/zonos-link.entry.js +1 -1
  156. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  157. package/dist/esm-es5/zonos-notification_3.entry.js +1 -1
  158. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
  159. package/dist/esm-es5/zonos-text.entry.js +1 -1
  160. package/dist/esm-es5/zonos-toggle.entry.js +1 -1
  161. package/dist/esm-es5/zonos-tooltip.entry.js +1 -1
  162. package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
  163. package/dist/esm-es5/{zonosStore-c493c4fe.js → zonosStore-708637e7.js} +1 -1
  164. package/dist/scripts/index.d.ts +113 -9
  165. package/dist/scripts/index.js +1 -1
  166. package/dist/scripts/loadZonos.js +1 -1
  167. package/dist/scripts/zonos.js +1 -1
  168. package/dist/types/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.d.ts +5 -0
  169. package/dist/types/components/common/zonos-stripe-input/zonos-stripe-input.d.ts +42 -0
  170. package/dist/types/components/store/checkout/cart.d.ts +2 -3
  171. package/dist/types/components/store/checkout/stripe.d.ts +10 -2
  172. package/dist/types/components/store/hello/localization.d.ts +0 -1
  173. package/dist/types/components/store/translationStore/strings.arabic.d.ts +12 -0
  174. package/dist/types/components/store/translationStore/strings.base.d.ts +12 -0
  175. package/dist/types/components/store/translationStore/strings.chinese.d.ts +12 -0
  176. package/dist/types/components/store/translationStore/strings.danish.d.ts +12 -0
  177. package/dist/types/components/store/translationStore/strings.dutch.d.ts +12 -0
  178. package/dist/types/components/store/translationStore/strings.french.d.ts +12 -0
  179. package/dist/types/components/store/translationStore/strings.german.d.ts +12 -0
  180. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +12 -0
  181. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +12 -0
  182. package/dist/types/components/store/translationStore/strings.italian.d.ts +12 -0
  183. package/dist/types/components/store/translationStore/strings.japanese.d.ts +12 -0
  184. package/dist/types/components/store/translationStore/strings.korean.d.ts +12 -0
  185. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +12 -0
  186. package/dist/types/components/store/translationStore/strings.polish.d.ts +12 -0
  187. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +12 -0
  188. package/dist/types/components/store/translationStore/strings.russian.d.ts +12 -0
  189. package/dist/types/components/store/translationStore/strings.spanish.d.ts +12 -0
  190. package/dist/types/components/store/translationStore/strings.swedish.d.ts +12 -0
  191. package/dist/types/components/store/translationStore/strings.turkish.d.ts +12 -0
  192. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +12 -0
  193. package/dist/types/components/store/translationStore.d.ts +1 -1
  194. package/dist/types/components/store/zonosStore.d.ts +1 -1
  195. package/dist/types/components/utils/api/checkItemRestrictions.d.ts +3 -3
  196. package/dist/types/components/utils/api/getLocaleMessages.d.ts +3 -3
  197. package/dist/types/components/utils/changeDeepProperty.d.ts +2 -2
  198. package/dist/types/components/utils/changeDeepPropertyAtIndex.d.ts +2 -1
  199. package/dist/types/components/utils/createCustomEvent.d.ts +3 -3
  200. package/dist/types/components/utils/hello/detectItemRestrictions.d.ts +3 -3
  201. package/dist/types/components/utils/hello/getCurrentHelloLocalePage.d.ts +1 -1
  202. package/dist/types/components/utils/hello/initHello.d.ts +2 -2
  203. package/dist/types/components/utils/resetToSelectedTab.d.ts +1 -1
  204. package/dist/types/components.d.ts +102 -2
  205. package/dist/types/environment.d.ts +2 -2
  206. package/dist/types/scripts/_stripe.d.ts +1 -1
  207. package/dist/types/stencil-public-runtime.d.ts +6 -0
  208. package/dist/types/styles/stripe/defaultVariable.d.ts +1 -1
  209. package/dist/types/types/checkout/TaxId.d.ts +20 -0
  210. package/dist/types/types/checkout/api/CalculateLandedCost.d.ts +8 -0
  211. package/dist/types/types/generated/graphql.frontend.types.d.ts +1 -1
  212. package/dist/types/types/generated/graphql.frontend.types.ts +1 -1
  213. package/dist/types/types/generated/graphql.internal.types.d.ts +71 -109
  214. package/dist/types/types/generated/graphql.internal.types.ts +91 -98
  215. package/dist/types/types/global.d.ts +0 -5
  216. package/dist/types/types/index.d.ts +1 -0
  217. package/dist/types/types/stripe/Apperance.d.ts +1 -2
  218. package/dist/types/utils/formattedUrl.d.ts +1 -1
  219. package/dist/zonos-elements/assets/RemoveIcon.svg +1 -1
  220. package/dist/zonos-elements/index.esm.js +1 -1
  221. package/dist/zonos-elements/{p-e205ef1c.system.entry.js → p-0197a9bf.system.entry.js} +1 -1
  222. package/dist/zonos-elements/{p-b9efc660.entry.js → p-0ab29580.entry.js} +1 -1
  223. package/dist/zonos-elements/{p-6b0aa1bb.system.js → p-0b5c9f89.system.js} +1 -1
  224. package/dist/zonos-elements/{p-87ed2e17.system.entry.js → p-0b5f4ca7.system.entry.js} +1 -1
  225. package/dist/zonos-elements/{p-289ded20.system.entry.js → p-0db28495.system.entry.js} +1 -1
  226. package/dist/zonos-elements/{p-35b8dcde.entry.js → p-1198c874.entry.js} +1 -1
  227. package/dist/zonos-elements/p-12a6b7bd.system.js +1 -0
  228. package/dist/zonos-elements/{p-b7307c61.js → p-1460f917.js} +1 -1
  229. package/dist/zonos-elements/{p-9589bd08.entry.js → p-1e3ea4ae.entry.js} +1 -1
  230. package/dist/zonos-elements/p-21b538ea.system.js +1 -0
  231. package/dist/zonos-elements/{p-0fc96872.system.entry.js → p-2761ad55.system.entry.js} +1 -1
  232. package/dist/zonos-elements/{p-bc8b22ad.entry.js → p-28295342.entry.js} +1 -1
  233. package/dist/zonos-elements/{p-22d69480.system.entry.js → p-2ab5e362.system.entry.js} +1 -1
  234. package/dist/zonos-elements/{p-f07c01c5.system.entry.js → p-2cfc00b8.system.entry.js} +1 -1
  235. package/dist/zonos-elements/{p-f8ca3e71.entry.js → p-302f5d25.entry.js} +1 -1
  236. package/dist/zonos-elements/{p-4319600a.system.entry.js → p-33e1d25e.system.entry.js} +1 -1
  237. package/dist/zonos-elements/{p-10efff62.system.js → p-36dfc7ac.system.js} +1 -1
  238. package/dist/zonos-elements/{p-7a60deef.system.entry.js → p-381874b0.system.entry.js} +1 -1
  239. package/dist/zonos-elements/p-386325ae.system.js +1 -0
  240. package/dist/zonos-elements/{p-1c4ff7b2.system.entry.js → p-38d0c496.system.entry.js} +1 -1
  241. package/dist/zonos-elements/{p-00d4bff1.entry.js → p-39cac2c1.entry.js} +1 -1
  242. package/dist/zonos-elements/{p-5c32689e.entry.js → p-3f991022.entry.js} +1 -1
  243. package/dist/zonos-elements/{p-9b59704a.entry.js → p-44dd4269.entry.js} +1 -1
  244. package/dist/zonos-elements/{p-edc16f69.js → p-4b685549.js} +1 -1
  245. package/dist/zonos-elements/{p-ad1d6ea2.entry.js → p-4c7f0417.entry.js} +1 -1
  246. package/dist/zonos-elements/{p-d633ced9.entry.js → p-54058b57.entry.js} +1 -1
  247. package/dist/zonos-elements/{p-ad4bc6a2.entry.js → p-545c05ce.entry.js} +1 -1
  248. package/dist/zonos-elements/p-5bd927f2.js +1 -0
  249. package/dist/zonos-elements/{p-01ad5be8.system.entry.js → p-654fc23d.system.entry.js} +1 -1
  250. package/dist/zonos-elements/{p-5b90dd6d.entry.js → p-675f60b4.entry.js} +1 -1
  251. package/dist/zonos-elements/p-680d3694.js +2 -0
  252. package/dist/zonos-elements/{p-461624ce.system.entry.js → p-6a8862a6.system.entry.js} +1 -1
  253. package/dist/zonos-elements/{p-10d6fe23.js → p-766dd01f.js} +1 -1
  254. package/dist/zonos-elements/{p-3dd503fd.system.entry.js → p-78e4f877.system.entry.js} +1 -1
  255. package/dist/zonos-elements/{p-7ef573f0.entry.js → p-7c5c0a85.entry.js} +1 -1
  256. package/dist/zonos-elements/{p-bb418544.system.js → p-7c643376.system.js} +1 -1
  257. package/dist/zonos-elements/{p-ffe4a999.system.entry.js → p-8ac02349.system.entry.js} +1 -1
  258. package/dist/zonos-elements/{p-25c7e4fa.system.entry.js → p-8e30228d.system.entry.js} +1 -1
  259. package/dist/zonos-elements/{p-be2feba6.entry.js → p-8f26cc7e.entry.js} +1 -1
  260. package/dist/zonos-elements/{p-fce202ab.entry.js → p-9306a835.entry.js} +1 -1
  261. package/dist/zonos-elements/{p-04a6a167.entry.js → p-9d7a860c.entry.js} +1 -1
  262. package/dist/zonos-elements/p-9da2d116.entry.js +1 -0
  263. package/dist/zonos-elements/{p-cd1fd09e.entry.js → p-9dec2b74.entry.js} +1 -1
  264. package/dist/zonos-elements/{p-cf72603f.system.entry.js → p-9e84f647.system.entry.js} +1 -1
  265. package/dist/zonos-elements/p-a08ea336.js +1 -0
  266. package/dist/zonos-elements/{p-ee1e1d94.system.entry.js → p-a13d5957.system.entry.js} +1 -1
  267. package/dist/zonos-elements/{p-dc09df19.system.entry.js → p-a2bce31d.system.entry.js} +1 -1
  268. package/dist/zonos-elements/p-a4f045d4.js +17 -0
  269. package/dist/zonos-elements/{p-f2867195.entry.js → p-ab6973a5.entry.js} +1 -1
  270. package/dist/zonos-elements/{p-d10ffd69.js → p-b0174a8f.js} +1 -1
  271. package/dist/zonos-elements/{p-8368a79e.entry.js → p-b2ea7adb.entry.js} +1 -1
  272. package/dist/zonos-elements/{p-fd061229.system.js → p-b50667b6.system.js} +1 -1
  273. package/dist/zonos-elements/{p-46a5ec52.system.js → p-c0164a3c.system.js} +1 -1
  274. package/dist/zonos-elements/p-c437d76c.system.js +1 -0
  275. package/dist/zonos-elements/{p-64a04391.system.entry.js → p-d1afd314.system.entry.js} +1 -1
  276. package/dist/zonos-elements/{p-7acf6802.entry.js → p-d3867033.entry.js} +1 -1
  277. package/dist/zonos-elements/{p-896ab1ed.system.entry.js → p-d5a3851d.system.entry.js} +1 -1
  278. package/dist/zonos-elements/{p-0c027d2e.entry.js → p-d9511c4a.entry.js} +1 -1
  279. package/dist/zonos-elements/{p-010f5797.system.entry.js → p-dba6147b.system.entry.js} +1 -1
  280. package/dist/zonos-elements/{p-896d62a4.system.entry.js → p-df9c0bfa.system.entry.js} +1 -1
  281. package/dist/zonos-elements/{p-0aee2e4c.system.entry.js → p-e6554a6f.system.entry.js} +1 -1
  282. package/dist/zonos-elements/{p-c78dd680.system.js → p-e9964a5a.system.js} +1 -1
  283. package/dist/zonos-elements/{p-b832ec52.entry.js → p-f2d07062.entry.js} +1 -1
  284. package/dist/zonos-elements/{p-8f9affb3.system.entry.js → p-f9aef1fc.system.entry.js} +1 -1
  285. package/dist/zonos-elements/p-fa538a74.system.entry.js +1 -0
  286. package/dist/zonos-elements/{p-3a26cae5.entry.js → p-fc4658a6.entry.js} +1 -1
  287. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  288. package/dist/zonos-elements/zonos-elements.js +1 -1
  289. package/package.json +68 -67
  290. package/dist/collection/__mocks__/vercel-app/loadZonos.js +0 -492
  291. package/dist/collection/__mocks__/vercel-app/localization.js +0 -1
  292. package/dist/collection/__mocks__/vercel-app/zonos-hello.entry.js +0 -1
  293. package/dist/collection/__mocks__/zonos-url/index.js +0 -1
  294. package/dist/collection/__mocks__/zonos-url/loadZonos.js +0 -492
  295. package/dist/collection/__mocks__/zonos-url/localization.js +0 -2899
  296. package/dist/collection/__mocks__/zonos-url/zonos-hello.entry.js +0 -1
  297. package/dist/esm-es5/cart-709f053f.js +0 -1
  298. package/dist/esm-es5/index-86b8247e.js +0 -2
  299. package/dist/zonos-elements/p-49e4ca08.system.entry.js +0 -1
  300. package/dist/zonos-elements/p-5b7da777.js +0 -2
  301. package/dist/zonos-elements/p-6b6cd6c3.system.js +0 -1
  302. package/dist/zonos-elements/p-a58731ec.system.js +0 -1
  303. package/dist/zonos-elements/p-afffdfc2.js +0 -1
  304. package/dist/zonos-elements/p-d35376d3.js +0 -17
  305. package/dist/zonos-elements/p-e6c31531.entry.js +0 -1
  306. package/dist/zonos-elements/p-f8e8b50e.system.js +0 -1
  307. /package/dist/esm-es5/{handleFetch-22cb914b.js → handleFetch-badf4543.js} +0 -0
  308. /package/dist/zonos-elements/{p-860e46ab.js → p-a5b294d7.js} +0 -0
  309. /package/dist/zonos-elements/{p-febc72e7.system.js → p-bfcfd29b.system.js} +0 -0
@@ -1,4 +1,4 @@
1
- import { z as zonosStore } from './zonosStore-c493c4fe.js';
1
+ import { z as zonosStore } from './zonosStore-708637e7.js';
2
2
 
3
3
  /**
4
4
  * Get the border radius for the elements based on the style
@@ -17,7 +17,7 @@ const prepInfo = (info) => {
17
17
  const infoToJson = JSON.stringify(info);
18
18
  return infoToJson;
19
19
  }
20
- catch (e1) {
20
+ catch (_a) {
21
21
  if (info && typeof info.toString === 'function') {
22
22
  const infoToString = info.toString();
23
23
  return infoToString;
@@ -109,7 +109,7 @@ const jsonParse = (_data) => {
109
109
  const json = JSON.parse(_data);
110
110
  return json;
111
111
  }
112
- catch (_error) {
112
+ catch (_a) {
113
113
  return null;
114
114
  }
115
115
  }
@@ -153,7 +153,7 @@ const sendErrorLog = async ({ endpoint, errors, metadata, shouldPostReleaseError
153
153
  method: 'POST',
154
154
  });
155
155
  }
156
- catch (_err) {
156
+ catch (_a) {
157
157
  const nextFallbackApi = getNextFallbackApiType();
158
158
  if (!nextFallbackApi) {
159
159
  return;
@@ -203,7 +203,7 @@ const encodeString = (text) => {
203
203
  const encodedString = btoa(text).replace(/=/g, '');
204
204
  return encodedString;
205
205
  }
206
- catch (error) {
206
+ catch (_a) {
207
207
  // return the reverse string if the encoding failed
208
208
  return text
209
209
  .replace(/[^A-Za-z0-9]/g, '')
@@ -278,7 +278,7 @@ const handleRequest = async ({ basePathType, options, path, }) => {
278
278
  zonosMode,
279
279
  };
280
280
  }
281
- catch (e) {
281
+ catch (_a) {
282
282
  const message = 'Unknown error';
283
283
  return {
284
284
  baseUrl,
@@ -2,7 +2,7 @@ const NAMESPACE = 'zonos-elements';
2
2
  const BUILD = /* zonos-elements */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: true, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: true, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: false, propNumber: true, propString: true, reflect: false, scoped: true, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: true, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: false, watchCallback: true };
3
3
 
4
4
  /*
5
- Stencil Client Platform v4.19.2 | MIT Licensed | https://stenciljs.com
5
+ Stencil Client Platform v4.22.3 | MIT Licensed | https://stenciljs.com
6
6
  */
7
7
  var __defProp = Object.defineProperty;
8
8
  var __export = (target, all) => {
@@ -394,7 +394,31 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
394
394
  if (nonce != null) {
395
395
  styleElm.setAttribute("nonce", nonce);
396
396
  }
397
- styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector("link"));
397
+ if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
398
+ if (styleContainerNode.nodeName === "HEAD") {
399
+ const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
400
+ const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
401
+ styleContainerNode.insertBefore(styleElm, referenceNode2);
402
+ } else if ("host" in styleContainerNode) {
403
+ if (supportsConstructableStylesheets) {
404
+ const stylesheet = new CSSStyleSheet();
405
+ stylesheet.replaceSync(style);
406
+ styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
407
+ } else {
408
+ const existingStyleContainer = styleContainerNode.querySelector("style");
409
+ if (existingStyleContainer) {
410
+ existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
411
+ } else {
412
+ styleContainerNode.prepend(styleElm);
413
+ }
414
+ }
415
+ } else {
416
+ styleContainerNode.append(styleElm);
417
+ }
418
+ }
419
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
420
+ styleContainerNode.insertBefore(styleElm, null);
421
+ }
398
422
  }
399
423
  if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
400
424
  styleElm.innerHTML += SLOT_FB_CSS;
@@ -417,7 +441,7 @@ var attachStyles = (hostRef) => {
417
441
  const scopeId2 = addStyle(
418
442
  elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
419
443
  cmpMeta);
420
- if (flags & 10 /* needsScopedEncapsulation */) {
444
+ if (flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */) {
421
445
  elm["s-sc"] = scopeId2;
422
446
  elm.classList.add(scopeId2 + "-h");
423
447
  if (flags & 2 /* scopedCssEncapsulation */) {
@@ -489,7 +513,11 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
489
513
  if (memberName === "list") {
490
514
  isProp = false;
491
515
  } else if (oldValue == null || elm[memberName] != n) {
492
- elm[memberName] = n;
516
+ if (typeof elm.__lookupSetter__(memberName) === "function") {
517
+ elm[memberName] = n;
518
+ } else {
519
+ elm.setAttribute(memberName, n);
520
+ }
493
521
  }
494
522
  } else {
495
523
  elm[memberName] = newValue;
@@ -569,7 +597,9 @@ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
569
597
  {
570
598
  updateElement(null, newVNode2, isSvgMode);
571
599
  }
572
- if (isDef(scopeId) && elm["s-si"] !== scopeId) {
600
+ const rootNode = elm.getRootNode();
601
+ const isElementWithinShadowRoot = !rootNode.querySelector("body");
602
+ if (!isElementWithinShadowRoot && BUILD.scoped && isDef(scopeId) && elm["s-si"] !== scopeId) {
573
603
  elm.classList.add(elm["s-si"] = scopeId);
574
604
  }
575
605
  {
@@ -737,7 +767,10 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
737
767
  elm.textContent = "";
738
768
  }
739
769
  addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
740
- } else if (oldChildren !== null) {
770
+ } else if (
771
+ // don't do this on initial render as it can cause non-hydrated content to be removed
772
+ !isInitialRender && BUILD.updatable && oldChildren !== null
773
+ ) {
741
774
  removeVnodes(oldChildren, 0, oldChildren.length - 1);
742
775
  }
743
776
  if (isSvgMode && tag === "svg") {
@@ -777,7 +810,7 @@ var updateElementScopeIds = (element, parent, iterateChildNodes = false) => {
777
810
  if (element && parent && element.nodeType === 1 /* ElementNode */) {
778
811
  const scopeIds = new Set(findScopeIds(parent).filter(Boolean));
779
812
  if (scopeIds.size) {
780
- (_a = element.classList) == null ? void 0 : _a.add(...element["s-scs"] = [...scopeIds]);
813
+ (_a = element.classList) == null ? void 0 : _a.add(...element["s-scs"] = Array.from(scopeIds));
781
814
  if (element["s-ol"] || iterateChildNodes) {
782
815
  for (const childNode of Array.from(element.childNodes)) {
783
816
  updateElementScopeIds(childNode, element, true);
@@ -1066,7 +1099,8 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1066
1099
  if (this.hasOwnProperty(propName)) {
1067
1100
  newValue = this[propName];
1068
1101
  delete this[propName];
1069
- } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && this[propName] == newValue) {
1102
+ } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
1103
+ this[propName] == newValue) {
1070
1104
  return;
1071
1105
  } else if (propName == null) {
1072
1106
  const hostRef = getHostRef(this);
package/dist/esm/index.js CHANGED
@@ -1,6 +1,7 @@
1
- import { l as log, h as handleFetch, a as logError } from './handleFetch-22cb914b.js';
2
- import { s as setupCartData, c as checkoutHiddenBtnSelector } from './CheckoutConfig-930107d4.js';
3
- export { c as checkoutHiddenBtnSelector, d as domesticRedirectedBtnSelector } from './CheckoutConfig-930107d4.js';
1
+ import { l as log, h as handleFetch, a as logError } from './handleFetch-badf4543.js';
2
+ import { s as setupCartData, c as checkoutHiddenBtnSelector } from './CheckoutConfig-262008fe.js';
3
+ export { c as checkoutHiddenBtnSelector, d as domesticRedirectedBtnSelector } from './CheckoutConfig-262008fe.js';
4
+ export { c as countryRequireTaxId, s as shipToTaxIdLabels } from './TaxId-915ef042.js';
4
5
 
5
6
  /**
6
7
  * Get the load version and url based on the loadScriptSrc and version
@@ -124,7 +125,7 @@ const getZonosQaUrl = () => {
124
125
  return null;
125
126
  }
126
127
  const qaUrl = extractZonosQaUrl(window.location.href);
127
- const cdnUrl = "https://v1.3.141.js.zonos.com";
128
+ const cdnUrl = "https://v1.3.143.js.zonos.com";
128
129
  // when the qaUrl is not set and the built URL is from the test domain, use the test domain for testing
129
130
  if (!qaUrl &&
130
131
  (cdnUrl.includes('test.') ||
@@ -308,10 +309,10 @@ const zonosLoadUrl = (() => {
308
309
  }
309
310
  return null;
310
311
  })();
311
- const ZONOS_URL = "https://v1.3.141.js.zonos.com";
312
- const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.141";
313
- const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.141";
314
- const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.141";
312
+ const ZONOS_URL = "https://v1.3.143.js.zonos.com";
313
+ const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.143";
314
+ const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.143";
315
+ const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.143";
315
316
  const GOOGLE_FONT_URL = 'https://fonts.googleapis.com';
316
317
  const GOOGLE_FONT_REGEX = /^https:\/\/fonts\.googleapis\.com/;
317
318
  class Zonos {
@@ -325,7 +326,7 @@ Zonos.zonosConversionTest = typeof window !== 'undefined' &&
325
326
  !!window.location.search.match(/\?.*(&*)zonosConversionTest/);
326
327
  Zonos._paypalMockResponse = null;
327
328
  Zonos.isBigCommerce = false;
328
- Zonos.releaseDate = "1734130586435";
329
+ Zonos.releaseDate = "1734972954503";
329
330
  Zonos.isLegacyCheckout = false;
330
331
  Zonos.domain = typeof window !== 'undefined'
331
332
  ? // domain that embeds the iframe
@@ -341,7 +342,7 @@ Zonos.showBaseForeign = typeof window !== 'undefined' &&
341
342
  Zonos.isNpm = true;
342
343
  Zonos.zonosQaUrl = null;
343
344
  Zonos.zonosQaUrlApi = null;
344
- Zonos.version = `v${"1.3.141"}`;
345
+ Zonos.version = `v${"1.3.143"}`;
345
346
  Zonos.modeAlerted = false;
346
347
  Zonos.cartData = null;
347
348
  Zonos.paypal = null;
@@ -1,4 +1,4 @@
1
- import { a as commonjsGlobal } from './zonosStore-c493c4fe.js';
1
+ import { a as commonjsGlobal } from './zonosStore-708637e7.js';
2
2
 
3
3
  var tinycolor$1 = {exports: {}};
4
4
 
@@ -1,11 +1,11 @@
1
- import { b as bootstrapLazy } from './index-86b8247e.js';
2
- export { s as setNonce } from './index-86b8247e.js';
1
+ import { b as bootstrapLazy } from './index-986b5ff2.js';
2
+ export { s as setNonce } from './index-986b5ff2.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  const defineCustomElements = async (win, options) => {
6
6
  if (typeof window === 'undefined') return undefined;
7
7
  await globalScripts();
8
- return bootstrapLazy(JSON.parse("[[\"zonos-checkout\",[[2,\"zonos-checkout\",{\"appearanceSettingsOverride\":[16],\"preview\":[4],\"mobile\":[4],\"defaultAddress\":[16],\"forceDialogOpen\":[4,\"force-dialog-open\"],\"defaultAddressParams\":[32],\"open\":[32],\"stripe\":[32],\"submitLoading\":[32],\"collapseReviewMobile\":[32],\"isAttachError\":[32],\"isMobile\":[32],\"isIframed\":[32],\"zonosReviewRef\":[32],\"storybookPaymentStatusOverride\":[32],\"isLegacyCheckout\":[32],\"confirmDialogOpen\":[32],\"isCartExpired\":[32],\"inventoryCheckErrorMessage\":[32],\"placedOrderInfo\":[32],\"closeDialogHandler\":[64],\"init\":[64],\"setToFinishStep\":[64],\"mockCheckoutSession\":[64]},[[16,\"zonos--init-cart-info\",\"initCartInfoHandler\"],[4,\"keydown\",\"handleKeyPress\"],[9,\"resize\",\"handleWindowResize\"]],{\"appearanceSettingsOverride\":[\"appearanceSettingsOverrideChanged\",\"handleAppearanceSettingsOverrideChange\"],\"mobile\":[\"handleMobileChange\"],\"defaultAddress\":[\"handleAddressChange\"],\"open\":[\"handleOpenChange\"]}]]],[\"zonos-hello\",[[1,\"zonos-hello\",{\"mobileLocationOverride\":[1,\"mobile-location-override\"],\"animateFromLeftOverride\":[4,\"animate-from-left-override\"],\"appearanceSettingsOverride\":[16],\"showPeekMessage\":[32],\"zonosStoreHelloSettings\":[32],\"showDialog\":[32],\"peekMessage\":[32],\"initialUrl\":[32],\"allRestrictedItems\":[32],\"allFoundProducts\":[32],\"productsOnPage\":[32],\"isHelloWidgetRendered\":[32],\"isMobile\":[32],\"getCountryList\":[64],\"displayCurrency\":[64],\"convertAndFormat\":[64],\"convert\":[64],\"format\":[64],\"openHelloDialog\":[64]},[[9,\"resize\",\"handleResize\"]],{\"appearanceSettingsOverride\":[\"handleAppearanceSettingsOverrideChange\"]}]]],[\"zonos-controller\",[[1,\"zonos-controller\",{\"config\":[16],\"zonosApiKey\":[1,\"zonos-api-key\"],\"initCheckoutElement\":[64],\"setupGoogleFont\":[64],\"showNotification\":[64],\"reset\":[64],\"overrideConfig\":[64],\"overrideCountry\":[64],\"getAppearanceSetting\":[64],\"updateOrganizationName\":[64]},[[8,\"locationchange\",\"handleLocationChange\"]]]]],[\"zonos-tooltip\",[[1,\"zonos-tooltip\",{\"label\":[1],\"subtitle\":[1],\"showTooltip\":[32]}]]],[\"zonos-component\",[[1,\"zonos-component\",{\"first\":[1],\"middle\":[1],\"last\":[1]}]]],[\"zonos-link\",[[1,\"zonos-link\",{\"href\":[1],\"rel\":[1],\"target\":[1],\"linkTitle\":[1,\"link-title\"]}]]],[\"zonos-logo\",[[1,\"zonos-logo\",{\"theme\":[1],\"width\":[1]}]]],[\"zonos-hello-dialog\",[[1,\"zonos-hello-dialog\",{\"isOpen\":[4,\"is-open\"],\"setIsOpen\":[16],\"mobileLocationOverride\":[1,\"mobile-location-override\"],\"animateFromLeftOverride\":[4,\"animate-from-left-override\"],\"appearanceSettings\":[16],\"restrictedItems\":[16],\"welcomeMessage\":[32],\"showCountrySelect\":[32],\"showLanguageSelect\":[32]},[[4,\"click\",\"globalClickHandler\"]],{\"isOpen\":[\"isOpenHandler\"]}]]],[\"zonos-badge\",[[1,\"zonos-badge\",{\"bold\":[4],\"badgeColor\":[1,\"badge-color\"],\"icon\":[16],\"iconRight\":[4,\"icon-right\"],\"size\":[1],\"rounded\":[4],\"loading\":[4],\"dismissHandler\":[16]}]]],[\"zonos-shipping-rich-radio\",[[1,\"zonos-shipping-rich-radio\",{\"items\":[16],\"borderColor\":[1,\"border-color\"],\"borderStyle\":[1,\"border-style\"],\"theme\":[1],\"selectedItem\":[16]}]]],[\"zonos-toggle\",[[1,\"zonos-toggle\",{\"options\":[16],\"value\":[1]}]]],[\"zonos-collapse\",[[1,\"zonos-collapse\",{\"collapsed\":[4],\"collapseSize\":[2,\"collapse-size\"],\"height\":[32],\"iframe\":[32]}]]],[\"zonos-card\",[[1,\"zonos-card\",{\"actions\":[16],\"backgroundColor\":[1,\"background-color\"],\"borderRadius\":[2,\"border-radius\"],\"footerActions\":[16],\"footerContent\":[16],\"footerHeight\":[2,\"footer-height\"],\"label\":[16],\"spacing\":[1]}]]],[\"zonos-input\",[[1,\"zonos-input\",{\"inputValue\":[1,\"input-value\"],\"inputLabel\":[1,\"input-label\"],\"inputSize\":[1,\"input-size\"],\"isDisabled\":[4,\"is-disabled\"],\"isError\":[4,\"is-error\"],\"inputPlaceholder\":[1,\"input-placeholder\"],\"value\":[32]},null,{\"inputValue\":[\"onInputValueChange\"]}]]],[\"zonos-notification_3\",[[2,\"zonos-payment\",{\"titleText\":[1,\"title-text\"],\"stripe\":[32],\"stripeElements\":[32]},null,{\"stripeElements\":[\"watchInitStripe\"],\"stripe\":[\"watchInitStripe\"]}],[2,\"zonos-paypal-payment\"],[1,\"zonos-notification\",{\"notificationArray\":[32],\"showNotification\":[64]}]]],[\"zonos-banner\",[[1,\"zonos-banner\",{\"bannerTitle\":[1,\"banner-title\"],\"intent\":[1],\"hasContent\":[32]}]]],[\"zonos-country-flag\",[[1,\"zonos-country-flag\",{\"countryCode\":[1,\"country-code\"],\"size\":[2]}]]],[\"zonos-v-stack\",[[1,\"zonos-v-stack\",{\"spacing\":[2]}]]],[\"zonos-text\",[[1,\"zonos-text\",{\"textColor\":[1,\"text-color\"],\"size\":[1],\"type\":[1],\"weight\":[2],\"ready\":[32]}]]],[\"zonos-button_3\",[[17,\"zonos-button\",{\"buttonColor\":[1,\"button-color\"],\"backgroundColor\":[1,\"background-color\"],\"borderStyle\":[1,\"border-style\"],\"isDisabled\":[4,\"is-disabled\"],\"icon\":[16],\"iconRight\":[4,\"icon-right\"],\"size\":[1],\"variant\":[1],\"noBackground\":[4,\"no-background\"],\"withBoxShadow\":[4,\"with-box-shadow\"],\"noPaddingLeft\":[4,\"no-padding-left\"],\"noPaddingRight\":[4,\"no-padding-right\"],\"loading\":[4],\"justifyContent\":[1,\"justify-content\"],\"theme\":[1],\"hasIcon\":[32],\"hasContent\":[32]},[[2,\"click\",\"clickHandler\"]],{\"icon\":[\"iconChangeHandler\"]}],[1,\"zonos-spinner\",{\"size\":[2],\"spinnerColor\":[1,\"spinner-color\"]}],[1,\"zonos-icon\",{\"autoHeight\":[4,\"auto-height\"],\"iconColor\":[1,\"icon-color\"],\"content\":[1],\"size\":[2]}]]],[\"zonos-language-select_2\",[[1,\"zonos-language-select\",{\"handleOnClose\":[16]}],[1,\"zonos-select-dialog-header\",{\"handleOnClose\":[16],\"label\":[1]}]]],[\"zonos-country-select_4\",[[1,\"zonos-country-select\",{\"handleOnClose\":[16],\"inputValue\":[32]}],[1,\"zonos-hello-dialog-footer\",{\"appearanceSettings\":[16],\"setShowCountrySelect\":[16],\"setShowLanguageSelect\":[16]}],[1,\"zonos-custom-message\",{\"icon\":[1],\"message\":[1]}],[2,\"zonos-virtual-scroll\",{\"renderItem\":[16],\"itemWidth\":[2,\"item-width\"],\"fallbackItemHeight\":[2,\"fallback-item-height\"],\"itemHeights\":[16],\"container\":[32],\"scrollTop\":[32],\"totalHeight\":[32]},null,{\"itemHeights\":[\"updateTotalHeight\"],\"fallbackItemHeight\":[\"updateTotalHeight\"]}]]],[\"zonos-address_7\",[[1,\"zonos-address-update-dialog\",{\"continueLoading\":[4,\"continue-loading\"],\"dialogLoading\":[4,\"dialog-loading\"],\"dialogOpen\":[4,\"dialog-open\"],\"submitBtnType\":[1,\"submit-btn-type\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"isMobile\":[4,\"is-mobile\"],\"shippingAddress\":[16],\"billingAddress\":[16],\"translatedShippingAddress\":[16],\"translatedBillingAddress\":[16],\"showErrorBanner\":[32],\"translatedShippingAddressState\":[32],\"translatedBillingAddressState\":[32]},null,{\"translatedShippingAddress\":[\"watchTranslatedShippingAddress\"],\"translatedBillingAddress\":[\"watchTranslatedBillingAddress\"]}],[2,\"zonos-address\",{\"type\":[1],\"titleText\":[1,\"title-text\"],\"defaultAddress\":[16],\"stripe\":[32],\"isDirtyAddress\":[32]},null,{\"stripe\":[\"watchInitStripe\"]}],[1,\"zonos-checkbox\",{\"backgroundColor\":[1,\"background-color\"],\"label\":[1],\"isChecked\":[4,\"is-checked\"],\"isDisabled\":[4,\"is-disabled\"],\"size\":[2],\"fontSize\":[1,\"font-size\"],\"borderStyle\":[1,\"border-style\"]},[[1,\"click\",\"onClick\"]]],[2,\"zonos-link-authentication\",{\"titleText\":[1,\"title-text\"],\"defaultEmail\":[1,\"default-email\"],\"isEmailError\":[4,\"is-email-error\"],\"stripe\":[32]},null,{\"stripe\":[\"watchInitStripe\"]}],[1,\"zonos-dialog\",{\"open\":[4],\"headerText\":[1,\"header-text\"],\"width\":[1],\"height\":[1],\"minHeight\":[1,\"min-height\"],\"noHeader\":[4,\"no-header\"],\"noBodyPadding\":[4,\"no-body-padding\"],\"noBorder\":[4,\"no-border\"],\"borderStyle\":[1,\"border-style\"],\"noCloseButton\":[4,\"no-close-button\"],\"noClickOutside\":[4,\"no-click-outside\"],\"mobile\":[4],\"isLoading\":[4,\"is-loading\"],\"isMobile\":[32]},[[9,\"resize\",\"handleWindowResize\"],[4,\"keydown\",\"handleKeyDown\"]]],[1,\"zonos-address-display\",{\"currentAddress\":[16],\"addressType\":[1,\"address-type\"]}],[1,\"zonos-address-form\",{\"currentAddress\":[16],\"translatedAddress\":[16],\"addressType\":[1,\"address-type\"],\"localAddress\":[32]},null,{\"translatedAddress\":[\"watchCurrentAddress\"]}]]],[\"zonos-cart-items_13\",[[2,\"zonos-customer-info\",{\"continueLoading\":[4,\"continue-loading\"],\"submitBtnType\":[1,\"submit-btn-type\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"isMobile\":[4,\"is-mobile\"],\"defaultAddress\":[16],\"showErrorBanner\":[32],\"shippingCountry\":[32],\"isCheckingForRestrictedItems\":[32],\"isValidatingAddress\":[32],\"invalidShippingCharacterList\":[32],\"invalidBillingCharacterList\":[32],\"openAddressValidationDialog\":[32],\"isEmailError\":[32]}],[2,\"zonos-checkout-payment\",{\"submitBtnType\":[1,\"submit-btn-type\"],\"continueLoading\":[4,\"continue-loading\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"showErrorBanner\":[32],\"hasStripePaymentError\":[32]},null,{\"hasStripePaymentError\":[\"stripePaymentErrorWatcher\"]}],[1,\"zonos-checkout-footer\",{\"mobile\":[4],\"dataTheme\":[1,\"data-theme\"],\"showLanguageDialog\":[32],\"isMobile\":[32]},[[4,\"click\",\"handleGlobalClick\"]],{\"mobile\":[\"handleMobileChange\"]}],[2,\"zonos-shipping\",{\"continueLoading\":[4,\"continue-loading\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"submitBtnType\":[1,\"submit-btn-type\"],\"selectedShippingMethod\":[32],\"collapsedDAPOptions\":[32],\"isSelecting\":[32],\"showErrorBanner\":[32],\"serviceLevelsDDP\":[32],\"serviceLevelsDAP\":[32],\"serviceLevelsOther\":[32],\"serviceLevelsAll\":[32],\"displayBaseCurrency\":[32]}],[1,\"zonos-cart-subtotal\",{\"submitBtnType\":[1,\"submit-btn-type\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"loading\":[32]}],[1,\"zonos-cart-restricted-items\",{\"hide\":[4],\"errorImages\":[32],\"internalCollapsed\":[32],\"firstRender\":[32]}],[1,\"zonos-checkout-finish\",{\"borderRadius\":[1,\"border-radius\"],\"storybookForceStatus\":[1,\"storybook-force-status\"],\"overrideNotification\":[16],\"isLoading\":[32],\"notificationType\":[32],\"notificationTitle\":[32],\"notificationMessages\":[32],\"notificationActionText\":[32],\"order\":[32],\"isWaitingToRedirect\":[32]}],[1,\"zonos-confirm-dialog\",{\"dialogTitle\":[1,\"dialog-title\"],\"dialogIntent\":[1,\"dialog-intent\"],\"dialogSubtitle\":[1,\"dialog-subtitle\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"dialogConfirmBtnText\":[1,\"dialog-confirm-btn-text\"],\"dialogWidth\":[2,\"dialog-width\"],\"dialogCancelBtnText\":[1,\"dialog-cancel-btn-text\"],\"dialogType\":[1,\"dialog-type\"],\"isMobile\":[4,\"is-mobile\"],\"dialogOpen\":[4,\"dialog-open\"],\"noClickOutside\":[4,\"no-click-outside\"]},[[4,\"keydown\",\"handleKeyDown\"]]],[1,\"zonos-checkout-progress-tabs\",{\"tabColor\":[1,\"tab-color\"],\"backgroundColor\":[1,\"background-color\"],\"setTabItems\":[64],\"setTabSelected\":[64]}],[1,\"zonos-review\",{\"mobile\":[4],\"collapsed\":[4],\"isMobile\":[32]},[[9,\"resize\",\"handleWindowResize\"]]],[1,\"zonos-cart-items\",{\"errorImages\":[32]}],[1,\"zonos-currency-toggle\",{\"errorImages\":[32]}],[1,\"zonos-rest-state\",{\"restStateSubtitle\":[1,\"rest-state-subtitle\"],\"restStateTitle\":[1,\"rest-state-title\"],\"restStateType\":[1,\"rest-state-type\"],\"isErrorImageLoad\":[32]}]]]]"), options);
8
+ return bootstrapLazy(JSON.parse("[[\"zonos-checkout\",[[2,\"zonos-checkout\",{\"appearanceSettingsOverride\":[16],\"preview\":[4],\"mobile\":[4],\"defaultAddress\":[16],\"forceDialogOpen\":[4,\"force-dialog-open\"],\"defaultAddressParams\":[32],\"open\":[32],\"stripe\":[32],\"submitLoading\":[32],\"collapseReviewMobile\":[32],\"isAttachError\":[32],\"isMobile\":[32],\"isIframed\":[32],\"zonosReviewRef\":[32],\"storybookPaymentStatusOverride\":[32],\"isLegacyCheckout\":[32],\"confirmDialogOpen\":[32],\"isCartExpired\":[32],\"inventoryCheckErrorMessage\":[32],\"placedOrderInfo\":[32],\"closeDialogHandler\":[64],\"init\":[64],\"setToFinishStep\":[64],\"mockCheckoutSession\":[64]},[[16,\"zonos--init-cart-info\",\"initCartInfoHandler\"],[4,\"keydown\",\"handleKeyPress\"],[9,\"resize\",\"handleWindowResize\"]],{\"appearanceSettingsOverride\":[\"appearanceSettingsOverrideChanged\",\"handleAppearanceSettingsOverrideChange\"],\"mobile\":[\"handleMobileChange\"],\"defaultAddress\":[\"handleAddressChange\"],\"open\":[\"handleOpenChange\"]}]]],[\"zonos-hello\",[[1,\"zonos-hello\",{\"mobileLocationOverride\":[1,\"mobile-location-override\"],\"animateFromLeftOverride\":[4,\"animate-from-left-override\"],\"appearanceSettingsOverride\":[16],\"showPeekMessage\":[32],\"zonosStoreHelloSettings\":[32],\"showDialog\":[32],\"peekMessage\":[32],\"initialUrl\":[32],\"allRestrictedItems\":[32],\"allFoundProducts\":[32],\"productsOnPage\":[32],\"isHelloWidgetRendered\":[32],\"isMobile\":[32],\"getCountryList\":[64],\"displayCurrency\":[64],\"convertAndFormat\":[64],\"convert\":[64],\"format\":[64],\"openHelloDialog\":[64]},[[9,\"resize\",\"handleResize\"]],{\"appearanceSettingsOverride\":[\"handleAppearanceSettingsOverrideChange\"]}]]],[\"zonos-controller\",[[1,\"zonos-controller\",{\"config\":[16],\"zonosApiKey\":[1,\"zonos-api-key\"],\"initCheckoutElement\":[64],\"setupGoogleFont\":[64],\"showNotification\":[64],\"reset\":[64],\"overrideConfig\":[64],\"overrideCountry\":[64],\"getAppearanceSetting\":[64],\"updateOrganizationName\":[64]},[[8,\"locationchange\",\"handleLocationChange\"]]]]],[\"zonos-tooltip\",[[1,\"zonos-tooltip\",{\"label\":[1],\"subtitle\":[1],\"showTooltip\":[32]}]]],[\"zonos-component\",[[1,\"zonos-component\",{\"first\":[1],\"middle\":[1],\"last\":[1]}]]],[\"zonos-link\",[[1,\"zonos-link\",{\"href\":[1],\"rel\":[1],\"target\":[1],\"linkTitle\":[1,\"link-title\"]}]]],[\"zonos-logo\",[[1,\"zonos-logo\",{\"theme\":[1],\"width\":[1]}]]],[\"zonos-hello-dialog\",[[1,\"zonos-hello-dialog\",{\"isOpen\":[4,\"is-open\"],\"setIsOpen\":[16],\"mobileLocationOverride\":[1,\"mobile-location-override\"],\"animateFromLeftOverride\":[4,\"animate-from-left-override\"],\"appearanceSettings\":[16],\"restrictedItems\":[16],\"welcomeMessage\":[32],\"showCountrySelect\":[32],\"showLanguageSelect\":[32]},[[4,\"click\",\"globalClickHandler\"]],{\"isOpen\":[\"isOpenHandler\"]}]]],[\"zonos-badge\",[[1,\"zonos-badge\",{\"bold\":[4],\"badgeColor\":[1,\"badge-color\"],\"icon\":[16],\"iconRight\":[4,\"icon-right\"],\"size\":[1],\"rounded\":[4],\"loading\":[4],\"dismissHandler\":[16]}]]],[\"zonos-shipping-rich-radio\",[[1,\"zonos-shipping-rich-radio\",{\"items\":[16],\"borderColor\":[1,\"border-color\"],\"borderStyle\":[1,\"border-style\"],\"theme\":[1],\"selectedItem\":[16]}]]],[\"zonos-toggle\",[[1,\"zonos-toggle\",{\"options\":[16],\"value\":[1]}]]],[\"zonos-collapse\",[[1,\"zonos-collapse\",{\"collapsed\":[4],\"collapseSize\":[2,\"collapse-size\"],\"height\":[32],\"iframe\":[32]}]]],[\"zonos-card\",[[1,\"zonos-card\",{\"actions\":[16],\"backgroundColor\":[1,\"background-color\"],\"borderRadius\":[2,\"border-radius\"],\"footerActions\":[16],\"footerContent\":[16],\"footerHeight\":[2,\"footer-height\"],\"label\":[16],\"spacing\":[1]}]]],[\"zonos-input\",[[1,\"zonos-input\",{\"inputValue\":[1,\"input-value\"],\"inputLabel\":[1,\"input-label\"],\"inputSize\":[1,\"input-size\"],\"isDisabled\":[4,\"is-disabled\"],\"isError\":[4,\"is-error\"],\"inputPlaceholder\":[1,\"input-placeholder\"],\"value\":[32]},null,{\"inputValue\":[\"onInputValueChange\"]}]]],[\"zonos-notification_3\",[[2,\"zonos-payment\",{\"titleText\":[1,\"title-text\"],\"stripe\":[32],\"stripeElements\":[32]},null,{\"stripeElements\":[\"watchInitStripe\"],\"stripe\":[\"watchInitStripe\"]}],[2,\"zonos-paypal-payment\"],[1,\"zonos-notification\",{\"notificationArray\":[32],\"showNotification\":[64]}]]],[\"zonos-banner\",[[1,\"zonos-banner\",{\"bannerTitle\":[1,\"banner-title\"],\"intent\":[1],\"hasContent\":[32]}]]],[\"zonos-country-flag\",[[1,\"zonos-country-flag\",{\"countryCode\":[1,\"country-code\"],\"size\":[2]}]]],[\"zonos-v-stack\",[[1,\"zonos-v-stack\",{\"spacing\":[2]}]]],[\"zonos-text\",[[1,\"zonos-text\",{\"textColor\":[1,\"text-color\"],\"size\":[1],\"type\":[1],\"weight\":[2],\"ready\":[32]}]]],[\"zonos-button_3\",[[17,\"zonos-button\",{\"buttonColor\":[1,\"button-color\"],\"backgroundColor\":[1,\"background-color\"],\"borderStyle\":[1,\"border-style\"],\"isDisabled\":[4,\"is-disabled\"],\"icon\":[16],\"iconRight\":[4,\"icon-right\"],\"size\":[1],\"variant\":[1],\"noBackground\":[4,\"no-background\"],\"withBoxShadow\":[4,\"with-box-shadow\"],\"noPaddingLeft\":[4,\"no-padding-left\"],\"noPaddingRight\":[4,\"no-padding-right\"],\"loading\":[4],\"justifyContent\":[1,\"justify-content\"],\"theme\":[1],\"hasIcon\":[32],\"hasContent\":[32]},[[2,\"click\",\"clickHandler\"]],{\"icon\":[\"iconChangeHandler\"]}],[1,\"zonos-spinner\",{\"size\":[2],\"spinnerColor\":[1,\"spinner-color\"]}],[1,\"zonos-icon\",{\"autoHeight\":[4,\"auto-height\"],\"iconColor\":[1,\"icon-color\"],\"content\":[1],\"size\":[2]}]]],[\"zonos-language-select_2\",[[1,\"zonos-language-select\",{\"handleOnClose\":[16]}],[1,\"zonos-select-dialog-header\",{\"handleOnClose\":[16],\"label\":[1]}]]],[\"zonos-country-select_4\",[[1,\"zonos-country-select\",{\"handleOnClose\":[16],\"inputValue\":[32]}],[1,\"zonos-hello-dialog-footer\",{\"appearanceSettings\":[16],\"setShowCountrySelect\":[16],\"setShowLanguageSelect\":[16]}],[1,\"zonos-custom-message\",{\"icon\":[1],\"message\":[1]}],[2,\"zonos-virtual-scroll\",{\"renderItem\":[16],\"itemWidth\":[2,\"item-width\"],\"fallbackItemHeight\":[2,\"fallback-item-height\"],\"itemHeights\":[16],\"container\":[32],\"scrollTop\":[32],\"totalHeight\":[32]},null,{\"itemHeights\":[\"updateTotalHeight\"],\"fallbackItemHeight\":[\"updateTotalHeight\"]}]]],[\"zonos-address_8\",[[1,\"zonos-address-update-dialog\",{\"continueLoading\":[4,\"continue-loading\"],\"dialogLoading\":[4,\"dialog-loading\"],\"dialogOpen\":[4,\"dialog-open\"],\"submitBtnType\":[1,\"submit-btn-type\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"isMobile\":[4,\"is-mobile\"],\"shippingAddress\":[16],\"billingAddress\":[16],\"translatedShippingAddress\":[16],\"translatedBillingAddress\":[16],\"showErrorBanner\":[32],\"translatedShippingAddressState\":[32],\"translatedBillingAddressState\":[32]},null,{\"translatedShippingAddress\":[\"watchTranslatedShippingAddress\"],\"translatedBillingAddress\":[\"watchTranslatedBillingAddress\"]}],[2,\"zonos-address\",{\"type\":[1],\"titleText\":[1,\"title-text\"],\"defaultAddress\":[16],\"stripe\":[32],\"isDirtyAddress\":[32]},null,{\"stripe\":[\"watchInitStripe\"]}],[1,\"zonos-checkbox\",{\"backgroundColor\":[1,\"background-color\"],\"label\":[1],\"isChecked\":[4,\"is-checked\"],\"isDisabled\":[4,\"is-disabled\"],\"size\":[2],\"fontSize\":[1,\"font-size\"],\"borderStyle\":[1,\"border-style\"]},[[1,\"click\",\"onClick\"]]],[2,\"zonos-link-authentication\",{\"titleText\":[1,\"title-text\"],\"defaultEmail\":[1,\"default-email\"],\"isEmailError\":[4,\"is-email-error\"],\"stripe\":[32]},null,{\"stripe\":[\"watchInitStripe\"]}],[1,\"zonos-stripe-input\",{\"inputValue\":[1,\"input-value\"],\"inputLabel\":[1,\"input-label\"],\"overridePrimaryColor\":[1,\"override-primary-color\"],\"overrideSecondaryColor\":[1,\"override-secondary-color\"],\"isDisabled\":[4,\"is-disabled\"],\"isError\":[4,\"is-error\"],\"inputPlaceholder\":[1,\"input-placeholder\"],\"value\":[32]},null,{\"inputValue\":[\"onInputValueChange\"]}],[1,\"zonos-dialog\",{\"open\":[4],\"headerText\":[1,\"header-text\"],\"width\":[1],\"height\":[1],\"minHeight\":[1,\"min-height\"],\"noHeader\":[4,\"no-header\"],\"noBodyPadding\":[4,\"no-body-padding\"],\"noBorder\":[4,\"no-border\"],\"borderStyle\":[1,\"border-style\"],\"noCloseButton\":[4,\"no-close-button\"],\"noClickOutside\":[4,\"no-click-outside\"],\"mobile\":[4],\"isLoading\":[4,\"is-loading\"],\"isMobile\":[32]},[[9,\"resize\",\"handleWindowResize\"],[4,\"keydown\",\"handleKeyDown\"]]],[1,\"zonos-address-display\",{\"currentAddress\":[16],\"addressType\":[1,\"address-type\"]}],[1,\"zonos-address-form\",{\"currentAddress\":[16],\"translatedAddress\":[16],\"addressType\":[1,\"address-type\"],\"localAddress\":[32]},null,{\"translatedAddress\":[\"watchCurrentAddress\"]}]]],[\"zonos-cart-items_13\",[[2,\"zonos-customer-info\",{\"continueLoading\":[4,\"continue-loading\"],\"submitBtnType\":[1,\"submit-btn-type\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"isMobile\":[4,\"is-mobile\"],\"defaultAddress\":[16],\"showErrorBanner\":[32],\"shippingCountry\":[32],\"isCheckingForRestrictedItems\":[32],\"isValidatingAddress\":[32],\"invalidShippingCharacterList\":[32],\"invalidBillingCharacterList\":[32],\"openAddressValidationDialog\":[32],\"isEmailError\":[32]}],[2,\"zonos-checkout-payment\",{\"submitBtnType\":[1,\"submit-btn-type\"],\"continueLoading\":[4,\"continue-loading\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"showErrorBanner\":[32],\"hasStripePaymentError\":[32]},null,{\"hasStripePaymentError\":[\"stripePaymentErrorWatcher\"]}],[1,\"zonos-checkout-footer\",{\"mobile\":[4],\"dataTheme\":[1,\"data-theme\"],\"showLanguageDialog\":[32],\"isMobile\":[32]},[[4,\"click\",\"handleGlobalClick\"]],{\"mobile\":[\"handleMobileChange\"]}],[2,\"zonos-shipping\",{\"continueLoading\":[4,\"continue-loading\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"submitBtnType\":[1,\"submit-btn-type\"],\"selectedShippingMethod\":[32],\"collapsedDAPOptions\":[32],\"isSelecting\":[32],\"showErrorBanner\":[32],\"serviceLevelsDDP\":[32],\"serviceLevelsDAP\":[32],\"serviceLevelsOther\":[32],\"serviceLevelsAll\":[32],\"displayBaseCurrency\":[32]}],[1,\"zonos-cart-subtotal\",{\"submitBtnType\":[1,\"submit-btn-type\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"loading\":[32]}],[1,\"zonos-cart-restricted-items\",{\"hide\":[4],\"errorImages\":[32],\"internalCollapsed\":[32],\"firstRender\":[32]}],[1,\"zonos-checkout-finish\",{\"borderRadius\":[1,\"border-radius\"],\"storybookForceStatus\":[1,\"storybook-force-status\"],\"overrideNotification\":[16],\"isLoading\":[32],\"notificationType\":[32],\"notificationTitle\":[32],\"notificationMessages\":[32],\"notificationActionText\":[32],\"order\":[32],\"isWaitingToRedirect\":[32]}],[1,\"zonos-confirm-dialog\",{\"dialogTitle\":[1,\"dialog-title\"],\"dialogIntent\":[1,\"dialog-intent\"],\"dialogSubtitle\":[1,\"dialog-subtitle\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"dialogConfirmBtnText\":[1,\"dialog-confirm-btn-text\"],\"dialogWidth\":[2,\"dialog-width\"],\"dialogCancelBtnText\":[1,\"dialog-cancel-btn-text\"],\"dialogType\":[1,\"dialog-type\"],\"isMobile\":[4,\"is-mobile\"],\"dialogOpen\":[4,\"dialog-open\"],\"noClickOutside\":[4,\"no-click-outside\"]},[[4,\"keydown\",\"handleKeyDown\"]]],[1,\"zonos-checkout-progress-tabs\",{\"tabColor\":[1,\"tab-color\"],\"backgroundColor\":[1,\"background-color\"],\"setTabItems\":[64],\"setTabSelected\":[64]}],[1,\"zonos-review\",{\"mobile\":[4],\"collapsed\":[4],\"isMobile\":[32]},[[9,\"resize\",\"handleWindowResize\"]]],[1,\"zonos-cart-items\",{\"errorImages\":[32]}],[1,\"zonos-currency-toggle\",{\"errorImages\":[32]}],[1,\"zonos-rest-state\",{\"restStateSubtitle\":[1,\"rest-state-subtitle\"],\"restStateTitle\":[1,\"rest-state-title\"],\"restStateType\":[1,\"rest-state-type\"],\"isErrorImageLoad\":[32]}]]]]"), options);
9
9
  };
10
10
 
11
11
  export { defineCustomElements };
@@ -1,7 +1,7 @@
1
- import { z as zonosStore, c as createStore } from './zonosStore-c493c4fe.js';
2
- import { C as validateCheckoutSession, f as stripeStore, e as cartStore, x as stripeStoreHandleInventoryCheck, q as translate, w as cartStoreNextStep, k as cartStoreClearCheckoutInterval } from './cart-709f053f.js';
3
- import { h as handleFetch, l as log, a as logError, j as jsonParse } from './handleFetch-22cb914b.js';
4
- import { t as tinycolor } from './isDarkColor-c6924924.js';
1
+ import { z as zonosStore, c as createStore } from './zonosStore-708637e7.js';
2
+ import { C as validateCheckoutSession, f as stripeStore, e as cartStore, x as stripeStoreHandleInventoryCheck, q as translate, w as cartStoreNextStep, k as cartStoreClearCheckoutInterval } from './cart-acba54d0.js';
3
+ import { h as handleFetch, l as log, a as logError, j as jsonParse } from './handleFetch-badf4543.js';
4
+ import { t as tinycolor } from './isDarkColor-4915739f.js';
5
5
 
6
6
  /*!
7
7
  * paypal-js v8.1.0 (2024-06-07T16:55:00.122Z)
@@ -325,7 +325,7 @@ const paypalButtonOptions = ({ checkoutSessionId, onPaypalFail, onPaypalSessionD
325
325
  cartStore.inventoryCheckErrorMessage =
326
326
  await stripeStoreHandleInventoryCheck();
327
327
  }
328
- catch (err) {
328
+ catch (_a) {
329
329
  // If user provide callback and it throw an exception, default to this message and stop the payment.
330
330
  cartStore.inventoryCheckErrorMessage = translate('Unable to check inventory. Please try again.');
331
331
  }
@@ -1,13 +1,13 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, d as getElement } from './index-86b8247e.js';
2
- import { f as stripeStore, T as getFallbackDefaultCountryCode, l as localizationStore, q as translate } from './cart-709f053f.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, d as getElement } from './index-986b5ff2.js';
2
+ import { f as stripeStore, T as getFallbackDefaultCountryCode, l as localizationStore, q as translate } from './cart-acba54d0.js';
3
3
  import { i as isCheckoutMobile } from './isCheckoutMobile-8846dccb.js';
4
- import { a as logError, l as log } from './handleFetch-22cb914b.js';
4
+ import { a as logError, l as log } from './handleFetch-badf4543.js';
5
5
  import { i as isTextContainsNonLatinChars, c as containsNonLatinChars } from './containsNonLatinChars-2d8810c3.js';
6
- import { z as zonosStore, d as zonosStoreFontFamily } from './zonosStore-c493c4fe.js';
6
+ import { z as zonosStore, d as zonosStoreFontFamily } from './zonosStore-708637e7.js';
7
7
  import { c as classes } from './classes-0d95c529.js';
8
8
  import { R as RemoveIcon$1 } from './RemoveIcon-9dc5dd1a.js';
9
- import { g as getBorderRadius } from './getBorderRadius-bdd709e7.js';
10
- import { i as isDarkColor } from './isDarkColor-c6924924.js';
9
+ import { g as getBorderRadius } from './getBorderRadius-4aca63d4.js';
10
+ import { i as isDarkColor } from './isDarkColor-4915739f.js';
11
11
 
12
12
  const zonosAddressCss = ".sc-zonos-address-h{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-address-h *.sc-zonos-address{font-family:var(--zonos--font-family, Inter), Inter}.sc-zonos-address-h img.sc-zonos-address{max-width:100%}.sc-zonos-address-h dl.sc-zonos-address,.sc-zonos-address-h dd.sc-zonos-address,.sc-zonos-address-h h1.sc-zonos-address,.sc-zonos-address-h h2.sc-zonos-address,.sc-zonos-address-h h3.sc-zonos-address,.sc-zonos-address-h h4.sc-zonos-address,.sc-zonos-address-h h5.sc-zonos-address,.sc-zonos-address-h h6.sc-zonos-address,.sc-zonos-address-h hr.sc-zonos-address,.sc-zonos-address-h figure.sc-zonos-address,.sc-zonos-address-h p.sc-zonos-address,.sc-zonos-address-h pre.sc-zonos-address{margin:0}.sc-zonos-address-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-address-h .zonos--title.sc-zonos-address{margin-bottom:16px}.sc-zonos-address-h zonos-banner.sc-zonos-address{margin-top:8px}";
13
13
  const ZonosAddressStyle0 = zonosAddressCss;
@@ -145,7 +145,7 @@ const ZonosAddress = class {
145
145
  }
146
146
  render() {
147
147
  // this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
148
- return (h(Host, { key: '4c2371b6111fac3e7b9e73c83fb858db844e800a', class: "zonos--address zonos--elements" }, h("zonos-text", { key: 'a0a1f0c4a247a044f541083257edf8dc7b62f903', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: 'e610eecbbd4c57dcb539af8d539da3db60bb45e7', class: "zonos--address-component" })));
148
+ return (h(Host, { key: 'e66063ffb032f5c5506e2fe72c5b8986b7c63b16', class: "zonos--address zonos--elements" }, h("zonos-text", { key: 'bd0e6d1f9a895b9c97f72b3e2a872ddc6420550f', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: 'e3fde23bbe25238a8d29005c9fe11b2d9f7f1cff', class: "zonos--address-component" })));
149
149
  }
150
150
  get el() { return getElement(this); }
151
151
  static get watchers() { return {
@@ -577,9 +577,9 @@ const ZonosLinkAuthentication = class {
577
577
  }
578
578
  render() {
579
579
  // this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
580
- return (h(Host, { key: '2e0db99db09b2e6f055db2851e03f39819a6821e', class: "zonos--link-authentication zonos--elements", style: {
580
+ return (h(Host, { key: 'a57d22a1bc27b37819781aa5228a509b5638e8bc', class: "zonos--link-authentication zonos--elements", style: {
581
581
  '--zonos--border-radius': getBorderRadius(),
582
- } }, h("zonos-text", { key: 'fa4516128da2fafa81b070f4d525602edd11203e', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: '4b9afcb4bb2be87157923f136b517d3dc44a4c47', class: `zonos--link-authentication-component ${this.isEmailError && 'zonos--input-invalid'}` }), this.isEmailError && (h("zonos-text", { key: 'e6a20eedb5d0a2e5ccb58fa240d664812749801d', textColor: "red-600" }, translate('Please enter a valid email address.')))));
582
+ } }, h("zonos-text", { key: 'a56a593acd45bc7934714a15d9ee45842a88cba6', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: 'f04730dcf7bca9bc7a623e19755fcb2957fbf1fd', class: `zonos--link-authentication-component ${this.isEmailError && 'zonos--input-invalid'}` }), this.isEmailError && (h("zonos-text", { key: '77f8146f8346b32f37bd2ada98f9d6783329c1a3', textColor: "red-600" }, translate('Please enter a valid email address.')))));
583
583
  }
584
584
  get el() { return getElement(this); }
585
585
  static get watchers() { return {
@@ -588,4 +588,58 @@ const ZonosLinkAuthentication = class {
588
588
  };
589
589
  ZonosLinkAuthentication.style = ZonosLinkAuthenticationStyle0;
590
590
 
591
- export { ZonosAddress as zonos_address, ZonosAddressDisplay as zonos_address_display, ZonosAddressForm as zonos_address_form, ZonosAddressUpdateDialog as zonos_address_update_dialog, ZonosCheckbox as zonos_checkbox, ZonosDialog as zonos_dialog, ZonosLinkAuthentication as zonos_link_authentication };
591
+ const zonosStripeInputCss = ":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{--zonos--background-color:#f1f1f1;--zonos--local-glowing-color:0 0 0 3px hsla(0, 0%, 100%, 25%),\n 0 0 0 1px var(--zonos--primary-color);--zonos--border:1px solid #e8e8e8}:host(.dark){color-scheme:dark;--zonos--background-color:#30313d;--zonos--local-glowing-color:0px 2px 4px rgba(0, 0, 0, 0.5),\n 0px 1px 6px rgba(0, 0, 0, 0.25), 0 0 0 3px hsla(0, 0%, 100%, 25%),\n 0 1px 1px 0 rgba(255, 255, 255, 0.12);--zonos--border:1px solid var(--zonos--primary-color)}:host{margin:1px;height:calc(var(--zonos-elements-size-xl) - 2px);}:host .zonos--label-wrapper{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;height:100%;width:100%;background:var(--zonos--background-color);border-radius:var(--zonos--border-radius);border:var(--zonos--border);outline-offset:0;outline-width:2px}:host .zonos--floated-input{-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;padding:0 16px;outline:none;-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);width:100%;border-radius:var(--zonos--border-radius);background:var(--zonos--background-color);border:var(--zonos--border);-ms-flex-order:2;order:2;font-weight:400;font-size:var(--zonos--font-size)}:host .zonos--floated-input :-internal-autofill-selected{border-radius:var(--zonos-elements-radius-6) 0 0 var(--zonos-elements-radius-6)}:host .zonos--floated-input :-internal-autofill-selected+label+div{background-color:#e8f0fe}:host .zonos--floated-input.has-label{padding:24px 4px 2px 16px}:host .zonos--floated-input.has-label.has-input-prefix{padding-left:0}:host .zonos--floated-input.has-label.has-input-prefix+.zonos--floated-label label{margin-left:0}:host .zonos--floated-input:not(.has-label)::-webkit-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input:not(.has-label)::-moz-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input:not(.has-label):-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input:not(.has-label)::-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input:not(.has-label)::placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input::-webkit-input-placeholder{-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input::-moz-placeholder{-moz-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input:-ms-input-placeholder{-ms-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input::-ms-input-placeholder{-ms-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input::placeholder{-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input:focus{outline:none;border:var(--zonos--border)}:host .zonos--floated-input:focus+.zonos--floated-label::after{-webkit-box-shadow:var(--zonos--glowing-color, var(--zonos--local-glowing-color));box-shadow:var(--zonos--glowing-color, var(--zonos--local-glowing-color))}:host .zonos--floated-input.has-error+.zonos--floated-label::after{-webkit-box-shadow:0 0 0 2px #df1b41;box-shadow:0 0 0 2px #df1b41}:host .zonos--floated-input.has-content::-webkit-input-placeholder,:host .zonos--floated-input:focus::-webkit-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content::-moz-placeholder,:host .zonos--floated-input:focus::-moz-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content:-ms-input-placeholder,:host .zonos--floated-input:focus:-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content::-ms-input-placeholder,:host .zonos--floated-input:focus::-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content::placeholder,:host .zonos--floated-input:focus::placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content+.zonos--floated-label label,:host .zonos--floated-input:focus+.zonos--floated-label label{top:11px;-webkit-transform:scale(0.8);transform:scale(0.8)}:host .zonos--floated-input:-webkit-autofill,:host .zonos--floated-input:-moz-autofill{background-color:var(--zonos-elements-input-background);color:var(--zonos-elements-text-color)}:host .zonos--floated-label{display:block;max-height:0;pointer-events:none;-ms-flex-order:1;order:1}:host .zonos--floated-label label{color:var(--zonos-elements-gray-800);position:absolute;font-size:16px;line-height:16px;display:inline-block;-webkit-filter:blur(0);filter:blur(0);-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);margin-left:16px;top:calc(50% - 8px);z-index:1}:host .zonos--floated-label::after{content:\"\";position:absolute;left:0;right:0;top:0;bottom:0;border-radius:var(--zonos--border-radius)}:host .disabled .zonos--floated-label{pointer-events:inherit}:host .disabled .zonos--floated-label::after{cursor:not-allowed;z-index:1}:host(.dark) .zonos--label-wrapper{background:#30313d}";
592
+ const ZonosStripeInputStyle0 = zonosStripeInputCss;
593
+
594
+ const ZonosStripeInput = class {
595
+ constructor(hostRef) {
596
+ registerInstance(this, hostRef);
597
+ this.inputChange = createEvent(this, "inputChange", 7);
598
+ this.inputValue = '';
599
+ this.inputLabel = undefined;
600
+ this.overridePrimaryColor = undefined;
601
+ this.overrideSecondaryColor = undefined;
602
+ this.isDisabled = false;
603
+ this.isError = false;
604
+ this.inputPlaceholder = '';
605
+ this.value = this.inputValue;
606
+ }
607
+ onInputValueChange(newValue) {
608
+ this.value = newValue;
609
+ this.inputChange.emit(newValue);
610
+ }
611
+ render() {
612
+ const primaryColor = this.overridePrimaryColor || zonosStore.appearance.colorPrimary;
613
+ const secondaryColor = this.overrideSecondaryColor || zonosStore.appearance.colorSecondary;
614
+ const isDark = primaryColor && isDarkColor(primaryColor);
615
+ const fontSize = zonosStore.appearance.fontSizeInputValue || 16;
616
+ return (h(Host, { key: 'cc1e63bf6a09749b4310fd55bb6f728879e3c160', class: classes([
617
+ 'zonos--input zonos--elements',
618
+ isDark && 'dark',
619
+ this.isError && 'has-error',
620
+ ]), "data-theme": isDark ? 'DARK' : 'LIGHT', style: {
621
+ '--zonos--border-radius': getBorderRadius(),
622
+ '--zonos--font-family': zonosStoreFontFamily(),
623
+ '--zonos--font-size': `${fontSize}px`,
624
+ '--zonos--primary-color': secondaryColor,
625
+ } }, h("div", { key: '62294a559ba63fbf80cedbe16e3dca97540c8d4a', class: classes([
626
+ 'zonos--label-wrapper',
627
+ this.isDisabled && 'disabled',
628
+ ]) }, h("input", { key: '7e7d2a9d16b34240945119356f1b801ff0e0d4ae', class: classes([
629
+ 'zonos--floated-input',
630
+ !!this.inputLabel && 'has-label',
631
+ this.value && 'has-content',
632
+ this.isError && 'has-error',
633
+ ]), disabled: this.isDisabled, id: "zonos--input", onInput: e => {
634
+ const input = e.target;
635
+ this.inputChange.emit(input.value);
636
+ }, placeholder: this.inputPlaceholder, type: "text", value: this.value }), h("div", { key: 'e8340ce1583c0ce2d3659631a3400c2b72c81258', class: "zonos--floated-label" }, h("label", { key: 'daa8f068ebabfa9d77ed85d0e8070b45f7803f92', htmlFor: "zonos--input" }, this.inputLabel)))));
637
+ }
638
+ get el() { return getElement(this); }
639
+ static get watchers() { return {
640
+ "inputValue": ["onInputValueChange"]
641
+ }; }
642
+ };
643
+ ZonosStripeInput.style = ZonosStripeInputStyle0;
644
+
645
+ export { ZonosAddress as zonos_address, ZonosAddressDisplay as zonos_address_display, ZonosAddressForm as zonos_address_form, ZonosAddressUpdateDialog as zonos_address_update_dialog, ZonosCheckbox as zonos_checkbox, ZonosDialog as zonos_dialog, ZonosLinkAuthentication as zonos_link_authentication, ZonosStripeInput as zonos_stripe_input };
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, h, H as Host } from './index-86b8247e.js';
2
- import { d as zonosStoreFontFamily } from './zonosStore-c493c4fe.js';
1
+ import { r as registerInstance, h, H as Host } from './index-986b5ff2.js';
2
+ import { d as zonosStoreFontFamily } from './zonosStore-708637e7.js';
3
3
  import { c as classes } from './classes-0d95c529.js';
4
4
 
5
5
  const RemoveLineIcon = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, h, H as Host } from './index-86b8247e.js';
2
- import { d as zonosStoreFontFamily } from './zonosStore-c493c4fe.js';
1
+ import { r as registerInstance, h, H as Host } from './index-986b5ff2.js';
2
+ import { d as zonosStoreFontFamily } from './zonosStore-708637e7.js';
3
3
  import { c as classes } from './classes-0d95c529.js';
4
4
 
5
5
  const zonosBannerCss = ":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{border-radius:var(--zonos-elements-radius-10);padding:16px;background:var(--zonos-elements-gray-100)}:host .zonos--container{display:grid;-ms-flex-align:center;align-items:center;grid-template-areas:\"icon header\" \". content\";grid-template-columns:32px auto 0}:host .zonos--icon-wrapper{grid-area:icon;display:-ms-flexbox;display:flex;justify-self:start}:host .zonos--header-wrapper{margin-top:0px;grid-area:header}:host .zonos--content-wrapper{grid-area:content;margin-top:4px}:host(.info){background-color:var(--zonos-elements-blue-100);border:1px solid var(--zonos-elements-blue-200)}:host(.success){background-color:var(--zonos-elements-green-100);border:1px solid var(--zonos-elements-green-200)}:host(.error){background-color:var(--zonos-elements-red-100);border:1px solid var(--zonos-elements-red-200)}:host(.warning){background-color:var(--zonos-elements-orange-100);border:1px solid var(--zonos-elements-orange-200)}";
@@ -1,9 +1,9 @@
1
- import { r as registerInstance, h, H as Host, d as getElement } from './index-86b8247e.js';
2
- import { z as zonosStore, d as zonosStoreFontFamily } from './zonosStore-c493c4fe.js';
1
+ import { r as registerInstance, h, H as Host, d as getElement } from './index-986b5ff2.js';
2
+ import { z as zonosStore, d as zonosStoreFontFamily } from './zonosStore-708637e7.js';
3
3
  import { c as classes } from './classes-0d95c529.js';
4
- import { g as getBorderRadius } from './getBorderRadius-bdd709e7.js';
4
+ import { g as getBorderRadius } from './getBorderRadius-4aca63d4.js';
5
5
  import { i as isColorVariable } from './isColorVariable-0a94004f.js';
6
- import { i as isDarkColor } from './isDarkColor-c6924924.js';
6
+ import { i as isDarkColor } from './isDarkColor-4915739f.js';
7
7
  import { s as styles } from './styles-6fc2fad9.js';
8
8
 
9
9
  /**
@@ -1,7 +1,7 @@
1
- import { r as registerInstance, h, H as Host } from './index-86b8247e.js';
2
- import { d as zonosStoreFontFamily } from './zonosStore-c493c4fe.js';
1
+ import { r as registerInstance, h, H as Host } from './index-986b5ff2.js';
2
+ import { d as zonosStoreFontFamily } from './zonosStore-708637e7.js';
3
3
  import { c as classes } from './classes-0d95c529.js';
4
- import { g as getBorderRadius } from './getBorderRadius-bdd709e7.js';
4
+ import { g as getBorderRadius } from './getBorderRadius-4aca63d4.js';
5
5
 
6
6
  const zonosCardCss = ":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 .styled-card{border:var(--zonos-elements-border);border-radius:var(--zonos--border-radius, var(--zonos-elements-radius-6));padding:var(--spacing, 24px);text-align:left;background-color:var(--zonos--background-color);overflow:hidden}:host .styled-card hr{margin-left:calc(var(--spacing, 24px) * -1);margin-right:calc(var(--spacing, 24px) * -1)}:host .styled-card .card-header{margin:calc(var(--spacing, 24px) * -1);padding:var(--spacing, 24px);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-bottom:var(--spacing, 24px);border-bottom:var(--zonos-elements-border);height:65px;line-height:65px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host .styled-card .card-header h5{margin-bottom:0;-ms-flex:1;flex:1}:host .styled-card .card-footer{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;margin:calc(var(--spacing, 24px) * -1);padding:var(--spacing, 24px);border-top:var(--zonos-elements-border);background:var(--zonos-elements-surface-color-secondary);margin-top:var(--spacing, 24px);border-bottom-left-radius:var(--zonos-elements-radius-8);border-bottom-right-radius:var(--zonos-elements-radius-8);height:var(--footerHeight)}";
7
7
  const ZonosCardStyle0 = zonosCardCss;
@@ -1,16 +1,17 @@
1
- import { r as registerInstance, a as getAssetPath, h, H as Host, F as Fragment, c as createEvent, d as getElement } from './index-86b8247e.js';
2
- import { e as cartStore, J as currencyFormat, q as translate, K as cartStoreHasOneEligibleItem, L as stripeStoreApplyPromoCode, M as stripeStoreRemovePromoCode, f as stripeStore, A as stripeStoreReset, d as stripeStoreRetrievePayment, t as trackConversionEvent, N as stripeStoreResetPromoCode, O as stripeStoreMessageBasedOnStatus, l as localizationStore, P as stripeStoreTranslateAddressToLatin, Q as cartStoreUpdateSelectedShippingOption, R as cartStoreGetShippingTransitInfo, S as sortServiceLevelOptionsByAmount } from './cart-709f053f.js';
1
+ import { r as registerInstance, a as getAssetPath, h, H as Host, F as Fragment, c as createEvent, d as getElement } from './index-986b5ff2.js';
2
+ import { e as cartStore, J as currencyFormat, q as translate, K as cartStoreHasOneEligibleItem, L as stripeStoreApplyPromoCode, M as stripeStoreRemovePromoCode, f as stripeStore, A as stripeStoreReset, d as stripeStoreRetrievePayment, t as trackConversionEvent, N as stripeStoreResetPromoCode, O as stripeStoreMessageBasedOnStatus, l as localizationStore, P as stripeStoreTranslateAddressToLatin, Q as cartStoreUpdateSelectedShippingOption, R as cartStoreGetShippingTransitInfo, S as sortServiceLevelOptionsByAmount } from './cart-acba54d0.js';
3
3
  import { c as classes } from './classes-0d95c529.js';
4
- import { s as submitGtag, b as paypalStore, c as paypalStoreReset, i as isContrastColor } from './paypal-77a60c44.js';
5
- import { z as zonosStore, g as getZonosStoreTheme, d as zonosStoreFontFamily } from './zonosStore-c493c4fe.js';
4
+ import { s as submitGtag, b as paypalStore, c as paypalStoreReset, i as isContrastColor } from './paypal-3401f757.js';
5
+ import { z as zonosStore, g as getZonosStoreTheme, d as zonosStoreFontFamily } from './zonosStore-708637e7.js';
6
6
  import { c as createCustomEvent, g as getIsTestMode } from './createCustomEvent-31a792d3.js';
7
- import { g as getBorderRadius } from './getBorderRadius-bdd709e7.js';
8
- import { h as handleFetch, l as log, s as sendErrorLog, j as jsonParse, b as allLogs } from './handleFetch-22cb914b.js';
7
+ import { g as getBorderRadius } from './getBorderRadius-4aca63d4.js';
8
+ import { h as handleFetch, l as log, s as sendErrorLog, j as jsonParse, b as allLogs } from './handleFetch-badf4543.js';
9
9
  import { i as isCheckoutMobile } from './isCheckoutMobile-8846dccb.js';
10
10
  import { l as languages } from './ILanguage-cd6acb72.js';
11
- import { i as isDarkColor, t as tinycolor } from './isDarkColor-c6924924.js';
11
+ import { i as isDarkColor, t as tinycolor } from './isDarkColor-4915739f.js';
12
12
  import { i as isColorVariable } from './isColorVariable-0a94004f.js';
13
13
  import { c as containsNonLatinChars } from './containsNonLatinChars-2d8810c3.js';
14
+ import { c as countryRequireTaxId, s as shipToTaxIdLabels } from './TaxId-915ef042.js';
14
15
 
15
16
  const getDisplayCurrency = () => {
16
17
  var _a, _b;
@@ -1411,7 +1412,7 @@ const ZonosCheckoutFinish = class {
1411
1412
  void sendErrorLog({
1412
1413
  endpoint: `${baseUrl}/api/zonos-elements/get-order?checkoutSessionId=${checkoutSessionId}&orderId=${order.id}`,
1413
1414
  errors: [
1414
- `Order found but legacy order number doesn’t exist after ${maxRetries} attempts`,
1415
+ `Order found but legacy order number doesn't exist after ${maxRetries} attempts`,
1415
1416
  ],
1416
1417
  metadata: {
1417
1418
  allLogs,
@@ -2010,7 +2011,7 @@ const ZonosCurrencyToggle = class {
2010
2011
  const { exchangeRate } = cartStore;
2011
2012
  const options = exchangeRate &&
2012
2013
  exchangeRate.sourceCurrencyCode !== exchangeRate.targetCurrencyCode
2013
- ? ([
2014
+ ? [
2014
2015
  {
2015
2016
  label: exchangeRate.sourceCurrencyCode,
2016
2017
  value: exchangeRate.sourceCurrencyCode,
@@ -2019,7 +2020,7 @@ const ZonosCurrencyToggle = class {
2019
2020
  label: exchangeRate.targetCurrencyCode,
2020
2021
  value: exchangeRate.targetCurrencyCode,
2021
2022
  },
2022
- ])
2023
+ ]
2023
2024
  : [];
2024
2025
  // If there is only one currency, don't show the toggle
2025
2026
  if (!options.length) {
@@ -2030,7 +2031,7 @@ const ZonosCurrencyToggle = class {
2030
2031
  static get assetsDirs() { return ["assets"]; }
2031
2032
  };
2032
2033
 
2033
- const zonosCustomerInfoCss = ".sc-zonos-customer-info-h{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-customer-info-h *.sc-zonos-customer-info{font-family:var(--zonos--font-family, Inter), Inter}.sc-zonos-customer-info-h img.sc-zonos-customer-info{max-width:100%}.sc-zonos-customer-info-h dl.sc-zonos-customer-info,.sc-zonos-customer-info-h dd.sc-zonos-customer-info,.sc-zonos-customer-info-h h1.sc-zonos-customer-info,.sc-zonos-customer-info-h h2.sc-zonos-customer-info,.sc-zonos-customer-info-h h3.sc-zonos-customer-info,.sc-zonos-customer-info-h h4.sc-zonos-customer-info,.sc-zonos-customer-info-h h5.sc-zonos-customer-info,.sc-zonos-customer-info-h h6.sc-zonos-customer-info,.sc-zonos-customer-info-h hr.sc-zonos-customer-info,.sc-zonos-customer-info-h figure.sc-zonos-customer-info,.sc-zonos-customer-info-h p.sc-zonos-customer-info,.sc-zonos-customer-info-h pre.sc-zonos-customer-info{margin:0}.sc-zonos-customer-info-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-customer-info-h{overflow:hidden;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.sc-zonos-customer-info-h .zonos--title.sc-zonos-customer-info{margin-bottom:20px}.sc-zonos-customer-info-h .zonos--link-authentication.sc-zonos-customer-info{margin-bottom:32px}.sc-zonos-customer-info-h .zonos--address.sc-zonos-customer-info{margin-bottom:16px}.sc-zonos-customer-info-h .zonos--checkbox.sc-zonos-customer-info{margin-bottom:16px}.sc-zonos-customer-info-h .zonos--checkbox.sc-zonos-customer-info+.zonos--address.sc-zonos-customer-info{margin-bottom:0}.sc-zonos-customer-info-h zonos-button.sc-zonos-customer-info{-webkit-box-shadow:0 0 1px 0 var(--zonos-elements-gray-600);box-shadow:0 0 1px 0 var(--zonos-elements-gray-600)}.sc-zonos-customer-info-h .zonos--error-banner.sc-zonos-customer-info{margin-bottom:16px}.sc-zonos-customer-info-h .zonos--group.sc-zonos-customer-info{margin-bottom:20px;overflow:auto;padding:5px;-ms-scroll-chaining:none;overscroll-behavior:contain}.sc-zonos-customer-info-h .zonos--group.sc-zonos-customer-info::-webkit-scrollbar{width:10px}.sc-zonos-customer-info-h .zonos--group.sc-zonos-customer-info::-webkit-scrollbar-track{background:var(--zonos-elements-gray-50)}.sc-zonos-customer-info-h .zonos--group.sc-zonos-customer-info::-webkit-scrollbar-thumb{border-radius:10px;background:#cccccc;border:3px solid transparent;background-clip:content-box}.sc-zonos-customer-info-h .zonos--group.sc-zonos-customer-info::-webkit-scrollbar-thumb:hover{background:#d6d6d6}.sc-zonos-customer-info-h .zonos--group-btn.sc-zonos-customer-info{position:-webkit-sticky;position:sticky;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;bottom:-5px;padding-top:8px;margin-top:12px;background:var(--zonos--primary-color, var(--zonos-elements-gray-0))}.sc-zonos-customer-info-h .zonos--group-btn.sc-zonos-customer-info zonos-button.sc-zonos-customer-info{width:100%}";
2034
+ const zonosCustomerInfoCss = ".sc-zonos-customer-info-h{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-customer-info-h *.sc-zonos-customer-info{font-family:var(--zonos--font-family, Inter), Inter}.sc-zonos-customer-info-h img.sc-zonos-customer-info{max-width:100%}.sc-zonos-customer-info-h dl.sc-zonos-customer-info,.sc-zonos-customer-info-h dd.sc-zonos-customer-info,.sc-zonos-customer-info-h h1.sc-zonos-customer-info,.sc-zonos-customer-info-h h2.sc-zonos-customer-info,.sc-zonos-customer-info-h h3.sc-zonos-customer-info,.sc-zonos-customer-info-h h4.sc-zonos-customer-info,.sc-zonos-customer-info-h h5.sc-zonos-customer-info,.sc-zonos-customer-info-h h6.sc-zonos-customer-info,.sc-zonos-customer-info-h hr.sc-zonos-customer-info,.sc-zonos-customer-info-h figure.sc-zonos-customer-info,.sc-zonos-customer-info-h p.sc-zonos-customer-info,.sc-zonos-customer-info-h pre.sc-zonos-customer-info{margin:0}.sc-zonos-customer-info-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-customer-info-h{overflow:hidden;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.sc-zonos-customer-info-h .zonos--title.sc-zonos-customer-info{margin-bottom:20px}.sc-zonos-customer-info-h .zonos--link-authentication.sc-zonos-customer-info{margin-bottom:32px}.sc-zonos-customer-info-h .zonos--address.sc-zonos-customer-info{margin-bottom:16px}.sc-zonos-customer-info-h .zonos--checkbox.sc-zonos-customer-info{margin-bottom:16px}.sc-zonos-customer-info-h .zonos--checkbox.sc-zonos-customer-info+.zonos--address.sc-zonos-customer-info{margin-bottom:0}.sc-zonos-customer-info-h zonos-button.sc-zonos-customer-info{-webkit-box-shadow:0 0 1px 0 var(--zonos-elements-gray-600);box-shadow:0 0 1px 0 var(--zonos-elements-gray-600)}.sc-zonos-customer-info-h .zonos--error-banner.sc-zonos-customer-info{margin-bottom:16px}.sc-zonos-customer-info-h .zonos--tax-id-input.sc-zonos-customer-info{margin-bottom:16px}.sc-zonos-customer-info-h .zonos--group.sc-zonos-customer-info{margin-bottom:20px;overflow:auto;padding:5px;-ms-scroll-chaining:none;overscroll-behavior:contain}.sc-zonos-customer-info-h .zonos--group.sc-zonos-customer-info::-webkit-scrollbar{width:10px}.sc-zonos-customer-info-h .zonos--group.sc-zonos-customer-info::-webkit-scrollbar-track{background:var(--zonos-elements-gray-50)}.sc-zonos-customer-info-h .zonos--group.sc-zonos-customer-info::-webkit-scrollbar-thumb{border-radius:10px;background:#cccccc;border:3px solid transparent;background-clip:content-box}.sc-zonos-customer-info-h .zonos--group.sc-zonos-customer-info::-webkit-scrollbar-thumb:hover{background:#d6d6d6}.sc-zonos-customer-info-h .zonos--group-btn.sc-zonos-customer-info{position:-webkit-sticky;position:sticky;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;bottom:-5px;padding-top:8px;margin-top:12px;background:var(--zonos--primary-color, var(--zonos-elements-gray-0))}.sc-zonos-customer-info-h .zonos--group-btn.sc-zonos-customer-info zonos-button.sc-zonos-customer-info{width:100%}";
2034
2035
  const ZonosCustomerInfoStyle0 = zonosCustomerInfoCss;
2035
2036
 
2036
2037
  const ZonosCustomerInfo = class {
@@ -2196,6 +2197,26 @@ const ZonosCustomerInfo = class {
2196
2197
  }
2197
2198
  return invalidList;
2198
2199
  }
2200
+ isInTaxIdCountry(countryCode) {
2201
+ return countryRequireTaxId.includes(countryCode);
2202
+ }
2203
+ /**
2204
+ * Render tax id input based on ship to country code
2205
+ */
2206
+ renderTaxIdInput(countryCode) {
2207
+ // Don't render tax id input if the country is not provided
2208
+ if (!countryCode) {
2209
+ return null;
2210
+ }
2211
+ const isCountryRequireTaxId = this.isInTaxIdCountry(countryCode);
2212
+ if (!isCountryRequireTaxId) {
2213
+ return null;
2214
+ }
2215
+ const taxIdInputInfo = shipToTaxIdLabels[countryCode];
2216
+ return (h("div", { class: "zonos--tax-id-input" }, h("zonos-stripe-input", { inputLabel: translate(taxIdInputInfo.friendlyName), inputPlaceholder: taxIdInputInfo.placeholder, inputValue: stripeStore.taxId || '', onInputChange: (event) => {
2217
+ stripeStore.taxId = event.detail;
2218
+ } })));
2219
+ }
2199
2220
  render() {
2200
2221
  var _a, _b;
2201
2222
  if (!stripeStore.stripeElements) {
@@ -2220,7 +2241,7 @@ const ZonosCustomerInfo = class {
2220
2241
  if (this.showErrorBanner) {
2221
2242
  this.showErrorBanner = !this.handleValidate();
2222
2243
  }
2223
- return (h(Host, { class: "zonos--customer-info zonos--elements" }, h("div", { class: "zonos--group" }, h("zonos-text", { class: "zonos--title", type: "semiBoldSubheader" }, translate('Customer information')), this.showErrorBanner && (h("zonos-banner", { class: "zonos--error-banner", intent: "error" }, translate('Missing required fields. Make sure all fields are completed.'))), h("zonos-link-authentication", { defaultEmail: (_b = this.defaultAddress) === null || _b === void 0 ? void 0 : _b.email, isEmailError: this.isEmailError, onLinkAuthenticationChange: this.handleEmailValidation, titleText: translate('Contact') }), h("zonos-address", { defaultAddress: this.defaultAddress, titleText: translate('Address'), type: "shipping" }), h("zonos-checkbox", { class: "zonos--shipping-same-as-billing-cbx", isChecked: stripeStore.stripeShippingSameAsBilling, label: translate('Shipping address same as billing'), onCheckboxSelected: e => {
2244
+ return (h(Host, { class: "zonos--customer-info zonos--elements" }, h("div", { class: "zonos--group" }, h("zonos-text", { class: "zonos--title", type: "semiBoldSubheader" }, translate('Customer information')), this.showErrorBanner && (h("zonos-banner", { class: "zonos--error-banner", intent: "error" }, translate('Missing required fields. Make sure all fields are completed.'))), h("zonos-link-authentication", { defaultEmail: (_b = this.defaultAddress) === null || _b === void 0 ? void 0 : _b.email, isEmailError: this.isEmailError, onLinkAuthenticationChange: this.handleEmailValidation, titleText: translate('Contact') }), h("zonos-address", { defaultAddress: this.defaultAddress, titleText: translate('Address'), type: "shipping" }), this.renderTaxIdInput(this.shippingCountry), h("zonos-checkbox", { class: "zonos--shipping-same-as-billing-cbx", isChecked: stripeStore.stripeShippingSameAsBilling, label: translate('Shipping address same as billing'), onCheckboxSelected: e => {
2224
2245
  stripeStore.stripeShippingSameAsBilling = e.detail;
2225
2246
  } }), h("zonos-collapse", { collapsed: !showBilling }, h("zonos-address", { defaultAddress: this.defaultAddress, titleText: translate('Billing address'), type: "billing" })), h("div", { class: "zonos--group-btn" }, h("zonos-button", { backgroundColor: this.submitBtnColor, loading: this.continueLoading, onClick: () => this.continueClickHandler(), size: "lg",
2226
2247
  // use primary type when on mobile mode