123456789101112131415161718192021 |
- (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function n(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function s(r){if(r.ep)return;r.ep=!0;const i=n(r);fetch(r.href,i)}})();/**
- * @vue/shared v3.5.13
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
- * @license MIT
- **//*! #__NO_SIDE_EFFECTS__ */function gs(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const J={},St=[],Ue=()=>{},Zi=()=>!1,Cn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ms=e=>e.startsWith("onUpdate:"),ae=Object.assign,_s=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},eo=Object.prototype.hasOwnProperty,q=(e,t)=>eo.call(e,t),D=Array.isArray,Et=e=>rn(e)==="[object Map]",Pn=e=>rn(e)==="[object Set]",Ns=e=>rn(e)==="[object Date]",j=e=>typeof e=="function",ne=e=>typeof e=="string",ke=e=>typeof e=="symbol",ee=e=>e!==null&&typeof e=="object",Mr=e=>(ee(e)||j(e))&&j(e.then)&&j(e.catch),Ir=Object.prototype.toString,rn=e=>Ir.call(e),to=e=>rn(e).slice(8,-1),Fr=e=>rn(e)==="[object Object]",ys=e=>ne(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,kt=gs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),On=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},no=/-(\w)/g,Ce=On(e=>e.replace(no,(t,n)=>n?n.toUpperCase():"")),so=/\B([A-Z])/g,ot=On(e=>e.replace(so,"-$1").toLowerCase()),An=On(e=>e.charAt(0).toUpperCase()+e.slice(1)),Un=On(e=>e?`on${An(e)}`:""),it=(e,t)=>!Object.is(e,t),dn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},$r=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Zn=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Ls;const Tn=()=>Ls||(Ls=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function vs(e){if(D(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=ne(s)?lo(s):vs(s);if(r)for(const i in r)t[i]=r[i]}return t}else if(ne(e)||ee(e))return e}const ro=/;(?![^(]*\))/g,io=/:([^]+)/,oo=/\/\*[^]*?\*\//g;function lo(e){const t={};return e.replace(oo,"").split(ro).forEach(n=>{if(n){const s=n.split(io);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Tt(e){let t="";if(ne(e))t=e;else if(D(e))for(let n=0;n<e.length;n++){const s=Tt(e[n]);s&&(t+=s+" ")}else if(ee(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const co="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",uo=gs(co);function Nr(e){return!!e||e===""}function fo(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=Mn(e[s],t[s]);return n}function Mn(e,t){if(e===t)return!0;let n=Ns(e),s=Ns(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=ke(e),s=ke(t),n||s)return e===t;if(n=D(e),s=D(t),n||s)return n&&s?fo(e,t):!1;if(n=ee(e),s=ee(t),n||s){if(!n||!s)return!1;const r=Object.keys(e).length,i=Object.keys(t).length;if(r!==i)return!1;for(const o in e){const l=e.hasOwnProperty(o),c=t.hasOwnProperty(o);if(l&&!c||!l&&c||!Mn(e[o],t[o]))return!1}}return String(e)===String(t)}function Lr(e,t){return e.findIndex(n=>Mn(n,t))}const Dr=e=>!!(e&&e.__v_isRef===!0),Ye=e=>ne(e)?e:e==null?"":D(e)||ee(e)&&(e.toString===Ir||!j(e.toString))?Dr(e)?Ye(e.value):JSON.stringify(e,Hr,2):String(e),Hr=(e,t)=>Dr(t)?Hr(e,t.value):Et(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[kn(s,i)+" =>"]=r,n),{})}:Pn(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>kn(n))}:ke(t)?kn(t):ee(t)&&!D(t)&&!Fr(t)?String(t):t,kn=(e,t="")=>{var n;return ke(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
- * @vue/reactivity v3.5.13
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
- * @license MIT
- **/let xe;class ao{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=xe,!t&&xe&&(this.index=(xe.scopes||(xe.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=xe;try{return xe=this,t()}finally{xe=n}}}on(){xe=this}off(){xe=this.parent}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function ho(){return xe}let Z;const Vn=new WeakSet;class jr{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,xe&&xe.active&&xe.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Vn.has(this)&&(Vn.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||kr(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Ds(this),Vr(this);const t=Z,n=Oe;Z=this,Oe=!0;try{return this.fn()}finally{Kr(this),Z=t,Oe=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)ws(t);this.deps=this.depsTail=void 0,Ds(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Vn.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){es(this)&&this.run()}get dirty(){return es(this)}}let Ur=0,Vt,Kt;function kr(e,t=!1){if(e.flags|=8,t){e.next=Kt,Kt=e;return}e.next=Vt,Vt=e}function bs(){Ur++}function xs(){if(--Ur>0)return;if(Kt){let t=Kt;for(Kt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Vt;){let t=Vt;for(Vt=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function Vr(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Kr(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),ws(s),po(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function es(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Br(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Br(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Yt))return;e.globalVersion=Yt;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!es(e)){e.flags&=-3;return}const n=Z,s=Oe;Z=e,Oe=!0;try{Vr(e);const r=e.fn(e._value);(t.version===0||it(r,e._value))&&(e._value=r,t.version++)}catch(r){throw t.version++,r}finally{Z=n,Oe=s,Kr(e),e.flags&=-3}}function ws(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)ws(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function po(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Oe=!0;const Wr=[];function lt(){Wr.push(Oe),Oe=!1}function ct(){const e=Wr.pop();Oe=e===void 0?!0:e}function Ds(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Z;Z=void 0;try{t()}finally{Z=n}}}let Yt=0;class go{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Ss{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}track(t){if(!Z||!Oe||Z===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Z)n=this.activeLink=new go(Z,this),Z.deps?(n.prevDep=Z.depsTail,Z.depsTail.nextDep=n,Z.depsTail=n):Z.deps=Z.depsTail=n,qr(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=Z.depsTail,n.nextDep=void 0,Z.depsTail.nextDep=n,Z.depsTail=n,Z.deps===n&&(Z.deps=s)}return n}trigger(t){this.version++,Yt++,this.notify(t)}notify(t){bs();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{xs()}}}function qr(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)qr(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const ts=new WeakMap,pt=Symbol(""),ns=Symbol(""),Qt=Symbol("");function le(e,t,n){if(Oe&&Z){let s=ts.get(e);s||ts.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Ss),r.map=s,r.key=n),r.track()}}function Ge(e,t,n,s,r,i){const o=ts.get(e);if(!o){Yt++;return}const l=c=>{c&&c.trigger()};if(bs(),t==="clear")o.forEach(l);else{const c=D(e),d=c&&ys(n);if(c&&n==="length"){const a=Number(s);o.forEach((h,g)=>{(g==="length"||g===Qt||!ke(g)&&g>=a)&&l(h)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),d&&l(o.get(Qt)),t){case"add":c?d&&l(o.get("length")):(l(o.get(pt)),Et(e)&&l(o.get(ns)));break;case"delete":c||(l(o.get(pt)),Et(e)&&l(o.get(ns)));break;case"set":Et(e)&&l(o.get(pt));break}}xs()}function bt(e){const t=W(e);return t===e?t:(le(t,"iterate",Qt),Re(e)?t:t.map(ce))}function In(e){return le(e=W(e),"iterate",Qt),e}const mo={__proto__:null,[Symbol.iterator](){return Kn(this,Symbol.iterator,ce)},concat(...e){return bt(this).concat(...e.map(t=>D(t)?bt(t):t))},entries(){return Kn(this,"entries",e=>(e[1]=ce(e[1]),e))},every(e,t){return Be(this,"every",e,t,void 0,arguments)},filter(e,t){return Be(this,"filter",e,t,n=>n.map(ce),arguments)},find(e,t){return Be(this,"find",e,t,ce,arguments)},findIndex(e,t){return Be(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Be(this,"findLast",e,t,ce,arguments)},findLastIndex(e,t){return Be(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Be(this,"forEach",e,t,void 0,arguments)},includes(...e){return Bn(this,"includes",e)},indexOf(...e){return Bn(this,"indexOf",e)},join(e){return bt(this).join(e)},lastIndexOf(...e){return Bn(this,"lastIndexOf",e)},map(e,t){return Be(this,"map",e,t,void 0,arguments)},pop(){return Dt(this,"pop")},push(...e){return Dt(this,"push",e)},reduce(e,...t){return Hs(this,"reduce",e,t)},reduceRight(e,...t){return Hs(this,"reduceRight",e,t)},shift(){return Dt(this,"shift")},some(e,t){return Be(this,"some",e,t,void 0,arguments)},splice(...e){return Dt(this,"splice",e)},toReversed(){return bt(this).toReversed()},toSorted(e){return bt(this).toSorted(e)},toSpliced(...e){return bt(this).toSpliced(...e)},unshift(...e){return Dt(this,"unshift",e)},values(){return Kn(this,"values",ce)}};function Kn(e,t,n){const s=In(e),r=s[t]();return s!==e&&!Re(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.value&&(i.value=n(i.value)),i}),r}const _o=Array.prototype;function Be(e,t,n,s,r,i){const o=In(e),l=o!==e&&!Re(e),c=o[t];if(c!==_o[t]){const h=c.apply(e,i);return l?ce(h):h}let d=n;o!==e&&(l?d=function(h,g){return n.call(this,ce(h),g,e)}:n.length>2&&(d=function(h,g){return n.call(this,h,g,e)}));const a=c.call(o,d,s);return l&&r?r(a):a}function Hs(e,t,n,s){const r=In(e);let i=n;return r!==e&&(Re(e)?n.length>3&&(i=function(o,l,c){return n.call(this,o,l,c,e)}):i=function(o,l,c){return n.call(this,o,ce(l),c,e)}),r[t](i,...s)}function Bn(e,t,n){const s=W(e);le(s,"iterate",Qt);const r=s[t](...n);return(r===-1||r===!1)&&Cs(n[0])?(n[0]=W(n[0]),s[t](...n)):r}function Dt(e,t,n=[]){lt(),bs();const s=W(e)[t].apply(e,n);return xs(),ct(),s}const yo=gs("__proto__,__v_isRef,__isVue"),Gr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ke));function vo(e){ke(e)||(e=String(e));const t=W(this);return le(t,"has",e),t.hasOwnProperty(e)}class zr{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return s===(r?i?Ao:Xr:i?Jr:Qr).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=D(t);if(!r){let c;if(o&&(c=mo[n]))return c;if(n==="hasOwnProperty")return vo}const l=Reflect.get(t,n,fe(t)?t:s);return(ke(n)?Gr.has(n):yo(n))||(r||le(t,"get",n),i)?l:fe(l)?o&&ys(n)?l:l.value:ee(l)?r?ei(l):Fn(l):l}}class Yr extends zr{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];if(!this._isShallow){const c=gt(i);if(!Re(s)&&!gt(s)&&(i=W(i),s=W(s)),!D(t)&&fe(i)&&!fe(s))return c?!1:(i.value=s,!0)}const o=D(t)&&ys(n)?Number(n)<t.length:q(t,n),l=Reflect.set(t,n,s,fe(t)?t:r);return t===W(r)&&(o?it(s,i)&&Ge(t,"set",n,s):Ge(t,"add",n,s)),l}deleteProperty(t,n){const s=q(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&Ge(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!ke(n)||!Gr.has(n))&&le(t,"has",n),s}ownKeys(t){return le(t,"iterate",D(t)?"length":pt),Reflect.ownKeys(t)}}class bo extends zr{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const xo=new Yr,wo=new bo,So=new Yr(!0);const ss=e=>e,un=e=>Reflect.getPrototypeOf(e);function Eo(e,t,n){return function(...s){const r=this.__v_raw,i=W(r),o=Et(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,d=r[e](...s),a=n?ss:t?rs:ce;return!t&&le(i,"iterate",c?ns:pt),{next(){const{value:h,done:g}=d.next();return g?{value:h,done:g}:{value:l?[a(h[0]),a(h[1])]:a(h),done:g}},[Symbol.iterator](){return this}}}}function fn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ro(e,t){const n={get(r){const i=this.__v_raw,o=W(i),l=W(r);e||(it(r,l)&&le(o,"get",r),le(o,"get",l));const{has:c}=un(o),d=t?ss:e?rs:ce;if(c.call(o,r))return d(i.get(r));if(c.call(o,l))return d(i.get(l));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!e&&le(W(r),"iterate",pt),Reflect.get(r,"size",r)},has(r){const i=this.__v_raw,o=W(i),l=W(r);return e||(it(r,l)&&le(o,"has",r),le(o,"has",l)),r===l?i.has(r):i.has(r)||i.has(l)},forEach(r,i){const o=this,l=o.__v_raw,c=W(l),d=t?ss:e?rs:ce;return!e&&le(c,"iterate",pt),l.forEach((a,h)=>r.call(i,d(a),d(h),o))}};return ae(n,e?{add:fn("add"),set:fn("set"),delete:fn("delete"),clear:fn("clear")}:{add(r){!t&&!Re(r)&&!gt(r)&&(r=W(r));const i=W(this);return un(i).has.call(i,r)||(i.add(r),Ge(i,"add",r,r)),this},set(r,i){!t&&!Re(i)&&!gt(i)&&(i=W(i));const o=W(this),{has:l,get:c}=un(o);let d=l.call(o,r);d||(r=W(r),d=l.call(o,r));const a=c.call(o,r);return o.set(r,i),d?it(i,a)&&Ge(o,"set",r,i):Ge(o,"add",r,i),this},delete(r){const i=W(this),{has:o,get:l}=un(i);let c=o.call(i,r);c||(r=W(r),c=o.call(i,r)),l&&l.call(i,r);const d=i.delete(r);return c&&Ge(i,"delete",r,void 0),d},clear(){const r=W(this),i=r.size!==0,o=r.clear();return i&&Ge(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=Eo(r,e,t)}),n}function Es(e,t){const n=Ro(e,t);return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(q(n,r)&&r in s?n:s,r,i)}const Co={get:Es(!1,!1)},Po={get:Es(!1,!0)},Oo={get:Es(!0,!1)};const Qr=new WeakMap,Jr=new WeakMap,Xr=new WeakMap,Ao=new WeakMap;function To(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Mo(e){return e.__v_skip||!Object.isExtensible(e)?0:To(to(e))}function Fn(e){return gt(e)?e:Rs(e,!1,xo,Co,Qr)}function Zr(e){return Rs(e,!1,So,Po,Jr)}function ei(e){return Rs(e,!0,wo,Oo,Xr)}function Rs(e,t,n,s,r){if(!ee(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=Mo(e);if(o===0)return e;const l=new Proxy(e,o===2?s:n);return r.set(e,l),l}function Rt(e){return gt(e)?Rt(e.__v_raw):!!(e&&e.__v_isReactive)}function gt(e){return!!(e&&e.__v_isReadonly)}function Re(e){return!!(e&&e.__v_isShallow)}function Cs(e){return e?!!e.__v_raw:!1}function W(e){const t=e&&e.__v_raw;return t?W(t):e}function Io(e){return!q(e,"__v_skip")&&Object.isExtensible(e)&&$r(e,"__v_skip",!0),e}const ce=e=>ee(e)?Fn(e):e,rs=e=>ee(e)?ei(e):e;function fe(e){return e?e.__v_isRef===!0:!1}function Fo(e){return ti(e,!1)}function $o(e){return ti(e,!0)}function ti(e,t){return fe(e)?e:new No(e,t)}class No{constructor(t,n){this.dep=new Ss,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:W(t),this._value=n?t:ce(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Re(t)||gt(t);t=s?t:W(t),it(t,n)&&(this._rawValue=t,this._value=s?t:ce(t),this.dep.trigger())}}function Ct(e){return fe(e)?e.value:e}const Lo={get:(e,t,n)=>t==="__v_raw"?e:Ct(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return fe(r)&&!fe(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function ni(e){return Rt(e)?e:new Proxy(e,Lo)}class Do{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Ss(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Yt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&Z!==this)return kr(this,!0),!0}get value(){const t=this.dep.track();return Br(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Ho(e,t,n=!1){let s,r;return j(e)?s=e:(s=e.get,r=e.set),new Do(s,r,n)}const an={},yn=new WeakMap;let dt;function jo(e,t=!1,n=dt){if(n){let s=yn.get(n);s||yn.set(n,s=[]),s.push(e)}}function Uo(e,t,n=J){const{immediate:s,deep:r,once:i,scheduler:o,augmentJob:l,call:c}=n,d=T=>r?T:Re(T)||r===!1||r===0?ze(T,1):ze(T);let a,h,g,m,O=!1,A=!1;if(fe(e)?(h=()=>e.value,O=Re(e)):Rt(e)?(h=()=>d(e),O=!0):D(e)?(A=!0,O=e.some(T=>Rt(T)||Re(T)),h=()=>e.map(T=>{if(fe(T))return T.value;if(Rt(T))return d(T);if(j(T))return c?c(T,2):T()})):j(e)?t?h=c?()=>c(e,2):e:h=()=>{if(g){lt();try{g()}finally{ct()}}const T=dt;dt=a;try{return c?c(e,3,[m]):e(m)}finally{dt=T}}:h=Ue,t&&r){const T=h,Y=r===!0?1/0:r;h=()=>ze(T(),Y)}const U=ho(),$=()=>{a.stop(),U&&U.active&&_s(U.effects,a)};if(i&&t){const T=t;t=(...Y)=>{T(...Y),$()}}let I=A?new Array(e.length).fill(an):an;const N=T=>{if(!(!(a.flags&1)||!a.dirty&&!T))if(t){const Y=a.run();if(r||O||(A?Y.some((oe,te)=>it(oe,I[te])):it(Y,I))){g&&g();const oe=dt;dt=a;try{const te=[Y,I===an?void 0:A&&I[0]===an?[]:I,m];c?c(t,3,te):t(...te),I=Y}finally{dt=oe}}}else a.run()};return l&&l(N),a=new jr(h),a.scheduler=o?()=>o(N,!1):N,m=T=>jo(T,!1,a),g=a.onStop=()=>{const T=yn.get(a);if(T){if(c)c(T,4);else for(const Y of T)Y();yn.delete(a)}},t?s?N(!0):I=a.run():o?o(N.bind(null,!0),!0):a.run(),$.pause=a.pause.bind(a),$.resume=a.resume.bind(a),$.stop=$,$}function ze(e,t=1/0,n){if(t<=0||!ee(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,fe(e))ze(e.value,t,n);else if(D(e))for(let s=0;s<e.length;s++)ze(e[s],t,n);else if(Pn(e)||Et(e))e.forEach(s=>{ze(s,t,n)});else if(Fr(e)){for(const s in e)ze(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&ze(e[s],t,n)}return e}/**
- * @vue/runtime-core v3.5.13
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
- * @license MIT
- **/function on(e,t,n,s){try{return s?e(...s):e()}catch(r){$n(r,t,n)}}function Ve(e,t,n,s){if(j(e)){const r=on(e,t,n,s);return r&&Mr(r)&&r.catch(i=>{$n(i,t,n)}),r}if(D(e)){const r=[];for(let i=0;i<e.length;i++)r.push(Ve(e[i],t,n,s));return r}}function $n(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||J;if(t){let l=t.parent;const c=t.proxy,d=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const a=l.ec;if(a){for(let h=0;h<a.length;h++)if(a[h](e,c,d)===!1)return}l=l.parent}if(i){lt(),on(i,null,10,[e,c,d]),ct();return}}ko(e,n,r,s,o)}function ko(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const he=[];let He=-1;const Pt=[];let nt=null,xt=0;const si=Promise.resolve();let vn=null;function ri(e){const t=vn||si;return e?t.then(this?e.bind(this):e):t}function Vo(e){let t=He+1,n=he.length;for(;t<n;){const s=t+n>>>1,r=he[s],i=Jt(r);i<e||i===e&&r.flags&2?t=s+1:n=s}return t}function Ps(e){if(!(e.flags&1)){const t=Jt(e),n=he[he.length-1];!n||!(e.flags&2)&&t>=Jt(n)?he.push(e):he.splice(Vo(t),0,e),e.flags|=1,ii()}}function ii(){vn||(vn=si.then(li))}function Ko(e){D(e)?Pt.push(...e):nt&&e.id===-1?nt.splice(xt+1,0,e):e.flags&1||(Pt.push(e),e.flags|=1),ii()}function js(e,t,n=He+1){for(;n<he.length;n++){const s=he[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;he.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function oi(e){if(Pt.length){const t=[...new Set(Pt)].sort((n,s)=>Jt(n)-Jt(s));if(Pt.length=0,nt){nt.push(...t);return}for(nt=t,xt=0;xt<nt.length;xt++){const n=nt[xt];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}nt=null,xt=0}}const Jt=e=>e.id==null?e.flags&2?-1:1/0:e.id;function li(e){try{for(He=0;He<he.length;He++){const t=he[He];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),on(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;He<he.length;He++){const t=he[He];t&&(t.flags&=-2)}He=-1,he.length=0,oi(),vn=null,(he.length||Pt.length)&&li()}}let we=null,ci=null;function bn(e){const t=we;return we=e,ci=e&&e.type.__scopeId||null,t}function Bo(e,t=we,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Qs(-1);const i=bn(t);let o;try{o=e(...r)}finally{bn(i),s._d&&Qs(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function hn(e,t){if(we===null)return e;const n=Hn(we),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,o,l,c=J]=t[r];i&&(j(i)&&(i={mounted:i,updated:i}),i.deep&&ze(o),s.push({dir:i,instance:n,value:o,oldValue:void 0,arg:l,modifiers:c}))}return e}function ft(e,t,n,s){const r=e.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const l=r[o];i&&(l.oldValue=i[o].value);let c=l.dir[s];c&&(lt(),Ve(c,n,8,[e.el,l,e,t]),ct())}}const Wo=Symbol("_vte"),qo=e=>e.__isTeleport;function Os(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Os(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}/*! #__NO_SIDE_EFFECTS__ */function ui(e,t){return j(e)?ae({name:e.name},t,{setup:e}):e}function fi(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function xn(e,t,n,s,r=!1){if(D(e)){e.forEach((O,A)=>xn(O,t&&(D(t)?t[A]:t),n,s,r));return}if(Bt(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&xn(e,t,n,s.component.subTree);return}const i=s.shapeFlag&4?Hn(s.component):s.el,o=r?null:i,{i:l,r:c}=e,d=t&&t.r,a=l.refs===J?l.refs={}:l.refs,h=l.setupState,g=W(h),m=h===J?()=>!1:O=>q(g,O);if(d!=null&&d!==c&&(ne(d)?(a[d]=null,m(d)&&(h[d]=null)):fe(d)&&(d.value=null)),j(c))on(c,l,12,[o,a]);else{const O=ne(c),A=fe(c);if(O||A){const U=()=>{if(e.f){const $=O?m(c)?h[c]:a[c]:c.value;r?D($)&&_s($,i):D($)?$.includes(i)||$.push(i):O?(a[c]=[i],m(c)&&(h[c]=a[c])):(c.value=[i],e.k&&(a[e.k]=c.value))}else O?(a[c]=o,m(c)&&(h[c]=o)):A&&(c.value=o,e.k&&(a[e.k]=o))};o?(U.id=-1,be(U,n)):U()}}}Tn().requestIdleCallback;Tn().cancelIdleCallback;const Bt=e=>!!e.type.__asyncLoader,ai=e=>e.type.__isKeepAlive;function Go(e,t){di(e,"a",t)}function zo(e,t){di(e,"da",t)}function di(e,t,n=ue){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Nn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)ai(r.parent.vnode)&&Yo(s,t,n,r),r=r.parent}}function Yo(e,t,n,s){const r=Nn(t,e,s,!0);hi(()=>{_s(s[t],r)},n)}function Nn(e,t,n=ue,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{lt();const l=ln(n),c=Ve(t,n,e,o);return l(),ct(),c});return s?r.unshift(i):r.push(i),i}}const Je=e=>(t,n=ue)=>{(!tn||e==="sp")&&Nn(e,(...s)=>t(...s),n)},Qo=Je("bm"),Jo=Je("m"),Xo=Je("bu"),Zo=Je("u"),el=Je("bum"),hi=Je("um"),tl=Je("sp"),nl=Je("rtg"),sl=Je("rtc");function rl(e,t=ue){Nn("ec",e,t)}const il="components";function Us(e,t){return ll(il,e,!0,t)||e}const ol=Symbol.for("v-ndc");function ll(e,t,n=!0,s=!1){const r=we||ue;if(r){const i=r.type;{const l=zl(i,!1);if(l&&(l===t||l===Ce(t)||l===An(Ce(t))))return i}const o=ks(r[e]||i[e],t)||ks(r.appContext[e],t);return!o&&s?i:o}}function ks(e,t){return e&&(e[t]||e[Ce(t)]||e[An(Ce(t))])}function Xt(e,t,n,s){let r;const i=n,o=D(e);if(o||ne(e)){const l=o&&Rt(e);let c=!1;l&&(c=!Re(e),e=In(e)),r=new Array(e.length);for(let d=0,a=e.length;d<a;d++)r[d]=t(c?ce(e[d]):e[d],d,void 0,i)}else if(typeof e=="number"){r=new Array(e);for(let l=0;l<e;l++)r[l]=t(l+1,l,void 0,i)}else if(ee(e))if(e[Symbol.iterator])r=Array.from(e,(l,c)=>t(l,c,void 0,i));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,d=l.length;c<d;c++){const a=l[c];r[c]=t(e[a],a,c,i)}}else r=[];return r}const is=e=>e?$i(e)?Hn(e):is(e.parent):null,Wt=ae(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=>is(e.parent),$root:e=>is(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>gi(e),$forceUpdate:e=>e.f||(e.f=()=>{Ps(e.update)}),$nextTick:e=>e.n||(e.n=ri.bind(e.proxy)),$watch:e=>Ol.bind(e)}),Wn=(e,t)=>e!==J&&!e.__isScriptSetup&&q(e,t),cl={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:c}=e;let d;if(t[0]!=="$"){const m=o[t];if(m!==void 0)switch(m){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(Wn(s,t))return o[t]=1,s[t];if(r!==J&&q(r,t))return o[t]=2,r[t];if((d=e.propsOptions[0])&&q(d,t))return o[t]=3,i[t];if(n!==J&&q(n,t))return o[t]=4,n[t];os&&(o[t]=0)}}const a=Wt[t];let h,g;if(a)return t==="$attrs"&&le(e.attrs,"get",""),a(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==J&&q(n,t))return o[t]=4,n[t];if(g=c.config.globalProperties,q(g,t))return g[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return Wn(r,t)?(r[t]=n,!0):s!==J&&q(s,t)?(s[t]=n,!0):q(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:i}},o){let l;return!!n[o]||e!==J&&q(e,o)||Wn(t,o)||(l=i[0])&&q(l,o)||q(s,o)||q(Wt,o)||q(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:q(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Vs(e){return D(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let os=!0;function ul(e){const t=gi(e),n=e.proxy,s=e.ctx;os=!1,t.beforeCreate&&Ks(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:c,inject:d,created:a,beforeMount:h,mounted:g,beforeUpdate:m,updated:O,activated:A,deactivated:U,beforeDestroy:$,beforeUnmount:I,destroyed:N,unmounted:T,render:Y,renderTracked:oe,renderTriggered:te,errorCaptured:Te,serverPrefetch:Xe,expose:Me,inheritAttrs:Ze,components:ut,directives:Ie,filters:Nt}=t;if(d&&fl(d,s,null),o)for(const z in o){const K=o[z];j(K)&&(s[z]=K.bind(n))}if(r){const z=r.call(n,n);ee(z)&&(e.data=Fn(z))}if(os=!0,i)for(const z in i){const K=i[z],Ke=j(K)?K.bind(n,n):j(K.get)?K.get.bind(n,n):Ue,et=!j(K)&&j(K.set)?K.set.bind(n):Ue,Fe=Pe({get:Ke,set:et});Object.defineProperty(s,z,{enumerable:!0,configurable:!0,get:()=>Fe.value,set:ge=>Fe.value=ge})}if(l)for(const z in l)pi(l[z],s,n,z);if(c){const z=j(c)?c.call(n):c;Reflect.ownKeys(z).forEach(K=>{pn(K,z[K])})}a&&Ks(a,e,"c");function re(z,K){D(K)?K.forEach(Ke=>z(Ke.bind(n))):K&&z(K.bind(n))}if(re(Qo,h),re(Jo,g),re(Xo,m),re(Zo,O),re(Go,A),re(zo,U),re(rl,Te),re(sl,oe),re(nl,te),re(el,I),re(hi,T),re(tl,Xe),D(Me))if(Me.length){const z=e.exposed||(e.exposed={});Me.forEach(K=>{Object.defineProperty(z,K,{get:()=>n[K],set:Ke=>n[K]=Ke})})}else e.exposed||(e.exposed={});Y&&e.render===Ue&&(e.render=Y),Ze!=null&&(e.inheritAttrs=Ze),ut&&(e.components=ut),Ie&&(e.directives=Ie),Xe&&fi(e)}function fl(e,t,n=Ue){D(e)&&(e=ls(e));for(const s in e){const r=e[s];let i;ee(r)?"default"in r?i=Qe(r.from||s,r.default,!0):i=Qe(r.from||s):i=Qe(r),fe(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function Ks(e,t,n){Ve(D(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function pi(e,t,n,s){let r=s.includes(".")?Ai(n,s):()=>n[s];if(ne(e)){const i=t[e];j(i)&&gn(r,i)}else if(j(e))gn(r,e.bind(n));else if(ee(e))if(D(e))e.forEach(i=>pi(i,t,n,s));else{const i=j(e.handler)?e.handler.bind(n):t[e.handler];j(i)&&gn(r,i,e)}}function gi(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(d=>wn(c,d,o,!0)),wn(c,t,o)),ee(t)&&i.set(t,c),c}function wn(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&wn(e,i,n,!0),r&&r.forEach(o=>wn(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=al[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const al={data:Bs,props:Ws,emits:Ws,methods:Ut,computed:Ut,beforeCreate:de,created:de,beforeMount:de,mounted:de,beforeUpdate:de,updated:de,beforeDestroy:de,beforeUnmount:de,destroyed:de,unmounted:de,activated:de,deactivated:de,errorCaptured:de,serverPrefetch:de,components:Ut,directives:Ut,watch:hl,provide:Bs,inject:dl};function Bs(e,t){return t?e?function(){return ae(j(e)?e.call(this,this):e,j(t)?t.call(this,this):t)}:t:e}function dl(e,t){return Ut(ls(e),ls(t))}function ls(e){if(D(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function de(e,t){return e?[...new Set([].concat(e,t))]:t}function Ut(e,t){return e?ae(Object.create(null),e,t):t}function Ws(e,t){return e?D(e)&&D(t)?[...new Set([...e,...t])]:ae(Object.create(null),Vs(e),Vs(t??{})):t}function hl(e,t){if(!e)return t;if(!t)return e;const n=ae(Object.create(null),e);for(const s in t)n[s]=de(e[s],t[s]);return n}function mi(){return{app:null,config:{isNativeTag:Zi,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(s,r=null){j(s)||(s=ae({},s)),r!=null&&!ee(r)&&(r=null);const i=mi(),o=new WeakSet,l=[];let c=!1;const d=i.app={_uid:pl++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:Ql,get config(){return i.config},set config(a){},use(a,...h){return o.has(a)||(a&&j(a.install)?(o.add(a),a.install(d,...h)):j(a)&&(o.add(a),a(d,...h))),d},mixin(a){return i.mixins.includes(a)||i.mixins.push(a),d},component(a,h){return h?(i.components[a]=h,d):i.components[a]},directive(a,h){return h?(i.directives[a]=h,d):i.directives[a]},mount(a,h,g){if(!c){const m=d._ceVNode||pe(s,r);return m.appContext=i,g===!0?g="svg":g===!1&&(g=void 0),e(m,a,g),c=!0,d._container=a,a.__vue_app__=d,Hn(m.component)}},onUnmount(a){l.push(a)},unmount(){c&&(Ve(l,d._instance,16),e(null,d._container),delete d._container.__vue_app__)},provide(a,h){return i.provides[a]=h,d},runWithContext(a){const h=Ot;Ot=d;try{return a()}finally{Ot=h}}};return d}}let Ot=null;function pn(e,t){if(ue){let n=ue.provides;const s=ue.parent&&ue.parent.provides;s===n&&(n=ue.provides=Object.create(s)),n[e]=t}}function Qe(e,t,n=!1){const s=ue||we;if(s||Ot){const r=Ot?Ot._context.provides:s?s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&j(t)?t.call(s&&s.proxy):t}}const _i={},yi=()=>Object.create(_i),vi=e=>Object.getPrototypeOf(e)===_i;function ml(e,t,n,s=!1){const r={},i=yi();e.propsDefaults=Object.create(null),bi(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:Zr(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function _l(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=W(r),[c]=e.propsOptions;let d=!1;if((s||o>0)&&!(o&16)){if(o&8){const a=e.vnode.dynamicProps;for(let h=0;h<a.length;h++){let g=a[h];if(Ln(e.emitsOptions,g))continue;const m=t[g];if(c)if(q(i,g))m!==i[g]&&(i[g]=m,d=!0);else{const O=Ce(g);r[O]=cs(c,l,O,m,e,!1)}else m!==i[g]&&(i[g]=m,d=!0)}}}else{bi(e,t,r,i)&&(d=!0);let a;for(const h in l)(!t||!q(t,h)&&((a=ot(h))===h||!q(t,a)))&&(c?n&&(n[h]!==void 0||n[a]!==void 0)&&(r[h]=cs(c,l,h,void 0,e,!0)):delete r[h]);if(i!==l)for(const h in i)(!t||!q(t,h))&&(delete i[h],d=!0)}d&&Ge(e.attrs,"set","")}function bi(e,t,n,s){const[r,i]=e.propsOptions;let o=!1,l;if(t)for(let c in t){if(kt(c))continue;const d=t[c];let a;r&&q(r,a=Ce(c))?!i||!i.includes(a)?n[a]=d:(l||(l={}))[a]=d:Ln(e.emitsOptions,c)||(!(c in s)||d!==s[c])&&(s[c]=d,o=!0)}if(i){const c=W(n),d=l||J;for(let a=0;a<i.length;a++){const h=i[a];n[h]=cs(r,c,h,d[h],e,!q(d,h))}}return o}function cs(e,t,n,s,r,i){const o=e[n];if(o!=null){const l=q(o,"default");if(l&&s===void 0){const c=o.default;if(o.type!==Function&&!o.skipFactory&&j(c)){const{propsDefaults:d}=r;if(n in d)s=d[n];else{const a=ln(r);s=d[n]=c.call(null,t),a()}}else s=c;r.ce&&r.ce._setProp(n,s)}o[0]&&(i&&!l?s=!1:o[1]&&(s===""||s===ot(n))&&(s=!0))}return s}const yl=new WeakMap;function xi(e,t,n=!1){const s=n?yl:t.propsCache,r=s.get(e);if(r)return r;const i=e.props,o={},l=[];let c=!1;if(!j(e)){const a=h=>{c=!0;const[g,m]=xi(h,t,!0);ae(o,g),m&&l.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!i&&!c)return ee(e)&&s.set(e,St),St;if(D(i))for(let a=0;a<i.length;a++){const h=Ce(i[a]);qs(h)&&(o[h]=J)}else if(i)for(const a in i){const h=Ce(a);if(qs(h)){const g=i[a],m=o[h]=D(g)||j(g)?{type:g}:ae({},g),O=m.type;let A=!1,U=!0;if(D(O))for(let $=0;$<O.length;++$){const I=O[$],N=j(I)&&I.name;if(N==="Boolean"){A=!0;break}else N==="String"&&(U=!1)}else A=j(O)&&O.name==="Boolean";m[0]=A,m[1]=U,(A||q(m,"default"))&&l.push(h)}}const d=[o,l];return ee(e)&&s.set(e,d),d}function qs(e){return e[0]!=="$"&&!kt(e)}const wi=e=>e[0]==="_"||e==="$stable",As=e=>D(e)?e.map(je):[je(e)],vl=(e,t,n)=>{if(t._n)return t;const s=Bo((...r)=>As(t(...r)),n);return s._c=!1,s},Si=(e,t,n)=>{const s=e._ctx;for(const r in e){if(wi(r))continue;const i=e[r];if(j(i))t[r]=vl(r,i,s);else if(i!=null){const o=As(i);t[r]=()=>o}}},Ei=(e,t)=>{const n=As(t);e.slots.default=()=>n},Ri=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},bl=(e,t,n)=>{const s=e.slots=yi();if(e.vnode.shapeFlag&32){const r=t._;r?(Ri(s,t,n),n&&$r(s,"_",r,!0)):Si(t,s)}else t&&Ei(e,t)},xl=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=J;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:Ri(r,t,n):(i=!t.$stable,Si(t,r)),o=t}else t&&(Ei(e,t),o={default:1});if(i)for(const l in r)!wi(l)&&o[l]==null&&delete r[l]},be=Nl;function wl(e){return Sl(e)}function Sl(e,t){const n=Tn();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:c,setText:d,setElementText:a,parentNode:h,nextSibling:g,setScopeId:m=Ue,insertStaticContent:O}=e,A=(u,f,p,_=null,b=null,v=null,E=void 0,S=null,w=!!f.dynamicChildren)=>{if(u===f)return;u&&!Ht(u,f)&&(_=y(u),ge(u,b,v,!0),u=null),f.patchFlag===-2&&(w=!1,f.dynamicChildren=null);const{type:x,ref:L,shapeFlag:C}=f;switch(x){case Dn:U(u,f,p,_);break;case mt:$(u,f,p,_);break;case Gn:u==null&&I(f,p,_,E);break;case _e:ut(u,f,p,_,b,v,E,S,w);break;default:C&1?Y(u,f,p,_,b,v,E,S,w):C&6?Ie(u,f,p,_,b,v,E,S,w):(C&64||C&128)&&x.process(u,f,p,_,b,v,E,S,w,M)}L!=null&&b&&xn(L,u&&u.ref,v,f||u,!f)},U=(u,f,p,_)=>{if(u==null)s(f.el=l(f.children),p,_);else{const b=f.el=u.el;f.children!==u.children&&d(b,f.children)}},$=(u,f,p,_)=>{u==null?s(f.el=c(f.children||""),p,_):f.el=u.el},I=(u,f,p,_)=>{[u.el,u.anchor]=O(u.children,f,p,_,u.el,u.anchor)},N=({el:u,anchor:f},p,_)=>{let b;for(;u&&u!==f;)b=g(u),s(u,p,_),u=b;s(f,p,_)},T=({el:u,anchor:f})=>{let p;for(;u&&u!==f;)p=g(u),r(u),u=p;r(f)},Y=(u,f,p,_,b,v,E,S,w)=>{f.type==="svg"?E="svg":f.type==="math"&&(E="mathml"),u==null?oe(f,p,_,b,v,E,S,w):Xe(u,f,b,v,E,S,w)},oe=(u,f,p,_,b,v,E,S)=>{let w,x;const{props:L,shapeFlag:C,transition:F,dirs:H}=u;if(w=u.el=o(u.type,v,L&&L.is,L),C&8?a(w,u.children):C&16&&Te(u.children,w,null,_,b,qn(u,v),E,S),H&&ft(u,null,_,"created"),te(w,u,u.scopeId,E,_),L){for(const X in L)X!=="value"&&!kt(X)&&i(w,X,null,L[X],v,_);"value"in L&&i(w,"value",null,L.value,v),(x=L.onVnodeBeforeMount)&&De(x,_,u)}H&&ft(u,null,_,"beforeMount");const V=El(b,F);V&&F.beforeEnter(w),s(w,f,p),((x=L&&L.onVnodeMounted)||V||H)&&be(()=>{x&&De(x,_,u),V&&F.enter(w),H&&ft(u,null,_,"mounted")},b)},te=(u,f,p,_,b)=>{if(p&&m(u,p),_)for(let v=0;v<_.length;v++)m(u,_[v]);if(b){let v=b.subTree;if(f===v||Mi(v.type)&&(v.ssContent===f||v.ssFallback===f)){const E=b.vnode;te(u,E,E.scopeId,E.slotScopeIds,b.parent)}}},Te=(u,f,p,_,b,v,E,S,w=0)=>{for(let x=w;x<u.length;x++){const L=u[x]=S?st(u[x]):je(u[x]);A(null,L,f,p,_,b,v,E,S)}},Xe=(u,f,p,_,b,v,E)=>{const S=f.el=u.el;let{patchFlag:w,dynamicChildren:x,dirs:L}=f;w|=u.patchFlag&16;const C=u.props||J,F=f.props||J;let H;if(p&&at(p,!1),(H=F.onVnodeBeforeUpdate)&&De(H,p,f,u),L&&ft(f,u,p,"beforeUpdate"),p&&at(p,!0),(C.innerHTML&&F.innerHTML==null||C.textContent&&F.textContent==null)&&a(S,""),x?Me(u.dynamicChildren,x,S,p,_,qn(f,b),v):E||K(u,f,S,null,p,_,qn(f,b),v,!1),w>0){if(w&16)Ze(S,C,F,p,b);else if(w&2&&C.class!==F.class&&i(S,"class",null,F.class,b),w&4&&i(S,"style",C.style,F.style,b),w&8){const V=f.dynamicProps;for(let X=0;X<V.length;X++){const G=V[X],ye=C[G],me=F[G];(me!==ye||G==="value")&&i(S,G,ye,me,b,p)}}w&1&&u.children!==f.children&&a(S,f.children)}else!E&&x==null&&Ze(S,C,F,p,b);((H=F.onVnodeUpdated)||L)&&be(()=>{H&&De(H,p,f,u),L&&ft(f,u,p,"updated")},_)},Me=(u,f,p,_,b,v,E)=>{for(let S=0;S<f.length;S++){const w=u[S],x=f[S],L=w.el&&(w.type===_e||!Ht(w,x)||w.shapeFlag&70)?h(w.el):p;A(w,x,L,null,_,b,v,E,!0)}},Ze=(u,f,p,_,b)=>{if(f!==p){if(f!==J)for(const v in f)!kt(v)&&!(v in p)&&i(u,v,f[v],null,b,_);for(const v in p){if(kt(v))continue;const E=p[v],S=f[v];E!==S&&v!=="value"&&i(u,v,S,E,b,_)}"value"in p&&i(u,"value",f.value,p.value,b)}},ut=(u,f,p,_,b,v,E,S,w)=>{const x=f.el=u?u.el:l(""),L=f.anchor=u?u.anchor:l("");let{patchFlag:C,dynamicChildren:F,slotScopeIds:H}=f;H&&(S=S?S.concat(H):H),u==null?(s(x,p,_),s(L,p,_),Te(f.children||[],p,L,b,v,E,S,w)):C>0&&C&64&&F&&u.dynamicChildren?(Me(u.dynamicChildren,F,p,b,v,E,S),(f.key!=null||b&&f===b.subTree)&&Ci(u,f,!0)):K(u,f,p,L,b,v,E,S,w)},Ie=(u,f,p,_,b,v,E,S,w)=>{f.slotScopeIds=S,u==null?f.shapeFlag&512?b.ctx.activate(f,p,_,E,w):Nt(f,p,_,b,v,E,w):_t(u,f,w)},Nt=(u,f,p,_,b,v,E)=>{const S=u.component=Kl(u,_,b);if(ai(u)&&(S.ctx.renderer=M),Bl(S,!1,E),S.asyncDep){if(b&&b.registerDep(S,re,E),!u.el){const w=S.subTree=pe(mt);$(null,w,f,p)}}else re(S,u,f,p,b,v,E)},_t=(u,f,p)=>{const _=f.component=u.component;if(Fl(u,f,p))if(_.asyncDep&&!_.asyncResolved){z(_,f,p);return}else _.next=f,_.update();else f.el=u.el,_.vnode=f},re=(u,f,p,_,b,v,E)=>{const S=()=>{if(u.isMounted){let{next:C,bu:F,u:H,parent:V,vnode:X}=u;{const Ne=Pi(u);if(Ne){C&&(C.el=X.el,z(u,C,E)),Ne.asyncDep.then(()=>{u.isUnmounted||S()});return}}let G=C,ye;at(u,!1),C?(C.el=X.el,z(u,C,E)):C=X,F&&dn(F),(ye=C.props&&C.props.onVnodeBeforeUpdate)&&De(ye,V,C,X),at(u,!0);const me=zs(u),$e=u.subTree;u.subTree=me,A($e,me,h($e.el),y($e),u,b,v),C.el=me.el,G===null&&$l(u,me.el),H&&be(H,b),(ye=C.props&&C.props.onVnodeUpdated)&&be(()=>De(ye,V,C,X),b)}else{let C;const{el:F,props:H}=f,{bm:V,m:X,parent:G,root:ye,type:me}=u,$e=Bt(f);at(u,!1),V&&dn(V),!$e&&(C=H&&H.onVnodeBeforeMount)&&De(C,G,f),at(u,!0);{ye.ce&&ye.ce._injectChildStyle(me);const Ne=u.subTree=zs(u);A(null,Ne,p,_,u,b,v),f.el=Ne.el}if(X&&be(X,b),!$e&&(C=H&&H.onVnodeMounted)){const Ne=f;be(()=>De(C,G,Ne),b)}(f.shapeFlag&256||G&&Bt(G.vnode)&&G.vnode.shapeFlag&256)&&u.a&&be(u.a,b),u.isMounted=!0,f=p=_=null}};u.scope.on();const w=u.effect=new jr(S);u.scope.off();const x=u.update=w.run.bind(w),L=u.job=w.runIfDirty.bind(w);L.i=u,L.id=u.uid,w.scheduler=()=>Ps(L),at(u,!0),x()},z=(u,f,p)=>{f.component=u;const _=u.vnode.props;u.vnode=f,u.next=null,_l(u,f.props,_,p),xl(u,f.children,p),lt(),js(u),ct()},K=(u,f,p,_,b,v,E,S,w=!1)=>{const x=u&&u.children,L=u?u.shapeFlag:0,C=f.children,{patchFlag:F,shapeFlag:H}=f;if(F>0){if(F&128){et(x,C,p,_,b,v,E,S,w);return}else if(F&256){Ke(x,C,p,_,b,v,E,S,w);return}}H&8?(L&16&&Ee(x,b,v),C!==x&&a(p,C)):L&16?H&16?et(x,C,p,_,b,v,E,S,w):Ee(x,b,v,!0):(L&8&&a(p,""),H&16&&Te(C,p,_,b,v,E,S,w))},Ke=(u,f,p,_,b,v,E,S,w)=>{u=u||St,f=f||St;const x=u.length,L=f.length,C=Math.min(x,L);let F;for(F=0;F<C;F++){const H=f[F]=w?st(f[F]):je(f[F]);A(u[F],H,p,null,b,v,E,S,w)}x>L?Ee(u,b,v,!0,!1,C):Te(f,p,_,b,v,E,S,w,C)},et=(u,f,p,_,b,v,E,S,w)=>{let x=0;const L=f.length;let C=u.length-1,F=L-1;for(;x<=C&&x<=F;){const H=u[x],V=f[x]=w?st(f[x]):je(f[x]);if(Ht(H,V))A(H,V,p,null,b,v,E,S,w);else break;x++}for(;x<=C&&x<=F;){const H=u[C],V=f[F]=w?st(f[F]):je(f[F]);if(Ht(H,V))A(H,V,p,null,b,v,E,S,w);else break;C--,F--}if(x>C){if(x<=F){const H=F+1,V=H<L?f[H].el:_;for(;x<=F;)A(null,f[x]=w?st(f[x]):je(f[x]),p,V,b,v,E,S,w),x++}}else if(x>F)for(;x<=C;)ge(u[x],b,v,!0),x++;else{const H=x,V=x,X=new Map;for(x=V;x<=F;x++){const ve=f[x]=w?st(f[x]):je(f[x]);ve.key!=null&&X.set(ve.key,x)}let G,ye=0;const me=F-V+1;let $e=!1,Ne=0;const Lt=new Array(me);for(x=0;x<me;x++)Lt[x]=0;for(x=H;x<=C;x++){const ve=u[x];if(ye>=me){ge(ve,b,v,!0);continue}let Le;if(ve.key!=null)Le=X.get(ve.key);else for(G=V;G<=F;G++)if(Lt[G-V]===0&&Ht(ve,f[G])){Le=G;break}Le===void 0?ge(ve,b,v,!0):(Lt[Le-V]=x+1,Le>=Ne?Ne=Le:$e=!0,A(ve,f[Le],p,null,b,v,E,S,w),ye++)}const Fs=$e?Rl(Lt):St;for(G=Fs.length-1,x=me-1;x>=0;x--){const ve=V+x,Le=f[ve],$s=ve+1<L?f[ve+1].el:_;Lt[x]===0?A(null,Le,p,$s,b,v,E,S,w):$e&&(G<0||x!==Fs[G]?Fe(Le,p,$s,2):G--)}}},Fe=(u,f,p,_,b=null)=>{const{el:v,type:E,transition:S,children:w,shapeFlag:x}=u;if(x&6){Fe(u.component.subTree,f,p,_);return}if(x&128){u.suspense.move(f,p,_);return}if(x&64){E.move(u,f,p,M);return}if(E===_e){s(v,f,p);for(let C=0;C<w.length;C++)Fe(w[C],f,p,_);s(u.anchor,f,p);return}if(E===Gn){N(u,f,p);return}if(_!==2&&x&1&&S)if(_===0)S.beforeEnter(v),s(v,f,p),be(()=>S.enter(v),b);else{const{leave:C,delayLeave:F,afterLeave:H}=S,V=()=>s(v,f,p),X=()=>{C(v,()=>{V(),H&&H()})};F?F(v,V,X):X()}else s(v,f,p)},ge=(u,f,p,_=!1,b=!1)=>{const{type:v,props:E,ref:S,children:w,dynamicChildren:x,shapeFlag:L,patchFlag:C,dirs:F,cacheIndex:H}=u;if(C===-2&&(b=!1),S!=null&&xn(S,null,p,u,!0),H!=null&&(f.renderCache[H]=void 0),L&256){f.ctx.deactivate(u);return}const V=L&1&&F,X=!Bt(u);let G;if(X&&(G=E&&E.onVnodeBeforeUnmount)&&De(G,f,u),L&6)cn(u.component,p,_);else{if(L&128){u.suspense.unmount(p,_);return}V&&ft(u,null,f,"beforeUnmount"),L&64?u.type.remove(u,f,p,M,_):x&&!x.hasOnce&&(v!==_e||C>0&&C&64)?Ee(x,f,p,!1,!0):(v===_e&&C&384||!b&&L&16)&&Ee(w,f,p),_&&yt(u)}(X&&(G=E&&E.onVnodeUnmounted)||V)&&be(()=>{G&&De(G,f,u),V&&ft(u,null,f,"unmounted")},p)},yt=u=>{const{type:f,el:p,anchor:_,transition:b}=u;if(f===_e){vt(p,_);return}if(f===Gn){T(u);return}const v=()=>{r(p),b&&!b.persisted&&b.afterLeave&&b.afterLeave()};if(u.shapeFlag&1&&b&&!b.persisted){const{leave:E,delayLeave:S}=b,w=()=>E(p,v);S?S(u.el,v,w):w()}else v()},vt=(u,f)=>{let p;for(;u!==f;)p=g(u),r(u),u=p;r(f)},cn=(u,f,p)=>{const{bum:_,scope:b,job:v,subTree:E,um:S,m:w,a:x}=u;Gs(w),Gs(x),_&&dn(_),b.stop(),v&&(v.flags|=8,ge(E,u,f,p)),S&&be(S,f),be(()=>{u.isUnmounted=!0},f),f&&f.pendingBranch&&!f.isUnmounted&&u.asyncDep&&!u.asyncResolved&&u.suspenseId===f.pendingId&&(f.deps--,f.deps===0&&f.resolve())},Ee=(u,f,p,_=!1,b=!1,v=0)=>{for(let E=v;E<u.length;E++)ge(u[E],f,p,_,b)},y=u=>{if(u.shapeFlag&6)return y(u.component.subTree);if(u.shapeFlag&128)return u.suspense.next();const f=g(u.anchor||u.el),p=f&&f[Wo];return p?g(p):f};let P=!1;const R=(u,f,p)=>{u==null?f._vnode&&ge(f._vnode,null,null,!0):A(f._vnode||null,u,f,null,null,null,p),f._vnode=u,P||(P=!0,js(),oi(),P=!1)},M={p:A,um:ge,m:Fe,r:yt,mt:Nt,mc:Te,pc:K,pbc:Me,n:y,o:e};return{render:R,hydrate:void 0,createApp:gl(R)}}function qn({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function at({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function El(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ci(e,t,n=!1){const s=e.children,r=t.children;if(D(s)&&D(r))for(let i=0;i<s.length;i++){const o=s[i];let l=r[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[i]=st(r[i]),l.el=o.el),!n&&l.patchFlag!==-2&&Ci(o,l)),l.type===Dn&&(l.el=o.el)}}function Rl(e){const t=e.slice(),n=[0];let s,r,i,o,l;const c=e.length;for(s=0;s<c;s++){const d=e[s];if(d!==0){if(r=n[n.length-1],e[r]<d){t[s]=r,n.push(s);continue}for(i=0,o=n.length-1;i<o;)l=i+o>>1,e[n[l]]<d?i=l+1:o=l;d<e[n[i]]&&(i>0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function Pi(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Pi(t)}function Gs(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const Cl=Symbol.for("v-scx"),Pl=()=>Qe(Cl);function gn(e,t,n){return Oi(e,t,n)}function Oi(e,t,n=J){const{immediate:s,deep:r,flush:i,once:o}=n,l=ae({},n),c=t&&s||!t&&i!=="post";let d;if(tn){if(i==="sync"){const m=Pl();d=m.__watcherHandles||(m.__watcherHandles=[])}else if(!c){const m=()=>{};return m.stop=Ue,m.resume=Ue,m.pause=Ue,m}}const a=ue;l.call=(m,O,A)=>Ve(m,a,O,A);let h=!1;i==="post"?l.scheduler=m=>{be(m,a&&a.suspense)}:i!=="sync"&&(h=!0,l.scheduler=(m,O)=>{O?m():Ps(m)}),l.augmentJob=m=>{t&&(m.flags|=4),h&&(m.flags|=2,a&&(m.id=a.uid,m.i=a))};const g=Uo(e,t,l);return tn&&(d?d.push(g):c&&g()),g}function Ol(e,t,n){const s=this.proxy,r=ne(e)?e.includes(".")?Ai(s,e):()=>s[e]:e.bind(s,s);let i;j(t)?i=t:(i=t.handler,n=t);const o=ln(this),l=Oi(r,i.bind(s),n);return o(),l}function Ai(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}const Al=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ce(t)}Modifiers`]||e[`${ot(t)}Modifiers`];function Tl(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||J;let r=n;const i=t.startsWith("update:"),o=i&&Al(s,t.slice(7));o&&(o.trim&&(r=n.map(a=>ne(a)?a.trim():a)),o.number&&(r=n.map(Zn)));let l,c=s[l=Un(t)]||s[l=Un(Ce(t))];!c&&i&&(c=s[l=Un(ot(t))]),c&&Ve(c,e,6,r);const d=s[l+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ve(d,e,6,r)}}function Ti(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!j(e)){const c=d=>{const a=Ti(d,t,!0);a&&(l=!0,ae(o,a))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(ee(e)&&s.set(e,null),null):(D(i)?i.forEach(c=>o[c]=null):ae(o,i),ee(e)&&s.set(e,o),o)}function Ln(e,t){return!e||!Cn(t)?!1:(t=t.slice(2).replace(/Once$/,""),q(e,t[0].toLowerCase()+t.slice(1))||q(e,ot(t))||q(e,t))}function zs(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:c,render:d,renderCache:a,props:h,data:g,setupState:m,ctx:O,inheritAttrs:A}=e,U=bn(e);let $,I;try{if(n.shapeFlag&4){const T=r||s,Y=T;$=je(d.call(Y,T,a,h,m,g,O)),I=l}else{const T=t;$=je(T.length>1?T(h,{attrs:l,slots:o,emit:c}):T(h,null)),I=t.props?l:Ml(l)}}catch(T){qt.length=0,$n(T,e,1),$=pe(mt)}let N=$;if(I&&A!==!1){const T=Object.keys(I),{shapeFlag:Y}=N;T.length&&Y&7&&(i&&T.some(ms)&&(I=Il(I,i)),N=Mt(N,I,!1,!0))}return n.dirs&&(N=Mt(N,null,!1,!0),N.dirs=N.dirs?N.dirs.concat(n.dirs):n.dirs),n.transition&&Os(N,n.transition),$=N,bn(U),$}const Ml=e=>{let t;for(const n in e)(n==="class"||n==="style"||Cn(n))&&((t||(t={}))[n]=e[n]);return t},Il=(e,t)=>{const n={};for(const s in e)(!ms(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Fl(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,patchFlag:c}=t,d=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?Ys(s,o,d):!!o;if(c&8){const a=t.dynamicProps;for(let h=0;h<a.length;h++){const g=a[h];if(o[g]!==s[g]&&!Ln(d,g))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:s===o?!1:s?o?Ys(s,o,d):!0:!!o;return!1}function Ys(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const i=s[r];if(t[i]!==e[i]&&!Ln(n,i))return!0}return!1}function $l({vnode:e,parent:t},n){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.el=e.el),s===e)(e=t.vnode).el=n,t=t.parent;else break}}const Mi=e=>e.__isSuspense;function Nl(e,t){t&&t.pendingBranch?D(e)?t.effects.push(...e):t.effects.push(e):Ko(e)}const _e=Symbol.for("v-fgt"),Dn=Symbol.for("v-txt"),mt=Symbol.for("v-cmt"),Gn=Symbol.for("v-stc"),qt=[];let Se=null;function se(e=!1){qt.push(Se=e?null:[])}function Ll(){qt.pop(),Se=qt[qt.length-1]||null}let Zt=1;function Qs(e,t=!1){Zt+=e,e<0&&Se&&t&&(Se.hasOnce=!0)}function Ii(e){return e.dynamicChildren=Zt>0?Se||St:null,Ll(),Zt>0&&Se&&Se.push(e),e}function ie(e,t,n,s,r,i){return Ii(k(e,t,n,s,r,i,!0))}function Dl(e,t,n,s,r){return Ii(pe(e,t,n,s,r,!0))}function Sn(e){return e?e.__v_isVNode===!0:!1}function Ht(e,t){return e.type===t.type&&e.key===t.key}const Fi=({key:e})=>e??null,mn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ne(e)||fe(e)||j(e)?{i:we,r:e,k:t,f:!!n}:e:null);function k(e,t=null,n=null,s=0,r=null,i=e===_e?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Fi(t),ref:t&&mn(t),scopeId:ci,slotScopeIds:null,children:n,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:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:we};return l?(Ts(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=ne(n)?8:16),Zt>0&&!o&&Se&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Se.push(c),c}const pe=Hl;function Hl(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===ol)&&(e=mt),Sn(e)){const l=Mt(e,t,!0);return n&&Ts(l,n),Zt>0&&!i&&Se&&(l.shapeFlag&6?Se[Se.indexOf(e)]=l:Se.push(l)),l.patchFlag=-2,l}if(Yl(e)&&(e=e.__vccOpts),t){t=jl(t);let{class:l,style:c}=t;l&&!ne(l)&&(t.class=Tt(l)),ee(c)&&(Cs(c)&&!D(c)&&(c=ae({},c)),t.style=vs(c))}const o=ne(e)?1:Mi(e)?128:qo(e)?64:ee(e)?4:j(e)?2:0;return k(e,t,n,s,r,o,i,!0)}function jl(e){return e?Cs(e)||vi(e)?ae({},e):e:null}function Mt(e,t,n=!1,s=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:c}=e,d=t?Ul(r||{},t):r,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&Fi(d),ref:t&&t.ref?n&&i?D(i)?i.concat(mn(t)):[i,mn(t)]:mn(t):i,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!==_e?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Mt(e.ssContent),ssFallback:e.ssFallback&&Mt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&Os(a,c.clone(a)),a}function en(e=" ",t=0){return pe(Dn,null,e,t)}function Js(e="",t=!1){return t?(se(),Dl(mt,null,e)):pe(mt,null,e)}function je(e){return e==null||typeof e=="boolean"?pe(mt):D(e)?pe(_e,null,e.slice()):Sn(e)?st(e):pe(Dn,null,String(e))}function st(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Mt(e)}function Ts(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(D(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Ts(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!vi(t)?t._ctx=we:r===3&&we&&(we.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else j(t)?(t={default:t,_ctx:we},n=32):(t=String(t),s&64?(n=16,t=[en(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ul(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=Tt([t.class,s.class]));else if(r==="style")t.style=vs([t.style,s.style]);else if(Cn(r)){const i=t[r],o=s[r];o&&i!==o&&!(D(i)&&i.includes(o))&&(t[r]=i?[].concat(i,o):o)}else r!==""&&(t[r]=s[r])}return t}function De(e,t,n,s=null){Ve(e,t,7,[n,s])}const kl=mi();let Vl=0;function Kl(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||kl,i={uid:Vl++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new ao(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:xi(s,r),emitsOptions:Ti(s,r),emit:null,emitted:null,propsDefaults:J,inheritAttrs:s.inheritAttrs,ctx:J,data:J,props:J,attrs:J,slots:J,refs:J,setupState:J,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=Tl.bind(null,i),e.ce&&e.ce(i),i}let ue=null,En,us;{const e=Tn(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};En=t("__VUE_INSTANCE_SETTERS__",n=>ue=n),us=t("__VUE_SSR_SETTERS__",n=>tn=n)}const ln=e=>{const t=ue;return En(e),e.scope.on(),()=>{e.scope.off(),En(t)}},Xs=()=>{ue&&ue.scope.off(),En(null)};function $i(e){return e.vnode.shapeFlag&4}let tn=!1;function Bl(e,t=!1,n=!1){t&&us(t);const{props:s,children:r}=e.vnode,i=$i(e);ml(e,s,i,t),bl(e,r,n);const o=i?Wl(e,t):void 0;return t&&us(!1),o}function Wl(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,cl);const{setup:s}=n;if(s){lt();const r=e.setupContext=s.length>1?Gl(e):null,i=ln(e),o=on(s,e,0,[e.props,r]),l=Mr(o);if(ct(),i(),(l||e.sp)&&!Bt(e)&&fi(e),l){if(o.then(Xs,Xs),t)return o.then(c=>{Zs(e,c)}).catch(c=>{$n(c,e,0)});e.asyncDep=o}else Zs(e,o)}else Ni(e)}function Zs(e,t,n){j(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ee(t)&&(e.setupState=ni(t)),Ni(e)}function Ni(e,t,n){const s=e.type;e.render||(e.render=s.render||Ue);{const r=ln(e);lt();try{ul(e)}finally{ct(),r()}}}const ql={get(e,t){return le(e,"get",""),e[t]}};function Gl(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,ql),slots:e.slots,emit:e.emit,expose:t}}function Hn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ni(Io(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Wt)return Wt[n](e)},has(t,n){return n in t||n in Wt}})):e.proxy}function zl(e,t=!0){return j(e)?e.displayName||e.name:e.name||t&&e.__name}function Yl(e){return j(e)&&"__vccOpts"in e}const Pe=(e,t)=>Ho(e,t,tn);function Li(e,t,n){const s=arguments.length;return s===2?ee(t)&&!D(t)?Sn(t)?pe(e,null,[t]):pe(e,t):pe(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Sn(n)&&(n=[n]),pe(e,t,n))}const Ql="3.5.13";/**
- * @vue/runtime-dom v3.5.13
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
- * @license MIT
- **/let fs;const er=typeof window<"u"&&window.trustedTypes;if(er)try{fs=er.createPolicy("vue",{createHTML:e=>e})}catch{}const Di=fs?e=>fs.createHTML(e):e=>e,Jl="http://www.w3.org/2000/svg",Xl="http://www.w3.org/1998/Math/MathML",qe=typeof document<"u"?document:null,tr=qe&&qe.createElement("template"),Zl={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?qe.createElementNS(Jl,e):t==="mathml"?qe.createElementNS(Xl,e):n?qe.createElement(e,{is:n}):qe.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>qe.createTextNode(e),createComment:e=>qe.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>qe.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{tr.innerHTML=Di(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=tr.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},ec=Symbol("_vtc");function tc(e,t,n){const s=e[ec];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const nr=Symbol("_vod"),nc=Symbol("_vsh"),sc=Symbol(""),rc=/(^|;)\s*display\s*:/;function ic(e,t,n){const s=e.style,r=ne(n);let i=!1;if(n&&!r){if(t)if(ne(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&_n(s,l,"")}else for(const o in t)n[o]==null&&_n(s,o,"");for(const o in n)o==="display"&&(i=!0),_n(s,o,n[o])}else if(r){if(t!==n){const o=s[sc];o&&(n+=";"+o),s.cssText=n,i=rc.test(n)}}else t&&e.removeAttribute("style");nr in e&&(e[nr]=i?s.display:"",e[nc]&&(s.display="none"))}const sr=/\s*!important$/;function _n(e,t,n){if(D(n))n.forEach(s=>_n(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=oc(e,t);sr.test(n)?e.setProperty(ot(s),n.replace(sr,""),"important"):e[s]=n}}const rr=["Webkit","Moz","ms"],zn={};function oc(e,t){const n=zn[t];if(n)return n;let s=Ce(t);if(s!=="filter"&&s in e)return zn[t]=s;s=An(s);for(let r=0;r<rr.length;r++){const i=rr[r]+s;if(i in e)return zn[t]=i}return t}const ir="http://www.w3.org/1999/xlink";function or(e,t,n,s,r,i=uo(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(ir,t.slice(6,t.length)):e.setAttributeNS(ir,t,n):n==null||i&&!Nr(n)?e.removeAttribute(t):e.setAttribute(t,i?"":ke(n)?String(n):n)}function lr(e,t,n,s,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Di(n):n);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const l=i==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?e.type==="checkbox"?"on":"":String(n);(l!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=Nr(n):n==null&&l==="string"?(n="",o=!0):l==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(r||t)}function ht(e,t,n,s){e.addEventListener(t,n,s)}function lc(e,t,n,s){e.removeEventListener(t,n,s)}const cr=Symbol("_vei");function cc(e,t,n,s,r=null){const i=e[cr]||(e[cr]={}),o=i[t];if(s&&o)o.value=s;else{const[l,c]=uc(t);if(s){const d=i[t]=dc(s,r);ht(e,l,d,c)}else o&&(lc(e,l,o,c),i[t]=void 0)}}const ur=/(?:Once|Passive|Capture)$/;function uc(e){let t;if(ur.test(e)){t={};let s;for(;s=e.match(ur);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):ot(e.slice(2)),t]}let Yn=0;const fc=Promise.resolve(),ac=()=>Yn||(fc.then(()=>Yn=0),Yn=Date.now());function dc(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Ve(hc(s,n.value),t,5,[s])};return n.value=e,n.attached=ac(),n}function hc(e,t){if(D(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const fr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,pc=(e,t,n,s,r,i)=>{const o=r==="svg";t==="class"?tc(e,s,o):t==="style"?ic(e,n,s):Cn(t)?ms(t)||cc(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):gc(e,t,s,o))?(lr(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&or(e,t,s,o,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!ne(s))?lr(e,Ce(t),s,i,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),or(e,t,s,o))};function gc(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&fr(t)&&j(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return fr(t)&&ne(n)?!1:t in e}const Rn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return D(t)?n=>dn(t,n):t};function mc(e){e.target.composing=!0}function ar(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const At=Symbol("_assign"),as={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[At]=Rn(r);const i=s||r.props&&r.props.type==="number";ht(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;n&&(l=l.trim()),i&&(l=Zn(l)),e[At](l)}),n&&ht(e,"change",()=>{e.value=e.value.trim()}),t||(ht(e,"compositionstart",mc),ht(e,"compositionend",ar),ht(e,"change",ar))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:i}},o){if(e[At]=Rn(o),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?Zn(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===c)||(e.value=c))}},_c={deep:!0,created(e,t,n){e[At]=Rn(n),ht(e,"change",()=>{const s=e._modelValue,r=yc(e),i=e.checked,o=e[At];if(D(s)){const l=Lr(s,r),c=l!==-1;if(i&&!c)o(s.concat(r));else if(!i&&c){const d=[...s];d.splice(l,1),o(d)}}else if(Pn(s)){const l=new Set(s);i?l.add(r):l.delete(r),o(l)}else o(Hi(e,i))})},mounted:dr,beforeUpdate(e,t,n){e[At]=Rn(n),dr(e,t,n)}};function dr(e,{value:t,oldValue:n},s){e._modelValue=t;let r;if(D(t))r=Lr(t,s.props.value)>-1;else if(Pn(t))r=t.has(s.props.value);else{if(t===n)return;r=Mn(t,Hi(e,!0))}e.checked!==r&&(e.checked=r)}function yc(e){return"_value"in e?e._value:e.value}function Hi(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const vc=["ctrl","shift","alt","meta"],bc={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)=>vc.some(n=>e[`${n}Key`]&&!t.includes(n))},xc=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...i)=>{for(let o=0;o<t.length;o++){const l=bc[t[o]];if(l&&l(r,t))return}return e(r,...i)})},wc={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Sc=(e,t)=>{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const i=ot(r.key);if(t.some(o=>o===i||wc[o]===i))return e(r)})},Ec=ae({patchProp:pc},Zl);let hr;function Rc(){return hr||(hr=wl(Ec))}const Cc=(...e)=>{const t=Rc().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Oc(s);if(!r)return;const i=t._component;!j(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=n(r,!1,Pc(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t};function Pc(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Oc(e){return ne(e)?document.querySelector(e):e}const $t=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Ac={data(){return{isCollapsed:!1,requirements:[{id:1,title:"需求1"},{id:2,title:"需求2"},{id:3,title:"需求3"}]}},methods:{selectRequirement(e){this.$emit("requirement-selected",e)},toggleCollapse(){this.isCollapsed=!this.isCollapsed},addNewRequirement(){}}},Tc={class:"sidebar"},Mc=["onClick"];function Ic(e,t,n,s,r,i){return se(),ie("div",Tc,[t[2]||(t[2]=k("div",{class:"fixed-requirements"},"固定需求",-1)),k("ul",null,[(se(!0),ie(_e,null,Xt(r.requirements,o=>(se(),ie("li",{key:o.id,onClick:l=>i.selectRequirement(o)},Ye(o.title),9,Mc))),128))]),k("button",{onClick:t[0]||(t[0]=(...o)=>i.toggleCollapse&&i.toggleCollapse(...o))},Ye(r.isCollapsed?">":"<"),1),k("button",{onClick:t[1]||(t[1]=(...o)=>i.addNewRequirement&&i.addNewRequirement(...o))},"添加新需求")])}const ji=$t(Ac,[["render",Ic],["__scopeId","data-v-a3c458f2"]]),Fc={components:{Sidebar:ji},methods:{handleRequirementSelected(e){}}},$c={id:"app"};function Nc(e,t,n,s,r,i){const o=Us("Sidebar"),l=Us("router-view");return se(),ie("div",$c,[pe(o,{onRequirementSelected:i.handleRequirementSelected},null,8,["onRequirementSelected"]),pe(l)])}const Lc=$t(Fc,[["render",Nc]]);/*!
- * vue-router v4.5.0
- * (c) 2024 Eduardo San Martin Morote
- * @license MIT
- */const wt=typeof document<"u";function Ui(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Dc(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Ui(e.default)}const B=Object.assign;function Qn(e,t){const n={};for(const s in t){const r=t[s];n[s]=Ae(r)?r.map(e):e(r)}return n}const Gt=()=>{},Ae=Array.isArray,ki=/#/g,Hc=/&/g,jc=/\//g,Uc=/=/g,kc=/\?/g,Vi=/\+/g,Vc=/%5B/g,Kc=/%5D/g,Ki=/%5E/g,Bc=/%60/g,Bi=/%7B/g,Wc=/%7C/g,Wi=/%7D/g,qc=/%20/g;function Ms(e){return encodeURI(""+e).replace(Wc,"|").replace(Vc,"[").replace(Kc,"]")}function Gc(e){return Ms(e).replace(Bi,"{").replace(Wi,"}").replace(Ki,"^")}function ds(e){return Ms(e).replace(Vi,"%2B").replace(qc,"+").replace(ki,"%23").replace(Hc,"%26").replace(Bc,"`").replace(Bi,"{").replace(Wi,"}").replace(Ki,"^")}function zc(e){return ds(e).replace(Uc,"%3D")}function Yc(e){return Ms(e).replace(ki,"%23").replace(kc,"%3F")}function Qc(e){return e==null?"":Yc(e).replace(jc,"%2F")}function nn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Jc=/\/$/,Xc=e=>e.replace(Jc,"");function Jn(e,t,n="/"){let s,r={},i="",o="";const l=t.indexOf("#");let c=t.indexOf("?");return l<c&&l>=0&&(c=-1),c>-1&&(s=t.slice(0,c),i=t.slice(c+1,l>-1?l:t.length),r=e(i)),l>-1&&(s=s||t.slice(0,l),o=t.slice(l,t.length)),s=nu(s??t,n),{fullPath:s+(i&&"?")+i+o,path:s,query:r,hash:nn(o)}}function Zc(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function pr(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function eu(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&It(t.matched[s],n.matched[r])&&qi(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function It(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function qi(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!tu(e[n],t[n]))return!1;return!0}function tu(e,t){return Ae(e)?gr(e,t):Ae(t)?gr(t,e):e===t}function gr(e,t){return Ae(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function nu(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let i=n.length-1,o,l;for(o=0;o<s.length;o++)if(l=s[o],l!==".")if(l==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+s.slice(o).join("/")}const tt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var sn;(function(e){e.pop="pop",e.push="push"})(sn||(sn={}));var zt;(function(e){e.back="back",e.forward="forward",e.unknown=""})(zt||(zt={}));function su(e){if(!e)if(wt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Xc(e)}const ru=/^[^#]+#/;function iu(e,t){return e.replace(ru,"#")+t}function ou(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const jn=()=>({left:window.scrollX,top:window.scrollY});function lu(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=ou(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function mr(e,t){return(history.state?history.state.position-t:-1)+e}const hs=new Map;function cu(e,t){hs.set(e,t)}function uu(e){const t=hs.get(e);return hs.delete(e),t}let fu=()=>location.protocol+"//"+location.host;function Gi(e,t){const{pathname:n,search:s,hash:r}=t,i=e.indexOf("#");if(i>-1){let l=r.includes(e.slice(i))?e.slice(i).length:1,c=r.slice(l);return c[0]!=="/"&&(c="/"+c),pr(c,"")}return pr(n,e)+s+r}function au(e,t,n,s){let r=[],i=[],o=null;const l=({state:g})=>{const m=Gi(e,location),O=n.value,A=t.value;let U=0;if(g){if(n.value=m,t.value=g,o&&o===O){o=null;return}U=A?g.position-A.position:0}else s(m);r.forEach($=>{$(n.value,O,{delta:U,type:sn.pop,direction:U?U>0?zt.forward:zt.back:zt.unknown})})};function c(){o=n.value}function d(g){r.push(g);const m=()=>{const O=r.indexOf(g);O>-1&&r.splice(O,1)};return i.push(m),m}function a(){const{history:g}=window;g.state&&g.replaceState(B({},g.state,{scroll:jn()}),"")}function h(){for(const g of i)g();i=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",a)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",a,{passive:!0}),{pauseListeners:c,listen:d,destroy:h}}function _r(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?jn():null}}function du(e){const{history:t,location:n}=window,s={value:Gi(e,n)},r={value:t.state};r.value||i(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(c,d,a){const h=e.indexOf("#"),g=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+c:fu()+e+c;try{t[a?"replaceState":"pushState"](d,"",g),r.value=d}catch(m){console.error(m),n[a?"replace":"assign"](g)}}function o(c,d){const a=B({},t.state,_r(r.value.back,c,r.value.forward,!0),d,{position:r.value.position});i(c,a,!0),s.value=c}function l(c,d){const a=B({},r.value,t.state,{forward:c,scroll:jn()});i(a.current,a,!0);const h=B({},_r(s.value,c,null),{position:a.position+1},d);i(c,h,!1),s.value=c}return{location:s,state:r,push:l,replace:o}}function hu(e){e=su(e);const t=du(e),n=au(e,t.state,t.location,t.replace);function s(i,o=!0){o||n.pauseListeners(),history.go(i)}const r=B({location:"",base:e,go:s,createHref:iu.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function pu(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),hu(e)}function gu(e){return typeof e=="string"||e&&typeof e=="object"}function zi(e){return typeof e=="string"||typeof e=="symbol"}const Yi=Symbol("");var yr;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(yr||(yr={}));function Ft(e,t){return B(new Error,{type:e,[Yi]:!0},t)}function We(e,t){return e instanceof Error&&Yi in e&&(t==null||!!(e.type&t))}const vr="[^/]+?",mu={sensitive:!1,strict:!1,start:!0,end:!0},_u=/[.+*?^${}()[\]/\\]/g;function yu(e,t){const n=B({},mu,t),s=[];let r=n.start?"^":"";const i=[];for(const d of e){const a=d.length?[]:[90];n.strict&&!d.length&&(r+="/");for(let h=0;h<d.length;h++){const g=d[h];let m=40+(n.sensitive?.25:0);if(g.type===0)h||(r+="/"),r+=g.value.replace(_u,"\\$&"),m+=40;else if(g.type===1){const{value:O,repeatable:A,optional:U,regexp:$}=g;i.push({name:O,repeatable:A,optional:U});const I=$||vr;if(I!==vr){m+=10;try{new RegExp(`(${I})`)}catch(T){throw new Error(`Invalid custom RegExp for param "${O}" (${I}): `+T.message)}}let N=A?`((?:${I})(?:/(?:${I}))*)`:`(${I})`;h||(N=U&&d.length<2?`(?:/${N})`:"/"+N),U&&(N+="?"),r+=N,m+=20,U&&(m+=-8),A&&(m+=-20),I===".*"&&(m+=-50)}a.push(m)}s.push(a)}if(n.strict&&n.end){const d=s.length-1;s[d][s[d].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const o=new RegExp(r,n.sensitive?"":"i");function l(d){const a=d.match(o),h={};if(!a)return null;for(let g=1;g<a.length;g++){const m=a[g]||"",O=i[g-1];h[O.name]=m&&O.repeatable?m.split("/"):m}return h}function c(d){let a="",h=!1;for(const g of e){(!h||!a.endsWith("/"))&&(a+="/"),h=!1;for(const m of g)if(m.type===0)a+=m.value;else if(m.type===1){const{value:O,repeatable:A,optional:U}=m,$=O in d?d[O]:"";if(Ae($)&&!A)throw new Error(`Provided param "${O}" is an array but it is not repeatable (* or + modifiers)`);const I=Ae($)?$.join("/"):$;if(!I)if(U)g.length<2&&(a.endsWith("/")?a=a.slice(0,-1):h=!0);else throw new Error(`Missing required param "${O}"`);a+=I}}return a||"/"}return{re:o,score:s,keys:i,parse:l,stringify:c}}function vu(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function Qi(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const i=vu(s[n],r[n]);if(i)return i;n++}if(Math.abs(r.length-s.length)===1){if(br(s))return 1;if(br(r))return-1}return r.length-s.length}function br(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const bu={type:0,value:""},xu=/[a-zA-Z0-9_]/;function wu(e){if(!e)return[[]];if(e==="/")return[[bu]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${d}": ${m}`)}let n=0,s=n;const r=[];let i;function o(){i&&r.push(i),i=[]}let l=0,c,d="",a="";function h(){d&&(n===0?i.push({type:0,value:d}):n===1||n===2||n===3?(i.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${d}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:d,regexp:a,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),d="")}function g(){d+=c}for(;l<e.length;){if(c=e[l++],c==="\\"&&n!==2){s=n,n=4;continue}switch(n){case 0:c==="/"?(d&&h(),o()):c===":"?(h(),n=1):g();break;case 4:g(),n=s;break;case 1:c==="("?n=2:xu.test(c)?g():(h(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&l--);break;case 2:c===")"?a[a.length-1]=="\\"?a=a.slice(0,-1)+c:n=3:a+=c;break;case 3:h(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&l--,a="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${d}"`),h(),o(),r}function Su(e,t,n){const s=yu(wu(e.path),n),r=B(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function Eu(e,t){const n=[],s=new Map;t=Er({strict:!1,end:!0,sensitive:!1},t);function r(h){return s.get(h)}function i(h,g,m){const O=!m,A=wr(h);A.aliasOf=m&&m.record;const U=Er(t,h),$=[A];if("alias"in h){const T=typeof h.alias=="string"?[h.alias]:h.alias;for(const Y of T)$.push(wr(B({},A,{components:m?m.record.components:A.components,path:Y,aliasOf:m?m.record:A})))}let I,N;for(const T of $){const{path:Y}=T;if(g&&Y[0]!=="/"){const oe=g.record.path,te=oe[oe.length-1]==="/"?"":"/";T.path=g.record.path+(Y&&te+Y)}if(I=Su(T,g,U),m?m.alias.push(I):(N=N||I,N!==I&&N.alias.push(I),O&&h.name&&!Sr(I)&&o(h.name)),Ji(I)&&c(I),A.children){const oe=A.children;for(let te=0;te<oe.length;te++)i(oe[te],I,m&&m.children[te])}m=m||I}return N?()=>{o(N)}:Gt}function o(h){if(zi(h)){const g=s.get(h);g&&(s.delete(h),n.splice(n.indexOf(g),1),g.children.forEach(o),g.alias.forEach(o))}else{const g=n.indexOf(h);g>-1&&(n.splice(g,1),h.record.name&&s.delete(h.record.name),h.children.forEach(o),h.alias.forEach(o))}}function l(){return n}function c(h){const g=Pu(h,n);n.splice(g,0,h),h.record.name&&!Sr(h)&&s.set(h.record.name,h)}function d(h,g){let m,O={},A,U;if("name"in h&&h.name){if(m=s.get(h.name),!m)throw Ft(1,{location:h});U=m.record.name,O=B(xr(g.params,m.keys.filter(N=>!N.optional).concat(m.parent?m.parent.keys.filter(N=>N.optional):[]).map(N=>N.name)),h.params&&xr(h.params,m.keys.map(N=>N.name))),A=m.stringify(O)}else if(h.path!=null)A=h.path,m=n.find(N=>N.re.test(A)),m&&(O=m.parse(A),U=m.record.name);else{if(m=g.name?s.get(g.name):n.find(N=>N.re.test(g.path)),!m)throw Ft(1,{location:h,currentLocation:g});U=m.record.name,O=B({},g.params,h.params),A=m.stringify(O)}const $=[];let I=m;for(;I;)$.unshift(I.record),I=I.parent;return{name:U,path:A,params:O,matched:$,meta:Cu($)}}e.forEach(h=>i(h));function a(){n.length=0,s.clear()}return{addRoute:i,resolve:d,removeRoute:o,clearRoutes:a,getRoutes:l,getRecordMatcher:r}}function xr(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function wr(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Ru(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function Ru(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function Sr(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Cu(e){return e.reduce((t,n)=>B(t,n.meta),{})}function Er(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function Pu(e,t){let n=0,s=t.length;for(;n!==s;){const i=n+s>>1;Qi(e,t[i])<0?s=i:n=i+1}const r=Ou(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function Ou(e){let t=e;for(;t=t.parent;)if(Ji(t)&&Qi(e,t)===0)return t}function Ji({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Au(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<s.length;++r){const i=s[r].replace(Vi," "),o=i.indexOf("="),l=nn(o<0?i:i.slice(0,o)),c=o<0?null:nn(i.slice(o+1));if(l in t){let d=t[l];Ae(d)||(d=t[l]=[d]),d.push(c)}else t[l]=c}return t}function Rr(e){let t="";for(let n in e){const s=e[n];if(n=zc(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(Ae(s)?s.map(i=>i&&ds(i)):[s&&ds(s)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function Tu(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Ae(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const Mu=Symbol(""),Cr=Symbol(""),Is=Symbol(""),Xi=Symbol(""),ps=Symbol("");function jt(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function rt(e,t,n,s,r,i=o=>o()){const o=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,c)=>{const d=g=>{g===!1?c(Ft(4,{from:n,to:t})):g instanceof Error?c(g):gu(g)?c(Ft(2,{from:t,to:g})):(o&&s.enterCallbacks[r]===o&&typeof g=="function"&&o.push(g),l())},a=i(()=>e.call(s&&s.instances[r],t,n,d));let h=Promise.resolve(a);e.length<3&&(h=h.then(d)),h.catch(g=>c(g))})}function Xn(e,t,n,s,r=i=>i()){const i=[];for(const o of e)for(const l in o.components){let c=o.components[l];if(!(t!=="beforeRouteEnter"&&!o.instances[l]))if(Ui(c)){const a=(c.__vccOpts||c)[t];a&&i.push(rt(a,n,s,o,l,r))}else{let d=c();i.push(()=>d.then(a=>{if(!a)throw new Error(`Couldn't resolve component "${l}" at "${o.path}"`);const h=Dc(a)?a.default:a;o.mods[l]=a,o.components[l]=h;const m=(h.__vccOpts||h)[t];return m&&rt(m,n,s,o,l,r)()}))}}return i}function Pr(e){const t=Qe(Is),n=Qe(Xi),s=Pe(()=>{const c=Ct(e.to);return t.resolve(c)}),r=Pe(()=>{const{matched:c}=s.value,{length:d}=c,a=c[d-1],h=n.matched;if(!a||!h.length)return-1;const g=h.findIndex(It.bind(null,a));if(g>-1)return g;const m=Or(c[d-2]);return d>1&&Or(a)===m&&h[h.length-1].path!==m?h.findIndex(It.bind(null,c[d-2])):g}),i=Pe(()=>r.value>-1&&Lu(n.params,s.value.params)),o=Pe(()=>r.value>-1&&r.value===n.matched.length-1&&qi(n.params,s.value.params));function l(c={}){if(Nu(c)){const d=t[Ct(e.replace)?"replace":"push"](Ct(e.to)).catch(Gt);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>d),d}return Promise.resolve()}return{route:s,href:Pe(()=>s.value.href),isActive:i,isExactActive:o,navigate:l}}function Iu(e){return e.length===1?e[0]:e}const Fu=ui({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Pr,setup(e,{slots:t}){const n=Fn(Pr(e)),{options:s}=Qe(Is),r=Pe(()=>({[Ar(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Ar(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&Iu(t.default(n));return e.custom?i:Li("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),$u=Fu;function Nu(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Lu(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!Ae(r)||r.length!==s.length||s.some((i,o)=>i!==r[o]))return!1}return!0}function Or(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ar=(e,t,n)=>e??t??n,Du=ui({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Qe(ps),r=Pe(()=>e.route||s.value),i=Qe(Cr,0),o=Pe(()=>{let d=Ct(i);const{matched:a}=r.value;let h;for(;(h=a[d])&&!h.components;)d++;return d}),l=Pe(()=>r.value.matched[o.value]);pn(Cr,Pe(()=>o.value+1)),pn(Mu,l),pn(ps,r);const c=Fo();return gn(()=>[c.value,l.value,e.name],([d,a,h],[g,m,O])=>{a&&(a.instances[h]=d,m&&m!==a&&d&&d===g&&(a.leaveGuards.size||(a.leaveGuards=m.leaveGuards),a.updateGuards.size||(a.updateGuards=m.updateGuards))),d&&a&&(!m||!It(a,m)||!g)&&(a.enterCallbacks[h]||[]).forEach(A=>A(d))},{flush:"post"}),()=>{const d=r.value,a=e.name,h=l.value,g=h&&h.components[a];if(!g)return Tr(n.default,{Component:g,route:d});const m=h.props[a],O=m?m===!0?d.params:typeof m=="function"?m(d):m:null,U=Li(g,B({},O,t,{onVnodeUnmounted:$=>{$.component.isUnmounted&&(h.instances[a]=null)},ref:c}));return Tr(n.default,{Component:U,route:d})||U}}});function Tr(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Hu=Du;function ju(e){const t=Eu(e.routes,e),n=e.parseQuery||Au,s=e.stringifyQuery||Rr,r=e.history,i=jt(),o=jt(),l=jt(),c=$o(tt);let d=tt;wt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const a=Qn.bind(null,y=>""+y),h=Qn.bind(null,Qc),g=Qn.bind(null,nn);function m(y,P){let R,M;return zi(y)?(R=t.getRecordMatcher(y),M=P):M=y,t.addRoute(M,R)}function O(y){const P=t.getRecordMatcher(y);P&&t.removeRoute(P)}function A(){return t.getRoutes().map(y=>y.record)}function U(y){return!!t.getRecordMatcher(y)}function $(y,P){if(P=B({},P||c.value),typeof y=="string"){const p=Jn(n,y,P.path),_=t.resolve({path:p.path},P),b=r.createHref(p.fullPath);return B(p,_,{params:g(_.params),hash:nn(p.hash),redirectedFrom:void 0,href:b})}let R;if(y.path!=null)R=B({},y,{path:Jn(n,y.path,P.path).path});else{const p=B({},y.params);for(const _ in p)p[_]==null&&delete p[_];R=B({},y,{params:h(p)}),P.params=h(P.params)}const M=t.resolve(R,P),Q=y.hash||"";M.params=a(g(M.params));const u=Zc(s,B({},y,{hash:Gc(Q),path:M.path})),f=r.createHref(u);return B({fullPath:u,hash:Q,query:s===Rr?Tu(y.query):y.query||{}},M,{redirectedFrom:void 0,href:f})}function I(y){return typeof y=="string"?Jn(n,y,c.value.path):B({},y)}function N(y,P){if(d!==y)return Ft(8,{from:P,to:y})}function T(y){return te(y)}function Y(y){return T(B(I(y),{replace:!0}))}function oe(y){const P=y.matched[y.matched.length-1];if(P&&P.redirect){const{redirect:R}=P;let M=typeof R=="function"?R(y):R;return typeof M=="string"&&(M=M.includes("?")||M.includes("#")?M=I(M):{path:M},M.params={}),B({query:y.query,hash:y.hash,params:M.path!=null?{}:y.params},M)}}function te(y,P){const R=d=$(y),M=c.value,Q=y.state,u=y.force,f=y.replace===!0,p=oe(R);if(p)return te(B(I(p),{state:typeof p=="object"?B({},Q,p.state):Q,force:u,replace:f}),P||R);const _=R;_.redirectedFrom=P;let b;return!u&&eu(s,M,R)&&(b=Ft(16,{to:_,from:M}),Fe(M,M,!0,!1)),(b?Promise.resolve(b):Me(_,M)).catch(v=>We(v)?We(v,2)?v:et(v):K(v,_,M)).then(v=>{if(v){if(We(v,2))return te(B({replace:f},I(v.to),{state:typeof v.to=="object"?B({},Q,v.to.state):Q,force:u}),P||_)}else v=ut(_,M,!0,f,Q);return Ze(_,M,v),v})}function Te(y,P){const R=N(y,P);return R?Promise.reject(R):Promise.resolve()}function Xe(y){const P=vt.values().next().value;return P&&typeof P.runWithContext=="function"?P.runWithContext(y):y()}function Me(y,P){let R;const[M,Q,u]=Uu(y,P);R=Xn(M.reverse(),"beforeRouteLeave",y,P);for(const p of M)p.leaveGuards.forEach(_=>{R.push(rt(_,y,P))});const f=Te.bind(null,y,P);return R.push(f),Ee(R).then(()=>{R=[];for(const p of i.list())R.push(rt(p,y,P));return R.push(f),Ee(R)}).then(()=>{R=Xn(Q,"beforeRouteUpdate",y,P);for(const p of Q)p.updateGuards.forEach(_=>{R.push(rt(_,y,P))});return R.push(f),Ee(R)}).then(()=>{R=[];for(const p of u)if(p.beforeEnter)if(Ae(p.beforeEnter))for(const _ of p.beforeEnter)R.push(rt(_,y,P));else R.push(rt(p.beforeEnter,y,P));return R.push(f),Ee(R)}).then(()=>(y.matched.forEach(p=>p.enterCallbacks={}),R=Xn(u,"beforeRouteEnter",y,P,Xe),R.push(f),Ee(R))).then(()=>{R=[];for(const p of o.list())R.push(rt(p,y,P));return R.push(f),Ee(R)}).catch(p=>We(p,8)?p:Promise.reject(p))}function Ze(y,P,R){l.list().forEach(M=>Xe(()=>M(y,P,R)))}function ut(y,P,R,M,Q){const u=N(y,P);if(u)return u;const f=P===tt,p=wt?history.state:{};R&&(M||f?r.replace(y.fullPath,B({scroll:f&&p&&p.scroll},Q)):r.push(y.fullPath,Q)),c.value=y,Fe(y,P,R,f),et()}let Ie;function Nt(){Ie||(Ie=r.listen((y,P,R)=>{if(!cn.listening)return;const M=$(y),Q=oe(M);if(Q){te(B(Q,{replace:!0,force:!0}),M).catch(Gt);return}d=M;const u=c.value;wt&&cu(mr(u.fullPath,R.delta),jn()),Me(M,u).catch(f=>We(f,12)?f:We(f,2)?(te(B(I(f.to),{force:!0}),M).then(p=>{We(p,20)&&!R.delta&&R.type===sn.pop&&r.go(-1,!1)}).catch(Gt),Promise.reject()):(R.delta&&r.go(-R.delta,!1),K(f,M,u))).then(f=>{f=f||ut(M,u,!1),f&&(R.delta&&!We(f,8)?r.go(-R.delta,!1):R.type===sn.pop&&We(f,20)&&r.go(-1,!1)),Ze(M,u,f)}).catch(Gt)}))}let _t=jt(),re=jt(),z;function K(y,P,R){et(y);const M=re.list();return M.length?M.forEach(Q=>Q(y,P,R)):console.error(y),Promise.reject(y)}function Ke(){return z&&c.value!==tt?Promise.resolve():new Promise((y,P)=>{_t.add([y,P])})}function et(y){return z||(z=!y,Nt(),_t.list().forEach(([P,R])=>y?R(y):P()),_t.reset()),y}function Fe(y,P,R,M){const{scrollBehavior:Q}=e;if(!wt||!Q)return Promise.resolve();const u=!R&&uu(mr(y.fullPath,0))||(M||!R)&&history.state&&history.state.scroll||null;return ri().then(()=>Q(y,P,u)).then(f=>f&&lu(f)).catch(f=>K(f,y,P))}const ge=y=>r.go(y);let yt;const vt=new Set,cn={currentRoute:c,listening:!0,addRoute:m,removeRoute:O,clearRoutes:t.clearRoutes,hasRoute:U,getRoutes:A,resolve:$,options:e,push:T,replace:Y,go:ge,back:()=>ge(-1),forward:()=>ge(1),beforeEach:i.add,beforeResolve:o.add,afterEach:l.add,onError:re.add,isReady:Ke,install(y){const P=this;y.component("RouterLink",$u),y.component("RouterView",Hu),y.config.globalProperties.$router=P,Object.defineProperty(y.config.globalProperties,"$route",{enumerable:!0,get:()=>Ct(c)}),wt&&!yt&&c.value===tt&&(yt=!0,T(r.location).catch(Q=>{}));const R={};for(const Q in tt)Object.defineProperty(R,Q,{get:()=>c.value[Q],enumerable:!0});y.provide(Is,P),y.provide(Xi,Zr(R)),y.provide(ps,c);const M=y.unmount;vt.add(y),y.unmount=function(){vt.delete(y),vt.size<1&&(d=tt,Ie&&Ie(),Ie=null,c.value=tt,yt=!1,z=!1),M()}}};function Ee(y){return y.reduce((P,R)=>P.then(()=>Xe(R)),Promise.resolve())}return cn}function Uu(e,t){const n=[],s=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;o<i;o++){const l=t.matched[o];l&&(e.matched.find(d=>It(d,l))?s.push(l):n.push(l));const c=e.matched[o];c&&(t.matched.find(d=>It(d,c))||r.push(c))}return[n,s,r]}const ku={},Vu={class:"home"};function Ku(e,t,n,s,r,i){return se(),ie("div",Vu,t[0]||(t[0]=[k("h2",null,"欢迎使用Prototype Design, 请您根据您的需要设计您的Prototype",-1)]))}const Bu=$t(ku,[["render",Ku]]),Wu={data(){return{newMessage:"",messages:[{fromUser:!1,text:"Welcome to the chat!"}],uploadedFiles:[]}},methods:{sendMessage(){this.newMessage.trim()&&(this.messages.push({fromUser:!0,text:this.newMessage}),this.newMessage="")},handleFileUpload(e){const t=e.target.files[0];for(let n=0;n<=100;n++)setTimeout(()=>{this.uploadedFiles.push({name:t.name,progress:n})},500*(n/100))},downloadFile(e){alert(`Downloading ${e.name}`)}}},qu={class:"chat-container"},Gu={class:"messages"},zu={class:"input-container"},Yu={class:"file-manager"},Qu=["onClick"];function Ju(e,t,n,s,r,i){return se(),ie("div",qu,[k("div",Gu,[(se(!0),ie(_e,null,Xt(r.messages,(o,l)=>(se(),ie("div",{key:l,class:Tt({"user-message":o.fromUser,"system-message":!o.fromUser})},[k("strong",null,Ye(o.fromUser?"You":"System")+":",1),en(" "+Ye(o.text),1)],2))),128))]),k("div",zu,[hn(k("input",{"onUpdate:modelValue":t[0]||(t[0]=o=>r.newMessage=o),onKeyup:t[1]||(t[1]=Sc((...o)=>i.sendMessage&&i.sendMessage(...o),["enter"])),placeholder:"Type a message..."},null,544),[[as,r.newMessage]]),k("button",{onClick:t[2]||(t[2]=(...o)=>i.sendMessage&&i.sendMessage(...o))},"Send")]),k("div",Yu,[k("input",{type:"file",onChange:t[3]||(t[3]=(...o)=>i.handleFileUpload&&i.handleFileUpload(...o))},null,32),k("ul",null,[(se(!0),ie(_e,null,Xt(r.uploadedFiles,(o,l)=>(se(),ie("li",{key:l},[en(Ye(o.name)+" - "+Ye(o.progress)+"% ",1),k("button",{onClick:c=>i.downloadFile(o)},"Download",8,Qu)]))),128))])])])}const Xu=$t(Wu,[["render",Ju],["__scopeId","data-v-bb073ffe"]]),Zu={data(){return{username:"admin",password:"admin123",rememberMe:!1,invalidUsername:!1,invalidPassword:!1}},methods:{handleLogin(){this.invalidUsername=this.username.length<4||this.username.length>16||!/^[a-zA-Z0-9]+$/.test(this.username),this.invalidPassword=this.password.length<6||this.password.length>20,!this.invalidUsername&&!this.invalidPassword&&(this.username==="admin"&&this.password==="admin123"?this.$router.push("/"):alert("Username or password is incorrect."))}}},ef={class:"login-container"},tf={key:0,class:"error-message"},nf={key:1,class:"error-message"};function sf(e,t,n,s,r,i){return se(),ie("div",ef,[t[8]||(t[8]=k("h2",null,"Login",-1)),k("form",{onSubmit:t[3]||(t[3]=xc((...o)=>i.handleLogin&&i.handleLogin(...o),["prevent"]))},[t[5]||(t[5]=k("label",null,"Username:",-1)),hn(k("input",{"onUpdate:modelValue":t[0]||(t[0]=o=>r.username=o),placeholder:"admin",class:Tt({invalid:r.invalidUsername})},null,2),[[as,r.username,void 0,{trim:!0}]]),r.invalidUsername?(se(),ie("span",tf,"Username must be between 4-16 characters and cannot contain special characters.")):Js("",!0),t[6]||(t[6]=k("label",null,"Password:",-1)),hn(k("input",{type:"password","onUpdate:modelValue":t[1]||(t[1]=o=>r.password=o),placeholder:"admin123",class:Tt({invalid:r.invalidPassword})},null,2),[[as,r.password,void 0,{trim:!0}]]),r.invalidPassword?(se(),ie("span",nf,"Password must be between 6-20 characters.")):Js("",!0),k("label",null,[hn(k("input",{type:"checkbox","onUpdate:modelValue":t[2]||(t[2]=o=>r.rememberMe=o)},null,512),[[_c,r.rememberMe]]),t[4]||(t[4]=en(" Remember me"))]),t[7]||(t[7]=k("button",{type:"submit"},"Login",-1))],32)])}const rf=$t(Zu,[["render",sf],["__scopeId","data-v-e1c28181"]]),of={data(){return{messages:[{id:1,text:"您好!请上传您的文档并说明您的需求。"}],documents:[]}},methods:{onFileChange(e){const t=e.target.files[0];t&&this.documents.push({id:this.documents.length+1,name:t.name,url:URL.createObjectURL(t)})},submitRequirement(){},removeDocument(e){this.documents=this.documents.filter(t=>t.id!==e)}}},lf={class:"main-content"},cf={class:"chat-interface"},uf={class:"document-list"},ff=["href"],af=["onClick"];function df(e,t,n,s,r,i){return se(),ie("div",lf,[k("div",cf,[t[2]||(t[2]=k("h2",null,"聊天界面",-1)),t[3]||(t[3]=k("p",null,"系统将根据上传的文档和您的输入生成个性化回复。",-1)),k("input",{type:"file",onChange:t[0]||(t[0]=(...o)=>i.onFileChange&&i.onFileChange(...o))},null,32),k("button",{onClick:t[1]||(t[1]=(...o)=>i.submitRequirement&&i.submitRequirement(...o))},"提交需求"),k("ul",null,[(se(!0),ie(_e,null,Xt(r.messages,o=>(se(),ie("li",{key:o.id},Ye(o.text),1))),128))])]),k("div",uf,[t[5]||(t[5]=k("h2",null,"上传的文档",-1)),k("ul",null,[(se(!0),ie(_e,null,Xt(r.documents,o=>(se(),ie("li",{key:o.id},[k("a",{href:o.url,target:"_blank"},[t[4]||(t[4]=k("i",{class:"fas fa-file"},null,-1)),en(" "+Ye(o.name),1)],8,ff),k("button",{onClick:l=>i.removeDocument(o.id)},"删除",8,af)]))),128))])])])}const hf=$t(of,[["render",df],["__scopeId","data-v-daa0f5a2"]]),pf=[{path:"/",name:"home",component:Bu},{path:"/login",name:"login",component:rf},{path:"/chat",name:"chat",component:Xu},{path:"/sidebar",name:"sidebar",component:ji},{path:"/main",name:"main",component:hf}],gf=ju({history:pu(location.pathname),routes:pf});Cc(Lc).use(gf).mount("#app");
|