@zonos/elements 1.3.48 → 1.3.49
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.
- package/dist/cjs/{cart-3e8bc2af.js → cart-8fac8840.js} +2 -2
- package/dist/cjs/{createCustomEvent-88a5a894.js → createCustomEvent-21addb75.js} +1 -1
- package/dist/cjs/index.cjs.js +7 -7
- package/dist/cjs/{paypal-540886f1.js → paypal-8d507ea7.js} +1 -1
- package/dist/cjs/zonos-address_8.cjs.entry.js +1 -1
- package/dist/cjs/zonos-cart-items_12.cjs.entry.js +3 -3
- package/dist/cjs/zonos-checkout.cjs.entry.js +3 -3
- package/dist/cjs/zonos-controller.cjs.entry.js +1 -1
- package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
- package/dist/cjs/zonos-country-select_4.cjs.entry.js +1 -1
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +1 -1
- package/dist/cjs/zonos-hello.cjs.entry.js +1 -1
- package/dist/cjs/zonos-language-select_2.cjs.entry.js +1 -1
- package/dist/cjs/zonos-notification_3.cjs.entry.js +2 -2
- package/dist/collection/components/utils/handleFetch.js +2 -2
- package/dist/collection/environment.js +6 -2
- package/dist/esm/{cart-e76844eb.js → cart-e14f2366.js} +2 -2
- package/dist/esm/{createCustomEvent-c38df09e.js → createCustomEvent-444ddf02.js} +1 -1
- package/dist/esm/index.js +7 -7
- package/dist/esm/{paypal-3565fdd5.js → paypal-eef2a2a3.js} +1 -1
- package/dist/esm/zonos-address_8.entry.js +1 -1
- package/dist/esm/zonos-cart-items_12.entry.js +3 -3
- package/dist/esm/zonos-checkout.entry.js +3 -3
- package/dist/esm/zonos-controller.entry.js +1 -1
- package/dist/esm/zonos-country-flag.entry.js +1 -1
- package/dist/esm/zonos-country-select_4.entry.js +1 -1
- package/dist/esm/zonos-hello-dialog.entry.js +1 -1
- package/dist/esm/zonos-hello.entry.js +1 -1
- package/dist/esm/zonos-language-select_2.entry.js +1 -1
- package/dist/esm/zonos-notification_3.entry.js +2 -2
- package/dist/esm-es5/{cart-e76844eb.js → cart-e14f2366.js} +1 -1
- package/dist/esm-es5/{createCustomEvent-c38df09e.js → createCustomEvent-444ddf02.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{paypal-3565fdd5.js → paypal-eef2a2a3.js} +1 -1
- package/dist/esm-es5/zonos-address_8.entry.js +1 -1
- package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
- package/dist/esm-es5/zonos-checkout.entry.js +1 -1
- package/dist/esm-es5/zonos-controller.entry.js +1 -1
- package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
- package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
- package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
- package/dist/esm-es5/zonos-hello.entry.js +1 -1
- package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
- package/dist/esm-es5/zonos-notification_3.entry.js +1 -1
- package/dist/scripts/index.js +1 -1
- package/dist/scripts/loadZonos.js +1 -1
- package/dist/scripts/zonos.js +1 -1
- package/dist/types/environment.d.ts +3 -1
- package/dist/zonos-elements/index.esm.js +1 -1
- package/dist/zonos-elements/{p-bc46fdc1.entry.js → p-0f59fba9.entry.js} +1 -1
- package/dist/zonos-elements/{p-6ced2b64.system.js → p-1bc23926.system.js} +1 -1
- package/dist/zonos-elements/{p-a691a6ee.system.entry.js → p-3e6d9006.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-9b55838d.entry.js → p-412e5260.entry.js} +1 -1
- package/dist/zonos-elements/{p-5b183187.entry.js → p-46bb8fd1.entry.js} +1 -1
- package/dist/zonos-elements/{p-40f33928.system.entry.js → p-4d0c5518.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-5d18f3ae.system.entry.js → p-5a2d27cd.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-225231a5.entry.js → p-6058a37a.entry.js} +1 -1
- package/dist/zonos-elements/{p-debbb058.entry.js → p-62db3f69.entry.js} +1 -1
- package/dist/zonos-elements/{p-8befc549.js → p-7da895a1.js} +1 -1
- package/dist/zonos-elements/{p-e28ffd2c.system.js → p-7ec264d3.system.js} +1 -1
- package/dist/zonos-elements/{p-38542341.system.entry.js → p-a171d025.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-6de9dc99.system.entry.js → p-a4a2ccb6.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-61e14008.entry.js → p-a6f1a790.entry.js} +1 -1
- package/dist/zonos-elements/{p-1d1a0e05.js → p-b0d100bc.js} +1 -1
- package/dist/zonos-elements/{p-f7bb4368.system.entry.js → p-b4963e20.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-f6ffaa37.system.js → p-b5c47b6d.system.js} +1 -1
- package/dist/zonos-elements/{p-e7cd5a89.entry.js → p-b5ef10aa.entry.js} +1 -1
- package/dist/zonos-elements/{p-7889b70d.system.js → p-baa03426.system.js} +1 -1
- package/dist/zonos-elements/{p-f652d433.entry.js → p-c024a9b3.entry.js} +1 -1
- package/dist/zonos-elements/p-c78dd680.system.js +1 -1
- package/dist/zonos-elements/{p-b9ec9675.entry.js → p-c8393dae.entry.js} +1 -1
- package/dist/zonos-elements/{p-2fecf308.system.entry.js → p-ca508c67.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-b3400abd.system.entry.js → p-d5268ba8.system.entry.js} +1 -1
- package/dist/zonos-elements/p-da3edde8.js +1 -0
- package/dist/zonos-elements/{p-9ffaf4ae.entry.js → p-ec21c7f0.entry.js} +1 -1
- package/dist/zonos-elements/{p-ae12eb52.system.entry.js → p-ee05c6c1.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-67bc8798.system.entry.js → p-ef664d5a.system.entry.js} +1 -1
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/package.json +1 -1
- package/dist/zonos-elements/p-842564b4.js +0 -1
|
@@ -7391,8 +7391,8 @@ const handleRequestWithFallback = async ({ basePathType, options, path, }) => {
|
|
|
7391
7391
|
status: response === null || response === void 0 ? void 0 : response.status,
|
|
7392
7392
|
statusText: response === null || response === void 0 ? void 0 : response.statusText,
|
|
7393
7393
|
},
|
|
7394
|
-
// When the error is unknown, error reporting should be enabled for period of time after release, so we can monitor the error.
|
|
7395
|
-
shouldPostReleaseErrorReporting:
|
|
7394
|
+
// When the error is unknown, error reporting should be enabled for period of time after release, so we can monitor the error.
|
|
7395
|
+
shouldPostReleaseErrorReporting: true,
|
|
7396
7396
|
});
|
|
7397
7397
|
}
|
|
7398
7398
|
if (shouldCallFallback) {
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -94,7 +94,7 @@ const getZonosQaUrl = () => {
|
|
|
94
94
|
return null;
|
|
95
95
|
}
|
|
96
96
|
const qaUrl = extractZonosQaUrl(window.location.href);
|
|
97
|
-
const cdnUrl = "https://v1.3.
|
|
97
|
+
const cdnUrl = "https://v1.3.49.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.') ||
|
|
@@ -268,10 +268,10 @@ const zonosLoadUrl = (() => {
|
|
|
268
268
|
}
|
|
269
269
|
return null;
|
|
270
270
|
})();
|
|
271
|
-
const ZONOS_URL = "https://v1.3.
|
|
272
|
-
const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.
|
|
273
|
-
const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.
|
|
274
|
-
const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.
|
|
271
|
+
const ZONOS_URL = "https://v1.3.49.js.zonos.com";
|
|
272
|
+
const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.49";
|
|
273
|
+
const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.49";
|
|
274
|
+
const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.49";
|
|
275
275
|
const MAIN_LOAD_CDN_TYPE = 'jsdelivr';
|
|
276
276
|
const INTER_FONT_URL = 'https://rsms.me';
|
|
277
277
|
const GOOGLE_FONT_URL = 'https://fonts.googleapis.com';
|
|
@@ -287,13 +287,13 @@ Zonos.zonosConversionTest = typeof window !== 'undefined' &&
|
|
|
287
287
|
!!window.location.search.match(/\?.*(&*)zonosConversionTest/);
|
|
288
288
|
Zonos._paypalMockResponse = null;
|
|
289
289
|
Zonos.isBigCommerce = false;
|
|
290
|
-
Zonos.releaseDate = "
|
|
290
|
+
Zonos.releaseDate = "1726500921881";
|
|
291
291
|
/**
|
|
292
292
|
* By default, the package will load from npm
|
|
293
293
|
*/
|
|
294
294
|
Zonos.isNpm = true;
|
|
295
295
|
Zonos.zonosQaUrl = null;
|
|
296
|
-
Zonos.version = `v${"1.3.
|
|
296
|
+
Zonos.version = `v${"1.3.49"}`;
|
|
297
297
|
Zonos.modeAlerted = false;
|
|
298
298
|
Zonos.tempCartData = null;
|
|
299
299
|
Zonos.paypal = null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const zonosStore = require('./zonosStore-56401fdb.js');
|
|
4
|
-
const cart = require('./cart-
|
|
4
|
+
const cart = require('./cart-8fac8840.js');
|
|
5
5
|
const isDarkColor = require('./isDarkColor-4eb96a1e.js');
|
|
6
6
|
const logError = require('./logError-4e2f2020.js');
|
|
7
7
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-d56e0a8b.js');
|
|
6
|
-
const cart = require('./cart-
|
|
6
|
+
const cart = require('./cart-8fac8840.js');
|
|
7
7
|
const isCheckoutMobile = require('./isCheckoutMobile-f491ca7c.js');
|
|
8
8
|
const logError = require('./logError-4e2f2020.js');
|
|
9
9
|
const containsNonLatinChars = require('./containsNonLatinChars-2be5129b.js');
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-d56e0a8b.js');
|
|
6
|
-
const cart = require('./cart-
|
|
6
|
+
const cart = require('./cart-8fac8840.js');
|
|
7
7
|
const classes = require('./classes-b7918f56.js');
|
|
8
|
-
const paypal = require('./paypal-
|
|
8
|
+
const paypal = require('./paypal-8d507ea7.js');
|
|
9
9
|
const zonosStore = require('./zonosStore-56401fdb.js');
|
|
10
|
-
const createCustomEvent = require('./createCustomEvent-
|
|
10
|
+
const createCustomEvent = require('./createCustomEvent-21addb75.js');
|
|
11
11
|
const getBorderRadius = require('./getBorderRadius-4413e191.js');
|
|
12
12
|
const isCheckoutMobile = require('./isCheckoutMobile-f491ca7c.js');
|
|
13
13
|
const ILanguage = require('./ILanguage-98b04442.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-
|
|
7
|
-
const paypal = require('./paypal-
|
|
6
|
+
const cart = require('./cart-8fac8840.js');
|
|
7
|
+
const paypal = require('./paypal-8d507ea7.js');
|
|
8
8
|
const zonosStore = require('./zonosStore-56401fdb.js');
|
|
9
|
-
const createCustomEvent = require('./createCustomEvent-
|
|
9
|
+
const createCustomEvent = require('./createCustomEvent-21addb75.js');
|
|
10
10
|
const isCheckoutMobile = require('./isCheckoutMobile-f491ca7c.js');
|
|
11
11
|
const logError = require('./logError-4e2f2020.js');
|
|
12
12
|
const classes = require('./classes-b7918f56.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-d56e0a8b.js');
|
|
6
|
-
const cart = require('./cart-
|
|
6
|
+
const cart = require('./cart-8fac8840.js');
|
|
7
7
|
const zonosStore = require('./zonosStore-56401fdb.js');
|
|
8
8
|
const logError = require('./logError-4e2f2020.js');
|
|
9
9
|
require('./isDarkColor-4eb96a1e.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-d56e0a8b.js');
|
|
6
|
-
const cart = require('./cart-
|
|
6
|
+
const cart = require('./cart-8fac8840.js');
|
|
7
7
|
const zonosStore = require('./zonosStore-56401fdb.js');
|
|
8
8
|
const classes = require('./classes-b7918f56.js');
|
|
9
9
|
require('./logError-4e2f2020.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-d56e0a8b.js');
|
|
6
|
-
const cart = require('./cart-
|
|
6
|
+
const cart = require('./cart-8fac8840.js');
|
|
7
7
|
const zonosStore = require('./zonosStore-56401fdb.js');
|
|
8
8
|
const formatStringWithLinks = require('./formatStringWithLinks-52341fc7.js');
|
|
9
9
|
const isDarkColor = require('./isDarkColor-4eb96a1e.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-d56e0a8b.js');
|
|
6
|
-
const cart = require('./cart-
|
|
6
|
+
const cart = require('./cart-8fac8840.js');
|
|
7
7
|
const zonosStore = require('./zonosStore-56401fdb.js');
|
|
8
8
|
const classes = require('./classes-b7918f56.js');
|
|
9
9
|
const formatStringWithLinks = require('./formatStringWithLinks-52341fc7.js');
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-d56e0a8b.js');
|
|
6
6
|
const zonosStore = require('./zonosStore-56401fdb.js');
|
|
7
|
-
const cart = require('./cart-
|
|
7
|
+
const cart = require('./cart-8fac8840.js');
|
|
8
8
|
const classes = require('./classes-b7918f56.js');
|
|
9
9
|
const logError = require('./logError-4e2f2020.js');
|
|
10
10
|
const getHasMoreSpaceOnRight = require('./getHasMoreSpaceOnRight-4c94667f.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-d56e0a8b.js');
|
|
6
|
-
const cart = require('./cart-
|
|
6
|
+
const cart = require('./cart-8fac8840.js');
|
|
7
7
|
const zonosStore = require('./zonosStore-56401fdb.js');
|
|
8
8
|
const ILanguage = require('./ILanguage-98b04442.js');
|
|
9
9
|
require('./logError-4e2f2020.js');
|
|
@@ -5,9 +5,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-d56e0a8b.js');
|
|
6
6
|
const zonosStore = require('./zonosStore-56401fdb.js');
|
|
7
7
|
const classes = require('./classes-b7918f56.js');
|
|
8
|
-
const cart = require('./cart-
|
|
8
|
+
const cart = require('./cart-8fac8840.js');
|
|
9
9
|
const logError = require('./logError-4e2f2020.js');
|
|
10
|
-
const paypal = require('./paypal-
|
|
10
|
+
const paypal = require('./paypal-8d507ea7.js');
|
|
11
11
|
require('./isDarkColor-4eb96a1e.js');
|
|
12
12
|
require('./getBorderRadius-4413e191.js');
|
|
13
13
|
|
|
@@ -143,8 +143,8 @@ const handleRequestWithFallback = async ({ basePathType, options, path, }) => {
|
|
|
143
143
|
status: response === null || response === void 0 ? void 0 : response.status,
|
|
144
144
|
statusText: response === null || response === void 0 ? void 0 : response.statusText,
|
|
145
145
|
},
|
|
146
|
-
// When the error is unknown, error reporting should be enabled for period of time after release, so we can monitor the error.
|
|
147
|
-
shouldPostReleaseErrorReporting:
|
|
146
|
+
// When the error is unknown, error reporting should be enabled for period of time after release, so we can monitor the error.
|
|
147
|
+
shouldPostReleaseErrorReporting: true,
|
|
148
148
|
});
|
|
149
149
|
}
|
|
150
150
|
if (shouldCallFallback) {
|
|
@@ -13,8 +13,10 @@ export const isClientSide = typeof window !== 'undefined';
|
|
|
13
13
|
export const inProdEnvironment = process.env.NODE_ENV === 'production';
|
|
14
14
|
export const inTestEnvironment = process.env.NODE_ENV === 'test';
|
|
15
15
|
export const inStorybook = !!process.env.IS_STORYBOOK;
|
|
16
|
-
export const inVercel = !!process.env.VERCEL;
|
|
17
16
|
export const inCI = !!process.env.CI;
|
|
17
|
+
export const inGithubActions = process.env.BUILD_ENV === 'github_actions';
|
|
18
|
+
export const inCloudflare = process.env.BUILD_ENV === 'cloudflare';
|
|
19
|
+
export const inVercel = process.env.BUILD_ENV === 'vercel';
|
|
18
20
|
const isVercelPreview = inVercel && process.env.VERCEL_ENV === 'preview';
|
|
19
21
|
export const isVercelProd = inVercel && process.env.VERCEL_ENV === 'production';
|
|
20
22
|
const packageVersion = `${process.env.npm_package_version}` ||
|
|
@@ -28,7 +30,9 @@ const UNPKG_ZONOS_URL = `https://unpkg.com/@zonos/elements@${packageVersion}`;
|
|
|
28
30
|
* @example https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.41/dist/scripts/loadZonos.js
|
|
29
31
|
*/
|
|
30
32
|
const CDNJS_ZONOS_URL = `https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/${packageVersion}`;
|
|
31
|
-
const currentBranch = process.env.VERCEL_GIT_COMMIT_REF ||
|
|
33
|
+
const currentBranch = process.env.VERCEL_GIT_COMMIT_REF ||
|
|
34
|
+
process.env.BRANCH_NAME ||
|
|
35
|
+
process.env.CF_PAGES_BRANCH;
|
|
32
36
|
if (typeof window === 'undefined') {
|
|
33
37
|
// storybook can't access to any "node" modules
|
|
34
38
|
config();
|
|
@@ -7389,8 +7389,8 @@ const handleRequestWithFallback = async ({ basePathType, options, path, }) => {
|
|
|
7389
7389
|
status: response === null || response === void 0 ? void 0 : response.status,
|
|
7390
7390
|
statusText: response === null || response === void 0 ? void 0 : response.statusText,
|
|
7391
7391
|
},
|
|
7392
|
-
// When the error is unknown, error reporting should be enabled for period of time after release, so we can monitor the error.
|
|
7393
|
-
shouldPostReleaseErrorReporting:
|
|
7392
|
+
// When the error is unknown, error reporting should be enabled for period of time after release, so we can monitor the error.
|
|
7393
|
+
shouldPostReleaseErrorReporting: true,
|
|
7394
7394
|
});
|
|
7395
7395
|
}
|
|
7396
7396
|
if (shouldCallFallback) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { x as handleFetch, e as cartStore, l as localizationStore } from './cart-
|
|
1
|
+
import { x as handleFetch, e as cartStore, l as localizationStore } from './cart-e14f2366.js';
|
|
2
2
|
import { z as zonosStore } from './zonosStore-8fc9ceb2.js';
|
|
3
3
|
|
|
4
4
|
const trackConversionEvent = async (eventName, metadata) => {
|
package/dist/esm/index.js
CHANGED
|
@@ -90,7 +90,7 @@ const getZonosQaUrl = () => {
|
|
|
90
90
|
return null;
|
|
91
91
|
}
|
|
92
92
|
const qaUrl = extractZonosQaUrl(window.location.href);
|
|
93
|
-
const cdnUrl = "https://v1.3.
|
|
93
|
+
const cdnUrl = "https://v1.3.49.js.zonos.com";
|
|
94
94
|
// when the qaUrl is not set and the built URL is from the test domain, use the test domain for testing
|
|
95
95
|
if (!qaUrl &&
|
|
96
96
|
(cdnUrl.includes('test.') ||
|
|
@@ -264,10 +264,10 @@ const zonosLoadUrl = (() => {
|
|
|
264
264
|
}
|
|
265
265
|
return null;
|
|
266
266
|
})();
|
|
267
|
-
const ZONOS_URL = "https://v1.3.
|
|
268
|
-
const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.
|
|
269
|
-
const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.
|
|
270
|
-
const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.
|
|
267
|
+
const ZONOS_URL = "https://v1.3.49.js.zonos.com";
|
|
268
|
+
const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.49";
|
|
269
|
+
const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.49";
|
|
270
|
+
const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.49";
|
|
271
271
|
const MAIN_LOAD_CDN_TYPE = 'jsdelivr';
|
|
272
272
|
const INTER_FONT_URL = 'https://rsms.me';
|
|
273
273
|
const GOOGLE_FONT_URL = 'https://fonts.googleapis.com';
|
|
@@ -283,13 +283,13 @@ Zonos.zonosConversionTest = typeof window !== 'undefined' &&
|
|
|
283
283
|
!!window.location.search.match(/\?.*(&*)zonosConversionTest/);
|
|
284
284
|
Zonos._paypalMockResponse = null;
|
|
285
285
|
Zonos.isBigCommerce = false;
|
|
286
|
-
Zonos.releaseDate = "
|
|
286
|
+
Zonos.releaseDate = "1726500921881";
|
|
287
287
|
/**
|
|
288
288
|
* By default, the package will load from npm
|
|
289
289
|
*/
|
|
290
290
|
Zonos.isNpm = true;
|
|
291
291
|
Zonos.zonosQaUrl = null;
|
|
292
|
-
Zonos.version = `v${"1.3.
|
|
292
|
+
Zonos.version = `v${"1.3.49"}`;
|
|
293
293
|
Zonos.modeAlerted = false;
|
|
294
294
|
Zonos.tempCartData = null;
|
|
295
295
|
Zonos.paypal = null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z as zonosStore, c as createStore } from './zonosStore-8fc9ceb2.js';
|
|
2
|
-
import { x as handleFetch, e as cartStore, r as stripeStoreHandleInventoryCheck, t as translate, q as cartStoreNextStep, j as cartStoreClearCheckoutInterval, y as jsonParse } from './cart-
|
|
2
|
+
import { x as handleFetch, e as cartStore, r as stripeStoreHandleInventoryCheck, t as translate, q as cartStoreNextStep, j as cartStoreClearCheckoutInterval, y as jsonParse } from './cart-e14f2366.js';
|
|
3
3
|
import { t as tinycolor } from './isDarkColor-3119e351.js';
|
|
4
4
|
import { l as log, a as logError } from './logError-c456c092.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, d as getElement } from './index-86b8247e.js';
|
|
2
|
-
import { k as stripeStore, l as localizationStore, t as translate } from './cart-
|
|
2
|
+
import { k as stripeStore, l as localizationStore, t as translate } from './cart-e14f2366.js';
|
|
3
3
|
import { i as isCheckoutMobile } from './isCheckoutMobile-8846dccb.js';
|
|
4
4
|
import { a as logError } from './logError-c456c092.js';
|
|
5
5
|
import { i as isTextContainsNonLatinChars, c as containsNonLatinChars } from './containsNonLatinChars-2d8810c3.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
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 { e as cartStore, G as currencyFormat, H as cartStoreHasOneEligibleItem, t as translate, x as handleFetch, v as stripeStoreReset, c as sendErrorLog, k as stripeStore, I as stripeStoreRetrievePayment, J as stripeStoreMessageBasedOnStatus, l as localizationStore, K as stripeStoreTranslateAddressToLatin, L as cartStoreUpdateSelectedShippingOption, M as cartStoreGetShippingTransitInfo } from './cart-
|
|
2
|
+
import { e as cartStore, G as currencyFormat, H as cartStoreHasOneEligibleItem, t as translate, x as handleFetch, v as stripeStoreReset, c as sendErrorLog, k as stripeStore, I as stripeStoreRetrievePayment, J as stripeStoreMessageBasedOnStatus, l as localizationStore, K as stripeStoreTranslateAddressToLatin, L as cartStoreUpdateSelectedShippingOption, M as cartStoreGetShippingTransitInfo } from './cart-e14f2366.js';
|
|
3
3
|
import { c as classes } from './classes-0d95c529.js';
|
|
4
|
-
import { s as submitGtag, a as paypalStore, b as paypalStoreReset, c as paypalStoreHasPaypalEnabled, i as isContrastColor } from './paypal-
|
|
4
|
+
import { s as submitGtag, a as paypalStore, b as paypalStoreReset, c as paypalStoreHasPaypalEnabled, i as isContrastColor } from './paypal-eef2a2a3.js';
|
|
5
5
|
import { z as zonosStore, g as getZonosStoreTheme, d as zonosStoreFontFamily } from './zonosStore-8fc9ceb2.js';
|
|
6
|
-
import { t as trackConversionEvent, c as createCustomEvent, g as getIsTestMode } from './createCustomEvent-
|
|
6
|
+
import { t as trackConversionEvent, c as createCustomEvent, g as getIsTestMode } from './createCustomEvent-444ddf02.js';
|
|
7
7
|
import { g as getBorderRadius } from './getBorderRadius-3ba98361.js';
|
|
8
8
|
import { i as isCheckoutMobile } from './isCheckoutMobile-8846dccb.js';
|
|
9
9
|
import { l as languages } from './ILanguage-cd6acb72.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
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 sendErrorLog, d as stripeStoreSaveDomesticShippingSession, i as initStripeElements, e as cartStore, f as cartStoreUpdateItems, g as cartStoreReset, h as cartStoreResetTabItems, j as cartStoreClearCheckoutInterval, k as stripeStore, m as stripeStoreInitCheckoutSession, n as cartStoreStartCheckoutInterval, o as cartStoreUpdateToErrorState, t as translate, p as stripeStorePrefetchLandedCost, q as cartStoreNextStep, r as stripeStoreHandleInventoryCheck, u as stripeStoreConfirmPayment, v as stripeStoreReset, w as localizationStoreOnUpdate } from './cart-
|
|
3
|
-
import { s as submitGtag, p as paypalInitScript } from './paypal-
|
|
2
|
+
import { l as localizationStore, s as stripeStoreGetDomesticShippingSession, a as localizationStoreUpdateSelectedCountryCode, b as stripeStoreCleanupDomesticShippingSession, c as sendErrorLog, d as stripeStoreSaveDomesticShippingSession, i as initStripeElements, e as cartStore, f as cartStoreUpdateItems, g as cartStoreReset, h as cartStoreResetTabItems, j as cartStoreClearCheckoutInterval, k as stripeStore, m as stripeStoreInitCheckoutSession, n as cartStoreStartCheckoutInterval, o as cartStoreUpdateToErrorState, t as translate, p as stripeStorePrefetchLandedCost, q as cartStoreNextStep, r as stripeStoreHandleInventoryCheck, u as stripeStoreConfirmPayment, v as stripeStoreReset, w as localizationStoreOnUpdate } from './cart-e14f2366.js';
|
|
3
|
+
import { s as submitGtag, p as paypalInitScript } from './paypal-eef2a2a3.js';
|
|
4
4
|
import { z as zonosStore, g as getZonosStoreTheme, m as mergeConfig } from './zonosStore-8fc9ceb2.js';
|
|
5
|
-
import { c as createCustomEvent, t as trackConversionEvent, g as getIsTestMode } from './createCustomEvent-
|
|
5
|
+
import { c as createCustomEvent, t as trackConversionEvent, g as getIsTestMode } from './createCustomEvent-444ddf02.js';
|
|
6
6
|
import { i as isCheckoutMobile } from './isCheckoutMobile-8846dccb.js';
|
|
7
7
|
import { l as log, a as logError } from './logError-c456c092.js';
|
|
8
8
|
import { c as classes } from './classes-0d95c529.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-86b8247e.js';
|
|
2
|
-
import { x as handleFetch, z as isValidSelector, k as stripeStore, A as initLocalizationStore, e as cartStore, a as localizationStoreUpdateSelectedCountryCode } from './cart-
|
|
2
|
+
import { x as handleFetch, z as isValidSelector, k as stripeStore, A as initLocalizationStore, e as cartStore, a as localizationStoreUpdateSelectedCountryCode } from './cart-e14f2366.js';
|
|
3
3
|
import { z as zonosStore, b as zonosStoreInitSetting, d as zonosStoreFontFamily } from './zonosStore-8fc9ceb2.js';
|
|
4
4
|
import { a as logError, l as log } from './logError-c456c092.js';
|
|
5
5
|
import './isDarkColor-3119e351.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, d as getElement } from './index-86b8247e.js';
|
|
2
|
-
import { l as localizationStore } from './cart-
|
|
2
|
+
import { l as localizationStore } from './cart-e14f2366.js';
|
|
3
3
|
import { d as zonosStoreFontFamily } from './zonosStore-8fc9ceb2.js';
|
|
4
4
|
import { c as classes } from './classes-0d95c529.js';
|
|
5
5
|
import './logError-c456c092.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, d as getElement } from './index-86b8247e.js';
|
|
2
|
-
import { a as localizationStoreUpdateSelectedCountryCode, t as translate, l as localizationStore } from './cart-
|
|
2
|
+
import { a as localizationStoreUpdateSelectedCountryCode, t as translate, l as localizationStore } from './cart-e14f2366.js';
|
|
3
3
|
import { d as zonosStoreFontFamily } from './zonosStore-8fc9ceb2.js';
|
|
4
4
|
import { f as formatStringWithLinks } from './formatStringWithLinks-9e819405.js';
|
|
5
5
|
import { i as isDarkColor } from './isDarkColor-3119e351.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host } from './index-86b8247e.js';
|
|
2
|
-
import { t as translate, l as localizationStore, G as currencyFormat } from './cart-
|
|
2
|
+
import { t as translate, l as localizationStore, G as currencyFormat } from './cart-e14f2366.js';
|
|
3
3
|
import { z as zonosStore } from './zonosStore-8fc9ceb2.js';
|
|
4
4
|
import { c as classes } from './classes-0d95c529.js';
|
|
5
5
|
import { f as formatStringWithLinks } from './formatStringWithLinks-9e819405.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host } from './index-86b8247e.js';
|
|
2
2
|
import { _ as _root, e as _baseGetTag, i as isObjectLike_1, f as isObject_1, z as zonosStore, g as getZonosStoreTheme, m as mergeConfig } from './zonosStore-8fc9ceb2.js';
|
|
3
|
-
import { x as handleFetch, l as localizationStore, z as isValidSelector, t as translate, B as getZCountryUrlParam, C as setZCountryUrlParam, D as currencyDisplay, E as currencyConvertAndFormat, F as currencyConvert, G as currencyFormat } from './cart-
|
|
3
|
+
import { x as handleFetch, l as localizationStore, z as isValidSelector, t as translate, B as getZCountryUrlParam, C as setZCountryUrlParam, D as currencyDisplay, E as currencyConvertAndFormat, F as currencyConvert, G as currencyFormat } from './cart-e14f2366.js';
|
|
4
4
|
import { c as classes } from './classes-0d95c529.js';
|
|
5
5
|
import { a as logError, l as log } from './logError-c456c092.js';
|
|
6
6
|
import { g as getHasMoreSpaceOnRight } from './getHasMoreSpaceOnRight-70eb913a.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host } from './index-86b8247e.js';
|
|
2
|
-
import { N as localizationStoreUpdateSelectedLocale, t as translate, l as localizationStore } from './cart-
|
|
2
|
+
import { N as localizationStoreUpdateSelectedLocale, t as translate, l as localizationStore } from './cart-e14f2366.js';
|
|
3
3
|
import { d as zonosStoreFontFamily } from './zonosStore-8fc9ceb2.js';
|
|
4
4
|
import { l as languages } from './ILanguage-cd6acb72.js';
|
|
5
5
|
import './logError-c456c092.js';
|
|
@@ -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-8fc9ceb2.js';
|
|
3
3
|
import { c as classes } from './classes-0d95c529.js';
|
|
4
|
-
import { k as stripeStore } from './cart-
|
|
4
|
+
import { k as stripeStore } from './cart-e14f2366.js';
|
|
5
5
|
import { a as logError, l as log } from './logError-c456c092.js';
|
|
6
|
-
import { d as paypalStoreInitButtons } from './paypal-
|
|
6
|
+
import { d as paypalStoreInitButtons } from './paypal-eef2a2a3.js';
|
|
7
7
|
import './isDarkColor-3119e351.js';
|
|
8
8
|
import './getBorderRadius-3ba98361.js';
|
|
9
9
|
|