cloudcommerce 0.8.7 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/renovate.json +1 -2
- package/CHANGELOG.md +44 -0
- package/ecomplus-stores/monocard/functions/core/package.json +1 -1
- package/ecomplus-stores/monocard/functions/events/package.json +2 -2
- package/ecomplus-stores/monocard/functions/modules/package.json +2 -2
- package/ecomplus-stores/monocard/functions/passport/package.json +2 -2
- package/ecomplus-stores/monocard/functions/ssr/content/layout.json +37 -0
- package/ecomplus-stores/monocard/functions/ssr/package.json +6 -6
- package/ecomplus-stores/monocard/functions/ssr/src/components/FeatureTabs.astro +1 -1
- package/ecomplus-stores/monocard/functions/ssr/src/components/FeatureTabs.vue +23 -10
- package/ecomplus-stores/monocard/functions/ssr/src/components/PitchBar.vue +2 -2
- package/ecomplus-stores/monocard/functions/ssr/src/components/ShopHeader.vue +11 -10
- package/ecomplus-stores/monocard/functions/ssr/src/components/ShopSidenavCategory.vue +2 -2
- package/ecomplus-stores/monocard/functions/ssr/src/layouts/Pages.astro +28 -14
- package/ecomplus-stores/monocard/functions/ssr/src/main/Home.astro +3 -3
- package/ecomplus-stores/monocard/functions/ssr/src/main/Wildcard.astro +9 -7
- package/ecomplus-stores/monocard/functions/ssr/src/pages/[...slug].astro +2 -2
- package/ecomplus-stores/monocard/functions/ssr/src/pages/fallback.astro +1 -1
- package/ecomplus-stores/monocard/functions/ssr/src/pages/index.astro +2 -2
- package/ecomplus-stores/monocard/package.json +1 -1
- package/package.json +10 -10
- package/packages/api/lib/api.d.ts +27 -11
- package/packages/api/package.json +1 -1
- package/packages/apps/correios/package.json +3 -3
- package/packages/apps/custom-payment/package.json +1 -1
- package/packages/apps/custom-shipping/package.json +1 -1
- package/packages/apps/datafrete/package.json +3 -3
- package/packages/apps/discounts/package.json +1 -1
- package/packages/apps/emails/lib/functios-lib/abandoned-carts.js +2 -1
- package/packages/apps/emails/lib/functios-lib/abandoned-carts.js.map +1 -1
- package/packages/apps/emails/package.json +2 -2
- package/packages/apps/emails/src/functios-lib/abandoned-carts.ts +2 -1
- package/packages/apps/fb-conversions/package.json +2 -2
- package/packages/apps/frenet/lib/functions-lib/tracking-codes.js +2 -1
- package/packages/apps/frenet/lib/functions-lib/tracking-codes.js.map +1 -1
- package/packages/apps/frenet/package.json +3 -3
- package/packages/apps/frenet/src/functions-lib/tracking-codes.ts +2 -1
- package/packages/apps/galaxpay/lib/functions-lib/ecom/events-to-galaxpay.js +1 -1
- package/packages/apps/galaxpay/lib/functions-lib/ecom/events-to-galaxpay.js.map +1 -1
- package/packages/apps/galaxpay/lib/functions-lib/galaxpay/webhook.js +101 -37
- package/packages/apps/galaxpay/lib/functions-lib/galaxpay/webhook.js.map +1 -1
- package/packages/apps/galaxpay/package.json +3 -3
- package/packages/apps/galaxpay/src/functions-lib/ecom/events-to-galaxpay.ts +1 -1
- package/packages/apps/galaxpay/src/functions-lib/galaxpay/webhook.ts +123 -39
- package/packages/apps/google-analytics/package.json +3 -3
- package/packages/apps/infinitepay/package.json +3 -3
- package/packages/apps/jadlog/package.json +2 -2
- package/packages/apps/loyalty-points/package.json +1 -1
- package/packages/apps/melhor-envio/lib/functions-lib/tracking-codes.js +1 -1
- package/packages/apps/melhor-envio/lib/functions-lib/tracking-codes.js.map +1 -1
- package/packages/apps/melhor-envio/package.json +3 -3
- package/packages/apps/melhor-envio/src/functions-lib/tracking-codes.ts +1 -1
- package/packages/apps/mercadopago/package.json +3 -3
- package/packages/apps/pagarme/package.json +3 -3
- package/packages/apps/paghiper/package.json +3 -3
- package/packages/apps/pix/package.json +3 -3
- package/packages/apps/tiny-erp/package.json +3 -3
- package/packages/apps/webhooks/package.json +3 -3
- package/packages/cli/package.json +1 -1
- package/packages/config/package.json +1 -1
- package/packages/emails/package.json +2 -2
- package/packages/events/package.json +2 -2
- package/packages/firebase/package.json +2 -2
- package/packages/i18n/package.json +1 -1
- package/packages/modules/package.json +3 -3
- package/packages/passport/package.json +2 -2
- package/packages/ssr/package.json +5 -5
- package/packages/storefront/client.d.ts +1 -1
- package/packages/storefront/config/storefront.cms.cjs +17 -12
- package/packages/storefront/config/storefront.cms.mjs +17 -12
- package/packages/storefront/dist/client/_astro/Carousel.dfb3f26a.js +1 -0
- package/packages/storefront/dist/client/_astro/HeroSlider.34436243.js +1 -0
- package/packages/storefront/dist/client/_astro/PitchBar.1c993792.js +1 -0
- package/packages/storefront/dist/client/_astro/Prices.70885f17.js +1 -0
- package/packages/storefront/dist/client/_astro/ShopHeader.e901fad5.js +4 -0
- package/packages/storefront/dist/client/_astro/_...slug_.9a31c59e.css +1 -0
- package/packages/storefront/dist/client/_astro/_plugin-vue_export-helper.0c2b7f88.js +1 -0
- package/packages/storefront/dist/client/_astro/client.4e825332.js +1 -0
- package/packages/storefront/dist/client/_astro/{firebase-app.d090c84e.js → firebase-app.247497b8.js} +22 -22
- package/packages/storefront/dist/client/_astro/{format-money.ab6b71eb.js → format-money.f09b89ed.js} +1 -1
- package/packages/storefront/dist/client/_astro/{hoisted.541b5c05.js → hoisted.56fa2eff.js} +1 -1
- package/packages/storefront/dist/client/_astro/index.1eaf97c3.css +1 -0
- package/packages/storefront/dist/client/_astro/index.9018a8da.js +1 -0
- package/packages/storefront/dist/client/_astro/{modules-info.06ac0727.js → modules-info.2a72e536.js} +1 -1
- package/packages/storefront/dist/client/_astro/runtime-dom.esm-bundler.1fd80976.js +1 -0
- package/packages/storefront/dist/client/_astro/session-utm.ac492493.js +1 -0
- package/packages/storefront/dist/client/img/uploads/ecom-icon.png +0 -0
- package/packages/storefront/dist/client/img/uploads/logo.png +0 -0
- package/packages/storefront/dist/client/manifest.webmanifest +1 -1
- package/packages/storefront/dist/client/sw.js +1 -1
- package/packages/storefront/dist/client/workbox-e0d788d4.js +1 -1
- package/packages/storefront/dist/server/chunks/{astro.9781c0a7.mjs → astro.39f7f387.mjs} +910 -295
- package/packages/storefront/dist/server/chunks/pages/{all.b355675e.mjs → all.b15cad2d.mjs} +408 -246
- package/packages/storefront/dist/server/entry.mjs +32 -19
- package/packages/storefront/dist/server/manifest.webmanifest +1 -1
- package/packages/storefront/package.json +15 -15
- package/packages/storefront/server.d.ts +1 -1
- package/packages/storefront/src/images/use-ssr-picture.ts +30 -10
- package/packages/storefront/src/lib/assets/base.css +4 -2
- package/packages/storefront/src/lib/cms.d.ts +14 -18
- package/packages/storefront/src/lib/components/Carousel.vue +16 -10
- package/packages/storefront/src/lib/components/CarouselControl.vue +2 -2
- package/packages/storefront/src/lib/components/Drawer.vue +5 -5
- package/packages/storefront/src/lib/components/HeroPicture.astro +54 -0
- package/packages/storefront/src/lib/components/LoginForm.vue +3 -2
- package/packages/storefront/src/lib/components/SocialNetworkLink.vue +2 -2
- package/packages/storefront/src/lib/components/_injection-keys.ts +5 -3
- package/packages/storefront/src/lib/components/globals/AImg.vue +4 -5
- package/packages/storefront/src/lib/components/globals/ALink.vue +2 -2
- package/packages/storefront/src/lib/components/globals/Fade.vue +5 -5
- package/packages/storefront/src/lib/composables/use-hero-slider.ts +38 -0
- package/packages/storefront/src/lib/composables/use-prices.ts +6 -3
- package/packages/storefront/src/lib/composables/use-shop-header.ts +30 -14
- package/packages/storefront/src/lib/composables/use-sticky-header.ts +15 -12
- package/packages/storefront/src/lib/layouts/Base.astro +1 -1
- package/packages/storefront/src/lib/layouts/BaseBody.astro +2 -2
- package/packages/storefront/src/lib/layouts/BaseHead.astro +2 -2
- package/packages/storefront/src/lib/layouts/sections/use-hero-section.ts +48 -0
- package/packages/storefront/src/lib/layouts/use-home-main.ts +16 -0
- package/packages/storefront/src/lib/layouts/use-page-layout.ts +41 -0
- package/packages/storefront/src/lib/pages/_vue.ts +1 -1
- package/packages/storefront/src/lib/scripts/modules-info-preset.ts +5 -2
- package/packages/storefront/src/lib/scripts/session-utm.ts +6 -1
- package/packages/storefront/src/lib/ssr-context.ts +24 -15
- package/packages/storefront/src/lib/state/customer-session.ts +14 -2
- package/packages/storefront/src/lib/state/shopping-cart/add-cart-item.ts +8 -10
- package/packages/storefront/src/lib/state/shopping-cart.ts +4 -3
- package/packages/storefront/src/vue-globals.d.ts +3 -2
- package/packages/storefront/tailwind.config.cjs +10 -3
- package/packages/storefront/tsconfig.json +3 -1
- package/packages/storefront/uno.config.cjs +8 -4
- package/packages/types/package.json +1 -1
- package/ecomplus-stores/monocard/functions/ssr/content/code.json +0 -5
- package/ecomplus-stores/monocard/functions/ssr/content/footer.json +0 -46
- package/ecomplus-stores/monocard/functions/ssr/content/header.json +0 -23
- package/ecomplus-stores/monocard/functions/ssr/content/menu.json +0 -6
- package/ecomplus-stores/monocard/functions/ssr/content/metatags.json +0 -5
- package/ecomplus-stores/monocard/functions/ssr/src/components/header/HeaderButtonLink.vue +0 -5
- package/ecomplus-stores/monocard/functions/ssr/src/components/header/HeaderButtons.vue +0 -39
- package/ecomplus-stores/monocard/functions/ssr/src/components/header/HeaderNav.vue +0 -61
- package/ecomplus-stores/monocard/functions/ssr/src/components/header/HeaderNavLink.vue +0 -5
- package/packages/storefront/dist/client/_astro/PitchBar.5d55c359.js +0 -1
- package/packages/storefront/dist/client/_astro/Prices.55399c72.js +0 -1
- package/packages/storefront/dist/client/_astro/ProductCard.7e891c08.js +0 -1
- package/packages/storefront/dist/client/_astro/ShopHeader.6bbe1a17.js +0 -4
- package/packages/storefront/dist/client/_astro/_...slug_.45f0edaf.css +0 -1
- package/packages/storefront/dist/client/_astro/_plugin-vue_export-helper.77ed7c18.js +0 -1
- package/packages/storefront/dist/client/_astro/client.0de2f274.js +0 -1
- package/packages/storefront/dist/client/_astro/index.ff4f0b30.js +0 -1
- package/packages/storefront/dist/client/_astro/runtime-dom.esm-bundler.d2f39f33.js +0 -1
- package/packages/storefront/dist/client/_astro/session-utm.72684b84.js +0 -1
- package/packages/storefront/dist/client/img/uploads/icon.png +0 -0
- package/packages/storefront/dist/client/img/uploads/large-icon.png +0 -0
- package/packages/storefront/dist/client/img/uploads/logo.webp +0 -0
- package/packages/storefront/src/lib/components/ProductCard.vue +0 -36
- package/packages/storefront/src/lib/layouts/PagesHeader.astro +0 -51
- /package/packages/storefront/dist/client/_astro/{index.0c833781.css → index.e56fc6b3.css} +0 -0
- /package/packages/storefront/dist/client/_astro/{server.1bc2fa51.css → server.1dabec03.css} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function In(e,t){const n=Object.create(null),s=e.split(",");for(let r=0;r<s.length;r++)n[s[r]]=!0;return t?r=>!!n[r.toLowerCase()]:r=>!!n[r]}function Zt(e){if(K(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=le(s)?Nr(s):Zt(s);if(r)for(const l in r)t[l]=r[l]}return t}else{if(le(e))return e;if(ee(e))return e}}const Rr=/;(?![^(]*\))/g,vr=/:([^]+)/,kr=/\/\*.*?\*\//gs;function Nr(e){const t={};return e.replace(kr,"").split(Rr).forEach(n=>{if(n){const s=n.split(vr);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Qt(e){let t="";if(le(e))t=e;else if(K(e))for(let n=0;n<e.length;n++){const s=Qt(e[n]);s&&(t+=s+" ")}else if(ee(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Zi(e){if(!e)return null;let{class:t,style:n}=e;return t&&!le(t)&&(e.class=Qt(t)),n&&(e.style=Zt(n)),e}const jr="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Qi=In(jr);function Xi(e){return!!e||e===""}const zi=e=>le(e)?e:e==null?"":K(e)||ee(e)&&(e.toString===Bs||!W(e.toString))?JSON.stringify(e,As,2):String(e),As=(e,t)=>t&&t.__v_isRef?As(e,t.value):tt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r])=>(n[`${s} =>`]=r,n),{})}:Ms(t)?{[`Set(${t.size})`]:[...t.values()]}:ee(t)&&!K(t)&&!Ps(t)?String(t):t,G={},et=[],Ee=()=>{},Lr=()=>!1,Ur=/^on[^a-z]/,Xt=e=>Ur.test(e),Os=e=>e.startsWith("onUpdate:"),ge=Object.assign,Bn=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Hr=Object.prototype.hasOwnProperty,q=(e,t)=>Hr.call(e,t),K=Array.isArray,tt=e=>zt(e)==="[object Map]",Ms=e=>zt(e)==="[object Set]",W=e=>typeof e=="function",le=e=>typeof e=="string",Pn=e=>typeof e=="symbol",ee=e=>e!==null&&typeof e=="object",Is=e=>ee(e)&&W(e.then)&&W(e.catch),Bs=Object.prototype.toString,zt=e=>Bs.call(e),Dr=e=>zt(e).slice(8,-1),Ps=e=>zt(e)==="[object Object]",Rn=e=>le(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,gt=In(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Gt=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},$r=/-(\w)/g,ke=Gt(e=>e.replace($r,(t,n)=>n?n.toUpperCase():"")),Kr=/\B([A-Z])/g,en=Gt(e=>e.replace(Kr,"-$1").toLowerCase()),vn=Gt(e=>e.charAt(0).toUpperCase()+e.slice(1)),un=Gt(e=>e?`on${vn(e)}`:""),bt=(e,t)=>!Object.is(e,t),an=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Kt=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Wr=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Yr=e=>{const t=le(e)?Number(e):NaN;return isNaN(t)?e:t};let rs;const qr=()=>rs||(rs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let me;class Jr{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=me,!t&&me&&(this.index=(me.scopes||(me.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=me;try{return me=this,t()}finally{me=n}}}on(){me=this}off(){me=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.scopes)for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this._active=!1}}}function Sr(e,t=me){t&&t.active&&t.effects.push(e)}function Vr(){return me}function Gi(e){me&&me.cleanups.push(e)}const kn=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Rs=e=>(e.w&Ke)>0,vs=e=>(e.n&Ke)>0,Zr=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Ke},Qr=e=>{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s<t.length;s++){const r=t[s];Rs(r)&&!vs(r)?r.delete(e):t[n++]=r,r.w&=~Ke,r.n&=~Ke}t.length=n}},Wt=new WeakMap;let ht=0,Ke=1;const _n=30;let we;const Qe=Symbol(""),mn=Symbol("");class Nn{constructor(t,n=null,s){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Sr(this,s)}run(){if(!this.active)return this.fn();let t=we,n=De;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=we,we=this,De=!0,Ke=1<<++ht,ht<=_n?Zr(this):ls(this),this.fn()}finally{ht<=_n&&Qr(this),Ke=1<<--ht,we=this.parent,De=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){we===this?this.deferStop=!0:this.active&&(ls(this),this.onStop&&this.onStop(),this.active=!1)}}function ls(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let De=!0;const ks=[];function ut(){ks.push(De),De=!1}function at(){const e=ks.pop();De=e===void 0?!0:e}function pe(e,t,n){if(De&&we){let s=Wt.get(e);s||Wt.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=kn()),Ns(r)}}function Ns(e,t){let n=!1;ht<=_n?vs(e)||(e.n|=Ke,n=!Rs(e)):n=!e.has(we),n&&(e.add(we),we.deps.push(e))}function Ne(e,t,n,s,r,l){const i=Wt.get(e);if(!i)return;let o=[];if(t==="clear")o=[...i.values()];else if(n==="length"&&K(e)){const f=Number(s);i.forEach((a,g)=>{(g==="length"||g>=f)&&o.push(a)})}else switch(n!==void 0&&o.push(i.get(n)),t){case"add":K(e)?Rn(n)&&o.push(i.get("length")):(o.push(i.get(Qe)),tt(e)&&o.push(i.get(mn)));break;case"delete":K(e)||(o.push(i.get(Qe)),tt(e)&&o.push(i.get(mn)));break;case"set":tt(e)&&o.push(i.get(Qe));break}if(o.length===1)o[0]&&bn(o[0]);else{const f=[];for(const a of o)a&&f.push(...a);bn(kn(f))}}function bn(e,t){const n=K(e)?e:[...e];for(const s of n)s.computed&&is(s);for(const s of n)s.computed||is(s)}function is(e,t){(e!==we||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function Xr(e,t){var n;return(n=Wt.get(e))===null||n===void 0?void 0:n.get(t)}const zr=In("__proto__,__v_isRef,__isVue"),js=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Pn)),Gr=jn(),el=jn(!1,!0),tl=jn(!0),os=nl();function nl(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=J(this);for(let l=0,i=this.length;l<i;l++)pe(s,"get",l+"");const r=s[t](...n);return r===-1||r===!1?s[t](...n.map(J)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){ut();const s=J(this)[t].apply(this,n);return at(),s}}),e}function sl(e){const t=J(this);return pe(t,"has",e),t.hasOwnProperty(e)}function jn(e=!1,t=!1){return function(s,r,l){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_isShallow")return t;if(r==="__v_raw"&&l===(e?t?yl:$s:t?Ds:Hs).get(s))return s;const i=K(s);if(!e){if(i&&q(os,r))return Reflect.get(os,r,l);if(r==="hasOwnProperty")return sl}const o=Reflect.get(s,r,l);return(Pn(r)?js.has(r):zr(r))||(e||pe(s,"get",r),t)?o:ie(o)?i&&Rn(r)?o:o.value:ee(o)?e?Ks(o):Hn(o):o}}const rl=Ls(),ll=Ls(!0);function Ls(e=!1){return function(n,s,r,l){let i=n[s];if(it(i)&&ie(i)&&!ie(r))return!1;if(!e&&(!Yt(r)&&!it(r)&&(i=J(i),r=J(r)),!K(n)&&ie(i)&&!ie(r)))return i.value=r,!0;const o=K(n)&&Rn(s)?Number(s)<n.length:q(n,s),f=Reflect.set(n,s,r,l);return n===J(l)&&(o?bt(r,i)&&Ne(n,"set",s,r):Ne(n,"add",s,r)),f}}function il(e,t){const n=q(e,t);e[t];const s=Reflect.deleteProperty(e,t);return s&&n&&Ne(e,"delete",t,void 0),s}function ol(e,t){const n=Reflect.has(e,t);return(!Pn(t)||!js.has(t))&&pe(e,"has",t),n}function cl(e){return pe(e,"iterate",K(e)?"length":Qe),Reflect.ownKeys(e)}const Us={get:Gr,set:rl,deleteProperty:il,has:ol,ownKeys:cl},fl={get:tl,set(e,t){return!0},deleteProperty(e,t){return!0}},ul=ge({},Us,{get:el,set:ll}),Ln=e=>e,tn=e=>Reflect.getPrototypeOf(e);function Mt(e,t,n=!1,s=!1){e=e.__v_raw;const r=J(e),l=J(t);n||(t!==l&&pe(r,"get",t),pe(r,"get",l));const{has:i}=tn(r),o=s?Ln:n?$n:yt;if(i.call(r,t))return o(e.get(t));if(i.call(r,l))return o(e.get(l));e!==r&&e.get(t)}function It(e,t=!1){const n=this.__v_raw,s=J(n),r=J(e);return t||(e!==r&&pe(s,"has",e),pe(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function Bt(e,t=!1){return e=e.__v_raw,!t&&pe(J(e),"iterate",Qe),Reflect.get(e,"size",e)}function cs(e){e=J(e);const t=J(this);return tn(t).has.call(t,e)||(t.add(e),Ne(t,"add",e,e)),this}function fs(e,t){t=J(t);const n=J(this),{has:s,get:r}=tn(n);let l=s.call(n,e);l||(e=J(e),l=s.call(n,e));const i=r.call(n,e);return n.set(e,t),l?bt(t,i)&&Ne(n,"set",e,t):Ne(n,"add",e,t),this}function us(e){const t=J(this),{has:n,get:s}=tn(t);let r=n.call(t,e);r||(e=J(e),r=n.call(t,e)),s&&s.call(t,e);const l=t.delete(e);return r&&Ne(t,"delete",e,void 0),l}function as(){const e=J(this),t=e.size!==0,n=e.clear();return t&&Ne(e,"clear",void 0,void 0),n}function Pt(e,t){return function(s,r){const l=this,i=l.__v_raw,o=J(i),f=t?Ln:e?$n:yt;return!e&&pe(o,"iterate",Qe),i.forEach((a,g)=>s.call(r,f(a),f(g),l))}}function Rt(e,t,n){return function(...s){const r=this.__v_raw,l=J(r),i=tt(l),o=e==="entries"||e===Symbol.iterator&&i,f=e==="keys"&&i,a=r[e](...s),g=n?Ln:t?$n:yt;return!t&&pe(l,"iterate",f?mn:Qe),{next(){const{value:d,done:_}=a.next();return _?{value:d,done:_}:{value:o?[g(d[0]),g(d[1])]:g(d),done:_}},[Symbol.iterator](){return this}}}}function Le(e){return function(...t){return e==="delete"?!1:this}}function al(){const e={get(l){return Mt(this,l)},get size(){return Bt(this)},has:It,add:cs,set:fs,delete:us,clear:as,forEach:Pt(!1,!1)},t={get(l){return Mt(this,l,!1,!0)},get size(){return Bt(this)},has:It,add:cs,set:fs,delete:us,clear:as,forEach:Pt(!1,!0)},n={get(l){return Mt(this,l,!0)},get size(){return Bt(this,!0)},has(l){return It.call(this,l,!0)},add:Le("add"),set:Le("set"),delete:Le("delete"),clear:Le("clear"),forEach:Pt(!0,!1)},s={get(l){return Mt(this,l,!0,!0)},get size(){return Bt(this,!0)},has(l){return It.call(this,l,!0)},add:Le("add"),set:Le("set"),delete:Le("delete"),clear:Le("clear"),forEach:Pt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(l=>{e[l]=Rt(l,!1,!1),n[l]=Rt(l,!0,!1),t[l]=Rt(l,!1,!0),s[l]=Rt(l,!0,!0)}),[e,n,t,s]}const[dl,hl,gl,pl]=al();function Un(e,t){const n=t?e?pl:gl:e?hl:dl;return(s,r,l)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(q(n,r)&&r in s?n:s,r,l)}const _l={get:Un(!1,!1)},ml={get:Un(!1,!0)},bl={get:Un(!0,!1)},Hs=new WeakMap,Ds=new WeakMap,$s=new WeakMap,yl=new WeakMap;function xl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Cl(e){return e.__v_skip||!Object.isExtensible(e)?0:xl(Dr(e))}function Hn(e){return it(e)?e:Dn(e,!1,Us,_l,Hs)}function Tl(e){return Dn(e,!1,ul,ml,Ds)}function Ks(e){return Dn(e,!0,fl,bl,$s)}function Dn(e,t,n,s,r){if(!ee(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const l=r.get(e);if(l)return l;const i=Cl(e);if(i===0)return e;const o=new Proxy(e,i===2?s:n);return r.set(e,o),o}function nt(e){return it(e)?nt(e.__v_raw):!!(e&&e.__v_isReactive)}function it(e){return!!(e&&e.__v_isReadonly)}function Yt(e){return!!(e&&e.__v_isShallow)}function Ws(e){return nt(e)||it(e)}function J(e){const t=e&&e.__v_raw;return t?J(t):e}function Ys(e){return Kt(e,"__v_skip",!0),e}const yt=e=>ee(e)?Hn(e):e,$n=e=>ee(e)?Ks(e):e;function qs(e){De&&we&&(e=J(e),Ns(e.dep||(e.dep=kn())))}function Js(e,t){e=J(e);const n=e.dep;n&&bn(n)}function ie(e){return!!(e&&e.__v_isRef===!0)}function eo(e){return Ss(e,!1)}function to(e){return Ss(e,!0)}function Ss(e,t){return ie(e)?e:new wl(e,t)}class wl{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:J(t),this._value=n?t:yt(t)}get value(){return qs(this),this._value}set value(t){const n=this.__v_isShallow||Yt(t)||it(t);t=n?t:J(t),bt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:yt(t),Js(this))}}function El(e){return ie(e)?e.value:e}const Fl={get:(e,t,n)=>El(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return ie(r)&&!ie(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Vs(e){return nt(e)?e:new Proxy(e,Fl)}class Al{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Xr(J(this._object),this._key)}}function no(e,t,n){const s=e[t];return ie(s)?s:new Al(e,t,n)}var Zs;class Ol{constructor(t,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[Zs]=!1,this._dirty=!0,this.effect=new Nn(t,()=>{this._dirty||(this._dirty=!0,Js(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=J(this);return qs(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}Zs="__v_isReadonly";function Ml(e,t,n=!1){let s,r;const l=W(e);return l?(s=e,r=Ee):(s=e.get,r=e.set),new Ol(s,r,l||!r,n)}function $e(e,t,n,s){let r;try{r=s?e(...s):e()}catch(l){Ft(l,t,n)}return r}function Fe(e,t,n,s){if(W(e)){const l=$e(e,t,n,s);return l&&Is(l)&&l.catch(i=>{Ft(i,t,n)}),l}const r=[];for(let l=0;l<e.length;l++)r.push(Fe(e[l],t,n,s));return r}function Ft(e,t,n,s=!0){const r=t?t.vnode:null;if(t){let l=t.parent;const i=t.proxy,o=n;for(;l;){const a=l.ec;if(a){for(let g=0;g<a.length;g++)if(a[g](e,i,o)===!1)return}l=l.parent}const f=t.appContext.config.errorHandler;if(f){$e(f,null,10,[e,i,o]);return}}Il(e,n,r,s)}function Il(e,t,n,s=!0){console.error(e)}let xt=!1,yn=!1;const fe=[];let Be=0;const st=[];let ve=null,Ve=0;const Qs=Promise.resolve();let Kn=null;function Bl(e){const t=Kn||Qs;return e?t.then(this?e.bind(this):e):t}function Pl(e){let t=Be+1,n=fe.length;for(;t<n;){const s=t+n>>>1;Ct(fe[s])<e?t=s+1:n=s}return t}function Wn(e){(!fe.length||!fe.includes(e,xt&&e.allowRecurse?Be+1:Be))&&(e.id==null?fe.push(e):fe.splice(Pl(e.id),0,e),Xs())}function Xs(){!xt&&!yn&&(yn=!0,Kn=Qs.then(Gs))}function Rl(e){const t=fe.indexOf(e);t>Be&&fe.splice(t,1)}function zs(e){K(e)?st.push(...e):(!ve||!ve.includes(e,e.allowRecurse?Ve+1:Ve))&&st.push(e),Xs()}function ds(e,t=xt?Be+1:0){for(;t<fe.length;t++){const n=fe[t];n&&n.pre&&(fe.splice(t,1),t--,n())}}function qt(e){if(st.length){const t=[...new Set(st)];if(st.length=0,ve){ve.push(...t);return}for(ve=t,ve.sort((n,s)=>Ct(n)-Ct(s)),Ve=0;Ve<ve.length;Ve++)ve[Ve]();ve=null,Ve=0}}const Ct=e=>e.id==null?1/0:e.id,vl=(e,t)=>{const n=Ct(e)-Ct(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Gs(e){yn=!1,xt=!0,fe.sort(vl);const t=Ee;try{for(Be=0;Be<fe.length;Be++){const n=fe[Be];n&&n.active!==!1&&$e(n,null,14)}}finally{Be=0,fe.length=0,qt(),xt=!1,Kn=null,(fe.length||st.length)&&Gs()}}function kl(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||G;let r=n;const l=t.startsWith("update:"),i=l&&t.slice(7);if(i&&i in s){const g=`${i==="modelValue"?"model":i}Modifiers`,{number:d,trim:_}=s[g]||G;_&&(r=n.map(O=>le(O)?O.trim():O)),d&&(r=n.map(Wr))}let o,f=s[o=un(t)]||s[o=un(ke(t))];!f&&l&&(f=s[o=un(en(t))]),f&&Fe(f,e,6,r);const a=s[o+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[o])return;e.emitted[o]=!0,Fe(a,e,6,r)}}function er(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const l=e.emits;let i={},o=!1;if(!W(e)){const f=a=>{const g=er(a,t,!0);g&&(o=!0,ge(i,g))};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}return!l&&!o?(ee(e)&&s.set(e,null),null):(K(l)?l.forEach(f=>i[f]=null):ge(i,l),ee(e)&&s.set(e,i),i)}function nn(e,t){return!e||!Xt(t)?!1:(t=t.slice(2).replace(/Once$/,""),q(e,t[0].toLowerCase()+t.slice(1))||q(e,en(t))||q(e,t))}let oe=null,tr=null;function Jt(e){const t=oe;return oe=e,tr=e&&e.type.__scopeId||null,t}function Nl(e,t=oe,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Es(-1);const l=Jt(t);let i;try{i=e(...r)}finally{Jt(l),s._d&&Es(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function dn(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:l,propsOptions:[i],slots:o,attrs:f,emit:a,render:g,renderCache:d,data:_,setupState:O,ctx:k,inheritAttrs:M}=e;let S,y;const p=Jt(e);try{if(n.shapeFlag&4){const P=r||s;S=xe(g.call(P,P,d,l,O,_,k)),y=f}else{const P=t;S=xe(P.length>1?P(l,{attrs:f,slots:o,emit:a}):P(l,null)),y=t.props?f:Ll(f)}}catch(P){mt.length=0,Ft(P,e,1),S=ce(ae)}let C=S;if(y&&M!==!1){const P=Object.keys(y),{shapeFlag:B}=C;P.length&&B&7&&(i&&P.some(Os)&&(y=Ul(y,i)),C=We(C,y))}return n.dirs&&(C=We(C),C.dirs=C.dirs?C.dirs.concat(n.dirs):n.dirs),n.transition&&(C.transition=n.transition),S=C,Jt(p),S}function jl(e){let t;for(let n=0;n<e.length;n++){const s=e[n];if(wt(s)){if(s.type!==ae||s.children==="v-if"){if(t)return;t=s}}else return}return t}const Ll=e=>{let t;for(const n in e)(n==="class"||n==="style"||Xt(n))&&((t||(t={}))[n]=e[n]);return t},Ul=(e,t)=>{const n={};for(const s in e)(!Os(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Hl(e,t,n){const{props:s,children:r,component:l}=e,{props:i,children:o,patchFlag:f}=t,a=l.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&f>=0){if(f&1024)return!0;if(f&16)return s?hs(s,i,a):!!i;if(f&8){const g=t.dynamicProps;for(let d=0;d<g.length;d++){const _=g[d];if(i[_]!==s[_]&&!nn(a,_))return!0}}}else return(r||o)&&(!o||!o.$stable)?!0:s===i?!1:s?i?hs(s,i,a):!0:!!i;return!1}function hs(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const l=s[r];if(t[l]!==e[l]&&!nn(n,l))return!0}return!1}function Yn({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const Dl=e=>e.__isSuspense,$l={name:"Suspense",__isSuspense:!0,process(e,t,n,s,r,l,i,o,f,a){e==null?Kl(t,n,s,r,l,i,o,f,a):Wl(e,t,n,s,r,i,o,f,a)},hydrate:Yl,create:qn,normalize:ql},so=$l;function Tt(e,t){const n=e.props&&e.props[t];W(n)&&n()}function Kl(e,t,n,s,r,l,i,o,f){const{p:a,o:{createElement:g}}=f,d=g("div"),_=e.suspense=qn(e,r,s,t,d,n,l,i,o,f);a(null,_.pendingBranch=e.ssContent,d,null,s,_,l,i),_.deps>0?(Tt(e,"onPending"),Tt(e,"onFallback"),a(null,e.ssFallback,t,n,s,null,l,i),rt(_,e.ssFallback)):_.resolve()}function Wl(e,t,n,s,r,l,i,o,{p:f,um:a,o:{createElement:g}}){const d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;const _=t.ssContent,O=t.ssFallback,{activeBranch:k,pendingBranch:M,isInFallback:S,isHydrating:y}=d;if(M)d.pendingBranch=_,Pe(_,M)?(f(M,_,d.hiddenContainer,null,r,d,l,i,o),d.deps<=0?d.resolve():S&&(f(k,O,n,s,r,null,l,i,o),rt(d,O))):(d.pendingId++,y?(d.isHydrating=!1,d.activeBranch=M):a(M,r,d),d.deps=0,d.effects.length=0,d.hiddenContainer=g("div"),S?(f(null,_,d.hiddenContainer,null,r,d,l,i,o),d.deps<=0?d.resolve():(f(k,O,n,s,r,null,l,i,o),rt(d,O))):k&&Pe(_,k)?(f(k,_,n,s,r,d,l,i,o),d.resolve(!0)):(f(null,_,d.hiddenContainer,null,r,d,l,i,o),d.deps<=0&&d.resolve()));else if(k&&Pe(_,k))f(k,_,n,s,r,d,l,i,o),rt(d,_);else if(Tt(t,"onPending"),d.pendingBranch=_,d.pendingId++,f(null,_,d.hiddenContainer,null,r,d,l,i,o),d.deps<=0)d.resolve();else{const{timeout:p,pendingId:C}=d;p>0?setTimeout(()=>{d.pendingId===C&&d.fallback(O)},p):p===0&&d.fallback(O)}}function qn(e,t,n,s,r,l,i,o,f,a,g=!1){const{p:d,m:_,um:O,n:k,o:{parentNode:M,remove:S}}=a,y=e.props?Yr(e.props.timeout):void 0,p={vnode:e,parent:t,parentComponent:n,isSVG:i,container:s,hiddenContainer:r,anchor:l,deps:0,pendingId:0,timeout:typeof y=="number"?y:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:g,isUnmounted:!1,effects:[],resolve(C=!1){const{vnode:P,activeBranch:B,pendingBranch:U,pendingId:j,effects:T,parentComponent:H,container:L}=p;if(p.isHydrating)p.isHydrating=!1;else if(!C){const Z=B&&U.transition&&U.transition.mode==="out-in";Z&&(B.transition.afterLeave=()=>{j===p.pendingId&&_(U,L,N,0)});let{anchor:N}=p;B&&(N=k(B),O(B,H,p,!0)),Z||_(U,L,N,0)}rt(p,U),p.pendingBranch=null,p.isInFallback=!1;let $=p.parent,re=!1;for(;$;){if($.pendingBranch){$.effects.push(...T),re=!0;break}$=$.parent}re||zs(T),p.effects=[],Tt(P,"onResolve")},fallback(C){if(!p.pendingBranch)return;const{vnode:P,activeBranch:B,parentComponent:U,container:j,isSVG:T}=p;Tt(P,"onFallback");const H=k(B),L=()=>{p.isInFallback&&(d(null,C,j,H,U,null,T,o,f),rt(p,C))},$=C.transition&&C.transition.mode==="out-in";$&&(B.transition.afterLeave=L),p.isInFallback=!0,O(B,U,null,!0),$||L()},move(C,P,B){p.activeBranch&&_(p.activeBranch,C,P,B),p.container=C},next(){return p.activeBranch&&k(p.activeBranch)},registerDep(C,P){const B=!!p.pendingBranch;B&&p.deps++;const U=C.vnode.el;C.asyncDep.catch(j=>{Ft(j,C,0)}).then(j=>{if(C.isUnmounted||p.isUnmounted||p.pendingId!==C.suspenseId)return;C.asyncResolved=!0;const{vnode:T}=C;On(C,j,!1),U&&(T.el=U);const H=!U&&C.subTree.el;P(C,T,M(U||C.subTree.el),U?null:k(C.subTree),p,i,f),H&&S(H),Yn(C,T.el),B&&--p.deps===0&&p.resolve()})},unmount(C,P){p.isUnmounted=!0,p.activeBranch&&O(p.activeBranch,n,C,P),p.pendingBranch&&O(p.pendingBranch,n,C,P)}};return p}function Yl(e,t,n,s,r,l,i,o,f){const a=t.suspense=qn(t,s,n,e.parentNode,document.createElement("div"),null,r,l,i,o,!0),g=f(e,a.pendingBranch=t.ssContent,n,a,l,i);return a.deps===0&&a.resolve(),g}function ql(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=gs(s?n.default:n),e.ssFallback=s?gs(n.fallback):ce(ae)}function gs(e){let t;if(W(e)){const n=ct&&e._c;n&&(e._d=!1,Xn()),e=e(),n&&(e._d=!0,t=Ce,Tr())}return K(e)&&(e=jl(e)),e=xe(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function nr(e,t){t&&t.pendingBranch?K(e)?t.effects.push(...e):t.effects.push(e):zs(e)}function rt(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e,r=n.el=t.el;s&&s.subTree===n&&(s.vnode.el=r,Yn(s,r))}function Jl(e,t){if(ne){let n=ne.provides;const s=ne.parent&&ne.parent.provides;s===n&&(n=ne.provides=Object.create(s)),n[e]=t}}function Lt(e,t,n=!1){const s=ne||oe;if(s){const r=s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&W(t)?t.call(s.proxy):t}}function ro(e,t){return Jn(e,null,t)}const vt={};function hn(e,t,n){return Jn(e,t,n)}function Jn(e,t,{immediate:n,deep:s,flush:r,onTrack:l,onTrigger:i}=G){const o=Vr()===ne?.scope?ne:null;let f,a=!1,g=!1;if(ie(e)?(f=()=>e.value,a=Yt(e)):nt(e)?(f=()=>e,s=!0):K(e)?(g=!0,a=e.some(C=>nt(C)||Yt(C)),f=()=>e.map(C=>{if(ie(C))return C.value;if(nt(C))return Ze(C);if(W(C))return $e(C,o,2)})):W(e)?t?f=()=>$e(e,o,2):f=()=>{if(!(o&&o.isUnmounted))return d&&d(),Fe(e,o,3,[_])}:f=Ee,t&&s){const C=f;f=()=>Ze(C())}let d,_=C=>{d=y.onStop=()=>{$e(C,o,4)}},O;if(Et)if(_=Ee,t?n&&Fe(t,o,3,[f(),g?[]:void 0,_]):f(),r==="sync"){const C=Hi();O=C.__watcherHandles||(C.__watcherHandles=[])}else return Ee;let k=g?new Array(e.length).fill(vt):vt;const M=()=>{if(y.active)if(t){const C=y.run();(s||a||(g?C.some((P,B)=>bt(P,k[B])):bt(C,k)))&&(d&&d(),Fe(t,o,3,[C,k===vt?void 0:g&&k[0]===vt?[]:k,_]),k=C)}else y.run()};M.allowRecurse=!!t;let S;r==="sync"?S=M:r==="post"?S=()=>de(M,o&&o.suspense):(M.pre=!0,o&&(M.id=o.uid),S=()=>Wn(M));const y=new Nn(f,S);t?n?M():k=y.run():r==="post"?de(y.run.bind(y),o&&o.suspense):y.run();const p=()=>{y.stop(),o&&o.scope&&Bn(o.scope.effects,y)};return O&&O.push(p),p}function Sl(e,t,n){const s=this.proxy,r=le(e)?e.includes(".")?sr(s,e):()=>s[e]:e.bind(s,s);let l;W(t)?l=t:(l=t.handler,n=t);const i=ne;ft(this);const o=Jn(r,l.bind(s),n);return i?ft(i):Xe(),o}function sr(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}function Ze(e,t){if(!ee(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),ie(e))Ze(e.value,t);else if(K(e))for(let n=0;n<e.length;n++)Ze(e[n],t);else if(Ms(e)||tt(e))e.forEach(n=>{Ze(n,t)});else if(Ps(e))for(const n in e)Ze(e[n],t);return e}function Vl(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return or(()=>{e.isMounted=!0}),cr(()=>{e.isUnmounting=!0}),e}const be=[Function,Array],Zl={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:be,onEnter:be,onAfterEnter:be,onEnterCancelled:be,onBeforeLeave:be,onLeave:be,onAfterLeave:be,onLeaveCancelled:be,onBeforeAppear:be,onAppear:be,onAfterAppear:be,onAppearCancelled:be},setup(e,{slots:t}){const n=Bi(),s=Vl();let r;return()=>{const l=t.default&&lr(t.default(),!0);if(!l||!l.length)return;let i=l[0];if(l.length>1){for(const M of l)if(M.type!==ae){i=M;break}}const o=J(e),{mode:f}=o;if(s.isLeaving)return gn(i);const a=ps(i);if(!a)return gn(i);const g=xn(a,o,s,n);Cn(a,g);const d=n.subTree,_=d&&ps(d);let O=!1;const{getTransitionKey:k}=a.type;if(k){const M=k();r===void 0?r=M:M!==r&&(r=M,O=!0)}if(_&&_.type!==ae&&(!Pe(a,_)||O)){const M=xn(_,o,s,n);if(Cn(_,M),f==="out-in")return s.isLeaving=!0,M.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&n.update()},gn(i);f==="in-out"&&a.type!==ae&&(M.delayLeave=(S,y,p)=>{const C=rr(s,_);C[String(_.key)]=_,S._leaveCb=()=>{y(),S._leaveCb=void 0,delete g.delayedLeave},g.delayedLeave=p})}return i}}},lo=Zl;function rr(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function xn(e,t,n,s){const{appear:r,mode:l,persisted:i=!1,onBeforeEnter:o,onEnter:f,onAfterEnter:a,onEnterCancelled:g,onBeforeLeave:d,onLeave:_,onAfterLeave:O,onLeaveCancelled:k,onBeforeAppear:M,onAppear:S,onAfterAppear:y,onAppearCancelled:p}=t,C=String(e.key),P=rr(n,e),B=(T,H)=>{T&&Fe(T,s,9,H)},U=(T,H)=>{const L=H[1];B(T,H),K(T)?T.every($=>$.length<=1)&&L():T.length<=1&&L()},j={mode:l,persisted:i,beforeEnter(T){let H=o;if(!n.isMounted)if(r)H=M||o;else return;T._leaveCb&&T._leaveCb(!0);const L=P[C];L&&Pe(e,L)&&L.el._leaveCb&&L.el._leaveCb(),B(H,[T])},enter(T){let H=f,L=a,$=g;if(!n.isMounted)if(r)H=S||f,L=y||a,$=p||g;else return;let re=!1;const Z=T._enterCb=N=>{re||(re=!0,N?B($,[T]):B(L,[T]),j.delayedLeave&&j.delayedLeave(),T._enterCb=void 0)};H?U(H,[T,Z]):Z()},leave(T,H){const L=String(e.key);if(T._enterCb&&T._enterCb(!0),n.isUnmounting)return H();B(d,[T]);let $=!1;const re=T._leaveCb=Z=>{$||($=!0,H(),Z?B(k,[T]):B(O,[T]),T._leaveCb=void 0,P[L]===e&&delete P[L])};P[L]=e,_?U(_,[T,re]):re()},clone(T){return xn(T,t,n,s)}};return j}function gn(e){if(sn(e))return e=We(e),e.children=null,e}function ps(e){return sn(e)?e.children?e.children[0]:void 0:e}function Cn(e,t){e.shapeFlag&6&&e.component?Cn(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function lr(e,t=!1,n){let s=[],r=0;for(let l=0;l<e.length;l++){let i=e[l];const o=n==null?i.key:String(n)+String(i.key!=null?i.key:l);i.type===he?(i.patchFlag&128&&r++,s=s.concat(lr(i.children,t,o))):(t||i.type!==ae)&&s.push(o!=null?We(i,{key:o}):i)}if(r>1)for(let l=0;l<s.length;l++)s[l].patchFlag=-2;return s}function io(e){return W(e)?{setup:e,name:e.name}:e}const lt=e=>!!e.type.__asyncLoader,sn=e=>e.type.__isKeepAlive;function Ql(e,t){ir(e,"a",t)}function Xl(e,t){ir(e,"da",t)}function ir(e,t,n=ne){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(rn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)sn(r.parent.vnode)&&zl(s,t,n,r),r=r.parent}}function zl(e,t,n,s){const r=rn(t,e,s,!0);fr(()=>{Bn(s[t],r)},n)}function rn(e,t,n=ne,s=!1){if(n){const r=n[e]||(n[e]=[]),l=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;ut(),ft(n);const o=Fe(t,n,e,i);return Xe(),at(),o});return s?r.unshift(l):r.push(l),l}}const je=e=>(t,n=ne)=>(!Et||e==="sp")&&rn(e,(...s)=>t(...s),n),Gl=je("bm"),or=je("m"),ei=je("bu"),ti=je("u"),cr=je("bum"),fr=je("um"),ni=je("sp"),si=je("rtg"),ri=je("rtc");function li(e,t=ne){rn("ec",e,t)}function oo(e,t){const n=oe;if(n===null)return e;const s=on(n)||n.proxy,r=e.dirs||(e.dirs=[]);for(let l=0;l<t.length;l++){let[i,o,f,a=G]=t[l];i&&(W(i)&&(i={mounted:i,updated:i}),i.deep&&Ze(o),r.push({dir:i,instance:s,value:o,oldValue:void 0,arg:f,modifiers:a}))}return e}function Ie(e,t,n,s){const r=e.dirs,l=t&&t.dirs;for(let i=0;i<r.length;i++){const o=r[i];l&&(o.oldValue=l[i].value);let f=o.dir[s];f&&(ut(),Fe(f,n,8,[e.el,o,e,t]),at())}}const Sn="components";function co(e,t){return ar(Sn,e,!0,t)||e}const ur=Symbol();function fo(e){return le(e)?ar(Sn,e,!1)||e:e||ur}function ar(e,t,n=!0,s=!1){const r=oe||ne;if(r){const l=r.type;if(e===Sn){const o=Ni(l,!1);if(o&&(o===t||o===ke(t)||o===vn(ke(t))))return l}const i=_s(r[e]||l[e],t)||_s(r.appContext[e],t);return!i&&s?l:i}}function _s(e,t){return e&&(e[t]||e[ke(t)]||e[vn(ke(t))])}function uo(e,t,n,s){let r;const l=n&&n[s];if(K(e)||le(e)){r=new Array(e.length);for(let i=0,o=e.length;i<o;i++)r[i]=t(e[i],i,void 0,l&&l[i])}else if(typeof e=="number"){r=new Array(e);for(let i=0;i<e;i++)r[i]=t(i+1,i,void 0,l&&l[i])}else if(ee(e))if(e[Symbol.iterator])r=Array.from(e,(i,o)=>t(i,o,void 0,l&&l[o]));else{const i=Object.keys(e);r=new Array(i.length);for(let o=0,f=i.length;o<f;o++){const a=i[o];r[o]=t(e[a],a,o,l&&l[o])}}else r=[];return n&&(n[s]=r),r}function ao(e,t,n={},s,r){if(oe.isCE||oe.parent&<(oe.parent)&&oe.parent.isCE)return t!=="default"&&(n.name=t),ce("slot",n,s&&s());let l=e[t];l&&l._c&&(l._d=!1),Xn();const i=l&&dr(l(n)),o=Er(he,{key:n.key||i&&i.key||`_${t}`},i||(s?s():[]),i&&e._===1?64:-2);return!r&&o.scopeId&&(o.slotScopeIds=[o.scopeId+"-s"]),l&&l._c&&(l._d=!0),o}function dr(e){return e.some(t=>wt(t)?!(t.type===ae||t.type===he&&!dr(t.children)):!0)?e:null}const Tn=e=>e?Mr(e)?on(e)||e.proxy:Tn(e.parent):null,pt=ge(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Tn(e.parent),$root:e=>Tn(e.root),$emit:e=>e.emit,$options:e=>Vn(e),$forceUpdate:e=>e.f||(e.f=()=>Wn(e.update)),$nextTick:e=>e.n||(e.n=Bl.bind(e.proxy)),$watch:e=>Sl.bind(e)}),pn=(e,t)=>e!==G&&!e.__isScriptSetup&&q(e,t),ii={get({_:e},t){const{ctx:n,setupState:s,data:r,props:l,accessCache:i,type:o,appContext:f}=e;let a;if(t[0]!=="$"){const O=i[t];if(O!==void 0)switch(O){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return l[t]}else{if(pn(s,t))return i[t]=1,s[t];if(r!==G&&q(r,t))return i[t]=2,r[t];if((a=e.propsOptions[0])&&q(a,t))return i[t]=3,l[t];if(n!==G&&q(n,t))return i[t]=4,n[t];wn&&(i[t]=0)}}const g=pt[t];let d,_;if(g)return t==="$attrs"&&pe(e,"get",t),g(e);if((d=o.__cssModules)&&(d=d[t]))return d;if(n!==G&&q(n,t))return i[t]=4,n[t];if(_=f.config.globalProperties,q(_,t))return _[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:l}=e;return pn(r,t)?(r[t]=n,!0):s!==G&&q(s,t)?(s[t]=n,!0):q(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(l[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:l}},i){let o;return!!n[i]||e!==G&&q(e,i)||pn(t,i)||(o=l[0])&&q(o,i)||q(s,i)||q(pt,i)||q(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:q(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let wn=!0;function oi(e){const t=Vn(e),n=e.proxy,s=e.ctx;wn=!1,t.beforeCreate&&ms(t.beforeCreate,e,"bc");const{data:r,computed:l,methods:i,watch:o,provide:f,inject:a,created:g,beforeMount:d,mounted:_,beforeUpdate:O,updated:k,activated:M,deactivated:S,beforeDestroy:y,beforeUnmount:p,destroyed:C,unmounted:P,render:B,renderTracked:U,renderTriggered:j,errorCaptured:T,serverPrefetch:H,expose:L,inheritAttrs:$,components:re,directives:Z,filters:N}=t;if(a&&ci(a,s,null,e.appContext.config.unwrapInjectedRef),i)for(const te in i){const Q=i[te];W(Q)&&(s[te]=Q.bind(n))}if(r){const te=r.call(n,n);ee(te)&&(e.data=Hn(te))}if(wn=!0,l)for(const te in l){const Q=l[te],Ye=W(Q)?Q.bind(n,n):W(Q.get)?Q.get.bind(n,n):Ee,At=!W(Q)&&W(Q.set)?Q.set.bind(n):Ee,qe=Li({get:Ye,set:At});Object.defineProperty(s,te,{enumerable:!0,configurable:!0,get:()=>qe.value,set:Oe=>qe.value=Oe})}if(o)for(const te in o)hr(o[te],s,n,te);if(f){const te=W(f)?f.call(n):f;Reflect.ownKeys(te).forEach(Q=>{Jl(Q,te[Q])})}g&&ms(g,e,"c");function z(te,Q){K(Q)?Q.forEach(Ye=>te(Ye.bind(n))):Q&&te(Q.bind(n))}if(z(Gl,d),z(or,_),z(ei,O),z(ti,k),z(Ql,M),z(Xl,S),z(li,T),z(ri,U),z(si,j),z(cr,p),z(fr,P),z(ni,H),K(L))if(L.length){const te=e.exposed||(e.exposed={});L.forEach(Q=>{Object.defineProperty(te,Q,{get:()=>n[Q],set:Ye=>n[Q]=Ye})})}else e.exposed||(e.exposed={});B&&e.render===Ee&&(e.render=B),$!=null&&(e.inheritAttrs=$),re&&(e.components=re),Z&&(e.directives=Z)}function ci(e,t,n=Ee,s=!1){K(e)&&(e=En(e));for(const r in e){const l=e[r];let i;ee(l)?"default"in l?i=Lt(l.from||r,l.default,!0):i=Lt(l.from||r):i=Lt(l),ie(i)&&s?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[r]=i}}function ms(e,t,n){Fe(K(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function hr(e,t,n,s){const r=s.includes(".")?sr(n,s):()=>n[s];if(le(e)){const l=t[e];W(l)&&hn(r,l)}else if(W(e))hn(r,e.bind(n));else if(ee(e))if(K(e))e.forEach(l=>hr(l,t,n,s));else{const l=W(e.handler)?e.handler.bind(n):t[e.handler];W(l)&&hn(r,l,e)}}function Vn(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:l,config:{optionMergeStrategies:i}}=e.appContext,o=l.get(t);let f;return o?f=o:!r.length&&!n&&!s?f=t:(f={},r.length&&r.forEach(a=>St(f,a,i,!0)),St(f,t,i)),ee(t)&&l.set(t,f),f}function St(e,t,n,s=!1){const{mixins:r,extends:l}=t;l&&St(e,l,n,!0),r&&r.forEach(i=>St(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const o=fi[i]||n&&n[i];e[i]=o?o(e[i],t[i]):t[i]}return e}const fi={data:bs,props:Se,emits:Se,methods:Se,computed:Se,beforeCreate:ue,created:ue,beforeMount:ue,mounted:ue,beforeUpdate:ue,updated:ue,beforeDestroy:ue,beforeUnmount:ue,destroyed:ue,unmounted:ue,activated:ue,deactivated:ue,errorCaptured:ue,serverPrefetch:ue,components:Se,directives:Se,watch:ai,provide:bs,inject:ui};function bs(e,t){return t?e?function(){return ge(W(e)?e.call(this,this):e,W(t)?t.call(this,this):t)}:t:e}function ui(e,t){return Se(En(e),En(t))}function En(e){if(K(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ue(e,t){return e?[...new Set([].concat(e,t))]:t}function Se(e,t){return e?ge(ge(Object.create(null),e),t):t}function ai(e,t){if(!e)return t;if(!t)return e;const n=ge(Object.create(null),e);for(const s in t)n[s]=ue(e[s],t[s]);return n}function di(e,t,n,s=!1){const r={},l={};Kt(l,ln,1),e.propsDefaults=Object.create(null),gr(e,t,r,l);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:Tl(r):e.type.props?e.props=r:e.props=l,e.attrs=l}function hi(e,t,n,s){const{props:r,attrs:l,vnode:{patchFlag:i}}=e,o=J(r),[f]=e.propsOptions;let a=!1;if((s||i>0)&&!(i&16)){if(i&8){const g=e.vnode.dynamicProps;for(let d=0;d<g.length;d++){let _=g[d];if(nn(e.emitsOptions,_))continue;const O=t[_];if(f)if(q(l,_))O!==l[_]&&(l[_]=O,a=!0);else{const k=ke(_);r[k]=Fn(f,o,k,O,e,!1)}else O!==l[_]&&(l[_]=O,a=!0)}}}else{gr(e,t,r,l)&&(a=!0);let g;for(const d in o)(!t||!q(t,d)&&((g=en(d))===d||!q(t,g)))&&(f?n&&(n[d]!==void 0||n[g]!==void 0)&&(r[d]=Fn(f,o,d,void 0,e,!0)):delete r[d]);if(l!==o)for(const d in l)(!t||!q(t,d))&&(delete l[d],a=!0)}a&&Ne(e,"set","$attrs")}function gr(e,t,n,s){const[r,l]=e.propsOptions;let i=!1,o;if(t)for(let f in t){if(gt(f))continue;const a=t[f];let g;r&&q(r,g=ke(f))?!l||!l.includes(g)?n[g]=a:(o||(o={}))[g]=a:nn(e.emitsOptions,f)||(!(f in s)||a!==s[f])&&(s[f]=a,i=!0)}if(l){const f=J(n),a=o||G;for(let g=0;g<l.length;g++){const d=l[g];n[d]=Fn(r,f,d,a[d],e,!q(a,d))}}return i}function Fn(e,t,n,s,r,l){const i=e[n];if(i!=null){const o=q(i,"default");if(o&&s===void 0){const f=i.default;if(i.type!==Function&&W(f)){const{propsDefaults:a}=r;n in a?s=a[n]:(ft(r),s=a[n]=f.call(null,t),Xe())}else s=f}i[0]&&(l&&!o?s=!1:i[1]&&(s===""||s===en(n))&&(s=!0))}return s}function pr(e,t,n=!1){const s=t.propsCache,r=s.get(e);if(r)return r;const l=e.props,i={},o=[];let f=!1;if(!W(e)){const g=d=>{f=!0;const[_,O]=pr(d,t,!0);ge(i,_),O&&o.push(...O)};!n&&t.mixins.length&&t.mixins.forEach(g),e.extends&&g(e.extends),e.mixins&&e.mixins.forEach(g)}if(!l&&!f)return ee(e)&&s.set(e,et),et;if(K(l))for(let g=0;g<l.length;g++){const d=ke(l[g]);ys(d)&&(i[d]=G)}else if(l)for(const g in l){const d=ke(g);if(ys(d)){const _=l[g],O=i[d]=K(_)||W(_)?{type:_}:Object.assign({},_);if(O){const k=Ts(Boolean,O.type),M=Ts(String,O.type);O[0]=k>-1,O[1]=M<0||k<M,(k>-1||q(O,"default"))&&o.push(d)}}}const a=[i,o];return ee(e)&&s.set(e,a),a}function ys(e){return e[0]!=="$"}function xs(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Cs(e,t){return xs(e)===xs(t)}function Ts(e,t){return K(t)?t.findIndex(n=>Cs(n,e)):W(t)&&Cs(t,e)?0:-1}const _r=e=>e[0]==="_"||e==="$stable",Zn=e=>K(e)?e.map(xe):[xe(e)],gi=(e,t,n)=>{if(t._n)return t;const s=Nl((...r)=>Zn(t(...r)),n);return s._c=!1,s},mr=(e,t,n)=>{const s=e._ctx;for(const r in e){if(_r(r))continue;const l=e[r];if(W(l))t[r]=gi(r,l,s);else if(l!=null){const i=Zn(l);t[r]=()=>i}}},br=(e,t)=>{const n=Zn(t);e.slots.default=()=>n},pi=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=J(t),Kt(t,"_",n)):mr(t,e.slots={})}else e.slots={},t&&br(e,t);Kt(e.slots,ln,1)},_i=(e,t,n)=>{const{vnode:s,slots:r}=e;let l=!0,i=G;if(s.shapeFlag&32){const o=t._;o?n&&o===1?l=!1:(ge(r,t),!n&&o===1&&delete r._):(l=!t.$stable,mr(t,r)),i=t}else t&&(br(e,t),i={default:1});if(l)for(const o in r)!_r(o)&&!(o in i)&&delete r[o]};function yr(){return{app:null,config:{isNativeTag:Lr,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let mi=0;function bi(e,t){return function(s,r=null){W(s)||(s=Object.assign({},s)),r!=null&&!ee(r)&&(r=null);const l=yr(),i=new Set;let o=!1;const f=l.app={_uid:mi++,_component:s,_props:r,_container:null,_context:l,_instance:null,version:Di,get config(){return l.config},set config(a){},use(a,...g){return i.has(a)||(a&&W(a.install)?(i.add(a),a.install(f,...g)):W(a)&&(i.add(a),a(f,...g))),f},mixin(a){return l.mixins.includes(a)||l.mixins.push(a),f},component(a,g){return g?(l.components[a]=g,f):l.components[a]},directive(a,g){return g?(l.directives[a]=g,f):l.directives[a]},mount(a,g,d){if(!o){const _=ce(s,r);return _.appContext=l,g&&t?t(_,a):e(_,a,d),o=!0,f._container=a,a.__vue_app__=f,on(_.component)||_.component.proxy}},unmount(){o&&(e(null,f._container),delete f._container.__vue_app__)},provide(a,g){return l.provides[a]=g,f}};return f}}function Vt(e,t,n,s,r=!1){if(K(e)){e.forEach((_,O)=>Vt(_,t&&(K(t)?t[O]:t),n,s,r));return}if(lt(s)&&!r)return;const l=s.shapeFlag&4?on(s.component)||s.component.proxy:s.el,i=r?null:l,{i:o,r:f}=e,a=t&&t.r,g=o.refs===G?o.refs={}:o.refs,d=o.setupState;if(a!=null&&a!==f&&(le(a)?(g[a]=null,q(d,a)&&(d[a]=null)):ie(a)&&(a.value=null)),W(f))$e(f,o,12,[i,g]);else{const _=le(f),O=ie(f);if(_||O){const k=()=>{if(e.f){const M=_?q(d,f)?d[f]:g[f]:f.value;r?K(M)&&Bn(M,l):K(M)?M.includes(l)||M.push(l):_?(g[f]=[l],q(d,f)&&(d[f]=g[f])):(f.value=[l],e.k&&(g[e.k]=f.value))}else _?(g[f]=i,q(d,f)&&(d[f]=i)):O&&(f.value=i,e.k&&(g[e.k]=i))};i?(k.id=-1,de(k,n)):k()}}}let Ue=!1;const kt=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",Nt=e=>e.nodeType===8;function yi(e){const{mt:t,p:n,o:{patchProp:s,createText:r,nextSibling:l,parentNode:i,remove:o,insert:f,createComment:a}}=e,g=(y,p)=>{if(!p.hasChildNodes()){n(null,y,p),qt(),p._vnode=y;return}Ue=!1,d(p.firstChild,y,null,null,null),qt(),p._vnode=y,Ue&&console.error("Hydration completed but contains mismatches.")},d=(y,p,C,P,B,U=!1)=>{const j=Nt(y)&&y.data==="[",T=()=>M(y,p,C,P,B,j),{type:H,ref:L,shapeFlag:$,patchFlag:re}=p;let Z=y.nodeType;p.el=y,re===-2&&(U=!1,p.dynamicChildren=null);let N=null;switch(H){case ot:Z!==3?p.children===""?(f(p.el=r(""),i(y),y),N=y):N=T():(y.data!==p.children&&(Ue=!0,y.data=p.children),N=l(y));break;case ae:Z!==8||j?N=T():N=l(y);break;case Ut:if(j&&(y=l(y),Z=y.nodeType),Z===1||Z===3){N=y;const Ae=!p.children.length;for(let z=0;z<p.staticCount;z++)Ae&&(p.children+=N.nodeType===1?N.outerHTML:N.data),z===p.staticCount-1&&(p.anchor=N),N=l(N);return j?l(N):N}else T();break;case he:j?N=k(y,p,C,P,B,U):N=T();break;default:if($&1)Z!==1||p.type.toLowerCase()!==y.tagName.toLowerCase()?N=T():N=_(y,p,C,P,B,U);else if($&6){p.slotScopeIds=B;const Ae=i(y);if(t(p,Ae,null,C,P,kt(Ae),U),N=j?S(y):l(y),N&&Nt(N)&&N.data==="teleport end"&&(N=l(N)),lt(p)){let z;j?(z=ce(he),z.anchor=N?N.previousSibling:Ae.lastChild):z=y.nodeType===3?Or(""):ce("div"),z.el=y,p.component.subTree=z}}else $&64?Z!==8?N=T():N=p.type.hydrate(y,p,C,P,B,U,e,O):$&128&&(N=p.type.hydrate(y,p,C,P,kt(i(y)),B,U,e,d))}return L!=null&&Vt(L,null,P,p),N},_=(y,p,C,P,B,U)=>{U=U||!!p.dynamicChildren;const{type:j,props:T,patchFlag:H,shapeFlag:L,dirs:$}=p,re=j==="input"&&$||j==="option";if(re||H!==-1){if($&&Ie(p,null,C,"created"),T)if(re||!U||H&48)for(const N in T)(re&&N.endsWith("value")||Xt(N)&&!gt(N))&&s(y,N,null,T[N],!1,void 0,C);else T.onClick&&s(y,"onClick",null,T.onClick,!1,void 0,C);let Z;if((Z=T&&T.onVnodeBeforeMount)&&ye(Z,C,p),$&&Ie(p,null,C,"beforeMount"),((Z=T&&T.onVnodeMounted)||$)&&nr(()=>{Z&&ye(Z,C,p),$&&Ie(p,null,C,"mounted")},P),L&16&&!(T&&(T.innerHTML||T.textContent))){let N=O(y.firstChild,p,y,C,P,B,U);for(;N;){Ue=!0;const Ae=N;N=N.nextSibling,o(Ae)}}else L&8&&y.textContent!==p.children&&(Ue=!0,y.textContent=p.children)}return y.nextSibling},O=(y,p,C,P,B,U,j)=>{j=j||!!p.dynamicChildren;const T=p.children,H=T.length;for(let L=0;L<H;L++){const $=j?T[L]:T[L]=xe(T[L]);if(y)y=d(y,$,P,B,U,j);else{if($.type===ot&&!$.children)continue;Ue=!0,n(null,$,C,null,P,B,kt(C),U)}}return y},k=(y,p,C,P,B,U)=>{const{slotScopeIds:j}=p;j&&(B=B?B.concat(j):j);const T=i(y),H=O(l(y),p,T,C,P,B,U);return H&&Nt(H)&&H.data==="]"?l(p.anchor=H):(Ue=!0,f(p.anchor=a("]"),T,H),H)},M=(y,p,C,P,B,U)=>{if(Ue=!0,p.el=null,U){const H=S(y);for(;;){const L=l(y);if(L&&L!==H)o(L);else break}}const j=l(y),T=i(y);return o(y),n(null,p,T,j,C,P,kt(T),B),j},S=y=>{let p=0;for(;y;)if(y=l(y),y&&Nt(y)&&(y.data==="["&&p++,y.data==="]")){if(p===0)return l(y);p--}return y};return[g,d]}const de=nr;function ho(e){return xr(e)}function go(e){return xr(e,yi)}function xr(e,t){const n=qr();n.__VUE__=!0;const{insert:s,remove:r,patchProp:l,createElement:i,createText:o,createComment:f,setText:a,setElementText:g,parentNode:d,nextSibling:_,setScopeId:O=Ee,insertStaticContent:k}=e,M=(c,u,h,b=null,m=null,E=null,A=!1,w=null,F=!!u.dynamicChildren)=>{if(c===u)return;c&&!Pe(c,u)&&(b=Ot(c),Oe(c,m,E,!0),c=null),u.patchFlag===-2&&(F=!1,u.dynamicChildren=null);const{type:x,ref:R,shapeFlag:I}=u;switch(x){case ot:S(c,u,h,b);break;case ae:y(c,u,h,b);break;case Ut:c==null&&p(u,h,b,A);break;case he:re(c,u,h,b,m,E,A,w,F);break;default:I&1?B(c,u,h,b,m,E,A,w,F):I&6?Z(c,u,h,b,m,E,A,w,F):(I&64||I&128)&&x.process(c,u,h,b,m,E,A,w,F,ze)}R!=null&&m&&Vt(R,c&&c.ref,E,u||c,!u)},S=(c,u,h,b)=>{if(c==null)s(u.el=o(u.children),h,b);else{const m=u.el=c.el;u.children!==c.children&&a(m,u.children)}},y=(c,u,h,b)=>{c==null?s(u.el=f(u.children||""),h,b):u.el=c.el},p=(c,u,h,b)=>{[c.el,c.anchor]=k(c.children,u,h,b,c.el,c.anchor)},C=({el:c,anchor:u},h,b)=>{let m;for(;c&&c!==u;)m=_(c),s(c,h,b),c=m;s(u,h,b)},P=({el:c,anchor:u})=>{let h;for(;c&&c!==u;)h=_(c),r(c),c=h;r(u)},B=(c,u,h,b,m,E,A,w,F)=>{A=A||u.type==="svg",c==null?U(u,h,b,m,E,A,w,F):H(c,u,m,E,A,w,F)},U=(c,u,h,b,m,E,A,w)=>{let F,x;const{type:R,props:I,shapeFlag:v,transition:D,dirs:Y}=c;if(F=c.el=i(c.type,E,I&&I.is,I),v&8?g(F,c.children):v&16&&T(c.children,F,null,b,m,E&&R!=="foreignObject",A,w),Y&&Ie(c,null,b,"created"),j(F,c,c.scopeId,A,b),I){for(const V in I)V!=="value"&&!gt(V)&&l(F,V,null,I[V],E,c.children,b,m,Re);"value"in I&&l(F,"value",null,I.value),(x=I.onVnodeBeforeMount)&&ye(x,b,c)}Y&&Ie(c,null,b,"beforeMount");const X=(!m||m&&!m.pendingBranch)&&D&&!D.persisted;X&&D.beforeEnter(F),s(F,u,h),((x=I&&I.onVnodeMounted)||X||Y)&&de(()=>{x&&ye(x,b,c),X&&D.enter(F),Y&&Ie(c,null,b,"mounted")},m)},j=(c,u,h,b,m)=>{if(h&&O(c,h),b)for(let E=0;E<b.length;E++)O(c,b[E]);if(m){let E=m.subTree;if(u===E){const A=m.vnode;j(c,A,A.scopeId,A.slotScopeIds,m.parent)}}},T=(c,u,h,b,m,E,A,w,F=0)=>{for(let x=F;x<c.length;x++){const R=c[x]=w?He(c[x]):xe(c[x]);M(null,R,u,h,b,m,E,A,w)}},H=(c,u,h,b,m,E,A)=>{const w=u.el=c.el;let{patchFlag:F,dynamicChildren:x,dirs:R}=u;F|=c.patchFlag&16;const I=c.props||G,v=u.props||G;let D;h&&Je(h,!1),(D=v.onVnodeBeforeUpdate)&&ye(D,h,u,c),R&&Ie(u,c,h,"beforeUpdate"),h&&Je(h,!0);const Y=m&&u.type!=="foreignObject";if(x?L(c.dynamicChildren,x,w,h,b,Y,E):A||Q(c,u,w,null,h,b,Y,E,!1),F>0){if(F&16)$(w,u,I,v,h,b,m);else if(F&2&&I.class!==v.class&&l(w,"class",null,v.class,m),F&4&&l(w,"style",I.style,v.style,m),F&8){const X=u.dynamicProps;for(let V=0;V<X.length;V++){const se=X[V],Te=I[se],Ge=v[se];(Ge!==Te||se==="value")&&l(w,se,Te,Ge,m,c.children,h,b,Re)}}F&1&&c.children!==u.children&&g(w,u.children)}else!A&&x==null&&$(w,u,I,v,h,b,m);((D=v.onVnodeUpdated)||R)&&de(()=>{D&&ye(D,h,u,c),R&&Ie(u,c,h,"updated")},b)},L=(c,u,h,b,m,E,A)=>{for(let w=0;w<u.length;w++){const F=c[w],x=u[w],R=F.el&&(F.type===he||!Pe(F,x)||F.shapeFlag&70)?d(F.el):h;M(F,x,R,null,b,m,E,A,!0)}},$=(c,u,h,b,m,E,A)=>{if(h!==b){if(h!==G)for(const w in h)!gt(w)&&!(w in b)&&l(c,w,h[w],null,A,u.children,m,E,Re);for(const w in b){if(gt(w))continue;const F=b[w],x=h[w];F!==x&&w!=="value"&&l(c,w,x,F,A,u.children,m,E,Re)}"value"in b&&l(c,"value",h.value,b.value)}},re=(c,u,h,b,m,E,A,w,F)=>{const x=u.el=c?c.el:o(""),R=u.anchor=c?c.anchor:o("");let{patchFlag:I,dynamicChildren:v,slotScopeIds:D}=u;D&&(w=w?w.concat(D):D),c==null?(s(x,h,b),s(R,h,b),T(u.children,h,R,m,E,A,w,F)):I>0&&I&64&&v&&c.dynamicChildren?(L(c.dynamicChildren,v,h,m,E,A,w),(u.key!=null||m&&u===m.subTree)&&Qn(c,u,!0)):Q(c,u,h,R,m,E,A,w,F)},Z=(c,u,h,b,m,E,A,w,F)=>{u.slotScopeIds=w,c==null?u.shapeFlag&512?m.ctx.activate(u,h,b,A,F):N(u,h,b,m,E,A,F):Ae(c,u,F)},N=(c,u,h,b,m,E,A)=>{const w=c.component=Ii(c,b,m);if(sn(c)&&(w.ctx.renderer=ze),Pi(w),w.asyncDep){if(m&&m.registerDep(w,z),!c.el){const F=w.subTree=ce(ae);y(null,F,u,h)}return}z(w,c,u,h,m,E,A)},Ae=(c,u,h)=>{const b=u.component=c.component;if(Hl(c,u,h))if(b.asyncDep&&!b.asyncResolved){te(b,u,h);return}else b.next=u,Rl(b.update),b.update();else u.el=c.el,b.vnode=u},z=(c,u,h,b,m,E,A)=>{const w=()=>{if(c.isMounted){let{next:R,bu:I,u:v,parent:D,vnode:Y}=c,X=R,V;Je(c,!1),R?(R.el=Y.el,te(c,R,A)):R=Y,I&&an(I),(V=R.props&&R.props.onVnodeBeforeUpdate)&&ye(V,D,R,Y),Je(c,!0);const se=dn(c),Te=c.subTree;c.subTree=se,M(Te,se,d(Te.el),Ot(Te),c,m,E),R.el=se.el,X===null&&Yn(c,se.el),v&&de(v,m),(V=R.props&&R.props.onVnodeUpdated)&&de(()=>ye(V,D,R,Y),m)}else{let R;const{el:I,props:v}=u,{bm:D,m:Y,parent:X}=c,V=lt(u);if(Je(c,!1),D&&an(D),!V&&(R=v&&v.onVnodeBeforeMount)&&ye(R,X,u),Je(c,!0),I&&fn){const se=()=>{c.subTree=dn(c),fn(I,c.subTree,c,m,null)};V?u.type.__asyncLoader().then(()=>!c.isUnmounted&&se()):se()}else{const se=c.subTree=dn(c);M(null,se,h,b,c,m,E),u.el=se.el}if(Y&&de(Y,m),!V&&(R=v&&v.onVnodeMounted)){const se=u;de(()=>ye(R,X,se),m)}(u.shapeFlag&256||X&<(X.vnode)&&X.vnode.shapeFlag&256)&&c.a&&de(c.a,m),c.isMounted=!0,u=h=b=null}},F=c.effect=new Nn(w,()=>Wn(x),c.scope),x=c.update=()=>F.run();x.id=c.uid,Je(c,!0),x()},te=(c,u,h)=>{u.component=c;const b=c.vnode.props;c.vnode=u,c.next=null,hi(c,u.props,b,h),_i(c,u.children,h),ut(),ds(),at()},Q=(c,u,h,b,m,E,A,w,F=!1)=>{const x=c&&c.children,R=c?c.shapeFlag:0,I=u.children,{patchFlag:v,shapeFlag:D}=u;if(v>0){if(v&128){At(x,I,h,b,m,E,A,w,F);return}else if(v&256){Ye(x,I,h,b,m,E,A,w,F);return}}D&8?(R&16&&Re(x,m,E),I!==x&&g(h,I)):R&16?D&16?At(x,I,h,b,m,E,A,w,F):Re(x,m,E,!0):(R&8&&g(h,""),D&16&&T(I,h,b,m,E,A,w,F))},Ye=(c,u,h,b,m,E,A,w,F)=>{c=c||et,u=u||et;const x=c.length,R=u.length,I=Math.min(x,R);let v;for(v=0;v<I;v++){const D=u[v]=F?He(u[v]):xe(u[v]);M(c[v],D,h,null,m,E,A,w,F)}x>R?Re(c,m,E,!0,!1,I):T(u,h,b,m,E,A,w,F,I)},At=(c,u,h,b,m,E,A,w,F)=>{let x=0;const R=u.length;let I=c.length-1,v=R-1;for(;x<=I&&x<=v;){const D=c[x],Y=u[x]=F?He(u[x]):xe(u[x]);if(Pe(D,Y))M(D,Y,h,null,m,E,A,w,F);else break;x++}for(;x<=I&&x<=v;){const D=c[I],Y=u[v]=F?He(u[v]):xe(u[v]);if(Pe(D,Y))M(D,Y,h,null,m,E,A,w,F);else break;I--,v--}if(x>I){if(x<=v){const D=v+1,Y=D<R?u[D].el:b;for(;x<=v;)M(null,u[x]=F?He(u[x]):xe(u[x]),h,Y,m,E,A,w,F),x++}}else if(x>v)for(;x<=I;)Oe(c[x],m,E,!0),x++;else{const D=x,Y=x,X=new Map;for(x=Y;x<=v;x++){const _e=u[x]=F?He(u[x]):xe(u[x]);_e.key!=null&&X.set(_e.key,x)}let V,se=0;const Te=v-Y+1;let Ge=!1,ts=0;const dt=new Array(Te);for(x=0;x<Te;x++)dt[x]=0;for(x=D;x<=I;x++){const _e=c[x];if(se>=Te){Oe(_e,m,E,!0);continue}let Me;if(_e.key!=null)Me=X.get(_e.key);else for(V=Y;V<=v;V++)if(dt[V-Y]===0&&Pe(_e,u[V])){Me=V;break}Me===void 0?Oe(_e,m,E,!0):(dt[Me-Y]=x+1,Me>=ts?ts=Me:Ge=!0,M(_e,u[Me],h,null,m,E,A,w,F),se++)}const ns=Ge?xi(dt):et;for(V=ns.length-1,x=Te-1;x>=0;x--){const _e=Y+x,Me=u[_e],ss=_e+1<R?u[_e+1].el:b;dt[x]===0?M(null,Me,h,ss,m,E,A,w,F):Ge&&(V<0||x!==ns[V]?qe(Me,h,ss,2):V--)}}},qe=(c,u,h,b,m=null)=>{const{el:E,type:A,transition:w,children:F,shapeFlag:x}=c;if(x&6){qe(c.component.subTree,u,h,b);return}if(x&128){c.suspense.move(u,h,b);return}if(x&64){A.move(c,u,h,ze);return}if(A===he){s(E,u,h);for(let I=0;I<F.length;I++)qe(F[I],u,h,b);s(c.anchor,u,h);return}if(A===Ut){C(c,u,h);return}if(b!==2&&x&1&&w)if(b===0)w.beforeEnter(E),s(E,u,h),de(()=>w.enter(E),m);else{const{leave:I,delayLeave:v,afterLeave:D}=w,Y=()=>s(E,u,h),X=()=>{I(E,()=>{Y(),D&&D()})};v?v(E,Y,X):X()}else s(E,u,h)},Oe=(c,u,h,b=!1,m=!1)=>{const{type:E,props:A,ref:w,children:F,dynamicChildren:x,shapeFlag:R,patchFlag:I,dirs:v}=c;if(w!=null&&Vt(w,null,h,c,!0),R&256){u.ctx.deactivate(c);return}const D=R&1&&v,Y=!lt(c);let X;if(Y&&(X=A&&A.onVnodeBeforeUnmount)&&ye(X,u,c),R&6)Pr(c.component,h,b);else{if(R&128){c.suspense.unmount(h,b);return}D&&Ie(c,null,u,"beforeUnmount"),R&64?c.type.remove(c,u,h,m,ze,b):x&&(E!==he||I>0&&I&64)?Re(x,u,h,!1,!0):(E===he&&I&384||!m&&R&16)&&Re(F,u,h),b&&Gn(c)}(Y&&(X=A&&A.onVnodeUnmounted)||D)&&de(()=>{X&&ye(X,u,c),D&&Ie(c,null,u,"unmounted")},h)},Gn=c=>{const{type:u,el:h,anchor:b,transition:m}=c;if(u===he){Br(h,b);return}if(u===Ut){P(c);return}const E=()=>{r(h),m&&!m.persisted&&m.afterLeave&&m.afterLeave()};if(c.shapeFlag&1&&m&&!m.persisted){const{leave:A,delayLeave:w}=m,F=()=>A(h,E);w?w(c.el,E,F):F()}else E()},Br=(c,u)=>{let h;for(;c!==u;)h=_(c),r(c),c=h;r(u)},Pr=(c,u,h)=>{const{bum:b,scope:m,update:E,subTree:A,um:w}=c;b&&an(b),m.stop(),E&&(E.active=!1,Oe(A,c,u,h)),w&&de(w,u),de(()=>{c.isUnmounted=!0},u),u&&u.pendingBranch&&!u.isUnmounted&&c.asyncDep&&!c.asyncResolved&&c.suspenseId===u.pendingId&&(u.deps--,u.deps===0&&u.resolve())},Re=(c,u,h,b=!1,m=!1,E=0)=>{for(let A=E;A<c.length;A++)Oe(c[A],u,h,b,m)},Ot=c=>c.shapeFlag&6?Ot(c.component.subTree):c.shapeFlag&128?c.suspense.next():_(c.anchor||c.el),es=(c,u,h)=>{c==null?u._vnode&&Oe(u._vnode,null,null,!0):M(u._vnode||null,c,u,null,null,null,h),ds(),qt(),u._vnode=c},ze={p:M,um:Oe,m:qe,r:Gn,mt:N,mc:T,pc:Q,pbc:L,n:Ot,o:e};let cn,fn;return t&&([cn,fn]=t(ze)),{render:es,hydrate:cn,createApp:bi(es,cn)}}function Je({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Qn(e,t,n=!1){const s=e.children,r=t.children;if(K(s)&&K(r))for(let l=0;l<s.length;l++){const i=s[l];let o=r[l];o.shapeFlag&1&&!o.dynamicChildren&&((o.patchFlag<=0||o.patchFlag===32)&&(o=r[l]=He(r[l]),o.el=i.el),n||Qn(i,o)),o.type===ot&&(o.el=i.el)}}function xi(e){const t=e.slice(),n=[0];let s,r,l,i,o;const f=e.length;for(s=0;s<f;s++){const a=e[s];if(a!==0){if(r=n[n.length-1],e[r]<a){t[s]=r,n.push(s);continue}for(l=0,i=n.length-1;l<i;)o=l+i>>1,e[n[o]]<a?l=o+1:i=o;a<e[n[l]]&&(l>0&&(t[s]=n[l-1]),n[l]=s)}}for(l=n.length,i=n[l-1];l-- >0;)n[l]=i,i=t[i];return n}const Ci=e=>e.__isTeleport,_t=e=>e&&(e.disabled||e.disabled===""),ws=e=>typeof SVGElement<"u"&&e instanceof SVGElement,An=(e,t)=>{const n=e&&e.to;return le(n)?t?t(n):null:n},Ti={__isTeleport:!0,process(e,t,n,s,r,l,i,o,f,a){const{mc:g,pc:d,pbc:_,o:{insert:O,querySelector:k,createText:M,createComment:S}}=a,y=_t(t.props);let{shapeFlag:p,children:C,dynamicChildren:P}=t;if(e==null){const B=t.el=M(""),U=t.anchor=M("");O(B,n,s),O(U,n,s);const j=t.target=An(t.props,k),T=t.targetAnchor=M("");j&&(O(T,j),i=i||ws(j));const H=(L,$)=>{p&16&&g(C,L,$,r,l,i,o,f)};y?H(n,U):j&&H(j,T)}else{t.el=e.el;const B=t.anchor=e.anchor,U=t.target=e.target,j=t.targetAnchor=e.targetAnchor,T=_t(e.props),H=T?n:U,L=T?B:j;if(i=i||ws(U),P?(_(e.dynamicChildren,P,H,r,l,i,o),Qn(e,t,!0)):f||d(e,t,H,L,r,l,i,o,!1),y)T||jt(t,n,B,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const $=t.target=An(t.props,k);$&&jt(t,$,null,a,0)}else T&&jt(t,U,j,a,1)}Cr(t)},remove(e,t,n,s,{um:r,o:{remove:l}},i){const{shapeFlag:o,children:f,anchor:a,targetAnchor:g,target:d,props:_}=e;if(d&&l(g),(i||!_t(_))&&(l(a),o&16))for(let O=0;O<f.length;O++){const k=f[O];r(k,t,n,!0,!!k.dynamicChildren)}},move:jt,hydrate:wi};function jt(e,t,n,{o:{insert:s},m:r},l=2){l===0&&s(e.targetAnchor,t,n);const{el:i,anchor:o,shapeFlag:f,children:a,props:g}=e,d=l===2;if(d&&s(i,t,n),(!d||_t(g))&&f&16)for(let _=0;_<a.length;_++)r(a[_],t,n,2);d&&s(o,t,n)}function wi(e,t,n,s,r,l,{o:{nextSibling:i,parentNode:o,querySelector:f}},a){const g=t.target=An(t.props,f);if(g){const d=g._lpa||g.firstChild;if(t.shapeFlag&16)if(_t(t.props))t.anchor=a(i(e),t,o(e),n,s,r,l),t.targetAnchor=d;else{t.anchor=i(e);let _=d;for(;_;)if(_=i(_),_&&_.nodeType===8&&_.data==="teleport anchor"){t.targetAnchor=_,g._lpa=t.targetAnchor&&i(t.targetAnchor);break}a(d,t,g,n,s,r,l)}Cr(t)}return t.anchor&&i(t.anchor)}const po=Ti;function Cr(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;for(;n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}const he=Symbol(void 0),ot=Symbol(void 0),ae=Symbol(void 0),Ut=Symbol(void 0),mt=[];let Ce=null;function Xn(e=!1){mt.push(Ce=e?null:[])}function Tr(){mt.pop(),Ce=mt[mt.length-1]||null}let ct=1;function Es(e){ct+=e}function wr(e){return e.dynamicChildren=ct>0?Ce||et:null,Tr(),ct>0&&Ce&&Ce.push(e),e}function _o(e,t,n,s,r,l){return wr(Ar(e,t,n,s,r,l,!0))}function Er(e,t,n,s,r){return wr(ce(e,t,n,s,r,!0))}function wt(e){return e?e.__v_isVNode===!0:!1}function Pe(e,t){return e.type===t.type&&e.key===t.key}const ln="__vInternal",Fr=({key:e})=>e??null,Ht=({ref:e,ref_key:t,ref_for:n})=>e!=null?le(e)||ie(e)||W(e)?{i:oe,r:e,k:t,f:!!n}:e:null;function Ar(e,t=null,n=null,s=0,r=null,l=e===he?0:1,i=!1,o=!1){const f={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Fr(t),ref:t&&Ht(t),scopeId:tr,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:l,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:oe};return o?(zn(f,n),l&128&&e.normalize(f)):n&&(f.shapeFlag|=le(n)?8:16),ct>0&&!i&&Ce&&(f.patchFlag>0||l&6)&&f.patchFlag!==32&&Ce.push(f),f}const ce=Ei;function Ei(e,t=null,n=null,s=0,r=null,l=!1){if((!e||e===ur)&&(e=ae),wt(e)){const o=We(e,t,!0);return n&&zn(o,n),ct>0&&!l&&Ce&&(o.shapeFlag&6?Ce[Ce.indexOf(e)]=o:Ce.push(o)),o.patchFlag|=-2,o}if(ji(e)&&(e=e.__vccOpts),t){t=Fi(t);let{class:o,style:f}=t;o&&!le(o)&&(t.class=Qt(o)),ee(f)&&(Ws(f)&&!K(f)&&(f=ge({},f)),t.style=Zt(f))}const i=le(e)?1:Dl(e)?128:Ci(e)?64:ee(e)?4:W(e)?2:0;return Ar(e,t,n,s,r,i,l,!0)}function Fi(e){return e?Ws(e)||ln in e?ge({},e):e:null}function We(e,t,n=!1){const{props:s,ref:r,patchFlag:l,children:i}=e,o=t?Ai(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:o,key:o&&Fr(o),ref:t&&t.ref?n&&r?K(r)?r.concat(Ht(t)):[r,Ht(t)]:Ht(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==he?l===-1?16:l|16:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&We(e.ssContent),ssFallback:e.ssFallback&&We(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Or(e=" ",t=0){return ce(ot,null,e,t)}function mo(e="",t=!1){return t?(Xn(),Er(ae,null,e)):ce(ae,null,e)}function xe(e){return e==null||typeof e=="boolean"?ce(ae):K(e)?ce(he,null,e.slice()):typeof e=="object"?He(e):ce(ot,null,String(e))}function He(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:We(e)}function zn(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(K(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),zn(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(ln in t)?t._ctx=oe:r===3&&oe&&(oe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else W(t)?(t={default:t,_ctx:oe},n=32):(t=String(t),s&64?(n=16,t=[Or(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ai(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=Qt([t.class,s.class]));else if(r==="style")t.style=Zt([t.style,s.style]);else if(Xt(r)){const l=t[r],i=s[r];i&&l!==i&&!(K(l)&&l.includes(i))&&(t[r]=l?[].concat(l,i):i)}else r!==""&&(t[r]=s[r])}return t}function ye(e,t,n,s=null){Fe(e,t,7,[n,s])}const Oi=yr();let Mi=0;function Ii(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||Oi,l={uid:Mi++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new Jr(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:pr(s,r),emitsOptions:er(s,r),emit:null,emitted:null,propsDefaults:G,inheritAttrs:s.inheritAttrs,ctx:G,data:G,props:G,attrs:G,slots:G,refs:G,setupState:G,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return l.ctx={_:l},l.root=t?t.root:l,l.emit=kl.bind(null,l),e.ce&&e.ce(l),l}let ne=null;const Bi=()=>ne||oe,ft=e=>{ne=e,e.scope.on()},Xe=()=>{ne&&ne.scope.off(),ne=null};function Mr(e){return e.vnode.shapeFlag&4}let Et=!1;function Pi(e,t=!1){Et=t;const{props:n,children:s}=e.vnode,r=Mr(e);di(e,n,r,t),pi(e,s);const l=r?Ri(e,t):void 0;return Et=!1,l}function Ri(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Ys(new Proxy(e.ctx,ii));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?ki(e):null;ft(e),ut();const l=$e(s,e,0,[e.props,r]);if(at(),Xe(),Is(l)){if(l.then(Xe,Xe),t)return l.then(i=>{On(e,i,t)}).catch(i=>{Ft(i,e,0)});e.asyncDep=l}else On(e,l,t)}else Ir(e,t)}function On(e,t,n){W(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ee(t)&&(e.setupState=Vs(t)),Ir(e,n)}let Fs;function Ir(e,t,n){const s=e.type;if(!e.render){if(!t&&Fs&&!s.render){const r=s.template||Vn(e).template;if(r){const{isCustomElement:l,compilerOptions:i}=e.appContext.config,{delimiters:o,compilerOptions:f}=s,a=ge(ge({isCustomElement:l,delimiters:o},i),f);s.render=Fs(r,a)}}e.render=s.render||Ee}ft(e),ut(),oi(e),at(),Xe()}function vi(e){return new Proxy(e.attrs,{get(t,n){return pe(e,"get","$attrs"),t[n]}})}function ki(e){const t=s=>{e.exposed=s||{}};let n;return{get attrs(){return n||(n=vi(e))},slots:e.slots,emit:e.emit,expose:t}}function on(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Vs(Ys(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in pt)return pt[n](e)},has(t,n){return n in t||n in pt}}))}function Ni(e,t=!0){return W(e)?e.displayName||e.name:e.name||t&&e.__name}function ji(e){return W(e)&&"__vccOpts"in e}const Li=(e,t)=>Ml(e,t,Et);function bo(e,t,n){const s=arguments.length;return s===2?ee(t)&&!K(t)?wt(t)?ce(e,null,[t]):ce(e,t):ce(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&wt(n)&&(n=[n]),ce(e,t,n))}const Ui=Symbol(""),Hi=()=>Lt(Ui),Di="3.2.47";let Dt,$t;typeof window=="object"&&window?$t=Dt=window:typeof process=="object"&&process.env?($t=global,Dt=process.env):$t=Dt=typeof self=="object"&&self||{};const $i="en_us",Ki="USD",Wi="$",Yi="US",qi=1011,Ji="5b1abe30a4d4531b8fe40725",Si=e=>{if(typeof document=="object"&&document){const t=document.getElementsByTagName("meta");for(let n=0;n<t.length;n++)if(t[n].getAttribute("name")===e.replace(/_/g,"-")){const s=t[n].getAttribute("content");return e==="ecom_store_id"?parseInt(s,10):s}}return Dt[e.toUpperCase()]},Mn={};["lang","currency","currency_symbol","country_code","store_id","store_object_id"].forEach(e=>{Mn[e]=Si("ecom_"+e)});const Vi={get(e){const t=Mn[e];if(t!=null&&t!=="")return t;switch(e){case"lang":return $i;case"currency":return Ki;case"currency_symbol":return Wi;case"country_code":return Yi;case"store_id":return qi;case"store_object_id":return Ji}return null},set(e,t){Mn[e]=t}};$t.$ecomConfig;const yo=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n};export{Yr as $,Jl as A,ro as B,Bl as C,fr as D,to as E,he as F,Zi as G,Fi as H,Es as I,Ai as J,cr as K,El as L,Ks as M,Vr as N,Gi as O,$i as P,Vi as Q,W as R,so as S,po as T,le as U,ho as V,go as W,lo as X,ge as Y,ee as Z,yo as _,_o as a,K as a0,Xt as a1,Os as a2,en as a3,ke as a4,vn as a5,Qi as a6,Xi as a7,Fe as a8,Ar as b,Li as c,io as d,ce as e,oo as f,Er as g,fo as h,mo as i,eo as j,hn as k,or as l,co as m,Qt as n,Xn as o,Zt as p,ao as q,uo as r,Hn as s,no as t,zi as u,Or as v,Nl as w,We as x,bo as y,Lt as z};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{T as z,c as L,a as x}from"./runtime-dom.esm-bundler.1fd80976.js";import{P as I,Q as $,d as p,c as l,_,o as v,g as j,w as B,q as P,a as E,G as C,H as O,y as h,S as H}from"./_plugin-vue_export-helper.0c2b7f88.js";import{f as N}from"./format-money.f09b89ed.js";const T=(t,o=$.get("lang"))=>{if(typeof t=="object"&&t!==null){const e=Object.keys(t)[0];if(/^[a-z]{2}(_[a-z]{2})?$/.test(e))return t[o]||t[I]||t[e];{const s=Array.isArray(t)?[]:{};for(const n in t)t[n]!==void 0&&(s[n]=T(t[n],o));return s}}return t},q=T,W=(t,o,e)=>{if(e||(e=$.get("default_img_size")||"normal"),t){let{pictures:s,picture:n}=t;n||s||(Array.isArray(t)?s=t:n=t),Array.isArray(s)&&(n=o&&s.filter(i=>i._id===o)[0]||s[0]);let a;if(typeof n=="object"&&n!==null&&(a=n[e],!a)){let i;switch(e){case"small":i=["normal","big"];break;case"normal":i=["big","zoom","small"];break;case"big":i=["zoom","normal"];break;case"zoom":i=["big"];break;default:i=["big","zoom","normal","small"]}for(let u=0;u<i.length;u++){const c=i[u];if(n[c])return n[c]}for(const u in n)if(n[u]&&n[u].url)return n[u]}return a}},D=W,G=t=>{let o={width:0,height:0},e;return typeof t=="object"&&t!==null?e=t.size:e=t,typeof e=="string"&&e.split("x").forEach((s,n)=>{s=parseFloat(s),isNaN(s)||(o[n===0?"width":"height"]=s)}),o},M=G;const R=p({__name:"Fade",props:{speed:{default:"default"},slide:null,isFloating:{type:Boolean,default:!1},isLeaveTo:{type:Boolean,default:!0},isEnterFrom:{type:Boolean,default:!0}},setup(t,{expose:o}){o();const e=t,s=l(()=>e.speed==="default"?"var(--transition, .2s linear)":`var(--transition-${e.speed}, .4s linear)`),n=l(()=>{switch(e.slide){case"down":return"translate3d(0, -100%, 0)";case"left":return"translate3d(-100%, 0, 0)";case"right":return"translate3d(100%, 0, 0)";case"up":return"translate3d(0, 100%, 0)";default:return"none"}}),a=l(()=>n.value!=="none"?.1:0),i=l(()=>e.isEnterFrom?a.value:1),u=l(()=>e.isLeaveTo?a.value:1),c=l(()=>e.isEnterFrom?n.value:"none"),d=l(()=>e.isLeaveTo?n.value:"none"),f=l(()=>e.slide==="down"||e.slide==="up"),m=l(()=>e.isFloating?null:f.value?0:"auto"),y=l(()=>e.isFloating?null:e.slide&&!f.value?0:"auto"),b=l(()=>e.isEnterFrom?m.value:"auto"),S=l(()=>e.isEnterFrom?y.value:"auto"),w=l(()=>{let r="opacity";return n.value!=="none"&&(r+=", transform"),m.value===0&&(r+=", height"),y.value===0&&(r+=", width"),r}),F={props:e,duration:s,transform:n,opacity:a,enterFromOpacity:i,leaveToOpacity:u,enterFromTransform:c,leaveToTransform:d,isSlideY:f,height:m,width:y,enterFromHeight:b,enterFromWidth:S,willChange:w,setInitialStyles:r=>{r.style.setProperty("--fade-will-change",w.value),r.style.setProperty("--fade-duration",s.value),r.style.setProperty("--fade-enter-opacity",String(i.value)),r.style.setProperty("--fade-enter-transform",String(c.value)),r.style.setProperty("--fade-enter-height",String(b.value)),r.style.setProperty("--fade-enter-width",String(S.value)),r.style.setProperty("--fade-leave-opacity",String(u.value)),r.style.setProperty("--fade-leave-transform",String(d.value))},onEnter:r=>{if(e.slide&&!e.isFloating&&e.isEnterFrom){f.value?(r.style.width=getComputedStyle(r).width,r.style.height="auto"):(r.style.width="auto",r.style.height=getComputedStyle(r).height),r.style.position="absolute",r.style.visibility="hidden";const{width:g,height:k}=getComputedStyle(r);r.style.width=f.value?"":"0",r.style.height=f.value?"0":"",r.style.position="",r.style.visibility="",getComputedStyle(r)[f.value?"height":"width"],requestAnimationFrame(()=>{f.value?r.style.height=k:r.style.width=g})}},onAfterEnter:r=>{e.slide&&!e.isFloating&&e.isEnterFrom&&(r.style[f.value?"height":"width"]="")},onLeave:r=>{if(e.slide&&!e.isFloating&&e.isLeaveTo){f.value?r.style.height=getComputedStyle(r).height:r.style.width=getComputedStyle(r).width;const g=f.value?"height":"width";getComputedStyle(r)[g],requestAnimationFrame(()=>{r.style[g]="0"})}}};return Object.defineProperty(F,"__isScriptSetup",{enumerable:!1,value:!0}),F}});function Q(t,o,e,s,n,a){return v(),j(z,{name:"sf-fade",onBeforeEnter:s.setInitialStyles,onEnter:s.onEnter,onBeforeLeave:s.setInitialStyles,onAfterEnter:s.onAfterEnter,onLeave:s.onLeave},{default:B(()=>[P(t.$slots,"default")]),_:3})}const U=_(R,[["render",Q]]),Y=p({__name:"ALink",props:{href:null,target:null},setup(t,{expose:o}){o();const e=t,s=l(()=>{if(e.target)return e.target;if(e.href.startsWith("http")){const a=globalThis.storefront.settings.domain||window.location.host;if(e.href.startsWith(`https://${a}`))return}return"_blank"}),n={props:e,linkTarget:s};return Object.defineProperty(n,"__isScriptSetup",{enumerable:!1,value:!0}),n}}),J=["href","target","rel"];function K(t,o,e,s,n,a){return v(),E("a",{href:e.href,target:s.linkTarget,rel:s.linkTarget==="_blank"?"noopener":void 0},[P(t.$slots,"default")],8,J)}const V=_(Y,[["render",K]]),X=p({__name:"AImg",props:{picture:null,loading:{default:"lazy"},decoding:null},setup(t,{expose:o}){o();const e=t,s=l(()=>e.picture.url?e.picture:D(e.picture)),n=l(()=>M(s.value)),a=l(()=>({src:s.value.url,alt:s.value.alt,width:n.value.width||void 0,height:n.value.height||void 0,loading:e.loading,decoding:e.decoding||(n.value.height?"async":void 0)})),i={props:e,image:s,dimensions:n,attrs:a};return Object.defineProperty(i,"__isScriptSetup",{enumerable:!1,value:!0}),i}});function Z(t,o,e,s,n,a){return v(),E("img",C(O(s.attrs)),null,16)}const ee=_(X,[["render",Z]]),te=(t,o=1)=>Number.isInteger(t)?`${t}%`:`${t.toFixed(o)}%`,A=t=>{t.use({install:(o,e)=>{o.config.globalProperties.$t=(s,n)=>q(s,n||e?.lang),o.config.globalProperties.$money=N,o.config.globalProperties.$percentage=te,o.config.globalProperties.$settings=globalThis.storefront.settings,o.config.globalProperties.$context=globalThis.storefront.context}}),t.component("Fade",U),t.component("ALink",V),t.component("AImg",ee)},ne=p({props:{value:String,name:String},setup({name:t,value:o}){return o?()=>h("astro-slot",{name:t,innerHTML:o}):()=>null}}),fe=t=>async(o,e,s,{client:n})=>{if(delete e.class,!t.hasAttribute("ssr"))return;const a=o.name?`${o.name} Host`:void 0,i={};for(const[c,d]of Object.entries(s))i[c]=()=>h(ne,{value:d,name:c==="default"?void 0:c});let u=h(o,e,i);if(re(o.setup)&&(u=h(H,null,u)),n==="only"){const c=L({name:a,render:()=>u});await A(c),c.mount(t,!1)}else{const c=x({name:a,render:()=>u});await A(c),c.mount(t,!0)}};function re(t){const o=t?.constructor;return o&&o.name==="AsyncFunction"}export{fe as default};
|
package/packages/storefront/dist/client/_astro/{firebase-app.d090c84e.js → firebase-app.247497b8.js}
RENAMED
|
@@ -193,7 +193,7 @@
|
|
|
193
193
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
194
194
|
* See the License for the specific language governing permissions and
|
|
195
195
|
* limitations under the License.
|
|
196
|
-
*/var h;(function(n){n[n.DEBUG=0]="DEBUG",n[n.VERBOSE=1]="VERBOSE",n[n.INFO=2]="INFO",n[n.WARN=3]="WARN",n[n.ERROR=4]="ERROR",n[n.SILENT=5]="SILENT"})(h||(h={}));const zn={debug:h.DEBUG,verbose:h.VERBOSE,info:h.INFO,warn:h.WARN,error:h.ERROR,silent:h.SILENT},Gn=h.INFO,
|
|
196
|
+
*/var h;(function(n){n[n.DEBUG=0]="DEBUG",n[n.VERBOSE=1]="VERBOSE",n[n.INFO=2]="INFO",n[n.WARN=3]="WARN",n[n.ERROR=4]="ERROR",n[n.SILENT=5]="SILENT"})(h||(h={}));const zn={debug:h.DEBUG,verbose:h.VERBOSE,info:h.INFO,warn:h.WARN,error:h.ERROR,silent:h.SILENT},Gn=h.INFO,qn={[h.DEBUG]:"log",[h.VERBOSE]:"log",[h.INFO]:"info",[h.WARN]:"warn",[h.ERROR]:"error"},Kn=(n,e,...t)=>{if(e<n.logLevel)return;const r=new Date().toISOString(),i=qn[e];if(i)console[i](`[${r}] ${n.name}:`,...t);else throw new Error(`Attempted to log a message with an invalid logType (value: ${e})`)};class Nt{constructor(e){this.name=e,this._logLevel=Gn,this._logHandler=Kn,this._userLogHandler=null}get logLevel(){return this._logLevel}set logLevel(e){if(!(e in h))throw new TypeError(`Invalid value "${e}" assigned to \`logLevel\``);this._logLevel=e}setLogLevel(e){this._logLevel=typeof e=="string"?zn[e]:e}get logHandler(){return this._logHandler}set logHandler(e){if(typeof e!="function")throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=e}get userLogHandler(){return this._userLogHandler}set userLogHandler(e){this._userLogHandler=e}debug(...e){this._userLogHandler&&this._userLogHandler(this,h.DEBUG,...e),this._logHandler(this,h.DEBUG,...e)}log(...e){this._userLogHandler&&this._userLogHandler(this,h.VERBOSE,...e),this._logHandler(this,h.VERBOSE,...e)}info(...e){this._userLogHandler&&this._userLogHandler(this,h.INFO,...e),this._logHandler(this,h.INFO,...e)}warn(...e){this._userLogHandler&&this._userLogHandler(this,h.WARN,...e),this._logHandler(this,h.WARN,...e)}error(...e){this._userLogHandler&&this._userLogHandler(this,h.ERROR,...e),this._logHandler(this,h.ERROR,...e)}}const Jn=(n,e)=>e.some(t=>n instanceof t);let it,st;function Yn(){return it||(it=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function Xn(){return st||(st=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const Mt=new WeakMap,Le=new WeakMap,Lt=new WeakMap,Ce=new WeakMap,Ve=new WeakMap;function Qn(n){const e=new Promise((t,r)=>{const i=()=>{n.removeEventListener("success",s),n.removeEventListener("error",o)},s=()=>{t(R(n.result)),i()},o=()=>{r(n.error),i()};n.addEventListener("success",s),n.addEventListener("error",o)});return e.then(t=>{t instanceof IDBCursor&&Mt.set(t,n)}).catch(()=>{}),Ve.set(e,n),e}function Zn(n){if(Le.has(n))return;const e=new Promise((t,r)=>{const i=()=>{n.removeEventListener("complete",s),n.removeEventListener("error",o),n.removeEventListener("abort",o)},s=()=>{t(),i()},o=()=>{r(n.error||new DOMException("AbortError","AbortError")),i()};n.addEventListener("complete",s),n.addEventListener("error",o),n.addEventListener("abort",o)});Le.set(n,e)}let Ue={get(n,e,t){if(n instanceof IDBTransaction){if(e==="done")return Le.get(n);if(e==="objectStoreNames")return n.objectStoreNames||Lt.get(n);if(e==="store")return t.objectStoreNames[1]?void 0:t.objectStore(t.objectStoreNames[0])}return R(n[e])},set(n,e,t){return n[e]=t,!0},has(n,e){return n instanceof IDBTransaction&&(e==="done"||e==="store")?!0:e in n}};function er(n){Ue=n(Ue)}function tr(n){return n===IDBDatabase.prototype.transaction&&!("objectStoreNames"in IDBTransaction.prototype)?function(e,...t){const r=n.call(Oe(this),e,...t);return Lt.set(r,e.sort?e.sort():[e]),R(r)}:Xn().includes(n)?function(...e){return n.apply(Oe(this),e),R(Mt.get(this))}:function(...e){return R(n.apply(Oe(this),e))}}function nr(n){return typeof n=="function"?tr(n):(n instanceof IDBTransaction&&Zn(n),Jn(n,Yn())?new Proxy(n,Ue):n)}function R(n){if(n instanceof IDBRequest)return Qn(n);if(Ce.has(n))return Ce.get(n);const e=nr(n);return e!==n&&(Ce.set(n,e),Ve.set(e,n)),e}const Oe=n=>Ve.get(n);function rr(n,e,{blocked:t,upgrade:r,blocking:i,terminated:s}={}){const o=indexedDB.open(n,e),a=R(o);return r&&o.addEventListener("upgradeneeded",c=>{r(R(o.result),c.oldVersion,c.newVersion,R(o.transaction))}),t&&o.addEventListener("blocked",()=>t()),a.then(c=>{s&&c.addEventListener("close",()=>s()),i&&c.addEventListener("versionchange",()=>i())}).catch(()=>{}),a}const ir=["get","getKey","getAll","getAllKeys","count"],sr=["put","add","delete","clear"],De=new Map;function ot(n,e){if(!(n instanceof IDBDatabase&&!(e in n)&&typeof e=="string"))return;if(De.get(e))return De.get(e);const t=e.replace(/FromIndex$/,""),r=e!==t,i=sr.includes(t);if(!(t in(r?IDBIndex:IDBObjectStore).prototype)||!(i||ir.includes(t)))return;const s=async function(o,...a){const c=this.transaction(o,i?"readwrite":"readonly");let l=c.store;return r&&(l=l.index(a.shift())),(await Promise.all([l[t](...a),i&&c.done]))[0]};return De.set(e,s),s}er(n=>({...n,get:(e,t,r)=>ot(e,t)||n.get(e,t,r),has:(e,t)=>!!ot(e,t)||n.has(e,t)}));/**
|
|
197
197
|
* @license
|
|
198
198
|
* Copyright 2019 Google LLC
|
|
199
199
|
*
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
209
209
|
* See the License for the specific language governing permissions and
|
|
210
210
|
* limitations under the License.
|
|
211
|
-
*/class or{constructor(e){this.container=e}getPlatformInfoString(){return this.container.getProviders().map(t=>{if(ar(t)){const r=t.getImmediate();return`${r.library}/${r.version}`}else return null}).filter(t=>t).join(" ")}}function ar(n){const e=n.getComponent();return e?.type==="VERSION"}const xe="@firebase/app",at="0.9.
|
|
211
|
+
*/class or{constructor(e){this.container=e}getPlatformInfoString(){return this.container.getProviders().map(t=>{if(ar(t)){const r=t.getImmediate();return`${r.library}/${r.version}`}else return null}).filter(t=>t).join(" ")}}function ar(n){const e=n.getComponent();return e?.type==="VERSION"}const xe="@firebase/app",at="0.9.7";/**
|
|
212
212
|
* @license
|
|
213
213
|
* Copyright 2019 Google LLC
|
|
214
214
|
*
|
|
@@ -223,7 +223,7 @@
|
|
|
223
223
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
224
224
|
* See the License for the specific language governing permissions and
|
|
225
225
|
* limitations under the License.
|
|
226
|
-
*/const M=new Nt("@firebase/app"),cr="@firebase/app-compat",lr="@firebase/analytics-compat",ur="@firebase/analytics",dr="@firebase/app-check-compat",hr="@firebase/app-check",fr="@firebase/auth",pr="@firebase/auth-compat",gr="@firebase/database",mr="@firebase/database-compat",_r="@firebase/functions",vr="@firebase/functions-compat",Ir="@firebase/installations",yr="@firebase/installations-compat",br="@firebase/messaging",Er="@firebase/messaging-compat",wr="@firebase/performance",Tr="@firebase/performance-compat",Sr="@firebase/remote-config",kr="@firebase/remote-config-compat",Ar="@firebase/storage",Rr="@firebase/storage-compat",Cr="@firebase/firestore",Or="@firebase/firestore-compat",Dr="firebase",Pr="9.
|
|
226
|
+
*/const M=new Nt("@firebase/app"),cr="@firebase/app-compat",lr="@firebase/analytics-compat",ur="@firebase/analytics",dr="@firebase/app-check-compat",hr="@firebase/app-check",fr="@firebase/auth",pr="@firebase/auth-compat",gr="@firebase/database",mr="@firebase/database-compat",_r="@firebase/functions",vr="@firebase/functions-compat",Ir="@firebase/installations",yr="@firebase/installations-compat",br="@firebase/messaging",Er="@firebase/messaging-compat",wr="@firebase/performance",Tr="@firebase/performance-compat",Sr="@firebase/remote-config",kr="@firebase/remote-config-compat",Ar="@firebase/storage",Rr="@firebase/storage-compat",Cr="@firebase/firestore",Or="@firebase/firestore-compat",Dr="firebase",Pr="9.19.1";/**
|
|
227
227
|
* @license
|
|
228
228
|
* Copyright 2019 Google LLC
|
|
229
229
|
*
|
|
@@ -253,7 +253,7 @@
|
|
|
253
253
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
254
254
|
* See the License for the specific language governing permissions and
|
|
255
255
|
* limitations under the License.
|
|
256
|
-
*/const ue=new Map,Fe=new Map;function Mr(n,e){try{n.container.addComponent(e)}catch(t){M.debug(`Component ${e.name} failed to register with FirebaseApp ${n.name}`,t)}}function
|
|
256
|
+
*/const ue=new Map,Fe=new Map;function Mr(n,e){try{n.container.addComponent(e)}catch(t){M.debug(`Component ${e.name} failed to register with FirebaseApp ${n.name}`,t)}}function q(n){const e=n.name;if(Fe.has(e))return M.debug(`There were multiple attempts to register component ${e}.`),!1;Fe.set(e,n);for(const t of ue.values())Mr(t,n);return!0}function Ut(n,e){const t=n.container.getProvider("heartbeat").getImmediate({optional:!0});return t&&t.triggerHeartbeat(),n.container.getProvider(e)}/**
|
|
257
257
|
* @license
|
|
258
258
|
* Copyright 2019 Google LLC
|
|
259
259
|
*
|
|
@@ -298,7 +298,7 @@
|
|
|
298
298
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
299
299
|
* See the License for the specific language governing permissions and
|
|
300
300
|
* limitations under the License.
|
|
301
|
-
*/const me=Pr;function xt(n,e={}){let t=n;typeof e!="object"&&(e={name:e});const r=Object.assign({name:Be,automaticDataCollectionEnabled:!1},e),i=r.name;if(typeof i!="string"||!i)throw C.create("bad-app-name",{appName:String(i)});if(t||(t=kn()),!t)throw C.create("no-options");const s=ue.get(i);if(s){if(le(t,s.options)&&le(r,s.config))return s;throw C.create("duplicate-app",{appName:i})}const o=new jn(i);for(const c of Fe.values())o.addComponent(c);const a=new Ur(t,r,o);return ue.set(i,a),a}function xr(n=Be){const e=ue.get(n);if(!e&&n===Be)return xt();if(!e)throw C.create("no-app",{appName:n});return e}function B(n,e,t){var r;let i=(r=Nr[n])!==null&&r!==void 0?r:n;t&&(i+=`-${t}`);const s=i.match(/\s|\//),o=e.match(/\s|\//);if(s||o){const a=[`Unable to register library "${i}" with version "${e}":`];s&&a.push(`library name "${i}" contains illegal characters (whitespace or "/")`),s&&o&&a.push("and"),o&&a.push(`version name "${e}" contains illegal characters (whitespace or "/")`),M.warn(a.join(" "));return}
|
|
301
|
+
*/const me=Pr;function xt(n,e={}){let t=n;typeof e!="object"&&(e={name:e});const r=Object.assign({name:Be,automaticDataCollectionEnabled:!1},e),i=r.name;if(typeof i!="string"||!i)throw C.create("bad-app-name",{appName:String(i)});if(t||(t=kn()),!t)throw C.create("no-options");const s=ue.get(i);if(s){if(le(t,s.options)&&le(r,s.config))return s;throw C.create("duplicate-app",{appName:i})}const o=new jn(i);for(const c of Fe.values())o.addComponent(c);const a=new Ur(t,r,o);return ue.set(i,a),a}function xr(n=Be){const e=ue.get(n);if(!e&&n===Be)return xt();if(!e)throw C.create("no-app",{appName:n});return e}function B(n,e,t){var r;let i=(r=Nr[n])!==null&&r!==void 0?r:n;t&&(i+=`-${t}`);const s=i.match(/\s|\//),o=e.match(/\s|\//);if(s||o){const a=[`Unable to register library "${i}" with version "${e}":`];s&&a.push(`library name "${i}" contains illegal characters (whitespace or "/")`),s&&o&&a.push("and"),o&&a.push(`version name "${e}" contains illegal characters (whitespace or "/")`),M.warn(a.join(" "));return}q(new H(`${i}-version`,()=>({library:i,version:e}),"VERSION"))}/**
|
|
302
302
|
* @license
|
|
303
303
|
* Copyright 2021 Google LLC
|
|
304
304
|
*
|
|
@@ -313,7 +313,7 @@
|
|
|
313
313
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
314
314
|
* See the License for the specific language governing permissions and
|
|
315
315
|
* limitations under the License.
|
|
316
|
-
*/const Br="firebase-heartbeat-database",Fr=1,
|
|
316
|
+
*/const Br="firebase-heartbeat-database",Fr=1,K="firebase-heartbeat-store";let Pe=null;function Bt(){return Pe||(Pe=rr(Br,Fr,{upgrade:(n,e)=>{switch(e){case 0:n.createObjectStore(K)}}}).catch(n=>{throw C.create("idb-open",{originalErrorMessage:n.message})})),Pe}async function $r(n){try{return(await Bt()).transaction(K).objectStore(K).get(Ft(n))}catch(e){if(e instanceof O)M.warn(e.message);else{const t=C.create("idb-get",{originalErrorMessage:e?.message});M.warn(t.message)}}}async function ct(n,e){try{const r=(await Bt()).transaction(K,"readwrite");return await r.objectStore(K).put(e,Ft(n)),r.done}catch(t){if(t instanceof O)M.warn(t.message);else{const r=C.create("idb-set",{originalErrorMessage:t?.message});M.warn(r.message)}}}function Ft(n){return`${n.name}!${n.options.appId}`}/**
|
|
317
317
|
* @license
|
|
318
318
|
* Copyright 2021 Google LLC
|
|
319
319
|
*
|
|
@@ -343,7 +343,7 @@
|
|
|
343
343
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
344
344
|
* See the License for the specific language governing permissions and
|
|
345
345
|
* limitations under the License.
|
|
346
|
-
*/function Gr(n){
|
|
346
|
+
*/function Gr(n){q(new H("platform-logger",e=>new or(e),"PRIVATE")),q(new H("heartbeat",e=>new Wr(e),"PRIVATE")),B(xe,at,n),B(xe,at,"esm2017"),B("fire-js","")}Gr("");var qr="firebase",Kr="9.19.1";/**
|
|
347
347
|
* @license
|
|
348
348
|
* Copyright 2020 Google LLC
|
|
349
349
|
*
|
|
@@ -358,7 +358,7 @@
|
|
|
358
358
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
359
359
|
* See the License for the specific language governing permissions and
|
|
360
360
|
* limitations under the License.
|
|
361
|
-
*/B(Kr,
|
|
361
|
+
*/B(qr,Kr,"app");function We(n,e){var t={};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&e.indexOf(r)<0&&(t[r]=n[r]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(n);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(n,r[i])&&(t[r[i]]=n[r[i]]);return t}function $t(){return{["dependent-sdk-initialized-before-auth"]:"Another Firebase SDK was initialized and is trying to use Auth before Auth is initialized. Please be sure to call `initializeAuth` or `getAuth` before starting any other Firebase SDK."}}const Jr=$t,Ht=new Q("auth","Firebase",$t());/**
|
|
362
362
|
* @license
|
|
363
363
|
* Copyright 2020 Google LLC
|
|
364
364
|
*
|
|
@@ -508,7 +508,7 @@
|
|
|
508
508
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
509
509
|
* See the License for the specific language governing permissions and
|
|
510
510
|
* limitations under the License.
|
|
511
|
-
*/const ni={CREDENTIAL_MISMATCH:"custom-token-mismatch",MISSING_CUSTOM_TOKEN:"internal-error",INVALID_IDENTIFIER:"invalid-email",MISSING_CONTINUE_URI:"internal-error",INVALID_PASSWORD:"wrong-password",MISSING_PASSWORD:"
|
|
511
|
+
*/const ni={CREDENTIAL_MISMATCH:"custom-token-mismatch",MISSING_CUSTOM_TOKEN:"internal-error",INVALID_IDENTIFIER:"invalid-email",MISSING_CONTINUE_URI:"internal-error",INVALID_PASSWORD:"wrong-password",MISSING_PASSWORD:"missing-password",EMAIL_EXISTS:"email-already-in-use",PASSWORD_LOGIN_DISABLED:"operation-not-allowed",INVALID_IDP_RESPONSE:"invalid-credential",INVALID_PENDING_TOKEN:"invalid-credential",FEDERATED_USER_ID_ALREADY_LINKED:"credential-already-in-use",MISSING_REQ_TYPE:"internal-error",EMAIL_NOT_FOUND:"user-not-found",RESET_PASSWORD_EXCEED_LIMIT:"too-many-requests",EXPIRED_OOB_CODE:"expired-action-code",INVALID_OOB_CODE:"invalid-action-code",MISSING_OOB_CODE:"internal-error",CREDENTIAL_TOO_OLD_LOGIN_AGAIN:"requires-recent-login",INVALID_ID_TOKEN:"invalid-user-token",TOKEN_EXPIRED:"user-token-expired",USER_NOT_FOUND:"user-token-expired",TOO_MANY_ATTEMPTS_TRY_LATER:"too-many-requests",INVALID_CODE:"invalid-verification-code",INVALID_SESSION_INFO:"invalid-verification-id",INVALID_TEMPORARY_PROOF:"invalid-credential",MISSING_SESSION_INFO:"missing-verification-id",SESSION_EXPIRED:"code-expired",MISSING_ANDROID_PACKAGE_NAME:"missing-android-pkg-name",UNAUTHORIZED_DOMAIN:"unauthorized-continue-uri",INVALID_OAUTH_CLIENT_ID:"invalid-oauth-client-id",ADMIN_ONLY_OPERATION:"admin-restricted-operation",INVALID_MFA_PENDING_CREDENTIAL:"invalid-multi-factor-session",MFA_ENROLLMENT_NOT_FOUND:"multi-factor-info-not-found",MISSING_MFA_ENROLLMENT_ID:"missing-multi-factor-info",MISSING_MFA_PENDING_CREDENTIAL:"missing-multi-factor-session",SECOND_FACTOR_EXISTS:"second-factor-already-in-use",SECOND_FACTOR_LIMIT_EXCEEDED:"maximum-second-factor-count-exceeded",BLOCKING_FUNCTION_ERROR_RESPONSE:"internal-error"};/**
|
|
512
512
|
* @license
|
|
513
513
|
* Copyright 2020 Google LLC
|
|
514
514
|
*
|
|
@@ -523,7 +523,7 @@
|
|
|
523
523
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
524
524
|
* See the License for the specific language governing permissions and
|
|
525
525
|
* limitations under the License.
|
|
526
|
-
*/const ri=new ee(3e4,6e4);function _e(n,e){return n.tenantId&&!e.tenantId?Object.assign(Object.assign({},e),{tenantId:n.tenantId}):e}async function te(n,e,t,r,i={}){return Wt(n,i,async()=>{let s={},o={};r&&(e==="GET"?o=r:s={body:JSON.stringify(r)});const a=Z(Object.assign({key:n.config.apiKey},o)).slice(1),c=await n._getAdditionalHeaders();return c["Content-Type"]="application/json",n.languageCode&&(c["X-Firebase-Locale"]=n.languageCode),Vt.fetch()(jt(n,n.config.apiHost,t,a),Object.assign({method:e,headers:c,referrerPolicy:"no-referrer"},s))})}async function Wt(n,e,t){n._canInitEmulator=!1;const r=Object.assign(Object.assign({},ni),e);try{const i=new ii(n),s=await Promise.race([t(),i.promise]);i.clearNetworkTimeout();const o=await s.json();if("needConfirmation"in o)throw ie(n,"account-exists-with-different-credential",o);if(s.ok&&!("errorMessage"in o))return o;{const a=s.ok?o.errorMessage:o.error.message,[c,l]=a.split(" : ");if(c==="FEDERATED_USER_ID_ALREADY_LINKED")throw ie(n,"credential-already-in-use",o);if(c==="EMAIL_EXISTS")throw ie(n,"email-already-in-use",o);if(c==="USER_DISABLED")throw ie(n,"user-disabled",o);const d=r[c]||c.toLowerCase().replace(/[_\s]+/g,"-");if(l)throw Yr(n,d,l);m(n,d)}}catch(i){if(i instanceof O)throw i;m(n,"
|
|
526
|
+
*/const ri=new ee(3e4,6e4);function _e(n,e){return n.tenantId&&!e.tenantId?Object.assign(Object.assign({},e),{tenantId:n.tenantId}):e}async function te(n,e,t,r,i={}){return Wt(n,i,async()=>{let s={},o={};r&&(e==="GET"?o=r:s={body:JSON.stringify(r)});const a=Z(Object.assign({key:n.config.apiKey},o)).slice(1),c=await n._getAdditionalHeaders();return c["Content-Type"]="application/json",n.languageCode&&(c["X-Firebase-Locale"]=n.languageCode),Vt.fetch()(jt(n,n.config.apiHost,t,a),Object.assign({method:e,headers:c,referrerPolicy:"no-referrer"},s))})}async function Wt(n,e,t){n._canInitEmulator=!1;const r=Object.assign(Object.assign({},ni),e);try{const i=new ii(n),s=await Promise.race([t(),i.promise]);i.clearNetworkTimeout();const o=await s.json();if("needConfirmation"in o)throw ie(n,"account-exists-with-different-credential",o);if(s.ok&&!("errorMessage"in o))return o;{const a=s.ok?o.errorMessage:o.error.message,[c,l]=a.split(" : ");if(c==="FEDERATED_USER_ID_ALREADY_LINKED")throw ie(n,"credential-already-in-use",o);if(c==="EMAIL_EXISTS")throw ie(n,"email-already-in-use",o);if(c==="USER_DISABLED")throw ie(n,"user-disabled",o);const d=r[c]||c.toLowerCase().replace(/[_\s]+/g,"-");if(l)throw Yr(n,d,l);m(n,d)}}catch(i){if(i instanceof O)throw i;m(n,"network-request-failed",{message:String(i)})}}async function ve(n,e,t,r,i={}){const s=await te(n,e,t,r,i);return"mfaPendingCredential"in s&&m(n,"multi-factor-auth-required",{_serverResponse:s}),s}function jt(n,e,t,r){const i=`${e}${t}?${r}`;return n.config.emulator?ze(n.config,i):`${n.config.apiScheme}://${i}`}class ii{constructor(e){this.auth=e,this.timer=null,this.promise=new Promise((t,r)=>{this.timer=setTimeout(()=>r(_(this.auth,"network-request-failed")),ri.get())})}clearNetworkTimeout(){clearTimeout(this.timer)}}function ie(n,e,t){const r={appName:n.name};t.email&&(r.email=t.email),t.phoneNumber&&(r.phoneNumber=t.phoneNumber);const i=_(n,e,r);return i.customData._tokenResponse=t,i}/**
|
|
527
527
|
* @license
|
|
528
528
|
* Copyright 2020 Google LLC
|
|
529
529
|
*
|
|
@@ -703,7 +703,7 @@
|
|
|
703
703
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
704
704
|
* See the License for the specific language governing permissions and
|
|
705
705
|
* limitations under the License.
|
|
706
|
-
*/function gt(n){const e=n.toLowerCase();if(e.includes("opera/")||e.includes("opr/")||e.includes("opios/"))return"Opera";if(Jt(e))return"IEMobile";if(e.includes("msie")||e.includes("trident/"))return"IE";if(e.includes("edge/"))return"Edge";if(
|
|
706
|
+
*/function gt(n){const e=n.toLowerCase();if(e.includes("opera/")||e.includes("opr/")||e.includes("opios/"))return"Opera";if(Jt(e))return"IEMobile";if(e.includes("msie")||e.includes("trident/"))return"IE";if(e.includes("edge/"))return"Edge";if(qt(e))return"Firefox";if(e.includes("silk/"))return"Silk";if(Xt(e))return"Blackberry";if(Qt(e))return"Webos";if(qe(e))return"Safari";if((e.includes("chrome/")||Kt(e))&&!e.includes("edge/"))return"Chrome";if(Yt(e))return"Android";{const t=/([a-zA-Z\d\.]+)\/[a-zA-Z\d\.]*$/,r=n.match(t);if(r?.length===2)return r[1]}return"Other"}function qt(n=p()){return/firefox\//i.test(n)}function qe(n=p()){const e=n.toLowerCase();return e.includes("safari/")&&!e.includes("chrome/")&&!e.includes("crios/")&&!e.includes("android")}function Kt(n=p()){return/crios\//i.test(n)}function Jt(n=p()){return/iemobile/i.test(n)}function Yt(n=p()){return/android/i.test(n)}function Xt(n=p()){return/blackberry/i.test(n)}function Qt(n=p()){return/webos/i.test(n)}function Ie(n=p()){return/iphone|ipad|ipod/i.test(n)||/macintosh/i.test(n)&&/mobile/i.test(n)}function gi(n=p()){var e;return Ie(n)&&!!(!((e=window.navigator)===null||e===void 0)&&e.standalone)}function mi(){return Dn()&&document.documentMode===10}function Zt(n=p()){return Ie(n)||Yt(n)||Qt(n)||Xt(n)||/windows phone/i.test(n)||Jt(n)}function _i(){try{return!!(window&&window!==window.top)}catch{return!1}}/**
|
|
707
707
|
* @license
|
|
708
708
|
* Copyright 2020 Google LLC
|
|
709
709
|
*
|
|
@@ -763,7 +763,7 @@
|
|
|
763
763
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
764
764
|
* See the License for the specific language governing permissions and
|
|
765
765
|
* limitations under the License.
|
|
766
|
-
*/class
|
|
766
|
+
*/class Ke{constructor(e,t){this.providerId=e,this.signInMethod=t}toJSON(){return y("not implemented")}_getIdTokenResponse(e){return y("not implemented")}_linkToIdToken(e,t){return y("not implemented")}_getReauthenticationResolver(e){return y("not implemented")}}async function wi(n,e){return te(n,"POST","/v1/accounts:update",e)}/**
|
|
767
767
|
* @license
|
|
768
768
|
* Copyright 2020 Google LLC
|
|
769
769
|
*
|
|
@@ -808,7 +808,7 @@
|
|
|
808
808
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
809
809
|
* See the License for the specific language governing permissions and
|
|
810
810
|
* limitations under the License.
|
|
811
|
-
*/class X extends
|
|
811
|
+
*/class X extends Ke{constructor(e,t,r,i=null){super("password",r),this._email=e,this._password=t,this._tenantId=i}static _fromEmailAndPassword(e,t){return new X(e,t,"password")}static _fromEmailAndCode(e,t,r=null){return new X(e,t,"emailLink",r)}toJSON(){return{email:this._email,password:this._password,signInMethod:this.signInMethod,tenantId:this._tenantId}}static fromJSON(e){const t=typeof e=="string"?JSON.parse(e):e;if(t?.email&&t?.password){if(t.signInMethod==="password")return this._fromEmailAndPassword(t.email,t.password);if(t.signInMethod==="emailLink")return this._fromEmailAndCode(t.email,t.password,t.tenantId)}return null}async _getIdTokenResponse(e){switch(this.signInMethod){case"password":return Ti(e,{returnSecureToken:!0,email:this._email,password:this._password});case"emailLink":return Si(e,{email:this._email,oobCode:this._password});default:m(e,"internal-error")}}async _linkToIdToken(e,t){switch(this.signInMethod){case"password":return wi(e,{idToken:t,returnSecureToken:!0,email:this._email,password:this._password});case"emailLink":return ki(e,{idToken:t,email:this._email,oobCode:this._password});default:m(e,"internal-error")}}_getReauthenticationResolver(e){return this._getIdTokenResponse(e)}}/**
|
|
812
812
|
* @license
|
|
813
813
|
* Copyright 2020 Google LLC
|
|
814
814
|
*
|
|
@@ -838,7 +838,7 @@
|
|
|
838
838
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
839
839
|
* See the License for the specific language governing permissions and
|
|
840
840
|
* limitations under the License.
|
|
841
|
-
*/const Ai="http://localhost";class L extends
|
|
841
|
+
*/const Ai="http://localhost";class L extends Ke{constructor(){super(...arguments),this.pendingToken=null}static _fromParams(e){const t=new L(e.providerId,e.signInMethod);return e.idToken||e.accessToken?(e.idToken&&(t.idToken=e.idToken),e.accessToken&&(t.accessToken=e.accessToken),e.nonce&&!e.pendingToken&&(t.nonce=e.nonce),e.pendingToken&&(t.pendingToken=e.pendingToken)):e.oauthToken&&e.oauthTokenSecret?(t.accessToken=e.oauthToken,t.secret=e.oauthTokenSecret):m("argument-error"),t}toJSON(){return{idToken:this.idToken,accessToken:this.accessToken,secret:this.secret,nonce:this.nonce,pendingToken:this.pendingToken,providerId:this.providerId,signInMethod:this.signInMethod}}static fromJSON(e){const t=typeof e=="string"?JSON.parse(e):e,{providerId:r,signInMethod:i}=t,s=We(t,["providerId","signInMethod"]);if(!r||!i)return null;const o=new L(r,i);return o.idToken=s.idToken||void 0,o.accessToken=s.accessToken||void 0,o.secret=s.secret,o.nonce=s.nonce,o.pendingToken=s.pendingToken||null,o}_getIdTokenResponse(e){const t=this.buildRequest();return $(e,t)}_linkToIdToken(e,t){const r=this.buildRequest();return r.idToken=t,$(e,r)}_getReauthenticationResolver(e){const t=this.buildRequest();return t.autoCreate=!1,$(e,t)}buildRequest(){const e={requestUri:Ai,returnSecureToken:!0};if(this.pendingToken)e.pendingToken=this.pendingToken;else{const t={};this.idToken&&(t.id_token=this.idToken),this.accessToken&&(t.access_token=this.accessToken),this.secret&&(t.oauth_token_secret=this.secret),t.providerId=this.providerId,this.nonce&&!this.pendingToken&&(t.nonce=this.nonce),e.postBody=Z(t)}return e}}/**
|
|
842
842
|
* @license
|
|
843
843
|
* Copyright 2020 Google LLC
|
|
844
844
|
*
|
|
@@ -1018,7 +1018,7 @@
|
|
|
1018
1018
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1019
1019
|
* See the License for the specific language governing permissions and
|
|
1020
1020
|
* limitations under the License.
|
|
1021
|
-
*/async function sn(n,e,t=!1){const r="signIn",i=await rn(n,r,e),s=await V._fromIdTokenResponse(n,r,i);return t||await n._updateCurrentUser(s.user),s}async function Pi(n,e){return sn(ye(n),e)}function
|
|
1021
|
+
*/async function sn(n,e,t=!1){const r="signIn",i=await rn(n,r,e),s=await V._fromIdTokenResponse(n,r,i);return t||await n._updateCurrentUser(s.user),s}async function Pi(n,e){return sn(ye(n),e)}function Ks(n,e){const t=be.parseLink(e);return t?.operation==="EMAIL_SIGNIN"}async function Js(n,e,t){const r=D(n),i=W.credentialWithLink(e,t||de());return u(i._tenantId===(r.tenantId||null),r,"tenant-id-mismatch"),Pi(r,i)}function Ni(n,e,t,r){return D(n).onIdTokenChanged(e,t,r)}function Mi(n,e,t){return D(n).beforeAuthStateChanged(e,t)}function Ys(n,e,t,r){return D(n).onAuthStateChanged(e,t,r)}const pe="__sak";/**
|
|
1022
1022
|
* @license
|
|
1023
1023
|
* Copyright 2019 Google LLC
|
|
1024
1024
|
*
|
|
@@ -1048,7 +1048,7 @@
|
|
|
1048
1048
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1049
1049
|
* See the License for the specific language governing permissions and
|
|
1050
1050
|
* limitations under the License.
|
|
1051
|
-
*/function Li(){const n=p();return
|
|
1051
|
+
*/function Li(){const n=p();return qe(n)||Ie(n)}const Ui=1e3,xi=10;class an extends on{constructor(){super(()=>window.localStorage,"LOCAL"),this.boundEventHandler=(e,t)=>this.onStorageEvent(e,t),this.listeners={},this.localCache={},this.pollTimer=null,this.safariLocalStorageNotSynced=Li()&&_i(),this.fallbackToPolling=Zt(),this._shouldAllowMigration=!0}forAllChangedKeys(e){for(const t of Object.keys(this.listeners)){const r=this.storage.getItem(t),i=this.localCache[t];r!==i&&e(t,i,r)}}onStorageEvent(e,t=!1){if(!e.key){this.forAllChangedKeys((o,a,c)=>{this.notifyListeners(o,c)});return}const r=e.key;if(t?this.detachListener():this.stopPolling(),this.safariLocalStorageNotSynced){const o=this.storage.getItem(r);if(e.newValue!==o)e.newValue!==null?this.storage.setItem(r,e.newValue):this.storage.removeItem(r);else if(this.localCache[r]===e.newValue&&!t)return}const i=()=>{const o=this.storage.getItem(r);!t&&this.localCache[r]===o||this.notifyListeners(r,o)},s=this.storage.getItem(r);mi()&&s!==e.newValue&&e.newValue!==e.oldValue?setTimeout(i,xi):i()}notifyListeners(e,t){this.localCache[e]=t;const r=this.listeners[e];if(r)for(const i of Array.from(r))i(t&&JSON.parse(t))}startPolling(){this.stopPolling(),this.pollTimer=setInterval(()=>{this.forAllChangedKeys((e,t,r)=>{this.onStorageEvent(new StorageEvent("storage",{key:e,oldValue:t,newValue:r}),!0)})},Ui)}stopPolling(){this.pollTimer&&(clearInterval(this.pollTimer),this.pollTimer=null)}attachListener(){window.addEventListener("storage",this.boundEventHandler)}detachListener(){window.removeEventListener("storage",this.boundEventHandler)}_addListener(e,t){Object.keys(this.listeners).length===0&&(this.fallbackToPolling?this.startPolling():this.attachListener()),this.listeners[e]||(this.listeners[e]=new Set,this.localCache[e]=this.storage.getItem(e)),this.listeners[e].add(t)}_removeListener(e,t){this.listeners[e]&&(this.listeners[e].delete(t),this.listeners[e].size===0&&delete this.listeners[e]),Object.keys(this.listeners).length===0&&(this.detachListener(),this.stopPolling())}async _set(e,t){await super._set(e,t),this.localCache[e]=JSON.stringify(t)}async _get(e){const t=await super._get(e);return this.localCache[e]=JSON.stringify(t),t}async _remove(e){await super._remove(e),delete this.localCache[e]}}an.type="LOCAL";const Bi=an;/**
|
|
1052
1052
|
* @license
|
|
1053
1053
|
* Copyright 2020 Google LLC
|
|
1054
1054
|
*
|
|
@@ -1168,7 +1168,7 @@
|
|
|
1168
1168
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1169
1169
|
* See the License for the specific language governing permissions and
|
|
1170
1170
|
* limitations under the License.
|
|
1171
|
-
*/const dn="firebaseLocalStorageDb",zi=1,ge="firebaseLocalStorage",hn="fbase_key";class re{constructor(e){this.request=e}toPromise(){return new Promise((e,t)=>{this.request.addEventListener("success",()=>{e(this.request.result)}),this.request.addEventListener("error",()=>{t(this.request.error)})})}}function we(n,e){return n.transaction([ge],e?"readwrite":"readonly").objectStore(ge)}function Gi(){const n=indexedDB.deleteDatabase(dn);return new re(n).toPromise()}function $e(){const n=indexedDB.open(dn,zi);return new Promise((e,t)=>{n.addEventListener("error",()=>{t(n.error)}),n.addEventListener("upgradeneeded",()=>{const r=n.result;try{r.createObjectStore(ge,{keyPath:hn})}catch(i){t(i)}}),n.addEventListener("success",async()=>{const r=n.result;r.objectStoreNames.contains(ge)?e(r):(r.close(),await Gi(),e(await $e()))})})}async function It(n,e,t){const r=we(n,!0).put({[hn]:e,value:t});return new re(r).toPromise()}async function
|
|
1171
|
+
*/const dn="firebaseLocalStorageDb",zi=1,ge="firebaseLocalStorage",hn="fbase_key";class re{constructor(e){this.request=e}toPromise(){return new Promise((e,t)=>{this.request.addEventListener("success",()=>{e(this.request.result)}),this.request.addEventListener("error",()=>{t(this.request.error)})})}}function we(n,e){return n.transaction([ge],e?"readwrite":"readonly").objectStore(ge)}function Gi(){const n=indexedDB.deleteDatabase(dn);return new re(n).toPromise()}function $e(){const n=indexedDB.open(dn,zi);return new Promise((e,t)=>{n.addEventListener("error",()=>{t(n.error)}),n.addEventListener("upgradeneeded",()=>{const r=n.result;try{r.createObjectStore(ge,{keyPath:hn})}catch(i){t(i)}}),n.addEventListener("success",async()=>{const r=n.result;r.objectStoreNames.contains(ge)?e(r):(r.close(),await Gi(),e(await $e()))})})}async function It(n,e,t){const r=we(n,!0).put({[hn]:e,value:t});return new re(r).toPromise()}async function qi(n,e){const t=we(n,!1).get(e),r=await new re(t).toPromise();return r===void 0?null:r.value}function yt(n,e){const t=we(n,!0).delete(e);return new re(t).toPromise()}const Ki=800,Ji=3;class fn{constructor(){this.type="LOCAL",this._shouldAllowMigration=!0,this.listeners={},this.localCache={},this.pollTimer=null,this.pendingWrites=0,this.receiver=null,this.sender=null,this.serviceWorkerReceiverAvailable=!1,this.activeServiceWorker=null,this._workerInitializationPromise=this.initializeServiceWorkerMessaging().then(()=>{},()=>{})}async _openDb(){return this.db?this.db:(this.db=await $e(),this.db)}async _withRetries(e){let t=0;for(;;)try{const r=await this._openDb();return await e(r)}catch(r){if(t++>Ji)throw r;this.db&&(this.db.close(),this.db=void 0)}}async initializeServiceWorkerMessaging(){return un()?this.initializeReceiver():this.initializeSender()}async initializeReceiver(){this.receiver=Ee._getInstance(ji()),this.receiver._subscribe("keyChanged",async(e,t)=>({keyProcessed:(await this._poll()).includes(t.key)})),this.receiver._subscribe("ping",async(e,t)=>["keyChanged"])}async initializeSender(){var e,t;if(this.activeServiceWorker=await Vi(),!this.activeServiceWorker)return;this.sender=new $i(this.activeServiceWorker);const r=await this.sender._send("ping",{},800);r&&!((e=r[0])===null||e===void 0)&&e.fulfilled&&!((t=r[0])===null||t===void 0)&&t.value.includes("keyChanged")&&(this.serviceWorkerReceiverAvailable=!0)}async notifyServiceWorker(e){if(!(!this.sender||!this.activeServiceWorker||Wi()!==this.activeServiceWorker))try{await this.sender._send("keyChanged",{key:e},this.serviceWorkerReceiverAvailable?800:50)}catch{}}async _isAvailable(){try{if(!indexedDB)return!1;const e=await $e();return await It(e,pe,"1"),await yt(e,pe),!0}catch{}return!1}async _withPendingWrite(e){this.pendingWrites++;try{await e()}finally{this.pendingWrites--}}async _set(e,t){return this._withPendingWrite(async()=>(await this._withRetries(r=>It(r,e,t)),this.localCache[e]=t,this.notifyServiceWorker(e)))}async _get(e){const t=await this._withRetries(r=>qi(r,e));return this.localCache[e]=t,t}async _remove(e){return this._withPendingWrite(async()=>(await this._withRetries(t=>yt(t,e)),delete this.localCache[e],this.notifyServiceWorker(e)))}async _poll(){const e=await this._withRetries(i=>{const s=we(i,!1).getAll();return new re(s).toPromise()});if(!e)return[];if(this.pendingWrites!==0)return[];const t=[],r=new Set;for(const{fbase_key:i,value:s}of e)r.add(i),JSON.stringify(this.localCache[i])!==JSON.stringify(s)&&(this.notifyListeners(i,s),t.push(i));for(const i of Object.keys(this.localCache))this.localCache[i]&&!r.has(i)&&(this.notifyListeners(i,null),t.push(i));return t}notifyListeners(e,t){this.localCache[e]=t;const r=this.listeners[e];if(r)for(const i of Array.from(r))i(t)}startPolling(){this.stopPolling(),this.pollTimer=setInterval(async()=>this._poll(),Ki)}stopPolling(){this.pollTimer&&(clearInterval(this.pollTimer),this.pollTimer=null)}_addListener(e,t){Object.keys(this.listeners).length===0&&this.startPolling(),this.listeners[e]||(this.listeners[e]=new Set,this._get(e)),this.listeners[e].add(t)}_removeListener(e,t){this.listeners[e]&&(this.listeners[e].delete(t),this.listeners[e].size===0&&delete this.listeners[e]),Object.keys(this.listeners).length===0&&this.stopPolling()}}fn.type="LOCAL";const Yi=fn;/**
|
|
1172
1172
|
* @license
|
|
1173
1173
|
* Copyright 2020 Google LLC
|
|
1174
1174
|
*
|
|
@@ -1213,7 +1213,7 @@
|
|
|
1213
1213
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1214
1214
|
* See the License for the specific language governing permissions and
|
|
1215
1215
|
* limitations under the License.
|
|
1216
|
-
*/class Ye extends
|
|
1216
|
+
*/class Ye extends Ke{constructor(e){super("custom","custom"),this.params=e}_getIdTokenResponse(e){return $(e,this._buildIdpRequest())}_linkToIdToken(e,t){return $(e,this._buildIdpRequest(t))}_getReauthenticationResolver(e){return $(e,this._buildIdpRequest())}_buildIdpRequest(e){const t={requestUri:this.params.requestUri,sessionId:this.params.sessionId,postBody:this.params.postBody,tenantId:this.params.tenantId,pendingToken:this.params.pendingToken,returnSecureToken:!0,returnIdpCredential:!0};return e&&(t.idToken=e),t}}function ts(n){return sn(n.auth,new Ye(n),n.bypassAuthState)}function ns(n){const{auth:e,user:t}=n;return u(t,e,"internal-error"),Di(t,new Ye(n),n.bypassAuthState)}async function rs(n){const{auth:e,user:t}=n;return u(t,e,"internal-error"),Oi(t,new Ye(n),n.bypassAuthState)}/**
|
|
1217
1217
|
* @license
|
|
1218
1218
|
* Copyright 2020 Google LLC
|
|
1219
1219
|
*
|
|
@@ -1348,7 +1348,7 @@
|
|
|
1348
1348
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1349
1349
|
* See the License for the specific language governing permissions and
|
|
1350
1350
|
* limitations under the License.
|
|
1351
|
-
*/const Os={location:"yes",resizable:"yes",statusbar:"yes",toolbar:"no"},Ds=500,Ps=600,Ns="_blank",Ms="http://localhost";class wt{constructor(e){this.window=e,this.associatedEvent=null}close(){if(this.window)try{this.window.close()}catch{}}}function Ls(n,e,t,r=Ds,i=Ps){const s=Math.max((window.screen.availHeight-i)/2,0).toString(),o=Math.max((window.screen.availWidth-r)/2,0).toString();let a="";const c=Object.assign(Object.assign({},Os),{width:r.toString(),height:i.toString(),top:s,left:o}),l=p().toLowerCase();t&&(a=
|
|
1351
|
+
*/const Os={location:"yes",resizable:"yes",statusbar:"yes",toolbar:"no"},Ds=500,Ps=600,Ns="_blank",Ms="http://localhost";class wt{constructor(e){this.window=e,this.associatedEvent=null}close(){if(this.window)try{this.window.close()}catch{}}}function Ls(n,e,t,r=Ds,i=Ps){const s=Math.max((window.screen.availHeight-i)/2,0).toString(),o=Math.max((window.screen.availWidth-r)/2,0).toString();let a="";const c=Object.assign(Object.assign({},Os),{width:r.toString(),height:i.toString(),top:s,left:o}),l=p().toLowerCase();t&&(a=Kt(l)?Ns:t),qt(l)&&(e=e||Ms,c.scrollbars="yes");const d=Object.entries(c).reduce((g,[I,U])=>`${g}${I}=${U},`,"");if(gi(l)&&a!=="_self")return Us(e||"",a),new wt(null);const f=window.open(e||"",a,d);u(f,n,"popup-blocked");try{f.focus()}catch{}return new wt(f)}function Us(n,e){const t=document.createElement("a");t.href=n,t.target=e;const r=document.createEvent("MouseEvent");r.initMouseEvent("click",!0,!0,window,1,0,0,0,0,!1,!1,!1,!1,1,null),t.dispatchEvent(r)}/**
|
|
1352
1352
|
* @license
|
|
1353
1353
|
* Copyright 2021 Google LLC
|
|
1354
1354
|
*
|
|
@@ -1378,7 +1378,7 @@
|
|
|
1378
1378
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1379
1379
|
* See the License for the specific language governing permissions and
|
|
1380
1380
|
* limitations under the License.
|
|
1381
|
-
*/const Me="webStorageSupport";class $s{constructor(){this.eventManagers={},this.iframes={},this.originValidationPromises={},this._redirectPersistence=ln,this._completeRedirectFn=ds,this._overrideRedirectResult=cs}async _openPopup(e,t,r,i){var s;E((s=this.eventManagers[e._key()])===null||s===void 0?void 0:s.manager,"_initialize() not called before _openPopup()");const o=Tt(e,t,r,de(),i);return Ls(e,o,Je())}async _openRedirect(e,t,r,i){return await this._originValidation(e),Hi(Tt(e,t,r,de(),i)),new Promise(()=>{})}_initialize(e){const t=e._key();if(this.eventManagers[t]){const{manager:i,promise:s}=this.eventManagers[t];return i?Promise.resolve(i):(E(s,"If manager is not set, promise should be"),s)}const r=this.initAndGetManager(e);return this.eventManagers[t]={promise:r},r.catch(()=>{delete this.eventManagers[t]}),r}async initAndGetManager(e){const t=await Cs(e),r=new fs(e);return t.register("authEvent",i=>(u(i?.authEvent,e,"invalid-auth-event"),{status:r.onEvent(i.authEvent)?"ACK":"ERROR"}),gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER),this.eventManagers[e._key()]={manager:r},this.iframes[e._key()]=t,r}_isIframeWebStorageSupported(e,t){this.iframes[e._key()].send(Me,{type:Me},i=>{var s;const o=(s=i?.[0])===null||s===void 0?void 0:s[Me];o!==void 0&&t(!!o),m(e,"internal-error")},gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER)}_originValidation(e){const t=e._key();return this.originValidationPromises[t]||(this.originValidationPromises[t]=vs(e)),this.originValidationPromises[t]}get _shouldInitProactively(){return Zt()||
|
|
1381
|
+
*/const Me="webStorageSupport";class $s{constructor(){this.eventManagers={},this.iframes={},this.originValidationPromises={},this._redirectPersistence=ln,this._completeRedirectFn=ds,this._overrideRedirectResult=cs}async _openPopup(e,t,r,i){var s;E((s=this.eventManagers[e._key()])===null||s===void 0?void 0:s.manager,"_initialize() not called before _openPopup()");const o=Tt(e,t,r,de(),i);return Ls(e,o,Je())}async _openRedirect(e,t,r,i){return await this._originValidation(e),Hi(Tt(e,t,r,de(),i)),new Promise(()=>{})}_initialize(e){const t=e._key();if(this.eventManagers[t]){const{manager:i,promise:s}=this.eventManagers[t];return i?Promise.resolve(i):(E(s,"If manager is not set, promise should be"),s)}const r=this.initAndGetManager(e);return this.eventManagers[t]={promise:r},r.catch(()=>{delete this.eventManagers[t]}),r}async initAndGetManager(e){const t=await Cs(e),r=new fs(e);return t.register("authEvent",i=>(u(i?.authEvent,e,"invalid-auth-event"),{status:r.onEvent(i.authEvent)?"ACK":"ERROR"}),gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER),this.eventManagers[e._key()]={manager:r},this.iframes[e._key()]=t,r}_isIframeWebStorageSupported(e,t){this.iframes[e._key()].send(Me,{type:Me},i=>{var s;const o=(s=i?.[0])===null||s===void 0?void 0:s[Me];o!==void 0&&t(!!o),m(e,"internal-error")},gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER)}_originValidation(e){const t=e._key();return this.originValidationPromises[t]||(this.originValidationPromises[t]=vs(e)),this.originValidationPromises[t]}get _shouldInitProactively(){return Zt()||qe()||Ie()}}const Hs=$s;var St="@firebase/auth",kt="0.22.0";/**
|
|
1382
1382
|
* @license
|
|
1383
1383
|
* Copyright 2020 Google LLC
|
|
1384
1384
|
*
|
|
@@ -1408,7 +1408,7 @@
|
|
|
1408
1408
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1409
1409
|
* See the License for the specific language governing permissions and
|
|
1410
1410
|
* limitations under the License.
|
|
1411
|
-
*/function Ws(n){switch(n){case"Node":return"node";case"ReactNative":return"rn";case"Worker":return"webworker";case"Cordova":return"cordova";default:return}}function js(n){
|
|
1411
|
+
*/function Ws(n){switch(n){case"Node":return"node";case"ReactNative":return"rn";case"Worker":return"webworker";case"Cordova":return"cordova";default:return}}function js(n){q(new H("auth",(e,{options:t})=>{const r=e.getProvider("app").getImmediate(),i=e.getProvider("heartbeat"),{apiKey:s,authDomain:o}=r.options;return((a,c)=>{u(s&&!s.includes(":"),"invalid-api-key",{appName:a.name}),u(!o?.includes(":"),"argument-error",{appName:a.name});const l={apiKey:s,authDomain:o,clientPlatform:n,apiHost:"identitytoolkit.googleapis.com",tokenApiHost:"securetoken.googleapis.com",apiScheme:"https",sdkClientVersion:en(n)},d=new Ii(a,c,l);return Qr(d,t),d})(r,i)},"PUBLIC").setInstantiationMode("EXPLICIT").setInstanceCreatedCallback((e,t,r)=>{e.getProvider("auth-internal").initialize()})),q(new H("auth-internal",e=>{const t=ye(e.getProvider("auth").getImmediate());return(r=>new Vs(r))(t)},"PRIVATE").setInstantiationMode("EXPLICIT")),B(St,kt,Ws(n)),B(St,kt,"esm2017")}/**
|
|
1412
1412
|
* @license
|
|
1413
1413
|
* Copyright 2021 Google LLC
|
|
1414
1414
|
*
|
|
@@ -1423,4 +1423,4 @@
|
|
|
1423
1423
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1424
1424
|
* See the License for the specific language governing permissions and
|
|
1425
1425
|
* limitations under the License.
|
|
1426
|
-
*/const zs=5*60,Gs=Pt("authIdTokenMaxAge")||zs;let At=null;const
|
|
1426
|
+
*/const zs=5*60,Gs=Pt("authIdTokenMaxAge")||zs;let At=null;const qs=n=>async e=>{const t=e&&await e.getIdTokenResult(),r=t&&(new Date().getTime()-Date.parse(t.issuedAtTime))/1e3;if(r&&r>Gs)return;const i=t?.token;At!==i&&(At=i,await fetch(n,{method:i?"POST":"DELETE",headers:i?{Authorization:`Bearer ${i}`}:{}}))};function Xs(n=xr()){const e=Ut(n,"auth");if(e.isInitialized())return e.getImmediate();const t=Xr(n,{popupRedirectResolver:Hs,persistence:[Yi,Bi,ln]}),r=Pt("authTokenSyncURL");if(r){const s=qs(r);Mi(t,s,()=>s(t.currentUser)),Ni(t,o=>s(o))}const i=Sn("auth");return i&&yi(t,`http://${i}`),t}js("Browser");const Qs=xt(window.firebaseConfig);export{Qs as default,Qs as firebaseApp,Xs as getAuth,Ks as isSignInWithEmailLink,Ys as onAuthStateChanged,Js as signInWithEmailLink};
|
package/packages/storefront/dist/client/_astro/{format-money.ab6b71eb.js → format-money.f09b89ed.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Q as n}from"./_plugin-vue_export-helper.
|
|
1
|
+
import{Q as n}from"./_plugin-vue_export-helper.0c2b7f88.js";const f=e=>{if(typeof e!="object"||e===null)return console.error(new Error("`product` must be an object")),!1;let r=e.price_effective_date;if(r){let t=new Date;if(r.start&&new Date(r.start)>t||r.end&&new Date(r.end)<t)return!1}return e.base_price>e.price},s=f,c=e=>s(e)?e.price:e?typeof e.final_price=="number"?e.final_price:Math.max(e.base_price||0,e.price||0):0,a=c,m=(e,r=n.get("currency"),t=n.get("lang"))=>{if(typeof e=="object"?e!==null&&(e=a(e)):typeof e=="string"&&(e=parseFloat(e)),r)try{return e.toLocaleString(t.replace("_","-"),{style:"currency",currency:r})}catch(i){console.error(i)}const o=(r||n.get("currency_symbol"))+" ";return typeof e=="number"?o+e:""},l=m;export{s as c,l as f,a as g};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./session-utm.
|
|
1
|
+
import"./session-utm.ac492493.js";import{_ as u}from"./preload-helper.101896b7.js";function v(d={}){const{immediate:l=!1,onNeedRefresh:g,onOfflineReady:t,onRegistered:r,onRegisteredSW:o,onRegisterError:s}=d;let i,n;const c=async(a=!0)=>{await n};async function f(){if("serviceWorker"in navigator){const{Workbox:a}=await u(()=>import("./workbox-window.prod.es5.dc90f814.js"),[]);i=new a("/sw.js",{scope:"/",type:"classic"}),i.addEventListener("activated",e=>{(e.isUpdate||e.isExternal)&&window.location.reload()}),i.addEventListener("installed",e=>{e.isUpdate||t?.()}),i.register({immediate:l}).then(e=>{o?o("/sw.js",e):r?.(e)}).catch(e=>{s?.(e)})}}return n=f(),c}v({immediate:!0});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[data-carousel-wrapper]{scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;-webkit-overflow-scrolling:touch;-ms-overflow-style:none}[data-carousel-wrapper]::-webkit-scrollbar{display:none}[data-carousel-wrapper]>*{scroll-snap-align:start;outline:none}[data-carousel-control]{z-index:1}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{L as Y,c as x,j as D,M as q,N as z,O as B,s as j,k as G}from"./_plugin-vue_export-helper.0c2b7f88.js";function R(t){return z()?(B(t),!0):!1}function g(t){return typeof t=="function"?t():Y(t)}const I=typeof window<"u",w=()=>{};function V(t,o){function e(...r){return new Promise((l,n)=>{Promise.resolve(t(()=>o.apply(this,r),{fn:o,thisArg:this,args:r})).then(l).catch(n)})}return e}function J(t,o={}){let e,r,l=w;const n=i=>{clearTimeout(i),l(),l=w};return i=>{const u=g(t),a=g(o.maxWait);return e&&n(e),u<=0||a!==void 0&&a<=0?(r&&(n(r),r=null),Promise.resolve(i())):new Promise((c,d)=>{l=o.rejectOnCancel?d:c,a&&!r&&(r=setTimeout(()=>{e&&n(e),r=null,c(i())},a)),e=setTimeout(()=>{r&&n(r),r=null,c(i())},u)})}}function K(t,o=!0,e=!0,r=!1){let l=0,n,s=!0,i=w,u;const a=()=>{n&&(clearTimeout(n),n=void 0,i(),i=w)};return d=>{const m=g(t),h=Date.now()-l,y=()=>u=d();return a(),m<=0?(l=Date.now(),y()):(h>m&&(e||!s)?(l=Date.now(),y()):o&&(u=new Promise((p,v)=>{i=r?v:p,n=setTimeout(()=>{l=Date.now(),s=!0,p(y()),a()},Math.max(0,m-h))})),!e&&!n&&(n=setTimeout(()=>s=!0,m)),s=!1,u)}}function le(t,o=!1,e="Timeout"){return new Promise((r,l)=>{setTimeout(o?()=>l(e):r,t)})}function Q(t,o=200,e={}){return V(J(o,e),t)}function U(t,o=200,e=!1,r=!0,l=!1){return V(K(o,e,r,l),t)}function Z(t,o,e={}){const{immediate:r=!0}=e,l=D(!1);let n=null;function s(){n&&(clearTimeout(n),n=null)}function i(){l.value=!1,s()}function u(...a){s(),l.value=!0,n=setTimeout(()=>{l.value=!1,n=null,t(...a)},g(o))}return r&&(l.value=!0,I&&u()),R(i),{isPending:q(l),start:u,stop:i}}var k=Object.defineProperty,F=Object.getOwnPropertySymbols,ee=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,W=(t,o,e)=>o in t?k(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e,oe=(t,o)=>{for(var e in o||(o={}))ee.call(o,e)&&W(t,e,o[e]);if(F)for(var e of F(o))te.call(o,e)&&W(t,e,o[e]);return t};function se(t=1e3,o={}){const{controls:e=!1,callback:r}=o,l=Z(r??w,t,o),n=x(()=>!l.isPending.value);return e?oe({ready:n},l):n}function re(t){var o;const e=g(t);return(o=e?.$el)!=null?o:e}const N=I?window:void 0;function O(...t){let o,e,r,l;if(typeof t[0]=="string"||Array.isArray(t[0])?([e,r,l]=t,o=N):[o,e,r,l]=t,!o)return w;Array.isArray(e)||(e=[e]),Array.isArray(r)||(r=[r]);const n=[],s=()=>{n.forEach(c=>c()),n.length=0},i=(c,d,m,h)=>(c.addEventListener(d,m,h),()=>c.removeEventListener(d,m,h)),u=G(()=>[re(o),g(l)],([c,d])=>{s(),c&&n.push(...e.flatMap(m=>r.map(h=>i(c,m,h,d))))},{immediate:!0,flush:"post"}),a=()=>{u(),s()};return R(a),a}function ie(t,o={}){const{delayEnter:e=0,delayLeave:r=0,window:l=N}=o,n=D(!1);let s;const i=u=>{const a=u?e:r;s&&(clearTimeout(s),s=void 0),a?s=setTimeout(()=>n.value=u,a):n.value=u};return l&&(O(t,"mouseenter",()=>i(!0),{passive:!0}),O(t,"mouseleave",()=>i(!1),{passive:!0})),n}const C=1;function ae(t,o={}){const{throttle:e=0,idle:r=200,onStop:l=w,onScroll:n=w,offset:s={left:0,right:0,top:0,bottom:0},eventListenerOptions:i={capture:!1,passive:!0},behavior:u="auto"}=o,a=D(0),c=D(0),d=x({get(){return a.value},set(f){h(f,void 0)}}),m=x({get(){return c.value},set(f){h(void 0,f)}});function h(f,T){var P,S,b;const E=g(t);E&&((b=E instanceof Document?document.body:E)==null||b.scrollTo({top:(P=g(T))!=null?P:m.value,left:(S=g(f))!=null?S:d.value,behavior:g(u)}))}const y=D(!1),p=j({left:!0,right:!1,top:!0,bottom:!1}),v=j({left:!1,right:!1,top:!1,bottom:!1}),L=f=>{y.value&&(y.value=!1,v.left=!1,v.right=!1,v.top=!1,v.bottom=!1,l(f))},X=Q(L,e+r),A=f=>{const T=f.target===document?f.target.documentElement:f.target,{display:P,flexDirection:S}=getComputedStyle(T),b=T.scrollLeft;v.left=b<a.value,v.right=b>a.value;const E=Math.abs(b)<=0+(s.left||0),H=Math.abs(b)+T.clientWidth>=T.scrollWidth-(s.right||0)-C;P==="flex"&&S==="row-reverse"?(p.left=H,p.right=E):(p.left=E,p.right=H),a.value=b;let _=T.scrollTop;f.target===document&&!_&&(_=document.body.scrollTop),v.top=_<c.value,v.bottom=_>c.value;const M=Math.abs(_)<=0+(s.top||0),$=Math.abs(_)+T.clientHeight>=T.scrollHeight-(s.bottom||0)-C;P==="flex"&&S==="column-reverse"?(p.top=$,p.bottom=M):(p.top=M,p.bottom=$),c.value=_,y.value=!0,X(f),n(f)};return O(t,"scroll",e?U(A,e,!0,!1):A,i),O(t,"scrollend",L,i),{x:d,y:m,isScrolling:y,arrivedState:p,directions:v}}export{ae as a,Q as b,ie as c,le as p,se as u};
|
package/packages/storefront/dist/client/_astro/{modules-info.06ac0727.js → modules-info.2a72e536.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{l as h,u as _}from"./session-utm.
|
|
1
|
+
import{l as h,u as _}from"./session-utm.ac492493.js";import{i as g}from"./idle-callback.889bf0ea.js";import{s as b,c as d}from"./_plugin-vue_export-helper.0c2b7f88.js";import{f as v}from"./format-money.f09b89ed.js";const I=(o,a,l=1e4)=>{let n,r;l&&(n=new AbortController,r=setTimeout(()=>{n.abort()},l)),a?.body&&typeof a.body=="object"&&(a.body=JSON.stringify(a.body),a.headers={...a.headers,"Content-Type":"application/json","Content-Length":a.body.length.toString()});const i=fetch(o,{...a,signal:n?.signal});return i.finally(()=>{r&&clearTimeout(r)}),i},O={list_payments:{},calculate_shipping:{},apply_discount:{}},p=b(O);h.then(o=>{Object.assign(p,o)});{const o="MODULES_INFO",a=sessionStorage.getItem(o);if(a)try{const n=JSON.parse(a);n.__timestamp>=Date.now()-1e3*60*5?(delete n.__timestamp,Object.assign(p,n)):sessionStorage.removeItem(o)}catch{sessionStorage.removeItem(o)}g(()=>{const n=[];["list_payments","calculate_shipping"].forEach(r=>{Object.keys(p[r]).length||n.push({modName:r})}),Object.keys(_).length&&n.push({modName:"apply_discount",reqOptions:{method:"post",body:{utm:_}}}),n.forEach(({modName:r,reqOptions:i})=>{I(`/api/modules/${r}`,i).then(async f=>{if(f.ok){const s={};p[r]=s;const{result:u}=await f.json();Array.isArray(u)&&u.forEach(({error:y,response:c})=>{if(!y){let e,t;switch(r){case"calculate_shipping":e="free_shipping_from_value",t=c[e],typeof t=="number"&&(s[e]===void 0||t<s[e])&&(s[e]=t);break;case"list_payments":e="installments_option",t=c[e],t&&(!s[e]||t.monthly_interest<s[e].monthly_interest||t.max_number>s[e].max_number)&&(s[e]=t),e="discount_option",t=c[e],t&&(!s[e]||t.value>s[e].value)&&c.payment_gateways.forEach(({discount:m})=>{m&&m.apply_at!=="freight"&&m.value===t.value&&(s[e]={apply_at:m.apply_at,...t})}),e="loyalty_points_programs",t=c[e],t&&(s[e]={...s[e],...t});break;default:e="available_extra_discount",t=c[e],t&&(!s[e]||t.value>s[e].value)&&(s[e]=t)}}}),sessionStorage.setItem(o,JSON.stringify({...p,__timestamp:Date.now()}))}}).catch(console.error)})})}const S=(o,a,l,n=v)=>d(()=>{const r=`{${l}}`,i=o.indexOf(r);if(i>-1){const f=p[a][l];if(f){const s=n(f);return o.substring(0,i)+s+o.substring(i+r.length)}return""}return o}),C=o=>S(o,"calculate_shipping","free_shipping_from_value");export{p as m,C as p};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{R as tt,U as L,V as mt,W as gt,y as vt,X as et,Y as O,Z as ht,$ as Ct,a0 as D,a1 as bt,a2 as St,a3 as nt,a4 as Et,a5 as At,a6 as Tt,a7 as st,a8 as Nt}from"./_plugin-vue_export-helper.0c2b7f88.js";const _t="http://www.w3.org/2000/svg",S=typeof document<"u"?document:null,K=S&&S.createElement("template"),Lt={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,s)=>{const r=e?S.createElementNS(_t,t):S.createElement(t,n?{is:n}:void 0);return t==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:t=>S.createTextNode(t),createComment:t=>S.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>S.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,s,r,i){const a=n?n.previousSibling:e.lastChild;if(r&&(r===i||r.nextSibling))for(;e.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{K.innerHTML=s?`<svg>${t}</svg>`:t;const f=K.content;if(s){const c=f.firstChild;for(;c.firstChild;)f.appendChild(c.firstChild);f.removeChild(c)}e.insertBefore(f,n)}return[a?a.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}};function Dt(t,e,n){const s=t._vtc;s&&(e=(e?[e,...s]:[...s]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}function wt(t,e,n){const s=t.style,r=L(n);if(n&&!r){if(e&&!L(e))for(const i in e)n[i]==null&&$(s,i,"");for(const i in n)$(s,i,n[i])}else{const i=s.display;r?e!==n&&(s.cssText=n):e&&t.removeAttribute("style"),"_vod"in t&&(s.display=i)}}const W=/\s*!important$/;function $(t,e,n){if(D(n))n.forEach(s=>$(t,e,s));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const s=It(t,e);W.test(n)?t.setProperty(nt(s),n.replace(W,""),"important"):t[s]=n}}const j=["Webkit","Moz","ms"],I={};function It(t,e){const n=I[e];if(n)return n;let s=Et(e);if(s!=="filter"&&s in t)return I[e]=s;s=At(s);for(let r=0;r<j.length;r++){const i=j[r]+s;if(i in t)return I[e]=i}return e}const U="http://www.w3.org/1999/xlink";function Mt(t,e,n,s,r){if(s&&e.startsWith("xlink:"))n==null?t.removeAttributeNS(U,e.slice(6,e.length)):t.setAttributeNS(U,e,n);else{const i=Tt(e);n==null||i&&!st(n)?t.removeAttribute(e):t.setAttribute(e,i?"":n)}}function Pt(t,e,n,s,r,i,a){if(e==="innerHTML"||e==="textContent"){s&&a(s,r,i),t[e]=n??"";return}if(e==="value"&&t.tagName!=="PROGRESS"&&!t.tagName.includes("-")){t._value=n;const c=n??"";(t.value!==c||t.tagName==="OPTION")&&(t.value=c),n==null&&t.removeAttribute(e);return}let f=!1;if(n===""||n==null){const c=typeof t[e];c==="boolean"?n=st(n):n==null&&c==="string"?(n="",f=!0):c==="number"&&(n=0,f=!0)}try{t[e]=n}catch{}f&&t.removeAttribute(e)}function $t(t,e,n,s){t.addEventListener(e,n,s)}function Ot(t,e,n,s){t.removeEventListener(e,n,s)}function Rt(t,e,n,s,r=null){const i=t._vei||(t._vei={}),a=i[e];if(s&&a)a.value=s;else{const[f,c]=xt(e);if(s){const p=i[e]=Ft(s,r);$t(t,f,p,c)}else a&&(Ot(t,f,a,c),i[e]=void 0)}}const X=/(?:Once|Passive|Capture)$/;function xt(t){let e;if(X.test(t)){e={};let s;for(;s=t.match(X);)t=t.slice(0,t.length-s[0].length),e[s[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):nt(t.slice(2)),e]}let M=0;const Bt=Promise.resolve(),Ht=()=>M||(Bt.then(()=>M=0),M=Date.now());function Ft(t,e){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Nt(yt(s,n.value),e,5,[s])};return n.value=t,n.attached=Ht(),n}function yt(t,e){if(D(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(s=>r=>!r._stopped&&s&&s(r))}else return e}const G=/^on[a-z]/,zt=(t,e,n,s,r=!1,i,a,f,c)=>{e==="class"?Dt(t,s,r):e==="style"?wt(t,n,s):bt(e)?St(e)||Rt(t,e,n,s,a):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):qt(t,e,s,r))?Pt(t,e,s,i,a,f,c):(e==="true-value"?t._trueValue=s:e==="false-value"&&(t._falseValue=s),Mt(t,e,s,r))};function qt(t,e,n,s){return s?!!(e==="innerHTML"||e==="textContent"||e in t&&G.test(e)&&tt(n)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA"||G.test(e)&&L(n)?!1:e in t}const g="transition",T="animation",rt=(t,{slots:e})=>vt(et,Kt(t),e);rt.displayName="Transition";const it={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};rt.props=O({},et.props,it);const C=(t,e=[])=>{D(t)?t.forEach(n=>n(...e)):t&&t(...e)},Y=t=>t?D(t)?t.some(e=>e.length>1):t.length>1:!1;function Kt(t){const e={};for(const o in t)o in it||(e[o]=t[o]);if(t.css===!1)return e;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:f=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:p=a,appearToClass:l=f,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:m=`${n}-leave-active`,leaveToClass:E=`${n}-leave-to`}=t,A=Wt(r),ct=A&&A[0],ft=A&&A[1],{onBeforeEnter:R,onEnter:x,onEnterCancelled:B,onLeave:H,onLeaveCancelled:lt,onBeforeAppear:ut=R,onAppear:pt=x,onAppearCancelled:dt=B}=e,w=(o,u,h)=>{b(o,u?l:f),b(o,u?p:a),h&&h()},F=(o,u)=>{o._isLeaving=!1,b(o,d),b(o,E),b(o,m),u&&u()},y=o=>(u,h)=>{const z=o?pt:x,q=()=>w(u,o,h);C(z,[u,q]),Z(()=>{b(u,o?c:i),v(u,o?l:f),Y(z)||J(u,s,ct,q)})};return O(e,{onBeforeEnter(o){C(R,[o]),v(o,i),v(o,a)},onBeforeAppear(o){C(ut,[o]),v(o,c),v(o,p)},onEnter:y(!1),onAppear:y(!0),onLeave(o,u){o._isLeaving=!0;const h=()=>F(o,u);v(o,d),Xt(),v(o,m),Z(()=>{o._isLeaving&&(b(o,d),v(o,E),Y(H)||J(o,s,ft,h))}),C(H,[o,h])},onEnterCancelled(o){w(o,!1),C(B,[o])},onAppearCancelled(o){w(o,!0),C(dt,[o])},onLeaveCancelled(o){F(o),C(lt,[o])}})}function Wt(t){if(t==null)return null;if(ht(t))return[P(t.enter),P(t.leave)];{const e=P(t);return[e,e]}}function P(t){return Ct(t)}function v(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t._vtc||(t._vtc=new Set)).add(e)}function b(t,e){e.split(/\s+/).forEach(s=>s&&t.classList.remove(s));const{_vtc:n}=t;n&&(n.delete(e),n.size||(t._vtc=void 0))}function Z(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let jt=0;function J(t,e,n,s){const r=t._endId=++jt,i=()=>{r===t._endId&&s()};if(n)return setTimeout(i,n);const{type:a,timeout:f,propCount:c}=Ut(t,e);if(!a)return s();const p=a+"end";let l=0;const d=()=>{t.removeEventListener(p,m),i()},m=E=>{E.target===t&&++l>=c&&d()};setTimeout(()=>{l<c&&d()},f+1),t.addEventListener(p,m)}function Ut(t,e){const n=window.getComputedStyle(t),s=A=>(n[A]||"").split(", "),r=s(`${g}Delay`),i=s(`${g}Duration`),a=Q(r,i),f=s(`${T}Delay`),c=s(`${T}Duration`),p=Q(f,c);let l=null,d=0,m=0;e===g?a>0&&(l=g,d=a,m=i.length):e===T?p>0&&(l=T,d=p,m=c.length):(d=Math.max(a,p),l=d>0?a>p?g:T:null,m=l?l===g?i.length:c.length:0);const E=l===g&&/\b(transform|all)(,|$)/.test(s(`${g}Property`).toString());return{type:l,timeout:d,propCount:m,hasTransform:E}}function Q(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map((n,s)=>V(n)+V(t[s])))}function V(t){return Number(t.slice(0,-1).replace(",","."))*1e3}function Xt(){return document.body.offsetHeight}const Gt=["ctrl","shift","alt","meta"],Yt={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>Gt.some(n=>t[`${n}Key`]&&!e.includes(n))},Vt=(t,e)=>(n,...s)=>{for(let r=0;r<e.length;r++){const i=Yt[e[r]];if(i&&i(n,e))return}return t(n,...s)},kt={beforeMount(t,{value:e},{transition:n}){t._vod=t.style.display==="none"?"":t.style.display,n&&e?n.beforeEnter(t):N(t,e)},mounted(t,{value:e},{transition:n}){n&&e&&n.enter(t)},updated(t,{value:e,oldValue:n},{transition:s}){!e!=!n&&(s?e?(s.beforeEnter(t),N(t,!0),s.enter(t)):s.leave(t,()=>{N(t,!1)}):N(t,e))},beforeUnmount(t,{value:e}){N(t,e)}};function N(t,e){t.style.display=e?t._vod:"none"}const ot=O({patchProp:zt},Lt);let _,k=!1;function Zt(){return _||(_=mt(ot))}function Jt(){return _=k?_:gt(ot),k=!0,_}const te=(...t)=>{const e=Zt().createApp(...t),{mount:n}=e;return e.mount=s=>{const r=at(s);if(!r)return;const i=e._component;!tt(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.innerHTML="";const a=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),a},e},ee=(...t)=>{const e=Jt().createApp(...t),{mount:n}=e;return e.mount=s=>{const r=at(s);if(r)return n(r,!0,r instanceof SVGElement)},e};function at(t){return L(t)?document.querySelector(t):t}export{rt as T,ee as a,te as c,kt as v,Vt as w};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const p=s=>Object.values(s).filter(t=>t).length,g=(s=globalThis.storefront.settings.modules)=>{const t={};if(s){const e=s.list_payments;if(e){const n=e.discount_option;n&&p(n)&&(t.list_payments={discount_option:n});const c=e.installments_option;c?.max_number&&(t.list_payments||(t.list_payments={}),t.list_payments.installments_option=c);const l=e.loyalty_points_programs||{};if(!Object.keys(l).length){const i={...e.loyalty_points_program};if(i?.id&&i.ratio){const{id:m}=i;delete i.id,l[m]=i}}Object.keys(l).length&&(t.list_payments||(t.list_payments={}),t.list_payments.loyalty_points_programs=l)}const o=s.calculate_shipping?.free_shipping_from_value;typeof o=="number"&&(t.calculate_shipping={free_shipping_from_value:o})}return t},f=new Promise(s=>{window.storefront.modulesInfoPreset=g(),s(window.storefront.modulesInfoPreset)});let r={};{const s="ecomUtm",t=sessionStorage.getItem(s);try{r=t&&JSON.parse(t)||{}}catch{r={}}let e;const a=new URLSearchParams(window.location.search);["source","medium","campaign","term","content"].forEach(o=>{const n=a.get(`utm_${o}`);typeof n=="string"&&(r[o]=n,e=!0)}),e&&sessionStorage.setItem(s,JSON.stringify(r))}const _=r;export{f as l,_ as u};
|
|
Binary file
|
|
Binary file
|