@zonos/elements 1.3.27 → 1.3.28

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 (129) hide show
  1. package/dist/cjs/{cart-61caeb84.js → cart-62ff7ee7.js} +40 -40
  2. package/dist/cjs/index.cjs.js +3 -3
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/{submitGtag-d3898668.js → submitGtag-a5f8eaab.js} +1 -1
  5. package/dist/cjs/zonos-address_8.cjs.entry.js +1 -1
  6. package/dist/cjs/zonos-card_2.cjs.entry.js +1 -1
  7. package/dist/cjs/zonos-cart-items_12.cjs.entry.js +2 -2
  8. package/dist/cjs/zonos-checkout.cjs.entry.js +2 -2
  9. package/dist/cjs/zonos-controller.cjs.entry.js +1 -1
  10. package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
  11. package/dist/cjs/zonos-country-select_3.cjs.entry.js +1 -1
  12. package/dist/cjs/zonos-elements.cjs.js +1 -1
  13. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +6 -6
  14. package/dist/cjs/zonos-hello.cjs.entry.js +30 -3
  15. package/dist/cjs/zonos-payment.cjs.entry.js +1 -1
  16. package/dist/collection/components/hello/zonos-hello/zonos-hello.js +31 -3
  17. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +5 -5
  18. package/dist/collection/components/store/translationStore/strings.arabic.js +2 -2
  19. package/dist/collection/components/store/translationStore/strings.base.js +2 -2
  20. package/dist/collection/components/store/translationStore/strings.chinese.js +2 -2
  21. package/dist/collection/components/store/translationStore/strings.danish.js +2 -2
  22. package/dist/collection/components/store/translationStore/strings.dutch.js +2 -2
  23. package/dist/collection/components/store/translationStore/strings.french.js +2 -2
  24. package/dist/collection/components/store/translationStore/strings.german.js +2 -2
  25. package/dist/collection/components/store/translationStore/strings.hebrew.js +2 -2
  26. package/dist/collection/components/store/translationStore/strings.indonesian.js +2 -2
  27. package/dist/collection/components/store/translationStore/strings.italian.js +2 -2
  28. package/dist/collection/components/store/translationStore/strings.japanese.js +2 -2
  29. package/dist/collection/components/store/translationStore/strings.korean.js +2 -2
  30. package/dist/collection/components/store/translationStore/strings.norwegian.js +2 -2
  31. package/dist/collection/components/store/translationStore/strings.polish.js +2 -2
  32. package/dist/collection/components/store/translationStore/strings.portuguese.js +2 -2
  33. package/dist/collection/components/store/translationStore/strings.russian.js +2 -2
  34. package/dist/collection/components/store/translationStore/strings.spanish.js +2 -2
  35. package/dist/collection/components/store/translationStore/strings.swedish.js +2 -2
  36. package/dist/collection/components/store/translationStore/strings.turkish.js +2 -2
  37. package/dist/collection/components/store/translationStore/strings.vietnamese.js +2 -2
  38. package/dist/esm/{cart-530a8750.js → cart-b96aaa4f.js} +40 -40
  39. package/dist/esm/index.js +3 -3
  40. package/dist/esm/loader.js +1 -1
  41. package/dist/esm/{submitGtag-44ba0846.js → submitGtag-6e271d76.js} +1 -1
  42. package/dist/esm/zonos-address_8.entry.js +1 -1
  43. package/dist/esm/zonos-card_2.entry.js +1 -1
  44. package/dist/esm/zonos-cart-items_12.entry.js +2 -2
  45. package/dist/esm/zonos-checkout.entry.js +2 -2
  46. package/dist/esm/zonos-controller.entry.js +1 -1
  47. package/dist/esm/zonos-country-flag.entry.js +1 -1
  48. package/dist/esm/zonos-country-select_3.entry.js +1 -1
  49. package/dist/esm/zonos-elements.js +1 -1
  50. package/dist/esm/zonos-hello-dialog.entry.js +6 -6
  51. package/dist/esm/zonos-hello.entry.js +30 -3
  52. package/dist/esm/zonos-payment.entry.js +1 -1
  53. package/dist/esm-es5/cart-b96aaa4f.js +1 -0
  54. package/dist/esm-es5/index.js +1 -1
  55. package/dist/esm-es5/loader.js +1 -1
  56. package/dist/esm-es5/{submitGtag-44ba0846.js → submitGtag-6e271d76.js} +1 -1
  57. package/dist/esm-es5/zonos-address_8.entry.js +1 -1
  58. package/dist/esm-es5/zonos-card_2.entry.js +1 -1
  59. package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
  60. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  61. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  62. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  63. package/dist/esm-es5/zonos-country-select_3.entry.js +1 -1
  64. package/dist/esm-es5/zonos-elements.js +1 -1
  65. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  66. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  67. package/dist/esm-es5/zonos-payment.entry.js +1 -1
  68. package/dist/scripts/index.d.ts +11 -2
  69. package/dist/scripts/index.js +1 -1
  70. package/dist/scripts/loadZonos.js +1 -1
  71. package/dist/scripts/zonos.js +1 -1
  72. package/dist/types/components/hello/zonos-hello/zonos-hello.d.ts +8 -0
  73. package/dist/types/components/store/translationStore/strings.arabic.d.ts +1 -1
  74. package/dist/types/components/store/translationStore/strings.base.d.ts +1 -1
  75. package/dist/types/components/store/translationStore/strings.chinese.d.ts +1 -1
  76. package/dist/types/components/store/translationStore/strings.danish.d.ts +1 -1
  77. package/dist/types/components/store/translationStore/strings.dutch.d.ts +1 -1
  78. package/dist/types/components/store/translationStore/strings.french.d.ts +1 -1
  79. package/dist/types/components/store/translationStore/strings.german.d.ts +1 -1
  80. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +1 -1
  81. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +1 -1
  82. package/dist/types/components/store/translationStore/strings.italian.d.ts +1 -1
  83. package/dist/types/components/store/translationStore/strings.japanese.d.ts +1 -1
  84. package/dist/types/components/store/translationStore/strings.korean.d.ts +1 -1
  85. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +1 -1
  86. package/dist/types/components/store/translationStore/strings.polish.d.ts +1 -1
  87. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +1 -1
  88. package/dist/types/components/store/translationStore/strings.russian.d.ts +1 -1
  89. package/dist/types/components/store/translationStore/strings.spanish.d.ts +1 -1
  90. package/dist/types/components/store/translationStore/strings.swedish.d.ts +1 -1
  91. package/dist/types/components/store/translationStore/strings.turkish.d.ts +1 -1
  92. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +1 -1
  93. package/dist/types/components/store/translationStore.d.ts +1 -1
  94. package/dist/types/types/checkout/CheckoutConfig.d.ts +2 -2
  95. package/dist/types/types/hello/HelloConfig.d.ts +10 -1
  96. package/dist/zonos-elements/index.esm.js +1 -1
  97. package/dist/zonos-elements/{p-5f580c9b.system.entry.js → p-087c83a5.system.entry.js} +1 -1
  98. package/dist/zonos-elements/{p-84f7a3a2.system.entry.js → p-10b9a681.system.entry.js} +1 -1
  99. package/dist/zonos-elements/p-1a40aaf4.system.js +1 -0
  100. package/dist/zonos-elements/{p-a5704be4.system.entry.js → p-2613b5d3.system.entry.js} +1 -1
  101. package/dist/zonos-elements/{p-094bfe56.system.entry.js → p-2cb880e7.system.entry.js} +1 -1
  102. package/dist/zonos-elements/p-3de62c84.entry.js +1 -0
  103. package/dist/zonos-elements/{p-2a5a0bae.entry.js → p-4a0cf47b.entry.js} +1 -1
  104. package/dist/zonos-elements/{p-cbed004d.system.entry.js → p-4e01d1ab.system.entry.js} +1 -1
  105. package/dist/zonos-elements/{p-4eaae82e.entry.js → p-5b4c1c09.entry.js} +1 -1
  106. package/dist/zonos-elements/p-5d53f9a4.js +1 -0
  107. package/dist/zonos-elements/{p-e15ef12e.system.entry.js → p-666d1605.system.entry.js} +1 -1
  108. package/dist/zonos-elements/{p-11f87d7d.entry.js → p-692816a7.entry.js} +1 -1
  109. package/dist/zonos-elements/p-725c2d57.entry.js +1 -0
  110. package/dist/zonos-elements/{p-35d00c30.entry.js → p-7664dec5.entry.js} +1 -1
  111. package/dist/zonos-elements/{p-e3978982.entry.js → p-78a839b8.entry.js} +1 -1
  112. package/dist/zonos-elements/{p-5d006b02.system.js → p-8b2125b3.system.js} +1 -1
  113. package/dist/zonos-elements/{p-37685139.entry.js → p-8c9e7980.entry.js} +1 -1
  114. package/dist/zonos-elements/{p-c4154737.system.js → p-9b0aa65c.system.js} +1 -1
  115. package/dist/zonos-elements/{p-ecd994c8.system.entry.js → p-9cdfb51b.system.entry.js} +1 -1
  116. package/dist/zonos-elements/{p-687dbccc.entry.js → p-9f7c0472.entry.js} +1 -1
  117. package/dist/zonos-elements/{p-7b5a0a18.system.entry.js → p-b208fec6.system.entry.js} +1 -1
  118. package/dist/zonos-elements/{p-bb032c2f.js → p-b468f941.js} +1 -1
  119. package/dist/zonos-elements/{p-099e229a.entry.js → p-c63a7dde.entry.js} +1 -1
  120. package/dist/zonos-elements/{p-18d04e89.system.entry.js → p-d7b2a87f.system.entry.js} +1 -1
  121. package/dist/zonos-elements/p-e0bf9666.system.js +1 -1
  122. package/dist/zonos-elements/{p-68dfcd25.system.entry.js → p-f69f1ec6.system.entry.js} +1 -1
  123. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  124. package/package.json +1 -1
  125. package/dist/esm-es5/cart-530a8750.js +0 -1
  126. package/dist/zonos-elements/p-6fe27968.entry.js +0 -1
  127. package/dist/zonos-elements/p-b4ccc72c.js +0 -1
  128. package/dist/zonos-elements/p-fb1120a2.system.js +0 -1
  129. package/dist/zonos-elements/p-fb1b98a8.entry.js +0 -1
@@ -1 +0,0 @@
1
- import{r as o,c as e,h as t,H as s}from"./p-ce347974.js";import{l as i,B as a,t as n}from"./p-b4ccc72c.js";import{z as l}from"./p-5821856c.js";import{c as r}from"./p-b4b7f705.js";import{f as h}from"./p-a87561b8.js";import{g as d}from"./p-5883217a.js";import"./p-eaa335e1.js";import"./p-9a1c0d02.js";import"./p-31b3d26b.js";const c=({href:o,text:e})=>`<zonos-link href="${o}" target="_blank" rel="noopener noreferrer">${e}</zonos-link>`,f=class{constructor(t){o(this,t),this.closeDialog=e(this,"closeDialog",7),this.clickOutsideDialogHandler=o=>{!o.composedPath().includes(this.dialogRef)&&this.isOpen&&this.setIsOpen(!1)},this.getCurrentPageEnum=()=>{switch(l.currentHelloPage){case"home":return"hello_homepage";case"cart":return"hello_cart";case"productList":return"hello_item_list";case"productDetail":return"hello_item_details";default:return null}},this.setShowCountrySelect=async o=>{this.showCountrySelect=o},this.setShowLanguageSelect=async o=>{this.showLanguageSelect=o},this.hasTaxId=()=>{var o;return null===(o=i.countryLandedCost)||void 0===o?void 0:o.hasTaxId},this.isNoThresholdCountry=o=>!(!o||!this.hasTaxId())&&["AU"].includes(o),this.getDutyMessage=()=>{const{countryLandedCost:o}=i,e=(null==o?void 0:o.dutyDeminimus)?a({amount:o.dutyDeminimus}):null;return e&&!this.isNoThresholdCountry(null==o?void 0:o.countryCode)?n("Spend [threshold] duty free",{threshold:e}):n("Duties will apply to all orders")},this.getTaxMessage=()=>{const{countryLandedCost:o}=i,e=(null==o?void 0:o.vatTaxDeminimus)?a({amount:o.vatTaxDeminimus}):null;return e&&!this.isNoThresholdCountry(null==o?void 0:o.countryCode)?n("Spend [threshold] tax free",{threshold:e}):n("Taxes will apply to all orders")},this.getUkDutyTaxMessage=o=>o.allowLowValueOrders?null:[n("Orders to [countryName] must be over [threshold] to ship.",{countryName:"United Kingdom",threshold:a({amount:o.dutyDeminimus})})],this.getAustraliaDutyTaxMessage=o=>[n("Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders",{percentage:100*o.vatTaxRate+"%"}),`${n("The low-value GST law passed July 1st, 2018 applies to this retailer.")} ${c({href:"https://zonos.com/docs/global-ecommerce/landed-cost/tax-remittance/australia-gst",text:n("Learn more.")})}`],this.getNewZealandDutyTaxMessge=o=>[n("[percentage] GST due on any order above [threshold] along with an import entry transaction fee and MPI levy.",{percentage:100*o.vatTaxRate+"%",threshold:a({amount:o.vatTaxDeminimus})})],this.getAdditionalDutyTaxMessage=()=>{if(!i.countryLandedCost)return null;if(!this.hasTaxId())return null;switch(i.countryLandedCost.countryCode){case"GB":return this.getUkDutyTaxMessage(i.countryLandedCost);case"AU":return this.getAustraliaDutyTaxMessage(i.countryLandedCost);case"NZ":return this.getNewZealandDutyTaxMessge(i.countryLandedCost);default:return null}},this.isOpen=!1,this.setIsOpen=()=>{},this.mobileLocationOverride=void 0,this.animateFromLeftOverride=void 0,this.appearanceSettings=void 0,this.restrictedItems=[],this.welcomeMessage="Welcome to our Demo App!",this.showCountrySelect=!1,this.showLanguageSelect=!1}globalClickHandler(o){this.clickOutsideDialogHandler(o)}isOpenHandler(o){o||(this.setShowCountrySelect(!1),this.setShowLanguageSelect(!1))}render(){var o;const{selectedCountryCode:e}=i,a=this.getDutyMessage(),c=this.getTaxMessage(),f=this.getAdditionalDutyTaxMessage(),m=this.animateFromLeftOverride||this.dialogRef&&d(this.dialogRef),g=this.dialogRef&&(()=>{const o=this.dialogRef.getBoundingClientRect();return o.top>=window.innerHeight-o.bottom})(),{customMessages:b}=i,u=n("Welcome to [storeName]!",{storeName:l.organizationName}),p=(null===(o=b.find((o=>"hello_default"===o.pageName)))||void 0===o?void 0:o.message)||n("Know about duties and taxes before you buy. Shop with confidence!"),z=h(p),w=this.getCurrentPageEnum(),v=b.filter((o=>o.pageName===w));return t(s,{key:"bb2b080aaba7b85599b7e6bcb7cabee70863070f",class:"zonos--elements"},t("div",{key:"aabdbd8c4b47f759396d1a56fac426570385768d","aria-hidden":"true",class:r(["zonos--hello-dialog",m&&"zonos--hello-dialog-animate-from-left",g&&"zonos--hello-dialog-animate-from-bottom",!!this.mobileLocationOverride&&"zonos--hello-dialog-mobile-override",this.isOpen&&"zonos--hello-dialog-open"]),ref:o=>o&&(this.dialogRef=o)},!this.showCountrySelect&&!this.showLanguageSelect&&t("div",{key:"d9189f1ced79d3d3fd11c99ea1407e7b83a2573b"},t("div",{key:"83ac2ab3583935ececea8be98ab64559d802725a",class:"zonos--hello-dialog-content"},t("zonos-button",{key:"4f36dea145e751d63a2d0df3f472ffe674fbb580",class:"zonos--close-button",icon:t("zonos-icon",{"aria-label":"Close Zonos Hello dialog",content:'<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>'}),noBackground:!0,onClick:()=>this.setIsOpen(!1)}),t("zonos-v-stack",{key:"e8a7cebe4ca88da80b974e3a3536714fe4da47c1",spacing:24},t("zonos-country-flag",{key:"e02c72135b9c7e9e533fc46c8f4b286ba1cb1b63",class:"zonos--hello-country-flag",countryCode:e}),t("zonos-v-stack",{key:"7d199c0a5f465fe1640e690d2712f11a80e1f378",class:"zonos--hello-dialog-header",spacing:4},t("zonos-text",{key:"97bf6611bd485ace8ad9b94c3520148ae0d1eab0",type:"boldSubheader"},u),t("zonos-text",{key:"c1e524bf689f34aed978f350676ffa957724176f",innerHTML:z,textColor:"gray-800"})),t("zonos-v-stack",{key:"81a2fabb2f6c2d853f2f6619f7c6829754d80a59",spacing:8},this.restrictedItems.map((o=>{var e;return o&&t("zonos-banner",{bannerTitle:o.name,intent:"error"},null===(e=o.itemRestrictions)||void 0===e?void 0:e.map((o=>t("zonos-text",{textColor:"red-800"},null==o?void 0:o.note))))})),t("zonos-card",{key:"29ba8b81746a696ca43b88daa89a7c85af5a2b34",spacing:"12px"},t("zonos-v-stack",{key:"8f4e79efe07a4c7c1b493178c952bfe61a151f0c",spacing:12},t("div",{key:"a17eda2b103d376f7ca8a9b528d613195b3a1fe7",class:"zonos--flex-message"},t("zonos-icon",{key:"13c828d956198211a1fbda77840f8b91692d1582","aria-label":"Duty de minimis",content:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M9.35028 11.5744C9.05738 11.2815 8.58251 11.2815 8.28962 11.5744C7.99672 11.8673 7.99672 12.3422 8.28962 12.635L11.2917 15.6372C11.6823 16.0277 12.3154 16.0277 12.7059 15.6372L15.708 12.6351C16.0009 12.3422 16.0009 11.8674 15.708 11.5745C15.4151 11.2816 14.9402 11.2816 14.6473 11.5745L12.7488 13.4729V4.68005C12.7488 4.26584 12.413 3.93005 11.9988 3.93005C11.5846 3.93005 11.2488 4.26584 11.2488 4.68005L11.2488 13.4729L9.35028 11.5744Z" fill="#4D505A"/>\n<path d="M20 14C20 13.5858 19.6642 13.25 19.25 13.25C18.8358 13.25 18.5 13.5858 18.5 14L18.5 17.25C18.5 17.9404 17.9404 18.5 17.25 18.5L6.75 18.5C6.05964 18.5 5.5 17.9404 5.5 17.25L5.5 14C5.5 13.5858 5.16421 13.25 4.75 13.25C4.33579 13.25 4 13.5858 4 14V17.25C4 18.7688 5.23122 20 6.75 20H17.25C18.7688 20 20 18.7688 20 17.25L20 14Z" fill="#4D505A"/>\n</svg>\n'}),t("zonos-text",{key:"c38511e16905f169b821d0cd8d98dee80a7c1de1"},a)),t("div",{key:"9b3165d870419732d4be1421336326f8d4e98547",class:"zonos--flex-message"},t("zonos-icon",{key:"46248b95b97a3ec74ffc038dda29ca74a1e700c2","aria-label":"Tax de minimis",content:'<svg width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="https://www.w3.org/2000/svg">\n<path fill-rule="evenodd" clip-rule="evenodd" d="M2.16666 5.83301C2.16666 4.4523 3.28594 3.33301 4.66666 3.33301H16.3333C17.714 3.33301 18.8333 4.4523 18.8333 5.83301V14.1663C18.8333 15.5471 17.714 16.6663 16.3333 16.6663H4.66666C3.28594 16.6663 2.16666 15.5471 2.16666 14.1663V5.83301ZM4.66666 4.99967C4.20642 4.99967 3.83332 5.37277 3.83332 5.83301V14.1663C3.83332 14.6266 4.20642 14.9997 4.66666 14.9997H16.3333C16.7936 14.9997 17.1667 14.6266 17.1667 14.1663V5.83301C17.1667 5.37277 16.7936 4.99967 16.3333 4.99967H4.66666ZM6.33332 8.33301C6.79356 8.33301 7.16666 8.7061 7.16666 9.16634V10.833C7.16666 11.2932 6.79356 11.6663 6.33332 11.6663C5.87309 11.6663 5.49999 11.2932 5.49999 10.833V9.16634C5.49999 8.7061 5.87309 8.33301 6.33332 8.33301ZM8.83332 9.99967C8.83332 9.0792 9.57952 8.33301 10.5 8.33301C11.4205 8.33301 12.1667 9.0792 12.1667 9.99967C12.1667 10.9201 11.4205 11.6663 10.5 11.6663C9.57952 11.6663 8.83332 10.9201 8.83332 9.99967ZM14.6667 8.33301C15.1269 8.33301 15.5 8.7061 15.5 9.16634V10.833C15.5 11.2932 15.1269 11.6663 14.6667 11.6663C14.2064 11.6663 13.8333 11.2932 13.8333 10.833V9.16634C13.8333 8.7061 14.2064 8.33301 14.6667 8.33301Z" fill="#4D505A"/>\n</svg>\n'}),t("zonos-text",{key:"1d698d83f9fa43746de870553d1ba1c09389aefb"},c)),null==f?void 0:f.map((o=>t("div",{class:"zonos--flex-message"},t("zonos-icon",{"aria-label":"Additional information for buying goods from selected country",content:'<svg width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="https://www.w3.org/2000/svg">\n<path fill-rule="evenodd" clip-rule="evenodd" d="M9.66666 4.16667C9.20642 4.16667 8.83333 4.53976 8.83333 5V5.83333H12.1667V5C12.1667 4.53976 11.7936 4.16667 11.3333 4.16667H9.66666ZM13.8333 5.83333V5C13.8333 3.61929 12.714 2.5 11.3333 2.5H9.66666C8.28595 2.5 7.16666 3.61929 7.16666 5V5.83333H6.77759C5.44832 5.83333 4.35149 6.87354 4.2811 8.20094L3.92756 14.8676C3.85169 16.2983 4.99133 17.5 6.42405 17.5H14.5759C16.0087 17.5 17.1483 16.2983 17.0724 14.8676L16.7189 8.20094C16.6485 6.87354 15.5517 5.83333 14.2224 5.83333H13.8333ZM12.1667 7.5V8.33333C12.1667 8.79357 12.5398 9.16667 13 9.16667C13.4602 9.16667 13.8333 8.79357 13.8333 8.33333V7.5H14.2224C14.6655 7.5 15.0311 7.84674 15.0546 8.2892L15.4081 14.9559C15.4334 15.4328 15.0535 15.8333 14.5759 15.8333H6.42405C5.94648 15.8333 5.5666 15.4328 5.59189 14.9559L5.94542 8.2892C5.96889 7.84674 6.3345 7.5 6.77759 7.5H7.16666V8.33333C7.16666 8.79357 7.53976 9.16667 7.99999 9.16667C8.46023 9.16667 8.83333 8.79357 8.83333 8.33333V7.5H12.1667Z" fill="#4D505A"/>\n</svg>\n'}),t("zonos-text",{innerHTML:o})))))),v.map((o=>t("zonos-custom-message",{icon:'<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="https://www.w3.org/2000/svg">\n<path fill-rule="evenodd" clip-rule="evenodd" d="M2.25 4.5C2.25 3.25736 3.25736 2.25 4.5 2.25H13.5C14.7426 2.25 15.75 3.25736 15.75 4.5V10.5C15.75 11.7426 14.7426 12.75 13.5 12.75H8.25C8.01393 12.75 7.79164 12.8611 7.65 13.05L6.3 14.85C5.87508 15.4166 5.2082 15.75 4.5 15.75C3.25736 15.75 2.25 14.7426 2.25 13.5V4.5ZM4.5 3.75C4.08579 3.75 3.75 4.08579 3.75 4.5V13.5C3.75 13.9142 4.08579 14.25 4.5 14.25C4.73607 14.25 4.95836 14.1389 5.1 13.95L6.45 12.15C6.87492 11.5834 7.5418 11.25 8.25 11.25H13.5C13.9142 11.25 14.25 10.9142 14.25 10.5V4.5C14.25 4.08579 13.9142 3.75 13.5 3.75H4.5ZM5.25 6C5.25 5.58579 5.58579 5.25 6 5.25H12C12.4142 5.25 12.75 5.58579 12.75 6C12.75 6.41421 12.4142 6.75 12 6.75H6C5.58579 6.75 5.25 6.41421 5.25 6ZM5.25 9C5.25 8.58579 5.58579 8.25 6 8.25H8.25C8.66421 8.25 9 8.58579 9 9C9 9.41421 8.66421 9.75 8.25 9.75H6C5.58579 9.75 5.25 9.41421 5.25 9Z" fill="#4D505A"/>\n</svg>\n',message:o.message})))))),t("zonos-hello-dialog-footer",{key:"fcc21cc1e8b3de45af03c64ffc95dc2ab6f57bf3",appearanceSettings:this.appearanceSettings,setShowCountrySelect:o=>this.setShowCountrySelect(o),setShowLanguageSelect:o=>this.setShowLanguageSelect(o)})),this.showCountrySelect&&t("div",{key:"bbf019b27e6da7aa3256f14bf928aae26ca92f54"},t("zonos-country-select",{key:"a70d55e1872ec626e8446866dbad3aafca69790c",handleOnClose:()=>this.setShowCountrySelect(!1)})),this.showLanguageSelect&&t("div",{key:"77f63941fcbb3bc0c668a61aa48ca2e60b8addeb"},t("zonos-language-select",{key:"57a4d06c098662b00c3587f3b2290552dc04f2fe",handleOnClose:()=>this.setShowLanguageSelect(!1)}))))}static get assetsDirs(){return["assets"]}static get watchers(){return{isOpen:["isOpenHandler"]}}};f.style=":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--hello-country-flag{height:18px;width:18px;position:relative;overflow:hidden;border-radius:30px;-webkit-box-shadow:var(--zonos-elements-v3-shadow-medium);box-shadow:var(--zonos-elements-v3-shadow-medium);z-index:10;justify-self:center}:host .zonos--hello-dialog{position:absolute;background:var(--zonos-elements-surface-color);width:100vw;max-width:430px;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;max-height:600px;border-radius:var(--zonos-elements-radius-12);outline:none;-webkit-box-shadow:var(--zonos-elements-v3-shadow-xxl);box-shadow:var(--zonos-elements-v3-shadow-xxl);overflow-y:auto;top:-2px;right:-2px;opacity:0;-webkit-transition:opacity 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;transition:opacity 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;transition:opacity 0.3s ease-in-out, transform 0.3s ease-in-out;transition:opacity 0.3s ease-in-out, transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:top right;transform-origin:top right;z-index:1001}:host .zonos--hello-dialog .zonos--hello-dialog-header{text-align:center}:host .zonos--hello-dialog.zonos--hello-dialog-animate-from-left{-webkit-transform-origin:top left;transform-origin:top left;right:unset;left:-2px}:host .zonos--hello-dialog.zonos--hello-dialog-animate-from-bottom{-webkit-transform-origin:bottom right;transform-origin:bottom right;bottom:calc(100% - 32px);top:unset}:host .zonos--hello-dialog.zonos--hello-dialog-animate-from-bottom.zonos--hello-dialog-animate-from-left{-webkit-transform-origin:bottom left;transform-origin:bottom left}:host .zonos--hello-dialog::-webkit-scrollbar{width:12px;height:12px}:host .zonos--hello-dialog::-webkit-scrollbar-track{background:#f5f5f5;border-top-right-radius:var(--zonos-elements-radius-12);border-bottom-right-radius:var(--zonos-elements-radius-12)}:host .zonos--hello-dialog::-webkit-scrollbar-thumb{border-radius:10px;background:#ccc;border:4px solid transparent;background-clip:content-box}:host .zonos--hello-dialog::-webkit-scrollbar-thumb:hover{background:#999}:host .zonos--hello-dialog .zonos--animate-content{opacity:0;height:0;-webkit-transition:all 0.3s ease-in-out;transition:all 0.3s ease-in-out}:host .zonos--hello-dialog .zonos--show-animate-content{opacity:1;height:100%}:host .zonos--hello-dialog.zonos--hello-dialog-open{opacity:1;-webkit-transform:scale(1);transform:scale(1)}:host .zonos--hello-dialog .zonos--close-button{position:absolute;right:8px;top:8px;width:var(--zonos-elements-size-md);height:var(--zonos-elements-size-md);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;cursor:pointer;z-index:10}:host .zonos--hello-dialog .zonos--close-button:hover{background:var(--zonos-elements-hover-color);border-radius:var(--zonos-elements-radius-6)}:host .zonos--hello-dialog .zonos--hello-dialog-content{padding:16px}:host .zonos--hello-dialog .zonos--hello-dialog-content .zonos--hello-country-flag{border-radius:var(--zonos-elements-radius-4);width:32px;height:24px}:host .zonos--hello-dialog .zonos--flex-message{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:12px}:host .zonos--hello-dialog.zonos--hello-dialog-mobile-override{position:-webkit-sticky;position:sticky;top:unset;left:unset;right:unset;bottom:0;width:100vw;max-width:100vw;max-height:500px;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;-webkit-transform:scaleY(0);transform:scaleY(0);border-radius:0;-webkit-transform-origin:bottom;transform-origin:bottom}@media (max-height: 600px){:host .zonos--hello-dialog.zonos--hello-dialog-mobile-override{max-height:80vh}}:host .zonos--hello-dialog.zonos--hello-dialog-mobile-override.zonos--hello-dialog-animate-from-left{-webkit-transform-origin:bottom;transform-origin:bottom}:host .zonos--hello-dialog.zonos--hello-dialog-mobile-override.zonos--hello-dialog-open{opacity:1;-webkit-transform:scaleY(1);transform:scaleY(1)}@media (max-width: 768px){:host .zonos--hello-dialog{position:-webkit-sticky;position:sticky;top:unset;left:unset;right:unset;bottom:0;width:100vw;max-width:100vw;max-height:500px;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;-webkit-transform:scaleY(0);transform:scaleY(0);border-radius:0;-webkit-transform-origin:bottom;transform-origin:bottom}}@media (max-width: 768px) and (max-height: 600px){:host .zonos--hello-dialog{max-height:80vh}}@media (max-width: 768px){:host .zonos--hello-dialog.zonos--hello-dialog-animate-from-left{-webkit-transform-origin:bottom;transform-origin:bottom}}@media (max-width: 768px){:host .zonos--hello-dialog.zonos--hello-dialog-open{opacity:1;-webkit-transform:scaleY(1);transform:scaleY(1)}}";export{f as zonos_hello_dialog}