mirror of
https://github.com/snowykami/mbcp.git
synced 2024-12-02 10:05:01 +08:00
18 lines
88 KiB
JavaScript
18 lines
88 KiB
JavaScript
|
/**
|
||
|
* @vue/shared v3.4.38
|
||
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
* @license MIT
|
||
|
**//*! #__NO_SIDE_EFFECTS__ */function us(e,t){const n=new Set(e.split(","));return s=>n.has(s)}const se={},mt=[],Ae=()=>{},ao=()=>!1,Vt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ds=e=>e.startsWith("onUpdate:"),le=Object.assign,hs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},fo=Object.prototype.hasOwnProperty,Y=(e,t)=>fo.call(e,t),V=Array.isArray,yt=e=>mn(e)==="[object Map]",Or=e=>mn(e)==="[object Set]",K=e=>typeof e=="function",ie=e=>typeof e=="string",Je=e=>typeof e=="symbol",Z=e=>e!==null&&typeof e=="object",Lr=e=>(Z(e)||K(e))&&K(e.then)&&K(e.catch),Ir=Object.prototype.toString,mn=e=>Ir.call(e),uo=e=>mn(e).slice(8,-1),Mr=e=>mn(e)==="[object Object]",ps=e=>ie(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,_t=us(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),yn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},ho=/-(\w)/g,Le=yn(e=>e.replace(ho,(t,n)=>n?n.toUpperCase():"")),po=/\B([A-Z])/g,Qe=yn(e=>e.replace(po,"-$1").toLowerCase()),_n=yn(e=>e.charAt(0).toUpperCase()+e.slice(1)),nn=yn(e=>e?`on${_n(e)}`:""),Xe=(e,t)=>!Object.is(e,t),Fn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Pr=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},go=e=>{const t=parseFloat(e);return isNaN(t)?e:t},mo=e=>{const t=ie(e)?Number(e):NaN;return isNaN(t)?e:t};let js;const Nr=()=>js||(js=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function gs(e){if(V(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=ie(s)?vo(s):gs(s);if(r)for(const i in r)t[i]=r[i]}return t}else if(ie(e)||Z(e))return e}const yo=/;(?![^(]*\))/g,_o=/:([^]+)/,bo=/\/\*[^]*?\*\//g;function vo(e){const t={};return e.replace(bo,"").split(yo).forEach(n=>{if(n){const s=n.split(_o);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function ms(e){let t="";if(ie(e))t=e;else if(V(e))for(let n=0;n<e.length;n++){const s=ms(e[n]);s&&(t+=s+" ")}else if(Z(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const wo="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Eo=us(wo);function Fr(e){return!!e||e===""}const Hr=e=>!!(e&&e.__v_isRef===!0),Co=e=>ie(e)?e:e==null?"":V(e)||Z(e)&&(e.toString===Ir||!K(e.toString))?Hr(e)?Co(e.value):JSON.stringify(e,$r,2):String(e),$r=(e,t)=>Hr(t)?$r(e,t.value):yt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[Hn(s,i)+" =>"]=r,n),{})}:Or(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Hn(n))}:Je(t)?Hn(t):Z(t)&&!V(t)&&!Mr(t)?String(t):t,Hn=(e,t="")=>{var n;return Je(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
||
|
* @vue/reactivity v3.4.38
|
||
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
* @license MIT
|
||
|
**/let Ee;class So{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,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 xo(e,t=Ee){t&&t.active&&t.effects.push(e)}function jr(){return Ee}function To(e){Ee&&Ee.cleanups.push(e)}let ct;class ys{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,xo(this,r)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,Ze();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(Ao(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),et()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=qe,n=ct;try{return qe=!0,ct=this,this._runnings++,Ds(this),this.fn()}finally{Vs(this),this._runnings--,ct=n,qe=t}}stop(){this.active&&(Ds(this),Vs(this),this.onStop&&this.onStop(),this.active=!1)}}function Ao(e){return e.value}function Ds(e){e._trackId++,e._depsLength=0}function Vs(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)Dr(e.deps[t],e);e.deps.length=e._depsLength}}function Dr(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let qe=!0,es=0;const Vr=[];function Ze(){Vr.push(qe),qe=!1}function et(){const e=Vr.pop();qe=e===void 0?!0:e}function _s(){es++}function bs(){for(es--;!es&&ts.length;)ts.shift()()}function Ur(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const s=e.deps[e._depsLength];s!==t?(s&&Dr(s,e),e.deps[e._depsLength++]=t):e._depsLength++}}const ts=[];function Br(e,t,n){_s();for(const s of e.keys()){let r;s._dirtyLevel<t&&(r??(r=e.get(s)===s._trackId))&&(s._shouldSchedule||(s._shouldSchedule=s._dirtyLevel===0),s._dirtyLevel=t),s._shouldSchedule&&(r??(r=e.get(s)===s._trackId))&&(s.trigger(),(!s._runnings||s.allowRecurse)&&s._dirtyLevel!==2&&(s._shouldSchedule=!1,s.scheduler&&ts.push(s.scheduler)))}bs()}const kr=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},cn=new WeakMap,at=Symbol(""),ns=Symbol("");function ve(e,t,n){if(qe&&ct){let s=cn.get(e);s||cn.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=kr(()=>s.delete(n))),Ur(ct,r)}}function $e(e,t,n,s,r,i){const o=cn.get(e);if(!o)return;let l=[];if(t==="clear")l=[...o.values()];else if(n==="length"&&V(e)){const c=Number(s);o.forEach((u,d)=>{(d==="length"||!Je(d)&&d>=c)&&l.push(u)})}else switch(n!==void 0&&l.push(o.get(n)),t){case"add":V(e)?ps(n)&&l.push(o.get("length")):(l.push(o.get(at)),yt(e)&&l.push(o.get(ns)));break;case"delete":V(e)||(l.push(o.get(at)),yt(e)&&l.push(o.get(ns)));break;case"set":yt(e)&&l.push(o.get(at));break}_s();for(const c of l)c&&Br(c,4);bs()}function Ro(e,t){const n=cn.get(e);return n&&n.get(t)}const Oo=us("__proto__,__v_isRef,__isVue"),Kr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Je)),Us=Lo();function Lo(){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++)ve(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){Ze(),_s();const s=J(this)[t].apply(this,n);return bs(),et(),s}}),e}function Io(e){Je(e)||(e=String(e));const t=J(this);return ve(t,"has",e),t.hasOwnProperty(e)}class Wr{constructor(t=!1,n=!1){this._isRe
|
||
|
* @vue/runtime-core v3.4.38
|
||
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
* @license MIT
|
||
|
**/function Ge(e,t,n,s){try{return s?e(...s):e()}catch(r){En(r,t,n)}}function Re(e,t,n,s){if(K(e)){const r=Ge(e,t,n,s);return r&&Lr(r)&&r.catch(i=>{En(i,t,n)}),r}if(V(e)){const r=[];for(let i=0;i<e.length;i++)r.push(Re(e[i],t,n,s));return r}}function En(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 d=0;d<u.length;d++)if(u[d](e,o,l)===!1)return}i=i.parent}const c=t.appContext.config.errorHandler;if(c){Ze(),Ge(c,null,10,[e,o,l]),et();return}}sl(e,n,r,s)}function sl(e,t,n,s=!0){console.error(e)}let Ht=!1,ss=!1;const he=[];let Ne=0;const vt=[];let ke=null,it=0;const ni=Promise.resolve();let xs=null;function Cn(e){const t=xs||ni;return e?t.then(this?e.bind(this):e):t}function rl(e){let t=Ne+1,n=he.length;for(;t<n;){const s=t+n>>>1,r=he[s],i=$t(r);i<e||i===e&&r.pre?t=s+1:n=s}return t}function Ts(e){(!he.length||!he.includes(e,Ht&&e.allowRecurse?Ne+1:Ne))&&(e.id==null?he.push(e):he.splice(rl(e.id),0,e),si())}function si(){!Ht&&!ss&&(ss=!0,xs=ni.then(ri))}function il(e){const t=he.indexOf(e);t>Ne&&he.splice(t,1)}function ol(e){V(e)?vt.push(...e):(!ke||!ke.includes(e,e.allowRecurse?it+1:it))&&vt.push(e),si()}function qs(e,t,n=Ht?Ne+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 an(e){if(vt.length){const t=[...new Set(vt)].sort((n,s)=>$t(n)-$t(s));if(vt.length=0,ke){ke.push(...t);return}for(ke=t,it=0;it<ke.length;it++){const n=ke[it];n.active!==!1&&n()}ke=null,it=0}}const $t=e=>e.id==null?1/0:e.id,ll=(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 ri(e){ss=!1,Ht=!0,he.sort(ll);try{for(Ne=0;Ne<he.length;Ne++){const t=he[Ne];t&&t.active!==!1&&Ge(t,t.i,t.i?15:14)}}finally{Ne=0,he.length=0,an(),Ht=!1,xs=null,(he.length||vt.length)&&ri()}}let pe=null,Sn=null;function fn(e){const t=pe;return pe=e,Sn=e&&e.type.__scopeId||null,t}function Ua(e){Sn=e}function Ba(){Sn=null}function cl(e,t=pe,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&sr(-1);const i=fn(t);let o;try{o=e(...r)}finally{fn(i),s._d&&sr(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function Pe(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&&(Ze(),Re(c,n,8,[e.el,l,e,t]),et())}}const Ke=Symbol("_leaveCb"),Xt=Symbol("_enterCb");function al(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Tt(()=>{e.isMounted=!0}),ui(()=>{e.isUnmounting=!0}),e}const Se=[Function,Array],ii={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Se,onEnter:Se,onAfterEnter:Se,onEnterCancelled:Se,onBeforeLeave:Se,onLeave:Se,onAfterLeave:Se,onLeaveCancelled:Se,onBeforeAppear:Se,onAppear:Se,onAfterAppear:Se,onAppearCancelled:Se},oi=e=>{const t=e.subTree;return t.component?oi(t.component):t},fl={name:"BaseTransition",props:ii,setup(e,{slots:t}){const n=Ln(),s=al();return()=>{const r=t.default&&ci(t.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1){for(const v of r)if(v.type!==ye){i=v;break}}const o=J(e),{mode:l}=o;if(s.isLeaving)return $n(i);const c=Gs(i);if(!c)return $n(i);let u=rs(c,o,s,n,v=>u=v);un(c,u);const d=n.subTree,h=d&&Gs(d);if(h&&h.type!==ye&&!lt(c,h)&&oi(n).type!==ye){const v=rs(h,o,s,n);if(un(h,v),l==="out-in"&&c.type!==ye)return s.isLeaving=!0,v.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},$n(i);l==="in-out"&&c.type!==ye&&(v.delayLeave=(T,N,P)=>{const W=li(s,h);W[String(h.key)]=h,T[Ke]=()=>{N(),T[Ke]=void 0,delete u.delayedLeave},u.delayedLeave=P})}return i}}},ul=fl;function li(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 rs(e,t,n,s,r){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:c,onEnter:u,onAfterEnter:d,onEnterCancelled:h,onBeforeLeave:v,onLeave:T,onAfterLeave:N,onLeaveCancelled:P,onBeforeAppear:W,onAppear:q,onAfterAppear:G,onAppearCancelled:p}=t,m=String(e.key),I=li(n,e),R=(O,_)=>{O&&Re(O,s,9,_)},U=(O,_)=>{const M=
|
||
|
* @vue/runtime-dom v3.4.38
|
||
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
* @license MIT
|
||
|
**/const gc="http://www.w3.org/2000/svg",mc="http://www.w3.org/1998/Math/MathML",He=typeof document<"u"?document:null,lr=He&&He.createElement("template"),yc={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"?He.createElementNS(gc,e):t==="mathml"?He.createElementNS(mc,e):n?He.createElement(e,{is:n}):He.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>He.createTextNode(e),createComment:e=>He.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>He.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{lr.innerHTML=s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e;const l=lr.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]}},Ue="transition",Ot="animation",Dt=Symbol("_vtc"),ki=(e,{slots:t})=>fs(ul,_c(e),t);ki.displayName="Transition";const Ki={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};ki.props=le({},ii,Ki);const st=(e,t=[])=>{V(e)?e.forEach(n=>n(...t)):e&&e(...t)},cr=e=>e?V(e)?e.some(t=>t.length>1):e.length>1:!1;function _c(e){const t={};for(const E in e)E in Ki||(t[E]=e[E]);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:d=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:v=`${n}-leave-active`,leaveToClass:T=`${n}-leave-to`}=e,N=bc(r),P=N&&N[0],W=N&&N[1],{onBeforeEnter:q,onEnter:G,onEnterCancelled:p,onLeave:m,onLeaveCancelled:I,onBeforeAppear:R=q,onAppear:U=G,onAppearCancelled:B=p}=t,O=(E,D,ee)=>{rt(E,D?d:l),rt(E,D?u:o),ee&&ee()},_=(E,D)=>{E._isLeaving=!1,rt(E,h),rt(E,T),rt(E,v),D&&D()},M=E=>(D,ee)=>{const ne=E?U:G,$=()=>O(D,E,ee);st(ne,[D,$]),ar(()=>{rt(D,E?c:i),Be(D,E?d:l),cr(ne)||fr(D,s,P,$)})};return le(t,{onBeforeEnter(E){st(q,[E]),Be(E,i),Be(E,o)},onBeforeAppear(E){st(R,[E]),Be(E,c),Be(E,u)},onEnter:M(!1),onAppear:M(!0),onLeave(E,D){E._isLeaving=!0;const ee=()=>_(E,D);Be(E,h),Be(E,v),Ec(),ar(()=>{E._isLeaving&&(rt(E,h),Be(E,T),cr(m)||fr(E,s,W,ee))}),st(m,[E,ee])},onEnterCancelled(E){O(E,!1),st(p,[E])},onAppearCancelled(E){O(E,!0),st(B,[E])},onLeaveCancelled(E){_(E),st(I,[E])}})}function bc(e){if(e==null)return null;if(Z(e))return[Un(e.enter),Un(e.leave)];{const t=Un(e);return[t,t]}}function Un(e){return mo(e)}function Be(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Dt]||(e[Dt]=new Set)).add(t)}function rt(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Dt];n&&(n.delete(t),n.size||(e[Dt]=void 0))}function ar(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let vc=0;function fr(e,t,n,s){const r=e._endId=++vc,i=()=>{r===e._endId&&s()};if(n)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=wc(e,t);if(!o)return s();const u=o+"end";let d=0;const h=()=>{e.removeEventListener(u,v),i()},v=T=>{T.target===e&&++d>=c&&h()};setTimeout(()=>{d<c&&h()},l+1),e.addEventListener(u,v)}function wc(e,t){const n=window.getComputedStyle(e),s=N=>(n[N]||"").split(", "),r=s(`${Ue}Delay`),i=s(`${Ue}Duration`),o=ur(r,i),l=s(`${Ot}Delay`),c=s(`${Ot}Duration`),u=ur(l,c);let d=null,h=0,v=0;t===Ue?o>0&&(d=Ue,h=o,v=i.length):t===Ot?u>0&&(d=Ot,h=u,v=c.length):(h=Math.max(o,u),d=h>0?o>u?Ue:Ot:null,v=d?d===Ue?i.length:c.length:0);const T=d===Ue&&/\b(transform|all)(,|$)/.test(s(`${Ue}Property`
|