@zonos/elements 1.3.288 → 1.3.290

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 (321) hide show
  1. package/dist/cjs/{cart-CV4buPlT.js → cart-7DceSLKl.js} +3 -3
  2. package/dist/cjs/{collect-jzWKzrV7.js → collect-C08DUE1L.js} +3 -3
  3. package/dist/cjs/{debounce-5sZmmlCI.js → debounce-Cd2emZPn.js} +2 -2
  4. package/dist/cjs/{debounce-Nu2lJW4A.js → debounce-vY0QYT6o.js} +1 -1
  5. package/dist/cjs/{getBorderRadius-DGZiQu09.js → getBorderRadius-CyYZw4qq.js} +1 -1
  6. package/dist/cjs/{getMissingRequiredShippingFields-r5vYIqoX.js → getMissingRequiredShippingFields-Duz8xpmf.js} +1 -1
  7. package/dist/cjs/{hasInclusivePrice-BZMQohG9.js → hasInclusivePrice-C-iyXqJ0.js} +1 -1
  8. package/dist/cjs/index.cjs.js +8 -9
  9. package/dist/cjs/{invoice-CHw-mJdS.js → invoice-DSuHUQpi.js} +3 -3
  10. package/dist/cjs/{localization-CxXsmxs5.js → localization-BJqYz_PB.js} +192 -69
  11. package/dist/cjs/{paypal-BLuHeOJH.js → paypal-CZoctP9S.js} +4 -4
  12. package/dist/cjs/{placeTestOrder-VK_CMeq0.js → placeTestOrder-D7baFuaV.js} +2 -2
  13. package/dist/cjs/{renderCheckoutCurrency-CC4CAy-a.js → renderCheckoutCurrency-Ca2HH1Gc.js} +2 -2
  14. package/dist/cjs/{shouldShowLanguageSelect-Bj_jKWPK.js → shouldShowLanguageSelect-FyTdz7U_.js} +1 -1
  15. package/dist/cjs/{submitGtag-CcEL-w5D.js → submitGtag-D79e8u6s.js} +1 -1
  16. package/dist/cjs/{throttle-BcxGntLr.js → throttle-zSVRQLC0.js} +2 -2
  17. package/dist/cjs/{updateCheckoutSessionAttributes-Dltl5RBx.js → updateCheckoutSessionAttributes-jMtfOL2m.js} +1 -1
  18. package/dist/cjs/zonos-address-completion-dialog_7.cjs.entry.js +11 -11
  19. package/dist/cjs/zonos-address-display_2.cjs.entry.js +3 -3
  20. package/dist/cjs/zonos-address_4.cjs.entry.js +8 -8
  21. package/dist/cjs/zonos-airwallex-payment.cjs.entry.js +5 -5
  22. package/dist/cjs/zonos-badge.cjs.entry.js +1 -1
  23. package/dist/cjs/zonos-banner.cjs.entry.js +1 -1
  24. package/dist/cjs/zonos-button_3.cjs.entry.js +2 -2
  25. package/dist/cjs/zonos-card_5.cjs.entry.js +7 -7
  26. package/dist/cjs/zonos-cart-items_12.cjs.entry.js +15 -15
  27. package/dist/cjs/zonos-checkbox_2.cjs.entry.js +2 -2
  28. package/dist/cjs/zonos-checkout.cjs.entry.js +12 -12
  29. package/dist/cjs/zonos-collapse.cjs.entry.js +1 -1
  30. package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +4 -4
  31. package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +11 -11
  32. package/dist/cjs/zonos-collect.cjs.entry.js +7 -7
  33. package/dist/cjs/zonos-controller.cjs.entry.js +7 -7
  34. package/dist/cjs/zonos-country-flag.cjs.entry.js +2 -2
  35. package/dist/cjs/zonos-country-select_4.cjs.entry.js +3 -3
  36. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +3 -3
  37. package/dist/cjs/zonos-hello.cjs.entry.js +129 -51
  38. package/dist/cjs/zonos-input.cjs.entry.js +2 -2
  39. package/dist/cjs/zonos-invoice-cart-items_2.cjs.entry.js +6 -6
  40. package/dist/cjs/zonos-invoice-finish_5.cjs.entry.js +11 -11
  41. package/dist/cjs/zonos-invoice.cjs.entry.js +7 -7
  42. package/dist/cjs/zonos-language-select_2.cjs.entry.js +2 -2
  43. package/dist/cjs/zonos-logo.cjs.entry.js +1 -1
  44. package/dist/cjs/zonos-policy-consent_2.cjs.entry.js +5 -5
  45. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +2 -2
  46. package/dist/cjs/zonos-stripe-input.cjs.entry.js +3 -3
  47. package/dist/cjs/zonos-text.cjs.entry.js +1 -1
  48. package/dist/cjs/zonos-v-stack.cjs.entry.js +1 -1
  49. package/dist/cjs/{zonosStore-BCNYr6Tk.js → zonosStore-Bx9jK82G.js} +2 -0
  50. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.js +1 -1
  51. package/dist/collection/components/checkout/zonos-collect/zonos-collect-payment/zonos-collect-payment.js +1 -1
  52. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-payment/zonos-invoice-payment.js +1 -1
  53. package/dist/collection/components/common/zonos-stripe-input/zonos-stripe-input.js +1 -1
  54. package/dist/collection/components/hello/zonos-hello/zonos-hello.css +17 -15
  55. package/dist/collection/components/hello/zonos-hello/zonos-hello.js +29 -52
  56. package/dist/collection/components/main/zonos-controller.js +2 -2
  57. package/dist/collection/components/paypal/zonos-paypal-payment.js +1 -2
  58. package/dist/collection/components/store/hello/localization.js +69 -34
  59. package/dist/collection/components/store/zonosStore.js +2 -0
  60. package/dist/collection/components/stripe/zonos-address/zonos-address.js +2 -2
  61. package/dist/collection/components/stripe/zonos-custom-address/zonos-address-suggestions/zonos-address-suggestions.js +2 -3
  62. package/dist/collection/components/stripe/zonos-custom-address/zonos-custom-address.js +2 -2
  63. package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +0 -1
  64. package/dist/collection/components/utils/api/getLocalization.js +2 -2
  65. package/dist/collection/components/utils/checkout/isShippableCountry.js +2 -4
  66. package/dist/collection/components/utils/checkout/watchBigcommerceDomesticCheckout.js +1 -0
  67. package/dist/collection/components/utils/checkout/watchImmediateBigcommerceDomesticCheckoutRedirect.js +2 -0
  68. package/dist/collection/components/utils/formatDate.js +1 -3
  69. package/dist/collection/components/utils/getOverridenZCountry.js +3 -5
  70. package/dist/collection/components/utils/hello/countryOverrideStorage.js +49 -0
  71. package/dist/collection/components/utils/hello/getZCountryUrlParam.js +5 -9
  72. package/dist/collection/components/utils/hello/isCountryCode.js +1 -0
  73. package/dist/collection/components/utils/hello/isCountryInShippingZone.js +8 -0
  74. package/dist/collection/components/utils/hello/reconcileRememberedCountryOverride.js +37 -0
  75. package/dist/collection/components/utils/hello/resolveHelloFloatPlacement.js +98 -0
  76. package/dist/collection/components/utils/hello/shouldShowHelloWidget.js +27 -20
  77. package/dist/collection/environment.js +0 -1
  78. package/dist/collection/scripts/_stripe.js +0 -2
  79. package/dist/collection/scripts/_zonosBase.js +1 -1
  80. package/dist/collection/types/generated/graphql.frontend.types.js +218 -63
  81. package/dist/collection/types/generated/graphql.internal.types.js +815 -152
  82. package/dist/collection/utils/formattedCloudflareApiUrl.js +1 -0
  83. package/dist/collection/utils/generateCloudflareDeployUrl.js +5 -2
  84. package/dist/esm/{cart-ekBk_gxV.js → cart-Cleo1j5P.js} +3 -3
  85. package/dist/esm/{collect-33rMINDo.js → collect-CspdWIRo.js} +3 -3
  86. package/dist/esm/{debounce-D4ko2kvZ.js → debounce-BR3PaG8X.js} +1 -1
  87. package/dist/esm/{debounce-DWPsxJsW.js → debounce-CrmpwbEE.js} +2 -2
  88. package/dist/esm/{getBorderRadius-HwG64EKM.js → getBorderRadius-DYfkeXdx.js} +1 -1
  89. package/dist/esm/{getMissingRequiredShippingFields-u1nhQzJ1.js → getMissingRequiredShippingFields-B1IL1-gn.js} +1 -1
  90. package/dist/esm/{hasInclusivePrice-CAVXi310.js → hasInclusivePrice-DKRplpLX.js} +1 -1
  91. package/dist/esm/index.js +8 -9
  92. package/dist/esm/{invoice-BNDWuVsD.js → invoice-D49igPQ9.js} +3 -3
  93. package/dist/esm/{localization-AOqYXGdP.js → localization-BiL8bPsY.js} +192 -70
  94. package/dist/esm/{paypal-CW1D2XqZ.js → paypal-D4vWRxHJ.js} +4 -4
  95. package/dist/esm/{placeTestOrder-nhmsLLOA.js → placeTestOrder-BNmc5RCo.js} +2 -2
  96. package/dist/esm/{renderCheckoutCurrency-BQANmZyM.js → renderCheckoutCurrency-BNbwijGo.js} +2 -2
  97. package/dist/esm/{shouldShowLanguageSelect-BQFCXouB.js → shouldShowLanguageSelect-B82gTfHz.js} +1 -1
  98. package/dist/esm/{submitGtag-CCGQS060.js → submitGtag-df9AQ2zL.js} +1 -1
  99. package/dist/esm/{throttle-D5GyA3yr.js → throttle-Cvlvb-dm.js} +2 -2
  100. package/dist/esm/{updateCheckoutSessionAttributes-eRSqdC74.js → updateCheckoutSessionAttributes-4Jq6V4pO.js} +1 -1
  101. package/dist/esm/zonos-address-completion-dialog_7.entry.js +11 -11
  102. package/dist/esm/zonos-address-display_2.entry.js +3 -3
  103. package/dist/esm/zonos-address_4.entry.js +8 -8
  104. package/dist/esm/zonos-airwallex-payment.entry.js +5 -5
  105. package/dist/esm/zonos-badge.entry.js +1 -1
  106. package/dist/esm/zonos-banner.entry.js +1 -1
  107. package/dist/esm/zonos-button_3.entry.js +2 -2
  108. package/dist/esm/zonos-card_5.entry.js +7 -7
  109. package/dist/esm/zonos-cart-items_12.entry.js +15 -15
  110. package/dist/esm/zonos-checkbox_2.entry.js +2 -2
  111. package/dist/esm/zonos-checkout.entry.js +12 -12
  112. package/dist/esm/zonos-collapse.entry.js +1 -1
  113. package/dist/esm/zonos-collect-cart-items_3.entry.js +4 -4
  114. package/dist/esm/zonos-collect-finish_6.entry.js +11 -11
  115. package/dist/esm/zonos-collect.entry.js +7 -7
  116. package/dist/esm/zonos-controller.entry.js +7 -7
  117. package/dist/esm/zonos-country-flag.entry.js +2 -2
  118. package/dist/esm/zonos-country-select_4.entry.js +3 -3
  119. package/dist/esm/zonos-hello-dialog.entry.js +3 -3
  120. package/dist/esm/zonos-hello.entry.js +129 -51
  121. package/dist/esm/zonos-input.entry.js +2 -2
  122. package/dist/esm/zonos-invoice-cart-items_2.entry.js +6 -6
  123. package/dist/esm/zonos-invoice-finish_5.entry.js +11 -11
  124. package/dist/esm/zonos-invoice.entry.js +7 -7
  125. package/dist/esm/zonos-language-select_2.entry.js +2 -2
  126. package/dist/esm/zonos-logo.entry.js +1 -1
  127. package/dist/esm/zonos-policy-consent_2.entry.js +5 -5
  128. package/dist/esm/zonos-shipping-rich-radio.entry.js +2 -2
  129. package/dist/esm/zonos-stripe-input.entry.js +3 -3
  130. package/dist/esm/zonos-text.entry.js +1 -1
  131. package/dist/esm/zonos-v-stack.entry.js +1 -1
  132. package/dist/esm/{zonosStore-DrIOAz4M.js → zonosStore-msUlqmSD.js} +2 -0
  133. package/dist/esm-es5/{cart-ekBk_gxV.js → cart-Cleo1j5P.js} +8 -8
  134. package/dist/esm-es5/{collect-33rMINDo.js → collect-CspdWIRo.js} +1 -1
  135. package/dist/esm-es5/{debounce-D4ko2kvZ.js → debounce-BR3PaG8X.js} +7 -7
  136. package/dist/esm-es5/debounce-CrmpwbEE.js +1 -0
  137. package/dist/esm-es5/{getBorderRadius-HwG64EKM.js → getBorderRadius-DYfkeXdx.js} +1 -1
  138. package/dist/esm-es5/{getMissingRequiredShippingFields-u1nhQzJ1.js → getMissingRequiredShippingFields-B1IL1-gn.js} +3 -3
  139. package/dist/esm-es5/{hasInclusivePrice-CAVXi310.js → hasInclusivePrice-DKRplpLX.js} +1 -1
  140. package/dist/esm-es5/index.js +6 -8
  141. package/dist/esm-es5/{invoice-BNDWuVsD.js → invoice-D49igPQ9.js} +1 -1
  142. package/dist/esm-es5/{localization-AOqYXGdP.js → localization-BiL8bPsY.js} +74 -68
  143. package/dist/esm-es5/{paypal-CW1D2XqZ.js → paypal-D4vWRxHJ.js} +1 -1
  144. package/dist/esm-es5/{placeTestOrder-nhmsLLOA.js → placeTestOrder-BNmc5RCo.js} +1 -1
  145. package/dist/esm-es5/{renderCheckoutCurrency-BQANmZyM.js → renderCheckoutCurrency-BNbwijGo.js} +1 -1
  146. package/dist/esm-es5/{shouldShowLanguageSelect-BQFCXouB.js → shouldShowLanguageSelect-B82gTfHz.js} +1 -1
  147. package/dist/esm-es5/{submitGtag-CCGQS060.js → submitGtag-df9AQ2zL.js} +1 -1
  148. package/dist/esm-es5/{throttle-D5GyA3yr.js → throttle-Cvlvb-dm.js} +2 -2
  149. package/dist/esm-es5/{updateCheckoutSessionAttributes-eRSqdC74.js → updateCheckoutSessionAttributes-4Jq6V4pO.js} +1 -1
  150. package/dist/esm-es5/zonos-address-completion-dialog_7.entry.js +3 -3
  151. package/dist/esm-es5/zonos-address-display_2.entry.js +1 -1
  152. package/dist/esm-es5/zonos-address_4.entry.js +2 -2
  153. package/dist/esm-es5/zonos-airwallex-payment.entry.js +1 -1
  154. package/dist/esm-es5/zonos-badge.entry.js +1 -1
  155. package/dist/esm-es5/zonos-banner.entry.js +1 -1
  156. package/dist/esm-es5/zonos-button_3.entry.js +1 -1
  157. package/dist/esm-es5/zonos-card_5.entry.js +2 -2
  158. package/dist/esm-es5/zonos-cart-items_12.entry.js +2 -2
  159. package/dist/esm-es5/zonos-checkbox_2.entry.js +1 -1
  160. package/dist/esm-es5/zonos-checkout.entry.js +6 -6
  161. package/dist/esm-es5/zonos-collapse.entry.js +1 -1
  162. package/dist/esm-es5/zonos-collect-cart-items_3.entry.js +1 -1
  163. package/dist/esm-es5/zonos-collect-finish_6.entry.js +2 -2
  164. package/dist/esm-es5/zonos-collect.entry.js +1 -1
  165. package/dist/esm-es5/zonos-controller.entry.js +3 -3
  166. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  167. package/dist/esm-es5/zonos-country-select_4.entry.js +2 -2
  168. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  169. package/dist/esm-es5/zonos-hello.entry.js +21 -24
  170. package/dist/esm-es5/zonos-input.entry.js +1 -1
  171. package/dist/esm-es5/zonos-invoice-cart-items_2.entry.js +2 -2
  172. package/dist/esm-es5/zonos-invoice-finish_5.entry.js +2 -2
  173. package/dist/esm-es5/zonos-invoice.entry.js +3 -3
  174. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  175. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  176. package/dist/esm-es5/zonos-policy-consent_2.entry.js +1 -1
  177. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
  178. package/dist/esm-es5/zonos-stripe-input.entry.js +2 -2
  179. package/dist/esm-es5/zonos-text.entry.js +1 -1
  180. package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
  181. package/dist/esm-es5/{zonosStore-DrIOAz4M.js → zonosStore-msUlqmSD.js} +1 -1
  182. package/dist/scripts/index.d.ts +36 -6
  183. package/dist/scripts/index.js +1 -1
  184. package/dist/scripts/loadZonos.js +1 -1
  185. package/dist/scripts/zonos.js +1 -1
  186. package/dist/types/components/hello/zonos-hello/zonos-hello.d.ts +5 -3
  187. package/dist/types/components/store/hello/localization.d.ts +2 -1
  188. package/dist/types/components/utils/api/getLocalization.d.ts +3 -1
  189. package/dist/types/components/utils/getOverridenZCountry.d.ts +2 -3
  190. package/dist/types/components/utils/hello/countryOverrideStorage.d.ts +5 -0
  191. package/dist/types/components/utils/hello/isCountryCode.d.ts +2 -0
  192. package/dist/types/components/utils/hello/isCountryInShippingZone.d.ts +2 -0
  193. package/dist/types/components/utils/hello/reconcileRememberedCountryOverride.d.ts +18 -0
  194. package/dist/types/components/utils/hello/resolveHelloFloatPlacement.d.ts +39 -0
  195. package/dist/types/components/utils/hello/shouldShowHelloWidget.d.ts +8 -4
  196. package/dist/types/components.d.ts +4 -6
  197. package/dist/types/scripts/cart/_setupCartDataWithSettings.d.ts +10 -0
  198. package/dist/types/types/generated/graphql.frontend.types.d.ts +41 -52
  199. package/dist/types/types/generated/graphql.frontend.types.ts +226 -114
  200. package/dist/types/types/generated/graphql.internal.types.d.ts +465 -100
  201. package/dist/types/types/generated/graphql.internal.types.ts +1007 -253
  202. package/dist/types/types/hello/HelloConfig.d.ts +12 -0
  203. package/dist/types/utils/formattedCloudflareApiUrl.d.ts +1 -0
  204. package/dist/types/utils/generateCloudflareDeployUrl.d.ts +5 -2
  205. package/dist/zonos-elements/index.esm.js +1 -1
  206. package/dist/zonos-elements/{p-39c8a898.entry.js → p-028e0500.entry.js} +1 -1
  207. package/dist/zonos-elements/p-079af8c0.system.entry.js +118 -0
  208. package/dist/zonos-elements/{p-058f07aa.system.entry.js → p-0a4a7742.system.entry.js} +1 -1
  209. package/dist/zonos-elements/{p-04cc0dac.system.entry.js → p-0dca8a26.system.entry.js} +47 -47
  210. package/dist/zonos-elements/{p-d33dfc78.system.entry.js → p-0ee74bf3.system.entry.js} +30 -30
  211. package/dist/zonos-elements/{p-e284d329.entry.js → p-11bab88b.entry.js} +1 -1
  212. package/dist/zonos-elements/{p-7a5d2211.system.entry.js → p-13d3a372.system.entry.js} +18 -18
  213. package/dist/zonos-elements/{p-1568ab06.system.entry.js → p-1409de3b.system.entry.js} +1 -1
  214. package/dist/zonos-elements/{p-8328f44d.entry.js → p-193d9722.entry.js} +1 -1
  215. package/dist/zonos-elements/{p-dcdbc610.system.entry.js → p-195f6e38.system.entry.js} +2 -2
  216. package/dist/zonos-elements/{p-daf9fa07.system.entry.js → p-1b77464d.system.entry.js} +16 -16
  217. package/dist/zonos-elements/{p-cc5306fe.system.entry.js → p-1bac5ac1.system.entry.js} +1 -1
  218. package/dist/zonos-elements/{p-128485dc.entry.js → p-1c150f26.entry.js} +1 -1
  219. package/dist/zonos-elements/{p-cf5688f7.entry.js → p-234c202c.entry.js} +1 -1
  220. package/dist/zonos-elements/{p-5a631080.system.entry.js → p-23f6346b.system.entry.js} +1 -1
  221. package/dist/zonos-elements/{p-cc949df1.system.entry.js → p-244e0302.system.entry.js} +1 -1
  222. package/dist/zonos-elements/{p-7681798d.entry.js → p-24f3c547.entry.js} +1 -1
  223. package/dist/zonos-elements/{p-5c08d36b.entry.js → p-2603dce0.entry.js} +1 -1
  224. package/dist/zonos-elements/{p-6b0afaa7.entry.js → p-26295311.entry.js} +1 -1
  225. package/dist/zonos-elements/{p-d4c4a00e.entry.js → p-34c5e145.entry.js} +1 -1
  226. package/dist/zonos-elements/{p-f6e0aeba.system.entry.js → p-35509b10.system.entry.js} +185 -185
  227. package/dist/zonos-elements/{p-4a54f664.entry.js → p-35539d3d.entry.js} +1 -1
  228. package/dist/zonos-elements/{p-5024df2d.system.entry.js → p-3c800376.system.entry.js} +61 -61
  229. package/dist/zonos-elements/{p-f8fd756a.system.entry.js → p-474e8a92.system.entry.js} +1 -1
  230. package/dist/zonos-elements/{p-d55b9664.system.entry.js → p-481ecc23.system.entry.js} +20 -20
  231. package/dist/zonos-elements/{p-4973f8d8.system.entry.js → p-4fd78ecf.system.entry.js} +14 -14
  232. package/dist/zonos-elements/{p-8cd3f1e2.entry.js → p-52d9fd3a.entry.js} +1 -1
  233. package/dist/zonos-elements/{p-a6faab6a.entry.js → p-55916c90.entry.js} +1 -1
  234. package/dist/zonos-elements/p-5b06f069.entry.js +1 -0
  235. package/dist/zonos-elements/{p-5d3079e8.entry.js → p-5df25a1a.entry.js} +1 -1
  236. package/dist/zonos-elements/{p-450ed170.system.entry.js → p-5f347f91.system.entry.js} +3 -3
  237. package/dist/zonos-elements/{p-beeb9d36.system.entry.js → p-756d303f.system.entry.js} +1 -1
  238. package/dist/zonos-elements/{p-5836d426.system.entry.js → p-79ddb12a.system.entry.js} +1 -1
  239. package/dist/zonos-elements/{p-f27317d3.system.entry.js → p-7d284341.system.entry.js} +4 -4
  240. package/dist/zonos-elements/{p-f6ba59f6.system.entry.js → p-7e1050dd.system.entry.js} +10 -10
  241. package/dist/zonos-elements/{p-02ef0f99.system.entry.js → p-7ee2af6e.system.entry.js} +1 -1
  242. package/dist/zonos-elements/{p-34d1545a.entry.js → p-83aa1c8c.entry.js} +1 -1
  243. package/dist/zonos-elements/{p-9818f823.entry.js → p-84c9ce16.entry.js} +1 -1
  244. package/dist/zonos-elements/{p-CaUXHglQ.system.js → p-8PPEbm_0.system.js} +9 -9
  245. package/dist/zonos-elements/{p-b6deae2b.system.entry.js → p-92fe9a1f.system.entry.js} +2 -2
  246. package/dist/zonos-elements/{p-f57495dc.entry.js → p-990b49f2.entry.js} +1 -1
  247. package/dist/zonos-elements/{p-cadf6b63.system.entry.js → p-9ef0f69e.system.entry.js} +10 -10
  248. package/dist/zonos-elements/{p-CZl1nwqv.system.js → p-B4Ufchqh.system.js} +3 -3
  249. package/dist/zonos-elements/{p-BtMauqj_.system.js → p-B5NDhB1w.system.js} +6 -8
  250. package/dist/zonos-elements/{p-CJCoACvU.js → p-BDrM4x5N.js} +2 -2
  251. package/dist/zonos-elements/p-BGktDPwA.system.js +1 -0
  252. package/dist/zonos-elements/{p-C19J2XSh.js → p-BJzAgoqz.js} +1 -1
  253. package/dist/zonos-elements/p-BKoLoalh.js +1 -0
  254. package/dist/zonos-elements/{p-Dj-O6VfM.system.js → p-BT9_ehlh.system.js} +2 -2
  255. package/dist/zonos-elements/{p-B2EZRfoq.system.js → p-B_5RofQ9.system.js} +15 -15
  256. package/dist/zonos-elements/p-BaF00SfB.js +1 -0
  257. package/dist/zonos-elements/{p-D0erXw7p.js → p-BpDCLBwW.js} +1 -1
  258. package/dist/zonos-elements/{p-DkpYo2Fs.js → p-BtWDzGMx.js} +1 -1
  259. package/dist/zonos-elements/p-Bu9WCfUC.system.js +1 -1
  260. package/dist/zonos-elements/{p-CPnR_T0a.system.js → p-BuU_p5DP.system.js} +58 -58
  261. package/dist/zonos-elements/{p-D5AtAlJx.system.js → p-CASTsiDR.system.js} +3 -3
  262. package/dist/zonos-elements/{p-CaAod213.system.js → p-CBx5nYet.system.js} +1 -1
  263. package/dist/zonos-elements/{p-DIJaXkiE.system.js → p-CEmXVahp.system.js} +111 -105
  264. package/dist/zonos-elements/{p-nU86HJ5w.js → p-CUaf1cEg.js} +1 -1
  265. package/dist/zonos-elements/p-CX_vfdWt.js +1 -0
  266. package/dist/zonos-elements/p-C_z9WL8a.js +1 -0
  267. package/dist/zonos-elements/p-CcJF6xhQ.js +1 -0
  268. package/dist/zonos-elements/{p-DjuFsKLG.js → p-CewmhMGk.js} +1 -1
  269. package/dist/zonos-elements/{p-CYdt69j5.system.js → p-Cpe_ISNt.system.js} +18 -18
  270. package/dist/zonos-elements/{p-DTgv0QpG.js → p-Cuk0LLGQ.js} +1 -1
  271. package/dist/zonos-elements/p-Cxuiqv1I.js +1 -0
  272. package/dist/zonos-elements/p-DQZncB2d.system.js +9 -0
  273. package/dist/zonos-elements/{p-D-DawUYF.system.js → p-DVITR-Eu.system.js} +1 -1
  274. package/dist/zonos-elements/{p-DGsEWFDU.system.js → p-DYIisqF7.system.js} +1 -1
  275. package/dist/zonos-elements/{p-uV7m6KrY.system.js → p-DoEHepOc.system.js} +1 -1
  276. package/dist/zonos-elements/{p-DHwpNxG9.js → p-DwkyNtpD.js} +1 -1
  277. package/dist/zonos-elements/{p-CKTIJ2Gr.js → p-NJVOYjda.js} +1 -1
  278. package/dist/zonos-elements/{p-CtEsvWI6.js → p-W82paT5F.js} +1 -1
  279. package/dist/zonos-elements/{p-04bfcd72.system.entry.js → p-a571beaa.system.entry.js} +13 -13
  280. package/dist/zonos-elements/{p-5562a955.system.entry.js → p-a5c25829.system.entry.js} +3 -3
  281. package/dist/zonos-elements/{p-b68ca96f.entry.js → p-a938c174.entry.js} +1 -1
  282. package/dist/zonos-elements/{p-844a743a.entry.js → p-ab54d0a1.entry.js} +1 -1
  283. package/dist/zonos-elements/{p-9ebe9a36.entry.js → p-acd50b0b.entry.js} +1 -1
  284. package/dist/zonos-elements/{p-0f603278.system.entry.js → p-b5882fbb.system.entry.js} +2 -2
  285. package/dist/zonos-elements/{p-891b47d7.entry.js → p-ba510730.entry.js} +1 -1
  286. package/dist/zonos-elements/{p-e9320825.entry.js → p-c3b02dbf.entry.js} +1 -1
  287. package/dist/zonos-elements/{p-be64d823.system.entry.js → p-c403f004.system.entry.js} +1 -1
  288. package/dist/zonos-elements/{p-64e7bc5b.entry.js → p-c4ad6d4b.entry.js} +1 -1
  289. package/dist/zonos-elements/p-ca3175d9.entry.js +1 -0
  290. package/dist/zonos-elements/{p-a38e62cc.entry.js → p-d3d0656a.entry.js} +1 -1
  291. package/dist/zonos-elements/{p-9b6482ef.entry.js → p-d4d2b39e.entry.js} +1 -1
  292. package/dist/zonos-elements/{p-ea8790aa.entry.js → p-d6b72f6d.entry.js} +1 -1
  293. package/dist/zonos-elements/p-d74bc3e8.entry.js +1 -0
  294. package/dist/zonos-elements/p-db75322d.entry.js +1 -0
  295. package/dist/zonos-elements/p-dd8ca91e.entry.js +1 -0
  296. package/dist/zonos-elements/{p-7ae48e31.entry.js → p-ddca5ee1.entry.js} +1 -1
  297. package/dist/zonos-elements/{p-bdba7d9e.system.entry.js → p-dfc87b10.system.entry.js} +1 -1
  298. package/dist/zonos-elements/{p-e101d722.system.entry.js → p-f37b8aaf.system.entry.js} +2 -2
  299. package/dist/zonos-elements/{p-b14819ab.system.entry.js → p-fb869759.system.entry.js} +1 -1
  300. package/dist/zonos-elements/{p-i1iCWKdv.js → p-sz4L-ZnB.js} +1 -1
  301. package/dist/zonos-elements/{p-D31lQiWo.system.js → p-tGJYTlGL.system.js} +4 -4
  302. package/dist/zonos-elements/p-tkSf-lrO.system.js +13 -0
  303. package/dist/zonos-elements/{p-DPW1yXt9.system.js → p-uuZUZPIm.system.js} +61 -61
  304. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  305. package/package.json +12 -11
  306. package/dist/esm-es5/debounce-DWPsxJsW.js +0 -1
  307. package/dist/zonos-elements/p-0466650f.entry.js +0 -1
  308. package/dist/zonos-elements/p-2ba738ec.entry.js +0 -1
  309. package/dist/zonos-elements/p-3ERbuo5a.js +0 -1
  310. package/dist/zonos-elements/p-6f742021.entry.js +0 -1
  311. package/dist/zonos-elements/p-89ddab88.entry.js +0 -1
  312. package/dist/zonos-elements/p-BANhKkF2.system.js +0 -1
  313. package/dist/zonos-elements/p-BJufDgh3.js +0 -1
  314. package/dist/zonos-elements/p-BSgVcCxT.system.js +0 -9
  315. package/dist/zonos-elements/p-CQqNJo0D.system.js +0 -13
  316. package/dist/zonos-elements/p-LypTHRUC.js +0 -1
  317. package/dist/zonos-elements/p-adfee3a3.entry.js +0 -1
  318. package/dist/zonos-elements/p-f2cedbcd.system.entry.js +0 -121
  319. package/dist/zonos-elements/p-lGLcGvEA.js +0 -1
  320. package/dist/zonos-elements/p-pfIceXbY.js +0 -1
  321. package/dist/zonos-elements/p-t_ClFAJR.js +0 -1
@@ -1,14 +1,14 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-DAAr465v.js');
4
- var debounce = require('./debounce-5sZmmlCI.js');
5
- var localization = require('./localization-CxXsmxs5.js');
6
- var zonosStore = require('./zonosStore-BCNYr6Tk.js');
4
+ var debounce = require('./debounce-Cd2emZPn.js');
5
+ var localization = require('./localization-BJqYz_PB.js');
6
+ var zonosStore = require('./zonosStore-Bx9jK82G.js');
7
7
  var classes = require('./classes-D_DL168u.js');
8
8
  var handleFetch = require('./handleFetch-DQLhurnE.js');
9
9
  var getHasMoreSpaceOnRight = require('./getHasMoreSpaceOnRight-Cl50u1mb.js');
10
10
  var VarianceTest = require('./VarianceTest-C98whVgO.js');
11
- require('./debounce-Nu2lJW4A.js');
11
+ require('./debounce-vY0QYT6o.js');
12
12
 
13
13
  const checkItemRestrictions = async ({ items, shipFrom, shipTo, }) => {
14
14
  var _a;
@@ -142,7 +142,106 @@ const getProductsOnPage = () => {
142
142
  return mergedElements;
143
143
  };
144
144
 
145
- const zonosHelloCss = () => `: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:inline-block;--zonos-elements-hello-widget-size:18px;--zonos-elements-hello-bubble-padding:max( 6px, calc(var(--zonos-elements-hello-widget-size) * 0.22) );--zonos-elements-hello-bubble-size:calc( var(--zonos-elements-hello-widget-size) + var(--zonos-elements-hello-bubble-padding) * 2 + 2px )}:host .zonos--hello-wrapper{position:relative}:host .zonos--hello-wrapper .zonos--hello-dialog-wrapper-mobile-override{position:fixed;bottom:0;left:0;width:100vw;z-index:1001;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}@media (max-width: 768px){:host .zonos--hello-wrapper .zonos--hello-dialog-wrapper{position:fixed;bottom:0;left:0;width:100vw;z-index:1001;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}}@media screen and (min-width: 769px){:host .zonos--hello-wrapper .zonos--hello-dialog-wrapper.zonos--hello-widget-float{position:fixed;bottom:72px;right:32px;width:auto;height:auto;z-index:1001}:host .zonos--hello-wrapper .zonos--hello-dialog-wrapper.zonos--hello-widget-float.zonos--hello-widget-left{left:32px;right:auto}:host .zonos--hello-wrapper .zonos--hello-dialog-wrapper.zonos--hello-widget-float.zonos--hello-widget-top{bottom:auto;top:32px}}:host .zonos--hello-widget{-webkit-transition:all 0.7s cubic-bezier(0.31, -0.02, 0.06, 1.53);transition:all 0.7s cubic-bezier(0.31, -0.02, 0.06, 1.53);padding:var(--zonos-elements-hello-bubble-padding);border-radius:9999px;background:var(--zonos-elements-page-background);font-size:var(--zonos-elements-font-size-s);border:var(--zonos-elements-border);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;cursor:pointer;-webkit-box-sizing:border-box;box-sizing:border-box;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;position:relative;z-index:1000}:host .zonos--hello-widget>.zonos--hello-message{-ms-flex-order:0;order:0;max-width:0;height:100%;white-space:nowrap;-webkit-transition:border 0.3s ease-in, all 0.7s cubic-bezier(0.31, -0.02, 0.06, 1.53);transition:border 0.3s ease-in, all 0.7s cubic-bezier(0.31, -0.02, 0.06, 1.53);overflow:hidden;color:var(--zonos-elements-text-color);position:absolute;background:var(--zonos-elements-page-background);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;border-top-left-radius:calc(var(--zonos-elements-hello-bubble-size) / 2);border-bottom-left-radius:calc(var(--zonos-elements-hello-bubble-size) / 2);left:0;-webkit-transform:translateX(calc(-100% + var(--zonos-elements-hello-bubble-size) / 2));transform:translateX(calc(-100% + var(--zonos-elements-hello-bubble-size) / 2));width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;border-top:var(--zonos-elements-border);border-bottom:var(--zonos-elements-border)}:host .zonos--hello-widget.zonos--hello-has-restrictions{background:var(--zonos-elements-red-100);border:1px solid var(--zonos-elements-red-200)}:host .zonos--hello-widget.zonos--hello-has-restrictions>.zonos--hello-message{background:var(--zonos-elements-red-100);color:var(--zonos-elements-red-800);font-weight:500}:host .zonos--hello-widget.zonos--hello-has-restrictions.zonos--hello-show-peek-message>.zonos--hello-message{border:1px solid var(--zonos-elements-red-200)}:host .zonos--hello-widget.zonos--hello-show-peek-message{max-width:100vw;width:100%}:host .zonos--hello-widget.zonos--hello-show-peek-message>.zonos--hello-message{max-width:100vw;padding:0 calc(var(--zonos-elements-hello-bubble-size) / 2);border:var(--zonos-elements-border)}:host .zonos--hello-widget.zonos--hello-show-peek-message:not(.zonos--hello-widget-animate-from-left)>.zonos--hello-message{border-right:none}:host .zonos--hello-widget.zonos--hello-show-peek-message.zonos--hello-widget-animate-from-left>.zonos--hello-message{padding-left:calc(var(--zonos-elements-hello-bubble-size) / 2);border-left:none}:host .zonos--hello-widget.zonos--hello-widget-animate-from-left>.zonos--hello-message{-ms-flex-order:1;order:1;-webkit-transform:translateX(calc(100% - var(--zonos-elements-hello-bubble-size) / 2));transform:translateX(calc(100% - var(--zonos-elements-hello-bubble-size) / 2));right:0;left:auto;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:calc(var(--zonos-elements-hello-bubble-size) / 2);border-bottom-right-radius:calc(var(--zonos-elements-hello-bubble-size) / 2)}:host .zonos--hello-widget .zonos--hello-country-flag-wrapper{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}:host .zonos--hello-widget .zonos--hello-country-flag-wrapper .zonos--hello-country-flag{height:18px;width:18px;position:relative;overflow:hidden;border-radius:30px;-webkit-box-shadow:var(--zonos-elements-v3-shadow-medium);box-shadow:var(--zonos-elements-v3-shadow-medium);z-index:10;justify-self:center;height:var(--zonos-elements-hello-widget-size);width:var(--zonos-elements-hello-widget-size)}:host .zonos--hello-widget.zonos--hello-widget-float{position:fixed;bottom:72px;right:32px}:host .zonos--hello-widget.zonos--hello-widget-float.zonos--hello-widget-left{left:32px;right:auto}:host .zonos--hello-widget.zonos--hello-widget-float.zonos--hello-widget-top{bottom:auto;top:32px}:host .zonos--hello-widget.zonos--hello-widget-float.zonos--hello-has-restrictions.zonos--hello-show-peek-message>.zonos--hello-message{border:none}:host .zonos--hello-widget.zonos--hello-widget-float>.zonos--hello-message{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;border-radius:30px;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;top:0;bottom:0;left:0;-webkit-transform:translateX(0);transform:translateX(0);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;border:none}:host .zonos--hello-widget.zonos--hello-widget-float.zonos--hello-widget-animate-from-left>.zonos--hello-message{-webkit-transform:translateX(0);transform:translateX(0)}:host .zonos--hello-widget.zonos--hello-widget-float.zonos--hello-show-peek-message{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}:host .zonos--hello-widget.zonos--hello-widget-float.zonos--hello-show-peek-message.zonos--hello-widget-animate-from-left>.zonos--hello-message{padding-left:8px;padding-right:4px}:host .zonos--hello-widget.zonos--hello-widget-float.zonos--hello-show-peek-message>.zonos--hello-message{padding:0 var(--zonos-elements-radius-4);padding-right:6px;border:none}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-float{position:fixed;bottom:72px;right:32px}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-float.zonos--hello-widget-left{left:32px;right:auto}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-float.zonos--hello-widget-top{bottom:auto;top:32px}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-float.zonos--hello-has-restrictions.zonos--hello-show-peek-message>.zonos--hello-message{border:none}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-float>.zonos--hello-message{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;border-radius:30px;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;top:0;bottom:0;left:0;-webkit-transform:translateX(0);transform:translateX(0);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;border:none}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-float.zonos--hello-widget-animate-from-left>.zonos--hello-message{-webkit-transform:translateX(0);transform:translateX(0)}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-float.zonos--hello-show-peek-message{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-float.zonos--hello-show-peek-message.zonos--hello-widget-animate-from-left>.zonos--hello-message{padding-left:8px;padding-right:4px}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-float.zonos--hello-show-peek-message>.zonos--hello-message{padding:0 var(--zonos-elements-radius-4);padding-right:6px;border:none}`;
145
+ const isValidHelloPlacement = (value) => {
146
+ if (value == null || typeof value !== 'object') {
147
+ return false;
148
+ }
149
+ const { anchor, horizontalOffset, verticalOffset } = value;
150
+ return (typeof anchor === 'string' &&
151
+ anchor.length > 0 &&
152
+ typeof horizontalOffset === 'number' &&
153
+ Number.isFinite(horizontalOffset) &&
154
+ typeof verticalOffset === 'number' &&
155
+ Number.isFinite(verticalOffset));
156
+ };
157
+ const includesLeft = (location) => Boolean(location === null || location === void 0 ? void 0 : location.includes('LEFT'));
158
+ const includesTop = (location) => Boolean(location === null || location === void 0 ? void 0 : location.includes('TOP'));
159
+ const buildResolved = ({ anchor, animateFromLeftOverride, horizontalOffset, isMobileWindow, isOnLeft, shouldFloat, verticalOffset, }) => ({
160
+ anchor,
161
+ horizontalOffset,
162
+ isMobileWindow,
163
+ isOnLeft: isOnLeft !== null && isOnLeft !== void 0 ? isOnLeft : (Boolean(animateFromLeftOverride) || includesLeft(anchor)),
164
+ isOnTop: includesTop(anchor),
165
+ shouldFloat,
166
+ verticalOffset,
167
+ });
168
+ /**
169
+ * Resolve active Hello float placement per viewport.
170
+ * Precedence: component enum prop → settings HelloPlacement → settings location enum.
171
+ *
172
+ * When the winning source is a component enum prop or settings `HelloPlacement`,
173
+ * `shouldFloat` is always true — including when `anchorElementSelector` is set.
174
+ * That matches existing prop-forced float behavior and FR-006 / data-model rules
175
+ * (placement implies floating; enum fallback still respects the anchor selector).
176
+ */
177
+ const resolveHelloFloatPlacement = (params) => {
178
+ const { anchorElementSelector, animateFromLeftOverride, componentDesktopLocation, componentMobileLocation, desktopLocation, isMobileWindow, mobileLocation, settingsDesktopPlacement, settingsMobilePlacement, shouldAnimateLeftDesktop, } = params;
179
+ if (isMobileWindow) {
180
+ if (componentMobileLocation) {
181
+ return buildResolved({
182
+ anchor: componentMobileLocation,
183
+ animateFromLeftOverride,
184
+ horizontalOffset: null,
185
+ isMobileWindow: true,
186
+ shouldFloat: true,
187
+ verticalOffset: null,
188
+ });
189
+ }
190
+ if (isValidHelloPlacement(settingsMobilePlacement)) {
191
+ return buildResolved({
192
+ anchor: settingsMobilePlacement.anchor,
193
+ animateFromLeftOverride,
194
+ horizontalOffset: settingsMobilePlacement.horizontalOffset,
195
+ isMobileWindow: true,
196
+ shouldFloat: true,
197
+ verticalOffset: settingsMobilePlacement.verticalOffset,
198
+ });
199
+ }
200
+ return buildResolved({
201
+ anchor: mobileLocation,
202
+ animateFromLeftOverride,
203
+ horizontalOffset: null,
204
+ isMobileWindow: true,
205
+ shouldFloat: Boolean(mobileLocation),
206
+ verticalOffset: null,
207
+ });
208
+ }
209
+ if (componentDesktopLocation) {
210
+ return buildResolved({
211
+ anchor: componentDesktopLocation,
212
+ animateFromLeftOverride,
213
+ horizontalOffset: null,
214
+ isMobileWindow: false,
215
+ shouldFloat: true,
216
+ verticalOffset: null,
217
+ });
218
+ }
219
+ if (isValidHelloPlacement(settingsDesktopPlacement)) {
220
+ return buildResolved({
221
+ anchor: settingsDesktopPlacement.anchor,
222
+ animateFromLeftOverride,
223
+ horizontalOffset: settingsDesktopPlacement.horizontalOffset,
224
+ isMobileWindow: false,
225
+ shouldFloat: true,
226
+ verticalOffset: settingsDesktopPlacement.verticalOffset,
227
+ });
228
+ }
229
+ const shouldFloat = !anchorElementSelector && Boolean(desktopLocation);
230
+ const isOnLeft = Boolean(animateFromLeftOverride) ||
231
+ (shouldFloat && desktopLocation
232
+ ? includesLeft(desktopLocation)
233
+ : Boolean(shouldAnimateLeftDesktop === null || shouldAnimateLeftDesktop === void 0 ? void 0 : shouldAnimateLeftDesktop()));
234
+ return buildResolved({
235
+ anchor: desktopLocation,
236
+ horizontalOffset: null,
237
+ isMobileWindow: false,
238
+ isOnLeft,
239
+ shouldFloat,
240
+ verticalOffset: null,
241
+ });
242
+ };
243
+
244
+ const zonosHelloCss = () => `: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:inline-block;--zonos-elements-hello-widget-size:18px;--zonos-elements-hello-bubble-padding:max( 6px, calc(var(--zonos-elements-hello-widget-size) * 0.22) );--zonos-elements-hello-bubble-size:calc( var(--zonos-elements-hello-widget-size) + var(--zonos-elements-hello-bubble-padding) * 2 + 2px )}:host .zonos--hello-wrapper{position:relative}:host .zonos--hello-wrapper .zonos--hello-dialog-wrapper-mobile-override{position:fixed;bottom:0;left:0;width:100vw;z-index:1001;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}@media (max-width: 768px){:host .zonos--hello-wrapper .zonos--hello-dialog-wrapper{position:fixed;bottom:0;left:0;width:100vw;z-index:1001;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}}@media screen and (min-width: 769px){:host .zonos--hello-wrapper .zonos--hello-dialog-wrapper.zonos--hello-widget-float{position:fixed;bottom:var(--zonos-elements-hello-float-inset-y, 72px);right:var(--zonos-elements-hello-float-inset-x, 32px)}:host .zonos--hello-wrapper .zonos--hello-dialog-wrapper.zonos--hello-widget-float.zonos--hello-widget-left{left:var(--zonos-elements-hello-float-inset-x, 32px);right:auto}:host .zonos--hello-wrapper .zonos--hello-dialog-wrapper.zonos--hello-widget-float.zonos--hello-widget-top{bottom:auto;top:var(--zonos-elements-hello-float-inset-y, 32px)}:host .zonos--hello-wrapper .zonos--hello-dialog-wrapper.zonos--hello-widget-float{width:auto;height:auto;z-index:1001}}:host .zonos--hello-widget{-webkit-transition:all 0.7s cubic-bezier(0.31, -0.02, 0.06, 1.53);transition:all 0.7s cubic-bezier(0.31, -0.02, 0.06, 1.53);padding:var(--zonos-elements-hello-bubble-padding);border-radius:9999px;background:var(--zonos-elements-page-background);font-size:var(--zonos-elements-font-size-s);border:var(--zonos-elements-border);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;cursor:pointer;-webkit-box-sizing:border-box;box-sizing:border-box;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;position:relative;z-index:1000}:host .zonos--hello-widget>.zonos--hello-message{-ms-flex-order:0;order:0;max-width:0;height:100%;white-space:nowrap;-webkit-transition:border 0.3s ease-in, all 0.7s cubic-bezier(0.31, -0.02, 0.06, 1.53);transition:border 0.3s ease-in, all 0.7s cubic-bezier(0.31, -0.02, 0.06, 1.53);overflow:hidden;color:var(--zonos-elements-text-color);position:absolute;background:var(--zonos-elements-page-background);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;border-top-left-radius:calc(var(--zonos-elements-hello-bubble-size) / 2);border-bottom-left-radius:calc(var(--zonos-elements-hello-bubble-size) / 2);left:0;-webkit-transform:translateX(calc(-100% + var(--zonos-elements-hello-bubble-size) / 2));transform:translateX(calc(-100% + var(--zonos-elements-hello-bubble-size) / 2));width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;border-top:var(--zonos-elements-border);border-bottom:var(--zonos-elements-border)}:host .zonos--hello-widget.zonos--hello-has-restrictions{background:var(--zonos-elements-red-100);border:1px solid var(--zonos-elements-red-200)}:host .zonos--hello-widget.zonos--hello-has-restrictions>.zonos--hello-message{background:var(--zonos-elements-red-100);color:var(--zonos-elements-red-800);font-weight:500}:host .zonos--hello-widget.zonos--hello-has-restrictions.zonos--hello-show-peek-message>.zonos--hello-message{border:1px solid var(--zonos-elements-red-200)}:host .zonos--hello-widget.zonos--hello-show-peek-message{max-width:100vw;width:100%}:host .zonos--hello-widget.zonos--hello-show-peek-message>.zonos--hello-message{max-width:100vw;padding:0 calc(var(--zonos-elements-hello-bubble-size) / 2);border:var(--zonos-elements-border)}:host .zonos--hello-widget.zonos--hello-show-peek-message:not(.zonos--hello-widget-animate-from-left)>.zonos--hello-message{border-right:none}:host .zonos--hello-widget.zonos--hello-show-peek-message.zonos--hello-widget-animate-from-left>.zonos--hello-message{padding-left:calc(var(--zonos-elements-hello-bubble-size) / 2);border-left:none}:host .zonos--hello-widget.zonos--hello-widget-animate-from-left>.zonos--hello-message{-ms-flex-order:1;order:1;-webkit-transform:translateX(calc(100% - var(--zonos-elements-hello-bubble-size) / 2));transform:translateX(calc(100% - var(--zonos-elements-hello-bubble-size) / 2));right:0;left:auto;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:calc(var(--zonos-elements-hello-bubble-size) / 2);border-bottom-right-radius:calc(var(--zonos-elements-hello-bubble-size) / 2)}:host .zonos--hello-widget .zonos--hello-country-flag-wrapper{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}:host .zonos--hello-widget .zonos--hello-country-flag-wrapper .zonos--hello-country-flag{height:18px;width:18px;position:relative;overflow:hidden;border-radius:30px;-webkit-box-shadow:var(--zonos-elements-v3-shadow-medium);box-shadow:var(--zonos-elements-v3-shadow-medium);z-index:10;justify-self:center;height:var(--zonos-elements-hello-widget-size);width:var(--zonos-elements-hello-widget-size)}:host .zonos--hello-widget.zonos--hello-widget-float{position:fixed;bottom:var(--zonos-elements-hello-float-inset-y, 72px);right:var(--zonos-elements-hello-float-inset-x, 32px)}:host .zonos--hello-widget.zonos--hello-widget-float.zonos--hello-widget-left{left:var(--zonos-elements-hello-float-inset-x, 32px);right:auto}:host .zonos--hello-widget.zonos--hello-widget-float.zonos--hello-widget-top{bottom:auto;top:var(--zonos-elements-hello-float-inset-y, 32px)}:host .zonos--hello-widget.zonos--hello-widget-float.zonos--hello-has-restrictions.zonos--hello-show-peek-message>.zonos--hello-message{border:none}:host .zonos--hello-widget.zonos--hello-widget-float>.zonos--hello-message{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;border-radius:30px;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;top:0;bottom:0;left:0;-webkit-transform:translateX(0);transform:translateX(0);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;border:none}:host .zonos--hello-widget.zonos--hello-widget-float.zonos--hello-widget-animate-from-left>.zonos--hello-message{-webkit-transform:translateX(0);transform:translateX(0)}:host .zonos--hello-widget.zonos--hello-widget-float.zonos--hello-show-peek-message{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}:host .zonos--hello-widget.zonos--hello-widget-float.zonos--hello-show-peek-message.zonos--hello-widget-animate-from-left>.zonos--hello-message{padding-left:8px;padding-right:4px}:host .zonos--hello-widget.zonos--hello-widget-float.zonos--hello-show-peek-message>.zonos--hello-message{padding:0 var(--zonos-elements-radius-4);padding-right:6px;border:none}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-float{position:fixed;bottom:var(--zonos-elements-hello-float-inset-y, 72px);right:var(--zonos-elements-hello-float-inset-x, 32px)}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-float.zonos--hello-widget-left{left:var(--zonos-elements-hello-float-inset-x, 32px);right:auto}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-float.zonos--hello-widget-top{bottom:auto;top:var(--zonos-elements-hello-float-inset-y, 32px)}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-float.zonos--hello-has-restrictions.zonos--hello-show-peek-message>.zonos--hello-message{border:none}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-float>.zonos--hello-message{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;border-radius:30px;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;top:0;bottom:0;left:0;-webkit-transform:translateX(0);transform:translateX(0);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;border:none}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-float.zonos--hello-widget-animate-from-left>.zonos--hello-message{-webkit-transform:translateX(0);transform:translateX(0)}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-float.zonos--hello-show-peek-message{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-float.zonos--hello-show-peek-message.zonos--hello-widget-animate-from-left>.zonos--hello-message{padding-left:8px;padding-right:4px}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-float.zonos--hello-show-peek-message>.zonos--hello-message{padding:0 var(--zonos-elements-radius-4);padding-right:6px;border:none}`;
146
245
 
147
246
  const PEEK_MESSAGE_CLOSE_DELAY_MS = 3000;
148
247
  const ZonosHello = class {
@@ -351,6 +450,8 @@ const ZonosHello = class {
351
450
  return localization.localizationStore.helloCountryList;
352
451
  }
353
452
  componentWillLoad() {
453
+ // Set before first paint so mobile uses mobile placement, not desktop.
454
+ this.isMobile = window.innerWidth <= 768;
354
455
  const initInterval = setInterval(async () => {
355
456
  if (!this.helloRef) {
356
457
  return;
@@ -436,50 +537,19 @@ const ZonosHello = class {
436
537
  }
437
538
  }
438
539
  getHelloLocation() {
439
- const mobileLocation = this.mobileLocationOverride || zonosStore.zonosStore.helloSettings.mobileLocation;
440
- const desktopLocation = this.desktopLocationOverride || zonosStore.zonosStore.helloSettings.desktopLocation;
441
- const isMobileWindow = this.isMobile;
442
- switch (true) {
443
- // Mobile
444
- case isMobileWindow: {
445
- const isOnLeft = this.animateFromLeftOverride || (mobileLocation === null || mobileLocation === void 0 ? void 0 : mobileLocation.includes('LEFT'));
446
- const isOnTop = mobileLocation === null || mobileLocation === void 0 ? void 0 : mobileLocation.includes('TOP');
447
- return {
448
- isMobileWindow,
449
- isOnLeft,
450
- isOnTop,
451
- shouldFloat: !!mobileLocation,
452
- };
453
- }
454
- // Desktop
455
- default:
456
- case !isMobileWindow: {
457
- /**
458
- * Float on desktop when `desktopLocationOverride` is set (explicit
459
- * consumer request) OR when no anchor is specified and a
460
- * `desktopLocation` is configured in the store. With an anchor and no
461
- * override, the widget renders inline at the anchor.
462
- */
463
- const shouldFloat = !!this.desktopLocationOverride ||
464
- (!zonosStore.zonosStore.helloSettings.anchorElementSelector &&
465
- !!desktopLocation);
466
- // When a desktopLocation is set, derive the side deterministically
467
- // from it so RIGHT positions resolve to `false` (not `undefined`).
468
- // Spatial detection only runs as a fallback when no location is set
469
- // (e.g. inline / anchored placement).
470
- const isOnLeft = this.animateFromLeftOverride ||
471
- (shouldFloat && desktopLocation
472
- ? desktopLocation.includes('LEFT')
473
- : this.shouldAnimateLeftDesktop());
474
- const isOnTop = desktopLocation === null || desktopLocation === void 0 ? void 0 : desktopLocation.includes('TOP');
475
- return {
476
- isMobileWindow,
477
- isOnLeft,
478
- isOnTop,
479
- shouldFloat,
480
- };
481
- }
482
- }
540
+ // Enum @Prop `*LocationOverride` → component*; settings HelloPlacement object → settings*.
541
+ return resolveHelloFloatPlacement({
542
+ anchorElementSelector: zonosStore.zonosStore.helloSettings.anchorElementSelector,
543
+ animateFromLeftOverride: this.animateFromLeftOverride,
544
+ componentDesktopLocation: this.desktopLocationOverride,
545
+ componentMobileLocation: this.mobileLocationOverride,
546
+ desktopLocation: zonosStore.zonosStore.helloSettings.desktopLocation,
547
+ isMobileWindow: this.isMobile,
548
+ mobileLocation: zonosStore.zonosStore.helloSettings.mobileLocation,
549
+ settingsDesktopPlacement: zonosStore.zonosStore.helloSettings.desktopLocationOverride,
550
+ settingsMobilePlacement: zonosStore.zonosStore.helloSettings.mobileLocationOverride,
551
+ shouldAnimateLeftDesktop: () => Boolean(this.shouldAnimateLeftDesktop()),
552
+ });
483
553
  }
484
554
  handleAppearanceSettingsOverrideChange() {
485
555
  var _a;
@@ -499,7 +569,7 @@ const ZonosHello = class {
499
569
  return null;
500
570
  }
501
571
  const { selectedCountryCode, targetCurrency } = localization.localizationStore;
502
- const { isOnLeft, isOnTop, shouldFloat } = this.getHelloLocation();
572
+ const { horizontalOffset, isOnLeft, isOnTop, shouldFloat, verticalOffset } = this.getHelloLocation();
503
573
  const appearanceSettings = zonosStore.mergeConfig(zonosStore.zonosStore.appearance, this.appearanceSettingsOverride || null);
504
574
  const { theme } = appearanceSettings;
505
575
  const restrictedItemsOnPage = (_b = this.allRestrictedItems) === null || _b === void 0 ? void 0 : _b.filter(product => this.productsOnPage.some(restriction => restriction.description === product.itemDescription));
@@ -515,7 +585,15 @@ const ZonosHello = class {
515
585
  });
516
586
  }
517
587
  const widgetSize = getHelloWidgetSize(zonosStore.zonosStore.helloSettings.widgetSize);
518
- return (index.h(index.Host, { class: "zonos--hello zonos--elements", "data-theme": theme, style: { '--zonos-elements-hello-widget-size': `${widgetSize}px` } }, showHello && (index.h("div", { class: classes.classes([
588
+ const hostStyle = {
589
+ '--zonos-elements-hello-widget-size': `${widgetSize}px`,
590
+ };
591
+ if (horizontalOffset != null && verticalOffset != null) {
592
+ hostStyle['--zonos-elements-hello-float-inset-x'] =
593
+ `${horizontalOffset}px`;
594
+ hostStyle['--zonos-elements-hello-float-inset-y'] = `${verticalOffset}px`;
595
+ }
596
+ return (index.h(index.Host, { class: "zonos--hello zonos--elements", "data-theme": theme, style: hostStyle }, showHello && (index.h("div", { class: classes.classes([
519
597
  'zonos--hello-wrapper',
520
598
  shouldFloat && 'zonos--hello-widget-float',
521
599
  ]) }, index.h("button", { class: classes.classes([
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-DAAr465v.js');
4
- var zonosStore = require('./zonosStore-BCNYr6Tk.js');
4
+ var zonosStore = require('./zonosStore-Bx9jK82G.js');
5
5
  var classes = require('./classes-D_DL168u.js');
6
- var getBorderRadius = require('./getBorderRadius-DGZiQu09.js');
6
+ var getBorderRadius = require('./getBorderRadius-CyYZw4qq.js');
7
7
  require('./VarianceTest-C98whVgO.js');
8
8
 
9
9
  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}`;
@@ -1,17 +1,17 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-DAAr465v.js');
4
- var cart = require('./cart-CV4buPlT.js');
5
- var localization = require('./localization-CxXsmxs5.js');
6
- var renderCheckoutCurrency = require('./renderCheckoutCurrency-CC4CAy-a.js');
4
+ var cart = require('./cart-7DceSLKl.js');
5
+ var localization = require('./localization-BJqYz_PB.js');
6
+ var renderCheckoutCurrency = require('./renderCheckoutCurrency-Ca2HH1Gc.js');
7
7
  var classes = require('./classes-D_DL168u.js');
8
- var invoice = require('./invoice-CHw-mJdS.js');
8
+ var invoice = require('./invoice-DSuHUQpi.js');
9
9
  var renderFallback = require('./renderFallback-Bme86uk8.js');
10
- require('./zonosStore-BCNYr6Tk.js');
10
+ require('./zonosStore-Bx9jK82G.js');
11
11
  require('./VarianceTest-C98whVgO.js');
12
12
  require('./handleFetch-DQLhurnE.js');
13
13
  require('./isDarkColor-f-fD9c2l.js');
14
- require('./getBorderRadius-DGZiQu09.js');
14
+ require('./getBorderRadius-CyYZw4qq.js');
15
15
  require('./TaxId-Q6aDqqWv.js');
16
16
 
17
17
  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}`;
@@ -1,25 +1,25 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-DAAr465v.js');
4
- var cart = require('./cart-CV4buPlT.js');
5
- var paypal = require('./paypal-BLuHeOJH.js');
6
- var localization = require('./localization-CxXsmxs5.js');
7
- var zonosStore = require('./zonosStore-BCNYr6Tk.js');
4
+ var cart = require('./cart-7DceSLKl.js');
5
+ var paypal = require('./paypal-CZoctP9S.js');
6
+ var localization = require('./localization-BJqYz_PB.js');
7
+ var zonosStore = require('./zonosStore-Bx9jK82G.js');
8
8
  var handleFetch = require('./handleFetch-DQLhurnE.js');
9
9
  var createCustomEvent = require('./createCustomEvent-Cs5zGImL.js');
10
- var getBorderRadius = require('./getBorderRadius-DGZiQu09.js');
10
+ var getBorderRadius = require('./getBorderRadius-CyYZw4qq.js');
11
11
  var VarianceTest = require('./VarianceTest-C98whVgO.js');
12
12
  var isInvoiceMobileTablet = require('./isInvoiceMobileTablet-CCqFYV6m.js');
13
13
  var classes = require('./classes-D_DL168u.js');
14
- var shouldShowLanguageSelect = require('./shouldShowLanguageSelect-Bj_jKWPK.js');
15
- var invoice = require('./invoice-CHw-mJdS.js');
16
- var renderCheckoutCurrency = require('./renderCheckoutCurrency-CC4CAy-a.js');
17
- var placeTestOrder = require('./placeTestOrder-VK_CMeq0.js');
14
+ var shouldShowLanguageSelect = require('./shouldShowLanguageSelect-FyTdz7U_.js');
15
+ var invoice = require('./invoice-DSuHUQpi.js');
16
+ var renderCheckoutCurrency = require('./renderCheckoutCurrency-Ca2HH1Gc.js');
17
+ var placeTestOrder = require('./placeTestOrder-D7baFuaV.js');
18
18
  var renderFallback = require('./renderFallback-Bme86uk8.js');
19
19
  require('./isDarkColor-f-fD9c2l.js');
20
20
  require('./TaxId-Q6aDqqWv.js');
21
21
  require('./isContrastColor-B9ldIdpa.js');
22
- require('./submitGtag-CcEL-w5D.js');
22
+ require('./submitGtag-D79e8u6s.js');
23
23
 
24
24
  var 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>`;
25
25
 
@@ -506,7 +506,7 @@ const ZonosInvoicePayment = class {
506
506
  document.body.appendChild(hiddenTextarea);
507
507
  hiddenTextarea.select();
508
508
  // Have to use deprecated method execCommand because it's the only way to copy to the clipboard in the iframe
509
- // eslint-disable-next-line deprecation/deprecation
509
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
510
510
  document.execCommand('copy');
511
511
  document.body.removeChild(hiddenTextarea);
512
512
  }
@@ -1,21 +1,21 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-DAAr465v.js');
4
- var cart = require('./cart-CV4buPlT.js');
5
- var invoice = require('./invoice-CHw-mJdS.js');
6
- var paypal = require('./paypal-BLuHeOJH.js');
7
- var localization = require('./localization-CxXsmxs5.js');
8
- var zonosStore = require('./zonosStore-BCNYr6Tk.js');
4
+ var cart = require('./cart-7DceSLKl.js');
5
+ var invoice = require('./invoice-DSuHUQpi.js');
6
+ var paypal = require('./paypal-CZoctP9S.js');
7
+ var localization = require('./localization-BJqYz_PB.js');
8
+ var zonosStore = require('./zonosStore-Bx9jK82G.js');
9
9
  var buildCartItemsByTempCart = require('./buildCartItemsByTempCart-ILzonEjb.js');
10
10
  var handleFetch = require('./handleFetch-DQLhurnE.js');
11
11
  var isInvoiceMobileTablet = require('./isInvoiceMobileTablet-CCqFYV6m.js');
12
12
  var classes = require('./classes-D_DL168u.js');
13
13
  var VarianceTest = require('./VarianceTest-C98whVgO.js');
14
14
  require('./isDarkColor-f-fD9c2l.js');
15
- require('./getBorderRadius-DGZiQu09.js');
15
+ require('./getBorderRadius-CyYZw4qq.js');
16
16
  require('./TaxId-Q6aDqqWv.js');
17
17
  require('./isContrastColor-B9ldIdpa.js');
18
- require('./submitGtag-CcEL-w5D.js');
18
+ require('./submitGtag-D79e8u6s.js');
19
19
 
20
20
  var 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
21
 
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-DAAr465v.js');
4
- var localization = require('./localization-CxXsmxs5.js');
5
- var zonosStore = require('./zonosStore-BCNYr6Tk.js');
4
+ var localization = require('./localization-BJqYz_PB.js');
5
+ var zonosStore = require('./zonosStore-Bx9jK82G.js');
6
6
  require('./handleFetch-DQLhurnE.js');
7
7
  require('./VarianceTest-C98whVgO.js');
8
8
 
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-DAAr465v.js');
4
- var zonosStore = require('./zonosStore-BCNYr6Tk.js');
4
+ var zonosStore = require('./zonosStore-Bx9jK82G.js');
5
5
  var classes = require('./classes-D_DL168u.js');
6
6
  require('./VarianceTest-C98whVgO.js');
7
7
 
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-DAAr465v.js');
4
- var cart = require('./cart-CV4buPlT.js');
5
- var localization = require('./localization-CxXsmxs5.js');
6
- var zonosStore = require('./zonosStore-BCNYr6Tk.js');
7
- var renderCheckoutCurrency = require('./renderCheckoutCurrency-CC4CAy-a.js');
8
- var getBorderRadius = require('./getBorderRadius-DGZiQu09.js');
4
+ var cart = require('./cart-7DceSLKl.js');
5
+ var localization = require('./localization-BJqYz_PB.js');
6
+ var zonosStore = require('./zonosStore-Bx9jK82G.js');
7
+ var renderCheckoutCurrency = require('./renderCheckoutCurrency-Ca2HH1Gc.js');
8
+ var getBorderRadius = require('./getBorderRadius-CyYZw4qq.js');
9
9
  require('./VarianceTest-C98whVgO.js');
10
10
  require('./handleFetch-DQLhurnE.js');
11
11
  require('./isDarkColor-f-fD9c2l.js');
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-DAAr465v.js');
4
- var zonosStore = require('./zonosStore-BCNYr6Tk.js');
4
+ var zonosStore = require('./zonosStore-Bx9jK82G.js');
5
5
  var classes = require('./classes-D_DL168u.js');
6
- var getBorderRadius = require('./getBorderRadius-DGZiQu09.js');
6
+ var getBorderRadius = require('./getBorderRadius-CyYZw4qq.js');
7
7
  var getContrastColor = require('./getContrastColor-B2Kn8XHA.js');
8
8
  var isColorVariable = require('./isColorVariable-CKoJdu9G.js');
9
9
  require('./VarianceTest-C98whVgO.js');
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-DAAr465v.js');
4
- var zonosStore = require('./zonosStore-BCNYr6Tk.js');
4
+ var zonosStore = require('./zonosStore-Bx9jK82G.js');
5
5
  var helpers = require('./helpers-ClOZ11A9.js');
6
6
  var classes = require('./classes-D_DL168u.js');
7
- var getBorderRadius = require('./getBorderRadius-DGZiQu09.js');
7
+ var getBorderRadius = require('./getBorderRadius-CyYZw4qq.js');
8
8
  var isDarkColor = require('./isDarkColor-f-fD9c2l.js');
9
9
  require('./VarianceTest-C98whVgO.js');
10
10
 
@@ -96,7 +96,7 @@ const ZonosStripeInput = class {
96
96
  this.inputChange.emit(input.value);
97
97
  this.el.inputValue = input.value;
98
98
  this.el.dispatchEvent(new Event('change'));
99
- }, placeholder: this.inputPlaceholder || '', required: this.required, type: "text", value: this.internalValue })), index.h("div", { key: '32ef73f611becbc961b594a22976651eeb2547cd', class: "zonos--floated-label" }, index.h("label", { key: '7ef5e3be28b12f1d17f20cd6698ccb877b74a28b', htmlFor: this.inputId }, this.inputLabel))), this.error && (index.h("zonos-text", { key: '5d0e354d1ff22b9d0d9ab92a571029ce3b06be9b', textColor: "red-600", type: "caption" }, this.error))));
99
+ }, placeholder: this.inputPlaceholder || '', required: this.required, type: "text", value: this.internalValue })), index.h("div", { key: '881ab6448981da5870e6ed067e37b649ca8b55bf', class: "zonos--floated-label" }, index.h("label", { key: 'ad9b22d2370eb3b6494eab4ea2ecda4f8f28e79a', htmlFor: this.inputId }, this.inputLabel))), this.error && (index.h("zonos-text", { key: '7dd0d63348393d08286a5ce34a384539fe3dacf4', textColor: "red-600", type: "caption" }, this.error))));
100
100
  }
101
101
  get el() { return index.getElement(this); }
102
102
  static get watchers() { return {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-DAAr465v.js');
4
- var zonosStore = require('./zonosStore-BCNYr6Tk.js');
4
+ var zonosStore = require('./zonosStore-Bx9jK82G.js');
5
5
  var classes = require('./classes-D_DL168u.js');
6
6
  var isColorVariable = require('./isColorVariable-CKoJdu9G.js');
7
7
  var styles = require('./styles-nowYls3K.js');
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-DAAr465v.js');
4
- var zonosStore = require('./zonosStore-BCNYr6Tk.js');
4
+ var zonosStore = require('./zonosStore-Bx9jK82G.js');
5
5
  var classes = require('./classes-D_DL168u.js');
6
6
  require('./VarianceTest-C98whVgO.js');
7
7
 
@@ -3695,9 +3695,11 @@ const { onChange: zonosStoreOnChange, reset, state: zonosStore, } = createStore(
3695
3695
  * Default to bottom right so hello would float if anchorElementSelector is not set. Otherwise, this will be ignored
3696
3696
  */
3697
3697
  desktopLocation: 'BOTTOM_RIGHT',
3698
+ desktopLocationOverride: null,
3698
3699
  excludedUrlPatterns: [],
3699
3700
  homepageUrlPattern: '',
3700
3701
  mobileLocation: 'BOTTOM_RIGHT',
3702
+ mobileLocationOverride: null,
3701
3703
  mode: 'LIVE',
3702
3704
  notFoundElementFallback: null,
3703
3705
  organization: '',
@@ -121,7 +121,7 @@ export class ZonosCheckoutPayment {
121
121
  document.body.appendChild(hiddenTextarea);
122
122
  hiddenTextarea.select();
123
123
  // Have to use deprecated method execCommand because it's the only way to copy to the clipboard in the iframe
124
- // eslint-disable-next-line deprecation/deprecation
124
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
125
125
  document.execCommand('copy');
126
126
  document.body.removeChild(hiddenTextarea);
127
127
  }
@@ -84,7 +84,7 @@ export class ZonosCollectPayment {
84
84
  document.body.appendChild(hiddenTextarea);
85
85
  hiddenTextarea.select();
86
86
  // Have to use deprecated method execCommand because it's the only way to copy to the clipboard in the iframe
87
- // eslint-disable-next-line deprecation/deprecation
87
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
88
88
  document.execCommand('copy');
89
89
  document.body.removeChild(hiddenTextarea);
90
90
  }
@@ -84,7 +84,7 @@ export class ZonosInvoicePayment {
84
84
  document.body.appendChild(hiddenTextarea);
85
85
  hiddenTextarea.select();
86
86
  // Have to use deprecated method execCommand because it's the only way to copy to the clipboard in the iframe
87
- // eslint-disable-next-line deprecation/deprecation
87
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
88
88
  document.execCommand('copy');
89
89
  document.body.removeChild(hiddenTextarea);
90
90
  }
@@ -91,7 +91,7 @@ export class ZonosStripeInput {
91
91
  this.inputChange.emit(input.value);
92
92
  this.el.inputValue = input.value;
93
93
  this.el.dispatchEvent(new Event('change'));
94
- }, placeholder: this.inputPlaceholder || '', required: this.required, type: "text", value: this.internalValue })), h("div", { key: '32ef73f611becbc961b594a22976651eeb2547cd', class: "zonos--floated-label" }, h("label", { key: '7ef5e3be28b12f1d17f20cd6698ccb877b74a28b', htmlFor: this.inputId }, this.inputLabel))), this.error && (h("zonos-text", { key: '5d0e354d1ff22b9d0d9ab92a571029ce3b06be9b', textColor: "red-600", type: "caption" }, this.error))));
94
+ }, placeholder: this.inputPlaceholder || '', required: this.required, type: "text", value: this.internalValue })), h("div", { key: '881ab6448981da5870e6ed067e37b649ca8b55bf', class: "zonos--floated-label" }, h("label", { key: 'ad9b22d2370eb3b6494eab4ea2ecda4f8f28e79a', htmlFor: this.inputId }, this.inputLabel))), this.error && (h("zonos-text", { key: '7dd0d63348393d08286a5ce34a384539fe3dacf4', textColor: "red-600", type: "caption" }, this.error))));
95
95
  }
96
96
  static get is() { return "zonos-stripe-input"; }
97
97
  static get encapsulation() { return "scoped"; }
@@ -67,19 +67,21 @@
67
67
  @media screen and (min-width: 769px) {
68
68
  :host .zonos--hello-wrapper .zonos--hello-dialog-wrapper.zonos--hello-widget-float {
69
69
  position: fixed;
70
- bottom: 72px;
71
- right: 32px;
72
- width: auto;
73
- height: auto;
74
- z-index: 1001;
70
+ bottom: var(--zonos-elements-hello-float-inset-y, 72px);
71
+ right: var(--zonos-elements-hello-float-inset-x, 32px);
75
72
  }
76
73
  :host .zonos--hello-wrapper .zonos--hello-dialog-wrapper.zonos--hello-widget-float.zonos--hello-widget-left {
77
- left: 32px;
74
+ left: var(--zonos-elements-hello-float-inset-x, 32px);
78
75
  right: auto;
79
76
  }
80
77
  :host .zonos--hello-wrapper .zonos--hello-dialog-wrapper.zonos--hello-widget-float.zonos--hello-widget-top {
81
78
  bottom: auto;
82
- top: 32px;
79
+ top: var(--zonos-elements-hello-float-inset-y, 32px);
80
+ }
81
+ :host .zonos--hello-wrapper .zonos--hello-dialog-wrapper.zonos--hello-widget-float {
82
+ width: auto;
83
+ height: auto;
84
+ z-index: 1001;
83
85
  }
84
86
  }
85
87
  :host .zonos--hello-widget {
@@ -175,16 +177,16 @@
175
177
  }
176
178
  :host .zonos--hello-widget.zonos--hello-widget-float {
177
179
  position: fixed;
178
- bottom: 72px;
179
- right: 32px;
180
+ bottom: var(--zonos-elements-hello-float-inset-y, 72px);
181
+ right: var(--zonos-elements-hello-float-inset-x, 32px);
180
182
  }
181
183
  :host .zonos--hello-widget.zonos--hello-widget-float.zonos--hello-widget-left {
182
- left: 32px;
184
+ left: var(--zonos-elements-hello-float-inset-x, 32px);
183
185
  right: auto;
184
186
  }
185
187
  :host .zonos--hello-widget.zonos--hello-widget-float.zonos--hello-widget-top {
186
188
  bottom: auto;
187
- top: 32px;
189
+ top: var(--zonos-elements-hello-float-inset-y, 32px);
188
190
  }
189
191
  :host .zonos--hello-widget.zonos--hello-widget-float.zonos--hello-has-restrictions.zonos--hello-show-peek-message > .zonos--hello-message {
190
192
  border: none;
@@ -219,16 +221,16 @@
219
221
  }
220
222
  :host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-float {
221
223
  position: fixed;
222
- bottom: 72px;
223
- right: 32px;
224
+ bottom: var(--zonos-elements-hello-float-inset-y, 72px);
225
+ right: var(--zonos-elements-hello-float-inset-x, 32px);
224
226
  }
225
227
  :host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-float.zonos--hello-widget-left {
226
- left: 32px;
228
+ left: var(--zonos-elements-hello-float-inset-x, 32px);
227
229
  right: auto;
228
230
  }
229
231
  :host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-float.zonos--hello-widget-top {
230
232
  bottom: auto;
231
- top: 32px;
233
+ top: var(--zonos-elements-hello-float-inset-y, 32px);
232
234
  }
233
235
  :host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-float.zonos--hello-has-restrictions.zonos--hello-show-peek-message > .zonos--hello-message {
234
236
  border: none;