mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2025-03-11 03:58:33 +08:00
19 lines
97 KiB
JavaScript
19 lines
97 KiB
JavaScript
|
/**
|
||
|
* @vue/shared v3.5.13
|
||
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
* @license MIT
|
||
|
**//*! #__NO_SIDE_EFFECTS__ */function Os(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ne={},At=[],ke=()=>{},Ao=()=>!1,Qt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ms=e=>e.startsWith("onUpdate:"),ue=Object.assign,Is=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Ro=Object.prototype.hasOwnProperty,Q=(e,t)=>Ro.call(e,t),B=Array.isArray,Rt=e=>Rn(e)==="[object Map]",Br=e=>Rn(e)==="[object Set]",G=e=>typeof e=="function",oe=e=>typeof e=="string",Ye=e=>typeof e=="symbol",se=e=>e!==null&&typeof e=="object",Kr=e=>(se(e)||G(e))&&G(e.then)&&G(e.catch),qr=Object.prototype.toString,Rn=e=>qr.call(e),Oo=e=>Rn(e).slice(8,-1),Gr=e=>Rn(e)==="[object Object]",Ps=e=>oe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ot=Os(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),On=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Mo=/-(\w)/g,Le=On(e=>e.replace(Mo,(t,n)=>n?n.toUpperCase():"")),Io=/\B([A-Z])/g,it=On(e=>e.replace(Io,"-$1").toLowerCase()),Mn=On(e=>e.charAt(0).toUpperCase()+e.slice(1)),mn=On(e=>e?`on${Mn(e)}`:""),nt=(e,t)=>!Object.is(e,t),qn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Xr=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Po=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Lo=e=>{const t=oe(e)?Number(e):NaN;return isNaN(t)?e:t};let Zs;const In=()=>Zs||(Zs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ls(e){if(B(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=oe(s)?Do(s):Ls(s);if(r)for(const i in r)t[i]=r[i]}return t}else if(oe(e)||se(e))return e}const No=/;(?![^(]*\))/g,Fo=/:([^]+)/,Ho=/\/\*[^]*?\*\//g;function Do(e){const t={};return e.replace(Ho,"").split(No).forEach(n=>{if(n){const s=n.split(Fo);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Ns(e){let t="";if(oe(e))t=e;else if(B(e))for(let n=0;n<e.length;n++){const s=Ns(e[n]);s&&(t+=s+" ")}else if(se(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const $o="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",jo=Os($o);function Yr(e){return!!e||e===""}const zr=e=>!!(e&&e.__v_isRef===!0),Vo=e=>oe(e)?e:e==null?"":B(e)||se(e)&&(e.toString===qr||!G(e.toString))?zr(e)?Vo(e.value):JSON.stringify(e,Jr,2):String(e),Jr=(e,t)=>zr(t)?Jr(e,t.value):Rt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[Gn(s,i)+" =>"]=r,n),{})}:Br(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Gn(n))}:Ye(t)?Gn(t):se(t)&&!B(t)&&!Gr(t)?String(t):t,Gn=(e,t="")=>{var n;return Ye(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
||
|
* @vue/reactivity v3.5.13
|
||
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
* @license MIT
|
||
|
**/let _e;class Wo{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=_e,!t&&_e&&(this.index=(_e.scopes||(_e.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=_e;try{return _e=this,t()}finally{_e=n}}}on(){_e=this}off(){_e=this.parent}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function Qr(){return _e}function ko(e,t=!1){_e&&_e.cleanups.push(e)}let te;const Xn=new WeakSet;class Zr{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,_e&&_e.active&&_e.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Xn.has(this)&&(Xn.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||ti(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,er(this),ni(this);const t=te,n=Fe;te=this,Fe=!0;try{return this.fn()}finally{si(this),te=t,Fe=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Ds(t);this.deps=this.depsTail=void 0,er(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Xn.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){gs(this)&&this.run()}get dirty(){return gs(this)}}let ei=0,$t,jt;function ti(e,t=!1){if(e.flags|=8,t){e.next=jt,jt=e;return}e.next=$t,$t=e}function Fs(){ei++}function Hs(){if(--ei>0)return;if(jt){let t=jt;for(jt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;$t;){let t=$t;for($t=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 ni(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function si(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Ds(s),Uo(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function gs(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ri(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ri(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Ut))return;e.globalVersion=Ut;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!gs(e)){e.flags&=-3;return}const n=te,s=Fe;te=e,Fe=!0;try{ni(e);const r=e.fn(e._value);(t.version===0||nt(r,e._value))&&(e._value=r,t.version++)}catch(r){throw t.version++,r}finally{te=n,Fe=s,si(e),e.flags&=-3}}function Ds(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)Ds(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Uo(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Fe=!0;const ii=[];function ot(){ii.push(Fe),Fe=!1}function lt(){const e=ii.pop();Fe=e===void 0?!0:e}function er(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=te;te=void 0;try{t()}finally{te=n}}}let Ut=0;class Bo{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class
|
||
|
* @vue/runtime-core v3.5.13
|
||
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
* @license MIT
|
||
|
**/function Zt(e,t,n,s){try{return s?e(...s):e()}catch(r){Fn(r,t,n)}}function De(e,t,n,s){if(G(e)){const r=Zt(e,t,n,s);return r&&Kr(r)&&r.catch(i=>{Fn(i,t,n)}),r}if(B(e)){const r=[];for(let i=0;i<e.length;i++)r.push(De(e[i],t,n,s));return r}}function Fn(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||ne;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 h=0;h<a.length;h++)if(a[h](e,c,f)===!1)return}l=l.parent}if(i){ot(),Zt(i,null,10,[e,c,f]),lt();return}}wl(e,n,r,s,o)}function wl(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const we=[];let Ve=-1;const Mt=[];let Qe=null,Ct=0;const gi=Promise.resolve();let xn=null;function Hn(e){const t=xn||gi;return e?t.then(this?e.bind(this):e):t}function Sl(e){let t=Ve+1,n=we.length;for(;t<n;){const s=t+n>>>1,r=we[s],i=Kt(r);i<e||i===e&&r.flags&2?t=s+1:n=s}return t}function ks(e){if(!(e.flags&1)){const t=Kt(e),n=we[we.length-1];!n||!(e.flags&2)&&t>=Kt(n)?we.push(e):we.splice(Sl(t),0,e),e.flags|=1,mi()}}function mi(){xn||(xn=gi.then(vi))}function xl(e){B(e)?Mt.push(...e):Qe&&e.id===-1?Qe.splice(Ct+1,0,e):e.flags&1||(Mt.push(e),e.flags|=1),mi()}function nr(e,t,n=Ve+1){for(;n<we.length;n++){const s=we[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;we.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function Tn(e){if(Mt.length){const t=[...new Set(Mt)].sort((n,s)=>Kt(n)-Kt(s));if(Mt.length=0,Qe){Qe.push(...t);return}for(Qe=t,Ct=0;Ct<Qe.length;Ct++){const n=Qe[Ct];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Qe=null,Ct=0}}const Kt=e=>e.id==null?e.flags&2?-1:1/0:e.id;function vi(e){try{for(Ve=0;Ve<we.length;Ve++){const t=we[Ve];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Zt(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Ve<we.length;Ve++){const t=we[Ve];t&&(t.flags&=-2)}Ve=-1,we.length=0,Tn(),xn=null,(we.length||Mt.length)&&vi()}}let de=null,yi=null;function En(e){const t=de;return de=e,yi=e&&e.type.__scopeId||null,t}function Tl(e,t=de,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&pr(-1);const i=En(t);let o;try{o=e(...r)}finally{En(i),s._d&&pr(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}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&&(ot(),De(c,n,8,[e.el,l,e,t]),lt())}}const El=Symbol("_vte"),bi=e=>e.__isTeleport,Ze=Symbol("_leaveCb"),cn=Symbol("_enterCb");function Cl(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Pt(()=>{e.isMounted=!0}),Ri(()=>{e.isUnmounting=!0}),e}const Re=[Function,Array],_i={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Re,onEnter:Re,onAfterEnter:Re,onEnterCancelled:Re,onBeforeLeave:Re,onLeave:Re,onAfterLeave:Re,onLeaveCancelled:Re,onBeforeAppear:Re,onAppear:Re,onAfterAppear:Re,onAppearCancelled:Re},wi=e=>{const t=e.subTree;return t.component?wi(t.component):t},Al={name:"BaseTransition",props:_i,setup(e,{slots:t}){const n=en(),s=Cl();return()=>{const r=t.default&&Ti(t.default(),!0);if(!r||!r.length)return;const i=Si(r),o=J(e),{mode:l}=o;if(s.isLeaving)return Jn(i);const c=sr(i);if(!c)return Jn(i);let f=bs(c,o,s,n,h=>f=h);c.type!==ye&&qt(c,f);let a=n.subTree&&sr(n.subTree);if(a&&a.type!==ye&&!ht(c,a)&&wi(n).type!==ye){let h=bs(a,o,s,n);if(qt(a,h),l==="out-in"&&c.type!==ye)return s.isLeaving=!0,h.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete h.afterLeave,a=void 0},Jn(i);l==="in-out"&&c.type!==ye?h.delayLeave=(v,y,A)=>{const P=xi(s,a);P[String(a.key)]=a,v[Ze]=()=>{y(),v[Ze]=void 0,delete f.delayedLeave,a=void 0},f.delayedLeave=()=>{A(),delete f.delayedLeave,a=void 0}}:a=void 0}else a&&(a=void 0);return i}}};function Si(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==ye){t=n;break}}return t}const Rl=Al;function xi(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 bs(e,t,n,s,r){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:c,onEnter:f,onAfterEnter:a,onEnterCancelled:h,onB
|
||
|
`&&(p.tagName==="PRE"||p.tagName==="TEXTAREA")&&(D=D.slice(1)),p.textContent!==D&&(un(p,0)||Et(),p.textContent=g.children)}if(I){if(re||!k||E&48){const D=p.tagName.includes("-");for(const ce in I)(re&&(ce.endsWith("value")||ce==="indeterminate")||Qt(ce)&&!Ot(ce)||ce[0]==="."||D)&&s(p,ce,null,I[ce],void 0,M)}else if(I.onClick)s(p,"onClick",null,I.onClick,void 0,M);else if(E&4&>(I.style))for(const D in I.style)I.style[D]}let X;(X=I&&I.onVnodeBeforeMount)&&Oe(X,M,g),N&&We(g,null,M,"beforeMount"),((X=I&&I.onVnodeMounted)||N||$)&&eo(()=>{X&&Oe(X,M,g),$&&Y.enter(p),N&&We(g,null,M,"mounted")},V)}return p.nextSibling},y=(p,g,M,V,R,k,T)=>{T=T||!!g.dynamicChildren;const I=g.children,E=I.length;for(let b=0;b<E;b++){const N=T?I[b]:I[b]=Me(I[b]),Y=N.type===bt;p?(Y&&!T&&b+1<E&&Me(I[b+1]).type===bt&&(c(r(p.data.slice(N.children.length)),M,i(p)),p.data=N.children),p=h(p,N,V,R,k,T)):Y&&!N.children?c(N.el=r(""),M):(un(M,1)||Et(),n(null,N,M,null,V,R,an(M),k))}return p},A=(p,g,M,V,R,k)=>{const{slotScopeIds:T}=g;T&&(R=R?R.concat(T):T);const I=o(p),E=y(i(p),g,I,M,V,R,k);return E&&fn(E)&&E.data==="]"?i(g.anchor=E):(Et(),c(g.anchor=f("]"),I,E),E)},P=(p,g,M,V,R,k)=>{if(un(p.parentElement,1)||Et(),g.el=null,k){const E=K(p);for(;;){const b=i(p);if(b&&b!==E)l(b);else break}}const T=i(p),I=o(p);return l(p),n(null,g,I,T,M,V,an(I),R),M&&(M.vnode.el=g.el,Qi(M,g.el)),T},K=(p,g="[",M="]")=>{let V=0;for(;p;)if(p=i(p),p&&fn(p)&&(p.data===g&&V++,p.data===M)){if(V===0)return i(p);V--}return p},H=(p,g,M)=>{const V=g.parentNode;V&&V.replaceChild(p,g);let R=M;for(;R;)R.vnode.el===g&&(R.vnode.el=R.subTree.el=p),R=R.parent},W=p=>p.nodeType===1&&p.tagName==="TEMPLATE";return[a,h]}const ir="data-allow-mismatch",Pl={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function un(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(ir);)e=e.parentElement;const n=e&&e.getAttribute(ir);if(n==null)return!1;if(n==="")return!0;{const s=n.split(",");return t===0&&s.includes("children")?!0:n.split(",").includes(Pl[t])}}In().requestIdleCallback;In().cancelIdleCallback;const mt=e=>!!e.type.__asyncLoader,Dn=e=>e.type.__isKeepAlive;function Ll(e,t){Ai(e,"a",t)}function Nl(e,t){Ai(e,"da",t)}function Ai(e,t,n=fe){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if($n(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Dn(r.parent.vnode)&&Fl(s,t,n,r),r=r.parent}}function Fl(e,t,n,s){const r=$n(t,e,s,!0);jn(()=>{Is(s[t],r)},n)}function $n(e,t,n=fe,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{ot();const l=tn(n),c=De(t,n,e,o);return l(),lt(),c});return s?r.unshift(i):r.push(i),i}}const ze=e=>(t,n=fe)=>{(!zt||e==="sp")&&$n(e,(...s)=>t(...s),n)},Hl=ze("bm"),Pt=ze("m"),Dl=ze("bu"),$l=ze("u"),Ri=ze("bum"),jn=ze("um"),jl=ze("sp"),Vl=ze("rtg"),Wl=ze("rtc");function kl(e,t=fe){$n("ec",e,t)}const Oi="components";function ff(e,t){return Ii(Oi,e,!0,t)||e}const Mi=Symbol.for("v-ndc");function uf(e){return oe(e)?Ii(Oi,e,!1)||e:e||Mi}function Ii(e,t,n=!0,s=!1){const r=de||fe;if(r){const i=r.type;{const l=Cc(i,!1);if(l&&(l===t||l===Le(t)||l===Mn(Le(t))))return i}const o=or(r[e]||i[e],t)||or(r.appContext[e],t);return!o&&s?i:o}}function or(e,t){return e&&(e[t]||e[Le(t)]||e[Mn(Le(t))])}function df(e,t,n,s){let r;const i=n,o=B(e);if(o||oe(e)){const l=o&>(e);let c=!1;l&&(c=!Ie(e),e=Ln(e)),r=new Array(e.length);for(let f=0,a=e.length;f<a;f++)r[f]=t(c?ve(e[f]):e[f],f,void 0,i)}else if(typeof e=="number"){r=new Array(e);for(let l=0;l<e;l++)r[l]=t(l+1,l,void 0,i)}else if(se(e))if(e[Symbol.iterator])r=Array.from(e,(l,c)=>t(l,c,void 0,i));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,f=l.length;c<f;c++){const a=l[c];r[c]=t(e[a],a,c,i)}}else r=[];return r}function hf(e,t,n={},s,r){if(de.ce||de.parent&&mt(de.parent)&&de.parent.ce)return t!=="default"&&(n.name=t),Ts(),Es(Se,null,[he("slot",n,s&&s())],64);let i=e[t];i&&i._c&&(i._d=!1),Ts();const o=i&&Pi(i(n)),l=n.key||o&&o.key,c=Es(Se,{key:(l&&!Ye(l)?l:`_${t}`)+(!o&&s?"_fb":"")},o||(s?s():[]),o&&e._===1?64:-2);return!r&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),i&&i._c&&(i._d=!0),c}
|
||
|
* @vue/runtime-dom v3.5.13
|
||
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
* @license MIT
|
||
|
**/let Rs;const vr=typeof window<"u"&&window.trustedTypes;if(vr)try{Rs=vr.createPolicy("vue",{createHTML:e=>e})}catch{}const co=Rs?e=>Rs.createHTML(e):e=>e,Oc="http://www.w3.org/2000/svg",Mc="http://www.w3.org/1998/Math/MathML",Ke=typeof document<"u"?document:null,yr=Ke&&Ke.createElement("template"),Ic={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"?Ke.createElementNS(Oc,e):t==="mathml"?Ke.createElementNS(Mc,e):n?Ke.createElement(e,{is:n}):Ke.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Ke.createTextNode(e),createComment:e=>Ke.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ke.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{yr.innerHTML=co(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=yr.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]}},Je="transition",Ht="animation",Jt=Symbol("_vtc"),ao={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},Pc=ue({},_i,ao),Lc=e=>(e.displayName="Transition",e.props=Pc,e),_f=Lc((e,{slots:t})=>As(Rl,Nc(e),t)),ft=(e,t=[])=>{B(e)?e.forEach(n=>n(...t)):e&&e(...t)},br=e=>e?B(e)?e.some(t=>t.length>1):e.length>1:!1;function Nc(e){const t={};for(const b in e)b in ao||(t[b]=e[b]);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:h=`${n}-leave-from`,leaveActiveClass:v=`${n}-leave-active`,leaveToClass:y=`${n}-leave-to`}=e,A=Fc(r),P=A&&A[0],K=A&&A[1],{onBeforeEnter:H,onEnter:W,onEnterCancelled:p,onLeave:g,onLeaveCancelled:M,onBeforeAppear:V=H,onAppear:R=W,onAppearCancelled:k=p}=t,T=(b,N,Y,re)=>{b._enterCancelled=re,ut(b,N?a:l),ut(b,N?f:o),Y&&Y()},I=(b,N)=>{b._isLeaving=!1,ut(b,h),ut(b,y),ut(b,v),N&&N()},E=b=>(N,Y)=>{const re=b?R:W,$=()=>T(N,b,Y);ft(re,[N,$]),_r(()=>{ut(N,b?c:i),Be(N,b?a:l),br(re)||wr(N,s,P,$)})};return ue(t,{onBeforeEnter(b){ft(H,[b]),Be(b,i),Be(b,o)},onBeforeAppear(b){ft(V,[b]),Be(b,c),Be(b,f)},onEnter:E(!1),onAppear:E(!0),onLeave(b,N){b._isLeaving=!0;const Y=()=>I(b,N);Be(b,h),b._enterCancelled?(Be(b,v),Tr()):(Tr(),Be(b,v)),_r(()=>{b._isLeaving&&(ut(b,h),Be(b,y),br(g)||wr(b,s,K,Y))}),ft(g,[b,Y])},onEnterCancelled(b){T(b,!1,void 0,!0),ft(p,[b])},onAppearCancelled(b){T(b,!0,void 0,!0),ft(k,[b])},onLeaveCancelled(b){I(b),ft(M,[b])}})}function Fc(e){if(e==null)return null;if(se(e))return[ts(e.enter),ts(e.leave)];{const t=ts(e);return[t,t]}}function ts(e){return Lo(e)}function Be(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Jt]||(e[Jt]=new Set)).add(t)}function ut(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Jt];n&&(n.delete(t),n.size||(e[Jt]=void 0))}function _r(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Hc=0;function wr(e,t,n,s){const r=e._endId=++Hc,i=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=Dc(e,t);if(!o)return s();const f=o+"end";let a=0;const h=()=>{e.removeEventListener(f,v),i()},v=y=>{y.target===e&&++a>=c&&h()};setTimeout(()=>{a<c&&h()},l+1),e.addEventListener(f,v)}function Dc(e,t){const n=window.getComputedStyle(e),s=A=>(n[A]||"").split(", "),r=s(`${Je}Delay`),i=s(`${Je}Duration`),o=Sr(r,i),l=s(`${Ht}Delay`),c=s(`${Ht}Durati
|