@zonos/elements 1.3.8-alpha.2 → 1.3.8-alpha.4

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 (99) hide show
  1. package/dist/cjs/{cart-c22d66c8.js → cart-cdce5003.js} +4 -6
  2. package/dist/cjs/{submitGtag-bc28bb8f.js → submitGtag-a0b376ab.js} +6 -3
  3. package/dist/cjs/zonos-address_4.cjs.entry.js +3 -5
  4. package/dist/cjs/zonos-card_2.cjs.entry.js +1 -1
  5. package/dist/cjs/zonos-cart-items_9.cjs.entry.js +2 -2
  6. package/dist/cjs/zonos-checkout.cjs.entry.js +2 -2
  7. package/dist/cjs/zonos-controller.cjs.entry.js +1 -1
  8. package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
  9. package/dist/cjs/zonos-country-select_3.cjs.entry.js +1 -1
  10. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +1 -1
  11. package/dist/cjs/zonos-hello.cjs.entry.js +2 -2
  12. package/dist/cjs/zonos-payment.cjs.entry.js +1 -1
  13. package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.css +1 -0
  14. package/dist/collection/components/hello/zonos-hello/zonos-hello.css +2 -0
  15. package/dist/collection/components/store/checkout/cart.js +3 -0
  16. package/dist/collection/components/store/checkout/stripe.js +1 -6
  17. package/dist/collection/components/stripe/zonos-address/zonos-address.js +2 -4
  18. package/dist/collection/components/utils/api/trackConversionEvent.js +5 -2
  19. package/dist/collection/types/generated/graphql.customer.types.js +22 -0
  20. package/dist/collection/types/generated/graphql.frontend.types.js +3 -0
  21. package/dist/components/stripe.js +5 -7
  22. package/dist/components/submitGtag.js +1 -1
  23. package/dist/components/trackConversionEvent.js +6 -3
  24. package/dist/components/zonos-address2.js +2 -4
  25. package/dist/components/zonos-checkbox2.js +1 -1
  26. package/dist/components/zonos-checkout-footer2.js +1 -1
  27. package/dist/components/zonos-checkout.js +1 -1
  28. package/dist/components/zonos-controller.js +1 -1
  29. package/dist/components/zonos-country-flag2.js +1 -1
  30. package/dist/components/zonos-country-select2.js +1 -1
  31. package/dist/components/zonos-hello-dialog-footer2.js +1 -1
  32. package/dist/components/zonos-hello-dialog2.js +1 -1
  33. package/dist/components/zonos-hello.js +2 -2
  34. package/dist/components/zonos-language-select2.js +1 -1
  35. package/dist/components/zonos-link-authentication2.js +1 -1
  36. package/dist/esm/{cart-f70b9be6.js → cart-6be7e36f.js} +4 -6
  37. package/dist/esm/{submitGtag-afeca6f9.js → submitGtag-b1c9af26.js} +6 -3
  38. package/dist/esm/zonos-address_4.entry.js +3 -5
  39. package/dist/esm/zonos-card_2.entry.js +1 -1
  40. package/dist/esm/zonos-cart-items_9.entry.js +2 -2
  41. package/dist/esm/zonos-checkout.entry.js +2 -2
  42. package/dist/esm/zonos-controller.entry.js +1 -1
  43. package/dist/esm/zonos-country-flag.entry.js +1 -1
  44. package/dist/esm/zonos-country-select_3.entry.js +1 -1
  45. package/dist/esm/zonos-hello-dialog.entry.js +1 -1
  46. package/dist/esm/zonos-hello.entry.js +2 -2
  47. package/dist/esm/zonos-payment.entry.js +1 -1
  48. package/dist/esm-es5/{cart-f70b9be6.js → cart-6be7e36f.js} +1 -1
  49. package/dist/esm-es5/{submitGtag-afeca6f9.js → submitGtag-b1c9af26.js} +1 -1
  50. package/dist/esm-es5/zonos-address_4.entry.js +1 -1
  51. package/dist/esm-es5/zonos-card_2.entry.js +1 -1
  52. package/dist/esm-es5/zonos-cart-items_9.entry.js +1 -1
  53. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  54. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  55. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  56. package/dist/esm-es5/zonos-country-select_3.entry.js +1 -1
  57. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  58. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  59. package/dist/esm-es5/zonos-payment.entry.js +1 -1
  60. package/dist/scripts/loadZonos.js +1 -1
  61. package/dist/scripts/zonos.js +1 -1
  62. package/dist/scripts/zonosBase.js +1 -1
  63. package/dist/types/components/utils/api/getLocaleMessages.d.ts +1 -1
  64. package/dist/types/types/generated/graphql.customer.types.d.ts +26 -0
  65. package/dist/types/types/generated/graphql.customer.types.ts +34 -0
  66. package/dist/types/types/generated/graphql.frontend.types.d.ts +12 -1
  67. package/dist/types/types/generated/graphql.frontend.types.ts +24 -1
  68. package/dist/zonos-elements/p-04fa4dd3.system.entry.js +1 -0
  69. package/dist/zonos-elements/p-066c5893.system.js +1 -1
  70. package/dist/zonos-elements/{p-d93d74c1.system.entry.js → p-09c9bf58.system.entry.js} +1 -1
  71. package/dist/zonos-elements/p-12e97569.entry.js +1 -0
  72. package/dist/zonos-elements/{p-0ed00121.entry.js → p-2f84b148.entry.js} +1 -1
  73. package/dist/zonos-elements/{p-d1934261.system.entry.js → p-321e8b0e.system.entry.js} +1 -1
  74. package/dist/zonos-elements/p-39d75a07.system.js +1 -0
  75. package/dist/zonos-elements/{p-faa0ab72.system.entry.js → p-3ff1bed8.system.entry.js} +1 -1
  76. package/dist/zonos-elements/{p-04acf5ef.entry.js → p-72390726.entry.js} +1 -1
  77. package/dist/zonos-elements/{p-6dc7222d.js → p-776f07e7.js} +1 -1
  78. package/dist/zonos-elements/{p-fc0a051b.entry.js → p-7cb2dfd5.entry.js} +1 -1
  79. package/dist/zonos-elements/{p-2eb62b45.system.entry.js → p-865900d4.system.entry.js} +1 -1
  80. package/dist/zonos-elements/{p-780ab968.entry.js → p-8f423d46.entry.js} +1 -1
  81. package/dist/zonos-elements/{p-824882ce.system.entry.js → p-a38876df.system.entry.js} +1 -1
  82. package/dist/zonos-elements/{p-56318a1f.system.entry.js → p-af3ff326.system.entry.js} +1 -1
  83. package/dist/zonos-elements/{p-7fded506.entry.js → p-b05d21ac.entry.js} +1 -1
  84. package/dist/zonos-elements/{p-d9ba11cf.system.entry.js → p-c284e71c.system.entry.js} +1 -1
  85. package/dist/zonos-elements/p-c6f186fe.system.entry.js +1 -0
  86. package/dist/zonos-elements/{p-7736198d.system.entry.js → p-db49edae.system.entry.js} +1 -1
  87. package/dist/zonos-elements/{p-9a9dc265.entry.js → p-dce14b91.entry.js} +1 -1
  88. package/dist/zonos-elements/{p-373e579c.entry.js → p-dd25205e.entry.js} +1 -1
  89. package/dist/zonos-elements/{p-e043e830.entry.js → p-e67ed67d.entry.js} +1 -1
  90. package/dist/zonos-elements/p-e843a74b.js +1 -0
  91. package/dist/zonos-elements/{p-039803aa.system.js → p-eb5dc3ef.system.js} +1 -1
  92. package/dist/zonos-elements/{p-32f43296.entry.js → p-f5b75c6b.entry.js} +1 -1
  93. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  94. package/package.json +1 -1
  95. package/dist/zonos-elements/p-5d73cde0.system.entry.js +0 -1
  96. package/dist/zonos-elements/p-6cd190f4.js +0 -1
  97. package/dist/zonos-elements/p-86fe18ea.system.entry.js +0 -1
  98. package/dist/zonos-elements/p-9a9902ca.entry.js +0 -1
  99. package/dist/zonos-elements/p-c6eaecb6.system.js +0 -1
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
- import { w as localizationStoreUpdateSelectedLocale, t as translate, b as localizationStore } from './stripe.js';
2
+ import { w as localizationStoreUpdateSelectedLocale, t as translate, a as localizationStore } from './stripe.js';
3
3
  import { a as zonosStoreFontFamily } from './zonosStore.js';
4
4
  import { l as languages } from './ILanguage.js';
5
5
  import { d as defineCustomElement$6 } from './zonos-button2.js';
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
- import { s as stripeStore, l as logError, a as stripeStorePrefetchLandedCost } from './stripe.js';
2
+ import { s as stripeStore, l as logError, n as stripeStorePrefetchLandedCost } from './stripe.js';
3
3
  import { d as defineCustomElement$1 } from './zonos-text2.js';
4
4
 
5
5
  const zonosLinkAuthenticationCss = ".sc-zonos-link-authentication-h{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-link-authentication-h *.sc-zonos-link-authentication{font-family:var(--font-family, Inter), Inter}.sc-zonos-link-authentication-h img.sc-zonos-link-authentication{max-width:100%}.sc-zonos-link-authentication-h dl.sc-zonos-link-authentication,.sc-zonos-link-authentication-h dd.sc-zonos-link-authentication,.sc-zonos-link-authentication-h h1.sc-zonos-link-authentication,.sc-zonos-link-authentication-h h2.sc-zonos-link-authentication,.sc-zonos-link-authentication-h h3.sc-zonos-link-authentication,.sc-zonos-link-authentication-h h4.sc-zonos-link-authentication,.sc-zonos-link-authentication-h h5.sc-zonos-link-authentication,.sc-zonos-link-authentication-h h6.sc-zonos-link-authentication,.sc-zonos-link-authentication-h hr.sc-zonos-link-authentication,.sc-zonos-link-authentication-h figure.sc-zonos-link-authentication,.sc-zonos-link-authentication-h p.sc-zonos-link-authentication,.sc-zonos-link-authentication-h pre.sc-zonos-link-authentication{margin:0}.sc-zonos-link-authentication-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-link-authentication-h .zonos--title.sc-zonos-link-authentication{margin-bottom:var(--amino-space-16)}";
@@ -4381,11 +4381,6 @@ const stripeStoreReset = () => {
4381
4381
  */
4382
4382
  const isPrefetchInfoOutdated = () => {
4383
4383
  var _a, _b, _c, _d, _e, _f;
4384
- const hasAbortController = stripeStore.fetchingLandedCostAbordController;
4385
- if (!hasAbortController) {
4386
- // if there is no abort controller, this is a new request
4387
- return false;
4388
- }
4389
4384
  const isLinkDataDirty = JSON.stringify((_a = stripeStore.stripeLinkUsedWhenFetchingLC) === null || _a === void 0 ? void 0 : _a.value) !==
4390
4385
  JSON.stringify((_b = stripeStore.stripeLinkEventData) === null || _b === void 0 ? void 0 : _b.value);
4391
4386
  const isAddressDataDirty = JSON.stringify((_c = stripeStore.stripeAddressUsedWhenFetchingLC) === null || _c === void 0 ? void 0 : _c.value) !==
@@ -4412,7 +4407,7 @@ const stripeStorePrefetchLandedCost = async () => {
4412
4407
  if (stripeAddressReady &&
4413
4408
  stripeLinkReady &&
4414
4409
  stripeBillingAddressReady &&
4415
- (shouldRefetch || !stripeStore.isFetchingLandedCost)) {
4410
+ shouldRefetch) {
4416
4411
  stripeStore.isFetchingLandedCost = true;
4417
4412
  if (stripeStore.stripeAddressEventData) {
4418
4413
  stripeStore.stripeAddressUsedWhenFetchingLC = Object.assign({}, stripeStore.stripeAddressEventData);
@@ -4812,7 +4807,10 @@ const cartStoreResetSelectedShippingOption = () => {
4812
4807
  cartStore.isSelectedShippingGuarantee = false;
4813
4808
  cartStore.selectedShippingOptionExpectedDate = '';
4814
4809
  cartStore.selectedShippingOptionTransitTime = '';
4810
+ cartStore.dutiesTaxFees = 0;
4815
4811
  cartStore.shipping = 0;
4812
+ // reset total to subtotal
4813
+ cartStore.total = cartStore.subtotal;
4816
4814
  };
4817
4815
  const cartStoreNextStep = () => {
4818
4816
  if (cartStore.step === 'customer-info') {
@@ -1,9 +1,12 @@
1
- import { u as handleFetch, l as localizationStore, a as log } from './cart-f70b9be6.js';
1
+ import { u as handleFetch, l as localizationStore, a as log } from './cart-6be7e36f.js';
2
2
  import { z as zonosStore } from './zonosStore-807f931f.js';
3
3
 
4
4
  const trackConversionEvent = async (eventName, metadata) => {
5
- // If a Zonos domain, we don't want analytics to be tracked
6
- if (window.location.href.includes('zonos.com')) {
5
+ var _a, _b;
6
+ // If a Zonos domain, or in qa mode with zonosQaUrl, or debug mode is on, we don't want analytics to be tracked
7
+ if (window.location.href.includes('zonos.com') ||
8
+ !!((_a = window.Zonos) === null || _a === void 0 ? void 0 : _a.zonosQaUrl) ||
9
+ !!((_b = window.Zonos) === null || _b === void 0 ? void 0 : _b.debug)) {
7
10
  return;
8
11
  }
9
12
  const url = `${"https://v1.route.js.zonos.com"}/api/zonos-elements/track-conversion-event`;
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, d as getElement } from './index-b5be4dc3.js';
2
- import { j as stripeStore, n as stripeStorePrefetchLandedCost, d as logError, l as localizationStore, t as translate } from './cart-f70b9be6.js';
2
+ import { j as stripeStore, d as logError, l as localizationStore, t as translate, n as stripeStorePrefetchLandedCost } from './cart-6be7e36f.js';
3
3
  import { z as zonosStore, d as zonosStoreFontFamily } from './zonosStore-807f931f.js';
4
4
  import { i as isCheckoutMobile } from './isCheckoutMobile-8846dccb.js';
5
5
  import { c as classes } from './classes-0d95c529.js';
@@ -64,8 +64,6 @@ const ZonosAddress = class {
64
64
  // no need to prefetch landed cost if the address contains invalid characters
65
65
  return;
66
66
  }
67
- // only prefetch if the address type is shipping
68
- void stripeStorePrefetchLandedCost();
69
67
  }
70
68
  updateAddressElement({ stripeAddressElement, type, }) {
71
69
  if (type === 'shipping') {
@@ -191,7 +189,7 @@ const ZonosAddress = class {
191
189
  }
192
190
  render() {
193
191
  // this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
194
- return (h(Host, { key: '2656f94224ff0385b4ae2594284257add19f82c3', class: "zonos--address zonos--elements" }, h("zonos-text", { key: '48b5ac45621d6d0f79f62227c71d70bb284c60da', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: '2f11c7983fd310afa01fa5100ce25ce49cfcc3da', class: "zonos--address-component" }), this.hasInvalidCharacters && (h("zonos-banner", { bannerTitle: translate('Please ensure your text uses the Latin alphabet only (A-Z, a-z).'), intent: "error" }))));
192
+ return (h(Host, { key: '3927946760be161a50ccf924cef5a58503887ac8', class: "zonos--address zonos--elements" }, h("zonos-text", { key: 'ac95946a7322dbfab13b3d29df2e22d251ba553c', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: '552c6e94d64a842f702c5499320713c8b8fcab6b', class: "zonos--address-component" }), this.hasInvalidCharacters && (h("zonos-banner", { bannerTitle: translate('Please ensure your text uses the Latin alphabet only (A-Z, a-z).'), intent: "error" }))));
195
193
  }
196
194
  get el() { return getElement(this); }
197
195
  static get watchers() { return {
@@ -211,7 +209,7 @@ const colorPrefixes = [
211
209
  'glass',
212
210
  ];
213
211
 
214
- const zonosCheckboxCss = ":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 label{display:-ms-inline-flexbox;display:inline-flex;position:relative;gap:var(--amino-space-8);-ms-flex-align:center;align-items:center}:host label.disabled{cursor:not-allowed;opacity:0.6}:host input[type=checkbox]{opacity:0;position:absolute;left:0;width:0;height:0;top:0;z-index:-99999}:host svg{opacity:0}:host .checkmark-container{height:var(--size);width:var(--size);background-color:transparent;border:1.5px solid var(--amino-gray-400);position:relative;border-radius:var(--border-radius, var(--amino-radius-4))}:host .checkmark{opacity:0;position:absolute;top:-1.5px;left:-1.5px;right:-1.5px;bottom:-1.5px;-webkit-transition:0.3s all cubic-bezier(0.175, 0.885, 0.32, 1.275);transition:0.3s all cubic-bezier(0.175, 0.885, 0.32, 1.275);-webkit-transform:scale(0.4);transform:scale(0.4);background-color:var(--background-color);border-radius:var(--border-radius, var(--amino-radius-4))}:host input[type=checkbox]:checked~.checkmark-container .checkmark{opacity:1;-webkit-transform:scale(1);transform:scale(1)}";
212
+ const zonosCheckboxCss = ":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 label{display:-ms-inline-flexbox;display:inline-flex;position:relative;gap:var(--amino-space-8);-ms-flex-align:center;align-items:center}:host label.disabled{cursor:not-allowed;opacity:0.6}:host input[type=checkbox]{opacity:0;position:absolute;left:0;width:0;height:0;top:0;z-index:-99999}:host svg{opacity:0}:host .checkmark-container{height:var(--size);width:var(--size);background-color:transparent;border:1.5px solid var(--amino-gray-400);position:relative;border-radius:var(--border-radius, var(--amino-radius-4))}:host .checkmark{opacity:0;position:absolute;top:-1.5px;left:-1.5px;right:-1.5px;bottom:-1.5px;width:calc(100% + 3px);-webkit-transition:0.3s all cubic-bezier(0.175, 0.885, 0.32, 1.275);transition:0.3s all cubic-bezier(0.175, 0.885, 0.32, 1.275);-webkit-transform:scale(0.4);transform:scale(0.4);background-color:var(--background-color);border-radius:var(--border-radius, var(--amino-radius-4))}:host input[type=checkbox]:checked~.checkmark-container .checkmark{opacity:1;-webkit-transform:scale(1);transform:scale(1)}";
215
213
  const ZonosCheckboxStyle0 = zonosCheckboxCss;
216
214
 
217
215
  const ZonosCheckbox = class {
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-b5be4dc3.js';
2
2
  import { d as zonosStoreFontFamily } from './zonosStore-807f931f.js';
3
3
  import { c as classes } from './classes-0d95c529.js';
4
- import { G as localizationStoreUpdateSelectedLocale, t as translate, l as localizationStore } from './cart-f70b9be6.js';
4
+ import { G as localizationStoreUpdateSelectedLocale, t as translate, l as localizationStore } from './cart-6be7e36f.js';
5
5
  import { l as languages } from './ILanguage-97790bee.js';
6
6
  import './isDarkColor-8eeda28e.js';
7
7
  import './getBorderRadius-0d133844.js';
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, a as getAssetPath, h, H as Host, F as Fragment, c as createEvent, d as getElement } from './index-b5be4dc3.js';
2
- import { f as cartStore, t as translate, u as handleFetch, q as stripeStoreReset, j as stripeStore, D as stripeStoreRetrievePayment, l as localizationStore, E as cartStoreUpdateSelectedShippingOption, F as cartStoreGetShippingTransitInfo } from './cart-f70b9be6.js';
2
+ import { f as cartStore, t as translate, u as handleFetch, q as stripeStoreReset, j as stripeStore, D as stripeStoreRetrievePayment, l as localizationStore, E as cartStoreUpdateSelectedShippingOption, F as cartStoreGetShippingTransitInfo } from './cart-6be7e36f.js';
3
3
  import { z as zonosStore, d as zonosStoreFontFamily } from './zonosStore-807f931f.js';
4
- import { t as trackConversionEvent, s as sendErrorLog, a as submitGtag } from './submitGtag-afeca6f9.js';
4
+ import { t as trackConversionEvent, s as sendErrorLog, a as submitGtag } from './submitGtag-b1c9af26.js';
5
5
  import { g as getBorderRadius } from './getBorderRadius-0d133844.js';
6
6
  import { c as classes } from './classes-0d95c529.js';
7
7
  import { i as isDarkColor } from './isDarkColor-8eeda28e.js';
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, h, F as Fragment, H as Host } from './index-b5be4dc3.js';
2
- import { l as localizationStore, a as log, s as stripeStoreGetDomesticShippingSession, b as localizationStoreUpdateSelectedCountryCode, c as stripeStoreCleanupDomesticShippingSession, d as logError, e as stripeStoreSaveDomesticShippingSession, i as initStripeElements, f as cartStore, g as cartStoreUpdateItems, h as cartStoreReset, j as stripeStore, k as stripeStoreInitCheckoutSession, m as cartStoreUpdateToErrorState, n as stripeStorePrefetchLandedCost, o as cartStoreNextStep, p as stripeStoreConfirmPayment, q as stripeStoreReset, r as cartStorePreviousStep, t as translate } from './cart-f70b9be6.js';
2
+ import { l as localizationStore, a as log, s as stripeStoreGetDomesticShippingSession, b as localizationStoreUpdateSelectedCountryCode, c as stripeStoreCleanupDomesticShippingSession, d as logError, e as stripeStoreSaveDomesticShippingSession, i as initStripeElements, f as cartStore, g as cartStoreUpdateItems, h as cartStoreReset, j as stripeStore, k as stripeStoreInitCheckoutSession, m as cartStoreUpdateToErrorState, n as stripeStorePrefetchLandedCost, o as cartStoreNextStep, p as stripeStoreConfirmPayment, q as stripeStoreReset, r as cartStorePreviousStep, t as translate } from './cart-6be7e36f.js';
3
3
  import { z as zonosStore, m as mergeConfig } from './zonosStore-807f931f.js';
4
- import { s as sendErrorLog, a as submitGtag, t as trackConversionEvent } from './submitGtag-afeca6f9.js';
4
+ import { s as sendErrorLog, a as submitGtag, t as trackConversionEvent } from './submitGtag-b1c9af26.js';
5
5
  import { i as isCheckoutMobile } from './isCheckoutMobile-8846dccb.js';
6
6
  import { c as classes } from './classes-0d95c529.js';
7
7
  import { g as getBorderRadius } from './getBorderRadius-0d133844.js';
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host } from './index-b5be4dc3.js';
2
- import { u as handleFetch, d as logError, v as isValidSelector, a as log, j as stripeStore, w as initLocalizationStore, b as localizationStoreUpdateSelectedCountryCode } from './cart-f70b9be6.js';
2
+ import { u as handleFetch, d as logError, v as isValidSelector, a as log, j as stripeStore, w as initLocalizationStore, b as localizationStoreUpdateSelectedCountryCode } from './cart-6be7e36f.js';
3
3
  import { z as zonosStore, b as zonosStoreInitSetting, d as zonosStoreFontFamily } from './zonosStore-807f931f.js';
4
4
  import './isDarkColor-8eeda28e.js';
5
5
  import './getBorderRadius-0d133844.js';
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, d as getElement } from './index-b5be4dc3.js';
2
- import { l as localizationStore } from './cart-f70b9be6.js';
2
+ import { l as localizationStore } from './cart-6be7e36f.js';
3
3
  import { d as zonosStoreFontFamily } from './zonosStore-807f931f.js';
4
4
  import { c as classes } from './classes-0d95c529.js';
5
5
  import './isDarkColor-8eeda28e.js';
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, d as getElement } from './index-b5be4dc3.js';
2
- import { b as localizationStoreUpdateSelectedCountryCode, l as localizationStore } from './cart-f70b9be6.js';
2
+ import { b as localizationStoreUpdateSelectedCountryCode, l as localizationStore } from './cart-6be7e36f.js';
3
3
  import { d as zonosStoreFontFamily } from './zonosStore-807f931f.js';
4
4
  import { f as formatStringWithLinks } from './formatStringWithLinks-9e819405.js';
5
5
  import { i as isDarkColor } from './isDarkColor-8eeda28e.js';
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host } from './index-b5be4dc3.js';
2
- import { C as currencyFormat, l as localizationStore, t as translate } from './cart-f70b9be6.js';
2
+ import { C as currencyFormat, l as localizationStore, t as translate } from './cart-6be7e36f.js';
3
3
  import { z as zonosStore } from './zonosStore-807f931f.js';
4
4
  import { c as classes } from './classes-0d95c529.js';
5
5
  import { f as formatStringWithLinks } from './formatStringWithLinks-9e819405.js';
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-b5be4dc3.js';
2
2
  import { _ as _root, e as _baseGetTag, i as isObjectLike_1, f as isObject_1, z as zonosStore, m as mergeConfig } from './zonosStore-807f931f.js';
3
- import { u as handleFetch, d as logError, l as localizationStore, v as isValidSelector, t as translate, x as getZCountryUrlParam, y as setZCountryUrlParam, a as log, z as currencyDisplay, A as currencyConvertAndFormat, B as currencyConvert, C as currencyFormat } from './cart-f70b9be6.js';
3
+ import { u as handleFetch, d as logError, l as localizationStore, v as isValidSelector, t as translate, x as getZCountryUrlParam, y as setZCountryUrlParam, a as log, z as currencyDisplay, A as currencyConvertAndFormat, B as currencyConvert, C as currencyFormat } from './cart-6be7e36f.js';
4
4
  import { c as classes } from './classes-0d95c529.js';
5
5
  import { g as getHasMoreSpaceOnRight } from './getHasMoreSpaceOnRight-70eb913a.js';
6
6
  import './isDarkColor-8eeda28e.js';
@@ -466,7 +466,7 @@ const getProductsOnPage = () => {
466
466
  return mergedElements;
467
467
  };
468
468
 
469
- const zonosHelloCss = ":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 .zonos--hello-wrapper{position:relative}:host .zonos--hello-wrapper .zonos--hello-dialog-wrapper-mobile-override{position:fixed;bottom:0;left:0;width:100vw;z-index:1001;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}@media (max-width: 768px){:host .zonos--hello-wrapper{position:fixed;bottom:0;left:0;width:100vw;z-index:1001;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}}:host .zonos--hello-widget{-webkit-transition:all 0.7s cubic-bezier(0.31, -0.02, 0.06, 1.53);transition:all 0.7s cubic-bezier(0.31, -0.02, 0.06, 1.53);padding:6px;border-radius:30px;background:var(--amino-page-background);font-size:var(--amino-font-size-s);border:var(--amino-border);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;cursor:pointer;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;position:relative;z-index:1000}:host .zonos--hello-widget>.zonos--hello-message{-ms-flex-order:0;order:0;max-width:0;height:100%;white-space:nowrap;-webkit-transition:border 0.3s ease-in, all 0.7s cubic-bezier(0.31, -0.02, 0.06, 1.53);transition:border 0.3s ease-in, all 0.7s cubic-bezier(0.31, -0.02, 0.06, 1.53);overflow:hidden;color:var(--amino-text-color);position:absolute;background:var(--amino-page-background);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;border-top-left-radius:30px;border-bottom-left-radius:30px;left:0;-webkit-transform:translateX(calc(-100% + var(--amino-space-16)));transform:translateX(calc(-100% + var(--amino-space-16)));width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;border-top:var(--amino-border);border-bottom:var(--amino-border)}:host .zonos--hello-widget.zonos--hello-has-restrictions{background:var(--amino-red-100);border:1px solid var(--amino-red-200)}:host .zonos--hello-widget.zonos--hello-has-restrictions>.zonos--hello-message{background:var(--amino-red-100);color:var(--amino-red-800);font-weight:500}:host .zonos--hello-widget.zonos--hello-has-restrictions.zonos--hello-show-peek-message>.zonos--hello-message{border:1px solid var(--amino-red-200)}:host .zonos--hello-widget.zonos--hello-show-peek-message{max-width:100vw;width:100%}:host .zonos--hello-widget.zonos--hello-show-peek-message>.zonos--hello-message{max-width:100vw;padding:0 6px;padding-right:var(--amino-space-16);border:var(--amino-border)}:host .zonos--hello-widget.zonos--hello-show-peek-message:not(.zonos--hello-widget-animate-from-left){border-top-left-radius:0;border-bottom-left-radius:0}:host .zonos--hello-widget.zonos--hello-show-peek-message:not(.zonos--hello-widget-animate-from-left)>.zonos--hello-message{border-right:none}:host .zonos--hello-widget.zonos--hello-show-peek-message.zonos--hello-widget-animate-from-left{border-top-right-radius:0;border-bottom-right-radius:0}:host .zonos--hello-widget.zonos--hello-show-peek-message.zonos--hello-widget-animate-from-left>.zonos--hello-message{border-left:0}:host .zonos--hello-widget.zonos--hello-show-peek-message.zonos--hello-widget-animate-from-left>.zonos--hello-message{padding-left:var(--amino-space-16);padding-right:6px;border-left:none}:host .zonos--hello-widget.zonos--hello-widget-animate-from-left>.zonos--hello-message{-ms-flex-order:1;order:1;-webkit-transform:translateX(calc(100% - var(--amino-space-16)));transform:translateX(calc(100% - var(--amino-space-16)));right:0;left:auto;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:30px;border-bottom-right-radius:30px}:host .zonos--hello-widget .zonos--hello-country-flag-wrapper{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}:host .zonos--hello-widget .zonos--hello-country-flag-wrapper .zonos--hello-country-flag{height:18px;width:18px;position:relative;overflow:hidden;border-radius:30px;-webkit-box-shadow:var(--amino-v3-shadow-medium);box-shadow:var(--amino-v3-shadow-medium);z-index:10;justify-self:center}@media (max-width: 768px){:host .zonos--hello-widget .zonos--hello-country-flag-wrapper .zonos--hello-country-flag{border-radius:var(--amino-radius-4);width:24px}}@media (max-width: 768px){:host .zonos--hello-widget{position:fixed;bottom:var(--amino-space-32);right:var(--amino-space-32);border-radius:var(--amino-radius-4);padding:var(--amino-space-4);border:1px solid transparent}:host .zonos--hello-widget.zonos--hello-widget-left{left:var(--amino-space-32);right:auto}:host .zonos--hello-widget.zonos--hello-widget-top{bottom:auto;top:var(--amino-space-32)}:host .zonos--hello-widget.zonos--hello-has-restrictions.zonos--hello-show-peek-message>.zonos--hello-message{border:none}:host .zonos--hello-widget>.zonos--hello-message{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;border-radius:30px;top:0;bottom:0;left:0;-webkit-transform:translateX(0);transform:translateX(0);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;border:none}:host .zonos--hello-widget.zonos--hello-widget-animate-from-left>.zonos--hello-message{-webkit-transform:translateX(0);transform:translateX(0)}:host .zonos--hello-widget.zonos--hello-show-peek-message{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}:host .zonos--hello-widget.zonos--hello-show-peek-message:not(.zonos--hello-widget-animate-from-left){border-top-left-radius:var(--amino-radius-4);border-bottom-left-radius:var(--amino-radius-4)}:host .zonos--hello-widget.zonos--hello-show-peek-message.zonos--hello-widget-animate-from-left{border-top-right-radius:var(--amino-radius-4);border-bottom-right-radius:var(--amino-radius-4)}:host .zonos--hello-widget.zonos--hello-show-peek-message.zonos--hello-widget-animate-from-left>.zonos--hello-message{padding-left:var(--amino-space-8);padding-right:var(--amino-space-4)}:host .zonos--hello-widget.zonos--hello-show-peek-message>.zonos--hello-message{padding:0 var(--amino-radius-4);padding-right:6px;border:none}:host .zonos--hello-widget .zonos--hello-country-flag-wrapper{border-radius:var(--amino-radius-4)}}:host .zonos--hello-mobile-override.zonos--hello-widget{position:fixed;bottom:var(--amino-space-32);right:var(--amino-space-32);border-radius:var(--amino-radius-4);padding:var(--amino-space-4);border:1px solid transparent}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-left{left:var(--amino-space-32);right:auto}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-top{bottom:auto;top:var(--amino-space-32)}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-has-restrictions.zonos--hello-show-peek-message>.zonos--hello-message{border:none}:host .zonos--hello-mobile-override.zonos--hello-widget>.zonos--hello-message{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;border-radius:30px;top:0;bottom:0;left:0;-webkit-transform:translateX(0);transform:translateX(0);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;border:none}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-animate-from-left>.zonos--hello-message{-webkit-transform:translateX(0);transform:translateX(0)}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-show-peek-message{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-show-peek-message:not(.zonos--hello-widget-animate-from-left){border-top-left-radius:var(--amino-radius-4);border-bottom-left-radius:var(--amino-radius-4)}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-show-peek-message.zonos--hello-widget-animate-from-left{border-top-right-radius:var(--amino-radius-4);border-bottom-right-radius:var(--amino-radius-4)}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-show-peek-message.zonos--hello-widget-animate-from-left>.zonos--hello-message{padding-left:var(--amino-space-8);padding-right:var(--amino-space-4)}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-show-peek-message>.zonos--hello-message{padding:0 var(--amino-radius-4);padding-right:6px;border:none}:host .zonos--hello-mobile-override.zonos--hello-widget .zonos--hello-country-flag-wrapper{border-radius:var(--amino-radius-4)}:host .zonos--hello-mobile-override.zonos--hello-widget .zonos--hello-country-flag{border-radius:var(--amino-radius-4);width:24px}";
469
+ const zonosHelloCss = ":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 .zonos--hello-wrapper{position:relative}:host .zonos--hello-wrapper .zonos--hello-dialog-wrapper-mobile-override{position:fixed;bottom:0;left:0;width:100vw;z-index:1001;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}@media (max-width: 768px){:host .zonos--hello-wrapper{position:fixed;bottom:0;left:0;width:100vw;z-index:1001;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}}:host .zonos--hello-widget{-webkit-transition:all 0.7s cubic-bezier(0.31, -0.02, 0.06, 1.53);transition:all 0.7s cubic-bezier(0.31, -0.02, 0.06, 1.53);padding:6px;border-radius:30px;background:var(--amino-page-background);font-size:var(--amino-font-size-s);border:var(--amino-border);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;cursor:pointer;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;position:relative;z-index:1000}:host .zonos--hello-widget>.zonos--hello-message{-ms-flex-order:0;order:0;max-width:0;height:100%;white-space:nowrap;-webkit-transition:border 0.3s ease-in, all 0.7s cubic-bezier(0.31, -0.02, 0.06, 1.53);transition:border 0.3s ease-in, all 0.7s cubic-bezier(0.31, -0.02, 0.06, 1.53);overflow:hidden;color:var(--amino-text-color);position:absolute;background:var(--amino-page-background);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;border-top-left-radius:30px;border-bottom-left-radius:30px;left:0;-webkit-transform:translateX(calc(-100% + var(--amino-space-16)));transform:translateX(calc(-100% + var(--amino-space-16)));width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;border-top:var(--amino-border);border-bottom:var(--amino-border)}:host .zonos--hello-widget.zonos--hello-has-restrictions{background:var(--amino-red-100);border:1px solid var(--amino-red-200)}:host .zonos--hello-widget.zonos--hello-has-restrictions>.zonos--hello-message{background:var(--amino-red-100);color:var(--amino-red-800);font-weight:500}:host .zonos--hello-widget.zonos--hello-has-restrictions.zonos--hello-show-peek-message>.zonos--hello-message{border:1px solid var(--amino-red-200)}:host .zonos--hello-widget.zonos--hello-show-peek-message{max-width:100vw;width:100%}:host .zonos--hello-widget.zonos--hello-show-peek-message>.zonos--hello-message{max-width:100vw;padding:0 6px;padding-right:var(--amino-space-16);border:var(--amino-border)}:host .zonos--hello-widget.zonos--hello-show-peek-message:not(.zonos--hello-widget-animate-from-left){border-top-left-radius:0;border-bottom-left-radius:0}:host .zonos--hello-widget.zonos--hello-show-peek-message:not(.zonos--hello-widget-animate-from-left)>.zonos--hello-message{border-right:none}:host .zonos--hello-widget.zonos--hello-show-peek-message.zonos--hello-widget-animate-from-left{border-top-right-radius:0;border-bottom-right-radius:0}:host .zonos--hello-widget.zonos--hello-show-peek-message.zonos--hello-widget-animate-from-left>.zonos--hello-message{border-left:0}:host .zonos--hello-widget.zonos--hello-show-peek-message.zonos--hello-widget-animate-from-left>.zonos--hello-message{padding-left:var(--amino-space-16);padding-right:6px;border-left:none}:host .zonos--hello-widget.zonos--hello-widget-animate-from-left>.zonos--hello-message{-ms-flex-order:1;order:1;-webkit-transform:translateX(calc(100% - var(--amino-space-16)));transform:translateX(calc(100% - var(--amino-space-16)));right:0;left:auto;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:30px;border-bottom-right-radius:30px}:host .zonos--hello-widget .zonos--hello-country-flag-wrapper{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}:host .zonos--hello-widget .zonos--hello-country-flag-wrapper .zonos--hello-country-flag{height:18px;width:18px;position:relative;overflow:hidden;border-radius:30px;-webkit-box-shadow:var(--amino-v3-shadow-medium);box-shadow:var(--amino-v3-shadow-medium);z-index:10;justify-self:center}@media (max-width: 768px){:host .zonos--hello-widget .zonos--hello-country-flag-wrapper .zonos--hello-country-flag{border-radius:var(--amino-radius-4);width:24px}}@media (max-width: 768px){:host .zonos--hello-widget{position:fixed;bottom:var(--amino-space-32);right:var(--amino-space-32);border-radius:var(--amino-radius-4);padding:var(--amino-space-4);border:1px solid transparent}:host .zonos--hello-widget.zonos--hello-widget-left{left:var(--amino-space-32);right:auto}:host .zonos--hello-widget.zonos--hello-widget-top{bottom:auto;top:var(--amino-space-32)}:host .zonos--hello-widget.zonos--hello-has-restrictions.zonos--hello-show-peek-message>.zonos--hello-message{border:none}:host .zonos--hello-widget>.zonos--hello-message{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;border-radius:30px;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;top:0;bottom:0;left:0;-webkit-transform:translateX(0);transform:translateX(0);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;border:none}:host .zonos--hello-widget.zonos--hello-widget-animate-from-left>.zonos--hello-message{-webkit-transform:translateX(0);transform:translateX(0)}:host .zonos--hello-widget.zonos--hello-show-peek-message{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}:host .zonos--hello-widget.zonos--hello-show-peek-message:not(.zonos--hello-widget-animate-from-left){border-top-left-radius:var(--amino-radius-4);border-bottom-left-radius:var(--amino-radius-4)}:host .zonos--hello-widget.zonos--hello-show-peek-message.zonos--hello-widget-animate-from-left{border-top-right-radius:var(--amino-radius-4);border-bottom-right-radius:var(--amino-radius-4)}:host .zonos--hello-widget.zonos--hello-show-peek-message.zonos--hello-widget-animate-from-left>.zonos--hello-message{padding-left:var(--amino-space-8);padding-right:var(--amino-space-4)}:host .zonos--hello-widget.zonos--hello-show-peek-message>.zonos--hello-message{padding:0 var(--amino-radius-4);padding-right:6px;border:none}:host .zonos--hello-widget .zonos--hello-country-flag-wrapper{border-radius:var(--amino-radius-4)}}:host .zonos--hello-mobile-override.zonos--hello-widget{position:fixed;bottom:var(--amino-space-32);right:var(--amino-space-32);border-radius:var(--amino-radius-4);padding:var(--amino-space-4);border:1px solid transparent}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-left{left:var(--amino-space-32);right:auto}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-top{bottom:auto;top:var(--amino-space-32)}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-has-restrictions.zonos--hello-show-peek-message>.zonos--hello-message{border:none}:host .zonos--hello-mobile-override.zonos--hello-widget>.zonos--hello-message{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;border-radius:30px;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;top:0;bottom:0;left:0;-webkit-transform:translateX(0);transform:translateX(0);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;border:none}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-animate-from-left>.zonos--hello-message{-webkit-transform:translateX(0);transform:translateX(0)}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-show-peek-message{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-show-peek-message:not(.zonos--hello-widget-animate-from-left){border-top-left-radius:var(--amino-radius-4);border-bottom-left-radius:var(--amino-radius-4)}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-show-peek-message.zonos--hello-widget-animate-from-left{border-top-right-radius:var(--amino-radius-4);border-bottom-right-radius:var(--amino-radius-4)}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-show-peek-message.zonos--hello-widget-animate-from-left>.zonos--hello-message{padding-left:var(--amino-space-8);padding-right:var(--amino-space-4)}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-show-peek-message>.zonos--hello-message{padding:0 var(--amino-radius-4);padding-right:6px;border:none}:host .zonos--hello-mobile-override.zonos--hello-widget .zonos--hello-country-flag-wrapper{border-radius:var(--amino-radius-4)}:host .zonos--hello-mobile-override.zonos--hello-widget .zonos--hello-country-flag{border-radius:var(--amino-radius-4);width:24px}";
470
470
  const ZonosHelloStyle0 = zonosHelloCss;
471
471
 
472
472
  const PEEK_MESSAGE_CLOSE_DELAY_MS = 3000;
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, d as getElement } from './index-b5be4dc3.js';
2
- import { j as stripeStore, d as logError } from './cart-f70b9be6.js';
2
+ import { j as stripeStore, d as logError } from './cart-6be7e36f.js';
3
3
  import './zonosStore-807f931f.js';
4
4
  import './isDarkColor-8eeda28e.js';
5
5
  import './getBorderRadius-0d133844.js';