@zonos/elements 1.3.35 → 1.3.37

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 (138) hide show
  1. package/README.md +6 -6
  2. package/dist/cjs/{cart-401b6d32.js → cart-0cac4ec9.js} +280 -199
  3. package/dist/cjs/index.cjs.js +4 -4
  4. package/dist/cjs/{submitGtag-bc6af393.js → submitGtag-2c66e270.js} +1 -1
  5. package/dist/cjs/zonos-address_8.cjs.entry.js +3 -3
  6. package/dist/cjs/zonos-cart-items_12.cjs.entry.js +2 -2
  7. package/dist/cjs/zonos-checkout.cjs.entry.js +2 -2
  8. package/dist/cjs/zonos-controller.cjs.entry.js +2 -2
  9. package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
  10. package/dist/cjs/zonos-country-select_3.cjs.entry.js +13 -6
  11. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +35 -14
  12. package/dist/cjs/zonos-hello.cjs.entry.js +1 -1
  13. package/dist/cjs/zonos-language-select_2.cjs.entry.js +1 -1
  14. package/dist/cjs/zonos-notification_2.cjs.entry.js +2 -2
  15. package/dist/collection/components/common/zonos-country-select/zonos-country-select.css +2 -0
  16. package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +9 -2
  17. package/dist/collection/components/hello/zonos-hello-dialog/assets/inclusivePricingIcon.svg +8 -0
  18. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +2 -2
  19. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +28 -14
  20. package/dist/collection/components/main/zonos-controller.js +1 -1
  21. package/dist/collection/components/store/hello/localization.js +8 -0
  22. package/dist/collection/components/store/translationStore/strings.arabic.js +13 -10
  23. package/dist/collection/components/store/translationStore/strings.base.js +13 -10
  24. package/dist/collection/components/store/translationStore/strings.chinese.js +13 -10
  25. package/dist/collection/components/store/translationStore/strings.danish.js +13 -10
  26. package/dist/collection/components/store/translationStore/strings.dutch.js +13 -10
  27. package/dist/collection/components/store/translationStore/strings.french.js +13 -10
  28. package/dist/collection/components/store/translationStore/strings.german.js +13 -10
  29. package/dist/collection/components/store/translationStore/strings.hebrew.js +13 -10
  30. package/dist/collection/components/store/translationStore/strings.indonesian.js +13 -10
  31. package/dist/collection/components/store/translationStore/strings.italian.js +13 -10
  32. package/dist/collection/components/store/translationStore/strings.japanese.js +12 -9
  33. package/dist/collection/components/store/translationStore/strings.korean.js +13 -10
  34. package/dist/collection/components/store/translationStore/strings.norwegian.js +13 -10
  35. package/dist/collection/components/store/translationStore/strings.polish.js +13 -10
  36. package/dist/collection/components/store/translationStore/strings.portuguese.js +13 -10
  37. package/dist/collection/components/store/translationStore/strings.russian.js +13 -10
  38. package/dist/collection/components/store/translationStore/strings.spanish.js +13 -10
  39. package/dist/collection/components/store/translationStore/strings.swedish.js +13 -10
  40. package/dist/collection/components/store/translationStore/strings.turkish.js +13 -10
  41. package/dist/collection/components/store/translationStore/strings.vietnamese.js +13 -10
  42. package/dist/collection/components/stripe/zonos-address/zonos-address.js +1 -1
  43. package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +1 -1
  44. package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
  45. package/dist/collection/components/utils/api/getInclusivePricing.js +15 -0
  46. package/dist/collection/types/generated/graphql.customer.types.js +57 -9
  47. package/dist/esm/{cart-f29968a8.js → cart-f4204129.js} +280 -199
  48. package/dist/esm/index.js +4 -4
  49. package/dist/esm/{submitGtag-fcfd5cf4.js → submitGtag-1df655bc.js} +1 -1
  50. package/dist/esm/zonos-address_8.entry.js +3 -3
  51. package/dist/esm/zonos-cart-items_12.entry.js +2 -2
  52. package/dist/esm/zonos-checkout.entry.js +2 -2
  53. package/dist/esm/zonos-controller.entry.js +2 -2
  54. package/dist/esm/zonos-country-flag.entry.js +1 -1
  55. package/dist/esm/zonos-country-select_3.entry.js +13 -6
  56. package/dist/esm/zonos-hello-dialog.entry.js +36 -15
  57. package/dist/esm/zonos-hello.entry.js +1 -1
  58. package/dist/esm/zonos-language-select_2.entry.js +1 -1
  59. package/dist/esm/zonos-notification_2.entry.js +2 -2
  60. package/dist/esm-es5/cart-f4204129.js +1 -0
  61. package/dist/esm-es5/index.js +1 -1
  62. package/dist/esm-es5/{submitGtag-fcfd5cf4.js → submitGtag-1df655bc.js} +1 -1
  63. package/dist/esm-es5/zonos-address_8.entry.js +1 -1
  64. package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
  65. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  66. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  67. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  68. package/dist/esm-es5/zonos-country-select_3.entry.js +1 -1
  69. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  70. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  71. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  72. package/dist/esm-es5/zonos-notification_2.entry.js +1 -1
  73. package/dist/scripts/index.js +1 -1
  74. package/dist/scripts/loadZonos.js +1 -1
  75. package/dist/scripts/zonos.js +1 -1
  76. package/dist/types/components/hello/zonos-hello-dialog/zonos-hello-dialog.d.ts +1 -0
  77. package/dist/types/components/store/hello/localization.d.ts +1 -0
  78. package/dist/types/components/store/translationStore/strings.arabic.d.ts +8 -5
  79. package/dist/types/components/store/translationStore/strings.base.d.ts +8 -5
  80. package/dist/types/components/store/translationStore/strings.chinese.d.ts +8 -5
  81. package/dist/types/components/store/translationStore/strings.danish.d.ts +8 -5
  82. package/dist/types/components/store/translationStore/strings.dutch.d.ts +8 -5
  83. package/dist/types/components/store/translationStore/strings.french.d.ts +8 -5
  84. package/dist/types/components/store/translationStore/strings.german.d.ts +8 -5
  85. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +8 -5
  86. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +8 -5
  87. package/dist/types/components/store/translationStore/strings.italian.d.ts +8 -5
  88. package/dist/types/components/store/translationStore/strings.japanese.d.ts +8 -5
  89. package/dist/types/components/store/translationStore/strings.korean.d.ts +8 -5
  90. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +8 -5
  91. package/dist/types/components/store/translationStore/strings.polish.d.ts +8 -5
  92. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +8 -5
  93. package/dist/types/components/store/translationStore/strings.russian.d.ts +8 -5
  94. package/dist/types/components/store/translationStore/strings.spanish.d.ts +8 -5
  95. package/dist/types/components/store/translationStore/strings.swedish.d.ts +8 -5
  96. package/dist/types/components/store/translationStore/strings.turkish.d.ts +8 -5
  97. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +8 -5
  98. package/dist/types/components/store/translationStore.d.ts +1 -1
  99. package/dist/types/components/utils/api/getInclusivePricing.d.ts +8 -0
  100. package/dist/types/types/generated/graphql.customer.types.d.ts +74 -10
  101. package/dist/types/types/generated/graphql.customer.types.ts +98 -12
  102. package/dist/zonos-elements/assets/RemoveIcon.svg +1 -1
  103. package/dist/zonos-elements/assets/inclusivePricingIcon.svg +8 -0
  104. package/dist/zonos-elements/index.esm.js +1 -1
  105. package/dist/zonos-elements/{p-d410ef50.system.entry.js → p-0ce1e237.system.entry.js} +1 -1
  106. package/dist/zonos-elements/{p-38f882ea.system.entry.js → p-0d029fb3.system.entry.js} +1 -1
  107. package/dist/zonos-elements/{p-4d95b4f4.system.entry.js → p-19241859.system.entry.js} +1 -1
  108. package/dist/zonos-elements/{p-e4ef71bd.entry.js → p-1f350060.entry.js} +1 -1
  109. package/dist/zonos-elements/{p-1fbf0527.system.js → p-22a4f8a9.system.js} +1 -1
  110. package/dist/zonos-elements/p-2aac5bc8.js +1 -0
  111. package/dist/zonos-elements/p-4d8ad8e2.system.js +1 -0
  112. package/dist/zonos-elements/{p-f9931ad1.system.entry.js → p-57cbbf1e.system.entry.js} +1 -1
  113. package/dist/zonos-elements/p-5e46d19e.system.entry.js +1 -0
  114. package/dist/zonos-elements/p-720e9236.entry.js +1 -0
  115. package/dist/zonos-elements/{p-60f7bcee.entry.js → p-74c85d7f.entry.js} +1 -1
  116. package/dist/zonos-elements/{p-891d2c76.system.entry.js → p-8de3cf00.system.entry.js} +1 -1
  117. package/dist/zonos-elements/{p-2cee5f3a.system.entry.js → p-9a27550a.system.entry.js} +1 -1
  118. package/dist/zonos-elements/{p-9194145f.system.js → p-ab117c05.system.js} +1 -1
  119. package/dist/zonos-elements/{p-5ce19bce.system.entry.js → p-ab43d893.system.entry.js} +1 -1
  120. package/dist/zonos-elements/{p-8363436f.entry.js → p-acb75c06.entry.js} +1 -1
  121. package/dist/zonos-elements/{p-eea3ec17.entry.js → p-af996985.entry.js} +1 -1
  122. package/dist/zonos-elements/{p-62e21e2b.system.entry.js → p-c2a9555c.system.entry.js} +1 -1
  123. package/dist/zonos-elements/{p-5b723a1d.js → p-c7b07f80.js} +1 -1
  124. package/dist/zonos-elements/{p-6e14560d.system.entry.js → p-c993d267.system.entry.js} +1 -1
  125. package/dist/zonos-elements/{p-e0709be2.entry.js → p-de71eaea.entry.js} +1 -1
  126. package/dist/zonos-elements/p-e0bf9666.system.js +1 -1
  127. package/dist/zonos-elements/{p-6b06ac3d.entry.js → p-e3631ac5.entry.js} +1 -1
  128. package/dist/zonos-elements/{p-6ec40c8f.entry.js → p-e3c43972.entry.js} +1 -1
  129. package/dist/zonos-elements/p-e4888976.entry.js +1 -0
  130. package/dist/zonos-elements/{p-bf9578d3.entry.js → p-ee4e6e08.entry.js} +1 -1
  131. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  132. package/package.json +5 -3
  133. package/dist/esm-es5/cart-f29968a8.js +0 -1
  134. package/dist/zonos-elements/p-2947c138.js +0 -1
  135. package/dist/zonos-elements/p-297bf223.entry.js +0 -1
  136. package/dist/zonos-elements/p-91635589.system.js +0 -1
  137. package/dist/zonos-elements/p-952e331c.entry.js +0 -1
  138. package/dist/zonos-elements/p-c0efa3a3.system.entry.js +0 -1
package/dist/esm/index.js CHANGED
@@ -245,9 +245,9 @@ const zonosLoadUrl = (() => {
245
245
  }
246
246
  return null;
247
247
  })();
248
- const ZONOS_URL = "https://v1.3.35.js.zonos.com";
249
- const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.35";
250
- const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.35";
248
+ const ZONOS_URL = "https://v1.3.37.js.zonos.com";
249
+ const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.37";
250
+ const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.37";
251
251
  const MAIN_LOAD_CDN_TYPE = 'jsdelivr';
252
252
  const INTER_FONT_URL = 'https://rsms.me';
253
253
  const GOOGLE_FONT_URL = 'https://fonts.googleapis.com';
@@ -267,7 +267,7 @@ Zonos.isBigCommerce = false;
267
267
  */
268
268
  Zonos.isNpm = true;
269
269
  Zonos.zonosQaUrl = null;
270
- Zonos.version = `v${"1.3.35"}`;
270
+ Zonos.version = `v${"1.3.37"}`;
271
271
  Zonos.modeAlerted = false;
272
272
  Zonos.tempCartData = null;
273
273
  Zonos.getCurrentTimestamp = () => new Date().getTime();
@@ -1,4 +1,4 @@
1
- import { r as handleFetch, d as cartStore, l as localizationStore } from './cart-f29968a8.js';
1
+ import { r as handleFetch, d as cartStore, l as localizationStore } from './cart-f4204129.js';
2
2
  import { z as zonosStore } from './zonosStore-ba9e541e.js';
3
3
  import { l as log } from './logError-c456c092.js';
4
4
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, d as getElement } from './index-3b46f3c3.js';
2
- import { h as stripeStore, l as localizationStore, t as translate } from './cart-f29968a8.js';
2
+ import { h as stripeStore, l as localizationStore, t as translate } from './cart-f4204129.js';
3
3
  import { i as isCheckoutMobile } from './isCheckoutMobile-8846dccb.js';
4
4
  import { a as logError } from './logError-c456c092.js';
5
5
  import { i as isTextContainsNonLatinChars, c as containsNonLatinChars } from './containsNonLatinChars-2d8810c3.js';
@@ -143,7 +143,7 @@ const ZonosAddress = class {
143
143
  }
144
144
  render() {
145
145
  // this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
146
- return (h(Host, { key: 'c8b22844b640cf67016bedac346ee2876822fb91', class: "zonos--address zonos--elements" }, h("zonos-text", { key: '79a688fbb8915ef11897939bd568d696b3632b6a', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: '71468dc23512c3e228dd9ce7d6df6593ba01ad0b', class: "zonos--address-component" })));
146
+ return (h(Host, { key: 'f5729bb12351fedbb82e0fa80a7f094faad3a526', class: "zonos--address zonos--elements" }, h("zonos-text", { key: 'b2c50846e6da81a598ba670b14d01861703e5c78', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: 'bb401f27626d88d883aaaab71bc0907a28bf35d3', class: "zonos--address-component" })));
147
147
  }
148
148
  get el() { return getElement(this); }
149
149
  static get watchers() { return {
@@ -632,7 +632,7 @@ const ZonosLinkAuthentication = class {
632
632
  }
633
633
  render() {
634
634
  // this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
635
- return (h(Host, { key: '715d58ba37c753ac4890aabf3b6979a759a5594a', class: "zonos--link-authentication zonos--elements" }, h("zonos-text", { key: '1394e448a080a21522e91a62c8886d49c3616e59', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: '417bc27477776220acfdc9d9f76acd91fd14c1ca', class: "zonos--link-authentication-component" })));
635
+ return (h(Host, { key: '5dfff9d2fcadfebdea65359e7b2bfdb525c3b242', class: "zonos--link-authentication zonos--elements" }, h("zonos-text", { key: 'fb080d667fdfc1a3f41e9cc128d2177af8dc7195', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: 'b79693e8082c7c341895c81ad0787bb2bf152ca9', class: "zonos--link-authentication-component" })));
636
636
  }
637
637
  get el() { return getElement(this); }
638
638
  static get watchers() { return {
@@ -1,8 +1,8 @@
1
1
  import { r as registerInstance, a as getAssetPath, h, H as Host, F as Fragment, c as createEvent, d as getElement } from './index-3b46f3c3.js';
2
- import { d as cartStore, B as currencyFormat, C as cartStoreHasOneEligibleItem, t as translate, r as handleFetch, p as stripeStoreReset, h as stripeStore, D as stripeStoreRetrievePayment, l as localizationStore, E as stripeStoreTranslateAddressToLatin, F as cartStoreUpdateSelectedShippingOption, G as cartStoreGetShippingTransitInfo } from './cart-f29968a8.js';
2
+ import { d as cartStore, B as currencyFormat, C as cartStoreHasOneEligibleItem, t as translate, r as handleFetch, p as stripeStoreReset, h as stripeStore, D as stripeStoreRetrievePayment, l as localizationStore, E as stripeStoreTranslateAddressToLatin, F as cartStoreUpdateSelectedShippingOption, G as cartStoreGetShippingTransitInfo } from './cart-f4204129.js';
3
3
  import { c as classes } from './classes-0d95c529.js';
4
4
  import { z as zonosStore, g as getZonosStoreTheme, d as zonosStoreFontFamily } from './zonosStore-ba9e541e.js';
5
- import { t as trackConversionEvent, s as sendErrorLog, a as submitGtag, c as createCustomEvent, g as getIsTestMode } from './submitGtag-fcfd5cf4.js';
5
+ import { t as trackConversionEvent, s as sendErrorLog, a as submitGtag, c as createCustomEvent, g as getIsTestMode } from './submitGtag-1df655bc.js';
6
6
  import { g as getBorderRadius } from './getBorderRadius-947c24de.js';
7
7
  import { i as isCheckoutMobile } from './isCheckoutMobile-8846dccb.js';
8
8
  import { l as languages } from './ILanguage-cd6acb72.js';
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, h, H as Host, F as Fragment } from './index-3b46f3c3.js';
2
- import { l as localizationStore, s as stripeStoreGetDomesticShippingSession, a as localizationStoreUpdateSelectedCountryCode, b as stripeStoreCleanupDomesticShippingSession, c as stripeStoreSaveDomesticShippingSession, i as initStripeElements, d as cartStore, e as cartStoreUpdateItems, f as cartStoreReset, g as cartStoreResetTabItems, h as stripeStore, j as stripeStoreInitCheckoutSession, k as cartStoreUpdateToErrorState, t as translate, m as stripeStorePrefetchLandedCost, n as cartStoreNextStep, o as stripeStoreConfirmPayment, p as stripeStoreReset, q as localizationStoreOnUpdate } from './cart-f29968a8.js';
2
+ import { l as localizationStore, s as stripeStoreGetDomesticShippingSession, a as localizationStoreUpdateSelectedCountryCode, b as stripeStoreCleanupDomesticShippingSession, c as stripeStoreSaveDomesticShippingSession, i as initStripeElements, d as cartStore, e as cartStoreUpdateItems, f as cartStoreReset, g as cartStoreResetTabItems, h as stripeStore, j as stripeStoreInitCheckoutSession, k as cartStoreUpdateToErrorState, t as translate, m as stripeStorePrefetchLandedCost, n as cartStoreNextStep, o as stripeStoreConfirmPayment, p as stripeStoreReset, q as localizationStoreOnUpdate } from './cart-f4204129.js';
3
3
  import { z as zonosStore, g as getZonosStoreTheme, m as mergeConfig } from './zonosStore-ba9e541e.js';
4
- import { c as createCustomEvent, s as sendErrorLog, a as submitGtag, t as trackConversionEvent, g as getIsTestMode } from './submitGtag-fcfd5cf4.js';
4
+ import { c as createCustomEvent, s as sendErrorLog, a as submitGtag, t as trackConversionEvent, g as getIsTestMode } from './submitGtag-1df655bc.js';
5
5
  import { i as isCheckoutMobile } from './isCheckoutMobile-8846dccb.js';
6
6
  import { l as log, a as logError } from './logError-c456c092.js';
7
7
  import { c as classes } from './classes-0d95c529.js';
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host } from './index-3b46f3c3.js';
2
- import { r as handleFetch, u as isValidSelector, h as stripeStore, v as initLocalizationStore, d as cartStore, a as localizationStoreUpdateSelectedCountryCode } from './cart-f29968a8.js';
2
+ import { r as handleFetch, u as isValidSelector, h as stripeStore, v as initLocalizationStore, d as cartStore, a as localizationStoreUpdateSelectedCountryCode } from './cart-f4204129.js';
3
3
  import { z as zonosStore, b as zonosStoreInitSetting, d as zonosStoreFontFamily } from './zonosStore-ba9e541e.js';
4
4
  import { a as logError, l as log } from './logError-c456c092.js';
5
5
  import './isDarkColor-f8324c10.js';
@@ -300,7 +300,7 @@ const ZonosController = class {
300
300
  zonosStore.organizationName = organizationName;
301
301
  }
302
302
  render() {
303
- return h(Host, { key: 'c22a26c71e3f57f97bd67d8c8775fef7585774cf', class: "zonos--elements" });
303
+ return h(Host, { key: '209a2ea0249b9561b5ca1f84f7d31b1520ef49fe', class: "zonos--elements" });
304
304
  }
305
305
  };
306
306
  ZonosController.style = ZonosControllerStyle0;
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, d as getElement } from './index-3b46f3c3.js';
2
- import { l as localizationStore } from './cart-f29968a8.js';
2
+ import { l as localizationStore } from './cart-f4204129.js';
3
3
  import { d as zonosStoreFontFamily } from './zonosStore-ba9e541e.js';
4
4
  import { c as classes } from './classes-0d95c529.js';
5
5
  import './logError-c456c092.js';
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, d as getElement } from './index-3b46f3c3.js';
2
- import { a as localizationStoreUpdateSelectedCountryCode, l as localizationStore } from './cart-f29968a8.js';
2
+ import { a as localizationStoreUpdateSelectedCountryCode, l as localizationStore } from './cart-f4204129.js';
3
3
  import { d as zonosStoreFontFamily } from './zonosStore-ba9e541e.js';
4
4
  import { f as formatStringWithLinks } from './formatStringWithLinks-9e819405.js';
5
5
  import { i as isDarkColor } from './isDarkColor-f8324c10.js';
@@ -1790,7 +1790,7 @@ const GreenCheckDuotoneIcon = `<svg width="16" height="16" viewBox="0 0 16 16" f
1790
1790
  </svg>
1791
1791
  `;
1792
1792
 
1793
- const zonosCountrySelectCss = ":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--country-select{position:relative}:host .zonos--country-select .zonos--country-select-header{position:-webkit-sticky;position:sticky;top:0;background:var(--zonos-elements-surface-color);z-index:11}:host .zonos--country-select .zonos--country-select-input{padding:8px;border-radius:var(--zonos-elements-radius-4);border:var(--zonos-elements-border)}:host .zonos--country-select .zonos--country-select-content{padding:16px;padding-top:0px}:host .zonos--country-select .zonos--country-select-country{display:-ms-flexbox;display:flex;gap:16px;padding:8px;-ms-flex-align:center;align-items:center;border-radius:var(--zonos-elements-radius-4);cursor:pointer;width:100%;border:none;background:none}:host .zonos--country-select .zonos--country-select-country:hover{background:var(--zonos-elements-gray-100)}:host .zonos--country-select .zonos--country-select-country .zonos--country-flag{border-radius:var(--zonos-elements-radius-4);width:24px;height:18px;position:relative;overflow:hidden;-webkit-box-shadow:var(--zonos-elements-v3-shadow-medium);box-shadow:var(--zonos-elements-v3-shadow-medium);z-index:10;justify-self:center}@media (max-width: 768px){:host .zonos--country-select .zonos--country-select-country .zonos--country-flag{border-radius:var(--zonos-elements-radius-4);width:24px}}";
1793
+ const zonosCountrySelectCss = ":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--country-select{position:relative;max-height:500px;overflow-y:auto}:host .zonos--country-select .zonos--country-select-header{position:-webkit-sticky;position:sticky;top:0;background:var(--zonos-elements-surface-color);z-index:11}:host .zonos--country-select .zonos--country-select-input{padding:8px;border-radius:var(--zonos-elements-radius-4);border:var(--zonos-elements-border)}:host .zonos--country-select .zonos--country-select-content{padding:16px;padding-top:0px}:host .zonos--country-select .zonos--country-select-country{display:-ms-flexbox;display:flex;gap:16px;padding:8px;-ms-flex-align:center;align-items:center;border-radius:var(--zonos-elements-radius-4);cursor:pointer;width:100%;border:none;background:none}:host .zonos--country-select .zonos--country-select-country:hover{background:var(--zonos-elements-gray-100)}:host .zonos--country-select .zonos--country-select-country .zonos--country-flag{border-radius:var(--zonos-elements-radius-4);width:24px;height:18px;position:relative;overflow:hidden;-webkit-box-shadow:var(--zonos-elements-v3-shadow-medium);box-shadow:var(--zonos-elements-v3-shadow-medium);z-index:10;justify-self:center}@media (max-width: 768px){:host .zonos--country-select .zonos--country-select-country .zonos--country-flag{border-radius:var(--zonos-elements-radius-4);width:24px}}";
1794
1794
  const ZonosCountrySelectStyle0 = zonosCountrySelectCss;
1795
1795
 
1796
1796
  const ZonosCountrySelect = class {
@@ -1802,8 +1802,15 @@ const ZonosCountrySelect = class {
1802
1802
  this.handleOnClose();
1803
1803
  };
1804
1804
  this.handleInputChange = (event) => {
1805
+ var _a;
1805
1806
  const input = event.target;
1806
1807
  this.inputValue = input.value;
1808
+ // query the country list container
1809
+ const countryListSelector = (_a = this.ele.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.zonos--country-select');
1810
+ // scroll to top every time the input changes
1811
+ if (countryListSelector) {
1812
+ countryListSelector.scrollTop = 0;
1813
+ }
1807
1814
  };
1808
1815
  this.handleOnClose = () => { };
1809
1816
  this.inputValue = '';
@@ -1825,9 +1832,9 @@ const ZonosCountrySelect = class {
1825
1832
  const filteredCountries = this.inputValue
1826
1833
  ? fuseObject.map(country => country.item)
1827
1834
  : countries.sort((a, b) => a.displayName.localeCompare(b.displayName));
1828
- return (h(Host, { key: '58c3b982087e7f62fa914028bfe874273e9e3fde', class: "zonos--elements", style: {
1835
+ return (h(Host, { key: '55753f75d50712e9a27a9db9131130ce1e042c7e', class: "zonos--elements", style: {
1829
1836
  '--font-family': zonosStoreFontFamily(),
1830
- } }, h("div", { key: '62a5b6611c4ace9413f34a91aa33c60344cb9d51', class: "zonos--country-select" }, h("zonos-v-stack", { key: 'd2133152d1e61b4cd1dfcc42fd67f44cd2585443', class: "zonos--country-select-header", spacing: 8 }, h("zonos-select-dialog-header", { key: '3fd084f5165387dc1ce567db6579599cbf420916', handleOnClose: () => this.handleOnClose(), label: "Select a country" }, h("input", { key: '176630bf445f1bb7af90fe7cec5091ea9e615e1f', class: "zonos--country-select-input", onInput: this.handleInputChange, placeholder: "Search countries", value: this.inputValue }))), h("div", { key: '50942a4c1a980bbac701e15060ed49dc9af64f73', class: "zonos--country-select-content" }, filteredCountries.map(country => (h("button", { class: "zonos--country-select-country", onClick: () => this.countrySelected(country.code) }, h("zonos-country-flag", { class: "zonos--country-flag", countryCode: country.code }), h("zonos-text", { textColor: "gray-800" }, country.displayName), country.code === localizationStore.selectedCountryCode && (h("zonos-icon", { content: GreenCheckDuotoneIcon, size: 20 })))))))));
1837
+ } }, h("div", { key: 'c96d6b99ea3d55074256b39deaab01e14c5cea0b', class: "zonos--country-select" }, h("zonos-v-stack", { key: '2e87ea4ed6a5d4b9bd0aa6764f0aa9661e7d68fd', class: "zonos--country-select-header", spacing: 8 }, h("zonos-select-dialog-header", { key: 'd8dec91571385908913825d8bad4beda4dcaa409', handleOnClose: () => this.handleOnClose(), label: "Select a country" }, h("input", { key: 'b93ab3eb035c813af752da077b493140ae0fa394', class: "zonos--country-select-input", onInput: this.handleInputChange, placeholder: "Search countries", value: this.inputValue }))), h("div", { key: 'aaaf3dbd925250d799119b5a57ca95691eeaa985', class: "zonos--country-select-content" }, filteredCountries.map(country => (h("button", { class: "zonos--country-select-country", onClick: () => this.countrySelected(country.code) }, h("zonos-country-flag", { class: "zonos--country-flag", countryCode: country.code }), h("zonos-text", { textColor: "gray-800" }, country.displayName), country.code === localizationStore.selectedCountryCode && (h("zonos-icon", { content: GreenCheckDuotoneIcon, size: 20 })))))))));
1831
1838
  }
1832
1839
  get ele() { return getElement(this); }
1833
1840
  };
@@ -1879,9 +1886,9 @@ const ZonosHelloDialogFooter = class {
1879
1886
  const language = (_b = languages.find(x => x.code === localizationStore.selectedLocale)) === null || _b === void 0 ? void 0 : _b.translatedLabel;
1880
1887
  // Only use gray-0 (white) when the background color is dark (apply inverted color if the element is using dark theme variable)
1881
1888
  const mainColor = primaryColor && isDarkColor(primaryColor) ? 'white' : 'black';
1882
- return (h(Host, { key: '3ec3d830c3818a9f3661eefe7da50520919e7800', class: "zonos--elements" }, h("div", { key: 'c67564b69ce94116285cf28b9c4d8158f1d732cc', class: "zonos--hello-dialog-footer", style: {
1889
+ return (h(Host, { key: '49ed5ba840bd0d1e813b8eb4b89d0508930928a2', class: "zonos--elements" }, h("div", { key: 'ae66c6a3e8c824189b4eae2208c873943f8687ca', class: "zonos--hello-dialog-footer", style: {
1883
1890
  '--primary-color': primaryColor,
1884
- } }, h("a", { key: 'fcb17ee52dc72b107a0c43c27103bc6ebd400ee1', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, h("zonos-icon", { key: 'f73ba904c41c936d020d5c61d087deaedf9d4708', "aria-label": "Zonos Logo", autoHeight: true, content: ZonosIcon, iconColor: mainColor, size: 108 })), h("div", { key: '6b3909844a290b1a76a0f77d2371ba1aba72a536', class: "zonos--hello-locale-wrapper" }, h("zonos-button", { key: 'd1cc73adf8c92a97b656b6054613caa71d742afa', buttonColor: mainColor, icon: h("zonos-icon", { "aria-label": "Open language select", content: Globe, iconColor: mainColor }), onClick: () => this.setShowLanguageSelect(true), variant: "subtle" }, language), h("zonos-button", { key: 'f9497df1d84e9c18ac02b614c43449f9ffd311ed', buttonColor: mainColor, icon: h("zonos-country-flag", { "aria-label": "Open country select", class: "zonos--footer-country-flag", countryCode: localizationStore.selectedCountryCode }), onClick: () => this.setShowCountrySelect(true), variant: "subtle" }, localizationStore.selectedCountryCode)))));
1891
+ } }, h("a", { key: '61226c77fe20c817efd58e12c5d5c16dad6375ac', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, h("zonos-icon", { key: '7dc60e603c7f64fc42359632190249caf0a18317', "aria-label": "Zonos Logo", autoHeight: true, content: ZonosIcon, iconColor: mainColor, size: 108 })), h("div", { key: 'a6875d4c4dcf5804570d47409567f87728b8c8b5', class: "zonos--hello-locale-wrapper" }, h("zonos-button", { key: '51083ce07a51f62469afce508c79a7ebbf4eeacf', buttonColor: mainColor, icon: h("zonos-icon", { "aria-label": "Open language select", content: Globe, iconColor: mainColor }), onClick: () => this.setShowLanguageSelect(true), variant: "subtle" }, language), h("zonos-button", { key: '46b826f2fc8f819507db9d432da459124b65cee8', buttonColor: mainColor, icon: h("zonos-country-flag", { "aria-label": "Open country select", class: "zonos--footer-country-flag", countryCode: localizationStore.selectedCountryCode }), onClick: () => this.setShowCountrySelect(true), variant: "subtle" }, localizationStore.selectedCountryCode)))));
1885
1892
  }
1886
1893
  get ele() { return getElement(this); }
1887
1894
  };
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-3b46f3c3.js';
2
- import { l as localizationStore, B as currencyFormat, t as translate } from './cart-f29968a8.js';
1
+ import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host } from './index-3b46f3c3.js';
2
+ import { t as translate, l as localizationStore, B as currencyFormat } from './cart-f4204129.js';
3
3
  import { z as zonosStore } from './zonosStore-ba9e541e.js';
4
4
  import { c as classes } from './classes-0d95c529.js';
5
5
  import { f as formatStringWithLinks } from './formatStringWithLinks-9e819405.js';
@@ -30,6 +30,15 @@ const ImportIcon = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none"
30
30
  </svg>
31
31
  `;
32
32
 
33
+ const InclusivePricingIcon = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
34
+ <path fill-rule="evenodd" clip-rule="evenodd"
35
+ d="M4.04505 6.64123C2.19006 8.49622 2.19006 11.5038 4.04505 13.3587L11.2929 20.6066C11.6834 20.9971 12.3166 20.9971 12.7071 20.6066L19.955 13.3587C21.8099 11.5038 21.8099 8.49622 19.955 6.64123L17.8336 4.51991C17.4431 4.12939 16.8099 4.12939 16.4194 4.51991L13.5241 7.41527C12.5864 6.86157 11.4136 6.86157 10.4759 7.41527L7.58059 4.51991C7.19006 4.12939 6.5569 4.12939 6.16637 4.51991L4.04505 6.64123ZM5.10571 12.2981C3.83651 11.0289 3.83651 8.9711 5.10571 7.70189L6.87348 5.93413L9.70191 8.76255C10.1056 9.16622 10.6991 9.12 11.0641 8.82749C11.6091 8.39083 12.3909 8.39082 12.9359 8.82749C13.301 9.12 13.8944 9.16622 14.2981 8.76255L17.1265 5.93413L18.8943 7.70189C20.1635 8.9711 20.1635 11.0289 18.8943 12.2981L12 19.1924L5.10571 12.2981Z"
36
+ fill="#0F1015" />
37
+ <path
38
+ d="M10.0333 3.28075C9.63566 3.39679 9.40739 3.8132 9.52343 4.21083C9.63947 4.60846 10.0559 4.83673 10.4535 4.72069C11.4618 4.42644 12.5383 4.42644 13.5466 4.72069C13.9442 4.83673 14.3606 4.60846 14.4766 4.21083C14.5927 3.81321 14.3644 3.39679 13.9668 3.28075C12.6841 2.90642 11.316 2.90642 10.0333 3.28075Z"
39
+ fill="#0F1015" />
40
+ </svg>`;
41
+
33
42
  const MessageIcon = `<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="https://www.w3.org/2000/svg">
34
43
  <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"/>
35
44
  </svg>
@@ -45,6 +54,11 @@ const RemoveIcon = `<svg xmlns="https://www.w3.org/2000/svg" width="24" height="
45
54
  const zonosHelloDialogCss = ":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)}}";
46
55
  const ZonosHelloDialogStyle0 = zonosHelloDialogCss;
47
56
 
57
+ const dutyTaxMessage_AU_lowValueGST = `${translate('The low-value GST law passed July 1st, 2018 applies to this retailer.')} ${wrapStringWithLink({
58
+ href: 'https://zonos.com/docs/global-ecommerce/landed-cost/tax-remittance/australia-gst',
59
+ text: translate('Learn more.'),
60
+ })}`;
61
+ const inclusivePriceMessage = translate('Product prices already include duties, taxes, and fees. No additional duties or taxes will be added at checkout, with rare exceptions.');
48
62
  const ZonosHelloDialog = class {
49
63
  constructor(hostRef) {
50
64
  registerInstance(this, hostRef);
@@ -81,6 +95,9 @@ const ZonosHelloDialog = class {
81
95
  var _a;
82
96
  return (_a = localizationStore.countryLandedCost) === null || _a === void 0 ? void 0 : _a.hasTaxId;
83
97
  };
98
+ this.hasInclusivePrices = () => {
99
+ return localizationStore.hasInclusivePrices;
100
+ };
84
101
  /**
85
102
  * Some countries don't have threshold. So we need to show generic message for them
86
103
  */
@@ -100,10 +117,10 @@ const ZonosHelloDialog = class {
100
117
  // If deminimis is undefined or null, assume it's $0
101
118
  return dutyDeminimis &&
102
119
  !this.isNoThresholdCountry(countryLandedCost === null || countryLandedCost === void 0 ? void 0 : countryLandedCost.countryCode)
103
- ? translate('Spend [threshold] duty free', {
120
+ ? translate('Spend [threshold] duty free.', {
104
121
  threshold: dutyDeminimis,
105
122
  })
106
- : translate('Duties will apply to all orders');
123
+ : translate('Duties will apply to all orders.');
107
124
  };
108
125
  this.getTaxMessage = () => {
109
126
  const { countryLandedCost } = localizationStore;
@@ -113,10 +130,10 @@ const ZonosHelloDialog = class {
113
130
  : null;
114
131
  return taxDeminimis &&
115
132
  !this.isNoThresholdCountry(countryLandedCost === null || countryLandedCost === void 0 ? void 0 : countryLandedCost.countryCode)
116
- ? translate('Spend [threshold] tax free', {
133
+ ? translate('Spend [threshold] tax free.', {
117
134
  threshold: taxDeminimis,
118
135
  })
119
- : translate('Taxes will apply to all orders');
136
+ : translate('Taxes will apply to all orders.');
120
137
  };
121
138
  this.getUkDutyTaxMessage = (landedCost) => {
122
139
  if (landedCost.allowLowValueOrders) {
@@ -132,17 +149,20 @@ const ZonosHelloDialog = class {
132
149
  ];
133
150
  };
134
151
  this.getAustraliaDutyTaxMessage = (landedCost) => {
152
+ if (localizationStore.hasInclusivePrices) {
153
+ return [dutyTaxMessage_AU_lowValueGST];
154
+ }
135
155
  return [
136
- translate('Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders', {
156
+ translate('Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders.', {
137
157
  percentage: `${landedCost.vatTaxRate * 100}%`,
138
158
  }),
139
- `${translate('The low-value GST law passed July 1st, 2018 applies to this retailer.')} ${wrapStringWithLink({
140
- href: 'https://zonos.com/docs/global-ecommerce/landed-cost/tax-remittance/australia-gst',
141
- text: translate('Learn more.'),
142
- })}`,
159
+ dutyTaxMessage_AU_lowValueGST,
143
160
  ];
144
161
  };
145
162
  this.getNewZealandDutyTaxMessge = (landedCost) => {
163
+ if (localizationStore.hasInclusivePrices) {
164
+ return null;
165
+ }
146
166
  return [
147
167
  translate('[percentage] GST due on any order above [threshold] along with an import entry transaction fee and MPI levy.', {
148
168
  percentage: `${landedCost.vatTaxRate * 100}%`,
@@ -195,6 +215,7 @@ const ZonosHelloDialog = class {
195
215
  render() {
196
216
  var _a;
197
217
  const { selectedCountryCode } = localizationStore;
218
+ const hasInclusivePrices = this.hasInclusivePrices();
198
219
  // If deminimis is undefined or null, assume it's $0
199
220
  const dutyDeMinimisMessage = this.getDutyMessage();
200
221
  // If deminimis is undefined or null, assume it's $0
@@ -213,18 +234,18 @@ const ZonosHelloDialog = class {
213
234
  const defaultMessage = formatStringWithLinks(defaultMessageStr);
214
235
  const currentPage = this.getCurrentPageEnum();
215
236
  const filteredMessages = customMessages.filter(x => x.pageName === currentPage);
216
- return (h(Host, { key: 'af2c46bcc413205d644a2b94ee2ff568d3d004f2', class: "zonos--elements" }, h("div", { key: 'e74b871d52d734ca9ad772d8ae1c5bef1aaf06f9', class: classes([
237
+ return (h(Host, { key: '7fa136af625bb72bb9f14ba4f3ff3aa70a95074b', class: "zonos--elements" }, h("div", { key: '94839999d9a9f2ff182f50ba24ad3183c44c6a31', class: classes([
217
238
  'zonos--hello-dialog',
218
239
  animateLeft && 'zonos--hello-dialog-animate-from-left',
219
240
  animateFromBottom && 'zonos--hello-dialog-animate-from-bottom',
220
241
  !!this.mobileLocationOverride &&
221
242
  'zonos--hello-dialog-mobile-override',
222
243
  this.isOpen && 'zonos--hello-dialog-open',
223
- ]), inert: !this.isOpen, ref: el => el && (this.dialogRef = el) }, !this.showCountrySelect && !this.showLanguageSelect && (h("div", { key: 'd973d051143ab56e1af29b7ee812f1e5405b7768' }, h("div", { key: '1539bbc35aebccc9748e2d3b77b1717bd2e5dec5', class: "zonos--hello-dialog-content" }, h("zonos-button", { key: '675ff7bb8fdf8373c1aa21200ccc42ff9b585355', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close Zonos Hello dialog", content: RemoveIcon }), noBackground: true, onClick: () => this.setIsOpen(false) }), h("zonos-v-stack", { key: 'c82a41c292facb00fd1a48ce69920b1de47d3f09', spacing: 24 }, h("zonos-country-flag", { key: '6b083cf77226e3766ad50a812c1201809593f3d6', class: "zonos--hello-country-flag", countryCode: selectedCountryCode }), h("zonos-v-stack", { key: 'f0ab4ca66f22b0448edff37fc730e72790b83de8', class: "zonos--hello-dialog-header", spacing: 4 }, h("zonos-text", { key: '574f22410d18fbeea3ac3fe22a735a2d858b5c9e', type: "boldSubheader" }, welcomeMessage), h("zonos-text", { key: '35f718094fcbd34d8e8ae9ec46fd0429cfcd1104', innerHTML: defaultMessage, textColor: "gray-800" })), h("zonos-v-stack", { key: 'e4bd687a84f1d48d0a20564a4ac9b9c1a24b3850', spacing: 8 }, this.restrictedItems.map(item => {
244
+ ]), inert: !this.isOpen, ref: el => el && (this.dialogRef = el) }, !this.showCountrySelect && !this.showLanguageSelect && (h("div", { key: '7c412fd167248e55b4b285cd77f4cfc85a6a038f' }, h("div", { key: '78d376fffe7289f3a4e144aca964e6a11da45600', class: "zonos--hello-dialog-content" }, h("zonos-button", { key: 'b1c03836ef2825d4f0cf7c395aab0905008f2d5d', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close Zonos Hello dialog", content: RemoveIcon }), noBackground: true, onClick: () => this.setIsOpen(false) }), h("zonos-v-stack", { key: '91249ab433e0c29ca013c8cba607693a7a6bed02', spacing: 24 }, h("zonos-country-flag", { key: 'f11acc0b2f96f3fd0e5af6f4abb34c64bd290dae', class: "zonos--hello-country-flag", countryCode: selectedCountryCode }), h("zonos-v-stack", { key: '7322b563606ae3e6f5e0751305ef5779c99f3b36', class: "zonos--hello-dialog-header", spacing: 4 }, h("zonos-text", { key: 'cc6b7618a289bb0b001e2f1268b30e2ef18a6e54', type: "boldSubheader" }, welcomeMessage), h("zonos-text", { key: 'f60575298db7743c942bfaa922baff1e93ea6774', innerHTML: defaultMessage, textColor: "gray-800" })), h("zonos-v-stack", { key: '28c6a3bd2b49078ee337ae1e755519de332cda5d', spacing: 8 }, this.restrictedItems.map(item => {
224
245
  var _a;
225
246
  return item && (h("zonos-banner", { bannerTitle: item.name, intent: "error" }, (_a = item.itemRestrictions) === null || _a === void 0 ? void 0 : _a.map(x => (h("zonos-text", { textColor: "red-800" }, x === null || x === void 0 ? void 0 : x.note)))));
226
- }), h("zonos-card", { key: '53fa284d1d87505e550bb893a895e944894cd8b6', spacing: "12px" }, h("zonos-v-stack", { key: 'ee8ecb870af875c1bbc49be88464094753d96b26', spacing: 12 }, h("div", { key: '9bb07220319b2635d66722c79a81c77c049e2aa0', class: "zonos--flex-message" }, h("zonos-icon", { key: 'cf345dace81622f3fd240a1538f25fce855d2ae2', "aria-label": "Duty de minimis", content: ImportIcon }), h("zonos-text", { key: '4a047bc63a8e2a1f88203241b927ac3f3f05a398' }, dutyDeMinimisMessage)), h("div", { key: 'af75e4d21ae1189d015376bfed3caf9156788ceb', class: "zonos--flex-message" }, h("zonos-icon", { key: '356fbbe36379ab8513822be08f8b4f3af4f8baf5', "aria-label": "Tax de minimis", content: MoneyIcon }), h("zonos-text", { key: '5b8fb3f1622bb49bbed21e0a81d6725a5825e931' }, taxDeMinimisMessage)), additionalInformation === null || additionalInformation === void 0 ? void 0 :
227
- additionalInformation.map(info => (h("div", { class: "zonos--flex-message" }, h("zonos-icon", { "aria-label": "Additional information for buying goods from selected country", content: BagIcon }), h("zonos-text", { innerHTML: info })))))), filteredMessages.map(x => (h("zonos-custom-message", { icon: MessageIcon, message: x.message })))))), h("zonos-hello-dialog-footer", { key: '362873c8bac81efc80e44fae1d74a0bffae5e605', appearanceSettings: this.appearanceSettings, setShowCountrySelect: value => this.setShowCountrySelect(value), setShowLanguageSelect: value => this.setShowLanguageSelect(value) }))), this.showCountrySelect && (h("div", { key: '86d0d738e77d51666d3f63288aa1e954d539bb06' }, h("zonos-country-select", { key: '98766f096f97b249f0b4b3ebe053474de4ae498a', handleOnClose: () => this.setShowCountrySelect(false) }))), this.showLanguageSelect && (h("div", { key: '3268e1c0a9f7300b0e997ef238a4d95ec9d4f894' }, h("zonos-language-select", { key: '1b6d9dd2872332b2eba343ffd8798b1e87c71c2a', handleOnClose: () => this.setShowLanguageSelect(false) }))))));
247
+ }), h("zonos-card", { key: '3fe69193fa354dcd592957333d8ddb484a88f309', spacing: "12px" }, h("zonos-v-stack", { key: '327079d7ead3a16af25b9131e1882f97c6ebe2be', spacing: 12 }, hasInclusivePrices ? (h("div", { class: "zonos--flex-message" }, h("zonos-icon", { "aria-label": "Duty de minimis", content: InclusivePricingIcon }), h("zonos-text", null, inclusivePriceMessage))) : (h(Fragment, null, h("div", { class: "zonos--flex-message" }, h("zonos-icon", { "aria-label": "Duty de minimis", content: ImportIcon }), h("zonos-text", null, dutyDeMinimisMessage)), h("div", { class: "zonos--flex-message" }, h("zonos-icon", { "aria-label": "Tax de minimis", content: MoneyIcon }), h("zonos-text", null, taxDeMinimisMessage)))), additionalInformation === null || additionalInformation === void 0 ? void 0 :
248
+ additionalInformation.map(info => (h("div", { class: "zonos--flex-message" }, h("zonos-icon", { "aria-label": "Additional information for buying goods from selected country", content: BagIcon }), h("zonos-text", { innerHTML: info })))))), filteredMessages.map(x => (h("zonos-custom-message", { icon: MessageIcon, message: x.message })))))), h("zonos-hello-dialog-footer", { key: 'ce8ca134e3918406bf69c0ab8dd883fd1af802c2', appearanceSettings: this.appearanceSettings, setShowCountrySelect: value => this.setShowCountrySelect(value), setShowLanguageSelect: value => this.setShowLanguageSelect(value) }))), this.showCountrySelect && (h("div", { key: '03f07b6d622b1bc0ac918e9c910e5d5d815bd886' }, h("zonos-country-select", { key: 'fcbc3374d29c7b52f5316450956671340e0dd45c', handleOnClose: () => this.setShowCountrySelect(false) }))), this.showLanguageSelect && (h("div", { key: '32e7c6391b5299fc845f7404745ee768a6f5e7bf' }, h("zonos-language-select", { key: 'b82087d23130629c339f02236d18dab598f33993', handleOnClose: () => this.setShowLanguageSelect(false) }))))));
228
249
  }
229
250
  static get assetsDirs() { return ["assets"]; }
230
251
  static get watchers() { return {
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-3b46f3c3.js';
2
2
  import { _ as _root, e as _baseGetTag, i as isObjectLike_1, f as isObject_1, z as zonosStore, g as getZonosStoreTheme, m as mergeConfig } from './zonosStore-ba9e541e.js';
3
- import { r as handleFetch, l as localizationStore, u as isValidSelector, t as translate, w as getZCountryUrlParam, x as setZCountryUrlParam, y as currencyDisplay, z as currencyConvertAndFormat, A as currencyConvert, B as currencyFormat } from './cart-f29968a8.js';
3
+ import { r as handleFetch, l as localizationStore, u as isValidSelector, t as translate, w as getZCountryUrlParam, x as setZCountryUrlParam, y as currencyDisplay, z as currencyConvertAndFormat, A as currencyConvert, B as currencyFormat } from './cart-f4204129.js';
4
4
  import { c as classes } from './classes-0d95c529.js';
5
5
  import { a as logError, l as log } from './logError-c456c092.js';
6
6
  import { g as getHasMoreSpaceOnRight } from './getHasMoreSpaceOnRight-70eb913a.js';
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-3b46f3c3.js';
2
- import { H as localizationStoreUpdateSelectedLocale, t as translate, l as localizationStore } from './cart-f29968a8.js';
2
+ import { H as localizationStoreUpdateSelectedLocale, t as translate, l as localizationStore } from './cart-f4204129.js';
3
3
  import { d as zonosStoreFontFamily } from './zonosStore-ba9e541e.js';
4
4
  import { l as languages } from './ILanguage-cd6acb72.js';
5
5
  import './logError-c456c092.js';
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, h, H as Host, d as getElement } from './index-3b46f3c3.js';
2
2
  import { d as zonosStoreFontFamily } from './zonosStore-ba9e541e.js';
3
3
  import { c as classes } from './classes-0d95c529.js';
4
- import { h as stripeStore } from './cart-f29968a8.js';
4
+ import { h as stripeStore } from './cart-f4204129.js';
5
5
  import { a as logError } from './logError-c456c092.js';
6
6
  import './isDarkColor-f8324c10.js';
7
7
  import './getBorderRadius-947c24de.js';
@@ -105,7 +105,7 @@ const ZonosPayment = class {
105
105
  }
106
106
  render() {
107
107
  // this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
108
- return (h(Host, { key: '870d7a4cb6132332368d356488c5eedd1dea16f3', class: "zonos--payment zonos--elements" }, this.titleText && (h("zonos-text", { key: '7aef62f6daae0c5b59caa685c4255fb78eebc1be', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), h("div", { key: '073976bceadf5f8efa78d0b1f6098e94bfa3d1a6', class: "zonos--payment-component" })));
108
+ return (h(Host, { key: 'c940b38c3bb7e8a7856ce28e62ee40d60eb445a1', class: "zonos--payment zonos--elements" }, this.titleText && (h("zonos-text", { key: '7625e3865a13cdf4fc6c05d7a2e0c7b84ae5ebd4', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), h("div", { key: '92cde315378611a675b19cdce46b1bf6ac2221a1', class: "zonos--payment-component" })));
109
109
  }
110
110
  get el() { return getElement(this); }
111
111
  static get watchers() { return {