@stacksjs/hello-world-elements 0.33.31 → 0.33.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -4,4 +4,4 @@
4
4
  `],...vi(n))}),t}function vi({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=e.component?e.component.parent==null:!1,s=` at <${yn(e.component,e.type,o)}`,r=">"+n;return e.props?[s,...Ei(e.props),r]:[s+r]}function Ei(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(o=>{t.push(...As(o,e[o]))}),n.length>3&&t.push(" ..."),t}function As(e,t,n){return G(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:ne(t)?(t=As(e,P(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):$(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=P(t),n?t:[`${e}=`,t])}const _o={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",[0]:"setup function",[1]:"render function",[2]:"watcher getter",[3]:"watcher callback",[4]:"watcher cleanup function",[5]:"native event handler",[6]:"component event handler",[7]:"vnode hook",[8]:"directive hook",[9]:"transition hook",[10]:"app errorHandler",[11]:"app warnHandler",[12]:"ref function",[13]:"async component loader",[14]:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core"};function ke(e,t,n,o){let s;try{s=o?e(...o):e()}catch(r){mn(r,t,n)}return s}function me(e,t,n,o){if($(e)){const r=ke(e,t,n,o);return r&&co(r)&&r.catch(i=>{mn(i,t,n)}),r}const s=[];for(let r=0;r<e.length;r++)s.push(me(e[r],t,n,o));return s}function mn(e,t,n,o=!0){const s=t?t.vnode:null;if(t){let r=t.parent;const i=t.proxy,c=process.env.NODE_ENV!=="production"?_o[n]:n;for(;r;){const u=r.ec;if(u){for(let h=0;h<u.length;h++)if(u[h](e,i,c)===!1)return}r=r.parent}const a=t.appContext.config.errorHandler;if(a){ke(a,null,10,[e,i,c]);return}}bi(e,n,s,o)}function bi(e,t,n,o=!0){if(process.env.NODE_ENV!=="production"){const s=_o[t];if(n&&Jt(n),y(`Unhandled error${s?` during execution of ${s}`:""}`),n&&Yt(),o)throw e;console.error(e)}else console.error(e)}let Pt=!1,Bn=!1;const re=[];let Ce=0;const Et=[];let Ve=null,Le=0;const Ps=Promise.resolve();let vo=null;const Ni=100;function ks(e){const t=vo||Ps;return e?t.then(this?e.bind(this):e):t}function yi(e){let t=Ce+1,n=re.length;for(;t<n;){const o=t+n>>>1;kt(re[o])<e?t=o+1:n=o}return t}function gn(e){(!re.length||!re.includes(e,Pt&&e.allowRecurse?Ce+1:Ce))&&(e.id==null?re.push(e):re.splice(yi(e.id),0,e),Ms())}function Ms(){!Pt&&!Bn&&(Bn=!0,vo=Ps.then(Rs))}function Oi(e){const t=re.indexOf(e);t>Ce&&re.splice(t,1)}function Fs(e){T(e)?Et.push(...e):(!Ve||!Ve.includes(e,e.allowRecurse?Le+1:Le))&&Et.push(e),Ms()}function Bo(e,t=Pt?Ce+1:0){for(process.env.NODE_ENV!=="production"&&(e=e||new Map);t<re.length;t++){const n=re[t];if(n&&n.pre){if(process.env.NODE_ENV!=="production"&&Eo(e,n))continue;re.splice(t,1),t--,n()}}}function js(e){if(Et.length){const t=[...new Set(Et)];if(Et.length=0,Ve){Ve.push(...t);return}for(Ve=t,process.env.NODE_ENV!=="production"&&(e=e||new Map),Ve.sort((n,o)=>kt(n)-kt(o)),Le=0;Le<Ve.length;Le++)process.env.NODE_ENV!=="production"&&Eo(e,Ve[Le])||Ve[Le]();Ve=null,Le=0}}const kt=e=>e.id==null?1/0:e.id,xi=(e,t)=>{const n=kt(e)-kt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Rs(e){Bn=!1,Pt=!0,process.env.NODE_ENV!=="production"&&(e=e||new Map),re.sort(xi);const t=process.env.NODE_ENV!=="production"?n=>Eo(e,n):te;try{for(Ce=0;Ce<re.length;Ce++){const n=re[Ce];if(n&&n.active!==!1){if(process.env.NODE_ENV!=="production"&&t(n))continue;ke(n,null,14)}}}finally{Ce=0,re.length=0,js(e),Pt=!1,vo=null,(re.length||Et.length)&&Rs(e)}}function Eo(e,t){if(!e.has(t))e.set(t,1);else{const n=e.get(t);if(n>Ni){const o=t.ownerInstance,s=o&&mr(o.type);return y(`Maximum recursive updates exceeded${s?` in component <${s}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`),!0}else e.set(t,n+1)}}let st=!1;const pt=new Set;process.env.NODE_ENV!=="production"&&(ms().__VUE_HMR_RUNTIME__={createRecord:Vn(Ss),rerender:Vn(Vi),reload:Vn(Ci)});const lt=new Map;function wi(e){const t=e.type.__hmrId;let n=lt.get(t);n||(Ss(t,e.type),n=lt.get(t)),n.instances.add(e)}function Di(e){lt.get(e.type.__hmrId).instances.delete(e)}function Ss(e,t){return lt.has(e)?!1:(lt.set(e,{initialDef:Tt(t),instances:new Set}),!0)}function Tt(e){return gr(e)?e.__vccOpts:e}function Vi(e,t){const n=lt.get(e);!n||(n.initialDef.render=t,[...n.instances].forEach(o=>{t&&(o.render=t,Tt(o.type).render=t),o.renderCache=[],st=!0,o.update(),st=!1}))}function Ci(e,t){const n=lt.get(e);if(!n)return;t=Tt(t),Uo(n.initialDef,t);const o=[...n.instances];for(const s of o){const r=Tt(s.type);pt.has(r)||(r!==n.initialDef&&Uo(r,t),pt.add(r)),s.appContext.optionsCache.delete(s.type),s.ceReload?(pt.add(r),s.ceReload(t.styles),pt.delete(r)):s.parent?(gn(s.parent.update),s.parent.type.__asyncLoader&&s.parent.ceReload&&s.parent.ceReload(t.styles)):s.appContext.reload?s.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}Fs(()=>{for(const s of o)pt.delete(Tt(s.type))})}function Uo(e,t){X(e,t);for(const n in e)n!=="__file"&&!(n in t)&&delete e[n]}function Vn(e){return(t,n)=>{try{return e(t,n)}catch(o){console.error(o),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let Qe,Ct=[],Un=!1;function Rt(e,...t){Qe?Qe.emit(e,...t):Un||Ct.push({event:e,args:t})}function Hs(e,t){var n,o;Qe=e,Qe?(Qe.enabled=!0,Ct.forEach(({event:s,args:r})=>Qe.emit(s,...r)),Ct=[]):typeof window<"u"&&window.HTMLElement&&!(!((o=(n=window.navigator)===null||n===void 0?void 0:n.userAgent)===null||o===void 0)&&o.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(r=>{Hs(r,t)}),setTimeout(()=>{Qe||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Un=!0,Ct=[])},3e3)):(Un=!0,Ct=[])}function Ti(e,t){Rt("app:init",e,t,{Fragment:_e,Text:bn,Comment:oe,Static:It})}function Ii(e){Rt("app:unmount",e)}const $i=bo("component:added"),Ls=bo("component:updated"),Ai=bo("component:removed");function bo(e){return t=>{Rt(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}const Pi=Bs("perf:start"),ki=Bs("perf:end");function Bs(e){return(t,n,o)=>{Rt(e,t.appContext.app,t.uid,t,n,o)}}function Mi(e,t,n){Rt("component:emit",e.appContext.app,e,t,n)}function Fi(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||H;if(process.env.NODE_ENV!=="production"){const{emitsOptions:h,propsOptions:[d]}=e;if(h)if(!(t in h))(!d||!(Xe(t)in d))&&y(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${Xe(t)}" prop.`);else{const _=h[t];$(_)&&(_(...n)||y(`Invalid event arguments: event validation failed for event "${t}".`))}}let s=n;const r=t.startsWith("update:"),i=r&&t.slice(7);if(i&&i in o){const h=`${i==="modelValue"?"model":i}Modifiers`,{number:d,trim:_}=o[h]||H;_&&(s=n.map(D=>D.trim())),d&&(s=n.map(kn))}if(process.env.NODE_ENV!=="production"&&Mi(e,t,s),process.env.NODE_ENV!=="production"){const h=t.toLowerCase();h!==t&&o[Xe(h)]&&y(`Event "${h}" is emitted in component ${yn(e,e.type)} but the handler is registered for "${t}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${be(t)}" instead of "${t}".`)}let c,a=o[c=Xe(t)]||o[c=Xe(ze(t))];!a&&r&&(a=o[c=Xe(be(t))]),a&&me(a,e,6,s);const u=o[c+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,me(u,e,6,s)}}function Us(e,t,n=!1){const o=t.emitsCache,s=o.get(e);if(s!==void 0)return s;const r=e.emits;let i={},c=!1;if(!$(e)){const a=u=>{const h=Us(u,t,!0);h&&(c=!0,X(i,h))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!r&&!c?(q(e)&&o.set(e,null),null):(T(r)?r.forEach(a=>i[a]=null):X(i,r),q(e)&&o.set(e,i),i)}function _n(e,t){return!e||!jt(t)?!1:(t=t.slice(2).replace(/Once$/,""),k(e,t[0].toLowerCase()+t.slice(1))||k(e,be(t))||k(e,t))}let he=null,vn=null;function nn(e){const t=he;return he=e,vn=e&&e.type.__scopeId||null,t}function ji(e){vn=e}function Ri(){vn=null}function Si(e,t=he,n){if(!t||e._n)return e;const o=(...s)=>{o._d&&ts(-1);const r=nn(t),i=e(...s);return nn(r),o._d&&ts(1),process.env.NODE_ENV!=="production"&&Ls(t),i};return o._n=!0,o._c=!0,o._d=!0,o}let Kn=!1;function on(){Kn=!0}function Cn(e){const{type:t,vnode:n,proxy:o,withProxy:s,props:r,propsOptions:[i],slots:c,attrs:a,emit:u,render:h,renderCache:d,data:_,setupState:D,ctx:A,inheritAttrs:C}=e;let K,L;const S=nn(e);process.env.NODE_ENV!=="production"&&(Kn=!1);try{if(n.shapeFlag&4){const z=s||o;K=ve(h.call(z,z,d,r,D,_,A)),L=a}else{const z=t;process.env.NODE_ENV!=="production"&&a===r&&on(),K=ve(z.length>1?z(r,process.env.NODE_ENV!=="production"?{get attrs(){return on(),a},slots:c,emit:u}:{attrs:a,slots:c,emit:u}):z(r,null)),L=t.props?a:Li(a)}}catch(z){$t.length=0,mn(z,e,1),K=Ne(oe)}let J=K,ae;if(process.env.NODE_ENV!=="production"&&K.patchFlag>0&&K.patchFlag&2048&&([J,ae]=Hi(K)),L&&C!==!1){const z=Object.keys(L),{shapeFlag:je}=J;if(z.length){if(je&7)i&&z.some(Gt)&&(L=Bi(L,i)),J=Te(J,L);else if(process.env.NODE_ENV!=="production"&&!Kn&&J.type!==oe){const ye=Object.keys(a),M=[],W=[];for(let Y=0,se=ye.length;Y<se;Y++){const ee=ye[Y];jt(ee)?Gt(ee)||M.push(ee[2].toLowerCase()+ee.slice(3)):W.push(ee)}W.length&&y(`Extraneous non-props attributes (${W.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.`),M.length&&y(`Extraneous non-emits event listeners (${M.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.`)}}}return n.dirs&&(process.env.NODE_ENV!=="production"&&!Ko(J)&&y("Runtime directive used on component with non-element root node. The directives will not function as intended."),J=Te(J),J.dirs=J.dirs?J.dirs.concat(n.dirs):n.dirs),n.transition&&(process.env.NODE_ENV!=="production"&&!Ko(J)&&y("Component inside <Transition> renders non-element root node that cannot be animated."),J.transition=n.transition),process.env.NODE_ENV!=="production"&&ae?ae(J):K=J,nn(S),K}const Hi=e=>{const t=e.children,n=e.dynamicChildren,o=Ks(t);if(!o)return[e,void 0];const s=t.indexOf(o),r=n?n.indexOf(o):-1,i=c=>{t[s]=c,n&&(r>-1?n[r]=c:c.patchFlag>0&&(e.dynamicChildren=[...n,c]))};return[ve(o),i]};function Ks(e){let t;for(let n=0;n<e.length;n++){const o=e[n];if(wo(o)){if(o.type!==oe||o.children==="v-if"){if(t)return;t=o}}else return}return t}const Li=e=>{let t;for(const n in e)(n==="class"||n==="style"||jt(n))&&((t||(t={}))[n]=e[n]);return t},Bi=(e,t)=>{const n={};for(const o in e)(!Gt(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n},Ko=e=>e.shapeFlag&7||e.type===oe;function Ui(e,t,n){const{props:o,children:s,component:r}=e,{props:i,children:c,patchFlag:a}=t,u=r.emitsOptions;if(process.env.NODE_ENV!=="production"&&(s||c)&&st||t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return o?Wo(o,i,u):!!i;if(a&8){const h=t.dynamicProps;for(let d=0;d<h.length;d++){const _=h[d];if(i[_]!==o[_]&&!_n(u,_))return!0}}}else return(s||c)&&(!c||!c.$stable)?!0:o===i?!1:o?i?Wo(o,i,u):!0:!!i;return!1}function Wo(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let s=0;s<o.length;s++){const r=o[s];if(t[r]!==e[r]&&!_n(n,r))return!0}return!1}function Ki({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const Wi=e=>e.__isSuspense;function zi(e,t){t&&t.pendingBranch?T(e)?t.effects.push(...e):t.effects.push(e):Fs(e)}function qi(e,t){if(!Q)process.env.NODE_ENV!=="production"&&y("provide() can only be used inside setup().");else{let n=Q.provides;const o=Q.parent&&Q.parent.provides;o===n&&(n=Q.provides=Object.create(o)),n[e]=t}}function Tn(e,t,n=!1){const o=Q||he;if(o){const s=o.parent==null?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides;if(s&&e in s)return s[e];if(arguments.length>1)return n&&$(t)?t.call(o.proxy):t;process.env.NODE_ENV!=="production"&&y(`injection "${String(e)}" not found.`)}else process.env.NODE_ENV!=="production"&&y("inject() can only be used inside setup() or functional components.")}const zo={};function In(e,t,n){return process.env.NODE_ENV!=="production"&&!$(t)&&y("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),Ws(e,t,n)}function Ws(e,t,{immediate:n,deep:o,flush:s,onTrack:r,onTrigger:i}=H){process.env.NODE_ENV!=="production"&&!t&&(n!==void 0&&y('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),o!==void 0&&y('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'));const c=S=>{y("Invalid watch source: ",S,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},a=Q;let u,h=!1,d=!1;if(ne(e)?(u=()=>e.value,h=Hn(e)):nt(e)?(u=()=>e,o=!0):T(e)?(d=!0,h=e.some(S=>nt(S)||Hn(S)),u=()=>e.map(S=>{if(ne(S))return S.value;if(nt(S))return gt(S);if($(S))return ke(S,a,2);process.env.NODE_ENV!=="production"&&c(S)})):$(e)?t?u=()=>ke(e,a,2):u=()=>{if(!(a&&a.isUnmounted))return _&&_(),me(e,a,3,[D])}:(u=te,process.env.NODE_ENV!=="production"&&c(e)),t&&o){const S=u;u=()=>gt(S())}let _,D=S=>{_=L.onStop=()=>{ke(S,a,4)}};if(Ft)return D=te,t?n&&me(t,a,3,[u(),d?[]:void 0,D]):u(),te;let A=d?[]:zo;const C=()=>{if(!!L.active)if(t){const S=L.run();(o||h||(d?S.some((J,ae)=>en(J,A[ae])):en(S,A)))&&(_&&_(),me(t,a,3,[S,A===zo?void 0:A,D]),A=S)}else L.run()};C.allowRecurse=!!t;let K;s==="sync"?K=C:s==="post"?K=()=>ue(C,a&&a.suspense):(C.pre=!0,a&&(C.id=a.uid),K=()=>gn(C));const L=new uo(u,K);return process.env.NODE_ENV!=="production"&&(L.onTrack=r,L.onTrigger=i),t?n?C():A=L.run():s==="post"?ue(L.run.bind(L),a&&a.suspense):L.run(),()=>{L.stop(),a&&a.scope&&io(a.scope.effects,L)}}function Ji(e,t,n){const o=this.proxy,s=G(e)?e.includes(".")?zs(o,e):()=>o[e]:e.bind(o,o);let r;$(t)?r=t:(r=t.handler,n=t);const i=Q;Nt(this);const c=Ws(s,r.bind(o),n);return i?Nt(i):rt(),c}function zs(e,t){const n=t.split(".");return()=>{let o=e;for(let s=0;s<n.length&&o;s++)o=o[n[s]];return o}}function gt(e,t){if(!q(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),ne(e))gt(e.value,t);else if(T(e))for(let n=0;n<e.length;n++)gt(e[n],t);else if(Tr(e)||vt(e))e.forEach(n=>{gt(n,t)});else if($r(e))for(const n in e)gt(e[n],t);return e}function Yi(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return No(()=>{e.isMounted=!0}),Zs(()=>{e.isUnmounting=!0}),e}const pe=[Function,Array],Xi={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:pe,onEnter:pe,onAfterEnter:pe,onEnterCancelled:pe,onBeforeLeave:pe,onLeave:pe,onAfterLeave:pe,onLeaveCancelled:pe,onBeforeAppear:pe,onAppear:pe,onAfterAppear:pe,onAppearCancelled:pe},setup(e,{slots:t}){const n=ql(),o=Yi();let s;return()=>{const r=t.default&&Js(t.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1){let C=!1;for(const K of r)if(K.type!==oe){if(process.env.NODE_ENV!=="production"&&C){y("<transition> can only be used on a single element or component. Use <transition-group> for lists.");break}if(i=K,C=!0,process.env.NODE_ENV==="production")break}}const c=P(e),{mode:a}=c;if(process.env.NODE_ENV!=="production"&&a&&a!=="in-out"&&a!=="out-in"&&a!=="default"&&y(`invalid <transition> mode: ${a}`),o.isLeaving)return $n(i);const u=qo(i);if(!u)return $n(i);const h=Wn(u,c,o,n);zn(u,h);const d=n.subTree,_=d&&qo(d);let D=!1;const{getTransitionKey:A}=u.type;if(A){const C=A();s===void 0?s=C:C!==s&&(s=C,D=!0)}if(_&&_.type!==oe&&(!Ge(u,_)||D)){const C=Wn(_,c,o,n);if(zn(_,C),a==="out-in")return o.isLeaving=!0,C.afterLeave=()=>{o.isLeaving=!1,n.update()},$n(i);a==="in-out"&&u.type!==oe&&(C.delayLeave=(K,L,S)=>{const J=qs(o,_);J[String(_.key)]=_,K._leaveCb=()=>{L(),K._leaveCb=void 0,delete h.delayedLeave},h.delayedLeave=S})}return i}}},Zi=Xi;function qs(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function Wn(e,t,n,o){const{appear:s,mode:r,persisted:i=!1,onBeforeEnter:c,onEnter:a,onAfterEnter:u,onEnterCancelled:h,onBeforeLeave:d,onLeave:_,onAfterLeave:D,onLeaveCancelled:A,onBeforeAppear:C,onAppear:K,onAfterAppear:L,onAppearCancelled:S}=t,J=String(e.key),ae=qs(n,e),z=(M,W)=>{M&&me(M,o,9,W)},je=(M,W)=>{const Y=W[1];z(M,W),T(M)?M.every(se=>se.length<=1)&&Y():M.length<=1&&Y()},ye={mode:r,persisted:i,beforeEnter(M){let W=c;if(!n.isMounted)if(s)W=C||c;else return;M._leaveCb&&M._leaveCb(!0);const Y=ae[J];Y&&Ge(e,Y)&&Y.el._leaveCb&&Y.el._leaveCb(),z(W,[M])},enter(M){let W=a,Y=u,se=h;if(!n.isMounted)if(s)W=K||a,Y=L||u,se=S||h;else return;let ee=!1;const Ie=M._enterCb=Ht=>{ee||(ee=!0,Ht?z(se,[M]):z(Y,[M]),ye.delayedLeave&&ye.delayedLeave(),M._enterCb=void 0)};W?je(W,[M,Ie]):Ie()},leave(M,W){const Y=String(e.key);if(M._enterCb&&M._enterCb(!0),n.isUnmounting)return W();z(d,[M]);let se=!1;const ee=M._leaveCb=Ie=>{se||(se=!0,W(),Ie?z(A,[M]):z(D,[M]),M._leaveCb=void 0,ae[Y]===e&&delete ae[Y])};ae[Y]=e,_?je(_,[M,ee]):ee()},clone(M){return Wn(M,t,n,o)}};return ye}function $n(e){if(St(e))return e=Te(e),e.children=null,e}function qo(e){return St(e)?e.children?e.children[0]:void 0:e}function zn(e,t){e.shapeFlag&6&&e.component?zn(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 Js(e,t=!1,n){let o=[],s=0;for(let r=0;r<e.length;r++){let i=e[r];const c=n==null?i.key:String(n)+String(i.key!=null?i.key:r);i.type===_e?(i.patchFlag&128&&s++,o=o.concat(Js(i.children,t,c))):(t||i.type!==oe)&&o.push(c!=null?Te(i,{key:c}):i)}if(s>1)for(let r=0;r<o.length;r++)o[r].patchFlag=-2;return o}function Ys(e){return $(e)?{setup:e,name:e.name}:e}const Xt=e=>!!e.type.__asyncLoader,St=e=>e.type.__isKeepAlive;function Qi(e,t){Xs(e,"a",t)}function Gi(e,t){Xs(e,"da",t)}function Xs(e,t,n=Q){const o=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(En(t,o,n),n){let s=n.parent;for(;s&&s.parent;)St(s.parent.vnode)&&el(o,t,n,s),s=s.parent}}function el(e,t,n,o){const s=En(t,e,o,!0);Qs(()=>{io(o[t],s)},n)}function En(e,t,n=Q,o=!1){if(n){const s=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;ct(),Nt(n);const c=me(t,n,e,i);return rt(),at(),c});return o?s.unshift(r):s.push(r),r}else if(process.env.NODE_ENV!=="production"){const s=Xe(_o[e].replace(/ hook$/,""));y(`${s} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const Fe=e=>(t,n=Q)=>(!Ft||e==="sp")&&En(e,(...o)=>t(...o),n),tl=Fe("bm"),No=Fe("m"),nl=Fe("bu"),ol=Fe("u"),Zs=Fe("bum"),Qs=Fe("um"),sl=Fe("sp"),rl=Fe("rtg"),il=Fe("rtc");function ll(e,t=Q){En("ec",e,t)}function Gs(e){Ar(e)&&y("Do not use built-in directive ids as custom directive id: "+e)}function Je(e,t,n,o){const s=e.dirs,r=t&&t.dirs;for(let i=0;i<s.length;i++){const c=s[i];r&&(c.oldValue=r[i].value);let a=c.dir[o];a&&(ct(),me(a,n,8,[e.el,c,e,t]),at())}}const cl=Symbol(),qn=e=>e?pr(e)?Vo(e)||e.proxy:qn(e.parent):null,bt=X(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>process.env.NODE_ENV!=="production"?mt(e.props):e.props,$attrs:e=>process.env.NODE_ENV!=="production"?mt(e.attrs):e.attrs,$slots:e=>process.env.NODE_ENV!=="production"?mt(e.slots):e.slots,$refs:e=>process.env.NODE_ENV!=="production"?mt(e.refs):e.refs,$parent:e=>qn(e.parent),$root:e=>qn(e.root),$emit:e=>e.emit,$options:e=>Oo(e),$forceUpdate:e=>e.f||(e.f=()=>gn(e.update)),$nextTick:e=>e.n||(e.n=ks.bind(e.proxy)),$watch:e=>Ji.bind(e)}),yo=e=>e==="_"||e==="$",er={get({_:e},t){const{ctx:n,setupState:o,data:s,props:r,accessCache:i,type:c,appContext:a}=e;if(process.env.NODE_ENV!=="production"&&t==="__isVue")return!0;if(process.env.NODE_ENV!=="production"&&o!==H&&o.__isScriptSetup&&k(o,t))return o[t];let u;if(t[0]!=="$"){const D=i[t];if(D!==void 0)switch(D){case 1:return o[t];case 2:return s[t];case 4:return n[t];case 3:return r[t]}else{if(o!==H&&k(o,t))return i[t]=1,o[t];if(s!==H&&k(s,t))return i[t]=2,s[t];if((u=e.propsOptions[0])&&k(u,t))return i[t]=3,r[t];if(n!==H&&k(n,t))return i[t]=4,n[t];Jn&&(i[t]=0)}}const h=bt[t];let d,_;if(h)return t==="$attrs"&&(de(e,"get",t),process.env.NODE_ENV!=="production"&&on()),h(e);if((d=c.__cssModules)&&(d=d[t]))return d;if(n!==H&&k(n,t))return i[t]=4,n[t];if(_=a.config.globalProperties,k(_,t))return _[t];process.env.NODE_ENV!=="production"&&he&&(!G(t)||t.indexOf("__v")!==0)&&(s!==H&&yo(t[0])&&k(s,t)?y(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===he&&y(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,n){const{data:o,setupState:s,ctx:r}=e;return s!==H&&k(s,t)?(s[t]=n,!0):o!==H&&k(o,t)?(o[t]=n,!0):k(e.props,t)?(process.env.NODE_ENV!=="production"&&y(`Attempting to mutate prop "${t}". Props are readonly.`,e),!1):t[0]==="$"&&t.slice(1)in e?(process.env.NODE_ENV!=="production"&&y(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`,e),!1):(process.env.NODE_ENV!=="production"&&t in e.appContext.config.globalProperties?Object.defineProperty(r,t,{enumerable:!0,configurable:!0,value:n}):r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:s,propsOptions:r}},i){let c;return!!n[i]||e!==H&&k(e,i)||t!==H&&k(t,i)||(c=r[0])&&k(c,i)||k(o,i)||k(bt,i)||k(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:k(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};process.env.NODE_ENV!=="production"&&(er.ownKeys=e=>(y("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e)));function al(e){const t={};return Object.defineProperty(t,"_",{configurable:!0,enumerable:!1,get:()=>e}),Object.keys(bt).forEach(n=>{Object.defineProperty(t,n,{configurable:!0,enumerable:!1,get:()=>bt[n](e),set:te})}),t}function fl(e){const{ctx:t,propsOptions:[n]}=e;n&&Object.keys(n).forEach(o=>{Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>e.props[o],set:te})})}function ul(e){const{ctx:t,setupState:n}=e;Object.keys(P(n)).forEach(o=>{if(!n.__isScriptSetup){if(yo(o[0])){y(`setup() return property ${JSON.stringify(o)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);return}Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>n[o],set:te})}})}function dl(){const e=Object.create(null);return(t,n)=>{e[n]?y(`${t} property "${n}" is already defined in ${e[n]}.`):e[n]=t}}let Jn=!0;function pl(e){const t=Oo(e),n=e.proxy,o=e.ctx;Jn=!1,t.beforeCreate&&Jo(t.beforeCreate,e,"bc");const{data:s,computed:r,methods:i,watch:c,provide:a,inject:u,created:h,beforeMount:d,mounted:_,beforeUpdate:D,updated:A,activated:C,deactivated:K,beforeDestroy:L,beforeUnmount:S,destroyed:J,unmounted:ae,render:z,renderTracked:je,renderTriggered:ye,errorCaptured:M,serverPrefetch:W,expose:Y,inheritAttrs:se,components:ee,directives:Ie,filters:Ht}=t,Re=process.env.NODE_ENV!=="production"?dl():null;if(process.env.NODE_ENV!=="production"){const[j]=e.propsOptions;if(j)for(const R in j)Re("Props",R)}if(u&&hl(u,o,Re,e.appContext.config.unwrapInjectedRef),i)for(const j in i){const R=i[j];$(R)?(process.env.NODE_ENV!=="production"?Object.defineProperty(o,j,{value:R.bind(n),configurable:!0,enumerable:!0,writable:!0}):o[j]=R.bind(n),process.env.NODE_ENV!=="production"&&Re("Methods",j)):process.env.NODE_ENV!=="production"&&y(`Method "${j}" has type "${typeof R}" in the component definition. Did you reference the function correctly?`)}if(s){process.env.NODE_ENV!=="production"&&!$(s)&&y("The data option must be a function. Plain object usage is no longer supported.");const j=s.call(n,n);if(process.env.NODE_ENV!=="production"&&co(j)&&y("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."),!q(j))process.env.NODE_ENV!=="production"&&y("data() should return an object.");else if(e.data=ho(j),process.env.NODE_ENV!=="production")for(const R in j)Re("Data",R),yo(R[0])||Object.defineProperty(o,R,{configurable:!0,enumerable:!0,get:()=>j[R],set:te})}if(Jn=!0,r)for(const j in r){const R=r[j],Oe=$(R)?R.bind(n,n):$(R.get)?R.get.bind(n,n):te;process.env.NODE_ENV!=="production"&&Oe===te&&y(`Computed property "${j}" has no getter.`);const On=!$(R)&&$(R.set)?R.set.bind(n):process.env.NODE_ENV!=="production"?()=>{y(`Write operation failed: computed property "${j}" is readonly.`)}:te,Ot=tc({get:Oe,set:On});Object.defineProperty(o,j,{enumerable:!0,configurable:!0,get:()=>Ot.value,set:ft=>Ot.value=ft}),process.env.NODE_ENV!=="production"&&Re("Computed",j)}if(c)for(const j in c)tr(c[j],o,n,j);if(a){const j=$(a)?a.call(n):a;Reflect.ownKeys(j).forEach(R=>{qi(R,j[R])})}h&&Jo(h,e,"c");function fe(j,R){T(R)?R.forEach(Oe=>j(Oe.bind(n))):R&&j(R.bind(n))}if(fe(tl,d),fe(No,_),fe(nl,D),fe(ol,A),fe(Qi,C),fe(Gi,K),fe(ll,M),fe(il,je),fe(rl,ye),fe(Zs,S),fe(Qs,ae),fe(sl,W),T(Y))if(Y.length){const j=e.exposed||(e.exposed={});Y.forEach(R=>{Object.defineProperty(j,R,{get:()=>n[R],set:Oe=>n[R]=Oe})})}else e.exposed||(e.exposed={});z&&e.render===te&&(e.render=z),se!=null&&(e.inheritAttrs=se),ee&&(e.components=ee),Ie&&(e.directives=Ie)}function hl(e,t,n=te,o=!1){T(e)&&(e=Yn(e));for(const s in e){const r=e[s];let i;q(r)?"default"in r?i=Tn(r.from||s,r.default,!0):i=Tn(r.from||s):i=Tn(r),ne(i)?o?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:c=>i.value=c}):(process.env.NODE_ENV!=="production"&&y(`injected property "${s}" is a ref and will be auto-unwrapped and no longer needs \`.value\` in the next minor release. To opt-in to the new behavior now, set \`app.config.unwrapInjectedRef = true\` (this config is temporary and will not be needed in the future.)`),t[s]=i):t[s]=i,process.env.NODE_ENV!=="production"&&n("Inject",s)}}function Jo(e,t,n){me(T(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function tr(e,t,n,o){const s=o.includes(".")?zs(n,o):()=>n[o];if(G(e)){const r=t[e];$(r)?In(s,r):process.env.NODE_ENV!=="production"&&y(`Invalid watch handler specified by key "${e}"`,r)}else if($(e))In(s,e.bind(n));else if(q(e))if(T(e))e.forEach(r=>tr(r,t,n,o));else{const r=$(e.handler)?e.handler.bind(n):t[e.handler];$(r)?In(s,r,e):process.env.NODE_ENV!=="production"&&y(`Invalid watch handler specified by key "${e.handler}"`,r)}else process.env.NODE_ENV!=="production"&&y(`Invalid watch option: "${o}"`,e)}function Oo(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:s,optionsCache:r,config:{optionMergeStrategies:i}}=e.appContext,c=r.get(t);let a;return c?a=c:!s.length&&!n&&!o?a=t:(a={},s.length&&s.forEach(u=>sn(a,u,i,!0)),sn(a,t,i)),q(t)&&r.set(t,a),a}function sn(e,t,n,o=!1){const{mixins:s,extends:r}=t;r&&sn(e,r,n,!0),s&&s.forEach(i=>sn(e,i,n,!0));for(const i in t)if(o&&i==="expose")process.env.NODE_ENV!=="production"&&y('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const c=ml[i]||n&&n[i];e[i]=c?c(e[i],t[i]):t[i]}return e}const ml={data:Yo,props:Ze,emits:Ze,methods:Ze,computed:Ze,beforeCreate:le,created:le,beforeMount:le,mounted:le,beforeUpdate:le,updated:le,beforeDestroy:le,beforeUnmount:le,destroyed:le,unmounted:le,activated:le,deactivated:le,errorCaptured:le,serverPrefetch:le,components:Ze,directives:Ze,watch:_l,provide:Yo,inject:gl};function Yo(e,t){return t?e?function(){return X($(e)?e.call(this,this):e,$(t)?t.call(this,this):t)}:t:e}function gl(e,t){return Ze(Yn(e),Yn(t))}function Yn(e){if(T(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function le(e,t){return e?[...new Set([].concat(e,t))]:t}function Ze(e,t){return e?X(X(Object.create(null),e),t):t}function _l(e,t){if(!e)return t;if(!t)return e;const n=X(Object.create(null),e);for(const o in t)n[o]=le(e[o],t[o]);return n}function vl(e,t,n,o=!1){const s={},r={};tn(r,Nn,1),e.propsDefaults=Object.create(null),nr(e,t,s,r);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);process.env.NODE_ENV!=="production"&&sr(t||{},s,e),n?e.props=o?s:ai(s):e.type.props?e.props=s:e.props=r,e.attrs=r}function El(e){for(;e;){if(e.type.__hmrId)return!0;e=e.parent}}function bl(e,t,n,o){const{props:s,attrs:r,vnode:{patchFlag:i}}=e,c=P(s),[a]=e.propsOptions;let u=!1;if(!(process.env.NODE_ENV!=="production"&&El(e))&&(o||i>0)&&!(i&16)){if(i&8){const h=e.vnode.dynamicProps;for(let d=0;d<h.length;d++){let _=h[d];if(_n(e.emitsOptions,_))continue;const D=t[_];if(a)if(k(r,_))D!==r[_]&&(r[_]=D,u=!0);else{const A=ze(_);s[A]=Xn(a,c,A,D,e,!1)}else D!==r[_]&&(r[_]=D,u=!0)}}}else{nr(e,t,s,r)&&(u=!0);let h;for(const d in c)(!t||!k(t,d)&&((h=be(d))===d||!k(t,h)))&&(a?n&&(n[d]!==void 0||n[h]!==void 0)&&(s[d]=Xn(a,c,d,void 0,e,!0)):delete s[d]);if(r!==c)for(const d in r)(!t||!k(t,d)&&!0)&&(delete r[d],u=!0)}u&&Me(e,"set","$attrs"),process.env.NODE_ENV!=="production"&&sr(t||{},s,e)}function nr(e,t,n,o){const[s,r]=e.propsOptions;let i=!1,c;if(t)for(let a in t){if(qt(a))continue;const u=t[a];let h;s&&k(s,h=ze(a))?!r||!r.includes(h)?n[h]=u:(c||(c={}))[h]=u:_n(e.emitsOptions,a)||(!(a in o)||u!==o[a])&&(o[a]=u,i=!0)}if(r){const a=P(n),u=c||H;for(let h=0;h<r.length;h++){const d=r[h];n[d]=Xn(s,a,d,u[d],e,!k(u,d))}}return i}function Xn(e,t,n,o,s,r){const i=e[n];if(i!=null){const c=k(i,"default");if(c&&o===void 0){const a=i.default;if(i.type!==Function&&$(a)){const{propsDefaults:u}=s;n in u?o=u[n]:(Nt(s),o=u[n]=a.call(null,t),rt())}else o=a}i[0]&&(r&&!c?o=!1:i[1]&&(o===""||o===be(n))&&(o=!0))}return o}function or(e,t,n=!1){const o=t.propsCache,s=o.get(e);if(s)return s;const r=e.props,i={},c=[];let a=!1;if(!$(e)){const h=d=>{a=!0;const[_,D]=or(d,t,!0);X(i,_),D&&c.push(...D)};!n&&t.mixins.length&&t.mixins.forEach(h),e.extends&&h(e.extends),e.mixins&&e.mixins.forEach(h)}if(!r&&!a)return q(e)&&o.set(e,_t),_t;if(T(r))for(let h=0;h<r.length;h++){process.env.NODE_ENV!=="production"&&!G(r[h])&&y("props must be strings when using array syntax.",r[h]);const d=ze(r[h]);Xo(d)&&(i[d]=H)}else if(r){process.env.NODE_ENV!=="production"&&!q(r)&&y("invalid props options",r);for(const h in r){const d=ze(h);if(Xo(d)){const _=r[h],D=i[d]=T(_)||$(_)?{type:_}:_;if(D){const A=Qo(Boolean,D.type),C=Qo(String,D.type);D[0]=A>-1,D[1]=C<0||A<C,(A>-1||k(D,"default"))&&c.push(d)}}}}const u=[i,c];return q(e)&&o.set(e,u),u}function Xo(e){return e[0]!=="$"?!0:(process.env.NODE_ENV!=="production"&&y(`Invalid prop name: "${e}" is a reserved property.`),!1)}function Zn(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function Zo(e,t){return Zn(e)===Zn(t)}function Qo(e,t){return T(t)?t.findIndex(n=>Zo(n,e)):$(t)&&Zo(t,e)?0:-1}function sr(e,t,n){const o=P(t),s=n.propsOptions[0];for(const r in s){let i=s[r];i!=null&&Nl(r,o[r],i,!k(e,r)&&!k(e,be(r)))}}function Nl(e,t,n,o){const{type:s,required:r,validator:i}=n;if(r&&o){y('Missing required prop: "'+e+'"');return}if(!(t==null&&!n.required)){if(s!=null&&s!==!0){let c=!1;const a=T(s)?s:[s],u=[];for(let h=0;h<a.length&&!c;h++){const{valid:d,expectedType:_}=Ol(t,a[h]);u.push(_||""),c=d}if(!c){y(xl(e,t,u));return}}i&&!i(t)&&y('Invalid prop: custom validator check failed for prop "'+e+'".')}}const yl=yt("String,Number,Boolean,Function,Symbol,BigInt");function Ol(e,t){let n;const o=Zn(t);if(yl(o)){const s=typeof e;n=s===o.toLowerCase(),!n&&s==="object"&&(n=e instanceof t)}else o==="Object"?n=q(e):o==="Array"?n=T(e):o==="null"?n=e===null:n=e instanceof t;return{valid:n,expectedType:o}}function xl(e,t,n){let o=`Invalid prop: type check failed for prop "${e}". Expected ${n.map(fn).join(" | ")}`;const s=n[0],r=ao(t),i=Go(t,s),c=Go(t,r);return n.length===1&&es(s)&&!wl(s,r)&&(o+=` with value ${i}`),o+=`, got ${r} `,es(r)&&(o+=`with value ${c}.`),o}function Go(e,t){return t==="String"?`"${e}"`:t==="Number"?`${Number(e)}`:`${e}`}function es(e){return["string","number","boolean"].some(n=>e.toLowerCase()===n)}function wl(...e){return e.some(t=>t.toLowerCase()==="boolean")}const rr=e=>e[0]==="_"||e==="$stable",xo=e=>T(e)?e.map(ve):[ve(e)],Dl=(e,t,n)=>{if(t._n)return t;const o=Si((...s)=>(process.env.NODE_ENV!=="production"&&Q&&y(`Slot "${e}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`),xo(t(...s))),n);return o._c=!1,o},ir=(e,t,n)=>{const o=e._ctx;for(const s in e){if(rr(s))continue;const r=e[s];if($(r))t[s]=Dl(s,r,o);else if(r!=null){process.env.NODE_ENV!=="production"&&y(`Non-function value encountered for slot "${s}". Prefer function slots for better performance.`);const i=xo(r);t[s]=()=>i}}},lr=(e,t)=>{process.env.NODE_ENV!=="production"&&!St(e.vnode)&&y("Non-function value encountered for default slot. Prefer function slots for better performance.");const n=xo(t);e.slots.default=()=>n},Vl=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=P(t),tn(t,"_",n)):ir(t,e.slots={})}else e.slots={},t&&lr(e,t);tn(e.slots,Nn,1)},Cl=(e,t,n)=>{const{vnode:o,slots:s}=e;let r=!0,i=H;if(o.shapeFlag&32){const c=t._;c?process.env.NODE_ENV!=="production"&&st?X(s,t):n&&c===1?r=!1:(X(s,t),!n&&c===1&&delete s._):(r=!t.$stable,ir(t,s)),i=t}else t&&(lr(e,t),i={default:1});if(r)for(const c in s)!rr(c)&&!(c in i)&&delete s[c]};function cr(){return{app:null,config:{isNativeTag:hs,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 Tl=0;function Il(e,t){return function(o,s=null){$(o)||(o=Object.assign({},o)),s!=null&&!q(s)&&(process.env.NODE_ENV!=="production"&&y("root props passed to app.mount() must be an object."),s=null);const r=cr(),i=new Set;let c=!1;const a=r.app={_uid:Tl++,_component:o,_props:s,_container:null,_context:r,_instance:null,version:ss,get config(){return r.config},set config(u){process.env.NODE_ENV!=="production"&&y("app.config cannot be replaced. Modify individual options instead.")},use(u,...h){return i.has(u)?process.env.NODE_ENV!=="production"&&y("Plugin has already been applied to target app."):u&&$(u.install)?(i.add(u),u.install(a,...h)):$(u)?(i.add(u),u(a,...h)):process.env.NODE_ENV!=="production"&&y('A plugin must either be a function or an object with an "install" function.'),a},mixin(u){return r.mixins.includes(u)?process.env.NODE_ENV!=="production"&&y("Mixin has already been applied to target app"+(u.name?`: ${u.name}`:"")):r.mixins.push(u),a},component(u,h){return process.env.NODE_ENV!=="production"&&eo(u,r.config),h?(process.env.NODE_ENV!=="production"&&r.components[u]&&y(`Component "${u}" has already been registered in target app.`),r.components[u]=h,a):r.components[u]},directive(u,h){return process.env.NODE_ENV!=="production"&&Gs(u),h?(process.env.NODE_ENV!=="production"&&r.directives[u]&&y(`Directive "${u}" has already been registered in target app.`),r.directives[u]=h,a):r.directives[u]},mount(u,h,d){if(c)process.env.NODE_ENV!=="production"&&y("App has already been mounted.\nIf you want to remount the same app, move your app creation logic into a factory function and create fresh app instances for each mount - e.g. `const createMyApp = () => createApp(App)`");else{process.env.NODE_ENV!=="production"&&u.__vue_app__&&y("There is already an app instance mounted on the host container.\n If you want to mount another app on the same host container, you need to unmount the previous app by calling `app.unmount()` first.");const _=Ne(o,s);return _.appContext=r,process.env.NODE_ENV!=="production"&&(r.reload=()=>{e(Te(_),u,d)}),h&&t?t(_,u):e(_,u,d),c=!0,a._container=u,u.__vue_app__=a,process.env.NODE_ENV!=="production"&&(a._instance=_.component,Ti(a,ss)),Vo(_.component)||_.component.proxy}},unmount(){c?(e(null,a._container),process.env.NODE_ENV!=="production"&&(a._instance=null,Ii(a)),delete a._container.__vue_app__):process.env.NODE_ENV!=="production"&&y("Cannot unmount an app that is not mounted.")},provide(u,h){return process.env.NODE_ENV!=="production"&&u in r.provides&&y(`App already provides property with key "${String(u)}". It will be overwritten with the new value.`),r.provides[u]=h,a}};return a}}function Qn(e,t,n,o,s=!1){if(T(e)){e.forEach((_,D)=>Qn(_,t&&(T(t)?t[D]:t),n,o,s));return}if(Xt(o)&&!s)return;const r=o.shapeFlag&4?Vo(o.component)||o.component.proxy:o.el,i=s?null:r,{i:c,r:a}=e;if(process.env.NODE_ENV!=="production"&&!c){y("Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.");return}const u=t&&t.r,h=c.refs===H?c.refs={}:c.refs,d=c.setupState;if(u!=null&&u!==a&&(G(u)?(h[u]=null,k(d,u)&&(d[u]=null)):ne(u)&&(u.value=null)),$(a))ke(a,c,12,[i,h]);else{const _=G(a),D=ne(a);if(_||D){const A=()=>{if(e.f){const C=_?h[a]:a.value;s?T(C)&&io(C,r):T(C)?C.includes(r)||C.push(r):_?(h[a]=[r],k(d,a)&&(d[a]=h[a])):(a.value=[r],e.k&&(h[e.k]=a.value))}else _?(h[a]=i,k(d,a)&&(d[a]=i)):D?(a.value=i,e.k&&(h[e.k]=i)):process.env.NODE_ENV!=="production"&&y("Invalid template ref type:",a,`(${typeof a})`)};i?(A.id=-1,ue(A,n)):A()}else process.env.NODE_ENV!=="production"&&y("Invalid template ref type:",a,`(${typeof a})`)}}let Dt,Ue;function Ae(e,t){e.appContext.config.performance&&rn()&&Ue.mark(`vue-${t}-${e.uid}`),process.env.NODE_ENV!=="production"&&Pi(e,t,rn()?Ue.now():Date.now())}function Pe(e,t){if(e.appContext.config.performance&&rn()){const n=`vue-${t}-${e.uid}`,o=n+":end";Ue.mark(o),Ue.measure(`<${yn(e,e.type)}> ${t}`,n,o),Ue.clearMarks(n),Ue.clearMarks(o)}process.env.NODE_ENV!=="production"&&ki(e,t,rn()?Ue.now():Date.now())}function rn(){return Dt!==void 0||(typeof window<"u"&&window.performance?(Dt=!0,Ue=window.performance):Dt=!1),Dt}function $l(){const e=[];if(process.env.NODE_ENV!=="production"&&e.length){const t=e.length>1;console.warn(`Feature flag${t?"s":""} ${e.join(", ")} ${t?"are":"is"} not explicitly defined. You are running the esm-bundler build of Vue, which expects these compile-time feature flags to be globally injected via the bundler config in order to get better tree-shaking in the production bundle.
5
5
 
6
6
  For more details, see https://link.vuejs.org/feature-flags.`)}}const ue=zi;function Al(e){return Pl(e)}function Pl(e,t){$l();const n=ms();n.__VUE__=!0,process.env.NODE_ENV!=="production"&&Hs(n.__VUE_DEVTOOLS_GLOBAL_HOOK__,n);const{insert:o,remove:s,patchProp:r,createElement:i,createText:c,createComment:a,setText:u,setElementText:h,parentNode:d,nextSibling:_,setScopeId:D=te,insertStaticContent:A}=e,C=(l,f,p,g=null,m=null,b=null,O=!1,E=null,N=process.env.NODE_ENV!=="production"&&st?!1:!!f.dynamicChildren)=>{if(l===f)return;l&&!Ge(l,f)&&(g=Lt(l),Se(l,m,b,!0),l=null),f.patchFlag===-2&&(N=!1,f.dynamicChildren=null);const{type:v,ref:w,shapeFlag:x}=f;switch(v){case bn:K(l,f,p,g);break;case oe:L(l,f,p,g);break;case It:l==null?S(f,p,g,O):process.env.NODE_ENV!=="production"&&J(l,f,p,O);break;case _e:Ie(l,f,p,g,m,b,O,E,N);break;default:x&1?je(l,f,p,g,m,b,O,E,N):x&6?Ht(l,f,p,g,m,b,O,E,N):x&64||x&128?v.process(l,f,p,g,m,b,O,E,N,ut):process.env.NODE_ENV!=="production"&&y("Invalid VNode type:",v,`(${typeof v})`)}w!=null&&m&&Qn(w,l&&l.ref,b,f||l,!f)},K=(l,f,p,g)=>{if(l==null)o(f.el=c(f.children),p,g);else{const m=f.el=l.el;f.children!==l.children&&u(m,f.children)}},L=(l,f,p,g)=>{l==null?o(f.el=a(f.children||""),p,g):f.el=l.el},S=(l,f,p,g)=>{[l.el,l.anchor]=A(l.children,f,p,g,l.el,l.anchor)},J=(l,f,p,g)=>{if(f.children!==l.children){const m=_(l.anchor);z(l),[f.el,f.anchor]=A(f.children,p,m,g)}else f.el=l.el,f.anchor=l.anchor},ae=({el:l,anchor:f},p,g)=>{let m;for(;l&&l!==f;)m=_(l),o(l,p,g),l=m;o(f,p,g)},z=({el:l,anchor:f})=>{let p;for(;l&&l!==f;)p=_(l),s(l),l=p;s(f)},je=(l,f,p,g,m,b,O,E,N)=>{O=O||f.type==="svg",l==null?ye(f,p,g,m,b,O,E,N):Y(l,f,m,b,O,E,N)},ye=(l,f,p,g,m,b,O,E)=>{let N,v;const{type:w,props:x,shapeFlag:V,transition:I,dirs:F}=l;if(N=l.el=i(l.type,b,x&&x.is,x),V&8?h(N,l.children):V&16&&W(l.children,N,null,g,m,b&&w!=="foreignObject",O,E),F&&Je(l,null,g,"created"),x){for(const B in x)B!=="value"&&!qt(B)&&r(N,B,null,x[B],b,l.children,g,m,$e);"value"in x&&r(N,"value",null,x.value),(v=x.onVnodeBeforeMount)&&we(v,g,l)}M(N,l,l.scopeId,O,g),process.env.NODE_ENV!=="production"&&(Object.defineProperty(N,"__vnode",{value:l,enumerable:!1}),Object.defineProperty(N,"__vueParentComponent",{value:g,enumerable:!1})),F&&Je(l,null,g,"beforeMount");const U=(!m||m&&!m.pendingBranch)&&I&&!I.persisted;U&&I.beforeEnter(N),o(N,f,p),((v=x&&x.onVnodeMounted)||U||F)&&ue(()=>{v&&we(v,g,l),U&&I.enter(N),F&&Je(l,null,g,"mounted")},m)},M=(l,f,p,g,m)=>{if(p&&D(l,p),g)for(let b=0;b<g.length;b++)D(l,g[b]);if(m){let b=m.subTree;if(process.env.NODE_ENV!=="production"&&b.patchFlag>0&&b.patchFlag&2048&&(b=Ks(b.children)||b),f===b){const O=m.vnode;M(l,O,O.scopeId,O.slotScopeIds,m.parent)}}},W=(l,f,p,g,m,b,O,E,N=0)=>{for(let v=N;v<l.length;v++){const w=l[v]=E?Be(l[v]):ve(l[v]);C(null,w,f,p,g,m,b,O,E)}},Y=(l,f,p,g,m,b,O)=>{const E=f.el=l.el;let{patchFlag:N,dynamicChildren:v,dirs:w}=f;N|=l.patchFlag&16;const x=l.props||H,V=f.props||H;let I;p&&Ye(p,!1),(I=V.onVnodeBeforeUpdate)&&we(I,p,f,l),w&&Je(f,l,p,"beforeUpdate"),p&&Ye(p,!0),process.env.NODE_ENV!=="production"&&st&&(N=0,O=!1,v=null);const F=m&&f.type!=="foreignObject";if(v?(se(l.dynamicChildren,v,E,p,g,F,b),process.env.NODE_ENV!=="production"&&p&&p.type.__hmrId&&Zt(l,f)):O||Oe(l,f,E,null,p,g,F,b,!1),N>0){if(N&16)ee(E,f,x,V,p,g,m);else if(N&2&&x.class!==V.class&&r(E,"class",null,V.class,m),N&4&&r(E,"style",x.style,V.style,m),N&8){const U=f.dynamicProps;for(let B=0;B<U.length;B++){const Z=U[B],ge=x[Z],dt=V[Z];(dt!==ge||Z==="value")&&r(E,Z,ge,dt,m,l.children,p,g,$e)}}N&1&&l.children!==f.children&&h(E,f.children)}else!O&&v==null&&ee(E,f,x,V,p,g,m);((I=V.onVnodeUpdated)||w)&&ue(()=>{I&&we(I,p,f,l),w&&Je(f,l,p,"updated")},g)},se=(l,f,p,g,m,b,O)=>{for(let E=0;E<f.length;E++){const N=l[E],v=f[E],w=N.el&&(N.type===_e||!Ge(N,v)||N.shapeFlag&70)?d(N.el):p;C(N,v,w,null,g,m,b,O,!0)}},ee=(l,f,p,g,m,b,O)=>{if(p!==g){if(p!==H)for(const E in p)!qt(E)&&!(E in g)&&r(l,E,p[E],null,O,f.children,m,b,$e);for(const E in g){if(qt(E))continue;const N=g[E],v=p[E];N!==v&&E!=="value"&&r(l,E,v,N,O,f.children,m,b,$e)}"value"in g&&r(l,"value",p.value,g.value)}},Ie=(l,f,p,g,m,b,O,E,N)=>{const v=f.el=l?l.el:c(""),w=f.anchor=l?l.anchor:c("");let{patchFlag:x,dynamicChildren:V,slotScopeIds:I}=f;process.env.NODE_ENV!=="production"&&(st||x&2048)&&(x=0,N=!1,V=null),I&&(E=E?E.concat(I):I),l==null?(o(v,p,g),o(w,p,g),W(f.children,p,w,m,b,O,E,N)):x>0&&x&64&&V&&l.dynamicChildren?(se(l.dynamicChildren,V,p,m,b,O,E),process.env.NODE_ENV!=="production"&&m&&m.type.__hmrId?Zt(l,f):(f.key!=null||m&&f===m.subTree)&&Zt(l,f,!0)):Oe(l,f,p,w,m,b,O,E,N)},Ht=(l,f,p,g,m,b,O,E,N)=>{f.slotScopeIds=E,l==null?f.shapeFlag&512?m.ctx.activate(f,p,g,O,N):Re(f,p,g,m,b,O,N):fe(l,f,N)},Re=(l,f,p,g,m,b,O)=>{const E=l.component=zl(l,g,m);if(process.env.NODE_ENV!=="production"&&E.type.__hmrId&&wi(E),process.env.NODE_ENV!=="production"&&(Jt(l),Ae(E,"mount")),St(l)&&(E.ctx.renderer=ut),process.env.NODE_ENV!=="production"&&Ae(E,"init"),Yl(E),process.env.NODE_ENV!=="production"&&Pe(E,"init"),E.asyncDep){if(m&&m.registerDep(E,j),!l.el){const N=E.subTree=Ne(oe);L(null,N,f,p)}return}j(E,l,f,p,m,b,O),process.env.NODE_ENV!=="production"&&(Yt(),Pe(E,"mount"))},fe=(l,f,p)=>{const g=f.component=l.component;if(Ui(l,f,p))if(g.asyncDep&&!g.asyncResolved){process.env.NODE_ENV!=="production"&&Jt(f),R(g,f,p),process.env.NODE_ENV!=="production"&&Yt();return}else g.next=f,Oi(g.update),g.update();else f.el=l.el,g.vnode=f},j=(l,f,p,g,m,b,O)=>{const E=()=>{if(l.isMounted){let{next:w,bu:x,u:V,parent:I,vnode:F}=l,U=w,B;process.env.NODE_ENV!=="production"&&Jt(w||l.vnode),Ye(l,!1),w?(w.el=F.el,R(l,w,O)):w=F,x&&wt(x),(B=w.props&&w.props.onVnodeBeforeUpdate)&&we(B,I,w,F),Ye(l,!0),process.env.NODE_ENV!=="production"&&Ae(l,"render");const Z=Cn(l);process.env.NODE_ENV!=="production"&&Pe(l,"render");const ge=l.subTree;l.subTree=Z,process.env.NODE_ENV!=="production"&&Ae(l,"patch"),C(ge,Z,d(ge.el),Lt(ge),l,m,b),process.env.NODE_ENV!=="production"&&Pe(l,"patch"),w.el=Z.el,U===null&&Ki(l,Z.el),V&&ue(V,m),(B=w.props&&w.props.onVnodeUpdated)&&ue(()=>we(B,I,w,F),m),process.env.NODE_ENV!=="production"&&Ls(l),process.env.NODE_ENV!=="production"&&Yt()}else{let w;const{el:x,props:V}=f,{bm:I,m:F,parent:U}=l,B=Xt(f);if(Ye(l,!1),I&&wt(I),!B&&(w=V&&V.onVnodeBeforeMount)&&we(w,U,f),Ye(l,!0),x&&Dn){const Z=()=>{process.env.NODE_ENV!=="production"&&Ae(l,"render"),l.subTree=Cn(l),process.env.NODE_ENV!=="production"&&Pe(l,"render"),process.env.NODE_ENV!=="production"&&Ae(l,"hydrate"),Dn(x,l.subTree,l,m,null),process.env.NODE_ENV!=="production"&&Pe(l,"hydrate")};B?f.type.__asyncLoader().then(()=>!l.isUnmounted&&Z()):Z()}else{process.env.NODE_ENV!=="production"&&Ae(l,"render");const Z=l.subTree=Cn(l);process.env.NODE_ENV!=="production"&&Pe(l,"render"),process.env.NODE_ENV!=="production"&&Ae(l,"patch"),C(null,Z,p,g,l,m,b),process.env.NODE_ENV!=="production"&&Pe(l,"patch"),f.el=Z.el}if(F&&ue(F,m),!B&&(w=V&&V.onVnodeMounted)){const Z=f;ue(()=>we(w,U,Z),m)}(f.shapeFlag&256||U&&Xt(U.vnode)&&U.vnode.shapeFlag&256)&&l.a&&ue(l.a,m),l.isMounted=!0,process.env.NODE_ENV!=="production"&&$i(l),f=p=g=null}},N=l.effect=new uo(E,()=>gn(v),l.scope),v=l.update=()=>N.run();v.id=l.uid,Ye(l,!0),process.env.NODE_ENV!=="production"&&(N.onTrack=l.rtc?w=>wt(l.rtc,w):void 0,N.onTrigger=l.rtg?w=>wt(l.rtg,w):void 0,v.ownerInstance=l),v()},R=(l,f,p)=>{f.component=l;const g=l.vnode.props;l.vnode=f,l.next=null,bl(l,f.props,g,p),Cl(l,f.children,p),ct(),Bo(),at()},Oe=(l,f,p,g,m,b,O,E,N=!1)=>{const v=l&&l.children,w=l?l.shapeFlag:0,x=f.children,{patchFlag:V,shapeFlag:I}=f;if(V>0){if(V&128){Ot(v,x,p,g,m,b,O,E,N);return}else if(V&256){On(v,x,p,g,m,b,O,E,N);return}}I&8?(w&16&&$e(v,m,b),x!==v&&h(p,x)):w&16?I&16?Ot(v,x,p,g,m,b,O,E,N):$e(v,m,b,!0):(w&8&&h(p,""),I&16&&W(x,p,g,m,b,O,E,N))},On=(l,f,p,g,m,b,O,E,N)=>{l=l||_t,f=f||_t;const v=l.length,w=f.length,x=Math.min(v,w);let V;for(V=0;V<x;V++){const I=f[V]=N?Be(f[V]):ve(f[V]);C(l[V],I,p,null,m,b,O,E,N)}v>w?$e(l,m,b,!0,!1,x):W(f,p,g,m,b,O,E,N,x)},Ot=(l,f,p,g,m,b,O,E,N)=>{let v=0;const w=f.length;let x=l.length-1,V=w-1;for(;v<=x&&v<=V;){const I=l[v],F=f[v]=N?Be(f[v]):ve(f[v]);if(Ge(I,F))C(I,F,p,null,m,b,O,E,N);else break;v++}for(;v<=x&&v<=V;){const I=l[x],F=f[V]=N?Be(f[V]):ve(f[V]);if(Ge(I,F))C(I,F,p,null,m,b,O,E,N);else break;x--,V--}if(v>x){if(v<=V){const I=V+1,F=I<w?f[I].el:g;for(;v<=V;)C(null,f[v]=N?Be(f[v]):ve(f[v]),p,F,m,b,O,E,N),v++}}else if(v>V)for(;v<=x;)Se(l[v],m,b,!0),v++;else{const I=v,F=v,U=new Map;for(v=F;v<=V;v++){const ie=f[v]=N?Be(f[v]):ve(f[v]);ie.key!=null&&(process.env.NODE_ENV!=="production"&&U.has(ie.key)&&y("Duplicate keys found during update:",JSON.stringify(ie.key),"Make sure keys are unique."),U.set(ie.key,v))}let B,Z=0;const ge=V-F+1;let dt=!1,$o=0;const xt=new Array(ge);for(v=0;v<ge;v++)xt[v]=0;for(v=I;v<=x;v++){const ie=l[v];if(Z>=ge){Se(ie,m,b,!0);continue}let xe;if(ie.key!=null)xe=U.get(ie.key);else for(B=F;B<=V;B++)if(xt[B-F]===0&&Ge(ie,f[B])){xe=B;break}xe===void 0?Se(ie,m,b,!0):(xt[xe-F]=v+1,xe>=$o?$o=xe:dt=!0,C(ie,f[xe],p,null,m,b,O,E,N),Z++)}const Ao=dt?kl(xt):_t;for(B=Ao.length-1,v=ge-1;v>=0;v--){const ie=F+v,xe=f[ie],Po=ie+1<w?f[ie+1].el:g;xt[v]===0?C(null,xe,p,Po,m,b,O,E,N):dt&&(B<0||v!==Ao[B]?ft(xe,p,Po,2):B--)}}},ft=(l,f,p,g,m=null)=>{const{el:b,type:O,transition:E,children:N,shapeFlag:v}=l;if(v&6){ft(l.component.subTree,f,p,g);return}if(v&128){l.suspense.move(f,p,g);return}if(v&64){O.move(l,f,p,ut);return}if(O===_e){o(b,f,p);for(let x=0;x<N.length;x++)ft(N[x],f,p,g);o(l.anchor,f,p);return}if(O===It){ae(l,f,p);return}if(g!==2&&v&1&&E)if(g===0)E.beforeEnter(b),o(b,f,p),ue(()=>E.enter(b),m);else{const{leave:x,delayLeave:V,afterLeave:I}=E,F=()=>o(b,f,p),U=()=>{x(b,()=>{F(),I&&I()})};V?V(b,F,U):U()}else o(b,f,p)},Se=(l,f,p,g=!1,m=!1)=>{const{type:b,props:O,ref:E,children:N,dynamicChildren:v,shapeFlag:w,patchFlag:x,dirs:V}=l;if(E!=null&&Qn(E,null,p,l,!0),w&256){f.ctx.deactivate(l);return}const I=w&1&&V,F=!Xt(l);let U;if(F&&(U=O&&O.onVnodeBeforeUnmount)&&we(U,f,l),w&6)Nr(l.component,p,g);else{if(w&128){l.suspense.unmount(p,g);return}I&&Je(l,null,f,"beforeUnmount"),w&64?l.type.remove(l,f,p,m,ut,g):v&&(b!==_e||x>0&&x&64)?$e(v,f,p,!1,!0):(b===_e&&x&384||!m&&w&16)&&$e(N,f,p),g&&xn(l)}(F&&(U=O&&O.onVnodeUnmounted)||I)&&ue(()=>{U&&we(U,f,l),I&&Je(l,null,f,"unmounted")},p)},xn=l=>{const{type:f,el:p,anchor:g,transition:m}=l;if(f===_e){process.env.NODE_ENV!=="production"&&l.patchFlag>0&&l.patchFlag&2048&&m&&!m.persisted?l.children.forEach(O=>{O.type===oe?s(O.el):xn(O)}):br(p,g);return}if(f===It){z(l);return}const b=()=>{s(p),m&&!m.persisted&&m.afterLeave&&m.afterLeave()};if(l.shapeFlag&1&&m&&!m.persisted){const{leave:O,delayLeave:E}=m,N=()=>O(p,b);E?E(l.el,b,N):N()}else b()},br=(l,f)=>{let p;for(;l!==f;)p=_(l),s(l),l=p;s(f)},Nr=(l,f,p)=>{process.env.NODE_ENV!=="production"&&l.type.__hmrId&&Di(l);const{bum:g,scope:m,update:b,subTree:O,um:E}=l;g&&wt(g),m.stop(),b&&(b.active=!1,Se(O,l,f,p)),E&&ue(E,f),ue(()=>{l.isUnmounted=!0},f),f&&f.pendingBranch&&!f.isUnmounted&&l.asyncDep&&!l.asyncResolved&&l.suspenseId===f.pendingId&&(f.deps--,f.deps===0&&f.resolve()),process.env.NODE_ENV!=="production"&&Ai(l)},$e=(l,f,p,g=!1,m=!1,b=0)=>{for(let O=b;O<l.length;O++)Se(l[O],f,p,g,m)},Lt=l=>l.shapeFlag&6?Lt(l.component.subTree):l.shapeFlag&128?l.suspense.next():_(l.anchor||l.el),Io=(l,f,p)=>{l==null?f._vnode&&Se(f._vnode,null,null,!0):C(f._vnode||null,l,f,null,null,null,p),Bo(),js(),f._vnode=l},ut={p:C,um:Se,m:ft,r:xn,mt:Re,mc:W,pc:Oe,pbc:se,n:Lt,o:e};let wn,Dn;return t&&([wn,Dn]=t(ut)),{render:Io,hydrate:wn,createApp:Il(Io,wn)}}function Ye({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Zt(e,t,n=!1){const o=e.children,s=t.children;if(T(o)&&T(s))for(let r=0;r<o.length;r++){const i=o[r];let c=s[r];c.shapeFlag&1&&!c.dynamicChildren&&((c.patchFlag<=0||c.patchFlag===32)&&(c=s[r]=Be(s[r]),c.el=i.el),n||Zt(i,c)),process.env.NODE_ENV!=="production"&&c.type===oe&&!c.el&&(c.el=i.el)}}function kl(e){const t=e.slice(),n=[0];let o,s,r,i,c;const a=e.length;for(o=0;o<a;o++){const u=e[o];if(u!==0){if(s=n[n.length-1],e[s]<u){t[o]=s,n.push(o);continue}for(r=0,i=n.length-1;r<i;)c=r+i>>1,e[n[c]]<u?r=c+1:i=c;u<e[n[r]]&&(r>0&&(t[o]=n[r-1]),n[r]=o)}}for(r=n.length,i=n[r-1];r-- >0;)n[r]=i,i=t[i];return n}const Ml=e=>e.__isTeleport,_e=Symbol(process.env.NODE_ENV!=="production"?"Fragment":void 0),bn=Symbol(process.env.NODE_ENV!=="production"?"Text":void 0),oe=Symbol(process.env.NODE_ENV!=="production"?"Comment":void 0),It=Symbol(process.env.NODE_ENV!=="production"?"Static":void 0),$t=[];let Ee=null;function ln(e=!1){$t.push(Ee=e?null:[])}function Fl(){$t.pop(),Ee=$t[$t.length-1]||null}let Mt=1;function ts(e){Mt+=e}function ar(e){return e.dynamicChildren=Mt>0?Ee||_t:null,Fl(),Mt>0&&Ee&&Ee.push(e),e}function Gn(e,t,n,o,s,r){return ar(We(e,t,n,o,s,r,!0))}function jl(e,t,n,o,s){return ar(Ne(e,t,n,o,s,!0))}function wo(e){return e?e.__v_isVNode===!0:!1}function Ge(e,t){return process.env.NODE_ENV!=="production"&&t.shapeFlag&6&&pt.has(t.type)?!1:e.type===t.type&&e.key===t.key}const Rl=(...e)=>ur(...e),Nn="__vInternal",fr=({key:e})=>e!=null?e:null,Qt=({ref:e,ref_key:t,ref_for:n})=>e!=null?G(e)||ne(e)||$(e)?{i:he,r:e,k:t,f:!!n}:e:null;function We(e,t=null,n=null,o=0,s=null,r=e===_e?0:1,i=!1,c=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&fr(t),ref:t&&Qt(t),scopeId:vn,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:r,patchFlag:o,dynamicProps:s,dynamicChildren:null,appContext:null};return c?(Do(a,n),r&128&&e.normalize(a)):n&&(a.shapeFlag|=G(n)?8:16),process.env.NODE_ENV!=="production"&&a.key!==a.key&&y("VNode created with invalid key (NaN). VNode type:",a.type),Mt>0&&!i&&Ee&&(a.patchFlag>0||r&6)&&a.patchFlag!==32&&Ee.push(a),a}const Ne=process.env.NODE_ENV!=="production"?Rl:ur;function ur(e,t=null,n=null,o=0,s=null,r=!1){if((!e||e===cl)&&(process.env.NODE_ENV!=="production"&&!e&&y(`Invalid vnode type when creating vnode: ${e}.`),e=oe),wo(e)){const c=Te(e,t,!0);return n&&Do(c,n),Mt>0&&!r&&Ee&&(c.shapeFlag&6?Ee[Ee.indexOf(e)]=c:Ee.push(c)),c.patchFlag|=-2,c}if(gr(e)&&(e=e.__vccOpts),t){t=Sl(t);let{class:c,style:a}=t;c&&!G(c)&&(t.class=ro(c)),q(a)&&(Ln(a)&&!T(a)&&(a=X({},a)),t.style=so(a))}const i=G(e)?1:Wi(e)?128:Ml(e)?64:q(e)?4:$(e)?2:0;return process.env.NODE_ENV!=="production"&&i&4&&Ln(e)&&(e=P(e),y("Vue received a Component which was made a reactive object. This can lead to unnecessary performance overhead, and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
7
- Component that was made reactive: `,e)),We(e,t,n,o,s,i,r,!0)}function Sl(e){return e?Ln(e)||Nn in e?X({},e):e:null}function Te(e,t,n=!1){const{props:o,ref:s,patchFlag:r,children:i}=e,c=t?Ul(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&fr(c),ref:t&&t.ref?n&&s?T(s)?s.concat(Qt(t)):[s,Qt(t)]:Qt(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:process.env.NODE_ENV!=="production"&&r===-1&&T(i)?i.map(dr):i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==_e?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Te(e.ssContent),ssFallback:e.ssFallback&&Te(e.ssFallback),el:e.el,anchor:e.anchor}}function dr(e){const t=Te(e);return T(e.children)&&(t.children=e.children.map(dr)),t}function Hl(e=" ",t=0){return Ne(bn,null,e,t)}function Ll(e,t){const n=Ne(It,null,e);return n.staticCount=t,n}function Bl(e="",t=!1){return t?(ln(),jl(oe,null,e)):Ne(oe,null,e)}function ve(e){return e==null||typeof e=="boolean"?Ne(oe):T(e)?Ne(_e,null,e.slice()):typeof e=="object"?Be(e):Ne(bn,null,String(e))}function Be(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Te(e)}function Do(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(T(t))n=16;else if(typeof t=="object")if(o&65){const s=t.default;s&&(s._c&&(s._d=!1),Do(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(Nn in t)?t._ctx=he:s===3&&he&&(he.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else $(t)?(t={default:t,_ctx:he},n=32):(t=String(t),o&64?(n=16,t=[Hl(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ul(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const s in o)if(s==="class")t.class!==o.class&&(t.class=ro([t.class,o.class]));else if(s==="style")t.style=so([t.style,o.style]);else if(jt(s)){const r=t[s],i=o[s];i&&r!==i&&!(T(r)&&r.includes(i))&&(t[s]=r?[].concat(r,i):i)}else s!==""&&(t[s]=o[s])}return t}function we(e,t,n,o=null){me(e,t,7,[n,o])}const Kl=cr();let Wl=0;function zl(e,t,n){const o=e.type,s=(t?t.appContext:e.appContext)||Kl,r={uid:Wl++,vnode:e,type:o,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new Mr(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:or(o,s),emitsOptions:Us(o,s),emit:null,emitted:null,propsDefaults:H,inheritAttrs:o.inheritAttrs,ctx:H,data:H,props:H,attrs:H,slots:H,refs:H,setupState:H,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 process.env.NODE_ENV!=="production"?r.ctx=al(r):r.ctx={_:r},r.root=t?t.root:r,r.emit=Fi.bind(null,r),e.ce&&e.ce(r),r}let Q=null;const ql=()=>Q||he,Nt=e=>{Q=e,e.scope.on()},rt=()=>{Q&&Q.scope.off(),Q=null},Jl=yt("slot,component");function eo(e,t){const n=t.isNativeTag||hs;(Jl(e)||n(e))&&y("Do not use built-in or reserved HTML elements as component id: "+e)}function pr(e){return e.vnode.shapeFlag&4}let Ft=!1;function Yl(e,t=!1){Ft=t;const{props:n,children:o}=e.vnode,s=pr(e);vl(e,n,s,t),Vl(e,o);const r=s?Xl(e,t):void 0;return Ft=!1,r}function Xl(e,t){var n;const o=e.type;if(process.env.NODE_ENV!=="production"){if(o.name&&eo(o.name,e.appContext.config),o.components){const r=Object.keys(o.components);for(let i=0;i<r.length;i++)eo(r[i],e.appContext.config)}if(o.directives){const r=Object.keys(o.directives);for(let i=0;i<r.length;i++)Gs(r[i])}o.compilerOptions&&Zl()&&y('"compilerOptions" is only supported when using a build of Vue that includes the runtime compiler. Since you are using a runtime-only build, the options should be passed via your build tool config instead.')}e.accessCache=Object.create(null),e.proxy=Ts(new Proxy(e.ctx,er)),process.env.NODE_ENV!=="production"&&fl(e);const{setup:s}=o;if(s){const r=e.setupContext=s.length>1?Ql(e):null;Nt(e),ct();const i=ke(s,e,0,[process.env.NODE_ENV!=="production"?mt(e.props):e.props,r]);if(at(),rt(),co(i)){if(i.then(rt,rt),t)return i.then(c=>{ns(e,c,t)}).catch(c=>{mn(c,e,0)});if(e.asyncDep=i,process.env.NODE_ENV!=="production"&&!e.suspense){const c=(n=o.name)!==null&&n!==void 0?n:"Anonymous";y(`Component <${c}>: setup function returned a promise, but no <Suspense> boundary was found in the parent component tree. A component with async setup() must be nested in a <Suspense> in order to be rendered.`)}}else ns(e,i,t)}else hr(e,t)}function ns(e,t,n){$(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:q(t)?(process.env.NODE_ENV!=="production"&&wo(t)&&y("setup() should not return VNodes directly - return a render function instead."),process.env.NODE_ENV!=="production"&&(e.devtoolsRawSetupState=t),e.setupState=Is(t),process.env.NODE_ENV!=="production"&&ul(e)):process.env.NODE_ENV!=="production"&&t!==void 0&&y(`setup() should return an object. Received: ${t===null?"null":typeof t}`),hr(e,n)}let to;const Zl=()=>!to;function hr(e,t,n){const o=e.type;if(!e.render){if(!t&&to&&!o.render){const s=o.template||Oo(e).template;if(s){process.env.NODE_ENV!=="production"&&Ae(e,"compile");const{isCustomElement:r,compilerOptions:i}=e.appContext.config,{delimiters:c,compilerOptions:a}=o,u=X(X({isCustomElement:r,delimiters:c},i),a);o.render=to(s,u),process.env.NODE_ENV!=="production"&&Pe(e,"compile")}}e.render=o.render||te}Nt(e),ct(),pl(e),at(),rt(),process.env.NODE_ENV!=="production"&&!o.render&&e.render===te&&!t&&(o.template?y('Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".'):y("Component is missing template or render function."))}function os(e){return new Proxy(e.attrs,process.env.NODE_ENV!=="production"?{get(t,n){return on(),de(e,"get","$attrs"),t[n]},set(){return y("setupContext.attrs is readonly."),!1},deleteProperty(){return y("setupContext.attrs is readonly."),!1}}:{get(t,n){return de(e,"get","$attrs"),t[n]}})}function Ql(e){const t=o=>{process.env.NODE_ENV!=="production"&&e.exposed&&y("expose() should be called only once per setup()."),e.exposed=o||{}};let n;return process.env.NODE_ENV!=="production"?Object.freeze({get attrs(){return n||(n=os(e))},get slots(){return mt(e.slots)},get emit(){return(o,...s)=>e.emit(o,...s)},expose:t}):{get attrs(){return n||(n=os(e))},slots:e.slots,emit:e.emit,expose:t}}function Vo(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Is(Ts(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in bt)return bt[n](e)}}))}const Gl=/(?:^|[-_])(\w)/g,ec=e=>e.replace(Gl,t=>t.toUpperCase()).replace(/[-_]/g,"");function mr(e,t=!0){return $(e)?e.displayName||e.name:e.name||t&&e.__name}function yn(e,t,n=!1){let o=mr(t);if(!o&&t.__file){const s=t.__file.match(/([^/\\]+)\.\w+$/);s&&(o=s[1])}if(!o&&e&&e.parent){const s=r=>{for(const i in r)if(r[i]===t)return i};o=s(e.components||e.parent.type.components)||s(e.appContext.components)}return o?ec(o):n?"App":"Anonymous"}function gr(e){return $(e)&&"__vccOpts"in e}const tc=(e,t)=>mi(e,t,Ft);Symbol(process.env.NODE_ENV!=="production"?"ssrContext":"");function An(e){return!!(e&&e.__v_isShallow)}function nc(){if(process.env.NODE_ENV==="production"||typeof window>"u")return;const e={style:"color:#3ba776"},t={style:"color:#0b1bc9"},n={style:"color:#b62e24"},o={style:"color:#9d288c"},s={header(d){return q(d)?d.__isVue?["div",e,"VueInstance"]:ne(d)?["div",{},["span",e,h(d)],"<",c(d.value),">"]:nt(d)?["div",{},["span",e,An(d)?"ShallowReactive":"Reactive"],"<",c(d),`>${it(d)?" (readonly)":""}`]:it(d)?["div",{},["span",e,An(d)?"ShallowReadonly":"Readonly"],"<",c(d),">"]:null:null},hasBody(d){return d&&d.__isVue},body(d){if(d&&d.__isVue)return["div",{},...r(d.$)]}};function r(d){const _=[];d.type.props&&d.props&&_.push(i("props",P(d.props))),d.setupState!==H&&_.push(i("setup",d.setupState)),d.data!==H&&_.push(i("data",P(d.data)));const D=a(d,"computed");D&&_.push(i("computed",D));const A=a(d,"inject");return A&&_.push(i("injected",A)),_.push(["div",{},["span",{style:o.style+";opacity:0.66"},"$ (internal): "],["object",{object:d}]]),_}function i(d,_){return _=X({},_),Object.keys(_).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},d],["div",{style:"padding-left:1.25em"},...Object.keys(_).map(D=>["div",{},["span",o,D+": "],c(_[D],!1)])]]:["span",{}]}function c(d,_=!0){return typeof d=="number"?["span",t,d]:typeof d=="string"?["span",n,JSON.stringify(d)]:typeof d=="boolean"?["span",o,d]:q(d)?["object",{object:_?P(d):d}]:["span",n,String(d)]}function a(d,_){const D=d.type;if($(D))return;const A={};for(const C in d.ctx)u(D,C,_)&&(A[C]=d.ctx[C]);return A}function u(d,_,D){const A=d[D];if(T(A)&&A.includes(_)||q(A)&&_ in A||d.extends&&u(d.extends,_,D)||d.mixins&&d.mixins.some(C=>u(C,_,D)))return!0}function h(d){return An(d)?"ShallowRef":d.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(s):window.devtoolsFormatters=[s]}const ss="3.2.40",oc="http://www.w3.org/2000/svg",et=typeof document<"u"?document:null,rs=et&&et.createElement("template"),sc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const s=t?et.createElementNS(oc,e):et.createElement(e,n?{is:n}:void 0);return e==="select"&&o&&o.multiple!=null&&s.setAttribute("multiple",o.multiple),s},createText:e=>et.createTextNode(e),createComment:e=>et.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>et.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,s,r){const i=n?n.previousSibling:t.lastChild;if(s&&(s===r||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===r||!(s=s.nextSibling)););else{rs.innerHTML=o?`<svg>${e}</svg>`:e;const c=rs.content;if(o){const a=c.firstChild;for(;a.firstChild;)c.appendChild(a.firstChild);c.removeChild(a)}t.insertBefore(c,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function rc(e,t,n){const o=e._vtc;o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function ic(e,t,n){const o=e.style,s=G(n);if(n&&!s){for(const r in n)no(o,r,n[r]);if(t&&!G(t))for(const r in t)n[r]==null&&no(o,r,"")}else{const r=o.display;s?t!==n&&(o.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(o.display=r)}}const is=/\s*!important$/;function no(e,t,n){if(T(n))n.forEach(o=>no(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=lc(e,t);is.test(n)?e.setProperty(be(o),n.replace(is,""),"important"):e[o]=n}}const ls=["Webkit","Moz","ms"],Pn={};function lc(e,t){const n=Pn[t];if(n)return n;let o=ze(t);if(o!=="filter"&&o in e)return Pn[t]=o;o=fn(o);for(let s=0;s<ls.length;s++){const r=ls[s]+o;if(r in e)return Pn[t]=r}return t}const cs="http://www.w3.org/1999/xlink";function cc(e,t,n,o,s){if(o&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(cs,t.slice(6,t.length)):e.setAttributeNS(cs,t,n);else{const r=Or(t);n==null||r&&!ps(n)?e.removeAttribute(t):e.setAttribute(t,r?"":n)}}function ac(e,t,n,o,s,r,i){if(t==="innerHTML"||t==="textContent"){o&&i(o,s,r),e[t]=n==null?"":n;return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=n;const a=n==null?"":n;(e.value!==a||e.tagName==="OPTION")&&(e.value=a),n==null&&e.removeAttribute(t);return}let c=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=ps(n):n==null&&a==="string"?(n="",c=!0):a==="number"&&(n=0,c=!0)}try{e[t]=n}catch(a){process.env.NODE_ENV!=="production"&&!c&&y(`Failed setting prop "${t}" on <${e.tagName.toLowerCase()}>: value ${n} is invalid.`,a)}c&&e.removeAttribute(t)}const[_r,fc]=(()=>{let e=Date.now,t=!1;if(typeof window<"u"){Date.now()>document.createEvent("Event").timeStamp&&(e=performance.now.bind(performance));const n=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(n&&Number(n[1])<=53)}return[e,t]})();let oo=0;const uc=Promise.resolve(),dc=()=>{oo=0},pc=()=>oo||(uc.then(dc),oo=_r());function hc(e,t,n,o){e.addEventListener(t,n,o)}function mc(e,t,n,o){e.removeEventListener(t,n,o)}function gc(e,t,n,o,s=null){const r=e._vei||(e._vei={}),i=r[t];if(o&&i)i.value=o;else{const[c,a]=_c(t);if(o){const u=r[t]=vc(o,s);hc(e,c,u,a)}else i&&(mc(e,c,i,a),r[t]=void 0)}}const as=/(?:Once|Passive|Capture)$/;function _c(e){let t;if(as.test(e)){t={};let o;for(;o=e.match(as);)e=e.slice(0,e.length-o[0].length),t[o[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):be(e.slice(2)),t]}function vc(e,t){const n=o=>{const s=o.timeStamp||_r();(fc||s>=n.attached-1)&&me(Ec(o,n.value),t,5,[o])};return n.value=e,n.attached=pc(),n}function Ec(e,t){if(T(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(o=>s=>!s._stopped&&o&&o(s))}else return t}const fs=/^on[a-z]/,bc=(e,t,n,o,s=!1,r,i,c,a)=>{t==="class"?rc(e,o,s):t==="style"?ic(e,n,o):jt(t)?Gt(t)||gc(e,t,n,o,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Nc(e,t,o,s))?ac(e,t,o,r,i,c,a):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),cc(e,t,o,s))};function Nc(e,t,n,o){return o?!!(t==="innerHTML"||t==="textContent"||t in e&&fs.test(t)&&$(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||fs.test(t)&&G(n)?!1:t in e}function vr(e,t){const n=Ys(e);class o extends Co{constructor(r){super(n,r,t)}}return o.def=n,o}const yc=typeof HTMLElement<"u"?HTMLElement:class{};class Co extends yc{constructor(t,n={},o){super(),this._def=t,this._props=n,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&o?o(this._createVNode(),this.shadowRoot):(process.env.NODE_ENV!=="production"&&this.shadowRoot&&y("Custom element has pre-rendered declarative shadow root but is not defined as hydratable. Use `defineSSRCustomElement`."),this.attachShadow({mode:"open"}))}connectedCallback(){this._connected=!0,this._instance||this._resolveDef()}disconnectedCallback(){this._connected=!1,ks(()=>{this._connected||(ds(null,this.shadowRoot),this._instance=null)})}_resolveDef(){if(this._resolved)return;this._resolved=!0;for(let o=0;o<this.attributes.length;o++)this._setAttr(this.attributes[o].name);new MutationObserver(o=>{for(const s of o)this._setAttr(s.attributeName)}).observe(this,{attributes:!0});const t=o=>{const{props:s,styles:r}=o,i=!T(s),c=s?i?Object.keys(s):s:[];let a;if(i)for(const u in this._props){const h=s[u];(h===Number||h&&h.type===Number)&&(this._props[u]=kn(this._props[u]),(a||(a=Object.create(null)))[u]=!0)}this._numberProps=a;for(const u of Object.keys(this))u[0]!=="_"&&this._setProp(u,this[u],!0,!1);for(const u of c.map(ze))Object.defineProperty(this,u,{get(){return this._getProp(u)},set(h){this._setProp(u,h)}});this._applyStyles(r),this._update()},n=this._def.__asyncLoader;n?n().then(t):t(this._def)}_setAttr(t){let n=this.getAttribute(t);this._numberProps&&this._numberProps[t]&&(n=kn(n)),this._setProp(ze(t),n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,o=!0,s=!0){n!==this._props[t]&&(this._props[t]=n,s&&this._instance&&this._update(),o&&(n===!0?this.setAttribute(be(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(be(t),n+""):n||this.removeAttribute(be(t))))}_update(){ds(this._createVNode(),this.shadowRoot)}_createVNode(){const t=Ne(this._def,X({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0,process.env.NODE_ENV!=="production"&&(n.ceReload=s=>{this._styles&&(this._styles.forEach(r=>this.shadowRoot.removeChild(r)),this._styles.length=0),this._applyStyles(s),this._def.__asyncLoader||(this._instance=null,this._update())}),n.emit=(s,...r)=>{this.dispatchEvent(new CustomEvent(s,{detail:r}))};let o=this;for(;o=o&&(o.parentNode||o.host);)if(o instanceof Co){n.parent=o._instance;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const o=document.createElement("style");o.textContent=n,this.shadowRoot.appendChild(o),process.env.NODE_ENV!=="production"&&(this._styles||(this._styles=[])).push(o)})}}const Oc={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};Zi.props;const xc=X({patchProp:bc},sc);let us;function wc(){return us||(us=Al(xc))}const ds=(...e)=>{wc().render(...e)};function Dc(){nc()}process.env.NODE_ENV!=="production"&&Dc();const To=e=>(ji("data-v-f51198a4"),e=e(),Ri(),e),Vc={class:"antialiased font-sans"},Cc={class:"relative flex items-top justify-center min-h-screen bg-gray-50 dark:bg-gray-900 sm:items-center py-4 sm:pt-0"},Tc={class:"max-w-6xl mx-auto sm:px-6 lg:px-8"},Ic={class:"flex justify-center items-center pt-8 sm:justify-between sm:pt-0"},$c=To(()=>We("Logo",null,null,-1)),Ac={key:0,class:"flex items-end"},Pc=To(()=>We("Counter",null,null,-1)),kc=To(()=>We("ToggleDark",null,null,-1)),Mc=[Pc,kc],Fc=Ll('<div class="mt-8 bg-white dark:bg-gray-800 overflow-hidden shadow sm:rounded-lg" data-v-f51198a4><div class="grid grid-cols-1 md:grid-cols-2" data-v-f51198a4><div class="p-6" data-v-f51198a4><div class="flex items-center" data-v-f51198a4><i class="i-heroicons-outline-book-open w-8 h-8 text-gray-500" aria-hidden="true" data-v-f51198a4></i><div class="ml-4 text-lg leading-7 font-semibold" data-v-f51198a4><a href="https://stacks.ow3org.com/docs" class="underline text-gray-900 dark:text-white" data-v-f51198a4> Documentation </a></div></div><div class="ml-12" data-v-f51198a4><div class="mt-2 text-gray-600 dark:text-gray-400 text-sm leading-6" data-v-f51198a4> Stacks will have (wip) a wonderful, thorough documentation covering every aspect of the framework. Whether you are new to the framework or have previous experience with Stacks, we recommend reading all of the documentation from beginning to end. </div></div></div><div class="p-6 border-t border-gray-200 dark:border-gray-700 md:border-t-0 md:border-l" data-v-f51198a4><div class="flex items-center" data-v-f51198a4><i class="i-heroicons-outline-puzzle w-8 h-8 text-gray-500" aria-hidden="true" data-v-f51198a4></i><div class="ml-4 text-lg leading-7 font-semibold" data-v-f51198a4><a href="https://stacks.ow3.org/components" class="underline text-gray-900 dark:text-white" data-v-f51198a4> Components </a></div></div><div class="ml-12" data-v-f51198a4><div class="mt-2 text-gray-600 dark:text-gray-400 text-sm leading-6" data-v-f51198a4> The easiest way to build component libraries and distribute them on npm. Stacks automatically imports all of your components &amp; makes them available to you in your templates. And it automatically builds framework agnostic (e.g. Web &amp; Vue Components) component libraries out of those. </div></div></div><div class="p-6 border-t border-gray-200 dark:border-gray-700" data-v-f51198a4><div class="flex items-center" data-v-f51198a4><i class="i-heroicons-outline-template w-8 h-8 text-gray-500" aria-hidden="true" data-v-f51198a4></i><div class="ml-4 text-lg leading-7 font-semibold" data-v-f51198a4><a href="https://stacks.ow3.org/functions" class="underline text-gray-900 dark:text-white" data-v-f51198a4> Functions </a></div></div><div class="ml-12" data-v-f51198a4><div class="mt-2 text-gray-600 dark:text-gray-400 text-sm leading-6" data-v-f51198a4> Atomic FX development, at core, is a simple way to create composable functions. These \u201Cfunction libraries\u201D may easily be distributed via npm or served as API endpoints. Because Stacks loves serverless technology, scalability is built-in. <i data-v-f51198a4>Don\u2019t sweat it, it\u2019s simple!</i></div></div></div><div class="p-6 border-t border-gray-200 dark:border-gray-700 md:border-l" data-v-f51198a4><div class="flex items-center" data-v-f51198a4><i class="i-heroicons-outline-variable w-8 h-8 text-gray-500" aria-hidden="true" data-v-f51198a4></i><div class="ml-4 text-lg leading-7 font-semibold text-gray-900 dark:text-white" data-v-f51198a4><a href="https://stacks.ow3.org/pages" class="underline text-gray-900 dark:text-white" data-v-f51198a4> Pages </a></div></div><div class="ml-12" data-v-f51198a4><div class="mt-2 text-gray-600 dark:text-gray-400 text-sm leading-6" data-v-f51198a4> Building on top of \u201Ccomponents,\u201D you may easily reuse them to develop your \u201Cpages.\u201D SSR &amp; PWA support is built-in, as well as a deployable server. Get more done, more quickly. Vercel &amp; Netlify are supported, including many other cloud providers. </div></div></div><div class="p-6 border-t border-gray-200 dark:border-gray-700" data-v-f51198a4><div class="flex items-center" data-v-f51198a4><i class="i-heroicons-outline-terminal w-8 h-8 text-gray-500" aria-hidden="true" data-v-f51198a4></i><div class="ml-4 text-lg leading-7 font-semibold" data-v-f51198a4><a href="https://stacks.ow3.org/" class="underline text-gray-900 dark:text-white" data-v-f51198a4> Modern DX </a></div></div><div class="ml-12" data-v-f51198a4><div class="mt-2 text-gray-600 dark:text-gray-400 text-sm leading-6" data-v-f51198a4> Approachable artisan design; simplistic setup, maintenance &amp; collaboration. Deep IDE integration, auto-formatting, access to powerful utility APIs, modern git commit conventions, npm package releases, semver powered, pretty changelog generations, PR dependency updates, documentation tooling, and more. <i data-v-f51198a4>A well-defined set of best practices &amp; automations.</i></div></div></div><div class="p-6 border-t border-gray-200 dark:border-gray-700 md:border-l" data-v-f51198a4><div class="flex items-center" data-v-f51198a4><i class="i-heroicons-outline-globe w-8 h-8 text-gray-500" aria-hidden="true" data-v-f51198a4></i><div class="ml-4 text-lg leading-7 font-semibold text-gray-900 dark:text-white" data-v-f51198a4> Vibrant Ecosystem </div></div><div class="ml-12" data-v-f51198a4><div class="mt-2 text-gray-600 dark:text-gray-400 text-sm leading-6" data-v-f51198a4> Stacks\u2019s robust ecosystem of first-party libraries, including headless/unstyled, fully accessible UI component libraries, designed to integrate beautifully with any tech stack of your choice. <a href="https://github.com/stacksjsow3org/table" class="underline text-blue-600 dark:text-blue-200" data-v-f51198a4>Tables</a>, <a href="https://github.com/stacksjs/date-picker" class="underline text-blue-600 dark:text-blue-200" data-v-f51198a4>Command Palettes</a>, <a href="https://github.com/stacksjs/date-picker" class="underline text-blue-600 dark:text-blue-200" data-v-f51198a4>Date Pickers</a>, <a href="https://github.com/stacksjs/file-manager" class="underline text-blue-600 dark:text-blue-200" data-v-f51198a4>File Manager</a>, <a href="https://github.com/stacksjs/image" class="underline text-blue-600 dark:text-blue-200" data-v-f51198a4>Images</a>, <a href="https://github.com/stacksjs/video" class="underline text-blue-600 dark:text-blue-200" data-v-f51198a4>Videos</a>, <a href="https://github.com/stacksjs/audio" class="underline text-blue-600 dark:text-blue-200" data-v-f51198a4>Audios</a>, and <a href="https://github.com/stacksjs/web3" class="underline text-blue-600 dark:text-blue-200" data-v-f51198a4>Web3</a> libraries, such as <a href="https://github.com/stacksjs/daos" class="underline text-blue-600 dark:text-blue-200" data-v-f51198a4>DAO</a>, <a href="https://github.com/stacksjs/nfts" class="underline text-blue-600 dark:text-blue-200" data-v-f51198a4>NFTs</a>, <a href="https://github.com/stacksjs/defi" class="underline text-blue-600 dark:text-blue-200" data-v-f51198a4>DeFi</a> stacks, and more\u2014we got you covered. </div></div></div></div></div><div class="flex justify-center mt-4 sm:items-center sm:justify-between" data-v-f51198a4><div class="text-center text-sm text-gray-500 sm:text-left" data-v-f51198a4><div class="flex items-center" data-v-f51198a4><i class="-mt-px w-5 h-5 text-gray-400 i-heroicons-outline-heart" aria-hidden="true" data-v-f51198a4></i><svg fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 24 24" class="" data-v-f51198a4><path d="M4.318 6.318a4.5 4.5 0 000 6.364L12 20.364l7.682-7.682a4.5 4.5 0 00-6.364-6.364L12 7.636l-1.318-1.318a4.5 4.5 0 00-6.364 0z" data-v-f51198a4></path></svg><a href="https://github.com/sponsors/chrisbbreuer" class="ml-1 underline text-blue-600 dark:text-blue-200" data-v-f51198a4> Sponsor </a></div></div><div class="ml-4 text-center text-sm text-gray-500 sm:text-right sm:ml-0" data-v-f51198a4> Stacks Pre-Alpha (Node v18.8) </div></div>',2),jc=Ys({__name:"HelloWorld",props:{greeting:null,showButtons:{type:Boolean}},setup(e){const{greeting:t="Welcome!"}=e;return No(()=>{console.log("HelloWorld component mounted & the greeting is",t)}),(n,o)=>(ln(),Gn("div",Vc,[We("div",Cc,[We("div",Tc,[We("div",Ic,[$c,e.showButtons?(ln(),Gn("div",Ac,Mc)):Bl("",!0)]),Fc])])]))}});const Er=(e,t)=>{const n=e.__vccOpts||e;for(const[o,s]of t)n[o]=s;return n},Rc=Er(jc,[["__scopeId","data-v-f51198a4"]]),Sc={},Hc={greeting:"Jane Doe","show-buttons":!0};function Lc(e,t){return ln(),Gn("HelloWorld",Hc)}const Bc=Er(Sc,[["render",Lc]]),Uc=vr(Rc),Kc=vr(Bc);customElements.define("hallo/welt",Uc);customElements.define("demo",Kc);
7
+ Component that was made reactive: `,e)),We(e,t,n,o,s,i,r,!0)}function Sl(e){return e?Ln(e)||Nn in e?X({},e):e:null}function Te(e,t,n=!1){const{props:o,ref:s,patchFlag:r,children:i}=e,c=t?Ul(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&fr(c),ref:t&&t.ref?n&&s?T(s)?s.concat(Qt(t)):[s,Qt(t)]:Qt(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:process.env.NODE_ENV!=="production"&&r===-1&&T(i)?i.map(dr):i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==_e?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Te(e.ssContent),ssFallback:e.ssFallback&&Te(e.ssFallback),el:e.el,anchor:e.anchor}}function dr(e){const t=Te(e);return T(e.children)&&(t.children=e.children.map(dr)),t}function Hl(e=" ",t=0){return Ne(bn,null,e,t)}function Ll(e,t){const n=Ne(It,null,e);return n.staticCount=t,n}function Bl(e="",t=!1){return t?(ln(),jl(oe,null,e)):Ne(oe,null,e)}function ve(e){return e==null||typeof e=="boolean"?Ne(oe):T(e)?Ne(_e,null,e.slice()):typeof e=="object"?Be(e):Ne(bn,null,String(e))}function Be(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Te(e)}function Do(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(T(t))n=16;else if(typeof t=="object")if(o&65){const s=t.default;s&&(s._c&&(s._d=!1),Do(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(Nn in t)?t._ctx=he:s===3&&he&&(he.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else $(t)?(t={default:t,_ctx:he},n=32):(t=String(t),o&64?(n=16,t=[Hl(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ul(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const s in o)if(s==="class")t.class!==o.class&&(t.class=ro([t.class,o.class]));else if(s==="style")t.style=so([t.style,o.style]);else if(jt(s)){const r=t[s],i=o[s];i&&r!==i&&!(T(r)&&r.includes(i))&&(t[s]=r?[].concat(r,i):i)}else s!==""&&(t[s]=o[s])}return t}function we(e,t,n,o=null){me(e,t,7,[n,o])}const Kl=cr();let Wl=0;function zl(e,t,n){const o=e.type,s=(t?t.appContext:e.appContext)||Kl,r={uid:Wl++,vnode:e,type:o,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new Mr(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:or(o,s),emitsOptions:Us(o,s),emit:null,emitted:null,propsDefaults:H,inheritAttrs:o.inheritAttrs,ctx:H,data:H,props:H,attrs:H,slots:H,refs:H,setupState:H,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 process.env.NODE_ENV!=="production"?r.ctx=al(r):r.ctx={_:r},r.root=t?t.root:r,r.emit=Fi.bind(null,r),e.ce&&e.ce(r),r}let Q=null;const ql=()=>Q||he,Nt=e=>{Q=e,e.scope.on()},rt=()=>{Q&&Q.scope.off(),Q=null},Jl=yt("slot,component");function eo(e,t){const n=t.isNativeTag||hs;(Jl(e)||n(e))&&y("Do not use built-in or reserved HTML elements as component id: "+e)}function pr(e){return e.vnode.shapeFlag&4}let Ft=!1;function Yl(e,t=!1){Ft=t;const{props:n,children:o}=e.vnode,s=pr(e);vl(e,n,s,t),Vl(e,o);const r=s?Xl(e,t):void 0;return Ft=!1,r}function Xl(e,t){var n;const o=e.type;if(process.env.NODE_ENV!=="production"){if(o.name&&eo(o.name,e.appContext.config),o.components){const r=Object.keys(o.components);for(let i=0;i<r.length;i++)eo(r[i],e.appContext.config)}if(o.directives){const r=Object.keys(o.directives);for(let i=0;i<r.length;i++)Gs(r[i])}o.compilerOptions&&Zl()&&y('"compilerOptions" is only supported when using a build of Vue that includes the runtime compiler. Since you are using a runtime-only build, the options should be passed via your build tool config instead.')}e.accessCache=Object.create(null),e.proxy=Ts(new Proxy(e.ctx,er)),process.env.NODE_ENV!=="production"&&fl(e);const{setup:s}=o;if(s){const r=e.setupContext=s.length>1?Ql(e):null;Nt(e),ct();const i=ke(s,e,0,[process.env.NODE_ENV!=="production"?mt(e.props):e.props,r]);if(at(),rt(),co(i)){if(i.then(rt,rt),t)return i.then(c=>{ns(e,c,t)}).catch(c=>{mn(c,e,0)});if(e.asyncDep=i,process.env.NODE_ENV!=="production"&&!e.suspense){const c=(n=o.name)!==null&&n!==void 0?n:"Anonymous";y(`Component <${c}>: setup function returned a promise, but no <Suspense> boundary was found in the parent component tree. A component with async setup() must be nested in a <Suspense> in order to be rendered.`)}}else ns(e,i,t)}else hr(e,t)}function ns(e,t,n){$(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:q(t)?(process.env.NODE_ENV!=="production"&&wo(t)&&y("setup() should not return VNodes directly - return a render function instead."),process.env.NODE_ENV!=="production"&&(e.devtoolsRawSetupState=t),e.setupState=Is(t),process.env.NODE_ENV!=="production"&&ul(e)):process.env.NODE_ENV!=="production"&&t!==void 0&&y(`setup() should return an object. Received: ${t===null?"null":typeof t}`),hr(e,n)}let to;const Zl=()=>!to;function hr(e,t,n){const o=e.type;if(!e.render){if(!t&&to&&!o.render){const s=o.template||Oo(e).template;if(s){process.env.NODE_ENV!=="production"&&Ae(e,"compile");const{isCustomElement:r,compilerOptions:i}=e.appContext.config,{delimiters:c,compilerOptions:a}=o,u=X(X({isCustomElement:r,delimiters:c},i),a);o.render=to(s,u),process.env.NODE_ENV!=="production"&&Pe(e,"compile")}}e.render=o.render||te}Nt(e),ct(),pl(e),at(),rt(),process.env.NODE_ENV!=="production"&&!o.render&&e.render===te&&!t&&(o.template?y('Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".'):y("Component is missing template or render function."))}function os(e){return new Proxy(e.attrs,process.env.NODE_ENV!=="production"?{get(t,n){return on(),de(e,"get","$attrs"),t[n]},set(){return y("setupContext.attrs is readonly."),!1},deleteProperty(){return y("setupContext.attrs is readonly."),!1}}:{get(t,n){return de(e,"get","$attrs"),t[n]}})}function Ql(e){const t=o=>{process.env.NODE_ENV!=="production"&&e.exposed&&y("expose() should be called only once per setup()."),e.exposed=o||{}};let n;return process.env.NODE_ENV!=="production"?Object.freeze({get attrs(){return n||(n=os(e))},get slots(){return mt(e.slots)},get emit(){return(o,...s)=>e.emit(o,...s)},expose:t}):{get attrs(){return n||(n=os(e))},slots:e.slots,emit:e.emit,expose:t}}function Vo(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Is(Ts(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in bt)return bt[n](e)}}))}const Gl=/(?:^|[-_])(\w)/g,ec=e=>e.replace(Gl,t=>t.toUpperCase()).replace(/[-_]/g,"");function mr(e,t=!0){return $(e)?e.displayName||e.name:e.name||t&&e.__name}function yn(e,t,n=!1){let o=mr(t);if(!o&&t.__file){const s=t.__file.match(/([^/\\]+)\.\w+$/);s&&(o=s[1])}if(!o&&e&&e.parent){const s=r=>{for(const i in r)if(r[i]===t)return i};o=s(e.components||e.parent.type.components)||s(e.appContext.components)}return o?ec(o):n?"App":"Anonymous"}function gr(e){return $(e)&&"__vccOpts"in e}const tc=(e,t)=>mi(e,t,Ft);Symbol(process.env.NODE_ENV!=="production"?"ssrContext":"");function An(e){return!!(e&&e.__v_isShallow)}function nc(){if(process.env.NODE_ENV==="production"||typeof window>"u")return;const e={style:"color:#3ba776"},t={style:"color:#0b1bc9"},n={style:"color:#b62e24"},o={style:"color:#9d288c"},s={header(d){return q(d)?d.__isVue?["div",e,"VueInstance"]:ne(d)?["div",{},["span",e,h(d)],"<",c(d.value),">"]:nt(d)?["div",{},["span",e,An(d)?"ShallowReactive":"Reactive"],"<",c(d),`>${it(d)?" (readonly)":""}`]:it(d)?["div",{},["span",e,An(d)?"ShallowReadonly":"Readonly"],"<",c(d),">"]:null:null},hasBody(d){return d&&d.__isVue},body(d){if(d&&d.__isVue)return["div",{},...r(d.$)]}};function r(d){const _=[];d.type.props&&d.props&&_.push(i("props",P(d.props))),d.setupState!==H&&_.push(i("setup",d.setupState)),d.data!==H&&_.push(i("data",P(d.data)));const D=a(d,"computed");D&&_.push(i("computed",D));const A=a(d,"inject");return A&&_.push(i("injected",A)),_.push(["div",{},["span",{style:o.style+";opacity:0.66"},"$ (internal): "],["object",{object:d}]]),_}function i(d,_){return _=X({},_),Object.keys(_).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},d],["div",{style:"padding-left:1.25em"},...Object.keys(_).map(D=>["div",{},["span",o,D+": "],c(_[D],!1)])]]:["span",{}]}function c(d,_=!0){return typeof d=="number"?["span",t,d]:typeof d=="string"?["span",n,JSON.stringify(d)]:typeof d=="boolean"?["span",o,d]:q(d)?["object",{object:_?P(d):d}]:["span",n,String(d)]}function a(d,_){const D=d.type;if($(D))return;const A={};for(const C in d.ctx)u(D,C,_)&&(A[C]=d.ctx[C]);return A}function u(d,_,D){const A=d[D];if(T(A)&&A.includes(_)||q(A)&&_ in A||d.extends&&u(d.extends,_,D)||d.mixins&&d.mixins.some(C=>u(C,_,D)))return!0}function h(d){return An(d)?"ShallowRef":d.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(s):window.devtoolsFormatters=[s]}const ss="3.2.40",oc="http://www.w3.org/2000/svg",et=typeof document<"u"?document:null,rs=et&&et.createElement("template"),sc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const s=t?et.createElementNS(oc,e):et.createElement(e,n?{is:n}:void 0);return e==="select"&&o&&o.multiple!=null&&s.setAttribute("multiple",o.multiple),s},createText:e=>et.createTextNode(e),createComment:e=>et.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>et.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,s,r){const i=n?n.previousSibling:t.lastChild;if(s&&(s===r||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===r||!(s=s.nextSibling)););else{rs.innerHTML=o?`<svg>${e}</svg>`:e;const c=rs.content;if(o){const a=c.firstChild;for(;a.firstChild;)c.appendChild(a.firstChild);c.removeChild(a)}t.insertBefore(c,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function rc(e,t,n){const o=e._vtc;o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function ic(e,t,n){const o=e.style,s=G(n);if(n&&!s){for(const r in n)no(o,r,n[r]);if(t&&!G(t))for(const r in t)n[r]==null&&no(o,r,"")}else{const r=o.display;s?t!==n&&(o.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(o.display=r)}}const is=/\s*!important$/;function no(e,t,n){if(T(n))n.forEach(o=>no(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=lc(e,t);is.test(n)?e.setProperty(be(o),n.replace(is,""),"important"):e[o]=n}}const ls=["Webkit","Moz","ms"],Pn={};function lc(e,t){const n=Pn[t];if(n)return n;let o=ze(t);if(o!=="filter"&&o in e)return Pn[t]=o;o=fn(o);for(let s=0;s<ls.length;s++){const r=ls[s]+o;if(r in e)return Pn[t]=r}return t}const cs="http://www.w3.org/1999/xlink";function cc(e,t,n,o,s){if(o&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(cs,t.slice(6,t.length)):e.setAttributeNS(cs,t,n);else{const r=Or(t);n==null||r&&!ps(n)?e.removeAttribute(t):e.setAttribute(t,r?"":n)}}function ac(e,t,n,o,s,r,i){if(t==="innerHTML"||t==="textContent"){o&&i(o,s,r),e[t]=n==null?"":n;return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=n;const a=n==null?"":n;(e.value!==a||e.tagName==="OPTION")&&(e.value=a),n==null&&e.removeAttribute(t);return}let c=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=ps(n):n==null&&a==="string"?(n="",c=!0):a==="number"&&(n=0,c=!0)}try{e[t]=n}catch(a){process.env.NODE_ENV!=="production"&&!c&&y(`Failed setting prop "${t}" on <${e.tagName.toLowerCase()}>: value ${n} is invalid.`,a)}c&&e.removeAttribute(t)}const[_r,fc]=(()=>{let e=Date.now,t=!1;if(typeof window<"u"){Date.now()>document.createEvent("Event").timeStamp&&(e=performance.now.bind(performance));const n=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(n&&Number(n[1])<=53)}return[e,t]})();let oo=0;const uc=Promise.resolve(),dc=()=>{oo=0},pc=()=>oo||(uc.then(dc),oo=_r());function hc(e,t,n,o){e.addEventListener(t,n,o)}function mc(e,t,n,o){e.removeEventListener(t,n,o)}function gc(e,t,n,o,s=null){const r=e._vei||(e._vei={}),i=r[t];if(o&&i)i.value=o;else{const[c,a]=_c(t);if(o){const u=r[t]=vc(o,s);hc(e,c,u,a)}else i&&(mc(e,c,i,a),r[t]=void 0)}}const as=/(?:Once|Passive|Capture)$/;function _c(e){let t;if(as.test(e)){t={};let o;for(;o=e.match(as);)e=e.slice(0,e.length-o[0].length),t[o[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):be(e.slice(2)),t]}function vc(e,t){const n=o=>{const s=o.timeStamp||_r();(fc||s>=n.attached-1)&&me(Ec(o,n.value),t,5,[o])};return n.value=e,n.attached=pc(),n}function Ec(e,t){if(T(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(o=>s=>!s._stopped&&o&&o(s))}else return t}const fs=/^on[a-z]/,bc=(e,t,n,o,s=!1,r,i,c,a)=>{t==="class"?rc(e,o,s):t==="style"?ic(e,n,o):jt(t)?Gt(t)||gc(e,t,n,o,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Nc(e,t,o,s))?ac(e,t,o,r,i,c,a):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),cc(e,t,o,s))};function Nc(e,t,n,o){return o?!!(t==="innerHTML"||t==="textContent"||t in e&&fs.test(t)&&$(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||fs.test(t)&&G(n)?!1:t in e}function vr(e,t){const n=Ys(e);class o extends Co{constructor(r){super(n,r,t)}}return o.def=n,o}const yc=typeof HTMLElement<"u"?HTMLElement:class{};class Co extends yc{constructor(t,n={},o){super(),this._def=t,this._props=n,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&o?o(this._createVNode(),this.shadowRoot):(process.env.NODE_ENV!=="production"&&this.shadowRoot&&y("Custom element has pre-rendered declarative shadow root but is not defined as hydratable. Use `defineSSRCustomElement`."),this.attachShadow({mode:"open"}))}connectedCallback(){this._connected=!0,this._instance||this._resolveDef()}disconnectedCallback(){this._connected=!1,ks(()=>{this._connected||(ds(null,this.shadowRoot),this._instance=null)})}_resolveDef(){if(this._resolved)return;this._resolved=!0;for(let o=0;o<this.attributes.length;o++)this._setAttr(this.attributes[o].name);new MutationObserver(o=>{for(const s of o)this._setAttr(s.attributeName)}).observe(this,{attributes:!0});const t=o=>{const{props:s,styles:r}=o,i=!T(s),c=s?i?Object.keys(s):s:[];let a;if(i)for(const u in this._props){const h=s[u];(h===Number||h&&h.type===Number)&&(this._props[u]=kn(this._props[u]),(a||(a=Object.create(null)))[u]=!0)}this._numberProps=a;for(const u of Object.keys(this))u[0]!=="_"&&this._setProp(u,this[u],!0,!1);for(const u of c.map(ze))Object.defineProperty(this,u,{get(){return this._getProp(u)},set(h){this._setProp(u,h)}});this._applyStyles(r),this._update()},n=this._def.__asyncLoader;n?n().then(t):t(this._def)}_setAttr(t){let n=this.getAttribute(t);this._numberProps&&this._numberProps[t]&&(n=kn(n)),this._setProp(ze(t),n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,o=!0,s=!0){n!==this._props[t]&&(this._props[t]=n,s&&this._instance&&this._update(),o&&(n===!0?this.setAttribute(be(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(be(t),n+""):n||this.removeAttribute(be(t))))}_update(){ds(this._createVNode(),this.shadowRoot)}_createVNode(){const t=Ne(this._def,X({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0,process.env.NODE_ENV!=="production"&&(n.ceReload=s=>{this._styles&&(this._styles.forEach(r=>this.shadowRoot.removeChild(r)),this._styles.length=0),this._applyStyles(s),this._def.__asyncLoader||(this._instance=null,this._update())}),n.emit=(s,...r)=>{this.dispatchEvent(new CustomEvent(s,{detail:r}))};let o=this;for(;o=o&&(o.parentNode||o.host);)if(o instanceof Co){n.parent=o._instance;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const o=document.createElement("style");o.textContent=n,this.shadowRoot.appendChild(o),process.env.NODE_ENV!=="production"&&(this._styles||(this._styles=[])).push(o)})}}const Oc={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};Zi.props;const xc=X({patchProp:bc},sc);let us;function wc(){return us||(us=Al(xc))}const ds=(...e)=>{wc().render(...e)};function Dc(){nc()}process.env.NODE_ENV!=="production"&&Dc();const To=e=>(ji("data-v-f51198a4"),e=e(),Ri(),e),Vc={class:"antialiased font-sans"},Cc={class:"relative flex items-top justify-center min-h-screen bg-gray-50 dark:bg-gray-900 sm:items-center py-4 sm:pt-0"},Tc={class:"max-w-6xl mx-auto sm:px-6 lg:px-8"},Ic={class:"flex justify-center items-center pt-8 sm:justify-between sm:pt-0"},$c=To(()=>We("Logo",null,null,-1)),Ac={key:0,class:"flex items-end"},Pc=To(()=>We("Counter",null,null,-1)),kc=To(()=>We("ToggleDark",null,null,-1)),Mc=[Pc,kc],Fc=Ll('<div class="mt-8 bg-white dark:bg-gray-800 overflow-hidden shadow sm:rounded-lg" data-v-f51198a4><div class="grid grid-cols-1 md:grid-cols-2" data-v-f51198a4><div class="p-6" data-v-f51198a4><div class="flex items-center" data-v-f51198a4><i class="i-heroicons-outline-book-open w-8 h-8 text-gray-500" aria-hidden="true" data-v-f51198a4></i><div class="ml-4 text-lg leading-7 font-semibold" data-v-f51198a4><a href="https://stacks.ow3org.com/docs" class="underline text-gray-900 dark:text-white" data-v-f51198a4> Documentation </a></div></div><div class="ml-12" data-v-f51198a4><div class="mt-2 text-gray-600 dark:text-gray-400 text-sm leading-6" data-v-f51198a4> Stacks will have (wip) a wonderful, thorough documentation covering every aspect of the framework. Whether you are new to the framework or have previous experience with Stacks, we recommend reading all of the documentation from beginning to end. </div></div></div><div class="p-6 border-t border-gray-200 dark:border-gray-700 md:border-t-0 md:border-l" data-v-f51198a4><div class="flex items-center" data-v-f51198a4><i class="i-heroicons-outline-puzzle w-8 h-8 text-gray-500" aria-hidden="true" data-v-f51198a4></i><div class="ml-4 text-lg leading-7 font-semibold" data-v-f51198a4><a href="https://stacks.ow3.org/components" class="underline text-gray-900 dark:text-white" data-v-f51198a4> Components </a></div></div><div class="ml-12" data-v-f51198a4><div class="mt-2 text-gray-600 dark:text-gray-400 text-sm leading-6" data-v-f51198a4> The easiest way to build component libraries and distribute them on npm. Stacks automatically imports all of your components &amp; makes them available to you in your templates. And it automatically builds framework agnostic (e.g. Web &amp; Vue Components) component libraries out of those. </div></div></div><div class="p-6 border-t border-gray-200 dark:border-gray-700" data-v-f51198a4><div class="flex items-center" data-v-f51198a4><i class="i-heroicons-outline-template w-8 h-8 text-gray-500" aria-hidden="true" data-v-f51198a4></i><div class="ml-4 text-lg leading-7 font-semibold" data-v-f51198a4><a href="https://stacks.ow3.org/functions" class="underline text-gray-900 dark:text-white" data-v-f51198a4> Functions </a></div></div><div class="ml-12" data-v-f51198a4><div class="mt-2 text-gray-600 dark:text-gray-400 text-sm leading-6" data-v-f51198a4> Atomic FX development, at core, is a simple way to create composable functions. These \u201Cfunction libraries\u201D may easily be distributed via npm or served as API endpoints. Because Stacks loves serverless technology, scalability is built-in. <i data-v-f51198a4>Don\u2019t sweat it, it\u2019s simple!</i></div></div></div><div class="p-6 border-t border-gray-200 dark:border-gray-700 md:border-l" data-v-f51198a4><div class="flex items-center" data-v-f51198a4><i class="i-heroicons-outline-variable w-8 h-8 text-gray-500" aria-hidden="true" data-v-f51198a4></i><div class="ml-4 text-lg leading-7 font-semibold text-gray-900 dark:text-white" data-v-f51198a4><a href="https://stacks.ow3.org/pages" class="underline text-gray-900 dark:text-white" data-v-f51198a4> Pages </a></div></div><div class="ml-12" data-v-f51198a4><div class="mt-2 text-gray-600 dark:text-gray-400 text-sm leading-6" data-v-f51198a4> Building on top of \u201Ccomponents,\u201D you may easily reuse them to develop your \u201Cpages.\u201D SSR &amp; PWA support is built-in, as well as a deployable server. Get more done, more quickly. Vercel &amp; Netlify are supported, including many other cloud providers. </div></div></div><div class="p-6 border-t border-gray-200 dark:border-gray-700" data-v-f51198a4><div class="flex items-center" data-v-f51198a4><i class="i-heroicons-outline-terminal w-8 h-8 text-gray-500" aria-hidden="true" data-v-f51198a4></i><div class="ml-4 text-lg leading-7 font-semibold" data-v-f51198a4><a href="https://stacks.ow3.org/" class="underline text-gray-900 dark:text-white" data-v-f51198a4> Modern DX </a></div></div><div class="ml-12" data-v-f51198a4><div class="mt-2 text-gray-600 dark:text-gray-400 text-sm leading-6" data-v-f51198a4> Approachable artisan design; simplistic setup, maintenance &amp; collaboration. Deep IDE integration, auto-formatting, access to powerful utility APIs, modern git commit conventions, npm package releases, semver powered, pretty changelog generations, PR dependency updates, documentation tooling, and more. <i data-v-f51198a4>A well-defined set of best practices &amp; automations.</i></div></div></div><div class="p-6 border-t border-gray-200 dark:border-gray-700 md:border-l" data-v-f51198a4><div class="flex items-center" data-v-f51198a4><i class="i-heroicons-outline-globe w-8 h-8 text-gray-500" aria-hidden="true" data-v-f51198a4></i><div class="ml-4 text-lg leading-7 font-semibold text-gray-900 dark:text-white" data-v-f51198a4> Vibrant Ecosystem </div></div><div class="ml-12" data-v-f51198a4><div class="mt-2 text-gray-600 dark:text-gray-400 text-sm leading-6" data-v-f51198a4> Stacks\u2019s robust ecosystem of first-party libraries, including headless/unstyled, fully accessible UI component libraries, designed to integrate beautifully with any tech stack of your choice. <a href="https://github.com/stacksjsow3org/table" class="underline text-blue-600 dark:text-blue-200" data-v-f51198a4>Tables</a>, <a href="https://github.com/stacksjs/date-picker" class="underline text-blue-600 dark:text-blue-200" data-v-f51198a4>Command Palettes</a>, <a href="https://github.com/stacksjs/date-picker" class="underline text-blue-600 dark:text-blue-200" data-v-f51198a4>Date Pickers</a>, <a href="https://github.com/stacksjs/file-manager" class="underline text-blue-600 dark:text-blue-200" data-v-f51198a4>File Manager</a>, <a href="https://github.com/stacksjs/image" class="underline text-blue-600 dark:text-blue-200" data-v-f51198a4>Images</a>, <a href="https://github.com/stacksjs/video" class="underline text-blue-600 dark:text-blue-200" data-v-f51198a4>Videos</a>, <a href="https://github.com/stacksjs/audio" class="underline text-blue-600 dark:text-blue-200" data-v-f51198a4>Audios</a>, and <a href="https://github.com/stacksjs/web3" class="underline text-blue-600 dark:text-blue-200" data-v-f51198a4>Web3</a> libraries, such as <a href="https://github.com/stacksjs/daos" class="underline text-blue-600 dark:text-blue-200" data-v-f51198a4>DAO</a>, <a href="https://github.com/stacksjs/nfts" class="underline text-blue-600 dark:text-blue-200" data-v-f51198a4>NFTs</a>, <a href="https://github.com/stacksjs/defi" class="underline text-blue-600 dark:text-blue-200" data-v-f51198a4>DeFi</a> stacks, and more\u2014we got you covered. </div></div></div></div></div><div class="flex justify-center mt-4 sm:items-center sm:justify-between" data-v-f51198a4><div class="text-center text-sm text-gray-500 sm:text-left" data-v-f51198a4><div class="flex items-center" data-v-f51198a4><i class="-mt-px w-5 h-5 text-gray-400 i-heroicons-outline-heart" aria-hidden="true" data-v-f51198a4></i><svg fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 24 24" class="" data-v-f51198a4><path d="M4.318 6.318a4.5 4.5 0 000 6.364L12 20.364l7.682-7.682a4.5 4.5 0 00-6.364-6.364L12 7.636l-1.318-1.318a4.5 4.5 0 00-6.364 0z" data-v-f51198a4></path></svg><a href="https://github.com/sponsors/chrisbbreuer" class="ml-1 underline text-blue-600 dark:text-blue-200" data-v-f51198a4> Sponsor </a></div></div><div class="ml-4 text-center text-sm text-gray-500 sm:text-right sm:ml-0" data-v-f51198a4> Stacks Pre-Alpha (Node v18.8) </div></div>',2),jc=Ys({__name:"HelloWorld",props:{greeting:null,showButtons:{type:Boolean}},setup(e){const{greeting:t="Welcome!"}=e;return No(()=>{console.log("HelloWorld component mounted & the greeting is",t)}),(n,o)=>(ln(),Gn("div",Vc,[We("div",Cc,[We("div",Tc,[We("div",Ic,[$c,e.showButtons?(ln(),Gn("div",Ac,Mc)):Bl("",!0)]),Fc])])]))}});const Er=(e,t)=>{const n=e.__vccOpts||e;for(const[o,s]of t)n[o]=s;return n},Rc=Er(jc,[["__scopeId","data-v-f51198a4"]]),Sc={},Hc={greeting:"Jane Doe","show-buttons":!0};function Lc(e,t){return ln(),Gn("HelloWorld",Hc)}const Bc=Er(Sc,[["render",Lc]]),Uc=vr(Rc),Kc=vr(Bc);customElements.define("hallo-welt",Uc);customElements.define("demo",Kc);
package/dist/index.mjs CHANGED
@@ -3475,5 +3475,5 @@ function Lc(e, t) {
3475
3475
  return ln(), Gn("HelloWorld", Hc);
3476
3476
  }
3477
3477
  const Bc = /* @__PURE__ */ Er(Sc, [["render", Lc]]), Uc = vr(Rc), Kc = vr(Bc);
3478
- customElements.define("hallo/welt", Uc);
3478
+ customElements.define("hallo-welt", Uc);
3479
3479
  customElements.define("demo", Kc);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/hello-world-elements",
3
3
  "type": "module",
4
- "version": "0.33.31",
4
+ "version": "0.33.36",
5
5
  "packageManager": "pnpm@7.13.1",
6
6
  "description": "Your framework agnostic web component library description.",
7
7
  "author": "Chris Breuer",
@@ -40,7 +40,7 @@
40
40
  "dist"
41
41
  ],
42
42
  "devDependencies": {
43
- "@stacksjs/framework": "0.33.31"
43
+ "@stacksjs/framework": "0.33.36"
44
44
  },
45
45
  "scripts": {
46
46
  "build": "vite build -c ../core/build/web-components.ts"