@zonos/elements 1.3.40 → 1.3.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (247) hide show
  1. package/dist/cjs/{cart-775440b7.js → cart-99a1ed87.js} +67 -10
  2. package/dist/cjs/{getBorderRadius-9ae7890c.js → getBorderRadius-4413e191.js} +1 -1
  3. package/dist/cjs/{index-ef8b2c76.js → index-d56e0a8b.js} +9 -3
  4. package/dist/cjs/index.cjs.js +21 -7
  5. package/dist/cjs/{isDarkColor-5f56770b.js → isDarkColor-4eb96a1e.js} +1 -1
  6. package/dist/cjs/loader.cjs.js +2 -2
  7. package/dist/cjs/{paypal-25c84e33.js → paypal-5509a76f.js} +3 -3
  8. package/dist/cjs/{sendErrorLog-7818b288.js → sendErrorLog-21996939.js} +2 -2
  9. package/dist/cjs/zonos-address_8.cjs.entry.js +10 -10
  10. package/dist/cjs/zonos-badge_2.cjs.entry.js +4 -4
  11. package/dist/cjs/zonos-banner.cjs.entry.js +2 -2
  12. package/dist/cjs/zonos-button_3.cjs.entry.js +4 -4
  13. package/dist/cjs/zonos-card.cjs.entry.js +3 -3
  14. package/dist/cjs/zonos-cart-items_12.cjs.entry.js +10 -10
  15. package/dist/cjs/zonos-checkout.cjs.entry.js +7 -7
  16. package/dist/cjs/zonos-component.cjs.entry.js +2 -2
  17. package/dist/cjs/zonos-controller.cjs.entry.js +6 -6
  18. package/dist/cjs/zonos-country-flag.cjs.entry.js +5 -5
  19. package/dist/cjs/{zonos-country-select_3.cjs.entry.js → zonos-country-select_4.cjs.entry.js} +100 -14
  20. package/dist/cjs/zonos-elements.cjs.js +2 -2
  21. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +9 -9
  22. package/dist/cjs/zonos-hello.cjs.entry.js +5 -5
  23. package/dist/cjs/zonos-input.cjs.entry.js +7 -7
  24. package/dist/cjs/zonos-language-select_2.cjs.entry.js +9 -9
  25. package/dist/cjs/zonos-link.cjs.entry.js +2 -2
  26. package/dist/cjs/zonos-logo.cjs.entry.js +4 -4
  27. package/dist/cjs/zonos-notification_3.cjs.entry.js +8 -8
  28. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +3 -3
  29. package/dist/cjs/zonos-text.cjs.entry.js +2 -2
  30. package/dist/cjs/zonos-v-stack.cjs.entry.js +4 -4
  31. package/dist/cjs/{zonosStore-b6c72408.js → zonosStore-56401fdb.js} +1 -1
  32. package/dist/collection/collection-manifest.json +1 -0
  33. package/dist/collection/components/common/zonos-country-select/zonos-country-select.css +8 -0
  34. package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +14 -4
  35. package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +2 -2
  36. package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +3 -3
  37. package/dist/collection/components/common/zonos-input/zonos-input.js +4 -4
  38. package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +2 -2
  39. package/dist/collection/components/common/zonos-link/zonos-link.js +1 -1
  40. package/dist/collection/components/common/zonos-logo/zonos-logo.js +2 -2
  41. package/dist/collection/components/common/zonos-rest-state/zonos-rest-state.js +3 -3
  42. package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +2 -2
  43. package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +2 -2
  44. package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +2 -2
  45. package/dist/collection/components/common/zonos-virtual-scroll/zonos-virtual-scroll.css +46 -0
  46. package/dist/collection/components/common/zonos-virtual-scroll/zonos-virtual-scroll.js +177 -0
  47. package/dist/collection/components/component-template/zonos-component/zonos-component.js +1 -1
  48. package/dist/collection/components/hello/zonos-hello/zonos-hello.js +6 -1
  49. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +2 -2
  50. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +4 -4
  51. package/dist/collection/components/main/zonos-controller.js +1 -1
  52. package/dist/collection/components/paypal/zonos-paypal-payment.js +1 -1
  53. package/dist/collection/components/store/translationStore/strings.arabic.js +3 -0
  54. package/dist/collection/components/store/translationStore/strings.base.js +3 -0
  55. package/dist/collection/components/store/translationStore/strings.chinese.js +3 -0
  56. package/dist/collection/components/store/translationStore/strings.danish.js +3 -0
  57. package/dist/collection/components/store/translationStore/strings.dutch.js +3 -0
  58. package/dist/collection/components/store/translationStore/strings.french.js +3 -0
  59. package/dist/collection/components/store/translationStore/strings.german.js +3 -0
  60. package/dist/collection/components/store/translationStore/strings.hebrew.js +3 -0
  61. package/dist/collection/components/store/translationStore/strings.indonesian.js +3 -0
  62. package/dist/collection/components/store/translationStore/strings.italian.js +3 -0
  63. package/dist/collection/components/store/translationStore/strings.japanese.js +3 -0
  64. package/dist/collection/components/store/translationStore/strings.korean.js +3 -0
  65. package/dist/collection/components/store/translationStore/strings.norwegian.js +3 -0
  66. package/dist/collection/components/store/translationStore/strings.polish.js +3 -0
  67. package/dist/collection/components/store/translationStore/strings.portuguese.js +3 -0
  68. package/dist/collection/components/store/translationStore/strings.russian.js +3 -0
  69. package/dist/collection/components/store/translationStore/strings.spanish.js +3 -0
  70. package/dist/collection/components/store/translationStore/strings.swedish.js +3 -0
  71. package/dist/collection/components/store/translationStore/strings.turkish.js +3 -0
  72. package/dist/collection/components/store/translationStore/strings.vietnamese.js +3 -0
  73. package/dist/collection/components/stripe/zonos-address/zonos-address.js +1 -1
  74. package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +1 -1
  75. package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
  76. package/dist/collection/components/utils/handleFetch.js +0 -6
  77. package/dist/collection/components/utils/hello/currencyConversion/defaultCurrencyConverter.js +4 -1
  78. package/dist/collection/environment.js +6 -0
  79. package/dist/collection/scripts/_getNextFallbackUrl.js +1 -1
  80. package/dist/collection/scripts/_getZonosQaUrl.js +12 -1
  81. package/dist/collection/scripts/_zonosBase.js +4 -1
  82. package/dist/esm/{cart-e9cd8286.js → cart-bc217300.js} +67 -10
  83. package/dist/esm/{getBorderRadius-3c75c4c1.js → getBorderRadius-3ba98361.js} +1 -1
  84. package/dist/esm/{index-5a37ccde.js → index-86b8247e.js} +9 -3
  85. package/dist/esm/index.js +21 -7
  86. package/dist/esm/{isDarkColor-3eb31a6d.js → isDarkColor-3119e351.js} +1 -1
  87. package/dist/esm/loader.js +3 -3
  88. package/dist/esm/{paypal-da2b3db1.js → paypal-fa96e7c3.js} +3 -3
  89. package/dist/esm/{sendErrorLog-2fcf78a2.js → sendErrorLog-c40b553a.js} +2 -2
  90. package/dist/esm/zonos-address_8.entry.js +10 -10
  91. package/dist/esm/zonos-badge_2.entry.js +4 -4
  92. package/dist/esm/zonos-banner.entry.js +2 -2
  93. package/dist/esm/zonos-button_3.entry.js +4 -4
  94. package/dist/esm/zonos-card.entry.js +3 -3
  95. package/dist/esm/zonos-cart-items_12.entry.js +10 -10
  96. package/dist/esm/zonos-checkout.entry.js +7 -7
  97. package/dist/esm/zonos-component.entry.js +2 -2
  98. package/dist/esm/zonos-controller.entry.js +6 -6
  99. package/dist/esm/zonos-country-flag.entry.js +5 -5
  100. package/dist/esm/{zonos-country-select_3.entry.js → zonos-country-select_4.entry.js} +100 -15
  101. package/dist/esm/zonos-elements.js +3 -3
  102. package/dist/esm/zonos-hello-dialog.entry.js +9 -9
  103. package/dist/esm/zonos-hello.entry.js +5 -5
  104. package/dist/esm/zonos-input.entry.js +7 -7
  105. package/dist/esm/zonos-language-select_2.entry.js +9 -9
  106. package/dist/esm/zonos-link.entry.js +2 -2
  107. package/dist/esm/zonos-logo.entry.js +4 -4
  108. package/dist/esm/zonos-notification_3.entry.js +8 -8
  109. package/dist/esm/zonos-shipping-rich-radio.entry.js +3 -3
  110. package/dist/esm/zonos-text.entry.js +2 -2
  111. package/dist/esm/zonos-v-stack.entry.js +4 -4
  112. package/dist/esm/{zonosStore-425abc1b.js → zonosStore-8fc9ceb2.js} +1 -1
  113. package/dist/esm-es5/cart-bc217300.js +1 -0
  114. package/dist/esm-es5/{getBorderRadius-3c75c4c1.js → getBorderRadius-3ba98361.js} +1 -1
  115. package/dist/esm-es5/{index-5a37ccde.js → index-86b8247e.js} +2 -2
  116. package/dist/esm-es5/index.js +1 -1
  117. package/dist/esm-es5/{isDarkColor-3eb31a6d.js → isDarkColor-3119e351.js} +1 -1
  118. package/dist/esm-es5/loader.js +1 -1
  119. package/dist/esm-es5/{paypal-da2b3db1.js → paypal-fa96e7c3.js} +1 -1
  120. package/dist/esm-es5/{sendErrorLog-2fcf78a2.js → sendErrorLog-c40b553a.js} +1 -1
  121. package/dist/esm-es5/zonos-address_8.entry.js +1 -1
  122. package/dist/esm-es5/zonos-badge_2.entry.js +1 -1
  123. package/dist/esm-es5/zonos-banner.entry.js +1 -1
  124. package/dist/esm-es5/zonos-button_3.entry.js +1 -1
  125. package/dist/esm-es5/zonos-card.entry.js +1 -1
  126. package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
  127. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  128. package/dist/esm-es5/zonos-component.entry.js +1 -1
  129. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  130. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  131. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -0
  132. package/dist/esm-es5/zonos-elements.js +1 -1
  133. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  134. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  135. package/dist/esm-es5/zonos-input.entry.js +1 -1
  136. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  137. package/dist/esm-es5/zonos-link.entry.js +1 -1
  138. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  139. package/dist/esm-es5/zonos-notification_3.entry.js +1 -1
  140. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
  141. package/dist/esm-es5/zonos-text.entry.js +1 -1
  142. package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
  143. package/dist/esm-es5/{zonosStore-425abc1b.js → zonosStore-8fc9ceb2.js} +1 -1
  144. package/dist/scripts/index.d.ts +141 -52
  145. package/dist/scripts/index.js +1 -1
  146. package/dist/scripts/loadZonos.js +1 -1
  147. package/dist/scripts/zonos.js +1 -1
  148. package/dist/types/components/common/zonos-virtual-scroll/zonos-virtual-scroll.d.ts +32 -0
  149. package/dist/types/components/hello/zonos-hello/zonos-hello.d.ts +2 -1
  150. package/dist/types/components/store/translationStore/strings.arabic.d.ts +3 -0
  151. package/dist/types/components/store/translationStore/strings.base.d.ts +3 -0
  152. package/dist/types/components/store/translationStore/strings.chinese.d.ts +3 -0
  153. package/dist/types/components/store/translationStore/strings.danish.d.ts +3 -0
  154. package/dist/types/components/store/translationStore/strings.dutch.d.ts +3 -0
  155. package/dist/types/components/store/translationStore/strings.french.d.ts +3 -0
  156. package/dist/types/components/store/translationStore/strings.german.d.ts +3 -0
  157. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +3 -0
  158. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +3 -0
  159. package/dist/types/components/store/translationStore/strings.italian.d.ts +3 -0
  160. package/dist/types/components/store/translationStore/strings.japanese.d.ts +3 -0
  161. package/dist/types/components/store/translationStore/strings.korean.d.ts +3 -0
  162. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +3 -0
  163. package/dist/types/components/store/translationStore/strings.polish.d.ts +3 -0
  164. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +3 -0
  165. package/dist/types/components/store/translationStore/strings.russian.d.ts +3 -0
  166. package/dist/types/components/store/translationStore/strings.spanish.d.ts +3 -0
  167. package/dist/types/components/store/translationStore/strings.swedish.d.ts +3 -0
  168. package/dist/types/components/store/translationStore/strings.turkish.d.ts +3 -0
  169. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +3 -0
  170. package/dist/types/components/store/translationStore.d.ts +1 -1
  171. package/dist/types/components.d.ts +82 -1
  172. package/dist/types/environment.d.ts +4 -0
  173. package/dist/types/scripts/_getNextFallbackUrl.d.ts +3 -3
  174. package/dist/types/types/LogLoadScriptRequestBody.d.ts +1 -1
  175. package/dist/zonos-elements/index.esm.js +1 -1
  176. package/dist/zonos-elements/{p-5f68f356.system.entry.js → p-0229282c.system.entry.js} +1 -1
  177. package/dist/zonos-elements/{p-92bebe7a.js → p-04054425.js} +1 -1
  178. package/dist/zonos-elements/{p-f98f7066.js → p-1041cbd0.js} +1 -1
  179. package/dist/zonos-elements/{p-2c03ac78.system.entry.js → p-14067782.system.entry.js} +1 -1
  180. package/dist/zonos-elements/p-16dd23e1.entry.js +1 -0
  181. package/dist/zonos-elements/{p-1daa3b1e.system.entry.js → p-1e4f7997.system.entry.js} +1 -1
  182. package/dist/zonos-elements/{p-3d98f422.system.entry.js → p-211e3529.system.entry.js} +1 -1
  183. package/dist/zonos-elements/{p-dc6a17fe.system.entry.js → p-23748211.system.entry.js} +1 -1
  184. package/dist/zonos-elements/{p-6897be29.entry.js → p-23fd4673.entry.js} +1 -1
  185. package/dist/zonos-elements/{p-efdc7748.entry.js → p-25633055.entry.js} +1 -1
  186. package/dist/zonos-elements/{p-916adba7.entry.js → p-29ed14b8.entry.js} +1 -1
  187. package/dist/zonos-elements/{p-36df9785.entry.js → p-2cc469c3.entry.js} +1 -1
  188. package/dist/zonos-elements/{p-fa02dd07.system.entry.js → p-35679ed2.system.entry.js} +1 -1
  189. package/dist/zonos-elements/{p-c5a5512a.system.entry.js → p-3b1ea7c8.system.entry.js} +1 -1
  190. package/dist/zonos-elements/{p-b2007124.system.js → p-40c21634.system.js} +1 -1
  191. package/dist/zonos-elements/{p-e6efc2e1.system.entry.js → p-4f454a91.system.entry.js} +1 -1
  192. package/dist/zonos-elements/{p-bfa5ec2b.entry.js → p-5230520c.entry.js} +1 -1
  193. package/dist/zonos-elements/{p-da15b587.system.entry.js → p-52947dab.system.entry.js} +1 -1
  194. package/dist/zonos-elements/{p-3da1bc42.js → p-52fb6876.js} +1 -1
  195. package/dist/zonos-elements/{p-d95cb86a.system.js → p-539974db.system.js} +1 -1
  196. package/dist/zonos-elements/{p-15ecad81.entry.js → p-558486eb.entry.js} +1 -1
  197. package/dist/zonos-elements/p-5b7da777.js +2 -0
  198. package/dist/zonos-elements/{p-54971a77.system.js → p-668fb530.system.js} +1 -1
  199. package/dist/zonos-elements/p-68bb8de4.entry.js +1 -0
  200. package/dist/zonos-elements/{p-890f5788.js → p-6ac72711.js} +1 -1
  201. package/dist/zonos-elements/{p-01bd2187.system.entry.js → p-6bb0b7d2.system.entry.js} +1 -1
  202. package/dist/zonos-elements/{p-d9d5ee2f.entry.js → p-6de38759.entry.js} +1 -1
  203. package/dist/zonos-elements/{p-d46fa40a.entry.js → p-706d2bad.entry.js} +1 -1
  204. package/dist/zonos-elements/{p-61842b4f.system.entry.js → p-717028a2.system.entry.js} +1 -1
  205. package/dist/zonos-elements/{p-14b53e8f.system.entry.js → p-7338ea95.system.entry.js} +1 -1
  206. package/dist/zonos-elements/{p-ca58f16e.system.entry.js → p-73c56565.system.entry.js} +1 -1
  207. package/dist/zonos-elements/{p-8d149b99.entry.js → p-7a902328.entry.js} +1 -1
  208. package/dist/zonos-elements/{p-c55a5fe4.system.entry.js → p-7d67bbb8.system.entry.js} +1 -1
  209. package/dist/zonos-elements/{p-1b499bcc.system.js → p-8809964a.system.js} +1 -1
  210. package/dist/zonos-elements/{p-54101ed6.entry.js → p-8b01aafb.entry.js} +1 -1
  211. package/dist/zonos-elements/p-90f517f5.js +1 -0
  212. package/dist/zonos-elements/{p-f643035f.entry.js → p-9220f63d.entry.js} +1 -1
  213. package/dist/zonos-elements/{p-3496183d.entry.js → p-9420f9db.entry.js} +1 -1
  214. package/dist/zonos-elements/p-98a0fda1.system.js +1 -0
  215. package/dist/zonos-elements/{p-5e55dcbc.entry.js → p-9a319774.entry.js} +1 -1
  216. package/dist/zonos-elements/{p-657be9e9.entry.js → p-9d1f13c2.entry.js} +1 -1
  217. package/dist/zonos-elements/{p-5a5d1a12.system.entry.js → p-9eadd9a7.system.entry.js} +1 -1
  218. package/dist/zonos-elements/p-a0581551.system.js +1 -0
  219. package/dist/zonos-elements/{p-70b024ad.system.entry.js → p-a3e2592b.system.entry.js} +1 -1
  220. package/dist/zonos-elements/{p-3447ef24.system.js → p-a8a94872.system.js} +1 -1
  221. package/dist/zonos-elements/{p-e252d86f.entry.js → p-a9ae78e3.entry.js} +1 -1
  222. package/dist/zonos-elements/{p-445fb353.system.entry.js → p-c0aec0ca.system.entry.js} +1 -1
  223. package/dist/zonos-elements/{p-97dadd90.system.entry.js → p-c4bb2949.system.entry.js} +1 -1
  224. package/dist/zonos-elements/{p-fa95c3dc.entry.js → p-c7301a88.entry.js} +1 -1
  225. package/dist/zonos-elements/p-c78dd680.system.js +1 -0
  226. package/dist/zonos-elements/p-d27489bb.system.entry.js +1 -0
  227. package/dist/zonos-elements/{p-7f96d3b4.entry.js → p-dc368ad5.entry.js} +1 -1
  228. package/dist/zonos-elements/{p-71037fe5.entry.js → p-e07bf9ea.entry.js} +1 -1
  229. package/dist/zonos-elements/{p-2bfb5e4b.system.entry.js → p-e8f7fb29.system.entry.js} +1 -1
  230. package/dist/zonos-elements/{p-c87113fb.system.entry.js → p-f59666e6.system.entry.js} +1 -1
  231. package/dist/zonos-elements/{p-d6135575.js → p-f97ffbfb.js} +1 -1
  232. package/dist/zonos-elements/{p-3b6a7200.entry.js → p-fc2676e3.entry.js} +1 -1
  233. package/dist/zonos-elements/{p-b55b557a.system.js → p-fd061229.system.js} +2 -2
  234. package/dist/zonos-elements/zonos-elements.css +1 -1
  235. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  236. package/dist/zonos-elements/zonos-elements.js +1 -1
  237. package/package.json +1 -1
  238. package/dist/esm-es5/cart-e9cd8286.js +0 -1
  239. package/dist/esm-es5/zonos-country-select_3.entry.js +0 -1
  240. package/dist/zonos-elements/p-1debb7b2.entry.js +0 -1
  241. package/dist/zonos-elements/p-3996d025.system.js +0 -1
  242. package/dist/zonos-elements/p-6f39051c.system.entry.js +0 -1
  243. package/dist/zonos-elements/p-7dd54a63.entry.js +0 -1
  244. package/dist/zonos-elements/p-800db524.system.js +0 -1
  245. package/dist/zonos-elements/p-94279862.system.js +0 -1
  246. package/dist/zonos-elements/p-dd61b7a0.js +0 -2
  247. package/dist/zonos-elements/p-fb63bd03.js +0 -1
@@ -131,6 +131,9 @@ export declare const stringsItalian: {
131
131
  Name: {
132
132
  value: string;
133
133
  };
134
+ 'No countries found': {
135
+ value: string;
136
+ };
134
137
  'No shipping method selected': {
135
138
  value: string;
136
139
  };
@@ -131,6 +131,9 @@ export declare const stringsJapanese: {
131
131
  Name: {
132
132
  value: string;
133
133
  };
134
+ 'No countries found': {
135
+ value: string;
136
+ };
134
137
  'No shipping method selected': {
135
138
  value: string;
136
139
  };
@@ -131,6 +131,9 @@ export declare const stringsKorean: {
131
131
  Name: {
132
132
  value: string;
133
133
  };
134
+ 'No countries found': {
135
+ value: string;
136
+ };
134
137
  'No shipping method selected': {
135
138
  value: string;
136
139
  };
@@ -131,6 +131,9 @@ export declare const stringsNorwegian: {
131
131
  Name: {
132
132
  value: string;
133
133
  };
134
+ 'No countries found': {
135
+ value: string;
136
+ };
134
137
  'No shipping method selected': {
135
138
  value: string;
136
139
  };
@@ -131,6 +131,9 @@ export declare const stringsPolish: {
131
131
  Name: {
132
132
  value: string;
133
133
  };
134
+ 'No countries found': {
135
+ value: string;
136
+ };
134
137
  'No shipping method selected': {
135
138
  value: string;
136
139
  };
@@ -131,6 +131,9 @@ export declare const stringsPortuguese: {
131
131
  Name: {
132
132
  value: string;
133
133
  };
134
+ 'No countries found': {
135
+ value: string;
136
+ };
134
137
  'No shipping method selected': {
135
138
  value: string;
136
139
  };
@@ -131,6 +131,9 @@ export declare const stringsRussian: {
131
131
  Name: {
132
132
  value: string;
133
133
  };
134
+ 'No countries found': {
135
+ value: string;
136
+ };
134
137
  'No shipping method selected': {
135
138
  value: string;
136
139
  };
@@ -131,6 +131,9 @@ export declare const stringsSpanish: {
131
131
  Name: {
132
132
  value: string;
133
133
  };
134
+ 'No countries found': {
135
+ value: string;
136
+ };
134
137
  'No shipping method selected': {
135
138
  value: string;
136
139
  };
@@ -131,6 +131,9 @@ export declare const stringsSwedish: {
131
131
  Name: {
132
132
  value: string;
133
133
  };
134
+ 'No countries found': {
135
+ value: string;
136
+ };
134
137
  'No shipping method selected': {
135
138
  value: string;
136
139
  };
@@ -131,6 +131,9 @@ export declare const stringsTurkish: {
131
131
  Name: {
132
132
  value: string;
133
133
  };
134
+ 'No countries found': {
135
+ value: string;
136
+ };
134
137
  'No shipping method selected': {
135
138
  value: string;
136
139
  };
@@ -131,6 +131,9 @@ export declare const stringsVietnamese: {
131
131
  Name: {
132
132
  value: string;
133
133
  };
134
+ 'No countries found': {
135
+ value: string;
136
+ };
134
137
  'No shipping method selected': {
135
138
  value: string;
136
139
  };
@@ -30,5 +30,5 @@ type TranslateParams<T extends string> = ExtractVariables<T> extends never ? [T,
30
30
  * // No variables:
31
31
  * translate('Above de minimis threshold for')
32
32
  */
33
- declare const translate: <T extends "Shipping" | "Email" | "Name" | "Guaranteed" | "Customer" | "Country" | "Failure" | "Success" | "Hide" | "or" | "Delivery" | "Payment" | "Above de minimis threshold for" | "Address" | "Address line 1" | "Address line 2" | "An unexpected error occurred when processing PayPal order." | "Are you sure?" | "Back" | "Billing" | "Billing address" | "Cancel" | "Card number copied to clipboard" | "Cart subtotal" | "City" | "Click to copy the card number. Use any future expiration date and three number CVC." | "Close" | "Contact" | "Continue to shipping" | "Couldn't place order" | "Customer information" | "Delivery options" | "Don't close" | "Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders." | "Duties and taxes will be applied to items and shipping." | "Duties will apply to all orders." | "Duties, taxes, and fees" | "Error creating Checkout" | "Error updating Checkout" | "Expected delivery" | "Failed to create PayPal order. Please try again, or consider using an alternative method." | "First name" | "Go to payment" | "Keep shopping" | "Know about duties and taxes before you buy. Shop with confidence!" | "Last name" | "Learn more." | "Missing required fields. Make sure all fields are completed." | "No shipping method selected" | "No shipping methods found - please review and update your address details by selecting the \"Customer\" tab above. If you continue to encounter issues, contact our support team for assistance." | "No shipping methods found - try editing your address or contacting support if the error persists" | "Nothing due at the door" | "Order is over the de minimis threshold for both duty and tax" | "Order total" | "Orders to [countryName] must be over [threshold] to ship." | "Pay [orderTotal]" | "Pay [organizationName]" | "Payment failed" | "Payment failed. Please try another payment method." | "Payment method" | "Payment processing. We'll update you when payment is received." | "Phone number" | "Please ensure your text uses the Latin alphabet only (A-Z, a-z)." | "Postal code" | "Powered by" | "Prepay duties and taxes at checkout" | "Product prices already include duties, taxes, and fees. No additional duties or taxes will be added at checkout, with rare exceptions." | "Reload" | "Restricted item" | "Restricted items found" | "Return to cart" | "Search countries" | "See duty and tax thresholds" | "Select a country" | "Select a language" | "Session timed out" | "Shipping address same as billing" | "Shipping method" | "Show" | "Something went wrong." | "Spend [threshold] duty free." | "Spend [threshold] tax free." | "State" | "State/Province" | "Taxes will apply to all orders." | "Test cards" | "Test mode" | "The following items are unable to be shipped to your country and are not included in your cart total." | "The low-value GST law passed July 1st, 2018 applies to this retailer." | "There's been an error creating your checkout session. Please reload and try again or contact support if the error persists" | "There's been an error updating your checkout session. Please reload and try again or contact support if the error persists" | "To ensure delivery all address details must be in Latin characters." | "Translated address" | "Unable to check inventory. Please try again." | "Update address" | "Update your address" | "We couldn't complete your payment. Please verify the payment details and try again." | "We've sent an email confirmation of the order details for your review. And our team is carefully preparing your order so it arrives on time." | "Welcome to [storeName]" | "Welcome!" | "What you entered" | "Would you like to close checkout and return to the site?" | "You're all set!" | "Your checkout session has expired. Please reload the page to continue." | "Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us." | "[percentage] GST due on any order above [threshold] along with an import entry transaction fee and MPI levy." | "[percentage] GST due on any order above [threshold]." | "business days" | "click to learn more" | "restricted items">(...[key, replacement]: TranslateParams<T>) => string;
33
+ declare const translate: <T extends "Shipping" | "Email" | "Name" | "Guaranteed" | "Customer" | "Country" | "Failure" | "Success" | "Hide" | "or" | "Delivery" | "Payment" | "Above de minimis threshold for" | "Address" | "Address line 1" | "Address line 2" | "An unexpected error occurred when processing PayPal order." | "Are you sure?" | "Back" | "Billing" | "Billing address" | "Cancel" | "Card number copied to clipboard" | "Cart subtotal" | "City" | "Click to copy the card number. Use any future expiration date and three number CVC." | "Close" | "Contact" | "Continue to shipping" | "Couldn't place order" | "Customer information" | "Delivery options" | "Don't close" | "Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders." | "Duties and taxes will be applied to items and shipping." | "Duties will apply to all orders." | "Duties, taxes, and fees" | "Error creating Checkout" | "Error updating Checkout" | "Expected delivery" | "Failed to create PayPal order. Please try again, or consider using an alternative method." | "First name" | "Go to payment" | "Keep shopping" | "Know about duties and taxes before you buy. Shop with confidence!" | "Last name" | "Learn more." | "Missing required fields. Make sure all fields are completed." | "No countries found" | "No shipping method selected" | "No shipping methods found - please review and update your address details by selecting the \"Customer\" tab above. If you continue to encounter issues, contact our support team for assistance." | "No shipping methods found - try editing your address or contacting support if the error persists" | "Nothing due at the door" | "Order is over the de minimis threshold for both duty and tax" | "Order total" | "Orders to [countryName] must be over [threshold] to ship." | "Pay [orderTotal]" | "Pay [organizationName]" | "Payment failed" | "Payment failed. Please try another payment method." | "Payment method" | "Payment processing. We'll update you when payment is received." | "Phone number" | "Please ensure your text uses the Latin alphabet only (A-Z, a-z)." | "Postal code" | "Powered by" | "Prepay duties and taxes at checkout" | "Product prices already include duties, taxes, and fees. No additional duties or taxes will be added at checkout, with rare exceptions." | "Reload" | "Restricted item" | "Restricted items found" | "Return to cart" | "Search countries" | "See duty and tax thresholds" | "Select a country" | "Select a language" | "Session timed out" | "Shipping address same as billing" | "Shipping method" | "Show" | "Something went wrong." | "Spend [threshold] duty free." | "Spend [threshold] tax free." | "State" | "State/Province" | "Taxes will apply to all orders." | "Test cards" | "Test mode" | "The following items are unable to be shipped to your country and are not included in your cart total." | "The low-value GST law passed July 1st, 2018 applies to this retailer." | "There's been an error creating your checkout session. Please reload and try again or contact support if the error persists" | "There's been an error updating your checkout session. Please reload and try again or contact support if the error persists" | "To ensure delivery all address details must be in Latin characters." | "Translated address" | "Unable to check inventory. Please try again." | "Update address" | "Update your address" | "We couldn't complete your payment. Please verify the payment details and try again." | "We've sent an email confirmation of the order details for your review. And our team is carefully preparing your order so it arrives on time." | "Welcome to [storeName]" | "Welcome!" | "What you entered" | "Would you like to close checkout and return to the site?" | "You're all set!" | "Your checkout session has expired. Please reload the page to continue." | "Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us." | "[percentage] GST due on any order above [threshold] along with an import entry transaction fee and MPI levy." | "[percentage] GST due on any order above [threshold]." | "business days" | "click to learn more" | "restricted items">(...[key, replacement]: TranslateParams<T>) => string;
34
34
  export { translate, translationStore, translationStoreUpdateLanguage };
@@ -18,6 +18,7 @@ import { StripeStoreContactOption } from "./components/store/checkout/stripe";
18
18
  import { TabItem, TabItems } from "./components/store/checkout/cart";
19
19
  import { LoadZonosParamsConfig } from "./scripts/_zonosBase";
20
20
  import { NotificationInit } from "./components/common/zonos-notification/zonos-notification";
21
+ import { ICountryJson } from "./types/ICountryJson";
21
22
  import { RestrictedItem } from "./types/hello/RestrictedItem";
22
23
  import { AppearanceConfig as AppearanceConfig1 } from "./components.d";
23
24
  import { RestStateType } from "./components/utils/restStateType";
@@ -37,6 +38,7 @@ export { StripeStoreContactOption } from "./components/store/checkout/stripe";
37
38
  export { TabItem, TabItems } from "./components/store/checkout/cart";
38
39
  export { LoadZonosParamsConfig } from "./scripts/_zonosBase";
39
40
  export { NotificationInit } from "./components/common/zonos-notification/zonos-notification";
41
+ export { ICountryJson } from "./types/ICountryJson";
40
42
  export { RestrictedItem } from "./types/hello/RestrictedItem";
41
43
  export { AppearanceConfig as AppearanceConfig1 } from "./components.d";
42
44
  export { RestStateType } from "./components/utils/restStateType";
@@ -677,7 +679,7 @@ export namespace Components {
677
679
  /**
678
680
  * Get the country list the hello widget's country select is using
679
681
  */
680
- "getCountryList": () => Promise<import("/home/runner/work/zonos-elements/zonos-elements/src/types/ICountryJson").ICountryJson | null>;
682
+ "getCountryList": () => Promise<ICountryJson | null>;
681
683
  /**
682
684
  * Force mobile styling instead of media query and use the passed location value
683
685
  * @default false
@@ -959,6 +961,36 @@ export namespace Components {
959
961
  */
960
962
  "spacing": GridSpacing;
961
963
  }
964
+ /**
965
+ * The idea is from
966
+ * @ref https://github.com/beenotung/stencil-virtual-scroll/blob/master/src/components/virtual-scroll-list/virtual-scroll-list.scss
967
+ * @ref https://github.dev/ionic-team/ionic-framework/blob/v6.7.5/core/src/components/virtual-scroll/virtual-scroll.tsx
968
+ */
969
+ interface ZonosVirtualScroll {
970
+ /**
971
+ * Height that is used as a fallback if height is not provided
972
+ */
973
+ "fallbackItemHeight": number;
974
+ /**
975
+ * Heights list of each item
976
+ */
977
+ "itemHeights": number[];
978
+ /**
979
+ * Width of each item
980
+ */
981
+ "itemWidth"?: number;
982
+ /**
983
+ * Render item
984
+ */
985
+ "renderItem": (
986
+ itemIndex: number,
987
+ ) =>
988
+ | HTMLElement
989
+ | Promise<HTMLElement>
990
+ | HTMLElement[]
991
+ | Promise<HTMLElement[]>
992
+ | Promise<HTMLElement>[];
993
+ }
962
994
  }
963
995
  export interface ZonosAddressCustomEvent<T> extends CustomEvent<T> {
964
996
  detail: T;
@@ -1474,6 +1506,17 @@ declare global {
1474
1506
  prototype: HTMLZonosVStackElement;
1475
1507
  new (): HTMLZonosVStackElement;
1476
1508
  };
1509
+ /**
1510
+ * The idea is from
1511
+ * @ref https://github.com/beenotung/stencil-virtual-scroll/blob/master/src/components/virtual-scroll-list/virtual-scroll-list.scss
1512
+ * @ref https://github.dev/ionic-team/ionic-framework/blob/v6.7.5/core/src/components/virtual-scroll/virtual-scroll.tsx
1513
+ */
1514
+ interface HTMLZonosVirtualScrollElement extends Components.ZonosVirtualScroll, HTMLStencilElement {
1515
+ }
1516
+ var HTMLZonosVirtualScrollElement: {
1517
+ prototype: HTMLZonosVirtualScrollElement;
1518
+ new (): HTMLZonosVirtualScrollElement;
1519
+ };
1477
1520
  interface HTMLElementTagNameMap {
1478
1521
  "zonos-address": HTMLZonosAddressElement;
1479
1522
  "zonos-address-display": HTMLZonosAddressDisplayElement;
@@ -1522,6 +1565,7 @@ declare global {
1522
1565
  "zonos-text": HTMLZonosTextElement;
1523
1566
  "zonos-tooltip": HTMLZonosTooltipElement;
1524
1567
  "zonos-v-stack": HTMLZonosVStackElement;
1568
+ "zonos-virtual-scroll": HTMLZonosVirtualScrollElement;
1525
1569
  }
1526
1570
  }
1527
1571
  declare namespace LocalJSX {
@@ -2438,6 +2482,36 @@ declare namespace LocalJSX {
2438
2482
  */
2439
2483
  "spacing"?: GridSpacing;
2440
2484
  }
2485
+ /**
2486
+ * The idea is from
2487
+ * @ref https://github.com/beenotung/stencil-virtual-scroll/blob/master/src/components/virtual-scroll-list/virtual-scroll-list.scss
2488
+ * @ref https://github.dev/ionic-team/ionic-framework/blob/v6.7.5/core/src/components/virtual-scroll/virtual-scroll.tsx
2489
+ */
2490
+ interface ZonosVirtualScroll {
2491
+ /**
2492
+ * Height that is used as a fallback if height is not provided
2493
+ */
2494
+ "fallbackItemHeight": number;
2495
+ /**
2496
+ * Heights list of each item
2497
+ */
2498
+ "itemHeights": number[];
2499
+ /**
2500
+ * Width of each item
2501
+ */
2502
+ "itemWidth"?: number;
2503
+ /**
2504
+ * Render item
2505
+ */
2506
+ "renderItem": (
2507
+ itemIndex: number,
2508
+ ) =>
2509
+ | HTMLElement
2510
+ | Promise<HTMLElement>
2511
+ | HTMLElement[]
2512
+ | Promise<HTMLElement[]>
2513
+ | Promise<HTMLElement>[];
2514
+ }
2441
2515
  interface IntrinsicElements {
2442
2516
  "zonos-address": ZonosAddress;
2443
2517
  "zonos-address-display": ZonosAddressDisplay;
@@ -2486,6 +2560,7 @@ declare namespace LocalJSX {
2486
2560
  "zonos-text": ZonosText;
2487
2561
  "zonos-tooltip": ZonosTooltip;
2488
2562
  "zonos-v-stack": ZonosVStack;
2563
+ "zonos-virtual-scroll": ZonosVirtualScroll;
2489
2564
  }
2490
2565
  }
2491
2566
  export { LocalJSX as JSX };
@@ -2539,6 +2614,12 @@ declare module "@stencil/core" {
2539
2614
  "zonos-text": LocalJSX.ZonosText & JSXBase.HTMLAttributes<HTMLZonosTextElement>;
2540
2615
  "zonos-tooltip": LocalJSX.ZonosTooltip & JSXBase.HTMLAttributes<HTMLZonosTooltipElement>;
2541
2616
  "zonos-v-stack": LocalJSX.ZonosVStack & JSXBase.HTMLAttributes<HTMLZonosVStackElement>;
2617
+ /**
2618
+ * The idea is from
2619
+ * @ref https://github.com/beenotung/stencil-virtual-scroll/blob/master/src/components/virtual-scroll-list/virtual-scroll-list.scss
2620
+ * @ref https://github.dev/ionic-team/ionic-framework/blob/v6.7.5/core/src/components/virtual-scroll/virtual-scroll.tsx
2621
+ */
2622
+ "zonos-virtual-scroll": LocalJSX.ZonosVirtualScroll & JSXBase.HTMLAttributes<HTMLZonosVirtualScrollElement>;
2542
2623
  }
2543
2624
  }
2544
2625
  }
@@ -18,6 +18,7 @@ export declare const formattedUrl: ({ branchName, inCI: _inCI, inVercel: _inVerc
18
18
  declare const envClientSchema: z.ZodObject<{
19
19
  NEXT_PUBLIC_FLAG_URL: z.ZodString;
20
20
  NEXT_PUBLIC_ZONOS_API_KEY: z.ZodString;
21
+ NEXT_PUBLIC_ZONOS_CDNJS_CDN_URL: z.ZodString;
21
22
  NEXT_PUBLIC_ZONOS_CDN_URL: z.ZodString;
22
23
  NEXT_PUBLIC_ZONOS_JS_DELIVR_CDN_URL: z.ZodString;
23
24
  NEXT_PUBLIC_ZONOS_PACKAGE_VERSION: z.ZodString;
@@ -26,6 +27,7 @@ declare const envClientSchema: z.ZodObject<{
26
27
  }, "strip", z.ZodTypeAny, {
27
28
  NEXT_PUBLIC_FLAG_URL: string;
28
29
  NEXT_PUBLIC_ZONOS_API_KEY: string;
30
+ NEXT_PUBLIC_ZONOS_CDNJS_CDN_URL: string;
29
31
  NEXT_PUBLIC_ZONOS_CDN_URL: string;
30
32
  NEXT_PUBLIC_ZONOS_JS_DELIVR_CDN_URL: string;
31
33
  NEXT_PUBLIC_ZONOS_PACKAGE_VERSION: string;
@@ -34,6 +36,7 @@ declare const envClientSchema: z.ZodObject<{
34
36
  }, {
35
37
  NEXT_PUBLIC_FLAG_URL: string;
36
38
  NEXT_PUBLIC_ZONOS_API_KEY: string;
39
+ NEXT_PUBLIC_ZONOS_CDNJS_CDN_URL: string;
37
40
  NEXT_PUBLIC_ZONOS_CDN_URL: string;
38
41
  NEXT_PUBLIC_ZONOS_JS_DELIVR_CDN_URL: string;
39
42
  NEXT_PUBLIC_ZONOS_PACKAGE_VERSION: string;
@@ -45,6 +48,7 @@ export interface Env extends z.infer<typeof envClientSchema> {
45
48
  export declare const env: Readonly<{
46
49
  NEXT_PUBLIC_FLAG_URL: string;
47
50
  NEXT_PUBLIC_ZONOS_API_KEY: string;
51
+ NEXT_PUBLIC_ZONOS_CDNJS_CDN_URL: string;
48
52
  NEXT_PUBLIC_ZONOS_CDN_URL: string;
49
53
  NEXT_PUBLIC_ZONOS_JS_DELIVR_CDN_URL: string;
50
54
  NEXT_PUBLIC_ZONOS_PACKAGE_VERSION: string;
@@ -1,7 +1,7 @@
1
- export type InjectScriptType = 'vercel' | 'jsdelivr' | 'unpkg';
2
- export declare const fallbackList: InjectScriptType[];
1
+ export declare const fallbackList: readonly ["jsdelivr", "cdnjs", "unpkg", "vercel"];
2
+ export type InjectScriptType = (typeof fallbackList)[number];
3
3
  /**
4
4
  * Get the next cdn type in the fallback list
5
5
  * @param currentCdnType The current cdn type that want to get the next fallback url
6
6
  */
7
- export declare const getNextFallbackUrl: (currentCdnType: InjectScriptType) => InjectScriptType;
7
+ export declare const getNextFallbackUrl: (currentCdnType: InjectScriptType) => "jsdelivr" | "cdnjs" | "unpkg" | "vercel";
@@ -1,4 +1,4 @@
1
- type LoadEventName = 'vercel' | 'jsdelivr' | 'unpkg';
1
+ type LoadEventName = 'vercel' | 'jsdelivr' | 'unpkg' | 'cdnjs';
2
2
  export type LogLoadScriptRequestBody = {
3
3
  cache: 'hit' | 'miss';
4
4
  cdnLoadTime?: number;
@@ -1 +1 @@
1
- import{l as e,a as n}from"./p-eaa335e1.js";const t=["jsdelivr","unpkg","vercel"],o=e=>{const n=t.indexOf(e);return t[n+1]||null},s="https://js.stripe.com/v3",r=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,i="loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used";let l=null;const c=Promise.resolve().then((()=>{return e=null,null!==l||(l=new Promise(((t,o)=>{if("undefined"!=typeof window&&"undefined"!=typeof document)if(window.Stripe&&e&&console.warn(i),window.Stripe)t(window.Stripe);else try{let l=(()=>{const e=document.querySelectorAll(`script[src^="${s}"]`);for(let n=0;n<e.length;n++){const t=e[n];if(t&&r.test(t.src))return t}return null})();l&&e?console.warn(i):l||(l=(e=>{const t=e&&!e.advancedFraudSignals?"?advancedFraudSignals=false":"",o=document.createElement("script");o.src=`${s}${t}`;const r=document.head||document.body;return r?(r.appendChild(o),o):(n("Expected document.body not to be null. Stripe.js requires a <body> element."),null)})(e)),null==l||l.addEventListener("load",(()=>{window.Stripe?t(window.Stripe):o(new Error("Stripe.js not available"))})),null==l||l.addEventListener("error",(()=>{o(new Error("Failed to load Stripe.js"))}))}catch(e){return void o(e)}else t(null)}))),l;var e}));let d=!1;var u;c.catch((e=>{d||console.warn(e)}));const a=(()=>{if("undefined"==typeof document)return null;const e=document.querySelector('script[src*="/zonos.js"]'),{currentLoadScriptUrl:n,isWhiteListed:t}=(({loadScriptSrc:e})=>{if(!e)return{currentLoadScriptUrl:"",isForceLoadVersionDomain:!1,isWhiteListed:!1};const n=new URL(e).origin,t=["dev.elements.zonos.com",".js.zonos.com","zonos-elements-test-git","zonos-elements-git"].some((e=>n.includes(e))),o=["qa.js.zonos.com"].some((e=>n.includes(e)));return{currentLoadScriptUrl:n,isForceLoadVersionDomain:o,isWhiteListed:t}})({loadScriptSrc:null==e?void 0:e.src});return t?n:null})(),m="https://v1.3.40.js.zonos.com",p=a||"https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.40",w="jsdelivr",f="https://rsms.me",h="https://fonts.googleapis.com",v=/^https:\/\/rsms\.me\/inter\/inter\.css(.*)$/;class y{}u=y,y.doneInit=!1,y.debug="undefined"!=typeof window&&!!window.location.search.match(/\?.*(&*)zonosDebug=1/),y.zonosConversionTest="undefined"!=typeof window&&!!window.location.search.match(/\?.*(&*)zonosConversionTest/),y._paypalMockResponse=null,y.isBigCommerce=!1,y.isNpm=!0,y.zonosQaUrl=null,y.version="v1.3.40",y.modeAlerted=!1,y.tempCartData=null,y.paypal=null,y.getCurrentTimestamp=()=>(new Date).getTime(),y.zonosController=null,y.init=async({appearance:t,checkoutSettings:o,currencyConverter:s,helloSettings:r,onCountryChange:i,overrideCurrencyFormat:l,storeId:c,zonosApiKey:d})=>{u.doneInit||(e(`====== ZONOS DEBUG MODE: on (${u.version}) ======`),d?(u.zonosApiKey=d,u.storeId=c,e("init zonos"),u.injectZonosCdn(),u.injectZonosCss(),u.injectFonts(),u.injectController({config:{appearance:t,checkoutSettings:o,currencyConverter:s,helloSettings:r,onCountryChange:i,overrideCurrencyFormat:l},zonosApiKey:d}),u.doneInit=!0):n("Missing Zonos API key"))},y.displayCurrency=()=>{const e=document.querySelector("zonos-hello");e&&e.displayCurrency()},y.openHelloDialog=e=>{const n=document.querySelector("zonos-hello");n&&n.openHelloDialog(null==e||e)},y.showNotification=e=>{var n;null===(n=u.zonosController)||void 0===n||n.showNotification(e)},y.updateOrganizationName=e=>{var n;null===(n=u.zonosController)||void 0===n||n.updateOrganizationName(e)},y.disablePlaceOrderButtons=({autoEnable:e=!0,config:n,disable:t,placeOrderButtonSelector:o})=>{var s;if(!(null===(s=n.checkoutSettings)||void 0===s?void 0:s.disablePlaceOrderButtonActivation)&&o){const n=document.querySelectorAll(o),s=e=>{e.target.getAttribute("disabled")&&(e.preventDefault(),e.stopPropagation())};n.forEach((e=>{e.getAttribute("data-zonos-checkout-attached")||(t?(e.setAttribute("disabled","true"),e.addEventListener("click",s)):(e.removeAttribute("disabled"),e.removeEventListener("click",s)))})),e&&t&&setTimeout((()=>{n.forEach((e=>{e.removeAttribute("disabled"),e.removeEventListener("click",s)}))}),5e3)}},y.injectController=({config:t,zonosApiKey:o})=>{var s;if(document.querySelector("zonos-controller"))return;if(null===(s=t.checkoutSettings)||void 0===s?void 0:s.placeOrderButtonSelector){const e=t.checkoutSettings.placeOrderButtonSelector;u.disablePlaceOrderButtons({config:t,disable:!0,placeOrderButtonSelector:e}),new MutationObserver((()=>{u.disablePlaceOrderButtons({config:t,disable:!0,placeOrderButtonSelector:e})})).observe(document.body,{childList:!0,subtree:!0})}const r=document.createElement("zonos-controller");r.config=t,r.zonosApiKey=o,r.addEventListener("stripeInitEvent",(async t=>{const{detail:o}=t;e("loading Stripe");const s=await(async(...e)=>{d=!0;const n=Date.now();return c.then((t=>((e,n,t)=>{if(null===e)return null;const o=e.apply(void 0,n);return((e,n)=>{e&&e._registerWrapper&&e._registerWrapper({name:"stripe-js",startTime:n})})(o,t),o})(t,e,n)))})(o.publishableKey);s?(window.Zonos.stripe=s,r.initCheckoutElement(s)):n("API seems to be invalid or missing. Failed to load Stripe")})),document.body.appendChild(r),u.zonosController=r,e("Zonos controller injected!")},y.injectScript=({cdnType:t,isModule:s,theRestUrl:r})=>{const i=`${u.getZonosUrl(t)}/${r}`;if(document.querySelector(`script[src="${i}"]`))return void e(`Zonos script "${i}" already exists in the document`,"warn");const l=document.head||document.body,c=document.createElement("script");s?c.type="module":c.noModule=!0,c.src=i,c.crossOrigin="anonymous",c.onerror=()=>{n(`Failed to load ${c.src}`);const e=o(t);e&&u.injectScript({cdnType:e,isModule:s,theRestUrl:r})},l.appendChild(c)},y.getZonosUrl=n=>{const t=()=>{switch(n){case"jsdelivr":return p;case"unpkg":return"https://unpkg.com/@zonos/elements@1.3.40";default:return m}};return u.isNpm&&(()=>{if("undefined"==typeof window)return null;const n=(e=>{if(!e)return null;const n=new URL(e).searchParams.get("zonosQaUrl");return n?/[^a-zA-Z0-9-_]+/.test(n)?null:n:null})(window.location.href);if(!n&&"dev.demo.elements.zonos.com"===window.location.hostname)return"https://dev.elements.zonos.com";if(!n)return null;if("dev-elements"===n)return"https://dev.elements.zonos.com";const t=`https://${n}.preview.js.zonos.com`;return e(`[ZONOS-WARNING] using '${t}' for loading script`,"warn"),fetch(t).then((()=>{window.sessionStorage.removeItem("zonos--checkout-session-id"),window.sessionStorage.removeItem("zonos--client-secret")})).catch((()=>{alert(`[ZONOS-WARNING] '${t}' IS NO LONGER AVAILABLE. REMOVING zonosQaUrl PARAM AND RELOADING THE PAGE`);const e=new URLSearchParams(window.location.search);e.delete("zonosQaUrl");const{pathname:n}=window.location,o=`${n}?${e.toString()}`;return window.history.replaceState(window.history.state,"",o),window.location.reload(),null})),t})()||t()},y.injectZonosCdn=()=>{u.injectScript({cdnType:w,isModule:!0,theRestUrl:"dist/zonos-elements/zonos-elements.esm.js"}),u.injectScript({cdnType:w,isModule:!1,theRestUrl:"dist/zonos-elements/zonos-elements.js"}),e("Zonos cdn script injected!")},y.injectStylesheet=({cdnType:e,theRestUrl:t})=>{const s=u.getZonosUrl(e),r=document.head||document.body,i=document.createElement("link");i.rel="preconnect",i.href=`${m}/`,r.appendChild(i);const l=document.createElement("link");l.rel="stylesheet",l.href=`${s}/${t}`,l.onerror=()=>{n(`Failed to load ${l.href}`);const s=o(e);s&&u.injectStylesheet({cdnType:s,theRestUrl:t})},r.appendChild(l)},y.injectZonosCss=()=>{document.querySelector('link[rel="stylesheet"][href*="/dist/zonos-elements/zonos-elements.css"]')?e("Zonos style links already injected","warn"):(u.injectStylesheet({cdnType:w,theRestUrl:"dist/zonos-elements/zonos-elements.css"}),e("Zonos style css injected!"))},y.injectFonts=()=>{if((()=>{const e=document.querySelectorAll(`link[rel="stylesheet"][href^="${f}"]`);for(let n=0;n<e.length;n++){const t=e[n];if(t&&!v.test(t.href))return t}return null})())return void e("Inter font already injected","warn");const n=document.head||document.body,t=document.createElement("link");t.rel="preconnect",t.href=f,n.appendChild(t);const o=document.createElement("link");o.rel="stylesheet",o.href=`${f}/inter/inter.css`,n.appendChild(o),e("Zonos font injected!")},y.setupGoogleFont=e=>{var n;null===(n=u.zonosController)||void 0===n||n.setupGoogleFont(e)},y.injectSupportGoogleFont=n=>{var t;e(`[FONT] injecting ${n}`);const o=null===(t=n.match(/family=(.*?):/))||void 0===t?void 0:t[1],s=document.head||document.body;if(!document.querySelector(`link[rel="preconnect"][href^="${h}"]`)){const e=document.createElement("link");e.rel="preconnect",e.href=h,s.appendChild(e)}if(document.querySelector(`link[rel="stylesheet"][href="${n}"]`))return void e(`[FONT] ${o} font already injected`,"warn");const r=document.createElement("link");r.rel="stylesheet",r.href=n,s.appendChild(r),e(`[FONT] ${o} font injected!`)};export{y as Zonos}
1
+ import{l as e,a as n}from"./p-eaa335e1.js";const t=["jsdelivr","cdnjs","unpkg","vercel"],o=e=>{const n=t.indexOf(e);return t[n+1]||null},s="https://js.stripe.com/v3",r=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,i="loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used";let l=null;const c=Promise.resolve().then((()=>{return e=null,null!==l||(l=new Promise(((t,o)=>{if("undefined"!=typeof window&&"undefined"!=typeof document)if(window.Stripe&&e&&console.warn(i),window.Stripe)t(window.Stripe);else try{let l=(()=>{const e=document.querySelectorAll(`script[src^="${s}"]`);for(let n=0;n<e.length;n++){const t=e[n];if(t&&r.test(t.src))return t}return null})();l&&e?console.warn(i):l||(l=(e=>{const t=e&&!e.advancedFraudSignals?"?advancedFraudSignals=false":"",o=document.createElement("script");o.src=`${s}${t}`;const r=document.head||document.body;return r?(r.appendChild(o),o):(n("Expected document.body not to be null. Stripe.js requires a <body> element."),null)})(e)),null==l||l.addEventListener("load",(()=>{window.Stripe?t(window.Stripe):o(new Error("Stripe.js not available"))})),null==l||l.addEventListener("error",(()=>{o(new Error("Failed to load Stripe.js"))}))}catch(e){return void o(e)}else t(null)}))),l;var e}));let d=!1;var u;c.catch((e=>{d||console.warn(e)}));const a=(()=>{if("undefined"==typeof document)return null;const e=document.querySelector('script[src*="/zonos.js"]'),{currentLoadScriptUrl:n,isWhiteListed:t}=(({loadScriptSrc:e})=>{if(!e)return{currentLoadScriptUrl:"",isForceLoadVersionDomain:!1,isWhiteListed:!1};const n=new URL(e).origin,t=["dev.elements.zonos.com",".js.zonos.com","zonos-elements-test-git","zonos-elements-git"].some((e=>n.includes(e))),o=["qa.js.zonos.com"].some((e=>n.includes(e)));return{currentLoadScriptUrl:n,isForceLoadVersionDomain:o,isWhiteListed:t}})({loadScriptSrc:null==e?void 0:e.src});return t?n:null})(),m="https://v1.3.42.js.zonos.com",p=a||"https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.42",w="jsdelivr",f="https://rsms.me",h="https://fonts.googleapis.com",v=/^https:\/\/rsms\.me\/inter\/inter\.css(.*)$/;class y{}u=y,y.doneInit=!1,y.debug="undefined"!=typeof window&&!!window.location.search.match(/\?.*(&*)zonosDebug=1/),y.zonosConversionTest="undefined"!=typeof window&&!!window.location.search.match(/\?.*(&*)zonosConversionTest/),y._paypalMockResponse=null,y.isBigCommerce=!1,y.isNpm=!0,y.zonosQaUrl=null,y.version="v1.3.42",y.modeAlerted=!1,y.tempCartData=null,y.paypal=null,y.getCurrentTimestamp=()=>(new Date).getTime(),y.zonosController=null,y.init=async({appearance:t,checkoutSettings:o,currencyConverter:s,helloSettings:r,onCountryChange:i,overrideCurrencyFormat:l,storeId:c,zonosApiKey:d})=>{u.doneInit||(e(`====== ZONOS DEBUG MODE: on (${u.version}) ======`),d?(u.zonosApiKey=d,u.storeId=c,e("init zonos"),u.injectZonosCdn(),u.injectZonosCss(),u.injectFonts(),u.injectController({config:{appearance:t,checkoutSettings:o,currencyConverter:s,helloSettings:r,onCountryChange:i,overrideCurrencyFormat:l},zonosApiKey:d}),u.doneInit=!0):n("Missing Zonos API key"))},y.displayCurrency=()=>{const e=document.querySelector("zonos-hello");e&&e.displayCurrency()},y.openHelloDialog=e=>{const n=document.querySelector("zonos-hello");n&&n.openHelloDialog(null==e||e)},y.showNotification=e=>{var n;null===(n=u.zonosController)||void 0===n||n.showNotification(e)},y.updateOrganizationName=e=>{var n;null===(n=u.zonosController)||void 0===n||n.updateOrganizationName(e)},y.disablePlaceOrderButtons=({autoEnable:e=!0,config:n,disable:t,placeOrderButtonSelector:o})=>{var s;if(!(null===(s=n.checkoutSettings)||void 0===s?void 0:s.disablePlaceOrderButtonActivation)&&o){const n=document.querySelectorAll(o),s=e=>{e.target.getAttribute("disabled")&&(e.preventDefault(),e.stopPropagation())};n.forEach((e=>{e.getAttribute("data-zonos-checkout-attached")||(t?(e.setAttribute("disabled","true"),e.addEventListener("click",s)):(e.removeAttribute("disabled"),e.removeEventListener("click",s)))})),e&&t&&setTimeout((()=>{n.forEach((e=>{e.removeAttribute("disabled"),e.removeEventListener("click",s)}))}),5e3)}},y.injectController=({config:t,zonosApiKey:o})=>{var s;if(document.querySelector("zonos-controller"))return;if(null===(s=t.checkoutSettings)||void 0===s?void 0:s.placeOrderButtonSelector){const e=t.checkoutSettings.placeOrderButtonSelector;u.disablePlaceOrderButtons({config:t,disable:!0,placeOrderButtonSelector:e}),new MutationObserver((()=>{u.disablePlaceOrderButtons({config:t,disable:!0,placeOrderButtonSelector:e})})).observe(document.body,{childList:!0,subtree:!0})}const r=document.createElement("zonos-controller");r.config=t,r.zonosApiKey=o,r.addEventListener("stripeInitEvent",(async t=>{const{detail:o}=t;e("loading Stripe");const s=await(async(...e)=>{d=!0;const n=Date.now();return c.then((t=>((e,n,t)=>{if(null===e)return null;const o=e.apply(void 0,n);return((e,n)=>{e&&e._registerWrapper&&e._registerWrapper({name:"stripe-js",startTime:n})})(o,t),o})(t,e,n)))})(o.publishableKey);s?(window.Zonos.stripe=s,r.initCheckoutElement(s)):n("API seems to be invalid or missing. Failed to load Stripe")})),document.body.appendChild(r),u.zonosController=r,e("Zonos controller injected!")},y.injectScript=({cdnType:t,isModule:s,theRestUrl:r})=>{const i=`${u.getZonosUrl(t)}/${r}`;if(document.querySelector(`script[src="${i}"]`))return void e(`Zonos script "${i}" already exists in the document`,"warn");const l=document.head||document.body,c=document.createElement("script");s?c.type="module":c.noModule=!0,c.src=i,c.crossOrigin="anonymous",c.onerror=()=>{n(`Failed to load ${c.src}`);const e=o(t);e&&u.injectScript({cdnType:e,isModule:s,theRestUrl:r})},l.appendChild(c)},y.getZonosUrl=n=>{const t=()=>{switch(n){case"jsdelivr":return p;case"unpkg":return"https://unpkg.com/@zonos/elements@1.3.42";case"cdnjs":return"https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.42";case"vercel":return m}};return u.isNpm&&(()=>{const n=window&&window.location.href.includes("forceLoadCdn");if("undefined"==typeof window||n)return null;const t=(e=>{if(!e)return null;const n=new URL(e).searchParams.get("zonosQaUrl");return n?/[^a-zA-Z0-9-_]+/.test(n)?null:n:null})(window.location.href),o="https://v1.3.42.js.zonos.com";if(!t&&o.includes("test."))return o;if(!t&&"dev.demo.elements.zonos.com"===window.location.hostname)return"https://dev.elements.zonos.com";if(!t)return null;if("dev-elements"===t)return"https://dev.elements.zonos.com";const s=`https://${t}.preview.js.zonos.com`;return e(`[ZONOS-WARNING] using '${s}' for loading script`,"warn"),fetch(s).then((()=>{window.sessionStorage.removeItem("zonos--checkout-session-id"),window.sessionStorage.removeItem("zonos--client-secret")})).catch((()=>{alert(`[ZONOS-WARNING] '${s}' IS NO LONGER AVAILABLE. REMOVING zonosQaUrl PARAM AND RELOADING THE PAGE`);const e=new URLSearchParams(window.location.search);e.delete("zonosQaUrl");const{pathname:n}=window.location,t=`${n}?${e.toString()}`;return window.history.replaceState(window.history.state,"",t),window.location.reload(),null})),s})()||t()},y.injectZonosCdn=()=>{u.injectScript({cdnType:w,isModule:!0,theRestUrl:"dist/zonos-elements/zonos-elements.esm.js"}),u.injectScript({cdnType:w,isModule:!1,theRestUrl:"dist/zonos-elements/zonos-elements.js"}),e("Zonos cdn script injected!")},y.injectStylesheet=({cdnType:e,theRestUrl:t})=>{const s=u.getZonosUrl(e),r=document.head||document.body,i=document.createElement("link");i.rel="preconnect",i.href=`${m}/`,r.appendChild(i);const l=document.createElement("link");l.rel="stylesheet",l.href=`${s}/${t}`,l.onerror=()=>{n(`Failed to load ${l.href}`);const s=o(e);s&&u.injectStylesheet({cdnType:s,theRestUrl:t})},r.appendChild(l)},y.injectZonosCss=()=>{document.querySelector('link[rel="stylesheet"][href*="/dist/zonos-elements/zonos-elements.css"]')?e("Zonos style links already injected","warn"):(u.injectStylesheet({cdnType:w,theRestUrl:"dist/zonos-elements/zonos-elements.css"}),e("Zonos style css injected!"))},y.injectFonts=()=>{if((()=>{const e=document.querySelectorAll(`link[rel="stylesheet"][href^="${f}"]`);for(let n=0;n<e.length;n++){const t=e[n];if(t&&!v.test(t.href))return t}return null})())return void e("Inter font already injected","warn");const n=document.head||document.body,t=document.createElement("link");t.rel="preconnect",t.href=f,n.appendChild(t);const o=document.createElement("link");o.rel="stylesheet",o.href=`${f}/inter/inter.css`,n.appendChild(o),e("Zonos font injected!")},y.setupGoogleFont=e=>{var n;null===(n=u.zonosController)||void 0===n||n.setupGoogleFont(e)},y.injectSupportGoogleFont=n=>{var t;e(`[FONT] injecting ${n}`);const o=null===(t=n.match(/family=(.*?):/))||void 0===t?void 0:t[1],s=document.head||document.body;if(!document.querySelector(`link[rel="preconnect"][href^="${h}"]`)){const e=document.createElement("link");e.rel="preconnect",e.href=h,s.appendChild(e)}if(document.querySelector(`link[rel="stylesheet"][href="${n}"]`))return void e(`[FONT] ${o} font already injected`,"warn");const r=document.createElement("link");r.rel="stylesheet",r.href=n,s.appendChild(r),e(`[FONT] ${o} font injected!`)};export{y as Zonos}
@@ -1 +1 @@
1
- System.register(["./p-b55b557a.system.js","./p-d95cb86a.system.js","./p-23e7c655.system.js"],(function(t){"use strict";var s,o,e,i,n,a;return{setters:[function(t){s=t.r;o=t.h;e=t.a;i=t.H},function(t){n=t.d},function(t){a=t.c}],execute:function(){var r=":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-inline-flexbox;display:inline-flex}:host img{-webkit-filter:var(--filter-color);filter:var(--filter-color);width:var(--width)}";var h=r;var f=t("zonos_logo",function(){function t(t){s(this,t);this.theme="LIGHT";this.width="auto"}t.prototype.render=function(){var t=this.theme==="DARK"?"invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%)":"whiteinvert(0%) sepia(100%) saturate(32%) hue-rotate(92deg) brightness(107%) contrast(107%)";return o(i,{key:"08ef20244bc204125a7a308efed42cd7fc86c885",class:a(["zonos--elements zonos--logo"]),style:{"--filter-color":t,"--font-family":n(),"--width":this.width}},o("img",{key:"9202f0619fa3874a19ca3050477719b19592d82a",alt:"Zonos Logo",src:e("./assets/ZonosLogo.png")}))};Object.defineProperty(t,"assetsDirs",{get:function(){return["assets"]},enumerable:false,configurable:true});return t}());f.style=h}}}));
1
+ System.register(["./p-fd061229.system.js","./p-539974db.system.js","./p-23e7c655.system.js"],(function(t){"use strict";var s,e,o,i,n,r;return{setters:[function(t){s=t.r;e=t.h;o=t.a;i=t.H},function(t){n=t.d},function(t){r=t.c}],execute:function(){var a=":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-inline-flexbox;display:inline-flex}:host img{-webkit-filter:var(--filter-color);filter:var(--filter-color);width:var(--width)}";var h=a;var f=t("zonos_logo",function(){function t(t){s(this,t);this.theme="LIGHT";this.width="auto"}t.prototype.render=function(){var t=this.theme==="DARK"?"invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%)":"whiteinvert(0%) sepia(100%) saturate(32%) hue-rotate(92deg) brightness(107%) contrast(107%)";return e(i,{key:"8737fef033ef8114ca67be72b2f598897a6929b3",class:r(["zonos--elements zonos--logo"]),style:{"--filter-color":t,"--font-family":n(),"--width":this.width}},e("img",{key:"d5a15f2f8f891f865c7eb46268ae2f113ad1d3b4",alt:"Zonos Logo",src:o("./assets/ZonosLogo.png")}))};Object.defineProperty(t,"assetsDirs",{get:function(){return["assets"]},enumerable:false,configurable:true});return t}());f.style=h}}}));
@@ -1 +1 @@
1
- import{g as n,f as t}from"./p-dd61b7a0.js";const r=n=>!("isConnected"in n)||n.isConnected,e=(()=>{let n;return(...t)=>{n&&clearTimeout(n),n=setTimeout((()=>{n=0,(n=>{for(let t of n.keys())n.set(t,n.get(t).filter(r))})(...t)}),2e3)}})(),o=n=>"function"==typeof n?n():n,i=(r,i)=>{const u=((n,t=((n,t)=>n!==t))=>{const r=o(n);let e=new Map(Object.entries(null!=r?r:{}));const i={dispose:[],get:[],set:[],reset:[]},u=()=>{var t;e=new Map(Object.entries(null!==(t=o(n))&&void 0!==t?t:{})),i.reset.forEach((n=>n()))},c=n=>(i.get.forEach((t=>t(n))),e.get(n)),a=(n,r)=>{const o=e.get(n);t(r,o,n)&&(e.set(n,r),i.set.forEach((t=>t(n,r,o))))},s="undefined"==typeof Proxy?{}:new Proxy(r,{get:(n,t)=>c(t),ownKeys:()=>Array.from(e.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(n,t)=>e.has(t),set:(n,t,r)=>(a(t,r),!0)}),f=(n,t)=>(i[n].push(t),()=>{((n,t)=>{const r=n.indexOf(t);r>=0&&(n[r]=n[n.length-1],n.length--)})(i[n],t)});return{state:s,get:c,set:a,on:f,onChange:(t,r)=>{const e=f("set",((n,e)=>{n===t&&r(e)})),i=f("reset",(()=>r(o(n)[t])));return()=>{e(),i()}},use:(...n)=>{const t=n.reduce(((n,t)=>(t.set&&n.push(f("set",t.set)),t.get&&n.push(f("get",t.get)),t.reset&&n.push(f("reset",t.reset)),t.dispose&&n.push(f("dispose",t.dispose)),n)),[]);return()=>t.forEach((n=>n()))},dispose:()=>{i.dispose.forEach((n=>n())),u()},reset:u,forceUpdate:n=>{const t=e.get(n);i.set.forEach((r=>r(n,t,t)))}}})(r,i);return u.use((()=>{if("function"!=typeof n)return{};const r=new Map;return{dispose:()=>r.clear(),get:t=>{const e=n();e&&((n,t,r)=>{const e=n.get(t);e?e.includes(r)||e.push(r):n.set(t,[r])})(r,t,e)},set:n=>{const o=r.get(n);o&&r.set(n,o.filter(t)),e(r)},reset:()=>{r.forEach((n=>n.forEach(t))),e(r)}}})()),u};var u="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},c=function(n,t){return n===t||n!=n&&t!=t},a=c,s=function(n,t){for(var r=n.length;r--;)if(a(n[r][0],t))return r;return-1},f=s,l=Array.prototype.splice,v=s,d=s,h=s;function b(n){var t=-1,r=null==n?0:n.length;for(this.clear();++t<r;){var e=n[t];this.set(e[0],e[1])}}b.prototype.clear=function(){this.__data__=[],this.size=0},b.prototype.delete=function(n){var t=this.__data__,r=f(t,n);return!(r<0||(r==t.length-1?t.pop():l.call(t,r,1),--this.size,0))},b.prototype.get=function(n){var t=this.__data__,r=v(t,n);return r<0?void 0:t[r][1]},b.prototype.has=function(n){return d(this.__data__,n)>-1},b.prototype.set=function(n,t){var r=this.__data__,e=h(r,n);return e<0?(++this.size,r.push([n,t])):r[e][1]=t,this};var p,y=b,g=y,j="object"==typeof u&&u&&u.Object===Object&&u,O="object"==typeof self&&self&&self.Object===Object&&self,m=j||O||Function("return this")(),S=m.Symbol,w=Object.prototype,_=w.hasOwnProperty,A=w.toString,E=S?S.toStringTag:void 0,D=Object.prototype.toString,T=S?S.toStringTag:void 0,L=function(n){return null==n?void 0===n?"[object Undefined]":"[object Null]":T&&T in Object(n)?function(n){var t=_.call(n,E),r=n[E];try{n[E]=void 0;var e=!0}catch(n){}var o=A.call(n);return e&&(t?n[E]=r:delete n[E]),o}(n):function(n){return D.call(n)}(n)},P=function(n){var t=typeof n;return null!=n&&("object"==t||"function"==t)},C=L,B=P,I=function(n){if(!B(n))return!1;var t=C(n);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},M=m["__core-js_shared__"],U=(p=/[^.]+$/.exec(M&&M.keys&&M.keys.IE_PROTO||""))?"Symbol(src)_1."+p:"",x=Function.prototype.toString,z=I,F=P,N=/^\[object .+?Constructor\]$/,R=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),$=function(n){return!(!F(n)||(t=n,U&&U in t))&&(z(n)?R:N).test(function(n){if(null!=n){try{return x.call(n)}catch(n){}try{return n+""}catch(n){}}return""}(n));var t},k=function(n,t){var r=function(n,t){return null==n?void 0:n[t]}(n,t);return $(r)?r:void 0},G=k(m,"Map"),H=k(Object,"create"),K=H,Y=H,V=Object.prototype.hasOwnProperty,q=H,J=Object.prototype.hasOwnProperty,Q=H;function W(n){var t=-1,r=null==n?0:n.length;for(this.clear();++t<r;){var e=n[t];this.set(e[0],e[1])}}W.prototype.clear=function(){this.__data__=K?K(null):{},this.size=0},W.prototype.delete=function(n){var t=this.has(n)&&delete this.__data__[n];return this.size-=t?1:0,t},W.prototype.get=function(n){var t=this.__data__;if(Y){var r=t[n];return"__lodash_hash_undefined__"===r?void 0:r}return V.call(t,n)?t[n]:void 0},W.prototype.has=function(n){var t=this.__data__;return q?void 0!==t[n]:J.call(t,n)},W.prototype.set=function(n,t){var r=this.__data__;return this.size+=this.has(n)?0:1,r[n]=Q&&void 0===t?"__lodash_hash_undefined__":t,this};var X=W,Z=y,nn=G,tn=function(n,t){var r,e,o=n.__data__;return("string"==(e=typeof(r=t))||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==r:null===r)?o["string"==typeof t?"string":"hash"]:o.map},rn=tn,en=tn,on=tn,un=tn;function cn(n){var t=-1,r=null==n?0:n.length;for(this.clear();++t<r;){var e=n[t];this.set(e[0],e[1])}}cn.prototype.clear=function(){this.size=0,this.__data__={hash:new X,map:new(nn||Z),string:new X}},cn.prototype.delete=function(n){var t=rn(this,n).delete(n);return this.size-=t?1:0,t},cn.prototype.get=function(n){return en(this,n).get(n)},cn.prototype.has=function(n){return on(this,n).has(n)},cn.prototype.set=function(n,t){var r=un(this,n),e=r.size;return r.set(n,t),this.size+=r.size==e?0:1,this};var an=y,sn=G,fn=cn,ln=y,vn=function(n){var t=this.__data__,r=t.delete(n);return this.size=t.size,r},dn=function(n){return this.__data__.get(n)},hn=function(n){return this.__data__.has(n)};function bn(n){var t=this.__data__=new ln(n);this.size=t.size}bn.prototype.clear=function(){this.__data__=new g,this.size=0},bn.prototype.delete=vn,bn.prototype.get=dn,bn.prototype.has=hn,bn.prototype.set=function(n,t){var r=this.__data__;if(r instanceof an){var e=r.__data__;if(!sn||e.length<199)return e.push([n,t]),this.size=++r.size,this;r=this.__data__=new fn(e)}return r.set(n,t),this.size=r.size,this};var pn,yn,gn,jn,On,mn=bn,Sn=k,wn=function(){try{var n=Sn(Object,"defineProperty");return n({},"",{}),n}catch(n){}}(),_n=wn,An=function(n,t,r){"__proto__"==t&&_n?_n(n,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):n[t]=r},En=An,Dn=c,Tn=function(n,t,r){(void 0!==r&&!Dn(n[t],r)||void 0===r&&!(t in n))&&En(n,t,r)},Ln=function(n,t,r){for(var e=-1,o=Object(n),i=r(n),u=i.length;u--;){var c=i[++e];if(!1===t(o[c],c,o))break}return n},Pn={exports:{}};On=(jn=(gn=(yn=(pn=Pn.exports)&&!pn.nodeType&&pn)&&Pn&&!Pn.nodeType&&Pn)&&gn.exports===yn?m.Buffer:void 0)?jn.allocUnsafe:void 0,Pn.exports=function(n,t){if(t)return n.slice();var r=n.length,e=On?On(r):new n.constructor(r);return n.copy(e),e};var Cn,Bn,In=m.Uint8Array,Mn=P,Un=Object.create,xn=function(){function n(){}return function(t){if(!Mn(t))return{};if(Un)return Un(t);n.prototype=t;var r=new n;return n.prototype=void 0,r}}(),zn=(Cn=Object.getPrototypeOf,Bn=Object,function(n){return Cn(Bn(n))}),Fn=Object.prototype,Nn=function(n){var t=n&&n.constructor;return n===("function"==typeof t&&t.prototype||Fn)},Rn=xn,$n=zn,kn=Nn,Gn=function(n){return null!=n&&"object"==typeof n},Hn=L,Kn=Gn,Yn=function(n){return Kn(n)&&"[object Arguments]"==Hn(n)},Vn=Gn,qn=Object.prototype,Jn=qn.hasOwnProperty,Qn=qn.propertyIsEnumerable,Wn=Yn(function(){return arguments}())?Yn:function(n){return Vn(n)&&Jn.call(n,"callee")&&!Qn.call(n,"callee")},Xn=Array.isArray,Zn=function(n){return"number"==typeof n&&n>-1&&n%1==0&&n<=9007199254740991},nt=I,tt=Zn,rt=function(n){return null!=n&&tt(n.length)&&!nt(n)},et=rt,ot=Gn,it={exports:{}},ut=function(){return!1};!function(n,t){var r=t&&!t.nodeType&&t,e=r&&it&&!it.nodeType&&it,o=e&&e.exports===r?m.Buffer:void 0;it.exports=(o?o.isBuffer:void 0)||ut}(0,it.exports);var ct=L,at=zn,st=Gn,ft=Function.prototype.toString,lt=Object.prototype.hasOwnProperty,vt=ft.call(Object),dt=L,ht=Zn,bt=Gn,pt={};pt["[object Float32Array]"]=pt["[object Float64Array]"]=pt["[object Int8Array]"]=pt["[object Int16Array]"]=pt["[object Int32Array]"]=pt["[object Uint8Array]"]=pt["[object Uint8ClampedArray]"]=pt["[object Uint16Array]"]=pt["[object Uint32Array]"]=!0,pt["[object Arguments]"]=pt["[object Array]"]=pt["[object ArrayBuffer]"]=pt["[object Boolean]"]=pt["[object DataView]"]=pt["[object Date]"]=pt["[object Error]"]=pt["[object Function]"]=pt["[object Map]"]=pt["[object Number]"]=pt["[object Object]"]=pt["[object RegExp]"]=pt["[object Set]"]=pt["[object String]"]=pt["[object WeakMap]"]=!1;var yt={exports:{}};!function(n,t){var r=t&&!t.nodeType&&t,e=r&&n&&!n.nodeType&&n,o=e&&e.exports===r&&j.process,i=function(){try{return e&&e.require&&e.require("util").types||o&&o.binding&&o.binding("util")}catch(n){}}();n.exports=i}(yt,yt.exports);var gt,jt=function(n){return bt(n)&&ht(n.length)&&!!pt[dt(n)]},Ot=yt.exports,mt=Ot&&Ot.isTypedArray,St=mt?function(n){return function(t){return n(t)}}(mt):jt,wt=function(n,t){if(("constructor"!==t||"function"!=typeof n[t])&&"__proto__"!=t)return n[t]},_t=An,At=c,Et=Object.prototype.hasOwnProperty,Dt=function(n,t,r){var e=n[t];Et.call(n,t)&&At(e,r)&&(void 0!==r||t in n)||_t(n,t,r)},Tt=An,Lt=/^(?:0|[1-9]\d*)$/,Pt=function(n,t){var r=typeof n;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&Lt.test(n))&&n>-1&&n%1==0&&n<t},Ct=Wn,Bt=Xn,It=it.exports,Mt=Pt,Ut=St,xt=Object.prototype.hasOwnProperty,zt=P,Ft=Nn,Nt=Object.prototype.hasOwnProperty,Rt=function(n,t){var r=Bt(n),e=!r&&Ct(n),o=!r&&!e&&It(n),i=!r&&!e&&!o&&Ut(n),u=r||e||o||i,c=u?function(n,t){for(var r=-1,e=Array(n);++r<n;)e[r]=t(r);return e}(n.length,String):[],a=c.length;for(var s in n)!t&&!xt.call(n,s)||u&&("length"==s||o&&("offset"==s||"parent"==s)||i&&("buffer"==s||"byteLength"==s||"byteOffset"==s)||Mt(s,a))||c.push(s);return c},$t=function(n){if(!zt(n))return function(n){var t=[];if(null!=n)for(var r in Object(n))t.push(r);return t}(n);var t=Ft(n),r=[];for(var e in n)("constructor"!=e||!t&&Nt.call(n,e))&&r.push(e);return r},kt=rt,Gt=function(n){return kt(n)?Rt(n,!0):$t(n)},Ht=Gt,Kt=Tn,Yt=Pn.exports,Vt=function(n,t){var r,e,o=t?(e=new(r=n.buffer).constructor(r.byteLength),new In(e).set(new In(r)),e):n.buffer;return new n.constructor(o,n.byteOffset,n.length)},qt=function(n,t){var r=-1,e=n.length;for(t||(t=Array(e));++r<e;)t[r]=n[r];return t},Jt=function(n){return"function"!=typeof n.constructor||kn(n)?{}:Rn($n(n))},Qt=Wn,Wt=Xn,Xt=function(n){return ot(n)&&et(n)},Zt=it.exports,nr=I,tr=P,rr=function(n){if(!st(n)||"[object Object]"!=ct(n))return!1;var t=at(n);if(null===t)return!0;var r=lt.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&ft.call(r)==vt},er=St,or=wt,ir=function(n){return function(n,t,r,e){var o=!r;r||(r={});for(var i=-1,u=t.length;++i<u;){var c=t[i],a=e?e(r[c],n[c],c,r,n):void 0;void 0===a&&(a=n[c]),o?Tt(r,c,a):Dt(r,c,a)}return r}(n,Ht(n))},ur=mn,cr=Tn,ar=Ln,sr=P,fr=Gt,lr=wt,vr=function(n){return n},dr=Math.max,hr=wn,br=Date.now,pr=function(n){var t=0,r=0;return function(){var e=br(),o=16-(e-r);if(r=e,o>0){if(++t>=800)return arguments[0]}else t=0;return n.apply(void 0,arguments)}}(hr?function(n,t){return hr(n,"toString",{configurable:!0,enumerable:!1,value:(r=t,function(){return r}),writable:!0});var r}:vr),yr=vr,gr=function(n,t,r){return t=dr(void 0===t?n.length-1:t,0),function(){for(var e=arguments,o=-1,i=dr(e.length-t,0),u=Array(i);++o<i;)u[o]=e[t+o];o=-1;for(var c=Array(t+1);++o<t;)c[o]=e[o];return c[t]=r(u),function(n,t,r){switch(r.length){case 0:return n.call(t);case 1:return n.call(t,r[0]);case 2:return n.call(t,r[0],r[1]);case 3:return n.call(t,r[0],r[1],r[2])}return n.apply(t,r)}(n,this,c)}},jr=pr,Or=c,mr=rt,Sr=Pt,wr=P,_r=function n(t,r,e,o,i){t!==r&&ar(r,(function(u,c){if(i||(i=new ur),sr(u))!function(n,t,r,e,o,i,u){var c=or(n,r),a=or(t,r),s=u.get(a);if(s)Kt(n,r,s);else{var f=i?i(c,a,r+"",n,t,u):void 0,l=void 0===f;if(l){var v=Wt(a),d=!v&&Zt(a),h=!v&&!d&&er(a);f=a,v||d||h?Wt(c)?f=c:Xt(c)?f=qt(c):d?(l=!1,f=Yt(a,!0)):h?(l=!1,f=Vt(a,!0)):f=[]:rr(a)||Qt(a)?(f=c,Qt(c)?f=ir(c):tr(c)&&!nr(c)||(f=Jt(a))):l=!1}l&&(u.set(a,f),o(f,a,e,i,u),u.delete(a)),Kt(n,r,f)}}(t,r,c,e,n,o,i);else{var a=o?o(lr(t,c),u,c+"",t,r,i):void 0;void 0===a&&(a=u),cr(t,c,a)}}),fr)},Ar=(gt=function(n,t,r){_r(n,t,r)},function(n,t){return jr(gr(n,t,yr),n+"")}((function(n,t){var r=-1,e=t.length,o=e>1?t[e-1]:void 0,i=e>2?t[2]:void 0;for(o=gt.length>3&&"function"==typeof o?(e--,o):void 0,i&&function(n,t,r){if(!wr(r))return!1;var e=typeof t;return!!("number"==e?mr(r)&&Sr(t,r.length):"string"==e&&t in r)&&Or(r[t],n)}(t[0],t[1],i)&&(o=e<3?void 0:o,e=1),n=Object(n);++r<e;){var u=t[r];u&&gt(n,u,r)}return n})));const Er=(n,t,...r)=>{const e=[n,t,...r].filter(Boolean);return Ar.apply(null,e)},{reset:Dr,state:Tr}=i((()=>({appearance:{colorPrimary:"white",fontFamily:"Inter",logoUrl:"",style:"ROUNDED",theme:"LIGHT",zonosAttribution:"DISABLED"},checkoutSettings:{allowedCharacterSets:"ALL",analyticsProviders:[],externalPaymentMethods:[],externalServiceTokens:[],mode:"TEST",orderNotifications:{abandonedCart:{delay:0,discountPercent:0,status:{active:"DISABLED",sendCopiesTo:[]}},orderCancelled:{active:"DISABLED",sendCopiesTo:[]},orderConfirmation:{active:"DISABLED",sendCopiesTo:[]},orderShipped:{active:"DISABLED",sendCopiesTo:[]}},organization:"",placeOrderButtonSelector:null,subscriptionStatus:"INACTIVE",successBehavior:"REDIRECT_TO_SUCCESS_PAGE",successRedirectUrl:"",visibilityStatus:"ENABLED"},currentHelloPage:"",helloSettings:{anchorElementSelector:"",cartUrlPattern:"",countryOverrideBehavior:"URL_PARAM",currencyBehavior:"ENABLED",currencyElementSelector:".money",excludedUrlPatterns:[],homepageUrlPattern:"",mobileLocation:"BOTTOM_RIGHT",mode:"LIVE",organization:"",peekMessageBehavior:"ENABLED",peekMessageDelay:0,productAddToCartElementSelector:"",productDescriptionElementSelector:"",productDetailUrlPattern:"",productListUrlPattern:"",productTitleElementSelector:"",restrictionBehavior:"DISABLED",showForCountries:"ONLY_SHIPPABLE"},loadedConfig:!1,organizationId:"",organizationName:"",sourceCurrency:"USD",storeId:null,stripeApiKey:"",zonosApiKey:"",zonosMode:null})));let Lr=null;const Pr=n=>"SYSTEM"===n?window.matchMedia("(prefers-color-scheme: dark)").matches?"DARK":"LIGHT":n,Cr=({overrideSettings:n,zonosSettings:t})=>{var r,e,o,i;Dr(),t&&(Lr=t);const u=Er(Tr.appearance,(null==Lr?void 0:Lr.appearanceSettings)||(null==t?void 0:t.appearanceSettings)||null,null==n?void 0:n.appearance);"SYSTEM"===u.theme&&(u.theme=Pr(u.theme)),Tr.appearance=u,Tr.checkoutSettings=Er(Tr.checkoutSettings,(null==Lr?void 0:Lr.checkoutSettings)||(null==t?void 0:t.checkoutSettings)||null,null==n?void 0:n.checkoutSettings),Tr.helloSettings=Er(Tr.helloSettings,(null==Lr?void 0:Lr.helloSettings)||(null==t?void 0:t.helloSettings)||null,null==n?void 0:n.helloSettings),Tr.loadedConfig=!0,Tr.organizationId=(null===(r=null==t?void 0:t.organization)||void 0===r?void 0:r.id)||"",Tr.organizationName=(null===(e=null==t?void 0:t.organization)||void 0===e?void 0:e.name)||"",Tr.storeId=(null===(i=null===(o=null==t?void 0:t.organization)||void 0===o?void 0:o.references)||void 0===i?void 0:i.storeId)||null,Tr.currencyConverter=null==n?void 0:n.currencyConverter,Tr.onCountryChange=null==n?void 0:n.onCountryChange,Tr.overrideCurrencyFormat=null==n?void 0:n.overrideCurrencyFormat},Br=()=>Tr.appearance.fontFamily||"Inter";export{m as _,u as a,Cr as b,i as c,Br as d,L as e,P as f,Pr as g,Gn as i,Er as m,Tr as z}
1
+ import{g as n,f as t}from"./p-5b7da777.js";const r=n=>!("isConnected"in n)||n.isConnected,e=(()=>{let n;return(...t)=>{n&&clearTimeout(n),n=setTimeout((()=>{n=0,(n=>{for(let t of n.keys())n.set(t,n.get(t).filter(r))})(...t)}),2e3)}})(),o=n=>"function"==typeof n?n():n,i=(r,i)=>{const u=((n,t=((n,t)=>n!==t))=>{const r=o(n);let e=new Map(Object.entries(null!=r?r:{}));const i={dispose:[],get:[],set:[],reset:[]},u=()=>{var t;e=new Map(Object.entries(null!==(t=o(n))&&void 0!==t?t:{})),i.reset.forEach((n=>n()))},c=n=>(i.get.forEach((t=>t(n))),e.get(n)),a=(n,r)=>{const o=e.get(n);t(r,o,n)&&(e.set(n,r),i.set.forEach((t=>t(n,r,o))))},s="undefined"==typeof Proxy?{}:new Proxy(r,{get:(n,t)=>c(t),ownKeys:()=>Array.from(e.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(n,t)=>e.has(t),set:(n,t,r)=>(a(t,r),!0)}),f=(n,t)=>(i[n].push(t),()=>{((n,t)=>{const r=n.indexOf(t);r>=0&&(n[r]=n[n.length-1],n.length--)})(i[n],t)});return{state:s,get:c,set:a,on:f,onChange:(t,r)=>{const e=f("set",((n,e)=>{n===t&&r(e)})),i=f("reset",(()=>r(o(n)[t])));return()=>{e(),i()}},use:(...n)=>{const t=n.reduce(((n,t)=>(t.set&&n.push(f("set",t.set)),t.get&&n.push(f("get",t.get)),t.reset&&n.push(f("reset",t.reset)),t.dispose&&n.push(f("dispose",t.dispose)),n)),[]);return()=>t.forEach((n=>n()))},dispose:()=>{i.dispose.forEach((n=>n())),u()},reset:u,forceUpdate:n=>{const t=e.get(n);i.set.forEach((r=>r(n,t,t)))}}})(r,i);return u.use((()=>{if("function"!=typeof n)return{};const r=new Map;return{dispose:()=>r.clear(),get:t=>{const e=n();e&&((n,t,r)=>{const e=n.get(t);e?e.includes(r)||e.push(r):n.set(t,[r])})(r,t,e)},set:n=>{const o=r.get(n);o&&r.set(n,o.filter(t)),e(r)},reset:()=>{r.forEach((n=>n.forEach(t))),e(r)}}})()),u};var u="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},c=function(n,t){return n===t||n!=n&&t!=t},a=c,s=function(n,t){for(var r=n.length;r--;)if(a(n[r][0],t))return r;return-1},f=s,l=Array.prototype.splice,v=s,d=s,h=s;function b(n){var t=-1,r=null==n?0:n.length;for(this.clear();++t<r;){var e=n[t];this.set(e[0],e[1])}}b.prototype.clear=function(){this.__data__=[],this.size=0},b.prototype.delete=function(n){var t=this.__data__,r=f(t,n);return!(r<0||(r==t.length-1?t.pop():l.call(t,r,1),--this.size,0))},b.prototype.get=function(n){var t=this.__data__,r=v(t,n);return r<0?void 0:t[r][1]},b.prototype.has=function(n){return d(this.__data__,n)>-1},b.prototype.set=function(n,t){var r=this.__data__,e=h(r,n);return e<0?(++this.size,r.push([n,t])):r[e][1]=t,this};var p,y=b,g=y,j="object"==typeof u&&u&&u.Object===Object&&u,O="object"==typeof self&&self&&self.Object===Object&&self,m=j||O||Function("return this")(),S=m.Symbol,w=Object.prototype,_=w.hasOwnProperty,A=w.toString,E=S?S.toStringTag:void 0,D=Object.prototype.toString,T=S?S.toStringTag:void 0,L=function(n){return null==n?void 0===n?"[object Undefined]":"[object Null]":T&&T in Object(n)?function(n){var t=_.call(n,E),r=n[E];try{n[E]=void 0;var e=!0}catch(n){}var o=A.call(n);return e&&(t?n[E]=r:delete n[E]),o}(n):function(n){return D.call(n)}(n)},P=function(n){var t=typeof n;return null!=n&&("object"==t||"function"==t)},C=L,B=P,I=function(n){if(!B(n))return!1;var t=C(n);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},M=m["__core-js_shared__"],U=(p=/[^.]+$/.exec(M&&M.keys&&M.keys.IE_PROTO||""))?"Symbol(src)_1."+p:"",x=Function.prototype.toString,z=I,F=P,N=/^\[object .+?Constructor\]$/,R=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),$=function(n){return!(!F(n)||(t=n,U&&U in t))&&(z(n)?R:N).test(function(n){if(null!=n){try{return x.call(n)}catch(n){}try{return n+""}catch(n){}}return""}(n));var t},k=function(n,t){var r=function(n,t){return null==n?void 0:n[t]}(n,t);return $(r)?r:void 0},G=k(m,"Map"),H=k(Object,"create"),K=H,Y=H,V=Object.prototype.hasOwnProperty,q=H,J=Object.prototype.hasOwnProperty,Q=H;function W(n){var t=-1,r=null==n?0:n.length;for(this.clear();++t<r;){var e=n[t];this.set(e[0],e[1])}}W.prototype.clear=function(){this.__data__=K?K(null):{},this.size=0},W.prototype.delete=function(n){var t=this.has(n)&&delete this.__data__[n];return this.size-=t?1:0,t},W.prototype.get=function(n){var t=this.__data__;if(Y){var r=t[n];return"__lodash_hash_undefined__"===r?void 0:r}return V.call(t,n)?t[n]:void 0},W.prototype.has=function(n){var t=this.__data__;return q?void 0!==t[n]:J.call(t,n)},W.prototype.set=function(n,t){var r=this.__data__;return this.size+=this.has(n)?0:1,r[n]=Q&&void 0===t?"__lodash_hash_undefined__":t,this};var X=W,Z=y,nn=G,tn=function(n,t){var r,e,o=n.__data__;return("string"==(e=typeof(r=t))||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==r:null===r)?o["string"==typeof t?"string":"hash"]:o.map},rn=tn,en=tn,on=tn,un=tn;function cn(n){var t=-1,r=null==n?0:n.length;for(this.clear();++t<r;){var e=n[t];this.set(e[0],e[1])}}cn.prototype.clear=function(){this.size=0,this.__data__={hash:new X,map:new(nn||Z),string:new X}},cn.prototype.delete=function(n){var t=rn(this,n).delete(n);return this.size-=t?1:0,t},cn.prototype.get=function(n){return en(this,n).get(n)},cn.prototype.has=function(n){return on(this,n).has(n)},cn.prototype.set=function(n,t){var r=un(this,n),e=r.size;return r.set(n,t),this.size+=r.size==e?0:1,this};var an=y,sn=G,fn=cn,ln=y,vn=function(n){var t=this.__data__,r=t.delete(n);return this.size=t.size,r},dn=function(n){return this.__data__.get(n)},hn=function(n){return this.__data__.has(n)};function bn(n){var t=this.__data__=new ln(n);this.size=t.size}bn.prototype.clear=function(){this.__data__=new g,this.size=0},bn.prototype.delete=vn,bn.prototype.get=dn,bn.prototype.has=hn,bn.prototype.set=function(n,t){var r=this.__data__;if(r instanceof an){var e=r.__data__;if(!sn||e.length<199)return e.push([n,t]),this.size=++r.size,this;r=this.__data__=new fn(e)}return r.set(n,t),this.size=r.size,this};var pn,yn,gn,jn,On,mn=bn,Sn=k,wn=function(){try{var n=Sn(Object,"defineProperty");return n({},"",{}),n}catch(n){}}(),_n=wn,An=function(n,t,r){"__proto__"==t&&_n?_n(n,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):n[t]=r},En=An,Dn=c,Tn=function(n,t,r){(void 0!==r&&!Dn(n[t],r)||void 0===r&&!(t in n))&&En(n,t,r)},Ln=function(n,t,r){for(var e=-1,o=Object(n),i=r(n),u=i.length;u--;){var c=i[++e];if(!1===t(o[c],c,o))break}return n},Pn={exports:{}};On=(jn=(gn=(yn=(pn=Pn.exports)&&!pn.nodeType&&pn)&&Pn&&!Pn.nodeType&&Pn)&&gn.exports===yn?m.Buffer:void 0)?jn.allocUnsafe:void 0,Pn.exports=function(n,t){if(t)return n.slice();var r=n.length,e=On?On(r):new n.constructor(r);return n.copy(e),e};var Cn,Bn,In=m.Uint8Array,Mn=P,Un=Object.create,xn=function(){function n(){}return function(t){if(!Mn(t))return{};if(Un)return Un(t);n.prototype=t;var r=new n;return n.prototype=void 0,r}}(),zn=(Cn=Object.getPrototypeOf,Bn=Object,function(n){return Cn(Bn(n))}),Fn=Object.prototype,Nn=function(n){var t=n&&n.constructor;return n===("function"==typeof t&&t.prototype||Fn)},Rn=xn,$n=zn,kn=Nn,Gn=function(n){return null!=n&&"object"==typeof n},Hn=L,Kn=Gn,Yn=function(n){return Kn(n)&&"[object Arguments]"==Hn(n)},Vn=Gn,qn=Object.prototype,Jn=qn.hasOwnProperty,Qn=qn.propertyIsEnumerable,Wn=Yn(function(){return arguments}())?Yn:function(n){return Vn(n)&&Jn.call(n,"callee")&&!Qn.call(n,"callee")},Xn=Array.isArray,Zn=function(n){return"number"==typeof n&&n>-1&&n%1==0&&n<=9007199254740991},nt=I,tt=Zn,rt=function(n){return null!=n&&tt(n.length)&&!nt(n)},et=rt,ot=Gn,it={exports:{}},ut=function(){return!1};!function(n,t){var r=t&&!t.nodeType&&t,e=r&&it&&!it.nodeType&&it,o=e&&e.exports===r?m.Buffer:void 0;it.exports=(o?o.isBuffer:void 0)||ut}(0,it.exports);var ct=L,at=zn,st=Gn,ft=Function.prototype.toString,lt=Object.prototype.hasOwnProperty,vt=ft.call(Object),dt=L,ht=Zn,bt=Gn,pt={};pt["[object Float32Array]"]=pt["[object Float64Array]"]=pt["[object Int8Array]"]=pt["[object Int16Array]"]=pt["[object Int32Array]"]=pt["[object Uint8Array]"]=pt["[object Uint8ClampedArray]"]=pt["[object Uint16Array]"]=pt["[object Uint32Array]"]=!0,pt["[object Arguments]"]=pt["[object Array]"]=pt["[object ArrayBuffer]"]=pt["[object Boolean]"]=pt["[object DataView]"]=pt["[object Date]"]=pt["[object Error]"]=pt["[object Function]"]=pt["[object Map]"]=pt["[object Number]"]=pt["[object Object]"]=pt["[object RegExp]"]=pt["[object Set]"]=pt["[object String]"]=pt["[object WeakMap]"]=!1;var yt={exports:{}};!function(n,t){var r=t&&!t.nodeType&&t,e=r&&n&&!n.nodeType&&n,o=e&&e.exports===r&&j.process,i=function(){try{return e&&e.require&&e.require("util").types||o&&o.binding&&o.binding("util")}catch(n){}}();n.exports=i}(yt,yt.exports);var gt,jt=function(n){return bt(n)&&ht(n.length)&&!!pt[dt(n)]},Ot=yt.exports,mt=Ot&&Ot.isTypedArray,St=mt?function(n){return function(t){return n(t)}}(mt):jt,wt=function(n,t){if(("constructor"!==t||"function"!=typeof n[t])&&"__proto__"!=t)return n[t]},_t=An,At=c,Et=Object.prototype.hasOwnProperty,Dt=function(n,t,r){var e=n[t];Et.call(n,t)&&At(e,r)&&(void 0!==r||t in n)||_t(n,t,r)},Tt=An,Lt=/^(?:0|[1-9]\d*)$/,Pt=function(n,t){var r=typeof n;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&Lt.test(n))&&n>-1&&n%1==0&&n<t},Ct=Wn,Bt=Xn,It=it.exports,Mt=Pt,Ut=St,xt=Object.prototype.hasOwnProperty,zt=P,Ft=Nn,Nt=Object.prototype.hasOwnProperty,Rt=function(n,t){var r=Bt(n),e=!r&&Ct(n),o=!r&&!e&&It(n),i=!r&&!e&&!o&&Ut(n),u=r||e||o||i,c=u?function(n,t){for(var r=-1,e=Array(n);++r<n;)e[r]=t(r);return e}(n.length,String):[],a=c.length;for(var s in n)!t&&!xt.call(n,s)||u&&("length"==s||o&&("offset"==s||"parent"==s)||i&&("buffer"==s||"byteLength"==s||"byteOffset"==s)||Mt(s,a))||c.push(s);return c},$t=function(n){if(!zt(n))return function(n){var t=[];if(null!=n)for(var r in Object(n))t.push(r);return t}(n);var t=Ft(n),r=[];for(var e in n)("constructor"!=e||!t&&Nt.call(n,e))&&r.push(e);return r},kt=rt,Gt=function(n){return kt(n)?Rt(n,!0):$t(n)},Ht=Gt,Kt=Tn,Yt=Pn.exports,Vt=function(n,t){var r,e,o=t?(e=new(r=n.buffer).constructor(r.byteLength),new In(e).set(new In(r)),e):n.buffer;return new n.constructor(o,n.byteOffset,n.length)},qt=function(n,t){var r=-1,e=n.length;for(t||(t=Array(e));++r<e;)t[r]=n[r];return t},Jt=function(n){return"function"!=typeof n.constructor||kn(n)?{}:Rn($n(n))},Qt=Wn,Wt=Xn,Xt=function(n){return ot(n)&&et(n)},Zt=it.exports,nr=I,tr=P,rr=function(n){if(!st(n)||"[object Object]"!=ct(n))return!1;var t=at(n);if(null===t)return!0;var r=lt.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&ft.call(r)==vt},er=St,or=wt,ir=function(n){return function(n,t,r,e){var o=!r;r||(r={});for(var i=-1,u=t.length;++i<u;){var c=t[i],a=e?e(r[c],n[c],c,r,n):void 0;void 0===a&&(a=n[c]),o?Tt(r,c,a):Dt(r,c,a)}return r}(n,Ht(n))},ur=mn,cr=Tn,ar=Ln,sr=P,fr=Gt,lr=wt,vr=function(n){return n},dr=Math.max,hr=wn,br=Date.now,pr=function(n){var t=0,r=0;return function(){var e=br(),o=16-(e-r);if(r=e,o>0){if(++t>=800)return arguments[0]}else t=0;return n.apply(void 0,arguments)}}(hr?function(n,t){return hr(n,"toString",{configurable:!0,enumerable:!1,value:(r=t,function(){return r}),writable:!0});var r}:vr),yr=vr,gr=function(n,t,r){return t=dr(void 0===t?n.length-1:t,0),function(){for(var e=arguments,o=-1,i=dr(e.length-t,0),u=Array(i);++o<i;)u[o]=e[t+o];o=-1;for(var c=Array(t+1);++o<t;)c[o]=e[o];return c[t]=r(u),function(n,t,r){switch(r.length){case 0:return n.call(t);case 1:return n.call(t,r[0]);case 2:return n.call(t,r[0],r[1]);case 3:return n.call(t,r[0],r[1],r[2])}return n.apply(t,r)}(n,this,c)}},jr=pr,Or=c,mr=rt,Sr=Pt,wr=P,_r=function n(t,r,e,o,i){t!==r&&ar(r,(function(u,c){if(i||(i=new ur),sr(u))!function(n,t,r,e,o,i,u){var c=or(n,r),a=or(t,r),s=u.get(a);if(s)Kt(n,r,s);else{var f=i?i(c,a,r+"",n,t,u):void 0,l=void 0===f;if(l){var v=Wt(a),d=!v&&Zt(a),h=!v&&!d&&er(a);f=a,v||d||h?Wt(c)?f=c:Xt(c)?f=qt(c):d?(l=!1,f=Yt(a,!0)):h?(l=!1,f=Vt(a,!0)):f=[]:rr(a)||Qt(a)?(f=c,Qt(c)?f=ir(c):tr(c)&&!nr(c)||(f=Jt(a))):l=!1}l&&(u.set(a,f),o(f,a,e,i,u),u.delete(a)),Kt(n,r,f)}}(t,r,c,e,n,o,i);else{var a=o?o(lr(t,c),u,c+"",t,r,i):void 0;void 0===a&&(a=u),cr(t,c,a)}}),fr)},Ar=(gt=function(n,t,r){_r(n,t,r)},function(n,t){return jr(gr(n,t,yr),n+"")}((function(n,t){var r=-1,e=t.length,o=e>1?t[e-1]:void 0,i=e>2?t[2]:void 0;for(o=gt.length>3&&"function"==typeof o?(e--,o):void 0,i&&function(n,t,r){if(!wr(r))return!1;var e=typeof t;return!!("number"==e?mr(r)&&Sr(t,r.length):"string"==e&&t in r)&&Or(r[t],n)}(t[0],t[1],i)&&(o=e<3?void 0:o,e=1),n=Object(n);++r<e;){var u=t[r];u&&gt(n,u,r)}return n})));const Er=(n,t,...r)=>{const e=[n,t,...r].filter(Boolean);return Ar.apply(null,e)},{reset:Dr,state:Tr}=i((()=>({appearance:{colorPrimary:"white",fontFamily:"Inter",logoUrl:"",style:"ROUNDED",theme:"LIGHT",zonosAttribution:"DISABLED"},checkoutSettings:{allowedCharacterSets:"ALL",analyticsProviders:[],externalPaymentMethods:[],externalServiceTokens:[],mode:"TEST",orderNotifications:{abandonedCart:{delay:0,discountPercent:0,status:{active:"DISABLED",sendCopiesTo:[]}},orderCancelled:{active:"DISABLED",sendCopiesTo:[]},orderConfirmation:{active:"DISABLED",sendCopiesTo:[]},orderShipped:{active:"DISABLED",sendCopiesTo:[]}},organization:"",placeOrderButtonSelector:null,subscriptionStatus:"INACTIVE",successBehavior:"REDIRECT_TO_SUCCESS_PAGE",successRedirectUrl:"",visibilityStatus:"ENABLED"},currentHelloPage:"",helloSettings:{anchorElementSelector:"",cartUrlPattern:"",countryOverrideBehavior:"URL_PARAM",currencyBehavior:"ENABLED",currencyElementSelector:".money",excludedUrlPatterns:[],homepageUrlPattern:"",mobileLocation:"BOTTOM_RIGHT",mode:"LIVE",organization:"",peekMessageBehavior:"ENABLED",peekMessageDelay:0,productAddToCartElementSelector:"",productDescriptionElementSelector:"",productDetailUrlPattern:"",productListUrlPattern:"",productTitleElementSelector:"",restrictionBehavior:"DISABLED",showForCountries:"ONLY_SHIPPABLE"},loadedConfig:!1,organizationId:"",organizationName:"",sourceCurrency:"USD",storeId:null,stripeApiKey:"",zonosApiKey:"",zonosMode:null})));let Lr=null;const Pr=n=>"SYSTEM"===n?window.matchMedia("(prefers-color-scheme: dark)").matches?"DARK":"LIGHT":n,Cr=({overrideSettings:n,zonosSettings:t})=>{var r,e,o,i;Dr(),t&&(Lr=t);const u=Er(Tr.appearance,(null==Lr?void 0:Lr.appearanceSettings)||(null==t?void 0:t.appearanceSettings)||null,null==n?void 0:n.appearance);"SYSTEM"===u.theme&&(u.theme=Pr(u.theme)),Tr.appearance=u,Tr.checkoutSettings=Er(Tr.checkoutSettings,(null==Lr?void 0:Lr.checkoutSettings)||(null==t?void 0:t.checkoutSettings)||null,null==n?void 0:n.checkoutSettings),Tr.helloSettings=Er(Tr.helloSettings,(null==Lr?void 0:Lr.helloSettings)||(null==t?void 0:t.helloSettings)||null,null==n?void 0:n.helloSettings),Tr.loadedConfig=!0,Tr.organizationId=(null===(r=null==t?void 0:t.organization)||void 0===r?void 0:r.id)||"",Tr.organizationName=(null===(e=null==t?void 0:t.organization)||void 0===e?void 0:e.name)||"",Tr.storeId=(null===(i=null===(o=null==t?void 0:t.organization)||void 0===o?void 0:o.references)||void 0===i?void 0:i.storeId)||null,Tr.currencyConverter=null==n?void 0:n.currencyConverter,Tr.onCountryChange=null==n?void 0:n.onCountryChange,Tr.overrideCurrencyFormat=null==n?void 0:n.overrideCurrencyFormat},Br=()=>Tr.appearance.fontFamily||"Inter";export{m as _,u as a,Cr as b,i as c,Br as d,L as e,P as f,Pr as g,Gn as i,Er as m,Tr as z}
@@ -1,4 +1,4 @@
1
- import{z as o,c as e}from"./p-92bebe7a.js";import{w as r,d as n,q as t,t as a,p as s,h as i,x as c}from"./p-fb63bd03.js";import{t as l}from"./p-890f5788.js";import{l as u,a as d}from"./p-eaa335e1.js";
1
+ import{z as o,c as e}from"./p-04054425.js";import{w as r,d as n,q as t,t as a,p as s,h as i,x as c}from"./p-90f517f5.js";import{t as l}from"./p-6ac72711.js";import{l as u,a as d}from"./p-eaa335e1.js";
2
2
  /*!
3
3
  * paypal-js v8.1.0 (2024-06-07T16:55:00.122Z)
4
4
  * Copyright 2020-present, PayPal, Inc. All rights reserved.
@@ -1 +1 @@
1
- System.register(["./p-b55b557a.system.js","./p-d95cb86a.system.js","./p-23e7c655.system.js","./p-4a107b6f.system.js"],(function(e){"use strict";var t,s,o,n,i,a;return{setters:[function(e){t=e.r;s=e.h;o=e.H},function(e){n=e.d},function(e){i=e.c},function(e){a=e.i}],execute:function(){var l={pageHeader:{label:"Page Header (3XL) · 34px (2.125rem)",size:"3xl",tag:"h2",weight:900},secondaryPageHeader:{label:'Secondary Page Header (3XL) • 34px, 500 "Medium"',size:"3xl",tag:"h2",weight:500},header:{label:"Header (2XL) · 28px (1.75rem)",size:"2xl",tag:"h3",weight:700},descriptionHeader:{label:"Description Header (2XL) · 28px (1.75rem)",size:"2xl",tag:"h3",weight:700},title:{label:"Title (XL) • 22px (1.375rem)",size:"xl",tag:"h4",weight:600},boldSubheader:{label:"Bold Subheader (L) • 18px (1.125rem)",size:"l",tag:"h5",weight:700},semiBoldSubheader:{label:"Semi Bold Subheader (L / H4) • 18px (1.125rem)",size:"l",tag:"h5",weight:600},subheader:{label:"Subheader (L) • 18px (1.125rem)",size:"l",tag:"h5",weight:500},boldLabel:{label:"Bold Label (Base) • 14px (.875rem)",size:"base",tag:"span",weight:700},semiBoldLabel:{label:"Semi Bold Label (Base) • 14px (.875rem)",size:"base",tag:"span",weight:600},label:{label:"Label (Base) • 14px (.875rem)",size:"base",tag:"span",weight:500},body:{label:"Body (Base) • 14px (.875rem)",size:"base",tag:"span",weight:400},smallHeader:{label:"Small header (S) • 12px (.75rem)",size:"s",tag:"span",weight:600},caption:{label:"Caption (S) • 12px (.75rem)",size:"s",tag:"span",weight:400},hintText:{label:"Hint text (XS) • 10px (.625rem)",size:"xs",tag:"span",weight:400}};var h=":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{color:var(--color)}:host(.zonos--text-size-3xl)>*,:host(.zonos--text-size-3xl){font-size:var(--zonos-elements-font-size-3xl)}:host(.zonos--text-size-2xl)>*,:host(.zonos--text-size-2xl){font-size:var(--zonos-elements-font-size-2xl)}:host(.zonos--text-size-xl)>*,:host(.zonos--text-size-xl){font-size:var(--zonos-elements-font-size-xl)}:host(.zonos--text-size-l)>*,:host(.zonos--text-size-l){font-size:var(--zonos-elements-font-size-l)}:host(.zonos--text-size-base)>*,:host(.zonos--text-size-base){font-size:var(--zonos-elements-font-size-base)}:host(.zonos--text-size-s)>*,:host(.zonos--text-size-s){font-size:var(--zonos-elements-font-size-s)}:host(.zonos--text-size-xs)>*,:host(.zonos--text-size-xs){font-size:var(--zonos-elements-font-size-xs)}:host(.zonos--text-weight-900)>*,:host(.zonos--text-weight-900){font-weight:900}:host(.zonos--text-weight-700)>*,:host(.zonos--text-weight-700){font-weight:700}:host(.zonos--text-weight-600)>*,:host(.zonos--text-weight-600){font-weight:600}:host(.zonos--text-weight-500)>*,:host(.zonos--text-weight-500){font-weight:500}:host(.zonos--text-weight-400)>*,:host(.zonos--text-weight-400){font-weight:400}";var r=h;var z=e("zonos_text",function(){function e(e){t(this,e);this.textColor="gray-1200";this.size=undefined;this.type="body";this.weight=undefined;this.ready=false}e.prototype.componentDidRender=function(){var e=this;setTimeout((function(){e.ready=true}),100)};e.prototype.render=function(){var e=l.body,t=e.size,h=e.tag,r=e.weight;var z=l[this.type],x=z.size,g=z.tag,f=z.weight;var m=this.size||x||t;var u=this.weight||f||r;var b=g||h;var d=a(this.textColor)?"var(--zonos-elements-".concat(this.textColor,")"):this.textColor;var p=function(){switch(b){case"h2":return s("h2",null,s("slot",null));case"h3":return s("h3",null,s("slot",null));case"h4":return s("h4",null,s("slot",null));case"h5":return s("h5",null,s("slot",null));case"span":default:return s("span",null,s("slot",null))}};return s(o,{class:i(["zonos--elements","zonos--text-size-".concat(m),"zonos--text-weight-".concat(u)]),style:{"--color":d,"--font-family":n()}},p())};return e}());z.style=r}}}));
1
+ System.register(["./p-fd061229.system.js","./p-539974db.system.js","./p-23e7c655.system.js","./p-4a107b6f.system.js"],(function(e){"use strict";var t,s,o,n,i,a;return{setters:[function(e){t=e.r;s=e.h;o=e.H},function(e){n=e.d},function(e){i=e.c},function(e){a=e.i}],execute:function(){var l={pageHeader:{label:"Page Header (3XL) · 34px (2.125rem)",size:"3xl",tag:"h2",weight:900},secondaryPageHeader:{label:'Secondary Page Header (3XL) • 34px, 500 "Medium"',size:"3xl",tag:"h2",weight:500},header:{label:"Header (2XL) · 28px (1.75rem)",size:"2xl",tag:"h3",weight:700},descriptionHeader:{label:"Description Header (2XL) · 28px (1.75rem)",size:"2xl",tag:"h3",weight:700},title:{label:"Title (XL) • 22px (1.375rem)",size:"xl",tag:"h4",weight:600},boldSubheader:{label:"Bold Subheader (L) • 18px (1.125rem)",size:"l",tag:"h5",weight:700},semiBoldSubheader:{label:"Semi Bold Subheader (L / H4) • 18px (1.125rem)",size:"l",tag:"h5",weight:600},subheader:{label:"Subheader (L) • 18px (1.125rem)",size:"l",tag:"h5",weight:500},boldLabel:{label:"Bold Label (Base) • 14px (.875rem)",size:"base",tag:"span",weight:700},semiBoldLabel:{label:"Semi Bold Label (Base) • 14px (.875rem)",size:"base",tag:"span",weight:600},label:{label:"Label (Base) • 14px (.875rem)",size:"base",tag:"span",weight:500},body:{label:"Body (Base) • 14px (.875rem)",size:"base",tag:"span",weight:400},smallHeader:{label:"Small header (S) • 12px (.75rem)",size:"s",tag:"span",weight:600},caption:{label:"Caption (S) • 12px (.75rem)",size:"s",tag:"span",weight:400},hintText:{label:"Hint text (XS) • 10px (.625rem)",size:"xs",tag:"span",weight:400}};var h=":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{color:var(--color)}:host(.zonos--text-size-3xl)>*,:host(.zonos--text-size-3xl){font-size:var(--zonos-elements-font-size-3xl)}:host(.zonos--text-size-2xl)>*,:host(.zonos--text-size-2xl){font-size:var(--zonos-elements-font-size-2xl)}:host(.zonos--text-size-xl)>*,:host(.zonos--text-size-xl){font-size:var(--zonos-elements-font-size-xl)}:host(.zonos--text-size-l)>*,:host(.zonos--text-size-l){font-size:var(--zonos-elements-font-size-l)}:host(.zonos--text-size-base)>*,:host(.zonos--text-size-base){font-size:var(--zonos-elements-font-size-base)}:host(.zonos--text-size-s)>*,:host(.zonos--text-size-s){font-size:var(--zonos-elements-font-size-s)}:host(.zonos--text-size-xs)>*,:host(.zonos--text-size-xs){font-size:var(--zonos-elements-font-size-xs)}:host(.zonos--text-weight-900)>*,:host(.zonos--text-weight-900){font-weight:900}:host(.zonos--text-weight-700)>*,:host(.zonos--text-weight-700){font-weight:700}:host(.zonos--text-weight-600)>*,:host(.zonos--text-weight-600){font-weight:600}:host(.zonos--text-weight-500)>*,:host(.zonos--text-weight-500){font-weight:500}:host(.zonos--text-weight-400)>*,:host(.zonos--text-weight-400){font-weight:400}";var r=h;var z=e("zonos_text",function(){function e(e){t(this,e);this.textColor="gray-1200";this.size=undefined;this.type="body";this.weight=undefined;this.ready=false}e.prototype.componentDidRender=function(){var e=this;setTimeout((function(){e.ready=true}),100)};e.prototype.render=function(){var e=l.body,t=e.size,h=e.tag,r=e.weight;var z=l[this.type],x=z.size,g=z.tag,f=z.weight;var m=this.size||x||t;var u=this.weight||f||r;var d=g||h;var b=a(this.textColor)?"var(--zonos-elements-".concat(this.textColor,")"):this.textColor;var p=function(){switch(d){case"h2":return s("h2",null,s("slot",null));case"h3":return s("h3",null,s("slot",null));case"h4":return s("h4",null,s("slot",null));case"h5":return s("h5",null,s("slot",null));case"span":default:return s("span",null,s("slot",null))}};return s(o,{class:i(["zonos--elements","zonos--text-size-".concat(m),"zonos--text-weight-".concat(u)]),style:{"--color":b,"--font-family":n()}},p())};return e}());z.style=r}}}));