2024-06-07 17:39:35 +08:00
|
|
|
/**
|
|
|
|
* @vue/shared v3.4.21
|
|
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
|
|
* @license MIT
|
|
|
|
**/function Un(e,t){const n=new Set(e.split(","));return t?s=>n.has(s.toLowerCase()):s=>n.has(s)}const Q={},Ct=[],ge=()=>{},Do=()=>!1,rn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ls=e=>e.startsWith("onUpdate:"),ie=Object.assign,Fs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Vo=Object.prototype.hasOwnProperty,z=(e,t)=>Vo.call(e,t),H=Array.isArray,Tt=e=>Ht(e)==="[object Map]",_t=e=>Ht(e)==="[object Set]",dr=e=>Ht(e)==="[object Date]",ko=e=>Ht(e)==="[object RegExp]",K=e=>typeof e=="function",ne=e=>typeof e=="string",Ze=e=>typeof e=="symbol",te=e=>e!==null&&typeof e=="object",Hs=e=>(te(e)||K(e))&&K(e.then)&&K(e.catch),ti=Object.prototype.toString,Ht=e=>ti.call(e),Uo=e=>Ht(e).slice(8,-1),ni=e=>Ht(e)==="[object Object]",Ds=e=>ne(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,xt=Un(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Bn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Bo=/-(\w)/g,be=Bn(e=>e.replace(Bo,(t,n)=>n?n.toUpperCase():"")),$o=/\B([A-Z])/g,ve=Bn(e=>e.replace($o,"-$1").toLowerCase()),$n=Bn(e=>e.charAt(0).toUpperCase()+e.slice(1)),Cn=Bn(e=>e?`on${$n(e)}`:""),Ie=(e,t)=>!Object.is(e,t),vt=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Rn=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Jt=e=>{const t=parseFloat(e);return isNaN(t)?e:t},On=e=>{const t=ne(e)?Number(e):NaN;return isNaN(t)?e:t};let hr;const Vs=()=>hr||(hr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),Ko="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error",jo=Un(Ko);function Kn(e){if(H(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=ne(s)?Yo(s):Kn(s);if(r)for(const i in r)t[i]=r[i]}return t}else if(ne(e)||te(e))return e}const Wo=/;(?![^(]*\))/g,Go=/:([^]+)/,qo=/\/\*[^]*?\*\//g;function Yo(e){const t={};return e.replace(qo,"").split(Wo).forEach(n=>{if(n){const s=n.split(Go);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function jn(e){let t="";if(ne(e))t=e;else if(H(e))for(let n=0;n<e.length;n++){const s=jn(e[n]);s&&(t+=s+" ")}else if(te(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Ff(e){if(!e)return null;let{class:t,style:n}=e;return t&&!ne(t)&&(e.class=jn(t)),n&&(e.style=Kn(n)),e}const Jo="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Xo=Un(Jo);function si(e){return!!e||e===""}function zo(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=Qe(e[s],t[s]);return n}function Qe(e,t){if(e===t)return!0;let n=dr(e),s=dr(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=Ze(e),s=Ze(t),n||s)return e===t;if(n=H(e),s=H(t),n||s)return n&&s?zo(e,t):!1;if(n=te(e),s=te(t),n||s){if(!n||!s)return!1;const r=Object.keys(e).length,i=Object.keys(t).length;if(r!==i)return!1;for(const o in e){const l=e.hasOwnProperty(o),c=t.hasOwnProperty(o);if(l&&!c||!l&&c||!Qe(e[o],t[o]))return!1}}return String(e)===String(t)}function Wn(e,t){return e.findIndex(n=>Qe(n,t))}const Hf=e=>ne(e)?e:e==null?"":H(e)||te(e)&&(e.toString===ti||!K(e.toString))?JSON.stringify(e,ri,2):String(e),ri=(e,t)=>t&&t.__v_isRef?ri(e,t.value):Tt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[is(s,i)+" =>"]=r,n),{})}:_t(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>is(n))}:Ze(t)?is(t):te(t)&&!H(t)&&!ni(t)?String(t):t,is=(e,t="")=>{var n;return Ze(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
|
|
|
* @vue/reactivity v3.4.21
|
|
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
|
|
* @license MIT
|
|
|
|
**/let Te;class ii{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Te,!t&&Te&&(this.index=(Te.scopes||(Te.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Te;try{return Te=this,t()}finally{Te=n}}}on(){Te=this}off(){Te=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 Df(e){return new ii(e)}function oi(e,t=Te){t&&t.active&&t.effects.push(e)}function Zo(){return Te}function Vf(e){Te&&Te.cleanups.push(e)}let ut;class Xt{constructor(t,n,s,r){this.fn=t,this.trigger=n,this.scheduler=s,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,oi(this,r)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,tt();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(Qo(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),nt()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=ze,n=ut;try{return ze=!0,ut=this,this._runnings++,pr(this),this.fn()}finally{gr(this),this._runnings--,ut=n,ze=t}}stop(){var t;this.active&&(pr(this),gr(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function Qo(e){return e.value}function pr(e){e._trackId++,e._depsLength=0}function gr(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)li(e.deps[t],e);e.deps.length=e._depsLength}}function li(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}function kf(e,t){e.effect instanceof Xt&&(e=e.effect.fn);const n=new Xt(e,ge,()=>{n.dirty&&n.run()});t&&(ie(n,t),t.scope&&oi(n,t.scope)),(!t||!t.lazy)&&n.run();const s=n.run.bind(n);return s.effect=n,s}function Uf(e){e.effect.stop()}let ze=!0,gs=0;const ci=[];function tt(){ci.push(ze),ze=!1}function nt(){const e=ci.pop();ze=e===void 0?!0:e}function ks(){gs++}function Us(){for(gs--;!gs&&_s.length;)_s.shift()()}function fi(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const s=e.deps[e._depsLength];s!==t?(s&&li(s,e),e.deps[e._depsLength++]=t):e._depsLength++}}const _s=[];function ui(e,t,n){ks();for(const s of e.keys()){let r;s._dirtyLevel<t&&(r!=null?r:r=e.get(s)===s._trackId)&&(s._shouldSchedule||(s._shouldSchedule=s._dirtyLevel===0),s._dirtyLevel=t),s._shouldSchedule&&(r!=null?r:r=e.get(s)===s._trackId)&&(s.trigger(),(!s._runnings||s.allowRecurse)&&s._dirtyLevel!==2&&(s._shouldSchedule=!1,s.scheduler&&_s.push(s.scheduler)))}Us()}const ai=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},In=new WeakMap,at=Symbol(""),ms=Symbol("");function Ee(e,t,n){if(ze&&ut){let s=In.get(e);s||In.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=ai(()=>s.delete(n))),fi(ut,r)}}function ke(e,t,n,s,r,i){const o=In.get(e);if(!o)return;let l=[];if(t==="clear")l=[...o.values()];else if(n==="length"&&H(e)){const c=Number(s);o.forEach((u,h)=>{(h==="length"||!Ze(h)&&h>=c)&&l.push(u)})}else switch(n!==void 0&&l.push(o.get(n)),t){case"add":H(e)?Ds(n)&&l.push(o.get("length")):(l.push(o.get(at)),Tt(e)&&l.push(o.get(ms)));break;case"delete":H(e)||(l.push(o.get(at)),Tt(e)&&l.push(o.get(ms)));break;case"set":Tt(e)&&l.push(o.get(at));break}ks();for(const c of l)c&&ui(c,4);Us()}function el(e,t){var n;return(n=In.get(e))==null?void 0:n.get(t)}const tl=Un("__proto__,__v_isRef,__isVue"),di=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ze)),_r=nl();function nl(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=X(this);for(let i=0,o=this.length;i<o;i++)Ee(s,"get",i+"");const r=s[t](...n);return r===-1||r===!
|
|
|
|
* @vue/runtime-core v3.4.21
|
|
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
|
|
* @license MIT
|
|
|
|
**/const jt=[];function it(e,...t){tt();const n=jt.length?jt[jt.length-1].component:null,s=n&&n.appContext.config.warnHandler,r=Sl();if(s)Ue(s,n,11,[e+t.map(i=>{var o,l;return(l=(o=i.toString)==null?void 0:o.call(i))!=null?l:JSON.stringify(i)}).join(""),n&&n.proxy,r.map(({vnode:i})=>`at <${go(n,i.type)}>`).join(`
|
|
|
|
`),r]);else{const i=[`[Vue warn]: ${e}`,...t];r.length&&i.push(`
|
|
|
|
`,...Rl(r)),console.warn(...i)}nt()}function Sl(){let e=jt[jt.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const s=e.component&&e.component.parent;e=s&&s.vnode}return t}function Rl(e){const t=[];return e.forEach((n,s)=>{t.push(...s===0?[]:[`
|
|
|
|
`],...Ol(n))}),t}function Ol({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",s=e.component?e.component.parent==null:!1,r=` at <${go(e.component,e.type,s)}`,i=">"+n;return e.props?[r,...Il(e.props),i]:[r+i]}function Il(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(s=>{t.push(...Ri(s,e[s]))}),n.length>3&&t.push(" ..."),t}function Ri(e,t,n){return ne(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:ae(t)?(t=Ri(e,X(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):K(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=X(t),n?t:[`${e}=`,t])}function Jf(e,t){}const Xf={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",WATCH_GETTER:2,2:"WATCH_GETTER",WATCH_CALLBACK:3,3:"WATCH_CALLBACK",WATCH_CLEANUP:4,4:"WATCH_CLEANUP",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER"},Nl={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",[0]:"setup function",[1]:"render function",[2]:"watcher getter",[3]:"watcher callback",[4]:"watcher cleanup function",[5]:"native event handler",[6]:"component event handler",[7]:"vnode hook",[8]:"directive hook",[9]:"transition hook",[10]:"app errorHandler",[11]:"app warnHandler",[12]:"ref function",[13]:"async component loader",[14]:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function Ue(e,t,n,s){try{return s?e(...s):e()}catch(r){Dt(r,t,n)}}function we(e,t,n,s){if(K(e)){const i=Ue(e,t,n,s);return i&&Hs(i)&&i.catch(o=>{Dt(o,t,n)}),i}const r=[];for(let i=0;i<e.length;i++)r.push(we(e[i],t,n,s));return r}function Dt(e,t,n,s=!0){const r=t?t.vnode:null;if(t){let i=t.parent;const o=t.proxy,l=`https://vuejs.org/error-reference/#runtime-${n}`;for(;i;){const u=i.ec;if(u){for(let h=0;h<u.length;h++)if(u[h](e,o,l)===!1)return}i=i.parent}const c=t.appContext.config.errorHandler;if(c){Ue(c,null,10,[e,o,l]);return}}Pl(e,n,r,s)}function Pl(e,t,n,s=!0){console.error(e)}let Zt=!1,ys=!1;const he=[];let Fe=0;const St=[];let qe=null,ct=0;const Oi=Promise.resolve();let Ws=null;function Gs(e){const t=Ws||Oi;return e?t.then(this?e.bind(this):e):t}function Ml(e){let t=Fe+1,n=he.length;for(;t<n;){const s=t+n>>>1,r=he[s],i=Qt(r);i<e||i===e&&r.pre?t=s+1:n=s}return t}function Jn(e){(!he.length||!he.includes(e,Zt&&e.allowRecurse?Fe+1:Fe))&&(e.id==null?he.push(e):he.splice(Ml(e.id),0,e),Ii())}function Ii(){!Zt&&!ys&&(ys=!0,Ws=Oi.then(Ni))}function Ll(e){const t=he.indexOf(e);t>Fe&&he.splice(t,1)}function bs(e){H(e)?St.push(...e):(!qe||!qe.includes(e,e.allowRecurse?ct+1:ct))&&St.push(e),Ii()}function Cr(e,t,n=Zt?Fe+1:0){for(;n<he.length;n++){const s=he[n];if(s&&s.pre){if(e&&s.id!==e.uid)continue;he.splice(n,1),n--,s()}}}function Pn(e){if(St.length){const t=[...new Set(St)].sort((n,s)=>Qt(n)-Qt(s));if(St.length=0,qe){qe.push(...t);return}for(qe=t,ct=0;ct<qe.length;ct++)qe[ct]();qe=null,ct=0}}const Qt=e=>e.id==null?1/0:e.id,Fl=(e,t)=>{const n=Qt(e)-Qt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Ni(e){ys=!1,Zt=!0,he.sort(Fl);const t=ge;try{for(Fe=0;Fe<he.length;Fe++){const n=he[Fe];n&&n.active!==!1&&Ue(n,null,14)}}finally{Fe=0,he.length=0,Pn(),Zt=!1,Ws=null,(he.length||St.length)&&Ni()}}let Et,gn=[];function Pi(e,t){var n,s;Et=e,Et?(Et.enabled=!0,gn.forEach(({event:r,args:i})=>Et.emit(r,...i)),gn=[]):typeof window<"u"&&window.HTMLElement&&!((s=(n=window.navigator)==null?void 0:n.userAgent)!=null&&s.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_RE
|
|
|
|
- rendered on server: ${JSON.stringify(p.data)}
|
|
|
|
- expected on client: ${JSON.stringify(_.children)}`),p.data=_.children),V=i(p));break;case _e:S(p)?(V=i(p),q(_.el=p.content.firstChild,p,y)):oe!==8||L?V=O():V=i(p);break;case It:if(L&&(p=i(p),oe=p.nodeType),oe===1||oe===3){V=p;const Y=!_.children.length;for(let U=0;U<_.staticCount;U++)Y&&(_.children+=V.nodeType===1?V.outerHTML:V.data),U===_.staticCount-1&&(_.anchor=V),V=i(V);return L?i(V):V}else O();break;case de:L?V=R(p,_,y,b,P,v):V=O();break;default:if(W&1)(oe!==1||_.type.toLowerCase()!==p.tagName.toLowerCase())&&!S(p)?V=O():V=g(p,_,y,b,P,v);else if(W&6){_.slotScopeIds=P;const Y=o(p);if(L?V=j(p):kt(p)&&p.data==="teleport start"?V=j(p,p.data,"teleport end"):V=i(p),t(_,Y,null,y,b,yn(Y),v),dt(_)){let U;L?(U=re(de),U.anchor=V?V.previousSibling:Y.lastChild):U=p.nodeType===3?co(""):re("div"),U.el=p,_.component.subTree=U}}else W&64?oe!==8?V=O():V=_.type.hydrate(p,_,y,b,P,v,e,x):W&128?V=_.type.hydrate(p,_,y,b,yn(o(p)),P,v,e,d):__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&it("Invalid HostVNode type:",B,`(${typeof B})`)}return N!=null&&Ln(N,null,b,_),V},g=(p,_,y,b,P,v)=>{v=v||!!_.dynamicChildren;const{type:L,props:O,patchFlag:B,shapeFlag:N,dirs:W,transition:Z}=_,oe=L==="input"||L==="option";if(oe||B!==-1){W&&Le(_,null,y,"created");let V=!1;if(S(p)){V=eo(b,Z)&&y&&y.vnode.props&&y.vnode.props.appear;const U=p.content.firstChild;V&&Z.beforeEnter(U),q(U,p,y),_.el=p=U}if(N&16&&!(O&&(O.innerHTML||O.textContent))){let U=x(p.firstChild,_,p,y,b,P,v),Ne=!1;for(;U;){je=!0,__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&!Ne&&(it("Hydration children mismatch on",p,`
|
|
|
|
Server rendered element contains more child nodes than client vdom.`),Ne=!0);const mt=U;U=U.nextSibling,l(mt)}}else N&8&&p.textContent!==_.children&&(je=!0,__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&it("Hydration text content mismatch on",p,`
|
|
|
|
- rendered on server: ${p.textContent}
|
|
|
|
- expected on client: ${_.children}`),p.textContent=_.children);if(O)if(oe||!v||B&48)for(const U in O)(oe&&(U.endsWith("value")||U==="indeterminate")||rn(U)&&!xt(U)||U[0]===".")&&s(p,U,null,O[U],void 0,void 0,y);else O.onClick&&s(p,"onClick",null,O.onClick,void 0,void 0,y);let Y;(Y=O&&O.onVnodeBeforeMount)&&me(Y,y,_),W&&Le(_,null,y,"beforeMount"),((Y=O&&O.onVnodeMounted)||W||V)&&Di(()=>{Y&&me(Y,y,_),V&&Z.enter(p),W&&Le(_,null,y,"mounted")},b)}return p.nextSibling},x=(p,_,y,b,P,v,L)=>{L=L||!!_.dynamicChildren;const O=_.children,B=O.length;let N=!1;for(let W=0;W<B;W++){const Z=L?O[W]:O[W]=xe(O[W]);if(p)p=d(p,Z,b,P,v,L);else{if(Z.type===Mt&&!Z.children)continue;je=!0,__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&!N&&(it("Hydration children mismatch on",y,`
|
|
|
|
Server rendered element contains fewer child nodes than client vdom.`),N=!0),n(null,Z,y,null,b,P,yn(y),v)}}return p},R=(p,_,y,b,P,v)=>{const{slotScopeIds:L}=_;L&&(P=P?P.concat(L):L);const O=o(p),B=x(i(p),_,O,y,b,P,v);return B&&kt(B)&&B.data==="]"?i(_.anchor=B):(je=!0,c(_.anchor=u("]"),O,B),B)},D=(p,_,y,b,P,v)=>{if(je=!0,__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&it(`Hydration node mismatch:
|
|
|
|
- rendered on server:`,p,p.nodeType===3?"(text)":kt(p)&&p.data==="["?"(start of fragment)":"",`
|
|
|
|
- expected on client:`,_.type),_.el=null,v){const B=j(p);for(;;){const N=i(p);if(N&&N!==B)l(N);else break}}const L=i(p),O=o(p);return l(p),n(null,_,O,L,y,b,yn(O),P),L},j=(p,_="[",y="]")=>{let b=0;for(;p;)if(p=i(p),p&&kt(p)&&(p.data===_&&b++,p.data===y)){if(b===0)return i(p);b--}return p},q=(p,_,y)=>{const b=_.parentNode;b&&b.replaceChild(p,_);let P=y;for(;P;)P.vnode.el===_&&(P.vnode.el=P.subTree.el=p),P=P.parent},S=p=>p.nodeType===1&&p.tagName.toLowerCase()==="template";return[h,d]}function Rc(){typeof __VUE_PROD_HYDRATION_MISMATCH_DETAILS__!="boolean"&&(Vs().__VUE_PROD_HYDRATION_MISMATCH_DETAILS__=!1)}const ue=Di;function Oc(e){return Qi(e)}function Ic(e){return Qi(e,Sc)}function Qi(e,t){Rc();const n=Vs();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:c,setText:u,setElementText:h,parentNode:d,nextSibling:g,setScopeId:x=ge,insertStaticContent:R}=e,D=(f,a,m,E=null,C=null,w=null,M=void 0,A=null,I=!!a.dynamicChildren)=>{if(f===a)return;f&&!Oe(f,a)&&(E=fn(f),Pe(f,C,w,!0),f=null),a.patchFlag===-2&&(I=!1,a.dynamicChildren=null);const{type:T,ref:F,shapeFlag:$}=a;switch(T){case Mt:j(f,a,m,E);break;case _e:q(f,a,m,E);break;case It:f==null&&S(a,m,E,M);break;case de:N(f,a,m,E,C,w,M,A,I);break;default:$&1?y(f,a,m,E,C,w,M,A,I):$&6?W(f,a,m,E,C,w,M,A,I):($&64||$&128)&&T.process(f,a,m,E,C,w,M,A,I,yt)}F!=null&&C&&Ln(F,f&&f.ref,w,a||f,!a)},j=(f,a,m,E)=>{if(f==null)s(a.el=l(a.children),m,E);else{const C=a.el=f.el;a.children!==f.children&&u(C,a.children)}},q=(f,a,m,E)=>{f==null?s(a.el=c(a.children||""),m,E):a.el=f.el},S=(f,a,m,E)=>{[f.el,f.anchor]=R(f.children,a,m,E,f.el,f.anchor)},p=({el:f,anchor:a},m,E)=>{let C;for(;f&&f!==a;)C=g(f),s(f,m,E),f=C;s(a,m,E)},_=({el:f,anchor:a})=>{let m;for(;f&&f!==a;)m=g(f),r(f),f=m;r(a)},y=(f,a,m,E,C,w,M,A,I)=>{a.type==="svg"?M="svg":a.type==="math"&&(M="mathml"),f==null?b(a,m,E,C,w,M,A,I):L(f,a,C,w,M,A,I)},b=(f,a,m,E,C,w,M,A)=>{let I,T;const{props:F,shapeFlag:$,transition:k,dirs:G}=f;if(I=f.el=o(f.type,w,F&&F.is,F),$&8?h(I,f.children):$&16&&v(f.children,I,null,E,C,as(f,w),M,A),G&&Le(f,null,E,"created"),P(I,f,f.scopeId,M,E),F){for(const ee in F)ee!=="value"&&!xt(ee)&&i(I,ee,null,F[ee],w,f.children,E,C,He);"value"in F&&i(I,"value",null,F.value,w),(T=F.onVnodeBeforeMount)&&me(T,E,f)}G&&Le(f,null,E,"beforeMount");const J=eo(C,k);J&&k.beforeEnter(I),s(I,a,m),((T=F&&F.onVnodeMounted)||J||G)&&ue(()=>{T&&me(T,E,f),J&&k.enter(I),G&&Le(f,null,E,"mounted")},C)},P=(f,a,m,E,C)=>{if(m&&x(f,m),E)for(let w=0;w<E.length;w++)x(f,E[w]);if(C){let w=C.subTree;if(a===w){const M=C.vnode;P(f,M,M.scopeId,M.slotScopeIds,C.parent)}}},v=(f,a,m,E,C,w,M,A,I=0)=>{for(let T=I;T<f.length;T++){const F=f[T]=A?Je(f[T]):xe(f[T]);D(null,F,a,m,E,C,w,M,A)}},L=(f,a,m,E,C,w,M)=>{const A=a.el=f.el;let{patchFlag:I,dynamicChildren:T,dirs:F}=a;I|=f.patchFlag&16;const $=f.props||Q,k=a.props||Q;let G;if(m&&ot(m,!1),(G=k.onVnodeBeforeUpdate)&&me(G,m,a,f),F&&Le(a,f,m,"beforeUpdate"),m&&ot(m,!0),T?O(f.dynamicChildren,T,A,m,E,as(a,C),w):M||U(f,a,A,null,m,E,as(a,C),w,!1),I>0){if(I&16)B(A,a,$,k,m,E,C);else if(I&2&&$.class!==k.class&&i(A,"class",null,k.class,C),I&4&&i(A,"style",$.style,k.style,C),I&8){const J=a.dynamicProps;for(let ee=0;ee<J.length;ee++){const se=J[ee],fe=$[se],Re=k[se];(Re!==fe||se==="value")&&i(A,se,fe,Re,C,f.children,m,E,He)}}I&1&&f.children!==a.children&&h(A,a.children)}else!M&&T==null&&B(A,a,$,k,m,E,C);((G=k.onVnodeUpdated)||F)&&ue(()=>{G&&me(G,m,a,f),F&&Le(a,f,m,"updated")},E)},O=(f,a,m,E,C,w,M)=>{for(let A=0;A<a.length;A++){const I=f[A],T=a[A],F=I.el&&(I.type===de||!Oe(I,T)||I.shapeFlag&70)?d(I.el):m;D(I,T,F,null,E,C,w,M,!0)}},B=(f,a,m,E,C,w,M)=>{if(m!==E){if(m!==Q)for(const A in m)!xt(A)&&!(A in E)&&i(f,A,m[A],null,M,a.children,C,w,He);for(const A in E){if(xt(A))continue;const I=E[A],T=m[A];I!==T&&A!=="value"&&i(f,A,T,I,M,a.children,C,w,He)}"value"in E&&i(f,"value",m.value,E.value,M)}},N=(f,a,m,E,C,w,M,A,I)=>{const T=a.el=f?f.el:l(""),F=a.anchor=f?f.anchor:l("");let{patchFlag:$,dynamicChildren:k,slotScopeIds:G}=a;G&&(A=A?A.concat(G):G),f==null?(s(T,m,E),s(F,m,E),v(a.children||[],m,F,C,w,M,A
|
|
|
|
* @vue/runtime-dom v3.4.21
|
|
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
|
|
* @license MIT
|
2024-08-04 17:55:30 +08:00
|
|
|
**/const Xc="http://www.w3.org/2000/svg",zc="http://www.w3.org/1998/Math/MathML",Xe=typeof document<"u"?document:null,Hr=Xe&&Xe.createElement("template"),Zc={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"?Xe.createElementNS(Xc,e):t==="mathml"?Xe.createElementNS(zc,e):Xe.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Xe.createTextNode(e),createComment:e=>Xe.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Xe.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{Hr.innerHTML=s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e;const l=Hr.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]}},We="transition",Ut="animation",Lt=Symbol("_vtc"),_o=(e,{slots:t})=>Gc(ec,yo(e),t);_o.displayName="Transition";const mo={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},Qc=_o.props=ie({},Ui,mo),lt=(e,t=[])=>{H(e)?e.forEach(n=>n(...t)):e&&e(...t)},Dr=e=>e?H(e)?e.some(t=>t.length>1):e.length>1:!1;function yo(e){const t={};for(const N in e)N in mo||(t[N]=e[N]);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:u=o,appearToClass:h=l,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:g=`${n}-leave-active`,leaveToClass:x=`${n}-leave-to`}=e,R=ef(r),D=R&&R[0],j=R&&R[1],{onBeforeEnter:q,onEnter:S,onEnterCancelled:p,onLeave:_,onLeaveCancelled:y,onBeforeAppear:b=q,onAppear:P=S,onAppearCancelled:v=p}=t,L=(N,W,Z)=>{Ge(N,W?h:l),Ge(N,W?u:o),Z&&Z()},O=(N,W)=>{N._isLeaving=!1,Ge(N,d),Ge(N,x),Ge(N,g),W&&W()},B=N=>(W,Z)=>{const oe=N?P:S,V=()=>L(W,N,Z);lt(oe,[W,V]),Vr(()=>{Ge(W,N?c:i),De(W,N?h:l),Dr(oe)||kr(W,s,D,V)})};return ie(t,{onBeforeEnter(N){lt(q,[N]),De(N,i),De(N,o)},onBeforeAppear(N){lt(b,[N]),De(N,c),De(N,u)},onEnter:B(!1),onAppear:B(!0),onLeave(N,W){N._isLeaving=!0;const Z=()=>O(N,W);De(N,d),Eo(),De(N,g),Vr(()=>{!N._isLeaving||(Ge(N,d),De(N,x),Dr(_)||kr(N,s,j,Z))}),lt(_,[N,Z])},onEnterCancelled(N){L(N,!1),lt(p,[N])},onAppearCancelled(N){L(N,!0),lt(v,[N])},onLeaveCancelled(N){O(N),lt(y,[N])}})}function ef(e){if(e==null)return null;if(te(e))return[ds(e.enter),ds(e.leave)];{const t=ds(e);return[t,t]}}function ds(e){return On(e)}function De(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Lt]||(e[Lt]=new Set)).add(t)}function Ge(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Lt];n&&(n.delete(t),n.size||(e[Lt]=void 0))}function Vr(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let tf=0;function kr(e,t,n,s){const r=e._endId=++tf,i=()=>{r===e._endId&&s()};if(n)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=bo(e,t);if(!o)return s();const u=o+"end";let h=0;const d=()=>{e.removeEventListener(u,g),i()},g=x=>{x.target===e&&++h>=c&&d()};setTimeout(()=>{h<c&&d()},l+1),e.addEventListener(u,g)}function bo(e,t){const n=window.getComputedStyle(e),s=R=>(n[R]||"").split(", "),r=s(`${We}Delay`),i=s(`${We}Duration`),o=Ur(r,i),l=s(`${Ut}Delay`),c=s(`${Ut}Duration`),u=Ur(l,c);let h=null,d=0,g=0;t===We?o>0&&(h=We,d=o,g=i.length):t===Ut?u>0&&(h=Ut,d=u,g=c.length):(d=Math.max(o,u),h=d>0?o>u?We:Ut:null,g=h?h===We?i.length:c.length:0);const x=h===We&&/\b(transform|all)(,|$)/.test(s(`${We}Property`).toString());return{t
|