ea 0.6.3 → 0.6.4

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.
@@ -2,23 +2,23 @@
2
2
  * @vue/shared v3.5.40
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
- **/function Fs(t){const e=Object.create(null);for(const s of t.split(","))e[s]=1;return s=>s in e}const tt={},we=[],Lt=()=>{},Pn=()=>!1,ns=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),is=t=>t.startsWith("onUpdate:"),dt=Object.assign,js=(t,e)=>{const s=t.indexOf(e);s>-1&&t.splice(s,1)},jr=Object.prototype.hasOwnProperty,Q=(t,e)=>jr.call(t,e),j=Array.isArray,ke=t=>Oe(t)==="[object Map]",En=t=>Oe(t)==="[object Set]",On=t=>Oe(t)==="[object Date]",U=t=>typeof t=="function",rt=t=>typeof t=="string",Mt=t=>typeof t=="symbol",X=t=>t!==null&&typeof t=="object",In=t=>(X(t)||U(t))&&U(t.then)&&U(t.catch),Ln=Object.prototype.toString,Oe=t=>Ln.call(t),Vr=t=>Oe(t).slice(8,-1),Rn=t=>Oe(t)==="[object Object]",rs=t=>rt(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,Ie=Fs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),os=t=>{const e=Object.create(null);return(s=>e[s]||(e[s]=t(s)))},Hr=/-\w/g,bt=os(t=>t.replace(Hr,e=>e.slice(1).toUpperCase())),Ur=/\B([A-Z])/g,oe=os(t=>t.replace(Ur,"-$1").toLowerCase()),ls=os(t=>t.charAt(0).toUpperCase()+t.slice(1)),Vs=os(t=>t?`on${ls(t)}`:""),Rt=(t,e)=>!Object.is(t,e),as=(t,...e)=>{for(let s=0;s<t.length;s++)t[s](...e)},Dn=(t,e,s,n=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:n,value:s})},Hs=t=>{const e=parseFloat(t);return isNaN(e)?t:e};let Bn;const cs=()=>Bn||(Bn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function us(t){if(j(t)){const e={};for(let s=0;s<t.length;s++){const n=t[s],i=rt(n)?qr(n):us(n);if(i)for(const r in i)e[r]=i[r]}return e}else if(rt(t)||X(t))return t}const Kr=/;(?![^(]*\))/g,Wr=/:([^]+)/,Gr=/\/\*[^]*?\*\//g;function qr(t){const e={};return t.replace(Gr,"").split(Kr).forEach(s=>{if(s){const n=s.split(Wr);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function Pt(t){let e="";if(rt(t))e=t;else if(j(t))for(let s=0;s<t.length;s++){const n=Pt(t[s]);n&&(e+=n+" ")}else if(X(t))for(const s in t)t[s]&&(e+=s+" ");return e.trim()}const Jr=Fs("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function Nn(t){return!!t||t===""}function zr(t,e){if(t.length!==e.length)return!1;let s=!0;for(let n=0;s&&n<t.length;n++)s=Us(t[n],e[n]);return s}function Us(t,e){if(t===e)return!0;let s=On(t),n=On(e);if(s||n)return s&&n?t.getTime()===e.getTime():!1;if(s=Mt(t),n=Mt(e),s||n)return t===e;if(s=j(t),n=j(e),s||n)return s&&n?zr(t,e):!1;if(s=X(t),n=X(e),s||n){if(!s||!n)return!1;const i=Object.keys(t).length,r=Object.keys(e).length;if(i!==r)return!1;for(const o in t){const l=t.hasOwnProperty(o),a=e.hasOwnProperty(o);if(l&&!a||!l&&a||!Us(t[o],e[o]))return!1}}return String(t)===String(e)}const Fn=t=>!!(t&&t.__v_isRef===!0),A=t=>rt(t)?t:t==null?"":j(t)||X(t)&&(t.toString===Ln||!U(t.toString))?Fn(t)?A(t.value):JSON.stringify(t,jn,2):String(t),jn=(t,e)=>Fn(e)?jn(t,e.value):ke(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((s,[n,i],r)=>(s[Ks(n,r)+" =>"]=i,s),{})}:En(e)?{[`Set(${e.size})`]:[...e.values()].map(s=>Ks(s))}:Mt(e)?Ks(e):X(e)&&!j(e)&&!Rn(e)?String(e):e,Ks=(t,e="")=>{var s;return Mt(t)?`Symbol(${(s=t.description)!=null?s:e})`:t};/**
5
+ **/function js(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return s=>s in t}const te={},kt=[],Le=()=>{},In=()=>!1,ns=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),is=e=>e.startsWith("onUpdate:"),pe=Object.assign,Vs=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},Hr=Object.prototype.hasOwnProperty,X=(e,t)=>Hr.call(e,t),U=Array.isArray,xt=e=>Ot(e)==="[object Map]",Pn=e=>Ot(e)==="[object Set]",On=e=>Ot(e)==="[object Date]",W=e=>typeof e=="function",le=e=>typeof e=="string",Ae=e=>typeof e=="symbol",Z=e=>e!==null&&typeof e=="object",Ln=e=>(Z(e)||W(e))&&W(e.then)&&W(e.catch),Rn=Object.prototype.toString,Ot=e=>Rn.call(e),Br=e=>Ot(e).slice(8,-1),Dn=e=>Ot(e)==="[object Object]",rs=e=>le(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Lt=js(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),os=e=>{const t=Object.create(null);return(s=>t[s]||(t[s]=e(s)))},Ur=/-\w/g,be=os(e=>e.replace(Ur,t=>t.slice(1).toUpperCase())),Kr=/\B([A-Z])/g,ot=os(e=>e.replace(Kr,"-$1").toLowerCase()),ls=os(e=>e.charAt(0).toUpperCase()+e.slice(1)),Hs=os(e=>e?`on${ls(e)}`:""),Re=(e,t)=>!Object.is(e,t),as=(e,...t)=>{for(let s=0;s<e.length;s++)e[s](...t)},Nn=(e,t,s,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:s})},Bs=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Fn;const cs=()=>Fn||(Fn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function us(e){if(U(e)){const t={};for(let s=0;s<e.length;s++){const n=e[s],i=le(n)?Jr(n):us(n);if(i)for(const r in i)t[r]=i[r]}return t}else if(le(e)||Z(e))return e}const Wr=/;(?![^(]*\))/g,qr=/:([^]+)/,Gr=/\/\*[^]*?\*\//g;function Jr(e){const t={};return e.replace(Gr,"").split(Wr).forEach(s=>{if(s){const n=s.split(qr);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function xe(e){let t="";if(le(e))t=e;else if(U(e))for(let s=0;s<e.length;s++){const n=xe(e[s]);n&&(t+=n+" ")}else if(Z(e))for(const s in e)e[s]&&(t+=s+" ");return t.trim()}const zr=js("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function jn(e){return!!e||e===""}function Yr(e,t){if(e.length!==t.length)return!1;let s=!0;for(let n=0;s&&n<e.length;n++)s=Us(e[n],t[n]);return s}function Us(e,t){if(e===t)return!0;let s=On(e),n=On(t);if(s||n)return s&&n?e.getTime()===t.getTime():!1;if(s=Ae(e),n=Ae(t),s||n)return e===t;if(s=U(e),n=U(t),s||n)return s&&n?Yr(e,t):!1;if(s=Z(e),n=Z(t),s||n){if(!s||!n)return!1;const i=Object.keys(e).length,r=Object.keys(t).length;if(i!==r)return!1;for(const o in e){const l=e.hasOwnProperty(o),a=t.hasOwnProperty(o);if(l&&!a||!l&&a||!Us(e[o],t[o]))return!1}}return String(e)===String(t)}const Vn=e=>!!(e&&e.__v_isRef===!0),I=e=>le(e)?e:e==null?"":U(e)||Z(e)&&(e.toString===Rn||!W(e.toString))?Vn(e)?I(e.value):JSON.stringify(e,Hn,2):String(e),Hn=(e,t)=>Vn(t)?Hn(e,t.value):xt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[n,i],r)=>(s[Ks(n,r)+" =>"]=i,s),{})}:Pn(t)?{[`Set(${t.size})`]:[...t.values()].map(s=>Ks(s))}:Ae(t)?Ks(t):Z(t)&&!U(t)&&!Dn(t)?String(t):t,Ks=(e,t="")=>{var s;return Ae(e)?`Symbol(${(s=e.description)!=null?s:t})`:e};/**
6
6
  * @vue/reactivity v3.5.40
7
7
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
8
8
  * @license MIT
9
- **/let ut;class Vn{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!e&&ut&&(ut.active?(this.parent=ut,this.index=(ut.scopes||(ut.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,s;if(this.scopes){const n=this.scopes.slice();for(e=0,s=n.length;e<s;e++)n[e].pause()}for(e=0,s=this.effects.length;e<s;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,s;if(this.scopes){const i=this.scopes.slice();for(e=0,s=i.length;e<s;e++)i[e].resume()}const n=this.effects.slice();for(e=0,s=n.length;e<s;e++)n[e].resume()}}run(e){if(this._active){const s=ut;try{return ut=this,e()}finally{ut=s}}}on(){++this._on===1&&(this.prevScope=ut,ut=this)}off(){if(this._on>0&&--this._on===0){if(ut===this)ut=this.prevScope;else{let e=ut;for(;e;){if(e.prevScope===this){e.prevScope=this.prevScope;break}e=e.prevScope}}this.prevScope=void 0}}stop(e){if(this._active){this._active=!1;let s,n;for(s=0,n=this.effects.length;s<n;s++)this.effects[s].stop();for(this.effects.length=0,s=0,n=this.cleanups.length;s<n;s++)this.cleanups[s]();if(this.cleanups.length=0,this.scopes){const i=this.scopes.slice();for(s=0,n=i.length;s<n;s++)i[s].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function Hn(t){return new Vn(t)}function Un(){return ut}function Yr(t,e=!1){ut&&ut.cleanups.push(t)}let st;const Ws=new WeakSet;class Kn{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,ut&&(ut.active?ut.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Ws.has(this)&&(Ws.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Gn(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Qn(this),qn(this);const e=st,s=Et;st=this,Et=!0;try{return this.fn()}finally{Jn(this),st=e,Et=s,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)zs(e);this.deps=this.depsTail=void 0,Qn(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Ws.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Js(this)&&this.run()}get dirty(){return Js(this)}}let Wn=0,Le,Re;function Gn(t,e=!1){if(t.flags|=8,e){t.next=Re,Re=t;return}t.next=Le,Le=t}function Gs(){Wn++}function qs(){if(--Wn>0)return;if(Re){let e=Re;for(Re=void 0;e;){const s=e.next;e.next=void 0,e.flags&=-9,e=s}}let t;for(;Le;){let e=Le;for(Le=void 0;e;){const s=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(n){t||(t=n)}e=s}}if(t)throw t}function qn(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function Jn(t){let e,s=t.depsTail,n=s;for(;n;){const i=n.prevDep;n.version===-1?(n===s&&(s=i),zs(n),Qr(n)):e=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=i}t.deps=e,t.depsTail=s}function Js(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(zn(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function zn(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===De)||(t.globalVersion=De,!t.isSSR&&t.flags&128&&(!t.deps&&!t._dirty||!Js(t))))return;t.flags|=2;const e=t.dep,s=st,n=Et;st=t,Et=!0;try{qn(t);const i=t.fn(t._value);(e.version===0||Rt(i,t._value))&&(t.flags|=128,t._value=i,e.version++)}catch(i){throw e.version++,i}finally{st=s,Et=n,Jn(t),t.flags&=-3}}function zs(t,e=!1){const{dep:s,prevSub:n,nextSub:i}=t;if(n&&(n.nextSub=i,t.prevSub=void 0),i&&(i.prevSub=n,t.nextSub=void 0),s.subs===t&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let r=s.computed.deps;r;r=r.nextDep)zs(r,!0)}!e&&!--s.sc&&s.map&&s.map.delete(s.key)}function Qr(t){const{prevDep:e,nextDep:s}=t;e&&(e.nextDep=s,t.prevDep=void 0),s&&(s.prevDep=e,t.nextDep=void 0)}let Et=!0;const Yn=[];function Dt(){Yn.push(Et),Et=!1}function Bt(){const t=Yn.pop();Et=t===void 0?!0:t}function Qn(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const s=st;st=void 0;try{e()}finally{st=s}}}let De=0;class Xr{constructor(e,s){this.sub=e,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Ys{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!st||!Et||st===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==st)s=this.activeLink=new Xr(st,this),st.deps?(s.prevDep=st.depsTail,st.depsTail.nextDep=s,st.depsTail=s):st.deps=st.depsTail=s,Xn(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const n=s.nextDep;n.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=n),s.prevDep=st.depsTail,s.nextDep=void 0,st.depsTail.nextDep=s,st.depsTail=s,st.deps===s&&(st.deps=n)}return s}trigger(e){this.version++,De++,this.notify(e)}notify(e){Gs();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{qs()}}}function Xn(t){if(t.dep.sc++,t.sub.flags&4){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let n=e.deps;n;n=n.nextDep)Xn(n)}const s=t.dep.subs;s!==t&&(t.prevSub=s,s&&(s.nextSub=t)),t.dep.subs=t}}const fs=new WeakMap,de=Symbol(""),Qs=Symbol(""),Be=Symbol("");function _t(t,e,s){if(Et&&st){let n=fs.get(t);n||fs.set(t,n=new Map);let i=n.get(s);i||(n.set(s,i=new Ys),i.map=n,i.key=s),i.track()}}function qt(t,e,s,n,i,r){const o=fs.get(t);if(!o){De++;return}const l=a=>{a&&a.trigger()};if(Gs(),e==="clear")o.forEach(l);else{const a=j(t),f=a&&rs(s);if(a&&s==="length"){const h=Number(n);o.forEach((d,g)=>{(g==="length"||g===Be||!Mt(g)&&g>=h)&&l(d)})}else switch((s!==void 0||o.has(void 0))&&l(o.get(s)),f&&l(o.get(Be)),e){case"add":a?f&&l(o.get("length")):(l(o.get(de)),ke(t)&&l(o.get(Qs)));break;case"delete":a||(l(o.get(de)),ke(t)&&l(o.get(Qs)));break;case"set":ke(t)&&l(o.get(de));break}}qs()}function Zr(t,e){const s=fs.get(t);return s&&s.get(e)}function Ce(t){const e=J(t);return e===t?e:(_t(e,"iterate",Be),Ct(t)?e:e.map(Ot))}function ds(t){return _t(t=J(t),"iterate",Be),t}function Nt(t,e){return Yt(t)?xe(zt(t)?Ot(e):e):Ot(e)}const to={__proto__:null,[Symbol.iterator](){return Xs(this,Symbol.iterator,t=>Nt(this,t))},concat(...t){return Ce(this).concat(...t.map(e=>j(e)?Ce(e):e))},entries(){return Xs(this,"entries",t=>(t[1]=Nt(this,t[1]),t))},every(t,e){return Jt(this,"every",t,e,void 0,arguments)},filter(t,e){return Jt(this,"filter",t,e,s=>s.map(n=>Nt(this,n)),arguments)},find(t,e){return Jt(this,"find",t,e,s=>Nt(this,s),arguments)},findIndex(t,e){return Jt(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return Jt(this,"findLast",t,e,s=>Nt(this,s),arguments)},findLastIndex(t,e){return Jt(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return Jt(this,"forEach",t,e,void 0,arguments)},includes(...t){return Zs(this,"includes",t)},indexOf(...t){return Zs(this,"indexOf",t)},join(t){return Ce(this).join(t)},lastIndexOf(...t){return Zs(this,"lastIndexOf",t)},map(t,e){return Jt(this,"map",t,e,void 0,arguments)},pop(){return Ne(this,"pop")},push(...t){return Ne(this,"push",t)},reduce(t,...e){return Zn(this,"reduce",t,e)},reduceRight(t,...e){return Zn(this,"reduceRight",t,e)},shift(){return Ne(this,"shift")},some(t,e){return Jt(this,"some",t,e,void 0,arguments)},splice(...t){return Ne(this,"splice",t)},toReversed(){return Ce(this).toReversed()},toSorted(t){return Ce(this).toSorted(t)},toSpliced(...t){return Ce(this).toSpliced(...t)},unshift(...t){return Ne(this,"unshift",t)},values(){return Xs(this,"values",t=>Nt(this,t))}};function Xs(t,e,s){const n=ds(t),i=n[e]();return n!==t&&!Ct(t)&&(i._next=i.next,i.next=()=>{const r=i._next();return r.done||(r.value=s(r.value)),r}),i}const eo=Array.prototype;function Jt(t,e,s,n,i,r){const o=ds(t),l=o!==t&&!Ct(t),a=o[e];if(a!==eo[e]){const d=a.apply(t,r);return l?Ot(d):d}let f=s;o!==t&&(l?f=function(d,g){return s.call(this,Nt(t,d),g,t)}:s.length>2&&(f=function(d,g){return s.call(this,d,g,t)}));const h=a.call(o,f,n);return l&&i?i(h):h}function Zn(t,e,s,n){const i=ds(t),r=i!==t&&!Ct(t);let o=s,l=!1;i!==t&&(r?(l=n.length===0,o=function(f,h,d){return l&&(l=!1,f=Nt(t,f)),s.call(this,f,Nt(t,h),d,t)}):s.length>3&&(o=function(f,h,d){return s.call(this,f,h,d,t)}));const a=i[e](o,...n);return l?Nt(t,a):a}function Zs(t,e,s){const n=J(t);_t(n,"iterate",Be);const i=n[e](...s);return(i===-1||i===!1)&&bs(s[0])?(s[0]=J(s[0]),n[e](...s)):i}function Ne(t,e,s=[]){Dt(),Gs();const n=J(t)[e].apply(t,s);return qs(),Bt(),n}const so=Fs("__proto__,__v_isRef,__isVue"),ti=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Mt));function no(t){Mt(t)||(t=String(t));const e=J(this);return _t(e,"has",t),e.hasOwnProperty(t)}class ei{constructor(e=!1,s=!1){this._isReadonly=e,this._isShallow=s}get(e,s,n){if(s==="__v_skip")return e.__v_skip;const i=this._isReadonly,r=this._isShallow;if(s==="__v_isReactive")return!i;if(s==="__v_isReadonly")return i;if(s==="__v_isShallow")return r;if(s==="__v_raw")return n===(i?r?li:oi:r?ri:ii).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const o=j(e);if(!i){let a;if(o&&(a=to[s]))return a;if(s==="hasOwnProperty")return no}const l=Reflect.get(e,s,ot(e)?e:n);if((Mt(s)?ti.has(s):so(s))||(i||_t(e,"get",s),r))return l;if(ot(l)){const a=o&&rs(s)?l:l.value;return i&&X(a)?en(a):a}return X(l)?i?en(l):_s(l):l}}class si extends ei{constructor(e=!1){super(!1,e)}set(e,s,n,i){let r=e[s];const o=j(e)&&rs(s);if(!this._isShallow){const f=Yt(r);if(!Ct(n)&&!Yt(n)&&(r=J(r),n=J(n)),!o&&ot(r)&&!ot(n))return f||(r.value=n),!0}const l=o?Number(s)<e.length:Q(e,s),a=Reflect.set(e,s,n,ot(e)?e:i);return e===J(i)&&a&&(l?Rt(n,r)&&qt(e,"set",s,n):qt(e,"add",s,n)),a}deleteProperty(e,s){const n=Q(e,s);e[s];const i=Reflect.deleteProperty(e,s);return i&&n&&qt(e,"delete",s,void 0),i}has(e,s){const n=Reflect.has(e,s);return(!Mt(s)||!ti.has(s))&&_t(e,"has",s),n}ownKeys(e){return _t(e,"iterate",j(e)?"length":de),Reflect.ownKeys(e)}}class ni extends ei{constructor(e=!1){super(!0,e)}set(e,s){return!0}deleteProperty(e,s){return!0}}const io=new si,ro=new ni,oo=new si(!0),lo=new ni(!0),tn=t=>t,hs=t=>Reflect.getPrototypeOf(t);function ao(t,e,s){return function(...n){const i=this.__v_raw,r=J(i),o=ke(r),l=t==="entries"||t===Symbol.iterator&&o,a=t==="keys"&&o,f=i[t](...n),h=s?tn:e?xe:Ot;return!e&&_t(r,"iterate",a?Qs:de),dt(Object.create(f),{next(){const{value:d,done:g}=f.next();return g?{value:d,done:g}:{value:l?[h(d[0]),h(d[1])]:h(d),done:g}}})}}function ps(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function co(t,e){const s={get(i){const r=this.__v_raw,o=J(r),l=J(i);t||(Rt(i,l)&&_t(o,"get",i),_t(o,"get",l));const{has:a}=hs(o),f=e?tn:t?xe:Ot;if(a.call(o,i))return f(r.get(i));if(a.call(o,l))return f(r.get(l));r!==o&&r.get(i)},get size(){const i=this.__v_raw;return!t&&_t(J(i),"iterate",de),i.size},has(i){const r=this.__v_raw,o=J(r),l=J(i);return t||(Rt(i,l)&&_t(o,"has",i),_t(o,"has",l)),i===l?r.has(i):r.has(i)||r.has(l)},forEach(i,r){const o=this,l=o.__v_raw,a=J(l),f=e?tn:t?xe:Ot;return!t&&_t(a,"iterate",de),l.forEach((h,d)=>i.call(r,f(h),f(d),o))}};return dt(s,t?{add:ps("add"),set:ps("set"),delete:ps("delete"),clear:ps("clear")}:{add(i){const r=J(this),o=hs(r),l=J(i),a=!e&&!Ct(i)&&!Yt(i)?l:i;return o.has.call(r,a)||Rt(i,a)&&o.has.call(r,i)||Rt(l,a)&&o.has.call(r,l)||(r.add(a),qt(r,"add",a,a)),this},set(i,r){!e&&!Ct(r)&&!Yt(r)&&(r=J(r));const o=J(this),{has:l,get:a}=hs(o);let f=l.call(o,i);f||(i=J(i),f=l.call(o,i));const h=a.call(o,i);return o.set(i,r),f?Rt(r,h)&&qt(o,"set",i,r):qt(o,"add",i,r),this},delete(i){const r=J(this),{has:o,get:l}=hs(r);let a=o.call(r,i);a||(i=J(i),a=o.call(r,i)),l&&l.call(r,i);const f=r.delete(i);return a&&qt(r,"delete",i,void 0),f},clear(){const i=J(this),r=i.size!==0,o=i.clear();return r&&qt(i,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(i=>{s[i]=ao(i,t,e)}),s}function gs(t,e){const s=co(t,e);return(n,i,r)=>i==="__v_isReactive"?!t:i==="__v_isReadonly"?t:i==="__v_raw"?n:Reflect.get(Q(s,i)&&i in n?s:n,i,r)}const uo={get:gs(!1,!1)},fo={get:gs(!1,!0)},ho={get:gs(!0,!1)},po={get:gs(!0,!0)},ii=new WeakMap,ri=new WeakMap,oi=new WeakMap,li=new WeakMap;function go(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function _s(t){return Yt(t)?t:ms(t,!1,io,uo,ii)}function _o(t){return ms(t,!1,oo,fo,ri)}function en(t){return ms(t,!0,ro,ho,oi)}function gd(t){return ms(t,!0,lo,po,li)}function ms(t,e,s,n,i){if(!X(t)||t.__v_raw&&!(e&&t.__v_isReactive)||t.__v_skip||!Object.isExtensible(t))return t;const r=i.get(t);if(r)return r;const o=go(Vr(t));if(o===0)return t;const l=new Proxy(t,o===2?n:s);return i.set(t,l),l}function zt(t){return Yt(t)?zt(t.__v_raw):!!(t&&t.__v_isReactive)}function Yt(t){return!!(t&&t.__v_isReadonly)}function Ct(t){return!!(t&&t.__v_isShallow)}function bs(t){return t?!!t.__v_raw:!1}function J(t){const e=t&&t.__v_raw;return e?J(e):t}function sn(t){return!Q(t,"__v_skip")&&Object.isExtensible(t)&&Dn(t,"__v_skip",!0),t}const Ot=t=>X(t)?_s(t):t,xe=t=>X(t)?en(t):t;function ot(t){return t?t.__v_isRef===!0:!1}function Qt(t){return mo(t,!1)}function mo(t,e){return ot(t)?t:new bo(t,e)}class bo{constructor(e,s){this.dep=new Ys,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?e:J(e),this._value=s?e:Ot(e),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(e){const s=this._rawValue,n=this.__v_isShallow||Ct(e)||Yt(e);e=n?e:J(e),Rt(e,s)&&(this._rawValue=e,this._value=n?e:Ot(e),this.dep.trigger())}}function k(t){return ot(t)?t.value:t}const yo={get:(t,e,s)=>e==="__v_raw"?t:k(Reflect.get(t,e,s)),set:(t,e,s,n)=>{const i=t[e];return ot(i)&&!ot(s)?(i.value=s,!0):Reflect.set(t,e,s,n)}};function ai(t){return zt(t)?t:new Proxy(t,yo)}function vo(t){const e=j(t)?new Array(t.length):{};for(const s in t)e[s]=ko(t,s);return e}class wo{constructor(e,s,n){this._object=e,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._key=Mt(s)?s:String(s),this._raw=J(e);let i=!0,r=e;if(!j(e)||Mt(this._key)||!rs(this._key))do i=!bs(r)||Ct(r);while(i&&(r=r.__v_raw));this._shallow=i}get value(){let e=this._object[this._key];return this._shallow&&(e=k(e)),this._value=e===void 0?this._defaultValue:e}set value(e){if(this._shallow&&ot(this._raw[this._key])){const s=this._object[this._key];if(ot(s)){s.value=e;return}}this._object[this._key]=e}get dep(){return Zr(this._raw,this._key)}}function ko(t,e,s){return new wo(t,e,s)}class Co{constructor(e,s,n){this.fn=e,this.setter=s,this._value=void 0,this.dep=new Ys(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=De-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&st!==this)return Gn(this,!0),!0}get value(){const e=this.dep.track();return zn(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function xo(t,e,s=!1){let n,i;return U(t)?n=t:(n=t.get,i=t.set),new Co(n,i,s)}const ys={},vs=new WeakMap;let he;function So(t,e=!1,s=he){if(s){let n=vs.get(s);n||vs.set(s,n=[]),n.push(t)}}function Ao(t,e,s=tt){const{immediate:n,deep:i,once:r,scheduler:o,augmentJob:l,call:a}=s,f=O=>i?O:Ct(O)||i===!1||i===0?Xt(O,1):Xt(O);let h,d,g,y,T=!1,P=!1;if(ot(t)?(d=()=>t.value,T=Ct(t)):zt(t)?(d=()=>f(t),T=!0):j(t)?(P=!0,T=t.some(O=>zt(O)||Ct(O)),d=()=>t.map(O=>{if(ot(O))return O.value;if(zt(O))return f(O);if(U(O))return a?a(O,2):O()})):U(t)?e?d=a?()=>a(t,2):t:d=()=>{if(g){Dt();try{g()}finally{Bt()}}const O=he;he=h;try{return a?a(t,3,[y]):t(y)}finally{he=O}}:d=Lt,e&&i){const O=d,W=i===!0?1/0:i;d=()=>Xt(O(),W)}const D=Un(),H=()=>{h.stop(),D&&D.active&&js(D.effects,h)};if(r&&e){const O=e;e=(...W)=>{const ht=O(...W);return H(),ht}}let I=P?new Array(t.length).fill(ys):ys;const G=O=>{if(!(!(h.flags&1)||!h.dirty&&!O))if(e){const W=h.run();if(O||i||T||(P?W.some((ht,K)=>Rt(ht,I[K])):Rt(W,I))){g&&g();const ht=he;he=h;try{const K=[W,I===ys?void 0:P&&I[0]===ys?[]:I,y];I=W,a?a(e,3,K):e(...K)}finally{he=ht}}}else h.run()};return l&&l(G),h=new Kn(d),h.scheduler=o?()=>o(G,!1):G,y=O=>So(O,!1,h),g=h.onStop=()=>{const O=vs.get(h);if(O){if(a)a(O,4);else for(const W of O)W();vs.delete(h)}},e?n?G(!0):I=h.run():o?o(G.bind(null,!0),!0):h.run(),H.pause=h.pause.bind(h),H.resume=h.resume.bind(h),H.stop=H,H}function Xt(t,e=1/0,s){if(e<=0||!X(t)||t.__v_skip||(s=s||new Map,(s.get(t)||0)>=e))return t;if(s.set(t,e),e--,ot(t))Xt(t.value,e,s);else if(j(t))for(let n=0;n<t.length;n++)Xt(t[n],e,s);else if(En(t)||ke(t))t.forEach(n=>{Xt(n,e,s)});else if(Rn(t)){for(const n in t)Xt(t[n],e,s);for(const n of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,n)&&Xt(t[n],e,s)}return t}/**
9
+ **/let fe;class Bn{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&fe&&(fe.active?(this.parent=fe,this.index=(fe.scopes||(fe.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,s;if(this.scopes){const n=this.scopes.slice();for(t=0,s=n.length;t<s;t++)n[t].pause()}for(t=0,s=this.effects.length;t<s;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,s;if(this.scopes){const i=this.scopes.slice();for(t=0,s=i.length;t<s;t++)i[t].resume()}const n=this.effects.slice();for(t=0,s=n.length;t<s;t++)n[t].resume()}}run(t){if(this._active){const s=fe;try{return fe=this,t()}finally{fe=s}}}on(){++this._on===1&&(this.prevScope=fe,fe=this)}off(){if(this._on>0&&--this._on===0){if(fe===this)fe=this.prevScope;else{let t=fe;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let s,n;for(s=0,n=this.effects.length;s<n;s++)this.effects[s].stop();for(this.effects.length=0,s=0,n=this.cleanups.length;s<n;s++)this.cleanups[s]();if(this.cleanups.length=0,this.scopes){const i=this.scopes.slice();for(s=0,n=i.length;s<n;s++)i[s].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function Un(e){return new Bn(e)}function Kn(){return fe}function Qr(e,t=!1){fe&&fe.cleanups.push(e)}let ie;const Ws=new WeakSet;class Wn{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,fe&&(fe.active?fe.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Ws.has(this)&&(Ws.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Gn(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Xn(this),Jn(this);const t=ie,s=Ie;ie=this,Ie=!0;try{return this.fn()}finally{zn(this),ie=t,Ie=s,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)zs(t);this.deps=this.depsTail=void 0,Xn(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Ws.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Js(this)&&this.run()}get dirty(){return Js(this)}}let qn=0,Rt,Dt;function Gn(e,t=!1){if(e.flags|=8,t){e.next=Dt,Dt=e;return}e.next=Rt,Rt=e}function qs(){qn++}function Gs(){if(--qn>0)return;if(Dt){let t=Dt;for(Dt=void 0;t;){const s=t.next;t.next=void 0,t.flags&=-9,t=s}}let e;for(;Rt;){let t=Rt;for(Rt=void 0;t;){const s=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=s}}if(e)throw e}function Jn(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function zn(e){let t,s=e.depsTail,n=s;for(;n;){const i=n.prevDep;n.version===-1?(n===s&&(s=i),zs(n),Xr(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=i}e.deps=t,e.depsTail=s}function Js(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Yn(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Yn(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Nt)||(e.globalVersion=Nt,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Js(e))))return;e.flags|=2;const t=e.dep,s=ie,n=Ie;ie=e,Ie=!0;try{Jn(e);const i=e.fn(e._value);(t.version===0||Re(i,e._value))&&(e.flags|=128,e._value=i,t.version++)}catch(i){throw t.version++,i}finally{ie=s,Ie=n,zn(e),e.flags&=-3}}function zs(e,t=!1){const{dep:s,prevSub:n,nextSub:i}=e;if(n&&(n.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=n,e.nextSub=void 0),s.subs===e&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let r=s.computed.deps;r;r=r.nextDep)zs(r,!0)}!t&&!--s.sc&&s.map&&s.map.delete(s.key)}function Xr(e){const{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}let Ie=!0;const Qn=[];function De(){Qn.push(Ie),Ie=!1}function Ne(){const e=Qn.pop();Ie=e===void 0?!0:e}function Xn(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const s=ie;ie=void 0;try{t()}finally{ie=s}}}let Nt=0;class Zr{constructor(t,s){this.sub=t,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Ys{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!ie||!Ie||ie===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==ie)s=this.activeLink=new Zr(ie,this),ie.deps?(s.prevDep=ie.depsTail,ie.depsTail.nextDep=s,ie.depsTail=s):ie.deps=ie.depsTail=s,Zn(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const n=s.nextDep;n.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=n),s.prevDep=ie.depsTail,s.nextDep=void 0,ie.depsTail.nextDep=s,ie.depsTail=s,ie.deps===s&&(ie.deps=n)}return s}trigger(t){this.version++,Nt++,this.notify(t)}notify(t){qs();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{Gs()}}}function Zn(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)Zn(n)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}const fs=new WeakMap,ht=Symbol(""),Qs=Symbol(""),Ft=Symbol("");function _e(e,t,s){if(Ie&&ie){let n=fs.get(e);n||fs.set(e,n=new Map);let i=n.get(s);i||(n.set(s,i=new Ys),i.map=n,i.key=s),i.track()}}function Je(e,t,s,n,i,r){const o=fs.get(e);if(!o){Nt++;return}const l=a=>{a&&a.trigger()};if(qs(),t==="clear")o.forEach(l);else{const a=U(e),d=a&&rs(s);if(a&&s==="length"){const f=Number(n);o.forEach((m,C)=>{(C==="length"||C===Ft||!Ae(C)&&C>=f)&&l(m)})}else switch((s!==void 0||o.has(void 0))&&l(o.get(s)),d&&l(o.get(Ft)),t){case"add":a?d&&l(o.get("length")):(l(o.get(ht)),xt(e)&&l(o.get(Qs)));break;case"delete":a||(l(o.get(ht)),xt(e)&&l(o.get(Qs)));break;case"set":xt(e)&&l(o.get(ht));break}}Gs()}function eo(e,t){const s=fs.get(e);return s&&s.get(t)}function Ct(e){const t=z(e);return t===e?t:(_e(t,"iterate",Ft),Ce(e)?t:t.map(Pe))}function ds(e){return _e(e=z(e),"iterate",Ft),e}function Fe(e,t){return Qe(e)?St(Ye(e)?Pe(t):t):Pe(t)}const to={__proto__:null,[Symbol.iterator](){return Xs(this,Symbol.iterator,e=>Fe(this,e))},concat(...e){return Ct(this).concat(...e.map(t=>U(t)?Ct(t):t))},entries(){return Xs(this,"entries",e=>(e[1]=Fe(this,e[1]),e))},every(e,t){return ze(this,"every",e,t,void 0,arguments)},filter(e,t){return ze(this,"filter",e,t,s=>s.map(n=>Fe(this,n)),arguments)},find(e,t){return ze(this,"find",e,t,s=>Fe(this,s),arguments)},findIndex(e,t){return ze(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return ze(this,"findLast",e,t,s=>Fe(this,s),arguments)},findLastIndex(e,t){return ze(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return ze(this,"forEach",e,t,void 0,arguments)},includes(...e){return Zs(this,"includes",e)},indexOf(...e){return Zs(this,"indexOf",e)},join(e){return Ct(this).join(e)},lastIndexOf(...e){return Zs(this,"lastIndexOf",e)},map(e,t){return ze(this,"map",e,t,void 0,arguments)},pop(){return jt(this,"pop")},push(...e){return jt(this,"push",e)},reduce(e,...t){return ei(this,"reduce",e,t)},reduceRight(e,...t){return ei(this,"reduceRight",e,t)},shift(){return jt(this,"shift")},some(e,t){return ze(this,"some",e,t,void 0,arguments)},splice(...e){return jt(this,"splice",e)},toReversed(){return Ct(this).toReversed()},toSorted(e){return Ct(this).toSorted(e)},toSpliced(...e){return Ct(this).toSpliced(...e)},unshift(...e){return jt(this,"unshift",e)},values(){return Xs(this,"values",e=>Fe(this,e))}};function Xs(e,t,s){const n=ds(e),i=n[t]();return n!==e&&!Ce(e)&&(i._next=i.next,i.next=()=>{const r=i._next();return r.done||(r.value=s(r.value)),r}),i}const so=Array.prototype;function ze(e,t,s,n,i,r){const o=ds(e),l=o!==e&&!Ce(e),a=o[t];if(a!==so[t]){const m=a.apply(e,r);return l?Pe(m):m}let d=s;o!==e&&(l?d=function(m,C){return s.call(this,Fe(e,m),C,e)}:s.length>2&&(d=function(m,C){return s.call(this,m,C,e)}));const f=a.call(o,d,n);return l&&i?i(f):f}function ei(e,t,s,n){const i=ds(e),r=i!==e&&!Ce(e);let o=s,l=!1;i!==e&&(r?(l=n.length===0,o=function(d,f,m){return l&&(l=!1,d=Fe(e,d)),s.call(this,d,Fe(e,f),m,e)}):s.length>3&&(o=function(d,f,m){return s.call(this,d,f,m,e)}));const a=i[t](o,...n);return l?Fe(e,a):a}function Zs(e,t,s){const n=z(e);_e(n,"iterate",Ft);const i=n[t](...s);return(i===-1||i===!1)&&vs(s[0])?(s[0]=z(s[0]),n[t](...s)):i}function jt(e,t,s=[]){De(),qs();const n=z(e)[t].apply(e,s);return Gs(),Ne(),n}const no=js("__proto__,__v_isRef,__isVue"),ti=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ae));function io(e){Ae(e)||(e=String(e));const t=z(this);return _e(t,"has",e),t.hasOwnProperty(e)}class si{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,n){if(s==="__v_skip")return t.__v_skip;const i=this._isReadonly,r=this._isShallow;if(s==="__v_isReactive")return!i;if(s==="__v_isReadonly")return i;if(s==="__v_isShallow")return r;if(s==="__v_raw")return n===(i?r?ai:li:r?oi:ri).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const o=U(t);if(!i){let a;if(o&&(a=to[s]))return a;if(s==="hasOwnProperty")return io}const l=Reflect.get(t,s,ae(t)?t:n);if((Ae(s)?ti.has(s):no(s))||(i||_e(t,"get",s),r))return l;if(ae(l)){const a=o&&rs(s)?l:l.value;return i&&Z(a)?tn(a):a}return Z(l)?i?tn(l):ms(l):l}}class ni extends si{constructor(t=!1){super(!1,t)}set(t,s,n,i){let r=t[s];const o=U(t)&&rs(s);if(!this._isShallow){const d=Qe(r);if(!Ce(n)&&!Qe(n)&&(r=z(r),n=z(n)),!o&&ae(r)&&!ae(n))return d||(r.value=n),!0}const l=o?Number(s)<t.length:X(t,s),a=Reflect.set(t,s,n,ae(t)?t:i);return t===z(i)&&a&&(l?Re(n,r)&&Je(t,"set",s,n):Je(t,"add",s,n)),a}deleteProperty(t,s){const n=X(t,s);t[s];const i=Reflect.deleteProperty(t,s);return i&&n&&Je(t,"delete",s,void 0),i}has(t,s){const n=Reflect.has(t,s);return(!Ae(s)||!ti.has(s))&&_e(t,"has",s),n}ownKeys(t){return _e(t,"iterate",U(t)?"length":ht),Reflect.ownKeys(t)}}class ii extends si{constructor(t=!1){super(!0,t)}set(t,s){return!0}deleteProperty(t,s){return!0}}const ro=new ni,oo=new ii,lo=new ni(!0),ao=new ii(!0),en=e=>e,hs=e=>Reflect.getPrototypeOf(e);function co(e,t,s){return function(...n){const i=this.__v_raw,r=z(i),o=xt(r),l=e==="entries"||e===Symbol.iterator&&o,a=e==="keys"&&o,d=i[e](...n),f=s?en:t?St:Pe;return!t&&_e(r,"iterate",a?Qs:ht),pe(Object.create(d),{next(){const{value:m,done:C}=d.next();return C?{value:m,done:C}:{value:l?[f(m[0]),f(m[1])]:f(m),done:C}}})}}function ps(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function uo(e,t){const s={get(i){const r=this.__v_raw,o=z(r),l=z(i);e||(Re(i,l)&&_e(o,"get",i),_e(o,"get",l));const{has:a}=hs(o),d=t?en:e?St:Pe;if(a.call(o,i))return d(r.get(i));if(a.call(o,l))return d(r.get(l));r!==o&&r.get(i)},get size(){const i=this.__v_raw;return!e&&_e(z(i),"iterate",ht),i.size},has(i){const r=this.__v_raw,o=z(r),l=z(i);return e||(Re(i,l)&&_e(o,"has",i),_e(o,"has",l)),i===l?r.has(i):r.has(i)||r.has(l)},forEach(i,r){const o=this,l=o.__v_raw,a=z(l),d=t?en:e?St:Pe;return!e&&_e(a,"iterate",ht),l.forEach((f,m)=>i.call(r,d(f),d(m),o))}};return pe(s,e?{add:ps("add"),set:ps("set"),delete:ps("delete"),clear:ps("clear")}:{add(i){const r=z(this),o=hs(r),l=z(i),a=!t&&!Ce(i)&&!Qe(i)?l:i;return o.has.call(r,a)||Re(i,a)&&o.has.call(r,i)||Re(l,a)&&o.has.call(r,l)||(r.add(a),Je(r,"add",a,a)),this},set(i,r){!t&&!Ce(r)&&!Qe(r)&&(r=z(r));const o=z(this),{has:l,get:a}=hs(o);let d=l.call(o,i);d||(i=z(i),d=l.call(o,i));const f=a.call(o,i);return o.set(i,r),d?Re(r,f)&&Je(o,"set",i,r):Je(o,"add",i,r),this},delete(i){const r=z(this),{has:o,get:l}=hs(r);let a=o.call(r,i);a||(i=z(i),a=o.call(r,i)),l&&l.call(r,i);const d=r.delete(i);return a&&Je(r,"delete",i,void 0),d},clear(){const i=z(this),r=i.size!==0,o=i.clear();return r&&Je(i,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(i=>{s[i]=co(i,e,t)}),s}function gs(e,t){const s=uo(e,t);return(n,i,r)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?n:Reflect.get(X(s,i)&&i in n?s:n,i,r)}const fo={get:gs(!1,!1)},ho={get:gs(!1,!0)},po={get:gs(!0,!1)},go={get:gs(!0,!0)},ri=new WeakMap,oi=new WeakMap,li=new WeakMap,ai=new WeakMap;function mo(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ms(e){return Qe(e)?e:_s(e,!1,ro,fo,ri)}function _o(e){return _s(e,!1,lo,ho,oi)}function tn(e){return _s(e,!0,oo,po,li)}function ad(e){return _s(e,!0,ao,go,ai)}function _s(e,t,s,n,i){if(!Z(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const r=i.get(e);if(r)return r;const o=mo(Br(e));if(o===0)return e;const l=new Proxy(e,o===2?n:s);return i.set(e,l),l}function Ye(e){return Qe(e)?Ye(e.__v_raw):!!(e&&e.__v_isReactive)}function Qe(e){return!!(e&&e.__v_isReadonly)}function Ce(e){return!!(e&&e.__v_isShallow)}function vs(e){return e?!!e.__v_raw:!1}function z(e){const t=e&&e.__v_raw;return t?z(t):e}function sn(e){return!X(e,"__v_skip")&&Object.isExtensible(e)&&Nn(e,"__v_skip",!0),e}const Pe=e=>Z(e)?ms(e):e,St=e=>Z(e)?tn(e):e;function ae(e){return e?e.__v_isRef===!0:!1}function lt(e){return vo(e,!1)}function vo(e,t){return ae(e)?e:new bo(e,t)}class bo{constructor(t,s){this.dep=new Ys,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?t:z(t),this._value=s?t:Pe(t),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(t){const s=this._rawValue,n=this.__v_isShallow||Ce(t)||Qe(t);t=n?t:z(t),Re(t,s)&&(this._rawValue=t,this._value=n?t:Pe(t),this.dep.trigger())}}function L(e){return ae(e)?e.value:e}const yo={get:(e,t,s)=>t==="__v_raw"?e:L(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const i=e[t];return ae(i)&&!ae(s)?(i.value=s,!0):Reflect.set(e,t,s,n)}};function ci(e){return Ye(e)?e:new Proxy(e,yo)}function wo(e){const t=U(e)?new Array(e.length):{};for(const s in e)t[s]=xo(e,s);return t}class ko{constructor(t,s,n){this._object=t,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._key=Ae(s)?s:String(s),this._raw=z(t);let i=!0,r=t;if(!U(t)||Ae(this._key)||!rs(this._key))do i=!vs(r)||Ce(r);while(i&&(r=r.__v_raw));this._shallow=i}get value(){let t=this._object[this._key];return this._shallow&&(t=L(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&ae(this._raw[this._key])){const s=this._object[this._key];if(ae(s)){s.value=t;return}}this._object[this._key]=t}get dep(){return eo(this._raw,this._key)}}function xo(e,t,s){return new ko(e,t,s)}class Co{constructor(t,s,n){this.fn=t,this.setter=s,this._value=void 0,this.dep=new Ys(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Nt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&ie!==this)return Gn(this,!0),!0}get value(){const t=this.dep.track();return Yn(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function So(e,t,s=!1){let n,i;return W(e)?n=e:(n=e.get,i=e.set),new Co(n,i,s)}const bs={},ys=new WeakMap;let pt;function $o(e,t=!1,s=pt){if(s){let n=ys.get(s);n||ys.set(s,n=[]),n.push(e)}}function To(e,t,s=te){const{immediate:n,deep:i,once:r,scheduler:o,augmentJob:l,call:a}=s,d=D=>i?D:Ce(D)||i===!1||i===0?Xe(D,1):Xe(D);let f,m,C,p,g=!1,_=!1;if(ae(e)?(m=()=>e.value,g=Ce(e)):Ye(e)?(m=()=>d(e),g=!0):U(e)?(_=!0,g=e.some(D=>Ye(D)||Ce(D)),m=()=>e.map(D=>{if(ae(D))return D.value;if(Ye(D))return d(D);if(W(D))return a?a(D,2):D()})):W(e)?t?m=a?()=>a(e,2):e:m=()=>{if(C){De();try{C()}finally{Ne()}}const D=pt;pt=f;try{return a?a(e,3,[p]):e(p)}finally{pt=D}}:m=Le,t&&i){const D=m,G=i===!0?1/0:i;m=()=>Xe(D(),G)}const $=Kn(),O=()=>{f.stop(),$&&$.active&&Vs($.effects,f)};if(r&&t){const D=t;t=(...G)=>{const A=D(...G);return O(),A}}let R=_?new Array(e.length).fill(bs):bs;const q=D=>{if(!(!(f.flags&1)||!f.dirty&&!D))if(t){const G=f.run();if(D||i||g||(_?G.some((A,F)=>Re(A,R[F])):Re(G,R))){C&&C();const A=pt;pt=f;try{const F=[G,R===bs?void 0:_&&R[0]===bs?[]:R,p];R=G,a?a(t,3,F):t(...F)}finally{pt=A}}}else f.run()};return l&&l(q),f=new Wn(m),f.scheduler=o?()=>o(q,!1):q,p=D=>$o(D,!1,f),C=f.onStop=()=>{const D=ys.get(f);if(D){if(a)a(D,4);else for(const G of D)G();ys.delete(f)}},t?n?q(!0):R=f.run():o?o(q.bind(null,!0),!0):f.run(),O.pause=f.pause.bind(f),O.resume=f.resume.bind(f),O.stop=O,O}function Xe(e,t=1/0,s){if(t<=0||!Z(e)||e.__v_skip||(s=s||new Map,(s.get(e)||0)>=t))return e;if(s.set(e,t),t--,ae(e))Xe(e.value,t,s);else if(U(e))for(let n=0;n<e.length;n++)Xe(e[n],t,s);else if(Pn(e)||xt(e))e.forEach(n=>{Xe(n,t,s)});else if(Dn(e)){for(const n in e)Xe(e[n],t,s);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&Xe(e[n],t,s)}return e}/**
10
10
  * @vue/runtime-core v3.5.40
11
11
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
12
12
  * @license MIT
13
- **/const Fe=[];let nn=!1;function _d(t,...e){if(nn)return;nn=!0,Dt();const s=Fe.length?Fe[Fe.length-1].component:null,n=s&&s.appContext.config.warnHandler,i=$o();if(n)Se(n,s,11,[t+e.map(r=>{var o,l;return(l=(o=r.toString)==null?void 0:o.call(r))!=null?l:JSON.stringify(r)}).join(""),s&&s.proxy,i.map(({vnode:r})=>`at <${cr(s,r.type)}>`).join(`
14
- `),i]);else{const r=[`[Vue warn]: ${t}`,...e];i.length&&r.push(`
15
- `,...To(i)),console.warn(...r)}Bt(),nn=!1}function $o(){let t=Fe[Fe.length-1];if(!t)return[];const e=[];for(;t;){const s=e[0];s&&s.vnode===t?s.recurseCount++:e.push({vnode:t,recurseCount:0});const n=t.component&&t.component.parent;t=n&&n.vnode}return e}function To(t){const e=[];return t.forEach((s,n)=>{e.push(...n===0?[]:[`
16
- `],...Mo(s))}),e}function Mo({vnode:t,recurseCount:e}){const s=e>0?`... (${e} recursive calls)`:"",n=t.component?t.component.parent==null:!1,i=` at <${cr(t.component,t.type,n)}`,r=">"+s;return t.props?[i,...Po(t.props),r]:[i+r]}function Po(t){const e=[],s=Object.keys(t);return s.slice(0,3).forEach(n=>{e.push(...ci(n,t[n]))}),s.length>3&&e.push(" ..."),e}function ci(t,e,s){return rt(e)?(e=JSON.stringify(e),s?e:[`${t}=${e}`]):typeof e=="number"||typeof e=="boolean"||e==null?s?e:[`${t}=${e}`]:ot(e)?(e=ci(t,J(e.value),!0),s?e:[`${t}=Ref<`,e,">"]):U(e)?[`${t}=fn${e.name?`<${e.name}>`:""}`]:(e=J(e),s?e:[`${t}=`,e])}function Se(t,e,s,n){try{return n?t(...n):t()}catch(i){ws(i,e,s)}}function It(t,e,s,n){if(U(t)){const i=Se(t,e,s,n);return i&&In(i)&&i.catch(r=>{ws(r,e,s)}),i}if(j(t)){const i=[];for(let r=0;r<t.length;r++)i.push(It(t[r],e,s,n));return i}}function ws(t,e,s,n=!0){const i=e?e.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:o}=e&&e.appContext.config||tt;if(e){let l=e.parent;const a=e.proxy,f=`https://vuejs.org/error-reference/#runtime-${s}`;for(;l;){const h=l.ec;if(h){for(let d=0;d<h.length;d++)if(h[d](t,a,f)===!1)return}l=l.parent}if(r){Dt(),Se(r,null,10,[t,a,f]),Bt();return}}Eo(t,s,i,n,o)}function Eo(t,e,s,n=!0,i=!1){if(i)throw t;console.error(t)}const yt=[];let Ft=-1;const Ae=[];let le=null,$e=0;const ui=Promise.resolve();let ks=null;function fi(t){const e=ks||ui;return t?e.then(this?t.bind(this):t):e}function Oo(t){let e=Ft+1,s=yt.length;for(;e<s;){const n=e+s>>>1,i=yt[n],r=je(i);r<t||r===t&&i.flags&2?e=n+1:s=n}return e}function rn(t){if(!(t.flags&1)){const e=je(t),s=yt[yt.length-1];!s||!(t.flags&2)&&e>=je(s)?yt.push(t):yt.splice(Oo(e),0,t),t.flags|=1,di()}}function di(){ks||(ks=ui.then(gi))}function Io(t){j(t)?Ae.push(...t):le&&t.id===-1?le.splice($e+1,0,t):t.flags&1||(Ae.push(t),t.flags|=1),di()}function hi(t,e,s=Ft+1){for(;s<yt.length;s++){const n=yt[s];if(n&&n.flags&2){if(t&&n.id!==t.uid)continue;yt.splice(s,1),s--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function pi(t){if(Ae.length){const e=[...new Set(Ae)].sort((s,n)=>je(s)-je(n));if(Ae.length=0,le){le.push(...e);return}for(le=e,$e=0;$e<le.length;$e++){const s=le[$e];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}le=null,$e=0}}const je=t=>t.id==null?t.flags&2?-1:1/0:t.id;function gi(t){try{for(Ft=0;Ft<yt.length;Ft++){const e=yt[Ft];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),Se(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;Ft<yt.length;Ft++){const e=yt[Ft];e&&(e.flags&=-2)}Ft=-1,yt.length=0,pi(),ks=null,(yt.length||Ae.length)&&gi()}}let xt=null,_i=null;function Cs(t){const e=xt;return xt=t,_i=t&&t.type.__scopeId||null,e}function Lo(t,e=xt,s){if(!e||t._n)return t;const n=(...i)=>{n._d&&Zi(-1);const r=Cs(e),o=be.length;let l;try{l=t(...i)}finally{for(let a=be.length;a>o;a--)Xi();Cs(r),n._d&&Zi(1)}return l};return n._n=!0,n._c=!0,n._d=!0,n}function Ro(t,e){if(xt===null)return t;const s=Ls(xt),n=t.dirs||(t.dirs=[]);for(let i=0;i<e.length;i++){let[r,o,l,a=tt]=e[i];r&&(U(r)&&(r={mounted:r,updated:r}),r.deep&&Xt(o),n.push({dir:r,instance:s,value:o,oldValue:void 0,arg:l,modifiers:a}))}return t}function pe(t,e,s,n){const i=t.dirs,r=e&&e.dirs;for(let o=0;o<i.length;o++){const l=i[o];r&&(l.oldValue=r[o].value);let a=l.dir[n];a&&(Dt(),It(a,s,8,[t.el,l,t,e]),Bt())}}function Do(t,e){if(mt){let s=mt.provides;const n=mt.parent&&mt.parent.provides;n===s&&(s=mt.provides=Object.create(n)),s[t]=e}}function Ve(t,e,s=!1){const n=nr();if(n||_e){let i=_e?_e._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(i&&t in i)return i[t];if(arguments.length>1)return s&&U(e)?e.call(n&&n.proxy):e}}function Bo(){return!!(nr()||_e)}const No=Symbol.for("v-scx"),Fo=()=>Ve(No);function He(t,e,s){return mi(t,e,s)}function mi(t,e,s=tt){const{immediate:n,deep:i,flush:r,once:o}=s,l=dt({},s),a=e&&n||!e&&r!=="post";let f;if(Qe){if(r==="sync"){const y=Fo();f=y.__watcherHandles||(y.__watcherHandles=[])}else if(!a){const y=()=>{};return y.stop=Lt,y.resume=Lt,y.pause=Lt,y}}const h=mt;l.call=(y,T,P)=>It(y,h,T,P);let d=!1;r==="post"?l.scheduler=y=>{wt(y,h&&h.suspense)}:r!=="sync"&&(d=!0,l.scheduler=(y,T)=>{T?y():rn(y)}),l.augmentJob=y=>{e&&(y.flags|=4),d&&(y.flags|=2,h&&(y.id=h.uid,y.i=h))};const g=Ao(t,e,l);return Qe&&(f?f.push(g):a&&g()),g}function jo(t,e,s){const n=this.proxy,i=rt(t)?t.includes(".")?bi(n,t):()=>n[t]:t.bind(n,n);let r;U(e)?r=e:(r=e.handler,s=e);const o=Ye(this),l=mi(i,r.bind(n),s);return o(),l}function bi(t,e){const s=e.split(".");return()=>{let n=t;for(let i=0;i<s.length&&n;i++)n=n[s[i]];return n}}const ae=new WeakMap,yi=Symbol("_vte"),Vo=t=>t.__isTeleport,ge=t=>t&&(t.disabled||t.disabled===""),Ho=t=>t&&(t.defer||t.defer===""),vi=t=>typeof SVGElement<"u"&&t instanceof SVGElement,wi=t=>typeof MathMLElement=="function"&&t instanceof MathMLElement,on=(t,e)=>{const s=t&&t.to;return rt(s)?e?e(s):null:s},Uo={name:"Teleport",__isTeleport:!0,process(t,e,s,n,i,r,o,l,a,f){const{mc:h,pc:d,pbc:g,o:{insert:y,querySelector:T,createText:P,createComment:D,parentNode:H}}=f,I=ge(e.props);let{dynamicChildren:G}=e;const O=(K,N,F)=>{K.shapeFlag&16&&h(K.children,N,F,i,r,o,l,a)},W=(K=e)=>{const N=ge(K.props),F=K.target=on(K.props,T),it=ln(F,K,P,y);F&&(o!=="svg"&&vi(F)?o="svg":o!=="mathml"&&wi(F)&&(o="mathml"),i&&i.isCE&&(i.ce._teleportTargets||(i.ce._teleportTargets=new Set)).add(F),N||(O(K,F,it),Ue(K,!1)))},ht=K=>{const N=()=>{if(ae.get(K)===N){if(ae.delete(K),ge(K.props)){const F=H(K.el)||s;O(K,F,K.anchor),Ue(K,!0)}W(K)}};ae.set(K,N),wt(N,r)};if(t==null){const K=e.el=P(""),N=e.anchor=P("");if(y(K,s,n),y(N,s,n),Ho(e.props)||r&&r.pendingBranch){ht(e);return}I&&(O(e,s,N),Ue(e,!0)),W()}else{e.el=t.el;const K=e.anchor=t.anchor,N=ae.get(t);if(N){N.flags|=8,ae.delete(t),ht(e);return}e.targetStart=t.targetStart;const F=e.target=t.target,it=e.targetAnchor=t.targetAnchor,pt=ge(t.props),$t=pt?s:F,Ht=pt?K:it;if(o==="svg"||vi(F)?o="svg":(o==="mathml"||wi(F))&&(o="mathml"),G?(g(t.dynamicChildren,G,$t,i,r,o,l),vn(t,e,!0)):a||d(t,e,$t,Ht,i,r,o,l,!1),I)pt?e.props&&t.props&&e.props.to!==t.props.to&&(e.props.to=t.props.to):xs(e,s,K,f,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const re=on(e.props,T);re&&(e.target=re,xs(e,re,null,f,0))}else pt&&xs(e,F,it,f,1);Ue(e,I)}},remove(t,e,s,{um:n,o:{remove:i}},r){const{shapeFlag:o,children:l,anchor:a,targetStart:f,targetAnchor:h,target:d,props:g}=t,y=ge(g),T=r||!y,P=ae.get(t);if(P&&(P.flags|=8,ae.delete(t)),d&&(i(f),i(h)),r&&i(a),!P&&(y||d)&&o&16)for(let D=0;D<l.length;D++){const H=l[D];n(H,e,s,T,!!H.dynamicChildren)}},move:xs,hydrate:Ko};function xs(t,e,s,{o:{insert:n},m:i},r=2){r===0&&n(t.targetAnchor,e,s);const{el:o,anchor:l,shapeFlag:a,children:f,props:h}=t,d=r===2;if(d&&n(o,e,s),!ae.has(t)&&(!d||ge(h))&&a&16)for(let g=0;g<f.length;g++)i(f[g],e,s,2);d&&n(l,e,s)}function Ko(t,e,s,n,i,r,{o:{nextSibling:o,parentNode:l,querySelector:a,insert:f,createText:h}},d){function g(D,H){let I=H;for(;I;){if(I&&I.nodeType===8){if(I.data==="teleport start anchor")e.targetStart=I;else if(I.data==="teleport anchor"){e.targetAnchor=I,D._lpa=e.targetAnchor&&o(e.targetAnchor);break}}I=o(I)}}function y(D,H){H.anchor=d(o(D),H,l(D),s,n,i,r)}const T=e.target=on(e.props,a),P=ge(e.props);if(T){const D=T._lpa||T.firstChild;e.shapeFlag&16&&(P?(y(t,e),g(T,D),e.targetAnchor||ln(T,e,h,f,l(t)===T?t:null)):(e.anchor=o(t),g(T,D),e.targetAnchor||ln(T,e,h,f),d(D&&o(D),e,T,s,n,i,r))),Ue(e,P)}else P&&e.shapeFlag&16&&(y(t,e),e.targetStart=t,e.targetAnchor=o(t));return e.anchor&&o(e.anchor)}const Wo=Uo;function Ue(t,e){const s=t.ctx;if(s&&s.ut){let n,i;for(e?(n=t.el,i=t.anchor):(n=t.targetStart,i=t.targetAnchor);n&&n!==i;)n.nodeType===1&&n.setAttribute("data-v-owner",s.uid),n=n.nextSibling;s.ut()}}function ln(t,e,s,n,i=null){const r=e.targetStart=s(""),o=e.targetAnchor=s("");return r[yi]=o,t&&(n(r,t,i),n(o,t,i)),o}const an=Symbol("_leaveCb");function cn(t,e){t.shapeFlag&6&&t.component?(t.transition=e,cn(t.component.subTree,e)):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function Zt(t,e){return U(t)?dt({name:t.name},e,{setup:t}):t}function ki(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function Ci(t,e){let s;return!!((s=Object.getOwnPropertyDescriptor(t,e))&&!s.configurable)}const Ss=new WeakMap;function Ke(t,e,s,n,i=!1){if(j(t)){t.forEach((P,D)=>Ke(P,e&&(j(e)?e[D]:e),s,n,i));return}if(We(n)&&!i){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Ke(t,e,s,n.component.subTree);return}const r=n.shapeFlag&4?Ls(n.component):n.el,o=i?null:r,{i:l,r:a}=t,f=e&&e.r,h=l.refs===tt?l.refs={}:l.refs,d=l.setupState,g=J(d),y=d===tt?Pn:P=>Ci(h,P)?!1:Q(g,P),T=(P,D)=>!(D&&Ci(h,D));if(f!=null&&f!==a){if(xi(e),rt(f))h[f]=null,y(f)&&(d[f]=null);else if(ot(f)){const P=e;T(f,P.k)&&(f.value=null),P.k&&(h[P.k]=null)}}if(U(a))Se(a,l,12,[o,h]);else{const P=rt(a),D=ot(a);if(P||D){const H=()=>{if(t.f){const I=P?y(a)?d[a]:h[a]:T()||!t.k?a.value:h[t.k];if(i)j(I)&&js(I,r);else if(j(I))I.includes(r)||I.push(r);else if(P)h[a]=[r],y(a)&&(d[a]=h[a]);else{const G=[r];T(a,t.k)&&(a.value=G),t.k&&(h[t.k]=G)}}else P?(h[a]=o,y(a)&&(d[a]=o)):D&&(T(a,t.k)&&(a.value=o),t.k&&(h[t.k]=o))};if(o){const I=()=>{H(),Ss.delete(t)};I.id=-1,Ss.set(t,I),wt(I,s)}else xi(t),H()}}}function xi(t){const e=Ss.get(t);e&&(e.flags|=8,Ss.delete(t))}cs().requestIdleCallback,cs().cancelIdleCallback;const We=t=>!!t.type.__asyncLoader,Si=t=>t.type.__isKeepAlive;function Go(t,e){Ai(t,"a",e)}function qo(t,e){Ai(t,"da",e)}function Ai(t,e,s=mt){const n=t.__wdc||(t.__wdc=()=>{let i=s;for(;i;){if(i.isDeactivated)return;i=i.parent}return t()});if(As(e,n,s),s){let i=s.parent;for(;i&&i.parent;)Si(i.parent.vnode)&&Jo(n,e,s,i),i=i.parent}}function Jo(t,e,s,n){const i=As(e,t,n,!0);fn(()=>{js(n[e],i)},s)}function As(t,e,s=mt,n=!1){if(s){const i=s[t]||(s[t]=[]),r=e.__weh||(e.__weh=(...o)=>{Dt();const l=Ye(s),a=It(e,s,t,o);return l(),Bt(),a});return n?i.unshift(r):i.push(r),r}}const te=t=>(e,s=mt)=>{(!Qe||t==="sp")&&As(t,(...n)=>e(...n),s)},zo=te("bm"),un=te("m"),Yo=te("bu"),Qo=te("u"),Xo=te("bum"),fn=te("um"),Zo=te("sp"),tl=te("rtg"),el=te("rtc");function sl(t,e=mt){As("ec",t,e)}const nl="components";function il(t,e){return ol(nl,t,!0,e)||t}const rl=Symbol.for("v-ndc");function ol(t,e,s=!0,n=!1){const i=xt||mt;if(i){const r=i.type;{const l=ar(r,!1);if(l&&(l===e||l===bt(e)||l===ls(bt(e))))return r}const o=$i(i[t]||r[t],e)||$i(i.appContext[t],e);return!o&&n?r:o}}function $i(t,e){return t&&(t[e]||t[bt(e)]||t[ls(bt(e))])}function lt(t,e,s,n){let i;const r=s,o=j(t);if(o||rt(t)){const l=o&&zt(t);let a=!1,f=!1;l&&(a=!Ct(t),f=Yt(t),t=ds(t)),i=new Array(t.length);for(let h=0,d=t.length;h<d;h++)i[h]=e(a?f?xe(Ot(t[h])):Ot(t[h]):t[h],h,void 0,r)}else if(typeof t=="number"){i=new Array(t);for(let l=0;l<t;l++)i[l]=e(l+1,l,void 0,r)}else if(X(t))if(t[Symbol.iterator])i=Array.from(t,(l,a)=>e(l,a,void 0,r));else{const l=Object.keys(t);i=new Array(l.length);for(let a=0,f=l.length;a<f;a++){const h=l[a];i[a]=e(t[h],h,a,r)}}else i=[];return i}const dn=t=>t?rr(t)?Ls(t):dn(t.parent):null,Ge=dt(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>dn(t.parent),$root:t=>dn(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>Ei(t),$forceUpdate:t=>t.f||(t.f=()=>{rn(t.update)}),$nextTick:t=>t.n||(t.n=fi.bind(t.proxy)),$watch:t=>jo.bind(t)}),hn=(t,e)=>t!==tt&&!t.__isScriptSetup&&Q(t,e),ll={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:s,setupState:n,data:i,props:r,accessCache:o,type:l,appContext:a}=t;if(e[0]!=="$"){const g=o[e];if(g!==void 0)switch(g){case 1:return n[e];case 2:return i[e];case 4:return s[e];case 3:return r[e]}else{if(hn(n,e))return o[e]=1,n[e];if(i!==tt&&Q(i,e))return o[e]=2,i[e];if(Q(r,e))return o[e]=3,r[e];if(s!==tt&&Q(s,e))return o[e]=4,s[e];pn&&(o[e]=0)}}const f=Ge[e];let h,d;if(f)return e==="$attrs"&&_t(t.attrs,"get",""),f(t);if((h=l.__cssModules)&&(h=h[e]))return h;if(s!==tt&&Q(s,e))return o[e]=4,s[e];if(d=a.config.globalProperties,Q(d,e))return d[e]},set({_:t},e,s){const{data:n,setupState:i,ctx:r}=t;return hn(i,e)?(i[e]=s,!0):n!==tt&&Q(n,e)?(n[e]=s,!0):Q(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(r[e]=s,!0)},has({_:{data:t,setupState:e,accessCache:s,ctx:n,appContext:i,props:r,type:o}},l){let a;return!!(s[l]||t!==tt&&l[0]!=="$"&&Q(t,l)||hn(e,l)||Q(r,l)||Q(n,l)||Q(Ge,l)||Q(i.config.globalProperties,l)||(a=o.__cssModules)&&a[l])},defineProperty(t,e,s){return s.get!=null?t._.accessCache[e]=0:Q(s,"value")&&this.set(t,e,s.value,null),Reflect.defineProperty(t,e,s)}};function Ti(t){return j(t)?t.reduce((e,s)=>(e[s]=null,e),{}):t}let pn=!0;function al(t){const e=Ei(t),s=t.proxy,n=t.ctx;pn=!1,e.beforeCreate&&Mi(e.beforeCreate,t,"bc");const{data:i,computed:r,methods:o,watch:l,provide:a,inject:f,created:h,beforeMount:d,mounted:g,beforeUpdate:y,updated:T,activated:P,deactivated:D,beforeDestroy:H,beforeUnmount:I,destroyed:G,unmounted:O,render:W,renderTracked:ht,renderTriggered:K,errorCaptured:N,serverPrefetch:F,expose:it,inheritAttrs:pt,components:$t,directives:Ht,filters:re}=e;if(f&&cl(f,n,null),o)for(const q in o){const nt=o[q];U(nt)&&(n[q]=nt.bind(s))}if(i){const q=i.call(s,s);X(q)&&(t.data=_s(q))}if(pn=!0,r)for(const q in r){const nt=r[q],ye=U(nt)?nt.bind(s,s):U(nt.get)?nt.get.bind(s,s):Lt,Bs=!U(nt)&&U(nt.set)?nt.set.bind(s):Lt,ve=kt({get:ye,set:Bs});Object.defineProperty(n,q,{enumerable:!0,configurable:!0,get:()=>ve.value,set:Ut=>ve.value=Ut})}if(l)for(const q in l)Pi(l[q],n,s,q);if(a){const q=U(a)?a.call(s):a;Reflect.ownKeys(q).forEach(nt=>{Do(nt,q[nt])})}h&&Mi(h,t,"c");function at(q,nt){j(nt)?nt.forEach(ye=>q(ye.bind(s))):nt&&q(nt.bind(s))}if(at(zo,d),at(un,g),at(Yo,y),at(Qo,T),at(Go,P),at(qo,D),at(sl,N),at(el,ht),at(tl,K),at(Xo,I),at(fn,O),at(Zo,F),j(it))if(it.length){const q=t.exposed||(t.exposed={});it.forEach(nt=>{Object.defineProperty(q,nt,{get:()=>s[nt],set:ye=>s[nt]=ye,enumerable:!0})})}else t.exposed||(t.exposed={});W&&t.render===Lt&&(t.render=W),pt!=null&&(t.inheritAttrs=pt),$t&&(t.components=$t),Ht&&(t.directives=Ht),F&&ki(t)}function cl(t,e,s=Lt){j(t)&&(t=gn(t));for(const n in t){const i=t[n];let r;X(i)?"default"in i?r=Ve(i.from||n,i.default,!0):r=Ve(i.from||n):r=Ve(i),ot(r)?Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:o=>r.value=o}):e[n]=r}}function Mi(t,e,s){It(j(t)?t.map(n=>n.bind(e.proxy)):t.bind(e.proxy),e,s)}function Pi(t,e,s,n){let i=n.includes(".")?bi(s,n):()=>s[n];if(rt(t)){const r=e[t];U(r)&&He(i,r)}else if(U(t))He(i,t.bind(s));else if(X(t))if(j(t))t.forEach(r=>Pi(r,e,s,n));else{const r=U(t.handler)?t.handler.bind(s):e[t.handler];U(r)&&He(i,r,t)}}function Ei(t){const e=t.type,{mixins:s,extends:n}=e,{mixins:i,optionsCache:r,config:{optionMergeStrategies:o}}=t.appContext,l=r.get(e);let a;return l?a=l:!i.length&&!s&&!n?a=e:(a={},i.length&&i.forEach(f=>$s(a,f,o,!0)),$s(a,e,o)),X(e)&&r.set(e,a),a}function $s(t,e,s,n=!1){const{mixins:i,extends:r}=e;r&&$s(t,r,s,!0),i&&i.forEach(o=>$s(t,o,s,!0));for(const o in e)if(!(n&&o==="expose")){const l=ul[o]||s&&s[o];t[o]=l?l(t[o],e[o]):e[o]}return t}const ul={data:Oi,props:Ii,emits:Ii,methods:qe,computed:qe,beforeCreate:vt,created:vt,beforeMount:vt,mounted:vt,beforeUpdate:vt,updated:vt,beforeDestroy:vt,beforeUnmount:vt,destroyed:vt,unmounted:vt,activated:vt,deactivated:vt,errorCaptured:vt,serverPrefetch:vt,components:qe,directives:qe,watch:dl,provide:Oi,inject:fl};function Oi(t,e){return e?t?function(){return dt(U(t)?t.call(this,this):t,U(e)?e.call(this,this):e)}:e:t}function fl(t,e){return qe(gn(t),gn(e))}function gn(t){if(j(t)){const e={};for(let s=0;s<t.length;s++)e[t[s]]=t[s];return e}return t}function vt(t,e){return t?[...new Set([].concat(t,e))]:e}function qe(t,e){return t?dt(Object.create(null),t,e):e}function Ii(t,e){return t?j(t)&&j(e)?[...new Set([...t,...e])]:dt(Object.create(null),Ti(t),Ti(e??{})):e}function dl(t,e){if(!t)return e;if(!e)return t;const s=dt(Object.create(null),t);for(const n in e)s[n]=vt(t[n],e[n]);return s}function Li(){return{app:null,config:{isNativeTag:Pn,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 hl=0;function pl(t,e){return function(n,i=null){U(n)||(n=dt({},n)),i!=null&&!X(i)&&(i=null);const r=Li(),o=new WeakSet,l=[];let a=!1;const f=r.app={_uid:hl++,_component:n,_props:i,_container:null,_context:r,_instance:null,version:ql,get config(){return r.config},set config(h){},use(h,...d){return o.has(h)||(h&&U(h.install)?(o.add(h),h.install(f,...d)):U(h)&&(o.add(h),h(f,...d))),f},mixin(h){return r.mixins.includes(h)||r.mixins.push(h),f},component(h,d){return d?(r.components[h]=d,f):r.components[h]},directive(h,d){return d?(r.directives[h]=d,f):r.directives[h]},mount(h,d,g){if(!a){const y=f._ceVNode||At(n,i);return y.appContext=r,g===!0?g="svg":g===!1&&(g=void 0),t(y,h,g),a=!0,f._container=h,h.__vue_app__=f,Ls(y.component)}},onUnmount(h){l.push(h)},unmount(){a&&(It(l,f._instance,16),t(null,f._container),delete f._container.__vue_app__)},provide(h,d){return r.provides[h]=d,f},runWithContext(h){const d=_e;_e=f;try{return h()}finally{_e=d}}};return f}}let _e=null;const gl=(t,e)=>e==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${bt(e)}Modifiers`]||t[`${oe(e)}Modifiers`];function _l(t,e,...s){if(t.isUnmounted)return;const n=t.vnode.props||tt;let i=s;const r=e.startsWith("update:"),o=r&&gl(n,e.slice(7));o&&(o.trim&&(i=s.map(h=>rt(h)?h.trim():h)),o.number&&(i=s.map(Hs)));let l,a=n[l=Vs(e)]||n[l=Vs(bt(e))];!a&&r&&(a=n[l=Vs(oe(e))]),a&&It(a,t,6,i);const f=n[l+"Once"];if(f){if(!t.emitted)t.emitted={};else if(t.emitted[l])return;t.emitted[l]=!0,It(f,t,6,i)}}const ml=new WeakMap;function Ri(t,e,s=!1){const n=s?ml:e.emitsCache,i=n.get(t);if(i!==void 0)return i;const r=t.emits;let o={},l=!1;if(!U(t)){const a=f=>{const h=Ri(f,e,!0);h&&(l=!0,dt(o,h))};!s&&e.mixins.length&&e.mixins.forEach(a),t.extends&&a(t.extends),t.mixins&&t.mixins.forEach(a)}return!r&&!l?(X(t)&&n.set(t,null),null):(j(r)?r.forEach(a=>o[a]=null):dt(o,r),X(t)&&n.set(t,o),o)}function Ts(t,e){return!t||!ns(e)?!1:(e=e.slice(2),e=e==="Once"?e:e.replace(/Once$/,""),Q(t,e[0].toLowerCase()+e.slice(1))||Q(t,oe(e))||Q(t,e))}function md(){}function Di(t){const{type:e,vnode:s,proxy:n,withProxy:i,propsOptions:[r],slots:o,attrs:l,emit:a,render:f,renderCache:h,props:d,data:g,setupState:y,ctx:T,inheritAttrs:P}=t,D=Cs(t);let H,I;try{if(s.shapeFlag&4){const O=i||n,W=O;H=jt(f.call(W,O,h,d,y,g,T)),I=l}else{const O=e;H=jt(O.length>1?O(d,{attrs:l,slots:o,emit:a}):O(d,null)),I=e.props?l:bl(l)}}catch(O){be.length=0,ws(O,t,1),H=At(ce)}let G=H;if(I&&P!==!1){const O=Object.keys(I),{shapeFlag:W}=G;O.length&&W&7&&(r&&O.some(is)&&(I=yl(I,r)),G=Te(G,I,!1,!0))}return s.dirs&&(G=Te(G,null,!1,!0),G.dirs=G.dirs?G.dirs.concat(s.dirs):s.dirs),s.transition&&cn(G,s.transition),H=G,Cs(D),H}const bl=t=>{let e;for(const s in t)(s==="class"||s==="style"||ns(s))&&((e||(e={}))[s]=t[s]);return e},yl=(t,e)=>{const s={};for(const n in t)(!is(n)||!(n.slice(9)in e))&&(s[n]=t[n]);return s};function vl(t,e,s){const{props:n,children:i,component:r}=t,{props:o,children:l,patchFlag:a}=e,f=r.emitsOptions;if(e.dirs||e.transition)return!0;if(s&&a>=0){if(a&1024)return!0;if(a&16)return n?Bi(n,o,f):!!o;if(a&8){const h=e.dynamicProps;for(let d=0;d<h.length;d++){const g=h[d];if(Ni(o,n,g)&&!Ts(f,g))return!0}}}else return(i||l)&&(!l||!l.$stable)?!0:n===o?!1:n?o?Bi(n,o,f):!0:!!o;return!1}function Bi(t,e,s){const n=Object.keys(e);if(n.length!==Object.keys(t).length)return!0;for(let i=0;i<n.length;i++){const r=n[i];if(Ni(e,t,r)&&!Ts(s,r))return!0}return!1}function Ni(t,e,s){const n=t[s],i=e[s];return s==="style"&&X(n)&&X(i)?!Us(n,i):n!==i}function wl({vnode:t,parent:e,suspense:s},n){for(;e;){const i=e.subTree;if(i.suspense&&i.suspense.activeBranch===t&&(i.suspense.vnode.el=i.el=n,t=i),i===t)(t=e.vnode).el=n,e=e.parent;else break}s&&s.activeBranch===t&&(s.vnode.el=n)}const Fi={},ji=()=>Object.create(Fi),Vi=t=>Object.getPrototypeOf(t)===Fi;function kl(t,e,s,n=!1){const i={},r=ji();t.propsDefaults=Object.create(null),Hi(t,e,i,r);for(const o in t.propsOptions[0])o in i||(i[o]=void 0);s?t.props=n?i:_o(i):t.type.props?t.props=i:t.props=r,t.attrs=r}function Cl(t,e,s,n){const{props:i,attrs:r,vnode:{patchFlag:o}}=t,l=J(i),[a]=t.propsOptions;let f=!1;if((n||o>0)&&!(o&16)){if(o&8){const h=t.vnode.dynamicProps;for(let d=0;d<h.length;d++){let g=h[d];if(Ts(t.emitsOptions,g))continue;const y=e[g];if(a)if(Q(r,g))y!==r[g]&&(r[g]=y,f=!0);else{const T=bt(g);i[T]=_n(a,l,T,y,t,!1)}else y!==r[g]&&(r[g]=y,f=!0)}}}else{Hi(t,e,i,r)&&(f=!0);let h;for(const d in l)(!e||!Q(e,d)&&((h=oe(d))===d||!Q(e,h)))&&(a?s&&(s[d]!==void 0||s[h]!==void 0)&&(i[d]=_n(a,l,d,void 0,t,!0)):delete i[d]);if(r!==l)for(const d in r)(!e||!Q(e,d))&&(delete r[d],f=!0)}f&&qt(t.attrs,"set","")}function Hi(t,e,s,n){const[i,r]=t.propsOptions;let o=!1,l;if(e)for(let a in e){if(Ie(a))continue;const f=e[a];let h;i&&Q(i,h=bt(a))?!r||!r.includes(h)?s[h]=f:(l||(l={}))[h]=f:Ts(t.emitsOptions,a)||(!(a in n)||f!==n[a])&&(n[a]=f,o=!0)}if(r){const a=J(s),f=l||tt;for(let h=0;h<r.length;h++){const d=r[h];s[d]=_n(i,a,d,f[d],t,!Q(f,d))}}return o}function _n(t,e,s,n,i,r){const o=t[s];if(o!=null){const l=Q(o,"default");if(l&&n===void 0){const a=o.default;if(o.type!==Function&&!o.skipFactory&&U(a)){const{propsDefaults:f}=i;if(s in f)n=f[s];else{const h=Ye(i);n=f[s]=a.call(null,e),h()}}else n=a;i.ce&&i.ce._setProp(s,n)}o[0]&&(r&&!l?n=!1:o[1]&&(n===""||n===oe(s))&&(n=!0))}return n}const xl=new WeakMap;function Ui(t,e,s=!1){const n=s?xl:e.propsCache,i=n.get(t);if(i)return i;const r=t.props,o={},l=[];let a=!1;if(!U(t)){const h=d=>{a=!0;const[g,y]=Ui(d,e,!0);dt(o,g),y&&l.push(...y)};!s&&e.mixins.length&&e.mixins.forEach(h),t.extends&&h(t.extends),t.mixins&&t.mixins.forEach(h)}if(!r&&!a)return X(t)&&n.set(t,we),we;if(j(r))for(let h=0;h<r.length;h++){const d=bt(r[h]);Ki(d)&&(o[d]=tt)}else if(r)for(const h in r){const d=bt(h);if(Ki(d)){const g=r[h],y=o[d]=j(g)||U(g)?{type:g}:dt({},g),T=y.type;let P=!1,D=!0;if(j(T))for(let H=0;H<T.length;++H){const I=T[H],G=U(I)&&I.name;if(G==="Boolean"){P=!0;break}else G==="String"&&(D=!1)}else P=U(T)&&T.name==="Boolean";y[0]=P,y[1]=D,(P||Q(y,"default"))&&l.push(d)}}const f=[o,l];return X(t)&&n.set(t,f),f}function Ki(t){return t[0]!=="$"&&!Ie(t)}const mn=t=>t==="_"||t==="_ctx"||t==="$stable",bn=t=>j(t)?t.map(jt):[jt(t)],Sl=(t,e,s)=>{if(e._n)return e;const n=Lo((...i)=>bn(e(...i)),s);return n._c=!1,n},Wi=(t,e,s)=>{const n=t._ctx;for(const i in t){if(mn(i))continue;const r=t[i];if(U(r))e[i]=Sl(i,r,n);else if(r!=null){const o=bn(r);e[i]=()=>o}}},Gi=(t,e)=>{const s=bn(e);t.slots.default=()=>s},qi=(t,e,s)=>{for(const n in e)(s||!mn(n))&&(t[n]=e[n])},Al=(t,e,s)=>{const n=t.slots=ji();if(t.vnode.shapeFlag&32){const i=e._;i?(qi(n,e,s),s&&Dn(n,"_",i,!0)):Wi(e,n)}else e&&Gi(t,e)},$l=(t,e,s)=>{const{vnode:n,slots:i}=t;let r=!0,o=tt;if(n.shapeFlag&32){const l=e._;l?s&&l===1?r=!1:qi(i,e,s):(r=!e.$stable,Wi(e,i)),o=e}else e&&(Gi(t,e),o={default:1});if(r)for(const l in i)!mn(l)&&o[l]==null&&delete i[l]},wt=Ol;function Tl(t){return Ml(t)}function Ml(t,e){const s=cs();s.__VUE__=!0;const{insert:n,remove:i,patchProp:r,createElement:o,createText:l,createComment:a,setText:f,setElementText:h,parentNode:d,nextSibling:g,setScopeId:y=Lt,insertStaticContent:T}=t,P=(u,p,_,x=null,C=null,v=null,M=void 0,$=null,S=!!p.dynamicChildren)=>{if(u===p)return;u&&!ze(u,p)&&(x=Ns(u),Ut(u,C,v,!0),u=null),p.patchFlag===-2&&(S=!1,p.dynamicChildren=null);const{type:w,ref:B,shapeFlag:E}=p;switch(w){case Ms:D(u,p,_,x);break;case ce:H(u,p,_,x);break;case Ps:u==null&&I(p,_,x,M);break;case z:$t(u,p,_,x,C,v,M,$,S);break;default:E&1?W(u,p,_,x,C,v,M,$,S):E&6?Ht(u,p,_,x,C,v,M,$,S):(E&64||E&128)&&w.process(u,p,_,x,C,v,M,$,S,es)}B!=null&&C?Ke(B,u&&u.ref,v,p||u,!p):B==null&&u&&u.ref!=null&&Ke(u.ref,null,v,u,!0)},D=(u,p,_,x)=>{if(u==null)n(p.el=l(p.children),_,x);else{const C=p.el=u.el;p.children!==u.children&&f(C,p.children)}},H=(u,p,_,x)=>{u==null?n(p.el=a(p.children||""),_,x):p.el=u.el},I=(u,p,_,x)=>{[u.el,u.anchor]=T(u.children,p,_,x,u.el,u.anchor)},G=({el:u,anchor:p},_,x)=>{let C;for(;u&&u!==p;)C=g(u),n(u,_,x),u=C;n(p,_,x)},O=({el:u,anchor:p})=>{let _;for(;u&&u!==p;)_=g(u),i(u),u=_;i(p)},W=(u,p,_,x,C,v,M,$,S)=>{if(p.type==="svg"?M="svg":p.type==="math"&&(M="mathml"),u==null)ht(p,_,x,C,v,M,$,S);else{const w=u.el&&u.el._isVueCE?u.el:null;try{w&&w._beginPatch(),F(u,p,C,v,M,$,S)}finally{w&&w._endPatch()}}},ht=(u,p,_,x,C,v,M,$)=>{let S,w;const{props:B,shapeFlag:E,transition:L,dirs:V}=u;if(S=u.el=o(u.type,v,B&&B.is,B),E&8?h(S,u.children):E&16&&N(u.children,S,null,x,C,yn(u,v),M,$),V&&pe(u,null,x,"created"),K(S,u,u.scopeId,M,x),B){for(const et in B)et!=="value"&&!Ie(et)&&r(S,et,null,B[et],v,x);"value"in B&&r(S,"value",null,B.value,v),(w=B.onVnodeBeforeMount)&&Vt(w,x,u)}V&&pe(u,null,x,"beforeMount");const Y=Pl(C,L);Y&&L.beforeEnter(S),n(S,p,_),((w=B&&B.onVnodeMounted)||Y||V)&&wt(()=>{try{w&&Vt(w,x,u),Y&&L.enter(S),V&&pe(u,null,x,"mounted")}finally{}},C)},K=(u,p,_,x,C)=>{if(_&&y(u,_),x)for(let v=0;v<x.length;v++)y(u,x[v]);if(C){let v=C.subTree;if(p===v||Qi(v.type)&&(v.ssContent===p||v.ssFallback===p)){const M=C.vnode;K(u,M,M.scopeId,M.slotScopeIds,C.parent)}}},N=(u,p,_,x,C,v,M,$,S=0)=>{for(let w=S;w<u.length;w++){const B=u[w]=$?ee(u[w]):jt(u[w]);P(null,B,p,_,x,C,v,M,$)}},F=(u,p,_,x,C,v,M)=>{const $=p.el=u.el;let{patchFlag:S,dynamicChildren:w,dirs:B}=p;S|=u.patchFlag&16;const E=u.props||tt,L=p.props||tt;let V;if(_&&me(_,!1),(V=L.onVnodeBeforeUpdate)&&Vt(V,_,p,u),B&&pe(p,u,_,"beforeUpdate"),_&&me(_,!0),w&&(!u.dynamicChildren||u.dynamicChildren.length!==w.length)&&(S=0,M=!1,w=null),(E.innerHTML&&L.innerHTML==null||E.textContent&&L.textContent==null)&&h($,""),w?it(u.dynamicChildren,w,$,_,x,yn(p,C),v):M||nt(u,p,$,null,_,x,yn(p,C),v,!1),S>0){if(S&16)pt($,E,L,_,C);else if(S&2&&E.class!==L.class&&r($,"class",null,L.class,C),S&4&&r($,"style",E.style,L.style,C),S&8){const Y=p.dynamicProps;for(let et=0;et<Y.length;et++){const Z=Y[et],ct=E[Z],gt=L[Z];(gt!==ct||Z==="value")&&r($,Z,ct,gt,C,_)}}S&1&&u.children!==p.children&&h($,p.children)}else!M&&w==null&&pt($,E,L,_,C);((V=L.onVnodeUpdated)||B)&&wt(()=>{V&&Vt(V,_,p,u),B&&pe(p,u,_,"updated")},x)},it=(u,p,_,x,C,v,M)=>{for(let $=0;$<p.length;$++){const S=u[$],w=p[$],B=S.el&&(S.type===z||!ze(S,w)||S.shapeFlag&198)?d(S.el):_;P(S,w,B,null,x,C,v,M,!0)}},pt=(u,p,_,x,C)=>{if(p!==_){if(p!==tt)for(const v in p)!Ie(v)&&!(v in _)&&r(u,v,p[v],null,C,x);for(const v in _){if(Ie(v))continue;const M=_[v],$=p[v];M!==$&&v!=="value"&&r(u,v,$,M,C,x)}"value"in _&&r(u,"value",p.value,_.value,C)}},$t=(u,p,_,x,C,v,M,$,S)=>{const w=p.el=u?u.el:l(""),B=p.anchor=u?u.anchor:l("");let{patchFlag:E,dynamicChildren:L,slotScopeIds:V}=p;V&&($=$?$.concat(V):V),u==null?(n(w,_,x),n(B,_,x),N(p.children||[],_,B,C,v,M,$,S)):E>0&&E&64&&L&&u.dynamicChildren&&u.dynamicChildren.length===L.length?(it(u.dynamicChildren,L,_,C,v,M,$),(p.key!=null||C&&p===C.subTree)&&vn(u,p,!0)):nt(u,p,_,B,C,v,M,$,S)},Ht=(u,p,_,x,C,v,M,$,S)=>{p.slotScopeIds=$,u==null?p.shapeFlag&512?C.ctx.activate(p,_,x,M,S):re(p,_,x,C,v,M,S):Ds(u,p,S)},re=(u,p,_,x,C,v,M)=>{const $=u.component=Fl(u,x,C);if(Si(u)&&($.ctx.renderer=es),jl($,!1,M),$.asyncDep){if(C&&C.registerDep($,at,M),!u.el){const S=$.subTree=At(ce);H(null,S,p,_),u.placeholder=S.el}}else at($,u,p,_,C,v,M)},Ds=(u,p,_)=>{const x=p.component=u.component;if(vl(u,p,_))if(x.asyncDep&&!x.asyncResolved){q(x,p,_);return}else x.next=p,x.update();else p.el=u.el,x.vnode=p},at=(u,p,_,x,C,v,M)=>{const $=()=>{if(u.isMounted){let{next:E,bu:L,u:V,parent:Y,vnode:et}=u;{const Wt=Ji(u);if(Wt){E&&(E.el=et.el,q(u,E,M)),Wt.asyncDep.then(()=>{wt(()=>{u.isUnmounted||w()},C)});return}}let Z=E,ct;me(u,!1),E?(E.el=et.el,q(u,E,M)):E=et,L&&as(L),(ct=E.props&&E.props.onVnodeBeforeUpdate)&&Vt(ct,Y,E,et),me(u,!0);const gt=Di(u),Kt=u.subTree;u.subTree=gt,P(Kt,gt,d(Kt.el),Ns(Kt),u,C,v),E.el=gt.el,Z===null&&wl(u,gt.el),V&&wt(V,C),(ct=E.props&&E.props.onVnodeUpdated)&&wt(()=>Vt(ct,Y,E,et),C)}else{let E;const{el:L,props:V}=p,{bm:Y,m:et,parent:Z,root:ct,type:gt}=u,Kt=We(p);me(u,!1),Y&&as(Y),!Kt&&(E=V&&V.onVnodeBeforeMount)&&Vt(E,Z,p),me(u,!0);{ct.ce&&ct.ce._hasShadowRoot()&&ct.ce._injectChildStyle(gt,u.parent?u.parent.type:void 0);const Wt=u.subTree=Di(u);P(null,Wt,_,x,u,C,v),p.el=Wt.el}if(et&&wt(et,C),!Kt&&(E=V&&V.onVnodeMounted)){const Wt=p;wt(()=>Vt(E,Z,Wt),C)}(p.shapeFlag&256||Z&&We(Z.vnode)&&Z.vnode.shapeFlag&256)&&u.a&&wt(u.a,C),u.isMounted=!0,p=_=x=null}};u.scope.on();const S=u.effect=new Kn($);u.scope.off();const w=u.update=S.run.bind(S),B=u.job=S.runIfDirty.bind(S);B.i=u,B.id=u.uid,S.scheduler=()=>rn(B),me(u,!0),w()},q=(u,p,_)=>{p.component=u;const x=u.vnode.props;u.vnode=p,u.next=null,Cl(u,p.props,x,_),$l(u,p.children,_),Dt(),hi(u),Bt()},nt=(u,p,_,x,C,v,M,$,S=!1)=>{const w=u&&u.children,B=u?u.shapeFlag:0,E=p.children,{patchFlag:L,shapeFlag:V}=p;if(L>0){if(L&128){Bs(w,E,_,x,C,v,M,$,S);return}else if(L&256){ye(w,E,_,x,C,v,M,$,S);return}}V&8?(B&16&&ts(w,C,v),E!==w&&h(_,E)):B&16?V&16?Bs(w,E,_,x,C,v,M,$,S):ts(w,C,v,!0):(B&8&&h(_,""),V&16&&N(E,_,x,C,v,M,$,S))},ye=(u,p,_,x,C,v,M,$,S)=>{u=u||we,p=p||we;const w=u.length,B=p.length,E=Math.min(w,B);let L;for(L=0;L<E;L++){const V=p[L]=S?ee(p[L]):jt(p[L]);P(u[L],V,_,null,C,v,M,$,S)}w>B?ts(u,C,v,!0,!1,E):N(p,_,x,C,v,M,$,S,E)},Bs=(u,p,_,x,C,v,M,$,S)=>{let w=0;const B=p.length;let E=u.length-1,L=B-1;for(;w<=E&&w<=L;){const V=u[w],Y=p[w]=S?ee(p[w]):jt(p[w]);if(ze(V,Y))P(V,Y,_,null,C,v,M,$,S);else break;w++}for(;w<=E&&w<=L;){const V=u[E],Y=p[L]=S?ee(p[L]):jt(p[L]);if(ze(V,Y))P(V,Y,_,null,C,v,M,$,S);else break;E--,L--}if(w>E){if(w<=L){const V=L+1,Y=V<B?p[V].el:x;for(;w<=L;)P(null,p[w]=S?ee(p[w]):jt(p[w]),_,Y,C,v,M,$,S),w++}}else if(w>L)for(;w<=E;)Ut(u[w],C,v,!0),w++;else{const V=w,Y=w,et=new Map;for(w=Y;w<=L;w++){const Tt=p[w]=S?ee(p[w]):jt(p[w]);Tt.key!=null&&et.set(Tt.key,w)}let Z,ct=0;const gt=L-Y+1;let Kt=!1,Wt=0;const ss=new Array(gt);for(w=0;w<gt;w++)ss[w]=0;for(w=V;w<=E;w++){const Tt=u[w];if(ct>=gt){Ut(Tt,C,v,!0);continue}let Gt;if(Tt.key!=null)Gt=et.get(Tt.key);else for(Z=Y;Z<=L;Z++)if(ss[Z-Y]===0&&ze(Tt,p[Z])){Gt=Z;break}Gt===void 0?Ut(Tt,C,v,!0):(ss[Gt-Y]=w+1,Gt>=Wt?Wt=Gt:Kt=!0,P(Tt,p[Gt],_,null,C,v,M,$,S),ct++)}const Br=Kt?El(ss):we;for(Z=Br.length-1,w=gt-1;w>=0;w--){const Tt=Y+w,Gt=p[Tt],Nr=p[Tt+1],Fr=Tt+1<B?Nr.el||Yi(Nr):x;ss[w]===0?P(null,Gt,_,Fr,C,v,M,$,S):Kt&&(Z<0||w!==Br[Z]?ve(Gt,_,Fr,2):Z--)}}},ve=(u,p,_,x,C=null)=>{const{el:v,type:M,transition:$,children:S,shapeFlag:w}=u;if(w&6){ve(u.component.subTree,p,_,x);return}if(w&128){u.suspense.move(p,_,x);return}if(w&64){M.move(u,p,_,es);return}if(M===z){n(v,p,_);for(let E=0;E<S.length;E++)ve(S[E],p,_,x);n(u.anchor,p,_);return}if(M===Ps){G(u,p,_);return}if(x!==2&&w&1&&$)if(x===0)$.persisted&&!v[an]?n(v,p,_):($.beforeEnter(v),n(v,p,_),wt(()=>$.enter(v),C));else{const{leave:E,delayLeave:L,afterLeave:V}=$,Y=()=>{u.ctx.isUnmounted?i(v):n(v,p,_)},et=()=>{const Z=v._isLeaving||!!v[an];v._isLeaving&&v[an](!0),$.persisted&&!Z?Y():E(v,()=>{Y(),V&&V()})};L?L(v,Y,et):et()}else n(v,p,_)},Ut=(u,p,_,x=!1,C=!1)=>{const{type:v,props:M,ref:$,children:S,dynamicChildren:w,shapeFlag:B,patchFlag:E,dirs:L,cacheIndex:V,memo:Y}=u;if(E===-2&&(C=!1),$!=null&&(Dt(),Ke($,null,_,u,!0),Bt()),V!=null&&(p.renderCache[V]=void 0),B&256){p.ctx.deactivate(u);return}const et=B&1&&L,Z=!We(u);let ct;if(Z&&(ct=M&&M.onVnodeBeforeUnmount)&&Vt(ct,p,u),B&6)hd(u.component,_,x);else{if(B&128){u.suspense.unmount(_,x);return}et&&pe(u,null,p,"beforeUnmount"),B&64?u.type.remove(u,p,_,es,x):w&&!w.hasOnce&&(v!==z||E>0&&E&64)?ts(w,p,_,!1,!0):(v===z&&E&384||!C&&B&16)&&ts(S,p,_),x&&Rr(u)}const gt=Y!=null&&V==null;(Z&&(ct=M&&M.onVnodeUnmounted)||et||gt)&&wt(()=>{ct&&Vt(ct,p,u),et&&pe(u,null,p,"unmounted"),gt&&(u.el=null)},_)},Rr=u=>{const{type:p,el:_,anchor:x,transition:C}=u;if(p===z){dd(_,x);return}if(p===Ps){O(u);return}const v=()=>{i(_),C&&!C.persisted&&C.afterLeave&&C.afterLeave()};if(u.shapeFlag&1&&C&&!C.persisted){const{leave:M,delayLeave:$}=C,S=()=>M(_,v);$?$(u.el,v,S):S()}else v()},dd=(u,p)=>{let _;for(;u!==p;)_=g(u),i(u),u=_;i(p)},hd=(u,p,_)=>{const{bum:x,scope:C,job:v,subTree:M,um:$,m:S,a:w}=u;zi(S),zi(w),x&&as(x),C.stop(),v&&(v.flags|=8,Ut(M,u,p,_)),$&&wt($,p),wt(()=>{u.isUnmounted=!0},p)},ts=(u,p,_,x=!1,C=!1,v=0)=>{for(let M=v;M<u.length;M++)Ut(u[M],p,_,x,C)},Ns=u=>{if(u.shapeFlag&6)return Ns(u.component.subTree);if(u.shapeFlag&128)return u.suspense.next();const p=g(u.anchor||u.el),_=p&&p[yi];return _?g(_):p};let Mn=!1;const Dr=(u,p,_)=>{let x;u==null?p._vnode&&(Ut(p._vnode,null,null,!0),x=p._vnode.component):P(p._vnode||null,u,p,null,null,null,_),p._vnode=u,Mn||(Mn=!0,hi(x),pi(),Mn=!1)},es={p:P,um:Ut,m:ve,r:Rr,mt:re,mc:N,pc:nt,pbc:it,n:Ns,o:t};return{render:Dr,hydrate:void 0,createApp:pl(Dr)}}function yn({type:t,props:e},s){return s==="svg"&&t==="foreignObject"||s==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:s}function me({effect:t,job:e},s){s?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function Pl(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function vn(t,e,s=!1){const n=t.children,i=e.children;if(j(n)&&j(i))for(let r=0;r<n.length;r++){const o=n[r];let l=i[r];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=i[r]=ee(i[r]),l.el=o.el),!s&&l.patchFlag!==-2&&vn(o,l)),l.type===Ms&&(l.patchFlag===-1&&(l=i[r]=ee(l)),l.el=o.el),l.type===ce&&!l.el&&(l.el=o.el)}}function El(t){const e=t.slice(),s=[0];let n,i,r,o,l;const a=t.length;for(n=0;n<a;n++){const f=t[n];if(f!==0){if(i=s[s.length-1],t[i]<f){e[n]=i,s.push(n);continue}for(r=0,o=s.length-1;r<o;)l=r+o>>1,t[s[l]]<f?r=l+1:o=l;f<t[s[r]]&&(r>0&&(e[n]=s[r-1]),s[r]=n)}}for(r=s.length,o=s[r-1];r-- >0;)s[r]=o,o=e[o];return s}function Ji(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:Ji(e)}function zi(t){if(t)for(let e=0;e<t.length;e++)t[e].flags|=8}function Yi(t){if(t.placeholder)return t.placeholder;const e=t.component;return e?Yi(e.subTree):null}const Qi=t=>t.__isSuspense;function Ol(t,e){e&&e.pendingBranch?j(t)?e.effects.push(...t):e.effects.push(t):Io(t)}const z=Symbol.for("v-fgt"),Ms=Symbol.for("v-txt"),ce=Symbol.for("v-cmt"),Ps=Symbol.for("v-stc"),be=[];let St=null;function m(t=!1){be.push(St=t?null:[])}function Xi(){be.pop(),St=be[be.length-1]||null}let Je=1;function Zi(t,e=!1){Je+=t,t<0&&St&&e&&(St.hasOnce=!0)}function tr(t){return t.dynamicChildren=Je>0?St||we:null,Xi(),Je>0&&St&&St.push(t),t}function b(t,e,s,n,i,r){return tr(c(t,e,s,n,i,r,!0))}function ue(t,e,s,n,i){return tr(At(t,e,s,n,i,!0))}function er(t){return t?t.__v_isVNode===!0:!1}function ze(t,e){return t.type===e.type&&t.key===e.key}const sr=({key:t})=>t??null,Es=({ref:t,ref_key:e,ref_for:s})=>(typeof t=="number"&&(t=""+t),t!=null?rt(t)||ot(t)||U(t)?{i:xt,r:t,k:e,f:!!s}:t:null);function c(t,e=null,s=null,n=0,i=null,r=t===z?0:1,o=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&sr(e),ref:e&&Es(e),scopeId:_i,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:xt};return l?(Os(a,s),r&128&&t.normalize(a)):s&&(a.shapeFlag|=rt(s)?8:16),Je>0&&!o&&St&&(a.patchFlag>0||r&6)&&a.patchFlag!==32&&St.push(a),a}const At=Il;function Il(t,e=null,s=null,n=0,i=null,r=!1){if((!t||t===rl)&&(t=ce),er(t)){const l=Te(t,e,!0);return s&&Os(l,s),Je>0&&!r&&St&&(l.shapeFlag&6?St[St.indexOf(t)]=l:St.push(l)),l.patchFlag=-2,l}if(Gl(t)&&(t=t.__vccOpts),e){e=Ll(e);let{class:l,style:a}=e;l&&!rt(l)&&(e.class=Pt(l)),X(a)&&(bs(a)&&!j(a)&&(a=dt({},a)),e.style=us(a))}const o=rt(t)?1:Qi(t)?128:Vo(t)?64:X(t)?4:U(t)?2:0;return c(t,e,s,n,i,o,r,!0)}function Ll(t){return t?bs(t)||Vi(t)?dt({},t):t:null}function Te(t,e,s=!1,n=!1){const{props:i,ref:r,patchFlag:o,children:l,transition:a}=t,f=e?Dl(i||{},e):i,h={__v_isVNode:!0,__v_skip:!0,type:t.type,props:f,key:f&&sr(f),ref:e&&e.ref?s&&r?j(r)?r.concat(Es(e)):[r,Es(e)]:Es(e):r,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:l,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==z?o===-1?16:o|16:o,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:a,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Te(t.ssContent),ssFallback:t.ssFallback&&Te(t.ssFallback),placeholder:t.placeholder,el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return a&&n&&cn(h,a.clone(h)),h}function ft(t=" ",e=0){return At(Ms,null,t,e)}function Rl(t,e){const s=At(Ps,null,t);return s.staticCount=e,s}function R(t="",e=!1){return e?(m(),ue(ce,null,t)):At(ce,null,t)}function jt(t){return t==null||typeof t=="boolean"?At(ce):j(t)?At(z,null,t.slice()):er(t)?ee(t):At(Ms,null,String(t))}function ee(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:Te(t)}function Os(t,e){let s=0;const{shapeFlag:n}=t;if(e==null)e=null;else if(j(e))s=16;else if(typeof e=="object")if(n&65){const i=e.default;i&&(i._c&&(i._d=!1),Os(t,i()),i._c&&(i._d=!0));return}else{s=32;const i=e._;!i&&!Vi(e)?e._ctx=xt:i===3&&xt&&(xt.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else if(U(e)){if(n&65){Os(t,{default:e});return}e={default:e,_ctx:xt},s=32}else e=String(e),n&64?(s=16,e=[ft(e)]):s=8;t.children=e,t.shapeFlag|=s}function Dl(...t){const e={};for(let s=0;s<t.length;s++){const n=t[s];for(const i in n)if(i==="class")e.class!==n.class&&(e.class=Pt([e.class,n.class]));else if(i==="style")e.style=us([e.style,n.style]);else if(ns(i)){const r=e[i],o=n[i];o&&r!==o&&!(j(r)&&r.includes(o))?e[i]=r?[].concat(r,o):o:o==null&&r==null&&!is(i)&&(e[i]=o)}else i!==""&&(e[i]=n[i])}return e}function Vt(t,e,s,n=null){It(t,e,7,[s,n])}const Bl=Li();let Nl=0;function Fl(t,e,s){const n=t.type,i=(e?e.appContext:t.appContext)||Bl,r={uid:Nl++,vnode:t,type:n,parent:e,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Vn(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(i.provides),ids:e?e.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Ui(n,i),emitsOptions:Ri(n,i),emit:null,emitted:null,propsDefaults:tt,inheritAttrs:n.inheritAttrs,ctx:tt,data:tt,props:tt,attrs:tt,slots:tt,refs:tt,setupState:tt,setupContext:null,suspense:s,suspenseId:s?s.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 r.ctx={_:r},r.root=e?e.root:r,r.emit=_l.bind(null,r),t.ce&&t.ce(r),r}let mt=null;const nr=()=>mt||xt;let Is,wn;{const t=cs(),e=(s,n)=>{let i;return(i=t[s])||(i=t[s]=[]),i.push(n),r=>{i.length>1?i.forEach(o=>o(r)):i[0](r)}};Is=e("__VUE_INSTANCE_SETTERS__",s=>mt=s),wn=e("__VUE_SSR_SETTERS__",s=>Qe=s)}const Ye=t=>{const e=mt;return Is(t),t.scope.on(),()=>{t.scope.off(),Is(e)}},ir=()=>{mt&&mt.scope.off(),Is(null)};function rr(t){return t.vnode.shapeFlag&4}let Qe=!1;function jl(t,e=!1,s=!1){e&&wn(e);const{props:n,children:i}=t.vnode,r=rr(t);kl(t,n,r,e),Al(t,i,s||e);const o=r?Vl(t,e):void 0;return e&&wn(!1),o}function Vl(t,e){const s=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,ll);const{setup:n}=s;if(n){Dt();const i=t.setupContext=n.length>1?Ul(t):null,r=Ye(t),o=Se(n,t,0,[t.props,i]),l=In(o);if(Bt(),r(),(l||t.sp)&&!We(t)&&ki(t),l){if(o.then(ir,ir),e)return o.then(a=>{or(t,a)}).catch(a=>{ws(a,t,0)});t.asyncDep=o}else or(t,o)}else lr(t)}function or(t,e,s){U(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:X(e)&&(t.setupState=ai(e)),lr(t)}function lr(t,e,s){const n=t.type;t.render||(t.render=n.render||Lt);{const i=Ye(t);Dt();try{al(t)}finally{Bt(),i()}}}const Hl={get(t,e){return _t(t,"get",""),t[e]}};function Ul(t){const e=s=>{t.exposed=s||{}};return{attrs:new Proxy(t.attrs,Hl),slots:t.slots,emit:t.emit,expose:e}}function Ls(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(ai(sn(t.exposed)),{get(e,s){if(s in e)return e[s];if(s in Ge)return Ge[s](t)},has(e,s){return s in e||s in Ge}})):t.proxy}const Kl=/(?:^|[-_])\w/g,Wl=t=>t.replace(Kl,e=>e.toUpperCase()).replace(/[-_]/g,"");function ar(t,e=!0){return U(t)?t.displayName||t.name:t.name||e&&t.__name}function cr(t,e,s=!1){let n=ar(e);if(!n&&e.__file){const i=e.__file.match(/([^/\\]+)\.\w+$/);i&&(n=i[1])}if(!n&&t){const i=r=>{for(const o in r)if(r[o]===e)return o};n=i(t.components)||t.parent&&i(t.parent.type.components)||i(t.appContext.components)}return n?Wl(n):s?"App":"Anonymous"}function Gl(t){return U(t)&&"__vccOpts"in t}const kt=(t,e)=>xo(t,e,Qe),ql="3.5.40";/**
13
+ **/const Vt=[];let nn=!1;function cd(e,...t){if(nn)return;nn=!0,De();const s=Vt.length?Vt[Vt.length-1].component:null,n=s&&s.appContext.config.warnHandler,i=Eo();if(n)$t(n,s,11,[e+t.map(r=>{var o,l;return(l=(o=r.toString)==null?void 0:o.call(r))!=null?l:JSON.stringify(r)}).join(""),s&&s.proxy,i.map(({vnode:r})=>`at <${ur(s,r.type)}>`).join(`
14
+ `),i]);else{const r=[`[Vue warn]: ${e}`,...t];i.length&&r.push(`
15
+ `,...Ao(i)),console.warn(...r)}Ne(),nn=!1}function Eo(){let e=Vt[Vt.length-1];if(!e)return[];const t=[];for(;e;){const s=t[0];s&&s.vnode===e?s.recurseCount++:t.push({vnode:e,recurseCount:0});const n=e.component&&e.component.parent;e=n&&n.vnode}return t}function Ao(e){const t=[];return e.forEach((s,n)=>{t.push(...n===0?[]:[`
16
+ `],...Mo(s))}),t}function Mo({vnode:e,recurseCount:t}){const s=t>0?`... (${t} recursive calls)`:"",n=e.component?e.component.parent==null:!1,i=` at <${ur(e.component,e.type,n)}`,r=">"+s;return e.props?[i,...Io(e.props),r]:[i+r]}function Io(e){const t=[],s=Object.keys(e);return s.slice(0,3).forEach(n=>{t.push(...ui(n,e[n]))}),s.length>3&&t.push(" ..."),t}function ui(e,t,s){return le(t)?(t=JSON.stringify(t),s?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?s?t:[`${e}=${t}`]:ae(t)?(t=ui(e,z(t.value),!0),s?t:[`${e}=Ref<`,t,">"]):W(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=z(t),s?t:[`${e}=`,t])}function $t(e,t,s,n){try{return n?e(...n):e()}catch(i){ws(i,t,s)}}function Oe(e,t,s,n){if(W(e)){const i=$t(e,t,s,n);return i&&Ln(i)&&i.catch(r=>{ws(r,t,s)}),i}if(U(e)){const i=[];for(let r=0;r<e.length;r++)i.push(Oe(e[r],t,s,n));return i}}function ws(e,t,s,n=!0){const i=t?t.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||te;if(t){let l=t.parent;const a=t.proxy,d=`https://vuejs.org/error-reference/#runtime-${s}`;for(;l;){const f=l.ec;if(f){for(let m=0;m<f.length;m++)if(f[m](e,a,d)===!1)return}l=l.parent}if(r){De(),$t(r,null,10,[e,a,d]),Ne();return}}Po(e,s,i,n,o)}function Po(e,t,s,n=!0,i=!1){if(i)throw e;console.error(e)}const ye=[];let je=-1;const Tt=[];let at=null,Et=0;const fi=Promise.resolve();let ks=null;function di(e){const t=ks||fi;return e?t.then(this?e.bind(this):e):t}function Oo(e){let t=je+1,s=ye.length;for(;t<s;){const n=t+s>>>1,i=ye[n],r=Ht(i);r<e||r===e&&i.flags&2?t=n+1:s=n}return t}function rn(e){if(!(e.flags&1)){const t=Ht(e),s=ye[ye.length-1];!s||!(e.flags&2)&&t>=Ht(s)?ye.push(e):ye.splice(Oo(t),0,e),e.flags|=1,hi()}}function hi(){ks||(ks=fi.then(mi))}function Lo(e){U(e)?Tt.push(...e):at&&e.id===-1?at.splice(Et+1,0,e):e.flags&1||(Tt.push(e),e.flags|=1),hi()}function pi(e,t,s=je+1){for(;s<ye.length;s++){const n=ye[s];if(n&&n.flags&2){if(e&&n.id!==e.uid)continue;ye.splice(s,1),s--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function gi(e){if(Tt.length){const t=[...new Set(Tt)].sort((s,n)=>Ht(s)-Ht(n));if(Tt.length=0,at){at.push(...t);return}for(at=t,Et=0;Et<at.length;Et++){const s=at[Et];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}at=null,Et=0}}const Ht=e=>e.id==null?e.flags&2?-1:1/0:e.id;function mi(e){try{for(je=0;je<ye.length;je++){const t=ye[je];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),$t(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;je<ye.length;je++){const t=ye[je];t&&(t.flags&=-2)}je=-1,ye.length=0,gi(),ks=null,(ye.length||Tt.length)&&mi()}}let Se=null,_i=null;function xs(e){const t=Se;return Se=e,_i=e&&e.type.__scopeId||null,t}function Ro(e,t=Se,s){if(!t||e._n)return e;const n=(...i)=>{n._d&&er(-1);const r=xs(t),o=bt.length;let l;try{l=e(...i)}finally{for(let a=bt.length;a>o;a--)Zi();xs(r),n._d&&er(1)}return l};return n._n=!0,n._c=!0,n._d=!0,n}function Do(e,t){if(Se===null)return e;const s=Ls(Se),n=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[r,o,l,a=te]=t[i];r&&(W(r)&&(r={mounted:r,updated:r}),r.deep&&Xe(o),n.push({dir:r,instance:s,value:o,oldValue:void 0,arg:l,modifiers:a}))}return e}function gt(e,t,s,n){const i=e.dirs,r=t&&t.dirs;for(let o=0;o<i.length;o++){const l=i[o];r&&(l.oldValue=r[o].value);let a=l.dir[n];a&&(De(),Oe(a,s,8,[e.el,l,e,t]),Ne())}}function No(e,t){if(ve){let s=ve.provides;const n=ve.parent&&ve.parent.provides;n===s&&(s=ve.provides=Object.create(n)),s[e]=t}}function Bt(e,t,s=!1){const n=ir();if(n||_t){let i=_t?_t._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return s&&W(t)?t.call(n&&n.proxy):t}}function Fo(){return!!(ir()||_t)}const jo=Symbol.for("v-scx"),Vo=()=>Bt(jo);function ct(e,t,s){return vi(e,t,s)}function vi(e,t,s=te){const{immediate:n,deep:i,flush:r,once:o}=s,l=pe({},s),a=t&&n||!t&&r!=="post";let d;if(Qt){if(r==="sync"){const p=Vo();d=p.__watcherHandles||(p.__watcherHandles=[])}else if(!a){const p=()=>{};return p.stop=Le,p.resume=Le,p.pause=Le,p}}const f=ve;l.call=(p,g,_)=>Oe(p,f,g,_);let m=!1;r==="post"?l.scheduler=p=>{ke(p,f&&f.suspense)}:r!=="sync"&&(m=!0,l.scheduler=(p,g)=>{g?p():rn(p)}),l.augmentJob=p=>{t&&(p.flags|=4),m&&(p.flags|=2,f&&(p.id=f.uid,p.i=f))};const C=To(e,t,l);return Qt&&(d?d.push(C):a&&C()),C}function Ho(e,t,s){const n=this.proxy,i=le(e)?e.includes(".")?bi(n,e):()=>n[e]:e.bind(n,n);let r;W(t)?r=t:(r=t.handler,s=t);const o=Yt(this),l=vi(i,r.bind(n),s);return o(),l}function bi(e,t){const s=t.split(".");return()=>{let n=e;for(let i=0;i<s.length&&n;i++)n=n[s[i]];return n}}const ut=new WeakMap,yi=Symbol("_vte"),Bo=e=>e.__isTeleport,mt=e=>e&&(e.disabled||e.disabled===""),Uo=e=>e&&(e.defer||e.defer===""),wi=e=>typeof SVGElement<"u"&&e instanceof SVGElement,ki=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,on=(e,t)=>{const s=e&&e.to;return le(s)?t?t(s):null:s},Ko={name:"Teleport",__isTeleport:!0,process(e,t,s,n,i,r,o,l,a,d){const{mc:f,pc:m,pbc:C,o:{insert:p,querySelector:g,createText:_,createComment:$,parentNode:O}}=d,R=mt(t.props);let{dynamicChildren:q}=t;const D=(F,j,B)=>{F.shapeFlag&16&&f(F.children,j,B,i,r,o,l,a)},G=(F=t)=>{const j=mt(F.props),B=F.target=on(F.props,g),oe=ln(B,F,_,p);B&&(o!=="svg"&&wi(B)?o="svg":o!=="mathml"&&ki(B)&&(o="mathml"),i&&i.isCE&&(i.ce._teleportTargets||(i.ce._teleportTargets=new Set)).add(B),j||(D(F,B,oe),Ut(F,!1)))},A=F=>{const j=()=>{if(ut.get(F)===j){if(ut.delete(F),mt(F.props)){const B=O(F.el)||s;D(F,B,F.anchor),Ut(F,!0)}G(F)}};ut.set(F,j),ke(j,r)};if(e==null){const F=t.el=_(""),j=t.anchor=_("");if(p(F,s,n),p(j,s,n),Uo(t.props)||r&&r.pendingBranch){A(t);return}R&&(D(t,s,j),Ut(t,!0)),G()}else{t.el=e.el;const F=t.anchor=e.anchor,j=ut.get(e);if(j){j.flags|=8,ut.delete(e),A(t);return}t.targetStart=e.targetStart;const B=t.target=e.target,oe=t.targetAnchor=e.targetAnchor,ge=mt(e.props),Te=ge?s:B,Ue=ge?F:oe;if(o==="svg"||wi(B)?o="svg":(o==="mathml"||ki(B))&&(o="mathml"),q?(C(e.dynamicChildren,q,Te,i,r,o,l),yn(e,t,!0)):a||m(e,t,Te,Ue,i,r,o,l,!1),R)ge?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Cs(t,s,F,d,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const rt=on(t.props,g);rt&&(t.target=rt,Cs(t,rt,null,d,0))}else ge&&Cs(t,B,oe,d,1);Ut(t,R)}},remove(e,t,s,{um:n,o:{remove:i}},r){const{shapeFlag:o,children:l,anchor:a,targetStart:d,targetAnchor:f,target:m,props:C}=e,p=mt(C),g=r||!p,_=ut.get(e);if(_&&(_.flags|=8,ut.delete(e)),m&&(i(d),i(f)),r&&i(a),!_&&(p||m)&&o&16)for(let $=0;$<l.length;$++){const O=l[$];n(O,t,s,g,!!O.dynamicChildren)}},move:Cs,hydrate:Wo};function Cs(e,t,s,{o:{insert:n},m:i},r=2){r===0&&n(e.targetAnchor,t,s);const{el:o,anchor:l,shapeFlag:a,children:d,props:f}=e,m=r===2;if(m&&n(o,t,s),!ut.has(e)&&(!m||mt(f))&&a&16)for(let C=0;C<d.length;C++)i(d[C],t,s,2);m&&n(l,t,s)}function Wo(e,t,s,n,i,r,{o:{nextSibling:o,parentNode:l,querySelector:a,insert:d,createText:f}},m){function C($,O){let R=O;for(;R;){if(R&&R.nodeType===8){if(R.data==="teleport start anchor")t.targetStart=R;else if(R.data==="teleport anchor"){t.targetAnchor=R,$._lpa=t.targetAnchor&&o(t.targetAnchor);break}}R=o(R)}}function p($,O){O.anchor=m(o($),O,l($),s,n,i,r)}const g=t.target=on(t.props,a),_=mt(t.props);if(g){const $=g._lpa||g.firstChild;t.shapeFlag&16&&(_?(p(e,t),C(g,$),t.targetAnchor||ln(g,t,f,d,l(e)===g?e:null)):(t.anchor=o(e),C(g,$),t.targetAnchor||ln(g,t,f,d),m($&&o($),t,g,s,n,i,r))),Ut(t,_)}else _&&t.shapeFlag&16&&(p(e,t),t.targetStart=e,t.targetAnchor=o(e));return t.anchor&&o(t.anchor)}const qo=Ko;function Ut(e,t){const s=e.ctx;if(s&&s.ut){let n,i;for(t?(n=e.el,i=e.anchor):(n=e.targetStart,i=e.targetAnchor);n&&n!==i;)n.nodeType===1&&n.setAttribute("data-v-owner",s.uid),n=n.nextSibling;s.ut()}}function ln(e,t,s,n,i=null){const r=t.targetStart=s(""),o=t.targetAnchor=s("");return r[yi]=o,e&&(n(r,e,i),n(o,e,i)),o}const an=Symbol("_leaveCb");function cn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,cn(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Ze(e,t){return W(e)?pe({name:e.name},t,{setup:e}):e}function xi(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Ci(e,t){let s;return!!((s=Object.getOwnPropertyDescriptor(e,t))&&!s.configurable)}const Ss=new WeakMap;function Kt(e,t,s,n,i=!1){if(U(e)){e.forEach((_,$)=>Kt(_,t&&(U(t)?t[$]:t),s,n,i));return}if(Wt(n)&&!i){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Kt(e,t,s,n.component.subTree);return}const r=n.shapeFlag&4?Ls(n.component):n.el,o=i?null:r,{i:l,r:a}=e,d=t&&t.r,f=l.refs===te?l.refs={}:l.refs,m=l.setupState,C=z(m),p=m===te?In:_=>Ci(f,_)?!1:X(C,_),g=(_,$)=>!($&&Ci(f,$));if(d!=null&&d!==a){if(Si(t),le(d))f[d]=null,p(d)&&(m[d]=null);else if(ae(d)){const _=t;g(d,_.k)&&(d.value=null),_.k&&(f[_.k]=null)}}if(W(a))$t(a,l,12,[o,f]);else{const _=le(a),$=ae(a);if(_||$){const O=()=>{if(e.f){const R=_?p(a)?m[a]:f[a]:g()||!e.k?a.value:f[e.k];if(i)U(R)&&Vs(R,r);else if(U(R))R.includes(r)||R.push(r);else if(_)f[a]=[r],p(a)&&(m[a]=f[a]);else{const q=[r];g(a,e.k)&&(a.value=q),e.k&&(f[e.k]=q)}}else _?(f[a]=o,p(a)&&(m[a]=o)):$&&(g(a,e.k)&&(a.value=o),e.k&&(f[e.k]=o))};if(o){const R=()=>{O(),Ss.delete(e)};R.id=-1,Ss.set(e,R),ke(R,s)}else Si(e),O()}}}function Si(e){const t=Ss.get(e);t&&(t.flags|=8,Ss.delete(e))}cs().requestIdleCallback,cs().cancelIdleCallback;const Wt=e=>!!e.type.__asyncLoader,$i=e=>e.type.__isKeepAlive;function Go(e,t){Ti(e,"a",t)}function Jo(e,t){Ti(e,"da",t)}function Ti(e,t,s=ve){const n=e.__wdc||(e.__wdc=()=>{let i=s;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if($s(t,n,s),s){let i=s.parent;for(;i&&i.parent;)$i(i.parent.vnode)&&zo(n,t,s,i),i=i.parent}}function zo(e,t,s,n){const i=$s(t,e,n,!0);fn(()=>{Vs(n[t],i)},s)}function $s(e,t,s=ve,n=!1){if(s){const i=s[e]||(s[e]=[]),r=t.__weh||(t.__weh=(...o)=>{De();const l=Yt(s),a=Oe(t,s,e,o);return l(),Ne(),a});return n?i.unshift(r):i.push(r),r}}const et=e=>(t,s=ve)=>{(!Qt||e==="sp")&&$s(e,(...n)=>t(...n),s)},Yo=et("bm"),un=et("m"),Qo=et("bu"),Xo=et("u"),Zo=et("bum"),fn=et("um"),el=et("sp"),tl=et("rtg"),sl=et("rtc");function nl(e,t=ve){$s("ec",e,t)}const il="components";function rl(e,t){return ll(il,e,!0,t)||e}const ol=Symbol.for("v-ndc");function ll(e,t,s=!0,n=!1){const i=Se||ve;if(i){const r=i.type;{const l=cr(r,!1);if(l&&(l===t||l===be(t)||l===ls(be(t))))return r}const o=Ei(i[e]||r[e],t)||Ei(i.appContext[e],t);return!o&&n?r:o}}function Ei(e,t){return e&&(e[t]||e[be(t)]||e[ls(be(t))])}function de(e,t,s,n){let i;const r=s,o=U(e);if(o||le(e)){const l=o&&Ye(e);let a=!1,d=!1;l&&(a=!Ce(e),d=Qe(e),e=ds(e)),i=new Array(e.length);for(let f=0,m=e.length;f<m;f++)i[f]=t(a?d?St(Pe(e[f])):Pe(e[f]):e[f],f,void 0,r)}else if(typeof e=="number"){i=new Array(e);for(let l=0;l<e;l++)i[l]=t(l+1,l,void 0,r)}else if(Z(e))if(e[Symbol.iterator])i=Array.from(e,(l,a)=>t(l,a,void 0,r));else{const l=Object.keys(e);i=new Array(l.length);for(let a=0,d=l.length;a<d;a++){const f=l[a];i[a]=t(e[f],f,a,r)}}else i=[];return i}const dn=e=>e?or(e)?Ls(e):dn(e.parent):null,qt=pe(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>dn(e.parent),$root:e=>dn(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Pi(e),$forceUpdate:e=>e.f||(e.f=()=>{rn(e.update)}),$nextTick:e=>e.n||(e.n=di.bind(e.proxy)),$watch:e=>Ho.bind(e)}),hn=(e,t)=>e!==te&&!e.__isScriptSetup&&X(e,t),al={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:n,data:i,props:r,accessCache:o,type:l,appContext:a}=e;if(t[0]!=="$"){const C=o[t];if(C!==void 0)switch(C){case 1:return n[t];case 2:return i[t];case 4:return s[t];case 3:return r[t]}else{if(hn(n,t))return o[t]=1,n[t];if(i!==te&&X(i,t))return o[t]=2,i[t];if(X(r,t))return o[t]=3,r[t];if(s!==te&&X(s,t))return o[t]=4,s[t];pn&&(o[t]=0)}}const d=qt[t];let f,m;if(d)return t==="$attrs"&&_e(e.attrs,"get",""),d(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(s!==te&&X(s,t))return o[t]=4,s[t];if(m=a.config.globalProperties,X(m,t))return m[t]},set({_:e},t,s){const{data:n,setupState:i,ctx:r}=e;return hn(i,t)?(i[t]=s,!0):n!==te&&X(n,t)?(n[t]=s,!0):X(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:i,props:r,type:o}},l){let a;return!!(s[l]||e!==te&&l[0]!=="$"&&X(e,l)||hn(t,l)||X(r,l)||X(n,l)||X(qt,l)||X(i.config.globalProperties,l)||(a=o.__cssModules)&&a[l])},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:X(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function Ai(e){return U(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let pn=!0;function cl(e){const t=Pi(e),s=e.proxy,n=e.ctx;pn=!1,t.beforeCreate&&Mi(t.beforeCreate,e,"bc");const{data:i,computed:r,methods:o,watch:l,provide:a,inject:d,created:f,beforeMount:m,mounted:C,beforeUpdate:p,updated:g,activated:_,deactivated:$,beforeDestroy:O,beforeUnmount:R,destroyed:q,unmounted:D,render:G,renderTracked:A,renderTriggered:F,errorCaptured:j,serverPrefetch:B,expose:oe,inheritAttrs:ge,components:Te,directives:Ue,filters:rt}=t;if(d&&ul(d,n,null),o)for(const J in o){const re=o[J];W(re)&&(n[J]=re.bind(s))}if(i){const J=i.call(s,s);Z(J)&&(e.data=ms(J))}if(pn=!0,r)for(const J in r){const re=r[J],yt=W(re)?re.bind(s,s):W(re.get)?re.get.bind(s,s):Le,Ns=!W(re)&&W(re.set)?re.set.bind(s):Le,wt=se({get:yt,set:Ns});Object.defineProperty(n,J,{enumerable:!0,configurable:!0,get:()=>wt.value,set:Ke=>wt.value=Ke})}if(l)for(const J in l)Ii(l[J],n,s,J);if(a){const J=W(a)?a.call(s):a;Reflect.ownKeys(J).forEach(re=>{No(re,J[re])})}f&&Mi(f,e,"c");function ce(J,re){U(re)?re.forEach(yt=>J(yt.bind(s))):re&&J(re.bind(s))}if(ce(Yo,m),ce(un,C),ce(Qo,p),ce(Xo,g),ce(Go,_),ce(Jo,$),ce(nl,j),ce(sl,A),ce(tl,F),ce(Zo,R),ce(fn,D),ce(el,B),U(oe))if(oe.length){const J=e.exposed||(e.exposed={});oe.forEach(re=>{Object.defineProperty(J,re,{get:()=>s[re],set:yt=>s[re]=yt,enumerable:!0})})}else e.exposed||(e.exposed={});G&&e.render===Le&&(e.render=G),ge!=null&&(e.inheritAttrs=ge),Te&&(e.components=Te),Ue&&(e.directives=Ue),B&&xi(e)}function ul(e,t,s=Le){U(e)&&(e=gn(e));for(const n in e){const i=e[n];let r;Z(i)?"default"in i?r=Bt(i.from||n,i.default,!0):r=Bt(i.from||n):r=Bt(i),ae(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:o=>r.value=o}):t[n]=r}}function Mi(e,t,s){Oe(U(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function Ii(e,t,s,n){let i=n.includes(".")?bi(s,n):()=>s[n];if(le(e)){const r=t[e];W(r)&&ct(i,r)}else if(W(e))ct(i,e.bind(s));else if(Z(e))if(U(e))e.forEach(r=>Ii(r,t,s,n));else{const r=W(e.handler)?e.handler.bind(s):t[e.handler];W(r)&&ct(i,r,e)}}function Pi(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:i,optionsCache:r,config:{optionMergeStrategies:o}}=e.appContext,l=r.get(t);let a;return l?a=l:!i.length&&!s&&!n?a=t:(a={},i.length&&i.forEach(d=>Ts(a,d,o,!0)),Ts(a,t,o)),Z(t)&&r.set(t,a),a}function Ts(e,t,s,n=!1){const{mixins:i,extends:r}=t;r&&Ts(e,r,s,!0),i&&i.forEach(o=>Ts(e,o,s,!0));for(const o in t)if(!(n&&o==="expose")){const l=fl[o]||s&&s[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const fl={data:Oi,props:Li,emits:Li,methods:Gt,computed:Gt,beforeCreate:we,created:we,beforeMount:we,mounted:we,beforeUpdate:we,updated:we,beforeDestroy:we,beforeUnmount:we,destroyed:we,unmounted:we,activated:we,deactivated:we,errorCaptured:we,serverPrefetch:we,components:Gt,directives:Gt,watch:hl,provide:Oi,inject:dl};function Oi(e,t){return t?e?function(){return pe(W(e)?e.call(this,this):e,W(t)?t.call(this,this):t)}:t:e}function dl(e,t){return Gt(gn(e),gn(t))}function gn(e){if(U(e)){const t={};for(let s=0;s<e.length;s++)t[e[s]]=e[s];return t}return e}function we(e,t){return e?[...new Set([].concat(e,t))]:t}function Gt(e,t){return e?pe(Object.create(null),e,t):t}function Li(e,t){return e?U(e)&&U(t)?[...new Set([...e,...t])]:pe(Object.create(null),Ai(e),Ai(t??{})):t}function hl(e,t){if(!e)return t;if(!t)return e;const s=pe(Object.create(null),e);for(const n in t)s[n]=we(e[n],t[n]);return s}function Ri(){return{app:null,config:{isNativeTag:In,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 pl=0;function gl(e,t){return function(n,i=null){W(n)||(n=pe({},n)),i!=null&&!Z(i)&&(i=null);const r=Ri(),o=new WeakSet,l=[];let a=!1;const d=r.app={_uid:pl++,_component:n,_props:i,_container:null,_context:r,_instance:null,version:Jl,get config(){return r.config},set config(f){},use(f,...m){return o.has(f)||(f&&W(f.install)?(o.add(f),f.install(d,...m)):W(f)&&(o.add(f),f(d,...m))),d},mixin(f){return r.mixins.includes(f)||r.mixins.push(f),d},component(f,m){return m?(r.components[f]=m,d):r.components[f]},directive(f,m){return m?(r.directives[f]=m,d):r.directives[f]},mount(f,m,C){if(!a){const p=d._ceVNode||Me(n,i);return p.appContext=r,C===!0?C="svg":C===!1&&(C=void 0),e(p,f,C),a=!0,d._container=f,f.__vue_app__=d,Ls(p.component)}},onUnmount(f){l.push(f)},unmount(){a&&(Oe(l,d._instance,16),e(null,d._container),delete d._container.__vue_app__)},provide(f,m){return r.provides[f]=m,d},runWithContext(f){const m=_t;_t=d;try{return f()}finally{_t=m}}};return d}}let _t=null;const ml=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${be(t)}Modifiers`]||e[`${ot(t)}Modifiers`];function _l(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||te;let i=s;const r=t.startsWith("update:"),o=r&&ml(n,t.slice(7));o&&(o.trim&&(i=s.map(f=>le(f)?f.trim():f)),o.number&&(i=s.map(Bs)));let l,a=n[l=Hs(t)]||n[l=Hs(be(t))];!a&&r&&(a=n[l=Hs(ot(t))]),a&&Oe(a,e,6,i);const d=n[l+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Oe(d,e,6,i)}}const vl=new WeakMap;function Di(e,t,s=!1){const n=s?vl:t.emitsCache,i=n.get(e);if(i!==void 0)return i;const r=e.emits;let o={},l=!1;if(!W(e)){const a=d=>{const f=Di(d,t,!0);f&&(l=!0,pe(o,f))};!s&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!r&&!l?(Z(e)&&n.set(e,null),null):(U(r)?r.forEach(a=>o[a]=null):pe(o,r),Z(e)&&n.set(e,o),o)}function Es(e,t){return!e||!ns(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),X(e,t[0].toLowerCase()+t.slice(1))||X(e,ot(t))||X(e,t))}function ud(){}function Ni(e){const{type:t,vnode:s,proxy:n,withProxy:i,propsOptions:[r],slots:o,attrs:l,emit:a,render:d,renderCache:f,props:m,data:C,setupState:p,ctx:g,inheritAttrs:_}=e,$=xs(e);let O,R;try{if(s.shapeFlag&4){const D=i||n,G=D;O=Ve(d.call(G,D,f,m,p,C,g)),R=l}else{const D=t;O=Ve(D.length>1?D(m,{attrs:l,slots:o,emit:a}):D(m,null)),R=t.props?l:bl(l)}}catch(D){bt.length=0,ws(D,e,1),O=Me(ft)}let q=O;if(R&&_!==!1){const D=Object.keys(R),{shapeFlag:G}=q;D.length&&G&7&&(r&&D.some(is)&&(R=yl(R,r)),q=At(q,R,!1,!0))}return s.dirs&&(q=At(q,null,!1,!0),q.dirs=q.dirs?q.dirs.concat(s.dirs):s.dirs),s.transition&&cn(q,s.transition),O=q,xs($),O}const bl=e=>{let t;for(const s in e)(s==="class"||s==="style"||ns(s))&&((t||(t={}))[s]=e[s]);return t},yl=(e,t)=>{const s={};for(const n in e)(!is(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function wl(e,t,s){const{props:n,children:i,component:r}=e,{props:o,children:l,patchFlag:a}=t,d=r.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&a>=0){if(a&1024)return!0;if(a&16)return n?Fi(n,o,d):!!o;if(a&8){const f=t.dynamicProps;for(let m=0;m<f.length;m++){const C=f[m];if(ji(o,n,C)&&!Es(d,C))return!0}}}else return(i||l)&&(!l||!l.$stable)?!0:n===o?!1:n?o?Fi(n,o,d):!0:!!o;return!1}function Fi(e,t,s){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let i=0;i<n.length;i++){const r=n[i];if(ji(t,e,r)&&!Es(s,r))return!0}return!1}function ji(e,t,s){const n=e[s],i=t[s];return s==="style"&&Z(n)&&Z(i)?!Us(n,i):n!==i}function kl({vnode:e,parent:t,suspense:s},n){for(;t;){const i=t.subTree;if(i.suspense&&i.suspense.activeBranch===e&&(i.suspense.vnode.el=i.el=n,e=i),i===e)(e=t.vnode).el=n,t=t.parent;else break}s&&s.activeBranch===e&&(s.vnode.el=n)}const Vi={},Hi=()=>Object.create(Vi),Bi=e=>Object.getPrototypeOf(e)===Vi;function xl(e,t,s,n=!1){const i={},r=Hi();e.propsDefaults=Object.create(null),Ui(e,t,i,r);for(const o in e.propsOptions[0])o in i||(i[o]=void 0);s?e.props=n?i:_o(i):e.type.props?e.props=i:e.props=r,e.attrs=r}function Cl(e,t,s,n){const{props:i,attrs:r,vnode:{patchFlag:o}}=e,l=z(i),[a]=e.propsOptions;let d=!1;if((n||o>0)&&!(o&16)){if(o&8){const f=e.vnode.dynamicProps;for(let m=0;m<f.length;m++){let C=f[m];if(Es(e.emitsOptions,C))continue;const p=t[C];if(a)if(X(r,C))p!==r[C]&&(r[C]=p,d=!0);else{const g=be(C);i[g]=mn(a,l,g,p,e,!1)}else p!==r[C]&&(r[C]=p,d=!0)}}}else{Ui(e,t,i,r)&&(d=!0);let f;for(const m in l)(!t||!X(t,m)&&((f=ot(m))===m||!X(t,f)))&&(a?s&&(s[m]!==void 0||s[f]!==void 0)&&(i[m]=mn(a,l,m,void 0,e,!0)):delete i[m]);if(r!==l)for(const m in r)(!t||!X(t,m))&&(delete r[m],d=!0)}d&&Je(e.attrs,"set","")}function Ui(e,t,s,n){const[i,r]=e.propsOptions;let o=!1,l;if(t)for(let a in t){if(Lt(a))continue;const d=t[a];let f;i&&X(i,f=be(a))?!r||!r.includes(f)?s[f]=d:(l||(l={}))[f]=d:Es(e.emitsOptions,a)||(!(a in n)||d!==n[a])&&(n[a]=d,o=!0)}if(r){const a=z(s),d=l||te;for(let f=0;f<r.length;f++){const m=r[f];s[m]=mn(i,a,m,d[m],e,!X(d,m))}}return o}function mn(e,t,s,n,i,r){const o=e[s];if(o!=null){const l=X(o,"default");if(l&&n===void 0){const a=o.default;if(o.type!==Function&&!o.skipFactory&&W(a)){const{propsDefaults:d}=i;if(s in d)n=d[s];else{const f=Yt(i);n=d[s]=a.call(null,t),f()}}else n=a;i.ce&&i.ce._setProp(s,n)}o[0]&&(r&&!l?n=!1:o[1]&&(n===""||n===ot(s))&&(n=!0))}return n}const Sl=new WeakMap;function Ki(e,t,s=!1){const n=s?Sl:t.propsCache,i=n.get(e);if(i)return i;const r=e.props,o={},l=[];let a=!1;if(!W(e)){const f=m=>{a=!0;const[C,p]=Ki(m,t,!0);pe(o,C),p&&l.push(...p)};!s&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!r&&!a)return Z(e)&&n.set(e,kt),kt;if(U(r))for(let f=0;f<r.length;f++){const m=be(r[f]);Wi(m)&&(o[m]=te)}else if(r)for(const f in r){const m=be(f);if(Wi(m)){const C=r[f],p=o[m]=U(C)||W(C)?{type:C}:pe({},C),g=p.type;let _=!1,$=!0;if(U(g))for(let O=0;O<g.length;++O){const R=g[O],q=W(R)&&R.name;if(q==="Boolean"){_=!0;break}else q==="String"&&($=!1)}else _=W(g)&&g.name==="Boolean";p[0]=_,p[1]=$,(_||X(p,"default"))&&l.push(m)}}const d=[o,l];return Z(e)&&n.set(e,d),d}function Wi(e){return e[0]!=="$"&&!Lt(e)}const _n=e=>e==="_"||e==="_ctx"||e==="$stable",vn=e=>U(e)?e.map(Ve):[Ve(e)],$l=(e,t,s)=>{if(t._n)return t;const n=Ro((...i)=>vn(t(...i)),s);return n._c=!1,n},qi=(e,t,s)=>{const n=e._ctx;for(const i in e){if(_n(i))continue;const r=e[i];if(W(r))t[i]=$l(i,r,n);else if(r!=null){const o=vn(r);t[i]=()=>o}}},Gi=(e,t)=>{const s=vn(t);e.slots.default=()=>s},Ji=(e,t,s)=>{for(const n in t)(s||!_n(n))&&(e[n]=t[n])},Tl=(e,t,s)=>{const n=e.slots=Hi();if(e.vnode.shapeFlag&32){const i=t._;i?(Ji(n,t,s),s&&Nn(n,"_",i,!0)):qi(t,n)}else t&&Gi(e,t)},El=(e,t,s)=>{const{vnode:n,slots:i}=e;let r=!0,o=te;if(n.shapeFlag&32){const l=t._;l?s&&l===1?r=!1:Ji(i,t,s):(r=!t.$stable,qi(t,i)),o=t}else t&&(Gi(e,t),o={default:1});if(r)for(const l in i)!_n(l)&&o[l]==null&&delete i[l]},ke=Ol;function Al(e){return Ml(e)}function Ml(e,t){const s=cs();s.__VUE__=!0;const{insert:n,remove:i,patchProp:r,createElement:o,createText:l,createComment:a,setText:d,setElementText:f,parentNode:m,nextSibling:C,setScopeId:p=Le,insertStaticContent:g}=e,_=(u,h,v,S=null,x=null,w=null,M=void 0,E=null,T=!!h.dynamicChildren)=>{if(u===h)return;u&&!zt(u,h)&&(S=Fs(u),Ke(u,x,w,!0),u=null),h.patchFlag===-2&&(T=!1,h.dynamicChildren=null);const{type:k,ref:V,shapeFlag:P}=h;switch(k){case As:$(u,h,v,S);break;case ft:O(u,h,v,S);break;case Ms:u==null&&R(h,v,S,M);break;case Q:Te(u,h,v,S,x,w,M,E,T);break;default:P&1?G(u,h,v,S,x,w,M,E,T):P&6?Ue(u,h,v,S,x,w,M,E,T):(P&64||P&128)&&k.process(u,h,v,S,x,w,M,E,T,ts)}V!=null&&x?Kt(V,u&&u.ref,w,h||u,!h):V==null&&u&&u.ref!=null&&Kt(u.ref,null,w,u,!0)},$=(u,h,v,S)=>{if(u==null)n(h.el=l(h.children),v,S);else{const x=h.el=u.el;h.children!==u.children&&d(x,h.children)}},O=(u,h,v,S)=>{u==null?n(h.el=a(h.children||""),v,S):h.el=u.el},R=(u,h,v,S)=>{[u.el,u.anchor]=g(u.children,h,v,S,u.el,u.anchor)},q=({el:u,anchor:h},v,S)=>{let x;for(;u&&u!==h;)x=C(u),n(u,v,S),u=x;n(h,v,S)},D=({el:u,anchor:h})=>{let v;for(;u&&u!==h;)v=C(u),i(u),u=v;i(h)},G=(u,h,v,S,x,w,M,E,T)=>{if(h.type==="svg"?M="svg":h.type==="math"&&(M="mathml"),u==null)A(h,v,S,x,w,M,E,T);else{const k=u.el&&u.el._isVueCE?u.el:null;try{k&&k._beginPatch(),B(u,h,x,w,M,E,T)}finally{k&&k._endPatch()}}},A=(u,h,v,S,x,w,M,E)=>{let T,k;const{props:V,shapeFlag:P,transition:N,dirs:K}=u;if(T=u.el=o(u.type,w,V&&V.is,V),P&8?f(T,u.children):P&16&&j(u.children,T,null,S,x,bn(u,w),M,E),K&&gt(u,null,S,"created"),F(T,u,u.scopeId,M,S),V){for(const ne in V)ne!=="value"&&!Lt(ne)&&r(T,ne,null,V[ne],w,S);"value"in V&&r(T,"value",null,V.value,w),(k=V.onVnodeBeforeMount)&&He(k,S,u)}K&&gt(u,null,S,"beforeMount");const Y=Il(x,N);Y&&N.beforeEnter(T),n(T,h,v),((k=V&&V.onVnodeMounted)||Y||K)&&ke(()=>{try{k&&He(k,S,u),Y&&N.enter(T),K&&gt(u,null,S,"mounted")}finally{}},x)},F=(u,h,v,S,x)=>{if(v&&p(u,v),S)for(let w=0;w<S.length;w++)p(u,S[w]);if(x){let w=x.subTree;if(h===w||Xi(w.type)&&(w.ssContent===h||w.ssFallback===h)){const M=x.vnode;F(u,M,M.scopeId,M.slotScopeIds,x.parent)}}},j=(u,h,v,S,x,w,M,E,T=0)=>{for(let k=T;k<u.length;k++){const V=u[k]=E?st(u[k]):Ve(u[k]);_(null,V,h,v,S,x,w,M,E)}},B=(u,h,v,S,x,w,M)=>{const E=h.el=u.el;let{patchFlag:T,dynamicChildren:k,dirs:V}=h;T|=u.patchFlag&16;const P=u.props||te,N=h.props||te;let K;if(v&&vt(v,!1),(K=N.onVnodeBeforeUpdate)&&He(K,v,h,u),V&&gt(h,u,v,"beforeUpdate"),v&&vt(v,!0),k&&(!u.dynamicChildren||u.dynamicChildren.length!==k.length)&&(T=0,M=!1,k=null),(P.innerHTML&&N.innerHTML==null||P.textContent&&N.textContent==null)&&f(E,""),k?oe(u.dynamicChildren,k,E,v,S,bn(h,x),w):M||re(u,h,E,null,v,S,bn(h,x),w,!1),T>0){if(T&16)ge(E,P,N,v,x);else if(T&2&&P.class!==N.class&&r(E,"class",null,N.class,x),T&4&&r(E,"style",P.style,N.style,x),T&8){const Y=h.dynamicProps;for(let ne=0;ne<Y.length;ne++){const ee=Y[ne],ue=P[ee],me=N[ee];(me!==ue||ee==="value")&&r(E,ee,ue,me,x,v)}}T&1&&u.children!==h.children&&f(E,h.children)}else!M&&k==null&&ge(E,P,N,v,x);((K=N.onVnodeUpdated)||V)&&ke(()=>{K&&He(K,v,h,u),V&&gt(h,u,v,"updated")},S)},oe=(u,h,v,S,x,w,M)=>{for(let E=0;E<h.length;E++){const T=u[E],k=h[E],V=T.el&&(T.type===Q||!zt(T,k)||T.shapeFlag&198)?m(T.el):v;_(T,k,V,null,S,x,w,M,!0)}},ge=(u,h,v,S,x)=>{if(h!==v){if(h!==te)for(const w in h)!Lt(w)&&!(w in v)&&r(u,w,h[w],null,x,S);for(const w in v){if(Lt(w))continue;const M=v[w],E=h[w];M!==E&&w!=="value"&&r(u,w,E,M,x,S)}"value"in v&&r(u,"value",h.value,v.value,x)}},Te=(u,h,v,S,x,w,M,E,T)=>{const k=h.el=u?u.el:l(""),V=h.anchor=u?u.anchor:l("");let{patchFlag:P,dynamicChildren:N,slotScopeIds:K}=h;K&&(E=E?E.concat(K):K),u==null?(n(k,v,S),n(V,v,S),j(h.children||[],v,V,x,w,M,E,T)):P>0&&P&64&&N&&u.dynamicChildren&&u.dynamicChildren.length===N.length?(oe(u.dynamicChildren,N,v,x,w,M,E),(h.key!=null||x&&h===x.subTree)&&yn(u,h,!0)):re(u,h,v,V,x,w,M,E,T)},Ue=(u,h,v,S,x,w,M,E,T)=>{h.slotScopeIds=E,u==null?h.shapeFlag&512?x.ctx.activate(h,v,S,M,T):rt(h,v,S,x,w,M,T):Ds(u,h,T)},rt=(u,h,v,S,x,w,M)=>{const E=u.component=Vl(u,S,x);if($i(u)&&(E.ctx.renderer=ts),Hl(E,!1,M),E.asyncDep){if(x&&x.registerDep(E,ce,M),!u.el){const T=E.subTree=Me(ft);O(null,T,h,v),u.placeholder=T.el}}else ce(E,u,h,v,x,w,M)},Ds=(u,h,v)=>{const S=h.component=u.component;if(wl(u,h,v))if(S.asyncDep&&!S.asyncResolved){J(S,h,v);return}else S.next=h,S.update();else h.el=u.el,S.vnode=h},ce=(u,h,v,S,x,w,M)=>{const E=()=>{if(u.isMounted){let{next:P,bu:N,u:K,parent:Y,vnode:ne}=u;{const qe=zi(u);if(qe){P&&(P.el=ne.el,J(u,P,M)),qe.asyncDep.then(()=>{ke(()=>{u.isUnmounted||k()},x)});return}}let ee=P,ue;vt(u,!1),P?(P.el=ne.el,J(u,P,M)):P=ne,N&&as(N),(ue=P.props&&P.props.onVnodeBeforeUpdate)&&He(ue,Y,P,ne),vt(u,!0);const me=Ni(u),We=u.subTree;u.subTree=me,_(We,me,m(We.el),Fs(We),u,x,w),P.el=me.el,ee===null&&kl(u,me.el),K&&ke(K,x),(ue=P.props&&P.props.onVnodeUpdated)&&ke(()=>He(ue,Y,P,ne),x)}else{let P;const{el:N,props:K}=h,{bm:Y,m:ne,parent:ee,root:ue,type:me}=u,We=Wt(h);vt(u,!1),Y&&as(Y),!We&&(P=K&&K.onVnodeBeforeMount)&&He(P,ee,h),vt(u,!0);{ue.ce&&ue.ce._hasShadowRoot()&&ue.ce._injectChildStyle(me,u.parent?u.parent.type:void 0);const qe=u.subTree=Ni(u);_(null,qe,v,S,u,x,w),h.el=qe.el}if(ne&&ke(ne,x),!We&&(P=K&&K.onVnodeMounted)){const qe=h;ke(()=>He(P,ee,qe),x)}(h.shapeFlag&256||ee&&Wt(ee.vnode)&&ee.vnode.shapeFlag&256)&&u.a&&ke(u.a,x),u.isMounted=!0,h=v=S=null}};u.scope.on();const T=u.effect=new Wn(E);u.scope.off();const k=u.update=T.run.bind(T),V=u.job=T.runIfDirty.bind(T);V.i=u,V.id=u.uid,T.scheduler=()=>rn(V),vt(u,!0),k()},J=(u,h,v)=>{h.component=u;const S=u.vnode.props;u.vnode=h,u.next=null,Cl(u,h.props,S,v),El(u,h.children,v),De(),pi(u),Ne()},re=(u,h,v,S,x,w,M,E,T=!1)=>{const k=u&&u.children,V=u?u.shapeFlag:0,P=h.children,{patchFlag:N,shapeFlag:K}=h;if(N>0){if(N&128){Ns(k,P,v,S,x,w,M,E,T);return}else if(N&256){yt(k,P,v,S,x,w,M,E,T);return}}K&8?(V&16&&es(k,x,w),P!==k&&f(v,P)):V&16?K&16?Ns(k,P,v,S,x,w,M,E,T):es(k,x,w,!0):(V&8&&f(v,""),K&16&&j(P,v,S,x,w,M,E,T))},yt=(u,h,v,S,x,w,M,E,T)=>{u=u||kt,h=h||kt;const k=u.length,V=h.length,P=Math.min(k,V);let N;for(N=0;N<P;N++){const K=h[N]=T?st(h[N]):Ve(h[N]);_(u[N],K,v,null,x,w,M,E,T)}k>V?es(u,x,w,!0,!1,P):j(h,v,S,x,w,M,E,T,P)},Ns=(u,h,v,S,x,w,M,E,T)=>{let k=0;const V=h.length;let P=u.length-1,N=V-1;for(;k<=P&&k<=N;){const K=u[k],Y=h[k]=T?st(h[k]):Ve(h[k]);if(zt(K,Y))_(K,Y,v,null,x,w,M,E,T);else break;k++}for(;k<=P&&k<=N;){const K=u[P],Y=h[N]=T?st(h[N]):Ve(h[N]);if(zt(K,Y))_(K,Y,v,null,x,w,M,E,T);else break;P--,N--}if(k>P){if(k<=N){const K=N+1,Y=K<V?h[K].el:S;for(;k<=N;)_(null,h[k]=T?st(h[k]):Ve(h[k]),v,Y,x,w,M,E,T),k++}}else if(k>N)for(;k<=P;)Ke(u[k],x,w,!0),k++;else{const K=k,Y=k,ne=new Map;for(k=Y;k<=N;k++){const Ee=h[k]=T?st(h[k]):Ve(h[k]);Ee.key!=null&&ne.set(Ee.key,k)}let ee,ue=0;const me=N-Y+1;let We=!1,qe=0;const ss=new Array(me);for(k=0;k<me;k++)ss[k]=0;for(k=K;k<=P;k++){const Ee=u[k];if(ue>=me){Ke(Ee,x,w,!0);continue}let Ge;if(Ee.key!=null)Ge=ne.get(Ee.key);else for(ee=Y;ee<=N;ee++)if(ss[ee-Y]===0&&zt(Ee,h[ee])){Ge=ee;break}Ge===void 0?Ke(Ee,x,w,!0):(ss[Ge-Y]=k+1,Ge>=qe?qe=Ge:We=!0,_(Ee,h[Ge],v,null,x,w,M,E,T),ue++)}const Fr=We?Pl(ss):kt;for(ee=Fr.length-1,k=me-1;k>=0;k--){const Ee=Y+k,Ge=h[Ee],jr=h[Ee+1],Vr=Ee+1<V?jr.el||Qi(jr):S;ss[k]===0?_(null,Ge,v,Vr,x,w,M,E,T):We&&(ee<0||k!==Fr[ee]?wt(Ge,v,Vr,2):ee--)}}},wt=(u,h,v,S,x=null)=>{const{el:w,type:M,transition:E,children:T,shapeFlag:k}=u;if(k&6){wt(u.component.subTree,h,v,S);return}if(k&128){u.suspense.move(h,v,S);return}if(k&64){M.move(u,h,v,ts);return}if(M===Q){n(w,h,v);for(let P=0;P<T.length;P++)wt(T[P],h,v,S);n(u.anchor,h,v);return}if(M===Ms){q(u,h,v);return}if(S!==2&&k&1&&E)if(S===0)E.persisted&&!w[an]?n(w,h,v):(E.beforeEnter(w),n(w,h,v),ke(()=>E.enter(w),x));else{const{leave:P,delayLeave:N,afterLeave:K}=E,Y=()=>{u.ctx.isUnmounted?i(w):n(w,h,v)},ne=()=>{const ee=w._isLeaving||!!w[an];w._isLeaving&&w[an](!0),E.persisted&&!ee?Y():P(w,()=>{Y(),K&&K()})};N?N(w,Y,ne):ne()}else n(w,h,v)},Ke=(u,h,v,S=!1,x=!1)=>{const{type:w,props:M,ref:E,children:T,dynamicChildren:k,shapeFlag:V,patchFlag:P,dirs:N,cacheIndex:K,memo:Y}=u;if(P===-2&&(x=!1),E!=null&&(De(),Kt(E,null,v,u,!0),Ne()),K!=null&&(h.renderCache[K]=void 0),V&256){h.ctx.deactivate(u);return}const ne=V&1&&N,ee=!Wt(u);let ue;if(ee&&(ue=M&&M.onVnodeBeforeUnmount)&&He(ue,h,u),V&6)od(u.component,v,S);else{if(V&128){u.suspense.unmount(v,S);return}ne&&gt(u,null,h,"beforeUnmount"),V&64?u.type.remove(u,h,v,ts,S):k&&!k.hasOnce&&(w!==Q||P>0&&P&64)?es(k,h,v,!1,!0):(w===Q&&P&384||!x&&V&16)&&es(T,h,v),S&&Dr(u)}const me=Y!=null&&K==null;(ee&&(ue=M&&M.onVnodeUnmounted)||ne||me)&&ke(()=>{ue&&He(ue,h,u),ne&&gt(u,null,h,"unmounted"),me&&(u.el=null)},v)},Dr=u=>{const{type:h,el:v,anchor:S,transition:x}=u;if(h===Q){rd(v,S);return}if(h===Ms){D(u);return}const w=()=>{i(v),x&&!x.persisted&&x.afterLeave&&x.afterLeave()};if(u.shapeFlag&1&&x&&!x.persisted){const{leave:M,delayLeave:E}=x,T=()=>M(v,w);E?E(u.el,w,T):T()}else w()},rd=(u,h)=>{let v;for(;u!==h;)v=C(u),i(u),u=v;i(h)},od=(u,h,v)=>{const{bum:S,scope:x,job:w,subTree:M,um:E,m:T,a:k}=u;Yi(T),Yi(k),S&&as(S),x.stop(),w&&(w.flags|=8,Ke(M,u,h,v)),E&&ke(E,h),ke(()=>{u.isUnmounted=!0},h)},es=(u,h,v,S=!1,x=!1,w=0)=>{for(let M=w;M<u.length;M++)Ke(u[M],h,v,S,x)},Fs=u=>{if(u.shapeFlag&6)return Fs(u.component.subTree);if(u.shapeFlag&128)return u.suspense.next();const h=C(u.anchor||u.el),v=h&&h[yi];return v?C(v):h};let Mn=!1;const Nr=(u,h,v)=>{let S;u==null?h._vnode&&(Ke(h._vnode,null,null,!0),S=h._vnode.component):_(h._vnode||null,u,h,null,null,null,v),h._vnode=u,Mn||(Mn=!0,pi(S),gi(),Mn=!1)},ts={p:_,um:Ke,m:wt,r:Dr,mt:rt,mc:j,pc:re,pbc:oe,n:Fs,o:e};return{render:Nr,hydrate:void 0,createApp:gl(Nr)}}function bn({type:e,props:t},s){return s==="svg"&&e==="foreignObject"||s==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:s}function vt({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Il(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function yn(e,t,s=!1){const n=e.children,i=t.children;if(U(n)&&U(i))for(let r=0;r<n.length;r++){const o=n[r];let l=i[r];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=i[r]=st(i[r]),l.el=o.el),!s&&l.patchFlag!==-2&&yn(o,l)),l.type===As&&(l.patchFlag===-1&&(l=i[r]=st(l)),l.el=o.el),l.type===ft&&!l.el&&(l.el=o.el)}}function Pl(e){const t=e.slice(),s=[0];let n,i,r,o,l;const a=e.length;for(n=0;n<a;n++){const d=e[n];if(d!==0){if(i=s[s.length-1],e[i]<d){t[n]=i,s.push(n);continue}for(r=0,o=s.length-1;r<o;)l=r+o>>1,e[s[l]]<d?r=l+1:o=l;d<e[s[r]]&&(r>0&&(t[n]=s[r-1]),s[r]=n)}}for(r=s.length,o=s[r-1];r-- >0;)s[r]=o,o=t[o];return s}function zi(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:zi(t)}function Yi(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Qi(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Qi(t.subTree):null}const Xi=e=>e.__isSuspense;function Ol(e,t){t&&t.pendingBranch?U(e)?t.effects.push(...e):t.effects.push(e):Lo(e)}const Q=Symbol.for("v-fgt"),As=Symbol.for("v-txt"),ft=Symbol.for("v-cmt"),Ms=Symbol.for("v-stc"),bt=[];let $e=null;function b(e=!1){bt.push($e=e?null:[])}function Zi(){bt.pop(),$e=bt[bt.length-1]||null}let Jt=1;function er(e,t=!1){Jt+=e,e<0&&$e&&t&&($e.hasOnce=!0)}function tr(e){return e.dynamicChildren=Jt>0?$e||kt:null,Zi(),Jt>0&&$e&&$e.push(e),e}function y(e,t,s,n,i,r){return tr(c(e,t,s,n,i,r,!0))}function tt(e,t,s,n,i){return tr(Me(e,t,s,n,i,!0))}function sr(e){return e?e.__v_isVNode===!0:!1}function zt(e,t){return e.type===t.type&&e.key===t.key}const nr=({key:e})=>e??null,Is=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?le(e)||ae(e)||W(e)?{i:Se,r:e,k:t,f:!!s}:e:null);function c(e,t=null,s=null,n=0,i=null,r=e===Q?0:1,o=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&nr(t),ref:t&&Is(t),scopeId:_i,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Se};return l?(Ps(a,s),r&128&&e.normalize(a)):s&&(a.shapeFlag|=le(s)?8:16),Jt>0&&!o&&$e&&(a.patchFlag>0||r&6)&&a.patchFlag!==32&&$e.push(a),a}const Me=Ll;function Ll(e,t=null,s=null,n=0,i=null,r=!1){if((!e||e===ol)&&(e=ft),sr(e)){const l=At(e,t,!0);return s&&Ps(l,s),Jt>0&&!r&&$e&&(l.shapeFlag&6?$e[$e.indexOf(e)]=l:$e.push(l)),l.patchFlag=-2,l}if(Gl(e)&&(e=e.__vccOpts),t){t=Rl(t);let{class:l,style:a}=t;l&&!le(l)&&(t.class=xe(l)),Z(a)&&(vs(a)&&!U(a)&&(a=pe({},a)),t.style=us(a))}const o=le(e)?1:Xi(e)?128:Bo(e)?64:Z(e)?4:W(e)?2:0;return c(e,t,s,n,i,o,r,!0)}function Rl(e){return e?vs(e)||Bi(e)?pe({},e):e:null}function At(e,t,s=!1,n=!1){const{props:i,ref:r,patchFlag:o,children:l,transition:a}=e,d=t?Nl(i||{},t):i,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&nr(d),ref:t&&t.ref?s&&r?U(r)?r.concat(Is(t)):[r,Is(t)]:Is(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Q?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&At(e.ssContent),ssFallback:e.ssFallback&&At(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&n&&cn(f,a.clone(f)),f}function he(e=" ",t=0){return Me(As,null,e,t)}function Dl(e,t){const s=Me(Ms,null,e);return s.staticCount=t,s}function H(e="",t=!1){return t?(b(),tt(ft,null,e)):Me(ft,null,e)}function Ve(e){return e==null||typeof e=="boolean"?Me(ft):U(e)?Me(Q,null,e.slice()):sr(e)?st(e):Me(As,null,String(e))}function st(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:At(e)}function Ps(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(U(t))s=16;else if(typeof t=="object")if(n&65){const i=t.default;i&&(i._c&&(i._d=!1),Ps(e,i()),i._c&&(i._d=!0));return}else{s=32;const i=t._;!i&&!Bi(t)?t._ctx=Se:i===3&&Se&&(Se.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(W(t)){if(n&65){Ps(e,{default:t});return}t={default:t,_ctx:Se},s=32}else t=String(t),n&64?(s=16,t=[he(t)]):s=8;e.children=t,e.shapeFlag|=s}function Nl(...e){const t={};for(let s=0;s<e.length;s++){const n=e[s];for(const i in n)if(i==="class")t.class!==n.class&&(t.class=xe([t.class,n.class]));else if(i==="style")t.style=us([t.style,n.style]);else if(ns(i)){const r=t[i],o=n[i];o&&r!==o&&!(U(r)&&r.includes(o))?t[i]=r?[].concat(r,o):o:o==null&&r==null&&!is(i)&&(t[i]=o)}else i!==""&&(t[i]=n[i])}return t}function He(e,t,s,n=null){Oe(e,t,7,[s,n])}const Fl=Ri();let jl=0;function Vl(e,t,s){const n=e.type,i=(t?t.appContext:e.appContext)||Fl,r={uid:jl++,vnode:e,type:n,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Bn(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Ki(n,i),emitsOptions:Di(n,i),emit:null,emitted:null,propsDefaults:te,inheritAttrs:n.inheritAttrs,ctx:te,data:te,props:te,attrs:te,slots:te,refs:te,setupState:te,setupContext:null,suspense:s,suspenseId:s?s.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 r.ctx={_:r},r.root=t?t.root:r,r.emit=_l.bind(null,r),e.ce&&e.ce(r),r}let ve=null;const ir=()=>ve||Se;let Os,wn;{const e=cs(),t=(s,n)=>{let i;return(i=e[s])||(i=e[s]=[]),i.push(n),r=>{i.length>1?i.forEach(o=>o(r)):i[0](r)}};Os=t("__VUE_INSTANCE_SETTERS__",s=>ve=s),wn=t("__VUE_SSR_SETTERS__",s=>Qt=s)}const Yt=e=>{const t=ve;return Os(e),e.scope.on(),()=>{e.scope.off(),Os(t)}},rr=()=>{ve&&ve.scope.off(),Os(null)};function or(e){return e.vnode.shapeFlag&4}let Qt=!1;function Hl(e,t=!1,s=!1){t&&wn(t);const{props:n,children:i}=e.vnode,r=or(e);xl(e,n,r,t),Tl(e,i,s||t);const o=r?Bl(e,t):void 0;return t&&wn(!1),o}function Bl(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,al);const{setup:n}=s;if(n){De();const i=e.setupContext=n.length>1?Kl(e):null,r=Yt(e),o=$t(n,e,0,[e.props,i]),l=Ln(o);if(Ne(),r(),(l||e.sp)&&!Wt(e)&&xi(e),l){if(o.then(rr,rr),t)return o.then(a=>{lr(e,a)}).catch(a=>{ws(a,e,0)});e.asyncDep=o}else lr(e,o)}else ar(e)}function lr(e,t,s){W(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Z(t)&&(e.setupState=ci(t)),ar(e)}function ar(e,t,s){const n=e.type;e.render||(e.render=n.render||Le);{const i=Yt(e);De();try{cl(e)}finally{Ne(),i()}}}const Ul={get(e,t){return _e(e,"get",""),e[t]}};function Kl(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,Ul),slots:e.slots,emit:e.emit,expose:t}}function Ls(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ci(sn(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in qt)return qt[s](e)},has(t,s){return s in t||s in qt}})):e.proxy}const Wl=/(?:^|[-_])\w/g,ql=e=>e.replace(Wl,t=>t.toUpperCase()).replace(/[-_]/g,"");function cr(e,t=!0){return W(e)?e.displayName||e.name:e.name||t&&e.__name}function ur(e,t,s=!1){let n=cr(t);if(!n&&t.__file){const i=t.__file.match(/([^/\\]+)\.\w+$/);i&&(n=i[1])}if(!n&&e){const i=r=>{for(const o in r)if(r[o]===t)return o};n=i(e.components)||e.parent&&i(e.parent.type.components)||i(e.appContext.components)}return n?ql(n):s?"App":"Anonymous"}function Gl(e){return W(e)&&"__vccOpts"in e}const se=(e,t)=>So(e,t,Qt),Jl="3.5.40";/**
17
17
  * @vue/runtime-dom v3.5.40
18
18
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
19
19
  * @license MIT
20
- **/let kn;const ur=typeof window<"u"&&window.trustedTypes;if(ur)try{kn=ur.createPolicy("vue",{createHTML:t=>t})}catch{}const fr=kn?t=>kn.createHTML(t):t=>t,Jl="http://www.w3.org/2000/svg",zl="http://www.w3.org/1998/Math/MathML",se=typeof document<"u"?document:null,dr=se&&se.createElement("template"),Yl={insert:(t,e,s)=>{e.insertBefore(t,s||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,s,n)=>{const i=e==="svg"?se.createElementNS(Jl,t):e==="mathml"?se.createElementNS(zl,t):s?se.createElement(t,{is:s}):se.createElement(t);return t==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:t=>se.createTextNode(t),createComment:t=>se.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>se.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,s,n,i,r){const o=s?s.previousSibling:e.lastChild;if(i&&(i===r||i.nextSibling))for(;e.insertBefore(i.cloneNode(!0),s),!(i===r||!(i=i.nextSibling)););else{dr.innerHTML=fr(n==="svg"?`<svg>${t}</svg>`:n==="mathml"?`<math>${t}</math>`:t);const l=dr.content;if(n==="svg"||n==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}e.insertBefore(l,s)}return[o?o.nextSibling:e.firstChild,s?s.previousSibling:e.lastChild]}},Ql=Symbol("_vtc");function Xl(t,e,s){const n=t[Ql];n&&(e=(e?[e,...n]:[...n]).join(" ")),e==null?t.removeAttribute("class"):s?t.setAttribute("class",e):t.className=e}const hr=Symbol("_vod"),Zl=Symbol("_vsh"),ta=Symbol(""),ea=/(?:^|;)\s*display\s*:/;function sa(t,e,s){const n=t.style,i=rt(s);let r=!1;if(s&&!i){if(e)if(rt(e))for(const o of e.split(";")){const l=o.slice(0,o.indexOf(":")).trim();s[l]==null&&Xe(n,l,"")}else for(const o in e)s[o]==null&&Xe(n,o,"");for(const o in s){o==="display"&&(r=!0);const l=s[o];l!=null?ia(t,o,!rt(e)&&e?e[o]:void 0,l)||Xe(n,o,l):Xe(n,o,"")}}else if(i){if(e!==s){const o=n[ta];o&&(s+=";"+o),n.cssText=s,r=ea.test(s)}}else e&&t.removeAttribute("style");hr in t&&(t[hr]=r?n.display:"",t[Zl]&&(n.display="none"))}const pr=/\s*!important$/;function Xe(t,e,s){if(j(s))s.forEach(n=>Xe(t,e,n));else if(s==null&&(s=""),e.startsWith("--"))t.setProperty(e,s);else{const n=na(t,e);pr.test(s)?t.setProperty(oe(n),s.replace(pr,""),"important"):t[n]=s}}const gr=["Webkit","Moz","ms"],Cn={};function na(t,e){const s=Cn[e];if(s)return s;let n=bt(e);if(n!=="filter"&&n in t)return Cn[e]=n;n=ls(n);for(let i=0;i<gr.length;i++){const r=gr[i]+n;if(r in t)return Cn[e]=r}return e}function ia(t,e,s,n){return t.tagName==="TEXTAREA"&&(e==="width"||e==="height")&&rt(n)&&s===n}const _r="http://www.w3.org/1999/xlink";function mr(t,e,s,n,i,r=Jr(e)){n&&e.startsWith("xlink:")?s==null?t.removeAttributeNS(_r,e.slice(6,e.length)):t.setAttributeNS(_r,e,s):s==null||r&&!Nn(s)?t.removeAttribute(e):t.setAttribute(e,r?"":Mt(s)?String(s):s)}function br(t,e,s,n,i){if(e==="innerHTML"||e==="textContent"){s!=null&&(t[e]=e==="innerHTML"?fr(s):s);return}const r=t.tagName;if(e==="value"&&r!=="PROGRESS"&&!r.includes("-")){const l=r==="OPTION"?t.getAttribute("value")||"":t.value,a=s==null?t.type==="checkbox"?"on":"":String(s);(l!==a||!("_value"in t))&&(t.value=a),s==null&&t.removeAttribute(e),t._value=s;return}let o=!1;if(s===""||s==null){const l=typeof t[e];l==="boolean"?s=Nn(s):s==null&&l==="string"?(s="",o=!0):l==="number"&&(s=0,o=!0)}try{t[e]=s}catch{}o&&t.removeAttribute(i||e)}function Me(t,e,s,n){t.addEventListener(e,s,n)}function ra(t,e,s,n){t.removeEventListener(e,s,n)}const yr=Symbol("_vei");function oa(t,e,s,n,i=null){const r=t[yr]||(t[yr]={}),o=r[e];if(n&&o)o.value=n;else{const[l,a]=ca(e);if(n){const f=r[e]=da(n,i);Me(t,l,f,a)}else o&&(ra(t,l,o,a),r[e]=void 0)}}const la=/(Once|Passive|Capture)$/,aa=/^on:?(?:Once|Passive|Capture)$/;function ca(t){let e,s;for(;(s=t.match(la))&&!aa.test(t);)e||(e={}),t=t.slice(0,t.length-s[1].length),e[s[1].toLowerCase()]=!0;return[t[2]===":"?t.slice(3):oe(t.slice(2)),e]}let xn=0;const ua=Promise.resolve(),fa=()=>xn||(ua.then(()=>xn=0),xn=Date.now());function da(t,e){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;const i=s.value;if(j(i)){const r=n.stopImmediatePropagation;n.stopImmediatePropagation=()=>{r.call(n),n._stopped=!0};const o=i.slice(),l=[n];for(let a=0;a<o.length&&!n._stopped;a++){const f=o[a];f&&It(f,e,5,l)}}else It(i,e,5,[n])};return s.value=t,s.attached=fa(),s}const vr=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,ha=(t,e,s,n,i,r)=>{const o=i==="svg";e==="class"?Xl(t,n,o):e==="style"?sa(t,s,n):ns(e)?is(e)||oa(t,e,s,n,r):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):pa(t,e,n,o))?(br(t,e,n),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&mr(t,e,n,o,r,e!=="value")):t._isVueCE&&(ga(t,e)||t._def.__asyncLoader&&(/[A-Z]/.test(e)||!rt(n)))?br(t,bt(e),n,r,e):(e==="true-value"?t._trueValue=n:e==="false-value"&&(t._falseValue=n),mr(t,e,n,o))};function pa(t,e,s,n){if(n)return!!(e==="innerHTML"||e==="textContent"||e in t&&vr(e)&&U(s));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="autocorrect"||e==="sandbox"&&t.tagName==="IFRAME"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const i=t.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return vr(e)&&rt(s)?!1:e in t}function ga(t,e){const s=t._def.props;if(!s)return!1;const n=bt(e);return Array.isArray(s)?s.some(i=>bt(i)===n):Object.keys(s).some(i=>bt(i)===n)}const wr=t=>{const e=t.props["onUpdate:modelValue"]||!1;return j(e)?s=>as(e,s):e};function _a(t){t.target.composing=!0}function kr(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const Sn=Symbol("_assign");function Cr(t,e,s){return e&&(t=t.trim()),s&&(t=Hs(t)),t}const ma={created(t,{modifiers:{lazy:e,trim:s,number:n}},i){t[Sn]=wr(i);const r=n||i.props&&i.props.type==="number";Me(t,e?"change":"input",o=>{o.target.composing||t[Sn](Cr(t.value,s,r))}),(s||r)&&Me(t,"change",()=>{t.value=Cr(t.value,s,r)}),e||(Me(t,"compositionstart",_a),Me(t,"compositionend",kr),Me(t,"change",kr))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,oldValue:s,modifiers:{lazy:n,trim:i,number:r}},o){if(t[Sn]=wr(o),t.composing)return;const l=(r||t.type==="number")&&!/^0\d/.test(t.value)?Hs(t.value):t.value,a=e??"";if(l===a)return;const f=t.getRootNode();(f instanceof Document||f instanceof ShadowRoot)&&f.activeElement===t&&t.type!=="range"&&(n&&e===s||i&&t.value.trim()===a)||(t.value=a)}},ba=["ctrl","shift","alt","meta"],ya={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>ba.some(s=>t[`${s}Key`]&&!e.includes(s))},Pe=(t,e)=>{if(!t)return t;const s=t._withMods||(t._withMods={}),n=e.join(".");return s[n]||(s[n]=((i,...r)=>{for(let o=0;o<e.length;o++){const l=ya[e[o]];if(l&&l(i,e))return}return t(i,...r)}))},va={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},wa=(t,e)=>{const s=t._withKeys||(t._withKeys={}),n=e.join(".");return s[n]||(s[n]=(i=>{if(!("key"in i))return;const r=oe(i.key);if(e.some(o=>o===r||va[o]===r))return t(i)}))},ka=dt({patchProp:ha},Yl);let xr;function Ca(){return xr||(xr=Tl(ka))}const xa=((...t)=>{const e=Ca().createApp(...t),{mount:s}=e;return e.mount=n=>{const i=Aa(n);if(!i)return;const r=e._component;!U(r)&&!r.render&&!r.template&&(r.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const o=s(i,!1,Sa(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},e});function Sa(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function Aa(t){return rt(t)?document.querySelector(t):t}/*!
20
+ **/let kn;const fr=typeof window<"u"&&window.trustedTypes;if(fr)try{kn=fr.createPolicy("vue",{createHTML:e=>e})}catch{}const dr=kn?e=>kn.createHTML(e):e=>e,zl="http://www.w3.org/2000/svg",Yl="http://www.w3.org/1998/Math/MathML",nt=typeof document<"u"?document:null,hr=nt&&nt.createElement("template"),Ql={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,n)=>{const i=t==="svg"?nt.createElementNS(zl,e):t==="mathml"?nt.createElementNS(Yl,e):s?nt.createElement(e,{is:s}):nt.createElement(e);return e==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:e=>nt.createTextNode(e),createComment:e=>nt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>nt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,i,r){const o=s?s.previousSibling:t.lastChild;if(i&&(i===r||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),s),!(i===r||!(i=i.nextSibling)););else{hr.innerHTML=dr(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const l=hr.content;if(n==="svg"||n==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,s)}return[o?o.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},Xl=Symbol("_vtc");function Zl(e,t,s){const n=e[Xl];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const pr=Symbol("_vod"),ea=Symbol("_vsh"),ta=Symbol(""),sa=/(?:^|;)\s*display\s*:/;function na(e,t,s){const n=e.style,i=le(s);let r=!1;if(s&&!i){if(t)if(le(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();s[l]==null&&Xt(n,l,"")}else for(const o in t)s[o]==null&&Xt(n,o,"");for(const o in s){o==="display"&&(r=!0);const l=s[o];l!=null?ra(e,o,!le(t)&&t?t[o]:void 0,l)||Xt(n,o,l):Xt(n,o,"")}}else if(i){if(t!==s){const o=n[ta];o&&(s+=";"+o),n.cssText=s,r=sa.test(s)}}else t&&e.removeAttribute("style");pr in e&&(e[pr]=r?n.display:"",e[ea]&&(n.display="none"))}const gr=/\s*!important$/;function Xt(e,t,s){if(U(s))s.forEach(n=>Xt(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=ia(e,t);gr.test(s)?e.setProperty(ot(n),s.replace(gr,""),"important"):e[n]=s}}const mr=["Webkit","Moz","ms"],xn={};function ia(e,t){const s=xn[t];if(s)return s;let n=be(t);if(n!=="filter"&&n in e)return xn[t]=n;n=ls(n);for(let i=0;i<mr.length;i++){const r=mr[i]+n;if(r in e)return xn[t]=r}return t}function ra(e,t,s,n){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&le(n)&&s===n}const _r="http://www.w3.org/1999/xlink";function vr(e,t,s,n,i,r=zr(t)){n&&t.startsWith("xlink:")?s==null?e.removeAttributeNS(_r,t.slice(6,t.length)):e.setAttributeNS(_r,t,s):s==null||r&&!jn(s)?e.removeAttribute(t):e.setAttribute(t,r?"":Ae(s)?String(s):s)}function br(e,t,s,n,i){if(t==="innerHTML"||t==="textContent"){s!=null&&(e[t]=t==="innerHTML"?dr(s):s);return}const r=e.tagName;if(t==="value"&&r!=="PROGRESS"&&!r.includes("-")){const l=r==="OPTION"?e.getAttribute("value")||"":e.value,a=s==null?e.type==="checkbox"?"on":"":String(s);(l!==a||!("_value"in e))&&(e.value=a),s==null&&e.removeAttribute(t),e._value=s;return}let o=!1;if(s===""||s==null){const l=typeof e[t];l==="boolean"?s=jn(s):s==null&&l==="string"?(s="",o=!0):l==="number"&&(s=0,o=!0)}try{e[t]=s}catch{}o&&e.removeAttribute(i||t)}function Mt(e,t,s,n){e.addEventListener(t,s,n)}function oa(e,t,s,n){e.removeEventListener(t,s,n)}const yr=Symbol("_vei");function la(e,t,s,n,i=null){const r=e[yr]||(e[yr]={}),o=r[t];if(n&&o)o.value=n;else{const[l,a]=ua(t);if(n){const d=r[t]=ha(n,i);Mt(e,l,d,a)}else o&&(oa(e,l,o,a),r[t]=void 0)}}const aa=/(Once|Passive|Capture)$/,ca=/^on:?(?:Once|Passive|Capture)$/;function ua(e){let t,s;for(;(s=e.match(aa))&&!ca.test(e);)t||(t={}),e=e.slice(0,e.length-s[1].length),t[s[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):ot(e.slice(2)),t]}let Cn=0;const fa=Promise.resolve(),da=()=>Cn||(fa.then(()=>Cn=0),Cn=Date.now());function ha(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;const i=s.value;if(U(i)){const r=n.stopImmediatePropagation;n.stopImmediatePropagation=()=>{r.call(n),n._stopped=!0};const o=i.slice(),l=[n];for(let a=0;a<o.length&&!n._stopped;a++){const d=o[a];d&&Oe(d,t,5,l)}}else Oe(i,t,5,[n])};return s.value=e,s.attached=da(),s}const wr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,pa=(e,t,s,n,i,r)=>{const o=i==="svg";t==="class"?Zl(e,n,o):t==="style"?na(e,s,n):ns(t)?is(t)||la(e,t,s,n,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ga(e,t,n,o))?(br(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&vr(e,t,n,o,r,t!=="value")):e._isVueCE&&(ma(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!le(n)))?br(e,be(t),n,r,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),vr(e,t,n,o))};function ga(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&wr(t)&&W(s));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return wr(t)&&le(s)?!1:t in e}function ma(e,t){const s=e._def.props;if(!s)return!1;const n=be(t);return Array.isArray(s)?s.some(i=>be(i)===n):Object.keys(s).some(i=>be(i)===n)}const kr=e=>{const t=e.props["onUpdate:modelValue"]||!1;return U(t)?s=>as(t,s):t};function _a(e){e.target.composing=!0}function xr(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Sn=Symbol("_assign");function Cr(e,t,s){return t&&(e=e.trim()),s&&(e=Bs(e)),e}const va={created(e,{modifiers:{lazy:t,trim:s,number:n}},i){e[Sn]=kr(i);const r=n||i.props&&i.props.type==="number";Mt(e,t?"change":"input",o=>{o.target.composing||e[Sn](Cr(e.value,s,r))}),(s||r)&&Mt(e,"change",()=>{e.value=Cr(e.value,s,r)}),t||(Mt(e,"compositionstart",_a),Mt(e,"compositionend",xr),Mt(e,"change",xr))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:s,modifiers:{lazy:n,trim:i,number:r}},o){if(e[Sn]=kr(o),e.composing)return;const l=(r||e.type==="number")&&!/^0\d/.test(e.value)?Bs(e.value):e.value,a=t??"";if(l===a)return;const d=e.getRootNode();(d instanceof Document||d instanceof ShadowRoot)&&d.activeElement===e&&e.type!=="range"&&(n&&t===s||i&&e.value.trim()===a)||(e.value=a)}},ba=["ctrl","shift","alt","meta"],ya={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>ba.some(s=>e[`${s}Key`]&&!t.includes(s))},It=(e,t)=>{if(!e)return e;const s=e._withMods||(e._withMods={}),n=t.join(".");return s[n]||(s[n]=((i,...r)=>{for(let o=0;o<t.length;o++){const l=ya[t[o]];if(l&&l(i,t))return}return e(i,...r)}))},wa={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},ka=(e,t)=>{const s=e._withKeys||(e._withKeys={}),n=t.join(".");return s[n]||(s[n]=(i=>{if(!("key"in i))return;const r=ot(i.key);if(t.some(o=>o===r||wa[o]===r))return e(i)}))},xa=pe({patchProp:pa},Ql);let Sr;function Ca(){return Sr||(Sr=Al(xa))}const Sa=((...e)=>{const t=Ca().createApp(...e),{mount:s}=t;return t.mount=n=>{const i=Ta(n);if(!i)return;const r=t._component;!W(r)&&!r.render&&!r.template&&(r.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const o=s(i,!1,$a(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t});function $a(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Ta(e){return le(e)?document.querySelector(e):e}/*!
21
21
  * pinia v2.3.1
22
22
  * (c) 2025 Eduardo San Martin Morote
23
23
  * @license MIT
24
- */let Sr;const Rs=t=>Sr=t,Ar=Symbol();function An(t){return t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"&&typeof t.toJSON!="function"}var Ze;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(Ze||(Ze={}));function $a(){const t=Hn(!0),e=t.run(()=>Qt({}));let s=[],n=[];const i=sn({install(r){Rs(i),i._a=r,r.provide(Ar,i),r.config.globalProperties.$pinia=i,n.forEach(o=>s.push(o)),n=[]},use(r){return this._a?s.push(r):n.push(r),this},_p:s,_a:null,_e:t,_s:new Map,state:e});return i}const $r=()=>{};function Tr(t,e,s,n=$r){t.push(e);const i=()=>{const r=t.indexOf(e);r>-1&&(t.splice(r,1),n())};return!s&&Un()&&Yr(i),i}function Ee(t,...e){t.slice().forEach(s=>{s(...e)})}const Ta=t=>t(),Mr=Symbol(),$n=Symbol();function Tn(t,e){t instanceof Map&&e instanceof Map?e.forEach((s,n)=>t.set(n,s)):t instanceof Set&&e instanceof Set&&e.forEach(t.add,t);for(const s in e){if(!e.hasOwnProperty(s))continue;const n=e[s],i=t[s];An(i)&&An(n)&&t.hasOwnProperty(s)&&!ot(n)&&!zt(n)?t[s]=Tn(i,n):t[s]=n}return t}const Ma=Symbol();function Pa(t){return!An(t)||!t.hasOwnProperty(Ma)}const{assign:fe}=Object;function Ea(t){return!!(ot(t)&&t.effect)}function Oa(t,e,s,n){const{state:i,actions:r,getters:o}=e,l=s.state.value[t];let a;function f(){l||(s.state.value[t]=i?i():{});const h=vo(s.state.value[t]);return fe(h,r,Object.keys(o||{}).reduce((d,g)=>(d[g]=sn(kt(()=>{Rs(s);const y=s._s.get(t);return o[g].call(y,y)})),d),{}))}return a=Pr(t,f,e,s,n,!0),a}function Pr(t,e,s={},n,i,r){let o;const l=fe({actions:{}},s),a={deep:!0};let f,h,d=[],g=[],y;const T=n.state.value[t];!r&&!T&&(n.state.value[t]={});let P;function D(N){let F;f=h=!1,typeof N=="function"?(N(n.state.value[t]),F={type:Ze.patchFunction,storeId:t,events:y}):(Tn(n.state.value[t],N),F={type:Ze.patchObject,payload:N,storeId:t,events:y});const it=P=Symbol();fi().then(()=>{P===it&&(f=!0)}),h=!0,Ee(d,F,n.state.value[t])}const H=r?function(){const{state:F}=s,it=F?F():{};this.$patch(pt=>{fe(pt,it)})}:$r;function I(){o.stop(),d=[],g=[],n._s.delete(t)}const G=(N,F="")=>{if(Mr in N)return N[$n]=F,N;const it=function(){Rs(n);const pt=Array.from(arguments),$t=[],Ht=[];function re(q){$t.push(q)}function Ds(q){Ht.push(q)}Ee(g,{args:pt,name:it[$n],store:W,after:re,onError:Ds});let at;try{at=N.apply(this&&this.$id===t?this:W,pt)}catch(q){throw Ee(Ht,q),q}return at instanceof Promise?at.then(q=>(Ee($t,q),q)).catch(q=>(Ee(Ht,q),Promise.reject(q))):(Ee($t,at),at)};return it[Mr]=!0,it[$n]=F,it},O={_p:n,$id:t,$onAction:Tr.bind(null,g),$patch:D,$reset:H,$subscribe(N,F={}){const it=Tr(d,N,F.detached,()=>pt()),pt=o.run(()=>He(()=>n.state.value[t],$t=>{(F.flush==="sync"?h:f)&&N({storeId:t,type:Ze.direct,events:y},$t)},fe({},a,F)));return it},$dispose:I},W=_s(O);n._s.set(t,W);const K=(n._a&&n._a.runWithContext||Ta)(()=>n._e.run(()=>(o=Hn()).run(()=>e({action:G}))));for(const N in K){const F=K[N];if(ot(F)&&!Ea(F)||zt(F))r||(T&&Pa(F)&&(ot(F)?F.value=T[N]:Tn(F,T[N])),n.state.value[t][N]=F);else if(typeof F=="function"){const it=G(F,N);K[N]=it,l.actions[N]=F}}return fe(W,K),fe(J(W),K),Object.defineProperty(W,"$state",{get:()=>n.state.value[t],set:N=>{D(F=>{fe(F,N)})}}),n._p.forEach(N=>{fe(W,o.run(()=>N({store:W,app:n._a,pinia:n,options:l})))}),T&&r&&s.hydrate&&s.hydrate(W.$state,T),f=!0,h=!0,W}/*! #__NO_SIDE_EFFECTS__ */function Er(t,e,s){let n,i;const r=typeof e=="function";typeof t=="string"?(n=t,i=r?s:e):(i=t,n=t.id);function o(l,a){const f=Bo();return l=l||(f?Ve(Ar,null):null),l&&Rs(l),l=Sr,l._s.has(n)||(r?Pr(n,e,i,l):Oa(n,i,l)),l._s.get(n)}return o.$id=n,o}const ne=Er("data",{state:()=>({metadata:null,packageTree:null,packages:{},classes:{},attributes:{},associations:{},operations:{},diagrams:{},searchEntries:[],loaded:!1}),getters:{getClassById:t=>e=>t.classes[e],getPackageById:t=>e=>t.packages[e],getAttributeById:t=>e=>t.attributes[e],getAssociationById:t=>e=>t.associations[e],getOperationById:t=>e=>t.operations[e],getDiagramById:t=>e=>t.diagrams[e],classCount:t=>Object.keys(t.classes).length,packageCount:t=>Object.keys(t.packages).length,associationCount:t=>Object.keys(t.associations).length,attributeCount:t=>Object.keys(t.attributes).length},actions:{loadFromEmbedded(){const t=window;if(!t.__SPA_DATA__)throw new Error("No embedded SPA data found in window.__SPA_DATA__");this.loadData(t.__SPA_DATA__)},async loadFromUrl(t,e){const[s,n]=await Promise.all([fetch(t),fetch(e)]),i=await s.json(),r=await n.json();this.loadData({...i,searchIndex:r})},loadData(t){var e;this.metadata=t.metadata,this.packageTree=t.packageTree,this.packages=t.packages||{},this.classes=t.classes||{},this.attributes=t.attributes||{},this.associations=t.associations||{},this.operations=t.operations||{},this.diagrams=t.diagrams||{},this.searchEntries=((e=t.searchIndex)==null?void 0:e.documentStore)||[],this.loaded=!0},findClassByName(t){return Object.values(this.classes).find(e=>e.name===t)}}}),ie=Er("ui",{state:()=>({currentView:"welcome",currentPackageId:null,currentPackageLabel:null,currentClassId:null,currentClassLabel:null,currentDiagramId:null,currentDiagramLabel:null,sidebarVisible:!0,darkMode:!1,expandedNodes:new Set,breadcrumbs:[],searchQuery:""}),actions:{showWelcome(){this.currentView="welcome",this.currentPackageId=null,this.currentClassId=null,this.currentDiagramId=null,this.breadcrumbs=[],this.updateHash()},selectPackage(t,e){this.currentView="package",this.currentPackageId=t,this.currentPackageLabel=e||null,this.currentClassId=null,this.currentDiagramId=null,this.breadcrumbs=[{label:e||"Package",id:t,type:"package"}],this.expandToNode(t),this.updateHash()},selectClass(t,e){this.currentView="class",this.currentClassId=t,this.currentClassLabel=e||null,this.currentDiagramId=null,this.breadcrumbs=[...this.currentPackageId&&this.currentPackageLabel?[{label:this.currentPackageLabel,id:this.currentPackageId,type:"package"}]:[],{label:e||"Class",id:t,type:"class"}],this.updateHash()},selectDiagram(t,e){this.currentView="diagram",this.currentDiagramId=t,this.currentDiagramLabel=e||null,this.breadcrumbs=[...this.currentPackageId&&this.currentPackageLabel?[{label:this.currentPackageLabel,id:this.currentPackageId,type:"package"}]:[],{label:e||"Diagram",id:t,type:"diagram"}],this.updateHash()},showSearch(t){this.currentView="search",this.searchQuery=t,this.updateHash()},toggleNode(t){this.expandedNodes.has(t)?this.expandedNodes.delete(t):this.expandedNodes.add(t)},expandToNode(t){this.expandedNodes.add(t)},expandAll(){},collapseAll(){this.expandedNodes.clear()},toggleSidebar(){this.sidebarVisible=!this.sidebarVisible},toggleDarkMode(){this.darkMode=!this.darkMode},navigateToHash(){const t=window.location.hash.slice(1);if(!t)return;const e=ne();if(t.startsWith("/package/")){const s=t.slice(9),n=e.getPackageById(s);this.selectPackage(s,n==null?void 0:n.name)}else if(t.startsWith("/class/")){const s=t.slice(7),n=e.getClassById(s);this.selectClass(s,n==null?void 0:n.name)}else if(t.startsWith("/diagram/")){const s=t.slice(9),n=e.getDiagramById(s);this.selectDiagram(s,n==null?void 0:n.name)}},updateHash(){let t="";switch(this.currentView){case"package":t=`/package/${this.currentPackageId}`;break;case"class":t=`/class/${this.currentClassId}`;break;case"diagram":t=`/diagram/${this.currentDiagramId}`;break;case"search":t=`/search?q=${encodeURIComponent(this.searchQuery)}`;break}window.location.hash=t}}}),Ia={class:"tree-node"},La={key:1,class:"tree-toggle-placeholder"},Ra={key:0,class:"tree-stereotype"},Da={class:"tree-label"},Ba={key:2,class:"tree-count"},Na={key:0,class:"tree-children"},Fa=["onClick"],ja={class:"badge badge-class"},Va={class:"tree-item-label"},Ha=Zt({__name:"PackageTreeNode",props:{node:{}},setup(t){const e=t;ne();const s=ie(),n=kt(()=>s.expandedNodes.has(e.node.id)),i=kt(()=>s.currentView==="package"&&s.currentPackageId===e.node.id),r=kt(()=>e.node.children||[]),o=kt(()=>e.node.classes||[]);function l(){s.toggleNode(e.node.id)}function a(){s.selectPackage(e.node.id,e.node.name)}return(f,h)=>{const d=il("PackageTreeNode",!0);return m(),b("div",Ia,[c("div",{class:Pt(["tree-node-content",{selected:i.value}])},[r.value.length||o.value.length?(m(),b("button",{key:0,class:"tree-toggle",onClick:Pe(l,["stop"])},[(m(),b("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",class:Pt({expanded:n.value})},[...h[0]||(h[0]=[c("path",{d:"M4 3l3 3-3 3",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)])],2))])):(m(),b("span",La)),c("span",{class:"tree-icon",onClick:a,style:{cursor:"pointer"}},[...h[1]||(h[1]=[c("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},[c("path",{d:"M2 6L8 2L14 6V13C14 13.5 13.5 14 13 14H3C2.5 14 2 13.5 2 13V6Z",stroke:"currentColor","stroke-width":"1.2","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])]),c("span",{class:"tree-label-group",onClick:a},[t.node.stereotypes&&t.node.stereotypes.length?(m(),b("span",Ra,[(m(!0),b(z,null,lt(t.node.stereotypes,g=>(m(),b("span",{key:g},"«"+A(g)+"»",1))),128))])):R("",!0),c("span",Da,A(t.node.name),1)]),t.node.classCount?(m(),b("span",Ba,A(t.node.classCount),1)):R("",!0)],2),n.value?(m(),b("div",Na,[(m(!0),b(z,null,lt(r.value,g=>(m(),ue(d,{key:g.id,node:g},null,8,["node"]))),128)),(m(!0),b(z,null,lt(o.value,g=>(m(),b("div",{key:g.id,class:Pt(["tree-item",{selected:k(s).currentClassId===g.id}]),onClick:y=>k(s).selectClass(g.id,g.name)},[c("span",ja,A(g.stereotypes.length?g.stereotypes[0][0]:"C"),1),c("span",Va,A(g.name),1)],10,Fa))),128))])):R("",!0)])}}}),Ua={class:"sidebar-content"},Ka={class:"sidebar-branding"},Wa=["src"],Ga={class:"branding-text"},qa={class:"branding-title"},Ja={class:"sidebar-section overview-section"},za={class:"sidebar-section tree-section"},Ya={class:"section-header"},Qa={class:"tree-controls"},Xa={key:0,class:"package-tree"},Za={key:1,class:"loading"},tc={key:0,class:"sidebar-section stats-section"},ec={class:"stats-grid"},sc={class:"stat-item"},nc={class:"stat-value"},ic={class:"stat-item"},rc={class:"stat-value"},oc={class:"stat-item"},lc={class:"stat-value"},ac={class:"sidebar-footer"},cc={href:"https://www.lutaml.org",target:"_blank",rel:"noopener",class:"footer-brand",title:"LutaML"},uc=["src"],fc={class:"footer-text-group"},dc={key:0,class:"footer-text"},Or="https://raw.githubusercontent.com/lutaml/branding/refs/heads/main/svg/lutaml-logo_logo-icon-light.svg",Ir="https://raw.githubusercontent.com/lutaml/branding/refs/heads/main/svg/lutaml-logo_logo-icon-dark.svg",hc="https://raw.githubusercontent.com/lutaml/branding/refs/heads/main/svg/lutaml-logo_logo-full-light.svg",pc="https://raw.githubusercontent.com/lutaml/branding/refs/heads/main/svg/lutaml-logo_logo-full-dark.svg",gc=Zt({__name:"AppSidebar",setup(t){const e=ne(),s=ie(),n=kt(()=>{var l,a;const o=(a=(l=e.metadata)==null?void 0:l.appearance)==null?void 0:a.logos;if(o!=null&&o.square){const f=s.darkMode?o.square.dark:o.square.light;return(f==null?void 0:f.url)||(f==null?void 0:f.path)||(s.darkMode?Ir:Or)}return s.darkMode?Ir:Or}),i=kt(()=>s.darkMode?pc:hc);function r(o){if(!o)return"";try{return new Date(o).toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric"})}catch{return o}}return(o,l)=>{var a,f;return m(),b("aside",{class:Pt(["sidebar",{collapsed:!k(s).sidebarVisible}])},[c("div",Ua,[c("div",Ka,[c("img",{src:n.value,alt:"Logo",class:"branding-logo"},null,8,Wa),c("div",Ga,[c("span",qa,A(((a=k(e).metadata)==null?void 0:a.title)||"LutaML"),1),l[3]||(l[3]=c("span",{class:"branding-subtitle"},"UML Browser",-1))])]),c("div",Ja,[c("button",{class:Pt(["overview-btn",{active:k(s).currentView==="welcome"}]),onClick:l[0]||(l[0]=h=>k(s).showWelcome())},[...l[4]||(l[4]=[c("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},[c("path",{d:"M2 7.5L8 2.5L14 7.5",stroke:"currentColor","stroke-width":"1.3","stroke-linecap":"round","stroke-linejoin":"round"}),c("path",{d:"M3 7.5V13.5C3 13.5 3 14 4 14H12C12 14 13 14 13 13.5V7.5",stroke:"currentColor","stroke-width":"1.3","stroke-linecap":"round","stroke-linejoin":"round"})],-1),c("span",null,"Overview",-1)])],2)]),c("div",za,[c("div",Ya,[l[7]||(l[7]=c("span",{class:"section-title"},"Packages",-1)),c("div",Qa,[c("button",{class:"btn btn-ghost",onClick:l[1]||(l[1]=h=>k(s).expandAll()),title:"Expand All"},[...l[5]||(l[5]=[c("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none"},[c("path",{d:"M2 5l5 5 5-5",stroke:"currentColor","stroke-width":"1.3","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])]),c("button",{class:"btn btn-ghost",onClick:l[2]||(l[2]=h=>k(s).collapseAll()),title:"Collapse All"},[...l[6]||(l[6]=[c("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none"},[c("path",{d:"M2 9l5-5 5 5",stroke:"currentColor","stroke-width":"1.3","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])])])]),k(e).packageTree?(m(),b("div",Xa,[At(Ha,{node:k(e).packageTree},null,8,["node"])])):(m(),b("div",Za,"Loading..."))]),k(e).metadata?(m(),b("div",tc,[c("div",ec,[c("div",sc,[c("span",nc,A(k(e).metadata.statistics.packages),1),l[8]||(l[8]=c("span",{class:"stat-label"},"Packages",-1))]),c("div",ic,[c("span",rc,A(k(e).metadata.statistics.classes),1),l[9]||(l[9]=c("span",{class:"stat-label"},"Classes",-1))]),c("div",oc,[c("span",lc,A(k(e).metadata.statistics.associations),1),l[10]||(l[10]=c("span",{class:"stat-label"},"Associations",-1))])])])):R("",!0),c("div",ac,[c("a",cc,[c("img",{src:i.value,alt:"LutaML",class:"lutaml-logo"},null,8,uc)]),c("div",fc,[(f=k(e).metadata)!=null&&f.generated?(m(),b("span",dc,[ft(" Generated "+A(r(k(e).metadata.generated))+" with ",1),l[11]||(l[11]=c("a",{href:"https://github.com/lutaml/lutaml",target:"_blank",rel:"noopener"},"LutaML",-1)),ft(" v"+A(k(e).metadata.version||"?"),1)])):R("",!0)])])])],2)}}}),_c={class:"header"},mc={class:"header-left"},bc={key:0,class:"header-breadcrumb"},yc={key:0,class:"breadcrumb-sep"},vc=["onClick"],wc={key:2},kc={class:"header-right"},Cc=["title"],xc={key:0,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},Sc={key:1,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},Ac={class:"search-modal"},$c={class:"search-input-wrapper"},Tc={key:0,class:"search-results"},Mc=["onClick"],Pc={class:"result-content"},Ec={class:"result-name"},Oc={class:"result-path"},Ic=Zt({__name:"AppHeader",setup(t){const e=ie(),s=Qt(null),n=Qt(!1),i=Qt(""),r=Qt([]),o=Qt(0);function l(){n.value=!0,setTimeout(()=>{var d;return(d=s.value)==null?void 0:d.focus()},50)}function a(){n.value=!1,i.value="",r.value=[]}function f(d){if((d.metaKey||d.ctrlKey)&&d.key==="k"&&(d.preventDefault(),l()),d.key==="/"&&!n.value){const g=d.target;g.tagName!=="INPUT"&&g.tagName!=="TEXTAREA"&&(d.preventDefault(),l())}}function h(d,g){g==="class"?e.selectClass(d):g==="package"&&e.selectPackage(d),a()}return un(()=>window.addEventListener("keydown",f)),fn(()=>window.removeEventListener("keydown",f)),(d,g)=>(m(),b(z,null,[c("header",_c,[c("div",mc,[c("button",{class:"btn btn-ghost sidebar-toggle",onClick:g[0]||(g[0]=y=>k(e).toggleSidebar()),title:"Toggle sidebar"},[...g[4]||(g[4]=[c("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},[c("path",{d:"M3 5h14M3 10h14M3 15h14",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"})],-1)])]),c("button",{class:"btn btn-ghost home-btn",onClick:g[1]||(g[1]=y=>k(e).showWelcome()),title:"Overview"},[...g[5]||(g[5]=[c("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},[c("path",{d:"M3 8.5L9 3.5L15 8.5",stroke:"currentColor","stroke-width":"1.4","stroke-linecap":"round","stroke-linejoin":"round"}),c("path",{d:"M4 8.5V14.5C4 14.5 4 15.5 5 15.5H13C13 15.5 14 15.5 14 14.5V8.5",stroke:"currentColor","stroke-width":"1.4","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])]),k(e).breadcrumbs.length?(m(),b("span",bc,[(m(!0),b(z,null,lt(k(e).breadcrumbs,(y,T)=>(m(),b(z,{key:T},[T>0?(m(),b("span",yc,"/")):R("",!0),y.id?(m(),b("a",{key:1,href:"#",onClick:Pe(P=>h(y.id,y.type||""),["prevent"])},A(y.label),9,vc)):(m(),b("span",wc,A(y.label),1))],64))),128))])):R("",!0)]),c("div",{class:"header-center"},[c("button",{class:"search-trigger",onClick:l},[...g[6]||(g[6]=[Rl('<svg width="16" height="16" viewBox="0 0 16 16" fill="none"><circle cx="7" cy="7" r="5" stroke="currentColor" stroke-width="1.5"></circle><path d="M11 11l3 3" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path></svg><span class="search-placeholder">Search classes, packages...</span><kbd class="search-kbd">/</kbd>',3)])])]),c("div",kc,[c("button",{class:"btn btn-ghost theme-btn",onClick:g[2]||(g[2]=y=>k(e).toggleDarkMode()),title:k(e).darkMode?"Light mode":"Dark mode"},[k(e).darkMode?(m(),b("svg",xc,[...g[7]||(g[7]=[c("path",{d:"M9 3V2M9 16v-1M3 9H2M16 9h-1M4.22 4.22l-.7-.7M14.48 14.48l-.7-.7M4.22 13.78l-.7.7M14.48 3.52l-.7.7",stroke:"currentColor","stroke-width":"1.3","stroke-linecap":"round"},null,-1),c("circle",{cx:"9",cy:"9",r:"3.5",stroke:"currentColor","stroke-width":"1.3"},null,-1)])])):(m(),b("svg",Sc,[...g[8]||(g[8]=[c("circle",{cx:"9",cy:"9",r:"4",stroke:"currentColor","stroke-width":"1.4"},null,-1),c("path",{d:"M9 2v1.5M9 14.5V16M2 9h1.5M14.5 9H16M4.22 4.22l1.06 1.06M12.72 12.72l1.06 1.06M4.22 13.78l1.06-1.06M12.72 5.28l1.06-1.06",stroke:"currentColor","stroke-width":"1.4","stroke-linecap":"round"},null,-1)])]))],8,Cc)])]),(m(),ue(Wo,{to:"body"},[n.value?(m(),b("div",{key:0,class:"search-modal-overlay",onClick:Pe(a,["self"])},[c("div",Ac,[c("div",$c,[Ro(c("input",{ref_key:"searchInput",ref:s,"onUpdate:modelValue":g[3]||(g[3]=y=>i.value=y),placeholder:"Search classes, packages, attributes...",onKeydown:wa(a,["escape"]),autofocus:""},null,544),[[ma,i.value]])]),r.value.length?(m(),b("div",Tc,[(m(!0),b(z,null,lt(r.value,(y,T)=>(m(),b("div",{key:y.id,class:Pt(["search-result",{focused:T===o.value}]),onClick:P=>h(y.entityId,y.type)},[g[9]||(g[9]=c("span",{class:"result-icon"},[c("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},[c("circle",{cx:"8",cy:"8",r:"6",stroke:"currentColor","stroke-width":"1.2"})])],-1)),c("div",Pc,[c("span",Ec,A(y.name),1),c("span",Oc,A(y.entityType),1)])],10,Mc))),128))])):R("",!0),g[10]||(g[10]=c("div",{class:"search-footer"},[c("span",{class:"search-hints"},[c("span",null,[c("kbd",null,"↑↓"),ft(" navigate")]),c("span",null,[c("kbd",null,"Enter"),ft(" select")]),c("span",null,[c("kbd",null,"Esc"),ft(" close")])])],-1))])])):R("",!0)]))],64))}}),Lc={class:"view-welcome"},Rc={class:"welcome-logo"},Dc=["src","alt"],Bc={class:"welcome-title"},Nc={key:0,class:"welcome-stats"},Fc={class:"welcome-stat"},jc={class:"welcome-stat-value"},Vc={class:"welcome-stat"},Hc={class:"welcome-stat-value"},Uc={class:"welcome-stat"},Kc={class:"welcome-stat-value"},Wc={class:"welcome-stat"},Gc={class:"welcome-stat-value"},qc={key:1,class:"welcome-meta"},Jc={class:"meta-item"},zc={class:"meta-value"},Yc={key:0,class:"meta-item"},Qc={class:"meta-value"},Xc={key:1,class:"meta-item"},Zc={class:"meta-value"},tu="https://raw.githubusercontent.com/lutaml/branding/refs/heads/main/svg/lutaml-logo_logo-icon-light.svg",eu="https://raw.githubusercontent.com/lutaml/branding/refs/heads/main/svg/lutaml-logo_logo-icon-dark.svg",su=Zt({__name:"WelcomeView",setup(t){const e=ne(),s=ie(),n=kt(()=>{var o,l;const r=(l=(o=e.metadata)==null?void 0:o.appearance)==null?void 0:l.logos;if(r!=null&&r.square){const a=s.darkMode?r.square.dark:r.square.light;if(a!=null&&a.url)return a.url;if(a!=null&&a.path)return a.path}return s.darkMode?eu:tu});function i(r){if(!r)return"";try{return new Date(r).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})}catch{return r}}return(r,o)=>{var l,a;return m(),b("div",Lc,[c("div",Rc,[c("img",{src:n.value,alt:((l=k(e).metadata)==null?void 0:l.title)||"Logo",width:"48",height:"48"},null,8,Dc)]),c("h1",Bc,A(((a=k(e).metadata)==null?void 0:a.title)||"UML Model Browser"),1),o[7]||(o[7]=c("p",{class:"welcome-subtitle"},"Explore UML model packages, classes, and associations",-1)),k(e).metadata?(m(),b("div",Nc,[c("div",Fc,[c("div",jc,A(k(e).metadata.statistics.packages),1),o[0]||(o[0]=c("div",{class:"welcome-stat-label"},"Packages",-1))]),c("div",Vc,[c("div",Hc,A(k(e).metadata.statistics.classes),1),o[1]||(o[1]=c("div",{class:"welcome-stat-label"},"Classes",-1))]),c("div",Uc,[c("div",Kc,A(k(e).metadata.statistics.attributes),1),o[2]||(o[2]=c("div",{class:"welcome-stat-label"},"Attributes",-1))]),c("div",Wc,[c("div",Gc,A(k(e).metadata.statistics.associations),1),o[3]||(o[3]=c("div",{class:"welcome-stat-label"},"Associations",-1))])])):R("",!0),k(e).metadata?(m(),b("div",qc,[c("div",Jc,[o[4]||(o[4]=c("span",{class:"meta-label"},"Generator",-1)),c("span",zc,A(k(e).metadata.generator),1)]),k(e).metadata.version?(m(),b("div",Yc,[o[5]||(o[5]=c("span",{class:"meta-label"},"Version",-1)),c("span",Qc,A(k(e).metadata.version),1)])):R("",!0),k(e).metadata.generated?(m(),b("div",Xc,[o[6]||(o[6]=c("span",{class:"meta-label"},"Generated",-1)),c("span",Zc,A(i(k(e).metadata.generated)),1)])):R("",!0)])):R("",!0),o[8]||(o[8]=c("p",{class:"welcome-actions"},[ft("Select a package from the sidebar or press "),c("kbd",null,"/"),ft(" to search")],-1))])}}}),nu={key:0,class:"detail-view"},iu={class:"entity-header"},ru={class:"entity-title"},ou={class:"entity-name"},lu={key:0,class:"entity-subtitle"},au={key:0,class:"entity-metadata"},cu={class:"metadata-item"},uu={class:"metadata-value"},fu={key:1,class:"entity-definition"},du={class:"definition-content"},hu={key:2,class:"section"},pu={class:"section-title"},gu={class:"section-count"},_u={class:"item-list"},mu=["onClick"],bu={class:"list-item-name"},yu={key:3,class:"section"},vu={class:"section-title"},wu={class:"section-count"},ku={class:"item-list"},Cu=["onClick"],xu={class:"list-item-name"},Su={class:"tree-count"},Au={key:4,class:"section"},$u={class:"section-title"},Tu={class:"section-count"},Mu={class:"table-wrapper"},Pu={class:"data-table"},Eu=["onClick"],Ou={key:5,class:"empty-state"},Iu=Zt({__name:"PackageDetails",setup(t){const e=ne(),s=ie(),n=kt(()=>s.currentPackageId?e.getPackageById(s.currentPackageId):null);return(i,r)=>n.value?(m(),b("div",nu,[c("div",iu,[c("div",ru,[c("h2",ou,A(n.value.name),1),n.value.path?(m(),b("div",lu,A(n.value.path),1)):R("",!0)]),r[0]||(r[0]=c("span",{class:"entity-badge badge-package"},"Package",-1))]),n.value.stereotypes.length?(m(),b("div",au,[c("div",cu,[r[1]||(r[1]=c("span",{class:"metadata-label"},"Stereotypes",-1)),c("span",uu,[(m(!0),b(z,null,lt(n.value.stereotypes,o=>(m(),b("span",{key:o,class:"stereotype-tag"},"«"+A(o)+"»",1))),128))])])])):R("",!0),n.value.definition?(m(),b("div",fu,[c("div",du,A(n.value.definition),1)])):R("",!0),n.value.diagrams.length?(m(),b("div",hu,[c("h3",pu,[r[2]||(r[2]=ft("Diagrams ",-1)),c("span",gu,A(n.value.diagrams.length),1)]),c("div",_u,[(m(!0),b(z,null,lt(n.value.diagrams,o=>{var l;return m(),b("div",{key:o,class:"list-item clickable-row",onClick:a=>k(s).selectDiagram(o)},[r[3]||(r[3]=c("span",{class:"list-item-icon"},"📊",-1)),c("span",bu,A(((l=k(e).getDiagramById(o))==null?void 0:l.name)||o),1)],8,mu)}),128))])])):R("",!0),n.value.subPackages.length?(m(),b("div",yu,[c("h3",vu,[r[4]||(r[4]=ft("Sub-Packages ",-1)),c("span",wu,A(n.value.subPackages.length),1)]),c("div",ku,[(m(!0),b(z,null,lt(n.value.subPackages,o=>{var l,a;return m(),b("div",{key:o,class:"list-item clickable-row",onClick:f=>k(s).selectPackage(o)},[r[5]||(r[5]=c("span",{class:"list-item-icon"},"📁",-1)),c("span",xu,A(((l=k(e).getPackageById(o))==null?void 0:l.name)||o),1),c("span",Su,A(((a=k(e).getPackageById(o))==null?void 0:a.classes.length)||0),1)],8,Cu)}),128))])])):R("",!0),n.value.classes.length?(m(),b("div",Au,[c("h3",$u,[r[6]||(r[6]=ft("Classes ",-1)),c("span",Tu,A(n.value.classes.length),1)]),c("div",Mu,[c("table",Pu,[r[7]||(r[7]=c("thead",null,[c("tr",null,[c("th",null,"Name"),c("th",null,"Type"),c("th",null,"Stereotypes"),c("th",null,"Attrs")])],-1)),c("tbody",null,[(m(!0),b(z,null,lt(n.value.classes,o=>{var l,a,f,h,d;return m(),b("tr",{key:o,class:"clickable-row",onClick:g=>k(s).selectClass(o)},[c("td",null,A((l=k(e).getClassById(o))==null?void 0:l.name),1),c("td",null,[c("span",{class:Pt(["entity-badge","badge-"+(((a=k(e).getClassById(o))==null?void 0:a.type)||"class").toLowerCase()])},A((f=k(e).getClassById(o))==null?void 0:f.type),3)]),c("td",null,[(m(!0),b(z,null,lt(((h=k(e).getClassById(o))==null?void 0:h.stereotypes)||[],g=>(m(),b("span",{key:g,class:"stereotype-tag"},"«"+A(g)+"»",1))),128))]),c("td",null,A(((d=k(e).getClassById(o))==null?void 0:d.attributes.length)||0),1)],8,Eu)}),128))])])])])):R("",!0),!n.value.classes.length&&!n.value.subPackages.length&&!n.value.diagrams.length?(m(),b("div",Ou,[...r[8]||(r[8]=[c("p",null,"This package is empty.",-1)])])):R("",!0)])):R("",!0)}}),Lu={key:0,class:"detail-view"},Ru={class:"entity-header"},Du={class:"entity-title"},Bu={class:"entity-name"},Nu={key:0,class:"entity-subtitle"},Fu={key:0,class:"entity-badge badge-abstract"},ju={key:0,class:"entity-metadata"},Vu={class:"metadata-item"},Hu={class:"metadata-value"},Uu={key:1,class:"entity-definition"},Ku={class:"definition-content"},Wu={key:2,class:"section"},Gu={key:0,class:"inheritance-group"},qu=["onClick"],Ju={class:"list-item-name"},zu={key:1,class:"inheritance-group"},Yu=["onClick"],Qu={class:"list-item-name"},Xu={key:3,class:"section"},Zu={class:"section-title"},tf={class:"section-count"},ef={class:"table-wrapper"},sf={class:"data-table"},nf=["onClick"],rf={key:1,class:"uml-basic-type"},of={key:2,class:"type-unresolved"},lf=["data-visibility"],af={key:0,class:"modifier-badge"},cf={key:1,class:"modifier-badge"},uf={key:4,class:"section"},ff={class:"inheritance-header"},df={class:"table-wrapper"},hf={class:"data-table inherited-table"},pf={key:5,class:"section"},gf={class:"section-title"},_f={class:"section-count"},mf={class:"table-wrapper"},bf={class:"data-table"},yf={key:0},vf=["data-visibility"],wf={key:0,class:"modifier-badge"},kf={key:1,class:"modifier-badge"},Cf={key:6,class:"section"},xf={class:"section-title"},Sf={class:"section-count"},Af={class:"table-wrapper"},$f={class:"data-table"},Tf=["onClick"],Mf={key:7,class:"section"},Pf={class:"inheritance-header"},Ef={class:"list-item"},Of={class:"list-item-name"},If={class:"list-item-meta"},Lf={key:8,class:"section"},Rf={class:"section-title"},Df={class:"section-count"},Bf={class:"item-list"},Nf={class:"list-item-name"},Ff={key:0,class:"list-item-meta"},jf=Zt({__name:"ClassDetails",setup(t){const e=ne(),s=ie(),n=kt(()=>s.currentClassId?e.getClassById(s.currentClassId):null);function i(a){return a?`${a.min||"0"}..${a.max||"*"}`:""}function r(a){if(new Set(["String","Integer","Boolean","Real","UnlimitedNatural","DateTime","URI","Any","Object"]).has(a))return{isBasic:!0,classId:null};const h=e.findClassByName(a);return{isBasic:!1,classId:h?h.id:null}}function o(a){var f;return n.value?((f=a.source)==null?void 0:f.class)!==n.value.xmiId?a.source:a.target:null}function l(a){var f;return a.literals&&a.literals.length>0?"ENUMERATION":((f=a.type)==null?void 0:f.toUpperCase())||"CLASS"}return(a,f)=>{var h;return n.value?(m(),b("div",Lu,[c("div",Ru,[c("div",Du,[c("h2",Bu,A(n.value.qualifiedName),1),n.value.package?(m(),b("div",Nu,[c("a",{href:"#",class:"link-button",onClick:f[0]||(f[0]=Pe(d=>{var g;return k(s).selectPackage(n.value.package,(g=k(e).getPackageById(n.value.package))==null?void 0:g.name)},["prevent"]))},A(((h=k(e).getPackageById(n.value.package))==null?void 0:h.name)||n.value.package),1)])):R("",!0)]),c("span",{class:Pt(["entity-badge","badge-"+l(n.value)])},A(l(n.value)),3),n.value.isAbstract?(m(),b("span",Fu,"abstract")):R("",!0)]),n.value.stereotypes.length?(m(),b("div",ju,[c("div",Vu,[f[1]||(f[1]=c("span",{class:"metadata-label"},"Stereotypes",-1)),c("span",Hu,[(m(!0),b(z,null,lt(n.value.stereotypes,d=>(m(),b("span",{key:d,class:"stereotype-tag"},"«"+A(d)+"»",1))),128))])])])):R("",!0),n.value.definition?(m(),b("div",Uu,[c("div",Ku,A(n.value.definition),1)])):R("",!0),n.value.generalizations.length||n.value.specializations.length?(m(),b("div",Wu,[f[4]||(f[4]=c("h3",{class:"section-title"},"Inheritance",-1)),n.value.generalizations.length?(m(),b("div",Gu,[f[2]||(f[2]=c("div",{class:"inheritance-header"},"↑ Extends",-1)),(m(!0),b(z,null,lt(n.value.generalizations,d=>{var g;return m(),b("div",{key:d,class:"list-item clickable-row",onClick:y=>k(s).selectClass(d)},[c("span",Ju,A(((g=k(e).getClassById(d))==null?void 0:g.name)||d),1)],8,qu)}),128))])):R("",!0),n.value.specializations.length?(m(),b("div",zu,[f[3]||(f[3]=c("div",{class:"inheritance-header"},"↓ Extended by",-1)),(m(!0),b(z,null,lt(n.value.specializations,d=>{var g;return m(),b("div",{key:d,class:"list-item clickable-row",onClick:y=>k(s).selectClass(d)},[c("span",Qu,A(((g=k(e).getClassById(d))==null?void 0:g.name)||d),1)],8,Yu)}),128))])):R("",!0)])):R("",!0),n.value.attributes.length?(m(),b("div",Xu,[c("h3",Zu,[f[5]||(f[5]=ft("Attributes ",-1)),c("span",tf,A(n.value.attributes.length),1)]),c("div",ef,[c("table",sf,[f[6]||(f[6]=c("thead",null,[c("tr",null,[c("th",null,"Name"),c("th",null,"Type"),c("th",null,"Visibility"),c("th",null,"Cardinality"),c("th",null,"Modifiers")])],-1)),c("tbody",null,[(m(!0),b(z,null,lt(n.value.attributes,d=>{var g,y,T,P,D,H,I,G,O,W,ht;return m(),b("tr",{key:d,class:"clickable-row"},[c("td",null,A((g=k(e).getAttributeById(d))==null?void 0:g.name),1),c("td",null,[(y=k(e).getAttributeById(d))!=null&&y.type?(m(),b(z,{key:0},[r(k(e).getAttributeById(d).type).classId?(m(),b("a",{key:0,href:"#",class:"type-link",onClick:Pe(K=>k(s).selectClass(r(k(e).getAttributeById(d).type).classId),["prevent"])},A((T=k(e).getAttributeById(d))==null?void 0:T.type),9,nf)):r(k(e).getAttributeById(d).type).isBasic?(m(),b("span",rf,A((P=k(e).getAttributeById(d))==null?void 0:P.type),1)):(m(),b("span",of,A((D=k(e).getAttributeById(d))==null?void 0:D.type),1))],64)):R("",!0)]),c("td",null,[(H=k(e).getAttributeById(d))!=null&&H.visibility?(m(),b("span",{key:0,class:"visibility-badge","data-visibility":(I=k(e).getAttributeById(d))==null?void 0:I.visibility},A((G=k(e).getAttributeById(d))==null?void 0:G.visibility),9,lf)):R("",!0)]),c("td",null,A(i((O=k(e).getAttributeById(d))==null?void 0:O.cardinality)),1),c("td",null,[(W=k(e).getAttributeById(d))!=null&&W.isStatic?(m(),b("span",af,"static")):R("",!0),(ht=k(e).getAttributeById(d))!=null&&ht.isReadOnly?(m(),b("span",cf,"readonly")):R("",!0)])])}),128))])])])])):R("",!0),n.value.inheritedAttributes.length?(m(),b("div",uf,[f[8]||(f[8]=c("h3",{class:"section-title"},"Inherited Attributes",-1)),(m(!0),b(z,null,lt(n.value.inheritedAttributes,d=>(m(),b("div",{key:d.attributeId,class:"inheritance-group"},[c("div",ff,"From "+A(d.inheritedFromName),1),c("div",df,[c("table",hf,[f[7]||(f[7]=c("thead",null,[c("tr",null,[c("th",null,"Name"),c("th",null,"Type"),c("th",null,"Cardinality")])],-1)),c("tbody",null,[c("tr",null,[c("td",null,A(d.attribute.name),1),c("td",null,A(d.attribute.type),1),c("td",null,A(i(d.attribute.cardinality)),1)])])])])]))),128))])):R("",!0),n.value.operations.length?(m(),b("div",pf,[c("h3",gf,[f[9]||(f[9]=ft("Operations ",-1)),c("span",_f,A(n.value.operations.length),1)]),c("div",mf,[c("table",bf,[f[11]||(f[11]=c("thead",null,[c("tr",null,[c("th",null,"Name"),c("th",null,"Return"),c("th",null,"Visibility"),c("th",null,"Modifiers")])],-1)),c("tbody",null,[(m(!0),b(z,null,lt(n.value.operations,d=>{var g,y,T,P,D,H,I,G,O;return m(),b("tr",{key:d,class:"clickable-row"},[c("td",null,[ft(A((g=k(e).getOperationById(d))==null?void 0:g.name)+"( ",1),(y=k(e).getOperationById(d))!=null&&y.parameters.length?(m(),b("span",yf,A((T=k(e).getOperationById(d))==null?void 0:T.parameters.map(W=>`${W.name}: ${W.type||"?"}`).join(", ")),1)):R("",!0),f[10]||(f[10]=ft(" ) ",-1))]),c("td",null,A(((P=k(e).getOperationById(d))==null?void 0:P.returnType)||"void"),1),c("td",null,[(D=k(e).getOperationById(d))!=null&&D.visibility?(m(),b("span",{key:0,class:"visibility-badge","data-visibility":(H=k(e).getOperationById(d))==null?void 0:H.visibility},A((I=k(e).getOperationById(d))==null?void 0:I.visibility),9,vf)):R("",!0)]),c("td",null,[(G=k(e).getOperationById(d))!=null&&G.isStatic?(m(),b("span",wf,"static")):R("",!0),(O=k(e).getOperationById(d))!=null&&O.isAbstract?(m(),b("span",kf,"abstract")):R("",!0)])])}),128))])])])])):R("",!0),n.value.associations.length?(m(),b("div",Cf,[c("h3",xf,[f[12]||(f[12]=ft("Associations ",-1)),c("span",Sf,A(n.value.associations.length),1)]),c("div",Af,[c("table",$f,[f[13]||(f[13]=c("thead",null,[c("tr",null,[c("th",null,"Name"),c("th",null,"Target"),c("th",null,"Cardinality"),c("th",null,"Aggregation")])],-1)),c("tbody",null,[(m(!0),b(z,null,lt(n.value.associations,d=>{var g,y,T,P,D;return m(),b("tr",{key:d},[c("td",null,A((g=k(e).getAssociationById(d))==null?void 0:g.name),1),c("td",null,[o(k(e).getAssociationById(d))?(m(),b(z,{key:0},[(y=o(k(e).getAssociationById(d)))!=null&&y.className?(m(),b("a",{key:0,href:"#",class:"type-link",onClick:Pe(()=>{var I;const H=k(e).findClassByName(((I=o(k(e).getAssociationById(d)))==null?void 0:I.className)||"");H&&k(s).selectClass(H.id)},["prevent"])},A((T=o(k(e).getAssociationById(d)))==null?void 0:T.className),9,Tf)):R("",!0)],64)):R("",!0)]),c("td",null,A(i((P=o(k(e).getAssociationById(d)))==null?void 0:P.cardinality)),1),c("td",null,A((D=o(k(e).getAssociationById(d)))==null?void 0:D.aggregation),1)])}),128))])])])])):R("",!0),n.value.inheritedAssociations.length?(m(),b("div",Mf,[f[14]||(f[14]=c("h3",{class:"section-title"},"Inherited Associations",-1)),(m(!0),b(z,null,lt(n.value.inheritedAssociations,d=>{var g;return m(),b("div",{key:d.associationId,class:"inheritance-group"},[c("div",Pf,"From "+A(d.inheritedFromName),1),c("div",Ef,[c("span",Of,A((g=k(e).getAssociationById(d.associationId))==null?void 0:g.name),1),c("span",If,A(d.localRole),1)])])}),128))])):R("",!0),n.value.literals.length?(m(),b("div",Lf,[c("h3",Rf,[f[15]||(f[15]=ft("Literals ",-1)),c("span",Df,A(n.value.literals.length),1)]),c("div",Bf,[(m(!0),b(z,null,lt(n.value.literals,d=>(m(),b("div",{key:d.name,class:"list-item"},[c("span",Nf,A(d.name),1),d.definition?(m(),b("span",Ff,A(d.definition),1)):R("",!0)]))),128))])])):R("",!0)])):R("",!0)}}}),Vf={key:0,class:"detail-view"},Hf={class:"entity-header"},Uf={class:"entity-title"},Kf={class:"entity-name"},Wf={class:"entity-metadata"},Gf={key:0,class:"metadata-item"},qf={class:"metadata-value"},Jf={class:"metadata-item"},zf={class:"metadata-value"},Yf={class:"metadata-item"},Qf={class:"metadata-value"},Xf={key:0,class:"diagram-toolbar"},Zf=["innerHTML"],td=Zt({__name:"DiagramView",setup(t){const e=ne(),s=ie(),n=kt(()=>s.currentDiagramId?e.getDiagramById(s.currentDiagramId):null),i=Qt(1),r=Qt(0),o=Qt(0);function l(){i.value=Math.min(i.value*1.2,5)}function a(){i.value=Math.max(i.value/1.2,.1)}function f(){i.value=1,r.value=0,o.value=0}function h(y){y.preventDefault(),y.deltaY<0?l():a()}function d(){var D;if(!((D=n.value)!=null&&D.svg))return;const y=new Blob([n.value.svg],{type:"image/svg+xml"}),T=URL.createObjectURL(y),P=document.createElement("a");P.href=T,P.download=`${n.value.name||"diagram"}.svg`,P.click(),URL.revokeObjectURL(T)}const g=kt(()=>`translate(${r.value}px, ${o.value}px) scale(${i.value})`);return(y,T)=>n.value?(m(),b("div",Vf,[c("div",Hf,[c("div",Uf,[c("h2",Kf,A(n.value.name),1)]),T[0]||(T[0]=c("span",{class:"entity-badge badge-diagram"},"Diagram",-1))]),c("div",Wf,[n.value.type?(m(),b("div",Gf,[T[1]||(T[1]=c("span",{class:"metadata-label"},"Type",-1)),c("span",qf,A(n.value.type),1)])):R("",!0),c("div",Jf,[T[2]||(T[2]=c("span",{class:"metadata-label"},"Elements",-1)),c("span",zf,A(n.value.objectCount),1)]),c("div",Yf,[T[3]||(T[3]=c("span",{class:"metadata-label"},"Connectors",-1)),c("span",Qf,A(n.value.linkCount),1)])]),n.value.svg?(m(),b("div",Xf,[c("button",{class:"btn-sm",onClick:l},"Zoom In"),c("button",{class:"btn-sm",onClick:a},"Zoom Out"),c("button",{class:"btn-sm",onClick:f},"Reset"),c("button",{class:"btn-sm",onClick:d},"Download SVG")])):R("",!0),n.value.svg?(m(),b("div",{key:1,class:"diagram-svg-container",onWheel:h},[c("div",{class:"diagram-svg",style:us({transform:g.value}),innerHTML:n.value.svg},null,12,Zf)],32)):R("",!0)])):R("",!0)}}),ed={class:"detail-view"},sd={class:"section-title"},nd={class:"section-count"},id={class:"table-wrapper"},rd={class:"data-table"},od=["onClick"],ld={key:0,class:"empty-state"},ad=Zt({__name:"SearchResults",setup(t){const e=ne(),s=ie(),n=kt(()=>{const i={};for(const r of e.searchEntries){const o=r.type;(i[o]??(i[o]=[])).push(r)}return i});return(i,r)=>(m(),b("div",ed,[r[2]||(r[2]=c("div",{class:"entity-header"},[c("div",{class:"entity-title"},[c("h2",{class:"entity-name"},"Search Results")])],-1)),(m(!0),b(z,null,lt(n.value,(o,l)=>(m(),b("div",{key:l,class:"section"},[c("h3",sd,[ft(A(l)+"s ",1),c("span",nd,A(o.length),1)]),c("div",id,[c("table",rd,[r[0]||(r[0]=c("thead",null,[c("tr",null,[c("th",null,"Name"),c("th",null,"Package"),c("th",null,"Type")])],-1)),c("tbody",null,[(m(!0),b(z,null,lt(o,a=>(m(),b("tr",{key:a.id,class:"clickable-row",onClick:f=>a.type==="class"?k(s).selectClass(a.entityId):k(s).selectPackage(a.entityId)},[c("td",null,A(a.name),1),c("td",null,A(a.package),1),c("td",null,[c("span",{class:Pt(["entity-badge","badge-"+(a.entityType||"class").toLowerCase()])},A(a.entityType),3)])],8,od))),128))])])])]))),128)),k(e).searchEntries.length?R("",!0):(m(),b("div",ld,[...r[1]||(r[1]=[c("p",null,"No results found.",-1)])]))]))}}),cd=["data-theme"],ud={class:"main-content"},fd={class:"content-area"},Lr=xa(Zt({__name:"App",setup(t){const e=ne(),s=ie();return un(async()=>{const n=window;n.__SPA_DATA__?e.loadFromEmbedded():n.__SPA_DATA_URL__&&await e.loadFromUrl(n.__SPA_DATA_URL__,n.__SPA_SEARCH_URL__),s.navigateToHash(),window.addEventListener("hashchange",()=>s.navigateToHash());const i=localStorage.getItem("uml-browser-preferences");if(i)try{const r=JSON.parse(i);r.darkMode!==void 0&&(s.darkMode=r.darkMode),r.sidebarVisible!==void 0&&(s.sidebarVisible=r.sidebarVisible)}catch{}}),He(()=>[s.darkMode,s.sidebarVisible],()=>{localStorage.setItem("uml-browser-preferences",JSON.stringify({darkMode:s.darkMode,sidebarVisible:s.sidebarVisible}))}),(n,i)=>(m(),b("div",{class:"app-layout","data-theme":k(s).darkMode?"dark":"light"},[At(gc),c("div",ud,[At(Ic),c("div",fd,[k(s).currentView==="welcome"?(m(),ue(su,{key:0})):k(s).currentView==="package"?(m(),ue(Iu,{key:1})):k(s).currentView==="class"?(m(),ue(jf,{key:2})):k(s).currentView==="diagram"?(m(),ue(td,{key:3})):k(s).currentView==="search"?(m(),ue(ad,{key:4})):R("",!0)])])],8,cd))}}));Lr.use($a()),Lr.mount("#app")})();
24
+ */let $r;const Rs=e=>$r=e,Tr=Symbol();function $n(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Zt;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Zt||(Zt={}));function Ea(){const e=Un(!0),t=e.run(()=>lt({}));let s=[],n=[];const i=sn({install(r){Rs(i),i._a=r,r.provide(Tr,i),r.config.globalProperties.$pinia=i,n.forEach(o=>s.push(o)),n=[]},use(r){return this._a?s.push(r):n.push(r),this},_p:s,_a:null,_e:e,_s:new Map,state:t});return i}const Er=()=>{};function Ar(e,t,s,n=Er){e.push(t);const i=()=>{const r=e.indexOf(t);r>-1&&(e.splice(r,1),n())};return!s&&Kn()&&Qr(i),i}function Pt(e,...t){e.slice().forEach(s=>{s(...t)})}const Aa=e=>e(),Mr=Symbol(),Tn=Symbol();function En(e,t){e instanceof Map&&t instanceof Map?t.forEach((s,n)=>e.set(n,s)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const s in t){if(!t.hasOwnProperty(s))continue;const n=t[s],i=e[s];$n(i)&&$n(n)&&e.hasOwnProperty(s)&&!ae(n)&&!Ye(n)?e[s]=En(i,n):e[s]=n}return e}const Ma=Symbol();function Ia(e){return!$n(e)||!e.hasOwnProperty(Ma)}const{assign:dt}=Object;function Pa(e){return!!(ae(e)&&e.effect)}function Oa(e,t,s,n){const{state:i,actions:r,getters:o}=t,l=s.state.value[e];let a;function d(){l||(s.state.value[e]=i?i():{});const f=wo(s.state.value[e]);return dt(f,r,Object.keys(o||{}).reduce((m,C)=>(m[C]=sn(se(()=>{Rs(s);const p=s._s.get(e);return o[C].call(p,p)})),m),{}))}return a=Ir(e,d,t,s,n,!0),a}function Ir(e,t,s={},n,i,r){let o;const l=dt({actions:{}},s),a={deep:!0};let d,f,m=[],C=[],p;const g=n.state.value[e];!r&&!g&&(n.state.value[e]={});let _;function $(j){let B;d=f=!1,typeof j=="function"?(j(n.state.value[e]),B={type:Zt.patchFunction,storeId:e,events:p}):(En(n.state.value[e],j),B={type:Zt.patchObject,payload:j,storeId:e,events:p});const oe=_=Symbol();di().then(()=>{_===oe&&(d=!0)}),f=!0,Pt(m,B,n.state.value[e])}const O=r?function(){const{state:B}=s,oe=B?B():{};this.$patch(ge=>{dt(ge,oe)})}:Er;function R(){o.stop(),m=[],C=[],n._s.delete(e)}const q=(j,B="")=>{if(Mr in j)return j[Tn]=B,j;const oe=function(){Rs(n);const ge=Array.from(arguments),Te=[],Ue=[];function rt(J){Te.push(J)}function Ds(J){Ue.push(J)}Pt(C,{args:ge,name:oe[Tn],store:G,after:rt,onError:Ds});let ce;try{ce=j.apply(this&&this.$id===e?this:G,ge)}catch(J){throw Pt(Ue,J),J}return ce instanceof Promise?ce.then(J=>(Pt(Te,J),J)).catch(J=>(Pt(Ue,J),Promise.reject(J))):(Pt(Te,ce),ce)};return oe[Mr]=!0,oe[Tn]=B,oe},D={_p:n,$id:e,$onAction:Ar.bind(null,C),$patch:$,$reset:O,$subscribe(j,B={}){const oe=Ar(m,j,B.detached,()=>ge()),ge=o.run(()=>ct(()=>n.state.value[e],Te=>{(B.flush==="sync"?f:d)&&j({storeId:e,type:Zt.direct,events:p},Te)},dt({},a,B)));return oe},$dispose:R},G=ms(D);n._s.set(e,G);const F=(n._a&&n._a.runWithContext||Aa)(()=>n._e.run(()=>(o=Un()).run(()=>t({action:q}))));for(const j in F){const B=F[j];if(ae(B)&&!Pa(B)||Ye(B))r||(g&&Ia(B)&&(ae(B)?B.value=g[j]:En(B,g[j])),n.state.value[e][j]=B);else if(typeof B=="function"){const oe=q(B,j);F[j]=oe,l.actions[j]=B}}return dt(G,F),dt(z(G),F),Object.defineProperty(G,"$state",{get:()=>n.state.value[e],set:j=>{$(B=>{dt(B,j)})}}),n._p.forEach(j=>{dt(G,o.run(()=>j({store:G,app:n._a,pinia:n,options:l})))}),g&&r&&s.hydrate&&s.hydrate(G.$state,g),d=!0,f=!0,G}/*! #__NO_SIDE_EFFECTS__ */function Pr(e,t,s){let n,i;const r=typeof t=="function";typeof e=="string"?(n=e,i=r?s:t):(i=e,n=e.id);function o(l,a){const d=Fo();return l=l||(d?Bt(Tr,null):null),l&&Rs(l),l=$r,l._s.has(n)||(r?Ir(n,t,i,l):Oa(n,i,l)),l._s.get(n)}return o.$id=n,o}const La={class:"classes",enumeration:"enumerations",data_type:"data_types",primitive_type:"primitive_types",interface:"interfaces",package:"packages",diagram:"diagrams",property:"properties"},Ra=12,An=new Map,Be=Pr("data",{state:()=>({metadata:null,packageTree:null,entries:[],searchEntries:[],elements:{},shardBase:"",loaded:!1}),getters:{entriesById(){const e={};for(const t of this.entries)e[t.id]=t;return e},nodesById(){const e={};if(this.packageTree)for(const t of this.packageTree.nodes)e[t.id]=t;return e},rootNodes(){const e=this.packageTree;if(!e)return[];const t=this.nodesById;return e.rootIds.map(s=>t[s]).filter(s=>!!s)}},actions:{loadFromEmbedded(){var s;const t=window.__SPA_DATA__;if(!t)throw new Error("No embedded SPA data found in window.__SPA_DATA__");this.metadata=t.metadata,this.packageTree=t.packageTree,this.entries=t.entries||[],this.searchEntries=((s=t.searchIndex)==null?void 0:s.entries)||[],this.hydrateShards(t.shards||[]),this.loaded=!0},async loadFromSharded(e,t,s){const[n,i]=await Promise.all([fetch(e),fetch(t)]);if(!n.ok)throw new Error(`Failed to load ${e}: ${n.status}`);if(!i.ok)throw new Error(`Failed to load ${t}: ${i.status}`);const r=await n.json(),o=await i.json();this.metadata=r.metadata,this.packageTree=r.packageTree,this.entries=r.entries||[],this.searchEntries=o.entries||[],this.shardBase=s||"",this.loaded=!0},hydrateShards(e){for(const t of e)this.elements[t.id]=t},elementFor(e){return this.elements[e]||null},kindFor(e){var s;const t=this.entriesById[e];return t?t.kind:this.nodesById[e]?"package":(s=this.packageTree)!=null&&s.nodes.some(n=>n.diagramIds.includes(e))?"diagram":null},shardUrlFor(e,t){const s=La[t]||`${t}s`;return`${this.shardBase}${s}/${e}.json`},async ensureElement(e){const t=this.elements[e];if(t)return t;const s=this.kindFor(e);if(!s)return null;const n=An.get(e);if(n)return n;const i=this.shardUrlFor(e,s),r=fetch(i).then(async o=>{if(!o.ok)throw new Error(`Failed to load ${i}: ${o.status}`);const l=await o.json();return this.elements[l.id]=l,l}).finally(()=>{An.delete(e)});return An.set(e,r),r},async ensureElements(e){const t=[...e],s=Array.from({length:Math.min(Ra,t.length)},async()=>{for(;;){const n=t.shift();if(!n)return;try{await this.ensureElement(n)}catch{}}});await Promise.all(s)},classifierEntryByName(e){return this.entries.find(t=>t.qualifiedName===e||t.name===e)}}}),it=Pr("ui",{state:()=>({currentView:"welcome",currentPackageId:null,currentPackageLabel:null,currentClassId:null,currentClassLabel:null,currentDiagramId:null,currentDiagramLabel:null,sidebarVisible:!0,darkMode:!1,expandedNodes:new Set,breadcrumbs:[],searchQuery:""}),actions:{showWelcome(){this.currentView="welcome",this.currentPackageId=null,this.currentClassId=null,this.currentDiagramId=null,this.breadcrumbs=[],this.updateHash()},selectPackage(e,t){this.currentView="package",this.currentPackageId=e,this.currentPackageLabel=t||null,this.currentClassId=null,this.currentDiagramId=null,this.breadcrumbs=[{label:t||"Package",id:e,type:"package"}],this.expandToNode(e),this.updateHash()},selectClass(e,t){this.currentView="class",this.currentClassId=e,this.currentClassLabel=t||null,this.currentDiagramId=null,this.breadcrumbs=[...this.currentPackageId&&this.currentPackageLabel?[{label:this.currentPackageLabel,id:this.currentPackageId,type:"package"}]:[],{label:t||"Class",id:e,type:"class"}],this.updateHash()},selectDiagram(e,t){this.currentView="diagram",this.currentDiagramId=e,this.currentDiagramLabel=t||null,this.breadcrumbs=[...this.currentPackageId&&this.currentPackageLabel?[{label:this.currentPackageLabel,id:this.currentPackageId,type:"package"}]:[],{label:t||"Diagram",id:e,type:"diagram"}],this.updateHash()},showSearch(e){this.currentView="search",this.searchQuery=e,this.updateHash()},toggleNode(e){this.expandedNodes.has(e)?this.expandedNodes.delete(e):this.expandedNodes.add(e)},expandToNode(e){this.expandedNodes.add(e)},expandAll(){},collapseAll(){this.expandedNodes.clear()},toggleSidebar(){this.sidebarVisible=!this.sidebarVisible},toggleDarkMode(){this.darkMode=!this.darkMode},navigateToHash(){const e=window.location.hash.slice(1);if(!e)return;const t=Be();if(e.startsWith("/package/")){const s=e.slice(9),n=t.nodesById[s];this.selectPackage(s,n==null?void 0:n.name)}else if(e.startsWith("/class/")){const s=e.slice(7),n=t.entriesById[s];this.selectClass(s,n==null?void 0:n.name)}else if(e.startsWith("/diagram/")){const s=e.slice(9);this.selectDiagram(s)}},updateHash(){let e="";switch(this.currentView){case"package":e=`/package/${this.currentPackageId}`;break;case"class":e=`/class/${this.currentClassId}`;break;case"diagram":e=`/diagram/${this.currentDiagramId}`;break;case"search":e=`/search?q=${encodeURIComponent(this.searchQuery)}`;break}window.location.hash=e}}}),Da={key:0,class:"tree-node"},Na={key:1,class:"tree-toggle-placeholder"},Fa={class:"tree-label"},ja={key:2,class:"tree-count"},Va={key:0,class:"tree-children"},Ha=["onClick"],Ba={class:"badge badge-class"},Ua={class:"tree-item-label"},Ka=Ze({__name:"PackageTreeNode",props:{nodeId:{}},setup(e){const t=e,s=Be(),n=it(),i=se(()=>s.nodesById[t.nodeId]),r=se(()=>n.expandedNodes.has(t.nodeId)),o=se(()=>n.currentView==="package"&&n.currentPackageId===t.nodeId),l=se(()=>{var p;return((p=i.value)==null?void 0:p.childIds)??[]}),a=se(()=>l.value.map(p=>s.nodesById[p]).filter(p=>!!p)),d=se(()=>{var p;return(((p=i.value)==null?void 0:p.classifierIds)??[]).map(g=>s.entriesById[g]).filter(g=>!!g)}),f=se(()=>{var p;return((p=i.value)==null?void 0:p.classifierIds.length)??0});function m(){n.toggleNode(t.nodeId)}function C(){var p;n.selectPackage(t.nodeId,(p=i.value)==null?void 0:p.name)}return(p,g)=>{const _=rl("PackageTreeNode",!0);return i.value?(b(),y("div",Da,[c("div",{class:xe(["tree-node-content",{selected:o.value}])},[l.value.length||d.value.length?(b(),y("button",{key:0,class:"tree-toggle",onClick:It(m,["stop"])},[(b(),y("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",class:xe({expanded:r.value})},[...g[0]||(g[0]=[c("path",{d:"M4 3l3 3-3 3",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)])],2))])):(b(),y("span",Na)),c("span",{class:"tree-icon",onClick:C,style:{cursor:"pointer"}},[...g[1]||(g[1]=[c("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},[c("path",{d:"M2 6L8 2L14 6V13C14 13.5 13.5 14 13 14H3C2.5 14 2 13.5 2 13V6Z",stroke:"currentColor","stroke-width":"1.2","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])]),c("span",{class:"tree-label-group",onClick:C},[c("span",Fa,I(i.value.name),1)]),f.value?(b(),y("span",ja,I(f.value),1)):H("",!0)],2),r.value?(b(),y("div",Va,[(b(!0),y(Q,null,de(a.value,$=>(b(),tt(_,{key:$.id,"node-id":$.id},null,8,["node-id"]))),128)),(b(!0),y(Q,null,de(d.value,$=>(b(),y("div",{key:$.id,class:xe(["tree-item",{selected:L(n).currentClassId===$.id}]),onClick:O=>L(n).selectClass($.id,$.name)},[c("span",Ba,I($.kind.charAt(0).toUpperCase()),1),c("span",Ua,I($.name),1)],10,Ha))),128))])):H("",!0)])):H("",!0)}}}),Wa={class:"sidebar-content"},qa={class:"sidebar-branding"},Ga=["src"],Ja={class:"branding-text"},za={class:"branding-title"},Ya={class:"sidebar-section overview-section"},Qa={class:"sidebar-section tree-section"},Xa={class:"section-header"},Za={class:"tree-controls"},ec={key:0,class:"package-tree"},tc={key:1,class:"loading"},sc={key:0,class:"sidebar-section stats-section"},nc={class:"stats-grid"},ic={class:"stat-item"},rc={class:"stat-value"},oc={class:"stat-item"},lc={class:"stat-value"},ac={class:"stat-item"},cc={class:"stat-value"},uc={class:"sidebar-footer"},fc={href:"https://www.lutaml.org",target:"_blank",rel:"noopener",class:"footer-brand",title:"LutaML"},dc=["src"],hc={class:"footer-text-group"},pc={key:0,class:"footer-text"},Or="https://raw.githubusercontent.com/lutaml/branding/refs/heads/main/svg/lutaml-logo_logo-icon-light.svg",Lr="https://raw.githubusercontent.com/lutaml/branding/refs/heads/main/svg/lutaml-logo_logo-icon-dark.svg",gc="https://raw.githubusercontent.com/lutaml/branding/refs/heads/main/svg/lutaml-logo_logo-full-light.svg",mc="https://raw.githubusercontent.com/lutaml/branding/refs/heads/main/svg/lutaml-logo_logo-full-dark.svg",_c=Ze({__name:"AppSidebar",setup(e){const t=Be(),s=it(),n=se(()=>{var l,a;const o=(a=(l=t.metadata)==null?void 0:l.appearance)==null?void 0:a.logos;if(o!=null&&o.square){const d=s.darkMode?o.square.dark:o.square.light;return(d==null?void 0:d.url)||(d==null?void 0:d.path)||(s.darkMode?Lr:Or)}return s.darkMode?Lr:Or}),i=se(()=>s.darkMode?mc:gc);function r(o){if(!o)return"";try{return new Date(o).toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric"})}catch{return o}}return(o,l)=>{var a,d,f;return b(),y("aside",{class:xe(["sidebar",{collapsed:!L(s).sidebarVisible}])},[c("div",Wa,[c("div",qa,[c("img",{src:n.value,alt:"Logo",class:"branding-logo"},null,8,Ga),c("div",Ja,[c("span",za,I(((a=L(t).metadata)==null?void 0:a.title)||"LutaML"),1),l[3]||(l[3]=c("span",{class:"branding-subtitle"},"UML Browser",-1))])]),c("div",Ya,[c("button",{class:xe(["overview-btn",{active:L(s).currentView==="welcome"}]),onClick:l[0]||(l[0]=m=>L(s).showWelcome())},[...l[4]||(l[4]=[c("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},[c("path",{d:"M2 7.5L8 2.5L14 7.5",stroke:"currentColor","stroke-width":"1.3","stroke-linecap":"round","stroke-linejoin":"round"}),c("path",{d:"M3 7.5V13.5C3 13.5 3 14 4 14H12C12 14 13 14 13 13.5V7.5",stroke:"currentColor","stroke-width":"1.3","stroke-linecap":"round","stroke-linejoin":"round"})],-1),c("span",null,"Overview",-1)])],2)]),c("div",Qa,[c("div",Xa,[l[7]||(l[7]=c("span",{class:"section-title"},"Packages",-1)),c("div",Za,[c("button",{class:"btn btn-ghost",onClick:l[1]||(l[1]=m=>L(s).expandAll()),title:"Expand All"},[...l[5]||(l[5]=[c("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none"},[c("path",{d:"M2 5l5 5 5-5",stroke:"currentColor","stroke-width":"1.3","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])]),c("button",{class:"btn btn-ghost",onClick:l[2]||(l[2]=m=>L(s).collapseAll()),title:"Collapse All"},[...l[6]||(l[6]=[c("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none"},[c("path",{d:"M2 9l5-5 5 5",stroke:"currentColor","stroke-width":"1.3","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])])])]),L(t).packageTree?(b(),y("div",ec,[(b(!0),y(Q,null,de(L(t).packageTree.rootIds,m=>(b(),tt(Ka,{key:m,"node-id":m},null,8,["node-id"]))),128))])):(b(),y("div",tc,"Loading..."))]),(d=L(t).metadata)!=null&&d.statistics?(b(),y("div",sc,[c("div",nc,[c("div",ic,[c("span",rc,I(L(t).metadata.statistics.packages),1),l[8]||(l[8]=c("span",{class:"stat-label"},"Packages",-1))]),c("div",oc,[c("span",lc,I(L(t).metadata.statistics.classes),1),l[9]||(l[9]=c("span",{class:"stat-label"},"Classes",-1))]),c("div",ac,[c("span",cc,I(L(t).metadata.statistics.associations),1),l[10]||(l[10]=c("span",{class:"stat-label"},"Associations",-1))])])])):H("",!0),c("div",uc,[c("a",fc,[c("img",{src:i.value,alt:"LutaML",class:"lutaml-logo"},null,8,dc)]),c("div",hc,[(f=L(t).metadata)!=null&&f.generated?(b(),y("span",pc,[he(" Generated "+I(r(L(t).metadata.generated))+" with ",1),l[11]||(l[11]=c("a",{href:"https://github.com/lutaml/lutaml",target:"_blank",rel:"noopener"},"LutaML",-1)),he(" v"+I(L(t).metadata.version||"?"),1)])):H("",!0)])])])],2)}}}),vc={class:"header"},bc={class:"header-left"},yc={key:0,class:"header-breadcrumb"},wc={key:0,class:"breadcrumb-sep"},kc=["onClick"],xc={key:2},Cc={class:"header-right"},Sc=["title"],$c={key:0,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},Tc={key:1,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},Ec={class:"search-modal"},Ac={class:"search-input-wrapper"},Mc={key:0,class:"search-results"},Ic=["onClick"],Pc={class:"result-content"},Oc={class:"result-name"},Lc={class:"result-path"},Rc=Ze({__name:"AppHeader",setup(e){const t=it(),s=Be(),n=lt(null),i=lt(!1),r=lt(""),o=lt(0),l=se(()=>{const p=r.value.trim().toLowerCase();return p?s.searchEntries.filter(g=>g.name.toLowerCase().includes(p)||(g.qualifiedName||"").toLowerCase().includes(p)||(g.content||"").toLowerCase().includes(p)).sort((g,_)=>(_.boost||1)-(g.boost||1)).slice(0,20):[]});function a(){i.value=!0,setTimeout(()=>{var p;return(p=n.value)==null?void 0:p.focus()},50)}function d(){i.value=!1,r.value="",o.value=0}function f(p){if(p.key==="ArrowDown")p.preventDefault(),o.value=Math.min(o.value+1,l.value.length-1);else if(p.key==="ArrowUp")p.preventDefault(),o.value=Math.max(o.value-1,0);else if(p.key==="Enter"){const g=l.value[o.value];g&&C(g.id,g.kind)}}function m(p){if((p.metaKey||p.ctrlKey)&&p.key==="k"&&(p.preventDefault(),a()),p.key==="/"&&!i.value){const g=p.target;g.tagName!=="INPUT"&&g.tagName!=="TEXTAREA"&&(p.preventDefault(),a())}}function C(p,g){var _,$,O;g==="package"?t.selectPackage(p,(_=s.entriesById[p])==null?void 0:_.name):g==="diagram"?t.selectDiagram(p,($=s.entriesById[p])==null?void 0:$.name):g!=="property"&&t.selectClass(p,(O=s.entriesById[p])==null?void 0:O.name),d()}return un(()=>window.addEventListener("keydown",m)),fn(()=>window.removeEventListener("keydown",m)),(p,g)=>(b(),y(Q,null,[c("header",vc,[c("div",bc,[c("button",{class:"btn btn-ghost sidebar-toggle",onClick:g[0]||(g[0]=_=>L(t).toggleSidebar()),title:"Toggle sidebar"},[...g[4]||(g[4]=[c("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},[c("path",{d:"M3 5h14M3 10h14M3 15h14",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"})],-1)])]),c("button",{class:"btn btn-ghost home-btn",onClick:g[1]||(g[1]=_=>L(t).showWelcome()),title:"Overview"},[...g[5]||(g[5]=[c("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},[c("path",{d:"M3 8.5L9 3.5L15 8.5",stroke:"currentColor","stroke-width":"1.4","stroke-linecap":"round","stroke-linejoin":"round"}),c("path",{d:"M4 8.5V14.5C4 14.5 4 15.5 5 15.5H13C13 15.5 14 15.5 14 14.5V8.5",stroke:"currentColor","stroke-width":"1.4","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])]),L(t).breadcrumbs.length?(b(),y("span",yc,[(b(!0),y(Q,null,de(L(t).breadcrumbs,(_,$)=>(b(),y(Q,{key:$},[$>0?(b(),y("span",wc,"/")):H("",!0),_.id?(b(),y("a",{key:1,href:"#",onClick:It(O=>C(_.id,_.type||""),["prevent"])},I(_.label),9,kc)):(b(),y("span",xc,I(_.label),1))],64))),128))])):H("",!0)]),c("div",{class:"header-center"},[c("button",{class:"search-trigger",onClick:a},[...g[6]||(g[6]=[Dl('<svg width="16" height="16" viewBox="0 0 16 16" fill="none"><circle cx="7" cy="7" r="5" stroke="currentColor" stroke-width="1.5"></circle><path d="M11 11l3 3" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path></svg><span class="search-placeholder">Search classes, packages...</span><kbd class="search-kbd">/</kbd>',3)])])]),c("div",Cc,[c("button",{class:"btn btn-ghost theme-btn",onClick:g[2]||(g[2]=_=>L(t).toggleDarkMode()),title:L(t).darkMode?"Light mode":"Dark mode"},[L(t).darkMode?(b(),y("svg",$c,[...g[7]||(g[7]=[c("path",{d:"M9 3V2M9 16v-1M3 9H2M16 9h-1M4.22 4.22l-.7-.7M14.48 14.48l-.7-.7M4.22 13.78l-.7.7M14.48 3.52l-.7.7",stroke:"currentColor","stroke-width":"1.3","stroke-linecap":"round"},null,-1),c("circle",{cx:"9",cy:"9",r:"3.5",stroke:"currentColor","stroke-width":"1.3"},null,-1)])])):(b(),y("svg",Tc,[...g[8]||(g[8]=[c("circle",{cx:"9",cy:"9",r:"4",stroke:"currentColor","stroke-width":"1.4"},null,-1),c("path",{d:"M9 2v1.5M9 14.5V16M2 9h1.5M14.5 9H16M4.22 4.22l1.06 1.06M12.72 12.72l1.06 1.06M4.22 13.78l1.06-1.06M12.72 5.28l1.06-1.06",stroke:"currentColor","stroke-width":"1.4","stroke-linecap":"round"},null,-1)])]))],8,Sc)])]),(b(),tt(qo,{to:"body"},[i.value?(b(),y("div",{key:0,class:"search-modal-overlay",onClick:It(d,["self"])},[c("div",Ec,[c("div",Ac,[Do(c("input",{ref_key:"searchInput",ref:n,"onUpdate:modelValue":g[3]||(g[3]=_=>r.value=_),placeholder:"Search classes, packages, attributes...",onKeydown:[ka(d,["escape"]),f],autofocus:""},null,544),[[va,r.value]])]),l.value.length?(b(),y("div",Mc,[(b(!0),y(Q,null,de(l.value,(_,$)=>(b(),y("div",{key:_.id,class:xe(["search-result",{focused:$===o.value}]),onClick:O=>C(_.id,_.kind)},[g[9]||(g[9]=c("span",{class:"result-icon"},[c("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},[c("circle",{cx:"8",cy:"8",r:"6",stroke:"currentColor","stroke-width":"1.2"})])],-1)),c("div",Pc,[c("span",Oc,I(_.name),1),c("span",Lc,I(_.kind),1)])],10,Ic))),128))])):H("",!0),g[10]||(g[10]=c("div",{class:"search-footer"},[c("span",{class:"search-hints"},[c("span",null,[c("kbd",null,"↑↓"),he(" navigate")]),c("span",null,[c("kbd",null,"Enter"),he(" select")]),c("span",null,[c("kbd",null,"Esc"),he(" close")])])],-1))])])):H("",!0)]))],64))}}),Dc={class:"view-welcome"},Nc={class:"welcome-logo"},Fc=["src","alt"],jc={class:"welcome-title"},Vc={key:0,class:"welcome-stats"},Hc={class:"welcome-stat"},Bc={class:"welcome-stat-value"},Uc={class:"welcome-stat"},Kc={class:"welcome-stat-value"},Wc={class:"welcome-stat"},qc={class:"welcome-stat-value"},Gc={class:"welcome-stat"},Jc={class:"welcome-stat-value"},zc={key:1,class:"welcome-meta"},Yc={key:0,class:"meta-item"},Qc={class:"meta-value"},Xc={key:1,class:"meta-item"},Zc={class:"meta-value"},eu={key:2,class:"meta-item"},tu={class:"meta-value"},su="https://raw.githubusercontent.com/lutaml/branding/refs/heads/main/svg/lutaml-logo_logo-icon-light.svg",nu="https://raw.githubusercontent.com/lutaml/branding/refs/heads/main/svg/lutaml-logo_logo-icon-dark.svg",iu=Ze({__name:"WelcomeView",setup(e){const t=Be(),s=it(),n=se(()=>{var o,l;const r=(l=(o=t.metadata)==null?void 0:o.appearance)==null?void 0:l.logos;if(r!=null&&r.square){const a=s.darkMode?r.square.dark:r.square.light;if(a!=null&&a.url)return a.url;if(a!=null&&a.path)return a.path}return s.darkMode?nu:su});function i(r){if(!r)return"";try{return new Date(r).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})}catch{return r}}return(r,o)=>{var l,a,d;return b(),y("div",Dc,[c("div",Nc,[c("img",{src:n.value,alt:((l=L(t).metadata)==null?void 0:l.title)||"Logo",width:"48",height:"48"},null,8,Fc)]),c("h1",jc,I(((a=L(t).metadata)==null?void 0:a.title)||"UML Model Browser"),1),o[7]||(o[7]=c("p",{class:"welcome-subtitle"},"Explore UML model packages, classes, and associations",-1)),(d=L(t).metadata)!=null&&d.statistics?(b(),y("div",Vc,[c("div",Hc,[c("div",Bc,I(L(t).metadata.statistics.packages),1),o[0]||(o[0]=c("div",{class:"welcome-stat-label"},"Packages",-1))]),c("div",Uc,[c("div",Kc,I(L(t).metadata.statistics.classes),1),o[1]||(o[1]=c("div",{class:"welcome-stat-label"},"Classes",-1))]),c("div",Wc,[c("div",qc,I(L(t).metadata.statistics.attributes),1),o[2]||(o[2]=c("div",{class:"welcome-stat-label"},"Attributes",-1))]),c("div",Gc,[c("div",Jc,I(L(t).metadata.statistics.associations),1),o[3]||(o[3]=c("div",{class:"welcome-stat-label"},"Associations",-1))])])):H("",!0),L(t).metadata?(b(),y("div",zc,[L(t).metadata.generator?(b(),y("div",Yc,[o[4]||(o[4]=c("span",{class:"meta-label"},"Generator",-1)),c("span",Qc,I(L(t).metadata.generator),1)])):H("",!0),L(t).metadata.version?(b(),y("div",Xc,[o[5]||(o[5]=c("span",{class:"meta-label"},"Version",-1)),c("span",Zc,I(L(t).metadata.version),1)])):H("",!0),L(t).metadata.generated?(b(),y("div",eu,[o[6]||(o[6]=c("span",{class:"meta-label"},"Generated",-1)),c("span",tu,I(i(L(t).metadata.generated)),1)])):H("",!0)])):H("",!0),o[8]||(o[8]=c("p",{class:"welcome-actions"},[he("Select a package from the sidebar or press "),c("kbd",null,"/"),he(" to search")],-1))])}}}),ru={key:0,class:"detail-view"},ou={class:"entity-header"},lu={class:"entity-title"},au={class:"entity-name"},cu={key:0,class:"entity-metadata"},uu={class:"metadata-item"},fu={class:"metadata-value"},du={key:1,class:"entity-definition"},hu={class:"definition-content"},pu={key:2,class:"section"},gu={class:"section-title"},mu={class:"section-count"},_u={class:"item-list"},vu=["onClick"],bu={class:"list-item-name"},yu={key:3,class:"section"},wu={class:"section-title"},ku={class:"section-count"},xu={class:"item-list"},Cu=["onClick"],Su={class:"list-item-name"},$u={class:"tree-count"},Tu={key:4,class:"section"},Eu={class:"section-title"},Au={class:"section-count"},Mu={class:"table-wrapper"},Iu={class:"data-table"},Pu=["onClick"],Ou={key:5,class:"empty-state"},Lu=Ze({__name:"PackageDetails",setup(e){const t=Be(),s=it(),n=se(()=>s.currentPackageId),i=se(()=>{var p;return n.value?((p=t.elementFor(n.value))==null?void 0:p.payload)??null:null});ct(n,async p=>{if(!p)return;const g=await t.ensureElement(p);if(!g||s.currentPackageId!==p)return;const _=g.payload;await t.ensureElements([..._.classifierIds||[],..._.subPackageIds||[],..._.diagramIds||[]])},{immediate:!0});function r(p){var g,_;return((_=(g=p==null?void 0:p.annotations)==null?void 0:g.find($=>$.kind==="documentation"))==null?void 0:_.body)||""}const o=se(()=>{var p;return((p=i.value)==null?void 0:p.subPackageIds)??[]}),l=se(()=>{var p;return((p=i.value)==null?void 0:p.diagramIds)??[]}),a=se(()=>{var p;return((p=i.value)==null?void 0:p.classifierIds)??[]});function d(p){var g;return((g=t.nodesById[p])==null?void 0:g.name)||p}function f(p){var g,_;return((_=(g=t.elementFor(p))==null?void 0:g.payload)==null?void 0:_.name)||p}function m(p){return t.entriesById[p]}function C(p){var g;return(g=t.elementFor(p))==null?void 0:g.payload}return(p,g)=>i.value?(b(),y("div",ru,[c("div",ou,[c("div",lu,[c("h2",au,I(i.value.name),1)]),g[0]||(g[0]=c("span",{class:"entity-badge badge-package"},"Package",-1))]),i.value.stereotypeRefs.length?(b(),y("div",cu,[c("div",uu,[g[1]||(g[1]=c("span",{class:"metadata-label"},"Stereotypes",-1)),c("span",fu,[(b(!0),y(Q,null,de(i.value.stereotypeRefs,_=>(b(),y("span",{key:_,class:"stereotype-tag"},"«"+I(_)+"»",1))),128))])])])):H("",!0),r(i.value)?(b(),y("div",du,[c("div",hu,I(r(i.value)),1)])):H("",!0),l.value.length?(b(),y("div",pu,[c("h3",gu,[g[2]||(g[2]=he("Diagrams ",-1)),c("span",mu,I(l.value.length),1)]),c("div",_u,[(b(!0),y(Q,null,de(l.value,_=>(b(),y("div",{key:_,class:"list-item clickable-row",onClick:$=>L(s).selectDiagram(_)},[g[3]||(g[3]=c("span",{class:"list-item-icon"},"📊",-1)),c("span",bu,I(f(_)),1)],8,vu))),128))])])):H("",!0),o.value.length?(b(),y("div",yu,[c("h3",wu,[g[4]||(g[4]=he("Sub-Packages ",-1)),c("span",ku,I(o.value.length),1)]),c("div",xu,[(b(!0),y(Q,null,de(o.value,_=>{var $;return b(),y("div",{key:_,class:"list-item clickable-row",onClick:O=>L(s).selectPackage(_,d(_))},[g[5]||(g[5]=c("span",{class:"list-item-icon"},"📁",-1)),c("span",Su,I(d(_)),1),c("span",$u,I((($=L(t).nodesById[_])==null?void 0:$.classifierIds.length)||0),1)],8,Cu)}),128))])])):H("",!0),a.value.length?(b(),y("div",Tu,[c("h3",Eu,[g[6]||(g[6]=he("Classes ",-1)),c("span",Au,I(a.value.length),1)]),c("div",Mu,[c("table",Iu,[g[7]||(g[7]=c("thead",null,[c("tr",null,[c("th",null,"Name"),c("th",null,"Type"),c("th",null,"Stereotypes"),c("th",null,"Attrs")])],-1)),c("tbody",null,[(b(!0),y(Q,null,de(a.value,_=>{var $,O,R,q,D,G,A;return b(),y("tr",{key:_,class:"clickable-row",onClick:F=>{var j;return L(s).selectClass(_,(j=m(_))==null?void 0:j.name)}},[c("td",null,I((($=m(_))==null?void 0:$.name)||((O=C(_))==null?void 0:O.name)||_),1),c("td",null,[c("span",{class:xe(["entity-badge","badge-"+(((R=m(_))==null?void 0:R.kind)||"class")])},I(((q=m(_))==null?void 0:q.kind)||"class"),3)]),c("td",null,[(b(!0),y(Q,null,de(((D=C(_))==null?void 0:D.stereotypeRefs)||[],F=>(b(),y("span",{key:F,class:"stereotype-tag"},"«"+I(F)+"»",1))),128))]),c("td",null,I(((A=(G=C(_))==null?void 0:G.properties)==null?void 0:A.length)||0),1)],8,Pu)}),128))])])])])):H("",!0),!a.value.length&&!o.value.length&&!l.value.length?(b(),y("div",Ou,[...g[8]||(g[8]=[c("p",null,"This package is empty.",-1)])])):H("",!0)])):H("",!0)}}),Ru={key:0,class:"detail-view"},Du={class:"entity-header"},Nu={class:"entity-title"},Fu={class:"entity-name"},ju={key:0,class:"entity-subtitle"},Vu={key:0,class:"entity-badge badge-abstract"},Hu={key:0,class:"entity-metadata"},Bu={class:"metadata-item"},Uu={class:"metadata-value"},Ku={key:1,class:"entity-definition"},Wu={class:"definition-content"},qu={key:2,class:"section"},Gu={key:0,class:"inheritance-group"},Ju=["onClick"],zu={class:"list-item-name"},Yu={key:1,class:"inheritance-group"},Qu=["onClick"],Xu={class:"list-item-name"},Zu={key:3,class:"section"},ef={class:"section-title"},tf={class:"section-count"},sf={class:"table-wrapper"},nf={class:"data-table"},rf=["onClick"],of={key:1,class:"uml-basic-type"},lf={key:2,class:"type-unresolved"},af=["data-visibility"],cf={key:0,class:"modifier-badge"},uf={key:1,class:"modifier-badge"},ff={key:4,class:"section"},df={class:"section-title"},hf={class:"section-count"},pf={class:"table-wrapper"},gf={class:"data-table"},mf={key:0},_f=["data-visibility"],vf={key:0,class:"modifier-badge"},bf={key:1,class:"modifier-badge"},yf={key:5,class:"section"},wf={class:"section-title"},kf={class:"section-count"},xf={class:"table-wrapper"},Cf={class:"data-table"},Sf=["onClick"],$f={key:1},Tf={key:6,class:"section"},Ef={class:"section-title"},Af={class:"section-count"},Mf={class:"item-list"},If={class:"list-item-name"},Pf={key:0,class:"list-item-meta"},Of=Ze({__name:"ClassDetails",setup(e){const t=Be(),s=it(),n=se(()=>s.currentClassId),i=se(()=>{var p;return n.value?((p=t.elementFor(n.value))==null?void 0:p.payload)??null:null});ct(n,async p=>{if(!p)return;const g=await t.ensureElement(p);if(!g)return;const _=(g.payload.generalizations||[]).map($=>$.targetId);await t.ensureElements(_)},{immediate:!0});const r=se(()=>{var p,g,_;return((_=(g=(p=i.value)==null?void 0:p.annotations)==null?void 0:g.find($=>$.kind==="documentation"))==null?void 0:_.body)||""}),o=new Set(["String","Integer","Boolean","Real","UnlimitedNatural","DateTime","URI","Any","Object"]);function l(p){return p?t.classifierEntryByName(p):null}function a(p){return!!p&&o.has(p)}function d(p){var g;return p?((g=t.entriesById[p])==null?void 0:g.name)||p:""}function f(p){return p?`${p[0]??0}..${p[1]??"*"}`:""}function m(p){return p.parameters.map(g=>`${g.name||""}: ${g.typeName||"?"}`).join(", ")}function C(p){return(p.modelKind||"class").toUpperCase()}return(p,g)=>{var _,$,O,R,q,D,G;return i.value?(b(),y("div",Ru,[c("div",Du,[c("div",Nu,[c("h2",Fu,I(i.value.qualifiedName),1),i.value.packageId?(b(),y("div",ju,[c("a",{href:"#",class:"link-button",onClick:g[0]||(g[0]=It(A=>{var F;return L(s).selectPackage(i.value.packageId,(F=L(t).nodesById[i.value.packageId])==null?void 0:F.name)},["prevent"]))},I(((_=L(t).nodesById[i.value.packageId])==null?void 0:_.name)||i.value.packageName||i.value.packageId),1)])):H("",!0)]),c("span",{class:xe(["entity-badge","badge-"+i.value.modelKind])},I(C(i.value)),3),i.value.isAbstract?(b(),y("span",Vu,"abstract")):H("",!0)]),i.value.stereotypeRefs.length?(b(),y("div",Hu,[c("div",Bu,[g[1]||(g[1]=c("span",{class:"metadata-label"},"Stereotypes",-1)),c("span",Uu,[(b(!0),y(Q,null,de(i.value.stereotypeRefs,A=>(b(),y("span",{key:A,class:"stereotype-tag"},"«"+I(A)+"»",1))),128))])])])):H("",!0),r.value?(b(),y("div",Ku,[c("div",Wu,I(r.value),1)])):H("",!0),($=i.value.generalizations)!=null&&$.length||(O=i.value.specializations)!=null&&O.length?(b(),y("div",qu,[g[4]||(g[4]=c("h3",{class:"section-title"},"Inheritance",-1)),(R=i.value.generalizations)!=null&&R.length?(b(),y("div",Gu,[g[2]||(g[2]=c("div",{class:"inheritance-header"},"↑ Extends",-1)),(b(!0),y(Q,null,de(i.value.generalizations,A=>(b(),y("div",{key:A.id,class:"list-item clickable-row",onClick:F=>L(s).selectClass(A.targetId,d(A.targetId))},[c("span",zu,I(d(A.targetId)),1)],8,Ju))),128))])):H("",!0),(q=i.value.specializations)!=null&&q.length?(b(),y("div",Yu,[g[3]||(g[3]=c("div",{class:"inheritance-header"},"↓ Extended by",-1)),(b(!0),y(Q,null,de(i.value.specializations,A=>(b(),y("div",{key:A.id,class:"list-item clickable-row",onClick:F=>L(s).selectClass(A.targetId,d(A.targetId))},[c("span",Xu,I(d(A.targetId)),1)],8,Qu))),128))])):H("",!0)])):H("",!0),i.value.properties.length?(b(),y("div",Zu,[c("h3",ef,[g[5]||(g[5]=he("Attributes ",-1)),c("span",tf,I(i.value.properties.length),1)]),c("div",sf,[c("table",nf,[g[6]||(g[6]=c("thead",null,[c("tr",null,[c("th",null,"Name"),c("th",null,"Type"),c("th",null,"Visibility"),c("th",null,"Cardinality"),c("th",null,"Modifiers")])],-1)),c("tbody",null,[(b(!0),y(Q,null,de(i.value.properties,A=>(b(),y("tr",{key:A.id,class:"clickable-row"},[c("td",null,I(A.name),1),c("td",null,[A.typeName?(b(),y(Q,{key:0},[l(A.typeName)?(b(),y("a",{key:0,href:"#",class:"type-link",onClick:It(F=>L(s).selectClass(l(A.typeName).id,l(A.typeName).name),["prevent"])},I(A.typeName),9,rf)):a(A.typeName)?(b(),y("span",of,I(A.typeName),1)):(b(),y("span",lf,I(A.typeName),1))],64)):H("",!0)]),c("td",null,[A.visibility?(b(),y("span",{key:0,class:"visibility-badge","data-visibility":A.visibility},I(A.visibility),9,af)):H("",!0)]),c("td",null,I(f([A.multiplicityLower,A.multiplicityUpper])),1),c("td",null,[A.isReadonly?(b(),y("span",cf,"readonly")):H("",!0),A.isDerived?(b(),y("span",uf,"derived")):H("",!0)])]))),128))])])])])):H("",!0),i.value.operations.length?(b(),y("div",ff,[c("h3",df,[g[7]||(g[7]=he("Operations ",-1)),c("span",hf,I(i.value.operations.length),1)]),c("div",pf,[c("table",gf,[g[9]||(g[9]=c("thead",null,[c("tr",null,[c("th",null,"Name"),c("th",null,"Return"),c("th",null,"Visibility"),c("th",null,"Modifiers")])],-1)),c("tbody",null,[(b(!0),y(Q,null,de(i.value.operations,A=>(b(),y("tr",{key:A.id,class:"clickable-row"},[c("td",null,[he(I(A.name)+"( ",1),A.parameters.length?(b(),y("span",mf,I(m(A)),1)):H("",!0),g[8]||(g[8]=he(" ) ",-1))]),c("td",null,I(A.returnTypeName||"void"),1),c("td",null,[A.visibility?(b(),y("span",{key:0,class:"visibility-badge","data-visibility":A.visibility},I(A.visibility),9,_f)):H("",!0)]),c("td",null,[A.isStatic?(b(),y("span",vf,"static")):H("",!0),A.isAbstract?(b(),y("span",bf,"abstract")):H("",!0)])]))),128))])])])])):H("",!0),(D=i.value.associations)!=null&&D.length?(b(),y("div",yf,[c("h3",wf,[g[10]||(g[10]=he("Associations ",-1)),c("span",kf,I(i.value.associations.length),1)]),c("div",xf,[c("table",Cf,[g[11]||(g[11]=c("thead",null,[c("tr",null,[c("th",null,"Name"),c("th",null,"Target"),c("th",null,"Cardinality"),c("th",null,"Aggregation")])],-1)),c("tbody",null,[(b(!0),y(Q,null,de(i.value.associations,A=>(b(),y("tr",{key:A.id},[c("td",null,I(A.name||A.thisEndRoleName||""),1),c("td",null,[L(t).entriesById[A.otherEndId]?(b(),y("a",{key:0,href:"#",class:"type-link",onClick:It(F=>L(s).selectClass(A.otherEndId,d(A.otherEndId)),["prevent"])},I(d(A.otherEndId)),9,Sf)):(b(),y("span",$f,I(A.otherEndId),1))]),c("td",null,I(f(A.otherEndMultiplicity)),1),c("td",null,I(A.otherEndAggregation),1)]))),128))])])])])):H("",!0),(G=i.value.literals)!=null&&G.length?(b(),y("div",Tf,[c("h3",Ef,[g[12]||(g[12]=he("Literals ",-1)),c("span",Af,I(i.value.literals.length),1)]),c("div",Mf,[(b(!0),y(Q,null,de(i.value.literals,A=>(b(),y("div",{key:A.id,class:"list-item"},[c("span",If,I(A.name),1),A.value&&A.value!==A.name?(b(),y("span",Pf,I(A.value),1)):H("",!0)]))),128))])])):H("",!0)])):H("",!0)}}}),Lf={key:0,class:"detail-view"},Rf={class:"entity-header"},Df={class:"entity-title"},Nf={class:"entity-name"},Ff={class:"entity-metadata"},jf={key:0,class:"metadata-item"},Vf={class:"metadata-value"},Hf={class:"metadata-item"},Bf={class:"metadata-value"},Uf={class:"metadata-item"},Kf={class:"metadata-value"},Wf={key:0,class:"diagram-toolbar"},qf=["innerHTML"],Gf=Ze({__name:"DiagramView",setup(e){const t=Be(),s=it(),n=se(()=>s.currentDiagramId),i=se(()=>{var $;return n.value?(($=t.elementFor(n.value))==null?void 0:$.payload)??null:null});ct(n,$=>{$&&t.ensureElement($)},{immediate:!0});const r=se(()=>{var $,O;return((O=($=i.value)==null?void 0:$.elements)==null?void 0:O.length)??0}),o=se(()=>{var $,O;return((O=($=i.value)==null?void 0:$.connectors)==null?void 0:O.length)??0}),l=lt(1),a=lt(0),d=lt(0);function f(){l.value=Math.min(l.value*1.2,5)}function m(){l.value=Math.max(l.value/1.2,.1)}function C(){l.value=1,a.value=0,d.value=0}function p($){$.preventDefault(),$.deltaY<0?f():m()}function g(){var q;if(!((q=i.value)!=null&&q.svg))return;const $=new Blob([i.value.svg],{type:"image/svg+xml"}),O=URL.createObjectURL($),R=document.createElement("a");R.href=O,R.download=`${i.value.name||"diagram"}.svg`,R.click(),URL.revokeObjectURL(O)}const _=se(()=>`translate(${a.value}px, ${d.value}px) scale(${l.value})`);return($,O)=>i.value?(b(),y("div",Lf,[c("div",Rf,[c("div",Df,[c("h2",Nf,I(i.value.name),1)]),O[0]||(O[0]=c("span",{class:"entity-badge badge-diagram"},"Diagram",-1))]),c("div",Ff,[i.value.diagramType?(b(),y("div",jf,[O[1]||(O[1]=c("span",{class:"metadata-label"},"Type",-1)),c("span",Vf,I(i.value.diagramType),1)])):H("",!0),c("div",Hf,[O[2]||(O[2]=c("span",{class:"metadata-label"},"Elements",-1)),c("span",Bf,I(r.value),1)]),c("div",Uf,[O[3]||(O[3]=c("span",{class:"metadata-label"},"Connectors",-1)),c("span",Kf,I(o.value),1)])]),i.value.svg?(b(),y("div",Wf,[c("button",{class:"btn-sm",onClick:f},"Zoom In"),c("button",{class:"btn-sm",onClick:m},"Zoom Out"),c("button",{class:"btn-sm",onClick:C},"Reset"),c("button",{class:"btn-sm",onClick:g},"Download SVG")])):H("",!0),i.value.svg?(b(),y("div",{key:1,class:"diagram-svg-container",onWheel:p},[c("div",{class:"diagram-svg",style:us({transform:_.value}),innerHTML:i.value.svg},null,12,qf)],32)):H("",!0)])):H("",!0)}}),Jf={class:"detail-view"},zf={class:"section-title"},Yf={class:"section-count"},Qf={class:"table-wrapper"},Xf={class:"data-table"},Zf=["onClick"],ed={key:0,class:"empty-state"},td=Ze({__name:"SearchResults",setup(e){const t=Be(),s=it(),n=se(()=>{var l;const o={};for(const a of t.searchEntries)(o[l=a.kind]??(o[l]=[])).push(a);return o});function i(o){return o!=="property"}function r(o){i(o.kind)&&(o.kind==="package"?s.selectPackage(o.id,o.name):s.selectClass(o.id,o.name))}return(o,l)=>(b(),y("div",Jf,[l[2]||(l[2]=c("div",{class:"entity-header"},[c("div",{class:"entity-title"},[c("h2",{class:"entity-name"},"Search Results")])],-1)),(b(!0),y(Q,null,de(n.value,(a,d)=>(b(),y("div",{key:d,class:"section"},[c("h3",zf,[he(I(d)+"s ",1),c("span",Yf,I(a.length),1)]),c("div",Qf,[c("table",Xf,[l[0]||(l[0]=c("thead",null,[c("tr",null,[c("th",null,"Name"),c("th",null,"Package"),c("th",null,"Type")])],-1)),c("tbody",null,[(b(!0),y(Q,null,de(a,f=>(b(),y("tr",{key:f.id,class:xe(["data-row",{"clickable-row":i(f.kind)}]),onClick:m=>r(f)},[c("td",null,I(f.name),1),c("td",null,I(f.package),1),c("td",null,[c("span",{class:xe(["entity-badge","badge-"+f.kind])},I(f.kind),3)])],10,Zf))),128))])])])]))),128)),L(t).searchEntries.length?H("",!0):(b(),y("div",ed,[...l[1]||(l[1]=[c("p",null,"No results found.",-1)])]))]))}}),sd=["data-theme"],nd={class:"main-content"},id={class:"content-area"},Rr=Sa(Ze({__name:"App",setup(e){const t=Be(),s=it();return un(async()=>{const n=window;n.__SPA_DATA__?t.loadFromEmbedded():n.__SPA_SKELETON_URL__&&await t.loadFromSharded(n.__SPA_SKELETON_URL__,n.__SPA_SEARCH_URL__,n.__SPA_SHARD_BASE__),s.navigateToHash(),window.addEventListener("hashchange",()=>s.navigateToHash());const i=localStorage.getItem("uml-browser-preferences");if(i)try{const r=JSON.parse(i);r.darkMode!==void 0&&(s.darkMode=r.darkMode),r.sidebarVisible!==void 0&&(s.sidebarVisible=r.sidebarVisible)}catch{}}),ct(()=>[s.darkMode,s.sidebarVisible],()=>{localStorage.setItem("uml-browser-preferences",JSON.stringify({darkMode:s.darkMode,sidebarVisible:s.sidebarVisible}))}),(n,i)=>(b(),y("div",{class:"app-layout","data-theme":L(s).darkMode?"dark":"light"},[Me(_c),c("div",nd,[Me(Rc),c("div",id,[L(s).currentView==="welcome"?(b(),tt(iu,{key:0})):L(s).currentView==="package"?(b(),tt(Lu,{key:1})):L(s).currentView==="class"?(b(),tt(Of,{key:2})):L(s).currentView==="diagram"?(b(),tt(Gf,{key:3})):L(s).currentView==="search"?(b(),tt(td,{key:4})):H("",!0)])])],8,sd))}}));Rr.use(Ea()),Rr.mount("#app")})();