@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
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-dd40cc85.js';
1
+ import { r as registerInstance, h } from './index-0e31d804.js';
2
2
 
3
3
  function format(first, middle, last) {
4
4
  return ((first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : ''));
@@ -18,7 +18,7 @@ const ZonosComponent = class {
18
18
  return format(this.first, this.middle, this.last);
19
19
  }
20
20
  render() {
21
- return h("div", { key: '9a5547114b58b739fb5d783f551bc345f067779d' }, "Hello, World! I'm ", this.getText());
21
+ return h("div", { key: '4d80a174a7fa12f620fc831eb7fe3f5ad8ad575b' }, "Hello, World! I'm ", this.getText());
22
22
  }
23
23
  };
24
24
  ZonosComponent.style = ZonosComponentStyle0;
@@ -1,8 +1,8 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-dd40cc85.js';
2
- import { r as handleFetch, d as logError, u as isValidSelector, a as log, j as stripeStore, v as initLocalizationStore, b as localizationStoreUpdateSelectedCountryCode } from './cart-9f9f26f9.js';
3
- import { z as zonosStore, b as zonosStoreInitSetting, d as zonosStoreFontFamily } from './zonosStore-c4c45591.js';
4
- import './isDarkColor-6bf71e51.js';
5
- import './getBorderRadius-a89e45fb.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-0e31d804.js';
2
+ import { r as handleFetch, d as logError, u as isValidSelector, a as log, j as stripeStore, v as initLocalizationStore, b as localizationStoreUpdateSelectedCountryCode } from './cart-515aac56.js';
3
+ import { z as zonosStore, b as zonosStoreInitSetting, d as zonosStoreFontFamily } from './zonosStore-f3eef64b.js';
4
+ import './isDarkColor-7a6d2d14.js';
5
+ import './getBorderRadius-8129b0cb.js';
6
6
 
7
7
  const getZonosSettings = async () => {
8
8
  const url = `${"https://v1.route.js.zonos.com"}/api/zonos-elements/zonos-settings`;
@@ -265,7 +265,7 @@ const ZonosController = class {
265
265
  zonosStore.organizationName = organizationName;
266
266
  }
267
267
  render() {
268
- return h(Host, { key: 'bd56d32009707ec9042ae5f8a87de7a7cedcca73', class: "zonos--elements" });
268
+ return h(Host, { key: 'e0869cf08934b9d047adef9875c9a5f50d604bdf', class: "zonos--elements" });
269
269
  }
270
270
  };
271
271
  ZonosController.style = ZonosControllerStyle0;
@@ -1,9 +1,9 @@
1
- import { r as registerInstance, h, H as Host, d as getElement } from './index-dd40cc85.js';
2
- import { l as localizationStore } from './cart-9f9f26f9.js';
3
- import { 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 { l as localizationStore } from './cart-515aac56.js';
3
+ import { d as zonosStoreFontFamily } from './zonosStore-f3eef64b.js';
4
4
  import { c as classes } from './classes-0d95c529.js';
5
- import './isDarkColor-6bf71e51.js';
6
- import './getBorderRadius-a89e45fb.js';
5
+ import './isDarkColor-7a6d2d14.js';
6
+ import './getBorderRadius-8129b0cb.js';
7
7
 
8
8
  const zonosCountryFlagCss = ":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 .flag-container{position:relative;overflow:hidden;width:100%;height:100%}:host .flag-icon{position:absolute;top:0;left:0;width:100%;height:100%;background-position:center;background-repeat:no-repeat;background-size:cover}";
9
9
  const ZonosCountryFlagStyle0 = zonosCountryFlagCss;
@@ -1,15 +1,15 @@
1
- import { r as registerInstance, h, H as Host, d as getElement } from './index-dd40cc85.js';
2
- import { b as localizationStoreUpdateSelectedCountryCode, l as localizationStore } from './cart-9f9f26f9.js';
3
- import { 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 { b as localizationStoreUpdateSelectedCountryCode, l as localizationStore } from './cart-515aac56.js';
3
+ import { d as zonosStoreFontFamily } from './zonosStore-f3eef64b.js';
4
4
  import { f as formatStringWithLinks } from './formatStringWithLinks-9e819405.js';
5
- import { i as isDarkColor } from './isDarkColor-6bf71e51.js';
5
+ import { i as isDarkColor } from './isDarkColor-7a6d2d14.js';
6
6
  import { l as languages } from './ILanguage-97790bee.js';
7
- import './getBorderRadius-a89e45fb.js';
7
+ import './getBorderRadius-8129b0cb.js';
8
8
 
9
9
  /**
10
- * Fuse.js v6.6.2 - Lightweight fuzzy-search (http://fusejs.io)
10
+ * Fuse.js v7.0.0 - Lightweight fuzzy-search (http://fusejs.io)
11
11
  *
12
- * Copyright (c) 2022 Kiro Risk (http://kiro.me)
12
+ * Copyright (c) 2023 Kiro Risk (http://kiro.me)
13
13
  * All Rights Reserved. Apache Software License 2.0
14
14
  *
15
15
  * http://www.apache.org/licenses/LICENSE-2.0
@@ -107,8 +107,6 @@ class KeyStore {
107
107
  keys.forEach((key) => {
108
108
  let obj = createKey(key);
109
109
 
110
- totalWeight += obj.weight;
111
-
112
110
  this._keys.push(obj);
113
111
  this._keyMap[obj.id] = obj;
114
112
 
@@ -1772,7 +1770,7 @@ class Fuse {
1772
1770
  }
1773
1771
  }
1774
1772
 
1775
- Fuse.version = '6.6.2';
1773
+ Fuse.version = '7.0.0';
1776
1774
  Fuse.createIndex = createIndex;
1777
1775
  Fuse.parseIndex = parseIndex;
1778
1776
  Fuse.config = Config;
@@ -1826,9 +1824,9 @@ const ZonosCountrySelect = class {
1826
1824
  const filteredCountries = this.inputValue
1827
1825
  ? fuseObject.map(country => country.item)
1828
1826
  : countries.sort((a, b) => a.displayName.localeCompare(b.displayName));
1829
- return (h(Host, { key: '0024a7061a593cf3c92fd7f6b5916aaac3a835c9', class: "zonos--elements", style: {
1827
+ return (h(Host, { key: 'ae921c5a4aa83cdde8f42d8993603e824344f11a', class: "zonos--elements", style: {
1830
1828
  '--font-family': zonosStoreFontFamily(),
1831
- } }, h("div", { key: 'e6ef5d8cc13e731c94ee5ef037c02eac36d9bce6', class: "zonos--country-select" }, h("zonos-v-stack", { key: 'f698da7688757b6728e99e0cecb21ac4ce586d30', class: "zonos--country-select-header", spacing: 8 }, h("zonos-select-dialog-header", { key: 'd37801e6023262a582d3ecc6e3a39f505f7e82b8', handleOnClose: () => this.handleOnClose(), label: "Select a country" }, h("input", { key: '6f053c963f5e25b5285a94070336650537bbdad3', class: "zonos--country-select-input", onInput: this.handleInputChange, placeholder: "Search countries", value: this.inputValue }))), h("div", { key: '3d3e180b204bf9fa0893fec7839f1d0d5c4740c1', class: "zonos--country-select-content" }, filteredCountries.map(country => (h("button", { class: "zonos--country-select-country", onClick: () => this.countrySelected(country.code) }, h("zonos-country-flag", { class: "zonos--country-flag", countryCode: country.code }), h("zonos-text", { textColor: "gray-800" }, country.displayName), country.code === localizationStore.selectedCountryCode && (h("zonos-icon", { content: GreenCheckDuotoneIcon, size: 20 })))))))));
1829
+ } }, h("div", { key: 'b3bd4c0a0a4aeee8f4de78aadd8cd26b69e060a3', class: "zonos--country-select" }, h("zonos-v-stack", { key: 'aae54d33cc8a3b6befcbb259f92320da230df5be', class: "zonos--country-select-header", spacing: 8 }, h("zonos-select-dialog-header", { key: '8627db51744e70f94ce01a024ac38343d7f2ee00', handleOnClose: () => this.handleOnClose(), label: "Select a country" }, h("input", { key: 'affa5003e513bae802cdf029f3996cc2dd31f7d4', class: "zonos--country-select-input", onInput: this.handleInputChange, placeholder: "Search countries", value: this.inputValue }))), h("div", { key: '8b892a23cb69d44d886b69a7a038e3a98c97eb1b', class: "zonos--country-select-content" }, filteredCountries.map(country => (h("button", { class: "zonos--country-select-country", onClick: () => this.countrySelected(country.code) }, h("zonos-country-flag", { class: "zonos--country-flag", countryCode: country.code }), h("zonos-text", { textColor: "gray-800" }, country.displayName), country.code === localizationStore.selectedCountryCode && (h("zonos-icon", { content: GreenCheckDuotoneIcon, size: 20 })))))))));
1832
1830
  }
1833
1831
  get ele() { return getElement(this); }
1834
1832
  };
@@ -1845,9 +1843,9 @@ const ZonosCustomMessage = class {
1845
1843
  }
1846
1844
  render() {
1847
1845
  const messageWithLinks = formatStringWithLinks(this.message);
1848
- return (h(Host, { key: 'b09b7025fb55c4323aaa24ccb7e410d1638bed8a', class: "zonos--elements", style: {
1846
+ return (h(Host, { key: 'b917fa2e0b2293b3423ba8910cca667b62c3b7c0', class: "zonos--elements", style: {
1849
1847
  '--font-family': zonosStoreFontFamily(),
1850
- } }, this.message && (h("zonos-card", { class: "zonos--custom-message", spacing: "12px" }, h("div", { class: "zonos--flex-message" }, h("zonos-icon", { "aria-label": "Custom message icon", content: this.icon }), h("zonos-text", { innerHTML: messageWithLinks }))))));
1848
+ } }, this.message && (h("zonos-card", { key: '28d3e6d986ee9a2d56ddb173f1e1e5094d18634a', class: "zonos--custom-message", spacing: "12px" }, h("div", { key: '526de02e727a977f42e5547fc1ba0c91d682e72f', class: "zonos--flex-message" }, h("zonos-icon", { key: '0e2360d11bff3c94c3ba722a0a2b4767f04232fc', "aria-label": "Custom message icon", content: this.icon }), h("zonos-text", { key: 'fa8c7e5042f1d622053ccd86bb52b51304ffc83e', innerHTML: messageWithLinks }))))));
1851
1849
  }
1852
1850
  };
1853
1851
  ZonosCustomMessage.style = ZonosCustomMessageStyle0;
@@ -1879,9 +1877,9 @@ const ZonosHelloDialogFooter = class {
1879
1877
  const primaryColor = (_a = this.appearanceSettings) === null || _a === void 0 ? void 0 : _a.colorPrimary;
1880
1878
  const footerTheme = primaryColor && isDarkColor(primaryColor) ? 'DARK' : 'LIGHT';
1881
1879
  const language = (_b = languages.find(x => x.code === localizationStore.selectedLocale)) === null || _b === void 0 ? void 0 : _b.translatedLabel;
1882
- return (h(Host, { key: 'ae185b9859f64fea077e093af2decc170f24170b', class: "zonos--elements" }, h("div", { key: 'c472973505ab6cde075af193df735d0524fc35a0', class: "zonos--hello-dialog-footer", "data-theme": footerTheme, style: {
1880
+ return (h(Host, { key: '046b97e6ed7c35e5e9a244d0ffc3b59dfd206a8a', class: "zonos--elements" }, h("div", { key: '9134e27c1ec407b7661b6b92cd37cd17333e0f15', class: "zonos--hello-dialog-footer", "data-theme": footerTheme, style: {
1883
1881
  '--primary-color': (_c = this.appearanceSettings) === null || _c === void 0 ? void 0 : _c.colorPrimary,
1884
- } }, h("a", { key: '95cb8c09a3a3f566365f0044d6fcdcf6a82facee', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, h("zonos-icon", { key: 'e11df129f087f9de259c2f24bd294f8d0a881e0d', "aria-label": "Zonos Logo", autoHeight: true, content: ZonosIcon, iconColor: "gray-1200", size: 108 })), h("div", { key: 'df26ef41d24395a2db6d8e3c9dc83a62e0e707ef', class: "zonos--hello-locale-wrapper" }, h("zonos-button", { key: '9b1797c3fdd17044fecb6ae4526d3c053d1ab59a', buttonColor: "gray-1200", icon: h("zonos-icon", { "aria-label": "Open language select", content: Globe, iconColor: "gray-1200" }), onClick: () => this.setShowLanguageSelect(true), variant: "subtle" }, language), h("zonos-button", { key: 'eac17e7e84dc2a80abfcbaed3753512e6358f8db', buttonColor: "gray-1200", icon: h("zonos-country-flag", { "aria-label": "Open country select", class: "zonos--footer-country-flag", countryCode: localizationStore.selectedCountryCode }), onClick: () => this.setShowCountrySelect(true), variant: "subtle" }, localizationStore.selectedCountryCode)))));
1882
+ } }, h("a", { key: '670c4627ff0297e2a4869a00e19032b3289396d7', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, h("zonos-icon", { key: 'b67dd84bc4a4a245a0f2117e5b063df659f12ef9', "aria-label": "Zonos Logo", autoHeight: true, content: ZonosIcon, iconColor: "gray-1200", size: 108 })), h("div", { key: '823af21d0e96c52eed9cb9b6b13faf875bba13c8', class: "zonos--hello-locale-wrapper" }, h("zonos-button", { key: 'edd4b9d15b9e2f5051bd5e3e524fcd0d93e66543', buttonColor: "gray-1200", icon: h("zonos-icon", { "aria-label": "Open language select", content: Globe, iconColor: "gray-1200" }), onClick: () => this.setShowLanguageSelect(true), variant: "subtle" }, language), h("zonos-button", { key: 'f350f61d47eb93d7ac8ebc5c8faddc932262f990', buttonColor: "gray-1200", icon: h("zonos-country-flag", { "aria-label": "Open country select", class: "zonos--footer-country-flag", countryCode: localizationStore.selectedCountryCode }), onClick: () => this.setShowCountrySelect(true), variant: "subtle" }, localizationStore.selectedCountryCode)))));
1885
1883
  }
1886
1884
  };
1887
1885
  ZonosHelloDialogFooter.style = ZonosHelloDialogFooterStyle0;
@@ -1,9 +1,9 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-dd40cc85.js';
2
- export { s as setNonce } from './index-dd40cc85.js';
1
+ import { p as promiseResolve, 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
  /*
6
- Stencil Client Patch Browser v4.12.6 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.16.0 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
  const patchBrowser = () => {
9
9
  const importMeta = import.meta.url;
@@ -1,11 +1,11 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-dd40cc85.js';
2
- import { B as currencyFormat, l as localizationStore, t as translate } from './cart-9f9f26f9.js';
3
- import { z as zonosStore } from './zonosStore-c4c45591.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-0e31d804.js';
2
+ import { B as currencyFormat, l as localizationStore, t as translate } from './cart-515aac56.js';
3
+ import { z as zonosStore } from './zonosStore-f3eef64b.js';
4
4
  import { c as classes } from './classes-0d95c529.js';
5
5
  import { f as formatStringWithLinks } from './formatStringWithLinks-9e819405.js';
6
6
  import { g as getHasMoreSpaceOnRight } from './getHasMoreSpaceOnRight-70eb913a.js';
7
- import './isDarkColor-6bf71e51.js';
8
- import './getBorderRadius-a89e45fb.js';
7
+ import './isDarkColor-7a6d2d14.js';
8
+ import './getBorderRadius-8129b0cb.js';
9
9
 
10
10
  const getHasMoreSpaceAbove = (ref) => {
11
11
  const componentRect = ref.getBoundingClientRect();
@@ -182,17 +182,17 @@ const ZonosHelloDialog = class {
182
182
  const defaultMessage = formatStringWithLinks(defaultMessageStr);
183
183
  const currentPage = this.getCurrentPageEnum();
184
184
  const filteredMessages = customMessages.filter(x => x.pageName === currentPage);
185
- return (h(Host, { key: 'ccabd686943b009ed6bb9c0ec64a6a4e7cc917f5', class: "zonos--elements" }, h("div", { key: '6bfbae15f5b43413fc76d21b94d0d56a2ce48f4d', "aria-hidden": "true", class: classes([
185
+ return (h(Host, { key: 'f300db080cf0634c72aae93aceae288ce67c500c', class: "zonos--elements" }, h("div", { key: 'e61bbf7022be71909ab56267721026f95b9fc2fc', "aria-hidden": "true", class: classes([
186
186
  'zonos--hello-dialog',
187
187
  animateLeft && 'zonos--hello-dialog-animate-from-left',
188
188
  animateFromBottom && 'zonos--hello-dialog-animate-from-bottom',
189
189
  !!this.mobileLocationOverride &&
190
190
  'zonos--hello-dialog-mobile-override',
191
191
  this.isOpen && 'zonos--hello-dialog-open',
192
- ]), ref: el => el && (this.dialogRef = el) }, !this.showCountrySelect && !this.showLanguageSelect && (h("div", null, h("div", { class: "zonos--hello-dialog-content" }, h("zonos-button", { class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close Zonos Hello dialog", content: RemoveIcon }), noBackground: true, onClick: () => this.setIsOpen(false) }), h("zonos-v-stack", { spacing: 24 }, h("zonos-country-flag", { class: "zonos--hello-country-flag", countryCode: selectedCountryCode }), h("zonos-v-stack", { class: "zonos--hello-dialog-header", spacing: 4 }, h("zonos-text", { type: "boldSubheader" }, welcomeMessage), h("zonos-text", { innerHTML: defaultMessage, textColor: "gray-800" })), h("zonos-v-stack", { spacing: 8 }, this.restrictedItems.map(item => {
192
+ ]), ref: el => el && (this.dialogRef = el) }, !this.showCountrySelect && !this.showLanguageSelect && (h("div", { key: '909e251587e2650dbdc1afe5b19e9b3a55f72a18' }, h("div", { key: 'a4a79886507449ba688c87474d064528cae3779b', class: "zonos--hello-dialog-content" }, h("zonos-button", { key: '1e7a3e74f3f5ab94a70983a067cc08d596d9c5be', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close Zonos Hello dialog", content: RemoveIcon }), noBackground: true, onClick: () => this.setIsOpen(false) }), h("zonos-v-stack", { key: '1c981178390c120427d61f68a05808a95f8da72a', spacing: 24 }, h("zonos-country-flag", { key: '095e060cf50ee4525ea501e682735370c0c03cfa', class: "zonos--hello-country-flag", countryCode: selectedCountryCode }), h("zonos-v-stack", { key: '1db18e95118922462526c7092accf42639bd4fdd', class: "zonos--hello-dialog-header", spacing: 4 }, h("zonos-text", { key: 'f494d050c90922328f3e8ea3bd05e1cf9e6d239c', type: "boldSubheader" }, welcomeMessage), h("zonos-text", { key: 'b31645d57a3c5f25eb59b61482d4e383e3cb962c', innerHTML: defaultMessage, textColor: "gray-800" })), h("zonos-v-stack", { key: '1e8f0a656074cd830715d19685c2a3c9daced9be', spacing: 8 }, this.restrictedItems.map(item => {
193
193
  var _a;
194
194
  return item && (h("zonos-banner", { bannerTitle: item.name, intent: "error" }, (_a = item.itemRestrictions) === null || _a === void 0 ? void 0 : _a.map(x => (h("zonos-text", { textColor: "red-800" }, x === null || x === void 0 ? void 0 : x.note)))));
195
- }), h("zonos-card", { spacing: "12px" }, h("zonos-v-stack", { spacing: 12 }, h("div", { class: "zonos--flex-message" }, h("zonos-icon", { "aria-label": "Duty de minimis", content: ImportIcon }), h("zonos-text", null, dutyDeMinimisMessage)), h("div", { class: "zonos--flex-message" }, h("zonos-icon", { "aria-label": "Tax de minimis", content: MoneyIcon }), h("zonos-text", null, taxDeMinimisMessage)), additionalInformation && (h("div", { class: "zonos--flex-message" }, h("zonos-icon", { "aria-label": "Low value order shipping restriction", content: BagIcon }), h("zonos-text", null, additionalInformation))))), filteredMessages.map(x => (h("zonos-custom-message", { icon: MessageIcon, message: x.message })))))), h("zonos-hello-dialog-footer", { appearanceSettings: this.appearanceSettings, setShowCountrySelect: value => this.setShowCountrySelect(value), setShowLanguageSelect: value => this.setShowLanguageSelect(value) }))), this.showCountrySelect && (h("div", null, h("zonos-country-select", { handleOnClose: () => this.setShowCountrySelect(false) }))), this.showLanguageSelect && (h("div", null, h("zonos-language-select", { handleOnClose: () => this.setShowLanguageSelect(false) }))))));
195
+ }), h("zonos-card", { key: 'fd2c574714b2e0dafacb4f9390c81b7b6003c7d3', spacing: "12px" }, h("zonos-v-stack", { key: '41a9864f58ddc28f1767113f517a7a9cf3a0be6d', spacing: 12 }, h("div", { key: 'ced705bcf185987815a898a173d08c571017a052', class: "zonos--flex-message" }, h("zonos-icon", { key: '4724edca926eec5e050c711dcb96c6b914985695', "aria-label": "Duty de minimis", content: ImportIcon }), h("zonos-text", { key: '6c6d3b36897fd141ca83fbf008dae9f24ac56e40' }, dutyDeMinimisMessage)), h("div", { key: 'abe17715558f2ee3ded882eb2c5c1466904bfc8e', class: "zonos--flex-message" }, h("zonos-icon", { key: 'e8371f1e89a5b21947bfdcf73e6294bd6de49946', "aria-label": "Tax de minimis", content: MoneyIcon }), h("zonos-text", { key: '952485295cfec2d7ad1b61523bb05378bae08e34' }, taxDeMinimisMessage)), additionalInformation && (h("div", { key: 'abc0e4c7ddecbe85dd8f4b8adab15073b1b6a2db', class: "zonos--flex-message" }, h("zonos-icon", { key: '973ea223a40648ca8cac99bd0c839dd324894f1c', "aria-label": "Low value order shipping restriction", content: BagIcon }), h("zonos-text", { key: 'c6460eefa388097ed27e29d3a91055afbf8a5261' }, additionalInformation))))), filteredMessages.map(x => (h("zonos-custom-message", { icon: MessageIcon, message: x.message })))))), h("zonos-hello-dialog-footer", { key: 'daabdaf6f1f59e6e2ef3ad7516af60eb50a34633', appearanceSettings: this.appearanceSettings, setShowCountrySelect: value => this.setShowCountrySelect(value), setShowLanguageSelect: value => this.setShowLanguageSelect(value) }))), this.showCountrySelect && (h("div", { key: '88608070d3a34b3742eeac74cb836b98ddb171eb' }, h("zonos-country-select", { key: '91acd80a1549277528927512e9d299282a0e3d26', handleOnClose: () => this.setShowCountrySelect(false) }))), this.showLanguageSelect && (h("div", { key: '5b70e70778b8e863d1f256406f884179a01d9de2' }, h("zonos-language-select", { key: 'ba74dfc5baa25694dec9273c08644db8cd312dc1', handleOnClose: () => this.setShowLanguageSelect(false) }))))));
196
196
  }
197
197
  static get assetsDirs() { return ["assets"]; }
198
198
  static get watchers() { return {
@@ -1,10 +1,10 @@
1
- import { r as registerInstance, h, H as Host } from './index-dd40cc85.js';
2
- import { _ as _root, e as _baseGetTag, i as isObjectLike_1, f as isObject_1, z as zonosStore, g as getZonosStoreTheme, m as mergeConfig } from './zonosStore-c4c45591.js';
3
- import { r as handleFetch, d as logError, l as localizationStore, u as isValidSelector, t as translate, w as getZCountryUrlParam, x as setZCountryUrlParam, a as log, y as currencyDisplay, z as currencyConvertAndFormat, A as currencyConvert, B as currencyFormat } from './cart-9f9f26f9.js';
1
+ import { r as registerInstance, h, H as Host } from './index-0e31d804.js';
2
+ import { _ as _root, e as _baseGetTag, i as isObjectLike_1, f as isObject_1, z as zonosStore, g as getZonosStoreTheme, m as mergeConfig } from './zonosStore-f3eef64b.js';
3
+ import { r as handleFetch, d as logError, l as localizationStore, u as isValidSelector, t as translate, w as getZCountryUrlParam, x as setZCountryUrlParam, a as log, y as currencyDisplay, z as currencyConvertAndFormat, A as currencyConvert, B as currencyFormat } from './cart-515aac56.js';
4
4
  import { c as classes } from './classes-0d95c529.js';
5
5
  import { g as getHasMoreSpaceOnRight } from './getHasMoreSpaceOnRight-70eb913a.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
  var root = _root;
10
10
 
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, h, d as getElement, H as Host } from './index-dd40cc85.js';
2
- import { d as zonosStoreFontFamily } from './zonosStore-c4c45591.js';
1
+ import { r as registerInstance, h, d as getElement, H as Host } from './index-0e31d804.js';
2
+ import { d as zonosStoreFontFamily } from './zonosStore-f3eef64b.js';
3
3
  import { i as isColorVariable } from './isColorVariable-fbf2d80d.js';
4
4
 
5
5
  const zonosIconCss = ":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 svg{width:var(--width);height:var(--height);fill:var(--color);color:var(--color)}";
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host } from './index-dd40cc85.js';
1
+ import { r as registerInstance, h, H as Host } from './index-0e31d804.js';
2
2
 
3
3
  const zonosLinkCss = ":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:inline-block}:host a{padding-bottom:2px;color:var(--amino-primary);-webkit-box-shadow:none;box-shadow:none;text-decoration:none;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;overflow-wrap:break-word}:host a:link,:host a:visited{color:var(--amino-primary);-webkit-transition:all 150ms ease-in-out;transition:all 150ms ease-in-out}:host a:hover,:host a:active{color:var(--amino-primary);-webkit-box-shadow:0 1px 0 var(--amino-primary);box-shadow:0 1px 0 var(--amino-primary)}";
4
4
  const ZonosLinkStyle0 = zonosLinkCss;
@@ -12,7 +12,7 @@ const ZonosLink = class {
12
12
  this.linkTitle = undefined;
13
13
  }
14
14
  render() {
15
- 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' }))));
15
+ 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' }))));
16
16
  }
17
17
  };
18
18
  ZonosLink.style = ZonosLinkStyle0;
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, h, a as getAssetPath, H as Host } from './index-dd40cc85.js';
2
- import { d as zonosStoreFontFamily } from './zonosStore-c4c45591.js';
1
+ import { r as registerInstance, h, a as getAssetPath, 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 zonosLogoCss = ":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 img{-webkit-filter:var(--filter-color);filter:var(--filter-color);width:var(--width)}";
@@ -15,11 +15,11 @@ const ZonosLogo = class {
15
15
  const filterColor = this.theme === 'DARK'
16
16
  ? 'invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%)'
17
17
  : 'whiteinvert(0%) sepia(100%) saturate(32%) hue-rotate(92deg) brightness(107%) contrast(107%)';
18
- return (h(Host, { key: '483016f5ffe43ea7742e895b5335212da6ec1d18', class: classes(['zonos--elements zonos--logo']), style: {
18
+ return (h(Host, { key: 'eb9e895db6d309b91f24aaba07b6bef785d64982', class: classes(['zonos--elements zonos--logo']), style: {
19
19
  '--filter-color': filterColor,
20
20
  '--font-family': zonosStoreFontFamily(),
21
21
  '--width': this.width,
22
- } }, h("img", { key: 'aed23717de194da43d48ee7b068f3e7568c0bbb3', alt: "Zonos Logo", src: getAssetPath('./assets/ZonosLogo.png') })));
22
+ } }, h("img", { key: '411e92bcfdab9d8b7362b3fbeeffb836d8d20756', alt: "Zonos Logo", src: getAssetPath('./assets/ZonosLogo.png') })));
23
23
  }
24
24
  static get assetsDirs() { return ["assets"]; }
25
25
  };
@@ -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 zonosNotificationCss = ":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-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}:host .zonos--notification-items{position:fixed;z-index:9999999;bottom:var(--amino-space-24);gap:var(--amino-space-8);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column}:host .zonos--notification-item{cursor:pointer;-webkit-transition:all 0.3s ease;transition:all 0.3s ease;padding:var(--amino-space-8);border-radius:var(--border-radius, var(--amino-radius-6));opacity:0;-ms-flex-negative:0.0001;flex-shrink:0.0001;-webkit-transform:translateY(100%);transform:translateY(100%)}:host .zonos--notification-item+:host .zonos--notification-item{margin-top:8px}:host .zonos--notification-item.show{opacity:1;-webkit-transform:translateY(0);transform:translateY(0);-ms-flex-positive:1000;flex-grow:1000}:host .zonos--notification-item.success{background-color:var(--amino-green-700)}:host .zonos--notification-item.error{background-color:var(--amino-red-700)}:host .zonos--notification-item.warning{background-color:var(--amino-orange-700)}";
@@ -1,8 +1,8 @@
1
- import { r as registerInstance, h, H as Host, d as getElement } from './index-dd40cc85.js';
2
- import { j as stripeStore, d as logError } from './cart-9f9f26f9.js';
3
- import './zonosStore-c4c45591.js';
4
- import './isDarkColor-6bf71e51.js';
5
- import './getBorderRadius-a89e45fb.js';
1
+ import { r as registerInstance, h, H as Host, d as getElement } from './index-0e31d804.js';
2
+ import { j as stripeStore, d as logError } from './cart-515aac56.js';
3
+ import './zonosStore-f3eef64b.js';
4
+ import './isDarkColor-7a6d2d14.js';
5
+ import './getBorderRadius-8129b0cb.js';
6
6
 
7
7
  const zonosPaymentCss = ".sc-zonos-payment-h{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-payment-h *.sc-zonos-payment{font-family:var(--font-family, Inter), Inter}.sc-zonos-payment-h img.sc-zonos-payment{max-width:100%}.sc-zonos-payment-h dl.sc-zonos-payment,.sc-zonos-payment-h dd.sc-zonos-payment,.sc-zonos-payment-h h1.sc-zonos-payment,.sc-zonos-payment-h h2.sc-zonos-payment,.sc-zonos-payment-h h3.sc-zonos-payment,.sc-zonos-payment-h h4.sc-zonos-payment,.sc-zonos-payment-h h5.sc-zonos-payment,.sc-zonos-payment-h h6.sc-zonos-payment,.sc-zonos-payment-h hr.sc-zonos-payment,.sc-zonos-payment-h figure.sc-zonos-payment,.sc-zonos-payment-h p.sc-zonos-payment,.sc-zonos-payment-h pre.sc-zonos-payment{margin:0}.sc-zonos-payment-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-payment-h .zonos--title.sc-zonos-payment{margin-bottom:var(--amino-space-16)}";
8
8
  const ZonosPaymentStyle0 = zonosPaymentCss;
@@ -40,7 +40,7 @@ const ZonosPayment = class {
40
40
  }
41
41
  render() {
42
42
  // this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
43
- 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" })));
43
+ 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" })));
44
44
  }
45
45
  get el() { return getElement(this); }
46
46
  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 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>`;
@@ -14,9 +14,9 @@ const ZonosSelectDialogHeader = class {
14
14
  this.label = '';
15
15
  }
16
16
  render() {
17
- return (h(Host, { key: 'e7867deee86e4a155c21db2618eafd6f3c6cea3b', class: "zonos--elements", style: {
17
+ return (h(Host, { key: 'cd3cc096f08cdb3dd2170d9e8d578f603155b0d0', class: "zonos--elements", style: {
18
18
  '--font-family': zonosStoreFontFamily(),
19
- } }, 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' }))));
19
+ } }, 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' }))));
20
20
  }
21
21
  };
22
22
  ZonosSelectDialogHeader.style = ZonosSelectDialogHeaderStyle0;
@@ -30,9 +30,9 @@ const VStack = class {
30
30
  this.spacing = 24;
31
31
  }
32
32
  render() {
33
- return (h(Host, { key: '3d9977f4c55f7f1047ec94dcc3a3c40105559c00', style: {
33
+ return (h(Host, { key: '415d652d553042161ef364e2a8ccd226fcfe3d84', style: {
34
34
  '--font-family': zonosStoreFontFamily(),
35
- } }, h("div", { key: 'aa910d4f9a11d3d1a66836aed442726241b73273', class: classes(['vstack']), style: { 'grid-row-gap': `${this.spacing}px` } }, h("slot", { key: 'ec50cc05f71018b4b6fef1288f1371ddde030a3a' }))));
35
+ } }, h("div", { key: '1d8df528db72b8c1102742203eb53ce81efb1aae', class: classes(['vstack']), style: { 'grid-row-gap': `${this.spacing}px` } }, h("slot", { key: '66d247c7e8c8da9e311014695ce3a50b38709c33' }))));
36
36
  }
37
37
  };
38
38
  VStack.style = ZonosVStackStyle0;
@@ -1,7 +1,7 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-dd40cc85.js';
2
- import { d as zonosStoreFontFamily, z as zonosStore } from './zonosStore-c4c45591.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-0e31d804.js';
2
+ import { d as zonosStoreFontFamily, z as zonosStore } 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
6
 
7
7
  const zonosShippingRichRadioCss = ":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-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host input{margin:0;accent-color:var(--selected-border-color, var(--amino-blue-600))}:host .zonos--shipping-rich-radio-item{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;padding:var(--amino-space-16);-ms-flex-align:center;align-items:center;gap:var(--amino-space-16);cursor:pointer;border:1px solid var(--amino-gray-200)}:host .zonos--shipping-rich-radio-item:first-child{border-top-left-radius:var(--border-radius, var(--amino-radius-10));border-top-right-radius:var(--border-radius, var(--amino-radius-10))}:host .zonos--shipping-rich-radio-item:last-child{border-bottom-right-radius:var(--border-radius, var(--amino-radius-10));border-bottom-left-radius:var(--border-radius, var(--amino-radius-10))}:host .zonos--shipping-rich-radio-item:not(:last-child){border-bottom:none}:host .zonos--shipping-rich-radio-item.selected{outline:1px solid var(--selected-border-color, var(--amino-blue-600));outline-offset:-1px}:host .zonos--shipping-info{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex:1;flex:1}:host .zonos--shipping-detail{-ms-flex:1;flex:1}:host .zonos--sub-detail{display:-ms-inline-flexbox;display:inline-flex;gap:8px;-ms-flex-wrap:wrap;flex-wrap:wrap}";
@@ -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
  import { i as isColorVariable } from './isColorVariable-fbf2d80d.js';
5
5
 
@@ -1,4 +1,4 @@
1
- import { g as getRenderingRef, f as forceUpdate } from './index-dd40cc85.js';
1
+ import { g as getRenderingRef, f as forceUpdate } from './index-0e31d804.js';
2
2
 
3
3
  const appendToMap = (map, propName, value) => {
4
4
  const items = map.get(propName);