@zonos/elements 1.3.5 → 1.3.6

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 (403) hide show
  1. package/dist/cjs/ILanguage-d247b45b.js +26 -0
  2. package/dist/cjs/app-globals-3a1e7e63.js +5 -0
  3. package/dist/cjs/{cart-c1b0915c.js → cart-b8bbf22d.js} +62 -19
  4. package/dist/cjs/{getBorderRadius-cd7ef574.js → getBorderRadius-b252096d.js} +8 -4
  5. package/dist/cjs/index.cjs.js +0 -21
  6. package/dist/cjs/{isDarkColor-5eda1323.js → isDarkColor-168002d6.js} +1 -1
  7. package/dist/cjs/loader.cjs.js +5 -3
  8. package/dist/cjs/{localization-d43e1540.js → localization-2c9f5765.js} +366 -1
  9. package/dist/cjs/{submitGtag-bd6e9b42.js → submitGtag-792fe45d.js} +2 -2
  10. package/dist/cjs/zonos-address_4.cjs.entry.js +289 -0
  11. package/dist/cjs/zonos-badge_2.cjs.entry.js +57 -0
  12. package/dist/cjs/zonos-banner.cjs.entry.js +4 -9
  13. package/dist/cjs/{zonos-button_2.cjs.entry.js → zonos-button_3.cjs.entry.js} +42 -15
  14. package/dist/cjs/zonos-card_2.cjs.entry.js +26 -14
  15. package/dist/cjs/{zonos-cart-items_10.cjs.entry.js → zonos-cart-items_9.cjs.entry.js} +75 -84
  16. package/dist/cjs/zonos-checkout.cjs.entry.js +12 -13
  17. package/dist/cjs/zonos-component.cjs.entry.js +2 -2
  18. package/dist/cjs/zonos-controller.cjs.entry.js +7 -7
  19. package/dist/cjs/zonos-country-flag.cjs.entry.js +40 -0
  20. package/dist/cjs/{zonos-country-flag_4.cjs.entry.js → zonos-country-select_3.cjs.entry.js} +29 -55
  21. package/dist/cjs/zonos-elements.cjs.js +6 -4
  22. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +13 -8
  23. package/dist/cjs/zonos-hello.cjs.entry.js +3 -3
  24. package/dist/cjs/zonos-logo.cjs.entry.js +32 -0
  25. package/dist/cjs/zonos-notification.cjs.entry.js +5 -6
  26. package/dist/cjs/zonos-payment.cjs.entry.js +7 -7
  27. package/dist/cjs/zonos-select-dialog-header_2.cjs.entry.js +45 -0
  28. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +4 -4
  29. package/dist/cjs/zonos-text.cjs.entry.js +4 -6
  30. package/dist/cjs/{zonosStore-b88b5671.js → zonosStore-5d94dabb.js} +1 -1
  31. package/dist/collection/collection-manifest.json +6 -1
  32. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.js +1 -1
  33. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +5 -5
  34. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/assets/chevronDownIcon.svg +1 -0
  35. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/assets/globe.svg +3 -0
  36. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/assets/zonosIcon.svg +5 -0
  37. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.css +126 -0
  38. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.js +60 -0
  39. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.js +1 -1
  40. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.css +12 -21
  41. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +4 -5
  42. package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.css +9 -0
  43. package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.js +12 -4
  44. package/dist/collection/components/checkout/zonos-checkout/zonos-review/zonos-review.js +3 -3
  45. package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js +1 -1
  46. package/dist/collection/components/common/zonos-badge/zonos-badge.js +7 -26
  47. package/dist/collection/components/common/zonos-banner/zonos-banner.js +2 -25
  48. package/dist/collection/components/common/zonos-button/zonos-button.css +18 -0
  49. package/dist/collection/components/common/zonos-button/zonos-button.js +9 -28
  50. package/dist/collection/components/common/zonos-card/zonos-card.js +2 -20
  51. package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.css +82 -0
  52. package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +218 -0
  53. package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +2 -2
  54. package/dist/collection/components/common/zonos-country-flag/zonos-country-flag.js +1 -20
  55. package/dist/collection/components/common/zonos-country-select/assets/greenCheckDuotone.svg +4 -0
  56. package/dist/collection/components/common/zonos-country-select/zonos-country-select.css +11 -10
  57. package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +7 -11
  58. package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +2 -2
  59. package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +3 -3
  60. package/dist/collection/components/common/zonos-icon/zonos-icon.js +4 -4
  61. package/dist/collection/components/common/zonos-language-select/assets/greenCheckDuotone.svg +4 -0
  62. package/dist/collection/components/common/zonos-language-select/zonos-language-select.css +61 -0
  63. package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +58 -0
  64. package/dist/collection/components/common/zonos-logo/zonos-logo.js +2 -21
  65. package/dist/collection/components/common/zonos-notification/zonos-notification.js +3 -26
  66. package/dist/collection/components/common/zonos-select-dialog-header/assets/removeIcon.svg +1 -0
  67. package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.css +45 -0
  68. package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +68 -0
  69. package/dist/collection/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.js +1 -1
  70. package/dist/collection/components/common/zonos-spinner/zonos-spinner.js +4 -4
  71. package/dist/collection/components/common/zonos-text/zonos-text.js +4 -24
  72. package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.css +55 -0
  73. package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +72 -0
  74. package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +2 -21
  75. package/dist/collection/components/component-template/zonos-component/zonos-component.js +1 -1
  76. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/assets/globe.svg +3 -0
  77. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.css +10 -0
  78. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +27 -5
  79. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.css +16 -2
  80. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +11 -5
  81. package/dist/collection/components/main/zonos-controller.js +1 -1
  82. package/dist/collection/components/store/checkout/stripe.js +28 -7
  83. package/dist/collection/components/store/hello/localization.js +5 -1
  84. package/dist/collection/components/store/translationStore/strings.arabic.js +18 -0
  85. package/dist/collection/components/store/translationStore/strings.base.js +18 -0
  86. package/dist/collection/components/store/translationStore/strings.chinese.js +18 -0
  87. package/dist/collection/components/store/translationStore/strings.danish.js +18 -0
  88. package/dist/collection/components/store/translationStore/strings.dutch.js +18 -0
  89. package/dist/collection/components/store/translationStore/strings.french.js +18 -0
  90. package/dist/collection/components/store/translationStore/strings.german.js +18 -0
  91. package/dist/collection/components/store/translationStore/strings.hebrew.js +18 -0
  92. package/dist/collection/components/store/translationStore/strings.indonesian.js +18 -0
  93. package/dist/collection/components/store/translationStore/strings.italian.js +18 -0
  94. package/dist/collection/components/store/translationStore/strings.japanese.js +18 -0
  95. package/dist/collection/components/store/translationStore/strings.korean.js +18 -0
  96. package/dist/collection/components/store/translationStore/strings.norwegian.js +18 -0
  97. package/dist/collection/components/store/translationStore/strings.polish.js +18 -0
  98. package/dist/collection/components/store/translationStore/strings.portuguese.js +18 -0
  99. package/dist/collection/components/store/translationStore/strings.russian.js +18 -0
  100. package/dist/collection/components/store/translationStore/strings.spanish.js +18 -0
  101. package/dist/collection/components/store/translationStore/strings.swedish.js +18 -0
  102. package/dist/collection/components/store/translationStore/strings.turkish.js +18 -0
  103. package/dist/collection/components/store/translationStore/strings.vietnamese.js +18 -0
  104. package/dist/collection/components/stripe/zonos-address/zonos-address.js +63 -24
  105. package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +1 -1
  106. package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
  107. package/dist/collection/components/utils/api/prepCalculateLandedCost.js +19 -1
  108. package/dist/collection/components/utils/api/triggerBuildLandedCost.js +11 -5
  109. package/dist/collection/components/utils/getBorderRadius.js +7 -3
  110. package/dist/collection/types/ILanguage.js +22 -0
  111. package/dist/collection/types/generated/graphql.customer.types.js +13 -0
  112. package/dist/collection/types/index.js +0 -1
  113. package/dist/collection/types/styles/Color.js +9 -0
  114. package/dist/components/ILanguage.js +24 -0
  115. package/dist/components/getBorderRadius.js +7 -3
  116. package/dist/components/index.js +0 -1
  117. package/dist/components/isDarkColor.js +1 -1
  118. package/dist/components/localization.js +365 -1
  119. package/dist/components/{cart.js → stripe.js} +273 -228
  120. package/dist/components/submitGtag.js +1 -1
  121. package/dist/components/zonos-address2.js +65 -26
  122. package/dist/components/zonos-badge2.js +8 -10
  123. package/dist/components/zonos-banner2.js +3 -9
  124. package/dist/components/zonos-button2.js +10 -12
  125. package/dist/components/zonos-card2.js +3 -5
  126. package/dist/components/zonos-cart-items2.js +1 -1
  127. package/dist/components/zonos-cart-subtotal2.js +14 -8
  128. package/dist/components/zonos-checkbox.d.ts +11 -0
  129. package/dist/components/zonos-checkbox.js +6 -0
  130. package/dist/components/zonos-checkbox2.js +87 -0
  131. package/dist/components/zonos-checkout-finish2.js +3 -3
  132. package/dist/components/zonos-checkout-footer.d.ts +11 -0
  133. package/dist/components/zonos-checkout-footer.js +6 -0
  134. package/dist/components/zonos-checkout-footer2.js +109 -0
  135. package/dist/components/zonos-checkout-payment2.js +2 -2
  136. package/dist/components/zonos-checkout.js +75 -52
  137. package/dist/components/zonos-collapse2.js +3 -3
  138. package/dist/components/zonos-component.js +1 -1
  139. package/dist/components/zonos-controller.js +4 -4
  140. package/dist/components/zonos-country-flag2.js +3 -5
  141. package/dist/components/zonos-country-select2.js +26 -19
  142. package/dist/components/zonos-custom-message2.js +3 -3
  143. package/dist/components/zonos-customer-info2.js +30 -10
  144. package/dist/components/zonos-dialog2.js +4 -4
  145. package/dist/components/zonos-hello-dialog-footer2.js +23 -10
  146. package/dist/components/zonos-hello-dialog2.js +41 -23
  147. package/dist/components/zonos-hello.js +31 -19
  148. package/dist/components/zonos-icon2.js +4 -4
  149. package/dist/components/zonos-language-select.d.ts +11 -0
  150. package/dist/components/zonos-language-select.js +6 -0
  151. package/dist/components/zonos-language-select2.js +87 -0
  152. package/dist/components/zonos-link-authentication2.js +2 -2
  153. package/dist/components/zonos-logo.js +44 -1
  154. package/dist/components/zonos-notification2.js +4 -6
  155. package/dist/components/zonos-payment2.js +2 -2
  156. package/dist/components/zonos-review2.js +4 -4
  157. package/dist/components/zonos-select-dialog-header.d.ts +11 -0
  158. package/dist/components/zonos-select-dialog-header.js +6 -0
  159. package/dist/components/zonos-select-dialog-header2.js +71 -0
  160. package/dist/components/zonos-shipping-rich-radio2.js +2 -2
  161. package/dist/components/zonos-shipping2.js +2 -2
  162. package/dist/components/zonos-spinner2.js +3 -3
  163. package/dist/components/zonos-text2.js +4 -7
  164. package/dist/components/zonos-tooltip.d.ts +11 -0
  165. package/dist/components/zonos-tooltip.js +6 -0
  166. package/dist/components/zonos-tooltip2.js +48 -0
  167. package/dist/components/zonos-v-stack2.js +4 -6
  168. package/dist/components/zonosStore.js +1 -1
  169. package/dist/esm/ILanguage-97790bee.js +24 -0
  170. package/dist/esm/app-globals-0f993ce5.js +3 -0
  171. package/dist/esm/{cart-7e7c7585.js → cart-bc3bb22e.js} +63 -18
  172. package/dist/esm/getBorderRadius-e9736f7e.js +20 -0
  173. package/dist/esm/index.js +1 -6
  174. package/dist/esm/{isDarkColor-8696cb70.js → isDarkColor-e982fa09.js} +1 -1
  175. package/dist/esm/loader.js +6 -4
  176. package/dist/esm/{localization-5d83fde2.js → localization-d8f6453b.js} +366 -2
  177. package/dist/esm/{submitGtag-776c5e10.js → submitGtag-bebe2cb0.js} +2 -2
  178. package/dist/esm/zonos-address_4.entry.js +282 -0
  179. package/dist/esm/zonos-badge_2.entry.js +52 -0
  180. package/dist/esm/zonos-banner.entry.js +4 -9
  181. package/dist/esm/{zonos-button_2.entry.js → zonos-button_3.entry.js} +42 -16
  182. package/dist/esm/zonos-card_2.entry.js +26 -14
  183. package/dist/esm/{zonos-cart-items_10.entry.js → zonos-cart-items_9.entry.js} +75 -83
  184. package/dist/esm/zonos-checkout.entry.js +12 -13
  185. package/dist/esm/zonos-component.entry.js +2 -2
  186. package/dist/esm/zonos-controller.entry.js +7 -7
  187. package/dist/esm/zonos-country-flag.entry.js +36 -0
  188. package/dist/esm/{zonos-country-flag_4.entry.js → zonos-country-select_3.entry.js} +30 -55
  189. package/dist/esm/zonos-elements.js +7 -5
  190. package/dist/esm/zonos-hello-dialog.entry.js +13 -8
  191. package/dist/esm/zonos-hello.entry.js +3 -3
  192. package/dist/esm/zonos-logo.entry.js +28 -0
  193. package/dist/esm/zonos-notification.entry.js +5 -6
  194. package/dist/esm/zonos-payment.entry.js +7 -7
  195. package/dist/esm/zonos-select-dialog-header_2.entry.js +40 -0
  196. package/dist/esm/zonos-shipping-rich-radio.entry.js +4 -4
  197. package/dist/esm/zonos-text.entry.js +4 -6
  198. package/dist/esm/{zonosStore-e59617f8.js → zonosStore-e6c7be3a.js} +1 -1
  199. package/dist/esm-es5/ILanguage-97790bee.js +1 -0
  200. package/dist/esm-es5/app-globals-0f993ce5.js +1 -0
  201. package/dist/esm-es5/cart-bc3bb22e.js +1 -0
  202. package/dist/esm-es5/getBorderRadius-e9736f7e.js +1 -0
  203. package/dist/esm-es5/index.js +0 -1
  204. package/dist/esm-es5/{isDarkColor-8696cb70.js → isDarkColor-e982fa09.js} +1 -1
  205. package/dist/esm-es5/loader.js +1 -1
  206. package/dist/esm-es5/localization-d8f6453b.js +1 -0
  207. package/dist/esm-es5/{submitGtag-776c5e10.js → submitGtag-bebe2cb0.js} +1 -1
  208. package/dist/esm-es5/zonos-address_4.entry.js +1 -0
  209. package/dist/esm-es5/zonos-badge_2.entry.js +1 -0
  210. package/dist/esm-es5/zonos-banner.entry.js +1 -1
  211. package/dist/esm-es5/zonos-button_3.entry.js +1 -0
  212. package/dist/esm-es5/zonos-card_2.entry.js +1 -1
  213. package/dist/esm-es5/zonos-cart-items_9.entry.js +1 -0
  214. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  215. package/dist/esm-es5/zonos-component.entry.js +1 -1
  216. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  217. package/dist/esm-es5/zonos-country-flag.entry.js +1 -0
  218. package/dist/esm-es5/zonos-country-select_3.entry.js +1 -0
  219. package/dist/esm-es5/zonos-elements.js +1 -1
  220. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  221. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  222. package/dist/esm-es5/zonos-logo.entry.js +1 -0
  223. package/dist/esm-es5/zonos-notification.entry.js +1 -1
  224. package/dist/esm-es5/zonos-payment.entry.js +1 -1
  225. package/dist/esm-es5/zonos-select-dialog-header_2.entry.js +1 -0
  226. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
  227. package/dist/esm-es5/zonos-text.entry.js +1 -1
  228. package/dist/esm-es5/{zonosStore-e59617f8.js → zonosStore-e6c7be3a.js} +1 -1
  229. package/dist/scripts/insertTranslations.js +1 -0
  230. package/dist/scripts/loadZonos.js +1 -1
  231. package/dist/scripts/zonos.js +1 -1
  232. package/dist/scripts/zonosBase.js +1 -1
  233. package/dist/types/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.d.ts +2 -1
  234. package/dist/types/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.d.ts +7 -0
  235. package/dist/types/components/common/zonos-badge/zonos-badge.d.ts +1 -5
  236. package/dist/types/components/common/zonos-banner/zonos-banner.d.ts +0 -4
  237. package/dist/types/components/common/zonos-button/zonos-button.d.ts +1 -5
  238. package/dist/types/components/common/zonos-card/zonos-card.d.ts +0 -4
  239. package/dist/types/components/common/zonos-checkbox/zonos-checkbox.d.ts +42 -0
  240. package/dist/types/components/common/zonos-country-flag/zonos-country-flag.d.ts +0 -4
  241. package/dist/types/components/common/zonos-country-select/zonos-country-select.d.ts +1 -1
  242. package/dist/types/components/common/zonos-icon/zonos-icon.d.ts +1 -1
  243. package/dist/types/components/common/zonos-language-select/zonos-language-select.d.ts +9 -0
  244. package/dist/types/components/common/zonos-logo/zonos-logo.d.ts +0 -4
  245. package/dist/types/components/common/zonos-notification/zonos-notification.d.ts +0 -4
  246. package/dist/types/components/common/zonos-select-dialog-header/zonos-select-dialog-header.d.ts +12 -0
  247. package/dist/types/components/common/zonos-spinner/zonos-spinner.d.ts +1 -1
  248. package/dist/types/components/common/zonos-text/zonos-text.d.ts +1 -5
  249. package/dist/types/components/common/zonos-tooltip/zonos-tooltip.d.ts +12 -0
  250. package/dist/types/components/common/zonos-v-stack/zonos-v-stack.d.ts +0 -4
  251. package/dist/types/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.d.ts +5 -0
  252. package/dist/types/components/hello/zonos-hello-dialog/zonos-hello-dialog.d.ts +2 -0
  253. package/dist/types/components/store/checkout/stripe.d.ts +8 -0
  254. package/dist/types/components/store/hello/localization.d.ts +2 -1
  255. package/dist/types/components/store/translationStore/strings.arabic.d.ts +18 -0
  256. package/dist/types/components/store/translationStore/strings.base.d.ts +18 -0
  257. package/dist/types/components/store/translationStore/strings.chinese.d.ts +18 -0
  258. package/dist/types/components/store/translationStore/strings.danish.d.ts +18 -0
  259. package/dist/types/components/store/translationStore/strings.dutch.d.ts +18 -0
  260. package/dist/types/components/store/translationStore/strings.french.d.ts +18 -0
  261. package/dist/types/components/store/translationStore/strings.german.d.ts +18 -0
  262. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +18 -0
  263. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +18 -0
  264. package/dist/types/components/store/translationStore/strings.italian.d.ts +18 -0
  265. package/dist/types/components/store/translationStore/strings.japanese.d.ts +18 -0
  266. package/dist/types/components/store/translationStore/strings.korean.d.ts +18 -0
  267. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +18 -0
  268. package/dist/types/components/store/translationStore/strings.polish.d.ts +18 -0
  269. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +18 -0
  270. package/dist/types/components/store/translationStore/strings.russian.d.ts +18 -0
  271. package/dist/types/components/store/translationStore/strings.spanish.d.ts +18 -0
  272. package/dist/types/components/store/translationStore/strings.swedish.d.ts +18 -0
  273. package/dist/types/components/store/translationStore/strings.turkish.d.ts +18 -0
  274. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +18 -0
  275. package/dist/types/components/stripe/zonos-address/zonos-address.d.ts +3 -0
  276. package/dist/types/components/utils/api/getLocaleMessages.d.ts +1 -1
  277. package/dist/types/components/utils/api/triggerBuildLandedCost.d.ts +18 -2
  278. package/dist/types/components/utils/changeDeepProperty.d.ts +1 -1
  279. package/dist/types/components/utils/changeDeepPropertyAtIndex.d.ts +1 -1
  280. package/dist/types/components/utils/getBorderRadius.d.ts +1 -1
  281. package/dist/types/components.d.ts +242 -116
  282. package/dist/types/types/ILanguage.d.ts +81 -0
  283. package/dist/types/types/checkout/CheckoutConfig.d.ts +3 -3
  284. package/dist/types/types/checkout/api/CalculateLandedCostRequest.d.ts +13 -0
  285. package/dist/types/types/generated/graphql.customer.types.d.ts +16 -4
  286. package/dist/types/types/generated/graphql.customer.types.ts +21 -4
  287. package/dist/types/types/generated/graphql.frontend.types.d.ts +6 -6
  288. package/dist/types/types/generated/graphql.frontend.types.ts +14 -4
  289. package/dist/types/types/index.d.ts +1 -1
  290. package/dist/types/types/styles/Color.d.ts +2 -0
  291. package/dist/zonos-elements/index.esm.js +0 -1
  292. package/dist/zonos-elements/{p-626b5a52.system.entry.js → p-00d63df1.system.entry.js} +1 -1
  293. package/dist/zonos-elements/p-04f63cea.entry.js +1 -0
  294. package/dist/zonos-elements/{p-120df5be.system.entry.js → p-06652d87.system.entry.js} +1 -1
  295. package/dist/zonos-elements/p-066c5893.system.js +1 -0
  296. package/dist/zonos-elements/p-0c7480a5.entry.js +1 -0
  297. package/dist/zonos-elements/p-16ad90ca.js +1 -0
  298. package/dist/zonos-elements/p-16b74c31.system.js +1 -0
  299. package/dist/zonos-elements/{p-0024f8c2.js → p-17550a10.js} +1 -1
  300. package/dist/zonos-elements/p-1d16a6fb.js +1 -0
  301. package/dist/zonos-elements/p-1ea68e3b.entry.js +1 -0
  302. package/dist/zonos-elements/{p-28d7b75d.entry.js → p-1ed530cc.entry.js} +1 -1
  303. package/dist/zonos-elements/p-289c8b1a.system.entry.js +1 -0
  304. package/dist/zonos-elements/{p-eb631432.system.entry.js → p-2a00c270.system.entry.js} +1 -1
  305. package/dist/zonos-elements/{p-be23cc91.system.entry.js → p-32bca9c8.system.entry.js} +1 -1
  306. package/dist/zonos-elements/p-37f53a79.entry.js +1 -0
  307. package/dist/zonos-elements/p-394cf1cf.js +1 -0
  308. package/dist/zonos-elements/{p-af910392.js → p-3ef27745.js} +1 -1
  309. package/dist/zonos-elements/{p-18e09138.system.entry.js → p-458fd100.system.entry.js} +1 -1
  310. package/dist/zonos-elements/{p-e8da4463.js → p-47fac33f.js} +1 -1
  311. package/dist/zonos-elements/p-49a764e9.system.entry.js +1 -0
  312. package/dist/zonos-elements/p-4fafb2a5.system.entry.js +1 -0
  313. package/dist/zonos-elements/p-4fb71a93.js +1 -0
  314. package/dist/zonos-elements/{p-dc09ca69.system.js → p-50287643.system.js} +1 -1
  315. package/dist/zonos-elements/p-50ea2036.system.js +1 -0
  316. package/dist/zonos-elements/p-5276c61b.system.entry.js +1 -0
  317. package/dist/zonos-elements/p-56ba5cbf.system.js +1 -0
  318. package/dist/zonos-elements/{p-5a0264e8.system.entry.js → p-5a113c3d.system.entry.js} +1 -1
  319. package/dist/zonos-elements/p-6308b347.entry.js +1 -0
  320. package/dist/zonos-elements/p-63d1b1fe.entry.js +1 -0
  321. package/dist/zonos-elements/p-7347ee7c.system.entry.js +1 -0
  322. package/dist/zonos-elements/p-7a6144b1.entry.js +1 -0
  323. package/dist/zonos-elements/p-7dd8e8ba.system.entry.js +1 -0
  324. package/dist/zonos-elements/p-8c26a080.system.js +1 -0
  325. package/dist/zonos-elements/p-96aabe02.entry.js +1 -0
  326. package/dist/zonos-elements/p-9cbbf261.system.entry.js +1 -0
  327. package/dist/zonos-elements/p-a33745e9.entry.js +1 -0
  328. package/dist/zonos-elements/{p-aca66e4b.entry.js → p-a4de3fb2.entry.js} +1 -1
  329. package/dist/zonos-elements/p-a682fd38.system.entry.js +1 -0
  330. package/dist/zonos-elements/p-abe7524f.system.js +1 -0
  331. package/dist/zonos-elements/{p-73174d0c.system.entry.js → p-b81a0577.system.entry.js} +1 -1
  332. package/dist/zonos-elements/p-ba1a111a.system.entry.js +1 -0
  333. package/dist/zonos-elements/p-ba43275e.entry.js +1 -0
  334. package/dist/zonos-elements/p-bd6a2095.entry.js +1 -0
  335. package/dist/zonos-elements/{p-f82e000f.system.entry.js → p-c4321084.system.entry.js} +1 -1
  336. package/dist/zonos-elements/{p-b58d2231.entry.js → p-cdf114a2.entry.js} +1 -1
  337. package/dist/zonos-elements/p-d5ae3cbb.system.entry.js +1 -0
  338. package/dist/zonos-elements/p-d5d7c8f5.entry.js +1 -0
  339. package/dist/zonos-elements/p-dd7729fd.system.entry.js +1 -0
  340. package/dist/zonos-elements/p-de339fb6.entry.js +1 -0
  341. package/dist/zonos-elements/p-e1255160.js +1 -0
  342. package/dist/zonos-elements/p-e8a9bc56.entry.js +1 -0
  343. package/dist/zonos-elements/{p-7f68c103.system.js → p-e99d79d9.system.js} +1 -1
  344. package/dist/zonos-elements/p-ec25f180.entry.js +1 -0
  345. package/dist/zonos-elements/{p-ead79548.system.js → p-f49dfd06.system.js} +1 -1
  346. package/dist/zonos-elements/{p-31fa76da.entry.js → p-f6f5f644.entry.js} +1 -1
  347. package/dist/zonos-elements/p-fcc4f140.system.js +1 -0
  348. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  349. package/dist/zonos-elements/zonos-elements.js +1 -1
  350. package/package.json +17 -18
  351. package/dist/cjs/zonos-address_2.cjs.entry.js +0 -161
  352. package/dist/cjs/zonos-badge.cjs.entry.js +0 -38
  353. package/dist/cjs/zonos-icon.cjs.entry.js +0 -35
  354. package/dist/collection/components/common/zonos-country-select/assets/arrowLeftBlue.svg +0 -1
  355. package/dist/components/zonos-logo2.js +0 -48
  356. package/dist/esm/getBorderRadius-9e4cb3b1.js +0 -16
  357. package/dist/esm/zonos-address_2.entry.js +0 -156
  358. package/dist/esm/zonos-badge.entry.js +0 -34
  359. package/dist/esm/zonos-icon.entry.js +0 -31
  360. package/dist/esm-es5/cart-7e7c7585.js +0 -1
  361. package/dist/esm-es5/getBorderRadius-9e4cb3b1.js +0 -1
  362. package/dist/esm-es5/localization-5d83fde2.js +0 -1
  363. package/dist/esm-es5/zonos-address_2.entry.js +0 -1
  364. package/dist/esm-es5/zonos-badge.entry.js +0 -1
  365. package/dist/esm-es5/zonos-button_2.entry.js +0 -1
  366. package/dist/esm-es5/zonos-cart-items_10.entry.js +0 -1
  367. package/dist/esm-es5/zonos-country-flag_4.entry.js +0 -1
  368. package/dist/esm-es5/zonos-icon.entry.js +0 -1
  369. package/dist/zonos-elements/p-027abb50.entry.js +0 -1
  370. package/dist/zonos-elements/p-09c5dc1b.system.entry.js +0 -1
  371. package/dist/zonos-elements/p-1156ae5d.system.entry.js +0 -1
  372. package/dist/zonos-elements/p-12ecf765.system.js +0 -1
  373. package/dist/zonos-elements/p-174239da.system.js +0 -1
  374. package/dist/zonos-elements/p-1c00ffea.system.entry.js +0 -1
  375. package/dist/zonos-elements/p-21793192.entry.js +0 -1
  376. package/dist/zonos-elements/p-2589a038.system.entry.js +0 -1
  377. package/dist/zonos-elements/p-3319e4db.entry.js +0 -1
  378. package/dist/zonos-elements/p-357f0c61.entry.js +0 -1
  379. package/dist/zonos-elements/p-410045c5.system.entry.js +0 -1
  380. package/dist/zonos-elements/p-4d0861e9.system.js +0 -1
  381. package/dist/zonos-elements/p-54ef8ff3.entry.js +0 -1
  382. package/dist/zonos-elements/p-6444a4b9.entry.js +0 -1
  383. package/dist/zonos-elements/p-65f4af1a.system.entry.js +0 -1
  384. package/dist/zonos-elements/p-661bc488.entry.js +0 -1
  385. package/dist/zonos-elements/p-6c47083f.entry.js +0 -1
  386. package/dist/zonos-elements/p-6d454281.entry.js +0 -1
  387. package/dist/zonos-elements/p-7748735d.entry.js +0 -1
  388. package/dist/zonos-elements/p-78886ed6.system.entry.js +0 -1
  389. package/dist/zonos-elements/p-8ebc0b64.js +0 -1
  390. package/dist/zonos-elements/p-a6f2e282.system.js +0 -1
  391. package/dist/zonos-elements/p-b035f9e5.system.js +0 -1
  392. package/dist/zonos-elements/p-b1ffb37b.entry.js +0 -1
  393. package/dist/zonos-elements/p-bd02a65c.entry.js +0 -1
  394. package/dist/zonos-elements/p-bea31a7b.system.entry.js +0 -1
  395. package/dist/zonos-elements/p-cfe4a318.js +0 -1
  396. package/dist/zonos-elements/p-e4a2a1b0.system.entry.js +0 -1
  397. package/dist/zonos-elements/p-f2733cc7.js +0 -1
  398. package/dist/zonos-elements/p-f342e7c7.entry.js +0 -1
  399. /package/dist/cjs/{index-3ead02fe.js → index-72767498.js} +0 -0
  400. /package/dist/esm/{index-81a199ef.js → index-b5be4dc3.js} +0 -0
  401. /package/dist/esm-es5/{index-81a199ef.js → index-b5be4dc3.js} +0 -0
  402. /package/dist/zonos-elements/{p-4d8545e1.js → p-58127116.js} +0 -0
  403. /package/dist/zonos-elements/{p-4d39efb6.system.js → p-d1ab0823.system.js} +0 -0
@@ -0,0 +1 @@
1
+ import{r as o,h as s,F as c,H as t}from"./p-58127116.js";import{i as e,c as n,a as i,b as a,s as h,d as r,e as l,f as u,g as d,h as z,j as k,k as m}from"./p-4fb71a93.js";import{l as p,a as g,t as f}from"./p-394cf1cf.js";import{z as v,m as b}from"./p-47fac33f.js";import{i as w}from"./p-81a54668.js";import{c as x}from"./p-b4b7f705.js";import{g as y}from"./p-1d16a6fb.js";import{i as C}from"./p-17550a10.js";import{s as B}from"./p-3ef27745.js";const I='<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="https://www.w3.org/2000/svg">\n<path fill-rule="evenodd" clip-rule="evenodd" d="M2.25 4.5C2.25 3.25736 3.25736 2.25 4.5 2.25H13.5C14.7426 2.25 15.75 3.25736 15.75 4.5V10.5C15.75 11.7426 14.7426 12.75 13.5 12.75H8.25C8.01393 12.75 7.79164 12.8611 7.65 13.05L6.3 14.85C5.87508 15.4166 5.2082 15.75 4.5 15.75C3.25736 15.75 2.25 14.7426 2.25 13.5V4.5ZM4.5 3.75C4.08579 3.75 3.75 4.08579 3.75 4.5V13.5C3.75 13.9142 4.08579 14.25 4.5 14.25C4.73607 14.25 4.95836 14.1389 5.1 13.95L6.45 12.15C6.87492 11.5834 7.5418 11.25 8.25 11.25H13.5C13.9142 11.25 14.25 10.9142 14.25 10.5V4.5C14.25 4.08579 13.9142 3.75 13.5 3.75H4.5ZM5.25 6C5.25 5.58579 5.58579 5.25 6 5.25H12C12.4142 5.25 12.75 5.58579 12.75 6C12.75 6.41421 12.4142 6.75 12 6.75H6C5.58579 6.75 5.25 6.41421 5.25 6ZM5.25 9C5.25 8.58579 5.58579 8.25 6 8.25H8.25C8.66421 8.25 9 8.58579 9 9C9 9.41421 8.66421 9.75 8.25 9.75H6C5.58579 9.75 5.25 9.41421 5.25 9Z" fill="#4D505A"/>\n</svg>\n',L='<svg color="var(--amino-gray-800)" fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="https://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z" data-is-secondary-color="true" fill="var(--amino-gray-200)" fill-rule="evenodd"></path><path clip-rule="evenodd" d="M8.293 8.293a1 1 0 0 1 1.414 0L12 10.586l2.293-2.293a1 1 0 1 1 1.414 1.414L13.414 12l2.293 2.293a1 1 0 0 1-1.414 1.414L12 13.414l-2.293 2.293a1 1 0 0 1-1.414-1.414L10.586 12 8.293 9.707a1 1 0 0 1 0-1.414Z" fill="currentColor" fill-rule="evenodd"></path></svg>',j=class{constructor(s){o(this,s),this.applyStripeTheme=async()=>{var o,s,c,t;const n=(null===(o=this.appearanceSettingsOverride)||void 0===o?void 0:o.theme)||v.appearance.theme;await e({overrideBorderRaidus:null===(s=this.appearanceSettingsOverride)||void 0===s?void 0:s.style,overridePrimaryColor:null===(c=this.appearanceSettingsOverride)||void 0===c?void 0:c.colorPrimary,overrideSecondaryColor:null===(t=this.appearanceSettingsOverride)||void 0===t?void 0:t.colorSecondary,overrideTheme:this.isMobile?n:void 0})},this.isShippableCountry=(o=!0)=>!(!p.localizationLoaded||!p.isShippableCountry&&(o&&g("Checkout: not shippable country"),1)),this.getCurrentLocalePageEnum=()=>{switch(n.step){case"customer-info":return"checkout_customer_info";case"shipping":return"checkout_shipping_info";case"payment":return"checkout_payment_info";default:return null}},this.appearanceSettingsOverride=void 0,this.preview=!1,this.mobile=!1,this.defaultAddress=null,this.forceDialogOpen=!1,this.open=this.forceDialogOpen,this.stripe=window.Zonos.stripe,this.submitLoading=!1,this.paymentError=!1,this.collapseReviewMobile=!1,this.isAttachError=!1,this.isMobile=!1,this.zonosReviewRef=void 0,this.storybookPaymentStatusOverride=void 0}async initCartInfoHandler(o){i(o.detail)}async closeDialogHandler(){B("zonos-checkout-close"),this.open=this.forceDialogOpen||!1,this.preview||"finish"!==n.step||a(),n.step="customer-info"}async buildCartAndInit(){if(v.checkoutSettings.buildCartDetail){g("build cart detail");const o=await v.checkoutSettings.buildCartDetail();await i(o)}if(!h.clientSecret){const o=await r();if(g(`stripeStoreInitCheckoutSession: ${o}`),!o)return!1}return await this.applyStripeTheme(),!0}attachCheckout(){const o=v.checkoutSettings.placeOrderButtonSelector;o&&document.querySelectorAll(o).forEach((o=>{o.getAttribute("data-zonos-checkout-attached")||(o.addEventListener("click",(async o=>{if(this.isShippableCountry()){o.preventDefault(),o.stopPropagation(),g("zonos checkout button clicked"),h.isFetchingSession=!0,this.open=!0;try{if(!await this.buildCartAndInit())throw new Error("Error building cart");B("zonos-checkout-start")}catch(o){h.isFetchingSession=!1,l({messages:[f("There's been an error creating your checkout session. Please reload and try again or contact support if the error persists")],title:f("Error creating Checkout")})}}})),o.removeAttribute("disabled"),o.setAttribute("data-zonos-checkout-attached","true"))}))}appearanceSettingsOverrideChanged(){this.appearanceSettingsOverride&&this.applyStripeTheme()}async init(){h.stripe=window.Zonos.stripe,this.stripe=window.Zonos.stripe;const o=setInterval((()=>{const s=window.Zonos.internationalHideSelector;if(!s)return void clearInterval(o);const c=this.isShippableCountry(!1),t=document.querySelectorAll(s);c?null==t||t.forEach((o=>{const s=o;s.setAttribute("data-zonos-checkout-original-display",s.style.display),s.style.display="none"})):null==t||t.forEach((o=>{const s=o,c=s.getAttribute("data-zonos-checkout-original-display")||getComputedStyle(s).display;s.style.display=c||"initial"}))}),100),s=setInterval((()=>{h.stripe=window.Zonos.stripe,this.stripe=window.Zonos.stripe,this.stripe?(this.storybookPaymentStatusOverride||(g("init checkout"),this.preview||this.forceDialogOpen?this.buildCartAndInit():(this.attachCheckout(),new MutationObserver((()=>{this.attachCheckout()})).observe(document.body,{childList:!0,subtree:!0}))),clearInterval(s)):g("waiting for stripe to be loaded")}),50);setTimeout((()=>{clearInterval(s)}),1e4)}async setToFinishStep(o){n.step="finish",this.storybookPaymentStatusOverride=o}async handleCustomerInfoContinue(){this.submitLoading=!0,await u();const o=setInterval((()=>{!n.landedCostData&&h.isFetchingLandedCost||(n.landedCostData&&d(),this.submitLoading=!1,clearInterval(o))}),500)}async handleShippingContinue(){this.submitLoading=!0,setTimeout((()=>{d(),this.submitLoading=!1}),500)}async handleCheckoutPaymentContinue(){this.paymentError=!1,this.submitLoading=!0;try{await z(),d()}catch(o){console.error(o),this.paymentError=!0}this.submitLoading=!1}async handleFinishClick(){if(k(),this.preview)return n.step="customer-info",void await this.init();a();const o=window.location.href.split("?")[0];window.history.replaceState({},document.title,o),this.open=!1,window.location.reload()}async handleBackClick(){"customer-info"!==n.step?m():await this.closeDialogHandler()}handleWindowResize(){this.isMobile=w(this.mobile),this.applyStripeTheme(),g(`mobile: ${this.isMobile}`)}handleMobileChange(){this.isMobile=w(this.mobile),this.applyStripeTheme(),g(`mobile: ${this.isMobile}`)}componentWillLoad(){this.init(),this.isMobile=w(this.mobile),g(`mobile: ${this.isMobile}`)}disconnectedCallback(){k(),a()}render(){var o;const e="finish"!==n.step&&"error"!==n.step&&!h.stripeElements||h.isFetchingSession,{colorPrimary:i,colorSecondary:a,logoUrl:r,style:l}=b(v.appearance,this.appearanceSettingsOverride),u="ENABLED"===v.appearance.zonosAttribution,d=v.appearance.theme,z=i&&C(i)?"DARK":"LIGHT",k=this.isMobile?d:z,m=this.isMobile?void 0:a,{customMessages:g}=p,w=null===(o=g.find((o=>"checkout_default"===o.pageName)))||void 0===o?void 0:o.message,B=this.getCurrentLocalePageEnum(),j=g.filter((o=>o.pageName===B)),H=()=>s("div",{class:"zonos--logo"},r&&s("img",{alt:`${v.organizationName} logo`,src:r,width:100})),S=()=>s("zonos-v-stack",null,H(),j.map((o=>s("zonos-custom-message",{icon:I,message:o.message}))),s("div",null,s("zonos-button",{class:"zonos--back-button",icon:s("zonos-icon",{"aria-label":"Back to previous step",content:'<svg color="var(--amino-gray-800)" fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="https://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M9.707 16.707a1 1 0 0 1-1.414 0l-3.647-3.646a1.5 1.5 0 0 1 0-2.122l3.647-3.646a1 1 0 0 1 1.414 1.414L7.414 11H19a1 1 0 1 1 0 2H7.414l2.293 2.293a1 1 0 0 1 0 1.414Z" fill="currentColor" fill-rule="evenodd"></path></svg>'}),noBackground:!0,noPaddingLeft:!0,noPaddingRight:!0,onClick:()=>this.handleBackClick(),theme:k},f("Back")))),M=()=>s("div",{class:"zonos--content",style:{"--border-radius":y(l)}},"finish"!==n.step&&"error"!==n.step&&s(c,null,s("div",{class:"zonos--left","data-theme":k,style:{"--primary-color":this.isMobile?"":i}},!this.isMobile&&S(),"customer-info"===n.step&&s("zonos-customer-info",{continueLoading:this.submitLoading,defaultAddress:this.defaultAddress,onContinueClicked:()=>this.handleCustomerInfoContinue(),submitBtnColor:m}),"shipping"===n.step&&s("zonos-shipping",{continueLoading:this.submitLoading,onContinueClicked:()=>this.handleShippingContinue(),submitBtnColor:m}),"payment"===n.step&&s("zonos-checkout-payment",{continueLoading:this.submitLoading,onContinueClicked:()=>this.handleCheckoutPaymentContinue(),paymentError:this.paymentError,submitBtnColor:m})),s("div",{class:"zonos--right","data-theme":d},this.isMobile&&S(),!this.isMobile&&s("zonos-button",{class:"zonos--close-button",icon:s("zonos-icon",{"aria-label":"Close checkout dialog",content:L}),noBackground:!0,onClick:()=>this.closeDialogHandler()}),s("div",{class:"flex--wrapper"},s("div",{class:"zonos--wrapper"},s("zonos-review",{collapsed:this.collapseReviewMobile,mobile:this.isMobile,onClick:()=>{this.isMobile&&(this.collapseReviewMobile=!this.collapseReviewMobile)}}),s("zonos-collapse",{collapsed:this.collapseReviewMobile&&this.isMobile},s("zonos-cart-items",null))),s("zonos-v-stack",{spacing:16},s("zonos-cart-subtotal",null),s("zonos-custom-message",{class:"zonos--checkout-default-message",icon:I,message:w}))))),("finish"===n.step||"error"===n.step)&&s("div",{class:"zonos--done","data-theme":d},s("div",{class:"zonos--header"},H(),s("zonos-button",{class:"zonos--close-button",icon:s("zonos-icon",{"aria-label":"Close checkout dialog",content:L}),noBackground:!0,onClick:()=>this.handleFinishClick(),theme:d})),s("zonos-checkout-finish",{borderRadius:l,onCloseClick:()=>this.handleFinishClick(),overrideNotification:"error"===n.step&&n.error?Object.assign(Object.assign({},n.error),{type:"error"}):void 0,storybookForceStatus:this.storybookPaymentStatusOverride})),s("zonos-checkout-footer",null));return s(t,{class:x(["zonos--checkout zonos--elements",u&&"has-footer",this.preview&&"preview",this.isMobile&&"mobile"])},this.preview?M():s("zonos-dialog",{borderStyle:l,"data-theme":d,height:"980px",isLoading:e,mobile:this.isMobile,noBodyPadding:!0,noBorder:!0,noClickOutside:!0,noCloseButton:!0,onCloseDialog:()=>this.closeDialogHandler(),open:this.open,width:"1200px"},M()))}static get assetsDirs(){return["assets"]}static get watchers(){return{appearanceSettingsOverride:["appearanceSettingsOverrideChanged"],mobile:["handleMobileChange"]}}};j.style=".sc-zonos-checkout-h{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-checkout-h *.sc-zonos-checkout{font-family:var(--font-family, Inter), Inter}.sc-zonos-checkout-h img.sc-zonos-checkout{max-width:100%}.sc-zonos-checkout-h dl.sc-zonos-checkout,.sc-zonos-checkout-h dd.sc-zonos-checkout,.sc-zonos-checkout-h h1.sc-zonos-checkout,.sc-zonos-checkout-h h2.sc-zonos-checkout,.sc-zonos-checkout-h h3.sc-zonos-checkout,.sc-zonos-checkout-h h4.sc-zonos-checkout,.sc-zonos-checkout-h h5.sc-zonos-checkout,.sc-zonos-checkout-h h6.sc-zonos-checkout,.sc-zonos-checkout-h hr.sc-zonos-checkout,.sc-zonos-checkout-h figure.sc-zonos-checkout,.sc-zonos-checkout-h p.sc-zonos-checkout,.sc-zonos-checkout-h pre.sc-zonos-checkout{margin:0}.sc-zonos-checkout-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-checkout-h *.sc-zonos-checkout::-webkit-scrollbar{width:10px}.sc-zonos-checkout-h *.sc-zonos-checkout::-webkit-scrollbar-track{background:var(--amino-gray-50)}.sc-zonos-checkout-h *.sc-zonos-checkout::-webkit-scrollbar-thumb{border-radius:10px;background:#cccccc;border:3px solid transparent;background-clip:content-box}.sc-zonos-checkout-h *.sc-zonos-checkout::-webkit-scrollbar-thumb:hover{background:#d6d6d6}.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout{display:-ms-flexbox;display:flex;height:100%;overflow:hidden;border-radius:var(--border-radius, var(--amino-radius-10))}.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--left.sc-zonos-checkout,.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--right.sc-zonos-checkout{-ms-flex:1;flex:1;padding:var(--amino-space-48) var(--amino-space-56) var(--amino-space-76)}.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--left.sc-zonos-checkout{background-color:var(--primary-color, var(--amino-gray-0));border-right:1px solid var(--amino-gray-200)}.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--right.sc-zonos-checkout{background-color:var(--amino-gray-0)}.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--done.sc-zonos-checkout{width:100%;max-height:100%;height:100%;overflow:auto;-ms-flex-direction:column;flex-direction:column;background-color:var(--amino-gray-0);-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;padding:var(--amino-space-24);padding-bottom:50px}.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--done.sc-zonos-checkout .zonos--header.sc-zonos-checkout{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;width:100%}.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--done.sc-zonos-checkout .zonos--header.sc-zonos-checkout img.sc-zonos-checkout{width:150px;min-width:150px}.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--done.sc-zonos-checkout .zonos--logo.sc-zonos-checkout{margin-bottom:0}.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--done.sc-zonos-checkout zonos-checkout-finish.sc-zonos-checkout{-ms-flex:1;flex:1}.sc-zonos-checkout-h .zonos--left.sc-zonos-checkout{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.sc-zonos-checkout-h .zonos--left.sc-zonos-checkout .zonos--back-button.sc-zonos-checkout{margin-bottom:var(--amino-space-24)}.sc-zonos-checkout-h .zonos--left.sc-zonos-checkout .zonos--wrapper.sc-zonos-checkout{padding:0 var(--amino-space-8) var(--amino-space-8)}.sc-zonos-checkout-h .zonos--left.sc-zonos-checkout .zonos--payment-error-banner.sc-zonos-checkout{margin-top:var(--amino-space-24)}.sc-zonos-checkout-h .zonos--right.sc-zonos-checkout{position:relative}.sc-zonos-checkout-h .zonos--right.sc-zonos-checkout .zonos--close-button.sc-zonos-checkout{position:absolute;right:var(--amino-space-24);top:var(--amino-space-24)}.sc-zonos-checkout-h .zonos--wrapper.sc-zonos-checkout{overflow:auto;max-height:100%;position:relative}.sc-zonos-checkout-h .flex--wrapper.sc-zonos-checkout{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;max-height:100%}.sc-zonos-checkout-h .zonos--logo.sc-zonos-checkout{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.sc-zonos-checkout-h .zonos--checkout-default-message.sc-zonos-checkout{margin-left:var(--amino-space-76);margin-bottom:var(--amino-space-8)}.preview.sc-zonos-checkout-h{min-width:500px;margin:auto}.preview.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout{border:var(--amino-border)}.preview.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--done.sc-zonos-checkout{padding:var(--amino-space-32)}.mobile.sc-zonos-checkout-h{min-width:auto}.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;overflow:auto;border-radius:0;max-height:100%;height:100%;border:0}.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--left.sc-zonos-checkout,.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--right.sc-zonos-checkout{padding:var(--amino-space-12);padding-bottom:var(--amino-space-76)}@media (max-width: 768px){.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--left.sc-zonos-checkout,.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--right.sc-zonos-checkout{padding-bottom:var(--amino-space-0)}}.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--left.sc-zonos-checkout{-ms-flex-order:2;order:2;border-right:none}.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--right.sc-zonos-checkout{-ms-flex-order:1;order:1;padding-top:var(--amino-space-16)}.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--right.sc-zonos-checkout .zonos--wrapper.sc-zonos-checkout{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border:var(--amino-border);border-radius:var(--border-radius, var(--amino-radius-10));background-color:var(--amino-gray-50);padding:var(--amino-space-12);margin-top:var(--amino-space-32)}.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--right.sc-zonos-checkout .zonos--review.sc-zonos-checkout{margin-bottom:0}.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--right.sc-zonos-checkout .zonos--cart-items.sc-zonos-checkout{margin-top:var(--amino-space-8)}.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout zonos-checkout-footer.sc-zonos-checkout{-ms-flex-order:3;order:3}.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--wrapper.sc-zonos-checkout{max-height:100%}.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--footer.sc-zonos-checkout{-ms-flex-order:3;order:3}.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--done.sc-zonos-checkout{width:auto}.mobile.sc-zonos-checkout-h .zonos--cart-subtotal.sc-zonos-checkout{margin:0}";export{j as zonos_checkout}
@@ -0,0 +1 @@
1
+ System.register(["./p-d1ab0823.system.js","./p-50287643.system.js","./p-23e7c655.system.js"],(function(t){"use strict";var s,e,o,i,n,r;return{setters:[function(t){s=t.r;e=t.h;o=t.a;i=t.H},function(t){n=t.d},function(t){r=t.c}],execute:function(){var a=":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--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(--filter-color);filter:var(--filter-color);width:var(--width)}";var h=a;var f=t("zonos_logo",function(){function t(t){s(this,t);this.theme="LIGHT";this.width="auto"}t.prototype.render=function(){var t=this.theme==="DARK"?"invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%)":"whiteinvert(0%) sepia(100%) saturate(32%) hue-rotate(92deg) brightness(107%) contrast(107%)";return e(i,{key:"5e97dd0219dde036eef02757f055354390b18c3d",class:r(["zonos--elements zonos--logo"]),style:{"--filter-color":t,"--font-family":n(),"--width":this.width}},e("img",{key:"44c720d0a7bf3cf5a6bd783f21c8493d3a53ec70",alt:"Zonos Logo",src:o("./assets/ZonosLogo.png")}))};Object.defineProperty(t,"assetsDirs",{get:function(){return["assets"]},enumerable:false,configurable:true});return t}());f.style=h}}}));
@@ -0,0 +1 @@
1
+ import{r as o,a as s,h as t,H as n,F as e,c as i,d as a}from"./p-58127116.js";import{c,s as r,l,j as h,m as d,n as p}from"./p-4fb71a93.js";import{t as m,h as u,l as f}from"./p-394cf1cf.js";import{z,d as g}from"./p-47fac33f.js";import{g as b}from"./p-1d16a6fb.js";import{s as y}from"./p-3ef27745.js";import{c as C}from"./p-b4b7f705.js";import{i as v}from"./p-17550a10.js";import{l as x}from"./p-16ad90ca.js";import{i as k}from"./p-81a54668.js";const w=({amount:o,currency:s,showCurrencyText:t})=>t?`${new Intl.NumberFormat("en-US",{currency:s,style:"currency"}).format(o)} ${s}`:new Intl.NumberFormat("en-US",{currency:s,style:"currency"}).format(o),L=class{constructor(s){o(this,s),this.errorImages=[]}render(){var o;const e=s("./assets/empty-item.jpeg"),i=(null===(o=c.exchangeRate)||void 0===o?void 0:o.rate)||1;return t(n,{key:"945bd402bb5f8a73bc02dc8f30d187c43b78050e",class:"zonos--cart-items zonos--elements"},t("table",{key:"600b545e20eb81d7e744c2bf66a9cec2eb68c8e7",class:"zonos--cart-table"},t("tbody",{key:"cd12a4372e97b8018af37433e6b2daba5403e621"},c.items.map((o=>{const s=o.imageUrl;return t("tr",{class:"zonos--cart-item"},t("td",{class:"zonos--column zonos--cart-item-image"},s&&!this.errorImages.includes(s)?t("img",{alt:o.name,onError:()=>{this.errorImages=[...this.errorImages,s]},src:o.imageUrl,style:{"min-width":"40px"},width:40}):t("img",{alt:o.name,src:e,width:40})),t("td",{class:"zonos--column zonos--cart-item-name"},t("zonos-text",{type:"label"},o.name)),t("td",{class:"zonos--column zonos--cart-item-price"},t("zonos-text",{type:"semiBoldLabel"},w({amount:o.amount*o.quantity*i,currency:c.currency}))))})))))}static get assetsDirs(){return["assets"]}};L.style=":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--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 .zonos--cart-table{width:100%;border:none;border-collapse:collapse;overflow:auto;font-size:var(--amino-font-size-base)}:host .zonos--cart-table .zonos--column{padding:var(--amino-space-8);font-size:var(--amino-font-size-base)}:host .zonos--cart-table .zonos--column:last-child{text-align:right}:host .zonos--cart-table .zonos--column:first-child{width:60px}:host img{min-width:40px}";const Z=class{constructor(s){o(this,s)}render(){const o=c.total-c.dutiesTaxFees,s="payment"===c.step||"shipping"===c.step;return t(n,{class:"zonos--cart-subtotal zonos--elements"},t("table",{class:"zonos--cart-table"},t("tr",{class:"zonos--row zonos--cart-subtotal"},t("td",{class:"zonos--column"}),t("td",{class:"zonos--column zonos--cart-subtotal-title"},t("zonos-text",{type:"semiBoldLabel"},m("Cart subtotal"))),t("td",{class:"zonos--column zonos--cart-subtotal-price"},t("zonos-text",{type:"semiBoldLabel"},w({amount:c.subtotal,currency:c.currency})))),t("tr",{class:"zonos--row zonos--cart-shipping"},t("td",{class:"zonos--column"}),t("td",{class:"zonos--column zonos--cart-subtotal-title"},c.selectedShippingOption?t(e,null,t("zonos-text",{class:"zonos--title",type:"semiBoldLabel"},c.selectedShippingOption.displayName),c.selectedShippingOptionTransitTime&&t("zonos-text",{class:"zonos--caption",type:"caption"},c.selectedShippingOptionTransitTime," ",m("business days"))):t(e,null,t("zonos-text",{class:"zonos--title",type:"semiBoldLabel"},m("Shipping")),t("zonos-text",{class:"zonos--caption",type:"caption"},m("No shipping method selected")))),t("td",{class:"zonos--column zonos--cart-subtotal-price"},c.shipping?w({amount:c.shipping,currency:c.currency}):"-")),s&&t("tr",{class:"zonos--row zonos--cart-duties"},t("td",{class:"zonos--column"}),t("td",{class:"zonos--column zonos--cart-subtotal-title"},t("div",{class:"zonos--title-with-icon"},t("zonos-text",{class:"zonos--title",type:"semiBoldLabel"},m("Duties, taxes, and fees")),t("zonos-tooltip",{label:m("Nothing due at the door")},t("zonos-icon",{"aria-label":"Learn more about duties, taxes, and fees",content:'<svg viewBox="0 0 17 16" fill="none" xmlns="https://www.w3.org/2000/svg">\n<path fill-rule="evenodd" clip-rule="evenodd" d="M1.96704 8.00065C1.96704 4.31875 4.93024 1.33398 8.58554 1.33398C12.2408 1.33398 15.204 4.31875 15.204 8.00065C15.204 11.6826 12.2408 14.6673 8.58554 14.6673C4.93024 14.6673 1.96704 11.6825 1.96704 8.00065Z" fill="#C5C6CA"/>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M8.58543 4.66016C8.95096 4.66016 9.24728 4.95863 9.24728 5.32682V5.33349C9.24728 5.70168 8.95096 6.00016 8.58543 6.00016C8.2199 6.00016 7.92358 5.70168 7.92358 5.33349V5.32682C7.92358 4.95863 8.2199 4.66016 8.58543 4.66016ZM8.58543 7.33349C8.95096 7.33349 9.24728 7.63197 9.24728 8.00016V10.6668C9.24728 11.035 8.95096 11.3335 8.58543 11.3335C8.2199 11.3335 7.92358 11.035 7.92358 10.6668V8.00016C7.92358 7.63197 8.2199 7.33349 8.58543 7.33349Z" fill="#4D505A"/>\n</svg>\n',size:16}))),!!c.isSelectedShippingAboveDeminimis&&t("zonos-text",{textColor:"gray-800",type:"body"},m("Order is over the de minimis threshold for both duty and tax"))),t("td",{class:"zonos--column zonos--cart-subtotal-price"},t("div",{class:"zonos--cart-duty-tax-price"},c.dutiesTaxFees?w({amount:c.dutiesTaxFees,currency:c.currency}):"-",c.isSelectedShippingGuarantee&&t("zonos-badge",null,m("Guaranteed"))))),t("tr",{class:"zonos--row zonos--cart-pay-total"},t("td",{class:"zonos--column"}),t("td",{class:"zonos--column"},t("zonos-text",{class:"zonos--title",type:"semiBoldLabel"},m("Order total"))),t("td",{class:"zonos--column"},t("zonos-text",{type:"semiBoldLabel"},w({amount:"shipping"===c.step?o:c.total,currency:c.currency}))))))}static get assetsDirs(){return["assets"]}};Z.style=":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--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 .zonos--cart-table{width:100%;border:none;border-collapse:collapse;overflow:auto;font-size:var(--amino-font-size-base)}:host .zonos--cart-table .zonos--column{padding:var(--amino-space-20) var(--amino-space-8);vertical-align:top}:host .zonos--cart-table .zonos--column:last-child{text-align:right}:host .zonos--cart-table .zonos--column:first-child{width:60px}:host .zonos--title-with-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:var(--amino-space-8)}:host .zonos--cart-subtotal-title,:host .zonos--cart-subtotal-price{border-bottom:1px solid var(--amino-gray-200)}:host .zonos--cart-duty-tax-price{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:end;align-items:flex-end;gap:5px}:host .zonos--cart-subtotal-price{text-align:right}";const I=class{constructor(s){o(this,s),this.closeClick=i(this,"closeClick",7),this.pullOrder=async()=>{var o,s;const t=c.checkoutSessionId,{errors:n,json:e}=await u(`https://v1.route.js.zonos.com/api/zonos-elements/get-order?checkoutSessionId=${t}`);return n.length||!(null==e?void 0:e.id)?null:(await(null===(s=(o=z.checkoutSettings).onOrderSuccess)||void 0===s?void 0:s.call(o,e)),e)},this.handleSuccessBehavior=o=>{const{successBehavior:s}=z.checkoutSettings;switch(s){case"REDIRECT_TO_SUCCESS_PAGE":const s=z.checkoutSettings.successRedirectUrl;s&&(window.location.href=`${s}?zOrderNumber=${o}`);break;case"CLOSE_MODAL":this.closeClickHandler()}},this.getPullOrder=async(o=0)=>{const s=await this.pullOrder();if(s)this.order=s,this.handleSuccessBehavior(s.id),this.isLoading=!1;else if(!s&&o<5)await new Promise((o=>setTimeout(o,1e3))),await this.getPullOrder(o+1);else{this.isLoading=!1;const o={endpoint:"https://v1.route.js.zonos.com/api/zonos-elements/get-order",errors:["Order not found after multiple attempts"],metadata:{checkoutSessionId:c.checkoutSessionId||"",domain:window.location.hostname,storeId:z.storeId}};u("https://v1.route.js.zonos.com/api/zonos-elements/log-error",{body:o,method:"POST"})}},this.checkPaymentStatus=async()=>{this.isLoading=!0;const o=new URLSearchParams(window.location.search).get("payment_intent_client_secret")||r.clientSecret;if(o||this.storybookForceStatus){const{error:s,messages:t}=await l({clientSecret:o,storybookForceStatus:this.storybookForceStatus});if(this.notificationType=s?"error":"success",this.notificationMessages=t||[],this.notificationTitle=m(s?"Payment failed":"You're all set!"),s)y("zonos-checkout-payment-fail");else{y("zonos-checkout-success");const o=new CustomEvent("zonos-checkout-success",{detail:{message:"Zonos Checkout successfully processed order"}});document.dispatchEvent(o)}"success"===this.notificationType&&(this.isLoading=!0,this.getPullOrder())}h(),this.isLoading=!1},this.closeClickHandler=()=>{this.closeClick.emit()},this.borderRadius="ROUNDED",this.storybookForceStatus=void 0,this.overrideNotification=void 0,this.isLoading=!0,this.notificationType="success",this.notificationTitle="",this.notificationMessages=[],this.order=null}componentDidLoad(){if(this.overrideNotification)return this.notificationType=this.overrideNotification.type,this.notificationTitle=this.overrideNotification.title,this.notificationMessages=this.overrideNotification.messages,void(this.isLoading=!1);this.checkPaymentStatus()}render(){return t(n,{key:"9a09eb68e5e6d256f72798bb5119ad1ff467fd70",class:"zonos--checkout-finish zonos--elements",style:{"--border-radius":b(this.borderRadius)}},this.isLoading&&t("div",{class:"loading-wrapper"},t("zonos-spinner",null)),!this.isLoading&&t(e,null,t("div",{class:"zonos--group"},t("zonos-icon","success"===this.notificationType?{"aria-label":"Order success",content:'<svg color="var(--amino-blue-800)" fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="https://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Z" data-is-secondary-color="true" fill="var(--amino-blue-100)" fill-rule="evenodd"></path><path clip-rule="evenodd" d="M15.707 9.293a1 1 0 0 1 0 1.414l-3.646 3.647a1.5 1.5 0 0 1-2.122 0l-1.646-1.647a1 1 0 1 1 1.414-1.414L11 12.586l3.293-3.293a1 1 0 0 1 1.414 0Z" fill="currentColor" fill-rule="evenodd"></path></svg>',iconColor:"blue-800",size:50}:{"aria-label":"Order failed",content:'<svg color="var(--amino-red-800)" fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="https://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z" data-is-secondary-color="true" fill="var(--amino-red-200)" fill-rule="evenodd"></path><path clip-rule="evenodd" d="M8.293 8.293a1 1 0 0 1 1.414 0L12 10.586l2.293-2.293a1 1 0 1 1 1.414 1.414L13.414 12l2.293 2.293a1 1 0 0 1-1.414 1.414L12 13.414l-2.293 2.293a1 1 0 0 1-1.414-1.414L10.586 12 8.293 9.707a1 1 0 0 1 0-1.414Z" fill="currentColor" fill-rule="evenodd"></path></svg>',iconColor:"red-800",size:50}),t("zonos-text",{class:"zonos--title",type:"semiBoldSubheader"},this.notificationTitle),t("zonos-text",null,this.notificationMessages.map((o=>t(e,null,o,t("br",null))))),t("zonos-button",{onClick:()=>this.closeClickHandler(),size:"md",variant:"primary"},m("Keep shopping")))))}static get assetsDirs(){return["assets"]}};I.style=":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--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 .zonos--group{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;margin-bottom:var(--amino-space-24);border-radius:var(--border-radius, 10px);gap:var(--amino-space-24);max-width:360px;width:auto;margin:auto;margin-top:var(--amino-space-24);background-color:var(--amino-gray-50);padding:var(--amino-space-20)}:host zonos-button{width:100%}:host .loading-wrapper{min-height:300px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}";const M=class{constructor(s){o(this,s),this.showDialog=!1}handleGlobalClick(o){!this.el.contains(o.target)&&this.showDialog&&(this.showDialog=!1)}toggleDialog(){this.showDialog=!this.showDialog}render(){var o,s;const e=null===(o=z.appearance)||void 0===o?void 0:o.colorPrimary,i=e&&v(e)?"DARK":"LIGHT",a=null===(s=x.find((o=>o.code===f.selectedLocale)))||void 0===s?void 0:s.label;return t(n,{key:"cadd2ef8877c716cdeb1f5f40642e41cabc2a55d",class:"zonos--elements"},t("div",{key:"480995fd1ca7bc41702d15dd40d64e02a9ba09dd",class:"zonos--checkout-footer","data-theme":i,style:{"--primary-color":e}},t("div",{key:"b83ebb3203542f7f4a227b50b26010cbeb914294",class:"zonos--checkout-locale-wrapper"},t("zonos-button",{key:"66ad21d85629d159b4ff3341e82c92d6bd19ceca",class:"zonos--checkout-footer-language-button",icon:t("zonos-icon",{"aria-label":"Language select",content:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" color="var(--amino-gray-1200)" xmlns="http://www.w3.org/2000/svg">\n<path fill-rule="evenodd" clip-rule="evenodd" d="M20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12ZM11.4709 5.80634C11.7686 5.53723 11.9541 5.5 12 5.5C12.0459 5.5 12.2314 5.53723 12.5291 5.80634C12.8115 6.06164 13.1289 6.46913 13.4271 7.03651C13.9505 8.03191 14.3838 9.46098 14.48 11.25H9.51996C9.61624 9.46098 10.0495 8.03191 10.5729 7.03651C10.8711 6.46913 11.1885 6.06164 11.4709 5.80634ZM8.01802 11.25C8.11591 9.23031 8.60319 7.55958 9.24516 6.33849C9.29983 6.23451 9.35585 6.13335 9.41312 6.03514C7.32916 6.94017 5.81218 8.90533 5.5428 11.25H8.01802ZM5.5428 12.75H8.01802C8.11591 14.7697 8.60319 16.4404 9.24516 17.6615C9.29983 17.7655 9.35585 17.8666 9.41312 17.9649C7.32916 17.0598 5.81218 15.0947 5.5428 12.75ZM9.51996 12.75H14.48C14.3838 14.539 13.9505 15.9681 13.4271 16.9635C13.1289 17.5309 12.8115 17.9384 12.5291 18.1937C12.2314 18.4628 12.0459 18.5 12 18.5C11.9541 18.5 11.7686 18.4628 11.4709 18.1937C11.1885 17.9384 10.8711 17.5309 10.5729 16.9635C10.0495 15.9681 9.61624 14.539 9.51996 12.75ZM15.982 12.75C15.8841 14.7697 15.3968 16.4404 14.7548 17.6615C14.7002 17.7655 14.6441 17.8666 14.5869 17.9649C16.6708 17.0598 18.1878 15.0947 18.4572 12.75H15.982ZM18.4572 11.25C18.1878 8.90533 16.6708 6.94017 14.5869 6.03514C14.6441 6.13335 14.7002 6.23451 14.7548 6.33849C15.3968 7.55958 15.8841 9.23031 15.982 11.25H18.4572Z" fill="currentColor"/>\n</svg>\n',iconColor:"gray-700"}),onClick:()=>this.toggleDialog(),variant:"subtle"},a),t("div",{key:"1e8dce34f3866570f267233644c6d5549cf02c9b",class:C(["zonos--checkout-footer-dialog",this.showDialog&&"zonos--checkout-footer-dialog-open"])},t("zonos-language-select",{key:"194aeb20273058577d2cbf3b72eef5f7152129e6",handleOnClose:()=>this.toggleDialog()}))),t("div",{key:"56b5f28d98eeb5390b59da3dfbc072f967e945a0",class:"zonos--checkout-footer-icon-wrapper"},t("zonos-text",{key:"b098a9c89d4855d388372b20c94ee3582cc4e9df",type:"caption"},"Powered by"),t("a",{key:"0652328fc74701168e5ddec2e0662208498e4557",href:"https://zonos.com",target:"_blank",title:"Zonos website"},t("zonos-icon",{key:"826323504ca56c3216524d3a9a49f820162aeb85",autoHeight:!0,content:'<svg width="105" height="29" viewBox="0 0 105 29" fill="none" color="var(--amino-gray-1200)" xmlns="https://www.w3.org/2000/svg">\n<path d="M38.634 18.7135C38.5431 18.7135 38.4691 18.639 38.4691 18.5476V18.2661C38.4691 18.2318 38.4798 18.198 38.4995 18.1701L43.7197 10.7556H38.9257C38.8348 10.7556 38.7609 10.6811 38.7609 10.5894V9.97732C38.7609 9.88564 38.8348 9.81112 38.9257 9.81112H45.0832C45.1741 9.81112 45.248 9.88564 45.248 9.97732V10.2098C45.248 10.2447 45.2371 10.2785 45.217 10.3067L39.9266 17.7325H45.0832C45.1741 17.7325 45.248 17.807 45.248 17.8987V18.5476C45.248 18.639 45.1741 18.7135 45.0832 18.7135H38.634ZM73.9183 18.7135C73.8691 18.7135 73.8221 18.6911 73.7907 18.6525L68.3512 11.9368V18.5476C68.3512 18.639 68.2775 18.7135 68.1867 18.7135H67.5301C67.4393 18.7135 67.3653 18.639 67.3653 18.5476V9.97732C67.3653 9.88564 67.4393 9.81112 67.5301 9.81112H67.8103C67.8598 9.81112 67.9065 9.83381 67.9378 9.87276L73.3658 16.5991V9.97732C73.3658 9.88564 73.4394 9.81112 73.5303 9.81112H74.174C74.2649 9.81112 74.3388 9.88564 74.3388 9.97732V18.5476C74.3388 18.639 74.2649 18.7135 74.174 18.7135H73.9183ZM100.087 18.7141C98.8032 18.7141 97.1746 18.2161 96.4548 16.8193C96.4348 16.781 96.4319 16.7365 96.4454 16.6957C96.4592 16.6553 96.489 16.6215 96.5281 16.6025L97.111 16.3173C97.1348 16.3057 97.1599 16.3002 97.1847 16.3002C97.2448 16.3002 97.3028 16.3327 97.3319 16.3888C97.8139 17.3207 99.0828 17.808 100.087 17.808C100.852 17.808 102.631 17.6525 102.631 16.2122C102.643 15.088 101.285 14.8338 99.9724 14.5875C98.4341 14.2931 96.6917 13.9592 96.6917 12.2895C96.6792 11.682 96.8804 11.165 97.2896 10.7562C97.8757 10.1717 98.9214 9.82247 100.087 9.82247C101.425 9.82247 102.489 10.0755 103.334 11.3085C103.359 11.3453 103.368 11.3907 103.358 11.4339C103.348 11.4772 103.32 11.5146 103.281 11.537L102.748 11.8457C102.721 11.8611 102.693 11.8681 102.664 11.8681C102.609 11.8681 102.555 11.8411 102.524 11.7924C101.947 10.8862 101.011 10.7507 100.085 10.7394C99.8405 10.7394 97.6773 10.782 97.6773 12.2652C97.6773 13.1607 98.6534 13.4051 100.143 13.6755L100.233 13.6927C101.819 13.9908 103.617 14.3287 103.617 16.2232C103.602 18.5344 100.911 18.7141 100.087 18.7141ZM56.3158 10.7271C55.3007 10.7271 54.4408 11.0451 53.8295 11.647C53.183 12.2833 52.8304 13.2122 52.837 14.2625C52.8483 15.9702 53.9413 17.808 56.3158 17.808C58.7149 17.808 59.8074 15.9705 59.8074 14.2637C59.8074 12.5032 58.7278 10.7271 56.3158 10.7271ZM56.3158 18.7264C53.2572 18.7264 51.8637 16.4066 51.8637 14.2511C51.8637 12.0411 53.2406 9.81112 56.3158 9.81112C57.6053 9.81112 58.7055 10.2233 59.4978 11.0022C60.3241 11.8148 60.7751 12.9776 60.7685 14.2769C60.7563 16.4198 59.358 18.7264 56.3158 18.7264ZM85.3883 10.7271C84.3733 10.7271 83.5138 11.0448 82.9024 11.6461C82.2556 12.2824 81.9027 13.2119 81.9087 14.2628C81.9199 15.9702 83.0136 17.808 85.3883 17.808C87.7863 17.808 88.8787 15.9705 88.8787 14.2637C88.8787 12.5032 87.7994 10.7271 85.3883 10.7271ZM85.3883 18.7264C82.3292 18.7264 80.9356 16.4066 80.9356 14.2511C80.9356 12.0411 82.3123 9.81112 85.3883 9.81112C86.6779 9.81112 87.7778 10.2233 88.57 11.0022C89.3961 11.8148 89.847 12.9776 89.8401 14.2769C89.8289 16.4198 88.4312 18.7264 85.3883 18.7264Z" fill="currentColor"/>\n<path d="M56.3148 10.8733C55.3402 10.8733 54.517 11.1763 53.9341 11.75C53.3158 12.3587 52.9789 13.2511 52.9852 14.2621C52.9956 15.9002 54.0419 17.6629 56.3148 17.6629C58.6118 17.6629 59.6576 15.9012 59.6576 14.2639C59.6576 12.5761 58.6241 10.8733 56.3148 10.8733ZM56.3148 17.9545C53.8385 17.9545 52.6985 16.0413 52.6872 14.2639C52.6803 13.1747 53.0482 12.2091 53.7229 11.5446C54.3628 10.9147 55.259 10.582 56.3148 10.582C58.8296 10.582 59.9553 12.4314 59.9553 14.2639C59.9553 16.0413 58.8162 17.9545 56.3148 17.9545ZM85.3874 10.8733C84.4128 10.8733 83.5899 11.1763 83.007 11.7494C82.3884 12.3581 82.0509 13.2508 82.0569 14.2624C82.0669 15.9002 83.1139 17.6629 85.3874 17.6629C87.6832 17.6629 88.7289 15.9012 88.7289 14.2639C88.7289 12.5761 87.6957 10.8733 85.3874 10.8733ZM85.3874 17.9545C82.9111 17.9545 81.7705 16.0413 81.7589 14.2643C81.7529 13.1741 82.1211 12.2082 82.7961 11.5443C83.4354 10.9147 84.332 10.582 85.3874 10.582C87.9013 10.582 89.0269 12.4314 89.0269 14.2639C89.0269 16.0413 87.8878 17.9545 85.3874 17.9545ZM38.9248 9.95733C38.9176 9.95733 38.9091 9.96592 38.9091 9.97788V10.5903C38.9091 10.6019 38.9176 10.6105 38.9248 10.6105H44.0021L38.6211 18.2532L38.617 18.5482C38.617 18.5601 38.6255 18.5684 38.633 18.5684H45.0822C45.0898 18.5684 45.0979 18.5601 45.0979 18.5482V17.899C45.0979 17.8873 45.0898 17.8787 45.0822 17.8787H39.6405L45.0938 10.2238L45.0979 9.97788C45.0979 9.96592 45.0898 9.95733 45.0822 9.95733H38.9248ZM45.0822 18.8597H38.633C38.46 18.8597 38.3193 18.7202 38.3193 18.5482V18.267C38.3193 18.2035 38.3388 18.1419 38.3751 18.0891L43.4355 10.9018H38.9248C38.7518 10.9018 38.6114 10.762 38.6114 10.5903V9.97788C38.6114 9.80585 38.7518 9.66602 38.9248 9.66602H45.0822C45.2552 9.66602 45.3959 9.80585 45.3959 9.97788V10.2106C45.3959 10.2756 45.3759 10.3382 45.338 10.3906L40.2109 17.5874H45.0822C45.2552 17.5874 45.3959 17.7273 45.3959 17.899V18.5482C45.3959 18.7202 45.2552 18.8597 45.0822 18.8597ZM68.2014 11.5191L73.9173 18.5684H74.173C74.1805 18.5684 74.189 18.5601 74.189 18.5482V9.97788C74.189 9.96561 74.1809 9.95733 74.173 9.95733H73.5297C73.5218 9.95733 73.5137 9.96592 73.5137 9.97788V17.0192L67.8203 9.96316L67.5289 9.95733C67.5217 9.95733 67.5132 9.96592 67.5132 9.97788V18.5482C67.5132 18.5601 67.5217 18.5684 67.5289 18.5684H68.1854C68.1932 18.5684 68.2014 18.5601 68.2014 18.5482V11.5191ZM74.173 18.8597H73.9173C73.822 18.8597 73.7334 18.8174 73.6735 18.7438L68.4994 12.3557V18.5482C68.4994 18.7202 68.3584 18.8597 68.1854 18.8597H67.5289C67.3559 18.8597 67.2155 18.7202 67.2155 18.5482V9.97788C67.2155 9.80585 67.3559 9.66602 67.5289 9.66602H67.809C67.9046 9.66602 67.9939 9.70833 68.0538 9.78285L73.2157 16.1799V9.97788C73.2157 9.80585 73.3564 9.66602 73.5297 9.66602H74.173C74.346 9.66602 74.4867 9.80585 74.4867 9.97788V18.5482C74.4867 18.7202 74.346 18.8597 74.173 18.8597ZM97.1981 16.455L96.5936 16.7334C97.2762 18.0922 98.8465 18.5687 100.086 18.5687C100.876 18.5687 103.453 18.3997 103.467 16.2228C103.467 14.4498 101.808 14.1379 100.204 13.8365L100.113 13.819C98.8427 13.5881 97.5272 13.3495 97.5272 12.2658C97.5272 10.6433 99.822 10.5942 100.084 10.5939C101.054 10.6062 102.035 10.7506 102.649 11.716L103.204 11.4121C102.401 10.2106 101.376 9.96868 100.086 9.96868C98.9596 9.96868 97.9537 10.3014 97.3949 10.8589C97.0148 11.2388 96.828 11.719 96.8396 12.2873C96.8396 13.8398 98.4463 14.1474 99.9997 14.4452C101.308 14.6902 102.792 14.9683 102.779 16.2142C102.779 17.7846 100.896 17.9545 100.086 17.9545C99.0367 17.9545 97.7074 17.4393 97.1981 16.455ZM100.086 18.8603C98.7578 18.8603 97.0715 18.3415 96.321 16.8852C96.2834 16.8128 96.2768 16.7294 96.3031 16.6512C96.3288 16.5743 96.3862 16.5089 96.4605 16.4728L97.0436 16.1873C97.1981 16.1131 97.389 16.1781 97.4639 16.324C97.9189 17.2026 99.1276 17.6629 100.086 17.6629C100.806 17.6629 102.481 17.5215 102.481 16.2127C102.492 15.2087 101.254 14.9769 99.9436 14.7313C98.4275 14.4409 96.5416 14.0796 96.5416 12.29C96.5285 11.6439 96.7444 11.0929 97.1825 10.655C97.7957 10.0426 98.8813 9.67736 100.086 9.67736C101.472 9.67736 102.575 9.94108 103.457 11.2278C103.504 11.2977 103.521 11.3845 103.503 11.4664C103.483 11.5489 103.43 11.62 103.356 11.6629L102.823 11.9717C102.682 12.0536 102.485 12.007 102.397 11.8702C101.858 11.0233 100.966 10.8963 100.082 10.8853C99.853 10.8856 97.8249 10.9264 97.8249 12.2658C97.8249 12.9858 98.5481 13.2388 100.169 13.5329L100.26 13.5501C101.822 13.8438 103.765 14.2091 103.765 16.2238C103.749 18.6702 100.945 18.8603 100.086 18.8603ZM56.3148 9.95733C53.3425 9.95733 52.0119 12.114 52.0119 14.2514C52.0119 16.3369 53.3584 18.5813 56.3148 18.5813C59.2552 18.5813 60.6068 16.3501 60.6184 14.2768C60.6249 13.0165 60.1894 11.8905 59.3912 11.1057C58.6275 10.3544 57.5639 9.95733 56.3148 9.95733ZM56.3148 18.8726C53.1541 18.8726 51.7142 16.477 51.7142 14.2514C51.7142 11.969 53.1366 9.66602 56.3148 9.66602C57.6448 9.66602 58.782 10.0926 59.6021 10.9003C60.4567 11.7402 60.9236 12.9398 60.9164 14.278C60.9038 16.4912 59.4586 18.8726 56.3148 18.8726ZM85.3874 9.95733C82.4141 9.95733 81.0835 12.114 81.0835 14.2514C81.0835 16.3369 82.4304 18.5813 85.3874 18.5813C88.3284 18.5813 89.6797 16.3501 89.69 14.2768C89.6969 13.0165 89.2613 11.8905 88.4638 11.1057C87.7001 10.3544 86.6362 9.95733 85.3874 9.95733ZM85.3874 18.8726C82.2258 18.8726 80.7858 16.477 80.7858 14.2514C80.7858 11.969 82.2085 9.66602 85.3874 9.66602C86.7174 9.66602 87.8543 10.0926 88.6747 10.9003C89.5289 11.7402 89.9956 12.9398 89.988 14.278C89.9764 16.4912 88.5321 18.8726 85.3874 18.8726Z" fill="currentColor"/>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M14.8579 3.27103C8.00856 3.27103 2.45604 8.70444 2.45604 15.4069C2.45604 16.5606 2.62039 17.6759 2.92715 18.732C2.94279 18.7858 2.99993 18.8158 3.05327 18.7985L4.76742 18.2444C4.89605 18.2028 5.03443 18.271 5.07981 18.3984L5.18963 18.7065C6.58371 22.6184 10.3868 25.4238 14.8579 25.4238C16.6778 25.4238 18.3852 24.9596 19.8648 24.146C22.9871 22.4291 25.0944 19.1585 25.0944 15.4069C25.0944 12.66 23.9652 10.1718 22.1346 8.36161C22.0943 8.32178 22.029 8.32401 21.9911 8.36608L20.8033 9.68403C20.7122 9.78506 20.5571 9.79476 20.4541 9.70586L20.1964 9.48329C18.7733 8.25413 16.9053 7.50895 14.8579 7.50895C10.4004 7.50895 6.78686 11.045 6.78686 15.4069C6.78686 18.1793 8.24644 20.6188 10.4568 22.0285C10.5051 22.0593 10.5692 22.0425 10.5968 21.9923L11.4438 20.4518C11.5093 20.3326 11.6581 20.2877 11.7786 20.3506L12.081 20.5086C12.9082 20.9407 13.8529 21.1859 14.8579 21.1859C18.1196 21.1859 20.7636 18.5985 20.7636 15.4069C20.7636 12.4472 18.4898 10.0071 15.5584 9.66814C15.4997 9.66135 15.4485 9.70759 15.4485 9.76664V10.5364C15.4485 10.5871 15.4867 10.6298 15.537 10.6366C17.9337 10.9602 19.7793 12.9727 19.7793 15.4069C19.7793 18.0666 17.5759 20.2227 14.8579 20.2227C12.1399 20.2227 9.93655 18.0666 9.93655 15.4069C9.93655 12.9727 11.7822 10.9602 14.1789 10.6366C14.2291 10.6298 14.2674 10.5871 14.2674 10.5364V8.72212C14.2674 8.58405 14.3793 8.47212 14.5174 8.47212H14.8579C18.7719 8.47212 21.9447 11.5769 21.9447 15.4069C21.9447 19.2369 18.7719 22.3417 14.8579 22.3417C13.8955 22.3417 12.9768 22.1536 12.139 21.8128C12.0915 21.7935 12.037 21.8124 12.0123 21.8573L11.1357 23.4517C11.0701 23.571 10.9212 23.6159 10.8006 23.5528L10.4981 23.3943C7.58772 21.8702 5.60573 18.8655 5.60573 15.4069C5.60573 10.4067 9.74808 6.35316 14.8579 6.35316C16.9583 6.35316 18.8962 7.03862 20.4492 8.19281C20.4909 8.2238 20.5494 8.21831 20.5842 8.17972L21.8036 6.82678C21.8946 6.72575 22.0497 6.71605 22.1527 6.80496L22.4104 7.02752C24.7797 9.07392 26.2756 12.0698 26.2756 15.4069C26.2756 19.3595 24.1778 22.8321 21.0147 24.8176C20.97 24.8457 20.9542 24.9034 20.9789 24.95L21.3405 25.6313C21.3675 25.6821 21.4317 25.6998 21.4806 25.6695C24.9548 23.5181 27.2598 19.7255 27.2598 15.4069C27.2598 8.70444 21.7073 3.27103 14.8579 3.27103ZM19.817 25.4734C19.8656 25.4505 19.9237 25.4695 19.9489 25.517L20.7902 27.1021C20.8554 27.2248 21.0082 27.2709 21.1303 27.2046L21.4393 27.0368C25.6136 24.7702 28.441 20.412 28.441 15.4069C28.441 8.06611 22.3596 2.11523 14.8579 2.11523C7.35623 2.11523 1.2749 8.06611 1.2749 15.4069C1.2749 16.927 1.5359 18.3886 2.01692 19.7505L2.12616 20.0598C2.17127 20.1875 2.3099 20.2561 2.43879 20.2144L4.19214 19.6476C4.24168 19.6316 4.2952 19.6564 4.31562 19.7043C6.03606 23.7411 10.1076 26.5796 14.8579 26.5796C16.6341 26.5796 18.3167 26.1824 19.817 25.4734ZM14.8579 11.7469C12.7923 11.7469 11.1177 13.3855 11.1177 15.4069C11.1177 17.4283 12.7923 19.0669 14.8579 19.0669C16.9236 19.0669 18.5982 17.4283 18.5982 15.4069C18.5982 13.3855 16.9236 11.7469 14.8579 11.7469Z" fill="currentColor"/>\n</svg>\n',iconColor:"gray-1200",size:108})))))}get el(){return a(this)}};M.style=":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--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 .zonos--checkout-footer{position:absolute;bottom:0;left:0;right:0;gap:var(--amino-space-16);display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;border-top:var(--amino-border);padding:var(--amino-space-12);-ms-flex-align:center;align-items:center;background:var(--amino-surface-color-secondary)}:host .zonos--checkout-footer .zonos--checkout-footer-icon-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:var(--amino-space-8)}:host .zonos--checkout-footer .zonos--checkout-footer-icon-wrapper a{line-height:0px}:host .zonos--checkout-footer zonos-button button.outline{outline:1px solid var(--amino-gray-800)}:host .zonos--checkout-footer .zonos--checkout-locale-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:var(--amino-space-8);position:relative}@media (max-width: 400px){:host .zonos--checkout-footer .zonos--checkout-locale-wrapper{gap:var(--amino-space-4)}}:host .zonos--checkout-footer .zonos--checkout-footer-dialog{position:absolute;bottom:36px;left:var(--language-dialog-left);background:var(--amino-surface-color);-webkit-box-shadow:var(--amino-v3-shadow-xl);box-shadow:var(--amino-v3-shadow-xl);border-radius:var(--amino-radius-12);width:360px;max-width:100vw;max-height:500px;z-index:10005;overflow:auto;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:bottom left;transform-origin:bottom left;opacity:0;-webkit-transition:opacity 0.3s ease-out, -webkit-transform 0.3s ease-out;transition:opacity 0.3s ease-out, -webkit-transform 0.3s ease-out;transition:transform 0.3s ease-out, opacity 0.3s ease-out;transition:transform 0.3s ease-out, opacity 0.3s ease-out, -webkit-transform 0.3s ease-out}:host .zonos--checkout-footer .zonos--checkout-footer-dialog::-webkit-scrollbar{width:10px}:host .zonos--checkout-footer .zonos--checkout-footer-dialog::-webkit-scrollbar-track{background:var(--amino-gray-50)}:host .zonos--checkout-footer .zonos--checkout-footer-dialog::-webkit-scrollbar-thumb{border-radius:10px;background:#cccccc;border:3px solid transparent;background-clip:content-box}:host .zonos--checkout-footer .zonos--checkout-footer-dialog::-webkit-scrollbar-thumb:hover{background:#d6d6d6}:host .zonos--checkout-footer .zonos--checkout-footer-dialog::-webkit-scrollbar-track{border-top-right-radius:var(--amino-radius-12);border-bottom-right-radius:var(--amino-radius-12)}:host .zonos--checkout-footer .zonos--checkout-footer-dialog.zonos--checkout-footer-dialog-open{opacity:1;-webkit-transform:scale(1);transform:scale(1)}@media (max-width: 768px){:host .zonos--checkout-footer{-ms-flex-direction:column;flex-direction:column;gap:var(--amino-space-32);background-color:var(--amino-surface-color);border-top:none;position:relative;padding-top:var(--amino-space-24)}:host .zonos--checkout-footer .zonos--checkout-footer-dialog{position:fixed;left:0;right:0;bottom:0;-webkit-transform-origin:bottom center;transform-origin:bottom center;width:100vw}}";const H=class{constructor(s){o(this,s),this.continueClicked=i(this,"continueClicked",7),this.continueClickHandler=()=>{this.continueClicked.emit()},this.paymentError=!1,this.submitBtnType=void 0,this.continueLoading=!1,this.submitBtnColor=void 0,this.disabled=!0}watchFormComplete(){this.disabled||y("zonos-checkout-payment-info")}render(){var o;return r.stripeElements?(this.disabled=!(null===(o=r.stripePaymentEventData)||void 0===o?void 0:o.complete),t(n,{class:"zonos--checkout-payment zonos--elements"},t("div",{class:"zonos--group"},t("zonos-text",{class:"zonos--title",type:"semiBoldSubheader"},m("Payment method")),this.paymentError&&t("zonos-banner",{class:"zonos--payment-error-banner",intent:"error"},m("We couldn't complete your payment. Please verify the payment details and try again.")),t("zonos-payment",null),t("div",{class:"zonos--group-btn"},t("zonos-button",{backgroundColor:this.submitBtnColor,isDisabled:this.disabled,loading:this.continueLoading,onClick:()=>this.continueClickHandler(),size:"lg",variant:this.submitBtnType},"Pay"," ",w({amount:c.total,currency:c.currency})))))):null}static get watchers(){return{disabled:["watchFormComplete"]}}};H.style=".sc-zonos-checkout-payment-h{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-checkout-payment-h *.sc-zonos-checkout-payment{font-family:var(--font-family, Inter), Inter}.sc-zonos-checkout-payment-h img.sc-zonos-checkout-payment{max-width:100%}.sc-zonos-checkout-payment-h dl.sc-zonos-checkout-payment,.sc-zonos-checkout-payment-h dd.sc-zonos-checkout-payment,.sc-zonos-checkout-payment-h h1.sc-zonos-checkout-payment,.sc-zonos-checkout-payment-h h2.sc-zonos-checkout-payment,.sc-zonos-checkout-payment-h h3.sc-zonos-checkout-payment,.sc-zonos-checkout-payment-h h4.sc-zonos-checkout-payment,.sc-zonos-checkout-payment-h h5.sc-zonos-checkout-payment,.sc-zonos-checkout-payment-h h6.sc-zonos-checkout-payment,.sc-zonos-checkout-payment-h hr.sc-zonos-checkout-payment,.sc-zonos-checkout-payment-h figure.sc-zonos-checkout-payment,.sc-zonos-checkout-payment-h p.sc-zonos-checkout-payment,.sc-zonos-checkout-payment-h pre.sc-zonos-checkout-payment{margin:0}.sc-zonos-checkout-payment-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-checkout-payment-h{overflow:hidden;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.sc-zonos-checkout-payment-h .zonos--title.sc-zonos-checkout-payment{margin-bottom:var(--amino-space-24)}.sc-zonos-checkout-payment-h .zonos--group.sc-zonos-checkout-payment{margin-bottom:var(--amino-space-20);overflow:auto;padding:5px}.sc-zonos-checkout-payment-h .zonos--group.sc-zonos-checkout-payment::-webkit-scrollbar{width:10px}.sc-zonos-checkout-payment-h .zonos--group.sc-zonos-checkout-payment::-webkit-scrollbar-track{background:var(--amino-gray-50)}.sc-zonos-checkout-payment-h .zonos--group.sc-zonos-checkout-payment::-webkit-scrollbar-thumb{border-radius:10px;background:#cccccc;border:3px solid transparent;background-clip:content-box}.sc-zonos-checkout-payment-h .zonos--group.sc-zonos-checkout-payment::-webkit-scrollbar-thumb:hover{background:#d6d6d6}.sc-zonos-checkout-payment-h .zonos--payment-error-banner.sc-zonos-checkout-payment{margin-bottom:var(--amino-space-8)}.sc-zonos-checkout-payment-h .zonos--group-btn.sc-zonos-checkout-payment{position:-webkit-sticky;position:sticky;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;bottom:0;margin-top:var(--amino-space-12);background:var(--primary-color, var(--amino-gray-0))}.sc-zonos-checkout-payment-h .zonos--group-btn.sc-zonos-checkout-payment zonos-button.sc-zonos-checkout-payment{width:100%}";const j=class{constructor(s){o(this,s),this.continueClicked=i(this,"continueClicked",7),this.continueClickHandler=()=>{this.continueClicked.emit()},this.continueLoading=!1,this.submitBtnType=void 0,this.submitBtnColor=void 0,this.defaultAddress=null,this.disabled=!0}watchFormComplete(){this.disabled||y("zonos-checkout-customer-info")}render(){var o,s,e,i;if(!r.stripeElements)return null;const a=r.stripeShippingSameAsBilling?!!(null===(o=r.stripeAddressEventData)||void 0===o?void 0:o.complete):!!(null===(s=r.stripeBillingAddressEventData)||void 0===s?void 0:s.complete);this.disabled=!a||!(null===(e=r.stripeAddressEventData)||void 0===e?void 0:e.complete)||!(null===(i=r.stripeLinkEventData)||void 0===i?void 0:i.complete);const c=!r.stripeShippingSameAsBilling;return t(n,{class:"zonos--customer-info zonos--elements"},t("div",{class:"zonos--group"},t("zonos-text",{class:"zonos--title",type:"semiBoldSubheader"},m("Customer information")),t("zonos-link-authentication",{titleText:m("Contact")}),t("zonos-address",{defaultAddress:this.defaultAddress,titleText:m("Address"),type:"shipping"}),t("zonos-checkbox",{isChecked:r.stripeShippingSameAsBilling,label:m("Shipping address same as billing"),onCheckboxSelected:o=>{r.stripeShippingSameAsBilling=o.detail}}),t("zonos-collapse",{collapsed:!c},t("zonos-address",{defaultAddress:this.defaultAddress,titleText:m("Billing address"),type:"billing"})),t("div",{class:"zonos--group-btn"},t("zonos-button",{backgroundColor:this.submitBtnColor,isDisabled:this.disabled,loading:this.continueLoading,onClick:()=>this.continueClickHandler(),size:"lg",variant:this.submitBtnType},m("Continue to shipping")))))}static get watchers(){return{disabled:["watchFormComplete"]}}};j.style=".sc-zonos-customer-info-h{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-customer-info-h *.sc-zonos-customer-info{font-family:var(--font-family, Inter), Inter}.sc-zonos-customer-info-h img.sc-zonos-customer-info{max-width:100%}.sc-zonos-customer-info-h dl.sc-zonos-customer-info,.sc-zonos-customer-info-h dd.sc-zonos-customer-info,.sc-zonos-customer-info-h h1.sc-zonos-customer-info,.sc-zonos-customer-info-h h2.sc-zonos-customer-info,.sc-zonos-customer-info-h h3.sc-zonos-customer-info,.sc-zonos-customer-info-h h4.sc-zonos-customer-info,.sc-zonos-customer-info-h h5.sc-zonos-customer-info,.sc-zonos-customer-info-h h6.sc-zonos-customer-info,.sc-zonos-customer-info-h hr.sc-zonos-customer-info,.sc-zonos-customer-info-h figure.sc-zonos-customer-info,.sc-zonos-customer-info-h p.sc-zonos-customer-info,.sc-zonos-customer-info-h pre.sc-zonos-customer-info{margin:0}.sc-zonos-customer-info-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-customer-info-h{overflow:hidden;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.sc-zonos-customer-info-h .zonos--title.sc-zonos-customer-info{margin-bottom:var(--amino-space-20)}.sc-zonos-customer-info-h .zonos--link-authentication.sc-zonos-customer-info{margin-bottom:var(--amino-space-32)}.sc-zonos-customer-info-h .zonos--address.sc-zonos-customer-info{margin-bottom:var(--amino-space-16)}.sc-zonos-customer-info-h .zonos--checkbox.sc-zonos-customer-info{margin-bottom:var(--amino-space-16)}.sc-zonos-customer-info-h .zonos--checkbox.sc-zonos-customer-info+.zonos--address.sc-zonos-customer-info{margin-bottom:0}.sc-zonos-customer-info-h .zonos--group.sc-zonos-customer-info{margin-bottom:var(--amino-space-20);overflow:auto;padding:5px}.sc-zonos-customer-info-h .zonos--group.sc-zonos-customer-info::-webkit-scrollbar{width:10px}.sc-zonos-customer-info-h .zonos--group.sc-zonos-customer-info::-webkit-scrollbar-track{background:var(--amino-gray-50)}.sc-zonos-customer-info-h .zonos--group.sc-zonos-customer-info::-webkit-scrollbar-thumb{border-radius:10px;background:#cccccc;border:3px solid transparent;background-clip:content-box}.sc-zonos-customer-info-h .zonos--group.sc-zonos-customer-info::-webkit-scrollbar-thumb:hover{background:#d6d6d6}.sc-zonos-customer-info-h .zonos--group-btn.sc-zonos-customer-info{position:-webkit-sticky;position:sticky;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;bottom:0;margin-top:var(--amino-space-12);background:var(--primary-color, var(--amino-gray-0))}.sc-zonos-customer-info-h .zonos--group-btn.sc-zonos-customer-info zonos-button.sc-zonos-customer-info{width:100%}";const V=class{constructor(s){o(this,s),this.closeDialog=i(this,"closeDialog",7),this.isMobileMode=()=>this.mobile||window.innerWidth<=768,this.closeButtonHandler=()=>{this.closeDialog.emit()},this.clickOutsideDialogHandler=o=>{o.target!==o.currentTarget||this.noClickOutside||this.closeDialog.emit()},this.open=!1,this.headerText="",this.width="460px",this.height=void 0,this.noHeader=!1,this.noBodyPadding=!1,this.noBorder=!1,this.footerRightAction=null,this.borderStyle=void 0,this.noCloseButton=!1,this.noClickOutside=!1,this.mobile=!1,this.isLoading=!0,this.isMobile=!1}handleWindowResize(){this.isMobile=this.isMobileMode()}componentDidLoad(){this.isMobile=this.isMobileMode()}render(){document.body.style.overflow=this.open?"hidden":"auto";const o=b(this.borderStyle);return t(n,{key:"dd232b16db7f6a6216f91af19c8b735b7eb528c7",class:C(["zonos--elements",this.open&&"open",this.isLoading&&"is-loading",this.noBorder&&"no-border",this.isMobile&&"mobile"]),style:{"--border-radius":o,"--font-family":g(),"--height":this.height||"initial","--width":this.width}},t("div",{key:"23751fcbfe7a51856589d45feb59ed51ca3f86fa",class:"zonos--backdrop"}),t("div",{key:"3f5af0c470ad69e68b978753ece8d2687c99ab7c","aria-hidden":"true",class:"zonos--dialog-layout",onClick:this.clickOutsideDialogHandler},t("div",{key:"e137a76e1a3e2cfc6403628fe804eb23d1bb1282",class:"zonos--dialog"},this.isLoading&&t("div",{class:"zonos--loading"},t("zonos-spinner",{size:30})),(this.headerText||!this.noCloseButton)&&t("div",{class:"zonos--header"},this.headerText&&t("h3",{class:"zonos--header-text"},this.headerText),!this.noCloseButton&&t("zonos-button",{class:"zonos--close-button",icon:t("zonos-icon",{"aria-label":"Close dialog",content:'<svg xmlns="https://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path fill="#C5C6CA" fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z" clip-rule="evenodd"/><path fill="#4D505A" fill-rule="evenodd" d="M8.293 8.293a1 1 0 0 1 1.414 0L12 10.586l2.293-2.293a1 1 0 1 1 1.414 1.414L13.414 12l2.293 2.293a1 1 0 0 1-1.414 1.414L12 13.414l-2.293 2.293a1 1 0 0 1-1.414-1.414L10.586 12 8.293 9.707a1 1 0 0 1 0-1.414Z" clip-rule="evenodd"/></svg>'}),noBackground:!0,onClick:this.closeButtonHandler})),t("div",{key:"46e89cdfaffd1190f4916206deb452002f40f24f",class:C(["zonos--body",this.noBodyPadding&&"zonos--no-body-padding"])},t("slot",{key:"e8acb4a5e48ad4a0aeb057799f5abeb56eb8d1ea"})),this.footerRightAction&&t("div",{class:"zonos--footer"},t("div",{class:"zonos--footer-right-action"},this.footerRightAction)))))}static get assetsDirs(){return["assets"]}};V.style=":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--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 .zonos--backdrop,:host .zonos--dialog-layout{opacity:0;z-index:-999;visibility:hidden;-webkit-transition:0.3s all ease;transition:0.3s all ease}:host .zonos--backdrop{width:100vw;height:100vh;left:0px;top:0px;background:var(--amino-backdrop-color);z-index:-999;opacity:0;visibility:hidden;position:fixed}:host .zonos--loading{position:absolute;left:0;right:0;bottom:0;top:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;z-index:10002;background:white}:host .zonos--dialog-layout{width:100vw;height:100vh;left:0;top:0;position:fixed;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;color:var(--amino-text-color);visibility:hidden}:host .zonos--dialog{position:relative;z-index:10001;background:var(--amino-gray-0);max-width:90vw;max-height:90vh;min-height:500px;height:var(--height, auto);width:var(--width, auto);border-radius:var(--border-radius, var(--amino-radius-10));outline:none;-webkit-box-shadow:var(--amino-v3-shadow-xxl);box-shadow:var(--amino-v3-shadow-xxl);border:var(--amino-border);overflow:hidden;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host .zonos--header{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;padding:var(--amino-space-16) var(--amino-space-24)}:host .zonos--header .-zonos-stencil-library--header-text{-ms-flex-positive:1;flex-grow:1}:host .zonos--header .zonos--close-button{width:var(--amino-size-md);height:var(--amino-size-md);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;cursor:pointer;border-radius:var(--amino-radius-10)}:host .zonos--header .zonos--close-button:hover{background:var(--amino-hover-color)}:host .zonos--body{padding:var(--amino-space-8) var(--amino-space-24);max-height:100%;height:100%;overflow:auto}:host .zonos--body.zonos--no-body-padding{padding:0}:host .zonos--footer{padding:var(--amino-space-16) var(--amino-space-24)}:host(.open) .zonos--dialog-layout,:host(.open) .zonos--backdrop{visibility:visible}:host(.open) .zonos--backdrop{z-index:10001;opacity:0.65}:host(.open) .zonos--dialog-layout{opacity:1;z-index:10002;-webkit-transform:scale(1);transform:scale(1)}:host(.no-border) .zonos--dialog{border:none}:host(.mobile) .zonos--dialog{max-width:100vw;max-height:100vh;height:100%;width:100%;border-radius:0;-webkit-box-shadow:none;box-shadow:none;border:none}";const S=class{constructor(s){o(this,s),this.mobile=!1,this.collapsed=!1,this.isMobile=!1}handleWindowResize(){this.isMobile=k(this.mobile)}componentWillLoad(){this.isMobile=k(this.mobile)}render(){const o=this.isMobile?"boldSubheader":"semiBoldLabel",s=this.isMobile?"boldSubheader":"secondaryPageHeader",e=this.isMobile?"gray-1200":"gray-800",i=c.total-c.dutiesTaxFees;return t(n,{class:C(["zonos--review zonos--elements",this.isMobile&&"mobile"])},t("div",{class:"zonos--title"},t("zonos-text",{textColor:e,type:o},m("Pay")," ",z.organizationName),(()=>this.isMobile?t("zonos-icon",this.collapsed?{"aria-label":"Expand collapsed section",content:'<svg color="var(--amino-gray-400)" fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="https://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M17.707 14.707a1 1 0 0 1-1.414 0L12 10.414l-4.293 4.293a1 1 0 0 1-1.414-1.414l4.93-4.93a1.1 1.1 0 0 1 1.555 0l4.93 4.93a1 1 0 0 1 0 1.414Z" fill="currentColor" fill-rule="evenodd"></path></svg>',iconColor:"gray-1200"}:{"aria-label":"Collapse expanded section",content:'<svg color="var(--amino-gray-400)" fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="https://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M6.293 9.293a1 1 0 0 1 1.414 0L12 13.586l4.293-4.293a1 1 0 0 1 1.414 1.414l-4.93 4.93a1.1 1.1 0 0 1-1.555 0l-4.93-4.93a1 1 0 0 1 0-1.414Z" fill="currentColor" fill-rule="evenodd"></path></svg>',iconColor:"gray-1200"}):null)()),t("div",{class:"zonos--total-pay"},t("zonos-text",{type:s},w({amount:"shipping"===c.step?i:c.total,currency:c.currency}))))}static get assetsDirs(){return["assets"]}};S.style=":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--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{position:-webkit-sticky;position:sticky;top:0;background-color:var(--amino-gray-0);z-index:1}:host .zonos--total-pay{margin:var(--amino-space-16) 0 var(--amino-space-32)}:host(.mobile){display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;gap:var(--amino-space-24);-ms-flex-pack:justify;justify-content:space-between;padding:var(--amino-space-4) 0;margin-bottom:var(--amino-space-8);background-color:transparent}:host(.mobile) .zonos--title{display:-ms-flexbox;display:flex;-ms-flex-item-align:center;align-self:center;gap:var(--amino-space-8)}:host(.mobile) .zonos--total-pay{margin:0}";const B=class{constructor(s){o(this,s),this.continueClicked=i(this,"continueClicked",7),this.handleRadioSelected=async o=>{var s;if(this.selectedShippingMethod=o.detail,!this.selectedShippingMethod)return;const t=(null===(s=c.shippingData)||void 0===s?void 0:s.find((o=>{var s;return o.id===(null===(s=this.selectedShippingMethod)||void 0===s?void 0:s.value)})))||null;t&&await d(t)&&(this.disabled=!1)},this.continueClickHandler=()=>{this.continueClicked.emit()},this.continueLoading=!1,this.submitBtnColor=void 0,this.submitBtnType=void 0,this.selectedShippingMethod=null,this.disabled=!0}watchFormComplete(){this.disabled||y("zonos-checkout-shipping-info")}render(){var o;const s=null===(o=c.shippingData)||void 0===o?void 0:o.flatMap((o=>{var s,t;const{expectedDate:n,maxTransit:e,minTransit:i}=p(o),a=n?`${m("Expected delivery")} ${n}`:"",r=i&&e?`(${i}-${e} ${m("business days")})`:"",l=(null===(t=null===(s=c.landedCostData)||void 0===s?void 0:s.find((s=>{var t;return(null===(t=s.landedCost)||void 0===t?void 0:t.shipmentRating.id)===o.id})))||void 0===t?void 0:t.subtotals.shipping)||0;return{caption:r,label:o.displayName,price:w({amount:l,currency:c.currency}),sublabel:a,value:o.id}}));return t(n,{class:"zonos--shipping zonos--elements"},t("div",{class:"zonos--group"},t("zonos-text",{class:"zonos--title",type:"semiBoldSubheader"},m("Shipping information")),t("zonos-text",{class:"zonos--shipping-method-title",type:"semiBoldLabel"},m("Shipping method")),(null==s?void 0:s.length)?t("zonos-shipping-rich-radio",{items:s||[],onRadioSelected:o=>this.handleRadioSelected(o)}):t("zonos-banner",{bannerTitle:"No shipping methods found - try editing your address or contacting support if the error persists",intent:"error"}),t("div",{class:"zonos--group-btn"},t("zonos-button",{backgroundColor:this.submitBtnColor,isDisabled:this.disabled,loading:this.continueLoading,onClick:()=>this.continueClickHandler(),size:"lg",variant:this.submitBtnType},m("Go to payment")))))}static get watchers(){return{disabled:["watchFormComplete"]}}};B.style=".sc-zonos-shipping-h{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-shipping-h *.sc-zonos-shipping{font-family:var(--font-family, Inter), Inter}.sc-zonos-shipping-h img.sc-zonos-shipping{max-width:100%}.sc-zonos-shipping-h dl.sc-zonos-shipping,.sc-zonos-shipping-h dd.sc-zonos-shipping,.sc-zonos-shipping-h h1.sc-zonos-shipping,.sc-zonos-shipping-h h2.sc-zonos-shipping,.sc-zonos-shipping-h h3.sc-zonos-shipping,.sc-zonos-shipping-h h4.sc-zonos-shipping,.sc-zonos-shipping-h h5.sc-zonos-shipping,.sc-zonos-shipping-h h6.sc-zonos-shipping,.sc-zonos-shipping-h hr.sc-zonos-shipping,.sc-zonos-shipping-h figure.sc-zonos-shipping,.sc-zonos-shipping-h p.sc-zonos-shipping,.sc-zonos-shipping-h pre.sc-zonos-shipping{margin:0}.sc-zonos-shipping-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-shipping-h{overflow:hidden;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.sc-zonos-shipping-h .zonos--title.sc-zonos-shipping{margin-bottom:var(--amino-space-24)}.sc-zonos-shipping-h .zonos--shipping-method-title.sc-zonos-shipping{margin-bottom:var(--amino-space-16)}.sc-zonos-shipping-h .zonos-shipping-rich-radio.sc-zonos-shipping{margin-bottom:var(--amino-space-24)}.sc-zonos-shipping-h .zonos--group.sc-zonos-shipping{margin-bottom:var(--amino-space-20);overflow:auto;padding:5px}.sc-zonos-shipping-h .zonos--group.sc-zonos-shipping::-webkit-scrollbar{width:10px}.sc-zonos-shipping-h .zonos--group.sc-zonos-shipping::-webkit-scrollbar-track{background:var(--amino-gray-50)}.sc-zonos-shipping-h .zonos--group.sc-zonos-shipping::-webkit-scrollbar-thumb{border-radius:10px;background:#cccccc;border:3px solid transparent;background-clip:content-box}.sc-zonos-shipping-h .zonos--group.sc-zonos-shipping::-webkit-scrollbar-thumb:hover{background:#d6d6d6}.sc-zonos-shipping-h .zonos--group-btn.sc-zonos-shipping{position:-webkit-sticky;position:sticky;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;bottom:0;margin-top:var(--amino-space-12);background:var(--primary-color, var(--amino-gray-0))}.sc-zonos-shipping-h .zonos--group-btn.sc-zonos-shipping zonos-button.sc-zonos-shipping{width:100%}.sc-zonos-shipping-h zonos-banner.sc-zonos-shipping{margin-top:var(--amino-space-24)}";export{L as zonos_cart_items,Z as zonos_cart_subtotal,I as zonos_checkout_finish,M as zonos_checkout_footer,H as zonos_checkout_payment,j as zonos_customer_info,V as zonos_dialog,S as zonos_review,B as zonos_shipping}
@@ -0,0 +1 @@
1
+ const o=()=>{};export{o as g}
@@ -0,0 +1 @@
1
+ import{r as t,h as s,a as o,H as e}from"./p-58127116.js";import{d as a}from"./p-47fac33f.js";import{c as r}from"./p-b4b7f705.js";const i=class{constructor(s){t(this,s),this.theme="LIGHT",this.width="auto"}render(){const t="DARK"===this.theme?"invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%)":"whiteinvert(0%) sepia(100%) saturate(32%) hue-rotate(92deg) brightness(107%) contrast(107%)";return s(e,{key:"5e97dd0219dde036eef02757f055354390b18c3d",class:r(["zonos--elements zonos--logo"]),style:{"--filter-color":t,"--font-family":a(),"--width":this.width}},s("img",{key:"44c720d0a7bf3cf5a6bd783f21c8493d3a53ec70",alt:"Zonos Logo",src:o("./assets/ZonosLogo.png")}))}static get assetsDirs(){return["assets"]}};i.style=":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--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(--filter-color);filter:var(--filter-color);width:var(--width)}";export{i as zonos_logo}
@@ -1 +1 @@
1
- System.register(["./p-dc09ca69.system.js"],(function(t){"use strict";var r;return{setters:[function(t){r=t.a}],execute:function(){var e={exports:{}};(function(t,e){(function(r,e){t.exports=e()})(r,(function(){function t(r){"@babel/helpers - typeof";return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(r)}var r=/^\s+/;var e=/\s+$/;function a(t,r){t=t?t:"";r=r||{};if(t instanceof a){return t}if(!(this instanceof a)){return new a(t,r)}var e=n(t);this._originalInput=t,this._r=e.r,this._g=e.g,this._b=e.b,this._a=e.a,this._roundA=Math.round(100*this._a)/100,this._format=r.format||e.format;this._gradientType=r.gradientType;if(this._r<1)this._r=Math.round(this._r);if(this._g<1)this._g=Math.round(this._g);if(this._b<1)this._b=Math.round(this._b);this._ok=e.ok}a.prototype={isDark:function t(){return this.getBrightness()<128},isLight:function t(){return!this.isDark()},isValid:function t(){return this._ok},getOriginalInput:function t(){return this._originalInput},getFormat:function t(){return this._format},getAlpha:function t(){return this._a},getBrightness:function t(){var r=this.toRgb();return(r.r*299+r.g*587+r.b*114)/1e3},getLuminance:function t(){var r=this.toRgb();var e,a,n,i,f,s;e=r.r/255;a=r.g/255;n=r.b/255;if(e<=.03928)i=e/12.92;else i=Math.pow((e+.055)/1.055,2.4);if(a<=.03928)f=a/12.92;else f=Math.pow((a+.055)/1.055,2.4);if(n<=.03928)s=n/12.92;else s=Math.pow((n+.055)/1.055,2.4);return.2126*i+.7152*f+.0722*s},setAlpha:function t(r){this._a=q(r);this._roundA=Math.round(100*this._a)/100;return this},toHsv:function t(){var r=h(this._r,this._g,this._b);return{h:r.h*360,s:r.s,v:r.v,a:this._a}},toHsvString:function t(){var r=h(this._r,this._g,this._b);var e=Math.round(r.h*360),a=Math.round(r.s*100),n=Math.round(r.v*100);return this._a==1?"hsv("+e+", "+a+"%, "+n+"%)":"hsva("+e+", "+a+"%, "+n+"%, "+this._roundA+")"},toHsl:function t(){var r=f(this._r,this._g,this._b);return{h:r.h*360,s:r.s,l:r.l,a:this._a}},toHslString:function t(){var r=f(this._r,this._g,this._b);var e=Math.round(r.h*360),a=Math.round(r.s*100),n=Math.round(r.l*100);return this._a==1?"hsl("+e+", "+a+"%, "+n+"%)":"hsla("+e+", "+a+"%, "+n+"%, "+this._roundA+")"},toHex:function t(r){return o(this._r,this._g,this._b,r)},toHexString:function t(r){return"#"+this.toHex(r)},toHex8:function t(r){return l(this._r,this._g,this._b,this._a,r)},toHex8String:function t(r){return"#"+this.toHex8(r)},toRgb:function t(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function t(){return this._a==1?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function t(){return{r:Math.round(E(this._r,255)*100)+"%",g:Math.round(E(this._g,255)*100)+"%",b:Math.round(E(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function t(){return this._a==1?"rgb("+Math.round(E(this._r,255)*100)+"%, "+Math.round(E(this._g,255)*100)+"%, "+Math.round(E(this._b,255)*100)+"%)":"rgba("+Math.round(E(this._r,255)*100)+"%, "+Math.round(E(this._g,255)*100)+"%, "+Math.round(E(this._b,255)*100)+"%, "+this._roundA+")"},toName:function t(){if(this._a===0){return"transparent"}if(this._a<1){return false}return S[o(this._r,this._g,this._b,true)]||false},toFilter:function t(r){var e="#"+c(this._r,this._g,this._b,this._a);var n=e;var i=this._gradientType?"GradientType = 1, ":"";if(r){var f=a(r);n="#"+c(f._r,f._g,f._b,f._a)}return"progid:DXImageTransform.Microsoft.gradient("+i+"startColorstr="+e+",endColorstr="+n+")"},toString:function t(r){var e=!!r;r=r||this._format;var a=false;var n=this._a<1&&this._a>=0;var i=!e&&n&&(r==="hex"||r==="hex6"||r==="hex3"||r==="hex4"||r==="hex8"||r==="name");if(i){if(r==="name"&&this._a===0){return this.toName()}return this.toRgbString()}if(r==="rgb"){a=this.toRgbString()}if(r==="prgb"){a=this.toPercentageRgbString()}if(r==="hex"||r==="hex6"){a=this.toHexString()}if(r==="hex3"){a=this.toHexString(true)}if(r==="hex4"){a=this.toHex8String(true)}if(r==="hex8"){a=this.toHex8String()}if(r==="name"){a=this.toName()}if(r==="hsl"){a=this.toHslString()}if(r==="hsv"){a=this.toHsvString()}return a||this.toHexString()},clone:function t(){return a(this.toString())},_applyModification:function t(r,e){var a=r.apply(null,[this].concat([].slice.call(e)));this._r=a._r;this._g=a._g;this._b=a._b;this.setAlpha(a._a);return this},lighten:function t(){return this._applyModification(v,arguments)},brighten:function t(){return this._applyModification(m,arguments)},darken:function t(){return this._applyModification(M,arguments)},desaturate:function t(){return this._applyModification(d,arguments)},saturate:function t(){return this._applyModification(b,arguments)},greyscale:function t(){return this._applyModification(g,arguments)},spin:function t(){return this._applyModification(p,arguments)},_applyCombination:function t(r,e){return r.apply(null,[this].concat([].slice.call(e)))},analogous:function t(){return this._applyCombination(w,arguments)},complement:function t(){return this._applyCombination(y,arguments)},monochromatic:function t(){return this._applyCombination(x,arguments)},splitcomplement:function t(){return this._applyCombination(A,arguments)},triad:function t(){return this._applyCombination(k,[3])},tetrad:function t(){return this._applyCombination(k,[4])}};a.fromRatio=function(r,e){if(t(r)=="object"){var n={};for(var i in r){if(r.hasOwnProperty(i)){if(i==="a"){n[i]=r[i]}else{n[i]=z(r[i])}}}r=n}return a(r,e)};function n(r){var e={r:0,g:0,b:0};var a=1;var n=null;var f=null;var h=null;var o=false;var l=false;if(typeof r=="string"){r=L(r)}if(t(r)=="object"){if(D(r.r)&&D(r.g)&&D(r.b)){e=i(r.r,r.g,r.b);o=true;l=String(r.r).substr(-1)==="%"?"prgb":"rgb"}else if(D(r.h)&&D(r.s)&&D(r.v)){n=z(r.s);f=z(r.v);e=u(r.h,n,f);o=true;l="hsv"}else if(D(r.h)&&D(r.s)&&D(r.l)){n=z(r.s);h=z(r.l);e=s(r.h,n,h);o=true;l="hsl"}if(r.hasOwnProperty("a")){a=r.a}}a=q(a);return{ok:o,format:r.format||l,r:Math.min(255,Math.max(e.r,0)),g:Math.min(255,Math.max(e.g,0)),b:Math.min(255,Math.max(e.b,0)),a:a}}function i(t,r,e){return{r:E(t,255)*255,g:E(r,255)*255,b:E(e,255)*255}}function f(t,r,e){t=E(t,255);r=E(r,255);e=E(e,255);var a=Math.max(t,r,e),n=Math.min(t,r,e);var i,f,s=(a+n)/2;if(a==n){i=f=0}else{var h=a-n;f=s>.5?h/(2-a-n):h/(a+n);switch(a){case t:i=(r-e)/h+(r<e?6:0);break;case r:i=(e-t)/h+2;break;case e:i=(t-r)/h+4;break}i/=6}return{h:i,s:f,l:s}}function s(t,r,e){var a,n,i;t=E(t,360);r=E(r,100);e=E(e,100);function f(t,r,e){if(e<0)e+=1;if(e>1)e-=1;if(e<1/6)return t+(r-t)*6*e;if(e<1/2)return r;if(e<2/3)return t+(r-t)*(2/3-e)*6;return t}if(r===0){a=n=i=e}else{var s=e<.5?e*(1+r):e+r-e*r;var h=2*e-s;a=f(h,s,t+1/3);n=f(h,s,t);i=f(h,s,t-1/3)}return{r:a*255,g:n*255,b:i*255}}function h(t,r,e){t=E(t,255);r=E(r,255);e=E(e,255);var a=Math.max(t,r,e),n=Math.min(t,r,e);var i,f,s=a;var h=a-n;f=a===0?0:h/a;if(a==n){i=0}else{switch(a){case t:i=(r-e)/h+(r<e?6:0);break;case r:i=(e-t)/h+2;break;case e:i=(t-r)/h+4;break}i/=6}return{h:i,s:f,v:s}}function u(t,r,e){t=E(t,360)*6;r=E(r,100);e=E(e,100);var a=Math.floor(t),n=t-a,i=e*(1-r),f=e*(1-n*r),s=e*(1-(1-n)*r),h=a%6,u=[e,f,i,i,s,e][h],o=[s,e,e,f,i,i][h],l=[i,i,s,e,e,f][h];return{r:u*255,g:o*255,b:l*255}}function o(t,r,e,a){var n=[j(Math.round(t).toString(16)),j(Math.round(r).toString(16)),j(Math.round(e).toString(16))];if(a&&n[0].charAt(0)==n[0].charAt(1)&&n[1].charAt(0)==n[1].charAt(1)&&n[2].charAt(0)==n[2].charAt(1)){return n[0].charAt(0)+n[1].charAt(0)+n[2].charAt(0)}return n.join("")}function l(t,r,e,a,n){var i=[j(Math.round(t).toString(16)),j(Math.round(r).toString(16)),j(Math.round(e).toString(16)),j(C(a))];if(n&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1)){return i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0)}return i.join("")}function c(t,r,e,a){var n=[j(C(a)),j(Math.round(t).toString(16)),j(Math.round(r).toString(16)),j(Math.round(e).toString(16))];return n.join("")}a.equals=function(t,r){if(!t||!r)return false;return a(t).toRgbString()==a(r).toRgbString()};a.random=function(){return a.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})};function d(t,r){r=r===0?0:r||10;var e=a(t).toHsl();e.s-=r/100;e.s=H(e.s);return a(e)}function b(t,r){r=r===0?0:r||10;var e=a(t).toHsl();e.s+=r/100;e.s=H(e.s);return a(e)}function g(t){return a(t).desaturate(100)}function v(t,r){r=r===0?0:r||10;var e=a(t).toHsl();e.l+=r/100;e.l=H(e.l);return a(e)}function m(t,r){r=r===0?0:r||10;var e=a(t).toRgb();e.r=Math.max(0,Math.min(255,e.r-Math.round(255*-(r/100))));e.g=Math.max(0,Math.min(255,e.g-Math.round(255*-(r/100))));e.b=Math.max(0,Math.min(255,e.b-Math.round(255*-(r/100))));return a(e)}function M(t,r){r=r===0?0:r||10;var e=a(t).toHsl();e.l-=r/100;e.l=H(e.l);return a(e)}function p(t,r){var e=a(t).toHsl();var n=(e.h+r)%360;e.h=n<0?360+n:n;return a(e)}function y(t){var r=a(t).toHsl();r.h=(r.h+180)%360;return a(r)}function k(t,r){if(isNaN(r)||r<=0){throw new Error("Argument to polyad must be a positive number")}var e=a(t).toHsl();var n=[a(t)];var i=360/r;for(var f=1;f<r;f++){n.push(a({h:(e.h+f*i)%360,s:e.s,l:e.l}))}return n}function A(t){var r=a(t).toHsl();var e=r.h;return[a(t),a({h:(e+72)%360,s:r.s,l:r.l}),a({h:(e+216)%360,s:r.s,l:r.l})]}function w(t,r,e){r=r||6;e=e||30;var n=a(t).toHsl();var i=360/e;var f=[a(t)];for(n.h=(n.h-(i*r>>1)+720)%360;--r;){n.h=(n.h+i)%360;f.push(a(n))}return f}function x(t,r){r=r||6;var e=a(t).toHsv();var n=e.h,i=e.s,f=e.v;var s=[];var h=1/r;while(r--){s.push(a({h:n,s:i,v:f}));f=(f+h)%1}return s}a.mix=function(t,r,e){e=e===0?0:e||50;var n=a(t).toRgb();var i=a(r).toRgb();var f=e/100;var s={r:(i.r-n.r)*f+n.r,g:(i.g-n.g)*f+n.g,b:(i.b-n.b)*f+n.b,a:(i.a-n.a)*f+n.a};return a(s)};a.readability=function(t,r){var e=a(t);var n=a(r);return(Math.max(e.getLuminance(),n.getLuminance())+.05)/(Math.min(e.getLuminance(),n.getLuminance())+.05)};a.isReadable=function(t,r,e){var n=a.readability(t,r);var i,f;f=false;i=P(e);switch(i.level+i.size){case"AAsmall":case"AAAlarge":f=n>=4.5;break;case"AAlarge":f=n>=3;break;case"AAAsmall":f=n>=7;break}return f};a.mostReadable=function(t,r,e){var n=null;var i=0;var f;var s,h,u;e=e||{};s=e.includeFallbackColors;h=e.level;u=e.size;for(var o=0;o<r.length;o++){f=a.readability(t,r[o]);if(f>i){i=f;n=a(r[o])}}if(a.isReadable(t,n,{level:h,size:u})||!s){return n}else{e.includeFallbackColors=false;return a.mostReadable(t,["#fff","#000"],e)}};var F=a.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};var S=a.hexNames=R(F);function R(t){var r={};for(var e in t){if(t.hasOwnProperty(e)){r[t[e]]=e}}return r}function q(t){t=parseFloat(t);if(isNaN(t)||t<0||t>1){t=1}return t}function E(t,r){if(I(t))t="100%";var e=$(t);t=Math.min(r,Math.max(0,parseFloat(t)));if(e){t=parseInt(t*r,10)/100}if(Math.abs(t-r)<1e-6){return 1}return t%r/parseFloat(r)}function H(t){return Math.min(1,Math.max(0,t))}function N(t){return parseInt(t,16)}function I(t){return typeof t=="string"&&t.indexOf(".")!=-1&&parseFloat(t)===1}function $(t){return typeof t==="string"&&t.indexOf("%")!=-1}function j(t){return t.length==1?"0"+t:""+t}function z(t){if(t<=1){t=t*100+"%"}return t}function C(t){return Math.round(parseFloat(t)*255).toString(16)}function T(t){return N(t)/255}var _=function(){var t="[-\\+]?\\d+%?";var r="[-\\+]?\\d*\\.\\d+%?";var e="(?:"+r+")|(?:"+t+")";var a="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?";var n="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?";return{CSS_UNIT:new RegExp(e),rgb:new RegExp("rgb"+a),rgba:new RegExp("rgba"+n),hsl:new RegExp("hsl"+a),hsla:new RegExp("hsla"+n),hsv:new RegExp("hsv"+a),hsva:new RegExp("hsva"+n),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function D(t){return!!_.CSS_UNIT.exec(t)}function L(t){t=t.replace(r,"").replace(e,"").toLowerCase();var a=false;if(F[t]){t=F[t];a=true}else if(t=="transparent"){return{r:0,g:0,b:0,a:0,format:"name"}}var n;if(n=_.rgb.exec(t)){return{r:n[1],g:n[2],b:n[3]}}if(n=_.rgba.exec(t)){return{r:n[1],g:n[2],b:n[3],a:n[4]}}if(n=_.hsl.exec(t)){return{h:n[1],s:n[2],l:n[3]}}if(n=_.hsla.exec(t)){return{h:n[1],s:n[2],l:n[3],a:n[4]}}if(n=_.hsv.exec(t)){return{h:n[1],s:n[2],v:n[3]}}if(n=_.hsva.exec(t)){return{h:n[1],s:n[2],v:n[3],a:n[4]}}if(n=_.hex8.exec(t)){return{r:N(n[1]),g:N(n[2]),b:N(n[3]),a:T(n[4]),format:a?"name":"hex8"}}if(n=_.hex6.exec(t)){return{r:N(n[1]),g:N(n[2]),b:N(n[3]),format:a?"name":"hex"}}if(n=_.hex4.exec(t)){return{r:N(n[1]+""+n[1]),g:N(n[2]+""+n[2]),b:N(n[3]+""+n[3]),a:T(n[4]+""+n[4]),format:a?"name":"hex8"}}if(n=_.hex3.exec(t)){return{r:N(n[1]+""+n[1]),g:N(n[2]+""+n[2]),b:N(n[3]+""+n[3]),format:a?"name":"hex"}}return false}function P(t){var r,e;t=t||{level:"AA",size:"small"};r=(t.level||"AA").toUpperCase();e=(t.size||"small").toLowerCase();if(r!=="AA"&&r!=="AAA"){r="AA"}if(e!=="small"&&e!=="large"){e="small"}return{level:r,size:e}}return a}))})(e);var a=e.exports;var n=t("i",(function(t){return a(t).isDark()}))}}}));
1
+ System.register(["./p-50287643.system.js"],(function(t){"use strict";var r;return{setters:[function(t){r=t.a}],execute:function(){var e={exports:{}};(function(t,e){(function(r,e){t.exports=e()})(r,(function(){function t(r){"@babel/helpers - typeof";return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(r)}var r=/^\s+/;var e=/\s+$/;function a(t,r){t=t?t:"";r=r||{};if(t instanceof a){return t}if(!(this instanceof a)){return new a(t,r)}var e=n(t);this._originalInput=t,this._r=e.r,this._g=e.g,this._b=e.b,this._a=e.a,this._roundA=Math.round(100*this._a)/100,this._format=r.format||e.format;this._gradientType=r.gradientType;if(this._r<1)this._r=Math.round(this._r);if(this._g<1)this._g=Math.round(this._g);if(this._b<1)this._b=Math.round(this._b);this._ok=e.ok}a.prototype={isDark:function t(){return this.getBrightness()<128},isLight:function t(){return!this.isDark()},isValid:function t(){return this._ok},getOriginalInput:function t(){return this._originalInput},getFormat:function t(){return this._format},getAlpha:function t(){return this._a},getBrightness:function t(){var r=this.toRgb();return(r.r*299+r.g*587+r.b*114)/1e3},getLuminance:function t(){var r=this.toRgb();var e,a,n,i,f,s;e=r.r/255;a=r.g/255;n=r.b/255;if(e<=.03928)i=e/12.92;else i=Math.pow((e+.055)/1.055,2.4);if(a<=.03928)f=a/12.92;else f=Math.pow((a+.055)/1.055,2.4);if(n<=.03928)s=n/12.92;else s=Math.pow((n+.055)/1.055,2.4);return.2126*i+.7152*f+.0722*s},setAlpha:function t(r){this._a=q(r);this._roundA=Math.round(100*this._a)/100;return this},toHsv:function t(){var r=h(this._r,this._g,this._b);return{h:r.h*360,s:r.s,v:r.v,a:this._a}},toHsvString:function t(){var r=h(this._r,this._g,this._b);var e=Math.round(r.h*360),a=Math.round(r.s*100),n=Math.round(r.v*100);return this._a==1?"hsv("+e+", "+a+"%, "+n+"%)":"hsva("+e+", "+a+"%, "+n+"%, "+this._roundA+")"},toHsl:function t(){var r=f(this._r,this._g,this._b);return{h:r.h*360,s:r.s,l:r.l,a:this._a}},toHslString:function t(){var r=f(this._r,this._g,this._b);var e=Math.round(r.h*360),a=Math.round(r.s*100),n=Math.round(r.l*100);return this._a==1?"hsl("+e+", "+a+"%, "+n+"%)":"hsla("+e+", "+a+"%, "+n+"%, "+this._roundA+")"},toHex:function t(r){return o(this._r,this._g,this._b,r)},toHexString:function t(r){return"#"+this.toHex(r)},toHex8:function t(r){return l(this._r,this._g,this._b,this._a,r)},toHex8String:function t(r){return"#"+this.toHex8(r)},toRgb:function t(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function t(){return this._a==1?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function t(){return{r:Math.round(E(this._r,255)*100)+"%",g:Math.round(E(this._g,255)*100)+"%",b:Math.round(E(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function t(){return this._a==1?"rgb("+Math.round(E(this._r,255)*100)+"%, "+Math.round(E(this._g,255)*100)+"%, "+Math.round(E(this._b,255)*100)+"%)":"rgba("+Math.round(E(this._r,255)*100)+"%, "+Math.round(E(this._g,255)*100)+"%, "+Math.round(E(this._b,255)*100)+"%, "+this._roundA+")"},toName:function t(){if(this._a===0){return"transparent"}if(this._a<1){return false}return S[o(this._r,this._g,this._b,true)]||false},toFilter:function t(r){var e="#"+c(this._r,this._g,this._b,this._a);var n=e;var i=this._gradientType?"GradientType = 1, ":"";if(r){var f=a(r);n="#"+c(f._r,f._g,f._b,f._a)}return"progid:DXImageTransform.Microsoft.gradient("+i+"startColorstr="+e+",endColorstr="+n+")"},toString:function t(r){var e=!!r;r=r||this._format;var a=false;var n=this._a<1&&this._a>=0;var i=!e&&n&&(r==="hex"||r==="hex6"||r==="hex3"||r==="hex4"||r==="hex8"||r==="name");if(i){if(r==="name"&&this._a===0){return this.toName()}return this.toRgbString()}if(r==="rgb"){a=this.toRgbString()}if(r==="prgb"){a=this.toPercentageRgbString()}if(r==="hex"||r==="hex6"){a=this.toHexString()}if(r==="hex3"){a=this.toHexString(true)}if(r==="hex4"){a=this.toHex8String(true)}if(r==="hex8"){a=this.toHex8String()}if(r==="name"){a=this.toName()}if(r==="hsl"){a=this.toHslString()}if(r==="hsv"){a=this.toHsvString()}return a||this.toHexString()},clone:function t(){return a(this.toString())},_applyModification:function t(r,e){var a=r.apply(null,[this].concat([].slice.call(e)));this._r=a._r;this._g=a._g;this._b=a._b;this.setAlpha(a._a);return this},lighten:function t(){return this._applyModification(v,arguments)},brighten:function t(){return this._applyModification(m,arguments)},darken:function t(){return this._applyModification(M,arguments)},desaturate:function t(){return this._applyModification(d,arguments)},saturate:function t(){return this._applyModification(b,arguments)},greyscale:function t(){return this._applyModification(g,arguments)},spin:function t(){return this._applyModification(p,arguments)},_applyCombination:function t(r,e){return r.apply(null,[this].concat([].slice.call(e)))},analogous:function t(){return this._applyCombination(w,arguments)},complement:function t(){return this._applyCombination(y,arguments)},monochromatic:function t(){return this._applyCombination(x,arguments)},splitcomplement:function t(){return this._applyCombination(A,arguments)},triad:function t(){return this._applyCombination(k,[3])},tetrad:function t(){return this._applyCombination(k,[4])}};a.fromRatio=function(r,e){if(t(r)=="object"){var n={};for(var i in r){if(r.hasOwnProperty(i)){if(i==="a"){n[i]=r[i]}else{n[i]=z(r[i])}}}r=n}return a(r,e)};function n(r){var e={r:0,g:0,b:0};var a=1;var n=null;var f=null;var h=null;var o=false;var l=false;if(typeof r=="string"){r=L(r)}if(t(r)=="object"){if(D(r.r)&&D(r.g)&&D(r.b)){e=i(r.r,r.g,r.b);o=true;l=String(r.r).substr(-1)==="%"?"prgb":"rgb"}else if(D(r.h)&&D(r.s)&&D(r.v)){n=z(r.s);f=z(r.v);e=u(r.h,n,f);o=true;l="hsv"}else if(D(r.h)&&D(r.s)&&D(r.l)){n=z(r.s);h=z(r.l);e=s(r.h,n,h);o=true;l="hsl"}if(r.hasOwnProperty("a")){a=r.a}}a=q(a);return{ok:o,format:r.format||l,r:Math.min(255,Math.max(e.r,0)),g:Math.min(255,Math.max(e.g,0)),b:Math.min(255,Math.max(e.b,0)),a:a}}function i(t,r,e){return{r:E(t,255)*255,g:E(r,255)*255,b:E(e,255)*255}}function f(t,r,e){t=E(t,255);r=E(r,255);e=E(e,255);var a=Math.max(t,r,e),n=Math.min(t,r,e);var i,f,s=(a+n)/2;if(a==n){i=f=0}else{var h=a-n;f=s>.5?h/(2-a-n):h/(a+n);switch(a){case t:i=(r-e)/h+(r<e?6:0);break;case r:i=(e-t)/h+2;break;case e:i=(t-r)/h+4;break}i/=6}return{h:i,s:f,l:s}}function s(t,r,e){var a,n,i;t=E(t,360);r=E(r,100);e=E(e,100);function f(t,r,e){if(e<0)e+=1;if(e>1)e-=1;if(e<1/6)return t+(r-t)*6*e;if(e<1/2)return r;if(e<2/3)return t+(r-t)*(2/3-e)*6;return t}if(r===0){a=n=i=e}else{var s=e<.5?e*(1+r):e+r-e*r;var h=2*e-s;a=f(h,s,t+1/3);n=f(h,s,t);i=f(h,s,t-1/3)}return{r:a*255,g:n*255,b:i*255}}function h(t,r,e){t=E(t,255);r=E(r,255);e=E(e,255);var a=Math.max(t,r,e),n=Math.min(t,r,e);var i,f,s=a;var h=a-n;f=a===0?0:h/a;if(a==n){i=0}else{switch(a){case t:i=(r-e)/h+(r<e?6:0);break;case r:i=(e-t)/h+2;break;case e:i=(t-r)/h+4;break}i/=6}return{h:i,s:f,v:s}}function u(t,r,e){t=E(t,360)*6;r=E(r,100);e=E(e,100);var a=Math.floor(t),n=t-a,i=e*(1-r),f=e*(1-n*r),s=e*(1-(1-n)*r),h=a%6,u=[e,f,i,i,s,e][h],o=[s,e,e,f,i,i][h],l=[i,i,s,e,e,f][h];return{r:u*255,g:o*255,b:l*255}}function o(t,r,e,a){var n=[j(Math.round(t).toString(16)),j(Math.round(r).toString(16)),j(Math.round(e).toString(16))];if(a&&n[0].charAt(0)==n[0].charAt(1)&&n[1].charAt(0)==n[1].charAt(1)&&n[2].charAt(0)==n[2].charAt(1)){return n[0].charAt(0)+n[1].charAt(0)+n[2].charAt(0)}return n.join("")}function l(t,r,e,a,n){var i=[j(Math.round(t).toString(16)),j(Math.round(r).toString(16)),j(Math.round(e).toString(16)),j(C(a))];if(n&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1)){return i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0)}return i.join("")}function c(t,r,e,a){var n=[j(C(a)),j(Math.round(t).toString(16)),j(Math.round(r).toString(16)),j(Math.round(e).toString(16))];return n.join("")}a.equals=function(t,r){if(!t||!r)return false;return a(t).toRgbString()==a(r).toRgbString()};a.random=function(){return a.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})};function d(t,r){r=r===0?0:r||10;var e=a(t).toHsl();e.s-=r/100;e.s=H(e.s);return a(e)}function b(t,r){r=r===0?0:r||10;var e=a(t).toHsl();e.s+=r/100;e.s=H(e.s);return a(e)}function g(t){return a(t).desaturate(100)}function v(t,r){r=r===0?0:r||10;var e=a(t).toHsl();e.l+=r/100;e.l=H(e.l);return a(e)}function m(t,r){r=r===0?0:r||10;var e=a(t).toRgb();e.r=Math.max(0,Math.min(255,e.r-Math.round(255*-(r/100))));e.g=Math.max(0,Math.min(255,e.g-Math.round(255*-(r/100))));e.b=Math.max(0,Math.min(255,e.b-Math.round(255*-(r/100))));return a(e)}function M(t,r){r=r===0?0:r||10;var e=a(t).toHsl();e.l-=r/100;e.l=H(e.l);return a(e)}function p(t,r){var e=a(t).toHsl();var n=(e.h+r)%360;e.h=n<0?360+n:n;return a(e)}function y(t){var r=a(t).toHsl();r.h=(r.h+180)%360;return a(r)}function k(t,r){if(isNaN(r)||r<=0){throw new Error("Argument to polyad must be a positive number")}var e=a(t).toHsl();var n=[a(t)];var i=360/r;for(var f=1;f<r;f++){n.push(a({h:(e.h+f*i)%360,s:e.s,l:e.l}))}return n}function A(t){var r=a(t).toHsl();var e=r.h;return[a(t),a({h:(e+72)%360,s:r.s,l:r.l}),a({h:(e+216)%360,s:r.s,l:r.l})]}function w(t,r,e){r=r||6;e=e||30;var n=a(t).toHsl();var i=360/e;var f=[a(t)];for(n.h=(n.h-(i*r>>1)+720)%360;--r;){n.h=(n.h+i)%360;f.push(a(n))}return f}function x(t,r){r=r||6;var e=a(t).toHsv();var n=e.h,i=e.s,f=e.v;var s=[];var h=1/r;while(r--){s.push(a({h:n,s:i,v:f}));f=(f+h)%1}return s}a.mix=function(t,r,e){e=e===0?0:e||50;var n=a(t).toRgb();var i=a(r).toRgb();var f=e/100;var s={r:(i.r-n.r)*f+n.r,g:(i.g-n.g)*f+n.g,b:(i.b-n.b)*f+n.b,a:(i.a-n.a)*f+n.a};return a(s)};a.readability=function(t,r){var e=a(t);var n=a(r);return(Math.max(e.getLuminance(),n.getLuminance())+.05)/(Math.min(e.getLuminance(),n.getLuminance())+.05)};a.isReadable=function(t,r,e){var n=a.readability(t,r);var i,f;f=false;i=P(e);switch(i.level+i.size){case"AAsmall":case"AAAlarge":f=n>=4.5;break;case"AAlarge":f=n>=3;break;case"AAAsmall":f=n>=7;break}return f};a.mostReadable=function(t,r,e){var n=null;var i=0;var f;var s,h,u;e=e||{};s=e.includeFallbackColors;h=e.level;u=e.size;for(var o=0;o<r.length;o++){f=a.readability(t,r[o]);if(f>i){i=f;n=a(r[o])}}if(a.isReadable(t,n,{level:h,size:u})||!s){return n}else{e.includeFallbackColors=false;return a.mostReadable(t,["#fff","#000"],e)}};var F=a.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};var S=a.hexNames=R(F);function R(t){var r={};for(var e in t){if(t.hasOwnProperty(e)){r[t[e]]=e}}return r}function q(t){t=parseFloat(t);if(isNaN(t)||t<0||t>1){t=1}return t}function E(t,r){if(I(t))t="100%";var e=$(t);t=Math.min(r,Math.max(0,parseFloat(t)));if(e){t=parseInt(t*r,10)/100}if(Math.abs(t-r)<1e-6){return 1}return t%r/parseFloat(r)}function H(t){return Math.min(1,Math.max(0,t))}function N(t){return parseInt(t,16)}function I(t){return typeof t=="string"&&t.indexOf(".")!=-1&&parseFloat(t)===1}function $(t){return typeof t==="string"&&t.indexOf("%")!=-1}function j(t){return t.length==1?"0"+t:""+t}function z(t){if(t<=1){t=t*100+"%"}return t}function C(t){return Math.round(parseFloat(t)*255).toString(16)}function T(t){return N(t)/255}var _=function(){var t="[-\\+]?\\d+%?";var r="[-\\+]?\\d*\\.\\d+%?";var e="(?:"+r+")|(?:"+t+")";var a="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?";var n="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?";return{CSS_UNIT:new RegExp(e),rgb:new RegExp("rgb"+a),rgba:new RegExp("rgba"+n),hsl:new RegExp("hsl"+a),hsla:new RegExp("hsla"+n),hsv:new RegExp("hsv"+a),hsva:new RegExp("hsva"+n),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function D(t){return!!_.CSS_UNIT.exec(t)}function L(t){t=t.replace(r,"").replace(e,"").toLowerCase();var a=false;if(F[t]){t=F[t];a=true}else if(t=="transparent"){return{r:0,g:0,b:0,a:0,format:"name"}}var n;if(n=_.rgb.exec(t)){return{r:n[1],g:n[2],b:n[3]}}if(n=_.rgba.exec(t)){return{r:n[1],g:n[2],b:n[3],a:n[4]}}if(n=_.hsl.exec(t)){return{h:n[1],s:n[2],l:n[3]}}if(n=_.hsla.exec(t)){return{h:n[1],s:n[2],l:n[3],a:n[4]}}if(n=_.hsv.exec(t)){return{h:n[1],s:n[2],v:n[3]}}if(n=_.hsva.exec(t)){return{h:n[1],s:n[2],v:n[3],a:n[4]}}if(n=_.hex8.exec(t)){return{r:N(n[1]),g:N(n[2]),b:N(n[3]),a:T(n[4]),format:a?"name":"hex8"}}if(n=_.hex6.exec(t)){return{r:N(n[1]),g:N(n[2]),b:N(n[3]),format:a?"name":"hex"}}if(n=_.hex4.exec(t)){return{r:N(n[1]+""+n[1]),g:N(n[2]+""+n[2]),b:N(n[3]+""+n[3]),a:T(n[4]+""+n[4]),format:a?"name":"hex8"}}if(n=_.hex3.exec(t)){return{r:N(n[1]+""+n[1]),g:N(n[2]+""+n[2]),b:N(n[3]+""+n[3]),format:a?"name":"hex"}}return false}function P(t){var r,e;t=t||{level:"AA",size:"small"};r=(t.level||"AA").toUpperCase();e=(t.size||"small").toLowerCase();if(r!=="AA"&&r!=="AAA"){r="AA"}if(e!=="small"&&e!=="large"){e="small"}return{level:r,size:e}}return a}))})(e);var a=e.exports;var n=t("i",(function(t){return a(t).isDark()}))}}}));
@@ -0,0 +1 @@
1
+ import{r as o,h as t,H as r,d as a}from"./p-58127116.js";import{z as n,d as i}from"./p-47fac33f.js";import{c as s}from"./p-b4b7f705.js";import{g as e}from"./p-1d16a6fb.js";import{i as d}from"./p-4c414a92.js";import{i as h}from"./p-17550a10.js";const c=class{constructor(t){o(this,t),this.handleSlotChange=()=>{this.hasContent=!0},this.buttonColor=void 0,this.backgroundColor=void 0,this.borderStyle=void 0,this.isDisabled=!1,this.icon=null,this.iconRight=!1,this.size="sm",this.variant="standard",this.noBackground=!1,this.noPaddingLeft=!1,this.noPaddingRight=!1,this.loading=!1,this.theme=void 0,this.hasIcon=!!this.icon,this.hasContent=!1}iconChangeHandler(){this.hasIcon=!!this.icon}clickHandler(o){(this.loading||this.isDisabled)&&(o.preventDefault(),o.stopPropagation())}componentWillLoad(){this.iconChangeHandler()}render(){const o=this.loading||this.isDisabled,a=this.variant||"standard",c=this.buttonColor&&d(this.buttonColor)?`var(--amino-${this.buttonColor})`:this.buttonColor,l=this.backgroundColor||n.appearance.colorSecondary,b="standard"===a?(o=>{const t=o||n.appearance.colorSecondary,r=t&&d(t)?`var(--amino-${t})`:t;return r&&h(r)?"DARK":"LIGHT"})(l):void 0,u=e(this.borderStyle),g="LIGHT"===b?"white":"black";return t(r,{key:"817142c1d229333aee0b38864788346d2749d3d1",class:s(["zonos--elements"]),"data-theme":this.theme||b,disabled:o,style:{"--background-color":l,"--border-radius":u,"--color":c,"--font-family":i()}},t("button",{key:"04bff1f932154f54b4af51b2fac053d40efc354f",class:s([this.hasIcon&&"has-icon",this.hasContent&&"has-content",this.noBackground&&"no-background",this.noPaddingLeft&&"no-padding-left",this.noPaddingRight&&"no-padding-right",this.iconRight&&"icon-right",a,this.size,l&&"standard"===a&&"override-background"]),disabled:o},this.loading&&t("div",{class:"zonos--spinner-wrapper"},t("zonos-spinner",{size:16,spinnerColor:g})),!this.loading&&!this.iconRight&&this.icon,t("slot",{key:"fd9bd0e9f89c3c9ab6dc9d0ac7a123542a1f5023",onSlotchange:this.handleSlotChange}),!this.loading&&this.iconRight&&this.icon))}static get watchers(){return{icon:["iconChangeHandler"]}}};c.style=":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--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 .zonos--spinner-wrapper{position:absolute;top:0;left:0;right:0;bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;background-color:var(--amino-surface-color);-ms-flex-pack:center;justify-content:center;border-radius:var(--amino-radius-10);gap:var(--amino-space-8)}:host button{width:100%;position:relative;font-size:14px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background-color:var(--amino-surface-color);border:none;outline:1px solid var(--amino-surface-color);border-radius:var(--border-radius, var(--amino-radius-10));-webkit-transition:var(--amino-transition);transition:var(--amino-transition);font-weight:500;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-family:var(--font-family, Inter), Inter;letter-spacing:normal;cursor:pointer;white-space:nowrap;padding:var(--amino-space-8) var(--amino-space-24);color:var(--color, var(--amino-gray-1200));}:host button.sm.no-background,:host button.md.no-background,:host button.lg.no-background{background:none;outline:none}:host button.sm.no-padding-left,:host button.md.no-padding-left,:host button.lg.no-padding-left{padding-left:0}:host button.sm.no-padding-right,:host button.md.no-padding-right,:host button.lg.no-padding-right{padding-right:0}:host button[disabled]{cursor:not-allowed;background-color:var(--background-color, var(--amino-gray-200))}:host button[disabled] .zonos--spinner-wrapper{background-color:var(--background-color, var(--amino-gray-200))}:host button:active{-webkit-transform:scale(0.99);transform:scale(0.99)}:host button.sm{height:var(--amino-size-sm);line-height:var(--amino-size-sm);padding:var(--amino-space-4) var(--amino-space-8)}:host button.sm:not(.has-content).has-icon{padding:0 var(--amino-space-4)}:host button.md{height:var(--amino-size-md);line-height:var(--amino-size-md);padding:var(--amino-space-8) var(--amino-space-16)}:host button.md:not(.has-content).has-icon{padding:0 var(--amino-space-8)}:host button.lg{height:var(--amino-size-lg);line-height:var(--amino-size-lg);padding:var(--amino-space-12) var(--amino-space-24)}:host button.lg:not(.has-content).has-icon{padding:0 var(--amino-space-16)}:host button:not(.only-icon).has-icon{gap:var(--amino-space-8)}@media (max-width: 400px){:host button:not(.only-icon).has-icon{font-size:var(--amino-font-size-s)}}:host button.override-background{background-color:var(--background-color, var(--amino-gray-0));color:var(--color, var(--amino-gray-1200));outline:1px solid var(--background-color, var(--amino-gray-0))}:host button.override-background:disabled{opacity:0.8}:host button.override-background:not(:disabled):hover{opacity:0.9}:host button:not(.override-background){}:host button:not(.override-background).primary{background:var(--amino-blue-600);outline:1px solid var(--amino-blue-600);color:var(--amino-gray-0)}:host button:not(.override-background).primary:not([disabled]):hover{background-image:var(--amino-button-primary-hover)}:host button:not(.override-background).primary:not([disabled]):active{background:var(--amino-blue-700)}:host button:not(.override-background).primary:not([disabled]):focus{-webkit-box-shadow:var(--amino-focus-button);box-shadow:var(--amino-focus-button)}:host button:not(.override-background).primary[disabled]{background:var(--amino-blue-400)}:host button:not(.override-background).primary[disabled] .zonos--spinner-wrapper{background-color:var(--amino-blue-400)}:host button:not(.override-background).primary .zonos--spinner-wrapper{background-color:var(--amino-blue-600)}:host button:not(.override-background).success{background:var(--amino-green-600);outline:1px solid var(--amino-green-600);color:var(--amino-gray-0)}:host button:not(.override-background).success:not([disabled]):hover{background-image:var(--amino-button-success-hover)}:host button:not(.override-background).success:not([disabled]):active{background:var(--amino-green-700)}:host button:not(.override-background).success:not([disabled]):focus{-webkit-box-shadow:var(--amino-focus-button);box-shadow:var(--amino-focus-button)}:host button:not(.override-background).success[disabled]{background:var(--amino-green-400)}:host button:not(.override-background).success[disabled] .zonos--spinner-wrapper{background-color:var(--amino-green-400)}:host button:not(.override-background).danger{background:var(--amino-red-600);outline:1px solid var(--amino-red-600);color:var(--amino-gray-0)}:host button:not(.override-background).danger:not([disabled]):hover{background-image:var(--amino-button-danger-hover)}:host button:not(.override-background).danger:not([disabled]):active{background:var(--amino-red-700)}:host button:not(.override-background).danger:not([disabled]):focus{-webkit-box-shadow:var(--amino-focus-button);box-shadow:var(--amino-focus-button)}:host button:not(.override-background).danger[disabled]{background:var(--amino-red-400)}:host button:not(.override-background).danger[disabled] .zonos--spinner-wrapper{background-color:var(--amino-red-400)}:host button:not(.override-background).warning{background:var(--amino-orange-600);outline:1px solid var(--amino-orange-600);color:var(--amino-gray-0)}:host button:not(.override-background).warning:not([disabled]):hover{background-image:var(--amino-button-warning-hover)}:host button:not(.override-background).warning:not([disabled]):active{background:var(--amino-orange-700)}:host button:not(.override-background).warning:not([disabled]):focus{-webkit-box-shadow:var(--amino-focus-button);box-shadow:var(--amino-focus-button)}:host button:not(.override-background).warning[disabled]{background:var(--amino-orange-400)}:host button:not(.override-background).warning[disabled] .zonos--spinner-wrapper{background-color:var(--amino-orange-400)}:host button:not(.override-background).subtle{background:transparent;color:var(--color);outline:none}:host button:not(.override-background).subtle:not([disabled]):hover{background:var(--amino-gray-100)}:host button:not(.override-background).subtle:not([disabled]):active{background:var(--amino-gray-200)}:host button:not(.override-background).subtle:focus{-webkit-box-shadow:var(--amino-button-focus-ring);box-shadow:var(--amino-button-focus-ring)}:host button:not(.override-background).subtle[disabled] .content{opacity:0.6}:host button:not(.override-background).subtle[disabled] .zonos--spinner-wrapper{background-color:var(--amino-gray-0)}:host button:not(.override-background).outline{background:transparent;outline:1px solid var(--amino-gray-700)}:host button:not(.override-background).outline:not([disabled]):hover{background-color:var(--amino-gray-100)}:host button:not(.override-background).outline:not([disabled]):active{background:var(--amino-gray-200)}:host .zonos--footer-country-flag{height:18px;width:18px;position:relative;overflow:hidden;border-radius:30px;-webkit-box-shadow:var(--amino-v3-shadow-medium);box-shadow:var(--amino-v3-shadow-medium);z-index:10;justify-self:center;border-radius:var(--amino-radius-4);width:24px}";const l=class{constructor(t){o(this,t),this.autoHeight=!1,this.iconColor="gray-1200",this.content=void 0,this.size=24}render(){return this.content&&this.el.shadowRoot?(this.el.shadowRoot.innerHTML=this.content,t(r,{class:"zonos--elements",style:{"--color":`var(--amino-${this.iconColor})`,"--font-family":i(),"--height":this.autoHeight?"auto":`${this.size}px`,"--width":`${this.size}px`}})):null}get el(){return a(this)}};l.style=":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--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 svg{width:var(--width);height:var(--height);fill:var(--color);color:var(--color)}";const b=class{constructor(t){o(this,t),this.size=32,this.spinnerColor=void 0}render(){return this.el.shadowRoot?t(r,{class:s(["zonos--elements",this.spinnerColor]),style:{"--size":`${this.size}px`}},t("svg",{viewBox:"0 0 50 50"},t("circle",{class:"track",cx:"25",cy:"25",fill:"none",id:"loading-spinner-circle",r:"20","stroke-width":"5"}),t("circle",{cx:"25",cy:"25",fill:"none",id:"loading-spinner-circle",r:"20","stroke-width":"5"}))):null}get el(){return a(this)}};b.style=":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--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{position:relative;overflow:hidden;width:var(--size);height:var(--size);display:-ms-inline-flexbox;display:inline-flex}:host svg{width:var(--size);height:var(--size);stroke:var(--amino-blue-600);-webkit-animation:rotate 2s linear infinite;animation:rotate 2s linear infinite}:host circle.track{stroke:var(--amino-gray-200)}@-webkit-keyframes rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes dash{0%{stroke-dasharray:1, 150;stroke-dashoffset:0}50%{stroke-dasharray:90, 150;stroke-dashoffset:-35}100%{stroke-dasharray:90, 150;stroke-dashoffset:-124}}@keyframes dash{0%{stroke-dasharray:1, 150;stroke-dashoffset:0}50%{stroke-dasharray:90, 150;stroke-dashoffset:-35}100%{stroke-dasharray:90, 150;stroke-dashoffset:-124}}:host circle:not(.track){stroke-linecap:round;-webkit-animation:dash 1.5s ease-in-out infinite;animation:dash 1.5s ease-in-out infinite}:host(.black) circle{stroke:var(--amino-spinner-stroke-black)}:host(.black) circle.track{stroke:var(--amino-spinner-track-black)}:host(.white) circle{stroke:var(--amino-spinner-stroke-white)}:host(.white) circle.track{stroke:var(--amino-spinner-track-white)}:host(.info) circle{stroke:var(--amino-blue-600)}:host(.info) circle.track{stroke:var(--amino-blue-100)}:host(.success) circle{stroke:var(--amino-green-600)}:host(.success) circle.track{stroke:var(--amino-green-100)}:host(.danger) circle{stroke:var(--amino-red-600)}:host(.danger) circle.track{stroke:var(--amino-red-100)}:host(.warning) circle{stroke:var(--amino-orange-600)}:host(.warning) circle.track{stroke:var(--amino-orange-100)}";export{c as zonos_button,l as zonos_icon,b as zonos_spinner}
@@ -1 +1 @@
1
- System.register(["./p-dc09ca69.system.js","./p-a6f2e282.system.js"],(function(n){"use strict";var t,e;return{setters:[function(n){t=n.z},function(n){e=n.l}],execute:function(){var i=n("s",(function(n){var i=t.checkoutSettings.analyticsProviders.find((function(n){return n.type==="GOOGLE_ANALYTICS"}));if(!i||(i===null||i===void 0?void 0:i.status)==="DISABLED"){return}if(typeof window.gtag==="function"){e("Zonos submits gtag event","log",n);window.gtag("event",n,{})}}))}}}));
1
+ System.register(["./p-50287643.system.js","./p-16b74c31.system.js"],(function(n){"use strict";var t,e;return{setters:[function(n){t=n.z},function(n){e=n.a}],execute:function(){var i=n("s",(function(n){var i=t.checkoutSettings.analyticsProviders.find((function(n){return n.type==="GOOGLE_ANALYTICS"}));if(!i||(i===null||i===void 0?void 0:i.status)==="DISABLED"){return}if(typeof window.gtag==="function"){e("Zonos submits gtag event","log",n);window.gtag("event",n,{})}}))}}}));
@@ -1 +1 @@
1
- import{r as o,h as n,H as s,d as t}from"./p-4d8545e1.js";import{s as e}from"./p-cfe4a318.js";import"./p-e8da4463.js";import"./p-8ebc0b64.js";import"./p-0024f8c2.js";import"./p-f2733cc7.js";const a=class{constructor(n){o(this,n),this.titleText=void 0,this.stripe=e.stripe,this.stripeElements=e.stripeElements}watchInitStripe(){if(!this.stripeElements)return;const o=e.stripePaymentElement||this.stripeElements.create("payment",{layout:"tabs"}),n=this.el.querySelector(".zonos--payment-component");n?(o.mount(n),o.on("change",(o=>{e.stripePaymentEventData=o})),e.stripePaymentElement=o):console.error("Cannot find container element for paymentElement")}componentDidLoad(){this.watchInitStripe()}render(){return n(s,{key:"365e346a6cda504bdbc825ff8e25b7492bf1d19b",class:"zonos--payment zonos--elements"},this.titleText&&n("zonos-text",{class:"zonos--title",type:"semiBoldLabel"},this.titleText),n("div",{key:"f76c3b4ef941ecc8cb99ac3593b9d902eda5b1e7",class:"zonos--payment-component"}))}get el(){return t(this)}static get watchers(){return{stripeElements:["watchInitStripe"],stripe:["watchInitStripe"]}}};a.style=".sc-zonos-payment-h{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-payment-h *.sc-zonos-payment{font-family:var(--font-family, Inter), Inter}.sc-zonos-payment-h img.sc-zonos-payment{max-width:100%}.sc-zonos-payment-h dl.sc-zonos-payment,.sc-zonos-payment-h dd.sc-zonos-payment,.sc-zonos-payment-h h1.sc-zonos-payment,.sc-zonos-payment-h h2.sc-zonos-payment,.sc-zonos-payment-h h3.sc-zonos-payment,.sc-zonos-payment-h h4.sc-zonos-payment,.sc-zonos-payment-h h5.sc-zonos-payment,.sc-zonos-payment-h h6.sc-zonos-payment,.sc-zonos-payment-h hr.sc-zonos-payment,.sc-zonos-payment-h figure.sc-zonos-payment,.sc-zonos-payment-h p.sc-zonos-payment,.sc-zonos-payment-h pre.sc-zonos-payment{margin:0}.sc-zonos-payment-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-payment-h .zonos--title.sc-zonos-payment{margin-bottom:var(--amino-space-16)}";export{a as zonos_payment}
1
+ import{r as o,h as n,H as s,d as t}from"./p-58127116.js";import{s as e}from"./p-4fb71a93.js";import"./p-47fac33f.js";import"./p-394cf1cf.js";import"./p-17550a10.js";import"./p-1d16a6fb.js";const a=class{constructor(n){o(this,n),this.titleText=void 0,this.stripe=e.stripe,this.stripeElements=e.stripeElements}watchInitStripe(){if(!this.stripeElements)return;const o=e.stripePaymentElement||this.stripeElements.create("payment",{layout:"tabs"}),n=this.el.querySelector(".zonos--payment-component");n?(o.mount(n),o.on("change",(o=>{e.stripePaymentEventData=o})),e.stripePaymentElement=o):console.error("Cannot find container element for paymentElement")}componentDidLoad(){this.watchInitStripe()}render(){return n(s,{key:"d5b7717fa4b80da99ae6ba2d7cccbe318e091f8f",class:"zonos--payment zonos--elements"},this.titleText&&n("zonos-text",{class:"zonos--title",type:"semiBoldLabel"},this.titleText),n("div",{key:"37bd2c2dcc59613857b9fd22d864c0d11b2a7319",class:"zonos--payment-component"}))}get el(){return t(this)}static get watchers(){return{stripeElements:["watchInitStripe"],stripe:["watchInitStripe"]}}};a.style=".sc-zonos-payment-h{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-payment-h *.sc-zonos-payment{font-family:var(--font-family, Inter), Inter}.sc-zonos-payment-h img.sc-zonos-payment{max-width:100%}.sc-zonos-payment-h dl.sc-zonos-payment,.sc-zonos-payment-h dd.sc-zonos-payment,.sc-zonos-payment-h h1.sc-zonos-payment,.sc-zonos-payment-h h2.sc-zonos-payment,.sc-zonos-payment-h h3.sc-zonos-payment,.sc-zonos-payment-h h4.sc-zonos-payment,.sc-zonos-payment-h h5.sc-zonos-payment,.sc-zonos-payment-h h6.sc-zonos-payment,.sc-zonos-payment-h hr.sc-zonos-payment,.sc-zonos-payment-h figure.sc-zonos-payment,.sc-zonos-payment-h p.sc-zonos-payment,.sc-zonos-payment-h pre.sc-zonos-payment{margin:0}.sc-zonos-payment-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-payment-h .zonos--title.sc-zonos-payment{margin-bottom:var(--amino-space-16)}";export{a as zonos_payment}
@@ -0,0 +1 @@
1
+ System.register(["./p-50287643.system.js"],(function(t){"use strict";var e;return{setters:[function(t){e=t.z}],execute:function(){var n=t("g",(function(t,n){if(n===void 0){n="10px"}if(t){return t==="SHARP"?"0px":n}return e.appearance.style==="SHARP"?"0px":n}))}}}));
@@ -1 +1 @@
1
- import{p as e,b as o}from"./p-4d8545e1.js";export{s as setNonce}from"./p-4d8545e1.js";(()=>{const o=import.meta.url,t={};return""!==o&&(t.resourcesUrl=new URL(".",o).href),e(t)})().then((e=>o([["p-f342e7c7",[[1,"zonos-text",{class:[1],color:[1],size:[1],type:[1],weight:[2],content:[1],ready:[32]}]]],["p-54ef8ff3",[[2,"zonos-checkout",{appearanceSettingsOverride:[16],preview:[4],mobile:[4],defaultAddress:[16],forceDialogOpen:[4,"force-dialog-open"],open:[32],stripe:[32],submitLoading:[32],paymentError:[32],collapseReviewMobile:[32],isAttachError:[32],isMobile:[32],zonosReviewRef:[32],storybookPaymentStatusOverride:[32],closeDialogHandler:[64],init:[64],setToFinishStep:[64]},[[16,"zonos--init-cart-info","initCartInfoHandler"],[9,"resize","handleWindowResize"]],{appearanceSettingsOverride:["appearanceSettingsOverrideChanged"],mobile:["handleMobileChange"]}]]],["p-28d7b75d",[[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],displayCurrency:[64],convertAndFormat:[64],convert:[64],format:[64]},[[9,"resize","handleResize"]]]]],["p-b58d2231",[[1,"zonos-controller",{config:[16],zonosApiKey:[1,"zonos-api-key"],initCheckoutElement:[64],setupGoogleFont:[64],showNotification:[64],overrideConfig:[64],overrideCountry:[64],getAppearanceSetting:[64],updateOrganizationName:[64]}]]],["p-aca66e4b",[[1,"zonos-component",{first:[1],middle:[1],last:[1]}]]],["p-6d454281",[[1,"zonos-country-select",{closeCountrySelect:[16],inputValue:[32]}],[1,"zonos-hello-dialog-footer",{appearanceSettings:[16],setShowCountrySelect:[16]}],[1,"zonos-custom-message",{icon:[1],message:[1]}],[1,"zonos-country-flag",{class:[1],countryCode:[1,"country-code"],size:[2]}]]],["p-3319e4db",[[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]},[[4,"click","globalClickHandler"]],{isOpen:["isOpenHandler"]}]]],["p-027abb50",[[1,"zonos-notification",{class:[1],notificationArray:[32],showNotification:[64]}]]],["p-21793192",[[1,"zonos-badge",{bold:[4],color:[1],icon:[16],iconRight:[4,"icon-right"],size:[1],rounded:[4],class:[1]}]]],["p-31fa76da",[[2,"zonos-payment",{titleText:[1,"title-text"],stripe:[32],stripeElements:[32]},null,{stripeElements:["watchInitStripe"],stripe:["watchInitStripe"]}]]],["p-7748735d",[[1,"zonos-shipping-rich-radio",{items:[16],borderColor:[1,"border-color"],borderStyle:[1,"border-style"],theme:[1],selectedItem:[32]}]]],["p-661bc488",[[2,"zonos-address",{type:[1],titleText:[1,"title-text"],defaultAddress:[16],stripe:[32],isDirtyAddress:[32]},null,{stripe:["watchInitStripe"]}],[2,"zonos-link-authentication",{titleText:[1,"title-text"],stripe:[32]},null,{stripe:["watchInitStripe"]}]]],["p-bd02a65c",[[1,"zonos-banner",{bannerTitle:[1,"banner-title"],intent:[1],class:[1],hasContent:[32]}]]],["p-357f0c61",[[1,"zonos-card",{actions:[16],class:[1],footerActions:[16],footerContent:[16],footerHeight:[2,"footer-height"],label:[16],spacing:[1]}],[1,"zonos-v-stack",{spacing:[2],class:[1]}]]],["p-b1ffb37b",[[1,"zonos-icon",{autoHeight:[4,"auto-height"],color:[1],content:[1],size:[2]}]]],["p-6c47083f",[[1,"zonos-button",{class:[1],color:[1],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"],noPaddingLeft:[4,"no-padding-left"],noPaddingRight:[4,"no-padding-right"],loading:[4],theme:[1],hasIcon:[32],hasContent:[32]},[[2,"click","clickHandler"]],{icon:["iconChangeHandler"]}],[1,"zonos-spinner",{size:[2],color:[1]}]]],["p-6444a4b9",[[2,"zonos-checkout-payment",{paymentError:[4,"payment-error"],submitBtnType:[1,"submit-btn-type"],continueLoading:[4,"continue-loading"],submitBtnColor:[1,"submit-btn-color"],disabled:[32]},null,{disabled:["watchFormComplete"]}],[2,"zonos-customer-info",{continueLoading:[4,"continue-loading"],submitBtnType:[1,"submit-btn-type"],submitBtnColor:[1,"submit-btn-color"],defaultAddress:[16],disabled:[32]},null,{disabled:["watchFormComplete"]}],[2,"zonos-shipping",{continueLoading:[4,"continue-loading"],submitBtnColor:[1,"submit-btn-color"],submitBtnType:[1,"submit-btn-type"],selectedShippingMethod:[32],disabled:[32]},null,{disabled:["watchFormComplete"]}],[1,"zonos-checkout-finish",{borderRadius:[1,"border-radius"],storybookForceStatus:[1,"storybook-force-status"],overrideNotification:[16],isLoading:[32],notificationType:[32],notificationTitle:[32],notificationMessages:[32],order:[32]}],[1,"zonos-cart-subtotal"],[1,"zonos-dialog",{open:[4],headerText:[1,"header-text"],width:[1],height:[1],noHeader:[4,"no-header"],noBodyPadding:[4,"no-body-padding"],noBorder:[4,"no-border"],footerRightAction:[16],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"]]],[1,"zonos-review",{mobile:[4],collapsed:[4],isMobile:[32]},[[9,"resize","handleWindowResize"]]],[1,"zonos-cart-items",{errorImages:[32]}],[1,"zonos-collapse",{collapsed:[4],collapseSize:[2,"collapse-size"],height:[32]}],[1,"zonos-logo",{theme:[1],width:[1],class:[1]}]]]],e)));
1
+ import{p as e,b as o}from"./p-58127116.js";export{s as setNonce}from"./p-58127116.js";import{g as t}from"./p-e1255160.js";(()=>{const o=import.meta.url,t={};return""!==o&&(t.resourcesUrl=new URL(".",o).href),e(t)})().then((async e=>(await t(),o([["p-d5d7c8f5",[[2,"zonos-checkout",{appearanceSettingsOverride:[16],preview:[4],mobile:[4],defaultAddress:[16],forceDialogOpen:[4,"force-dialog-open"],open:[32],stripe:[32],submitLoading:[32],paymentError:[32],collapseReviewMobile:[32],isAttachError:[32],isMobile:[32],zonosReviewRef:[32],storybookPaymentStatusOverride:[32],closeDialogHandler:[64],init:[64],setToFinishStep:[64]},[[16,"zonos--init-cart-info","initCartInfoHandler"],[9,"resize","handleWindowResize"]],{appearanceSettingsOverride:["appearanceSettingsOverrideChanged"],mobile:["handleMobileChange"]}]]],["p-1ed530cc",[[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],displayCurrency:[64],convertAndFormat:[64],convert:[64],format:[64]},[[9,"resize","handleResize"]]]]],["p-cdf114a2",[[1,"zonos-controller",{config:[16],zonosApiKey:[1,"zonos-api-key"],initCheckoutElement:[64],setupGoogleFont:[64],showNotification:[64],overrideConfig:[64],overrideCountry:[64],getAppearanceSetting:[64],updateOrganizationName:[64]}]]],["p-a4de3fb2",[[1,"zonos-component",{first:[1],middle:[1],last:[1]}]]],["p-e8a9bc56",[[1,"zonos-logo",{theme:[1],width:[1]}]]],["p-f6f5f644",[[2,"zonos-payment",{titleText:[1,"title-text"],stripe:[32],stripeElements:[32]},null,{stripeElements:["watchInitStripe"],stripe:["watchInitStripe"]}]]],["p-7a6144b1",[[1,"zonos-shipping-rich-radio",{items:[16],borderColor:[1,"border-color"],borderStyle:[1,"border-style"],theme:[1],selectedItem:[32]}]]],["p-1ea68e3b",[[1,"zonos-country-flag",{countryCode:[1,"country-code"],size:[2]}]]],["p-bd6a2095",[[1,"zonos-text",{textColor:[1,"text-color"],size:[1],type:[1],weight:[2],content:[1],ready:[32]}]]],["p-ec25f180",[[1,"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"],noPaddingLeft:[4,"no-padding-left"],noPaddingRight:[4,"no-padding-right"],loading:[4],theme:[1],hasIcon:[32],hasContent:[32]},[[2,"click","clickHandler"]],{icon:["iconChangeHandler"]}],[1,"zonos-icon",{autoHeight:[4,"auto-height"],iconColor:[1,"icon-color"],content:[1],size:[2]}],[1,"zonos-spinner",{size:[2],spinnerColor:[1,"spinner-color"]}]]],["p-a33745e9",[[1,"zonos-select-dialog-header",{handleOnClose:[16],label:[1]}],[1,"zonos-v-stack",{spacing:[2]}]]],["p-6308b347",[[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]}]]],["p-37f53a79",[[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"]}]]],["p-ba43275e",[[1,"zonos-notification",{notificationArray:[32],showNotification:[64]}]]],["p-96aabe02",[[1,"zonos-badge",{bold:[4],badgeColor:[1,"badge-color"],icon:[16],iconRight:[4,"icon-right"],size:[1],rounded:[4]}],[1,"zonos-tooltip",{label:[1],subtitle:[1],showTooltip:[32]}]]],["p-0c7480a5",[[1,"zonos-banner",{bannerTitle:[1,"banner-title"],intent:[1],hasContent:[32]}]]],["p-04f63cea",[[1,"zonos-language-select",{handleOnClose:[16]}],[1,"zonos-card",{actions:[16],footerActions:[16],footerContent:[16],footerHeight:[2,"footer-height"],label:[16],spacing:[1]}]]],["p-63d1b1fe",[[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"]}],[2,"zonos-link-authentication",{titleText:[1,"title-text"],stripe:[32]},null,{stripe:["watchInitStripe"]}],[1,"zonos-collapse",{collapsed:[4],collapseSize:[2,"collapse-size"],height:[32]}]]],["p-de339fb6",[[1,"zonos-checkout-footer",{showDialog:[32]},[[4,"click","handleGlobalClick"]]],[2,"zonos-customer-info",{continueLoading:[4,"continue-loading"],submitBtnType:[1,"submit-btn-type"],submitBtnColor:[1,"submit-btn-color"],defaultAddress:[16],disabled:[32]},null,{disabled:["watchFormComplete"]}],[2,"zonos-checkout-payment",{paymentError:[4,"payment-error"],submitBtnType:[1,"submit-btn-type"],continueLoading:[4,"continue-loading"],submitBtnColor:[1,"submit-btn-color"],disabled:[32]},null,{disabled:["watchFormComplete"]}],[2,"zonos-shipping",{continueLoading:[4,"continue-loading"],submitBtnColor:[1,"submit-btn-color"],submitBtnType:[1,"submit-btn-type"],selectedShippingMethod:[32],disabled:[32]},null,{disabled:["watchFormComplete"]}],[1,"zonos-cart-subtotal"],[1,"zonos-checkout-finish",{borderRadius:[1,"border-radius"],storybookForceStatus:[1,"storybook-force-status"],overrideNotification:[16],isLoading:[32],notificationType:[32],notificationTitle:[32],notificationMessages:[32],order:[32]}],[1,"zonos-dialog",{open:[4],headerText:[1,"header-text"],width:[1],height:[1],noHeader:[4,"no-header"],noBodyPadding:[4,"no-body-padding"],noBorder:[4,"no-border"],footerRightAction:[16],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"]]],[1,"zonos-review",{mobile:[4],collapsed:[4],isMobile:[32]},[[9,"resize","handleWindowResize"]]],[1,"zonos-cart-items",{errorImages:[32]}]]]],e))));
@@ -115,7 +115,7 @@ DOMTokenList
115
115
  var resourcesUrl = scriptElm ? scriptElm.getAttribute('data-resources-url') || scriptElm.src : '';
116
116
  var start = function() {
117
117
  // if src is not present then origin is "null", and new URL() throws TypeError: Failed to construct 'URL': Invalid base URL
118
- var url = new URL('./p-b035f9e5.system.js', new URL(resourcesUrl, window.location.origin !== 'null' ? window.location.origin : undefined));
118
+ var url = new URL('./p-066c5893.system.js', new URL(resourcesUrl, window.location.origin !== 'null' ? window.location.origin : undefined));
119
119
  System.import(url.href);
120
120
  };
121
121
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zonos/elements",
3
- "version": "1.3.5",
3
+ "version": "1.3.6",
4
4
  "description": "Zonos component UI for Stripe elements",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.cjs.js",
@@ -47,12 +47,12 @@
47
47
  "demo:build": "pnpm demo:exec build",
48
48
  "demo:codegen": "pnpm demo:exec codegen",
49
49
  "demo:ngrok": "pnpm demo:exec ngrok",
50
+ "insertTranslations": "ts-node -r tsconfig-paths/register src/scripts/insertTranslations.ts",
50
51
  "storybook:build": "storybook build",
51
52
  "storybook:dev:open": "concurrently 'pnpm storybook' 'pnpm storybook:open'",
52
53
  "storybook:open": "open https://dev.elements.zonos.com:7013",
53
54
  "storybook": "storybook dev -p 7013 --no-open --quiet --https --ssl-cert ./localhost.crt --ssl-key ./localhost.key",
54
55
  "test": "stencil test --spec --detectOpenHandles --watchAll",
55
- "test:e2e": "stencil test --e2e",
56
56
  "test:prod": "stencil test --spec --detectOpenHandles",
57
57
  "tsc": "tsc --noEmit",
58
58
  "tsc:prod": "pnpm tsc && pnpm demo:exec tsc",
@@ -63,7 +63,7 @@
63
63
  "version:save": "pnpm ts-node build-utils/saveVersions.ts"
64
64
  },
65
65
  "dependencies": {
66
- "@stencil/core": "^4.12.1",
66
+ "@stencil/core": "^4.12.2",
67
67
  "@types/styled-components": "^5.1.34",
68
68
  "fuse.js": "^6.6.2",
69
69
  "lodash": "^4.17.21",
@@ -85,7 +85,7 @@
85
85
  "@rollup/plugin-replace": "^5.0.5",
86
86
  "@rollup/plugin-terser": "^0.4.4",
87
87
  "@rollup/plugin-typescript": "^11.1.6",
88
- "@stencil-community/eslint-plugin": "^0.5.0",
88
+ "@stencil-community/eslint-plugin": "^0.7.1",
89
89
  "@stencil/sass": "^3.0.9",
90
90
  "@stencil/store": "^2.0.13",
91
91
  "@storybook/addon-essentials": "^7.6.13",
@@ -97,30 +97,29 @@
97
97
  "@storybook/react-vite": "^7.6.13",
98
98
  "@storybook/testing-library": "^0.2.2",
99
99
  "@stripe/stripe-js": "^1.54.2",
100
- "@t3-oss/env-core": "^0.6.1",
101
- "@total-typescript/ts-reset": "^0.4.2",
100
+ "@t3-oss/env-core": "^0.8.0",
101
+ "@total-typescript/ts-reset": "^0.5.1",
102
102
  "@types/crypto-js": "^4.2.2",
103
103
  "@types/jest": "^29.5.12",
104
104
  "@types/lodash": "^4.14.202",
105
- "@types/node": "^18.19.15",
106
- "@types/prettier": "^2.7.3",
105
+ "@types/node": "^20.11.17",
107
106
  "@types/react": "^18.2.55",
108
107
  "@types/react-dom": "^18.2.19",
109
108
  "@types/tinycolor2": "^1.4.6",
110
- "@typescript-eslint/eslint-plugin": "^6.21.0",
111
- "@typescript-eslint/parser": "^6.21.0",
109
+ "@typescript-eslint/eslint-plugin": "^7.0.1",
110
+ "@typescript-eslint/parser": "^7.0.1",
112
111
  "clean-css-cli": "^5.6.3",
113
112
  "concurrently": "^8.2.2",
114
113
  "crypto-js": "^4.2.0",
115
- "dotenv": "^16.4.1",
114
+ "dotenv": "^16.4.4",
116
115
  "eslint": "^8.56.0",
117
- "eslint-config-prettier": "8.7.0",
118
- "eslint-plugin-deprecation": "^1.5.0",
119
- "eslint-plugin-import": "2.27.5",
120
- "eslint-plugin-jsx-a11y": "6.7.1",
116
+ "eslint-config-prettier": "9.1.0",
117
+ "eslint-plugin-deprecation": "^2.0.0",
118
+ "eslint-plugin-import": "2.29.1",
119
+ "eslint-plugin-jsx-a11y": "6.8.0",
121
120
  "eslint-plugin-no-relative-import-paths": "^1.5.3",
122
121
  "eslint-plugin-no-smart-quotes": "^1.3.0",
123
- "eslint-plugin-prettier": "4.2.1",
122
+ "eslint-plugin-prettier": "5.1.3",
124
123
  "eslint-plugin-react": "^7.33.2",
125
124
  "eslint-plugin-simple-import-sort": "^9.0.0",
126
125
  "eslint-plugin-sort-destructure-keys": "^1.5.0",
@@ -134,7 +133,7 @@
134
133
  "jest": "^29.7.0",
135
134
  "jest-cli": "^29.7.0",
136
135
  "jsx-dom": "^8.1.2",
137
- "prettier": "2.8.8",
136
+ "prettier": "3.2.5",
138
137
  "puppeteer": "^20.9.0",
139
138
  "rollup": "^3.29.4",
140
139
  "rollup-plugin-typescript2": "^0.35.0",
@@ -142,7 +141,7 @@
142
141
  "stencil-inline-svg": "^1.1.0",
143
142
  "storybook": "^7.6.13",
144
143
  "storybook-addon-mock": "^4.3.0",
145
- "ts-jest": "29.1.1",
144
+ "ts-jest": "29.1.2",
146
145
  "ts-node": "^10.9.2",
147
146
  "ts-toolbelt": "^9.6.0",
148
147
  "tsconfig-paths-webpack-plugin": "^4.1.0",