mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 12:54:52 +08:00
18 lines
91 KiB
JavaScript
18 lines
91 KiB
JavaScript
|
|
/**
|
||
|
|
* @vue/shared v3.4.31
|
||
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
|
* @license MIT
|
||
|
|
**//*! #__NO_SIDE_EFFECTS__ */function bs(e,t){const n=new Set(e.split(","));return s=>n.has(s)}const te={},bt=[],Se=()=>{},xo=()=>!1,Wt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),vs=e=>e.startsWith("onUpdate:"),ie=Object.assign,ws=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},To=Object.prototype.hasOwnProperty,Y=(e,t)=>To.call(e,t),$=Array.isArray,vt=e=>qt(e)==="[object Map]",Ot=e=>qt(e)==="[object Set]",qs=e=>qt(e)==="[object Date]",K=e=>typeof e=="function",re=e=>typeof e=="string",Fe=e=>typeof e=="symbol",Z=e=>e!==null&&typeof e=="object",Wr=e=>(Z(e)||K(e))&&K(e.then)&&K(e.catch),qr=Object.prototype.toString,qt=e=>qr.call(e),Ao=e=>qt(e).slice(8,-1),Gr=e=>qt(e)==="[object Object]",Es=e=>re(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,wt=bs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Tn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Oo=/-(\w)/g,$e=Tn(e=>e.replace(Oo,(t,n)=>n?n.toUpperCase():"")),Ro=/\B([A-Z])/g,gt=Tn(e=>e.replace(Ro,"-$1").toLowerCase()),An=Tn(e=>e.charAt(0).toUpperCase()+e.slice(1)),fn=Tn(e=>e?`on${An(e)}`:""),et=(e,t)=>!Object.is(e,t),un=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},zr=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},mn=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Io=e=>{const t=re(e)?Number(e):NaN;return isNaN(t)?e:t};let Gs;const Xr=()=>Gs||(Gs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Cs(e){if($(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=re(s)?No(s):Cs(s);if(r)for(const i in r)t[i]=r[i]}return t}else if(re(e)||Z(e))return e}const Lo=/;(?![^(]*\))/g,Mo=/:([^]+)/,Po=/\/\*[^]*?\*\//g;function No(e){const t={};return e.replace(Po,"").split(Lo).forEach(n=>{if(n){const s=n.split(Mo);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Ss(e){let t="";if(re(e))t=e;else if($(e))for(let n=0;n<e.length;n++){const s=Ss(e[n]);s&&(t+=s+" ")}else if(Z(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Fo="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",$o=bs(Fo);function Yr(e){return!!e||e===""}function Ho(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=pt(e[s],t[s]);return n}function pt(e,t){if(e===t)return!0;let n=qs(e),s=qs(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=Fe(e),s=Fe(t),n||s)return e===t;if(n=$(e),s=$(t),n||s)return n&&s?Ho(e,t):!1;if(n=Z(e),s=Z(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||!pt(e[o],t[o]))return!1}}return String(e)===String(t)}function xs(e,t){return e.findIndex(n=>pt(n,t))}const Jr=e=>!!(e&&e.__v_isRef===!0),jo=e=>re(e)?e:e==null?"":$(e)||Z(e)&&(e.toString===qr||!K(e.toString))?Jr(e)?jo(e.value):JSON.stringify(e,Qr,2):String(e),Qr=(e,t)=>Jr(t)?Qr(e,t.value):vt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[Kn(s,i)+" =>"]=r,n),{})}:Ot(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Kn(n))}:Fe(t)?Kn(t):Z(t)&&!$(t)&&!Gr(t)?String(t):t,Kn=(e,t="")=>{var n;return Fe(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
||
|
|
* @vue/reactivity v3.4.31
|
||
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
|
* @license MIT
|
||
|
|
**/let we;class Vo{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=we,!t&&we&&(this.index=(we.scopes||(we.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=we;try{return we=this,t()}finally{we=n}}}on(){we=this}off(){we=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 Do(e,t=we){t&&t.active&&t.effects.push(e)}function Zr(){return we}function Uo(e){we&&we.cleanups.push(e)}let ut;class Ts{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,Do(this,r)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,st();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(ko(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),rt()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Je,n=ut;try{return Je=!0,ut=this,this._runnings++,zs(this),this.fn()}finally{Xs(this),this._runnings--,ut=n,Je=t}}stop(){this.active&&(zs(this),Xs(this),this.onStop&&this.onStop(),this.active=!1)}}function ko(e){return e.value}function zs(e){e._trackId++,e._depsLength=0}function Xs(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)ei(e.deps[t],e);e.deps.length=e._depsLength}}function ei(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let Je=!0,cs=0;const ti=[];function st(){ti.push(Je),Je=!1}function rt(){const e=ti.pop();Je=e===void 0?!0:e}function As(){cs++}function Os(){for(cs--;!cs&&as.length;)as.shift()()}function ni(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const s=e.deps[e._depsLength];s!==t?(s&&ei(s,e),e.deps[e._depsLength++]=t):e._depsLength++}}const as=[];function si(e,t,n){As();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&&as.push(s.scheduler)))}Os()}const ri=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},yn=new WeakMap,dt=Symbol(""),fs=Symbol("");function be(e,t,n){if(Je&&ut){let s=yn.get(e);s||yn.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=ri(()=>s.delete(n))),ni(ut,r)}}function Ue(e,t,n,s,r,i){const o=yn.get(e);if(!o)return;let l=[];if(t==="clear")l=[...o.values()];else if(n==="length"&&$(e)){const c=Number(s);o.forEach((f,d)=>{(d==="length"||!Fe(d)&&d>=c)&&l.push(f)})}else switch(n!==void 0&&l.push(o.get(n)),t){case"add":$(e)?Es(n)&&l.push(o.get("length")):(l.push(o.get(dt)),vt(e)&&l.push(o.get(fs)));break;case"delete":$(e)||(l.push(o.get(dt)),vt(e)&&l.push(o.get(fs)));break;case"set":vt(e)&&l.push(o.get(dt));break}As();for(const c of l)c&&si(c,4);Os()}function Bo(e,t){const n=yn.get(e);return n&&n.get(t)}const Ko=bs("__proto__,__v_isRef,__isVue"),ii=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Fe)),Ys=Wo();function Wo(){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++)be(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){st(),As();const s=J(this)[t].apply(this,n);return Os(),rt(),s}}),e}function qo(e){Fe(e)||(e=String(e));const t=J(this);return be(t,"has",e),t.hasOwnProperty(e)}class oi{constructor(t=!1,n=!1){this._isRe
|
||
|
|
* @vue/runtime-core v3.4.31
|
||
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
|
* @license MIT
|
||
|
|
**/function Qe(e,t,n,s){try{return s?e(...s):e()}catch(r){Ln(r,t,n)}}function xe(e,t,n,s){if(K(e)){const r=Qe(e,t,n,s);return r&&Wr(r)&&r.catch(i=>{Ln(i,t,n)}),r}if($(e)){const r=[];for(let i=0;i<e.length;i++)r.push(xe(e[i],t,n,s));return r}}function Ln(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 f=i.ec;if(f){for(let d=0;d<f.length;d++)if(f[d](e,o,l)===!1)return}i=i.parent}const c=t.appContext.config.errorHandler;if(c){st(),Qe(c,null,10,[e,o,l]),rt();return}}_l(e,n,r,s)}function _l(e,t,n,s=!0){console.error(e)}let Ut=!1,us=!1;const he=[];let Pe=0;const Et=[];let Ge=null,at=0;const yi=Promise.resolve();let Ns=null;function Gt(e){const t=Ns||yi;return e?t.then(this?e.bind(this):e):t}function bl(e){let t=Pe+1,n=he.length;for(;t<n;){const s=t+n>>>1,r=he[s],i=kt(r);i<e||i===e&&r.pre?t=s+1:n=s}return t}function Fs(e){(!he.length||!he.includes(e,Ut&&e.allowRecurse?Pe+1:Pe))&&(e.id==null?he.push(e):he.splice(bl(e.id),0,e),_i())}function _i(){!Ut&&!us&&(us=!0,Ns=yi.then(bi))}function vl(e){const t=he.indexOf(e);t>Pe&&he.splice(t,1)}function wl(e){$(e)?Et.push(...e):(!Ge||!Ge.includes(e,e.allowRecurse?at+1:at))&&Et.push(e),_i()}function tr(e,t,n=Ut?Pe+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 bn(e){if(Et.length){const t=[...new Set(Et)].sort((n,s)=>kt(n)-kt(s));if(Et.length=0,Ge){Ge.push(...t);return}for(Ge=t,at=0;at<Ge.length;at++){const n=Ge[at];n.active!==!1&&n()}Ge=null,at=0}}const kt=e=>e.id==null?1/0:e.id,El=(e,t)=>{const n=kt(e)-kt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function bi(e){us=!1,Ut=!0,he.sort(El);try{for(Pe=0;Pe<he.length;Pe++){const t=he[Pe];t&&t.active!==!1&&Qe(t,null,14)}}finally{Pe=0,he.length=0,bn(),Ut=!1,Ns=null,(he.length||Et.length)&&bi()}}function Cl(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||te;let r=n;const i=t.startsWith("update:"),o=i&&t.slice(7);if(o&&o in s){const d=`${o==="modelValue"?"model":o}Modifiers`,{number:h,trim:b}=s[d]||te;b&&(r=n.map(T=>re(T)?T.trim():T)),h&&(r=n.map(mn))}let l,c=s[l=fn(t)]||s[l=fn($e(t))];!c&&i&&(c=s[l=fn(gt(t))]),c&&xe(c,e,6,r);const f=s[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,xe(f,e,6,r)}}function vi(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!K(e)){const c=f=>{const d=vi(f,t,!0);d&&(l=!0,ie(o,d))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(Z(e)&&s.set(e,null),null):($(i)?i.forEach(c=>o[c]=null):ie(o,i),Z(e)&&s.set(e,o),o)}function Mn(e,t){return!e||!Wt(t)?!1:(t=t.slice(2).replace(/Once$/,""),Y(e,t[0].toLowerCase()+t.slice(1))||Y(e,gt(t))||Y(e,t))}let ce=null,Pn=null;function vn(e){const t=ce;return ce=e,Pn=e&&e.type.__scopeId||null,t}function ef(e){Pn=e}function tf(){Pn=null}function Sl(e,t=ce,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&gr(-1);const i=vn(t);let o;try{o=e(...r)}finally{vn(i),s._d&&gr(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function Wn(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:c,render:f,renderCache:d,props:h,data:b,setupState:T,ctx:M,inheritAttrs:P}=e,k=vn(e);let G,z;try{if(n.shapeFlag&4){const m=r||s,L=m;G=Oe(f.call(L,m,d,h,T,b,M)),z=l}else{const m=t;G=Oe(m.length>1?m(h,{attrs:l,slots:o,emit:c}):m(h,null)),z=t.props?l:xl(l)}}catch(m){jt.length=0,Ln(m,e,1),G=ue(me)}let g=G;if(z&&P!==!1){const m=Object.keys(z),{shapeFlag:L}=g;m.length&&L&7&&(i&&m.some(vs)&&(z=Tl(z,i)),g=tt(g,z,!1,!0))}return n.dirs&&(g=tt(g,null,!1,!0),g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&(g.transition=n.transition),G=g,vn(k),G}const xl=e=>{let t;for(const n in e)(n==="class"||n==="style"||Wt(n))&&((t||(t={}))[n]=e[n]);return t},Tl=(e,t)=>{const n={};for(const s in e)(!vs(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Al(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,patchFlag:c}=t,f=i.emitsOptions;if(t.dirs
|
||
|
|
* @vue/runtime-dom v3.4.31
|
||
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
|
* @license MIT
|
||
|
|
**/const Ac="http://www.w3.org/2000/svg",Oc="http://www.w3.org/1998/Math/MathML",Ve=typeof document<"u"?document:null,br=Ve&&Ve.createElement("template"),Rc={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"?Ve.createElementNS(Ac,e):t==="mathml"?Ve.createElementNS(Oc,e):n?Ve.createElement(e,{is:n}):Ve.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Ve.createTextNode(e),createComment:e=>Ve.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ve.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{br.innerHTML=s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e;const l=br.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",Lt="animation",Kt=Symbol("_vtc"),so=(e,{slots:t})=>_s(dc,Ic(e),t);so.displayName="Transition";const ro={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};so.props=ie({},Ki,ro);const lt=(e,t=[])=>{$(e)?e.forEach(n=>n(...t)):e&&e(...t)},vr=e=>e?$(e)?e.some(t=>t.length>1):e.length>1:!1;function Ic(e){const t={};for(const S in e)S in ro||(t[S]=e[S]);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:d=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:b=`${n}-leave-active`,leaveToClass:T=`${n}-leave-to`}=e,M=Lc(r),P=M&&M[0],k=M&&M[1],{onBeforeEnter:G,onEnter:z,onEnterCancelled:g,onLeave:m,onLeaveCancelled:L,onBeforeAppear:O=G,onAppear:U=z,onAppearCancelled:D=g}=t,I=(S,W,ne)=>{ct(S,W?d:l),ct(S,W?f:o),ne&&ne()},w=(S,W)=>{S._isLeaving=!1,ct(S,h),ct(S,T),ct(S,b),W&&W()},N=S=>(W,ne)=>{const oe=S?U:z,j=()=>I(W,S,ne);lt(oe,[W,j]),wr(()=>{ct(W,S?c:i),qe(W,S?d:l),vr(oe)||Er(W,s,P,j)})};return ie(t,{onBeforeEnter(S){lt(G,[S]),qe(S,i),qe(S,o)},onBeforeAppear(S){lt(O,[S]),qe(S,c),qe(S,f)},onEnter:N(!1),onAppear:N(!0),onLeave(S,W){S._isLeaving=!0;const ne=()=>w(S,W);qe(S,h),qe(S,b),Nc(),wr(()=>{S._isLeaving&&(ct(S,h),qe(S,T),vr(m)||Er(S,s,k,ne))}),lt(m,[S,ne])},onEnterCancelled(S){I(S,!1),lt(g,[S])},onAppearCancelled(S){I(S,!0),lt(D,[S])},onLeaveCancelled(S){w(S),lt(L,[S])}})}function Lc(e){if(e==null)return null;if(Z(e))return[Xn(e.enter),Xn(e.leave)];{const t=Xn(e);return[t,t]}}function Xn(e){return Io(e)}function qe(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Kt]||(e[Kt]=new Set)).add(t)}function ct(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Kt];n&&(n.delete(t),n.size||(e[Kt]=void 0))}function wr(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Mc=0;function Er(e,t,n,s){const r=e._endId=++Mc,i=()=>{r===e._endId&&s()};if(n)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=Pc(e,t);if(!o)return s();const f=o+"end";let d=0;const h=()=>{e.removeEventListener(f,b),i()},b=T=>{T.target===e&&++d>=c&&h()};setTimeout(()=>{d<c&&h()},l+1),e.addEventListener(f,b)}function Pc(e,t){const n=window.getComputedStyle(e),s=M=>(n[M]||"").split(", "),r=s(`${We}Delay`),i=s(`${We}Duration`),o=Cr(r,i),l=s(`${Lt}Delay`),c=s(`${Lt}Duration`),f=Cr(l,c);let d=null,h=0,b=0;t===We?o>0&&(d=We,h=o,b=i.length):t===Lt?f>0&&(d=Lt,h=f,b=c.length):(h=Math.max(o,f),d=h>0?o>f?We:Lt:null,b=d?d===We?i.length:c.length:0);const T=d===We&&/\b(transform|all)(,|$)/.test(s(`${We}Property`
|