@zonos/elements 1.3.81 → 1.3.83

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 (251) hide show
  1. package/dist/cjs/{cart-97e693e4.js → cart-4de3faca.js} +798 -74
  2. package/dist/cjs/{createCustomEvent-777b3fa7.js → createCustomEvent-65331eae.js} +1 -3
  3. package/dist/cjs/index.cjs.js +7 -7
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/{paypal-16029169.js → paypal-370b3a10.js} +1 -1
  6. package/dist/cjs/{zonos-address_8.cjs.entry.js → zonos-address_7.cjs.entry.js} +9 -64
  7. package/dist/cjs/zonos-badge.cjs.entry.js +44 -0
  8. package/dist/cjs/zonos-button_3.cjs.entry.js +3 -3
  9. package/dist/cjs/zonos-card.cjs.entry.js +4 -4
  10. package/dist/cjs/{zonos-badge_13.cjs.entry.js → zonos-cart-items_12.cjs.entry.js} +135 -80
  11. package/dist/cjs/zonos-checkout.cjs.entry.js +5 -5
  12. package/dist/cjs/zonos-collapse.cjs.entry.js +62 -0
  13. package/dist/cjs/zonos-component.cjs.entry.js +1 -1
  14. package/dist/cjs/zonos-controller.cjs.entry.js +2 -2
  15. package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
  16. package/dist/cjs/zonos-country-select_4.cjs.entry.js +9 -9
  17. package/dist/cjs/zonos-elements.cjs.js +1 -1
  18. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +5 -5
  19. package/dist/cjs/zonos-hello.cjs.entry.js +1 -1
  20. package/dist/cjs/zonos-input.cjs.entry.js +4 -4
  21. package/dist/cjs/zonos-language-select_2.cjs.entry.js +5 -5
  22. package/dist/cjs/zonos-link.cjs.entry.js +1 -1
  23. package/dist/cjs/zonos-logo.cjs.entry.js +2 -2
  24. package/dist/cjs/zonos-notification_3.cjs.entry.js +4 -4
  25. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +1 -11
  26. package/dist/cjs/zonos-tooltip.cjs.entry.js +2 -2
  27. package/dist/cjs/zonos-v-stack.cjs.entry.js +2 -2
  28. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-items/zonos-cart-items.js +1 -1
  29. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.css +10 -1
  30. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.js +89 -6
  31. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +5 -3
  32. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.css +3 -1
  33. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +1 -1
  34. package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/assets/ChevronUpIcon.svg +23 -0
  35. package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.css +55 -9
  36. package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js +52 -12
  37. package/dist/collection/components/common/zonos-badge/assets/RemoveLineIcon.svg +3 -0
  38. package/dist/collection/components/common/zonos-badge/zonos-badge.css +3 -0
  39. package/dist/collection/components/common/zonos-badge/zonos-badge.js +43 -3
  40. package/dist/collection/components/common/zonos-button/zonos-button.js +3 -3
  41. package/dist/collection/components/common/zonos-card/zonos-card.js +4 -4
  42. package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +3 -3
  43. package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +8 -7
  44. package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +2 -2
  45. package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.js +3 -3
  46. package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +2 -2
  47. package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +2 -2
  48. package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +3 -3
  49. package/dist/collection/components/common/zonos-input/zonos-input.js +4 -4
  50. package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +2 -2
  51. package/dist/collection/components/common/zonos-link/zonos-link.js +1 -1
  52. package/dist/collection/components/common/zonos-logo/zonos-logo.js +2 -2
  53. package/dist/collection/components/common/zonos-rest-state/zonos-rest-state.js +3 -3
  54. package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +2 -2
  55. package/dist/collection/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.js +20 -27
  56. package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +2 -2
  57. package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +2 -2
  58. package/dist/collection/components/common/zonos-virtual-scroll/zonos-virtual-scroll.js +2 -2
  59. package/dist/collection/components/component-template/zonos-component/zonos-component.js +1 -1
  60. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +2 -2
  61. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +4 -4
  62. package/dist/collection/components/main/zonos-controller.js +1 -1
  63. package/dist/collection/components/paypal/zonos-paypal-payment.js +1 -1
  64. package/dist/collection/components/store/checkout/cart.js +45 -11
  65. package/dist/collection/components/store/checkout/stripe.js +119 -65
  66. package/dist/collection/components/store/translationStore/strings.arabic.js +30 -0
  67. package/dist/collection/components/store/translationStore/strings.base.js +30 -0
  68. package/dist/collection/components/store/translationStore/strings.chinese.js +30 -0
  69. package/dist/collection/components/store/translationStore/strings.danish.js +30 -0
  70. package/dist/collection/components/store/translationStore/strings.dutch.js +30 -0
  71. package/dist/collection/components/store/translationStore/strings.french.js +30 -0
  72. package/dist/collection/components/store/translationStore/strings.german.js +30 -0
  73. package/dist/collection/components/store/translationStore/strings.hebrew.js +30 -0
  74. package/dist/collection/components/store/translationStore/strings.indonesian.js +30 -0
  75. package/dist/collection/components/store/translationStore/strings.italian.js +30 -0
  76. package/dist/collection/components/store/translationStore/strings.japanese.js +30 -0
  77. package/dist/collection/components/store/translationStore/strings.korean.js +30 -0
  78. package/dist/collection/components/store/translationStore/strings.norwegian.js +30 -0
  79. package/dist/collection/components/store/translationStore/strings.polish.js +30 -0
  80. package/dist/collection/components/store/translationStore/strings.portuguese.js +30 -0
  81. package/dist/collection/components/store/translationStore/strings.russian.js +30 -0
  82. package/dist/collection/components/store/translationStore/strings.spanish.js +30 -0
  83. package/dist/collection/components/store/translationStore/strings.swedish.js +30 -0
  84. package/dist/collection/components/store/translationStore/strings.turkish.js +30 -0
  85. package/dist/collection/components/store/translationStore/strings.vietnamese.js +30 -0
  86. package/dist/collection/components/stripe/zonos-address/zonos-address.js +1 -1
  87. package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +1 -1
  88. package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
  89. package/dist/collection/components/utils/api/prepCalculateLandedCost.js +22 -0
  90. package/dist/collection/components/utils/api/trackConversionEvent.js +0 -2
  91. package/dist/collection/components/utils/api/triggerBuildLandedCost.js +1 -0
  92. package/dist/collection/components/utils/checkout/{sortServiceLevelOptions.js → sortServiceLevelOptionsByAmount.js} +1 -1
  93. package/dist/collection/components/utils/hello/currencyConversion/currencyFormat.js +1 -1
  94. package/dist/esm/{cart-9bf6dece.js → cart-bdc45f59.js} +795 -75
  95. package/dist/esm/{createCustomEvent-a18e45a2.js → createCustomEvent-4db13122.js} +1 -3
  96. package/dist/esm/index.js +7 -7
  97. package/dist/esm/loader.js +1 -1
  98. package/dist/esm/{paypal-edab4cee.js → paypal-1b29d424.js} +1 -1
  99. package/dist/esm/{zonos-address_8.entry.js → zonos-address_7.entry.js} +10 -64
  100. package/dist/esm/zonos-badge.entry.js +40 -0
  101. package/dist/esm/zonos-button_3.entry.js +3 -3
  102. package/dist/esm/zonos-card.entry.js +4 -4
  103. package/dist/esm/{zonos-badge_13.entry.js → zonos-cart-items_12.entry.js} +137 -81
  104. package/dist/esm/zonos-checkout.entry.js +5 -5
  105. package/dist/esm/zonos-collapse.entry.js +58 -0
  106. package/dist/esm/zonos-component.entry.js +1 -1
  107. package/dist/esm/zonos-controller.entry.js +2 -2
  108. package/dist/esm/zonos-country-flag.entry.js +1 -1
  109. package/dist/esm/zonos-country-select_4.entry.js +9 -9
  110. package/dist/esm/zonos-elements.js +1 -1
  111. package/dist/esm/zonos-hello-dialog.entry.js +5 -5
  112. package/dist/esm/zonos-hello.entry.js +1 -1
  113. package/dist/esm/zonos-input.entry.js +4 -4
  114. package/dist/esm/zonos-language-select_2.entry.js +5 -5
  115. package/dist/esm/zonos-link.entry.js +1 -1
  116. package/dist/esm/zonos-logo.entry.js +2 -2
  117. package/dist/esm/zonos-notification_3.entry.js +4 -4
  118. package/dist/esm/zonos-shipping-rich-radio.entry.js +1 -11
  119. package/dist/esm/zonos-tooltip.entry.js +2 -2
  120. package/dist/esm/zonos-v-stack.entry.js +2 -2
  121. package/dist/esm-es5/cart-bdc45f59.js +1 -0
  122. package/dist/esm-es5/{createCustomEvent-a18e45a2.js → createCustomEvent-4db13122.js} +1 -1
  123. package/dist/esm-es5/index.js +1 -1
  124. package/dist/esm-es5/loader.js +1 -1
  125. package/dist/esm-es5/{paypal-edab4cee.js → paypal-1b29d424.js} +1 -1
  126. package/dist/esm-es5/zonos-address_7.entry.js +1 -0
  127. package/dist/esm-es5/zonos-badge.entry.js +1 -0
  128. package/dist/esm-es5/zonos-button_3.entry.js +1 -1
  129. package/dist/esm-es5/zonos-card.entry.js +1 -1
  130. package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -0
  131. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  132. package/dist/esm-es5/zonos-collapse.entry.js +1 -0
  133. package/dist/esm-es5/zonos-component.entry.js +1 -1
  134. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  135. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  136. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  137. package/dist/esm-es5/zonos-elements.js +1 -1
  138. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  139. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  140. package/dist/esm-es5/zonos-input.entry.js +1 -1
  141. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  142. package/dist/esm-es5/zonos-link.entry.js +1 -1
  143. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  144. package/dist/esm-es5/zonos-notification_3.entry.js +1 -1
  145. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
  146. package/dist/esm-es5/zonos-tooltip.entry.js +1 -1
  147. package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
  148. package/dist/scripts/index.d.ts +542 -494
  149. package/dist/scripts/index.js +1 -1
  150. package/dist/scripts/loadZonos.js +1 -1
  151. package/dist/scripts/zonos.js +1 -1
  152. package/dist/types/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.d.ts +12 -0
  153. package/dist/types/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.d.ts +4 -1
  154. package/dist/types/components/common/zonos-badge/zonos-badge.d.ts +9 -0
  155. package/dist/types/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.d.ts +2 -6
  156. package/dist/types/components/store/checkout/cart.d.ts +16 -7
  157. package/dist/types/components/store/checkout/stripe.d.ts +12 -2
  158. package/dist/types/components/store/translationStore/strings.arabic.d.ts +30 -0
  159. package/dist/types/components/store/translationStore/strings.base.d.ts +30 -0
  160. package/dist/types/components/store/translationStore/strings.chinese.d.ts +30 -0
  161. package/dist/types/components/store/translationStore/strings.danish.d.ts +30 -0
  162. package/dist/types/components/store/translationStore/strings.dutch.d.ts +30 -0
  163. package/dist/types/components/store/translationStore/strings.french.d.ts +30 -0
  164. package/dist/types/components/store/translationStore/strings.german.d.ts +30 -0
  165. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +30 -0
  166. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +30 -0
  167. package/dist/types/components/store/translationStore/strings.italian.d.ts +30 -0
  168. package/dist/types/components/store/translationStore/strings.japanese.d.ts +30 -0
  169. package/dist/types/components/store/translationStore/strings.korean.d.ts +30 -0
  170. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +30 -0
  171. package/dist/types/components/store/translationStore/strings.polish.d.ts +30 -0
  172. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +30 -0
  173. package/dist/types/components/store/translationStore/strings.russian.d.ts +30 -0
  174. package/dist/types/components/store/translationStore/strings.spanish.d.ts +30 -0
  175. package/dist/types/components/store/translationStore/strings.swedish.d.ts +30 -0
  176. package/dist/types/components/store/translationStore/strings.turkish.d.ts +30 -0
  177. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +30 -0
  178. package/dist/types/components/store/translationStore.d.ts +1 -1
  179. package/dist/types/components/utils/api/triggerBuildLandedCost.d.ts +1 -0
  180. package/dist/types/components/utils/checkout/sortServiceLevelOptionsByAmount.d.ts +6 -0
  181. package/dist/types/components.d.ts +44 -8
  182. package/dist/types/types/checkout/api/CalculateLandedCost.d.ts +2 -0
  183. package/dist/types/types/generated/graphql.internal.types.d.ts +12 -0
  184. package/dist/types/types/generated/graphql.internal.types.ts +9 -0
  185. package/dist/zonos-elements/assets/ChevronUpIcon.svg +23 -1
  186. package/dist/zonos-elements/assets/RemoveIcon.svg +1 -1
  187. package/dist/zonos-elements/index.esm.js +1 -1
  188. package/dist/zonos-elements/{p-8cbbdd53.system.entry.js → p-00bb8221.system.entry.js} +1 -1
  189. package/dist/zonos-elements/{p-e468f85e.entry.js → p-017bf338.entry.js} +1 -1
  190. package/dist/zonos-elements/{p-1b8c8e0c.system.entry.js → p-01d11845.system.entry.js} +1 -1
  191. package/dist/zonos-elements/p-0cc8c6a3.system.js +1 -0
  192. package/dist/zonos-elements/p-1a92ff9a.system.entry.js +1 -0
  193. package/dist/zonos-elements/{p-92ba4082.system.entry.js → p-2140ccb4.system.entry.js} +1 -1
  194. package/dist/zonos-elements/{p-8dae668f.system.entry.js → p-2183128a.system.entry.js} +1 -1
  195. package/dist/zonos-elements/{p-1e4f7997.system.entry.js → p-22e81fee.system.entry.js} +1 -1
  196. package/dist/zonos-elements/p-278d61ed.js +1 -0
  197. package/dist/zonos-elements/p-2b60faf8.entry.js +1 -0
  198. package/dist/zonos-elements/p-2d2ff962.entry.js +1 -0
  199. package/dist/zonos-elements/{p-bc4a147d.entry.js → p-3347e142.entry.js} +1 -1
  200. package/dist/zonos-elements/{p-811ed9bf.system.entry.js → p-3457c5e8.system.entry.js} +1 -1
  201. package/dist/zonos-elements/{p-2a47d2cc.system.entry.js → p-38886017.system.entry.js} +1 -1
  202. package/dist/zonos-elements/{p-41f42a5c.entry.js → p-42636c5a.entry.js} +1 -1
  203. package/dist/zonos-elements/p-4abca0e9.system.entry.js +1 -0
  204. package/dist/zonos-elements/{p-e3cb74fd.system.js → p-4ec7afc5.system.js} +1 -1
  205. package/dist/zonos-elements/{p-25633055.entry.js → p-58832515.entry.js} +1 -1
  206. package/dist/zonos-elements/{p-19fc5e11.system.entry.js → p-5d186fc7.system.entry.js} +1 -1
  207. package/dist/zonos-elements/{p-a2fedd1c.entry.js → p-5fb337a0.entry.js} +1 -1
  208. package/dist/zonos-elements/{p-f3fc05a8.entry.js → p-6a5d714a.entry.js} +1 -1
  209. package/dist/zonos-elements/{p-fca6f444.entry.js → p-6a83b682.entry.js} +1 -1
  210. package/dist/zonos-elements/{p-97f0d9d2.entry.js → p-6aa35f18.entry.js} +1 -1
  211. package/dist/zonos-elements/{p-a3200d5c.entry.js → p-771e2623.entry.js} +1 -1
  212. package/dist/zonos-elements/{p-7ca0622f.js → p-7cc5e325.js} +1 -1
  213. package/dist/zonos-elements/p-7f3aeb53.system.entry.js +1 -0
  214. package/dist/zonos-elements/p-844ec9f9.system.entry.js +1 -0
  215. package/dist/zonos-elements/p-9931bea7.system.entry.js +1 -0
  216. package/dist/zonos-elements/{p-7be7bd28.entry.js → p-997c8f07.entry.js} +1 -1
  217. package/dist/zonos-elements/{p-fac38f60.entry.js → p-9b911f6f.entry.js} +1 -1
  218. package/dist/zonos-elements/{p-95f0ffd1.system.entry.js → p-9cfa3736.system.entry.js} +1 -1
  219. package/dist/zonos-elements/{p-49478dba.system.js → p-a1fa0a1c.system.js} +1 -1
  220. package/dist/zonos-elements/{p-df4deb97.entry.js → p-a34f0674.entry.js} +1 -1
  221. package/dist/zonos-elements/{p-d26d827d.system.js → p-a6cff57f.system.js} +1 -1
  222. package/dist/zonos-elements/{p-a3e2592b.system.entry.js → p-ae7526a2.system.entry.js} +1 -1
  223. package/dist/zonos-elements/{p-6de38759.entry.js → p-afad2fae.entry.js} +1 -1
  224. package/dist/zonos-elements/{p-264fbd27.entry.js → p-b0303b0e.entry.js} +1 -1
  225. package/dist/zonos-elements/{p-a033685e.system.entry.js → p-c2b7b670.system.entry.js} +1 -1
  226. package/dist/zonos-elements/{p-d775bd42.entry.js → p-c6350880.entry.js} +1 -1
  227. package/dist/zonos-elements/p-c78dd680.system.js +1 -1
  228. package/dist/zonos-elements/p-ce41cbde.js +1 -0
  229. package/dist/zonos-elements/p-cec3e1ed.entry.js +1 -0
  230. package/dist/zonos-elements/{p-ba05f1d6.system.entry.js → p-d621f462.system.entry.js} +1 -1
  231. package/dist/zonos-elements/{p-f7b5ae86.system.entry.js → p-e3df5ff6.system.entry.js} +1 -1
  232. package/dist/zonos-elements/{p-f4765417.entry.js → p-e93b511f.entry.js} +1 -1
  233. package/dist/zonos-elements/{p-747eed39.entry.js → p-ea68ee1f.entry.js} +1 -1
  234. package/dist/zonos-elements/{p-51f8c3d5.system.entry.js → p-f1d043ad.system.entry.js} +1 -1
  235. package/dist/zonos-elements/p-f1e452e1.entry.js +1 -0
  236. package/dist/zonos-elements/{p-de93cc65.system.entry.js → p-f68c38d8.system.entry.js} +1 -1
  237. package/dist/zonos-elements/{p-d56f87ab.system.entry.js → p-f7bbdd0c.system.entry.js} +1 -1
  238. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  239. package/package.json +1 -1
  240. package/dist/esm-es5/cart-9bf6dece.js +0 -1
  241. package/dist/esm-es5/zonos-address_8.entry.js +0 -1
  242. package/dist/esm-es5/zonos-badge_13.entry.js +0 -1
  243. package/dist/types/components/utils/checkout/sortServiceLevelOptions.d.ts +0 -5
  244. package/dist/zonos-elements/p-214724f8.system.entry.js +0 -1
  245. package/dist/zonos-elements/p-23358611.js +0 -1
  246. package/dist/zonos-elements/p-62044821.system.js +0 -1
  247. package/dist/zonos-elements/p-6b4fec5a.js +0 -1
  248. package/dist/zonos-elements/p-6f821997.entry.js +0 -1
  249. package/dist/zonos-elements/p-a1c5c1a2.entry.js +0 -1
  250. package/dist/zonos-elements/p-d08ed3ea.system.entry.js +0 -1
  251. package/dist/zonos-elements/p-f4667002.system.entry.js +0 -1
@@ -1,12 +1,10 @@
1
- import { d as cartStore, l as localizationStore } from './cart-9bf6dece.js';
1
+ import { d as cartStore, l as localizationStore } from './cart-bdc45f59.js';
2
2
  import { z as zonosStore } from './zonosStore-0dc7a947.js';
3
3
  import { h as handleFetch } from './handleFetch-0133265e.js';
4
4
 
5
5
  const trackConversionEvent = async (eventName, metadata) => {
6
6
  var _a, _b;
7
7
  const isDevelopment = window.location.href.includes('zonos.com') ||
8
- // legacy mock checkout, no need to track analytics for this
9
- window.location.href.includes('checkout.iglobalstores.com') ||
10
8
  !!((_a = window.Zonos) === null || _a === void 0 ? void 0 : _a.zonosQaUrl) ||
11
9
  !!((_b = window.Zonos) === null || _b === void 0 ? void 0 : _b.debug);
12
10
  if (isDevelopment &&
package/dist/esm/index.js CHANGED
@@ -94,7 +94,7 @@ const getZonosQaUrl = () => {
94
94
  return null;
95
95
  }
96
96
  const qaUrl = extractZonosQaUrl(window.location.href);
97
- const cdnUrl = "https://v1.3.81.js.zonos.com";
97
+ const cdnUrl = "https://v1.3.83.js.zonos.com";
98
98
  // when the qaUrl is not set and the built URL is from the test domain, use the test domain for testing
99
99
  if (!qaUrl &&
100
100
  (cdnUrl.includes('test.') ||
@@ -278,10 +278,10 @@ const zonosLoadUrl = (() => {
278
278
  }
279
279
  return null;
280
280
  })();
281
- const ZONOS_URL = "https://v1.3.81.js.zonos.com";
282
- const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.81";
283
- const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.81";
284
- const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.81";
281
+ const ZONOS_URL = "https://v1.3.83.js.zonos.com";
282
+ const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.83";
283
+ const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.83";
284
+ const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.83";
285
285
  const INTER_FONT_URL = 'https://rsms.me';
286
286
  const GOOGLE_FONT_URL = 'https://fonts.googleapis.com';
287
287
  const INTER_FONT_REGEX = /^https:\/\/rsms\.me\/inter\/inter\.css(.*)$/;
@@ -296,7 +296,7 @@ Zonos.zonosConversionTest = typeof window !== 'undefined' &&
296
296
  !!window.location.search.match(/\?.*(&*)zonosConversionTest/);
297
297
  Zonos._paypalMockResponse = null;
298
298
  Zonos.isBigCommerce = false;
299
- Zonos.releaseDate = "1728674078511";
299
+ Zonos.releaseDate = "1728684691259";
300
300
  Zonos.isLegacyCheckout = false;
301
301
  /**
302
302
  * By default, the package will load from npm
@@ -304,7 +304,7 @@ Zonos.isLegacyCheckout = false;
304
304
  Zonos.isNpm = true;
305
305
  Zonos.zonosQaUrl = null;
306
306
  Zonos.zonosQaUrlApi = null;
307
- Zonos.version = `v${"1.3.81"}`;
307
+ Zonos.version = `v${"1.3.83"}`;
308
308
  Zonos.modeAlerted = false;
309
309
  Zonos.cartData = null;
310
310
  Zonos.paypal = null;
@@ -5,7 +5,7 @@ import { g as globalScripts } from './app-globals-0f993ce5.js';
5
5
  const defineCustomElements = async (win, options) => {
6
6
  if (typeof window === 'undefined') return undefined;
7
7
  await globalScripts();
8
- return bootstrapLazy([["zonos-checkout",[[2,"zonos-checkout",{"appearanceSettingsOverride":[16],"preview":[4],"mobile":[4],"defaultAddress":[16],"forceDialogOpen":[4,"force-dialog-open"],"open":[32],"stripe":[32],"submitLoading":[32],"collapseReviewMobile":[32],"isAttachError":[32],"isMobile":[32],"zonosReviewRef":[32],"storybookPaymentStatusOverride":[32],"isLegacyCheckout":[32],"confirmDialogOpen":[32],"inventoryCheckErrorMessage":[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"]}]]],["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-text",[[1,"zonos-text",{"textColor":[1,"text-color"],"size":[1],"type":[1],"weight":[2],"ready":[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-banner",[[1,"zonos-banner",{"bannerTitle":[1,"banner-title"],"intent":[1],"hasContent":[32]}]]],["zonos-v-stack",[[1,"zonos-v-stack",{"spacing":[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-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-shipping-rich-radio",[[1,"zonos-shipping-rich-radio",{"items":[16],"borderColor":[1,"border-color"],"borderStyle":[1,"border-style"],"theme":[1],"initialSelectedValue":[8,"initial-selected-value"],"selectedItem":[32]}]]],["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-country-flag",[[1,"zonos-country-flag",{"countryCode":[1,"country-code"],"size":[2]}]]],["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-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"],"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"]}],[1,"zonos-collapse",{"collapsed":[4],"collapseSize":[2,"collapse-size"],"height":[32],"iframe":[32]}]]],["zonos-badge_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]}],[2,"zonos-checkout-payment",{"submitBtnType":[1,"submit-btn-type"],"continueLoading":[4,"continue-loading"],"submitBtnColor":[1,"submit-btn-color"],"showErrorBanner":[32]}],[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],"isSelecting":[32],"showErrorBanner":[32],"serviceLevels":[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]}],[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"],"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-badge",{"bold":[4],"badgeColor":[1,"badge-color"],"icon":[16],"iconRight":[4,"icon-right"],"size":[1],"rounded":[4]}],[1,"zonos-cart-items",{"errorImages":[32]}],[1,"zonos-cart-subtotal"],[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([["zonos-checkout",[[2,"zonos-checkout",{"appearanceSettingsOverride":[16],"preview":[4],"mobile":[4],"defaultAddress":[16],"forceDialogOpen":[4,"force-dialog-open"],"open":[32],"stripe":[32],"submitLoading":[32],"collapseReviewMobile":[32],"isAttachError":[32],"isMobile":[32],"zonosReviewRef":[32],"storybookPaymentStatusOverride":[32],"isLegacyCheckout":[32],"confirmDialogOpen":[32],"inventoryCheckErrorMessage":[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"]}]]],["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-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-banner",[[1,"zonos-banner",{"bannerTitle":[1,"banner-title"],"intent":[1],"hasContent":[32]}]]],["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-language-select_2",[[1,"zonos-language-select",{"handleOnClose":[16]}],[1,"zonos-select-dialog-header",{"handleOnClose":[16],"label":[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-collapse",[[1,"zonos-collapse",{"collapsed":[4],"collapseSize":[2,"collapse-size"],"height":[32],"iframe":[32]}]]],["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-country-flag",[[1,"zonos-country-flag",{"countryCode":[1,"country-code"],"size":[2]}]]],["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-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"],"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_12",[[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]}],[2,"zonos-checkout-payment",{"submitBtnType":[1,"submit-btn-type"],"continueLoading":[4,"continue-loading"],"submitBtnColor":[1,"submit-btn-color"],"showErrorBanner":[32]}],[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]}],[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]}],[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"],"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-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,5 +1,5 @@
1
1
  import { z as zonosStore, c as createStore } from './zonosStore-0dc7a947.js';
2
- import { d as cartStore, r as stripeStoreHandleInventoryCheck, t as translate, q as cartStoreNextStep, h as cartStoreClearCheckoutInterval } from './cart-9bf6dece.js';
2
+ import { d as cartStore, r as stripeStoreHandleInventoryCheck, t as translate, q as cartStoreNextStep, h as cartStoreClearCheckoutInterval } from './cart-bdc45f59.js';
3
3
  import { h as handleFetch, l as log, a as logError, j as jsonParse } from './handleFetch-0133265e.js';
4
4
  import { t as tinycolor } from './isDarkColor-b3afa948.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, d as getElement } from './index-86b8247e.js';
2
- import { j as stripeStore, l as localizationStore, t as translate } from './cart-9bf6dece.js';
2
+ import { j as stripeStore, l as localizationStore, t as translate } from './cart-bdc45f59.js';
3
3
  import { i as isCheckoutMobile } from './isCheckoutMobile-8846dccb.js';
4
4
  import { a as logError } from './handleFetch-0133265e.js';
5
5
  import { i as isTextContainsNonLatinChars, c as containsNonLatinChars } from './containsNonLatinChars-2d8810c3.js';
@@ -143,7 +143,7 @@ const ZonosAddress = class {
143
143
  }
144
144
  render() {
145
145
  // this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
146
- return (h(Host, { key: '2cecb49ed22bd0d5ce22c4f2110b37ecf7935cca', class: "zonos--address zonos--elements" }, h("zonos-text", { key: '101635210ab6cb3b9a44b47eec101187d1c3a4ac', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: '049f2b86986471d45bd413813307ec489d9f1993', class: "zonos--address-component" })));
146
+ return (h(Host, { key: 'c8d513bc9890590db622ec8f26d4e9b0694c33e5', class: "zonos--address zonos--elements" }, h("zonos-text", { key: '775b454620360bed4186a23371bc3867a5745155', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: '4844b5379a33a3668cae0036c1a952cd42229efb', class: "zonos--address-component" })));
147
147
  }
148
148
  get el() { return getElement(this); }
149
149
  static get watchers() { return {
@@ -443,72 +443,18 @@ const ZonosCheckbox = class {
443
443
  customRoundRadius: '4px',
444
444
  overrideBorderStyle: this.borderStyle,
445
445
  });
446
- return (h(Host, { key: 'bf51dd642e88096e874d78023a29dd68239e8d3a', class: classes(['zonos--elements zonos--checkbox']), style: {
446
+ return (h(Host, { key: '8613d885c639d01671743dbdb0583c390718c732', class: classes(['zonos--elements zonos--checkbox']), style: {
447
447
  '--background-color': backgroundColor,
448
448
  '--border-radius': borderStyle,
449
449
  '--font-family': zonosStoreFontFamily(),
450
450
  '--size': `${this.size}px`,
451
- } }, h("label", { key: '3598c9f21285304499aaafbab5226d619ecf4e69', class: classes([this.isDisabled && 'disabled']) }, h("input", { key: '277507f643404e6e44191c2d715b70f38fc6af85', checked: this.isChecked, disabled: this.isDisabled, hidden: true, onChange: e => {
451
+ } }, h("label", { key: '803434d7a63e1735bf0ef15a9e4c7fb515bfff41', class: classes([this.isDisabled && 'disabled']) }, h("input", { key: 'a19a46a896597f4c47d4ec790a21b5133c13b952', checked: this.isChecked, disabled: this.isDisabled, hidden: true, onChange: e => {
452
452
  this.checkboxSelected.emit(e.target.checked);
453
- }, type: "checkbox" }), h("span", { key: '3f0fd0d458e8cf660fa883ceaa241e3397829548', class: "checkmark-container" }, h("svg", { key: '0d654744bea5b5696ddcf3778a155fb622022f1e', class: "checkmark", color: checkmarkColor, fill: "none", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'cc19837ee088feb7053fdaeaea0d1213cbc60775', "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: 'cb85d59651f67a33126d37c3ebfb1e8a91b457fe', size: this.fontSize }, this.label)))));
453
+ }, type: "checkbox" }), h("span", { key: '7f4b933f9626bc05f052d79fa25a0c46ee16f492', class: "checkmark-container" }, h("svg", { key: '775d0b011a1430f712e8f633e2850d6f6e193f36', class: "checkmark", color: checkmarkColor, fill: "none", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'eef97178731ac1bf9885d5cfd57afa514c20df5f', "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: '0f72347f0b21817cd176393219374008a056b590', size: this.fontSize }, this.label)))));
454
454
  }
455
455
  };
456
456
  ZonosCheckbox.style = ZonosCheckboxStyle0;
457
457
 
458
- const zonosCollapseCss = ":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{-webkit-transition:all 0.3s ease-in-out;transition:all 0.3s ease-in-out;overflow:hidden}:host div{position:relative}:host iframe{width:0;height:100%;position:absolute;top:0;border:0}";
459
- const ZonosCollapseStyle0 = zonosCollapseCss;
460
-
461
- const ZonosCollapse = class {
462
- constructor(hostRef) {
463
- registerInstance(this, hostRef);
464
- this.collapsed = false;
465
- this.collapseSize = 0;
466
- this.height = this.el.scrollHeight;
467
- this.iframe = null;
468
- }
469
- getElementHeight() {
470
- const fullHeight = `${this.height}px`;
471
- const collapsedHeight = `${this.collapseSize}px`;
472
- return this.collapsed ? collapsedHeight : fullHeight;
473
- }
474
- componentDidLoad() {
475
- this.height = this.el.scrollHeight;
476
- }
477
- componentDidRender() {
478
- var _a, _b, _c;
479
- this.iframe =
480
- ((_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('iframe')) || null;
481
- (_c = (_b = this.iframe) === null || _b === void 0 ? void 0 : _b.contentWindow) === null || _c === void 0 ? void 0 : _c.addEventListener('resize', () => {
482
- if (!this.iframe) {
483
- // this should never happen since it's inside of resize callback
484
- return;
485
- }
486
- this.height = parseFloat(getComputedStyle(this.iframe).height);
487
- });
488
- }
489
- render() {
490
- if (!this.collapsed) {
491
- // wait for the collapse animation to finish, then set overflow to visible
492
- setTimeout(() => {
493
- // if the element collapsed state is still not changed, set overflow to visible
494
- if (!this.collapsed) {
495
- this.el.style.overflow = 'visible';
496
- }
497
- }, 300);
498
- }
499
- else {
500
- // set overflow to hidden to prevent content from showing when collapsed
501
- this.el.style.overflow = 'hidden';
502
- }
503
- return (h(Host, { key: '7cc2167ab3dab1a975d141f3c58d3c5982c1645a', class: 'zonos--elements zonos--collapse', style: {
504
- '--font-family': zonosStoreFontFamily(),
505
- height: this.getElementHeight(),
506
- } }, h("div", { key: '1b791702f95066643ac82402a9fcff19b0fcc706' }, h("iframe", { key: '08f678a4ce92f5600c584e329e3039bc4588ff3a', class: "height-change-listener", tabindex: "-1", title: "collapse-height-change-listener" }), h("slot", { key: '83119f9ba9764c46fa7d1dd7b4c0b08c49033607' }))));
507
- }
508
- get el() { return getElement(this); }
509
- };
510
- ZonosCollapse.style = ZonosCollapseStyle0;
511
-
512
458
  const RemoveIcon = `<svg xmlns="https://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path fill="#C5C6CA" fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z" clip-rule="evenodd"/><path fill="#4D505A" fill-rule="evenodd" d="M8.293 8.293a1 1 0 0 1 1.414 0L12 10.586l2.293-2.293a1 1 0 1 1 1.414 1.414L13.414 12l2.293 2.293a1 1 0 0 1-1.414 1.414L12 13.414l-2.293 2.293a1 1 0 0 1-1.414-1.414L10.586 12 8.293 9.707a1 1 0 0 1 0-1.414Z" clip-rule="evenodd"/></svg>`;
513
459
 
514
460
  const zonosDialogCss = ":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 .zonos--backdrop,:host .zonos--dialog-layout{opacity:0;z-index:-999;visibility:hidden;-webkit-transition:0.3s all ease;transition:0.3s all ease}:host .zonos--backdrop{width:100vw;height:100vh;left:0;top:0;background:var(--zonos-elements-backdrop-color);position:fixed}:host .zonos--loading{position:absolute;left:0;right:0;bottom:0;top:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;z-index:2147483009;background:var(--zonos-elements-gray-0);border-radius:var(--border-radius, var(--zonos-elements-radius-10))}:host .zonos--dialog-layout{width:100vw;height:100vh;left:0;top:0;position:fixed;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;color:var(--zonos-elements-text-color);visibility:hidden}:host .zonos--dialog{position:relative;z-index:2147483008;background:var(--zonos-elements-gray-0);max-width:90vw;max-height:90vh;min-height:var(--min-height, auto);height:var(--height, auto);width:var(--width, auto);border-radius:var(--border-radius, var(--zonos-elements-radius-10));outline:none;-webkit-box-shadow:var(--zonos-elements-v3-shadow-xxl);box-shadow:var(--zonos-elements-v3-shadow-xxl);border:var(--zonos-elements-border);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host .zonos--header{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;padding:16px 24px}:host .zonos--header .-zonos-stencil-library--header-text{-ms-flex-positive:1;flex-grow:1}:host .zonos--header .zonos--close-button{width:var(--zonos-elements-size-md);height:var(--zonos-elements-size-md);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;cursor:pointer;border-radius:var(--zonos-elements-radius-10);-ms-flex-item-align:start;align-self:flex-start}:host .zonos--header .zonos--close-button:hover{background:var(--zonos-elements-hover-color)}:host .zonos--body{padding:8px 24px;max-height:100%;height:100%;overflow:auto}:host .zonos--body.zonos--no-body-padding{padding:0}:host .zonos--footer{padding:16px 24px}:host(.open) .zonos--dialog-layout,:host(.open) .zonos--backdrop{visibility:visible}:host(.open) .zonos--backdrop{z-index:2147483008;opacity:0.65}:host(.open) .zonos--dialog-layout{opacity:1;z-index:2147483009;-webkit-transform:scale(1);transform:scale(1)}:host(.no-border) .zonos--dialog{border:none}:host(.mobile) .zonos--dialog{max-width:100vw;max-height:100vh;height:100%;width:100%;border-radius:0;-webkit-box-shadow:none;box-shadow:none;border:none}";
@@ -570,7 +516,7 @@ const ZonosDialog = class {
570
516
  const borderStyle = getBorderRadius({
571
517
  overrideBorderStyle: this.borderStyle,
572
518
  });
573
- return (h(Host, { key: '03735385e07c7f6c8a87df42ad95f8c9d9533668', class: classes([
519
+ return (h(Host, { key: '0ba21daff1a07b91701cec30ff80c0b10a8f5344', class: classes([
574
520
  'zonos--elements',
575
521
  this.open && 'open',
576
522
  this.isLoading && 'is-loading',
@@ -582,10 +528,10 @@ const ZonosDialog = class {
582
528
  '--height': this.height || 'initial',
583
529
  '--min-height': this.minHeight || '500px',
584
530
  '--width': this.width,
585
- } }, h("div", { key: 'da5d599e1a247f7e3364e6f5c9b2eae3db9539f5', class: "zonos--backdrop" }), h("div", { key: 'cda1a996d9521c2e0b307f7a03ca3ee3d4915b8d', class: "zonos--dialog-layout", inert: !this.open, onClick: this.clickOutsideDialogHandler }, h("div", { key: '471d8a069d4f580233bdb3e9e971efdb268ef57d', class: "zonos--dialog" }, this.isLoading && (h("div", { key: '57220007aabcaef133c2c0782fa238cc43d63964', class: "zonos--loading" }, h("zonos-spinner", { key: '0298b754341abd61ec07706128d05df5332f915d', size: 30 }))), (this.headerText || !this.noCloseButton) && (h("div", { key: '5103dbc1c7593a8042505f767d8290825f9d10e7', class: "zonos--header" }, this.headerText && (h("h3", { key: 'a2d9cd4c8cb359aa64cf104a172ca960068c20a0', class: "zonos--header-text" }, this.headerText)), !this.noCloseButton && (h("zonos-button", { key: 'de9bf8a949344d19fcb8bfb496719282553be194', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close dialog", content: RemoveIcon }), noBackground: true, onClick: this.closeButtonHandler, variant: "subtle" })))), h("div", { key: '1ec2cdca0f186cd0b28602580022ed0cb4b0eec9', class: classes([
531
+ } }, h("div", { key: '84c2c67ff9b89cf28cd7864a79e76daf9d0c5093', class: "zonos--backdrop" }), h("div", { key: 'c621463f2ca3721aacfdf666b0dd5a4749dd385a', class: "zonos--dialog-layout", inert: !this.open, onClick: this.clickOutsideDialogHandler }, h("div", { key: '61bf1362b55f4a7e515f3ab1b4fd9a0e1e1794b2', class: "zonos--dialog" }, this.isLoading && (h("div", { key: 'c84edec7ec322fc6a7eaf17ed54aeffd23dd4480', class: "zonos--loading" }, h("zonos-spinner", { key: '4f8e004e7286d053f195f9eea578dc416ff1d142', size: 30 }))), (this.headerText || !this.noCloseButton) && (h("div", { key: '196316fc1ec1e099b87ea36829d334c45c3a6a24', class: "zonos--header" }, this.headerText && (h("h3", { key: '452ba8e853ffe1fc278e4cb48dbdcc407d5257e6', class: "zonos--header-text" }, this.headerText)), !this.noCloseButton && (h("zonos-button", { key: '40933095b20bf1a993e142d58df10b50c0359b23', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close dialog", content: RemoveIcon }), noBackground: true, onClick: this.closeButtonHandler, variant: "subtle" })))), h("div", { key: '69a696e723483aafa595176dace2ed8bc3274836', class: classes([
586
532
  'zonos--body',
587
533
  this.noBodyPadding && 'zonos--no-body-padding',
588
- ]) }, h("slot", { key: '5071d921f48bf792a951a390d83b121e32771668' })), h("slot", { key: 'c1818ac301afc845f5b14fd0f2ac9a1fd3a27b99', name: "dialog-footer" })))));
534
+ ]) }, h("slot", { key: '53f5ea4e4bab900f4ddf720e3589862a40e3e91f' })), h("slot", { key: '1f7628b5749261e4e5ad703a78b5c9b276ad18e9', name: "dialog-footer" })))));
589
535
  }
590
536
  static get assetsDirs() { return ["assets"]; }
591
537
  };
@@ -632,7 +578,7 @@ const ZonosLinkAuthentication = class {
632
578
  }
633
579
  render() {
634
580
  // this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
635
- return (h(Host, { key: 'f0b26abf99ef99c6665dabdddebc9ff086b6816c', class: "zonos--link-authentication zonos--elements" }, h("zonos-text", { key: '898dbdffac06fe2a68af90610a22044bb72391ce', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: 'e2ec9abb0cf76a39a1262e1366e375dd898450cd', class: "zonos--link-authentication-component" })));
581
+ return (h(Host, { key: '7c110f013b4e24c92a4194045dc084fb795d0f91', class: "zonos--link-authentication zonos--elements" }, h("zonos-text", { key: 'dcbbd48a47c696641fbd64cdfff16946824ffc46', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: 'a77b5cb13e7e15b2a69efaa179abacc52061e9d0', class: "zonos--link-authentication-component" })));
636
582
  }
637
583
  get el() { return getElement(this); }
638
584
  static get watchers() { return {
@@ -641,4 +587,4 @@ const ZonosLinkAuthentication = class {
641
587
  };
642
588
  ZonosLinkAuthentication.style = ZonosLinkAuthenticationStyle0;
643
589
 
644
- 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, ZonosCollapse as zonos_collapse, ZonosDialog as zonos_dialog, ZonosLinkAuthentication as zonos_link_authentication };
590
+ 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 };
@@ -0,0 +1,40 @@
1
+ import { r as registerInstance, h, H as Host } from './index-86b8247e.js';
2
+ import { d as zonosStoreFontFamily } from './zonosStore-0dc7a947.js';
3
+ import { c as classes } from './classes-0d95c529.js';
4
+
5
+ const RemoveLineIcon = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
6
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M10.8282 5.17184C11.0235 5.3671 11.0235 5.68368 10.8282 5.87894L8.70688 8.00026L10.8282 10.1216C11.0235 10.3168 11.0235 10.6334 10.8282 10.8287C10.6329 11.024 10.3164 11.024 10.1211 10.8287L7.99978 8.70737L5.87846 10.8287C5.68319 11.024 5.36661 11.024 5.17135 10.8287C4.97609 10.6334 4.97609 10.3168 5.17135 10.1216L7.29267 8.00026L5.17135 5.87894C4.97609 5.68368 4.97609 5.3671 5.17135 5.17184C5.36661 4.97658 5.68319 4.97658 5.87846 5.17184L7.99978 7.29316L10.1211 5.17184C10.3164 4.97658 10.6329 4.97658 10.8282 5.17184Z" fill="var(--zonos-elements-gray-800)"/>
7
+ </svg>
8
+ `;
9
+
10
+ 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:8px;font-size:var(--zonos-elements-font-size-s);padding:4px 8px;text-align:center;border-radius:var(--zonos-elements-radius-6);background-color:var(--zonos-elements-gray-100);color:var(--zonos-elements-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(--zonos-elements-gray-600);color:var(--zonos-elements-gray-100)}:host .blue{background-color:var(--zonos-elements-blue-100);color:var(--zonos-elements-blue-800)}:host .blue.bold{background-color:var(--zonos-elements-blue-600);color:var(--zonos-elements-blue-100)}:host .green{background-color:var(--zonos-elements-green-100);color:var(--zonos-elements-green-800)}:host .green.bold{background-color:var(--zonos-elements-green-600);color:var(--zonos-elements-green-100)}:host .red{background-color:var(--zonos-elements-red-100);color:var(--zonos-elements-red-800)}:host .red.bold{background-color:var(--zonos-elements-red-600);color:var(--zonos-elements-red-100)}:host .orange{background-color:var(--zonos-elements-orange-100);color:var(--zonos-elements-orange-800);border:1px solid var(--zonos-elements-orange-200)}:host .orange.bold{background-color:var(--zonos-elements-orange-600);color:var(--zonos-elements-orange-100)}:host .purple{background-color:var(--zonos-elements-purple-100);color:var(--zonos-elements-purple-800)}:host .purple.bold{background-color:var(--zonos-elements-purple-600);color:var(--zonos-elements-purple-100)}:host .cyan{background-color:var(--zonos-elements-cyan-100);color:var(--zonos-elements-cyan-800)}:host .cyan.bold{background-color:var(--zonos-elements-cyan-600);color:var(--zonos-elements-cyan-100)}:host .transparent{background-color:transparent;border:1px solid var(--zonos-elements-gray-200);color:var(--zonos-elements-gray-800)}:host .transparent.bold{background-color:var(--zonos-elements-glass-600);color:var(--zonos-elements-gray-100)}:host .zonos--badge-dismiss{cursor:pointer}";
11
+ const ZonosBadgeStyle0 = zonosBadgeCss;
12
+
13
+ const ZonosBadge = class {
14
+ constructor(hostRef) {
15
+ registerInstance(this, hostRef);
16
+ this.bold = false;
17
+ this.badgeColor = 'gray';
18
+ this.icon = undefined;
19
+ this.iconRight = false;
20
+ this.size = 'default';
21
+ this.rounded = false;
22
+ this.loading = false;
23
+ this.dismissHandler = undefined;
24
+ }
25
+ render() {
26
+ return (h(Host, { key: '9704ae6d10af4b720e1edf9ccc0263d4463e64f2', class: classes(['zonos--elements zonos--badge']), style: {
27
+ '--font-family': zonosStoreFontFamily(),
28
+ } }, h("div", { key: 'e395b7477591edff91059aefc4d3858f45d61098', class: classes([
29
+ 'zonos--badge-content',
30
+ this.badgeColor,
31
+ this.rounded && 'rounded',
32
+ this.iconRight && 'icon-right',
33
+ this.size,
34
+ this.bold && 'bold',
35
+ ]) }, this.icon, h("zonos-text", { key: '92eeb162849c9036bb102012e14fb6476b34b411', textColor: `${this.badgeColor}-800` }, h("slot", { key: '3a52067262d1ba34eb5952dc2f2eaeeb1daa624c' })), this.dismissHandler && (h("zonos-icon", { key: '7bb94d2b2204c81e7c21e31fe2769de2e0f0c19b', "aria-label": "Remove promo code", class: "zonos--badge-dismiss", content: RemoveLineIcon, onClick: () => { var _a; return (_a = this.dismissHandler) === null || _a === void 0 ? void 0 : _a.call(this); } })))));
36
+ }
37
+ };
38
+ ZonosBadge.style = ZonosBadgeStyle0;
39
+
40
+ export { ZonosBadge as zonos_badge };
@@ -155,12 +155,12 @@ const ZonosButton = class {
155
155
  const borderStyle = getBorderRadius({
156
156
  overrideBorderStyle: this.borderStyle,
157
157
  });
158
- return (h(Host, { key: '51f49811674e7ef1efe49389afc3fc70e4f5a46c', class: classes(['zonos--elements']), "data-theme": this.theme || buttonTheme, disabled: disabled, style: styles({
158
+ return (h(Host, { key: 'c8e781921a30afccbbe3dd187632aa06135420df', class: classes(['zonos--elements']), "data-theme": this.theme || buttonTheme, disabled: disabled, style: styles({
159
159
  '--background-color': backgroundColor,
160
160
  '--border-radius': borderStyle,
161
161
  '--color': color,
162
162
  '--font-family': zonosStoreFontFamily(),
163
- }) }, h("button", { key: 'f11f4f6877a0947df57dbe5baf658b69d91fff4d', class: classes([
163
+ }) }, h("button", { key: '1783400cd4ae43832789ba63649b7962d7e08d6c', class: classes([
164
164
  this.hasIcon && 'has-icon',
165
165
  this.hasContent && 'has-content',
166
166
  this.noBackground && 'no-background',
@@ -175,7 +175,7 @@ const ZonosButton = class {
175
175
  backgroundColor && variant === 'standard' && 'override-background',
176
176
  ]), disabled: disabled, style: {
177
177
  justifyContent: this.justifyContent,
178
- } }, this.loading && (h("div", { key: '35f474efa80cde690afd876863d25f3b46198ecf', class: "zonos--spinner-wrapper" }, h("zonos-spinner", { key: '7476edf05b7d85d5f2f6900a7ad97c49d2216dd8', size: 16, spinnerColor: spinnerColor }))), !this.loading && !this.iconRight && this.icon, h("slot", { key: 'a4e8bfc0aef84561416ddc5f38602ed346db6f4b', onSlotchange: this.handleSlotChange }), !this.loading && this.iconRight && this.icon)));
178
+ } }, this.loading && (h("div", { key: '7f1c3907f9dbbc42613db7b976d358d477caaac4', class: "zonos--spinner-wrapper" }, h("zonos-spinner", { key: 'be0002a169ebf26eb4bbf65f5a057840a90fe937', size: 16, spinnerColor: spinnerColor }))), !this.loading && !this.iconRight && this.icon, h("slot", { key: '4204bc86e934884015fcd09be7ffe79931f5c112', onSlotchange: this.handleSlotChange }), !this.loading && this.iconRight && this.icon)));
179
179
  }
180
180
  static get delegatesFocus() { return true; }
181
181
  get ele() { return getElement(this); }
@@ -26,16 +26,16 @@ const ZonosCard = class {
26
26
  customRoundRadius: `${this.borderRadius}px`,
27
27
  overrideBorderStyle: 'ROUNDED',
28
28
  });
29
- return (h(Host, { key: 'e239a3af7d0bb71537ef94a13672ffa906adedd9', style: {
29
+ return (h(Host, { key: 'eb938f526afeb2d8c70b3ce6d5e219fb82dccd4b', style: {
30
30
  '--font-family': zonosStoreFontFamily(),
31
- } }, h("div", { key: '41efc14a60719dbf847be74385d8d1c4065cee84', class: classes(['styled-card']), style: {
31
+ } }, h("div", { key: 'd1c94fc6d2f2bc4fa157901116209a0ec2b2c6bc', class: classes(['styled-card']), style: {
32
32
  '--background-color': backgroundColor,
33
33
  '--border-radius': borderRadius,
34
34
  padding: this.spacing,
35
- } }, this.label && (h("header", { key: '012234fa59c5c50cf78ff7a4b2dc0efaecd3cc20', class: "card-header", style: { padding: this.spacing } }, h("zonos-text", { key: '133ae9f43b50edca812aa0aab203febbffc07318', type: "subheader" }, this.label), h("h-stack", { key: '542c1e7b4d1f1e0751231cff9cb4ae5df3a82fa6', spacing: 8 }, this.actions))), h("slot", { key: '307ff202ce1c090f37b3f377a3f64efbea7a2e67' }), (this.footerActions || this.footerContent) && (h("footer", { key: '6641fba300b6acf06a650a73393612e774e79f1a', class: "card-footer", style: {
35
+ } }, this.label && (h("header", { key: 'c91e1e4620f6c16a51cb0240528cf17de5f65192', class: "card-header", style: { padding: this.spacing } }, h("zonos-text", { key: 'c0516125052b5369f49fa90696f0f1ff9707cd76', type: "subheader" }, this.label), h("h-stack", { key: '025ee9b66a9f0d354efe41e16cbe7f78ea74cdf5', spacing: 8 }, this.actions))), h("slot", { key: '27805390a0d386f68f65cd23f86e04c5489eb291' }), (this.footerActions || this.footerContent) && (h("footer", { key: '7a6d615316e46f32f2dd70988c425edb99089fd9', class: "card-footer", style: {
36
36
  height: this.footerHeight ? `${this.footerHeight}px` : 'auto',
37
37
  padding: this.spacing,
38
- } }, h("div", { key: '40676761caaa588d4a503fe791e296829636e717' }, this.footerContent), h("h-stack", { key: 'f4f61d848c4b2e9c070b006146a88841a2f6f45f', spacing: 8 }, this.footerActions))))));
38
+ } }, h("div", { key: '72c6cba3976cfcaf693af897db891c015bba7cd6' }, this.footerContent), h("h-stack", { key: 'c52f116dae77617934090a33a89602f0f4bd5c5a', spacing: 8 }, this.footerActions))))));
39
39
  }
40
40
  };
41
41
  ZonosCard.style = ZonosCardStyle0;