@zonos/elements 1.3.126 → 1.3.128

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 (87) hide show
  1. package/dist/cjs/{cart-7e5608b4.js → cart-3bdaf092.js} +6 -4
  2. package/dist/cjs/index.cjs.js +7 -7
  3. package/dist/cjs/{paypal-4c479f19.js → paypal-2f48ab8d.js} +1 -1
  4. package/dist/cjs/zonos-address_7.cjs.entry.js +1 -1
  5. package/dist/cjs/zonos-cart-items_13.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_4.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 +1 -1
  12. package/dist/cjs/zonos-language-select_2.cjs.entry.js +1 -1
  13. package/dist/cjs/zonos-notification_3.cjs.entry.js +2 -2
  14. package/dist/cjs/zonos-text.cjs.entry.js +21 -3
  15. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +1 -1
  16. package/dist/collection/components/common/zonos-text/zonos-text.css +6 -6
  17. package/dist/collection/components/common/zonos-text/zonos-text.js +20 -2
  18. package/dist/collection/components/hello/zonos-hello/zonos-hello.js +1 -1
  19. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +1 -1
  20. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +1 -1
  21. package/dist/collection/components/utils/api/triggerBuildLandedCost.js +6 -4
  22. package/dist/esm/{cart-65c7d5f1.js → cart-519f08e3.js} +6 -4
  23. package/dist/esm/index.js +7 -7
  24. package/dist/esm/{paypal-cd96efa7.js → paypal-d0a05eda.js} +1 -1
  25. package/dist/esm/zonos-address_7.entry.js +1 -1
  26. package/dist/esm/zonos-cart-items_13.entry.js +2 -2
  27. package/dist/esm/zonos-checkout.entry.js +2 -2
  28. package/dist/esm/zonos-controller.entry.js +1 -1
  29. package/dist/esm/zonos-country-flag.entry.js +1 -1
  30. package/dist/esm/zonos-country-select_4.entry.js +1 -1
  31. package/dist/esm/zonos-hello-dialog.entry.js +1 -1
  32. package/dist/esm/zonos-hello.entry.js +1 -1
  33. package/dist/esm/zonos-language-select_2.entry.js +1 -1
  34. package/dist/esm/zonos-notification_3.entry.js +2 -2
  35. package/dist/esm/zonos-text.entry.js +21 -3
  36. package/dist/esm-es5/{cart-65c7d5f1.js → cart-519f08e3.js} +1 -1
  37. package/dist/esm-es5/index.js +1 -1
  38. package/dist/esm-es5/{paypal-cd96efa7.js → paypal-d0a05eda.js} +1 -1
  39. package/dist/esm-es5/zonos-address_7.entry.js +1 -1
  40. package/dist/esm-es5/zonos-cart-items_13.entry.js +1 -1
  41. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  42. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  43. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  44. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  45. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  46. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  47. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  48. package/dist/esm-es5/zonos-notification_3.entry.js +1 -1
  49. package/dist/esm-es5/zonos-text.entry.js +1 -1
  50. package/dist/scripts/index.d.ts +7 -1
  51. package/dist/scripts/index.js +1 -1
  52. package/dist/scripts/loadZonos.js +1 -1
  53. package/dist/scripts/zonos.js +1 -1
  54. package/dist/types/components/store/zonosStore.d.ts +7 -1
  55. package/dist/zonos-elements/index.esm.js +1 -1
  56. package/dist/zonos-elements/{p-f8827566.js → p-00ff4f4a.js} +1 -1
  57. package/dist/zonos-elements/{p-c94d0f07.entry.js → p-0cb426b8.entry.js} +1 -1
  58. package/dist/zonos-elements/{p-8915d6cf.system.entry.js → p-167b7fa8.system.entry.js} +1 -1
  59. package/dist/zonos-elements/{p-c6f74e2c.js → p-2402e12c.js} +1 -1
  60. package/dist/zonos-elements/{p-799d2a3f.system.entry.js → p-2db962f9.system.entry.js} +1 -1
  61. package/dist/zonos-elements/{p-2cd05dd5.entry.js → p-3dbfe639.entry.js} +1 -1
  62. package/dist/zonos-elements/{p-5886302b.system.entry.js → p-61380d53.system.entry.js} +1 -1
  63. package/dist/zonos-elements/{p-f20f939e.entry.js → p-685e395e.entry.js} +1 -1
  64. package/dist/zonos-elements/{p-e1e00336.entry.js → p-723c9d4d.entry.js} +1 -1
  65. package/dist/zonos-elements/{p-9178fbe0.entry.js → p-76d03238.entry.js} +1 -1
  66. package/dist/zonos-elements/p-7c7feadb.system.entry.js +1 -0
  67. package/dist/zonos-elements/{p-5278717e.system.entry.js → p-8df3d5d0.system.entry.js} +1 -1
  68. package/dist/zonos-elements/{p-f828bf3a.system.entry.js → p-9833f37d.system.entry.js} +1 -1
  69. package/dist/zonos-elements/{p-dde44079.entry.js → p-a7eaa9ad.entry.js} +1 -1
  70. package/dist/zonos-elements/{p-0ceb45a9.system.js → p-abbfde44.system.js} +1 -1
  71. package/dist/zonos-elements/{p-42ff40eb.system.entry.js → p-bc9987f2.system.entry.js} +1 -1
  72. package/dist/zonos-elements/{p-054a24bf.entry.js → p-bf2f9095.entry.js} +1 -1
  73. package/dist/zonos-elements/p-c562de4a.entry.js +1 -0
  74. package/dist/zonos-elements/p-c78dd680.system.js +1 -1
  75. package/dist/zonos-elements/{p-df4ca0c4.system.entry.js → p-d6f1b6fa.system.entry.js} +1 -1
  76. package/dist/zonos-elements/{p-f544a6b1.system.js → p-dcd4e458.system.js} +1 -1
  77. package/dist/zonos-elements/{p-566c5607.system.entry.js → p-e2cda105.system.entry.js} +1 -1
  78. package/dist/zonos-elements/{p-989e6a4f.entry.js → p-ea8663b7.entry.js} +1 -1
  79. package/dist/zonos-elements/{p-a01635df.system.entry.js → p-eca920dc.system.entry.js} +1 -1
  80. package/dist/zonos-elements/{p-ea6d75ad.entry.js → p-efffbaec.entry.js} +1 -1
  81. package/dist/zonos-elements/{p-d999e680.entry.js → p-f50f48da.entry.js} +1 -1
  82. package/dist/zonos-elements/{p-80a4d1e0.system.js → p-f7d56ce5.system.js} +1 -1
  83. package/dist/zonos-elements/{p-b6cd212c.system.entry.js → p-f962fc6a.system.entry.js} +1 -1
  84. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  85. package/package.json +1 -1
  86. package/dist/zonos-elements/p-6a2bed3e.system.entry.js +0 -1
  87. package/dist/zonos-elements/p-cf7a5119.entry.js +0 -1
@@ -9356,7 +9356,7 @@ const prepCalculateLandedCost = () => {
9356
9356
  };
9357
9357
 
9358
9358
  const triggerBuildLandedCost = async (buildLandedCost) => {
9359
- var _a, _b, _c, _d;
9359
+ var _a, _b, _c, _d, _e;
9360
9360
  const data = prepCalculateLandedCost();
9361
9361
  const landedCost = await buildLandedCost({
9362
9362
  billingAddress: data.billingAddress,
@@ -9367,8 +9367,10 @@ const triggerBuildLandedCost = async (buildLandedCost) => {
9367
9367
  shippingAddress: data.shippingAddress,
9368
9368
  zonosApiRoute: handleFetch.fallbackApiList['vercel'],
9369
9369
  });
9370
- if (!landedCost || ((_a = landedCost.errors) === null || _a === void 0 ? void 0 : _a.length)) {
9371
- throw new Error(`Failed to build landed cost: ${((_c = (_b = landedCost === null || landedCost === void 0 ? void 0 : landedCost.errors) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.message) || 'Unknown error'}`);
9370
+ if (!landedCost ||
9371
+ // Only show errors if there are no rate back (checkoutSessionWorkflow) and there are errors
9372
+ (!((_a = landedCost.checkoutSessionWorkflow) === null || _a === void 0 ? void 0 : _a.length) && ((_b = landedCost.errors) === null || _b === void 0 ? void 0 : _b.length))) {
9373
+ throw new Error(`Failed to build landed cost: ${((_d = (_c = landedCost === null || landedCost === void 0 ? void 0 : landedCost.errors) === null || _c === void 0 ? void 0 : _c[0]) === null || _d === void 0 ? void 0 : _d.message) || 'Unknown error'}`);
9372
9374
  }
9373
9375
  // Validate the landed cost object to make sure the returned value from buildLandedCost has a valid schema
9374
9376
  const { errors, json } = await handleFetch.handleFetch('/api/zonos-elements/validate-landed-cost', {
@@ -9379,7 +9381,7 @@ const triggerBuildLandedCost = async (buildLandedCost) => {
9379
9381
  method: 'POST',
9380
9382
  });
9381
9383
  if (!json || errors.length) {
9382
- throw new Error(`Invalid landed cost object: ${((_d = errors.find(Boolean)) === null || _d === void 0 ? void 0 : _d.message) || 'Unknown error'}`);
9384
+ throw new Error(`Invalid landed cost object: ${((_e = errors.find(Boolean)) === null || _e === void 0 ? void 0 : _e.message) || 'Unknown error'}`);
9383
9385
  }
9384
9386
  return landedCost;
9385
9387
  };
@@ -97,7 +97,7 @@ const getZonosQaUrl = () => {
97
97
  return null;
98
98
  }
99
99
  const qaUrl = extractZonosQaUrl(window.location.href);
100
- const cdnUrl = "https://v1.3.126.js.zonos.com";
100
+ const cdnUrl = "https://v1.3.128.js.zonos.com";
101
101
  // when the qaUrl is not set and the built URL is from the test domain, use the test domain for testing
102
102
  if (!qaUrl &&
103
103
  (cdnUrl.includes('test.') ||
@@ -281,10 +281,10 @@ const zonosLoadUrl = (() => {
281
281
  }
282
282
  return null;
283
283
  })();
284
- const ZONOS_URL = "https://v1.3.126.js.zonos.com";
285
- const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.126";
286
- const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.126";
287
- const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.126";
284
+ const ZONOS_URL = "https://v1.3.128.js.zonos.com";
285
+ const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.128";
286
+ const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.128";
287
+ const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.128";
288
288
  const INTER_FONT_URL = 'https://rsms.me';
289
289
  const GOOGLE_FONT_URL = 'https://fonts.googleapis.com';
290
290
  const INTER_FONT_REGEX = /^https:\/\/rsms\.me\/inter\/inter\.css(.*)$/;
@@ -299,7 +299,7 @@ Zonos.zonosConversionTest = typeof window !== 'undefined' &&
299
299
  !!window.location.search.match(/\?.*(&*)zonosConversionTest/);
300
300
  Zonos._paypalMockResponse = null;
301
301
  Zonos.isBigCommerce = false;
302
- Zonos.releaseDate = "1731341767652";
302
+ Zonos.releaseDate = "1731429497368";
303
303
  Zonos.isLegacyCheckout = false;
304
304
  Zonos.showBaseForeign = typeof window !== 'undefined' &&
305
305
  window.location.search.includes('zonosShowBaseForeign');
@@ -309,7 +309,7 @@ Zonos.showBaseForeign = typeof window !== 'undefined' &&
309
309
  Zonos.isNpm = true;
310
310
  Zonos.zonosQaUrl = null;
311
311
  Zonos.zonosQaUrlApi = null;
312
- Zonos.version = `v${"1.3.126"}`;
312
+ Zonos.version = `v${"1.3.128"}`;
313
313
  Zonos.modeAlerted = false;
314
314
  Zonos.cartData = null;
315
315
  Zonos.paypal = null;
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const zonosStore = require('./zonosStore-e12d459c.js');
4
- const cart = require('./cart-7e5608b4.js');
4
+ const cart = require('./cart-3bdaf092.js');
5
5
  const handleFetch = require('./handleFetch-fa0ce321.js');
6
6
  const isDarkColor = require('./isDarkColor-d206c6fa.js');
7
7
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d56e0a8b.js');
6
- const cart = require('./cart-7e5608b4.js');
6
+ const cart = require('./cart-3bdaf092.js');
7
7
  const isCheckoutMobile = require('./isCheckoutMobile-f491ca7c.js');
8
8
  const handleFetch = require('./handleFetch-fa0ce321.js');
9
9
  const containsNonLatinChars = require('./containsNonLatinChars-2be5129b.js');
@@ -3,9 +3,9 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d56e0a8b.js');
6
- const cart = require('./cart-7e5608b4.js');
6
+ const cart = require('./cart-3bdaf092.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
- const paypal = require('./paypal-4c479f19.js');
8
+ const paypal = require('./paypal-2f48ab8d.js');
9
9
  const zonosStore = require('./zonosStore-e12d459c.js');
10
10
  const createCustomEvent = require('./createCustomEvent-3e982e57.js');
11
11
  const getBorderRadius = require('./getBorderRadius-61ed5601.js');
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d56e0a8b.js');
6
- const cart = require('./cart-7e5608b4.js');
7
- const paypal = require('./paypal-4c479f19.js');
6
+ const cart = require('./cart-3bdaf092.js');
7
+ const paypal = require('./paypal-2f48ab8d.js');
8
8
  const zonosStore = require('./zonosStore-e12d459c.js');
9
9
  const handleFetch = require('./handleFetch-fa0ce321.js');
10
10
  const createCustomEvent = require('./createCustomEvent-3e982e57.js');
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d56e0a8b.js');
6
- const cart = require('./cart-7e5608b4.js');
6
+ const cart = require('./cart-3bdaf092.js');
7
7
  const zonosStore = require('./zonosStore-e12d459c.js');
8
8
  const handleFetch = require('./handleFetch-fa0ce321.js');
9
9
  require('./isDarkColor-d206c6fa.js');
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d56e0a8b.js');
6
- const cart = require('./cart-7e5608b4.js');
6
+ const cart = require('./cart-3bdaf092.js');
7
7
  const zonosStore = require('./zonosStore-e12d459c.js');
8
8
  const classes = require('./classes-b7918f56.js');
9
9
  require('./handleFetch-fa0ce321.js');
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d56e0a8b.js');
6
- const cart = require('./cart-7e5608b4.js');
6
+ const cart = require('./cart-3bdaf092.js');
7
7
  const zonosStore = require('./zonosStore-e12d459c.js');
8
8
  const formatStringWithLinks = require('./formatStringWithLinks-52341fc7.js');
9
9
  const isDarkColor = require('./isDarkColor-d206c6fa.js');
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d56e0a8b.js');
6
- const cart = require('./cart-7e5608b4.js');
6
+ const cart = require('./cart-3bdaf092.js');
7
7
  const zonosStore = require('./zonosStore-e12d459c.js');
8
8
  const classes = require('./classes-b7918f56.js');
9
9
  const formatStringWithLinks = require('./formatStringWithLinks-52341fc7.js');
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d56e0a8b.js');
6
6
  const zonosStore = require('./zonosStore-e12d459c.js');
7
- const cart = require('./cart-7e5608b4.js');
7
+ const cart = require('./cart-3bdaf092.js');
8
8
  const classes = require('./classes-b7918f56.js');
9
9
  const handleFetch = require('./handleFetch-fa0ce321.js');
10
10
  const getHasMoreSpaceOnRight = require('./getHasMoreSpaceOnRight-4c94667f.js');
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d56e0a8b.js');
6
- const cart = require('./cart-7e5608b4.js');
6
+ const cart = require('./cart-3bdaf092.js');
7
7
  const zonosStore = require('./zonosStore-e12d459c.js');
8
8
  const ILanguage = require('./ILanguage-98b04442.js');
9
9
  require('./handleFetch-fa0ce321.js');
@@ -6,9 +6,9 @@ const index = require('./index-d56e0a8b.js');
6
6
  const zonosStore = require('./zonosStore-e12d459c.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
8
  const getBorderRadius = require('./getBorderRadius-61ed5601.js');
9
- const cart = require('./cart-7e5608b4.js');
9
+ const cart = require('./cart-3bdaf092.js');
10
10
  const handleFetch = require('./handleFetch-fa0ce321.js');
11
- const paypal = require('./paypal-4c479f19.js');
11
+ const paypal = require('./paypal-2f48ab8d.js');
12
12
  require('./isDarkColor-d206c6fa.js');
13
13
 
14
14
  const zonosNotificationCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}:host .zonos--notification-items{position:fixed;z-index:9999999999;bottom:24px;gap:8px;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:8px;border-radius:var(--zonos--border-radius, var(--zonos-elements-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(--zonos-elements-green-700)}:host .zonos--notification-item.error{background-color:var(--zonos-elements-red-700)}:host .zonos--notification-item.warning{background-color:var(--zonos-elements-orange-700)}";
@@ -108,7 +108,7 @@ const textOptions = {
108
108
  },
109
109
  };
110
110
 
111
- const zonosTextCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{color:var(--zonos--color)}:host(.zonos--text-size-3xl)>*,:host(.zonos--text-size-3xl){font-size:var(--zonos-elements-font-size-3xl)}:host(.zonos--text-size-2xl)>*,:host(.zonos--text-size-2xl){font-size:var(--zonos-elements-font-size-2xl)}:host(.zonos--text-size-xl)>*,:host(.zonos--text-size-xl){font-size:var(--zonos-elements-font-size-xl)}:host(.zonos--text-size-l)>*,:host(.zonos--text-size-l){font-size:var(--zonos-elements-font-size-l)}:host(.zonos--text-size-base)>*,:host(.zonos--text-size-base){font-size:var(--zonos--font-size-base, var(--zonos-elements-font-size-base))}:host(.zonos--text-size-s)>*,:host(.zonos--text-size-s){font-size:var(--zonos-elements-font-size-s)}:host(.zonos--text-size-xs)>*,:host(.zonos--text-size-xs){font-size:var(--zonos-elements-font-size-xs)}:host(.zonos--text-weight-900)>*,:host(.zonos--text-weight-900){font-weight:900}:host(.zonos--text-weight-700)>*,:host(.zonos--text-weight-700){font-weight:700}:host(.zonos--text-weight-600)>*,:host(.zonos--text-weight-600){font-weight:600}:host(.zonos--text-weight-500)>*,:host(.zonos--text-weight-500){font-weight:500}:host(.zonos--text-weight-400)>*,:host(.zonos--text-weight-400){font-weight:400}";
111
+ const zonosTextCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{color:var(--zonos--color)}:host(.zonos--text-size-3xl)>*,:host(.zonos--text-size-3xl){font-size:var(--zonos--font-size-3xl, var(--zonos-elements-font-size-3xl))}:host(.zonos--text-size-2xl)>*,:host(.zonos--text-size-2xl){font-size:var(--zonos--font-size-2xl, var(--zonos-elements-font-size-2xl))}:host(.zonos--text-size-xl)>*,:host(.zonos--text-size-xl){font-size:var(--zonos--font-size-xl, var(--zonos-elements-font-size-xl))}:host(.zonos--text-size-l)>*,:host(.zonos--text-size-l){font-size:var(--zonos--font-size-l, var(--zonos-elements-font-size-l))}:host(.zonos--text-size-base)>*,:host(.zonos--text-size-base){font-size:var(--zonos--font-size-base, var(--zonos-elements-font-size-base))}:host(.zonos--text-size-s)>*,:host(.zonos--text-size-s){font-size:var(--zonos--font-size-s, var(--zonos-elements-font-size-s))}:host(.zonos--text-size-xs)>*,:host(.zonos--text-size-xs){font-size:var(--zonos--font-size-xs, var(--zonos-elements-font-size-xs))}:host(.zonos--text-weight-900)>*,:host(.zonos--text-weight-900){font-weight:900}:host(.zonos--text-weight-700)>*,:host(.zonos--text-weight-700){font-weight:700}:host(.zonos--text-weight-600)>*,:host(.zonos--text-weight-600){font-weight:600}:host(.zonos--text-weight-500)>*,:host(.zonos--text-weight-500){font-weight:500}:host(.zonos--text-weight-400)>*,:host(.zonos--text-weight-400){font-weight:400}";
112
112
  const ZonosTextStyle0 = zonosTextCss;
113
113
 
114
114
  const ZonosText = class {
@@ -156,8 +156,26 @@ const ZonosText = class {
156
156
  ]), style: styles.styles({
157
157
  '--zonos--color': actualTextColor,
158
158
  '--zonos--font-family': zonosStore.zonosStoreFontFamily(),
159
- '--zonos--font-size-base': zonosStore.zonosStore.appearance.fontSize
160
- ? `${zonosStore.zonosStore.appearance.fontSize}px`
159
+ '--zonos--font-size-2xl': zonosStore.zonosStore.appearance.fontSize2XL
160
+ ? `${zonosStore.zonosStore.appearance.fontSize2XL}px`
161
+ : undefined,
162
+ '--zonos--font-size-3xl': zonosStore.zonosStore.appearance.fontSize3XL
163
+ ? `${zonosStore.zonosStore.appearance.fontSize3XL}px`
164
+ : undefined,
165
+ '--zonos--font-size-base': zonosStore.zonosStore.appearance.fontSizeBase
166
+ ? `${zonosStore.zonosStore.appearance.fontSizeBase}px`
167
+ : undefined,
168
+ '--zonos--font-size-l': zonosStore.zonosStore.appearance.fontSizeL
169
+ ? `${zonosStore.zonosStore.appearance.fontSizeL}px`
170
+ : undefined,
171
+ '--zonos--font-size-s': zonosStore.zonosStore.appearance.fontSizeS
172
+ ? `${zonosStore.zonosStore.appearance.fontSizeS}px`
173
+ : undefined,
174
+ '--zonos--font-size-xl': zonosStore.zonosStore.appearance.fontSizeXL
175
+ ? `${zonosStore.zonosStore.appearance.fontSizeXL}px`
176
+ : undefined,
177
+ '--zonos--font-size-xs': zonosStore.zonosStore.appearance.fontSizeXS
178
+ ? `${zonosStore.zonosStore.appearance.fontSizeXS}px`
161
179
  : undefined,
162
180
  }) }, renderText()));
163
181
  }
@@ -783,7 +783,7 @@ export class ZonosCheckout {
783
783
  "mutable": false,
784
784
  "complexType": {
785
785
  "original": "Partial<AppearanceConfig>",
786
- "resolved": "undefined | { colorPrimary?: string | undefined; colorSecondary?: string | undefined; fontFamily?: string | undefined; fontSize?: number | undefined; fontSizeInputLabel?: number | undefined; fontSizeInputValue?: number | undefined; logoUrl?: string | undefined; style?: ElementsUiStyle | undefined; theme?: ElementsUiTheme | undefined; zonosAttribution?: ZonosAttribution | null | undefined; }",
786
+ "resolved": "undefined | { colorPrimary?: string | undefined; colorSecondary?: string | undefined; fontFamily?: string | undefined; fontSize2XL?: number | undefined; fontSize3XL?: number | undefined; fontSizeBase?: number | undefined; fontSizeInputLabel?: number | undefined; fontSizeInputValue?: number | undefined; fontSizeL?: number | undefined; fontSizeS?: number | undefined; fontSizeXL?: number | undefined; fontSizeXS?: number | undefined; logoUrl?: string | undefined; style?: ElementsUiStyle | undefined; theme?: ElementsUiTheme | undefined; zonosAttribution?: ZonosAttribution | null | undefined; }",
787
787
  "references": {
788
788
  "Partial": {
789
789
  "location": "global",
@@ -36,19 +36,19 @@
36
36
  }
37
37
 
38
38
  :host(.zonos--text-size-3xl) > *, :host(.zonos--text-size-3xl) {
39
- font-size: var(--zonos-elements-font-size-3xl);
39
+ font-size: var(--zonos--font-size-3xl, var(--zonos-elements-font-size-3xl));
40
40
  }
41
41
 
42
42
  :host(.zonos--text-size-2xl) > *, :host(.zonos--text-size-2xl) {
43
- font-size: var(--zonos-elements-font-size-2xl);
43
+ font-size: var(--zonos--font-size-2xl, var(--zonos-elements-font-size-2xl));
44
44
  }
45
45
 
46
46
  :host(.zonos--text-size-xl) > *, :host(.zonos--text-size-xl) {
47
- font-size: var(--zonos-elements-font-size-xl);
47
+ font-size: var(--zonos--font-size-xl, var(--zonos-elements-font-size-xl));
48
48
  }
49
49
 
50
50
  :host(.zonos--text-size-l) > *, :host(.zonos--text-size-l) {
51
- font-size: var(--zonos-elements-font-size-l);
51
+ font-size: var(--zonos--font-size-l, var(--zonos-elements-font-size-l));
52
52
  }
53
53
 
54
54
  :host(.zonos--text-size-base) > *, :host(.zonos--text-size-base) {
@@ -56,11 +56,11 @@
56
56
  }
57
57
 
58
58
  :host(.zonos--text-size-s) > *, :host(.zonos--text-size-s) {
59
- font-size: var(--zonos-elements-font-size-s);
59
+ font-size: var(--zonos--font-size-s, var(--zonos-elements-font-size-s));
60
60
  }
61
61
 
62
62
  :host(.zonos--text-size-xs) > *, :host(.zonos--text-size-xs) {
63
- font-size: var(--zonos-elements-font-size-xs);
63
+ font-size: var(--zonos--font-size-xs, var(--zonos-elements-font-size-xs));
64
64
  }
65
65
 
66
66
  :host(.zonos--text-weight-900) > *, :host(.zonos--text-weight-900) {
@@ -48,8 +48,26 @@ export class ZonosText {
48
48
  ]), style: styles({
49
49
  '--zonos--color': actualTextColor,
50
50
  '--zonos--font-family': zonosStoreFontFamily(),
51
- '--zonos--font-size-base': zonosStore.appearance.fontSize
52
- ? `${zonosStore.appearance.fontSize}px`
51
+ '--zonos--font-size-2xl': zonosStore.appearance.fontSize2XL
52
+ ? `${zonosStore.appearance.fontSize2XL}px`
53
+ : undefined,
54
+ '--zonos--font-size-3xl': zonosStore.appearance.fontSize3XL
55
+ ? `${zonosStore.appearance.fontSize3XL}px`
56
+ : undefined,
57
+ '--zonos--font-size-base': zonosStore.appearance.fontSizeBase
58
+ ? `${zonosStore.appearance.fontSizeBase}px`
59
+ : undefined,
60
+ '--zonos--font-size-l': zonosStore.appearance.fontSizeL
61
+ ? `${zonosStore.appearance.fontSizeL}px`
62
+ : undefined,
63
+ '--zonos--font-size-s': zonosStore.appearance.fontSizeS
64
+ ? `${zonosStore.appearance.fontSizeS}px`
65
+ : undefined,
66
+ '--zonos--font-size-xl': zonosStore.appearance.fontSizeXL
67
+ ? `${zonosStore.appearance.fontSizeXL}px`
68
+ : undefined,
69
+ '--zonos--font-size-xs': zonosStore.appearance.fontSizeXS
70
+ ? `${zonosStore.appearance.fontSizeXS}px`
53
71
  : undefined,
54
72
  }) }, renderText()));
55
73
  }
@@ -451,7 +451,7 @@ export class ZonosHello {
451
451
  "mutable": false,
452
452
  "complexType": {
453
453
  "original": "Partial<AppearanceConfig>",
454
- "resolved": "undefined | { colorPrimary?: string | undefined; colorSecondary?: string | undefined; fontFamily?: string | undefined; fontSize?: number | undefined; fontSizeInputLabel?: number | undefined; fontSizeInputValue?: number | undefined; logoUrl?: string | undefined; style?: ElementsUiStyle | undefined; theme?: ElementsUiTheme | undefined; zonosAttribution?: ZonosAttribution | null | undefined; }",
454
+ "resolved": "undefined | { colorPrimary?: string | undefined; colorSecondary?: string | undefined; fontFamily?: string | undefined; fontSize2XL?: number | undefined; fontSize3XL?: number | undefined; fontSizeBase?: number | undefined; fontSizeInputLabel?: number | undefined; fontSizeInputValue?: number | undefined; fontSizeL?: number | undefined; fontSizeS?: number | undefined; fontSizeXL?: number | undefined; fontSizeXS?: number | undefined; logoUrl?: string | undefined; style?: ElementsUiStyle | undefined; theme?: ElementsUiTheme | undefined; zonosAttribution?: ZonosAttribution | null | undefined; }",
455
455
  "references": {
456
456
  "Partial": {
457
457
  "location": "global",
@@ -41,7 +41,7 @@ export class ZonosHelloDialogFooter {
41
41
  "mutable": false,
42
42
  "complexType": {
43
43
  "original": "Partial<AppearanceConfig>",
44
- "resolved": "undefined | { colorPrimary?: string | undefined; colorSecondary?: string | undefined; fontFamily?: string | undefined; fontSize?: number | undefined; fontSizeInputLabel?: number | undefined; fontSizeInputValue?: number | undefined; logoUrl?: string | undefined; style?: ElementsUiStyle | undefined; theme?: ElementsUiTheme | undefined; zonosAttribution?: ZonosAttribution | null | undefined; }",
44
+ "resolved": "undefined | { colorPrimary?: string | undefined; colorSecondary?: string | undefined; fontFamily?: string | undefined; fontSize2XL?: number | undefined; fontSize3XL?: number | undefined; fontSizeBase?: number | undefined; fontSizeInputLabel?: number | undefined; fontSizeInputValue?: number | undefined; fontSizeL?: number | undefined; fontSizeS?: number | undefined; fontSizeXL?: number | undefined; fontSizeXS?: number | undefined; logoUrl?: string | undefined; style?: ElementsUiStyle | undefined; theme?: ElementsUiTheme | undefined; zonosAttribution?: ZonosAttribution | null | undefined; }",
45
45
  "references": {
46
46
  "Partial": {
47
47
  "location": "global",
@@ -348,7 +348,7 @@ export class ZonosHelloDialog {
348
348
  "mutable": false,
349
349
  "complexType": {
350
350
  "original": "Partial<AppearanceConfig>",
351
- "resolved": "undefined | { colorPrimary?: string | undefined; colorSecondary?: string | undefined; fontFamily?: string | undefined; fontSize?: number | undefined; fontSizeInputLabel?: number | undefined; fontSizeInputValue?: number | undefined; logoUrl?: string | undefined; style?: ElementsUiStyle | undefined; theme?: ElementsUiTheme | undefined; zonosAttribution?: ZonosAttribution | null | undefined; }",
351
+ "resolved": "undefined | { colorPrimary?: string | undefined; colorSecondary?: string | undefined; fontFamily?: string | undefined; fontSize2XL?: number | undefined; fontSize3XL?: number | undefined; fontSizeBase?: number | undefined; fontSizeInputLabel?: number | undefined; fontSizeInputValue?: number | undefined; fontSizeL?: number | undefined; fontSizeS?: number | undefined; fontSizeXL?: number | undefined; fontSizeXS?: number | undefined; logoUrl?: string | undefined; style?: ElementsUiStyle | undefined; theme?: ElementsUiTheme | undefined; zonosAttribution?: ZonosAttribution | null | undefined; }",
352
352
  "references": {
353
353
  "Partial": {
354
354
  "location": "global",
@@ -2,7 +2,7 @@ import { prepCalculateLandedCost } from "./prepCalculateLandedCost";
2
2
  import { fallbackApiList } from "../getNextFallbackApi";
3
3
  import { handleFetch } from "../handleFetch";
4
4
  export const triggerBuildLandedCost = async (buildLandedCost) => {
5
- var _a, _b, _c, _d;
5
+ var _a, _b, _c, _d, _e;
6
6
  const data = prepCalculateLandedCost();
7
7
  const landedCost = await buildLandedCost({
8
8
  billingAddress: data.billingAddress,
@@ -13,8 +13,10 @@ export const triggerBuildLandedCost = async (buildLandedCost) => {
13
13
  shippingAddress: data.shippingAddress,
14
14
  zonosApiRoute: fallbackApiList['vercel'],
15
15
  });
16
- if (!landedCost || ((_a = landedCost.errors) === null || _a === void 0 ? void 0 : _a.length)) {
17
- throw new Error(`Failed to build landed cost: ${((_c = (_b = landedCost === null || landedCost === void 0 ? void 0 : landedCost.errors) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.message) || 'Unknown error'}`);
16
+ if (!landedCost ||
17
+ // Only show errors if there are no rate back (checkoutSessionWorkflow) and there are errors
18
+ (!((_a = landedCost.checkoutSessionWorkflow) === null || _a === void 0 ? void 0 : _a.length) && ((_b = landedCost.errors) === null || _b === void 0 ? void 0 : _b.length))) {
19
+ throw new Error(`Failed to build landed cost: ${((_d = (_c = landedCost === null || landedCost === void 0 ? void 0 : landedCost.errors) === null || _c === void 0 ? void 0 : _c[0]) === null || _d === void 0 ? void 0 : _d.message) || 'Unknown error'}`);
18
20
  }
19
21
  // Validate the landed cost object to make sure the returned value from buildLandedCost has a valid schema
20
22
  const { errors, json } = await handleFetch('/api/zonos-elements/validate-landed-cost', {
@@ -25,7 +27,7 @@ export const triggerBuildLandedCost = async (buildLandedCost) => {
25
27
  method: 'POST',
26
28
  });
27
29
  if (!json || errors.length) {
28
- throw new Error(`Invalid landed cost object: ${((_d = errors.find(Boolean)) === null || _d === void 0 ? void 0 : _d.message) || 'Unknown error'}`);
30
+ throw new Error(`Invalid landed cost object: ${((_e = errors.find(Boolean)) === null || _e === void 0 ? void 0 : _e.message) || 'Unknown error'}`);
29
31
  }
30
32
  return landedCost;
31
33
  };
@@ -9354,7 +9354,7 @@ const prepCalculateLandedCost = () => {
9354
9354
  };
9355
9355
 
9356
9356
  const triggerBuildLandedCost = async (buildLandedCost) => {
9357
- var _a, _b, _c, _d;
9357
+ var _a, _b, _c, _d, _e;
9358
9358
  const data = prepCalculateLandedCost();
9359
9359
  const landedCost = await buildLandedCost({
9360
9360
  billingAddress: data.billingAddress,
@@ -9365,8 +9365,10 @@ const triggerBuildLandedCost = async (buildLandedCost) => {
9365
9365
  shippingAddress: data.shippingAddress,
9366
9366
  zonosApiRoute: fallbackApiList['vercel'],
9367
9367
  });
9368
- if (!landedCost || ((_a = landedCost.errors) === null || _a === void 0 ? void 0 : _a.length)) {
9369
- throw new Error(`Failed to build landed cost: ${((_c = (_b = landedCost === null || landedCost === void 0 ? void 0 : landedCost.errors) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.message) || 'Unknown error'}`);
9368
+ if (!landedCost ||
9369
+ // Only show errors if there are no rate back (checkoutSessionWorkflow) and there are errors
9370
+ (!((_a = landedCost.checkoutSessionWorkflow) === null || _a === void 0 ? void 0 : _a.length) && ((_b = landedCost.errors) === null || _b === void 0 ? void 0 : _b.length))) {
9371
+ throw new Error(`Failed to build landed cost: ${((_d = (_c = landedCost === null || landedCost === void 0 ? void 0 : landedCost.errors) === null || _c === void 0 ? void 0 : _c[0]) === null || _d === void 0 ? void 0 : _d.message) || 'Unknown error'}`);
9370
9372
  }
9371
9373
  // Validate the landed cost object to make sure the returned value from buildLandedCost has a valid schema
9372
9374
  const { errors, json } = await handleFetch('/api/zonos-elements/validate-landed-cost', {
@@ -9377,7 +9379,7 @@ const triggerBuildLandedCost = async (buildLandedCost) => {
9377
9379
  method: 'POST',
9378
9380
  });
9379
9381
  if (!json || errors.length) {
9380
- throw new Error(`Invalid landed cost object: ${((_d = errors.find(Boolean)) === null || _d === void 0 ? void 0 : _d.message) || 'Unknown error'}`);
9382
+ throw new Error(`Invalid landed cost object: ${((_e = errors.find(Boolean)) === null || _e === void 0 ? void 0 : _e.message) || 'Unknown error'}`);
9381
9383
  }
9382
9384
  return landedCost;
9383
9385
  };
package/dist/esm/index.js CHANGED
@@ -94,7 +94,7 @@ const getZonosQaUrl = () => {
94
94
  return null;
95
95
  }
96
96
  const qaUrl = extractZonosQaUrl(window.location.href);
97
- const cdnUrl = "https://v1.3.126.js.zonos.com";
97
+ const cdnUrl = "https://v1.3.128.js.zonos.com";
98
98
  // when the qaUrl is not set and the built URL is from the test domain, use the test domain for testing
99
99
  if (!qaUrl &&
100
100
  (cdnUrl.includes('test.') ||
@@ -278,10 +278,10 @@ const zonosLoadUrl = (() => {
278
278
  }
279
279
  return null;
280
280
  })();
281
- const ZONOS_URL = "https://v1.3.126.js.zonos.com";
282
- const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.126";
283
- const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.126";
284
- const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.126";
281
+ const ZONOS_URL = "https://v1.3.128.js.zonos.com";
282
+ const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.128";
283
+ const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.128";
284
+ const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.128";
285
285
  const INTER_FONT_URL = 'https://rsms.me';
286
286
  const GOOGLE_FONT_URL = 'https://fonts.googleapis.com';
287
287
  const INTER_FONT_REGEX = /^https:\/\/rsms\.me\/inter\/inter\.css(.*)$/;
@@ -296,7 +296,7 @@ Zonos.zonosConversionTest = typeof window !== 'undefined' &&
296
296
  !!window.location.search.match(/\?.*(&*)zonosConversionTest/);
297
297
  Zonos._paypalMockResponse = null;
298
298
  Zonos.isBigCommerce = false;
299
- Zonos.releaseDate = "1731341767652";
299
+ Zonos.releaseDate = "1731429497368";
300
300
  Zonos.isLegacyCheckout = false;
301
301
  Zonos.showBaseForeign = typeof window !== 'undefined' &&
302
302
  window.location.search.includes('zonosShowBaseForeign');
@@ -306,7 +306,7 @@ Zonos.showBaseForeign = typeof window !== 'undefined' &&
306
306
  Zonos.isNpm = true;
307
307
  Zonos.zonosQaUrl = null;
308
308
  Zonos.zonosQaUrlApi = null;
309
- Zonos.version = `v${"1.3.126"}`;
309
+ Zonos.version = `v${"1.3.128"}`;
310
310
  Zonos.modeAlerted = false;
311
311
  Zonos.cartData = null;
312
312
  Zonos.paypal = null;
@@ -1,5 +1,5 @@
1
1
  import { z as zonosStore, c as createStore } from './zonosStore-6b5bd87c.js';
2
- import { d as cartStore, w as stripeStoreHandleInventoryCheck, p as translate, v as cartStoreNextStep, h as cartStoreClearCheckoutInterval } from './cart-65c7d5f1.js';
2
+ import { d as cartStore, w as stripeStoreHandleInventoryCheck, p as translate, v as cartStoreNextStep, h as cartStoreClearCheckoutInterval } from './cart-519f08e3.js';
3
3
  import { h as handleFetch, l as log, a as logError, j as jsonParse } from './handleFetch-da1a9c5d.js';
4
4
  import { t as tinycolor } from './isDarkColor-dc08fa26.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, d as getElement } from './index-86b8247e.js';
2
- import { j as stripeStore, S as getFallbackDefaultCountryCode, l as localizationStore, p as translate } from './cart-65c7d5f1.js';
2
+ import { j as stripeStore, S as getFallbackDefaultCountryCode, l as localizationStore, p as translate } from './cart-519f08e3.js';
3
3
  import { i as isCheckoutMobile } from './isCheckoutMobile-8846dccb.js';
4
4
  import { a as logError, l as log } from './handleFetch-da1a9c5d.js';
5
5
  import { i as isTextContainsNonLatinChars, c as containsNonLatinChars } from './containsNonLatinChars-2d8810c3.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-86b8247e.js';
2
- import { d as cartStore, H as currencyFormat, p as translate, I as cartStoreHasOneEligibleItem, J as stripeStoreApplyPromoCode, K as stripeStoreRemovePromoCode, z as stripeStoreReset, j as stripeStore, L as stripeStoreRetrievePayment, t as trackConversionEvent, M as stripeStoreResetPromoCode, N as stripeStoreMessageBasedOnStatus, l as localizationStore, O as stripeStoreTranslateAddressToLatin, P as cartStoreUpdateSelectedShippingOption, Q as cartStoreGetShippingTransitInfo, R as sortServiceLevelOptionsByAmount } from './cart-65c7d5f1.js';
2
+ import { d as cartStore, H as currencyFormat, p as translate, I as cartStoreHasOneEligibleItem, J as stripeStoreApplyPromoCode, K as stripeStoreRemovePromoCode, z as stripeStoreReset, j as stripeStore, L as stripeStoreRetrievePayment, t as trackConversionEvent, M as stripeStoreResetPromoCode, N as stripeStoreMessageBasedOnStatus, l as localizationStore, O as stripeStoreTranslateAddressToLatin, P as cartStoreUpdateSelectedShippingOption, Q as cartStoreGetShippingTransitInfo, R as sortServiceLevelOptionsByAmount } from './cart-519f08e3.js';
3
3
  import { c as classes } from './classes-0d95c529.js';
4
- import { s as submitGtag, b as paypalStore, c as paypalStoreReset, i as isContrastColor } from './paypal-cd96efa7.js';
4
+ import { s as submitGtag, b as paypalStore, c as paypalStoreReset, i as isContrastColor } from './paypal-d0a05eda.js';
5
5
  import { z as zonosStore, g as getZonosStoreTheme, d as zonosStoreFontFamily } from './zonosStore-6b5bd87c.js';
6
6
  import { c as createCustomEvent, g as getIsTestMode } from './createCustomEvent-31a792d3.js';
7
7
  import { g as getBorderRadius } from './getBorderRadius-008516a4.js';
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, H as Host, F as Fragment } from './index-86b8247e.js';
2
- import { l as localizationStore, s as stripeStoreGetDomesticShippingSession, a as localizationStoreUpdateSelectedCountryCode, b as stripeStoreCleanupDomesticShippingSession, c as stripeStoreSaveDomesticShippingSession, i as initStripeElements, d as cartStore, e as cartStoreUpdateItems, f as cartStoreReset, g as cartStoreResetTabItems, h as cartStoreClearCheckoutInterval, j as stripeStore, k as stripeStoreInitCheckoutSession, m as cartStoreStartCheckoutInterval, t as trackConversionEvent, n as getCheckoutSessionBody, o as cartStoreUpdateToErrorState, p as translate, q as getZCountryUrlParam, r as cartStoreSetCheckoutSession, u as stripeStorePrefetchLandedCost, v as cartStoreNextStep, w as stripeStoreHandleInventoryCheck, x as stripeStoreConfirmPayment, y as stripeStoreHandleInventoryRefund, z as stripeStoreReset, A as localizationStoreOnUpdate } from './cart-65c7d5f1.js';
3
- import { p as paypalStoreHasPaypalEnabled, s as submitGtag, a as paypalInitScript } from './paypal-cd96efa7.js';
2
+ import { l as localizationStore, s as stripeStoreGetDomesticShippingSession, a as localizationStoreUpdateSelectedCountryCode, b as stripeStoreCleanupDomesticShippingSession, c as stripeStoreSaveDomesticShippingSession, i as initStripeElements, d as cartStore, e as cartStoreUpdateItems, f as cartStoreReset, g as cartStoreResetTabItems, h as cartStoreClearCheckoutInterval, j as stripeStore, k as stripeStoreInitCheckoutSession, m as cartStoreStartCheckoutInterval, t as trackConversionEvent, n as getCheckoutSessionBody, o as cartStoreUpdateToErrorState, p as translate, q as getZCountryUrlParam, r as cartStoreSetCheckoutSession, u as stripeStorePrefetchLandedCost, v as cartStoreNextStep, w as stripeStoreHandleInventoryCheck, x as stripeStoreConfirmPayment, y as stripeStoreHandleInventoryRefund, z as stripeStoreReset, A as localizationStoreOnUpdate } from './cart-519f08e3.js';
3
+ import { p as paypalStoreHasPaypalEnabled, s as submitGtag, a as paypalInitScript } from './paypal-d0a05eda.js';
4
4
  import { z as zonosStore, g as getZonosStoreTheme, m as mergeConfig } from './zonosStore-6b5bd87c.js';
5
5
  import { h as handleFetch, l as log, a as logError, s as sendErrorLog, g as getElapsedTime, b as allLogs, j as jsonParse } from './handleFetch-da1a9c5d.js';
6
6
  import { c as createCustomEvent, g as getIsTestMode } from './createCustomEvent-31a792d3.js';
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host } from './index-86b8247e.js';
2
- import { B as isValidSelector, j as stripeStore, C as initLocalizationStore, d as cartStore, a as localizationStoreUpdateSelectedCountryCode } from './cart-65c7d5f1.js';
2
+ import { B as isValidSelector, j as stripeStore, C as initLocalizationStore, d as cartStore, a as localizationStoreUpdateSelectedCountryCode } from './cart-519f08e3.js';
3
3
  import { z as zonosStore, b as zonosStoreInitSetting, d as zonosStoreFontFamily } from './zonosStore-6b5bd87c.js';
4
4
  import { h as handleFetch, a as logError, l as log } from './handleFetch-da1a9c5d.js';
5
5
  import './isDarkColor-dc08fa26.js';
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, d as getElement } from './index-86b8247e.js';
2
- import { l as localizationStore } from './cart-65c7d5f1.js';
2
+ import { l as localizationStore } from './cart-519f08e3.js';
3
3
  import { d as zonosStoreFontFamily } from './zonosStore-6b5bd87c.js';
4
4
  import { c as classes } from './classes-0d95c529.js';
5
5
  import './handleFetch-da1a9c5d.js';
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, d as getElement } from './index-86b8247e.js';
2
- import { a as localizationStoreUpdateSelectedCountryCode, p as translate, l as localizationStore } from './cart-65c7d5f1.js';
2
+ import { a as localizationStoreUpdateSelectedCountryCode, p as translate, l as localizationStore } from './cart-519f08e3.js';
3
3
  import { d as zonosStoreFontFamily } from './zonosStore-6b5bd87c.js';
4
4
  import { f as formatStringWithLinks } from './formatStringWithLinks-9e819405.js';
5
5
  import { i as isDarkColor } from './isDarkColor-dc08fa26.js';
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host } from './index-86b8247e.js';
2
- import { p as translate, l as localizationStore, H as currencyFormat } from './cart-65c7d5f1.js';
2
+ import { p as translate, l as localizationStore, H as currencyFormat } from './cart-519f08e3.js';
3
3
  import { z as zonosStore } from './zonosStore-6b5bd87c.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-86b8247e.js';
2
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-6b5bd87c.js';
3
- import { l as localizationStore, B as isValidSelector, p as translate, q as getZCountryUrlParam, D as setZCountryUrlParam, E as currencyDisplay, F as currencyConvertAndFormat, G as currencyConvert, H as currencyFormat } from './cart-65c7d5f1.js';
3
+ import { l as localizationStore, B as isValidSelector, p as translate, q as getZCountryUrlParam, D as setZCountryUrlParam, E as currencyDisplay, F as currencyConvertAndFormat, G as currencyConvert, H as currencyFormat } from './cart-519f08e3.js';
4
4
  import { c as classes } from './classes-0d95c529.js';
5
5
  import { h as handleFetch, a as logError, l as log } from './handleFetch-da1a9c5d.js';
6
6
  import { g as getHasMoreSpaceOnRight } from './getHasMoreSpaceOnRight-70eb913a.js';
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-86b8247e.js';
2
- import { T as localizationStoreUpdateSelectedLocale, p as translate, l as localizationStore } from './cart-65c7d5f1.js';
2
+ import { T as localizationStoreUpdateSelectedLocale, p as translate, l as localizationStore } from './cart-519f08e3.js';
3
3
  import { d as zonosStoreFontFamily } from './zonosStore-6b5bd87c.js';
4
4
  import { l as languages } from './ILanguage-cd6acb72.js';
5
5
  import './handleFetch-da1a9c5d.js';
@@ -2,9 +2,9 @@ import { r as registerInstance, h, H as Host, d as getElement, c as createEvent
2
2
  import { d as zonosStoreFontFamily } from './zonosStore-6b5bd87c.js';
3
3
  import { c as classes } from './classes-0d95c529.js';
4
4
  import { g as getBorderRadius } from './getBorderRadius-008516a4.js';
5
- import { j as stripeStore } from './cart-65c7d5f1.js';
5
+ import { j as stripeStore } from './cart-519f08e3.js';
6
6
  import { a as logError, l as log } from './handleFetch-da1a9c5d.js';
7
- import { d as paypalStoreInitButtons } from './paypal-cd96efa7.js';
7
+ import { d as paypalStoreInitButtons } from './paypal-d0a05eda.js';
8
8
  import './isDarkColor-dc08fa26.js';
9
9
 
10
10
  const zonosNotificationCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}:host .zonos--notification-items{position:fixed;z-index:9999999999;bottom:24px;gap:8px;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:8px;border-radius:var(--zonos--border-radius, var(--zonos-elements-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(--zonos-elements-green-700)}:host .zonos--notification-item.error{background-color:var(--zonos-elements-red-700)}:host .zonos--notification-item.warning{background-color:var(--zonos-elements-orange-700)}";