@zonos/elements 1.3.55 → 1.3.56

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 (103) hide show
  1. package/dist/cjs/{CheckoutConfig-c75fe0fe.js → CheckoutConfig-4d03e084.js} +1 -1
  2. package/dist/cjs/{cart-6095475b.js → cart-6c7bf457.js} +4 -4
  3. package/dist/cjs/{createCustomEvent-0cef191b.js → createCustomEvent-a10ed604.js} +2 -2
  4. package/dist/cjs/{handleFetch-57c46afa.js → handleFetch-c0e07666.js} +2 -2
  5. package/dist/cjs/index.cjs.js +9 -9
  6. package/dist/cjs/{paypal-ac2f82ef.js → paypal-ec9ebaf5.js} +4 -4
  7. package/dist/cjs/zonos-address_8.cjs.entry.js +2 -2
  8. package/dist/cjs/zonos-badge_13.cjs.entry.js +4 -4
  9. package/dist/cjs/zonos-checkout.cjs.entry.js +6 -6
  10. package/dist/cjs/zonos-controller.cjs.entry.js +4 -4
  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 +5 -5
  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/__mocks__/vercel-app/localization.js +1 -1
  18. package/dist/collection/__mocks__/zonos-url/localization.js +2899 -1
  19. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +1 -1
  20. package/dist/collection/components/main/zonos-controller.js +2 -2
  21. package/dist/collection/components/store/checkout/paypal.js +2 -2
  22. package/dist/collection/components/store/checkout/stripe.js +3 -3
  23. package/dist/collection/components/utils/handleFetch.js +2 -2
  24. package/dist/collection/components/utils/hello/detectItemRestrictions.js +1 -1
  25. package/dist/collection/components/utils/hello/getProductsOnPage.js +2 -2
  26. package/dist/collection/types/generated/graphql.customer.types.js +9 -0
  27. package/dist/collection/utils/formattedCloudflareApiUrl.js +1 -1
  28. package/dist/collection/utils/formattedUrl.js +1 -1
  29. package/dist/esm/{CheckoutConfig-49ba0fef.js → CheckoutConfig-7fe6442e.js} +1 -1
  30. package/dist/esm/{cart-0467d5ac.js → cart-a845a902.js} +4 -4
  31. package/dist/esm/{createCustomEvent-ccb2f324.js → createCustomEvent-0797e187.js} +2 -2
  32. package/dist/esm/{handleFetch-de935ec3.js → handleFetch-613fbc00.js} +2 -2
  33. package/dist/esm/index.js +10 -10
  34. package/dist/esm/{paypal-e68cf8df.js → paypal-6d80dfd9.js} +4 -4
  35. package/dist/esm/zonos-address_8.entry.js +2 -2
  36. package/dist/esm/zonos-badge_13.entry.js +4 -4
  37. package/dist/esm/zonos-checkout.entry.js +6 -6
  38. package/dist/esm/zonos-controller.entry.js +4 -4
  39. package/dist/esm/zonos-country-flag.entry.js +2 -2
  40. package/dist/esm/zonos-country-select_4.entry.js +2 -2
  41. package/dist/esm/zonos-hello-dialog.entry.js +2 -2
  42. package/dist/esm/zonos-hello.entry.js +5 -5
  43. package/dist/esm/zonos-language-select_2.entry.js +2 -2
  44. package/dist/esm/zonos-notification_3.entry.js +3 -3
  45. package/dist/esm-es5/{CheckoutConfig-49ba0fef.js → CheckoutConfig-7fe6442e.js} +1 -1
  46. package/dist/esm-es5/{cart-0467d5ac.js → cart-a845a902.js} +1 -1
  47. package/dist/esm-es5/{createCustomEvent-ccb2f324.js → createCustomEvent-0797e187.js} +1 -1
  48. package/dist/esm-es5/{handleFetch-de935ec3.js → handleFetch-613fbc00.js} +1 -1
  49. package/dist/esm-es5/index.js +1 -1
  50. package/dist/esm-es5/{paypal-e68cf8df.js → paypal-6d80dfd9.js} +2 -2
  51. package/dist/esm-es5/zonos-address_8.entry.js +1 -1
  52. package/dist/esm-es5/zonos-badge_13.entry.js +1 -1
  53. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  54. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  55. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  56. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  57. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  58. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  59. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  60. package/dist/esm-es5/zonos-notification_3.entry.js +1 -1
  61. package/dist/scripts/index.js +1 -1
  62. package/dist/scripts/loadZonos.js +1 -1
  63. package/dist/scripts/zonos.js +1 -1
  64. package/dist/types/types/generated/graphql.customer.types.d.ts +11 -0
  65. package/dist/types/types/generated/graphql.customer.types.ts +15 -0
  66. package/dist/zonos-elements/assets/RemoveIcon.svg +1 -1
  67. package/dist/zonos-elements/index.esm.js +1 -1
  68. package/dist/zonos-elements/{p-59c51734.system.entry.js → p-0954e8fe.system.entry.js} +1 -1
  69. package/dist/zonos-elements/{p-aff41c41.system.js → p-0fc80040.system.js} +1 -1
  70. package/dist/zonos-elements/{p-29ad5aa6.entry.js → p-173f8e5b.entry.js} +1 -1
  71. package/dist/zonos-elements/{p-f0ebd55a.system.entry.js → p-17ea3429.system.entry.js} +1 -1
  72. package/dist/zonos-elements/p-1df63802.system.js +1 -0
  73. package/dist/zonos-elements/{p-c7a8a6bb.system.js → p-206cf031.system.js} +1 -1
  74. package/dist/zonos-elements/{p-7e431f33.system.entry.js → p-298df70c.system.entry.js} +1 -1
  75. package/dist/zonos-elements/{p-ce149fc7.system.entry.js → p-324a8c0d.system.entry.js} +1 -1
  76. package/dist/zonos-elements/{p-fb3c4b52.system.entry.js → p-3492c75f.system.entry.js} +1 -1
  77. package/dist/zonos-elements/{p-726cef64.system.entry.js → p-35122d9c.system.entry.js} +1 -1
  78. package/dist/zonos-elements/{p-1b071708.entry.js → p-35ca4dcc.entry.js} +1 -1
  79. package/dist/zonos-elements/{p-b2e18e34.system.entry.js → p-40001536.system.entry.js} +1 -1
  80. package/dist/zonos-elements/{p-b80ef150.system.entry.js → p-40f73fb4.system.entry.js} +1 -1
  81. package/dist/zonos-elements/{p-4c30186a.js → p-472a6c19.js} +1 -1
  82. package/dist/zonos-elements/{p-ffa7d4c2.entry.js → p-4b205b2f.entry.js} +1 -1
  83. package/dist/zonos-elements/{p-7b18892a.system.entry.js → p-4dd2f617.system.entry.js} +1 -1
  84. package/dist/zonos-elements/{p-478b5c7d.entry.js → p-51d82a07.entry.js} +1 -1
  85. package/dist/zonos-elements/{p-a164f76d.entry.js → p-556d4ddb.entry.js} +1 -1
  86. package/dist/zonos-elements/{p-386bef53.entry.js → p-6f87b869.entry.js} +1 -1
  87. package/dist/zonos-elements/{p-60129618.system.js → p-8260b820.system.js} +1 -1
  88. package/dist/zonos-elements/{p-e65dd068.entry.js → p-921d3603.entry.js} +1 -1
  89. package/dist/zonos-elements/{p-9a1a2aa2.entry.js → p-95a18511.entry.js} +1 -1
  90. package/dist/zonos-elements/{p-8d9112e9.js → p-9fd3995f.js} +1 -1
  91. package/dist/zonos-elements/p-a99620c8.entry.js +1 -0
  92. package/dist/zonos-elements/{p-974ce80b.system.entry.js → p-b65b3e7b.system.entry.js} +1 -1
  93. package/dist/zonos-elements/p-c78dd680.system.js +1 -1
  94. package/dist/zonos-elements/{p-de2bd8da.system.js → p-d067bb64.system.js} +2 -2
  95. package/dist/zonos-elements/{p-41871fbd.js → p-d20f6cf1.js} +2 -2
  96. package/dist/zonos-elements/{p-f32d7972.entry.js → p-d42018fc.entry.js} +1 -1
  97. package/dist/zonos-elements/{p-ac162a0f.system.js → p-e89c2805.system.js} +1 -1
  98. package/dist/zonos-elements/{p-068c9ba4.js → p-f9c2288f.js} +1 -1
  99. package/dist/zonos-elements/{p-6be07fde.js → p-fb59c3c3.js} +1 -1
  100. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  101. package/package.json +1 -1
  102. package/dist/zonos-elements/p-0f198151.entry.js +0 -1
  103. package/dist/zonos-elements/p-93f12fa9.system.js +0 -1
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const handleFetch = require('./handleFetch-57c46afa.js');
3
+ const handleFetch = require('./handleFetch-c0e07666.js');
4
4
 
5
5
  const getTempCartById = async (cartId) => {
6
6
  const { errors, json } = await handleFetch.handleFetch('/api/zonos-elements/get-temp-cart', {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const zonosStore = require('./zonosStore-67139f0e.js');
4
- const handleFetch = require('./handleFetch-57c46afa.js');
4
+ const handleFetch = require('./handleFetch-c0e07666.js');
5
5
  const isDarkColor = require('./isDarkColor-7a056d05.js');
6
6
  const getBorderRadius = require('./getBorderRadius-a6a3b35e.js');
7
7
 
@@ -8381,7 +8381,7 @@ const stripeStorePrefetchLandedCost = async () => {
8381
8381
  }
8382
8382
  }
8383
8383
  catch (err) {
8384
- // default to empty array if we fail to fetch landed cost, so we can show the error message
8384
+ // default to empty array if we failed to fetch landed cost, so we can show the error message
8385
8385
  cartStore.landedCostData = [];
8386
8386
  cartStore.shippingData = [];
8387
8387
  handleFetch.logError(err);
@@ -8505,7 +8505,7 @@ const stripeStoreInitCheckoutSession = async () => {
8505
8505
  var _a;
8506
8506
  const total = cartStore.items.reduce((amount, item) => amount + item.amount * item.quantity, 0);
8507
8507
  if (!total || !localizationStore.targetCurrency) {
8508
- handleFetch.logError('Fail to create checkout session - invalid total or currency');
8508
+ handleFetch.logError('Failed to create checkout session - invalid total or currency');
8509
8509
  return false;
8510
8510
  }
8511
8511
  stripeStore.isFetchingSession = true;
@@ -8647,7 +8647,7 @@ const stripeStoreTranslateAddressToLatin = async ({ addressInvalidCharactersList
8647
8647
  });
8648
8648
  if (errors.length || !json) {
8649
8649
  handleFetch.logError('Error occurs when translating address to latin', JSON.stringify(errors, null, 2));
8650
- // reset translated address if we fail to translate and let user manually fix it
8650
+ // reset translated address if we Failed to translate and let user manually fix it
8651
8651
  stripeStore.translatedAddress = {
8652
8652
  address: {},
8653
8653
  billingAddress: {},
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- const cart = require('./cart-6095475b.js');
3
+ const cart = require('./cart-6c7bf457.js');
4
4
  const zonosStore = require('./zonosStore-67139f0e.js');
5
- const handleFetch = require('./handleFetch-57c46afa.js');
5
+ const handleFetch = require('./handleFetch-c0e07666.js');
6
6
 
7
7
  const trackConversionEvent = async (eventName, metadata) => {
8
8
  var _a, _b;
@@ -198,7 +198,7 @@ const handleRequest = async ({ basePathType, options, path, }) => {
198
198
  zonosMode: null,
199
199
  };
200
200
  }
201
- const message = 'Fail to fetch';
201
+ const message = 'Failed to fetch';
202
202
  return {
203
203
  baseUrl,
204
204
  errors: [{ message, type: 'unknown' }],
@@ -265,7 +265,7 @@ const handleRequestWithFallback = async ({ basePathType: _basePathType, options,
265
265
  const unknownError = errors.find(({ type }) => type === 'unknown');
266
266
  const isUnknownError = !!unknownError || (response === null || response === void 0 ? void 0 : response.status) === 404;
267
267
  const shouldCallFallback =
268
- // If next fallback is available, and the error is unknown (fail to fetch) or 404
268
+ // If next fallback is available, and the error is unknown (Failed to fetch) or 404
269
269
  nextFallbackApiType && isUnknownError;
270
270
  // Should log the error if it's unknown error
271
271
  if (isUnknownError) {
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const handleFetch = require('./handleFetch-57c46afa.js');
6
- const CheckoutConfig = require('./CheckoutConfig-c75fe0fe.js');
5
+ const handleFetch = require('./handleFetch-c0e07666.js');
6
+ const CheckoutConfig = require('./CheckoutConfig-4d03e084.js');
7
7
 
8
8
  /**
9
9
  * Get the load version and url based on the loadScriptSrc and version
@@ -96,7 +96,7 @@ const getZonosQaUrl = () => {
96
96
  return null;
97
97
  }
98
98
  const qaUrl = extractZonosQaUrl(window.location.href);
99
- const cdnUrl = "https://v1.3.55.js.zonos.com";
99
+ const cdnUrl = "https://v1.3.56.js.zonos.com";
100
100
  // when the qaUrl is not set and the built URL is from the test domain, use the test domain for testing
101
101
  if (!qaUrl &&
102
102
  (cdnUrl.includes('test.') ||
@@ -280,10 +280,10 @@ const zonosLoadUrl = (() => {
280
280
  }
281
281
  return null;
282
282
  })();
283
- const ZONOS_URL = "https://v1.3.55.js.zonos.com";
284
- const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.55";
285
- const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.55";
286
- const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.55";
283
+ const ZONOS_URL = "https://v1.3.56.js.zonos.com";
284
+ const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.56";
285
+ const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.56";
286
+ const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.56";
287
287
  const INTER_FONT_URL = 'https://rsms.me';
288
288
  const GOOGLE_FONT_URL = 'https://fonts.googleapis.com';
289
289
  const INTER_FONT_REGEX = /^https:\/\/rsms\.me\/inter\/inter\.css(.*)$/;
@@ -298,14 +298,14 @@ Zonos.zonosConversionTest = typeof window !== 'undefined' &&
298
298
  !!window.location.search.match(/\?.*(&*)zonosConversionTest/);
299
299
  Zonos._paypalMockResponse = null;
300
300
  Zonos.isBigCommerce = false;
301
- Zonos.releaseDate = "1726679495773";
301
+ Zonos.releaseDate = "1727278094755";
302
302
  Zonos.isLegacyCheckout = false;
303
303
  /**
304
304
  * By default, the package will load from npm
305
305
  */
306
306
  Zonos.isNpm = true;
307
307
  Zonos.zonosQaUrl = null;
308
- Zonos.version = `v${"1.3.55"}`;
308
+ Zonos.version = `v${"1.3.56"}`;
309
309
  Zonos.modeAlerted = false;
310
310
  Zonos.cartData = null;
311
311
  Zonos.paypal = null;
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  const zonosStore = require('./zonosStore-67139f0e.js');
4
- const cart = require('./cart-6095475b.js');
5
- const handleFetch = require('./handleFetch-57c46afa.js');
4
+ const cart = require('./cart-6c7bf457.js');
5
+ const handleFetch = require('./handleFetch-c0e07666.js');
6
6
  const isDarkColor = require('./isDarkColor-7a056d05.js');
7
7
 
8
8
  /*!
@@ -394,7 +394,7 @@ const paypalInitScript = async ({ currency }) => {
394
394
  }
395
395
  const paypalClientId = zonosStore.zonosStore.checkoutSettings.externalServiceTokens.find(item => item.type === 'PAYPAL_CLIENT_ID');
396
396
  if (!paypalClientId) {
397
- handleFetch.log('Fail to load paypal -- missing paypal publishable key', 'warn');
397
+ handleFetch.log('Failed to load paypal -- missing paypal publishable key', 'warn');
398
398
  return;
399
399
  }
400
400
  /**
@@ -437,7 +437,7 @@ const paypalStoreInitButtons = (props) => {
437
437
  fundingSource }, props))), { fundingSource }))) || null;
438
438
  }
439
439
  catch (err) {
440
- handleFetch.log(`===== Fail to load paypal's "${fundingSource}" button`, 'warn', err);
440
+ handleFetch.log(`===== Failed to load paypal's "${fundingSource}" button`, 'warn', err);
441
441
  }
442
442
  if (button === null || button === void 0 ? void 0 : button.isEligible()) {
443
443
  handleFetch.log(`==== Paypal button ${fundingSource} loaded`);
@@ -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-6095475b.js');
6
+ const cart = require('./cart-6c7bf457.js');
7
7
  const isCheckoutMobile = require('./isCheckoutMobile-f491ca7c.js');
8
- const handleFetch = require('./handleFetch-57c46afa.js');
8
+ const handleFetch = require('./handleFetch-c0e07666.js');
9
9
  const containsNonLatinChars = require('./containsNonLatinChars-2be5129b.js');
10
10
  const zonosStore = require('./zonosStore-67139f0e.js');
11
11
  const classes = require('./classes-b7918f56.js');
@@ -5,11 +5,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-d56e0a8b.js');
6
6
  const zonosStore = require('./zonosStore-67139f0e.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
- const cart = require('./cart-6095475b.js');
9
- const paypal = require('./paypal-ac2f82ef.js');
10
- const createCustomEvent = require('./createCustomEvent-0cef191b.js');
8
+ const cart = require('./cart-6c7bf457.js');
9
+ const paypal = require('./paypal-ec9ebaf5.js');
10
+ const createCustomEvent = require('./createCustomEvent-a10ed604.js');
11
11
  const getBorderRadius = require('./getBorderRadius-a6a3b35e.js');
12
- const handleFetch = require('./handleFetch-57c46afa.js');
12
+ const handleFetch = require('./handleFetch-c0e07666.js');
13
13
  const isCheckoutMobile = require('./isCheckoutMobile-f491ca7c.js');
14
14
  const ILanguage = require('./ILanguage-98b04442.js');
15
15
  const isDarkColor = require('./isDarkColor-7a056d05.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-6095475b.js');
7
- const paypal = require('./paypal-ac2f82ef.js');
6
+ const cart = require('./cart-6c7bf457.js');
7
+ const paypal = require('./paypal-ec9ebaf5.js');
8
8
  const zonosStore = require('./zonosStore-67139f0e.js');
9
- const createCustomEvent = require('./createCustomEvent-0cef191b.js');
9
+ const createCustomEvent = require('./createCustomEvent-a10ed604.js');
10
10
  const isCheckoutMobile = require('./isCheckoutMobile-f491ca7c.js');
11
- const handleFetch = require('./handleFetch-57c46afa.js');
11
+ const handleFetch = require('./handleFetch-c0e07666.js');
12
12
  const classes = require('./classes-b7918f56.js');
13
13
  const getBorderRadius = require('./getBorderRadius-a6a3b35e.js');
14
14
  const isDarkColor = require('./isDarkColor-7a056d05.js');
15
- const CheckoutConfig = require('./CheckoutConfig-c75fe0fe.js');
15
+ const CheckoutConfig = require('./CheckoutConfig-4d03e084.js');
16
16
  const RemoveIcon = require('./RemoveIcon-081ac073.js');
17
17
 
18
18
  /**
@@ -281,7 +281,7 @@ const ZonosCheckout = class {
281
281
  const cartResult = await CheckoutConfig.setupCartData(cartId);
282
282
  const cartData = cartResult === null || cartResult === void 0 ? void 0 : cartResult.cartData;
283
283
  if (!cartData) {
284
- handleFetch.logError('Fail to build cart, please try again.');
284
+ handleFetch.logError('Failed to build cart, please try again.');
285
285
  return;
286
286
  }
287
287
  const { adjustments, cartItems } = buildCartItemsByTempCart(cartData);
@@ -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-6095475b.js');
6
+ const cart = require('./cart-6c7bf457.js');
7
7
  const zonosStore = require('./zonosStore-67139f0e.js');
8
- const handleFetch = require('./handleFetch-57c46afa.js');
8
+ const handleFetch = require('./handleFetch-c0e07666.js');
9
9
  require('./isDarkColor-7a056d05.js');
10
10
  require('./getBorderRadius-a6a3b35e.js');
11
11
 
@@ -230,7 +230,7 @@ const ZonosController = class {
230
230
  // override subscription status
231
231
  const config = Object.assign(Object.assign({}, this.config), { checkoutSettings: this.config.checkoutSettings
232
232
  ? Object.assign(Object.assign({}, this.config.checkoutSettings), { subscriptionStatus: undefined }) : undefined });
233
- // load default setting if fail to load user setting
233
+ // load default setting if failed to load user settings
234
234
  zonosStore.zonosStoreInitSetting({
235
235
  overrideSettings: config,
236
236
  zonosSettings: json,
@@ -319,7 +319,7 @@ const ZonosController = class {
319
319
  zonosStore.zonosStore.organizationName = organizationName;
320
320
  }
321
321
  render() {
322
- return index.h(index.Host, { key: '4d7d784a50ebcb61ee4658198f3dcf756daf8d70', class: "zonos--elements" });
322
+ return index.h(index.Host, { key: '7ec14cc108aea8ac9c552c76410c00b698fae8f8', class: "zonos--elements" });
323
323
  }
324
324
  };
325
325
  ZonosController.style = ZonosControllerStyle0;
@@ -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-6095475b.js');
6
+ const cart = require('./cart-6c7bf457.js');
7
7
  const zonosStore = require('./zonosStore-67139f0e.js');
8
8
  const classes = require('./classes-b7918f56.js');
9
- require('./handleFetch-57c46afa.js');
9
+ require('./handleFetch-c0e07666.js');
10
10
  require('./isDarkColor-7a056d05.js');
11
11
  require('./getBorderRadius-a6a3b35e.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-6095475b.js');
6
+ const cart = require('./cart-6c7bf457.js');
7
7
  const zonosStore = require('./zonosStore-67139f0e.js');
8
8
  const formatStringWithLinks = require('./formatStringWithLinks-52341fc7.js');
9
9
  const isDarkColor = require('./isDarkColor-7a056d05.js');
10
10
  const ILanguage = require('./ILanguage-98b04442.js');
11
- require('./handleFetch-57c46afa.js');
11
+ require('./handleFetch-c0e07666.js');
12
12
  require('./getBorderRadius-a6a3b35e.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-6095475b.js');
6
+ const cart = require('./cart-6c7bf457.js');
7
7
  const zonosStore = require('./zonosStore-67139f0e.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-57c46afa.js');
11
+ require('./handleFetch-c0e07666.js');
12
12
  require('./isDarkColor-7a056d05.js');
13
13
  require('./getBorderRadius-a6a3b35e.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-67139f0e.js');
7
- const cart = require('./cart-6095475b.js');
7
+ const cart = require('./cart-6c7bf457.js');
8
8
  const classes = require('./classes-b7918f56.js');
9
- const handleFetch = require('./handleFetch-57c46afa.js');
9
+ const handleFetch = require('./handleFetch-c0e07666.js');
10
10
  const getHasMoreSpaceOnRight = require('./getHasMoreSpaceOnRight-4c94667f.js');
11
11
  require('./isDarkColor-7a056d05.js');
12
12
  require('./getBorderRadius-a6a3b35e.js');
@@ -384,7 +384,7 @@ const detectItemRestrictions = async (newProducts) => {
384
384
  }
385
385
  const { selectedCountryCode } = cart.localizationStore;
386
386
  if (!selectedCountryCode) {
387
- handleFetch.logError('Hello Could not check item restrictions - No country code selected');
387
+ handleFetch.logError('Hello could not check item restrictions - No country code selected');
388
388
  return [];
389
389
  }
390
390
  const items = newProducts.map(product => ({
@@ -430,7 +430,7 @@ const getProductsOnPage = () => {
430
430
  var _a, _b;
431
431
  const { productAddToCartElementSelector, productDescriptionElementSelector, productTitleElementSelector, restrictionBehavior, } = zonosStore.zonosStore.helloSettings;
432
432
  if (!productTitleElementSelector || !productDescriptionElementSelector) {
433
- handleFetch.logError(`Hello Could not check item restrictions - must provide title and description selectors.`);
433
+ handleFetch.logError(`Hello could not check item restrictions - must provide title and description selectors.`);
434
434
  }
435
435
  const titleNodes = (productTitleElementSelector &&
436
436
  cart.isValidSelector(productTitleElementSelector) &&
@@ -442,7 +442,7 @@ const getProductsOnPage = () => {
442
442
  [];
443
443
  if (titleNodes.length !== descriptionNodes.length) {
444
444
  // If the title and description selectors don't match, kill item restrictions altogether
445
- handleFetch.logError('Hello Could not check item restrictions - Title and description selectors do not match');
445
+ handleFetch.logError('Hello could not check item restrictions - Title and description selectors do not match');
446
446
  return [];
447
447
  }
448
448
  const shouldDisableCart = restrictionBehavior === 'RESTRICT_AND_BLOCK';
@@ -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-6095475b.js');
6
+ const cart = require('./cart-6c7bf457.js');
7
7
  const zonosStore = require('./zonosStore-67139f0e.js');
8
8
  const ILanguage = require('./ILanguage-98b04442.js');
9
- require('./handleFetch-57c46afa.js');
9
+ require('./handleFetch-c0e07666.js');
10
10
  require('./isDarkColor-7a056d05.js');
11
11
  require('./getBorderRadius-a6a3b35e.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-67139f0e.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
- const cart = require('./cart-6095475b.js');
9
- const handleFetch = require('./handleFetch-57c46afa.js');
10
- const paypal = require('./paypal-ac2f82ef.js');
8
+ const cart = require('./cart-6c7bf457.js');
9
+ const handleFetch = require('./handleFetch-c0e07666.js');
10
+ const paypal = require('./paypal-ec9ebaf5.js');
11
11
  require('./isDarkColor-7a056d05.js');
12
12
  require('./getBorderRadius-a6a3b35e.js');
13
13