@zonos/elements 1.3.128 → 1.3.130

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 (235) hide show
  1. package/dist/cjs/{CheckoutConfig-8e3cdcb3.js → CheckoutConfig-1d38a21d.js} +3 -1
  2. package/dist/cjs/{cart-3bdaf092.js → cart-d5240ba9.js} +214 -8
  3. package/dist/cjs/{getBorderRadius-61ed5601.js → getBorderRadius-f72d8edf.js} +1 -1
  4. package/dist/cjs/{handleFetch-fa0ce321.js → handleFetch-a8dfb07c.js} +1 -1
  5. package/dist/cjs/index.cjs.js +15 -9
  6. package/dist/cjs/{isDarkColor-d206c6fa.js → isDarkColor-dd6d723b.js} +1 -1
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/cjs/{paypal-2f48ab8d.js → paypal-78db30b7.js} +4 -4
  9. package/dist/cjs/zonos-address_7.cjs.entry.js +5 -5
  10. package/dist/cjs/zonos-badge.cjs.entry.js +1 -1
  11. package/dist/cjs/zonos-banner.cjs.entry.js +1 -1
  12. package/dist/cjs/zonos-button_3.cjs.entry.js +3 -3
  13. package/dist/cjs/zonos-card.cjs.entry.js +2 -2
  14. package/dist/cjs/zonos-cart-items_13.cjs.entry.js +9 -12
  15. package/dist/cjs/zonos-checkout.cjs.entry.js +86 -12
  16. package/dist/cjs/zonos-collapse.cjs.entry.js +1 -1
  17. package/dist/cjs/zonos-controller.cjs.entry.js +5 -5
  18. package/dist/cjs/zonos-country-flag.cjs.entry.js +5 -5
  19. package/dist/cjs/zonos-country-select_4.cjs.entry.js +5 -5
  20. package/dist/cjs/zonos-elements.cjs.js +1 -1
  21. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +5 -5
  22. package/dist/cjs/zonos-hello.cjs.entry.js +5 -5
  23. package/dist/cjs/zonos-input.cjs.entry.js +2 -2
  24. package/dist/cjs/zonos-language-select_2.cjs.entry.js +5 -5
  25. package/dist/cjs/zonos-logo.cjs.entry.js +1 -1
  26. package/dist/cjs/zonos-notification_3.cjs.entry.js +6 -6
  27. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +2 -2
  28. package/dist/cjs/zonos-text.cjs.entry.js +1 -1
  29. package/dist/cjs/zonos-toggle.cjs.entry.js +1 -1
  30. package/dist/cjs/zonos-v-stack.cjs.entry.js +1 -1
  31. package/dist/cjs/{zonosStore-e12d459c.js → zonosStore-293bb3ba.js} +1 -0
  32. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +3 -6
  33. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +80 -4
  34. package/dist/collection/components/store/checkout/stripe.js +17 -2
  35. package/dist/collection/components/store/translationStore/strings.arabic.js +9 -0
  36. package/dist/collection/components/store/translationStore/strings.base.js +9 -0
  37. package/dist/collection/components/store/translationStore/strings.chinese.js +9 -0
  38. package/dist/collection/components/store/translationStore/strings.danish.js +9 -0
  39. package/dist/collection/components/store/translationStore/strings.dutch.js +9 -0
  40. package/dist/collection/components/store/translationStore/strings.french.js +9 -0
  41. package/dist/collection/components/store/translationStore/strings.german.js +9 -0
  42. package/dist/collection/components/store/translationStore/strings.hebrew.js +9 -0
  43. package/dist/collection/components/store/translationStore/strings.indonesian.js +9 -0
  44. package/dist/collection/components/store/translationStore/strings.italian.js +9 -0
  45. package/dist/collection/components/store/translationStore/strings.japanese.js +9 -0
  46. package/dist/collection/components/store/translationStore/strings.korean.js +9 -0
  47. package/dist/collection/components/store/translationStore/strings.norwegian.js +9 -0
  48. package/dist/collection/components/store/translationStore/strings.polish.js +9 -0
  49. package/dist/collection/components/store/translationStore/strings.portuguese.js +9 -0
  50. package/dist/collection/components/store/translationStore/strings.russian.js +9 -0
  51. package/dist/collection/components/store/translationStore/strings.spanish.js +9 -0
  52. package/dist/collection/components/store/translationStore/strings.swedish.js +9 -0
  53. package/dist/collection/components/store/translationStore/strings.turkish.js +9 -0
  54. package/dist/collection/components/store/translationStore/strings.vietnamese.js +9 -0
  55. package/dist/collection/components/store/zonosStore.js +1 -0
  56. package/dist/collection/components/utils/api/prepCalculateLandedCost.js +13 -2
  57. package/dist/collection/components/utils/checkout/watchBigcommerceDomesticCheckout.js +0 -1
  58. package/dist/collection/components/utils/logging/sendErrorLog.js +1 -1
  59. package/dist/collection/scripts/_zonosBase.js +6 -0
  60. package/dist/collection/scripts/cart/_setupCartData.js +2 -0
  61. package/dist/collection/types/generated/graphql.frontend.types.js +5 -0
  62. package/dist/collection/types/generated/graphql.internal.types.js +39 -0
  63. package/dist/esm/{CheckoutConfig-101b97e6.js → CheckoutConfig-56c63bdf.js} +3 -1
  64. package/dist/esm/{cart-519f08e3.js → cart-4f1ee6dd.js} +214 -8
  65. package/dist/esm/{getBorderRadius-008516a4.js → getBorderRadius-bdd709e7.js} +1 -1
  66. package/dist/esm/{handleFetch-da1a9c5d.js → handleFetch-40fc3562.js} +1 -1
  67. package/dist/esm/index.js +16 -10
  68. package/dist/esm/{isDarkColor-dc08fa26.js → isDarkColor-c6924924.js} +1 -1
  69. package/dist/esm/loader.js +1 -1
  70. package/dist/esm/{paypal-d0a05eda.js → paypal-5b1964b6.js} +4 -4
  71. package/dist/esm/zonos-address_7.entry.js +5 -5
  72. package/dist/esm/zonos-badge.entry.js +1 -1
  73. package/dist/esm/zonos-banner.entry.js +1 -1
  74. package/dist/esm/zonos-button_3.entry.js +3 -3
  75. package/dist/esm/zonos-card.entry.js +2 -2
  76. package/dist/esm/zonos-cart-items_13.entry.js +9 -12
  77. package/dist/esm/zonos-checkout.entry.js +87 -13
  78. package/dist/esm/zonos-collapse.entry.js +1 -1
  79. package/dist/esm/zonos-controller.entry.js +5 -5
  80. package/dist/esm/zonos-country-flag.entry.js +5 -5
  81. package/dist/esm/zonos-country-select_4.entry.js +5 -5
  82. package/dist/esm/zonos-elements.js +1 -1
  83. package/dist/esm/zonos-hello-dialog.entry.js +5 -5
  84. package/dist/esm/zonos-hello.entry.js +5 -5
  85. package/dist/esm/zonos-input.entry.js +2 -2
  86. package/dist/esm/zonos-language-select_2.entry.js +5 -5
  87. package/dist/esm/zonos-logo.entry.js +1 -1
  88. package/dist/esm/zonos-notification_3.entry.js +6 -6
  89. package/dist/esm/zonos-shipping-rich-radio.entry.js +2 -2
  90. package/dist/esm/zonos-text.entry.js +1 -1
  91. package/dist/esm/zonos-toggle.entry.js +1 -1
  92. package/dist/esm/zonos-v-stack.entry.js +1 -1
  93. package/dist/esm/{zonosStore-6b5bd87c.js → zonosStore-c493c4fe.js} +1 -0
  94. package/dist/esm-es5/{CheckoutConfig-101b97e6.js → CheckoutConfig-56c63bdf.js} +1 -1
  95. package/dist/esm-es5/cart-4f1ee6dd.js +1 -0
  96. package/dist/esm-es5/{getBorderRadius-008516a4.js → getBorderRadius-bdd709e7.js} +1 -1
  97. package/dist/esm-es5/handleFetch-40fc3562.js +1 -0
  98. package/dist/esm-es5/index.js +1 -1
  99. package/dist/esm-es5/{isDarkColor-dc08fa26.js → isDarkColor-c6924924.js} +1 -1
  100. package/dist/esm-es5/loader.js +1 -1
  101. package/dist/esm-es5/{paypal-d0a05eda.js → paypal-5b1964b6.js} +1 -1
  102. package/dist/esm-es5/zonos-address_7.entry.js +1 -1
  103. package/dist/esm-es5/zonos-badge.entry.js +1 -1
  104. package/dist/esm-es5/zonos-banner.entry.js +1 -1
  105. package/dist/esm-es5/zonos-button_3.entry.js +1 -1
  106. package/dist/esm-es5/zonos-card.entry.js +1 -1
  107. package/dist/esm-es5/zonos-cart-items_13.entry.js +1 -1
  108. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  109. package/dist/esm-es5/zonos-collapse.entry.js +1 -1
  110. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  111. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  112. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  113. package/dist/esm-es5/zonos-elements.js +1 -1
  114. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  115. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  116. package/dist/esm-es5/zonos-input.entry.js +1 -1
  117. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  118. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  119. package/dist/esm-es5/zonos-notification_3.entry.js +1 -1
  120. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
  121. package/dist/esm-es5/zonos-text.entry.js +1 -1
  122. package/dist/esm-es5/zonos-toggle.entry.js +1 -1
  123. package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
  124. package/dist/esm-es5/{zonosStore-6b5bd87c.js → zonosStore-c493c4fe.js} +1 -1
  125. package/dist/scripts/index.d.ts +13 -0
  126. package/dist/scripts/index.js +1 -1
  127. package/dist/scripts/loadZonos.js +1 -1
  128. package/dist/scripts/zonos.js +1 -1
  129. package/dist/types/components/checkout/zonos-checkout/zonos-checkout.d.ts +9 -0
  130. package/dist/types/components/store/checkout/stripe.d.ts +1 -0
  131. package/dist/types/components/store/translationStore/strings.arabic.d.ts +9 -0
  132. package/dist/types/components/store/translationStore/strings.base.d.ts +9 -0
  133. package/dist/types/components/store/translationStore/strings.chinese.d.ts +9 -0
  134. package/dist/types/components/store/translationStore/strings.danish.d.ts +9 -0
  135. package/dist/types/components/store/translationStore/strings.dutch.d.ts +9 -0
  136. package/dist/types/components/store/translationStore/strings.french.d.ts +9 -0
  137. package/dist/types/components/store/translationStore/strings.german.d.ts +9 -0
  138. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +9 -0
  139. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +9 -0
  140. package/dist/types/components/store/translationStore/strings.italian.d.ts +9 -0
  141. package/dist/types/components/store/translationStore/strings.japanese.d.ts +9 -0
  142. package/dist/types/components/store/translationStore/strings.korean.d.ts +9 -0
  143. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +9 -0
  144. package/dist/types/components/store/translationStore/strings.polish.d.ts +9 -0
  145. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +9 -0
  146. package/dist/types/components/store/translationStore/strings.russian.d.ts +9 -0
  147. package/dist/types/components/store/translationStore/strings.spanish.d.ts +9 -0
  148. package/dist/types/components/store/translationStore/strings.swedish.d.ts +9 -0
  149. package/dist/types/components/store/translationStore/strings.turkish.d.ts +9 -0
  150. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +9 -0
  151. package/dist/types/components/store/translationStore.d.ts +1 -1
  152. package/dist/types/components/utils/api/getLocaleMessages.d.ts +1 -1
  153. package/dist/types/scripts/_zonosBase.d.ts +2 -0
  154. package/dist/types/types/checkout/CheckoutConfig.d.ts +5 -0
  155. package/dist/types/types/checkout/api/CalculateLandedCost.d.ts +9 -0
  156. package/dist/types/types/checkout/api/NormalizedTempCart.d.ts +1 -0
  157. package/dist/types/types/generated/graphql.frontend.types.d.ts +24 -1
  158. package/dist/types/types/generated/graphql.frontend.types.ts +34 -1
  159. package/dist/types/types/generated/graphql.internal.types.d.ts +45 -0
  160. package/dist/types/types/generated/graphql.internal.types.ts +58 -0
  161. package/dist/zonos-elements/assets/RemoveIcon.svg +1 -1
  162. package/dist/zonos-elements/index.esm.js +1 -1
  163. package/dist/zonos-elements/p-0531689a.system.entry.js +1 -0
  164. package/dist/zonos-elements/{p-1e4d8228.entry.js → p-0cf44851.entry.js} +1 -1
  165. package/dist/zonos-elements/{p-57d93236.entry.js → p-0cfab69e.entry.js} +1 -1
  166. package/dist/zonos-elements/p-0cfb97ae.js +1 -0
  167. package/dist/zonos-elements/{p-5ac777a7.system.entry.js → p-0fc96872.system.entry.js} +1 -1
  168. package/dist/zonos-elements/{p-3dbfe639.entry.js → p-10cebad7.entry.js} +1 -1
  169. package/dist/zonos-elements/{p-e1ce04b1.js → p-10d6fe23.js} +1 -1
  170. package/dist/zonos-elements/{p-00dc1507.system.js → p-10efff62.system.js} +1 -1
  171. package/dist/zonos-elements/{p-ea8663b7.entry.js → p-124a4a50.entry.js} +1 -1
  172. package/dist/zonos-elements/{p-abbfde44.system.js → p-14022fab.system.js} +1 -1
  173. package/dist/zonos-elements/{p-e2cda105.system.entry.js → p-19944a13.system.entry.js} +1 -1
  174. package/dist/zonos-elements/{p-f50f48da.entry.js → p-1a6e9eec.entry.js} +1 -1
  175. package/dist/zonos-elements/{p-8ca3b73a.entry.js → p-1da0c1cb.entry.js} +1 -1
  176. package/dist/zonos-elements/{p-ff0a79e6.system.entry.js → p-22458c90.system.entry.js} +1 -1
  177. package/dist/zonos-elements/p-2b29a3ac.system.js +1 -0
  178. package/dist/zonos-elements/{p-76d03238.entry.js → p-30d6e78c.entry.js} +1 -1
  179. package/dist/zonos-elements/{p-4fee6e7f.system.entry.js → p-320e7cb9.system.entry.js} +1 -1
  180. package/dist/zonos-elements/{p-0bc813a9.system.entry.js → p-3a89fb48.system.entry.js} +1 -1
  181. package/dist/zonos-elements/{p-4cd1e79c.system.entry.js → p-3cfa90d1.system.entry.js} +1 -1
  182. package/dist/zonos-elements/{p-8df3d5d0.system.entry.js → p-3e4b11ed.system.entry.js} +1 -1
  183. package/dist/zonos-elements/{p-6c047faf.system.entry.js → p-3efbcf88.system.entry.js} +1 -1
  184. package/dist/zonos-elements/p-3f40806c.entry.js +1 -0
  185. package/dist/zonos-elements/{p-d9dceba1.system.js → p-40596087.system.js} +1 -1
  186. package/dist/zonos-elements/{p-c3e98be6.system.js → p-46a5ec52.system.js} +1 -1
  187. package/dist/zonos-elements/p-49fff22c.js +1 -0
  188. package/dist/zonos-elements/{p-970527fe.entry.js → p-5b90dd6d.entry.js} +1 -1
  189. package/dist/zonos-elements/{p-0cb426b8.entry.js → p-5cd970b9.entry.js} +1 -1
  190. package/dist/zonos-elements/p-6305e92c.system.js +1 -0
  191. package/dist/zonos-elements/{p-3b5f49f6.system.entry.js → p-68cfdd01.system.entry.js} +1 -1
  192. package/dist/zonos-elements/{p-2906956b.entry.js → p-6b00344a.entry.js} +1 -1
  193. package/dist/zonos-elements/p-6b6cd6c3.system.js +1 -0
  194. package/dist/zonos-elements/{p-2db962f9.system.entry.js → p-72c682ac.system.entry.js} +1 -1
  195. package/dist/zonos-elements/{p-f962fc6a.system.entry.js → p-7af3b735.system.entry.js} +1 -1
  196. package/dist/zonos-elements/{p-00ff4f4a.js → p-7d3a63c5.js} +2 -2
  197. package/dist/zonos-elements/{p-723c9d4d.entry.js → p-7fa88e0a.entry.js} +1 -1
  198. package/dist/zonos-elements/{p-167b7fa8.system.entry.js → p-876ded0e.system.entry.js} +1 -1
  199. package/dist/zonos-elements/{p-9833f37d.system.entry.js → p-87945d75.system.entry.js} +1 -1
  200. package/dist/zonos-elements/{p-6de5611e.entry.js → p-92fbf9e6.entry.js} +1 -1
  201. package/dist/zonos-elements/p-942a0605.js +1 -0
  202. package/dist/zonos-elements/{p-eca920dc.system.entry.js → p-9cb6599d.system.entry.js} +1 -1
  203. package/dist/zonos-elements/p-a1c26abb.system.entry.js +1 -0
  204. package/dist/zonos-elements/{p-d6f1b6fa.system.entry.js → p-a277cde0.system.entry.js} +1 -1
  205. package/dist/zonos-elements/p-a49ac35e.entry.js +1 -0
  206. package/dist/zonos-elements/{p-bf2f9095.entry.js → p-a50ebda1.entry.js} +1 -1
  207. package/dist/zonos-elements/{p-c562de4a.entry.js → p-bc8b22ad.entry.js} +1 -1
  208. package/dist/zonos-elements/{p-8b3d9796.system.entry.js → p-c39dc3e9.system.entry.js} +1 -1
  209. package/dist/zonos-elements/p-c78dd680.system.js +1 -1
  210. package/dist/zonos-elements/{p-67a32cc5.js → p-d10ffd69.js} +1 -1
  211. package/dist/zonos-elements/{p-0c6a933c.entry.js → p-d963d9d4.entry.js} +1 -1
  212. package/dist/zonos-elements/{p-5610934b.entry.js → p-db5e0d2b.entry.js} +1 -1
  213. package/dist/zonos-elements/{p-7c7feadb.system.entry.js → p-dc09df19.system.entry.js} +1 -1
  214. package/dist/zonos-elements/{p-efffbaec.entry.js → p-dc823080.entry.js} +1 -1
  215. package/dist/zonos-elements/{p-e6fad32a.system.entry.js → p-e205ef1c.system.entry.js} +1 -1
  216. package/dist/zonos-elements/{p-6b0a8709.system.entry.js → p-e5f27005.system.entry.js} +1 -1
  217. package/dist/zonos-elements/{p-91cfbf46.js → p-edc16f69.js} +1 -1
  218. package/dist/zonos-elements/{p-798d715c.entry.js → p-fb6cf324.entry.js} +1 -1
  219. package/dist/zonos-elements/{p-a372a9a0.entry.js → p-fce202ab.entry.js} +1 -1
  220. package/dist/zonos-elements/p-fd05d150.system.js +1 -0
  221. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  222. package/package.json +1 -1
  223. package/dist/esm-es5/cart-519f08e3.js +0 -1
  224. package/dist/esm-es5/handleFetch-da1a9c5d.js +0 -1
  225. package/dist/zonos-elements/p-0fa85ff9.system.js +0 -1
  226. package/dist/zonos-elements/p-2402e12c.js +0 -1
  227. package/dist/zonos-elements/p-61380d53.system.entry.js +0 -1
  228. package/dist/zonos-elements/p-685e395e.entry.js +0 -1
  229. package/dist/zonos-elements/p-7769b60c.js +0 -1
  230. package/dist/zonos-elements/p-a3b195e9.js +0 -1
  231. package/dist/zonos-elements/p-a7eaa9ad.entry.js +0 -1
  232. package/dist/zonos-elements/p-bc9987f2.system.entry.js +0 -1
  233. package/dist/zonos-elements/p-c85b4e43.system.js +0 -1
  234. package/dist/zonos-elements/p-dcd4e458.system.js +0 -1
  235. package/dist/zonos-elements/p-f7d56ce5.system.js +0 -1
@@ -19,7 +19,7 @@ var patchBrowser = () => {
19
19
 
20
20
  patchBrowser().then(async (options) => {
21
21
  await appGlobals.globalScripts();
22
- return index.bootstrapLazy(JSON.parse("[[\"zonos-checkout.cjs\",[[2,\"zonos-checkout\",{\"appearanceSettingsOverride\":[16],\"preview\":[4],\"mobile\":[4],\"defaultAddress\":[16],\"forceDialogOpen\":[4,\"force-dialog-open\"],\"open\":[32],\"stripe\":[32],\"submitLoading\":[32],\"collapseReviewMobile\":[32],\"isAttachError\":[32],\"isMobile\":[32],\"isIframed\":[32],\"zonosReviewRef\":[32],\"storybookPaymentStatusOverride\":[32],\"isLegacyCheckout\":[32],\"confirmDialogOpen\":[32],\"inventoryCheckErrorMessage\":[32],\"placedOrderInfo\":[32],\"closeDialogHandler\":[64],\"init\":[64],\"setToFinishStep\":[64],\"mockCheckoutSession\":[64]},[[16,\"zonos--init-cart-info\",\"initCartInfoHandler\"],[4,\"keydown\",\"handleKeyPress\"],[9,\"resize\",\"handleWindowResize\"]],{\"appearanceSettingsOverride\":[\"appearanceSettingsOverrideChanged\",\"handleAppearanceSettingsOverrideChange\"],\"mobile\":[\"handleMobileChange\"],\"defaultAddress\":[\"handleAddressChange\"]}]]],[\"zonos-hello.cjs\",[[1,\"zonos-hello\",{\"mobileLocationOverride\":[1,\"mobile-location-override\"],\"animateFromLeftOverride\":[4,\"animate-from-left-override\"],\"appearanceSettingsOverride\":[16],\"showPeekMessage\":[32],\"zonosStoreHelloSettings\":[32],\"showDialog\":[32],\"peekMessage\":[32],\"initialUrl\":[32],\"allRestrictedItems\":[32],\"allFoundProducts\":[32],\"productsOnPage\":[32],\"isHelloWidgetRendered\":[32],\"isMobile\":[32],\"getCountryList\":[64],\"displayCurrency\":[64],\"convertAndFormat\":[64],\"convert\":[64],\"format\":[64],\"openHelloDialog\":[64]},[[9,\"resize\",\"handleResize\"]],{\"appearanceSettingsOverride\":[\"handleAppearanceSettingsOverrideChange\"]}]]],[\"zonos-controller.cjs\",[[1,\"zonos-controller\",{\"config\":[16],\"zonosApiKey\":[1,\"zonos-api-key\"],\"initCheckoutElement\":[64],\"setupGoogleFont\":[64],\"showNotification\":[64],\"reset\":[64],\"overrideConfig\":[64],\"overrideCountry\":[64],\"getAppearanceSetting\":[64],\"updateOrganizationName\":[64]},[[8,\"locationchange\",\"handleLocationChange\"]]]]],[\"zonos-tooltip.cjs\",[[1,\"zonos-tooltip\",{\"label\":[1],\"subtitle\":[1],\"showTooltip\":[32]}]]],[\"zonos-component.cjs\",[[1,\"zonos-component\",{\"first\":[1],\"middle\":[1],\"last\":[1]}]]],[\"zonos-link.cjs\",[[1,\"zonos-link\",{\"href\":[1],\"rel\":[1],\"target\":[1],\"linkTitle\":[1,\"link-title\"]}]]],[\"zonos-logo.cjs\",[[1,\"zonos-logo\",{\"theme\":[1],\"width\":[1]}]]],[\"zonos-hello-dialog.cjs\",[[1,\"zonos-hello-dialog\",{\"isOpen\":[4,\"is-open\"],\"setIsOpen\":[16],\"mobileLocationOverride\":[1,\"mobile-location-override\"],\"animateFromLeftOverride\":[4,\"animate-from-left-override\"],\"appearanceSettings\":[16],\"restrictedItems\":[16],\"welcomeMessage\":[32],\"showCountrySelect\":[32],\"showLanguageSelect\":[32]},[[4,\"click\",\"globalClickHandler\"]],{\"isOpen\":[\"isOpenHandler\"]}]]],[\"zonos-badge.cjs\",[[1,\"zonos-badge\",{\"bold\":[4],\"badgeColor\":[1,\"badge-color\"],\"icon\":[16],\"iconRight\":[4,\"icon-right\"],\"size\":[1],\"rounded\":[4],\"loading\":[4],\"dismissHandler\":[16]}]]],[\"zonos-shipping-rich-radio.cjs\",[[1,\"zonos-shipping-rich-radio\",{\"items\":[16],\"borderColor\":[1,\"border-color\"],\"borderStyle\":[1,\"border-style\"],\"theme\":[1],\"selectedItem\":[16]}]]],[\"zonos-toggle.cjs\",[[1,\"zonos-toggle\",{\"options\":[16],\"value\":[1]}]]],[\"zonos-collapse.cjs\",[[1,\"zonos-collapse\",{\"collapsed\":[4],\"collapseSize\":[2,\"collapse-size\"],\"height\":[32],\"iframe\":[32]}]]],[\"zonos-card.cjs\",[[1,\"zonos-card\",{\"actions\":[16],\"backgroundColor\":[1,\"background-color\"],\"borderRadius\":[2,\"border-radius\"],\"footerActions\":[16],\"footerContent\":[16],\"footerHeight\":[2,\"footer-height\"],\"label\":[16],\"spacing\":[1]}]]],[\"zonos-input.cjs\",[[1,\"zonos-input\",{\"inputValue\":[1,\"input-value\"],\"inputLabel\":[1,\"input-label\"],\"inputSize\":[1,\"input-size\"],\"isDisabled\":[4,\"is-disabled\"],\"isError\":[4,\"is-error\"],\"inputPlaceholder\":[1,\"input-placeholder\"],\"value\":[32]},null,{\"inputValue\":[\"onInputValueChange\"]}]]],[\"zonos-notification_3.cjs\",[[2,\"zonos-payment\",{\"titleText\":[1,\"title-text\"],\"stripe\":[32],\"stripeElements\":[32]},null,{\"stripeElements\":[\"watchInitStripe\"],\"stripe\":[\"watchInitStripe\"]}],[2,\"zonos-paypal-payment\"],[1,\"zonos-notification\",{\"notificationArray\":[32],\"showNotification\":[64]}]]],[\"zonos-banner.cjs\",[[1,\"zonos-banner\",{\"bannerTitle\":[1,\"banner-title\"],\"intent\":[1],\"hasContent\":[32]}]]],[\"zonos-country-flag.cjs\",[[1,\"zonos-country-flag\",{\"countryCode\":[1,\"country-code\"],\"size\":[2]}]]],[\"zonos-v-stack.cjs\",[[1,\"zonos-v-stack\",{\"spacing\":[2]}]]],[\"zonos-text.cjs\",[[1,\"zonos-text\",{\"textColor\":[1,\"text-color\"],\"size\":[1],\"type\":[1],\"weight\":[2],\"ready\":[32]}]]],[\"zonos-button_3.cjs\",[[17,\"zonos-button\",{\"buttonColor\":[1,\"button-color\"],\"backgroundColor\":[1,\"background-color\"],\"borderStyle\":[1,\"border-style\"],\"isDisabled\":[4,\"is-disabled\"],\"icon\":[16],\"iconRight\":[4,\"icon-right\"],\"size\":[1],\"variant\":[1],\"noBackground\":[4,\"no-background\"],\"withBoxShadow\":[4,\"with-box-shadow\"],\"noPaddingLeft\":[4,\"no-padding-left\"],\"noPaddingRight\":[4,\"no-padding-right\"],\"loading\":[4],\"justifyContent\":[1,\"justify-content\"],\"theme\":[1],\"hasIcon\":[32],\"hasContent\":[32]},[[2,\"click\",\"clickHandler\"]],{\"icon\":[\"iconChangeHandler\"]}],[1,\"zonos-spinner\",{\"size\":[2],\"spinnerColor\":[1,\"spinner-color\"]}],[1,\"zonos-icon\",{\"autoHeight\":[4,\"auto-height\"],\"iconColor\":[1,\"icon-color\"],\"content\":[1],\"size\":[2]}]]],[\"zonos-language-select_2.cjs\",[[1,\"zonos-language-select\",{\"handleOnClose\":[16]}],[1,\"zonos-select-dialog-header\",{\"handleOnClose\":[16],\"label\":[1]}]]],[\"zonos-country-select_4.cjs\",[[1,\"zonos-country-select\",{\"handleOnClose\":[16],\"inputValue\":[32]}],[1,\"zonos-hello-dialog-footer\",{\"appearanceSettings\":[16],\"setShowCountrySelect\":[16],\"setShowLanguageSelect\":[16]}],[1,\"zonos-custom-message\",{\"icon\":[1],\"message\":[1]}],[2,\"zonos-virtual-scroll\",{\"renderItem\":[16],\"itemWidth\":[2,\"item-width\"],\"fallbackItemHeight\":[2,\"fallback-item-height\"],\"itemHeights\":[16],\"container\":[32],\"scrollTop\":[32],\"totalHeight\":[32]},null,{\"itemHeights\":[\"updateTotalHeight\"],\"fallbackItemHeight\":[\"updateTotalHeight\"]}]]],[\"zonos-address_7.cjs\",[[1,\"zonos-address-update-dialog\",{\"continueLoading\":[4,\"continue-loading\"],\"dialogLoading\":[4,\"dialog-loading\"],\"dialogOpen\":[4,\"dialog-open\"],\"submitBtnType\":[1,\"submit-btn-type\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"isMobile\":[4,\"is-mobile\"],\"shippingAddress\":[16],\"billingAddress\":[16],\"translatedShippingAddress\":[16],\"translatedBillingAddress\":[16],\"showErrorBanner\":[32],\"translatedShippingAddressState\":[32],\"translatedBillingAddressState\":[32]},null,{\"translatedShippingAddress\":[\"watchTranslatedShippingAddress\"],\"translatedBillingAddress\":[\"watchTranslatedBillingAddress\"]}],[2,\"zonos-address\",{\"type\":[1],\"titleText\":[1,\"title-text\"],\"defaultAddress\":[16],\"stripe\":[32],\"isDirtyAddress\":[32]},null,{\"stripe\":[\"watchInitStripe\"]}],[1,\"zonos-checkbox\",{\"backgroundColor\":[1,\"background-color\"],\"label\":[1],\"isChecked\":[4,\"is-checked\"],\"isDisabled\":[4,\"is-disabled\"],\"size\":[2],\"fontSize\":[1,\"font-size\"],\"borderStyle\":[1,\"border-style\"]},[[1,\"click\",\"onClick\"]]],[2,\"zonos-link-authentication\",{\"titleText\":[1,\"title-text\"],\"defaultEmail\":[1,\"default-email\"],\"isEmailError\":[4,\"is-email-error\"],\"stripe\":[32]},null,{\"stripe\":[\"watchInitStripe\"]}],[1,\"zonos-dialog\",{\"open\":[4],\"headerText\":[1,\"header-text\"],\"width\":[1],\"height\":[1],\"minHeight\":[1,\"min-height\"],\"noHeader\":[4,\"no-header\"],\"noBodyPadding\":[4,\"no-body-padding\"],\"noBorder\":[4,\"no-border\"],\"borderStyle\":[1,\"border-style\"],\"noCloseButton\":[4,\"no-close-button\"],\"noClickOutside\":[4,\"no-click-outside\"],\"mobile\":[4],\"isLoading\":[4,\"is-loading\"],\"isMobile\":[32]},[[9,\"resize\",\"handleWindowResize\"],[4,\"keydown\",\"handleKeyDown\"]]],[1,\"zonos-address-display\",{\"currentAddress\":[16],\"addressType\":[1,\"address-type\"]}],[1,\"zonos-address-form\",{\"currentAddress\":[16],\"translatedAddress\":[16],\"addressType\":[1,\"address-type\"],\"localAddress\":[32]},null,{\"translatedAddress\":[\"watchCurrentAddress\"]}]]],[\"zonos-cart-items_13.cjs\",[[2,\"zonos-customer-info\",{\"continueLoading\":[4,\"continue-loading\"],\"submitBtnType\":[1,\"submit-btn-type\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"isMobile\":[4,\"is-mobile\"],\"defaultAddress\":[16],\"showErrorBanner\":[32],\"shippingCountry\":[32],\"isCheckingForRestrictedItems\":[32],\"isValidatingAddress\":[32],\"invalidShippingCharacterList\":[32],\"invalidBillingCharacterList\":[32],\"openAddressValidationDialog\":[32],\"isEmailError\":[32]}],[2,\"zonos-checkout-payment\",{\"submitBtnType\":[1,\"submit-btn-type\"],\"continueLoading\":[4,\"continue-loading\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"showErrorBanner\":[32]}],[1,\"zonos-checkout-footer\",{\"mobile\":[4],\"dataTheme\":[1,\"data-theme\"],\"showLanguageDialog\":[32],\"isMobile\":[32]},[[4,\"click\",\"handleGlobalClick\"]],{\"mobile\":[\"handleMobileChange\"]}],[2,\"zonos-shipping\",{\"continueLoading\":[4,\"continue-loading\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"submitBtnType\":[1,\"submit-btn-type\"],\"selectedShippingMethod\":[32],\"collapsedDAPOptions\":[32],\"isSelecting\":[32],\"showErrorBanner\":[32],\"serviceLevelsDDP\":[32],\"serviceLevelsDAP\":[32],\"serviceLevelsOther\":[32],\"serviceLevelsAll\":[32],\"displayBaseCurrency\":[32]}],[1,\"zonos-cart-subtotal\",{\"submitBtnType\":[1,\"submit-btn-type\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"loading\":[32]}],[1,\"zonos-cart-restricted-items\",{\"hide\":[4],\"errorImages\":[32],\"internalCollapsed\":[32],\"firstRender\":[32]}],[1,\"zonos-checkout-finish\",{\"borderRadius\":[1,\"border-radius\"],\"storybookForceStatus\":[1,\"storybook-force-status\"],\"overrideNotification\":[16],\"isLoading\":[32],\"notificationType\":[32],\"notificationTitle\":[32],\"notificationMessages\":[32],\"notificationActionText\":[32],\"order\":[32]}],[1,\"zonos-confirm-dialog\",{\"dialogTitle\":[1,\"dialog-title\"],\"dialogIntent\":[1,\"dialog-intent\"],\"dialogSubtitle\":[1,\"dialog-subtitle\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"dialogConfirmBtnText\":[1,\"dialog-confirm-btn-text\"],\"dialogWidth\":[2,\"dialog-width\"],\"dialogCancelBtnText\":[1,\"dialog-cancel-btn-text\"],\"dialogType\":[1,\"dialog-type\"],\"isMobile\":[4,\"is-mobile\"],\"dialogOpen\":[4,\"dialog-open\"],\"noClickOutside\":[4,\"no-click-outside\"]},[[4,\"keydown\",\"handleKeyDown\"]]],[1,\"zonos-checkout-progress-tabs\",{\"tabColor\":[1,\"tab-color\"],\"backgroundColor\":[1,\"background-color\"],\"setTabItems\":[64],\"setTabSelected\":[64]}],[1,\"zonos-review\",{\"mobile\":[4],\"collapsed\":[4],\"isMobile\":[32]},[[9,\"resize\",\"handleWindowResize\"]]],[1,\"zonos-cart-items\",{\"errorImages\":[32]}],[1,\"zonos-currency-toggle\",{\"errorImages\":[32]}],[1,\"zonos-rest-state\",{\"restStateSubtitle\":[1,\"rest-state-subtitle\"],\"restStateTitle\":[1,\"rest-state-title\"],\"restStateType\":[1,\"rest-state-type\"],\"isErrorImageLoad\":[32]}]]]]"), options);
22
+ return index.bootstrapLazy(JSON.parse("[[\"zonos-checkout.cjs\",[[2,\"zonos-checkout\",{\"appearanceSettingsOverride\":[16],\"preview\":[4],\"mobile\":[4],\"defaultAddress\":[16],\"forceDialogOpen\":[4,\"force-dialog-open\"],\"open\":[32],\"stripe\":[32],\"submitLoading\":[32],\"collapseReviewMobile\":[32],\"isAttachError\":[32],\"isMobile\":[32],\"isIframed\":[32],\"zonosReviewRef\":[32],\"storybookPaymentStatusOverride\":[32],\"isLegacyCheckout\":[32],\"confirmDialogOpen\":[32],\"isCartExpired\":[32],\"inventoryCheckErrorMessage\":[32],\"placedOrderInfo\":[32],\"closeDialogHandler\":[64],\"init\":[64],\"setToFinishStep\":[64],\"mockCheckoutSession\":[64]},[[16,\"zonos--init-cart-info\",\"initCartInfoHandler\"],[4,\"keydown\",\"handleKeyPress\"],[9,\"resize\",\"handleWindowResize\"]],{\"appearanceSettingsOverride\":[\"appearanceSettingsOverrideChanged\",\"handleAppearanceSettingsOverrideChange\"],\"mobile\":[\"handleMobileChange\"],\"defaultAddress\":[\"handleAddressChange\"]}]]],[\"zonos-hello.cjs\",[[1,\"zonos-hello\",{\"mobileLocationOverride\":[1,\"mobile-location-override\"],\"animateFromLeftOverride\":[4,\"animate-from-left-override\"],\"appearanceSettingsOverride\":[16],\"showPeekMessage\":[32],\"zonosStoreHelloSettings\":[32],\"showDialog\":[32],\"peekMessage\":[32],\"initialUrl\":[32],\"allRestrictedItems\":[32],\"allFoundProducts\":[32],\"productsOnPage\":[32],\"isHelloWidgetRendered\":[32],\"isMobile\":[32],\"getCountryList\":[64],\"displayCurrency\":[64],\"convertAndFormat\":[64],\"convert\":[64],\"format\":[64],\"openHelloDialog\":[64]},[[9,\"resize\",\"handleResize\"]],{\"appearanceSettingsOverride\":[\"handleAppearanceSettingsOverrideChange\"]}]]],[\"zonos-controller.cjs\",[[1,\"zonos-controller\",{\"config\":[16],\"zonosApiKey\":[1,\"zonos-api-key\"],\"initCheckoutElement\":[64],\"setupGoogleFont\":[64],\"showNotification\":[64],\"reset\":[64],\"overrideConfig\":[64],\"overrideCountry\":[64],\"getAppearanceSetting\":[64],\"updateOrganizationName\":[64]},[[8,\"locationchange\",\"handleLocationChange\"]]]]],[\"zonos-tooltip.cjs\",[[1,\"zonos-tooltip\",{\"label\":[1],\"subtitle\":[1],\"showTooltip\":[32]}]]],[\"zonos-component.cjs\",[[1,\"zonos-component\",{\"first\":[1],\"middle\":[1],\"last\":[1]}]]],[\"zonos-link.cjs\",[[1,\"zonos-link\",{\"href\":[1],\"rel\":[1],\"target\":[1],\"linkTitle\":[1,\"link-title\"]}]]],[\"zonos-logo.cjs\",[[1,\"zonos-logo\",{\"theme\":[1],\"width\":[1]}]]],[\"zonos-hello-dialog.cjs\",[[1,\"zonos-hello-dialog\",{\"isOpen\":[4,\"is-open\"],\"setIsOpen\":[16],\"mobileLocationOverride\":[1,\"mobile-location-override\"],\"animateFromLeftOverride\":[4,\"animate-from-left-override\"],\"appearanceSettings\":[16],\"restrictedItems\":[16],\"welcomeMessage\":[32],\"showCountrySelect\":[32],\"showLanguageSelect\":[32]},[[4,\"click\",\"globalClickHandler\"]],{\"isOpen\":[\"isOpenHandler\"]}]]],[\"zonos-badge.cjs\",[[1,\"zonos-badge\",{\"bold\":[4],\"badgeColor\":[1,\"badge-color\"],\"icon\":[16],\"iconRight\":[4,\"icon-right\"],\"size\":[1],\"rounded\":[4],\"loading\":[4],\"dismissHandler\":[16]}]]],[\"zonos-shipping-rich-radio.cjs\",[[1,\"zonos-shipping-rich-radio\",{\"items\":[16],\"borderColor\":[1,\"border-color\"],\"borderStyle\":[1,\"border-style\"],\"theme\":[1],\"selectedItem\":[16]}]]],[\"zonos-toggle.cjs\",[[1,\"zonos-toggle\",{\"options\":[16],\"value\":[1]}]]],[\"zonos-collapse.cjs\",[[1,\"zonos-collapse\",{\"collapsed\":[4],\"collapseSize\":[2,\"collapse-size\"],\"height\":[32],\"iframe\":[32]}]]],[\"zonos-card.cjs\",[[1,\"zonos-card\",{\"actions\":[16],\"backgroundColor\":[1,\"background-color\"],\"borderRadius\":[2,\"border-radius\"],\"footerActions\":[16],\"footerContent\":[16],\"footerHeight\":[2,\"footer-height\"],\"label\":[16],\"spacing\":[1]}]]],[\"zonos-input.cjs\",[[1,\"zonos-input\",{\"inputValue\":[1,\"input-value\"],\"inputLabel\":[1,\"input-label\"],\"inputSize\":[1,\"input-size\"],\"isDisabled\":[4,\"is-disabled\"],\"isError\":[4,\"is-error\"],\"inputPlaceholder\":[1,\"input-placeholder\"],\"value\":[32]},null,{\"inputValue\":[\"onInputValueChange\"]}]]],[\"zonos-notification_3.cjs\",[[2,\"zonos-payment\",{\"titleText\":[1,\"title-text\"],\"stripe\":[32],\"stripeElements\":[32]},null,{\"stripeElements\":[\"watchInitStripe\"],\"stripe\":[\"watchInitStripe\"]}],[2,\"zonos-paypal-payment\"],[1,\"zonos-notification\",{\"notificationArray\":[32],\"showNotification\":[64]}]]],[\"zonos-banner.cjs\",[[1,\"zonos-banner\",{\"bannerTitle\":[1,\"banner-title\"],\"intent\":[1],\"hasContent\":[32]}]]],[\"zonos-country-flag.cjs\",[[1,\"zonos-country-flag\",{\"countryCode\":[1,\"country-code\"],\"size\":[2]}]]],[\"zonos-v-stack.cjs\",[[1,\"zonos-v-stack\",{\"spacing\":[2]}]]],[\"zonos-text.cjs\",[[1,\"zonos-text\",{\"textColor\":[1,\"text-color\"],\"size\":[1],\"type\":[1],\"weight\":[2],\"ready\":[32]}]]],[\"zonos-button_3.cjs\",[[17,\"zonos-button\",{\"buttonColor\":[1,\"button-color\"],\"backgroundColor\":[1,\"background-color\"],\"borderStyle\":[1,\"border-style\"],\"isDisabled\":[4,\"is-disabled\"],\"icon\":[16],\"iconRight\":[4,\"icon-right\"],\"size\":[1],\"variant\":[1],\"noBackground\":[4,\"no-background\"],\"withBoxShadow\":[4,\"with-box-shadow\"],\"noPaddingLeft\":[4,\"no-padding-left\"],\"noPaddingRight\":[4,\"no-padding-right\"],\"loading\":[4],\"justifyContent\":[1,\"justify-content\"],\"theme\":[1],\"hasIcon\":[32],\"hasContent\":[32]},[[2,\"click\",\"clickHandler\"]],{\"icon\":[\"iconChangeHandler\"]}],[1,\"zonos-spinner\",{\"size\":[2],\"spinnerColor\":[1,\"spinner-color\"]}],[1,\"zonos-icon\",{\"autoHeight\":[4,\"auto-height\"],\"iconColor\":[1,\"icon-color\"],\"content\":[1],\"size\":[2]}]]],[\"zonos-language-select_2.cjs\",[[1,\"zonos-language-select\",{\"handleOnClose\":[16]}],[1,\"zonos-select-dialog-header\",{\"handleOnClose\":[16],\"label\":[1]}]]],[\"zonos-country-select_4.cjs\",[[1,\"zonos-country-select\",{\"handleOnClose\":[16],\"inputValue\":[32]}],[1,\"zonos-hello-dialog-footer\",{\"appearanceSettings\":[16],\"setShowCountrySelect\":[16],\"setShowLanguageSelect\":[16]}],[1,\"zonos-custom-message\",{\"icon\":[1],\"message\":[1]}],[2,\"zonos-virtual-scroll\",{\"renderItem\":[16],\"itemWidth\":[2,\"item-width\"],\"fallbackItemHeight\":[2,\"fallback-item-height\"],\"itemHeights\":[16],\"container\":[32],\"scrollTop\":[32],\"totalHeight\":[32]},null,{\"itemHeights\":[\"updateTotalHeight\"],\"fallbackItemHeight\":[\"updateTotalHeight\"]}]]],[\"zonos-address_7.cjs\",[[1,\"zonos-address-update-dialog\",{\"continueLoading\":[4,\"continue-loading\"],\"dialogLoading\":[4,\"dialog-loading\"],\"dialogOpen\":[4,\"dialog-open\"],\"submitBtnType\":[1,\"submit-btn-type\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"isMobile\":[4,\"is-mobile\"],\"shippingAddress\":[16],\"billingAddress\":[16],\"translatedShippingAddress\":[16],\"translatedBillingAddress\":[16],\"showErrorBanner\":[32],\"translatedShippingAddressState\":[32],\"translatedBillingAddressState\":[32]},null,{\"translatedShippingAddress\":[\"watchTranslatedShippingAddress\"],\"translatedBillingAddress\":[\"watchTranslatedBillingAddress\"]}],[2,\"zonos-address\",{\"type\":[1],\"titleText\":[1,\"title-text\"],\"defaultAddress\":[16],\"stripe\":[32],\"isDirtyAddress\":[32]},null,{\"stripe\":[\"watchInitStripe\"]}],[1,\"zonos-checkbox\",{\"backgroundColor\":[1,\"background-color\"],\"label\":[1],\"isChecked\":[4,\"is-checked\"],\"isDisabled\":[4,\"is-disabled\"],\"size\":[2],\"fontSize\":[1,\"font-size\"],\"borderStyle\":[1,\"border-style\"]},[[1,\"click\",\"onClick\"]]],[2,\"zonos-link-authentication\",{\"titleText\":[1,\"title-text\"],\"defaultEmail\":[1,\"default-email\"],\"isEmailError\":[4,\"is-email-error\"],\"stripe\":[32]},null,{\"stripe\":[\"watchInitStripe\"]}],[1,\"zonos-dialog\",{\"open\":[4],\"headerText\":[1,\"header-text\"],\"width\":[1],\"height\":[1],\"minHeight\":[1,\"min-height\"],\"noHeader\":[4,\"no-header\"],\"noBodyPadding\":[4,\"no-body-padding\"],\"noBorder\":[4,\"no-border\"],\"borderStyle\":[1,\"border-style\"],\"noCloseButton\":[4,\"no-close-button\"],\"noClickOutside\":[4,\"no-click-outside\"],\"mobile\":[4],\"isLoading\":[4,\"is-loading\"],\"isMobile\":[32]},[[9,\"resize\",\"handleWindowResize\"],[4,\"keydown\",\"handleKeyDown\"]]],[1,\"zonos-address-display\",{\"currentAddress\":[16],\"addressType\":[1,\"address-type\"]}],[1,\"zonos-address-form\",{\"currentAddress\":[16],\"translatedAddress\":[16],\"addressType\":[1,\"address-type\"],\"localAddress\":[32]},null,{\"translatedAddress\":[\"watchCurrentAddress\"]}]]],[\"zonos-cart-items_13.cjs\",[[2,\"zonos-customer-info\",{\"continueLoading\":[4,\"continue-loading\"],\"submitBtnType\":[1,\"submit-btn-type\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"isMobile\":[4,\"is-mobile\"],\"defaultAddress\":[16],\"showErrorBanner\":[32],\"shippingCountry\":[32],\"isCheckingForRestrictedItems\":[32],\"isValidatingAddress\":[32],\"invalidShippingCharacterList\":[32],\"invalidBillingCharacterList\":[32],\"openAddressValidationDialog\":[32],\"isEmailError\":[32]}],[2,\"zonos-checkout-payment\",{\"submitBtnType\":[1,\"submit-btn-type\"],\"continueLoading\":[4,\"continue-loading\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"showErrorBanner\":[32]}],[1,\"zonos-checkout-footer\",{\"mobile\":[4],\"dataTheme\":[1,\"data-theme\"],\"showLanguageDialog\":[32],\"isMobile\":[32]},[[4,\"click\",\"handleGlobalClick\"]],{\"mobile\":[\"handleMobileChange\"]}],[2,\"zonos-shipping\",{\"continueLoading\":[4,\"continue-loading\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"submitBtnType\":[1,\"submit-btn-type\"],\"selectedShippingMethod\":[32],\"collapsedDAPOptions\":[32],\"isSelecting\":[32],\"showErrorBanner\":[32],\"serviceLevelsDDP\":[32],\"serviceLevelsDAP\":[32],\"serviceLevelsOther\":[32],\"serviceLevelsAll\":[32],\"displayBaseCurrency\":[32]}],[1,\"zonos-cart-subtotal\",{\"submitBtnType\":[1,\"submit-btn-type\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"loading\":[32]}],[1,\"zonos-cart-restricted-items\",{\"hide\":[4],\"errorImages\":[32],\"internalCollapsed\":[32],\"firstRender\":[32]}],[1,\"zonos-checkout-finish\",{\"borderRadius\":[1,\"border-radius\"],\"storybookForceStatus\":[1,\"storybook-force-status\"],\"overrideNotification\":[16],\"isLoading\":[32],\"notificationType\":[32],\"notificationTitle\":[32],\"notificationMessages\":[32],\"notificationActionText\":[32],\"order\":[32]}],[1,\"zonos-confirm-dialog\",{\"dialogTitle\":[1,\"dialog-title\"],\"dialogIntent\":[1,\"dialog-intent\"],\"dialogSubtitle\":[1,\"dialog-subtitle\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"dialogConfirmBtnText\":[1,\"dialog-confirm-btn-text\"],\"dialogWidth\":[2,\"dialog-width\"],\"dialogCancelBtnText\":[1,\"dialog-cancel-btn-text\"],\"dialogType\":[1,\"dialog-type\"],\"isMobile\":[4,\"is-mobile\"],\"dialogOpen\":[4,\"dialog-open\"],\"noClickOutside\":[4,\"no-click-outside\"]},[[4,\"keydown\",\"handleKeyDown\"]]],[1,\"zonos-checkout-progress-tabs\",{\"tabColor\":[1,\"tab-color\"],\"backgroundColor\":[1,\"background-color\"],\"setTabItems\":[64],\"setTabSelected\":[64]}],[1,\"zonos-review\",{\"mobile\":[4],\"collapsed\":[4],\"isMobile\":[32]},[[9,\"resize\",\"handleWindowResize\"]]],[1,\"zonos-cart-items\",{\"errorImages\":[32]}],[1,\"zonos-currency-toggle\",{\"errorImages\":[32]}],[1,\"zonos-rest-state\",{\"restStateSubtitle\":[1,\"rest-state-subtitle\"],\"restStateTitle\":[1,\"rest-state-title\"],\"restStateType\":[1,\"rest-state-type\"],\"isErrorImageLoad\":[32]}]]]]"), options);
23
23
  });
24
24
 
25
25
  exports.setNonce = index.setNonce;
@@ -3,14 +3,14 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d56e0a8b.js');
6
- const cart = require('./cart-3bdaf092.js');
7
- const zonosStore = require('./zonosStore-e12d459c.js');
6
+ const cart = require('./cart-d5240ba9.js');
7
+ const zonosStore = require('./zonosStore-293bb3ba.js');
8
8
  const classes = require('./classes-b7918f56.js');
9
9
  const formatStringWithLinks = require('./formatStringWithLinks-52341fc7.js');
10
10
  const getHasMoreSpaceOnRight = require('./getHasMoreSpaceOnRight-4c94667f.js');
11
- require('./handleFetch-fa0ce321.js');
12
- require('./isDarkColor-d206c6fa.js');
13
- require('./getBorderRadius-61ed5601.js');
11
+ require('./handleFetch-a8dfb07c.js');
12
+ require('./isDarkColor-dd6d723b.js');
13
+ require('./getBorderRadius-f72d8edf.js');
14
14
 
15
15
  const getHasMoreSpaceAbove = (ref) => {
16
16
  const componentRect = ref.getBoundingClientRect();
@@ -3,13 +3,13 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d56e0a8b.js');
6
- const zonosStore = require('./zonosStore-e12d459c.js');
7
- const cart = require('./cart-3bdaf092.js');
6
+ const zonosStore = require('./zonosStore-293bb3ba.js');
7
+ const cart = require('./cart-d5240ba9.js');
8
8
  const classes = require('./classes-b7918f56.js');
9
- const handleFetch = require('./handleFetch-fa0ce321.js');
9
+ const handleFetch = require('./handleFetch-a8dfb07c.js');
10
10
  const getHasMoreSpaceOnRight = require('./getHasMoreSpaceOnRight-4c94667f.js');
11
- require('./isDarkColor-d206c6fa.js');
12
- require('./getBorderRadius-61ed5601.js');
11
+ require('./isDarkColor-dd6d723b.js');
12
+ require('./getBorderRadius-f72d8edf.js');
13
13
 
14
14
  var root = zonosStore._root;
15
15
 
@@ -3,9 +3,9 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d56e0a8b.js');
6
- const zonosStore = require('./zonosStore-e12d459c.js');
6
+ const zonosStore = require('./zonosStore-293bb3ba.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
- const getBorderRadius = require('./getBorderRadius-61ed5601.js');
8
+ const getBorderRadius = require('./getBorderRadius-f72d8edf.js');
9
9
 
10
10
  const zonosInputCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{margin:1px;}:host .zonos--label-wrapper{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;height:100%;width:100%;background:var(--zonos-elements-input-background);border-radius:var(--zonos--border-radius);border:var(--zonos-elements-border)}:host .zonos--label-wrapper:hover{border:1px solid var(--zonos-elements-gray-300)}:host .zonos--floated-input{-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;padding:0 16px;outline:none;-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);width:100%;border-radius:var(--zonos--border-radius);background:var(--zonos-elements-input-background);border:0;-ms-flex-order:2;order:2;font-weight:500}:host .zonos--floated-input :-internal-autofill-selected{border-radius:var(--zonos-elements-radius-6) 0 0 var(--zonos-elements-radius-6)}:host .zonos--floated-input :-internal-autofill-selected+label+div{background-color:#e8f0fe}:host .zonos--floated-input.has-label{padding:16px 4px 8px 16px}:host .zonos--floated-input.has-label.has-input-prefix{padding-left:0}:host .zonos--floated-input.has-label.has-input-prefix+.zonos--floated-label::before{margin-left:0}:host .zonos--floated-input:not(.has-label)::-webkit-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input:not(.has-label)::-moz-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input:not(.has-label):-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input:not(.has-label)::-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input:not(.has-label)::placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input::-webkit-input-placeholder{-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input::-moz-placeholder{-moz-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input:-ms-input-placeholder{-ms-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input::-ms-input-placeholder{-ms-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input::placeholder{-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input:focus{outline:none}:host .zonos--floated-input:focus+.zonos--floated-label::after{-webkit-box-shadow:var(--zonos-elements-glow-blue);box-shadow:var(--zonos-elements-glow-blue)}:host .zonos--floated-input.has-error+.zonos--floated-label::after{-webkit-box-shadow:var(--zonos-elements-glow-error);box-shadow:var(--zonos-elements-glow-error)}:host .zonos--floated-input.has-content::-webkit-input-placeholder,:host .zonos--floated-input:focus::-webkit-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content::-moz-placeholder,:host .zonos--floated-input:focus::-moz-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content:-ms-input-placeholder,:host .zonos--floated-input:focus:-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content::-ms-input-placeholder,:host .zonos--floated-input:focus::-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content::placeholder,:host .zonos--floated-input:focus::placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content+.zonos--floated-label::before,:host .zonos--floated-input:focus+.zonos--floated-label::before{top:11px;-webkit-transform:scale(0.8);transform:scale(0.8)}:host .zonos--floated-input:-webkit-autofill,:host .zonos--floated-input:-moz-autofill{background-color:var(--zonos-elements-input-background);color:var(--zonos-elements-text-color)}:host .zonos--floated-label{display:block;max-height:0;pointer-events:none;-ms-flex-order:1;order:1}:host .zonos--floated-label::before{content:attr(data-label);color:var(--zonos-elements-gray-800);position:absolute;font-size:var(--zonos-elements-font-size-base);line-height:var(--zonos-elements-font-size-base);display:inline-block;-webkit-filter:blur(0);filter:blur(0);-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);margin-left:16px;top:calc(50% - var(--zonos-elements-font-size-base) / 2);z-index:1}:host .zonos--floated-label::after{content:\"\";position:absolute;left:0;right:0;top:0;bottom:0;border-radius:var(--zonos--border-radius)}:host .disabled .zonos--floated-label{pointer-events:inherit}:host .disabled .zonos--floated-label::after{cursor:not-allowed;z-index:1}:host(.sm){height:calc(var(--zonos-elements-size-sm) - 2px)}:host(.sm) .zonos--floated-input.has-label{padding-top:13px;padding-bottom:0}:host(.sm) .zonos--floated-input.has-label:focus+.zonos--floated-label::before,:host(.sm) .zonos--floated-input.has-label.has-content+.zonos--floated-label::before{top:2px}:host(.md){height:calc(var(--zonos-elements-size-md) - 2px)}:host(.md) .zonos--floated-input.has-label{padding-top:20px}:host(.md) .zonos--floated-input.has-label:focus+.zonos--floated-label::before,:host(.md) .zonos--floated-input.has-label.has-content+.zonos--floated-label::before{top:6px}:host(.lg){height:calc(var(--zonos-elements-size-lg) - 2px)}:host(.lg) .zonos--floated-input.has-label:focus+.zonos--floated-label::before,:host(.lg) .zonos--floated-input.has-label.has-content+.zonos--floated-label::before{top:10px}:host(.xl){height:calc(var(--zonos-elements-size-xl) - 2px)}:host(.xl) .zonos--floated-input.has-label{padding-bottom:2px}";
11
11
  const ZonosInputStyle0 = zonosInputCss;
@@ -3,12 +3,12 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d56e0a8b.js');
6
- const cart = require('./cart-3bdaf092.js');
7
- const zonosStore = require('./zonosStore-e12d459c.js');
6
+ const cart = require('./cart-d5240ba9.js');
7
+ const zonosStore = require('./zonosStore-293bb3ba.js');
8
8
  const ILanguage = require('./ILanguage-98b04442.js');
9
- require('./handleFetch-fa0ce321.js');
10
- require('./isDarkColor-d206c6fa.js');
11
- require('./getBorderRadius-61ed5601.js');
9
+ require('./handleFetch-a8dfb07c.js');
10
+ require('./isDarkColor-dd6d723b.js');
11
+ require('./getBorderRadius-f72d8edf.js');
12
12
 
13
13
  const GreenCheckDuotoneIcon = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
14
14
  <path d="M7.99996 2.6665C5.05444 2.6665 2.66663 5.05432 2.66663 7.99984C2.66663 10.9454 5.05444 13.3332 7.99996 13.3332C10.9455 13.3332 13.3333 10.9454 13.3333 7.99984C13.3333 5.05432 10.9455 2.6665 7.99996 2.6665Z" fill="#AFF8C3"/>
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d56e0a8b.js');
6
- const zonosStore = require('./zonosStore-e12d459c.js');
6
+ const zonosStore = require('./zonosStore-293bb3ba.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
8
 
9
9
  const zonosLogoCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-inline-flexbox;display:inline-flex}:host img{-webkit-filter:var(--zonos--filter-color);filter:var(--zonos--filter-color);width:var(--zonos--width)}";
@@ -3,13 +3,13 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d56e0a8b.js');
6
- const zonosStore = require('./zonosStore-e12d459c.js');
6
+ const zonosStore = require('./zonosStore-293bb3ba.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
- const getBorderRadius = require('./getBorderRadius-61ed5601.js');
9
- const cart = require('./cart-3bdaf092.js');
10
- const handleFetch = require('./handleFetch-fa0ce321.js');
11
- const paypal = require('./paypal-2f48ab8d.js');
12
- require('./isDarkColor-d206c6fa.js');
8
+ const getBorderRadius = require('./getBorderRadius-f72d8edf.js');
9
+ const cart = require('./cart-d5240ba9.js');
10
+ const handleFetch = require('./handleFetch-a8dfb07c.js');
11
+ const paypal = require('./paypal-78db30b7.js');
12
+ require('./isDarkColor-dd6d723b.js');
13
13
 
14
14
  const zonosNotificationCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}:host .zonos--notification-items{position:fixed;z-index:9999999999;bottom:24px;gap:8px;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column}:host .zonos--notification-item{cursor:pointer;-webkit-transition:all 0.3s ease;transition:all 0.3s ease;padding:8px;border-radius:var(--zonos--border-radius, var(--zonos-elements-radius-6));opacity:0;-ms-flex-negative:0.0001;flex-shrink:0.0001;-webkit-transform:translateY(100%);transform:translateY(100%)}:host .zonos--notification-item+:host .zonos--notification-item{margin-top:8px}:host .zonos--notification-item.show{opacity:1;-webkit-transform:translateY(0);transform:translateY(0);-ms-flex-positive:1000;flex-grow:1000}:host .zonos--notification-item.success{background-color:var(--zonos-elements-green-700)}:host .zonos--notification-item.error{background-color:var(--zonos-elements-red-700)}:host .zonos--notification-item.warning{background-color:var(--zonos-elements-orange-700)}";
15
15
  const ZonosNotificationStyle0 = zonosNotificationCss;
@@ -3,9 +3,9 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d56e0a8b.js');
6
- const zonosStore = require('./zonosStore-e12d459c.js');
6
+ const zonosStore = require('./zonosStore-293bb3ba.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
- const getBorderRadius = require('./getBorderRadius-61ed5601.js');
8
+ const getBorderRadius = require('./getBorderRadius-f72d8edf.js');
9
9
  const isColorVariable = require('./isColorVariable-525dbfa7.js');
10
10
 
11
11
  const zonosShippingRichRadioCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host input{margin:0;accent-color:var(--zonos--selected-border-color, var(--zonos-elements-blue-600))}:host .zonos--shipping-rich-radio-item{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;padding:16px;-ms-flex-align:center;align-items:center;gap:16px;cursor:pointer;border:1px solid var(--zonos-elements-gray-200)}:host .zonos--shipping-rich-radio-item:first-child{border-top-left-radius:var(--zonos--border-radius, var(--zonos-elements-radius-10));border-top-right-radius:var(--zonos--border-radius, var(--zonos-elements-radius-10))}:host .zonos--shipping-rich-radio-item:last-child{border-bottom-right-radius:var(--zonos--border-radius, var(--zonos-elements-radius-10));border-bottom-left-radius:var(--zonos--border-radius, var(--zonos-elements-radius-10))}:host .zonos--shipping-rich-radio-item:not(:last-child){border-bottom:none}:host .zonos--shipping-rich-radio-item.selected{outline:1px solid var(--zonos--selected-border-color, var(--zonos-elements-blue-600));outline-offset:-1px}:host .zonos--shipping-info{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex:1;flex:1}:host .zonos--shipping-detail{-ms-flex:1;flex:1}:host .zonos--sub-detail{display:-ms-inline-flexbox;display:inline-flex;gap:8px;-ms-flex-wrap:wrap;flex-wrap:wrap}";
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d56e0a8b.js');
6
- const zonosStore = require('./zonosStore-e12d459c.js');
6
+ const zonosStore = require('./zonosStore-293bb3ba.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
8
  const isColorVariable = require('./isColorVariable-525dbfa7.js');
9
9
  const styles = require('./styles-d1e64fb9.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 zonosStore = require('./zonosStore-e12d459c.js');
6
+ const zonosStore = require('./zonosStore-293bb3ba.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
8
 
9
9
  const zonosToggleCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-inline-flexbox;display:inline-flex}:host .wrapper{position:relative;border-radius:6px;background-color:var(--zonos-elements-gray-50);display:-ms-flexbox;display:flex}:host .zonos--toggle-selected-slider{z-index:1;position:absolute;background-color:var(--zonos-elements-raised-surface-color);height:100%;-webkit-box-shadow:var(--zonos-elements-shadow-button-standard);box-shadow:var(--zonos-elements-shadow-button-standard);border-radius:6px;-webkit-animation:translate 0.3s ease-in-out;animation:translate 0.3s ease-in-out}:host .zonos--option{background:transparent;border:0;z-index:2;cursor:pointer;padding:4px 12px;border-radius:6px;-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);font-size:var(--zonos-elements-font-size-base);font-weight:500;color:var(--zonos-elements-text-color-secondary)}:host .zonos--option:focus{outline:none}:host .zonos--option:hover:not(.selected){color:var(--zonos-elements-text-color)}:host .zonos--option.selected{color:var(--zonos-elements-text-color);background-color:var(--zonos-elements-raised-surface-color);height:100%;-webkit-box-shadow:var(--zonos-elements-shadow-button-standard);box-shadow:var(--zonos-elements-shadow-button-standard);border-radius:6px;-webkit-animation:translate 0.3s ease-in-out;animation:translate 0.3s ease-in-out}";
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d56e0a8b.js');
6
- const zonosStore = require('./zonosStore-e12d459c.js');
6
+ const zonosStore = require('./zonosStore-293bb3ba.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
8
 
9
9
  const zonosVStackCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host .vstack{display:grid;grid-auto-columns:minmax(0, 1fr);grid-row-gap:var(--spacing, 24px);grid-auto-flow:row}";
@@ -2771,6 +2771,7 @@ const { dispose: zonosStoreDispose, reset, state: zonosStore, } = createStore(()
2771
2771
  checkoutSettings: {
2772
2772
  allowedCharacterSets: 'ALL',
2773
2773
  analyticsProviders: [],
2774
+ cartExpiration: 60,
2774
2775
  externalPaymentMethods: [],
2775
2776
  externalServiceTokens: [],
2776
2777
  mode: 'TEST',
@@ -150,7 +150,6 @@ export class ZonosCheckoutFinish {
150
150
  metadata: {
151
151
  allLogs,
152
152
  checkoutSessionId: cartStore.checkoutSessionId || '',
153
- domain: window.location.hostname,
154
153
  orderId: order.id,
155
154
  storeId: zonosStore.storeId,
156
155
  },
@@ -165,7 +164,6 @@ export class ZonosCheckoutFinish {
165
164
  metadata: {
166
165
  allLogs,
167
166
  checkoutSessionId: cartStore.checkoutSessionId || '',
168
- domain: window.location.hostname,
169
167
  orderId: order.id,
170
168
  storeId: zonosStore.storeId,
171
169
  },
@@ -185,7 +183,6 @@ export class ZonosCheckoutFinish {
185
183
  metadata: {
186
184
  allLogs,
187
185
  checkoutSessionId: cartStore.checkoutSessionId || '',
188
- domain: window.location.hostname,
189
186
  storeId: zonosStore.storeId,
190
187
  },
191
188
  });
@@ -327,12 +324,12 @@ export class ZonosCheckoutFinish {
327
324
  }
328
325
  render() {
329
326
  const isTestMode = getIsTestMode();
330
- return (h(Host, { key: 'e9e088880a1b13f821dfdb7804b2e27efae5298c', class: "zonos--checkout-finish zonos--elements", style: {
327
+ return (h(Host, { key: '09ad6462aeafdfa1be8b0f0e34159aa74934b85c', class: "zonos--checkout-finish zonos--elements", style: {
331
328
  '--zonos--border-radius': getBorderRadius({
332
329
  overrideBorderStyle: this.borderRadius,
333
330
  }),
334
- } }, !this.isLoading && (h("div", { key: 'a1ec6900c645aedfd4f4662fa5251b5b9adebadf', class: "zonos--finish-details" }, h("div", { key: '6e08efc67a101ca4af34c67d853709d1f4f0f436', class: "zonos--group" }, this.notificationType === 'success' ? (h("zonos-icon", { "aria-label": "Order success", content: SuccessIcon, iconColor: 'blue-800', size: 50 })) : (h("zonos-icon", { "aria-label": "Order failed", content: RemoveIcon, iconColor: 'red-800', size: 50 })), h("zonos-text", { key: '049e7cbaef783b113daaf449b842bb27e1cd9fd4', class: "zonos--title", type: "semiBoldSubheader" }, this.notificationTitle), h("zonos-text", { key: '9ff5e5794bd0762341ef27cfca03bb52829c3463', class: "zonos--subtitle", textColor: "gray-600" }, this.notificationMessages.map(message => (h(Fragment, null, message, h("br", null))))), !window.Zonos.isLegacyCheckout &&
335
- this.shouldRenderKeepShoppingButton() && (h("zonos-button", { key: '0546063749a2b2c96762488e03507bfa31643b33', onClick: () => this.closeClickHandler(), size: "md", variant: "primary" }, this.notificationActionText))), isTestMode && cartStore.step === 'finish' && (h("div", { key: 'ef75fac530f2a3cf69ccd28c2d48f93771b8459e', class: "zonos--finish-button-wrapper" }, h("zonos-button", { key: '5e8dd1c3e34c1e97b14e9f6225817005b79bd679', backgroundColor: "gray-0", buttonColor: "gray-1000", onClick: () => this.closeClickHandler(), size: "lg", variant: "outline" }, "New test cart"), h("zonos-button", { key: '40c1c75fb3afae2c20ce8b018285f5cc21abbb96', onClick: () => this.redirectToUrl(`/orders/all`), size: "lg", variant: "primary" }, "View order in Dashboard")))))));
331
+ } }, !this.isLoading && (h("div", { key: '81df3ec5804d346938cd0052232446500805e5dd', class: "zonos--finish-details" }, h("div", { key: '49f0b91cd04f2f6e1291de3c542cec6ed1f3c0a9', class: "zonos--group" }, this.notificationType === 'success' ? (h("zonos-icon", { "aria-label": "Order success", content: SuccessIcon, iconColor: 'blue-800', size: 50 })) : (h("zonos-icon", { "aria-label": "Order failed", content: RemoveIcon, iconColor: 'red-800', size: 50 })), h("zonos-text", { key: '398e803727b65d2dd7da40bb37e25702f69009d6', class: "zonos--title", type: "semiBoldSubheader" }, this.notificationTitle), h("zonos-text", { key: '75ee45470ceca25057259916c76dd227f62b7276', class: "zonos--subtitle", textColor: "gray-600" }, this.notificationMessages.map(message => (h(Fragment, null, message, h("br", null))))), !window.Zonos.isLegacyCheckout &&
332
+ this.shouldRenderKeepShoppingButton() && (h("zonos-button", { key: 'cd792a9dd314e291d0957e0859e3b0e088cf1767', onClick: () => this.closeClickHandler(), size: "md", variant: "primary" }, this.notificationActionText))), isTestMode && cartStore.step === 'finish' && (h("div", { key: 'b54c583f058c23b2b5001179acac0c98780b1ded', class: "zonos--finish-button-wrapper" }, h("zonos-button", { key: '2405f70c3143725d51d6f6a5e5a440350aeb9b80', backgroundColor: "gray-0", buttonColor: "gray-1000", onClick: () => this.closeClickHandler(), size: "lg", variant: "outline" }, "New test cart"), h("zonos-button", { key: 'c977d79e45170cce70695006de1274ef7cc39df4', onClick: () => this.redirectToUrl(`/orders/all`), size: "lg", variant: "primary" }, "View order in Dashboard")))))));
336
333
  }
337
334
  static get is() { return "zonos-checkout-finish"; }
338
335
  static get encapsulation() { return "shadow"; }
@@ -55,6 +55,34 @@ export class ZonosCheckout {
55
55
  paypalEnabled: paypalStoreHasPaypalEnabled(),
56
56
  });
57
57
  };
58
+ /**
59
+ * Check if the cart is expired, return `true` if the cart is expired
60
+ */
61
+ this.handleCartExpiredCheck = () => {
62
+ var _a;
63
+ // don't check for cart expiration if the cart is in test mode
64
+ if (getIsTestMode()) {
65
+ log('Not checking for cart expiration in test mode');
66
+ return false;
67
+ }
68
+ // Do nothing if no cart data or cart expiration is not set
69
+ if (!zonosStore.checkoutSettings.cartExpiration ||
70
+ !((_a = window.Zonos.cartData) === null || _a === void 0 ? void 0 : _a.createdAt)) {
71
+ return false;
72
+ }
73
+ const cartCreatedAt = new Date(window.Zonos.cartData.createdAt).getTime();
74
+ const currentTime = new Date().getTime();
75
+ const timeDiff = currentTime - cartCreatedAt;
76
+ const timeDiffInMinutes = Math.floor(timeDiff / 60000);
77
+ log(`Cart has been created for ${timeDiffInMinutes} minutes`);
78
+ if (zonosStore.checkoutSettings.cartExpiration) {
79
+ if (timeDiffInMinutes > zonosStore.checkoutSettings.cartExpiration) {
80
+ this.isCartExpired = true;
81
+ return true;
82
+ }
83
+ }
84
+ return false;
85
+ };
58
86
  this.formatDate = (timestamp) => {
59
87
  if (!timestamp) {
60
88
  return '';
@@ -99,6 +127,7 @@ export class ZonosCheckout {
99
127
  this.storybookPaymentStatusOverride = undefined;
100
128
  this.isLegacyCheckout = window.Zonos.isLegacyCheckout;
101
129
  this.confirmDialogOpen = false;
130
+ this.isCartExpired = false;
102
131
  this.inventoryCheckErrorMessage = null;
103
132
  this.placedOrderInfo = null;
104
133
  }
@@ -154,6 +183,11 @@ export class ZonosCheckout {
154
183
  // if tempCartUUID is provided, use it instead of buildCartDetail
155
184
  if (window.Zonos.cartData) {
156
185
  log('tempCartUUID is provided, start building cart');
186
+ const isExpired = this.handleCartExpiredCheck();
187
+ if (isExpired) {
188
+ // Do not proceed if the cart is expired
189
+ return;
190
+ }
157
191
  const { adjustments, cartItems } = buildCartItemsByTempCart(window.Zonos.cartData);
158
192
  await cartStoreUpdateItems({ adjustments, cartItems });
159
193
  }
@@ -168,6 +202,12 @@ export class ZonosCheckout {
168
202
  logError('Failed to build cart, please try again.');
169
203
  return;
170
204
  }
205
+ window.Zonos.cartData = cartData;
206
+ const isExpired = this.handleCartExpiredCheck();
207
+ if (isExpired) {
208
+ // Do not proceed if the cart is expired
209
+ return;
210
+ }
171
211
  const { adjustments, cartItems } = buildCartItemsByTempCart(cartData);
172
212
  await cartStoreUpdateItems({ adjustments, cartItems });
173
213
  }
@@ -293,6 +333,9 @@ export class ZonosCheckout {
293
333
  try {
294
334
  // buildCartDetail may throw an error
295
335
  const result = await this.buildCartAndInit();
336
+ if (this.isCartExpired) {
337
+ throw new Error('This shopping cart is expired');
338
+ }
296
339
  if (!result) {
297
340
  throw new Error('Error building cart');
298
341
  }
@@ -315,6 +358,9 @@ export class ZonosCheckout {
315
358
  // stop loading
316
359
  stripeStore.isFetchingSession = false;
317
360
  logError(err);
361
+ if (this.isCartExpired) {
362
+ return;
363
+ }
318
364
  // We want to log the error anytime we fail to create a checkout session
319
365
  void sendErrorLog({
320
366
  endpoint: 'Error creating Checkout',
@@ -391,12 +437,12 @@ export class ZonosCheckout {
391
437
  const postal_code = getParam('customerZip') || '';
392
438
  const state = getParam('customerState') || '';
393
439
  /**
394
- * If one of the value is null, no need to preset the default address
440
+ * If one of the value is null, no need to preset the default address.
441
+ * City and state are optional (they are not always provided for example Puerto Rico)
395
442
  **/
396
- if (!line1 || (!city && !state) || !name || !phone || !country) {
443
+ if (!line1 || !name || !phone || !country) {
397
444
  log('Missing required query params so it can not be prefilled', 'info', [
398
445
  !line1 && 'line1',
399
- !city && 'city',
400
446
  !name && 'name',
401
447
  !phone && 'phone',
402
448
  !country && 'country',
@@ -538,6 +584,29 @@ export class ZonosCheckout {
538
584
  void this.closeDialogHandler({ confirmed: true });
539
585
  }
540
586
  }
587
+ handleCartExpiredDialogConfirm() {
588
+ var _a;
589
+ this.isCartExpired = false;
590
+ // Redirect to the vendor store url if this is legacy checkout
591
+ if (this.isLegacyCheckout) {
592
+ const storeBaseUrl = (_a = window.Zonos.cartData) === null || _a === void 0 ? void 0 : _a.storeBaseUrl;
593
+ if (!storeBaseUrl) {
594
+ return;
595
+ }
596
+ if (window.parent) {
597
+ window.parent.location.href = storeBaseUrl;
598
+ }
599
+ window.location.href = storeBaseUrl;
600
+ return;
601
+ }
602
+ /**
603
+ * For normal integration, the checkout modal opens on top of merchant site. Therefore, should reload the page when cart is expired so whole page can be reloaded and merchant cart might also be reset.
604
+ **/
605
+ if (window.parent) {
606
+ window.parent.location.href = window.location.href;
607
+ }
608
+ window.location.reload();
609
+ }
541
610
  async handleStripePaymentContinue() {
542
611
  // reset error state
543
612
  stripeStore.hasPaymentError = false;
@@ -761,7 +830,13 @@ export class ZonosCheckout {
761
830
  // If dialog is in open state, the message should not be null
762
831
  dialogSubtitle: cartStore.inventoryCheckErrorMessage, dialogTitle: translate("Couldn't place order"), dialogType: "alert",
763
832
  // Mark user selected confirm to close the dialog
764
- onConfirmClicked: () => this.handleInventoryCheckDialogConfirm() })));
833
+ onConfirmClicked: () => this.handleInventoryCheckDialogConfirm() }), h("zonos-confirm-dialog", { class: "zonos--shopping-cart-expired-dialog", dialogConfirmBtnText: translate('OK'), dialogIntent: "danger",
834
+ // Show dialog if inventory check error message is not null
835
+ dialogOpen: this.isCartExpired,
836
+ // If dialog is in open state, the message should not be null
837
+ dialogSubtitle: translate('You are being sent back to the shop to re-add items to your cart.'), dialogTitle: translate('Shopping cart expired'), dialogType: "alert",
838
+ // Mark user selected confirm to close the dialog
839
+ onConfirmClicked: () => this.handleCartExpiredDialogConfirm() })));
765
840
  }
766
841
  static get is() { return "zonos-checkout"; }
767
842
  static get encapsulation() { return "scoped"; }
@@ -894,6 +969,7 @@ export class ZonosCheckout {
894
969
  "storybookPaymentStatusOverride": {},
895
970
  "isLegacyCheckout": {},
896
971
  "confirmDialogOpen": {},
972
+ "isCartExpired": {},
897
973
  "inventoryCheckErrorMessage": {},
898
974
  "placedOrderInfo": {}
899
975
  };
@@ -205,6 +205,7 @@ const stripeCalculateLandedCost = async () => {
205
205
  };
206
206
  const stripeStorePrefetchLandedCost = async (params) => {
207
207
  var _a, _b, _c, _d, _e, _f, _g, _h;
208
+ const retries = (params === null || params === void 0 ? void 0 : params.retries) || 0;
208
209
  const applyingPromocode = !!(params === null || params === void 0 ? void 0 : params.applyingPromocode);
209
210
  const stripeAddressReady = !!((_a = stripeStore.stripeAddressEventData) === null || _a === void 0 ? void 0 : _a.complete);
210
211
  const stripeLinkReady = !!((_b = stripeStore.stripeLinkEventData) === null || _b === void 0 ? void 0 : _b.complete);
@@ -224,7 +225,16 @@ const stripeStorePrefetchLandedCost = async (params) => {
224
225
  !stripeBillingAddressReady) {
225
226
  return;
226
227
  }
227
- stripeStore.isFetchingLandedCost = true;
228
+ // If there is retries, stop loading for a moment and then showing the spinner again (this is just so customer can see that checkout is doing something and not stuck)
229
+ if (retries) {
230
+ stripeStore.isFetchingLandedCost = false;
231
+ setTimeout(() => {
232
+ stripeStore.isFetchingLandedCost = true;
233
+ }, 300);
234
+ }
235
+ else {
236
+ stripeStore.isFetchingLandedCost = true;
237
+ }
228
238
  if (stripeStore.stripeAddressEventData) {
229
239
  stripeStore.stripeAddressUsedWhenFetchingLC = Object.assign({}, stripeStore.stripeAddressEventData);
230
240
  }
@@ -263,9 +273,14 @@ const stripeStorePrefetchLandedCost = async (params) => {
263
273
  if (err instanceof Error &&
264
274
  err.message &&
265
275
  !excludeErrors.includes(err.message)) {
276
+ if (retries < 1) {
277
+ // retry fetching landed cost one more time
278
+ await stripeStorePrefetchLandedCost(Object.assign(Object.assign({}, params), { retries: (retries || 0) + 1 }));
279
+ return;
280
+ }
266
281
  const shipToAddress = (_h = stripeStore.stripeAddressUsedWhenFetchingLC) === null || _h === void 0 ? void 0 : _h.value;
267
282
  void sendErrorLog({
268
- endpoint: 'Failed to fetch landed cost',
283
+ endpoint: `Failed to fetch landed cost (${retries} retries)`,
269
284
  errors: [err.message],
270
285
  metadata: {
271
286
  cartId: window.Zonos.cartId,
@@ -185,6 +185,9 @@ export const stringsArabic = {
185
185
  'Nothing due at the door': {
186
186
  value: 'لا شيء مستحق عند الباب',
187
187
  },
188
+ OK: {
189
+ value: 'حسنًا',
190
+ },
188
191
  'Order complete!': {
189
192
  value: 'اكتمل الطلب!',
190
193
  },
@@ -299,6 +302,9 @@ export const stringsArabic = {
299
302
  'Shipping method': {
300
303
  value: 'طريقة الشحن',
301
304
  },
305
+ 'Shopping cart expired': {
306
+ value: 'انتهت صلاحية عربة التسوق',
307
+ },
302
308
  Show: {
303
309
  value: 'عرض',
304
310
  },
@@ -380,6 +386,9 @@ export const stringsArabic = {
380
386
  'Would you like to close checkout and return to the site?': {
381
387
  value: 'هل ترغب في إغلاق عملية الدفع والعودة إلى الموقع؟',
382
388
  },
389
+ 'You are being sent back to the shop to re-add items to your cart.': {
390
+ value: 'يتم إرسالك مرة أخرى إلى المتجر لإعادة إضافة العناصر إلى سلة التسوق الخاصة بك.',
391
+ },
383
392
  'You may incur additional fees from the shipping carrier by not prepaying.': {
384
393
  value: 'قد تتكبد رسومًا إضافية من شركة الشحن إذا لم تدفع مسبقًا.',
385
394
  },
@@ -185,6 +185,9 @@ export const stringsBase = {
185
185
  'Nothing due at the door': {
186
186
  value: 'Nothing due at the door',
187
187
  },
188
+ OK: {
189
+ value: 'OK',
190
+ },
188
191
  'Order complete!': {
189
192
  value: 'Order complete!',
190
193
  },
@@ -299,6 +302,9 @@ export const stringsBase = {
299
302
  'Shipping method': {
300
303
  value: 'Shipping method',
301
304
  },
305
+ 'Shopping cart expired': {
306
+ value: 'Shopping cart expired',
307
+ },
302
308
  Show: {
303
309
  value: 'Show',
304
310
  },
@@ -380,6 +386,9 @@ export const stringsBase = {
380
386
  'Would you like to close checkout and return to the site?': {
381
387
  value: 'Would you like to close checkout and return to the site?',
382
388
  },
389
+ 'You are being sent back to the shop to re-add items to your cart.': {
390
+ value: 'You are being sent back to the shop to re-add items to your cart.',
391
+ },
383
392
  'You may incur additional fees from the shipping carrier by not prepaying.': {
384
393
  value: 'You may incur additional fees from the shipping carrier by not prepaying.',
385
394
  },
@@ -185,6 +185,9 @@ export const stringsChinese = {
185
185
  'Nothing due at the door': {
186
186
  value: '门口无需付款',
187
187
  },
188
+ OK: {
189
+ value: '好的',
190
+ },
188
191
  'Order complete!': {
189
192
  value: '订单完成!',
190
193
  },
@@ -299,6 +302,9 @@ export const stringsChinese = {
299
302
  'Shipping method': {
300
303
  value: '运输方式',
301
304
  },
305
+ 'Shopping cart expired': {
306
+ value: '购物车已过期',
307
+ },
302
308
  Show: {
303
309
  value: '显示',
304
310
  },
@@ -380,6 +386,9 @@ export const stringsChinese = {
380
386
  'Would you like to close checkout and return to the site?': {
381
387
  value: '您要关闭结帐并返回网站吗?',
382
388
  },
389
+ 'You are being sent back to the shop to re-add items to your cart.': {
390
+ value: '您被送回商店以重新将商品添加到购物车。',
391
+ },
383
392
  'You may incur additional fees from the shipping carrier by not prepaying.': {
384
393
  value: '如果不预付,您可能会产生来自运输公司的额外费用。',
385
394
  },
@@ -185,6 +185,9 @@ export const stringsDanish = {
185
185
  'Nothing due at the door': {
186
186
  value: 'Intet at betale ved døren',
187
187
  },
188
+ OK: {
189
+ value: 'OK',
190
+ },
188
191
  'Order complete!': {
189
192
  value: 'Bestilling fuldført!',
190
193
  },
@@ -299,6 +302,9 @@ export const stringsDanish = {
299
302
  'Shipping method': {
300
303
  value: 'Leveringsmetode',
301
304
  },
305
+ 'Shopping cart expired': {
306
+ value: 'Indkøbskurv udløbet',
307
+ },
302
308
  Show: {
303
309
  value: 'Vis',
304
310
  },
@@ -380,6 +386,9 @@ export const stringsDanish = {
380
386
  'Would you like to close checkout and return to the site?': {
381
387
  value: 'Vil du lukke kassen og vende tilbage til siden?',
382
388
  },
389
+ 'You are being sent back to the shop to re-add items to your cart.': {
390
+ value: 'Du bliver sendt tilbage til butikken for at tilføje varer til din kurv igen.',
391
+ },
383
392
  'You may incur additional fees from the shipping carrier by not prepaying.': {
384
393
  value: 'Du kan pådrage dig ekstra gebyrer fra fragtfirmaet ved ikke at forudbetale.',
385
394
  },