@zonos/elements 1.3.283 → 1.3.285

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 (371) hide show
  1. package/dist/cjs/{cart-a1c00090.js → cart-94908542.js} +4 -4
  2. package/dist/cjs/{collect-e61eafca.js → collect-0c05e2b4.js} +3 -3
  3. package/dist/cjs/{debounce-9a712c79.js → debounce-7ca3c878.js} +1 -1
  4. package/dist/cjs/{getBorderRadius-4da24d7c.js → getBorderRadius-97fd5e02.js} +1 -1
  5. package/dist/cjs/{getContrastColor-2fb235b8.js → getContrastColor-956dfaf7.js} +2 -2
  6. package/dist/cjs/{getMissingRequiredShippingFields-a6c4f625.js → getMissingRequiredShippingFields-124b3f20.js} +1 -1
  7. package/dist/cjs/{hasInclusivePrice-e7b57e02.js → hasInclusivePrice-d0cd2007.js} +1 -1
  8. package/dist/cjs/index.cjs.js +7 -7
  9. package/dist/cjs/{invoice-ead45797.js → invoice-205fb5bc.js} +3 -3
  10. package/dist/cjs/{isContrastColor-ef24b7aa.js → isContrastColor-30f84a91.js} +1 -1
  11. package/dist/cjs/{isDarkColor-ebc74b4d.js → isDarkColor-a6e6fd5e.js} +1 -1
  12. package/dist/cjs/{localization-783849c8.js → localization-fb2ece37.js} +61 -2
  13. package/dist/cjs/{paypal-e1548f40.js → paypal-45ca5301.js} +5 -5
  14. package/dist/cjs/{placeTestOrder-d99b1fe2.js → placeTestOrder-302b6862.js} +2 -2
  15. package/dist/cjs/{renderCheckoutCurrency-c942fcba.js → renderCheckoutCurrency-1b0cd5f2.js} +2 -2
  16. package/dist/cjs/shouldShowLanguageSelect-82985128.js +13 -0
  17. package/dist/cjs/{submitGtag-74762255.js → submitGtag-8a25f001.js} +1 -1
  18. package/dist/cjs/{throttle-34f7abf1.js → throttle-366c204b.js} +2 -2
  19. package/dist/cjs/{updateCheckoutSessionAttributes-f595319d.js → updateCheckoutSessionAttributes-de7b1466.js} +1 -1
  20. package/dist/cjs/zonos-address-completion-dialog_7.cjs.entry.js +17 -17
  21. package/dist/cjs/zonos-address-display_2.cjs.entry.js +6 -6
  22. package/dist/cjs/zonos-address_4.cjs.entry.js +13 -13
  23. package/dist/cjs/zonos-airwallex-payment.cjs.entry.js +6 -6
  24. package/dist/cjs/zonos-badge.cjs.entry.js +4 -4
  25. package/dist/cjs/zonos-banner.cjs.entry.js +1 -1
  26. package/dist/cjs/zonos-button_3.cjs.entry.js +6 -6
  27. package/dist/cjs/zonos-card_5.cjs.entry.js +14 -14
  28. package/dist/cjs/zonos-cart-items_12.cjs.entry.js +29 -26
  29. package/dist/cjs/zonos-checkbox_2.cjs.entry.js +8 -8
  30. package/dist/cjs/zonos-checkout.cjs.entry.js +10 -10
  31. package/dist/cjs/zonos-collapse.cjs.entry.js +3 -3
  32. package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +9 -9
  33. package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +28 -26
  34. package/dist/cjs/zonos-collect.cjs.entry.js +10 -11
  35. package/dist/cjs/zonos-component.cjs.entry.js +1 -1
  36. package/dist/cjs/zonos-controller.cjs.entry.js +7 -7
  37. package/dist/cjs/zonos-country-flag.cjs.entry.js +2 -2
  38. package/dist/cjs/zonos-country-select_4.cjs.entry.js +16 -14
  39. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +7 -7
  40. package/dist/cjs/zonos-hello.cjs.entry.js +3 -3
  41. package/dist/cjs/zonos-input.cjs.entry.js +6 -6
  42. package/dist/cjs/zonos-invoice-cart-items_2.cjs.entry.js +11 -11
  43. package/dist/cjs/zonos-invoice-finish_5.cjs.entry.js +23 -21
  44. package/dist/cjs/zonos-invoice.cjs.entry.js +10 -11
  45. package/dist/cjs/zonos-language-select_2.cjs.entry.js +6 -7
  46. package/dist/cjs/zonos-link.cjs.entry.js +1 -1
  47. package/dist/cjs/zonos-logo.cjs.entry.js +3 -3
  48. package/dist/cjs/zonos-policy-consent_2.cjs.entry.js +6 -6
  49. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +5 -5
  50. package/dist/cjs/zonos-stripe-input.cjs.entry.js +7 -7
  51. package/dist/cjs/zonos-text.cjs.entry.js +1 -1
  52. package/dist/cjs/zonos-tooltip.cjs.entry.js +2 -2
  53. package/dist/cjs/zonos-v-stack.cjs.entry.js +3 -3
  54. package/dist/cjs/{zonosStore-fee716c9.js → zonosStore-0af0b937.js} +3 -0
  55. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.js +8 -4
  56. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +1 -1
  57. package/dist/collection/components/checkout/zonos-collect/zonos-collect-cart-items/zonos-collect-cart-items.js +1 -1
  58. package/dist/collection/components/checkout/zonos-collect/zonos-collect-finish/zonos-collect-finish.js +2 -2
  59. package/dist/collection/components/checkout/zonos-collect/zonos-collect-footer/zonos-collect-footer.js +7 -4
  60. package/dist/collection/components/checkout/zonos-collect/zonos-collect-review/zonos-collect-review.js +3 -3
  61. package/dist/collection/components/checkout/zonos-collect/zonos-collect-subtotal/zonos-collect-subtotal.js +5 -5
  62. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-cart-items/zonos-invoice-cart-items.js +2 -2
  63. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-finish/zonos-invoice-finish.js +2 -2
  64. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-footer/zonos-invoice-footer.js +7 -4
  65. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-review/zonos-invoice-review.js +3 -3
  66. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-subtotal/zonos-invoice-subtotal.js +2 -2
  67. package/dist/collection/components/common/zonos-badge/zonos-badge.js +3 -3
  68. package/dist/collection/components/common/zonos-button/zonos-button.js +3 -3
  69. package/dist/collection/components/common/zonos-card/zonos-card.js +4 -4
  70. package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +3 -3
  71. package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +3 -3
  72. package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +2 -2
  73. package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.js +3 -3
  74. package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +3 -3
  75. package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +2 -2
  76. package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +3 -3
  77. package/dist/collection/components/common/zonos-h-stack/zonos-h-stack.js +2 -2
  78. package/dist/collection/components/common/zonos-input/zonos-input.js +4 -4
  79. package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +3 -3
  80. package/dist/collection/components/common/zonos-link/zonos-link.js +1 -1
  81. package/dist/collection/components/common/zonos-loading-overlay/zonos-loading-overlay.js +1 -1
  82. package/dist/collection/components/common/zonos-logo/zonos-logo.js +2 -2
  83. package/dist/collection/components/common/zonos-rest-state/zonos-rest-state.js +3 -3
  84. package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +2 -2
  85. package/dist/collection/components/common/zonos-skeleton/zonos-skeleton.js +1 -1
  86. package/dist/collection/components/common/zonos-stripe-input/zonos-stripe-input.js +4 -4
  87. package/dist/collection/components/common/zonos-stripe-phone-input/zonos-stripe-phone-input.js +6 -6
  88. package/dist/collection/components/common/zonos-toggle/zonos-toggle.js +2 -2
  89. package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +2 -2
  90. package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +2 -2
  91. package/dist/collection/components/common/zonos-virtual-scroll/zonos-virtual-scroll.js +2 -2
  92. package/dist/collection/components/component-template/zonos-component/zonos-component.js +1 -1
  93. package/dist/collection/components/hello/zonos-hello/zonos-hello.js +1 -1
  94. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +6 -3
  95. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +5 -5
  96. package/dist/collection/components/main/zonos-controller.js +2 -2
  97. package/dist/collection/components/paypal/zonos-paypal-payment.js +1 -1
  98. package/dist/collection/components/store/hello/localization.js +20 -1
  99. package/dist/collection/components/store/zonosStore.js +3 -0
  100. package/dist/collection/components/stripe/zonos-address/zonos-address.js +2 -2
  101. package/dist/collection/components/stripe/zonos-custom-address/zonos-address-suggestions/zonos-address-suggestions.js +2 -2
  102. package/dist/collection/components/stripe/zonos-custom-address/zonos-custom-address.js +2 -2
  103. package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
  104. package/dist/collection/components/utils/getSupportedLanguages.js +17 -0
  105. package/dist/collection/components/utils/shouldShowLanguageSelect.js +8 -0
  106. package/dist/collection/types/generated/graphql.frontend.types.js +4 -0
  107. package/dist/collection/types/generated/graphql.internal.types.js +359 -15
  108. package/dist/esm/{cart-93c36159.js → cart-2e407f7b.js} +4 -4
  109. package/dist/esm/{collect-42d4757a.js → collect-19428e18.js} +3 -3
  110. package/dist/esm/{debounce-c8d67b17.js → debounce-84ade9c2.js} +1 -1
  111. package/dist/esm/{getBorderRadius-dc982fe6.js → getBorderRadius-1f7be586.js} +1 -1
  112. package/dist/esm/{getContrastColor-af895b60.js → getContrastColor-4c0ae8c1.js} +2 -2
  113. package/dist/esm/{getMissingRequiredShippingFields-ebdccdcf.js → getMissingRequiredShippingFields-719b206f.js} +1 -1
  114. package/dist/esm/{hasInclusivePrice-4c12548f.js → hasInclusivePrice-d801be22.js} +1 -1
  115. package/dist/esm/index.js +7 -7
  116. package/dist/esm/{invoice-71471339.js → invoice-67a47785.js} +3 -3
  117. package/dist/esm/{isContrastColor-089de6ac.js → isContrastColor-9fa0d013.js} +1 -1
  118. package/dist/esm/{isDarkColor-039ef212.js → isDarkColor-939d8e9c.js} +1 -1
  119. package/dist/esm/{localization-754e7e8b.js → localization-36a4dc22.js} +60 -3
  120. package/dist/esm/{paypal-b1410e02.js → paypal-6dca6567.js} +5 -5
  121. package/dist/esm/{placeTestOrder-4267cafd.js → placeTestOrder-9563c89a.js} +2 -2
  122. package/dist/esm/{renderCheckoutCurrency-9a81e41c.js → renderCheckoutCurrency-282384f0.js} +2 -2
  123. package/dist/esm/shouldShowLanguageSelect-328f50e2.js +11 -0
  124. package/dist/esm/{submitGtag-dc54f5b9.js → submitGtag-71c450b6.js} +1 -1
  125. package/dist/esm/{throttle-44bfb6b5.js → throttle-c4c24e86.js} +2 -2
  126. package/dist/esm/{updateCheckoutSessionAttributes-e0a282d9.js → updateCheckoutSessionAttributes-23b222de.js} +1 -1
  127. package/dist/esm/zonos-address-completion-dialog_7.entry.js +17 -17
  128. package/dist/esm/zonos-address-display_2.entry.js +6 -6
  129. package/dist/esm/zonos-address_4.entry.js +13 -13
  130. package/dist/esm/zonos-airwallex-payment.entry.js +6 -6
  131. package/dist/esm/zonos-badge.entry.js +4 -4
  132. package/dist/esm/zonos-banner.entry.js +1 -1
  133. package/dist/esm/zonos-button_3.entry.js +6 -6
  134. package/dist/esm/zonos-card_5.entry.js +14 -14
  135. package/dist/esm/zonos-cart-items_12.entry.js +28 -25
  136. package/dist/esm/zonos-checkbox_2.entry.js +8 -8
  137. package/dist/esm/zonos-checkout.entry.js +10 -10
  138. package/dist/esm/zonos-collapse.entry.js +3 -3
  139. package/dist/esm/zonos-collect-cart-items_3.entry.js +9 -9
  140. package/dist/esm/zonos-collect-finish_6.entry.js +27 -25
  141. package/dist/esm/zonos-collect.entry.js +9 -10
  142. package/dist/esm/zonos-component.entry.js +1 -1
  143. package/dist/esm/zonos-controller.entry.js +7 -7
  144. package/dist/esm/zonos-country-flag.entry.js +2 -2
  145. package/dist/esm/zonos-country-select_4.entry.js +15 -13
  146. package/dist/esm/zonos-hello-dialog.entry.js +7 -7
  147. package/dist/esm/zonos-hello.entry.js +3 -3
  148. package/dist/esm/zonos-input.entry.js +6 -6
  149. package/dist/esm/zonos-invoice-cart-items_2.entry.js +11 -11
  150. package/dist/esm/zonos-invoice-finish_5.entry.js +22 -20
  151. package/dist/esm/zonos-invoice.entry.js +9 -10
  152. package/dist/esm/zonos-language-select_2.entry.js +6 -7
  153. package/dist/esm/zonos-link.entry.js +1 -1
  154. package/dist/esm/zonos-logo.entry.js +3 -3
  155. package/dist/esm/zonos-policy-consent_2.entry.js +6 -6
  156. package/dist/esm/zonos-shipping-rich-radio.entry.js +5 -5
  157. package/dist/esm/zonos-stripe-input.entry.js +7 -7
  158. package/dist/esm/zonos-text.entry.js +1 -1
  159. package/dist/esm/zonos-tooltip.entry.js +2 -2
  160. package/dist/esm/zonos-v-stack.entry.js +3 -3
  161. package/dist/esm/{zonosStore-b7d3f9b0.js → zonosStore-eca1e364.js} +3 -0
  162. package/dist/esm-es5/{cart-93c36159.js → cart-2e407f7b.js} +1 -1
  163. package/dist/esm-es5/{collect-42d4757a.js → collect-19428e18.js} +1 -1
  164. package/dist/esm-es5/{debounce-c8d67b17.js → debounce-84ade9c2.js} +1 -1
  165. package/dist/esm-es5/{getBorderRadius-dc982fe6.js → getBorderRadius-1f7be586.js} +1 -1
  166. package/dist/esm-es5/{getContrastColor-af895b60.js → getContrastColor-4c0ae8c1.js} +1 -1
  167. package/dist/esm-es5/{getMissingRequiredShippingFields-ebdccdcf.js → getMissingRequiredShippingFields-719b206f.js} +1 -1
  168. package/dist/esm-es5/{hasInclusivePrice-4c12548f.js → hasInclusivePrice-d801be22.js} +1 -1
  169. package/dist/esm-es5/index.js +1 -1
  170. package/dist/esm-es5/{invoice-71471339.js → invoice-67a47785.js} +1 -1
  171. package/dist/esm-es5/{isContrastColor-089de6ac.js → isContrastColor-9fa0d013.js} +1 -1
  172. package/dist/esm-es5/{isDarkColor-039ef212.js → isDarkColor-939d8e9c.js} +1 -1
  173. package/dist/esm-es5/{localization-754e7e8b.js → localization-36a4dc22.js} +1 -1
  174. package/dist/esm-es5/{paypal-b1410e02.js → paypal-6dca6567.js} +1 -1
  175. package/dist/esm-es5/{placeTestOrder-4267cafd.js → placeTestOrder-9563c89a.js} +1 -1
  176. package/dist/esm-es5/{renderCheckoutCurrency-9a81e41c.js → renderCheckoutCurrency-282384f0.js} +1 -1
  177. package/dist/esm-es5/shouldShowLanguageSelect-328f50e2.js +1 -0
  178. package/dist/esm-es5/{submitGtag-dc54f5b9.js → submitGtag-71c450b6.js} +1 -1
  179. package/dist/esm-es5/throttle-c4c24e86.js +1 -0
  180. package/dist/esm-es5/{updateCheckoutSessionAttributes-e0a282d9.js → updateCheckoutSessionAttributes-23b222de.js} +1 -1
  181. package/dist/esm-es5/zonos-address-completion-dialog_7.entry.js +1 -1
  182. package/dist/esm-es5/zonos-address-display_2.entry.js +1 -1
  183. package/dist/esm-es5/zonos-address_4.entry.js +1 -1
  184. package/dist/esm-es5/zonos-airwallex-payment.entry.js +1 -1
  185. package/dist/esm-es5/zonos-badge.entry.js +1 -1
  186. package/dist/esm-es5/zonos-banner.entry.js +1 -1
  187. package/dist/esm-es5/zonos-button_3.entry.js +1 -1
  188. package/dist/esm-es5/zonos-card_5.entry.js +1 -1
  189. package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
  190. package/dist/esm-es5/zonos-checkbox_2.entry.js +1 -1
  191. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  192. package/dist/esm-es5/zonos-collapse.entry.js +1 -1
  193. package/dist/esm-es5/zonos-collect-cart-items_3.entry.js +1 -1
  194. package/dist/esm-es5/zonos-collect-finish_6.entry.js +1 -1
  195. package/dist/esm-es5/zonos-collect.entry.js +1 -1
  196. package/dist/esm-es5/zonos-component.entry.js +1 -1
  197. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  198. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  199. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  200. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  201. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  202. package/dist/esm-es5/zonos-input.entry.js +1 -1
  203. package/dist/esm-es5/zonos-invoice-cart-items_2.entry.js +1 -1
  204. package/dist/esm-es5/zonos-invoice-finish_5.entry.js +1 -1
  205. package/dist/esm-es5/zonos-invoice.entry.js +1 -1
  206. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  207. package/dist/esm-es5/zonos-link.entry.js +1 -1
  208. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  209. package/dist/esm-es5/zonos-policy-consent_2.entry.js +1 -1
  210. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
  211. package/dist/esm-es5/zonos-stripe-input.entry.js +1 -1
  212. package/dist/esm-es5/zonos-text.entry.js +1 -1
  213. package/dist/esm-es5/zonos-tooltip.entry.js +1 -1
  214. package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
  215. package/dist/esm-es5/{zonosStore-b7d3f9b0.js → zonosStore-eca1e364.js} +1 -1
  216. package/dist/scripts/index.d.ts +21 -0
  217. package/dist/scripts/index.js +1 -1
  218. package/dist/scripts/loadZonos.js +1 -1
  219. package/dist/scripts/zonos.js +1 -1
  220. package/dist/types/components/store/hello/localization.d.ts +1 -1
  221. package/dist/types/components/store/zonosStore.d.ts +7 -0
  222. package/dist/types/components/utils/api/getLocaleMessages.d.ts +1 -1
  223. package/dist/types/components/utils/getSupportedLanguages.d.ts +167 -0
  224. package/dist/types/components/utils/shouldShowLanguageSelect.d.ts +7 -0
  225. package/dist/types/scripts/cart/_setupCartDataWithSettings.d.ts +1 -0
  226. package/dist/types/types/generated/graphql.frontend.types.d.ts +9 -1
  227. package/dist/types/types/generated/graphql.frontend.types.ts +6 -1
  228. package/dist/types/types/generated/graphql.internal.types.d.ts +437 -16
  229. package/dist/types/types/generated/graphql.internal.types.ts +601 -17
  230. package/dist/zonos-elements/index.esm.js +1 -1
  231. package/dist/zonos-elements/{p-b93013f7.system.entry.js → p-083a11cd.system.entry.js} +1 -1
  232. package/dist/zonos-elements/p-0b29169b.js +1 -0
  233. package/dist/zonos-elements/{p-62609f19.entry.js → p-0c972ddf.entry.js} +1 -1
  234. package/dist/zonos-elements/{p-f9f3155b.js → p-0c9fec73.js} +1 -1
  235. package/dist/zonos-elements/{p-f1dbeb85.system.entry.js → p-0e199a6c.system.entry.js} +1 -1
  236. package/dist/zonos-elements/{p-76cdf517.js → p-0ff845ec.js} +1 -1
  237. package/dist/zonos-elements/p-1277abac.system.entry.js +1 -0
  238. package/dist/zonos-elements/p-14afffa8.system.js +1 -0
  239. package/dist/zonos-elements/{p-944282af.entry.js → p-171a7e1e.entry.js} +1 -1
  240. package/dist/zonos-elements/{p-f1aea919.js → p-1834f486.js} +1 -1
  241. package/dist/zonos-elements/p-1ac0c631.system.js +1 -0
  242. package/dist/zonos-elements/{p-fa80a973.entry.js → p-1be53c82.entry.js} +1 -1
  243. package/dist/zonos-elements/p-1cdd27ec.js +1 -0
  244. package/dist/zonos-elements/{p-c634546a.system.entry.js → p-1f8648c8.system.entry.js} +1 -1
  245. package/dist/zonos-elements/p-22e10b7d.entry.js +1 -0
  246. package/dist/zonos-elements/p-260ad739.system.entry.js +1 -0
  247. package/dist/zonos-elements/{p-9a417eeb.js → p-27660512.js} +1 -1
  248. package/dist/zonos-elements/p-29b60bf3.system.js +1 -1
  249. package/dist/zonos-elements/{p-5fceef56.system.js → p-2b8c96e3.system.js} +1 -1
  250. package/dist/zonos-elements/{p-7bdce9d4.js → p-2bbe9d91.js} +1 -1
  251. package/dist/zonos-elements/{p-07c21940.entry.js → p-2c2afed4.entry.js} +1 -1
  252. package/dist/zonos-elements/{p-32b53999.entry.js → p-2c44e013.entry.js} +1 -1
  253. package/dist/zonos-elements/{p-e0cbc7c7.entry.js → p-2c7a425d.entry.js} +1 -1
  254. package/dist/zonos-elements/{p-0e1f13ff.system.entry.js → p-2cab1746.system.entry.js} +1 -1
  255. package/dist/zonos-elements/{p-1180a97c.system.entry.js → p-2cdd1b49.system.entry.js} +1 -1
  256. package/dist/zonos-elements/{p-d1e84608.entry.js → p-2ce039e5.entry.js} +1 -1
  257. package/dist/zonos-elements/{p-26bf0c31.entry.js → p-3490b6d0.entry.js} +1 -1
  258. package/dist/zonos-elements/{p-72280783.system.js → p-3a13e58c.system.js} +1 -1
  259. package/dist/zonos-elements/{p-ef2c264c.entry.js → p-4671fde7.entry.js} +1 -1
  260. package/dist/zonos-elements/{p-e2b8936a.js → p-46cd14e5.js} +1 -1
  261. package/dist/zonos-elements/{p-0d183f19.system.js → p-4a20893e.system.js} +1 -1
  262. package/dist/zonos-elements/{p-6325ee77.system.js → p-4b159ff3.system.js} +1 -1
  263. package/dist/zonos-elements/{p-34d6eb83.js → p-502d6eeb.js} +1 -1
  264. package/dist/zonos-elements/{p-8fa3a8f8.system.entry.js → p-51e4e61a.system.entry.js} +1 -1
  265. package/dist/zonos-elements/{p-496accce.system.js → p-551fa762.system.js} +1 -1
  266. package/dist/zonos-elements/p-5a491f28.js +1 -0
  267. package/dist/zonos-elements/{p-d74eda59.entry.js → p-5b990c91.entry.js} +1 -1
  268. package/dist/zonos-elements/{p-b7a03b08.entry.js → p-5ebb7ae6.entry.js} +1 -1
  269. package/dist/zonos-elements/p-60832726.system.js +1 -0
  270. package/dist/zonos-elements/{p-c515bc23.system.js → p-60a6b71d.system.js} +1 -1
  271. package/dist/zonos-elements/p-62f6a757.entry.js +1 -0
  272. package/dist/zonos-elements/p-65c1f51e.entry.js +1 -0
  273. package/dist/zonos-elements/{p-b567448d.system.js → p-6695de06.system.js} +1 -1
  274. package/dist/zonos-elements/{p-dab78981.system.js → p-6890e060.system.js} +1 -1
  275. package/dist/zonos-elements/{p-21f7d57b.entry.js → p-6afd5fab.entry.js} +1 -1
  276. package/dist/zonos-elements/{p-2837bfd2.js → p-6bdc5c96.js} +1 -1
  277. package/dist/zonos-elements/{p-e99654c1.system.entry.js → p-6dde1e85.system.entry.js} +1 -1
  278. package/dist/zonos-elements/{p-e3d0d8ff.entry.js → p-6ee4e027.entry.js} +1 -1
  279. package/dist/zonos-elements/p-7176f582.entry.js +1 -0
  280. package/dist/zonos-elements/{p-333f6018.system.entry.js → p-76834a0a.system.entry.js} +1 -1
  281. package/dist/zonos-elements/{p-f2431e47.entry.js → p-7ada039e.entry.js} +1 -1
  282. package/dist/zonos-elements/{p-d706852e.system.js → p-7fbbdb0f.system.js} +1 -1
  283. package/dist/zonos-elements/{p-9ceb3d1c.entry.js → p-8311edc7.entry.js} +1 -1
  284. package/dist/zonos-elements/p-8a0b8175.system.entry.js +1 -0
  285. package/dist/zonos-elements/p-8a6c4017.js +1 -0
  286. package/dist/zonos-elements/p-8b298971.system.entry.js +1 -0
  287. package/dist/zonos-elements/p-8be02f3a.system.js +1 -0
  288. package/dist/zonos-elements/{p-6be4c473.entry.js → p-8bfe5b2b.entry.js} +1 -1
  289. package/dist/zonos-elements/{p-fc45b3a5.entry.js → p-8e6338b9.entry.js} +1 -1
  290. package/dist/zonos-elements/{p-22f7120a.system.js → p-916228fb.system.js} +1 -1
  291. package/dist/zonos-elements/{p-4dba0e9b.system.entry.js → p-94722bf6.system.entry.js} +1 -1
  292. package/dist/zonos-elements/p-947e4402.system.entry.js +1 -0
  293. package/dist/zonos-elements/p-9639a8ed.entry.js +1 -0
  294. package/dist/zonos-elements/{p-f2511b86.system.entry.js → p-9ad640b2.system.entry.js} +1 -1
  295. package/dist/zonos-elements/{p-781b3345.system.entry.js → p-9ecb9afc.system.entry.js} +1 -1
  296. package/dist/zonos-elements/{p-5a37683b.system.entry.js → p-a04e2750.system.entry.js} +1 -1
  297. package/dist/zonos-elements/{p-d93f4837.entry.js → p-a07e5011.entry.js} +1 -1
  298. package/dist/zonos-elements/{p-4a73906a.system.entry.js → p-a9ad74e5.system.entry.js} +1 -1
  299. package/dist/zonos-elements/{p-db65c60b.system.entry.js → p-acb7dee1.system.entry.js} +1 -1
  300. package/dist/zonos-elements/{p-3d28353a.js → p-adfbf57b.js} +1 -1
  301. package/dist/zonos-elements/{p-39399f67.entry.js → p-ae0de3e4.entry.js} +1 -1
  302. package/dist/zonos-elements/{p-59824ac6.entry.js → p-aecb5d61.entry.js} +1 -1
  303. package/dist/zonos-elements/{p-33dd7dab.entry.js → p-aed4ffb2.entry.js} +1 -1
  304. package/dist/zonos-elements/{p-e977562b.system.js → p-af19722c.system.js} +1 -1
  305. package/dist/zonos-elements/{p-e8bb4f3b.entry.js → p-b1e95f95.entry.js} +1 -1
  306. package/dist/zonos-elements/{p-59e4e0b6.system.entry.js → p-b4ae66cb.system.entry.js} +1 -1
  307. package/dist/zonos-elements/{p-55c5977b.entry.js → p-bb09ee50.entry.js} +1 -1
  308. package/dist/zonos-elements/{p-21489ff1.system.entry.js → p-bcaffb85.system.entry.js} +1 -1
  309. package/dist/zonos-elements/p-bced320e.entry.js +1 -0
  310. package/dist/zonos-elements/p-be6cd28c.system.entry.js +1 -0
  311. package/dist/zonos-elements/p-c1631c9c.js +1 -0
  312. package/dist/zonos-elements/{p-cb376f03.entry.js → p-c77b049c.entry.js} +1 -1
  313. package/dist/zonos-elements/{p-6146bfaa.system.entry.js → p-ca87ada5.system.entry.js} +1 -1
  314. package/dist/zonos-elements/{p-69871ab6.entry.js → p-cb49dcfe.entry.js} +1 -1
  315. package/dist/zonos-elements/p-cb4cb5a3.system.js +1 -0
  316. package/dist/zonos-elements/{p-aa7589de.system.entry.js → p-d20fe2c2.system.entry.js} +1 -1
  317. package/dist/zonos-elements/{p-76a75da9.system.entry.js → p-d42bd250.system.entry.js} +1 -1
  318. package/dist/zonos-elements/{p-97f15546.system.entry.js → p-d6a73125.system.entry.js} +1 -1
  319. package/dist/zonos-elements/{p-19bbf4b3.js → p-dc80cb87.js} +1 -1
  320. package/dist/zonos-elements/{p-4a5fa892.system.entry.js → p-dd3c00d6.system.entry.js} +1 -1
  321. package/dist/zonos-elements/{p-47a1d469.system.js → p-de58684b.system.js} +1 -1
  322. package/dist/zonos-elements/{p-1735a69b.js → p-e160b75f.js} +1 -1
  323. package/dist/zonos-elements/{p-2aebcfa8.system.entry.js → p-e1ef3984.system.entry.js} +1 -1
  324. package/dist/zonos-elements/{p-4b9c7803.entry.js → p-e27b8e18.entry.js} +1 -1
  325. package/dist/zonos-elements/{p-1cff471a.system.entry.js → p-e2b4c082.system.entry.js} +1 -1
  326. package/dist/zonos-elements/{p-29ca1415.system.entry.js → p-e32ee011.system.entry.js} +1 -1
  327. package/dist/zonos-elements/{p-5b11bbca.system.entry.js → p-e4b07f7d.system.entry.js} +1 -1
  328. package/dist/zonos-elements/{p-a2fe995b.js → p-e5c76a9b.js} +2 -2
  329. package/dist/zonos-elements/p-e8587f9f.system.entry.js +1 -0
  330. package/dist/zonos-elements/{p-cd5638b2.system.js → p-eb5f3451.system.js} +1 -1
  331. package/dist/zonos-elements/p-ebbda085.system.js +1 -0
  332. package/dist/zonos-elements/{p-daab3824.entry.js → p-f37150e8.entry.js} +1 -1
  333. package/dist/zonos-elements/p-f4720b0a.js +1 -0
  334. package/dist/zonos-elements/{p-38881097.js → p-f4acce01.js} +1 -1
  335. package/dist/zonos-elements/p-f59a0129.system.entry.js +1 -0
  336. package/dist/zonos-elements/{p-58da55e6.system.entry.js → p-f8356934.system.entry.js} +1 -1
  337. package/dist/zonos-elements/{p-602de72d.system.js → p-fe5f05fc.system.js} +1 -1
  338. package/dist/zonos-elements/p-ff4e6811.entry.js +1 -0
  339. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  340. package/package.json +3 -1
  341. package/dist/cjs/ILanguage-98b04442.js +0 -26
  342. package/dist/esm/ILanguage-cd6acb72.js +0 -24
  343. package/dist/esm-es5/ILanguage-cd6acb72.js +0 -1
  344. package/dist/esm-es5/throttle-44bfb6b5.js +0 -1
  345. package/dist/zonos-elements/p-007ff76a.entry.js +0 -1
  346. package/dist/zonos-elements/p-05cb0a0d.system.entry.js +0 -1
  347. package/dist/zonos-elements/p-065f3f66.system.entry.js +0 -1
  348. package/dist/zonos-elements/p-1af510ea.system.entry.js +0 -1
  349. package/dist/zonos-elements/p-30e9a6d7.system.js +0 -1
  350. package/dist/zonos-elements/p-342b062d.system.entry.js +0 -1
  351. package/dist/zonos-elements/p-35fd0fdb.js +0 -1
  352. package/dist/zonos-elements/p-3b479012.js +0 -1
  353. package/dist/zonos-elements/p-3d902845.entry.js +0 -1
  354. package/dist/zonos-elements/p-3dcb3794.entry.js +0 -1
  355. package/dist/zonos-elements/p-5c30d04b.js +0 -1
  356. package/dist/zonos-elements/p-67251274.system.js +0 -1
  357. package/dist/zonos-elements/p-73d1a554.entry.js +0 -1
  358. package/dist/zonos-elements/p-8eaf1316.js +0 -1
  359. package/dist/zonos-elements/p-97aceb11.js +0 -1
  360. package/dist/zonos-elements/p-a3c116d6.system.js +0 -1
  361. package/dist/zonos-elements/p-b0482924.entry.js +0 -1
  362. package/dist/zonos-elements/p-c43130a7.system.entry.js +0 -1
  363. package/dist/zonos-elements/p-c8a48cce.entry.js +0 -1
  364. package/dist/zonos-elements/p-c9e433c0.system.js +0 -1
  365. package/dist/zonos-elements/p-cc35d5f8.system.entry.js +0 -1
  366. package/dist/zonos-elements/p-d68425ad.js +0 -1
  367. package/dist/zonos-elements/p-dcf8ab79.entry.js +0 -1
  368. package/dist/zonos-elements/p-e2057ab0.system.entry.js +0 -1
  369. package/dist/zonos-elements/p-e8159288.system.entry.js +0 -1
  370. package/dist/zonos-elements/p-f29bcf8b.system.js +0 -1
  371. package/dist/zonos-elements/p-f61c0eef.system.js +0 -1
@@ -1,21 +1,20 @@
1
1
  import { r as registerInstance, h, a as Host, F as Fragment } from './index-cfd394c8.js';
2
- import { c as collectStore, a as airwallexStoreSetFromSession, b as airwallexStore, d as airwallexStoreRetrievePaymentIntent, e as airwallexStoreIsPaidStatus, f as airwallexStoreInitSdk, g as collectStoreUpdateSelectedShippingOption, h as collectStoreInitShippingInfo, i as collectStoreAsyncAddressUpdate } from './collect-42d4757a.js';
3
- import { b as stripeStore, i as initStripeElements, d as cartStore, c as stripeStoreRetrievePayment, o as cartStoreUpdateToErrorState, e as cartStoreUpdateItems, j as stripeStoreInitCheckoutSession, k as stripeStoreGetPaymentIntent, x as stripeStoreUpdateCheckoutSessionBaseCurrency, C as stripeStoreConfirmPayment, H as stripeStoreOnChange, F as stripeStoreReset, f as cartStoreReset } from './cart-93c36159.js';
4
- import { p as paypalStoreHasPaypalEnabled, a as paypalStore } from './paypal-b1410e02.js';
5
- import { s as storageStore, t as translate, e as localizationStoreOnChange, h as currencyFormat, l as localizationStore } from './localization-754e7e8b.js';
6
- import { z as zonosStore } from './zonosStore-b7d3f9b0.js';
2
+ import { c as collectStore, a as airwallexStoreSetFromSession, b as airwallexStore, d as airwallexStoreRetrievePaymentIntent, e as airwallexStoreIsPaidStatus, f as airwallexStoreInitSdk, g as collectStoreUpdateSelectedShippingOption, h as collectStoreInitShippingInfo, i as collectStoreAsyncAddressUpdate } from './collect-19428e18.js';
3
+ import { b as stripeStore, i as initStripeElements, d as cartStore, c as stripeStoreRetrievePayment, o as cartStoreUpdateToErrorState, e as cartStoreUpdateItems, j as stripeStoreInitCheckoutSession, k as stripeStoreGetPaymentIntent, x as stripeStoreUpdateCheckoutSessionBaseCurrency, C as stripeStoreConfirmPayment, H as stripeStoreOnChange, F as stripeStoreReset, f as cartStoreReset } from './cart-2e407f7b.js';
4
+ import { p as paypalStoreHasPaypalEnabled, a as paypalStore } from './paypal-6dca6567.js';
5
+ import { s as storageStore, t as translate, e as localizationStoreOnChange, h as currencyFormat, k as languages, l as localizationStore } from './localization-36a4dc22.js';
6
+ import { z as zonosStore } from './zonosStore-eca1e364.js';
7
7
  import { b as buildCartItemsByTempCart } from './buildCartItemsByTempCart-a117f75d.js';
8
8
  import { h as handleFetch, s as sendErrorLog, l as logError, g as getIsTestMode } from './handleFetch-a844cac1.js';
9
9
  import { i as isCollectMobile, a as isCollectTablet } from './isCollectMobileTablet-111b0dd7.js';
10
10
  import { c as classes } from './classes-0d95c529.js';
11
11
  import { l as log } from './VarianceTest-572cecf5.js';
12
12
  import { r as renderFallback } from './renderFallback-b250f4e9.js';
13
- import { l as languages } from './ILanguage-cd6acb72.js';
14
- import './isDarkColor-039ef212.js';
15
- import './getBorderRadius-dc982fe6.js';
13
+ import './isDarkColor-939d8e9c.js';
14
+ import './getBorderRadius-1f7be586.js';
16
15
  import './TaxId-63a14057.js';
17
- import './isContrastColor-089de6ac.js';
18
- import './submitGtag-dc54f5b9.js';
16
+ import './isContrastColor-9fa0d013.js';
17
+ import './submitGtag-71c450b6.js';
19
18
 
20
19
  const ChevronDownIcon = `<svg color="var(--zonos-elements-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>`;
21
20
 
@@ -27,7 +27,7 @@ const ZonosComponent = class {
27
27
  return format(this.first, this.middle, this.last);
28
28
  }
29
29
  render() {
30
- return h("div", { key: '4e29ec8d8aeafa6d194925220355d6a8a785e838' }, "Hello, World! I'm ", this.getText());
30
+ return h("div", { key: '7cc54490d65b2d6596a09f37bd0a842c66179d2c' }, "Hello, World! I'm ", this.getText());
31
31
  }
32
32
  };
33
33
  ZonosComponent.style = ZonosComponentStyle0;
@@ -1,13 +1,13 @@
1
1
  import { r as registerInstance, d as createEvent, h, a as Host } from './index-cfd394c8.js';
2
- import { b as stripeStore } from './cart-93c36159.js';
3
- import { j as getOverridenZCountry, k as isValidSelector, m as initLocalizationStore, s as storageStore, c as localizationStoreUpdateSelectedCountryCode } from './localization-754e7e8b.js';
4
- import { z as zonosStore, e as zonosStoreInitSetting, f as zonosStoreFontFamily } from './zonosStore-b7d3f9b0.js';
2
+ import { b as stripeStore } from './cart-2e407f7b.js';
3
+ import { j as getOverridenZCountry, m as isValidSelector, n as initLocalizationStore, s as storageStore, c as localizationStoreUpdateSelectedCountryCode } from './localization-36a4dc22.js';
4
+ import { z as zonosStore, e as zonosStoreInitSetting, f as zonosStoreFontFamily } from './zonosStore-eca1e364.js';
5
5
  import { g as getGenericSettingsOverride, i as iframeServices, a as injectPrivateIframe } from './getGenericSettingsOverride-0bc3e118.js';
6
6
  import { h as handleFetch, l as logError } from './handleFetch-a844cac1.js';
7
7
  import { l as log } from './VarianceTest-572cecf5.js';
8
- import { a as ensureAnalyticsRelayPing } from './submitGtag-dc54f5b9.js';
9
- import './isDarkColor-039ef212.js';
10
- import './getBorderRadius-dc982fe6.js';
8
+ import { a as ensureAnalyticsRelayPing } from './submitGtag-71c450b6.js';
9
+ import './isDarkColor-939d8e9c.js';
10
+ import './getBorderRadius-1f7be586.js';
11
11
  import './TaxId-63a14057.js';
12
12
 
13
13
  const getZonosSettings = async () => {
@@ -859,7 +859,7 @@ const ZonosController = class {
859
859
  zonosStore.organizationName = organizationName;
860
860
  }
861
861
  render() {
862
- return h(Host, { key: '4fde0983cf8a248635f7e1d8c54c712142e9363d', class: "zonos--elements" });
862
+ return h(Host, { key: '12257443495182932a4ca497928398e22f5fb892', class: "zonos--elements" });
863
863
  }
864
864
  };
865
865
  ZonosController.style = ZonosControllerStyle0;
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, a as Host, g as getElement } from './index-cfd394c8.js';
2
- import { l as localizationStore } from './localization-754e7e8b.js';
3
- import { f as zonosStoreFontFamily } from './zonosStore-b7d3f9b0.js';
2
+ import { l as localizationStore } from './localization-36a4dc22.js';
3
+ import { f as zonosStoreFontFamily } from './zonosStore-eca1e364.js';
4
4
  import { c as classes } from './classes-0d95c529.js';
5
5
  import './handleFetch-a844cac1.js';
6
6
  import './VarianceTest-572cecf5.js';
@@ -1,9 +1,9 @@
1
1
  import { r as registerInstance, h, a as Host, g as getElement } from './index-cfd394c8.js';
2
- import { c as localizationStoreUpdateSelectedCountryCode, t as translate, l as localizationStore } from './localization-754e7e8b.js';
3
- import { f as zonosStoreFontFamily } from './zonosStore-b7d3f9b0.js';
2
+ import { c as localizationStoreUpdateSelectedCountryCode, t as translate, l as localizationStore, k as languages } from './localization-36a4dc22.js';
3
+ import { f as zonosStoreFontFamily } from './zonosStore-eca1e364.js';
4
4
  import { f as formatStringWithLinks } from './formatStringWithLinks-0d48f183.js';
5
- import { i as isDarkColor } from './isDarkColor-039ef212.js';
6
- import { l as languages } from './ILanguage-cd6acb72.js';
5
+ import { i as isDarkColor } from './isDarkColor-939d8e9c.js';
6
+ import { s as shouldShowLanguageSelect } from './shouldShowLanguageSelect-328f50e2.js';
7
7
  import { c as classes } from './classes-0d95c529.js';
8
8
  import './handleFetch-a844cac1.js';
9
9
  import './VarianceTest-572cecf5.js';
@@ -1680,13 +1680,13 @@ const ZonosCountrySelect = class {
1680
1680
  ? fuseObject.map(country => country.item)
1681
1681
  : countries.sort((a, b) => a.displayName.localeCompare(b.displayName));
1682
1682
  const isEmpty = !filteredCountries.length;
1683
- return (h(Host, { key: '3581b885b6d8d220d4c38769658b25ccf473b012', class: "zonos--elements", style: {
1683
+ return (h(Host, { key: '315a4cef4eaeecdc0bc1d2f05ae656f370c247ca', class: "zonos--elements", style: {
1684
1684
  '--zonos--font-family': zonosStoreFontFamily(),
1685
- } }, h("div", { key: '231cd93711e1e379d196944140c44c0e77332e30', class: "zonos--country-select" }, h("zonos-v-stack", { key: '8a3768ee37ad892960104c6f04e54ed977f5ba2e', class: "zonos--country-select-header", spacing: 8 }, h("zonos-select-dialog-header", { key: '4535301af6a7fa62b101ee5913842c4d1dbec6a2', handleOnClose: () => this.handleOnClose(), label: translate('Select a country') }, h("input", { key: '9a15c15c77c7a193934a4d656f613120266e3f38', autoComplete: "off", class: "zonos--country-select-input", onInput: this.handleInputChange, placeholder: translate('Search countries'), ref: el => {
1685
+ } }, h("div", { key: 'fb45324e739bed4c056d2d3a7342a2f9860cb5d1', class: "zonos--country-select" }, h("zonos-v-stack", { key: 'f229faa99429adcb0305a1d2a838f90b651fe966', class: "zonos--country-select-header", spacing: 8 }, h("zonos-select-dialog-header", { key: '680a6089bc12308bc41ee0620c8c90bc9db4ba7f', handleOnClose: () => this.handleOnClose(), label: translate('Select a country') }, h("input", { key: '1819f9226fde595a5904ac1204ffa9180c225053', autoComplete: "off", class: "zonos--country-select-input", onInput: this.handleInputChange, placeholder: translate('Search countries'), ref: el => {
1686
1686
  if (el) {
1687
1687
  this.inputRef = el;
1688
1688
  }
1689
- }, type: "text", value: this.inputValue }))), h("div", { key: '14e511287916d98676083c3f3118223073ce6a19', class: "zonos--country-select-content" }, isEmpty && (h("zonos-text", { key: 'd5f14c5e652938fbf9ee18a31b421f406599db7f', class: "no-country", textColor: "gray-800" }, translate('No countries found'))), h("zonos-virtual-scroll", { key: 'ee2b4d3a2feefda0be007b174b85e368292dc868', class: "zonos--country-filter-content", fallbackItemHeight: 34, itemHeights: filteredCountries.map(() => 34), renderItem: index => {
1689
+ }, type: "text", value: this.inputValue }))), h("div", { key: 'c7fda9cb96abca4e55958d58b4268633aae8ad43', class: "zonos--country-select-content" }, isEmpty && (h("zonos-text", { key: 'd4f62720173f886908d56eefa09f3a55c7774326', class: "no-country", textColor: "gray-800" }, translate('No countries found'))), h("zonos-virtual-scroll", { key: 'd867490feeb0d626b4004f1aaab74230bb46b9d4', class: "zonos--country-filter-content", fallbackItemHeight: 34, itemHeights: filteredCountries.map(() => 34), renderItem: index => {
1690
1690
  const country = filteredCountries[index];
1691
1691
  if (!country) {
1692
1692
  return null;
@@ -1715,9 +1715,9 @@ const ZonosCustomMessage = class {
1715
1715
  }
1716
1716
  render() {
1717
1717
  const messageWithLinks = formatStringWithLinks(this.message);
1718
- return (h(Host, { key: '5e87669fad207a56da569c72c5b6b1e86fed0d29', class: "zonos--elements", style: {
1718
+ return (h(Host, { key: '3b47c062d2c2b22976206b3a71012c9de87d5b72', class: "zonos--elements", style: {
1719
1719
  '--zonos--font-family': zonosStoreFontFamily(),
1720
- } }, this.message && (h("zonos-card", { key: '4c9216e22dd3ceb35e647a6e43fc8f1b7c9a4da1', class: "zonos--custom-message", spacing: "12px" }, h("div", { key: '36dc67b55580fbdcf668a6b16a4a1b9fa5f477b6', class: "zonos--flex-message" }, h("zonos-icon", { key: 'b4f26b0b8fd35d7593e84d9abfe69a0dacfa5c20', "aria-label": "Custom message icon", content: this.icon }), h("zonos-text", { key: '74a9b55e87a0e244dc02481112abf26851e6722d', innerHTML: messageWithLinks }))))));
1720
+ } }, this.message && (h("zonos-card", { key: 'ab6385a3369d4e7ce017409dd92379f48f6867cc', class: "zonos--custom-message", spacing: "12px" }, h("div", { key: 'ef7c63319e469fd1f283a9eaa2e97bcb2253b840', class: "zonos--flex-message" }, h("zonos-icon", { key: 'e2c12c9419e3702cbdd155cf4099d6528db59312', "aria-label": "Custom message icon", content: this.icon }), h("zonos-text", { key: 'f21324ea031b937d0b65540b51dbe5b5c8bd4fad', innerHTML: messageWithLinks }))))));
1721
1721
  }
1722
1722
  };
1723
1723
  ZonosCustomMessage.style = ZonosCustomMessageStyle0;
@@ -1773,12 +1773,14 @@ const ZonosHelloDialogFooter = class {
1773
1773
  render() {
1774
1774
  var _a, _b;
1775
1775
  const primaryColor = (_a = this.appearanceSettings) === null || _a === void 0 ? void 0 : _a.colorPrimary;
1776
+ // label resolves against every language, not just the offered ones, so the current
1777
+ // locale always renders even if the merchant later drops it from the selector
1776
1778
  const language = (_b = languages.find(x => x.code === localizationStore.selectedLocale)) === null || _b === void 0 ? void 0 : _b.translatedLabel;
1777
1779
  // Only use gray-0 (white) when the background color is dark (apply inverted color if the element is using dark theme variable)
1778
1780
  const mainColor = primaryColor && isDarkColor(primaryColor) ? 'white' : 'black';
1779
- return (h(Host, { key: '350a056fbc8cb1caf686857a1ef9d2915d9aa746', class: "zonos--elements" }, h("div", { key: 'bd98b0bb2cae37470b7640df4337173fcec9ebe5', class: "zonos--hello-dialog-footer", style: {
1781
+ return (h(Host, { key: '6541ca916c9d51407a45f2ec88ce59c64db2d7d1', class: "zonos--elements" }, h("div", { key: '0b34542b6b33cf9f5763a5da6b893a8a3dee45fc', class: "zonos--hello-dialog-footer", style: {
1780
1782
  '--zonos--primary-color': primaryColor,
1781
- } }, h("a", { key: '1aee2bb2f699d0368921bec9a2adb4a8b2a2b9ab', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, h("zonos-icon", { key: 'e5c683a859f72c3c831d41be2198214c9046093c', "aria-label": "Zonos Logo", autoHeight: true, content: mainColor === 'black' ? ZonosIconLight : ZonosIconDark, iconColor: mainColor, size: 108 })), h("div", { key: '904549591a920cfc44634b6fdb4859acf3ba8fe5', class: "zonos--hello-locale-wrapper" }, h("zonos-button", { key: '0fcfbfe2dd4e5305dbc77ff380e20f1738f5ff93', buttonColor: mainColor, icon: h("zonos-icon", { "aria-label": "Open language select", content: Globe, iconColor: mainColor }), onClick: () => this.setShowLanguageSelect(true), variant: "subtle" }, h("span", { key: 'bf2185444d946075044172c5aaf99ba3ef913839', class: "zonos--hello-locale-label" }, language, h("zonos-icon", { key: '668341e3b7a5e4c8673fc282efc4128ffbe27bf2', "aria-hidden": "true", class: "zonos--hello-locale-chevron", content: ChevronDownIcon, iconColor: mainColor, size: 18 }))), h("zonos-button", { key: '5d613310cadf679a264c6ea809474454318966af', buttonColor: mainColor, icon: h("zonos-country-flag", { "aria-label": "Open country select", class: "zonos--footer-country-flag", countryCode: localizationStore.selectedCountryCode }), onClick: () => this.setShowCountrySelect(true), variant: "subtle" }, h("span", { key: 'f258553c637ec7d7bab678500aa9062d2b3524ac', class: "zonos--hello-locale-label" }, localizationStore.selectedCountryCode, h("zonos-icon", { key: 'ebb04e7e952a7cd6c166ff3752b731d7a8b2346e', "aria-hidden": "true", class: "zonos--hello-locale-chevron", content: ChevronDownIcon, iconColor: mainColor, size: 18 })))))));
1783
+ } }, h("a", { key: 'd0ccce33137960b2f05abdbe25f5e406b5a668a9', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, h("zonos-icon", { key: '0146c3b517a2f1bd7e8a3c3875b7d289aedcd369', "aria-label": "Zonos Logo", autoHeight: true, content: mainColor === 'black' ? ZonosIconLight : ZonosIconDark, iconColor: mainColor, size: 108 })), h("div", { key: 'f592e799d627b6b12c8be2e46390ffa07a90021f', class: "zonos--hello-locale-wrapper" }, shouldShowLanguageSelect() && (h("zonos-button", { key: 'c91b238982a230bf56d7971820d4e11a3ab848f4', buttonColor: mainColor, icon: h("zonos-icon", { "aria-label": "Open language select", content: Globe, iconColor: mainColor }), onClick: () => this.setShowLanguageSelect(true), variant: "subtle" }, h("span", { key: 'eda1e60d6f5e0f9b19ab6aa13741be8b3bd72e12', class: "zonos--hello-locale-label" }, language, h("zonos-icon", { key: 'e78f0f8d16d123e656beb7d342d41ab9841c89cc', "aria-hidden": "true", class: "zonos--hello-locale-chevron", content: ChevronDownIcon, iconColor: mainColor, size: 18 })))), h("zonos-button", { key: '69e0987e3c45890bc5cfb3bfe9cbb71850398521', buttonColor: mainColor, icon: h("zonos-country-flag", { "aria-label": "Open country select", class: "zonos--footer-country-flag", countryCode: localizationStore.selectedCountryCode }), onClick: () => this.setShowCountrySelect(true), variant: "subtle" }, h("span", { key: '8ac960e3cadc0fdc70f0d04f336c2e8bfaafcf84', class: "zonos--hello-locale-label" }, localizationStore.selectedCountryCode, h("zonos-icon", { key: 'f5a1e98416357831c89998f64e845f8190f6219a', "aria-hidden": "true", class: "zonos--hello-locale-chevron", content: ChevronDownIcon, iconColor: mainColor, size: 18 })))))));
1782
1784
  }
1783
1785
  get ele() { return getElement(this); }
1784
1786
  };
@@ -1887,10 +1889,10 @@ const ZonosVirtualScroll = class {
1887
1889
  render() {
1888
1890
  const { width: containerWidth } = this.containerDimensions;
1889
1891
  const visibleItems = this.getVisibleItems();
1890
- return (h(Host, { key: 'e979610a7ed0e4bb1dd98b50043b65282aac26bf', class: classes(['zonos--virtual-scroll']) }, h("div", { key: 'ca73da524a4289cd4142a05d81bf3de691215690', class: classes(['scroller']), style: {
1892
+ return (h(Host, { key: 'c0fd60e189050acf992bc2026e4ad8ccb29979b7', class: classes(['zonos--virtual-scroll']) }, h("div", { key: 'bff8755f234cf5d424c43d14b5b565e09bab6096', class: classes(['scroller']), style: {
1891
1893
  height: `${this.totalHeight}px`,
1892
1894
  width: `${containerWidth}px`,
1893
- } }), h("div", { key: 'dd70c5ae1d9f9481de5fc08569933932413bdde4', class: classes(['item-container']), style: {
1895
+ } }), h("div", { key: '95cc9958b418e2c42936b08f453f2415279985e9', class: classes(['item-container']), style: {
1894
1896
  height: `${this.totalHeight}px`,
1895
1897
  } }, visibleItems.map(({ element }) => element))));
1896
1898
  }
@@ -1,9 +1,9 @@
1
1
  import { r as registerInstance, d as createEvent, h, F as Fragment, a as Host } from './index-cfd394c8.js';
2
- import { l as localizationStore, t as translate, h as currencyFormat } from './localization-754e7e8b.js';
3
- import { z as zonosStore } from './zonosStore-b7d3f9b0.js';
2
+ import { l as localizationStore, t as translate, h as currencyFormat } from './localization-36a4dc22.js';
3
+ import { z as zonosStore } from './zonosStore-eca1e364.js';
4
4
  import { c as classes } from './classes-0d95c529.js';
5
5
  import { f as formatStringWithLinks } from './formatStringWithLinks-0d48f183.js';
6
- import { h as hasInclusivePrice, T as TAXES_KEY, D as DUTY_KEY } from './hasInclusivePrice-4c12548f.js';
6
+ import { h as hasInclusivePrice, T as TAXES_KEY, D as DUTY_KEY } from './hasInclusivePrice-d801be22.js';
7
7
  import { g as getHasMoreSpaceOnRight } from './getHasMoreSpaceOnRight-70eb913a.js';
8
8
  import { e as euCountryCodes } from './TaxId-63a14057.js';
9
9
  import './handleFetch-a844cac1.js';
@@ -382,25 +382,25 @@ const ZonosHelloDialog = class {
382
382
  // If deminimis is undefined or null, assume it's $0
383
383
  const taxDeMinimisMessage = this.getTaxMessage();
384
384
  const inclusivePriceMessage = this.getInclusivePriceMessage();
385
- return (h(Host, { key: 'd24794b42581ff92ea7ff4fed8a7feeadd68ec87', class: "zonos--elements" }, h("div", { key: '84e539b7e7eb384ec9de8c60f26f33b7de8b4c2c', class: classes([
385
+ return (h(Host, { key: '4e9a8cb8064ba558d21a45675c3165621e44b1fa', class: "zonos--elements" }, h("div", { key: 'ab9428c38706dc0e908786a1d8965db4773bc9a4', class: classes([
386
386
  'zonos--hello-dialog',
387
387
  animateLeft && 'zonos--hello-dialog-animate-from-left',
388
388
  animateFromBottom && 'zonos--hello-dialog-animate-from-bottom',
389
389
  !!this.mobileLocationOverride &&
390
390
  'zonos--hello-dialog-mobile-override',
391
391
  this.isOpen && 'zonos--hello-dialog-open',
392
- ]), inert: !this.isOpen, ref: el => el && (this.dialogRef = el) }, !this.showCountrySelect && !this.showLanguageSelect && (h("div", { key: '50d05d3fdb5f5b2769a368c69d307f93ca162725' }, h("div", { key: 'd08c9c79fd69e1e5ab43a53bfd3d1ca5050fc336', class: "zonos--hello-dialog-content" }, h("zonos-button", { key: '7a6e76b1d891ee255b4fff4589714b67eea25dc5', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close Zonos Hello dialog", content: RemoveIcon }), noBackground: true, onClick: () => this.setIsOpen(false) }), h("zonos-v-stack", { key: 'fb3c7ad6df4608f470d3126a2791040cc6a2912c', spacing: 24 }, h("zonos-country-flag", { key: '98e8aedda730cf55a11031ef34191d7a0e92ebfa', class: "zonos--hello-country-flag", countryCode: selectedCountryCode }), h("zonos-v-stack", { key: 'eb073f09379cf41486da6a355535775e3022ff57', class: "zonos--hello-dialog-header", spacing: 4 }, h("zonos-text", { key: '23d0aed3f10ea1d5d46f841f34ae240a393fe582', type: "boldSubheader" }, welcomeMessage), h("zonos-text", { key: 'eda291fcc35c2d874ae16d35218e7d61414e0d48', innerHTML: defaultMessage, textColor: "gray-800" })), h("zonos-v-stack", { key: '14c81958db7911bca665c13e95249d8886524190', spacing: 8 }, this.restrictedItems.map(item => {
392
+ ]), inert: !this.isOpen, ref: el => el && (this.dialogRef = el) }, !this.showCountrySelect && !this.showLanguageSelect && (h("div", { key: '8cb7b88b669c208f0cb46c1e2a3c6a2c953c4f15' }, h("div", { key: '9f7cb8f8146479fa2e3cad74deec1eef039dd7fc', class: "zonos--hello-dialog-content" }, h("zonos-button", { key: 'cdec0506fd5f4a8fd4ab152ed79946e0af4ae05e', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close Zonos Hello dialog", content: RemoveIcon }), noBackground: true, onClick: () => this.setIsOpen(false) }), h("zonos-v-stack", { key: 'd16e6a8caea049e7d253c9d25e86bb761af1b209', spacing: 24 }, h("zonos-country-flag", { key: 'b5f8a405697b45383e3f79787dd6c8dbc05b5c79', class: "zonos--hello-country-flag", countryCode: selectedCountryCode }), h("zonos-v-stack", { key: '781c5dddeb71d07792727e31e9b18631792c49ea', class: "zonos--hello-dialog-header", spacing: 4 }, h("zonos-text", { key: '43eb83b2f31824cee858edb805d7fc1d7ffe6043', type: "boldSubheader" }, welcomeMessage), h("zonos-text", { key: '6d77de6b476ff69a8f397060f6b0cf351c116dee', innerHTML: defaultMessage, textColor: "gray-800" })), h("zonos-v-stack", { key: '0bb7f48528f1890e13c12e739c93a8cd82456f7b', spacing: 8 }, this.restrictedItems.map(item => {
393
393
  var _a;
394
394
  return item && (h("zonos-banner", { bannerTitle: item.name, intent: "error" }, (_a = item.itemRestrictions) === null || _a === void 0 ? void 0 : _a.map(x => (h("zonos-text", { textColor: "red-800" }, x === null || x === void 0 ? void 0 : x.note)))));
395
395
  }), (dutyDeMinimisMessage ||
396
396
  taxDeMinimisMessage ||
397
397
  inclusivePriceMessage ||
398
- !!(additionalInformation === null || additionalInformation === void 0 ? void 0 : additionalInformation.length)) && (h("zonos-card", { key: 'debf6a45b077b636d568a63abc1e6e628b117556', spacing: "12px" }, h("zonos-v-stack", { key: '7077e41a083eee4cd34604fa20c97f6e6e6e5ea4', spacing: 12 }, this.renderHelloMessage({
398
+ !!(additionalInformation === null || additionalInformation === void 0 ? void 0 : additionalInformation.length)) && (h("zonos-card", { key: '3c3b6e2b3bc79cc2d2771253df1b1e63078ab5eb', spacing: "12px" }, h("zonos-v-stack", { key: '15c26e6682006159018d52fb608dfed31a6298b0', spacing: 12 }, this.renderHelloMessage({
399
399
  dutyDeMinimisMessage,
400
400
  inclusivePriceMessage,
401
401
  taxDeMinimisMessage,
402
402
  }), additionalInformation === null || additionalInformation === void 0 ? void 0 :
403
- additionalInformation.map(info => (h("div", { class: "zonos--flex-message" }, h("zonos-icon", { "aria-label": "Additional information for buying goods from selected country icon", content: BagIcon }), h("zonos-text", { "aria-label": `Additional information for buying goods from selected country message`, innerHTML: info }))))))), filteredMessages.map(x => (h("zonos-custom-message", { icon: MessageIcon, message: x.message })))))), h("zonos-hello-dialog-footer", { key: '6a545ced019871fb0b6254b6ad8d61d21d855127', appearanceSettings: this.appearanceSettings, setShowCountrySelect: value => this.setShowCountrySelect(value), setShowLanguageSelect: value => this.setShowLanguageSelect(value) }))), this.showCountrySelect && (h("div", { key: 'e951aa4125477220462fab0332d9badd05901875' }, h("zonos-country-select", { key: 'e949e265136e827272db29d7d09af5ea2da0a415', handleOnClose: () => this.setShowCountrySelect(false) }))), this.showLanguageSelect && (h("div", { key: 'eaebd5ba3bdaf0f3d335b99f807ae432d9330db3' }, h("zonos-language-select", { key: '2900f41ecd69c84d59505b2f2771eef709e419e3', handleOnClose: () => this.setShowLanguageSelect(false) }))))));
403
+ additionalInformation.map(info => (h("div", { class: "zonos--flex-message" }, h("zonos-icon", { "aria-label": "Additional information for buying goods from selected country icon", content: BagIcon }), h("zonos-text", { "aria-label": `Additional information for buying goods from selected country message`, innerHTML: info }))))))), filteredMessages.map(x => (h("zonos-custom-message", { icon: MessageIcon, message: x.message })))))), h("zonos-hello-dialog-footer", { key: '85b7a06c12465363e5c658603e197f65c9d8d64a', appearanceSettings: this.appearanceSettings, setShowCountrySelect: value => this.setShowCountrySelect(value), setShowLanguageSelect: value => this.setShowLanguageSelect(value) }))), this.showCountrySelect && (h("div", { key: '343554a61f2ce5b011ea7b896e52bec5c9c1a2fd' }, h("zonos-country-select", { key: '9cea5cded20ca68c0e6ed4ca89df776acd08e1b1', handleOnClose: () => this.setShowCountrySelect(false) }))), this.showLanguageSelect && (h("div", { key: '6e6d43b3fb6961b0968355fc8cf5dd2ff7a54ca6' }, h("zonos-language-select", { key: '42b784a64350f9816bf15906f73e009ac14052d9', handleOnClose: () => this.setShowLanguageSelect(false) }))))));
404
404
  }
405
405
  static get assetsDirs() { return ["assets"]; }
406
406
  static get watchers() { return {
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, h, a as Host, g as getElement } from './index-cfd394c8.js';
2
- import { d as debounce_1 } from './debounce-c8d67b17.js';
3
- import { l as localizationStore, k as isValidSelector, t as translate, g as getZCountryUrlParam, n as setZCountryUrlParam, o as currencyDisplay, p as currencyConvertAndFormat, q as currencyConvert, h as currencyFormat, r as shouldShowHelloWidget } from './localization-754e7e8b.js';
4
- import { z as zonosStore, g as getZonosStoreTheme, m as mergeConfig } from './zonosStore-b7d3f9b0.js';
2
+ import { d as debounce_1 } from './debounce-84ade9c2.js';
3
+ import { l as localizationStore, m as isValidSelector, t as translate, g as getZCountryUrlParam, o as setZCountryUrlParam, p as currencyDisplay, q as currencyConvertAndFormat, r as currencyConvert, h as currencyFormat, u as shouldShowHelloWidget } from './localization-36a4dc22.js';
4
+ import { z as zonosStore, g as getZonosStoreTheme, m as mergeConfig } from './zonosStore-eca1e364.js';
5
5
  import { c as classes } from './classes-0d95c529.js';
6
6
  import { h as handleFetch, l as logError } from './handleFetch-a844cac1.js';
7
7
  import { g as getHasMoreSpaceOnRight } from './getHasMoreSpaceOnRight-70eb913a.js';
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, d as createEvent, h, a as Host, g as getElement } from './index-cfd394c8.js';
2
- import { f as zonosStoreFontFamily } from './zonosStore-b7d3f9b0.js';
2
+ import { f as zonosStoreFontFamily } from './zonosStore-eca1e364.js';
3
3
  import { c as classes } from './classes-0d95c529.js';
4
- import { g as getBorderRadius } from './getBorderRadius-dc982fe6.js';
4
+ import { g as getBorderRadius } from './getBorderRadius-1f7be586.js';
5
5
  import './VarianceTest-572cecf5.js';
6
6
 
7
7
  const zonosInputCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{margin:1px}:host .zonos--label-wrapper{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;height:100%;width:100%;background:var(--zonos-elements-input-background);border-radius:var(--zonos--border-radius);border:var(--zonos-elements-border)}:host .zonos--label-wrapper:hover{border:1px solid var(--zonos-elements-gray-300)}:host .zonos--floated-input{-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;padding:0 16px;outline:none;-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);width:100%;border-radius:var(--zonos--border-radius);background:var(--zonos-elements-input-background);border:0;-ms-flex-order:2;order:2;font-weight:500}:host .zonos--floated-input :-internal-autofill-selected{border-radius:var(--zonos-elements-radius-6) 0 0 var(--zonos-elements-radius-6)}:host .zonos--floated-input :-internal-autofill-selected+label+div{background-color:#e8f0fe}:host .zonos--floated-input.has-label{padding:16px 4px 8px 16px}:host .zonos--floated-input.has-label.has-input-prefix{padding-left:0}:host .zonos--floated-input.has-label.has-input-prefix+.zonos--floated-label::before{margin-left:0}:host .zonos--floated-input:not(.has-label)::-webkit-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input:not(.has-label)::-moz-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input:not(.has-label):-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input:not(.has-label)::-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input:not(.has-label)::placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input::-webkit-input-placeholder{-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input::-moz-placeholder{-moz-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input:-ms-input-placeholder{-ms-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input::-ms-input-placeholder{-ms-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input::placeholder{-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input:focus{outline:none}:host .zonos--floated-input:focus+.zonos--floated-label::after{-webkit-box-shadow:var(--zonos-elements-glow-blue);box-shadow:var(--zonos-elements-glow-blue)}:host .zonos--floated-input.has-error+.zonos--floated-label::after{-webkit-box-shadow:var(--zonos-elements-glow-error);box-shadow:var(--zonos-elements-glow-error)}:host .zonos--floated-input.has-content::-webkit-input-placeholder,:host .zonos--floated-input:focus::-webkit-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content::-moz-placeholder,:host .zonos--floated-input:focus::-moz-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content:-ms-input-placeholder,:host .zonos--floated-input:focus:-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content::-ms-input-placeholder,:host .zonos--floated-input:focus::-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content::placeholder,:host .zonos--floated-input:focus::placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content+.zonos--floated-label::before,:host .zonos--floated-input:focus+.zonos--floated-label::before{top:11px;-webkit-transform:scale(0.8);transform:scale(0.8)}:host .zonos--floated-input:-webkit-autofill,:host .zonos--floated-input:-moz-autofill{background-color:var(--zonos-elements-input-background);color:var(--zonos-elements-text-color)}:host .zonos--floated-label{display:block;max-height:0;pointer-events:none;-ms-flex-order:1;order:1}:host .zonos--floated-label::before{content:attr(data-label);color:var(--zonos-elements-gray-800);position:absolute;font-size:var(--zonos-elements-font-size-base);line-height:var(--zonos-elements-font-size-base);display:inline-block;-webkit-filter:blur(0);filter:blur(0);-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);margin-left:16px;top:calc(50% - var(--zonos-elements-font-size-base) / 2);z-index:1}:host .zonos--floated-label::after{content:\"\";position:absolute;left:0;right:0;top:0;bottom:0;border-radius:var(--zonos--border-radius)}:host{}:host .disabled .zonos--floated-label{pointer-events:inherit}:host .disabled .zonos--floated-label::after{cursor:not-allowed;z-index:1}:host(.sm){height:calc(var(--zonos-elements-size-sm) - 2px)}:host(.sm) .zonos--floated-input.has-label{padding-top:13px;padding-bottom:0}:host(.sm) .zonos--floated-input.has-label:focus+.zonos--floated-label::before,:host(.sm) .zonos--floated-input.has-label.has-content+.zonos--floated-label::before{top:2px}:host(.md){height:calc(var(--zonos-elements-size-md) - 2px)}:host(.md) .zonos--floated-input.has-label{padding-top:20px}:host(.md) .zonos--floated-input.has-label:focus+.zonos--floated-label::before,:host(.md) .zonos--floated-input.has-label.has-content+.zonos--floated-label::before{top:6px}:host(.lg){height:calc(var(--zonos-elements-size-lg) - 2px)}:host(.lg) .zonos--floated-input.has-label:focus+.zonos--floated-label::before,:host(.lg) .zonos--floated-input.has-label.has-content+.zonos--floated-label::before{top:10px}:host(.xl){height:calc(var(--zonos-elements-size-xl) - 2px)}:host(.xl) .zonos--floated-input.has-label{padding-bottom:2px}";
@@ -38,17 +38,17 @@ const ZonosInput = class {
38
38
  this.inputChange.emit(newValue);
39
39
  }
40
40
  render() {
41
- return (h(Host, { key: 'f61a69708e8d3734111690389fce1acf14fbece8', class: classes([
41
+ return (h(Host, { key: 'bda69850cbd7478614011282716320c87ae9f9aa', class: classes([
42
42
  'zonos--input zonos--elements',
43
43
  this.inputSize,
44
44
  this.isError && 'has-error',
45
45
  ]), style: {
46
46
  '--zonos--border-radius': getBorderRadius(),
47
47
  '--zonos--font-family': zonosStoreFontFamily(),
48
- } }, h("div", { key: '94fb3f77fe0eb3c67a2319cd27d3ce17f4d8684b', class: classes([
48
+ } }, h("div", { key: '4159ba855ec2b63cdeba2f1c22179ca52e0c677d', class: classes([
49
49
  'zonos--label-wrapper',
50
50
  this.isDisabled && 'disabled',
51
- ]) }, h("input", { key: 'fd878fb73ed33c6054dd9d6a75e3980c9d670877', class: classes([
51
+ ]) }, h("input", { key: '97609767c20661f2dc485b56cb90a6007102660b', class: classes([
52
52
  'zonos--floated-input',
53
53
  !!this.inputLabel && 'has-label',
54
54
  this.inputValue && 'has-content',
@@ -56,7 +56,7 @@ const ZonosInput = class {
56
56
  ]), disabled: this.isDisabled, onInput: e => {
57
57
  const input = e.target;
58
58
  this.inputChange.emit(input.value);
59
- }, placeholder: this.inputPlaceholder, type: "text", value: this.value }), h("label", { key: 'b59b852113bcb005acd9fd31de527cf693e162a7', class: "zonos--floated-label", "data-label": this.inputLabel }))));
59
+ }, placeholder: this.inputPlaceholder, type: "text", value: this.value }), h("label", { key: '9bb796fcb97082a8d2c3945ed6f0a4181d6ca7d9', class: "zonos--floated-label", "data-label": this.inputLabel }))));
60
60
  }
61
61
  get el() { return getElement(this); }
62
62
  static get watchers() { return {
@@ -1,15 +1,15 @@
1
1
  import { r as registerInstance, h, a as Host } from './index-cfd394c8.js';
2
- import { d as cartStore } from './cart-93c36159.js';
3
- import { t as translate } from './localization-754e7e8b.js';
4
- import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-9a81e41c.js';
2
+ import { d as cartStore } from './cart-2e407f7b.js';
3
+ import { t as translate } from './localization-36a4dc22.js';
4
+ import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-282384f0.js';
5
5
  import { c as classes } from './classes-0d95c529.js';
6
- import { c as invoiceStore } from './invoice-71471339.js';
6
+ import { c as invoiceStore } from './invoice-67a47785.js';
7
7
  import { r as renderFallback } from './renderFallback-b250f4e9.js';
8
- import './zonosStore-b7d3f9b0.js';
8
+ import './zonosStore-eca1e364.js';
9
9
  import './VarianceTest-572cecf5.js';
10
10
  import './handleFetch-a844cac1.js';
11
- import './isDarkColor-039ef212.js';
12
- import './getBorderRadius-dc982fe6.js';
11
+ import './isDarkColor-939d8e9c.js';
12
+ import './getBorderRadius-1f7be586.js';
13
13
  import './TaxId-63a14057.js';
14
14
 
15
15
  const zonosInvoiceCartItemsCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host .zonos--cart-table{width:100%;border:none;border-collapse:collapse;overflow:auto;font-size:var(--zonos-elements-font-size-base)}:host .zonos--cart-table .zonos--column{padding:8px;padding-left:0;font-size:var(--zonos-elements-font-size-base)}:host .zonos--cart-table .zonos--column:last-child{text-align:right;padding-right:0}:host .zonos--cart-table .zonos--column:first-child{padding-left:0;width:50px}:host .zonos--cart-table .zonos--cart-item-link{text-align:left}:host .zonos--cart-table .zonos--cart-item-created-at{text-align:right}:host .zonos--cart-table td{vertical-align:middle}:host .zonos--cart-item-price zonos-text{white-space:nowrap}:host(.mobile) table{margin-top:16px}:host(.mobile) table td{vertical-align:top}";
@@ -31,10 +31,10 @@ const ZonosInvoiceCartItems = class {
31
31
  }
32
32
  render() {
33
33
  const nonRestrictedItems = cartStore.items.filter(item => !item.isRestricted);
34
- return (h(Host, { key: '725ec1640ea2e6342529a0143e1b43374cb67c9c', class: classes([
34
+ return (h(Host, { key: '48cbe765b1096303cf0f2b051b0bac3911fba19b', class: classes([
35
35
  'zonos--invoice-cart-items zonos--elements',
36
36
  this.isMobile && 'mobile',
37
- ]) }, h("table", { key: 'c908da0c7a02eda9c5f14bf59da7a0e3b882b076', class: "zonos--cart-table" }, h("tbody", { key: 'bf2e01afac20f2804cd3f99c966c94172eabb3c3' }, nonRestrictedItems.map(item => {
37
+ ]) }, h("table", { key: '83a2f9d2de381d1f941f5d09681b3a8e58a38a08', class: "zonos--cart-table" }, h("tbody", { key: '5fbce46a1069457eb578ea737b42f05982aa5867' }, nonRestrictedItems.map(item => {
38
38
  var _a, _b, _c, _d;
39
39
  const invoiceId = (_b = (_a = item.attributes) === null || _a === void 0 ? void 0 : _a.find(metadata => metadata.key === 'invoiceId' || metadata.key === 'INVOICE_ID')) === null || _b === void 0 ? void 0 : _b.value;
40
40
  const invoiceCreatedAt = (_d = (_c = item.attributes) === null || _c === void 0 ? void 0 : _c.find(metadata => metadata.key === 'invoiceCreatedAt')) === null || _d === void 0 ? void 0 : _d.value;
@@ -70,10 +70,10 @@ const ZonosInvoiceSubtotal = class {
70
70
  this.isMobile = false;
71
71
  }
72
72
  render() {
73
- return (h(Host, { key: '79c93a4ee4be967b78b0a20c422fe18e1dde1e62', class: classes([
73
+ return (h(Host, { key: 'b98712b01891581bb2b64f5afd82711f7d41b585', class: classes([
74
74
  'zonos--invoice-subtotal zonos--elements',
75
75
  this.isMobile && 'mobile',
76
- ]) }, h("table", { key: '3ad275ada5248c59f39433fde8929216a4da1cf0', class: "zonos--invoice-table" }, h("tr", { key: '097673030be4002c7cb67494aa33804f13e2a318', class: "zonos--row zonos--invoice-total" }, h("td", { key: '581cbb1e86c7e31867b3e6ba981db5d129341fd6', class: "zonos--column" }), h("td", { key: '85979f2c25fb4e0076fc5d454dd570f92a4bedbc', class: "zonos--column zonos--invoice-subtotal-title" }, h("zonos-text", { key: 'e98f3bf6a6f76340c588f704674cccf7d44fd141', type: "semiBoldLabel" }, translate('Payment total'))), h("td", { key: 'a6938a3cd48b4885debda015850bbf9bb467139c', class: "zonos--column zonos--invoice-subtotal-price" }, renderFallback({
76
+ ]) }, h("table", { key: 'ea7242545b5aa891a5214d426a96fa51ed8d5b5c', class: "zonos--invoice-table" }, h("tr", { key: '7aef27c5154017fd322869c514dc20c42009a855', class: "zonos--row zonos--invoice-total" }, h("td", { key: '60c5689c39d962b6c5a415bb93243259c815bfad', class: "zonos--column" }), h("td", { key: 'b5886f54449738b01fa7a2884f7101a2f910dd21', class: "zonos--column zonos--invoice-subtotal-title" }, h("zonos-text", { key: '1689b03f73918e7c2b6d3e1ef458473e817ac54c', type: "semiBoldLabel" }, translate('Payment total'))), h("td", { key: 'f456cd24f03fe451814a7f0de609eed2ad761530', class: "zonos--column zonos--invoice-subtotal-price" }, renderFallback({
77
77
  content: (h("zonos-text", { type: "semiBoldLabel" }, renderCheckoutCurrency({
78
78
  amount: invoiceStore.amountTotalDue || 0,
79
79
  isForeign: true,
@@ -1,23 +1,23 @@
1
1
  import { r as registerInstance, d as createEvent, h, F as Fragment, a as Host, g as getElement } from './index-cfd394c8.js';
2
- import { b as stripeStore, c as stripeStoreRetrievePayment, t as trackConversionEvent, Q as stripeStoreResetPromoCode, F as stripeStoreReset, R as stripeStoreMessageBasedOnStatus, d as cartStore, v as cartStoreNextStep, G as cartStoreOnChange } from './cart-93c36159.js';
3
- import { s as submitAnalytics, c as paypalStoreReset, a as paypalStore, b as paypalInitScript } from './paypal-b1410e02.js';
4
- import { t as translate, s as storageStore, l as localizationStore } from './localization-754e7e8b.js';
5
- import { z as zonosStore } from './zonosStore-b7d3f9b0.js';
2
+ import { b as stripeStore, c as stripeStoreRetrievePayment, t as trackConversionEvent, Q as stripeStoreResetPromoCode, F as stripeStoreReset, R as stripeStoreMessageBasedOnStatus, d as cartStore, v as cartStoreNextStep, G as cartStoreOnChange } from './cart-2e407f7b.js';
3
+ import { s as submitAnalytics, c as paypalStoreReset, a as paypalStore, b as paypalInitScript } from './paypal-6dca6567.js';
4
+ import { t as translate, s as storageStore, k as languages, l as localizationStore } from './localization-36a4dc22.js';
5
+ import { z as zonosStore } from './zonosStore-eca1e364.js';
6
6
  import { h as handleFetch, s as sendErrorLog, g as getIsTestMode, i as isCheckoutMobile, a as getIsStagingMode } from './handleFetch-a844cac1.js';
7
7
  import { c as createCustomEvent } from './createCustomEvent-58159025.js';
8
- import { g as getBorderRadius } from './getBorderRadius-dc982fe6.js';
8
+ import { g as getBorderRadius } from './getBorderRadius-1f7be586.js';
9
9
  import { l as log, b as allLogs } from './VarianceTest-572cecf5.js';
10
10
  import { i as isInvoiceMobile, a as isInvoiceTablet } from './isInvoiceMobileTablet-1f7b614e.js';
11
11
  import { c as classes } from './classes-0d95c529.js';
12
- import { l as languages } from './ILanguage-cd6acb72.js';
13
- import { c as invoiceStore } from './invoice-71471339.js';
14
- import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-9a81e41c.js';
15
- import { p as placeTestOrder } from './placeTestOrder-4267cafd.js';
12
+ import { s as shouldShowLanguageSelect } from './shouldShowLanguageSelect-328f50e2.js';
13
+ import { c as invoiceStore } from './invoice-67a47785.js';
14
+ import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-282384f0.js';
15
+ import { p as placeTestOrder } from './placeTestOrder-9563c89a.js';
16
16
  import { r as renderFallback } from './renderFallback-b250f4e9.js';
17
- import './isDarkColor-039ef212.js';
17
+ import './isDarkColor-939d8e9c.js';
18
18
  import './TaxId-63a14057.js';
19
- import './isContrastColor-089de6ac.js';
20
- import './submitGtag-dc54f5b9.js';
19
+ import './isContrastColor-9fa0d013.js';
20
+ import './submitGtag-71c450b6.js';
21
21
 
22
22
  const RemoveIcon = `<svg color="var(--zonos-elements-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(--zonos-elements-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>`;
23
23
 
@@ -270,11 +270,11 @@ const ZonosInvoiceFinish = class {
270
270
  }
271
271
  render() {
272
272
  const cartId = window.Zonos.cartId;
273
- return (h(Host, { key: 'f3a8642f7372184047ee007498af82d45254beef', class: "zonos--checkout-finish zonos--elements", style: {
273
+ return (h(Host, { key: '755581819b6a2e9d97e0faf671320e9390a3000a', class: "zonos--checkout-finish zonos--elements", style: {
274
274
  '--zonos--border-radius': getBorderRadius({
275
275
  overrideBorderStyle: this.borderRadius,
276
276
  }),
277
- } }, !this.isLoading && (h("div", { key: '02a93031a3031cd9ee3fd3695c84e8b8b84f496e', class: "zonos--finish-details" }, h("div", { key: '448c895e0068475da8e37f51ecf46d3686037499', class: "zonos--group" }, this.notificationType === 'success' ? (h("zonos-icon", { "aria-label": "Order success", content: SuccessIcon, iconColor: 'blue-800', size: 50 })) : (h("zonos-icon", { "aria-label": "Order failed", content: RemoveIcon, iconColor: 'red-800', size: 50 })), h("zonos-text", { key: 'ec0690fb66d80b43f082a9372f995c5be12935ef', class: "zonos--title", type: "semiBoldSubheader" }, this.notificationTitle), this.confirmationId && (h("zonos-badge", { key: '9cc0bfef51003d1cd03f8dba82c71e5ee2bafdf4', badgeColor: "gray" }, this.confirmationId)), h("zonos-text", { key: 'f6939aa032ccd82b2e6be113a294750e574ac72d', class: "zonos--subtitle", textColor: "gray-600" }, this.notificationMessages.map(message => (h(Fragment, null, message, h("br", null))))), this.order && cartId && (h("div", { key: '0141c1eabc7fed40cd571a138cd2a3aba7c5120c', class: "zonos--button-container" }, h("zonos-button", { key: 'bf126325f964ce22862583abd8a0f911712ff72c', onClick: () => {
277
+ } }, !this.isLoading && (h("div", { key: 'a5112a4c35f95d80d567d1d9ca690c297f75bba8', class: "zonos--finish-details" }, h("div", { key: 'f17f25e741a7a846e4d0d653f2e67c6b36ebd77a', class: "zonos--group" }, this.notificationType === 'success' ? (h("zonos-icon", { "aria-label": "Order success", content: SuccessIcon, iconColor: 'blue-800', size: 50 })) : (h("zonos-icon", { "aria-label": "Order failed", content: RemoveIcon, iconColor: 'red-800', size: 50 })), h("zonos-text", { key: '1169bd299d16f1b063de9638c6c6fce00cf9d0a6', class: "zonos--title", type: "semiBoldSubheader" }, this.notificationTitle), this.confirmationId && (h("zonos-badge", { key: 'db6aebf906ad52207c8bc898c856b7a2a7f061e1', badgeColor: "gray" }, this.confirmationId)), h("zonos-text", { key: 'fd5516196ec5f645718b7fbf0c9de66ab322505b', class: "zonos--subtitle", textColor: "gray-600" }, this.notificationMessages.map(message => (h(Fragment, null, message, h("br", null))))), this.order && cartId && (h("div", { key: 'f50f1e9ed26e609346cdf3bdc1f93689d3c99d06', class: "zonos--button-container" }, h("zonos-button", { key: '3dadbbfe5113e02412bb6b890b4d2923101e3c31', onClick: () => {
278
278
  window.open(this.getReceiptUrl({ cartId }), '_blank');
279
279
  }, size: "lg", variant: "primary" }, translate('View receipt')))))))));
280
280
  }
@@ -336,18 +336,20 @@ const ZonosInvoiceFooter = class {
336
336
  }
337
337
  render() {
338
338
  var _a;
339
+ // label resolves against every language, not just the offered ones, so the current
340
+ // locale always renders even if the merchant later drops it from the selector
339
341
  const languageLabel = (_a = languages.find(x => x.code === localizationStore.selectedLocale)) === null || _a === void 0 ? void 0 : _a.label;
340
342
  // reverse color when on desktop. With the coversheet backdrop, the color should be white
341
343
  const colorDesktop = 'gray-1000';
342
- return (h(Host, { key: 'e0a86a84127a3dd9b269468ce4ae8fc7a00617ce', class: classes([
344
+ return (h(Host, { key: '1cd5499e17c070498d65ebbca71d0cbe3c825456', class: classes([
343
345
  'zonos--elements',
344
346
  this.isMobile && 'mobile',
345
347
  this.isTablet && 'tablet',
346
- ]) }, h("div", { key: 'bf29c34fad93397f1882fe5fb1539fa9e9c557b5', class: "zonos--invoice-footer" }, h("div", { key: '271888bef61a2f66f8dde97877a816c4ddda77e6', class: "zonos--invoice-locale-wrapper" }, h("zonos-button", { key: 'afcb5fbde86cb96995f606be4ae1fa69a40eac8e', buttonColor: colorDesktop, class: "zonos--invoice-footer-language-button", icon: h("zonos-icon", { "aria-label": "Language select", content: Globe, iconColor: colorDesktop }), onClick: () => this.toggleLanguageDialog(), variant: "subtle" }, h("span", { key: '9d6c3ef03ce90dc48523a443f4a1716e1ad66309', class: "zonos--invoice-locale-label" }, languageLabel, h("zonos-icon", { key: '95d8e579e46178eda82d0e0a31b78e2f2e47b416', "aria-hidden": "true", class: "zonos--invoice-locale-chevron", content: ChevronDownIcon$1, iconColor: colorDesktop, size: 18 }))), h("div", { key: '49b226ab4efbb2b6e94d78b5170b7979fd13989f', class: classes([
348
+ ]) }, h("div", { key: '2f31caade367c351d84571034eda59179c227084', class: "zonos--invoice-footer" }, h("div", { key: '25f127514ad98939aee122c6b4772198e095b26d', class: "zonos--invoice-locale-wrapper" }, shouldShowLanguageSelect() && (h(Fragment, { key: '03d37a0e0e94cf42d74a5c59905f7e7219533274' }, h("zonos-button", { key: '76aab1e78afa3a51f579f865a24591acea0baadc', buttonColor: colorDesktop, class: "zonos--invoice-footer-language-button", icon: h("zonos-icon", { "aria-label": "Language select", content: Globe, iconColor: colorDesktop }), onClick: () => this.toggleLanguageDialog(), variant: "subtle" }, h("span", { key: '28642dac198b7c61bef48d211c8a820e0c8d1fcc', class: "zonos--invoice-locale-label" }, languageLabel, h("zonos-icon", { key: '364b048befa8c5f45b6869f18b90b27da4b37056', "aria-hidden": "true", class: "zonos--invoice-locale-chevron", content: ChevronDownIcon$1, iconColor: colorDesktop, size: 18 }))), h("div", { key: 'ed4b425741e6aecc49882993be57da58de7d437b', class: classes([
347
349
  'zonos--invoice-language-dialog',
348
350
  this.showLanguageDialog &&
349
351
  'zonos--invoice-language-dialog-open',
350
- ]) }, h("zonos-language-select", { key: '4980a84db5e4ea95ab3baf633b1d1191c3f62a9c', handleOnClose: () => this.toggleLanguageDialog() }))), h("div", { key: '9c401453c01fa66cd3f2b03a831ed35673023ffb', class: "zonos--invoice-footer-icon-wrapper" }, h("div", { key: '7431183058403f1b9436bc8b30b07a84c56dc077', class: "zonos--invoice-footer-logo" }, h("zonos-text", { key: 'f7c58460b204b9a52edf5724fe446f7128cd489e', textColor: colorDesktop }, translate('Powered by')), h("a", { key: '316357e0fafb72eee94cf76885b5e70ef3f2df77', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, h("zonos-icon", { key: 'e893e1bb00475fa2a93625db529d5231b8eb6bac', autoHeight: true, content: ZonosWordmark, size: 42 }))), h("div", { key: 'e884f0e31e771252acf5ce7cee6ba825a3686c2e', class: "dot" }), h("a", { key: 'a569168b5990f64c87ceb8b38c03f76370ef0631', href: "https://zonos.com/docs/legal/zonos-privacy-policy", target: "_blank" }, h("zonos-text", { key: '62a907ad3213dd9469e4845c2fd36312a4dba1e4', textColor: colorDesktop }, translate('Privacy policy')))))));
352
+ ]) }, h("zonos-language-select", { key: 'e4c5e31e8cfdf0ca52a5b935743bda347f9fa7c1', handleOnClose: () => this.toggleLanguageDialog() }))))), h("div", { key: '1d0a2613e3a0d487b059fc66fb48f53858a4e6c7', class: "zonos--invoice-footer-icon-wrapper" }, h("div", { key: 'a27c7eebe0dca7fedbc1e6e22438393391ec9024', class: "zonos--invoice-footer-logo" }, h("zonos-text", { key: '1013250d247fdb33ec365f8b3ffe9ca65d431d9d', textColor: colorDesktop }, translate('Powered by')), h("a", { key: 'ef93dda1f051f353da9e5f286942cc0a0e8015f7', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, h("zonos-icon", { key: 'de7cc9e5027eb85e7c578afda15a3b3f4e260e91', autoHeight: true, content: ZonosWordmark, size: 42 }))), h("div", { key: '180e60cdd756303a14a4a80b72b81b4a4e1c124a', class: "dot" }), h("a", { key: '7f46908aa8cd49974d7525d7110dbb25402586ab', href: "https://zonos.com/docs/legal/zonos-privacy-policy", target: "_blank" }, h("zonos-text", { key: 'bba7017be84a8e320ca4d8fb2074822cd7e9f917', textColor: colorDesktop }, translate('Privacy policy')))))));
351
353
  }
352
354
  get el() { return getElement(this); }
353
355
  static get watchers() { return {
@@ -660,13 +662,13 @@ const ZonosInvoiceReview = class {
660
662
  }
661
663
  render() {
662
664
  const titleTextColor = this.isMobile ? 'gray-1000' : 'gray-800';
663
- return (h(Host, { key: 'bba78735609377a64fafe9e30dd6dd908b6b85ef', class: classes([
665
+ return (h(Host, { key: '46c130c8e6aeacdd5f74feb613ec5829c0be396d', class: classes([
664
666
  'zonos--invoice-review zonos--elements',
665
667
  this.isMobile && 'mobile',
666
668
  this.isTablet && 'tablet',
667
- ]) }, h("div", { key: 'c71ea7456d76c9f156931501a48eb268432366d8', class: "zonos--title" }, h("zonos-text", { key: 'd069d2cc81b6228e69bacc44596702a9259dd9a0', textColor: titleTextColor, type: 'semiBoldLabel' }, translate('Pay [organizationName]', {
669
+ ]) }, h("div", { key: '9649e31a3053c9772363620cf2acfe557ace8715', class: "zonos--title" }, h("zonos-text", { key: '1b365c27c2280e61c4849c7382a945716ec2abf8', textColor: titleTextColor, type: 'semiBoldLabel' }, translate('Pay [organizationName]', {
668
670
  organizationName: zonosStore.organizationName,
669
- }))), h("div", { key: 'd9c1f63517ca7859297fe12115292dd737758daa', class: "zonos--total-pay" }, renderFallback({
671
+ }))), h("div", { key: 'a1f24eb0f3080ec0ddad9ca323f49dd391117326', class: "zonos--total-pay" }, renderFallback({
670
672
  content: (h("zonos-text", { type: 'secondaryPageHeader' }, renderCheckoutCurrency({
671
673
  amount: invoiceStore.amountTotalDue || 0,
672
674
  isForeign: true,
@@ -1,20 +1,19 @@
1
1
  import { r as registerInstance, h, a as Host, F as Fragment } from './index-cfd394c8.js';
2
- import { b as stripeStore, i as initStripeElements, c as stripeStoreRetrievePayment, d as cartStore, o as cartStoreUpdateToErrorState, e as cartStoreUpdateItems, j as stripeStoreInitCheckoutSession, k as stripeStoreGetPaymentIntent, x as stripeStoreUpdateCheckoutSessionBaseCurrency, C as stripeStoreConfirmPayment, H as stripeStoreOnChange, F as stripeStoreReset, f as cartStoreReset } from './cart-93c36159.js';
3
- import { i as invoiceStoreUpdateSelectedShippingOption, a as invoiceStoreInitShippingInfo, b as invoiceStoreAsyncAddressUpdate, c as invoiceStore } from './invoice-71471339.js';
4
- import { p as paypalStoreHasPaypalEnabled, a as paypalStore } from './paypal-b1410e02.js';
5
- import { s as storageStore, t as translate, e as localizationStoreOnChange, h as currencyFormat, l as localizationStore } from './localization-754e7e8b.js';
6
- import { z as zonosStore } from './zonosStore-b7d3f9b0.js';
2
+ import { b as stripeStore, i as initStripeElements, c as stripeStoreRetrievePayment, d as cartStore, o as cartStoreUpdateToErrorState, e as cartStoreUpdateItems, j as stripeStoreInitCheckoutSession, k as stripeStoreGetPaymentIntent, x as stripeStoreUpdateCheckoutSessionBaseCurrency, C as stripeStoreConfirmPayment, H as stripeStoreOnChange, F as stripeStoreReset, f as cartStoreReset } from './cart-2e407f7b.js';
3
+ import { i as invoiceStoreUpdateSelectedShippingOption, a as invoiceStoreInitShippingInfo, b as invoiceStoreAsyncAddressUpdate, c as invoiceStore } from './invoice-67a47785.js';
4
+ import { p as paypalStoreHasPaypalEnabled, a as paypalStore } from './paypal-6dca6567.js';
5
+ import { s as storageStore, t as translate, e as localizationStoreOnChange, h as currencyFormat, k as languages, l as localizationStore } from './localization-36a4dc22.js';
6
+ import { z as zonosStore } from './zonosStore-eca1e364.js';
7
7
  import { b as buildCartItemsByTempCart } from './buildCartItemsByTempCart-a117f75d.js';
8
8
  import { h as handleFetch, s as sendErrorLog, l as logError, g as getIsTestMode } from './handleFetch-a844cac1.js';
9
9
  import { i as isInvoiceMobile, a as isInvoiceTablet } from './isInvoiceMobileTablet-1f7b614e.js';
10
10
  import { c as classes } from './classes-0d95c529.js';
11
11
  import { l as log } from './VarianceTest-572cecf5.js';
12
- import { l as languages } from './ILanguage-cd6acb72.js';
13
- import './isDarkColor-039ef212.js';
14
- import './getBorderRadius-dc982fe6.js';
12
+ import './isDarkColor-939d8e9c.js';
13
+ import './getBorderRadius-1f7be586.js';
15
14
  import './TaxId-63a14057.js';
16
- import './isContrastColor-089de6ac.js';
17
- import './submitGtag-dc54f5b9.js';
15
+ import './isContrastColor-9fa0d013.js';
16
+ import './submitGtag-71c450b6.js';
18
17
 
19
18
  const ChevronDownIcon = `<svg color="var(--zonos-elements-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>`;
20
19
 
@@ -1,7 +1,6 @@
1
1
  import { r as registerInstance, h, a as Host } from './index-cfd394c8.js';
2
- import { A as localizationStoreUpdateSelectedLocale, t as translate, l as localizationStore } from './localization-754e7e8b.js';
3
- import { f as zonosStoreFontFamily } from './zonosStore-b7d3f9b0.js';
4
- import { l as languages } from './ILanguage-cd6acb72.js';
2
+ import { C as localizationStoreUpdateSelectedLocale, t as translate, y as getSupportedLanguages, l as localizationStore } from './localization-36a4dc22.js';
3
+ import { f as zonosStoreFontFamily } from './zonosStore-eca1e364.js';
5
4
  import './handleFetch-a844cac1.js';
6
5
  import './VarianceTest-572cecf5.js';
7
6
 
@@ -30,9 +29,9 @@ const ZonosLanguageSelect = class {
30
29
  }
31
30
  render() {
32
31
  const { selectedLocale } = localizationStore;
33
- return (h(Host, { key: 'b2f1fc3b2bf928d9ab96d0dee0f77a184e842bcb', class: "zonos--elements", style: {
32
+ return (h(Host, { key: 'b557082e699209af33ab25715d5cb23fb8a20f56', class: "zonos--elements", style: {
34
33
  '--zonos--font-family': zonosStoreFontFamily(),
35
- } }, h("div", { key: 'a2c5e0ec32aef9ba6f9523777a4c75f441dcae39', class: "zonos--language-select" }, h("zonos-select-dialog-header", { key: '93cf877ed11fd1e1af04e8269f5c264f69f52762', handleOnClose: () => this.handleOnClose(), label: translate('Select a language') }), h("div", { key: '30865ea0b3d8f31d900c616b8b05882fcd083ac3', class: "zonos--language-select-content" }, languages.map(language => (h("button", { class: "zonos--language-select-button", onClick: () => this.languageSelected(language.code) }, h("zonos-text", { textColor: "gray-800" }, language.translatedLabel), language.code === selectedLocale && (h("zonos-icon", { content: GreenCheckDuotoneIcon, size: 16 })))))))));
34
+ } }, h("div", { key: 'f5fa8a8163aa46589d67df8d7b69a9b60c7c3994', class: "zonos--language-select" }, h("zonos-select-dialog-header", { key: '7ffc14b7fab4014352361424de6ea6e2fc8d7f6c', handleOnClose: () => this.handleOnClose(), label: translate('Select a language') }), h("div", { key: 'ab06dd27d199ef7223ce4421ab4d4e7a5816e402', class: "zonos--language-select-content" }, getSupportedLanguages().map(language => (h("button", { class: "zonos--language-select-button", onClick: () => this.languageSelected(language.code) }, h("zonos-text", { textColor: "gray-800" }, language.translatedLabel), language.code === selectedLocale && (h("zonos-icon", { content: GreenCheckDuotoneIcon, size: 16 })))))))));
36
35
  }
37
36
  };
38
37
  ZonosLanguageSelect.style = ZonosLanguageSelectStyle0;
@@ -56,9 +55,9 @@ const ZonosSelectDialogHeader = class {
56
55
  this.label = '';
57
56
  }
58
57
  render() {
59
- return (h(Host, { key: 'de9b5deb0f4cee2fe4646e37ddf36f3ccfd0696c', class: "zonos--elements", style: {
58
+ return (h(Host, { key: '2c3fe65b8226875d1e543d87d622a2356c975bae', class: "zonos--elements", style: {
60
59
  '--zonos--font-family': zonosStoreFontFamily(),
61
- } }, h("zonos-v-stack", { key: '8f64fbb4f6596d335d6799b3beb27deadc280017', class: "zonos--select-dialog-header-wrapper", spacing: 8 }, h("div", { key: '58ea82f407f0a9833196f91a5f7f7c1074b537d9', class: "zonos--select-dialog-header" }, h("zonos-text", { key: '78b6f980f1136910e1761a1f99facf355f892c52', type: "boldLabel" }, this.label), h("zonos-button", { key: '2ce0171ef775d275aacb3b661e0ad62d429c338e', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close select dialog", content: RemoveIcon, size: 20 }), noBackground: true, onClick: () => this.handleOnClose() })), h("slot", { key: '1686924ae0153dc76a03852f08796c29e41013e3' }))));
60
+ } }, h("zonos-v-stack", { key: '7e065cce508376405350d8cf0b90437c5bbbd6e9', class: "zonos--select-dialog-header-wrapper", spacing: 8 }, h("div", { key: '363ff8e4b18b50497b904af45bcf62ae374f90de', class: "zonos--select-dialog-header" }, h("zonos-text", { key: '5b3833d7186579859d067c205ab3cb70bf01ed99', type: "boldLabel" }, this.label), h("zonos-button", { key: '7dd27337e33c3d97544696a8d850204296474f5e', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close select dialog", content: RemoveIcon, size: 20 }), noBackground: true, onClick: () => this.handleOnClose() })), h("slot", { key: 'a5f6b16ecc6a1fb8c24bd783f0384d3506656f01' }))));
62
61
  }
63
62
  };
64
63
  ZonosSelectDialogHeader.style = ZonosSelectDialogHeaderStyle0;
@@ -12,7 +12,7 @@ const ZonosLink = class {
12
12
  this.href = '';
13
13
  }
14
14
  render() {
15
- return (h(Host, { key: 'c3f532019c96bed8a9ecae34364f127e177c38f9', class: "zonos--elements" }, h("a", { key: '40a5c745b8e7e0dc497269cc7f6b55b0414aa33b', href: this.href, rel: this.rel, target: this.target, title: this.linkTitle }, h("slot", { key: '94a7470c679fd445635d39de30ffd28d498b7211' }))));
15
+ return (h(Host, { key: 'a8f6a7e96c5da6d98554ca6e40999596f7d4ead8', class: "zonos--elements" }, h("a", { key: '1df6e963d3e2e2dd5fadd97e39d3a05981458170', href: this.href, rel: this.rel, target: this.target, title: this.linkTitle }, h("slot", { key: '515048e9395bf523b29efaad40d60509ef0d767f' }))));
16
16
  }
17
17
  };
18
18
  ZonosLink.style = ZonosLinkStyle0;
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, e as getAssetPath, a as Host } from './index-cfd394c8.js';
2
- import { f as zonosStoreFontFamily } from './zonosStore-b7d3f9b0.js';
2
+ import { f as zonosStoreFontFamily } from './zonosStore-eca1e364.js';
3
3
  import { c as classes } from './classes-0d95c529.js';
4
4
  import './VarianceTest-572cecf5.js';
5
5
 
@@ -22,11 +22,11 @@ const ZonosLogo = class {
22
22
  const filterColor = this.theme === 'DARK'
23
23
  ? 'invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%)'
24
24
  : 'whiteinvert(0%) sepia(100%) saturate(32%) hue-rotate(92deg) brightness(107%) contrast(107%)';
25
- return (h(Host, { key: 'b698963f9d2d0ce2a3165d484cd8dda026e86350', class: classes(['zonos--elements zonos--logo']), style: {
25
+ return (h(Host, { key: '89d856c28d227afbe76656ce217544faad91715e', class: classes(['zonos--elements zonos--logo']), style: {
26
26
  '--zonos--filter-color': filterColor,
27
27
  '--zonos--font-family': zonosStoreFontFamily(),
28
28
  '--zonos--width': this.width,
29
- } }, h("img", { key: 'cc8163dc55b4d0a34bfc83eaaa618add56fb0c9a', alt: "Zonos Logo", src: getAssetPath('./assets/ZonosLogo.png') })));
29
+ } }, h("img", { key: '025c97e65f2666028391f6ca2d548bf905528133', alt: "Zonos Logo", src: getAssetPath('./assets/ZonosLogo.png') })));
30
30
  }
31
31
  static get assetsDirs() { return ["assets"]; }
32
32
  };
@@ -1,12 +1,12 @@
1
1
  import { r as registerInstance, h, F as Fragment, a as Host, g as getElement } from './index-cfd394c8.js';
2
- import { $ as getEnabledPolicies, E as policyConsentStore, a0 as storeCreditStoreSetEnabled, a1 as storeCreditStoreSetUseFullBalance, a2 as cartStoreUpdateStoreCredit, S as storeCreditStore, a3 as storeCreditStoreSetAmount, a4 as storeCreditStoreRefreshBalance, I as storeCreditStoreGetEffectiveAmount } from './cart-93c36159.js';
3
- import { l as localizationStore, t as translate } from './localization-754e7e8b.js';
4
- import { z as zonosStore, f as zonosStoreFontFamily } from './zonosStore-b7d3f9b0.js';
5
- import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-9a81e41c.js';
6
- import { g as getBorderRadius } from './getBorderRadius-dc982fe6.js';
2
+ import { $ as getEnabledPolicies, E as policyConsentStore, a0 as storeCreditStoreSetEnabled, a1 as storeCreditStoreSetUseFullBalance, a2 as cartStoreUpdateStoreCredit, S as storeCreditStore, a3 as storeCreditStoreSetAmount, a4 as storeCreditStoreRefreshBalance, I as storeCreditStoreGetEffectiveAmount } from './cart-2e407f7b.js';
3
+ import { l as localizationStore, t as translate } from './localization-36a4dc22.js';
4
+ import { z as zonosStore, f as zonosStoreFontFamily } from './zonosStore-eca1e364.js';
5
+ import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-282384f0.js';
6
+ import { g as getBorderRadius } from './getBorderRadius-1f7be586.js';
7
7
  import './VarianceTest-572cecf5.js';
8
8
  import './handleFetch-a844cac1.js';
9
- import './isDarkColor-039ef212.js';
9
+ import './isDarkColor-939d8e9c.js';
10
10
  import './TaxId-63a14057.js';
11
11
 
12
12
  const zonosPolicyConsentCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:block;margin-top:20px}.zonos--policy-consent{background-color:var(--zonos-elements-gray-50);border:1px solid var(--zonos-elements-gray-200);border-radius:8px;padding:12px 14px;-webkit-transition:border-color 0.15s ease, background-color 0.15s ease;transition:border-color 0.15s ease, background-color 0.15s ease}.zonos--policy-consent:hover{border-color:var(--zonos-elements-gray-300)}.zonos--policy-consent--error{background-color:var(--zonos-elements-red-50);border-color:var(--zonos-elements-red-400)}.zonos--policy-consent-label{-ms-flex-align:center;align-items:center;cursor:pointer;display:-ms-flexbox;display:flex;gap:10px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.zonos--policy-consent-checkbox{accent-color:var(--zonos-elements-blue-600);cursor:pointer;-ms-flex-negative:0;flex-shrink:0;height:18px;margin:0;width:18px}.zonos--policy-consent-text{color:var(--zonos-elements-gray-800);font-size:14px;line-height:1.45}.zonos--policy-consent-text a{color:var(--zonos-elements-blue-600);text-decoration:underline;text-underline-offset:2px}.zonos--policy-consent-text a:hover{color:var(--zonos-elements-blue-700)}.zonos--policy-consent-error{color:var(--zonos-elements-red-600);font-size:13px;line-height:1.4;margin-top:8px;padding:0 4px}";