@zonos/elements 1.3.13-alpha.2 → 1.3.13

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 (237) hide show
  1. package/dist/cjs/{cart-b32bfb92.js → cart-5d196917.js} +3 -3
  2. package/dist/cjs/{getBorderRadius-4fa738c3.js → getBorderRadius-c8cc2bb3.js} +1 -1
  3. package/dist/cjs/{index-564fe383.js → index-3b4816ef.js} +20 -2
  4. package/dist/cjs/{isDarkColor-7faf0a82.js → isDarkColor-f5473002.js} +1 -1
  5. package/dist/cjs/loader.cjs.js +1 -1
  6. package/dist/cjs/{sendErrorLog-5f732a8a.js → sendErrorLog-3e181984.js} +1 -1
  7. package/dist/cjs/{submitGtag-fe94f3a0.js → submitGtag-44e3a996.js} +2 -2
  8. package/dist/cjs/zonos-address_4.cjs.entry.js +13 -13
  9. package/dist/cjs/zonos-badge_2.cjs.entry.js +7 -7
  10. package/dist/cjs/zonos-banner.cjs.entry.js +2 -2
  11. package/dist/cjs/zonos-button_2.cjs.entry.js +7 -7
  12. package/dist/cjs/zonos-card_2.cjs.entry.js +10 -10
  13. package/dist/cjs/zonos-cart-items_10.cjs.entry.js +17 -17
  14. package/dist/cjs/zonos-checkout.cjs.entry.js +7 -7
  15. package/dist/cjs/zonos-component.cjs.entry.js +2 -2
  16. package/dist/cjs/zonos-controller.cjs.entry.js +6 -6
  17. package/dist/cjs/zonos-country-flag.cjs.entry.js +5 -5
  18. package/dist/cjs/zonos-country-select_3.cjs.entry.js +14 -16
  19. package/dist/cjs/zonos-elements.cjs.js +2 -2
  20. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +8 -8
  21. package/dist/cjs/zonos-hello.cjs.entry.js +5 -5
  22. package/dist/cjs/zonos-icon.cjs.entry.js +2 -2
  23. package/dist/cjs/zonos-link.cjs.entry.js +2 -2
  24. package/dist/cjs/zonos-logo.cjs.entry.js +4 -4
  25. package/dist/cjs/zonos-notification.cjs.entry.js +2 -2
  26. package/dist/cjs/zonos-payment.cjs.entry.js +6 -6
  27. package/dist/cjs/zonos-select-dialog-header_2.cjs.entry.js +6 -6
  28. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +3 -3
  29. package/dist/cjs/zonos-text.cjs.entry.js +2 -2
  30. package/dist/cjs/{zonosStore-bd2a0c59.js → zonosStore-aee974e0.js} +1 -1
  31. package/dist/collection/collection-manifest.json +2 -2
  32. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +1 -1
  33. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.js +2 -2
  34. package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js +1 -1
  35. package/dist/collection/components/common/component-template/zonos-link/zonos-link.js +1 -1
  36. package/dist/collection/components/common/zonos-badge/zonos-badge.js +3 -3
  37. package/dist/collection/components/common/zonos-button/zonos-button.js +3 -3
  38. package/dist/collection/components/common/zonos-card/zonos-card.js +3 -3
  39. package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +3 -3
  40. package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +3 -3
  41. package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +2 -2
  42. package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +2 -2
  43. package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +2 -2
  44. package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +3 -3
  45. package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +2 -2
  46. package/dist/collection/components/common/zonos-logo/zonos-logo.js +2 -2
  47. package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +2 -2
  48. package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +2 -2
  49. package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.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 +3 -3
  53. package/dist/collection/components/main/zonos-controller.js +1 -1
  54. package/dist/collection/components/stripe/zonos-address/zonos-address.js +1 -1
  55. package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +1 -1
  56. package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
  57. package/dist/components/zonos-address2.js +1 -1
  58. package/dist/components/zonos-badge2.js +3 -3
  59. package/dist/components/zonos-button2.js +3 -3
  60. package/dist/components/zonos-card2.js +3 -3
  61. package/dist/components/zonos-checkbox2.js +3 -3
  62. package/dist/components/zonos-checkout-finish2.js +1 -1
  63. package/dist/components/zonos-checkout-footer2.js +2 -2
  64. package/dist/components/zonos-checkout-progress-tabs2.js +3 -3
  65. package/dist/components/zonos-collapse2.js +2 -2
  66. package/dist/components/zonos-component.js +1 -1
  67. package/dist/components/zonos-controller.js +1 -1
  68. package/dist/components/zonos-country-select2.js +5 -7
  69. package/dist/components/zonos-custom-message2.js +2 -2
  70. package/dist/components/zonos-dialog2.js +3 -3
  71. package/dist/components/zonos-hello-dialog-footer2.js +2 -2
  72. package/dist/components/zonos-hello-dialog2.js +3 -3
  73. package/dist/components/zonos-language-select2.js +2 -2
  74. package/dist/components/zonos-link-authentication2.js +1 -1
  75. package/dist/components/zonos-link.js +1 -1
  76. package/dist/components/zonos-logo.js +2 -2
  77. package/dist/components/zonos-payment2.js +1 -1
  78. package/dist/components/zonos-select-dialog-header2.js +2 -2
  79. package/dist/components/zonos-shipping2.js +1 -1
  80. package/dist/components/zonos-tooltip2.js +2 -2
  81. package/dist/components/zonos-v-stack2.js +2 -2
  82. package/dist/esm/{cart-9f9f26f9.js → cart-515aac56.js} +3 -3
  83. package/dist/esm/{getBorderRadius-a89e45fb.js → getBorderRadius-8129b0cb.js} +1 -1
  84. package/dist/esm/{index-dd40cc85.js → index-0e31d804.js} +20 -2
  85. package/dist/esm/{isDarkColor-6bf71e51.js → isDarkColor-7a6d2d14.js} +1 -1
  86. package/dist/esm/loader.js +2 -2
  87. package/dist/esm/{sendErrorLog-283f65ab.js → sendErrorLog-e4546d7b.js} +1 -1
  88. package/dist/esm/{submitGtag-5847d1a1.js → submitGtag-6767c31f.js} +2 -2
  89. package/dist/esm/zonos-address_4.entry.js +13 -13
  90. package/dist/esm/zonos-badge_2.entry.js +7 -7
  91. package/dist/esm/zonos-banner.entry.js +2 -2
  92. package/dist/esm/zonos-button_2.entry.js +7 -7
  93. package/dist/esm/zonos-card_2.entry.js +10 -10
  94. package/dist/esm/zonos-cart-items_10.entry.js +17 -17
  95. package/dist/esm/zonos-checkout.entry.js +7 -7
  96. package/dist/esm/zonos-component.entry.js +2 -2
  97. package/dist/esm/zonos-controller.entry.js +6 -6
  98. package/dist/esm/zonos-country-flag.entry.js +5 -5
  99. package/dist/esm/zonos-country-select_3.entry.js +14 -16
  100. package/dist/esm/zonos-elements.js +3 -3
  101. package/dist/esm/zonos-hello-dialog.entry.js +8 -8
  102. package/dist/esm/zonos-hello.entry.js +5 -5
  103. package/dist/esm/zonos-icon.entry.js +2 -2
  104. package/dist/esm/zonos-link.entry.js +2 -2
  105. package/dist/esm/zonos-logo.entry.js +4 -4
  106. package/dist/esm/zonos-notification.entry.js +2 -2
  107. package/dist/esm/zonos-payment.entry.js +6 -6
  108. package/dist/esm/zonos-select-dialog-header_2.entry.js +6 -6
  109. package/dist/esm/zonos-shipping-rich-radio.entry.js +3 -3
  110. package/dist/esm/zonos-text.entry.js +2 -2
  111. package/dist/esm/{zonosStore-c4c45591.js → zonosStore-f3eef64b.js} +1 -1
  112. package/dist/esm-es5/{cart-9f9f26f9.js → cart-515aac56.js} +1 -1
  113. package/dist/esm-es5/{getBorderRadius-a89e45fb.js → getBorderRadius-8129b0cb.js} +1 -1
  114. package/dist/esm-es5/index-0e31d804.js +2 -0
  115. package/dist/esm-es5/{isDarkColor-6bf71e51.js → isDarkColor-7a6d2d14.js} +1 -1
  116. package/dist/esm-es5/loader.js +1 -1
  117. package/dist/esm-es5/{sendErrorLog-283f65ab.js → sendErrorLog-e4546d7b.js} +1 -1
  118. package/dist/esm-es5/{submitGtag-5847d1a1.js → submitGtag-6767c31f.js} +1 -1
  119. package/dist/esm-es5/zonos-address_4.entry.js +1 -1
  120. package/dist/esm-es5/zonos-badge_2.entry.js +1 -1
  121. package/dist/esm-es5/zonos-banner.entry.js +1 -1
  122. package/dist/esm-es5/zonos-button_2.entry.js +1 -1
  123. package/dist/esm-es5/zonos-card_2.entry.js +1 -1
  124. package/dist/esm-es5/zonos-cart-items_10.entry.js +1 -1
  125. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  126. package/dist/esm-es5/zonos-component.entry.js +1 -1
  127. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  128. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  129. package/dist/esm-es5/zonos-country-select_3.entry.js +1 -1
  130. package/dist/esm-es5/zonos-elements.js +1 -1
  131. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  132. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  133. package/dist/esm-es5/zonos-icon.entry.js +1 -1
  134. package/dist/esm-es5/zonos-link.entry.js +1 -1
  135. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  136. package/dist/esm-es5/zonos-notification.entry.js +1 -1
  137. package/dist/esm-es5/zonos-payment.entry.js +1 -1
  138. package/dist/esm-es5/zonos-select-dialog-header_2.entry.js +1 -1
  139. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
  140. package/dist/esm-es5/zonos-text.entry.js +1 -1
  141. package/dist/esm-es5/{zonosStore-c4c45591.js → zonosStore-f3eef64b.js} +1 -1
  142. package/dist/scripts/loadStripe.js +1 -1
  143. package/dist/scripts/loadZonos.js +1 -1
  144. package/dist/scripts/stripe.js +1 -1
  145. package/dist/scripts/zonos.js +1 -1
  146. package/dist/scripts/zonosBase.js +1 -1
  147. package/dist/types/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.d.ts +1 -1
  148. package/dist/types/components/store/checkout/stripe.d.ts +1 -1
  149. package/dist/types/components/store/zonosStore.d.ts +1 -1
  150. package/dist/types/components/utils/api/getLocaleMessages.d.ts +1 -1
  151. package/dist/types/components/utils/createCustomEvent.d.ts +1 -1
  152. package/dist/types/components/utils/darkenColor.d.ts +1 -1
  153. package/dist/types/components/utils/formatCurrency.d.ts +1 -1
  154. package/dist/types/components/utils/handleFetch.d.ts +1 -1
  155. package/dist/types/components/utils/lightenColor.d.ts +2 -2
  156. package/dist/types/components/utils/styles.d.ts +1 -2
  157. package/dist/types/environment.d.ts +2 -4
  158. package/dist/types/styles/stripe/defaultVariable.d.ts +1 -1
  159. package/dist/types/types/generated/graphql.customer.types.d.ts +17 -17
  160. package/dist/types/types/generated/graphql.frontend.types.d.ts +24 -24
  161. package/dist/zonos-elements/assets/RemoveIcon.svg +1 -1
  162. package/dist/zonos-elements/{p-62c458ac.system.entry.js → p-05f749dc.system.entry.js} +1 -1
  163. package/dist/zonos-elements/{p-160cdf4e.system.entry.js → p-0a0d45e9.system.entry.js} +1 -1
  164. package/dist/zonos-elements/{p-5c9c2973.system.entry.js → p-16b59229.system.entry.js} +1 -1
  165. package/dist/zonos-elements/{p-eb1b1d4a.entry.js → p-1744bddb.entry.js} +1 -1
  166. package/dist/zonos-elements/{p-b5f28531.system.entry.js → p-17ded5a1.system.entry.js} +1 -1
  167. package/dist/zonos-elements/{p-4515ec7b.entry.js → p-1f5c2d7b.entry.js} +1 -1
  168. package/dist/zonos-elements/p-2244534c.js +2 -0
  169. package/dist/zonos-elements/{p-ad499520.entry.js → p-257af88b.entry.js} +1 -1
  170. package/dist/zonos-elements/p-2825570c.system.js +2 -0
  171. package/dist/zonos-elements/{p-4d7b27af.system.entry.js → p-2aa3c0e8.system.entry.js} +1 -1
  172. package/dist/zonos-elements/{p-3639f458.system.js → p-2d404058.system.js} +1 -1
  173. package/dist/zonos-elements/{p-215cd7ec.entry.js → p-2ee0d779.entry.js} +1 -1
  174. package/dist/zonos-elements/p-3b4225b2.entry.js +1 -0
  175. package/dist/zonos-elements/{p-20b080d1.system.entry.js → p-3d8254a2.system.entry.js} +1 -1
  176. package/dist/zonos-elements/p-3e38990b.entry.js +1 -0
  177. package/dist/zonos-elements/p-3f713699.entry.js +1 -0
  178. package/dist/zonos-elements/{p-e55d8394.system.entry.js → p-4029034e.system.entry.js} +1 -1
  179. package/dist/zonos-elements/{p-b2d9dc9d.entry.js → p-418c056d.entry.js} +1 -1
  180. package/dist/zonos-elements/{p-f42bffad.system.entry.js → p-4f626a90.system.entry.js} +1 -1
  181. package/dist/zonos-elements/p-4fbd0ce6.entry.js +1 -0
  182. package/dist/zonos-elements/{p-15cd4a76.system.entry.js → p-509717bc.system.entry.js} +1 -1
  183. package/dist/zonos-elements/{p-167b3369.system.js → p-520e8e63.system.js} +1 -1
  184. package/dist/zonos-elements/{p-72c6bf0f.entry.js → p-5ca09163.entry.js} +1 -1
  185. package/dist/zonos-elements/p-7aef7d5d.system.entry.js +1 -0
  186. package/dist/zonos-elements/p-808413f8.entry.js +1 -0
  187. package/dist/zonos-elements/{p-c5321a31.js → p-816f1aee.js} +1 -1
  188. package/dist/zonos-elements/{p-5a464374.system.js → p-882ec68e.system.js} +1 -1
  189. package/dist/zonos-elements/{p-f1037168.entry.js → p-8cb8fa93.entry.js} +1 -1
  190. package/dist/zonos-elements/{p-70c1f877.system.entry.js → p-8ec3995a.system.entry.js} +1 -1
  191. package/dist/zonos-elements/p-93698719.system.entry.js +1 -0
  192. package/dist/zonos-elements/{p-470284a3.entry.js → p-97534044.entry.js} +1 -1
  193. package/dist/zonos-elements/p-9da65d62.entry.js +1 -0
  194. package/dist/zonos-elements/{p-b62aee3d.entry.js → p-a48e7c84.entry.js} +1 -1
  195. package/dist/zonos-elements/{p-e237784c.system.entry.js → p-a583e3c6.system.entry.js} +1 -1
  196. package/dist/zonos-elements/{p-1d833f22.system.entry.js → p-a6bbf6de.system.entry.js} +1 -1
  197. package/dist/zonos-elements/p-aa5e2f7c.system.entry.js +1 -0
  198. package/dist/zonos-elements/p-aa671fa6.entry.js +1 -0
  199. package/dist/zonos-elements/p-ab06e5c8.system.entry.js +1 -0
  200. package/dist/zonos-elements/{p-6e81adba.system.js → p-b8e8330b.system.js} +1 -1
  201. package/dist/zonos-elements/{p-001518eb.system.entry.js → p-bc2bd266.system.entry.js} +1 -1
  202. package/dist/zonos-elements/{p-ad9c7245.system.js → p-bdd775f2.system.js} +1 -1
  203. package/dist/zonos-elements/{p-4c9367f1.entry.js → p-be022d8e.entry.js} +1 -1
  204. package/dist/zonos-elements/{p-f62b49aa.system.entry.js → p-c5bc49b5.system.entry.js} +1 -1
  205. package/dist/zonos-elements/{p-03da9e9d.js → p-ca6cf075.js} +1 -1
  206. package/dist/zonos-elements/{p-e3de496a.entry.js → p-cd449b56.entry.js} +1 -1
  207. package/dist/zonos-elements/{p-9a90fb56.js → p-d01576d7.js} +1 -1
  208. package/dist/zonos-elements/{p-6c5c5377.system.entry.js → p-d0d78094.system.entry.js} +1 -1
  209. package/dist/zonos-elements/{p-1bbdfae5.js → p-d41b5762.js} +1 -1
  210. package/dist/zonos-elements/{p-9726ff53.entry.js → p-d9aa8599.entry.js} +1 -1
  211. package/dist/zonos-elements/{p-a144d26a.system.entry.js → p-e1ac5b2a.system.entry.js} +1 -1
  212. package/dist/zonos-elements/{p-171eb334.entry.js → p-e703c902.entry.js} +1 -1
  213. package/dist/zonos-elements/{p-10dec8e6.entry.js → p-e9a41fd8.entry.js} +1 -1
  214. package/dist/zonos-elements/p-ed2e94d2.js +1 -0
  215. package/dist/zonos-elements/{p-c43da0c6.js → p-f0b4e58a.js} +1 -1
  216. package/dist/zonos-elements/p-f48a613e.system.entry.js +1 -0
  217. package/dist/zonos-elements/{p-41c2b1c5.system.js → p-f4c38bfc.system.js} +1 -1
  218. package/dist/zonos-elements/{p-86034f1e.system.js → p-fc4da55c.system.js} +1 -1
  219. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  220. package/dist/zonos-elements/zonos-elements.js +1 -1
  221. package/package.json +42 -40
  222. package/dist/esm-es5/index-dd40cc85.js +0 -2
  223. package/dist/zonos-elements/p-07022f11.js +0 -1
  224. package/dist/zonos-elements/p-07bb1bed.js +0 -2
  225. package/dist/zonos-elements/p-0b3cb5c2.system.entry.js +0 -1
  226. package/dist/zonos-elements/p-14c7d651.system.entry.js +0 -1
  227. package/dist/zonos-elements/p-29034d9c.entry.js +0 -1
  228. package/dist/zonos-elements/p-50777610.entry.js +0 -1
  229. package/dist/zonos-elements/p-52de4d70.system.js +0 -2
  230. package/dist/zonos-elements/p-6f5cc827.entry.js +0 -1
  231. package/dist/zonos-elements/p-76ac5680.system.entry.js +0 -1
  232. package/dist/zonos-elements/p-887bfef2.system.entry.js +0 -1
  233. package/dist/zonos-elements/p-9ab6e2b5.entry.js +0 -1
  234. package/dist/zonos-elements/p-b4a086e0.entry.js +0 -1
  235. package/dist/zonos-elements/p-e1bb026f.entry.js +0 -1
  236. package/dist/zonos-elements/p-f7da5199.system.entry.js +0 -1
  237. package/dist/zonos-elements/p-ff699d46.entry.js +0 -1
@@ -32,9 +32,9 @@ const ZonosLanguageSelect = /*@__PURE__*/ proxyCustomElement(class ZonosLanguage
32
32
  }
33
33
  render() {
34
34
  const { selectedLocale } = localizationStore;
35
- return (h(Host, { key: '25e0e2be0bbac853efa9c26c1595a1d57461a1a1', class: "zonos--elements", style: {
35
+ return (h(Host, { key: 'c3185eaf7f8e73d1356d6cba5a7c7ba6da9db7f8', class: "zonos--elements", style: {
36
36
  '--font-family': zonosStoreFontFamily(),
37
- } }, h("div", { key: 'b9f3a630f945570a9c0058bb0367e810b7650eb0', class: "zonos--language-select" }, h("zonos-select-dialog-header", { key: 'b30a41cc7f4eab57f15b48ffa3f7c0ad1e695e65', handleOnClose: () => this.handleOnClose(), label: translate('Select a language') }), h("div", { key: 'c6826b80ece54415befc388e57baa02d56472aef', class: "zonos--language-select-content" }, languages.map(language => (h("button", { class: "zonos--language-select-button", onClick: () => this.languageSelected(language.code) }, h("zonos-text", { textColor: "gray-800" }, language.translatedLabel), language.code === selectedLocale && (h("zonos-icon", { content: GreenCheckDuotoneIcon, size: 16 })))))))));
37
+ } }, h("div", { key: '59c2af417f20ee915dfddaa08c2a9f4288a5d040', class: "zonos--language-select" }, h("zonos-select-dialog-header", { key: '2cc4a3bed8e5e2c89f8ef624a9a0d2e778da9005', handleOnClose: () => this.handleOnClose(), label: translate('Select a language') }), h("div", { key: 'b0bb95a16d56e344833f3d6ec3b23ae6d5b65270', class: "zonos--language-select-content" }, languages.map(language => (h("button", { class: "zonos--language-select-button", onClick: () => this.languageSelected(language.code) }, h("zonos-text", { textColor: "gray-800" }, language.translatedLabel), language.code === selectedLocale && (h("zonos-icon", { content: GreenCheckDuotoneIcon, size: 16 })))))))));
38
38
  }
39
39
  static get style() { return ZonosLanguageSelectStyle0; }
40
40
  }, [1, "zonos-language-select", {
@@ -38,7 +38,7 @@ const ZonosLinkAuthentication = /*@__PURE__*/ proxyCustomElement(class ZonosLink
38
38
  }
39
39
  render() {
40
40
  // this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
41
- return (h(Host, { key: 'a434761e3f237cd44971e458512c7649f214eb4d', class: "zonos--link-authentication zonos--elements" }, h("zonos-text", { key: '0c350ff6dabb1c71376e4e6539a68613d7174189', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: 'e9cc2bd1e68b64e2fed41851a0d2f2be40583337', class: "zonos--link-authentication-component" })));
41
+ return (h(Host, { key: '675de93a982a3cc558b64f24971441c227955e6f', class: "zonos--link-authentication zonos--elements" }, h("zonos-text", { key: 'd75a5a301e869325c9a249275ce10d4905c0198c', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: 'fbf58d00fa76d7e715f2d1056a298840043e1056', class: "zonos--link-authentication-component" })));
42
42
  }
43
43
  get el() { return this; }
44
44
  static get watchers() { return {
@@ -14,7 +14,7 @@ const ZonosLink$1 = /*@__PURE__*/ proxyCustomElement(class ZonosLink extends HTM
14
14
  this.linkTitle = undefined;
15
15
  }
16
16
  render() {
17
- return (h(Host, { key: 'b4def20f1c697c437e98c35e7355e84bfea88be2', class: "zonos--elements" }, h("a", { key: '8bb78fc9f3a38256cc3e7cda104c7eec1c93d185', href: this.href, rel: this.rel, target: this.target, title: this.linkTitle }, h("slot", { key: '897301f324059f6917a71f9ed444ddae32535485' }))));
17
+ return (h(Host, { key: '7af1c9dfc60d61837c25ed586b34d03737e190b7', class: "zonos--elements" }, h("a", { key: '6be4c2839936832d9d512e9afe4b8fe4e69889bf', href: this.href, rel: this.rel, target: this.target, title: this.linkTitle }, h("slot", { key: '897ec8e65f325161cf80d71b6efbcf05c4a444ae' }))));
18
18
  }
19
19
  static get style() { return ZonosLinkStyle0; }
20
20
  }, [1, "zonos-link", {
@@ -17,11 +17,11 @@ const ZonosLogo$1 = /*@__PURE__*/ proxyCustomElement(class ZonosLogo extends HTM
17
17
  const filterColor = this.theme === 'DARK'
18
18
  ? 'invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%)'
19
19
  : 'whiteinvert(0%) sepia(100%) saturate(32%) hue-rotate(92deg) brightness(107%) contrast(107%)';
20
- return (h(Host, { key: '483016f5ffe43ea7742e895b5335212da6ec1d18', class: classes(['zonos--elements zonos--logo']), style: {
20
+ return (h(Host, { key: 'eb9e895db6d309b91f24aaba07b6bef785d64982', class: classes(['zonos--elements zonos--logo']), style: {
21
21
  '--filter-color': filterColor,
22
22
  '--font-family': zonosStoreFontFamily(),
23
23
  '--width': this.width,
24
- } }, h("img", { key: 'aed23717de194da43d48ee7b068f3e7568c0bbb3', alt: "Zonos Logo", src: getAssetPath('./assets/ZonosLogo.png') })));
24
+ } }, h("img", { key: '411e92bcfdab9d8b7362b3fbeeffb836d8d20756', alt: "Zonos Logo", src: getAssetPath('./assets/ZonosLogo.png') })));
25
25
  }
26
26
  static get assetsDirs() { return ["assets"]; }
27
27
  static get style() { return ZonosLogoStyle0; }
@@ -39,7 +39,7 @@ const ZonosPayment = /*@__PURE__*/ proxyCustomElement(class ZonosPayment extends
39
39
  }
40
40
  render() {
41
41
  // this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
42
- return (h(Host, { key: 'db50fedad509b3bc972cfe02d5973a3c93a6eb23', class: "zonos--payment zonos--elements" }, this.titleText && (h("zonos-text", { class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), h("div", { key: 'a773ce78377a70c57577eb1efdac9d2563d1a60d', class: "zonos--payment-component" })));
42
+ return (h(Host, { key: '4886087d915369f60296b6ba86fe9400ae6db8dd', class: "zonos--payment zonos--elements" }, this.titleText && (h("zonos-text", { key: 'ac83371e795b8ae833087143c719cf6dfc066ab3', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), h("div", { key: '2895560e50d856a071bef08c800b3112899e22e8', class: "zonos--payment-component" })));
43
43
  }
44
44
  get el() { return this; }
45
45
  static get watchers() { return {
@@ -20,9 +20,9 @@ const ZonosSelectDialogHeader = /*@__PURE__*/ proxyCustomElement(class ZonosSele
20
20
  this.label = '';
21
21
  }
22
22
  render() {
23
- return (h(Host, { key: 'e7867deee86e4a155c21db2618eafd6f3c6cea3b', class: "zonos--elements", style: {
23
+ return (h(Host, { key: 'cd3cc096f08cdb3dd2170d9e8d578f603155b0d0', class: "zonos--elements", style: {
24
24
  '--font-family': zonosStoreFontFamily(),
25
- } }, h("zonos-v-stack", { key: 'f7aedb0f819b61da26afd53add628bcddcca5d8a', class: "zonos--select-dialog-header-wrapper", spacing: 8 }, h("div", { key: '7ec77c24a440a5d42965f657502506c769d3098c', class: "zonos--select-dialog-header" }, h("zonos-text", { key: 'bab0ffc53edd20840438e82c0067c1eae8f13ec7', type: "boldLabel" }, this.label), h("zonos-button", { key: 'a85fc2b745b25c07bcccfe60eb1f1e722c7999c2', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close select dialog", content: RemoveIcon, size: 20 }), noBackground: true, onClick: () => this.handleOnClose() })), h("slot", { key: 'fe932e62edd5f679061c76a62650885d4337363c' }))));
25
+ } }, h("zonos-v-stack", { key: '40ddbfe738428ca388cb4b3a8244d86e5e26d876', class: "zonos--select-dialog-header-wrapper", spacing: 8 }, h("div", { key: '4706e9acb42c11b213044084e25be8a5c13119f1', class: "zonos--select-dialog-header" }, h("zonos-text", { key: 'b5c5289219bb4ff380aa5e3c0738ae9029d00cdf', type: "boldLabel" }, this.label), h("zonos-button", { key: '6d8c62ee077ab7883081a693825a00fd06cded69', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close select dialog", content: RemoveIcon, size: 20 }), noBackground: true, onClick: () => this.handleOnClose() })), h("slot", { key: '42241292083a7041d600ac4af3034e61c5d4a6b1' }))));
26
26
  }
27
27
  static get style() { return ZonosSelectDialogHeaderStyle0; }
28
28
  }, [1, "zonos-select-dialog-header", {
@@ -96,7 +96,7 @@ const ZonosShipping = /*@__PURE__*/ proxyCustomElement(class ZonosShipping exten
96
96
  }
97
97
  render() {
98
98
  var _a, _b;
99
- return (h(Host, { key: 'ab881bdb575ac0177154ffa8a2d84d668151c46d', class: "zonos--shipping zonos--elements" }, h("div", { key: 'b8738e0fb5c32b329ae03ccd2cb2d1a178a05aa8', class: "zonos--group" }, h("zonos-text", { key: 'd942ab3f4e77631145a0a38dae95999454a92b56', class: "zonos--title", type: "semiBoldSubheader" }, translate('Shipping information')), h("zonos-text", { key: '6855f44cf3458891776b3c215417bec329de89dc', class: "zonos--shipping-method-title", type: "semiBoldLabel" }, translate('Shipping method')), !((_a = this.serviceLevels) === null || _a === void 0 ? void 0 : _a.length) ? (h("zonos-banner", { bannerTitle: translate('No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.'), intent: "error" })) : (h("zonos-shipping-rich-radio", { initialSelectedValue: (_b = this.selectedShippingMethod) === null || _b === void 0 ? void 0 : _b.value, items: this.serviceLevels, onRadioSelected: e => this.handleRadioSelected(e) })), h("div", { key: 'f6398edeecd18c603680ad6c7c8e1aa5f5cebe4a', class: "zonos--group-btn" }, h("zonos-button", { key: 'a548fb385ed341308ff86e615d9088e7cd4ec34d', backgroundColor: this.submitBtnColor, isDisabled: this.disabled, loading: this.continueLoading || this.isSelecting, onClick: () => this.continueClickHandler(), size: "lg",
99
+ return (h(Host, { key: '0ded6474793fbb142e8e9a3bc10f1b5ae88858a7', class: "zonos--shipping zonos--elements" }, h("div", { key: '334d49db61fe69bf43f2bf68828c724cb7c9851e', class: "zonos--group" }, h("zonos-text", { key: '57ac7f10aff623a7e9c009bee86a4e88c979417f', class: "zonos--title", type: "semiBoldSubheader" }, translate('Shipping information')), h("zonos-text", { key: 'bb7679250828b859f90940617dc03c20addb6252', class: "zonos--shipping-method-title", type: "semiBoldLabel" }, translate('Shipping method')), !((_a = this.serviceLevels) === null || _a === void 0 ? void 0 : _a.length) ? (h("zonos-banner", { bannerTitle: translate('No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.'), intent: "error" })) : (h("zonos-shipping-rich-radio", { initialSelectedValue: (_b = this.selectedShippingMethod) === null || _b === void 0 ? void 0 : _b.value, items: this.serviceLevels, onRadioSelected: e => this.handleRadioSelected(e) })), h("div", { key: 'ace80fcc503601d577fb7751777b00331c027f16', class: "zonos--group-btn" }, h("zonos-button", { key: 'd48000ef65953b5f99d95c4b404bb7a47351dbce', backgroundColor: this.submitBtnColor, isDisabled: this.disabled, loading: this.continueLoading || this.isSelecting, onClick: () => this.continueClickHandler(), size: "lg",
100
100
  // use primary type when on mobile mode
101
101
  variant: this.submitBtnType }, translate('Go to payment'))))));
102
102
  }
@@ -15,10 +15,10 @@ const ZonosTooltip = /*@__PURE__*/ proxyCustomElement(class ZonosTooltip extends
15
15
  this.showTooltip = false;
16
16
  }
17
17
  render() {
18
- return (h(Host, { key: 'a23ad45e8f96b88b0feaf17690c6bdb75aacb12c', class: "zonos--elements" }, h("div", { key: 'b057f5ae304921f5fd50536cb5b7fb493120f1e7', class: "zonos--tooltip", onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, h("slot", { key: '396ac2ec3fcc8d49f8a346d1059cb096ef2e2874' }), h("div", { key: '4aa607dcc9c4c675224e9d7effd1e8ad2bdee097', class: classes([
18
+ return (h(Host, { key: '5226e33bb8f9280965b254c51235c38e2e5f6ab6', class: "zonos--elements" }, h("div", { key: 'fd9bc052cc1081cbd87eaa3f4e6f0f53070c5b53', class: "zonos--tooltip", onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, h("slot", { key: '82d9885a2afb7e28707ddf6b24cb7c2dc148ef33' }), h("div", { key: 'c59b3beaca558dc95149455c9a15a8ce26bb0d70', class: classes([
19
19
  this.showTooltip && 'zonos--show-tooltip',
20
20
  'zonos--tooltip-content',
21
- ]) }, h("zonos-text", { key: 'e69a1883f21f277be88e892a99ae6e66a9829a1c', size: "s", textColor: "gray-0", type: "boldLabel" }, this.label), h("zonos-text", { key: 'cb901c3cd7d0931f157eddef8fe4286fbd66b66b', size: "xs", textColor: "gray-0" }, this.subtitle)))));
21
+ ]) }, h("zonos-text", { key: 'f5213ba0f401359e5bccd289df3eae18e7b18a1d', size: "s", textColor: "gray-0", type: "boldLabel" }, this.label), h("zonos-text", { key: '3bfad7df7cf6715230ffc0bc1c0b49b8900955b7', size: "xs", textColor: "gray-0" }, this.subtitle)))));
22
22
  }
23
23
  static get style() { return ZonosTooltipStyle0; }
24
24
  }, [1, "zonos-tooltip", {
@@ -13,9 +13,9 @@ const VStack = /*@__PURE__*/ proxyCustomElement(class VStack extends HTMLElement
13
13
  this.spacing = 24;
14
14
  }
15
15
  render() {
16
- return (h(Host, { key: '3d9977f4c55f7f1047ec94dcc3a3c40105559c00', style: {
16
+ return (h(Host, { key: '415d652d553042161ef364e2a8ccd226fcfe3d84', style: {
17
17
  '--font-family': zonosStoreFontFamily(),
18
- } }, h("div", { key: 'aa910d4f9a11d3d1a66836aed442726241b73273', class: classes(['vstack']), style: { 'grid-row-gap': `${this.spacing}px` } }, h("slot", { key: 'ec50cc05f71018b4b6fef1288f1371ddde030a3a' }))));
18
+ } }, h("div", { key: '1d8df528db72b8c1102742203eb53ce81efb1aae', class: classes(['vstack']), style: { 'grid-row-gap': `${this.spacing}px` } }, h("slot", { key: '66d247c7e8c8da9e311014695ce3a50b38709c33' }))));
19
19
  }
20
20
  static get style() { return ZonosVStackStyle0; }
21
21
  }, [1, "zonos-v-stack", {
@@ -1,6 +1,6 @@
1
- import { c as createStore, z as zonosStore } from './zonosStore-c4c45591.js';
2
- import { i as isDarkColor } from './isDarkColor-6bf71e51.js';
3
- import { g as getBorderRadius } from './getBorderRadius-a89e45fb.js';
1
+ import { c as createStore, z as zonosStore } from './zonosStore-f3eef64b.js';
2
+ import { i as isDarkColor } from './isDarkColor-7a6d2d14.js';
3
+ import { g as getBorderRadius } from './getBorderRadius-8129b0cb.js';
4
4
 
5
5
  const stringsArabic = {
6
6
  '${percentage} GST due on any order above ${threshold} along with an import entry transaction fee and MPI levy.': {
@@ -1,4 +1,4 @@
1
- import { z as zonosStore } from './zonosStore-c4c45591.js';
1
+ import { z as zonosStore } from './zonosStore-f3eef64b.js';
2
2
 
3
3
  /**
4
4
  * Get the border radius for the elements based on the style
@@ -562,17 +562,35 @@ const updateElement = (oldVnode, newVnode, isSvgMode, memberName) => {
562
562
  const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
563
563
  {
564
564
  // remove attributes no longer present on the vnode by setting them to undefined
565
- for (memberName in oldVnodeAttrs) {
565
+ for (memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
566
566
  if (!(memberName in newVnodeAttrs)) {
567
567
  setAccessor(elm, memberName, oldVnodeAttrs[memberName], undefined, isSvgMode, newVnode.$flags$);
568
568
  }
569
569
  }
570
570
  }
571
571
  // add new & update changed attributes
572
- for (memberName in newVnodeAttrs) {
572
+ for (memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
573
573
  setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode, newVnode.$flags$);
574
574
  }
575
575
  };
576
+ /**
577
+ * Sort a list of attribute names to ensure that all the attribute names which
578
+ * are _not_ `"ref"` come before `"ref"`. Preserve the order of the non-ref
579
+ * attributes.
580
+ *
581
+ * **Note**: if the supplied attributes do not include `'ref'` then the same
582
+ * (by reference) array will be returned without modification.
583
+ *
584
+ * @param attrNames attribute names to sort
585
+ * @returns a list of attribute names, sorted if they include `"ref"`
586
+ */
587
+ function sortedAttrNames(attrNames) {
588
+ return attrNames.includes('ref')
589
+ ? // we need to sort these to ensure that `'ref'` is the last attr
590
+ [...attrNames.filter((attr) => attr !== 'ref'), 'ref']
591
+ : // no need to sort, return the original array
592
+ attrNames;
593
+ }
576
594
  /**
577
595
  * Create a DOM Node corresponding to one of the children of a given VNode.
578
596
  *
@@ -1,4 +1,4 @@
1
- import { a as commonjsGlobal } from './zonosStore-c4c45591.js';
1
+ import { a as commonjsGlobal } from './zonosStore-f3eef64b.js';
2
2
 
3
3
  var tinycolor$1 = {exports: {}};
4
4
 
@@ -1,5 +1,5 @@
1
- import { b as bootstrapLazy } from './index-dd40cc85.js';
2
- export { s as setNonce } from './index-dd40cc85.js';
1
+ import { b as bootstrapLazy } from './index-0e31d804.js';
2
+ export { s as setNonce } from './index-0e31d804.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  const defineCustomElements = async (win, options) => {
@@ -1,4 +1,4 @@
1
- import { r as handleFetch } from './cart-9f9f26f9.js';
1
+ import { r as handleFetch } from './cart-515aac56.js';
2
2
 
3
3
  const checkoutBreakpoint = 890;
4
4
  const isCheckoutMobile = (isMobile) => {
@@ -1,5 +1,5 @@
1
- import { r as handleFetch, f as cartStore, l as localizationStore, a as log } from './cart-9f9f26f9.js';
2
- import { z as zonosStore } from './zonosStore-c4c45591.js';
1
+ import { r as handleFetch, f as cartStore, l as localizationStore, a as log } from './cart-515aac56.js';
2
+ import { z as zonosStore } from './zonosStore-f3eef64b.js';
3
3
 
4
4
  const trackConversionEvent = async (eventName, metadata) => {
5
5
  var _a, _b;
@@ -1,10 +1,10 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, d as getElement } from './index-dd40cc85.js';
2
- import { j as stripeStore, d as logError, l as localizationStore, t as translate, n as stripeStorePrefetchLandedCost } from './cart-9f9f26f9.js';
3
- import { z as zonosStore, d as zonosStoreFontFamily } from './zonosStore-c4c45591.js';
4
- import { s as sendErrorLog, i as isCheckoutMobile } from './sendErrorLog-283f65ab.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, d as getElement } from './index-0e31d804.js';
2
+ import { j as stripeStore, d as logError, l as localizationStore, t as translate, n as stripeStorePrefetchLandedCost } from './cart-515aac56.js';
3
+ import { z as zonosStore, d as zonosStoreFontFamily } from './zonosStore-f3eef64b.js';
4
+ import { s as sendErrorLog, i as isCheckoutMobile } from './sendErrorLog-e4546d7b.js';
5
5
  import { c as classes } from './classes-0d95c529.js';
6
- import { g as getBorderRadius } from './getBorderRadius-a89e45fb.js';
7
- import { i as isDarkColor } from './isDarkColor-6bf71e51.js';
6
+ import { g as getBorderRadius } from './getBorderRadius-8129b0cb.js';
7
+ import { i as isDarkColor } from './isDarkColor-7a6d2d14.js';
8
8
 
9
9
  /**
10
10
  * Check if the given address object contains non-latin characters
@@ -220,7 +220,7 @@ const ZonosAddress = class {
220
220
  }
221
221
  render() {
222
222
  // this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
223
- return (h(Host, { key: 'b1ad2f6c9c23e6411bf1adccdd34b3aa4f5250b1', class: "zonos--address zonos--elements" }, h("zonos-text", { key: '786a733a44925a670393b72bf0ae3db5ba59f9a1', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: 'b9d58cbc17abf5daf5d13ffdebc7485c3ac6457d', class: "zonos--address-component" }), this.invalidCharacterList && (h("zonos-banner", { bannerTitle: translate('Please resolve the following errors:'), intent: "error" }, Object.keys(this.invalidCharacterList).map(fieldName => (h("zonos-text", null, `- ${translate(mappedFields[fieldName])}: ${translate('only supports Latin characters (A-Z, a-z)')}`)))))));
223
+ return (h(Host, { key: 'be43a9b0929211e2dd8e83950569caa12213ad91', class: "zonos--address zonos--elements" }, h("zonos-text", { key: '2a9214eae80832c2f706f3dc2e7c837c9f615dd6', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: '70a039b36fe8550680c95338f1b225389f5c7fab', class: "zonos--address-component" }), this.invalidCharacterList && (h("zonos-banner", { key: 'a9cf6873645eb0ef68be0595d1f16483fccdf5df', bannerTitle: translate('Please resolve the following errors:'), intent: "error" }, Object.keys(this.invalidCharacterList).map(fieldName => (h("zonos-text", null, `- ${translate(mappedFields[fieldName])}: ${translate('only supports Latin characters (A-Z, a-z)')}`)))))));
224
224
  }
225
225
  get el() { return getElement(this); }
226
226
  static get watchers() { return {
@@ -268,14 +268,14 @@ const ZonosCheckbox = class {
268
268
  ? 'var(--amino-gray-800)'
269
269
  : 'var(--amino-gray-0)';
270
270
  const borderStyle = getBorderRadius(this.borderStyle, '4px');
271
- return (h(Host, { key: '2ae2a0d33d34aafe96cc91e1cd7c7ee530dede4b', class: classes(['zonos--elements zonos--checkbox']), style: {
271
+ return (h(Host, { key: '47b3b90b44f846e49de755f2c131e79da3f34c0f', class: classes(['zonos--elements zonos--checkbox']), style: {
272
272
  '--background-color': backgroundColor,
273
273
  '--border-radius': borderStyle,
274
274
  '--font-family': zonosStoreFontFamily(),
275
275
  '--size': `${this.size}px`,
276
- } }, h("label", { key: 'b9630027581a9f20374c2dfe88faa94cb50203c9', class: classes([this.isDisabled && 'disabled']) }, h("input", { key: 'd1b2411d9f906692f18514a15df1bb290f662164', checked: this.isChecked, disabled: this.isDisabled, hidden: true, onChange: e => {
276
+ } }, h("label", { key: '6c1aac697aee17eb684d8416ae65092e3095fada', class: classes([this.isDisabled && 'disabled']) }, h("input", { key: 'f75b6bff9ea136596af3489721096d862ea622c3', checked: this.isChecked, disabled: this.isDisabled, hidden: true, onChange: e => {
277
277
  this.checkboxSelected.emit(e.target.checked);
278
- }, type: "checkbox" }), h("span", { key: '8fc3cda232615f446aff5db71cd992de5327b8e7', class: "checkmark-container" }, h("svg", { key: '5b91a7a26abfd80850eb3c2bb2e045ef73abfd7a', class: "checkmark", color: checkmarkColor, fill: "none", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '2046a40a75da63ac288c5def90d82ab0d0e0523c', "clip-rule": "evenodd", d: "M17.456 7.404a.75.75 0 0 1 .14 1.052l-6.5 8.5a.75.75 0 0 1-1.126.074l-4-4a.75.75 0 0 1 1.06-1.06l3.395 3.394 5.98-7.82a.75.75 0 0 1 1.05-.14Z", fill: "currentColor", "fill-rule": "evenodd" }))), this.label && (h("zonos-text", { size: this.fontSize }, this.label)))));
278
+ }, type: "checkbox" }), h("span", { key: '2a2dcd8e798fdd54daf43dedcb42dac3088a6dfc', class: "checkmark-container" }, h("svg", { key: 'e74713df9adc970d0a5b8d6374eb63e69c64ff1a', class: "checkmark", color: checkmarkColor, fill: "none", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '3ae1a1a8f74a607ad5d4e4f940b45ac0b242426e', "clip-rule": "evenodd", d: "M17.456 7.404a.75.75 0 0 1 .14 1.052l-6.5 8.5a.75.75 0 0 1-1.126.074l-4-4a.75.75 0 0 1 1.06-1.06l3.395 3.394 5.98-7.82a.75.75 0 0 1 1.05-.14Z", fill: "currentColor", "fill-rule": "evenodd" }))), this.label && (h("zonos-text", { key: '25ff0a74e7ec6409e41d3f2998648f0c28a28ae0', size: this.fontSize }, this.label)))));
279
279
  }
280
280
  };
281
281
  ZonosCheckbox.style = ZonosCheckboxStyle0;
@@ -325,10 +325,10 @@ const ZonosCollapse = class {
325
325
  // set overflow to hidden to prevent content from showing when collapsed
326
326
  this.el.style.overflow = 'hidden';
327
327
  }
328
- return (h(Host, { key: '032f5818dd8394b5111927907c8fa135a55fef5c', class: 'zonos--elements zonos--collapse', style: {
328
+ return (h(Host, { key: 'db574e5124dcd54045af65a6f429af3fddc501fd', class: 'zonos--elements zonos--collapse', style: {
329
329
  '--font-family': zonosStoreFontFamily(),
330
330
  height: this.getElementHeight(),
331
- } }, h("div", { key: '5ddbf406c93f37c9e23375f11dd8439934c0d2a5' }, h("iframe", { key: 'b3efa8bc198918dbb3284e8ce658ffca6249eaa8', class: "height-change-listener", tabindex: "-1", title: "collapse-height-change-listener" }), h("slot", { key: 'ffcd123c3a046e62855a650da9972cde94a7774c' }))));
331
+ } }, h("div", { key: '9f773ededa3fb0b47b2dba74ef701fd8dc3af396' }, h("iframe", { key: '50a8449beb6272a854c34b859be04cdeea10f804', class: "height-change-listener", tabindex: "-1", title: "collapse-height-change-listener" }), h("slot", { key: '5c0bd94dfe7bbb6a8dc20b1bac69e81ae7f99f76' }))));
332
332
  }
333
333
  get el() { return getElement(this); }
334
334
  };
@@ -369,7 +369,7 @@ const ZonosLinkAuthentication = class {
369
369
  }
370
370
  render() {
371
371
  // this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
372
- return (h(Host, { key: 'a434761e3f237cd44971e458512c7649f214eb4d', class: "zonos--link-authentication zonos--elements" }, h("zonos-text", { key: '0c350ff6dabb1c71376e4e6539a68613d7174189', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: 'e9cc2bd1e68b64e2fed41851a0d2f2be40583337', class: "zonos--link-authentication-component" })));
372
+ return (h(Host, { key: '675de93a982a3cc558b64f24971441c227955e6f', class: "zonos--link-authentication zonos--elements" }, h("zonos-text", { key: 'd75a5a301e869325c9a249275ce10d4905c0198c', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: 'fbf58d00fa76d7e715f2d1056a298840043e1056', class: "zonos--link-authentication-component" })));
373
373
  }
374
374
  get el() { return getElement(this); }
375
375
  static get watchers() { return {
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, h, H as Host } from './index-dd40cc85.js';
2
- import { d as zonosStoreFontFamily } from './zonosStore-c4c45591.js';
1
+ import { r as registerInstance, h, H as Host } from './index-0e31d804.js';
2
+ import { d as zonosStoreFontFamily } from './zonosStore-f3eef64b.js';
3
3
  import { c as classes } from './classes-0d95c529.js';
4
4
 
5
5
  const zonosBadgeCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--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{display:-ms-inline-flexbox;display:inline-flex}:host .zonos--badge-content{display:-ms-flexbox;display:flex;gap:var(--amino-space-8);font-size:var(--amino-font-size-s);padding:4px 8px;text-align:center;border-radius:var(--amino-radius-6);background-color:var(--amino-gray-100);color:var(--amino-gray-800);-ms-flex-align:center;align-items:center}:host p{font-weight:600;line-height:16px}:host .icon-right svg{-ms-flex-order:2;order:2}:host .small{padding:2px 8px}:host .rounded{border-radius:20px}:host .bold{background-color:var(--amino-gray-600);color:var(--amino-gray-100)}:host .blue{background-color:var(--amino-blue-100);color:var(--amino-blue-800)}:host .blue.bold{background-color:var(--amino-blue-600);color:var(--amino-blue-100)}:host .green{background-color:var(--amino-green-100);color:var(--amino-green-800)}:host .green.bold{background-color:var(--amino-green-600);color:var(--amino-green-100)}:host .red{background-color:var(--amino-red-100);color:var(--amino-red-800)}:host .red.bold{background-color:var(--amino-red-600);color:var(--amino-red-100)}:host .orange{background-color:var(--amino-orange-100);color:var(--amino-orange-800)}:host .orange.bold{background-color:var(--amino-orange-600);color:var(--amino-orange-100)}:host .purple{background-color:var(--amino-purple-100);color:var(--amino-purple-800)}:host .purple.bold{background-color:var(--amino-purple-600);color:var(--amino-purple-100)}:host .cyan{background-color:var(--amino-cyan-100);color:var(--amino-cyan-800)}:host .cyan.bold{background-color:var(--amino-cyan-600);color:var(--amino-cyan-100)}";
@@ -16,16 +16,16 @@ const ZonosBadge = class {
16
16
  this.rounded = false;
17
17
  }
18
18
  render() {
19
- return (h(Host, { key: '9e6c4ec2341f5ca076a3c54bcce347db9e83bb38', class: classes(['zonos--elements zonos--badge']), style: {
19
+ return (h(Host, { key: '9113b76d0368284d8062ba73cb1433ae64648c56', class: classes(['zonos--elements zonos--badge']), style: {
20
20
  '--font-family': zonosStoreFontFamily(),
21
- } }, h("div", { key: 'ad4d88e7ac5b8e8a617bb904faeaad73d426c271', class: classes([
21
+ } }, h("div", { key: '0edaabad09319fa6cc2d5b02c304e5ed77d35eac', class: classes([
22
22
  'zonos--badge-content',
23
23
  this.badgeColor,
24
24
  this.rounded && 'rounded',
25
25
  this.iconRight && 'icon-right',
26
26
  this.size,
27
27
  this.bold && 'bold',
28
- ]) }, this.icon, h("zonos-text", { key: 'd0709a3ffbcc65703933273f614bbb71792b8f61' }, h("slot", { key: '997537e7fd4102a35a1e16789fa7b5444ee85a5a' })))));
28
+ ]) }, this.icon, h("zonos-text", { key: '2d37289c26e12cb074ff7003032a1d417bbf1fdf' }, h("slot", { key: '2caa00a312b624d747dbe145b8673ced9118e49e' })))));
29
29
  }
30
30
  };
31
31
  ZonosBadge.style = ZonosBadgeStyle0;
@@ -41,10 +41,10 @@ const ZonosTooltip = class {
41
41
  this.showTooltip = false;
42
42
  }
43
43
  render() {
44
- return (h(Host, { key: 'a23ad45e8f96b88b0feaf17690c6bdb75aacb12c', class: "zonos--elements" }, h("div", { key: 'b057f5ae304921f5fd50536cb5b7fb493120f1e7', class: "zonos--tooltip", onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, h("slot", { key: '396ac2ec3fcc8d49f8a346d1059cb096ef2e2874' }), h("div", { key: '4aa607dcc9c4c675224e9d7effd1e8ad2bdee097', class: classes([
44
+ return (h(Host, { key: '5226e33bb8f9280965b254c51235c38e2e5f6ab6', class: "zonos--elements" }, h("div", { key: 'fd9bc052cc1081cbd87eaa3f4e6f0f53070c5b53', class: "zonos--tooltip", onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, h("slot", { key: '82d9885a2afb7e28707ddf6b24cb7c2dc148ef33' }), h("div", { key: 'c59b3beaca558dc95149455c9a15a8ce26bb0d70', class: classes([
45
45
  this.showTooltip && 'zonos--show-tooltip',
46
46
  'zonos--tooltip-content',
47
- ]) }, h("zonos-text", { key: 'e69a1883f21f277be88e892a99ae6e66a9829a1c', size: "s", textColor: "gray-0", type: "boldLabel" }, this.label), h("zonos-text", { key: 'cb901c3cd7d0931f157eddef8fe4286fbd66b66b', size: "xs", textColor: "gray-0" }, this.subtitle)))));
47
+ ]) }, h("zonos-text", { key: 'f5213ba0f401359e5bccd289df3eae18e7b18a1d', size: "s", textColor: "gray-0", type: "boldLabel" }, this.label), h("zonos-text", { key: '3bfad7df7cf6715230ffc0bc1c0b49b8900955b7', size: "xs", textColor: "gray-0" }, this.subtitle)))));
48
48
  }
49
49
  };
50
50
  ZonosTooltip.style = ZonosTooltipStyle0;
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, h, H as Host } from './index-dd40cc85.js';
2
- import { d as zonosStoreFontFamily } from './zonosStore-c4c45591.js';
1
+ import { r as registerInstance, h, H as Host } from './index-0e31d804.js';
2
+ import { d as zonosStoreFontFamily } from './zonosStore-f3eef64b.js';
3
3
  import { c as classes } from './classes-0d95c529.js';
4
4
 
5
5
  const zonosBannerCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--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(--amino-radius-10);padding:var(--amino-space-16);background:var(--amino-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:var(--amino-space-0);grid-area:header}:host .zonos--content-wrapper{grid-area:content;margin-top:var(--amino-space-4)}:host(.info){background-color:var(--amino-blue-100);border:1px solid var(--amino-blue-200)}:host(.success){background-color:var(--amino-green-100);border:1px solid var(--amino-green-200)}:host(.error){background-color:var(--amino-red-100);border:1px solid var(--amino-red-200)}:host(.warning){background-color:var(--amino-orange-100);border:1px solid var(--amino-orange-200)}";
@@ -1,9 +1,9 @@
1
- import { r as registerInstance, h, H as Host, d as getElement } from './index-dd40cc85.js';
2
- import { z as zonosStore, d as zonosStoreFontFamily } from './zonosStore-c4c45591.js';
1
+ import { r as registerInstance, h, H as Host, d as getElement } from './index-0e31d804.js';
2
+ import { z as zonosStore, d as zonosStoreFontFamily } from './zonosStore-f3eef64b.js';
3
3
  import { c as classes } from './classes-0d95c529.js';
4
- import { g as getBorderRadius } from './getBorderRadius-a89e45fb.js';
4
+ import { g as getBorderRadius } from './getBorderRadius-8129b0cb.js';
5
5
  import { i as isColorVariable } from './isColorVariable-fbf2d80d.js';
6
- import { i as isDarkColor } from './isDarkColor-6bf71e51.js';
6
+ import { i as isDarkColor } from './isDarkColor-7a6d2d14.js';
7
7
 
8
8
  /**
9
9
  * Get theme for button text based on background color
@@ -96,12 +96,12 @@ const ZonosButton = class {
96
96
  const spinnerColor = backgroundActualColor && isDarkColor(backgroundActualColor)
97
97
  ? 'white'
98
98
  : 'black';
99
- return (h(Host, { key: '284820ccca8e757e0223e3cc5fb13b7ed89a1eba', class: classes(['zonos--elements']), "data-theme": this.theme || buttonTheme, disabled: disabled, style: styles({
99
+ return (h(Host, { key: '104b26d8b3fac6bafce6f5f852775af682d1b3f3', class: classes(['zonos--elements']), "data-theme": this.theme || buttonTheme, disabled: disabled, style: styles({
100
100
  '--background-color': overrideBackground,
101
101
  '--border-radius': borderStyle,
102
102
  '--color': color,
103
103
  '--font-family': zonosStoreFontFamily(),
104
- }) }, h("button", { key: '635799fed660c88d0a2a3f3b6f5490149bb5edc3', class: classes([
104
+ }) }, h("button", { key: '2ad1b59dd11e4460928b42f33e5d421e90f259d2', class: classes([
105
105
  this.hasIcon && 'has-icon',
106
106
  this.hasContent && 'has-content',
107
107
  this.noBackground && 'no-background',
@@ -114,7 +114,7 @@ const ZonosButton = class {
114
114
  overrideBackground &&
115
115
  variant === 'standard' &&
116
116
  'override-background',
117
- ]), disabled: disabled }, this.loading && (h("div", { class: "zonos--spinner-wrapper" }, h("zonos-spinner", { size: 16, spinnerColor: spinnerColor }))), !this.loading && !this.iconRight && this.icon, h("slot", { key: '35af5f49e65bb8cf93d538fa741302b41887da67', onSlotchange: this.handleSlotChange }), !this.loading && this.iconRight && this.icon)));
117
+ ]), disabled: disabled }, this.loading && (h("div", { key: '2849e63aa713c682e61a4a0c95e9bd5e0f5f8892', class: "zonos--spinner-wrapper" }, h("zonos-spinner", { key: '7040089b82edd821ae997f39fbbab50c0e523924', size: 16, spinnerColor: spinnerColor }))), !this.loading && !this.iconRight && this.icon, h("slot", { key: 'b20b86b70bbb180f45880ffaf1fd13751fc4682f', onSlotchange: this.handleSlotChange }), !this.loading && this.iconRight && this.icon)));
118
118
  }
119
119
  get ele() { return getElement(this); }
120
120
  static get watchers() { return {
@@ -1,10 +1,10 @@
1
- import { r as registerInstance, h, H as Host } from './index-dd40cc85.js';
2
- import { d as zonosStoreFontFamily } from './zonosStore-c4c45591.js';
1
+ import { r as registerInstance, h, H as Host } from './index-0e31d804.js';
2
+ import { d as zonosStoreFontFamily } from './zonosStore-f3eef64b.js';
3
3
  import { c as classes } from './classes-0d95c529.js';
4
- import { F as localizationStoreUpdateSelectedLocale, t as translate, l as localizationStore } from './cart-9f9f26f9.js';
4
+ import { F as localizationStoreUpdateSelectedLocale, t as translate, l as localizationStore } from './cart-515aac56.js';
5
5
  import { l as languages } from './ILanguage-97790bee.js';
6
- import './isDarkColor-6bf71e51.js';
7
- import './getBorderRadius-a89e45fb.js';
6
+ import './isDarkColor-7a6d2d14.js';
7
+ import './getBorderRadius-8129b0cb.js';
8
8
 
9
9
  const zonosCardCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--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(--amino-border);border-radius:var(--amino-radius-6);padding:var(--spacing, var(--amino-space-24));text-align:left}:host .styled-card hr{margin-left:calc(var(--spacing, var(--amino-space-24)) * -1);margin-right:calc(var(--spacing, var(--amino-space-24)) * -1)}:host .styled-card .card-header{margin:calc(var(--spacing, var(--amino-space-24)) * -1);padding:var(--spacing, var(--amino-space-24));display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-bottom:var(--spacing, var(--amino-space-24));border-bottom:var(--amino-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, var(--amino-space-24)) * -1);padding:var(--spacing, var(--amino-space-24));border-top:var(--amino-border);background:var(--amino-surface-color-secondary);margin-top:var(--spacing, var(--amino-space-24));border-bottom-left-radius:var(--amino-radius-8);border-bottom-right-radius:var(--amino-radius-8);height:var(--footerHeight)}";
10
10
  const ZonosCardStyle0 = zonosCardCss;
@@ -20,12 +20,12 @@ const ZonosCard = class {
20
20
  this.spacing = '24px';
21
21
  }
22
22
  render() {
23
- return (h(Host, { key: 'c2f25ffa32920500b63702df35b9e30dcf28b47d', style: {
23
+ return (h(Host, { key: '0d8b5af14b922c5bb4664a657da1f5f40dbb80c9', style: {
24
24
  '--font-family': zonosStoreFontFamily(),
25
- } }, h("div", { key: '30515451d4694d3fffffab4c23ac2b0ff0e37710', class: classes(['styled-card']), style: { padding: this.spacing } }, this.label && (h("header", { class: "card-header", style: { padding: this.spacing } }, h("zonos-text", { type: "subheader" }, this.label), h("h-stack", { spacing: 8 }, this.actions))), h("slot", { key: 'a1ced320f20a585c7201fc5c7b0729ce8e91a176' }), (this.footerActions || this.footerContent) && (h("footer", { class: "card-footer", style: {
25
+ } }, h("div", { key: '4636de2659dac17eddf05aa9ce0e3b1b3091de65', class: classes(['styled-card']), style: { padding: this.spacing } }, this.label && (h("header", { key: '591276139b808995cb26b54921bdbb1d55995fbb', class: "card-header", style: { padding: this.spacing } }, h("zonos-text", { key: '017ca4195a3d2b9efdc337966203165a1f0f074d', type: "subheader" }, this.label), h("h-stack", { key: 'dc3a2c4ad7cb2a053819727fc5bff90d70438a25', spacing: 8 }, this.actions))), h("slot", { key: '0f19e23f2744b2ccbfc5ca7d1aefebf7326ab649' }), (this.footerActions || this.footerContent) && (h("footer", { key: 'fd0adb2b5146f0542c12b2628f011417911c54ec', class: "card-footer", style: {
26
26
  height: this.footerHeight ? `${this.footerHeight}px` : 'auto',
27
27
  padding: this.spacing,
28
- } }, h("div", null, this.footerContent), h("h-stack", { spacing: 8 }, this.footerActions))))));
28
+ } }, h("div", { key: '82bc7d63eec3c3d716128740e86879a11befa0aa' }, this.footerContent), h("h-stack", { key: '66261eaffa40882c5bd2255649325a16a5f65f7e', spacing: 8 }, this.footerActions))))));
29
29
  }
30
30
  };
31
31
  ZonosCard.style = ZonosCardStyle0;
@@ -51,9 +51,9 @@ const ZonosLanguageSelect = class {
51
51
  }
52
52
  render() {
53
53
  const { selectedLocale } = localizationStore;
54
- return (h(Host, { key: '25e0e2be0bbac853efa9c26c1595a1d57461a1a1', class: "zonos--elements", style: {
54
+ return (h(Host, { key: 'c3185eaf7f8e73d1356d6cba5a7c7ba6da9db7f8', class: "zonos--elements", style: {
55
55
  '--font-family': zonosStoreFontFamily(),
56
- } }, h("div", { key: 'b9f3a630f945570a9c0058bb0367e810b7650eb0', class: "zonos--language-select" }, h("zonos-select-dialog-header", { key: 'b30a41cc7f4eab57f15b48ffa3f7c0ad1e695e65', handleOnClose: () => this.handleOnClose(), label: translate('Select a language') }), h("div", { key: 'c6826b80ece54415befc388e57baa02d56472aef', class: "zonos--language-select-content" }, languages.map(language => (h("button", { class: "zonos--language-select-button", onClick: () => this.languageSelected(language.code) }, h("zonos-text", { textColor: "gray-800" }, language.translatedLabel), language.code === selectedLocale && (h("zonos-icon", { content: GreenCheckDuotoneIcon, size: 16 })))))))));
56
+ } }, h("div", { key: '59c2af417f20ee915dfddaa08c2a9f4288a5d040', class: "zonos--language-select" }, h("zonos-select-dialog-header", { key: '2cc4a3bed8e5e2c89f8ef624a9a0d2e778da9005', handleOnClose: () => this.handleOnClose(), label: translate('Select a language') }), h("div", { key: 'b0bb95a16d56e344833f3d6ec3b23ae6d5b65270', class: "zonos--language-select-content" }, languages.map(language => (h("button", { class: "zonos--language-select-button", onClick: () => this.languageSelected(language.code) }, h("zonos-text", { textColor: "gray-800" }, language.translatedLabel), language.code === selectedLocale && (h("zonos-icon", { content: GreenCheckDuotoneIcon, size: 16 })))))))));
57
57
  }
58
58
  };
59
59
  ZonosLanguageSelect.style = ZonosLanguageSelectStyle0;
@@ -1,12 +1,12 @@
1
- import { r as registerInstance, a as getAssetPath, h, H as Host, F as Fragment, c as createEvent, d as getElement } from './index-dd40cc85.js';
2
- import { f as cartStore, t as translate, r as handleFetch, q as stripeStoreReset, j as stripeStore, C as stripeStoreRetrievePayment, l as localizationStore, D as cartStoreUpdateSelectedShippingOption, E as cartStoreGetShippingTransitInfo } from './cart-9f9f26f9.js';
3
- import { z as zonosStore, d as zonosStoreFontFamily } from './zonosStore-c4c45591.js';
4
- import { t as trackConversionEvent, s as submitGtag, c as createCustomEvent } from './submitGtag-5847d1a1.js';
5
- import { g as getBorderRadius } from './getBorderRadius-a89e45fb.js';
6
- import { s as sendErrorLog, i as isCheckoutMobile } from './sendErrorLog-283f65ab.js';
1
+ import { r as registerInstance, a as getAssetPath, h, H as Host, F as Fragment, c as createEvent, d as getElement } from './index-0e31d804.js';
2
+ import { f as cartStore, t as translate, r as handleFetch, q as stripeStoreReset, j as stripeStore, C as stripeStoreRetrievePayment, l as localizationStore, D as cartStoreUpdateSelectedShippingOption, E as cartStoreGetShippingTransitInfo } from './cart-515aac56.js';
3
+ import { z as zonosStore, d as zonosStoreFontFamily } from './zonosStore-f3eef64b.js';
4
+ import { t as trackConversionEvent, s as submitGtag, c as createCustomEvent } from './submitGtag-6767c31f.js';
5
+ import { g as getBorderRadius } from './getBorderRadius-8129b0cb.js';
6
+ import { s as sendErrorLog, i as isCheckoutMobile } from './sendErrorLog-e4546d7b.js';
7
7
  import { c as classes } from './classes-0d95c529.js';
8
8
  import { l as languages } from './ILanguage-97790bee.js';
9
- import { t as tinycolor, i as isDarkColor } from './isDarkColor-6bf71e51.js';
9
+ import { t as tinycolor, i as isDarkColor } from './isDarkColor-7a6d2d14.js';
10
10
  import { i as isColorVariable } from './isColorVariable-fbf2d80d.js';
11
11
 
12
12
  const formatCurrency = ({ amount, currency, showCurrencyText, }) => showCurrencyText
@@ -240,7 +240,7 @@ const ZonosCheckoutFinish = class {
240
240
  // }, 0);
241
241
  return (h(Host, { key: '8c2087b3a0578cbbd7979fff5e6b696a4325e548', class: "zonos--checkout-finish zonos--elements", style: {
242
242
  '--border-radius': getBorderRadius(this.borderRadius),
243
- } }, this.isLoading && (h("div", { class: "loading-wrapper" }, h("zonos-spinner", null))), !this.isLoading && (h(Fragment, null, h("div", { class: "zonos--group" }, this.notificationType === 'success' ? (h("zonos-icon", { "aria-label": "Order success", content: SuccessIcon, iconColor: 'blue-800', size: 50 })) : (h("zonos-icon", { "aria-label": "Order failed", content: RemoveIcon$1, iconColor: 'red-800', size: 50 })), h("zonos-text", { class: "zonos--title", type: "semiBoldSubheader" }, this.notificationTitle), h("zonos-text", null, this.notificationMessages.map(message => (h(Fragment, null, message, h("br", null))))), h("zonos-button", { onClick: () => this.closeClickHandler(), size: "md", variant: "primary" }, translate('Keep shopping')))))));
243
+ } }, this.isLoading && (h("div", { key: 'dd86d26aee1eb604b8e9b2e7328706db43c80467', class: "loading-wrapper" }, h("zonos-spinner", { key: 'a2f07a512a1d45df0be48461b0e989681b6cb78d' }))), !this.isLoading && (h(Fragment, null, h("div", { key: 'f147c24eefb4aa36ed556c581c2f64a096dbe17b', class: "zonos--group" }, this.notificationType === 'success' ? (h("zonos-icon", { "aria-label": "Order success", content: SuccessIcon, iconColor: 'blue-800', size: 50 })) : (h("zonos-icon", { "aria-label": "Order failed", content: RemoveIcon$1, iconColor: 'red-800', size: 50 })), h("zonos-text", { key: '33a02654ede8a7ef7d884b0138c6e2c96406372f', class: "zonos--title", type: "semiBoldSubheader" }, this.notificationTitle), h("zonos-text", { key: 'c179ac24421803973ae8509a338cc34a4c80ac54' }, this.notificationMessages.map(message => (h(Fragment, null, message, h("br", null))))), h("zonos-button", { key: '488594968d4e957856218b0f804ed9b9947102aa', onClick: () => this.closeClickHandler(), size: "md", variant: "primary" }, translate('Keep shopping')))))));
244
244
  }
245
245
  static get assetsDirs() { return ["assets"]; }
246
246
  };
@@ -288,10 +288,10 @@ const ZonosCheckoutFooter = class {
288
288
  const languageLabel = (_a = languages.find(x => x.code === localizationStore.selectedLocale)) === null || _a === void 0 ? void 0 : _a.label;
289
289
  // reverse color when on desktop. With the coversheet backdrop, the color should be white
290
290
  const colorDesktop = this.dataTheme === 'LIGHT' && !this.mobile ? 'gray-0' : 'gray-1200';
291
- return (h(Host, { key: '2ce26e27b7c90b4d37f26197821ed1a39ddb9fae', class: classes(['zonos--elements', this.isMobile && 'mobile']) }, h("div", { key: '5f52ec7b5ad1659ceb9d2edb4661e5995b72afaf', class: "zonos--checkout-footer" }, h("div", { key: '5d127f033702bff94cc2db76b4695a03055ec783', class: "zonos--checkout-locale-wrapper" }, h("zonos-button", { key: '701b5014848ea716f7dcc22221b453146af92962', buttonColor: colorDesktop, class: "zonos--checkout-footer-language-button", icon: h("zonos-icon", { "aria-label": "Language select", content: Globe, iconColor: colorDesktop }), onClick: () => this.toggleLanguageDialog(), variant: "subtle" }, languageLabel), h("div", { key: 'e2a319113905bd76473aef822780521f2be58405', class: classes([
291
+ return (h(Host, { key: 'fae1e5cb1250e834ecf3b09f11785ddea61be3b2', class: classes(['zonos--elements', this.isMobile && 'mobile']) }, h("div", { key: 'f3d48fcc675458dd38ca48e21f24a003b5ff9b56', class: "zonos--checkout-footer" }, h("div", { key: '97daec871630cf2bb33956b668abee2e715eceb5', class: "zonos--checkout-locale-wrapper" }, h("zonos-button", { key: 'cd6e12e8d1320e3e6542eef16f15ab27921748c3', buttonColor: colorDesktop, class: "zonos--checkout-footer-language-button", icon: h("zonos-icon", { "aria-label": "Language select", content: Globe, iconColor: colorDesktop }), onClick: () => this.toggleLanguageDialog(), variant: "subtle" }, languageLabel), h("div", { key: 'bdc6d9311d2d039e87c261ead45474b7bf1fe992', class: classes([
292
292
  'zonos--checkout-footer-dialog',
293
293
  this.showLanguageDialog && 'zonos--checkout-footer-dialog-open',
294
- ]) }, h("zonos-language-select", { key: '4fb9860a4547541f3947d349ab6056e899335952', handleOnClose: () => this.toggleLanguageDialog() }))), h("div", { key: '0a348521a7ccecc23a7a69019940c2421bb8420c', class: "zonos--checkout-footer-icon-wrapper" }, h("zonos-text", { key: '9adf4c24fcf1b5d0827556e9e68006860b0bb9c4', textColor: colorDesktop, type: "caption" }, "Powered by"), h("a", { key: 'a3f957e10d14d68d3973169470a21fdabb2f7a06', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, h("zonos-icon", { key: '49592d8302447d007dc840de18fa78af7898f382', autoHeight: true, content: ZonosIcon, iconColor: colorDesktop, size: 108 }))))));
294
+ ]) }, h("zonos-language-select", { key: '7318bb4137e160e9ed05a423fb80f1806c4f0104', handleOnClose: () => this.toggleLanguageDialog() }))), h("div", { key: '55c76c6cf6777407532c00cf167d59e3cefc5eab', class: "zonos--checkout-footer-icon-wrapper" }, h("zonos-text", { key: '41a7fae5a1a08d22b91341ccfcc0df9daeeb8f82', textColor: colorDesktop, type: "caption" }, "Powered by"), h("a", { key: '394e19392718d2a40a351692fa358f8f86366b46', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, h("zonos-icon", { key: '4d8cadbb7c26e8f7888caad2b158d521ab504590', autoHeight: true, content: ZonosIcon, iconColor: colorDesktop, size: 108 }))))));
295
295
  }
296
296
  get el() { return getElement(this); }
297
297
  static get watchers() { return {
@@ -424,17 +424,17 @@ const ZonosCheckoutProgressTabs = class {
424
424
  color: labelSelectedColor,
425
425
  })
426
426
  : labelSelectedColor;
427
- return (h(Host, { key: 'e79dc4967096d3b6f0ac25d58f02e77f773c8e95', class: "zonos--elements", style: {
427
+ return (h(Host, { key: '508d496a46dc5c97d68326e079a344f677f9cfc2', class: "zonos--elements", style: {
428
428
  '--color': contrastLabelColor,
429
429
  '--progress-percent': this.getTotalSuccessStep(),
430
- } }, h("div", { key: '20e500d31c28ee0705c1999e0f258b679af9d73a', class: "zonos--tab-wrapper" }, Object.values(cartStore.tabItems).map((tab, index) => {
430
+ } }, h("div", { key: '35892f4230914211d8aecde8bbc99fffebe44f47', class: "zonos--tab-wrapper" }, Object.values(cartStore.tabItems).map((tab, index) => {
431
431
  const isSelected = tab.value === selectedStep;
432
432
  return (h("button", { class: classes([
433
433
  'zonos--tab-item',
434
434
  tab.value === selectedStep && 'selected',
435
435
  tab.isDone && 'done',
436
436
  ]), disabled: !this.isTabClickable(tab.value), key: tab.value, onClick: () => (cartStore.step = tab.value) }, h("div", { class: "zonos--tab-index" }, h("zonos-text", { class: "zonos--tab-index-label", textColor: isSelected ? contrastLabelColor : 'gray-1200', type: "label" }, index + 1), h("zonos-icon", { class: "zonos--tab-index-done-icon", content: TabCheckmark, iconColor: isSelected ? contrastLabelColor : 'gray-1200' })), h("zonos-text", { textColor: isSelected ? contrastLabelColor : 'gray-1200', type: "label" }, translate(tab.label))));
437
- })), h("div", { key: '129502b873f339192ef5f4c67ac8c06d533ccfca', class: "zonos--tab-progress" }, h("div", { key: '728a074d6a411b400be30929bf9a5fdc8431745d', class: "zonos--progress-bar-fill" }))));
437
+ })), h("div", { key: '475526f811089f65ecfa1d81348f22e77662e565', class: "zonos--tab-progress" }, h("div", { key: 'b45d8170d733043c66e7d6e8f52874f3ccfa0274', class: "zonos--progress-bar-fill" }))));
438
438
  }
439
439
  static get assetsDirs() { return ["assets"]; }
440
440
  get ele() { return getElement(this); }
@@ -558,7 +558,7 @@ const ZonosDialog = class {
558
558
  document.body.style.overflow = 'auto';
559
559
  }
560
560
  const borderStyle = getBorderRadius(this.borderStyle);
561
- return (h(Host, { key: 'f0aee4766d2c62f3f4feff18c99dba62ea97ca06', class: classes([
561
+ return (h(Host, { key: 'b2f500bb70769f6d14d7e4002e5b11fe854e3bd1', class: classes([
562
562
  'zonos--elements',
563
563
  this.open && 'open',
564
564
  this.isLoading && 'is-loading',
@@ -569,10 +569,10 @@ const ZonosDialog = class {
569
569
  '--font-family': zonosStoreFontFamily(),
570
570
  '--height': this.height || 'initial',
571
571
  '--width': this.width,
572
- } }, h("div", { key: '42e8afd7ddc94ab9ec4951f4221e32729256694e', class: "zonos--backdrop" }), h("div", { key: '035c21c65ae5cabc12b41b6ad1684fa4dbc5b92e', "aria-hidden": "true", class: "zonos--dialog-layout", onClick: this.clickOutsideDialogHandler }, h("div", { key: 'b9a3299c9fb920f9af5783506b0489122b2eae11', class: "zonos--dialog" }, this.isLoading && (h("div", { class: "zonos--loading" }, h("zonos-spinner", { size: 30 }))), (this.headerText || !this.noCloseButton) && (h("div", { class: "zonos--header" }, this.headerText && (h("h3", { class: "zonos--header-text" }, this.headerText)), !this.noCloseButton && (h("zonos-button", { class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close dialog", content: RemoveIcon }), noBackground: true, onClick: this.closeButtonHandler })))), h("div", { key: 'f5e5a75782ca6acd4a2c004756b800f3c2558129', class: classes([
572
+ } }, h("div", { key: '9715c4765caee524a8030b2baa9352e44d0eeec0', class: "zonos--backdrop" }), h("div", { key: '05357a1ab95c995a35602517555f33e14c712bcc', "aria-hidden": "true", class: "zonos--dialog-layout", onClick: this.clickOutsideDialogHandler }, h("div", { key: '6acbd0635fcfb95910c20db9d1803a3c2685f4ac', class: "zonos--dialog" }, this.isLoading && (h("div", { key: '5a94b2d158ffdd5c1d5b4b6e2d1cca60ff31fb10', class: "zonos--loading" }, h("zonos-spinner", { key: '80fe57fea64e1ac4a5eb286fe19c327230748837', size: 30 }))), (this.headerText || !this.noCloseButton) && (h("div", { key: '773b53526fc24469e41e927d50a0aadbc8470a4a', class: "zonos--header" }, this.headerText && (h("h3", { key: '9e9a754fdc82900b720ac5289b83d0217eb89517', class: "zonos--header-text" }, this.headerText)), !this.noCloseButton && (h("zonos-button", { key: '4525da6839849fd972f9b470e280f176803921ed', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close dialog", content: RemoveIcon }), noBackground: true, onClick: this.closeButtonHandler })))), h("div", { key: '1c9ff5924f0fa9cdb7753fbcf0c2dc51171535b0', class: classes([
573
573
  'zonos--body',
574
574
  this.noBodyPadding && 'zonos--no-body-padding',
575
- ]) }, h("slot", { key: '3fe4ec47852e99f1dc5b6a7a84a8b918594b8b7f' })), h("slot", { key: '5515f4109274b178249c05c6e6c91fdc30ce528a', name: "dialog-footer" })))));
575
+ ]) }, h("slot", { key: '96b0c127f550413a5108a6f87a8397a0c6e01e64' })), h("slot", { key: 'a5c64424aadb3a56682de39b497ecc0eafdf3de7', name: "dialog-footer" })))));
576
576
  }
577
577
  static get assetsDirs() { return ["assets"]; }
578
578
  };
@@ -712,7 +712,7 @@ const ZonosShipping = class {
712
712
  }
713
713
  render() {
714
714
  var _a, _b;
715
- return (h(Host, { key: 'ab881bdb575ac0177154ffa8a2d84d668151c46d', class: "zonos--shipping zonos--elements" }, h("div", { key: 'b8738e0fb5c32b329ae03ccd2cb2d1a178a05aa8', class: "zonos--group" }, h("zonos-text", { key: 'd942ab3f4e77631145a0a38dae95999454a92b56', class: "zonos--title", type: "semiBoldSubheader" }, translate('Shipping information')), h("zonos-text", { key: '6855f44cf3458891776b3c215417bec329de89dc', class: "zonos--shipping-method-title", type: "semiBoldLabel" }, translate('Shipping method')), !((_a = this.serviceLevels) === null || _a === void 0 ? void 0 : _a.length) ? (h("zonos-banner", { bannerTitle: translate('No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.'), intent: "error" })) : (h("zonos-shipping-rich-radio", { initialSelectedValue: (_b = this.selectedShippingMethod) === null || _b === void 0 ? void 0 : _b.value, items: this.serviceLevels, onRadioSelected: e => this.handleRadioSelected(e) })), h("div", { key: 'f6398edeecd18c603680ad6c7c8e1aa5f5cebe4a', class: "zonos--group-btn" }, h("zonos-button", { key: 'a548fb385ed341308ff86e615d9088e7cd4ec34d', backgroundColor: this.submitBtnColor, isDisabled: this.disabled, loading: this.continueLoading || this.isSelecting, onClick: () => this.continueClickHandler(), size: "lg",
715
+ return (h(Host, { key: '0ded6474793fbb142e8e9a3bc10f1b5ae88858a7', class: "zonos--shipping zonos--elements" }, h("div", { key: '334d49db61fe69bf43f2bf68828c724cb7c9851e', class: "zonos--group" }, h("zonos-text", { key: '57ac7f10aff623a7e9c009bee86a4e88c979417f', class: "zonos--title", type: "semiBoldSubheader" }, translate('Shipping information')), h("zonos-text", { key: 'bb7679250828b859f90940617dc03c20addb6252', class: "zonos--shipping-method-title", type: "semiBoldLabel" }, translate('Shipping method')), !((_a = this.serviceLevels) === null || _a === void 0 ? void 0 : _a.length) ? (h("zonos-banner", { bannerTitle: translate('No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.'), intent: "error" })) : (h("zonos-shipping-rich-radio", { initialSelectedValue: (_b = this.selectedShippingMethod) === null || _b === void 0 ? void 0 : _b.value, items: this.serviceLevels, onRadioSelected: e => this.handleRadioSelected(e) })), h("div", { key: 'ace80fcc503601d577fb7751777b00331c027f16', class: "zonos--group-btn" }, h("zonos-button", { key: 'd48000ef65953b5f99d95c4b404bb7a47351dbce', backgroundColor: this.submitBtnColor, isDisabled: this.disabled, loading: this.continueLoading || this.isSelecting, onClick: () => this.continueClickHandler(), size: "lg",
716
716
  // use primary type when on mobile mode
717
717
  variant: this.submitBtnType }, translate('Go to payment'))))));
718
718
  }
@@ -1,11 +1,11 @@
1
- import { r as registerInstance, h, F as Fragment, H as Host } from './index-dd40cc85.js';
2
- import { l as localizationStore, a as log, s as stripeStoreGetDomesticShippingSession, b as localizationStoreUpdateSelectedCountryCode, c as stripeStoreCleanupDomesticShippingSession, d as logError, e as stripeStoreSaveDomesticShippingSession, i as initStripeElements, f as cartStore, g as cartStoreUpdateItems, h as cartStoreReset, j as stripeStore, k as stripeStoreInitCheckoutSession, m as cartStoreUpdateToErrorState, t as translate, n as stripeStorePrefetchLandedCost, o as cartStoreNextStep, p as stripeStoreConfirmPayment, q as stripeStoreReset } from './cart-9f9f26f9.js';
3
- import { z as zonosStore, g as getZonosStoreTheme, m as mergeConfig } from './zonosStore-c4c45591.js';
4
- import { c as createCustomEvent, s as submitGtag, t as trackConversionEvent } from './submitGtag-5847d1a1.js';
5
- import { s as sendErrorLog, i as isCheckoutMobile } from './sendErrorLog-283f65ab.js';
1
+ import { r as registerInstance, h, F as Fragment, H as Host } from './index-0e31d804.js';
2
+ import { l as localizationStore, a as log, s as stripeStoreGetDomesticShippingSession, b as localizationStoreUpdateSelectedCountryCode, c as stripeStoreCleanupDomesticShippingSession, d as logError, e as stripeStoreSaveDomesticShippingSession, i as initStripeElements, f as cartStore, g as cartStoreUpdateItems, h as cartStoreReset, j as stripeStore, k as stripeStoreInitCheckoutSession, m as cartStoreUpdateToErrorState, t as translate, n as stripeStorePrefetchLandedCost, o as cartStoreNextStep, p as stripeStoreConfirmPayment, q as stripeStoreReset } from './cart-515aac56.js';
3
+ import { z as zonosStore, g as getZonosStoreTheme, m as mergeConfig } from './zonosStore-f3eef64b.js';
4
+ import { c as createCustomEvent, s as submitGtag, t as trackConversionEvent } from './submitGtag-6767c31f.js';
5
+ import { s as sendErrorLog, i as isCheckoutMobile } from './sendErrorLog-e4546d7b.js';
6
6
  import { c as classes } from './classes-0d95c529.js';
7
- import { g as getBorderRadius } from './getBorderRadius-a89e45fb.js';
8
- import { i as isDarkColor } from './isDarkColor-6bf71e51.js';
7
+ import { g as getBorderRadius } from './getBorderRadius-8129b0cb.js';
8
+ import { i as isDarkColor } from './isDarkColor-7a6d2d14.js';
9
9
 
10
10
  /**
11
11
  * This is just function to make the key typesafe to enter