@moonbase.sh/storefront 0.2.47 → 0.2.49
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/dist/moonbase.js +481 -474
- package/dist/moonbase.umd.cjs +11 -11
- package/package.json +2 -2
package/dist/moonbase.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var o=document.createElement("style");o.appendChild(document.createTextNode('#moonbase .moonbase\\:toolbar{position:fixed;bottom:32px;border-radius:16px;background-color:#1a1a1a;color:#f9f9f9;display:flex;transition-duration:.1s;transition-property:all;transition-timing-function:ease-out;transform:translateY(8px);opacity:0}#moonbase .moonbase\\:toolbar[data-location=bottom-right]{right:32px}#moonbase .moonbase\\:toolbar[data-location=bottom-left]{left:32px}#moonbase .moonbase\\:toolbar[data-visible=true]{transform:translateY(0);opacity:1;transition-duration:.5s}#moonbase .moonbase\\:toolbar-action{padding:12px 16px;transition:background-color .25s ease-out;cursor:pointer;display:flex;align-items:center}#moonbase .moonbase\\:toolbar-action:nth-child(1){border-top-left-radius:16px;border-bottom-left-radius:16px}#moonbase .moonbase\\:toolbar-action:last-child{border-top-right-radius:16px;border-bottom-right-radius:16px}#moonbase .moonbase\\:toolbar-action:hover{background-color:#ffffff1a}#moonbase .moonbase\\:toolbar-action[data-action-width=narrow]{padding:12px}#moonbase .moonbase\\:input label{display:block;font-size:14px;font-weight:500;line-height:20px;color:#374151}#moonbase .moonbase\\:input input{display:block;width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:calc(var(--moonbase-input-border-radius) * .5);border-width:1px;border-color:#d1d5db;background-color:var(--moonbase-input-background-color);font-size:.875rem;line-height:1.25rem;padding:8px 12px;margin-top:4px;box-shadow:0 1px 2px 0 var(--moonbase-input-shadow-color)}#moonbase .moonbase\\:input input:focus{outline:2px solid transparent;outline-offset:2px;box-shadow:#fff 0 0 0 2px,var(--moonbase-input-active-color) 0 0 0 4px,0 1px 2px 0 var(--moonbase-input-shadow-color)}#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)}@keyframes moonbase\\:spin-687bcaf0{to{transform:rotate(360deg)}}#moonbase svg[data-v-687bcaf0]{animation:moonbase\\:spin-687bcaf0 1s linear infinite}#moonbase .moonbase\\:submit-button[data-v-1440b0cf]{position:relative;display:flex;justify-content:center;overflow:hidden;transition-property:color,background-color,border-color,box-shadow;transition-timing-function:ease-in-out;transition-duration:.2s;box-shadow:0 1px 2px 0 var(--moonbase-button-shadow-color)}#moonbase .moonbase\\:submit-button[data-v-1440b0cf][data-v-1440b0cf],#moonbase .moonbase\\:submit-button[data-v-1440b0cf][data-v-1440b0cf]:hover,#moonbase .moonbase\\:submit-button[data-v-1440b0cf][data-v-1440b0cf]:focus,#moonbase .moonbase\\:submit-button[data-v-1440b0cf][data-v-1440b0cf]:active{font-size:.875rem;font-weight:500;line-height:1.25rem;border-radius:var(--moonbase-button-border-radius);border-width:1px;border-color:transparent;border-style:solid;color:var(--moonbase-button-text-color);background-color:var(--moonbase-button-background-color);padding:var(--moonbase-button-padding);height:unset;width:unset}#moonbase .moonbase\\:submit-button[data-v-1440b0cf][data-v-1440b0cf]:hover{background-color:hsl(from var(--moonbase-button-background-color) h s calc(l - 5))}#moonbase .moonbase\\:submit-button[data-v-1440b0cf][data-v-1440b0cf]:focus{transition-duration:.1s;outline:2px solid transparent;outline-offset:2px;box-shadow:#fff 0 0 0 2px,var(--moonbase-button-background-color) 0 0 0 4px,0 1px 2px 0 var(--moonbase-button-shadow-color)}#moonbase .moonbase\\:submit-button[data-v-1440b0cf][data-success][data-v-1440b0cf]{background-color:var(--moonbase-button-success-color)}#moonbase .moonbase\\:submit-button[data-v-1440b0cf][data-error][data-v-1440b0cf]{background-color:var(--moonbase-button-error-color)}#moonbase .moonbase\\:submit-button[data-v-1440b0cf] div[data-v-1440b0cf]{margin-left:-12px;margin-right:12px;height:20px;width:0px;opacity:0;transition-property:opacity,width;transition-duration:.2s;transition-timing-function:ease-in-out}#moonbase .moonbase\\:submit-button[data-v-1440b0cf] div[data-v-1440b0cf][data-visible][data-v-1440b0cf]{width:20px;opacity:1}#moonbase .moonbase\\:submit-button[data-v-1440b0cf] div[data-v-1440b0cf] svg[data-v-1440b0cf]{height:20px;width:20px}#moonbase .moonbase\\:checkbox{display:flex;align-items:flex-start}#moonbase .moonbase\\:checkbox label{font-size:14px;font-weight:500;line-height:20px;color:#374151}#moonbase .moonbase\\:checkbox .moonbase\\:checkbox-container{display:flex;height:24px;align-items:center}#moonbase .moonbase\\:checkbox input{height:16px;width:16px;border-radius:var(--moonbase-input-border-radius);border-width:1px;border-color:#d1d5db;background-color:var(--moonbase-input-background-color);font-size:.875rem;line-height:1.25rem;padding:8px 12px;margin-top:4px;box-shadow:0 1px 2px 0 var(--moonbase-input-shadow-color)}#moonbase .moonbase\\:checkbox input:focus{outline:2px solid transparent;outline-offset:2px;box-shadow:#fff 0 0 0 2px,var(--moonbase-input-active-color) 0 0 0 4px,0 1px 2px 0 var(--moonbase-input-shadow-color)}#moonbase .moonbase\\:checkbox .moonbase\\:checkbox-description{margin-left:12px}#moonbase .moonbase\\:checkbox .moonbase\\:checkbox-description label{font-size:14px;line-height:24px;font-weight:500;color:hsl(from var(--moonbase-text-color) h s calc(l + 5))}#moonbase .moonbase\\:checkbox .moonbase\\:checkbox-description p{font-size:14px;line-height:24px;color:hsl(from var(--moonbase-text-color) h s calc(l + 15))}#moonbase .moonbase\\:checkbox .moonbase\\:checkbox-description p[data-type=error]{color:var(--moonbase-input-error-color)}#moonbase .moonbase\\:sign-up{display:flex;flex-direction:column}#moonbase .moonbase\\:sign-up>*:not(:first-child){margin-top:16px}#moonbase .moonbase\\:sign-up .moonbase\\:error{text-align:center;color:var(--moonbase-error-color, rgb(167, 33, 33));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\\: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-error-color);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\\: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-error-color, rgb(167, 33, 33));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\\: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-error-color);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\\:modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9999;overflow-y:auto}#moonbase .moonbase\\:modal-container{display:flex;min-height:100svh;align-items:flex-end;justify-content:center;padding:16px 16px 90px;text-align:center}@media (min-width: 640px){#moonbase .moonbase\\:modal-container{display:block;padding:0}}#moonbase .moonbase\\:modal-center{display:none}@media (min-width: 640px){#moonbase .moonbase\\:modal-center{display:inline-block;height:100svh;vertical-align:middle}}#moonbase .moonbase\\:modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;transition-property:opacity}#moonbase .moonbase\\:modal-overlay[data-transition~=enter]{transition-timing-function:ease-out;transition-duration:.3s}#moonbase .moonbase\\:modal-overlay[data-transition~=enter-from],#moonbase .moonbase\\:modal-overlay[data-transition~=leave-to]{opacity:0}#moonbase .moonbase\\:modal-overlay[data-transition~=enter-to],#moonbase .moonbase\\:modal-overlay[data-transition~=leave-from]{opacity:1}#moonbase .moonbase\\:modal-overlay[data-transition~=leave]{transition-timing-function:ease-in;transition-duration:.2s}#moonbase .moonbase\\:modal-content{position:relative;display:inline-block;margin:80px auto 16px;background-color:var(--moonbase-background-color, white);box-shadow:#64646f33 0 8px 32px;border-radius:calc(var(--moonbase-border-radius, 6px) * 2);vertical-align:bottom;transition-property:all;text-align:left}@media (min-width: 640px){#moonbase .moonbase\\:modal-content{vertical-align:middle}}#moonbase .moonbase\\:modal-content[data-transition~=enter]{transition-timing-function:ease-out;transition-duration:.3s}#moonbase .moonbase\\:modal-content[data-transition~=enter-from]{opacity:0;transform:translateY(16px)}@media (min-width: 640px){#moonbase .moonbase\\:modal-content[data-transition~=enter-from]{transform:scale(.95)}}#moonbase .moonbase\\:modal-content[data-transition~=enter-to]{opacity:1;transform:translateY(0)}@media (min-width: 640px){#moonbase .moonbase\\:modal-content[data-transition~=enter-to]{transform:scale(1)}}#moonbase .moonbase\\:modal-content[data-transition~=leave]{transition-timing-function:ease-in;transition-duration:.2s}#moonbase .moonbase\\:modal-content[data-transition~=leave-from]{opacity:1;transform:translateY(0)}@media (min-width: 640px){#moonbase .moonbase\\:modal-content[data-transition~=leave-from]{transform:scale(1)}}#moonbase .moonbase\\:modal-content[data-transition~=leave-to]{opacity:0;transform:translateY(16px)}@media (min-width: 640px){#moonbase .moonbase\\:modal-content[data-transition~=leave-to]{transform:scale(.95)}}#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-error-color, rgb(167, 33, 33));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\\:authentication{display:inline-block;color:var(--moonbase-text-color, black);padding:32px 64px}@media (min-width: 640px){#moonbase .moonbase\\:authentication{width:100vw;max-width:26rem}}#moonbase .moonbase\\:authentication>h3{font-size:1.125rem;line-height:1.5rem;font-weight:500;text-align:center;margin-bottom:1.5rem}#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\\:product-cart-item{display:flex;align-items:center}#moonbase .moonbase\\:product-cart-item>:not(:first-child){margin-left:24px}#moonbase .moonbase\\:product-cart-item>img{height:80px;width:80px;flex:none;border-radius:6px;object-fit:cover;object-position:center}#moonbase .moonbase\\:product-cart-item>.moonbase\\:image-placeholder{height:80px;width:80px;flex:none;border-radius:6px;background:var(--moonbase-primary-color, rgb(30 64 175))}#moonbase .moonbase\\:product-cart-item>.moonbase\\:product-cart-item-content{display:flex;flex:1 1 auto;flex-direction:column;align-items:flex-start}#moonbase .moonbase\\:product-cart-item>.moonbase\\:product-cart-item-content>:not(:first-child){margin-top:4px}#moonbase .moonbase\\:product-cart-item>.moonbase\\:product-cart-item-content h3{font-weight:600}#moonbase .moonbase\\:product-cart-item>.moonbase\\:product-cart-item-content .moonbase\\:cart-item-discount{color:hsl(from var(--moonbase-success-color, rgb(22 163 74)) h s calc(l - 10))}#moonbase .moonbase\\:product-cart-item>.moonbase\\:product-cart-item-total{flex:none;text-align:right;font-weight:500;font-size:16px;line-height:21px}#moonbase .moonbase\\:product-cart-item>.moonbase\\:product-cart-item-total>span{display:block;font-size:14px;line-height:20px;opacity:.75}#moonbase .moonbase\\:product-cart-item>.moonbase\\:product-cart-item-total>span.moonbase\\:discount{text-decoration:line-through}#moonbase .moonbase\\:bundle-cart-item{display:flex;align-items:center}#moonbase .moonbase\\:bundle-cart-item>:not(:first-child){margin-left:24px}#moonbase .moonbase\\:bundle-cart-item>img{height:80px;width:80px;flex:none;border-radius:6px;object-fit:cover;object-position:center}#moonbase .moonbase\\:bundle-cart-item>.moonbase\\:image-placeholder{height:80px;width:80px;flex:none;border-radius:6px;background:var(--moonbase-primary-color, rgb(30 64 175))}#moonbase .moonbase\\:bundle-cart-item>.moonbase\\:bundle-cart-item-content{display:flex;flex:1 1 auto;flex-direction:column;align-items:flex-start}#moonbase .moonbase\\:bundle-cart-item>.moonbase\\:bundle-cart-item-content>:not(:first-child){margin-top:4px}#moonbase .moonbase\\:bundle-cart-item>.moonbase\\:bundle-cart-item-content h3{font-weight:600}#moonbase .moonbase\\:bundle-cart-item>.moonbase\\:bundle-cart-item-content .moonbase\\:cart-item-discount{color:hsl(from var(--moonbase-success-color, rgb(22 163 74)) h s calc(l - 10))}#moonbase .moonbase\\:bundle-cart-item>.moonbase\\:bundle-cart-item-content .moonbase\\:bundle-cart-item-summary{display:flex;align-items:flex-start;flex-direction:column}#moonbase .moonbase\\:bundle-cart-item>.moonbase\\:bundle-cart-item-content .moonbase\\:bundle-cart-item-summary>:not(:first-child){margin-top:2px}#moonbase .moonbase\\:bundle-cart-item>.moonbase\\:bundle-cart-item-content .moonbase\\:bundle-cart-item-summary button{display:flex;align-items:center}#moonbase .moonbase\\:bundle-cart-item>.moonbase\\:bundle-cart-item-content .moonbase\\:bundle-cart-item-summary button 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-content .moonbase\\:bundle-cart-item-summary button svg[data-open]{transform:rotate(180deg)}#moonbase .moonbase\\:bundle-cart-item>.moonbase\\:product-cart-item-total{flex:none;text-align:right;font-weight:500;font-size:16px;line-height:21px}#moonbase .moonbase\\:bundle-cart-item>.moonbase\\:product-cart-item-total>span{display:block;font-size:14px;line-height:20px;opacity:.75}#moonbase .moonbase\\:bundle-cart-item>.moonbase\\:product-cart-item-total>span.moonbase\\:discount{text-decoration:line-through}#moonbase .moonbase\\:bundle-cart-item-product-list{overflow:hidden;padding-left:24px;transition-property:height;transition-duration:.3s;transition-timing-function:ease-in-out}#moonbase .moonbase\\:bundle-cart-item-product-list>:not(:first-child){border-top-width:1px;border-color:#0000001a}#moonbase .moonbase\\:bundle-cart-item-product-list>div{display:flex;align-items:center;padding:8px 0}#moonbase .moonbase\\:bundle-cart-item-product-list>div>:not(:first-child){margin-left:16px}#moonbase .moonbase\\:bundle-cart-item-product-list>div>img{height:64px;width:64px;flex:none;border-radius:6px;object-fit:cover;object-position:center}#moonbase .moonbase\\:bundle-cart-item-product-list>div>.moonbase\\:image-placeholder{height:64px;width:64px;flex:none;border-radius:6px;background:var(--moonbase-primary-color, rgb(30 64 175))}#moonbase .moonbase\\:bundle-cart-item-product-list>div>div{display:flex;flex:auto;flex-direction:column;align-items:flex-start}#moonbase .moonbase\\:bundle-cart-item-product-list>div>div>:not(:first-child){margin-top:4px}#moonbase .moonbase\\:bundle-cart-item-product-list>div>div h3{display:flex;align-items:center}#moonbase .moonbase\\:bundle-cart-item-product-list>div>div h3:not([data-included]){text-decoration:line-through;opacity:.75}#moonbase .moonbase\\:bundle-cart-item-product-list>div>div h3 svg{margin-right:4px;height:16px;width:16px}#moonbase .moonbase\\:cart-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9999;overflow-y:auto}#moonbase .moonbase\\:cart-modal-container{display:flex;height:100svh;align-items:flex-end;justify-content:center;padding:16px 16px 90px}@media (min-width: 640px){#moonbase .moonbase\\:cart-modal-container{display:block;padding:0}}#moonbase .moonbase\\:cart-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;transition-property:opacity}#moonbase .moonbase\\:cart-modal-overlay[data-transition~=enter]{transition-timing-function:ease-out;transition-duration:.3s}#moonbase .moonbase\\:cart-modal-overlay[data-transition~=enter-from],#moonbase .moonbase\\:cart-modal-overlay[data-transition~=leave-to]{opacity:0}#moonbase .moonbase\\:cart-modal-overlay[data-transition~=enter-to],#moonbase .moonbase\\:cart-modal-overlay[data-transition~=leave-from]{opacity:1}#moonbase .moonbase\\:cart-modal-overlay[data-transition~=leave]{transition-timing-function:ease-in;transition-duration:.2s}#moonbase .moonbase\\:cart-modal-content{position:fixed;top:0;right:0;bottom:0;display:inline-block;background-color:var(--moonbase-background-color, white);box-shadow:#64646f33 0 8px 32px;transition-property:all}#moonbase .moonbase\\:cart-modal-content[data-transition~=enter]{transition-timing-function:ease-out;transition-duration:.3s}#moonbase .moonbase\\:cart-modal-content[data-transition~=enter-from]{opacity:0;transform:translateY(16px)}@media (min-width: 640px){#moonbase .moonbase\\:cart-modal-content[data-transition~=enter-from]{transform:translate(48px)}}#moonbase .moonbase\\:cart-modal-content[data-transition~=enter-to]{opacity:1;transform:translateY(0)}@media (min-width: 640px){#moonbase .moonbase\\:cart-modal-content[data-transition~=enter-to]{transform:translate(0)}}#moonbase .moonbase\\:cart-modal-content[data-transition~=leave]{transition-timing-function:ease-in;transition-duration:.3s}#moonbase .moonbase\\:cart-modal-content[data-transition~=leave-from]{opacity:1;transform:translateY(0)}@media (min-width: 640px){#moonbase .moonbase\\:cart-modal-content[data-transition~=leave-from]{transform:translate(0)}}#moonbase .moonbase\\:cart-modal-content[data-transition~=leave-to]{opacity:0;transform:translateY(16px)}@media (min-width: 640px){#moonbase .moonbase\\:cart-modal-content[data-transition~=leave-to]{transform:translate(48px)}}#moonbase .moonbase\\:button{position:relative;display:flex;justify-content:center;overflow:hidden;transition-property:color,background-color,border-color,box-shadow;transition-timing-function:ease-in-out;transition-duration:.2s;box-shadow:0 1px 2px 0 var(--moonbase-button-shadow-color)}#moonbase .moonbase\\:button[data-variant=secondary]{--moonbase-button-background-color: rgb(107 114 128);--moonbase-button-text-color: white}#moonbase .moonbase\\:button,#moonbase .moonbase\\:button:hover,#moonbase .moonbase\\:button:focus,#moonbase .moonbase\\:button:active{font-size:.875rem;font-weight:500;line-height:1.25rem;border-radius:var(--moonbase-button-border-radius);border-width:1px;border-color:transparent;border-style:solid;color:var(--moonbase-button-text-color);background-color:var(--moonbase-button-background-color);padding:var(--moonbase-button-padding);height:unset;width:unset}#moonbase .moonbase\\:button:hover{background-color:hsl(from var(--moonbase-button-background-color) h s calc(l - 5))}#moonbase .moonbase\\:button:focus{transition-duration:.1s;outline:2px solid transparent;outline-offset:2px;box-shadow:#fff 0 0 0 2px,var(--moonbase-button-background-color) 0 0 0 4px,0 1px 2px 0 var(--moonbase-button-shadow-color)}#moonbase .moonbase\\:button[data-success]{background-color:var(--moonbase-button-success-color)}#moonbase .moonbase\\:button[data-error]{background-color:var(--moonbase-button-error-color)}#moonbase .moonbase\\:button div{margin-left:-12px;margin-right:12px;height:20px;width:0px;opacity:0;transition-property:opacity,width;transition-duration:.2s;transition-timing-function:ease-in-out}#moonbase .moonbase\\:button div[data-visible]{width:20px;opacity:1}#moonbase .moonbase\\:button div svg{height:20px;width:20px}#moonbase .moonbase\\:cart{display:inline-block;color:var(--moonbase-text-color, black);padding:32px}@media (min-width: 640px){#moonbase .moonbase\\:cart{width:100vw;max-width:26rem}}#moonbase .moonbase\\:cart>h3{font-size:1.125rem;line-height:1.5rem;font-weight:500;text-align:center;margin-bottom:1.5rem}#moonbase .moonbase\\:cart>.moonbase\\:cart-items{font-size:14px;line-height:20px;font-weight:500}#moonbase .moonbase\\:cart>.moonbase\\:cart-items>:not(:first-child){border-top-width:1px;border-color:#00000026}#moonbase .moonbase\\:cart>.moonbase\\:cart-items>li{padding:24px 0}#moonbase .moonbase\\:cart>.moonbase\\:cart-items>li>:not(:first-child){margin-left:16px}#moonbase .moonbase\\:cart>.moonbase\\:cart-empty{padding:32px 0;font-size:1.1rem;line-height:1.3rem;font-weight:500}#moonbase .moonbase\\:cart>.moonbase\\:cart-total{width:100%;margin-top:16px;padding:8px;border-radius:4px;background:#0000001a;display:grid;grid-template-columns:repeat(2,1fr);justify-content:space-between}#moonbase .moonbase\\:cart>.moonbase\\:cart-total>label{font-weight:500}#moonbase .moonbase\\:cart>.moonbase\\:cart-total>span{font-weight:600;text-align:right}#moonbase .moonbase\\:cart>.moonbase\\:cart-total>p{grid-column:-1 / 1;padding-top:8px;text-align:center}#moonbase .moonbase\\:cart>button{--moonbase-button-padding: 12px 32px;margin:32px auto 16px;min-width:164px}#moonbase .moonbase\\:account{padding-bottom:32px}#moonbase .moonbase\\:account>*:not(:last-child){margin-bottom:16px}#moonbase .moonbase\\:account form{margin:auto;max-width:420px}#moonbase .moonbase\\:account form>*:not(:first-child){margin-top:8px}#moonbase .moonbase\\:account form .moonbase\\:error{font-size:14px;line-height:20px;font-weight:600;color:var(--moonbase-error-color)}#moonbase .moonbase\\:account form .moonbase\\:notification{font-size:14px;line-height:20px;font-weight:600}#moonbase .moonbase\\:account>button{margin:32px auto 0}#moonbase .moonbase\\:product-downloads{display:flex;border-radius:var(--moonbase-border-radius);box-shadow:0 1px 2px 0 var(--moonbase-button-shadow-color)}#moonbase .moonbase\\:product-downloads button{position:relative;display:inline-flex;align-items:center;transition-property:color,background-color,border-color,box-shadow;transition-timing-function:ease-in-out;transition-duration:.2s;box-shadow:0 1px 2px 0 var(--moonbase-button-shadow-color)}#moonbase .moonbase\\:product-downloads button,#moonbase .moonbase\\:product-downloads button:hover,#moonbase .moonbase\\:product-downloads button:focus,#moonbase .moonbase\\:product-downloads button:active{font-size:.875rem;font-weight:500;line-height:1.25rem;border-radius:0;border-width:1px;border-color:transparent;border-style:solid;color:var(--moonbase-button-text-color);background-color:var(--moonbase-button-background-color);margin:0 -1px;padding:8px;height:unset;width:unset}#moonbase .moonbase\\:product-downloads button:hover{background-color:hsl(from var(--moonbase-button-background-color) h s calc(l - 5))}#moonbase .moonbase\\:product-downloads button:focus{transition-duration:.1s;outline:2px solid transparent;outline-offset:2px;box-shadow:inset #fff 0 0 0 2px,inset var(--moonbase-button-background-color) 0 0 0 4px,0 1px 2px 0 var(--moonbase-button-shadow-color)}#moonbase .moonbase\\:product-downloads>button{border-radius:0}#moonbase .moonbase\\:product-downloads>button:first-child{border-top-left-radius:var(--moonbase-border-radius);border-bottom-left-radius:var(--moonbase-border-radius)}#moonbase .moonbase\\:product-downloads>button[data-last]{border-top-right-radius:var(--moonbase-border-radius);border-bottom-right-radius:var(--moonbase-border-radius)}#moonbase .moonbase\\:product-downloads .moonbase\\:product-downloads-group{position:relative;margin:0 -1px;display:block}#moonbase .moonbase\\:product-downloads .moonbase\\:product-downloads-group:first-child>button{border-top-left-radius:var(--moonbase-border-radius);border-bottom-left-radius:var(--moonbase-border-radius)}#moonbase .moonbase\\:product-downloads .moonbase\\:product-downloads-group[data-last]>button{border-top-right-radius:var(--moonbase-border-radius);border-bottom-right-radius:var(--moonbase-border-radius)}#moonbase .moonbase\\:product-downloads .moonbase\\:product-downloads-group button>:last-child{margin-left:8px}#moonbase .moonbase\\:product-downloads svg{height:20px;width:20px;color:#fff}#moonbase .moonbase\\:product-downloads .moonbase\\:product-downloads-list{position:absolute;display:flex;flex-direction:column;right:0;margin-right:-4px;margin-top:8px;width:128px;transform-origin:top right;background-color:var(--moonbase-background-color);box-shadow:#0000001a 0 10px 15px -3px,#0000001a 0 4px 6px -4px,#00000040 0 0 0 1px;z-index:999999;border-radius:var(--moonbase-border-radius)}#moonbase .moonbase\\:product-downloads .moonbase\\:product-downloads-list:focus{outline:none}#moonbase .moonbase\\:product-downloads .moonbase\\:product-downloads-list button{border-radius:0}#moonbase .moonbase\\:product-downloads .moonbase\\:product-downloads-list button:first-child{border-top-right-radius:var(--moonbase-border-radius);border-top-left-radius:var(--moonbase-border-radius)}#moonbase .moonbase\\:product-downloads .moonbase\\:product-downloads-list button:last-child{border-bottom-right-radius:var(--moonbase-border-radius);border-bottom-left-radius:var(--moonbase-border-radius)}#moonbase .moonbase\\:product-downloads .moonbase\\:product-downloads-list button,#moonbase .moonbase\\:product-downloads .moonbase\\:product-downloads-list button:hover,#moonbase .moonbase\\:product-downloads .moonbase\\:product-downloads-list button:focus,#moonbase .moonbase\\:product-downloads .moonbase\\:product-downloads-list button:active{color:var(--moonbase-text-color);background-color:transparent;margin:0;padding:8px;height:unset;width:unset}#moonbase .moonbase\\:product-downloads .moonbase\\:product-downloads-list button:hover,#moonbase .moonbase\\:product-downloads .moonbase\\:product-downloads-list button:focus,#moonbase .moonbase\\:product-downloads .moonbase\\:product-downloads-list button[data-active]{background-color:hsl(from var(--moonbase-background-color) h s calc(l - 5))}#moonbase .moonbase\\:product-downloads .moonbase\\:product-downloads-list button:focus,#moonbase .moonbase\\:product-downloads .moonbase\\:product-downloads-list button[data-active]{box-shadow:none}#moonbase .moonbase\\:product-activations{position:absolute;right:8px;margin-top:8px;transform-origin:top right;background-color:var(--moonbase-background-color);box-shadow:#0000001a 0 10px 15px -3px,#0000001a 0 4px 6px -4px,#00000040 0 0 0 1px;z-index:999999;border-radius:var(--moonbase-border-radius)}#moonbase .moonbase\\:product-activations>thead{border-bottom:1px solid rgb(from var(--moonbase-text-color) r g b / .25)}#moonbase .moonbase\\:product-activations>thead>tr>th{white-space:nowrap;font-size:14px;font-weight:600;line-height:20px;color:hsl(from var(--moonbase-text-color) h s calc(l + 10))}#moonbase .moonbase\\:product-activations>thead>tr>th:first-child{width:100%;padding:8px 12px 8px 16px;border-top-left-radius:var(--moonbase-border-radius)}#moonbase .moonbase\\:product-activations>thead>tr>th:not(:first-child,:last-child){text-align:center;padding:8px 12px}#moonbase .moonbase\\:product-activations>thead>tr>th:last-child{text-align:right;padding:8px 16px 8px 12px;border-top-right-radius:var(--moonbase-border-radius)}#moonbase .moonbase\\:product-activations>tbody>:not(:first-child){border-top-width:1px;border-color:#0000001a}#moonbase .moonbase\\:product-activations>tbody>tr>td{white-space:nowrap;text-overflow:ellipsis;position:relative;font-size:14px;font-weight:600;line-height:20px}#moonbase .moonbase\\:product-activations>tbody>tr>td:first-child{width:100%;padding:8px 12px 8px 16px;border-top-left-radius:var(--moonbase-border-radius)}#moonbase .moonbase\\:product-activations>tbody>tr>td:first-child>svg{height:16px;width:16px;display:inline;margin-right:8px}#moonbase .moonbase\\:product-activations>tbody>tr>td:first-child>div{display:flex;align-items:center}#moonbase .moonbase\\:product-activations>tbody>tr>td:first-child>div>img{height:42px;width:42px;flex:none;border-radius:6px;object-fit:cover;object-position:center}#moonbase .moonbase\\:product-activations>tbody>tr>td:first-child>div>.moonbase\\:image-placeholder{height:42px;width:42px;flex:none;border-radius:6px;background:var(--moonbase-primary-color, rgb(30 64 175))}#moonbase .moonbase\\:product-activations>tbody>tr>td:first-child>div>span{margin-left:8px;font-size:14px;font-weight:500;line-height:20px}#moonbase .moonbase\\:product-activations>tbody>tr>td:not(:first-child,:last-child){text-align:center;padding:14px 12px}#moonbase .moonbase\\:product-activations>tbody>tr>td:last-child{text-align:right;padding:14px 16px 14px 12px;border-top-right-radius:var(--moonbase-border-radius)}#moonbase .moonbase\\:product-activations>tbody>tr>td:last-child>div{display:flex;align-items:center;justify-content:flex-end}#moonbase .moonbase\\:product-activations>tbody>tr>td:last-child>div>:not(:first-child){margin-left:8px}#moonbase .moonbase\\:product-activations>tbody>tr>td>button{margin:auto}#moonbase .moonbase\\:product-activations>tbody>tr>td>button,#moonbase .moonbase\\:product-activations>tbody>tr>td>button:hover,#moonbase .moonbase\\:product-activations>tbody>tr>td>button:focus,#moonbase .moonbase\\:product-activations>tbody>tr>td>button:active{width:100%}#moonbase .moonbase\\:products{min-width:calc(100% + 128px);margin:0 -64px}#moonbase .moonbase\\:products>thead{border-bottom:1px solid rgb(from var(--moonbase-text-color) r g b / .25)}#moonbase .moonbase\\:products>thead>tr>th{white-space:nowrap;font-size:14px;font-weight:600;line-height:20px;color:hsl(from var(--moonbase-text-color) h s calc(l + 10))}#moonbase .moonbase\\:products>thead>tr>th:first-child{width:100%;padding:14px 12px 14px 16px}#moonbase .moonbase\\:products>thead>tr>th:not(:first-child,:last-child){text-align:center;padding:14px 12px}#moonbase .moonbase\\:products>thead>tr>th:last-child{text-align:right;padding:14px 16px 14px 12px}#moonbase .moonbase\\:products>tbody>:not(:first-child){border-top-width:1px;border-color:#0000001a}#moonbase .moonbase\\:products>tbody>tr>td{white-space:nowrap;text-overflow:ellipsis;position:relative}#moonbase .moonbase\\:products>tbody>tr>td:first-child{width:100%;padding:14px 12px 14px 16px}#moonbase .moonbase\\:products>tbody>tr>td:first-child>svg{height:16px;width:16px;display:inline;margin-right:8px}#moonbase .moonbase\\:products>tbody>tr>td:first-child>div{display:flex;align-items:center}#moonbase .moonbase\\:products>tbody>tr>td:first-child>div>img{height:42px;width:42px;flex:none;border-radius:6px;object-fit:cover;object-position:center}#moonbase .moonbase\\:products>tbody>tr>td:first-child>div>.moonbase\\:image-placeholder{height:42px;width:42px;flex:none;border-radius:6px;background:var(--moonbase-primary-color)}#moonbase .moonbase\\:products>tbody>tr>td:first-child>div>span{margin-left:8px;font-size:14px;font-weight:500;line-height:20px}#moonbase .moonbase\\:products>tbody>tr>td:not(:first-child,:last-child){text-align:center;padding:14px 12px}#moonbase .moonbase\\:products>tbody>tr>td:last-child{text-align:right;padding:14px 16px 14px 12px}#moonbase .moonbase\\:products>tbody>tr>td:last-child>div{display:flex;align-items:center;justify-content:flex-end}#moonbase .moonbase\\:products>tbody>tr>td:last-child>div>:not(:first-child){margin-left:8px}#moonbase .moonbase\\:products>tbody>tr>td>button{margin:auto}#moonbase .moonbase\\:products>tbody>tr>td>button,#moonbase .moonbase\\:products>tbody>tr>td>button:hover,#moonbase .moonbase\\:products>tbody>tr>td>button:focus,#moonbase .moonbase\\:products>tbody>tr>td>button:active{width:100%}#moonbase .moonbase\\:redeem>form{display:flex;flex-direction:column;max-width:240px;margin:64px auto 32px}#moonbase .moonbase\\:redeem>form>*:not(:first-child){margin-top:16px}#moonbase .moonbase\\:redeem>form>button{margin:auto}#moonbase .moonbase\\:redeem>form .moonbase\\:error{text-align:center;color:var(--moonbase-error-color, rgb(167, 33, 33));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{max-width:320px;margin:16px auto;padding:16px;box-shadow:0 0 0 2px var(--moonbase-button-shadow-color);border-radius:var(--moonbase-border-radius)}#moonbase .moonbase\\:redeem .moonbase\\:redeem-voucher-products>*:not(:first-child){border-top:1px solid rgb(from var(--moonbase-text-color) r g b / .3)}#moonbase .moonbase\\:redeem .moonbase\\:redeem-voucher-product,#moonbase .moonbase\\:redeem .moonbase\\:redeem-voucher-bundle{display:flex;align-items:center;padding:8px 0}#moonbase .moonbase\\:redeem .moonbase\\:redeem-voucher-product>*:not(:first-child),#moonbase .moonbase\\:redeem .moonbase\\:redeem-voucher-bundle>*:not(:first-child){margin-left:12px}#moonbase .moonbase\\:redeem .moonbase\\:redeem-voucher-product>:first-child,#moonbase .moonbase\\:redeem .moonbase\\:redeem-voucher-bundle>:first-child{flex-shrink:0}#moonbase .moonbase\\:redeem .moonbase\\:redeem-voucher-product>:first-child>img,#moonbase .moonbase\\:redeem .moonbase\\:redeem-voucher-bundle>:first-child>img{height:42px;width:42px;flex:none;border-radius:6px;object-fit:cover;object-position:center}#moonbase .moonbase\\:redeem .moonbase\\:redeem-voucher-product>:first-child>.moonbase\\:image-placeholder,#moonbase .moonbase\\:redeem .moonbase\\:redeem-voucher-bundle>:first-child>.moonbase\\:image-placeholder{height:42px;width:42px;flex:none;border-radius:6px;background:var(--moonbase-primary-color)}#moonbase .moonbase\\:redeem .moonbase\\:redeem-voucher-product>:last-child,#moonbase .moonbase\\:redeem .moonbase\\:redeem-voucher-bundle>:last-child{flex:1;min-width:0}#moonbase .moonbase\\:redeem .moonbase\\:redeem-voucher-product>:last-child>:first-child,#moonbase .moonbase\\:redeem .moonbase\\:redeem-voucher-bundle>:last-child>:first-child{font-size:14px;font-weight:500;line-height:20px}#moonbase .moonbase\\:redeem .moonbase\\:redeem-voucher-product>:last-child>:last-child,#moonbase .moonbase\\:redeem .moonbase\\:redeem-voucher-bundle>:last-child>:last-child{font-size:14px;line-height:20px;text-overflow:ellipsis}#moonbase .moonbase\\:redeem .moonbase\\:redeem-voucher-bundle-products{padding-left:32px}#moonbase .moonbase\\:redeem .moonbase\\:redeem-voucher-bundle-products>*:not(:first-child){border-top:1px solid rgb(from var(--moonbase-text-color) r g b / .3)}#moonbase .moonbase\\:customer{display:inline-block;color:var(--moonbase-text-color);padding:32px 64px 16px}@media (min-width: 640px){#moonbase .moonbase\\:customer{width:100vw;max-width:32rem}}#moonbase .moonbase\\:customer>[role=tablist]{margin:0 -32px 16px;padding:0 32px;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(from var(--moonbase-button-background-color) r g b / .25);display:flex}#moonbase .moonbase\\:customer>[role=tablist]>[role=tab]{margin-bottom:-1px;width:33%;padding:8px 4px;text-align:center;font-size:14px;font-weight:500;line-height:20px;border-bottom-width:2px;border-bottom-style:solid;border-bottom-color:transparent;color:hsl(from var(--moonbase-text-color) h s calc(l + 15));transition-property:border-bottom-color,color;transition-duration:.25s;transition-timing-function:ease-out}#moonbase .moonbase\\:customer>[role=tablist]>[role=tab]:hover{color:hsl(from var(--moonbase-text-color) h s calc(l + 5));border-bottom-color:hsl(from var(--moonbase-text-color) h s calc(l + 15))}#moonbase .moonbase\\:customer>[role=tablist]>[role=tab][aria-selected=true]{color:hsl(from var(--moonbase-primary-color) h s calc(l - 15));border-bottom-color:hsl(from var(--moonbase-primary-color) h s calc(l - 10))}#moonbase .moonbase\\:auto-activate .moonbase\\:loader{display:flex;align-items:center;flex-direction:column;padding:36px 16px;text-align:center}#moonbase .moonbase\\:auto-activate .moonbase\\:loader svg{height:24px;width:24px}#moonbase .moonbase\\:auto-activate .moonbase\\:loader h3{color:var(--moonbase-text-color);font-size:18px;font-weight:500;line-height:24px}#moonbase .moonbase\\:auto-activate .moonbase\\:loader p{margin-top:4px;color:hsl(from var(--moonbase-text-color) h s calc(l + 10));font-size:14px;font-weight:500;line-height:18px}#moonbase .moonbase\\:auto-activate .moonbase\\:auto-activate-product{display:flex;align-items:center}#moonbase .moonbase\\:auto-activate .moonbase\\:auto-activate-product>img{height:42px;width:42px;flex:none;border-radius:6px;object-fit:cover;object-position:center}#moonbase .moonbase\\:auto-activate .moonbase\\:auto-activate-product>.moonbase\\:image-placeholder{height:42px;width:42px;flex:none;border-radius:6px;background:var(--moonbase-primary-color)}#moonbase .moonbase\\:auto-activate .moonbase\\:auto-activate-product div{margin-left:8px}#moonbase .moonbase\\:auto-activate .moonbase\\:auto-activate-product div h2{color:var(--moonbase-text-color);font-size:16px;font-weight:500;line-height:20px}#moonbase .moonbase\\:auto-activate .moonbase\\:auto-activate-product div h3{margin-top:2px;color:hsl(from var(--moonbase-text-color) h s calc(l + 10));font-size:14px;font-weight:500;line-height:18px}#moonbase .moonbase\\:auto-activate .moonbase\\:auto-activate-content{margin-top:16px;text-align:center;color:hsl(from var(--moonbase-text-color) h s calc(l + 10));font-size:16px;font-weight:500;line-height:20px}#moonbase .moonbase\\:auto-activate .moonbase\\:auto-activate-content .moonbase\\:auto-activate-cta{margin:16px auto 0;display:flex;justify-content:center;text-align:center}#moonbase .moonbase\\:auto-activate .moonbase\\:auto-activate-content .moonbase\\:auto-activate-cta>:not(:first-child){margin-left:8px}#moonbase .moonbase\\:auto-activate .moonbase\\:auto-activate-content .moonbase\\:auto-activate-trial{margin-top:16px;padding-top:16px;border-top-width:1px;border-color:rgb(from var(--moonbase-text-color) r g b / .2);border-style:solid}#moonbase .moonbase\\:activation{display:inline-block;color:var(--moonbase-text-color, black);padding:32px 64px}@media (min-width: 640px){#moonbase .moonbase\\:activation{width:100vw;max-width:26rem}}#moonbase .moonbase\\:activation>h3{font-size:1.125rem;line-height:1.5rem;font-weight:500;text-align:center;margin-bottom:1.5rem}#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 h3{color:var(--moonbase-text-color);font-size:18px;font-weight:500;line-height:24px}#moonbase .moonbase\\:download-product .moonbase\\:loader p{margin-top:4px;color:hsl(from var(--moonbase-text-color) h s calc(l + 10));font-size:14px;font-weight:500;line-height:18px}#moonbase .moonbase\\:download-product .moonbase\\:download-product-product{display:flex;align-items:center}#moonbase .moonbase\\:download-product .moonbase\\:download-product-product>img{height:42px;width:42px;flex:none;border-radius:6px;object-fit:cover;object-position:center}#moonbase .moonbase\\:download-product .moonbase\\:download-product-product>.moonbase\\:image-placeholder{height:42px;width:42px;flex:none;border-radius:6px;background:var(--moonbase-primary-color)}#moonbase .moonbase\\:download-product .moonbase\\:download-product-product div{margin-left:8px}#moonbase .moonbase\\:download-product .moonbase\\:download-product-product div h2{color:var(--moonbase-text-color);font-size:16px;font-weight:500;line-height:20px}#moonbase .moonbase\\:download-product .moonbase\\:download-product-product div h2 span{opacity:.75;font-size:14px}#moonbase .moonbase\\:download-product .moonbase\\:download-product-product div h3{margin-top:2px;color:hsl(from var(--moonbase-text-color) h s calc(l + 10));font-size:14px;font-weight:500;line-height:18px}#moonbase .moonbase\\:download-product .moonbase\\:download-product-content{margin-top:16px;text-align:left;color:hsl(from var(--moonbase-text-color) h calc(s - 25) calc(l + 10));font-size:16px;font-weight:500;line-height:20px}#moonbase .moonbase\\:download-product .moonbase\\:download-product-content>:not(:first-child){margin-top:16px}#moonbase .moonbase\\:download-product .moonbase\\:download-product-content .moonbase\\:download-product-cta{margin:16px auto 0;display:flex;justify-content:center;text-align:center}#moonbase .moonbase\\:download-product .moonbase\\:download-product-content .moonbase\\:download-product-cta>:not(:first-child){margin-left:8px}#moonbase .moonbase\\:download-product .moonbase\\:download-product-content ul{border-radius:6px}#moonbase .moonbase\\:download-product .moonbase\\:download-product-content ul>:not(:first-child){border-top:1px solid rgb(from var(--moonbase-text-color) r g b / .25)}#moonbase .moonbase\\:download-product .moonbase\\:download-product-content ul li{position:relative;display:flex;justify-content:space-between;transition:background-color .25s ease-in-out;padding:12px 16px}#moonbase .moonbase\\:download-product .moonbase\\:download-product-content ul li:hover{background-color:#0000001a}#moonbase .moonbase\\:download-product .moonbase\\:download-product-content ul li:first-child{border-top-left-radius:6px;border-top-right-radius:6px}#moonbase .moonbase\\:download-product .moonbase\\:download-product-content ul li:last-child{border-bottom-left-radius:6px;border-bottom-right-radius:6px}#moonbase .moonbase\\:download-product .moonbase\\:download-product-content ul li>:not(:first-child){margin-left:20px}#moonbase .moonbase\\:download-product .moonbase\\:download-product-content ul li>div:first-child{min-width:0}#moonbase .moonbase\\:download-product .moonbase\\:download-product-content ul li>div:first-child .moonbase\\:download-product-download-name{font-weight:600;line-height:24px;font-size:14px}#moonbase .moonbase\\:download-product .moonbase\\:download-product-content ul li>div:first-child .moonbase\\:download-product-download-description{display:flex;align-items:center;line-height:24px;font-size:14px;color:hsl(from var(--moonbase-text-color) h calc(s - 25) calc(l + 20))}#moonbase .moonbase\\:download-product .moonbase\\:download-product-content ul li>div:first-child .moonbase\\:download-product-download-description svg{height:16px;width:16px;margin-right:6px;color:hsl(from var(--moonbase-text-color) h calc(s - 25) calc(l + 20))}#moonbase .moonbase\\:download-product .moonbase\\:download-product-content ul li>div:first-child .moonbase\\:download-product-download-description span{opacity:.5;margin:0 6px}#moonbase .moonbase\\:download-product .moonbase\\:download-product-content ul li>div:last-child{display:flex;align-items:center;flex-shrink:0}#moonbase .moonbase\\:download-product .moonbase\\:download-product-content ul li>div:last-child svg{flex:none;height:20px;width:20px;color:hsl(from var(--moonbase-text-color) h calc(s - 25) calc(l + 20))}#moonbase .moonbase\\:download-product .moonbase\\:download-product-clicker{position:absolute;top:0;right:0;left:0;padding:-1px 0;bottom:0}#moonbase .moonbase\\:download{display:inline-block;color:var(--moonbase-text-color, black);padding:32px 64px}@media (min-width: 640px){#moonbase .moonbase\\:download{width:100vw;max-width:26rem}}#moonbase .moonbase\\:download>h3{font-size:1.125rem;line-height:1.5rem;font-weight:500;text-align:center;margin-bottom:1.5rem}#moonbase,#moonbase *:not(svg,path),#moonbase :before,#moonbase :after{all:revert;box-sizing:border-box;border-width:0;border-style:solid}#moonbase *:not(svg,path){margin:0;padding:0;font-family:system-ui,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"}#moonbase{--moonbase-text-color: rgb(17 24 39);--moonbase-primary-color: rgb(79 70 229);--moonbase-error-color: rgb(167, 33, 33);--moonbase-background-color: white;--moonbase-button-padding: 8px 32px;--moonbase-button-text-color: rgb(255 255 255);--moonbase-button-background-color: var(--moonbase-primary-color);--moonbase-button-shadow-color: rgb(0 0 0 / .05);--moonbase-button-success-color: rgb(22 163 74);--moonbase-button-error-color: rgb(167, 33, 33);--moonbase-button-border-radius: var(--moonbase-border-radius, 6px);--moonbase-input-active-color: var(--moonbase-primary-color, var(--moonbase-primary-color));--moonbase-input-shadow-color: rgb(0 0 0 / .05);--moonbase-input-error-color: rgb(167, 33, 33);--moonbase-input-background-color: transparent;--moonbase-input-text-color:var(--moonbase-text-color);--moonbase-input-border-radius: var(--moonbase-border-radius, 6px);--moonbase-modal-padding: 8px 32px;--moonbase-modal-text-color: var(--moonbase-text-color);--moonbase-modal-background-color: rgb(255 255 255);--moonbase-modal-shadow-color: rgb(0 0 0 / .05);--moonbase-modal-border-radius: var(--moonbase-border-radius, 6px)}#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(1rem)}#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(-1rem)}#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 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}')),document.head.appendChild(o)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var o=document.createElement("style");o.appendChild(document.createTextNode('#moonbase .moonbase\\:toolbar{position:fixed;bottom:32px;border-radius:16px;background-color:#1a1a1a;color:#f9f9f9;display:flex;transition-duration:.1s;transition-property:all;transition-timing-function:ease-out;transform:translateY(8px);opacity:0}#moonbase .moonbase\\:toolbar[data-location=bottom-right]{right:32px}#moonbase .moonbase\\:toolbar[data-location=bottom-left]{left:32px}#moonbase .moonbase\\:toolbar[data-visible=true]{transform:translateY(0);opacity:1;transition-duration:.5s}#moonbase .moonbase\\:toolbar-action{padding:12px 16px;transition:background-color .25s ease-out;cursor:pointer;display:flex;align-items:center}#moonbase .moonbase\\:toolbar-action:nth-child(1){border-top-left-radius:16px;border-bottom-left-radius:16px}#moonbase .moonbase\\:toolbar-action:last-child{border-top-right-radius:16px;border-bottom-right-radius:16px}#moonbase .moonbase\\:toolbar-action:hover{background-color:#ffffff1a}#moonbase .moonbase\\:toolbar-action[data-action-width=narrow]{padding:12px}#moonbase .moonbase\\:input label{display:block;font-size:14px;font-weight:500;line-height:20px;color:#374151}#moonbase .moonbase\\:input input{display:block;width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:calc(var(--moonbase-input-border-radius) * .5);border-width:1px;border-color:#d1d5db;background-color:var(--moonbase-input-background-color);font-size:.875rem;line-height:1.25rem;padding:8px 12px;margin-top:4px;box-shadow:0 1px 2px 0 var(--moonbase-input-shadow-color)}#moonbase .moonbase\\:input input:focus{outline:2px solid transparent;outline-offset:2px;box-shadow:#fff 0 0 0 2px,var(--moonbase-input-active-color) 0 0 0 4px,0 1px 2px 0 var(--moonbase-input-shadow-color)}#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)}@keyframes moonbase\\:spin-687bcaf0{to{transform:rotate(360deg)}}#moonbase svg[data-v-687bcaf0]{animation:moonbase\\:spin-687bcaf0 1s linear infinite}#moonbase .moonbase\\:submit-button[data-v-1440b0cf]{position:relative;display:flex;justify-content:center;overflow:hidden;transition-property:color,background-color,border-color,box-shadow;transition-timing-function:ease-in-out;transition-duration:.2s;box-shadow:0 1px 2px 0 var(--moonbase-button-shadow-color)}#moonbase .moonbase\\:submit-button[data-v-1440b0cf][data-v-1440b0cf],#moonbase .moonbase\\:submit-button[data-v-1440b0cf][data-v-1440b0cf]:hover,#moonbase .moonbase\\:submit-button[data-v-1440b0cf][data-v-1440b0cf]:focus,#moonbase .moonbase\\:submit-button[data-v-1440b0cf][data-v-1440b0cf]:active{font-size:.875rem;font-weight:500;line-height:1.25rem;border-radius:var(--moonbase-button-border-radius);border-width:1px;border-color:transparent;border-style:solid;color:var(--moonbase-button-text-color);background-color:var(--moonbase-button-background-color);padding:var(--moonbase-button-padding);height:unset;width:unset}#moonbase .moonbase\\:submit-button[data-v-1440b0cf][data-v-1440b0cf]:hover{background-color:hsl(from var(--moonbase-button-background-color) h s calc(l - 5))}#moonbase .moonbase\\:submit-button[data-v-1440b0cf][data-v-1440b0cf]:focus{transition-duration:.1s;outline:2px solid transparent;outline-offset:2px;box-shadow:#fff 0 0 0 2px,var(--moonbase-button-background-color) 0 0 0 4px,0 1px 2px 0 var(--moonbase-button-shadow-color)}#moonbase .moonbase\\:submit-button[data-v-1440b0cf][data-success][data-v-1440b0cf]{background-color:var(--moonbase-button-success-color)}#moonbase .moonbase\\:submit-button[data-v-1440b0cf][data-error][data-v-1440b0cf]{background-color:var(--moonbase-button-error-color)}#moonbase .moonbase\\:submit-button[data-v-1440b0cf] div[data-v-1440b0cf]{margin-left:-12px;margin-right:12px;height:20px;width:0px;opacity:0;transition-property:opacity,width;transition-duration:.2s;transition-timing-function:ease-in-out}#moonbase .moonbase\\:submit-button[data-v-1440b0cf] div[data-v-1440b0cf][data-visible][data-v-1440b0cf]{width:20px;opacity:1}#moonbase .moonbase\\:submit-button[data-v-1440b0cf] div[data-v-1440b0cf] svg[data-v-1440b0cf]{height:20px;width:20px}#moonbase .moonbase\\:checkbox{display:flex;align-items:flex-start}#moonbase .moonbase\\:checkbox label{font-size:14px;font-weight:500;line-height:20px;color:#374151}#moonbase .moonbase\\:checkbox .moonbase\\:checkbox-container{display:flex;height:24px;align-items:center}#moonbase .moonbase\\:checkbox input{height:16px;width:16px;border-radius:var(--moonbase-input-border-radius);border-width:1px;border-color:#d1d5db;background-color:var(--moonbase-input-background-color);font-size:.875rem;line-height:1.25rem;padding:8px 12px;margin-top:4px;box-shadow:0 1px 2px 0 var(--moonbase-input-shadow-color)}#moonbase .moonbase\\:checkbox input:focus{outline:2px solid transparent;outline-offset:2px;box-shadow:#fff 0 0 0 2px,var(--moonbase-input-active-color) 0 0 0 4px,0 1px 2px 0 var(--moonbase-input-shadow-color)}#moonbase .moonbase\\:checkbox .moonbase\\:checkbox-description{margin-left:12px}#moonbase .moonbase\\:checkbox .moonbase\\:checkbox-description label{font-size:14px;line-height:24px;font-weight:500;color:hsl(from var(--moonbase-text-color) h s calc(l + 5))}#moonbase .moonbase\\:checkbox .moonbase\\:checkbox-description p{font-size:14px;line-height:24px;color:hsl(from var(--moonbase-text-color) h s calc(l + 15))}#moonbase .moonbase\\:checkbox .moonbase\\:checkbox-description p[data-type=error]{color:var(--moonbase-input-error-color)}#moonbase .moonbase\\:sign-up{display:flex;flex-direction:column}#moonbase .moonbase\\:sign-up>*:not(:first-child){margin-top:16px}#moonbase .moonbase\\:sign-up .moonbase\\:error{text-align:center;color:var(--moonbase-error-color, rgb(167, 33, 33));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\\: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-error-color);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\\: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-error-color, rgb(167, 33, 33));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\\: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-error-color);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\\:modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9999;overflow-y:auto}#moonbase .moonbase\\:modal-container{display:flex;min-height:100svh;align-items:flex-end;justify-content:center;padding:16px 16px 90px;text-align:center}@media (min-width: 640px){#moonbase .moonbase\\:modal-container{display:block;padding:0}}#moonbase .moonbase\\:modal-center{display:none}@media (min-width: 640px){#moonbase .moonbase\\:modal-center{display:inline-block;height:100svh;vertical-align:middle}}#moonbase .moonbase\\:modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;transition-property:opacity}#moonbase .moonbase\\:modal-overlay[data-transition~=enter]{transition-timing-function:ease-out;transition-duration:.3s}#moonbase .moonbase\\:modal-overlay[data-transition~=enter-from],#moonbase .moonbase\\:modal-overlay[data-transition~=leave-to]{opacity:0}#moonbase .moonbase\\:modal-overlay[data-transition~=enter-to],#moonbase .moonbase\\:modal-overlay[data-transition~=leave-from]{opacity:1}#moonbase .moonbase\\:modal-overlay[data-transition~=leave]{transition-timing-function:ease-in;transition-duration:.2s}#moonbase .moonbase\\:modal-content{position:relative;display:inline-block;margin:80px auto 16px;background-color:var(--moonbase-background-color, white);box-shadow:#64646f33 0 8px 32px;border-radius:calc(var(--moonbase-border-radius, 6px) * 2);vertical-align:bottom;transition-property:all;text-align:left}@media (min-width: 640px){#moonbase .moonbase\\:modal-content{vertical-align:middle}}#moonbase .moonbase\\:modal-content[data-transition~=enter]{transition-timing-function:ease-out;transition-duration:.3s}#moonbase .moonbase\\:modal-content[data-transition~=enter-from]{opacity:0;transform:translateY(16px)}@media (min-width: 640px){#moonbase .moonbase\\:modal-content[data-transition~=enter-from]{transform:scale(.95)}}#moonbase .moonbase\\:modal-content[data-transition~=enter-to]{opacity:1;transform:translateY(0)}@media (min-width: 640px){#moonbase .moonbase\\:modal-content[data-transition~=enter-to]{transform:scale(1)}}#moonbase .moonbase\\:modal-content[data-transition~=leave]{transition-timing-function:ease-in;transition-duration:.2s}#moonbase .moonbase\\:modal-content[data-transition~=leave-from]{opacity:1;transform:translateY(0)}@media (min-width: 640px){#moonbase .moonbase\\:modal-content[data-transition~=leave-from]{transform:scale(1)}}#moonbase .moonbase\\:modal-content[data-transition~=leave-to]{opacity:0;transform:translateY(16px)}@media (min-width: 640px){#moonbase .moonbase\\:modal-content[data-transition~=leave-to]{transform:scale(.95)}}#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-error-color, rgb(167, 33, 33));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\\:authentication{display:inline-block;color:var(--moonbase-text-color, black);padding:32px 64px}@media (min-width: 640px){#moonbase .moonbase\\:authentication{width:100vw;max-width:26rem}}#moonbase .moonbase\\:authentication>h3{font-size:1.125rem;line-height:1.5rem;font-weight:500;text-align:center;margin-bottom:1.5rem}#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\\:product-cart-item{display:flex;align-items:center}#moonbase .moonbase\\:product-cart-item>:not(:first-child){margin-left:24px}#moonbase .moonbase\\:product-cart-item>img{height:80px;width:80px;flex:none;border-radius:6px;object-fit:cover;object-position:center}#moonbase .moonbase\\:product-cart-item>.moonbase\\:image-placeholder{height:80px;width:80px;flex:none;border-radius:6px;background:var(--moonbase-primary-color, rgb(30 64 175))}#moonbase .moonbase\\:product-cart-item>.moonbase\\:product-cart-item-content{display:flex;flex:1 1 auto;flex-direction:column;align-items:flex-start}#moonbase .moonbase\\:product-cart-item>.moonbase\\:product-cart-item-content>:not(:first-child){margin-top:4px}#moonbase .moonbase\\:product-cart-item>.moonbase\\:product-cart-item-content h3{font-weight:600}#moonbase .moonbase\\:product-cart-item>.moonbase\\:product-cart-item-content .moonbase\\:cart-item-discount{color:hsl(from var(--moonbase-success-color, rgb(22 163 74)) h s calc(l - 10))}#moonbase .moonbase\\:product-cart-item>.moonbase\\:product-cart-item-total{flex:none;text-align:right;font-weight:500;font-size:16px;line-height:21px}#moonbase .moonbase\\:product-cart-item>.moonbase\\:product-cart-item-total>span{display:block;font-size:14px;line-height:20px;opacity:.75}#moonbase .moonbase\\:product-cart-item>.moonbase\\:product-cart-item-total>span.moonbase\\:discount{text-decoration:line-through}#moonbase .moonbase\\:bundle-cart-item{display:flex;align-items:center}#moonbase .moonbase\\:bundle-cart-item>:not(:first-child){margin-left:24px}#moonbase .moonbase\\:bundle-cart-item>img{height:80px;width:80px;flex:none;border-radius:6px;object-fit:cover;object-position:center}#moonbase .moonbase\\:bundle-cart-item>.moonbase\\:image-placeholder{height:80px;width:80px;flex:none;border-radius:6px;background:var(--moonbase-primary-color, rgb(30 64 175))}#moonbase .moonbase\\:bundle-cart-item>.moonbase\\:bundle-cart-item-content{display:flex;flex:1 1 auto;flex-direction:column;align-items:flex-start}#moonbase .moonbase\\:bundle-cart-item>.moonbase\\:bundle-cart-item-content>:not(:first-child){margin-top:4px}#moonbase .moonbase\\:bundle-cart-item>.moonbase\\:bundle-cart-item-content h3{font-weight:600}#moonbase .moonbase\\:bundle-cart-item>.moonbase\\:bundle-cart-item-content .moonbase\\:cart-item-discount{color:hsl(from var(--moonbase-success-color, rgb(22 163 74)) h s calc(l - 10))}#moonbase .moonbase\\:bundle-cart-item>.moonbase\\:bundle-cart-item-content .moonbase\\:bundle-cart-item-summary{display:flex;align-items:flex-start;flex-direction:column}#moonbase .moonbase\\:bundle-cart-item>.moonbase\\:bundle-cart-item-content .moonbase\\:bundle-cart-item-summary>:not(:first-child){margin-top:2px}#moonbase .moonbase\\:bundle-cart-item>.moonbase\\:bundle-cart-item-content .moonbase\\:bundle-cart-item-summary button{display:flex;align-items:center}#moonbase .moonbase\\:bundle-cart-item>.moonbase\\:bundle-cart-item-content .moonbase\\:bundle-cart-item-summary button 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-content .moonbase\\:bundle-cart-item-summary button svg[data-open]{transform:rotate(180deg)}#moonbase .moonbase\\:bundle-cart-item>.moonbase\\:product-cart-item-total{flex:none;text-align:right;font-weight:500;font-size:16px;line-height:21px}#moonbase .moonbase\\:bundle-cart-item>.moonbase\\:product-cart-item-total>span{display:block;font-size:14px;line-height:20px;opacity:.75}#moonbase .moonbase\\:bundle-cart-item>.moonbase\\:product-cart-item-total>span.moonbase\\:discount{text-decoration:line-through}#moonbase .moonbase\\:bundle-cart-item-product-list{overflow:hidden;padding-left:24px;transition-property:height;transition-duration:.3s;transition-timing-function:ease-in-out}#moonbase .moonbase\\:bundle-cart-item-product-list>:not(:first-child){border-top-width:1px;border-color:#0000001a}#moonbase .moonbase\\:bundle-cart-item-product-list>div{display:flex;align-items:center;padding:8px 0}#moonbase .moonbase\\:bundle-cart-item-product-list>div>:not(:first-child){margin-left:16px}#moonbase .moonbase\\:bundle-cart-item-product-list>div>img{height:64px;width:64px;flex:none;border-radius:6px;object-fit:cover;object-position:center}#moonbase .moonbase\\:bundle-cart-item-product-list>div>.moonbase\\:image-placeholder{height:64px;width:64px;flex:none;border-radius:6px;background:var(--moonbase-primary-color, rgb(30 64 175))}#moonbase .moonbase\\:bundle-cart-item-product-list>div>div{display:flex;flex:auto;flex-direction:column;align-items:flex-start}#moonbase .moonbase\\:bundle-cart-item-product-list>div>div>:not(:first-child){margin-top:4px}#moonbase .moonbase\\:bundle-cart-item-product-list>div>div h3{display:flex;align-items:center}#moonbase .moonbase\\:bundle-cart-item-product-list>div>div h3:not([data-included]){text-decoration:line-through;opacity:.75}#moonbase .moonbase\\:bundle-cart-item-product-list>div>div h3 svg{margin-right:4px;height:16px;width:16px}#moonbase .moonbase\\:cart-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9999;overflow-y:auto}#moonbase .moonbase\\:cart-modal-container{display:flex;height:100svh;align-items:flex-end;justify-content:center;padding:16px 16px 90px}@media (min-width: 640px){#moonbase .moonbase\\:cart-modal-container{display:block;padding:0}}#moonbase .moonbase\\:cart-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;transition-property:opacity}#moonbase .moonbase\\:cart-modal-overlay[data-transition~=enter]{transition-timing-function:ease-out;transition-duration:.3s}#moonbase .moonbase\\:cart-modal-overlay[data-transition~=enter-from],#moonbase .moonbase\\:cart-modal-overlay[data-transition~=leave-to]{opacity:0}#moonbase .moonbase\\:cart-modal-overlay[data-transition~=enter-to],#moonbase .moonbase\\:cart-modal-overlay[data-transition~=leave-from]{opacity:1}#moonbase .moonbase\\:cart-modal-overlay[data-transition~=leave]{transition-timing-function:ease-in;transition-duration:.2s}#moonbase .moonbase\\:cart-modal-content{position:fixed;top:0;right:0;bottom:0;display:inline-block;background-color:var(--moonbase-background-color, white);box-shadow:#64646f33 0 8px 32px;transition-property:all}#moonbase .moonbase\\:cart-modal-content[data-transition~=enter]{transition-timing-function:ease-out;transition-duration:.3s}#moonbase .moonbase\\:cart-modal-content[data-transition~=enter-from]{opacity:0;transform:translateY(16px)}@media (min-width: 640px){#moonbase .moonbase\\:cart-modal-content[data-transition~=enter-from]{transform:translate(48px)}}#moonbase .moonbase\\:cart-modal-content[data-transition~=enter-to]{opacity:1;transform:translateY(0)}@media (min-width: 640px){#moonbase .moonbase\\:cart-modal-content[data-transition~=enter-to]{transform:translate(0)}}#moonbase .moonbase\\:cart-modal-content[data-transition~=leave]{transition-timing-function:ease-in;transition-duration:.3s}#moonbase .moonbase\\:cart-modal-content[data-transition~=leave-from]{opacity:1;transform:translateY(0)}@media (min-width: 640px){#moonbase .moonbase\\:cart-modal-content[data-transition~=leave-from]{transform:translate(0)}}#moonbase .moonbase\\:cart-modal-content[data-transition~=leave-to]{opacity:0;transform:translateY(16px)}@media (min-width: 640px){#moonbase .moonbase\\:cart-modal-content[data-transition~=leave-to]{transform:translate(48px)}}#moonbase .moonbase\\:button{position:relative;display:flex;justify-content:center;overflow:hidden;transition-property:color,background-color,border-color,box-shadow;transition-timing-function:ease-in-out;transition-duration:.2s;box-shadow:0 1px 2px 0 var(--moonbase-button-shadow-color)}#moonbase .moonbase\\:button[data-variant=secondary]{--moonbase-button-background-color: rgb(107 114 128);--moonbase-button-text-color: white}#moonbase .moonbase\\:button,#moonbase .moonbase\\:button:hover,#moonbase .moonbase\\:button:focus,#moonbase .moonbase\\:button:active{font-size:.875rem;font-weight:500;line-height:1.25rem;border-radius:var(--moonbase-button-border-radius);border-width:1px;border-color:transparent;border-style:solid;color:var(--moonbase-button-text-color);background-color:var(--moonbase-button-background-color);padding:var(--moonbase-button-padding);height:unset;width:unset}#moonbase .moonbase\\:button:hover{background-color:hsl(from var(--moonbase-button-background-color) h s calc(l - 5))}#moonbase .moonbase\\:button:focus{transition-duration:.1s;outline:2px solid transparent;outline-offset:2px;box-shadow:#fff 0 0 0 2px,var(--moonbase-button-background-color) 0 0 0 4px,0 1px 2px 0 var(--moonbase-button-shadow-color)}#moonbase .moonbase\\:button[data-success]{background-color:var(--moonbase-button-success-color)}#moonbase .moonbase\\:button[data-error]{background-color:var(--moonbase-button-error-color)}#moonbase .moonbase\\:button div{margin-left:-12px;margin-right:12px;height:20px;width:0px;opacity:0;transition-property:opacity,width;transition-duration:.2s;transition-timing-function:ease-in-out}#moonbase .moonbase\\:button div[data-visible]{width:20px;opacity:1}#moonbase .moonbase\\:button div svg{height:20px;width:20px}#moonbase .moonbase\\:cart{display:inline-block;color:var(--moonbase-text-color, black);padding:32px}@media (min-width: 640px){#moonbase .moonbase\\:cart{width:100vw;max-width:26rem}}#moonbase .moonbase\\:cart>h3{font-size:1.125rem;line-height:1.5rem;font-weight:500;text-align:center;margin-bottom:1.5rem}#moonbase .moonbase\\:cart>.moonbase\\:cart-items{font-size:14px;line-height:20px;font-weight:500}#moonbase .moonbase\\:cart>.moonbase\\:cart-items>:not(:first-child){border-top-width:1px;border-color:#00000026}#moonbase .moonbase\\:cart>.moonbase\\:cart-items>li{padding:24px 0}#moonbase .moonbase\\:cart>.moonbase\\:cart-items>li>:not(:first-child){margin-left:16px}#moonbase .moonbase\\:cart>.moonbase\\:cart-empty{padding:32px 0;font-size:1.1rem;line-height:1.3rem;font-weight:500}#moonbase .moonbase\\:cart>.moonbase\\:cart-total{width:100%;margin-top:16px;padding:8px;border-radius:4px;background:#0000001a;display:grid;grid-template-columns:repeat(2,1fr);justify-content:space-between}#moonbase .moonbase\\:cart>.moonbase\\:cart-total>label{font-weight:500}#moonbase .moonbase\\:cart>.moonbase\\:cart-total>span{font-weight:600;text-align:right}#moonbase .moonbase\\:cart>.moonbase\\:cart-total>p{grid-column:-1 / 1;padding-top:8px;text-align:center}#moonbase .moonbase\\:cart>button{--moonbase-button-padding: 12px 32px;margin:32px auto 16px;min-width:164px}#moonbase .moonbase\\:account{padding-bottom:32px}#moonbase .moonbase\\:account>*:not(:last-child){margin-bottom:16px}#moonbase .moonbase\\:account form{margin:auto;max-width:420px}#moonbase .moonbase\\:account form>*:not(:first-child){margin-top:8px}#moonbase .moonbase\\:account form .moonbase\\:error{font-size:14px;line-height:20px;font-weight:600;color:var(--moonbase-error-color)}#moonbase .moonbase\\:account form .moonbase\\:notification{font-size:14px;line-height:20px;font-weight:600}#moonbase .moonbase\\:account>button{margin:32px auto 0}#moonbase .moonbase\\:product-downloads{display:flex;border-radius:var(--moonbase-border-radius);box-shadow:0 1px 2px 0 var(--moonbase-button-shadow-color)}#moonbase .moonbase\\:product-downloads button{position:relative;display:inline-flex;align-items:center;transition-property:color,background-color,border-color,box-shadow;transition-timing-function:ease-in-out;transition-duration:.2s;box-shadow:0 1px 2px 0 var(--moonbase-button-shadow-color)}#moonbase .moonbase\\:product-downloads button,#moonbase .moonbase\\:product-downloads button:hover,#moonbase .moonbase\\:product-downloads button:focus,#moonbase .moonbase\\:product-downloads button:active{font-size:.875rem;font-weight:500;line-height:1.25rem;border-radius:0;border-width:1px;border-color:transparent;border-style:solid;color:var(--moonbase-button-text-color);background-color:var(--moonbase-button-background-color);margin:0 -1px;padding:8px;height:unset;width:unset}#moonbase .moonbase\\:product-downloads button:hover{background-color:hsl(from var(--moonbase-button-background-color) h s calc(l - 5))}#moonbase .moonbase\\:product-downloads button:focus{transition-duration:.1s;outline:2px solid transparent;outline-offset:2px;box-shadow:inset #fff 0 0 0 2px,inset var(--moonbase-button-background-color) 0 0 0 4px,0 1px 2px 0 var(--moonbase-button-shadow-color)}#moonbase .moonbase\\:product-downloads>button{border-radius:0}#moonbase .moonbase\\:product-downloads>button:first-child{border-top-left-radius:var(--moonbase-border-radius);border-bottom-left-radius:var(--moonbase-border-radius)}#moonbase .moonbase\\:product-downloads>button[data-last]{border-top-right-radius:var(--moonbase-border-radius);border-bottom-right-radius:var(--moonbase-border-radius)}#moonbase .moonbase\\:product-downloads .moonbase\\:product-downloads-group{position:relative;margin:0 -1px;display:block}#moonbase .moonbase\\:product-downloads .moonbase\\:product-downloads-group:first-child>button{border-top-left-radius:var(--moonbase-border-radius);border-bottom-left-radius:var(--moonbase-border-radius)}#moonbase .moonbase\\:product-downloads .moonbase\\:product-downloads-group[data-last]>button{border-top-right-radius:var(--moonbase-border-radius);border-bottom-right-radius:var(--moonbase-border-radius)}#moonbase .moonbase\\:product-downloads .moonbase\\:product-downloads-group button>:last-child{margin-left:8px}#moonbase .moonbase\\:product-downloads svg{height:20px;width:20px;color:#fff}#moonbase .moonbase\\:product-downloads .moonbase\\:product-downloads-list{position:absolute;display:flex;flex-direction:column;right:0;margin-right:-4px;margin-top:8px;width:128px;transform-origin:top right;background-color:var(--moonbase-background-color);box-shadow:#0000001a 0 10px 15px -3px,#0000001a 0 4px 6px -4px,#00000040 0 0 0 1px;z-index:999999;border-radius:var(--moonbase-border-radius)}#moonbase .moonbase\\:product-downloads .moonbase\\:product-downloads-list:focus{outline:none}#moonbase .moonbase\\:product-downloads .moonbase\\:product-downloads-list button{border-radius:0}#moonbase .moonbase\\:product-downloads .moonbase\\:product-downloads-list button:first-child{border-top-right-radius:var(--moonbase-border-radius);border-top-left-radius:var(--moonbase-border-radius)}#moonbase .moonbase\\:product-downloads .moonbase\\:product-downloads-list button:last-child{border-bottom-right-radius:var(--moonbase-border-radius);border-bottom-left-radius:var(--moonbase-border-radius)}#moonbase .moonbase\\:product-downloads .moonbase\\:product-downloads-list button,#moonbase .moonbase\\:product-downloads .moonbase\\:product-downloads-list button:hover,#moonbase .moonbase\\:product-downloads .moonbase\\:product-downloads-list button:focus,#moonbase .moonbase\\:product-downloads .moonbase\\:product-downloads-list button:active{color:var(--moonbase-text-color);background-color:transparent;margin:0;padding:8px;height:unset;width:unset}#moonbase .moonbase\\:product-downloads .moonbase\\:product-downloads-list button:hover,#moonbase .moonbase\\:product-downloads .moonbase\\:product-downloads-list button:focus,#moonbase .moonbase\\:product-downloads .moonbase\\:product-downloads-list button[data-active]{background-color:hsl(from var(--moonbase-background-color) h s calc(l - 5))}#moonbase .moonbase\\:product-downloads .moonbase\\:product-downloads-list button:focus,#moonbase .moonbase\\:product-downloads .moonbase\\:product-downloads-list button[data-active]{box-shadow:none}#moonbase .moonbase\\:product-activations{position:absolute;right:8px;margin-top:8px;transform-origin:top right;background-color:var(--moonbase-background-color);box-shadow:#0000001a 0 10px 15px -3px,#0000001a 0 4px 6px -4px,#00000040 0 0 0 1px;z-index:999999;border-radius:var(--moonbase-border-radius)}#moonbase .moonbase\\:product-activations>thead{border-bottom:1px solid rgb(from var(--moonbase-text-color) r g b / .25)}#moonbase .moonbase\\:product-activations>thead>tr>th{white-space:nowrap;font-size:14px;font-weight:600;line-height:20px;color:hsl(from var(--moonbase-text-color) h s calc(l + 10))}#moonbase .moonbase\\:product-activations>thead>tr>th:first-child{width:100%;padding:8px 12px 8px 16px;border-top-left-radius:var(--moonbase-border-radius)}#moonbase .moonbase\\:product-activations>thead>tr>th:not(:first-child,:last-child){text-align:center;padding:8px 12px}#moonbase .moonbase\\:product-activations>thead>tr>th:last-child{text-align:right;padding:8px 16px 8px 12px;border-top-right-radius:var(--moonbase-border-radius)}#moonbase .moonbase\\:product-activations>tbody>:not(:first-child){border-top-width:1px;border-color:#0000001a}#moonbase .moonbase\\:product-activations>tbody>tr>td{white-space:nowrap;text-overflow:ellipsis;position:relative;font-size:14px;font-weight:600;line-height:20px}#moonbase .moonbase\\:product-activations>tbody>tr>td:first-child{width:100%;padding:8px 12px 8px 16px;border-top-left-radius:var(--moonbase-border-radius)}#moonbase .moonbase\\:product-activations>tbody>tr>td:first-child>svg{height:16px;width:16px;display:inline;margin-right:8px}#moonbase .moonbase\\:product-activations>tbody>tr>td:first-child>div{display:flex;align-items:center}#moonbase .moonbase\\:product-activations>tbody>tr>td:first-child>div>img{height:42px;width:42px;flex:none;border-radius:6px;object-fit:cover;object-position:center}#moonbase .moonbase\\:product-activations>tbody>tr>td:first-child>div>.moonbase\\:image-placeholder{height:42px;width:42px;flex:none;border-radius:6px;background:var(--moonbase-primary-color, rgb(30 64 175))}#moonbase .moonbase\\:product-activations>tbody>tr>td:first-child>div>span{margin-left:8px;font-size:14px;font-weight:500;line-height:20px}#moonbase .moonbase\\:product-activations>tbody>tr>td:not(:first-child,:last-child){text-align:center;padding:14px 12px}#moonbase .moonbase\\:product-activations>tbody>tr>td:last-child{text-align:right;padding:14px 16px 14px 12px;border-top-right-radius:var(--moonbase-border-radius)}#moonbase .moonbase\\:product-activations>tbody>tr>td:last-child>div{display:flex;align-items:center;justify-content:flex-end}#moonbase .moonbase\\:product-activations>tbody>tr>td:last-child>div>:not(:first-child){margin-left:8px}#moonbase .moonbase\\:product-activations>tbody>tr>td>button{margin:auto}#moonbase .moonbase\\:product-activations>tbody>tr>td>button,#moonbase .moonbase\\:product-activations>tbody>tr>td>button:hover,#moonbase .moonbase\\:product-activations>tbody>tr>td>button:focus,#moonbase .moonbase\\:product-activations>tbody>tr>td>button:active{width:100%}#moonbase .moonbase\\:products{min-width:calc(100% + 128px);margin:0 -64px}#moonbase .moonbase\\:products>thead{border-bottom:1px solid rgb(from var(--moonbase-text-color) r g b / .25)}#moonbase .moonbase\\:products>thead>tr>th{white-space:nowrap;font-size:14px;font-weight:600;line-height:20px;color:hsl(from var(--moonbase-text-color) h s calc(l + 10))}#moonbase .moonbase\\:products>thead>tr>th:last-child{text-align:right;padding:14px 16px 14px 12px}#moonbase .moonbase\\:products>thead>tr>th:first-child{text-align:left;width:100%;padding:14px 12px 14px 16px}#moonbase .moonbase\\:products>thead>tr>th:not(:first-child,:last-child){text-align:center;padding:14px 12px}#moonbase .moonbase\\:products>tbody>:not(:first-child){border-top-width:1px;border-color:#0000001a}#moonbase .moonbase\\:products>tbody>tr>td{white-space:nowrap;text-overflow:ellipsis;position:relative}#moonbase .moonbase\\:products>tbody>tr>td:first-child{width:100%;padding:14px 12px 14px 16px}#moonbase .moonbase\\:products>tbody>tr>td:first-child>svg{height:16px;width:16px;display:inline;margin-right:8px}#moonbase .moonbase\\:products>tbody>tr>td:first-child>div{display:flex;align-items:center}#moonbase .moonbase\\:products>tbody>tr>td:first-child>div>img{height:42px;width:42px;flex:none;border-radius:6px;object-fit:cover;object-position:center}#moonbase .moonbase\\:products>tbody>tr>td:first-child>div>.moonbase\\:image-placeholder{height:42px;width:42px;flex:none;border-radius:6px;background:var(--moonbase-primary-color)}#moonbase .moonbase\\:products>tbody>tr>td:first-child>div>span{margin-left:8px;font-size:14px;font-weight:500;line-height:20px}#moonbase .moonbase\\:products>tbody>tr>td:not(:first-child,:last-child){text-align:center;padding:14px 12px}#moonbase .moonbase\\:products>tbody>tr>td:last-child{text-align:right;padding:14px 16px 14px 12px}#moonbase .moonbase\\:products>tbody>tr>td:last-child>div{display:flex;align-items:center;justify-content:flex-end}#moonbase .moonbase\\:products>tbody>tr>td:last-child>div>:not(:first-child){margin-left:8px}#moonbase .moonbase\\:products>tbody>tr>td>button{margin:auto}#moonbase .moonbase\\:products>tbody>tr>td>button,#moonbase .moonbase\\:products>tbody>tr>td>button:hover,#moonbase .moonbase\\:products>tbody>tr>td>button:focus,#moonbase .moonbase\\:products>tbody>tr>td>button:active{width:100%}#moonbase .moonbase\\:redeem>form{display:flex;flex-direction:column;max-width:240px;margin:64px auto 32px}#moonbase .moonbase\\:redeem>form>*:not(:first-child){margin-top:16px}#moonbase .moonbase\\:redeem>form>button{margin:auto}#moonbase .moonbase\\:redeem>form .moonbase\\:error{text-align:center;color:var(--moonbase-error-color, rgb(167, 33, 33));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{max-width:320px;margin:16px auto;padding:16px;box-shadow:0 0 0 2px var(--moonbase-button-shadow-color);border-radius:var(--moonbase-border-radius)}#moonbase .moonbase\\:redeem .moonbase\\:redeem-voucher-products>*:not(:first-child){border-top:1px solid rgb(from var(--moonbase-text-color) r g b / .3)}#moonbase .moonbase\\:redeem .moonbase\\:redeem-voucher-product,#moonbase .moonbase\\:redeem .moonbase\\:redeem-voucher-bundle{display:flex;align-items:center;padding:8px 0}#moonbase .moonbase\\:redeem .moonbase\\:redeem-voucher-product>*:not(:first-child),#moonbase .moonbase\\:redeem .moonbase\\:redeem-voucher-bundle>*:not(:first-child){margin-left:12px}#moonbase .moonbase\\:redeem .moonbase\\:redeem-voucher-product>:first-child,#moonbase .moonbase\\:redeem .moonbase\\:redeem-voucher-bundle>:first-child{flex-shrink:0}#moonbase .moonbase\\:redeem .moonbase\\:redeem-voucher-product>:first-child>img,#moonbase .moonbase\\:redeem .moonbase\\:redeem-voucher-bundle>:first-child>img{height:42px;width:42px;flex:none;border-radius:6px;object-fit:cover;object-position:center}#moonbase .moonbase\\:redeem .moonbase\\:redeem-voucher-product>:first-child>.moonbase\\:image-placeholder,#moonbase .moonbase\\:redeem .moonbase\\:redeem-voucher-bundle>:first-child>.moonbase\\:image-placeholder{height:42px;width:42px;flex:none;border-radius:6px;background:var(--moonbase-primary-color)}#moonbase .moonbase\\:redeem .moonbase\\:redeem-voucher-product>:last-child,#moonbase .moonbase\\:redeem .moonbase\\:redeem-voucher-bundle>:last-child{flex:1;min-width:0}#moonbase .moonbase\\:redeem .moonbase\\:redeem-voucher-product>:last-child>:first-child,#moonbase .moonbase\\:redeem .moonbase\\:redeem-voucher-bundle>:last-child>:first-child{font-size:14px;font-weight:500;line-height:20px}#moonbase .moonbase\\:redeem .moonbase\\:redeem-voucher-product>:last-child>:last-child,#moonbase .moonbase\\:redeem .moonbase\\:redeem-voucher-bundle>:last-child>:last-child{font-size:14px;line-height:20px;text-overflow:ellipsis}#moonbase .moonbase\\:redeem .moonbase\\:redeem-voucher-bundle-products{padding-left:32px}#moonbase .moonbase\\:redeem .moonbase\\:redeem-voucher-bundle-products>*:not(:first-child){border-top:1px solid rgb(from var(--moonbase-text-color) r g b / .3)}#moonbase .moonbase\\:customer{display:inline-block;color:var(--moonbase-text-color);padding:32px 64px 16px}@media (min-width: 640px){#moonbase .moonbase\\:customer{width:100vw;max-width:32rem}}#moonbase .moonbase\\:customer>[role=tablist]{margin:0 -32px 16px;padding:0 32px;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(from var(--moonbase-button-background-color) r g b / .25);display:flex}#moonbase .moonbase\\:customer>[role=tablist]>[role=tab]{margin-bottom:-1px;width:33%;padding:8px 4px;text-align:center;font-size:14px;font-weight:500;line-height:20px;border-bottom-width:2px;border-bottom-style:solid;border-bottom-color:transparent;color:hsl(from var(--moonbase-text-color) h s calc(l + 15));transition-property:border-bottom-color,color;transition-duration:.25s;transition-timing-function:ease-out}#moonbase .moonbase\\:customer>[role=tablist]>[role=tab]:hover{color:hsl(from var(--moonbase-text-color) h s calc(l + 5));border-bottom-color:hsl(from var(--moonbase-text-color) h s calc(l + 15))}#moonbase .moonbase\\:customer>[role=tablist]>[role=tab][aria-selected=true]{color:hsl(from var(--moonbase-primary-color) h s calc(l - 15));border-bottom-color:hsl(from var(--moonbase-primary-color) h s calc(l - 10))}#moonbase .moonbase\\:auto-activate .moonbase\\:loader{display:flex;align-items:center;flex-direction:column;padding:36px 16px;text-align:center}#moonbase .moonbase\\:auto-activate .moonbase\\:loader svg{height:24px;width:24px}#moonbase .moonbase\\:auto-activate .moonbase\\:loader h3{color:var(--moonbase-text-color);font-size:18px;font-weight:500;line-height:24px}#moonbase .moonbase\\:auto-activate .moonbase\\:loader p{margin-top:4px;color:hsl(from var(--moonbase-text-color) h s calc(l + 10));font-size:14px;font-weight:500;line-height:18px}#moonbase .moonbase\\:auto-activate .moonbase\\:auto-activate-product{display:flex;align-items:center}#moonbase .moonbase\\:auto-activate .moonbase\\:auto-activate-product>img{height:42px;width:42px;flex:none;border-radius:6px;object-fit:cover;object-position:center}#moonbase .moonbase\\:auto-activate .moonbase\\:auto-activate-product>.moonbase\\:image-placeholder{height:42px;width:42px;flex:none;border-radius:6px;background:var(--moonbase-primary-color)}#moonbase .moonbase\\:auto-activate .moonbase\\:auto-activate-product div{margin-left:8px}#moonbase .moonbase\\:auto-activate .moonbase\\:auto-activate-product div h2{color:var(--moonbase-text-color);font-size:16px;font-weight:500;line-height:20px}#moonbase .moonbase\\:auto-activate .moonbase\\:auto-activate-product div h3{margin-top:2px;color:hsl(from var(--moonbase-text-color) h s calc(l + 10));font-size:14px;font-weight:500;line-height:18px}#moonbase .moonbase\\:auto-activate .moonbase\\:auto-activate-content{margin-top:16px;text-align:center;color:hsl(from var(--moonbase-text-color) h s calc(l + 10));font-size:16px;font-weight:500;line-height:20px}#moonbase .moonbase\\:auto-activate .moonbase\\:auto-activate-content .moonbase\\:auto-activate-cta{margin:16px auto 0;display:flex;justify-content:center;text-align:center}#moonbase .moonbase\\:auto-activate .moonbase\\:auto-activate-content .moonbase\\:auto-activate-cta>:not(:first-child){margin-left:8px}#moonbase .moonbase\\:auto-activate .moonbase\\:auto-activate-content .moonbase\\:auto-activate-trial{margin-top:16px;padding-top:16px;border-top-width:1px;border-color:rgb(from var(--moonbase-text-color) r g b / .2);border-style:solid}#moonbase .moonbase\\:activation{display:inline-block;color:var(--moonbase-text-color, black);padding:32px 64px}@media (min-width: 640px){#moonbase .moonbase\\:activation{width:100vw;max-width:26rem}}#moonbase .moonbase\\:activation>h3{font-size:1.125rem;line-height:1.5rem;font-weight:500;text-align:center;margin-bottom:1.5rem}#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 h3{color:var(--moonbase-text-color);font-size:18px;font-weight:500;line-height:24px}#moonbase .moonbase\\:download-product .moonbase\\:loader p{margin-top:4px;color:hsl(from var(--moonbase-text-color) h s calc(l + 10));font-size:14px;font-weight:500;line-height:18px}#moonbase .moonbase\\:download-product .moonbase\\:download-product-product{display:flex;align-items:center}#moonbase .moonbase\\:download-product .moonbase\\:download-product-product>img{height:42px;width:42px;flex:none;border-radius:6px;object-fit:cover;object-position:center}#moonbase .moonbase\\:download-product .moonbase\\:download-product-product>.moonbase\\:image-placeholder{height:42px;width:42px;flex:none;border-radius:6px;background:var(--moonbase-primary-color)}#moonbase .moonbase\\:download-product .moonbase\\:download-product-product div{margin-left:8px}#moonbase .moonbase\\:download-product .moonbase\\:download-product-product div h2{color:var(--moonbase-text-color);font-size:16px;font-weight:500;line-height:20px}#moonbase .moonbase\\:download-product .moonbase\\:download-product-product div h2 span{opacity:.75;font-size:14px}#moonbase .moonbase\\:download-product .moonbase\\:download-product-product div h3{margin-top:2px;color:hsl(from var(--moonbase-text-color) h s calc(l + 10));font-size:14px;font-weight:500;line-height:18px}#moonbase .moonbase\\:download-product .moonbase\\:download-product-content{margin-top:16px;text-align:left;color:hsl(from var(--moonbase-text-color) h calc(s - 25) calc(l + 10));font-size:16px;font-weight:500;line-height:20px}#moonbase .moonbase\\:download-product .moonbase\\:download-product-content>:not(:first-child){margin-top:16px}#moonbase .moonbase\\:download-product .moonbase\\:download-product-content .moonbase\\:download-product-cta{margin:16px auto 0;display:flex;justify-content:center;text-align:center}#moonbase .moonbase\\:download-product .moonbase\\:download-product-content .moonbase\\:download-product-cta>:not(:first-child){margin-left:8px}#moonbase .moonbase\\:download-product .moonbase\\:download-product-content ul{border-radius:6px}#moonbase .moonbase\\:download-product .moonbase\\:download-product-content ul>:not(:first-child){border-top:1px solid rgb(from var(--moonbase-text-color) r g b / .25)}#moonbase .moonbase\\:download-product .moonbase\\:download-product-content ul li{position:relative;display:flex;justify-content:space-between;transition:background-color .25s ease-in-out;padding:12px 16px}#moonbase .moonbase\\:download-product .moonbase\\:download-product-content ul li:hover{background-color:#0000001a}#moonbase .moonbase\\:download-product .moonbase\\:download-product-content ul li:first-child{border-top-left-radius:6px;border-top-right-radius:6px}#moonbase .moonbase\\:download-product .moonbase\\:download-product-content ul li:last-child{border-bottom-left-radius:6px;border-bottom-right-radius:6px}#moonbase .moonbase\\:download-product .moonbase\\:download-product-content ul li>:not(:first-child){margin-left:20px}#moonbase .moonbase\\:download-product .moonbase\\:download-product-content ul li>div:first-child{min-width:0}#moonbase .moonbase\\:download-product .moonbase\\:download-product-content ul li>div:first-child .moonbase\\:download-product-download-name{font-weight:600;line-height:24px;font-size:14px}#moonbase .moonbase\\:download-product .moonbase\\:download-product-content ul li>div:first-child .moonbase\\:download-product-download-description{display:flex;align-items:center;line-height:24px;font-size:14px;color:hsl(from var(--moonbase-text-color) h calc(s - 25) calc(l + 20))}#moonbase .moonbase\\:download-product .moonbase\\:download-product-content ul li>div:first-child .moonbase\\:download-product-download-description svg{height:16px;width:16px;margin-right:6px;color:hsl(from var(--moonbase-text-color) h calc(s - 25) calc(l + 20))}#moonbase .moonbase\\:download-product .moonbase\\:download-product-content ul li>div:first-child .moonbase\\:download-product-download-description span{opacity:.5;margin:0 6px}#moonbase .moonbase\\:download-product .moonbase\\:download-product-content ul li>div:last-child{display:flex;align-items:center;flex-shrink:0}#moonbase .moonbase\\:download-product .moonbase\\:download-product-content ul li>div:last-child svg{flex:none;height:20px;width:20px;color:hsl(from var(--moonbase-text-color) h calc(s - 25) calc(l + 20))}#moonbase .moonbase\\:download-product .moonbase\\:download-product-clicker{position:absolute;top:0;right:0;left:0;padding:-1px 0;bottom:0}#moonbase .moonbase\\:download{display:inline-block;color:var(--moonbase-text-color, black);padding:32px 64px}@media (min-width: 640px){#moonbase .moonbase\\:download{width:100vw;max-width:26rem}}#moonbase .moonbase\\:download>h3{font-size:1.125rem;line-height:1.5rem;font-weight:500;text-align:center;margin-bottom:1.5rem}#moonbase,#moonbase *:not(svg,path),#moonbase :before,#moonbase :after{all:revert;box-sizing:border-box;border-width:0;border-style:solid}#moonbase *:not(svg,path){margin:0;padding:0;font-family:system-ui,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"}#moonbase{--moonbase-text-color: rgb(17 24 39);--moonbase-primary-color: rgb(79 70 229);--moonbase-error-color: rgb(167, 33, 33);--moonbase-background-color: white;--moonbase-button-padding: 8px 32px;--moonbase-button-text-color: rgb(255 255 255);--moonbase-button-background-color: var(--moonbase-primary-color);--moonbase-button-shadow-color: rgb(0 0 0 / .05);--moonbase-button-success-color: rgb(22 163 74);--moonbase-button-error-color: rgb(167, 33, 33);--moonbase-button-border-radius: var(--moonbase-border-radius, 6px);--moonbase-input-active-color: var(--moonbase-primary-color, var(--moonbase-primary-color));--moonbase-input-shadow-color: rgb(0 0 0 / .05);--moonbase-input-error-color: rgb(167, 33, 33);--moonbase-input-background-color: transparent;--moonbase-input-text-color:var(--moonbase-text-color);--moonbase-input-border-radius: var(--moonbase-border-radius, 6px);--moonbase-modal-padding: 8px 32px;--moonbase-modal-text-color: var(--moonbase-text-color);--moonbase-modal-background-color: rgb(255 255 255);--moonbase-modal-shadow-color: rgb(0 0 0 / .05);--moonbase-modal-border-radius: var(--moonbase-border-radius, 6px)}#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(1rem)}#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(-1rem)}#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 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}')),document.head.appendChild(o)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
2
|
var Df = Object.defineProperty;
|
|
3
3
|
var $f = (e, t, n) => t in e ? Df(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
4
4
|
var tr = (e, t, n) => $f(e, typeof t != "symbol" ? t + "" : t, n);
|
|
@@ -485,7 +485,7 @@ class Ee {
|
|
|
485
485
|
return No.create([this, t], this._def);
|
|
486
486
|
}
|
|
487
487
|
and(t) {
|
|
488
|
-
return
|
|
488
|
+
return xo.create(this, t, this._def);
|
|
489
489
|
}
|
|
490
490
|
transform(t) {
|
|
491
491
|
return new Zt({
|
|
@@ -1960,7 +1960,7 @@ function qi(e, t) {
|
|
|
1960
1960
|
return { valid: !0, data: o };
|
|
1961
1961
|
} else return n === re.date && r === re.date && +e == +t ? { valid: !0, data: e } : { valid: !1 };
|
|
1962
1962
|
}
|
|
1963
|
-
class
|
|
1963
|
+
class xo extends Ee {
|
|
1964
1964
|
_parse(t) {
|
|
1965
1965
|
const { status: n, ctx: r } = this._processInputParams(t), o = (s, i) => {
|
|
1966
1966
|
if (Hi(s) || Hi(i))
|
|
@@ -1992,7 +1992,7 @@ class So extends Ee {
|
|
|
1992
1992
|
}));
|
|
1993
1993
|
}
|
|
1994
1994
|
}
|
|
1995
|
-
|
|
1995
|
+
xo.create = (e, t, n) => new xo({
|
|
1996
1996
|
left: e,
|
|
1997
1997
|
right: t,
|
|
1998
1998
|
typeName: me.ZodIntersection,
|
|
@@ -2048,7 +2048,7 @@ an.create = (e, t) => {
|
|
|
2048
2048
|
...we(t)
|
|
2049
2049
|
});
|
|
2050
2050
|
};
|
|
2051
|
-
class
|
|
2051
|
+
class So extends Ee {
|
|
2052
2052
|
get keySchema() {
|
|
2053
2053
|
return this._def.keyType;
|
|
2054
2054
|
}
|
|
@@ -2076,12 +2076,12 @@ class xo extends Ee {
|
|
|
2076
2076
|
return this._def.valueType;
|
|
2077
2077
|
}
|
|
2078
2078
|
static create(t, n, r) {
|
|
2079
|
-
return n instanceof Ee ? new
|
|
2079
|
+
return n instanceof Ee ? new So({
|
|
2080
2080
|
keyType: t,
|
|
2081
2081
|
valueType: n,
|
|
2082
2082
|
typeName: me.ZodRecord,
|
|
2083
2083
|
...we(r)
|
|
2084
|
-
}) : new
|
|
2084
|
+
}) : new So({
|
|
2085
2085
|
keyType: Ft.create(),
|
|
2086
2086
|
valueType: t,
|
|
2087
2087
|
typeName: me.ZodRecord,
|
|
@@ -2742,7 +2742,7 @@ var me;
|
|
|
2742
2742
|
})(me || (me = {}));
|
|
2743
2743
|
const Qf = (e, t = {
|
|
2744
2744
|
message: `Input not instance of ${e.name}`
|
|
2745
|
-
}) => Mu((n) => n instanceof e, t), Uu = Ft.create, Fu = Bn.create, ep = As.create, tp = Hn.create, Bu = wo.create, np = Er.create, rp = Ds.create, op = Eo.create, sp = Oo.create, ip = Ur.create, ap = hr.create, lp = _n.create, up = $s.create, cp = Bt.create, dp = ze.create, fp = ze.strictCreate, pp = No.create, hp = Gs.create, mp =
|
|
2745
|
+
}) => Mu((n) => n instanceof e, t), Uu = Ft.create, Fu = Bn.create, ep = As.create, tp = Hn.create, Bu = wo.create, np = Er.create, rp = Ds.create, op = Eo.create, sp = Oo.create, ip = Ur.create, ap = hr.create, lp = _n.create, up = $s.create, cp = Bt.create, dp = ze.create, fp = ze.strictCreate, pp = No.create, hp = Gs.create, mp = xo.create, vp = an.create, gp = So.create, yp = Is.create, bp = Or.create, _p = Vr.create, wp = ko.create, Ep = To.create, Op = Zn.create, Np = Co.create, xp = Fr.create, wl = Zt.create, Sp = en.create, kp = qn.create, Tp = Zt.createWithPreprocess, Cp = Zo.create, Pp = () => Uu().optional(), Dp = () => Fu().optional(), $p = () => Bu().optional(), Ip = {
|
|
2746
2746
|
string: (e) => Ft.create({ ...e, coerce: !0 }),
|
|
2747
2747
|
number: (e) => Bn.create({ ...e, coerce: !0 }),
|
|
2748
2748
|
boolean: (e) => wo.create({
|
|
@@ -2794,9 +2794,9 @@ var v = /* @__PURE__ */ Object.freeze({
|
|
|
2794
2794
|
ZodObject: ze,
|
|
2795
2795
|
ZodUnion: No,
|
|
2796
2796
|
ZodDiscriminatedUnion: Gs,
|
|
2797
|
-
ZodIntersection:
|
|
2797
|
+
ZodIntersection: xo,
|
|
2798
2798
|
ZodTuple: an,
|
|
2799
|
-
ZodRecord:
|
|
2799
|
+
ZodRecord: So,
|
|
2800
2800
|
ZodMap: Is,
|
|
2801
2801
|
ZodSet: Or,
|
|
2802
2802
|
ZodFunction: Vr,
|
|
@@ -2847,11 +2847,11 @@ var v = /* @__PURE__ */ Object.freeze({
|
|
|
2847
2847
|
object: dp,
|
|
2848
2848
|
oboolean: $p,
|
|
2849
2849
|
onumber: Dp,
|
|
2850
|
-
optional:
|
|
2850
|
+
optional: Sp,
|
|
2851
2851
|
ostring: Pp,
|
|
2852
2852
|
pipeline: Cp,
|
|
2853
2853
|
preprocess: Tp,
|
|
2854
|
-
promise:
|
|
2854
|
+
promise: xp,
|
|
2855
2855
|
record: gp,
|
|
2856
2856
|
set: bp,
|
|
2857
2857
|
strictObject: fp,
|
|
@@ -3316,7 +3316,7 @@ var Xt = /* @__PURE__ */ ((e) => (e.Universal = "Universal", e.Windows = "Window
|
|
|
3316
3316
|
constructor() {
|
|
3317
3317
|
super(), this.name = "NotAuthorizedError", this.message = "Not allowed";
|
|
3318
3318
|
}
|
|
3319
|
-
},
|
|
3319
|
+
}, xa = class extends Error {
|
|
3320
3320
|
constructor() {
|
|
3321
3321
|
super(), this.name = "NotAuthenticatedError", this.message = "Not authenticated";
|
|
3322
3322
|
}
|
|
@@ -3345,7 +3345,7 @@ async function Ki(e) {
|
|
|
3345
3345
|
if (e.status === 404)
|
|
3346
3346
|
throw new Wn();
|
|
3347
3347
|
if (e.status === 401)
|
|
3348
|
-
throw new
|
|
3348
|
+
throw new xa();
|
|
3349
3349
|
if (e.status === 403)
|
|
3350
3350
|
throw new Bp();
|
|
3351
3351
|
let t;
|
|
@@ -3484,7 +3484,7 @@ var Wu = v.object({
|
|
|
3484
3484
|
Hu(Ku, {
|
|
3485
3485
|
completedOrderSchema: () => Qu,
|
|
3486
3486
|
openBundleLineItem: () => Xu,
|
|
3487
|
-
openOrderLineItem: () =>
|
|
3487
|
+
openOrderLineItem: () => Sa,
|
|
3488
3488
|
openOrderSchema: () => Rs,
|
|
3489
3489
|
openProductLineItem: () => Yu,
|
|
3490
3490
|
orderSchema: () => ec
|
|
@@ -3527,7 +3527,7 @@ var ao = /* @__PURE__ */ ((e) => (e.Open = "Open", e.PaymentProcessing = "Paymen
|
|
|
3527
3527
|
variation: Hr.optional(),
|
|
3528
3528
|
bundle: zp.optional(),
|
|
3529
3529
|
appliedDiscount: Na.optional()
|
|
3530
|
-
}),
|
|
3530
|
+
}), Sa = v.discriminatedUnion("type", [
|
|
3531
3531
|
Yu,
|
|
3532
3532
|
Xu
|
|
3533
3533
|
]), Rs = v.object({
|
|
@@ -3537,7 +3537,7 @@ var ao = /* @__PURE__ */ ((e) => (e.Open = "Open", e.PaymentProcessing = "Paymen
|
|
|
3537
3537
|
/* Open */
|
|
3538
3538
|
),
|
|
3539
3539
|
currency: v.string(),
|
|
3540
|
-
items:
|
|
3540
|
+
items: Sa.array(),
|
|
3541
3541
|
couponsApplied: Gu.array(),
|
|
3542
3542
|
checkoutUrl: v.string().optional(),
|
|
3543
3543
|
embeddedCheckoutUrl: v.string().optional()
|
|
@@ -3565,7 +3565,7 @@ var ao = /* @__PURE__ */ ((e) => (e.Open = "Open", e.PaymentProcessing = "Paymen
|
|
|
3565
3565
|
currency: v.string(),
|
|
3566
3566
|
customer: Gp,
|
|
3567
3567
|
total: Kp,
|
|
3568
|
-
items:
|
|
3568
|
+
items: Sa.array(),
|
|
3569
3569
|
couponsApplied: Gu.array()
|
|
3570
3570
|
}), ec = v.discriminatedUnion("status", [
|
|
3571
3571
|
Rs,
|
|
@@ -3624,7 +3624,7 @@ var Yp = class {
|
|
|
3624
3624
|
}
|
|
3625
3625
|
async authenticatedFetch(e, t, n) {
|
|
3626
3626
|
if (!this.tokenStore.hasAccessToken)
|
|
3627
|
-
throw new
|
|
3627
|
+
throw new xa();
|
|
3628
3628
|
return await this.fetch(e, t, n);
|
|
3629
3629
|
}
|
|
3630
3630
|
async fetch(e, t, n) {
|
|
@@ -3729,7 +3729,7 @@ var Yp = class {
|
|
|
3729
3729
|
}
|
|
3730
3730
|
};
|
|
3731
3731
|
nc.storageKey = "moonbase_auth";
|
|
3732
|
-
var Qp = nc,
|
|
3732
|
+
var Qp = nc, xl = v.object({
|
|
3733
3733
|
id: v.string(),
|
|
3734
3734
|
name: v.string(),
|
|
3735
3735
|
description: v.string(),
|
|
@@ -3742,12 +3742,12 @@ var Qp = nc, Sl = v.object({
|
|
|
3742
3742
|
this.api = e;
|
|
3743
3743
|
}
|
|
3744
3744
|
async peek(e) {
|
|
3745
|
-
return (await this.api.fetch(`/api/customer/vouchers?code=${encodeURIComponent(e)}`,
|
|
3745
|
+
return (await this.api.fetch(`/api/customer/vouchers?code=${encodeURIComponent(e)}`, xl)).data;
|
|
3746
3746
|
}
|
|
3747
3747
|
async redeem(e) {
|
|
3748
3748
|
return (await this.api.authenticatedFetch(
|
|
3749
3749
|
`/api/customer/vouchers/redeem?code=${encodeURIComponent(e)}`,
|
|
3750
|
-
|
|
3750
|
+
xl,
|
|
3751
3751
|
{
|
|
3752
3752
|
method: "POST"
|
|
3753
3753
|
}
|
|
@@ -3851,7 +3851,7 @@ const Le = ac.NODE_ENV !== "production" ? Object.freeze({}) : {}, Rr = ac.NODE_E
|
|
|
3851
3851
|
(e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), js = (e) => e.startsWith("onUpdate:"), Ke = Object.assign, Ca = (e, t) => {
|
|
3852
3852
|
const n = e.indexOf(t);
|
|
3853
3853
|
n > -1 && e.splice(n, 1);
|
|
3854
|
-
}, ah = Object.prototype.hasOwnProperty, De = (e, t) => ah.call(e, t), le = Array.isArray, mr = (e) => Ys(e) === "[object Map]", lc = (e) => Ys(e) === "[object Set]",
|
|
3854
|
+
}, ah = Object.prototype.hasOwnProperty, De = (e, t) => ah.call(e, t), le = Array.isArray, mr = (e) => Ys(e) === "[object Map]", lc = (e) => Ys(e) === "[object Set]", de = (e) => typeof e == "function", We = (e) => typeof e == "string", Qn = (e) => typeof e == "symbol", Ae = (e) => e !== null && typeof e == "object", Pa = (e) => (Ae(e) || de(e)) && de(e.then) && de(e.catch), uc = Object.prototype.toString, Ys = (e) => uc.call(e), Da = (e) => Ys(e).slice(8, -1), cc = (e) => Ys(e) === "[object Object]", $a = (e) => We(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, ho = /* @__PURE__ */ On(
|
|
3855
3855
|
// the leading comma is intentional so empty string "" is also included
|
|
3856
3856
|
",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"
|
|
3857
3857
|
), lh = /* @__PURE__ */ On(
|
|
@@ -3882,8 +3882,8 @@ const Le = ac.NODE_ENV !== "production" ? Object.freeze({}) : {}, Rr = ac.NODE_E
|
|
|
3882
3882
|
const t = We(e) ? Number(e) : NaN;
|
|
3883
3883
|
return isNaN(t) ? e : t;
|
|
3884
3884
|
};
|
|
3885
|
-
let
|
|
3886
|
-
const Ia = () =>
|
|
3885
|
+
let Sl;
|
|
3886
|
+
const Ia = () => Sl || (Sl = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
|
|
3887
3887
|
function Aa(e) {
|
|
3888
3888
|
if (le(e)) {
|
|
3889
3889
|
const t = {};
|
|
@@ -3925,7 +3925,7 @@ const gh = "html,body,base,head,link,meta,style,title,address,article,aside,foot
|
|
|
3925
3925
|
function dc(e) {
|
|
3926
3926
|
return !!e || e === "";
|
|
3927
3927
|
}
|
|
3928
|
-
const fc = (e) => !!(e && e.__v_isRef === !0), K = (e) => We(e) ? e : e == null ? "" : le(e) || Ae(e) && (e.toString === uc || !
|
|
3928
|
+
const fc = (e) => !!(e && e.__v_isRef === !0), K = (e) => We(e) ? e : e == null ? "" : le(e) || Ae(e) && (e.toString === uc || !de(e.toString)) ? fc(e) ? K(e.value) : JSON.stringify(e, pc, 2) : String(e), pc = (e, t) => fc(t) ? pc(e, t.value) : mr(t) ? {
|
|
3929
3929
|
[`Map(${t.size})`]: [...t.entries()].reduce(
|
|
3930
3930
|
(n, [r, o], s) => (n[wi(r, s) + " =>"] = o, n),
|
|
3931
3931
|
{}
|
|
@@ -4027,7 +4027,7 @@ function mc(e) {
|
|
|
4027
4027
|
function vc() {
|
|
4028
4028
|
return yt;
|
|
4029
4029
|
}
|
|
4030
|
-
function
|
|
4030
|
+
function xh(e, t = !1) {
|
|
4031
4031
|
yt ? yt.cleanups.push(e) : Re.NODE_ENV !== "production" && !t && Rt(
|
|
4032
4032
|
"onScopeDispose() is called when there is no active effect scope to be associated with."
|
|
4033
4033
|
);
|
|
@@ -4114,7 +4114,7 @@ function bc(e) {
|
|
|
4114
4114
|
function _c(e) {
|
|
4115
4115
|
let t, n = e.depsTail;
|
|
4116
4116
|
for (let r = n; r; r = r.prevDep)
|
|
4117
|
-
r.version === -1 ? (r === n && (n = r.prevDep), ja(r),
|
|
4117
|
+
r.version === -1 ? (r === n && (n = r.prevDep), ja(r), Sh(r)) : t = r, r.dep.activeLink = r.prevActiveLink, r.prevActiveLink = void 0;
|
|
4118
4118
|
e.deps = t, e.depsTail = n;
|
|
4119
4119
|
}
|
|
4120
4120
|
function Ji(e) {
|
|
@@ -4154,7 +4154,7 @@ function ja(e) {
|
|
|
4154
4154
|
ja(o);
|
|
4155
4155
|
}
|
|
4156
4156
|
}
|
|
4157
|
-
function
|
|
4157
|
+
function Sh(e) {
|
|
4158
4158
|
const { prevDep: t, nextDep: n } = e;
|
|
4159
4159
|
t && (t.nextDep = n, e.prevDep = void 0), n && (n.prevDep = t, e.nextDep = void 0);
|
|
4160
4160
|
}
|
|
@@ -4163,7 +4163,7 @@ const Ec = [];
|
|
|
4163
4163
|
function Nn() {
|
|
4164
4164
|
Ec.push(Ht), Ht = !1;
|
|
4165
4165
|
}
|
|
4166
|
-
function
|
|
4166
|
+
function xn() {
|
|
4167
4167
|
const e = Ec.pop();
|
|
4168
4168
|
Ht = e === void 0 ? !0 : e;
|
|
4169
4169
|
}
|
|
@@ -4313,7 +4313,7 @@ function kh(e, t) {
|
|
|
4313
4313
|
}
|
|
4314
4314
|
function kr(e) {
|
|
4315
4315
|
const t = ye(e);
|
|
4316
|
-
return t === e ? t : (nt(t, "iterate", Ao),
|
|
4316
|
+
return t === e ? t : (nt(t, "iterate", Ao), xt(e) ? t : t.map(ft));
|
|
4317
4317
|
}
|
|
4318
4318
|
function ei(e) {
|
|
4319
4319
|
return nt(e = ye(e), "iterate", Ao), e;
|
|
@@ -4409,14 +4409,14 @@ const Th = {
|
|
|
4409
4409
|
};
|
|
4410
4410
|
function Oi(e, t, n) {
|
|
4411
4411
|
const r = ei(e), o = r[t]();
|
|
4412
|
-
return r !== e && !
|
|
4412
|
+
return r !== e && !xt(e) && (o._next = o.next, o.next = () => {
|
|
4413
4413
|
const s = o._next();
|
|
4414
4414
|
return s.value && (s.value = n(s.value)), s;
|
|
4415
4415
|
}), o;
|
|
4416
4416
|
}
|
|
4417
4417
|
const Ch = Array.prototype;
|
|
4418
4418
|
function dn(e, t, n, r, o, s) {
|
|
4419
|
-
const i = ei(e), a = i !== e && !
|
|
4419
|
+
const i = ei(e), a = i !== e && !xt(e), l = i[t];
|
|
4420
4420
|
if (l !== Ch[t]) {
|
|
4421
4421
|
const d = l.apply(e, s);
|
|
4422
4422
|
return a ? ft(d) : d;
|
|
@@ -4433,7 +4433,7 @@ function dn(e, t, n, r, o, s) {
|
|
|
4433
4433
|
function Tl(e, t, n, r) {
|
|
4434
4434
|
const o = ei(e);
|
|
4435
4435
|
let s = n;
|
|
4436
|
-
return o !== e && (
|
|
4436
|
+
return o !== e && (xt(e) ? n.length > 3 && (s = function(i, a, l) {
|
|
4437
4437
|
return n.call(this, i, a, l, e);
|
|
4438
4438
|
}) : s = function(i, a, l) {
|
|
4439
4439
|
return n.call(this, i, ft(a), l, e);
|
|
@@ -4448,7 +4448,7 @@ function Ni(e, t, n) {
|
|
|
4448
4448
|
function Qr(e, t, n = []) {
|
|
4449
4449
|
Nn(), Va();
|
|
4450
4450
|
const r = ye(e)[t].apply(e, n);
|
|
4451
|
-
return Ra(),
|
|
4451
|
+
return Ra(), xn(), r;
|
|
4452
4452
|
}
|
|
4453
4453
|
const Ph = /* @__PURE__ */ On("__proto__,__v_isRef,__isVue"), Nc = new Set(
|
|
4454
4454
|
/* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(Qn)
|
|
@@ -4458,7 +4458,7 @@ function Dh(e) {
|
|
|
4458
4458
|
const t = ye(this);
|
|
4459
4459
|
return nt(t, "has", e), t.hasOwnProperty(e);
|
|
4460
4460
|
}
|
|
4461
|
-
class
|
|
4461
|
+
class xc {
|
|
4462
4462
|
constructor(t = !1, n = !1) {
|
|
4463
4463
|
this._isReadonly = t, this._isShallow = n;
|
|
4464
4464
|
}
|
|
@@ -4493,7 +4493,7 @@ class Sc {
|
|
|
4493
4493
|
return (Qn(n) ? Nc.has(n) : Ph(n)) || (o || nt(t, "get", n), s) ? a : qe(a) ? i && $a(n) ? a : a.value : Ae(a) ? o ? Ic(a) : Wo(a) : a;
|
|
4494
4494
|
}
|
|
4495
4495
|
}
|
|
4496
|
-
class
|
|
4496
|
+
class Sc extends xc {
|
|
4497
4497
|
constructor(t = !1) {
|
|
4498
4498
|
super(!1, t);
|
|
4499
4499
|
}
|
|
@@ -4501,7 +4501,7 @@ class xc extends Sc {
|
|
|
4501
4501
|
let s = t[n];
|
|
4502
4502
|
if (!this._isShallow) {
|
|
4503
4503
|
const l = En(s);
|
|
4504
|
-
if (!
|
|
4504
|
+
if (!xt(r) && !En(r) && (s = ye(s), r = ye(r)), !le(t) && qe(s) && !qe(r))
|
|
4505
4505
|
return l ? !1 : (s.value = r, !0);
|
|
4506
4506
|
}
|
|
4507
4507
|
const i = le(t) && $a(n) ? Number(n) < t.length : De(t, n), a = Reflect.set(
|
|
@@ -4528,7 +4528,7 @@ class xc extends Sc {
|
|
|
4528
4528
|
), Reflect.ownKeys(t);
|
|
4529
4529
|
}
|
|
4530
4530
|
}
|
|
4531
|
-
class kc extends
|
|
4531
|
+
class kc extends xc {
|
|
4532
4532
|
constructor(t = !1) {
|
|
4533
4533
|
super(!0, t);
|
|
4534
4534
|
}
|
|
@@ -4545,7 +4545,7 @@ class kc extends Sc {
|
|
|
4545
4545
|
), !0;
|
|
4546
4546
|
}
|
|
4547
4547
|
}
|
|
4548
|
-
const $h = /* @__PURE__ */ new
|
|
4548
|
+
const $h = /* @__PURE__ */ new Sc(), Ih = /* @__PURE__ */ new kc(), Ah = /* @__PURE__ */ new Sc(!0), Vh = /* @__PURE__ */ new kc(!0), Ma = (e) => e, ti = (e) => Reflect.getPrototypeOf(e);
|
|
4549
4549
|
function os(e, t, n = !1, r = !1) {
|
|
4550
4550
|
e = e.__v_raw;
|
|
4551
4551
|
const o = ye(e), s = ye(t);
|
|
@@ -4565,12 +4565,12 @@ function is(e, t = !1) {
|
|
|
4565
4565
|
return e = e.__v_raw, !t && nt(ye(e), "iterate", vr), Reflect.get(e, "size", e);
|
|
4566
4566
|
}
|
|
4567
4567
|
function Cl(e, t = !1) {
|
|
4568
|
-
!t && !
|
|
4568
|
+
!t && !xt(e) && !En(e) && (e = ye(e));
|
|
4569
4569
|
const n = ye(this);
|
|
4570
4570
|
return ti(n).has.call(n, e) || (n.add(e), tn(n, "add", e, e)), this;
|
|
4571
4571
|
}
|
|
4572
4572
|
function Pl(e, t, n = !1) {
|
|
4573
|
-
!n && !
|
|
4573
|
+
!n && !xt(t) && !En(t) && (t = ye(t));
|
|
4574
4574
|
const r = ye(this), { has: o, get: s } = ti(r);
|
|
4575
4575
|
let i = o.call(r, e);
|
|
4576
4576
|
i ? Re.NODE_ENV !== "production" && Tc(r, o, e) : (e = ye(e), i = o.call(r, e));
|
|
@@ -4822,7 +4822,7 @@ function nn(e) {
|
|
|
4822
4822
|
function En(e) {
|
|
4823
4823
|
return !!(e && e.__v_isReadonly);
|
|
4824
4824
|
}
|
|
4825
|
-
function
|
|
4825
|
+
function xt(e) {
|
|
4826
4826
|
return !!(e && e.__v_isShallow);
|
|
4827
4827
|
}
|
|
4828
4828
|
function Vo(e) {
|
|
@@ -4860,7 +4860,7 @@ class Gh {
|
|
|
4860
4860
|
}) : this.dep.track(), this._value;
|
|
4861
4861
|
}
|
|
4862
4862
|
set value(t) {
|
|
4863
|
-
const n = this._rawValue, r = this.__v_isShallow ||
|
|
4863
|
+
const n = this._rawValue, r = this.__v_isShallow || xt(t) || En(t);
|
|
4864
4864
|
t = r ? t : ye(t), zn(t, n) && (this._rawValue = t, this._value = r ? t : ft(t), Re.NODE_ENV !== "production" ? this.dep.trigger({
|
|
4865
4865
|
target: this,
|
|
4866
4866
|
type: "set",
|
|
@@ -4874,7 +4874,7 @@ function E(e) {
|
|
|
4874
4874
|
return qe(e) ? e.value : e;
|
|
4875
4875
|
}
|
|
4876
4876
|
function Cn(e) {
|
|
4877
|
-
return
|
|
4877
|
+
return de(e) ? e() : E(e);
|
|
4878
4878
|
}
|
|
4879
4879
|
const Jh = {
|
|
4880
4880
|
get: (e, t, n) => t === "__v_raw" ? e : E(Reflect.get(e, t, n)),
|
|
@@ -4916,8 +4916,8 @@ class Xh {
|
|
|
4916
4916
|
return this._value = this._getter();
|
|
4917
4917
|
}
|
|
4918
4918
|
}
|
|
4919
|
-
function
|
|
4920
|
-
return qe(e) ? e :
|
|
4919
|
+
function xi(e, t, n) {
|
|
4920
|
+
return qe(e) ? e : de(e) ? new Xh(e) : Ae(e) && arguments.length > 1 ? Rc(e, t, n) : P(e);
|
|
4921
4921
|
}
|
|
4922
4922
|
function Rc(e, t, n) {
|
|
4923
4923
|
const r = e[t];
|
|
@@ -4947,7 +4947,7 @@ class Qh {
|
|
|
4947
4947
|
}
|
|
4948
4948
|
function em(e, t, n = !1) {
|
|
4949
4949
|
let r, o;
|
|
4950
|
-
|
|
4950
|
+
de(e) ? r = e : (r = e.get, o = e.set);
|
|
4951
4951
|
const s = new Qh(r, o, n);
|
|
4952
4952
|
return Re.NODE_ENV !== "production" && t && !n && (s.onTrack = t.onTrack, s.onTrigger = t.onTrigger), s;
|
|
4953
4953
|
}
|
|
@@ -4968,23 +4968,23 @@ function nm(e, t, n = Le) {
|
|
|
4968
4968
|
S,
|
|
4969
4969
|
"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types."
|
|
4970
4970
|
);
|
|
4971
|
-
}, c = (S) => o ? S :
|
|
4971
|
+
}, c = (S) => o ? S : xt(S) || o === !1 || o === 0 ? Rn(S, 1) : Rn(S);
|
|
4972
4972
|
let d, f, m, b, O = !1, _ = !1;
|
|
4973
|
-
if (qe(e) ? (f = () => e.value, O =
|
|
4973
|
+
if (qe(e) ? (f = () => e.value, O = xt(e)) : nn(e) ? (f = () => c(e), O = !0) : le(e) ? (_ = !0, O = e.some((S) => nn(S) || xt(S)), f = () => e.map((S) => {
|
|
4974
4974
|
if (qe(S))
|
|
4975
4975
|
return S.value;
|
|
4976
4976
|
if (nn(S))
|
|
4977
4977
|
return c(S);
|
|
4978
|
-
if (
|
|
4978
|
+
if (de(S))
|
|
4979
4979
|
return l ? l(S, 2) : S();
|
|
4980
4980
|
Re.NODE_ENV !== "production" && u(S);
|
|
4981
|
-
})) :
|
|
4981
|
+
})) : de(e) ? t ? f = l ? () => l(e, 2) : e : f = () => {
|
|
4982
4982
|
if (m) {
|
|
4983
4983
|
Nn();
|
|
4984
4984
|
try {
|
|
4985
4985
|
m();
|
|
4986
4986
|
} finally {
|
|
4987
|
-
|
|
4987
|
+
xn();
|
|
4988
4988
|
}
|
|
4989
4989
|
}
|
|
4990
4990
|
const S = lr;
|
|
@@ -5079,10 +5079,10 @@ function ys(e) {
|
|
|
5079
5079
|
function bs() {
|
|
5080
5080
|
gr.pop();
|
|
5081
5081
|
}
|
|
5082
|
-
let
|
|
5082
|
+
let Si = !1;
|
|
5083
5083
|
function F(e, ...t) {
|
|
5084
|
-
if (
|
|
5085
|
-
|
|
5084
|
+
if (Si) return;
|
|
5085
|
+
Si = !0, Nn();
|
|
5086
5086
|
const n = gr.length ? gr[gr.length - 1].component : null, r = n && n.appContext.config.warnHandler, o = rm();
|
|
5087
5087
|
if (r)
|
|
5088
5088
|
Wr(
|
|
@@ -5108,7 +5108,7 @@ function F(e, ...t) {
|
|
|
5108
5108
|
o.length && s.push(`
|
|
5109
5109
|
`, ...om(o)), console.warn(...s);
|
|
5110
5110
|
}
|
|
5111
|
-
|
|
5111
|
+
xn(), Si = !1;
|
|
5112
5112
|
}
|
|
5113
5113
|
function rm() {
|
|
5114
5114
|
let e = gr[gr.length - 1];
|
|
@@ -5148,7 +5148,7 @@ function im(e) {
|
|
|
5148
5148
|
}), n.length > 3 && t.push(" ..."), t;
|
|
5149
5149
|
}
|
|
5150
5150
|
function jc(e, t, n) {
|
|
5151
|
-
return We(t) ? (t = JSON.stringify(t), n ? t : [`${e}=${t}`]) : typeof t == "number" || typeof t == "boolean" || t == null ? n ? t : [`${e}=${t}`] : qe(t) ? (t = jc(e, ye(t.value), !0), n ? t : [`${e}=Ref<`, t, ">"]) :
|
|
5151
|
+
return We(t) ? (t = JSON.stringify(t), n ? t : [`${e}=${t}`]) : typeof t == "number" || typeof t == "boolean" || t == null ? n ? t : [`${e}=${t}`] : qe(t) ? (t = jc(e, ye(t.value), !0), n ? t : [`${e}=Ref<`, t, ">"]) : de(t) ? [`${e}=fn${t.name ? `<${t.name}>` : ""}`] : (t = ye(t), n ? t : [`${e}=`, t]);
|
|
5152
5152
|
}
|
|
5153
5153
|
function am(e, t) {
|
|
5154
5154
|
g.NODE_ENV !== "production" && e !== void 0 && (typeof e != "number" ? F(`${t} is not a valid number - got ${JSON.stringify(e)}.`) : isNaN(e) && F(`${t} is NaN - the duration expression might be incorrect.`));
|
|
@@ -5194,7 +5194,7 @@ function Wr(e, t, n, r) {
|
|
|
5194
5194
|
}
|
|
5195
5195
|
}
|
|
5196
5196
|
function qt(e, t, n, r) {
|
|
5197
|
-
if (
|
|
5197
|
+
if (de(e)) {
|
|
5198
5198
|
const o = Wr(e, t, n, r);
|
|
5199
5199
|
return o && Pa(o) && o.catch((s) => {
|
|
5200
5200
|
zo(s, t, n);
|
|
@@ -5228,7 +5228,7 @@ function zo(e, t, n, r = !0) {
|
|
|
5228
5228
|
e,
|
|
5229
5229
|
l,
|
|
5230
5230
|
u
|
|
5231
|
-
]),
|
|
5231
|
+
]), xn();
|
|
5232
5232
|
return;
|
|
5233
5233
|
}
|
|
5234
5234
|
}
|
|
@@ -5353,17 +5353,17 @@ g.NODE_ENV !== "production" && (Ia().__VUE_HMR_RUNTIME__ = {
|
|
|
5353
5353
|
rerender: ki(pm),
|
|
5354
5354
|
reload: ki(hm)
|
|
5355
5355
|
});
|
|
5356
|
-
const
|
|
5356
|
+
const xr = /* @__PURE__ */ new Map();
|
|
5357
5357
|
function dm(e) {
|
|
5358
5358
|
const t = e.type.__hmrId;
|
|
5359
|
-
let n =
|
|
5360
|
-
n || (Hc(t, e.type), n =
|
|
5359
|
+
let n = xr.get(t);
|
|
5360
|
+
n || (Hc(t, e.type), n = xr.get(t)), n.instances.add(e);
|
|
5361
5361
|
}
|
|
5362
5362
|
function fm(e) {
|
|
5363
|
-
|
|
5363
|
+
xr.get(e.type.__hmrId).instances.delete(e);
|
|
5364
5364
|
}
|
|
5365
5365
|
function Hc(e, t) {
|
|
5366
|
-
return
|
|
5366
|
+
return xr.has(e) ? !1 : (xr.set(e, {
|
|
5367
5367
|
initialDef: Fs(t),
|
|
5368
5368
|
instances: /* @__PURE__ */ new Set()
|
|
5369
5369
|
}), !0);
|
|
@@ -5372,13 +5372,13 @@ function Fs(e) {
|
|
|
5372
5372
|
return Pd(e) ? e.__vccOpts : e;
|
|
5373
5373
|
}
|
|
5374
5374
|
function pm(e, t) {
|
|
5375
|
-
const n =
|
|
5375
|
+
const n = xr.get(e);
|
|
5376
5376
|
n && (n.initialDef.render = t, [...n.instances].forEach((r) => {
|
|
5377
5377
|
t && (r.render = t, Fs(r.type).render = t), r.renderCache = [], Fn = !0, r.update(), Fn = !1;
|
|
5378
5378
|
}));
|
|
5379
5379
|
}
|
|
5380
5380
|
function hm(e, t) {
|
|
5381
|
-
const n =
|
|
5381
|
+
const n = xr.get(e);
|
|
5382
5382
|
if (!n) return;
|
|
5383
5383
|
t = Fs(t), Vl(n.initialDef, t);
|
|
5384
5384
|
const r = [...n.instances];
|
|
@@ -5428,7 +5428,7 @@ function Zc(e, t) {
|
|
|
5428
5428
|
}
|
|
5429
5429
|
function mm(e, t) {
|
|
5430
5430
|
Ko("app:init", e, t, {
|
|
5431
|
-
Fragment:
|
|
5431
|
+
Fragment: xe,
|
|
5432
5432
|
Text: Jo,
|
|
5433
5433
|
Comment: Ge,
|
|
5434
5434
|
Static: go
|
|
@@ -5519,7 +5519,7 @@ function nr(e, t, n, r) {
|
|
|
5519
5519
|
a,
|
|
5520
5520
|
e,
|
|
5521
5521
|
t
|
|
5522
|
-
]),
|
|
5522
|
+
]), xn());
|
|
5523
5523
|
}
|
|
5524
5524
|
}
|
|
5525
5525
|
const Gc = Symbol("_vte"), Jc = (e) => e.__isTeleport, yr = (e) => e && (e.disabled || e.disabled === ""), Om = (e) => e && (e.defer || e.defer === ""), Rl = (e) => typeof SVGElement < "u" && e instanceof SVGElement, jl = (e) => typeof MathMLElement == "function" && e instanceof MathMLElement, ea = (e, t) => {
|
|
@@ -5650,7 +5650,7 @@ const Gc = Symbol("_vte"), Jc = (e) => e.__isTeleport, yr = (e) => e && (e.disab
|
|
|
5650
5650
|
}
|
|
5651
5651
|
},
|
|
5652
5652
|
move: cs,
|
|
5653
|
-
hydrate:
|
|
5653
|
+
hydrate: xm
|
|
5654
5654
|
};
|
|
5655
5655
|
function cs(e, t, n, { o: { insert: r }, m: o }, s = 2) {
|
|
5656
5656
|
s === 0 && r(e.targetAnchor, t, n);
|
|
@@ -5665,7 +5665,7 @@ function cs(e, t, n, { o: { insert: r }, m: o }, s = 2) {
|
|
|
5665
5665
|
);
|
|
5666
5666
|
d && r(a, t, n);
|
|
5667
5667
|
}
|
|
5668
|
-
function
|
|
5668
|
+
function xm(e, t, n, r, o, s, {
|
|
5669
5669
|
o: { nextSibling: i, parentNode: a, querySelector: l, insert: u, createText: c }
|
|
5670
5670
|
}, d) {
|
|
5671
5671
|
const f = t.target = ea(
|
|
@@ -5713,7 +5713,7 @@ function Sm(e, t, n, r, o, s, {
|
|
|
5713
5713
|
}
|
|
5714
5714
|
return t.anchor && i(t.anchor);
|
|
5715
5715
|
}
|
|
5716
|
-
const
|
|
5716
|
+
const Sm = Nm;
|
|
5717
5717
|
function ws(e) {
|
|
5718
5718
|
const t = e.ctx;
|
|
5719
5719
|
if (t && t.ut) {
|
|
@@ -5933,7 +5933,7 @@ function Ll(e) {
|
|
|
5933
5933
|
if (n) {
|
|
5934
5934
|
if (t & 16)
|
|
5935
5935
|
return n[0];
|
|
5936
|
-
if (t & 32 &&
|
|
5936
|
+
if (t & 32 && de(n.default))
|
|
5937
5937
|
return n.default();
|
|
5938
5938
|
}
|
|
5939
5939
|
}
|
|
@@ -5945,7 +5945,7 @@ function nd(e, t = !1, n) {
|
|
|
5945
5945
|
for (let s = 0; s < e.length; s++) {
|
|
5946
5946
|
let i = e[s];
|
|
5947
5947
|
const a = n == null ? i.key : String(n) + String(i.key != null ? i.key : s);
|
|
5948
|
-
i.type ===
|
|
5948
|
+
i.type === xe ? (i.patchFlag & 128 && o++, r = r.concat(
|
|
5949
5949
|
nd(i.children, t, a)
|
|
5950
5950
|
)) : (t || i.type !== Ge) && r.push(a != null ? Wt(i, { key: a }) : i);
|
|
5951
5951
|
}
|
|
@@ -5957,7 +5957,7 @@ function nd(e, t = !1, n) {
|
|
|
5957
5957
|
/*! #__NO_SIDE_EFFECTS__ */
|
|
5958
5958
|
// @__NO_SIDE_EFFECTS__
|
|
5959
5959
|
function fe(e, t) {
|
|
5960
|
-
return
|
|
5960
|
+
return de(e) ? (
|
|
5961
5961
|
// #8236: extend call and options.name access are considered side-effects
|
|
5962
5962
|
// by Rollup, so we have to wrap it in a pure-annotated IIFE.
|
|
5963
5963
|
Ke({ name: e.name }, t, { setup: e })
|
|
@@ -5990,7 +5990,7 @@ function na(e, t, n, r, o = !1) {
|
|
|
5990
5990
|
return;
|
|
5991
5991
|
}
|
|
5992
5992
|
const u = t && t.r, c = a.refs === Le ? a.refs = {} : a.refs, d = a.setupState, f = ye(d), m = d === Le ? () => !1 : (b) => g.NODE_ENV !== "production" && Pm.has(f[b]) ? !1 : De(f, b);
|
|
5993
|
-
if (u != null && u !== l && (We(u) ? (c[u] = null, m(u) && (d[u] = null)) : qe(u) && (u.value = null)),
|
|
5993
|
+
if (u != null && u !== l && (We(u) ? (c[u] = null, m(u) && (d[u] = null)) : qe(u) && (u.value = null)), de(l))
|
|
5994
5994
|
Wr(l, a, 12, [i, c]);
|
|
5995
5995
|
else {
|
|
5996
5996
|
const b = We(l), O = qe(l);
|
|
@@ -6045,7 +6045,7 @@ function si(e, t, n = Je, r = !1) {
|
|
|
6045
6045
|
const o = n[e] || (n[e] = []), s = t.__weh || (t.__weh = (...i) => {
|
|
6046
6046
|
Nn();
|
|
6047
6047
|
const a = Yo(n), l = qt(t, n, e, i);
|
|
6048
|
-
return a(),
|
|
6048
|
+
return a(), xn(), l;
|
|
6049
6049
|
});
|
|
6050
6050
|
return r ? o.unshift(s) : o.push(s), s;
|
|
6051
6051
|
} else if (g.NODE_ENV !== "production") {
|
|
@@ -6055,15 +6055,15 @@ function si(e, t, n = Je, r = !1) {
|
|
|
6055
6055
|
);
|
|
6056
6056
|
}
|
|
6057
6057
|
}
|
|
6058
|
-
const
|
|
6058
|
+
const Sn = (e) => (t, n = Je) => {
|
|
6059
6059
|
(!li || e === "sp") && si(e, (...r) => t(...r), n);
|
|
6060
|
-
}, Am =
|
|
6060
|
+
}, Am = Sn("bm"), Me = Sn("m"), Vm = Sn(
|
|
6061
6061
|
"bu"
|
|
6062
|
-
), Rm =
|
|
6062
|
+
), Rm = Sn("u"), qa = Sn(
|
|
6063
6063
|
"bum"
|
|
6064
|
-
), Et =
|
|
6064
|
+
), Et = Sn("um"), jm = Sn(
|
|
6065
6065
|
"sp"
|
|
6066
|
-
), Lm =
|
|
6066
|
+
), Lm = Sn("rtg"), Mm = Sn("rtc");
|
|
6067
6067
|
function Um(e, t = Je) {
|
|
6068
6068
|
si("ec", e, t);
|
|
6069
6069
|
}
|
|
@@ -6135,8 +6135,8 @@ function rn(e, t, n, r) {
|
|
|
6135
6135
|
}
|
|
6136
6136
|
function Wa(e, t, n = {}, r, o) {
|
|
6137
6137
|
if (tt.ce || tt.parent && Lr(tt.parent) && tt.parent.ce)
|
|
6138
|
-
return y(),
|
|
6139
|
-
|
|
6138
|
+
return y(), Oe(
|
|
6139
|
+
xe,
|
|
6140
6140
|
null,
|
|
6141
6141
|
[Z("slot", n, r)],
|
|
6142
6142
|
64
|
|
@@ -6145,8 +6145,8 @@ function Wa(e, t, n = {}, r, o) {
|
|
|
6145
6145
|
g.NODE_ENV !== "production" && s && s.length > 1 && (F(
|
|
6146
6146
|
"SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template."
|
|
6147
6147
|
), s = () => []), s && s._c && (s._d = !1), y();
|
|
6148
|
-
const i = s && id(s(n)), a =
|
|
6149
|
-
|
|
6148
|
+
const i = s && id(s(n)), a = Oe(
|
|
6149
|
+
xe,
|
|
6150
6150
|
{
|
|
6151
6151
|
key: (n.key || // slot content array of a dynamic conditional slot may have a branch
|
|
6152
6152
|
// key attached in the `createSlots` helper, respect that
|
|
@@ -6159,7 +6159,7 @@ function Wa(e, t, n = {}, r, o) {
|
|
|
6159
6159
|
return a.scopeId && (a.slotScopeIds = [a.scopeId + "-s"]), s && s._c && (s._d = !0), a;
|
|
6160
6160
|
}
|
|
6161
6161
|
function id(e) {
|
|
6162
|
-
return e.some((t) => qr(t) ? !(t.type === Ge || t.type ===
|
|
6162
|
+
return e.some((t) => qr(t) ? !(t.type === Ge || t.type === xe && !id(t.children)) : !0) ? e : null;
|
|
6163
6163
|
}
|
|
6164
6164
|
const oa = (e) => e ? Td(e) ? el(e) : oa(e.parent) : null, br = (
|
|
6165
6165
|
// Move PURE marker to new line to workaround compiler discarding it
|
|
@@ -6379,7 +6379,7 @@ function zm(e) {
|
|
|
6379
6379
|
if (u && Km(u, r, w), i)
|
|
6380
6380
|
for (const Y in i) {
|
|
6381
6381
|
const ne = i[Y];
|
|
6382
|
-
|
|
6382
|
+
de(ne) ? (g.NODE_ENV !== "production" ? Object.defineProperty(r, Y, {
|
|
6383
6383
|
value: ne.bind(n),
|
|
6384
6384
|
configurable: !0,
|
|
6385
6385
|
enumerable: !0,
|
|
@@ -6389,7 +6389,7 @@ function zm(e) {
|
|
|
6389
6389
|
);
|
|
6390
6390
|
}
|
|
6391
6391
|
if (o) {
|
|
6392
|
-
g.NODE_ENV !== "production" && !
|
|
6392
|
+
g.NODE_ENV !== "production" && !de(o) && F(
|
|
6393
6393
|
"The data option must be a function. Plain object usage is no longer supported."
|
|
6394
6394
|
);
|
|
6395
6395
|
const Y = o.call(n, n);
|
|
@@ -6408,9 +6408,9 @@ function zm(e) {
|
|
|
6408
6408
|
}
|
|
6409
6409
|
if (sa = !0, s)
|
|
6410
6410
|
for (const Y in s) {
|
|
6411
|
-
const ne = s[Y], pe =
|
|
6411
|
+
const ne = s[Y], pe = de(ne) ? ne.bind(n, n) : de(ne.get) ? ne.get.bind(n, n) : et;
|
|
6412
6412
|
g.NODE_ENV !== "production" && pe === et && F(`Computed property "${Y}" has no getter.`);
|
|
6413
|
-
const oe = !
|
|
6413
|
+
const oe = !de(ne) && de(ne.set) ? ne.set.bind(n) : g.NODE_ENV !== "production" ? () => {
|
|
6414
6414
|
F(
|
|
6415
6415
|
`Write operation failed: computed property "${Y}" is readonly.`
|
|
6416
6416
|
);
|
|
@@ -6429,7 +6429,7 @@ function zm(e) {
|
|
|
6429
6429
|
for (const Y in a)
|
|
6430
6430
|
ld(a[Y], r, n, Y);
|
|
6431
6431
|
if (l) {
|
|
6432
|
-
const Y =
|
|
6432
|
+
const Y = de(l) ? l.call(n) : l;
|
|
6433
6433
|
Reflect.ownKeys(Y).forEach((ne) => {
|
|
6434
6434
|
ht(ne, Y[ne]);
|
|
6435
6435
|
});
|
|
@@ -6478,15 +6478,15 @@ function ld(e, t, n, r) {
|
|
|
6478
6478
|
let o = r.includes(".") ? _d(n, r) : () => n[r];
|
|
6479
6479
|
if (We(e)) {
|
|
6480
6480
|
const s = t[e];
|
|
6481
|
-
|
|
6482
|
-
} else if (
|
|
6481
|
+
de(s) ? Ye(o, s) : g.NODE_ENV !== "production" && F(`Invalid watch handler specified by key "${e}"`, s);
|
|
6482
|
+
} else if (de(e))
|
|
6483
6483
|
Ye(o, e.bind(n));
|
|
6484
6484
|
else if (Ae(e))
|
|
6485
6485
|
if (le(e))
|
|
6486
6486
|
e.forEach((s) => ld(s, t, n, r));
|
|
6487
6487
|
else {
|
|
6488
|
-
const s =
|
|
6489
|
-
|
|
6488
|
+
const s = de(e.handler) ? e.handler.bind(n) : t[e.handler];
|
|
6489
|
+
de(s) ? Ye(o, s, e) : g.NODE_ENV !== "production" && F(`Invalid watch handler specified by key "${e.handler}"`, s);
|
|
6490
6490
|
}
|
|
6491
6491
|
else g.NODE_ENV !== "production" && F(`Invalid watch option: "${r}"`, e);
|
|
6492
6492
|
}
|
|
@@ -6551,8 +6551,8 @@ const Gm = {
|
|
|
6551
6551
|
function Bl(e, t) {
|
|
6552
6552
|
return t ? e ? function() {
|
|
6553
6553
|
return Ke(
|
|
6554
|
-
|
|
6555
|
-
|
|
6554
|
+
de(e) ? e.call(this, this) : e,
|
|
6555
|
+
de(t) ? t.call(this, this) : t
|
|
6556
6556
|
);
|
|
6557
6557
|
} : t : e;
|
|
6558
6558
|
}
|
|
@@ -6613,7 +6613,7 @@ function ud() {
|
|
|
6613
6613
|
let Xm = 0;
|
|
6614
6614
|
function Qm(e, t) {
|
|
6615
6615
|
return function(r, o = null) {
|
|
6616
|
-
|
|
6616
|
+
de(r) || (r = Ke({}, r)), o != null && !Ae(o) && (g.NODE_ENV !== "production" && F("root props passed to app.mount() must be an object."), o = null);
|
|
6617
6617
|
const s = ud(), i = /* @__PURE__ */ new WeakSet(), a = [];
|
|
6618
6618
|
let l = !1;
|
|
6619
6619
|
const u = s.app = {
|
|
@@ -6633,7 +6633,7 @@ function Qm(e, t) {
|
|
|
6633
6633
|
);
|
|
6634
6634
|
},
|
|
6635
6635
|
use(c, ...d) {
|
|
6636
|
-
return i.has(c) ? g.NODE_ENV !== "production" && F("Plugin has already been applied to target app.") : c &&
|
|
6636
|
+
return i.has(c) ? g.NODE_ENV !== "production" && F("Plugin has already been applied to target app.") : c && de(c.install) ? (i.add(c), c.install(u, ...d)) : de(c) ? (i.add(c), c(u, ...d)) : g.NODE_ENV !== "production" && F(
|
|
6637
6637
|
'A plugin must either be a function or an object with an "install" function.'
|
|
6638
6638
|
), u;
|
|
6639
6639
|
},
|
|
@@ -6714,7 +6714,7 @@ function Pe(e, t, n = !1) {
|
|
|
6714
6714
|
if (o && e in o)
|
|
6715
6715
|
return o[e];
|
|
6716
6716
|
if (arguments.length > 1)
|
|
6717
|
-
return n &&
|
|
6717
|
+
return n && de(t) ? t.call(r && r.proxy) : t;
|
|
6718
6718
|
g.NODE_ENV !== "production" && F(`injection "${String(e)}" not found.`);
|
|
6719
6719
|
} else g.NODE_ENV !== "production" && F("inject() can only be used inside setup() or functional components.");
|
|
6720
6720
|
}
|
|
@@ -6829,7 +6829,7 @@ function aa(e, t, n, r, o, s) {
|
|
|
6829
6829
|
const a = De(i, "default");
|
|
6830
6830
|
if (a && r === void 0) {
|
|
6831
6831
|
const l = i.default;
|
|
6832
|
-
if (i.type !== Function && !i.skipFactory &&
|
|
6832
|
+
if (i.type !== Function && !i.skipFactory && de(l)) {
|
|
6833
6833
|
const { propsDefaults: u } = o;
|
|
6834
6834
|
if (n in u)
|
|
6835
6835
|
r = u[n];
|
|
@@ -6861,7 +6861,7 @@ function hd(e, t, n = !1) {
|
|
|
6861
6861
|
return o;
|
|
6862
6862
|
const s = e.props, i = {}, a = [];
|
|
6863
6863
|
let l = !1;
|
|
6864
|
-
if (!
|
|
6864
|
+
if (!de(e)) {
|
|
6865
6865
|
const c = (d) => {
|
|
6866
6866
|
l = !0;
|
|
6867
6867
|
const [f, m] = hd(d, t, !0);
|
|
@@ -6882,18 +6882,18 @@ function hd(e, t, n = !1) {
|
|
|
6882
6882
|
for (const c in s) {
|
|
6883
6883
|
const d = $t(c);
|
|
6884
6884
|
if (Zl(d)) {
|
|
6885
|
-
const f = s[c], m = i[d] = le(f) ||
|
|
6885
|
+
const f = s[c], m = i[d] = le(f) || de(f) ? { type: f } : Ke({}, f), b = m.type;
|
|
6886
6886
|
let O = !1, _ = !0;
|
|
6887
6887
|
if (le(b))
|
|
6888
6888
|
for (let $ = 0; $ < b.length; ++$) {
|
|
6889
|
-
const B = b[$], T =
|
|
6889
|
+
const B = b[$], T = de(B) && B.name;
|
|
6890
6890
|
if (T === "Boolean") {
|
|
6891
6891
|
O = !0;
|
|
6892
6892
|
break;
|
|
6893
6893
|
} else T === "String" && (_ = !1);
|
|
6894
6894
|
}
|
|
6895
6895
|
else
|
|
6896
|
-
O =
|
|
6896
|
+
O = de(b) && b.name === "Boolean";
|
|
6897
6897
|
m[
|
|
6898
6898
|
0
|
|
6899
6899
|
/* shouldCast */
|
|
@@ -6993,7 +6993,7 @@ const vd = (e) => e[0] === "_" || e === "$stable", Ga = (e) => le(e) ? e.map(Ut)
|
|
|
6993
6993
|
for (const o in e) {
|
|
6994
6994
|
if (vd(o)) continue;
|
|
6995
6995
|
const s = e[o];
|
|
6996
|
-
if (
|
|
6996
|
+
if (de(s))
|
|
6997
6997
|
t[o] = dv(o, s, r);
|
|
6998
6998
|
else if (s != null) {
|
|
6999
6999
|
g.NODE_ENV !== "production" && F(
|
|
@@ -7094,7 +7094,7 @@ function vv(e, t) {
|
|
|
7094
7094
|
case go:
|
|
7095
7095
|
p == null ? B(h, k, L, G) : g.NODE_ENV !== "production" && T(p, h, k, G);
|
|
7096
7096
|
break;
|
|
7097
|
-
case
|
|
7097
|
+
case xe:
|
|
7098
7098
|
se(
|
|
7099
7099
|
p,
|
|
7100
7100
|
h,
|
|
@@ -7314,7 +7314,7 @@ function vv(e, t) {
|
|
|
7314
7314
|
// which will not have a mounted element
|
|
7315
7315
|
W.el && // - In the case of a Fragment, we need to provide the actual parent
|
|
7316
7316
|
// of the Fragment itself so it can move its children.
|
|
7317
|
-
(W.type ===
|
|
7317
|
+
(W.type === xe || // - In the case of different nodes, there is going to be a replacement
|
|
7318
7318
|
// which also requires the correct parent container
|
|
7319
7319
|
!cr(W, M) || // - In the case of a component, it could contain anything.
|
|
7320
7320
|
W.shapeFlag & 70) ? d(W.el) : (
|
|
@@ -7443,7 +7443,7 @@ function vv(e, t) {
|
|
|
7443
7443
|
g.NODE_ENV !== "production" && (bs(), mn(z, "mount"));
|
|
7444
7444
|
}, C = (p, h, k) => {
|
|
7445
7445
|
const L = h.component = p.component;
|
|
7446
|
-
if (
|
|
7446
|
+
if (Sv(p, h, k))
|
|
7447
7447
|
if (L.asyncDep && !L.asyncResolved) {
|
|
7448
7448
|
g.NODE_ENV !== "production" && ys(h), ne(L, h, k), g.NODE_ENV !== "production" && bs();
|
|
7449
7449
|
return;
|
|
@@ -7532,7 +7532,7 @@ function vv(e, t) {
|
|
|
7532
7532
|
}, ne = (p, h, k) => {
|
|
7533
7533
|
h.component = p;
|
|
7534
7534
|
const L = p.vnode.props;
|
|
7535
|
-
p.vnode = h, p.next = null, rv(p, h.props, L, k), pv(p, h.children, k), Nn(), Al(p),
|
|
7535
|
+
p.vnode = h, p.next = null, rv(p, h.props, L, k), pv(p, h.children, k), Nn(), Al(p), xn();
|
|
7536
7536
|
}, pe = (p, h, k, L, I, R, G, z, W = !1) => {
|
|
7537
7537
|
const M = p && p.children, he = p ? p.shapeFlag : 0, X = h.children, { patchFlag: ae, shapeFlag: _e } = h;
|
|
7538
7538
|
if (ae > 0) {
|
|
@@ -7751,7 +7751,7 @@ function vv(e, t) {
|
|
|
7751
7751
|
G.move(p, h, k, Gr);
|
|
7752
7752
|
return;
|
|
7753
7753
|
}
|
|
7754
|
-
if (G ===
|
|
7754
|
+
if (G === xe) {
|
|
7755
7755
|
r(R, h, k);
|
|
7756
7756
|
for (let X = 0; X < W.length; X++)
|
|
7757
7757
|
ut(W[X], h, k, L);
|
|
@@ -7812,20 +7812,20 @@ function vv(e, t) {
|
|
|
7812
7812
|
// so that it doesn't take the fast path during unmount - otherwise
|
|
7813
7813
|
// components nested in v-once are never unmounted.
|
|
7814
7814
|
!M.hasOnce && // #1153: fast path should not be taken for non-stable (v-for) fragments
|
|
7815
|
-
(R !==
|
|
7815
|
+
(R !== xe || X > 0 && X & 64) ? Kr(
|
|
7816
7816
|
M,
|
|
7817
7817
|
h,
|
|
7818
7818
|
k,
|
|
7819
7819
|
!1,
|
|
7820
7820
|
!0
|
|
7821
|
-
) : (R ===
|
|
7821
|
+
) : (R === xe && X & 384 || !I && he & 16) && Kr(W, h, k), L && Ot(p);
|
|
7822
7822
|
}
|
|
7823
7823
|
(He && (je = G && G.onVnodeUnmounted) || Te) && Nt(() => {
|
|
7824
7824
|
je && Kt(je, h, p), Te && nr(p, null, h, "unmounted");
|
|
7825
7825
|
}, k);
|
|
7826
7826
|
}, Ot = (p) => {
|
|
7827
7827
|
const { type: h, el: k, anchor: L, transition: I } = p;
|
|
7828
|
-
if (h ===
|
|
7828
|
+
if (h === xe) {
|
|
7829
7829
|
g.NODE_ENV !== "production" && p.patchFlag > 0 && p.patchFlag & 2048 && I && !I.persisted ? p.children.forEach((G) => {
|
|
7830
7830
|
G.type === Ge ? o(G.el) : Ot(G);
|
|
7831
7831
|
}) : kn(k, L);
|
|
@@ -7955,7 +7955,7 @@ function mt(e, t) {
|
|
|
7955
7955
|
return Ja(e, null, t);
|
|
7956
7956
|
}
|
|
7957
7957
|
function Ye(e, t, n) {
|
|
7958
|
-
return g.NODE_ENV !== "production" && !
|
|
7958
|
+
return g.NODE_ENV !== "production" && !de(t) && F(
|
|
7959
7959
|
"`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."
|
|
7960
7960
|
), Ja(e, t, n);
|
|
7961
7961
|
}
|
|
@@ -7999,7 +7999,7 @@ function Ja(e, t, n = Le) {
|
|
|
7999
7999
|
function wv(e, t, n) {
|
|
8000
8000
|
const r = this.proxy, o = We(e) ? e.includes(".") ? _d(r, e) : () => r[e] : e.bind(r, r);
|
|
8001
8001
|
let s;
|
|
8002
|
-
|
|
8002
|
+
de(t) ? s = t : (s = t.handler, n = t);
|
|
8003
8003
|
const i = Yo(this), a = Ja(o, s.bind(r), n);
|
|
8004
8004
|
return i(), a;
|
|
8005
8005
|
}
|
|
@@ -8028,7 +8028,7 @@ function Ov(e, t, ...n) {
|
|
|
8028
8028
|
);
|
|
8029
8029
|
else {
|
|
8030
8030
|
const f = c[t];
|
|
8031
|
-
|
|
8031
|
+
de(f) && (f(...n) || F(
|
|
8032
8032
|
`Invalid event arguments: event validation failed for event "${t}".`
|
|
8033
8033
|
));
|
|
8034
8034
|
}
|
|
@@ -8074,7 +8074,7 @@ function wd(e, t, n = !1) {
|
|
|
8074
8074
|
return o;
|
|
8075
8075
|
const s = e.emits;
|
|
8076
8076
|
let i = {}, a = !1;
|
|
8077
|
-
if (!
|
|
8077
|
+
if (!de(e)) {
|
|
8078
8078
|
const l = (u) => {
|
|
8079
8079
|
const c = wd(u, t, !0);
|
|
8080
8080
|
c && (a = !0, Ke(i, c));
|
|
@@ -8158,7 +8158,7 @@ function Di(e) {
|
|
|
8158
8158
|
const S = Object.keys(B), { shapeFlag: U } = T;
|
|
8159
8159
|
if (S.length) {
|
|
8160
8160
|
if (U & 7)
|
|
8161
|
-
s && S.some(js) && (B =
|
|
8161
|
+
s && S.some(js) && (B = xv(
|
|
8162
8162
|
B,
|
|
8163
8163
|
s
|
|
8164
8164
|
)), T = Wt(T, B, !1, !0);
|
|
@@ -8214,13 +8214,13 @@ const Nv = (e) => {
|
|
|
8214
8214
|
for (const n in e)
|
|
8215
8215
|
(n === "class" || n === "style" || qo(n)) && ((t || (t = {}))[n] = e[n]);
|
|
8216
8216
|
return t;
|
|
8217
|
-
},
|
|
8217
|
+
}, xv = (e, t) => {
|
|
8218
8218
|
const n = {};
|
|
8219
8219
|
for (const r in e)
|
|
8220
8220
|
(!js(r) || !(r.slice(9) in t)) && (n[r] = e[r]);
|
|
8221
8221
|
return n;
|
|
8222
8222
|
}, Kl = (e) => e.shapeFlag & 7 || e.type === Ge;
|
|
8223
|
-
function
|
|
8223
|
+
function Sv(e, t, n) {
|
|
8224
8224
|
const { props: r, children: o, component: s } = e, { props: i, children: a, patchFlag: l } = t, u = s.emitsOptions;
|
|
8225
8225
|
if (g.NODE_ENV !== "production" && (o || a) && Fn || t.dirs || t.transition)
|
|
8226
8226
|
return !0;
|
|
@@ -8265,7 +8265,7 @@ const Od = (e) => e.__isSuspense;
|
|
|
8265
8265
|
function Tv(e, t) {
|
|
8266
8266
|
t && t.pendingBranch ? le(e) ? t.effects.push(...e) : t.effects.push(e) : Uc(e);
|
|
8267
8267
|
}
|
|
8268
|
-
const
|
|
8268
|
+
const xe = Symbol.for("v-fgt"), Jo = Symbol.for("v-txt"), Ge = Symbol.for("v-cmt"), go = Symbol.for("v-stc"), yo = [];
|
|
8269
8269
|
let Ct = null;
|
|
8270
8270
|
function y(e = !1) {
|
|
8271
8271
|
yo.push(Ct = e ? null : []);
|
|
@@ -8293,7 +8293,7 @@ function x(e, t, n, r, o, s) {
|
|
|
8293
8293
|
)
|
|
8294
8294
|
);
|
|
8295
8295
|
}
|
|
8296
|
-
function
|
|
8296
|
+
function Oe(e, t, n, r, o) {
|
|
8297
8297
|
return Nd(
|
|
8298
8298
|
Z(
|
|
8299
8299
|
e,
|
|
@@ -8316,20 +8316,20 @@ function cr(e, t) {
|
|
|
8316
8316
|
}
|
|
8317
8317
|
return e.type === t.type && e.key === t.key;
|
|
8318
8318
|
}
|
|
8319
|
-
const Pv = (...e) =>
|
|
8319
|
+
const Pv = (...e) => Sd(
|
|
8320
8320
|
...e
|
|
8321
|
-
),
|
|
8321
|
+
), xd = ({ key: e }) => e ?? null, Es = ({
|
|
8322
8322
|
ref: e,
|
|
8323
8323
|
ref_key: t,
|
|
8324
8324
|
ref_for: n
|
|
8325
|
-
}) => (typeof e == "number" && (e = "" + e), e != null ? We(e) || qe(e) ||
|
|
8326
|
-
function N(e, t = null, n = null, r = 0, o = null, s = e ===
|
|
8325
|
+
}) => (typeof e == "number" && (e = "" + e), e != null ? We(e) || qe(e) || de(e) ? { i: tt, r: e, k: t, f: !!n } : e : null);
|
|
8326
|
+
function N(e, t = null, n = null, r = 0, o = null, s = e === xe ? 0 : 1, i = !1, a = !1) {
|
|
8327
8327
|
const l = {
|
|
8328
8328
|
__v_isVNode: !0,
|
|
8329
8329
|
__v_skip: !0,
|
|
8330
8330
|
type: e,
|
|
8331
8331
|
props: t,
|
|
8332
|
-
key: t &&
|
|
8332
|
+
key: t && xd(t),
|
|
8333
8333
|
ref: t && Es(t),
|
|
8334
8334
|
scopeId: zc,
|
|
8335
8335
|
slotScopeIds: null,
|
|
@@ -8363,8 +8363,8 @@ function N(e, t = null, n = null, r = 0, o = null, s = e === Se ? 0 : 1, i = !1,
|
|
|
8363
8363
|
// vnode should not be considered dynamic due to handler caching.
|
|
8364
8364
|
l.patchFlag !== 32 && Ct.push(l), l;
|
|
8365
8365
|
}
|
|
8366
|
-
const Z = g.NODE_ENV !== "production" ? Pv :
|
|
8367
|
-
function
|
|
8366
|
+
const Z = g.NODE_ENV !== "production" ? Pv : Sd;
|
|
8367
|
+
function Sd(e, t = null, n = null, r = 0, o = null, s = !1) {
|
|
8368
8368
|
if ((!e || e === sd) && (g.NODE_ENV !== "production" && !e && F(`Invalid vnode type when creating vnode: ${e}.`), e = Ge), qr(e)) {
|
|
8369
8369
|
const a = Wt(
|
|
8370
8370
|
e,
|
|
@@ -8379,7 +8379,7 @@ function xd(e, t = null, n = null, r = 0, o = null, s = !1) {
|
|
|
8379
8379
|
let { class: a, style: l } = t;
|
|
8380
8380
|
a && !We(a) && (t.class = Qs(a)), Ae(l) && (Vo(l) && !le(l) && (l = Ke({}, l)), t.style = Aa(l));
|
|
8381
8381
|
}
|
|
8382
|
-
const i = We(e) ? 1 : Od(e) ? 128 : Jc(e) ? 64 : Ae(e) ? 4 :
|
|
8382
|
+
const i = We(e) ? 1 : Od(e) ? 128 : Jc(e) ? 64 : Ae(e) ? 4 : de(e) ? 2 : 0;
|
|
8383
8383
|
return g.NODE_ENV !== "production" && i & 4 && Vo(e) && (e = ye(e), F(
|
|
8384
8384
|
"Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",
|
|
8385
8385
|
`
|
|
@@ -8405,7 +8405,7 @@ function Wt(e, t, n = !1, r = !1) {
|
|
|
8405
8405
|
__v_skip: !0,
|
|
8406
8406
|
type: e.type,
|
|
8407
8407
|
props: u,
|
|
8408
|
-
key: u &&
|
|
8408
|
+
key: u && xd(u),
|
|
8409
8409
|
ref: t && t.ref ? (
|
|
8410
8410
|
// #2078 in the case of <component :is="vnode" ref="extra"/>
|
|
8411
8411
|
// if the vnode itself already has a ref, cloneVNode will need to merge
|
|
@@ -8424,7 +8424,7 @@ function Wt(e, t, n = !1, r = !1) {
|
|
|
8424
8424
|
// existing patch flag to be reliable and need to add the FULL_PROPS flag.
|
|
8425
8425
|
// note: preserve flag for fragments since they use the flag for children
|
|
8426
8426
|
// fast paths only.
|
|
8427
|
-
patchFlag: t && e.type !==
|
|
8427
|
+
patchFlag: t && e.type !== xe ? i === -1 ? 16 : i | 16 : i,
|
|
8428
8428
|
dynamicProps: e.dynamicProps,
|
|
8429
8429
|
dynamicChildren: e.dynamicChildren,
|
|
8430
8430
|
appContext: e.appContext,
|
|
@@ -8459,12 +8459,12 @@ function $v(e, t) {
|
|
|
8459
8459
|
const n = Z(go, null, e);
|
|
8460
8460
|
return n.staticCount = t, n;
|
|
8461
8461
|
}
|
|
8462
|
-
function
|
|
8463
|
-
return t ? (y(),
|
|
8462
|
+
function ce(e = "", t = !1) {
|
|
8463
|
+
return t ? (y(), Oe(Ge, null, e)) : Z(Ge, null, e);
|
|
8464
8464
|
}
|
|
8465
8465
|
function Ut(e) {
|
|
8466
8466
|
return e == null || typeof e == "boolean" ? Z(Ge) : le(e) ? Z(
|
|
8467
|
-
|
|
8467
|
+
xe,
|
|
8468
8468
|
null,
|
|
8469
8469
|
// #3666, avoid reference pollution when reusing vnode
|
|
8470
8470
|
e.slice()
|
|
@@ -8490,7 +8490,7 @@ function Xa(e, t) {
|
|
|
8490
8490
|
const o = t._;
|
|
8491
8491
|
!o && !fd(t) ? t._ctx = tt : o === 3 && tt && (tt.slots._ === 1 ? t._ = 1 : (t._ = 2, e.patchFlag |= 1024));
|
|
8492
8492
|
}
|
|
8493
|
-
else
|
|
8493
|
+
else de(t) ? (t = { default: t, _ctx: tt }, n = 32) : (t = String(t), r & 64 ? (n = 16, t = [ke(t)]) : n = 8);
|
|
8494
8494
|
e.children = t, e.shapeFlag |= n;
|
|
8495
8495
|
}
|
|
8496
8496
|
function Qa(...e) {
|
|
@@ -8670,7 +8670,7 @@ function Lv(e, t) {
|
|
|
8670
8670
|
s
|
|
8671
8671
|
]
|
|
8672
8672
|
);
|
|
8673
|
-
if (
|
|
8673
|
+
if (xn(), i(), Pa(a)) {
|
|
8674
8674
|
if (Lr(e) || rd(e), a.then(Yl, Yl), t)
|
|
8675
8675
|
return a.then((l) => {
|
|
8676
8676
|
Xl(e, l, t);
|
|
@@ -8689,7 +8689,7 @@ function Lv(e, t) {
|
|
|
8689
8689
|
Cd(e, t);
|
|
8690
8690
|
}
|
|
8691
8691
|
function Xl(e, t, n) {
|
|
8692
|
-
|
|
8692
|
+
de(t) ? e.type.__ssrInlineRender ? e.ssrRender = t : e.render = t : Ae(t) ? (g.NODE_ENV !== "production" && qr(t) && F(
|
|
8693
8693
|
"setup() should not return VNodes directly - return a render function instead."
|
|
8694
8694
|
), g.NODE_ENV !== "production" && (e.devtoolsRawSetupState = t), e.setupState = Vc(t), g.NODE_ENV !== "production" && qm(e)) : g.NODE_ENV !== "production" && t !== void 0 && F(
|
|
8695
8695
|
`setup() should return an object. Received: ${t === null ? "null" : typeof t}`
|
|
@@ -8725,7 +8725,7 @@ function Cd(e, t, n) {
|
|
|
8725
8725
|
try {
|
|
8726
8726
|
zm(e);
|
|
8727
8727
|
} finally {
|
|
8728
|
-
|
|
8728
|
+
xn(), o();
|
|
8729
8729
|
}
|
|
8730
8730
|
}
|
|
8731
8731
|
g.NODE_ENV !== "production" && !r.render && e.render === et && !t && (r.template ? F(
|
|
@@ -8801,7 +8801,7 @@ function el(e) {
|
|
|
8801
8801
|
}
|
|
8802
8802
|
const Bv = /(?:^|[-_])(\w)/g, Hv = (e) => e.replace(Bv, (t) => t.toUpperCase()).replace(/[-_]/g, "");
|
|
8803
8803
|
function tl(e, t = !0) {
|
|
8804
|
-
return
|
|
8804
|
+
return de(e) ? e.displayName || e.name : e.name || t && e.__name;
|
|
8805
8805
|
}
|
|
8806
8806
|
function ui(e, t, n = !1) {
|
|
8807
8807
|
let r = tl(t);
|
|
@@ -8822,7 +8822,7 @@ function ui(e, t, n = !1) {
|
|
|
8822
8822
|
return r ? Hv(r) : n ? "App" : "Anonymous";
|
|
8823
8823
|
}
|
|
8824
8824
|
function Pd(e) {
|
|
8825
|
-
return
|
|
8825
|
+
return de(e) && "__vccOpts" in e;
|
|
8826
8826
|
}
|
|
8827
8827
|
const Q = (e, t) => {
|
|
8828
8828
|
const n = em(e, t, li);
|
|
@@ -8853,14 +8853,14 @@ function Zv() {
|
|
|
8853
8853
|
] : nn(d) ? [
|
|
8854
8854
|
"div",
|
|
8855
8855
|
{},
|
|
8856
|
-
["span", e,
|
|
8856
|
+
["span", e, xt(d) ? "ShallowReactive" : "Reactive"],
|
|
8857
8857
|
"<",
|
|
8858
8858
|
a(d),
|
|
8859
8859
|
`>${En(d) ? " (readonly)" : ""}`
|
|
8860
8860
|
] : En(d) ? [
|
|
8861
8861
|
"div",
|
|
8862
8862
|
{},
|
|
8863
|
-
["span", e,
|
|
8863
|
+
["span", e, xt(d) ? "ShallowReadonly" : "Readonly"],
|
|
8864
8864
|
"<",
|
|
8865
8865
|
a(d),
|
|
8866
8866
|
">"
|
|
@@ -8927,7 +8927,7 @@ function Zv() {
|
|
|
8927
8927
|
}
|
|
8928
8928
|
function l(d, f) {
|
|
8929
8929
|
const m = d.type;
|
|
8930
|
-
if (
|
|
8930
|
+
if (de(m))
|
|
8931
8931
|
return;
|
|
8932
8932
|
const b = {};
|
|
8933
8933
|
for (const O in d.ctx)
|
|
@@ -8940,7 +8940,7 @@ function Zv() {
|
|
|
8940
8940
|
return !0;
|
|
8941
8941
|
}
|
|
8942
8942
|
function c(d) {
|
|
8943
|
-
return
|
|
8943
|
+
return xt(d) ? "ShallowRef" : d.effect ? "ComputedRef" : "Ref";
|
|
8944
8944
|
}
|
|
8945
8945
|
window.devtoolsFormatters ? window.devtoolsFormatters.push(o) : window.devtoolsFormatters = [o];
|
|
8946
8946
|
}
|
|
@@ -9325,7 +9325,7 @@ function mg(e, t) {
|
|
|
9325
9325
|
return n.value = e, n.attached = hg(), n;
|
|
9326
9326
|
}
|
|
9327
9327
|
function mu(e, t) {
|
|
9328
|
-
return
|
|
9328
|
+
return de(e) || le(e) ? e : (bn(
|
|
9329
9329
|
`Wrong type passed as event handler to ${t} - did you forget @ or : in front of your prop?
|
|
9330
9330
|
Expected function or array of functions, received type ${typeof e}.`
|
|
9331
9331
|
), et);
|
|
@@ -9348,7 +9348,7 @@ e.charCodeAt(2) > 96 && e.charCodeAt(2) < 123, gg = (e, t, n, r, o, s) => {
|
|
|
9348
9348
|
};
|
|
9349
9349
|
function yg(e, t, n, r) {
|
|
9350
9350
|
if (r)
|
|
9351
|
-
return !!(t === "innerHTML" || t === "textContent" || t in e && vu(t) &&
|
|
9351
|
+
return !!(t === "innerHTML" || t === "textContent" || t in e && vu(t) && de(n));
|
|
9352
9352
|
if (t === "spellcheck" || t === "draggable" || t === "translate" || t === "form" || t === "list" && e.tagName === "INPUT" || t === "type" && e.tagName === "TEXTAREA")
|
|
9353
9353
|
return !1;
|
|
9354
9354
|
if (t === "width" || t === "height") {
|
|
@@ -9386,24 +9386,24 @@ function Og() {
|
|
|
9386
9386
|
}
|
|
9387
9387
|
const Ng = (...e) => {
|
|
9388
9388
|
const t = Og().createApp(...e);
|
|
9389
|
-
ln.NODE_ENV !== "production" && (
|
|
9389
|
+
ln.NODE_ENV !== "production" && (Sg(t), kg(t));
|
|
9390
9390
|
const { mount: n } = t;
|
|
9391
9391
|
return t.mount = (r) => {
|
|
9392
9392
|
const o = Tg(r);
|
|
9393
9393
|
if (!o) return;
|
|
9394
9394
|
const s = t._component;
|
|
9395
|
-
!
|
|
9396
|
-
const i = n(o, !1,
|
|
9395
|
+
!de(s) && !s.render && !s.template && (s.template = o.innerHTML), o.nodeType === 1 && (o.textContent = "");
|
|
9396
|
+
const i = n(o, !1, xg(o));
|
|
9397
9397
|
return o instanceof Element && (o.removeAttribute("v-cloak"), o.setAttribute("data-v-app", "")), i;
|
|
9398
9398
|
}, t;
|
|
9399
9399
|
};
|
|
9400
|
-
function
|
|
9400
|
+
function xg(e) {
|
|
9401
9401
|
if (e instanceof SVGElement)
|
|
9402
9402
|
return "svg";
|
|
9403
9403
|
if (typeof MathMLElement == "function" && e instanceof MathMLElement)
|
|
9404
9404
|
return "mathml";
|
|
9405
9405
|
}
|
|
9406
|
-
function
|
|
9406
|
+
function Sg(e) {
|
|
9407
9407
|
Object.defineProperty(e.config, "isNativeTag", {
|
|
9408
9408
|
value: (t) => _h(t) || wh(t) || Eh(t),
|
|
9409
9409
|
writable: !1
|
|
@@ -9596,7 +9596,7 @@ var ci = class it {
|
|
|
9596
9596
|
try {
|
|
9597
9597
|
this.currentUser.value = await this.client.identity.get();
|
|
9598
9598
|
} catch (t) {
|
|
9599
|
-
t instanceof
|
|
9599
|
+
t instanceof xa || console.error("Could not load user", t);
|
|
9600
9600
|
} finally {
|
|
9601
9601
|
this.loadedUser.value = !0;
|
|
9602
9602
|
}
|
|
@@ -9847,25 +9847,26 @@ function ha(e) {
|
|
|
9847
9847
|
t.currentOrder.value.items.splice(r, 1), t.pushOrderContent();
|
|
9848
9848
|
},
|
|
9849
9849
|
checkout: async (n) => {
|
|
9850
|
-
|
|
9851
|
-
|
|
9850
|
+
var r;
|
|
9851
|
+
const o = typeof window < "u" ? window.location.pathname : "", s = new URL((r = n.returnUrl) != null ? r : o, document.baseURI).href, i = await t.client.orders.pushContent(t.currentOrder.value, {
|
|
9852
|
+
returnUrl: s
|
|
9852
9853
|
});
|
|
9853
|
-
if (!n.redirect &&
|
|
9854
|
-
const
|
|
9855
|
-
return new Promise((
|
|
9856
|
-
Id(
|
|
9857
|
-
|
|
9854
|
+
if (!n.redirect && i.embeddedCheckoutUrl && typeof window < "u") {
|
|
9855
|
+
const a = i.embeddedCheckoutUrl;
|
|
9856
|
+
return new Promise((l) => {
|
|
9857
|
+
Id(a.replace("acme-co.beta.moonbase.sh", "localhost:3002")), window.addEventListener("moonbase-checkout-closed", (u) => {
|
|
9858
|
+
l({ next: u.detail.next });
|
|
9858
9859
|
});
|
|
9859
9860
|
});
|
|
9860
9861
|
} else {
|
|
9861
|
-
if (n.redirect &&
|
|
9862
|
-
return window.location.href =
|
|
9862
|
+
if (n.redirect && i.checkoutUrl && typeof window < "u")
|
|
9863
|
+
return window.location.href = i.checkoutUrl, { next: void 0 };
|
|
9863
9864
|
throw new Error("No checkout URL found");
|
|
9864
9865
|
}
|
|
9865
9866
|
}
|
|
9866
9867
|
};
|
|
9867
9868
|
}
|
|
9868
|
-
function
|
|
9869
|
+
function St(e) {
|
|
9869
9870
|
const t = e ?? Pe(er);
|
|
9870
9871
|
if (!t)
|
|
9871
9872
|
throw new Error("No storefront configured");
|
|
@@ -10022,13 +10023,13 @@ function Rd(e, t) {
|
|
|
10022
10023
|
}), i && t(i.proxiedTarget);
|
|
10023
10024
|
}
|
|
10024
10025
|
}
|
|
10025
|
-
var
|
|
10026
|
+
var Se = {};
|
|
10026
10027
|
let fo;
|
|
10027
|
-
const Bo = (e) => fo = e, jd =
|
|
10028
|
+
const Bo = (e) => fo = e, jd = Se.NODE_ENV !== "production" ? Symbol("pinia") : (
|
|
10028
10029
|
/* istanbul ignore next */
|
|
10029
10030
|
Symbol()
|
|
10030
10031
|
);
|
|
10031
|
-
function
|
|
10032
|
+
function Sr(e) {
|
|
10032
10033
|
return e && typeof e == "object" && Object.prototype.toString.call(e) === "[object Object]" && typeof e.toJSON != "function";
|
|
10033
10034
|
}
|
|
10034
10035
|
var on;
|
|
@@ -10064,11 +10065,11 @@ function Ns(e) {
|
|
|
10064
10065
|
n.initMouseEvent("click", !0, !0, window, 0, 0, 0, 80, 20, !1, !1, !1, !1, 0, null), e.dispatchEvent(n);
|
|
10065
10066
|
}
|
|
10066
10067
|
}
|
|
10067
|
-
const
|
|
10068
|
+
const xs = typeof navigator == "object" ? navigator : { userAgent: "" }, Md = /Macintosh/.test(xs.userAgent) && /AppleWebKit/.test(xs.userAgent) && !/Safari/.test(xs.userAgent), Ud = fr ? (
|
|
10068
10069
|
// Use download attribute first if possible (#193 Lumia mobile) unless this is a macOS WebView or mini program
|
|
10069
10070
|
typeof HTMLAnchorElement < "u" && "download" in HTMLAnchorElement.prototype && !Md ? Xg : (
|
|
10070
10071
|
// Use msSaveOrOpenBlob as a second approach
|
|
10071
|
-
"msSaveOrOpenBlob" in
|
|
10072
|
+
"msSaveOrOpenBlob" in xs ? Qg : (
|
|
10072
10073
|
// Fallback to using FileReader and a popup
|
|
10073
10074
|
ey
|
|
10074
10075
|
)
|
|
@@ -10198,10 +10199,10 @@ function Mt(e) {
|
|
|
10198
10199
|
}
|
|
10199
10200
|
};
|
|
10200
10201
|
}
|
|
10201
|
-
const Zd = "🍍 Pinia (root)",
|
|
10202
|
+
const Zd = "🍍 Pinia (root)", Ss = "_root";
|
|
10202
10203
|
function iy(e) {
|
|
10203
10204
|
return ol(e) ? {
|
|
10204
|
-
id:
|
|
10205
|
+
id: Ss,
|
|
10205
10206
|
label: Zd
|
|
10206
10207
|
} : {
|
|
10207
10208
|
id: e.$id,
|
|
@@ -10376,14 +10377,14 @@ function dy(e, t) {
|
|
|
10376
10377
|
}
|
|
10377
10378
|
}), globalThis.$pinia = t, n.on.getInspectorState((r) => {
|
|
10378
10379
|
if (r.app === e && r.inspectorId === dt) {
|
|
10379
|
-
const o = r.nodeId ===
|
|
10380
|
+
const o = r.nodeId === Ss ? t : t._s.get(r.nodeId);
|
|
10380
10381
|
if (!o)
|
|
10381
10382
|
return;
|
|
10382
|
-
o && (r.nodeId !==
|
|
10383
|
+
o && (r.nodeId !== Ss && (globalThis.$store = ye(o)), r.state = ay(o));
|
|
10383
10384
|
}
|
|
10384
10385
|
}), n.on.editInspectorState((r, o) => {
|
|
10385
10386
|
if (r.app === e && r.inspectorId === dt) {
|
|
10386
|
-
const s = r.nodeId ===
|
|
10387
|
+
const s = r.nodeId === Ss ? t : t._s.get(r.nodeId);
|
|
10387
10388
|
if (!s)
|
|
10388
10389
|
return ot(`store "${r.nodeId}" not found`, "error");
|
|
10389
10390
|
const { path: i } = r;
|
|
@@ -10573,7 +10574,7 @@ function hy() {
|
|
|
10573
10574
|
let n = [], r = [];
|
|
10574
10575
|
const o = Ln({
|
|
10575
10576
|
install(s) {
|
|
10576
|
-
Bo(o), o._a = s, s.provide(jd, o), s.config.globalProperties.$pinia = o,
|
|
10577
|
+
Bo(o), o._a = s, s.provide(jd, o), s.config.globalProperties.$pinia = o, Se.NODE_ENV !== "production" && Se.NODE_ENV !== "test" && fr && dy(s, o), r.forEach((i) => n.push(i)), r = [];
|
|
10577
10578
|
},
|
|
10578
10579
|
use(s) {
|
|
10579
10580
|
return !this._a && !Ad ? r.push(s) : n.push(s), this;
|
|
@@ -10586,7 +10587,7 @@ function hy() {
|
|
|
10586
10587
|
_s: /* @__PURE__ */ new Map(),
|
|
10587
10588
|
state: t
|
|
10588
10589
|
});
|
|
10589
|
-
return
|
|
10590
|
+
return Se.NODE_ENV !== "production" && Se.NODE_ENV !== "test" && typeof Proxy < "u" && o.use(py), o;
|
|
10590
10591
|
}
|
|
10591
10592
|
function Wd(e, t) {
|
|
10592
10593
|
for (const n in t) {
|
|
@@ -10594,7 +10595,7 @@ function Wd(e, t) {
|
|
|
10594
10595
|
if (!(n in e))
|
|
10595
10596
|
continue;
|
|
10596
10597
|
const o = e[n];
|
|
10597
|
-
|
|
10598
|
+
Sr(o) && Sr(r) && !qe(r) && !nn(r) ? e[n] = Wd(o, r) : e[n] = r;
|
|
10598
10599
|
}
|
|
10599
10600
|
return e;
|
|
10600
10601
|
}
|
|
@@ -10606,7 +10607,7 @@ function Ou(e, t, n, r = zd) {
|
|
|
10606
10607
|
const s = e.indexOf(t);
|
|
10607
10608
|
s > -1 && (e.splice(s, 1), r());
|
|
10608
10609
|
};
|
|
10609
|
-
return !n && vc() &&
|
|
10610
|
+
return !n && vc() && xh(o), o;
|
|
10610
10611
|
}
|
|
10611
10612
|
function Cr(e, ...t) {
|
|
10612
10613
|
e.slice().forEach((n) => {
|
|
@@ -10620,31 +10621,31 @@ function va(e, t) {
|
|
|
10620
10621
|
if (!t.hasOwnProperty(n))
|
|
10621
10622
|
continue;
|
|
10622
10623
|
const r = t[n], o = e[n];
|
|
10623
|
-
|
|
10624
|
+
Sr(o) && Sr(r) && e.hasOwnProperty(n) && !qe(r) && !nn(r) ? e[n] = va(o, r) : e[n] = r;
|
|
10624
10625
|
}
|
|
10625
10626
|
return e;
|
|
10626
10627
|
}
|
|
10627
|
-
const vy =
|
|
10628
|
+
const vy = Se.NODE_ENV !== "production" ? Symbol("pinia:skipHydration") : (
|
|
10628
10629
|
/* istanbul ignore next */
|
|
10629
10630
|
Symbol()
|
|
10630
10631
|
);
|
|
10631
10632
|
function gy(e) {
|
|
10632
|
-
return !
|
|
10633
|
+
return !Sr(e) || !e.hasOwnProperty(vy);
|
|
10633
10634
|
}
|
|
10634
10635
|
const { assign: At } = Object;
|
|
10635
|
-
function
|
|
10636
|
+
function xu(e) {
|
|
10636
10637
|
return !!(qe(e) && e.effect);
|
|
10637
10638
|
}
|
|
10638
|
-
function
|
|
10639
|
+
function Su(e, t, n, r) {
|
|
10639
10640
|
const { state: o, actions: s, getters: i } = t, a = n.state.value[e];
|
|
10640
10641
|
let l;
|
|
10641
10642
|
function u() {
|
|
10642
|
-
!a && (
|
|
10643
|
-
const c =
|
|
10643
|
+
!a && (Se.NODE_ENV === "production" || !r) && (n.state.value[e] = o ? o() : {});
|
|
10644
|
+
const c = Se.NODE_ENV !== "production" && r ? (
|
|
10644
10645
|
// use ref() to unwrap refs inside state TODO: check if this is still necessary
|
|
10645
10646
|
Il(P(o ? o() : {}).value)
|
|
10646
10647
|
) : Il(n.state.value[e]);
|
|
10647
|
-
return At(c, s, Object.keys(i || {}).reduce((d, f) => (
|
|
10648
|
+
return At(c, s, Object.keys(i || {}).reduce((d, f) => (Se.NODE_ENV !== "production" && f in c && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${f}" in store "${e}".`), d[f] = Ln(Q(() => {
|
|
10648
10649
|
Bo(n);
|
|
10649
10650
|
const m = n._s.get(e);
|
|
10650
10651
|
return i[f].call(m, m);
|
|
@@ -10655,20 +10656,20 @@ function xu(e, t, n, r) {
|
|
|
10655
10656
|
function ga(e, t, n = {}, r, o, s) {
|
|
10656
10657
|
let i;
|
|
10657
10658
|
const a = At({ actions: {} }, n);
|
|
10658
|
-
if (
|
|
10659
|
+
if (Se.NODE_ENV !== "production" && !r._e.active)
|
|
10659
10660
|
throw new Error("Pinia destroyed");
|
|
10660
10661
|
const l = { deep: !0 };
|
|
10661
|
-
|
|
10662
|
+
Se.NODE_ENV !== "production" && !Ad && (l.onTrigger = (A) => {
|
|
10662
10663
|
u ? m = A : u == !1 && !j._hotUpdating && (Array.isArray(m) ? m.push(A) : console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."));
|
|
10663
10664
|
});
|
|
10664
10665
|
let u, c, d = [], f = [], m;
|
|
10665
10666
|
const b = r.state.value[e];
|
|
10666
|
-
!s && !b && (
|
|
10667
|
+
!s && !b && (Se.NODE_ENV === "production" || !o) && (r.state.value[e] = {});
|
|
10667
10668
|
const O = P({});
|
|
10668
10669
|
let _;
|
|
10669
10670
|
function $(A) {
|
|
10670
10671
|
let V;
|
|
10671
|
-
u = c = !1,
|
|
10672
|
+
u = c = !1, Se.NODE_ENV !== "production" && (m = []), typeof A == "function" ? (A(r.state.value[e]), V = {
|
|
10672
10673
|
type: on.patchFunction,
|
|
10673
10674
|
storeId: e,
|
|
10674
10675
|
events: m
|
|
@@ -10690,7 +10691,7 @@ function ga(e, t, n = {}, r, o, s) {
|
|
|
10690
10691
|
});
|
|
10691
10692
|
} : (
|
|
10692
10693
|
/* istanbul ignore next */
|
|
10693
|
-
|
|
10694
|
+
Se.NODE_ENV !== "production" ? () => {
|
|
10694
10695
|
throw new Error(`🍍: Store "${e}" is built using the setup syntax and does not implement $reset().`);
|
|
10695
10696
|
} : zd
|
|
10696
10697
|
);
|
|
@@ -10748,7 +10749,7 @@ function ga(e, t, n = {}, r, o, s) {
|
|
|
10748
10749
|
return D;
|
|
10749
10750
|
},
|
|
10750
10751
|
$dispose: T
|
|
10751
|
-
}, j = Wo(
|
|
10752
|
+
}, j = Wo(Se.NODE_ENV !== "production" || Se.NODE_ENV !== "production" && Se.NODE_ENV !== "test" && fr ? At(
|
|
10752
10753
|
{
|
|
10753
10754
|
_hmrPayload: S,
|
|
10754
10755
|
_customProperties: Ln(/* @__PURE__ */ new Set())
|
|
@@ -10762,36 +10763,36 @@ function ga(e, t, n = {}, r, o, s) {
|
|
|
10762
10763
|
const q = (r._a && r._a.runWithContext || my)(() => r._e.run(() => (i = mc()).run(() => t({ action: te }))));
|
|
10763
10764
|
for (const A in q) {
|
|
10764
10765
|
const V = q[A];
|
|
10765
|
-
if (qe(V) && !
|
|
10766
|
-
|
|
10766
|
+
if (qe(V) && !xu(V) || nn(V))
|
|
10767
|
+
Se.NODE_ENV !== "production" && o ? ps(O.value, A, xi(q, A)) : s || (b && gy(V) && (qe(V) ? V.value = b[A] : va(V, b[A])), r.state.value[e][A] = V), Se.NODE_ENV !== "production" && S.state.push(A);
|
|
10767
10768
|
else if (typeof V == "function") {
|
|
10768
|
-
const D =
|
|
10769
|
-
q[A] = D,
|
|
10770
|
-
} else
|
|
10769
|
+
const D = Se.NODE_ENV !== "production" && o ? V : te(V, A);
|
|
10770
|
+
q[A] = D, Se.NODE_ENV !== "production" && (S.actions[A] = V), a.actions[A] = V;
|
|
10771
|
+
} else Se.NODE_ENV !== "production" && xu(V) && (S.getters[A] = s ? (
|
|
10771
10772
|
// @ts-expect-error
|
|
10772
10773
|
n.getters[A]
|
|
10773
10774
|
) : V, fr && (q._getters || // @ts-expect-error: same
|
|
10774
10775
|
(q._getters = Ln([]))).push(A));
|
|
10775
10776
|
}
|
|
10776
10777
|
if (At(j, q), At(ye(j), q), Object.defineProperty(j, "$state", {
|
|
10777
|
-
get: () =>
|
|
10778
|
+
get: () => Se.NODE_ENV !== "production" && o ? O.value : r.state.value[e],
|
|
10778
10779
|
set: (A) => {
|
|
10779
|
-
if (
|
|
10780
|
+
if (Se.NODE_ENV !== "production" && o)
|
|
10780
10781
|
throw new Error("cannot set hotState");
|
|
10781
10782
|
$((V) => {
|
|
10782
10783
|
At(V, A);
|
|
10783
10784
|
});
|
|
10784
10785
|
}
|
|
10785
|
-
}),
|
|
10786
|
+
}), Se.NODE_ENV !== "production" && (j._hotUpdate = Ln((A) => {
|
|
10786
10787
|
j._hotUpdating = !0, A._hmrPayload.state.forEach((V) => {
|
|
10787
10788
|
if (V in j.$state) {
|
|
10788
10789
|
const D = A.$state[V], se = j.$state[V];
|
|
10789
|
-
typeof D == "object" &&
|
|
10790
|
+
typeof D == "object" && Sr(D) && Sr(se) ? Wd(D, se) : A.$state[V] = se;
|
|
10790
10791
|
}
|
|
10791
|
-
ps(j, V,
|
|
10792
|
+
ps(j, V, xi(A.$state, V));
|
|
10792
10793
|
}), Object.keys(j.$state).forEach((V) => {
|
|
10793
10794
|
V in A.$state || Ri(j, V);
|
|
10794
|
-
}), u = !1, c = !1, r.state.value[e] =
|
|
10795
|
+
}), u = !1, c = !1, r.state.value[e] = xi(A._hmrPayload, "hotState"), c = !0, jo().then(() => {
|
|
10795
10796
|
u = !0;
|
|
10796
10797
|
});
|
|
10797
10798
|
for (const V in A._hmrPayload.actions) {
|
|
@@ -10810,7 +10811,7 @@ function ga(e, t, n = {}, r, o, s) {
|
|
|
10810
10811
|
}), Object.keys(j._hmrPayload.actions).forEach((V) => {
|
|
10811
10812
|
V in A._hmrPayload.actions || Ri(j, V);
|
|
10812
10813
|
}), j._hmrPayload = A._hmrPayload, j._getters = A._getters, j._hotUpdating = !1;
|
|
10813
|
-
})),
|
|
10814
|
+
})), Se.NODE_ENV !== "production" && Se.NODE_ENV !== "test" && fr) {
|
|
10814
10815
|
const A = {
|
|
10815
10816
|
writable: !0,
|
|
10816
10817
|
configurable: !0,
|
|
@@ -10822,7 +10823,7 @@ function ga(e, t, n = {}, r, o, s) {
|
|
|
10822
10823
|
});
|
|
10823
10824
|
}
|
|
10824
10825
|
return r._p.forEach((A) => {
|
|
10825
|
-
if (
|
|
10826
|
+
if (Se.NODE_ENV !== "production" && Se.NODE_ENV !== "test" && fr) {
|
|
10826
10827
|
const V = i.run(() => A({
|
|
10827
10828
|
store: j,
|
|
10828
10829
|
app: r._a,
|
|
@@ -10837,7 +10838,7 @@ function ga(e, t, n = {}, r, o, s) {
|
|
|
10837
10838
|
pinia: r,
|
|
10838
10839
|
options: a
|
|
10839
10840
|
})));
|
|
10840
|
-
}),
|
|
10841
|
+
}), Se.NODE_ENV !== "production" && j.$state && typeof j.$state == "object" && typeof j.$state.constructor == "function" && !j.$state.constructor.toString().includes("[native code]") && console.warn(`[🍍]: The "state" must be a plain object. It cannot be
|
|
10841
10842
|
state: () => new MyClass()
|
|
10842
10843
|
Found in store "${j.$id}".`), b && s && n.hydrate && n.hydrate(j.$state, b), u = !0, c = !0, j;
|
|
10843
10844
|
}
|
|
@@ -10850,17 +10851,17 @@ function yy(e, t, n) {
|
|
|
10850
10851
|
const u = ev();
|
|
10851
10852
|
if (a = // in test mode, ignore the argument provided as we can always retrieve a
|
|
10852
10853
|
// pinia instance with getActivePinia()
|
|
10853
|
-
(
|
|
10854
|
+
(Se.NODE_ENV === "test" && fo && fo._testing ? null : a) || (u ? Pe(jd, null) : null), a && Bo(a), Se.NODE_ENV !== "production" && !fo)
|
|
10854
10855
|
throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?
|
|
10855
10856
|
See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.
|
|
10856
10857
|
This will fail in production.`);
|
|
10857
|
-
a = fo, a._s.has(r) || (s ? ga(r, t, o, a) :
|
|
10858
|
+
a = fo, a._s.has(r) || (s ? ga(r, t, o, a) : Su(r, o, a), Se.NODE_ENV !== "production" && (i._pinia = a));
|
|
10858
10859
|
const c = a._s.get(r);
|
|
10859
|
-
if (
|
|
10860
|
-
const d = "__hot:" + r, f = s ? ga(d, t, o, a, !0) :
|
|
10860
|
+
if (Se.NODE_ENV !== "production" && l) {
|
|
10861
|
+
const d = "__hot:" + r, f = s ? ga(d, t, o, a, !0) : Su(d, At({}, o), a, !0);
|
|
10861
10862
|
l._hotUpdate(f), delete a.state.value[d], a._s.delete(d);
|
|
10862
10863
|
}
|
|
10863
|
-
if (
|
|
10864
|
+
if (Se.NODE_ENV !== "production" && fr) {
|
|
10864
10865
|
const d = ai();
|
|
10865
10866
|
if (d && d.proxy && // avoid adding stores that are just built for hot module replacement
|
|
10866
10867
|
!l) {
|
|
@@ -10892,7 +10893,7 @@ const by = {
|
|
|
10892
10893
|
redirect: !1
|
|
10893
10894
|
}
|
|
10894
10895
|
}, Xo = Symbol("options");
|
|
10895
|
-
var
|
|
10896
|
+
var Ne = /* @__PURE__ */ ((e) => (e.None = "None", e.Authentication = "Authentication", e.Customer = "Customer", e.Cart = "Cart", e.Activation = "Activation", e.Download = "Download", e))(Ne || {});
|
|
10896
10897
|
const Ve = /* @__PURE__ */ yy("ui", () => {
|
|
10897
10898
|
const e = P(
|
|
10898
10899
|
"None"
|
|
@@ -10929,41 +10930,41 @@ const Ve = /* @__PURE__ */ yy("ui", () => {
|
|
|
10929
10930
|
}, Ey = ["disabled"], Oy = /* @__PURE__ */ fe({
|
|
10930
10931
|
__name: "Toolbar",
|
|
10931
10932
|
setup(e) {
|
|
10932
|
-
const t = P(!1), n = Ve(), r =
|
|
10933
|
+
const t = P(!1), n = Ve(), r = St(), o = Pe(Xo);
|
|
10933
10934
|
return Me(() => {
|
|
10934
10935
|
un(100).then(() => t.value = !0);
|
|
10935
10936
|
}), (s, i) => {
|
|
10936
10937
|
var a, l, u, c, d;
|
|
10937
10938
|
return y(), x("div", {
|
|
10938
10939
|
class: "moonbase:toolbar",
|
|
10939
|
-
"data-visible": t.value && E(n).active === E(
|
|
10940
|
+
"data-visible": t.value && E(n).active === E(Ne).None ? "true" : "false",
|
|
10940
10941
|
"data-location": E(o).toolbar.location
|
|
10941
10942
|
}, [
|
|
10942
10943
|
(a = E(o)) != null && a.toolbar.show.moonbase ? (y(), x("a", wy, i[3] || (i[3] = [
|
|
10943
10944
|
$v('<svg viewBox="0 0 512 512" height="18px" width="18px"><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)
|
|
10944
|
-
]))) :
|
|
10945
|
+
]))) : ce("", !0),
|
|
10945
10946
|
(l = E(o)) != null && l.toolbar.show.cart ? (y(), x("button", {
|
|
10946
10947
|
key: 1,
|
|
10947
10948
|
class: "moonbase:toolbar-action",
|
|
10948
10949
|
type: "button",
|
|
10949
|
-
onClick: i[0] || (i[0] = (f) => E(n).show(E(
|
|
10950
|
-
}, " Cart ")) :
|
|
10950
|
+
onClick: i[0] || (i[0] = (f) => E(n).show(E(Ne).Cart, E(ue).AddToCart))
|
|
10951
|
+
}, " Cart ")) : ce("", !0),
|
|
10951
10952
|
(u = E(o)) != null && u.toolbar.show.account && !E(r).user.value ? (y(), x("button", {
|
|
10952
10953
|
key: 2,
|
|
10953
10954
|
class: "moonbase:toolbar-action",
|
|
10954
10955
|
type: "button",
|
|
10955
10956
|
disabled: !E(r).loaded,
|
|
10956
|
-
onClick: i[1] || (i[1] = (f) => E(n).show(E(
|
|
10957
|
+
onClick: i[1] || (i[1] = (f) => E(n).show(E(Ne).Authentication, E(ue).SignIn))
|
|
10957
10958
|
}, " Log in ", 8, Ey)) : (c = E(o)) != null && c.toolbar.show.account ? (y(), x("button", {
|
|
10958
10959
|
key: 3,
|
|
10959
10960
|
class: "moonbase:toolbar-action",
|
|
10960
10961
|
type: "button",
|
|
10961
|
-
onClick: i[2] || (i[2] = (f) => E(n).show(E(
|
|
10962
|
-
}, K((d = E(r).user.value) == null ? void 0 : d.name), 1)) :
|
|
10962
|
+
onClick: i[2] || (i[2] = (f) => E(n).show(E(Ne).Customer, E(ue).ViewAccount))
|
|
10963
|
+
}, K((d = E(r).user.value) == null ? void 0 : d.name), 1)) : ce("", !0)
|
|
10963
10964
|
], 8, _y);
|
|
10964
10965
|
};
|
|
10965
10966
|
}
|
|
10966
|
-
}), Ny = ["hidden"],
|
|
10967
|
+
}), Ny = ["hidden"], xy = ["for"], Sy = ["id", "type", "name", "placeholder", "value", "disabled", "aria-invalid", "aria-describedby"], ky = ["id"], Ty = ["id"], _t = /* @__PURE__ */ fe({
|
|
10967
10968
|
inheritAttrs: !1,
|
|
10968
10969
|
__name: "MoonInput",
|
|
10969
10970
|
props: {
|
|
@@ -10985,7 +10986,7 @@ const Ve = /* @__PURE__ */ yy("ui", () => {
|
|
|
10985
10986
|
}, [
|
|
10986
10987
|
N("label", {
|
|
10987
10988
|
for: `mb-${t.name}`
|
|
10988
|
-
}, K(t.label), 9,
|
|
10989
|
+
}, K(t.label), 9, xy),
|
|
10989
10990
|
N("input", Qa({
|
|
10990
10991
|
id: `mb-${t.name}`,
|
|
10991
10992
|
type: t.type ?? "text",
|
|
@@ -11000,7 +11001,7 @@ const Ve = /* @__PURE__ */ yy("ui", () => {
|
|
|
11000
11001
|
var o;
|
|
11001
11002
|
return t.$emit("update:modelValue", (o = r.target) == null ? void 0 : o.value);
|
|
11002
11003
|
})
|
|
11003
|
-
}), null, 16,
|
|
11004
|
+
}), null, 16, Sy),
|
|
11004
11005
|
t.error ? (y(), x("p", {
|
|
11005
11006
|
key: 0,
|
|
11006
11007
|
id: `mb-${t.name}-error`,
|
|
@@ -11010,7 +11011,7 @@ const Ve = /* @__PURE__ */ yy("ui", () => {
|
|
|
11010
11011
|
key: 1,
|
|
11011
11012
|
id: `mb-${t.name}-hint`,
|
|
11012
11013
|
class: "moonbase:input-hint"
|
|
11013
|
-
}, K(t.hint), 9, Ty)) :
|
|
11014
|
+
}, K(t.hint), 9, Ty)) : ce("", !0)
|
|
11014
11015
|
], 8, Ny));
|
|
11015
11016
|
}
|
|
11016
11017
|
}), zr = (e, t) => {
|
|
@@ -11092,7 +11093,7 @@ const jt = /* @__PURE__ */ zr(Cy, [["render", Dy], ["__scopeId", "data-v-687bcaf
|
|
|
11092
11093
|
"data-visible": E(n) || void 0,
|
|
11093
11094
|
"aria-hidden": "true"
|
|
11094
11095
|
}, [
|
|
11095
|
-
E(n) ? (y(),
|
|
11096
|
+
E(n) ? (y(), Oe(jt, { key: 0 })) : ce("", !0)
|
|
11096
11097
|
], 8, Ay),
|
|
11097
11098
|
ke(" " + K(s.value), 1)
|
|
11098
11099
|
], 8, Iy));
|
|
@@ -11138,7 +11139,7 @@ const jt = /* @__PURE__ */ zr(Cy, [["render", Dy], ["__scopeId", "data-v-687bcaf
|
|
|
11138
11139
|
}, K(t.error), 9, Fy)) : t.hint ? (y(), x("p", {
|
|
11139
11140
|
key: 1,
|
|
11140
11141
|
id: `mb-${t.name}-hint`
|
|
11141
|
-
}, K(t.hint), 9, By)) :
|
|
11142
|
+
}, K(t.hint), 9, By)) : ce("", !0)
|
|
11142
11143
|
])
|
|
11143
11144
|
]));
|
|
11144
11145
|
}
|
|
@@ -11146,7 +11147,7 @@ const jt = /* @__PURE__ */ zr(Cy, [["render", Dy], ["__scopeId", "data-v-687bcaf
|
|
|
11146
11147
|
__name: "SignUp",
|
|
11147
11148
|
emits: ["signedUp"],
|
|
11148
11149
|
setup(e, { emit: t }) {
|
|
11149
|
-
const n = t, r = Ve(), o =
|
|
11150
|
+
const n = t, r = Ve(), o = St(), s = P(""), i = P(r.getParameter("email") ?? ""), a = P(""), l = P(!1), u = P(null);
|
|
11150
11151
|
async function c() {
|
|
11151
11152
|
u.value = null;
|
|
11152
11153
|
try {
|
|
@@ -11164,7 +11165,7 @@ const jt = /* @__PURE__ */ zr(Cy, [["render", Dy], ["__scopeId", "data-v-687bcaf
|
|
|
11164
11165
|
throw u.value = d.message, d;
|
|
11165
11166
|
}
|
|
11166
11167
|
}
|
|
11167
|
-
return (d, f) => (y(),
|
|
11168
|
+
return (d, f) => (y(), Oe(Kn, {
|
|
11168
11169
|
handler: c,
|
|
11169
11170
|
class: "moonbase:sign-up"
|
|
11170
11171
|
}, {
|
|
@@ -11216,7 +11217,7 @@ const jt = /* @__PURE__ */ zr(Cy, [["render", Dy], ["__scopeId", "data-v-687bcaf
|
|
|
11216
11217
|
}, K(u.value), 9, Hy),
|
|
11217
11218
|
N("button", {
|
|
11218
11219
|
type: "button",
|
|
11219
|
-
onClick: f[4] || (f[4] = (m) => E(r).show(E(
|
|
11220
|
+
onClick: f[4] || (f[4] = (m) => E(r).show(E(Ne).Authentication, E(ue).SignIn, { email: i.value }))
|
|
11220
11221
|
}, " I already have an account ")
|
|
11221
11222
|
]),
|
|
11222
11223
|
_: 1
|
|
@@ -11233,7 +11234,7 @@ const jt = /* @__PURE__ */ zr(Cy, [["render", Dy], ["__scopeId", "data-v-687bcaf
|
|
|
11233
11234
|
__name: "ConfirmAccount",
|
|
11234
11235
|
emits: ["confirmedAccount"],
|
|
11235
11236
|
setup(e, { emit: t }) {
|
|
11236
|
-
const n = t, r = Ve(), o =
|
|
11237
|
+
const n = t, r = Ve(), o = St(), s = P(!0), i = P(null), a = P(""), l = P(null);
|
|
11237
11238
|
Me(async () => {
|
|
11238
11239
|
try {
|
|
11239
11240
|
const c = r.getParameter("email"), d = r.getParameter("code");
|
|
@@ -11257,14 +11258,14 @@ const jt = /* @__PURE__ */ zr(Cy, [["render", Dy], ["__scopeId", "data-v-687bcaf
|
|
|
11257
11258
|
throw l.value = f.message, f;
|
|
11258
11259
|
}
|
|
11259
11260
|
}
|
|
11260
|
-
return (c, d) => (y(),
|
|
11261
|
+
return (c, d) => (y(), Oe(Kn, {
|
|
11261
11262
|
handler: u,
|
|
11262
11263
|
class: "moonbase:confirm-account"
|
|
11263
11264
|
}, {
|
|
11264
11265
|
default: be(() => [
|
|
11265
11266
|
s.value ? (y(), x("div", qy, [
|
|
11266
11267
|
Z(jt)
|
|
11267
|
-
])) : i.value ? (y(), x(
|
|
11268
|
+
])) : i.value ? (y(), x(xe, { key: 2 }, [
|
|
11268
11269
|
N("h3", null, " Hi " + K(i.value.name) + ", ", 1),
|
|
11269
11270
|
d[1] || (d[1] = N("p", null, " Please create a new password for your account: ", -1)),
|
|
11270
11271
|
Z(_t, {
|
|
@@ -11304,7 +11305,7 @@ const jt = /* @__PURE__ */ zr(Cy, [["render", Dy], ["__scopeId", "data-v-687bcaf
|
|
|
11304
11305
|
}), Gy = ["data-visible"], Jy = /* @__PURE__ */ fe({
|
|
11305
11306
|
__name: "ForgotPassword",
|
|
11306
11307
|
setup(e) {
|
|
11307
|
-
const t = Ve(), n =
|
|
11308
|
+
const t = Ve(), n = St(), r = P(t.getParameter("email") ?? ""), o = P(null), s = P(!1);
|
|
11308
11309
|
async function i() {
|
|
11309
11310
|
o.value = null;
|
|
11310
11311
|
try {
|
|
@@ -11315,7 +11316,7 @@ const jt = /* @__PURE__ */ zr(Cy, [["render", Dy], ["__scopeId", "data-v-687bcaf
|
|
|
11315
11316
|
throw a instanceof Wn ? o.value = "User not found" : o.value = a.message, a;
|
|
11316
11317
|
}
|
|
11317
11318
|
}
|
|
11318
|
-
return (a, l) => (y(),
|
|
11319
|
+
return (a, l) => (y(), Oe(Kn, {
|
|
11319
11320
|
handler: i,
|
|
11320
11321
|
class: "moonbase:sign-in",
|
|
11321
11322
|
"no-reset": ""
|
|
@@ -11350,7 +11351,7 @@ const jt = /* @__PURE__ */ zr(Cy, [["render", Dy], ["__scopeId", "data-v-687bcaf
|
|
|
11350
11351
|
__name: "ResetPassword",
|
|
11351
11352
|
emits: ["passwordReset"],
|
|
11352
11353
|
setup(e, { emit: t }) {
|
|
11353
|
-
const n = t, r = Ve(), o =
|
|
11354
|
+
const n = t, r = Ve(), o = St(), s = Q(() => r.getParameter("email")), i = P(""), a = P(null);
|
|
11354
11355
|
Me(() => {
|
|
11355
11356
|
(!r.getParameter("email") || !r.getParameter("code")) && (a.value = "Link broken, please try again");
|
|
11356
11357
|
});
|
|
@@ -11366,7 +11367,7 @@ const jt = /* @__PURE__ */ zr(Cy, [["render", Dy], ["__scopeId", "data-v-687bcaf
|
|
|
11366
11367
|
throw a.value = c.message, c;
|
|
11367
11368
|
}
|
|
11368
11369
|
}
|
|
11369
|
-
return (u, c) => (y(),
|
|
11370
|
+
return (u, c) => (y(), Oe(Kn, {
|
|
11370
11371
|
handler: l,
|
|
11371
11372
|
class: "moonbase:reset-password"
|
|
11372
11373
|
}, {
|
|
@@ -11416,7 +11417,7 @@ const jt = /* @__PURE__ */ zr(Cy, [["render", Dy], ["__scopeId", "data-v-687bcaf
|
|
|
11416
11417
|
}, nb = /* @__PURE__ */ fe({
|
|
11417
11418
|
__name: "ConfirmEmailChange",
|
|
11418
11419
|
setup(e) {
|
|
11419
|
-
const t = Ve(), { user: n, confirmEmailChange: r } =
|
|
11420
|
+
const t = Ve(), { user: n, confirmEmailChange: r } = St(), o = P(!0), s = P(null);
|
|
11420
11421
|
return Me(async () => {
|
|
11421
11422
|
try {
|
|
11422
11423
|
const i = t.getParameter("email"), a = t.getParameter("code");
|
|
@@ -11432,7 +11433,7 @@ const jt = /* @__PURE__ */ zr(Cy, [["render", Dy], ["__scopeId", "data-v-687bcaf
|
|
|
11432
11433
|
return y(), x("div", Qy, [
|
|
11433
11434
|
o.value ? (y(), x("div", eb, [
|
|
11434
11435
|
Z(jt)
|
|
11435
|
-
])) : s.value ? (y(), x("div", tb, K(s.value), 1)) : (y(), x(
|
|
11436
|
+
])) : s.value ? (y(), x("div", tb, K(s.value), 1)) : (y(), x(xe, { key: 2 }, [
|
|
11436
11437
|
N("h3", null, " Hi " + K((l = E(n)) == null ? void 0 : l.name) + ", ", 1),
|
|
11437
11438
|
a[0] || (a[0] = N("p", null, " Thanks for confirming your new email. You can now sign in using this new address. ", -1))
|
|
11438
11439
|
], 64))
|
|
@@ -11576,7 +11577,7 @@ function hs({
|
|
|
11576
11577
|
});
|
|
11577
11578
|
}
|
|
11578
11579
|
function Yd(e) {
|
|
11579
|
-
return e.flatMap((t) => t.type ===
|
|
11580
|
+
return e.flatMap((t) => t.type === xe ? Yd(t.children) : [t]);
|
|
11580
11581
|
}
|
|
11581
11582
|
function Xd(...e) {
|
|
11582
11583
|
if (e.length === 0)
|
|
@@ -11899,7 +11900,7 @@ const no = Object.assign(
|
|
|
11899
11900
|
}
|
|
11900
11901
|
return () => {
|
|
11901
11902
|
const m = {}, b = { ref: o, onKeydown: d, onFocusout: f }, { features: O, initialFocus: _, containers: $, ...B } = e;
|
|
11902
|
-
return Fe(
|
|
11903
|
+
return Fe(xe, [
|
|
11903
11904
|
!!(O & 4) && Fe(Xn, {
|
|
11904
11905
|
as: "button",
|
|
11905
11906
|
type: "button",
|
|
@@ -12447,17 +12448,17 @@ const Cu = /* @__PURE__ */ fe({
|
|
|
12447
12448
|
});
|
|
12448
12449
|
let cf = Symbol("StackContext");
|
|
12449
12450
|
var ya = /* @__PURE__ */ ((e) => (e[e.Add = 0] = "Add", e[e.Remove = 1] = "Remove", e))(ya || {});
|
|
12450
|
-
function
|
|
12451
|
+
function xb() {
|
|
12451
12452
|
return Pe(cf, () => {
|
|
12452
12453
|
});
|
|
12453
12454
|
}
|
|
12454
|
-
function
|
|
12455
|
+
function Sb({
|
|
12455
12456
|
type: e,
|
|
12456
12457
|
enabled: t,
|
|
12457
12458
|
element: n,
|
|
12458
12459
|
onUpdate: r
|
|
12459
12460
|
}) {
|
|
12460
|
-
let o =
|
|
12461
|
+
let o = xb();
|
|
12461
12462
|
function s(...i) {
|
|
12462
12463
|
r == null || r(...i), o(...i);
|
|
12463
12464
|
}
|
|
@@ -12541,7 +12542,7 @@ const Cb = /* @__PURE__ */ fe({
|
|
|
12541
12542
|
return Fe(
|
|
12542
12543
|
// @ts-expect-error Children can be an object, but TypeScript is not happy
|
|
12543
12544
|
// with it. Once this is fixed upstream we can remove this assertion.
|
|
12544
|
-
|
|
12545
|
+
Sm,
|
|
12545
12546
|
{ to: i.value },
|
|
12546
12547
|
rt({
|
|
12547
12548
|
ourProps: d,
|
|
@@ -12683,7 +12684,7 @@ const ms = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", pf = /* @__PURE__ */ fe({
|
|
|
12683
12684
|
((oe = f.value) == null ? void 0 : oe.querySelectorAll("[data-moonbase-portal]")) ?? []
|
|
12684
12685
|
).find((Ue) => Ue.contains(J(j)) && Ue instanceof HTMLElement) ?? null;
|
|
12685
12686
|
});
|
|
12686
|
-
ku($e, se),
|
|
12687
|
+
ku($e, se), Sb({
|
|
12687
12688
|
type: "Dialog",
|
|
12688
12689
|
enabled: Q(
|
|
12689
12690
|
() => b.value === 0
|
|
@@ -12980,7 +12981,7 @@ let cl = /* @__PURE__ */ fe({
|
|
|
12980
12981
|
)
|
|
12981
12982
|
), () => {
|
|
12982
12983
|
const S = { open: s.value === 0, close: f.close };
|
|
12983
|
-
return Fe(
|
|
12984
|
+
return Fe(xe, [
|
|
12984
12985
|
Fe($, {}, () => rt({
|
|
12985
12986
|
theirProps: { ...e, ...n },
|
|
12986
12987
|
ourProps: { ref: o },
|
|
@@ -13093,7 +13094,7 @@ const _f = /* @__PURE__ */ fe({
|
|
|
13093
13094
|
onClick: O,
|
|
13094
13095
|
onMousedown: _
|
|
13095
13096
|
};
|
|
13096
|
-
return Fe(
|
|
13097
|
+
return Fe(xe, [
|
|
13097
13098
|
rt({
|
|
13098
13099
|
ourProps: j,
|
|
13099
13100
|
theirProps: { ...t, ...U },
|
|
@@ -13218,7 +13219,7 @@ const _f = /* @__PURE__ */ fe({
|
|
|
13218
13219
|
default: (...S) => {
|
|
13219
13220
|
var U;
|
|
13220
13221
|
return [
|
|
13221
|
-
Fe(
|
|
13222
|
+
Fe(xe, [
|
|
13222
13223
|
c.value && s.isPortalled.value && Fe(Xn, {
|
|
13223
13224
|
id: a,
|
|
13224
13225
|
ref: s.beforePanelSentinel,
|
|
@@ -13405,7 +13406,7 @@ const dl = Symbol("TabsSSRContext"), Ab = /* @__PURE__ */ fe({
|
|
|
13405
13406
|
);
|
|
13406
13407
|
}), () => {
|
|
13407
13408
|
const b = { selectedIndex: o.value };
|
|
13408
|
-
return Fe(
|
|
13409
|
+
return Fe(xe, [
|
|
13409
13410
|
s.value.length <= 0 && Fe(Ib, {
|
|
13410
13411
|
onFocus: () => {
|
|
13411
13412
|
for (const O of s.value) {
|
|
@@ -13953,7 +13954,7 @@ const Nf = Jn.RenderStrategy, Ho = /* @__PURE__ */ fe({
|
|
|
13953
13954
|
},
|
|
13954
13955
|
emits: ["close"],
|
|
13955
13956
|
setup(e) {
|
|
13956
|
-
return (t, n) => (y(),
|
|
13957
|
+
return (t, n) => (y(), Oe(E(hl), {
|
|
13957
13958
|
as: "template",
|
|
13958
13959
|
show: t.open
|
|
13959
13960
|
}, {
|
|
@@ -13994,7 +13995,7 @@ const Nf = Jn.RenderStrategy, Ho = /* @__PURE__ */ fe({
|
|
|
13994
13995
|
__name: "SignIn",
|
|
13995
13996
|
emits: ["signedIn"],
|
|
13996
13997
|
setup(e, { emit: t }) {
|
|
13997
|
-
const n = t, r = Ve(), o =
|
|
13998
|
+
const n = t, r = Ve(), o = St(), s = Pe(Xo), i = P(r.getParameter("email") ?? ""), a = P(""), l = P(null);
|
|
13998
13999
|
async function u() {
|
|
13999
14000
|
l.value = null;
|
|
14000
14001
|
try {
|
|
@@ -14004,7 +14005,7 @@ const Nf = Jn.RenderStrategy, Ho = /* @__PURE__ */ fe({
|
|
|
14004
14005
|
throw c instanceof Wn ? l.value = "User not found" : l.value = c.message, c;
|
|
14005
14006
|
}
|
|
14006
14007
|
}
|
|
14007
|
-
return (c, d) => (y(),
|
|
14008
|
+
return (c, d) => (y(), Oe(Kn, {
|
|
14008
14009
|
handler: u,
|
|
14009
14010
|
class: "moonbase:sign-in"
|
|
14010
14011
|
}, {
|
|
@@ -14043,11 +14044,11 @@ const Nf = Jn.RenderStrategy, Ho = /* @__PURE__ */ fe({
|
|
|
14043
14044
|
(f = E(s)) != null && f.auth.enable.signUp ? (y(), x("button", {
|
|
14044
14045
|
key: 0,
|
|
14045
14046
|
type: "button",
|
|
14046
|
-
onClick: d[2] || (d[2] = (m) => E(r).show(E(
|
|
14047
|
-
}, " Create account ")) :
|
|
14047
|
+
onClick: d[2] || (d[2] = (m) => E(r).show(E(Ne).Authentication, E(ue).SignUp, { email: i.value }))
|
|
14048
|
+
}, " Create account ")) : ce("", !0),
|
|
14048
14049
|
N("button", {
|
|
14049
14050
|
type: "button",
|
|
14050
|
-
onClick: d[3] || (d[3] = (m) => E(r).show(E(
|
|
14051
|
+
onClick: d[3] || (d[3] = (m) => E(r).show(E(Ne).Authentication, E(ue).ForgotPassword, { email: i.value }))
|
|
14051
14052
|
}, " Forgot password ")
|
|
14052
14053
|
];
|
|
14053
14054
|
}),
|
|
@@ -14064,7 +14065,7 @@ const Nf = Jn.RenderStrategy, Ho = /* @__PURE__ */ fe({
|
|
|
14064
14065
|
},
|
|
14065
14066
|
emits: ["authenticated"],
|
|
14066
14067
|
setup(e, { emit: t }) {
|
|
14067
|
-
const n = t, r = Ve(), { loaded: o, user: s } =
|
|
14068
|
+
const n = t, r = Ve(), { loaded: o, user: s } = St();
|
|
14068
14069
|
Ye(s, (a) => {
|
|
14069
14070
|
a && r.intent === ue.SignIn && (n("authenticated", a), r.dequeue());
|
|
14070
14071
|
});
|
|
@@ -14085,7 +14086,7 @@ const Nf = Jn.RenderStrategy, Ho = /* @__PURE__ */ fe({
|
|
|
14085
14086
|
}
|
|
14086
14087
|
throw new Error("Moonbase: Unknown intent");
|
|
14087
14088
|
});
|
|
14088
|
-
return (a, l) => (y(),
|
|
14089
|
+
return (a, l) => (y(), Oe(yi, {
|
|
14089
14090
|
open: a.open,
|
|
14090
14091
|
onClose: l[3] || (l[3] = (u) => E(r).reset())
|
|
14091
14092
|
}, {
|
|
@@ -14097,16 +14098,16 @@ const Nf = Jn.RenderStrategy, Ho = /* @__PURE__ */ fe({
|
|
|
14097
14098
|
]),
|
|
14098
14099
|
_: 1
|
|
14099
14100
|
}),
|
|
14100
|
-
E(o) ? E(r).intent === E(ue).SignIn ? (y(),
|
|
14101
|
+
E(o) ? E(r).intent === E(ue).SignIn ? (y(), Oe(qb, { key: 1 })) : E(r).intent === E(ue).SignUp ? (y(), Oe(Zy, {
|
|
14101
14102
|
key: 2,
|
|
14102
14103
|
onSignedUp: l[0] || (l[0] = (u) => E(r).dequeue())
|
|
14103
|
-
})) : E(r).intent === E(ue).ConfirmAccount ? (y(),
|
|
14104
|
+
})) : E(r).intent === E(ue).ConfirmAccount ? (y(), Oe(Ky, {
|
|
14104
14105
|
key: 3,
|
|
14105
14106
|
onConfirmedAccount: l[1] || (l[1] = (u) => E(r).dequeue())
|
|
14106
|
-
})) : E(r).intent === E(ue).ConfirmEmailChange ? (y(),
|
|
14107
|
+
})) : E(r).intent === E(ue).ConfirmEmailChange ? (y(), Oe(nb, { key: 4 })) : E(r).intent === E(ue).ForgotPassword ? (y(), Oe(Jy, { key: 5 })) : E(r).intent === E(ue).ResetPassword ? (y(), Oe(Xy, {
|
|
14107
14108
|
key: 6,
|
|
14108
14109
|
onPasswordReset: l[2] || (l[2] = (u) => E(r).dequeue())
|
|
14109
|
-
})) :
|
|
14110
|
+
})) : ce("", !0) : (y(), x("div", zb, [
|
|
14110
14111
|
Z(jt)
|
|
14111
14112
|
]))
|
|
14112
14113
|
])
|
|
@@ -14160,15 +14161,15 @@ const Gb = { class: "moonbase:product-cart-item" }, Jb = ["src"], Yb = {
|
|
|
14160
14161
|
t.lineItem.appliedDiscount ? (y(), x("p", Qb, [
|
|
14161
14162
|
n[0] || (n[0] = ke(" Discount applied: ")),
|
|
14162
14163
|
N("span", e_, K(t.lineItem.appliedDiscount.name), 1),
|
|
14163
|
-
t.lineItem.appliedDiscount.total ? (y(), x("span", t_, " (-" + K(E(yn)(t.lineItem.appliedDiscount.total[t.currency], t.currency)) + ") ", 1)) :
|
|
14164
|
-
])) :
|
|
14164
|
+
t.lineItem.appliedDiscount.total ? (y(), x("span", t_, " (-" + K(E(yn)(t.lineItem.appliedDiscount.total[t.currency], t.currency)) + ") ", 1)) : ce("", !0)
|
|
14165
|
+
])) : ce("", !0),
|
|
14165
14166
|
N("p", null, K(t.lineItem.quantity) + " in cart", 1)
|
|
14166
14167
|
]),
|
|
14167
14168
|
t.lineItem.variation ? (y(), x("div", n_, [
|
|
14168
|
-
t.lineItem.variation.hasDiscount ? (y(), x("span", r_, K(E(yn)(t.lineItem.variation.originalPrice[t.currency], t.currency)), 1)) :
|
|
14169
|
-
t.lineItem.quantity !== 1 ? (y(), x("span", o_, K(t.lineItem.quantity) + " x " + K(E(yn)(t.lineItem.variation.price[t.currency], t.currency)), 1)) :
|
|
14169
|
+
t.lineItem.variation.hasDiscount ? (y(), x("span", r_, K(E(yn)(t.lineItem.variation.originalPrice[t.currency], t.currency)), 1)) : ce("", !0),
|
|
14170
|
+
t.lineItem.quantity !== 1 ? (y(), x("span", o_, K(t.lineItem.quantity) + " x " + K(E(yn)(t.lineItem.variation.price[t.currency], t.currency)), 1)) : ce("", !0),
|
|
14170
14171
|
ke(" " + K(E(yn)(t.lineItem.variation.price[t.currency] * t.lineItem.quantity, t.currency)), 1)
|
|
14171
|
-
])) :
|
|
14172
|
+
])) : ce("", !0)
|
|
14172
14173
|
]);
|
|
14173
14174
|
};
|
|
14174
14175
|
}
|
|
@@ -14227,8 +14228,8 @@ const Gb = { class: "moonbase:product-cart-item" }, Jb = ["src"], Yb = {
|
|
|
14227
14228
|
r.lineItem.appliedDiscount ? (y(), x("p", c_, [
|
|
14228
14229
|
o[1] || (o[1] = ke(" Discount applied: ")),
|
|
14229
14230
|
N("span", d_, K(r.lineItem.appliedDiscount.name), 1),
|
|
14230
|
-
r.lineItem.appliedDiscount.total ? (y(), x("span", f_, " (-" + K(E(yn)(r.lineItem.appliedDiscount.total[r.currency], r.currency)) + ") ", 1)) :
|
|
14231
|
-
])) :
|
|
14231
|
+
r.lineItem.appliedDiscount.total ? (y(), x("span", f_, " (-" + K(E(yn)(r.lineItem.appliedDiscount.total[r.currency], r.currency)) + ") ", 1)) : ce("", !0)
|
|
14232
|
+
])) : ce("", !0),
|
|
14232
14233
|
N("div", p_, [
|
|
14233
14234
|
N("span", null, K(r.lineItem.quantity) + " in cart", 1),
|
|
14234
14235
|
r.lineItem.bundle ? (y(), x("button", {
|
|
@@ -14237,9 +14238,9 @@ const Gb = { class: "moonbase:product-cart-item" }, Jb = ["src"], Yb = {
|
|
|
14237
14238
|
}, [
|
|
14238
14239
|
N("span", null, [
|
|
14239
14240
|
ke(" Including " + K((l = r.lineItem.bundle) == null ? void 0 : l.products.filter((f) => f.included).length) + " ", 1),
|
|
14240
|
-
(u = r.lineItem.bundle) != null && u.products.some((f) => !f.included) ? (y(), x(
|
|
14241
|
+
(u = r.lineItem.bundle) != null && u.products.some((f) => !f.included) ? (y(), x(xe, { key: 0 }, [
|
|
14241
14242
|
ke("of " + K((c = r.lineItem.bundle) == null ? void 0 : c.products.length), 1)
|
|
14242
|
-
], 64)) :
|
|
14243
|
+
], 64)) : ce("", !0),
|
|
14243
14244
|
o[2] || (o[2] = ke(" products "))
|
|
14244
14245
|
]),
|
|
14245
14246
|
(y(), x("svg", {
|
|
@@ -14255,14 +14256,14 @@ const Gb = { class: "moonbase:product-cart-item" }, Jb = ["src"], Yb = {
|
|
|
14255
14256
|
d: "m19.5 8.25-7.5 7.5-7.5-7.5"
|
|
14256
14257
|
}, null, -1)
|
|
14257
14258
|
]), 8, h_))
|
|
14258
|
-
])) :
|
|
14259
|
+
])) : ce("", !0)
|
|
14259
14260
|
])
|
|
14260
14261
|
]),
|
|
14261
14262
|
r.lineItem.variation ? (y(), x("div", m_, [
|
|
14262
|
-
r.lineItem.variation.hasDiscount ? (y(), x("span", v_, K(E(yn)(r.lineItem.variation.originalPrice[r.currency], r.currency)), 1)) :
|
|
14263
|
-
r.lineItem.quantity !== 1 ? (y(), x("span", g_, K(r.lineItem.quantity) + " x " + K(E(yn)(r.lineItem.variation.price[r.currency], r.currency)), 1)) :
|
|
14263
|
+
r.lineItem.variation.hasDiscount ? (y(), x("span", v_, K(E(yn)(r.lineItem.variation.originalPrice[r.currency], r.currency)), 1)) : ce("", !0),
|
|
14264
|
+
r.lineItem.quantity !== 1 ? (y(), x("span", g_, K(r.lineItem.quantity) + " x " + K(E(yn)(r.lineItem.variation.price[r.currency], r.currency)), 1)) : ce("", !0),
|
|
14264
14265
|
ke(" " + K(E(yn)(r.lineItem.variation.price[r.currency] * r.lineItem.quantity, r.currency)), 1)
|
|
14265
|
-
])) :
|
|
14266
|
+
])) : ce("", !0)
|
|
14266
14267
|
]),
|
|
14267
14268
|
N("div", {
|
|
14268
14269
|
ref_key: "productListRef",
|
|
@@ -14270,7 +14271,7 @@ const Gb = { class: "moonbase:product-cart-item" }, Jb = ["src"], Yb = {
|
|
|
14270
14271
|
class: "moonbase:bundle-cart-item-product-list",
|
|
14271
14272
|
style: { height: "0px" }
|
|
14272
14273
|
}, [
|
|
14273
|
-
(y(!0), x(
|
|
14274
|
+
(y(!0), x(xe, null, rn(((d = r.lineItem.bundle) == null ? void 0 : d.products) || [], (f) => (y(), x("div", {
|
|
14274
14275
|
key: f.id
|
|
14275
14276
|
}, [
|
|
14276
14277
|
f != null && f.iconUrl ? (y(), x("img", {
|
|
@@ -14288,24 +14289,24 @@ const Gb = { class: "moonbase:product-cart-item" }, Jb = ["src"], Yb = {
|
|
|
14288
14289
|
"stroke-linejoin": "round",
|
|
14289
14290
|
d: "m4.5 12.75 6 6 9-13.5"
|
|
14290
14291
|
}, null, -1)
|
|
14291
|
-
]))) :
|
|
14292
|
+
]))) : ce("", !0),
|
|
14292
14293
|
ke(" " + K(f == null ? void 0 : f.name), 1)
|
|
14293
14294
|
], 8, __),
|
|
14294
|
-
f.included ? f != null && f.tagline ? (y(), x("p", O_, K(f.tagline), 1)) :
|
|
14295
|
+
f.included ? f != null && f.tagline ? (y(), x("p", O_, K(f.tagline), 1)) : ce("", !0) : (y(), x("p", E_, " You already own this "))
|
|
14295
14296
|
])
|
|
14296
14297
|
]))), 128))
|
|
14297
14298
|
], 512)
|
|
14298
14299
|
]);
|
|
14299
14300
|
};
|
|
14300
14301
|
}
|
|
14301
|
-
}),
|
|
14302
|
+
}), x_ = { class: "moonbase:cart-modal-container" }, S_ = /* @__PURE__ */ fe({
|
|
14302
14303
|
__name: "CartModal",
|
|
14303
14304
|
props: {
|
|
14304
14305
|
open: { type: Boolean }
|
|
14305
14306
|
},
|
|
14306
14307
|
emits: ["close"],
|
|
14307
14308
|
setup(e) {
|
|
14308
|
-
return (t, n) => (y(),
|
|
14309
|
+
return (t, n) => (y(), Oe(E(hl), {
|
|
14309
14310
|
as: "template",
|
|
14310
14311
|
show: t.open
|
|
14311
14312
|
}, {
|
|
@@ -14316,7 +14317,7 @@ const Gb = { class: "moonbase:product-cart-item" }, Jb = ["src"], Yb = {
|
|
|
14316
14317
|
onClose: n[0] || (n[0] = (r) => t.$emit("close"))
|
|
14317
14318
|
}, {
|
|
14318
14319
|
default: be(() => [
|
|
14319
|
-
N("div",
|
|
14320
|
+
N("div", x_, [
|
|
14320
14321
|
Z(E(Ho), { as: "template" }, {
|
|
14321
14322
|
default: be(() => [
|
|
14322
14323
|
Z(E(hf), { class: "moonbase:cart-modal-overlay" })
|
|
@@ -14342,7 +14343,7 @@ const Gb = { class: "moonbase:product-cart-item" }, Jb = ["src"], Yb = {
|
|
|
14342
14343
|
_: 3
|
|
14343
14344
|
}, 8, ["show"]));
|
|
14344
14345
|
}
|
|
14345
|
-
}), k_ = ["disabled", "data-success", "data-error", "data-working", "data-variant"], T_ = ["data-visible"],
|
|
14346
|
+
}), k_ = ["disabled", "data-success", "data-error", "data-working", "data-variant"], T_ = ["data-visible"], xf = /* @__PURE__ */ fe({
|
|
14346
14347
|
__name: "MoonButton",
|
|
14347
14348
|
props: {
|
|
14348
14349
|
handler: { type: Function },
|
|
@@ -14380,7 +14381,7 @@ const Gb = { class: "moonbase:product-cart-item" }, Jb = ["src"], Yb = {
|
|
|
14380
14381
|
"data-visible": n.value || void 0,
|
|
14381
14382
|
"aria-hidden": "true"
|
|
14382
14383
|
}, [
|
|
14383
|
-
n.value ? (y(),
|
|
14384
|
+
n.value ? (y(), Oe(jt, { key: 0 })) : ce("", !0)
|
|
14384
14385
|
], 8, T_),
|
|
14385
14386
|
ke(" " + K(s.value), 1)
|
|
14386
14387
|
], 8, k_));
|
|
@@ -14406,7 +14407,7 @@ const Gb = { class: "moonbase:product-cart-item" }, Jb = ["src"], Yb = {
|
|
|
14406
14407
|
if (!await s({ redirect: (i == null ? void 0 : i.checkout.redirect) ?? !1, returnUrl: `${window.location.pathname}?mb_intent=view_products` }))
|
|
14407
14408
|
throw new Error("Cancelled checkout");
|
|
14408
14409
|
}
|
|
14409
|
-
return (l, u) => (y(),
|
|
14410
|
+
return (l, u) => (y(), Oe(S_, {
|
|
14410
14411
|
open: l.open,
|
|
14411
14412
|
onClose: u[0] || (u[0] = (c) => E(t).reset())
|
|
14412
14413
|
}, {
|
|
@@ -14419,31 +14420,31 @@ const Gb = { class: "moonbase:product-cart-item" }, Jb = ["src"], Yb = {
|
|
|
14419
14420
|
_: 1
|
|
14420
14421
|
}),
|
|
14421
14422
|
E(n).length > 0 ? (y(), x("ul", P_, [
|
|
14422
|
-
(y(!0), x(
|
|
14423
|
+
(y(!0), x(xe, null, rn(E(n), (c) => (y(), x("li", {
|
|
14423
14424
|
key: c.id
|
|
14424
14425
|
}, [
|
|
14425
|
-
c.type === "Product" ? (y(),
|
|
14426
|
+
c.type === "Product" ? (y(), Oe(s_, {
|
|
14426
14427
|
key: 0,
|
|
14427
14428
|
"line-item": c,
|
|
14428
14429
|
currency: E(o)
|
|
14429
|
-
}, null, 8, ["line-item", "currency"])) : c.type === "Bundle" ? (y(),
|
|
14430
|
+
}, null, 8, ["line-item", "currency"])) : c.type === "Bundle" ? (y(), Oe(N_, {
|
|
14430
14431
|
key: 1,
|
|
14431
14432
|
"line-item": c,
|
|
14432
14433
|
currency: E(o)
|
|
14433
|
-
}, null, 8, ["line-item", "currency"])) :
|
|
14434
|
+
}, null, 8, ["line-item", "currency"])) : ce("", !0)
|
|
14434
14435
|
]))), 128))
|
|
14435
14436
|
])) : (y(), x("div", D_, " Your cart is empty! ")),
|
|
14436
14437
|
E(n).length > 0 ? (y(), x("div", $_, [
|
|
14437
14438
|
u[2] || (u[2] = N("label", null, " Total ", -1)),
|
|
14438
14439
|
N("span", null, K(E(yn)(E(r).amount, E(r).currency)), 1),
|
|
14439
14440
|
u[3] || (u[3] = N("p", null, " Sales tax to be calculated at checkout ", -1))
|
|
14440
|
-
])) :
|
|
14441
|
-
E(n).length > 0 ? (y(),
|
|
14441
|
+
])) : ce("", !0),
|
|
14442
|
+
E(n).length > 0 ? (y(), Oe(xf, {
|
|
14442
14443
|
key: 3,
|
|
14443
14444
|
handler: a,
|
|
14444
14445
|
label: "Checkout",
|
|
14445
14446
|
error: "Cancelled"
|
|
14446
|
-
})) :
|
|
14447
|
+
})) : ce("", !0)
|
|
14447
14448
|
])
|
|
14448
14449
|
]),
|
|
14449
14450
|
_: 1
|
|
@@ -14462,7 +14463,7 @@ const Gb = { class: "moonbase:product-cart-item" }, Jb = ["src"], Yb = {
|
|
|
14462
14463
|
__name: "Account",
|
|
14463
14464
|
setup(e) {
|
|
14464
14465
|
var B, T, te;
|
|
14465
|
-
const t = Ve(), { user: n, update: r, setPassword: o, signOut: s } =
|
|
14466
|
+
const t = Ve(), { user: n, update: r, setPassword: o, signOut: s } = St(), i = P(((B = n.value) == null ? void 0 : B.name) ?? ""), a = P(((T = n.value) == null ? void 0 : T.email) ?? ""), l = P(((te = n.value) == null ? void 0 : te.communicationPreferences) ?? {
|
|
14466
14467
|
newsletterOptIn: !1
|
|
14467
14468
|
}), u = P(null), c = P(!1), d = P(""), f = P(""), m = P(null), b = P(!1);
|
|
14468
14469
|
async function O() {
|
|
@@ -14516,7 +14517,7 @@ const Gb = { class: "moonbase:product-cart-item" }, Jb = ["src"], Yb = {
|
|
|
14516
14517
|
error: "Error",
|
|
14517
14518
|
success: "Saved"
|
|
14518
14519
|
}),
|
|
14519
|
-
u.value ? (y(), x("p", V_, K(u.value.message), 1)) : c.value ? (y(), x("p", R_, " You need to confirm your new email address, please check your inbox ")) :
|
|
14520
|
+
u.value ? (y(), x("p", V_, K(u.value.message), 1)) : c.value ? (y(), x("p", R_, " You need to confirm your new email address, please check your inbox ")) : ce("", !0)
|
|
14520
14521
|
]),
|
|
14521
14522
|
_: 1
|
|
14522
14523
|
}),
|
|
@@ -14545,11 +14546,11 @@ const Gb = { class: "moonbase:product-cart-item" }, Jb = ["src"], Yb = {
|
|
|
14545
14546
|
error: "Error",
|
|
14546
14547
|
success: "Saved"
|
|
14547
14548
|
}),
|
|
14548
|
-
m.value ? (y(), x("p", j_, K(m.value.message), 1)) :
|
|
14549
|
+
m.value ? (y(), x("p", j_, K(m.value.message), 1)) : ce("", !0)
|
|
14549
14550
|
]),
|
|
14550
14551
|
_: 1
|
|
14551
14552
|
}),
|
|
14552
|
-
Z(
|
|
14553
|
+
Z(xf, {
|
|
14553
14554
|
label: "Log out",
|
|
14554
14555
|
success: "Logged out",
|
|
14555
14556
|
error: "Error",
|
|
@@ -14574,7 +14575,7 @@ function F_(e, t) {
|
|
|
14574
14575
|
}, null, -1)
|
|
14575
14576
|
]));
|
|
14576
14577
|
}
|
|
14577
|
-
const
|
|
14578
|
+
const Sf = /* @__PURE__ */ zr(M_, [["render", F_]]), B_ = {}, H_ = {
|
|
14578
14579
|
xmlns: "http://www.w3.org/2000/svg",
|
|
14579
14580
|
viewBox: "0 0 512 512"
|
|
14580
14581
|
};
|
|
@@ -14621,7 +14622,7 @@ const Cf = /* @__PURE__ */ zr(K_, [["render", J_]]), Y_ = { class: "moonbase:pro
|
|
|
14621
14622
|
},
|
|
14622
14623
|
setup(e) {
|
|
14623
14624
|
const t = e, n = {
|
|
14624
|
-
[Xt.Universal]: () =>
|
|
14625
|
+
[Xt.Universal]: () => Sf,
|
|
14625
14626
|
[Xt.Windows]: () => kf,
|
|
14626
14627
|
[Xt.Linux]: () => Tf,
|
|
14627
14628
|
[Xt.Mac]: () => Cf
|
|
@@ -14638,7 +14639,7 @@ const Cf = /* @__PURE__ */ zr(K_, [["render", J_]]), Y_ = { class: "moonbase:pro
|
|
|
14638
14639
|
)
|
|
14639
14640
|
);
|
|
14640
14641
|
return (s, i) => (y(), x("span", Y_, [
|
|
14641
|
-
(y(!0), x(
|
|
14642
|
+
(y(!0), x(xe, null, rn(o.value, (a, l, u) => (y(), x(xe, { key: l }, [
|
|
14642
14643
|
a.length === 1 ? (y(), x("button", {
|
|
14643
14644
|
key: 0,
|
|
14644
14645
|
type: "button",
|
|
@@ -14647,11 +14648,11 @@ const Cf = /* @__PURE__ */ zr(K_, [["render", J_]]), Y_ = { class: "moonbase:pro
|
|
|
14647
14648
|
onClick: (c) => E(r)(a[0])
|
|
14648
14649
|
}, [
|
|
14649
14650
|
N("span", Q_, K(l.toString()), 1),
|
|
14650
|
-
(y(),
|
|
14651
|
+
(y(), Oe(ra(a[0].icon()), {
|
|
14651
14652
|
class: "h-5 w-5 text-white",
|
|
14652
14653
|
"aria-hidden": "true"
|
|
14653
14654
|
}))
|
|
14654
|
-
], 8, X_)) : (y(),
|
|
14655
|
+
], 8, X_)) : (y(), Oe(E(cl), {
|
|
14655
14656
|
key: 1,
|
|
14656
14657
|
as: "div",
|
|
14657
14658
|
"data-last": u === Object.keys(o.value).length - 1 || void 0,
|
|
@@ -14661,7 +14662,7 @@ const Cf = /* @__PURE__ */ zr(K_, [["render", J_]]), Y_ = { class: "moonbase:pro
|
|
|
14661
14662
|
Z(E(_f), null, {
|
|
14662
14663
|
default: be(() => [
|
|
14663
14664
|
N("span", e1, K(l.toString()), 1),
|
|
14664
|
-
(y(),
|
|
14665
|
+
(y(), Oe(ra(a[0].icon()), { "aria-hidden": "true" })),
|
|
14665
14666
|
i[0] || (i[0] = N("svg", {
|
|
14666
14667
|
fill: "none",
|
|
14667
14668
|
viewBox: "0 0 24 24",
|
|
@@ -14682,7 +14683,7 @@ const Cf = /* @__PURE__ */ zr(K_, [["render", J_]]), Y_ = { class: "moonbase:pro
|
|
|
14682
14683
|
default: be(() => [
|
|
14683
14684
|
Z(E(wf), { class: "moonbase:product-downloads-list" }, {
|
|
14684
14685
|
default: be(() => [
|
|
14685
|
-
(y(!0), x(
|
|
14686
|
+
(y(!0), x(xe, null, rn(a, (c) => (y(), x("button", {
|
|
14686
14687
|
key: c.key,
|
|
14687
14688
|
type: "button",
|
|
14688
14689
|
role: "button",
|
|
@@ -14728,20 +14729,20 @@ const Cf = /* @__PURE__ */ zr(K_, [["render", J_]]), Y_ = { class: "moonbase:pro
|
|
|
14728
14729
|
c[3] || (c[3] = N("th", { scope: "col" }, " Last Online ", -1)),
|
|
14729
14730
|
a.value ? (y(), x("th", o1, c[0] || (c[0] = [
|
|
14730
14731
|
N("span", { class: "sr-only" }, "Actions", -1)
|
|
14731
|
-
]))) :
|
|
14732
|
+
]))) : ce("", !0)
|
|
14732
14733
|
])
|
|
14733
14734
|
]),
|
|
14734
14735
|
N("tbody", null, [
|
|
14735
14736
|
i.value ? i.value.length === 0 ? (y(), x("tr", a1, c[6] || (c[6] = [
|
|
14736
14737
|
N("td", { colspan: "3" }, " No activations found ", -1)
|
|
14737
|
-
]))) :
|
|
14738
|
+
]))) : ce("", !0) : (y(), x("tr", s1, [
|
|
14738
14739
|
N("td", i1, [
|
|
14739
14740
|
Z(jt),
|
|
14740
14741
|
c[4] || (c[4] = ke(" Loading activations.. "))
|
|
14741
14742
|
]),
|
|
14742
14743
|
c[5] || (c[5] = N("td", null, null, -1))
|
|
14743
14744
|
])),
|
|
14744
|
-
(y(!0), x(
|
|
14745
|
+
(y(!0), x(xe, null, rn(i.value, (d) => {
|
|
14745
14746
|
var f;
|
|
14746
14747
|
return y(), x("tr", {
|
|
14747
14748
|
key: d.id
|
|
@@ -14754,10 +14755,10 @@ const Cf = /* @__PURE__ */ zr(K_, [["render", J_]]), Y_ = { class: "moonbase:pro
|
|
|
14754
14755
|
class: "text-red-400 flex whitespace-nowrap items-center",
|
|
14755
14756
|
onClick: (m) => l(d)
|
|
14756
14757
|
}, [
|
|
14757
|
-
d.revoking ? (y(),
|
|
14758
|
+
d.revoking ? (y(), Oe(jt, { key: 0 })) : ce("", !0),
|
|
14758
14759
|
c[7] || (c[7] = ke(" Revoke "))
|
|
14759
14760
|
], 8, u1)
|
|
14760
|
-
])) :
|
|
14761
|
+
])) : ce("", !0)
|
|
14761
14762
|
]);
|
|
14762
14763
|
}), 128))
|
|
14763
14764
|
])
|
|
@@ -14766,59 +14767,65 @@ const Cf = /* @__PURE__ */ zr(K_, [["render", J_]]), Y_ = { class: "moonbase:pro
|
|
|
14766
14767
|
}), d1 = { class: "moonbase:products" }, f1 = {
|
|
14767
14768
|
key: 0,
|
|
14768
14769
|
scope: "col"
|
|
14769
|
-
}, p1 = {
|
|
14770
|
+
}, p1 = {
|
|
14771
|
+
key: 1,
|
|
14772
|
+
scope: "col"
|
|
14773
|
+
}, h1 = { key: 0 }, m1 = { key: 1 }, v1 = ["src"], g1 = {
|
|
14770
14774
|
key: 1,
|
|
14771
14775
|
class: "moonbase:image-placeholder"
|
|
14772
|
-
},
|
|
14776
|
+
}, y1 = { key: 1 }, b1 = { key: 2 }, _1 = { key: 0 }, w1 = /* @__PURE__ */ fe({
|
|
14773
14777
|
__name: "Products",
|
|
14774
14778
|
setup(e) {
|
|
14775
14779
|
const { getProducts: t } = di(), n = P(null);
|
|
14776
14780
|
Me(async () => {
|
|
14777
|
-
let
|
|
14778
|
-
for (n.value =
|
|
14779
|
-
|
|
14781
|
+
let s = await t();
|
|
14782
|
+
for (n.value = s.items; s.hasMore && s.next; )
|
|
14783
|
+
s = await t(s.next), n.value.push(...s.items);
|
|
14780
14784
|
});
|
|
14781
|
-
const r = Q(() => n.value && n.value.some((
|
|
14782
|
-
return (
|
|
14785
|
+
const r = Q(() => n.value && n.value.some((s) => s.downloads)), o = Q(() => n.value && n.value.some((s) => s.maxActivations && s.maxActivations > 0));
|
|
14786
|
+
return (s, i) => (y(), x("table", d1, [
|
|
14783
14787
|
N("thead", null, [
|
|
14784
14788
|
N("tr", null, [
|
|
14785
|
-
|
|
14786
|
-
|
|
14787
|
-
r.value ? (y(), x("th",
|
|
14789
|
+
i[0] || (i[0] = N("th", { scope: "col" }, " Product ", -1)),
|
|
14790
|
+
o.value ? (y(), x("th", f1, " Activations ")) : ce("", !0),
|
|
14791
|
+
r.value ? (y(), x("th", p1, " Downloads ")) : ce("", !0)
|
|
14788
14792
|
])
|
|
14789
14793
|
]),
|
|
14790
14794
|
N("tbody", null, [
|
|
14791
|
-
n.value ? n.value.length === 0 ? (y(), x("tr",
|
|
14795
|
+
n.value ? n.value.length === 0 ? (y(), x("tr", m1, i[3] || (i[3] = [
|
|
14792
14796
|
N("td", { colspan: "3" }, " No products found ", -1)
|
|
14793
|
-
]))) :
|
|
14797
|
+
]))) : ce("", !0) : (y(), x("tr", h1, [
|
|
14794
14798
|
N("td", null, [
|
|
14795
14799
|
Z(jt),
|
|
14796
|
-
|
|
14800
|
+
i[1] || (i[1] = ke(" Loading products.. "))
|
|
14797
14801
|
]),
|
|
14798
|
-
|
|
14802
|
+
i[2] || (i[2] = N("td", null, null, -1))
|
|
14799
14803
|
])),
|
|
14800
|
-
(y(!0), x(
|
|
14801
|
-
key:
|
|
14804
|
+
(y(!0), x(xe, null, rn(n.value || [], (a) => (y(), x("tr", {
|
|
14805
|
+
key: a.id
|
|
14802
14806
|
}, [
|
|
14803
14807
|
N("td", null, [
|
|
14804
14808
|
N("div", null, [
|
|
14805
|
-
|
|
14809
|
+
a.iconUrl ? (y(), x("img", {
|
|
14806
14810
|
key: 0,
|
|
14807
|
-
src:
|
|
14811
|
+
src: a.iconUrl,
|
|
14808
14812
|
alt: ""
|
|
14809
|
-
}, null, 8,
|
|
14810
|
-
N("span", null, K(
|
|
14813
|
+
}, null, 8, v1)) : (y(), x("div", g1)),
|
|
14814
|
+
N("span", null, K(a.name), 1)
|
|
14811
14815
|
])
|
|
14812
14816
|
]),
|
|
14813
|
-
|
|
14817
|
+
a.maxActivations && a.maxActivations > 0 ? (y(), Oe(E(cl), {
|
|
14818
|
+
key: 0,
|
|
14819
|
+
as: "td"
|
|
14820
|
+
}, {
|
|
14814
14821
|
default: be(() => [
|
|
14815
14822
|
Z(E(_f), {
|
|
14816
14823
|
class: "moonbase:button",
|
|
14817
14824
|
"data-variant": "secondary"
|
|
14818
14825
|
}, {
|
|
14819
14826
|
default: be(() => [
|
|
14820
|
-
|
|
14821
|
-
ke(" " + K(
|
|
14827
|
+
i[4] || (i[4] = N("span", { class: "moonbase:sr-only" }, "View activations", -1)),
|
|
14828
|
+
ke(" " + K(a.currentActivations) + " / " + K(a.maxActivations), 1)
|
|
14822
14829
|
]),
|
|
14823
14830
|
_: 2
|
|
14824
14831
|
}, 1024),
|
|
@@ -14827,7 +14834,7 @@ const Cf = /* @__PURE__ */ zr(K_, [["render", J_]]), Y_ = { class: "moonbase:pro
|
|
|
14827
14834
|
Z(E(wf), null, {
|
|
14828
14835
|
default: be(() => [
|
|
14829
14836
|
Z(c1, {
|
|
14830
|
-
"product-id":
|
|
14837
|
+
"product-id": a.id
|
|
14831
14838
|
}, null, 8, ["product-id"])
|
|
14832
14839
|
]),
|
|
14833
14840
|
_: 2
|
|
@@ -14837,32 +14844,32 @@ const Cf = /* @__PURE__ */ zr(K_, [["render", J_]]), Y_ = { class: "moonbase:pro
|
|
|
14837
14844
|
}, 1024)
|
|
14838
14845
|
]),
|
|
14839
14846
|
_: 2
|
|
14840
|
-
}, 1024),
|
|
14841
|
-
r.value ? (y(), x("td",
|
|
14842
|
-
|
|
14843
|
-
|
|
14847
|
+
}, 1024)) : o.value ? (y(), x("td", y1)) : ce("", !0),
|
|
14848
|
+
r.value ? (y(), x("td", b1, [
|
|
14849
|
+
a.currentVersion != null ? (y(), x("div", _1, [
|
|
14850
|
+
a.downloads ? (y(), Oe(n1, {
|
|
14844
14851
|
key: 0,
|
|
14845
|
-
downloads:
|
|
14846
|
-
}, null, 8, ["downloads"])) :
|
|
14847
|
-
])) :
|
|
14848
|
-
])) :
|
|
14852
|
+
downloads: a.downloads
|
|
14853
|
+
}, null, 8, ["downloads"])) : ce("", !0)
|
|
14854
|
+
])) : ce("", !0)
|
|
14855
|
+
])) : ce("", !0)
|
|
14849
14856
|
]))), 128))
|
|
14850
14857
|
])
|
|
14851
14858
|
]));
|
|
14852
14859
|
}
|
|
14853
|
-
}),
|
|
14860
|
+
}), E1 = { class: "moonbase:redeem" }, O1 = ["data-visible"], N1 = {
|
|
14854
14861
|
key: 1,
|
|
14855
14862
|
class: "moonbase:redeem-voucher"
|
|
14856
|
-
},
|
|
14863
|
+
}, x1 = { key: 0 }, S1 = { key: 1 }, k1 = { class: "moonbase:redeem-voucher-products" }, T1 = ["src"], C1 = {
|
|
14857
14864
|
key: 1,
|
|
14858
14865
|
class: "moonbase:image-placeholder"
|
|
14859
|
-
},
|
|
14866
|
+
}, P1 = { key: 0 }, D1 = { class: "moonbase:redeem-voucher-bundle" }, $1 = ["src"], I1 = {
|
|
14860
14867
|
key: 1,
|
|
14861
14868
|
class: "moonbase:image-placeholder"
|
|
14862
|
-
},
|
|
14869
|
+
}, A1 = { key: 0 }, V1 = { class: "moonbase:redeem-voucher-bundle-products" }, R1 = { class: "shrink-0" }, j1 = ["src"], L1 = {
|
|
14863
14870
|
key: 1,
|
|
14864
14871
|
class: "moonbase:image-placeholder"
|
|
14865
|
-
},
|
|
14872
|
+
}, M1 = /* @__PURE__ */ fe({
|
|
14866
14873
|
__name: "Redeem",
|
|
14867
14874
|
setup(e) {
|
|
14868
14875
|
const { redeem: t } = Bg(), n = P(!1), r = P(null), o = P(null), s = P("");
|
|
@@ -14875,26 +14882,26 @@ const Cf = /* @__PURE__ */ zr(K_, [["render", J_]]), Y_ = { class: "moonbase:pro
|
|
|
14875
14882
|
}
|
|
14876
14883
|
n.value = !1;
|
|
14877
14884
|
}
|
|
14878
|
-
return (a, l) => (y(), x("div",
|
|
14885
|
+
return (a, l) => (y(), x("div", E1, [
|
|
14879
14886
|
Z(nl, {
|
|
14880
14887
|
mode: "out-in",
|
|
14881
14888
|
name: "moonbase:slide-left"
|
|
14882
14889
|
}, {
|
|
14883
14890
|
default: be(() => [
|
|
14884
|
-
r.value ? (y(), x("div",
|
|
14891
|
+
r.value ? (y(), x("div", N1, [
|
|
14885
14892
|
N("h3", null, [
|
|
14886
14893
|
l[1] || (l[1] = ke(" You got: ")),
|
|
14887
14894
|
N("strong", null, K(r.value.name), 1)
|
|
14888
14895
|
]),
|
|
14889
|
-
r.value.description ? (y(), x("h4",
|
|
14896
|
+
r.value.description ? (y(), x("h4", x1, K(r.value.description), 1)) : ce("", !0),
|
|
14890
14897
|
N("h4", null, [
|
|
14891
14898
|
l[2] || (l[2] = ke(" Code: ")),
|
|
14892
14899
|
N("strong", null, K(r.value.code), 1)
|
|
14893
14900
|
]),
|
|
14894
|
-
r.value.redeemsProducts.length > 0 ? (y(), x("div",
|
|
14901
|
+
r.value.redeemsProducts.length > 0 ? (y(), x("div", S1, [
|
|
14895
14902
|
l[3] || (l[3] = N("span", null, " Contains: ", -1)),
|
|
14896
|
-
N("div",
|
|
14897
|
-
(y(!0), x(
|
|
14903
|
+
N("div", k1, [
|
|
14904
|
+
(y(!0), x(xe, null, rn(r.value.redeemsProducts, ({ value: u, quantity: c }) => (y(), x("div", {
|
|
14898
14905
|
key: u.id,
|
|
14899
14906
|
class: "moonbase:redeem-voucher-product"
|
|
14900
14907
|
}, [
|
|
@@ -14903,46 +14910,46 @@ const Cf = /* @__PURE__ */ zr(K_, [["render", J_]]), Y_ = { class: "moonbase:pro
|
|
|
14903
14910
|
key: 0,
|
|
14904
14911
|
src: u.iconUrl,
|
|
14905
14912
|
alt: ""
|
|
14906
|
-
}, null, 8,
|
|
14913
|
+
}, null, 8, T1)) : (y(), x("div", C1))
|
|
14907
14914
|
]),
|
|
14908
14915
|
N("div", null, [
|
|
14909
14916
|
N("p", null, [
|
|
14910
14917
|
ke(K(u.name) + " ", 1),
|
|
14911
|
-
c !== 1 ? (y(), x("span",
|
|
14918
|
+
c !== 1 ? (y(), x("span", P1, "x " + K(c), 1)) : ce("", !0)
|
|
14912
14919
|
]),
|
|
14913
14920
|
N("p", null, K(u.tagline), 1)
|
|
14914
14921
|
])
|
|
14915
14922
|
]))), 128)),
|
|
14916
|
-
(y(!0), x(
|
|
14923
|
+
(y(!0), x(xe, null, rn(r.value.redeemsBundles, ({ value: u, quantity: c }) => (y(), x("div", {
|
|
14917
14924
|
key: u.id
|
|
14918
14925
|
}, [
|
|
14919
|
-
N("div",
|
|
14926
|
+
N("div", D1, [
|
|
14920
14927
|
N("div", null, [
|
|
14921
14928
|
u.iconUrl ? (y(), x("img", {
|
|
14922
14929
|
key: 0,
|
|
14923
14930
|
src: u.iconUrl,
|
|
14924
14931
|
alt: ""
|
|
14925
|
-
}, null, 8,
|
|
14932
|
+
}, null, 8, $1)) : (y(), x("div", I1))
|
|
14926
14933
|
]),
|
|
14927
14934
|
N("div", null, [
|
|
14928
14935
|
N("p", null, [
|
|
14929
14936
|
ke(K(u.name) + " ", 1),
|
|
14930
|
-
c !== 1 ? (y(), x("span",
|
|
14937
|
+
c !== 1 ? (y(), x("span", A1, "x " + K(c), 1)) : ce("", !0)
|
|
14931
14938
|
]),
|
|
14932
14939
|
N("p", null, K(u.tagline), 1)
|
|
14933
14940
|
])
|
|
14934
14941
|
]),
|
|
14935
|
-
N("div",
|
|
14936
|
-
(y(!0), x(
|
|
14942
|
+
N("div", V1, [
|
|
14943
|
+
(y(!0), x(xe, null, rn(u.products, (d) => (y(), x("div", {
|
|
14937
14944
|
key: d.id,
|
|
14938
14945
|
class: "moonbase:redeem-voucher-product"
|
|
14939
14946
|
}, [
|
|
14940
|
-
N("div",
|
|
14947
|
+
N("div", R1, [
|
|
14941
14948
|
d.iconUrl ? (y(), x("img", {
|
|
14942
14949
|
key: 0,
|
|
14943
14950
|
src: d.iconUrl,
|
|
14944
14951
|
alt: ""
|
|
14945
|
-
}, null, 8,
|
|
14952
|
+
}, null, 8, j1)) : (y(), x("div", L1))
|
|
14946
14953
|
]),
|
|
14947
14954
|
N("div", null, [
|
|
14948
14955
|
N("p", null, K(d.name), 1),
|
|
@@ -14952,8 +14959,8 @@ const Cf = /* @__PURE__ */ zr(K_, [["render", J_]]), Y_ = { class: "moonbase:pro
|
|
|
14952
14959
|
])
|
|
14953
14960
|
]))), 128))
|
|
14954
14961
|
])
|
|
14955
|
-
])) :
|
|
14956
|
-
])) : (y(),
|
|
14962
|
+
])) : ce("", !0)
|
|
14963
|
+
])) : (y(), Oe(Kn, {
|
|
14957
14964
|
key: 0,
|
|
14958
14965
|
handler: i
|
|
14959
14966
|
}, {
|
|
@@ -14975,7 +14982,7 @@ const Cf = /* @__PURE__ */ zr(K_, [["render", J_]]), Y_ = { class: "moonbase:pro
|
|
|
14975
14982
|
N("span", {
|
|
14976
14983
|
class: "moonbase:error",
|
|
14977
14984
|
"data-visible": !!o.value || void 0
|
|
14978
|
-
}, K((u = o.value) == null ? void 0 : u.message), 9,
|
|
14985
|
+
}, K((u = o.value) == null ? void 0 : u.message), 9, O1)
|
|
14979
14986
|
];
|
|
14980
14987
|
}),
|
|
14981
14988
|
_: 1
|
|
@@ -14985,7 +14992,7 @@ const Cf = /* @__PURE__ */ zr(K_, [["render", J_]]), Y_ = { class: "moonbase:pro
|
|
|
14985
14992
|
})
|
|
14986
14993
|
]));
|
|
14987
14994
|
}
|
|
14988
|
-
}),
|
|
14995
|
+
}), U1 = { class: "moonbase:customer" }, F1 = /* @__PURE__ */ fe({
|
|
14989
14996
|
__name: "Customer",
|
|
14990
14997
|
props: {
|
|
14991
14998
|
open: { type: Boolean }
|
|
@@ -15010,12 +15017,12 @@ const Cf = /* @__PURE__ */ zr(K_, [["render", J_]]), Y_ = { class: "moonbase:pro
|
|
|
15010
15017
|
function o(s) {
|
|
15011
15018
|
r.value = s;
|
|
15012
15019
|
}
|
|
15013
|
-
return (s, i) => (y(),
|
|
15020
|
+
return (s, i) => (y(), Oe(yi, {
|
|
15014
15021
|
open: s.open,
|
|
15015
15022
|
onClose: i[0] || (i[0] = (a) => E(t).reset())
|
|
15016
15023
|
}, {
|
|
15017
15024
|
default: be(() => [
|
|
15018
|
-
N("div",
|
|
15025
|
+
N("div", U1, [
|
|
15019
15026
|
Z(E(Ab), {
|
|
15020
15027
|
"selected-index": r.value,
|
|
15021
15028
|
onChange: o
|
|
@@ -15054,13 +15061,13 @@ const Cf = /* @__PURE__ */ zr(K_, [["render", J_]]), Y_ = { class: "moonbase:pro
|
|
|
15054
15061
|
}),
|
|
15055
15062
|
Z(E(Ui), null, {
|
|
15056
15063
|
default: be(() => [
|
|
15057
|
-
Z(
|
|
15064
|
+
Z(w1)
|
|
15058
15065
|
]),
|
|
15059
15066
|
_: 1
|
|
15060
15067
|
}),
|
|
15061
15068
|
Z(E(Ui), null, {
|
|
15062
15069
|
default: be(() => [
|
|
15063
|
-
Z(
|
|
15070
|
+
Z(M1)
|
|
15064
15071
|
]),
|
|
15065
15072
|
_: 1
|
|
15066
15073
|
})
|
|
@@ -15075,40 +15082,40 @@ const Cf = /* @__PURE__ */ zr(K_, [["render", J_]]), Y_ = { class: "moonbase:pro
|
|
|
15075
15082
|
_: 1
|
|
15076
15083
|
}, 8, ["open"]));
|
|
15077
15084
|
}
|
|
15078
|
-
}),
|
|
15085
|
+
}), B1 = { class: "moonbase:auto-activate" }, H1 = {
|
|
15079
15086
|
key: 0,
|
|
15080
15087
|
class: "moonbase:loader"
|
|
15081
|
-
},
|
|
15088
|
+
}, Z1 = {
|
|
15082
15089
|
key: 1,
|
|
15083
15090
|
class: "moonbase:loader"
|
|
15084
|
-
},
|
|
15091
|
+
}, q1 = {
|
|
15085
15092
|
key: 2,
|
|
15086
15093
|
class: "moonbase:loader"
|
|
15087
|
-
},
|
|
15094
|
+
}, W1 = { key: 3 }, z1 = {
|
|
15088
15095
|
key: 0,
|
|
15089
15096
|
class: "moonbase:auto-activate-product"
|
|
15090
|
-
},
|
|
15097
|
+
}, K1 = ["src"], G1 = {
|
|
15091
15098
|
key: 1,
|
|
15092
15099
|
class: "moonbase:image-placeholder"
|
|
15093
|
-
},
|
|
15100
|
+
}, J1 = {
|
|
15094
15101
|
key: 1,
|
|
15095
15102
|
class: "moonbase:loader"
|
|
15096
|
-
},
|
|
15103
|
+
}, Y1 = {
|
|
15097
15104
|
key: 2,
|
|
15098
15105
|
class: "moonbase:loader"
|
|
15099
|
-
},
|
|
15106
|
+
}, X1 = {
|
|
15100
15107
|
key: 3,
|
|
15101
15108
|
class: "moonbase:loader"
|
|
15102
|
-
},
|
|
15109
|
+
}, Q1 = {
|
|
15103
15110
|
key: 4,
|
|
15104
15111
|
class: "moonbase:auto-activate-content"
|
|
15105
|
-
},
|
|
15112
|
+
}, ew = { key: 0 }, tw = { key: 1 }, nw = { class: "moonbase:auto-activate-cta" }, rw = ["href"], ow = {
|
|
15106
15113
|
key: 2,
|
|
15107
15114
|
class: "moonbase:auto-activate-trial"
|
|
15108
|
-
},
|
|
15115
|
+
}, sw = { class: "moonbase:auto-activate-cta" }, iw = /* @__PURE__ */ fe({
|
|
15109
15116
|
__name: "AutoActivate",
|
|
15110
15117
|
setup(e) {
|
|
15111
|
-
const t = Ve(), { user: n, loaded: r } =
|
|
15118
|
+
const t = Ve(), { user: n, loaded: r } = St(), o = t.getParameter("token"), {
|
|
15112
15119
|
activationRequest: s,
|
|
15113
15120
|
loading: i,
|
|
15114
15121
|
fulfilling: a,
|
|
@@ -15123,41 +15130,41 @@ const Cf = /* @__PURE__ */ zr(K_, [["render", J_]]), Y_ = { class: "moonbase:pro
|
|
|
15123
15130
|
!a.value && !l.value && (O == null ? void 0 : O.status) === Jt.Requested && ((_ = O == null ? void 0 : O.licenseEligibility) != null && _.eligible) && c();
|
|
15124
15131
|
});
|
|
15125
15132
|
function m() {
|
|
15126
|
-
f(), t.show(
|
|
15133
|
+
f(), t.show(Ne.Customer, ue.ViewProducts);
|
|
15127
15134
|
}
|
|
15128
15135
|
function b() {
|
|
15129
|
-
t.enqueue(
|
|
15136
|
+
t.enqueue(Ne.Activation, ue.ActivateProduct, t.parameters ?? void 0), t.show(Ne.Authentication, ue.SignIn);
|
|
15130
15137
|
}
|
|
15131
15138
|
return (O, _) => {
|
|
15132
15139
|
var $, B, T, te;
|
|
15133
|
-
return y(), x("div",
|
|
15134
|
-
E(i) || !E(r) ? (y(), x("div",
|
|
15140
|
+
return y(), x("div", B1, [
|
|
15141
|
+
E(i) || !E(r) ? (y(), x("div", H1, [
|
|
15135
15142
|
Z(jt)
|
|
15136
|
-
])) : E(u) ? (y(), x("div",
|
|
15137
|
-
E(s).product ? (y(), x("div",
|
|
15143
|
+
])) : E(u) ? (y(), x("div", Z1, K(E(u)), 1)) : E(s) ? (y(), x("div", W1, [
|
|
15144
|
+
E(s).product ? (y(), x("div", z1, [
|
|
15138
15145
|
E(s).product.iconUrl ? (y(), x("img", {
|
|
15139
15146
|
key: 0,
|
|
15140
15147
|
src: E(s).product.iconUrl,
|
|
15141
15148
|
alt: ""
|
|
15142
|
-
}, null, 8,
|
|
15149
|
+
}, null, 8, K1)) : (y(), x("div", G1)),
|
|
15143
15150
|
N("div", null, [
|
|
15144
15151
|
N("h2", null, K(E(s).product.name), 1),
|
|
15145
15152
|
N("h3", null, K(E(s).product.tagline), 1)
|
|
15146
15153
|
])
|
|
15147
|
-
])) :
|
|
15148
|
-
(($ = E(s)) == null ? void 0 : $.status) === E(Jt).Cancelled ? (y(), x("div",
|
|
15154
|
+
])) : ce("", !0),
|
|
15155
|
+
(($ = E(s)) == null ? void 0 : $.status) === E(Jt).Cancelled ? (y(), x("div", J1, _[2] || (_[2] = [
|
|
15149
15156
|
N("h3", null, " Uh oh ", -1),
|
|
15150
15157
|
N("p", null, " This activation request was cancelled, open your app to try again. ", -1)
|
|
15151
|
-
]))) : E(a) || E(l) ? (y(), x("div",
|
|
15158
|
+
]))) : E(a) || E(l) ? (y(), x("div", Y1, [
|
|
15152
15159
|
Z(jt),
|
|
15153
15160
|
N("p", null, "Activating " + K(E(s).product.name) + "...", 1)
|
|
15154
|
-
])) : ((B = E(s)) == null ? void 0 : B.status) === E(Jt).Completed ? (y(), x("div",
|
|
15161
|
+
])) : ((B = E(s)) == null ? void 0 : B.status) === E(Jt).Completed ? (y(), x("div", X1, _[3] || (_[3] = [
|
|
15155
15162
|
N("h3", null, " Done! ", -1),
|
|
15156
15163
|
N("p", null, " Your product is activated. ", -1)
|
|
15157
|
-
]))) : (y(), x("div",
|
|
15158
|
-
E(n) ? (T = E(n).ownedProducts) != null && T.includes(E(s).product.id) ? (y(), x("div",
|
|
15164
|
+
]))) : (y(), x("div", Q1, [
|
|
15165
|
+
E(n) ? (T = E(n).ownedProducts) != null && T.includes(E(s).product.id) ? (y(), x("div", tw, [
|
|
15159
15166
|
_[5] || (_[5] = N("p", null, " You don't have enough free seats on your licenses to activate this device. Either free up a seat or purchase additional licenses. ", -1)),
|
|
15160
|
-
N("span",
|
|
15167
|
+
N("span", nw, [
|
|
15161
15168
|
N("button", {
|
|
15162
15169
|
role: "button",
|
|
15163
15170
|
class: "moonbase:button",
|
|
@@ -15167,9 +15174,9 @@ const Cf = /* @__PURE__ */ zr(K_, [["render", J_]]), Y_ = { class: "moonbase:pro
|
|
|
15167
15174
|
key: 0,
|
|
15168
15175
|
href: E(s).product.website,
|
|
15169
15176
|
class: "moonbase:button"
|
|
15170
|
-
}, " Purchase ", 8,
|
|
15177
|
+
}, " Purchase ", 8, rw)) : ce("", !0)
|
|
15171
15178
|
])
|
|
15172
|
-
])) :
|
|
15179
|
+
])) : ce("", !0) : (y(), x("div", ew, [
|
|
15173
15180
|
_[4] || (_[4] = ke(" Please sign in to use a license ")),
|
|
15174
15181
|
N("span", { class: "moonbase:auto-activate-cta" }, [
|
|
15175
15182
|
N("button", {
|
|
@@ -15179,52 +15186,52 @@ const Cf = /* @__PURE__ */ zr(K_, [["render", J_]]), Y_ = { class: "moonbase:pro
|
|
|
15179
15186
|
}, " Sign in ")
|
|
15180
15187
|
])
|
|
15181
15188
|
])),
|
|
15182
|
-
(te = E(s).trialEligibility) != null && te.eligible ? (y(), x("div",
|
|
15189
|
+
(te = E(s).trialEligibility) != null && te.eligible ? (y(), x("div", ow, [
|
|
15183
15190
|
ke(" You are eligible for a " + K(E(s).trialEligibility.numberOfDaysPerProduct) + " day trial ", 1),
|
|
15184
|
-
E(s).trialEligibility.existing ? (y(), x(
|
|
15191
|
+
E(s).trialEligibility.existing ? (y(), x(xe, { key: 0 }, [
|
|
15185
15192
|
ke(" of which you have " + K(E(s).trialEligibility.numberOfDaysRemaining) + " days remaining ", 1)
|
|
15186
|
-
], 64)) :
|
|
15193
|
+
], 64)) : ce("", !0),
|
|
15187
15194
|
_[6] || (_[6] = ke(". ")),
|
|
15188
|
-
N("span",
|
|
15195
|
+
N("span", sw, [
|
|
15189
15196
|
N("button", {
|
|
15190
15197
|
role: "button",
|
|
15191
15198
|
class: "moonbase:button",
|
|
15192
15199
|
onClick: _[1] || (_[1] = (S) => E(d)())
|
|
15193
15200
|
}, " Start trial ")
|
|
15194
15201
|
])
|
|
15195
|
-
])) :
|
|
15202
|
+
])) : ce("", !0)
|
|
15196
15203
|
]))
|
|
15197
|
-
])) : (y(), x("div",
|
|
15204
|
+
])) : (y(), x("div", q1, " Could not find activation request "))
|
|
15198
15205
|
]);
|
|
15199
15206
|
};
|
|
15200
15207
|
}
|
|
15201
|
-
}),
|
|
15208
|
+
}), aw = { class: "moonbase:activation" }, lw = /* @__PURE__ */ fe({
|
|
15202
15209
|
__name: "Activation",
|
|
15203
15210
|
props: {
|
|
15204
15211
|
open: { type: Boolean }
|
|
15205
15212
|
},
|
|
15206
15213
|
setup(e) {
|
|
15207
15214
|
const t = Ve();
|
|
15208
|
-
return (n, r) => (y(),
|
|
15215
|
+
return (n, r) => (y(), Oe(yi, {
|
|
15209
15216
|
open: n.open,
|
|
15210
15217
|
onClose: r[0] || (r[0] = (o) => E(t).reset())
|
|
15211
15218
|
}, {
|
|
15212
15219
|
default: be(() => [
|
|
15213
|
-
N("div",
|
|
15220
|
+
N("div", aw, [
|
|
15214
15221
|
Z(E(vi), { as: "h3" }, {
|
|
15215
15222
|
default: be(() => r[1] || (r[1] = [
|
|
15216
15223
|
ke(" Activate product ")
|
|
15217
15224
|
])),
|
|
15218
15225
|
_: 1
|
|
15219
15226
|
}),
|
|
15220
|
-
n.open && E(t).intent === E(ue).ActivateProduct ? (y(),
|
|
15227
|
+
n.open && E(t).intent === E(ue).ActivateProduct ? (y(), Oe(iw, { key: 0 })) : ce("", !0)
|
|
15221
15228
|
])
|
|
15222
15229
|
]),
|
|
15223
15230
|
_: 1
|
|
15224
15231
|
}, 8, ["open"]));
|
|
15225
15232
|
}
|
|
15226
15233
|
});
|
|
15227
|
-
function
|
|
15234
|
+
function uw(e) {
|
|
15228
15235
|
const t = ["B", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"];
|
|
15229
15236
|
if (e < 1)
|
|
15230
15237
|
return `${e} B`;
|
|
@@ -15233,44 +15240,44 @@ function aw(e) {
|
|
|
15233
15240
|
const r = t[n];
|
|
15234
15241
|
return e >= 10 || e % 1 === 0 ? `${e.toFixed(0)} ${r}` : `${e.toFixed(1)} ${r}`;
|
|
15235
15242
|
}
|
|
15236
|
-
const
|
|
15243
|
+
const cw = { class: "moonbase:download-product" }, dw = {
|
|
15237
15244
|
key: 0,
|
|
15238
15245
|
class: "moonbase:loader"
|
|
15239
|
-
},
|
|
15246
|
+
}, fw = {
|
|
15240
15247
|
key: 1,
|
|
15241
15248
|
class: "moonbase:loader"
|
|
15242
|
-
},
|
|
15249
|
+
}, pw = {
|
|
15243
15250
|
key: 2,
|
|
15244
15251
|
class: "moonbase:loader"
|
|
15245
|
-
},
|
|
15252
|
+
}, hw = { key: 3 }, mw = { class: "moonbase:download-product-product" }, vw = ["src"], gw = {
|
|
15246
15253
|
key: 1,
|
|
15247
15254
|
class: "moonbase:image-placeholder"
|
|
15248
|
-
},
|
|
15255
|
+
}, yw = { key: 0 }, bw = {
|
|
15249
15256
|
key: 0,
|
|
15250
15257
|
class: "moonbase:download-product-content"
|
|
15251
|
-
},
|
|
15258
|
+
}, _w = {
|
|
15252
15259
|
key: 1,
|
|
15253
15260
|
class: "moonbase:download-product-content"
|
|
15254
|
-
},
|
|
15261
|
+
}, ww = {
|
|
15255
15262
|
key: 2,
|
|
15256
15263
|
class: "moonbase:download-product-content"
|
|
15257
|
-
},
|
|
15264
|
+
}, Ew = {
|
|
15258
15265
|
key: 0,
|
|
15259
15266
|
role: "list"
|
|
15260
|
-
},
|
|
15267
|
+
}, Ow = { class: "moonbase:download-product-download-name" }, Nw = ["onClick"], xw = { class: "moonbase:download-product-download-description" }, Sw = {
|
|
15261
15268
|
key: 1,
|
|
15262
15269
|
fill: "none",
|
|
15263
15270
|
viewBox: "0 0 24 24",
|
|
15264
15271
|
"stroke-width": "1.5",
|
|
15265
15272
|
stroke: "currentColor"
|
|
15266
|
-
},
|
|
15273
|
+
}, kw = {
|
|
15267
15274
|
key: 1,
|
|
15268
15275
|
class: "moonbase:loader"
|
|
15269
|
-
},
|
|
15276
|
+
}, Tw = /* @__PURE__ */ fe({
|
|
15270
15277
|
__name: "DownloadProduct",
|
|
15271
15278
|
setup(e) {
|
|
15272
|
-
const t = Ve(), { user: n, loaded: r } =
|
|
15273
|
-
[Xt.Universal]: () =>
|
|
15279
|
+
const t = Ve(), { user: n, loaded: r } = St(), { getProduct: o, downloadProduct: s } = di(), i = {
|
|
15280
|
+
[Xt.Universal]: () => Sf,
|
|
15274
15281
|
[Xt.Windows]: () => kf,
|
|
15275
15282
|
[Xt.Linux]: () => Tf,
|
|
15276
15283
|
[Xt.Mac]: () => Cf
|
|
@@ -15292,33 +15299,33 @@ const lw = { class: "moonbase:download-product" }, uw = {
|
|
|
15292
15299
|
c.value = !1;
|
|
15293
15300
|
});
|
|
15294
15301
|
function m() {
|
|
15295
|
-
t.enqueue(
|
|
15302
|
+
t.enqueue(Ne.Download, ue.DownloadProduct, t.parameters ?? void 0), t.show(Ne.Authentication, ue.SignIn);
|
|
15296
15303
|
}
|
|
15297
15304
|
async function b(O) {
|
|
15298
15305
|
l.value.push(O.key), await s(O), l.value = l.value.filter((_) => _ !== O.key);
|
|
15299
15306
|
}
|
|
15300
15307
|
return (O, _) => {
|
|
15301
15308
|
var $, B;
|
|
15302
|
-
return y(), x("div",
|
|
15303
|
-
c.value || !E(r) ? (y(), x("div",
|
|
15309
|
+
return y(), x("div", cw, [
|
|
15310
|
+
c.value || !E(r) ? (y(), x("div", dw, [
|
|
15304
15311
|
Z(jt)
|
|
15305
|
-
])) : u.value ? (y(), x("div",
|
|
15306
|
-
N("div",
|
|
15312
|
+
])) : u.value ? (y(), x("div", fw, K(u.value), 1)) : a.value ? (y(), x("div", hw, [
|
|
15313
|
+
N("div", mw, [
|
|
15307
15314
|
a.value.iconUrl ? (y(), x("img", {
|
|
15308
15315
|
key: 0,
|
|
15309
15316
|
src: a.value.iconUrl,
|
|
15310
15317
|
alt: ""
|
|
15311
|
-
}, null, 8,
|
|
15318
|
+
}, null, 8, vw)) : (y(), x("div", gw)),
|
|
15312
15319
|
N("div", null, [
|
|
15313
15320
|
N("h2", null, [
|
|
15314
15321
|
ke(K(a.value.name) + " ", 1),
|
|
15315
15322
|
N("span", null, "v" + K(a.value.version || a.value.currentVersion), 1),
|
|
15316
|
-
a.value.prerelease ? (y(), x("span",
|
|
15323
|
+
a.value.prerelease ? (y(), x("span", yw, " (pre-release)")) : ce("", !0)
|
|
15317
15324
|
]),
|
|
15318
15325
|
N("h3", null, K(a.value.tagline), 1)
|
|
15319
15326
|
])
|
|
15320
15327
|
]),
|
|
15321
|
-
a.value.downloadsNeedsUser && !E(n) ? (y(), x("div",
|
|
15328
|
+
a.value.downloadsNeedsUser && !E(n) ? (y(), x("div", bw, [
|
|
15322
15329
|
_[0] || (_[0] = ke(" Please sign in to download product ")),
|
|
15323
15330
|
N("span", { class: "moonbase:download-product-cta" }, [
|
|
15324
15331
|
N("button", {
|
|
@@ -15327,29 +15334,29 @@ const lw = { class: "moonbase:download-product" }, uw = {
|
|
|
15327
15334
|
onClick: m
|
|
15328
15335
|
}, " Sign in ")
|
|
15329
15336
|
])
|
|
15330
|
-
])) : a.value.downloadsNeedsOwnership && !(($ = E(n).ownedProducts) != null && $.includes(a.value.id)) ? (y(), x("div",
|
|
15331
|
-
(B = a.value) != null && B.downloads && a.value.downloads.length > 0 ? (y(), x("ul",
|
|
15332
|
-
(y(!0), x(
|
|
15337
|
+
])) : a.value.downloadsNeedsOwnership && !(($ = E(n).ownedProducts) != null && $.includes(a.value.id)) ? (y(), x("div", _w, " This product requires ownership to download ")) : (y(), x("div", ww, [
|
|
15338
|
+
(B = a.value) != null && B.downloads && a.value.downloads.length > 0 ? (y(), x("ul", Ew, [
|
|
15339
|
+
(y(!0), x(xe, null, rn(f.value, (T) => (y(), x("li", {
|
|
15333
15340
|
key: T.key
|
|
15334
15341
|
}, [
|
|
15335
15342
|
N("div", null, [
|
|
15336
|
-
N("p",
|
|
15343
|
+
N("p", Ow, [
|
|
15337
15344
|
N("button", {
|
|
15338
15345
|
onClick: (te) => b(T)
|
|
15339
15346
|
}, [
|
|
15340
15347
|
_[1] || (_[1] = N("span", { class: "moonbase:download-product-clicker" }, null, -1)),
|
|
15341
15348
|
ke(" " + K(T.name), 1)
|
|
15342
|
-
], 8,
|
|
15349
|
+
], 8, Nw)
|
|
15343
15350
|
]),
|
|
15344
|
-
N("p",
|
|
15345
|
-
(y(),
|
|
15351
|
+
N("p", xw, [
|
|
15352
|
+
(y(), Oe(ra(i[T.platform]()), { "aria-hidden": "true" })),
|
|
15346
15353
|
ke(" " + K(T.platform) + " ", 1),
|
|
15347
15354
|
_[2] || (_[2] = N("span", null, " |", -1)),
|
|
15348
|
-
ke(" " + K(E(
|
|
15355
|
+
ke(" " + K(E(uw)(T.size)), 1)
|
|
15349
15356
|
])
|
|
15350
15357
|
]),
|
|
15351
15358
|
N("div", null, [
|
|
15352
|
-
l.value.includes(T.key) ? (y(),
|
|
15359
|
+
l.value.includes(T.key) ? (y(), Oe(jt, { key: 0 })) : (y(), x("svg", Sw, _[3] || (_[3] = [
|
|
15353
15360
|
N("path", {
|
|
15354
15361
|
"stroke-linecap": "round",
|
|
15355
15362
|
"stroke-linejoin": "round",
|
|
@@ -15358,59 +15365,59 @@ const lw = { class: "moonbase:download-product" }, uw = {
|
|
|
15358
15365
|
])))
|
|
15359
15366
|
])
|
|
15360
15367
|
]))), 128))
|
|
15361
|
-
])) : (y(), x("div",
|
|
15368
|
+
])) : (y(), x("div", kw, " No downloadable files found "))
|
|
15362
15369
|
]))
|
|
15363
|
-
])) : (y(), x("div",
|
|
15370
|
+
])) : (y(), x("div", pw, " Could not find product "))
|
|
15364
15371
|
]);
|
|
15365
15372
|
};
|
|
15366
15373
|
}
|
|
15367
|
-
}),
|
|
15374
|
+
}), Cw = { class: "moonbase:download" }, Pw = /* @__PURE__ */ fe({
|
|
15368
15375
|
__name: "Download",
|
|
15369
15376
|
props: {
|
|
15370
15377
|
open: { type: Boolean }
|
|
15371
15378
|
},
|
|
15372
15379
|
setup(e) {
|
|
15373
15380
|
const t = Ve();
|
|
15374
|
-
return (n, r) => (y(),
|
|
15381
|
+
return (n, r) => (y(), Oe(yi, {
|
|
15375
15382
|
open: n.open,
|
|
15376
15383
|
onClose: r[0] || (r[0] = (o) => E(t).reset())
|
|
15377
15384
|
}, {
|
|
15378
15385
|
default: be(() => [
|
|
15379
|
-
N("div",
|
|
15386
|
+
N("div", Cw, [
|
|
15380
15387
|
Z(E(vi), { as: "h3" }, {
|
|
15381
15388
|
default: be(() => r[1] || (r[1] = [
|
|
15382
15389
|
ke(" Download product ")
|
|
15383
15390
|
])),
|
|
15384
15391
|
_: 1
|
|
15385
15392
|
}),
|
|
15386
|
-
n.open && E(t).intent === E(ue).DownloadProduct ? (y(),
|
|
15393
|
+
n.open && E(t).intent === E(ue).DownloadProduct ? (y(), Oe(Tw, { key: 0 })) : ce("", !0)
|
|
15387
15394
|
])
|
|
15388
15395
|
]),
|
|
15389
15396
|
_: 1
|
|
15390
15397
|
}, 8, ["open"]));
|
|
15391
15398
|
}
|
|
15392
|
-
}),
|
|
15399
|
+
}), Dw = /* @__PURE__ */ fe({
|
|
15393
15400
|
__name: "App",
|
|
15394
15401
|
setup(e) {
|
|
15395
15402
|
const t = Pe(Xo), n = Ve();
|
|
15396
15403
|
return (r, o) => {
|
|
15397
15404
|
var s;
|
|
15398
|
-
return y(), x(
|
|
15399
|
-
(s = E(t)) != null && s.toolbar.enabled ? (y(),
|
|
15405
|
+
return y(), x(xe, null, [
|
|
15406
|
+
(s = E(t)) != null && s.toolbar.enabled ? (y(), Oe(Oy, { key: 0 })) : ce("", !0),
|
|
15400
15407
|
Z(I_, {
|
|
15401
|
-
open: E(n).active === E(
|
|
15408
|
+
open: E(n).active === E(Ne).Cart
|
|
15402
15409
|
}, null, 8, ["open"]),
|
|
15403
15410
|
Z(Kb, {
|
|
15404
|
-
open: E(n).active === E(
|
|
15411
|
+
open: E(n).active === E(Ne).Authentication
|
|
15405
15412
|
}, null, 8, ["open"]),
|
|
15406
|
-
Z(
|
|
15407
|
-
open: E(n).active === E(
|
|
15413
|
+
Z(lw, {
|
|
15414
|
+
open: E(n).active === E(Ne).Activation
|
|
15408
15415
|
}, null, 8, ["open"]),
|
|
15409
|
-
Z(
|
|
15410
|
-
open: E(n).active === E(
|
|
15416
|
+
Z(Pw, {
|
|
15417
|
+
open: E(n).active === E(Ne).Download
|
|
15411
15418
|
}, null, 8, ["open"]),
|
|
15412
|
-
Z(
|
|
15413
|
-
open: E(n).active === E(
|
|
15419
|
+
Z(F1, {
|
|
15420
|
+
open: E(n).active === E(Ne).Customer
|
|
15414
15421
|
}, null, 8, ["open"])
|
|
15415
15422
|
], 64);
|
|
15416
15423
|
};
|
|
@@ -15434,7 +15441,7 @@ function Ea(e, ...t) {
|
|
|
15434
15441
|
}
|
|
15435
15442
|
return Ea(e, ...t);
|
|
15436
15443
|
}
|
|
15437
|
-
class
|
|
15444
|
+
class $w {
|
|
15438
15445
|
constructor() {
|
|
15439
15446
|
tr(this, "initialized", !1);
|
|
15440
15447
|
tr(this, "pinia");
|
|
@@ -15447,7 +15454,7 @@ class Pw {
|
|
|
15447
15454
|
return;
|
|
15448
15455
|
}
|
|
15449
15456
|
const r = document.createElement("div");
|
|
15450
|
-
if (r.id = "moonbase", r.classList.add("moonbase"), document.body.append(r), this.options = Ea(by, n), this.storefront = Hg(t), this.pinia = hy(), Ng(
|
|
15457
|
+
if (r.id = "moonbase", r.classList.add("moonbase"), document.body.append(r), this.options = Ea(by, n), this.storefront = Hg(t), this.pinia = hy(), Ng(Dw).use(this.storefront).use(this.pinia).provide(Xo, this.options).mount("#moonbase"), this.initialized = !0, window && window.location) {
|
|
15451
15458
|
const i = new URLSearchParams(window.location.search), a = i.get("mb_intent");
|
|
15452
15459
|
if (a && Object.values(ue).includes(a)) {
|
|
15453
15460
|
const l = Object.fromEntries([...i.entries()].filter(([c]) => c.startsWith("mb_")).map(([c, d]) => [c.substring(3), d]));
|
|
@@ -15460,16 +15467,16 @@ class Pw {
|
|
|
15460
15467
|
window.history.replaceState(null, "", window.location.href.split("?")[0] + (u ? `?${u}` : ""));
|
|
15461
15468
|
}
|
|
15462
15469
|
}
|
|
15463
|
-
const o = Ve(this.pinia), s =
|
|
15470
|
+
const o = Ve(this.pinia), s = St(this.storefront);
|
|
15464
15471
|
this.storefront.onCheckoutClosed((i) => {
|
|
15465
|
-
i === ue.ViewProducts && (s.user ? o.show(
|
|
15472
|
+
i === ue.ViewProducts && (s.user ? o.show(Ne.Customer, ue.ViewProducts) : o.show(Ne.Cart, ue.ViewCart));
|
|
15466
15473
|
});
|
|
15467
15474
|
}
|
|
15468
15475
|
// Identity
|
|
15469
15476
|
sign_in(t) {
|
|
15470
15477
|
if (!this.initialized)
|
|
15471
15478
|
throw new Error("Moonbase has not been set up yet");
|
|
15472
|
-
Ve(this.pinia).show(
|
|
15479
|
+
Ve(this.pinia).show(Ne.Authentication, ue.SignIn, t);
|
|
15473
15480
|
}
|
|
15474
15481
|
sign_up(t) {
|
|
15475
15482
|
var r;
|
|
@@ -15477,22 +15484,22 @@ class Pw {
|
|
|
15477
15484
|
throw new Error("Moonbase has not been set up yet");
|
|
15478
15485
|
if (!((r = this.options) != null && r.auth.enable.signUp))
|
|
15479
15486
|
throw new Error("Sign ups are not enabled");
|
|
15480
|
-
Ve(this.pinia).show(
|
|
15487
|
+
Ve(this.pinia).show(Ne.Authentication, ue.SignUp, t);
|
|
15481
15488
|
}
|
|
15482
15489
|
forgot_password(t) {
|
|
15483
15490
|
if (!this.initialized)
|
|
15484
15491
|
throw new Error("Moonbase has not been set up yet");
|
|
15485
|
-
Ve(this.pinia).show(
|
|
15492
|
+
Ve(this.pinia).show(Ne.Authentication, ue.ForgotPassword, t);
|
|
15486
15493
|
}
|
|
15487
15494
|
reset_password(t) {
|
|
15488
15495
|
if (!this.initialized)
|
|
15489
15496
|
throw new Error("Moonbase has not been set up yet");
|
|
15490
|
-
Ve(this.pinia).show(
|
|
15497
|
+
Ve(this.pinia).show(Ne.Authentication, ue.ResetPassword, t);
|
|
15491
15498
|
}
|
|
15492
15499
|
confirm_account(t) {
|
|
15493
15500
|
if (!this.initialized)
|
|
15494
15501
|
throw new Error("Moonbase has not been set up yet");
|
|
15495
|
-
Ve(this.pinia).show(
|
|
15502
|
+
Ve(this.pinia).show(Ne.Authentication, ue.ConfirmAccount, t);
|
|
15496
15503
|
}
|
|
15497
15504
|
confirm_email() {
|
|
15498
15505
|
}
|
|
@@ -15500,43 +15507,43 @@ class Pw {
|
|
|
15500
15507
|
if (!this.initialized)
|
|
15501
15508
|
throw new Error("Moonbase has not been set up yet");
|
|
15502
15509
|
const n = Ve(this.pinia);
|
|
15503
|
-
|
|
15510
|
+
St(this.storefront).user.value ? n.show(Ne.Authentication, ue.ConfirmEmailChange, t) : (n.show(Ne.Authentication, ue.SignIn), n.enqueue(Ne.Authentication, ue.ConfirmEmailChange, t));
|
|
15504
15511
|
}
|
|
15505
15512
|
// Customer
|
|
15506
15513
|
view_account() {
|
|
15507
15514
|
if (!this.initialized)
|
|
15508
15515
|
throw new Error("Moonbase has not been set up yet");
|
|
15509
15516
|
const t = Ve(this.pinia);
|
|
15510
|
-
|
|
15517
|
+
St(this.storefront).user.value ? t.show(Ne.Customer, ue.ViewAccount) : (t.show(Ne.Authentication, ue.SignIn), t.enqueue(Ne.Customer, ue.ViewAccount));
|
|
15511
15518
|
}
|
|
15512
15519
|
view_products() {
|
|
15513
15520
|
if (!this.initialized)
|
|
15514
15521
|
throw new Error("Moonbase has not been set up yet");
|
|
15515
|
-
Ve(this.pinia).show(
|
|
15522
|
+
Ve(this.pinia).show(Ne.Cart, ue.ViewCart);
|
|
15516
15523
|
}
|
|
15517
15524
|
redeem_voucher(t) {
|
|
15518
15525
|
if (!this.initialized)
|
|
15519
15526
|
throw new Error("Moonbase has not been set up yet");
|
|
15520
|
-
Ve(this.pinia).show(
|
|
15527
|
+
Ve(this.pinia).show(Ne.Cart, ue.ViewCart, t);
|
|
15521
15528
|
}
|
|
15522
15529
|
// Products
|
|
15523
15530
|
download_product(t) {
|
|
15524
15531
|
if (!this.initialized)
|
|
15525
15532
|
throw new Error("Moonbase has not been set up yet");
|
|
15526
|
-
Ve(this.pinia).show(
|
|
15533
|
+
Ve(this.pinia).show(Ne.Download, ue.DownloadProduct, t);
|
|
15527
15534
|
}
|
|
15528
15535
|
activate_product(t) {
|
|
15529
15536
|
if (!this.initialized)
|
|
15530
15537
|
throw new Error("Moonbase has not been set up yet");
|
|
15531
15538
|
if (!(t != null && t.token))
|
|
15532
15539
|
throw new Error("You need to provide a token when activating a product");
|
|
15533
|
-
Ve(this.pinia).show(
|
|
15540
|
+
Ve(this.pinia).show(Ne.Activation, ue.ActivateProduct, t);
|
|
15534
15541
|
}
|
|
15535
15542
|
// Orders
|
|
15536
15543
|
view_cart() {
|
|
15537
15544
|
if (!this.initialized)
|
|
15538
15545
|
throw new Error("Moonbase has not been set up yet");
|
|
15539
|
-
Ve(this.pinia).show(
|
|
15546
|
+
Ve(this.pinia).show(Ne.Cart, ue.ViewCart);
|
|
15540
15547
|
}
|
|
15541
15548
|
async add_to_cart(t) {
|
|
15542
15549
|
var o, s, i, a;
|
|
@@ -15571,7 +15578,7 @@ class Pw {
|
|
|
15571
15578
|
throw new Error(`Bundle '${t.bundle_id}' not found`);
|
|
15572
15579
|
}
|
|
15573
15580
|
}
|
|
15574
|
-
Ve(this.pinia).show(
|
|
15581
|
+
Ve(this.pinia).show(Ne.Cart, ue.AddToCart);
|
|
15575
15582
|
}
|
|
15576
15583
|
checkout(t) {
|
|
15577
15584
|
var r;
|
|
@@ -15588,9 +15595,9 @@ class Pw {
|
|
|
15588
15595
|
(t = this.storefront) == null || t.closeCheckout();
|
|
15589
15596
|
}
|
|
15590
15597
|
}
|
|
15591
|
-
const
|
|
15592
|
-
globalThis && (globalThis.Moonbase ? console.warn("Multiple instances of Moonbase detected, only one will be initialized") : globalThis.Moonbase =
|
|
15598
|
+
const Iw = new $w();
|
|
15599
|
+
globalThis && (globalThis.Moonbase ? console.warn("Multiple instances of Moonbase detected, only one will be initialized") : globalThis.Moonbase = Iw);
|
|
15593
15600
|
export {
|
|
15594
15601
|
ue as MoonbaseIntent,
|
|
15595
|
-
|
|
15602
|
+
Iw as default
|
|
15596
15603
|
};
|