Files

19 lines
105 KiB
JavaScript
Raw Permalink Normal View History

2025-08-11 20:13:16 +08:00
/**
* @vue/shared v3.5.18
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**//*! #__NO_SIDE_EFFECTS__ */function js(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ee={},Ot=[],Be=()=>{},Qo=()=>!1,sn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Vs=e=>e.startsWith("onUpdate:"),ue=Object.assign,ks=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Zo=Object.prototype.hasOwnProperty,Q=(e,t)=>Zo.call(e,t),K=Array.isArray,Pt=e=>Dn(e)==="[object Map]",di=e=>Dn(e)==="[object Set]",q=e=>typeof e=="function",le=e=>typeof e=="string",Ze=e=>typeof e=="symbol",se=e=>e!==null&&typeof e=="object",hi=e=>(se(e)||q(e))&&q(e.then)&&q(e.catch),pi=Object.prototype.toString,Dn=e=>pi.call(e),el=e=>Dn(e).slice(8,-1),gi=e=>Dn(e)==="[object Object]",Us=e=>le(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Lt=js(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),$n=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},tl=/-(\w)/g,Ne=$n(e=>e.replace(tl,(t,n)=>n?n.toUpperCase():"")),nl=/\B([A-Z])/g,at=$n(e=>e.replace(nl,"-$1").toLowerCase()),jn=$n(e=>e.charAt(0).toUpperCase()+e.slice(1)),Sn=$n(e=>e?`on${jn(e)}`:""),it=(e,t)=>!Object.is(e,t),Tn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Ts=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},xs=e=>{const t=parseFloat(e);return isNaN(t)?e:t},sl=e=>{const t=le(e)?Number(e):NaN;return isNaN(t)?e:t};let gr;const Vn=()=>gr||(gr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ws(e){if(K(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=le(s)?ll(s):Ws(s);if(r)for(const i in r)t[i]=r[i]}return t}else if(le(e)||se(e))return e}const rl=/;(?![^(]*\))/g,il=/:([^]+)/,ol=/\/\*[^]*?\*\//g;function ll(e){const t={};return e.replace(ol,"").split(rl).forEach(n=>{if(n){const s=n.split(il);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Bs(e){let t="";if(le(e))t=e;else if(K(e))for(let n=0;n<e.length;n++){const s=Bs(e[n]);s&&(t+=s+" ")}else if(se(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const cl="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",al=js(cl);function mi(e){return!!e||e===""}const vi=e=>!!(e&&e.__v_isRef===!0),fl=e=>le(e)?e:e==null?"":K(e)||se(e)&&(e.toString===pi||!q(e.toString))?vi(e)?fl(e.value):JSON.stringify(e,yi,2):String(e),yi=(e,t)=>vi(t)?yi(e,t.value):Pt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[es(s,i)+" =>"]=r,n),{})}:di(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>es(n))}:Ze(t)?es(t):se(t)&&!K(t)&&!gi(t)?String(t):t,es=(e,t="")=>{var n;return Ze(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
* @vue/reactivity v3.5.18
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let ve;class ul{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=ve,!t&&ve&&(this.index=(ve.scopes||(ve.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=ve;try{return ve=this,t()}finally{ve=n}}}on(){++this._on===1&&(this.prevScope=ve,ve=this)}off(){this._on>0&&--this._on===0&&(ve=this.prevScope,this.prevScope=void 0)}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 _i(){return ve}function dl(e,t=!1){ve&&ve.cleanups.push(e)}let ne;const ts=new WeakSet;class bi{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,ve&&ve.active&&ve.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ts.has(this)&&(ts.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Si(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,mr(this),Ti(this);const t=ne,n=He;ne=this,He=!0;try{return this.fn()}finally{xi(this),ne=t,He=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Gs(t);this.deps=this.depsTail=void 0,mr(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ts.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Es(this)&&this.run()}get dirty(){return Es(this)}}let wi=0,Wt,Bt;function Si(e,t=!1){if(e.flags|=8,t){e.next=Bt,Bt=e;return}e.next=Wt,Wt=e}function Ks(){wi++}function qs(){if(--wi>0)return;if(Bt){let t=Bt;for(Bt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Wt;){let t=Wt;for(Wt=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 Ti(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function xi(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Gs(s),hl(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&&(Ei(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ei(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Jt)||(e.globalVersion=Jt,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Es(e))))return;e.flags|=2;const t=e.dep,n=ne,s=He;ne=e,He=!0;try{Ti(e);const r=e.fn(e._value);(t.version===0||it(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{ne=n,He=s,xi(e),e.flags&=-3}}function Gs(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)Gs(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function hl(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let He=!0;const Ci=[];function Je(){Ci.push(He),He=!1}function ze(){const e=Ci.pop();He=e===void 0?!0:e}function mr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ne;ne=void 0;try{t()}finally{ne=n}}}let Jt=0;class pl{constructor(t,n){this.sub=t,this.dep=n,this.v
* @vue/runtime-core v3.5.18
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function rn(e,t,n,s){try{return s?e(...s):e()}catch(r){on(r,t,n)}}function $e(e,t,n,s){if(q(e)){const r=rn(e,t,n,s);return r&&hi(r)&&r.catch(i=>{on(i,t,n)}),r}if(K(e)){const r=[];for(let i=0;i<e.length;i++)r.push($e(e[i],t,n,s));return r}}function on(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||ee;if(t){let l=t.parent;const c=t.proxy,f=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const a=l.ec;if(a){for(let d=0;d<a.length;d++)if(a[d](e,c,f)===!1)return}l=l.parent}if(i){Je(),rn(i,null,10,[e,c,f]),ze();return}}Kl(e,n,r,s,o)}function Kl(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const Se=[];let Ue=-1;const It=[];let nt=null,At=0;const Hi=Promise.resolve();let Ln=null;function Bn(e){const t=Ln||Hi;return e?t.then(this?e.bind(this):e):t}function ql(e){let t=Ue+1,n=Se.length;for(;t<n;){const s=t+n>>>1,r=Se[s],i=Qt(r);i<e||i===e&&r.flags&2?t=s+1:n=s}return t}function Qs(e){if(!(e.flags&1)){const t=Qt(e),n=Se[Se.length-1];!n||!(e.flags&2)&&t>=Qt(n)?Se.push(e):Se.splice(ql(t),0,e),e.flags|=1,Di()}}function Di(){Ln||(Ln=Hi.then($i))}function Gl(e){K(e)?It.push(...e):nt&&e.id===-1?nt.splice(At+1,0,e):e.flags&1||(It.push(e),e.flags|=1),Di()}function yr(e,t,n=Ue+1){for(;n<Se.length;n++){const s=Se[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;Se.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function In(e){if(It.length){const t=[...new Set(It)].sort((n,s)=>Qt(n)-Qt(s));if(It.length=0,nt){nt.push(...t);return}for(nt=t,At=0;At<nt.length;At++){const n=nt[At];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}nt=null,At=0}}const Qt=e=>e.id==null?e.flags&2?-1:1/0:e.id;function $i(e){try{for(Ue=0;Ue<Se.length;Ue++){const t=Se[Ue];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),rn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Ue<Se.length;Ue++){const t=Se[Ue];t&&(t.flags&=-2)}Ue=-1,Se.length=0,In(),Ln=null,(Se.length||It.length)&&$i()}}let ge=null,ji=null;function Nn(e){const t=ge;return ge=e,ji=e&&e.type.__scopeId||null,t}function Xl(e,t=ge,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Ir(-1);const i=Nn(t);let o;try{o=e(...r)}finally{Nn(i),s._d&&Ir(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function Lf(e,t){if(ge===null)return e;const n=Yn(ge),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,o,l,c=ee]=t[r];i&&(q(i)&&(i={mounted:i,updated:i}),i.deep&&Ye(o),s.push({dir:i,instance:n,value:o,oldValue:void 0,arg:l,modifiers:c}))}return e}function We(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&&(Je(),$e(c,n,8,[e.el,l,e,t]),ze())}}const Vi=Symbol("_vte"),ki=e=>e.__isTeleport,Kt=e=>e&&(e.disabled||e.disabled===""),_r=e=>e&&(e.defer||e.defer===""),br=e=>typeof SVGElement<"u"&&e instanceof SVGElement,wr=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Rs=(e,t)=>{const n=e&&e.to;return le(n)?t?t(n):null:n},Ui={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,i,o,l,c,f){const{mc:a,pc:d,pbc:m,o:{insert:v,querySelector:b,createText:_,createComment:U}}=f,L=Kt(t.props);let{shapeFlag:D,children:p,dynamicChildren:g}=t;if(e==null){const R=t.el=_(""),$=t.anchor=_("");v(R,n,s),v($,n,s);const M=(T,O)=>{D&16&&(r&&r.isCE&&(r.ce._teleportTarget=T),a(p,T,O,r,i,o,l,c))},V=()=>{const T=t.target=Rs(t.props,b),O=Wi(T,t,_,v);T&&(o!=="svg"&&br(T)?o="svg":o!=="mathml"&&wr(T)&&(o="mathml"),L||(M(T,O),En(t,!1)))};L&&(M(n,$),En(t,!0)),_r(t.props)?(t.el.__isMounted=!1,we(()=>{V(),delete t.el.__isMounted},i)):V()}else{if(_r(t.props)&&e.el.__isMounted===!1){we(()=>{Ui.process(e,t,n,s,r,i,o,l,c,f)},i);return}t.el=e.el,t.targetStart=e.targetStart;const R=t.anchor=e.anchor,$=t.target=e.target,M=t.targetAnchor=e.targetAnchor,V=Kt(e.props),T=V?n:$,O=V?R:M;if(o==="svg"||br($)?o="svg":(o==="mathml"||wr($))&&(o="mathml"),g?(m(e.dynamicChildren,g,T,r,i,o,l),sr(e,t,!0)):c||d(e,t,T,O,r,i,o,l,!1),L)V?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):pn(t,n,R,f,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const A=t.target=Rs(t.props,b);A&&pn
`&&(p.tagName==="PRE"||p.tagName==="TEXTAREA")&&(j=j.slice(1)),p.textContent!==j&&(vn(p,0)||Ct(),p.textContent=g.children)}if(O){if(ie||!V||A&48){const j=p.tagName.includes("-");for(const oe in O)(ie&&(oe.endsWith("value")||oe==="indeterminate")||sn(oe)&&!Lt(oe)||oe[0]==="."||j)&&s(p,oe,null,O[oe],void 0,R)}else if(O.onClick)s(p,"onClick",null,O.onClick,void 0,R);else if(A&4&&vt(O.style))for(const j in O.style)O.style[j]}let X;(X=O&&O.onVnodeBeforeMount)&&Oe(X,R,g),F&&We(g,null,R,"beforeMount"),((X=O&&O.onVnodeMounted)||F||W)&&wo(()=>{X&&Oe(X,R,g),W&&Y.enter(p),F&&We(g,null,R,"mounted")},$)}return p.nextSibling},v=(p,g,R,$,M,V,T)=>{T=T||!!g.dynamicChildren;const O=g.children,A=O.length;for(let w=0;w<A;w++){const F=T?O[w]:O[w]=Pe(O[w]),Y=F.type===wt;p?(Y&&!T&&w+1<A&&Pe(O[w+1]).type===wt&&(c(r(p.data.slice(F.children.length)),R,i(p)),p.data=F.children),p=d(p,F,$,M,V,T)):Y&&!F.children?c(F.el=r(""),R):(vn(R,1)||Ct(),n(null,F,R,null,$,M,mn(R),V))}return p},b=(p,g,R,$,M,V)=>{const{slotScopeIds:T}=g;T&&(M=M?M.concat(T):T);const O=o(p),A=v(i(p),g,O,R,$,M,V);return A&&Mt(A)&&A.data==="]"?i(g.anchor=A):(Ct(),c(g.anchor=f("]"),O,A),A)},_=(p,g,R,$,M,V)=>{if(vn(p.parentElement,1)||Ct(),g.el=null,V){const A=U(p);for(;;){const w=i(p);if(w&&w!==A)l(w);else break}}const T=i(p),O=o(p);return l(p),n(null,g,O,T,R,$,mn(O),M),R&&(R.vnode.el=g.el,_o(R,g.el)),T},U=(p,g="[",R="]")=>{let $=0;for(;p;)if(p=i(p),p&&Mt(p)&&(p.data===g&&$++,p.data===R)){if($===0)return i(p);$--}return p},L=(p,g,R)=>{const $=g.parentNode;$&&$.replaceChild(p,g);let M=R;for(;M;)M.vnode.el===g&&(M.vnode.el=M.subTree.el=p),M=M.parent},D=p=>p.nodeType===1&&p.tagName==="TEMPLATE";return[a,d]}const xr="data-allow-mismatch",nc={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function vn(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(xr);)e=e.parentElement;const n=e&&e.getAttribute(xr);if(n==null)return!1;if(n==="")return!0;{const s=n.split(",");return t===0&&s.includes("children")?!0:s.includes(nc[t])}}Vn().requestIdleCallback;Vn().cancelIdleCallback;function sc(e,t){if(Mt(e)&&e.data==="["){let n=1,s=e.nextSibling;for(;s;){if(s.nodeType===1){if(t(s)===!1)break}else if(Mt(s))if(s.data==="]"){if(--n===0)break}else s.data==="["&&n++;s=s.nextSibling}}else t(e)}const yt=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Nf(e){q(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:r=200,hydrate:i,timeout:o,suspensible:l=!0,onError:c}=e;let f=null,a,d=0;const m=()=>(d++,f=null,v()),v=()=>{let b;return f||(b=f=t().catch(_=>{if(_=_ instanceof Error?_:new Error(String(_)),c)return new Promise((U,L)=>{c(_,()=>U(m()),()=>L(_),d+1)});throw _}).then(_=>b!==f&&f?f:(_&&(_.__esModule||_[Symbol.toStringTag]==="Module")&&(_=_.default),a=_,_)))};return Zs({name:"AsyncComponentWrapper",__asyncLoader:v,__asyncHydrate(b,_,U){let L=!1;(_.bu||(_.bu=[])).push(()=>L=!0);const D=()=>{L||U()},p=i?()=>{const g=i(D,R=>sc(b,R));g&&(_.bum||(_.bum=[])).push(g)}:D;a?p():v().then(()=>!_.isUnmounted&&p())},get __asyncResolved(){return a},setup(){const b=pe;if(er(b),a)return()=>is(a,b);const _=p=>{f=null,on(p,b,13,!s)};if(l&&b.suspense||Ht)return v().then(p=>()=>is(p,b)).catch(p=>(_(p),()=>s?ae(s,{error:p}):null));const U=De(!1),L=De(),D=De(!!r);return r&&setTimeout(()=>{D.value=!1},r),o!=null&&setTimeout(()=>{if(!U.value&&!L.value){const p=new Error(`Async component timed out after ${o}ms.`);_(p),L.value=p}},o),v().then(()=>{U.value=!0,b.parent&&ln(b.parent.vnode)&&b.parent.update()}).catch(p=>{_(p),L.value=p}),()=>{if(U.value&&a)return is(a,b);if(L.value&&s)return ae(s,{error:L.value});if(n&&!D.value)return ae(n)}}})}function is(e,t){const{ref:n,props:s,children:r,ce:i}=t.vnode,o=ae(e,s,r);return o.ref=n,o.ce=i,delete t.vnode.ce,o}const ln=e=>e.type.__isKeepAlive;function rc(e,t){Yi(e,"a",t)}function ic(e,t){Yi(e,"da",t)}function Yi(e,t,n=pe){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Kn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)ln(r.parent.vnode)&&oc(s,t,n,r),r=r.parent}}function oc(e,t,n,s){const r=Kn(t,e,s,!0
* @vue/runtime-dom v3.5.18
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let $s;const Hr=typeof window<"u"&&window.trustedTypes;if(Hr)try{$s=Hr.createPolicy("vue",{createHTML:e=>e})}catch{}const Mo=$s?e=>$s.createHTML(e):e=>e,ea="http://www.w3.org/2000/svg",ta="http://www.w3.org/1998/Math/MathML",Ge=typeof document<"u"?document:null,Dr=Ge&&Ge.createElement("template"),na={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"?Ge.createElementNS(ea,e):t==="mathml"?Ge.createElementNS(ta,e):n?Ge.createElement(e,{is:n}):Ge.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Ge.createTextNode(e),createComment:e=>Ge.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ge.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{Dr.innerHTML=Mo(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=Dr.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]}},tt="transition",kt="animation",nn=Symbol("_vtc"),Oo={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},sa=ue({},Bi,Oo),ra=e=>(e.displayName="Transition",e.props=sa,e),Kf=ra((e,{slots:t})=>Ds(Ql,ia(e),t)),dt=(e,t=[])=>{K(e)?e.forEach(n=>n(...t)):e&&e(...t)},$r=e=>e?K(e)?e.some(t=>t.length>1):e.length>1:!1;function ia(e){const t={};for(const w in e)w in Oo||(t[w]=e[w]);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:f=o,appearToClass:a=l,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:m=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=e,b=oa(r),_=b&&b[0],U=b&&b[1],{onBeforeEnter:L,onEnter:D,onEnterCancelled:p,onLeave:g,onLeaveCancelled:R,onBeforeAppear:$=L,onAppear:M=D,onAppearCancelled:V=p}=t,T=(w,F,Y,ie)=>{w._enterCancelled=ie,ht(w,F?a:l),ht(w,F?f:o),Y&&Y()},O=(w,F)=>{w._isLeaving=!1,ht(w,d),ht(w,v),ht(w,m),F&&F()},A=w=>(F,Y)=>{const ie=w?M:D,W=()=>T(F,w,Y);dt(ie,[F,W]),jr(()=>{ht(F,w?c:i),qe(F,w?a:l),$r(ie)||Vr(F,s,_,W)})};return ue(t,{onBeforeEnter(w){dt(L,[w]),qe(w,i),qe(w,o)},onBeforeAppear(w){dt($,[w]),qe(w,c),qe(w,f)},onEnter:A(!1),onAppear:A(!0),onLeave(w,F){w._isLeaving=!0;const Y=()=>O(w,F);qe(w,d),w._enterCancelled?(qe(w,m),Wr()):(Wr(),qe(w,m)),jr(()=>{w._isLeaving&&(ht(w,d),qe(w,v),$r(g)||Vr(w,s,U,Y))}),dt(g,[w,Y])},onEnterCancelled(w){T(w,!1,void 0,!0),dt(p,[w])},onAppearCancelled(w){T(w,!0,void 0,!0),dt(V,[w])},onLeaveCancelled(w){O(w),dt(R,[w])}})}function oa(e){if(e==null)return null;if(se(e))return[as(e.enter),as(e.leave)];{const t=as(e);return[t,t]}}function as(e){return sl(e)}function qe(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[nn]||(e[nn]=new Set)).add(t)}function ht(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[nn];n&&(n.delete(t),n.size||(e[nn]=void 0))}function jr(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let la=0;function Vr(e,t,n,s){const r=e._endId=++la,i=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=ca(e,t);if(!o)return s();const f=o+"end";let a=0;const d=()=>{e.removeEventListener(f,m),i()},m=v=>{v.target===e&&++a>=c&&d()};setTimeout(()=>{a<c&&d()},l+1),e.addEventListener(f,m)}function ca(e,t){const n=window.getComputedStyle(e),s=b=>(n[b]||"").split(", "),r=s(`${tt}Delay`),i=s(`${tt}Duration`),o=kr(r,i),l=s(`${kt}Delay`),c=s(`${kt}Durati