mirror of
https://github.com/duke-git/lancet.git
synced 2026-02-23 13:52:26 +08:00
3 lines
77 KiB
JavaScript
3 lines
77 KiB
JavaScript
function es(e,t){const n=Object.create(null),s=e.split(",");for(let r=0;r<s.length;r++)n[s[r]]=!0;return t?r=>!!n[r.toLowerCase()]:r=>!!n[r]}const te={},at=[],Pe=()=>{},$i=()=>!1,Bi=/^on[^a-z]/,Ut=e=>Bi.test(e),ts=e=>e.startsWith("onUpdate:"),oe=Object.assign,ns=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Ui=Object.prototype.hasOwnProperty,Y=(e,t)=>Ui.call(e,t),N=Array.isArray,ut=e=>gn(e)==="[object Map]",xr=e=>gn(e)==="[object Set]",D=e=>typeof e=="function",se=e=>typeof e=="string",ss=e=>typeof e=="symbol",ee=e=>e!==null&&typeof e=="object",Tr=e=>ee(e)&&D(e.then)&&D(e.catch),Ar=Object.prototype.toString,gn=e=>Ar.call(e),ji=e=>gn(e).slice(8,-1),Rr=e=>gn(e)==="[object Object]",rs=e=>se(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Rt=es(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),mn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Di=/-(\w)/g,Le=mn(e=>e.replace(Di,(t,n)=>n?n.toUpperCase():"")),ki=/\B([A-Z])/g,it=mn(e=>e.replace(ki,"-$1").toLowerCase()),_n=mn(e=>e.charAt(0).toUpperCase()+e.slice(1)),en=mn(e=>e?`on${_n(e)}`:""),St=(e,t)=>!Object.is(e,t),tn=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},on=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Un=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ki=e=>{const t=se(e)?Number(e):NaN;return isNaN(t)?e:t};let Is;const jn=()=>Is||(Is=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function is(e){if(N(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=se(s)?zi(s):is(s);if(r)for(const i in r)t[i]=r[i]}return t}else{if(se(e))return e;if(ee(e))return e}}const Wi=/;(?![^(]*\))/g,Vi=/:([^]+)/,qi=/\/\*[^]*?\*\//g;function zi(e){const t={};return e.replace(qi,"").split(Wi).forEach(n=>{if(n){const s=n.split(Vi);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function os(e){let t="";if(se(e))t=e;else if(N(e))for(let n=0;n<e.length;n++){const s=os(e[n]);s&&(t+=s+" ")}else if(ee(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Yi="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Ji=es(Yi);function Pr(e){return!!e||e===""}const Vc=e=>se(e)?e:e==null?"":N(e)||ee(e)&&(e.toString===Ar||!D(e.toString))?JSON.stringify(e,Ir,2):String(e),Ir=(e,t)=>t&&t.__v_isRef?Ir(e,t.value):ut(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r])=>(n[`${s} =>`]=r,n),{})}:xr(t)?{[`Set(${t.size})`]:[...t.values()]}:ee(t)&&!N(t)&&!Rr(t)?String(t):t;let _e;class Xi{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=_e,!t&&_e&&(this.index=(_e.scopes||(_e.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=_e;try{return _e=this,t()}finally{_e=n}}}on(){_e=this}off(){_e=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.scopes)for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this._active=!1}}}function Zi(e,t=_e){t&&t.active&&t.effects.push(e)}function Qi(){return _e}function qc(e){_e&&_e.cleanups.push(e)}const ls=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Fr=e=>(e.w&Ve)>0,Or=e=>(e.n&Ve)>0,Gi=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Ve},eo=e=>{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s<t.length;s++){const r=t[s];Fr(r)&&!Or(r)?r.delete(e):t[n++]=r,r.w&=~Ve,r.n&=~Ve}t.length=n}},ln=new WeakMap;let Tt=0,Ve=1;const Dn=30;let Ae;const st=Symbol(""),kn=Symbol("");class cs{constructor(t,n=null,s){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Zi(this,s)}run(){if(!this.active)return this.fn();let t=Ae,n=Ke;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Ae,Ae=this,Ke=!0,Ve=1<<++Tt,Tt<=Dn?Gi(this):Fs(this),this.fn()}finally{Tt<=Dn&&eo(this),Ve=1<<--Tt,Ae=this.parent,Ke=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Ae===this?this.deferStop=!0:this.active&&(Fs(this),this.onStop&&this.onStop(),this.active=!1)}}function Fs(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let Ke=!0;const Mr=[];function wt(){Mr.push(Ke),Ke=!1}function Ct(){const e=Mr.pop();Ke=e===void 0?!0:e}function pe(e,t,n){if(Ke&&Ae){let s=ln.get(e);s||ln.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=ls()),Lr(r)}}function Lr(e,t){let n=!1;Tt<=Dn?Or(e)||(e.n|=Ve,n=!Fr(e)):n=!e.has(Ae),n&&(e.add(Ae),Ae.deps.push(e))}function He(e,t,n,s,r,i){const o=ln.get(e);if(!o)return;let l=[];if(t==="clear")l=[...o.values()];else if(n==="length"&&N(e)){const c=Number(s);o.forEach((a,d)=>{(d==="length"||d>=c)&&l.push(a)})}else switch(n!==void 0&&l.push(o.get(n)),t){case"add":N(e)?rs(n)&&l.push(o.get("length")):(l.push(o.get(st)),ut(e)&&l.push(o.get(kn)));break;case"delete":N(e)||(l.push(o.get(st)),ut(e)&&l.push(o.get(kn)));break;case"set":ut(e)&&l.push(o.get(st));break}if(l.length===1)l[0]&&Kn(l[0]);else{const c=[];for(const a of l)a&&c.push(...a);Kn(ls(c))}}function Kn(e,t){const n=N(e)?e:[...e];for(const s of n)s.computed&&Os(s);for(const s of n)s.computed||Os(s)}function Os(e,t){(e!==Ae||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function to(e,t){var n;return(n=ln.get(e))==null?void 0:n.get(t)}const no=es("__proto__,__v_isRef,__isVue"),Sr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ss)),so=fs(),ro=fs(!1,!0),io=fs(!0),Ms=oo();function oo(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=J(this);for(let i=0,o=this.length;i<o;i++)pe(s,"get",i+"");const r=s[t](...n);return r===-1||r===!1?s[t](...n.map(J)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){wt();const s=J(this)[t].apply(this,n);return Ct(),s}}),e}function lo(e){const t=J(this);return pe(t,"has",e),t.hasOwnProperty(e)}function fs(e=!1,t=!1){return function(s,r,i){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_isShallow")return t;if(r==="__v_raw"&&i===(e?t?xo:Ur:t?Br:$r).get(s))return s;const o=N(s);if(!e){if(o&&Y(Ms,r))return Reflect.get(Ms,r,i);if(r==="hasOwnProperty")return lo}const l=Reflect.get(s,r,i);return(ss(r)?Sr.has(r):no(r))||(e||pe(s,"get",r),t)?l:ce(l)?o&&rs(r)?l:l.value:ee(l)?e?jr(l):yn(l):l}}const co=Nr(),fo=Nr(!0);function Nr(e=!1){return function(n,s,r,i){let o=n[s];if(_t(o)&&ce(o)&&!ce(r))return!1;if(!e&&(!cn(r)&&!_t(r)&&(o=J(o),r=J(r)),!N(n)&&ce(o)&&!ce(r)))return o.value=r,!0;const l=N(n)&&rs(s)?Number(s)<n.length:Y(n,s),c=Reflect.set(n,s,r,i);return n===J(i)&&(l?St(r,o)&&He(n,"set",s,r):He(n,"add",s,r)),c}}function ao(e,t){const n=Y(e,t);e[t];const s=Reflect.deleteProperty(e,t);return s&&n&&He(e,"delete",t,void 0),s}function uo(e,t){const n=Reflect.has(e,t);return(!ss(t)||!Sr.has(t))&&pe(e,"has",t),n}function ho(e){return pe(e,"iterate",N(e)?"length":st),Reflect.ownKeys(e)}const Hr={get:so,set:co,deleteProperty:ao,has:uo,ownKeys:ho},po={get:io,set(e,t){return!0},deleteProperty(e,t){return!0}},go=oe({},Hr,{get:ro,set:fo}),as=e=>e,bn=e=>Reflect.getPrototypeOf(e);function Wt(e,t,n=!1,s=!1){e=e.__v_raw;const r=J(e),i=J(t);n||(t!==i&&pe(r,"get",t),pe(r,"get",i));const{has:o}=bn(r),l=s?as:n?hs:Nt;if(o.call(r,t))return l(e.get(t));if(o.call(r,i))return l(e.get(i));e!==r&&e.get(t)}function Vt(e,t=!1){const n=this.__v_raw,s=J(n),r=J(e);return t||(e!==r&&pe(s,"has",e),pe(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function qt(e,t=!1){return e=e.__v_raw,!t&&pe(J(e),"iterate",st),Reflect.get(e,"size",e)}function Ls(e){e=J(e);const t=J(this);return bn(t).has.call(t,e)||(t.add(e),He(t,"add",e,e)),this}function Ss(e,t){t=J(t);const n=J(this),{has:s,get:r}=bn(n);let i=s.call(n,e);i||(e=J(e),i=s.call(n,e));const o=r.call(n,e);return n.set(e,t),i?St(t,o)&&He(n,"set",e,t):He(n,"add",e,t),this}function Ns(e){const t=J(this),{has:n,get:s}=bn(t);let r=n.call(t,e);r||(e=J(e),r=n.call(t,e)),s&&s.call(t,e);const i=t.delete(e);return r&&He(t,"delete",e,void 0),i}function Hs(){const e=J(this),t=e.size!==0,n=e.clear();return t&&He(e,"clear",void 0,void 0),n}function zt(e,t){return function(s,r){const i=this,o=i.__v_raw,l=J(o),c=t?as:e?hs:Nt;return!e&&pe(l,"iterate",st),o.forEach((a,d)=>s.call(r,c(a),c(d),i))}}function Yt(e,t,n){return function(...s){const r=this.__v_raw,i=J(r),o=ut(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,a=r[e](...s),d=n?as:t?hs:Nt;return!t&&pe(i,"iterate",c?kn:st),{next(){const{value:h,done:g}=a.next();return g?{value:h,done:g}:{value:l?[d(h[0]),d(h[1])]:d(h),done:g}},[Symbol.iterator](){return this}}}}function Be(e){return function(...t){return e==="delete"?!1:this}}function mo(){const e={get(i){return Wt(this,i)},get size(){return qt(this)},has:Vt,add:Ls,set:Ss,delete:Ns,clear:Hs,forEach:zt(!1,!1)},t={get(i){return Wt(this,i,!1,!0)},get size(){return qt(this)},has:Vt,add:Ls,set:Ss,delete:Ns,clear:Hs,forEach:zt(!1,!0)},n={get(i){return Wt(this,i,!0)},get size(){return qt(this,!0)},has(i){return Vt.call(this,i,!0)},add:Be("add"),set:Be("set"),delete:Be("delete"),clear:Be("clear"),forEach:zt(!0,!1)},s={get(i){return Wt(this,i,!0,!0)},get size(){return qt(this,!0)},has(i){return Vt.call(this,i,!0)},add:Be("add"),set:Be("set"),delete:Be("delete"),clear:Be("clear"),forEach:zt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Yt(i,!1,!1),n[i]=Yt(i,!0,!1),t[i]=Yt(i,!1,!0),s[i]=Yt(i,!0,!0)}),[e,n,t,s]}const[_o,bo,yo,vo]=mo();function us(e,t){const n=t?e?vo:yo:e?bo:_o;return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(Y(n,r)&&r in s?n:s,r,i)}const wo={get:us(!1,!1)},Co={get:us(!1,!0)},Eo={get:us(!0,!1)},$r=new WeakMap,Br=new WeakMap,Ur=new WeakMap,xo=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 Ao(e){return e.__v_skip||!Object.isExtensible(e)?0:To(ji(e))}function yn(e){return _t(e)?e:ds(e,!1,Hr,wo,$r)}function Ro(e){return ds(e,!1,go,Co,Br)}function jr(e){return ds(e,!0,po,Eo,Ur)}function ds(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=Ao(e);if(o===0)return e;const l=new Proxy(e,o===2?s:n);return r.set(e,l),l}function dt(e){return _t(e)?dt(e.__v_raw):!!(e&&e.__v_isReactive)}function _t(e){return!!(e&&e.__v_isReadonly)}function cn(e){return!!(e&&e.__v_isShallow)}function Dr(e){return dt(e)||_t(e)}function J(e){const t=e&&e.__v_raw;return t?J(t):e}function Pt(e){return on(e,"__v_skip",!0),e}const Nt=e=>ee(e)?yn(e):e,hs=e=>ee(e)?jr(e):e;function ps(e){Ke&&Ae&&(e=J(e),Lr(e.dep||(e.dep=ls())))}function gs(e,t){e=J(e);const n=e.dep;n&&Kn(n)}function ce(e){return!!(e&&e.__v_isRef===!0)}function ht(e){return kr(e,!1)}function Po(e){return kr(e,!0)}function kr(e,t){return ce(e)?e:new Io(e,t)}class Io{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:J(t),this._value=n?t:Nt(t)}get value(){return ps(this),this._value}set value(t){const n=this.__v_isShallow||cn(t)||_t(t);t=n?t:J(t),St(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Nt(t),gs(this))}}function Fo(e){return ce(e)?e.value:e}const Oo={get:(e,t,n)=>Fo(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return ce(r)&&!ce(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Kr(e){return dt(e)?e:new Proxy(e,Oo)}class Mo{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:s}=t(()=>ps(this),()=>gs(this));this._get=n,this._set=s}get value(){return this._get()}set value(t){this._set(t)}}function zc(e){return new Mo(e)}class Lo{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return to(J(this._object),this._key)}}class So{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Yc(e,t,n){return ce(e)?e:D(e)?new So(e):ee(e)&&arguments.length>1?No(e,t,n):ht(e)}function No(e,t,n){const s=e[t];return ce(s)?s:new Lo(e,t,n)}class Ho{constructor(t,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new cs(t,()=>{this._dirty||(this._dirty=!0,gs(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=J(this);return ps(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function $o(e,t,n=!1){let s,r;const i=D(e);return i?(s=e,r=Pe):(s=e.get,r=e.set),new Ho(s,r,i||!r,n)}function We(e,t,n,s){let r;try{r=s?e(...s):e()}catch(i){jt(i,t,n)}return r}function Ce(e,t,n,s){if(D(e)){const i=We(e,t,n,s);return i&&Tr(i)&&i.catch(o=>{jt(o,t,n)}),i}const r=[];for(let i=0;i<e.length;i++)r.push(Ce(e[i],t,n,s));return r}function jt(e,t,n,s=!0){const r=t?t.vnode:null;if(t){let i=t.parent;const o=t.proxy,l=n;for(;i;){const a=i.ec;if(a){for(let d=0;d<a.length;d++)if(a[d](e,o,l)===!1)return}i=i.parent}const c=t.appContext.config.errorHandler;if(c){We(c,null,10,[e,o,l]);return}}Bo(e,n,r,s)}function Bo(e,t,n,s=!0){console.error(e)}let Ht=!1,Wn=!1;const ae=[];let Me=0;const pt=[];let Ne=null,Qe=0;const Wr=Promise.resolve();let ms=null;function Vr(e){const t=ms||Wr;return e?t.then(this?e.bind(this):e):t}function Uo(e){let t=Me+1,n=ae.length;for(;t<n;){const s=t+n>>>1;$t(ae[s])<e?t=s+1:n=s}return t}function vn(e){(!ae.length||!ae.includes(e,Ht&&e.allowRecurse?Me+1:Me))&&(e.id==null?ae.push(e):ae.splice(Uo(e.id),0,e),qr())}function qr(){!Ht&&!Wn&&(Wn=!0,ms=Wr.then(zr))}function jo(e){const t=ae.indexOf(e);t>Me&&ae.splice(t,1)}function Do(e){N(e)?pt.push(...e):(!Ne||!Ne.includes(e,e.allowRecurse?Qe+1:Qe))&&pt.push(e),qr()}function $s(e,t=Ht?Me+1:0){for(;t<ae.length;t++){const n=ae[t];n&&n.pre&&(ae.splice(t,1),t--,n())}}function fn(e){if(pt.length){const t=[...new Set(pt)];if(pt.length=0,Ne){Ne.push(...t);return}for(Ne=t,Ne.sort((n,s)=>$t(n)-$t(s)),Qe=0;Qe<Ne.length;Qe++)Ne[Qe]();Ne=null,Qe=0}}const $t=e=>e.id==null?1/0:e.id,ko=(e,t)=>{const n=$t(e)-$t(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function zr(e){Wn=!1,Ht=!0,ae.sort(ko);const t=Pe;try{for(Me=0;Me<ae.length;Me++){const n=ae[Me];n&&n.active!==!1&&We(n,null,14)}}finally{Me=0,ae.length=0,fn(),Ht=!1,ms=null,(ae.length||pt.length)&&zr()}}function Ko(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||te;let r=n;const i=t.startsWith("update:"),o=i&&t.slice(7);if(o&&o in s){const d=`${o==="modelValue"?"model":o}Modifiers`,{number:h,trim:g}=s[d]||te;g&&(r=n.map(w=>se(w)?w.trim():w)),h&&(r=n.map(Un))}let l,c=s[l=en(t)]||s[l=en(Le(t))];!c&&i&&(c=s[l=en(it(t))]),c&&Ce(c,e,6,r);const a=s[l+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ce(a,e,6,r)}}function Yr(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(!D(e)){const c=a=>{const d=Yr(a,t,!0);d&&(l=!0,oe(o,d))};!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):(N(i)?i.forEach(c=>o[c]=null):oe(o,i),ee(e)&&s.set(e,o),o)}function wn(e,t){return!e||!Ut(t)?!1:(t=t.slice(2).replace(/Once$/,""),Y(e,t[0].toLowerCase()+t.slice(1))||Y(e,it(t))||Y(e,t))}let fe=null,Cn=null;function an(e){const t=fe;return fe=e,Cn=e&&e.type.__scopeId||null,t}function Jc(e){Cn=e}function Xc(){Cn=null}function Wo(e,t=fe,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Xs(-1);const i=an(t);let o;try{o=e(...r)}finally{an(i),s._d&&Xs(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function On(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:i,propsOptions:[o],slots:l,attrs:c,emit:a,render:d,renderCache:h,data:g,setupState:w,ctx:A,inheritAttrs:I}=e;let H,m;const y=an(e);try{if(n.shapeFlag&4){const P=r||s;H=Te(d.call(P,P,h,i,w,g,A)),m=c}else{const P=t;H=Te(P.length>1?P(i,{attrs:c,slots:l,emit:a}):P(i,null)),m=t.props?c:Vo(c)}}catch(P){Mt.length=0,jt(P,e,1),H=re(be)}let $=H;if(m&&I!==!1){const P=Object.keys(m),{shapeFlag:k}=$;P.length&&k&7&&(o&&P.some(ts)&&(m=qo(m,o)),$=qe($,m))}return n.dirs&&($=qe($),$.dirs=$.dirs?$.dirs.concat(n.dirs):n.dirs),n.transition&&($.transition=n.transition),H=$,an(y),H}const Vo=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ut(n))&&((t||(t={}))[n]=e[n]);return t},qo=(e,t)=>{const n={};for(const s in e)(!ts(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function zo(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,patchFlag:c}=t,a=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?Bs(s,o,a):!!o;if(c&8){const d=t.dynamicProps;for(let h=0;h<d.length;h++){const g=d[h];if(o[g]!==s[g]&&!wn(a,g))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:s===o?!1:s?o?Bs(s,o,a):!0:!!o;return!1}function Bs(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]&&!wn(n,i))return!0}return!1}function Yo({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const Jo=e=>e.__isSuspense;function Jr(e,t){t&&t.pendingBranch?N(e)?t.effects.push(...e):t.effects.push(e):Do(e)}function Xo(e,t){return En(e,null,t)}function Zc(e,t){return En(e,null,{flush:"post"})}const Jt={};function nn(e,t,n){return En(e,t,n)}function En(e,t,{immediate:n,deep:s,flush:r,onTrack:i,onTrigger:o}=te){var l;const c=Qi()===((l=le)==null?void 0:l.scope)?le:null;let a,d=!1,h=!1;if(ce(e)?(a=()=>e.value,d=cn(e)):dt(e)?(a=()=>e,s=!0):N(e)?(h=!0,d=e.some(P=>dt(P)||cn(P)),a=()=>e.map(P=>{if(ce(P))return P.value;if(dt(P))return tt(P);if(D(P))return We(P,c,2)})):D(e)?t?a=()=>We(e,c,2):a=()=>{if(!(c&&c.isUnmounted))return g&&g(),Ce(e,c,3,[w])}:a=Pe,t&&s){const P=a;a=()=>tt(P())}let g,w=P=>{g=y.onStop=()=>{We(P,c,4)}},A;if(vt)if(w=Pe,t?n&&Ce(t,c,3,[a(),h?[]:void 0,w]):a(),r==="sync"){const P=ql();A=P.__watcherHandles||(P.__watcherHandles=[])}else return Pe;let I=h?new Array(e.length).fill(Jt):Jt;const H=()=>{if(y.active)if(t){const P=y.run();(s||d||(h?P.some((k,q)=>St(k,I[q])):St(P,I)))&&(g&&g(),Ce(t,c,3,[P,I===Jt?void 0:h&&I[0]===Jt?[]:I,w]),I=P)}else y.run()};H.allowRecurse=!!t;let m;r==="sync"?m=H:r==="post"?m=()=>de(H,c&&c.suspense):(H.pre=!0,c&&(H.id=c.uid),m=()=>vn(H));const y=new cs(a,m);t?n?H():I=y.run():r==="post"?de(y.run.bind(y),c&&c.suspense):y.run();const $=()=>{y.stop(),c&&c.scope&&ns(c.scope.effects,y)};return A&&A.push($),$}function Zo(e,t,n){const s=this.proxy,r=se(e)?e.includes(".")?Xr(s,e):()=>s[e]:e.bind(s,s);let i;D(t)?i=t:(i=t.handler,n=t);const o=le;yt(this);const l=En(r,i.bind(s),n);return o?yt(o):rt(),l}function Xr(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}function tt(e,t){if(!ee(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),ce(e))tt(e.value,t);else if(N(e))for(let n=0;n<e.length;n++)tt(e[n],t);else if(xr(e)||ut(e))e.forEach(n=>{tt(n,t)});else if(Rr(e))for(const n in e)tt(e[n],t);return e}function Qc(e,t){const n=fe;if(n===null)return e;const s=Pn(n)||n.proxy,r=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[o,l,c,a=te]=t[i];o&&(D(o)&&(o={mounted:o,updated:o}),o.deep&&tt(l),r.push({dir:o,instance:s,value:l,oldValue:void 0,arg:c,modifiers:a}))}return e}function Oe(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&&(wt(),Ce(c,n,8,[e.el,l,e,t]),Ct())}}function Qo(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Tn(()=>{e.isMounted=!0}),ti(()=>{e.isUnmounting=!0}),e}const ye=[Function,Array],Zr={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ye,onEnter:ye,onAfterEnter:ye,onEnterCancelled:ye,onBeforeLeave:ye,onLeave:ye,onAfterLeave:ye,onLeaveCancelled:ye,onBeforeAppear:ye,onAppear:ye,onAfterAppear:ye,onAppearCancelled:ye},Go={name:"BaseTransition",props:Zr,setup(e,{slots:t}){const n=vi(),s=Qo();let r;return()=>{const i=t.default&&Gr(t.default(),!0);if(!i||!i.length)return;let o=i[0];if(i.length>1){for(const I of i)if(I.type!==be){o=I;break}}const l=J(e),{mode:c}=l;if(s.isLeaving)return Mn(o);const a=Us(o);if(!a)return Mn(o);const d=Vn(a,l,s,n);qn(a,d);const h=n.subTree,g=h&&Us(h);let w=!1;const{getTransitionKey:A}=a.type;if(A){const I=A();r===void 0?r=I:I!==r&&(r=I,w=!0)}if(g&&g.type!==be&&(!Ge(a,g)||w)){const I=Vn(g,l,s,n);if(qn(g,I),c==="out-in")return s.isLeaving=!0,I.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&n.update()},Mn(o);c==="in-out"&&a.type!==be&&(I.delayLeave=(H,m,y)=>{const $=Qr(s,g);$[String(g.key)]=g,H._leaveCb=()=>{m(),H._leaveCb=void 0,delete d.delayedLeave},d.delayedLeave=y})}return o}}},el=Go;function Qr(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Vn(e,t,n,s){const{appear:r,mode:i,persisted:o=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:a,onEnterCancelled:d,onBeforeLeave:h,onLeave:g,onAfterLeave:w,onLeaveCancelled:A,onBeforeAppear:I,onAppear:H,onAfterAppear:m,onAppearCancelled:y}=t,$=String(e.key),P=Qr(n,e),k=(x,U)=>{x&&Ce(x,s,9,U)},q=(x,U)=>{const B=U[1];k(x,U),N(x)?x.every(W=>W.length<=1)&&B():x.length<=1&&B()},K={mode:i,persisted:o,beforeEnter(x){let U=l;if(!n.isMounted)if(r)U=I||l;else return;x._leaveCb&&x._leaveCb(!0);const B=P[$];B&&Ge(e,B)&&B.el._leaveCb&&B.el._leaveCb(),k(U,[x])},enter(x){let U=c,B=a,W=d;if(!n.isMounted)if(r)U=H||c,B=m||a,W=y||d;else return;let F=!1;const V=x._enterCb=M=>{F||(F=!0,M?k(W,[x]):k(B,[x]),K.delayedLeave&&K.delayedLeave(),x._enterCb=void 0)};U?q(U,[x,V]):V()},leave(x,U){const B=String(e.key);if(x._enterCb&&x._enterCb(!0),n.isUnmounting)return U();k(h,[x]);let W=!1;const F=x._leaveCb=V=>{W||(W=!0,U(),V?k(A,[x]):k(w,[x]),x._leaveCb=void 0,P[B]===e&&delete P[B])};P[B]=e,g?q(g,[x,F]):F()},clone(x){return Vn(x,t,n,s)}};return K}function Mn(e){if(Dt(e))return e=qe(e),e.children=null,e}function Us(e){return Dt(e)?e.children?e.children[0]:void 0:e}function qn(e,t){e.shapeFlag&6&&e.component?qn(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Gr(e,t=!1,n){let s=[],r=0;for(let i=0;i<e.length;i++){let o=e[i];const l=n==null?o.key:String(n)+String(o.key!=null?o.key:i);o.type===he?(o.patchFlag&128&&r++,s=s.concat(Gr(o.children,t,l))):(t||o.type!==be)&&s.push(l!=null?qe(o,{key:l}):o)}if(r>1)for(let i=0;i<s.length;i++)s[i].patchFlag=-2;return s}function _s(e,t){return D(e)?(()=>oe({name:e.name},t,{setup:e}))():e}const gt=e=>!!e.type.__asyncLoader;function Gc(e){D(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:r=200,timeout:i,suspensible:o=!0,onError:l}=e;let c=null,a,d=0;const h=()=>(d++,c=null,g()),g=()=>{let w;return c||(w=c=t().catch(A=>{if(A=A instanceof Error?A:new Error(String(A)),l)return new Promise((I,H)=>{l(A,()=>I(h()),()=>H(A),d+1)});throw A}).then(A=>w!==c&&c?c:(A&&(A.__esModule||A[Symbol.toStringTag]==="Module")&&(A=A.default),a=A,A)))};return _s({name:"AsyncComponentWrapper",__asyncLoader:g,get __asyncResolved(){return a},setup(){const w=le;if(a)return()=>Ln(a,w);const A=y=>{c=null,jt(y,w,13,!s)};if(o&&w.suspense||vt)return g().then(y=>()=>Ln(y,w)).catch(y=>(A(y),()=>s?re(s,{error:y}):null));const I=ht(!1),H=ht(),m=ht(!!r);return r&&setTimeout(()=>{m.value=!1},r),i!=null&&setTimeout(()=>{if(!I.value&&!H.value){const y=new Error(`Async component timed out after ${i}ms.`);A(y),H.value=y}},i),g().then(()=>{I.value=!0,w.parent&&Dt(w.parent.vnode)&&vn(w.parent.update)}).catch(y=>{A(y),H.value=y}),()=>{if(I.value&&a)return Ln(a,w);if(H.value&&s)return re(s,{error:H.value});if(n&&!m.value)return re(n)}}})}function Ln(e,t){const{ref:n,props:s,children:r,ce:i}=t.vnode,o=re(e,s,r);return o.ref=n,o.ce=i,delete t.vnode.ce,o}const Dt=e=>e.type.__isKeepAlive;function tl(e,t){ei(e,"a",t)}function nl(e,t){ei(e,"da",t)}function ei(e,t,n=le){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(xn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Dt(r.parent.vnode)&&sl(s,t,n,r),r=r.parent}}function sl(e,t,n,s){const r=xn(t,e,s,!0);An(()=>{ns(s[t],r)},n)}function xn(e,t,n=le,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;wt(),yt(n);const l=Ce(t,n,e,o);return rt(),Ct(),l});return s?r.unshift(i):r.push(i),i}}const $e=e=>(t,n=le)=>(!vt||e==="sp")&&xn(e,(...s)=>t(...s),n),rl=$e("bm"),Tn=$e("m"),il=$e("bu"),ol=$e("u"),ti=$e("bum"),An=$e("um"),ll=$e("sp"),cl=$e("rtg"),fl=$e("rtc");function al(e,t=le){xn("ec",e,t)}const bs="components";function ef(e,t){return si(bs,e,!0,t)||e}const ni=Symbol.for("v-ndc");function tf(e){return se(e)?si(bs,e,!1)||e:e||ni}function si(e,t,n=!0,s=!1){const r=fe||le;if(r){const i=r.type;if(e===bs){const l=Kl(i,!1);if(l&&(l===t||l===Le(t)||l===_n(Le(t))))return i}const o=js(r[e]||i[e],t)||js(r.appContext[e],t);return!o&&s?i:o}}function js(e,t){return e&&(e[t]||e[Le(t)]||e[_n(Le(t))])}function nf(e,t,n,s){let r;const i=n&&n[s];if(N(e)||se(e)){r=new Array(e.length);for(let o=0,l=e.length;o<l;o++)r[o]=t(e[o],o,void 0,i&&i[o])}else if(typeof e=="number"){r=new Array(e);for(let o=0;o<e;o++)r[o]=t(o+1,o,void 0,i&&i[o])}else if(ee(e))if(e[Symbol.iterator])r=Array.from(e,(o,l)=>t(o,l,void 0,i&&i[l]));else{const o=Object.keys(e);r=new Array(o.length);for(let l=0,c=o.length;l<c;l++){const a=o[l];r[l]=t(e[a],a,l,i&&i[l])}}else r=[];return n&&(n[s]=r),r}function sf(e,t,n={},s,r){if(fe.isCE||fe.parent&>(fe.parent)&&fe.parent.isCE)return t!=="default"&&(n.name=t),re("slot",n,s&&s());let i=e[t];i&&i._c&&(i._d=!1),pi();const o=i&&ri(i(n)),l=mi(he,{key:n.key||o&&o.key||`_${t}`},o||(s?s():[]),o&&e._===1?64:-2);return!r&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),i&&i._c&&(i._d=!0),l}function ri(e){return e.some(t=>pn(t)?!(t.type===be||t.type===he&&!ri(t.children)):!0)?e:null}function rf(e,t){const n={};for(const s in e)n[t&&/[A-Z]/.test(s)?`on:${s}`:en(s)]=e[s];return n}const zn=e=>e?wi(e)?Pn(e)||e.proxy:zn(e.parent):null,It=oe(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=>zn(e.parent),$root:e=>zn(e.root),$emit:e=>e.emit,$options:e=>ys(e),$forceUpdate:e=>e.f||(e.f=()=>vn(e.update)),$nextTick:e=>e.n||(e.n=Vr.bind(e.proxy)),$watch:e=>Zo.bind(e)}),Sn=(e,t)=>e!==te&&!e.__isScriptSetup&&Y(e,t),ul={get({_:e},t){const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:c}=e;let a;if(t[0]!=="$"){const w=o[t];if(w!==void 0)switch(w){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(Sn(s,t))return o[t]=1,s[t];if(r!==te&&Y(r,t))return o[t]=2,r[t];if((a=e.propsOptions[0])&&Y(a,t))return o[t]=3,i[t];if(n!==te&&Y(n,t))return o[t]=4,n[t];Yn&&(o[t]=0)}}const d=It[t];let h,g;if(d)return t==="$attrs"&&pe(e,"get",t),d(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==te&&Y(n,t))return o[t]=4,n[t];if(g=c.config.globalProperties,Y(g,t))return g[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return Sn(r,t)?(r[t]=n,!0):s!==te&&Y(s,t)?(s[t]=n,!0):Y(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!==te&&Y(e,o)||Sn(t,o)||(l=i[0])&&Y(l,o)||Y(s,o)||Y(It,o)||Y(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Y(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function of(){return dl().slots}function dl(){const e=vi();return e.setupContext||(e.setupContext=Ei(e))}function Ds(e){return N(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Yn=!0;function hl(e){const t=ys(e),n=e.proxy,s=e.ctx;Yn=!1,t.beforeCreate&&ks(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:c,inject:a,created:d,beforeMount:h,mounted:g,beforeUpdate:w,updated:A,activated:I,deactivated:H,beforeDestroy:m,beforeUnmount:y,destroyed:$,unmounted:P,render:k,renderTracked:q,renderTriggered:K,errorCaptured:x,serverPrefetch:U,expose:B,inheritAttrs:W,components:F,directives:V,filters:M}=t;if(a&&pl(a,s,null),o)for(const ne in o){const Q=o[ne];D(Q)&&(s[ne]=Q.bind(n))}if(r){const ne=r.call(n,n);ee(ne)&&(e.data=yn(ne))}if(Yn=!0,i)for(const ne in i){const Q=i[ne],ze=D(Q)?Q.bind(n,n):D(Q.get)?Q.get.bind(n,n):Pe,kt=!D(Q)&&D(Q.set)?Q.set.bind(n):Pe,Ye=xe({get:ze,set:kt});Object.defineProperty(s,ne,{enumerable:!0,configurable:!0,get:()=>Ye.value,set:Ie=>Ye.value=Ie})}if(l)for(const ne in l)ii(l[ne],s,n,ne);if(c){const ne=D(c)?c.call(n):c;Reflect.ownKeys(ne).forEach(Q=>{vl(Q,ne[Q])})}d&&ks(d,e,"c");function X(ne,Q){N(Q)?Q.forEach(ze=>ne(ze.bind(n))):Q&&ne(Q.bind(n))}if(X(rl,h),X(Tn,g),X(il,w),X(ol,A),X(tl,I),X(nl,H),X(al,x),X(fl,q),X(cl,K),X(ti,y),X(An,P),X(ll,U),N(B))if(B.length){const ne=e.exposed||(e.exposed={});B.forEach(Q=>{Object.defineProperty(ne,Q,{get:()=>n[Q],set:ze=>n[Q]=ze})})}else e.exposed||(e.exposed={});k&&e.render===Pe&&(e.render=k),W!=null&&(e.inheritAttrs=W),F&&(e.components=F),V&&(e.directives=V)}function pl(e,t,n=Pe){N(e)&&(e=Jn(e));for(const s in e){const r=e[s];let i;ee(r)?"default"in r?i=mt(r.from||s,r.default,!0):i=mt(r.from||s):i=mt(r),ce(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){Ce(N(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function ii(e,t,n,s){const r=s.includes(".")?Xr(n,s):()=>n[s];if(se(e)){const i=t[e];D(i)&&nn(r,i)}else if(D(e))nn(r,e.bind(n));else if(ee(e))if(N(e))e.forEach(i=>ii(i,t,n,s));else{const i=D(e.handler)?e.handler.bind(n):t[e.handler];D(i)&&nn(r,i,e)}}function ys(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(a=>un(c,a,o,!0)),un(c,t,o)),ee(t)&&i.set(t,c),c}function un(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&un(e,i,n,!0),r&&r.forEach(o=>un(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=gl[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const gl={data:Ks,props:Ws,emits:Ws,methods:At,computed:At,beforeCreate:ue,created:ue,beforeMount:ue,mounted:ue,beforeUpdate:ue,updated:ue,beforeDestroy:ue,beforeUnmount:ue,destroyed:ue,unmounted:ue,activated:ue,deactivated:ue,errorCaptured:ue,serverPrefetch:ue,components:At,directives:At,watch:_l,provide:Ks,inject:ml};function Ks(e,t){return t?e?function(){return oe(D(e)?e.call(this,this):e,D(t)?t.call(this,this):t)}:t:e}function ml(e,t){return At(Jn(e),Jn(t))}function Jn(e){if(N(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ue(e,t){return e?[...new Set([].concat(e,t))]:t}function At(e,t){return e?oe(Object.create(null),e,t):t}function Ws(e,t){return e?N(e)&&N(t)?[...new Set([...e,...t])]:oe(Object.create(null),Ds(e),Ds(t??{})):t}function _l(e,t){if(!e)return t;if(!t)return e;const n=oe(Object.create(null),e);for(const s in t)n[s]=ue(e[s],t[s]);return n}function oi(){return{app:null,config:{isNativeTag:$i,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 bl=0;function yl(e,t){return function(s,r=null){D(s)||(s=oe({},s)),r!=null&&!ee(r)&&(r=null);const i=oi(),o=new Set;let l=!1;const c=i.app={_uid:bl++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:zl,get config(){return i.config},set config(a){},use(a,...d){return o.has(a)||(a&&D(a.install)?(o.add(a),a.install(c,...d)):D(a)&&(o.add(a),a(c,...d))),c},mixin(a){return i.mixins.includes(a)||i.mixins.push(a),c},component(a,d){return d?(i.components[a]=d,c):i.components[a]},directive(a,d){return d?(i.directives[a]=d,c):i.directives[a]},mount(a,d,h){if(!l){const g=re(s,r);return g.appContext=i,d&&t?t(g,a):e(g,a,h),l=!0,c._container=a,a.__vue_app__=c,Pn(g.component)||g.component.proxy}},unmount(){l&&(e(null,c._container),delete c._container.__vue_app__)},provide(a,d){return i.provides[a]=d,c},runWithContext(a){dn=c;try{return a()}finally{dn=null}}};return c}}let dn=null;function vl(e,t){if(le){let n=le.provides;const s=le.parent&&le.parent.provides;s===n&&(n=le.provides=Object.create(s)),n[e]=t}}function mt(e,t,n=!1){const s=le||fe;if(s||dn){const r=s?s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:dn._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&D(t)?t.call(s&&s.proxy):t}}function wl(e,t,n,s=!1){const r={},i={};on(i,Rn,1),e.propsDefaults=Object.create(null),li(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:Ro(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function Cl(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=J(r),[c]=e.propsOptions;let a=!1;if((s||o>0)&&!(o&16)){if(o&8){const d=e.vnode.dynamicProps;for(let h=0;h<d.length;h++){let g=d[h];if(wn(e.emitsOptions,g))continue;const w=t[g];if(c)if(Y(i,g))w!==i[g]&&(i[g]=w,a=!0);else{const A=Le(g);r[A]=Xn(c,l,A,w,e,!1)}else w!==i[g]&&(i[g]=w,a=!0)}}}else{li(e,t,r,i)&&(a=!0);let d;for(const h in l)(!t||!Y(t,h)&&((d=it(h))===h||!Y(t,d)))&&(c?n&&(n[h]!==void 0||n[d]!==void 0)&&(r[h]=Xn(c,l,h,void 0,e,!0)):delete r[h]);if(i!==l)for(const h in i)(!t||!Y(t,h))&&(delete i[h],a=!0)}a&&He(e,"set","$attrs")}function li(e,t,n,s){const[r,i]=e.propsOptions;let o=!1,l;if(t)for(let c in t){if(Rt(c))continue;const a=t[c];let d;r&&Y(r,d=Le(c))?!i||!i.includes(d)?n[d]=a:(l||(l={}))[d]=a:wn(e.emitsOptions,c)||(!(c in s)||a!==s[c])&&(s[c]=a,o=!0)}if(i){const c=J(n),a=l||te;for(let d=0;d<i.length;d++){const h=i[d];n[h]=Xn(r,c,h,a[h],e,!Y(a,h))}}return o}function Xn(e,t,n,s,r,i){const o=e[n];if(o!=null){const l=Y(o,"default");if(l&&s===void 0){const c=o.default;if(o.type!==Function&&!o.skipFactory&&D(c)){const{propsDefaults:a}=r;n in a?s=a[n]:(yt(r),s=a[n]=c.call(null,t),rt())}else s=c}o[0]&&(i&&!l?s=!1:o[1]&&(s===""||s===it(n))&&(s=!0))}return s}function ci(e,t,n=!1){const s=t.propsCache,r=s.get(e);if(r)return r;const i=e.props,o={},l=[];let c=!1;if(!D(e)){const d=h=>{c=!0;const[g,w]=ci(h,t,!0);oe(o,g),w&&l.push(...w)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!i&&!c)return ee(e)&&s.set(e,at),at;if(N(i))for(let d=0;d<i.length;d++){const h=Le(i[d]);Vs(h)&&(o[h]=te)}else if(i)for(const d in i){const h=Le(d);if(Vs(h)){const g=i[d],w=o[h]=N(g)||D(g)?{type:g}:oe({},g);if(w){const A=Ys(Boolean,w.type),I=Ys(String,w.type);w[0]=A>-1,w[1]=I<0||A<I,(A>-1||Y(w,"default"))&&l.push(h)}}}const a=[o,l];return ee(e)&&s.set(e,a),a}function Vs(e){return e[0]!=="$"}function qs(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function zs(e,t){return qs(e)===qs(t)}function Ys(e,t){return N(t)?t.findIndex(n=>zs(n,e)):D(t)&&zs(t,e)?0:-1}const fi=e=>e[0]==="_"||e==="$stable",vs=e=>N(e)?e.map(Te):[Te(e)],El=(e,t,n)=>{if(t._n)return t;const s=Wo((...r)=>vs(t(...r)),n);return s._c=!1,s},ai=(e,t,n)=>{const s=e._ctx;for(const r in e){if(fi(r))continue;const i=e[r];if(D(i))t[r]=El(r,i,s);else if(i!=null){const o=vs(i);t[r]=()=>o}}},ui=(e,t)=>{const n=vs(t);e.slots.default=()=>n},xl=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=J(t),on(t,"_",n)):ai(t,e.slots={})}else e.slots={},t&&ui(e,t);on(e.slots,Rn,1)},Tl=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=te;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:(oe(r,t),!n&&l===1&&delete r._):(i=!t.$stable,ai(t,r)),o=t}else t&&(ui(e,t),o={default:1});if(i)for(const l in r)!fi(l)&&!(l in o)&&delete r[l]};function hn(e,t,n,s,r=!1){if(N(e)){e.forEach((g,w)=>hn(g,t&&(N(t)?t[w]:t),n,s,r));return}if(gt(s)&&!r)return;const i=s.shapeFlag&4?Pn(s.component)||s.component.proxy:s.el,o=r?null:i,{i:l,r:c}=e,a=t&&t.r,d=l.refs===te?l.refs={}:l.refs,h=l.setupState;if(a!=null&&a!==c&&(se(a)?(d[a]=null,Y(h,a)&&(h[a]=null)):ce(a)&&(a.value=null)),D(c))We(c,l,12,[o,d]);else{const g=se(c),w=ce(c);if(g||w){const A=()=>{if(e.f){const I=g?Y(h,c)?h[c]:d[c]:c.value;r?N(I)&&ns(I,i):N(I)?I.includes(i)||I.push(i):g?(d[c]=[i],Y(h,c)&&(h[c]=d[c])):(c.value=[i],e.k&&(d[e.k]=c.value))}else g?(d[c]=o,Y(h,c)&&(h[c]=o)):w&&(c.value=o,e.k&&(d[e.k]=o))};o?(A.id=-1,de(A,n)):A()}}}let Ue=!1;const Xt=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",Zt=e=>e.nodeType===8;function Al(e){const{mt:t,p:n,o:{patchProp:s,createText:r,nextSibling:i,parentNode:o,remove:l,insert:c,createComment:a}}=e,d=(m,y)=>{if(!y.hasChildNodes()){n(null,m,y),fn(),y._vnode=m;return}Ue=!1,h(y.firstChild,m,null,null,null),fn(),y._vnode=m,Ue&&console.error("Hydration completed but contains mismatches.")},h=(m,y,$,P,k,q=!1)=>{const K=Zt(m)&&m.data==="[",x=()=>I(m,y,$,P,k,K),{type:U,ref:B,shapeFlag:W,patchFlag:F}=y;let V=m.nodeType;y.el=m,F===-2&&(q=!1,y.dynamicChildren=null);let M=null;switch(U){case bt:V!==3?y.children===""?(c(y.el=r(""),o(m),m),M=m):M=x():(m.data!==y.children&&(Ue=!0,m.data=y.children),M=i(m));break;case be:V!==8||K?M=x():M=i(m);break;case Ot:if(K&&(m=i(m),V=m.nodeType),V===1||V===3){M=m;const ge=!y.children.length;for(let X=0;X<y.staticCount;X++)ge&&(y.children+=M.nodeType===1?M.outerHTML:M.data),X===y.staticCount-1&&(y.anchor=M),M=i(M);return K?i(M):M}else x();break;case he:K?M=A(m,y,$,P,k,q):M=x();break;default:if(W&1)V!==1||y.type.toLowerCase()!==m.tagName.toLowerCase()?M=x():M=g(m,y,$,P,k,q);else if(W&6){y.slotScopeIds=k;const ge=o(m);if(t(y,ge,null,$,P,Xt(ge),q),M=K?H(m):i(m),M&&Zt(M)&&M.data==="teleport end"&&(M=i(M)),gt(y)){let X;K?(X=re(he),X.anchor=M?M.previousSibling:ge.lastChild):X=m.nodeType===3?yi(""):re("div"),X.el=m,y.component.subTree=X}}else W&64?V!==8?M=x():M=y.type.hydrate(m,y,$,P,k,q,e,w):W&128&&(M=y.type.hydrate(m,y,$,P,Xt(o(m)),k,q,e,h))}return B!=null&&hn(B,null,P,y),M},g=(m,y,$,P,k,q)=>{q=q||!!y.dynamicChildren;const{type:K,props:x,patchFlag:U,shapeFlag:B,dirs:W}=y,F=K==="input"&&W||K==="option";if(F||U!==-1){if(W&&Oe(y,null,$,"created"),x)if(F||!q||U&48)for(const M in x)(F&&M.endsWith("value")||Ut(M)&&!Rt(M))&&s(m,M,null,x[M],!1,void 0,$);else x.onClick&&s(m,"onClick",null,x.onClick,!1,void 0,$);let V;if((V=x&&x.onVnodeBeforeMount)&&ve(V,$,y),W&&Oe(y,null,$,"beforeMount"),((V=x&&x.onVnodeMounted)||W)&&Jr(()=>{V&&ve(V,$,y),W&&Oe(y,null,$,"mounted")},P),B&16&&!(x&&(x.innerHTML||x.textContent))){let M=w(m.firstChild,y,m,$,P,k,q);for(;M;){Ue=!0;const ge=M;M=M.nextSibling,l(ge)}}else B&8&&m.textContent!==y.children&&(Ue=!0,m.textContent=y.children)}return m.nextSibling},w=(m,y,$,P,k,q,K)=>{K=K||!!y.dynamicChildren;const x=y.children,U=x.length;for(let B=0;B<U;B++){const W=K?x[B]:x[B]=Te(x[B]);if(m)m=h(m,W,P,k,q,K);else{if(W.type===bt&&!W.children)continue;Ue=!0,n(null,W,$,null,P,k,Xt($),q)}}return m},A=(m,y,$,P,k,q)=>{const{slotScopeIds:K}=y;K&&(k=k?k.concat(K):K);const x=o(m),U=w(i(m),y,x,$,P,k,q);return U&&Zt(U)&&U.data==="]"?i(y.anchor=U):(Ue=!0,c(y.anchor=a("]"),x,U),U)},I=(m,y,$,P,k,q)=>{if(Ue=!0,y.el=null,q){const U=H(m);for(;;){const B=i(m);if(B&&B!==U)l(B);else break}}const K=i(m),x=o(m);return l(m),n(null,y,x,K,$,P,Xt(x),k),K},H=m=>{let y=0;for(;m;)if(m=i(m),m&&Zt(m)&&(m.data==="["&&y++,m.data==="]")){if(y===0)return i(m);y--}return m};return[d,h]}const de=Jr;function Rl(e){return di(e)}function Pl(e){return di(e,Al)}function di(e,t){const n=jn();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:c,setText:a,setElementText:d,parentNode:h,nextSibling:g,setScopeId:w=Pe,insertStaticContent:A}=e,I=(f,u,p,b=null,_=null,E=null,R=!1,C=null,T=!!u.dynamicChildren)=>{if(f===u)return;f&&!Ge(f,u)&&(b=Kt(f),Ie(f,_,E,!0),f=null),u.patchFlag===-2&&(T=!1,u.dynamicChildren=null);const{type:v,ref:L,shapeFlag:O}=u;switch(v){case bt:H(f,u,p,b);break;case be:m(f,u,p,b);break;case Ot:f==null&&y(u,p,b,R);break;case he:F(f,u,p,b,_,E,R,C,T);break;default:O&1?k(f,u,p,b,_,E,R,C,T):O&6?V(f,u,p,b,_,E,R,C,T):(O&64||O&128)&&v.process(f,u,p,b,_,E,R,C,T,ot)}L!=null&&_&&hn(L,f&&f.ref,E,u||f,!u)},H=(f,u,p,b)=>{if(f==null)s(u.el=l(u.children),p,b);else{const _=u.el=f.el;u.children!==f.children&&a(_,u.children)}},m=(f,u,p,b)=>{f==null?s(u.el=c(u.children||""),p,b):u.el=f.el},y=(f,u,p,b)=>{[f.el,f.anchor]=A(f.children,u,p,b,f.el,f.anchor)},$=({el:f,anchor:u},p,b)=>{let _;for(;f&&f!==u;)_=g(f),s(f,p,b),f=_;s(u,p,b)},P=({el:f,anchor:u})=>{let p;for(;f&&f!==u;)p=g(f),r(f),f=p;r(u)},k=(f,u,p,b,_,E,R,C,T)=>{R=R||u.type==="svg",f==null?q(u,p,b,_,E,R,C,T):U(f,u,_,E,R,C,T)},q=(f,u,p,b,_,E,R,C)=>{let T,v;const{type:L,props:O,shapeFlag:S,transition:j,dirs:z}=f;if(T=f.el=o(f.type,E,O&&O.is,O),S&8?d(T,f.children):S&16&&x(f.children,T,null,b,_,E&&L!=="foreignObject",R,C),z&&Oe(f,null,b,"created"),K(T,f,f.scopeId,R,b),O){for(const Z in O)Z!=="value"&&!Rt(Z)&&i(T,Z,null,O[Z],E,f.children,b,_,Se);"value"in O&&i(T,"value",null,O.value),(v=O.onVnodeBeforeMount)&&ve(v,b,f)}z&&Oe(f,null,b,"beforeMount");const G=(!_||_&&!_.pendingBranch)&&j&&!j.persisted;G&&j.beforeEnter(T),s(T,u,p),((v=O&&O.onVnodeMounted)||G||z)&&de(()=>{v&&ve(v,b,f),G&&j.enter(T),z&&Oe(f,null,b,"mounted")},_)},K=(f,u,p,b,_)=>{if(p&&w(f,p),b)for(let E=0;E<b.length;E++)w(f,b[E]);if(_){let E=_.subTree;if(u===E){const R=_.vnode;K(f,R,R.scopeId,R.slotScopeIds,_.parent)}}},x=(f,u,p,b,_,E,R,C,T=0)=>{for(let v=T;v<f.length;v++){const L=f[v]=C?ke(f[v]):Te(f[v]);I(null,L,u,p,b,_,E,R,C)}},U=(f,u,p,b,_,E,R)=>{const C=u.el=f.el;let{patchFlag:T,dynamicChildren:v,dirs:L}=u;T|=f.patchFlag&16;const O=f.props||te,S=u.props||te;let j;p&&Je(p,!1),(j=S.onVnodeBeforeUpdate)&&ve(j,p,u,f),L&&Oe(u,f,p,"beforeUpdate"),p&&Je(p,!0);const z=_&&u.type!=="foreignObject";if(v?B(f.dynamicChildren,v,C,p,b,z,E):R||Q(f,u,C,null,p,b,z,E,!1),T>0){if(T&16)W(C,u,O,S,p,b,_);else if(T&2&&O.class!==S.class&&i(C,"class",null,S.class,_),T&4&&i(C,"style",O.style,S.style,_),T&8){const G=u.dynamicProps;for(let Z=0;Z<G.length;Z++){const ie=G[Z],Ee=O[ie],lt=S[ie];(lt!==Ee||ie==="value")&&i(C,ie,Ee,lt,_,f.children,p,b,Se)}}T&1&&f.children!==u.children&&d(C,u.children)}else!R&&v==null&&W(C,u,O,S,p,b,_);((j=S.onVnodeUpdated)||L)&&de(()=>{j&&ve(j,p,u,f),L&&Oe(u,f,p,"updated")},b)},B=(f,u,p,b,_,E,R)=>{for(let C=0;C<u.length;C++){const T=f[C],v=u[C],L=T.el&&(T.type===he||!Ge(T,v)||T.shapeFlag&70)?h(T.el):p;I(T,v,L,null,b,_,E,R,!0)}},W=(f,u,p,b,_,E,R)=>{if(p!==b){if(p!==te)for(const C in p)!Rt(C)&&!(C in b)&&i(f,C,p[C],null,R,u.children,_,E,Se);for(const C in b){if(Rt(C))continue;const T=b[C],v=p[C];T!==v&&C!=="value"&&i(f,C,v,T,R,u.children,_,E,Se)}"value"in b&&i(f,"value",p.value,b.value)}},F=(f,u,p,b,_,E,R,C,T)=>{const v=u.el=f?f.el:l(""),L=u.anchor=f?f.anchor:l("");let{patchFlag:O,dynamicChildren:S,slotScopeIds:j}=u;j&&(C=C?C.concat(j):j),f==null?(s(v,p,b),s(L,p,b),x(u.children,p,L,_,E,R,C,T)):O>0&&O&64&&S&&f.dynamicChildren?(B(f.dynamicChildren,S,p,_,E,R,C),(u.key!=null||_&&u===_.subTree)&&ws(f,u,!0)):Q(f,u,p,L,_,E,R,C,T)},V=(f,u,p,b,_,E,R,C,T)=>{u.slotScopeIds=C,f==null?u.shapeFlag&512?_.ctx.activate(u,p,b,R,T):M(u,p,b,_,E,R,T):ge(f,u,T)},M=(f,u,p,b,_,E,R)=>{const C=f.component=Ul(f,b,_);if(Dt(f)&&(C.ctx.renderer=ot),jl(C),C.asyncDep){if(_&&_.registerDep(C,X),!f.el){const T=C.subTree=re(be);m(null,T,u,p)}return}X(C,f,u,p,_,E,R)},ge=(f,u,p)=>{const b=u.component=f.component;if(zo(f,u,p))if(b.asyncDep&&!b.asyncResolved){ne(b,u,p);return}else b.next=u,jo(b.update),b.update();else u.el=f.el,b.vnode=u},X=(f,u,p,b,_,E,R)=>{const C=()=>{if(f.isMounted){let{next:L,bu:O,u:S,parent:j,vnode:z}=f,G=L,Z;Je(f,!1),L?(L.el=z.el,ne(f,L,R)):L=z,O&&tn(O),(Z=L.props&&L.props.onVnodeBeforeUpdate)&&ve(Z,j,L,z),Je(f,!0);const ie=On(f),Ee=f.subTree;f.subTree=ie,I(Ee,ie,h(Ee.el),Kt(Ee),f,_,E),L.el=ie.el,G===null&&Yo(f,ie.el),S&&de(S,_),(Z=L.props&&L.props.onVnodeUpdated)&&de(()=>ve(Z,j,L,z),_)}else{let L;const{el:O,props:S}=u,{bm:j,m:z,parent:G}=f,Z=gt(u);if(Je(f,!1),j&&tn(j),!Z&&(L=S&&S.onVnodeBeforeMount)&&ve(L,G,u),Je(f,!0),O&&Fn){const ie=()=>{f.subTree=On(f),Fn(O,f.subTree,f,_,null)};Z?u.type.__asyncLoader().then(()=>!f.isUnmounted&&ie()):ie()}else{const ie=f.subTree=On(f);I(null,ie,p,b,f,_,E),u.el=ie.el}if(z&&de(z,_),!Z&&(L=S&&S.onVnodeMounted)){const ie=u;de(()=>ve(L,G,ie),_)}(u.shapeFlag&256||G&>(G.vnode)&&G.vnode.shapeFlag&256)&&f.a&&de(f.a,_),f.isMounted=!0,u=p=b=null}},T=f.effect=new cs(C,()=>vn(v),f.scope),v=f.update=()=>T.run();v.id=f.uid,Je(f,!0),v()},ne=(f,u,p)=>{u.component=f;const b=f.vnode.props;f.vnode=u,f.next=null,Cl(f,u.props,b,p),Tl(f,u.children,p),wt(),$s(),Ct()},Q=(f,u,p,b,_,E,R,C,T=!1)=>{const v=f&&f.children,L=f?f.shapeFlag:0,O=u.children,{patchFlag:S,shapeFlag:j}=u;if(S>0){if(S&128){kt(v,O,p,b,_,E,R,C,T);return}else if(S&256){ze(v,O,p,b,_,E,R,C,T);return}}j&8?(L&16&&Se(v,_,E),O!==v&&d(p,O)):L&16?j&16?kt(v,O,p,b,_,E,R,C,T):Se(v,_,E,!0):(L&8&&d(p,""),j&16&&x(O,p,b,_,E,R,C,T))},ze=(f,u,p,b,_,E,R,C,T)=>{f=f||at,u=u||at;const v=f.length,L=u.length,O=Math.min(v,L);let S;for(S=0;S<O;S++){const j=u[S]=T?ke(u[S]):Te(u[S]);I(f[S],j,p,null,_,E,R,C,T)}v>L?Se(f,_,E,!0,!1,O):x(u,p,b,_,E,R,C,T,O)},kt=(f,u,p,b,_,E,R,C,T)=>{let v=0;const L=u.length;let O=f.length-1,S=L-1;for(;v<=O&&v<=S;){const j=f[v],z=u[v]=T?ke(u[v]):Te(u[v]);if(Ge(j,z))I(j,z,p,null,_,E,R,C,T);else break;v++}for(;v<=O&&v<=S;){const j=f[O],z=u[S]=T?ke(u[S]):Te(u[S]);if(Ge(j,z))I(j,z,p,null,_,E,R,C,T);else break;O--,S--}if(v>O){if(v<=S){const j=S+1,z=j<L?u[j].el:b;for(;v<=S;)I(null,u[v]=T?ke(u[v]):Te(u[v]),p,z,_,E,R,C,T),v++}}else if(v>S)for(;v<=O;)Ie(f[v],_,E,!0),v++;else{const j=v,z=v,G=new Map;for(v=z;v<=S;v++){const me=u[v]=T?ke(u[v]):Te(u[v]);me.key!=null&&G.set(me.key,v)}let Z,ie=0;const Ee=S-z+1;let lt=!1,As=0;const Et=new Array(Ee);for(v=0;v<Ee;v++)Et[v]=0;for(v=j;v<=O;v++){const me=f[v];if(ie>=Ee){Ie(me,_,E,!0);continue}let Fe;if(me.key!=null)Fe=G.get(me.key);else for(Z=z;Z<=S;Z++)if(Et[Z-z]===0&&Ge(me,u[Z])){Fe=Z;break}Fe===void 0?Ie(me,_,E,!0):(Et[Fe-z]=v+1,Fe>=As?As=Fe:lt=!0,I(me,u[Fe],p,null,_,E,R,C,T),ie++)}const Rs=lt?Il(Et):at;for(Z=Rs.length-1,v=Ee-1;v>=0;v--){const me=z+v,Fe=u[me],Ps=me+1<L?u[me+1].el:b;Et[v]===0?I(null,Fe,p,Ps,_,E,R,C,T):lt&&(Z<0||v!==Rs[Z]?Ye(Fe,p,Ps,2):Z--)}}},Ye=(f,u,p,b,_=null)=>{const{el:E,type:R,transition:C,children:T,shapeFlag:v}=f;if(v&6){Ye(f.component.subTree,u,p,b);return}if(v&128){f.suspense.move(u,p,b);return}if(v&64){R.move(f,u,p,ot);return}if(R===he){s(E,u,p);for(let O=0;O<T.length;O++)Ye(T[O],u,p,b);s(f.anchor,u,p);return}if(R===Ot){$(f,u,p);return}if(b!==2&&v&1&&C)if(b===0)C.beforeEnter(E),s(E,u,p),de(()=>C.enter(E),_);else{const{leave:O,delayLeave:S,afterLeave:j}=C,z=()=>s(E,u,p),G=()=>{O(E,()=>{z(),j&&j()})};S?S(E,z,G):G()}else s(E,u,p)},Ie=(f,u,p,b=!1,_=!1)=>{const{type:E,props:R,ref:C,children:T,dynamicChildren:v,shapeFlag:L,patchFlag:O,dirs:S}=f;if(C!=null&&hn(C,null,p,f,!0),L&256){u.ctx.deactivate(f);return}const j=L&1&&S,z=!gt(f);let G;if(z&&(G=R&&R.onVnodeBeforeUnmount)&&ve(G,u,f),L&6)Hi(f.component,p,b);else{if(L&128){f.suspense.unmount(p,b);return}j&&Oe(f,null,u,"beforeUnmount"),L&64?f.type.remove(f,u,p,_,ot,b):v&&(E!==he||O>0&&O&64)?Se(v,u,p,!1,!0):(E===he&&O&384||!_&&L&16)&&Se(T,u,p),b&&xs(f)}(z&&(G=R&&R.onVnodeUnmounted)||j)&&de(()=>{G&&ve(G,u,f),j&&Oe(f,null,u,"unmounted")},p)},xs=f=>{const{type:u,el:p,anchor:b,transition:_}=f;if(u===he){Ni(p,b);return}if(u===Ot){P(f);return}const E=()=>{r(p),_&&!_.persisted&&_.afterLeave&&_.afterLeave()};if(f.shapeFlag&1&&_&&!_.persisted){const{leave:R,delayLeave:C}=_,T=()=>R(p,E);C?C(f.el,E,T):T()}else E()},Ni=(f,u)=>{let p;for(;f!==u;)p=g(f),r(f),f=p;r(u)},Hi=(f,u,p)=>{const{bum:b,scope:_,update:E,subTree:R,um:C}=f;b&&tn(b),_.stop(),E&&(E.active=!1,Ie(R,f,u,p)),C&&de(C,u),de(()=>{f.isUnmounted=!0},u),u&&u.pendingBranch&&!u.isUnmounted&&f.asyncDep&&!f.asyncResolved&&f.suspenseId===u.pendingId&&(u.deps--,u.deps===0&&u.resolve())},Se=(f,u,p,b=!1,_=!1,E=0)=>{for(let R=E;R<f.length;R++)Ie(f[R],u,p,b,_)},Kt=f=>f.shapeFlag&6?Kt(f.component.subTree):f.shapeFlag&128?f.suspense.next():g(f.anchor||f.el),Ts=(f,u,p)=>{f==null?u._vnode&&Ie(u._vnode,null,null,!0):I(u._vnode||null,f,u,null,null,null,p),$s(),fn(),u._vnode=f},ot={p:I,um:Ie,m:Ye,r:xs,mt:M,mc:x,pc:Q,pbc:B,n:Kt,o:e};let In,Fn;return t&&([In,Fn]=t(ot)),{render:Ts,hydrate:In,createApp:yl(Ts,In)}}function Je({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function ws(e,t,n=!1){const s=e.children,r=t.children;if(N(s)&&N(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]=ke(r[i]),l.el=o.el),n||ws(o,l)),l.type===bt&&(l.el=o.el)}}function Il(e){const t=e.slice(),n=[0];let s,r,i,o,l;const c=e.length;for(s=0;s<c;s++){const a=e[s];if(a!==0){if(r=n[n.length-1],e[r]<a){t[s]=r,n.push(s);continue}for(i=0,o=n.length-1;i<o;)l=i+o>>1,e[n[l]]<a?i=l+1:o=l;a<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}const Fl=e=>e.__isTeleport,Ft=e=>e&&(e.disabled||e.disabled===""),Js=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Zn=(e,t)=>{const n=e&&e.to;return se(n)?t?t(n):null:n},Ol={__isTeleport:!0,process(e,t,n,s,r,i,o,l,c,a){const{mc:d,pc:h,pbc:g,o:{insert:w,querySelector:A,createText:I,createComment:H}}=a,m=Ft(t.props);let{shapeFlag:y,children:$,dynamicChildren:P}=t;if(e==null){const k=t.el=I(""),q=t.anchor=I("");w(k,n,s),w(q,n,s);const K=t.target=Zn(t.props,A),x=t.targetAnchor=I("");K&&(w(x,K),o=o||Js(K));const U=(B,W)=>{y&16&&d($,B,W,r,i,o,l,c)};m?U(n,q):K&&U(K,x)}else{t.el=e.el;const k=t.anchor=e.anchor,q=t.target=e.target,K=t.targetAnchor=e.targetAnchor,x=Ft(e.props),U=x?n:q,B=x?k:K;if(o=o||Js(q),P?(g(e.dynamicChildren,P,U,r,i,o,l),ws(e,t,!0)):c||h(e,t,U,B,r,i,o,l,!1),m)x||Qt(t,n,k,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const W=t.target=Zn(t.props,A);W&&Qt(t,W,null,a,0)}else x&&Qt(t,q,K,a,1)}hi(t)},remove(e,t,n,s,{um:r,o:{remove:i}},o){const{shapeFlag:l,children:c,anchor:a,targetAnchor:d,target:h,props:g}=e;if(h&&i(d),(o||!Ft(g))&&(i(a),l&16))for(let w=0;w<c.length;w++){const A=c[w];r(A,t,n,!0,!!A.dynamicChildren)}},move:Qt,hydrate:Ml};function Qt(e,t,n,{o:{insert:s},m:r},i=2){i===0&&s(e.targetAnchor,t,n);const{el:o,anchor:l,shapeFlag:c,children:a,props:d}=e,h=i===2;if(h&&s(o,t,n),(!h||Ft(d))&&c&16)for(let g=0;g<a.length;g++)r(a[g],t,n,2);h&&s(l,t,n)}function Ml(e,t,n,s,r,i,{o:{nextSibling:o,parentNode:l,querySelector:c}},a){const d=t.target=Zn(t.props,c);if(d){const h=d._lpa||d.firstChild;if(t.shapeFlag&16)if(Ft(t.props))t.anchor=a(o(e),t,l(e),n,s,r,i),t.targetAnchor=h;else{t.anchor=o(e);let g=h;for(;g;)if(g=o(g),g&&g.nodeType===8&&g.data==="teleport anchor"){t.targetAnchor=g,d._lpa=t.targetAnchor&&o(t.targetAnchor);break}a(h,t,d,n,s,r,i)}hi(t)}return t.anchor&&o(t.anchor)}const lf=Ol;function hi(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;for(;n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}const he=Symbol.for("v-fgt"),bt=Symbol.for("v-txt"),be=Symbol.for("v-cmt"),Ot=Symbol.for("v-stc"),Mt=[];let Re=null;function pi(e=!1){Mt.push(Re=e?null:[])}function Ll(){Mt.pop(),Re=Mt[Mt.length-1]||null}let Bt=1;function Xs(e){Bt+=e}function gi(e){return e.dynamicChildren=Bt>0?Re||at:null,Ll(),Bt>0&&Re&&Re.push(e),e}function cf(e,t,n,s,r,i){return gi(bi(e,t,n,s,r,i,!0))}function mi(e,t,n,s,r){return gi(re(e,t,n,s,r,!0))}function pn(e){return e?e.__v_isVNode===!0:!1}function Ge(e,t){return e.type===t.type&&e.key===t.key}const Rn="__vInternal",_i=({key:e})=>e??null,sn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?se(e)||ce(e)||D(e)?{i:fe,r:e,k:t,f:!!n}:e:null);function bi(e,t=null,n=null,s=0,r=null,i=e===he?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&_i(t),ref:t&&sn(t),scopeId:Cn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:fe};return l?(Cs(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=se(n)?8:16),Bt>0&&!o&&Re&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Re.push(c),c}const re=Sl;function Sl(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===ni)&&(e=be),pn(e)){const l=qe(e,t,!0);return n&&Cs(l,n),Bt>0&&!i&&Re&&(l.shapeFlag&6?Re[Re.indexOf(e)]=l:Re.push(l)),l.patchFlag|=-2,l}if(Wl(e)&&(e=e.__vccOpts),t){t=Nl(t);let{class:l,style:c}=t;l&&!se(l)&&(t.class=os(l)),ee(c)&&(Dr(c)&&!N(c)&&(c=oe({},c)),t.style=is(c))}const o=se(e)?1:Jo(e)?128:Fl(e)?64:ee(e)?4:D(e)?2:0;return bi(e,t,n,s,r,o,i,!0)}function Nl(e){return e?Dr(e)||Rn in e?oe({},e):e:null}function qe(e,t,n=!1){const{props:s,ref:r,patchFlag:i,children:o}=e,l=t?Hl(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&_i(l),ref:t&&t.ref?n&&r?N(r)?r.concat(sn(t)):[r,sn(t)]:sn(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==he?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&qe(e.ssContent),ssFallback:e.ssFallback&&qe(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function yi(e=" ",t=0){return re(bt,null,e,t)}function ff(e,t){const n=re(Ot,null,e);return n.staticCount=t,n}function af(e="",t=!1){return t?(pi(),mi(be,null,e)):re(be,null,e)}function Te(e){return e==null||typeof e=="boolean"?re(be):N(e)?re(he,null,e.slice()):typeof e=="object"?ke(e):re(bt,null,String(e))}function ke(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:qe(e)}function Cs(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(N(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Cs(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(Rn in t)?t._ctx=fe:r===3&&fe&&(fe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else D(t)?(t={default:t,_ctx:fe},n=32):(t=String(t),s&64?(n=16,t=[yi(t)]):n=8);e.children=t,e.shapeFlag|=n}function Hl(...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=os([t.class,s.class]));else if(r==="style")t.style=is([t.style,s.style]);else if(Ut(r)){const i=t[r],o=s[r];o&&i!==o&&!(N(i)&&i.includes(o))&&(t[r]=i?[].concat(i,o):o)}else r!==""&&(t[r]=s[r])}return t}function ve(e,t,n,s=null){Ce(e,t,7,[n,s])}const $l=oi();let Bl=0;function Ul(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||$l,i={uid:Bl++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new Xi(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ci(s,r),emitsOptions:Yr(s,r),emit:null,emitted:null,propsDefaults:te,inheritAttrs:s.inheritAttrs,ctx:te,data:te,props:te,attrs:te,slots:te,refs:te,setupState:te,setupContext:null,attrsProxy:null,slotsProxy: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=Ko.bind(null,i),e.ce&&e.ce(i),i}let le=null;const vi=()=>le||fe;let Es,ct,Zs="__VUE_INSTANCE_SETTERS__";(ct=jn()[Zs])||(ct=jn()[Zs]=[]),ct.push(e=>le=e),Es=e=>{ct.length>1?ct.forEach(t=>t(e)):ct[0](e)};const yt=e=>{Es(e),e.scope.on()},rt=()=>{le&&le.scope.off(),Es(null)};function wi(e){return e.vnode.shapeFlag&4}let vt=!1;function jl(e,t=!1){vt=t;const{props:n,children:s}=e.vnode,r=wi(e);wl(e,n,r,t),xl(e,s);const i=r?Dl(e,t):void 0;return vt=!1,i}function Dl(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Pt(new Proxy(e.ctx,ul));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?Ei(e):null;yt(e),wt();const i=We(s,e,0,[e.props,r]);if(Ct(),rt(),Tr(i)){if(i.then(rt,rt),t)return i.then(o=>{Qs(e,o,t)}).catch(o=>{jt(o,e,0)});e.asyncDep=i}else Qs(e,i,t)}else Ci(e,t)}function Qs(e,t,n){D(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ee(t)&&(e.setupState=Kr(t)),Ci(e,n)}let Gs;function Ci(e,t,n){const s=e.type;if(!e.render){if(!t&&Gs&&!s.render){const r=s.template||ys(e).template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,a=oe(oe({isCustomElement:i,delimiters:l},o),c);s.render=Gs(r,a)}}e.render=s.render||Pe}yt(e),wt(),hl(e),Ct(),rt()}function kl(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return pe(e,"get","$attrs"),t[n]}}))}function Ei(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return kl(e)},slots:e.slots,emit:e.emit,expose:t}}function Pn(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Kr(Pt(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in It)return It[n](e)},has(t,n){return n in t||n in It}}))}function Kl(e,t=!0){return D(e)?e.displayName||e.name:e.name||t&&e.__name}function Wl(e){return D(e)&&"__vccOpts"in e}const xe=(e,t)=>$o(e,t,vt);function Qn(e,t,n){const s=arguments.length;return s===2?ee(t)&&!N(t)?pn(t)?re(e,null,[t]):re(e,t):re(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&pn(n)&&(n=[n]),re(e,t,n))}const Vl=Symbol.for("v-scx"),ql=()=>mt(Vl),zl="3.3.4",Yl="http://www.w3.org/2000/svg",et=typeof document<"u"?document:null,er=et&&et.createElement("template"),Jl={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?et.createElementNS(Yl,e):et.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>et.createTextNode(e),createComment:e=>et.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>et.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,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{er.innerHTML=s?`<svg>${e}</svg>`:e;const l=er.content;if(s){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]}};function Xl(e,t,n){const s=e._vtc;s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function Zl(e,t,n){const s=e.style,r=se(n);if(n&&!r){if(t&&!se(t))for(const i in t)n[i]==null&&Gn(s,i,"");for(const i in n)Gn(s,i,n[i])}else{const i=s.display;r?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=i)}}const tr=/\s*!important$/;function Gn(e,t,n){if(N(n))n.forEach(s=>Gn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Ql(e,t);tr.test(n)?e.setProperty(it(s),n.replace(tr,""),"important"):e[s]=n}}const nr=["Webkit","Moz","ms"],Nn={};function Ql(e,t){const n=Nn[t];if(n)return n;let s=Le(t);if(s!=="filter"&&s in e)return Nn[t]=s;s=_n(s);for(let r=0;r<nr.length;r++){const i=nr[r]+s;if(i in e)return Nn[t]=i}return t}const sr="http://www.w3.org/1999/xlink";function Gl(e,t,n,s,r){if(s&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(sr,t.slice(6,t.length)):e.setAttributeNS(sr,t,n);else{const i=Ji(t);n==null||i&&!Pr(n)?e.removeAttribute(t):e.setAttribute(t,i?"":n)}}function ec(e,t,n,s,r,i,o){if(t==="innerHTML"||t==="textContent"){s&&o(s,r,i),e[t]=n??"";return}const l=e.tagName;if(t==="value"&&l!=="PROGRESS"&&!l.includes("-")){e._value=n;const a=l==="OPTION"?e.getAttribute("value"):e.value,d=n??"";a!==d&&(e.value=d),n==null&&e.removeAttribute(t);return}let c=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=Pr(n):n==null&&a==="string"?(n="",c=!0):a==="number"&&(n=0,c=!0)}try{e[t]=n}catch{}c&&e.removeAttribute(t)}function ft(e,t,n,s){e.addEventListener(t,n,s)}function tc(e,t,n,s){e.removeEventListener(t,n,s)}function nc(e,t,n,s,r=null){const i=e._vei||(e._vei={}),o=i[t];if(s&&o)o.value=s;else{const[l,c]=sc(t);if(s){const a=i[t]=oc(s,r);ft(e,l,a,c)}else o&&(tc(e,l,o,c),i[t]=void 0)}}const rr=/(?:Once|Passive|Capture)$/;function sc(e){let t;if(rr.test(e)){t={};let s;for(;s=e.match(rr);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):it(e.slice(2)),t]}let Hn=0;const rc=Promise.resolve(),ic=()=>Hn||(rc.then(()=>Hn=0),Hn=Date.now());function oc(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Ce(lc(s,n.value),t,5,[s])};return n.value=e,n.attached=ic(),n}function lc(e,t){if(N(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 ir=/^on[a-z]/,cc=(e,t,n,s,r=!1,i,o,l,c)=>{t==="class"?Xl(e,s,r):t==="style"?Zl(e,n,s):Ut(t)?ts(t)||nc(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):fc(e,t,s,r))?ec(e,t,s,i,o,l,c):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Gl(e,t,s,r))};function fc(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&ir.test(t)&&D(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||ir.test(t)&&se(n)?!1:t in e}const je="transition",xt="animation",xi=(e,{slots:t})=>Qn(el,ac(e),t);xi.displayName="Transition";const Ti={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};xi.props=oe({},Zr,Ti);const Xe=(e,t=[])=>{N(e)?e.forEach(n=>n(...t)):e&&e(...t)},or=e=>e?N(e)?e.some(t=>t.length>1):e.length>1:!1;function ac(e){const t={};for(const F in e)F in Ti||(t[F]=e[F]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:a=o,appearToClass:d=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:g=`${n}-leave-active`,leaveToClass:w=`${n}-leave-to`}=e,A=uc(r),I=A&&A[0],H=A&&A[1],{onBeforeEnter:m,onEnter:y,onEnterCancelled:$,onLeave:P,onLeaveCancelled:k,onBeforeAppear:q=m,onAppear:K=y,onAppearCancelled:x=$}=t,U=(F,V,M)=>{Ze(F,V?d:l),Ze(F,V?a:o),M&&M()},B=(F,V)=>{F._isLeaving=!1,Ze(F,h),Ze(F,w),Ze(F,g),V&&V()},W=F=>(V,M)=>{const ge=F?K:y,X=()=>U(V,F,M);Xe(ge,[V,X]),lr(()=>{Ze(V,F?c:i),De(V,F?d:l),or(ge)||cr(V,s,I,X)})};return oe(t,{onBeforeEnter(F){Xe(m,[F]),De(F,i),De(F,o)},onBeforeAppear(F){Xe(q,[F]),De(F,c),De(F,a)},onEnter:W(!1),onAppear:W(!0),onLeave(F,V){F._isLeaving=!0;const M=()=>B(F,V);De(F,h),pc(),De(F,g),lr(()=>{F._isLeaving&&(Ze(F,h),De(F,w),or(P)||cr(F,s,H,M))}),Xe(P,[F,M])},onEnterCancelled(F){U(F,!1),Xe($,[F])},onAppearCancelled(F){U(F,!0),Xe(x,[F])},onLeaveCancelled(F){B(F),Xe(k,[F])}})}function uc(e){if(e==null)return null;if(ee(e))return[$n(e.enter),$n(e.leave)];{const t=$n(e);return[t,t]}}function $n(e){return Ki(e)}function De(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function Ze(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function lr(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let dc=0;function cr(e,t,n,s){const r=e._endId=++dc,i=()=>{r===e._endId&&s()};if(n)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=hc(e,t);if(!o)return s();const a=o+"end";let d=0;const h=()=>{e.removeEventListener(a,g),i()},g=w=>{w.target===e&&++d>=c&&h()};setTimeout(()=>{d<c&&h()},l+1),e.addEventListener(a,g)}function hc(e,t){const n=window.getComputedStyle(e),s=A=>(n[A]||"").split(", "),r=s(`${je}Delay`),i=s(`${je}Duration`),o=fr(r,i),l=s(`${xt}Delay`),c=s(`${xt}Duration`),a=fr(l,c);let d=null,h=0,g=0;t===je?o>0&&(d=je,h=o,g=i.length):t===xt?a>0&&(d=xt,h=a,g=c.length):(h=Math.max(o,a),d=h>0?o>a?je:xt:null,g=d?d===je?i.length:c.length:0);const w=d===je&&/\b(transform|all)(,|$)/.test(s(`${je}Property`).toString());return{type:d,timeout:h,propCount:g,hasTransform:w}}function fr(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>ar(n)+ar(e[s])))}function ar(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function pc(){return document.body.offsetHeight}const ur=e=>{const t=e.props["onUpdate:modelValue"]||!1;return N(t)?n=>tn(t,n):t};function gc(e){e.target.composing=!0}function dr(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const uf={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e._assign=ur(r);const i=s||r.props&&r.props.type==="number";ft(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;n&&(l=l.trim()),i&&(l=Un(l)),e._assign(l)}),n&&ft(e,"change",()=>{e.value=e.value.trim()}),t||(ft(e,"compositionstart",gc),ft(e,"compositionend",dr),ft(e,"change",dr))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:s,number:r}},i){if(e._assign=ur(i),e.composing||document.activeElement===e&&e.type!=="range"&&(n||s&&e.value.trim()===t||(r||e.type==="number")&&Un(e.value)===t))return;const o=t??"";e.value!==o&&(e.value=o)}},mc=["ctrl","shift","alt","meta"],_c={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)=>mc.some(n=>e[`${n}Key`]&&!t.includes(n))},df=(e,t)=>(n,...s)=>{for(let r=0;r<t.length;r++){const i=_c[t[r]];if(i&&i(n,t))return}return e(n,...s)},bc={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},hf=(e,t)=>n=>{if(!("key"in n))return;const s=it(n.key);if(t.some(r=>r===s||bc[r]===s))return e(n)},Ai=oe({patchProp:cc},Jl);let Lt,hr=!1;function yc(){return Lt||(Lt=Rl(Ai))}function vc(){return Lt=hr?Lt:Pl(Ai),hr=!0,Lt}const pf=(...e)=>{const t=yc().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Ri(s);if(!r)return;const i=t._component;!D(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.innerHTML="";const o=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t},gf=(...e)=>{const t=vc().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Ri(s);if(r)return n(r,!0,r instanceof SVGElement)},t};function Ri(e){return se(e)?document.querySelector(e):e}const mf=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},wc="modulepreload",Cc=function(e){return"/"+e},pr={},_f=function(t,n,s){if(!n||n.length===0)return t();const r=document.getElementsByTagName("link");return Promise.all(n.map(i=>{if(i=Cc(i),i in pr)return;pr[i]=!0;const o=i.endsWith(".css"),l=o?'[rel="stylesheet"]':"";if(!!s)for(let d=r.length-1;d>=0;d--){const h=r[d];if(h.href===i&&(!o||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${l}`))return;const a=document.createElement("link");if(a.rel=o?"stylesheet":wc,o||(a.as="script",a.crossOrigin=""),a.href=i,document.head.appendChild(a),o)return new Promise((d,h)=>{a.addEventListener("load",d),a.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>t()).catch(i=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=i,window.dispatchEvent(o),!o.defaultPrevented)throw i})},Ec=window.__VP_SITE_DATA__,Pi=/^[a-z]+:/i,bf=/^pathname:\/\//,yf="vitepress-theme-appearance",Ii=/#.*$/,xc=/(index)?\.(md|html)$/,we=typeof document<"u",Fi={relativePath:"",filePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0,isNotFound:!0};function Tc(e,t,n=!1){if(t===void 0)return!1;if(e=gr(`/${e}`),n)return new RegExp(t).test(e);if(gr(t)!==e)return!1;const s=t.match(Ii);return s?(we?location.hash:"")===s[0]:!0}function gr(e){return decodeURI(e).replace(Ii,"").replace(xc,"")}function Ac(e){return Pi.test(e)}function Rc(e,t){var s,r,i,o,l,c,a;const n=Object.keys(e.locales).find(d=>d!=="root"&&!Ac(d)&&Tc(t,`/${d}/`,!0))||"root";return Object.assign({},e,{localeIndex:n,lang:((s=e.locales[n])==null?void 0:s.lang)??e.lang,dir:((r=e.locales[n])==null?void 0:r.dir)??e.dir,title:((i=e.locales[n])==null?void 0:i.title)??e.title,titleTemplate:((o=e.locales[n])==null?void 0:o.titleTemplate)??e.titleTemplate,description:((l=e.locales[n])==null?void 0:l.description)??e.description,head:Mi(e.head,((c=e.locales[n])==null?void 0:c.head)??[]),themeConfig:{...e.themeConfig,...(a=e.locales[n])==null?void 0:a.themeConfig}})}function Oi(e,t){const n=t.title||e.title,s=t.titleTemplate??e.titleTemplate;if(typeof s=="string"&&s.includes(":title"))return s.replace(/:title/g,n);const r=Pc(e.title,s);return`${n}${r}`}function Pc(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function Ic(e,t){const[n,s]=t;if(n!=="meta")return!1;const r=Object.entries(s)[0];return r==null?!1:e.some(([i,o])=>i===n&&o[r[0]]===r[1])}function Mi(e,t){return[...e.filter(n=>!Ic(t,n)),...t]}const Fc=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,Oc=/^[a-z]:/i;function mr(e){const t=Oc.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(Fc,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}const Mc=Symbol(),nt=Po(Ec);function vf(e){const t=xe(()=>Rc(nt.value,e.data.relativePath));return{site:t,theme:xe(()=>t.value.themeConfig),page:xe(()=>e.data),frontmatter:xe(()=>e.data.frontmatter),params:xe(()=>e.data.params),lang:xe(()=>t.value.lang),dir:xe(()=>t.value.dir),localeIndex:xe(()=>t.value.localeIndex||"root"),title:xe(()=>Oi(t.value,e.data)),description:xe(()=>e.data.description||t.value.description),isDark:ht(!1)}}function Lc(){const e=mt(Mc);if(!e)throw new Error("vitepress data not properly injected in app");return e}function Sc(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function _r(e){return Pi.test(e)||e.startsWith(".")?e:Sc(nt.value.base,e)}function Nc(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t=t.replace(/\/$/,"/index"),we){const n="/";t=mr(t.slice(n.length).replace(/\//g,"_")||"index")+".md";let s=__VP_HASH_MAP__[t.toLowerCase()];if(s||(t=t.endsWith("_index.md")?t.slice(0,-9)+".md":t.slice(0,-3)+"_index.md",s=__VP_HASH_MAP__[t.toLowerCase()]),!s)return null;t=`${n}assets/${t}.${s}.js`}else t=`./${mr(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}let rn=[];function wf(e){rn.push(e),An(()=>{rn=rn.filter(t=>t!==e)})}const Hc=Symbol(),br="http://a.com",$c=()=>({path:"/",component:null,data:Fi});function Cf(e,t){const n=yn($c()),s={route:n,go:r};async function r(l=we?location.href:"/"){var a,d;if(await((a=s.onBeforeRouteChange)==null?void 0:a.call(s,l))===!1)return;const c=new URL(l,br);nt.value.cleanUrls||!c.pathname.endsWith("/")&&!c.pathname.endsWith(".html")&&(c.pathname+=".html",l=c.pathname+c.search+c.hash),wr(l),await o(l),await((d=s.onAfterRouteChanged)==null?void 0:d.call(s,l))}let i=null;async function o(l,c=0,a=!1){var g;if(await((g=s.onBeforePageLoad)==null?void 0:g.call(s,l))===!1)return;const d=new URL(l,br),h=i=d.pathname;try{let w=await e(h);if(!w)throw new Error(`Page not found: ${h}`);if(i===h){i=null;const{default:A,__pageData:I}=w;if(!A)throw new Error(`Invalid route component: ${A}`);n.path=we?h:_r(h),n.component=Pt(A),n.data=Pt(I),we&&Vr(()=>{let H=nt.value.base+I.relativePath.replace(/(?:(^|\/)index)?\.md$/,"$1");if(!nt.value.cleanUrls&&!H.endsWith("/")&&(H+=".html"),H!==d.pathname&&(d.pathname=H,l=H+d.search+d.hash,history.replaceState(null,"",l)),d.hash&&!c){let m=null;try{m=document.getElementById(decodeURIComponent(d.hash).slice(1))}catch(y){console.warn(y)}if(m){yr(m,d.hash);return}}window.scrollTo(0,c)})}}catch(w){if(!/fetch|Page not found/.test(w.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(w),!a)try{const A=await fetch(nt.value.base+"hashmap.json");window.__VP_HASH_MAP__=await A.json(),await o(l,c,!0);return}catch{}i===h&&(i=null,n.path=we?h:_r(h),n.component=t?Pt(t):null,n.data=Fi)}}return we&&(window.addEventListener("click",l=>{if(l.target.closest("button"))return;const a=l.target.closest("a");if(a&&!a.closest(".vp-raw")&&(a instanceof SVGElement||!a.download)){const{target:d}=a,{href:h,origin:g,pathname:w,hash:A,search:I}=new URL(a.href instanceof SVGAnimatedString?a.href.animVal:a.href,a.baseURI),H=window.location,m=w.match(/\.\w+$/);!l.ctrlKey&&!l.shiftKey&&!l.altKey&&!l.metaKey&&!d&&g===H.origin&&!(m&&m[0]!==".html")&&(l.preventDefault(),w===H.pathname&&I===H.search?(A!==H.hash&&(history.pushState(null,"",A),window.dispatchEvent(new Event("hashchange"))),A?yr(a,A,a.classList.contains("header-anchor")):(wr(h),window.scrollTo(0,0))):r(h))}},{capture:!0}),window.addEventListener("popstate",l=>{o(location.href,l.state&&l.state.scrollPosition||0)}),window.addEventListener("hashchange",l=>{l.preventDefault()})),s}function Bc(){const e=mt(Hc);if(!e)throw new Error("useRouter() is called without provider.");return e}function Li(){return Bc().route}function yr(e,t,n=!1){let s=null;try{s=e.classList.contains("header-anchor")?e:document.getElementById(decodeURIComponent(t).slice(1))}catch(r){console.warn(r)}if(s){let a=function(){!n||Math.abs(c-window.scrollY)>window.innerHeight?window.scrollTo(0,c):window.scrollTo({left:0,top:c,behavior:"smooth"})},r=nt.value.scrollOffset,i=0,o=24;if(typeof r=="object"&&"padding"in r&&(o=r.padding,r=r.selector),typeof r=="number")i=r;else if(typeof r=="string")i=vr(r,o);else if(Array.isArray(r))for(const d of r){const h=vr(d,o);if(h){i=h;break}}const l=parseInt(window.getComputedStyle(s).paddingTop,10),c=window.scrollY+s.getBoundingClientRect().top-i+l;requestAnimationFrame(a)}}function vr(e,t){const n=document.querySelector(e);if(!n)return 0;const s=n.getBoundingClientRect().bottom;return s<0?0:s+t}function wr(e){we&&e!==location.href&&(history.replaceState({scrollPosition:window.scrollY},document.title),history.pushState(null,"",e))}const Cr=()=>rn.forEach(e=>e()),Ef=_s({name:"VitePressContent",props:{as:{type:[Object,String],default:"div"}},setup(e){const t=Li(),{site:n}=Lc();return()=>Qn(e.as,n.value.contentProps??{style:{position:"relative"}},[t.component?Qn(t.component,{onVnodeMounted:Cr,onVnodeUpdated:Cr}):"404 Page Not Found"])}}),xf=_s({setup(e,{slots:t}){const n=ht(!1);return Tn(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}});function Tf(){we&&window.addEventListener("click",e=>{var n;const t=e.target;if(t.matches(".vp-code-group input")){const s=(n=t.parentElement)==null?void 0:n.parentElement;if(!s)return;const r=Array.from(s.querySelectorAll("input")).indexOf(t);if(r<0)return;const i=s.querySelector(".blocks");if(!i)return;const o=Array.from(i.children).find(a=>a.classList.contains("active"));if(!o)return;const l=i.children[r];if(!l||o===l)return;o.classList.remove("active"),l.classList.add("active");const c=s==null?void 0:s.querySelector(`label[for="${t.id}"]`);c==null||c.scrollIntoView({block:"nearest"})}})}function Af(){if(we){const e=new WeakMap;window.addEventListener("click",t=>{var s;const n=t.target;if(n.matches('div[class*="language-"] > button.copy')){const r=n.parentElement,i=(s=n.nextElementSibling)==null?void 0:s.nextElementSibling;if(!r||!i)return;const o=/language-(shellscript|shell|bash|sh|zsh)/.test(r.className);let l="";i.querySelectorAll("span.line:not(.diff.remove)").forEach(c=>l+=(c.textContent||"")+`
|
|
`),l=l.slice(0,-1),o&&(l=l.replace(/^ *(\$|>) /gm,"").trim()),Uc(l).then(()=>{n.classList.add("copied"),clearTimeout(e.get(n));const c=setTimeout(()=>{n.classList.remove("copied"),n.blur(),e.delete(n)},2e3);e.set(n,c)})}})}}async function Uc(e){try{return navigator.clipboard.writeText(e)}catch{const t=document.createElement("textarea"),n=document.activeElement;t.value=e,t.setAttribute("readonly",""),t.style.contain="strict",t.style.position="absolute",t.style.left="-9999px",t.style.fontSize="12pt";const s=document.getSelection(),r=s?s.rangeCount>0&&s.getRangeAt(0):null;document.body.appendChild(t),t.select(),t.selectionStart=0,t.selectionEnd=e.length,document.execCommand("copy"),document.body.removeChild(t),r&&(s.removeAllRanges(),s.addRange(r)),n&&n.focus()}}function Rf(e,t){let n=[],s=!0;const r=i=>{if(s){s=!1;return}n.forEach(o=>document.head.removeChild(o)),n=[],i.forEach(o=>{const l=Er(o);document.head.appendChild(l),n.push(l)})};Xo(()=>{const i=e.data,o=t.value,l=i&&i.description,c=i&&i.frontmatter.head||[];document.title=Oi(o,i);const a=l||o.description;let d=document.querySelector("meta[name=description]");d?d.setAttribute("content",a):Er(["meta",{name:"description",content:a}]),r(Mi(o.head,Dc(c)))})}function Er([e,t,n]){const s=document.createElement(e);for(const r in t)s.setAttribute(r,t[r]);return n&&(s.innerHTML=n),s}function jc(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function Dc(e){return e.filter(t=>!jc(t))}const Bn=new Set,Si=()=>document.createElement("link"),kc=e=>{const t=Si();t.rel="prefetch",t.href=e,document.head.appendChild(t)},Kc=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let Gt;const Wc=we&&(Gt=Si())&&Gt.relList&&Gt.relList.supports&&Gt.relList.supports("prefetch")?kc:Kc;function Pf(){if(!we||!window.IntersectionObserver)return;let e;if((e=navigator.connection)&&(e.saveData||/2g/.test(e.effectiveType)))return;const t=window.requestIdleCallback||setTimeout;let n=null;const s=()=>{n&&n.disconnect(),n=new IntersectionObserver(i=>{i.forEach(o=>{if(o.isIntersecting){const l=o.target;n.unobserve(l);const{pathname:c}=l;if(!Bn.has(c)){Bn.add(c);const a=Nc(c);a&&Wc(a)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(i=>{const{hostname:o,pathname:l}=new URL(i.href instanceof SVGAnimatedString?i.href.animVal:i.href,i.baseURI),c=l.match(/\.\w+$/);c&&c[0]!==".html"||i.target!=="_blank"&&o===location.hostname&&(l!==location.pathname?n.observe(i):Bn.add(l))})})};Tn(s);const r=Li();nn(()=>r.path,s),An(()=>{n&&n.disconnect()})}export{_f as $,Xo as A,vi as B,ce as C,Po as D,Vr as E,Tc as F,we as G,An as H,Zc as I,ol as J,ef as K,he as L,nf as M,wf as N,re as O,bf as P,tf as Q,Pi as R,Li as S,xi as T,Hl as U,mt as V,is as W,ff as X,yf as Y,Gc as Z,mf as _,yi as a,vl as a0,hf as a1,rf as a2,df as a3,of as a4,Rf as a5,Hc as a6,vf as a7,Mc as a8,Ef as a9,xf as aa,nt as ab,gf as ac,Cf as ad,Nc as ae,Pf as af,Af as ag,Tf as ah,Qn as ai,Bc as aj,ti as ak,Qc as al,uf as am,lf as an,Pt as ao,pf as ap,mi as b,cf as c,_s as d,af as e,_r as f,xe as g,ht as h,Ac as i,Tn as j,bi as k,Fo as l,Xc as m,os as n,pi as o,Jc as p,Qi as q,sf as r,qc as s,Vc as t,Lc as u,Yc as v,Wo as w,jr as x,zc as y,nn as z};
|