@zonos/elements 1.3.283 → 1.3.284

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 +2 -2
  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 +5 -5
  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 +1 -1
  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 +302 -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 +54 -34
  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 +25 -24
  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 +463 -107
  229. package/dist/types/types/generated/graphql.internal.types.ts +601 -102
  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-b567448d.system.js → p-2989da12.system.js} +1 -1
  249. package/dist/zonos-elements/p-29b60bf3.system.js +1 -1
  250. package/dist/zonos-elements/{p-5fceef56.system.js → p-2b8c96e3.system.js} +1 -1
  251. package/dist/zonos-elements/{p-7bdce9d4.js → p-2bbe9d91.js} +1 -1
  252. package/dist/zonos-elements/{p-07c21940.entry.js → p-2c2afed4.entry.js} +1 -1
  253. package/dist/zonos-elements/{p-32b53999.entry.js → p-2c44e013.entry.js} +1 -1
  254. package/dist/zonos-elements/{p-e0cbc7c7.entry.js → p-2c7a425d.entry.js} +1 -1
  255. package/dist/zonos-elements/{p-0e1f13ff.system.entry.js → p-2cab1746.system.entry.js} +1 -1
  256. package/dist/zonos-elements/{p-1180a97c.system.entry.js → p-2cdd1b49.system.entry.js} +1 -1
  257. package/dist/zonos-elements/{p-d1e84608.entry.js → p-2ce039e5.entry.js} +1 -1
  258. package/dist/zonos-elements/{p-26bf0c31.entry.js → p-3490b6d0.entry.js} +1 -1
  259. package/dist/zonos-elements/{p-72280783.system.js → p-3a13e58c.system.js} +1 -1
  260. package/dist/zonos-elements/{p-ef2c264c.entry.js → p-4671fde7.entry.js} +1 -1
  261. package/dist/zonos-elements/{p-e2b8936a.js → p-46cd14e5.js} +1 -1
  262. package/dist/zonos-elements/{p-0d183f19.system.js → p-4a20893e.system.js} +1 -1
  263. package/dist/zonos-elements/{p-6325ee77.system.js → p-4b159ff3.system.js} +1 -1
  264. package/dist/zonos-elements/{p-34d6eb83.js → p-502d6eeb.js} +1 -1
  265. package/dist/zonos-elements/{p-8fa3a8f8.system.entry.js → p-51e4e61a.system.entry.js} +1 -1
  266. package/dist/zonos-elements/{p-496accce.system.js → p-551fa762.system.js} +1 -1
  267. package/dist/zonos-elements/p-5a491f28.js +1 -0
  268. package/dist/zonos-elements/{p-d74eda59.entry.js → p-5b990c91.entry.js} +1 -1
  269. package/dist/zonos-elements/{p-b7a03b08.entry.js → p-5ebb7ae6.entry.js} +1 -1
  270. package/dist/zonos-elements/p-60832726.system.js +1 -0
  271. package/dist/zonos-elements/{p-c515bc23.system.js → p-60a6b71d.system.js} +1 -1
  272. package/dist/zonos-elements/p-62f6a757.entry.js +1 -0
  273. package/dist/zonos-elements/p-65c1f51e.entry.js +1 -0
  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,4 +1,4 @@
1
- import { _ as _root, b as _baseGetTag, i as isObjectLike_1, d as isObject_1 } from './zonosStore-b7d3f9b0.js';
1
+ import { _ as _root, b as _baseGetTag, i as isObjectLike_1, d as isObject_1 } from './zonosStore-eca1e364.js';
2
2
 
3
3
  var root = _root;
4
4
 
@@ -1,4 +1,4 @@
1
- import { z as zonosStore } from './zonosStore-b7d3f9b0.js';
1
+ import { z as zonosStore } from './zonosStore-eca1e364.js';
2
2
 
3
3
  /**
4
4
  * Get the border radius for the elements based on the style
@@ -1,5 +1,5 @@
1
- import { i as isDarkColor, t as tinycolor } from './isDarkColor-039ef212.js';
2
- import { i as isContrastColor } from './isContrastColor-089de6ac.js';
1
+ import { i as isDarkColor, t as tinycolor } from './isDarkColor-939d8e9c.js';
2
+ import { i as isContrastColor } from './isContrastColor-9fa0d013.js';
3
3
 
4
4
  const getContrastColor = ({ backgroundColor, color, }) => {
5
5
  if (backgroundColor === color) {
@@ -1,4 +1,4 @@
1
- import { U as extractName } from './cart-93c36159.js';
1
+ import { U as extractName } from './cart-2e407f7b.js';
2
2
 
3
3
  /**
4
4
  * Minimum number of characters we treat as a valid postal code. Mirrors the
@@ -1,4 +1,4 @@
1
- import { l as localizationStore } from './localization-754e7e8b.js';
1
+ import { l as localizationStore } from './localization-36a4dc22.js';
2
2
 
3
3
  /**
4
4
  * Since the backend and the frontend are using the same keys,
package/dist/esm/index.js CHANGED
@@ -131,7 +131,7 @@ const getZonosQaUrl = () => {
131
131
  return null;
132
132
  }
133
133
  const qaUrl = extractZonosQaUrl(window.location.href);
134
- const cdnUrl = "https://v1.3.283.js.zonos.com";
134
+ const cdnUrl = "https://v1.3.284.js.zonos.com";
135
135
  // when the qaUrl is not set and the built URL is from the test domain, use the test domain for testing
136
136
  if (!qaUrl &&
137
137
  (cdnUrl.includes('test.') ||
@@ -397,10 +397,10 @@ const zonosLoadUrl = (() => {
397
397
  return null;
398
398
  })();
399
399
  const startLoadTime = Date.now();
400
- const ZONOS_URL = "https://v1.3.283.js.zonos.com";
401
- const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.283";
402
- const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.283";
403
- const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.283";
400
+ const ZONOS_URL = "https://v1.3.284.js.zonos.com";
401
+ const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.284";
402
+ const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.284";
403
+ const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.284";
404
404
  const GOOGLE_FONT_URL = 'https://fonts.googleapis.com';
405
405
  const GOOGLE_FONT_REGEX = /^https:\/\/fonts\.googleapis\.com/;
406
406
  class Zonos {
@@ -418,7 +418,7 @@ Zonos.iframeLogType = typeof window !== 'undefined'
418
418
  ? new URLSearchParams(window.location.search).get('iframeLogType')
419
419
  : null;
420
420
  Zonos.isBigCommerce = false;
421
- Zonos.releaseDate = "1785523353097";
421
+ Zonos.releaseDate = "1787002350863";
422
422
  Zonos.isLegacyCheckout = false;
423
423
  Zonos.googleAnalyticId = null;
424
424
  Zonos.googleAnalyticReady = false;
@@ -443,7 +443,7 @@ Zonos.isNpm = true;
443
443
  Zonos.zonosQaUrl = null;
444
444
  Zonos.zonosQaUrlApi = null;
445
445
  Zonos.trackEventLogs = [];
446
- Zonos.version = `v${"1.3.283"}`;
446
+ Zonos.version = `v${"1.3.284"}`;
447
447
  Zonos.modeAlerted = false;
448
448
  Zonos.cartData = null;
449
449
  Zonos.paypal = null;
@@ -1,6 +1,6 @@
1
- import { c as createStore, z as zonosStore } from './zonosStore-b7d3f9b0.js';
2
- import { b as stripeStore, K as stripeStoreBuildAddressForPartyCreate, d as cartStore, L as cartStoreUpdateSelectedShippingOption } from './cart-93c36159.js';
3
- import { s as storageStore } from './localization-754e7e8b.js';
1
+ import { c as createStore, z as zonosStore } from './zonosStore-eca1e364.js';
2
+ import { b as stripeStore, K as stripeStoreBuildAddressForPartyCreate, d as cartStore, L as cartStoreUpdateSelectedShippingOption } from './cart-2e407f7b.js';
3
+ import { s as storageStore } from './localization-36a4dc22.js';
4
4
  import { h as handleFetch, s as sendErrorLog, l as logError } from './handleFetch-a844cac1.js';
5
5
  import { b as allLogs } from './VarianceTest-572cecf5.js';
6
6
 
@@ -1,4 +1,4 @@
1
- import { t as tinycolor } from './isDarkColor-039ef212.js';
1
+ import { t as tinycolor } from './isDarkColor-939d8e9c.js';
2
2
 
3
3
  const isContrastColor = ({ backgroundColor1, backgroundColor2, }) => {
4
4
  // get readibility of the color
@@ -1,4 +1,4 @@
1
- import { a as commonjsGlobal } from './zonosStore-b7d3f9b0.js';
1
+ import { a as commonjsGlobal } from './zonosStore-eca1e364.js';
2
2
 
3
3
  var tinycolor$1 = {exports: {}};
4
4
 
@@ -1,4 +1,4 @@
1
- import { c as createStore, z as zonosStore } from './zonosStore-b7d3f9b0.js';
1
+ import { c as createStore, z as zonosStore } from './zonosStore-eca1e364.js';
2
2
  import { j as jsonParse, h as handleFetch, l as logError } from './handleFetch-a844cac1.js';
3
3
  import { a as availableTestKeys, l as log } from './VarianceTest-572cecf5.js';
4
4
 
@@ -17945,6 +17945,45 @@ const removeBigcommerceCartShipping = async () => {
17945
17945
  }
17946
17946
  };
17947
17947
 
17948
+ const languages = [
17949
+ { code: 'en', label: 'English', translatedLabel: 'English' },
17950
+ { code: 'es', label: 'Spanish', translatedLabel: 'Español' },
17951
+ { code: 'pt', label: 'Portuguese', translatedLabel: 'Português' },
17952
+ { code: 'ru', label: 'Russian', translatedLabel: 'русский' },
17953
+ { code: 'da', label: 'Danish', translatedLabel: 'dansk' },
17954
+ { code: 'it', label: 'Italian', translatedLabel: 'Italiano' },
17955
+ { code: 'pl', label: 'Polish', translatedLabel: 'Polskie' },
17956
+ { code: 'ar', label: 'Arabic', translatedLabel: 'عربى' },
17957
+ { code: 'de', label: 'German', translatedLabel: 'Deutsch' },
17958
+ { code: 'ja', label: 'Japanese', translatedLabel: '日本語' },
17959
+ { code: 'no', label: 'Norwegian', translatedLabel: 'norsk' },
17960
+ { code: 'vi', label: 'Vietnamese', translatedLabel: 'Tiếng Việt' },
17961
+ { code: 'tr', label: 'Turkish', translatedLabel: 'Türkçe' },
17962
+ { code: 'he', label: 'Hebrew', translatedLabel: 'עִברִית' },
17963
+ { code: 'fr', label: 'French', translatedLabel: 'Français' },
17964
+ { code: 'nl', label: 'Dutch', translatedLabel: 'Nederlands' },
17965
+ { code: 'zh', label: 'Chinese', translatedLabel: '中文' },
17966
+ { code: 'sv', label: 'Swedish', translatedLabel: 'svenska' },
17967
+ { code: 'id', label: 'Indonesian', translatedLabel: 'bahasa Indonesia' },
17968
+ { code: 'ko', label: 'Korean', translatedLabel: '한국어' },
17969
+ ];
17970
+
17971
+ /**
17972
+ * The languages offered in the language selector, honoring the merchant's
17973
+ * `appearanceSettings.supportedLocales`. Falls back to every supported language when the
17974
+ * merchant has not restricted the list, or when their selection matches nothing we ship
17975
+ * translations for — an empty selector is never the right answer.
17976
+ */
17977
+ const getSupportedLanguages = () => {
17978
+ const { supportedLocales } = zonosStore.appearance;
17979
+ if (!(supportedLocales === null || supportedLocales === void 0 ? void 0 : supportedLocales.length)) {
17980
+ return languages;
17981
+ }
17982
+ const allowedLocales = new Set(supportedLocales);
17983
+ const supportedLanguages = languages.filter(language => allowedLocales.has(language.code));
17984
+ return supportedLanguages.length ? supportedLanguages : languages;
17985
+ };
17986
+
17948
17987
  const applyInclusiveEffectiveRate = (amount) => {
17949
17988
  const inclusivePrice = localizationStore.inclusivePricingConfigurations.find(x => x.shipToCountry === localizationStore.selectedCountryCode);
17950
17989
  if (!inclusivePrice) {
@@ -18501,6 +18540,23 @@ const getValidCountryCode = (countryCode) => {
18501
18540
  }
18502
18541
  return countryCode;
18503
18542
  };
18543
+ /**
18544
+ * Clamps a locale to what the merchant offers. The requested locale comes from geolocation, the
18545
+ * browser, or the `zonosLocale` param — none of which know about
18546
+ * `appearanceSettings.supportedLocales` — so without this a shopper could land on a language the
18547
+ * merchant has removed, with no way to switch back to it once the selector hides it.
18548
+ */
18549
+ const getValidLocale = (locale) => {
18550
+ const supportedLanguages = getSupportedLanguages();
18551
+ if (supportedLanguages.some(language => language.code === locale)) {
18552
+ return locale;
18553
+ }
18554
+ // prefer English when it is on offer, otherwise take the first language the merchant kept
18555
+ const fallback = supportedLanguages.find(language => language.code === 'en') ||
18556
+ supportedLanguages[0];
18557
+ log(`Locale ${locale} is not offered, falling back to ${fallback === null || fallback === void 0 ? void 0 : fallback.code}`);
18558
+ return (fallback === null || fallback === void 0 ? void 0 : fallback.code) || 'en';
18559
+ };
18504
18560
  const localizationStoreUpdateSelectedCountryCode = ({ isInitializing, newSelectedCountryCode, }) => {
18505
18561
  var _a, _b, _c;
18506
18562
  log(`Updating selected country code to ${newSelectedCountryCode}`);
@@ -18660,7 +18716,8 @@ const updateCheckoutSessionLanguage = async () => {
18660
18716
  }
18661
18717
  return { errors: [], json };
18662
18718
  };
18663
- const localizationStoreUpdateSelectedLocale = (newSelectedLocale) => {
18719
+ const localizationStoreUpdateSelectedLocale = (requestedLocale) => {
18720
+ const newSelectedLocale = getValidLocale(requestedLocale);
18664
18721
  localizationStore.selectedLocale = newSelectedLocale;
18665
18722
  translationStoreUpdateLanguage(newSelectedLocale);
18666
18723
  void updateCheckoutSessionLanguage();
@@ -18718,4 +18775,4 @@ const initLocalizationStore = async () => {
18718
18775
  }
18719
18776
  };
18720
18777
 
18721
- export { localizationStoreUpdateSelectedLocale as A, VARIANT_TEST_KEY_EXPIRATION as V, fetchCheckoutId as a, fetchBigCommerceCheckout as b, localizationStoreUpdateSelectedCountryCode as c, storageStoreSetEnabledVariantTestKeys as d, localizationStoreOnChange as e, filterValidTests as f, getZCountryUrlParam as g, currencyFormat as h, isBigCommerceCustomerLoggedIn as i, getOverridenZCountry as j, isValidSelector as k, localizationStore as l, initLocalizationStore as m, setZCountryUrlParam as n, currencyDisplay as o, currencyConvertAndFormat as p, currencyConvert as q, shouldShowHelloWidget as r, storageStore as s, translate as t, getExchangeRate as u, numberFormat as v, applyInclusiveEffectiveRate as w, translationStoreOnChange as x, storageStoreOnChange as y, getFallbackDefaultCountryCode as z };
18778
+ export { storageStoreOnChange as A, getFallbackDefaultCountryCode as B, localizationStoreUpdateSelectedLocale as C, VARIANT_TEST_KEY_EXPIRATION as V, fetchCheckoutId as a, fetchBigCommerceCheckout as b, localizationStoreUpdateSelectedCountryCode as c, storageStoreSetEnabledVariantTestKeys as d, localizationStoreOnChange as e, filterValidTests as f, getZCountryUrlParam as g, currencyFormat as h, isBigCommerceCustomerLoggedIn as i, getOverridenZCountry as j, languages as k, localizationStore as l, isValidSelector as m, initLocalizationStore as n, setZCountryUrlParam as o, currencyDisplay as p, currencyConvertAndFormat as q, currencyConvert as r, storageStore as s, translate as t, shouldShowHelloWidget as u, getExchangeRate as v, numberFormat as w, applyInclusiveEffectiveRate as x, getSupportedLanguages as y, translationStoreOnChange as z };
@@ -1,10 +1,10 @@
1
- import { z as zonosStore, c as createStore } from './zonosStore-b7d3f9b0.js';
2
- import { t as trackConversionEvent, w as isPolicyConsentRequired, E as policyConsentStore, A as validateCheckoutSession, b as stripeStore, d as cartStore, l as stripeStoreHandleInventoryCheck, y as storeCreditStoreApplyCredit, J as stripeStoreRecordPolicyConsent, z as storeCreditStoreCoversFullAmount, B as storeCreditStoreCreateOrder, v as cartStoreNextStep, h as cartStoreClearCheckoutInterval, I as storeCreditStoreGetEffectiveAmount } from './cart-93c36159.js';
3
- import { t as translate, s as storageStore } from './localization-754e7e8b.js';
1
+ import { z as zonosStore, c as createStore } from './zonosStore-eca1e364.js';
2
+ import { t as trackConversionEvent, w as isPolicyConsentRequired, E as policyConsentStore, A as validateCheckoutSession, b as stripeStore, d as cartStore, l as stripeStoreHandleInventoryCheck, y as storeCreditStoreApplyCredit, J as stripeStoreRecordPolicyConsent, z as storeCreditStoreCoversFullAmount, B as storeCreditStoreCreateOrder, v as cartStoreNextStep, h as cartStoreClearCheckoutInterval, I as storeCreditStoreGetEffectiveAmount } from './cart-2e407f7b.js';
3
+ import { t as translate, s as storageStore } from './localization-36a4dc22.js';
4
4
  import { h as handleFetch, g as getIsTestMode, l as logError, j as jsonParse } from './handleFetch-a844cac1.js';
5
- import { i as isContrastColor } from './isContrastColor-089de6ac.js';
5
+ import { i as isContrastColor } from './isContrastColor-9fa0d013.js';
6
6
  import { l as log } from './VarianceTest-572cecf5.js';
7
- import { i as isAnalyticsRelayInIframe, e as enqueueRelayEvent, s as submitGtag } from './submitGtag-dc54f5b9.js';
7
+ import { i as isAnalyticsRelayInIframe, e as enqueueRelayEvent, s as submitGtag } from './submitGtag-71c450b6.js';
8
8
 
9
9
  /*!
10
10
  * paypal-js v8.4.2 (2025-09-04T17:21:30.135Z)
@@ -1,5 +1,5 @@
1
- import { d as cartStore } from './cart-93c36159.js';
2
- import { s as storageStore } from './localization-754e7e8b.js';
1
+ import { d as cartStore } from './cart-2e407f7b.js';
2
+ import { s as storageStore } from './localization-36a4dc22.js';
3
3
  import { l as logError, h as handleFetch } from './handleFetch-a844cac1.js';
4
4
 
5
5
  const placeTestOrder = async () => {
@@ -1,5 +1,5 @@
1
- import { d as cartStore } from './cart-93c36159.js';
2
- import { w as applyInclusiveEffectiveRate, h as currencyFormat } from './localization-754e7e8b.js';
1
+ import { d as cartStore } from './cart-2e407f7b.js';
2
+ import { x as applyInclusiveEffectiveRate, h as currencyFormat } from './localization-36a4dc22.js';
3
3
 
4
4
  const getDisplayCurrency = () => {
5
5
  var _a, _b;
@@ -0,0 +1,11 @@
1
+ import { y as getSupportedLanguages } from './localization-36a4dc22.js';
2
+
3
+ /**
4
+ * Whether to offer the language selector. Hidden when the merchant has narrowed
5
+ * `appearanceSettings.supportedLocales` to a single language — there is nothing to pick, so the
6
+ * trigger would only open a one-item dialog. Checkout and Hello both gate their footer trigger on
7
+ * this so the two surfaces stay in lockstep.
8
+ */
9
+ const shouldShowLanguageSelect = () => getSupportedLanguages().length > 1;
10
+
11
+ export { shouldShowLanguageSelect as s };
@@ -1,4 +1,4 @@
1
- import { z as zonosStore } from './zonosStore-b7d3f9b0.js';
1
+ import { z as zonosStore } from './zonosStore-eca1e364.js';
2
2
  import { g as getIsTestMode } from './handleFetch-a844cac1.js';
3
3
  import { l as log } from './VarianceTest-572cecf5.js';
4
4
 
@@ -1,5 +1,5 @@
1
- import { d as debounce_1 } from './debounce-c8d67b17.js';
2
- import { d as isObject_1 } from './zonosStore-b7d3f9b0.js';
1
+ import { d as debounce_1 } from './debounce-84ade9c2.js';
2
+ import { d as isObject_1 } from './zonosStore-eca1e364.js';
3
3
 
4
4
  var debounce = debounce_1,
5
5
  isObject = isObject_1;
@@ -1,4 +1,4 @@
1
- import { d as debounce_1 } from './debounce-c8d67b17.js';
1
+ import { d as debounce_1 } from './debounce-84ade9c2.js';
2
2
  import { h as handleFetch, l as logError } from './handleFetch-a844cac1.js';
3
3
 
4
4
  const attributesToUpdate = {};
@@ -1,20 +1,20 @@
1
1
  import { r as registerInstance, d as createEvent, h, a as Host, g as getElement } from './index-cfd394c8.js';
2
- import { t as translate, s as storageStore, y as storageStoreOnChange, l as localizationStore } from './localization-754e7e8b.js';
3
- import { z as zonosStore, f as zonosStoreFontFamily } from './zonosStore-b7d3f9b0.js';
4
- import { M as MIN_POSTAL_CODE_LENGTH } from './getMissingRequiredShippingFields-ebdccdcf.js';
2
+ import { t as translate, s as storageStore, A as storageStoreOnChange, l as localizationStore } from './localization-36a4dc22.js';
3
+ import { z as zonosStore, f as zonosStoreFontFamily } from './zonosStore-eca1e364.js';
4
+ import { M as MIN_POSTAL_CODE_LENGTH } from './getMissingRequiredShippingFields-719b206f.js';
5
5
  import { c as classes } from './classes-0d95c529.js';
6
- import { U as extractName, b as stripeStore, u as stripeStorePrefetchLandedCost, t as trackConversionEvent } from './cart-93c36159.js';
6
+ import { U as extractName, b as stripeStore, u as stripeStorePrefetchLandedCost, t as trackConversionEvent } from './cart-2e407f7b.js';
7
7
  import { R as RemoveIcon$1 } from './RemoveIcon-9dc5dd1a.js';
8
8
  import { i as isTextContainsNonLatinChars, c as containsNonLatinChars } from './containsNonLatinChars-2d8810c3.js';
9
- import { g as getBorderRadius } from './getBorderRadius-dc982fe6.js';
10
- import { t as throttle_1 } from './throttle-44bfb6b5.js';
9
+ import { g as getBorderRadius } from './getBorderRadius-1f7be586.js';
10
+ import { t as throttle_1 } from './throttle-c4c24e86.js';
11
11
  import { i as isCheckoutMobile } from './handleFetch-a844cac1.js';
12
12
  import { a as shouldRenderTaxIdInput, s as shouldRenderShortAddressCodeInput } from './shouldRenderTaxIdInput-ef7b5860.js';
13
13
  import { l as log } from './VarianceTest-572cecf5.js';
14
14
  import { c as countryRequireTaxId, s as shipToTaxIdLabels } from './TaxId-63a14057.js';
15
15
  import { i as inheritAriaAttributes, a as inheritAttributes } from './helpers-2f6955b1.js';
16
- import { i as isDarkColor } from './isDarkColor-039ef212.js';
17
- import './debounce-c8d67b17.js';
16
+ import { i as isDarkColor } from './isDarkColor-939d8e9c.js';
17
+ import './debounce-84ade9c2.js';
18
18
  import './ShortAddressCode-7620e622.js';
19
19
 
20
20
  const zonosAddressCompletionDialogCss = ":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--body{padding:0 24px;position:relative}:host .zonos--dialog-header{margin-bottom:24px;position:-webkit-sticky;position:sticky;padding-top:24px;top:0;z-index:11;background:var(--zonos-elements-gray-0)}:host .zonos--dialog-title{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;margin-bottom:12px}:host .zonos--group{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding-bottom:5px;gap:20px;-ms-scroll-chaining:chained;overscroll-behavior:auto}:host .zonos--selected-address{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:8px}:host .zonos--completion-fields{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:16px}:host .zonos--completion-name-row{display:-ms-flexbox;display:flex;gap:8px}:host .zonos--completion-name-row zonos-input{-ms-flex:1;flex:1}:host .zonos--group-btn{position:-webkit-sticky;position:sticky;padding:24px 0;bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:end;background:var(--zonos-elements-gray-0);z-index:11}:host .zonos--group-btn .zonos--button-wrapper{display:-ms-flexbox;display:flex;gap:8px}:host(.mobile) .zonos--completion-name-row{-ms-flex-direction:column;flex-direction:column}:host(.mobile) .zonos--button-wrapper{-ms-flex-direction:column;flex-direction:column;width:100%}:host(.mobile) .zonos--button-wrapper zonos-button{width:100%}:host(.mobile) .zonos--button-wrapper .zonos--cancel-btn{-ms-flex-order:2;order:2}:host(.mobile) .zonos--button-wrapper .zonos--submit-btn{-ms-flex-order:1;order:1}";
@@ -268,9 +268,9 @@ const ZonosAddressSuggestions = class {
268
268
  return segments;
269
269
  }
270
270
  render() {
271
- return (h(Host, { key: '20e095515d18016bd1f538bd345ed58aafe8518f', class: "zonos--address-suggestions", role: "group", style: {
271
+ return (h(Host, { key: '9de4179f1bd0057ac71d6b9ed646c034035382f7', class: "zonos--address-suggestions", role: "group", style: {
272
272
  '--zonos--border-radius': getBorderRadius(),
273
- } }, h("ul", { key: 'f43e0820d29fc5ef96ab42402e370dc6ce381e66', "aria-label": "Suggestions", class: "wrapper", role: "listbox" }, !!this.localSuggestions.length && (h("li", { key: 'd8ff4f7b53ea5fac8f42f1c13b2255ca2ea5d5e8', "aria-selected": false, class: "powered-by option", role: "option" }, h("div", { key: '2431de3e4e5241e5d74f552051a5d3d4954624a5', class: "powered-by-container" }, h("zonos-text", { key: '48de6d435ffef45f60ebb4ef6c4b2eaf5bdee821', type: "caption" }, "Suggestions powered by"), h("zonos-text", { key: 'b0e8f2986d4f85daa2fd53b7ea812d296d28a164', type: "semiBoldLabel" }, "Google")), h("zonos-button", { key: 'e62245b99bcdc192a4ee98511c8a4a0efad6ea92', "aria-label": "Clear suggestions", icon: h("zonos-icon", { content: RemoveIcon }), noBackground: true, onClick: () => {
273
+ } }, h("ul", { key: '62fa5ed92fafcdd641f9a7eb36e36e62309c9f52', "aria-label": "Suggestions", class: "wrapper", role: "listbox" }, !!this.localSuggestions.length && (h("li", { key: '27c61b5693720d0b33a75385841476787f92b884', "aria-selected": false, class: "powered-by option", role: "option" }, h("div", { key: 'fea9f2e8f65cd50fdf28fc45e18beb8976320f0d', class: "powered-by-container" }, h("zonos-text", { key: '1fec46f543e3673433b6924f7dca1cbd84e0ef16', type: "caption" }, "Suggestions powered by"), h("zonos-text", { key: '7b3fd93c18d4320522d61e07278f5388d14c8bbb', type: "semiBoldLabel" }, "Google")), h("zonos-button", { key: '61a8362ab0514a78dd71eaa9bd638dc8b50e2a9c', "aria-label": "Clear suggestions", icon: h("zonos-icon", { content: RemoveIcon }), noBackground: true, onClick: () => {
274
274
  this.localSuggestions = [];
275
275
  } }))), this.localSuggestions.map(suggestion => (
276
276
  // eslint-disable-next-line jsx-a11y/click-events-have-key-events
@@ -1446,10 +1446,10 @@ const ZonosAddress = class {
1446
1446
  this.country = localizationStore.selectedCountryCode;
1447
1447
  }
1448
1448
  // this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
1449
- return (h(Host, { key: '5baf00df63a693613f493a84c906898080dcbfa2', class: classes([
1449
+ return (h(Host, { key: 'b4e39a6e92e646f98c0061bf3de8e028c9285556', class: classes([
1450
1450
  'zonos--address zonos--elements',
1451
1451
  `zonos--${this.type}-address`,
1452
- ]) }, h("zonos-text", { key: 'f5079e30a1eadceffaac7fef5aa5296b1f9f480b', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("slot", { key: 'fcbd1bac9e06e91c9e4a229d63852df9fea08c58', name: "below-title" }), this.renderCompanyNameInput(), this.renderTaxIdInput(), this.renderShortAddressCodeInput(), this.renderCustomAddressForm()));
1452
+ ]) }, h("zonos-text", { key: '28d21737c78a1b8125c5170c67f214e3f39939ff', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("slot", { key: '97357f001b27197b8648d6158b786b153c31a7ba', name: "below-title" }), this.renderCompanyNameInput(), this.renderTaxIdInput(), this.renderShortAddressCodeInput(), this.renderCustomAddressForm()));
1453
1453
  }
1454
1454
  get el() { return getElement(this); }
1455
1455
  static get watchers() { return {
@@ -7451,24 +7451,24 @@ const ZonosStripePhoneInput = class {
7451
7451
  .filter(Boolean)
7452
7452
  .sort((a, b) => a.displayName.localeCompare(b.displayName))
7453
7453
  : [];
7454
- return (h(Host, { key: '14478c1db0acc4651d9433f71fefa8bd18b28a61', class: classes([
7454
+ return (h(Host, { key: 'e2a1fc4c2e5f57dc1ae904b70b5f7f421297ae0c', class: classes([
7455
7455
  'zonos--phone-input zonos--elements',
7456
7456
  isDark && 'dark',
7457
- ]), "data-theme": isDark ? 'DARK' : 'LIGHT', style: Object.assign({ '--zonos--border-radius': getBorderRadius(), '--zonos--font-family': zonosStoreFontFamily(), '--zonos--font-size': `${fontSize}px`, '--zonos--primary-color': secondaryColor }, (this.minWidth ? { '--zonos--min-width': this.minWidth } : {})) }, h("div", { key: 'cdc9f75fa9a8fd81ab565614729d33b3b54b1ba9', class: classes([
7457
+ ]), "data-theme": isDark ? 'DARK' : 'LIGHT', style: Object.assign({ '--zonos--border-radius': getBorderRadius(), '--zonos--font-family': zonosStoreFontFamily(), '--zonos--font-size': `${fontSize}px`, '--zonos--primary-color': secondaryColor }, (this.minWidth ? { '--zonos--min-width': this.minWidth } : {})) }, h("div", { key: '61a2ee1f566234692a80fe68fbc4d171f36263dc', class: classes([
7458
7458
  'zonos--label-wrapper',
7459
7459
  this.disabled && 'disabled',
7460
7460
  this.isFocused && 'focused',
7461
7461
  hasContent && 'has-content',
7462
7462
  this.error && 'has-error',
7463
7463
  this.inputLabel && 'has-label',
7464
- ]) }, h("select", { key: 'a34d728be2b100874a2fb2a91e12b77988602b3a', class: "zonos--select", disabled: this.disabled, onBlur: this.handleBlur, onChange: this.handleCountryChange, onFocus: this.handleFocus }, countryOptionsList.map(option => {
7464
+ ]) }, h("select", { key: '32602cf340a06a26c483f049595cdd812826275e', class: "zonos--select", disabled: this.disabled, onBlur: this.handleBlur, onChange: this.handleCountryChange, onFocus: this.handleFocus }, countryOptionsList.map(option => {
7465
7465
  var _a;
7466
7466
  return (h("option", { key: option.countryCode, selected: option.countryCode === ((_a = this.selectedCountry) === null || _a === void 0 ? void 0 : _a.countryCode), value: option.countryCode }, option.displayName, " (+", option.phoneCode, ")"));
7467
- })), h("div", { key: 'c8d76a0a1e9ca245f03a853440a691e1bb478093', class: "zonos--input-group" }, h("div", { key: '51ccfb533bb4560061c63aaed368fb6488cf9d87', class: "zonos--select-wrapper" }, h("div", { key: 'cd50bc9c8f2fd407f47e5bfd3eba18a3f8fe721f', class: "zonos--country-select" }, h("div", { key: '05581057f31568b3d50b054e9c7fbbad5be7c27a', class: "zonos--country-select-content" }, this.selectedCountry && (h("div", { key: '04c5abdc6fdf7e71585896b426ec1ab00dc11f66', class: "zonos--country-select-selected" }, h("div", { key: '6750556068dbad185fadfba36268417974a43865', class: "zonos--country-flag-wrapper" }, h("zonos-country-flag", { key: 'a611a41490d68f2763ae43ad0fd5c0c498d16bfe', class: "zonos--country-flag", countryCode: this.selectedCountry.countryCode })), h("div", { key: 'eab8a6353cd865cffb1576f14fee6edd5dbd3383', class: "zonos--country-code" }, "+", this.selectedCountry.phoneCode))), h("div", { key: 'b3b4b8c407ed68305b467590921bc57925077acd', class: "zonos--select-chevron-wrapper" }, h("zonos-icon", { key: '7bc52fdcaf76bf6416d33442e844057b8d6e8121', "aria-label": "Expand collapsed section", class: "zonos--select-chevron", content: ChevronDownIcon$1, iconColor: "gray-800" }))))), h("div", { key: 'd0ad07b902ef0ff675a515c07ec6597c0d0b0aa2', class: classes([
7467
+ })), h("div", { key: '1a36aa363a853c420303241e75d89e5aa298dee9', class: "zonos--input-group" }, h("div", { key: '7f4d30619c8f69b98422bfcab964113d598d45fa', class: "zonos--select-wrapper" }, h("div", { key: '44d0f28dde38fc09ce612ad4cb78f9d1fbdbe951', class: "zonos--country-select" }, h("div", { key: 'c438e242374e303688150aec2c8eae51b6e1427d', class: "zonos--country-select-content" }, this.selectedCountry && (h("div", { key: '2aaec2a6315d2ee84244c4458efce6d27c8598ad', class: "zonos--country-select-selected" }, h("div", { key: '819a8b6fd270e43992c19a4b96a4ce5335ae166f', class: "zonos--country-flag-wrapper" }, h("zonos-country-flag", { key: '090e6ce55541db022a55497b1b3a6fa7ff2b5406', class: "zonos--country-flag", countryCode: this.selectedCountry.countryCode })), h("div", { key: '021bc4bf590fb6dca736478cc8f9914ce764c1ab', class: "zonos--country-code" }, "+", this.selectedCountry.phoneCode))), h("div", { key: 'f7256f51c803d1b5aedb3b5d646a777cb553aa9d', class: "zonos--select-chevron-wrapper" }, h("zonos-icon", { key: 'a018c3fffc1c029df874d9be3c938307b4609d82', "aria-label": "Expand collapsed section", class: "zonos--select-chevron", content: ChevronDownIcon$1, iconColor: "gray-800" }))))), h("div", { key: 'dd20516acf7d5cab10fe91ff4a6f59cc91600732', class: classes([
7468
7468
  'zonos--input-container',
7469
7469
  this.inputLabel && 'has-label',
7470
7470
  hasContent && 'has-content',
7471
- ]) }, h("input", Object.assign({ key: '5b12c7a228bf9736856c9ebf8ff7898cf0fc1889' }, this.inheritedAttributes, { autoComplete: this.autoComplete, class: "zonos--floated-input", disabled: this.disabled, id: this.inputId, onBlur: this.handleBlur, onFocus: this.handleFocus, onInput: this.handlePhoneChange, placeholder: ((_a = this.selectedCountry) === null || _a === void 0 ? void 0 : _a.phonePlaceholder) || '', ref: el => (this.inputRef = el), type: "tel" })), this.inputLabel && (h("div", { key: '04482f4bc210fb7ee6047972043f6b1942b25142', class: "zonos--floated-label" }, h("label", { key: '345c8e9d7ebc4aa8891c86a77a51f9bbd0088044', htmlFor: this.inputId }, this.inputLabel || translate('Phone number'))))))), this.error && (h("zonos-text", { key: 'cd8805f31cc6b2c9d6052f4c11190dba1f242945', textColor: "red-600" }, this.error))));
7471
+ ]) }, h("input", Object.assign({ key: 'ed8b536ba7aac9bae8012692ceb9f8573640c5d6' }, this.inheritedAttributes, { autoComplete: this.autoComplete, class: "zonos--floated-input", disabled: this.disabled, id: this.inputId, onBlur: this.handleBlur, onFocus: this.handleFocus, onInput: this.handlePhoneChange, placeholder: ((_a = this.selectedCountry) === null || _a === void 0 ? void 0 : _a.phonePlaceholder) || '', ref: el => (this.inputRef = el), type: "tel" })), this.inputLabel && (h("div", { key: 'be2ae82b335dd291d53f48a73f9b23744392daf6', class: "zonos--floated-label" }, h("label", { key: '1894a34c3a5ea09b2b45e8dfc9103d944ac69118', htmlFor: this.inputId }, this.inputLabel || translate('Phone number'))))))), this.error && (h("zonos-text", { key: 'ae0ab1f97abbecf8dda4eced5aa139d8c51decaf', textColor: "red-600" }, this.error))));
7472
7472
  }
7473
7473
  get el() { return getElement(this); }
7474
7474
  static get watchers() { return {
@@ -1,9 +1,9 @@
1
1
  import { r as registerInstance, h, a as Host, d as createEvent } from './index-cfd394c8.js';
2
- import { t as translate, l as localizationStore } from './localization-754e7e8b.js';
2
+ import { t as translate, l as localizationStore } from './localization-36a4dc22.js';
3
3
  import { i as isTextContainsNonLatinChars } from './containsNonLatinChars-2d8810c3.js';
4
- import { f as zonosStoreFontFamily } from './zonosStore-b7d3f9b0.js';
4
+ import { f as zonosStoreFontFamily } from './zonosStore-eca1e364.js';
5
5
  import { c as classes } from './classes-0d95c529.js';
6
- import { g as getBorderRadius } from './getBorderRadius-dc982fe6.js';
6
+ import { g as getBorderRadius } from './getBorderRadius-1f7be586.js';
7
7
  import './handleFetch-a844cac1.js';
8
8
  import './VarianceTest-572cecf5.js';
9
9
 
@@ -128,7 +128,7 @@ const ZonosDialog = class {
128
128
  const borderStyle = getBorderRadius({
129
129
  overrideBorderStyle: this.borderStyle,
130
130
  });
131
- return (h(Host, { key: '93de5ea91ebef1927a2d7dc91a00f87277755ac7', class: classes([
131
+ return (h(Host, { key: '73740b7d8c127367bbc2c621d036288920b3801d', class: classes([
132
132
  'zonos--elements',
133
133
  this.open && 'open',
134
134
  this.isLoading && 'is-loading',
@@ -140,10 +140,10 @@ const ZonosDialog = class {
140
140
  '--zonos--height': this.height || 'initial',
141
141
  '--zonos--min-height': this.minHeight || '500px',
142
142
  '--zonos--width': this.width,
143
- } }, h("div", { key: '86330a3de751f262a3f0f80fbeb436bb6e2b206f', class: "zonos--backdrop" }), h("div", { key: 'a6702c9a9b5bba9f3523503cd85ba6e6ae77fc9d', class: "zonos--dialog-layout", inert: !this.open, onClick: this.clickOutsideDialogHandler }, h("div", { key: '2c4d6e9170fbe80a2ea249d3f40cbc72e5df05d3', class: "zonos--dialog" }, this.isLoading && (h("div", { key: 'e83dcb53e9cd7504d588b124c6468535e81ce71d', class: "zonos--loading" }, h("zonos-spinner", { key: '5e8b3451b5358c76c2fdf47a0ad5eecc8394d012', size: 30 }), this.loadingTitle && (h("zonos-text", { key: '671203125d8fd7e8cb811b61b7190f826221507a', class: "zonos--loading-title", size: "l", weight: 700 }, this.loadingTitle)), this.loadingText && (h("zonos-text", { key: '791a95ed2bdad0c3bfb136c9e42d7d8e920110d9', class: "zonos--loading-text" }, this.loadingText)))), (this.headerText || !this.noCloseButton) && (h("div", { key: '8d4f7a2e12cd56d6341cf5aa17be1a7f151ca45b', class: "zonos--header" }, this.headerText && (h("h3", { key: '4bdd26b40a2209ccf44d85440cfbf173724f9aaa', class: "zonos--header-text" }, this.headerText)), !this.noCloseButton && (h("zonos-button", { key: 'c8f5d7eaff8c9ba94d60d587b5601472e80ea79a', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close dialog", content: RemoveIcon }), noBackground: true, onClick: this.closeButtonHandler, title: "Close dialog", variant: "subtle" })))), h("div", { key: 'e5d91fb3bb3546e559566f8782aa9d939d0f1d04', class: classes([
143
+ } }, h("div", { key: '441c6b5c503a431909f52699ee60992609dea232', class: "zonos--backdrop" }), h("div", { key: '94fb4689581ae2d781cae264740bbf9dbd42deac', class: "zonos--dialog-layout", inert: !this.open, onClick: this.clickOutsideDialogHandler }, h("div", { key: 'ba788097f52ca80229d16ce910071b56647061f9', class: "zonos--dialog" }, this.isLoading && (h("div", { key: '47bfe052272192a74aeed3a5ddbed802ae27bc16', class: "zonos--loading" }, h("zonos-spinner", { key: '49168e9057d08233654abfa0ca36138d205ca283', size: 30 }), this.loadingTitle && (h("zonos-text", { key: 'ed89b9b21e30b0e670b296306ed9b797f2baa75e', class: "zonos--loading-title", size: "l", weight: 700 }, this.loadingTitle)), this.loadingText && (h("zonos-text", { key: '7770dbdcf4e1fb630e0ed6c08dc4830edf00d1f0', class: "zonos--loading-text" }, this.loadingText)))), (this.headerText || !this.noCloseButton) && (h("div", { key: 'c171e207af502ef02de35803c480d927edea3ce4', class: "zonos--header" }, this.headerText && (h("h3", { key: '03999b1441d3a0dc983fed2e64680211f4a59793', class: "zonos--header-text" }, this.headerText)), !this.noCloseButton && (h("zonos-button", { key: 'e2954d9326195df3029c0771481881e6485fae05', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close dialog", content: RemoveIcon }), noBackground: true, onClick: this.closeButtonHandler, title: "Close dialog", variant: "subtle" })))), h("div", { key: 'ba456d3747bd51ada021ed909a41e5768ceed4ab', class: classes([
144
144
  'zonos--body',
145
145
  this.noBodyPadding && 'zonos--no-body-padding',
146
- ]) }, h("slot", { key: '2da7a3c7a978bb520c255a0043f96bf15b2dd006' })), h("slot", { key: '38ec2165a11c9cc2b121122124482590f9cd31e9', name: "dialog-footer" })))));
146
+ ]) }, h("slot", { key: '81e4de1e59970996607f7d0f2f2aef7937f82c43' })), h("slot", { key: '3fcd369711a347b9e2d2840fc708e928e17d5da1', name: "dialog-footer" })))));
147
147
  }
148
148
  static get assetsDirs() { return ["assets"]; }
149
149
  };
@@ -1,16 +1,16 @@
1
1
  import { r as registerInstance, d as createEvent, h, a as Host, g as getElement } from './index-cfd394c8.js';
2
- import { t as throttle_1 } from './throttle-44bfb6b5.js';
3
- import { U as extractName, b as stripeStore, t as trackConversionEvent, H as stripeStoreOnChange, u as stripeStorePrefetchLandedCost, d as cartStore } from './cart-93c36159.js';
4
- import { s as storageStore, z as getFallbackDefaultCountryCode, t as translate, y as storageStoreOnChange, l as localizationStore } from './localization-754e7e8b.js';
5
- import { z as zonosStore, g as getZonosStoreTheme, f as zonosStoreFontFamily } from './zonosStore-b7d3f9b0.js';
2
+ import { t as throttle_1 } from './throttle-c4c24e86.js';
3
+ import { U as extractName, b as stripeStore, t as trackConversionEvent, H as stripeStoreOnChange, u as stripeStorePrefetchLandedCost, d as cartStore } from './cart-2e407f7b.js';
4
+ import { s as storageStore, B as getFallbackDefaultCountryCode, t as translate, A as storageStoreOnChange, l as localizationStore } from './localization-36a4dc22.js';
5
+ import { z as zonosStore, g as getZonosStoreTheme, f as zonosStoreFontFamily } from './zonosStore-eca1e364.js';
6
6
  import { l as logError, i as isCheckoutMobile, s as sendErrorLog } from './handleFetch-a844cac1.js';
7
7
  import { a as shouldRenderTaxIdInput, s as shouldRenderShortAddressCodeInput } from './shouldRenderTaxIdInput-ef7b5860.js';
8
8
  import { c as classes } from './classes-0d95c529.js';
9
9
  import { l as log } from './VarianceTest-572cecf5.js';
10
10
  import { c as countryRequireTaxId, s as shipToTaxIdLabels } from './TaxId-63a14057.js';
11
- import { g as getBorderRadius } from './getBorderRadius-dc982fe6.js';
12
- import './debounce-c8d67b17.js';
13
- import './isDarkColor-039ef212.js';
11
+ import { g as getBorderRadius } from './getBorderRadius-1f7be586.js';
12
+ import './debounce-84ade9c2.js';
13
+ import './isDarkColor-939d8e9c.js';
14
14
  import './ShortAddressCode-7620e622.js';
15
15
 
16
16
  /**
@@ -415,11 +415,11 @@ const ZonosAddress = class {
415
415
  this.isAddressFilled = true;
416
416
  }
417
417
  // this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
418
- return (h(Host, { key: '195940efdd29696d99b1ab6524a53e6a03776c6a', class: classes([
418
+ return (h(Host, { key: '9b7a5340b839d63c64da03639bdfda5a11a5c25e', class: classes([
419
419
  'zonos--address',
420
420
  'zonos--elements',
421
421
  `zonos--${this.type}-address`,
422
- ]) }, this.titleText && (h("zonos-text", { key: '968d5990fce9c1eb22cd10b58744e6d00f2e622d', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), h("slot", { key: 'ae6dd70dcaa5ecd3465c065736e0f31fb40e72d3', name: "below-title" }), this.renderCompanyNameInput(), this.renderTaxIdInput(), this.renderShortAddressCodeInput(), h("div", { key: '0bf3075670d3fcd945f9ddcbe096399e2dc213ed', class: "zonos--address-component" })));
422
+ ]) }, this.titleText && (h("zonos-text", { key: '23739f6a48e5698372df2d53098dea6ad1c0559a', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), h("slot", { key: 'dea4b437eedaad2af2f6bbe3a1e2ae4f0706aa13', name: "below-title" }), this.renderCompanyNameInput(), this.renderTaxIdInput(), this.renderShortAddressCodeInput(), h("div", { key: 'b4be684977a632371b9b6ff4587ccdd7bacc8c67', class: "zonos--address-component" })));
423
423
  }
424
424
  get el() { return getElement(this); }
425
425
  static get watchers() { return {
@@ -551,13 +551,13 @@ const ZonosConfirmDialog = class {
551
551
  const borderStyle = getBorderRadius();
552
552
  // Get theme for the update dialog, inherit from the theme, no from this component theme
553
553
  const theme = getZonosStoreTheme(zonosStore.appearance.theme);
554
- return (h(Host, { key: 'dc074c5b88b642e06edd8942408a3aeed05e5cdb', class: classes([this.dialogOpen && 'open', 'zonos--elements']), "data-dialog-type": this.dialogType, "data-theme": theme, style: {
554
+ return (h(Host, { key: '9ad8aff8631692fa53ef172869d98e9fbfbdc059', class: classes([this.dialogOpen && 'open', 'zonos--elements']), "data-dialog-type": this.dialogType, "data-theme": theme, style: {
555
555
  '--zonos--border-radius': borderStyle,
556
556
  '--zonos--dialog-width': `${this.dialogWidth}px`,
557
557
  '--zonos--font-family': zonosStoreFontFamily(),
558
- } }, h("div", { key: '119a9c201e44a670fb1df61f6663d96f7148ecc6', class: "zonos--backdrop", tabIndex: -1 }), h("div", { key: '9534a92f69dd3d692c1a2fd86fa1cf148f68cdfa', class: classes(['zonos--confirm-layout', this.dialogIntent]), onClick: e => this.clickOutsideDialogHandler(e) }, h("div", { key: 'e79aaf3a80b57634f78575b15a75d7b549ed20ee', class: "zonos--confirm-dialog", onBlur: () => {
558
+ } }, h("div", { key: '6d7c55b90bfb05890d876a0243558eb9a2e7a772', class: "zonos--backdrop", tabIndex: -1 }), h("div", { key: 'abf306ddd70cefd64aa6804aeccf700506c175d7', class: classes(['zonos--confirm-layout', this.dialogIntent]), onClick: e => this.clickOutsideDialogHandler(e) }, h("div", { key: 'dc7e9e6d501872597928603ded57d82c15c26710', class: "zonos--confirm-dialog", onBlur: () => {
559
559
  this.focusDialog();
560
- } }, h("div", { key: '44367b178f46c66dfb236485e05f6832ae63a63b', class: "wrapper" }, h("div", { key: '42d10d17180ec7364710682c27d6cd4fef0b8abe', class: "icon-wrapper" }, this.renderIcon()), h("div", { key: 'b5f7563fb43e1b147db669e1df71f4fafb5284df', class: "content" }, h("div", { key: '38b78e383833b5e49908c8e95c35b9ad23c0f956', class: "title" }, h("zonos-text", { key: '726f5308881671e7e17bd0591521485bd7142c1e', type: "subheader" }, this.dialogTitle)), this.dialogSubtitle && (h("div", { key: '58d663842d51a512b3c8799a907bd1ed58e4fb31', class: "subtitle" }, h("zonos-text", { key: '4411400d8906a22fd5f31652a1eeb314cae8ad68', textColor: "gray-800" }, this.dialogSubtitle)))), h("div", { key: 'df0452b2af633dd558858db824336fd5925aef50', class: "footer" }, this.dialogType === 'confirm' && (h("zonos-button", { key: '50f88e85e18129ef4ee209615b951683c5ff6fa8', backgroundColor: "gray-0", class: "cancel-button", onClick: () => this.closeDialogHandler(), size: "lg", withBoxShadow: true }, this.dialogCancelBtnText || translate('Cancel'))), h("zonos-button", { key: '314b8be8954241b8c261c62d5a4bbe8155cc6914', class: "confirm-button", onClick: () => this.confirmDialogHandler(), size: "lg", variant: this.getButtonConfirmVariant() }, this.dialogConfirmBtnText)))))));
560
+ } }, h("div", { key: '5c1fa9ec8b59cba68ccbc5dc36e66e2fdefdeae5', class: "wrapper" }, h("div", { key: '0ce48c41c78e393a181fd5e9beeac90622b5c620', class: "icon-wrapper" }, this.renderIcon()), h("div", { key: 'b42157f8e76de8a60190e384d7d53a36d8051c67', class: "content" }, h("div", { key: 'bd8eb897f15a6d095df8fbd1803f62a11b9d5d7b', class: "title" }, h("zonos-text", { key: 'd1c06b89d4917b2366f881dda7da9e1369722126', type: "subheader" }, this.dialogTitle)), this.dialogSubtitle && (h("div", { key: '4f1269aaab5ad3965d6ddfc0949341d4f202f296', class: "subtitle" }, h("zonos-text", { key: 'f784b5dd86ff684e790f27a586e3eeb4ac683884', textColor: "gray-800" }, this.dialogSubtitle)))), h("div", { key: 'e0403a968aee6ff878c9e916e9ff216e2052ab0c', class: "footer" }, this.dialogType === 'confirm' && (h("zonos-button", { key: '66e34a9d61f677786bfe286f377854c9ebc780ed', backgroundColor: "gray-0", class: "cancel-button", onClick: () => this.closeDialogHandler(), size: "lg", withBoxShadow: true }, this.dialogCancelBtnText || translate('Cancel'))), h("zonos-button", { key: '3652507591e3055856a044e191525ea36b6042ca', class: "confirm-button", onClick: () => this.confirmDialogHandler(), size: "lg", variant: this.getButtonConfirmVariant() }, this.dialogConfirmBtnText)))))));
561
561
  }
562
562
  static get assetsDirs() { return ["assets"]; }
563
563
  get el() { return getElement(this); }
@@ -791,7 +791,7 @@ const ZonosLoadingOverlay = class {
791
791
  this.size = 40;
792
792
  }
793
793
  render() {
794
- return (h(Host, { key: 'e284a5ada0945f1895dbd9b40039e9d2ef600111', class: classes(['zonos--elements', this.open && 'zonos--open']) }, h("div", { key: 'fb68155fe133ba8cd1d923a0fbb37a382ecabc34', class: "zonos--loading-overlay" }, h("zonos-spinner", { key: '50dc3d4b1f53173240d23ffeac966f7463546fde', size: this.size, spinnerColor: this.spinnerColor }))));
794
+ return (h(Host, { key: '8cafd99b309b04da5cf1b26b0f0804f4699c06b2', class: classes(['zonos--elements', this.open && 'zonos--open']) }, h("div", { key: '9ce7ac9b7e6956a5f76fc2105fa7f5d05299fd36', class: "zonos--loading-overlay" }, h("zonos-spinner", { key: '4be3a8d471e3aead2e4194c4ecbf66878a7a3f17', size: this.size, spinnerColor: this.spinnerColor }))));
795
795
  }
796
796
  };
797
797
  ZonosLoadingOverlay.style = ZonosLoadingOverlayStyle0;
@@ -1,12 +1,12 @@
1
1
  import { r as registerInstance, d as createEvent, h, a as Host, g as getElement } from './index-cfd394c8.js';
2
- import { b as airwallexStore, c as collectStore, f as airwallexStoreInitSdk, l as createElement, m as airwallexStoreGetLocale, n as airwallexStoreOnChange } from './collect-42d4757a.js';
3
- import { d as cartStore } from './cart-93c36159.js';
4
- import { e as localizationStoreOnChange, t as translate, l as localizationStore } from './localization-754e7e8b.js';
5
- import { z as zonosStore } from './zonosStore-b7d3f9b0.js';
2
+ import { b as airwallexStore, c as collectStore, f as airwallexStoreInitSdk, l as createElement, m as airwallexStoreGetLocale, n as airwallexStoreOnChange } from './collect-19428e18.js';
3
+ import { d as cartStore } from './cart-2e407f7b.js';
4
+ import { e as localizationStoreOnChange, t as translate, l as localizationStore } from './localization-36a4dc22.js';
5
+ import { z as zonosStore } from './zonosStore-eca1e364.js';
6
6
  import { l as log } from './VarianceTest-572cecf5.js';
7
7
  import { l as logError } from './handleFetch-a844cac1.js';
8
- import './isDarkColor-039ef212.js';
9
- import './getBorderRadius-dc982fe6.js';
8
+ import './isDarkColor-939d8e9c.js';
9
+ import './getBorderRadius-1f7be586.js';
10
10
  import './TaxId-63a14057.js';
11
11
 
12
12
  const zonosAirwallexPaymentCss = ".sc-zonos-airwallex-payment-h{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-airwallex-payment-h *.sc-zonos-airwallex-payment{font-family:var(--zonos--font-family, Inter), Inter}.sc-zonos-airwallex-payment-h img.sc-zonos-airwallex-payment{max-width:100%}.sc-zonos-airwallex-payment-h dl.sc-zonos-airwallex-payment,.sc-zonos-airwallex-payment-h dd.sc-zonos-airwallex-payment,.sc-zonos-airwallex-payment-h h1.sc-zonos-airwallex-payment,.sc-zonos-airwallex-payment-h h2.sc-zonos-airwallex-payment,.sc-zonos-airwallex-payment-h h3.sc-zonos-airwallex-payment,.sc-zonos-airwallex-payment-h h4.sc-zonos-airwallex-payment,.sc-zonos-airwallex-payment-h h5.sc-zonos-airwallex-payment,.sc-zonos-airwallex-payment-h h6.sc-zonos-airwallex-payment,.sc-zonos-airwallex-payment-h hr.sc-zonos-airwallex-payment,.sc-zonos-airwallex-payment-h figure.sc-zonos-airwallex-payment,.sc-zonos-airwallex-payment-h p.sc-zonos-airwallex-payment,.sc-zonos-airwallex-payment-h pre.sc-zonos-airwallex-payment{margin:0}.sc-zonos-airwallex-payment-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-airwallex-payment-h{display:block}.sc-zonos-airwallex-payment-h .zonos--payment-error-banner.sc-zonos-airwallex-payment{margin-bottom:16px}.sc-zonos-airwallex-payment-h .zonos--airwallex-payment-component.sc-zonos-airwallex-payment{margin-bottom:4px;min-height:40px}";
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, 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
 
@@ -46,16 +46,16 @@ const ZonosBadge = class {
46
46
  this.loading = false;
47
47
  }
48
48
  render() {
49
- return (h(Host, { key: 'c8d29084d1a10f985bcb52409881fff004a73118', class: classes(['zonos--elements zonos--badge']), style: {
49
+ return (h(Host, { key: '95c8a620e803b4ea84d7789ff746d1edc1252389', class: classes(['zonos--elements zonos--badge']), style: {
50
50
  '--zonos--font-family': zonosStoreFontFamily(),
51
- } }, h("div", { key: '28cd3711c8e8d6b362c56589553401707456fdc6', class: classes([
51
+ } }, h("div", { key: '000fb2efaa9cffa4635e89e700013bcc1f9fd63c', class: classes([
52
52
  'zonos--badge-content',
53
53
  this.badgeColor,
54
54
  this.rounded && 'rounded',
55
55
  this.iconRight && 'icon-right',
56
56
  this.size,
57
57
  this.bold && 'bold',
58
- ]) }, this.icon, h("zonos-text", { key: '9dcb72621037e37fc11d5cabe915f6dad9798c2a', textColor: `${this.badgeColor}-800` }, h("slot", { key: '7599b4c4689100dc637a3842287a93a42b4edd41' })), this.dismissHandler && (h("zonos-icon", { key: '861156179b8c8a8d8db1b4ee72717581d2eb7222', "aria-label": "Remove action", class: "zonos--badge-dismiss", content: RemoveLineIcon, onClick: () => { var _a; return (_a = this.dismissHandler) === null || _a === void 0 ? void 0 : _a.call(this); } })))));
58
+ ]) }, this.icon, h("zonos-text", { key: '8c84abeb697dd20f6c1acbd2f512a5bac2c45883', textColor: `${this.badgeColor}-800` }, h("slot", { key: 'b5bc9ed235747f2986fd7a1c94cbede4b8ffc715' })), this.dismissHandler && (h("zonos-icon", { key: '629b306370ba2fab2e43b625fce19e44be2a91a7', "aria-label": "Remove action", class: "zonos--badge-dismiss", content: RemoveLineIcon, onClick: () => { var _a; return (_a = this.dismissHandler) === null || _a === void 0 ? void 0 : _a.call(this); } })))));
59
59
  }
60
60
  };
61
61
  ZonosBadge.style = ZonosBadgeStyle0;
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, 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
 
@@ -1,10 +1,10 @@
1
1
  import { r as registerInstance, h, a as Host, g as getElement } from './index-cfd394c8.js';
2
- import { z as zonosStore, f as zonosStoreFontFamily } from './zonosStore-b7d3f9b0.js';
2
+ import { z as zonosStore, f as zonosStoreFontFamily } from './zonosStore-eca1e364.js';
3
3
  import { i as inheritAriaAttributes, a as inheritAttributes } from './helpers-2f6955b1.js';
4
4
  import { c as classes } from './classes-0d95c529.js';
5
- import { g as getBorderRadius } from './getBorderRadius-dc982fe6.js';
5
+ import { g as getBorderRadius } from './getBorderRadius-1f7be586.js';
6
6
  import { i as isColorVariable } from './isColorVariable-0a94004f.js';
7
- import { i as isDarkColor } from './isDarkColor-039ef212.js';
7
+ import { i as isDarkColor } from './isDarkColor-939d8e9c.js';
8
8
  import { s as styles } from './styles-6fc2fad9.js';
9
9
  import './VarianceTest-572cecf5.js';
10
10
 
@@ -207,13 +207,13 @@ const ZonosButton = class {
207
207
  const borderStyle = getBorderRadius({
208
208
  overrideBorderStyle: this.borderStyle,
209
209
  });
210
- return (h(Host, { key: '6e6b961c9215370bdbfce09715d1a16d878d2d85', class: classes(['zonos--elements']), "data-theme": this.theme || buttonTheme, disabled: disabled, style: styles({
210
+ return (h(Host, { key: 'df2bfe5807583d29166ccb7f5da28dcf5b41dcd3', class: classes(['zonos--elements']), "data-theme": this.theme || buttonTheme, disabled: disabled, style: styles({
211
211
  '--zonos--background-color': backgroundColor,
212
212
  '--zonos--border-radius': borderStyle,
213
213
  '--zonos--color': color,
214
214
  '--zonos--font-family': zonosStoreFontFamily(),
215
215
  '--zonos--font-weight': this.bold ? 'bold' : 'normal',
216
- }) }, h("button", Object.assign({ key: '3941358241e37fb19b2ace0fa0d892002c6967f0' }, this.inheritedAttributes, { class: classes([
216
+ }) }, h("button", Object.assign({ key: '18c6ba3797948296d847a8deed8784ee34b93113' }, this.inheritedAttributes, { class: classes([
217
217
  this.hasIcon && 'has-icon',
218
218
  this.hasContent && 'has-content',
219
219
  this.noBackground && 'no-background',
@@ -228,7 +228,7 @@ const ZonosButton = class {
228
228
  backgroundColor && variant === 'standard' && 'override-background',
229
229
  ]), disabled: disabled, style: {
230
230
  justifyContent: this.justifyContent,
231
- } }), this.loading && (h("div", { key: '769b699dd66e0e5f960efe018b0be7fed2a2ecd3', class: "zonos--spinner-wrapper" }, h("zonos-spinner", { key: 'e7be35423da99ccc0bf9ba2269f030f0c2ea9223', size: 16, spinnerColor: spinnerColor }))), !this.loading && !this.iconRight && this.icon, h("slot", { key: 'cacea287ce83b46f57aae7753805d8bf4e580f82', onSlotchange: this.handleSlotChange }), !this.loading && this.iconRight && this.icon)));
231
+ } }), this.loading && (h("div", { key: 'b468795b69f4e20f7d0ca2c915b95080a53092e4', class: "zonos--spinner-wrapper" }, h("zonos-spinner", { key: '368ea5d9cdb641140d78e55ac1874cbfd6b48db0', size: 16, spinnerColor: spinnerColor }))), !this.loading && !this.iconRight && this.icon, h("slot", { key: '41ecf6db38ca534ed99fd8c2f6020bbfe99cddc9', onSlotchange: this.handleSlotChange }), !this.loading && this.iconRight && this.icon)));
232
232
  }
233
233
  static get delegatesFocus() { return true; }
234
234
  get ele() { return getElement(this); }