@zonos/elements 1.3.121 → 1.3.122

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/{CheckoutConfig-222be92b.js → CheckoutConfig-00c7333a.js} +1 -1
  2. package/dist/cjs/{cart-b2ba04a6.js → cart-0e01d134.js} +18 -2
  3. package/dist/cjs/{handleFetch-bd39d5cc.js → handleFetch-83c97d08.js} +1 -1
  4. package/dist/cjs/index.cjs.js +9 -9
  5. package/dist/cjs/{paypal-1209340d.js → paypal-f1366d51.js} +2 -2
  6. package/dist/cjs/zonos-address_7.cjs.entry.js +2 -2
  7. package/dist/cjs/zonos-cart-items_13.cjs.entry.js +3 -3
  8. package/dist/cjs/zonos-checkout.cjs.entry.js +4 -4
  9. package/dist/cjs/zonos-controller.cjs.entry.js +2 -2
  10. package/dist/cjs/zonos-country-flag.cjs.entry.js +2 -2
  11. package/dist/cjs/zonos-country-select_4.cjs.entry.js +2 -2
  12. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +2 -2
  13. package/dist/cjs/zonos-hello.cjs.entry.js +2 -2
  14. package/dist/cjs/zonos-language-select_2.cjs.entry.js +2 -2
  15. package/dist/cjs/zonos-notification_3.cjs.entry.js +3 -3
  16. package/dist/collection/components/store/checkout/stripe.js +18 -1
  17. package/dist/collection/types/generated/graphql.frontend.types.js +2 -0
  18. package/dist/collection/types/generated/graphql.internal.types.js +37 -4
  19. package/dist/collection/utils/formattedUrl.js +2 -1
  20. package/dist/esm/{CheckoutConfig-f3f1d468.js → CheckoutConfig-5cde3ee4.js} +1 -1
  21. package/dist/esm/{cart-c2a7dbf4.js → cart-782d513d.js} +18 -2
  22. package/dist/esm/{handleFetch-752697c2.js → handleFetch-7424d200.js} +1 -1
  23. package/dist/esm/index.js +10 -10
  24. package/dist/esm/{paypal-47ce80b4.js → paypal-7df6311e.js} +2 -2
  25. package/dist/esm/zonos-address_7.entry.js +2 -2
  26. package/dist/esm/zonos-cart-items_13.entry.js +3 -3
  27. package/dist/esm/zonos-checkout.entry.js +4 -4
  28. package/dist/esm/zonos-controller.entry.js +2 -2
  29. package/dist/esm/zonos-country-flag.entry.js +2 -2
  30. package/dist/esm/zonos-country-select_4.entry.js +2 -2
  31. package/dist/esm/zonos-hello-dialog.entry.js +2 -2
  32. package/dist/esm/zonos-hello.entry.js +2 -2
  33. package/dist/esm/zonos-language-select_2.entry.js +2 -2
  34. package/dist/esm/zonos-notification_3.entry.js +3 -3
  35. package/dist/esm-es5/{CheckoutConfig-f3f1d468.js → CheckoutConfig-5cde3ee4.js} +1 -1
  36. package/dist/esm-es5/cart-782d513d.js +1 -0
  37. package/dist/esm-es5/handleFetch-7424d200.js +1 -0
  38. package/dist/esm-es5/index.js +1 -1
  39. package/dist/esm-es5/{paypal-47ce80b4.js → paypal-7df6311e.js} +1 -1
  40. package/dist/esm-es5/zonos-address_7.entry.js +1 -1
  41. package/dist/esm-es5/zonos-cart-items_13.entry.js +1 -1
  42. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  43. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  44. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  45. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  46. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  47. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  48. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  49. package/dist/esm-es5/zonos-notification_3.entry.js +1 -1
  50. package/dist/scripts/index.d.ts +2 -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/checkout/cart.d.ts +1 -0
  55. package/dist/types/types/checkout/api/NormalizedTempCart.d.ts +1 -1
  56. package/dist/types/types/generated/graphql.frontend.types.d.ts +2 -0
  57. package/dist/types/types/generated/graphql.frontend.types.ts +2 -0
  58. package/dist/types/types/generated/graphql.internal.types.d.ts +47 -7
  59. package/dist/types/types/generated/graphql.internal.types.ts +60 -8
  60. package/dist/zonos-elements/assets/RemoveIcon.svg +1 -1
  61. package/dist/zonos-elements/index.esm.js +1 -1
  62. package/dist/zonos-elements/{p-63e67e78.system.entry.js → p-05820096.system.entry.js} +1 -1
  63. package/dist/zonos-elements/{p-a70da456.system.entry.js → p-05839a81.system.entry.js} +1 -1
  64. package/dist/zonos-elements/{p-addf0048.entry.js → p-0a5d1db8.entry.js} +1 -1
  65. package/dist/zonos-elements/{p-9143b174.entry.js → p-100dc75c.entry.js} +1 -1
  66. package/dist/zonos-elements/{p-3f464965.entry.js → p-19d75216.entry.js} +1 -1
  67. package/dist/zonos-elements/{p-b1b7ac58.system.entry.js → p-1b240438.system.entry.js} +1 -1
  68. package/dist/zonos-elements/p-22cb3fa7.js +1 -0
  69. package/dist/zonos-elements/{p-9af218f8.entry.js → p-2cb215fd.entry.js} +1 -1
  70. package/dist/zonos-elements/{p-d8e4b363.entry.js → p-36cfebe1.entry.js} +1 -1
  71. package/dist/zonos-elements/{p-d4ae2bd4.system.js → p-5834b65d.system.js} +2 -2
  72. package/dist/zonos-elements/{p-0af2a53c.entry.js → p-5e6b1a44.entry.js} +1 -1
  73. package/dist/zonos-elements/{p-3a70faa7.system.entry.js → p-75d4bd5f.system.entry.js} +1 -1
  74. package/dist/zonos-elements/p-78887e65.system.js +1 -0
  75. package/dist/zonos-elements/{p-76251f26.system.entry.js → p-80919c61.system.entry.js} +1 -1
  76. package/dist/zonos-elements/p-81055154.system.js +1 -0
  77. package/dist/zonos-elements/{p-14b0dc71.system.entry.js → p-850b0e2a.system.entry.js} +1 -1
  78. package/dist/zonos-elements/{p-8a64b0c4.system.entry.js → p-86d875a8.system.entry.js} +1 -1
  79. package/dist/zonos-elements/{p-7780ded7.entry.js → p-878e3c68.entry.js} +1 -1
  80. package/dist/zonos-elements/{p-c0fc4490.js → p-8e317f73.js} +1 -1
  81. package/dist/zonos-elements/{p-b1373482.system.entry.js → p-91a332f3.system.entry.js} +1 -1
  82. package/dist/zonos-elements/{p-d5bd3c3a.system.entry.js → p-bbddbf97.system.entry.js} +1 -1
  83. package/dist/zonos-elements/{p-9b5f28ba.system.js → p-bc2efe24.system.js} +1 -1
  84. package/dist/zonos-elements/{p-81dbd74c.entry.js → p-bce88a97.entry.js} +1 -1
  85. package/dist/zonos-elements/p-c78dd680.system.js +1 -1
  86. package/dist/zonos-elements/{p-2251fc7e.entry.js → p-d8e9e915.entry.js} +1 -1
  87. package/dist/zonos-elements/{p-f4b06db0.system.entry.js → p-daac8c76.system.entry.js} +1 -1
  88. package/dist/zonos-elements/{p-b8e00fdf.system.js → p-e50eaf44.system.js} +1 -1
  89. package/dist/zonos-elements/{p-02495901.entry.js → p-f12c1c1a.entry.js} +1 -1
  90. package/dist/zonos-elements/p-f3cdaa23.js +1 -0
  91. package/dist/zonos-elements/{p-34fb869f.js → p-fcb2227b.js} +1 -1
  92. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  93. package/package.json +1 -1
  94. package/dist/esm-es5/cart-c2a7dbf4.js +0 -1
  95. package/dist/esm-es5/handleFetch-752697c2.js +0 -1
  96. package/dist/zonos-elements/p-1cdec61a.system.js +0 -1
  97. package/dist/zonos-elements/p-6cbcdee3.system.js +0 -1
  98. package/dist/zonos-elements/p-d4110fa4.js +0 -1
  99. package/dist/zonos-elements/p-ee89e172.js +0 -1
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const handleFetch = require('./handleFetch-bd39d5cc.js');
3
+ const handleFetch = require('./handleFetch-83c97d08.js');
4
4
 
5
5
  const getTempCartById = async ({ cartId, retries, }) => {
6
6
  const urlParams = new URLSearchParams(window.location.search);
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const zonosStore = require('./zonosStore-e12d459c.js');
4
- const handleFetch = require('./handleFetch-bd39d5cc.js');
4
+ const handleFetch = require('./handleFetch-83c97d08.js');
5
5
  const isDarkColor = require('./isDarkColor-d206c6fa.js');
6
6
  const getBorderRadius = require('./getBorderRadius-61ed5601.js');
7
7
 
@@ -9789,7 +9789,7 @@ const stripeCalculateLandedCost = async () => {
9789
9789
  }
9790
9790
  };
9791
9791
  const stripeStorePrefetchLandedCost = async (params) => {
9792
- var _a, _b, _c, _d, _e, _f, _g;
9792
+ var _a, _b, _c, _d, _e, _f, _g, _h;
9793
9793
  const applyingPromocode = !!(params === null || params === void 0 ? void 0 : params.applyingPromocode);
9794
9794
  const stripeAddressReady = !!((_a = stripeStore.stripeAddressEventData) === null || _a === void 0 ? void 0 : _a.complete);
9795
9795
  const stripeLinkReady = !!((_b = stripeStore.stripeLinkEventData) === null || _b === void 0 ? void 0 : _b.complete);
@@ -9842,6 +9842,22 @@ const stripeStorePrefetchLandedCost = async (params) => {
9842
9842
  // default to empty array if we failed to fetch landed cost, so we can show the error message
9843
9843
  cartStore.landedCostData = [];
9844
9844
  cartStore.shippingData = [];
9845
+ const excludeErrors = [
9846
+ 'The landed cost calculation request was aborted to initiate a new one.',
9847
+ ];
9848
+ if (err instanceof Error &&
9849
+ err.message &&
9850
+ !excludeErrors.includes(err.message)) {
9851
+ const shipToAddress = (_h = stripeStore.stripeAddressUsedWhenFetchingLC) === null || _h === void 0 ? void 0 : _h.value;
9852
+ void handleFetch.sendErrorLog({
9853
+ endpoint: 'Failed to fetch landed cost',
9854
+ errors: [err.message],
9855
+ metadata: {
9856
+ cartId: window.Zonos.cartId,
9857
+ shipToAddress,
9858
+ },
9859
+ });
9860
+ }
9845
9861
  handleFetch.logError(err);
9846
9862
  }
9847
9863
  stripeStore.isFetchingLandedCost = false;
@@ -89,7 +89,7 @@ const fallbackApiType = ['cloudflare', 'vercel'];
89
89
  const MAIN_BASE_API_TYPE = fallbackApiType[0];
90
90
  const fallbackApiList = {
91
91
  cloudflare: "https://route.elements.zonos.com",
92
- vercel: "https://v1.route.js.zonos.com",
92
+ vercel: "https://route.js.zonos.com",
93
93
  };
94
94
  const MAIN_BASE_API = fallbackApiList[MAIN_BASE_API_TYPE];
95
95
  /**
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const handleFetch = require('./handleFetch-bd39d5cc.js');
6
- const CheckoutConfig = require('./CheckoutConfig-222be92b.js');
5
+ const handleFetch = require('./handleFetch-83c97d08.js');
6
+ const CheckoutConfig = require('./CheckoutConfig-00c7333a.js');
7
7
 
8
8
  /**
9
9
  * Get the load version and url based on the loadScriptSrc and version
@@ -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.121.js.zonos.com";
100
+ const cdnUrl = "https://v1.3.122.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.121.js.zonos.com";
285
- const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.121";
286
- const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.121";
287
- const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.121";
284
+ const ZONOS_URL = "https://v1.3.122.js.zonos.com";
285
+ const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.122";
286
+ const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.122";
287
+ const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.122";
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 = "1730844222999";
302
+ Zonos.releaseDate = "1730912119121";
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.121"}`;
312
+ Zonos.version = `v${"1.3.122"}`;
313
313
  Zonos.modeAlerted = false;
314
314
  Zonos.cartData = null;
315
315
  Zonos.paypal = null;
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  const zonosStore = require('./zonosStore-e12d459c.js');
4
- const cart = require('./cart-b2ba04a6.js');
5
- const handleFetch = require('./handleFetch-bd39d5cc.js');
4
+ const cart = require('./cart-0e01d134.js');
5
+ const handleFetch = require('./handleFetch-83c97d08.js');
6
6
  const isDarkColor = require('./isDarkColor-d206c6fa.js');
7
7
 
8
8
  /*!
@@ -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-b2ba04a6.js');
6
+ const cart = require('./cart-0e01d134.js');
7
7
  const isCheckoutMobile = require('./isCheckoutMobile-f491ca7c.js');
8
- const handleFetch = require('./handleFetch-bd39d5cc.js');
8
+ const handleFetch = require('./handleFetch-83c97d08.js');
9
9
  const containsNonLatinChars = require('./containsNonLatinChars-2be5129b.js');
10
10
  const zonosStore = require('./zonosStore-e12d459c.js');
11
11
  const classes = require('./classes-b7918f56.js');
@@ -3,13 +3,13 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d56e0a8b.js');
6
- const cart = require('./cart-b2ba04a6.js');
6
+ const cart = require('./cart-0e01d134.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
- const paypal = require('./paypal-1209340d.js');
8
+ const paypal = require('./paypal-f1366d51.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');
12
- const handleFetch = require('./handleFetch-bd39d5cc.js');
12
+ const handleFetch = require('./handleFetch-83c97d08.js');
13
13
  const isCheckoutMobile = require('./isCheckoutMobile-f491ca7c.js');
14
14
  const ILanguage = require('./ILanguage-98b04442.js');
15
15
  const isDarkColor = require('./isDarkColor-d206c6fa.js');
@@ -3,16 +3,16 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d56e0a8b.js');
6
- const cart = require('./cart-b2ba04a6.js');
7
- const paypal = require('./paypal-1209340d.js');
6
+ const cart = require('./cart-0e01d134.js');
7
+ const paypal = require('./paypal-f1366d51.js');
8
8
  const zonosStore = require('./zonosStore-e12d459c.js');
9
- const handleFetch = require('./handleFetch-bd39d5cc.js');
9
+ const handleFetch = require('./handleFetch-83c97d08.js');
10
10
  const createCustomEvent = require('./createCustomEvent-3e982e57.js');
11
11
  const isCheckoutMobile = require('./isCheckoutMobile-f491ca7c.js');
12
12
  const classes = require('./classes-b7918f56.js');
13
13
  const getBorderRadius = require('./getBorderRadius-61ed5601.js');
14
14
  const isDarkColor = require('./isDarkColor-d206c6fa.js');
15
- const CheckoutConfig = require('./CheckoutConfig-222be92b.js');
15
+ const CheckoutConfig = require('./CheckoutConfig-00c7333a.js');
16
16
  const RemoveIcon = require('./RemoveIcon-081ac073.js');
17
17
 
18
18
  /**
@@ -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-b2ba04a6.js');
6
+ const cart = require('./cart-0e01d134.js');
7
7
  const zonosStore = require('./zonosStore-e12d459c.js');
8
- const handleFetch = require('./handleFetch-bd39d5cc.js');
8
+ const handleFetch = require('./handleFetch-83c97d08.js');
9
9
  require('./isDarkColor-d206c6fa.js');
10
10
  require('./getBorderRadius-61ed5601.js');
11
11
 
@@ -3,10 +3,10 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d56e0a8b.js');
6
- const cart = require('./cart-b2ba04a6.js');
6
+ const cart = require('./cart-0e01d134.js');
7
7
  const zonosStore = require('./zonosStore-e12d459c.js');
8
8
  const classes = require('./classes-b7918f56.js');
9
- require('./handleFetch-bd39d5cc.js');
9
+ require('./handleFetch-83c97d08.js');
10
10
  require('./isDarkColor-d206c6fa.js');
11
11
  require('./getBorderRadius-61ed5601.js');
12
12
 
@@ -3,12 +3,12 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d56e0a8b.js');
6
- const cart = require('./cart-b2ba04a6.js');
6
+ const cart = require('./cart-0e01d134.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');
10
10
  const ILanguage = require('./ILanguage-98b04442.js');
11
- require('./handleFetch-bd39d5cc.js');
11
+ require('./handleFetch-83c97d08.js');
12
12
  require('./getBorderRadius-61ed5601.js');
13
13
 
14
14
  /**
@@ -3,12 +3,12 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d56e0a8b.js');
6
- const cart = require('./cart-b2ba04a6.js');
6
+ const cart = require('./cart-0e01d134.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');
10
10
  const getHasMoreSpaceOnRight = require('./getHasMoreSpaceOnRight-4c94667f.js');
11
- require('./handleFetch-bd39d5cc.js');
11
+ require('./handleFetch-83c97d08.js');
12
12
  require('./isDarkColor-d206c6fa.js');
13
13
  require('./getBorderRadius-61ed5601.js');
14
14
 
@@ -4,9 +4,9 @@ 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-b2ba04a6.js');
7
+ const cart = require('./cart-0e01d134.js');
8
8
  const classes = require('./classes-b7918f56.js');
9
- const handleFetch = require('./handleFetch-bd39d5cc.js');
9
+ const handleFetch = require('./handleFetch-83c97d08.js');
10
10
  const getHasMoreSpaceOnRight = require('./getHasMoreSpaceOnRight-4c94667f.js');
11
11
  require('./isDarkColor-d206c6fa.js');
12
12
  require('./getBorderRadius-61ed5601.js');
@@ -3,10 +3,10 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d56e0a8b.js');
6
- const cart = require('./cart-b2ba04a6.js');
6
+ const cart = require('./cart-0e01d134.js');
7
7
  const zonosStore = require('./zonosStore-e12d459c.js');
8
8
  const ILanguage = require('./ILanguage-98b04442.js');
9
- require('./handleFetch-bd39d5cc.js');
9
+ require('./handleFetch-83c97d08.js');
10
10
  require('./isDarkColor-d206c6fa.js');
11
11
  require('./getBorderRadius-61ed5601.js');
12
12
 
@@ -5,9 +5,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-d56e0a8b.js');
6
6
  const zonosStore = require('./zonosStore-e12d459c.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
- const cart = require('./cart-b2ba04a6.js');
9
- const handleFetch = require('./handleFetch-bd39d5cc.js');
10
- const paypal = require('./paypal-1209340d.js');
8
+ const cart = require('./cart-0e01d134.js');
9
+ const handleFetch = require('./handleFetch-83c97d08.js');
10
+ const paypal = require('./paypal-f1366d51.js');
11
11
  require('./isDarkColor-d206c6fa.js');
12
12
  require('./getBorderRadius-61ed5601.js');
13
13
 
@@ -12,6 +12,7 @@ import { isDarkColor } from "../../utils/isDarkColor";
12
12
  import { jsonParse } from "../../utils/jsonParse";
13
13
  import { log } from "../../utils/logging/log";
14
14
  import { logError } from "../../utils/logging/logError";
15
+ import { sendErrorLog } from "../../utils/logging/sendErrorLog";
15
16
  import { addressRuleStyle } from "../../../styles/stripe/addressRuleStyle";
16
17
  import { defaultVariable } from "../../../styles/stripe/defaultVariable";
17
18
  const { onChange, reset, state: stripeStore, } = createStore(() => ({
@@ -203,7 +204,7 @@ const stripeCalculateLandedCost = async () => {
203
204
  }
204
205
  };
205
206
  const stripeStorePrefetchLandedCost = async (params) => {
206
- var _a, _b, _c, _d, _e, _f, _g;
207
+ var _a, _b, _c, _d, _e, _f, _g, _h;
207
208
  const applyingPromocode = !!(params === null || params === void 0 ? void 0 : params.applyingPromocode);
208
209
  const stripeAddressReady = !!((_a = stripeStore.stripeAddressEventData) === null || _a === void 0 ? void 0 : _a.complete);
209
210
  const stripeLinkReady = !!((_b = stripeStore.stripeLinkEventData) === null || _b === void 0 ? void 0 : _b.complete);
@@ -256,6 +257,22 @@ const stripeStorePrefetchLandedCost = async (params) => {
256
257
  // default to empty array if we failed to fetch landed cost, so we can show the error message
257
258
  cartStore.landedCostData = [];
258
259
  cartStore.shippingData = [];
260
+ const excludeErrors = [
261
+ 'The landed cost calculation request was aborted to initiate a new one.',
262
+ ];
263
+ if (err instanceof Error &&
264
+ err.message &&
265
+ !excludeErrors.includes(err.message)) {
266
+ const shipToAddress = (_h = stripeStore.stripeAddressUsedWhenFetchingLC) === null || _h === void 0 ? void 0 : _h.value;
267
+ void sendErrorLog({
268
+ endpoint: 'Failed to fetch landed cost',
269
+ errors: [err.message],
270
+ metadata: {
271
+ cartId: window.Zonos.cartId,
272
+ shipToAddress,
273
+ },
274
+ });
275
+ }
259
276
  logError(err);
260
277
  }
261
278
  stripeStore.isFetchingLandedCost = false;
@@ -23,6 +23,7 @@ export const featureAspectKeyEnum = {
23
23
  ExploreFrontendMutation: 'explore_frontend_mutation',
24
24
  ExploreWeaviateMutation: 'explore_weaviate_mutation',
25
25
  FeatureAspect: 'feature_aspect',
26
+ FeatureFlagManagement: 'feature_flag_management',
26
27
  LocaleMessage: 'locale_message',
27
28
  NewCheckoutBeta: 'new_checkout_beta',
28
29
  NewPayoutReport: 'new_payout_report',
@@ -41,6 +42,7 @@ export const featureAudienceNameEnum = {
41
42
  DocsContributor: 'docs_contributor',
42
43
  Executive: 'executive',
43
44
  ExecutiveAssistant: 'executive_assistant',
45
+ FeatureFlagAdmin: 'feature_flag_admin',
44
46
  Finance: 'finance',
45
47
  FrontendEngineer: 'frontend_engineer',
46
48
  I18nKnownLanguage: 'i18n_known_language',
@@ -325,10 +325,6 @@ export const classifyMissingHsCodesStatus = {
325
325
  Disabled: 'DISABLED',
326
326
  Enabled: 'ENABLED',
327
327
  };
328
- export const clearanceType = {
329
- Commercial: 'COMMERCIAL',
330
- Postal: 'POSTAL',
331
- };
332
328
  export const collectFeeCalculationType = {
333
329
  Flat: 'FLAT',
334
330
  Percent: 'PERCENT',
@@ -1076,11 +1072,17 @@ export const customsDocumentType = {
1076
1072
  export const customsSpecAttributeType = {
1077
1073
  AccountNumber: 'ACCOUNT_NUMBER',
1078
1074
  B13A: 'B13A',
1075
+ DutyTaxBillingAccountNumber: 'DUTY_TAX_BILLING_ACCOUNT_NUMBER',
1079
1076
  Eccn: 'ECCN',
1080
1077
  Eori: 'EORI',
1078
+ Gst: 'GST',
1079
+ Ioss: 'IOSS',
1081
1080
  Itn: 'ITN',
1082
1081
  OrderNumber: 'ORDER_NUMBER',
1083
1082
  PurchaseOrderNumber: 'PURCHASE_ORDER_NUMBER',
1083
+ ShippingBillingAccountNumber: 'SHIPPING_BILLING_ACCOUNT_NUMBER',
1084
+ Vat: 'VAT',
1085
+ Voec: 'VOEC',
1084
1086
  };
1085
1087
  export const customsSpecSourceType = {
1086
1088
  ApiRequest: 'API_REQUEST',
@@ -1182,6 +1184,7 @@ export const elementsUiTheme = {
1182
1184
  System: 'SYSTEM',
1183
1185
  };
1184
1186
  export const emailTemplateProviderType = {
1187
+ Custom: 'CUSTOM',
1185
1188
  Sendgrid: 'SENDGRID',
1186
1189
  };
1187
1190
  export const emailTemplateStatus = {
@@ -1192,7 +1195,10 @@ export const emailTemplateType = {
1192
1195
  AbandonedCart: 'ABANDONED_CART',
1193
1196
  CatalogExport: 'CATALOG_EXPORT',
1194
1197
  ClassificationExport: 'CLASSIFICATION_EXPORT',
1198
+ Custom: 'CUSTOM',
1199
+ InclusivePriceExport: 'INCLUSIVE_PRICE_EXPORT',
1195
1200
  ManualClassificationExport: 'MANUAL_CLASSIFICATION_EXPORT',
1201
+ MerchantOrderConfirmation: 'MERCHANT_ORDER_CONFIRMATION',
1196
1202
  OrderCanceled: 'ORDER_CANCELED',
1197
1203
  OrderConfirmation: 'ORDER_CONFIRMATION',
1198
1204
  OrderReceipt: 'ORDER_RECEIPT',
@@ -1357,6 +1363,12 @@ export const inclusivePriceCatalogValidationJobComplianceStatus = {
1357
1363
  NonCompliant: 'NON_COMPLIANT',
1358
1364
  Pending: 'PENDING',
1359
1365
  };
1366
+ export const inclusivePriceExportJobStatus = {
1367
+ Completed: 'COMPLETED',
1368
+ Error: 'ERROR',
1369
+ Initialized: 'INITIALIZED',
1370
+ Processing: 'PROCESSING',
1371
+ };
1360
1372
  export const inclusivePriceHistoryCsvJobStatus = {
1361
1373
  Completed: 'COMPLETED',
1362
1374
  Error: 'ERROR',
@@ -1866,6 +1878,18 @@ export const packageLocation = {
1866
1878
  Rear: 'REAR',
1867
1879
  Side: 'SIDE',
1868
1880
  };
1881
+ export const packagingOptionBulkExportJobStatus = {
1882
+ Completed: 'COMPLETED',
1883
+ CompletedWithErrors: 'COMPLETED_WITH_ERRORS',
1884
+ Error: 'ERROR',
1885
+ Initialized: 'INITIALIZED',
1886
+ };
1887
+ export const packagingOptionBulkJobStatus = {
1888
+ Completed: 'COMPLETED',
1889
+ CompletedWithErrors: 'COMPLETED_WITH_ERRORS',
1890
+ Error: 'ERROR',
1891
+ Initialized: 'INITIALIZED',
1892
+ };
1869
1893
  export const packagingOptionDeleteAction = {
1870
1894
  Delete: 'DELETE',
1871
1895
  Disable: 'DISABLE',
@@ -1970,6 +1994,10 @@ export const propertyType = {
1970
1994
  Residental: 'RESIDENTAL',
1971
1995
  Residential: 'RESIDENTIAL',
1972
1996
  };
1997
+ export const providedHsCodeSource = {
1998
+ Classify: 'CLASSIFY',
1999
+ User: 'USER',
2000
+ };
1973
2001
  export const providedHsCodeVisibilityStatus = {
1974
2002
  NotVisible: 'NOT_VISIBLE',
1975
2003
  Visible: 'VISIBLE',
@@ -2218,6 +2246,10 @@ export const trackingEventTypeCode = {
2218
2246
  PickedUp: 'PICKED_UP',
2219
2247
  PreTransit: 'PRE_TRANSIT',
2220
2248
  };
2249
+ export const trackingType = {
2250
+ Package: 'PACKAGE',
2251
+ Shipment: 'SHIPMENT',
2252
+ };
2221
2253
  export const transactionFeeType = {
2222
2254
  DutyTax: 'DUTY_TAX',
2223
2255
  LcgPerShipment: 'LCG_PER_SHIPMENT',
@@ -2307,6 +2339,7 @@ export const webhookType = {
2307
2339
  IpSettingStatusChanged: 'IP_SETTING_STATUS_CHANGED',
2308
2340
  OrderCanceled: 'ORDER_CANCELED',
2309
2341
  OrderCreated: 'ORDER_CREATED',
2342
+ OrderShipping: 'ORDER_SHIPPING',
2310
2343
  OrderStatusChanged: 'ORDER_STATUS_CHANGED',
2311
2344
  OrderUpdated: 'ORDER_UPDATED',
2312
2345
  ShipmentCanceled: 'SHIPMENT_CANCELED',
@@ -62,7 +62,8 @@ export const formattedUrl = ({ branchName, inCI: _inCI, inVercel: _inVercel, isV
62
62
  }
63
63
  const version = type === 'major' ? `${_packageVersion === null || _packageVersion === void 0 ? void 0 : _packageVersion.split('.')[0]}` : _packageVersion;
64
64
  const isVersionedUrl = domainOnlyUrl === null || domainOnlyUrl === void 0 ? void 0 : domainOnlyUrl.startsWith('v');
65
- const shouldAddVersion = (isProdBranch || _inCI) && !isVersionedUrl;
65
+ // Should not add version prefix to the API as the API is versionless
66
+ const shouldAddVersion = (isProdBranch || _inCI) && !isVersionedUrl && !isServerless;
66
67
  /**
67
68
  * Trimming the `qa` from the domain url only when we add version prefix
68
69
  * @reason We've now introduced alpha versioning for the QA branch deployment.
@@ -1,4 +1,4 @@
1
- import { h as handleFetch, l as log, a as logError } from './handleFetch-752697c2.js';
1
+ import { h as handleFetch, l as log, a as logError } from './handleFetch-7424d200.js';
2
2
 
3
3
  const getTempCartById = async ({ cartId, retries, }) => {
4
4
  const urlParams = new URLSearchParams(window.location.search);
@@ -1,5 +1,5 @@
1
1
  import { c as createStore, z as zonosStore } from './zonosStore-6b5bd87c.js';
2
- import { h as handleFetch, a as logError, l as log, f as fallbackApiList, j as jsonParse } from './handleFetch-752697c2.js';
2
+ import { h as handleFetch, a as logError, l as log, f as fallbackApiList, s as sendErrorLog, j as jsonParse } from './handleFetch-7424d200.js';
3
3
  import { i as isDarkColor } from './isDarkColor-dc08fa26.js';
4
4
  import { g as getBorderRadius } from './getBorderRadius-008516a4.js';
5
5
 
@@ -9787,7 +9787,7 @@ const stripeCalculateLandedCost = async () => {
9787
9787
  }
9788
9788
  };
9789
9789
  const stripeStorePrefetchLandedCost = async (params) => {
9790
- var _a, _b, _c, _d, _e, _f, _g;
9790
+ var _a, _b, _c, _d, _e, _f, _g, _h;
9791
9791
  const applyingPromocode = !!(params === null || params === void 0 ? void 0 : params.applyingPromocode);
9792
9792
  const stripeAddressReady = !!((_a = stripeStore.stripeAddressEventData) === null || _a === void 0 ? void 0 : _a.complete);
9793
9793
  const stripeLinkReady = !!((_b = stripeStore.stripeLinkEventData) === null || _b === void 0 ? void 0 : _b.complete);
@@ -9840,6 +9840,22 @@ const stripeStorePrefetchLandedCost = async (params) => {
9840
9840
  // default to empty array if we failed to fetch landed cost, so we can show the error message
9841
9841
  cartStore.landedCostData = [];
9842
9842
  cartStore.shippingData = [];
9843
+ const excludeErrors = [
9844
+ 'The landed cost calculation request was aborted to initiate a new one.',
9845
+ ];
9846
+ if (err instanceof Error &&
9847
+ err.message &&
9848
+ !excludeErrors.includes(err.message)) {
9849
+ const shipToAddress = (_h = stripeStore.stripeAddressUsedWhenFetchingLC) === null || _h === void 0 ? void 0 : _h.value;
9850
+ void sendErrorLog({
9851
+ endpoint: 'Failed to fetch landed cost',
9852
+ errors: [err.message],
9853
+ metadata: {
9854
+ cartId: window.Zonos.cartId,
9855
+ shipToAddress,
9856
+ },
9857
+ });
9858
+ }
9843
9859
  logError(err);
9844
9860
  }
9845
9861
  stripeStore.isFetchingLandedCost = false;
@@ -87,7 +87,7 @@ const fallbackApiType = ['cloudflare', 'vercel'];
87
87
  const MAIN_BASE_API_TYPE = fallbackApiType[0];
88
88
  const fallbackApiList = {
89
89
  cloudflare: "https://route.elements.zonos.com",
90
- vercel: "https://v1.route.js.zonos.com",
90
+ vercel: "https://route.js.zonos.com",
91
91
  };
92
92
  const MAIN_BASE_API = fallbackApiList[MAIN_BASE_API_TYPE];
93
93
  /**
package/dist/esm/index.js CHANGED
@@ -1,6 +1,6 @@
1
- import { l as log, a as logError } from './handleFetch-752697c2.js';
2
- import { s as setupCartData, c as checkoutHiddenBtnSelector } from './CheckoutConfig-f3f1d468.js';
3
- export { c as checkoutHiddenBtnSelector, d as domesticRedirectedBtnSelector } from './CheckoutConfig-f3f1d468.js';
1
+ import { l as log, a as logError } from './handleFetch-7424d200.js';
2
+ import { s as setupCartData, c as checkoutHiddenBtnSelector } from './CheckoutConfig-5cde3ee4.js';
3
+ export { c as checkoutHiddenBtnSelector, d as domesticRedirectedBtnSelector } from './CheckoutConfig-5cde3ee4.js';
4
4
 
5
5
  /**
6
6
  * Get the load version and url based on the loadScriptSrc and version
@@ -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.121.js.zonos.com";
97
+ const cdnUrl = "https://v1.3.122.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.121.js.zonos.com";
282
- const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.121";
283
- const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.121";
284
- const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.121";
281
+ const ZONOS_URL = "https://v1.3.122.js.zonos.com";
282
+ const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.122";
283
+ const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.122";
284
+ const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.122";
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 = "1730844222999";
299
+ Zonos.releaseDate = "1730912119121";
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.121"}`;
309
+ Zonos.version = `v${"1.3.122"}`;
310
310
  Zonos.modeAlerted = false;
311
311
  Zonos.cartData = null;
312
312
  Zonos.paypal = null;
@@ -1,6 +1,6 @@
1
1
  import { z as zonosStore, c as createStore } from './zonosStore-6b5bd87c.js';
2
- import { d as cartStore, v as stripeStoreHandleInventoryCheck, o as translate, u as cartStoreNextStep, h as cartStoreClearCheckoutInterval } from './cart-c2a7dbf4.js';
3
- import { h as handleFetch, l as log, a as logError, j as jsonParse } from './handleFetch-752697c2.js';
2
+ import { d as cartStore, v as stripeStoreHandleInventoryCheck, o as translate, u as cartStoreNextStep, h as cartStoreClearCheckoutInterval } from './cart-782d513d.js';
3
+ import { h as handleFetch, l as log, a as logError, j as jsonParse } from './handleFetch-7424d200.js';
4
4
  import { t as tinycolor } from './isDarkColor-dc08fa26.js';
5
5
 
6
6
  /*!
@@ -1,7 +1,7 @@
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, R as getFallbackDefaultCountryCode, l as localizationStore, o as translate } from './cart-c2a7dbf4.js';
2
+ import { j as stripeStore, R as getFallbackDefaultCountryCode, l as localizationStore, o as translate } from './cart-782d513d.js';
3
3
  import { i as isCheckoutMobile } from './isCheckoutMobile-8846dccb.js';
4
- import { a as logError, l as log } from './handleFetch-752697c2.js';
4
+ import { a as logError, l as log } from './handleFetch-7424d200.js';
5
5
  import { i as isTextContainsNonLatinChars, c as containsNonLatinChars } from './containsNonLatinChars-2d8810c3.js';
6
6
  import { z as zonosStore, d as zonosStoreFontFamily } from './zonosStore-6b5bd87c.js';
7
7
  import { c as classes } from './classes-0d95c529.js';
@@ -1,11 +1,11 @@
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, G as currencyFormat, o as translate, H as cartStoreHasOneEligibleItem, I as stripeStoreApplyPromoCode, J as stripeStoreRemovePromoCode, y as stripeStoreReset, j as stripeStore, K as stripeStoreRetrievePayment, t as trackConversionEvent, L as stripeStoreResetPromoCode, M as stripeStoreMessageBasedOnStatus, l as localizationStore, N as stripeStoreTranslateAddressToLatin, O as cartStoreUpdateSelectedShippingOption, P as cartStoreGetShippingTransitInfo, Q as sortServiceLevelOptionsByAmount } from './cart-c2a7dbf4.js';
2
+ import { d as cartStore, G as currencyFormat, o as translate, H as cartStoreHasOneEligibleItem, I as stripeStoreApplyPromoCode, J as stripeStoreRemovePromoCode, y as stripeStoreReset, j as stripeStore, K as stripeStoreRetrievePayment, t as trackConversionEvent, L as stripeStoreResetPromoCode, M as stripeStoreMessageBasedOnStatus, l as localizationStore, N as stripeStoreTranslateAddressToLatin, O as cartStoreUpdateSelectedShippingOption, P as cartStoreGetShippingTransitInfo, Q as sortServiceLevelOptionsByAmount } from './cart-782d513d.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-47ce80b4.js';
4
+ import { s as submitGtag, b as paypalStore, c as paypalStoreReset, i as isContrastColor } from './paypal-7df6311e.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';
8
- import { h as handleFetch, l as log, s as sendErrorLog, j as jsonParse, b as allLogs } from './handleFetch-752697c2.js';
8
+ import { h as handleFetch, l as log, s as sendErrorLog, j as jsonParse, b as allLogs } from './handleFetch-7424d200.js';
9
9
  import { i as isCheckoutMobile } from './isCheckoutMobile-8846dccb.js';
10
10
  import { l as languages } from './ILanguage-cd6acb72.js';
11
11
  import { i as isDarkColor, t as tinycolor } from './isDarkColor-dc08fa26.js';
@@ -1,14 +1,14 @@
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 cartStoreUpdateToErrorState, o as translate, p as getZCountryUrlParam, q as cartStoreSetCheckoutSession, r as stripeStorePrefetchLandedCost, u as cartStoreNextStep, v as stripeStoreHandleInventoryCheck, w as stripeStoreConfirmPayment, x as stripeStoreHandleInventoryRefund, y as stripeStoreReset, z as localizationStoreOnUpdate } from './cart-c2a7dbf4.js';
3
- import { p as paypalStoreHasPaypalEnabled, s as submitGtag, a as paypalInitScript } from './paypal-47ce80b4.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 cartStoreUpdateToErrorState, o as translate, p as getZCountryUrlParam, q as cartStoreSetCheckoutSession, r as stripeStorePrefetchLandedCost, u as cartStoreNextStep, v as stripeStoreHandleInventoryCheck, w as stripeStoreConfirmPayment, x as stripeStoreHandleInventoryRefund, y as stripeStoreReset, z as localizationStoreOnUpdate } from './cart-782d513d.js';
3
+ import { p as paypalStoreHasPaypalEnabled, s as submitGtag, a as paypalInitScript } from './paypal-7df6311e.js';
4
4
  import { z as zonosStore, g as getZonosStoreTheme, m as mergeConfig } from './zonosStore-6b5bd87c.js';
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-752697c2.js';
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-7424d200.js';
6
6
  import { c as createCustomEvent, g as getIsTestMode } from './createCustomEvent-31a792d3.js';
7
7
  import { i as isCheckoutMobile } from './isCheckoutMobile-8846dccb.js';
8
8
  import { c as classes } from './classes-0d95c529.js';
9
9
  import { g as getBorderRadius } from './getBorderRadius-008516a4.js';
10
10
  import { i as isDarkColor } from './isDarkColor-dc08fa26.js';
11
- import { s as setupCartData, d as domesticRedirectedBtnSelector, c as checkoutHiddenBtnSelector } from './CheckoutConfig-f3f1d468.js';
11
+ import { s as setupCartData, d as domesticRedirectedBtnSelector, c as checkoutHiddenBtnSelector } from './CheckoutConfig-5cde3ee4.js';
12
12
  import { R as RemoveIcon } from './RemoveIcon-9dc5dd1a.js';
13
13
 
14
14
  /**