@zonos/elements 1.3.36 → 1.3.38

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 (152) hide show
  1. package/README.md +6 -6
  2. package/dist/cjs/{cart-401b6d32.js → cart-c7212410.js} +309 -199
  3. package/dist/cjs/index.cjs.js +4 -4
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/{submitGtag-bc6af393.js → submitGtag-7a679d92.js} +1 -1
  6. package/dist/cjs/zonos-address_8.cjs.entry.js +3 -3
  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 +2 -2
  10. package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
  11. package/dist/cjs/zonos-country-select_3.cjs.entry.js +7 -9
  12. package/dist/cjs/zonos-elements.cjs.js +1 -1
  13. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +35 -14
  14. package/dist/cjs/zonos-hello.cjs.entry.js +7 -1
  15. package/dist/cjs/zonos-language-select_2.cjs.entry.js +1 -1
  16. package/dist/cjs/zonos-notification_2.cjs.entry.js +2 -2
  17. package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +4 -6
  18. package/dist/collection/components/hello/zonos-hello/zonos-hello.js +23 -0
  19. package/dist/collection/components/hello/zonos-hello-dialog/assets/inclusivePricingIcon.svg +8 -0
  20. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +2 -2
  21. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +28 -14
  22. package/dist/collection/components/main/zonos-controller.js +1 -1
  23. package/dist/collection/components/store/hello/localization.js +37 -0
  24. package/dist/collection/components/store/translationStore/strings.arabic.js +13 -10
  25. package/dist/collection/components/store/translationStore/strings.base.js +13 -10
  26. package/dist/collection/components/store/translationStore/strings.chinese.js +13 -10
  27. package/dist/collection/components/store/translationStore/strings.danish.js +13 -10
  28. package/dist/collection/components/store/translationStore/strings.dutch.js +13 -10
  29. package/dist/collection/components/store/translationStore/strings.french.js +13 -10
  30. package/dist/collection/components/store/translationStore/strings.german.js +13 -10
  31. package/dist/collection/components/store/translationStore/strings.hebrew.js +13 -10
  32. package/dist/collection/components/store/translationStore/strings.indonesian.js +13 -10
  33. package/dist/collection/components/store/translationStore/strings.italian.js +13 -10
  34. package/dist/collection/components/store/translationStore/strings.japanese.js +12 -9
  35. package/dist/collection/components/store/translationStore/strings.korean.js +13 -10
  36. package/dist/collection/components/store/translationStore/strings.norwegian.js +13 -10
  37. package/dist/collection/components/store/translationStore/strings.polish.js +13 -10
  38. package/dist/collection/components/store/translationStore/strings.portuguese.js +13 -10
  39. package/dist/collection/components/store/translationStore/strings.russian.js +13 -10
  40. package/dist/collection/components/store/translationStore/strings.spanish.js +13 -10
  41. package/dist/collection/components/store/translationStore/strings.swedish.js +13 -10
  42. package/dist/collection/components/store/translationStore/strings.turkish.js +13 -10
  43. package/dist/collection/components/store/translationStore/strings.vietnamese.js +13 -10
  44. package/dist/collection/components/stripe/zonos-address/zonos-address.js +1 -1
  45. package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +1 -1
  46. package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
  47. package/dist/collection/components/utils/api/getInclusivePricing.js +15 -0
  48. package/dist/collection/types/generated/graphql.customer.types.js +65 -9
  49. package/dist/collection/types/generated/graphql.frontend.types.js +4 -0
  50. package/dist/esm/{cart-f29968a8.js → cart-eb75b113.js} +309 -199
  51. package/dist/esm/index.js +4 -4
  52. package/dist/esm/loader.js +1 -1
  53. package/dist/esm/{submitGtag-fcfd5cf4.js → submitGtag-0bc0baa0.js} +1 -1
  54. package/dist/esm/zonos-address_8.entry.js +3 -3
  55. package/dist/esm/zonos-cart-items_12.entry.js +2 -2
  56. package/dist/esm/zonos-checkout.entry.js +2 -2
  57. package/dist/esm/zonos-controller.entry.js +2 -2
  58. package/dist/esm/zonos-country-flag.entry.js +1 -1
  59. package/dist/esm/zonos-country-select_3.entry.js +7 -9
  60. package/dist/esm/zonos-elements.js +1 -1
  61. package/dist/esm/zonos-hello-dialog.entry.js +36 -15
  62. package/dist/esm/zonos-hello.entry.js +7 -1
  63. package/dist/esm/zonos-language-select_2.entry.js +1 -1
  64. package/dist/esm/zonos-notification_2.entry.js +2 -2
  65. package/dist/esm-es5/cart-eb75b113.js +1 -0
  66. package/dist/esm-es5/index.js +1 -1
  67. package/dist/esm-es5/loader.js +1 -1
  68. package/dist/esm-es5/{submitGtag-fcfd5cf4.js → submitGtag-0bc0baa0.js} +1 -1
  69. package/dist/esm-es5/zonos-address_8.entry.js +1 -1
  70. package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
  71. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  72. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  73. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  74. package/dist/esm-es5/zonos-country-select_3.entry.js +1 -1
  75. package/dist/esm-es5/zonos-elements.js +1 -1
  76. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  77. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  78. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  79. package/dist/esm-es5/zonos-notification_2.entry.js +1 -1
  80. package/dist/scripts/index.d.ts +62 -7
  81. package/dist/scripts/index.js +1 -1
  82. package/dist/scripts/loadZonos.js +1 -1
  83. package/dist/scripts/zonos.js +1 -1
  84. package/dist/types/components/hello/zonos-hello/zonos-hello.d.ts +4 -0
  85. package/dist/types/components/hello/zonos-hello-dialog/zonos-hello-dialog.d.ts +1 -0
  86. package/dist/types/components/store/hello/localization.d.ts +2 -0
  87. package/dist/types/components/store/translationStore/strings.arabic.d.ts +8 -5
  88. package/dist/types/components/store/translationStore/strings.base.d.ts +8 -5
  89. package/dist/types/components/store/translationStore/strings.chinese.d.ts +8 -5
  90. package/dist/types/components/store/translationStore/strings.danish.d.ts +8 -5
  91. package/dist/types/components/store/translationStore/strings.dutch.d.ts +8 -5
  92. package/dist/types/components/store/translationStore/strings.french.d.ts +8 -5
  93. package/dist/types/components/store/translationStore/strings.german.d.ts +8 -5
  94. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +8 -5
  95. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +8 -5
  96. package/dist/types/components/store/translationStore/strings.italian.d.ts +8 -5
  97. package/dist/types/components/store/translationStore/strings.japanese.d.ts +8 -5
  98. package/dist/types/components/store/translationStore/strings.korean.d.ts +8 -5
  99. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +8 -5
  100. package/dist/types/components/store/translationStore/strings.polish.d.ts +8 -5
  101. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +8 -5
  102. package/dist/types/components/store/translationStore/strings.russian.d.ts +8 -5
  103. package/dist/types/components/store/translationStore/strings.spanish.d.ts +8 -5
  104. package/dist/types/components/store/translationStore/strings.swedish.d.ts +8 -5
  105. package/dist/types/components/store/translationStore/strings.turkish.d.ts +8 -5
  106. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +8 -5
  107. package/dist/types/components/store/translationStore.d.ts +1 -1
  108. package/dist/types/components/utils/api/getInclusivePricing.d.ts +8 -0
  109. package/dist/types/components/utils/api/getLocaleMessages.d.ts +1 -1
  110. package/dist/types/components.d.ts +4 -0
  111. package/dist/types/types/generated/graphql.customer.types.d.ts +85 -12
  112. package/dist/types/types/generated/graphql.customer.types.ts +111 -14
  113. package/dist/types/types/generated/graphql.frontend.types.d.ts +5 -1
  114. package/dist/types/types/generated/graphql.frontend.types.ts +7 -1
  115. package/dist/types/types/hello/HelloConfig.d.ts +6 -0
  116. package/dist/zonos-elements/assets/inclusivePricingIcon.svg +8 -0
  117. package/dist/zonos-elements/index.esm.js +1 -1
  118. package/dist/zonos-elements/{p-4d95b4f4.system.entry.js → p-02405211.system.entry.js} +1 -1
  119. package/dist/zonos-elements/p-085548f2.entry.js +1 -0
  120. package/dist/zonos-elements/{p-eea3ec17.entry.js → p-18b28104.entry.js} +1 -1
  121. package/dist/zonos-elements/{p-2cee5f3a.system.entry.js → p-357322ea.system.entry.js} +1 -1
  122. package/dist/zonos-elements/{p-c9062536.system.entry.js → p-3f5e2e5c.system.entry.js} +1 -1
  123. package/dist/zonos-elements/{p-38f882ea.system.entry.js → p-467f934c.system.entry.js} +1 -1
  124. package/dist/zonos-elements/{p-5b723a1d.js → p-53acc999.js} +1 -1
  125. package/dist/zonos-elements/{p-6b06ac3d.entry.js → p-548ac127.entry.js} +1 -1
  126. package/dist/zonos-elements/{p-f9931ad1.system.entry.js → p-5609876a.system.entry.js} +1 -1
  127. package/dist/zonos-elements/{p-6ec40c8f.entry.js → p-57617755.entry.js} +1 -1
  128. package/dist/zonos-elements/{p-bf9578d3.entry.js → p-59f37de3.entry.js} +1 -1
  129. package/dist/zonos-elements/{p-e0709be2.entry.js → p-62ed4236.entry.js} +1 -1
  130. package/dist/zonos-elements/{p-8363436f.entry.js → p-6f9448bb.entry.js} +1 -1
  131. package/dist/zonos-elements/{p-1fbf0527.system.js → p-70262120.system.js} +1 -1
  132. package/dist/zonos-elements/p-878293fe.js +1 -0
  133. package/dist/zonos-elements/{p-62e21e2b.system.entry.js → p-8acdf43b.system.entry.js} +1 -1
  134. package/dist/zonos-elements/p-9d29f3f4.system.entry.js +1 -0
  135. package/dist/zonos-elements/{p-d410ef50.system.entry.js → p-a21ec316.system.entry.js} +1 -1
  136. package/dist/zonos-elements/p-a8b934c2.entry.js +1 -0
  137. package/dist/zonos-elements/p-abe8ea12.system.js +1 -0
  138. package/dist/zonos-elements/{p-1c2de5da.system.js → p-ad37d20e.system.js} +1 -1
  139. package/dist/zonos-elements/{p-e4ef71bd.entry.js → p-ae04d3ff.entry.js} +1 -1
  140. package/dist/zonos-elements/{p-891d2c76.system.entry.js → p-b684f8aa.system.entry.js} +1 -1
  141. package/dist/zonos-elements/p-e0bf9666.system.js +1 -1
  142. package/dist/zonos-elements/p-e1db1bc9.entry.js +1 -0
  143. package/dist/zonos-elements/{p-5ce19bce.system.entry.js → p-f06bb776.system.entry.js} +1 -1
  144. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  145. package/package.json +5 -3
  146. package/dist/esm-es5/cart-f29968a8.js +0 -1
  147. package/dist/zonos-elements/p-2947c138.js +0 -1
  148. package/dist/zonos-elements/p-60f7bcee.entry.js +0 -1
  149. package/dist/zonos-elements/p-91635589.system.js +0 -1
  150. package/dist/zonos-elements/p-952e331c.entry.js +0 -1
  151. package/dist/zonos-elements/p-c0efa3a3.system.entry.js +0 -1
  152. package/dist/zonos-elements/p-cfe9c940.entry.js +0 -1
@@ -1 +1 @@
1
- (function(){"use strict";const e=(e,t,...n)=>{var o,r;if(!(!!(null===(o=window.Zonos)||void 0===o?void 0:o.debug)||!!window.location.search.match(/\?.*(&*)zonosDebug=1/)))return void("error"===t&&console.error(e,...n));let s=document.querySelector("iframe#zonos---debug-logging-iframe");s||(s=document.createElement("iframe"),s.id="zonos---debug-logging-iframe",s.style.display="none",s.style.opacity="0",s.style.position="absolute",s.style.top="-9999px",s.style.left="-9999px",s.style.width="1px",s.style.height="1px",s.style.border="none",s.style.overflow="hidden",s.style.visibility="hidden",document.body.appendChild(s));const i=(null===(r=s.contentWindow)||void 0===r?void 0:r.window.console)||window.console;switch(t){case"warn":i.warn(e,...n);break;case"info":i.info(e,...n);break;case"error":i.error(e,...n);break;default:i.groupCollapsed(e,...n),i.trace(),i.groupEnd()}},t=(t,...n)=>{e(t,"error",...n)},n=["jsdelivr","unpkg","vercel"],o=e=>{const t=n.indexOf(e);return n[t+1]||null},r=()=>{if("undefined"==typeof window)return null;const t=(e=>{if(!e)return null;const t=new URL(e).searchParams.get("zonosQaUrl");return t?/[^a-zA-Z0-9-_]+/.test(t)?null:t:null})(window.location.href);if(!t)return null;if("dev-elements"===t)return"https://dev.elements.zonos.com";const n=`https://${t}.preview.js.zonos.com`;return e(`[ZONOS-WARNING] using '${n}' for loading script`,"warn"),fetch(n).then((()=>{window.sessionStorage.removeItem("zonos--checkout-session-id"),window.sessionStorage.removeItem("zonos--client-secret")})).catch((()=>{alert(`[ZONOS-WARNING] '${n}' IS NO LONGER AVAILABLE. REMOVING zonosQaUrl PARAM AND RELOADING THE PAGE`);const e=new URLSearchParams(window.location.search);e.delete("zonosQaUrl");const{pathname:t}=window.location,o=`${t}?${e.toString()}`;return window.history.replaceState(window.history.state,"",o),window.location.reload(),null})),n},s="https://js.stripe.com/v3",i=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,l="loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used";let c=null;const d=e=>(null!==c||(c=new Promise(((n,o)=>{if("undefined"!=typeof window&&"undefined"!=typeof document)if(window.Stripe&&e&&console.warn(l),window.Stripe)n(window.Stripe);else try{let r=(()=>{const e=document.querySelectorAll(`script[src^="${s}"]`);for(let t=0;t<e.length;t++){const n=e[t];if(n&&i.test(n.src))return n}return null})();r&&e?console.warn(l):r||(r=(e=>{const n=document.createElement("script");n.src=`${s}`;const o=document.head||document.body;return o?(o.appendChild(n),n):(t("Expected document.body not to be null. Stripe.js requires a <body> element."),null)})()),null==r||r.addEventListener("load",(()=>{window.Stripe?n(window.Stripe):o(new Error("Stripe.js not available"))})),null==r||r.addEventListener("error",(()=>{o(new Error("Failed to load Stripe.js"))}))}catch(e){return void o(e)}else n(null)}))),c),a=Promise.resolve().then((()=>d(null)));let u=!1;a.catch((e=>{u||console.warn(e)}));var p;const m=(()=>{if("undefined"==typeof document)return null;const e=document.querySelector('script[src*="/zonos.js"]'),{currentLoadScriptUrl:t,isWhiteListed:n}=(({loadScriptSrc:e})=>{if(!e)return{currentLoadScriptUrl:"",isForceLoadVersionDomain:!1,isWhiteListed:!1};const t=new URL(e).origin,n=["dev.elements.zonos.com",".js.zonos.com","zonos-elements-test-git","zonos-elements-git"].some((e=>t.includes(e))),o=["qa.js.zonos.com"].some((e=>t.includes(e)));return{currentLoadScriptUrl:t,isForceLoadVersionDomain:o,isWhiteListed:n}})({loadScriptSrc:null==e?void 0:e.src});return n?t:null})(),h="https://v1.3.36.js.zonos.com",y=m||"https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.36",w="jsdelivr",f="https://rsms.me",g="https://fonts.googleapis.com",v=/^https:\/\/rsms\.me\/inter\/inter\.css(.*)$/;class S{}p=S,S.doneInit=!1,S.debug="undefined"!=typeof window&&!!window.location.search.match(/\?.*(&*)zonosDebug=1/),S.zonosConversionTest="undefined"!=typeof window&&!!window.location.search.match(/\?.*(&*)zonosConversionTest/),S.isBigCommerce=!1,S.isNpm=!0,S.zonosQaUrl=null,S.version="v1.3.36",S.modeAlerted=!1,S.tempCartData=null,S.getCurrentTimestamp=()=>(new Date).getTime(),S.zonosController=null,S.init=async({appearance:n,checkoutSettings:o,currencyConverter:r,helloSettings:s,onCountryChange:i,overrideCurrencyFormat:l,storeId:c,zonosApiKey:d})=>{p.doneInit||(e(`====== ZONOS DEBUG MODE: on (${p.version}) ======`),d?(p.zonosApiKey=d,p.storeId=c,e("init zonos"),p.injectZonosCdn(),p.injectZonosCss(),p.injectFonts(),p.injectController({config:{appearance:n,checkoutSettings:o,currencyConverter:r,helloSettings:s,onCountryChange:i,overrideCurrencyFormat:l},zonosApiKey:d}),p.doneInit=!0):t("Missing Zonos API key"))},S.displayCurrency=()=>{const e=document.querySelector("zonos-hello");e&&e.displayCurrency()},S.openHelloDialog=e=>{const t=document.querySelector("zonos-hello");t&&t.openHelloDialog(null==e||e)},S.showNotification=e=>{var t;null===(t=p.zonosController)||void 0===t||t.showNotification(e)},S.updateOrganizationName=e=>{var t;null===(t=p.zonosController)||void 0===t||t.updateOrganizationName(e)},S.disablePlaceOrderButtons=({autoEnable:e=!0,config:t,disable:n,placeOrderButtonSelector:o})=>{var r;if(!(null===(r=t.checkoutSettings)||void 0===r?void 0:r.disablePlaceOrderButtonActivation)&&o){const t=document.querySelectorAll(o),r=e=>{e.target.getAttribute("disabled")&&(e.preventDefault(),e.stopPropagation())};t.forEach((e=>{e.getAttribute("data-zonos-checkout-attached")||(n?(e.setAttribute("disabled","true"),e.addEventListener("click",r)):(e.removeAttribute("disabled"),e.removeEventListener("click",r)))})),e&&n&&setTimeout((()=>{t.forEach((e=>{e.removeAttribute("disabled"),e.removeEventListener("click",r)}))}),5e3)}},S.injectController=({config:n,zonosApiKey:o})=>{var r;if(document.querySelector("zonos-controller"))return;if(null===(r=n.checkoutSettings)||void 0===r?void 0:r.placeOrderButtonSelector){const e=n.checkoutSettings.placeOrderButtonSelector;p.disablePlaceOrderButtons({config:n,disable:!0,placeOrderButtonSelector:e});new MutationObserver((()=>{p.disablePlaceOrderButtons({config:n,disable:!0,placeOrderButtonSelector:e})})).observe(document.body,{childList:!0,subtree:!0})}const s=document.createElement("zonos-controller");s.config=n,s.zonosApiKey=o,s.addEventListener("stripeInitEvent",(async n=>{const{detail:o}=n;e("loading Stripe");const r=await(async(...e)=>{u=!0;const t=Date.now();return a.then((n=>((e,t,n)=>{if(null===e)return null;const o=e.apply(void 0,t);return((e,t)=>{e&&e._registerWrapper&&e._registerWrapper({name:"stripe-js",startTime:t})})(o,n),o})(n,e,t)))})(o.publishableKey);r?(window.Zonos.stripe=r,s.initCheckoutElement(r)):t("API seems to be invalid or missing. Failed to load Stripe")})),document.body.appendChild(s),p.zonosController=s,e("Zonos controller injected!")},S.injectScript=({cdnType:n,isModule:r,theRestUrl:s})=>{const i=`${p.getZonosUrl(n)}/${s}`;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");r?c.type="module":c.noModule=!0,c.src=i,c.crossOrigin="anonymous",c.onerror=()=>{t(`Failed to load ${c.src}`);const e=o(n);e&&p.injectScript({cdnType:e,isModule:r,theRestUrl:s})},l.appendChild(c)},S.getZonosUrl=e=>{const t=()=>{switch(e){case"jsdelivr":return y;case"unpkg":return"https://unpkg.com/@zonos/elements@1.3.36";default:return h}};if(p.isNpm){return r()||t()}return t()},S.injectZonosCdn=()=>{p.injectScript({cdnType:w,isModule:!0,theRestUrl:"dist/zonos-elements/zonos-elements.esm.js"}),p.injectScript({cdnType:w,isModule:!1,theRestUrl:"dist/zonos-elements/zonos-elements.js"}),e("Zonos cdn script injected!")},S.injectStylesheet=({cdnType:e,theRestUrl:n})=>{const r=p.getZonosUrl(e),s=document.head||document.body,i=document.createElement("link");i.rel="preconnect",i.href=`${h}/`,s.appendChild(i);const l=document.createElement("link");l.rel="stylesheet",l.href=`${r}/${n}`,l.onerror=()=>{t(`Failed to load ${l.href}`);const r=o(e);r&&p.injectStylesheet({cdnType:r,theRestUrl:n})},s.appendChild(l)},S.injectZonosCss=()=>{document.querySelector('link[rel="stylesheet"][href*="/dist/zonos-elements/zonos-elements.css"]')?e("Zonos style links already injected","warn"):(p.injectStylesheet({cdnType:w,theRestUrl:"dist/zonos-elements/zonos-elements.css"}),e("Zonos style css injected!"))},S.injectFonts=()=>{if((()=>{const e=document.querySelectorAll(`link[rel="stylesheet"][href^="${f}"]`);for(let t=0;t<e.length;t++){const n=e[t];if(n&&!v.test(n.href))return n}return null})())return void e("Inter font already injected","warn");const t=document.head||document.body,n=document.createElement("link");n.rel="preconnect",n.href=f,t.appendChild(n);const o=document.createElement("link");o.rel="stylesheet",o.href=`${f}/inter/inter.css`,t.appendChild(o),e("Zonos font injected!")},S.setupGoogleFont=e=>{var t;null===(t=p.zonosController)||void 0===t||t.setupGoogleFont(e)},S.injectSupportGoogleFont=t=>{var n;e(`[FONT] injecting ${t}`);const o=null===(n=t.match(/family=(.*?):/))||void 0===n?void 0:n[1],r=document.head||document.body;if(!document.querySelector(`link[rel="preconnect"][href^="${g}"]`)){const e=document.createElement("link");e.rel="preconnect",e.href=g,r.appendChild(e)}if(document.querySelector(`link[rel="stylesheet"][href="${t}"]`))return void e(`[FONT] ${o} font already injected`,"warn");const s=document.createElement("link");s.rel="stylesheet",s.href=t,r.appendChild(s),e(`[FONT] ${o} font injected!`)},window.Zonos&&window.Zonos.doneInit||(window.Zonos=S)})();
1
+ (function(){"use strict";const e=(e,t,...n)=>{var o,r;if(!(!!(null===(o=window.Zonos)||void 0===o?void 0:o.debug)||!!window.location.search.match(/\?.*(&*)zonosDebug=1/)))return void("error"===t&&console.error(e,...n));let s=document.querySelector("iframe#zonos---debug-logging-iframe");s||(s=document.createElement("iframe"),s.id="zonos---debug-logging-iframe",s.style.display="none",s.style.opacity="0",s.style.position="absolute",s.style.top="-9999px",s.style.left="-9999px",s.style.width="1px",s.style.height="1px",s.style.border="none",s.style.overflow="hidden",s.style.visibility="hidden",document.body.appendChild(s));const i=(null===(r=s.contentWindow)||void 0===r?void 0:r.window.console)||window.console;switch(t){case"warn":i.warn(e,...n);break;case"info":i.info(e,...n);break;case"error":i.error(e,...n);break;default:i.groupCollapsed(e,...n),i.trace(),i.groupEnd()}},t=(t,...n)=>{e(t,"error",...n)},n=["jsdelivr","unpkg","vercel"],o=e=>{const t=n.indexOf(e);return n[t+1]||null},r=()=>{if("undefined"==typeof window)return null;const t=(e=>{if(!e)return null;const t=new URL(e).searchParams.get("zonosQaUrl");return t?/[^a-zA-Z0-9-_]+/.test(t)?null:t:null})(window.location.href);if(!t)return null;if("dev-elements"===t)return"https://dev.elements.zonos.com";const n=`https://${t}.preview.js.zonos.com`;return e(`[ZONOS-WARNING] using '${n}' for loading script`,"warn"),fetch(n).then((()=>{window.sessionStorage.removeItem("zonos--checkout-session-id"),window.sessionStorage.removeItem("zonos--client-secret")})).catch((()=>{alert(`[ZONOS-WARNING] '${n}' IS NO LONGER AVAILABLE. REMOVING zonosQaUrl PARAM AND RELOADING THE PAGE`);const e=new URLSearchParams(window.location.search);e.delete("zonosQaUrl");const{pathname:t}=window.location,o=`${t}?${e.toString()}`;return window.history.replaceState(window.history.state,"",o),window.location.reload(),null})),n},s="https://js.stripe.com/v3",i=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,l="loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used";let c=null;const d=e=>(null!==c||(c=new Promise(((n,o)=>{if("undefined"!=typeof window&&"undefined"!=typeof document)if(window.Stripe&&e&&console.warn(l),window.Stripe)n(window.Stripe);else try{let r=(()=>{const e=document.querySelectorAll(`script[src^="${s}"]`);for(let t=0;t<e.length;t++){const n=e[t];if(n&&i.test(n.src))return n}return null})();r&&e?console.warn(l):r||(r=(e=>{const n=document.createElement("script");n.src=`${s}`;const o=document.head||document.body;return o?(o.appendChild(n),n):(t("Expected document.body not to be null. Stripe.js requires a <body> element."),null)})()),null==r||r.addEventListener("load",(()=>{window.Stripe?n(window.Stripe):o(new Error("Stripe.js not available"))})),null==r||r.addEventListener("error",(()=>{o(new Error("Failed to load Stripe.js"))}))}catch(e){return void o(e)}else n(null)}))),c),a=Promise.resolve().then((()=>d(null)));let u=!1;a.catch((e=>{u||console.warn(e)}));var p;const m=(()=>{if("undefined"==typeof document)return null;const e=document.querySelector('script[src*="/zonos.js"]'),{currentLoadScriptUrl:t,isWhiteListed:n}=(({loadScriptSrc:e})=>{if(!e)return{currentLoadScriptUrl:"",isForceLoadVersionDomain:!1,isWhiteListed:!1};const t=new URL(e).origin,n=["dev.elements.zonos.com",".js.zonos.com","zonos-elements-test-git","zonos-elements-git"].some((e=>t.includes(e))),o=["qa.js.zonos.com"].some((e=>t.includes(e)));return{currentLoadScriptUrl:t,isForceLoadVersionDomain:o,isWhiteListed:n}})({loadScriptSrc:null==e?void 0:e.src});return n?t:null})(),h="https://v1.3.38.js.zonos.com",y=m||"https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.38",w="jsdelivr",f="https://rsms.me",g="https://fonts.googleapis.com",v=/^https:\/\/rsms\.me\/inter\/inter\.css(.*)$/;class S{}p=S,S.doneInit=!1,S.debug="undefined"!=typeof window&&!!window.location.search.match(/\?.*(&*)zonosDebug=1/),S.zonosConversionTest="undefined"!=typeof window&&!!window.location.search.match(/\?.*(&*)zonosConversionTest/),S.isBigCommerce=!1,S.isNpm=!0,S.zonosQaUrl=null,S.version="v1.3.38",S.modeAlerted=!1,S.tempCartData=null,S.getCurrentTimestamp=()=>(new Date).getTime(),S.zonosController=null,S.init=async({appearance:n,checkoutSettings:o,currencyConverter:r,helloSettings:s,onCountryChange:i,overrideCurrencyFormat:l,storeId:c,zonosApiKey:d})=>{p.doneInit||(e(`====== ZONOS DEBUG MODE: on (${p.version}) ======`),d?(p.zonosApiKey=d,p.storeId=c,e("init zonos"),p.injectZonosCdn(),p.injectZonosCss(),p.injectFonts(),p.injectController({config:{appearance:n,checkoutSettings:o,currencyConverter:r,helloSettings:s,onCountryChange:i,overrideCurrencyFormat:l},zonosApiKey:d}),p.doneInit=!0):t("Missing Zonos API key"))},S.displayCurrency=()=>{const e=document.querySelector("zonos-hello");e&&e.displayCurrency()},S.openHelloDialog=e=>{const t=document.querySelector("zonos-hello");t&&t.openHelloDialog(null==e||e)},S.showNotification=e=>{var t;null===(t=p.zonosController)||void 0===t||t.showNotification(e)},S.updateOrganizationName=e=>{var t;null===(t=p.zonosController)||void 0===t||t.updateOrganizationName(e)},S.disablePlaceOrderButtons=({autoEnable:e=!0,config:t,disable:n,placeOrderButtonSelector:o})=>{var r;if(!(null===(r=t.checkoutSettings)||void 0===r?void 0:r.disablePlaceOrderButtonActivation)&&o){const t=document.querySelectorAll(o),r=e=>{e.target.getAttribute("disabled")&&(e.preventDefault(),e.stopPropagation())};t.forEach((e=>{e.getAttribute("data-zonos-checkout-attached")||(n?(e.setAttribute("disabled","true"),e.addEventListener("click",r)):(e.removeAttribute("disabled"),e.removeEventListener("click",r)))})),e&&n&&setTimeout((()=>{t.forEach((e=>{e.removeAttribute("disabled"),e.removeEventListener("click",r)}))}),5e3)}},S.injectController=({config:n,zonosApiKey:o})=>{var r;if(document.querySelector("zonos-controller"))return;if(null===(r=n.checkoutSettings)||void 0===r?void 0:r.placeOrderButtonSelector){const e=n.checkoutSettings.placeOrderButtonSelector;p.disablePlaceOrderButtons({config:n,disable:!0,placeOrderButtonSelector:e});new MutationObserver((()=>{p.disablePlaceOrderButtons({config:n,disable:!0,placeOrderButtonSelector:e})})).observe(document.body,{childList:!0,subtree:!0})}const s=document.createElement("zonos-controller");s.config=n,s.zonosApiKey=o,s.addEventListener("stripeInitEvent",(async n=>{const{detail:o}=n;e("loading Stripe");const r=await(async(...e)=>{u=!0;const t=Date.now();return a.then((n=>((e,t,n)=>{if(null===e)return null;const o=e.apply(void 0,t);return((e,t)=>{e&&e._registerWrapper&&e._registerWrapper({name:"stripe-js",startTime:t})})(o,n),o})(n,e,t)))})(o.publishableKey);r?(window.Zonos.stripe=r,s.initCheckoutElement(r)):t("API seems to be invalid or missing. Failed to load Stripe")})),document.body.appendChild(s),p.zonosController=s,e("Zonos controller injected!")},S.injectScript=({cdnType:n,isModule:r,theRestUrl:s})=>{const i=`${p.getZonosUrl(n)}/${s}`;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");r?c.type="module":c.noModule=!0,c.src=i,c.crossOrigin="anonymous",c.onerror=()=>{t(`Failed to load ${c.src}`);const e=o(n);e&&p.injectScript({cdnType:e,isModule:r,theRestUrl:s})},l.appendChild(c)},S.getZonosUrl=e=>{const t=()=>{switch(e){case"jsdelivr":return y;case"unpkg":return"https://unpkg.com/@zonos/elements@1.3.38";default:return h}};if(p.isNpm){return r()||t()}return t()},S.injectZonosCdn=()=>{p.injectScript({cdnType:w,isModule:!0,theRestUrl:"dist/zonos-elements/zonos-elements.esm.js"}),p.injectScript({cdnType:w,isModule:!1,theRestUrl:"dist/zonos-elements/zonos-elements.js"}),e("Zonos cdn script injected!")},S.injectStylesheet=({cdnType:e,theRestUrl:n})=>{const r=p.getZonosUrl(e),s=document.head||document.body,i=document.createElement("link");i.rel="preconnect",i.href=`${h}/`,s.appendChild(i);const l=document.createElement("link");l.rel="stylesheet",l.href=`${r}/${n}`,l.onerror=()=>{t(`Failed to load ${l.href}`);const r=o(e);r&&p.injectStylesheet({cdnType:r,theRestUrl:n})},s.appendChild(l)},S.injectZonosCss=()=>{document.querySelector('link[rel="stylesheet"][href*="/dist/zonos-elements/zonos-elements.css"]')?e("Zonos style links already injected","warn"):(p.injectStylesheet({cdnType:w,theRestUrl:"dist/zonos-elements/zonos-elements.css"}),e("Zonos style css injected!"))},S.injectFonts=()=>{if((()=>{const e=document.querySelectorAll(`link[rel="stylesheet"][href^="${f}"]`);for(let t=0;t<e.length;t++){const n=e[t];if(n&&!v.test(n.href))return n}return null})())return void e("Inter font already injected","warn");const t=document.head||document.body,n=document.createElement("link");n.rel="preconnect",n.href=f,t.appendChild(n);const o=document.createElement("link");o.rel="stylesheet",o.href=`${f}/inter/inter.css`,t.appendChild(o),e("Zonos font injected!")},S.setupGoogleFont=e=>{var t;null===(t=p.zonosController)||void 0===t||t.setupGoogleFont(e)},S.injectSupportGoogleFont=t=>{var n;e(`[FONT] injecting ${t}`);const o=null===(n=t.match(/family=(.*?):/))||void 0===n?void 0:n[1],r=document.head||document.body;if(!document.querySelector(`link[rel="preconnect"][href^="${g}"]`)){const e=document.createElement("link");e.rel="preconnect",e.href=g,r.appendChild(e)}if(document.querySelector(`link[rel="stylesheet"][href="${t}"]`))return void e(`[FONT] ${o} font already injected`,"warn");const s=document.createElement("link");s.rel="stylesheet",s.href=t,r.appendChild(s),e(`[FONT] ${o} font injected!`)},window.Zonos&&window.Zonos.doneInit||(window.Zonos=S)})();
@@ -39,6 +39,10 @@ export declare class ZonosHello {
39
39
  * Hello widget is rendered on the screen, this should only triggered once
40
40
  */
41
41
  isHelloWidgetRendered: boolean;
42
+ /**
43
+ * Get the country list the hello widget's country select is using
44
+ */
45
+ getCountryList(): Promise<import("../../../types/ICountryJson").ICountryJson | null>;
42
46
  private getHelloPeekMessage;
43
47
  private enableShowPeekMessage;
44
48
  private getNewItemRestrictions;
@@ -49,6 +49,7 @@ export declare class ZonosHelloDialog {
49
49
  * Store has tax id setup in Zonos settings
50
50
  */
51
51
  private hasTaxId;
52
+ private hasInclusivePrices;
52
53
  /**
53
54
  * Some countries don't have threshold. So we need to show generic message for them
54
55
  */
@@ -13,6 +13,8 @@ type LocalizationStore = {
13
13
  customMessages: ILocaleMessageForUse[];
14
14
  exchangeRate: ExchangeRateForUse | null;
15
15
  exchangeRateTimeout?: NodeJS.Timeout;
16
+ hasInclusivePrices: boolean;
17
+ helloCountryList: ICountryJson | null;
16
18
  isShippableCountry: boolean;
17
19
  localizationLoaded: boolean;
18
20
  selectedCountryCode: CountryCode | null;
@@ -68,13 +68,13 @@ export declare const stringsArabic: {
68
68
  "Don't close": {
69
69
  value: string;
70
70
  };
71
- 'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders': {
71
+ 'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders.': {
72
72
  value: string;
73
73
  };
74
74
  'Duties and taxes will be applied to items and shipping.': {
75
75
  value: string;
76
76
  };
77
- 'Duties will apply to all orders': {
77
+ 'Duties will apply to all orders.': {
78
78
  value: string;
79
79
  };
80
80
  'Duties, taxes, and fees': {
@@ -182,6 +182,9 @@ export declare const stringsArabic: {
182
182
  'Prepay duties and taxes at checkout': {
183
183
  value: string;
184
184
  };
185
+ 'Product prices already include duties, taxes, and fees. No additional duties or taxes will be added at checkout, with rare exceptions.': {
186
+ value: string;
187
+ };
185
188
  Reload: {
186
189
  value: string;
187
190
  };
@@ -224,10 +227,10 @@ export declare const stringsArabic: {
224
227
  'Something went wrong.': {
225
228
  value: string;
226
229
  };
227
- 'Spend [threshold] duty free': {
230
+ 'Spend [threshold] duty free.': {
228
231
  value: string;
229
232
  };
230
- 'Spend [threshold] tax free': {
233
+ 'Spend [threshold] tax free.': {
231
234
  value: string;
232
235
  };
233
236
  State: {
@@ -239,7 +242,7 @@ export declare const stringsArabic: {
239
242
  Success: {
240
243
  value: string;
241
244
  };
242
- 'Taxes will apply to all orders': {
245
+ 'Taxes will apply to all orders.': {
243
246
  value: string;
244
247
  };
245
248
  'Test cards': {
@@ -68,13 +68,13 @@ export declare const stringsBase: {
68
68
  "Don't close": {
69
69
  value: string;
70
70
  };
71
- 'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders': {
71
+ 'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders.': {
72
72
  value: string;
73
73
  };
74
74
  'Duties and taxes will be applied to items and shipping.': {
75
75
  value: string;
76
76
  };
77
- 'Duties will apply to all orders': {
77
+ 'Duties will apply to all orders.': {
78
78
  value: string;
79
79
  };
80
80
  'Duties, taxes, and fees': {
@@ -182,6 +182,9 @@ export declare const stringsBase: {
182
182
  'Prepay duties and taxes at checkout': {
183
183
  value: string;
184
184
  };
185
+ 'Product prices already include duties, taxes, and fees. No additional duties or taxes will be added at checkout, with rare exceptions.': {
186
+ value: string;
187
+ };
185
188
  Reload: {
186
189
  value: string;
187
190
  };
@@ -224,10 +227,10 @@ export declare const stringsBase: {
224
227
  'Something went wrong.': {
225
228
  value: string;
226
229
  };
227
- 'Spend [threshold] duty free': {
230
+ 'Spend [threshold] duty free.': {
228
231
  value: string;
229
232
  };
230
- 'Spend [threshold] tax free': {
233
+ 'Spend [threshold] tax free.': {
231
234
  value: string;
232
235
  };
233
236
  State: {
@@ -239,7 +242,7 @@ export declare const stringsBase: {
239
242
  Success: {
240
243
  value: string;
241
244
  };
242
- 'Taxes will apply to all orders': {
245
+ 'Taxes will apply to all orders.': {
243
246
  value: string;
244
247
  };
245
248
  'Test cards': {
@@ -68,13 +68,13 @@ export declare const stringsChinese: {
68
68
  "Don't close": {
69
69
  value: string;
70
70
  };
71
- 'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders': {
71
+ 'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders.': {
72
72
  value: string;
73
73
  };
74
74
  'Duties and taxes will be applied to items and shipping.': {
75
75
  value: string;
76
76
  };
77
- 'Duties will apply to all orders': {
77
+ 'Duties will apply to all orders.': {
78
78
  value: string;
79
79
  };
80
80
  'Duties, taxes, and fees': {
@@ -182,6 +182,9 @@ export declare const stringsChinese: {
182
182
  'Prepay duties and taxes at checkout': {
183
183
  value: string;
184
184
  };
185
+ 'Product prices already include duties, taxes, and fees. No additional duties or taxes will be added at checkout, with rare exceptions.': {
186
+ value: string;
187
+ };
185
188
  Reload: {
186
189
  value: string;
187
190
  };
@@ -224,10 +227,10 @@ export declare const stringsChinese: {
224
227
  'Something went wrong.': {
225
228
  value: string;
226
229
  };
227
- 'Spend [threshold] duty free': {
230
+ 'Spend [threshold] duty free.': {
228
231
  value: string;
229
232
  };
230
- 'Spend [threshold] tax free': {
233
+ 'Spend [threshold] tax free.': {
231
234
  value: string;
232
235
  };
233
236
  State: {
@@ -239,7 +242,7 @@ export declare const stringsChinese: {
239
242
  Success: {
240
243
  value: string;
241
244
  };
242
- 'Taxes will apply to all orders': {
245
+ 'Taxes will apply to all orders.': {
243
246
  value: string;
244
247
  };
245
248
  'Test cards': {
@@ -68,13 +68,13 @@ export declare const stringsDanish: {
68
68
  "Don't close": {
69
69
  value: string;
70
70
  };
71
- 'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders': {
71
+ 'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders.': {
72
72
  value: string;
73
73
  };
74
74
  'Duties and taxes will be applied to items and shipping.': {
75
75
  value: string;
76
76
  };
77
- 'Duties will apply to all orders': {
77
+ 'Duties will apply to all orders.': {
78
78
  value: string;
79
79
  };
80
80
  'Duties, taxes, and fees': {
@@ -182,6 +182,9 @@ export declare const stringsDanish: {
182
182
  'Prepay duties and taxes at checkout': {
183
183
  value: string;
184
184
  };
185
+ 'Product prices already include duties, taxes, and fees. No additional duties or taxes will be added at checkout, with rare exceptions.': {
186
+ value: string;
187
+ };
185
188
  Reload: {
186
189
  value: string;
187
190
  };
@@ -224,10 +227,10 @@ export declare const stringsDanish: {
224
227
  'Something went wrong.': {
225
228
  value: string;
226
229
  };
227
- 'Spend [threshold] duty free': {
230
+ 'Spend [threshold] duty free.': {
228
231
  value: string;
229
232
  };
230
- 'Spend [threshold] tax free': {
233
+ 'Spend [threshold] tax free.': {
231
234
  value: string;
232
235
  };
233
236
  State: {
@@ -239,7 +242,7 @@ export declare const stringsDanish: {
239
242
  Success: {
240
243
  value: string;
241
244
  };
242
- 'Taxes will apply to all orders': {
245
+ 'Taxes will apply to all orders.': {
243
246
  value: string;
244
247
  };
245
248
  'Test cards': {
@@ -68,13 +68,13 @@ export declare const stringsDutch: {
68
68
  "Don't close": {
69
69
  value: string;
70
70
  };
71
- 'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders': {
71
+ 'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders.': {
72
72
  value: string;
73
73
  };
74
74
  'Duties and taxes will be applied to items and shipping.': {
75
75
  value: string;
76
76
  };
77
- 'Duties will apply to all orders': {
77
+ 'Duties will apply to all orders.': {
78
78
  value: string;
79
79
  };
80
80
  'Duties, taxes, and fees': {
@@ -182,6 +182,9 @@ export declare const stringsDutch: {
182
182
  'Prepay duties and taxes at checkout': {
183
183
  value: string;
184
184
  };
185
+ 'Product prices already include duties, taxes, and fees. No additional duties or taxes will be added at checkout, with rare exceptions.': {
186
+ value: string;
187
+ };
185
188
  Reload: {
186
189
  value: string;
187
190
  };
@@ -224,10 +227,10 @@ export declare const stringsDutch: {
224
227
  'Something went wrong.': {
225
228
  value: string;
226
229
  };
227
- 'Spend [threshold] duty free': {
230
+ 'Spend [threshold] duty free.': {
228
231
  value: string;
229
232
  };
230
- 'Spend [threshold] tax free': {
233
+ 'Spend [threshold] tax free.': {
231
234
  value: string;
232
235
  };
233
236
  State: {
@@ -239,7 +242,7 @@ export declare const stringsDutch: {
239
242
  Success: {
240
243
  value: string;
241
244
  };
242
- 'Taxes will apply to all orders': {
245
+ 'Taxes will apply to all orders.': {
243
246
  value: string;
244
247
  };
245
248
  'Test cards': {
@@ -68,13 +68,13 @@ export declare const stringsFrench: {
68
68
  "Don't close": {
69
69
  value: string;
70
70
  };
71
- 'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders': {
71
+ 'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders.': {
72
72
  value: string;
73
73
  };
74
74
  'Duties and taxes will be applied to items and shipping.': {
75
75
  value: string;
76
76
  };
77
- 'Duties will apply to all orders': {
77
+ 'Duties will apply to all orders.': {
78
78
  value: string;
79
79
  };
80
80
  'Duties, taxes, and fees': {
@@ -182,6 +182,9 @@ export declare const stringsFrench: {
182
182
  'Prepay duties and taxes at checkout': {
183
183
  value: string;
184
184
  };
185
+ 'Product prices already include duties, taxes, and fees. No additional duties or taxes will be added at checkout, with rare exceptions.': {
186
+ value: string;
187
+ };
185
188
  Reload: {
186
189
  value: string;
187
190
  };
@@ -224,10 +227,10 @@ export declare const stringsFrench: {
224
227
  'Something went wrong.': {
225
228
  value: string;
226
229
  };
227
- 'Spend [threshold] duty free': {
230
+ 'Spend [threshold] duty free.': {
228
231
  value: string;
229
232
  };
230
- 'Spend [threshold] tax free': {
233
+ 'Spend [threshold] tax free.': {
231
234
  value: string;
232
235
  };
233
236
  State: {
@@ -239,7 +242,7 @@ export declare const stringsFrench: {
239
242
  Success: {
240
243
  value: string;
241
244
  };
242
- 'Taxes will apply to all orders': {
245
+ 'Taxes will apply to all orders.': {
243
246
  value: string;
244
247
  };
245
248
  'Test cards': {
@@ -68,13 +68,13 @@ export declare const stringsGerman: {
68
68
  "Don't close": {
69
69
  value: string;
70
70
  };
71
- 'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders': {
71
+ 'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders.': {
72
72
  value: string;
73
73
  };
74
74
  'Duties and taxes will be applied to items and shipping.': {
75
75
  value: string;
76
76
  };
77
- 'Duties will apply to all orders': {
77
+ 'Duties will apply to all orders.': {
78
78
  value: string;
79
79
  };
80
80
  'Duties, taxes, and fees': {
@@ -182,6 +182,9 @@ export declare const stringsGerman: {
182
182
  'Prepay duties and taxes at checkout': {
183
183
  value: string;
184
184
  };
185
+ 'Product prices already include duties, taxes, and fees. No additional duties or taxes will be added at checkout, with rare exceptions.': {
186
+ value: string;
187
+ };
185
188
  Reload: {
186
189
  value: string;
187
190
  };
@@ -224,10 +227,10 @@ export declare const stringsGerman: {
224
227
  'Something went wrong.': {
225
228
  value: string;
226
229
  };
227
- 'Spend [threshold] duty free': {
230
+ 'Spend [threshold] duty free.': {
228
231
  value: string;
229
232
  };
230
- 'Spend [threshold] tax free': {
233
+ 'Spend [threshold] tax free.': {
231
234
  value: string;
232
235
  };
233
236
  State: {
@@ -239,7 +242,7 @@ export declare const stringsGerman: {
239
242
  Success: {
240
243
  value: string;
241
244
  };
242
- 'Taxes will apply to all orders': {
245
+ 'Taxes will apply to all orders.': {
243
246
  value: string;
244
247
  };
245
248
  'Test cards': {
@@ -68,13 +68,13 @@ export declare const stringsHebrew: {
68
68
  "Don't close": {
69
69
  value: string;
70
70
  };
71
- 'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders': {
71
+ 'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders.': {
72
72
  value: string;
73
73
  };
74
74
  'Duties and taxes will be applied to items and shipping.': {
75
75
  value: string;
76
76
  };
77
- 'Duties will apply to all orders': {
77
+ 'Duties will apply to all orders.': {
78
78
  value: string;
79
79
  };
80
80
  'Duties, taxes, and fees': {
@@ -182,6 +182,9 @@ export declare const stringsHebrew: {
182
182
  'Prepay duties and taxes at checkout': {
183
183
  value: string;
184
184
  };
185
+ 'Product prices already include duties, taxes, and fees. No additional duties or taxes will be added at checkout, with rare exceptions.': {
186
+ value: string;
187
+ };
185
188
  Reload: {
186
189
  value: string;
187
190
  };
@@ -224,10 +227,10 @@ export declare const stringsHebrew: {
224
227
  'Something went wrong.': {
225
228
  value: string;
226
229
  };
227
- 'Spend [threshold] duty free': {
230
+ 'Spend [threshold] duty free.': {
228
231
  value: string;
229
232
  };
230
- 'Spend [threshold] tax free': {
233
+ 'Spend [threshold] tax free.': {
231
234
  value: string;
232
235
  };
233
236
  State: {
@@ -239,7 +242,7 @@ export declare const stringsHebrew: {
239
242
  Success: {
240
243
  value: string;
241
244
  };
242
- 'Taxes will apply to all orders': {
245
+ 'Taxes will apply to all orders.': {
243
246
  value: string;
244
247
  };
245
248
  'Test cards': {
@@ -68,13 +68,13 @@ export declare const stringsIndonesian: {
68
68
  "Don't close": {
69
69
  value: string;
70
70
  };
71
- 'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders': {
71
+ 'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders.': {
72
72
  value: string;
73
73
  };
74
74
  'Duties and taxes will be applied to items and shipping.': {
75
75
  value: string;
76
76
  };
77
- 'Duties will apply to all orders': {
77
+ 'Duties will apply to all orders.': {
78
78
  value: string;
79
79
  };
80
80
  'Duties, taxes, and fees': {
@@ -182,6 +182,9 @@ export declare const stringsIndonesian: {
182
182
  'Prepay duties and taxes at checkout': {
183
183
  value: string;
184
184
  };
185
+ 'Product prices already include duties, taxes, and fees. No additional duties or taxes will be added at checkout, with rare exceptions.': {
186
+ value: string;
187
+ };
185
188
  Reload: {
186
189
  value: string;
187
190
  };
@@ -224,10 +227,10 @@ export declare const stringsIndonesian: {
224
227
  'Something went wrong.': {
225
228
  value: string;
226
229
  };
227
- 'Spend [threshold] duty free': {
230
+ 'Spend [threshold] duty free.': {
228
231
  value: string;
229
232
  };
230
- 'Spend [threshold] tax free': {
233
+ 'Spend [threshold] tax free.': {
231
234
  value: string;
232
235
  };
233
236
  State: {
@@ -239,7 +242,7 @@ export declare const stringsIndonesian: {
239
242
  Success: {
240
243
  value: string;
241
244
  };
242
- 'Taxes will apply to all orders': {
245
+ 'Taxes will apply to all orders.': {
243
246
  value: string;
244
247
  };
245
248
  'Test cards': {
@@ -68,13 +68,13 @@ export declare const stringsItalian: {
68
68
  "Don't close": {
69
69
  value: string;
70
70
  };
71
- 'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders': {
71
+ 'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders.': {
72
72
  value: string;
73
73
  };
74
74
  'Duties and taxes will be applied to items and shipping.': {
75
75
  value: string;
76
76
  };
77
- 'Duties will apply to all orders': {
77
+ 'Duties will apply to all orders.': {
78
78
  value: string;
79
79
  };
80
80
  'Duties, taxes, and fees': {
@@ -182,6 +182,9 @@ export declare const stringsItalian: {
182
182
  'Prepay duties and taxes at checkout': {
183
183
  value: string;
184
184
  };
185
+ 'Product prices already include duties, taxes, and fees. No additional duties or taxes will be added at checkout, with rare exceptions.': {
186
+ value: string;
187
+ };
185
188
  Reload: {
186
189
  value: string;
187
190
  };
@@ -224,10 +227,10 @@ export declare const stringsItalian: {
224
227
  'Something went wrong.': {
225
228
  value: string;
226
229
  };
227
- 'Spend [threshold] duty free': {
230
+ 'Spend [threshold] duty free.': {
228
231
  value: string;
229
232
  };
230
- 'Spend [threshold] tax free': {
233
+ 'Spend [threshold] tax free.': {
231
234
  value: string;
232
235
  };
233
236
  State: {
@@ -239,7 +242,7 @@ export declare const stringsItalian: {
239
242
  Success: {
240
243
  value: string;
241
244
  };
242
- 'Taxes will apply to all orders': {
245
+ 'Taxes will apply to all orders.': {
243
246
  value: string;
244
247
  };
245
248
  'Test cards': {
@@ -68,13 +68,13 @@ export declare const stringsJapanese: {
68
68
  "Don't close": {
69
69
  value: string;
70
70
  };
71
- 'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders': {
71
+ 'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders.': {
72
72
  value: string;
73
73
  };
74
74
  'Duties and taxes will be applied to items and shipping.': {
75
75
  value: string;
76
76
  };
77
- 'Duties will apply to all orders': {
77
+ 'Duties will apply to all orders.': {
78
78
  value: string;
79
79
  };
80
80
  'Duties, taxes, and fees': {
@@ -182,6 +182,9 @@ export declare const stringsJapanese: {
182
182
  'Prepay duties and taxes at checkout': {
183
183
  value: string;
184
184
  };
185
+ 'Product prices already include duties, taxes, and fees. No additional duties or taxes will be added at checkout, with rare exceptions.': {
186
+ value: string;
187
+ };
185
188
  Reload: {
186
189
  value: string;
187
190
  };
@@ -224,10 +227,10 @@ export declare const stringsJapanese: {
224
227
  'Something went wrong.': {
225
228
  value: string;
226
229
  };
227
- 'Spend [threshold] duty free': {
230
+ 'Spend [threshold] duty free.': {
228
231
  value: string;
229
232
  };
230
- 'Spend [threshold] tax free': {
233
+ 'Spend [threshold] tax free.': {
231
234
  value: string;
232
235
  };
233
236
  State: {
@@ -239,7 +242,7 @@ export declare const stringsJapanese: {
239
242
  Success: {
240
243
  value: string;
241
244
  };
242
- 'Taxes will apply to all orders': {
245
+ 'Taxes will apply to all orders.': {
243
246
  value: string;
244
247
  };
245
248
  'Test cards': {
@@ -68,13 +68,13 @@ export declare const stringsKorean: {
68
68
  "Don't close": {
69
69
  value: string;
70
70
  };
71
- 'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders': {
71
+ 'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders.': {
72
72
  value: string;
73
73
  };
74
74
  'Duties and taxes will be applied to items and shipping.': {
75
75
  value: string;
76
76
  };
77
- 'Duties will apply to all orders': {
77
+ 'Duties will apply to all orders.': {
78
78
  value: string;
79
79
  };
80
80
  'Duties, taxes, and fees': {
@@ -182,6 +182,9 @@ export declare const stringsKorean: {
182
182
  'Prepay duties and taxes at checkout': {
183
183
  value: string;
184
184
  };
185
+ 'Product prices already include duties, taxes, and fees. No additional duties or taxes will be added at checkout, with rare exceptions.': {
186
+ value: string;
187
+ };
185
188
  Reload: {
186
189
  value: string;
187
190
  };
@@ -224,10 +227,10 @@ export declare const stringsKorean: {
224
227
  'Something went wrong.': {
225
228
  value: string;
226
229
  };
227
- 'Spend [threshold] duty free': {
230
+ 'Spend [threshold] duty free.': {
228
231
  value: string;
229
232
  };
230
- 'Spend [threshold] tax free': {
233
+ 'Spend [threshold] tax free.': {
231
234
  value: string;
232
235
  };
233
236
  State: {
@@ -239,7 +242,7 @@ export declare const stringsKorean: {
239
242
  Success: {
240
243
  value: string;
241
244
  };
242
- 'Taxes will apply to all orders': {
245
+ 'Taxes will apply to all orders.': {
243
246
  value: string;
244
247
  };
245
248
  'Test cards': {