@moonbase.sh/storefront 1.0.20 → 1.0.21
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.
- package/README.md +1 -0
- package/dist/moonbase.d.ts +6 -0
- package/dist/moonbase.js +694 -684
- package/dist/moonbase.umd.cjs +12 -12
- package/package.json +2 -2
package/dist/moonbase.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
(function(){"use strict";((n,e)=>{try{typeof document<"u"&&globalThis&&!globalThis.MoonbaseCSS&&(globalThis.MoonbaseCSS={inject:()=>{if(document.getElementById("moonbase-styles"))return;const o=document.createElement("style");o.id="moonbase-styles";for(const a in e.attributes)o.setAttribute(a,e.attributes[a]);o.appendChild(document.createTextNode(n)),document.head.appendChild(o)}},(globalThis.Moonbase||document.getElementById("moonbase"))&&globalThis.MoonbaseCSS.inject())}catch(o){console.error("Moonbase could not create style injector",o)}})('#moonbase .moonbase\\:icon-button{position:relative;display:inline-flex;justify-content:center;align-items:center;overflow:hidden;transition-property:color,background-color,border-color,box-shadow,opacity;transition-timing-function:ease-in-out;transition-duration:.2s;box-shadow:none}#moonbase .moonbase\\:icon-button,#moonbase .moonbase\\:icon-button:hover,#moonbase .moonbase\\:icon-button:focus,#moonbase .moonbase\\:icon-button:active{border-radius:0;border-width:1px;border-style:solid;height:unset;width:unset}#moonbase .moonbase\\:icon-button[data-corners=soft],#moonbase .moonbase\\:icon-button:hover[data-corners=soft],#moonbase .moonbase\\:icon-button:focus[data-corners=soft],#moonbase .moonbase\\:icon-button:active[data-corners=soft]{border-radius:8px}#moonbase .moonbase\\:icon-button[data-corners=round],#moonbase .moonbase\\:icon-button:hover[data-corners=round],#moonbase .moonbase\\:icon-button:focus[data-corners=round],#moonbase .moonbase\\:icon-button:active[data-corners=round]{border-radius:9999px}#moonbase .moonbase\\:icon-button[data-size=large],#moonbase .moonbase\\:icon-button:hover[data-size=large],#moonbase .moonbase\\:icon-button:focus[data-size=large],#moonbase .moonbase\\:icon-button:active[data-size=large]{padding:12px}#moonbase .moonbase\\:icon-button[data-size=large] svg,#moonbase .moonbase\\:icon-button:hover[data-size=large] svg,#moonbase .moonbase\\:icon-button:focus[data-size=large] svg,#moonbase .moonbase\\:icon-button:active[data-size=large] svg{color:inherit;height:24px;width:24px}#moonbase .moonbase\\:icon-button[data-size=medium],#moonbase .moonbase\\:icon-button:hover[data-size=medium],#moonbase .moonbase\\:icon-button:focus[data-size=medium],#moonbase .moonbase\\:icon-button:active[data-size=medium]{padding:8px}#moonbase .moonbase\\:icon-button[data-size=medium] svg,#moonbase .moonbase\\:icon-button:hover[data-size=medium] svg,#moonbase .moonbase\\:icon-button:focus[data-size=medium] svg,#moonbase .moonbase\\:icon-button:active[data-size=medium] svg{color:inherit;height:24px;width:24px}#moonbase .moonbase\\:icon-button[data-variant=primary],#moonbase .moonbase\\:icon-button:hover[data-variant=primary],#moonbase .moonbase\\:icon-button:focus[data-variant=primary],#moonbase .moonbase\\:icon-button:active[data-variant=primary]{background-color:var(--moonbase-bg-brand-primary);color:var(--moonbase-text-contrast);border-color:var(--moonbase-bg-brand-primary)}#moonbase .moonbase\\:icon-button[data-variant=secondary-light],#moonbase .moonbase\\:icon-button:hover[data-variant=secondary-light],#moonbase .moonbase\\:icon-button:focus[data-variant=secondary-light],#moonbase .moonbase\\:icon-button:active[data-variant=secondary-light]{background-color:var(--moonbase-bg-brand-secondary);color:var(--moonbase-text-brand-primary);border-color:var(--moonbase-bg-brand-secondary)}#moonbase .moonbase\\:icon-button[data-variant=secondary-outline],#moonbase .moonbase\\:icon-button:hover[data-variant=secondary-outline],#moonbase .moonbase\\:icon-button:focus[data-variant=secondary-outline],#moonbase .moonbase\\:icon-button:active[data-variant=secondary-outline]{background-color:var(--moonbase-bg-primary);color:var(--moonbase-text-primary);border-color:var(--moonbase-border-secondary)}#moonbase .moonbase\\:icon-button[data-variant=subtle],#moonbase .moonbase\\:icon-button:hover[data-variant=subtle],#moonbase .moonbase\\:icon-button:focus[data-variant=subtle],#moonbase .moonbase\\:icon-button:active[data-variant=subtle]{background-color:transparent;color:var(--moonbase-text-primary);border-color:transparent}#moonbase .moonbase\\:icon-button:hover[data-variant=primary],#moonbase .moonbase\\:icon-button:focus[data-variant=primary]{background-color:var(--moonbase-bg-brand-primary-hover);border-color:var(--moonbase-bg-brand-primary-hover)}#moonbase .moonbase\\:icon-button:hover[data-variant=secondary-light],#moonbase .moonbase\\:icon-button:focus[data-variant=secondary-light]{background-color:var(--moonbase-bg-brand-secondary-hover);border-color:var(--moonbase-bg-brand-secondary-hover)}#moonbase .moonbase\\:icon-button:hover[data-variant=secondary-outline],#moonbase .moonbase\\:icon-button:focus[data-variant=secondary-outline]{background-color:var(--moonbase-bg-primary);border-color:var(--moonbase-border-tertiary-hover)}#moonbase .moonbase\\:icon-button:hover[data-variant=subtle],#moonbase .moonbase\\:icon-button:focus[data-variant=subtle]{background-color:var(--moonbase-bg-secondary);border-color:var(--moonbase-bg-secondary)}#moonbase .moonbase\\:icon-button:hover[data-variant=subtle][data-background=gray],#moonbase .moonbase\\:icon-button:focus[data-variant=subtle][data-background=gray]{background-color:var(--moonbase-bg-secondary-hover);border-color:var(--moonbase-bg-secondary-hover)}#moonbase .moonbase\\:text-display{font-weight:800;font-size:32px;line-height:42px;letter-spacing:-.03em;font-family:var(--moonbase-font-heading),system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"}#moonbase .moonbase\\:text-subtitle{font-weight:700;font-size:16px;line-height:24px;letter-spacing:-.01em}#moonbase .moonbase\\:drawer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2147483647;overflow-y:auto}#moonbase .moonbase\\:drawer[data-contain]{position:absolute}#moonbase .moonbase\\:drawer-container{display:flex;height:100svh;align-items:flex-end;justify-content:center;padding:16px 16px 90px}#moonbase .moonbase\\:drawer-container[data-contain]{height:100%}@media (min-width: 640px){#moonbase .moonbase\\:drawer-container{padding:0}}#moonbase .moonbase\\:drawer-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;transition-property:opacity;opacity:0}#moonbase .moonbase\\:drawer-overlay[data-contain]{position:absolute}#moonbase .moonbase\\:drawer-overlay[data-transition~=enter]{transition-timing-function:ease-out;transition-duration:.3s}#moonbase .moonbase\\:drawer-overlay[data-transition~=entered],#moonbase .moonbase\\:drawer-overlay[data-transition~=enter-to],#moonbase .moonbase\\:drawer-overlay[data-transition~=leave-from]{opacity:1}#moonbase .moonbase\\:drawer-overlay[data-transition~=leave]{transition-timing-function:ease-in;transition-duration:.2s}#moonbase .moonbase\\:drawer-panel{position:fixed;top:0;right:0;bottom:0;padding:32px 32px 0;display:inline-flex;flex-direction:column;color:var(--moonbase-text-primary);box-shadow:var(--moonbase-modal-shadow-color) 0 8px 32px 0;transition-property:opacity transform;opacity:0;transform:translateY(16px);width:100vw;max-width:460px;background-color:var(--moonbase-bg-primary)}#moonbase .moonbase\\:drawer-panel[data-background=white]{background-color:var(--moonbase-bg-primary)}#moonbase .moonbase\\:drawer-panel[data-background=gray]{background-color:var(--moonbase-bg-secondary)}#moonbase .moonbase\\:drawer-panel[data-contain]{position:absolute}@media (min-width: 640px){#moonbase .moonbase\\:drawer-panel{transform:translate(48px)}}#moonbase .moonbase\\:drawer-panel[data-transition~=enter]{transition-timing-function:ease-out;transition-duration:.3s}#moonbase .moonbase\\:drawer-panel[data-transition~=entered],#moonbase .moonbase\\:drawer-panel[data-transition~=enter-to]{opacity:1;transform:translateY(0)}@media (min-width: 640px){#moonbase .moonbase\\:drawer-panel[data-transition~=entered],#moonbase .moonbase\\:drawer-panel[data-transition~=enter-to]{transform:translate(0)}}#moonbase .moonbase\\:drawer-panel[data-transition~=leave]{transition-timing-function:ease-in;transition-duration:.2s}#moonbase .moonbase\\:drawer-panel[data-transition~=leave-from]{opacity:1;transform:translateY(0)}@media (min-width: 640px){#moonbase .moonbase\\:drawer-panel[data-transition~=leave-from]{transform:translate(0)}}#moonbase .moonbase\\:drawer-panel>.moonbase\\:drawer-header{display:flex;justify-content:space-between;padding-bottom:16px}#moonbase .moonbase\\:drawer-panel>h2{margin:16px 0}#moonbase .moonbase\\:drawer-panel>.moonbase\\:drawer-content{flex-grow:1;flex-shrink:1;overflow-y:auto;overflow-x:hidden;margin:0 -32px}#moonbase .moonbase\\:drawer-panel>.moonbase\\:drawer-content[data-background=white]{background:linear-gradient(var(--moonbase-bg-primary) 30%,rgba(255,255,255,0)) center top,linear-gradient(rgba(255,255,255,0),var(--moonbase-bg-primary) 70%) center bottom,radial-gradient(farthest-side at 50% 0,#0003,#0000) center top,radial-gradient(farthest-side at 50% 100%,#0003,#0000) center bottom;background-repeat:no-repeat;background-size:100% 40px,100% 40px,100% 14px,100% 14px;background-attachment:local,local,scroll,scroll}#moonbase .moonbase\\:drawer-panel>.moonbase\\:drawer-content[data-background=gray]{background:linear-gradient(var(--moonbase-bg-secondary) 30%,rgba(255,255,255,0)) center top,linear-gradient(rgba(255,255,255,0),var(--moonbase-bg-secondary) 70%) center bottom,radial-gradient(farthest-side at 50% 0,#0003,#0000) center top,radial-gradient(farthest-side at 50% 100%,#0003,#0000) center bottom;background-repeat:no-repeat;background-size:100% 40px,100% 40px,100% 14px,100% 14px;background-attachment:local,local,scroll,scroll}#moonbase .moonbase\\:text-body-bold{font-weight:600;font-size:16px;line-height:24px;letter-spacing:-.01em}#moonbase .moonbase\\:toolbar{position:fixed;height:48px;z-index:9999;background-color:var(--moonbase-gray-900);color:var(--moonbase-white);box-shadow:0 1px 4px #0a162a1f,0 1px 4px #0a162acc;display:flex;align-items:stretch;transition-duration:.1s;transition-property:all;transition-timing-function:ease-out;opacity:0}#moonbase .moonbase\\:toolbar[data-corners=soft]{border-radius:8px}#moonbase .moonbase\\:toolbar[data-corners=round]{border-radius:9999px}#moonbase .moonbase\\:toolbar[data-contain]{position:absolute}#moonbase .moonbase\\:toolbar[data-location=bottom-right]{right:32px;bottom:32px;transform:translateY(8px)}#moonbase .moonbase\\:toolbar[data-location=bottom-left]{left:32px;bottom:32px;transform:translateY(8px)}#moonbase .moonbase\\:toolbar[data-location=top-right]{right:32px;top:32px;transform:translateY(-8px)}#moonbase .moonbase\\:toolbar[data-location=top-left]{left:32px;top:32px;transform:translateY(-8px)}#moonbase .moonbase\\:toolbar[data-visible]{transform:translateY(0);opacity:1;transition-duration:.5s}#moonbase .moonbase\\:toolbar-action{padding:16px 24px;transition:background-color .25s ease-out;cursor:pointer;display:flex;align-items:center;display:relative}#moonbase .moonbase\\:toolbar-action svg{opacity:.5;transition:opacity .25s ease-in-out}#moonbase .moonbase\\:toolbar-action:hover{background-color:#ffffff1a}#moonbase .moonbase\\:toolbar-action:hover svg{opacity:1}#moonbase .moonbase\\:toolbar-action[data-action-width=narrow]{padding:16px}#moonbase .moonbase\\:toolbar-action:not(:first-child){border-left:1px solid var(--moonbase-gray-700)}#moonbase .moonbase\\:toolbar-cart-count{position:absolute;top:0;right:0;transform:translate(50%,-50%);height:32px;width:32px;border-radius:9999px;color:var(--moonbase-white);background-color:var(--moonbase-brand-500);text-align:center;font-size:12px;line-height:100%;padding:9px 0}@keyframes moonbase\\:spin-687bcaf0{to{transform:rotate(360deg)}}#moonbase svg[data-v-687bcaf0]{animation:moonbase\\:spin-687bcaf0 1s linear infinite}#moonbase .moonbase\\:button{position:relative;display:inline-flex;justify-content:center;align-items:center;overflow:hidden;transition-property:color,background-color,border-color,box-shadow,padding;transition-timing-function:ease-in-out;transition-duration:.2s;box-shadow:none}#moonbase .moonbase\\:button,#moonbase .moonbase\\:button:hover,#moonbase .moonbase\\:button:focus,#moonbase .moonbase\\:button:active{border-radius:0;border-width:1px;border-style:solid;height:unset;width:unset}#moonbase .moonbase\\:button[data-corners=soft],#moonbase .moonbase\\:button:hover[data-corners=soft],#moonbase .moonbase\\:button:focus[data-corners=soft],#moonbase .moonbase\\:button:active[data-corners=soft]{border-radius:8px}#moonbase .moonbase\\:button[data-corners=round],#moonbase .moonbase\\:button:hover[data-corners=round],#moonbase .moonbase\\:button:focus[data-corners=round],#moonbase .moonbase\\:button:active[data-corners=round]{border-radius:9999px}#moonbase .moonbase\\:button[data-size=large],#moonbase .moonbase\\:button:hover[data-size=large],#moonbase .moonbase\\:button:focus[data-size=large],#moonbase .moonbase\\:button:active[data-size=large]{padding:13px;font-weight:600;font-size:16px;line-height:100%;letter-spacing:-1%}#moonbase .moonbase\\:button[data-size=medium],#moonbase .moonbase\\:button:hover[data-size=medium],#moonbase .moonbase\\:button:focus[data-size=medium],#moonbase .moonbase\\:button:active[data-size=medium]{padding:11px 16px;font-weight:600;font-size:16px;line-height:100%;letter-spacing:-1%}#moonbase .moonbase\\:button[data-size=small],#moonbase .moonbase\\:button:hover[data-size=small],#moonbase .moonbase\\:button:focus[data-size=small],#moonbase .moonbase\\:button:active[data-size=small]{padding:9px 12px;font-weight:600;font-size:12px;line-height:100%;letter-spacing:-1%}#moonbase .moonbase\\:button[data-variant=primary],#moonbase .moonbase\\:button:hover[data-variant=primary],#moonbase .moonbase\\:button:focus[data-variant=primary],#moonbase .moonbase\\:button:active[data-variant=primary]{background-color:var(--moonbase-bg-brand-primary);color:var(--moonbase-text-contrast);border-color:var(--moonbase-bg-brand-primary)}#moonbase .moonbase\\:button[data-variant=secondary-light],#moonbase .moonbase\\:button:hover[data-variant=secondary-light],#moonbase .moonbase\\:button:focus[data-variant=secondary-light],#moonbase .moonbase\\:button:active[data-variant=secondary-light]{background-color:var(--moonbase-bg-brand-secondary);color:var(--moonbase-text-brand-primary);border-color:var(--moonbase-bg-brand-secondary)}#moonbase .moonbase\\:button[data-variant=secondary-outlined],#moonbase .moonbase\\:button:hover[data-variant=secondary-outlined],#moonbase .moonbase\\:button:focus[data-variant=secondary-outlined],#moonbase .moonbase\\:button:active[data-variant=secondary-outlined]{background-color:var(--moonbase-bg-primary);color:var(--moonbase-text-primary);border-color:var(--moonbase-border-secondary)}#moonbase .moonbase\\:button[data-variant=danger],#moonbase .moonbase\\:button:hover[data-variant=danger],#moonbase .moonbase\\:button:focus[data-variant=danger],#moonbase .moonbase\\:button:active[data-variant=danger]{background-color:var(--moonbase-bg-danger-secondary);border-color:var(--moonbase-bg-danger-secondary);color:var(--moonbase-text-neutral-primary)}#moonbase .moonbase\\:button[data-variant=subtle],#moonbase .moonbase\\:button:hover[data-variant=subtle],#moonbase .moonbase\\:button:focus[data-variant=subtle],#moonbase .moonbase\\:button:active[data-variant=subtle]{background-color:transparent;color:var(--moonbase-text-primary);border-color:transparent}#moonbase .moonbase\\:button[data-variant=subtle-danger],#moonbase .moonbase\\:button:hover[data-variant=subtle-danger],#moonbase .moonbase\\:button:focus[data-variant=subtle-danger],#moonbase .moonbase\\:button:active[data-variant=subtle-danger]{background-color:transparent;color:var(--moonbase-text-danger-tertiary);border-color:transparent}#moonbase .moonbase\\:button[data-success],#moonbase .moonbase\\:button:hover[data-success],#moonbase .moonbase\\:button:focus[data-success],#moonbase .moonbase\\:button:active[data-success]{color:var(--moonbase-text-contrast);background-color:var(--moonbase-bg-success-tertiary-hover);border-color:var(--moonbase-bg-success-tertiary-hover)}#moonbase .moonbase\\:button[data-error],#moonbase .moonbase\\:button:hover[data-error],#moonbase .moonbase\\:button:focus[data-error],#moonbase .moonbase\\:button:active[data-error]{color:var(--moonbase-text-contrast);background-color:var(--moonbase-bg-danger-tertiary-hover);border-color:var(--moonbase-bg-danger-tertiary-hover)}#moonbase .moonbase\\:button:hover[data-variant=primary],#moonbase .moonbase\\:button:focus[data-variant=primary]{background-color:var(--moonbase-bg-brand-primary-hover);border-color:var(--moonbase-bg-brand-primary-hover)}#moonbase .moonbase\\:button:hover[data-variant=secondary-light],#moonbase .moonbase\\:button:focus[data-variant=secondary-light]{background-color:var(--moonbase-bg-brand-secondary-hover);border-color:var(--moonbase-bg-brand-secondary-hover)}#moonbase .moonbase\\:button:hover[data-variant=secondary-outlined],#moonbase .moonbase\\:button:focus[data-variant=secondary-outlined]{background-color:var(--moonbase-bg-primary);border-color:var(--moonbase-border-tertiary-hover)}#moonbase .moonbase\\:button:hover[data-variant=danger],#moonbase .moonbase\\:button:focus[data-variant=danger]{background-color:var(--moonbase-bg-danger-secondary-hover);color:var(--moonbase-text-neutral-primary)}#moonbase .moonbase\\:button:hover[data-variant=subtle],#moonbase .moonbase\\:button:focus[data-variant=subtle]{background-color:var(--moonbase-bg-secondary);border-color:var(--moonbase-bg-secondary)}#moonbase .moonbase\\:button:hover[data-variant=subtle][data-background=gray],#moonbase .moonbase\\:button:focus[data-variant=subtle][data-background=gray]{background-color:var(--moonbase-bg-secondary-hover);border-color:var(--moonbase-bg-secondary-hover)}#moonbase .moonbase\\:button:hover[data-variant=subtle-danger],#moonbase .moonbase\\:button:hover[data-variant=subtle-danger][data-background=gray],#moonbase .moonbase\\:button:focus[data-variant=subtle-danger],#moonbase .moonbase\\:button:focus[data-variant=subtle-danger][data-background=gray]{background-color:var(--moonbase-bg-danger-primary-hover);border-color:var(--moonbase-border-danger-secondary)}#moonbase .moonbase\\:button:hover[data-success],#moonbase .moonbase\\:button:focus[data-success]{color:var(--moonbase-text-contrast);background-color:var(--moonbase-bg-success-tertiary-hover);border-color:var(--moonbase-bg-success-tertiary-hover)}#moonbase .moonbase\\:button:hover[data-error],#moonbase .moonbase\\:button:focus[data-error]{color:var(--moonbase-text-contrast);background-color:var(--moonbase-bg-danger-tertiary-hover);border-color:var(--moonbase-bg-danger-tertiary-hover)}#moonbase .moonbase\\:button:disabled[data-variant=primary]{background-color:var(--moonbase-bg-disabled);border-color:var(--moonbase-bg-disabled);color:var(--moonbase-text-disabled)}#moonbase .moonbase\\:button:disabled[data-variant=secondary-light]{background-color:var(--moonbase-bg-disabled);border-color:var(--moonbase-bg-disabled);color:var(--moonbase-text-disabled)}#moonbase .moonbase\\:button:disabled[data-variant=secondary-outline]{background-color:transparent;border-color:var(--moonbase-bg-disabled);color:var(--moonbase-text-disabled)}#moonbase .moonbase\\:button:disabled[data-variant=subtle]{color:var(--moonbase-text-disabled)}#moonbase .moonbase\\:button:disabled[data-success]{color:var(--moonbase-text-contrast);background-color:var(--moonbase-bg-success-tertiary-hover);border-color:var(--moonbase-bg-success-tertiary-hover)}#moonbase .moonbase\\:button:disabled[data-error]{color:var(--moonbase-text-contrast);background-color:var(--moonbase-bg-danger-tertiary-hover);border-color:var(--moonbase-bg-danger-tertiary-hover)}#moonbase .moonbase\\:button>div{margin-left:-10px;margin-right:10px;height:20px;width:0px;opacity:0;transition-property:opacity,width;transition-duration:.2s;transition-timing-function:ease-in-out}#moonbase .moonbase\\:button>div svg{height:20px;width:20px}#moonbase .moonbase\\:button[data-size=small]>div{height:12px}#moonbase .moonbase\\:button[data-size=small]>div svg{height:12px;width:12px}#moonbase .moonbase\\:button[data-icon-visible][data-size=large],#moonbase .moonbase\\:button[data-icon-visible]:hover[data-size=large],#moonbase .moonbase\\:button[data-icon-visible]:focus[data-size=large],#moonbase .moonbase\\:button[data-icon-visible]:active[data-size=large]{padding-left:20px}#moonbase .moonbase\\:button[data-icon-visible][data-size=medium],#moonbase .moonbase\\:button[data-icon-visible]:hover[data-size=medium],#moonbase .moonbase\\:button[data-icon-visible]:focus[data-size=medium],#moonbase .moonbase\\:button[data-icon-visible]:active[data-size=medium]{padding-left:20px}#moonbase .moonbase\\:button[data-icon-visible][data-size=small],#moonbase .moonbase\\:button[data-icon-visible]:hover[data-size=small],#moonbase .moonbase\\:button[data-icon-visible]:focus[data-size=small],#moonbase .moonbase\\:button[data-icon-visible]:active[data-size=small]{padding-left:12px}#moonbase .moonbase\\:button[data-icon-visible]>div{width:20px;opacity:1}#moonbase .moonbase\\:button[data-icon-visible][data-size=small]>div{width:12px}#moonbase .moonbase\\:text-body{font-weight:400;font-size:16px;line-height:24px;letter-spacing:-.01em}#moonbase .moonbase\\:text-subtext{font-weight:400;font-size:14px;line-height:20px;letter-spacing:0}#moonbase .moonbase\\:about{display:inline-flex;color:var(--moonbase-text-primary);flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:64px}#moonbase .moonbase\\:about>h3{font-size:18px;line-height:24px;font-weight:500;margin-top:16px}#moonbase .moonbase\\:about>span{color:var(--moonbase-text-secondary);margin-top:16px;text-wrap:pretty}#moonbase .moonbase\\:about>span>a{text-decoration:underline}#moonbase .moonbase\\:about>button,#moonbase .moonbase\\:about>button:hover,#moonbase .moonbase\\:about>button:focus,#moonbase .moonbase\\:about>button:active{margin-top:32px;width:100%}#moonbase .moonbase\\:card>.moonbase\\:card-content{display:flex;padding:16px}#moonbase .moonbase\\:card>.moonbase\\:card-content>:not(:first-child){margin-left:16px}#moonbase .moonbase\\:card[data-corners=soft]{border-radius:8px}#moonbase .moonbase\\:card[data-corners=round]{border-radius:24px}#moonbase .moonbase\\:card[data-variant=outlined]{border:1px solid var(--moonbase-border-secondary)}#moonbase .moonbase\\:card[data-variant=shadow]{background-color:var(--moonbase-bg-primary);box-shadow:0 1px 4px #0a162a14;border:1px solid transparent}#moonbase .moonbase\\:card[data-variant=white]{background-color:var(--moonbase-bg-primary);border:1px solid transparent}#moonbase .moonbase\\:product-icon{overflow:hidden;flex-shrink:0;flex-grow:0;display:inline-block}#moonbase .moonbase\\:product-icon[data-corners=soft]{border-radius:4px}#moonbase .moonbase\\:product-icon[data-corners=round]{border-radius:8px}#moonbase .moonbase\\:product-icon img{flex:none;object-fit:cover;object-position:center;height:100%;width:100%}#moonbase .moonbase\\:product-icon>.moonbase\\:image-placeholder{flex:none;display:flex;justify-content:center;align-items:center;background:var(--moonbase-bg-secondary);height:100%;width:100%}#moonbase .moonbase\\:product-icon>.moonbase\\:image-placeholder>svg{height:66%;width:66%;color:var(--moonbase-text-tertiary)}#moonbase .moonbase\\:text-title{font-weight:700;font-size:20px;line-height:30px;letter-spacing:-.01em}#moonbase .moonbase\\:product-card>*>.moonbase\\:product-card-content{flex:1 1 auto;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;color:var(--moonbase-text-neutral-secondary)}#moonbase .moonbase\\:product-card>*>.moonbase\\:product-card-content>:first-child{color:var(--moonbase-text-primary)}#moonbase .moonbase\\:auto-activation .moonbase\\:loader{display:flex;align-items:center;flex-direction:column;padding:36px 16px;text-align:center}#moonbase .moonbase\\:auto-activation .moonbase\\:loader svg{height:24px;width:24px}#moonbase .moonbase\\:auto-activation .moonbase\\:loader span{text-wrap:balance}#moonbase .moonbase\\:auto-activation .moonbase\\:auto-activation-content{margin-top:16px;font-size:16px;font-weight:500;line-height:20px}#moonbase .moonbase\\:auto-activation .moonbase\\:auto-activation-content .moonbase\\:auto-activation-cta{margin:16px 0;display:flex;flex-direction:column}#moonbase .moonbase\\:auto-activation .moonbase\\:auto-activation-content .moonbase\\:auto-activation-cta>:not(:first-child){margin-top:8px}#moonbase .moonbase\\:auto-activation .moonbase\\:auto-activation-content .moonbase\\:auto-activation-redeem{display:block;margin-top:32px;color:var(--moonbase-text-primary)}#moonbase .moonbase\\:auto-activation .moonbase\\:auto-activation-content .moonbase\\:auto-activation-redeem>button{text-decoration:underline}#moonbase .moonbase\\:auto-activation .moonbase\\:auto-activation-content>.moonbase\\:auto-activation-option:not(:first-child){margin-top:16px;padding-top:16px;border-top-width:1px;border-style:solid;border-color:var(--moonbase-border-secondary)}#moonbase .moonbase\\:text-caption{font-weight:400;font-size:12px;line-height:18px;letter-spacing:0}#moonbase .moonbase\\:device-token-input{padding:48px 16px;display:flex;flex-direction:column;justify-content:center;align-items:center;border:2px dashed var(--moonbase-border-primary);transition:border .2s ease-in-out}#moonbase .moonbase\\:device-token-input[data-corners=soft]{border-radius:8px}#moonbase .moonbase\\:device-token-input[data-corners=round]{border-radius:12px}#moonbase .moonbase\\:device-token-input.moonbase\\:device-token-input--hovering{border:2px dashed var(--moonbase-border-primary-hover)}#moonbase .moonbase\\:device-token-input.moonbase\\:device-token-input--hovering>svg{color:var(--moonbase-text-primary)}#moonbase .moonbase\\:device-token-input [data-error]{padding-top:0;min-height:20px;color:var(--moonbase-text-danger-primary)}#moonbase .moonbase\\:device-token-input>svg{height:48px;width:48px;color:var(--moonbase-text-secondary);margin-bottom:16px;transition:color .2s ease-in-out}#moonbase .moonbase\\:device-token-input>label{cursor:pointer}#moonbase .moonbase\\:manual-activation>:first-child{text-wrap:balance;margin-bottom:16px;display:block}#moonbase .moonbase\\:manual-activation .moonbase\\:loader{display:flex;align-items:center;flex-direction:column;padding:36px 16px;text-align:center}#moonbase .moonbase\\:manual-activation .moonbase\\:loader svg{height:24px;width:24px}#moonbase .moonbase\\:manual-activation .moonbase\\:loader span{text-wrap:balance}#moonbase .moonbase\\:manual-activation .moonbase\\:manual-activation-content>:not(:first-child){margin-top:8px}#moonbase .moonbase\\:manual-activation .moonbase\\:manual-activation-download-button{align-self:center}#moonbase .moonbase\\:activation{padding:0 32px 32px}#moonbase .moonbase\\:input label{display:block;color:var(--moonbase-text-primary);font-size:14px;line-height:20px;font-weight:600;letter-spacing:-.01em}#moonbase .moonbase\\:input input{display:block;width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:0;border-width:1px;border-color:var(--moonbase-border-secondary);color:var(--moonbase-text-primary);background-color:var(--moonbase-bg-primary);font-size:16px;line-height:24px;padding:11px;margin-top:4px;box-shadow:none;transition:all .25s ease-in-out}#moonbase .moonbase\\:input input[data-corners=soft]{border-radius:8px}#moonbase .moonbase\\:input input[data-corners=round]{border-radius:9999px;padding-left:16px;padding-right:16px}#moonbase .moonbase\\:input input:focus{border-color:var(--moonbase-border-tertiary)}#moonbase .moonbase\\:input input:disabled{opacity:.75}#moonbase .moonbase\\:input .moonbase\\:input-hint{margin-top:8px;font-size:14px;line-height:20px}#moonbase .moonbase\\:input .moonbase\\:input-hint[data-type=error]{color:var(--moonbase-input-error-color)}#moonbase .moonbase\\:sign-in{display:flex;flex-direction:column;min-height:100%;padding-bottom:16px}#moonbase .moonbase\\:sign-in .moonbase\\:sign-in-actions{display:flex;flex-direction:column;flex-grow:1}#moonbase .moonbase\\:sign-in .moonbase\\:sign-in-hint{text-align:center;text-wrap:balance;padding:8px 4px;color:var(--moonbase-text-brand-primary);background-color:rgba(from var(--moonbase-bg-brand-secondary) r g b / .5)}#moonbase .moonbase\\:sign-in .moonbase\\:sign-in-hint[data-corners=soft]{border-radius:8px}#moonbase .moonbase\\:sign-in .moonbase\\:sign-in-hint[data-corners=round]{border-radius:24px}#moonbase .moonbase\\:sign-in .moonbase\\:sign-in-hint>svg{height:18px;width:18px;margin-right:8px;display:inline}#moonbase .moonbase\\:confirm-account{display:flex;flex-direction:column}#moonbase .moonbase\\:confirm-account>*:not(:first-child){margin-top:16px}#moonbase .moonbase\\:confirm-account>.moonbase\\:loader{display:flex;justify-content:center;padding:36px 16px}#moonbase .moonbase\\:confirm-account>.moonbase\\:loader svg{height:24px;width:24px}#moonbase .moonbase\\:confirm-account .moonbase\\:error{text-align:center;color:var(--moonbase-text-danger-primary);font-weight:600;font-size:14px;line-height:16px;min-height:16px;opacity:0;transition:opacity .2s ease-in}#moonbase .moonbase\\:confirm-account .moonbase\\:error[data-visible]{transition:opacity .3s ease-in;opacity:1}#moonbase .moonbase\\:confirm-account .moonbase\\:password-validation{color:var(--moonbase-text-danger-secondary);display:flex;flex-direction:column;padding-left:8px;margin-top:4px}#moonbase .moonbase\\:confirm-account .moonbase\\:connectable-providers{display:flex;flex-direction:column;gap:8px}#moonbase .moonbase\\:confirm-account .moonbase\\:connectable-providers>li{border:1px solid var(--moonbase-border-primary);border-radius:8px;padding:12px;display:flex;flex-direction:column;gap:8px}#moonbase .moonbase\\:confirm-account .moonbase\\:connectable-providers>li .moonbase\\:provider-info{display:flex;align-items:center;gap:8px}#moonbase .moonbase\\:confirm-account .moonbase\\:connectable-providers>li .moonbase\\:provider-info .moonbase\\:provider-logo{width:36px;height:36px;object-fit:contain;border-radius:4px}#moonbase .moonbase\\:confirm-email-change{display:flex;flex-direction:column}#moonbase .moonbase\\:confirm-email-change>*:not(:first-child){margin-top:16px}#moonbase .moonbase\\:confirm-email-change>.moonbase\\:loader{display:flex;justify-content:center;padding:36px 16px}#moonbase .moonbase\\:confirm-email-change>.moonbase\\:loader svg{height:24px;width:24px}#moonbase .moonbase\\:confirm-email-change .moonbase\\:error{text-align:center;color:var(--moonbase-text-danger-primary);font-weight:600;font-size:14px;line-height:16px;min-height:16px;opacity:0;transition:opacity .2s ease-in}#moonbase .moonbase\\:confirm-email-change .moonbase\\:error[data-visible]{transition:opacity .3s ease-in;opacity:1}#moonbase .moonbase\\:sign-in{display:flex;flex-direction:column}#moonbase .moonbase\\:sign-in>*:not(:first-child){margin-top:16px}#moonbase .moonbase\\:sign-in .moonbase\\:error{text-align:center;color:var(--moonbase-text-danger-primary);font-weight:600;font-size:14px;line-height:16px;min-height:16px;opacity:0;transition:opacity .2s ease-in}#moonbase .moonbase\\:sign-in .moonbase\\:error[data-visible]{transition:opacity .3s ease-in;opacity:1}#moonbase .moonbase\\:reset-password{display:flex;flex-direction:column}#moonbase .moonbase\\:reset-password>*:not(:first-child){margin-top:16px}#moonbase .moonbase\\:reset-password .moonbase\\:error{text-align:center;color:var(--moonbase-text-danger-primary);font-weight:600;font-size:14px;line-height:16px;min-height:16px;opacity:0;transition:opacity .2s ease-in}#moonbase .moonbase\\:reset-password .moonbase\\:error[data-visible]{transition:opacity .3s ease-in;opacity:1}#moonbase .moonbase\\:reset-password .moonbase\\:password-validation{color:var(--moonbase-text-danger-secondary);display:flex;flex-direction:column;padding-left:8px;margin-top:4px}#moonbase .moonbase\\:checkbox{display:flex;align-items:flex-start}#moonbase .moonbase\\:checkbox .moonbase\\:checkbox-container{display:flex;height:24px;align-items:center}#moonbase .moonbase\\:checkbox input{height:18px;width:18px;border-width:1px;border-radius:2px;border-color:var(--moonbase-border-secondary);background-color:transparent;font-size:14px;line-height:20px;padding:8px 12px;margin-top:4px}#moonbase .moonbase\\:checkbox input:focus{outline:2px solid transparent;outline-offset:2px}#moonbase .moonbase\\:checkbox .moonbase\\:checkbox-description{margin-left:12px}#moonbase .moonbase\\:checkbox .moonbase\\:checkbox-description label{color:var(--moonbase-text-primary);font-size:14px;line-height:20px;font-weight:600;letter-spacing:-.01em}#moonbase .moonbase\\:checkbox .moonbase\\:checkbox-description p{font-size:14px;line-height:20px;font-weight:600;letter-spacing:-.01em;color:var(--moonbase-text-secondary)}#moonbase .moonbase\\:checkbox .moonbase\\:checkbox-description p[data-type=error]{color:var(--moonbase-text-danger-secondary)}#moonbase .moonbase\\:sign-up{display:flex;flex-direction:column}#moonbase .moonbase\\:sign-up>*:not(:first-child){margin-top:16px}#moonbase .moonbase\\:sign-up a{text-decoration:underline;font-weight:500}#moonbase .moonbase\\:sign-up .moonbase\\:error{text-align:center;color:var(--moonbase-text-danger-primary);font-weight:600;font-size:14px;line-height:16px;min-height:16px;opacity:0;transition:opacity .2s ease-in}#moonbase .moonbase\\:sign-up .moonbase\\:error[data-visible]{transition:opacity .3s ease-in;opacity:1}#moonbase .moonbase\\:sign-up .moonbase\\:password-validation{color:var(--moonbase-text-danger-secondary);display:flex;flex-direction:column;padding-left:8px;margin-top:4px}#moonbase .moonbase\\:authentication{padding:0 32px;color:var(--moonbase-text-primary);width:100%;height:100%}#moonbase .moonbase\\:authentication>.moonbase\\:loader{display:flex;justify-content:center;padding:36px 16px}#moonbase .moonbase\\:authentication>.moonbase\\:loader svg{height:24px;width:24px}#moonbase .moonbase\\:text-subtext-bold{font-weight:600;font-size:14px;line-height:20px;letter-spacing:-.01em}#moonbase .moonbase\\:counter{display:flex;background-color:var(--moonbase-bg-secondary);border:1px solid var(--moonbase-bg-primary);padding:4px;align-items:center}#moonbase .moonbase\\:counter>span{margin:0 8px;text-align:center;width:24px}#moonbase .moonbase\\:counter>button{background-color:var(--moonbase-bg-primary);transition:all .25s ease-in-out;border:1px solid var(--moonbase-bg-primary);height:32px;width:32px;display:flex;justify-content:center;align-items:center;box-shadow:0 0 2px #0000}#moonbase .moonbase\\:counter>button>svg{height:16px;width:16px;color:var(--moonbase-text-primary)}#moonbase .moonbase\\:counter>button:hover{background-color:var(--moonbase-bg-secondary)}#moonbase .moonbase\\:counter>button:hover,#moonbase .moonbase\\:counter>button:focus{border:1px solid var(--moonbase-border-secondary);box-shadow:0 0 1px 2px #00000006}#moonbase .moonbase\\:counter[data-corners=soft]{border-radius:4px}#moonbase .moonbase\\:counter[data-corners=soft]>button{border-radius:2px}#moonbase .moonbase\\:counter[data-corners=round]{border-radius:9999px}#moonbase .moonbase\\:counter[data-corners=round]>button{border-radius:9999px}#moonbase .moonbase\\:bundle-cart-item>div>.moonbase\\:bundle-cart-item-content{flex:1 1 auto;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}#moonbase .moonbase\\:bundle-cart-item>div>.moonbase\\:bundle-cart-item-content>:not(:first-child){margin-top:4px}#moonbase .moonbase\\:bundle-cart-item>div>.moonbase\\:bundle-cart-item-content>.moonbase\\:bundle-cart-item-tagline{color:var(--moonbase-text-neutral-secondary)}#moonbase .moonbase\\:bundle-cart-item>div>.moonbase\\:bundle-cart-item-content [data-truncate]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;max-width:100%}#moonbase .moonbase\\:bundle-cart-item>div>.moonbase\\:bundle-cart-item-total{flex:none;display:flex;flex-direction:column;align-items:flex-end;justify-content:center}#moonbase .moonbase\\:bundle-cart-item>div>.moonbase\\:bundle-cart-item-total>:not(:first-child){margin-top:4px}#moonbase .moonbase\\:bundle-cart-item>div>.moonbase\\:bundle-cart-item-total .moonbase\\:discount{text-decoration:line-through;color:var(--moonbase-text-disabled);margin-right:8px}#moonbase .moonbase\\:bundle-cart-item .moonbase\\:bundle-cart-item-summary{display:flex;align-items:flex-start;flex-direction:column}#moonbase .moonbase\\:bundle-cart-item .moonbase\\:bundle-cart-item-summary>:not(:first-child){margin-top:2px}#moonbase .moonbase\\:bundle-cart-item .moonbase\\:bundle-cart-item-summary button{display:flex;align-items:center;justify-content:space-between;padding:0 16px 16px;width:100%}#moonbase .moonbase\\:bundle-cart-item .moonbase\\:bundle-cart-item-summary button>span{display:flex;align-items:center}#moonbase .moonbase\\:bundle-cart-item .moonbase\\:bundle-cart-item-summary button>span>svg{margin-left:4px;margin-top:4px;height:16px;width:16px;transition:transform .2s ease-in-out;transform:rotate(0)}#moonbase .moonbase\\:bundle-cart-item .moonbase\\:bundle-cart-item-summary button>span>svg[data-open]{transform:rotate(180deg)}#moonbase .moonbase\\:bundle-cart-item-product-list{overflow:hidden;padding:0 16px;border-top:1px solid transparent;transition:height .3s ease-in-out,border 50ms ease-in-out .25s}#moonbase .moonbase\\:bundle-cart-item-product-list[data-open]{border-top:1px solid var(--moonbase-border-primary);transition:height .3s ease-in-out,border .3s ease-in-out}#moonbase .moonbase\\:bundle-cart-item-product-list>:not(:first-child){border-top-width:1px;border-color:var(--moonbase-border-primary)}#moonbase .moonbase\\:bundle-cart-item-product-list>.moonbase\\:bundle-cart-item-product-list-item{display:flex;align-items:center;padding:8px 0}#moonbase .moonbase\\:bundle-cart-item-product-list>.moonbase\\:bundle-cart-item-product-list-item>:not(:first-child){margin-left:16px}#moonbase .moonbase\\:bundle-cart-item-product-list>.moonbase\\:bundle-cart-item-product-list-item>.moonbase\\:bundle-cart-item-product-list-item-content{display:flex;flex:auto;flex-direction:column;align-items:flex-start}#moonbase .moonbase\\:bundle-cart-item-product-list>.moonbase\\:bundle-cart-item-product-list-item>.moonbase\\:bundle-cart-item-product-list-item-content>:not(:first-child){margin-top:4px}#moonbase .moonbase\\:bundle-cart-item-product-list>.moonbase\\:bundle-cart-item-product-list-item>.moonbase\\:bundle-cart-item-product-list-item-content>span:first-child{display:flex;align-items:center}#moonbase .moonbase\\:bundle-cart-item-product-list>.moonbase\\:bundle-cart-item-product-list-item>.moonbase\\:bundle-cart-item-product-list-item-content>span:first-child:not([data-included]){text-decoration:line-through;opacity:.75}#moonbase .moonbase\\:bundle-cart-item-product-list>.moonbase\\:bundle-cart-item-product-list-item>.moonbase\\:bundle-cart-item-product-list-item-content>span:first-child svg{margin-right:4px;height:16px;width:16px}#moonbase .moonbase\\:cart-offer-target-list-item{display:flex;align-items:center;padding:8px 0}#moonbase .moonbase\\:cart-offer-target-list-item>:not(:first-child){margin-left:16px}#moonbase .moonbase\\:cart-offer-target-list-item>.moonbase\\:cart-offer-target-list-item-content{display:flex;flex:auto;flex-direction:column;align-items:flex-start;overflow:hidden}#moonbase .moonbase\\:cart-offer-target-list-item>.moonbase\\:cart-offer-target-list-item-content>:not(:first-child){margin-top:4px}#moonbase .moonbase\\:cart-offer-target-list-item>.moonbase\\:cart-offer-target-list-item-content>span:first-child{display:flex;align-items:center}#moonbase .moonbase\\:cart-offer-target-list-item>.moonbase\\:cart-offer-target-list-item-content>span:last-child{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:100%}#moonbase .moonbase\\:cart-offer-target-list-item>.moonbase\\:cart-offer-target-list-item-cta{flex:none;display:flex;flex-direction:column;align-items:flex-end;justify-content:center}#moonbase .moonbase\\:cart-offer-target-list-item>.moonbase\\:cart-offer-target-list-item-cta>:not(:first-child){margin-top:4px}#moonbase .moonbase\\:cart-offer-target-list-item>.moonbase\\:cart-offer-target-list-item-cta .moonbase\\:discount{text-decoration:line-through;color:var(--moonbase-text-disabled);margin-right:8px}#moonbase .moonbase\\:cart-offer-target-list-item>.moonbase\\:cart-offer-target-list-item-cta>.moonbase\\:button{flex-shrink:0}#moonbase .moonbase\\:cart-offer--multi-target .moonbase\\:cart-offer--multi-target-icons{flex-shrink:0;flex-grow:0;height:96px;width:96px;position:relative;isolation:isolate}#moonbase .moonbase\\:cart-offer--multi-target>div>.moonbase\\:cart-offer--multi-target-content{flex:1 1 auto;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}#moonbase .moonbase\\:cart-offer--multi-target>div>.moonbase\\:cart-offer--multi-target-content>:not(:first-child){margin-top:4px}#moonbase .moonbase\\:cart-offer--multi-target>div>.moonbase\\:cart-offer--multi-target-content>.moonbase\\:cart-offer--multi-target-name>svg{height:22px;width:22px;display:inline;margin-bottom:4px;margin-left:-2px;color:var(--moonbase-text-success-primary)}#moonbase .moonbase\\:cart-offer--multi-target>div>.moonbase\\:cart-offer--multi-target-content>.moonbase\\:cart-offer--multi-target-description{margin-top:0;color:var(--moonbase-text-neutral-secondary)}#moonbase .moonbase\\:cart-offer--multi-target>div>.moonbase\\:cart-offer--multi-target-content>.moonbase\\:button{margin-top:8px}#moonbase .moonbase\\:cart-offer-target-list{overflow:hidden;padding:0 16px;border-top:1px solid transparent;transition:height .3s ease-in-out,border 50ms ease-in-out .25s}#moonbase .moonbase\\:cart-offer-target-list[data-open]{border-top:1px solid var(--moonbase-border-primary);transition:height .3s ease-in-out,border .3s ease-in-out}#moonbase .moonbase\\:cart-offer-target-list>:not(:first-child){border-top-width:1px;border-color:var(--moonbase-border-primary)}#moonbase .moonbase\\:cart-offer>div>.moonbase\\:cart-offer-content{flex:1 1 auto;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}#moonbase .moonbase\\:cart-offer>div>.moonbase\\:cart-offer-content>:not(:first-child){margin-top:4px}#moonbase .moonbase\\:cart-offer>div>.moonbase\\:cart-offer-content>.moonbase\\:cart-offer-name>svg{height:22px;width:22px;display:inline;margin-bottom:4px;margin-left:-2px;color:var(--moonbase-text-success-primary)}#moonbase .moonbase\\:cart-offer>div>.moonbase\\:cart-offer-content>.moonbase\\:cart-offer-description{margin-top:0;color:var(--moonbase-text-neutral-secondary)}#moonbase .moonbase\\:cart-offer>div>.moonbase\\:cart-offer-cta{flex:none;display:flex;flex-direction:column;align-items:flex-end;justify-content:center}#moonbase .moonbase\\:cart-offer>div>.moonbase\\:cart-offer-cta>:not(:first-child){margin-top:4px}#moonbase .moonbase\\:cart-offer>div>.moonbase\\:cart-offer-cta .moonbase\\:discount{text-decoration:line-through;color:var(--moonbase-text-disabled);margin-right:8px}#moonbase .moonbase\\:cart-offer .moonbase\\:cart-offer-bundle-summary{display:flex;align-items:flex-start;flex-direction:column}#moonbase .moonbase\\:cart-offer .moonbase\\:cart-offer-bundle-summary>:not(:first-child){margin-top:2px}#moonbase .moonbase\\:cart-offer .moonbase\\:cart-offer-bundle-summary button{display:flex;align-items:center;justify-content:space-between;padding:0 16px 16px;width:100%}#moonbase .moonbase\\:cart-offer .moonbase\\:cart-offer-bundle-summary button>span{display:flex;align-items:center}#moonbase .moonbase\\:cart-offer .moonbase\\:cart-offer-bundle-summary button>span>svg{margin-left:4px;margin-top:4px;height:16px;width:16px;transition:transform .2s ease-in-out;transform:rotate(0)}#moonbase .moonbase\\:cart-offer .moonbase\\:cart-offer-bundle-summary button>span>svg[data-open]{transform:rotate(180deg)}#moonbase .moonbase\\:cart-offer-bundle-product-list{overflow:hidden;padding:0 16px;border-top:1px solid transparent;transition:height .3s ease-in-out,border 50ms ease-in-out .25s}#moonbase .moonbase\\:cart-offer-bundle-product-list[data-open]{border-top:1px solid var(--moonbase-border-primary);transition:height .3s ease-in-out,border .3s ease-in-out}#moonbase .moonbase\\:cart-offer-bundle-product-list>:not(:first-child){border-top-width:1px;border-color:var(--moonbase-border-primary)}#moonbase .moonbase\\:cart-offer-bundle-product-list>.moonbase\\:cart-offer-bundle-product-list-item{display:flex;align-items:center;padding:8px 0}#moonbase .moonbase\\:cart-offer-bundle-product-list>.moonbase\\:cart-offer-bundle-product-list-item>:not(:first-child){margin-left:16px}#moonbase .moonbase\\:cart-offer-bundle-product-list>.moonbase\\:cart-offer-bundle-product-list-item>.moonbase\\:cart-offer-bundle-product-list-item-content{display:flex;flex:auto;flex-direction:column;align-items:flex-start;overflow:hidden}#moonbase .moonbase\\:cart-offer-bundle-product-list>.moonbase\\:cart-offer-bundle-product-list-item>.moonbase\\:cart-offer-bundle-product-list-item-content>:not(:first-child){margin-top:4px}#moonbase .moonbase\\:cart-offer-bundle-product-list>.moonbase\\:cart-offer-bundle-product-list-item>.moonbase\\:cart-offer-bundle-product-list-item-content>span:first-child{display:flex;align-items:center}#moonbase .moonbase\\:cart-offer-bundle-product-list>.moonbase\\:cart-offer-bundle-product-list-item>.moonbase\\:cart-offer-bundle-product-list-item-content>span:first-child:not([data-included]){text-decoration:line-through;opacity:.75}#moonbase .moonbase\\:cart-offer-bundle-product-list>.moonbase\\:cart-offer-bundle-product-list-item>.moonbase\\:cart-offer-bundle-product-list-item-content>span:first-child svg{margin-right:4px;height:16px;width:16px}#moonbase .moonbase\\:cart-offer-bundle-product-list>.moonbase\\:cart-offer-bundle-product-list-item>.moonbase\\:cart-offer-bundle-product-list-item-content>span:last-child{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:100%}#moonbase .moonbase\\:product-cart-item>div>.moonbase\\:product-cart-item-content{flex:1 1 auto;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}#moonbase .moonbase\\:product-cart-item>div>.moonbase\\:product-cart-item-content>:not(:first-child){margin-top:4px}#moonbase .moonbase\\:product-cart-item>div>.moonbase\\:product-cart-item-content>.moonbase\\:product-cart-item-tagline{color:var(--moonbase-text-neutral-secondary)}#moonbase .moonbase\\:product-cart-item>div>.moonbase\\:product-cart-item-content [data-truncate]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;max-width:100%}#moonbase .moonbase\\:product-cart-item>div>.moonbase\\:product-cart-item-total{flex:none;display:flex;flex-direction:column;align-items:flex-end;justify-content:center}#moonbase .moonbase\\:product-cart-item>div>.moonbase\\:product-cart-item-total>:not(:first-child){margin-top:4px}#moonbase .moonbase\\:product-cart-item>div>.moonbase\\:product-cart-item-total .moonbase\\:discount{text-decoration:line-through;color:var(--moonbase-text-disabled);margin-right:8px}#moonbase .moonbase\\:cart{padding:0 32px 16px;display:flex;flex-direction:column;color:var(--moonbase-text-primary);height:100%}#moonbase .moonbase\\:cart>.moonbase\\:cart-items{font-size:14px;line-height:20px;font-weight:500;margin:16px -32px;padding:0 32px;flex-grow:1;flex-shrink:1;overflow-y:auto;display:flex;flex-direction:column}#moonbase .moonbase\\:cart>.moonbase\\:cart-items[data-background=white]{background:linear-gradient(var(--moonbase-bg-primary) 30%,rgba(255,255,255,0)) center top,linear-gradient(rgba(255,255,255,0),var(--moonbase-bg-primary) 70%) center bottom,radial-gradient(farthest-side at 50% 0,#0003,#0000) center top,radial-gradient(farthest-side at 50% 100%,#0003,#0000) center bottom;background-repeat:no-repeat;background-size:100% 40px,100% 40px,100% 14px,100% 14px;background-attachment:local,local,scroll,scroll}#moonbase .moonbase\\:cart>.moonbase\\:cart-items[data-background=gray]{background:linear-gradient(var(--moonbase-bg-secondary) 30%,rgba(255,255,255,0)) center top,linear-gradient(rgba(255,255,255,0),var(--moonbase-bg-secondary) 70%) center bottom,radial-gradient(farthest-side at 50% 0,#0003,#0000) center top,radial-gradient(farthest-side at 50% 100%,#0003,#0000) center bottom;background-repeat:no-repeat;background-size:100% 40px,100% 40px,100% 14px,100% 14px;background-attachment:local,local,scroll,scroll}#moonbase .moonbase\\:cart>.moonbase\\:cart-items>li{padding:6px 0}#moonbase .moonbase\\:cart>.moonbase\\:cart-items>li.moonbase\\:grow{flex-grow:1}#moonbase .moonbase\\:cart>.moonbase\\:cart-items>li>:not(:first-child){margin-top:4px}#moonbase .moonbase\\:cart>.moonbase\\:cart-empty{padding:32px 16px;margin:16px 0;flex-grow:1;flex-shrink:1;border:1px solid var(--moonbase-border-primary);display:flex;align-items:center;justify-content:center;flex-direction:column}#moonbase .moonbase\\:cart>.moonbase\\:cart-empty[data-corners=soft]{border-radius:8px}#moonbase .moonbase\\:cart>.moonbase\\:cart-empty[data-corners=round]{border-radius:12px}#moonbase .moonbase\\:cart>.moonbase\\:cart-empty svg{height:24px;width:24px;margin-bottom:8px}#moonbase .moonbase\\:cart>.moonbase\\:cart-total{width:100%;padding:8px;border-radius:4px;display:grid;grid-template-columns:repeat(2,auto);justify-content:space-between;align-items:center}#moonbase .moonbase\\:cart>.moonbase\\:cart-total>label{font-weight:400;font-size:20px;line-height:20px;letter-spacing:0;color:var(--moonbase-text-neutral-primary)}#moonbase .moonbase\\:cart>.moonbase\\:cart-total>span{font-weight:800;font-size:24px;line-height:32px;letter-spacing:-.02em;color:var(--moonbase-text-primary);text-align:right}#moonbase .moonbase\\:cart>.moonbase\\:cart-total>p{grid-column:-1 / 1;padding-top:8px;text-align:center;color:var(--moonbase-text-secondary);font-size:14px;line-height:20px;letter-spacing:0;font-weight:400}#moonbase .moonbase\\:cart>.moonbase\\:cart-total>p[data-error]{padding-top:0;color:var(--moonbase-text-danger-primary)}#moonbase .moonbase\\:cart>button{margin-top:16px}#moonbase .moonbase\\:connected-account-card{border:1px solid var(--moonbase-border-primary);border-radius:8px;padding:12px;display:flex;flex-direction:column;gap:8px}#moonbase .moonbase\\:connected-account-card .moonbase\\:account-provider{display:flex;align-items:center;gap:8px}#moonbase .moonbase\\:connected-account-card .moonbase\\:account-provider>img{width:48px;height:48px;object-fit:contain;border-radius:4px}#moonbase .moonbase\\:connected-account-card .moonbase\\:pending-fulfillments{display:flex}#moonbase .moonbase\\:connected-account-card .moonbase\\:pending-fulfillments>svg{width:20px;height:20px;margin-right:6px;margin-top:2px;color:var(--moonbase-text-warning-primary)}#moonbase .moonbase\\:connected-account-card .moonbase\\:pending-fulfillments>span{color:var(--moonbase-text-warning-primary)}#moonbase .moonbase\\:connected-account-card .moonbase\\:disconnect-error{color:var(--moonbase-text-danger-primary)}#moonbase .moonbase\\:account{display:inline-flex;flex-direction:column;width:100%}#moonbase .moonbase\\:account>*:not(:first-child){margin-top:32px}#moonbase .moonbase\\:account form{display:flex;flex-direction:column}#moonbase .moonbase\\:account form>*:not(:first-child){margin-top:16px}#moonbase .moonbase\\:account form .moonbase\\:error{font-size:14px;line-height:20px;font-weight:600;color:var(--moonbase-text-danger-primary)}#moonbase .moonbase\\:account form .moonbase\\:notification{font-size:14px;line-height:20px;font-weight:600}#moonbase .moonbase\\:account .moonbase\\:connected-accounts>ul{margin-top:12px;display:flex;flex-direction:column;gap:8px}#moonbase .moonbase\\:connect-account{display:flex;flex-direction:column;width:100%;gap:16px}#moonbase .moonbase\\:connect-account .moonbase\\:provider-header{display:flex;align-items:center;gap:10px}#moonbase .moonbase\\:connect-account .moonbase\\:provider-header .moonbase\\:provider-logo{width:32px;height:32px;object-fit:contain;border-radius:4px}#moonbase .moonbase\\:connect-account>.moonbase\\:loader{display:flex;justify-content:center;padding:36px 16px}#moonbase .moonbase\\:connect-account>.moonbase\\:loader svg{height:24px;width:24px}#moonbase .moonbase\\:connect-account .moonbase\\:description{color:var(--moonbase-text-secondary)}#moonbase .moonbase\\:connect-account .moonbase\\:success{color:var(--moonbase-text-success-primary)}#moonbase .moonbase\\:connect-account .moonbase\\:error{color:var(--moonbase-text-danger-primary)}#moonbase .moonbase\\:connect-account .moonbase\\:connected-status{display:flex;flex-direction:column;gap:16px}#moonbase .moonbase\\:connect-account .moonbase\\:connected-status .moonbase\\:depositing,#moonbase .moonbase\\:connect-account .moonbase\\:connected-status .moonbase\\:licenses-deposited{display:flex;align-items:center;gap:8px}#moonbase .moonbase\\:connect-account .moonbase\\:connected-status .moonbase\\:depositing svg,#moonbase .moonbase\\:connect-account .moonbase\\:connected-status .moonbase\\:licenses-deposited svg{height:16px;width:16px;flex-shrink:0}#moonbase .moonbase\\:connect-account .moonbase\\:connected-status .moonbase\\:depositing>span,#moonbase .moonbase\\:connect-account .moonbase\\:connected-status .moonbase\\:licenses-deposited>span{color:var(--moonbase-text-secondary)}#moonbase .moonbase\\:connect-account .moonbase\\:connected-status .moonbase\\:licenses-deposited svg{color:var(--moonbase-text-success-primary)}#moonbase .moonbase\\:connect-account .moonbase\\:connect-form{display:flex;flex-direction:column;gap:12px}#moonbase .moonbase\\:products{margin:0 -12px}#moonbase .moonbase\\:products .moonbase\\:loader{display:flex;align-items:center;flex-direction:column;padding:36px 16px;text-align:center}#moonbase .moonbase\\:products .moonbase\\:loader svg{height:24px;width:24px}#moonbase .moonbase\\:products .moonbase\\:loader p{margin-top:4px;font-size:14px;font-weight:500;line-height:18px}#moonbase .moonbase\\:products .moonbase\\:products-item{position:relative;display:flex;align-items:center;width:100%;padding:14px 12px 14px 16px;transition:background-color .25s ease-in-out}#moonbase .moonbase\\:products .moonbase\\:products-item:not(:first-child):not([data-is-sub-product]){border-top-width:1px;border-color:var(--moonbase-border-primary)}#moonbase .moonbase\\:products .moonbase\\:products-item[data-is-sub-product]{padding-top:6px}#moonbase .moonbase\\:products .moonbase\\:products-item>.moonbase\\:products-item-sub-product-icon{margin:0 12px 6px;height:24px;width:24px}#moonbase .moonbase\\:products .moonbase\\:products-item>.moonbase\\:products-item-sub-product-icon svg{color:var(--moonbase-text-secondary);width:100%;height:100%}#moonbase .moonbase\\:products .moonbase\\:products-item>.moonbase\\:products-item-content{margin-left:12px;display:flex;flex-direction:column;flex-grow:1;width:100%}#moonbase .moonbase\\:products .moonbase\\:products-item>.moonbase\\:products-item-content>:not(:first-child){margin-top:2px}#moonbase .moonbase\\:products .moonbase\\:products-item button{margin:auto;position:unset}#moonbase .moonbase\\:products .moonbase\\:products-item button,#moonbase .moonbase\\:products .moonbase\\:products-item button:hover,#moonbase .moonbase\\:products .moonbase\\:products-item button:focus,#moonbase .moonbase\\:products .moonbase\\:products-item button:active{width:100%}#moonbase .moonbase\\:products .moonbase\\:products-item button>.moonbase\\:clickable{position:absolute;top:0;right:0;bottom:0;left:0}#moonbase .moonbase\\:bundle-redemption-item>div>.moonbase\\:bundle-redemption-item-content{flex:1 1 auto;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}#moonbase .moonbase\\:bundle-redemption-item>div>.moonbase\\:bundle-redemption-item-content>:not(:first-child){margin-top:4px}#moonbase .moonbase\\:bundle-redemption-item>div>.moonbase\\:bundle-redemption-item-content>.moonbase\\:bundle-redemption-item-tagline{color:var(--moonbase-text-neutral-secondary)}#moonbase .moonbase\\:bundle-redemption-item .moonbase\\:bundle-redemption-item-summary{display:flex;align-items:flex-start;flex-direction:column}#moonbase .moonbase\\:bundle-redemption-item .moonbase\\:bundle-redemption-item-summary>:not(:first-child){margin-top:2px}#moonbase .moonbase\\:bundle-redemption-item .moonbase\\:bundle-redemption-item-summary button{display:flex;align-items:center;justify-content:space-between;padding:0 16px 16px;width:100%}#moonbase .moonbase\\:bundle-redemption-item .moonbase\\:bundle-redemption-item-summary button>span{display:flex;align-items:center}#moonbase .moonbase\\:bundle-redemption-item .moonbase\\:bundle-redemption-item-summary button>span>svg{margin-left:4px;margin-top:4px;height:16px;width:16px;transition:transform .2s ease-in-out;transform:rotate(0)}#moonbase .moonbase\\:bundle-redemption-item .moonbase\\:bundle-redemption-item-summary button>span>svg[data-open]{transform:rotate(180deg)}#moonbase .moonbase\\:bundle-redemption-item-product-list{overflow:hidden;padding:0 16px;border-top:1px solid transparent;transition:height .3s ease-in-out,border 50ms ease-in-out .25s}#moonbase .moonbase\\:bundle-redemption-item-product-list[data-open]{border-top:1px solid var(--moonbase-border-primary);transition:height .3s ease-in-out,border .3s ease-in-out}#moonbase .moonbase\\:bundle-redemption-item-product-list>:not(:first-child){border-top-width:1px;border-color:var(--moonbase-border-primary)}#moonbase .moonbase\\:bundle-redemption-item-product-list>div{display:flex;align-items:center;padding:8px 0}#moonbase .moonbase\\:bundle-redemption-item-product-list>div>:not(:first-child){margin-left:16px}#moonbase .moonbase\\:bundle-redemption-item-product-list>div>div:last-child{display:flex;flex:auto;flex-direction:column;align-items:flex-start}#moonbase .moonbase\\:bundle-redemption-item-product-list>div>div:last-child>:not(:first-child){margin-top:4px}#moonbase .moonbase\\:product-redemption-item>div>.moonbase\\:product-redemption-item-content{flex:1 1 auto;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}#moonbase .moonbase\\:product-redemption-item>div>.moonbase\\:product-redemption-item-content>:not(:first-child){margin-top:4px}#moonbase .moonbase\\:product-redemption-item>div>.moonbase\\:product-redemption-item-content>.moonbase\\:product-redemption-item-tagline{color:var(--moonbase-text-neutral-secondary)}#moonbase .moonbase\\:redeem>form{display:flex;flex-direction:column}#moonbase .moonbase\\:redeem>form>*:not(:first-child){margin-top:16px}#moonbase .moonbase\\:redeem>form .moonbase\\:error{text-align:center;color:var(--moonbase-text-danger-primary);font-weight:600;font-size:14px;line-height:16px;min-height:16px;opacity:0;transition:opacity .2s ease-in}#moonbase .moonbase\\:redeem>form .moonbase\\:error[data-visible]{transition:opacity .3s ease-in;opacity:1}#moonbase .moonbase\\:redeem .moonbase\\:redeem-voucher>div:first-child{display:flex;flex-direction:column;margin-bottom:16px}#moonbase .moonbase\\:redeem .moonbase\\:redeem-voucher>div:first-child>:not(:first-child){margin-top:2px}#moonbase .moonbase\\:redeem .moonbase\\:redeem-voucher>div:first-child svg{height:16px;width:16px;margin-right:2px;color:var(--moonbase-text-success-primary);display:inline;margin-bottom:3px}#moonbase .moonbase\\:redeem .moonbase\\:redeem-voucher-return{margin:16px 0}#moonbase .moonbase\\:redeem .moonbase\\:redeem-voucher-return>button{width:100%}#moonbase .moonbase\\:redeem .moonbase\\:redeem-voucher-content{display:flex;flex-direction:column}#moonbase .moonbase\\:redeem .moonbase\\:redeem-voucher-content>*{margin-top:12px}#moonbase .moonbase\\:milestone-progress-bar{display:grid;width:100%;gap:4px;padding:8px 0}#moonbase .moonbase\\:milestone-progress-bar>div{position:relative;height:16px;width:100%}#moonbase .moonbase\\:milestone-progress-bar>div>div{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden}#moonbase .moonbase\\:milestone-progress-bar>div>div[data-status=done]{background-color:var(--moonbase-bg-brand-tertiary)}#moonbase .moonbase\\:milestone-progress-bar>div>div[data-status=in-progress]{background-color:var(--moonbase-bg-brand-tertiary)}#moonbase .moonbase\\:milestone-progress-bar>div>div[data-status=in-progress]:after{content:"";display:block;position:absolute;top:-999px;bottom:-999px;left:50%;width:100%;transform:rotate(-33deg);background-color:var(--moonbase-bg-secondary)}#moonbase .moonbase\\:milestone-progress-bar>div>div[data-status=future]{background-color:var(--moonbase-bg-secondary)}#moonbase .moonbase\\:milestone-progress-bar>div:first-child>div{border-top-left-radius:8px;border-bottom-left-radius:8px}#moonbase .moonbase\\:milestone-progress-bar>div:last-child>div{border-top-right-radius:8px;border-bottom-right-radius:8px}#moonbase .moonbase\\:milestone-progress-bar>div>span{position:absolute;right:-2px;top:-4px;height:8px;width:8px;border-radius:100%;box-shadow:var(--moonbase-bg-primary) 0 0 0 0,var(--moonbase-bg-primary) 0 0 0 2px,#0000001a 0 1px 3px,#0000001a 0 1px 2px -1px;background-color:var(--moonbase-bg-brand-primary)}#moonbase .moonbase\\:milestone-progress-bar>div>span[data-fulfilled]{background-color:var(--moonbase-text-success-primary)}#moonbase .moonbase\\:subscriptions{margin:0 -12px}#moonbase .moonbase\\:subscriptions .moonbase\\:loader{display:flex;align-items:center;flex-direction:column;padding:36px 16px;text-align:center}#moonbase .moonbase\\:subscriptions .moonbase\\:loader svg{height:24px;width:24px}#moonbase .moonbase\\:subscriptions .moonbase\\:loader p{margin-top:4px;font-size:14px;font-weight:500;line-height:18px}#moonbase .moonbase\\:subscriptions .moonbase\\:subscriptions-item{position:relative;display:flex;align-items:center;width:100%;padding:14px 12px 14px 16px}#moonbase .moonbase\\:subscriptions .moonbase\\:subscriptions-item[data-subscription-status=Expired],#moonbase .moonbase\\:subscriptions .moonbase\\:subscriptions-item[data-subscription-status=Cancelled]{opacity:.75}#moonbase .moonbase\\:subscriptions .moonbase\\:subscriptions-item:not(:first-child){border-top-width:1px;border-color:var(--moonbase-border-primary)}#moonbase .moonbase\\:subscriptions .moonbase\\:subscriptions-item>.moonbase\\:subscriptions-item-content{margin-left:12px;display:flex;flex-direction:column;flex-grow:1;width:100%}#moonbase .moonbase\\:subscriptions .moonbase\\:subscriptions-item>.moonbase\\:subscriptions-item-content>:not(:first-child){margin-top:2px}#moonbase .moonbase\\:subscriptions .moonbase\\:subscriptions-item button{margin:auto;position:unset}#moonbase .moonbase\\:subscriptions .moonbase\\:subscriptions-item button,#moonbase .moonbase\\:subscriptions .moonbase\\:subscriptions-item button:hover,#moonbase .moonbase\\:subscriptions .moonbase\\:subscriptions-item button:focus,#moonbase .moonbase\\:subscriptions .moonbase\\:subscriptions-item button:active{width:100%}#moonbase .moonbase\\:subscriptions .moonbase\\:subscriptions-item button>.moonbase\\:clickable{position:absolute;top:0;right:0;bottom:0;left:0}#moonbase .moonbase\\:subscriptions .moonbase\\:subscriptions-item-milestone-progress{padding:0 16px 8px}#moonbase .moonbase\\:subscriptions .moonbase\\:subscriptions-item-milestone-progress .moonbase\\:subscriptions-item-milestone-progress-title{display:flex;gap:16px;justify-content:space-between;align-items:flex-end}#moonbase .moonbase\\:customer{padding:0 32px 32px;display:flex;flex-direction:column;color:var(--moonbase-text-primary)}#moonbase .moonbase\\:customer>[role=tablist]{display:flex;overflow:hidden}#moonbase .moonbase\\:customer>[role=tablist][data-corners=soft]{border-radius:8px}#moonbase .moonbase\\:customer>[role=tablist][data-corners=round]{border-radius:9999px}#moonbase .moonbase\\:customer>[role=tablist][data-background=white]>[role=tab]{background-color:var(--moonbase-bg-secondary)}#moonbase .moonbase\\:customer>[role=tablist][data-background=gray]>[role=tab]{background-color:var(--moonbase-bg-secondary-hover)}#moonbase .moonbase\\:customer>[role=tablist]>[role=tab]{padding:12px 16px;text-align:center;flex-grow:1;font-size:14px;font-weight:500;line-height:16px;color:var(--moonbase-text-primary);transition-property:background-color,color;transition-duration:.25s;transition-timing-function:ease-out}#moonbase .moonbase\\:customer>[role=tablist]>[role=tab]>svg{height:16px;width:16px}#moonbase .moonbase\\:customer>[role=tablist]>[role=tab]:hover{background-color:var(--moonbase-bg-tertiary)}#moonbase .moonbase\\:customer>[role=tablist]>[role=tab][aria-selected=true]{color:var(--moonbase-text-contrast);background-color:var(--moonbase-bg-brand-primary)}#moonbase .moonbase\\:customer>[role=tablist]>[role=tab]:not(:first-child){border-left:1px solid var(--moonbase-border-primary)}#moonbase .moonbase\\:customer>div>[role=tabpanel]{margin-top:32px}#moonbase .moonbase\\:product-card>*>.moonbase\\:product-card-content{flex:1 1 auto;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}#moonbase .moonbase\\:product-card>*>.moonbase\\:product-card-content>:not(:first-child){margin-top:4px}#moonbase .moonbase\\:product-card>*>.moonbase\\:product-card-content>.moonbase\\:product-card-tagline{color:var(--moonbase-text-neutral-secondary)}#moonbase .moonbase\\:product-card .moonbase\\:product-card-description{padding:0 16px 16px}#moonbase .moonbase\\:product-card .moonbase\\:product-card-description>span{display:-webkit-box;white-space:pre-wrap;-webkit-box-orient:vertical;-webkit-line-clamp:4;line-clamp:4;overflow:hidden;text-overflow:ellipsis}#moonbase .moonbase\\:product-card .moonbase\\:product-card-description>button>span{text-decoration:underline;color:var(--moonbase-text-primary)}#moonbase .moonbase\\:product-card .moonbase\\:product-card-description[data-open]>span{-webkit-line-clamp:unset;line-clamp:unset}#moonbase .moonbase\\:product-downloads{display:flex;flex-direction:column;margin-top:40px}#moonbase .moonbase\\:product-downloads>:not(:first-child){margin-top:4px}#moonbase .moonbase\\:product-downloads .moonbase\\:product-downloads-description{margin-top:16px}#moonbase .moonbase\\:product-downloads .moonbase\\:product-downloads-description>span{display:-webkit-box;white-space:pre-wrap;-webkit-box-orient:vertical;-webkit-line-clamp:4;line-clamp:4;overflow:hidden;text-overflow:ellipsis}#moonbase .moonbase\\:product-downloads .moonbase\\:product-downloads-description>button>span{text-decoration:underline;color:var(--moonbase-text-primary)}#moonbase .moonbase\\:product-downloads .moonbase\\:product-downloads-description[data-open]>span{-webkit-line-clamp:unset;line-clamp:unset}#moonbase .moonbase\\:product-downloads .moonbase\\:product-downloads-content{margin-top:16px;display:flex;flex-direction:column}#moonbase .moonbase\\:product-downloads .moonbase\\:product-downloads-content>:not(:first-child){margin-top:8px}#moonbase .moonbase\\:product-downloads .moonbase\\:product-downloads-content>[data-center]{text-align:center}#moonbase .moonbase\\:product-downloads .moonbase\\:product-downloads-list>:not(:first-child){margin-top:12px}#moonbase .moonbase\\:product-downloads .moonbase\\:product-downloads-download span{color:var(--moonbase-text-tertiary)}#moonbase .moonbase\\:product-downloads .moonbase\\:product-downloads-download-actions{padding:0 16px 16px;display:flex}#moonbase .moonbase\\:product-downloads .moonbase\\:product-downloads-download-actions button{width:100%}#moonbase .moonbase\\:product-license>div>div:first-child{flex-grow:1}#moonbase .moonbase\\:product-license>div>div:not(:first-child){text-align:right}#moonbase .moonbase\\:product-license .moonbase\\:product-license-external-content{margin:0 16px 16px}#moonbase .moonbase\\:product-license .moonbase\\:product-license-external-content>:not(:first-child){margin-top:6px}#moonbase .moonbase\\:product-license .moonbase\\:product-license-external-content svg{height:18px;width:18px;display:inline-block;margin-bottom:2px;color:var(--moonbase-text-success-primary)}#moonbase .moonbase\\:product-license .moonbase\\:product-license-external-content code{display:block;background:var(--moonbase-bg-secondary);padding:8px;overflow-x:auto;font-weight:600;font-size:14px;border-radius:4px}#moonbase .moonbase\\:product-license .moonbase\\:product-license-account-connection{margin:0 16px 16px;display:flex;flex-direction:column;gap:16px}#moonbase .moonbase\\:product-license .moonbase\\:product-license-account-connection .moonbase\\:account-provider{display:flex;align-items:center;gap:8px}#moonbase .moonbase\\:product-license .moonbase\\:product-license-account-connection .moonbase\\:account-provider>img{width:48px;height:48px;object-fit:contain;border-radius:4px}#moonbase .moonbase\\:product-license .moonbase\\:product-license-fulfillment-message{display:flex;margin:0 16px 16px;border:1px var(--moonbase-border-primary) solid;padding:8px;border-radius:4px;font-size:14px}#moonbase .moonbase\\:product-license .moonbase\\:product-license-fulfillment-message>span{flex-shrink:1;flex-grow:1;display:-webkit-box;white-space:pre-wrap;-webkit-box-orient:vertical;-webkit-line-clamp:1;line-clamp:1;overflow:hidden;text-overflow:ellipsis}#moonbase .moonbase\\:product-license .moonbase\\:product-license-fulfillment-message>span a{color:var(--moonbase-text-brand-primary);text-decoration:underline}#moonbase .moonbase\\:product-license .moonbase\\:product-license-fulfillment-message>button{flex-shrink:0;flex-grow:0;display:block}#moonbase .moonbase\\:product-license .moonbase\\:product-license-fulfillment-message>button>span{text-decoration:underline;color:var(--moonbase-text-primary)}#moonbase .moonbase\\:product-license .moonbase\\:product-license-fulfillment-message[data-open]>span{-webkit-line-clamp:unset;line-clamp:unset}#moonbase .moonbase\\:product-license a{width:100%}#moonbase .moonbase\\:product-licenses{display:flex;flex-direction:column;margin-top:40px}#moonbase .moonbase\\:product-licenses>:not(:first-child){margin-top:4px}#moonbase .moonbase\\:product-licenses>.moonbase\\:loader{display:flex;justify-content:center;padding:36px 16px}#moonbase .moonbase\\:product-licenses>.moonbase\\:loader>:not(:first-child){margin-top:4px}#moonbase .moonbase\\:product-licenses>.moonbase\\:loader svg{height:24px;width:24px}#moonbase .moonbase\\:product-licenses>.moonbase\\:empty{display:flex;justify-content:center;flex-direction:column;padding:36px 16px}#moonbase .moonbase\\:product-licenses>.moonbase\\:empty>:not(:first-child){margin-top:4px}#moonbase .moonbase\\:product-licenses .moonbase\\:product-licenses-description{margin-top:16px}#moonbase .moonbase\\:product-licenses .moonbase\\:product-licenses-description>span{display:-webkit-box;white-space:pre-wrap;-webkit-box-orient:vertical;-webkit-line-clamp:4;line-clamp:4;overflow:hidden;text-overflow:ellipsis}#moonbase .moonbase\\:product-licenses .moonbase\\:product-licenses-description>button>span{text-decoration:underline;color:var(--moonbase-text-primary)}#moonbase .moonbase\\:product-licenses .moonbase\\:product-licenses-description[data-open]>span{-webkit-line-clamp:unset;line-clamp:unset}#moonbase .moonbase\\:product-licenses .moonbase\\:product-licenses-content{margin-top:16px;display:flex;flex-direction:column}#moonbase .moonbase\\:product-licenses .moonbase\\:product-licenses-content>:not(:first-child){margin-top:8px}#moonbase .moonbase\\:product-licenses .moonbase\\:product-licenses-content>[data-center]{text-align:center}#moonbase .moonbase\\:product-licenses .moonbase\\:product-licenses-categories{display:flex}#moonbase .moonbase\\:product-licenses .moonbase\\:product-licenses-categories>:not(:first-child){margin-left:8px}#moonbase .moonbase\\:product-licenses .moonbase\\:product-licenses-activations>:not(:first-child),#moonbase .moonbase\\:product-licenses .moonbase\\:product-licenses-licenses>:not(:first-child){margin-top:12px}#moonbase .moonbase\\:product-licenses .moonbase\\:product-licenses-activation>div>div:first-child{flex-grow:1}#moonbase .moonbase\\:product-licenses .moonbase\\:product-licenses-activation>div>div:not(:first-child){text-align:right}#moonbase .moonbase\\:product-licenses .moonbase\\:product-licenses-activation a{width:100%}#moonbase .moonbase\\:product-licenses .moonbase\\:product-licenses-activation-actions{padding:0 16px 16px;display:flex}#moonbase .moonbase\\:product-licenses .moonbase\\:product-licenses-activation-actions button{width:100%}#moonbase .moonbase\\:download-product{padding:0 32px 32px}#moonbase .moonbase\\:download-product .moonbase\\:loader{display:flex;align-items:center;flex-direction:column;padding:36px 16px;text-align:center}#moonbase .moonbase\\:download-product .moonbase\\:loader svg{height:24px;width:24px}#moonbase .moonbase\\:download-product .moonbase\\:loader p{margin-top:4px;font-size:14px;font-weight:500;line-height:18px}#moonbase .moonbase\\:peek{padding:0 32px 32px}#moonbase .moonbase\\:peek>form{display:flex;flex-direction:column}#moonbase .moonbase\\:peek>form>*:not(:first-child){margin-top:16px}#moonbase .moonbase\\:peek>form .moonbase\\:error{text-align:center;color:var(--moonbase-text-danger-primary);font-weight:600;font-size:14px;line-height:16px;min-height:16px;opacity:0;transition:opacity .2s ease-in}#moonbase .moonbase\\:peek>form .moonbase\\:error[data-visible]{transition:opacity .3s ease-in;opacity:1}#moonbase .moonbase\\:peek .moonbase\\:peek-voucher>div:first-child{display:flex;flex-direction:column;margin-bottom:16px}#moonbase .moonbase\\:peek .moonbase\\:peek-voucher>div:first-child>:not(:first-child){margin-top:2px}#moonbase .moonbase\\:peek .moonbase\\:peek-voucher>div:first-child svg{height:16px;width:16px;margin-right:2px;color:var(--moonbase-text-success-primary);display:inline;margin-bottom:3px}#moonbase .moonbase\\:peek .moonbase\\:peek-voucher-auth{margin:16px 0}#moonbase .moonbase\\:peek .moonbase\\:peek-voucher-auth>button{width:100%;margin-top:16px}#moonbase .moonbase\\:peek .moonbase\\:peek-voucher-content{display:flex;flex-direction:column}#moonbase .moonbase\\:peek .moonbase\\:peek-voucher-content>*{margin-top:12px}#moonbase .moonbase\\:subscription-content-card>*>.moonbase\\:subscription-content-card-content{flex:1 1 auto;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}#moonbase .moonbase\\:subscription-content-card>*>.moonbase\\:subscription-content-card-content>:not(:first-child){margin-top:2px}#moonbase .moonbase\\:subscription-content-card>*>.moonbase\\:subscription-content-card-content>.moonbase\\:subscription-content-card-tagline{color:var(--moonbase-text-neutral-secondary)}#moonbase .moonbase\\:subscription-content-card>*>.moonbase\\:subscription-content-card-content>.moonbase\\:subscription-content-card-expiry{color:var(--moonbase-text-secondary)}#moonbase .moonbase\\:subscription-content-card .moonbase\\:subscription-content-card-description{padding:0 16px 16px}#moonbase .moonbase\\:subscription-content-card .moonbase\\:subscription-content-card-description>span{display:-webkit-box;white-space:pre-wrap;-webkit-box-orient:vertical;-webkit-line-clamp:4;line-clamp:4;overflow:hidden;text-overflow:ellipsis}#moonbase .moonbase\\:subscription-content-card .moonbase\\:subscription-content-card-description>button>span{text-decoration:underline;color:var(--moonbase-text-primary)}#moonbase .moonbase\\:subscription-content-card .moonbase\\:subscription-content-card-description[data-open]>span{-webkit-line-clamp:unset;line-clamp:unset}#moonbase .moonbase\\:milestone-rewards{padding:8px 0 0}#moonbase .moonbase\\:milestone-rewards .moonbase\\:milestone-rewards-list>:not(:first-child){border-top-width:1px;border-color:var(--moonbase-border-primary)}#moonbase .moonbase\\:milestone-rewards .moonbase\\:milestone-rewards-item{padding:8px 0}#moonbase .moonbase\\:milestone-rewards .moonbase\\:milestone-rewards-item>span{display:block;white-space:pre-line;border-left:4px solid var(--moonbase-bg-secondary);padding-left:8px}#moonbase .moonbase\\:milestone-rewards .moonbase\\:milestone-rewards-item>div{margin:4px 0}#moonbase .moonbase\\:milestone-rewards .moonbase\\:milestone-rewards-item code{display:inline-block;border-radius:8px;background-color:var(--moonbase-bg-secondary);padding:4px 8px;font-size:14px;font-family:monospace}#moonbase .moonbase\\:subscription{padding:0 32px 32px}#moonbase .moonbase\\:subscription .moonbase\\:loader{display:flex;align-items:center;flex-direction:column;padding:36px 16px;text-align:center}#moonbase .moonbase\\:subscription .moonbase\\:loader svg{height:24px;width:24px}#moonbase .moonbase\\:subscription .moonbase\\:loader p{margin-top:4px;font-size:14px;font-weight:500;line-height:18px}#moonbase .moonbase\\:subscription .moonbase\\:subscription-actions{display:flex;flex-direction:column;margin-top:16px}#moonbase .moonbase\\:subscription .moonbase\\:subscription-actions>*:not(:first-child){margin-top:8px}#moonbase .moonbase\\:subscription .moonbase\\:subscription-actions>span{color:var(--moonbase-text-secondary)}#moonbase .moonbase\\:subscription .moonbase\\:subscription-milestones{padding:16px 0}#moonbase .moonbase\\:subscription .moonbase\\:subscription-milestones .moonbase\\:subscription-milestone-progress-title{display:flex;gap:16px;justify-content:space-between;align-items:flex-end}#moonbase,#moonbase *:not(svg,path),#moonbase :before,#moonbase :after{all:revert;box-sizing:border-box;border-width:0;border-style:solid;color-scheme:normal}#moonbase.moonbase\\:dark,#moonbase.moonbase\\:dark *:not(svg,path),#moonbase.moonbase\\:dark :before,#moonbase.moonbase\\:dark :after{color-scheme:dark}#moonbase *:not(svg,path){margin:0;padding:0;font-family:var(--moonbase-font-body),system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"}:root{--moonbase-white: #FFFFFF;--moonbase-black: #0A162A;--moonbase-gray-50: #EFF0F2;--moonbase-gray-100: #DBDFE5;--moonbase-gray-200: #B4B9C2;--moonbase-gray-300: #9298A6;--moonbase-gray-400: #7D8595;--moonbase-gray-500: #5C667A;--moonbase-gray-600: #545D6F;--moonbase-gray-700: #414857;--moonbase-gray-800: #333843;--moonbase-gray-900: #1E2127;--moonbase-neutral-50: #F7F9FC;--moonbase-neutral-100: #EDEFF5;--moonbase-neutral-200: #C9CED7;--moonbase-neutral-300: #99A2B1;--moonbase-neutral-400: #758399;--moonbase-neutral-500: #5B667F;--moonbase-neutral-600: #3C4B65;--moonbase-neutral-700: #2B3852;--moonbase-neutral-800: #18273F;--moonbase-neutral-900: #0A162A;--moonbase-green-50: #EBFFEE;--moonbase-green-100: #CFF7D3;--moonbase-green-200: #AFF4C6;--moonbase-green-300: #85E0A3;--moonbase-green-400: #14AE5C;--moonbase-green-500: #009951;--moonbase-green-600: #008043;--moonbase-green-700: #02542D;--moonbase-green-800: #024023;--moonbase-green-900: #062D1B;--moonbase-red-50: #FEE9E7;--moonbase-red-100: #FDD3D0;--moonbase-red-200: #FCB3AD;--moonbase-red-300: #F4776A;--moonbase-red-400: #EC221F;--moonbase-red-500: #C00F0C;--moonbase-red-600: #900B09;--moonbase-red-700: #690807;--moonbase-red-800: #4D0B0A;--moonbase-red-900: #300603;--moonbase-yellow-50: #FFFBEB;--moonbase-yellow-100: #FFF1C2;--moonbase-yellow-200: #FFE8A3;--moonbase-yellow-300: #E8B931;--moonbase-yellow-400: #E5A000;--moonbase-yellow-500: #BF6A02;--moonbase-yellow-600: #975102;--moonbase-yellow-700: #682D03;--moonbase-yellow-800: #522504;--moonbase-yellow-900: #401B01;--moonbase-bg-primary: var(--moonbase-white);--moonbase-bg-primary-hover: var(--moonbase-gray-50);--moonbase-bg-secondary: var(--moonbase-gray-50);--moonbase-bg-secondary-hover: var(--moonbase-gray-100);--moonbase-bg-tertiary: var(--moonbase-gray-200);--moonbase-bg-tertiary-hover: var(--moonbase-gray-300);--moonbase-bg-disabled: var(--moonbase-gray-100);--moonbase-bg-contrast: var(--moonbase-gray-900);--moonbase-bg-contrast-hover: var(--moonbase-gray-800);--moonbase-bg-neutral-primary: var(--moonbase-white);--moonbase-bg-neutral-primary-hover: var(--moonbase-neutral-50);--moonbase-bg-neutral-secondary: var(--moonbase-neutral-50);--moonbase-bg-neutral-secondary-hover: var(--moonbase-neutral-100);--moonbase-bg-neutral-tertiary: var(--moonbase-neutral-100);--moonbase-bg-neutral-tertiary-hover: var(--moonbase-neutral-200);--moonbase-bg-neutral-disabled: var(--moonbase-neutral-100);--moonbase-bg-neutral-contrast: var(--moonbase-neutral-800);--moonbase-bg-neutral-contrast-hover: var(--moonbase-neutral-700);--moonbase-bg-brand-primary: var(--moonbase-brand-500);--moonbase-bg-brand-primary-hover: var(--moonbase-brand-600);--moonbase-bg-brand-secondary: var(--moonbase-brand-50);--moonbase-bg-brand-secondary-hover: var(--moonbase-brand-100);--moonbase-bg-brand-tertiary: var(--moonbase-brand-400);--moonbase-bg-brand-tertiary-hover: var(--moonbase-brand-500);--moonbase-bg-success-primary: var(--moonbase-green-50);--moonbase-bg-success-primary-hover: var(--moonbase-green-100);--moonbase-bg-success-secondary: var(--moonbase-green-200);--moonbase-bg-success-secondary-hover: var(--moonbase-green-300);--moonbase-bg-success-tertiary: var(--moonbase-green-400);--moonbase-bg-success-tertiary-hover: var(--moonbase-green-500);--moonbase-bg-warning-primary: var(--moonbase-yellow-50);--moonbase-bg-warning-primary-hover: var(--moonbase-yellow-100);--moonbase-bg-warning-secondary: var(--moonbase-yellow-200);--moonbase-bg-warning-secondary-hover: var(--moonbase-yellow-300);--moonbase-bg-warning-tertiary: var(--moonbase-yellow-400);--moonbase-bg-warning-tertiary-hover: var(--moonbase-yellow-500);--moonbase-bg-danger-primary: var(--moonbase-red-50);--moonbase-bg-danger-primary-hover: var(--moonbase-red-100);--moonbase-bg-danger-secondary: var(--moonbase-red-200);--moonbase-bg-danger-secondary-hover: var(--moonbase-red-300);--moonbase-bg-danger-tertiary: var(--moonbase-red-400);--moonbase-bg-danger-tertiary-hover: var(--moonbase-red-500);--moonbase-text-primary: var(--moonbase-gray-900);--moonbase-text-secondary: var(--moonbase-gray-500);--moonbase-text-tertiary: var(--moonbase-gray-300);--moonbase-text-disabled: var(--moonbase-gray-300);--moonbase-text-contrast: var(--moonbase-white);--moonbase-text-neutral-primary: var(--moonbase-neutral-900);--moonbase-text-neutral-secondary: var(--moonbase-neutral-500);--moonbase-text-neutral-tertiary: var(--moonbase-neutral-300);--moonbase-text-neutral-disabled: var(--moonbase-neutral-300);--moonbase-text-neutral-contrast: var(--moonbase-white);--moonbase-text-brand-primary: var(--moonbase-brand-500);--moonbase-text-brand-secondary: var(--moonbase-brand-700);--moonbase-text-brand-tertiary: var(--moonbase-brand-800);--moonbase-text-success-primary: var(--moonbase-green-600);--moonbase-text-success-secondary: var(--moonbase-green-700);--moonbase-text-success-tertiary: var(--moonbase-green-800);--moonbase-text-warning-primary: var(--moonbase-yellow-500);--moonbase-text-warning-secondary: var(--moonbase-yellow-600);--moonbase-text-warning-tertiary: var(--moonbase-yellow-700);--moonbase-text-danger-primary: var(--moonbase-red-500);--moonbase-text-danger-secondary: var(--moonbase-red-700);--moonbase-text-danger-tertiary: var(--moonbase-red-800);--moonbase-border-primary: var(--moonbase-gray-100);--moonbase-border-primary-hover: var(--moonbase-gray-200);--moonbase-border-secondary: var(--moonbase-gray-200);--moonbase-border-secondary-hover: var(--moonbase-gray-300);--moonbase-border-tertiary: var(--moonbase-gray-900);--moonbase-border-tertiary-hover: var(--moonbase-gray-900);--moonbase-border-disabled: var(--moonbase-gray-50);--moonbase-border-neutral-primary: var(--moonbase-neutral-100);--moonbase-border-neutral-primary-hover: var(--moonbase-neutral-200);--moonbase-border-neutral-secondary: var(--moonbase-neutral-200);--moonbase-border-neutral-secondary-hover: var(--moonbase-neutral-300);--moonbase-border-neutral-tertiary: var(--moonbase-neutral-900);--moonbase-border-neutral-tertiary-hover: var(--moonbase-neutral-900);--moonbase-border-neutral-disabled: var(--moonbase-neutral-200);--moonbase-border-brand-primary: var(--moonbase-brand-700);--moonbase-border-brand-primary-hover: var(--moonbase-brand-800);--moonbase-border-brand-secondary: var(--moonbase-brand-600);--moonbase-border-brand-secondary-hover: var(--moonbase-brand-700);--moonbase-border-brand-tertiary: var(--moonbase-brand-300);--moonbase-border-brand-tertiary-hover: var(--moonbase-brand-400);--moonbase-border-success-primary: var(--moonbase-green-700);--moonbase-border-success-primary-hover: var(--moonbase-green-800);--moonbase-border-success-secondary: var(--moonbase-green-600);--moonbase-border-success-secondary-hover: var(--moonbase-green-700);--moonbase-border-success-tertiary: var(--moonbase-green-300);--moonbase-border-success-tertiary-hover: var(--moonbase-green-400);--moonbase-border-warning-primary: var(--moonbase-yellow-700);--moonbase-border-warning-primary-hover: var(--moonbase-yellow-800);--moonbase-border-warning-secondary: var(--moonbase-yellow-600);--moonbase-border-warning-secondary-hover: var(--moonbase-yellow-700);--moonbase-border-warning-tertiary: var(--moonbase-yellow-300);--moonbase-border-warning-tertiary-hover: var(--moonbase-yellow-400);--moonbase-border-danger-primary: var(--moonbase-red-600);--moonbase-border-danger-primary-hover: var(--moonbase-red-700);--moonbase-border-danger-secondary: var(--moonbase-red-500);--moonbase-border-danger-secondary-hover: var(--moonbase-red-600);--moonbase-border-danger-tertiary: var(--moonbase-red-300);--moonbase-border-danger-tertiary-hover: var(--moonbase-red-400)}:root.moonbase\\:dark{--moonbase-bg-primary: var(--moonbase-gray-900);--moonbase-bg-primary-hover: var(--moonbase-gray-800);--moonbase-bg-secondary: var(--moonbase-gray-800);--moonbase-bg-secondary-hover: var(--moonbase-gray-700);--moonbase-bg-tertiary: var(--moonbase-gray-600);--moonbase-bg-tertiary-hover: var(--moonbase-gray-500);--moonbase-bg-disabled: var(--moonbase-gray-800);--moonbase-bg-contrast: var(--moonbase-gray-50);--moonbase-bg-contrast-hover: var(--moonbase-gray-100);--moonbase-bg-neutral-primary: var(--moonbase-black);--moonbase-bg-neutral-primary-hover: var(--moonbase-neutral-900);--moonbase-bg-neutral-secondary: var(--moonbase-neutral-900);--moonbase-bg-neutral-secondary-hover: var(--moonbase-neutral-800);--moonbase-bg-neutral-tertiary: var(--moonbase-neutral-800);--moonbase-bg-neutral-tertiary-hover: var(--moonbase-neutral-700);--moonbase-bg-neutral-disabled: var(--moonbase-neutral-800);--moonbase-bg-neutral-contrast: var(--moonbase-neutral-200);--moonbase-bg-neutral-contrast-hover: var(--moonbase-neutral-300);--moonbase-bg-brand-primary: var(--moonbase-brand-500);--moonbase-bg-brand-primary-hover: var(--moonbase-brand-600);--moonbase-bg-brand-secondary: var(--moonbase-brand-800);--moonbase-bg-brand-secondary-hover: var(--moonbase-brand-900);--moonbase-bg-brand-tertiary: var(--moonbase-brand-600);--moonbase-bg-brand-tertiary-hover: var(--moonbase-brand-700);--moonbase-bg-success-primary: var(--moonbase-green-900);--moonbase-bg-success-primary-hover: var(--moonbase-green-800);--moonbase-bg-success-secondary: var(--moonbase-green-700);--moonbase-bg-success-secondary-hover: var(--moonbase-green-600);--moonbase-bg-success-tertiary: var(--moonbase-green-600);--moonbase-bg-success-tertiary-hover: var(--moonbase-green-500);--moonbase-bg-warning-primary: var(--moonbase-yellow-900);--moonbase-bg-warning-primary-hover: var(--moonbase-yellow-800);--moonbase-bg-warning-secondary: var(--moonbase-yellow-700);--moonbase-bg-warning-secondary-hover: var(--moonbase-yellow-600);--moonbase-bg-warning-tertiary: var(--moonbase-yellow-600);--moonbase-bg-warning-tertiary-hover: var(--moonbase-yellow-500);--moonbase-bg-danger-primary: var(--moonbase-red-900);--moonbase-bg-danger-primary-hover: var(--moonbase-red-800);--moonbase-bg-danger-secondary: var(--moonbase-red-700);--moonbase-bg-danger-secondary-hover: var(--moonbase-red-600);--moonbase-bg-danger-tertiary: var(--moonbase-red-600);--moonbase-bg-danger-tertiary-hover: var(--moonbase-red-500);--moonbase-text-primary: var(--moonbase-gray-50);--moonbase-text-secondary: var(--moonbase-gray-300);--moonbase-text-tertiary: var(--moonbase-gray-500);--moonbase-text-disabled: var(--moonbase-gray-500);--moonbase-text-contrast: var(--moonbase-gray-50);--moonbase-text-neutral-primary: var(--moonbase-neutral-50);--moonbase-text-neutral-secondary: var(--moonbase-neutral-400);--moonbase-text-neutral-tertiary: var(--moonbase-neutral-700);--moonbase-text-neutral-disabled: var(--moonbase-neutral-700);--moonbase-text-neutral-contrast: var(--moonbase-neutral-900);--moonbase-text-brand-primary: var(--moonbase-brand-300);--moonbase-text-brand-secondary: var(--moonbase-brand-700);--moonbase-text-brand-tertiary: var(--moonbase-brand-800);--moonbase-text-success-primary: var(--moonbase-green-400);--moonbase-text-success-secondary: var(--moonbase-green-300);--moonbase-text-success-tertiary: var(--moonbase-green-200);--moonbase-text-warning-primary: var(--moonbase-yellow-500);--moonbase-text-warning-secondary: var(--moonbase-yellow-400);--moonbase-text-warning-tertiary: var(--moonbase-yellow-300);--moonbase-text-danger-primary: var(--moonbase-red-400);--moonbase-text-danger-secondary: var(--moonbase-red-300);--moonbase-text-danger-tertiary: var(--moonbase-red-200);--moonbase-border-primary: var(--moonbase-gray-800);--moonbase-border-primary-hover: var(--moonbase-gray-700);--moonbase-border-secondary: var(--moonbase-gray-700);--moonbase-border-secondary-hover: var(--moonbase-gray-600);--moonbase-border-tertiary: var(--moonbase-gray-50);--moonbase-border-tertiary-hover: var(--moonbase-gray-50);--moonbase-border-disabled: var(--moonbase-gray-900);--moonbase-border-neutral-primary: var(--moonbase-neutral-900);--moonbase-border-neutral-primary-hover: var(--moonbase-neutral-800);--moonbase-border-neutral-secondary: var(--moonbase-neutral-700);--moonbase-border-neutral-secondary-hover: var(--moonbase-neutral-600);--moonbase-border-neutral-tertiary: var(--moonbase-neutral-50);--moonbase-border-neutral-tertiary-hover: var(--moonbase-neutral-50);--moonbase-border-neutral-disabled: var(--moonbase-neutral-700);--moonbase-border-brand-primary: var(--moonbase-brand-300);--moonbase-border-brand-primary-hover: var(--moonbase-brand-200);--moonbase-border-brand-secondary: var(--moonbase-brand-400);--moonbase-border-brand-secondary-hover: var(--moonbase-brand-300);--moonbase-border-brand-tertiary: var(--moonbase-brand-700);--moonbase-border-brand-tertiary-hover: var(--moonbase-brand-600);--moonbase-border-success-primary: var(--moonbase-green-300);--moonbase-border-success-primary-hover: var(--moonbase-green-200);--moonbase-border-success-secondary: var(--moonbase-green-400);--moonbase-border-success-secondary-hover: var(--moonbase-green-300);--moonbase-border-success-tertiary: var(--moonbase-green-700);--moonbase-border-success-tertiary-hover: var(--moonbase-green-600);--moonbase-border-warning-primary: var(--moonbase-yellow-300);--moonbase-border-warning-primary-hover: var(--moonbase-yellow-200);--moonbase-border-warning-secondary: var(--moonbase-yellow-400);--moonbase-border-warning-secondary-hover: var(--moonbase-yellow-300);--moonbase-border-warning-tertiary: var(--moonbase-yellow-700);--moonbase-border-warning-tertiary-hover: var(--moonbase-yellow-600);--moonbase-border-danger-primary: var(--moonbase-red-400);--moonbase-border-danger-primary-hover: var(--moonbase-red-300);--moonbase-border-danger-secondary: var(--moonbase-red-500);--moonbase-border-danger-secondary-hover: var(--moonbase-red-400);--moonbase-border-danger-tertiary: var(--moonbase-red-700);--moonbase-border-danger-tertiary-hover: var(--moonbase-red-600)}#moonbase .moonbase\\:scale-enter-active{transition-property:transform,opacity;transition-timing-function:ease-out;transition-duration:.2s}#moonbase .moonbase\\:scale-enter-from{opacity:0;transform:scale(.95)}#moonbase .moonbase\\:scale-enter-to{opacity:1;transform:scale(1)}#moonbase .moonbase\\:scale-leave-active{transition-property:transform,opacity;transition-timing-function:ease-in;transition-duration:.15s}#moonbase .moonbase\\:scale-leave-from{opacity:1;transform:scale(1)}#moonbase .moonbase\\:scale-leave-to{opacity:0;transform:scale(.95)}#moonbase .moonbase\\:slide-left-enter-active{transition-property:transform,opacity;transition-timing-function:ease-out;transition-duration:.2s}#moonbase .moonbase\\:slide-left-enter-from{opacity:0;transform:translate(16px)}#moonbase .moonbase\\:slide-left-enter-to{opacity:1;transform:translate(0)}#moonbase .moonbase\\:slide-left-leave-active{transition-property:transform,opacity;transition-timing-function:ease-in;transition-duration:.15s}#moonbase .moonbase\\:slide-left-leave-from{opacity:1;transform:translate(0)}#moonbase .moonbase\\:slide-left-leave-to{opacity:0;transform:translate(-16px)}#moonbase .moonbase\\:slide-right-enter-active{transition-property:transform,opacity;transition-timing-function:ease-out;transition-duration:.2s}#moonbase .moonbase\\:slide-right-enter-from{opacity:0;transform:translate(-16px)}#moonbase .moonbase\\:slide-right-enter-to{opacity:1;transform:translate(0)}#moonbase .moonbase\\:slide-right-leave-active{transition-property:transform,opacity;transition-timing-function:ease-in;transition-duration:.15s}#moonbase .moonbase\\:slide-right-leave-from{opacity:1;transform:translate(0)}#moonbase .moonbase\\:slide-right-leave-to{opacity:0;transform:translate(16px)}#moonbase .moonbase\\:sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}#moonbase .moonbase\\:grow{flex-grow:1}#moonbase .moonbase\\:shrink{flex-shrink:1}#moonbase .moonbase\\:underline{text-decoration:underline}#moonbase .moonbase\\:success-icon{height:1em;margin-bottom:2px;color:var(--moonbase-text-success-primary);display:inline}#moonbase a{color:inherit;text-decoration:inherit}#moonbase input,#moonbase button,#moonbase textarea,#moonbase select{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-weight:inherit;line-height:inherit;letter-spacing:inherit;background:none;font-size:100%;line-height:1.15;margin:0;padding:0;color:inherit}#moonbase button,#moonbase select{text-transform:none}#moonbase button,#moonbase [role=button]{cursor:pointer}#moonbase button,#moonbase [type=button],#moonbase [type=reset],#moonbase [type=submit]{-webkit-appearance:button}#moonbase h1,#moonbase h2,#moonbase h3,#moonbase h4,#moonbase h5,#moonbase h6{font-size:inherit;font-weight:inherit}#moonbase b,#moonbase strong{font-weight:bolder}#moonbase svg,.moonbase svg *{color:inherit}#moonbase table{text-indent:0;border-color:inherit;border-collapse:collapse}#moonbase img,#moonbase svg,#moonbase video,#moonbase canvas,#moonbase audio,#moonbase iframe,#moonbase embed,#moonbase object{display:block;vertical-align:middle}#moonbase ol,#moonbase ul,#moonbase menu{list-style:none;margin:0;padding:0}#moonbase img,#moonbase video{max-width:100%;height:auto}#moonbase :disabled{cursor:default}#moonbase [hidden]{display:none}#moonbase ::-moz-focus-inner{border-style:none;padding:0}#moonbase :-moz-focusring{outline:none}#moonbase :-moz-ui-invalid{box-shadow:none}',{})})();
|
|
2
2
|
var qm = Object.defineProperty;
|
|
3
3
|
var Wm = (e, t, n) => t in e ? qm(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
4
|
-
var
|
|
4
|
+
var Br = (e, t, n) => Wm(e, typeof t != "symbol" ? t + "" : t, n);
|
|
5
5
|
var ze;
|
|
6
6
|
(function(e) {
|
|
7
7
|
e.assertEqual = (o) => o;
|
|
@@ -38,14 +38,14 @@ var ze;
|
|
|
38
38
|
}
|
|
39
39
|
e.joinValues = r, e.jsonStringifyReplacer = (o, s) => typeof s == "bigint" ? s.toString() : s;
|
|
40
40
|
})(ze || (ze = {}));
|
|
41
|
-
var
|
|
41
|
+
var Ul;
|
|
42
42
|
(function(e) {
|
|
43
43
|
e.mergeShapes = (t, n) => ({
|
|
44
44
|
...t,
|
|
45
45
|
...n
|
|
46
46
|
// second overwrites first
|
|
47
47
|
});
|
|
48
|
-
})(
|
|
48
|
+
})(Ul || (Ul = {}));
|
|
49
49
|
const ue = ze.arrayToEnum([
|
|
50
50
|
"string",
|
|
51
51
|
"nan",
|
|
@@ -308,7 +308,7 @@ class Pt {
|
|
|
308
308
|
}
|
|
309
309
|
const ke = Object.freeze({
|
|
310
310
|
status: "aborted"
|
|
311
|
-
}), $o = (e) => ({ status: "dirty", value: e }),
|
|
311
|
+
}), $o = (e) => ({ status: "dirty", value: e }), Ft = (e) => ({ status: "valid", value: e }), Bl = (e) => e.status === "aborted", Fl = (e) => e.status === "dirty", Rs = (e) => e.status === "valid", js = (e) => typeof Promise < "u" && e instanceof Promise;
|
|
312
312
|
function la(e, t, n, r) {
|
|
313
313
|
if (typeof t == "function" ? e !== t || !0 : !t.has(e)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
314
314
|
return t.get(e);
|
|
@@ -467,7 +467,7 @@ class De {
|
|
|
467
467
|
return this._refinement(t);
|
|
468
468
|
}
|
|
469
469
|
optional() {
|
|
470
|
-
return
|
|
470
|
+
return Un.create(this, this._def);
|
|
471
471
|
}
|
|
472
472
|
nullable() {
|
|
473
473
|
return $r.create(this, this._def);
|
|
@@ -1220,7 +1220,7 @@ Ir.create = (e) => {
|
|
|
1220
1220
|
...Pe(e)
|
|
1221
1221
|
});
|
|
1222
1222
|
};
|
|
1223
|
-
class
|
|
1223
|
+
class Us extends De {
|
|
1224
1224
|
_parse(t) {
|
|
1225
1225
|
if (this._def.coerce && (t.data = !!t.data), this._getType(t) !== ue.boolean) {
|
|
1226
1226
|
const r = this._getOrReturnCtx(t);
|
|
@@ -1230,10 +1230,10 @@ class Bs extends De {
|
|
|
1230
1230
|
received: r.parsedType
|
|
1231
1231
|
}), ke;
|
|
1232
1232
|
}
|
|
1233
|
-
return
|
|
1233
|
+
return Ft(t.data);
|
|
1234
1234
|
}
|
|
1235
1235
|
}
|
|
1236
|
-
|
|
1236
|
+
Us.create = (e) => new Us({
|
|
1237
1237
|
typeName: Ee.ZodBoolean,
|
|
1238
1238
|
coerce: (e == null ? void 0 : e.coerce) || !1,
|
|
1239
1239
|
...Pe(e)
|
|
@@ -1326,14 +1326,14 @@ class ua extends De {
|
|
|
1326
1326
|
received: r.parsedType
|
|
1327
1327
|
}), ke;
|
|
1328
1328
|
}
|
|
1329
|
-
return
|
|
1329
|
+
return Ft(t.data);
|
|
1330
1330
|
}
|
|
1331
1331
|
}
|
|
1332
1332
|
ua.create = (e) => new ua({
|
|
1333
1333
|
typeName: Ee.ZodSymbol,
|
|
1334
1334
|
...Pe(e)
|
|
1335
1335
|
});
|
|
1336
|
-
class
|
|
1336
|
+
class Bs extends De {
|
|
1337
1337
|
_parse(t) {
|
|
1338
1338
|
if (this._getType(t) !== ue.undefined) {
|
|
1339
1339
|
const r = this._getOrReturnCtx(t);
|
|
@@ -1343,10 +1343,10 @@ class Us extends De {
|
|
|
1343
1343
|
received: r.parsedType
|
|
1344
1344
|
}), ke;
|
|
1345
1345
|
}
|
|
1346
|
-
return
|
|
1346
|
+
return Ft(t.data);
|
|
1347
1347
|
}
|
|
1348
1348
|
}
|
|
1349
|
-
|
|
1349
|
+
Bs.create = (e) => new Bs({
|
|
1350
1350
|
typeName: Ee.ZodUndefined,
|
|
1351
1351
|
...Pe(e)
|
|
1352
1352
|
});
|
|
@@ -1360,7 +1360,7 @@ class Fs extends De {
|
|
|
1360
1360
|
received: r.parsedType
|
|
1361
1361
|
}), ke;
|
|
1362
1362
|
}
|
|
1363
|
-
return
|
|
1363
|
+
return Ft(t.data);
|
|
1364
1364
|
}
|
|
1365
1365
|
}
|
|
1366
1366
|
Fs.create = (e) => new Fs({
|
|
@@ -1372,7 +1372,7 @@ class Zo extends De {
|
|
|
1372
1372
|
super(...arguments), this._any = !0;
|
|
1373
1373
|
}
|
|
1374
1374
|
_parse(t) {
|
|
1375
|
-
return
|
|
1375
|
+
return Ft(t.data);
|
|
1376
1376
|
}
|
|
1377
1377
|
}
|
|
1378
1378
|
Zo.create = (e) => new Zo({
|
|
@@ -1384,14 +1384,14 @@ class to extends De {
|
|
|
1384
1384
|
super(...arguments), this._unknown = !0;
|
|
1385
1385
|
}
|
|
1386
1386
|
_parse(t) {
|
|
1387
|
-
return
|
|
1387
|
+
return Ft(t.data);
|
|
1388
1388
|
}
|
|
1389
1389
|
}
|
|
1390
1390
|
to.create = (e) => new to({
|
|
1391
1391
|
typeName: Ee.ZodUnknown,
|
|
1392
1392
|
...Pe(e)
|
|
1393
1393
|
});
|
|
1394
|
-
class
|
|
1394
|
+
class lr extends De {
|
|
1395
1395
|
_parse(t) {
|
|
1396
1396
|
const n = this._getOrReturnCtx(t);
|
|
1397
1397
|
return ae(n, {
|
|
@@ -1401,7 +1401,7 @@ class ar extends De {
|
|
|
1401
1401
|
}), ke;
|
|
1402
1402
|
}
|
|
1403
1403
|
}
|
|
1404
|
-
|
|
1404
|
+
lr.create = (e) => new lr({
|
|
1405
1405
|
typeName: Ee.ZodNever,
|
|
1406
1406
|
...Pe(e)
|
|
1407
1407
|
});
|
|
@@ -1415,7 +1415,7 @@ class ca extends De {
|
|
|
1415
1415
|
received: r.parsedType
|
|
1416
1416
|
}), ke;
|
|
1417
1417
|
}
|
|
1418
|
-
return
|
|
1418
|
+
return Ft(t.data);
|
|
1419
1419
|
}
|
|
1420
1420
|
}
|
|
1421
1421
|
ca.create = (e) => new ca({
|
|
@@ -1500,7 +1500,7 @@ function Po(e) {
|
|
|
1500
1500
|
const t = {};
|
|
1501
1501
|
for (const n in e.shape) {
|
|
1502
1502
|
const r = e.shape[n];
|
|
1503
|
-
t[n] =
|
|
1503
|
+
t[n] = Un.create(Po(r));
|
|
1504
1504
|
}
|
|
1505
1505
|
return new at({
|
|
1506
1506
|
...e._def,
|
|
@@ -1509,7 +1509,7 @@ function Po(e) {
|
|
|
1509
1509
|
} else return e instanceof bn ? new bn({
|
|
1510
1510
|
...e._def,
|
|
1511
1511
|
type: Po(e.element)
|
|
1512
|
-
}) : e instanceof
|
|
1512
|
+
}) : e instanceof Un ? Un.create(Po(e.unwrap())) : e instanceof $r ? $r.create(Po(e.unwrap())) : e instanceof Hn ? Hn.create(e.items.map((t) => Po(t))) : e;
|
|
1513
1513
|
}
|
|
1514
1514
|
class at extends De {
|
|
1515
1515
|
constructor() {
|
|
@@ -1531,7 +1531,7 @@ class at extends De {
|
|
|
1531
1531
|
}), ke;
|
|
1532
1532
|
}
|
|
1533
1533
|
const { status: r, ctx: o } = this._processInputParams(t), { shape: s, keys: i } = this._getCached(), a = [];
|
|
1534
|
-
if (!(this._def.catchall instanceof
|
|
1534
|
+
if (!(this._def.catchall instanceof lr && this._def.unknownKeys === "strip"))
|
|
1535
1535
|
for (const u in o.data)
|
|
1536
1536
|
i.includes(u) || a.push(u);
|
|
1537
1537
|
const l = [];
|
|
@@ -1543,7 +1543,7 @@ class at extends De {
|
|
|
1543
1543
|
alwaysSet: u in o.data
|
|
1544
1544
|
});
|
|
1545
1545
|
}
|
|
1546
|
-
if (this._def.catchall instanceof
|
|
1546
|
+
if (this._def.catchall instanceof lr) {
|
|
1547
1547
|
const u = this._def.unknownKeys;
|
|
1548
1548
|
if (u === "passthrough")
|
|
1549
1549
|
for (const c of a)
|
|
@@ -1764,7 +1764,7 @@ class at extends De {
|
|
|
1764
1764
|
n[r] = this.shape[r];
|
|
1765
1765
|
else {
|
|
1766
1766
|
let s = this.shape[r];
|
|
1767
|
-
for (; s instanceof
|
|
1767
|
+
for (; s instanceof Un; )
|
|
1768
1768
|
s = s._def.innerType;
|
|
1769
1769
|
n[r] = s;
|
|
1770
1770
|
}
|
|
@@ -1780,21 +1780,21 @@ class at extends De {
|
|
|
1780
1780
|
at.create = (e, t) => new at({
|
|
1781
1781
|
shape: () => e,
|
|
1782
1782
|
unknownKeys: "strip",
|
|
1783
|
-
catchall:
|
|
1783
|
+
catchall: lr.create(),
|
|
1784
1784
|
typeName: Ee.ZodObject,
|
|
1785
1785
|
...Pe(t)
|
|
1786
1786
|
});
|
|
1787
1787
|
at.strictCreate = (e, t) => new at({
|
|
1788
1788
|
shape: () => e,
|
|
1789
1789
|
unknownKeys: "strict",
|
|
1790
|
-
catchall:
|
|
1790
|
+
catchall: lr.create(),
|
|
1791
1791
|
typeName: Ee.ZodObject,
|
|
1792
1792
|
...Pe(t)
|
|
1793
1793
|
});
|
|
1794
1794
|
at.lazycreate = (e, t) => new at({
|
|
1795
1795
|
shape: e,
|
|
1796
1796
|
unknownKeys: "strip",
|
|
1797
|
-
catchall:
|
|
1797
|
+
catchall: lr.create(),
|
|
1798
1798
|
typeName: Ee.ZodObject,
|
|
1799
1799
|
...Pe(t)
|
|
1800
1800
|
});
|
|
@@ -1871,7 +1871,7 @@ zs.create = (e, t) => new zs({
|
|
|
1871
1871
|
typeName: Ee.ZodUnion,
|
|
1872
1872
|
...Pe(t)
|
|
1873
1873
|
});
|
|
1874
|
-
const
|
|
1874
|
+
const tr = (e) => e instanceof Ws ? tr(e.schema) : e instanceof En ? tr(e.innerType()) : e instanceof Zs ? [e.value] : e instanceof Dr ? e.options : e instanceof Ys ? ze.objectValues(e.enum) : e instanceof Ks ? tr(e._def.innerType) : e instanceof Bs ? [void 0] : e instanceof Fs ? [null] : e instanceof Un ? [void 0, ...tr(e.unwrap())] : e instanceof $r ? [null, ...tr(e.unwrap())] : e instanceof Eu || e instanceof Qs ? tr(e.unwrap()) : e instanceof Gs ? tr(e._def.innerType) : [];
|
|
1875
1875
|
class Ma extends De {
|
|
1876
1876
|
_parse(t) {
|
|
1877
1877
|
const { ctx: n } = this._processInputParams(t);
|
|
@@ -1916,7 +1916,7 @@ class Ma extends De {
|
|
|
1916
1916
|
static create(t, n, r) {
|
|
1917
1917
|
const o = /* @__PURE__ */ new Map();
|
|
1918
1918
|
for (const s of n) {
|
|
1919
|
-
const i =
|
|
1919
|
+
const i = tr(s.shape[t]);
|
|
1920
1920
|
if (!i.length)
|
|
1921
1921
|
throw new Error(`A discriminator value for key \`${t}\` could not be extracted from all schema options`);
|
|
1922
1922
|
for (const a of i) {
|
|
@@ -1963,7 +1963,7 @@ function zl(e, t) {
|
|
|
1963
1963
|
class Hs extends De {
|
|
1964
1964
|
_parse(t) {
|
|
1965
1965
|
const { status: n, ctx: r } = this._processInputParams(t), o = (s, i) => {
|
|
1966
|
-
if (
|
|
1966
|
+
if (Bl(s) || Bl(i))
|
|
1967
1967
|
return ke;
|
|
1968
1968
|
const a = zl(s.value, i.value);
|
|
1969
1969
|
return a.valid ? ((Fl(s) || Fl(i)) && n.dirty(), { status: n.value, value: a.data }) : (ae(r, {
|
|
@@ -2248,7 +2248,7 @@ class jo extends De {
|
|
|
2248
2248
|
const s = { errorMap: n.common.contextualErrorMap }, i = n.data;
|
|
2249
2249
|
if (this._def.returns instanceof Yo) {
|
|
2250
2250
|
const a = this;
|
|
2251
|
-
return
|
|
2251
|
+
return Ft(async function(...l) {
|
|
2252
2252
|
const u = new Jt([]), c = await a._def.args.parseAsync(l, s).catch((h) => {
|
|
2253
2253
|
throw u.addIssue(r(l, h)), u;
|
|
2254
2254
|
}), d = await Reflect.apply(i, this, c);
|
|
@@ -2258,7 +2258,7 @@ class jo extends De {
|
|
|
2258
2258
|
});
|
|
2259
2259
|
} else {
|
|
2260
2260
|
const a = this;
|
|
2261
|
-
return
|
|
2261
|
+
return Ft(function(...l) {
|
|
2262
2262
|
const u = a._def.args.safeParse(l, s);
|
|
2263
2263
|
if (!u.success)
|
|
2264
2264
|
throw new Jt([r(l, u.error)]);
|
|
@@ -2365,7 +2365,7 @@ class Dr extends De {
|
|
|
2365
2365
|
options: r
|
|
2366
2366
|
}), ke;
|
|
2367
2367
|
}
|
|
2368
|
-
return
|
|
2368
|
+
return Ft(t.data);
|
|
2369
2369
|
}
|
|
2370
2370
|
get options() {
|
|
2371
2371
|
return this._def.values;
|
|
@@ -2425,7 +2425,7 @@ class Ys extends De {
|
|
|
2425
2425
|
options: o
|
|
2426
2426
|
}), ke;
|
|
2427
2427
|
}
|
|
2428
|
-
return
|
|
2428
|
+
return Ft(t.data);
|
|
2429
2429
|
}
|
|
2430
2430
|
get enum() {
|
|
2431
2431
|
return this._def.values;
|
|
@@ -2450,7 +2450,7 @@ class Yo extends De {
|
|
|
2450
2450
|
received: n.parsedType
|
|
2451
2451
|
}), ke;
|
|
2452
2452
|
const r = n.parsedType === ue.promise ? n.data : Promise.resolve(n.data);
|
|
2453
|
-
return
|
|
2453
|
+
return Ft(r.then((o) => this._def.type.parseAsync(o, {
|
|
2454
2454
|
path: n.path,
|
|
2455
2455
|
errorMap: n.common.contextualErrorMap
|
|
2456
2456
|
})));
|
|
@@ -2550,22 +2550,22 @@ En.createWithPreprocess = (e, t, n) => new En({
|
|
|
2550
2550
|
typeName: Ee.ZodEffects,
|
|
2551
2551
|
...Pe(n)
|
|
2552
2552
|
});
|
|
2553
|
-
class
|
|
2553
|
+
class Un extends De {
|
|
2554
2554
|
_parse(t) {
|
|
2555
|
-
return this._getType(t) === ue.undefined ?
|
|
2555
|
+
return this._getType(t) === ue.undefined ? Ft(void 0) : this._def.innerType._parse(t);
|
|
2556
2556
|
}
|
|
2557
2557
|
unwrap() {
|
|
2558
2558
|
return this._def.innerType;
|
|
2559
2559
|
}
|
|
2560
2560
|
}
|
|
2561
|
-
|
|
2561
|
+
Un.create = (e, t) => new Un({
|
|
2562
2562
|
innerType: e,
|
|
2563
2563
|
typeName: Ee.ZodOptional,
|
|
2564
2564
|
...Pe(t)
|
|
2565
2565
|
});
|
|
2566
2566
|
class $r extends De {
|
|
2567
2567
|
_parse(t) {
|
|
2568
|
-
return this._getType(t) === ue.null ?
|
|
2568
|
+
return this._getType(t) === ue.null ? Ft(null) : this._def.innerType._parse(t);
|
|
2569
2569
|
}
|
|
2570
2570
|
unwrap() {
|
|
2571
2571
|
return this._def.innerType;
|
|
@@ -2742,10 +2742,10 @@ var Ee;
|
|
|
2742
2742
|
})(Ee || (Ee = {}));
|
|
2743
2743
|
const h0 = (e, t = {
|
|
2744
2744
|
message: `Input not instance of ${e.name}`
|
|
2745
|
-
}) => sf((n) => n instanceof e, t), af = mn.create, lf = Tr.create, p0 = fa.create, m0 = Ir.create, uf =
|
|
2745
|
+
}) => sf((n) => n instanceof e, t), af = mn.create, lf = Tr.create, p0 = fa.create, m0 = Ir.create, uf = Us.create, g0 = co.create, b0 = ua.create, v0 = Bs.create, y0 = Fs.create, w0 = Zo.create, _0 = to.create, E0 = lr.create, k0 = ca.create, x0 = bn.create, A0 = at.create, C0 = at.strictCreate, O0 = zs.create, S0 = Ma.create, N0 = Hs.create, P0 = Hn.create, T0 = qs.create, I0 = da.create, D0 = fo.create, $0 = jo.create, M0 = Ws.create, V0 = Zs.create, L0 = Dr.create, R0 = Ys.create, j0 = Yo.create, _c = En.create, U0 = Un.create, B0 = $r.create, F0 = En.createWithPreprocess, z0 = fi.create, H0 = () => af().optional(), q0 = () => lf().optional(), W0 = () => uf().optional(), Z0 = {
|
|
2746
2746
|
string: (e) => mn.create({ ...e, coerce: !0 }),
|
|
2747
2747
|
number: (e) => Tr.create({ ...e, coerce: !0 }),
|
|
2748
|
-
boolean: (e) =>
|
|
2748
|
+
boolean: (e) => Us.create({
|
|
2749
2749
|
...e,
|
|
2750
2750
|
coerce: !0
|
|
2751
2751
|
}),
|
|
@@ -2763,8 +2763,8 @@ var g = /* @__PURE__ */ Object.freeze({
|
|
|
2763
2763
|
ParseStatus: Pt,
|
|
2764
2764
|
INVALID: ke,
|
|
2765
2765
|
DIRTY: $o,
|
|
2766
|
-
OK:
|
|
2767
|
-
isAborted:
|
|
2766
|
+
OK: Ft,
|
|
2767
|
+
isAborted: Bl,
|
|
2768
2768
|
isDirty: Fl,
|
|
2769
2769
|
isValid: Rs,
|
|
2770
2770
|
isAsync: js,
|
|
@@ -2772,7 +2772,7 @@ var g = /* @__PURE__ */ Object.freeze({
|
|
|
2772
2772
|
return ze;
|
|
2773
2773
|
},
|
|
2774
2774
|
get objectUtil() {
|
|
2775
|
-
return
|
|
2775
|
+
return Ul;
|
|
2776
2776
|
},
|
|
2777
2777
|
ZodParsedType: ue,
|
|
2778
2778
|
getParsedType: kr,
|
|
@@ -2781,14 +2781,14 @@ var g = /* @__PURE__ */ Object.freeze({
|
|
|
2781
2781
|
ZodString: mn,
|
|
2782
2782
|
ZodNumber: Tr,
|
|
2783
2783
|
ZodBigInt: Ir,
|
|
2784
|
-
ZodBoolean:
|
|
2784
|
+
ZodBoolean: Us,
|
|
2785
2785
|
ZodDate: co,
|
|
2786
2786
|
ZodSymbol: ua,
|
|
2787
|
-
ZodUndefined:
|
|
2787
|
+
ZodUndefined: Bs,
|
|
2788
2788
|
ZodNull: Fs,
|
|
2789
2789
|
ZodAny: Zo,
|
|
2790
2790
|
ZodUnknown: to,
|
|
2791
|
-
ZodNever:
|
|
2791
|
+
ZodNever: lr,
|
|
2792
2792
|
ZodVoid: ca,
|
|
2793
2793
|
ZodArray: bn,
|
|
2794
2794
|
ZodObject: at,
|
|
@@ -2807,7 +2807,7 @@ var g = /* @__PURE__ */ Object.freeze({
|
|
|
2807
2807
|
ZodPromise: Yo,
|
|
2808
2808
|
ZodEffects: En,
|
|
2809
2809
|
ZodTransformer: En,
|
|
2810
|
-
ZodOptional:
|
|
2810
|
+
ZodOptional: Un,
|
|
2811
2811
|
ZodNullable: $r,
|
|
2812
2812
|
ZodDefault: Ks,
|
|
2813
2813
|
ZodCatch: Gs,
|
|
@@ -2842,12 +2842,12 @@ var g = /* @__PURE__ */ Object.freeze({
|
|
|
2842
2842
|
nativeEnum: R0,
|
|
2843
2843
|
never: E0,
|
|
2844
2844
|
null: y0,
|
|
2845
|
-
nullable:
|
|
2845
|
+
nullable: B0,
|
|
2846
2846
|
number: lf,
|
|
2847
2847
|
object: A0,
|
|
2848
2848
|
oboolean: W0,
|
|
2849
2849
|
onumber: q0,
|
|
2850
|
-
optional:
|
|
2850
|
+
optional: U0,
|
|
2851
2851
|
ostring: H0,
|
|
2852
2852
|
pipeline: z0,
|
|
2853
2853
|
preprocess: F0,
|
|
@@ -2912,7 +2912,7 @@ var Mr = g.record(g.number()), G0 = g.object({
|
|
|
2912
2912
|
total: Mr.optional(),
|
|
2913
2913
|
isExclusive: g.boolean(),
|
|
2914
2914
|
recurringPaymentUseCount: g.number().optional()
|
|
2915
|
-
}),
|
|
2915
|
+
}), or = g.object({
|
|
2916
2916
|
currency: g.string(),
|
|
2917
2917
|
amount: g.number()
|
|
2918
2918
|
}), Va = g.discriminatedUnion("type", [
|
|
@@ -2937,7 +2937,7 @@ var Mr = g.record(g.number()), G0 = g.object({
|
|
|
2937
2937
|
}), La = g.lazy(
|
|
2938
2938
|
() => g.union([g.string(), g.number(), g.boolean(), g.record(La)])
|
|
2939
2939
|
);
|
|
2940
|
-
function
|
|
2940
|
+
function Uo(e) {
|
|
2941
2941
|
return g.object({
|
|
2942
2942
|
items: g.array(e),
|
|
2943
2943
|
hasMore: g.boolean(),
|
|
@@ -3298,7 +3298,7 @@ var pi = /* @__PURE__ */ ((e) => (e.iLok = "iLok", e))(pi || {}), xu = g.object(
|
|
|
3298
3298
|
Nn(Af, {
|
|
3299
3299
|
activationSchema: () => Cu,
|
|
3300
3300
|
externalLicenseContent: () => Of,
|
|
3301
|
-
licenseSchema: () =>
|
|
3301
|
+
licenseSchema: () => Ua
|
|
3302
3302
|
});
|
|
3303
3303
|
var Au = /* @__PURE__ */ ((e) => (e.Active = "Active", e.Pending = "Pending", e.Revoked = "Revoked", e))(Au || {}), Cf = /* @__PURE__ */ ((e) => (e.Active = "Active", e.Revoked = "Revoked", e))(Cf || {}), ja = /* @__PURE__ */ ((e) => (e.Online = "Online", e.Offline = "Offline", e))(ja || {}), ig = g.object({
|
|
3304
3304
|
type: g.literal("file"),
|
|
@@ -3313,7 +3313,7 @@ var Au = /* @__PURE__ */ ((e) => (e.Active = "Active", e.Pending = "Pending", e.
|
|
|
3313
3313
|
ig,
|
|
3314
3314
|
ag
|
|
3315
3315
|
])
|
|
3316
|
-
]),
|
|
3316
|
+
]), Ua = g.object({
|
|
3317
3317
|
id: g.string(),
|
|
3318
3318
|
status: g.nativeEnum(Au),
|
|
3319
3319
|
product: ha,
|
|
@@ -3338,7 +3338,7 @@ var Au = /* @__PURE__ */ ((e) => (e.Active = "Active", e.Pending = "Pending", e.
|
|
|
3338
3338
|
this.api = e, this.configuration = t;
|
|
3339
3339
|
}
|
|
3340
3340
|
async activate(e, t) {
|
|
3341
|
-
const n = await this.api.authenticatedFetch(`/api/customer/inventory/activate?method=${t}${this.configuration.includeManifests ? "&includeManifests=true" : ""}`,
|
|
3341
|
+
const n = await this.api.authenticatedFetch(`/api/customer/inventory/activate?method=${t}${this.configuration.includeManifests ? "&includeManifests=true" : ""}`, Ua, {
|
|
3342
3342
|
method: "POST",
|
|
3343
3343
|
body: e,
|
|
3344
3344
|
contentType: "text/plain"
|
|
@@ -3353,12 +3353,12 @@ var Au = /* @__PURE__ */ ((e) => (e.Active = "Active", e.Pending = "Pending", e.
|
|
|
3353
3353
|
this.api = e, this.configuration = t;
|
|
3354
3354
|
}
|
|
3355
3355
|
async get(e) {
|
|
3356
|
-
return (await this.api.authenticatedFetch(e || `/api/customer/inventory/licenses${this.configuration.includeManifests ? "?includeManifests=true" : ""}`,
|
|
3356
|
+
return (await this.api.authenticatedFetch(e || `/api/customer/inventory/licenses${this.configuration.includeManifests ? "?includeManifests=true" : ""}`, Uo(Ua))).data;
|
|
3357
3357
|
}
|
|
3358
3358
|
async getActivations(e, t) {
|
|
3359
3359
|
return (await this.api.authenticatedFetch(
|
|
3360
3360
|
t || `/api/customer/inventory/licenses/${e}/activations`,
|
|
3361
|
-
|
|
3361
|
+
Uo(Cu)
|
|
3362
3362
|
)).data;
|
|
3363
3363
|
}
|
|
3364
3364
|
async revokeActivation(e, t) {
|
|
@@ -3372,13 +3372,13 @@ var Au = /* @__PURE__ */ ((e) => (e.Active = "Active", e.Pending = "Pending", e.
|
|
|
3372
3372
|
return (await this.api.fetch(`/api/customer/inventory/products/${e}${t ? `?version=${t}${this.configuration.includeManifests ? "&includeManifests=true" : ""}` : this.configuration.includeManifests ? "?includeManifests=true" : ""}`, ha)).data;
|
|
3373
3373
|
}
|
|
3374
3374
|
async getOwned(e) {
|
|
3375
|
-
return (await this.api.authenticatedFetch(e || `/api/customer/inventory/products${this.configuration.includeManifests ? "?includeManifests=true" : ""}`,
|
|
3375
|
+
return (await this.api.authenticatedFetch(e || `/api/customer/inventory/products${this.configuration.includeManifests ? "?includeManifests=true" : ""}`, Uo(ha))).data;
|
|
3376
3376
|
}
|
|
3377
3377
|
async getLicenses(e, t) {
|
|
3378
|
-
return (await this.api.authenticatedFetch(t || `/api/customer/inventory/products/${e}/licenses${this.configuration.includeManifests ? "?includeManifests=true" : ""}`,
|
|
3378
|
+
return (await this.api.authenticatedFetch(t || `/api/customer/inventory/products/${e}/licenses${this.configuration.includeManifests ? "?includeManifests=true" : ""}`, Uo(Ua))).data;
|
|
3379
3379
|
}
|
|
3380
3380
|
async getActivations(e, t) {
|
|
3381
|
-
return (await this.api.authenticatedFetch(t || `/api/customer/inventory/products/${e}/licenses/activations`,
|
|
3381
|
+
return (await this.api.authenticatedFetch(t || `/api/customer/inventory/products/${e}/licenses/activations`, Uo(Cu))).data;
|
|
3382
3382
|
}
|
|
3383
3383
|
async getDownloadUrl(e) {
|
|
3384
3384
|
const t = new URL(e);
|
|
@@ -3510,7 +3510,7 @@ Nn(Nf, {
|
|
|
3510
3510
|
openOrderSchema: () => fn,
|
|
3511
3511
|
openProductLineItem: () => Df,
|
|
3512
3512
|
orderSchema: () => Vf,
|
|
3513
|
-
orderTotalSchema: () =>
|
|
3513
|
+
orderTotalSchema: () => Ba
|
|
3514
3514
|
});
|
|
3515
3515
|
var To = /* @__PURE__ */ ((e) => (e.Open = "Open", e.PaymentProcessing = "PaymentProcessing", e.Paid = "Paid", e.Completed = "Completed", e.Failed = "Failed", e))(To || {}), Pf = g.object({
|
|
3516
3516
|
code: g.string(),
|
|
@@ -3522,10 +3522,10 @@ var To = /* @__PURE__ */ ((e) => (e.Open = "Open", e.PaymentProcessing = "Paymen
|
|
|
3522
3522
|
tagline: g.string(),
|
|
3523
3523
|
iconUrl: g.string().nullable()
|
|
3524
3524
|
}), If = g.object({
|
|
3525
|
-
original:
|
|
3526
|
-
discount:
|
|
3527
|
-
subtotal:
|
|
3528
|
-
due:
|
|
3525
|
+
original: or,
|
|
3526
|
+
discount: or,
|
|
3527
|
+
subtotal: or,
|
|
3528
|
+
due: or
|
|
3529
3529
|
}), Df = g.object({
|
|
3530
3530
|
id: g.string(),
|
|
3531
3531
|
type: g.literal("Product"),
|
|
@@ -3567,16 +3567,16 @@ var To = /* @__PURE__ */ ((e) => (e.Open = "Open", e.PaymentProcessing = "Paymen
|
|
|
3567
3567
|
}), Ou = g.discriminatedUnion("type", [
|
|
3568
3568
|
Df,
|
|
3569
3569
|
$f
|
|
3570
|
-
]),
|
|
3571
|
-
original:
|
|
3572
|
-
discount:
|
|
3573
|
-
subtotal:
|
|
3574
|
-
taxes:
|
|
3575
|
-
due:
|
|
3570
|
+
]), Ba = g.object({
|
|
3571
|
+
original: or,
|
|
3572
|
+
discount: or,
|
|
3573
|
+
subtotal: or,
|
|
3574
|
+
taxes: or,
|
|
3575
|
+
due: or
|
|
3576
3576
|
}), fn = g.object({
|
|
3577
3577
|
id: g.string(),
|
|
3578
3578
|
currency: g.string(),
|
|
3579
|
-
total:
|
|
3579
|
+
total: Ba.nullish(),
|
|
3580
3580
|
items: Ou.array(),
|
|
3581
3581
|
couponsApplied: Pf.array(),
|
|
3582
3582
|
checkoutUrl: g.string().optional(),
|
|
@@ -3596,7 +3596,7 @@ var To = /* @__PURE__ */ ((e) => (e.Open = "Open", e.PaymentProcessing = "Paymen
|
|
|
3596
3596
|
),
|
|
3597
3597
|
currency: g.string(),
|
|
3598
3598
|
customer: pg,
|
|
3599
|
-
total:
|
|
3599
|
+
total: Ba,
|
|
3600
3600
|
items: Ou.array(),
|
|
3601
3601
|
couponsApplied: Pf.array()
|
|
3602
3602
|
}), Vf = g.discriminatedUnion("status", [
|
|
@@ -3660,7 +3660,7 @@ var To = /* @__PURE__ */ ((e) => (e.Open = "Open", e.PaymentProcessing = "Paymen
|
|
|
3660
3660
|
renewedAt: g.coerce.date().nullable(),
|
|
3661
3661
|
nextPaymentScheduledAt: g.coerce.date().nullable(),
|
|
3662
3662
|
startedAt: g.coerce.date(),
|
|
3663
|
-
total:
|
|
3663
|
+
total: Ba,
|
|
3664
3664
|
cycleLength: g.nativeEnum(xr),
|
|
3665
3665
|
paymentMethod: g.string().optional(),
|
|
3666
3666
|
milestoneProgress: Lf.nullish(),
|
|
@@ -3682,7 +3682,7 @@ var To = /* @__PURE__ */ ((e) => (e.Open = "Open", e.PaymentProcessing = "Paymen
|
|
|
3682
3682
|
this.api = e, this.configuration = t;
|
|
3683
3683
|
}
|
|
3684
3684
|
async get(e) {
|
|
3685
|
-
return (await this.api.authenticatedFetch(e || "/api/customer/inventory/subscriptions",
|
|
3685
|
+
return (await this.api.authenticatedFetch(e || "/api/customer/inventory/subscriptions", Uo(Zi))).data;
|
|
3686
3686
|
}
|
|
3687
3687
|
async getById(e, t) {
|
|
3688
3688
|
return (await this.api.authenticatedFetch(`/api/customer/inventory/subscriptions/${e}?${dg(t)}`, Zi)).data;
|
|
@@ -3866,11 +3866,11 @@ var To = /* @__PURE__ */ ((e) => (e.Open = "Open", e.PaymentProcessing = "Paymen
|
|
|
3866
3866
|
}
|
|
3867
3867
|
};
|
|
3868
3868
|
Rf.storageKey = "moonbase_auth";
|
|
3869
|
-
var jf = Rf,
|
|
3870
|
-
Nn(
|
|
3871
|
-
vendorSchema: () =>
|
|
3869
|
+
var jf = Rf, Uf = {};
|
|
3870
|
+
Nn(Uf, {
|
|
3871
|
+
vendorSchema: () => Bf
|
|
3872
3872
|
});
|
|
3873
|
-
var
|
|
3873
|
+
var Bf = g.object({
|
|
3874
3874
|
id: g.string(),
|
|
3875
3875
|
name: g.string(),
|
|
3876
3876
|
logoUrl: g.string().nullable()
|
|
@@ -3879,7 +3879,7 @@ var Uf = g.object({
|
|
|
3879
3879
|
this.api = e;
|
|
3880
3880
|
}
|
|
3881
3881
|
async get() {
|
|
3882
|
-
return (await this.api.fetch("/api/public/vendors/current",
|
|
3882
|
+
return (await this.api.fetch("/api/public/vendors/current", Bf)).data;
|
|
3883
3883
|
}
|
|
3884
3884
|
}, Ff = {};
|
|
3885
3885
|
Nn(Ff, {
|
|
@@ -3932,7 +3932,7 @@ Nn(Fa, {
|
|
|
3932
3932
|
inventory: () => zf,
|
|
3933
3933
|
orders: () => Nf,
|
|
3934
3934
|
storefront: () => df,
|
|
3935
|
-
vendor: () =>
|
|
3935
|
+
vendor: () => Uf,
|
|
3936
3936
|
vouchers: () => Ff
|
|
3937
3937
|
});
|
|
3938
3938
|
var zf = {};
|
|
@@ -4011,25 +4011,25 @@ var za = class {
|
|
|
4011
4011
|
**/
|
|
4012
4012
|
/*! #__NO_SIDE_EFFECTS__ */
|
|
4013
4013
|
// @__NO_SIDE_EFFECTS__
|
|
4014
|
-
function
|
|
4014
|
+
function dr(e) {
|
|
4015
4015
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4016
4016
|
for (const n of e.split(",")) t[n] = 1;
|
|
4017
4017
|
return (n) => n in t;
|
|
4018
4018
|
}
|
|
4019
|
-
const Je = qf.NODE_ENV !== "production" ? Object.freeze({}) : {},
|
|
4019
|
+
const Je = qf.NODE_ENV !== "production" ? Object.freeze({}) : {}, Bo = qf.NODE_ENV !== "production" ? Object.freeze([]) : [], vt = () => {
|
|
4020
4020
|
}, Cg = () => !1, mi = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // uppercase letter
|
|
4021
4021
|
(e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), ma = (e) => e.startsWith("onUpdate:"), lt = Object.assign, Nu = (e, t) => {
|
|
4022
4022
|
const n = e.indexOf(t);
|
|
4023
4023
|
n > -1 && e.splice(n, 1);
|
|
4024
|
-
}, Og = Object.prototype.hasOwnProperty,
|
|
4024
|
+
}, Og = Object.prototype.hasOwnProperty, Be = (e, t) => Og.call(e, t), me = Array.isArray, no = (e) => Ha(e) === "[object Map]", Wf = (e) => Ha(e) === "[object Set]", we = (e) => typeof e == "function", st = (e) => typeof e == "string", fr = (e) => typeof e == "symbol", qe = (e) => e !== null && typeof e == "object", Pu = (e) => (qe(e) || we(e)) && we(e.then) && we(e.catch), Zf = Object.prototype.toString, Ha = (e) => Zf.call(e), Tu = (e) => Ha(e).slice(8, -1), Yf = (e) => Ha(e) === "[object Object]", Iu = (e) => st(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, Ps = /* @__PURE__ */ dr(
|
|
4025
4025
|
// the leading comma is intentional so empty string "" is also included
|
|
4026
4026
|
",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"
|
|
4027
|
-
), Sg = /* @__PURE__ */
|
|
4027
|
+
), Sg = /* @__PURE__ */ dr(
|
|
4028
4028
|
"bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"
|
|
4029
4029
|
), qa = (e) => {
|
|
4030
4030
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4031
4031
|
return (n) => t[n] || (t[n] = e(n));
|
|
4032
|
-
}, Ng = /-(\w)/g,
|
|
4032
|
+
}, Ng = /-(\w)/g, Ut = qa(
|
|
4033
4033
|
(e) => e.replace(Ng, (t, n) => n ? n.toUpperCase() : "")
|
|
4034
4034
|
), Pg = /\B([A-Z])/g, Rr = qa(
|
|
4035
4035
|
(e) => e.replace(Pg, "-$1").toLowerCase()
|
|
@@ -4091,7 +4091,7 @@ function bi(e) {
|
|
|
4091
4091
|
e[n] && (t += n + " ");
|
|
4092
4092
|
return t.trim();
|
|
4093
4093
|
}
|
|
4094
|
-
const Lg = "html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot", Rg = "svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view", jg = "annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics",
|
|
4094
|
+
const Lg = "html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot", Rg = "svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view", jg = "annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics", Ug = /* @__PURE__ */ dr(Lg), Bg = /* @__PURE__ */ dr(Rg), Fg = /* @__PURE__ */ dr(jg), zg = "itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly", Hg = /* @__PURE__ */ dr(zg);
|
|
4095
4095
|
function Kf(e) {
|
|
4096
4096
|
return !!e || e === "";
|
|
4097
4097
|
}
|
|
@@ -4102,12 +4102,12 @@ const Gf = (e) => !!(e && e.__v_isRef === !0), D = (e) => st(e) ? e : e == null
|
|
|
4102
4102
|
)
|
|
4103
4103
|
} : Wf(t) ? {
|
|
4104
4104
|
[`Set(${t.size})`]: [...t.values()].map((n) => fl(n))
|
|
4105
|
-
} :
|
|
4105
|
+
} : fr(t) ? fl(t) : qe(t) && !me(t) && !Yf(t) ? String(t) : t, fl = (e, t = "") => {
|
|
4106
4106
|
var n;
|
|
4107
4107
|
return (
|
|
4108
4108
|
// Symbol.description in es2019+ so we need to cast here to pass
|
|
4109
4109
|
// the lib: es2016 check
|
|
4110
|
-
|
|
4110
|
+
fr(e) ? `Symbol(${(n = e.description) != null ? n : t})` : e
|
|
4111
4111
|
);
|
|
4112
4112
|
};
|
|
4113
4113
|
var tt = {};
|
|
@@ -4469,7 +4469,7 @@ function Vn(e, t, n, r, o, s) {
|
|
|
4469
4469
|
if (l && n === "length") {
|
|
4470
4470
|
const c = Number(r);
|
|
4471
4471
|
i.forEach((d, f) => {
|
|
4472
|
-
(f === "length" || f === ei || !
|
|
4472
|
+
(f === "length" || f === ei || !fr(f) && f >= c) && a(d);
|
|
4473
4473
|
});
|
|
4474
4474
|
} else
|
|
4475
4475
|
switch ((n !== void 0 || i.has(void 0)) && a(i.get(n)), u && a(i.get(ei)), t) {
|
|
@@ -4629,11 +4629,11 @@ function fs(e, t, n = []) {
|
|
|
4629
4629
|
const r = _e(e)[t].apply(e, n);
|
|
4630
4630
|
return $u(), An(), r;
|
|
4631
4631
|
}
|
|
4632
|
-
const Qg = /* @__PURE__ */
|
|
4633
|
-
/* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(
|
|
4632
|
+
const Qg = /* @__PURE__ */ dr("__proto__,__v_isRef,__isVue"), uh = new Set(
|
|
4633
|
+
/* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(fr)
|
|
4634
4634
|
);
|
|
4635
4635
|
function Xg(e) {
|
|
4636
|
-
|
|
4636
|
+
fr(e) || (e = String(e));
|
|
4637
4637
|
const t = _e(this);
|
|
4638
4638
|
return bt(t, "has", e), t.hasOwnProperty(e);
|
|
4639
4639
|
}
|
|
@@ -4670,7 +4670,7 @@ class ch {
|
|
|
4670
4670
|
// its class methods
|
|
4671
4671
|
nt(t) ? t : r
|
|
4672
4672
|
);
|
|
4673
|
-
return (
|
|
4673
|
+
return (fr(n) ? uh.has(n) : Qg(n)) || (o || bt(t, "get", n), s) ? a : nt(a) ? i && Iu(n) ? a : a.value : qe(a) ? o ? bh(a) : vi(a) : a;
|
|
4674
4674
|
}
|
|
4675
4675
|
}
|
|
4676
4676
|
class dh extends ch {
|
|
@@ -4684,7 +4684,7 @@ class dh extends ch {
|
|
|
4684
4684
|
if (!Bt(r) && !qn(r) && (s = _e(s), r = _e(r)), !me(t) && nt(s) && !nt(r))
|
|
4685
4685
|
return l ? !1 : (s.value = r, !0);
|
|
4686
4686
|
}
|
|
4687
|
-
const i = me(t) && Iu(n) ? Number(n) < t.length :
|
|
4687
|
+
const i = me(t) && Iu(n) ? Number(n) < t.length : Be(t, n), a = Reflect.set(
|
|
4688
4688
|
t,
|
|
4689
4689
|
n,
|
|
4690
4690
|
r,
|
|
@@ -4693,12 +4693,12 @@ class dh extends ch {
|
|
|
4693
4693
|
return t === _e(o) && (i ? Pr(r, s) && Vn(t, "set", n, r, s) : Vn(t, "add", n, r)), a;
|
|
4694
4694
|
}
|
|
4695
4695
|
deleteProperty(t, n) {
|
|
4696
|
-
const r =
|
|
4696
|
+
const r = Be(t, n), o = t[n], s = Reflect.deleteProperty(t, n);
|
|
4697
4697
|
return s && r && Vn(t, "delete", n, void 0, o), s;
|
|
4698
4698
|
}
|
|
4699
4699
|
has(t, n) {
|
|
4700
4700
|
const r = Reflect.has(t, n);
|
|
4701
|
-
return (!
|
|
4701
|
+
return (!fr(n) || !uh.has(n)) && bt(t, "has", n), r;
|
|
4702
4702
|
}
|
|
4703
4703
|
ownKeys(t) {
|
|
4704
4704
|
return bt(
|
|
@@ -4837,7 +4837,7 @@ function ob(e, t) {
|
|
|
4837
4837
|
function Za(e, t) {
|
|
4838
4838
|
const n = ob(e, t);
|
|
4839
4839
|
return (r, o, s) => o === "__v_isReactive" ? !e : o === "__v_isReadonly" ? e : o === "__v_raw" ? r : Reflect.get(
|
|
4840
|
-
|
|
4840
|
+
Be(n, o) && o in r ? n : r,
|
|
4841
4841
|
o,
|
|
4842
4842
|
s
|
|
4843
4843
|
);
|
|
@@ -4952,7 +4952,7 @@ function _e(e) {
|
|
|
4952
4952
|
return t ? _e(t) : e;
|
|
4953
4953
|
}
|
|
4954
4954
|
function Or(e) {
|
|
4955
|
-
return !
|
|
4955
|
+
return !Be(e, "__v_skip") && Object.isExtensible(e) && Xs(e, "__v_skip", !0), e;
|
|
4956
4956
|
}
|
|
4957
4957
|
const kt = (e) => qe(e) ? vi(e) : e, ba = (e) => qe(e) ? bh(e) : e;
|
|
4958
4958
|
function nt(e) {
|
|
@@ -4992,7 +4992,7 @@ class hb {
|
|
|
4992
4992
|
function b(e) {
|
|
4993
4993
|
return nt(e) ? e.value : e;
|
|
4994
4994
|
}
|
|
4995
|
-
function
|
|
4995
|
+
function gr(e) {
|
|
4996
4996
|
return we(e) ? e() : b(e);
|
|
4997
4997
|
}
|
|
4998
4998
|
const pb = {
|
|
@@ -5081,22 +5081,22 @@ function yb(e, t = !1, n = Yr) {
|
|
|
5081
5081
|
);
|
|
5082
5082
|
}
|
|
5083
5083
|
function wb(e, t, n = Je) {
|
|
5084
|
-
const { immediate: r, deep: o, once: s, scheduler: i, augmentJob: a, call: l } = n, u = (
|
|
5084
|
+
const { immediate: r, deep: o, once: s, scheduler: i, augmentJob: a, call: l } = n, u = (B) => {
|
|
5085
5085
|
(n.onWarn || ln)(
|
|
5086
5086
|
"Invalid watch source: ",
|
|
5087
|
-
|
|
5087
|
+
B,
|
|
5088
5088
|
"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types."
|
|
5089
5089
|
);
|
|
5090
|
-
}, c = (
|
|
5090
|
+
}, c = (B) => o ? B : Bt(B) || o === !1 || o === 0 ? Ar(B, 1) : Ar(B);
|
|
5091
5091
|
let d, f, h, m, w = !1, x = !1;
|
|
5092
|
-
if (nt(e) ? (f = () => e.value, w = Bt(e)) : yn(e) ? (f = () => c(e), w = !0) : me(e) ? (x = !0, w = e.some((
|
|
5093
|
-
if (nt(
|
|
5094
|
-
return
|
|
5095
|
-
if (yn(
|
|
5096
|
-
return c(
|
|
5097
|
-
if (we(
|
|
5098
|
-
return l ? l(
|
|
5099
|
-
tt.NODE_ENV !== "production" && u(
|
|
5092
|
+
if (nt(e) ? (f = () => e.value, w = Bt(e)) : yn(e) ? (f = () => c(e), w = !0) : me(e) ? (x = !0, w = e.some((B) => yn(B) || Bt(B)), f = () => e.map((B) => {
|
|
5093
|
+
if (nt(B))
|
|
5094
|
+
return B.value;
|
|
5095
|
+
if (yn(B))
|
|
5096
|
+
return c(B);
|
|
5097
|
+
if (we(B))
|
|
5098
|
+
return l ? l(B, 2) : B();
|
|
5099
|
+
tt.NODE_ENV !== "production" && u(B);
|
|
5100
5100
|
})) : we(e) ? t ? f = l ? () => l(e, 2) : e : f = () => {
|
|
5101
5101
|
if (h) {
|
|
5102
5102
|
xn();
|
|
@@ -5106,32 +5106,32 @@ function wb(e, t, n = Je) {
|
|
|
5106
5106
|
An();
|
|
5107
5107
|
}
|
|
5108
5108
|
}
|
|
5109
|
-
const
|
|
5109
|
+
const B = Yr;
|
|
5110
5110
|
Yr = d;
|
|
5111
5111
|
try {
|
|
5112
5112
|
return l ? l(e, 3, [m]) : e(m);
|
|
5113
5113
|
} finally {
|
|
5114
|
-
Yr =
|
|
5114
|
+
Yr = B;
|
|
5115
5115
|
}
|
|
5116
5116
|
} : (f = vt, tt.NODE_ENV !== "production" && u(e)), t && o) {
|
|
5117
|
-
const
|
|
5118
|
-
f = () => Ar(
|
|
5117
|
+
const B = f, $ = o === !0 ? 1 / 0 : o;
|
|
5118
|
+
f = () => Ar(B(), $);
|
|
5119
5119
|
}
|
|
5120
5120
|
const S = eh(), M = () => {
|
|
5121
5121
|
d.stop(), S && S.active && Nu(S.effects, d);
|
|
5122
5122
|
};
|
|
5123
5123
|
if (s && t) {
|
|
5124
|
-
const
|
|
5124
|
+
const B = t;
|
|
5125
5125
|
t = (...$) => {
|
|
5126
|
-
|
|
5126
|
+
B(...$), M();
|
|
5127
5127
|
};
|
|
5128
5128
|
}
|
|
5129
|
-
let
|
|
5130
|
-
const V = (
|
|
5131
|
-
if (!(!(d.flags & 1) || !d.dirty && !
|
|
5129
|
+
let U = x ? new Array(e.length).fill(Di) : Di;
|
|
5130
|
+
const V = (B) => {
|
|
5131
|
+
if (!(!(d.flags & 1) || !d.dirty && !B))
|
|
5132
5132
|
if (t) {
|
|
5133
5133
|
const $ = d.run();
|
|
5134
|
-
if (o || w || (x ? $.some((v, A) => Pr(v,
|
|
5134
|
+
if (o || w || (x ? $.some((v, A) => Pr(v, U[A])) : Pr($, U))) {
|
|
5135
5135
|
h && h();
|
|
5136
5136
|
const v = Yr;
|
|
5137
5137
|
Yr = d;
|
|
@@ -5139,10 +5139,10 @@ function wb(e, t, n = Je) {
|
|
|
5139
5139
|
const A = [
|
|
5140
5140
|
$,
|
|
5141
5141
|
// pass undefined as the old value when it's changed for the first time
|
|
5142
|
-
|
|
5142
|
+
U === Di ? void 0 : x && U[0] === Di ? [] : U,
|
|
5143
5143
|
m
|
|
5144
5144
|
];
|
|
5145
|
-
|
|
5145
|
+
U = $, l ? l(t, 3, A) : (
|
|
5146
5146
|
// @ts-expect-error
|
|
5147
5147
|
t(...A)
|
|
5148
5148
|
);
|
|
@@ -5153,16 +5153,16 @@ function wb(e, t, n = Je) {
|
|
|
5153
5153
|
} else
|
|
5154
5154
|
d.run();
|
|
5155
5155
|
};
|
|
5156
|
-
return a && a(V), d = new th(f), d.scheduler = i ? () => i(V, !1) : V, m = (
|
|
5157
|
-
const
|
|
5158
|
-
if (
|
|
5156
|
+
return a && a(V), d = new th(f), d.scheduler = i ? () => i(V, !1) : V, m = (B) => yb(B, !1, d), h = d.onStop = () => {
|
|
5157
|
+
const B = va.get(d);
|
|
5158
|
+
if (B) {
|
|
5159
5159
|
if (l)
|
|
5160
|
-
l(
|
|
5160
|
+
l(B, 4);
|
|
5161
5161
|
else
|
|
5162
|
-
for (const $ of
|
|
5162
|
+
for (const $ of B) $();
|
|
5163
5163
|
va.delete(d);
|
|
5164
5164
|
}
|
|
5165
|
-
}, tt.NODE_ENV !== "production" && (d.onTrack = n.onTrack, d.onTrigger = n.onTrigger), t ? r ? V(!0) :
|
|
5165
|
+
}, tt.NODE_ENV !== "production" && (d.onTrack = n.onTrack, d.onTrigger = n.onTrigger), t ? r ? V(!0) : U = d.run() : i ? i(V.bind(null, !0), !0) : d.run(), M.pause = d.pause.bind(d), M.resume = d.resume.bind(d), M.stop = M, M;
|
|
5166
5166
|
}
|
|
5167
5167
|
function Ar(e, t = 1 / 0, n) {
|
|
5168
5168
|
if (t <= 0 || !qe(e) || e.__v_skip || (n = n || /* @__PURE__ */ new Set(), n.has(e)))
|
|
@@ -5359,7 +5359,7 @@ function Cb(e, t, n, r = !0, o = !1) {
|
|
|
5359
5359
|
console.error(e);
|
|
5360
5360
|
}
|
|
5361
5361
|
}
|
|
5362
|
-
const
|
|
5362
|
+
const Rt = [];
|
|
5363
5363
|
let $n = -1;
|
|
5364
5364
|
const Fo = [];
|
|
5365
5365
|
let wr = null, Io = 0;
|
|
@@ -5371,18 +5371,18 @@ function wa(e) {
|
|
|
5371
5371
|
return e ? t.then(this ? e.bind(this) : e) : t;
|
|
5372
5372
|
}
|
|
5373
5373
|
function Sb(e) {
|
|
5374
|
-
let t = $n + 1, n =
|
|
5374
|
+
let t = $n + 1, n = Rt.length;
|
|
5375
5375
|
for (; t < n; ) {
|
|
5376
|
-
const r = t + n >>> 1, o =
|
|
5376
|
+
const r = t + n >>> 1, o = Rt[r], s = ti(o);
|
|
5377
5377
|
s < e || s === e && o.flags & 2 ? t = r + 1 : n = r;
|
|
5378
5378
|
}
|
|
5379
5379
|
return t;
|
|
5380
5380
|
}
|
|
5381
5381
|
function Ka(e) {
|
|
5382
5382
|
if (!(e.flags & 1)) {
|
|
5383
|
-
const t = ti(e), n =
|
|
5383
|
+
const t = ti(e), n = Rt[Rt.length - 1];
|
|
5384
5384
|
!n || // fast path when the job id is larger than the tail
|
|
5385
|
-
!(e.flags & 2) && t >= ti(n) ?
|
|
5385
|
+
!(e.flags & 2) && t >= ti(n) ? Rt.push(e) : Rt.splice(Sb(t), 0, e), e.flags |= 1, kh();
|
|
5386
5386
|
}
|
|
5387
5387
|
}
|
|
5388
5388
|
function kh() {
|
|
@@ -5392,12 +5392,12 @@ function xh(e) {
|
|
|
5392
5392
|
me(e) ? Fo.push(...e) : wr && e.id === -1 ? wr.splice(Io + 1, 0, e) : e.flags & 1 || (Fo.push(e), e.flags |= 1), kh();
|
|
5393
5393
|
}
|
|
5394
5394
|
function Nc(e, t, n = $n + 1) {
|
|
5395
|
-
for (I.NODE_ENV !== "production" && (t = t || /* @__PURE__ */ new Map()); n <
|
|
5396
|
-
const r =
|
|
5395
|
+
for (I.NODE_ENV !== "production" && (t = t || /* @__PURE__ */ new Map()); n < Rt.length; n++) {
|
|
5396
|
+
const r = Rt[n];
|
|
5397
5397
|
if (r && r.flags & 2) {
|
|
5398
5398
|
if (e && r.id !== e.uid || I.NODE_ENV !== "production" && Ru(t, r))
|
|
5399
5399
|
continue;
|
|
5400
|
-
|
|
5400
|
+
Rt.splice(n, 1), n--, r.flags & 4 && (r.flags &= -2), r(), r.flags & 4 || (r.flags &= -2);
|
|
5401
5401
|
}
|
|
5402
5402
|
}
|
|
5403
5403
|
}
|
|
@@ -5422,8 +5422,8 @@ function Ch(e) {
|
|
|
5422
5422
|
I.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map());
|
|
5423
5423
|
const t = I.NODE_ENV !== "production" ? (n) => Ru(e, n) : vt;
|
|
5424
5424
|
try {
|
|
5425
|
-
for ($n = 0; $n <
|
|
5426
|
-
const n =
|
|
5425
|
+
for ($n = 0; $n < Rt.length; $n++) {
|
|
5426
|
+
const n = Rt[$n];
|
|
5427
5427
|
if (n && !(n.flags & 8)) {
|
|
5428
5428
|
if (I.NODE_ENV !== "production" && t(n))
|
|
5429
5429
|
continue;
|
|
@@ -5435,11 +5435,11 @@ function Ch(e) {
|
|
|
5435
5435
|
}
|
|
5436
5436
|
}
|
|
5437
5437
|
} finally {
|
|
5438
|
-
for (; $n <
|
|
5439
|
-
const n =
|
|
5438
|
+
for (; $n < Rt.length; $n++) {
|
|
5439
|
+
const n = Rt[$n];
|
|
5440
5440
|
n && (n.flags &= -2);
|
|
5441
5441
|
}
|
|
5442
|
-
$n = -1,
|
|
5442
|
+
$n = -1, Rt.length = 0, Ah(e), ya = null, (Rt.length || Fo.length) && Ch(e);
|
|
5443
5443
|
}
|
|
5444
5444
|
}
|
|
5445
5445
|
function Ru(e, t) {
|
|
@@ -5583,7 +5583,7 @@ function Ph(e) {
|
|
|
5583
5583
|
wi(e, t.appContext.app, t.uid, t, n, r);
|
|
5584
5584
|
};
|
|
5585
5585
|
}
|
|
5586
|
-
function
|
|
5586
|
+
function Ub(e, t, n) {
|
|
5587
5587
|
wi(
|
|
5588
5588
|
"component:emit",
|
|
5589
5589
|
e.appContext.app,
|
|
@@ -5654,13 +5654,13 @@ const Dh = Symbol("_vte"), $h = (e) => e.__isTeleport, so = (e) => e && (e.disab
|
|
|
5654
5654
|
pbc: f,
|
|
5655
5655
|
o: { insert: h, querySelector: m, createText: w, createComment: x }
|
|
5656
5656
|
} = u, S = so(t.props);
|
|
5657
|
-
let { shapeFlag: M, children:
|
|
5657
|
+
let { shapeFlag: M, children: U, dynamicChildren: V } = t;
|
|
5658
5658
|
if (I.NODE_ENV !== "production" && gn && (l = !1, V = null), e == null) {
|
|
5659
|
-
const
|
|
5660
|
-
h(
|
|
5659
|
+
const B = t.el = I.NODE_ENV !== "production" ? x("teleport start") : w(""), $ = t.anchor = I.NODE_ENV !== "production" ? x("teleport end") : w("");
|
|
5660
|
+
h(B, n, r), h($, n, r);
|
|
5661
5661
|
const v = (P, C) => {
|
|
5662
5662
|
M & 16 && (o && o.isCE && (o.ce._teleportTarget = P), c(
|
|
5663
|
-
|
|
5663
|
+
U,
|
|
5664
5664
|
P,
|
|
5665
5665
|
C,
|
|
5666
5666
|
o,
|
|
@@ -5699,7 +5699,7 @@ const Dh = Symbol("_vte"), $h = (e) => e.__isTeleport, so = (e) => e && (e.disab
|
|
|
5699
5699
|
return;
|
|
5700
5700
|
}
|
|
5701
5701
|
t.el = e.el, t.targetStart = e.targetStart;
|
|
5702
|
-
const
|
|
5702
|
+
const B = t.anchor = e.anchor, $ = t.target = e.target, v = t.targetAnchor = e.targetAnchor, A = so(e.props), P = A ? n : $, C = A ? B : v;
|
|
5703
5703
|
if (i === "svg" || Ic($) ? i = "svg" : (i === "mathml" || Dc($)) && (i = "mathml"), V ? (f(
|
|
5704
5704
|
e.dynamicChildren,
|
|
5705
5705
|
V,
|
|
@@ -5722,7 +5722,7 @@ const Dh = Symbol("_vte"), $h = (e) => e.__isTeleport, so = (e) => e && (e.disab
|
|
|
5722
5722
|
A ? t.props && e.props && t.props.to !== e.props.to && (t.props.to = e.props.to) : $i(
|
|
5723
5723
|
t,
|
|
5724
5724
|
n,
|
|
5725
|
-
|
|
5725
|
+
B,
|
|
5726
5726
|
u,
|
|
5727
5727
|
1
|
|
5728
5728
|
);
|
|
@@ -5777,7 +5777,7 @@ const Dh = Symbol("_vte"), $h = (e) => e.__isTeleport, so = (e) => e && (e.disab
|
|
|
5777
5777
|
}
|
|
5778
5778
|
},
|
|
5779
5779
|
move: $i,
|
|
5780
|
-
hydrate:
|
|
5780
|
+
hydrate: Bb
|
|
5781
5781
|
};
|
|
5782
5782
|
function $i(e, t, n, { o: { insert: r }, m: o }, s = 2) {
|
|
5783
5783
|
s === 0 && r(e.targetAnchor, t, n);
|
|
@@ -5792,7 +5792,7 @@ function $i(e, t, n, { o: { insert: r }, m: o }, s = 2) {
|
|
|
5792
5792
|
);
|
|
5793
5793
|
d && r(a, t, n);
|
|
5794
5794
|
}
|
|
5795
|
-
function
|
|
5795
|
+
function Bb(e, t, n, r, o, s, {
|
|
5796
5796
|
o: { nextSibling: i, parentNode: a, querySelector: l, insert: u, createText: c }
|
|
5797
5797
|
}, d) {
|
|
5798
5798
|
const f = t.target = Xl(
|
|
@@ -5864,7 +5864,7 @@ function zb() {
|
|
|
5864
5864
|
};
|
|
5865
5865
|
return He(() => {
|
|
5866
5866
|
e.isMounted = !0;
|
|
5867
|
-
}),
|
|
5867
|
+
}), Uu(() => {
|
|
5868
5868
|
e.isUnmounting = !0;
|
|
5869
5869
|
}), e;
|
|
5870
5870
|
}
|
|
@@ -5896,7 +5896,7 @@ const rn = [Function, Array], Lh = {
|
|
|
5896
5896
|
setup(e, { slots: t }) {
|
|
5897
5897
|
const n = Ja(), r = zb();
|
|
5898
5898
|
return () => {
|
|
5899
|
-
const o = t.default &&
|
|
5899
|
+
const o = t.default && Bh(t.default(), !0);
|
|
5900
5900
|
if (!o || !o.length)
|
|
5901
5901
|
return;
|
|
5902
5902
|
const s = jh(o), i = _e(e), { mode: a } = i;
|
|
@@ -5927,7 +5927,7 @@ const rn = [Function, Array], Lh = {
|
|
|
5927
5927
|
r.isLeaving = !1, n.job.flags & 8 || n.update(), delete d.afterLeave, c = void 0;
|
|
5928
5928
|
}, yl(s);
|
|
5929
5929
|
a === "in-out" && l.type !== dt ? d.delayLeave = (f, h, m) => {
|
|
5930
|
-
const w =
|
|
5930
|
+
const w = Uh(
|
|
5931
5931
|
r,
|
|
5932
5932
|
c
|
|
5933
5933
|
);
|
|
@@ -5960,7 +5960,7 @@ function jh(e) {
|
|
|
5960
5960
|
return t;
|
|
5961
5961
|
}
|
|
5962
5962
|
const qb = Hb;
|
|
5963
|
-
function
|
|
5963
|
+
function Uh(e, t) {
|
|
5964
5964
|
const { leavingVNodes: n } = e;
|
|
5965
5965
|
let r = n.get(t.type);
|
|
5966
5966
|
return r || (r = /* @__PURE__ */ Object.create(null), n.set(t.type, r)), r;
|
|
@@ -5981,8 +5981,8 @@ function Jl(e, t, n, r, o) {
|
|
|
5981
5981
|
onBeforeAppear: x,
|
|
5982
5982
|
onAppear: S,
|
|
5983
5983
|
onAfterAppear: M,
|
|
5984
|
-
onAppearCancelled:
|
|
5985
|
-
} = t, V = String(e.key),
|
|
5984
|
+
onAppearCancelled: U
|
|
5985
|
+
} = t, V = String(e.key), B = Uh(n, e), $ = (P, C) => {
|
|
5986
5986
|
P && Cn(
|
|
5987
5987
|
P,
|
|
5988
5988
|
r,
|
|
@@ -6006,14 +6006,14 @@ function Jl(e, t, n, r, o) {
|
|
|
6006
6006
|
!0
|
|
6007
6007
|
/* cancelled */
|
|
6008
6008
|
);
|
|
6009
|
-
const T =
|
|
6009
|
+
const T = B[V];
|
|
6010
6010
|
T && Qr(e, T) && T.el[_r] && T.el[_r](), $(C, [P]);
|
|
6011
6011
|
},
|
|
6012
6012
|
enter(P) {
|
|
6013
6013
|
let C = u, T = c, j = d;
|
|
6014
6014
|
if (!n.isMounted)
|
|
6015
6015
|
if (s)
|
|
6016
|
-
C = S || u, T = M || c, j =
|
|
6016
|
+
C = S || u, T = M || c, j = U || d;
|
|
6017
6017
|
else
|
|
6018
6018
|
return;
|
|
6019
6019
|
let oe = !1;
|
|
@@ -6032,9 +6032,9 @@ function Jl(e, t, n, r, o) {
|
|
|
6032
6032
|
$(f, [P]);
|
|
6033
6033
|
let j = !1;
|
|
6034
6034
|
const oe = P[_r] = (Ae) => {
|
|
6035
|
-
j || (j = !0, C(), Ae ? $(w, [P]) : $(m, [P]), P[_r] = void 0,
|
|
6035
|
+
j || (j = !0, C(), Ae ? $(w, [P]) : $(m, [P]), P[_r] = void 0, B[T] === e && delete B[T]);
|
|
6036
6036
|
};
|
|
6037
|
-
|
|
6037
|
+
B[T] = e, h ? v(h, [P, oe]) : oe();
|
|
6038
6038
|
},
|
|
6039
6039
|
clone(P) {
|
|
6040
6040
|
const C = Jl(
|
|
@@ -6069,13 +6069,13 @@ function $c(e) {
|
|
|
6069
6069
|
function ni(e, t) {
|
|
6070
6070
|
e.shapeFlag & 6 && e.component ? (e.transition = t, ni(e.component.subTree, t)) : e.shapeFlag & 128 ? (e.ssContent.transition = t.clone(e.ssContent), e.ssFallback.transition = t.clone(e.ssFallback)) : e.transition = t;
|
|
6071
6071
|
}
|
|
6072
|
-
function
|
|
6072
|
+
function Bh(e, t = !1, n) {
|
|
6073
6073
|
let r = [], o = 0;
|
|
6074
6074
|
for (let s = 0; s < e.length; s++) {
|
|
6075
6075
|
let i = e[s];
|
|
6076
6076
|
const a = n == null ? i.key : String(n) + String(i.key != null ? i.key : s);
|
|
6077
6077
|
i.type === ce ? (i.patchFlag & 128 && o++, r = r.concat(
|
|
6078
|
-
|
|
6078
|
+
Bh(i.children, t, a)
|
|
6079
6079
|
)) : (t || i.type !== dt) && r.push(a != null ? On(i, { key: a }) : i);
|
|
6080
6080
|
}
|
|
6081
6081
|
if (o > 1)
|
|
@@ -6120,9 +6120,9 @@ function Ds(e, t, n, r, o = !1) {
|
|
|
6120
6120
|
);
|
|
6121
6121
|
return;
|
|
6122
6122
|
}
|
|
6123
|
-
const u = t && t.r, c = a.refs === Je ? a.refs = {} : a.refs, d = a.setupState, f = _e(d), h = d === Je ? () => !1 : (m) => I.NODE_ENV !== "production" && (
|
|
6123
|
+
const u = t && t.r, c = a.refs === Je ? a.refs = {} : a.refs, d = a.setupState, f = _e(d), h = d === Je ? () => !1 : (m) => I.NODE_ENV !== "production" && (Be(f, m) && !nt(f[m]) && X(
|
|
6124
6124
|
`Template ref "${m}" used on a non-ref value. It will not work in the production build.`
|
|
6125
|
-
), Wb.has(f[m])) ? !1 :
|
|
6125
|
+
), Wb.has(f[m])) ? !1 : Be(f, m);
|
|
6126
6126
|
if (u != null && u !== l && (st(u) ? (c[u] = null, h(u) && (d[u] = null)) : nt(u) && (u.value = null)), we(l))
|
|
6127
6127
|
ns(l, a, 12, [i, c]);
|
|
6128
6128
|
else {
|
|
@@ -6171,7 +6171,7 @@ function Kb(e, t, n, r) {
|
|
|
6171
6171
|
!0
|
|
6172
6172
|
/* prepend */
|
|
6173
6173
|
);
|
|
6174
|
-
|
|
6174
|
+
qt(() => {
|
|
6175
6175
|
Nu(r[t], o);
|
|
6176
6176
|
}, n);
|
|
6177
6177
|
}
|
|
@@ -6190,15 +6190,15 @@ function Ga(e, t, n = mt, r = !1) {
|
|
|
6190
6190
|
);
|
|
6191
6191
|
}
|
|
6192
6192
|
}
|
|
6193
|
-
const
|
|
6193
|
+
const hr = (e) => (t, n = mt) => {
|
|
6194
6194
|
(!oi || e === "sp") && Ga(e, (...r) => t(...r), n);
|
|
6195
|
-
}, Gb =
|
|
6195
|
+
}, Gb = hr("bm"), He = hr("m"), Qb = hr(
|
|
6196
6196
|
"bu"
|
|
6197
|
-
), Xb =
|
|
6197
|
+
), Xb = hr("u"), Uu = hr(
|
|
6198
6198
|
"bum"
|
|
6199
|
-
),
|
|
6199
|
+
), qt = hr("um"), Jb = hr(
|
|
6200
6200
|
"sp"
|
|
6201
|
-
), ev =
|
|
6201
|
+
), ev = hr("rtg"), tv = hr("rtc");
|
|
6202
6202
|
function nv(e, t = mt) {
|
|
6203
6203
|
Ga("ec", e, t);
|
|
6204
6204
|
}
|
|
@@ -6215,7 +6215,7 @@ function ov(e, t, n = !0, r = !1) {
|
|
|
6215
6215
|
s,
|
|
6216
6216
|
!1
|
|
6217
6217
|
);
|
|
6218
|
-
if (a && (a === t || a ===
|
|
6218
|
+
if (a && (a === t || a === Ut(t) || a === ho(Ut(t))))
|
|
6219
6219
|
return s;
|
|
6220
6220
|
}
|
|
6221
6221
|
const i = (
|
|
@@ -6231,7 +6231,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
6231
6231
|
);
|
|
6232
6232
|
}
|
|
6233
6233
|
function Mc(e, t) {
|
|
6234
|
-
return e && (e[t] || e[
|
|
6234
|
+
return e && (e[t] || e[Ut(t)] || e[ho(Ut(t))]);
|
|
6235
6235
|
}
|
|
6236
6236
|
function it(e, t, n, r) {
|
|
6237
6237
|
let o;
|
|
@@ -6299,7 +6299,7 @@ function Tt(e, t, n = {}, r, o) {
|
|
|
6299
6299
|
i && i.key, l = z(
|
|
6300
6300
|
ce,
|
|
6301
6301
|
{
|
|
6302
|
-
key: (a && !
|
|
6302
|
+
key: (a && !fr(a) ? a : `_${t}`) + // #7256 force differentiate fallback content from actual content
|
|
6303
6303
|
(!i && r ? "_fb" : "")
|
|
6304
6304
|
},
|
|
6305
6305
|
i || [],
|
|
@@ -6332,7 +6332,7 @@ const tu = (e) => e ? pp(e) ? Yu(e) : tu(e.parent) : null, io = (
|
|
|
6332
6332
|
$nextTick: (e) => e.n || (e.n = wa.bind(e.proxy)),
|
|
6333
6333
|
$watch: (e) => Lv.bind(e)
|
|
6334
6334
|
})
|
|
6335
|
-
),
|
|
6335
|
+
), Bu = (e) => e === "_" || e === "$", wl = (e, t) => e !== Je && !e.__isScriptSetup && Be(e, t), Wh = {
|
|
6336
6336
|
get({ _: e }, t) {
|
|
6337
6337
|
if (t === "__v_skip")
|
|
6338
6338
|
return !0;
|
|
@@ -6356,15 +6356,15 @@ const tu = (e) => e ? pp(e) ? Yu(e) : tu(e.parent) : null, io = (
|
|
|
6356
6356
|
else {
|
|
6357
6357
|
if (wl(r, t))
|
|
6358
6358
|
return i[t] = 1, r[t];
|
|
6359
|
-
if (o !== Je &&
|
|
6359
|
+
if (o !== Je && Be(o, t))
|
|
6360
6360
|
return i[t] = 2, o[t];
|
|
6361
6361
|
if (
|
|
6362
6362
|
// only cache other properties when instance has declared (thus stable)
|
|
6363
6363
|
// props
|
|
6364
|
-
(u = e.propsOptions[0]) &&
|
|
6364
|
+
(u = e.propsOptions[0]) && Be(u, t)
|
|
6365
6365
|
)
|
|
6366
6366
|
return i[t] = 3, s[t];
|
|
6367
|
-
if (n !== Je &&
|
|
6367
|
+
if (n !== Je && Be(n, t))
|
|
6368
6368
|
return i[t] = 4, n[t];
|
|
6369
6369
|
nu && (i[t] = 0);
|
|
6370
6370
|
}
|
|
@@ -6378,16 +6378,16 @@ const tu = (e) => e ? pp(e) ? Yu(e) : tu(e.parent) : null, io = (
|
|
|
6378
6378
|
(d = a.__cssModules) && (d = d[t])
|
|
6379
6379
|
)
|
|
6380
6380
|
return d;
|
|
6381
|
-
if (n !== Je &&
|
|
6381
|
+
if (n !== Je && Be(n, t))
|
|
6382
6382
|
return i[t] = 4, n[t];
|
|
6383
6383
|
if (
|
|
6384
6384
|
// global properties
|
|
6385
|
-
f = l.config.globalProperties,
|
|
6385
|
+
f = l.config.globalProperties, Be(f, t)
|
|
6386
6386
|
)
|
|
6387
6387
|
return f[t];
|
|
6388
6388
|
I.NODE_ENV !== "production" && gt && (!st(t) || // #1091 avoid internal isRef/isVNode checks on component instance leading
|
|
6389
6389
|
// to infinite warning loop
|
|
6390
|
-
t.indexOf("__v") !== 0) && (o !== Je &&
|
|
6390
|
+
t.indexOf("__v") !== 0) && (o !== Je && Bu(t[0]) && Be(o, t) ? X(
|
|
6391
6391
|
`Property ${JSON.stringify(
|
|
6392
6392
|
t
|
|
6393
6393
|
)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`
|
|
@@ -6397,7 +6397,7 @@ const tu = (e) => e ? pp(e) ? Yu(e) : tu(e.parent) : null, io = (
|
|
|
6397
6397
|
},
|
|
6398
6398
|
set({ _: e }, t, n) {
|
|
6399
6399
|
const { data: r, setupState: o, ctx: s } = e;
|
|
6400
|
-
return wl(o, t) ? (o[t] = n, !0) : I.NODE_ENV !== "production" && o.__isScriptSetup &&
|
|
6400
|
+
return wl(o, t) ? (o[t] = n, !0) : I.NODE_ENV !== "production" && o.__isScriptSetup && Be(o, t) ? (X(`Cannot mutate <script setup> binding "${t}" from Options API.`), !1) : r !== Je && Be(r, t) ? (r[t] = n, !0) : Be(e.props, t) ? (I.NODE_ENV !== "production" && X(`Attempting to mutate prop "${t}". Props are readonly.`), !1) : t[0] === "$" && t.slice(1) in e ? (I.NODE_ENV !== "production" && X(
|
|
6401
6401
|
`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`
|
|
6402
6402
|
), !1) : (I.NODE_ENV !== "production" && t in e.appContext.config.globalProperties ? Object.defineProperty(s, t, {
|
|
6403
6403
|
enumerable: !0,
|
|
@@ -6409,10 +6409,10 @@ const tu = (e) => e ? pp(e) ? Yu(e) : tu(e.parent) : null, io = (
|
|
|
6409
6409
|
_: { data: e, setupState: t, accessCache: n, ctx: r, appContext: o, propsOptions: s }
|
|
6410
6410
|
}, i) {
|
|
6411
6411
|
let a;
|
|
6412
|
-
return !!n[i] || e !== Je &&
|
|
6412
|
+
return !!n[i] || e !== Je && Be(e, i) || wl(t, i) || (a = s[0]) && Be(a, i) || Be(r, i) || Be(io, i) || Be(o.config.globalProperties, i);
|
|
6413
6413
|
},
|
|
6414
6414
|
defineProperty(e, t, n) {
|
|
6415
|
-
return n.get != null ? e._.accessCache[t] = 0 :
|
|
6415
|
+
return n.get != null ? e._.accessCache[t] = 0 : Be(n, "value") && this.set(e, t, n.value, null), Reflect.defineProperty(e, t, n);
|
|
6416
6416
|
}
|
|
6417
6417
|
};
|
|
6418
6418
|
I.NODE_ENV !== "production" && (Wh.ownKeys = (e) => (X(
|
|
@@ -6453,7 +6453,7 @@ function av(e) {
|
|
|
6453
6453
|
const { ctx: t, setupState: n } = e;
|
|
6454
6454
|
Object.keys(_e(n)).forEach((r) => {
|
|
6455
6455
|
if (!n.__isScriptSetup) {
|
|
6456
|
-
if (
|
|
6456
|
+
if (Bu(r[0])) {
|
|
6457
6457
|
X(
|
|
6458
6458
|
`setup() return property ${JSON.stringify(
|
|
6459
6459
|
r
|
|
@@ -6504,9 +6504,9 @@ function uv(e) {
|
|
|
6504
6504
|
deactivated: x,
|
|
6505
6505
|
beforeDestroy: S,
|
|
6506
6506
|
beforeUnmount: M,
|
|
6507
|
-
destroyed:
|
|
6507
|
+
destroyed: U,
|
|
6508
6508
|
unmounted: V,
|
|
6509
|
-
render:
|
|
6509
|
+
render: B,
|
|
6510
6510
|
renderTracked: $,
|
|
6511
6511
|
renderTriggered: v,
|
|
6512
6512
|
errorCaptured: A,
|
|
@@ -6548,7 +6548,7 @@ function uv(e) {
|
|
|
6548
6548
|
I.NODE_ENV !== "production" && X("data() should return an object.");
|
|
6549
6549
|
else if (e.data = vi(K), I.NODE_ENV !== "production")
|
|
6550
6550
|
for (const de in K)
|
|
6551
|
-
Oe("Data", de),
|
|
6551
|
+
Oe("Data", de), Bu(de[0]) || Object.defineProperty(r, de, {
|
|
6552
6552
|
configurable: !0,
|
|
6553
6553
|
enumerable: !0,
|
|
6554
6554
|
get: () => K[de],
|
|
@@ -6587,7 +6587,7 @@ function uv(e) {
|
|
|
6587
6587
|
function Ve(K, de) {
|
|
6588
6588
|
me(de) ? de.forEach((Le) => K(Le.bind(n))) : de && K(de.bind(n));
|
|
6589
6589
|
}
|
|
6590
|
-
if (Ve(Gb, d), Ve(He, f), Ve(Qb, h), Ve(Xb, m), Ve(Zb, w), Ve(Yb, x), Ve(nv, A), Ve(tv, $), Ve(ev, v), Ve(
|
|
6590
|
+
if (Ve(Gb, d), Ve(He, f), Ve(Qb, h), Ve(Xb, m), Ve(Zb, w), Ve(Yb, x), Ve(nv, A), Ve(tv, $), Ve(ev, v), Ve(Uu, M), Ve(qt, V), Ve(Jb, P), me(C))
|
|
6591
6591
|
if (C.length) {
|
|
6592
6592
|
const K = e.exposed || (e.exposed = {});
|
|
6593
6593
|
C.forEach((de) => {
|
|
@@ -6597,7 +6597,7 @@ function uv(e) {
|
|
|
6597
6597
|
});
|
|
6598
6598
|
});
|
|
6599
6599
|
} else e.exposed || (e.exposed = {});
|
|
6600
|
-
|
|
6600
|
+
B && e.render === vt && (e.render = B), T != null && (e.inheritAttrs = T), j && (e.components = j), oe && (e.directives = oe), P && Fh(e);
|
|
6601
6601
|
}
|
|
6602
6602
|
function cv(e, t, n = vt) {
|
|
6603
6603
|
me(e) && (e = ru(e));
|
|
@@ -6826,7 +6826,7 @@ function mv(e, t) {
|
|
|
6826
6826
|
), e(null, u._container), I.NODE_ENV !== "production" && (u._instance = null, $b(u)), delete u._container.__vue_app__) : I.NODE_ENV !== "production" && X("Cannot unmount an app that is not mounted.");
|
|
6827
6827
|
},
|
|
6828
6828
|
provide(c, d) {
|
|
6829
|
-
return I.NODE_ENV !== "production" && c in s.provides && (
|
|
6829
|
+
return I.NODE_ENV !== "production" && c in s.provides && (Be(s.provides, c) ? X(
|
|
6830
6830
|
`App already provides property with key "${String(c)}". It will be overwritten with the new value.`
|
|
6831
6831
|
) : X(
|
|
6832
6832
|
`App already provides property with key "${String(c)}" inherited from its parent element. It will be overwritten with the new value.`
|
|
@@ -6904,10 +6904,10 @@ function yv(e, t, n, r) {
|
|
|
6904
6904
|
continue;
|
|
6905
6905
|
const h = t[f];
|
|
6906
6906
|
if (l)
|
|
6907
|
-
if (
|
|
6907
|
+
if (Be(s, f))
|
|
6908
6908
|
h !== s[f] && (s[f] = h, u = !0);
|
|
6909
6909
|
else {
|
|
6910
|
-
const m =
|
|
6910
|
+
const m = Ut(f);
|
|
6911
6911
|
o[m] = ou(
|
|
6912
6912
|
l,
|
|
6913
6913
|
a,
|
|
@@ -6926,9 +6926,9 @@ function yv(e, t, n, r) {
|
|
|
6926
6926
|
let c;
|
|
6927
6927
|
for (const d in a)
|
|
6928
6928
|
(!t || // for camelCase
|
|
6929
|
-
!
|
|
6929
|
+
!Be(t, d) && // it's possible the original props was passed in as kebab-case
|
|
6930
6930
|
// and converted to camelCase (#955)
|
|
6931
|
-
((c = Rr(d)) === d || !
|
|
6931
|
+
((c = Rr(d)) === d || !Be(t, c))) && (l ? n && // for camelCase
|
|
6932
6932
|
(n[d] !== void 0 || // for kebab-case
|
|
6933
6933
|
n[c] !== void 0) && (o[d] = ou(
|
|
6934
6934
|
l,
|
|
@@ -6940,7 +6940,7 @@ function yv(e, t, n, r) {
|
|
|
6940
6940
|
)) : delete o[d]);
|
|
6941
6941
|
if (s !== a)
|
|
6942
6942
|
for (const d in s)
|
|
6943
|
-
(!t || !
|
|
6943
|
+
(!t || !Be(t, d)) && (delete s[d], u = !0);
|
|
6944
6944
|
}
|
|
6945
6945
|
u && Vn(e.attrs, "set", ""), I.NODE_ENV !== "production" && tp(t || {}, o, e);
|
|
6946
6946
|
}
|
|
@@ -6953,7 +6953,7 @@ function Jh(e, t, n, r) {
|
|
|
6953
6953
|
continue;
|
|
6954
6954
|
const u = t[l];
|
|
6955
6955
|
let c;
|
|
6956
|
-
o &&
|
|
6956
|
+
o && Be(o, c = Ut(l)) ? !s || !s.includes(c) ? n[c] = u : (a || (a = {}))[c] = u : Xa(e.emitsOptions, l) || (!(l in r) || u !== r[l]) && (r[l] = u, i = !0);
|
|
6957
6957
|
}
|
|
6958
6958
|
if (s) {
|
|
6959
6959
|
const l = _e(n), u = a || Je;
|
|
@@ -6965,7 +6965,7 @@ function Jh(e, t, n, r) {
|
|
|
6965
6965
|
d,
|
|
6966
6966
|
u[d],
|
|
6967
6967
|
e,
|
|
6968
|
-
!
|
|
6968
|
+
!Be(u, d)
|
|
6969
6969
|
);
|
|
6970
6970
|
}
|
|
6971
6971
|
}
|
|
@@ -6974,7 +6974,7 @@ function Jh(e, t, n, r) {
|
|
|
6974
6974
|
function ou(e, t, n, r, o, s) {
|
|
6975
6975
|
const i = e[n];
|
|
6976
6976
|
if (i != null) {
|
|
6977
|
-
const a =
|
|
6977
|
+
const a = Be(i, "default");
|
|
6978
6978
|
if (a && r === void 0) {
|
|
6979
6979
|
const l = i.default;
|
|
6980
6980
|
if (i.type !== Function && !i.skipFactory && we(l)) {
|
|
@@ -7018,27 +7018,27 @@ function ep(e, t, n = !1) {
|
|
|
7018
7018
|
!n && t.mixins.length && t.mixins.forEach(c), e.extends && c(e.extends), e.mixins && e.mixins.forEach(c);
|
|
7019
7019
|
}
|
|
7020
7020
|
if (!s && !l)
|
|
7021
|
-
return qe(e) && r.set(e,
|
|
7021
|
+
return qe(e) && r.set(e, Bo), Bo;
|
|
7022
7022
|
if (me(s))
|
|
7023
7023
|
for (let c = 0; c < s.length; c++) {
|
|
7024
7024
|
I.NODE_ENV !== "production" && !st(s[c]) && X("props must be strings when using array syntax.", s[c]);
|
|
7025
|
-
const d =
|
|
7026
|
-
|
|
7025
|
+
const d = Ut(s[c]);
|
|
7026
|
+
Uc(d) && (i[d] = Je);
|
|
7027
7027
|
}
|
|
7028
7028
|
else if (s) {
|
|
7029
7029
|
I.NODE_ENV !== "production" && !qe(s) && X("invalid props options", s);
|
|
7030
7030
|
for (const c in s) {
|
|
7031
|
-
const d =
|
|
7032
|
-
if (
|
|
7031
|
+
const d = Ut(c);
|
|
7032
|
+
if (Uc(d)) {
|
|
7033
7033
|
const f = s[c], h = i[d] = me(f) || we(f) ? { type: f } : lt({}, f), m = h.type;
|
|
7034
7034
|
let w = !1, x = !0;
|
|
7035
7035
|
if (me(m))
|
|
7036
7036
|
for (let S = 0; S < m.length; ++S) {
|
|
7037
|
-
const M = m[S],
|
|
7038
|
-
if (
|
|
7037
|
+
const M = m[S], U = we(M) && M.name;
|
|
7038
|
+
if (U === "Boolean") {
|
|
7039
7039
|
w = !0;
|
|
7040
7040
|
break;
|
|
7041
|
-
} else
|
|
7041
|
+
} else U === "String" && (x = !1);
|
|
7042
7042
|
}
|
|
7043
7043
|
else
|
|
7044
7044
|
w = we(m) && m.name === "Boolean";
|
|
@@ -7048,21 +7048,21 @@ function ep(e, t, n = !1) {
|
|
|
7048
7048
|
] = w, h[
|
|
7049
7049
|
1
|
|
7050
7050
|
/* shouldCastTrue */
|
|
7051
|
-
] = x, (w ||
|
|
7051
|
+
] = x, (w || Be(h, "default")) && a.push(d);
|
|
7052
7052
|
}
|
|
7053
7053
|
}
|
|
7054
7054
|
}
|
|
7055
7055
|
const u = [i, a];
|
|
7056
7056
|
return qe(e) && r.set(e, u), u;
|
|
7057
7057
|
}
|
|
7058
|
-
function
|
|
7058
|
+
function Uc(e) {
|
|
7059
7059
|
return e[0] !== "$" && !Ps(e) ? !0 : (I.NODE_ENV !== "production" && X(`Invalid prop name: "${e}" is a reserved property.`), !1);
|
|
7060
7060
|
}
|
|
7061
7061
|
function _v(e) {
|
|
7062
7062
|
return e === null ? "null" : typeof e == "function" ? e.name || "" : typeof e == "object" && e.constructor && e.constructor.name || "";
|
|
7063
7063
|
}
|
|
7064
7064
|
function tp(e, t, n) {
|
|
7065
|
-
const r = _e(t), o = n.propsOptions[0], s = Object.keys(e).map((i) =>
|
|
7065
|
+
const r = _e(t), o = n.propsOptions[0], s = Object.keys(e).map((i) => Ut(i));
|
|
7066
7066
|
for (const i in o) {
|
|
7067
7067
|
let a = o[i];
|
|
7068
7068
|
a != null && Ev(
|
|
@@ -7096,7 +7096,7 @@ function Ev(e, t, n, r, o) {
|
|
|
7096
7096
|
a && !a(t, r) && X('Invalid prop: custom validator check failed for prop "' + e + '".');
|
|
7097
7097
|
}
|
|
7098
7098
|
}
|
|
7099
|
-
const kv = /* @__PURE__ */
|
|
7099
|
+
const kv = /* @__PURE__ */ dr(
|
|
7100
7100
|
"String,Number,Boolean,Function,Symbol,BigInt"
|
|
7101
7101
|
);
|
|
7102
7102
|
function xv(e, t) {
|
|
@@ -7117,10 +7117,10 @@ function Av(e, t, n) {
|
|
|
7117
7117
|
if (n.length === 0)
|
|
7118
7118
|
return `Prop type [] for prop "${e}" won't match anything. Did you mean to use type Array instead?`;
|
|
7119
7119
|
let r = `Invalid prop: type check failed for prop "${e}". Expected ${n.map(ho).join(" | ")}`;
|
|
7120
|
-
const o = n[0], s = Tu(t), i =
|
|
7120
|
+
const o = n[0], s = Tu(t), i = Bc(t, o), a = Bc(t, s);
|
|
7121
7121
|
return n.length === 1 && Fc(o) && !Cv(o, s) && (r += ` with value ${i}`), r += `, got ${s} `, Fc(s) && (r += `with value ${a}.`), r;
|
|
7122
7122
|
}
|
|
7123
|
-
function
|
|
7123
|
+
function Bc(e, t) {
|
|
7124
7124
|
return t === "String" ? `"${e}"` : t === "Number" ? `${Number(e)}` : `${e}`;
|
|
7125
7125
|
}
|
|
7126
7126
|
function Fc(e) {
|
|
@@ -7242,7 +7242,7 @@ function Iv(e, t) {
|
|
|
7242
7242
|
S(_, O, F, G);
|
|
7243
7243
|
break;
|
|
7244
7244
|
case Ms:
|
|
7245
|
-
_ == null ? M(O, F, G, se) : I.NODE_ENV !== "production" &&
|
|
7245
|
+
_ == null ? M(O, F, G, se) : I.NODE_ENV !== "production" && U(_, O, F, se);
|
|
7246
7246
|
break;
|
|
7247
7247
|
case ce:
|
|
7248
7248
|
oe(
|
|
@@ -7318,10 +7318,10 @@ function Iv(e, t) {
|
|
|
7318
7318
|
_.el,
|
|
7319
7319
|
_.anchor
|
|
7320
7320
|
);
|
|
7321
|
-
},
|
|
7321
|
+
}, U = (_, O, F, G) => {
|
|
7322
7322
|
if (O.children !== _.children) {
|
|
7323
7323
|
const Z = f(_.anchor);
|
|
7324
|
-
|
|
7324
|
+
B(_), [O.el, O.anchor] = m(
|
|
7325
7325
|
O.children,
|
|
7326
7326
|
F,
|
|
7327
7327
|
Z,
|
|
@@ -7334,7 +7334,7 @@ function Iv(e, t) {
|
|
|
7334
7334
|
for (; _ && _ !== O; )
|
|
7335
7335
|
Z = f(_), r(_, F, G), _ = Z;
|
|
7336
7336
|
r(O, F, G);
|
|
7337
|
-
},
|
|
7337
|
+
}, B = ({ el: _, anchor: O }) => {
|
|
7338
7338
|
let F;
|
|
7339
7339
|
for (; _ && _ !== O; )
|
|
7340
7340
|
F = f(_), o(_), _ = F;
|
|
@@ -7381,9 +7381,9 @@ function Iv(e, t) {
|
|
|
7381
7381
|
"value" in be && s(ne, "value", null, be.value, Y), (Q = be.onVnodeBeforeMount) && Dn(Q, G, _);
|
|
7382
7382
|
}
|
|
7383
7383
|
I.NODE_ENV !== "production" && (Xs(ne, "__vnode", _, !0), Xs(ne, "__vueParentComponent", G, !0)), Ce && Fr(_, null, G, "beforeMount");
|
|
7384
|
-
const
|
|
7385
|
-
|
|
7386
|
-
Q && Dn(Q, G, _),
|
|
7384
|
+
const Ue = Dv(Z, ge);
|
|
7385
|
+
Ue && ge.beforeEnter(ne), r(ne, O, F), ((Q = be && be.onVnodeMounted) || Ue || Ce) && Vt(() => {
|
|
7386
|
+
Q && Dn(Q, G, _), Ue && ge.enter(ne), Ce && Fr(_, null, G, "mounted");
|
|
7387
7387
|
}, Z);
|
|
7388
7388
|
}, A = (_, O, F, G, Z) => {
|
|
7389
7389
|
if (F && h(_, F), G)
|
|
@@ -7446,10 +7446,10 @@ function Iv(e, t) {
|
|
|
7446
7446
|
if (ne & 16)
|
|
7447
7447
|
j(re, ie, ge, F, Z);
|
|
7448
7448
|
else if (ne & 2 && ie.class !== ge.class && s(re, "class", null, ge.class, Z), ne & 4 && s(re, "style", ie.style, ge.style, Z), ne & 8) {
|
|
7449
|
-
const
|
|
7450
|
-
for (let ot = 0; ot <
|
|
7451
|
-
const Ke =
|
|
7452
|
-
(
|
|
7449
|
+
const Ue = O.dynamicProps;
|
|
7450
|
+
for (let ot = 0; ot < Ue.length; ot++) {
|
|
7451
|
+
const Ke = Ue[ot], Zt = ie[Ke], Yt = ge[Ke];
|
|
7452
|
+
(Yt !== Zt || Ke === "value") && s(re, Ke, Zt, Yt, Z, F);
|
|
7453
7453
|
}
|
|
7454
7454
|
}
|
|
7455
7455
|
ne & 1 && _.children !== O.children && c(re, O.children);
|
|
@@ -7604,7 +7604,7 @@ function Iv(e, t) {
|
|
|
7604
7604
|
}, K = (_, O, F, G, Z, Y, se) => {
|
|
7605
7605
|
const re = () => {
|
|
7606
7606
|
if (_.isMounted) {
|
|
7607
|
-
let { next: ie, bu: ge, u: Ce, parent:
|
|
7607
|
+
let { next: ie, bu: ge, u: Ce, parent: Ue, vnode: ot } = _;
|
|
7608
7608
|
{
|
|
7609
7609
|
const Tn = op(_);
|
|
7610
7610
|
if (Tn) {
|
|
@@ -7614,14 +7614,14 @@ function Iv(e, t) {
|
|
|
7614
7614
|
return;
|
|
7615
7615
|
}
|
|
7616
7616
|
}
|
|
7617
|
-
let Ke = ie,
|
|
7618
|
-
I.NODE_ENV !== "production" && Yi(ie || _.vnode), zr(_, !1), ie ? (ie.el = ot.el, de(_, ie, se)) : ie = ot, ge && ds(ge), (
|
|
7619
|
-
const
|
|
7617
|
+
let Ke = ie, Zt;
|
|
7618
|
+
I.NODE_ENV !== "production" && Yi(ie || _.vnode), zr(_, !1), ie ? (ie.el = ot.el, de(_, ie, se)) : ie = ot, ge && ds(ge), (Zt = ie.props && ie.props.onVnodeBeforeUpdate) && Dn(Zt, Ue, ie, ot), zr(_, !0), I.NODE_ENV !== "production" && Eo(_, "render");
|
|
7619
|
+
const Yt = Hc(_);
|
|
7620
7620
|
I.NODE_ENV !== "production" && ko(_, "render");
|
|
7621
7621
|
const Pn = _.subTree;
|
|
7622
|
-
_.subTree =
|
|
7622
|
+
_.subTree = Yt, I.NODE_ENV !== "production" && Eo(_, "patch"), w(
|
|
7623
7623
|
Pn,
|
|
7624
|
-
|
|
7624
|
+
Yt,
|
|
7625
7625
|
// parent may have changed if it's in a teleport
|
|
7626
7626
|
d(Pn.el),
|
|
7627
7627
|
// anchor may have changed if it's in a fragment
|
|
@@ -7629,17 +7629,17 @@ function Iv(e, t) {
|
|
|
7629
7629
|
_,
|
|
7630
7630
|
Z,
|
|
7631
7631
|
Y
|
|
7632
|
-
), I.NODE_ENV !== "production" && ko(_, "patch"), ie.el =
|
|
7633
|
-
() => Dn(
|
|
7632
|
+
), I.NODE_ENV !== "production" && ko(_, "patch"), ie.el = Yt.el, Ke === null && zv(_, Yt.el), Ce && Vt(Ce, Z), (Zt = ie.props && ie.props.onVnodeUpdated) && Vt(
|
|
7633
|
+
() => Dn(Zt, Ue, ie, ot),
|
|
7634
7634
|
Z
|
|
7635
7635
|
), I.NODE_ENV !== "production" && Nh(_), I.NODE_ENV !== "production" && Ki();
|
|
7636
7636
|
} else {
|
|
7637
7637
|
let ie;
|
|
7638
|
-
const { el: ge, props: Ce } = O, { bm:
|
|
7639
|
-
zr(_, !1),
|
|
7638
|
+
const { el: ge, props: Ce } = O, { bm: Ue, m: ot, parent: Ke, root: Zt, type: Yt } = _, Pn = zo(O);
|
|
7639
|
+
zr(_, !1), Ue && ds(Ue), !Pn && (ie = Ce && Ce.onVnodeBeforeMount) && Dn(ie, Ke, O), zr(_, !0);
|
|
7640
7640
|
{
|
|
7641
|
-
|
|
7642
|
-
|
|
7641
|
+
Zt.ce && // @ts-expect-error _def is private
|
|
7642
|
+
Zt.ce._def.shadowRoot !== !1 && Zt.ce._injectChildStyle(Yt), I.NODE_ENV !== "production" && Eo(_, "render");
|
|
7643
7643
|
const Tn = _.subTree = Hc(_);
|
|
7644
7644
|
I.NODE_ENV !== "production" && ko(_, "render"), I.NODE_ENV !== "production" && Eo(_, "patch"), w(
|
|
7645
7645
|
null,
|
|
@@ -7722,7 +7722,7 @@ function Iv(e, t) {
|
|
|
7722
7722
|
ne
|
|
7723
7723
|
));
|
|
7724
7724
|
}, Se = (_, O, F, G, Z, Y, se, re, ne) => {
|
|
7725
|
-
_ = _ ||
|
|
7725
|
+
_ = _ || Bo, O = O || Bo;
|
|
7726
7726
|
const Q = _.length, be = O.length, ie = Math.min(Q, be);
|
|
7727
7727
|
let ge;
|
|
7728
7728
|
for (ge = 0; ge < ie; ge++) {
|
|
@@ -7762,11 +7762,11 @@ function Iv(e, t) {
|
|
|
7762
7762
|
const be = O.length;
|
|
7763
7763
|
let ie = _.length - 1, ge = be - 1;
|
|
7764
7764
|
for (; Q <= ie && Q <= ge; ) {
|
|
7765
|
-
const Ce = _[Q],
|
|
7766
|
-
if (Qr(Ce,
|
|
7765
|
+
const Ce = _[Q], Ue = O[Q] = ne ? Er(O[Q]) : hn(O[Q]);
|
|
7766
|
+
if (Qr(Ce, Ue))
|
|
7767
7767
|
w(
|
|
7768
7768
|
Ce,
|
|
7769
|
-
|
|
7769
|
+
Ue,
|
|
7770
7770
|
F,
|
|
7771
7771
|
null,
|
|
7772
7772
|
Z,
|
|
@@ -7780,11 +7780,11 @@ function Iv(e, t) {
|
|
|
7780
7780
|
Q++;
|
|
7781
7781
|
}
|
|
7782
7782
|
for (; Q <= ie && Q <= ge; ) {
|
|
7783
|
-
const Ce = _[ie],
|
|
7784
|
-
if (Qr(Ce,
|
|
7783
|
+
const Ce = _[ie], Ue = O[ge] = ne ? Er(O[ge]) : hn(O[ge]);
|
|
7784
|
+
if (Qr(Ce, Ue))
|
|
7785
7785
|
w(
|
|
7786
7786
|
Ce,
|
|
7787
|
-
|
|
7787
|
+
Ue,
|
|
7788
7788
|
F,
|
|
7789
7789
|
null,
|
|
7790
7790
|
Z,
|
|
@@ -7799,13 +7799,13 @@ function Iv(e, t) {
|
|
|
7799
7799
|
}
|
|
7800
7800
|
if (Q > ie) {
|
|
7801
7801
|
if (Q <= ge) {
|
|
7802
|
-
const Ce = ge + 1,
|
|
7802
|
+
const Ce = ge + 1, Ue = Ce < be ? O[Ce].el : G;
|
|
7803
7803
|
for (; Q <= ge; )
|
|
7804
7804
|
w(
|
|
7805
7805
|
null,
|
|
7806
7806
|
O[Q] = ne ? Er(O[Q]) : hn(O[Q]),
|
|
7807
7807
|
F,
|
|
7808
|
-
|
|
7808
|
+
Ue,
|
|
7809
7809
|
Z,
|
|
7810
7810
|
Y,
|
|
7811
7811
|
se,
|
|
@@ -7817,8 +7817,8 @@ function Iv(e, t) {
|
|
|
7817
7817
|
for (; Q <= ie; )
|
|
7818
7818
|
We(_[Q], Z, Y, !0), Q++;
|
|
7819
7819
|
else {
|
|
7820
|
-
const Ce = Q,
|
|
7821
|
-
for (Q =
|
|
7820
|
+
const Ce = Q, Ue = Q, ot = /* @__PURE__ */ new Map();
|
|
7821
|
+
for (Q = Ue; Q <= ge; Q++) {
|
|
7822
7822
|
const Dt = O[Q] = ne ? Er(O[Q]) : hn(O[Q]);
|
|
7823
7823
|
Dt.key != null && (I.NODE_ENV !== "production" && ot.has(Dt.key) && X(
|
|
7824
7824
|
"Duplicate keys found during update:",
|
|
@@ -7826,14 +7826,14 @@ function Iv(e, t) {
|
|
|
7826
7826
|
"Make sure keys are unique."
|
|
7827
7827
|
), ot.set(Dt.key, Q));
|
|
7828
7828
|
}
|
|
7829
|
-
let Ke,
|
|
7830
|
-
const
|
|
7829
|
+
let Ke, Zt = 0;
|
|
7830
|
+
const Yt = ge - Ue + 1;
|
|
7831
7831
|
let Pn = !1, Tn = 0;
|
|
7832
|
-
const cs = new Array(
|
|
7833
|
-
for (Q = 0; Q <
|
|
7832
|
+
const cs = new Array(Yt);
|
|
7833
|
+
for (Q = 0; Q < Yt; Q++) cs[Q] = 0;
|
|
7834
7834
|
for (Q = Ce; Q <= ie; Q++) {
|
|
7835
7835
|
const Dt = _[Q];
|
|
7836
|
-
if (
|
|
7836
|
+
if (Zt >= Yt) {
|
|
7837
7837
|
We(Dt, Z, Y, !0);
|
|
7838
7838
|
continue;
|
|
7839
7839
|
}
|
|
@@ -7841,12 +7841,12 @@ function Iv(e, t) {
|
|
|
7841
7841
|
if (Dt.key != null)
|
|
7842
7842
|
In = ot.get(Dt.key);
|
|
7843
7843
|
else
|
|
7844
|
-
for (Ke =
|
|
7845
|
-
if (cs[Ke -
|
|
7844
|
+
for (Ke = Ue; Ke <= ge; Ke++)
|
|
7845
|
+
if (cs[Ke - Ue] === 0 && Qr(Dt, O[Ke])) {
|
|
7846
7846
|
In = Ke;
|
|
7847
7847
|
break;
|
|
7848
7848
|
}
|
|
7849
|
-
In === void 0 ? We(Dt, Z, Y, !0) : (cs[In -
|
|
7849
|
+
In === void 0 ? We(Dt, Z, Y, !0) : (cs[In - Ue] = Q + 1, In >= Tn ? Tn = In : Pn = !0, w(
|
|
7850
7850
|
Dt,
|
|
7851
7851
|
O[In],
|
|
7852
7852
|
F,
|
|
@@ -7856,11 +7856,11 @@ function Iv(e, t) {
|
|
|
7856
7856
|
se,
|
|
7857
7857
|
re,
|
|
7858
7858
|
ne
|
|
7859
|
-
),
|
|
7859
|
+
), Zt++);
|
|
7860
7860
|
}
|
|
7861
|
-
const vc = Pn ? $v(cs) :
|
|
7862
|
-
for (Ke = vc.length - 1, Q =
|
|
7863
|
-
const Dt =
|
|
7861
|
+
const vc = Pn ? $v(cs) : Bo;
|
|
7862
|
+
for (Ke = vc.length - 1, Q = Yt - 1; Q >= 0; Q--) {
|
|
7863
|
+
const Dt = Ue + Q, In = O[Dt], yc = Dt + 1 < be ? O[Dt + 1].el : G;
|
|
7864
7864
|
cs[Q] === 0 ? w(
|
|
7865
7865
|
null,
|
|
7866
7866
|
In,
|
|
@@ -7903,14 +7903,14 @@ function Iv(e, t) {
|
|
|
7903
7903
|
if (G === 0)
|
|
7904
7904
|
re.beforeEnter(Y), r(Y, O, F), Vt(() => re.enter(Y), Z);
|
|
7905
7905
|
else {
|
|
7906
|
-
const { leave: ie, delayLeave: ge, afterLeave: Ce } = re,
|
|
7906
|
+
const { leave: ie, delayLeave: ge, afterLeave: Ce } = re, Ue = () => {
|
|
7907
7907
|
_.ctx.isUnmounted ? o(Y) : r(Y, O, F);
|
|
7908
7908
|
}, ot = () => {
|
|
7909
7909
|
ie(Y, () => {
|
|
7910
|
-
|
|
7910
|
+
Ue(), Ce && Ce();
|
|
7911
7911
|
});
|
|
7912
7912
|
};
|
|
7913
|
-
ge ? ge(Y,
|
|
7913
|
+
ge ? ge(Y, Ue, ot) : ot();
|
|
7914
7914
|
}
|
|
7915
7915
|
else
|
|
7916
7916
|
r(Y, O, F);
|
|
@@ -7930,7 +7930,7 @@ function Iv(e, t) {
|
|
|
7930
7930
|
O.ctx.deactivate(_);
|
|
7931
7931
|
return;
|
|
7932
7932
|
}
|
|
7933
|
-
const
|
|
7933
|
+
const Ue = be & 1 && ge, ot = !zo(_);
|
|
7934
7934
|
let Ke;
|
|
7935
7935
|
if (ot && (Ke = se && se.onVnodeBeforeUnmount) && Dn(Ke, O, _), be & 6)
|
|
7936
7936
|
Hm(_.component, F, G);
|
|
@@ -7939,7 +7939,7 @@ function Iv(e, t) {
|
|
|
7939
7939
|
_.suspense.unmount(F, G);
|
|
7940
7940
|
return;
|
|
7941
7941
|
}
|
|
7942
|
-
|
|
7942
|
+
Ue && Fr(_, null, O, "beforeUnmount"), be & 64 ? _.type.remove(
|
|
7943
7943
|
_,
|
|
7944
7944
|
O,
|
|
7945
7945
|
F,
|
|
@@ -7959,19 +7959,19 @@ function Iv(e, t) {
|
|
|
7959
7959
|
!0
|
|
7960
7960
|
) : (Y === ce && ie & 384 || !Z && be & 16) && ls(ne, O, F), G && Gt(_);
|
|
7961
7961
|
}
|
|
7962
|
-
(ot && (Ke = se && se.onVnodeUnmounted) ||
|
|
7963
|
-
Ke && Dn(Ke, O, _),
|
|
7962
|
+
(ot && (Ke = se && se.onVnodeUnmounted) || Ue) && Vt(() => {
|
|
7963
|
+
Ke && Dn(Ke, O, _), Ue && Fr(_, null, O, "unmounted");
|
|
7964
7964
|
}, F);
|
|
7965
7965
|
}, Gt = (_) => {
|
|
7966
7966
|
const { type: O, el: F, anchor: G, transition: Z } = _;
|
|
7967
7967
|
if (O === ce) {
|
|
7968
7968
|
I.NODE_ENV !== "production" && _.patchFlag > 0 && _.patchFlag & 2048 && Z && !Z.persisted ? _.children.forEach((se) => {
|
|
7969
7969
|
se.type === dt ? o(se.el) : Gt(se);
|
|
7970
|
-
}) :
|
|
7970
|
+
}) : mr(F, G);
|
|
7971
7971
|
return;
|
|
7972
7972
|
}
|
|
7973
7973
|
if (O === Ms) {
|
|
7974
|
-
|
|
7974
|
+
B(_);
|
|
7975
7975
|
return;
|
|
7976
7976
|
}
|
|
7977
7977
|
const Y = () => {
|
|
@@ -7982,7 +7982,7 @@ function Iv(e, t) {
|
|
|
7982
7982
|
re ? re(_.el, Y, ne) : ne();
|
|
7983
7983
|
} else
|
|
7984
7984
|
Y();
|
|
7985
|
-
},
|
|
7985
|
+
}, mr = (_, O) => {
|
|
7986
7986
|
let F;
|
|
7987
7987
|
for (; _ !== O; )
|
|
7988
7988
|
F = f(_), o(_), _ = F;
|
|
@@ -8161,7 +8161,7 @@ function sp(e, t) {
|
|
|
8161
8161
|
return r;
|
|
8162
8162
|
};
|
|
8163
8163
|
}
|
|
8164
|
-
const Rv = (e, t) => t === "modelValue" || t === "model-value" ? e.modelModifiers : e[`${t}Modifiers`] || e[`${
|
|
8164
|
+
const Rv = (e, t) => t === "modelValue" || t === "model-value" ? e.modelModifiers : e[`${t}Modifiers`] || e[`${Ut(t)}Modifiers`] || e[`${Rr(t)}Modifiers`];
|
|
8165
8165
|
function jv(e, t, ...n) {
|
|
8166
8166
|
if (e.isUnmounted) return;
|
|
8167
8167
|
const r = e.vnode.props || Je;
|
|
@@ -8172,8 +8172,8 @@ function jv(e, t, ...n) {
|
|
|
8172
8172
|
} = e;
|
|
8173
8173
|
if (c)
|
|
8174
8174
|
if (!(t in c))
|
|
8175
|
-
(!d || !(Zr(
|
|
8176
|
-
`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${Zr(
|
|
8175
|
+
(!d || !(Zr(Ut(t)) in d)) && X(
|
|
8176
|
+
`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${Zr(Ut(t))}" prop.`
|
|
8177
8177
|
);
|
|
8178
8178
|
else {
|
|
8179
8179
|
const f = c[t];
|
|
@@ -8184,7 +8184,7 @@ function jv(e, t, ...n) {
|
|
|
8184
8184
|
}
|
|
8185
8185
|
let o = n;
|
|
8186
8186
|
const s = t.startsWith("update:"), i = s && Rv(r, t.slice(7));
|
|
8187
|
-
if (i && (i.trim && (o = n.map((c) => st(c) ? c.trim() : c)), i.number && (o = n.map(Tg))), I.NODE_ENV !== "production" &&
|
|
8187
|
+
if (i && (i.trim && (o = n.map((c) => st(c) ? c.trim() : c)), i.number && (o = n.map(Tg))), I.NODE_ENV !== "production" && Ub(e, t, o), I.NODE_ENV !== "production") {
|
|
8188
8188
|
const c = t.toLowerCase();
|
|
8189
8189
|
c !== t && r[Zr(c)] && X(
|
|
8190
8190
|
`Event "${c}" is emitted in component ${el(
|
|
@@ -8196,7 +8196,7 @@ function jv(e, t, ...n) {
|
|
|
8196
8196
|
);
|
|
8197
8197
|
}
|
|
8198
8198
|
let a, l = r[a = Zr(t)] || // also try camelCase event handler (#2249)
|
|
8199
|
-
r[a = Zr(
|
|
8199
|
+
r[a = Zr(Ut(t))];
|
|
8200
8200
|
!l && s && (l = r[a = Zr(Rr(t))]), l && Cn(
|
|
8201
8201
|
l,
|
|
8202
8202
|
e,
|
|
@@ -8233,7 +8233,7 @@ function ip(e, t, n = !1) {
|
|
|
8233
8233
|
return !s && !a ? (qe(e) && r.set(e, null), null) : (me(s) ? s.forEach((l) => i[l] = null) : lt(i, s), qe(e) && r.set(e, i), i);
|
|
8234
8234
|
}
|
|
8235
8235
|
function Xa(e, t) {
|
|
8236
|
-
return !e || !mi(t) ? !1 : (t = t.slice(2).replace(/Once$/, ""),
|
|
8236
|
+
return !e || !mi(t) ? !1 : (t = t.slice(2).replace(/Once$/, ""), Be(e, t[0].toLowerCase() + t.slice(1)) || Be(e, Rr(t)) || Be(e, t));
|
|
8237
8237
|
}
|
|
8238
8238
|
let iu = !1;
|
|
8239
8239
|
function Aa() {
|
|
@@ -8261,7 +8261,7 @@ function Hc(e) {
|
|
|
8261
8261
|
I.NODE_ENV !== "production" && (iu = !1);
|
|
8262
8262
|
try {
|
|
8263
8263
|
if (n.shapeFlag & 4) {
|
|
8264
|
-
const
|
|
8264
|
+
const B = o || r, $ = I.NODE_ENV !== "production" && h.__isScriptSetup ? new Proxy(B, {
|
|
8265
8265
|
get(v, A, P) {
|
|
8266
8266
|
return X(
|
|
8267
8267
|
`Property '${String(
|
|
@@ -8269,11 +8269,11 @@ function Hc(e) {
|
|
|
8269
8269
|
)}' was accessed via 'this'. Avoid using 'this' in templates.`
|
|
8270
8270
|
), Reflect.get(v, A, P);
|
|
8271
8271
|
}
|
|
8272
|
-
}) :
|
|
8272
|
+
}) : B;
|
|
8273
8273
|
S = hn(
|
|
8274
8274
|
u.call(
|
|
8275
8275
|
$,
|
|
8276
|
-
|
|
8276
|
+
B,
|
|
8277
8277
|
c,
|
|
8278
8278
|
I.NODE_ENV !== "production" ? jn(d) : d,
|
|
8279
8279
|
h,
|
|
@@ -8282,9 +8282,9 @@ function Hc(e) {
|
|
|
8282
8282
|
)
|
|
8283
8283
|
), M = a;
|
|
8284
8284
|
} else {
|
|
8285
|
-
const
|
|
8285
|
+
const B = t;
|
|
8286
8286
|
I.NODE_ENV !== "production" && a === d && Aa(), S = hn(
|
|
8287
|
-
|
|
8287
|
+
B.length > 1 ? B(
|
|
8288
8288
|
I.NODE_ENV !== "production" ? jn(d) : d,
|
|
8289
8289
|
I.NODE_ENV !== "production" ? {
|
|
8290
8290
|
get attrs() {
|
|
@@ -8293,25 +8293,25 @@ function Hc(e) {
|
|
|
8293
8293
|
slots: i,
|
|
8294
8294
|
emit: l
|
|
8295
8295
|
} : { attrs: a, slots: i, emit: l }
|
|
8296
|
-
) :
|
|
8296
|
+
) : B(
|
|
8297
8297
|
I.NODE_ENV !== "production" ? jn(d) : d,
|
|
8298
8298
|
null
|
|
8299
8299
|
)
|
|
8300
|
-
), M = t.props ? a :
|
|
8300
|
+
), M = t.props ? a : Uv(a);
|
|
8301
8301
|
}
|
|
8302
|
-
} catch (
|
|
8303
|
-
Vs.length = 0, yi(
|
|
8302
|
+
} catch (B) {
|
|
8303
|
+
Vs.length = 0, yi(B, e, 1), S = y(dt);
|
|
8304
8304
|
}
|
|
8305
|
-
let
|
|
8306
|
-
if (I.NODE_ENV !== "production" && S.patchFlag > 0 && S.patchFlag & 2048 && ([
|
|
8307
|
-
const
|
|
8308
|
-
if (
|
|
8305
|
+
let U = S, V;
|
|
8306
|
+
if (I.NODE_ENV !== "production" && S.patchFlag > 0 && S.patchFlag & 2048 && ([U, V] = ap(S)), M && w !== !1) {
|
|
8307
|
+
const B = Object.keys(M), { shapeFlag: $ } = U;
|
|
8308
|
+
if (B.length) {
|
|
8309
8309
|
if ($ & 7)
|
|
8310
|
-
s &&
|
|
8310
|
+
s && B.some(ma) && (M = Bv(
|
|
8311
8311
|
M,
|
|
8312
8312
|
s
|
|
8313
|
-
)),
|
|
8314
|
-
else if (I.NODE_ENV !== "production" && !iu &&
|
|
8313
|
+
)), U = On(U, M, !1, !0);
|
|
8314
|
+
else if (I.NODE_ENV !== "production" && !iu && U.type !== dt) {
|
|
8315
8315
|
const v = Object.keys(a), A = [], P = [];
|
|
8316
8316
|
for (let C = 0, T = v.length; C < T; C++) {
|
|
8317
8317
|
const j = v[C];
|
|
@@ -8325,11 +8325,11 @@ function Hc(e) {
|
|
|
8325
8325
|
}
|
|
8326
8326
|
}
|
|
8327
8327
|
}
|
|
8328
|
-
return n.dirs && (I.NODE_ENV !== "production" && !qc(
|
|
8328
|
+
return n.dirs && (I.NODE_ENV !== "production" && !qc(U) && X(
|
|
8329
8329
|
"Runtime directive used on component with non-element root node. The directives will not function as intended."
|
|
8330
|
-
),
|
|
8330
|
+
), U = On(U, null, !1, !0), U.dirs = U.dirs ? U.dirs.concat(n.dirs) : n.dirs), n.transition && (I.NODE_ENV !== "production" && !qc(U) && X(
|
|
8331
8331
|
"Component inside <Transition> renders non-element root node that cannot be animated."
|
|
8332
|
-
), ni(
|
|
8332
|
+
), ni(U, n.transition)), I.NODE_ENV !== "production" && V ? V(U) : S = U, Ea(x), S;
|
|
8333
8333
|
}
|
|
8334
8334
|
const ap = (e) => {
|
|
8335
8335
|
const t = e.children, n = e.dynamicChildren, r = qu(t, !1);
|
|
@@ -8358,12 +8358,12 @@ function qu(e, t = !0) {
|
|
|
8358
8358
|
}
|
|
8359
8359
|
return n;
|
|
8360
8360
|
}
|
|
8361
|
-
const
|
|
8361
|
+
const Uv = (e) => {
|
|
8362
8362
|
let t;
|
|
8363
8363
|
for (const n in e)
|
|
8364
8364
|
(n === "class" || n === "style" || mi(n)) && ((t || (t = {}))[n] = e[n]);
|
|
8365
8365
|
return t;
|
|
8366
|
-
},
|
|
8366
|
+
}, Bv = (e, t) => {
|
|
8367
8367
|
const n = {};
|
|
8368
8368
|
for (const r in e)
|
|
8369
8369
|
(!ma(r) || !(r.slice(9) in t)) && (n[r] = e[r]);
|
|
@@ -8427,7 +8427,7 @@ function Zc(e, t = !1) {
|
|
|
8427
8427
|
ri += e, e < 0 && Xt && t && (Xt.hasOnce = !0);
|
|
8428
8428
|
}
|
|
8429
8429
|
function up(e) {
|
|
8430
|
-
return e.dynamicChildren = ri > 0 ? Xt ||
|
|
8430
|
+
return e.dynamicChildren = ri > 0 ? Xt || Bo : null, qv(), ri > 0 && Xt && Xt.push(e), e;
|
|
8431
8431
|
}
|
|
8432
8432
|
function E(e, t, n, r, o, s) {
|
|
8433
8433
|
return up(
|
|
@@ -8770,7 +8770,7 @@ const ki = (e) => {
|
|
|
8770
8770
|
};
|
|
8771
8771
|
}, Yc = () => {
|
|
8772
8772
|
mt && mt.scope.off(), Ca(null);
|
|
8773
|
-
}, Qv = /* @__PURE__ */
|
|
8773
|
+
}, Qv = /* @__PURE__ */ dr("slot,component");
|
|
8774
8774
|
function lu(e, { isNativeTag: t }) {
|
|
8775
8775
|
(Qv(e) || t(e)) && X(
|
|
8776
8776
|
"Do not use built-in or reserved HTML elements as component id: " + e
|
|
@@ -9085,7 +9085,7 @@ function sy() {
|
|
|
9085
9085
|
}
|
|
9086
9086
|
window.devtoolsFormatters ? window.devtoolsFormatters.push(o) : window.devtoolsFormatters = [o];
|
|
9087
9087
|
}
|
|
9088
|
-
const Qc = "3.5.17",
|
|
9088
|
+
const Qc = "3.5.17", ir = I.NODE_ENV !== "production" ? X : vt;
|
|
9089
9089
|
var Wn = {};
|
|
9090
9090
|
let uu;
|
|
9091
9091
|
const Xc = typeof window < "u" && window.trustedTypes;
|
|
@@ -9095,9 +9095,9 @@ if (Xc)
|
|
|
9095
9095
|
createHTML: (e) => e
|
|
9096
9096
|
});
|
|
9097
9097
|
} catch (e) {
|
|
9098
|
-
Wn.NODE_ENV !== "production" &&
|
|
9098
|
+
Wn.NODE_ENV !== "production" && ir(`Error creating trusted types policy: ${e}`);
|
|
9099
9099
|
}
|
|
9100
|
-
const bp = uu ? (e) => uu.createHTML(e) : (e) => e, iy = "http://www.w3.org/2000/svg", ay = "http://www.w3.org/1998/Math/MathML",
|
|
9100
|
+
const bp = uu ? (e) => uu.createHTML(e) : (e) => e, iy = "http://www.w3.org/2000/svg", ay = "http://www.w3.org/1998/Math/MathML", nr = typeof document < "u" ? document : null, Jc = nr && /* @__PURE__ */ nr.createElement("template"), ly = {
|
|
9101
9101
|
insert: (e, t, n) => {
|
|
9102
9102
|
t.insertBefore(e, n || null);
|
|
9103
9103
|
},
|
|
@@ -9106,11 +9106,11 @@ const bp = uu ? (e) => uu.createHTML(e) : (e) => e, iy = "http://www.w3.org/2000
|
|
|
9106
9106
|
t && t.removeChild(e);
|
|
9107
9107
|
},
|
|
9108
9108
|
createElement: (e, t, n, r) => {
|
|
9109
|
-
const o = t === "svg" ?
|
|
9109
|
+
const o = t === "svg" ? nr.createElementNS(iy, e) : t === "mathml" ? nr.createElementNS(ay, e) : n ? nr.createElement(e, { is: n }) : nr.createElement(e);
|
|
9110
9110
|
return e === "select" && r && r.multiple != null && o.setAttribute("multiple", r.multiple), o;
|
|
9111
9111
|
},
|
|
9112
|
-
createText: (e) =>
|
|
9113
|
-
createComment: (e) =>
|
|
9112
|
+
createText: (e) => nr.createTextNode(e),
|
|
9113
|
+
createComment: (e) => nr.createComment(e),
|
|
9114
9114
|
setText: (e, t) => {
|
|
9115
9115
|
e.nodeValue = t;
|
|
9116
9116
|
},
|
|
@@ -9119,7 +9119,7 @@ const bp = uu ? (e) => uu.createHTML(e) : (e) => e, iy = "http://www.w3.org/2000
|
|
|
9119
9119
|
},
|
|
9120
9120
|
parentNode: (e) => e.parentNode,
|
|
9121
9121
|
nextSibling: (e) => e.nextSibling,
|
|
9122
|
-
querySelector: (e) =>
|
|
9122
|
+
querySelector: (e) => nr.querySelector(e),
|
|
9123
9123
|
setScopeId(e, t) {
|
|
9124
9124
|
e.setAttribute(t, "");
|
|
9125
9125
|
},
|
|
@@ -9152,7 +9152,7 @@ const bp = uu ? (e) => uu.createHTML(e) : (e) => e, iy = "http://www.w3.org/2000
|
|
|
9152
9152
|
n ? n.previousSibling : t.lastChild
|
|
9153
9153
|
];
|
|
9154
9154
|
}
|
|
9155
|
-
},
|
|
9155
|
+
}, br = "transition", ps = "animation", si = Symbol("_vtc"), vp = {
|
|
9156
9156
|
name: String,
|
|
9157
9157
|
type: String,
|
|
9158
9158
|
css: {
|
|
@@ -9200,12 +9200,12 @@ function dy(e) {
|
|
|
9200
9200
|
} = e, m = fy(o), w = m && m[0], x = m && m[1], {
|
|
9201
9201
|
onBeforeEnter: S,
|
|
9202
9202
|
onEnter: M,
|
|
9203
|
-
onEnterCancelled:
|
|
9203
|
+
onEnterCancelled: U,
|
|
9204
9204
|
onLeave: V,
|
|
9205
|
-
onLeaveCancelled:
|
|
9205
|
+
onLeaveCancelled: B,
|
|
9206
9206
|
onBeforeAppear: $ = S,
|
|
9207
9207
|
onAppear: v = M,
|
|
9208
|
-
onAppearCancelled: A =
|
|
9208
|
+
onAppearCancelled: A = U
|
|
9209
9209
|
} = t, P = (j, oe, Ae, Oe) => {
|
|
9210
9210
|
j._enterCancelled = Oe, qr(j, oe ? c : a), qr(j, oe ? u : i), Ae && Ae();
|
|
9211
9211
|
}, C = (j, oe) => {
|
|
@@ -9233,13 +9233,13 @@ function dy(e) {
|
|
|
9233
9233
|
}), Hr(V, [j, Ae]);
|
|
9234
9234
|
},
|
|
9235
9235
|
onEnterCancelled(j) {
|
|
9236
|
-
P(j, !1, void 0, !0), Hr(
|
|
9236
|
+
P(j, !1, void 0, !0), Hr(U, [j]);
|
|
9237
9237
|
},
|
|
9238
9238
|
onAppearCancelled(j) {
|
|
9239
9239
|
P(j, !0, void 0, !0), Hr(A, [j]);
|
|
9240
9240
|
},
|
|
9241
9241
|
onLeaveCancelled(j) {
|
|
9242
|
-
C(j), Hr(
|
|
9242
|
+
C(j), Hr(B, [j]);
|
|
9243
9243
|
}
|
|
9244
9244
|
});
|
|
9245
9245
|
}
|
|
@@ -9292,11 +9292,11 @@ function nd(e, t, n, r) {
|
|
|
9292
9292
|
}, a + 1), e.addEventListener(u, f);
|
|
9293
9293
|
}
|
|
9294
9294
|
function py(e, t) {
|
|
9295
|
-
const n = window.getComputedStyle(e), r = (m) => (n[m] || "").split(", "), o = r(`${
|
|
9295
|
+
const n = window.getComputedStyle(e), r = (m) => (n[m] || "").split(", "), o = r(`${br}Delay`), s = r(`${br}Duration`), i = rd(o, s), a = r(`${ps}Delay`), l = r(`${ps}Duration`), u = rd(a, l);
|
|
9296
9296
|
let c = null, d = 0, f = 0;
|
|
9297
|
-
t ===
|
|
9298
|
-
const h = c ===
|
|
9299
|
-
r(`${
|
|
9297
|
+
t === br ? i > 0 && (c = br, d = i, f = s.length) : t === ps ? u > 0 && (c = ps, d = u, f = l.length) : (d = Math.max(i, u), c = d > 0 ? i > u ? br : ps : null, f = c ? c === br ? s.length : l.length : 0);
|
|
9298
|
+
const h = c === br && /\b(transform|all)(,|$)/.test(
|
|
9299
|
+
r(`${br}Property`).toString()
|
|
9300
9300
|
);
|
|
9301
9301
|
return {
|
|
9302
9302
|
type: c,
|
|
@@ -9348,7 +9348,7 @@ const wy = /[^\\];\s*$/, ad = /\s*!important$/;
|
|
|
9348
9348
|
function Ji(e, t, n) {
|
|
9349
9349
|
if (me(n))
|
|
9350
9350
|
n.forEach((r) => Ji(e, t, r));
|
|
9351
|
-
else if (n == null && (n = ""), Wn.NODE_ENV !== "production" && wy.test(n) &&
|
|
9351
|
+
else if (n == null && (n = ""), Wn.NODE_ENV !== "production" && wy.test(n) && ir(
|
|
9352
9352
|
`Unexpected semicolon at the end of '${t}' style value: '${n}'`
|
|
9353
9353
|
), t.startsWith("--"))
|
|
9354
9354
|
e.setProperty(t, n);
|
|
@@ -9366,7 +9366,7 @@ function _y(e, t) {
|
|
|
9366
9366
|
const n = kl[t];
|
|
9367
9367
|
if (n)
|
|
9368
9368
|
return n;
|
|
9369
|
-
let r =
|
|
9369
|
+
let r = Ut(t);
|
|
9370
9370
|
if (r !== "filter" && r in e)
|
|
9371
9371
|
return kl[t] = r;
|
|
9372
9372
|
r = ho(r);
|
|
@@ -9381,7 +9381,7 @@ const ud = "http://www.w3.org/1999/xlink";
|
|
|
9381
9381
|
function cd(e, t, n, r, o, s = Hg(t)) {
|
|
9382
9382
|
r && t.startsWith("xlink:") ? n == null ? e.removeAttributeNS(ud, t.slice(6, t.length)) : e.setAttributeNS(ud, t, n) : n == null || s && !Kf(n) ? e.removeAttribute(t) : e.setAttribute(
|
|
9383
9383
|
t,
|
|
9384
|
-
s ? "" :
|
|
9384
|
+
s ? "" : fr(n) ? String(n) : n
|
|
9385
9385
|
);
|
|
9386
9386
|
}
|
|
9387
9387
|
function dd(e, t, n, r, o) {
|
|
@@ -9408,7 +9408,7 @@ function dd(e, t, n, r, o) {
|
|
|
9408
9408
|
try {
|
|
9409
9409
|
e[t] = n;
|
|
9410
9410
|
} catch (a) {
|
|
9411
|
-
Wn.NODE_ENV !== "production" && !i &&
|
|
9411
|
+
Wn.NODE_ENV !== "production" && !i && ir(
|
|
9412
9412
|
`Failed setting prop "${t}" on <${s.toLowerCase()}>: value ${n} is invalid.`,
|
|
9413
9413
|
a
|
|
9414
9414
|
);
|
|
@@ -9466,7 +9466,7 @@ function Sy(e, t) {
|
|
|
9466
9466
|
return n.value = e, n.attached = Oy(), n;
|
|
9467
9467
|
}
|
|
9468
9468
|
function pd(e, t) {
|
|
9469
|
-
return we(e) || me(e) ? e : (
|
|
9469
|
+
return we(e) || me(e) ? e : (ir(
|
|
9470
9470
|
`Wrong type passed as event handler to ${t} - did you forget @ or : in front of your prop?
|
|
9471
9471
|
Expected function or array of functions, received type ${typeof e}.`
|
|
9472
9472
|
), vt);
|
|
@@ -9485,7 +9485,7 @@ function Ny(e, t) {
|
|
|
9485
9485
|
const md = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // lowercase letter
|
|
9486
9486
|
e.charCodeAt(2) > 96 && e.charCodeAt(2) < 123, Py = (e, t, n, r, o, s) => {
|
|
9487
9487
|
const i = o === "svg";
|
|
9488
|
-
t === "class" ? my(e, r, i) : t === "style" ? yy(e, n, r) : mi(t) ? ma(t) || xy(e, t, n, r, s) : (t[0] === "." ? (t = t.slice(1), !0) : t[0] === "^" ? (t = t.slice(1), !1) : Ty(e, t, r, i)) ? (dd(e, t, r), !e.tagName.includes("-") && (t === "value" || t === "checked" || t === "selected") && cd(e, t, r, i, s, t !== "value")) : /* #11081 force set props for possible async custom element */ e._isVueCE && (/[A-Z]/.test(t) || !st(r)) ? dd(e,
|
|
9488
|
+
t === "class" ? my(e, r, i) : t === "style" ? yy(e, n, r) : mi(t) ? ma(t) || xy(e, t, n, r, s) : (t[0] === "." ? (t = t.slice(1), !0) : t[0] === "^" ? (t = t.slice(1), !1) : Ty(e, t, r, i)) ? (dd(e, t, r), !e.tagName.includes("-") && (t === "value" || t === "checked" || t === "selected") && cd(e, t, r, i, s, t !== "value")) : /* #11081 force set props for possible async custom element */ e._isVueCE && (/[A-Z]/.test(t) || !st(r)) ? dd(e, Ut(t), r, s, t) : (t === "true-value" ? e._trueValue = r : t === "false-value" && (e._falseValue = r), cd(e, t, r, i));
|
|
9489
9489
|
};
|
|
9490
9490
|
function Ty(e, t, n, r) {
|
|
9491
9491
|
if (r)
|
|
@@ -9530,7 +9530,7 @@ const Vy = (...e) => {
|
|
|
9530
9530
|
Wn.NODE_ENV !== "production" && (Ry(t), jy(t));
|
|
9531
9531
|
const { mount: n } = t;
|
|
9532
9532
|
return t.mount = (r) => {
|
|
9533
|
-
const o =
|
|
9533
|
+
const o = Uy(r);
|
|
9534
9534
|
if (!o) return;
|
|
9535
9535
|
const s = t._component;
|
|
9536
9536
|
!we(s) && !s.render && !s.template && (s.template = o.innerHTML), o.nodeType === 1 && (o.textContent = "");
|
|
@@ -9546,7 +9546,7 @@ function Ly(e) {
|
|
|
9546
9546
|
}
|
|
9547
9547
|
function Ry(e) {
|
|
9548
9548
|
Object.defineProperty(e.config, "isNativeTag", {
|
|
9549
|
-
value: (t) =>
|
|
9549
|
+
value: (t) => Ug(t) || Bg(t) || Fg(t),
|
|
9550
9550
|
writable: !1
|
|
9551
9551
|
});
|
|
9552
9552
|
}
|
|
@@ -9558,7 +9558,7 @@ function jy(e) {
|
|
|
9558
9558
|
return t;
|
|
9559
9559
|
},
|
|
9560
9560
|
set() {
|
|
9561
|
-
|
|
9561
|
+
ir(
|
|
9562
9562
|
"The `isCustomElement` config option is deprecated. Use `compilerOptions.isCustomElement` instead."
|
|
9563
9563
|
);
|
|
9564
9564
|
}
|
|
@@ -9566,30 +9566,30 @@ function jy(e) {
|
|
|
9566
9566
|
const n = e.config.compilerOptions, r = 'The `compilerOptions` config option is only respected when using a build of Vue.js that includes the runtime compiler (aka "full build"). Since you are using the runtime-only build, `compilerOptions` must be passed to `@vue/compiler-dom` in the build setup instead.\n- For vue-loader: pass it via vue-loader\'s `compilerOptions` loader option.\n- For vue-cli: see https://cli.vuejs.org/guide/webpack.html#modifying-options-of-a-loader\n- For vite: pass it via @vitejs/plugin-vue options. See https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue#example-for-passing-options-to-vuecompiler-sfc';
|
|
9567
9567
|
Object.defineProperty(e.config, "compilerOptions", {
|
|
9568
9568
|
get() {
|
|
9569
|
-
return
|
|
9569
|
+
return ir(r), n;
|
|
9570
9570
|
},
|
|
9571
9571
|
set() {
|
|
9572
|
-
|
|
9572
|
+
ir(r);
|
|
9573
9573
|
}
|
|
9574
9574
|
});
|
|
9575
9575
|
}
|
|
9576
9576
|
}
|
|
9577
|
-
function
|
|
9577
|
+
function Uy(e) {
|
|
9578
9578
|
if (st(e)) {
|
|
9579
9579
|
const t = document.querySelector(e);
|
|
9580
|
-
return Wn.NODE_ENV !== "production" && !t &&
|
|
9580
|
+
return Wn.NODE_ENV !== "production" && !t && ir(
|
|
9581
9581
|
`Failed to mount app: mount target selector "${e}" returned null.`
|
|
9582
9582
|
), t;
|
|
9583
9583
|
}
|
|
9584
|
-
return Wn.NODE_ENV !== "production" && window.ShadowRoot && e instanceof window.ShadowRoot && e.mode === "closed" &&
|
|
9584
|
+
return Wn.NODE_ENV !== "production" && window.ShadowRoot && e instanceof window.ShadowRoot && e.mode === "closed" && ir(
|
|
9585
9585
|
'mounting on a ShadowRoot with `{mode: "closed"}` may lead to unpredictable bugs'
|
|
9586
9586
|
), e;
|
|
9587
9587
|
}
|
|
9588
|
-
var
|
|
9588
|
+
var By = {};
|
|
9589
9589
|
function Fy() {
|
|
9590
9590
|
sy();
|
|
9591
9591
|
}
|
|
9592
|
-
|
|
9592
|
+
By.NODE_ENV !== "production" && Fy();
|
|
9593
9593
|
let Vi;
|
|
9594
9594
|
const zy = new Uint8Array(16);
|
|
9595
9595
|
function Hy() {
|
|
@@ -9613,7 +9613,7 @@ function Os(e, t, n) {
|
|
|
9613
9613
|
const r = e.random || (e.rng || Hy)();
|
|
9614
9614
|
return r[6] = r[6] & 15 | 64, r[8] = r[8] & 63 | 128, qy(r);
|
|
9615
9615
|
}
|
|
9616
|
-
var
|
|
9616
|
+
var Wt = Symbol("storefront");
|
|
9617
9617
|
function Zy(e, t = 100) {
|
|
9618
9618
|
let n = 0;
|
|
9619
9619
|
return async (...o) => {
|
|
@@ -9805,8 +9805,11 @@ var Ai = class ct {
|
|
|
9805
9805
|
onCheckoutClosed(t) {
|
|
9806
9806
|
window.addEventListener("moonbase-checkout-closed", (n) => t(n.detail.intent));
|
|
9807
9807
|
}
|
|
9808
|
+
onStorefrontUpdated(t) {
|
|
9809
|
+
window.addEventListener("moonbase-storefront-updated", (n) => t(n.detail.storefront));
|
|
9810
|
+
}
|
|
9808
9811
|
install(t) {
|
|
9809
|
-
t.provide(
|
|
9812
|
+
t.provide(Wt, this), console.log("Moonbase.sh storefront installed, learn more at https://moonbase.sh/docs");
|
|
9810
9813
|
}
|
|
9811
9814
|
async updateUser() {
|
|
9812
9815
|
try {
|
|
@@ -9820,7 +9823,9 @@ var Ai = class ct {
|
|
|
9820
9823
|
}
|
|
9821
9824
|
async updateStorefront() {
|
|
9822
9825
|
const t = await this.client.storefront.get(this.hasUtm ? this.utm.value : void 0);
|
|
9823
|
-
return t && (typeof window < "u" && localStorage.setItem(ct.storefrontKey, JSON.stringify(t)), this.storefront.value = t, this.loadedStorefront.value = !0, this.currentOrder.value.currency = t.suggestedCurrency, this.currentOrder.value.items = this.enrichLineItems(this.currentOrder.value.items)
|
|
9826
|
+
return t && (typeof window < "u" && localStorage.setItem(ct.storefrontKey, JSON.stringify(t)), this.storefront.value = t, this.loadedStorefront.value = !0, this.currentOrder.value.currency = t.suggestedCurrency, this.currentOrder.value.items = this.enrichLineItems(this.currentOrder.value.items), typeof window < "u" && window.dispatchEvent(new CustomEvent("moonbase-storefront-updated", {
|
|
9827
|
+
detail: { storefront: t }
|
|
9828
|
+
}))), t;
|
|
9824
9829
|
}
|
|
9825
9830
|
async pushOrderContent() {
|
|
9826
9831
|
typeof window < "u" && localStorage.setItem(ct.sessionKey, JSON.stringify(this.currentOrder.value)), this.refreshOrderAbortController.abort(), this.refreshOrderAbortController = new AbortController(), this.debouncedPushOrderContent(this.currentOrder.value);
|
|
@@ -9909,25 +9914,25 @@ Ai.storefrontKey = "moonbase_storefront";
|
|
|
9909
9914
|
Ai.utmKey = "moonbase_utm";
|
|
9910
9915
|
var n1 = Ai;
|
|
9911
9916
|
function r1(e, t) {
|
|
9912
|
-
const n = he(
|
|
9917
|
+
const n = he(Wt);
|
|
9913
9918
|
if (!n)
|
|
9914
9919
|
throw new Error("No storefront configured");
|
|
9915
|
-
const r = n.stateFactory(`activation-request-${
|
|
9920
|
+
const r = n.stateFactory(`activation-request-${gr(e)}`, null), o = n.stateFactory(`activation-request-${gr(e)}-error`, null), s = n.stateFactory(`activation-request-${gr(e)}-loading`, !0), i = n.stateFactory(`activation-request-${gr(e)}-fulfilling`, !1), a = n.stateFactory(`activation-request-${gr(e)}-completing`, !1), l = n.stateFactory(`activation-request-${gr(e)}-completion-timeout`, null), u = async () => {
|
|
9916
9921
|
if (!r.value)
|
|
9917
9922
|
return;
|
|
9918
9923
|
await n.client.activationRequests.isCompleted(r.value.id) && r.value ? (r.value.status = pn.Completed, a.value = !1) : l.value = setTimeout(u, 1500);
|
|
9919
9924
|
};
|
|
9920
|
-
return et(() =>
|
|
9925
|
+
return et(() => gr(e), async (c) => {
|
|
9921
9926
|
try {
|
|
9922
9927
|
c && c.length > 0 ? (r.value = await n.client.activationRequests.get(c), r.value.status === pn.Fulfilled && (a.value = !0, u()), s.value = !1) : console.warn("No token given to `useActivationRequest`");
|
|
9923
9928
|
} catch (d) {
|
|
9924
9929
|
o.value = d.message, s.value = !1;
|
|
9925
9930
|
}
|
|
9926
|
-
}, { immediate: !0 }),
|
|
9931
|
+
}, { immediate: !0 }), Uu(() => {
|
|
9927
9932
|
l.value && clearTimeout(l.value);
|
|
9928
9933
|
}), et(n.currentUser, async () => {
|
|
9929
9934
|
var c, d;
|
|
9930
|
-
const f =
|
|
9935
|
+
const f = gr(e);
|
|
9931
9936
|
if (!(!f || (d = (c = r.value) == null ? void 0 : c.licenseEligibility) != null && d.eligible)) {
|
|
9932
9937
|
s.value = !0;
|
|
9933
9938
|
try {
|
|
@@ -9965,7 +9970,7 @@ function r1(e, t) {
|
|
|
9965
9970
|
};
|
|
9966
9971
|
}
|
|
9967
9972
|
function Fe(e) {
|
|
9968
|
-
const t = e ?? he(
|
|
9973
|
+
const t = e ?? he(Wt);
|
|
9969
9974
|
if (!t)
|
|
9970
9975
|
throw new Error("No storefront configured");
|
|
9971
9976
|
return {
|
|
@@ -10013,25 +10018,25 @@ function Fe(e) {
|
|
|
10013
10018
|
};
|
|
10014
10019
|
}
|
|
10015
10020
|
function ea(e, t) {
|
|
10016
|
-
const n = t ?? he(
|
|
10021
|
+
const n = t ?? he(Wt);
|
|
10017
10022
|
if (!n)
|
|
10018
10023
|
throw new Error("No storefront configured");
|
|
10019
10024
|
return W(() => n.storefront.value.bundles.find((r) => r.id === e) || null);
|
|
10020
10025
|
}
|
|
10021
10026
|
function o1(e) {
|
|
10022
|
-
const t = he(
|
|
10027
|
+
const t = he(Wt);
|
|
10023
10028
|
if (!t)
|
|
10024
10029
|
throw new Error("No storefront configured");
|
|
10025
10030
|
return W(() => t.storefront.value.bundles);
|
|
10026
10031
|
}
|
|
10027
10032
|
function Zn(e) {
|
|
10028
|
-
const t = e ?? he(
|
|
10033
|
+
const t = e ?? he(Wt);
|
|
10029
10034
|
if (!t)
|
|
10030
10035
|
throw new Error("No storefront configured");
|
|
10031
10036
|
const n = W(() => {
|
|
10032
10037
|
const i = t.currentOrder.value.currency || t.storefront.value.suggestedCurrency;
|
|
10033
10038
|
return { amount: t.currentOrder.value.items.reduce((l, u) => {
|
|
10034
|
-
var c, d, f, h, m, w, x, S, M,
|
|
10039
|
+
var c, d, f, h, m, w, x, S, M, U;
|
|
10035
10040
|
let V;
|
|
10036
10041
|
if (u.type === "Product") {
|
|
10037
10042
|
const $ = t.storefront.value.products.find((T) => T.id === u.productId), A = (($ == null ? void 0 : $.variations) || []).find((T) => T.id === u.variationId), P = (d = (c = A == null ? void 0 : A.pricingTiers) == null ? void 0 : c.filter((T) => u.quantity >= T.minQuantity)) != null ? d : [], C = P.length > 0 ? P[P.length - 1] : null;
|
|
@@ -10040,9 +10045,9 @@ function Zn(e) {
|
|
|
10040
10045
|
const $ = t.storefront.value.bundles.find((P) => P.id === u.bundleId), A = (($ == null ? void 0 : $.variations) || []).find((P) => P.id === u.variationId);
|
|
10041
10046
|
V = (M = (S = A == null ? void 0 : A.price[i]) != null ? S : (x = $ == null ? void 0 : $.defaultVariation) == null ? void 0 : x.price[i]) != null ? M : 0;
|
|
10042
10047
|
}
|
|
10043
|
-
const
|
|
10044
|
-
if (
|
|
10045
|
-
const $ = za.apply(
|
|
10048
|
+
const B = u.offerId ? (U = t.storefront.value.offers) == null ? void 0 : U.find(($) => $.id === u.offerId) : null;
|
|
10049
|
+
if (B && Rn.eligible(B, t.currentOrder.value)) {
|
|
10050
|
+
const $ = za.apply(B.discount, { [i]: V });
|
|
10046
10051
|
V -= $[i];
|
|
10047
10052
|
}
|
|
10048
10053
|
return l + V * u.quantity;
|
|
@@ -10174,7 +10179,7 @@ function Zn(e) {
|
|
|
10174
10179
|
}
|
|
10175
10180
|
async function s1(e, t, n) {
|
|
10176
10181
|
var r, o;
|
|
10177
|
-
const s = n ?? he(
|
|
10182
|
+
const s = n ?? he(Wt);
|
|
10178
10183
|
if (!s)
|
|
10179
10184
|
throw new Error("No storefront configured");
|
|
10180
10185
|
const i = [];
|
|
@@ -10238,7 +10243,7 @@ async function s1(e, t, n) {
|
|
|
10238
10243
|
}
|
|
10239
10244
|
}
|
|
10240
10245
|
function vo(e) {
|
|
10241
|
-
const t = he(
|
|
10246
|
+
const t = he(Wt);
|
|
10242
10247
|
if (!t)
|
|
10243
10248
|
throw new Error("No storefront configured");
|
|
10244
10249
|
return {
|
|
@@ -10289,7 +10294,7 @@ function vo(e) {
|
|
|
10289
10294
|
};
|
|
10290
10295
|
}
|
|
10291
10296
|
function i1(e, t) {
|
|
10292
|
-
const n = he(
|
|
10297
|
+
const n = he(Wt);
|
|
10293
10298
|
if (!n)
|
|
10294
10299
|
throw new Error("No storefront configured");
|
|
10295
10300
|
return W(() => {
|
|
@@ -10298,7 +10303,7 @@ function i1(e, t) {
|
|
|
10298
10303
|
});
|
|
10299
10304
|
}
|
|
10300
10305
|
function a1(e) {
|
|
10301
|
-
const t = he(
|
|
10306
|
+
const t = he(Wt);
|
|
10302
10307
|
if (!t)
|
|
10303
10308
|
throw new Error("No storefront configured");
|
|
10304
10309
|
return W(() => {
|
|
@@ -10318,19 +10323,19 @@ function u1(e, t) {
|
|
|
10318
10323
|
);
|
|
10319
10324
|
}
|
|
10320
10325
|
function Ls(e, t) {
|
|
10321
|
-
const n = t ?? he(
|
|
10326
|
+
const n = t ?? he(Wt);
|
|
10322
10327
|
if (!n)
|
|
10323
10328
|
throw new Error("No storefront configured");
|
|
10324
10329
|
return W(() => n.storefront.value.products.find((r) => r.id === e) || null);
|
|
10325
10330
|
}
|
|
10326
10331
|
function c1(e) {
|
|
10327
|
-
const t = he(
|
|
10332
|
+
const t = he(Wt);
|
|
10328
10333
|
if (!t)
|
|
10329
10334
|
throw new Error("No storefront configured");
|
|
10330
10335
|
return W(() => t.storefront.value.products);
|
|
10331
10336
|
}
|
|
10332
10337
|
function wp(e) {
|
|
10333
|
-
const t = he(
|
|
10338
|
+
const t = he(Wt);
|
|
10334
10339
|
if (!t)
|
|
10335
10340
|
throw new Error("No storefront configured");
|
|
10336
10341
|
return {
|
|
@@ -10470,10 +10475,10 @@ const ii = (e) => Ss = e, kp = Re.NODE_ENV !== "production" ? Symbol("pinia") :
|
|
|
10470
10475
|
function go(e) {
|
|
10471
10476
|
return e && typeof e == "object" && Object.prototype.toString.call(e) === "[object Object]" && typeof e.toJSON != "function";
|
|
10472
10477
|
}
|
|
10473
|
-
var
|
|
10478
|
+
var Bn;
|
|
10474
10479
|
(function(e) {
|
|
10475
10480
|
e.direct = "direct", e.patchObject = "patch object", e.patchFunction = "patch function";
|
|
10476
|
-
})(
|
|
10481
|
+
})(Bn || (Bn = {}));
|
|
10477
10482
|
const Jr = typeof window < "u", vd = typeof window == "object" && window.window === window ? window : typeof self == "object" && self.self === self ? self : typeof global == "object" && global.global === global ? global : typeof globalThis == "object" ? globalThis : { HTMLElement: null };
|
|
10478
10483
|
function y1(e, { autoBom: t = !1 } = {}) {
|
|
10479
10484
|
return t && /^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type) ? new Blob(["\uFEFF", e], { type: e.type }) : e;
|
|
@@ -10698,11 +10703,11 @@ function P1(e) {
|
|
|
10698
10703
|
}
|
|
10699
10704
|
function T1(e) {
|
|
10700
10705
|
switch (e) {
|
|
10701
|
-
case
|
|
10706
|
+
case Bn.direct:
|
|
10702
10707
|
return "mutation";
|
|
10703
|
-
case
|
|
10708
|
+
case Bn.patchFunction:
|
|
10704
10709
|
return "$patch";
|
|
10705
|
-
case
|
|
10710
|
+
case Bn.patchObject:
|
|
10706
10711
|
return "$patch";
|
|
10707
10712
|
default:
|
|
10708
10713
|
return "unknown";
|
|
@@ -10940,7 +10945,7 @@ function $1(e, t) {
|
|
|
10940
10945
|
data: I1({ store: dn(t.$id) }, P1(i)),
|
|
10941
10946
|
groupId: Sr
|
|
10942
10947
|
};
|
|
10943
|
-
a ===
|
|
10948
|
+
a === Bn.patchFunction ? u.subtitle = "⤵️" : a === Bn.patchObject ? u.subtitle = "🧩" : i && !Array.isArray(i) && (u.subtitle = i.type), i && (u.data["rawEvent(s)"] = {
|
|
10944
10949
|
_custom: {
|
|
10945
10950
|
display: "DebuggerEvent",
|
|
10946
10951
|
type: "object",
|
|
@@ -11108,11 +11113,11 @@ function fu(e, t, n = {}, r, o, s) {
|
|
|
11108
11113
|
function S(C) {
|
|
11109
11114
|
let T;
|
|
11110
11115
|
u = c = !1, Re.NODE_ENV !== "production" && (h = []), typeof C == "function" ? (C(r.state.value[e]), T = {
|
|
11111
|
-
type:
|
|
11116
|
+
type: Bn.patchFunction,
|
|
11112
11117
|
storeId: e,
|
|
11113
11118
|
events: h
|
|
11114
11119
|
}) : (du(r.state.value[e], C), T = {
|
|
11115
|
-
type:
|
|
11120
|
+
type: Bn.patchObject,
|
|
11116
11121
|
payload: C,
|
|
11117
11122
|
storeId: e,
|
|
11118
11123
|
events: h
|
|
@@ -11133,7 +11138,7 @@ function fu(e, t, n = {}, r, o, s) {
|
|
|
11133
11138
|
throw new Error(`🍍: Store "${e}" is built using the setup syntax and does not implement $reset().`);
|
|
11134
11139
|
} : Dp
|
|
11135
11140
|
);
|
|
11136
|
-
function
|
|
11141
|
+
function U() {
|
|
11137
11142
|
i.stop(), d = [], f = [], r._s.delete(e);
|
|
11138
11143
|
}
|
|
11139
11144
|
const V = (C, T = "") => {
|
|
@@ -11164,7 +11169,7 @@ function fu(e, t, n = {}, r, o, s) {
|
|
|
11164
11169
|
return de instanceof Promise ? de.then((Le) => (Ao(Ae, Le), Le)).catch((Le) => (Ao(Oe, Le), Promise.reject(Le))) : (Ao(Ae, de), de);
|
|
11165
11170
|
};
|
|
11166
11171
|
return j[_d] = !0, j[Cl] = T, j;
|
|
11167
|
-
},
|
|
11172
|
+
}, B = /* @__PURE__ */ Or({
|
|
11168
11173
|
actions: {},
|
|
11169
11174
|
getters: {},
|
|
11170
11175
|
state: [],
|
|
@@ -11180,16 +11185,16 @@ function fu(e, t, n = {}, r, o, s) {
|
|
|
11180
11185
|
const j = wd(d, C, T.detached, () => oe()), oe = i.run(() => et(() => r.state.value[e], (Ae) => {
|
|
11181
11186
|
(T.flush === "sync" ? c : u) && C({
|
|
11182
11187
|
storeId: e,
|
|
11183
|
-
type:
|
|
11188
|
+
type: Bn.direct,
|
|
11184
11189
|
events: h
|
|
11185
11190
|
}, Ae);
|
|
11186
11191
|
}, on({}, l, T)));
|
|
11187
11192
|
return j;
|
|
11188
11193
|
},
|
|
11189
|
-
$dispose:
|
|
11194
|
+
$dispose: U
|
|
11190
11195
|
}, v = vi(Re.NODE_ENV !== "production" || Re.NODE_ENV !== "production" && Re.NODE_ENV !== "test" && Jr ? on(
|
|
11191
11196
|
{
|
|
11192
|
-
_hmrPayload:
|
|
11197
|
+
_hmrPayload: B,
|
|
11193
11198
|
_customProperties: Or(/* @__PURE__ */ new Set())
|
|
11194
11199
|
// devtools custom properties
|
|
11195
11200
|
},
|
|
@@ -11202,11 +11207,11 @@ function fu(e, t, n = {}, r, o, s) {
|
|
|
11202
11207
|
for (const C in P) {
|
|
11203
11208
|
const T = P[C];
|
|
11204
11209
|
if (nt(T) && !Ed(T) || yn(T))
|
|
11205
|
-
Re.NODE_ENV !== "production" && o ? Li(w.value, C, gl(P, C)) : s || (m && j1(T) && (nt(T) ? T.value = m[C] : du(T, m[C])), r.state.value[e][C] = T), Re.NODE_ENV !== "production" &&
|
|
11210
|
+
Re.NODE_ENV !== "production" && o ? Li(w.value, C, gl(P, C)) : s || (m && j1(T) && (nt(T) ? T.value = m[C] : du(T, m[C])), r.state.value[e][C] = T), Re.NODE_ENV !== "production" && B.state.push(C);
|
|
11206
11211
|
else if (typeof T == "function") {
|
|
11207
11212
|
const j = Re.NODE_ENV !== "production" && o ? T : V(T, C);
|
|
11208
|
-
P[C] = j, Re.NODE_ENV !== "production" && (
|
|
11209
|
-
} else Re.NODE_ENV !== "production" && Ed(T) && (
|
|
11213
|
+
P[C] = j, Re.NODE_ENV !== "production" && (B.actions[C] = T), a.actions[C] = T;
|
|
11214
|
+
} else Re.NODE_ENV !== "production" && Ed(T) && (B.getters[C] = s ? (
|
|
11210
11215
|
// @ts-expect-error
|
|
11211
11216
|
n.getters[C]
|
|
11212
11217
|
) : T, Jr && (P._getters || // @ts-expect-error: same
|
|
@@ -11282,7 +11287,7 @@ Found in store "${v.$id}".`), m && s && n.hydrate && n.hydrate(v.$state, m), u =
|
|
|
11282
11287
|
}
|
|
11283
11288
|
/*! #__NO_SIDE_EFFECTS__ */
|
|
11284
11289
|
// @__NO_SIDE_EFFECTS__
|
|
11285
|
-
function
|
|
11290
|
+
function U1(e, t, n) {
|
|
11286
11291
|
let r, o;
|
|
11287
11292
|
const s = typeof t == "function";
|
|
11288
11293
|
r = e, o = s ? n : t;
|
|
@@ -11380,9 +11385,9 @@ const xd = {
|
|
|
11380
11385
|
cards: "outlined"
|
|
11381
11386
|
},
|
|
11382
11387
|
target: void 0
|
|
11383
|
-
}, ut = Symbol("options"),
|
|
11388
|
+
}, ut = Symbol("options"), B1 = () => window.location.search.includes("mb_debug=true");
|
|
11384
11389
|
function Qe(...e) {
|
|
11385
|
-
|
|
11390
|
+
B1() && console.debug(...e);
|
|
11386
11391
|
}
|
|
11387
11392
|
function Xu(e, t) {
|
|
11388
11393
|
if (e === t)
|
|
@@ -11400,7 +11405,7 @@ function Xu(e, t) {
|
|
|
11400
11405
|
return !0;
|
|
11401
11406
|
}
|
|
11402
11407
|
var Ju = /* @__PURE__ */ ((e) => (e[e.Forward = 0] = "Forward", e[e.Back = 1] = "Back", e))(Ju || {}), te = /* @__PURE__ */ ((e) => (e.None = "None", e.Authentication = "Authentication", e.Customer = "Customer", e.Redeem = "Redeem", e.Cart = "Cart", e.Activation = "Activation", e.Product = "Product", e.Subscription = "Subscription", e.About = "About", e))(te || {});
|
|
11403
|
-
const xe = /* @__PURE__ */
|
|
11408
|
+
const xe = /* @__PURE__ */ U1("ui", () => {
|
|
11404
11409
|
const e = R(
|
|
11405
11410
|
0
|
|
11406
11411
|
/* Forward */
|
|
@@ -11448,8 +11453,8 @@ const xe = /* @__PURE__ */ B1("ui", () => {
|
|
|
11448
11453
|
});
|
|
11449
11454
|
class F1 {
|
|
11450
11455
|
constructor() {
|
|
11451
|
-
|
|
11452
|
-
|
|
11456
|
+
Br(this, "current", this.detect());
|
|
11457
|
+
Br(this, "currentId", 0);
|
|
11453
11458
|
}
|
|
11454
11459
|
set(t) {
|
|
11455
11460
|
this.current !== t && (this.currentId = 0, this.current = t);
|
|
@@ -11829,7 +11834,7 @@ function jp(e) {
|
|
|
11829
11834
|
}
|
|
11830
11835
|
return t;
|
|
11831
11836
|
}
|
|
11832
|
-
var
|
|
11837
|
+
var Up = /* @__PURE__ */ ((e) => (e[e.None = 1] = "None", e[e.InitialFocus = 2] = "InitialFocus", e[e.TabLock = 4] = "TabLock", e[e.FocusLock = 8] = "FocusLock", e[e.RestoreFocus = 16] = "RestoreFocus", e[e.All = 30] = "All", e))(Up || {});
|
|
11833
11838
|
const ms = Object.assign(
|
|
11834
11839
|
/* @__PURE__ */ le({
|
|
11835
11840
|
name: "FocusTrap",
|
|
@@ -11851,7 +11856,7 @@ const ms = Object.assign(
|
|
|
11851
11856
|
const o = R(null);
|
|
11852
11857
|
r({ el: o, $el: o });
|
|
11853
11858
|
const s = W(() => rs(o)), i = R(!1);
|
|
11854
|
-
He(() => i.value = !0),
|
|
11859
|
+
He(() => i.value = !0), qt(() => i.value = !1), Q1(
|
|
11855
11860
|
{ ownerDocument: s },
|
|
11856
11861
|
W(() => i.value && !!(e.features & 16))
|
|
11857
11862
|
);
|
|
@@ -11896,7 +11901,7 @@ const ms = Object.assign(
|
|
|
11896
11901
|
const m = jp(e.containers);
|
|
11897
11902
|
$e(o) instanceof HTMLElement && m.add($e(o));
|
|
11898
11903
|
const w = h.relatedTarget;
|
|
11899
|
-
w instanceof HTMLElement && w.dataset.moonbaseFocusGuard !== "true" && (
|
|
11904
|
+
w instanceof HTMLElement && w.dataset.moonbaseFocusGuard !== "true" && (Bp(m, w) || (c.value ? Mn(
|
|
11900
11905
|
$e(o),
|
|
11901
11906
|
en(l.value, {
|
|
11902
11907
|
[Ns.Forwards]: () => yt.Next,
|
|
@@ -11934,7 +11939,7 @@ const ms = Object.assign(
|
|
|
11934
11939
|
};
|
|
11935
11940
|
}
|
|
11936
11941
|
}),
|
|
11937
|
-
{ features:
|
|
11942
|
+
{ features: Up }
|
|
11938
11943
|
);
|
|
11939
11944
|
function G1(e) {
|
|
11940
11945
|
const t = R(Xr.slice());
|
|
@@ -11958,7 +11963,7 @@ function Q1({ ownerDocument: e }, t) {
|
|
|
11958
11963
|
},
|
|
11959
11964
|
{ flush: "post" }
|
|
11960
11965
|
);
|
|
11961
|
-
}),
|
|
11966
|
+
}), qt(() => {
|
|
11962
11967
|
t.value && lo(n());
|
|
11963
11968
|
});
|
|
11964
11969
|
}
|
|
@@ -11968,7 +11973,7 @@ function X1({
|
|
|
11968
11973
|
initialFocus: n
|
|
11969
11974
|
}, r) {
|
|
11970
11975
|
const o = R(null), s = R(!1);
|
|
11971
|
-
return He(() => s.value = !0),
|
|
11976
|
+
return He(() => s.value = !0), qt(() => s.value = !1), He(() => {
|
|
11972
11977
|
et(
|
|
11973
11978
|
// Handle initial focus
|
|
11974
11979
|
[t, n, r],
|
|
@@ -12016,12 +12021,12 @@ function J1({
|
|
|
12016
12021
|
if (!l)
|
|
12017
12022
|
return;
|
|
12018
12023
|
const u = i.target;
|
|
12019
|
-
u && u instanceof HTMLElement ?
|
|
12024
|
+
u && u instanceof HTMLElement ? Bp(a, u) ? (r.value = u, lo(u)) : (i.preventDefault(), i.stopPropagation(), lo(l)) : lo(r.value);
|
|
12020
12025
|
},
|
|
12021
12026
|
!0
|
|
12022
12027
|
);
|
|
12023
12028
|
}
|
|
12024
|
-
function
|
|
12029
|
+
function Bp(e, t) {
|
|
12025
12030
|
for (const n of e)
|
|
12026
12031
|
if (n.contains(t))
|
|
12027
12032
|
return !0;
|
|
@@ -12029,7 +12034,7 @@ function Up(e, t) {
|
|
|
12029
12034
|
}
|
|
12030
12035
|
function ew(e) {
|
|
12031
12036
|
const t = fb(e.getSnapshot());
|
|
12032
|
-
return
|
|
12037
|
+
return qt(
|
|
12033
12038
|
e.subscribe(() => {
|
|
12034
12039
|
t.value = e.getSnapshot();
|
|
12035
12040
|
})
|
|
@@ -12477,7 +12482,7 @@ function bw({
|
|
|
12477
12482
|
},
|
|
12478
12483
|
{ immediate: !0, flush: "sync" }
|
|
12479
12484
|
);
|
|
12480
|
-
}),
|
|
12485
|
+
}), qt(() => {
|
|
12481
12486
|
t.value && s(1, e, n);
|
|
12482
12487
|
}), Kt(qp, s);
|
|
12483
12488
|
}
|
|
@@ -12536,7 +12541,7 @@ const pu = Symbol("PortalParentContext"), Wp = Symbol("PortalGroupContext"), ww
|
|
|
12536
12541
|
if (u || !l)
|
|
12537
12542
|
return;
|
|
12538
12543
|
const d = $e(r);
|
|
12539
|
-
d && (
|
|
12544
|
+
d && (qt(l.register(d), c), u = !0);
|
|
12540
12545
|
}), () => {
|
|
12541
12546
|
if (!a.value || i.value === null)
|
|
12542
12547
|
return null;
|
|
@@ -12667,7 +12672,7 @@ const ji = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", kw = /* @__PURE__ */ le({
|
|
|
12667
12672
|
close() {
|
|
12668
12673
|
t("close", !1);
|
|
12669
12674
|
}
|
|
12670
|
-
}, M = W(() => l.value > 1),
|
|
12675
|
+
}, M = W(() => l.value > 1), U = he(mu, null) !== null, [V, B] = _w(), {
|
|
12671
12676
|
resolveContainers: $,
|
|
12672
12677
|
mainTreeNodeRef: v,
|
|
12673
12678
|
MainTreeNode: A
|
|
@@ -12676,7 +12681,7 @@ const ji = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", kw = /* @__PURE__ */ le({
|
|
|
12676
12681
|
defaultContainers: [W(() => S.panelRef.value ?? d.value)]
|
|
12677
12682
|
}), P = W(() => M.value ? "parent" : "leaf"), C = W(
|
|
12678
12683
|
() => u !== null ? (u.value & Qt.Closing) === Qt.Closing : !1
|
|
12679
|
-
), T = W(() => !e.makeInert ||
|
|
12684
|
+
), T = W(() => !e.makeInert || U || C.value ? !1 : w.value), j = W(() => {
|
|
12680
12685
|
var Se;
|
|
12681
12686
|
return Array.from(((Se = f.value) == null ? void 0 : Se.querySelectorAll("body > *")) ?? []).find((fe) => fe.id === "moonbase" ? !1 : fe.contains($e(v)) && fe instanceof HTMLElement) ?? null;
|
|
12682
12687
|
});
|
|
@@ -12719,7 +12724,7 @@ const ji = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", kw = /* @__PURE__ */ le({
|
|
|
12719
12724
|
$p((Le = f.value) == null ? void 0 : Le.defaultView, "keydown", (Se) => {
|
|
12720
12725
|
K.value && (Se.defaultPrevented || Se.key === sn.Escape && (Se.preventDefault(), Se.stopPropagation(), S.close()));
|
|
12721
12726
|
});
|
|
12722
|
-
const de = W(() => !(!e.lockScroll || C.value || m.value !== 0 ||
|
|
12727
|
+
const de = W(() => !(!e.lockScroll || C.value || m.value !== 0 || U));
|
|
12723
12728
|
return lw(f, de, (Se) => ({
|
|
12724
12729
|
containers: [...Se.containers ?? [], $]
|
|
12725
12730
|
})), tn((Se) => {
|
|
@@ -12730,8 +12735,8 @@ const ji = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", kw = /* @__PURE__ */ le({
|
|
|
12730
12735
|
return;
|
|
12731
12736
|
const ye = new ResizeObserver((We) => {
|
|
12732
12737
|
for (const Gt of We) {
|
|
12733
|
-
const
|
|
12734
|
-
|
|
12738
|
+
const mr = Gt.target.getBoundingClientRect();
|
|
12739
|
+
mr.x === 0 && mr.y === 0 && mr.width === 0 && mr.height === 0 && S.close();
|
|
12735
12740
|
}
|
|
12736
12741
|
});
|
|
12737
12742
|
ye.observe(fe), Se(() => ye.disconnect());
|
|
@@ -12746,7 +12751,7 @@ const ji = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", kw = /* @__PURE__ */ le({
|
|
|
12746
12751
|
"aria-modal": m.value === 0 ? !0 : void 0,
|
|
12747
12752
|
"aria-labelledby": x.value,
|
|
12748
12753
|
"aria-describedby": Oe.value
|
|
12749
|
-
},
|
|
12754
|
+
}, mr = {
|
|
12750
12755
|
open: m.value === 0
|
|
12751
12756
|
/* Open */
|
|
12752
12757
|
};
|
|
@@ -12761,10 +12766,10 @@ const ji = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", kw = /* @__PURE__ */ le({
|
|
|
12761
12766
|
leaf: ms.features.All & ~ms.features.FocusLock
|
|
12762
12767
|
}) : ms.features.None
|
|
12763
12768
|
},
|
|
12764
|
-
() => pt(
|
|
12769
|
+
() => pt(B, {}, () => It({
|
|
12765
12770
|
ourProps: Gt,
|
|
12766
12771
|
theirProps: { ...We, ...n },
|
|
12767
|
-
slot:
|
|
12772
|
+
slot: mr,
|
|
12768
12773
|
attrs: n,
|
|
12769
12774
|
slots: r,
|
|
12770
12775
|
visible: m.value === 0,
|
|
@@ -12846,7 +12851,7 @@ const ji = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", kw = /* @__PURE__ */ le({
|
|
|
12846
12851
|
setup(e, { attrs: t, slots: n }) {
|
|
12847
12852
|
const r = nc("DialogTitle");
|
|
12848
12853
|
return He(() => {
|
|
12849
|
-
r.setTitleId(e.id),
|
|
12854
|
+
r.setTitleId(e.id), qt(() => r.setTitleId(null));
|
|
12850
12855
|
}), () => {
|
|
12851
12856
|
const { id: o, ...s } = e;
|
|
12852
12857
|
return It({
|
|
@@ -12969,8 +12974,8 @@ const rc = Symbol("TabsSSRContext"), Sw = /* @__PURE__ */ le({
|
|
|
12969
12974
|
};
|
|
12970
12975
|
function c(m) {
|
|
12971
12976
|
const w = Do(u.tabs.value, $e), x = Do(u.panels.value, $e), S = w.filter((M) => {
|
|
12972
|
-
var
|
|
12973
|
-
return !((
|
|
12977
|
+
var U;
|
|
12978
|
+
return !((U = $e(M)) != null && U.hasAttribute("disabled"));
|
|
12974
12979
|
});
|
|
12975
12980
|
if (
|
|
12976
12981
|
// Underflow
|
|
@@ -12995,17 +13000,17 @@ const rc = Symbol("TabsSSRContext"), Sw = /* @__PURE__ */ le({
|
|
|
12995
13000
|
1: () => 0
|
|
12996
13001
|
/* Forwards */
|
|
12997
13002
|
}
|
|
12998
|
-
),
|
|
13003
|
+
), U = en(M, {
|
|
12999
13004
|
0: () => w.indexOf(S[0]),
|
|
13000
13005
|
1: () => w.indexOf(S[S.length - 1])
|
|
13001
13006
|
});
|
|
13002
|
-
|
|
13007
|
+
U !== -1 && (o.value = U), u.tabs.value = w, u.panels.value = x;
|
|
13003
13008
|
} else {
|
|
13004
13009
|
const M = w.slice(0, m), V = [...w.slice(m), ...M].find(($) => S.includes($));
|
|
13005
13010
|
if (!V)
|
|
13006
13011
|
return;
|
|
13007
|
-
let
|
|
13008
|
-
|
|
13012
|
+
let B = w.indexOf(V) ?? u.selectedIndex.value;
|
|
13013
|
+
B === -1 && (B = u.selectedIndex.value), o.value = B, u.tabs.value = w, u.panels.value = x;
|
|
13009
13014
|
}
|
|
13010
13015
|
}
|
|
13011
13016
|
Kt(Yp, u);
|
|
@@ -13088,7 +13093,7 @@ const rc = Symbol("TabsSSRContext"), Sw = /* @__PURE__ */ le({
|
|
|
13088
13093
|
},
|
|
13089
13094
|
setup(e, { attrs: t, slots: n, expose: r }) {
|
|
13090
13095
|
const o = rl("Tab"), s = R(null);
|
|
13091
|
-
r({ el: s, $el: s }), He(() => o.registerTab(s)),
|
|
13096
|
+
r({ el: s, $el: s }), He(() => o.registerTab(s)), qt(() => o.unregisterTab(s));
|
|
13092
13097
|
const i = he(rc), a = W(() => {
|
|
13093
13098
|
if (i.value) {
|
|
13094
13099
|
const x = i.value.tabs.indexOf(e.id);
|
|
@@ -13103,13 +13108,13 @@ const rc = Symbol("TabsSSRContext"), Sw = /* @__PURE__ */ le({
|
|
|
13103
13108
|
var M;
|
|
13104
13109
|
const S = x();
|
|
13105
13110
|
if (S === Ro.Success && o.activation.value === "auto") {
|
|
13106
|
-
const
|
|
13111
|
+
const U = (M = rs(s)) == null ? void 0 : M.activeElement, V = o.tabs.value.findIndex((B) => $e(B) === U);
|
|
13107
13112
|
V !== -1 && o.setSelectedIndex(V);
|
|
13108
13113
|
}
|
|
13109
13114
|
return S;
|
|
13110
13115
|
}
|
|
13111
13116
|
function d(x) {
|
|
13112
|
-
const S = o.tabs.value.map((
|
|
13117
|
+
const S = o.tabs.value.map((U) => $e(U)).filter(Boolean);
|
|
13113
13118
|
if (x.key === sn.Space || x.key === sn.Enter) {
|
|
13114
13119
|
x.preventDefault(), x.stopPropagation(), o.setSelectedIndex(l.value);
|
|
13115
13120
|
return;
|
|
@@ -13150,7 +13155,7 @@ const rc = Symbol("TabsSSRContext"), Sw = /* @__PURE__ */ le({
|
|
|
13150
13155
|
);
|
|
13151
13156
|
return () => {
|
|
13152
13157
|
var V;
|
|
13153
|
-
const x = { selected: u.value, disabled: e.disabled ?? !1 }, { id: S, ...M } = e,
|
|
13158
|
+
const x = { selected: u.value, disabled: e.disabled ?? !1 }, { id: S, ...M } = e, U = {
|
|
13154
13159
|
ref: s,
|
|
13155
13160
|
onKeydown: d,
|
|
13156
13161
|
onMousedown: m,
|
|
@@ -13164,7 +13169,7 @@ const rc = Symbol("TabsSSRContext"), Sw = /* @__PURE__ */ le({
|
|
|
13164
13169
|
disabled: e.disabled ? !0 : void 0
|
|
13165
13170
|
};
|
|
13166
13171
|
return It({
|
|
13167
|
-
ourProps:
|
|
13172
|
+
ourProps: U,
|
|
13168
13173
|
theirProps: M,
|
|
13169
13174
|
slot: x,
|
|
13170
13175
|
attrs: t,
|
|
@@ -13203,7 +13208,7 @@ const rc = Symbol("TabsSSRContext"), Sw = /* @__PURE__ */ le({
|
|
|
13203
13208
|
},
|
|
13204
13209
|
setup(e, { attrs: t, slots: n, expose: r }) {
|
|
13205
13210
|
const o = rl("TabPanel"), s = R(null);
|
|
13206
|
-
r({ el: s, $el: s }), He(() => o.registerPanel(s)),
|
|
13211
|
+
r({ el: s, $el: s }), He(() => o.registerPanel(s)), qt(() => o.unregisterPanel(s));
|
|
13207
13212
|
const i = he(rc), a = W(() => {
|
|
13208
13213
|
if (i.value) {
|
|
13209
13214
|
const c = i.value.panels.indexOf(e.id);
|
|
@@ -13246,7 +13251,7 @@ function Dw(e) {
|
|
|
13246
13251
|
function Sl(e, ...t) {
|
|
13247
13252
|
e && t.length > 0 && !e.dataset.transition ? e.dataset.transition = t.join(" ") : e && t.length > 0 && e.dataset.transition && (e.dataset.transition = [...e.dataset.transition.split(" "), ...t].join(" "));
|
|
13248
13253
|
}
|
|
13249
|
-
function
|
|
13254
|
+
function Ui(e, ...t) {
|
|
13250
13255
|
e && t.length > 0 && e.dataset.transition && (e.dataset.transition = e.dataset.transition.split(" ").filter((n) => !t.includes(n)).join(" "));
|
|
13251
13256
|
}
|
|
13252
13257
|
var gu = /* @__PURE__ */ ((e) => (e.Finished = "finished", e.Cancelled = "cancelled", e))(gu || {});
|
|
@@ -13272,11 +13277,11 @@ function $w(e, t) {
|
|
|
13272
13277
|
function Pd(e, t, n, r, o, s) {
|
|
13273
13278
|
const i = Oi(), a = s !== void 0 ? Dw(s) : () => {
|
|
13274
13279
|
};
|
|
13275
|
-
return
|
|
13276
|
-
|
|
13277
|
-
$w(e, (l) => (
|
|
13280
|
+
return Ui(e, ...o), Sl(e, ...t, ...n), i.nextFrame(() => {
|
|
13281
|
+
Ui(e, ...n), Sl(e, ...r), i.add(
|
|
13282
|
+
$w(e, (l) => (Ui(e, ...r, ...t), Sl(e, ...o), a(l)))
|
|
13278
13283
|
);
|
|
13279
|
-
}), i.add(() =>
|
|
13284
|
+
}), i.add(() => Ui(e, ...t, ...n, ...r, ...o)), i.add(() => a(
|
|
13280
13285
|
"cancelled"
|
|
13281
13286
|
/* Cancelled */
|
|
13282
13287
|
)), i.dispose;
|
|
@@ -13309,7 +13314,7 @@ function ol(e) {
|
|
|
13309
13314
|
}
|
|
13310
13315
|
function Kp(e) {
|
|
13311
13316
|
const t = R([]), n = R(!1);
|
|
13312
|
-
He(() => n.value = !0),
|
|
13317
|
+
He(() => n.value = !0), qt(() => n.value = !1);
|
|
13313
13318
|
function r(s, i = Nr.Hidden) {
|
|
13314
13319
|
const a = t.value.findIndex(({ id: l }) => l === s);
|
|
13315
13320
|
a !== -1 && (en(i, {
|
|
@@ -13386,12 +13391,12 @@ const Gp = Qo.RenderStrategy, bu = /* @__PURE__ */ le({
|
|
|
13386
13391
|
const { show: f, appear: h } = Vw(), { register: m, unregister: w } = Lw(), x = R(
|
|
13387
13392
|
f.value ? "visible" : "hidden"
|
|
13388
13393
|
/* Hidden */
|
|
13389
|
-
), S = { value: !0 }, M = yo(),
|
|
13390
|
-
!
|
|
13394
|
+
), S = { value: !0 }, M = yo(), U = { value: !1 }, V = Kp(() => {
|
|
13395
|
+
!U.value && x.value !== "hidden" && (x.value = "hidden", w(M), u());
|
|
13391
13396
|
});
|
|
13392
13397
|
He(() => {
|
|
13393
13398
|
const oe = m(M);
|
|
13394
|
-
|
|
13399
|
+
qt(oe);
|
|
13395
13400
|
}), tn(() => {
|
|
13396
13401
|
if (d.value === Nr.Hidden && M) {
|
|
13397
13402
|
if (f.value && x.value !== "visible") {
|
|
@@ -13404,7 +13409,7 @@ const Gp = Qo.RenderStrategy, bu = /* @__PURE__ */ le({
|
|
|
13404
13409
|
});
|
|
13405
13410
|
}
|
|
13406
13411
|
});
|
|
13407
|
-
const
|
|
13412
|
+
const B = Wr(e.enter), $ = Wr(e.enterFrom), v = Wr(e.enterTo), A = Wr(e.entered), P = Wr(e.leave), C = Wr(e.leaveFrom), T = Wr(e.leaveTo);
|
|
13408
13413
|
He(() => {
|
|
13409
13414
|
tn(() => {
|
|
13410
13415
|
if (x.value === "visible") {
|
|
@@ -13416,15 +13421,15 @@ const Gp = Qo.RenderStrategy, bu = /* @__PURE__ */ le({
|
|
|
13416
13421
|
});
|
|
13417
13422
|
function j(oe) {
|
|
13418
13423
|
const Ae = S.value && !h.value, Oe = $e(c);
|
|
13419
|
-
!Oe || !(Oe instanceof HTMLElement) || Ae || (
|
|
13424
|
+
!Oe || !(Oe instanceof HTMLElement) || Ae || (U.value = !0, f.value && i(), f.value || l(), oe(
|
|
13420
13425
|
f.value ? Pd(
|
|
13421
13426
|
Oe,
|
|
13422
|
-
|
|
13427
|
+
B,
|
|
13423
13428
|
$,
|
|
13424
13429
|
v,
|
|
13425
13430
|
A,
|
|
13426
13431
|
(Ve) => {
|
|
13427
|
-
|
|
13432
|
+
U.value = !1, Ve === gu.Finished && a();
|
|
13428
13433
|
}
|
|
13429
13434
|
) : Pd(
|
|
13430
13435
|
Oe,
|
|
@@ -13433,7 +13438,7 @@ const Gp = Qo.RenderStrategy, bu = /* @__PURE__ */ le({
|
|
|
13433
13438
|
T,
|
|
13434
13439
|
A,
|
|
13435
13440
|
(Ve) => {
|
|
13436
|
-
|
|
13441
|
+
U.value = !1, Ve === gu.Finished && (ol(V) || (x.value = "hidden", w(M), u()));
|
|
13437
13442
|
}
|
|
13438
13443
|
)
|
|
13439
13444
|
));
|
|
@@ -13474,7 +13479,7 @@ const Gp = Qo.RenderStrategy, bu = /* @__PURE__ */ le({
|
|
|
13474
13479
|
n.class,
|
|
13475
13480
|
// @ts-expect-error not explicitly defined
|
|
13476
13481
|
ye.class,
|
|
13477
|
-
...
|
|
13482
|
+
...B,
|
|
13478
13483
|
...$
|
|
13479
13484
|
])
|
|
13480
13485
|
} : {}
|
|
@@ -13591,7 +13596,7 @@ function jw(e, t) {
|
|
|
13591
13596
|
})
|
|
13592
13597
|
]);
|
|
13593
13598
|
}
|
|
13594
|
-
function
|
|
13599
|
+
function Uw(e, t) {
|
|
13595
13600
|
return p(), E("svg", {
|
|
13596
13601
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13597
13602
|
fill: "none",
|
|
@@ -13642,7 +13647,7 @@ function Jp(e, t) {
|
|
|
13642
13647
|
})
|
|
13643
13648
|
]);
|
|
13644
13649
|
}
|
|
13645
|
-
function
|
|
13650
|
+
function Bw(e, t) {
|
|
13646
13651
|
return p(), E("svg", {
|
|
13647
13652
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13648
13653
|
fill: "none",
|
|
@@ -13919,7 +13924,7 @@ const Jw = ["href", "disabled", "data-variant", "data-size", "data-corners", "da
|
|
|
13919
13924
|
], 8, e_));
|
|
13920
13925
|
};
|
|
13921
13926
|
}
|
|
13922
|
-
}),
|
|
13927
|
+
}), pr = (e, t) => {
|
|
13923
13928
|
const n = e.__vccOpts || e;
|
|
13924
13929
|
for (const [r, o] of t)
|
|
13925
13930
|
n[r] = o;
|
|
@@ -13930,13 +13935,13 @@ function r_(e, t) {
|
|
|
13930
13935
|
Tt(e.$slots, "default")
|
|
13931
13936
|
]);
|
|
13932
13937
|
}
|
|
13933
|
-
const o_ = /* @__PURE__ */
|
|
13938
|
+
const o_ = /* @__PURE__ */ pr(t_, [["render", r_]]), s_ = {}, i_ = { class: "moonbase:text-subtitle" };
|
|
13934
13939
|
function a_(e, t) {
|
|
13935
13940
|
return p(), E("h5", i_, [
|
|
13936
13941
|
Tt(e.$slots, "default")
|
|
13937
13942
|
]);
|
|
13938
13943
|
}
|
|
13939
|
-
const Ye = /* @__PURE__ */
|
|
13944
|
+
const Ye = /* @__PURE__ */ pr(s_, [["render", a_]]), l_ = ["data-contain"], u_ = { class: "moonbase:drawer-header" }, c_ = ["data-background"], d_ = /* @__PURE__ */ le({
|
|
13940
13945
|
__name: "Drawer",
|
|
13941
13946
|
setup(e) {
|
|
13942
13947
|
const t = xe(), n = Fe(), r = he(ut), o = R(""), s = R("");
|
|
@@ -14051,7 +14056,7 @@ const Ye = /* @__PURE__ */ hr(s_, [["render", a_]]), l_ = ["data-contain"], u_ =
|
|
|
14051
14056
|
onClick: l[0] || (l[0] = (S) => b(t).back())
|
|
14052
14057
|
}, {
|
|
14053
14058
|
default: k(() => [
|
|
14054
|
-
y(b(
|
|
14059
|
+
y(b(Uw))
|
|
14055
14060
|
]),
|
|
14056
14061
|
_: 1
|
|
14057
14062
|
})) : (p(), z(Ho, {
|
|
@@ -14119,13 +14124,13 @@ const Ye = /* @__PURE__ */ hr(s_, [["render", a_]]), l_ = ["data-contain"], u_ =
|
|
|
14119
14124
|
_: 3
|
|
14120
14125
|
}, 8, ["show"]));
|
|
14121
14126
|
}
|
|
14122
|
-
}),
|
|
14127
|
+
}), zt = (e) => new Promise((t) => setTimeout(t, e)), f_ = {}, h_ = { class: "moonbase:text-body-bold" };
|
|
14123
14128
|
function p_(e, t) {
|
|
14124
14129
|
return p(), E("span", h_, [
|
|
14125
14130
|
Tt(e.$slots, "default")
|
|
14126
14131
|
]);
|
|
14127
14132
|
}
|
|
14128
|
-
const wn = /* @__PURE__ */
|
|
14133
|
+
const wn = /* @__PURE__ */ pr(f_, [["render", p_]]), m_ = ["data-visible", "data-contain", "data-location", "data-corners"], g_ = {
|
|
14129
14134
|
key: 0,
|
|
14130
14135
|
href: "https://moonbase.sh",
|
|
14131
14136
|
target: "_blank",
|
|
@@ -14140,7 +14145,7 @@ const wn = /* @__PURE__ */ hr(f_, [["render", p_]]), m_ = ["data-visible", "data
|
|
|
14140
14145
|
setup(e) {
|
|
14141
14146
|
const t = R(!1), n = xe(), r = Fe(), { items: o } = Zn(), s = he(ut), i = W(() => (o.value ?? []).reduce((l, u) => l + u.quantity, 0));
|
|
14142
14147
|
He(() => {
|
|
14143
|
-
|
|
14148
|
+
zt(100).then(() => t.value = !0);
|
|
14144
14149
|
});
|
|
14145
14150
|
function a() {
|
|
14146
14151
|
if (!r.user.value)
|
|
@@ -14270,7 +14275,7 @@ function w_() {
|
|
|
14270
14275
|
/^bundle\.[a-z][a-z0-9\-]+[a-z0-9]$/,
|
|
14271
14276
|
/^bundle\.[a-z][a-z0-9\-]+[a-z0-9]\.has_discount(_description)?$/
|
|
14272
14277
|
], l = R({}), u = W(() => l.value.user || []), c = W(() => l.value.cart || []), d = W(() => l.value.product || []), f = W(() => l.value.bundle || []), h = Fe(), { currency: m, items: w } = Zn(), x = c1(), S = o1();
|
|
14273
|
-
et([r, u, h.user], ([V,
|
|
14278
|
+
et([r, u, h.user], ([V, B, $]) => {
|
|
14274
14279
|
if (V) {
|
|
14275
14280
|
for (const v of V)
|
|
14276
14281
|
if (v.dataset.moonbaseOriginal === void 0 && (v.dataset.moonbaseOriginal = v.textContent || ""), $)
|
|
@@ -14283,10 +14288,10 @@ function w_() {
|
|
|
14283
14288
|
break;
|
|
14284
14289
|
}
|
|
14285
14290
|
else v.dataset.moonbaseOriginal ? v.textContent = v.dataset.moonbaseOriginal : v.textContent = "";
|
|
14286
|
-
for (const v of
|
|
14291
|
+
for (const v of B)
|
|
14287
14292
|
v.dataset.moonbaseOriginalHidden || (v.dataset.moonbaseOriginalHidden = v.hidden ? "true" : "false"), $ ? v.hidden = v.dataset.moonbaseIf === "!user" : v.hidden = v.dataset.moonbaseIf === "user";
|
|
14288
14293
|
}
|
|
14289
|
-
}, { immediate: !0, deep: !0 }), et([o, c, w], ([V,
|
|
14294
|
+
}, { immediate: !0, deep: !0 }), et([o, c, w], ([V, B, $]) => {
|
|
14290
14295
|
if (V) {
|
|
14291
14296
|
for (const v of V)
|
|
14292
14297
|
switch (v.dataset.moonbaseOriginal === void 0 && (v.dataset.moonbaseOriginal = v.textContent || ""), Qe("Rendering cart element", v), v.dataset.moonbaseRender) {
|
|
@@ -14294,7 +14299,7 @@ function w_() {
|
|
|
14294
14299
|
v.textContent = $.reduce((A, P) => A + P.quantity, 0).toString();
|
|
14295
14300
|
break;
|
|
14296
14301
|
}
|
|
14297
|
-
for (const v of
|
|
14302
|
+
for (const v of B) {
|
|
14298
14303
|
if (!v.dataset.moonbaseIf)
|
|
14299
14304
|
return;
|
|
14300
14305
|
const A = v.dataset.moonbaseIf.split("."), P = A[1];
|
|
@@ -14313,7 +14318,7 @@ function w_() {
|
|
|
14313
14318
|
A[0].startsWith("!") && (C = !C), v.dataset.moonbaseOriginalHidden || (v.dataset.moonbaseOriginalHidden = v.hidden ? "true" : "false"), C ? v.hidden = !1 : v.hidden = !0;
|
|
14314
14319
|
}
|
|
14315
14320
|
}
|
|
14316
|
-
}, { immediate: !0, deep: !0 }), et([s, d, x, m], ([V,
|
|
14321
|
+
}, { immediate: !0, deep: !0 }), et([s, d, x, m], ([V, B, $, v]) => {
|
|
14317
14322
|
var A, P, C, T, j, oe, Ae, Oe, Ve;
|
|
14318
14323
|
if (V) {
|
|
14319
14324
|
for (const K of V) {
|
|
@@ -14349,7 +14354,7 @@ function w_() {
|
|
|
14349
14354
|
}
|
|
14350
14355
|
else K.dataset.moonbaseOriginal ? K.textContent = K.dataset.moonbaseOriginal : K.textContent = "";
|
|
14351
14356
|
}
|
|
14352
|
-
for (const K of
|
|
14357
|
+
for (const K of B) {
|
|
14353
14358
|
if (!K.dataset.moonbaseIf)
|
|
14354
14359
|
return;
|
|
14355
14360
|
const de = K.dataset.moonbaseIf.split("."), Le = de.length === 2 ? "product" : de[2], Se = de[1], fe = $.find((We) => We.id === Se);
|
|
@@ -14371,7 +14376,7 @@ function w_() {
|
|
|
14371
14376
|
de[0].startsWith("!") && (ye = !ye), K.dataset.moonbaseOriginalHidden || (K.dataset.moonbaseOriginalHidden = K.hidden ? "true" : "false"), ye ? K.hidden = !1 : K.hidden = !0;
|
|
14372
14377
|
}
|
|
14373
14378
|
}
|
|
14374
|
-
}, { immediate: !0, deep: !0 }), et([i, f, S, m], ([V,
|
|
14379
|
+
}, { immediate: !0, deep: !0 }), et([i, f, S, m], ([V, B, $, v]) => {
|
|
14375
14380
|
var A, P, C, T, j, oe, Ae, Oe, Ve;
|
|
14376
14381
|
if (V) {
|
|
14377
14382
|
for (const K of V) {
|
|
@@ -14407,7 +14412,7 @@ function w_() {
|
|
|
14407
14412
|
}
|
|
14408
14413
|
else K.dataset.moonbaseOriginal ? K.textContent = K.dataset.moonbaseOriginal : K.textContent = "";
|
|
14409
14414
|
}
|
|
14410
|
-
for (const K of
|
|
14415
|
+
for (const K of B) {
|
|
14411
14416
|
if (!K.dataset.moonbaseIf)
|
|
14412
14417
|
return;
|
|
14413
14418
|
const de = K.dataset.moonbaseIf.split("."), Le = de.length === 2 ? "bundle" : de[2], Se = de[1], fe = $.find((We) => We.id === Se);
|
|
@@ -14428,7 +14433,7 @@ function w_() {
|
|
|
14428
14433
|
}
|
|
14429
14434
|
}, { immediate: !0, deep: !0 });
|
|
14430
14435
|
function M(V) {
|
|
14431
|
-
var
|
|
14436
|
+
var B;
|
|
14432
14437
|
if (V.dataset && V.dataset.moonbaseRender) {
|
|
14433
14438
|
const $ = V.dataset.moonbaseRender;
|
|
14434
14439
|
if (!$ || !t.some((v) => v.test($)))
|
|
@@ -14439,7 +14444,7 @@ function w_() {
|
|
|
14439
14444
|
}
|
|
14440
14445
|
}
|
|
14441
14446
|
if (V.dataset && V.dataset.moonbaseIf) {
|
|
14442
|
-
const $ = (
|
|
14447
|
+
const $ = (B = V.dataset.moonbaseIf) == null ? void 0 : B.replace(/^!/, "");
|
|
14443
14448
|
if (!$ || !a.some((v) => v.test($)))
|
|
14444
14449
|
console.warn(`Element has an unknown Moonbase target (${$})`, V);
|
|
14445
14450
|
else if ($) {
|
|
@@ -14449,8 +14454,8 @@ function w_() {
|
|
|
14449
14454
|
}
|
|
14450
14455
|
V.nodeType === Node.ELEMENT_NODE && V.querySelectorAll("[data-moonbase-render], [data-moonbase-if]").forEach(($) => M($));
|
|
14451
14456
|
}
|
|
14452
|
-
function
|
|
14453
|
-
var
|
|
14457
|
+
function U(V) {
|
|
14458
|
+
var B;
|
|
14454
14459
|
if (V.dataset && V.dataset.moonbaseRender) {
|
|
14455
14460
|
const $ = V.dataset.moonbaseRender;
|
|
14456
14461
|
if (!$ || !t.some((v) => v.test($)))
|
|
@@ -14461,7 +14466,7 @@ function w_() {
|
|
|
14461
14466
|
}
|
|
14462
14467
|
}
|
|
14463
14468
|
if (V.dataset && V.dataset.moonbaseIf) {
|
|
14464
|
-
const $ = (
|
|
14469
|
+
const $ = (B = V.dataset.moonbaseIf) == null ? void 0 : B.replace(/^!/, "");
|
|
14465
14470
|
if (!$ || !a.some((v) => v.test($)))
|
|
14466
14471
|
console.warn(`Element has an unknown Moonbase target (${$})`, V);
|
|
14467
14472
|
else if ($) {
|
|
@@ -14469,16 +14474,16 @@ function w_() {
|
|
|
14469
14474
|
l.value[v] ? (l.value[v] = l.value[v].filter((A) => A !== V), Qe("Removed node from conditional collection", V)) : Qe("Could not find node in conditional collection", V);
|
|
14470
14475
|
}
|
|
14471
14476
|
}
|
|
14472
|
-
V.nodeType === Node.ELEMENT_NODE && V.querySelectorAll("[data-moonbase-render], [data-moonbase-if]").forEach(($) =>
|
|
14477
|
+
V.nodeType === Node.ELEMENT_NODE && V.querySelectorAll("[data-moonbase-render], [data-moonbase-if]").forEach(($) => U($));
|
|
14473
14478
|
}
|
|
14474
14479
|
He(() => {
|
|
14475
|
-
e.value = new MutationObserver((
|
|
14476
|
-
for (const v of
|
|
14480
|
+
e.value = new MutationObserver((B, $) => {
|
|
14481
|
+
for (const v of B)
|
|
14477
14482
|
if (v.type === "childList") {
|
|
14478
14483
|
for (const A of v.addedNodes)
|
|
14479
14484
|
M(A);
|
|
14480
14485
|
for (const A of v.removedNodes)
|
|
14481
|
-
|
|
14486
|
+
U(A);
|
|
14482
14487
|
} else if (v.type === "attributes" && v.attributeName) {
|
|
14483
14488
|
const A = v.target.getAttribute(v.attributeName);
|
|
14484
14489
|
Qe(`The ${v.attributeName} attribute was modified from ${v.oldValue} to ${A}.`);
|
|
@@ -14517,8 +14522,8 @@ function w_() {
|
|
|
14517
14522
|
attributes: !0,
|
|
14518
14523
|
attributeOldValue: !0,
|
|
14519
14524
|
attributeFilter: ["data-moonbase-if", "data-moonbase-render"]
|
|
14520
|
-
}), document.querySelectorAll("[data-moonbase-render], [data-moonbase-if]").forEach((
|
|
14521
|
-
}),
|
|
14525
|
+
}), document.querySelectorAll("[data-moonbase-render], [data-moonbase-if]").forEach((B) => M(B));
|
|
14526
|
+
}), qt(() => e.value && e.value.disconnect());
|
|
14522
14527
|
}
|
|
14523
14528
|
const vs = /\?mb_intent=\w+/;
|
|
14524
14529
|
function __() {
|
|
@@ -14574,7 +14579,7 @@ function __() {
|
|
|
14574
14579
|
attributeOldValue: !0,
|
|
14575
14580
|
attributeFilter: ["href"]
|
|
14576
14581
|
}), document.querySelectorAll('a[href*="?mb_intent="]').forEach((o) => n(o));
|
|
14577
|
-
}),
|
|
14582
|
+
}), qt(() => e.value && e.value.disconnect());
|
|
14578
14583
|
}
|
|
14579
14584
|
const { min: E_, max: k_ } = Math, uo = (e, t = 0, n = 1) => E_(k_(t, e), n), ic = (e) => {
|
|
14580
14585
|
e._clipped = !1, e._unclipped = e.slice(0);
|
|
@@ -14601,7 +14606,7 @@ const Te = (e, t = null) => e.length >= 3 ? Array.prototype.slice.call(e) : Me(e
|
|
|
14601
14606
|
if (e.length < 2) return null;
|
|
14602
14607
|
const t = e.length - 1;
|
|
14603
14608
|
return Me(e[t]) == "string" ? e[t].toLowerCase() : null;
|
|
14604
|
-
}, { PI: sl, min: nm, max: rm } = Math, an = (e) => Math.round(e * 100) / 100, vu = (e) => Math.round(e * 100) / 100,
|
|
14609
|
+
}, { PI: sl, min: nm, max: rm } = Math, an = (e) => Math.round(e * 100) / 100, vu = (e) => Math.round(e * 100) / 100, rr = sl * 2, Nl = sl / 3, x_ = sl / 180, A_ = 180 / sl;
|
|
14605
14610
|
function om(e) {
|
|
14606
14611
|
return [...e.slice(0, 3).reverse(), ...e.slice(3)];
|
|
14607
14612
|
}
|
|
@@ -14803,12 +14808,12 @@ const Xo = {
|
|
|
14803
14808
|
return [n, r, o, s];
|
|
14804
14809
|
}
|
|
14805
14810
|
throw new Error(`unknown hex color: ${e}`);
|
|
14806
|
-
}, { round:
|
|
14811
|
+
}, { round: Bi } = Math, im = (...e) => {
|
|
14807
14812
|
let [t, n, r, o] = Te(e, "rgba"), s = os(e) || "auto";
|
|
14808
|
-
o === void 0 && (o = 1), s === "auto" && (s = o < 1 ? "rgba" : "rgb"), t =
|
|
14813
|
+
o === void 0 && (o = 1), s === "auto" && (s = o < 1 ? "rgba" : "rgb"), t = Bi(t), n = Bi(n), r = Bi(r);
|
|
14809
14814
|
let a = "000000" + (t << 16 | n << 8 | r).toString(16);
|
|
14810
14815
|
a = a.substr(a.length - 6);
|
|
14811
|
-
let l = "0" +
|
|
14816
|
+
let l = "0" + Bi(o * 255).toString(16);
|
|
14812
14817
|
switch (l = l.substr(l.length - 2), s.toLowerCase()) {
|
|
14813
14818
|
case "rgba":
|
|
14814
14819
|
return `#${a}${l}`;
|
|
@@ -14929,7 +14934,7 @@ const Fn = {
|
|
|
14929
14934
|
["f11", [1.00962, 0.6435]],
|
|
14930
14935
|
["icc", [0.96422, 0.82521]]
|
|
14931
14936
|
]);
|
|
14932
|
-
function
|
|
14937
|
+
function sr(e) {
|
|
14933
14938
|
const t = N_.get(String(e).toLowerCase());
|
|
14934
14939
|
if (!t)
|
|
14935
14940
|
throw new Error("unknown Lab illuminant " + e);
|
|
@@ -14943,18 +14948,18 @@ const ac = (...e) => {
|
|
|
14943
14948
|
const [t, n, r] = e, [o, s, i] = P_(t, n, r), [a, l, u] = am(o, s, i);
|
|
14944
14949
|
return [a, l, u, e.length > 3 ? e[3] : 1];
|
|
14945
14950
|
}, P_ = (e, t, n) => {
|
|
14946
|
-
const { kE: r, kK: o, kKE: s, Xn: i, Yn: a, Zn: l } = Fn, u = (e + 16) / 116, c = 2e-3 * t + u, d = u - 5e-3 * n, f = c * c * c, h = d * d * d, m = f > r ? f : (116 * c - 16) / o, w = e > s ? Math.pow((e + 16) / 116, 3) : e / o, x = h > r ? h : (116 * d - 16) / o, S = m * i, M = w * a,
|
|
14947
|
-
return [S, M,
|
|
14951
|
+
const { kE: r, kK: o, kKE: s, Xn: i, Yn: a, Zn: l } = Fn, u = (e + 16) / 116, c = 2e-3 * t + u, d = u - 5e-3 * n, f = c * c * c, h = d * d * d, m = f > r ? f : (116 * c - 16) / o, w = e > s ? Math.pow((e + 16) / 116, 3) : e / o, x = h > r ? h : (116 * d - 16) / o, S = m * i, M = w * a, U = x * l;
|
|
14952
|
+
return [S, M, U];
|
|
14948
14953
|
}, Pl = (e) => {
|
|
14949
14954
|
const t = Math.sign(e);
|
|
14950
14955
|
return e = Math.abs(e), (e <= 31308e-7 ? e * 12.92 : 1.055 * Math.pow(e, 1 / 2.4) - 0.055) * t;
|
|
14951
14956
|
}, am = (e, t, n) => {
|
|
14952
|
-
const { MtxAdaptMa: r, MtxAdaptMaI: o, MtxXYZ2RGB: s, RefWhiteRGB: i, Xn: a, Yn: l, Zn: u } = Fn, c = a * r.m00 + l * r.m10 + u * r.m20, d = a * r.m01 + l * r.m11 + u * r.m21, f = a * r.m02 + l * r.m12 + u * r.m22, h = i.X * r.m00 + i.Y * r.m10 + i.Z * r.m20, m = i.X * r.m01 + i.Y * r.m11 + i.Z * r.m21, w = i.X * r.m02 + i.Y * r.m12 + i.Z * r.m22, x = (e * r.m00 + t * r.m10 + n * r.m20) * (h / c), S = (e * r.m01 + t * r.m11 + n * r.m21) * (m / d), M = (e * r.m02 + t * r.m12 + n * r.m22) * (w / f),
|
|
14953
|
-
|
|
14957
|
+
const { MtxAdaptMa: r, MtxAdaptMaI: o, MtxXYZ2RGB: s, RefWhiteRGB: i, Xn: a, Yn: l, Zn: u } = Fn, c = a * r.m00 + l * r.m10 + u * r.m20, d = a * r.m01 + l * r.m11 + u * r.m21, f = a * r.m02 + l * r.m12 + u * r.m22, h = i.X * r.m00 + i.Y * r.m10 + i.Z * r.m20, m = i.X * r.m01 + i.Y * r.m11 + i.Z * r.m21, w = i.X * r.m02 + i.Y * r.m12 + i.Z * r.m22, x = (e * r.m00 + t * r.m10 + n * r.m20) * (h / c), S = (e * r.m01 + t * r.m11 + n * r.m21) * (m / d), M = (e * r.m02 + t * r.m12 + n * r.m22) * (w / f), U = x * o.m00 + S * o.m10 + M * o.m20, V = x * o.m01 + S * o.m11 + M * o.m21, B = x * o.m02 + S * o.m12 + M * o.m22, $ = Pl(
|
|
14958
|
+
U * s.m00 + V * s.m10 + B * s.m20
|
|
14954
14959
|
), v = Pl(
|
|
14955
|
-
|
|
14960
|
+
U * s.m01 + V * s.m11 + B * s.m21
|
|
14956
14961
|
), A = Pl(
|
|
14957
|
-
|
|
14962
|
+
U * s.m02 + V * s.m12 + B * s.m22
|
|
14958
14963
|
);
|
|
14959
14964
|
return [$ * 255, v * 255, A * 255];
|
|
14960
14965
|
}, lc = (...e) => {
|
|
@@ -14974,14 +14979,14 @@ const lm = (e, t, n) => {
|
|
|
14974
14979
|
const { MtxRGB2XYZ: r, MtxAdaptMa: o, MtxAdaptMaI: s, Xn: i, Yn: a, Zn: l, As: u, Bs: c, Cs: d } = Fn;
|
|
14975
14980
|
let f = e * r.m00 + t * r.m10 + n * r.m20, h = e * r.m01 + t * r.m11 + n * r.m21, m = e * r.m02 + t * r.m12 + n * r.m22;
|
|
14976
14981
|
const w = i * o.m00 + a * o.m10 + l * o.m20, x = i * o.m01 + a * o.m11 + l * o.m21, S = i * o.m02 + a * o.m12 + l * o.m22;
|
|
14977
|
-
let M = f * o.m00 + h * o.m10 + m * o.m20,
|
|
14978
|
-
return M *= w / u,
|
|
14982
|
+
let M = f * o.m00 + h * o.m10 + m * o.m20, U = f * o.m01 + h * o.m11 + m * o.m21, V = f * o.m02 + h * o.m12 + m * o.m22;
|
|
14983
|
+
return M *= w / u, U *= x / c, V *= S / d, f = M * s.m00 + U * s.m10 + V * s.m20, h = M * s.m01 + U * s.m11 + V * s.m21, m = M * s.m02 + U * s.m12 + V * s.m22, [f, h, m];
|
|
14979
14984
|
};
|
|
14980
14985
|
J.prototype.lab = function() {
|
|
14981
14986
|
return lc(this._rgb);
|
|
14982
14987
|
};
|
|
14983
14988
|
const I_ = (...e) => new J(...e, "lab");
|
|
14984
|
-
Object.assign(Ie, { lab: I_, getLabWhitePoint: ui, setLabWhitePoint:
|
|
14989
|
+
Object.assign(Ie, { lab: I_, getLabWhitePoint: ui, setLabWhitePoint: sr });
|
|
14985
14990
|
Ne.format.lab = ac;
|
|
14986
14991
|
Ne.autodetect.push({
|
|
14987
14992
|
p: 2,
|
|
@@ -15049,9 +15054,9 @@ const { sin: L_, cos: R_ } = Math, um = (...e) => {
|
|
|
15049
15054
|
}, j_ = (...e) => {
|
|
15050
15055
|
const t = om(Te(e, "hcl"));
|
|
15051
15056
|
return uc(...t);
|
|
15052
|
-
}, { sqrt:
|
|
15053
|
-
const [t, n, r] = Te(e, "lab"), o =
|
|
15054
|
-
let s = (
|
|
15057
|
+
}, { sqrt: U_, atan2: B_, round: F_ } = Math, cm = (...e) => {
|
|
15058
|
+
const [t, n, r] = Te(e, "lab"), o = U_(n * n + r * r);
|
|
15059
|
+
let s = (B_(r, n) * A_ + 360) % 360;
|
|
15055
15060
|
return F_(o * 1e4) === 0 && (s = Number.NaN), [t, o, s];
|
|
15056
15061
|
}, cc = (...e) => {
|
|
15057
15062
|
const [t, n, r, ...o] = Te(e, "rgb"), [s, i, a] = lc(t, n, r), [l, u, c] = cm(s, i, a);
|
|
@@ -15245,13 +15250,13 @@ Nt.hcg = n2;
|
|
|
15245
15250
|
const { cos: Oo } = Math, r2 = (...e) => {
|
|
15246
15251
|
e = Te(e, "hsi");
|
|
15247
15252
|
let [t, n, r] = e, o, s, i;
|
|
15248
|
-
return isNaN(t) && (t = 0), isNaN(n) && (n = 0), t > 360 && (t -= 360), t < 0 && (t += 360), t /= 360, t < 1 / 3 ? (i = (1 - n) / 3, o = (1 + n * Oo(
|
|
15253
|
+
return isNaN(t) && (t = 0), isNaN(n) && (n = 0), t > 360 && (t -= 360), t < 0 && (t += 360), t /= 360, t < 1 / 3 ? (i = (1 - n) / 3, o = (1 + n * Oo(rr * t) / Oo(Nl - rr * t)) / 3, s = 1 - (i + o)) : t < 2 / 3 ? (t -= 1 / 3, o = (1 - n) / 3, s = (1 + n * Oo(rr * t) / Oo(Nl - rr * t)) / 3, i = 1 - (o + s)) : (t -= 2 / 3, s = (1 - n) / 3, i = (1 + n * Oo(rr * t) / Oo(Nl - rr * t)) / 3, o = 1 - (s + i)), o = uo(r * o * 3), s = uo(r * s * 3), i = uo(r * i * 3), [o * 255, s * 255, i * 255, e.length > 3 ? e[3] : 1];
|
|
15249
15254
|
}, { min: o2, sqrt: s2, acos: i2 } = Math, a2 = (...e) => {
|
|
15250
15255
|
let [t, n, r] = Te(e, "rgb");
|
|
15251
15256
|
t /= 255, n /= 255, r /= 255;
|
|
15252
15257
|
let o;
|
|
15253
15258
|
const s = o2(t, n, r), i = (t + n + r) / 3, a = i > 0 ? 1 - s / i : 0;
|
|
15254
|
-
return a === 0 ? o = NaN : (o = (t - n + (t - r)) / 2, o /= s2((t - n) * (t - n) + (t - r) * (n - r)), o = i2(o), r > n && (o =
|
|
15259
|
+
return a === 0 ? o = NaN : (o = (t - n + (t - r)) / 2, o /= s2((t - n) * (t - n) + (t - r) * (n - r)), o = i2(o), r > n && (o = rr - o), o /= rr), [o * 360, a, i];
|
|
15255
15260
|
};
|
|
15256
15261
|
J.prototype.hsi = function() {
|
|
15257
15262
|
return a2(this._rgb);
|
|
@@ -15486,7 +15491,7 @@ function Pa(e) {
|
|
|
15486
15491
|
for (let A = 0; A < v.length; A++)
|
|
15487
15492
|
s.push(A / (v.length - 1));
|
|
15488
15493
|
}
|
|
15489
|
-
return
|
|
15494
|
+
return B(), l = v;
|
|
15490
15495
|
}, S = function(v) {
|
|
15491
15496
|
if (a != null) {
|
|
15492
15497
|
const A = a.length - 1;
|
|
@@ -15497,12 +15502,12 @@ function Pa(e) {
|
|
|
15497
15502
|
}
|
|
15498
15503
|
return 0;
|
|
15499
15504
|
};
|
|
15500
|
-
let M = (v) => v,
|
|
15505
|
+
let M = (v) => v, U = (v) => v;
|
|
15501
15506
|
const V = function(v, A) {
|
|
15502
15507
|
let P, C;
|
|
15503
15508
|
if (A == null && (A = !1), isNaN(v) || v === null)
|
|
15504
15509
|
return n;
|
|
15505
|
-
A ? C = v : a && a.length > 2 ? C = S(v) / (a.length - 2) : d !== c ? C = (v - c) / (d - c) : C = 1, C =
|
|
15510
|
+
A ? C = v : a && a.length > 2 ? C = S(v) / (a.length - 2) : d !== c ? C = (v - c) / (d - c) : C = 1, C = U(C), A || (C = M(C)), w !== 1 && (C = O2(C, w)), C = i[0] + C * (1 - i[0] - i[1]), C = uo(C, 0, 1);
|
|
15506
15511
|
const T = Math.floor(C * 1e4);
|
|
15507
15512
|
if (m && h[T])
|
|
15508
15513
|
P = h[T];
|
|
@@ -15533,7 +15538,7 @@ function Pa(e) {
|
|
|
15533
15538
|
}
|
|
15534
15539
|
return P;
|
|
15535
15540
|
};
|
|
15536
|
-
var
|
|
15541
|
+
var B = () => h = {};
|
|
15537
15542
|
x(e);
|
|
15538
15543
|
const $ = function(v) {
|
|
15539
15544
|
const A = Ie(V(v));
|
|
@@ -15563,7 +15568,7 @@ function Pa(e) {
|
|
|
15563
15568
|
s.push(P / (A - 1));
|
|
15564
15569
|
if (v.length > 2) {
|
|
15565
15570
|
const P = v.map((T, j) => j / (v.length - 1)), C = v.map((T) => (T - c) / (d - c));
|
|
15566
|
-
C.every((T, j) => P[j] === T) || (
|
|
15571
|
+
C.every((T, j) => P[j] === T) || (U = (T) => {
|
|
15567
15572
|
if (T <= 0 || T >= 1) return T;
|
|
15568
15573
|
let j = 0;
|
|
15569
15574
|
for (; T >= C[j + 1]; ) j++;
|
|
@@ -15574,7 +15579,7 @@ function Pa(e) {
|
|
|
15574
15579
|
}
|
|
15575
15580
|
return o = [c, d], $;
|
|
15576
15581
|
}, $.mode = function(v) {
|
|
15577
|
-
return arguments.length ? (t = v,
|
|
15582
|
+
return arguments.length ? (t = v, B(), $) : t;
|
|
15578
15583
|
}, $.range = function(v, A) {
|
|
15579
15584
|
return x(v), $;
|
|
15580
15585
|
}, $.out = function(v) {
|
|
@@ -15582,7 +15587,7 @@ function Pa(e) {
|
|
|
15582
15587
|
}, $.spread = function(v) {
|
|
15583
15588
|
return arguments.length ? (r = v, $) : r;
|
|
15584
15589
|
}, $.correctLightness = function(v) {
|
|
15585
|
-
return v == null && (v = !0), f = v,
|
|
15590
|
+
return v == null && (v = !0), f = v, B(), f ? M = function(A) {
|
|
15586
15591
|
const P = V(0, !0).lab()[0], C = V(1, !0).lab()[0], T = P > C;
|
|
15587
15592
|
let j = V(A, !0).lab()[0];
|
|
15588
15593
|
const oe = P + (C - P) * A;
|
|
@@ -15707,24 +15712,24 @@ const Sn = (e, t, n) => {
|
|
|
15707
15712
|
}, jr = (e) => (t, n) => {
|
|
15708
15713
|
const r = Ie(n).rgb(), o = Ie(t).rgb();
|
|
15709
15714
|
return Ie.rgb(e(r, o));
|
|
15710
|
-
},
|
|
15715
|
+
}, Ur = (e) => (t, n) => {
|
|
15711
15716
|
const r = [];
|
|
15712
15717
|
return r[0] = e(t[0], n[0]), r[1] = e(t[1], n[1]), r[2] = e(t[2], n[2]), r;
|
|
15713
|
-
}, D2 = (e) => e, $2 = (e, t) => e * t / 255, M2 = (e, t) => e > t ? t : e, V2 = (e, t) => e > t ? e : t, L2 = (e, t) => 255 * (1 - (1 - e / 255) * (1 - t / 255)), R2 = (e, t) => t < 128 ? 2 * e * t / 255 : 255 * (1 - 2 * (1 - e / 255) * (1 - t / 255)), j2 = (e, t) => 255 * (1 - (1 - t / 255) / (e / 255)),
|
|
15714
|
-
Sn.normal = jr(
|
|
15715
|
-
Sn.multiply = jr(
|
|
15716
|
-
Sn.screen = jr(
|
|
15717
|
-
Sn.overlay = jr(
|
|
15718
|
-
Sn.darken = jr(
|
|
15719
|
-
Sn.lighten = jr(
|
|
15720
|
-
Sn.dodge = jr(
|
|
15721
|
-
Sn.burn = jr(
|
|
15722
|
-
const { pow:
|
|
15718
|
+
}, D2 = (e) => e, $2 = (e, t) => e * t / 255, M2 = (e, t) => e > t ? t : e, V2 = (e, t) => e > t ? e : t, L2 = (e, t) => 255 * (1 - (1 - e / 255) * (1 - t / 255)), R2 = (e, t) => t < 128 ? 2 * e * t / 255 : 255 * (1 - 2 * (1 - e / 255) * (1 - t / 255)), j2 = (e, t) => 255 * (1 - (1 - t / 255) / (e / 255)), U2 = (e, t) => e === 255 ? 255 : (e = 255 * (t / 255) / (1 - e / 255), e > 255 ? 255 : e);
|
|
15719
|
+
Sn.normal = jr(Ur(D2));
|
|
15720
|
+
Sn.multiply = jr(Ur($2));
|
|
15721
|
+
Sn.screen = jr(Ur(L2));
|
|
15722
|
+
Sn.overlay = jr(Ur(R2));
|
|
15723
|
+
Sn.darken = jr(Ur(M2));
|
|
15724
|
+
Sn.lighten = jr(Ur(V2));
|
|
15725
|
+
Sn.dodge = jr(Ur(U2));
|
|
15726
|
+
Sn.burn = jr(Ur(j2));
|
|
15727
|
+
const { pow: B2, sin: F2, cos: z2 } = Math;
|
|
15723
15728
|
function H2(e = 300, t = -1.5, n = 1, r = 1, o = [0, 1]) {
|
|
15724
15729
|
let s = 0, i;
|
|
15725
15730
|
Me(o) === "array" ? i = o[1] - o[0] : (i = 0, o = [o, o]);
|
|
15726
15731
|
const a = function(l) {
|
|
15727
|
-
const u =
|
|
15732
|
+
const u = rr * ((e + 120) / 360 + t * l), c = B2(o[0] + i * l, r), f = (s !== 0 ? n[0] + l * s : n) * c * (1 - c) / 2, h = z2(u), m = F2(u), w = c + f * (-0.14861 * h + 1.78277 * m), x = c + f * (-0.29227 * h - 0.90649 * m), S = c + f * (1.97294 * h);
|
|
15728
15733
|
return Ie(ic([w * 255, x * 255, S * 255, 1]));
|
|
15729
15734
|
};
|
|
15730
15735
|
return a.start = function(l) {
|
|
@@ -15802,10 +15807,10 @@ function mm(e, t = "equal", n = 7) {
|
|
|
15802
15807
|
c[S] = 0;
|
|
15803
15808
|
for (let S = 0; S < l; S++) {
|
|
15804
15809
|
const M = s[S];
|
|
15805
|
-
let
|
|
15806
|
-
for (let
|
|
15807
|
-
const $ = Q2(h[
|
|
15808
|
-
$ <
|
|
15810
|
+
let U = Number.MAX_VALUE, V;
|
|
15811
|
+
for (let B = 0; B < n; B++) {
|
|
15812
|
+
const $ = Q2(h[B] - M);
|
|
15813
|
+
$ < U && (U = $, V = B), c[V]++, u[S] = V;
|
|
15809
15814
|
}
|
|
15810
15815
|
}
|
|
15811
15816
|
const x = new Array(n);
|
|
@@ -15865,7 +15870,7 @@ const Md = 0.027, J2 = 5e-4, eE = 0.1, Vd = 1.14, Fi = 0.022, Ld = 1.414, tE = (
|
|
|
15865
15870
|
function Rd(e, t, n) {
|
|
15866
15871
|
return 0.2126729 * Math.pow(e / 255, 2.4) + 0.7151522 * Math.pow(t / 255, 2.4) + 0.072175 * Math.pow(n / 255, 2.4);
|
|
15867
15872
|
}
|
|
15868
|
-
const { sqrt: Jn, pow: ft, min: nE, max: rE, atan2: jd, abs:
|
|
15873
|
+
const { sqrt: Jn, pow: ft, min: nE, max: rE, atan2: jd, abs: Ud, cos: zi, sin: Bd, exp: oE, PI: Fd } = Math;
|
|
15869
15874
|
function sE(e, t, n = 1, r = 1, o = 1) {
|
|
15870
15875
|
var s = function(We) {
|
|
15871
15876
|
return 360 * We / (2 * Fd);
|
|
@@ -15873,10 +15878,10 @@ function sE(e, t, n = 1, r = 1, o = 1) {
|
|
|
15873
15878
|
return 2 * Fd * We / 360;
|
|
15874
15879
|
};
|
|
15875
15880
|
e = new J(e), t = new J(t);
|
|
15876
|
-
const [a, l, u] = Array.from(e.lab()), [c, d, f] = Array.from(t.lab()), h = (a + c) / 2, m = Jn(ft(l, 2) + ft(u, 2)), w = Jn(ft(d, 2) + ft(f, 2)), x = (m + w) / 2, S = 0.5 * (1 - Jn(ft(x, 7) / (ft(x, 7) + ft(25, 7)))), M = l * (1 + S),
|
|
15881
|
+
const [a, l, u] = Array.from(e.lab()), [c, d, f] = Array.from(t.lab()), h = (a + c) / 2, m = Jn(ft(l, 2) + ft(u, 2)), w = Jn(ft(d, 2) + ft(f, 2)), x = (m + w) / 2, S = 0.5 * (1 - Jn(ft(x, 7) / (ft(x, 7) + ft(25, 7)))), M = l * (1 + S), U = d * (1 + S), V = Jn(ft(M, 2) + ft(u, 2)), B = Jn(ft(U, 2) + ft(f, 2)), $ = (V + B) / 2, v = s(jd(u, M)), A = s(jd(f, U)), P = v >= 0 ? v : v + 360, C = A >= 0 ? A : A + 360, T = Ud(P - C) > 180 ? (P + C + 360) / 2 : (P + C) / 2, j = 1 - 0.17 * zi(i(T - 30)) + 0.24 * zi(i(2 * T)) + 0.32 * zi(i(3 * T + 6)) - 0.2 * zi(i(4 * T - 63));
|
|
15877
15882
|
let oe = C - P;
|
|
15878
|
-
oe =
|
|
15879
|
-
const Ae = c - a, Oe =
|
|
15883
|
+
oe = Ud(oe) <= 180 ? oe : C <= P ? oe + 360 : oe - 360, oe = 2 * Jn(V * B) * Bd(i(oe) / 2);
|
|
15884
|
+
const Ae = c - a, Oe = B - V, Ve = 1 + 0.015 * ft(h - 50, 2) / Jn(20 + ft(h - 50, 2)), K = 1 + 0.045 * $, de = 1 + 0.015 * $ * j, Le = 30 * oE(-ft((T - 275) / 25, 2)), fe = -(2 * Jn(ft($, 7) / (ft($, 7) + ft(25, 7)))) * Bd(2 * i(Le)), ye = Jn(
|
|
15880
15885
|
ft(Ae / (n * Ve), 2) + ft(Oe / (r * K), 2) + ft(oe / (o * de), 2) + fe * (Oe / (r * K)) * (oe / (o * de))
|
|
15881
15886
|
);
|
|
15882
15887
|
return rE(0, nE(100, ye));
|
|
@@ -16014,27 +16019,27 @@ const hE = (...e) => {
|
|
|
16014
16019
|
return hE(fm(t), n);
|
|
16015
16020
|
if (n.substr(0, 3) === "lab") {
|
|
16016
16021
|
const r = ui();
|
|
16017
|
-
|
|
16022
|
+
sr("d50");
|
|
16018
16023
|
const o = pE(lc(t), n);
|
|
16019
|
-
return
|
|
16024
|
+
return sr(r), o;
|
|
16020
16025
|
}
|
|
16021
16026
|
if (n.substr(0, 3) === "lch") {
|
|
16022
16027
|
const r = ui();
|
|
16023
|
-
|
|
16028
|
+
sr("d50");
|
|
16024
16029
|
const o = mE(cc(t), n);
|
|
16025
|
-
return
|
|
16030
|
+
return sr(r), o;
|
|
16026
16031
|
}
|
|
16027
16032
|
return n.substr(0, 5) === "oklab" ? gE(fc(t)) : n.substr(0, 5) === "oklch" ? bE(bm(t)) : (t[0] = Ll(t[0]), t[1] = Ll(t[1]), t[2] = Ll(t[2]), (n === "rgba" || t.length > 3 && t[3] < 1) && (t[3] = "/ " + (t.length > 3 ? t[3] : 1), n = "rgba"), `${n.substr(0, 3)}(${t.slice(0, n === "rgb" ? 3 : 4).join(" ")})`);
|
|
16028
16033
|
}, vm = (...e) => {
|
|
16029
16034
|
e = Te(e, "lch");
|
|
16030
16035
|
const [t, n, r, ...o] = e, [s, i, a] = um(t, n, r), [l, u, c] = dc(s, i, a);
|
|
16031
16036
|
return [l, u, c, ...o.length > 0 && o[0] < 1 ? [o[0]] : []];
|
|
16032
|
-
},
|
|
16033
|
-
"^rgba?\\(" + un + [
|
|
16037
|
+
}, ar = /((?:-?\d+)|(?:-?\d+(?:\.\d+)?)%|none)/.source, _n = /((?:-?(?:\d+(?:\.\d*)?|\.\d+)%?)|none)/.source, Ta = /((?:-?(?:\d+(?:\.\d*)?|\.\d+)%)|none)/.source, un = /\s*/.source, is = /\s+/.source, hc = /\s*,\s*/.source, il = /((?:-?(?:\d+(?:\.\d*)?|\.\d+)(?:deg)?)|none)/.source, as = /\s*(?:\/\s*((?:[01]|[01]?\.\d+)|\d+(?:\.\d+)?%))?/.source, ym = new RegExp(
|
|
16038
|
+
"^rgba?\\(" + un + [ar, ar, ar].join(is) + as + "\\)$"
|
|
16034
16039
|
), wm = new RegExp(
|
|
16035
|
-
"^rgb\\(" + un + [
|
|
16040
|
+
"^rgb\\(" + un + [ar, ar, ar].join(hc) + un + "\\)$"
|
|
16036
16041
|
), _m = new RegExp(
|
|
16037
|
-
"^rgba\\(" + un + [
|
|
16042
|
+
"^rgba\\(" + un + [ar, ar, ar, _n].join(hc) + un + "\\)$"
|
|
16038
16043
|
), Em = new RegExp(
|
|
16039
16044
|
"^hsla?\\(" + un + [il, Ta, Ta].join(is) + as + "\\)$"
|
|
16040
16045
|
), km = new RegExp(
|
|
@@ -16088,9 +16093,9 @@ const hE = (...e) => {
|
|
|
16088
16093
|
const n = t.slice(1, 4);
|
|
16089
16094
|
n[0] = ht($t(n[0], 0), 0, 100), n[1] = ht($t(n[1], 0), -125, 125, !0), n[2] = ht($t(n[2], 0), -125, 125, !0);
|
|
16090
16095
|
const r = ui();
|
|
16091
|
-
|
|
16096
|
+
sr("d50");
|
|
16092
16097
|
const o = So(ac(n));
|
|
16093
|
-
|
|
16098
|
+
sr(r);
|
|
16094
16099
|
const s = t[4] !== void 0 ? +ht(t[4], 0, 1) : 1;
|
|
16095
16100
|
return o[3] = s, o;
|
|
16096
16101
|
}
|
|
@@ -16098,9 +16103,9 @@ const hE = (...e) => {
|
|
|
16098
16103
|
const n = t.slice(1, 4);
|
|
16099
16104
|
n[0] = ht(n[0], 0, 100), n[1] = ht($t(n[1], 0), 0, 150, !1), n[2] = +$t(n[2].replace("deg", ""), 0);
|
|
16100
16105
|
const r = ui();
|
|
16101
|
-
|
|
16106
|
+
sr("d50");
|
|
16102
16107
|
const o = So(uc(n));
|
|
16103
|
-
|
|
16108
|
+
sr(r);
|
|
16104
16109
|
const s = t[4] !== void 0 ? +ht(t[4], 0, 1) : 1;
|
|
16105
16110
|
return o[3] = s, o;
|
|
16106
16111
|
}
|
|
@@ -17114,7 +17119,7 @@ function PE(e, t) {
|
|
|
17114
17119
|
}, null, -1)
|
|
17115
17120
|
]));
|
|
17116
17121
|
}
|
|
17117
|
-
const
|
|
17122
|
+
const Ht = /* @__PURE__ */ pr(SE, [["render", PE], ["__scopeId", "data-v-687bcaf0"]]), TE = { "aria-hidden": "true" }, Si = /* @__PURE__ */ le({
|
|
17118
17123
|
__name: "MoonButtonBase",
|
|
17119
17124
|
props: {
|
|
17120
17125
|
label: {},
|
|
@@ -17150,7 +17155,7 @@ const zt = /* @__PURE__ */ hr(SE, [["render", PE], ["__scopeId", "data-v-687bcaf
|
|
|
17150
17155
|
}, {
|
|
17151
17156
|
default: k(() => [
|
|
17152
17157
|
L("div", TE, [
|
|
17153
|
-
s.working ? (p(), z(
|
|
17158
|
+
s.working ? (p(), z(Ht, { key: 0 })) : s.success ? (p(), z(b(zw), { key: 1 })) : s.error ? (p(), z(b(Ww), { key: 2 })) : s.icon ? (p(), z(eu(s.icon), { key: 3 })) : H("", !0)
|
|
17154
17159
|
]),
|
|
17155
17160
|
N(" " + D(r.value), 1)
|
|
17156
17161
|
]),
|
|
@@ -17176,11 +17181,11 @@ const zt = /* @__PURE__ */ hr(SE, [["render", PE], ["__scopeId", "data-v-687bcaf
|
|
|
17176
17181
|
async function s() {
|
|
17177
17182
|
try {
|
|
17178
17183
|
const i = t.handler();
|
|
17179
|
-
i instanceof Promise && (n.value = !0, await i, n.value = !1, r.value = !0, await
|
|
17184
|
+
i instanceof Promise && (n.value = !0, await i, n.value = !1, r.value = !0, await zt(2500), t.noReset || (r.value = !1));
|
|
17180
17185
|
} catch (i) {
|
|
17181
17186
|
if (n.value = !1, i instanceof qo)
|
|
17182
17187
|
return;
|
|
17183
|
-
o.value = !0, await
|
|
17188
|
+
o.value = !0, await zt(2500), o.value = !1;
|
|
17184
17189
|
}
|
|
17185
17190
|
}
|
|
17186
17191
|
return (i, a) => (p(), z(Si, {
|
|
@@ -17203,16 +17208,16 @@ function $E(e, t) {
|
|
|
17203
17208
|
Tt(e.$slots, "default")
|
|
17204
17209
|
]);
|
|
17205
17210
|
}
|
|
17206
|
-
const Xe = /* @__PURE__ */
|
|
17211
|
+
const Xe = /* @__PURE__ */ pr(IE, [["render", $E]]), ME = {}, VE = { class: "moonbase:text-subtext" };
|
|
17207
17212
|
function LE(e, t) {
|
|
17208
17213
|
return p(), E("span", VE, [
|
|
17209
17214
|
Tt(e.$slots, "default")
|
|
17210
17215
|
]);
|
|
17211
17216
|
}
|
|
17212
|
-
const ve = /* @__PURE__ */
|
|
17217
|
+
const ve = /* @__PURE__ */ pr(ME, [["render", LE]]), RE = { class: "moonbase:about" }, jE = /* @__PURE__ */ le({
|
|
17213
17218
|
__name: "About",
|
|
17214
17219
|
setup(e) {
|
|
17215
|
-
const t = xe(), n = "1.0.
|
|
17220
|
+
const t = xe(), n = "1.0.21";
|
|
17216
17221
|
return (r, o) => (p(), E("div", RE, [
|
|
17217
17222
|
o[2] || (o[2] = hp('<svg viewBox="0 0 512 512" height="56px" width="56px"><g><path fill="currentColor" d="m493.17795,174.6135c6.257,75.3 -30.577,150.948 -100.579,190.758c-66.292,37.697 -145.001,33.405 -205.402,-4.415c0.409,-1.248 0.638,-2.577 0.638,-3.96c0,-7.026 -5.717,-12.743 -12.743,-12.743c-2.876,0 -5.524,0.969 -7.659,2.582c-18.813,-15.259 -35.159,-34.207 -47.856,-56.534c-54.663,-96.122 -21.054,-218.358 75.069,-273.021a201.218,201.218 0 0 1 33.302,-15.124c-32.428,3.667 -64.663,13.809 -94.827,30.962c-104.526,59.443 -149.511,183.241 -113.473,293.249c-3.376,3.057 -5.513,7.459 -5.513,12.362c0,9.207 7.491,16.698 16.698,16.698c0.136,0 0.267,-0.017 0.401,-0.02a252.205,252.205 0 0 0 8.683,16.691c67.869,119.344 219.635,161.073 338.98,93.204a250.416,250.416 0 0 0 32.893,-22.333c1.045,0.331 2.157,0.513 3.311,0.513c6.047,0 10.968,-4.921 10.968,-10.968c0,-0.605 -0.063,-1.196 -0.157,-1.775c69.545,-64.988 96.008,-165.054 67.266,-256.126m-446.526,25.112a5.071,5.071 0 0 1 -5.066,-5.066a5.072,5.072 0 0 1 5.066,-5.067a5.073,5.073 0 0 1 5.066,5.067a5.072,5.072 0 0 1 -5.066,5.066m-15.819,153.944c-8.238,0 -14.94,-6.702 -14.94,-14.94c0,-8.239 6.702,-14.941 14.94,-14.941c8.239,0 14.941,6.702 14.941,14.941c-0.001,8.238 -6.703,14.94 -14.941,14.94m144.258,-7.659c6.057,0 10.985,4.928 10.985,10.986c0,6.058 -4.928,10.985 -10.985,10.985c-6.058,0 -10.986,-4.928 -10.986,-10.985c0.001,-6.059 4.928,-10.986 10.986,-10.986m70.829,133.004c-5.079,0 -9.21,-4.132 -9.21,-9.21c0,-5.079 4.131,-9.21 9.21,-9.21c5.078,0 9.209,4.131 9.209,9.21c0,5.078 -4.13,9.21 -9.209,9.21m169.18,-37.289c-5.078,0 -9.209,-4.132 -9.209,-9.21s4.131,-9.209 9.209,-9.209s9.21,4.131 9.21,9.209s-4.132,9.21 -9.21,9.21"></path><path fill="currentColor" d="m144.78195,275.9675c46.746,82.201 151.278,110.943 233.48,64.197c59.864,-34.044 91.363,-98.736 86.013,-163.13a170.094,170.094 0 0 0 -5.515,-31.052c-23.045,0.567 -63.864,10.137 -104.194,61.671c-52.045,66.5 -186.285,49.153 -228.855,17.372c3.503,17.443 9.796,34.632 19.071,50.942m233.513,-65.677a8.663,8.663 0 1 1 -8.663,8.663a8.662,8.662 0 0 1 8.663,-8.663m-37.006,62.618c7.02,0 12.712,5.691 12.712,12.712s-5.692,12.712 -12.712,12.712c-7.021,0 -12.712,-5.691 -12.712,-12.712s5.691,-12.712 12.712,-12.712m-102.544,12.712a6.78,6.78 0 1 1 0,13.56a6.78,6.78 0 0 1 0,-13.56"></path><ellipse fill="currentColor" ry="7.3075" rx="7.3075" cy="152.05851" cx="251.33138"></ellipse><ellipse fill="currentColor" ry="5.35076" rx="5.35076" cy="210.31151" cx="204.89499"></ellipse><ellipse fill="currentColor" ry="12.09273" rx="12.09273" cy="200.15625" cx="302.28597"></ellipse></g></svg>', 1)),
|
|
17218
17223
|
y(b(Zp), { as: "h3" }, {
|
|
@@ -17248,8 +17253,8 @@ const ve = /* @__PURE__ */ hr(ME, [["render", LE]]), RE = { class: "moonbase:abo
|
|
|
17248
17253
|
]));
|
|
17249
17254
|
}
|
|
17250
17255
|
});
|
|
17251
|
-
var
|
|
17252
|
-
const
|
|
17256
|
+
var Lt = /* @__PURE__ */ ((e) => (e.SignedIn = "signed-in", e.SignedUp = "signed-up", e.SignedOut = "signed-out", e.RedeemedVoucher = "redeemed-voucher", e.StorefrontUpdated = "storefront-updated", e.DownloadedProduct = "downloaded-product", e.ActivatedProduct = "activated-product", e.AddedToCart = "added-to-cart", e.CheckoutInitiated = "checkout-initiated", e.CheckoutClosed = "checkout-closed", e.CheckoutCompleted = "checkout-completed", e))(Lt || {});
|
|
17257
|
+
const UE = ["data-corners", "data-variant"], BE = { class: "moonbase:card-content" }, nn = /* @__PURE__ */ le({
|
|
17253
17258
|
__name: "MoonCard",
|
|
17254
17259
|
setup(e) {
|
|
17255
17260
|
const t = he(ut);
|
|
@@ -17260,11 +17265,11 @@ const BE = ["data-corners", "data-variant"], UE = { class: "moonbase:card-conten
|
|
|
17260
17265
|
"data-corners": (o = b(t)) == null ? void 0 : o.theme.corners,
|
|
17261
17266
|
"data-variant": (s = b(t)) == null ? void 0 : s.theme.cards
|
|
17262
17267
|
}, [
|
|
17263
|
-
L("div",
|
|
17268
|
+
L("div", BE, [
|
|
17264
17269
|
Tt(n.$slots, "default")
|
|
17265
17270
|
]),
|
|
17266
17271
|
Tt(n.$slots, "addon")
|
|
17267
|
-
], 8,
|
|
17272
|
+
], 8, UE);
|
|
17268
17273
|
};
|
|
17269
17274
|
}
|
|
17270
17275
|
}), FE = ["data-corners"], zE = ["href"], HE = ["src"], qE = ["src"], WE = {
|
|
@@ -17310,7 +17315,7 @@ function KE(e, t) {
|
|
|
17310
17315
|
Tt(e.$slots, "default")
|
|
17311
17316
|
]);
|
|
17312
17317
|
}
|
|
17313
|
-
const
|
|
17318
|
+
const ur = /* @__PURE__ */ pr(ZE, [["render", KE]]), GE = { class: "moonbase:product-card-content" }, Tm = /* @__PURE__ */ le({
|
|
17314
17319
|
__name: "ProductCard",
|
|
17315
17320
|
props: {
|
|
17316
17321
|
product: {}
|
|
@@ -17323,7 +17328,7 @@ const lr = /* @__PURE__ */ hr(ZE, [["render", KE]]), GE = { class: "moonbase:pro
|
|
|
17323
17328
|
size: 72
|
|
17324
17329
|
}, null, 8, ["url"]),
|
|
17325
17330
|
L("div", GE, [
|
|
17326
|
-
y(
|
|
17331
|
+
y(ur, null, {
|
|
17327
17332
|
default: k(() => {
|
|
17328
17333
|
var r;
|
|
17329
17334
|
return [
|
|
@@ -17401,10 +17406,10 @@ const lr = /* @__PURE__ */ hr(ZE, [["render", KE]]), GE = { class: "moonbase:pro
|
|
|
17401
17406
|
error: c,
|
|
17402
17407
|
fulfillLicense: d,
|
|
17403
17408
|
fulfillTrial: f
|
|
17404
|
-
} = r1(s), h = he(
|
|
17409
|
+
} = r1(s), h = he(Wt);
|
|
17405
17410
|
et(i, (v) => {
|
|
17406
17411
|
var A;
|
|
17407
|
-
!l.value && !u.value && (v == null ? void 0 : v.status) === pn.Requested && ((A = v == null ? void 0 : v.licenseEligibility) != null && A.eligible) && d(), (v == null ? void 0 : v.status) === pn.Completed && (o == null || o(
|
|
17412
|
+
!l.value && !u.value && (v == null ? void 0 : v.status) === pn.Requested && ((A = v == null ? void 0 : v.licenseEligibility) != null && A.eligible) && d(), (v == null ? void 0 : v.status) === pn.Completed && (o == null || o(Lt.ActivatedProduct, {
|
|
17408
17413
|
product: v.product,
|
|
17409
17414
|
fulfillmentType: v.fulfillmentType,
|
|
17410
17415
|
user: n.value
|
|
@@ -17414,13 +17419,13 @@ const lr = /* @__PURE__ */ hr(ZE, [["render", KE]]), GE = { class: "moonbase:pro
|
|
|
17414
17419
|
if (i.value)
|
|
17415
17420
|
return b(Ls(i.value.product.id));
|
|
17416
17421
|
}), w = W(() => m.value && m.value.defaultVariation), { currency: x, addToCart: S, setQuantity: M } = Zn();
|
|
17417
|
-
function
|
|
17422
|
+
function U() {
|
|
17418
17423
|
t.show(te.Product, q.ViewProduct, { product_id: i.value.product.id });
|
|
17419
17424
|
}
|
|
17420
17425
|
function V() {
|
|
17421
17426
|
t.enqueue(te.Activation, q.ActivateProduct, t.parameters ?? void 0), t.show(te.Authentication, q.SignIn);
|
|
17422
17427
|
}
|
|
17423
|
-
function
|
|
17428
|
+
function B() {
|
|
17424
17429
|
if (!m.value)
|
|
17425
17430
|
return;
|
|
17426
17431
|
const v = S(m.value);
|
|
@@ -17445,7 +17450,7 @@ const lr = /* @__PURE__ */ hr(ZE, [["render", KE]]), GE = { class: "moonbase:pro
|
|
|
17445
17450
|
var P, C, T, j, oe, Ae, Oe;
|
|
17446
17451
|
return p(), E("div", QE, [
|
|
17447
17452
|
b(a) || !b(r) || !((P = b(h)) != null && P.loadedStorefront) ? (p(), E("div", XE, [
|
|
17448
|
-
y(
|
|
17453
|
+
y(Ht)
|
|
17449
17454
|
])) : b(c) ? (p(), E("div", JE, [
|
|
17450
17455
|
y(Ye, null, {
|
|
17451
17456
|
default: k(() => A[0] || (A[0] = [
|
|
@@ -17481,7 +17486,7 @@ const lr = /* @__PURE__ */ hr(ZE, [["render", KE]]), GE = { class: "moonbase:pro
|
|
|
17481
17486
|
__: [4]
|
|
17482
17487
|
})
|
|
17483
17488
|
])) : b(l) || b(u) ? (p(), E("div", r5, [
|
|
17484
|
-
y(
|
|
17489
|
+
y(Ht),
|
|
17485
17490
|
y(Xe, null, {
|
|
17486
17491
|
default: k(() => [
|
|
17487
17492
|
N(" Activating " + D(b(i).product.name) + "... ", 1)
|
|
@@ -17527,7 +17532,7 @@ const lr = /* @__PURE__ */ hr(ZE, [["render", KE]]), GE = { class: "moonbase:pro
|
|
|
17527
17532
|
y(je, {
|
|
17528
17533
|
label: "Purchase",
|
|
17529
17534
|
variant: "primary",
|
|
17530
|
-
handler: () =>
|
|
17535
|
+
handler: () => B()
|
|
17531
17536
|
}, null, 8, ["handler"])
|
|
17532
17537
|
])
|
|
17533
17538
|
])) : H("", !0),
|
|
@@ -17563,7 +17568,7 @@ const lr = /* @__PURE__ */ hr(ZE, [["render", KE]]), GE = { class: "moonbase:pro
|
|
|
17563
17568
|
y(je, {
|
|
17564
17569
|
label: "Licenses",
|
|
17565
17570
|
variant: "secondary",
|
|
17566
|
-
handler: () =>
|
|
17571
|
+
handler: () => U()
|
|
17567
17572
|
}, null, 8, ["handler"])
|
|
17568
17573
|
])
|
|
17569
17574
|
])) : H("", !0) : (p(), E("div", l5, [
|
|
@@ -17670,7 +17675,7 @@ function y5(e, t) {
|
|
|
17670
17675
|
Tt(e.$slots, "default")
|
|
17671
17676
|
]);
|
|
17672
17677
|
}
|
|
17673
|
-
const
|
|
17678
|
+
const jt = /* @__PURE__ */ pr(b5, [["render", y5]]), w5 = ["data-corners"], _5 = ["accept"], E5 = { "data-error": "" }, k5 = /* @__PURE__ */ le({
|
|
17674
17679
|
__name: "DeviceTokenInput",
|
|
17675
17680
|
props: {
|
|
17676
17681
|
error: {}
|
|
@@ -17777,7 +17782,7 @@ const Rt = /* @__PURE__ */ hr(b5, [["render", y5]]), w5 = ["data-corners"], _5 =
|
|
|
17777
17782
|
onInput: u[0] || (u[0] = (c) => a(c)),
|
|
17778
17783
|
onError: u[1] || (u[1] = (c) => s.value = c)
|
|
17779
17784
|
}, null, 8, ["error"])) : o.value === 1 ? (p(), E("div", A5, [
|
|
17780
|
-
y(
|
|
17785
|
+
y(Ht)
|
|
17781
17786
|
])) : o.value === 2 && i.value ? (p(), E("div", C5, [
|
|
17782
17787
|
y(Ye, null, {
|
|
17783
17788
|
default: k(() => u[3] || (u[3] = [
|
|
@@ -17798,7 +17803,7 @@ const Rt = /* @__PURE__ */ hr(b5, [["render", y5]]), w5 = ["data-corners"], _5 =
|
|
|
17798
17803
|
product: i.value.license.product
|
|
17799
17804
|
}, {
|
|
17800
17805
|
description: k(() => [
|
|
17801
|
-
y(
|
|
17806
|
+
y(jt, null, {
|
|
17802
17807
|
default: k(() => [
|
|
17803
17808
|
N(D(i.value.license.activeNumberOfActivations) + " of " + D(i.value.license.maxNumberOfActivations) + " devices activated ", 1)
|
|
17804
17809
|
]),
|
|
@@ -17857,9 +17862,9 @@ const Rt = /* @__PURE__ */ hr(b5, [["render", y5]]), w5 = ["data-corners"], _5 =
|
|
|
17857
17862
|
async function i() {
|
|
17858
17863
|
n.value = !0;
|
|
17859
17864
|
try {
|
|
17860
|
-
await t.handler(), n.value = !1, r.value = !0, await
|
|
17865
|
+
await t.handler(), n.value = !1, r.value = !0, await zt(2500), t.noReset || (r.value = !1);
|
|
17861
17866
|
} catch {
|
|
17862
|
-
n.value = !1, o.value = !0, await
|
|
17867
|
+
n.value = !1, o.value = !0, await zt(2500), o.value = !1;
|
|
17863
17868
|
}
|
|
17864
17869
|
}
|
|
17865
17870
|
return (a, l) => (p(), E("form", {
|
|
@@ -17967,7 +17972,7 @@ const Rt = /* @__PURE__ */ hr(b5, [["render", y5]]), w5 = ["data-corners"], _5 =
|
|
|
17967
17972
|
u.value = null;
|
|
17968
17973
|
try {
|
|
17969
17974
|
const d = await o.signIn(a.value, l.value);
|
|
17970
|
-
i == null || i(
|
|
17975
|
+
i == null || i(Lt.SignedIn, { user: d }), zt(1500).then(() => n("signedIn", d));
|
|
17971
17976
|
} catch (d) {
|
|
17972
17977
|
throw d instanceof Vr ? u.value = "User not found" : u.value = d.message, d;
|
|
17973
17978
|
}
|
|
@@ -18068,10 +18073,10 @@ const Rt = /* @__PURE__ */ hr(b5, [["render", y5]]), w5 = ["data-corners"], _5 =
|
|
|
18068
18073
|
test: (e) => e.length >= 6
|
|
18069
18074
|
}
|
|
18070
18075
|
]
|
|
18071
|
-
},
|
|
18076
|
+
}, U5 = {
|
|
18072
18077
|
key: 0,
|
|
18073
18078
|
class: "moonbase:loader"
|
|
18074
|
-
},
|
|
18079
|
+
}, B5 = {
|
|
18075
18080
|
key: 1,
|
|
18076
18081
|
class: "moonbase:error",
|
|
18077
18082
|
"data-visible": ""
|
|
@@ -18108,12 +18113,12 @@ const Rt = /* @__PURE__ */ hr(b5, [["render", y5]]), w5 = ["data-corners"], _5 =
|
|
|
18108
18113
|
d.value = T, c.value = !0;
|
|
18109
18114
|
return;
|
|
18110
18115
|
}
|
|
18111
|
-
|
|
18116
|
+
zt(1500).then(() => n("confirmedAccount", T));
|
|
18112
18117
|
} catch (C) {
|
|
18113
18118
|
throw m.value = C.message, C;
|
|
18114
18119
|
}
|
|
18115
18120
|
}
|
|
18116
|
-
function
|
|
18121
|
+
function U(A) {
|
|
18117
18122
|
switch (A) {
|
|
18118
18123
|
case "iLok":
|
|
18119
18124
|
return "iLok";
|
|
@@ -18125,7 +18130,7 @@ const Rt = /* @__PURE__ */ hr(b5, [["render", y5]]), w5 = ["data-corners"], _5 =
|
|
|
18125
18130
|
return "Link your iLok account to streamline license delivery and activation.";
|
|
18126
18131
|
}
|
|
18127
18132
|
}
|
|
18128
|
-
function
|
|
18133
|
+
function B(A) {
|
|
18129
18134
|
switch (A) {
|
|
18130
18135
|
case "iLok":
|
|
18131
18136
|
return al;
|
|
@@ -18143,11 +18148,11 @@ const Rt = /* @__PURE__ */ hr(b5, [["render", y5]]), w5 = ["data-corners"], _5 =
|
|
|
18143
18148
|
class: "moonbase:confirm-account"
|
|
18144
18149
|
}, {
|
|
18145
18150
|
default: k(() => [
|
|
18146
|
-
l.value ? (p(), E("div",
|
|
18147
|
-
y(
|
|
18151
|
+
l.value ? (p(), E("div", U5, [
|
|
18152
|
+
y(Ht)
|
|
18148
18153
|
])) : u.value ? (p(), E(ce, { key: 2 }, [
|
|
18149
18154
|
c.value ? (p(), E(ce, { key: 0 }, [
|
|
18150
|
-
y(
|
|
18155
|
+
y(ur, null, {
|
|
18151
18156
|
default: k(() => P[2] || (P[2] = [
|
|
18152
18157
|
N("Connect your accounts")
|
|
18153
18158
|
])),
|
|
@@ -18166,16 +18171,16 @@ const Rt = /* @__PURE__ */ hr(b5, [["render", y5]]), w5 = ["data-corners"], _5 =
|
|
|
18166
18171
|
key: C.provider
|
|
18167
18172
|
}, [
|
|
18168
18173
|
L("div", z5, [
|
|
18169
|
-
|
|
18174
|
+
B(C.provider) ? (p(), E("img", {
|
|
18170
18175
|
key: 0,
|
|
18171
|
-
src:
|
|
18172
|
-
alt:
|
|
18176
|
+
src: B(C.provider),
|
|
18177
|
+
alt: U(C.provider),
|
|
18173
18178
|
class: "moonbase:provider-logo"
|
|
18174
18179
|
}, null, 8, H5)) : H("", !0),
|
|
18175
18180
|
L("div", null, [
|
|
18176
18181
|
y(Ye, null, {
|
|
18177
18182
|
default: k(() => [
|
|
18178
|
-
N(D(
|
|
18183
|
+
N(D(U(C.provider)), 1)
|
|
18179
18184
|
]),
|
|
18180
18185
|
_: 2
|
|
18181
18186
|
}, 1024),
|
|
@@ -18199,7 +18204,7 @@ const Rt = /* @__PURE__ */ hr(b5, [["render", y5]]), w5 = ["data-corners"], _5 =
|
|
|
18199
18204
|
handler: v
|
|
18200
18205
|
})
|
|
18201
18206
|
], 64)) : (p(), E(ce, { key: 1 }, [
|
|
18202
|
-
y(
|
|
18207
|
+
y(ur, null, {
|
|
18203
18208
|
default: k(() => [
|
|
18204
18209
|
N(" Hi " + D(u.value.name) + ", ", 1)
|
|
18205
18210
|
]),
|
|
@@ -18254,7 +18259,7 @@ const Rt = /* @__PURE__ */ hr(b5, [["render", y5]]), w5 = ["data-corners"], _5 =
|
|
|
18254
18259
|
"data-visible": !!m.value || void 0
|
|
18255
18260
|
}, D(m.value), 9, W5)
|
|
18256
18261
|
], 64))
|
|
18257
|
-
], 64)) : (p(), E("div",
|
|
18262
|
+
], 64)) : (p(), E("div", B5, D(m.value), 1))
|
|
18258
18263
|
]),
|
|
18259
18264
|
_: 1
|
|
18260
18265
|
}, 8, ["disabled"]));
|
|
@@ -18276,14 +18281,14 @@ const Rt = /* @__PURE__ */ hr(b5, [["render", y5]]), w5 = ["data-corners"], _5 =
|
|
|
18276
18281
|
const l = r.getParameter("email"), u = r.getParameter("code");
|
|
18277
18282
|
if (!l || !u)
|
|
18278
18283
|
throw new Error("Link is broken");
|
|
18279
|
-
await s(l, u),
|
|
18284
|
+
await s(l, u), zt(1500).then(() => n("confirmed"));
|
|
18280
18285
|
} catch (l) {
|
|
18281
18286
|
a.value = l.message;
|
|
18282
18287
|
}
|
|
18283
18288
|
i.value = !1;
|
|
18284
18289
|
}), (l, u) => (p(), E("div", Y5, [
|
|
18285
18290
|
i.value ? (p(), E("div", K5, [
|
|
18286
|
-
y(
|
|
18291
|
+
y(Ht)
|
|
18287
18292
|
])) : a.value ? (p(), E("div", G5, D(a.value), 1)) : (p(), E(ce, { key: 2 }, [
|
|
18288
18293
|
y(Ye, null, {
|
|
18289
18294
|
default: k(() => u[0] || (u[0] = [
|
|
@@ -18318,7 +18323,7 @@ const Rt = /* @__PURE__ */ hr(b5, [["render", y5]]), w5 = ["data-corners"], _5 =
|
|
|
18318
18323
|
const l = r.getParameter("email"), u = r.getParameter("code");
|
|
18319
18324
|
if (!l || !u)
|
|
18320
18325
|
throw new Error("Link is broken");
|
|
18321
|
-
await s(l, u),
|
|
18326
|
+
await s(l, u), zt(1500).then(() => n("confirmed"));
|
|
18322
18327
|
} catch (l) {
|
|
18323
18328
|
a.value = l.message;
|
|
18324
18329
|
}
|
|
@@ -18327,7 +18332,7 @@ const Rt = /* @__PURE__ */ hr(b5, [["render", y5]]), w5 = ["data-corners"], _5 =
|
|
|
18327
18332
|
var c;
|
|
18328
18333
|
return p(), E("div", X5, [
|
|
18329
18334
|
i.value ? (p(), E("div", J5, [
|
|
18330
|
-
y(
|
|
18335
|
+
y(Ht)
|
|
18331
18336
|
])) : a.value ? (p(), E("div", ek, D(a.value), 1)) : (p(), E(ce, { key: 2 }, [
|
|
18332
18337
|
L("h3", null, " Hi " + D((c = b(o)) == null ? void 0 : c.name) + ", ", 1),
|
|
18333
18338
|
u[0] || (u[0] = L("p", null, " Thanks for confirming your new email. You can now sign in using this new address. ", -1))
|
|
@@ -18342,7 +18347,7 @@ const Rt = /* @__PURE__ */ hr(b5, [["render", y5]]), w5 = ["data-corners"], _5 =
|
|
|
18342
18347
|
async function i() {
|
|
18343
18348
|
o.value = null;
|
|
18344
18349
|
try {
|
|
18345
|
-
await n.forgotPassword(r.value),
|
|
18350
|
+
await n.forgotPassword(r.value), zt(1500).then(() => {
|
|
18346
18351
|
s.value = !0;
|
|
18347
18352
|
});
|
|
18348
18353
|
} catch (a) {
|
|
@@ -18399,7 +18404,7 @@ const Rt = /* @__PURE__ */ hr(b5, [["render", y5]]), w5 = ["data-corners"], _5 =
|
|
|
18399
18404
|
try {
|
|
18400
18405
|
await o.resetPassword(i.value, a.value, h);
|
|
18401
18406
|
const m = await o.signIn(i.value, a.value);
|
|
18402
|
-
|
|
18407
|
+
zt(1500).then(() => n("passwordReset", m));
|
|
18403
18408
|
} catch (m) {
|
|
18404
18409
|
throw u.value = m.message, m;
|
|
18405
18410
|
}
|
|
@@ -18523,7 +18528,7 @@ const Rt = /* @__PURE__ */ hr(b5, [["render", y5]]), w5 = ["data-corners"], _5 =
|
|
|
18523
18528
|
!0,
|
|
18524
18529
|
f.value
|
|
18525
18530
|
);
|
|
18526
|
-
i == null || i(
|
|
18531
|
+
i == null || i(Lt.SignedUp, { user: S }), zt(1500).then(() => n("signedUp", S));
|
|
18527
18532
|
} catch (S) {
|
|
18528
18533
|
throw h.value = S.message, S;
|
|
18529
18534
|
}
|
|
@@ -18534,7 +18539,7 @@ const Rt = /* @__PURE__ */ hr(b5, [["render", y5]]), w5 = ["data-corners"], _5 =
|
|
|
18534
18539
|
class: "moonbase:sign-up"
|
|
18535
18540
|
}, {
|
|
18536
18541
|
default: k(() => {
|
|
18537
|
-
var
|
|
18542
|
+
var U;
|
|
18538
18543
|
return [
|
|
18539
18544
|
y(At, {
|
|
18540
18545
|
modelValue: l.value,
|
|
@@ -18578,7 +18583,7 @@ const Rt = /* @__PURE__ */ hr(b5, [["render", y5]]), w5 = ["data-corners"], _5 =
|
|
|
18578
18583
|
_: 2
|
|
18579
18584
|
}, 1024))), 128))
|
|
18580
18585
|
])) : H("", !0),
|
|
18581
|
-
((
|
|
18586
|
+
((U = b(a)) == null ? void 0 : U.auth.signUp.marketingConsent) !== b(Mo).OptOut ? (p(), z(Dm, {
|
|
18582
18587
|
key: 1,
|
|
18583
18588
|
modelValue: f.value,
|
|
18584
18589
|
"onUpdate:modelValue": M[4] || (M[4] = (V) => f.value = V),
|
|
@@ -18655,7 +18660,7 @@ const Rt = /* @__PURE__ */ hr(b5, [["render", y5]]), w5 = ["data-corners"], _5 =
|
|
|
18655
18660
|
key: 7,
|
|
18656
18661
|
onPasswordReset: o[3] || (o[3] = (s) => b(t).show(b(te).Customer, b(q).ViewAccount, void 0))
|
|
18657
18662
|
})) : H("", !0) : (p(), E("div", wk, [
|
|
18658
|
-
y(
|
|
18663
|
+
y(Ht)
|
|
18659
18664
|
]))
|
|
18660
18665
|
]),
|
|
18661
18666
|
_: 1
|
|
@@ -18668,9 +18673,9 @@ function xk(e, t) {
|
|
|
18668
18673
|
Tt(e.$slots, "default")
|
|
18669
18674
|
]);
|
|
18670
18675
|
}
|
|
18671
|
-
const rt = /* @__PURE__ */
|
|
18676
|
+
const rt = /* @__PURE__ */ pr(Ek, [["render", xk]]);
|
|
18672
18677
|
function ll() {
|
|
18673
|
-
const e = he(
|
|
18678
|
+
const e = he(Wt);
|
|
18674
18679
|
return e || console.warn("No storefront injectable"), {
|
|
18675
18680
|
reportProblem: async (t, n) => {
|
|
18676
18681
|
try {
|
|
@@ -18937,7 +18942,7 @@ const Ck = { class: "moonbase:bundle-cart-item-content" }, Ok = {
|
|
|
18937
18942
|
}), Mk = { class: "moonbase:cart-offer-target-list-item" }, Vk = { class: "moonbase:cart-offer-target-list-item-content" }, Lk = ["href"], Rk = { class: "moonbase:cart-offer-target-list-item-cta" }, jk = {
|
|
18938
18943
|
key: 0,
|
|
18939
18944
|
class: "moonbase:discount"
|
|
18940
|
-
},
|
|
18945
|
+
}, Uk = /* @__PURE__ */ le({
|
|
18941
18946
|
__name: "OfferMultiTargetItem",
|
|
18942
18947
|
props: {
|
|
18943
18948
|
offer: {},
|
|
@@ -18995,7 +19000,7 @@ const Ck = { class: "moonbase:bundle-cart-item-content" }, Ok = {
|
|
|
18995
19000
|
])
|
|
18996
19001
|
]));
|
|
18997
19002
|
}
|
|
18998
|
-
}),
|
|
19003
|
+
}), Bk = { class: "moonbase:cart-offer--multi-target-icons" }, Fk = { class: "moonbase:cart-offer--multi-target-content" }, zk = ["data-open"], Hk = /* @__PURE__ */ le({
|
|
18999
19004
|
__name: "OfferMultiTargetUpsell",
|
|
19000
19005
|
props: {
|
|
19001
19006
|
offer: {},
|
|
@@ -19016,7 +19021,7 @@ const Ck = { class: "moonbase:bundle-cart-item-content" }, Ok = {
|
|
|
19016
19021
|
style: { height: "0px" },
|
|
19017
19022
|
"data-open": n.value || void 0
|
|
19018
19023
|
}, [
|
|
19019
|
-
(p(!0), E(ce, null, it(s.targets, (a) => (p(), z(
|
|
19024
|
+
(p(!0), E(ce, null, it(s.targets, (a) => (p(), z(Uk, {
|
|
19020
19025
|
key: a.id,
|
|
19021
19026
|
target: a,
|
|
19022
19027
|
offer: s.offer
|
|
@@ -19024,7 +19029,7 @@ const Ck = { class: "moonbase:bundle-cart-item-content" }, Ok = {
|
|
|
19024
19029
|
], 8, zk)
|
|
19025
19030
|
]),
|
|
19026
19031
|
default: k(() => [
|
|
19027
|
-
L("div",
|
|
19032
|
+
L("div", Bk, [
|
|
19028
19033
|
(p(!0), E(ce, null, it(s.targets, (a, l) => (p(), z(Ct, {
|
|
19029
19034
|
key: `${a.type}/${a.id}`,
|
|
19030
19035
|
url: a.iconUrl,
|
|
@@ -19622,8 +19627,8 @@ const px = { class: "moonbase:connected-account-card" }, mx = { class: "moonbase
|
|
|
19622
19627
|
}, xx = /* @__PURE__ */ le({
|
|
19623
19628
|
__name: "Account",
|
|
19624
19629
|
setup(e) {
|
|
19625
|
-
var
|
|
19626
|
-
const t = xe(), { user: n, update: r, setPassword: o, signOut: s } = Fe(), i = he(wo), a = R(((
|
|
19630
|
+
var U, V, B;
|
|
19631
|
+
const t = xe(), { user: n, update: r, setPassword: o, signOut: s } = Fe(), i = he(wo), a = R(((U = n.value) == null ? void 0 : U.name) ?? ""), l = R(((V = n.value) == null ? void 0 : V.email) ?? ""), u = R(((B = n.value) == null ? void 0 : B.communicationPreferences) ?? {
|
|
19627
19632
|
newsletterOptIn: !1
|
|
19628
19633
|
}), c = R(null), d = R(!1), f = R(""), h = R(""), m = R(null), w = W(() => {
|
|
19629
19634
|
var $;
|
|
@@ -19647,7 +19652,7 @@ const px = { class: "moonbase:connected-account-card" }, mx = { class: "moonbase
|
|
|
19647
19652
|
}
|
|
19648
19653
|
async function M() {
|
|
19649
19654
|
const $ = { ...n.value };
|
|
19650
|
-
await s(), i == null || i(
|
|
19655
|
+
await s(), i == null || i(Lt.SignedOut, { user: $ }), t.reset();
|
|
19651
19656
|
}
|
|
19652
19657
|
return ($, v) => (p(), E("div", yx, [
|
|
19653
19658
|
y(Yn, { handler: x }, {
|
|
@@ -19722,7 +19727,7 @@ const px = { class: "moonbase:connected-account-card" }, mx = { class: "moonbase
|
|
|
19722
19727
|
handler: M
|
|
19723
19728
|
}),
|
|
19724
19729
|
w.value.length > 0 ? (p(), E("section", kx, [
|
|
19725
|
-
y(
|
|
19730
|
+
y(ur, null, {
|
|
19726
19731
|
default: k(() => v[5] || (v[5] = [
|
|
19727
19732
|
N("Connected accounts")
|
|
19728
19733
|
])),
|
|
@@ -19764,39 +19769,39 @@ const px = { class: "moonbase:connected-account-card" }, mx = { class: "moonbase
|
|
|
19764
19769
|
__name: "ConnectAccount",
|
|
19765
19770
|
setup(e) {
|
|
19766
19771
|
const t = xe(), { user: n, getConnectionUrl: r, refreshUser: o } = Fe(), s = R(!0), i = R(!1), a = R(!1), l = R(null), u = R(""), c = t.getParameter("provider_id"), d = W(() => {
|
|
19767
|
-
var
|
|
19768
|
-
return ((
|
|
19772
|
+
var U;
|
|
19773
|
+
return ((U = n.value) == null ? void 0 : U.connectedAccounts.some((V) => V.provider === c && V.isConnected)) ?? !1;
|
|
19769
19774
|
}), f = W(() => {
|
|
19770
|
-
var
|
|
19771
|
-
return ((
|
|
19775
|
+
var U;
|
|
19776
|
+
return ((U = n.value) == null ? void 0 : U.connectedAccounts.some((V) => c && [pi.iLok].includes(c) && V.pendingLicenseFulfillments)) ?? !1;
|
|
19772
19777
|
});
|
|
19773
19778
|
He(async () => {
|
|
19774
19779
|
if (c && (await o(), s.value = !1, d.value && f.value)) {
|
|
19775
19780
|
for (i.value = !0; f.value; )
|
|
19776
|
-
await
|
|
19781
|
+
await zt(2e3), await o();
|
|
19777
19782
|
i.value = !1, a.value = !0;
|
|
19778
19783
|
}
|
|
19779
19784
|
});
|
|
19780
|
-
function h(
|
|
19781
|
-
switch (
|
|
19785
|
+
function h(U) {
|
|
19786
|
+
switch (U) {
|
|
19782
19787
|
case "iLok":
|
|
19783
19788
|
return "iLok";
|
|
19784
19789
|
}
|
|
19785
19790
|
}
|
|
19786
|
-
function m(
|
|
19787
|
-
switch (
|
|
19791
|
+
function m(U) {
|
|
19792
|
+
switch (U) {
|
|
19788
19793
|
case "iLok":
|
|
19789
19794
|
return al;
|
|
19790
19795
|
}
|
|
19791
19796
|
}
|
|
19792
|
-
function w(
|
|
19793
|
-
switch (
|
|
19797
|
+
function w(U) {
|
|
19798
|
+
switch (U) {
|
|
19794
19799
|
case "iLok":
|
|
19795
19800
|
return "Link your iLok account to streamline license delivery and activation for all your purchases.";
|
|
19796
19801
|
}
|
|
19797
19802
|
}
|
|
19798
|
-
function x(
|
|
19799
|
-
switch (
|
|
19803
|
+
function x(U) {
|
|
19804
|
+
switch (U) {
|
|
19800
19805
|
case "iLok":
|
|
19801
19806
|
return !0;
|
|
19802
19807
|
default:
|
|
@@ -19811,17 +19816,17 @@ const px = { class: "moonbase:connected-account-card" }, mx = { class: "moonbase
|
|
|
19811
19816
|
l.value = new Error("Please enter your login ID");
|
|
19812
19817
|
return;
|
|
19813
19818
|
}
|
|
19814
|
-
const
|
|
19819
|
+
const U = window.location.href.split("?")[0], V = await r(c, U, u.value || void 0);
|
|
19815
19820
|
window.location.href = V;
|
|
19816
|
-
} catch (
|
|
19817
|
-
throw l.value =
|
|
19821
|
+
} catch (U) {
|
|
19822
|
+
throw l.value = U, U;
|
|
19818
19823
|
}
|
|
19819
19824
|
}
|
|
19820
19825
|
}
|
|
19821
19826
|
function M() {
|
|
19822
19827
|
t.history.length > 0 ? t.back() : t.show(te.Customer, q.ViewAccount, void 0, !0);
|
|
19823
19828
|
}
|
|
19824
|
-
return (
|
|
19829
|
+
return (U, V) => b(c) ? (p(), E("div", Ax, [
|
|
19825
19830
|
L("div", Cx, [
|
|
19826
19831
|
m(b(c)) ? (p(), E("img", {
|
|
19827
19832
|
key: 0,
|
|
@@ -19843,7 +19848,7 @@ const px = { class: "moonbase:connected-account-card" }, mx = { class: "moonbase
|
|
|
19843
19848
|
_: 1
|
|
19844
19849
|
}),
|
|
19845
19850
|
s.value ? (p(), E("div", Sx, [
|
|
19846
|
-
y(
|
|
19851
|
+
y(Ht)
|
|
19847
19852
|
])) : (p(), E(ce, { key: 1 }, [
|
|
19848
19853
|
d.value ? (p(), E("div", Nx, [
|
|
19849
19854
|
y(rt, { class: "moonbase:success" }, {
|
|
@@ -19853,7 +19858,7 @@ const px = { class: "moonbase:connected-account-card" }, mx = { class: "moonbase
|
|
|
19853
19858
|
_: 1
|
|
19854
19859
|
}),
|
|
19855
19860
|
i.value ? (p(), E("div", Px, [
|
|
19856
|
-
y(
|
|
19861
|
+
y(Ht),
|
|
19857
19862
|
y(ve, null, {
|
|
19858
19863
|
default: k(() => V[1] || (V[1] = [
|
|
19859
19864
|
N("Depositing licenses to your account...")
|
|
@@ -19884,7 +19889,7 @@ const px = { class: "moonbase:connected-account-card" }, mx = { class: "moonbase
|
|
|
19884
19889
|
x(b(c)) ? (p(), z(At, {
|
|
19885
19890
|
key: 0,
|
|
19886
19891
|
modelValue: u.value,
|
|
19887
|
-
"onUpdate:modelValue": V[0] || (V[0] = (
|
|
19892
|
+
"onUpdate:modelValue": V[0] || (V[0] = (B) => u.value = B),
|
|
19888
19893
|
label: `${h(b(c))} Login ID`,
|
|
19889
19894
|
name: `${b(c)}-login-id`,
|
|
19890
19895
|
placeholder: `Enter your ${h(b(c))} username`
|
|
@@ -19933,7 +19938,7 @@ const px = { class: "moonbase:connected-account-card" }, mx = { class: "moonbase
|
|
|
19933
19938
|
o = await n(o.next), r.value.push(...o.items);
|
|
19934
19939
|
}), (o, s) => (p(), E("div", Dx, [
|
|
19935
19940
|
r.value ? r.value.length === 0 ? (p(), E("div", Mx, " No products found ")) : H("", !0) : (p(), E("div", $x, [
|
|
19936
|
-
y(
|
|
19941
|
+
y(Ht),
|
|
19937
19942
|
s[0] || (s[0] = N(" Loading products.. "))
|
|
19938
19943
|
])),
|
|
19939
19944
|
(p(!0), E(ce, null, it(r.value || [], (i) => (p(), E("div", {
|
|
@@ -19990,7 +19995,7 @@ const px = { class: "moonbase:connected-account-card" }, mx = { class: "moonbase
|
|
|
19990
19995
|
], 8, Vx))), 128))
|
|
19991
19996
|
]));
|
|
19992
19997
|
}
|
|
19993
|
-
}),
|
|
19998
|
+
}), Ux = { class: "moonbase:bundle-redemption-item-content" }, Bx = { class: "moonbase:bundle-redemption-item-summary" }, Fx = ["data-open"], zx = ["data-open"], Mm = /* @__PURE__ */ le({
|
|
19994
19999
|
__name: "BundleRedemptionItem",
|
|
19995
20000
|
props: {
|
|
19996
20001
|
bundle: {},
|
|
@@ -20004,7 +20009,7 @@ const px = { class: "moonbase:connected-account-card" }, mx = { class: "moonbase
|
|
|
20004
20009
|
addon: k(() => {
|
|
20005
20010
|
var s;
|
|
20006
20011
|
return [
|
|
20007
|
-
L("div",
|
|
20012
|
+
L("div", Bx, [
|
|
20008
20013
|
r.bundle ? (p(), E("button", {
|
|
20009
20014
|
key: 0,
|
|
20010
20015
|
onClick: o[0] || (o[0] = (i) => t.value = !t.value)
|
|
@@ -20076,7 +20081,7 @@ const px = { class: "moonbase:connected-account-card" }, mx = { class: "moonbase
|
|
|
20076
20081
|
url: r.bundle.iconUrl,
|
|
20077
20082
|
size: 72
|
|
20078
20083
|
}, null, 8, ["url"]),
|
|
20079
|
-
L("div",
|
|
20084
|
+
L("div", Ux, [
|
|
20080
20085
|
y(rt, null, {
|
|
20081
20086
|
default: k(() => {
|
|
20082
20087
|
var s;
|
|
@@ -20154,7 +20159,7 @@ const px = { class: "moonbase:connected-account-card" }, mx = { class: "moonbase
|
|
|
20154
20159
|
i.value = null;
|
|
20155
20160
|
try {
|
|
20156
20161
|
const u = await t(a.value);
|
|
20157
|
-
s.value = u, o == null || o(
|
|
20162
|
+
s.value = u, o == null || o(Lt.RedeemedVoucher, { voucher: u, user: r.user.value });
|
|
20158
20163
|
} catch (u) {
|
|
20159
20164
|
throw i.value = u, u;
|
|
20160
20165
|
}
|
|
@@ -20167,7 +20172,7 @@ const px = { class: "moonbase:connected-account-card" }, mx = { class: "moonbase
|
|
|
20167
20172
|
default: k(() => [
|
|
20168
20173
|
s.value ? (p(), E("div", Zx, [
|
|
20169
20174
|
L("div", null, [
|
|
20170
|
-
y(
|
|
20175
|
+
y(ur, null, {
|
|
20171
20176
|
default: k(() => [
|
|
20172
20177
|
N(D(s.value.name), 1)
|
|
20173
20178
|
]),
|
|
@@ -20225,7 +20230,7 @@ const px = { class: "moonbase:connected-account-card" }, mx = { class: "moonbase
|
|
|
20225
20230
|
y(je, {
|
|
20226
20231
|
label: "Return to activation",
|
|
20227
20232
|
variant: "primary",
|
|
20228
|
-
icon: b(
|
|
20233
|
+
icon: b(Bw),
|
|
20229
20234
|
handler: () => b(n).dequeue()
|
|
20230
20235
|
}, null, 8, ["icon", "handler"])
|
|
20231
20236
|
])) : H("", !0)
|
|
@@ -20294,11 +20299,11 @@ const px = { class: "moonbase:connected-account-card" }, mx = { class: "moonbase
|
|
|
20294
20299
|
], 4));
|
|
20295
20300
|
}
|
|
20296
20301
|
}), Rm = 6048e5, Jx = 864e5, qi = 43200, Wd = 1440, Zd = Symbol.for("constructDateFrom");
|
|
20297
|
-
function
|
|
20302
|
+
function cr(e, t) {
|
|
20298
20303
|
return typeof e == "function" ? e(t) : e && typeof e == "object" && Zd in e ? e[Zd](t) : e instanceof Date ? new e.constructor(t) : new Date(t);
|
|
20299
20304
|
}
|
|
20300
20305
|
function _t(e, t) {
|
|
20301
|
-
return
|
|
20306
|
+
return cr(t || e, e);
|
|
20302
20307
|
}
|
|
20303
20308
|
let e3 = {};
|
|
20304
20309
|
function Ni() {
|
|
@@ -20313,9 +20318,9 @@ function Ia(e, t) {
|
|
|
20313
20318
|
return di(e, { ...t, weekStartsOn: 1 });
|
|
20314
20319
|
}
|
|
20315
20320
|
function jm(e, t) {
|
|
20316
|
-
const n = _t(e, t == null ? void 0 : t.in), r = n.getFullYear(), o =
|
|
20321
|
+
const n = _t(e, t == null ? void 0 : t.in), r = n.getFullYear(), o = cr(n, 0);
|
|
20317
20322
|
o.setFullYear(r + 1, 0, 4), o.setHours(0, 0, 0, 0);
|
|
20318
|
-
const s = Ia(o), i =
|
|
20323
|
+
const s = Ia(o), i = cr(n, 0);
|
|
20319
20324
|
i.setFullYear(r, 0, 4), i.setHours(0, 0, 0, 0);
|
|
20320
20325
|
const a = Ia(i);
|
|
20321
20326
|
return n.getTime() >= s.getTime() ? r + 1 : n.getTime() >= a.getTime() ? r : r - 1;
|
|
@@ -20335,7 +20340,7 @@ function Da(e) {
|
|
|
20335
20340
|
return n.setUTCFullYear(t.getFullYear()), +e - +n;
|
|
20336
20341
|
}
|
|
20337
20342
|
function ul(e, ...t) {
|
|
20338
|
-
const n =
|
|
20343
|
+
const n = cr.bind(
|
|
20339
20344
|
null,
|
|
20340
20345
|
e || t.find((r) => typeof r == "object")
|
|
20341
20346
|
);
|
|
@@ -20354,7 +20359,7 @@ function t3(e, t, n) {
|
|
|
20354
20359
|
return Math.round((a - l) / Jx);
|
|
20355
20360
|
}
|
|
20356
20361
|
function n3(e, t) {
|
|
20357
|
-
const n = jm(e, t), r =
|
|
20362
|
+
const n = jm(e, t), r = cr(e, 0);
|
|
20358
20363
|
return r.setFullYear(n, 0, 4), r.setHours(0, 0, 0, 0), Ia(r);
|
|
20359
20364
|
}
|
|
20360
20365
|
function sa(e, t) {
|
|
@@ -20362,7 +20367,7 @@ function sa(e, t) {
|
|
|
20362
20367
|
return n < 0 ? -1 : n > 0 ? 1 : n;
|
|
20363
20368
|
}
|
|
20364
20369
|
function r3(e) {
|
|
20365
|
-
return
|
|
20370
|
+
return cr(e, Date.now());
|
|
20366
20371
|
}
|
|
20367
20372
|
function o3(e) {
|
|
20368
20373
|
return e instanceof Date || typeof e == "object" && Object.prototype.toString.call(e) === "[object Date]";
|
|
@@ -20750,11 +20755,11 @@ const $3 = /^(\d+)(th|st|nd|rd)?/i, M3 = /\d+/i, V3 = {
|
|
|
20750
20755
|
wide: /^[1234](th|st|nd|rd)? quarter/i
|
|
20751
20756
|
}, j3 = {
|
|
20752
20757
|
any: [/1/i, /2/i, /3/i, /4/i]
|
|
20753
|
-
},
|
|
20758
|
+
}, U3 = {
|
|
20754
20759
|
narrow: /^[jfmasond]/i,
|
|
20755
20760
|
abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
|
|
20756
20761
|
wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
|
|
20757
|
-
},
|
|
20762
|
+
}, B3 = {
|
|
20758
20763
|
narrow: [
|
|
20759
20764
|
/^j/i,
|
|
20760
20765
|
/^f/i,
|
|
@@ -20825,9 +20830,9 @@ const $3 = /^(\d+)(th|st|nd|rd)?/i, M3 = /\d+/i, V3 = {
|
|
|
20825
20830
|
valueCallback: (e) => e + 1
|
|
20826
20831
|
}),
|
|
20827
20832
|
month: ws({
|
|
20828
|
-
matchPatterns:
|
|
20833
|
+
matchPatterns: U3,
|
|
20829
20834
|
defaultMatchWidth: "wide",
|
|
20830
|
-
parsePatterns:
|
|
20835
|
+
parsePatterns: B3,
|
|
20831
20836
|
defaultParseWidth: "any"
|
|
20832
20837
|
}),
|
|
20833
20838
|
day: ws({
|
|
@@ -20842,7 +20847,7 @@ const $3 = /^(\d+)(th|st|nd|rd)?/i, M3 = /\d+/i, V3 = {
|
|
|
20842
20847
|
parsePatterns: q3,
|
|
20843
20848
|
defaultParseWidth: "any"
|
|
20844
20849
|
})
|
|
20845
|
-
},
|
|
20850
|
+
}, Um = {
|
|
20846
20851
|
code: "en-US",
|
|
20847
20852
|
formatDistance: g3,
|
|
20848
20853
|
formatLong: w3,
|
|
@@ -20862,18 +20867,18 @@ function Y3(e, t) {
|
|
|
20862
20867
|
const n = _t(e, t == null ? void 0 : t.in), r = +Ia(n) - +n3(n);
|
|
20863
20868
|
return Math.round(r / Rm) + 1;
|
|
20864
20869
|
}
|
|
20865
|
-
function
|
|
20870
|
+
function Bm(e, t) {
|
|
20866
20871
|
var c, d, f, h;
|
|
20867
|
-
const n = _t(e, t == null ? void 0 : t.in), r = n.getFullYear(), o = Ni(), s = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((d = (c = t == null ? void 0 : t.locale) == null ? void 0 : c.options) == null ? void 0 : d.firstWeekContainsDate) ?? o.firstWeekContainsDate ?? ((h = (f = o.locale) == null ? void 0 : f.options) == null ? void 0 : h.firstWeekContainsDate) ?? 1, i =
|
|
20872
|
+
const n = _t(e, t == null ? void 0 : t.in), r = n.getFullYear(), o = Ni(), s = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((d = (c = t == null ? void 0 : t.locale) == null ? void 0 : c.options) == null ? void 0 : d.firstWeekContainsDate) ?? o.firstWeekContainsDate ?? ((h = (f = o.locale) == null ? void 0 : f.options) == null ? void 0 : h.firstWeekContainsDate) ?? 1, i = cr((t == null ? void 0 : t.in) || e, 0);
|
|
20868
20873
|
i.setFullYear(r + 1, 0, s), i.setHours(0, 0, 0, 0);
|
|
20869
|
-
const a = di(i, t), l =
|
|
20874
|
+
const a = di(i, t), l = cr((t == null ? void 0 : t.in) || e, 0);
|
|
20870
20875
|
l.setFullYear(r, 0, s), l.setHours(0, 0, 0, 0);
|
|
20871
20876
|
const u = di(l, t);
|
|
20872
20877
|
return +n >= +a ? r + 1 : +n >= +u ? r : r - 1;
|
|
20873
20878
|
}
|
|
20874
20879
|
function K3(e, t) {
|
|
20875
20880
|
var a, l, u, c;
|
|
20876
|
-
const n = Ni(), r = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((l = (a = t == null ? void 0 : t.locale) == null ? void 0 : a.options) == null ? void 0 : l.firstWeekContainsDate) ?? n.firstWeekContainsDate ?? ((c = (u = n.locale) == null ? void 0 : u.options) == null ? void 0 : c.firstWeekContainsDate) ?? 1, o =
|
|
20881
|
+
const n = Ni(), r = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((l = (a = t == null ? void 0 : t.locale) == null ? void 0 : a.options) == null ? void 0 : l.firstWeekContainsDate) ?? n.firstWeekContainsDate ?? ((c = (u = n.locale) == null ? void 0 : u.options) == null ? void 0 : c.firstWeekContainsDate) ?? 1, o = Bm(e, t), s = cr((t == null ? void 0 : t.in) || e, 0);
|
|
20877
20882
|
return s.setFullYear(o, 0, r), s.setHours(0, 0, 0, 0), di(s, t);
|
|
20878
20883
|
}
|
|
20879
20884
|
function G3(e, t) {
|
|
@@ -20884,7 +20889,7 @@ function Ge(e, t) {
|
|
|
20884
20889
|
const n = e < 0 ? "-" : "", r = Math.abs(e).toString().padStart(t, "0");
|
|
20885
20890
|
return n + r;
|
|
20886
20891
|
}
|
|
20887
|
-
const
|
|
20892
|
+
const vr = {
|
|
20888
20893
|
// Year
|
|
20889
20894
|
y(e, t) {
|
|
20890
20895
|
const n = e.getFullYear(), r = n > 0 ? n : 1 - n;
|
|
@@ -20967,11 +20972,11 @@ const br = {
|
|
|
20967
20972
|
const r = e.getFullYear(), o = r > 0 ? r : 1 - r;
|
|
20968
20973
|
return n.ordinalNumber(o, { unit: "year" });
|
|
20969
20974
|
}
|
|
20970
|
-
return
|
|
20975
|
+
return vr.y(e, t);
|
|
20971
20976
|
},
|
|
20972
20977
|
// Local week-numbering year
|
|
20973
20978
|
Y: function(e, t, n, r) {
|
|
20974
|
-
const o =
|
|
20979
|
+
const o = Bm(e, r), s = o > 0 ? o : 1 - o;
|
|
20975
20980
|
if (t === "YY") {
|
|
20976
20981
|
const i = s % 100;
|
|
20977
20982
|
return Ge(i, 2);
|
|
@@ -21058,7 +21063,7 @@ const br = {
|
|
|
21058
21063
|
switch (t) {
|
|
21059
21064
|
case "M":
|
|
21060
21065
|
case "MM":
|
|
21061
|
-
return
|
|
21066
|
+
return vr.M(e, t);
|
|
21062
21067
|
case "Mo":
|
|
21063
21068
|
return n.ordinalNumber(r + 1, { unit: "month" });
|
|
21064
21069
|
case "MMM":
|
|
@@ -21113,7 +21118,7 @@ const br = {
|
|
|
21113
21118
|
},
|
|
21114
21119
|
// Day of the month
|
|
21115
21120
|
d: function(e, t, n) {
|
|
21116
|
-
return t === "do" ? n.ordinalNumber(e.getDate(), { unit: "date" }) :
|
|
21121
|
+
return t === "do" ? n.ordinalNumber(e.getDate(), { unit: "date" }) : vr.d(e, t);
|
|
21117
21122
|
},
|
|
21118
21123
|
// Day of year
|
|
21119
21124
|
D: function(e, t, n) {
|
|
@@ -21336,11 +21341,11 @@ const br = {
|
|
|
21336
21341
|
let r = e.getHours() % 12;
|
|
21337
21342
|
return r === 0 && (r = 12), n.ordinalNumber(r, { unit: "hour" });
|
|
21338
21343
|
}
|
|
21339
|
-
return
|
|
21344
|
+
return vr.h(e, t);
|
|
21340
21345
|
},
|
|
21341
21346
|
// Hour [0-23]
|
|
21342
21347
|
H: function(e, t, n) {
|
|
21343
|
-
return t === "Ho" ? n.ordinalNumber(e.getHours(), { unit: "hour" }) :
|
|
21348
|
+
return t === "Ho" ? n.ordinalNumber(e.getHours(), { unit: "hour" }) : vr.H(e, t);
|
|
21344
21349
|
},
|
|
21345
21350
|
// Hour [0-11]
|
|
21346
21351
|
K: function(e, t, n) {
|
|
@@ -21354,15 +21359,15 @@ const br = {
|
|
|
21354
21359
|
},
|
|
21355
21360
|
// Minute
|
|
21356
21361
|
m: function(e, t, n) {
|
|
21357
|
-
return t === "mo" ? n.ordinalNumber(e.getMinutes(), { unit: "minute" }) :
|
|
21362
|
+
return t === "mo" ? n.ordinalNumber(e.getMinutes(), { unit: "minute" }) : vr.m(e, t);
|
|
21358
21363
|
},
|
|
21359
21364
|
// Second
|
|
21360
21365
|
s: function(e, t, n) {
|
|
21361
|
-
return t === "so" ? n.ordinalNumber(e.getSeconds(), { unit: "second" }) :
|
|
21366
|
+
return t === "so" ? n.ordinalNumber(e.getSeconds(), { unit: "second" }) : vr.s(e, t);
|
|
21362
21367
|
},
|
|
21363
21368
|
// Fraction of second
|
|
21364
21369
|
S: function(e, t) {
|
|
21365
|
-
return
|
|
21370
|
+
return vr.S(e, t);
|
|
21366
21371
|
},
|
|
21367
21372
|
// Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
|
|
21368
21373
|
X: function(e, t, n) {
|
|
@@ -21509,7 +21514,7 @@ function s4(e, t, n) {
|
|
|
21509
21514
|
const i4 = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, a4 = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, l4 = /^'([^]*?)'?$/, u4 = /''/g, c4 = /[a-zA-Z]/;
|
|
21510
21515
|
function d4(e, t, n) {
|
|
21511
21516
|
var c, d, f, h;
|
|
21512
|
-
const r = Ni(), o = r.locale ??
|
|
21517
|
+
const r = Ni(), o = r.locale ?? Um, s = r.firstWeekContainsDate ?? ((d = (c = r.locale) == null ? void 0 : c.options) == null ? void 0 : d.firstWeekContainsDate) ?? 1, i = r.weekStartsOn ?? ((h = (f = r.locale) == null ? void 0 : f.options) == null ? void 0 : h.weekStartsOn) ?? 0, a = _t(e, n == null ? void 0 : n.in);
|
|
21513
21518
|
if (!s3(a))
|
|
21514
21519
|
throw new RangeError("Invalid time value");
|
|
21515
21520
|
let l = t.match(a4).map((m) => {
|
|
@@ -21552,7 +21557,7 @@ function f4(e) {
|
|
|
21552
21557
|
return t ? t[1].replace(u4, "'") : e;
|
|
21553
21558
|
}
|
|
21554
21559
|
function h4(e, t, n) {
|
|
21555
|
-
const r = Ni(), o = (n == null ? void 0 : n.locale) ?? r.locale ??
|
|
21560
|
+
const r = Ni(), o = (n == null ? void 0 : n.locale) ?? r.locale ?? Um, s = 2520, i = sa(e, t);
|
|
21556
21561
|
if (isNaN(i)) throw new RangeError("Invalid time value");
|
|
21557
21562
|
const a = Object.assign({}, n, {
|
|
21558
21563
|
addSuffix: n == null ? void 0 : n.addSuffix,
|
|
@@ -21618,7 +21623,7 @@ const g4 = { class: "moonbase:subscriptions" }, b4 = {
|
|
|
21618
21623
|
s = await n(s.next), o.value.push(...s.items);
|
|
21619
21624
|
}), (s, i) => (p(), E("div", g4, [
|
|
21620
21625
|
o.value ? o.value.length === 0 ? (p(), E("div", v4, " No subscriptions found ")) : H("", !0) : (p(), E("div", b4, [
|
|
21621
|
-
y(
|
|
21626
|
+
y(Ht),
|
|
21622
21627
|
i[0] || (i[0] = N(" Loading subscriptions.. "))
|
|
21623
21628
|
])),
|
|
21624
21629
|
(p(!0), E(ce, null, it(o.value || [], (a) => (p(), E(ce, {
|
|
@@ -21689,7 +21694,7 @@ const g4 = { class: "moonbase:subscriptions" }, b4 = {
|
|
|
21689
21694
|
]),
|
|
21690
21695
|
_: 2
|
|
21691
21696
|
}, 1024),
|
|
21692
|
-
y(
|
|
21697
|
+
y(jt, null, {
|
|
21693
21698
|
default: k(() => [
|
|
21694
21699
|
N(D(a.milestoneProgress.currentNormalizedCycleNumber - (a.milestoneProgress.currentCycleIsCompleted ? 0 : 1)) + " / " + D(a.milestoneProgress.toNormalizedCycleNumber) + " " + D(b(ci)(a.cycleLength)) + "s ", 1)
|
|
21695
21700
|
]),
|
|
@@ -21821,7 +21826,7 @@ const g4 = { class: "moonbase:subscriptions" }, b4 = {
|
|
|
21821
21826
|
size: 72
|
|
21822
21827
|
}, null, 8, ["url"]),
|
|
21823
21828
|
L("div", O4, [
|
|
21824
|
-
y(
|
|
21829
|
+
y(ur, null, {
|
|
21825
21830
|
default: k(() => {
|
|
21826
21831
|
var i;
|
|
21827
21832
|
return [
|
|
@@ -21893,7 +21898,7 @@ const T4 = { class: "moonbase:product-downloads" }, I4 = ["data-open"], D4 = {
|
|
|
21893
21898
|
], w = W(() => m.flatMap((S) => [...(t.product.downloads ?? []).filter((M) => M.platform === S)]));
|
|
21894
21899
|
async function x(S) {
|
|
21895
21900
|
try {
|
|
21896
|
-
await i(S), s == null || s(
|
|
21901
|
+
await i(S), s == null || s(Lt.DownloadedProduct, {
|
|
21897
21902
|
product: t.product,
|
|
21898
21903
|
download: S,
|
|
21899
21904
|
user: r.user.value
|
|
@@ -21905,14 +21910,14 @@ const T4 = { class: "moonbase:product-downloads" }, I4 = ["data-open"], D4 = {
|
|
|
21905
21910
|
title: M.title,
|
|
21906
21911
|
detail: M.detail,
|
|
21907
21912
|
status: M.status,
|
|
21908
|
-
errors: M.errors ? Object.fromEntries(Object.entries(M.errors).map(([
|
|
21913
|
+
errors: M.errors ? Object.fromEntries(Object.entries(M.errors).map(([U, V]) => [U, [V]])) : void 0,
|
|
21909
21914
|
instance: "ProductDownloads.vue:startDownload"
|
|
21910
21915
|
});
|
|
21911
21916
|
else {
|
|
21912
|
-
const
|
|
21917
|
+
const U = M;
|
|
21913
21918
|
o.reportProblem("error", {
|
|
21914
|
-
type:
|
|
21915
|
-
title:
|
|
21919
|
+
type: U.name,
|
|
21920
|
+
title: U.message,
|
|
21916
21921
|
instance: "ProductDownloads.vue:startDownload"
|
|
21917
21922
|
});
|
|
21918
21923
|
}
|
|
@@ -21949,7 +21954,7 @@ const T4 = { class: "moonbase:product-downloads" }, I4 = ["data-open"], D4 = {
|
|
|
21949
21954
|
}, 512),
|
|
21950
21955
|
!a.value && u.value ? (p(), E("button", {
|
|
21951
21956
|
key: 0,
|
|
21952
|
-
onClick: M[0] || (M[0] = (
|
|
21957
|
+
onClick: M[0] || (M[0] = (U) => a.value = !0)
|
|
21953
21958
|
}, [
|
|
21954
21959
|
y(rt, null, {
|
|
21955
21960
|
default: k(() => M[2] || (M[2] = [
|
|
@@ -21994,17 +21999,17 @@ const T4 = { class: "moonbase:product-downloads" }, I4 = ["data-open"], D4 = {
|
|
|
21994
21999
|
})
|
|
21995
22000
|
])) : (p(), E("div", V4, [
|
|
21996
22001
|
L("div", L4, [
|
|
21997
|
-
(p(!0), E(ce, null, it(w.value, (
|
|
21998
|
-
key:
|
|
22002
|
+
(p(!0), E(ce, null, it(w.value, (U) => (p(), z(nn, {
|
|
22003
|
+
key: U.key,
|
|
21999
22004
|
class: "moonbase:product-downloads-download"
|
|
22000
22005
|
}, {
|
|
22001
22006
|
addon: k(() => [
|
|
22002
22007
|
L("div", R4, [
|
|
22003
22008
|
y(je, {
|
|
22004
|
-
label:
|
|
22005
|
-
variant:
|
|
22009
|
+
label: U.platform === b(cn).Universal ? "Download" : `Download for ${U.platform}`,
|
|
22010
|
+
variant: U.platform === b(h) ? "primary" : "secondary",
|
|
22006
22011
|
"no-reset": !0,
|
|
22007
|
-
handler: () => x(
|
|
22012
|
+
handler: () => x(U),
|
|
22008
22013
|
icon: b(jw)
|
|
22009
22014
|
}, null, 8, ["label", "variant", "handler", "icon"])
|
|
22010
22015
|
])
|
|
@@ -22013,13 +22018,13 @@ const T4 = { class: "moonbase:product-downloads" }, I4 = ["data-open"], D4 = {
|
|
|
22013
22018
|
L("div", null, [
|
|
22014
22019
|
y(Ye, null, {
|
|
22015
22020
|
default: k(() => [
|
|
22016
|
-
N(D(
|
|
22021
|
+
N(D(U.name), 1)
|
|
22017
22022
|
]),
|
|
22018
22023
|
_: 2
|
|
22019
22024
|
}, 1024),
|
|
22020
|
-
y(
|
|
22025
|
+
y(jt, null, {
|
|
22021
22026
|
default: k(() => [
|
|
22022
|
-
N(D(
|
|
22027
|
+
N(D(U.platform) + " - " + D(b(P4)(U.size)), 1)
|
|
22023
22028
|
]),
|
|
22024
22029
|
_: 2
|
|
22025
22030
|
}, 1024)
|
|
@@ -22041,7 +22046,7 @@ const T4 = { class: "moonbase:product-downloads" }, I4 = ["data-open"], D4 = {
|
|
|
22041
22046
|
]))
|
|
22042
22047
|
]));
|
|
22043
22048
|
}
|
|
22044
|
-
}),
|
|
22049
|
+
}), U4 = ["href"], B4 = /* @__PURE__ */ le({
|
|
22045
22050
|
__name: "LinkifiedText",
|
|
22046
22051
|
props: {
|
|
22047
22052
|
text: {}
|
|
@@ -22077,7 +22082,7 @@ const T4 = { class: "moonbase:product-downloads" }, I4 = ["data-open"], D4 = {
|
|
|
22077
22082
|
href: l.href,
|
|
22078
22083
|
target: "_blank",
|
|
22079
22084
|
rel: "noopener noreferrer nofollow"
|
|
22080
|
-
}, D(l.text), 9,
|
|
22085
|
+
}, D(l.text), 9, U4)) : (p(), E(ce, { key: 1 }, [
|
|
22081
22086
|
N(D(l.text), 1)
|
|
22082
22087
|
], 64))
|
|
22083
22088
|
], 64))), 128));
|
|
@@ -22105,7 +22110,7 @@ const T4 = { class: "moonbase:product-downloads" }, I4 = ["data-open"], D4 = {
|
|
|
22105
22110
|
return (s, i) => (p(), z(nn, { class: "moonbase:product-license" }, Qa({
|
|
22106
22111
|
default: k(() => [
|
|
22107
22112
|
L("div", null, [
|
|
22108
|
-
y(
|
|
22113
|
+
y(jt, null, {
|
|
22109
22114
|
default: k(() => [
|
|
22110
22115
|
N(D(s.product.name) + " license ", 1)
|
|
22111
22116
|
]),
|
|
@@ -22199,7 +22204,7 @@ const T4 = { class: "moonbase:product-downloads" }, I4 = ["data-open"], D4 = {
|
|
|
22199
22204
|
ref: r
|
|
22200
22205
|
}, {
|
|
22201
22206
|
default: k(() => [
|
|
22202
|
-
y(
|
|
22207
|
+
y(B4, {
|
|
22203
22208
|
text: s.license.fulfillmentMessage
|
|
22204
22209
|
}, null, 8, ["text"])
|
|
22205
22210
|
]),
|
|
@@ -22265,7 +22270,7 @@ const T4 = { class: "moonbase:product-downloads" }, I4 = ["data-open"], D4 = {
|
|
|
22265
22270
|
});
|
|
22266
22271
|
async function d(f) {
|
|
22267
22272
|
try {
|
|
22268
|
-
await i(f), r("revoked", f), l.value &&
|
|
22273
|
+
await i(f), r("revoked", f), l.value && zt(1e3).then(() => {
|
|
22269
22274
|
var h, m;
|
|
22270
22275
|
return (m = l.value) == null ? void 0 : m.splice((h = l.value) == null ? void 0 : h.indexOf(f), 1);
|
|
22271
22276
|
});
|
|
@@ -22305,7 +22310,7 @@ const T4 = { class: "moonbase:product-downloads" }, I4 = ["data-open"], D4 = {
|
|
|
22305
22310
|
__: [0]
|
|
22306
22311
|
}),
|
|
22307
22312
|
c.value ? (p(), E("div", Q4, [
|
|
22308
|
-
y(
|
|
22313
|
+
y(Ht)
|
|
22309
22314
|
])) : !f.product.numberOfLicenses && !f.product.subscriptionLicenses ? (p(), E("div", X4, [
|
|
22310
22315
|
y(Xe, null, {
|
|
22311
22316
|
default: k(() => h[1] || (h[1] = [
|
|
@@ -22340,7 +22345,7 @@ const T4 = { class: "moonbase:product-downloads" }, I4 = ["data-open"], D4 = {
|
|
|
22340
22345
|
}, Qa({
|
|
22341
22346
|
default: k(() => [
|
|
22342
22347
|
L("div", null, [
|
|
22343
|
-
y(
|
|
22348
|
+
y(jt, null, {
|
|
22344
22349
|
default: k(() => h[3] || (h[3] = [
|
|
22345
22350
|
N(" Device ")
|
|
22346
22351
|
])),
|
|
@@ -22355,7 +22360,7 @@ const T4 = { class: "moonbase:product-downloads" }, I4 = ["data-open"], D4 = {
|
|
|
22355
22360
|
}, 1024)
|
|
22356
22361
|
]),
|
|
22357
22362
|
L("div", null, [
|
|
22358
|
-
y(
|
|
22363
|
+
y(jt, null, {
|
|
22359
22364
|
default: k(() => h[4] || (h[4] = [
|
|
22360
22365
|
N(" Activation ")
|
|
22361
22366
|
])),
|
|
@@ -22370,7 +22375,7 @@ const T4 = { class: "moonbase:product-downloads" }, I4 = ["data-open"], D4 = {
|
|
|
22370
22375
|
}, 1024)
|
|
22371
22376
|
]),
|
|
22372
22377
|
m.lastValidatedAt ? (p(), E("div", tA, [
|
|
22373
|
-
y(
|
|
22378
|
+
y(jt, null, {
|
|
22374
22379
|
default: k(() => h[5] || (h[5] = [
|
|
22375
22380
|
N(" First activated ")
|
|
22376
22381
|
])),
|
|
@@ -22454,7 +22459,7 @@ const T4 = { class: "moonbase:product-downloads" }, I4 = ["data-open"], D4 = {
|
|
|
22454
22459
|
a.value = !1;
|
|
22455
22460
|
}), (l, u) => (p(), E("div", iA, [
|
|
22456
22461
|
a.value || !b(r) ? (p(), E("div", aA, [
|
|
22457
|
-
y(
|
|
22462
|
+
y(Ht)
|
|
22458
22463
|
])) : i.value ? (p(), E("div", lA, D(i.value), 1)) : s.value ? (p(), E("div", cA, [
|
|
22459
22464
|
y(N4, { product: s.value }, null, 8, ["product"]),
|
|
22460
22465
|
s.value.downloads ? (p(), z(j4, {
|
|
@@ -22507,7 +22512,7 @@ const T4 = { class: "moonbase:product-downloads" }, I4 = ["data-open"], D4 = {
|
|
|
22507
22512
|
default: k(() => [
|
|
22508
22513
|
r.value ? (p(), E("div", pA, [
|
|
22509
22514
|
L("div", null, [
|
|
22510
|
-
y(
|
|
22515
|
+
y(ur, null, {
|
|
22511
22516
|
default: k(() => [
|
|
22512
22517
|
N(D(r.value.name), 1)
|
|
22513
22518
|
]),
|
|
@@ -22652,7 +22657,7 @@ const T4 = { class: "moonbase:product-downloads" }, I4 = ["data-open"], D4 = {
|
|
|
22652
22657
|
size: 72
|
|
22653
22658
|
}, null, 8, ["url"]),
|
|
22654
22659
|
L("div", vA, [
|
|
22655
|
-
y(
|
|
22660
|
+
y(ur, null, {
|
|
22656
22661
|
default: k(() => {
|
|
22657
22662
|
var a;
|
|
22658
22663
|
return [
|
|
@@ -22718,7 +22723,7 @@ const T4 = { class: "moonbase:product-downloads" }, I4 = ["data-open"], D4 = {
|
|
|
22718
22723
|
size: 72
|
|
22719
22724
|
}, null, 8, ["url"]),
|
|
22720
22725
|
L("div", wA, [
|
|
22721
|
-
y(
|
|
22726
|
+
y(ur, null, {
|
|
22722
22727
|
default: k(() => {
|
|
22723
22728
|
var a;
|
|
22724
22729
|
return [
|
|
@@ -22774,7 +22779,7 @@ const T4 = { class: "moonbase:product-downloads" }, I4 = ["data-open"], D4 = {
|
|
|
22774
22779
|
_: 2
|
|
22775
22780
|
}, 1024),
|
|
22776
22781
|
r.type === "CouponCodeMilestone" && r.fulfilled && r.code ? (p(), E("div", AA, [
|
|
22777
|
-
y(
|
|
22782
|
+
y(jt, null, {
|
|
22778
22783
|
default: k(() => n[1] || (n[1] = [
|
|
22779
22784
|
N(" Your coupon code: ")
|
|
22780
22785
|
])),
|
|
@@ -22784,7 +22789,7 @@ const T4 = { class: "moonbase:product-downloads" }, I4 = ["data-open"], D4 = {
|
|
|
22784
22789
|
n[2] || (n[2] = L("br", null, null, -1)),
|
|
22785
22790
|
L("code", null, D(r.code), 1)
|
|
22786
22791
|
])) : r.type === "PerpetualLicenseConversionMilestone" && r.fulfilled ? (p(), E("div", CA, [
|
|
22787
|
-
y(
|
|
22792
|
+
y(jt, null, {
|
|
22788
22793
|
default: k(() => [
|
|
22789
22794
|
y(b(gc), { class: "moonbase:success-icon" }),
|
|
22790
22795
|
n[3] || (n[3] = N(" Your licenses have been converted to perpetual licenses. "))
|
|
@@ -22833,7 +22838,7 @@ const T4 = { class: "moonbase:product-downloads" }, I4 = ["data-open"], D4 = {
|
|
|
22833
22838
|
redirect: !1
|
|
22834
22839
|
})).completed) {
|
|
22835
22840
|
const x = await o(l.value.id);
|
|
22836
|
-
|
|
22841
|
+
zt(1500).then(() => l.value = x);
|
|
22837
22842
|
} else
|
|
22838
22843
|
throw new qo();
|
|
22839
22844
|
}
|
|
@@ -22874,7 +22879,7 @@ const T4 = { class: "moonbase:product-downloads" }, I4 = ["data-open"], D4 = {
|
|
|
22874
22879
|
}
|
|
22875
22880
|
return (w, x) => (p(), E("div", SA, [
|
|
22876
22881
|
d.value || !b(n) ? (p(), E("div", NA, [
|
|
22877
|
-
y(
|
|
22882
|
+
y(Ht)
|
|
22878
22883
|
])) : c.value ? (p(), E("div", PA, D(c.value), 1)) : l.value ? (p(), E("div", IA, [
|
|
22879
22884
|
y(EA, { subscription: l.value }, null, 8, ["subscription"]),
|
|
22880
22885
|
l.value.milestoneProgress ? (p(), E("div", DA, [
|
|
@@ -22885,7 +22890,7 @@ const T4 = { class: "moonbase:product-downloads" }, I4 = ["data-open"], D4 = {
|
|
|
22885
22890
|
]),
|
|
22886
22891
|
_: 1
|
|
22887
22892
|
}),
|
|
22888
|
-
y(
|
|
22893
|
+
y(jt, null, {
|
|
22889
22894
|
default: k(() => [
|
|
22890
22895
|
N(D(l.value.milestoneProgress.currentNormalizedCycleNumber - (l.value.milestoneProgress.currentCycleIsCompleted ? 0 : 1)) + " / " + D(l.value.milestoneProgress.toNormalizedCycleNumber) + " " + D(b(ci)(l.value.cycleLength)) + "s ", 1)
|
|
22891
22896
|
]),
|
|
@@ -22895,7 +22900,7 @@ const T4 = { class: "moonbase:product-downloads" }, I4 = ["data-open"], D4 = {
|
|
|
22895
22900
|
y(Lm, {
|
|
22896
22901
|
progress: l.value.milestoneProgress
|
|
22897
22902
|
}, null, 8, ["progress"]),
|
|
22898
|
-
l.value.milestoneProgress.description ? (p(), z(
|
|
22903
|
+
l.value.milestoneProgress.description ? (p(), z(jt, { key: 0 }, {
|
|
22899
22904
|
default: k(() => [
|
|
22900
22905
|
N(D(l.value.milestoneProgress.description), 1)
|
|
22901
22906
|
]),
|
|
@@ -22918,7 +22923,7 @@ const T4 = { class: "moonbase:product-downloads" }, I4 = ["data-open"], D4 = {
|
|
|
22918
22923
|
variant: "danger",
|
|
22919
22924
|
handler: h
|
|
22920
22925
|
}),
|
|
22921
|
-
y(
|
|
22926
|
+
y(jt, null, {
|
|
22922
22927
|
default: k(() => [
|
|
22923
22928
|
x[1] || (x[1] = N(" Cancelling a subscription will let you use the products to the end of the current period, after which you will lose access. If you want to continue using the products later, you may simply renew this subscription whenever you wish. You are currently paying ")),
|
|
22924
22929
|
L("strong", null, D(b(xt)(l.value.total.due)), 1),
|
|
@@ -22932,7 +22937,7 @@ const T4 = { class: "moonbase:product-downloads" }, I4 = ["data-open"], D4 = {
|
|
|
22932
22937
|
_: 1,
|
|
22933
22938
|
__: [1, 2]
|
|
22934
22939
|
})
|
|
22935
|
-
], 64)) : l.value.status === b(Lr).Completed ? (p(), z(
|
|
22940
|
+
], 64)) : l.value.status === b(Lr).Completed ? (p(), z(jt, { key: 1 }, {
|
|
22936
22941
|
default: k(() => [
|
|
22937
22942
|
y(b(gc), { class: "moonbase:success-icon" }),
|
|
22938
22943
|
x[3] || (x[3] = N(" This subscription has been completed, and cannot be renewed. "))
|
|
@@ -22951,7 +22956,7 @@ const T4 = { class: "moonbase:product-downloads" }, I4 = ["data-open"], D4 = {
|
|
|
22951
22956
|
variant: "danger",
|
|
22952
22957
|
handler: h
|
|
22953
22958
|
}),
|
|
22954
|
-
y(
|
|
22959
|
+
y(jt, null, {
|
|
22955
22960
|
default: k(() => [
|
|
22956
22961
|
N(" We could not renew this subscription on the expiry date, the next attempt will be " + D(b(es)(l.value.nextPaymentScheduledAt)) + ". To make sure you can use your products un-interrupted, continue the subscription, or cancel it if you do not wish to keep using these products. ", 1)
|
|
22957
22962
|
]),
|
|
@@ -22963,7 +22968,7 @@ const T4 = { class: "moonbase:product-downloads" }, I4 = ["data-open"], D4 = {
|
|
|
22963
22968
|
variant: "primary",
|
|
22964
22969
|
handler: f
|
|
22965
22970
|
}),
|
|
22966
|
-
y(
|
|
22971
|
+
y(jt, null, {
|
|
22967
22972
|
default: k(() => [
|
|
22968
22973
|
N(" This subscription has been stopped, and " + D(l.value.expiresAt > u.value ? "expires" : "expired") + " " + D(b(es)(l.value.expiresAt)) + ". If you want to continue using the products after this date, you may continue the subscription to regain access. ", 1)
|
|
22969
22974
|
]),
|
|
@@ -23041,15 +23046,15 @@ function RA(e) {
|
|
|
23041
23046
|
const t = (n) => Array.isArray(n) ? n.map((r) => t(r)) : nt(n) || yn(n) || Go(n) ? t(_e(n)) : n && typeof n == "object" ? Object.keys(n).reduce((r, o) => (r[o] = t(n[o]), r), {}) : n;
|
|
23042
23047
|
return t(e);
|
|
23043
23048
|
}
|
|
23044
|
-
const zm = Symbol("url"), jA = Symbol("moonbase_instance"),
|
|
23049
|
+
const zm = Symbol("url"), jA = Symbol("moonbase_instance"), er = (e, t) => window.dispatchEvent(new CustomEvent(`moonbase-storefront-${e}`, {
|
|
23045
23050
|
detail: RA(t)
|
|
23046
23051
|
})), wo = Symbol("event-emitter");
|
|
23047
|
-
class
|
|
23052
|
+
class UA {
|
|
23048
23053
|
constructor() {
|
|
23049
|
-
|
|
23050
|
-
|
|
23051
|
-
|
|
23052
|
-
|
|
23054
|
+
Br(this, "initialized", !1);
|
|
23055
|
+
Br(this, "pinia");
|
|
23056
|
+
Br(this, "storefront");
|
|
23057
|
+
Br(this, "options");
|
|
23053
23058
|
}
|
|
23054
23059
|
async setup(t, n) {
|
|
23055
23060
|
var u, c;
|
|
@@ -23069,21 +23074,26 @@ class BA {
|
|
|
23069
23074
|
const d = /^(https:\/\/[a-z\-]+\.(?:beta\.)?moonbase\.sh)(.+)/.exec(t);
|
|
23070
23075
|
d && d.length > 1 && d[1] && (s = d[1], console.warn(`Moonbase url set up incorrectly, should be ${s}, was ${t}`));
|
|
23071
23076
|
}
|
|
23072
|
-
this.storefront = d1(s), this.pinia = V1(), Vy(LA).use(this.storefront).use(this.pinia).provide(ut, this.options).provide(zm, s.replace(/\/$/, "")).provide(wo,
|
|
23077
|
+
this.storefront = d1(s), this.pinia = V1(), Vy(LA).use(this.storefront).use(this.pinia).provide(ut, this.options).provide(zm, s.replace(/\/$/, "")).provide(wo, er).provide(jA, this).mount("#moonbase"), this.initialized = !0, window && window.location && this.handleLocationIntent(window.location);
|
|
23073
23078
|
const a = xe(this.pinia), l = Fe(this.storefront);
|
|
23074
|
-
|
|
23075
|
-
|
|
23079
|
+
this.storefront.onStorefrontUpdated((d) => {
|
|
23080
|
+
er(Lt.StorefrontUpdated, {
|
|
23081
|
+
storefront: d,
|
|
23082
|
+
user: l.user.value
|
|
23083
|
+
});
|
|
23084
|
+
}), (c = this.storefront) == null || c.onCheckoutInitiated((d, f) => {
|
|
23085
|
+
er(Lt.CheckoutInitiated, {
|
|
23076
23086
|
order: d,
|
|
23077
23087
|
total: f,
|
|
23078
23088
|
user: l.user.value
|
|
23079
23089
|
});
|
|
23080
23090
|
}), this.storefront.onCheckoutClosed((d) => {
|
|
23081
|
-
|
|
23091
|
+
er(Lt.CheckoutClosed, {
|
|
23082
23092
|
order: this.storefront.currentOrder.value,
|
|
23083
23093
|
user: l.user.value
|
|
23084
23094
|
}), d === q.ViewProducts && (l.user.value ? a.show(te.Customer, q.ViewProducts) : a.show(te.Cart, q.ViewCart));
|
|
23085
23095
|
}), this.storefront.onCheckoutCompleted((d) => {
|
|
23086
|
-
|
|
23096
|
+
er(Lt.CheckoutCompleted, {
|
|
23087
23097
|
order: d,
|
|
23088
23098
|
user: l.user.value
|
|
23089
23099
|
});
|
|
@@ -23217,7 +23227,7 @@ class BA {
|
|
|
23217
23227
|
xe(this.pinia).show(te.Cart, q.ViewCart);
|
|
23218
23228
|
}
|
|
23219
23229
|
async add_to_cart(t) {
|
|
23220
|
-
var s, i, a, l, u, c, d, f, h, m, w, x, S, M,
|
|
23230
|
+
var s, i, a, l, u, c, d, f, h, m, w, x, S, M, U, V, B, $;
|
|
23221
23231
|
if (!this.initialized)
|
|
23222
23232
|
throw new Error("Moonbase has not been set up yet");
|
|
23223
23233
|
if (!(t != null && t.product_id) && !(t != null && t.bundle_id))
|
|
@@ -23228,7 +23238,7 @@ class BA {
|
|
|
23228
23238
|
if (v.value) {
|
|
23229
23239
|
let A = n.addToCart(v.value, (s = v.value.variations) == null ? void 0 : s.find((C) => C.id === t.variation_id), (o == null ? void 0 : o.value) || void 0);
|
|
23230
23240
|
const P = ((i = A.price) == null ? void 0 : i[n.currency.value]) === 0;
|
|
23231
|
-
t != null && t.quantity && (A = n.setQuantity(A, A.quantity + t.quantity - 1)), (P ? ((a = this.options) == null ? void 0 : a.value.cart.leadMagnets.quantity) === "single" : ((l = this.options) == null ? void 0 : l.value.cart.quantity) === "single") && (A = n.setQuantity(A, 1)),
|
|
23241
|
+
t != null && t.quantity && (A = n.setQuantity(A, A.quantity + t.quantity - 1)), (P ? ((a = this.options) == null ? void 0 : a.value.cart.leadMagnets.quantity) === "single" : ((l = this.options) == null ? void 0 : l.value.cart.quantity) === "single") && (A = n.setQuantity(A, 1)), er(Lt.AddedToCart, {
|
|
23232
23242
|
item: A,
|
|
23233
23243
|
currency: n.currency.value,
|
|
23234
23244
|
user: r.user.value
|
|
@@ -23239,7 +23249,7 @@ class BA {
|
|
|
23239
23249
|
if (A.value) {
|
|
23240
23250
|
let P = n.addToCart(A.value, (u = A.value.variations) == null ? void 0 : u.find((T) => T.id === t.variation_id), (o == null ? void 0 : o.value) || void 0);
|
|
23241
23251
|
const C = ((c = P.price) == null ? void 0 : c[n.currency.value]) === 0;
|
|
23242
|
-
t != null && t.quantity && (P = n.setQuantity(P, P.quantity + t.quantity - 1)), (C ? ((d = this.options) == null ? void 0 : d.value.cart.leadMagnets.quantity) === "single" : ((f = this.options) == null ? void 0 : f.value.cart.quantity) === "single") && (P = n.setQuantity(P, 1)),
|
|
23252
|
+
t != null && t.quantity && (P = n.setQuantity(P, P.quantity + t.quantity - 1)), (C ? ((d = this.options) == null ? void 0 : d.value.cart.leadMagnets.quantity) === "single" : ((f = this.options) == null ? void 0 : f.value.cart.quantity) === "single") && (P = n.setQuantity(P, 1)), er(Lt.AddedToCart, {
|
|
23243
23253
|
item: P,
|
|
23244
23254
|
currency: n.currency.value,
|
|
23245
23255
|
user: r.user.value
|
|
@@ -23254,7 +23264,7 @@ class BA {
|
|
|
23254
23264
|
const A = (h = v.value.variations) == null ? void 0 : h.find((T) => T.id === t.variation_id);
|
|
23255
23265
|
let P = n.addToCart(v.value, A, (o == null ? void 0 : o.value) || void 0, { bundleBehaviour: (m = this.options) == null ? void 0 : m.value.cart.bundles.onAdd });
|
|
23256
23266
|
const C = ((w = P.price) == null ? void 0 : w[n.currency.value]) === 0;
|
|
23257
|
-
t != null && t.quantity && (P = n.setQuantity(P, P.quantity + t.quantity - 1)), (C ? ((x = this.options) == null ? void 0 : x.value.cart.leadMagnets.quantity) === "single" : ((S = this.options) == null ? void 0 : S.value.cart.quantity) === "single") && (P = n.setQuantity(P, 1)),
|
|
23267
|
+
t != null && t.quantity && (P = n.setQuantity(P, P.quantity + t.quantity - 1)), (C ? ((x = this.options) == null ? void 0 : x.value.cart.leadMagnets.quantity) === "single" : ((S = this.options) == null ? void 0 : S.value.cart.quantity) === "single") && (P = n.setQuantity(P, 1)), er(Lt.AddedToCart, {
|
|
23258
23268
|
item: P,
|
|
23259
23269
|
currency: n.currency.value,
|
|
23260
23270
|
user: r.user.value
|
|
@@ -23264,9 +23274,9 @@ class BA {
|
|
|
23264
23274
|
const A = ea(t.bundle_id, this.storefront);
|
|
23265
23275
|
if (A.value) {
|
|
23266
23276
|
const P = (M = A.value.variations) == null ? void 0 : M.find((j) => j.id === t.variation_id);
|
|
23267
|
-
let C = n.addToCart(A.value, P, (o == null ? void 0 : o.value) || void 0, { bundleBehaviour: (
|
|
23277
|
+
let C = n.addToCart(A.value, P, (o == null ? void 0 : o.value) || void 0, { bundleBehaviour: (U = this.options) == null ? void 0 : U.value.cart.bundles.onAdd });
|
|
23268
23278
|
const T = ((V = C.price) == null ? void 0 : V[n.currency.value]) === 0;
|
|
23269
|
-
t != null && t.quantity && (C = n.setQuantity(C, C.quantity + t.quantity - 1)), (T ? ((
|
|
23279
|
+
t != null && t.quantity && (C = n.setQuantity(C, C.quantity + t.quantity - 1)), (T ? ((B = this.options) == null ? void 0 : B.value.cart.leadMagnets.quantity) === "single" : (($ = this.options) == null ? void 0 : $.value.cart.quantity) === "single") && (C = n.setQuantity(C, 1)), er(Lt.AddedToCart, {
|
|
23270
23280
|
item: C,
|
|
23271
23281
|
currency: n.currency.value,
|
|
23272
23282
|
user: r.user.value
|
|
@@ -23344,10 +23354,10 @@ class BA {
|
|
|
23344
23354
|
xe(this.pinia).show(te.About, q.ViewAbout);
|
|
23345
23355
|
}
|
|
23346
23356
|
}
|
|
23347
|
-
const _u = new
|
|
23357
|
+
const _u = new UA();
|
|
23348
23358
|
globalThis && (globalThis.Moonbase ? console.warn("Multiple instances of Moonbase detected, only one will be initialized") : globalThis.Moonbase = _u);
|
|
23349
23359
|
export {
|
|
23350
|
-
|
|
23360
|
+
Lt as MoonbaseEvent,
|
|
23351
23361
|
q as MoonbaseIntent,
|
|
23352
23362
|
_u as default,
|
|
23353
23363
|
wo as eventEmitterKey,
|