18 lines
99 KiB
JavaScript
18 lines
99 KiB
JavaScript
|
/**
|
||
|
* @vue/shared v3.4.34
|
||
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
* @license MIT
|
||
|
**//*! #__NO_SIDE_EFFECTS__ */function Tr(e,t){const n=new Set(e.split(","));return r=>n.has(r)}const re={},yt=[],Te=()=>{},ko=()=>!1,Xt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ar=e=>e.startsWith("onUpdate:"),fe=Object.assign,Rr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Uo=Object.prototype.hasOwnProperty,J=(e,t)=>Uo.call(e,t),K=Array.isArray,_t=e=>An(e)==="[object Map]",si=e=>An(e)==="[object Set]",q=e=>typeof e=="function",le=e=>typeof e=="string",Ze=e=>typeof e=="symbol",te=e=>e!==null&&typeof e=="object",ii=e=>(te(e)||q(e))&&q(e.then)&&q(e.catch),oi=Object.prototype.toString,An=e=>oi.call(e),Ko=e=>An(e).slice(8,-1),li=e=>An(e)==="[object Object]",Or=e=>le(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,vt=Tr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Rn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Wo=/-(\w)/g,Oe=Rn(e=>e.replace(Wo,(t,n)=>n?n.toUpperCase():"")),qo=/\B([A-Z])/g,et=Rn(e=>e.replace(qo,"-$1").toLowerCase()),On=Rn(e=>e.charAt(0).toUpperCase()+e.slice(1)),pn=Rn(e=>e?`on${On(e)}`:""),ze=(e,t)=>!Object.is(e,t),gn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},ci=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},ur=e=>{const t=parseFloat(e);return isNaN(t)?e:t},ai=e=>{const t=le(e)?Number(e):NaN;return isNaN(t)?e:t};let is;const ui=()=>is||(is=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Lr(e){if(K(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=le(r)?Jo(r):Lr(r);if(s)for(const i in s)t[i]=s[i]}return t}else if(le(e)||te(e))return e}const Go=/;(?![^(]*\))/g,Xo=/:([^]+)/,Yo=/\/\*[^]*?\*\//g;function Jo(e){const t={};return e.replace(Yo,"").split(Go).forEach(n=>{if(n){const r=n.split(Xo);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Ir(e){let t="";if(le(e))t=e;else if(K(e))for(let n=0;n<e.length;n++){const r=Ir(e[n]);r&&(t+=r+" ")}else if(te(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const zo="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Qo=Tr(zo);function fi(e){return!!e||e===""}const di=e=>!!(e&&e.__v_isRef===!0),Zo=e=>le(e)?e:e==null?"":K(e)||te(e)&&(e.toString===oi||!q(e.toString))?di(e)?Zo(e.value):JSON.stringify(e,hi,2):String(e),hi=(e,t)=>di(t)?hi(e,t.value):_t(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],i)=>(n[Wn(r,i)+" =>"]=s,n),{})}:si(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Wn(n))}:Ze(t)?Wn(t):te(t)&&!K(t)&&!li(t)?String(t):t,Wn=(e,t="")=>{var n;return Ze(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
||
|
* @vue/reactivity v3.4.34
|
||
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
* @license MIT
|
||
|
**/let Ee;class el{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ee,!t&&Ee&&(this.index=(Ee.scopes||(Ee.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Ee;try{return Ee=this,t()}finally{Ee=n}}}on(){Ee=this}off(){Ee=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0,this._active=!1}}}function tl(e,t=Ee){t&&t.active&&t.effects.push(e)}function pi(){return Ee}function nl(e){Ee&&Ee.cleanups.push(e)}let ct;class Mr{constructor(t,n,r,s){this.fn=t,this.trigger=n,this.scheduler=r,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,tl(this,s)}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&&(rl(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=Ye,n=ct;try{return Ye=!0,ct=this,this._runnings++,os(this),this.fn()}finally{ls(this),this._runnings--,ct=n,Ye=t}}stop(){this.active&&(os(this),ls(this),this.onStop&&this.onStop(),this.active=!1)}}function rl(e){return e.value}function os(e){e._trackId++,e._depsLength=0}function ls(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)gi(e.deps[t],e);e.deps.length=e._depsLength}}function gi(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let Ye=!0,fr=0;const mi=[];function tt(){mi.push(Ye),Ye=!1}function nt(){const e=mi.pop();Ye=e===void 0?!0:e}function Pr(){fr++}function Fr(){for(fr--;!fr&&dr.length;)dr.shift()()}function yi(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&gi(r,e),e.deps[e._depsLength++]=t):e._depsLength++}}const dr=[];function _i(e,t,n){Pr();for(const r of e.keys()){let s;r._dirtyLevel<t&&(s??(s=e.get(r)===r._trackId))&&(r._shouldSchedule||(r._shouldSchedule=r._dirtyLevel===0),r._dirtyLevel=t),r._shouldSchedule&&(s??(s=e.get(r)===r._trackId))&&(r.trigger(),(!r._runnings||r.allowRecurse)&&r._dirtyLevel!==2&&(r._shouldSchedule=!1,r.scheduler&&dr.push(r.scheduler)))}Fr()}const vi=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},bn=new WeakMap,at=Symbol(""),hr=Symbol("");function be(e,t,n){if(Ye&&ct){let r=bn.get(e);r||bn.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=vi(()=>r.delete(n))),yi(ct,s)}}function De(e,t,n,r,s,i){const o=bn.get(e);if(!o)return;let l=[];if(t==="clear")l=[...o.values()];else if(n==="length"&&K(e)){const c=Number(r);o.forEach((a,f)=>{(f==="length"||!Ze(f)&&f>=c)&&l.push(a)})}else switch(n!==void 0&&l.push(o.get(n)),t){case"add":K(e)?Or(n)&&l.push(o.get("length")):(l.push(o.get(at)),_t(e)&&l.push(o.get(hr)));break;case"delete":K(e)||(l.push(o.get(at)),_t(e)&&l.push(o.get(hr)));break;case"set":_t(e)&&l.push(o.get(at));break}Pr();for(const c of l)c&&_i(c,4);Fr()}function sl(e,t){const n=bn.get(e);return n&&n.get(t)}const il=Tr("__proto__,__v_isRef,__isVue"),bi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ze)),cs=ol();function ol(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=z(this);for(let i=0,o=this.length;i<o;i++)be(r,"get",i+"");const s=r[t](...n);return s===-1||s===!1?r[t](...n.map(z)):s}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){tt(),Pr();const r=z(this)[t].apply(this,n);return Fr(),nt(),r}}),e}function ll(e){Ze(e)||(e=String(e));const t=z(this);return be(t,"has",e),t.hasOwnProperty(e)}class wi{constructor(t=!1,n=!1){this._isRe
|
||
|
* @vue/runtime-core v3.4.34
|
||
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
* @license MIT
|
||
|
**/function Je(e,t,n,r){try{return r?e(...r):e()}catch(s){Rt(s,t,n)}}function Ae(e,t,n,r){if(q(e)){const s=Je(e,t,n,r);return s&&ii(s)&&s.catch(i=>{Rt(i,t,n)}),s}if(K(e)){const s=[];for(let i=0;i<e.length;i++)s.push(Ae(e[i],t,n,r));return s}}function Rt(e,t,n,r=!0){const s=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 a=i.ec;if(a){for(let f=0;f<a.length;f++)if(a[f](e,o,l)===!1)return}i=i.parent}const c=t.appContext.config.errorHandler;if(c){tt(),Je(c,null,10,[e,o,l]),nt();return}}Pl(e,n,s,r)}function Pl(e,t,n,r=!0){console.error(e)}let kt=!1,pr=!1;const ge=[];let Fe=0;const wt=[];let We=null,lt=0;const Ii=Promise.resolve();let Vr=null;function Pn(e){const t=Vr||Ii;return e?t.then(this?e.bind(this):e):t}function Fl(e){let t=Fe+1,n=ge.length;for(;t<n;){const r=t+n>>>1,s=ge[r],i=Ut(s);i<e||i===e&&s.pre?t=r+1:n=r}return t}function Fn(e){(!ge.length||!ge.includes(e,kt&&e.allowRecurse?Fe+1:Fe))&&(e.id==null?ge.push(e):ge.splice(Fl(e.id),0,e),Mi())}function Mi(){!kt&&!pr&&(pr=!0,Vr=Ii.then(Pi))}function Nl(e){const t=ge.indexOf(e);t>Fe&&ge.splice(t,1)}function gr(e){K(e)?wt.push(...e):(!We||!We.includes(e,e.allowRecurse?lt+1:lt))&&wt.push(e),Mi()}function hs(e,t,n=kt?Fe+1:0){for(;n<ge.length;n++){const r=ge[n];if(r&&r.pre){if(e&&r.id!==e.uid)continue;ge.splice(n,1),n--,r()}}}function wn(e){if(wt.length){const t=[...new Set(wt)].sort((n,r)=>Ut(n)-Ut(r));if(wt.length=0,We){We.push(...t);return}for(We=t,lt=0;lt<We.length;lt++){const n=We[lt];n.active!==!1&&n()}We=null,lt=0}}const Ut=e=>e.id==null?1/0:e.id,$l=(e,t)=>{const n=Ut(e)-Ut(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Pi(e){pr=!1,kt=!0,ge.sort($l);try{for(Fe=0;Fe<ge.length;Fe++){const t=ge[Fe];t&&t.active!==!1&&Je(t,t.i,t.i?15:14)}}finally{Fe=0,ge.length=0,wn(),kt=!1,Vr=null,(ge.length||wt.length)&&Pi()}}let ue=null,Nn=null;function En(e){const t=ue;return ue=e,Nn=e&&e.type.__scopeId||null,t}function bu(e){Nn=e}function wu(){Nn=null}function Hl(e,t=ue,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&Ls(-1);const i=En(t);let o;try{o=e(...s)}finally{En(i),r._d&&Ls(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function Eu(e,t){if(ue===null)return e;const n=Vn(ue),r=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[i,o,l,c=re]=t[s];i&&(q(i)&&(i={mounted:i,updated:i}),i.deep&&Xe(o),r.push({dir:i,instance:n,value:o,oldValue:void 0,arg:l,modifiers:c}))}return e}function Pe(e,t,n,r){const s=e.dirs,i=t&&t.dirs;for(let o=0;o<s.length;o++){const l=s[o];i&&(l.oldValue=i[o].value);let c=l.dir[r];c&&(tt(),Ae(c,n,8,[e.el,l,e,t]),nt())}}const qe=Symbol("_leaveCb"),on=Symbol("_enterCb");function jl(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ot(()=>{e.isMounted=!0}),Bi(()=>{e.isUnmounting=!0}),e}const xe=[Function,Array],Fi={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:xe,onEnter:xe,onAfterEnter:xe,onEnterCancelled:xe,onBeforeLeave:xe,onLeave:xe,onAfterLeave:xe,onLeaveCancelled:xe,onBeforeAppear:xe,onAppear:xe,onAfterAppear:xe,onAppearCancelled:xe},Ni=e=>{const t=e.subTree;return t.component?Ni(t.component):t},Bl={name:"BaseTransition",props:Fi,setup(e,{slots:t}){const n=Dn(),r=jl();return()=>{const s=t.default&&Hi(t.default(),!0);if(!s||!s.length)return;let i=s[0];if(s.length>1){for(const p of s)if(p.type!==de){i=p;break}}const o=z(e),{mode:l}=o;if(r.isLeaving)return qn(i);const c=ps(i);if(!c)return qn(i);let a=mr(c,o,r,n,p=>a=p);Cn(c,a);const f=n.subTree,d=f&&ps(f);if(d&&d.type!==de&&!Ne(c,d)&&Ni(n).type!==de){const p=mr(d,o,r,n);if(Cn(d,p),l==="out-in"&&c.type!==de)return r.isLeaving=!0,p.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},qn(i);l==="in-out"&&c.type!==de&&(p.delayLeave=(_,w,O)=>{const k=$i(r,d);k[String(d.key)]=d,_[qe]=()=>{w(),_[qe]=void 0,delete a.delayedLeave},a.delayedLeave=O})}return i}}},Dl=Bl;function $i(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function mr(e,t,n,r,s){const{appear:i,mode:o,persisted:l=!1,onB
|
||
|
* @vue/runtime-dom v3.4.34
|
||
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
* @license MIT
|
||
|
**/const Jc="http://www.w3.org/2000/svg",zc="http://www.w3.org/1998/Math/MathML",Be=typeof document<"u"?document:null,Ps=Be&&Be.createElement("template"),Qc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?Be.createElementNS(Jc,e):t==="mathml"?Be.createElementNS(zc,e):n?Be.createElement(e,{is:n}):Be.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>Be.createTextNode(e),createComment:e=>Be.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Be.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,i){const o=n?n.previousSibling:t.lastChild;if(s&&(s===i||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===i||!(s=s.nextSibling)););else{Ps.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const l=Ps.content;if(r==="svg"||r==="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]}},Ue="transition",Mt="animation",qt=Symbol("_vtc"),vo=(e,{slots:t})=>Sr(Dl,Zc(e),t);vo.displayName="Transition";const bo={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};vo.props=fe({},Fi,bo);const it=(e,t=[])=>{K(e)?e.forEach(n=>n(...t)):e&&e(...t)},Fs=e=>e?K(e)?e.some(t=>t.length>1):e.length>1:!1;function Zc(e){const t={};for(const S in e)S in bo||(t[S]=e[S]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:a=o,appearToClass:f=l,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:_=`${n}-leave-to`}=e,w=ea(s),O=w&&w[0],k=w&&w[1],{onBeforeEnter:W,onEnter:H,onEnterCancelled:g,onLeave:v,onLeaveCancelled:E,onBeforeAppear:b=W,onAppear:P=H,onAppearCancelled:N=g}=t,R=(S,U,Q)=>{ot(S,U?f:l),ot(S,U?a:o),Q&&Q()},y=(S,U)=>{S._isLeaving=!1,ot(S,d),ot(S,_),ot(S,p),U&&U()},F=S=>(U,Q)=>{const ee=S?P:H,j=()=>R(U,S,Q);it(ee,[U,j]),Ns(()=>{ot(U,S?c:i),Ke(U,S?f:l),Fs(ee)||$s(U,r,O,j)})};return fe(t,{onBeforeEnter(S){it(W,[S]),Ke(S,i),Ke(S,o)},onBeforeAppear(S){it(b,[S]),Ke(S,c),Ke(S,a)},onEnter:F(!1),onAppear:F(!0),onLeave(S,U){S._isLeaving=!0;const Q=()=>y(S,U);Ke(S,d),Ke(S,p),ra(),Ns(()=>{S._isLeaving&&(ot(S,d),Ke(S,_),Fs(v)||$s(S,r,k,Q))}),it(v,[S,Q])},onEnterCancelled(S){R(S,!1),it(g,[S])},onAppearCancelled(S){R(S,!0),it(N,[S])},onLeaveCancelled(S){y(S),it(E,[S])}})}function ea(e){if(e==null)return null;if(te(e))return[zn(e.enter),zn(e.leave)];{const t=zn(e);return[t,t]}}function zn(e){return ai(e)}function Ke(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[qt]||(e[qt]=new Set)).add(t)}function ot(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[qt];n&&(n.delete(t),n.size||(e[qt]=void 0))}function Ns(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let ta=0;function $s(e,t,n,r){const s=e._endId=++ta,i=()=>{s===e._endId&&r()};if(n)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=na(e,t);if(!o)return r();const a=o+"end";let f=0;const d=()=>{e.removeEventListener(a,p),i()},p=_=>{_.target===e&&++f>=c&&d()};setTimeout(()=>{f<c&&d()},l+1),e.addEventListener(a,p)}function na(e,t){const n=window.getComputedStyle(e),r=w=>(n[w]||"").split(", "),s=r(`${Ue}Delay`),i=r(`${Ue}Duration`),o=Hs(s,i),l=r(`${Mt}Delay`),c=r(`${Mt}Duration`),a=Hs(l,c);let f=null,d=0,p=0;t===Ue?o>0&&(f=Ue,d=o,p=i.length):t===Mt?a>0&&(f=Mt,d=a,p=c.length):(d=Math.max(o,a),f=d>0?o>a?Ue:Mt:null,p=f?f===Ue?i.length:c.length:0);const _=f===Ue&&/\b(transform|all)(,|$)/.test(r(`${Ue}Property`).toStr
|