@zonos/elements 1.3.284 → 1.3.286

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 (146) hide show
  1. package/dist/cjs/{cart-94908542.js → cart-0cf8897b.js} +26 -3
  2. package/dist/cjs/{collect-0c05e2b4.js → collect-79131e52.js} +1 -1
  3. package/dist/cjs/{getMissingRequiredShippingFields-124b3f20.js → getMissingRequiredShippingFields-a8f04267.js} +1 -1
  4. package/dist/cjs/index.cjs.js +7 -7
  5. package/dist/cjs/{invoice-205fb5bc.js → invoice-254ae23b.js} +1 -1
  6. package/dist/cjs/{paypal-45ca5301.js → paypal-8ca67278.js} +1 -1
  7. package/dist/cjs/{placeTestOrder-302b6862.js → placeTestOrder-12b63822.js} +1 -1
  8. package/dist/cjs/{renderCheckoutCurrency-1b0cd5f2.js → renderCheckoutCurrency-a1f71587.js} +1 -1
  9. package/dist/cjs/zonos-address-completion-dialog_7.cjs.entry.js +2 -2
  10. package/dist/cjs/zonos-address_4.cjs.entry.js +1 -1
  11. package/dist/cjs/zonos-airwallex-payment.cjs.entry.js +2 -2
  12. package/dist/cjs/zonos-card_5.cjs.entry.js +2 -2
  13. package/dist/cjs/zonos-cart-items_12.cjs.entry.js +21 -9
  14. package/dist/cjs/zonos-checkout.cjs.entry.js +103 -5
  15. package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +1 -1
  16. package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +5 -5
  17. package/dist/cjs/zonos-collect.cjs.entry.js +3 -3
  18. package/dist/cjs/zonos-controller.cjs.entry.js +1 -1
  19. package/dist/cjs/zonos-invoice-cart-items_2.cjs.entry.js +3 -3
  20. package/dist/cjs/zonos-invoice-finish_5.cjs.entry.js +5 -5
  21. package/dist/cjs/zonos-invoice.cjs.entry.js +3 -3
  22. package/dist/cjs/zonos-policy-consent_2.cjs.entry.js +2 -2
  23. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.js +17 -5
  24. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +104 -5
  25. package/dist/collection/components/common/zonos-stripe-phone-input/zonos-stripe-phone-input.js +1 -1
  26. package/dist/collection/components/main/zonos-controller.js +1 -1
  27. package/dist/collection/components/store/checkout/cart.js +14 -1
  28. package/dist/collection/components/utils/validateCheckoutSession.js +11 -3
  29. package/dist/collection/types/generated/graphql.frontend.types.js +2 -0
  30. package/dist/collection/types/generated/graphql.internal.types.js +128 -6
  31. package/dist/esm/{cart-2e407f7b.js → cart-d04742f5.js} +25 -4
  32. package/dist/esm/{collect-19428e18.js → collect-4c310a16.js} +1 -1
  33. package/dist/esm/{getMissingRequiredShippingFields-719b206f.js → getMissingRequiredShippingFields-f0878e32.js} +1 -1
  34. package/dist/esm/index.js +7 -7
  35. package/dist/esm/{invoice-67a47785.js → invoice-86487dac.js} +1 -1
  36. package/dist/esm/{paypal-6dca6567.js → paypal-997935ab.js} +1 -1
  37. package/dist/esm/{placeTestOrder-9563c89a.js → placeTestOrder-a53f2056.js} +1 -1
  38. package/dist/esm/{renderCheckoutCurrency-282384f0.js → renderCheckoutCurrency-e0e16eb7.js} +1 -1
  39. package/dist/esm/zonos-address-completion-dialog_7.entry.js +2 -2
  40. package/dist/esm/zonos-address_4.entry.js +1 -1
  41. package/dist/esm/zonos-airwallex-payment.entry.js +2 -2
  42. package/dist/esm/zonos-card_5.entry.js +2 -2
  43. package/dist/esm/zonos-cart-items_12.entry.js +21 -9
  44. package/dist/esm/zonos-checkout.entry.js +103 -5
  45. package/dist/esm/zonos-collect-cart-items_3.entry.js +1 -1
  46. package/dist/esm/zonos-collect-finish_6.entry.js +5 -5
  47. package/dist/esm/zonos-collect.entry.js +3 -3
  48. package/dist/esm/zonos-controller.entry.js +1 -1
  49. package/dist/esm/zonos-invoice-cart-items_2.entry.js +3 -3
  50. package/dist/esm/zonos-invoice-finish_5.entry.js +5 -5
  51. package/dist/esm/zonos-invoice.entry.js +3 -3
  52. package/dist/esm/zonos-policy-consent_2.entry.js +2 -2
  53. package/dist/esm-es5/cart-d04742f5.js +1 -0
  54. package/dist/esm-es5/{collect-19428e18.js → collect-4c310a16.js} +1 -1
  55. package/dist/esm-es5/getMissingRequiredShippingFields-f0878e32.js +1 -0
  56. package/dist/esm-es5/index.js +1 -1
  57. package/dist/esm-es5/{invoice-67a47785.js → invoice-86487dac.js} +1 -1
  58. package/dist/esm-es5/{paypal-6dca6567.js → paypal-997935ab.js} +1 -1
  59. package/dist/esm-es5/{placeTestOrder-9563c89a.js → placeTestOrder-a53f2056.js} +1 -1
  60. package/dist/esm-es5/{renderCheckoutCurrency-282384f0.js → renderCheckoutCurrency-e0e16eb7.js} +1 -1
  61. package/dist/esm-es5/zonos-address-completion-dialog_7.entry.js +1 -1
  62. package/dist/esm-es5/zonos-address_4.entry.js +1 -1
  63. package/dist/esm-es5/zonos-airwallex-payment.entry.js +1 -1
  64. package/dist/esm-es5/zonos-card_5.entry.js +1 -1
  65. package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
  66. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  67. package/dist/esm-es5/zonos-collect-cart-items_3.entry.js +1 -1
  68. package/dist/esm-es5/zonos-collect-finish_6.entry.js +1 -1
  69. package/dist/esm-es5/zonos-collect.entry.js +1 -1
  70. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  71. package/dist/esm-es5/zonos-invoice-cart-items_2.entry.js +1 -1
  72. package/dist/esm-es5/zonos-invoice-finish_5.entry.js +1 -1
  73. package/dist/esm-es5/zonos-invoice.entry.js +1 -1
  74. package/dist/esm-es5/zonos-policy-consent_2.entry.js +1 -1
  75. package/dist/scripts/index.d.ts +4 -0
  76. package/dist/scripts/index.js +1 -1
  77. package/dist/scripts/loadZonos.js +1 -1
  78. package/dist/scripts/zonos.js +1 -1
  79. package/dist/types/components/checkout/zonos-checkout/zonos-checkout.d.ts +14 -0
  80. package/dist/types/components/store/checkout/cart.d.ts +10 -1
  81. package/dist/types/types/generated/graphql.frontend.types.d.ts +2 -0
  82. package/dist/types/types/generated/graphql.frontend.types.ts +2 -0
  83. package/dist/types/types/generated/graphql.internal.types.d.ts +162 -7
  84. package/dist/types/types/generated/graphql.internal.types.ts +201 -9
  85. package/dist/zonos-elements/index.esm.js +1 -1
  86. package/dist/zonos-elements/{p-dd3c00d6.system.entry.js → p-0c327a57.system.entry.js} +1 -1
  87. package/dist/zonos-elements/{p-e32ee011.system.entry.js → p-117953db.system.entry.js} +1 -1
  88. package/dist/zonos-elements/{p-260ad739.system.entry.js → p-1cfb5c2a.system.entry.js} +1 -1
  89. package/dist/zonos-elements/{p-f4acce01.js → p-277b77e3.js} +1 -1
  90. package/dist/zonos-elements/{p-ae0de3e4.entry.js → p-278abdcf.entry.js} +1 -1
  91. package/dist/zonos-elements/p-29b60bf3.system.js +1 -1
  92. package/dist/zonos-elements/{p-e5c76a9b.js → p-344a6278.js} +2 -2
  93. package/dist/zonos-elements/{p-f59a0129.system.entry.js → p-3a26e5e7.system.entry.js} +1 -1
  94. package/dist/zonos-elements/{p-94722bf6.system.entry.js → p-40af92a1.system.entry.js} +1 -1
  95. package/dist/zonos-elements/{p-e8587f9f.system.entry.js → p-41f1697a.system.entry.js} +1 -1
  96. package/dist/zonos-elements/{p-e2b4c082.system.entry.js → p-490d7fec.system.entry.js} +1 -1
  97. package/dist/zonos-elements/{p-1277abac.system.entry.js → p-4941c096.system.entry.js} +1 -1
  98. package/dist/zonos-elements/{p-d20fe2c2.system.entry.js → p-50d088f7.system.entry.js} +1 -1
  99. package/dist/zonos-elements/{p-8311edc7.entry.js → p-5227aa69.entry.js} +1 -1
  100. package/dist/zonos-elements/{p-bced320e.entry.js → p-5d110c2b.entry.js} +1 -1
  101. package/dist/zonos-elements/{p-b1e95f95.entry.js → p-6de2f9c9.entry.js} +1 -1
  102. package/dist/zonos-elements/{p-6dde1e85.system.entry.js → p-6eaf7c9e.system.entry.js} +1 -1
  103. package/dist/zonos-elements/p-7352abe9.js +1 -0
  104. package/dist/zonos-elements/{p-fe5f05fc.system.js → p-74230da8.system.js} +1 -1
  105. package/dist/zonos-elements/{p-22e10b7d.entry.js → p-77993ba1.entry.js} +1 -1
  106. package/dist/zonos-elements/p-78f8e594.entry.js +1 -0
  107. package/dist/zonos-elements/p-7b525c75.system.js +1 -0
  108. package/dist/zonos-elements/p-7f688485.system.entry.js +1 -0
  109. package/dist/zonos-elements/p-8861d47e.js +1 -0
  110. package/dist/zonos-elements/p-8d14cb66.entry.js +1 -0
  111. package/dist/zonos-elements/{p-a07e5011.entry.js → p-944c1fb3.entry.js} +1 -1
  112. package/dist/zonos-elements/{p-cb49dcfe.entry.js → p-96ab529e.entry.js} +1 -1
  113. package/dist/zonos-elements/{p-eb5f3451.system.js → p-998975a3.system.js} +1 -1
  114. package/dist/zonos-elements/p-a4c7ee17.js +1 -0
  115. package/dist/zonos-elements/{p-3a13e58c.system.js → p-c0af11fe.system.js} +1 -1
  116. package/dist/zonos-elements/p-c112fa12.system.entry.js +1 -0
  117. package/dist/zonos-elements/{p-2b8c96e3.system.js → p-c4321a1a.system.js} +1 -1
  118. package/dist/zonos-elements/{p-aecb5d61.entry.js → p-c7329333.entry.js} +1 -1
  119. package/dist/zonos-elements/{p-2989da12.system.js → p-c756a59d.system.js} +1 -1
  120. package/dist/zonos-elements/p-d1a51fac.js +1 -0
  121. package/dist/zonos-elements/{p-d42bd250.system.entry.js → p-d75726e5.system.entry.js} +1 -1
  122. package/dist/zonos-elements/p-dd866ca3.system.entry.js +1 -0
  123. package/dist/zonos-elements/{p-8bfe5b2b.entry.js → p-dd8a7bf4.entry.js} +1 -1
  124. package/dist/zonos-elements/p-e4dc24e1.system.js +1 -0
  125. package/dist/zonos-elements/{p-60a6b71d.system.js → p-e5865ad9.system.js} +1 -1
  126. package/dist/zonos-elements/{p-65c1f51e.entry.js → p-e7d7afda.entry.js} +1 -1
  127. package/dist/zonos-elements/p-f9346f1c.entry.js +1 -0
  128. package/dist/zonos-elements/{p-0c9fec73.js → p-fc5f6113.js} +1 -1
  129. package/dist/zonos-elements/p-fe28dbe6.entry.js +1 -0
  130. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  131. package/package.json +1 -1
  132. package/dist/esm-es5/cart-2e407f7b.js +0 -1
  133. package/dist/esm-es5/getMissingRequiredShippingFields-719b206f.js +0 -1
  134. package/dist/zonos-elements/p-2c2afed4.entry.js +0 -1
  135. package/dist/zonos-elements/p-2cdd1b49.system.entry.js +0 -1
  136. package/dist/zonos-elements/p-46cd14e5.js +0 -1
  137. package/dist/zonos-elements/p-4a20893e.system.js +0 -1
  138. package/dist/zonos-elements/p-5a491f28.js +0 -1
  139. package/dist/zonos-elements/p-5ebb7ae6.entry.js +0 -1
  140. package/dist/zonos-elements/p-62f6a757.entry.js +0 -1
  141. package/dist/zonos-elements/p-8b298971.system.entry.js +0 -1
  142. package/dist/zonos-elements/p-a9ad74e5.system.entry.js +0 -1
  143. package/dist/zonos-elements/p-c1631c9c.js +0 -1
  144. package/dist/zonos-elements/p-cb4cb5a3.system.js +0 -1
  145. package/dist/zonos-elements/p-dc80cb87.js +0 -1
  146. package/dist/zonos-elements/p-ff4e6811.entry.js +0 -1
@@ -816,7 +816,7 @@ const sortServiceLevelOptionsByAmount = (serviceLevels) => {
816
816
  * Validate checkout session before confirming payment
817
817
  */
818
818
  const validateCheckoutSession = async () => {
819
- var _a;
819
+ var _a, _b;
820
820
  // get checkout session info
821
821
  const { errors, json } = await getCheckoutSession();
822
822
  if (errors.length || !json) {
@@ -831,8 +831,16 @@ const validateCheckoutSession = async () => {
831
831
  valid: false,
832
832
  };
833
833
  }
834
- // Make sure landed cost is found in the checkout session
835
- if (!((_a = json.checkoutSession.landedCost) === null || _a === void 0 ? void 0 : _a.id)) {
834
+ // Make sure landed cost is found in the checkout session. Order-modification
835
+ // payment-only sessions (skip-to-payment, no shipping step) never carry a
836
+ // landedCost on the checkout session — same reason stripeStoreConfirmPayment
837
+ // skips its own selectedLandedCost guard for this flow. Inferred here from
838
+ // the session itself (order attached + not completed) rather than a
839
+ // caller-supplied flag, so every call site behaves consistently without
840
+ // needing to know about this special case.
841
+ const isOrderModificationPaymentOnlySession = !!(((_a = json.checkoutSession.order) === null || _a === void 0 ? void 0 : _a.id) && !json.checkoutSession.completedAt);
842
+ if (!isOrderModificationPaymentOnlySession &&
843
+ !((_b = json.checkoutSession.landedCost) === null || _b === void 0 ? void 0 : _b.id)) {
836
844
  handleFetch.logError('Landed cost is not found in the checkout session before confirming payment.');
837
845
  void handleFetch.sendErrorLog({
838
846
  endpoint: 'validateCheckoutSession',
@@ -2374,6 +2382,19 @@ const cartStoreHasOneEligibleItem = () => {
2374
2382
  // if there is no item restricted found => all items are restricted
2375
2383
  return !!checkItems.find(item => !item.isRestricted);
2376
2384
  };
2385
+ /**
2386
+ * An order-modification payment-only session (skip-to-payment, no shipping
2387
+ * step): a session tied to an order that hasn't completed yet, meaning the
2388
+ * shopper is only paying a delta against an already-approved landed cost.
2389
+ * Single source of truth for this detection — previously duplicated inline
2390
+ * at each call site, which let one of them (the forceDialogOpen/preview init
2391
+ * path) miss it entirely.
2392
+ */
2393
+ const cartStoreIsOrderModificationPaymentOnlySession = () => {
2394
+ var _a, _b;
2395
+ return !!(((_b = (_a = cartStore.checkoutSession) === null || _a === void 0 ? void 0 : _a.order) === null || _b === void 0 ? void 0 : _b.id) &&
2396
+ !cartStore.checkoutSession.completedAt);
2397
+ };
2377
2398
  const cartStoreSetCheckoutSession = (checkoutSession) => {
2378
2399
  var _a, _b, _c, _d, _e, _f, _g;
2379
2400
  // update stripe store with updated information
@@ -2736,6 +2757,7 @@ exports.cartStoreClearCheckoutInterval = cartStoreClearCheckoutInterval;
2736
2757
  exports.cartStoreGetMethod = cartStoreGetMethod;
2737
2758
  exports.cartStoreGetShippingTransitInfo = cartStoreGetShippingTransitInfo;
2738
2759
  exports.cartStoreHasOneEligibleItem = cartStoreHasOneEligibleItem;
2760
+ exports.cartStoreIsOrderModificationPaymentOnlySession = cartStoreIsOrderModificationPaymentOnlySession;
2739
2761
  exports.cartStoreNextStep = cartStoreNextStep;
2740
2762
  exports.cartStoreOnChange = cartStoreOnChange;
2741
2763
  exports.cartStoreReset = cartStoreReset;
@@ -2747,6 +2769,7 @@ exports.cartStoreUpdateSelectedShippingOption = cartStoreUpdateSelectedShippingO
2747
2769
  exports.cartStoreUpdateStoreCredit = cartStoreUpdateStoreCredit;
2748
2770
  exports.cartStoreUpdateToErrorState = cartStoreUpdateToErrorState;
2749
2771
  exports.extractName = extractName;
2772
+ exports.getCheckoutSession = getCheckoutSession;
2750
2773
  exports.getCheckoutSessionBody = getCheckoutSessionBody;
2751
2774
  exports.getCountryField = getCountryField;
2752
2775
  exports.getEnabledPolicies = getEnabledPolicies;
@@ -4,7 +4,7 @@ const zonosStore = require('./zonosStore-0af0b937.js');
4
4
  const localization = require('./localization-fb2ece37.js');
5
5
  const handleFetch = require('./handleFetch-954f30e1.js');
6
6
  const VarianceTest = require('./VarianceTest-bec00ea8.js');
7
- const cart = require('./cart-94908542.js');
7
+ const cart = require('./cart-0cf8897b.js');
8
8
 
9
9
  // src/constant/common.ts
10
10
  function _array_like_to_array(arr, len) {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const cart = require('./cart-94908542.js');
3
+ const cart = require('./cart-0cf8897b.js');
4
4
 
5
5
  /**
6
6
  * Minimum number of characters we treat as a valid postal code. Mirrors the
@@ -133,7 +133,7 @@ const getZonosQaUrl = () => {
133
133
  return null;
134
134
  }
135
135
  const qaUrl = extractZonosQaUrl(window.location.href);
136
- const cdnUrl = "https://v1.3.284.js.zonos.com";
136
+ const cdnUrl = "https://v1.3.286.js.zonos.com";
137
137
  // when the qaUrl is not set and the built URL is from the test domain, use the test domain for testing
138
138
  if (!qaUrl &&
139
139
  (cdnUrl.includes('test.') ||
@@ -399,10 +399,10 @@ const zonosLoadUrl = (() => {
399
399
  return null;
400
400
  })();
401
401
  const startLoadTime = Date.now();
402
- const ZONOS_URL = "https://v1.3.284.js.zonos.com";
403
- const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.284";
404
- const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.284";
405
- const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.284";
402
+ const ZONOS_URL = "https://v1.3.286.js.zonos.com";
403
+ const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.286";
404
+ const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.286";
405
+ const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.286";
406
406
  const GOOGLE_FONT_URL = 'https://fonts.googleapis.com';
407
407
  const GOOGLE_FONT_REGEX = /^https:\/\/fonts\.googleapis\.com/;
408
408
  class Zonos {
@@ -420,7 +420,7 @@ Zonos.iframeLogType = typeof window !== 'undefined'
420
420
  ? new URLSearchParams(window.location.search).get('iframeLogType')
421
421
  : null;
422
422
  Zonos.isBigCommerce = false;
423
- Zonos.releaseDate = "1787002350863";
423
+ Zonos.releaseDate = "1788207564864";
424
424
  Zonos.isLegacyCheckout = false;
425
425
  Zonos.googleAnalyticId = null;
426
426
  Zonos.googleAnalyticReady = false;
@@ -445,7 +445,7 @@ Zonos.isNpm = true;
445
445
  Zonos.zonosQaUrl = null;
446
446
  Zonos.zonosQaUrlApi = null;
447
447
  Zonos.trackEventLogs = [];
448
- Zonos.version = `v${"1.3.284"}`;
448
+ Zonos.version = `v${"1.3.286"}`;
449
449
  Zonos.modeAlerted = false;
450
450
  Zonos.cartData = null;
451
451
  Zonos.paypal = null;
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const zonosStore = require('./zonosStore-0af0b937.js');
4
- const cart = require('./cart-94908542.js');
4
+ const cart = require('./cart-0cf8897b.js');
5
5
  const localization = require('./localization-fb2ece37.js');
6
6
  const handleFetch = require('./handleFetch-954f30e1.js');
7
7
  const VarianceTest = require('./VarianceTest-bec00ea8.js');
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const zonosStore = require('./zonosStore-0af0b937.js');
4
- const cart = require('./cart-94908542.js');
4
+ const cart = require('./cart-0cf8897b.js');
5
5
  const localization = require('./localization-fb2ece37.js');
6
6
  const handleFetch = require('./handleFetch-954f30e1.js');
7
7
  const isContrastColor = require('./isContrastColor-30f84a91.js');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const cart = require('./cart-94908542.js');
3
+ const cart = require('./cart-0cf8897b.js');
4
4
  const localization = require('./localization-fb2ece37.js');
5
5
  const handleFetch = require('./handleFetch-954f30e1.js');
6
6
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const cart = require('./cart-94908542.js');
3
+ const cart = require('./cart-0cf8897b.js');
4
4
  const localization = require('./localization-fb2ece37.js');
5
5
 
6
6
  const getDisplayCurrency = () => {
@@ -5,9 +5,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-b1f95d96.js');
6
6
  const localization = require('./localization-fb2ece37.js');
7
7
  const zonosStore = require('./zonosStore-0af0b937.js');
8
- const getMissingRequiredShippingFields = require('./getMissingRequiredShippingFields-124b3f20.js');
8
+ const getMissingRequiredShippingFields = require('./getMissingRequiredShippingFields-a8f04267.js');
9
9
  const classes = require('./classes-b7918f56.js');
10
- const cart = require('./cart-94908542.js');
10
+ const cart = require('./cart-0cf8897b.js');
11
11
  const RemoveIcon$1 = require('./RemoveIcon-081ac073.js');
12
12
  const containsNonLatinChars = require('./containsNonLatinChars-2be5129b.js');
13
13
  const getBorderRadius = require('./getBorderRadius-97fd5e02.js');
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
6
  const throttle = require('./throttle-366c204b.js');
7
- const cart = require('./cart-94908542.js');
7
+ const cart = require('./cart-0cf8897b.js');
8
8
  const localization = require('./localization-fb2ece37.js');
9
9
  const zonosStore = require('./zonosStore-0af0b937.js');
10
10
  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 collect = require('./collect-0c05e2b4.js');
7
- const cart = require('./cart-94908542.js');
6
+ const collect = require('./collect-79131e52.js');
7
+ const cart = require('./cart-0cf8897b.js');
8
8
  const localization = require('./localization-fb2ece37.js');
9
9
  const zonosStore = require('./zonosStore-0af0b937.js');
10
10
  const VarianceTest = require('./VarianceTest-bec00ea8.js');
@@ -6,10 +6,10 @@ const index = require('./index-b1f95d96.js');
6
6
  const zonosStore = require('./zonosStore-0af0b937.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
8
  const getBorderRadius = require('./getBorderRadius-97fd5e02.js');
9
- const cart = require('./cart-94908542.js');
9
+ const cart = require('./cart-0cf8897b.js');
10
10
  const localization = require('./localization-fb2ece37.js');
11
11
  const handleFetch = require('./handleFetch-954f30e1.js');
12
- const paypal = require('./paypal-45ca5301.js');
12
+ const paypal = require('./paypal-8ca67278.js');
13
13
  const VarianceTest = require('./VarianceTest-bec00ea8.js');
14
14
  require('./isDarkColor-a6e6fd5e.js');
15
15
  require('./TaxId-cd9d490e.js');
@@ -3,26 +3,26 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const cart = require('./cart-94908542.js');
6
+ const cart = require('./cart-0cf8897b.js');
7
7
  const localization = require('./localization-fb2ece37.js');
8
- const renderCheckoutCurrency = require('./renderCheckoutCurrency-1b0cd5f2.js');
8
+ const renderCheckoutCurrency = require('./renderCheckoutCurrency-a1f71587.js');
9
9
  const cleanHtmlMarkdown = require('./cleanHtmlMarkdown-57147de7.js');
10
10
  const classes = require('./classes-b7918f56.js');
11
11
  const zonosStore = require('./zonosStore-0af0b937.js');
12
12
  const hasInclusivePrice = require('./hasInclusivePrice-d0cd2007.js');
13
13
  const isSameHostCheckoutLink = require('./isSameHostCheckoutLink-6148cabb.js');
14
- const paypal = require('./paypal-45ca5301.js');
14
+ const paypal = require('./paypal-8ca67278.js');
15
15
  const handleFetch = require('./handleFetch-954f30e1.js');
16
16
  const createCustomEvent = require('./createCustomEvent-7b6fad95.js');
17
17
  const getBorderRadius = require('./getBorderRadius-97fd5e02.js');
18
18
  const VarianceTest = require('./VarianceTest-bec00ea8.js');
19
19
  const shouldShowLanguageSelect = require('./shouldShowLanguageSelect-82985128.js');
20
- const placeTestOrder = require('./placeTestOrder-302b6862.js');
20
+ const placeTestOrder = require('./placeTestOrder-12b63822.js');
21
21
  const isDarkColor = require('./isDarkColor-a6e6fd5e.js');
22
22
  const getContrastColor = require('./getContrastColor-956dfaf7.js');
23
23
  const isColorVariable = require('./isColorVariable-525dbfa7.js');
24
24
  const updateCheckoutSessionAttributes = require('./updateCheckoutSessionAttributes-de7b1466.js');
25
- const getMissingRequiredShippingFields = require('./getMissingRequiredShippingFields-124b3f20.js');
25
+ const getMissingRequiredShippingFields = require('./getMissingRequiredShippingFields-a8f04267.js');
26
26
  const containsNonLatinChars = require('./containsNonLatinChars-2be5129b.js');
27
27
  const shouldRenderTaxIdInput = require('./shouldRenderTaxIdInput-7d19556c.js');
28
28
  const TaxId = require('./TaxId-cd9d490e.js');
@@ -321,7 +321,14 @@ const ZonosCartSubtotal = class {
321
321
  const cartTotal = cart.cartStore.step === 'customer-info'
322
322
  ? cart.cartStore.subtotal + cart.cartStore.adjustmentTotal
323
323
  : cart.cartStore.total;
324
- const showDutyTaxesInfo = cart.cartStore.step === 'payment' || cart.cartStore.step === 'shipping';
324
+ // Order-modification payment-only sessions have no landedCost at all
325
+ // (see validateCheckoutSession) - they're paying a flat delta, not a
326
+ // shipment - so duty/tax/shipping figures here would just be
327
+ // meaningless zeros rather than real data.
328
+ const isOrderModificationPaymentOnlySession = cart.cartStoreIsOrderModificationPaymentOnlySession();
329
+ const showDutyTaxesInfo = !isOrderModificationPaymentOnlySession &&
330
+ (cart.cartStore.step === 'payment' || cart.cartStore.step === 'shipping');
331
+ const showShippingRow = !isOrderModificationPaymentOnlySession;
325
332
  // EU 3-EUR cutover (05CHECK-893): when we collect and remit taxes for an EU
326
333
  // DAP quote, taxes and fees are included while duties are paid on delivery.
327
334
  const euDapDetails = this.getEuDapDetails();
@@ -333,7 +340,12 @@ const ZonosCartSubtotal = class {
333
340
  // Store with no discount rules added in the dashboard, checkout would not display have promo code input
334
341
  !cart.cartStore.shouldHideDiscountInput &&
335
342
  // Only show promo stuff if they are past customer info session in order to get landed cost with promo adjustment
336
- cart.cartStore.step !== 'customer-info';
343
+ cart.cartStore.step !== 'customer-info' &&
344
+ // Order-modification payment-only sessions skip straight to the payment
345
+ // step with no customer-info/shipping step behind them — applying a
346
+ // promo code here would re-quote against a landed cost these sessions
347
+ // never went through, with no shipping step to return to.
348
+ !isOrderModificationPaymentOnlySession;
337
349
  const appliedPromoCode = (_e = (_d = (_c = (_b = (_a = cart.cartStore.landedCostData) === null || _a === void 0 ? void 0 : _a.find(Boolean)) === null || _b === void 0 ? void 0 : _b.landedCost.appliedAdjustments) === null || _c === void 0 ? void 0 : _c.find(x => { var _a; return ((_a = x.adjustment) === null || _a === void 0 ? void 0 : _a.source) === 'PROMO_CODE'; })) === null || _d === void 0 ? void 0 : _d.adjustment) === null || _e === void 0 ? void 0 : _e.name;
338
350
  const applyPromoCode = async () => {
339
351
  // Promo code apply button is clicked
@@ -418,12 +430,12 @@ const ZonosCartSubtotal = class {
418
430
  return (index.h(index.Host, { class: "zonos--cart-subtotal zonos--elements" }, index.h("table", { class: "zonos--cart-table" }, index.h("tr", { class: "zonos--row zonos--cart-subtotal" }, index.h("td", { class: "zonos--column" }), index.h("td", { class: "zonos--column zonos--cart-subtotal-title" }, index.h("zonos-text", { type: "semiBoldLabel" }, localization.translate('Cart subtotal')), index.h("zonos-text", { class: "zonos--caption", type: "caption" }, this.getCartSubtotalSubtitle())), index.h("td", { class: "zonos--column zonos--cart-subtotal-price" }, index.h("zonos-text", { type: "semiBoldLabel" }, renderCheckoutCurrency.renderCheckoutCurrency({
419
431
  amount: subtotal,
420
432
  isForeign: true,
421
- })))), index.h("tr", { class: "zonos--row zonos--cart-shipping" }, index.h("td", { class: "zonos--column" }), index.h("td", { class: "zonos--column zonos--cart-subtotal-title" }, renderShippingInfo()), index.h("td", { class: "zonos--column zonos--cart-subtotal-price" }, cart.cartStore.shipping
433
+ })))), showShippingRow && (index.h("tr", { class: "zonos--row zonos--cart-shipping" }, index.h("td", { class: "zonos--column" }), index.h("td", { class: "zonos--column zonos--cart-subtotal-title" }, renderShippingInfo()), index.h("td", { class: "zonos--column zonos--cart-subtotal-price" }, cart.cartStore.shipping
422
434
  ? renderCheckoutCurrency.renderCheckoutCurrency({
423
435
  amount: cart.cartStore.shipping,
424
436
  isForeign: true,
425
437
  })
426
- : '-')), showDutyTaxesInfo &&
438
+ : '-'))), showDutyTaxesInfo &&
427
439
  (euDapDetails ? (
428
440
  // EU DAP remittance: taxes and fees are collected/included, duties
429
441
  // are estimated and paid upon delivery — show them on two lines.
@@ -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-94908542.js');
7
- const paypal = require('./paypal-45ca5301.js');
6
+ const cart = require('./cart-0cf8897b.js');
7
+ const paypal = require('./paypal-8ca67278.js');
8
8
  const localization = require('./localization-fb2ece37.js');
9
9
  const zonosStore = require('./zonosStore-0af0b937.js');
10
10
  const buildCartItemsByTempCart = require('./buildCartItemsByTempCart-edddbf4b.js');
@@ -1544,6 +1544,48 @@ const ZonosCheckout = class {
1544
1544
  VarianceTest.log('Payment intent is not succeeded, proceed to order');
1545
1545
  return { shouldAllowOrder: true };
1546
1546
  };
1547
+ /**
1548
+ * Recover an order-modification payment-only session that was already
1549
+ * completed (or already paid but not yet completed) by the time this cart
1550
+ * link is opened/reopened — e.g. the shopper paid, closed the tab before
1551
+ * the async order-creation webhook finished, then reopened the same
1552
+ * payment link. Without this, re-rendering the payment form would let them
1553
+ * attempt to pay again against an already-resolved session. Mirrors
1554
+ * zonos-collect's recoverCompletedCollectSession for its own no-shipping
1555
+ * flow, minus the Airwallex branch (this checkout only supports Stripe).
1556
+ *
1557
+ * @returns `true` when it routed to the finish step, `false` when the
1558
+ * caller should proceed with a normal init.
1559
+ */
1560
+ this.recoverCompletedOrderModificationSession = async (checkoutSessionId) => {
1561
+ // getCheckoutSession() reads storageStore.checkoutSessionId internally.
1562
+ localization.storageStore.checkoutSessionId = checkoutSessionId;
1563
+ const { errors, json } = await cart.getCheckoutSession();
1564
+ if (errors.length || !json) {
1565
+ return false;
1566
+ }
1567
+ const { checkoutSession } = json;
1568
+ // Session already finalized → straight to finish. An order-mod
1569
+ // payment-only session always has `order` set *before* payment too (see
1570
+ // isOrderModificationPaymentOnlySession) - checking `order` alone would
1571
+ // treat every first-ever open as already paid, so both must be true.
1572
+ if (checkoutSession.completedAt && checkoutSession.order) {
1573
+ void this.setToFinishStep('succeeded');
1574
+ return true;
1575
+ }
1576
+ // Not completed and no order yet — verify the live payment intent status.
1577
+ if (checkoutSession.clientSecret) {
1578
+ const { status } = await cart.stripeStoreRetrievePayment({
1579
+ clientSecret: checkoutSession.clientSecret,
1580
+ });
1581
+ if (status === 'processing' || status === 'succeeded') {
1582
+ cart.stripeStore.clientSecret = checkoutSession.clientSecret;
1583
+ void this.setToFinishStep(status);
1584
+ return true;
1585
+ }
1586
+ }
1587
+ return false;
1588
+ };
1547
1589
  this.initializeTestKeys = () => {
1548
1590
  // cleanup expired test keys
1549
1591
  localization.storageStore.enabledVariantTestKeys = filterExpiredTests(localization.storageStore.enabledVariantTestKeys || []);
@@ -1891,6 +1933,7 @@ const ZonosCheckout = class {
1891
1933
  (_b = (_a = zonosStore.zonosStore.checkoutSettings).onClose) === null || _b === void 0 ? void 0 : _b.call(_a);
1892
1934
  }
1893
1935
  async buildCartAndInit() {
1936
+ var _a;
1894
1937
  // if createCartId is provided, use it to build cart. Merchant will provide create a cart from their server side and give the cart id to us.
1895
1938
  if (typeof zonosStore.zonosStore.checkoutSettings.createCartId === 'function') {
1896
1939
  VarianceTest.log('"createCartId" is provided, start building cart');
@@ -1930,6 +1973,37 @@ const ZonosCheckout = class {
1930
1973
  // if tempCartUUID is provided, use it instead of buildCartDetail
1931
1974
  else if (window.Zonos.cartData) {
1932
1975
  VarianceTest.log('tempCartUUID is provided, start building cart');
1976
+ // A cart created against an already-existing checkout session (e.g. an
1977
+ // order-modification payment request) must reuse that session instead
1978
+ // of creating a fresh one — otherwise the reused cart's order/landedCost
1979
+ // context (and, downstream, the payment-only step skip below) is lost.
1980
+ // Mirrors the same reference lookup zonos-collect/zonos-invoice already
1981
+ // do for their own cart types.
1982
+ const cartCheckoutSessionId = (_a = window.Zonos.cartData.references) === null || _a === void 0 ? void 0 : _a.checkoutSessionId;
1983
+ if (cartCheckoutSessionId) {
1984
+ VarianceTest.log('Setting checkout session id from cart reference', 'info', cartCheckoutSessionId);
1985
+ // The shopper may be reopening this same payment link after already
1986
+ // paying — e.g. they closed the tab before the async order-creation
1987
+ // webhook finished. Check the session/payment-intent status before
1988
+ // rendering the payment form again.
1989
+ const recovered = await this.recoverCompletedOrderModificationSession(cartCheckoutSessionId);
1990
+ if (recovered) {
1991
+ // Recovery routes straight to the finish step, bypassing the
1992
+ // cartStoreUpdateItems call below that would normally clear this -
1993
+ // without it, the finish screen would spin forever (dialogLoading
1994
+ // stays true while isFetchingSession is true).
1995
+ cart.stripeStore.isFetchingSession = false;
1996
+ return true;
1997
+ }
1998
+ localization.storageStore.checkoutSessionId = cartCheckoutSessionId;
1999
+ }
2000
+ else {
2001
+ // Same as zonos-collect/zonos-invoice: without this, a checkout
2002
+ // session id left over from a previous cart in this tab would leak
2003
+ // into this unrelated one.
2004
+ VarianceTest.log('Clear checkout session id from storage so we start from a fresh session for this cart');
2005
+ localization.storageStore.checkoutSessionId = null;
2006
+ }
1933
2007
  const { adjustments, cartItems } = buildCartItemsByTempCart.buildCartItemsByTempCart(window.Zonos.cartData);
1934
2008
  await cart.cartStoreUpdateItems({ adjustments, cartItems });
1935
2009
  }
@@ -1973,6 +2047,17 @@ const ZonosCheckout = class {
1973
2047
  successBehavior === 'REDIRECT_TO_SUCCESS_PAGE' ||
1974
2048
  (successBehavior === 'CLOSE_MODAL' && !!successRedirectUrl) ||
1975
2049
  !!cart.cartStore.externalConfirmationPageURL;
2050
+ // A session tied to an order that hasn't completed yet is an
2051
+ // order-modification/adjustment collection: the shopper is only paying a
2052
+ // delta against an already-approved landed cost, so the address/shipping
2053
+ // steps (which would re-quote against the synthetic delta line item
2054
+ // instead of the real shipment) are skipped in favor of jumping straight
2055
+ // to payment, same as the Collect flow does for its own cart type. Lives
2056
+ // here (rather than at each buildCartAndInit call site) so every caller
2057
+ // gets it, including the forceDialogOpen/preview init path.
2058
+ if (cart.cartStoreIsOrderModificationPaymentOnlySession()) {
2059
+ cart.cartStore.step = 'payment';
2060
+ }
1976
2061
  return true;
1977
2062
  }
1978
2063
  reloadCheckoutSession() {
@@ -2836,7 +2921,13 @@ const ZonosCheckout = class {
2836
2921
  return;
2837
2922
  }
2838
2923
  try {
2839
- await cart.stripeStoreConfirmPayment();
2924
+ // Order-modification payment-only sessions skip the shipping step,
2925
+ // so cartStore.selectedLandedCost is never populated — bypass the
2926
+ // landed-cost guard the same way zonos-collect does for its own
2927
+ // no-shipping-step flow.
2928
+ await cart.stripeStoreConfirmPayment({
2929
+ noLandedCostCheck: cart.cartStoreIsOrderModificationPaymentOnlySession(),
2930
+ });
2840
2931
  cart.cartStoreNextStep();
2841
2932
  // clear the checkout session timeout timer when purchase is complete
2842
2933
  cart.cartStoreClearCheckoutInterval();
@@ -3103,6 +3194,13 @@ const ZonosCheckout = class {
3103
3194
  cart.cartStore.step !== 'error' &&
3104
3195
  !cart.stripeStore.stripeElements) ||
3105
3196
  cart.stripeStore.isFetchingSession;
3197
+ // An order-modification/adjustment session (order attached, not yet
3198
+ // completed) skips straight to payment — see buildCartAndInit. The
3199
+ // customer-info/shipping steps never ran, so the progress tabs (which
3200
+ // track completion via cartStore.tabItems, only ever flipped by those
3201
+ // steps' own continue handlers) would otherwise show a stale, frozen
3202
+ // bar instead of reflecting that this is a single-step flow.
3203
+ const isPaymentOnlySession = cart.cartStoreIsOrderModificationPaymentOnlySession();
3106
3204
  const { colorPrimary, colorSecondary, logoUrl, style } = zonosStore.mergeConfig(zonosStore.zonosStore.appearance, this.appearanceSettingsOverride || null);
3107
3205
  const hasFooter = zonosStore.zonosStore.appearance.zonosAttribution === 'ENABLED';
3108
3206
  const rightSideTheme = zonosStore.zonosStore.appearance.theme;
@@ -3133,9 +3231,9 @@ const ZonosCheckout = class {
3133
3231
  const zonosDebug = urlParams.get('zonosDebug');
3134
3232
  const zonosE2ETest = urlParams.get('zonosE2ETest');
3135
3233
  const zonosStagingMode = this.overrideStagingMode || handleFetch.getIsStagingMode();
3136
- return (index.h("zonos-v-stack", null, index.h("div", { class: "zonos--logo-wrapper" }, renderLogo(), isTestMode && (index.h("zonos-badge", { badgeColor: "orange", size: "small" }, localization.translate('Test mode'))), zonosStagingMode && (index.h("zonos-badge", { badgeColor: "red", size: "small" }, localization.translate('Staging mode'))), zonosDebug === '1' && (index.h("zonos-badge", { badgeColor: "cyan", size: "small" }, "debug")), zonosQaUrl && (index.h("zonos-badge", { badgeColor: "purple", size: "small" }, zonosQaUrl)), zonosE2ETest && (index.h("zonos-badge", { badgeColor: "gray", size: "small" }, "E2E Test"))), index.h("zonos-checkout-progress-tabs", { backgroundColor:
3234
+ return (index.h("zonos-v-stack", null, index.h("div", { class: "zonos--logo-wrapper" }, renderLogo(), isTestMode && (index.h("zonos-badge", { badgeColor: "orange", size: "small" }, localization.translate('Test mode'))), zonosStagingMode && (index.h("zonos-badge", { badgeColor: "red", size: "small" }, localization.translate('Staging mode'))), zonosDebug === '1' && (index.h("zonos-badge", { badgeColor: "cyan", size: "small" }, "debug")), zonosQaUrl && (index.h("zonos-badge", { badgeColor: "purple", size: "small" }, zonosQaUrl)), zonosE2ETest && (index.h("zonos-badge", { badgeColor: "gray", size: "small" }, "E2E Test"))), !isPaymentOnlySession && (index.h("zonos-checkout-progress-tabs", { backgroundColor:
3137
3235
  // only use different contrast color when the secondary color is too off with the background in mobile
3138
- this.isMobile ? '--zonos-elements-gray-0' : null }), filteredMessages.map(x => (index.h("zonos-custom-message", { icon: MessageIcon, message: x.message })))));
3236
+ this.isMobile ? '--zonos-elements-gray-0' : null })), filteredMessages.map(x => (index.h("zonos-custom-message", { icon: MessageIcon, message: x.message })))));
3139
3237
  };
3140
3238
  const renderContent = () => {
3141
3239
  if (cart.cartStore.checkoutSessionTimeoutShow) {
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const cart = require('./cart-94908542.js');
6
+ const cart = require('./cart-0cf8897b.js');
7
7
  const cleanHtmlMarkdown = require('./cleanHtmlMarkdown-57147de7.js');
8
8
  const zonosStore = require('./zonosStore-0af0b937.js');
9
9
  const classes = require('./classes-b7918f56.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 collect = require('./collect-0c05e2b4.js');
7
- const cart = require('./cart-94908542.js');
8
- const paypal = require('./paypal-45ca5301.js');
6
+ const collect = require('./collect-79131e52.js');
7
+ const cart = require('./cart-0cf8897b.js');
8
+ const paypal = require('./paypal-8ca67278.js');
9
9
  const localization = require('./localization-fb2ece37.js');
10
10
  const zonosStore = require('./zonosStore-0af0b937.js');
11
11
  const handleFetch = require('./handleFetch-954f30e1.js');
@@ -15,8 +15,8 @@ const VarianceTest = require('./VarianceTest-bec00ea8.js');
15
15
  const isCollectMobileTablet = require('./isCollectMobileTablet-884d4280.js');
16
16
  const classes = require('./classes-b7918f56.js');
17
17
  const shouldShowLanguageSelect = require('./shouldShowLanguageSelect-82985128.js');
18
- const renderCheckoutCurrency = require('./renderCheckoutCurrency-1b0cd5f2.js');
19
- const placeTestOrder = require('./placeTestOrder-302b6862.js');
18
+ const renderCheckoutCurrency = require('./renderCheckoutCurrency-a1f71587.js');
19
+ const placeTestOrder = require('./placeTestOrder-12b63822.js');
20
20
  const renderFallback = require('./renderFallback-bc20ee20.js');
21
21
  require('./isDarkColor-a6e6fd5e.js');
22
22
  require('./TaxId-cd9d490e.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 collect = require('./collect-0c05e2b4.js');
7
- const cart = require('./cart-94908542.js');
8
- const paypal = require('./paypal-45ca5301.js');
6
+ const collect = require('./collect-79131e52.js');
7
+ const cart = require('./cart-0cf8897b.js');
8
+ const paypal = require('./paypal-8ca67278.js');
9
9
  const localization = require('./localization-fb2ece37.js');
10
10
  const zonosStore = require('./zonosStore-0af0b937.js');
11
11
  const buildCartItemsByTempCart = require('./buildCartItemsByTempCart-edddbf4b.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 cart = require('./cart-94908542.js');
6
+ const cart = require('./cart-0cf8897b.js');
7
7
  const localization = require('./localization-fb2ece37.js');
8
8
  const zonosStore = require('./zonosStore-0af0b937.js');
9
9
  const getGenericSettingsOverride = require('./getGenericSettingsOverride-c0ca32b9.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 cart = require('./cart-94908542.js');
6
+ const cart = require('./cart-0cf8897b.js');
7
7
  const localization = require('./localization-fb2ece37.js');
8
- const renderCheckoutCurrency = require('./renderCheckoutCurrency-1b0cd5f2.js');
8
+ const renderCheckoutCurrency = require('./renderCheckoutCurrency-a1f71587.js');
9
9
  const classes = require('./classes-b7918f56.js');
10
- const invoice = require('./invoice-205fb5bc.js');
10
+ const invoice = require('./invoice-254ae23b.js');
11
11
  const renderFallback = require('./renderFallback-bc20ee20.js');
12
12
  require('./zonosStore-0af0b937.js');
13
13
  require('./VarianceTest-bec00ea8.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-94908542.js');
7
- const paypal = require('./paypal-45ca5301.js');
6
+ const cart = require('./cart-0cf8897b.js');
7
+ const paypal = require('./paypal-8ca67278.js');
8
8
  const localization = require('./localization-fb2ece37.js');
9
9
  const zonosStore = require('./zonosStore-0af0b937.js');
10
10
  const handleFetch = require('./handleFetch-954f30e1.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 shouldShowLanguageSelect = require('./shouldShowLanguageSelect-82985128.js');
17
- const invoice = require('./invoice-205fb5bc.js');
18
- const renderCheckoutCurrency = require('./renderCheckoutCurrency-1b0cd5f2.js');
19
- const placeTestOrder = require('./placeTestOrder-302b6862.js');
17
+ const invoice = require('./invoice-254ae23b.js');
18
+ const renderCheckoutCurrency = require('./renderCheckoutCurrency-a1f71587.js');
19
+ const placeTestOrder = require('./placeTestOrder-12b63822.js');
20
20
  const renderFallback = require('./renderFallback-bc20ee20.js');
21
21
  require('./isDarkColor-a6e6fd5e.js');
22
22
  require('./TaxId-cd9d490e.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-94908542.js');
7
- const invoice = require('./invoice-205fb5bc.js');
8
- const paypal = require('./paypal-45ca5301.js');
6
+ const cart = require('./cart-0cf8897b.js');
7
+ const invoice = require('./invoice-254ae23b.js');
8
+ const paypal = require('./paypal-8ca67278.js');
9
9
  const localization = require('./localization-fb2ece37.js');
10
10
  const zonosStore = require('./zonosStore-0af0b937.js');
11
11
  const buildCartItemsByTempCart = require('./buildCartItemsByTempCart-edddbf4b.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-94908542.js');
6
+ const cart = require('./cart-0cf8897b.js');
7
7
  const localization = require('./localization-fb2ece37.js');
8
8
  const zonosStore = require('./zonosStore-0af0b937.js');
9
- const renderCheckoutCurrency = require('./renderCheckoutCurrency-1b0cd5f2.js');
9
+ const renderCheckoutCurrency = require('./renderCheckoutCurrency-a1f71587.js');
10
10
  const getBorderRadius = require('./getBorderRadius-97fd5e02.js');
11
11
  require('./VarianceTest-bec00ea8.js');
12
12
  require('./handleFetch-954f30e1.js');