@odus/checkout 1.9.1 → 1.10.0

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 (70) hide show
  1. package/dist/checkout.es.js +288 -199
  2. package/dist/components/checkout/form/CardSection.d.ts +6 -25
  3. package/dist/components/checkout/form/CardSection.d.ts.map +1 -1
  4. package/dist/components/checkout/form/CardUnavailableNotice.d.ts +16 -0
  5. package/dist/components/checkout/form/CardUnavailableNotice.d.ts.map +1 -0
  6. package/dist/components/checkout/form/Form.d.ts +17 -3
  7. package/dist/components/checkout/form/Form.d.ts.map +1 -1
  8. package/dist/components/checkout/form/FormComponentManager.d.ts +7 -7
  9. package/dist/components/checkout/form/FormComponentManager.d.ts.map +1 -1
  10. package/dist/components/checkout/form/FormStateCoordinator.d.ts +2 -0
  11. package/dist/components/checkout/form/FormStateCoordinator.d.ts.map +1 -1
  12. package/dist/components/checkout/form/FormUIManager.d.ts.map +1 -1
  13. package/dist/core/api/CheckoutAPI.service.d.ts +5 -1
  14. package/dist/core/api/CheckoutAPI.service.d.ts.map +1 -1
  15. package/dist/elements/CardElement.d.ts +42 -5
  16. package/dist/elements/CardElement.d.ts.map +1 -1
  17. package/dist/elements/OdusElements.d.ts.map +1 -1
  18. package/dist/elements/card/VgsCardAdapter.d.ts +6 -1
  19. package/dist/elements/card/VgsCardAdapter.d.ts.map +1 -1
  20. package/dist/elements/cardElement.constants.d.ts +0 -2
  21. package/dist/elements/cardElement.constants.d.ts.map +1 -1
  22. package/dist/elements/types/CardPayload.type.d.ts +0 -6
  23. package/dist/elements/types/CardPayload.type.d.ts.map +1 -1
  24. package/dist/elements/types/index.d.ts +1 -1
  25. package/dist/elements/types/index.d.ts.map +1 -1
  26. package/dist/elements.d.ts +1 -1
  27. package/dist/elements.d.ts.map +1 -1
  28. package/dist/elements.es.js +269 -335
  29. package/dist/factories/createForm.d.ts.map +1 -1
  30. package/dist/index.css +1 -1
  31. package/dist/locales/cs.json.d.ts +1 -0
  32. package/dist/locales/de.json.d.ts +1 -0
  33. package/dist/locales/en.json.d.ts +1 -0
  34. package/dist/locales/es.json.d.ts +1 -0
  35. package/dist/locales/fr.json.d.ts +1 -0
  36. package/dist/locales/it.json.d.ts +1 -0
  37. package/dist/locales/nl.json.d.ts +1 -0
  38. package/dist/locales/pl.json.d.ts +1 -0
  39. package/dist/locales/pt.json.d.ts +1 -0
  40. package/dist/locales/sk.json.d.ts +1 -0
  41. package/dist/locales/tr.json.d.ts +1 -0
  42. package/dist/phone.js +85 -79
  43. package/dist/services/checkout/CheckoutAPI.service.d.ts +1 -1
  44. package/dist/services/checkout/CheckoutAPI.service.d.ts.map +1 -1
  45. package/dist/services/checkout/CheckoutForm.service.d.ts +6 -0
  46. package/dist/services/checkout/CheckoutForm.service.d.ts.map +1 -1
  47. package/dist/shared.js +3660 -5965
  48. package/dist/shared2.js +13 -0
  49. package/dist/types/common/FormData.type.d.ts +0 -3
  50. package/dist/types/common/FormData.type.d.ts.map +1 -1
  51. package/dist/types/telemetry/TelemetryEvents.type.d.ts +15 -0
  52. package/dist/types/telemetry/TelemetryEvents.type.d.ts.map +1 -1
  53. package/dist/utils/focus/FocusManager.d.ts.map +1 -1
  54. package/dist/utils/validation/createValidationSchema.d.ts +0 -3
  55. package/dist/utils/validation/createValidationSchema.d.ts.map +1 -1
  56. package/package.json +2 -3
  57. package/dist/components/checkout/card-elements/CardCvvElement.d.ts +0 -28
  58. package/dist/components/checkout/card-elements/CardCvvElement.d.ts.map +0 -1
  59. package/dist/components/checkout/card-elements/CardNumberElement.d.ts +0 -32
  60. package/dist/components/checkout/card-elements/CardNumberElement.d.ts.map +0 -1
  61. package/dist/components/checkout/card-elements/index.d.ts +0 -3
  62. package/dist/components/checkout/card-elements/index.d.ts.map +0 -1
  63. package/dist/elements/card/NativeCardAdapter.d.ts +0 -35
  64. package/dist/elements/card/NativeCardAdapter.d.ts.map +0 -1
  65. package/dist/utils/card/detectCardBrand.d.ts +0 -3
  66. package/dist/utils/card/detectCardBrand.d.ts.map +0 -1
  67. package/dist/utils/card/luhnCheck.d.ts +0 -7
  68. package/dist/utils/card/luhnCheck.d.ts.map +0 -1
  69. package/dist/utils/formatters/formatters.d.ts +0 -6
  70. package/dist/utils/formatters/formatters.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"createForm.d.ts","sourceRoot":"","sources":["../../src/factories/createForm.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAEV,QAAQ,EACR,UAAU,EACX,MAAM,+BAA+B,CAAC;AAKvC,UAAU,SAAU,SAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IACjD,QAAQ,EAAE,QAAQ,CAAC;IACnB,MAAM,EAAE,UAAU,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC;IAClD,OAAO,EAAE,OAAO,CAAC;CAClB;AAED;;;GAGG;AACH,eAAO,MAAM,UAAU;;;yBAgKO,MAAM,QAAQ,SAAS,MAAM,KAAG,IAAI;uBAsGtC,MAAM,QAAQ,SAAS,MAAM,KAAG,IAAI;+BA8E5B,OAAO,CAAC,QAAQ,CAAC,KAAG,IAAI;;CAqB3D,CAAC"}
1
+ {"version":3,"file":"createForm.d.ts","sourceRoot":"","sources":["../../src/factories/createForm.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAEV,QAAQ,EACR,UAAU,EACX,MAAM,+BAA+B,CAAC;AAGvC,UAAU,SAAU,SAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IACjD,QAAQ,EAAE,QAAQ,CAAC;IACnB,MAAM,EAAE,UAAU,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC;IAClD,OAAO,EAAE,OAAO,CAAC;CAClB;AAED;;;GAGG;AACH,eAAO,MAAM,UAAU;;;yBA6IO,MAAM,QAAQ,SAAS,MAAM,KAAG,IAAI;uBAiFtC,MAAM,QAAQ,SAAS,MAAM,KAAG,IAAI;+BAqE5B,OAAO,CAAC,QAAQ,CAAC,KAAG,IAAI;;CAqB3D,CAAC"}
package/dist/index.css CHANGED
@@ -1,2 +1,2 @@
1
- .form-helper-text-anchor{height:var(--odus-helper-text-space,4px);z-index:3;position:relative}.form-helper-text{color:#dc2727;font-family:var(--odus-font-family,inherit);font-size:12px;font-weight:500;line-height:var(--odus-helper-text-line-height,14px);background:var(--odus-color-background,#fff);pointer-events:none;transition:opacity .2s ease-in-out;display:block;position:absolute;top:2px;left:0;right:0}.form-helper-text-hidden{opacity:0;visibility:hidden}.form-helper-text-hint{color:var(--odus-color-muted,#6b7280);font-weight:400}.form-input{opacity:1;font-size:var(--odus-input-font-size,16px);font-weight:var(--odus-input-font-weight,400);letter-spacing:var(--odus-input-letter-spacing,.02em);box-shadow:0 0 0 1px var(--odus-border-color,#e0e0e0), 0 2px 4px 0 #00000012, 0 1px 1.5px 0 #0000000d;background:var(--odus-color-background,#fff);padding:var(--odus-input-padding,8px 12px);line-height:var(--odus-input-line-height,1.5);z-index:0;box-sizing:border-box;border:none;outline:none;flex:1;width:100%;min-height:0;transition:box-shadow .1s ease-in,border-radius .2s ease-in}.form-input[name=cardNumber]{padding-right:100px}.form-input-error{box-shadow:0 0 0 1px var(--odus-color-error,#dc2727), 0 2px 4px 0 #00000012, 0 1px 1.5px 0 #0000000d}.form-input::placeholder{color:var(--odus-input-placeholder-color,#717173);opacity:var(--odus-input-placeholder-opacity,.3)}.form-input:focus{z-index:2;position:relative;box-shadow:0 0 0 1px #3297d3b3,0 1px 1px #00000012,0 0 0 4px #3297d34d}.input-label{font-family:var(--odus-font-family,inherit);font-size:var(--odus-label-font-size,14px);font-weight:var(--odus-label-font-weight,400);color:var(--odus-label-color,var(--odus-color-text,#1a1a1a));letter-spacing:var(--odus-label-letter-spacing,normal);line-height:var(--odus-label-line-height,1.4);margin-bottom:var(--odus-label-margin-bottom,6px)}.input-wrapper{box-sizing:border-box;flex-direction:column;align-items:stretch;width:100%;min-width:0;display:flex}.input-wrapper *{box-sizing:border-box}.form-select{opacity:1;letter-spacing:.02em;padding:var(--odus-input-padding,8px 12px);z-index:0;box-sizing:border-box;cursor:pointer;appearance:none;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10' fill='none'%3E%3Cpath d='M2 3.5L5 6.5L8 3.5' stroke='%23717173' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center no-repeat;border:none;outline:none;flex:1;width:100%;min-height:0;padding-right:32px;font-weight:400;line-height:1.5;transition:box-shadow .1s ease-in,border-radius .2s ease-in;box-shadow:0 0 0 1px #e0e0e0,0 2px 4px #00000012,0 1px 1.5px #0000000d}.form-select-error{box-shadow:0 0 0 1px var(--odus-color-error,#dc2727), 0 2px 4px 0 #00000012, 0 1px 1.5px 0 #0000000d}.form-select-placeholder{color:#d4d4d5}.form-select option[disabled]{color:#717173;opacity:.5}.form-select:focus{z-index:2;position:relative;box-shadow:0 0 0 1px #3297d3b3,0 1px 1px #00000012,0 0 0 4px #3297d34d}.card-element{border-radius:inherit;box-sizing:border-box;background:#fff;border:none;height:38.5px;padding:0;transition:box-shadow .1s ease-in;position:relative;box-shadow:0 0 0 1px #e0e0e0,0 2px 4px #00000012,0 1px 1.5px #0000000d}.card-element iframe{width:100%;min-width:0;display:block}.card-element-focus{box-shadow:0 0 0 1px #3297d3b3,0 1px 1px #00000012,0 0 0 4px #3297d34d}.card-icon{opacity:1;width:18px;transition:opacity .6s ease-in}.card-icon img{max-width:100%;height:auto;display:block}.cards-position{z-index:10;pointer-events:none;align-items:center;gap:8px;display:flex;position:absolute;top:50%;right:12px;transform:translateY(-50%)}.loading{position:relative}.loading:after{content:"";border-radius:inherit;background-color:#fff;width:100%;height:100%;position:absolute;inset:0}@media only screen and (min-width:600px){.card-icon{width:20px}}.vgs-card-group iframe,.vgs-wrap iframe{width:100%;min-width:0;display:block}.fake-ph{color:#717173;opacity:.3;font-size:var(--odus-input-font-size,16px);letter-spacing:.02em;font-weight:400;line-height:1.5;font-family:var(--odus-font-family,inherit);pointer-events:none;-webkit-user-select:none;user-select:none;white-space:nowrap;z-index:0;background:#fff;align-items:center;padding:8px 12px;display:flex;position:absolute;inset:0}@keyframes vgs-shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.vgs-field-skeleton{pointer-events:none;z-index:11;border-radius:inherit;background:linear-gradient(90deg,#f7f7f7 25%,#fdfdfd 50%,#f7f7f7 75%) 0 0/200% 100%;animation:1.5s ease-in-out infinite vgs-shimmer;position:absolute;inset:0}apple-pay-button{appearance:-apple-pay-button;-apple-pay-button-type:plain;-apple-pay-button-style:black;cursor:pointer;box-sizing:border-box;border-radius:4px;width:100%;height:40px;min-height:40px;display:inline-block}apple-pay-button:hover{filter:brightness(.9)}.paypal{color:#253b80;text-transform:none;cursor:pointer;background-color:#ffc439;border-radius:4px;padding:8px 16px;font-weight:700;box-shadow:0 2px 4px #0000001a}.paypal:hover{filter:brightness(.95);background-color:#ffc439}.paypal-icon-container{justify-content:center;align-items:center;display:flex}.paypal-icon-container img{width:69px;height:22px}@keyframes slideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.error-alert{background-color:#fef2f2;border:1px solid #fecaca;border-radius:8px;padding:16px;animation:.3s ease-out slideIn;box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f}.error-alert-content{align-items:flex-start;gap:12px;display:flex}.error-alert-icon-container{color:#dc2626;background-color:#fee2e2;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.error-alert-icon{color:#dc2626}.error-alert-text-container{flex:1;min-width:0}.error-alert-title{color:#991b1b;margin:0 0 4px;font-size:14px;font-weight:600;line-height:1.4}.error-alert-message{font-family:var(--odus-font-family,inherit);color:#7f1d1d;word-break:break-word;margin:0;font-size:14px;line-height:1.5}.form-container{text-align:left;flex-direction:column;gap:16px;max-width:100%;min-height:340px;padding:4px;display:flex;position:relative}.form-container>*{font-family:inherit}.card-details{display:flex}.card-details>*{flex:1;min-width:0}.error-messages-container>*{display:none}.error-messages-container>:first-child{display:block}.error-messages-container{min-height:var(--odus-helper-text-space,4px)}.address-section{flex-direction:column;gap:6px;display:flex}.address-section-title{margin:0;padding:0;font-size:14px;font-weight:600}.address-same-as-billing{cursor:pointer;align-items:center;gap:4px;display:flex}.address-same-as-billing input[type=checkbox]{opacity:0;pointer-events:none;width:0;height:0;position:absolute}.address-same-as-billing .checkbox-icon{cursor:pointer;flex-shrink:0;width:24px;height:24px}.address-same-as-billing .checkbox-icon .checkbox-checked{display:none}.address-same-as-billing .checkbox-icon .checkbox-unchecked,.address-same-as-billing input[type=checkbox]:checked+.checkbox-icon .checkbox-checked{display:block}.address-same-as-billing input[type=checkbox]:checked+.checkbox-icon .checkbox-unchecked{display:none}.address-same-as-billing label{cursor:pointer;font-size:14px}.address-fields{flex-direction:column;gap:0;transition:opacity .2s;display:flex}.address-fields--ungrouped{gap:16px}.address-row{gap:0;display:flex}.address-row-single{width:100%}.address-row-single>*{flex:1}.address-row-double{width:100%}.address-row-double>*{flex:1;min-width:0}.payment-methods{flex-direction:column;gap:12px;display:flex}.skeleton-container{text-align:left;flex-direction:column;gap:12px;width:100%;max-width:100%;display:flex;position:relative}.skeleton{background:linear-gradient(90deg,#f7f7f7 25%,#fdfdfd 50%,#f7f7f7 75%) 0 0/200% 100%;border-radius:8px;animation:1.5s ease-in-out infinite shimmer;position:relative;overflow:hidden}@keyframes shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.skeleton-field{flex-direction:column;gap:8px;display:flex}.skeleton-label{border-radius:4px;width:80px;height:16px}.skeleton-input{border-radius:8px;width:100%;height:35px}.skeleton-payment-method{border-radius:8px;width:100%;height:37.8614px}.skeleton-card-row{gap:12px;display:flex}.skeleton-card-row .skeleton-field{flex:1}.skeleton-submit-button{border-radius:8px;width:100%;height:35px}.skeleton-separator-text{border-radius:4px;width:12ch;height:13px;font-size:14px}.payment-separator_container{justify-content:space-between;align-items:center;gap:16px;width:100%;min-height:21px;margin:0 0 -8px;display:flex}.payment-separator{justify-content:space-between;align-items:center;width:100%;margin:0 0 -8px;display:flex}.payment-separator__line{background:#9f9f9f;flex-grow:1;height:1.3px}.payment-separator__text{color:#0d0d0d;margin:0;padding:0 16px;font-size:14px;font-weight:400}.button{text-align:center;cursor:pointer;white-space:nowrap;border:none;outline:none;justify-content:center;align-items:center;width:100%;height:min-content;padding:8px 16px;font-size:14px;font-weight:700;line-height:1.5;transition:all .2s;display:inline-flex;position:relative}.disabled{pointer-events:none}.valid{outline:none;transition:all .3s;overflow:hidden}.valid:before{content:"";background:linear-gradient(90deg,#0000,#fff6,#0000);width:100%;height:100%;transition:left .5s;animation:6s infinite glowSlide;position:absolute;top:0;left:-100%}@keyframes glowSlide{0%{left:-100%}50%{left:100%}to{left:100%}}.valid:after{content:"";background:linear-gradient(90deg,#0000 0%,#ffffff1a 25%,#ffffff4d 50%,#ffffff1a 75%,#0000 100%);width:100%;height:100%;animation:7s infinite smoothGlow;position:absolute;top:0;left:0;transform:translate(-100%)}@keyframes smoothGlow{0%{transform:translate(-100%)}to{transform:translate(100%)}}.blur-bg{-webkit-backdrop-filter:blur(3.5px);backdrop-filter:blur(3.5px);z-index:9999;background:0 0;flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:absolute;inset:0}.loader{background:conic-gradient(from 270deg,#134e4a 0deg,#0f766e 90deg,#0d9488 180deg,#5eaba3 240deg,#0d948833 300deg,#0000 330deg);border-radius:50%;width:64px;height:64px;animation:1s linear infinite spin;position:relative}.loader:before{content:"";background:#fff;border-radius:50%;position:absolute;inset:6px}@keyframes spin{to{transform:rotate(360deg)}}.title{color:#4f4f4f;margin-top:20px;font-size:18px;animation:1s ease-in-out fadeIn}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.country-dial-code-dropdown{display:inline-block;position:relative}.country-dial-code-trigger{padding:var(--odus-input-padding,8px 12px);cursor:pointer;letter-spacing:.02em;font-weight:400;line-height:var(--odus-input-line-height,1.5);white-space:nowrap;box-sizing:border-box;background:#fff;border:none;border-right:1px solid #e0e0e0;align-items:center;gap:6px;padding-right:8px;transition:all .1s ease-in;display:flex}.country-dial-code-trigger:hover{background:#f5f5f5}.country-dial-code-trigger:focus{outline:none}.country-dial-code-trigger .country-flag{font-size:14px;line-height:1}.country-dial-code-trigger .country-chevron{color:#717173;flex-shrink:0;transition:transform .15s}.country-dial-code-trigger[aria-expanded=true] .country-chevron{transform:rotate(180deg)}.country-dial-code-panel{z-index:10000;background:#fff;border-radius:8px;flex-direction:column;width:280px;max-height:360px;display:flex;position:fixed;top:0;left:0;overflow:hidden;box-shadow:0 0 0 1px #0000000d,0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}.country-dial-code-panel.hidden{display:none}.country-search-wrapper{border-bottom:1px solid #e0e0e0;flex-shrink:0;padding:12px}.country-search{width:100%;font-size:inherit;box-sizing:border-box;border:1px solid #e0e0e0;border-radius:6px;outline:none;padding:6px 12px;font-family:inherit;transition:all .1s ease-in}.country-search:focus{border-color:#3297d3b3;box-shadow:0 0 0 3px #3297d31a}.country-search::placeholder{color:#717173;opacity:.6}.countries-list{flex:1;min-height:0;overflow-y:auto}.countries-list::-webkit-scrollbar{width:8px}.countries-list::-webkit-scrollbar-track{background:#f5f5f5}.countries-list::-webkit-scrollbar-thumb{background:#d0d0d0;border-radius:4px}.countries-list::-webkit-scrollbar-thumb:hover{background:#b0b0b0}.country-group-header{color:#717173;text-transform:uppercase;letter-spacing:.05em;z-index:1;background:#fafafa;padding:8px 16px 4px;font-size:12px;font-weight:600;position:sticky;top:0}.country-item{cursor:pointer;text-align:left;width:100%;color:inherit;background:#fff;border:none;align-items:center;gap:12px;padding:10px 16px;font-family:inherit;font-size:14px;transition:background .1s;display:flex}.country-item:hover{background:#f5f5f5}.country-item.selected{color:#3297d3;background:#3297d314}.country-item:focus{background:#f0f0f0;outline:none}.country-item .country-flag{flex-shrink:0;font-size:20px;line-height:1}.country-item .country-name{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.country-item .country-dial-code{color:#717173;flex-shrink:0;font-size:.95em}.country-item.selected .country-dial-code{color:#3297d3cc}.no-results{text-align:center;color:#717173;padding:24px 16px;font-size:14px}.phone-number-field-wrapper{width:100%;display:flex}.phone-number-field-container{border-radius:inherit;background:#fff;align-items:center;width:100%;transition:box-shadow .1s ease-in,border-radius .2s ease-in;display:flex;position:relative;box-shadow:0 0 0 1px #e0e0e0,0 2px 4px #00000012,0 1px 1.5px #0000000d}.phone-number-field-container.focused{z-index:2;box-shadow:0 0 0 1px #3297d3b3,0 1px 1px #00000012,0 0 0 4px #3297d34d}.phone-number-field-container.error{box-shadow:0 0 0 1px #dc2727,0 2px 4px #dc27271a}.phone-number-field-container.error.focused{box-shadow:0 0 0 1px #dc2727,0 1px 1px #00000012,0 0 0 4px #dc272733}.phone-number-field-container .country-select-wrapper{padding:var(--odus-input-padding,8px 12px);border-top-left-radius:var(--phone-border-radius,0px);border-bottom-left-radius:var(--phone-border-radius,0px);white-space:nowrap;background:0 0;flex-shrink:0;align-items:center;gap:4px;padding-right:6px;display:flex;position:relative}.phone-number-field-container .country-select-wrapper .country-flag{pointer-events:none;font-size:14px;line-height:1}.phone-number-field-container .country-select-wrapper .country-chevron{color:#717173;pointer-events:none;flex-shrink:0;align-items:center;display:flex}.phone-number-field-container .country-select-wrapper .country-select{cursor:pointer;opacity:0;background:0 0;border:none;outline:none;width:100%;height:100%;position:absolute;inset:0}.phone-number-field-container .phone-input-wrapper{flex:1;min-width:0}.phone-number-field-container .phone-input-wrapper .form-input{box-shadow:none;border-radius:0;border-top-right-radius:var(--phone-border-radius,0px);border-bottom-right-radius:var(--phone-border-radius,0px);padding:var(--odus-input-padding,8px 2px);border:none}.phone-number-field-container .phone-input-wrapper .form-input:focus{box-shadow:none;z-index:auto}
1
+ .form-helper-text-anchor{height:var(--odus-helper-text-space,4px);z-index:3;position:relative}.form-helper-text{color:#dc2727;font-family:var(--odus-font-family,inherit);font-size:12px;font-weight:500;line-height:var(--odus-helper-text-line-height,14px);background:var(--odus-color-background,#fff);pointer-events:none;transition:opacity .2s ease-in-out;display:block;position:absolute;top:2px;left:0;right:0}.form-helper-text-hidden{opacity:0;visibility:hidden}.form-helper-text-hint{color:var(--odus-color-muted,#6b7280);font-weight:400}.form-input{opacity:1;font-size:var(--odus-input-font-size,16px);font-weight:var(--odus-input-font-weight,400);letter-spacing:var(--odus-input-letter-spacing,.02em);box-shadow:0 0 0 1px var(--odus-border-color,#e0e0e0), 0 2px 4px 0 #00000012, 0 1px 1.5px 0 #0000000d;background:var(--odus-color-background,#fff);padding:var(--odus-input-padding,8px 12px);line-height:var(--odus-input-line-height,1.5);z-index:0;box-sizing:border-box;border:none;outline:none;flex:1;width:100%;min-height:0;transition:box-shadow .1s ease-in,border-radius .2s ease-in}.form-input[name=cardNumber]{padding-right:100px}.form-input-error{box-shadow:0 0 0 1px var(--odus-color-error,#dc2727), 0 2px 4px 0 #00000012, 0 1px 1.5px 0 #0000000d}.form-input::placeholder{color:var(--odus-input-placeholder-color,#717173);opacity:var(--odus-input-placeholder-opacity,.3)}.form-input:focus{z-index:2;position:relative;box-shadow:0 0 0 1px #3297d3b3,0 1px 1px #00000012,0 0 0 4px #3297d34d}.input-label{font-family:var(--odus-font-family,inherit);font-size:var(--odus-label-font-size,14px);font-weight:var(--odus-label-font-weight,400);color:var(--odus-label-color,var(--odus-color-text,#1a1a1a));letter-spacing:var(--odus-label-letter-spacing,normal);line-height:var(--odus-label-line-height,1.4);margin-bottom:var(--odus-label-margin-bottom,6px)}.input-wrapper{box-sizing:border-box;flex-direction:column;align-items:stretch;width:100%;min-width:0;display:flex}.input-wrapper *{box-sizing:border-box}.form-select{opacity:1;letter-spacing:.02em;padding:var(--odus-input-padding,8px 12px);z-index:0;box-sizing:border-box;cursor:pointer;appearance:none;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10' fill='none'%3E%3Cpath d='M2 3.5L5 6.5L8 3.5' stroke='%23717173' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center no-repeat;border:none;outline:none;flex:1;width:100%;min-height:0;padding-right:32px;font-weight:400;line-height:1.5;transition:box-shadow .1s ease-in,border-radius .2s ease-in;box-shadow:0 0 0 1px #e0e0e0,0 2px 4px #00000012,0 1px 1.5px #0000000d}.form-select-error{box-shadow:0 0 0 1px var(--odus-color-error,#dc2727), 0 2px 4px 0 #00000012, 0 1px 1.5px 0 #0000000d}.form-select-placeholder{color:#d4d4d5}.form-select option[disabled]{color:#717173;opacity:.5}.form-select:focus{z-index:2;position:relative;box-shadow:0 0 0 1px #3297d3b3,0 1px 1px #00000012,0 0 0 4px #3297d34d}.card-icon{opacity:1;width:18px;transition:opacity .6s ease-in}.card-icon img{max-width:100%;height:auto;display:block}.cards-position{z-index:10;pointer-events:none;align-items:center;gap:8px;display:flex;position:absolute;top:50%;right:12px;transform:translateY(-50%)}.loading{position:relative}.loading:after{content:"";border-radius:inherit;background-color:#fff;width:100%;height:100%;position:absolute;inset:0}@media only screen and (min-width:600px){.card-icon{width:20px}}.vgs-card-group iframe,.vgs-wrap iframe{width:100%;min-width:0;display:block}.fake-ph{color:#717173;opacity:.3;font-size:var(--odus-input-font-size,16px);letter-spacing:.02em;font-weight:400;line-height:1.5;font-family:var(--odus-font-family,inherit);pointer-events:none;-webkit-user-select:none;user-select:none;white-space:nowrap;z-index:0;background:#fff;align-items:center;padding:8px 12px;display:flex;position:absolute;inset:0}@keyframes vgs-shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.vgs-field-skeleton{pointer-events:none;z-index:11;border-radius:inherit;background:linear-gradient(90deg,#f7f7f7 25%,#fdfdfd 50%,#f7f7f7 75%) 0 0/200% 100%;animation:1.5s ease-in-out infinite vgs-shimmer;position:absolute;inset:0}.card-unavailable-message{color:var(--odus-color-error,#dc2727);background:color-mix(in srgb, var(--odus-color-error,#dc2727) 6%, transparent);box-shadow:0 0 0 1px var(--odus-color-error,#dc2727);box-sizing:border-box;padding:12px;line-height:1.4}.card-pending{width:100%;position:relative;overflow:hidden}apple-pay-button{appearance:-apple-pay-button;-apple-pay-button-type:plain;-apple-pay-button-style:black;cursor:pointer;box-sizing:border-box;border-radius:4px;width:100%;height:40px;min-height:40px;display:inline-block}apple-pay-button:hover{filter:brightness(.9)}.paypal{color:#253b80;text-transform:none;cursor:pointer;background-color:#ffc439;border-radius:4px;padding:8px 16px;font-weight:700;box-shadow:0 2px 4px #0000001a}.paypal:hover{filter:brightness(.95);background-color:#ffc439}.paypal-icon-container{justify-content:center;align-items:center;display:flex}.paypal-icon-container img{width:69px;height:22px}@keyframes slideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.error-alert{background-color:#fef2f2;border:1px solid #fecaca;border-radius:8px;padding:16px;animation:.3s ease-out slideIn;box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f}.error-alert-content{align-items:flex-start;gap:12px;display:flex}.error-alert-icon-container{color:#dc2626;background-color:#fee2e2;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.error-alert-icon{color:#dc2626}.error-alert-text-container{flex:1;min-width:0}.error-alert-title{color:#991b1b;margin:0 0 4px;font-size:14px;font-weight:600;line-height:1.4}.error-alert-message{font-family:var(--odus-font-family,inherit);color:#7f1d1d;word-break:break-word;margin:0;font-size:14px;line-height:1.5}.form-container{text-align:left;flex-direction:column;gap:16px;max-width:100%;min-height:340px;padding:4px;display:flex;position:relative}.form-container>*{font-family:inherit}.card-details{display:flex}.card-details>*{flex:1;min-width:0}.error-messages-container>*{display:none}.error-messages-container>:first-child{display:block}.error-messages-container{min-height:var(--odus-helper-text-space,4px)}.address-section{flex-direction:column;gap:6px;display:flex}.address-section-title{margin:0;padding:0;font-size:14px;font-weight:600}.address-same-as-billing{cursor:pointer;align-items:center;gap:4px;display:flex}.address-same-as-billing input[type=checkbox]{opacity:0;pointer-events:none;width:0;height:0;position:absolute}.address-same-as-billing .checkbox-icon{cursor:pointer;flex-shrink:0;width:24px;height:24px}.address-same-as-billing .checkbox-icon .checkbox-checked{display:none}.address-same-as-billing .checkbox-icon .checkbox-unchecked,.address-same-as-billing input[type=checkbox]:checked+.checkbox-icon .checkbox-checked{display:block}.address-same-as-billing input[type=checkbox]:checked+.checkbox-icon .checkbox-unchecked{display:none}.address-same-as-billing label{cursor:pointer;font-size:14px}.address-fields{flex-direction:column;gap:0;transition:opacity .2s;display:flex}.address-fields--ungrouped{gap:16px}.address-row{gap:0;display:flex}.address-row-single{width:100%}.address-row-single>*{flex:1}.address-row-double{width:100%}.address-row-double>*{flex:1;min-width:0}.payment-methods{flex-direction:column;gap:12px;display:flex}.skeleton-container{text-align:left;flex-direction:column;gap:12px;width:100%;max-width:100%;display:flex;position:relative}.skeleton{background:linear-gradient(90deg,#f7f7f7 25%,#fdfdfd 50%,#f7f7f7 75%) 0 0/200% 100%;border-radius:8px;animation:1.5s ease-in-out infinite shimmer;position:relative;overflow:hidden}@keyframes shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.skeleton-field{flex-direction:column;gap:8px;display:flex}.skeleton-label{border-radius:4px;width:80px;height:16px}.skeleton-input{border-radius:8px;width:100%;height:35px}.skeleton-payment-method{border-radius:8px;width:100%;height:37.8614px}.skeleton-card-row{gap:12px;display:flex}.skeleton-card-row .skeleton-field{flex:1}.skeleton-submit-button{border-radius:8px;width:100%;height:35px}.skeleton-separator-text{border-radius:4px;width:12ch;height:13px;font-size:14px}.payment-separator_container{justify-content:space-between;align-items:center;gap:16px;width:100%;min-height:21px;margin:0 0 -8px;display:flex}.payment-separator{justify-content:space-between;align-items:center;width:100%;margin:0 0 -8px;display:flex}.payment-separator__line{background:#9f9f9f;flex-grow:1;height:1.3px}.payment-separator__text{color:#0d0d0d;margin:0;padding:0 16px;font-size:14px;font-weight:400}.button{text-align:center;cursor:pointer;white-space:nowrap;border:none;outline:none;justify-content:center;align-items:center;width:100%;height:min-content;padding:8px 16px;font-size:14px;font-weight:700;line-height:1.5;transition:all .2s;display:inline-flex;position:relative}.disabled{pointer-events:none}.valid{outline:none;transition:all .3s;overflow:hidden}.valid:before{content:"";background:linear-gradient(90deg,#0000,#fff6,#0000);width:100%;height:100%;transition:left .5s;animation:6s infinite glowSlide;position:absolute;top:0;left:-100%}@keyframes glowSlide{0%{left:-100%}50%{left:100%}to{left:100%}}.valid:after{content:"";background:linear-gradient(90deg,#0000 0%,#ffffff1a 25%,#ffffff4d 50%,#ffffff1a 75%,#0000 100%);width:100%;height:100%;animation:7s infinite smoothGlow;position:absolute;top:0;left:0;transform:translate(-100%)}@keyframes smoothGlow{0%{transform:translate(-100%)}to{transform:translate(100%)}}.blur-bg{-webkit-backdrop-filter:blur(3.5px);backdrop-filter:blur(3.5px);z-index:9999;background:0 0;flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:absolute;inset:0}.loader{background:conic-gradient(from 270deg,#134e4a 0deg,#0f766e 90deg,#0d9488 180deg,#5eaba3 240deg,#0d948833 300deg,#0000 330deg);border-radius:50%;width:64px;height:64px;animation:1s linear infinite spin;position:relative}.loader:before{content:"";background:#fff;border-radius:50%;position:absolute;inset:6px}@keyframes spin{to{transform:rotate(360deg)}}.title{color:#4f4f4f;margin-top:20px;font-size:18px;animation:1s ease-in-out fadeIn}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.country-dial-code-dropdown{display:inline-block;position:relative}.country-dial-code-trigger{padding:var(--odus-input-padding,8px 12px);cursor:pointer;letter-spacing:.02em;font-weight:400;line-height:var(--odus-input-line-height,1.5);white-space:nowrap;box-sizing:border-box;background:#fff;border:none;border-right:1px solid #e0e0e0;align-items:center;gap:6px;padding-right:8px;transition:all .1s ease-in;display:flex}.country-dial-code-trigger:hover{background:#f5f5f5}.country-dial-code-trigger:focus{outline:none}.country-dial-code-trigger .country-flag{font-size:14px;line-height:1}.country-dial-code-trigger .country-chevron{color:#717173;flex-shrink:0;transition:transform .15s}.country-dial-code-trigger[aria-expanded=true] .country-chevron{transform:rotate(180deg)}.country-dial-code-panel{z-index:10000;background:#fff;border-radius:8px;flex-direction:column;width:280px;max-height:360px;display:flex;position:fixed;top:0;left:0;overflow:hidden;box-shadow:0 0 0 1px #0000000d,0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}.country-dial-code-panel.hidden{display:none}.country-search-wrapper{border-bottom:1px solid #e0e0e0;flex-shrink:0;padding:12px}.country-search{width:100%;font-size:inherit;box-sizing:border-box;border:1px solid #e0e0e0;border-radius:6px;outline:none;padding:6px 12px;font-family:inherit;transition:all .1s ease-in}.country-search:focus{border-color:#3297d3b3;box-shadow:0 0 0 3px #3297d31a}.country-search::placeholder{color:#717173;opacity:.6}.countries-list{flex:1;min-height:0;overflow-y:auto}.countries-list::-webkit-scrollbar{width:8px}.countries-list::-webkit-scrollbar-track{background:#f5f5f5}.countries-list::-webkit-scrollbar-thumb{background:#d0d0d0;border-radius:4px}.countries-list::-webkit-scrollbar-thumb:hover{background:#b0b0b0}.country-group-header{color:#717173;text-transform:uppercase;letter-spacing:.05em;z-index:1;background:#fafafa;padding:8px 16px 4px;font-size:12px;font-weight:600;position:sticky;top:0}.country-item{cursor:pointer;text-align:left;width:100%;color:inherit;background:#fff;border:none;align-items:center;gap:12px;padding:10px 16px;font-family:inherit;font-size:14px;transition:background .1s;display:flex}.country-item:hover{background:#f5f5f5}.country-item.selected{color:#3297d3;background:#3297d314}.country-item:focus{background:#f0f0f0;outline:none}.country-item .country-flag{flex-shrink:0;font-size:20px;line-height:1}.country-item .country-name{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.country-item .country-dial-code{color:#717173;flex-shrink:0;font-size:.95em}.country-item.selected .country-dial-code{color:#3297d3cc}.no-results{text-align:center;color:#717173;padding:24px 16px;font-size:14px}.phone-number-field-wrapper{width:100%;display:flex}.phone-number-field-container{border-radius:inherit;background:#fff;align-items:center;width:100%;transition:box-shadow .1s ease-in,border-radius .2s ease-in;display:flex;position:relative;box-shadow:0 0 0 1px #e0e0e0,0 2px 4px #00000012,0 1px 1.5px #0000000d}.phone-number-field-container.focused{z-index:2;box-shadow:0 0 0 1px #3297d3b3,0 1px 1px #00000012,0 0 0 4px #3297d34d}.phone-number-field-container.error{box-shadow:0 0 0 1px #dc2727,0 2px 4px #dc27271a}.phone-number-field-container.error.focused{box-shadow:0 0 0 1px #dc2727,0 1px 1px #00000012,0 0 0 4px #dc272733}.phone-number-field-container .country-select-wrapper{padding:var(--odus-input-padding,8px 12px);border-top-left-radius:var(--phone-border-radius,0px);border-bottom-left-radius:var(--phone-border-radius,0px);white-space:nowrap;background:0 0;flex-shrink:0;align-items:center;gap:4px;padding-right:6px;display:flex;position:relative}.phone-number-field-container .country-select-wrapper .country-flag{pointer-events:none;font-size:14px;line-height:1}.phone-number-field-container .country-select-wrapper .country-chevron{color:#717173;pointer-events:none;flex-shrink:0;align-items:center;display:flex}.phone-number-field-container .country-select-wrapper .country-select{cursor:pointer;opacity:0;background:0 0;border:none;outline:none;width:100%;height:100%;position:absolute;inset:0}.phone-number-field-container .phone-input-wrapper{flex:1;min-width:0}.phone-number-field-container .phone-input-wrapper .form-input{box-shadow:none;border-radius:0;border-top-right-radius:var(--phone-border-radius,0px);border-bottom-right-radius:var(--phone-border-radius,0px);padding:var(--odus-input-padding,8px 2px);border:none}.phone-number-field-container .phone-input-wrapper .form-input:focus{box-shadow:none;z-index:auto}
2
2
  /*$vite$:1*/
@@ -8,6 +8,7 @@ declare const _default: {
8
8
  "cardInformation": "Informace o kartě",
9
9
  "cardholderNamePlaceholder": "Celé jméno na kartě",
10
10
  "cardExpiry": "MM / RR",
11
+ "cardUnavailable": "Platba kartou není momentálně dostupná. Zkuste to prosím později.",
11
12
  "loading": "Nezavírejte okno",
12
13
  "pay-with-card": "nebo zaplaťte kartou",
13
14
  "buttonTexts": {
@@ -8,6 +8,7 @@ declare const _default: {
8
8
  "cardInformation": "Kartendaten",
9
9
  "cardholderNamePlaceholder": "Vollständiger Name",
10
10
  "cardExpiry": "MM / JJ",
11
+ "cardUnavailable": "Kartenzahlung ist derzeit nicht verfügbar. Bitte versuchen Sie es später erneut.",
11
12
  "loading": "Das Fenster nicht schließen",
12
13
  "pay-with-card": "oder mit Karte bezahlen",
13
14
  "buttonTexts": {
@@ -8,6 +8,7 @@ declare const _default: {
8
8
  "cardInformation": "Card information",
9
9
  "cardholderNamePlaceholder": "Full name on card",
10
10
  "cardExpiry": "MM / YY",
11
+ "cardUnavailable": "Card payment is not available right now. Please try again later.",
11
12
  "loading": "Do not close the window",
12
13
  "pay-with-card": "or pay with card",
13
14
  "buttonTexts": {
@@ -8,6 +8,7 @@ declare const _default: {
8
8
  "cardInformation": "Información de la tarjeta",
9
9
  "cardholderNamePlaceholder": "Nombre completo en la tarjeta",
10
10
  "cardExpiry": "MM / AA",
11
+ "cardUnavailable": "El pago con tarjeta no está disponible en este momento. Vuelva a intentarlo más tarde.",
11
12
  "loading": "Por favor, no cierre esta ventana",
12
13
  "pay-with-card": "o paga con tarjeta",
13
14
  "buttonTexts": {
@@ -8,6 +8,7 @@ declare const _default: {
8
8
  "cardInformation": "Informations de la carte",
9
9
  "cardholderNamePlaceholder": "Nom complet figurant sur la carte",
10
10
  "cardExpiry": "MM / AA",
11
+ "cardUnavailable": "Le paiement par carte n'est pas disponible pour le moment. Veuillez réessayer plus tard.",
11
12
  "loading": "Veuillez ne pas fermer cette fenêtre",
12
13
  "pay-with-card": "ou payez avec une carte",
13
14
  "buttonTexts": {
@@ -8,6 +8,7 @@ declare const _default: {
8
8
  "cardInformation": "Informazioni sulla carta",
9
9
  "cardholderNamePlaceholder": "Nome completo sulla carta",
10
10
  "cardExpiry": "MM / AA",
11
+ "cardUnavailable": "Il pagamento con carta non è disponibile al momento. Riprova più tardi.",
11
12
  "loading": "Non chiudere la finestra",
12
13
  "pay-with-card": "o paga con carta",
13
14
  "buttonTexts": {
@@ -8,6 +8,7 @@ declare const _default: {
8
8
  "cardInformation": "Kaartinformatie",
9
9
  "cardholderNamePlaceholder": "Volledige naam op kaart",
10
10
  "cardExpiry": "MM / JJ",
11
+ "cardUnavailable": "Betalen met kaart is momenteel niet beschikbaar. Probeer het later opnieuw.",
11
12
  "loading": "Sluit het venster niet",
12
13
  "pay-with-card": "of betaal met kaart",
13
14
  "buttonTexts": {
@@ -8,6 +8,7 @@ declare const _default: {
8
8
  "cardInformation": "Informacje o karcie",
9
9
  "cardholderNamePlaceholder": "Imię i nazwisko na karcie",
10
10
  "cardExpiry": "MM / RR",
11
+ "cardUnavailable": "Płatność kartą jest obecnie niedostępna. Spróbuj ponownie później.",
11
12
  "loading": "Proszę nie zamykać tego okna",
12
13
  "pay-with-card": "albo zapłać kartą",
13
14
  "buttonTexts": {
@@ -8,6 +8,7 @@ declare const _default: {
8
8
  "cardInformation": "Informações do cartão",
9
9
  "cardholderNamePlaceholder": "Nome completo no cartão",
10
10
  "cardExpiry": "MM / AA",
11
+ "cardUnavailable": "O pagamento com cartão não está disponível neste momento. Tente novamente mais tarde.",
11
12
  "loading": "Por favor, não feche esta janela",
12
13
  "pay-with-card": "ou pagar com cartão",
13
14
  "buttonTexts": {
@@ -8,6 +8,7 @@ declare const _default: {
8
8
  "cardInformation": "Informácie o karte",
9
9
  "cardholderNamePlaceholder": "Meno na karte",
10
10
  "cardExpiry": "MM/RR",
11
+ "cardUnavailable": "Platba kartou momentálne nie je dostupná. Skúste to prosím neskôr.",
11
12
  "loading": "Nezatvárajte okno",
12
13
  "pay-with-card": "alebo zaplaťte kartou",
13
14
  "buttonTexts": {
@@ -8,6 +8,7 @@ declare const _default: {
8
8
  "cardInformation": "Kart bilgileri",
9
9
  "cardholderNamePlaceholder": "Kart üzerindeki tam ad",
10
10
  "cardExpiry": "AA / YY",
11
+ "cardUnavailable": "Kartla ödeme şu anda kullanılamıyor. Lütfen daha sonra tekrar deneyin.",
11
12
  "loading": "Lütfen pencereyi kapatmayın",
12
13
  "pay-with-card": "veya bir kartla ödeyin",
13
14
  "buttonTexts": {
package/dist/phone.js CHANGED
@@ -1,4 +1,5 @@
1
- import { _ as e, f as t, m as n, p as r, v as i, w as a, x as o } from "./shared.js";
1
+ import { S as e, h as t, m as n, p as r, v as i, y as a } from "./shared.js";
2
+ import { t as o } from "./shared2.js";
2
3
  //#region libs/checkout/src/utils/dom/restoreCursorAfterFormat.util.ts
3
4
  var s = (e, t, n) => {
4
5
  let r = 0, i = n.length;
@@ -2577,12 +2578,16 @@ var s = (e, t, n) => {
2577
2578
  GM: [
2578
2579
  "220",
2579
2580
  "00",
2580
- "[2-9]\\d{6}",
2581
- [7],
2581
+ "[48]\\d{8}|[2-9]\\d{6}",
2582
+ [7, 9],
2582
2583
  [[
2583
2584
  "(\\d{3})(\\d{4})",
2584
2585
  "$1 $2",
2585
- ["[2-9]"]
2586
+ ["[235-9]|4(?:[0-35]|4[16-9])"]
2587
+ ], [
2588
+ "(\\d{2})(\\d{3})(\\d{4})",
2589
+ "$1 $2 $3",
2590
+ ["[48]"]
2586
2591
  ]]
2587
2592
  ],
2588
2593
  GN: [
@@ -3031,7 +3036,7 @@ var s = (e, t, n) => {
3031
3036
  ],
3032
3037
  IL: [
3033
3038
  "972",
3034
- "0(?:0|1[2-9])",
3039
+ "0(?:0|1(?:05|[2-9]))",
3035
3040
  "1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",
3036
3041
  [
3037
3042
  7,
@@ -5052,7 +5057,7 @@ var s = (e, t, n) => {
5052
5057
  [[
5053
5058
  "(\\d{3})(\\d{4})",
5054
5059
  "$1 $2",
5055
- ["18|[2-69]|85"]
5060
+ ["18|[2-69]|85[02-46-9]"]
5056
5061
  ], [
5057
5062
  "(\\d{4})(\\d{4})",
5058
5063
  "$1 $2",
@@ -6381,7 +6386,7 @@ var s = (e, t, n) => {
6381
6386
  [
6382
6387
  "(\\d{3})(\\d{3})(\\d{2})(\\d{2})",
6383
6388
  "$1 $2 $3 $4",
6384
- ["5[0-79]"],
6389
+ ["5"],
6385
6390
  "0$1",
6386
6391
  1
6387
6392
  ],
@@ -6594,19 +6599,23 @@ var s = (e, t, n) => {
6594
6599
  [
6595
6600
  "(\\d{4})(\\d{5})",
6596
6601
  "$1 $2",
6597
- ["202", "2024"],
6602
+ [
6603
+ "202",
6604
+ "2024",
6605
+ "20240"
6606
+ ],
6598
6607
  "0$1"
6599
6608
  ],
6600
6609
  [
6601
6610
  "(\\d{3})(\\d{6})",
6602
6611
  "$1 $2",
6603
- ["[27-9]|4(?:6[45]|[7-9])"],
6612
+ ["20[0-35-7]|4(?:6[45]|[7-9])|[7-9]", "20(?:[0135-7]|2[5-9])|4(?:6[45]|[7-9])|[7-9]"],
6604
6613
  "0$1"
6605
6614
  ],
6606
6615
  [
6607
6616
  "(\\d{2})(\\d{7})",
6608
6617
  "$1 $2",
6609
- ["[34]"],
6618
+ ["[2-4]"],
6610
6619
  "0$1"
6611
6620
  ]
6612
6621
  ],
@@ -7049,20 +7058,23 @@ var s = (e, t, n) => {
7049
7058
  ZW: [
7050
7059
  "263",
7051
7060
  "00",
7052
- "2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",
7061
+ "(?:13|8\\d{4})\\d{5}|[235-8]\\d{8}|[2-689]\\d{6}",
7053
7062
  [
7054
- 5,
7055
- 6,
7056
7063
  7,
7057
- 8,
7058
7064
  9,
7059
7065
  10
7060
7066
  ],
7061
7067
  [
7068
+ [
7069
+ "(\\d{2})(\\d{3,5})",
7070
+ "$1 $2",
7071
+ ["1|2(?:0[0-36-9]|29|58)|67[0-46-9]|(?:55|68)[0-69]"],
7072
+ "0$1"
7073
+ ],
7062
7074
  [
7063
7075
  "(\\d{3})(\\d{3,5})",
7064
7076
  "$1 $2",
7065
- ["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],
7077
+ ["2(?:0[45]|[27]|48)|37|675|(?:55|68)[78]"],
7066
7078
  "0$1"
7067
7079
  ],
7068
7080
  [
@@ -7078,45 +7090,39 @@ var s = (e, t, n) => {
7078
7090
  "0$1"
7079
7091
  ],
7080
7092
  [
7081
- "(\\d{2})(\\d{7})",
7093
+ "(\\d{4})(\\d{3,5})",
7082
7094
  "$1 $2",
7083
- ["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2", "2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],
7084
- "(0$1)"
7085
- ],
7086
- [
7087
- "(\\d{2})(\\d{3})(\\d{4})",
7088
- "$1 $2 $3",
7089
- ["7"],
7095
+ ["548"],
7090
7096
  "0$1"
7091
7097
  ],
7092
7098
  [
7093
- "(\\d{3})(\\d{3})(\\d{3,4})",
7099
+ "(\\d{2})(\\d{3})(\\d{3,4})",
7094
7100
  "$1 $2 $3",
7095
- ["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)", "2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],
7101
+ ["29[013-9]"],
7096
7102
  "0$1"
7097
7103
  ],
7098
7104
  [
7099
- "(\\d{4})(\\d{6})",
7105
+ "(\\d{2})(\\d{7})",
7100
7106
  "$1 $2",
7101
- ["8"],
7102
- "0$1"
7107
+ ["[256]|39|8[13-59]"],
7108
+ "(0$1)"
7103
7109
  ],
7104
7110
  [
7105
- "(\\d{2})(\\d{3,5})",
7106
- "$1 $2",
7107
- ["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],
7111
+ "(\\d{2})(\\d{3})(\\d{4})",
7112
+ "$1 $2 $3",
7113
+ ["7"],
7108
7114
  "0$1"
7109
7115
  ],
7110
7116
  [
7111
- "(\\d{2})(\\d{3})(\\d{3,4})",
7117
+ "(\\d{3})(\\d{3})(\\d{3,4})",
7112
7118
  "$1 $2 $3",
7113
- ["29[013-9]|39|54"],
7119
+ ["3"],
7114
7120
  "0$1"
7115
7121
  ],
7116
7122
  [
7117
- "(\\d{4})(\\d{3,5})",
7123
+ "(\\d{4})(\\d{6})",
7118
7124
  "$1 $2",
7119
- ["(?:25|54)8", "258|5483"],
7125
+ ["8"],
7120
7126
  "0$1"
7121
7127
  ]
7122
7128
  ],
@@ -10459,29 +10465,29 @@ function xi() {
10459
10465
  var X = (e) => {
10460
10466
  let t = e.toUpperCase().split("").map((e) => 127397 + e.charCodeAt(0));
10461
10467
  return String.fromCodePoint(...t);
10462
- }, Si = (t, n) => {
10463
- let r = Object.values(i);
10464
- return (t?.length ? r.filter((e) => t.includes(e.toUpperCase())) : r).map((t) => {
10468
+ }, Si = (e, t) => {
10469
+ let n = Object.values(a);
10470
+ return (e?.length ? n.filter((t) => e.includes(t.toUpperCase())) : n).map((e) => {
10465
10471
  try {
10466
- let r = bi(t);
10472
+ let n = bi(e);
10467
10473
  return {
10468
- code: t.toUpperCase(),
10469
- name: e(t, n),
10470
- dialCode: `+${r}`,
10471
- flag: X(t)
10474
+ code: e.toUpperCase(),
10475
+ name: i(e, t),
10476
+ dialCode: `+${n}`,
10477
+ flag: X(e)
10472
10478
  };
10473
10479
  } catch {
10474
10480
  return null;
10475
10481
  }
10476
- }).filter((e) => e !== null).sort((e, t) => e.name.localeCompare(t.name, n));
10477
- }, Ci = (t) => {
10482
+ }).filter((e) => e !== null).sort((e, n) => e.name.localeCompare(n.name, t));
10483
+ }, Ci = (e) => {
10478
10484
  try {
10479
- let n = t.toUpperCase(), r = bi(n);
10485
+ let t = e.toUpperCase(), n = bi(t);
10480
10486
  return {
10481
- code: n,
10482
- name: e(n),
10483
- dialCode: `+${r}`,
10484
- flag: X(n)
10487
+ code: t,
10488
+ name: i(t),
10489
+ dialCode: `+${n}`,
10490
+ flag: X(t)
10485
10491
  };
10486
10492
  } catch {
10487
10493
  return null;
@@ -10778,19 +10784,19 @@ var X = (e) => {
10778
10784
  } catch {
10779
10785
  return Infinity;
10780
10786
  }
10781
- }, Oi = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"10\" height=\"10\" viewBox=\"0 0 10 10\" fill=\"none\" aria-hidden=\"true\"><path d=\"M2 3.5L5 6.5L8 3.5\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/></svg>", ki = class extends o {
10787
+ }, Oi = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"10\" height=\"10\" viewBox=\"0 0 10 10\" fill=\"none\" aria-hidden=\"true\"><path d=\"M2 3.5L5 6.5L8 3.5\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/></svg>", ki = class extends e {
10782
10788
  _flagDisplay;
10783
10789
  _selectElement;
10784
10790
  _locale;
10785
- constructor(e) {
10791
+ constructor(t) {
10786
10792
  super("div", ["country-select-wrapper"]);
10787
- let { countries: t, selectedCode: n, locale: r, styles: i, ariaLabel: a, onChange: s } = e;
10788
- this._locale = r, this._flagDisplay = new o("span", ["country-flag"]), this._flagDisplay.setText(X(n)), this._selectElement = new o("select", ["country-select"]), this._selectElement.setAttribute("aria-label", a);
10793
+ let { countries: n, selectedCode: r, locale: i, styles: a, ariaLabel: o, onChange: s } = t;
10794
+ this._locale = i, this._flagDisplay = new e("span", ["country-flag"]), this._flagDisplay.setText(X(r)), this._selectElement = new e("select", ["country-select"]), this._selectElement.setAttribute("aria-label", o);
10789
10795
  let c = this._selectElement.getElement();
10790
- c.style.fontFamily = `"${i.fontFamily}", sans-serif`, c.style.color = i.textColor, c.style.fontSize = `${i.fontSize}px`, this._buildOptions(t, n), this._selectElement.addEventListener("change", (e) => {
10796
+ c.style.fontFamily = `"${a.fontFamily}", sans-serif`, c.style.color = a.textColor, c.style.fontSize = `${a.fontSize}px`, this._buildOptions(n, r), this._selectElement.addEventListener("change", (e) => {
10791
10797
  s(e.target.value);
10792
10798
  });
10793
- let l = new o("span", ["country-chevron"]);
10799
+ let l = new e("span", ["country-chevron"]);
10794
10800
  l.getElement().innerHTML = Oi, this.appendChild(this._flagDisplay), this.appendChild(l), this.appendChild(this._selectElement);
10795
10801
  }
10796
10802
  setCountry(e) {
@@ -10814,7 +10820,7 @@ var X = (e) => {
10814
10820
  }), n.appendChild(i);
10815
10821
  });
10816
10822
  }
10817
- }, Ai = class extends o {
10823
+ }, Ai = class extends e {
10818
10824
  _countrySelector;
10819
10825
  _inputElement;
10820
10826
  _countryCodeInput;
@@ -10826,35 +10832,35 @@ var X = (e) => {
10826
10832
  _onBlur;
10827
10833
  _translationFunc;
10828
10834
  _customPlaceholder;
10829
- constructor(e) {
10835
+ constructor(r) {
10830
10836
  super("div", ["input-wrapper", "phone-number-field-wrapper"]);
10831
- let { value: t, onChange: i, onBlur: a, onTab: s, checkoutProfile: c, translationFunc: l, defaultCountry: u, allowedCountries: d, locale: f, label: p, placeholder: m } = e;
10832
- this._onChange = i, this._onBlur = a, this._translationFunc = l, this._customPlaceholder = m, this._currentCountryCode = u?.toUpperCase() || "US", this._buildLabel(c, l, p), this._containerElement = this._buildContainer(c), this._countrySelector = this._buildCountrySelector(d, f, c, l), this._containerElement.appendChild(this._countrySelector), this._countryCodeInput = r.createInput("hidden", [], {
10837
+ let { value: i, onChange: a, onBlur: o, onTab: s, checkoutProfile: c, translationFunc: l, defaultCountry: u, allowedCountries: d, locale: f, label: p, placeholder: m } = r;
10838
+ this._onChange = a, this._onBlur = o, this._translationFunc = l, this._customPlaceholder = m, this._currentCountryCode = u?.toUpperCase() || "US", this._buildLabel(c, l, p), this._containerElement = this._buildContainer(c), this._countrySelector = this._buildCountrySelector(d, f, c, l), this._containerElement.appendChild(this._countrySelector), this._countryCodeInput = n.createInput("hidden", [], {
10833
10839
  name: "phoneCountryCode",
10834
10840
  value: this._currentCountryCode
10835
10841
  }), this.appendChild(this._countryCodeInput);
10836
- let h = this._currentCountryCode, { inputElement: g, initialValue: _ } = this._buildInput(c, t, s);
10837
- this._inputElement = g, _ !== t && (this._inputElement.getElement().value = _), this._currentCountryCode !== h && this._syncCountryCodeInput(this._currentCountryCode);
10838
- let v = new o("div", ["phone-input-wrapper"]);
10839
- v.appendChild(this._inputElement), this._containerElement.appendChild(v), this.appendChild(this._containerElement), this._helperText = new n({
10840
- text: e.errorMsg || "",
10841
- visible: e.error
10842
- }), this.appendChild(this._helperText), e.error && this._containerElement.addClass("error");
10843
- }
10844
- _buildLabel(e, n, r) {
10845
- let i = new t({
10842
+ let h = this._currentCountryCode, { inputElement: g, initialValue: _ } = this._buildInput(c, i, s);
10843
+ this._inputElement = g, _ !== i && (this._inputElement.getElement().value = _), this._currentCountryCode !== h && this._syncCountryCodeInput(this._currentCountryCode);
10844
+ let v = new e("div", ["phone-input-wrapper"]);
10845
+ v.appendChild(this._inputElement), this._containerElement.appendChild(v), this.appendChild(this._containerElement), this._helperText = new t({
10846
+ text: r.errorMsg || "",
10847
+ visible: r.error
10848
+ }), this.appendChild(this._helperText), r.error && this._containerElement.addClass("error");
10849
+ }
10850
+ _buildLabel(e, t, n) {
10851
+ let i = new r({
10846
10852
  styles: {
10847
10853
  color: e.styles.textColor,
10848
10854
  fontSize: e.styles.fontSize
10849
10855
  },
10850
- label: r ?? n("phoneNumber"),
10856
+ label: n ?? t("phoneNumber"),
10851
10857
  id: "phoneNumber"
10852
10858
  });
10853
10859
  this.appendChild(i);
10854
10860
  }
10855
- _buildContainer(e) {
10856
- let t = new o("div", ["phone-number-field-container"]), n = t.getElement();
10857
- return n.style.borderRadius = `${e.styles.borderRadius}px`, n.style.setProperty("--phone-border-radius", `${e.styles.borderRadius}px`), t;
10861
+ _buildContainer(t) {
10862
+ let n = new e("div", ["phone-number-field-container"]), r = n.getElement();
10863
+ return r.style.borderRadius = `${t.styles.borderRadius}px`, r.style.setProperty("--phone-border-radius", `${t.styles.borderRadius}px`), n;
10858
10864
  }
10859
10865
  _buildCountrySelector(e, t, n, r) {
10860
10866
  return new ki({
@@ -10872,13 +10878,13 @@ var X = (e) => {
10872
10878
  }
10873
10879
  });
10874
10880
  }
10875
- _buildInput(e, t, n) {
10881
+ _buildInput(e, t, r) {
10876
10882
  let i = t;
10877
10883
  if (t && t.startsWith("+")) {
10878
10884
  let e = Q(t);
10879
10885
  e && (this._currentCountryCode = e.countryCode, this._countrySelector.setCountry(e.countryCode), i = Z(t, e.countryCode));
10880
10886
  }
10881
- let a = r.createInput("tel", ["form-input"], {
10887
+ let a = n.createInput("tel", ["form-input"], {
10882
10888
  id: "phoneNumber",
10883
10889
  name: "phoneNumber",
10884
10890
  placeholder: this._customPlaceholder ?? $(this._currentCountryCode),
@@ -10892,9 +10898,9 @@ var X = (e) => {
10892
10898
  this._containerElement.addClass("focused");
10893
10899
  }), a.addEventListener("blur", (e) => {
10894
10900
  this._containerElement.removeClass("focused"), this._validateInput(this._inputElement.getElement().value, !0), this._onBlur(e);
10895
- }), n && a.addEventListener("keydown", (e) => {
10901
+ }), r && a.addEventListener("keydown", (e) => {
10896
10902
  let t = e;
10897
- t.key === "Tab" && !t.shiftKey && (t.preventDefault(), n());
10903
+ t.key === "Tab" && !t.shiftKey && (t.preventDefault(), r());
10898
10904
  }), {
10899
10905
  inputElement: a,
10900
10906
  initialValue: i
@@ -10920,7 +10926,7 @@ var X = (e) => {
10920
10926
  a !== e && (t.value = a, s(t, i, a));
10921
10927
  }
10922
10928
  _syncCountryCodeInput(e) {
10923
- this._countryCodeInput.getElement().value = e, this._onChange(a({
10929
+ this._countryCodeInput.getElement().value = e, this._onChange(o({
10924
10930
  type: "input",
10925
10931
  target: {
10926
10932
  name: "phoneCountryCode",
@@ -1,2 +1,2 @@
1
- export { CheckoutAPIService } from '../../core/api/CheckoutAPI.service';
1
+ export { cardNotTokenizedMessage, CheckoutAPIService, } from '../../core/api/CheckoutAPI.service';
2
2
  //# sourceMappingURL=CheckoutAPI.service.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CheckoutAPI.service.d.ts","sourceRoot":"","sources":["../../../src/services/checkout/CheckoutAPI.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC"}
1
+ {"version":3,"file":"CheckoutAPI.service.d.ts","sourceRoot":"","sources":["../../../src/services/checkout/CheckoutAPI.service.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,kBAAkB,GACnB,MAAM,oCAAoC,CAAC"}
@@ -17,6 +17,12 @@ type FormOptions = {
17
17
  };
18
18
  initialValues?: InitialValues;
19
19
  vgsJwt?: string;
20
+ supportedPaymentMethods?: {
21
+ card?: boolean;
22
+ paypal?: boolean;
23
+ applePay?: boolean;
24
+ [key: string]: boolean | undefined;
25
+ };
20
26
  };
21
27
  type SubmitHandler = (data: {
22
28
  formData: FormData | null;
@@ -1 +1 @@
1
- {"version":3,"file":"CheckoutForm.service.d.ts","sourceRoot":"","sources":["../../../src/services/checkout/CheckoutForm.service.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,UAAU,EACV,WAAW,EACX,aAAa,EACd,MAAM,0CAA0C,CAAC;AAClD,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAE7D,KAAK,WAAW,GAAG;IACjB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,oBAAoB,EAAE,OAAO,CAAC;IAC9B,WAAW,EAAE,WAAW,CAAC;IACzB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,oBAAoB,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE;QAChB,MAAM,EAAE,MAAM,CAAC;QACf,QAAQ,EAAE,MAAM,CAAC;QACjB,WAAW,EAAE,MAAM,CAAC;KACrB,CAAC;IACF,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,KAAK,aAAa,GAAG,CAAC,IAAI,EAAE;IAC1B,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAAC;IAC1B,YAAY,CAAC,EAAE,YAAY,CAAC;CAC7B,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;AAEvB,qBAAa,mBAAmB;IAC9B,OAAO,CAAC,SAAS,CAA4B;IAC7C,OAAO,CAAC,OAAO,CAAc;IAC7B,OAAO,CAAC,QAAQ,CAAgB;IAChC,OAAO,CAAC,IAAI,CAAqB;gBAErB,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,aAAa;IAKzD,KAAK,CAAC,SAAS,EAAE,WAAW,GAAG,IAAI;IAOnC,MAAM,CAAC,KAAK,EAAE;QACZ,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,UAAU,CAAC,EAAE,UAAU,CAAC;QACxB,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB,GAAG,IAAI;IAkBR,OAAO,CAAC,UAAU;IA0BlB,OAAO,IAAI,IAAI;IAOf,YAAY,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IAOnC,UAAU,IAAI,IAAI;IAMZ,gBAAgB,CACpB,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,MAAM,EACnB,uBAAuB,EAAE;QACvB,IAAI,CAAC,EAAE,OAAO,CAAC;QACf,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;KACpC,EACD,eAAe,EAAE;QACf,MAAM,EAAE,MAAM,CAAC;QACf,QAAQ,EAAE,MAAM,CAAC;QACjB,WAAW,EAAE,MAAM,CAAC;KACrB,EACD,MAAM,CAAC,EAAE,MAAM,GACd,OAAO,CAAC,IAAI,CAAC;CAkBjB"}
1
+ {"version":3,"file":"CheckoutForm.service.d.ts","sourceRoot":"","sources":["../../../src/services/checkout/CheckoutForm.service.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,UAAU,EACV,WAAW,EACX,aAAa,EACd,MAAM,0CAA0C,CAAC;AAClD,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAE7D,KAAK,WAAW,GAAG;IACjB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,oBAAoB,EAAE,OAAO,CAAC;IAC9B,WAAW,EAAE,WAAW,CAAC;IACzB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,oBAAoB,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE;QAChB,MAAM,EAAE,MAAM,CAAC;QACf,QAAQ,EAAE,MAAM,CAAC;QACjB,WAAW,EAAE,MAAM,CAAC;KACrB,CAAC;IACF,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,uBAAuB,CAAC,EAAE;QACxB,IAAI,CAAC,EAAE,OAAO,CAAC;QACf,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;KACpC,CAAC;CACH,CAAC;AAEF,KAAK,aAAa,GAAG,CAAC,IAAI,EAAE;IAC1B,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAAC;IAC1B,YAAY,CAAC,EAAE,YAAY,CAAC;CAC7B,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;AAEvB,qBAAa,mBAAmB;IAC9B,OAAO,CAAC,SAAS,CAA4B;IAC7C,OAAO,CAAC,OAAO,CAAc;IAC7B,OAAO,CAAC,QAAQ,CAAgB;IAChC,OAAO,CAAC,IAAI,CAAqB;gBAErB,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,aAAa;IAKzD,KAAK,CAAC,SAAS,EAAE,WAAW,GAAG,IAAI;IAOnC,MAAM,CAAC,KAAK,EAAE;QACZ,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,UAAU,CAAC,EAAE,UAAU,CAAC;QACxB,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB,GAAG,IAAI;IAkBR,OAAO,CAAC,UAAU;IA2BlB,OAAO,IAAI,IAAI;IAOf,YAAY,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IAOnC,UAAU,IAAI,IAAI;IAMZ,gBAAgB,CACpB,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,MAAM,EACnB,uBAAuB,EAAE;QACvB,IAAI,CAAC,EAAE,OAAO,CAAC;QACf,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;KACpC,EACD,eAAe,EAAE;QACf,MAAM,EAAE,MAAM,CAAC;QACf,QAAQ,EAAE,MAAM,CAAC;QACjB,WAAW,EAAE,MAAM,CAAC;KACrB,EACD,MAAM,CAAC,EAAE,MAAM,GACd,OAAO,CAAC,IAAI,CAAC;CAqBjB"}