@zonos/elements 1.3.268 → 1.3.269

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 (162) hide show
  1. package/dist/cjs/{cart-af7c024e.js → cart-87fbbb5a.js} +1 -1
  2. package/dist/cjs/{hasInclusivePrice-0fa6e022.js → hasInclusivePrice-c86ed1f5.js} +1 -1
  3. package/dist/cjs/index.cjs.js +7 -7
  4. package/dist/cjs/{invoice-c2e3f232.js → invoice-952f32c4.js} +2 -2
  5. package/dist/cjs/{isCollectMobileTablet-6014787b.js → isCollectMobileTablet-1cb21c59.js} +2 -2
  6. package/dist/cjs/{localization-f897bc45.js → localization-a969f224.js} +239 -2
  7. package/dist/cjs/{paypal-6756a0da.js → paypal-cfe1e8e9.js} +2 -2
  8. package/dist/cjs/{placeTestOrder-a4874e51.js → placeTestOrder-613878fb.js} +2 -2
  9. package/dist/cjs/{renderCheckoutCurrency-584d50fe.js → renderCheckoutCurrency-5a333d29.js} +2 -2
  10. package/dist/cjs/zonos-address-display_8.cjs.entry.js +2 -2
  11. package/dist/cjs/zonos-address_4.cjs.entry.js +2 -2
  12. package/dist/cjs/zonos-card_5.cjs.entry.js +3 -3
  13. package/dist/cjs/zonos-cart-items_12.cjs.entry.js +6 -6
  14. package/dist/cjs/zonos-checkout.cjs.entry.js +15 -72
  15. package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +2 -2
  16. package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +6 -6
  17. package/dist/cjs/zonos-collect.cjs.entry.js +4 -4
  18. package/dist/cjs/zonos-controller.cjs.entry.js +2 -2
  19. package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
  20. package/dist/cjs/zonos-country-select_4.cjs.entry.js +1 -1
  21. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +2 -2
  22. package/dist/cjs/zonos-hello.cjs.entry.js +2 -45
  23. package/dist/cjs/zonos-invoice-cart-items_2.cjs.entry.js +4 -4
  24. package/dist/cjs/zonos-invoice-finish_5.cjs.entry.js +6 -6
  25. package/dist/cjs/zonos-invoice.cjs.entry.js +4 -4
  26. package/dist/cjs/zonos-language-select_2.cjs.entry.js +1 -1
  27. package/dist/cjs/zonos-policy-consent_2.cjs.entry.js +3 -3
  28. package/dist/collection/components/hello/zonos-hello/zonos-hello.js +2 -44
  29. package/dist/collection/components/store/hello/localization.js +12 -1
  30. package/dist/collection/components/utils/checkout/bigcommerceStorefrontApi.js +28 -0
  31. package/dist/collection/components/utils/checkout/removeBigcommerceCartShipping.js +83 -0
  32. package/dist/collection/components/utils/hello/shouldShowHelloWidget.js +61 -0
  33. package/dist/collection/utils/toggleBigcommerceNativeCurrencySelector.js +2 -1
  34. package/dist/esm/{cart-68c16805.js → cart-663ef7d5.js} +1 -1
  35. package/dist/esm/{hasInclusivePrice-f1ca1610.js → hasInclusivePrice-f8bd057d.js} +1 -1
  36. package/dist/esm/index.js +7 -7
  37. package/dist/esm/{invoice-d0eadc6a.js → invoice-db7211a6.js} +2 -2
  38. package/dist/esm/{isCollectMobileTablet-11ade63f.js → isCollectMobileTablet-24c912b1.js} +2 -2
  39. package/dist/esm/{localization-8e81b696.js → localization-dc19e8bb.js} +236 -3
  40. package/dist/esm/{paypal-e32877e9.js → paypal-cdbe69ef.js} +2 -2
  41. package/dist/esm/{placeTestOrder-4cf429d7.js → placeTestOrder-ba67e208.js} +2 -2
  42. package/dist/esm/{renderCheckoutCurrency-9459b8a3.js → renderCheckoutCurrency-fb1cbd28.js} +2 -2
  43. package/dist/esm/zonos-address-display_8.entry.js +2 -2
  44. package/dist/esm/zonos-address_4.entry.js +2 -2
  45. package/dist/esm/zonos-card_5.entry.js +3 -3
  46. package/dist/esm/zonos-cart-items_12.entry.js +6 -6
  47. package/dist/esm/zonos-checkout.entry.js +4 -61
  48. package/dist/esm/zonos-collect-cart-items_3.entry.js +2 -2
  49. package/dist/esm/zonos-collect-finish_6.entry.js +6 -6
  50. package/dist/esm/zonos-collect.entry.js +4 -4
  51. package/dist/esm/zonos-controller.entry.js +2 -2
  52. package/dist/esm/zonos-country-flag.entry.js +1 -1
  53. package/dist/esm/zonos-country-select_4.entry.js +1 -1
  54. package/dist/esm/zonos-hello-dialog.entry.js +2 -2
  55. package/dist/esm/zonos-hello.entry.js +2 -45
  56. package/dist/esm/zonos-invoice-cart-items_2.entry.js +4 -4
  57. package/dist/esm/zonos-invoice-finish_5.entry.js +6 -6
  58. package/dist/esm/zonos-invoice.entry.js +4 -4
  59. package/dist/esm/zonos-language-select_2.entry.js +1 -1
  60. package/dist/esm/zonos-policy-consent_2.entry.js +3 -3
  61. package/dist/esm-es5/{cart-68c16805.js → cart-663ef7d5.js} +1 -1
  62. package/dist/esm-es5/{hasInclusivePrice-f1ca1610.js → hasInclusivePrice-f8bd057d.js} +1 -1
  63. package/dist/esm-es5/index.js +1 -1
  64. package/dist/esm-es5/{invoice-d0eadc6a.js → invoice-db7211a6.js} +1 -1
  65. package/dist/esm-es5/{isCollectMobileTablet-11ade63f.js → isCollectMobileTablet-24c912b1.js} +1 -1
  66. package/dist/esm-es5/{localization-8e81b696.js → localization-dc19e8bb.js} +1 -1
  67. package/dist/esm-es5/{paypal-e32877e9.js → paypal-cdbe69ef.js} +1 -1
  68. package/dist/esm-es5/{placeTestOrder-4cf429d7.js → placeTestOrder-ba67e208.js} +1 -1
  69. package/dist/esm-es5/{renderCheckoutCurrency-9459b8a3.js → renderCheckoutCurrency-fb1cbd28.js} +1 -1
  70. package/dist/esm-es5/zonos-address-display_8.entry.js +1 -1
  71. package/dist/esm-es5/zonos-address_4.entry.js +1 -1
  72. package/dist/esm-es5/zonos-card_5.entry.js +1 -1
  73. package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
  74. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  75. package/dist/esm-es5/zonos-collect-cart-items_3.entry.js +1 -1
  76. package/dist/esm-es5/zonos-collect-finish_6.entry.js +1 -1
  77. package/dist/esm-es5/zonos-collect.entry.js +1 -1
  78. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  79. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  80. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  81. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  82. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  83. package/dist/esm-es5/zonos-invoice-cart-items_2.entry.js +1 -1
  84. package/dist/esm-es5/zonos-invoice-finish_5.entry.js +1 -1
  85. package/dist/esm-es5/zonos-invoice.entry.js +1 -1
  86. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  87. package/dist/esm-es5/zonos-policy-consent_2.entry.js +1 -1
  88. package/dist/scripts/index.js +1 -1
  89. package/dist/scripts/loadZonos.js +1 -1
  90. package/dist/scripts/zonos.js +1 -1
  91. package/dist/types/components/hello/zonos-hello/zonos-hello.d.ts +0 -1
  92. package/dist/types/components/utils/checkout/bigcommerceStorefrontApi.d.ts +9 -0
  93. package/dist/types/components/utils/checkout/removeBigcommerceCartShipping.d.ts +18 -0
  94. package/dist/types/components/utils/hello/shouldShowHelloWidget.d.ts +16 -0
  95. package/dist/zonos-elements/index.esm.js +1 -1
  96. package/dist/zonos-elements/{p-50362897.entry.js → p-049fc407.entry.js} +1 -1
  97. package/dist/zonos-elements/{p-c7ca3e98.system.entry.js → p-0581cfc9.system.entry.js} +1 -1
  98. package/dist/zonos-elements/{p-01913da8.js → p-097d7819.js} +1 -1
  99. package/dist/zonos-elements/{p-5e18d92b.system.entry.js → p-09d32e53.system.entry.js} +1 -1
  100. package/dist/zonos-elements/{p-8ddc21f1.system.entry.js → p-0daed059.system.entry.js} +1 -1
  101. package/dist/zonos-elements/p-1bde60d5.system.entry.js +1 -0
  102. package/dist/zonos-elements/{p-dcafbd4e.js → p-243dda5f.js} +1 -1
  103. package/dist/zonos-elements/p-263d14da.system.entry.js +1 -0
  104. package/dist/zonos-elements/p-29b60bf3.system.js +1 -1
  105. package/dist/zonos-elements/p-2be4335f.js +1 -0
  106. package/dist/zonos-elements/{p-64e8f05d.system.entry.js → p-33a37c42.system.entry.js} +1 -1
  107. package/dist/zonos-elements/{p-17e3cd62.js → p-44147850.js} +1 -1
  108. package/dist/zonos-elements/{p-97da66f2.entry.js → p-488c1af1.entry.js} +1 -1
  109. package/dist/zonos-elements/{p-95b460e9.system.entry.js → p-48ec0b61.system.entry.js} +1 -1
  110. package/dist/zonos-elements/p-4af88255.entry.js +1 -0
  111. package/dist/zonos-elements/p-4b6e367d.system.js +1 -0
  112. package/dist/zonos-elements/{p-7fef8558.entry.js → p-513e8278.entry.js} +1 -1
  113. package/dist/zonos-elements/p-56711a61.js +1 -0
  114. package/dist/zonos-elements/{p-e3d6f9b4.entry.js → p-57b55808.entry.js} +1 -1
  115. package/dist/zonos-elements/p-57c3c68f.entry.js +1 -0
  116. package/dist/zonos-elements/{p-c3459f4a.entry.js → p-680da401.entry.js} +1 -1
  117. package/dist/zonos-elements/p-699276f2.system.js +1 -0
  118. package/dist/zonos-elements/{p-a0ee01dd.system.entry.js → p-71528303.system.entry.js} +1 -1
  119. package/dist/zonos-elements/{p-44b279cc.system.js → p-7662d32a.system.js} +1 -1
  120. package/dist/zonos-elements/{p-48805ed6.system.entry.js → p-82ce355d.system.entry.js} +1 -1
  121. package/dist/zonos-elements/{p-620a9013.entry.js → p-84d4f04d.entry.js} +1 -1
  122. package/dist/zonos-elements/{p-673407b8.entry.js → p-858103a0.entry.js} +1 -1
  123. package/dist/zonos-elements/{p-bc9a30a1.system.entry.js → p-882fb843.system.entry.js} +1 -1
  124. package/dist/zonos-elements/{p-24091606.system.entry.js → p-8a24701c.system.entry.js} +1 -1
  125. package/dist/zonos-elements/{p-593764cf.system.entry.js → p-8f0bdb87.system.entry.js} +1 -1
  126. package/dist/zonos-elements/{p-4fe3d5e0.system.js → p-8f817a47.system.js} +1 -1
  127. package/dist/zonos-elements/{p-38311c16.entry.js → p-9092f655.entry.js} +1 -1
  128. package/dist/zonos-elements/{p-6f41c193.entry.js → p-9377b5c2.entry.js} +1 -1
  129. package/dist/zonos-elements/{p-b93b66c2.entry.js → p-9799193c.entry.js} +1 -1
  130. package/dist/zonos-elements/{p-fc5007e0.entry.js → p-9a509268.entry.js} +1 -1
  131. package/dist/zonos-elements/{p-69089a6f.system.entry.js → p-9ea67d63.system.entry.js} +1 -1
  132. package/dist/zonos-elements/{p-7166df08.entry.js → p-a237429e.entry.js} +1 -1
  133. package/dist/zonos-elements/{p-1eef8c23.system.js → p-a3a79b2f.system.js} +1 -1
  134. package/dist/zonos-elements/p-accccb9c.entry.js +1 -0
  135. package/dist/zonos-elements/{p-623fc89a.system.entry.js → p-b0ed0fe7.system.entry.js} +1 -1
  136. package/dist/zonos-elements/{p-7628569a.entry.js → p-ba127f51.entry.js} +1 -1
  137. package/dist/zonos-elements/{p-72c3756a.js → p-bbef037c.js} +1 -1
  138. package/dist/zonos-elements/p-be64a52e.entry.js +1 -0
  139. package/dist/zonos-elements/{p-5b05b461.system.js → p-c2023a08.system.js} +1 -1
  140. package/dist/zonos-elements/{p-1376e67f.system.entry.js → p-c4ef873a.system.entry.js} +1 -1
  141. package/dist/zonos-elements/{p-774de1ec.system.js → p-c5caf47b.system.js} +1 -1
  142. package/dist/zonos-elements/{p-108b5307.system.entry.js → p-c62293d5.system.entry.js} +1 -1
  143. package/dist/zonos-elements/{p-b71ef46e.js → p-cd5444b0.js} +1 -1
  144. package/dist/zonos-elements/p-d437bc28.js +1 -0
  145. package/dist/zonos-elements/{p-2ccd20c0.system.js → p-d932973f.system.js} +1 -1
  146. package/dist/zonos-elements/{p-95f3bbad.system.entry.js → p-df0c8fb6.system.entry.js} +1 -1
  147. package/dist/zonos-elements/{p-c91fade3.entry.js → p-e05e5825.entry.js} +1 -1
  148. package/dist/zonos-elements/{p-53a59935.system.js → p-f5684fc2.system.js} +1 -1
  149. package/dist/zonos-elements/{p-af12a1b7.system.entry.js → p-fc270539.system.entry.js} +1 -1
  150. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  151. package/package.json +1 -1
  152. package/dist/zonos-elements/p-000b895a.entry.js +0 -1
  153. package/dist/zonos-elements/p-06e7fe2a.system.entry.js +0 -1
  154. package/dist/zonos-elements/p-0803ad10.js +0 -1
  155. package/dist/zonos-elements/p-11439d12.entry.js +0 -1
  156. package/dist/zonos-elements/p-17be8409.entry.js +0 -1
  157. package/dist/zonos-elements/p-5fa2395d.system.js +0 -1
  158. package/dist/zonos-elements/p-72960738.js +0 -1
  159. package/dist/zonos-elements/p-7a220941.system.js +0 -1
  160. package/dist/zonos-elements/p-7cf8e1f0.js +0 -1
  161. package/dist/zonos-elements/p-8116d3ba.entry.js +0 -1
  162. package/dist/zonos-elements/p-b9a615bc.system.entry.js +0 -1
@@ -3,19 +3,19 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const cart = require('./cart-af7c024e.js');
7
- const paypal = require('./paypal-6756a0da.js');
8
- const localization = require('./localization-f897bc45.js');
6
+ const cart = require('./cart-87fbbb5a.js');
7
+ const paypal = require('./paypal-cfe1e8e9.js');
8
+ const localization = require('./localization-a969f224.js');
9
9
  const zonosStore = require('./zonosStore-45a87908.js');
10
10
  const handleFetch = require('./handleFetch-954f30e1.js');
11
11
  const createCustomEvent = require('./createCustomEvent-7b6fad95.js');
12
12
  const getBorderRadius = require('./getBorderRadius-fc683d94.js');
13
13
  const VarianceTest = require('./VarianceTest-bec00ea8.js');
14
- const isCollectMobileTablet = require('./isCollectMobileTablet-6014787b.js');
14
+ const isCollectMobileTablet = require('./isCollectMobileTablet-1cb21c59.js');
15
15
  const classes = require('./classes-b7918f56.js');
16
16
  const ILanguage = require('./ILanguage-98b04442.js');
17
- const renderCheckoutCurrency = require('./renderCheckoutCurrency-584d50fe.js');
18
- const placeTestOrder = require('./placeTestOrder-a4874e51.js');
17
+ const renderCheckoutCurrency = require('./renderCheckoutCurrency-5a333d29.js');
18
+ const placeTestOrder = require('./placeTestOrder-613878fb.js');
19
19
  const renderFallback = require('./renderFallback-bc20ee20.js');
20
20
  require('./isDarkColor-5d6ca405.js');
21
21
  require('./isContrastColor-76592c92.js');
@@ -3,10 +3,10 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const cart = require('./cart-af7c024e.js');
7
- const isCollectMobileTablet = require('./isCollectMobileTablet-6014787b.js');
8
- const paypal = require('./paypal-6756a0da.js');
9
- const localization = require('./localization-f897bc45.js');
6
+ const cart = require('./cart-87fbbb5a.js');
7
+ const isCollectMobileTablet = require('./isCollectMobileTablet-1cb21c59.js');
8
+ const paypal = require('./paypal-cfe1e8e9.js');
9
+ const localization = require('./localization-a969f224.js');
10
10
  const zonosStore = require('./zonosStore-45a87908.js');
11
11
  const buildCartItemsByTempCart = require('./buildCartItemsByTempCart-edddbf4b.js');
12
12
  const handleFetch = require('./handleFetch-954f30e1.js');
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const cart = require('./cart-af7c024e.js');
7
- const localization = require('./localization-f897bc45.js');
6
+ const cart = require('./cart-87fbbb5a.js');
7
+ const localization = require('./localization-a969f224.js');
8
8
  const zonosStore = require('./zonosStore-45a87908.js');
9
9
  const getGenericSettingsOverride = require('./getGenericSettingsOverride-c0ca32b9.js');
10
10
  const handleFetch = require('./handleFetch-954f30e1.js');
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const localization = require('./localization-f897bc45.js');
6
+ const localization = require('./localization-a969f224.js');
7
7
  const zonosStore = require('./zonosStore-45a87908.js');
8
8
  const classes = require('./classes-b7918f56.js');
9
9
  require('./handleFetch-954f30e1.js');
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const localization = require('./localization-f897bc45.js');
6
+ const localization = require('./localization-a969f224.js');
7
7
  const zonosStore = require('./zonosStore-45a87908.js');
8
8
  const formatStringWithLinks = require('./formatStringWithLinks-52341fc7.js');
9
9
  const isDarkColor = require('./isDarkColor-5d6ca405.js');
@@ -3,11 +3,11 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const localization = require('./localization-f897bc45.js');
6
+ const localization = require('./localization-a969f224.js');
7
7
  const zonosStore = require('./zonosStore-45a87908.js');
8
8
  const classes = require('./classes-b7918f56.js');
9
9
  const formatStringWithLinks = require('./formatStringWithLinks-52341fc7.js');
10
- const hasInclusivePrice = require('./hasInclusivePrice-0fa6e022.js');
10
+ const hasInclusivePrice = require('./hasInclusivePrice-c86ed1f5.js');
11
11
  const getHasMoreSpaceOnRight = require('./getHasMoreSpaceOnRight-4c94667f.js');
12
12
  const TaxId = require('./TaxId-12acedde.js');
13
13
  require('./handleFetch-954f30e1.js');
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
6
  const debounce = require('./debounce-7990f5ea.js');
7
- const localization = require('./localization-f897bc45.js');
7
+ const localization = require('./localization-a969f224.js');
8
8
  const zonosStore = require('./zonosStore-45a87908.js');
9
9
  const classes = require('./classes-b7918f56.js');
10
10
  const handleFetch = require('./handleFetch-954f30e1.js');
@@ -333,49 +333,6 @@ const ZonosHello = class {
333
333
  return hasMoreSpaceOnRight;
334
334
  }
335
335
  };
336
- this.shouldRenderHello = (showLog = true) => {
337
- var _a, _b;
338
- if (!localization.localizationStore.localizationLoaded) {
339
- return false;
340
- }
341
- const { countryDisplayRules, showForCountries } = zonosStore.zonosStore.helloSettings;
342
- const visibilityRules = countryDisplayRules === null || countryDisplayRules === void 0 ? void 0 : countryDisplayRules.widgetVisibility;
343
- const selectedCountry = localization.localizationStore.selectedCountryCode;
344
- // Resolve behavior: deprecated showForCountries overrides widgetVisibility.behavior
345
- // If showForCountries is an array of country codes, treat as legacy explicit list
346
- const behavior = Array.isArray(showForCountries)
347
- ? showForCountries
348
- : (showForCountries !== null && showForCountries !== void 0 ? showForCountries : visibilityRules === null || visibilityRules === void 0 ? void 0 : visibilityRules.behavior);
349
- if (showLog && !localization.localizationStore.isShippableCountry) {
350
- VarianceTest.log(`Hello: not shippable country - Show for countries: ${behavior}`);
351
- }
352
- // Legacy: explicit list of country codes from deprecated showForCountries
353
- if (Array.isArray(behavior)) {
354
- return !!selectedCountry && behavior.includes(selectedCountry);
355
- }
356
- // Determine base visibility from behavior
357
- let isVisible;
358
- if (behavior === 'ALL') {
359
- isVisible = true;
360
- }
361
- else {
362
- // Default: ONLY_SHIPPABLE
363
- isVisible = localization.localizationStore.isShippableCountry;
364
- }
365
- // Apply includedCountries — force show the widget for these countries
366
- if (!isVisible &&
367
- selectedCountry &&
368
- ((_a = visibilityRules === null || visibilityRules === void 0 ? void 0 : visibilityRules.includedCountries) === null || _a === void 0 ? void 0 : _a.includes(selectedCountry))) {
369
- isVisible = true;
370
- }
371
- // Apply excludedCountries — force hide the widget for these countries
372
- if (isVisible &&
373
- selectedCountry &&
374
- ((_b = visibilityRules === null || visibilityRules === void 0 ? void 0 : visibilityRules.excludedCountries) === null || _b === void 0 ? void 0 : _b.includes(selectedCountry))) {
375
- isVisible = false;
376
- }
377
- return isVisible;
378
- };
379
336
  }
380
337
  showDialogHandler(showDialog) {
381
338
  var _a;
@@ -551,7 +508,7 @@ const ZonosHello = class {
551
508
  // The organization name can be changed after init with the updateOrganizationName method.
552
509
  // This will cause the element to rerender with the new org name when it changes. (used for preview on dashboard)
553
510
  this.peekMessage = this.getHelloPeekMessage(zonosStore.zonosStore.organizationName);
554
- const showHello = this.shouldRenderHello() && !!selectedCountryCode;
511
+ const showHello = localization.shouldShowHelloWidget() && !!selectedCountryCode;
555
512
  // If the condition for rendering Hello is met, set the toggle to true to trigger callback, should only trigger once
556
513
  if (showHello && !this.isHelloWidgetRendered) {
557
514
  this.handleHelloWidgetInitializedState({
@@ -3,11 +3,11 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const cart = require('./cart-af7c024e.js');
7
- const localization = require('./localization-f897bc45.js');
8
- const renderCheckoutCurrency = require('./renderCheckoutCurrency-584d50fe.js');
6
+ const cart = require('./cart-87fbbb5a.js');
7
+ const localization = require('./localization-a969f224.js');
8
+ const renderCheckoutCurrency = require('./renderCheckoutCurrency-5a333d29.js');
9
9
  const classes = require('./classes-b7918f56.js');
10
- const invoice = require('./invoice-c2e3f232.js');
10
+ const invoice = require('./invoice-952f32c4.js');
11
11
  const renderFallback = require('./renderFallback-bc20ee20.js');
12
12
  require('./zonosStore-45a87908.js');
13
13
  require('./VarianceTest-bec00ea8.js');
@@ -3,9 +3,9 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const cart = require('./cart-af7c024e.js');
7
- const paypal = require('./paypal-6756a0da.js');
8
- const localization = require('./localization-f897bc45.js');
6
+ const cart = require('./cart-87fbbb5a.js');
7
+ const paypal = require('./paypal-cfe1e8e9.js');
8
+ const localization = require('./localization-a969f224.js');
9
9
  const zonosStore = require('./zonosStore-45a87908.js');
10
10
  const handleFetch = require('./handleFetch-954f30e1.js');
11
11
  const createCustomEvent = require('./createCustomEvent-7b6fad95.js');
@@ -14,9 +14,9 @@ const VarianceTest = require('./VarianceTest-bec00ea8.js');
14
14
  const isInvoiceMobileTablet = require('./isInvoiceMobileTablet-dde41e4e.js');
15
15
  const classes = require('./classes-b7918f56.js');
16
16
  const ILanguage = require('./ILanguage-98b04442.js');
17
- const invoice = require('./invoice-c2e3f232.js');
18
- const renderCheckoutCurrency = require('./renderCheckoutCurrency-584d50fe.js');
19
- const placeTestOrder = require('./placeTestOrder-a4874e51.js');
17
+ const invoice = require('./invoice-952f32c4.js');
18
+ const renderCheckoutCurrency = require('./renderCheckoutCurrency-5a333d29.js');
19
+ const placeTestOrder = require('./placeTestOrder-613878fb.js');
20
20
  const renderFallback = require('./renderFallback-bc20ee20.js');
21
21
  require('./isDarkColor-5d6ca405.js');
22
22
  require('./isContrastColor-76592c92.js');
@@ -3,10 +3,10 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const cart = require('./cart-af7c024e.js');
7
- const invoice = require('./invoice-c2e3f232.js');
8
- const paypal = require('./paypal-6756a0da.js');
9
- const localization = require('./localization-f897bc45.js');
6
+ const cart = require('./cart-87fbbb5a.js');
7
+ const invoice = require('./invoice-952f32c4.js');
8
+ const paypal = require('./paypal-cfe1e8e9.js');
9
+ const localization = require('./localization-a969f224.js');
10
10
  const zonosStore = require('./zonosStore-45a87908.js');
11
11
  const buildCartItemsByTempCart = require('./buildCartItemsByTempCart-edddbf4b.js');
12
12
  const handleFetch = require('./handleFetch-954f30e1.js');
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const localization = require('./localization-f897bc45.js');
6
+ const localization = require('./localization-a969f224.js');
7
7
  const zonosStore = require('./zonosStore-45a87908.js');
8
8
  const ILanguage = require('./ILanguage-98b04442.js');
9
9
  require('./handleFetch-954f30e1.js');
@@ -3,10 +3,10 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const cart = require('./cart-af7c024e.js');
7
- const localization = require('./localization-f897bc45.js');
6
+ const cart = require('./cart-87fbbb5a.js');
7
+ const localization = require('./localization-a969f224.js');
8
8
  const zonosStore = require('./zonosStore-45a87908.js');
9
- const renderCheckoutCurrency = require('./renderCheckoutCurrency-584d50fe.js');
9
+ const renderCheckoutCurrency = require('./renderCheckoutCurrency-5a333d29.js');
10
10
  const getBorderRadius = require('./getBorderRadius-fc683d94.js');
11
11
  require('./VarianceTest-bec00ea8.js');
12
12
  require('./handleFetch-954f30e1.js');
@@ -15,6 +15,7 @@ import { getHelloWidgetSize } from "../../utils/hello/getHelloWidgetSize";
15
15
  import { getProductsOnPage } from "../../utils/hello/getProductsOnPage";
16
16
  import { getZCountryUrlParam } from "../../utils/hello/getZCountryUrlParam";
17
17
  import { setZCountryUrlParam } from "../../utils/hello/setZCountryUrlParam";
18
+ import { shouldShowHelloWidget } from "../../utils/hello/shouldShowHelloWidget";
18
19
  import { log } from "../../utils/logging/log";
19
20
  import { mergeConfig } from "../../utils/mergeConfig";
20
21
  const PEEK_MESSAGE_CLOSE_DELAY_MS = 3000;
@@ -203,49 +204,6 @@ export class ZonosHello {
203
204
  return hasMoreSpaceOnRight;
204
205
  }
205
206
  };
206
- this.shouldRenderHello = (showLog = true) => {
207
- var _a, _b;
208
- if (!localizationStore.localizationLoaded) {
209
- return false;
210
- }
211
- const { countryDisplayRules, showForCountries } = zonosStore.helloSettings;
212
- const visibilityRules = countryDisplayRules === null || countryDisplayRules === void 0 ? void 0 : countryDisplayRules.widgetVisibility;
213
- const selectedCountry = localizationStore.selectedCountryCode;
214
- // Resolve behavior: deprecated showForCountries overrides widgetVisibility.behavior
215
- // If showForCountries is an array of country codes, treat as legacy explicit list
216
- const behavior = Array.isArray(showForCountries)
217
- ? showForCountries
218
- : (showForCountries !== null && showForCountries !== void 0 ? showForCountries : visibilityRules === null || visibilityRules === void 0 ? void 0 : visibilityRules.behavior);
219
- if (showLog && !localizationStore.isShippableCountry) {
220
- log(`Hello: not shippable country - Show for countries: ${behavior}`);
221
- }
222
- // Legacy: explicit list of country codes from deprecated showForCountries
223
- if (Array.isArray(behavior)) {
224
- return !!selectedCountry && behavior.includes(selectedCountry);
225
- }
226
- // Determine base visibility from behavior
227
- let isVisible;
228
- if (behavior === 'ALL') {
229
- isVisible = true;
230
- }
231
- else {
232
- // Default: ONLY_SHIPPABLE
233
- isVisible = localizationStore.isShippableCountry;
234
- }
235
- // Apply includedCountries — force show the widget for these countries
236
- if (!isVisible &&
237
- selectedCountry &&
238
- ((_a = visibilityRules === null || visibilityRules === void 0 ? void 0 : visibilityRules.includedCountries) === null || _a === void 0 ? void 0 : _a.includes(selectedCountry))) {
239
- isVisible = true;
240
- }
241
- // Apply excludedCountries — force hide the widget for these countries
242
- if (isVisible &&
243
- selectedCountry &&
244
- ((_b = visibilityRules === null || visibilityRules === void 0 ? void 0 : visibilityRules.excludedCountries) === null || _b === void 0 ? void 0 : _b.includes(selectedCountry))) {
245
- isVisible = false;
246
- }
247
- return isVisible;
248
- };
249
207
  }
250
208
  showDialogHandler(showDialog) {
251
209
  var _a;
@@ -421,7 +379,7 @@ export class ZonosHello {
421
379
  // The organization name can be changed after init with the updateOrganizationName method.
422
380
  // This will cause the element to rerender with the new org name when it changes. (used for preview on dashboard)
423
381
  this.peekMessage = this.getHelloPeekMessage(zonosStore.organizationName);
424
- const showHello = this.shouldRenderHello() && !!selectedCountryCode;
382
+ const showHello = shouldShowHelloWidget() && !!selectedCountryCode;
425
383
  // If the condition for rendering Hello is met, set the toggle to true to trigger callback, should only trigger once
426
384
  if (showHello && !this.isHelloWidgetRendered) {
427
385
  this.handleHelloWidgetInitializedState({
@@ -9,6 +9,7 @@ import { getInclusivePriceConfigurations } from "../../utils/api/getInclusivePri
9
9
  import { getLocaleMessages } from "../../utils/api/getLocaleMessages";
10
10
  import { getLocalization } from "../../utils/api/getLocalization";
11
11
  import { getShippingZones } from "../../utils/api/getShippingZones";
12
+ import { removeBigcommerceCartShipping } from "../../utils/checkout/removeBigcommerceCartShipping";
12
13
  import { handleFetch } from "../../utils/handleFetch";
13
14
  import { currencyDisplay } from "../../utils/hello/currencyConversion/currencyDisplay";
14
15
  import { getCurrencyCode } from "../../utils/hello/currencyConversion/getCurrencyCode";
@@ -183,6 +184,11 @@ const localizationStoreUpdateSelectedCountryCode = ({ isInitializing, newSelecte
183
184
  // because `currencyDisplay` is also invoked from the price-mutation
184
185
  // observer in `zonos-hello.tsx`, which fires on every DOM render.
185
186
  toggleBigcommerceNativeCurrencySelector();
187
+ // On the BigCommerce cart page, drop any native domestic shipping quote the
188
+ // shopper added before switching to an international country so the Grand
189
+ // Total reflects only subtotal + coupon. No-ops off-cart, off-BigCommerce,
190
+ // for non-shippable countries, or when the cart has no consignment.
191
+ void removeBigcommerceCartShipping();
186
192
  if (!selectedCountryCode) {
187
193
  return;
188
194
  }
@@ -360,6 +366,11 @@ const initLocalizationStore = async () => {
360
366
  newSelectedCountryCode: 'CA',
361
367
  });
362
368
  }
363
- localizationStore.localizationLoaded = true;
369
+ if (!localizationStore.localizationLoaded) {
370
+ localizationStore.localizationLoaded = true;
371
+ void removeBigcommerceCartShipping();
372
+ // shouldShowHelloWidget is false because localization is not loaded yet
373
+ void toggleBigcommerceNativeCurrencySelector();
374
+ }
364
375
  };
365
376
  export { initLocalizationStore, localizationDispose, localizationStore, localizationStoreOnChange, localizationStoreUpdateSelectedCountryCode, localizationStoreUpdateSelectedLocale, };
@@ -50,6 +50,34 @@ export const fetchBigCommerceCheckout = async (checkoutId) => {
50
50
  return null;
51
51
  }
52
52
  };
53
+ /**
54
+ * Delete a consignment (a saved shipping selection, e.g. a domestic shipping
55
+ * quote the shopper added on the cart page) from the active BigCommerce
56
+ * checkout via the Storefront API. Cookie-authenticated (same-origin), so no
57
+ * token is needed. Returns the updated checkout on success, or null on
58
+ * failure.
59
+ */
60
+ export const deleteBigCommerceConsignment = async (checkoutId, consignmentId) => {
61
+ try {
62
+ const response = await fetch(`/api/storefront/checkouts/${checkoutId}/consignments/${consignmentId}`, {
63
+ credentials: 'same-origin',
64
+ headers: {
65
+ Accept: 'application/json',
66
+ 'Content-Type': 'application/json',
67
+ },
68
+ method: 'DELETE',
69
+ });
70
+ if (!response.ok) {
71
+ log(`Failed to delete BigCommerce consignment: ${String(response.status)}`, 'error');
72
+ return null;
73
+ }
74
+ return (await response.json());
75
+ }
76
+ catch (error) {
77
+ logError('Error deleting BigCommerce consignment', error);
78
+ return null;
79
+ }
80
+ };
53
81
  /**
54
82
  * Whether the BigCommerce shopper is already logged in. We key off the
55
83
  * customer's numeric `id` since the storefront API populates it only for
@@ -0,0 +1,83 @@
1
+ import { localizationStore } from "../../store/hello/localization";
2
+ import { deleteBigCommerceConsignment, fetchBigCommerceCheckout, fetchCheckoutId, } from "./bigcommerceStorefrontApi";
3
+ import { shouldShowHelloWidget } from "../hello/shouldShowHelloWidget";
4
+ import { log } from "../logging/log";
5
+ import { logError } from "../logging/logError";
6
+ /**
7
+ * Guard against overlapping passes. `removeBigcommerceCartShipping` is fired on
8
+ * every country change; without this flag, rapid country switches could stack
9
+ * concurrent fetch/DELETE cycles against the same cart before the reload kicks
10
+ * in.
11
+ */
12
+ let isRemoving = false;
13
+ /**
14
+ * On the BigCommerce cart page, drop any native domestic shipping quote the
15
+ * shopper added before they switched to an international country, then reload
16
+ * the page.
17
+ *
18
+ * The native cart stores a shipping estimate as a consignment on the active
19
+ * checkout. When Hello is shown the shopper is checking out internationally
20
+ * through Zonos, so that domestic shipping cost should not linger in the Grand
21
+ * Total. We delete the consignment(s) and reload so the server re-renders the
22
+ * cart consistently (subtotal, shipping, and Grand Total all add up).
23
+ *
24
+ * No-ops unless all of the following hold: the host is BigCommerce, the shopper
25
+ * is on the cart page, they are in a shipping zone with Hello shown, and the
26
+ * active checkout actually has a consignment. Because the reload happens only
27
+ * when a consignment is found and removed, the freshly-loaded page has none —
28
+ * so this cannot loop.
29
+ */
30
+ export const removeBigcommerceCartShipping = async () => {
31
+ var _a, _b;
32
+ if (typeof window === 'undefined' || !((_a = window.Zonos) === null || _a === void 0 ? void 0 : _a.isBigCommerce)) {
33
+ return;
34
+ }
35
+ // Only on the cart page and only when Hello is shown — elsewhere there is no
36
+ // Grand Total to correct. Gate on Hello visibility (not raw shipping-zone
37
+ // membership) so include/exclude country overrides are respected.
38
+ if (window.location.pathname !== '/cart.php' ||
39
+ !localizationStore.isShippableCountry ||
40
+ !shouldShowHelloWidget(false)) {
41
+ return;
42
+ }
43
+ if (isRemoving) {
44
+ return;
45
+ }
46
+ isRemoving = true;
47
+ try {
48
+ const checkoutId = await fetchCheckoutId();
49
+ if (!checkoutId) {
50
+ return;
51
+ }
52
+ const checkout = await fetchBigCommerceCheckout(checkoutId);
53
+ const consignmentIds = ((_b = checkout === null || checkout === void 0 ? void 0 : checkout.consignments) !== null && _b !== void 0 ? _b : [])
54
+ .map(consignment => consignment.id)
55
+ .filter((id) => !!id);
56
+ // Nothing to do if there is no domestic shipping quote on the cart.
57
+ if (!consignmentIds.length) {
58
+ return;
59
+ }
60
+ log(`Removing ${String(consignmentIds.length)} BigCommerce cart consignment(s) for international shopper`, 'info');
61
+ // `deleteBigCommerceConsignment` resolves to null on failure (it swallows
62
+ // the error and logs it), so a non-null result means that consignment was
63
+ // actually removed.
64
+ const deleteResults = await Promise.all(consignmentIds.map(consignmentId => deleteBigCommerceConsignment(checkoutId, consignmentId)));
65
+ const removedCount = deleteResults.filter(Boolean).length;
66
+ // Only reload when at least one consignment was actually removed. If every
67
+ // DELETE failed, reloading would re-run this on init with the same
68
+ // consignments still present and trap the shopper in a reload loop.
69
+ if (!removedCount) {
70
+ log('No BigCommerce cart consignments were removed; skipping reload to avoid a reload loop', 'warn');
71
+ return;
72
+ }
73
+ // Reload so the server re-renders the cart consistently without the removed
74
+ // shipping, instead of surgically patching the DOM total.
75
+ window.location.reload();
76
+ }
77
+ catch (error) {
78
+ logError('Error removing BigCommerce cart shipping consignment', error);
79
+ }
80
+ finally {
81
+ isRemoving = false;
82
+ }
83
+ };
@@ -0,0 +1,61 @@
1
+ import { localizationStore } from "../../store/hello/localization";
2
+ import { zonosStore } from "../../store/zonosStore";
3
+ import { log } from "../logging/log";
4
+ /**
5
+ * Whether the Hello widget should be shown for the current shopper. This is the
6
+ * single source of truth for Hello's visibility decision — the `zonos-hello`
7
+ * component renders by it, and other features (e.g. BigCommerce cart shipping
8
+ * cleanup) gate on it so their behavior stays in lockstep with what the shopper
9
+ * actually sees.
10
+ *
11
+ * Resolves the configured `widgetVisibility` behavior (with the deprecated
12
+ * `showForCountries` override) against the selected country and shipping-zone
13
+ * state, then applies the include/exclude country overrides.
14
+ *
15
+ * @param showLog - emit a debug log when the shopper is not in a shipping zone.
16
+ * Defaults to `true`; pass `false` from non-rendering callers to avoid log
17
+ * noise.
18
+ */
19
+ export const shouldShowHelloWidget = (showLog = true) => {
20
+ var _a, _b;
21
+ if (!localizationStore.localizationLoaded) {
22
+ return false;
23
+ }
24
+ const { countryDisplayRules, showForCountries } = zonosStore.helloSettings;
25
+ const visibilityRules = countryDisplayRules === null || countryDisplayRules === void 0 ? void 0 : countryDisplayRules.widgetVisibility;
26
+ const selectedCountry = localizationStore.selectedCountryCode;
27
+ // Resolve behavior: deprecated showForCountries overrides widgetVisibility.behavior
28
+ // If showForCountries is an array of country codes, treat as legacy explicit list
29
+ const behavior = Array.isArray(showForCountries)
30
+ ? showForCountries
31
+ : (showForCountries !== null && showForCountries !== void 0 ? showForCountries : visibilityRules === null || visibilityRules === void 0 ? void 0 : visibilityRules.behavior);
32
+ if (showLog && !localizationStore.isShippableCountry) {
33
+ log(`Hello: not shippable country - Show for countries: ${behavior}`);
34
+ }
35
+ // Legacy: explicit list of country codes from deprecated showForCountries
36
+ if (Array.isArray(behavior)) {
37
+ return !!selectedCountry && behavior.includes(selectedCountry);
38
+ }
39
+ // Determine base visibility from behavior
40
+ let isVisible;
41
+ if (behavior === 'ALL') {
42
+ isVisible = true;
43
+ }
44
+ else {
45
+ // Default: ONLY_SHIPPABLE
46
+ isVisible = localizationStore.isShippableCountry;
47
+ }
48
+ // Apply includedCountries — force show the widget for these countries
49
+ if (!isVisible &&
50
+ selectedCountry &&
51
+ ((_a = visibilityRules === null || visibilityRules === void 0 ? void 0 : visibilityRules.includedCountries) === null || _a === void 0 ? void 0 : _a.includes(selectedCountry))) {
52
+ isVisible = true;
53
+ }
54
+ // Apply excludedCountries — force hide the widget for these countries
55
+ if (isVisible &&
56
+ selectedCountry &&
57
+ ((_b = visibilityRules === null || visibilityRules === void 0 ? void 0 : visibilityRules.excludedCountries) === null || _b === void 0 ? void 0 : _b.includes(selectedCountry))) {
58
+ isVisible = false;
59
+ }
60
+ return isVisible;
61
+ };
@@ -1,5 +1,6 @@
1
1
  import { localizationStore } from "../components/store/hello/localization";
2
2
  import { zonosStore } from "../components/store/zonosStore";
3
+ import { shouldShowHelloWidget } from "../components/utils/hello/shouldShowHelloWidget";
3
4
  import { logError } from "../components/utils/logging/logError";
4
5
  const HIDE_CLASSNAME = 'z--bc-currency-hide';
5
6
  /**
@@ -28,7 +29,7 @@ export const toggleBigcommerceNativeCurrencySelector = () => {
28
29
  return;
29
30
  }
30
31
  const bigcommerceCurrencyCode = document.body.dataset.currencyCode;
31
- const shouldHide = localizationStore.isShippableCountry &&
32
+ const shouldHide = (shouldShowHelloWidget(false) || localizationStore.isShippableCountry) &&
32
33
  !!bigcommerceCurrencyCode &&
33
34
  bigcommerceCurrencyCode === zonosStore.sourceCurrency;
34
35
  try {
@@ -1,5 +1,5 @@
1
1
  import { c as createStore, z as zonosStore } from './zonosStore-8e19daff.js';
2
- import { s as storageStore, t as translate, l as localizationStore, e as getOverridenZCountry, f as filterValidTests, b as storageStoreSetEnabledVariantTestKeys } from './localization-8e81b696.js';
2
+ import { s as storageStore, t as translate, l as localizationStore, j as getOverridenZCountry, f as filterValidTests, d as storageStoreSetEnabledVariantTestKeys } from './localization-dc19e8bb.js';
3
3
  import { l as log, b as allLogs } from './VarianceTest-572cecf5.js';
4
4
  import { h as handleFetch, l as logError, f as fallbackApiList, g as getIsTestMode, a as getIsStagingMode, s as sendErrorLog, j as jsonParse } from './handleFetch-a844cac1.js';
5
5
  import { i as isDarkColor } from './isDarkColor-566f04c5.js';
@@ -1,4 +1,4 @@
1
- import { l as localizationStore } from './localization-8e81b696.js';
1
+ import { l as localizationStore } from './localization-dc19e8bb.js';
2
2
 
3
3
  /**
4
4
  * Since the backend and the frontend are using the same keys,
package/dist/esm/index.js CHANGED
@@ -131,7 +131,7 @@ const getZonosQaUrl = () => {
131
131
  return null;
132
132
  }
133
133
  const qaUrl = extractZonosQaUrl(window.location.href);
134
- const cdnUrl = "https://v1.3.268.js.zonos.com";
134
+ const cdnUrl = "https://v1.3.269.js.zonos.com";
135
135
  // when the qaUrl is not set and the built URL is from the test domain, use the test domain for testing
136
136
  if (!qaUrl &&
137
137
  (cdnUrl.includes('test.') ||
@@ -379,10 +379,10 @@ const zonosLoadUrl = (() => {
379
379
  return null;
380
380
  })();
381
381
  const startLoadTime = Date.now();
382
- const ZONOS_URL = "https://v1.3.268.js.zonos.com";
383
- const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.268";
384
- const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.268";
385
- const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.268";
382
+ const ZONOS_URL = "https://v1.3.269.js.zonos.com";
383
+ const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.269";
384
+ const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.269";
385
+ const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.269";
386
386
  const GOOGLE_FONT_URL = 'https://fonts.googleapis.com';
387
387
  const GOOGLE_FONT_REGEX = /^https:\/\/fonts\.googleapis\.com/;
388
388
  class Zonos {
@@ -400,7 +400,7 @@ Zonos.iframeLogType = typeof window !== 'undefined'
400
400
  ? new URLSearchParams(window.location.search).get('iframeLogType')
401
401
  : null;
402
402
  Zonos.isBigCommerce = false;
403
- Zonos.releaseDate = "1780932937557";
403
+ Zonos.releaseDate = "1781282532525";
404
404
  Zonos.isLegacyCheckout = false;
405
405
  Zonos.googleAnalyticId = null;
406
406
  Zonos.googleAnalyticReady = false;
@@ -425,7 +425,7 @@ Zonos.isNpm = true;
425
425
  Zonos.zonosQaUrl = null;
426
426
  Zonos.zonosQaUrlApi = null;
427
427
  Zonos.trackEventLogs = [];
428
- Zonos.version = `v${"1.3.268"}`;
428
+ Zonos.version = `v${"1.3.269"}`;
429
429
  Zonos.modeAlerted = false;
430
430
  Zonos.cartData = null;
431
431
  Zonos.paypal = null;
@@ -1,6 +1,6 @@
1
1
  import { c as createStore, z as zonosStore } from './zonosStore-8e19daff.js';
2
- import { b as stripeStore, K as stripeStoreBuildAddressForPartyCreate, d as cartStore, L as cartStoreUpdateSelectedShippingOption } from './cart-68c16805.js';
3
- import { s as storageStore } from './localization-8e81b696.js';
2
+ import { b as stripeStore, K as stripeStoreBuildAddressForPartyCreate, d as cartStore, L as cartStoreUpdateSelectedShippingOption } from './cart-663ef7d5.js';
3
+ import { s as storageStore } from './localization-dc19e8bb.js';
4
4
  import { h as handleFetch, s as sendErrorLog, l as logError } from './handleFetch-a844cac1.js';
5
5
  import { b as allLogs } from './VarianceTest-572cecf5.js';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { c as createStore, z as zonosStore } from './zonosStore-8e19daff.js';
2
- import { b as stripeStore, K as stripeStoreBuildAddressForPartyCreate, d as cartStore, L as cartStoreUpdateSelectedShippingOption } from './cart-68c16805.js';
3
- import { s as storageStore } from './localization-8e81b696.js';
2
+ import { b as stripeStore, K as stripeStoreBuildAddressForPartyCreate, d as cartStore, L as cartStoreUpdateSelectedShippingOption } from './cart-663ef7d5.js';
3
+ import { s as storageStore } from './localization-dc19e8bb.js';
4
4
  import { h as handleFetch, s as sendErrorLog, l as logError } from './handleFetch-a844cac1.js';
5
5
  import { b as allLogs } from './VarianceTest-572cecf5.js';
6
6