@zonos/elements 1.3.80 → 1.3.82

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 (247) hide show
  1. package/dist/cjs/{CheckoutConfig-2fef694e.js → CheckoutConfig-850071ae.js} +1 -1
  2. package/dist/cjs/{cart-977c9d4c.js → cart-ba540c8e.js} +353 -69
  3. package/dist/cjs/{createCustomEvent-2b19361e.js → createCustomEvent-1fd24ad8.js} +2 -4
  4. package/dist/cjs/{handleFetch-661a8225.js → handleFetch-45e76490.js} +29 -1
  5. package/dist/cjs/index.cjs.js +9 -9
  6. package/dist/cjs/loader.cjs.js +1 -1
  7. package/dist/cjs/{paypal-3008c89e.js → paypal-6bbe55a7.js} +2 -2
  8. package/dist/cjs/zonos-address_8.cjs.entry.js +12 -12
  9. package/dist/cjs/zonos-badge.cjs.entry.js +44 -0
  10. package/dist/cjs/zonos-button_3.cjs.entry.js +3 -3
  11. package/dist/cjs/zonos-card.cjs.entry.js +4 -4
  12. package/dist/cjs/{zonos-badge_13.cjs.entry.js → zonos-cart-items_12.cjs.entry.js} +55 -70
  13. package/dist/cjs/zonos-checkout.cjs.entry.js +18 -6
  14. package/dist/cjs/zonos-component.cjs.entry.js +1 -1
  15. package/dist/cjs/zonos-controller.cjs.entry.js +3 -3
  16. package/dist/cjs/zonos-country-flag.cjs.entry.js +2 -2
  17. package/dist/cjs/zonos-country-select_4.cjs.entry.js +10 -10
  18. package/dist/cjs/zonos-elements.cjs.js +1 -1
  19. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +6 -6
  20. package/dist/cjs/zonos-hello.cjs.entry.js +2 -2
  21. package/dist/cjs/zonos-input.cjs.entry.js +4 -4
  22. package/dist/cjs/zonos-language-select_2.cjs.entry.js +6 -6
  23. package/dist/cjs/zonos-link.cjs.entry.js +1 -1
  24. package/dist/cjs/zonos-logo.cjs.entry.js +2 -2
  25. package/dist/cjs/zonos-notification_3.cjs.entry.js +5 -5
  26. package/dist/cjs/zonos-tooltip.cjs.entry.js +2 -2
  27. package/dist/cjs/zonos-v-stack.cjs.entry.js +2 -2
  28. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-items/zonos-cart-items.js +1 -1
  29. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.css +10 -1
  30. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.js +73 -1
  31. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +5 -3
  32. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +15 -2
  33. package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js +8 -9
  34. package/dist/collection/components/common/zonos-badge/assets/RemoveLineIcon.svg +3 -0
  35. package/dist/collection/components/common/zonos-badge/zonos-badge.css +3 -0
  36. package/dist/collection/components/common/zonos-badge/zonos-badge.js +43 -3
  37. package/dist/collection/components/common/zonos-button/zonos-button.js +3 -3
  38. package/dist/collection/components/common/zonos-card/zonos-card.js +4 -4
  39. package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +3 -3
  40. package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +8 -7
  41. package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +2 -2
  42. package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.js +3 -3
  43. package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +2 -2
  44. package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +2 -2
  45. package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +3 -3
  46. package/dist/collection/components/common/zonos-input/zonos-input.js +4 -4
  47. package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +2 -2
  48. package/dist/collection/components/common/zonos-link/zonos-link.js +1 -1
  49. package/dist/collection/components/common/zonos-logo/zonos-logo.js +2 -2
  50. package/dist/collection/components/common/zonos-rest-state/zonos-rest-state.js +3 -3
  51. package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +2 -2
  52. package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +2 -2
  53. package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +2 -2
  54. package/dist/collection/components/common/zonos-virtual-scroll/zonos-virtual-scroll.js +2 -2
  55. package/dist/collection/components/component-template/zonos-component/zonos-component.js +1 -1
  56. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +2 -2
  57. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +4 -4
  58. package/dist/collection/components/main/zonos-controller.js +1 -1
  59. package/dist/collection/components/paypal/zonos-paypal-payment.js +1 -1
  60. package/dist/collection/components/store/checkout/cart.js +17 -1
  61. package/dist/collection/components/store/checkout/stripe.js +120 -66
  62. package/dist/collection/components/store/hello/localization.js +2 -3
  63. package/dist/collection/components/store/translationStore/strings.arabic.js +9 -0
  64. package/dist/collection/components/store/translationStore/strings.base.js +9 -0
  65. package/dist/collection/components/store/translationStore/strings.chinese.js +9 -0
  66. package/dist/collection/components/store/translationStore/strings.danish.js +9 -0
  67. package/dist/collection/components/store/translationStore/strings.dutch.js +9 -0
  68. package/dist/collection/components/store/translationStore/strings.french.js +9 -0
  69. package/dist/collection/components/store/translationStore/strings.german.js +9 -0
  70. package/dist/collection/components/store/translationStore/strings.hebrew.js +9 -0
  71. package/dist/collection/components/store/translationStore/strings.indonesian.js +9 -0
  72. package/dist/collection/components/store/translationStore/strings.italian.js +9 -0
  73. package/dist/collection/components/store/translationStore/strings.japanese.js +9 -0
  74. package/dist/collection/components/store/translationStore/strings.korean.js +9 -0
  75. package/dist/collection/components/store/translationStore/strings.norwegian.js +9 -0
  76. package/dist/collection/components/store/translationStore/strings.polish.js +9 -0
  77. package/dist/collection/components/store/translationStore/strings.portuguese.js +9 -0
  78. package/dist/collection/components/store/translationStore/strings.russian.js +9 -0
  79. package/dist/collection/components/store/translationStore/strings.spanish.js +9 -0
  80. package/dist/collection/components/store/translationStore/strings.swedish.js +9 -0
  81. package/dist/collection/components/store/translationStore/strings.turkish.js +9 -0
  82. package/dist/collection/components/store/translationStore/strings.vietnamese.js +9 -0
  83. package/dist/collection/components/stripe/zonos-address/zonos-address.js +1 -1
  84. package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +1 -1
  85. package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
  86. package/dist/collection/components/utils/api/prepCalculateLandedCost.js +22 -0
  87. package/dist/collection/components/utils/api/trackConversionEvent.js +0 -2
  88. package/dist/collection/components/utils/api/triggerBuildLandedCost.js +1 -0
  89. package/dist/collection/components/utils/handleFetch.js +1 -0
  90. package/dist/collection/components/utils/hello/currencyConversion/currencyFormat.js +1 -1
  91. package/dist/collection/components/utils/logging/log.js +26 -1
  92. package/dist/collection/components/utils/logging/sendErrorLog.js +2 -0
  93. package/dist/esm/{CheckoutConfig-c7954c2a.js → CheckoutConfig-c0ec120d.js} +1 -1
  94. package/dist/esm/{cart-414322dc.js → cart-7df78f9f.js} +351 -70
  95. package/dist/esm/{createCustomEvent-fcd6d294.js → createCustomEvent-fcec608e.js} +2 -4
  96. package/dist/esm/{handleFetch-80ecfb91.js → handleFetch-0133265e.js} +29 -2
  97. package/dist/esm/index.js +10 -10
  98. package/dist/esm/loader.js +1 -1
  99. package/dist/esm/{paypal-3fecd52f.js → paypal-a27aad03.js} +2 -2
  100. package/dist/esm/zonos-address_8.entry.js +12 -12
  101. package/dist/esm/zonos-badge.entry.js +40 -0
  102. package/dist/esm/zonos-button_3.entry.js +3 -3
  103. package/dist/esm/zonos-card.entry.js +4 -4
  104. package/dist/esm/{zonos-badge_13.entry.js → zonos-cart-items_12.entry.js} +57 -71
  105. package/dist/esm/zonos-checkout.entry.js +18 -6
  106. package/dist/esm/zonos-component.entry.js +1 -1
  107. package/dist/esm/zonos-controller.entry.js +3 -3
  108. package/dist/esm/zonos-country-flag.entry.js +2 -2
  109. package/dist/esm/zonos-country-select_4.entry.js +10 -10
  110. package/dist/esm/zonos-elements.js +1 -1
  111. package/dist/esm/zonos-hello-dialog.entry.js +6 -6
  112. package/dist/esm/zonos-hello.entry.js +2 -2
  113. package/dist/esm/zonos-input.entry.js +4 -4
  114. package/dist/esm/zonos-language-select_2.entry.js +6 -6
  115. package/dist/esm/zonos-link.entry.js +1 -1
  116. package/dist/esm/zonos-logo.entry.js +2 -2
  117. package/dist/esm/zonos-notification_3.entry.js +5 -5
  118. package/dist/esm/zonos-tooltip.entry.js +2 -2
  119. package/dist/esm/zonos-v-stack.entry.js +2 -2
  120. package/dist/esm-es5/{CheckoutConfig-c7954c2a.js → CheckoutConfig-c0ec120d.js} +1 -1
  121. package/dist/esm-es5/cart-7df78f9f.js +1 -0
  122. package/dist/esm-es5/{createCustomEvent-fcd6d294.js → createCustomEvent-fcec608e.js} +1 -1
  123. package/dist/esm-es5/handleFetch-0133265e.js +1 -0
  124. package/dist/esm-es5/index.js +1 -1
  125. package/dist/esm-es5/loader.js +1 -1
  126. package/dist/esm-es5/{paypal-3fecd52f.js → paypal-a27aad03.js} +1 -1
  127. package/dist/esm-es5/zonos-address_8.entry.js +1 -1
  128. package/dist/esm-es5/zonos-badge.entry.js +1 -0
  129. package/dist/esm-es5/zonos-button_3.entry.js +1 -1
  130. package/dist/esm-es5/zonos-card.entry.js +1 -1
  131. package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -0
  132. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  133. package/dist/esm-es5/zonos-component.entry.js +1 -1
  134. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  135. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  136. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  137. package/dist/esm-es5/zonos-elements.js +1 -1
  138. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  139. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  140. package/dist/esm-es5/zonos-input.entry.js +1 -1
  141. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  142. package/dist/esm-es5/zonos-link.entry.js +1 -1
  143. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  144. package/dist/esm-es5/zonos-notification_3.entry.js +1 -1
  145. package/dist/esm-es5/zonos-tooltip.entry.js +1 -1
  146. package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
  147. package/dist/scripts/index.d.ts +45 -0
  148. package/dist/scripts/index.js +1 -1
  149. package/dist/scripts/loadZonos.js +1 -1
  150. package/dist/scripts/zonos.js +1 -1
  151. package/dist/types/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.d.ts +12 -0
  152. package/dist/types/components/common/zonos-badge/zonos-badge.d.ts +9 -0
  153. package/dist/types/components/store/checkout/cart.d.ts +8 -1
  154. package/dist/types/components/store/checkout/stripe.d.ts +12 -2
  155. package/dist/types/components/store/translationStore/strings.arabic.d.ts +9 -0
  156. package/dist/types/components/store/translationStore/strings.base.d.ts +9 -0
  157. package/dist/types/components/store/translationStore/strings.chinese.d.ts +9 -0
  158. package/dist/types/components/store/translationStore/strings.danish.d.ts +9 -0
  159. package/dist/types/components/store/translationStore/strings.dutch.d.ts +9 -0
  160. package/dist/types/components/store/translationStore/strings.french.d.ts +9 -0
  161. package/dist/types/components/store/translationStore/strings.german.d.ts +9 -0
  162. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +9 -0
  163. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +9 -0
  164. package/dist/types/components/store/translationStore/strings.italian.d.ts +9 -0
  165. package/dist/types/components/store/translationStore/strings.japanese.d.ts +9 -0
  166. package/dist/types/components/store/translationStore/strings.korean.d.ts +9 -0
  167. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +9 -0
  168. package/dist/types/components/store/translationStore/strings.polish.d.ts +9 -0
  169. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +9 -0
  170. package/dist/types/components/store/translationStore/strings.russian.d.ts +9 -0
  171. package/dist/types/components/store/translationStore/strings.spanish.d.ts +9 -0
  172. package/dist/types/components/store/translationStore/strings.swedish.d.ts +9 -0
  173. package/dist/types/components/store/translationStore/strings.turkish.d.ts +9 -0
  174. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +9 -0
  175. package/dist/types/components/store/translationStore.d.ts +1 -1
  176. package/dist/types/components/utils/api/triggerBuildLandedCost.d.ts +1 -0
  177. package/dist/types/components/utils/checkout/sortServiceLevelOptions.d.ts +3 -2
  178. package/dist/types/components/utils/logging/log.d.ts +2 -1
  179. package/dist/types/components.d.ts +34 -0
  180. package/dist/types/types/checkout/api/CalculateLandedCost.d.ts +2 -0
  181. package/dist/types/types/generated/graphql.internal.types.d.ts +12 -0
  182. package/dist/types/types/generated/graphql.internal.types.ts +9 -0
  183. package/dist/zonos-elements/index.esm.js +1 -1
  184. package/dist/zonos-elements/{p-0290df9c.entry.js → p-112a969c.entry.js} +1 -1
  185. package/dist/zonos-elements/{p-5170cefb.system.js → p-15651b06.system.js} +1 -1
  186. package/dist/zonos-elements/p-197c5707.system.js +1 -0
  187. package/dist/zonos-elements/p-1a92ff9a.system.entry.js +1 -0
  188. package/dist/zonos-elements/p-2024313c.js +1 -0
  189. package/dist/zonos-elements/{p-1e4f7997.system.entry.js → p-22e81fee.system.entry.js} +1 -1
  190. package/dist/zonos-elements/{p-f8dace42.system.entry.js → p-270cc182.system.entry.js} +1 -1
  191. package/dist/zonos-elements/{p-1047233d.entry.js → p-2c5e2163.entry.js} +1 -1
  192. package/dist/zonos-elements/{p-ced3aa4f.system.entry.js → p-2d2edb5a.system.entry.js} +1 -1
  193. package/dist/zonos-elements/p-2d2ff962.entry.js +1 -0
  194. package/dist/zonos-elements/{p-2a47d2cc.system.entry.js → p-38886017.system.entry.js} +1 -1
  195. package/dist/zonos-elements/{p-cce51fa5.system.entry.js → p-4097a25b.system.entry.js} +1 -1
  196. package/dist/zonos-elements/{p-41f42a5c.entry.js → p-42636c5a.entry.js} +1 -1
  197. package/dist/zonos-elements/{p-bbabc829.system.entry.js → p-43e2de45.system.entry.js} +1 -1
  198. package/dist/zonos-elements/{p-2d466263.system.js → p-4683797b.system.js} +1 -1
  199. package/dist/zonos-elements/{p-86bfda32.system.entry.js → p-4e06a2bb.system.entry.js} +1 -1
  200. package/dist/zonos-elements/{p-25633055.entry.js → p-58832515.entry.js} +1 -1
  201. package/dist/zonos-elements/{p-e68941ce.system.entry.js → p-59806a8e.system.entry.js} +1 -1
  202. package/dist/zonos-elements/{p-19fc5e11.system.entry.js → p-5d186fc7.system.entry.js} +1 -1
  203. package/dist/zonos-elements/{p-0a1db77d.system.entry.js → p-5d4bde9c.system.entry.js} +1 -1
  204. package/dist/zonos-elements/{p-f3fc05a8.entry.js → p-6a5d714a.entry.js} +1 -1
  205. package/dist/zonos-elements/{p-fca6f444.entry.js → p-6a83b682.entry.js} +1 -1
  206. package/dist/zonos-elements/p-85600e22.system.entry.js +1 -0
  207. package/dist/zonos-elements/{p-81cdd0d5.system.js → p-8c0ff373.system.js} +1 -1
  208. package/dist/zonos-elements/p-8dd38974.entry.js +1 -0
  209. package/dist/zonos-elements/p-8fd6ae63.js +1 -0
  210. package/dist/zonos-elements/{p-9c02a170.system.js → p-957b1c1b.system.js} +1 -1
  211. package/dist/zonos-elements/{p-7be7bd28.entry.js → p-997c8f07.entry.js} +1 -1
  212. package/dist/zonos-elements/{p-982aa677.entry.js → p-a4cdd4f2.entry.js} +1 -1
  213. package/dist/zonos-elements/p-aa899bf7.entry.js +1 -0
  214. package/dist/zonos-elements/{p-c2920074.js → p-acabfc47.js} +1 -1
  215. package/dist/zonos-elements/p-ad7ce197.js +1 -0
  216. package/dist/zonos-elements/{p-a3e2592b.system.entry.js → p-ae7526a2.system.entry.js} +1 -1
  217. package/dist/zonos-elements/{p-6de38759.entry.js → p-afad2fae.entry.js} +1 -1
  218. package/dist/zonos-elements/{p-166b3181.entry.js → p-b09c3702.entry.js} +1 -1
  219. package/dist/zonos-elements/{p-6b3fd741.js → p-b8e85bf5.js} +1 -1
  220. package/dist/zonos-elements/{p-72f0641d.entry.js → p-bf84416a.entry.js} +1 -1
  221. package/dist/zonos-elements/{p-a033685e.system.entry.js → p-c2b7b670.system.entry.js} +1 -1
  222. package/dist/zonos-elements/p-c78dd680.system.js +1 -1
  223. package/dist/zonos-elements/{p-c1400636.entry.js → p-cd17565d.entry.js} +1 -1
  224. package/dist/zonos-elements/{p-3d01ac9a.entry.js → p-cfd53396.entry.js} +1 -1
  225. package/dist/zonos-elements/p-cffe7cc8.system.entry.js +1 -0
  226. package/dist/zonos-elements/{p-f0d6f027.system.entry.js → p-d48f3bd3.system.entry.js} +1 -1
  227. package/dist/zonos-elements/{p-ba05f1d6.system.entry.js → p-d621f462.system.entry.js} +1 -1
  228. package/dist/zonos-elements/{p-4032de50.entry.js → p-df83e30b.entry.js} +1 -1
  229. package/dist/zonos-elements/p-e7eb0a92.system.js +1 -0
  230. package/dist/zonos-elements/{p-f4765417.entry.js → p-e93b511f.entry.js} +1 -1
  231. package/dist/zonos-elements/{p-747eed39.entry.js → p-ea68ee1f.entry.js} +1 -1
  232. package/dist/zonos-elements/{p-de93cc65.system.entry.js → p-f68c38d8.system.entry.js} +1 -1
  233. package/dist/zonos-elements/{p-d56f87ab.system.entry.js → p-f7bbdd0c.system.entry.js} +1 -1
  234. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  235. package/package.json +1 -1
  236. package/dist/esm-es5/cart-414322dc.js +0 -1
  237. package/dist/esm-es5/handleFetch-80ecfb91.js +0 -1
  238. package/dist/esm-es5/zonos-badge_13.entry.js +0 -1
  239. package/dist/zonos-elements/p-0f640802.system.js +0 -1
  240. package/dist/zonos-elements/p-2ec2e9d3.js +0 -1
  241. package/dist/zonos-elements/p-502d5e52.system.entry.js +0 -1
  242. package/dist/zonos-elements/p-75fd8895.js +0 -1
  243. package/dist/zonos-elements/p-a725574a.entry.js +0 -1
  244. package/dist/zonos-elements/p-acbec292.system.entry.js +0 -1
  245. package/dist/zonos-elements/p-c4957e35.system.js +0 -1
  246. package/dist/zonos-elements/p-d5818f0a.js +0 -1
  247. package/dist/zonos-elements/p-e6ec9f12.entry.js +0 -1
@@ -1,10 +1,10 @@
1
1
  import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host } from './index-86b8247e.js';
2
- import { t as translate, l as localizationStore, E as currencyFormat } from './cart-414322dc.js';
2
+ import { t as translate, l as localizationStore, E as currencyFormat } from './cart-7df78f9f.js';
3
3
  import { z as zonosStore } from './zonosStore-0dc7a947.js';
4
4
  import { c as classes } from './classes-0d95c529.js';
5
5
  import { f as formatStringWithLinks } from './formatStringWithLinks-9e819405.js';
6
6
  import { g as getHasMoreSpaceOnRight } from './getHasMoreSpaceOnRight-70eb913a.js';
7
- import './handleFetch-80ecfb91.js';
7
+ import './handleFetch-0133265e.js';
8
8
  import './isDarkColor-b3afa948.js';
9
9
  import './getBorderRadius-cff1e39b.js';
10
10
 
@@ -268,18 +268,18 @@ const ZonosHelloDialog = class {
268
268
  const defaultMessage = formatStringWithLinks(defaultMessageStr);
269
269
  const currentPage = this.getCurrentPageEnum();
270
270
  const filteredMessages = customMessages.filter(x => x.pageName === currentPage);
271
- return (h(Host, { key: 'df052224c778ebfceeef7c827fa3da0e8a2f3dc9', class: "zonos--elements" }, h("div", { key: '0ecff6a07d24a72fb4f200cce82ab09e40b48baf', class: classes([
271
+ return (h(Host, { key: '7ff123654399aee05fd295c108e01d924a8964e5', class: "zonos--elements" }, h("div", { key: '316720cc18d1b9fbbf86cbfcde1f25106b1197e8', class: classes([
272
272
  'zonos--hello-dialog',
273
273
  animateLeft && 'zonos--hello-dialog-animate-from-left',
274
274
  animateFromBottom && 'zonos--hello-dialog-animate-from-bottom',
275
275
  !!this.mobileLocationOverride &&
276
276
  'zonos--hello-dialog-mobile-override',
277
277
  this.isOpen && 'zonos--hello-dialog-open',
278
- ]), inert: !this.isOpen, ref: el => el && (this.dialogRef = el) }, !this.showCountrySelect && !this.showLanguageSelect && (h("div", { key: 'b2939d49930c8a34288a884582eb849a492080ff' }, h("div", { key: 'f1a22291d7865d57d37cbcd3c8f70c4aea57ed39', class: "zonos--hello-dialog-content" }, h("zonos-button", { key: 'ee3794826efc9fed856f0a320cf6428a428b4ea4', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close Zonos Hello dialog", content: RemoveIcon }), noBackground: true, onClick: () => this.setIsOpen(false) }), h("zonos-v-stack", { key: '3d2ff0b68268c97e385eb3cf7fcc34454d2ed3b5', spacing: 24 }, h("zonos-country-flag", { key: 'e09645ac583e59354d11b3c194d4d3f6d4780c55', class: "zonos--hello-country-flag", countryCode: selectedCountryCode }), h("zonos-v-stack", { key: '42017a698c1678b90c8c7bbece5d623d0800e37b', class: "zonos--hello-dialog-header", spacing: 4 }, h("zonos-text", { key: 'ac30b7683dcc65773159832eadad8542d1d1bda8', type: "boldSubheader" }, welcomeMessage), h("zonos-text", { key: '58cc0e8c51774c339b0fc735e4e98917ed614c8a', innerHTML: defaultMessage, textColor: "gray-800" })), h("zonos-v-stack", { key: '0b3a3b2bf981ed72654506cc31f07edf6268b0a4', spacing: 8 }, this.restrictedItems.map(item => {
278
+ ]), inert: !this.isOpen, ref: el => el && (this.dialogRef = el) }, !this.showCountrySelect && !this.showLanguageSelect && (h("div", { key: '29a0018c2c8eb7fdde938e432ea783517d364ea8' }, h("div", { key: 'a882452996503ddb4feb3e431eaf9cc14dc2ff34', class: "zonos--hello-dialog-content" }, h("zonos-button", { key: '2c656e792daa59c0ce5770d71a779de270a8adc8', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close Zonos Hello dialog", content: RemoveIcon }), noBackground: true, onClick: () => this.setIsOpen(false) }), h("zonos-v-stack", { key: '1dd3473645c5581fee41da086a478b6eb6f3104e', spacing: 24 }, h("zonos-country-flag", { key: '57bdcb6b5e2044b65868a53e91220b7eea5c389e', class: "zonos--hello-country-flag", countryCode: selectedCountryCode }), h("zonos-v-stack", { key: '8f01898edbd5c30771a2c8d12e0919f6b41cc96c', class: "zonos--hello-dialog-header", spacing: 4 }, h("zonos-text", { key: '75728fcc40efe82ff58e767b3c3c9f60f96f37b2', type: "boldSubheader" }, welcomeMessage), h("zonos-text", { key: 'b82ebf2adacbb72637064b04957846ee79f10bd5', innerHTML: defaultMessage, textColor: "gray-800" })), h("zonos-v-stack", { key: '7a0ae96961883e1a55248d4163da3bed2e76d077', spacing: 8 }, this.restrictedItems.map(item => {
279
279
  var _a;
280
280
  return item && (h("zonos-banner", { bannerTitle: item.name, intent: "error" }, (_a = item.itemRestrictions) === null || _a === void 0 ? void 0 : _a.map(x => (h("zonos-text", { textColor: "red-800" }, x === null || x === void 0 ? void 0 : x.note)))));
281
- }), h("zonos-card", { key: '196a593b167fc979bf0a2bef7f266ad3778f6ca0', spacing: "12px" }, h("zonos-v-stack", { key: '94925c753ddfdd1a659580f7f78f8d6626cdcdaa', spacing: 12 }, hasInclusivePrices ? (h("div", { class: "zonos--flex-message" }, h("zonos-icon", { "aria-label": "Duty de minimis", content: InclusivePricingIcon }), h("zonos-text", null, inclusivePriceMessage))) : (h(Fragment, null, h("div", { class: "zonos--flex-message" }, h("zonos-icon", { "aria-label": "Duty de minimis", content: ImportIcon }), h("zonos-text", null, dutyDeMinimisMessage)), h("div", { class: "zonos--flex-message" }, h("zonos-icon", { "aria-label": "Tax de minimis", content: MoneyIcon }), h("zonos-text", null, taxDeMinimisMessage)))), additionalInformation === null || additionalInformation === void 0 ? void 0 :
282
- additionalInformation.map(info => (h("div", { class: "zonos--flex-message" }, h("zonos-icon", { "aria-label": "Additional information for buying goods from selected country", content: BagIcon }), h("zonos-text", { innerHTML: info })))))), filteredMessages.map(x => (h("zonos-custom-message", { icon: MessageIcon, message: x.message })))))), h("zonos-hello-dialog-footer", { key: '540006185ce1d28d610052801dcf9281773c5504', appearanceSettings: this.appearanceSettings, setShowCountrySelect: value => this.setShowCountrySelect(value), setShowLanguageSelect: value => this.setShowLanguageSelect(value) }))), this.showCountrySelect && (h("div", { key: '886c371fdfa8c9c15188ef9d6cbb637162fb0d27' }, h("zonos-country-select", { key: '1365bee67831b64637e5c481f239c557f2649694', handleOnClose: () => this.setShowCountrySelect(false) }))), this.showLanguageSelect && (h("div", { key: '44929f0c23627970b1706f6e8c76e51022201379' }, h("zonos-language-select", { key: '86b9f68c84da77f9e1af51dcb7d512eb6b289a27', handleOnClose: () => this.setShowLanguageSelect(false) }))))));
281
+ }), h("zonos-card", { key: 'd6a1f8270f3b6c69febc04224e6a0fa7ada5e07a', spacing: "12px" }, h("zonos-v-stack", { key: '209eac48b847c3ac4c7e8eb9df35c95416d89536', spacing: 12 }, hasInclusivePrices ? (h("div", { class: "zonos--flex-message" }, h("zonos-icon", { "aria-label": "Duty de minimis", content: InclusivePricingIcon }), h("zonos-text", null, inclusivePriceMessage))) : (h(Fragment, null, h("div", { class: "zonos--flex-message" }, h("zonos-icon", { "aria-label": "Duty de minimis", content: ImportIcon }), h("zonos-text", null, dutyDeMinimisMessage)), h("div", { class: "zonos--flex-message" }, h("zonos-icon", { "aria-label": "Tax de minimis", content: MoneyIcon }), h("zonos-text", null, taxDeMinimisMessage)))), additionalInformation === null || additionalInformation === void 0 ? void 0 :
282
+ additionalInformation.map(info => (h("div", { class: "zonos--flex-message" }, h("zonos-icon", { "aria-label": "Additional information for buying goods from selected country", content: BagIcon }), h("zonos-text", { innerHTML: info })))))), filteredMessages.map(x => (h("zonos-custom-message", { icon: MessageIcon, message: x.message })))))), h("zonos-hello-dialog-footer", { key: 'e9444ec1c3c3616712faeba92734b4275d373da1', appearanceSettings: this.appearanceSettings, setShowCountrySelect: value => this.setShowCountrySelect(value), setShowLanguageSelect: value => this.setShowLanguageSelect(value) }))), this.showCountrySelect && (h("div", { key: 'a612e3daa6de5e5f73422ed8ebed8b3a682c3c46' }, h("zonos-country-select", { key: 'b45c18d7feaf95e74da6e0540ea28325a24d287b', handleOnClose: () => this.setShowCountrySelect(false) }))), this.showLanguageSelect && (h("div", { key: 'e50779d3c0e3c83587ae445e9ded8e108f893e31' }, h("zonos-language-select", { key: 'b502cef6095a0e9a57b3c81fa354ca3614060878', handleOnClose: () => this.setShowLanguageSelect(false) }))))));
283
283
  }
284
284
  static get assetsDirs() { return ["assets"]; }
285
285
  static get watchers() { return {
@@ -1,8 +1,8 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-86b8247e.js';
2
2
  import { _ as _root, e as _baseGetTag, i as isObjectLike_1, f as isObject_1, z as zonosStore, g as getZonosStoreTheme, m as mergeConfig } from './zonosStore-0dc7a947.js';
3
- import { l as localizationStore, x as isValidSelector, t as translate, z as getZCountryUrlParam, A as setZCountryUrlParam, B as currencyDisplay, C as currencyConvertAndFormat, D as currencyConvert, E as currencyFormat } from './cart-414322dc.js';
3
+ import { l as localizationStore, x as isValidSelector, t as translate, z as getZCountryUrlParam, A as setZCountryUrlParam, B as currencyDisplay, C as currencyConvertAndFormat, D as currencyConvert, E as currencyFormat } from './cart-7df78f9f.js';
4
4
  import { c as classes } from './classes-0d95c529.js';
5
- import { h as handleFetch, a as logError, l as log } from './handleFetch-80ecfb91.js';
5
+ import { h as handleFetch, a as logError, l as log } from './handleFetch-0133265e.js';
6
6
  import { g as getHasMoreSpaceOnRight } from './getHasMoreSpaceOnRight-70eb913a.js';
7
7
  import './isDarkColor-b3afa948.js';
8
8
  import './getBorderRadius-cff1e39b.js';
@@ -23,17 +23,17 @@ const ZonosInput = class {
23
23
  this.inputChange.emit(newValue);
24
24
  }
25
25
  render() {
26
- return (h(Host, { key: '66ab3a9ec4ac4f78e448008824471cecd4775e78', class: classes([
26
+ return (h(Host, { key: '1ad1bc4853aa4f4c251e1ab8ac45be8d1e3e98b6', class: classes([
27
27
  'zonos--input zonos--elements',
28
28
  this.inputSize,
29
29
  this.isError && 'has-error',
30
30
  ]), style: {
31
31
  '--border-radius': getBorderRadius(),
32
32
  '--font-family': zonosStoreFontFamily(),
33
- } }, h("div", { key: 'cef0295dea117c8bf0b8f3dc090f7c34648b9b31', class: classes([
33
+ } }, h("div", { key: 'd2fe3cd5800983913523ab6fce01b19d57c94d9c', class: classes([
34
34
  'zonos--label-wrapper',
35
35
  this.isDisabled && 'disabled',
36
- ]) }, h("input", { key: 'a5c9e0791292046e9520bf8d186f6dc76a23ba64', class: classes([
36
+ ]) }, h("input", { key: 'e0493952e9171c24164f847be23a4462572df336', class: classes([
37
37
  'zonos--floated-input',
38
38
  !!this.inputLabel && 'has-label',
39
39
  this.inputValue && 'has-content',
@@ -41,7 +41,7 @@ const ZonosInput = class {
41
41
  ]), disabled: this.isDisabled, onInput: e => {
42
42
  const input = e.target;
43
43
  this.inputChange.emit(input.value);
44
- }, placeholder: this.inputPlaceholder, type: "text", value: this.value }), h("label", { key: '25f51d372fdb0819fe316bcbfce429d63ded358f', class: "zonos--floated-label", "data-label": this.inputLabel }))));
44
+ }, placeholder: this.inputPlaceholder, type: "text", value: this.value }), h("label", { key: 'f9733fa1eafc29354d3d6b045a05542927f3a5e1', class: "zonos--floated-label", "data-label": this.inputLabel }))));
45
45
  }
46
46
  get el() { return getElement(this); }
47
47
  static get watchers() { return {
@@ -1,8 +1,8 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-86b8247e.js';
2
- import { L as localizationStoreUpdateSelectedLocale, t as translate, l as localizationStore } from './cart-414322dc.js';
2
+ import { O as localizationStoreUpdateSelectedLocale, t as translate, l as localizationStore } from './cart-7df78f9f.js';
3
3
  import { d as zonosStoreFontFamily } from './zonosStore-0dc7a947.js';
4
4
  import { l as languages } from './ILanguage-cd6acb72.js';
5
- import './handleFetch-80ecfb91.js';
5
+ import './handleFetch-0133265e.js';
6
6
  import './isDarkColor-b3afa948.js';
7
7
  import './getBorderRadius-cff1e39b.js';
8
8
 
@@ -27,9 +27,9 @@ const ZonosLanguageSelect = class {
27
27
  }
28
28
  render() {
29
29
  const { selectedLocale } = localizationStore;
30
- return (h(Host, { key: '448f89b5870956b6e9455968134b94c9409a983d', class: "zonos--elements", style: {
30
+ return (h(Host, { key: 'bea77d8916a999eade4d1201adbf37803b65901a', class: "zonos--elements", style: {
31
31
  '--font-family': zonosStoreFontFamily(),
32
- } }, h("div", { key: '23841aa801d68da4b537cfaab5ea89405ec66a9f', class: "zonos--language-select" }, h("zonos-select-dialog-header", { key: '5fc1b45aa0cb27c94163c2dace5ce4ad63215dfc', handleOnClose: () => this.handleOnClose(), label: translate('Select a language') }), h("div", { key: '7030fb276a05eea0e7333add3219b5316495662c', class: "zonos--language-select-content" }, languages.map(language => (h("button", { class: "zonos--language-select-button", onClick: () => this.languageSelected(language.code) }, h("zonos-text", { textColor: "gray-800" }, language.translatedLabel), language.code === selectedLocale && (h("zonos-icon", { content: GreenCheckDuotoneIcon, size: 16 })))))))));
32
+ } }, h("div", { key: '7c16efd7518f5952dac402c1fc2993e110d78fef', class: "zonos--language-select" }, h("zonos-select-dialog-header", { key: '52c7626a8378bd7c956a3fa9d339a263f686f80a', handleOnClose: () => this.handleOnClose(), label: translate('Select a language') }), h("div", { key: '6c00ad9b3270ae435ee32600651600a0a237ff07', class: "zonos--language-select-content" }, languages.map(language => (h("button", { class: "zonos--language-select-button", onClick: () => this.languageSelected(language.code) }, h("zonos-text", { textColor: "gray-800" }, language.translatedLabel), language.code === selectedLocale && (h("zonos-icon", { content: GreenCheckDuotoneIcon, size: 16 })))))))));
33
33
  }
34
34
  };
35
35
  ZonosLanguageSelect.style = ZonosLanguageSelectStyle0;
@@ -46,9 +46,9 @@ const ZonosSelectDialogHeader = class {
46
46
  this.label = '';
47
47
  }
48
48
  render() {
49
- return (h(Host, { key: '8ac4e1bcd64f6a2073e1161fec76c9b117345ada', class: "zonos--elements", style: {
49
+ return (h(Host, { key: 'a1b2433a81210b6a0a78be3cb027f885cd870d2c', class: "zonos--elements", style: {
50
50
  '--font-family': zonosStoreFontFamily(),
51
- } }, h("zonos-v-stack", { key: 'fe4a184a8bed7aceb4c3f8d341fed50380587c77', class: "zonos--select-dialog-header-wrapper", spacing: 8 }, h("div", { key: '2176069a11ba20c7408ef898044f2ba68eea4a80', class: "zonos--select-dialog-header" }, h("zonos-text", { key: '45b9d890484881a15c4fa7a7e4028f9887cc942e', type: "boldLabel" }, this.label), h("zonos-button", { key: '65f0d9ea7b6dee35d23aa6fca19fd686190b667f', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close select dialog", content: RemoveIcon, size: 20 }), noBackground: true, onClick: () => this.handleOnClose() })), h("slot", { key: '758fce95d668ad755745687d3fcf1a6a307061bc' }))));
51
+ } }, h("zonos-v-stack", { key: 'a9e61575c6c6c34c6097dd937dea7c199130f7f0', class: "zonos--select-dialog-header-wrapper", spacing: 8 }, h("div", { key: '266b89174f64825bec793bd30d44c1f75f220b1f', class: "zonos--select-dialog-header" }, h("zonos-text", { key: '7fd1f62f22610a2601497e897e98d5f5e0437601', type: "boldLabel" }, this.label), h("zonos-button", { key: 'afa95565fae19d97e038885f5244ee292f960a69', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close select dialog", content: RemoveIcon, size: 20 }), noBackground: true, onClick: () => this.handleOnClose() })), h("slot", { key: 'c28af84460321290623f17120ef1583aaf898105' }))));
52
52
  }
53
53
  };
54
54
  ZonosSelectDialogHeader.style = ZonosSelectDialogHeaderStyle0;
@@ -12,7 +12,7 @@ const ZonosLink = class {
12
12
  this.linkTitle = undefined;
13
13
  }
14
14
  render() {
15
- return (h(Host, { key: 'a5913bea95608f1f1a95186664d2032a4aff66ec', class: "zonos--elements" }, h("a", { key: 'dffb72ba6d1820669b1dbd9e841a242cbe58d860', href: this.href, rel: this.rel, target: this.target, title: this.linkTitle }, h("slot", { key: '774219d208dce4b32dcc715b827b1d85fc5dfe5e' }))));
15
+ return (h(Host, { key: '86fc4a9a03329f66e7f635669ca95d1372a62446', class: "zonos--elements" }, h("a", { key: 'ff257fcff1ffcc7e7c659969df96e551afb7146c', href: this.href, rel: this.rel, target: this.target, title: this.linkTitle }, h("slot", { key: 'f5906c958642d7e5f4e7bb913febf778995a7dc6' }))));
16
16
  }
17
17
  };
18
18
  ZonosLink.style = ZonosLinkStyle0;
@@ -15,11 +15,11 @@ const ZonosLogo = class {
15
15
  const filterColor = this.theme === 'DARK'
16
16
  ? 'invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%)'
17
17
  : 'whiteinvert(0%) sepia(100%) saturate(32%) hue-rotate(92deg) brightness(107%) contrast(107%)';
18
- return (h(Host, { key: '8737fef033ef8114ca67be72b2f598897a6929b3', class: classes(['zonos--elements zonos--logo']), style: {
18
+ return (h(Host, { key: 'f20974d5ff501108c4a52d01773ab20219c8d389', class: classes(['zonos--elements zonos--logo']), style: {
19
19
  '--filter-color': filterColor,
20
20
  '--font-family': zonosStoreFontFamily(),
21
21
  '--width': this.width,
22
- } }, h("img", { key: 'd5a15f2f8f891f865c7eb46268ae2f113ad1d3b4', alt: "Zonos Logo", src: getAssetPath('./assets/ZonosLogo.png') })));
22
+ } }, h("img", { key: 'd7acc90de67c51594abd44903c9fcb0b3e10a8bc', alt: "Zonos Logo", src: getAssetPath('./assets/ZonosLogo.png') })));
23
23
  }
24
24
  static get assetsDirs() { return ["assets"]; }
25
25
  };
@@ -1,9 +1,9 @@
1
1
  import { r as registerInstance, h, H as Host, d as getElement, c as createEvent } from './index-86b8247e.js';
2
2
  import { d as zonosStoreFontFamily } from './zonosStore-0dc7a947.js';
3
3
  import { c as classes } from './classes-0d95c529.js';
4
- import { j as stripeStore } from './cart-414322dc.js';
5
- import { a as logError, l as log } from './handleFetch-80ecfb91.js';
6
- import { d as paypalStoreInitButtons } from './paypal-3fecd52f.js';
4
+ import { j as stripeStore } from './cart-7df78f9f.js';
5
+ import { a as logError, l as log } from './handleFetch-0133265e.js';
6
+ import { d as paypalStoreInitButtons } from './paypal-a27aad03.js';
7
7
  import './isDarkColor-b3afa948.js';
8
8
  import './getBorderRadius-cff1e39b.js';
9
9
 
@@ -106,7 +106,7 @@ const ZonosPayment = class {
106
106
  }
107
107
  render() {
108
108
  // this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
109
- return (h(Host, { key: 'ab601d9a0cc6fe2fee19f45d6321dcc81b418cff', class: "zonos--payment zonos--elements" }, this.titleText && (h("zonos-text", { key: '27857c99c59e4913fa403ef5b23b5b7d7f32bd45', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), h("div", { key: '329b5a5617f0c5942b209df1ccf3bfcb4ddabb0c', class: "zonos--payment-component" }), h("div", { key: '7abb08922e9f607314713fc9fa762a3bb8a35b13', class: "zonos--payment-paypal-container" })));
109
+ return (h(Host, { key: 'c461a967d00b2d96fa70aaaf1651b435cdcd84bd', class: "zonos--payment zonos--elements" }, this.titleText && (h("zonos-text", { key: '44da1d89ce19f7174cad1214ab9463f0b1174c0d', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), h("div", { key: 'b9e3491b48d9ede19a5cdef639bd47e6bf0ba742', class: "zonos--payment-component" }), h("div", { key: '578516ce1ca1dc01eebb2268bb5449613e14298f', class: "zonos--payment-paypal-container" })));
110
110
  }
111
111
  get el() { return getElement(this); }
112
112
  static get watchers() { return {
@@ -160,7 +160,7 @@ const ZonosPaypalPayment = class {
160
160
  void this.loadPaypal();
161
161
  }
162
162
  render() {
163
- return (h(Host, { key: 'a09fe5b66b1ac971c10529ecb6213479f2870f08', class: "zonos--paypal-payment zonos--elements" }, h("div", { key: '6ba337785b8a90965e0cba05fd62681bc92633fe', class: "zonos--payment-paypal-container" })));
163
+ return (h(Host, { key: '6bfc962de500edbb105b7eb899711e48def78167', class: "zonos--paypal-payment zonos--elements" }, h("div", { key: '92d1b1c416f5e233c54e50d47129be375ef0a68b', class: "zonos--payment-paypal-container" })));
164
164
  }
165
165
  get el() { return getElement(this); }
166
166
  };
@@ -12,10 +12,10 @@ const ZonosTooltip = class {
12
12
  this.showTooltip = false;
13
13
  }
14
14
  render() {
15
- return (h(Host, { key: '24f3b1f73cc320540ab3700213004c267ea04658', class: "zonos--elements" }, h("div", { key: '7f52acf90cb5b9f1fd5efdc4fedc4d61a893a646', class: "zonos--tooltip", onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, h("slot", { key: '1871529e8b75c44a71bf1f5bc9e60b81bbc598d2' }), h("div", { key: 'c0b9c9c1b3fef5f766d2bad4c5bea48f3d6bbb6f', class: classes([
15
+ return (h(Host, { key: '091516a0a68f8b4ab2580a8118900c34b39e931c', class: "zonos--elements" }, h("div", { key: '77769b18201f87d601d5bdb860a4bc8c84bb4e90', class: "zonos--tooltip", onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, h("slot", { key: '139c1de415b94e12b8d575e3662cba9faf56cb2f' }), h("div", { key: '60c38adf74e9b776001844c2205ac87a4562b525', class: classes([
16
16
  this.showTooltip && 'zonos--show-tooltip',
17
17
  'zonos--tooltip-content',
18
- ]) }, h("zonos-text", { key: '3b106cb439877dffa101f15fb01aff980a64c7cb', size: "s", textColor: "gray-0", type: "boldLabel" }, this.label), h("zonos-text", { key: 'c0005051e6e1b614b7739718e1a262f6043d56f5', size: "xs", textColor: "gray-0" }, this.subtitle)))));
18
+ ]) }, h("zonos-text", { key: 'bb87c44ee7831c24b47c43b17d2b04c79112e900', size: "s", textColor: "gray-0", type: "boldLabel" }, this.label), h("zonos-text", { key: '5d114d284a15a1661e926bfe5fae9251513c7370', size: "xs", textColor: "gray-0" }, this.subtitle)))));
19
19
  }
20
20
  };
21
21
  ZonosTooltip.style = ZonosTooltipStyle0;
@@ -11,9 +11,9 @@ const VStack = class {
11
11
  this.spacing = 24;
12
12
  }
13
13
  render() {
14
- return (h(Host, { key: 'e542ff8bbefa3223f157ad4bd6e537af8e5d5a5d', style: {
14
+ return (h(Host, { key: 'fca41f57f80879bf7cb32fa7858777a26a36755d', style: {
15
15
  '--font-family': zonosStoreFontFamily(),
16
- } }, h("div", { key: '9bd1cc8fdf94265d7d2767d507af7ad21d77234d', class: classes(['vstack']), style: { 'grid-row-gap': `${this.spacing}px` } }, h("slot", { key: 'c8a294410e4c1348405c53283cf4dba176d5b27b' }))));
16
+ } }, h("div", { key: '8b608328327817a540c56dca58ad32ebe622d48e', class: classes(['vstack']), style: { 'grid-row-gap': `${this.spacing}px` } }, h("slot", { key: 'c29eeb4c2d0f781bdca44d355d2da75e15576d86' }))));
17
17
  }
18
18
  };
19
19
  VStack.style = ZonosVStackStyle0;
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,r,n){function o(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,a){function i(t){try{u(n.next(t))}catch(t){a(t)}}function c(t){try{u(n["throw"](t))}catch(t){a(t)}}function u(t){t.done?r(t.value):o(t.value).then(i,c)}u((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,o,a,i;return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(t){return function(e){return u([t,e])}}function u(c){if(n)throw new TypeError("Generator is already executing.");while(i&&(i=0,c[0]&&(r=0)),r)try{if(n=1,o&&(a=c[0]&2?o["return"]:c[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,c[1])).done)return a;if(o=0,a)c=[c[0]&2,a.value];switch(c[0]){case 0:case 1:a=c;break;case 4:r.label++;return{value:c[1],done:false};case 5:r.label++;o=c[1];c=[0];continue;case 7:c=r.ops.pop();r.trys.pop();continue;default:if(!(a=r.trys,a=a.length>0&&a[a.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!a||c[1]>a[0]&&c[1]<a[3])){r.label=c[1];break}if(c[0]===6&&r.label<a[1]){r.label=a[1];a=c;break}if(a&&r.label<a[2]){r.label=a[2];r.ops.push(c);break}if(a[2])r.ops.pop();r.trys.pop();continue}c=e.call(t,r)}catch(t){c=[6,t];o=0}finally{n=a=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:true}}};import{h as handleFetch,l as log,a as logError}from"./handleFetch-80ecfb91.js";var getTempCartById=function(t){return __awaiter(void 0,void 0,void 0,(function(){var e,r,n;return __generator(this,(function(o){switch(o.label){case 0:return[4,handleFetch("/api/zonos-elements/get-temp-cart",{body:{tempCartUUID:t},headers:{"Content-Type":"application/json"},method:"POST"})];case 1:e=o.sent(),r=e.errors,n=e.json;if(!n||r.length){return[2,null]}return[2,n]}}))}))};var setupCartData=function(t){return __awaiter(void 0,void 0,void 0,(function(){var e;return __generator(this,(function(r){switch(r.label){case 0:return[4,getTempCartById(t)];case 1:e=r.sent();log("[ZONOS - loadZonos] getting temp cart data","info",e);if(!e){logError("[ZONOS - loadZonos] Error getting temp cart data, stop checkout process.");return[2,null]}return[2,{cartData:e.cartData,storeFavicon:e.storeFaviconUrl,storeId:e.cartData.storeId,storeLogo:e.storeLogoUrl,zonosApiKey:e.cartData.credentialToken}]}}))}))};var checkoutHiddenBtnSelector="zonos--checkout-hidden-button";var domesticRedirectedBtnSelector="zonos--domestic-redirected-checkout-button";export{checkoutHiddenBtnSelector as c,domesticRedirectedBtnSelector as d,setupCartData as s};
1
+ var __awaiter=this&&this.__awaiter||function(t,e,r,n){function o(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,a){function i(t){try{u(n.next(t))}catch(t){a(t)}}function c(t){try{u(n["throw"](t))}catch(t){a(t)}}function u(t){t.done?r(t.value):o(t.value).then(i,c)}u((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,o,a,i;return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(t){return function(e){return u([t,e])}}function u(c){if(n)throw new TypeError("Generator is already executing.");while(i&&(i=0,c[0]&&(r=0)),r)try{if(n=1,o&&(a=c[0]&2?o["return"]:c[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,c[1])).done)return a;if(o=0,a)c=[c[0]&2,a.value];switch(c[0]){case 0:case 1:a=c;break;case 4:r.label++;return{value:c[1],done:false};case 5:r.label++;o=c[1];c=[0];continue;case 7:c=r.ops.pop();r.trys.pop();continue;default:if(!(a=r.trys,a=a.length>0&&a[a.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!a||c[1]>a[0]&&c[1]<a[3])){r.label=c[1];break}if(c[0]===6&&r.label<a[1]){r.label=a[1];a=c;break}if(a&&r.label<a[2]){r.label=a[2];r.ops.push(c);break}if(a[2])r.ops.pop();r.trys.pop();continue}c=e.call(t,r)}catch(t){c=[6,t];o=0}finally{n=a=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:true}}};import{h as handleFetch,l as log,a as logError}from"./handleFetch-0133265e.js";var getTempCartById=function(t){return __awaiter(void 0,void 0,void 0,(function(){var e,r,n;return __generator(this,(function(o){switch(o.label){case 0:return[4,handleFetch("/api/zonos-elements/get-temp-cart",{body:{tempCartUUID:t},headers:{"Content-Type":"application/json"},method:"POST"})];case 1:e=o.sent(),r=e.errors,n=e.json;if(!n||r.length){return[2,null]}return[2,n]}}))}))};var setupCartData=function(t){return __awaiter(void 0,void 0,void 0,(function(){var e;return __generator(this,(function(r){switch(r.label){case 0:return[4,getTempCartById(t)];case 1:e=r.sent();log("[ZONOS - loadZonos] getting temp cart data","info",e);if(!e){logError("[ZONOS - loadZonos] Error getting temp cart data, stop checkout process.");return[2,null]}return[2,{cartData:e.cartData,storeFavicon:e.storeFaviconUrl,storeId:e.cartData.storeId,storeLogo:e.storeLogoUrl,zonosApiKey:e.cartData.credentialToken}]}}))}))};var checkoutHiddenBtnSelector="zonos--checkout-hidden-button";var domesticRedirectedBtnSelector="zonos--domestic-redirected-checkout-button";export{checkoutHiddenBtnSelector as c,domesticRedirectedBtnSelector as d,setupCartData as s};