@zonos/elements 1.3.8-alpha.0 → 1.3.8-alpha.2

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 (205) hide show
  1. package/dist/cjs/{cart-eee85bda.js → cart-c22d66c8.js} +98 -21
  2. package/dist/cjs/{getBorderRadius-d8f18958.js → getBorderRadius-d9a954a3.js} +1 -1
  3. package/dist/cjs/{isDarkColor-57860b44.js → isDarkColor-c01f24df.js} +1 -1
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/{submitGtag-a2e1f652.js → submitGtag-bc28bb8f.js} +5 -3
  6. package/dist/cjs/zonos-address_4.cjs.entry.js +60 -7
  7. package/dist/cjs/zonos-badge_2.cjs.entry.js +1 -1
  8. package/dist/cjs/zonos-banner.cjs.entry.js +1 -1
  9. package/dist/cjs/zonos-button_3.cjs.entry.js +3 -3
  10. package/dist/cjs/zonos-card_2.cjs.entry.js +4 -4
  11. package/dist/cjs/zonos-cart-items_9.cjs.entry.js +32 -17
  12. package/dist/cjs/zonos-checkout.cjs.entry.js +5 -5
  13. package/dist/cjs/zonos-controller.cjs.entry.js +4 -4
  14. package/dist/cjs/zonos-country-flag.cjs.entry.js +4 -4
  15. package/dist/cjs/zonos-country-select_3.cjs.entry.js +4 -4
  16. package/dist/cjs/zonos-elements.cjs.js +1 -1
  17. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +4 -4
  18. package/dist/cjs/zonos-hello.cjs.entry.js +4 -4
  19. package/dist/cjs/zonos-logo.cjs.entry.js +1 -1
  20. package/dist/cjs/zonos-notification.cjs.entry.js +1 -1
  21. package/dist/cjs/zonos-payment.cjs.entry.js +4 -4
  22. package/dist/cjs/zonos-select-dialog-header_2.cjs.entry.js +1 -1
  23. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +2 -2
  24. package/dist/cjs/zonos-text.cjs.entry.js +1 -1
  25. package/dist/cjs/{zonosStore-138c5555.js → zonosStore-2a8612a4.js} +1 -0
  26. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +3 -3
  27. package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.js +27 -10
  28. package/dist/collection/components/store/checkout/stripe.js +3 -3
  29. package/dist/collection/components/store/translationStore/strings.arabic.js +3 -0
  30. package/dist/collection/components/store/translationStore/strings.base.js +3 -0
  31. package/dist/collection/components/store/translationStore/strings.chinese.js +3 -0
  32. package/dist/collection/components/store/translationStore/strings.danish.js +3 -0
  33. package/dist/collection/components/store/translationStore/strings.dutch.js +3 -0
  34. package/dist/collection/components/store/translationStore/strings.french.js +3 -0
  35. package/dist/collection/components/store/translationStore/strings.german.js +3 -0
  36. package/dist/collection/components/store/translationStore/strings.hebrew.js +3 -0
  37. package/dist/collection/components/store/translationStore/strings.indonesian.js +3 -0
  38. package/dist/collection/components/store/translationStore/strings.italian.js +3 -0
  39. package/dist/collection/components/store/translationStore/strings.japanese.js +3 -0
  40. package/dist/collection/components/store/translationStore/strings.korean.js +3 -0
  41. package/dist/collection/components/store/translationStore/strings.norwegian.js +3 -0
  42. package/dist/collection/components/store/translationStore/strings.polish.js +3 -0
  43. package/dist/collection/components/store/translationStore/strings.portuguese.js +3 -0
  44. package/dist/collection/components/store/translationStore/strings.russian.js +3 -0
  45. package/dist/collection/components/store/translationStore/strings.spanish.js +3 -0
  46. package/dist/collection/components/store/translationStore/strings.swedish.js +3 -0
  47. package/dist/collection/components/store/translationStore/strings.turkish.js +3 -0
  48. package/dist/collection/components/store/translationStore/strings.vietnamese.js +3 -0
  49. package/dist/collection/components/store/zonosStore.js +1 -0
  50. package/dist/collection/components/stripe/zonos-address/zonos-address.css +3 -0
  51. package/dist/collection/components/stripe/zonos-address/zonos-address.js +63 -4
  52. package/dist/collection/components/utils/containsNonLatinChars.js +13 -0
  53. package/dist/collection/components/utils/logging/sendErrorLog.js +3 -1
  54. package/dist/collection/styles/stripe/addressRuleStyle.js +32 -15
  55. package/dist/collection/types/generated/graphql.customer.types.js +37 -0
  56. package/dist/collection/types/generated/graphql.frontend.types.js +19 -0
  57. package/dist/components/stripe.js +95 -18
  58. package/dist/components/zonos-address2.js +67 -6
  59. package/dist/components/zonos-checkout-finish2.js +6 -4
  60. package/dist/components/zonos-customer-info2.js +35 -12
  61. package/dist/components/zonosStore.js +1 -0
  62. package/dist/esm/{cart-e261efc1.js → cart-f70b9be6.js} +98 -21
  63. package/dist/esm/{getBorderRadius-19787feb.js → getBorderRadius-0d133844.js} +1 -1
  64. package/dist/esm/{isDarkColor-2344e7a5.js → isDarkColor-8eeda28e.js} +1 -1
  65. package/dist/esm/loader.js +1 -1
  66. package/dist/esm/{submitGtag-dfc6f1dc.js → submitGtag-afeca6f9.js} +5 -3
  67. package/dist/esm/zonos-address_4.entry.js +61 -8
  68. package/dist/esm/zonos-badge_2.entry.js +1 -1
  69. package/dist/esm/zonos-banner.entry.js +1 -1
  70. package/dist/esm/zonos-button_3.entry.js +3 -3
  71. package/dist/esm/zonos-card_2.entry.js +4 -4
  72. package/dist/esm/zonos-cart-items_9.entry.js +32 -17
  73. package/dist/esm/zonos-checkout.entry.js +5 -5
  74. package/dist/esm/zonos-controller.entry.js +4 -4
  75. package/dist/esm/zonos-country-flag.entry.js +4 -4
  76. package/dist/esm/zonos-country-select_3.entry.js +4 -4
  77. package/dist/esm/zonos-elements.js +1 -1
  78. package/dist/esm/zonos-hello-dialog.entry.js +4 -4
  79. package/dist/esm/zonos-hello.entry.js +4 -4
  80. package/dist/esm/zonos-logo.entry.js +1 -1
  81. package/dist/esm/zonos-notification.entry.js +1 -1
  82. package/dist/esm/zonos-payment.entry.js +4 -4
  83. package/dist/esm/zonos-select-dialog-header_2.entry.js +1 -1
  84. package/dist/esm/zonos-shipping-rich-radio.entry.js +2 -2
  85. package/dist/esm/zonos-text.entry.js +1 -1
  86. package/dist/esm/{zonosStore-00bce01b.js → zonosStore-807f931f.js} +1 -0
  87. package/dist/esm-es5/cart-f70b9be6.js +1 -0
  88. package/dist/esm-es5/{getBorderRadius-19787feb.js → getBorderRadius-0d133844.js} +1 -1
  89. package/dist/esm-es5/{isDarkColor-2344e7a5.js → isDarkColor-8eeda28e.js} +1 -1
  90. package/dist/esm-es5/loader.js +1 -1
  91. package/dist/esm-es5/submitGtag-afeca6f9.js +1 -0
  92. package/dist/esm-es5/zonos-address_4.entry.js +1 -1
  93. package/dist/esm-es5/zonos-badge_2.entry.js +1 -1
  94. package/dist/esm-es5/zonos-banner.entry.js +1 -1
  95. package/dist/esm-es5/zonos-button_3.entry.js +1 -1
  96. package/dist/esm-es5/zonos-card_2.entry.js +1 -1
  97. package/dist/esm-es5/zonos-cart-items_9.entry.js +1 -1
  98. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  99. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  100. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  101. package/dist/esm-es5/zonos-country-select_3.entry.js +1 -1
  102. package/dist/esm-es5/zonos-elements.js +1 -1
  103. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  104. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  105. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  106. package/dist/esm-es5/zonos-notification.entry.js +1 -1
  107. package/dist/esm-es5/zonos-payment.entry.js +1 -1
  108. package/dist/esm-es5/zonos-select-dialog-header_2.entry.js +1 -1
  109. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
  110. package/dist/esm-es5/zonos-text.entry.js +1 -1
  111. package/dist/esm-es5/{zonosStore-00bce01b.js → zonosStore-807f931f.js} +1 -1
  112. package/dist/scripts/loadZonos.js +1 -1
  113. package/dist/scripts/zonos.js +1 -1
  114. package/dist/scripts/zonosBase.js +1 -1
  115. package/dist/types/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.d.ts +9 -0
  116. package/dist/types/components/store/translationStore/strings.arabic.d.ts +3 -0
  117. package/dist/types/components/store/translationStore/strings.base.d.ts +3 -0
  118. package/dist/types/components/store/translationStore/strings.chinese.d.ts +3 -0
  119. package/dist/types/components/store/translationStore/strings.danish.d.ts +3 -0
  120. package/dist/types/components/store/translationStore/strings.dutch.d.ts +3 -0
  121. package/dist/types/components/store/translationStore/strings.french.d.ts +3 -0
  122. package/dist/types/components/store/translationStore/strings.german.d.ts +3 -0
  123. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +3 -0
  124. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +3 -0
  125. package/dist/types/components/store/translationStore/strings.italian.d.ts +3 -0
  126. package/dist/types/components/store/translationStore/strings.japanese.d.ts +3 -0
  127. package/dist/types/components/store/translationStore/strings.korean.d.ts +3 -0
  128. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +3 -0
  129. package/dist/types/components/store/translationStore/strings.polish.d.ts +3 -0
  130. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +3 -0
  131. package/dist/types/components/store/translationStore/strings.russian.d.ts +3 -0
  132. package/dist/types/components/store/translationStore/strings.spanish.d.ts +3 -0
  133. package/dist/types/components/store/translationStore/strings.swedish.d.ts +3 -0
  134. package/dist/types/components/store/translationStore/strings.turkish.d.ts +3 -0
  135. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +3 -0
  136. package/dist/types/components/stripe/zonos-address/zonos-address.d.ts +7 -0
  137. package/dist/types/components/utils/api/getLocaleMessages.d.ts +1 -1
  138. package/dist/types/components/utils/containsNonLatinChars.d.ts +16 -0
  139. package/dist/types/components.d.ts +19 -0
  140. package/dist/types/types/checkout/CheckoutConfig.d.ts +5 -0
  141. package/dist/types/types/generated/graphql.customer.types.d.ts +53 -0
  142. package/dist/types/types/generated/graphql.customer.types.ts +71 -0
  143. package/dist/types/types/generated/graphql.frontend.types.d.ts +20 -1
  144. package/dist/types/types/generated/graphql.frontend.types.ts +23 -1
  145. package/dist/zonos-elements/p-039803aa.system.js +1 -0
  146. package/dist/zonos-elements/{p-0c91720b.entry.js → p-04acf5ef.entry.js} +1 -1
  147. package/dist/zonos-elements/p-066c5893.system.js +1 -1
  148. package/dist/zonos-elements/{p-14c3ef38.entry.js → p-0ed00121.entry.js} +1 -1
  149. package/dist/zonos-elements/{p-143dc0d9.system.entry.js → p-121c551d.system.entry.js} +1 -1
  150. package/dist/zonos-elements/{p-f6eaef7b.system.entry.js → p-166ec0c2.system.entry.js} +1 -1
  151. package/dist/zonos-elements/{p-1e0dd491.entry.js → p-1691b167.entry.js} +1 -1
  152. package/dist/zonos-elements/{p-07966463.entry.js → p-25de098d.entry.js} +1 -1
  153. package/dist/zonos-elements/{p-c2e58ee1.system.entry.js → p-2eb62b45.system.entry.js} +1 -1
  154. package/dist/zonos-elements/{p-3a1e685f.entry.js → p-32f43296.entry.js} +1 -1
  155. package/dist/zonos-elements/{p-14d27ce1.system.entry.js → p-35e878eb.system.entry.js} +1 -1
  156. package/dist/zonos-elements/p-373e579c.entry.js +1 -0
  157. package/dist/zonos-elements/{p-354603b3.system.entry.js → p-3a406969.system.entry.js} +1 -1
  158. package/dist/zonos-elements/p-3d4fc5aa.js +1 -0
  159. package/dist/zonos-elements/{p-328b7f6f.system.entry.js → p-50460bf4.system.entry.js} +1 -1
  160. package/dist/zonos-elements/{p-a3cc0f84.entry.js → p-55cbb4cd.entry.js} +1 -1
  161. package/dist/zonos-elements/{p-745cd869.system.entry.js → p-56318a1f.system.entry.js} +1 -1
  162. package/dist/zonos-elements/{p-f7c36fcc.entry.js → p-58a25a6a.entry.js} +1 -1
  163. package/dist/zonos-elements/{p-389599d3.system.entry.js → p-5d73cde0.system.entry.js} +1 -1
  164. package/dist/zonos-elements/p-6cd190f4.js +1 -0
  165. package/dist/zonos-elements/{p-857cfe35.entry.js → p-6d2ba24a.entry.js} +1 -1
  166. package/dist/zonos-elements/p-6dc7222d.js +1 -0
  167. package/dist/zonos-elements/{p-ac0a7b8f.entry.js → p-701d0fef.entry.js} +1 -1
  168. package/dist/zonos-elements/{p-49f6a985.system.js → p-75490d7c.system.js} +1 -1
  169. package/dist/zonos-elements/{p-165d469e.system.entry.js → p-7736198d.system.entry.js} +1 -1
  170. package/dist/zonos-elements/{p-69e2c59e.entry.js → p-780ab968.entry.js} +1 -1
  171. package/dist/zonos-elements/p-7fded506.entry.js +1 -0
  172. package/dist/zonos-elements/{p-1119dddf.system.entry.js → p-824882ce.system.entry.js} +1 -1
  173. package/dist/zonos-elements/p-86fe18ea.system.entry.js +1 -0
  174. package/dist/zonos-elements/{p-91797d4e.system.js → p-95dee6f4.system.js} +1 -1
  175. package/dist/zonos-elements/{p-279d1c5f.entry.js → p-96e2cde7.entry.js} +1 -1
  176. package/dist/zonos-elements/p-9a9902ca.entry.js +1 -0
  177. package/dist/zonos-elements/{p-7f4f45b3.entry.js → p-9a9dc265.entry.js} +1 -1
  178. package/dist/zonos-elements/p-9cdc6b5f.js +1 -0
  179. package/dist/zonos-elements/{p-61e5cf29.system.entry.js → p-af946fb3.system.entry.js} +1 -1
  180. package/dist/zonos-elements/{p-b4725505.system.js → p-c476a347.system.js} +1 -1
  181. package/dist/zonos-elements/{p-78ba2928.system.js → p-c6eaecb6.system.js} +1 -1
  182. package/dist/zonos-elements/p-d1934261.system.entry.js +1 -0
  183. package/dist/zonos-elements/{p-17e87be1.entry.js → p-d427adf2.entry.js} +1 -1
  184. package/dist/zonos-elements/{p-5c176b23.system.entry.js → p-d93d74c1.system.entry.js} +1 -1
  185. package/dist/zonos-elements/{p-9e6b489d.system.entry.js → p-d9ba11cf.system.entry.js} +1 -1
  186. package/dist/zonos-elements/{p-dd9e8589.entry.js → p-e043e830.entry.js} +1 -1
  187. package/dist/zonos-elements/{p-7c45ce37.system.entry.js → p-e28d648c.system.entry.js} +1 -1
  188. package/dist/zonos-elements/{p-95e0fc06.js → p-e71fbec9.js} +1 -1
  189. package/dist/zonos-elements/{p-799d8a17.system.entry.js → p-e76069cc.system.entry.js} +1 -1
  190. package/dist/zonos-elements/{p-4fb77a38.system.entry.js → p-faa0ab72.system.entry.js} +1 -1
  191. package/dist/zonos-elements/{p-5f4ba44c.entry.js → p-fc0a051b.entry.js} +1 -1
  192. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  193. package/package.json +1 -1
  194. package/dist/esm-es5/cart-e261efc1.js +0 -1
  195. package/dist/esm-es5/submitGtag-dfc6f1dc.js +0 -1
  196. package/dist/zonos-elements/p-0c0aa552.js +0 -1
  197. package/dist/zonos-elements/p-3b23e462.entry.js +0 -1
  198. package/dist/zonos-elements/p-5496951a.system.js +0 -1
  199. package/dist/zonos-elements/p-5d9a000a.system.entry.js +0 -1
  200. package/dist/zonos-elements/p-79b24786.system.entry.js +0 -1
  201. package/dist/zonos-elements/p-7b87b82f.js +0 -1
  202. package/dist/zonos-elements/p-9f4e02a1.entry.js +0 -1
  203. package/dist/zonos-elements/p-c060d475.js +0 -1
  204. package/dist/zonos-elements/p-da767f8b.js +0 -1
  205. package/dist/zonos-elements/p-f11a3d9e.entry.js +0 -1
@@ -1,10 +1,10 @@
1
1
  import { r as registerInstance, a as getAssetPath, h, H as Host, F as Fragment, c as createEvent, d as getElement } from './index-b5be4dc3.js';
2
- import { f as cartStore, t as translate, u as handleFetch, q as stripeStoreReset, j as stripeStore, D as stripeStoreRetrievePayment, l as localizationStore, E as cartStoreUpdateSelectedShippingOption, F as cartStoreGetShippingTransitInfo } from './cart-e261efc1.js';
3
- import { z as zonosStore, d as zonosStoreFontFamily } from './zonosStore-00bce01b.js';
4
- import { t as trackConversionEvent, s as sendErrorLog, a as submitGtag } from './submitGtag-dfc6f1dc.js';
5
- import { g as getBorderRadius } from './getBorderRadius-19787feb.js';
2
+ import { f as cartStore, t as translate, u as handleFetch, q as stripeStoreReset, j as stripeStore, D as stripeStoreRetrievePayment, l as localizationStore, E as cartStoreUpdateSelectedShippingOption, F as cartStoreGetShippingTransitInfo } from './cart-f70b9be6.js';
3
+ import { z as zonosStore, d as zonosStoreFontFamily } from './zonosStore-807f931f.js';
4
+ import { t as trackConversionEvent, s as sendErrorLog, a as submitGtag } from './submitGtag-afeca6f9.js';
5
+ import { g as getBorderRadius } from './getBorderRadius-0d133844.js';
6
6
  import { c as classes } from './classes-0d95c529.js';
7
- import { i as isDarkColor } from './isDarkColor-2344e7a5.js';
7
+ import { i as isDarkColor } from './isDarkColor-8eeda28e.js';
8
8
  import { l as languages } from './ILanguage-97790bee.js';
9
9
  import { i as isCheckoutMobile } from './isCheckoutMobile-8846dccb.js';
10
10
 
@@ -193,8 +193,8 @@ const ZonosCheckoutFinish = class {
193
193
  });
194
194
  document.dispatchEvent(successEvent);
195
195
  }
196
- // Attempt to pull the order details from the graph every second on 5 attempts
197
- if (this.notificationType === 'success') {
196
+ // Attempt to pull the order details from the graph every second on 5 attempts. Only pull if checkoutSessionId is available
197
+ if (this.notificationType === 'success' && cartStore.checkoutSessionId) {
198
198
  // wait this to finish before resetting store and checkout session id
199
199
  await this.getPullOrder();
200
200
  }
@@ -239,7 +239,7 @@ const ZonosCheckoutFinish = class {
239
239
  // const totalItems = this.order?.items?.reduce((acc, item) => {
240
240
  // return acc + item.quantity;
241
241
  // }, 0);
242
- return (h(Host, { key: 'fe08bfd0c0b60f4dce1aa9a6f3ba273dccd70a92', class: "zonos--checkout-finish zonos--elements", style: {
242
+ return (h(Host, { key: 'd3e8a30ddfffe0cee18ff29edf839775f7a9d8ec', class: "zonos--checkout-finish zonos--elements", style: {
243
243
  '--border-radius': getBorderRadius(this.borderRadius),
244
244
  } }, this.isLoading && (h("div", { class: "loading-wrapper" }, h("zonos-spinner", null))), !this.isLoading && (h(Fragment, null, h("div", { class: "zonos--group" }, this.notificationType === 'success' ? (h("zonos-icon", { "aria-label": "Order success", content: SuccessIcon, iconColor: 'blue-800', size: 50 })) : (h("zonos-icon", { "aria-label": "Order failed", content: RemoveIcon$1, iconColor: 'red-800', size: 50 })), h("zonos-text", { class: "zonos--title", type: "semiBoldSubheader" }, this.notificationTitle), h("zonos-text", null, this.notificationMessages.map(message => (h(Fragment, null, message, h("br", null))))), h("zonos-button", { onClick: () => this.closeClickHandler(), size: "md", variant: "primary" }, translate('Keep shopping')))))));
245
245
  }
@@ -344,6 +344,17 @@ const ZonosCustomerInfo = class {
344
344
  * handler for continue button click
345
345
  */
346
346
  this.continueClickHandler = () => {
347
+ if (this.hasInvalidBillingCharacters || this.hasInvalidShippingCharacters) {
348
+ // if the address contains invalid characters, scroll to the nearest zonos-banner
349
+ const banner = this.el.querySelector('zonos-address zonos-banner');
350
+ if (banner) {
351
+ banner.scrollIntoView({
352
+ behavior: 'smooth',
353
+ block: 'center',
354
+ });
355
+ }
356
+ return;
357
+ }
347
358
  this.continueClicked.emit();
348
359
  };
349
360
  this.continueLoading = false;
@@ -351,6 +362,8 @@ const ZonosCustomerInfo = class {
351
362
  this.submitBtnColor = undefined;
352
363
  this.defaultAddress = null;
353
364
  this.disabled = true;
365
+ this.hasInvalidShippingCharacters = false;
366
+ this.hasInvalidBillingCharacters = false;
354
367
  }
355
368
  watchFormComplete() {
356
369
  if (!this.disabled) {
@@ -360,26 +373,28 @@ const ZonosCustomerInfo = class {
360
373
  }
361
374
  }
362
375
  render() {
363
- var _a, _b, _c, _d;
364
376
  if (!stripeStore.stripeElements) {
365
377
  return null;
366
378
  }
379
+ const stripeShippingAddressEventData = stripeStore.stripeAddressEventData;
380
+ const stripeBillingAddressEventData = stripeStore.stripeBillingAddressEventData;
381
+ const stripeLinkEventData = stripeStore.stripeLinkEventData;
367
382
  // if the shipping is different from billing, we need to make sure the billing address is valid and disable the button if it's not
368
383
  const isValidBilling = stripeStore.stripeShippingSameAsBilling
369
- ? !!((_a = stripeStore.stripeAddressEventData) === null || _a === void 0 ? void 0 : _a.complete)
370
- : !!((_b = stripeStore.stripeBillingAddressEventData) === null || _b === void 0 ? void 0 : _b.complete);
384
+ ? !!(stripeShippingAddressEventData === null || stripeShippingAddressEventData === void 0 ? void 0 : stripeShippingAddressEventData.complete)
385
+ : !!(stripeBillingAddressEventData === null || stripeBillingAddressEventData === void 0 ? void 0 : stripeBillingAddressEventData.complete);
386
+ const isValidShipping = !!(stripeShippingAddressEventData === null || stripeShippingAddressEventData === void 0 ? void 0 : stripeShippingAddressEventData.complete);
387
+ const isValidLink = !!(stripeLinkEventData === null || stripeLinkEventData === void 0 ? void 0 : stripeLinkEventData.complete);
371
388
  // make sure data is valid
372
- this.disabled =
373
- !isValidBilling ||
374
- !((_c = stripeStore.stripeAddressEventData) === null || _c === void 0 ? void 0 : _c.complete) ||
375
- !((_d = stripeStore.stripeLinkEventData) === null || _d === void 0 ? void 0 : _d.complete);
389
+ this.disabled = !isValidBilling || !isValidShipping || !isValidLink;
376
390
  const showBilling = !stripeStore.stripeShippingSameAsBilling;
377
- return (h(Host, { class: "zonos--customer-info zonos--elements" }, h("div", { class: "zonos--group" }, h("zonos-text", { class: "zonos--title", type: "semiBoldSubheader" }, translate('Customer information')), h("zonos-link-authentication", { titleText: translate('Contact') }), h("zonos-address", { defaultAddress: this.defaultAddress, titleText: translate('Address'), type: "shipping" }), h("zonos-checkbox", { isChecked: stripeStore.stripeShippingSameAsBilling, label: translate('Shipping address same as billing'), onCheckboxSelected: e => {
391
+ return (h(Host, { class: "zonos--customer-info zonos--elements" }, h("div", { class: "zonos--group" }, h("zonos-text", { class: "zonos--title", type: "semiBoldSubheader" }, translate('Customer information')), h("zonos-link-authentication", { titleText: translate('Contact') }), h("zonos-address", { defaultAddress: this.defaultAddress, onInvalidCharacters: e => (this.hasInvalidShippingCharacters = e.detail), titleText: translate('Address'), type: "shipping" }), h("zonos-checkbox", { isChecked: stripeStore.stripeShippingSameAsBilling, label: translate('Shipping address same as billing'), onCheckboxSelected: e => {
378
392
  stripeStore.stripeShippingSameAsBilling = e.detail;
379
- } }), h("zonos-collapse", { collapsed: !showBilling }, h("zonos-address", { defaultAddress: this.defaultAddress, titleText: translate('Billing address'), type: "billing" })), h("div", { class: "zonos--group-btn" }, h("zonos-button", { backgroundColor: this.submitBtnColor, isDisabled: this.disabled, loading: this.continueLoading, onClick: () => this.continueClickHandler(), size: "lg",
393
+ } }), h("zonos-collapse", { collapsed: !showBilling }, h("zonos-address", { defaultAddress: this.defaultAddress, onInvalidCharacters: e => (this.hasInvalidBillingCharacters = e.detail), titleText: translate('Billing address'), type: "billing" })), h("div", { class: "zonos--group-btn" }, h("zonos-button", { backgroundColor: this.submitBtnColor, isDisabled: this.disabled, loading: this.continueLoading, onClick: () => this.continueClickHandler(), size: "lg",
380
394
  // use primary type when on mobile mode
381
395
  variant: this.submitBtnType }, translate('Continue to shipping'))))));
382
396
  }
397
+ get el() { return getElement(this); }
383
398
  static get watchers() { return {
384
399
  "disabled": ["watchFormComplete"]
385
400
  }; }
@@ -1,11 +1,11 @@
1
1
  import { r as registerInstance, h, F as Fragment, H as Host } from './index-b5be4dc3.js';
2
- import { l as localizationStore, a as log, s as stripeStoreGetDomesticShippingSession, b as localizationStoreUpdateSelectedCountryCode, c as stripeStoreCleanupDomesticShippingSession, d as logError, e as stripeStoreSaveDomesticShippingSession, i as initStripeElements, f as cartStore, g as cartStoreUpdateItems, h as cartStoreReset, j as stripeStore, k as stripeStoreInitCheckoutSession, m as cartStoreUpdateToErrorState, n as stripeStorePrefetchLandedCost, o as cartStoreNextStep, p as stripeStoreConfirmPayment, q as stripeStoreReset, r as cartStorePreviousStep, t as translate } from './cart-e261efc1.js';
3
- import { z as zonosStore, m as mergeConfig } from './zonosStore-00bce01b.js';
4
- import { s as sendErrorLog, a as submitGtag, t as trackConversionEvent } from './submitGtag-dfc6f1dc.js';
2
+ import { l as localizationStore, a as log, s as stripeStoreGetDomesticShippingSession, b as localizationStoreUpdateSelectedCountryCode, c as stripeStoreCleanupDomesticShippingSession, d as logError, e as stripeStoreSaveDomesticShippingSession, i as initStripeElements, f as cartStore, g as cartStoreUpdateItems, h as cartStoreReset, j as stripeStore, k as stripeStoreInitCheckoutSession, m as cartStoreUpdateToErrorState, n as stripeStorePrefetchLandedCost, o as cartStoreNextStep, p as stripeStoreConfirmPayment, q as stripeStoreReset, r as cartStorePreviousStep, t as translate } from './cart-f70b9be6.js';
3
+ import { z as zonosStore, m as mergeConfig } from './zonosStore-807f931f.js';
4
+ import { s as sendErrorLog, a as submitGtag, t as trackConversionEvent } from './submitGtag-afeca6f9.js';
5
5
  import { i as isCheckoutMobile } from './isCheckoutMobile-8846dccb.js';
6
6
  import { c as classes } from './classes-0d95c529.js';
7
- import { g as getBorderRadius } from './getBorderRadius-19787feb.js';
8
- import { i as isDarkColor } from './isDarkColor-2344e7a5.js';
7
+ import { g as getBorderRadius } from './getBorderRadius-0d133844.js';
8
+ import { i as isDarkColor } from './isDarkColor-8eeda28e.js';
9
9
 
10
10
  const isShippableCountry = (showLog = true) => {
11
11
  if (!localizationStore.localizationLoaded) {
@@ -1,8 +1,8 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host } from './index-b5be4dc3.js';
2
- import { u as handleFetch, d as logError, v as isValidSelector, a as log, j as stripeStore, w as initLocalizationStore, b as localizationStoreUpdateSelectedCountryCode } from './cart-e261efc1.js';
3
- import { z as zonosStore, b as zonosStoreInitSetting, d as zonosStoreFontFamily } from './zonosStore-00bce01b.js';
4
- import './isDarkColor-2344e7a5.js';
5
- import './getBorderRadius-19787feb.js';
2
+ import { u as handleFetch, d as logError, v as isValidSelector, a as log, j as stripeStore, w as initLocalizationStore, b as localizationStoreUpdateSelectedCountryCode } from './cart-f70b9be6.js';
3
+ import { z as zonosStore, b as zonosStoreInitSetting, d as zonosStoreFontFamily } from './zonosStore-807f931f.js';
4
+ import './isDarkColor-8eeda28e.js';
5
+ import './getBorderRadius-0d133844.js';
6
6
 
7
7
  const getZonosSettings = async () => {
8
8
  const url = `${"https://v1.route.js.zonos.com"}/api/zonos-elements/zonos-settings`;
@@ -1,9 +1,9 @@
1
1
  import { r as registerInstance, h, H as Host, d as getElement } from './index-b5be4dc3.js';
2
- import { l as localizationStore } from './cart-e261efc1.js';
3
- import { d as zonosStoreFontFamily } from './zonosStore-00bce01b.js';
2
+ import { l as localizationStore } from './cart-f70b9be6.js';
3
+ import { d as zonosStoreFontFamily } from './zonosStore-807f931f.js';
4
4
  import { c as classes } from './classes-0d95c529.js';
5
- import './isDarkColor-2344e7a5.js';
6
- import './getBorderRadius-19787feb.js';
5
+ import './isDarkColor-8eeda28e.js';
6
+ import './getBorderRadius-0d133844.js';
7
7
 
8
8
  const zonosCountryFlagCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-inline-flexbox;display:inline-flex}:host .flag-container{position:relative;overflow:hidden;width:100%;height:100%}:host .flag-icon{position:absolute;top:0;left:0;width:100%;height:100%;background-position:center;background-repeat:no-repeat;background-size:cover}";
9
9
  const ZonosCountryFlagStyle0 = zonosCountryFlagCss;
@@ -1,10 +1,10 @@
1
1
  import { r as registerInstance, h, H as Host, d as getElement } from './index-b5be4dc3.js';
2
- import { b as localizationStoreUpdateSelectedCountryCode, l as localizationStore } from './cart-e261efc1.js';
3
- import { d as zonosStoreFontFamily } from './zonosStore-00bce01b.js';
2
+ import { b as localizationStoreUpdateSelectedCountryCode, l as localizationStore } from './cart-f70b9be6.js';
3
+ import { d as zonosStoreFontFamily } from './zonosStore-807f931f.js';
4
4
  import { f as formatStringWithLinks } from './formatStringWithLinks-9e819405.js';
5
- import { i as isDarkColor } from './isDarkColor-2344e7a5.js';
5
+ import { i as isDarkColor } from './isDarkColor-8eeda28e.js';
6
6
  import { l as languages } from './ILanguage-97790bee.js';
7
- import './getBorderRadius-19787feb.js';
7
+ import './getBorderRadius-0d133844.js';
8
8
 
9
9
  /**
10
10
  * Fuse.js v6.6.2 - Lightweight fuzzy-search (http://fusejs.io)
@@ -16,5 +16,5 @@ const patchBrowser = () => {
16
16
 
17
17
  patchBrowser().then(async (options) => {
18
18
  await globalScripts();
19
- return bootstrapLazy([["zonos-checkout",[[2,"zonos-checkout",{"appearanceSettingsOverride":[16],"preview":[4],"mobile":[4],"defaultAddress":[16],"forceDialogOpen":[4,"force-dialog-open"],"open":[32],"stripe":[32],"submitLoading":[32],"paymentError":[32],"collapseReviewMobile":[32],"isAttachError":[32],"isMobile":[32],"zonosReviewRef":[32],"storybookPaymentStatusOverride":[32],"domesticRedirectedBtnSelector":[32],"closeDialogHandler":[64],"init":[64],"setToFinishStep":[64]},[[16,"zonos--init-cart-info","initCartInfoHandler"],[9,"resize","handleWindowResize"]],{"appearanceSettingsOverride":["appearanceSettingsOverrideChanged"],"mobile":["handleMobileChange"]}]]],["zonos-hello",[[1,"zonos-hello",{"mobileLocationOverride":[1,"mobile-location-override"],"animateFromLeftOverride":[4,"animate-from-left-override"],"appearanceSettingsOverride":[16],"showPeekMessage":[32],"zonosStoreHelloSettings":[32],"showDialog":[32],"peekMessage":[32],"initialUrl":[32],"allRestrictedItems":[32],"allFoundProducts":[32],"productsOnPage":[32],"displayCurrency":[64],"convertAndFormat":[64],"convert":[64],"format":[64],"openHelloDialog":[64]},[[9,"resize","handleResize"]]]]],["zonos-controller",[[1,"zonos-controller",{"config":[16],"zonosApiKey":[1,"zonos-api-key"],"initCheckoutElement":[64],"setupGoogleFont":[64],"showNotification":[64],"overrideConfig":[64],"overrideCountry":[64],"getAppearanceSetting":[64],"updateOrganizationName":[64]}]]],["zonos-component",[[1,"zonos-component",{"first":[1],"middle":[1],"last":[1]}]]],["zonos-link",[[1,"zonos-link",{"href":[1],"rel":[1],"target":[1],"linkTitle":[1,"link-title"]}]]],["zonos-logo",[[1,"zonos-logo",{"theme":[1],"width":[1]}]]],["zonos-text",[[1,"zonos-text",{"textColor":[1,"text-color"],"size":[1],"type":[1],"weight":[2],"content":[1],"ready":[32]}]]],["zonos-hello-dialog",[[1,"zonos-hello-dialog",{"isOpen":[4,"is-open"],"setIsOpen":[16],"mobileLocationOverride":[1,"mobile-location-override"],"animateFromLeftOverride":[4,"animate-from-left-override"],"appearanceSettings":[16],"restrictedItems":[16],"welcomeMessage":[32],"showCountrySelect":[32],"showLanguageSelect":[32]},[[4,"click","globalClickHandler"]],{"isOpen":["isOpenHandler"]}]]],["zonos-notification",[[1,"zonos-notification",{"notificationArray":[32],"showNotification":[64]}]]],["zonos-payment",[[2,"zonos-payment",{"titleText":[1,"title-text"],"stripe":[32],"stripeElements":[32]},null,{"stripeElements":["watchInitStripe"],"stripe":["watchInitStripe"]}]]],["zonos-shipping-rich-radio",[[1,"zonos-shipping-rich-radio",{"items":[16],"borderColor":[1,"border-color"],"borderStyle":[1,"border-style"],"theme":[1],"selectedItem":[32]}]]],["zonos-badge_2",[[1,"zonos-badge",{"bold":[4],"badgeColor":[1,"badge-color"],"icon":[16],"iconRight":[4,"icon-right"],"size":[1],"rounded":[4]}],[1,"zonos-tooltip",{"label":[1],"subtitle":[1],"showTooltip":[32]}]]],["zonos-country-flag",[[1,"zonos-country-flag",{"countryCode":[1,"country-code"],"size":[2]}]]],["zonos-banner",[[1,"zonos-banner",{"bannerTitle":[1,"banner-title"],"intent":[1],"hasContent":[32]}]]],["zonos-button_3",[[1,"zonos-button",{"buttonColor":[1,"button-color"],"backgroundColor":[1,"background-color"],"borderStyle":[1,"border-style"],"isDisabled":[4,"is-disabled"],"icon":[16],"iconRight":[4,"icon-right"],"size":[1],"variant":[1],"noBackground":[4,"no-background"],"noPaddingLeft":[4,"no-padding-left"],"noPaddingRight":[4,"no-padding-right"],"loading":[4],"theme":[1],"hasIcon":[32],"hasContent":[32]},[[2,"click","clickHandler"]],{"icon":["iconChangeHandler"]}],[1,"zonos-icon",{"autoHeight":[4,"auto-height"],"iconColor":[1,"icon-color"],"content":[1],"size":[2]}],[1,"zonos-spinner",{"size":[2],"spinnerColor":[1,"spinner-color"]}]]],["zonos-select-dialog-header_2",[[1,"zonos-select-dialog-header",{"handleOnClose":[16],"label":[1]}],[1,"zonos-v-stack",{"spacing":[2]}]]],["zonos-card_2",[[1,"zonos-language-select",{"handleOnClose":[16]}],[1,"zonos-card",{"actions":[16],"footerActions":[16],"footerContent":[16],"footerHeight":[2,"footer-height"],"label":[16],"spacing":[1]}]]],["zonos-country-select_3",[[1,"zonos-country-select",{"handleOnClose":[16],"inputValue":[32]}],[1,"zonos-hello-dialog-footer",{"appearanceSettings":[16],"setShowCountrySelect":[16],"setShowLanguageSelect":[16]}],[1,"zonos-custom-message",{"icon":[1],"message":[1]}]]],["zonos-address_4",[[2,"zonos-address",{"type":[1],"titleText":[1,"title-text"],"defaultAddress":[16],"stripe":[32],"isDirtyAddress":[32]},null,{"stripe":["watchInitStripe"]}],[1,"zonos-checkbox",{"backgroundColor":[1,"background-color"],"label":[1],"isChecked":[4,"is-checked"],"isDisabled":[4,"is-disabled"],"size":[2],"fontSize":[1,"font-size"],"borderStyle":[1,"border-style"]}],[2,"zonos-link-authentication",{"titleText":[1,"title-text"],"stripe":[32]},null,{"stripe":["watchInitStripe"]}],[1,"zonos-collapse",{"collapsed":[4],"collapseSize":[2,"collapse-size"],"height":[32],"iframe":[32]}]]],["zonos-cart-items_9",[[1,"zonos-checkout-footer",{"showDialog":[32]},[[4,"click","handleGlobalClick"]]],[2,"zonos-customer-info",{"continueLoading":[4,"continue-loading"],"submitBtnType":[1,"submit-btn-type"],"submitBtnColor":[1,"submit-btn-color"],"defaultAddress":[16],"disabled":[32]},null,{"disabled":["watchFormComplete"]}],[2,"zonos-checkout-payment",{"paymentError":[4,"payment-error"],"submitBtnType":[1,"submit-btn-type"],"continueLoading":[4,"continue-loading"],"submitBtnColor":[1,"submit-btn-color"],"disabled":[32]},null,{"disabled":["watchFormComplete"]}],[2,"zonos-shipping",{"continueLoading":[4,"continue-loading"],"submitBtnColor":[1,"submit-btn-color"],"submitBtnType":[1,"submit-btn-type"],"selectedShippingMethod":[32],"disabled":[32]},null,{"disabled":["watchFormComplete"]}],[1,"zonos-cart-subtotal"],[1,"zonos-checkout-finish",{"borderRadius":[1,"border-radius"],"storybookForceStatus":[1,"storybook-force-status"],"overrideNotification":[16],"isLoading":[32],"notificationType":[32],"notificationTitle":[32],"notificationMessages":[32],"order":[32]}],[1,"zonos-dialog",{"open":[4],"headerText":[1,"header-text"],"width":[1],"height":[1],"noHeader":[4,"no-header"],"noBodyPadding":[4,"no-body-padding"],"noBorder":[4,"no-border"],"footerRightAction":[16],"borderStyle":[1,"border-style"],"noCloseButton":[4,"no-close-button"],"noClickOutside":[4,"no-click-outside"],"mobile":[4],"isLoading":[4,"is-loading"],"isMobile":[32]},[[9,"resize","handleWindowResize"]]],[1,"zonos-review",{"mobile":[4],"collapsed":[4],"isMobile":[32]},[[9,"resize","handleWindowResize"]]],[1,"zonos-cart-items",{"errorImages":[32]}]]]], options);
19
+ return bootstrapLazy([["zonos-checkout",[[2,"zonos-checkout",{"appearanceSettingsOverride":[16],"preview":[4],"mobile":[4],"defaultAddress":[16],"forceDialogOpen":[4,"force-dialog-open"],"open":[32],"stripe":[32],"submitLoading":[32],"paymentError":[32],"collapseReviewMobile":[32],"isAttachError":[32],"isMobile":[32],"zonosReviewRef":[32],"storybookPaymentStatusOverride":[32],"domesticRedirectedBtnSelector":[32],"closeDialogHandler":[64],"init":[64],"setToFinishStep":[64]},[[16,"zonos--init-cart-info","initCartInfoHandler"],[9,"resize","handleWindowResize"]],{"appearanceSettingsOverride":["appearanceSettingsOverrideChanged"],"mobile":["handleMobileChange"]}]]],["zonos-hello",[[1,"zonos-hello",{"mobileLocationOverride":[1,"mobile-location-override"],"animateFromLeftOverride":[4,"animate-from-left-override"],"appearanceSettingsOverride":[16],"showPeekMessage":[32],"zonosStoreHelloSettings":[32],"showDialog":[32],"peekMessage":[32],"initialUrl":[32],"allRestrictedItems":[32],"allFoundProducts":[32],"productsOnPage":[32],"displayCurrency":[64],"convertAndFormat":[64],"convert":[64],"format":[64],"openHelloDialog":[64]},[[9,"resize","handleResize"]]]]],["zonos-controller",[[1,"zonos-controller",{"config":[16],"zonosApiKey":[1,"zonos-api-key"],"initCheckoutElement":[64],"setupGoogleFont":[64],"showNotification":[64],"overrideConfig":[64],"overrideCountry":[64],"getAppearanceSetting":[64],"updateOrganizationName":[64]}]]],["zonos-component",[[1,"zonos-component",{"first":[1],"middle":[1],"last":[1]}]]],["zonos-link",[[1,"zonos-link",{"href":[1],"rel":[1],"target":[1],"linkTitle":[1,"link-title"]}]]],["zonos-logo",[[1,"zonos-logo",{"theme":[1],"width":[1]}]]],["zonos-text",[[1,"zonos-text",{"textColor":[1,"text-color"],"size":[1],"type":[1],"weight":[2],"content":[1],"ready":[32]}]]],["zonos-hello-dialog",[[1,"zonos-hello-dialog",{"isOpen":[4,"is-open"],"setIsOpen":[16],"mobileLocationOverride":[1,"mobile-location-override"],"animateFromLeftOverride":[4,"animate-from-left-override"],"appearanceSettings":[16],"restrictedItems":[16],"welcomeMessage":[32],"showCountrySelect":[32],"showLanguageSelect":[32]},[[4,"click","globalClickHandler"]],{"isOpen":["isOpenHandler"]}]]],["zonos-notification",[[1,"zonos-notification",{"notificationArray":[32],"showNotification":[64]}]]],["zonos-payment",[[2,"zonos-payment",{"titleText":[1,"title-text"],"stripe":[32],"stripeElements":[32]},null,{"stripeElements":["watchInitStripe"],"stripe":["watchInitStripe"]}]]],["zonos-shipping-rich-radio",[[1,"zonos-shipping-rich-radio",{"items":[16],"borderColor":[1,"border-color"],"borderStyle":[1,"border-style"],"theme":[1],"selectedItem":[32]}]]],["zonos-badge_2",[[1,"zonos-badge",{"bold":[4],"badgeColor":[1,"badge-color"],"icon":[16],"iconRight":[4,"icon-right"],"size":[1],"rounded":[4]}],[1,"zonos-tooltip",{"label":[1],"subtitle":[1],"showTooltip":[32]}]]],["zonos-country-flag",[[1,"zonos-country-flag",{"countryCode":[1,"country-code"],"size":[2]}]]],["zonos-banner",[[1,"zonos-banner",{"bannerTitle":[1,"banner-title"],"intent":[1],"hasContent":[32]}]]],["zonos-button_3",[[1,"zonos-button",{"buttonColor":[1,"button-color"],"backgroundColor":[1,"background-color"],"borderStyle":[1,"border-style"],"isDisabled":[4,"is-disabled"],"icon":[16],"iconRight":[4,"icon-right"],"size":[1],"variant":[1],"noBackground":[4,"no-background"],"noPaddingLeft":[4,"no-padding-left"],"noPaddingRight":[4,"no-padding-right"],"loading":[4],"theme":[1],"hasIcon":[32],"hasContent":[32]},[[2,"click","clickHandler"]],{"icon":["iconChangeHandler"]}],[1,"zonos-icon",{"autoHeight":[4,"auto-height"],"iconColor":[1,"icon-color"],"content":[1],"size":[2]}],[1,"zonos-spinner",{"size":[2],"spinnerColor":[1,"spinner-color"]}]]],["zonos-select-dialog-header_2",[[1,"zonos-select-dialog-header",{"handleOnClose":[16],"label":[1]}],[1,"zonos-v-stack",{"spacing":[2]}]]],["zonos-card_2",[[1,"zonos-language-select",{"handleOnClose":[16]}],[1,"zonos-card",{"actions":[16],"footerActions":[16],"footerContent":[16],"footerHeight":[2,"footer-height"],"label":[16],"spacing":[1]}]]],["zonos-country-select_3",[[1,"zonos-country-select",{"handleOnClose":[16],"inputValue":[32]}],[1,"zonos-hello-dialog-footer",{"appearanceSettings":[16],"setShowCountrySelect":[16],"setShowLanguageSelect":[16]}],[1,"zonos-custom-message",{"icon":[1],"message":[1]}]]],["zonos-address_4",[[2,"zonos-address",{"type":[1],"titleText":[1,"title-text"],"defaultAddress":[16],"stripe":[32],"hasInvalidCharacters":[32],"isDirtyAddress":[32]},null,{"stripe":["watchInitStripe"]}],[1,"zonos-checkbox",{"backgroundColor":[1,"background-color"],"label":[1],"isChecked":[4,"is-checked"],"isDisabled":[4,"is-disabled"],"size":[2],"fontSize":[1,"font-size"],"borderStyle":[1,"border-style"]}],[2,"zonos-link-authentication",{"titleText":[1,"title-text"],"stripe":[32]},null,{"stripe":["watchInitStripe"]}],[1,"zonos-collapse",{"collapsed":[4],"collapseSize":[2,"collapse-size"],"height":[32],"iframe":[32]}]]],["zonos-cart-items_9",[[2,"zonos-customer-info",{"continueLoading":[4,"continue-loading"],"submitBtnType":[1,"submit-btn-type"],"submitBtnColor":[1,"submit-btn-color"],"defaultAddress":[16],"disabled":[32],"hasInvalidShippingCharacters":[32],"hasInvalidBillingCharacters":[32]},null,{"disabled":["watchFormComplete"]}],[1,"zonos-checkout-footer",{"showDialog":[32]},[[4,"click","handleGlobalClick"]]],[2,"zonos-checkout-payment",{"paymentError":[4,"payment-error"],"submitBtnType":[1,"submit-btn-type"],"continueLoading":[4,"continue-loading"],"submitBtnColor":[1,"submit-btn-color"],"disabled":[32]},null,{"disabled":["watchFormComplete"]}],[2,"zonos-shipping",{"continueLoading":[4,"continue-loading"],"submitBtnColor":[1,"submit-btn-color"],"submitBtnType":[1,"submit-btn-type"],"selectedShippingMethod":[32],"disabled":[32]},null,{"disabled":["watchFormComplete"]}],[1,"zonos-cart-subtotal"],[1,"zonos-checkout-finish",{"borderRadius":[1,"border-radius"],"storybookForceStatus":[1,"storybook-force-status"],"overrideNotification":[16],"isLoading":[32],"notificationType":[32],"notificationTitle":[32],"notificationMessages":[32],"order":[32]}],[1,"zonos-dialog",{"open":[4],"headerText":[1,"header-text"],"width":[1],"height":[1],"noHeader":[4,"no-header"],"noBodyPadding":[4,"no-body-padding"],"noBorder":[4,"no-border"],"footerRightAction":[16],"borderStyle":[1,"border-style"],"noCloseButton":[4,"no-close-button"],"noClickOutside":[4,"no-click-outside"],"mobile":[4],"isLoading":[4,"is-loading"],"isMobile":[32]},[[9,"resize","handleWindowResize"]]],[1,"zonos-review",{"mobile":[4],"collapsed":[4],"isMobile":[32]},[[9,"resize","handleWindowResize"]]],[1,"zonos-cart-items",{"errorImages":[32]}]]]], options);
20
20
  });
@@ -1,11 +1,11 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host } from './index-b5be4dc3.js';
2
- import { C as currencyFormat, l as localizationStore, t as translate } from './cart-e261efc1.js';
3
- import { z as zonosStore } from './zonosStore-00bce01b.js';
2
+ import { C as currencyFormat, l as localizationStore, t as translate } from './cart-f70b9be6.js';
3
+ import { z as zonosStore } from './zonosStore-807f931f.js';
4
4
  import { c as classes } from './classes-0d95c529.js';
5
5
  import { f as formatStringWithLinks } from './formatStringWithLinks-9e819405.js';
6
6
  import { g as getHasMoreSpaceOnRight } from './getHasMoreSpaceOnRight-70eb913a.js';
7
- import './isDarkColor-2344e7a5.js';
8
- import './getBorderRadius-19787feb.js';
7
+ import './isDarkColor-8eeda28e.js';
8
+ import './getBorderRadius-0d133844.js';
9
9
 
10
10
  const getHasMoreSpaceAbove = (ref) => {
11
11
  const componentRect = ref.getBoundingClientRect();
@@ -1,10 +1,10 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-b5be4dc3.js';
2
- import { _ as _root, e as _baseGetTag, i as isObjectLike_1, f as isObject_1, z as zonosStore, m as mergeConfig } from './zonosStore-00bce01b.js';
3
- import { u as handleFetch, d as logError, l as localizationStore, v as isValidSelector, t as translate, x as getZCountryUrlParam, y as setZCountryUrlParam, a as log, z as currencyDisplay, A as currencyConvertAndFormat, B as currencyConvert, C as currencyFormat } from './cart-e261efc1.js';
2
+ import { _ as _root, e as _baseGetTag, i as isObjectLike_1, f as isObject_1, z as zonosStore, m as mergeConfig } from './zonosStore-807f931f.js';
3
+ import { u as handleFetch, d as logError, l as localizationStore, v as isValidSelector, t as translate, x as getZCountryUrlParam, y as setZCountryUrlParam, a as log, z as currencyDisplay, A as currencyConvertAndFormat, B as currencyConvert, C as currencyFormat } from './cart-f70b9be6.js';
4
4
  import { c as classes } from './classes-0d95c529.js';
5
5
  import { g as getHasMoreSpaceOnRight } from './getHasMoreSpaceOnRight-70eb913a.js';
6
- import './isDarkColor-2344e7a5.js';
7
- import './getBorderRadius-19787feb.js';
6
+ import './isDarkColor-8eeda28e.js';
7
+ import './getBorderRadius-0d133844.js';
8
8
 
9
9
  var root = _root;
10
10
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, a as getAssetPath, H as Host } from './index-b5be4dc3.js';
2
- import { d as zonosStoreFontFamily } from './zonosStore-00bce01b.js';
2
+ import { d as zonosStoreFontFamily } from './zonosStore-807f931f.js';
3
3
  import { c as classes } from './classes-0d95c529.js';
4
4
 
5
5
  const zonosLogoCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-inline-flexbox;display:inline-flex}:host img{-webkit-filter:var(--filter-color);filter:var(--filter-color);width:var(--width)}";
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-b5be4dc3.js';
2
- import { d as zonosStoreFontFamily } from './zonosStore-00bce01b.js';
2
+ import { d as zonosStoreFontFamily } from './zonosStore-807f931f.js';
3
3
  import { c as classes } from './classes-0d95c529.js';
4
4
 
5
5
  const zonosNotificationCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}:host .zonos--notification-items{position:fixed;z-index:9999999;bottom:var(--amino-space-24);gap:var(--amino-space-8);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column}:host .zonos--notification-item{cursor:pointer;-webkit-transition:all 0.3s ease;transition:all 0.3s ease;padding:var(--amino-space-8);border-radius:var(--border-radius, var(--amino-radius-6));opacity:0;-ms-flex-negative:0.0001;flex-shrink:0.0001;-webkit-transform:translateY(100%);transform:translateY(100%)}:host .zonos--notification-item+:host .zonos--notification-item{margin-top:8px}:host .zonos--notification-item.show{opacity:1;-webkit-transform:translateY(0);transform:translateY(0);-ms-flex-positive:1000;flex-grow:1000}:host .zonos--notification-item.success{background-color:var(--amino-green-700)}:host .zonos--notification-item.error{background-color:var(--amino-red-700)}:host .zonos--notification-item.warning{background-color:var(--amino-orange-700)}";
@@ -1,8 +1,8 @@
1
1
  import { r as registerInstance, h, H as Host, d as getElement } from './index-b5be4dc3.js';
2
- import { j as stripeStore, d as logError } from './cart-e261efc1.js';
3
- import './zonosStore-00bce01b.js';
4
- import './isDarkColor-2344e7a5.js';
5
- import './getBorderRadius-19787feb.js';
2
+ import { j as stripeStore, d as logError } from './cart-f70b9be6.js';
3
+ import './zonosStore-807f931f.js';
4
+ import './isDarkColor-8eeda28e.js';
5
+ import './getBorderRadius-0d133844.js';
6
6
 
7
7
  const zonosPaymentCss = ".sc-zonos-payment-h{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-payment-h *.sc-zonos-payment{font-family:var(--font-family, Inter), Inter}.sc-zonos-payment-h img.sc-zonos-payment{max-width:100%}.sc-zonos-payment-h dl.sc-zonos-payment,.sc-zonos-payment-h dd.sc-zonos-payment,.sc-zonos-payment-h h1.sc-zonos-payment,.sc-zonos-payment-h h2.sc-zonos-payment,.sc-zonos-payment-h h3.sc-zonos-payment,.sc-zonos-payment-h h4.sc-zonos-payment,.sc-zonos-payment-h h5.sc-zonos-payment,.sc-zonos-payment-h h6.sc-zonos-payment,.sc-zonos-payment-h hr.sc-zonos-payment,.sc-zonos-payment-h figure.sc-zonos-payment,.sc-zonos-payment-h p.sc-zonos-payment,.sc-zonos-payment-h pre.sc-zonos-payment{margin:0}.sc-zonos-payment-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-payment-h .zonos--title.sc-zonos-payment{margin-bottom:var(--amino-space-16)}";
8
8
  const ZonosPaymentStyle0 = zonosPaymentCss;
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-b5be4dc3.js';
2
- import { d as zonosStoreFontFamily } from './zonosStore-00bce01b.js';
2
+ import { d as zonosStoreFontFamily } from './zonosStore-807f931f.js';
3
3
  import { c as classes } from './classes-0d95c529.js';
4
4
 
5
5
  const RemoveIcon = `<svg xmlns="https://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path fill="#C5C6CA" fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z" clip-rule="evenodd"/><path fill="#4D505A" fill-rule="evenodd" d="M8.293 8.293a1 1 0 0 1 1.414 0L12 10.586l2.293-2.293a1 1 0 1 1 1.414 1.414L13.414 12l2.293 2.293a1 1 0 0 1-1.414 1.414L12 13.414l-2.293 2.293a1 1 0 0 1-1.414-1.414L10.586 12 8.293 9.707a1 1 0 0 1 0-1.414Z" clip-rule="evenodd"/></svg>`;
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host } from './index-b5be4dc3.js';
2
- import { d as zonosStoreFontFamily, z as zonosStore } from './zonosStore-00bce01b.js';
2
+ import { d as zonosStoreFontFamily, z as zonosStore } from './zonosStore-807f931f.js';
3
3
  import { c as classes } from './classes-0d95c529.js';
4
- import { g as getBorderRadius } from './getBorderRadius-19787feb.js';
4
+ import { g as getBorderRadius } from './getBorderRadius-0d133844.js';
5
5
  import { i as isColorVariable } from './isColorVariable-91c33804.js';
6
6
 
7
7
  const zonosShippingRichRadioCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host input{margin:0;accent-color:var(--selected-border-color, var(--amino-blue-600))}:host .zonos--shipping-rich-radio-item{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;padding:var(--amino-space-16);-ms-flex-align:center;align-items:center;gap:var(--amino-space-16);cursor:pointer;border:1px solid var(--amino-gray-200)}:host .zonos--shipping-rich-radio-item:first-child{border-top-left-radius:var(--border-radius, var(--amino-radius-10));border-top-right-radius:var(--border-radius, var(--amino-radius-10))}:host .zonos--shipping-rich-radio-item:last-child{border-bottom-right-radius:var(--border-radius, var(--amino-radius-10));border-bottom-left-radius:var(--border-radius, var(--amino-radius-10))}:host .zonos--shipping-rich-radio-item:not(:last-child){border-bottom:none}:host .zonos--shipping-rich-radio-item.selected{outline:1px solid var(--selected-border-color, var(--amino-blue-600));outline-offset:-1px}:host .zonos--shipping-info{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex:1;flex:1}:host .zonos--shipping-detail{-ms-flex:1;flex:1}:host .zonos--sub-detail{display:-ms-inline-flexbox;display:inline-flex;gap:8px;-ms-flex-wrap:wrap;flex-wrap:wrap}";
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-b5be4dc3.js';
2
- import { d as zonosStoreFontFamily } from './zonosStore-00bce01b.js';
2
+ import { d as zonosStoreFontFamily } from './zonosStore-807f931f.js';
3
3
  import { c as classes } from './classes-0d95c529.js';
4
4
 
5
5
  const textOptions = {
@@ -2767,6 +2767,7 @@ const { reset, state: zonosStore } = createStore(() => ({
2767
2767
  zonosAttribution: 'DISABLED',
2768
2768
  },
2769
2769
  checkoutSettings: {
2770
+ allowedCharacterSets: 'ALL',
2770
2771
  analyticsProviders: [],
2771
2772
  orderNotifications: {
2772
2773
  abandonedCart: {