@zonos/elements 1.3.103 → 1.3.105

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 (93) hide show
  1. package/dist/cjs/{CheckoutConfig-090e2b05.js → CheckoutConfig-33c1075c.js} +1 -1
  2. package/dist/cjs/{cart-207f884e.js → cart-31e4e866.js} +2 -1
  3. package/dist/cjs/{createCustomEvent-16d055b8.js → createCustomEvent-18fbf653.js} +2 -2
  4. package/dist/cjs/{handleFetch-b0bbc10b.js → handleFetch-aa729c61.js} +2 -1
  5. package/dist/cjs/index.cjs.js +9 -9
  6. package/dist/cjs/{paypal-8f5dccc8.js → paypal-a101e3ca.js} +2 -2
  7. package/dist/cjs/zonos-address_7.cjs.entry.js +2 -2
  8. package/dist/cjs/zonos-cart-items_13.cjs.entry.js +4 -4
  9. package/dist/cjs/zonos-checkout.cjs.entry.js +10 -8
  10. package/dist/cjs/zonos-controller.cjs.entry.js +2 -2
  11. package/dist/cjs/zonos-country-flag.cjs.entry.js +2 -2
  12. package/dist/cjs/zonos-country-select_4.cjs.entry.js +2 -2
  13. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +2 -2
  14. package/dist/cjs/zonos-hello.cjs.entry.js +2 -2
  15. package/dist/cjs/zonos-language-select_2.cjs.entry.js +2 -2
  16. package/dist/cjs/zonos-notification_3.cjs.entry.js +3 -3
  17. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +5 -3
  18. package/dist/collection/components/utils/api/prepCalculateLandedCost.js +2 -0
  19. package/dist/collection/components/utils/logging/sendErrorLog.js +2 -1
  20. package/dist/esm/{CheckoutConfig-9cdb7beb.js → CheckoutConfig-690e8e05.js} +1 -1
  21. package/dist/esm/{cart-90943a07.js → cart-5621d0fe.js} +2 -1
  22. package/dist/esm/{createCustomEvent-3ea6c7c5.js → createCustomEvent-a9206df5.js} +2 -2
  23. package/dist/esm/{handleFetch-41e3d2b2.js → handleFetch-3dea7d46.js} +2 -1
  24. package/dist/esm/index.js +10 -10
  25. package/dist/esm/{paypal-417c64a1.js → paypal-869c30e1.js} +2 -2
  26. package/dist/esm/zonos-address_7.entry.js +2 -2
  27. package/dist/esm/zonos-cart-items_13.entry.js +4 -4
  28. package/dist/esm/zonos-checkout.entry.js +10 -8
  29. package/dist/esm/zonos-controller.entry.js +2 -2
  30. package/dist/esm/zonos-country-flag.entry.js +2 -2
  31. package/dist/esm/zonos-country-select_4.entry.js +2 -2
  32. package/dist/esm/zonos-hello-dialog.entry.js +2 -2
  33. package/dist/esm/zonos-hello.entry.js +2 -2
  34. package/dist/esm/zonos-language-select_2.entry.js +2 -2
  35. package/dist/esm/zonos-notification_3.entry.js +3 -3
  36. package/dist/esm-es5/{CheckoutConfig-9cdb7beb.js → CheckoutConfig-690e8e05.js} +1 -1
  37. package/dist/esm-es5/{cart-90943a07.js → cart-5621d0fe.js} +1 -1
  38. package/dist/esm-es5/{createCustomEvent-3ea6c7c5.js → createCustomEvent-a9206df5.js} +1 -1
  39. package/dist/esm-es5/{handleFetch-41e3d2b2.js → handleFetch-3dea7d46.js} +1 -1
  40. package/dist/esm-es5/index.js +1 -1
  41. package/dist/esm-es5/{paypal-417c64a1.js → paypal-869c30e1.js} +1 -1
  42. package/dist/esm-es5/zonos-address_7.entry.js +1 -1
  43. package/dist/esm-es5/zonos-cart-items_13.entry.js +1 -1
  44. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  45. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  46. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  47. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  48. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  49. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  50. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  51. package/dist/esm-es5/zonos-notification_3.entry.js +1 -1
  52. package/dist/scripts/index.js +1 -1
  53. package/dist/scripts/loadZonos.js +1 -1
  54. package/dist/scripts/zonos.js +1 -1
  55. package/dist/types/types/LogError.d.ts +1 -0
  56. package/dist/zonos-elements/index.esm.js +1 -1
  57. package/dist/zonos-elements/{p-61b1aa56.system.js → p-062b6df4.system.js} +1 -1
  58. package/dist/zonos-elements/{p-a7b75673.system.entry.js → p-139e32ba.system.entry.js} +1 -1
  59. package/dist/zonos-elements/p-15c0e868.system.js +1 -0
  60. package/dist/zonos-elements/{p-9209614f.system.entry.js → p-1bb59ce2.system.entry.js} +1 -1
  61. package/dist/zonos-elements/{p-598cfc03.system.js → p-1c295409.system.js} +1 -1
  62. package/dist/zonos-elements/{p-3f897fc1.system.entry.js → p-21586642.system.entry.js} +1 -1
  63. package/dist/zonos-elements/{p-21f04cb8.system.js → p-239331fa.system.js} +1 -1
  64. package/dist/zonos-elements/{p-6772ace5.entry.js → p-23b042ad.entry.js} +1 -1
  65. package/dist/zonos-elements/{p-591cf960.js → p-39346436.js} +1 -1
  66. package/dist/zonos-elements/{p-27b6bbc2.system.js → p-43b3c2ae.system.js} +1 -1
  67. package/dist/zonos-elements/{p-4813b1f8.entry.js → p-43ef8bf8.entry.js} +1 -1
  68. package/dist/zonos-elements/p-523c0f7d.js +1 -0
  69. package/dist/zonos-elements/{p-317066a3.system.entry.js → p-5a704905.system.entry.js} +1 -1
  70. package/dist/zonos-elements/{p-3b19daa3.system.entry.js → p-5b6fa002.system.entry.js} +1 -1
  71. package/dist/zonos-elements/p-5fff505d.entry.js +1 -0
  72. package/dist/zonos-elements/{p-da2183ab.entry.js → p-65512b26.entry.js} +1 -1
  73. package/dist/zonos-elements/{p-32ff2c95.system.js → p-69388c10.system.js} +1 -1
  74. package/dist/zonos-elements/{p-7dfc395b.js → p-6a310417.js} +1 -1
  75. package/dist/zonos-elements/{p-e0da243f.entry.js → p-7152f8ca.entry.js} +1 -1
  76. package/dist/zonos-elements/{p-574495ac.system.entry.js → p-75571e99.system.entry.js} +1 -1
  77. package/dist/zonos-elements/{p-714241c8.entry.js → p-7562828c.entry.js} +1 -1
  78. package/dist/zonos-elements/{p-d0a6b588.js → p-7593ea46.js} +1 -1
  79. package/dist/zonos-elements/{p-57de792d.system.entry.js → p-7f93ce41.system.entry.js} +1 -1
  80. package/dist/zonos-elements/{p-a017dfc8.system.entry.js → p-82fec811.system.entry.js} +1 -1
  81. package/dist/zonos-elements/{p-8de25afe.js → p-970fa103.js} +1 -1
  82. package/dist/zonos-elements/{p-0d42fb2f.entry.js → p-a8b27301.entry.js} +1 -1
  83. package/dist/zonos-elements/{p-105e5a07.system.entry.js → p-c2e463b7.system.entry.js} +1 -1
  84. package/dist/zonos-elements/p-c78dd680.system.js +1 -1
  85. package/dist/zonos-elements/{p-fcd593bd.entry.js → p-cfda42ba.entry.js} +1 -1
  86. package/dist/zonos-elements/{p-e9614eb2.entry.js → p-d002dd35.entry.js} +1 -1
  87. package/dist/zonos-elements/{p-55f68290.system.entry.js → p-e3b110c7.system.entry.js} +1 -1
  88. package/dist/zonos-elements/{p-4e697c43.entry.js → p-f5e54692.entry.js} +1 -1
  89. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  90. package/package.json +1 -1
  91. package/dist/zonos-elements/p-1fc16bee.system.js +0 -1
  92. package/dist/zonos-elements/p-cc652908.js +0 -1
  93. package/dist/zonos-elements/p-d4e524de.entry.js +0 -1
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const handleFetch = require('./handleFetch-b0bbc10b.js');
3
+ const handleFetch = require('./handleFetch-aa729c61.js');
4
4
 
5
5
  const getTempCartById = async (cartId) => {
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-b18fe6b6.js');
4
- const handleFetch = require('./handleFetch-b0bbc10b.js');
4
+ const handleFetch = require('./handleFetch-aa729c61.js');
5
5
  const isDarkColor = require('./isDarkColor-87ee1eb7.js');
6
6
  const getBorderRadius = require('./getBorderRadius-53c35cd1.js');
7
7
 
@@ -8749,6 +8749,7 @@ const prepCalculateLandedCost = () => {
8749
8749
  const stripeBillingAddressData = stripeStore.stripeShippingSameAsBilling
8750
8750
  ? stripeStore.stripeAddressEventData
8751
8751
  : stripeStore.stripeBillingAddressEventData;
8752
+ handleFetch.log({ stripeAddressData, stripeBillingAddressData }, 'info');
8752
8753
  if (!(stripeAddressData === null || stripeAddressData === void 0 ? void 0 : stripeAddressData.complete) || !(stripeBillingAddressData === null || stripeBillingAddressData === void 0 ? void 0 : stripeBillingAddressData.complete)) {
8753
8754
  throw new Error('Missing stripe address data');
8754
8755
  }
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- const cart = require('./cart-207f884e.js');
3
+ const cart = require('./cart-31e4e866.js');
4
4
  const zonosStore = require('./zonosStore-b18fe6b6.js');
5
- const handleFetch = require('./handleFetch-b0bbc10b.js');
5
+ const handleFetch = require('./handleFetch-aa729c61.js');
6
6
 
7
7
  const trackConversionEvent = async (eventName, metadata) => {
8
8
  var _a, _b;
@@ -140,7 +140,8 @@ const sendErrorLog = async ({ endpoint, errors, metadata, shouldPostReleaseError
140
140
  const errorObject = {
141
141
  endpoint,
142
142
  errors,
143
- metadata: Object.assign({ href: window.location.href, userAgent: userAgentData && userAgentData.brands.length > 0
143
+ href: window.location.href,
144
+ metadata: Object.assign({ userAgent: userAgentData && userAgentData.brands.length > 0
144
145
  ? userAgentData
145
146
  : window.navigator.userAgent }, metadata),
146
147
  };
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const handleFetch = require('./handleFetch-b0bbc10b.js');
6
- const CheckoutConfig = require('./CheckoutConfig-090e2b05.js');
5
+ const handleFetch = require('./handleFetch-aa729c61.js');
6
+ const CheckoutConfig = require('./CheckoutConfig-33c1075c.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.103.js.zonos.com";
100
+ const cdnUrl = "https://v1.3.105.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.103.js.zonos.com";
285
- const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.103";
286
- const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.103";
287
- const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.103";
284
+ const ZONOS_URL = "https://v1.3.105.js.zonos.com";
285
+ const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.105";
286
+ const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.105";
287
+ const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.105";
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 = "1729277584379";
302
+ Zonos.releaseDate = "1729628934814";
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.103"}`;
312
+ Zonos.version = `v${"1.3.105"}`;
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-b18fe6b6.js');
4
- const cart = require('./cart-207f884e.js');
5
- const handleFetch = require('./handleFetch-b0bbc10b.js');
4
+ const cart = require('./cart-31e4e866.js');
5
+ const handleFetch = require('./handleFetch-aa729c61.js');
6
6
  const isDarkColor = require('./isDarkColor-87ee1eb7.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-207f884e.js');
6
+ const cart = require('./cart-31e4e866.js');
7
7
  const isCheckoutMobile = require('./isCheckoutMobile-f491ca7c.js');
8
- const handleFetch = require('./handleFetch-b0bbc10b.js');
8
+ const handleFetch = require('./handleFetch-aa729c61.js');
9
9
  const containsNonLatinChars = require('./containsNonLatinChars-2be5129b.js');
10
10
  const zonosStore = require('./zonosStore-b18fe6b6.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-207f884e.js');
6
+ const cart = require('./cart-31e4e866.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
- const paypal = require('./paypal-8f5dccc8.js');
8
+ const paypal = require('./paypal-a101e3ca.js');
9
9
  const zonosStore = require('./zonosStore-b18fe6b6.js');
10
- const createCustomEvent = require('./createCustomEvent-16d055b8.js');
10
+ const createCustomEvent = require('./createCustomEvent-18fbf653.js');
11
11
  const getBorderRadius = require('./getBorderRadius-53c35cd1.js');
12
- const handleFetch = require('./handleFetch-b0bbc10b.js');
12
+ const handleFetch = require('./handleFetch-aa729c61.js');
13
13
  const isCheckoutMobile = require('./isCheckoutMobile-f491ca7c.js');
14
14
  const ILanguage = require('./ILanguage-98b04442.js');
15
15
  const isDarkColor = require('./isDarkColor-87ee1eb7.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-207f884e.js');
7
- const paypal = require('./paypal-8f5dccc8.js');
6
+ const cart = require('./cart-31e4e866.js');
7
+ const paypal = require('./paypal-a101e3ca.js');
8
8
  const zonosStore = require('./zonosStore-b18fe6b6.js');
9
- const handleFetch = require('./handleFetch-b0bbc10b.js');
10
- const createCustomEvent = require('./createCustomEvent-16d055b8.js');
9
+ const handleFetch = require('./handleFetch-aa729c61.js');
10
+ const createCustomEvent = require('./createCustomEvent-18fbf653.js');
11
11
  const isCheckoutMobile = require('./isCheckoutMobile-f491ca7c.js');
12
12
  const classes = require('./classes-b7918f56.js');
13
13
  const getBorderRadius = require('./getBorderRadius-53c35cd1.js');
14
14
  const isDarkColor = require('./isDarkColor-87ee1eb7.js');
15
- const CheckoutConfig = require('./CheckoutConfig-090e2b05.js');
15
+ const CheckoutConfig = require('./CheckoutConfig-33c1075c.js');
16
16
  const RemoveIcon = require('./RemoveIcon-081ac073.js');
17
17
 
18
18
  /**
@@ -523,8 +523,10 @@ const ZonosCheckout = class {
523
523
  const phone = getParam('customerPhone');
524
524
  const postal_code = getParam('customerZip') || '';
525
525
  const state = getParam('customerState') || '';
526
- // if one of the value is null, no need to preset the default address
527
- if (!line1 || !city || !name || !phone || !country) {
526
+ /**
527
+ * If one of the value is null, no need to preset the default address
528
+ **/
529
+ if (!line1 || (!city && !state) || !name || !phone || !country) {
528
530
  handleFetch.log('Missing required query params so it can not be prefilled', 'info', [
529
531
  !line1 && 'line1',
530
532
  !city && 'city',
@@ -538,7 +540,7 @@ const ZonosCheckout = class {
538
540
  }
539
541
  this.defaultAddress = {
540
542
  address: {
541
- city,
543
+ city: city || '',
542
544
  country,
543
545
  line1,
544
546
  line2,
@@ -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-207f884e.js');
6
+ const cart = require('./cart-31e4e866.js');
7
7
  const zonosStore = require('./zonosStore-b18fe6b6.js');
8
- const handleFetch = require('./handleFetch-b0bbc10b.js');
8
+ const handleFetch = require('./handleFetch-aa729c61.js');
9
9
  require('./isDarkColor-87ee1eb7.js');
10
10
  require('./getBorderRadius-53c35cd1.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-207f884e.js');
6
+ const cart = require('./cart-31e4e866.js');
7
7
  const zonosStore = require('./zonosStore-b18fe6b6.js');
8
8
  const classes = require('./classes-b7918f56.js');
9
- require('./handleFetch-b0bbc10b.js');
9
+ require('./handleFetch-aa729c61.js');
10
10
  require('./isDarkColor-87ee1eb7.js');
11
11
  require('./getBorderRadius-53c35cd1.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-207f884e.js');
6
+ const cart = require('./cart-31e4e866.js');
7
7
  const zonosStore = require('./zonosStore-b18fe6b6.js');
8
8
  const formatStringWithLinks = require('./formatStringWithLinks-52341fc7.js');
9
9
  const isDarkColor = require('./isDarkColor-87ee1eb7.js');
10
10
  const ILanguage = require('./ILanguage-98b04442.js');
11
- require('./handleFetch-b0bbc10b.js');
11
+ require('./handleFetch-aa729c61.js');
12
12
  require('./getBorderRadius-53c35cd1.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-207f884e.js');
6
+ const cart = require('./cart-31e4e866.js');
7
7
  const zonosStore = require('./zonosStore-b18fe6b6.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-b0bbc10b.js');
11
+ require('./handleFetch-aa729c61.js');
12
12
  require('./isDarkColor-87ee1eb7.js');
13
13
  require('./getBorderRadius-53c35cd1.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-b18fe6b6.js');
7
- const cart = require('./cart-207f884e.js');
7
+ const cart = require('./cart-31e4e866.js');
8
8
  const classes = require('./classes-b7918f56.js');
9
- const handleFetch = require('./handleFetch-b0bbc10b.js');
9
+ const handleFetch = require('./handleFetch-aa729c61.js');
10
10
  const getHasMoreSpaceOnRight = require('./getHasMoreSpaceOnRight-4c94667f.js');
11
11
  require('./isDarkColor-87ee1eb7.js');
12
12
  require('./getBorderRadius-53c35cd1.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-207f884e.js');
6
+ const cart = require('./cart-31e4e866.js');
7
7
  const zonosStore = require('./zonosStore-b18fe6b6.js');
8
8
  const ILanguage = require('./ILanguage-98b04442.js');
9
- require('./handleFetch-b0bbc10b.js');
9
+ require('./handleFetch-aa729c61.js');
10
10
  require('./isDarkColor-87ee1eb7.js');
11
11
  require('./getBorderRadius-53c35cd1.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-b18fe6b6.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
- const cart = require('./cart-207f884e.js');
9
- const handleFetch = require('./handleFetch-b0bbc10b.js');
10
- const paypal = require('./paypal-8f5dccc8.js');
8
+ const cart = require('./cart-31e4e866.js');
9
+ const handleFetch = require('./handleFetch-aa729c61.js');
10
+ const paypal = require('./paypal-a101e3ca.js');
11
11
  require('./isDarkColor-87ee1eb7.js');
12
12
  require('./getBorderRadius-53c35cd1.js');
13
13
 
@@ -309,8 +309,10 @@ export class ZonosCheckout {
309
309
  const phone = getParam('customerPhone');
310
310
  const postal_code = getParam('customerZip') || '';
311
311
  const state = getParam('customerState') || '';
312
- // if one of the value is null, no need to preset the default address
313
- if (!line1 || !city || !name || !phone || !country) {
312
+ /**
313
+ * If one of the value is null, no need to preset the default address
314
+ **/
315
+ if (!line1 || (!city && !state) || !name || !phone || !country) {
314
316
  log('Missing required query params so it can not be prefilled', 'info', [
315
317
  !line1 && 'line1',
316
318
  !city && 'city',
@@ -324,7 +326,7 @@ export class ZonosCheckout {
324
326
  }
325
327
  this.defaultAddress = {
326
328
  address: {
327
- city,
329
+ city: city || '',
328
330
  country,
329
331
  line1,
330
332
  line2,
@@ -1,5 +1,6 @@
1
1
  import { cartStore } from "../../store/checkout/cart";
2
2
  import { stripeStore } from "../../store/checkout/stripe";
3
+ import { log } from "../logging/log";
3
4
  /**
4
5
  * Extract value from translated object
5
6
  */
@@ -102,6 +103,7 @@ export const prepCalculateLandedCost = () => {
102
103
  const stripeBillingAddressData = stripeStore.stripeShippingSameAsBilling
103
104
  ? stripeStore.stripeAddressEventData
104
105
  : stripeStore.stripeBillingAddressEventData;
106
+ log({ stripeAddressData, stripeBillingAddressData }, 'info');
105
107
  if (!(stripeAddressData === null || stripeAddressData === void 0 ? void 0 : stripeAddressData.complete) || !(stripeBillingAddressData === null || stripeBillingAddressData === void 0 ? void 0 : stripeBillingAddressData.complete)) {
106
108
  throw new Error('Missing stripe address data');
107
109
  }
@@ -22,7 +22,8 @@ export const sendErrorLog = async ({ endpoint, errors, metadata, shouldPostRelea
22
22
  const errorObject = {
23
23
  endpoint,
24
24
  errors,
25
- metadata: Object.assign({ href: window.location.href, userAgent: userAgentData && userAgentData.brands.length > 0
25
+ href: window.location.href,
26
+ metadata: Object.assign({ userAgent: userAgentData && userAgentData.brands.length > 0
26
27
  ? userAgentData
27
28
  : window.navigator.userAgent }, metadata),
28
29
  };
@@ -1,4 +1,4 @@
1
- import { h as handleFetch, l as log, a as logError } from './handleFetch-41e3d2b2.js';
1
+ import { h as handleFetch, l as log, a as logError } from './handleFetch-3dea7d46.js';
2
2
 
3
3
  const getTempCartById = async (cartId) => {
4
4
  const urlParams = new URLSearchParams(window.location.search);
@@ -1,5 +1,5 @@
1
1
  import { c as createStore, z as zonosStore } from './zonosStore-7798ac16.js';
2
- import { h as handleFetch, a as logError, l as log, f as fallbackApiList, j as jsonParse } from './handleFetch-41e3d2b2.js';
2
+ import { h as handleFetch, a as logError, l as log, f as fallbackApiList, j as jsonParse } from './handleFetch-3dea7d46.js';
3
3
  import { i as isDarkColor } from './isDarkColor-4261bc3c.js';
4
4
  import { g as getBorderRadius } from './getBorderRadius-e55a9df1.js';
5
5
 
@@ -8747,6 +8747,7 @@ const prepCalculateLandedCost = () => {
8747
8747
  const stripeBillingAddressData = stripeStore.stripeShippingSameAsBilling
8748
8748
  ? stripeStore.stripeAddressEventData
8749
8749
  : stripeStore.stripeBillingAddressEventData;
8750
+ log({ stripeAddressData, stripeBillingAddressData }, 'info');
8750
8751
  if (!(stripeAddressData === null || stripeAddressData === void 0 ? void 0 : stripeAddressData.complete) || !(stripeBillingAddressData === null || stripeBillingAddressData === void 0 ? void 0 : stripeBillingAddressData.complete)) {
8751
8752
  throw new Error('Missing stripe address data');
8752
8753
  }
@@ -1,6 +1,6 @@
1
- import { d as cartStore, l as localizationStore } from './cart-90943a07.js';
1
+ import { d as cartStore, l as localizationStore } from './cart-5621d0fe.js';
2
2
  import { z as zonosStore } from './zonosStore-7798ac16.js';
3
- import { h as handleFetch } from './handleFetch-41e3d2b2.js';
3
+ import { h as handleFetch } from './handleFetch-3dea7d46.js';
4
4
 
5
5
  const trackConversionEvent = async (eventName, metadata) => {
6
6
  var _a, _b;
@@ -138,7 +138,8 @@ const sendErrorLog = async ({ endpoint, errors, metadata, shouldPostReleaseError
138
138
  const errorObject = {
139
139
  endpoint,
140
140
  errors,
141
- metadata: Object.assign({ href: window.location.href, userAgent: userAgentData && userAgentData.brands.length > 0
141
+ href: window.location.href,
142
+ metadata: Object.assign({ userAgent: userAgentData && userAgentData.brands.length > 0
142
143
  ? userAgentData
143
144
  : window.navigator.userAgent }, metadata),
144
145
  };
package/dist/esm/index.js CHANGED
@@ -1,6 +1,6 @@
1
- import { l as log, a as logError } from './handleFetch-41e3d2b2.js';
2
- import { s as setupCartData, c as checkoutHiddenBtnSelector } from './CheckoutConfig-9cdb7beb.js';
3
- export { c as checkoutHiddenBtnSelector, d as domesticRedirectedBtnSelector } from './CheckoutConfig-9cdb7beb.js';
1
+ import { l as log, a as logError } from './handleFetch-3dea7d46.js';
2
+ import { s as setupCartData, c as checkoutHiddenBtnSelector } from './CheckoutConfig-690e8e05.js';
3
+ export { c as checkoutHiddenBtnSelector, d as domesticRedirectedBtnSelector } from './CheckoutConfig-690e8e05.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.103.js.zonos.com";
97
+ const cdnUrl = "https://v1.3.105.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.103.js.zonos.com";
282
- const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.103";
283
- const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.103";
284
- const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.103";
281
+ const ZONOS_URL = "https://v1.3.105.js.zonos.com";
282
+ const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.105";
283
+ const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.105";
284
+ const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.105";
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 = "1729277584379";
299
+ Zonos.releaseDate = "1729628934814";
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.103"}`;
309
+ Zonos.version = `v${"1.3.105"}`;
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-7798ac16.js';
2
- import { d as cartStore, u as stripeStoreHandleInventoryCheck, t as translate, r as cartStoreNextStep, h as cartStoreClearCheckoutInterval } from './cart-90943a07.js';
3
- import { h as handleFetch, l as log, a as logError, j as jsonParse } from './handleFetch-41e3d2b2.js';
2
+ import { d as cartStore, u as stripeStoreHandleInventoryCheck, t as translate, r as cartStoreNextStep, h as cartStoreClearCheckoutInterval } from './cart-5621d0fe.js';
3
+ import { h as handleFetch, l as log, a as logError, j as jsonParse } from './handleFetch-3dea7d46.js';
4
4
  import { t as tinycolor } from './isDarkColor-4261bc3c.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, P as getFallbackDefaultCountryCode, l as localizationStore, t as translate } from './cart-90943a07.js';
2
+ import { j as stripeStore, P as getFallbackDefaultCountryCode, l as localizationStore, t as translate } from './cart-5621d0fe.js';
3
3
  import { i as isCheckoutMobile } from './isCheckoutMobile-8846dccb.js';
4
- import { a as logError, l as log } from './handleFetch-41e3d2b2.js';
4
+ import { a as logError, l as log } from './handleFetch-3dea7d46.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-7798ac16.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, E as currencyFormat, t as translate, F as cartStoreHasOneEligibleItem, G as stripeStoreApplyPromoCode, H as stripeStoreRemovePromoCode, w as stripeStoreReset, j as stripeStore, I as stripeStoreRetrievePayment, J as stripeStoreMessageBasedOnStatus, K as stripeStoreResetPromoCode, l as localizationStore, L as stripeStoreTranslateAddressToLatin, M as cartStoreUpdateSelectedShippingOption, N as cartStoreGetShippingTransitInfo, O as sortServiceLevelOptionsByAmount } from './cart-90943a07.js';
2
+ import { d as cartStore, E as currencyFormat, t as translate, F as cartStoreHasOneEligibleItem, G as stripeStoreApplyPromoCode, H as stripeStoreRemovePromoCode, w as stripeStoreReset, j as stripeStore, I as stripeStoreRetrievePayment, J as stripeStoreMessageBasedOnStatus, K as stripeStoreResetPromoCode, l as localizationStore, L as stripeStoreTranslateAddressToLatin, M as cartStoreUpdateSelectedShippingOption, N as cartStoreGetShippingTransitInfo, O as sortServiceLevelOptionsByAmount } from './cart-5621d0fe.js';
3
3
  import { c as classes } from './classes-0d95c529.js';
4
- import { s as submitGtag, a as paypalStore, b as paypalStoreReset, i as isContrastColor } from './paypal-417c64a1.js';
4
+ import { s as submitGtag, a as paypalStore, b as paypalStoreReset, i as isContrastColor } from './paypal-869c30e1.js';
5
5
  import { z as zonosStore, g as getZonosStoreTheme, d as zonosStoreFontFamily } from './zonosStore-7798ac16.js';
6
- import { t as trackConversionEvent, c as createCustomEvent, g as getIsTestMode } from './createCustomEvent-3ea6c7c5.js';
6
+ import { t as trackConversionEvent, c as createCustomEvent, g as getIsTestMode } from './createCustomEvent-a9206df5.js';
7
7
  import { g as getBorderRadius } from './getBorderRadius-e55a9df1.js';
8
- import { h as handleFetch, s as sendErrorLog } from './handleFetch-41e3d2b2.js';
8
+ import { h as handleFetch, s as sendErrorLog } from './handleFetch-3dea7d46.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-4261bc3c.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, n as cartStoreUpdateToErrorState, t as translate, o as getZCountryUrlParam, p as cartStoreSetCheckoutSession, q as stripeStorePrefetchLandedCost, r as cartStoreNextStep, u as stripeStoreHandleInventoryCheck, v as stripeStoreConfirmPayment, w as stripeStoreReset, x as localizationStoreOnUpdate } from './cart-90943a07.js';
3
- import { s as submitGtag, p as paypalInitScript } from './paypal-417c64a1.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, n as cartStoreUpdateToErrorState, t as translate, o as getZCountryUrlParam, p as cartStoreSetCheckoutSession, q as stripeStorePrefetchLandedCost, r as cartStoreNextStep, u as stripeStoreHandleInventoryCheck, v as stripeStoreConfirmPayment, w as stripeStoreReset, x as localizationStoreOnUpdate } from './cart-5621d0fe.js';
3
+ import { s as submitGtag, p as paypalInitScript } from './paypal-869c30e1.js';
4
4
  import { z as zonosStore, g as getZonosStoreTheme, m as mergeConfig } from './zonosStore-7798ac16.js';
5
- import { h as handleFetch, l as log, a as logError, s as sendErrorLog, g as getElapsedTime, b as allLogs } from './handleFetch-41e3d2b2.js';
6
- import { t as trackConversionEvent, c as createCustomEvent, g as getIsTestMode } from './createCustomEvent-3ea6c7c5.js';
5
+ import { h as handleFetch, l as log, a as logError, s as sendErrorLog, g as getElapsedTime, b as allLogs } from './handleFetch-3dea7d46.js';
6
+ import { t as trackConversionEvent, c as createCustomEvent, g as getIsTestMode } from './createCustomEvent-a9206df5.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-e55a9df1.js';
10
10
  import { i as isDarkColor } from './isDarkColor-4261bc3c.js';
11
- import { s as setupCartData, d as domesticRedirectedBtnSelector, c as checkoutHiddenBtnSelector } from './CheckoutConfig-9cdb7beb.js';
11
+ import { s as setupCartData, d as domesticRedirectedBtnSelector, c as checkoutHiddenBtnSelector } from './CheckoutConfig-690e8e05.js';
12
12
  import { R as RemoveIcon } from './RemoveIcon-9dc5dd1a.js';
13
13
 
14
14
  /**
@@ -519,8 +519,10 @@ const ZonosCheckout = class {
519
519
  const phone = getParam('customerPhone');
520
520
  const postal_code = getParam('customerZip') || '';
521
521
  const state = getParam('customerState') || '';
522
- // if one of the value is null, no need to preset the default address
523
- if (!line1 || !city || !name || !phone || !country) {
522
+ /**
523
+ * If one of the value is null, no need to preset the default address
524
+ **/
525
+ if (!line1 || (!city && !state) || !name || !phone || !country) {
524
526
  log('Missing required query params so it can not be prefilled', 'info', [
525
527
  !line1 && 'line1',
526
528
  !city && 'city',
@@ -534,7 +536,7 @@ const ZonosCheckout = class {
534
536
  }
535
537
  this.defaultAddress = {
536
538
  address: {
537
- city,
539
+ city: city || '',
538
540
  country,
539
541
  line1,
540
542
  line2,
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host } from './index-86b8247e.js';
2
- import { y as isValidSelector, j as stripeStore, z as initLocalizationStore, d as cartStore, a as localizationStoreUpdateSelectedCountryCode } from './cart-90943a07.js';
2
+ import { y as isValidSelector, j as stripeStore, z as initLocalizationStore, d as cartStore, a as localizationStoreUpdateSelectedCountryCode } from './cart-5621d0fe.js';
3
3
  import { z as zonosStore, b as zonosStoreInitSetting, d as zonosStoreFontFamily } from './zonosStore-7798ac16.js';
4
- import { h as handleFetch, a as logError, l as log } from './handleFetch-41e3d2b2.js';
4
+ import { h as handleFetch, a as logError, l as log } from './handleFetch-3dea7d46.js';
5
5
  import './isDarkColor-4261bc3c.js';
6
6
  import './getBorderRadius-e55a9df1.js';
7
7
 
@@ -1,8 +1,8 @@
1
1
  import { r as registerInstance, h, H as Host, d as getElement } from './index-86b8247e.js';
2
- import { l as localizationStore } from './cart-90943a07.js';
2
+ import { l as localizationStore } from './cart-5621d0fe.js';
3
3
  import { d as zonosStoreFontFamily } from './zonosStore-7798ac16.js';
4
4
  import { c as classes } from './classes-0d95c529.js';
5
- import './handleFetch-41e3d2b2.js';
5
+ import './handleFetch-3dea7d46.js';
6
6
  import './isDarkColor-4261bc3c.js';
7
7
  import './getBorderRadius-e55a9df1.js';
8
8
 
@@ -1,10 +1,10 @@
1
1
  import { r as registerInstance, h, H as Host, d as getElement } from './index-86b8247e.js';
2
- import { a as localizationStoreUpdateSelectedCountryCode, t as translate, l as localizationStore } from './cart-90943a07.js';
2
+ import { a as localizationStoreUpdateSelectedCountryCode, t as translate, l as localizationStore } from './cart-5621d0fe.js';
3
3
  import { d as zonosStoreFontFamily } from './zonosStore-7798ac16.js';
4
4
  import { f as formatStringWithLinks } from './formatStringWithLinks-9e819405.js';
5
5
  import { i as isDarkColor } from './isDarkColor-4261bc3c.js';
6
6
  import { l as languages } from './ILanguage-cd6acb72.js';
7
- import './handleFetch-41e3d2b2.js';
7
+ import './handleFetch-3dea7d46.js';
8
8
  import './getBorderRadius-e55a9df1.js';
9
9
 
10
10
  /**
@@ -1,10 +1,10 @@
1
1
  import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host } from './index-86b8247e.js';
2
- import { t as translate, l as localizationStore, E as currencyFormat } from './cart-90943a07.js';
2
+ import { t as translate, l as localizationStore, E as currencyFormat } from './cart-5621d0fe.js';
3
3
  import { z as zonosStore } from './zonosStore-7798ac16.js';
4
4
  import { c as classes } from './classes-0d95c529.js';
5
5
  import { f as formatStringWithLinks } from './formatStringWithLinks-9e819405.js';
6
6
  import { g as getHasMoreSpaceOnRight } from './getHasMoreSpaceOnRight-70eb913a.js';
7
- import './handleFetch-41e3d2b2.js';
7
+ import './handleFetch-3dea7d46.js';
8
8
  import './isDarkColor-4261bc3c.js';
9
9
  import './getBorderRadius-e55a9df1.js';
10
10
 
@@ -1,8 +1,8 @@
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-7798ac16.js';
3
- import { l as localizationStore, y as isValidSelector, t as translate, o as getZCountryUrlParam, A as setZCountryUrlParam, B as currencyDisplay, C as currencyConvertAndFormat, D as currencyConvert, E as currencyFormat } from './cart-90943a07.js';
3
+ import { l as localizationStore, y as isValidSelector, t as translate, o as getZCountryUrlParam, A as setZCountryUrlParam, B as currencyDisplay, C as currencyConvertAndFormat, D as currencyConvert, E as currencyFormat } from './cart-5621d0fe.js';
4
4
  import { c as classes } from './classes-0d95c529.js';
5
- import { h as handleFetch, a as logError, l as log } from './handleFetch-41e3d2b2.js';
5
+ import { h as handleFetch, a as logError, l as log } from './handleFetch-3dea7d46.js';
6
6
  import { g as getHasMoreSpaceOnRight } from './getHasMoreSpaceOnRight-70eb913a.js';
7
7
  import './isDarkColor-4261bc3c.js';
8
8
  import './getBorderRadius-e55a9df1.js';
@@ -1,8 +1,8 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-86b8247e.js';
2
- import { Q as localizationStoreUpdateSelectedLocale, t as translate, l as localizationStore } from './cart-90943a07.js';
2
+ import { Q as localizationStoreUpdateSelectedLocale, t as translate, l as localizationStore } from './cart-5621d0fe.js';
3
3
  import { d as zonosStoreFontFamily } from './zonosStore-7798ac16.js';
4
4
  import { l as languages } from './ILanguage-cd6acb72.js';
5
- import './handleFetch-41e3d2b2.js';
5
+ import './handleFetch-3dea7d46.js';
6
6
  import './isDarkColor-4261bc3c.js';
7
7
  import './getBorderRadius-e55a9df1.js';
8
8
 
@@ -1,9 +1,9 @@
1
1
  import { r as registerInstance, h, H as Host, d as getElement, c as createEvent } from './index-86b8247e.js';
2
2
  import { d as zonosStoreFontFamily } from './zonosStore-7798ac16.js';
3
3
  import { c as classes } from './classes-0d95c529.js';
4
- import { j as stripeStore } from './cart-90943a07.js';
5
- import { a as logError, l as log } from './handleFetch-41e3d2b2.js';
6
- import { c as paypalStoreInitButtons } from './paypal-417c64a1.js';
4
+ import { j as stripeStore } from './cart-5621d0fe.js';
5
+ import { a as logError, l as log } from './handleFetch-3dea7d46.js';
6
+ import { c as paypalStoreInitButtons } from './paypal-869c30e1.js';
7
7
  import './isDarkColor-4261bc3c.js';
8
8
  import './getBorderRadius-e55a9df1.js';
9
9