@zonos/elements 1.3.31 → 1.3.32

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 (239) hide show
  1. package/dist/cjs/{cart-62ff7ee7.js → cart-d07e8ea1.js} +460 -41
  2. package/dist/cjs/index.cjs.js +4 -4
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/{submitGtag-a5f8eaab.js → submitGtag-f1aeac3e.js} +4 -1
  5. package/dist/cjs/zonos-address_8.cjs.entry.js +11 -11
  6. package/dist/cjs/zonos-badge_2.cjs.entry.js +6 -6
  7. package/dist/cjs/zonos-button_3.cjs.entry.js +6 -3
  8. package/dist/cjs/zonos-card.cjs.entry.js +47 -0
  9. package/dist/cjs/zonos-cart-items_12.cjs.entry.js +53 -36
  10. package/dist/cjs/zonos-checkout.cjs.entry.js +18 -10
  11. package/dist/cjs/zonos-component.cjs.entry.js +1 -1
  12. package/dist/cjs/zonos-controller.cjs.entry.js +2 -2
  13. package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
  14. package/dist/cjs/zonos-country-select_3.cjs.entry.js +7 -7
  15. package/dist/cjs/zonos-elements.cjs.js +1 -1
  16. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +5 -5
  17. package/dist/cjs/zonos-hello.cjs.entry.js +1 -1
  18. package/dist/cjs/zonos-input.cjs.entry.js +4 -4
  19. package/dist/cjs/{zonos-card_2.cjs.entry.js → zonos-language-select_2.cjs.entry.js} +23 -29
  20. package/dist/cjs/zonos-link.cjs.entry.js +1 -1
  21. package/dist/cjs/zonos-logo.cjs.entry.js +2 -2
  22. package/dist/cjs/zonos-notification_2.cjs.entry.js +123 -0
  23. package/dist/cjs/zonos-v-stack.cjs.entry.js +25 -0
  24. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.css +15 -4
  25. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +16 -15
  26. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.js +2 -2
  27. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/assets/CheckmarkLineIcon.svg +1 -0
  28. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/assets/RemoveLineIcon.svg +1 -0
  29. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.css +8 -0
  30. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.js +20 -4
  31. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.css +9 -0
  32. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +17 -6
  33. package/dist/collection/components/checkout/zonos-checkout/zonos-review/zonos-review.js +3 -1
  34. package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js +1 -1
  35. package/dist/collection/components/common/zonos-badge/zonos-badge.css +10 -0
  36. package/dist/collection/components/common/zonos-badge/zonos-badge.js +6 -6
  37. package/dist/collection/components/common/zonos-button/zonos-button.js +28 -4
  38. package/dist/collection/components/common/zonos-card/zonos-card.css +3 -1
  39. package/dist/collection/components/common/zonos-card/zonos-card.js +61 -3
  40. package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +3 -3
  41. package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +3 -3
  42. package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +2 -2
  43. package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.js +3 -3
  44. package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +2 -2
  45. package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +2 -2
  46. package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +3 -3
  47. package/dist/collection/components/common/zonos-input/zonos-input.js +4 -4
  48. package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +2 -2
  49. package/dist/collection/components/common/zonos-link/zonos-link.js +1 -1
  50. package/dist/collection/components/common/zonos-logo/zonos-logo.js +2 -2
  51. package/dist/collection/components/common/zonos-notification/zonos-notification.css +1 -1
  52. package/dist/collection/components/common/zonos-rest-state/zonos-rest-state.js +3 -3
  53. package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +2 -2
  54. package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +2 -2
  55. package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +2 -2
  56. package/dist/collection/components/component-template/zonos-component/zonos-component.js +1 -1
  57. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +2 -2
  58. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +4 -4
  59. package/dist/collection/components/main/zonos-controller.js +1 -1
  60. package/dist/collection/components/store/checkout/stripe.js +0 -1
  61. package/dist/collection/components/store/translationStore/strings.arabic.js +23 -2
  62. package/dist/collection/components/store/translationStore/strings.base.js +23 -2
  63. package/dist/collection/components/store/translationStore/strings.chinese.js +23 -2
  64. package/dist/collection/components/store/translationStore/strings.danish.js +23 -2
  65. package/dist/collection/components/store/translationStore/strings.dutch.js +23 -2
  66. package/dist/collection/components/store/translationStore/strings.french.js +23 -2
  67. package/dist/collection/components/store/translationStore/strings.german.js +23 -2
  68. package/dist/collection/components/store/translationStore/strings.hebrew.js +23 -2
  69. package/dist/collection/components/store/translationStore/strings.indonesian.js +23 -2
  70. package/dist/collection/components/store/translationStore/strings.italian.js +23 -2
  71. package/dist/collection/components/store/translationStore/strings.japanese.js +23 -2
  72. package/dist/collection/components/store/translationStore/strings.korean.js +23 -2
  73. package/dist/collection/components/store/translationStore/strings.norwegian.js +23 -2
  74. package/dist/collection/components/store/translationStore/strings.polish.js +23 -2
  75. package/dist/collection/components/store/translationStore/strings.portuguese.js +23 -2
  76. package/dist/collection/components/store/translationStore/strings.russian.js +23 -2
  77. package/dist/collection/components/store/translationStore/strings.spanish.js +23 -2
  78. package/dist/collection/components/store/translationStore/strings.swedish.js +23 -2
  79. package/dist/collection/components/store/translationStore/strings.turkish.js +23 -2
  80. package/dist/collection/components/store/translationStore/strings.vietnamese.js +23 -2
  81. package/dist/collection/components/stripe/zonos-address/zonos-address.js +1 -1
  82. package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +1 -1
  83. package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
  84. package/dist/collection/components/utils/checkout/getIsTestMode.js +1 -0
  85. package/dist/esm/{cart-b96aaa4f.js → cart-a90aa9ae.js} +460 -41
  86. package/dist/esm/index.js +4 -4
  87. package/dist/esm/loader.js +1 -1
  88. package/dist/esm/{submitGtag-6e271d76.js → submitGtag-849e2bc9.js} +4 -2
  89. package/dist/esm/zonos-address_8.entry.js +11 -11
  90. package/dist/esm/zonos-badge_2.entry.js +6 -6
  91. package/dist/esm/zonos-button_3.entry.js +6 -3
  92. package/dist/esm/zonos-card.entry.js +43 -0
  93. package/dist/esm/zonos-cart-items_12.entry.js +53 -36
  94. package/dist/esm/zonos-checkout.entry.js +18 -10
  95. package/dist/esm/zonos-component.entry.js +1 -1
  96. package/dist/esm/zonos-controller.entry.js +2 -2
  97. package/dist/esm/zonos-country-flag.entry.js +1 -1
  98. package/dist/esm/zonos-country-select_3.entry.js +7 -7
  99. package/dist/esm/zonos-elements.js +1 -1
  100. package/dist/esm/zonos-hello-dialog.entry.js +5 -5
  101. package/dist/esm/zonos-hello.entry.js +1 -1
  102. package/dist/esm/zonos-input.entry.js +4 -4
  103. package/dist/esm/zonos-language-select_2.entry.js +56 -0
  104. package/dist/esm/zonos-link.entry.js +1 -1
  105. package/dist/esm/zonos-logo.entry.js +2 -2
  106. package/dist/esm/zonos-notification_2.entry.js +118 -0
  107. package/dist/esm/zonos-v-stack.entry.js +21 -0
  108. package/dist/esm-es5/cart-a90aa9ae.js +1 -0
  109. package/dist/esm-es5/index.js +1 -1
  110. package/dist/esm-es5/loader.js +1 -1
  111. package/dist/esm-es5/submitGtag-849e2bc9.js +1 -0
  112. package/dist/esm-es5/zonos-address_8.entry.js +1 -1
  113. package/dist/esm-es5/zonos-badge_2.entry.js +1 -1
  114. package/dist/esm-es5/zonos-button_3.entry.js +1 -1
  115. package/dist/esm-es5/zonos-card.entry.js +1 -0
  116. package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
  117. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  118. package/dist/esm-es5/zonos-component.entry.js +1 -1
  119. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  120. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  121. package/dist/esm-es5/zonos-country-select_3.entry.js +1 -1
  122. package/dist/esm-es5/zonos-elements.js +1 -1
  123. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  124. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  125. package/dist/esm-es5/zonos-input.entry.js +1 -1
  126. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -0
  127. package/dist/esm-es5/zonos-link.entry.js +1 -1
  128. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  129. package/dist/esm-es5/zonos-notification_2.entry.js +1 -0
  130. package/dist/esm-es5/zonos-v-stack.entry.js +1 -0
  131. package/dist/scripts/index.d.ts +34 -6
  132. package/dist/scripts/index.js +1 -1
  133. package/dist/scripts/loadZonos.js +1 -1
  134. package/dist/scripts/zonos.js +1 -1
  135. package/dist/types/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.d.ts +1 -0
  136. package/dist/types/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.d.ts +1 -0
  137. package/dist/types/components/checkout/zonos-checkout/zonos-checkout.d.ts +1 -0
  138. package/dist/types/components/common/zonos-badge/zonos-badge.d.ts +2 -2
  139. package/dist/types/components/common/zonos-button/zonos-button.d.ts +6 -1
  140. package/dist/types/components/common/zonos-card/zonos-card.d.ts +10 -0
  141. package/dist/types/components/store/translationStore/strings.arabic.d.ts +22 -1
  142. package/dist/types/components/store/translationStore/strings.base.d.ts +22 -1
  143. package/dist/types/components/store/translationStore/strings.chinese.d.ts +22 -1
  144. package/dist/types/components/store/translationStore/strings.danish.d.ts +22 -1
  145. package/dist/types/components/store/translationStore/strings.dutch.d.ts +22 -1
  146. package/dist/types/components/store/translationStore/strings.french.d.ts +22 -1
  147. package/dist/types/components/store/translationStore/strings.german.d.ts +22 -1
  148. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +22 -1
  149. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +22 -1
  150. package/dist/types/components/store/translationStore/strings.italian.d.ts +22 -1
  151. package/dist/types/components/store/translationStore/strings.japanese.d.ts +22 -1
  152. package/dist/types/components/store/translationStore/strings.korean.d.ts +22 -1
  153. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +22 -1
  154. package/dist/types/components/store/translationStore/strings.polish.d.ts +22 -1
  155. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +22 -1
  156. package/dist/types/components/store/translationStore/strings.russian.d.ts +22 -1
  157. package/dist/types/components/store/translationStore/strings.spanish.d.ts +22 -1
  158. package/dist/types/components/store/translationStore/strings.swedish.d.ts +22 -1
  159. package/dist/types/components/store/translationStore/strings.turkish.d.ts +22 -1
  160. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +22 -1
  161. package/dist/types/components/store/translationStore.d.ts +1 -1
  162. package/dist/types/components/utils/checkout/getIsTestMode.d.ts +1 -0
  163. package/dist/types/components.d.ts +36 -6
  164. package/dist/zonos-elements/index.esm.js +1 -1
  165. package/dist/zonos-elements/p-057380ad.system.js +1 -0
  166. package/dist/zonos-elements/{p-b208fec6.system.entry.js → p-16ab16f9.system.entry.js} +1 -1
  167. package/dist/zonos-elements/p-1eab7a86.entry.js +1 -0
  168. package/dist/zonos-elements/p-21b61106.system.entry.js +1 -0
  169. package/dist/zonos-elements/p-22882fd6.entry.js +1 -0
  170. package/dist/zonos-elements/p-2a45c837.system.entry.js +1 -0
  171. package/dist/zonos-elements/p-2d6d0d57.js +1 -0
  172. package/dist/zonos-elements/{p-7664dec5.entry.js → p-344ce057.entry.js} +1 -1
  173. package/dist/zonos-elements/{p-c4e38b85.entry.js → p-3523c3b4.entry.js} +1 -1
  174. package/dist/zonos-elements/{p-2cb880e7.system.entry.js → p-38a90e86.system.entry.js} +1 -1
  175. package/dist/zonos-elements/{p-9b0aa65c.system.js → p-3ba86711.system.js} +1 -1
  176. package/dist/zonos-elements/p-41ef293d.js +1 -0
  177. package/dist/zonos-elements/{p-6cb9812b.entry.js → p-63a27875.entry.js} +1 -1
  178. package/dist/zonos-elements/{p-9cdfb51b.system.entry.js → p-672e80e5.system.entry.js} +1 -1
  179. package/dist/zonos-elements/p-6c3390b7.entry.js +1 -0
  180. package/dist/zonos-elements/{p-666d1605.system.entry.js → p-6de51a79.system.entry.js} +1 -1
  181. package/dist/zonos-elements/{p-725c2d57.entry.js → p-6f04e132.entry.js} +1 -1
  182. package/dist/zonos-elements/{p-10b9a681.system.entry.js → p-717faabd.system.entry.js} +1 -1
  183. package/dist/zonos-elements/{p-a90393e0.system.entry.js → p-71882ac9.system.entry.js} +1 -1
  184. package/dist/zonos-elements/{p-78a839b8.entry.js → p-7a6dcfa2.entry.js} +1 -1
  185. package/dist/zonos-elements/p-85503e70.system.entry.js +1 -0
  186. package/dist/zonos-elements/{p-9c32b924.entry.js → p-8aadefbb.entry.js} +1 -1
  187. package/dist/zonos-elements/p-8b771620.entry.js +1 -0
  188. package/dist/zonos-elements/{p-692816a7.entry.js → p-93e493ce.entry.js} +1 -1
  189. package/dist/zonos-elements/{p-dda78e8e.system.entry.js → p-966ab4e7.system.entry.js} +1 -1
  190. package/dist/zonos-elements/p-9d599745.entry.js +1 -0
  191. package/dist/zonos-elements/{p-3dc59d89.system.entry.js → p-9de374a7.system.entry.js} +1 -1
  192. package/dist/zonos-elements/p-af0d3ca0.system.entry.js +1 -0
  193. package/dist/zonos-elements/p-b6c515e1.system.entry.js +1 -0
  194. package/dist/zonos-elements/{p-13454044.system.entry.js → p-b903af96.system.entry.js} +1 -1
  195. package/dist/zonos-elements/p-c21802e9.entry.js +1 -0
  196. package/dist/zonos-elements/{p-d4724ac8.entry.js → p-c3619b3d.entry.js} +1 -1
  197. package/dist/zonos-elements/{p-89664e49.system.js → p-ca8fb99c.system.js} +1 -1
  198. package/dist/zonos-elements/p-cc965417.entry.js +1 -0
  199. package/dist/zonos-elements/{p-941a01be.system.entry.js → p-d2992457.system.entry.js} +1 -1
  200. package/dist/zonos-elements/{p-2701e08c.entry.js → p-d8c1eb99.entry.js} +1 -1
  201. package/dist/zonos-elements/p-da2e5289.system.entry.js +1 -0
  202. package/dist/zonos-elements/{p-d8027710.system.entry.js → p-da787898.system.entry.js} +1 -1
  203. package/dist/zonos-elements/p-e0bf9666.system.js +1 -1
  204. package/dist/zonos-elements/{p-4a0cf47b.entry.js → p-e344cb12.entry.js} +1 -1
  205. package/dist/zonos-elements/p-e3c014ae.entry.js +1 -0
  206. package/dist/zonos-elements/p-ed333de6.system.entry.js +1 -0
  207. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  208. package/package.json +1 -1
  209. package/dist/cjs/zonos-notification.cjs.entry.js +0 -72
  210. package/dist/cjs/zonos-payment.cjs.entry.js +0 -58
  211. package/dist/cjs/zonos-select-dialog-header_2.cjs.entry.js +0 -45
  212. package/dist/esm/zonos-card_2.entry.js +0 -62
  213. package/dist/esm/zonos-notification.entry.js +0 -68
  214. package/dist/esm/zonos-payment.entry.js +0 -54
  215. package/dist/esm/zonos-select-dialog-header_2.entry.js +0 -40
  216. package/dist/esm-es5/cart-b96aaa4f.js +0 -1
  217. package/dist/esm-es5/submitGtag-6e271d76.js +0 -1
  218. package/dist/esm-es5/zonos-card_2.entry.js +0 -1
  219. package/dist/esm-es5/zonos-notification.entry.js +0 -1
  220. package/dist/esm-es5/zonos-payment.entry.js +0 -1
  221. package/dist/esm-es5/zonos-select-dialog-header_2.entry.js +0 -1
  222. package/dist/zonos-elements/p-087c83a5.system.entry.js +0 -1
  223. package/dist/zonos-elements/p-1a40aaf4.system.js +0 -1
  224. package/dist/zonos-elements/p-2613b5d3.system.entry.js +0 -1
  225. package/dist/zonos-elements/p-27d648c3.system.entry.js +0 -1
  226. package/dist/zonos-elements/p-4e01d1ab.system.entry.js +0 -1
  227. package/dist/zonos-elements/p-5441b729.entry.js +0 -1
  228. package/dist/zonos-elements/p-5857ad65.entry.js +0 -1
  229. package/dist/zonos-elements/p-5d53f9a4.js +0 -1
  230. package/dist/zonos-elements/p-75ba695c.entry.js +0 -1
  231. package/dist/zonos-elements/p-8c9e7980.entry.js +0 -1
  232. package/dist/zonos-elements/p-8f8baabf.system.entry.js +0 -1
  233. package/dist/zonos-elements/p-9f7c0472.entry.js +0 -1
  234. package/dist/zonos-elements/p-acfb9be6.system.entry.js +0 -1
  235. package/dist/zonos-elements/p-b468f941.js +0 -1
  236. package/dist/zonos-elements/p-bb5a9eaa.entry.js +0 -1
  237. package/dist/zonos-elements/p-be2b32f5.entry.js +0 -1
  238. package/dist/zonos-elements/p-c63a7dde.entry.js +0 -1
  239. package/dist/zonos-elements/p-f38fd0d9.system.entry.js +0 -1
@@ -1 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,n,o,e){function r(t){return t instanceof o?t:new o((function(n){n(t)}))}return new(o||(o=Promise))((function(o,i){function a(t){try{c(e.next(t))}catch(t){i(t)}}function u(t){try{c(e["throw"](t))}catch(t){i(t)}}function c(t){t.done?o(t.value):r(t.value).then(a,u)}c((e=e.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},e,r,i,a;return a={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(t){return function(n){return c([t,n])}}function c(u){if(e)throw new TypeError("Generator is already executing.");while(a&&(a=0,u[0]&&(o=0)),o)try{if(e=1,r&&(i=u[0]&2?r["return"]:u[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,u[1])).done)return i;if(r=0,i)u=[u[0]&2,i.value];switch(u[0]){case 0:case 1:i=u;break;case 4:o.label++;return{value:u[1],done:false};case 5:o.label++;r=u[1];u=[0];continue;case 7:u=o.ops.pop();o.trys.pop();continue;default:if(!(i=o.trys,i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){o=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){o.label=u[1];break}if(u[0]===6&&o.label<i[1]){o.label=i[1];i=u;break}if(i&&o.label<i[2]){o.label=i[2];o.ops.push(u);break}if(i[2])o.ops.pop();o.trys.pop();continue}u=n.call(t,o)}catch(t){u=[6,t];r=0}finally{e=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};import{r as handleFetch,d as cartStore,l as localizationStore}from"./cart-b96aaa4f.js";import{z as zonosStore}from"./zonosStore-ba9e541e.js";import{l as log}from"./logError-c456c092.js";var trackConversionEvent=function(t,n){return __awaiter(void 0,void 0,void 0,(function(){var o,e,r,i,a,u,c,s;return __generator(this,(function(f){switch(f.label){case 0:r=window.location.href.includes("zonos.com")||window.location.href.includes("checkout.iglobalstores.com")||!!((o=window.Zonos)===null||o===void 0?void 0:o.zonosQaUrl)||!!((e=window.Zonos)===null||e===void 0?void 0:e.debug);if(r&&!window.Zonos.zonosConversionTest){return[2]}i="".concat("https://v1.route.js.zonos.com","/api/zonos-elements/track-conversion-event");a=localizationStore.selectedCountryCode;u=zonosStore.organizationId;c=cartStore.checkoutSessionId;if(!c){return[2]}s={checkoutSessionId:c,countryCode:a,eventName:t,metadata:n,organizationId:u};return[4,handleFetch(i,{body:s,method:"POST"})];case 1:f.sent();return[2]}}))}))};var createCustomEvent=function(t,n){return new CustomEvent(t,{detail:n})};var sendErrorLog=function(t){return __awaiter(void 0,[t],void 0,(function(t){var n,o;var e=t.endpoint,r=t.errors,i=t.metadata;return __generator(this,(function(t){n="userAgentData"in window.navigator?window.navigator.userAgentData:null;o={endpoint:e,errors:r,metadata:Object.assign({href:window.location.href,userAgent:n&&n.brands.length>0?n:window.navigator.userAgent},i)};void handleFetch("".concat("https://v1.route.js.zonos.com","/api/zonos-elements/log-error"),{body:o,method:"POST"});return[2]}))}))};var submitGtag=function(t){var n=zonosStore.checkoutSettings.analyticsProviders.find((function(t){return t.type==="GOOGLE_ANALYTICS"}));if(!n||(n===null||n===void 0?void 0:n.status)==="DISABLED"){return}if(typeof window.gtag==="function"){log("Zonos submits gtag event","log",t);window.gtag("event",t,{})}};export{submitGtag as a,createCustomEvent as c,sendErrorLog as s,trackConversionEvent as t};
@@ -1 +0,0 @@
1
- import{r as registerInstance,h,H as Host}from"./index-3b46f3c3.js";import{d as zonosStoreFontFamily}from"./zonosStore-ba9e541e.js";import{c as classes}from"./classes-0d95c529.js";import{H as localizationStoreUpdateSelectedLocale,t as translate,l as localizationStore}from"./cart-b96aaa4f.js";import{l as languages}from"./ILanguage-cd6acb72.js";import"./logError-c456c092.js";import"./isDarkColor-f8324c10.js";import"./getBorderRadius-947c24de.js";var zonosCardCss=":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 .styled-card{border:var(--zonos-elements-border);border-radius:var(--zonos-elements-radius-6);padding:var(--spacing, 24px);text-align:left}:host .styled-card hr{margin-left:calc(var(--spacing, 24px) * -1);margin-right:calc(var(--spacing, 24px) * -1)}:host .styled-card .card-header{margin:calc(var(--spacing, 24px) * -1);padding:var(--spacing, 24px);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-bottom:var(--spacing, 24px);border-bottom:var(--zonos-elements-border);height:65px;line-height:65px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host .styled-card .card-header h5{margin-bottom:0;-ms-flex:1;flex:1}:host .styled-card .card-footer{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;margin:calc(var(--spacing, 24px) * -1);padding:var(--spacing, 24px);border-top:var(--zonos-elements-border);background:var(--zonos-elements-surface-color-secondary);margin-top:var(--spacing, 24px);border-bottom-left-radius:var(--zonos-elements-radius-8);border-bottom-right-radius:var(--zonos-elements-radius-8);height:var(--footerHeight)}";var ZonosCardStyle0=zonosCardCss;var ZonosCard=function(){function e(e){registerInstance(this,e);this.actions=undefined;this.footerActions=undefined;this.footerContent=undefined;this.footerHeight=undefined;this.label=undefined;this.spacing="24px"}e.prototype.render=function(){return h(Host,{key:"0e52ca31db6c2f956da1910d6e0a222b588c1bcc",style:{"--font-family":zonosStoreFontFamily()}},h("div",{key:"69f391d821f88cbee4b0c586a8323b1dd68d7fd3",class:classes(["styled-card"]),style:{padding:this.spacing}},this.label&&h("header",{key:"4568a1d7c354830e6e65e31b20b38140aaab9d01",class:"card-header",style:{padding:this.spacing}},h("zonos-text",{key:"e0a6b7a3776916f8208c27373878041807d91960",type:"subheader"},this.label),h("h-stack",{key:"c5f8d01b2f477b16ab9387081987eae64b156e76",spacing:8},this.actions)),h("slot",{key:"6001acfaae8ba37456a7c23bae5c44a91da074f9"}),(this.footerActions||this.footerContent)&&h("footer",{key:"78b926a323a5f1375c8120d5aa8b1ab2a4f3fa4a",class:"card-footer",style:{height:this.footerHeight?"".concat(this.footerHeight,"px"):"auto",padding:this.spacing}},h("div",{key:"2bd0c86b75096c2ee786d4a9b16a3d6e385fbbf1"},this.footerContent),h("h-stack",{key:"7a3f840ac9678a905338a99b8327115bc8199789",spacing:8},this.footerActions))))};return e}();ZonosCard.style=ZonosCardStyle0;var GreenCheckDuotoneIcon='<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M7.99996 2.6665C5.05444 2.6665 2.66663 5.05432 2.66663 7.99984C2.66663 10.9454 5.05444 13.3332 7.99996 13.3332C10.9455 13.3332 13.3333 10.9454 13.3333 7.99984C13.3333 5.05432 10.9455 2.6665 7.99996 2.6665Z" fill="#AFF8C3"/>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M10.1403 6.10535C10.3582 6.27488 10.3975 6.58902 10.228 6.80699L8.01055 9.65797C7.76436 9.97449 7.29646 10.0036 7.01291 9.72008L5.81307 8.52024C5.61781 8.32498 5.61781 8.0084 5.81307 7.81314C6.00833 7.61787 6.32492 7.61787 6.52018 7.81314L7.45301 8.74597L9.43862 6.19305C9.60815 5.97508 9.92229 5.93581 10.1403 6.10535Z" fill="#246627"/>\n</svg>\n';var zonosLanguageSelectCss=":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host .zonos--language-select{width:100%}:host .zonos--language-select .zonos--language-select-content{display:grid;grid-template-columns:repeat(3, minmax(-webkit-max-content, 1fr));grid-template-columns:repeat(3, minmax(max-content, 1fr));padding:16px;padding-top:0px}:host .zonos--language-select .zonos--language-select-content .zonos--language-select-button{display:-ms-flexbox;display:flex;padding:8px;gap:4px;-ms-flex-align:center;align-items:center;border-radius:var(--zonos-elements-radius-4);cursor:pointer;width:100%;border:none;background:none}:host .zonos--language-select .zonos--language-select-content .zonos--language-select-button:hover{background:var(--zonos-elements-gray-100)}@media (max-width: 400px){:host .zonos--language-select .zonos--language-select-content{grid-template-columns:1fr 1fr}}";var ZonosLanguageSelectStyle0=zonosLanguageSelectCss;var ZonosLanguageSelect=function(){function e(e){var a=this;registerInstance(this,e);this.languageSelected=function(e){void localizationStoreUpdateSelectedLocale(e);a.handleOnClose()};this.handleOnClose=function(){}}e.prototype.render=function(){var e=this;var a=localizationStore.selectedLocale;return h(Host,{key:"34580123b768ce983c0c9c6fa309bdb1d6756a5a",class:"zonos--elements",style:{"--font-family":zonosStoreFontFamily()}},h("div",{key:"6e86352a45b5d9ad0e5ed5dac330367a49a6c6fe",class:"zonos--language-select"},h("zonos-select-dialog-header",{key:"d5b55cbb2858a2c0a6aa6ce0ea0d50eecc7360e8",handleOnClose:function(){return e.handleOnClose()},label:translate("Select a language")}),h("div",{key:"c9aeb075428357c4cb15d9a2b09df7c8d6b01b11",class:"zonos--language-select-content"},languages.map((function(t){return h("button",{class:"zonos--language-select-button",onClick:function(){return e.languageSelected(t.code)}},h("zonos-text",{textColor:"gray-800"},t.translatedLabel),t.code===a&&h("zonos-icon",{content:GreenCheckDuotoneIcon,size:16}))})))))};return e}();ZonosLanguageSelect.style=ZonosLanguageSelectStyle0;export{ZonosCard as zonos_card,ZonosLanguageSelect as zonos_language_select};
@@ -1 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,o,n,i){function s(t){return t instanceof n?t:new n((function(o){o(t)}))}return new(n||(n=Promise))((function(n,e){function r(t){try{c(i.next(t))}catch(t){e(t)}}function a(t){try{c(i["throw"](t))}catch(t){e(t)}}function c(t){t.done?n(t.value):s(t.value).then(r,a)}c((i=i.apply(t,o||[])).next())}))};var __generator=this&&this.__generator||function(t,o){var n={label:0,sent:function(){if(e[0]&1)throw e[1];return e[1]},trys:[],ops:[]},i,s,e,r;return r={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function a(t){return function(o){return c([t,o])}}function c(a){if(i)throw new TypeError("Generator is already executing.");while(r&&(r=0,a[0]&&(n=0)),n)try{if(i=1,s&&(e=a[0]&2?s["return"]:a[0]?s["throw"]||((e=s["return"])&&e.call(s),0):s.next)&&!(e=e.call(s,a[1])).done)return e;if(s=0,e)a=[a[0]&2,e.value];switch(a[0]){case 0:case 1:e=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;s=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(e=n.trys,e=e.length>0&&e[e.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!e||a[1]>e[0]&&a[1]<e[3])){n.label=a[1];break}if(a[0]===6&&n.label<e[1]){n.label=e[1];e=a;break}if(e&&n.label<e[2]){n.label=e[2];n.ops.push(a);break}if(e[2])n.ops.pop();n.trys.pop();continue}a=o.call(t,n)}catch(t){a=[6,t];s=0}finally{i=e=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(t,o,n){if(n||arguments.length===2)for(var i=0,s=o.length,e;i<s;i++){if(e||!(i in o)){if(!e)e=Array.prototype.slice.call(o,0,i);e[i]=o[i]}}return t.concat(e||Array.prototype.slice.call(o))};import{r as registerInstance,h,H as Host}from"./index-3b46f3c3.js";import{d as zonosStoreFontFamily}from"./zonosStore-ba9e541e.js";import{c as classes}from"./classes-0d95c529.js";var zonosNotificationCss=":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}:host .zonos--notification-items{position:fixed;z-index:9999999;bottom:24px;gap:8px;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column}:host .zonos--notification-item{cursor:pointer;-webkit-transition:all 0.3s ease;transition:all 0.3s ease;padding:8px;border-radius:var(--border-radius, var(--zonos-elements-radius-6));opacity:0;-ms-flex-negative:0.0001;flex-shrink:0.0001;-webkit-transform:translateY(100%);transform:translateY(100%)}:host .zonos--notification-item+:host .zonos--notification-item{margin-top:8px}:host .zonos--notification-item.show{opacity:1;-webkit-transform:translateY(0);transform:translateY(0);-ms-flex-positive:1000;flex-grow:1000}:host .zonos--notification-item.success{background-color:var(--zonos-elements-green-700)}:host .zonos--notification-item.error{background-color:var(--zonos-elements-red-700)}:host .zonos--notification-item.warning{background-color:var(--zonos-elements-orange-700)}";var ZonosNotificationStyle0=zonosNotificationCss;var ZonosNotification=function(){function t(t){registerInstance(this,t);this.notificationArray=[]}t.prototype.showNotification=function(t){return __awaiter(this,void 0,void 0,(function(){var o,n;var i=this;return __generator(this,(function(s){o="id-".concat(Math.random().toString(36).substring(2,9));n=Object.assign(Object.assign({},t),{id:o,timeout:t.timeout||5e3,transitionClass:"",type:t.type||"success"});this.notificationArray=__spreadArray(__spreadArray([],this.notificationArray,true),[n],false);setTimeout((function(){i.updateTransitionClass({id:o,transitionClass:"show"})}),50);setTimeout((function(){i.removeNotification(o)}),n.timeout);return[2]}))}))};t.prototype.updateTransitionClass=function(t){var o=t.id,n=t.transitionClass;this.notificationArray=this.notificationArray.map((function(t){if(t.id===o){return Object.assign(Object.assign({},t),{transitionClass:n})}return t}))};t.prototype.removeNotification=function(t){var o=this;this.updateTransitionClass({id:t,transitionClass:""});setTimeout((function(){o.notificationArray=o.notificationArray.filter((function(o){return o.id!==t}))}),300)};t.prototype.render=function(){var t=this;return h(Host,{key:"17c08c90c6c1dfade4e43451c196127a0f53429e",class:classes(["zonos--elements zonos--notification"]),style:{"--font-family":zonosStoreFontFamily()}},h("div",{key:"6624419d86a5c7518539069dbc5c9d7c08262c75",class:"zonos--notification-items"},this.notificationArray.map((function(o){return h("div",{"aria-hidden":"true",class:classes(["zonos--notification-item",o.type,o.transitionClass]),key:o.id,onClick:function(){t.removeNotification(o.id)}},h("zonos-text",{textColor:"gray-0"},o.message))}))))};return t}();ZonosNotification.style=ZonosNotificationStyle0;export{ZonosNotification as zonos_notification};
@@ -1 +0,0 @@
1
- import{r as registerInstance,h,H as Host,d as getElement}from"./index-3b46f3c3.js";import{h as stripeStore}from"./cart-b96aaa4f.js";import{a as logError}from"./logError-c456c092.js";import"./zonosStore-ba9e541e.js";import"./isDarkColor-f8324c10.js";import"./getBorderRadius-947c24de.js";var zonosPaymentCss=".sc-zonos-payment-h{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-payment-h *.sc-zonos-payment{font-family:var(--font-family, Inter), Inter}.sc-zonos-payment-h img.sc-zonos-payment{max-width:100%}.sc-zonos-payment-h dl.sc-zonos-payment,.sc-zonos-payment-h dd.sc-zonos-payment,.sc-zonos-payment-h h1.sc-zonos-payment,.sc-zonos-payment-h h2.sc-zonos-payment,.sc-zonos-payment-h h3.sc-zonos-payment,.sc-zonos-payment-h h4.sc-zonos-payment,.sc-zonos-payment-h h5.sc-zonos-payment,.sc-zonos-payment-h h6.sc-zonos-payment,.sc-zonos-payment-h hr.sc-zonos-payment,.sc-zonos-payment-h figure.sc-zonos-payment,.sc-zonos-payment-h p.sc-zonos-payment,.sc-zonos-payment-h pre.sc-zonos-payment{margin:0}.sc-zonos-payment-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-payment-h .zonos--title.sc-zonos-payment{margin-bottom:16px}";var ZonosPaymentStyle0=zonosPaymentCss;var ZonosPayment=function(){function n(n){registerInstance(this,n);this.titleText=undefined;this.stripe=stripeStore.stripe;this.stripeElements=stripeStore.stripeElements}n.prototype.watchInitStripe=function(){if(!this.stripeElements){return}var n=stripeStore.stripePaymentElement||this.stripeElements.create("payment",{layout:"tabs"});var o=this.el.querySelector(".zonos--payment-component");if(!o){logError("Cannot find container element for paymentElement");return}n.mount(o);n.on("change",(function(n){stripeStore.stripePaymentEventData=n}));stripeStore.stripePaymentElement=n};n.prototype.componentDidLoad=function(){this.watchInitStripe()};n.prototype.render=function(){return h(Host,{key:"abebca876eac8bd507fcbdb1c029d2ed0f3b749a",class:"zonos--payment zonos--elements"},this.titleText&&h("zonos-text",{key:"142257f2052337206dbb70e70c87b5207f2bd97a",class:"zonos--title",type:"semiBoldLabel"},this.titleText),h("div",{key:"c55bbaea79a291e45d8ed37d556529365de89e9f",class:"zonos--payment-component"}))};Object.defineProperty(n.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(n,"watchers",{get:function(){return{stripeElements:["watchInitStripe"],stripe:["watchInitStripe"]}},enumerable:false,configurable:true});return n}();ZonosPayment.style=ZonosPaymentStyle0;export{ZonosPayment as zonos_payment};
@@ -1 +0,0 @@
1
- import{r as registerInstance,h,H as Host}from"./index-3b46f3c3.js";import{d as zonosStoreFontFamily}from"./zonosStore-ba9e541e.js";import{c as classes}from"./classes-0d95c529.js";var RemoveIcon='<svg xmlns="https://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path fill="#C5C6CA" fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z" clip-rule="evenodd"/><path fill="#4D505A" fill-rule="evenodd" d="M8.293 8.293a1 1 0 0 1 1.414 0L12 10.586l2.293-2.293a1 1 0 1 1 1.414 1.414L13.414 12l2.293 2.293a1 1 0 0 1-1.414 1.414L12 13.414l-2.293 2.293a1 1 0 0 1-1.414-1.414L10.586 12 8.293 9.707a1 1 0 0 1 0-1.414Z" clip-rule="evenodd"/></svg>';var zonosSelectDialogHeaderCss=":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host .zonos--select-dialog-header-wrapper{position:-webkit-sticky;position:sticky;top:0;background:var(--zonos-elements-surface-color);padding:16px}:host .zonos--select-dialog-header-wrapper .zonos--select-dialog-header{position:relative;-ms-flex-pack:justify;justify-content:space-between;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}";var ZonosSelectDialogHeaderStyle0=zonosSelectDialogHeaderCss;var ZonosSelectDialogHeader=function(){function o(o){registerInstance(this,o);this.handleOnClose=function(){};this.label=""}o.prototype.render=function(){var o=this;return h(Host,{key:"aee08db0e889bd5a5b9084180f6ee038c120a3b2",class:"zonos--elements",style:{"--font-family":zonosStoreFontFamily()}},h("zonos-v-stack",{key:"565a273f0037418387c0868c74943c3325ab6c35",class:"zonos--select-dialog-header-wrapper",spacing:8},h("div",{key:"0d994f27c948e49c092d016a0f1d6e453f80f00a",class:"zonos--select-dialog-header"},h("zonos-text",{key:"ee7bb796e921b2a14fa6201c8f17d0dfd9f3a3c2",type:"boldLabel"},this.label),h("zonos-button",{key:"0e3a6c9c2cc4b67a51015b2fb7345c47a0e5ef23",class:"zonos--close-button",icon:h("zonos-icon",{"aria-label":"Close select dialog",content:RemoveIcon,size:20}),noBackground:true,onClick:function(){return o.handleOnClose()}})),h("slot",{key:"ad9fb089fa4a571a5443431c0d686b4804d25b0a"})))};return o}();ZonosSelectDialogHeader.style=ZonosSelectDialogHeaderStyle0;var zonosVStackCss=":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 .vstack{display:grid;grid-auto-columns:minmax(0, 1fr);grid-row-gap:var(--spacing, 24px);grid-auto-flow:row}";var ZonosVStackStyle0=zonosVStackCss;var VStack=function(){function o(o){registerInstance(this,o);this.spacing=24}o.prototype.render=function(){return h(Host,{key:"9b7115624d2e27b1c6da58ac16f6059d5cad71a9",style:{"--font-family":zonosStoreFontFamily()}},h("div",{key:"bd3ccd8700897292fd1a9ad40825c851a484fcf2",class:classes(["vstack"]),style:{"grid-row-gap":"".concat(this.spacing,"px")}},h("slot",{key:"1c6fe3e6dc8eda9461eb90180535c9bd563a1840"})))};return o}();VStack.style=ZonosVStackStyle0;export{ZonosSelectDialogHeader as zonos_select_dialog_header,VStack as zonos_v_stack};
@@ -1 +0,0 @@
1
- System.register(["./p-d99232c5.system.js","./p-0b538ed4.system.js","./p-23e7c655.system.js","./p-1a40aaf4.system.js","./p-c9e433c0.system.js","./p-63db40b9.system.js","./p-e37440ad.system.js","./p-a8cb25de.system.js"],(function(e){"use strict";var t,a,s,n,o,i,r,c,d;return{setters:[function(e){t=e.r;a=e.h;s=e.H},function(e){n=e.d},function(e){o=e.c},function(e){i=e.H;r=e.t;c=e.l},function(e){d=e.l},function(){},function(){},function(){}],execute:function(){var l=":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 .styled-card{border:var(--zonos-elements-border);border-radius:var(--zonos-elements-radius-6);padding:var(--spacing, 24px);text-align:left}:host .styled-card hr{margin-left:calc(var(--spacing, 24px) * -1);margin-right:calc(var(--spacing, 24px) * -1)}:host .styled-card .card-header{margin:calc(var(--spacing, 24px) * -1);padding:var(--spacing, 24px);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-bottom:var(--spacing, 24px);border-bottom:var(--zonos-elements-border);height:65px;line-height:65px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host .styled-card .card-header h5{margin-bottom:0;-ms-flex:1;flex:1}:host .styled-card .card-footer{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;margin:calc(var(--spacing, 24px) * -1);padding:var(--spacing, 24px);border-top:var(--zonos-elements-border);background:var(--zonos-elements-surface-color-secondary);margin-top:var(--spacing, 24px);border-bottom-left-radius:var(--zonos-elements-radius-8);border-bottom-right-radius:var(--zonos-elements-radius-8);height:var(--footerHeight)}";var h=l;var f=e("zonos_card",function(){function e(e){t(this,e);this.actions=undefined;this.footerActions=undefined;this.footerContent=undefined;this.footerHeight=undefined;this.label=undefined;this.spacing="24px"}e.prototype.render=function(){return a(s,{key:"0e52ca31db6c2f956da1910d6e0a222b588c1bcc",style:{"--font-family":n()}},a("div",{key:"69f391d821f88cbee4b0c586a8323b1dd68d7fd3",class:o(["styled-card"]),style:{padding:this.spacing}},this.label&&a("header",{key:"4568a1d7c354830e6e65e31b20b38140aaab9d01",class:"card-header",style:{padding:this.spacing}},a("zonos-text",{key:"e0a6b7a3776916f8208c27373878041807d91960",type:"subheader"},this.label),a("h-stack",{key:"c5f8d01b2f477b16ab9387081987eae64b156e76",spacing:8},this.actions)),a("slot",{key:"6001acfaae8ba37456a7c23bae5c44a91da074f9"}),(this.footerActions||this.footerContent)&&a("footer",{key:"78b926a323a5f1375c8120d5aa8b1ab2a4f3fa4a",class:"card-footer",style:{height:this.footerHeight?"".concat(this.footerHeight,"px"):"auto",padding:this.spacing}},a("div",{key:"2bd0c86b75096c2ee786d4a9b16a3d6e385fbbf1"},this.footerContent),a("h-stack",{key:"7a3f840ac9678a905338a99b8327115bc8199789",spacing:8},this.footerActions))))};return e}());f.style=h;var g='<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M7.99996 2.6665C5.05444 2.6665 2.66663 5.05432 2.66663 7.99984C2.66663 10.9454 5.05444 13.3332 7.99996 13.3332C10.9455 13.3332 13.3333 10.9454 13.3333 7.99984C13.3333 5.05432 10.9455 2.6665 7.99996 2.6665Z" fill="#AFF8C3"/>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M10.1403 6.10535C10.3582 6.27488 10.3975 6.58902 10.228 6.80699L8.01055 9.65797C7.76436 9.97449 7.29646 10.0036 7.01291 9.72008L5.81307 8.52024C5.61781 8.32498 5.61781 8.0084 5.81307 7.81314C6.00833 7.61787 6.32492 7.61787 6.52018 7.81314L7.45301 8.74597L9.43862 6.19305C9.60815 5.97508 9.92229 5.93581 10.1403 6.10535Z" fill="#246627"/>\n</svg>\n';var u=":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host .zonos--language-select{width:100%}:host .zonos--language-select .zonos--language-select-content{display:grid;grid-template-columns:repeat(3, minmax(-webkit-max-content, 1fr));grid-template-columns:repeat(3, minmax(max-content, 1fr));padding:16px;padding-top:0px}:host .zonos--language-select .zonos--language-select-content .zonos--language-select-button{display:-ms-flexbox;display:flex;padding:8px;gap:4px;-ms-flex-align:center;align-items:center;border-radius:var(--zonos-elements-radius-4);cursor:pointer;width:100%;border:none;background:none}:host .zonos--language-select .zonos--language-select-content .zonos--language-select-button:hover{background:var(--zonos-elements-gray-100)}@media (max-width: 400px){:host .zonos--language-select .zonos--language-select-content{grid-template-columns:1fr 1fr}}";var m=u;var p=e("zonos_language_select",function(){function e(e){var a=this;t(this,e);this.languageSelected=function(e){void i(e);a.handleOnClose()};this.handleOnClose=function(){}}e.prototype.render=function(){var e=this;var t=c.selectedLocale;return a(s,{key:"34580123b768ce983c0c9c6fa309bdb1d6756a5a",class:"zonos--elements",style:{"--font-family":n()}},a("div",{key:"6e86352a45b5d9ad0e5ed5dac330367a49a6c6fe",class:"zonos--language-select"},a("zonos-select-dialog-header",{key:"d5b55cbb2858a2c0a6aa6ce0ea0d50eecc7360e8",handleOnClose:function(){return e.handleOnClose()},label:r("Select a language")}),a("div",{key:"c9aeb075428357c4cb15d9a2b09df7c8d6b01b11",class:"zonos--language-select-content"},d.map((function(s){return a("button",{class:"zonos--language-select-button",onClick:function(){return e.languageSelected(s.code)}},a("zonos-text",{textColor:"gray-800"},s.translatedLabel),s.code===t&&a("zonos-icon",{content:g,size:16}))})))))};return e}());p.style=m}}}));