app/assets/app-DqyTA0t7.js

35 lines
230 KiB
JavaScript
Raw Normal View History

function __vite__mapDeps(indexes) {
if (!__vite__mapDeps.viteFileDeps) {
__vite__mapDeps.viteFileDeps = ["assets/index.html-jqk_o5pB.js","assets/plugin-vue_export-helper-DlAUqK2U.js","assets/foolsday.html-B9K5pWbs.js","assets/index.html-CmLhEaRn.js","assets/config.html-Dfeh8wi9.js","assets/fandq.html-VCOMmVFi.js","assets/install.html-D_Julere.js","assets/index.html-BVen1vRq.js","assets/agreement.html-Dq1US1JW.js","assets/basic_command.html-CZmRN9Oc.js","assets/extra_command.html-CeS7qek-.js","assets/404.html-DMC6Oh8q.js"]
}
return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
}
/**
* @vue/shared v3.4.21
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function vs(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}const me={},gn=[],tt=()=>{},Tu=()=>!1,hr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ms=e=>e.startsWith("onUpdate:"),ke=Object.assign,gs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Au=Object.prototype.hasOwnProperty,ae=(e,t)=>Au.call(e,t),te=Array.isArray,Un=e=>ro(e)==="[object Map]",Lu=e=>ro(e)==="[object Set]",ne=e=>typeof e=="function",Pe=e=>typeof e=="string",no=e=>typeof e=="symbol",be=e=>e!==null&&typeof e=="object",La=e=>(be(e)||ne(e))&&ne(e.then)&&ne(e.catch),Iu=Object.prototype.toString,ro=e=>Iu.call(e),$u=e=>ro(e).slice(8,-1),Ou=e=>ro(e)==="[object Object]",ys=e=>Pe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,yn=vs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),oo=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Pu=/-(\w)/g,st=oo(e=>e.replace(Pu,(t,n)=>n?n.toUpperCase():"")),Ru=/\B([A-Z])/g,On=oo(e=>e.replace(Ru,"-$1").toLowerCase()),vr=oo(e=>e.charAt(0).toUpperCase()+e.slice(1)),yo=oo(e=>e?`on${vr(e)}`:""),Vt=(e,t)=>!Object.is(e,t),bo=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Gr=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Mu=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Nu=e=>{const t=Pe(e)?Number(e):NaN;return isNaN(t)?e:t};let tl;const Ia=()=>tl||(tl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function bs(e){if(te(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=Pe(r)?Hu(r):bs(r);if(o)for(const s in o)t[s]=o[s]}return t}else if(Pe(e)||be(e))return e}const Du=/;(?![^(]*\))/g,ju=/:([^]+)/,Bu=/\/\*[^]*?\*\//g;function Hu(e){const t={};return e.replace(Bu,"").split(Du).forEach(n=>{if(n){const r=n.split(ju);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function ws(e){let t="";if(Pe(e))t=e;else if(te(e))for(let n=0;n<e.length;n++){const r=ws(e[n]);r&&(t+=r+" ")}else if(be(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Fu="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Vu=vs(Fu);function $a(e){return!!e||e===""}/**
* @vue/reactivity v3.4.21
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let Ye;class zu{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ye,!t&&Ye&&(this.index=(Ye.scopes||(Ye.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Ye;try{return Ye=this,t()}finally{Ye=n}}}on(){Ye=this}off(){Ye=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 o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function qu(e,t=Ye){t&&t.active&&t.effects.push(e)}function Oa(){return Ye}function Uu(e){Ye&&Ye.cleanups.push(e)}let Zt;class _s{constructor(t,n,r,o){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,qu(this,o)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,rn();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(Wu(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),on()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Ht,n=Zt;try{return Ht=!0,Zt=this,this._runnings++,nl(this),this.fn()}finally{rl(this),this._runnings--,Zt=n,Ht=t}}stop(){var t;this.active&&(nl(this),rl(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function Wu(e){return e.value}function nl(e){e._trackId++,e._depsLength=0}function rl(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)Pa(e.deps[t],e);e.deps.length=e._depsLength}}function Pa(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let Ht=!0,Uo=0;const Ra=[];function rn(){Ra.push(Ht),Ht=!1}function on(){const e=Ra.pop();Ht=e===void 0?!0:e}function Es(){Uo++}function Cs(){for(Uo--;!Uo&&Wo.length;)Wo.shift()()}function Ma(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&Pa(r,e),e.deps[e._depsLength++]=t):e._depsLength++}}const Wo=[];function Na(e,t,n){Es();for(const r of e.keys()){let o;r._dirtyLevel<t&&(o??(o=e.get(r)===r._trackId))&&(r._shouldSchedule||(r._shouldSchedule=r._dirtyLevel===0),r._dirtyLevel=t),r._shouldSchedule&&(o??(o=e.get(r)===r._trackId))&&(r.trigger(),(!r._runnings||r.allowRecurse)&&r._dirtyLevel!==2&&(r._shouldSchedule=!1,r.scheduler&&Wo.push(r.scheduler)))}Cs()}const Da=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},Kr=new WeakMap,en=Symbol(""),Go=Symbol("");function Ue(e,t,n){if(Ht&&Zt){let r=Kr.get(e);r||Kr.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=Da(()=>r.delete(n))),Ma(Zt,o)}}function kt(e,t,n,r,o,s){const l=Kr.get(e);if(!l)return;let a=[];if(t==="clear")a=[...l.values()];else if(n==="length"&&te(e)){const i=Number(r);l.forEach((c,u)=>{(u==="length"||!no(u)&&u>=i)&&a.push(c)})}else switch(n!==void 0&&a.push(l.get(n)),t){case"add":te(e)?ys(n)&&a.push(l.get("length")):(a.push(l.get(en)),Un(e)&&a.push(l.get(Go)));break;case"delete":te(e)||(a.push(l.get(en)),Un(e)&&a.push(l.get(Go)));break;case"set":Un(e)&&a.push(l.get(en));break}Es();for(const i of a)i&&Na(i,4);Cs()}function Gu(e,t){var n;return(n=Kr.get(e))==null?void 0:n.get(t)}const Ku=vs("__proto__,__v_isRef,__isVue"),ja=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(no)),ol=Yu();function Yu(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=oe(this);for(let s=0,l=this.length;s<l;s++)Ue(r,"get",s+"");const o=r[t](...n);return o===-1||o===!1?r[t](...n.map(oe)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){rn(),Es();const r=oe(this)[t].apply(this,n);return Cs(),on(),r}}),e}function Ju(e){const t=oe(this);return Ue(t,"has",e),t.hasOwnProperty(e)}class Ba{constructor(t=!1,n=!1
* @vue/runtime-core v3.4.21
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function Ft(e,t,n,r){try{return r?e(...r):e()}catch(o){yr(o,t,n)}}function rt(e,t,n,r){if(ne(e)){const s=Ft(e,t,n,r);return s&&La(s)&&s.catch(l=>{yr(l,t,n)}),s}const o=[];for(let s=0;s<e.length;s++)o.push(rt(e[s],t,n,r));return o}function yr(e,t,n,r=!0){const o=t?t.vnode:null;if(t){let s=t.parent;const l=t.proxy,a=`https://vuejs.org/error-reference/#runtime-${n}`;for(;s;){const c=s.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](e,l,a)===!1)return}s=s.parent}const i=t.appContext.config.errorHandler;if(i){Ft(i,null,10,[e,l,a]);return}}wf(e,n,o,r)}function wf(e,t,n,r=!0){console.error(e)}let nr=!1,Ko=!1;const De=[];let gt=0;const wn=[];let Mt=null,Jt=0;const Ja=Promise.resolve();let Is=null;function Ut(e){const t=Is||Ja;return e?t.then(this?e.bind(this):e):t}function _f(e){let t=gt+1,n=De.length;for(;t<n;){const r=t+n>>>1,o=De[r],s=rr(o);s<e||s===e&&o.pre?t=r+1:n=r}return t}function ao(e){(!De.length||!De.includes(e,nr&&e.allowRecurse?gt+1:gt))&&(e.id==null?De.push(e):De.splice(_f(e.id),0,e),Qa())}function Qa(){!nr&&!Ko&&(Ko=!0,Is=Ja.then(Xa))}function Ef(e){const t=De.indexOf(e);t>gt&&De.splice(t,1)}function Cf(e){te(e)?wn.push(...e):(!Mt||!Mt.includes(e,e.allowRecurse?Jt+1:Jt))&&wn.push(e),Qa()}function cl(e,t,n=nr?gt+1:0){for(;n<De.length;n++){const r=De[n];if(r&&r.pre){if(e&&r.id!==e.uid)continue;De.splice(n,1),n--,r()}}}function Jr(e){if(wn.length){const t=[...new Set(wn)].sort((n,r)=>rr(n)-rr(r));if(wn.length=0,Mt){Mt.push(...t);return}for(Mt=t,Jt=0;Jt<Mt.length;Jt++)Mt[Jt]();Mt=null,Jt=0}}const rr=e=>e.id==null?1/0:e.id,Sf=(e,t)=>{const n=rr(e)-rr(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Xa(e){Ko=!1,nr=!0,De.sort(Sf);try{for(gt=0;gt<De.length;gt++){const t=De[gt];t&&t.active!==!1&&Ft(t,null,14)}}finally{gt=0,De.length=0,Jr(),nr=!1,Is=null,(De.length||wn.length)&&Xa()}}function xf(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||me;let o=n;const s=t.startsWith("update:"),l=s&&t.slice(7);if(l&&l in r){const u=`${l==="modelValue"?"model":l}Modifiers`,{number:d,trim:p}=r[u]||me;p&&(o=n.map(v=>Pe(v)?v.trim():v)),d&&(o=n.map(Mu))}let a,i=r[a=yo(t)]||r[a=yo(st(t))];!i&&s&&(i=r[a=yo(On(t))]),i&&rt(i,e,6,o);const c=r[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,rt(c,e,6,o)}}function Za(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const s=e.emits;let l={},a=!1;if(!ne(e)){const i=c=>{const u=Za(c,t,!0);u&&(a=!0,ke(l,u))};!n&&t.mixins.length&&t.mixins.forEach(i),e.extends&&i(e.extends),e.mixins&&e.mixins.forEach(i)}return!s&&!a?(be(e)&&r.set(e,null),null):(te(s)?s.forEach(i=>l[i]=null):ke(l,s),be(e)&&r.set(e,l),l)}function io(e,t){return!e||!hr(t)?!1:(t=t.slice(2).replace(/Once$/,""),ae(e,t[0].toLowerCase()+t.slice(1))||ae(e,On(t))||ae(e,t))}let nt=null,ei=null;function Qr(e){const t=nt;return nt=e,ei=e&&e.type.__scopeId||null,t}function kf(e,t=nt,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&_l(-1);const s=Qr(t);let l;try{l=e(...o)}finally{Qr(s),r._d&&_l(1)}return l};return r._n=!0,r._c=!0,r._d=!0,r}function wo(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:s,propsOptions:[l],slots:a,attrs:i,emit:c,render:u,renderCache:d,data:p,setupState:v,ctx:g,inheritAttrs:_}=e;let w,b;const C=Qr(e);try{if(n.shapeFlag&4){const k=o||r,M=k;w=ct(u.call(M,k,d,s,v,p,g)),b=i}else{const k=t;w=ct(k.length>1?k(s,{attrs:i,slots:a,emit:c}):k(s,null)),b=t.props?i:Tf(i)}}catch(k){Qn.length=0,yr(k,e,1),w=Te(bt)}let y=w;if(b&&_!==!1){const k=Object.keys(b),{shapeFlag:M}=y;k.length&&M&7&&(l&&k.some(ms)&&(b=Af(b,l)),y=zt(y,b))}return n.dirs&&(y=zt(y),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&(y.transition=n.transition),w=y,Qr(C),w}const Tf=e=>{let t;for(const n in e)(n==="class"||n==="style"||hr(n))&&((t||(t={}))[n]=e[n]);return t},Af=(e,t)=>{const n={};for(const r in e)(!ms(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Lf(e,t,n){const{props:r,children:o,component:s}=e,{props:l,children:a,patchFlag:i}=t,c=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&i>=0){if(i&1024)return!0;if(i&16)return r?ul(r,l,c):!!l;if(i
* @vue/runtime-dom v3.4.21
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const I1="http://www.w3.org/2000/svg",$1="http://www.w3.org/1998/Math/MathML",jt=typeof document<"u"?document:null,xl=jt&&jt.createElement("template"),O1={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 o=t==="svg"?jt.createElementNS(I1,e):t==="mathml"?jt.createElementNS($1,e):jt.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>jt.createTextNode(e),createComment:e=>jt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>jt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const l=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{xl.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const a=xl.content;if(r==="svg"||r==="mathml"){const i=a.firstChild;for(;i.firstChild;)a.appendChild(i.firstChild);a.removeChild(i)}t.insertBefore(a,n)}return[l?l.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},$t="transition",Hn="animation",Tn=Symbol("_vtc"),qt=(e,{slots:t})=>f(jf,Ti(e),t);qt.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},P1=qt.props=ke({},li,ki),Kt=(e,t=[])=>{te(e)?e.forEach(n=>n(...t)):e&&e(...t)},kl=e=>e?te(e)?e.some(t=>t.length>1):e.length>1:!1;function Ti(e){const t={};for(const P in e)P in ki||(t[P]=e[P]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:l=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:i=s,appearActiveClass:c=l,appearToClass:u=a,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=e,g=R1(o),_=g&&g[0],w=g&&g[1],{onBeforeEnter:b,onEnter:C,onEnterCancelled:y,onLeave:k,onLeaveCancelled:M,onBeforeAppear:S=b,onAppear:N=C,onAppearCancelled:O=y}=t,K=(P,X,ye)=>{Rt(P,X?u:a),Rt(P,X?c:l),ye&&ye()},$=(P,X)=>{P._isLeaving=!1,Rt(P,d),Rt(P,v),Rt(P,p),X&&X()},z=P=>(X,ye)=>{const he=P?N:C,q=()=>K(X,P,ye);Kt(he,[X,q]),Tl(()=>{Rt(X,P?i:s),Ct(X,P?u:a),kl(he)||Al(X,r,_,q)})};return ke(t,{onBeforeEnter(P){Kt(b,[P]),Ct(P,s),Ct(P,l)},onBeforeAppear(P){Kt(S,[P]),Ct(P,i),Ct(P,c)},onEnter:z(!1),onAppear:z(!0),onLeave(P,X){P._isLeaving=!0;const ye=()=>$(P,X);Ct(P,d),Li(),Ct(P,p),Tl(()=>{P._isLeaving&&(Rt(P,d),Ct(P,v),kl(k)||Al(P,r,w,ye))}),Kt(k,[P,ye])},onEnterCancelled(P){K(P,!1),Kt(y,[P])},onAppearCancelled(P){K(P,!0),Kt(O,[P])},onLeaveCancelled(P){$(P),Kt(M,[P])}})}function R1(e){if(e==null)return null;if(be(e))return[xo(e.enter),xo(e.leave)];{const t=xo(e);return[t,t]}}function xo(e){return Nu(e)}function Ct(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Tn]||(e[Tn]=new Set)).add(t)}function Rt(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Tn];n&&(n.delete(t),n.size||(e[Tn]=void 0))}function Tl(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let M1=0;function Al(e,t,n,r){const o=e._endId=++M1,s=()=>{o===e._endId&&r()};if(n)return setTimeout(s,n);const{type:l,timeout:a,propCount:i}=Ai(e,t);if(!l)return r();const c=l+"end";let u=0;const d=()=>{e.removeEventListener(c,p),s()},p=v=>{v.target===e&&++u>=i&&d()};setTimeout(()=>{u<i&&d()},a+1),e.addEventListener(c,p)}function Ai(e,t){const n=window.getComputedStyle(e),r=g=>(n[g]||"").split(", "),o=r(`${$t}Delay`),s=r(`${$t}Duration`),l=Ll(o,s),a=r(`${Hn}Delay`),i=r(`${Hn}Duration`),c=Ll(a,i);let u=null,d=0,p=0;t===$t?l>0&&(u=$t,d=l,p=s.length):t===Hn?c>0&&(u=Hn,d=c,p=i.length):(d=Math.max(l,c),u=d>0?l>c?$t:Hn:null,p=u?u===$t?s.length:i.length:0);const v=u===$t&&/\b(transform|all)(,|$)/.test(r(`${$t}Property`).toString());
* vue-router v4.3.0
* (c) 2024 Eduardo San Martin Morote
* @license MIT
*/const dn=typeof document<"u";function Cd(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const ce=Object.assign;function Lo(e,t){const n={};for(const r in t){const o=t[r];n[r]=dt(o)?o.map(e):e(o)}return n}const Xn=()=>{},dt=Array.isArray,Ni=/#/g,Sd=/&/g,xd=/\//g,kd=/=/g,Td=/\?/g,Di=/\+/g,Ad=/%5B/g,Ld=/%5D/g,ji=/%5E/g,Id=/%60/g,Bi=/%7B/g,$d=/%7C/g,Hi=/%7D/g,Od=/%20/g;function js(e){return encodeURI(""+e).replace($d,"|").replace(Ad,"[").replace(Ld,"]")}function Pd(e){return js(e).replace(Bi,"{").replace(Hi,"}").replace(ji,"^")}function ts(e){return js(e).replace(Di,"%2B").replace(Od,"+").replace(Ni,"%23").replace(Sd,"%26").replace(Id,"`").replace(Bi,"{").replace(Hi,"}").replace(ji,"^")}function Rd(e){return ts(e).replace(kd,"%3D")}function Md(e){return js(e).replace(Ni,"%23").replace(Td,"%3F")}function Nd(e){return e==null?"":Md(e).replace(xd,"%2F")}function ar(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Dd=/\/$/,jd=e=>e.replace(Dd,"");function Io(e,t,n="/"){let r,o={},s="",l="";const a=t.indexOf("#");let i=t.indexOf("?");return a<i&&a>=0&&(i=-1),i>-1&&(r=t.slice(0,i),s=t.slice(i+1,a>-1?a:t.length),o=e(s)),a>-1&&(r=r||t.slice(0,a),l=t.slice(a,t.length)),r=Vd(r??t,n),{fullPath:r+(s&&"?")+s+l,path:r,query:o,hash:ar(l)}}function Bd(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Fl(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Hd(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&Ln(t.matched[r],n.matched[o])&&Fi(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Ln(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Fi(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Fd(e[n],t[n]))return!1;return!0}function Fd(e,t){return dt(e)?Vl(e,t):dt(t)?Vl(t,e):e===t}function Vl(e,t){return dt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Vd(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let s=n.length-1,l,a;for(l=0;l<r.length;l++)if(a=r[l],a!==".")if(a==="..")s>1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(l).join("/")}var ir;(function(e){e.pop="pop",e.push="push"})(ir||(ir={}));var Zn;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Zn||(Zn={}));function zd(e){if(!e)if(dn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),jd(e)}const qd=/^[^#]+#/;function Ud(e,t){return e.replace(qd,"#")+t}function Wd(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const fo=()=>({left:window.scrollX,top:window.scrollY});function Gd(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=Wd(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function zl(e,t){return(history.state?history.state.position-t:-1)+e}const ns=new Map;function Kd(e,t){ns.set(e,t)}function Yd(e){const t=ns.get(e);return ns.delete(e),t}let Jd=()=>location.protocol+"//"+location.host;function Vi(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let a=o.includes(e.slice(s))?e.slice(s).length:1,i=o.slice(a);return i[0]!=="/"&&(i="/"+i),Fl(i,"")}return Fl(n,e)+r+o}function Qd(e,t,n,r){let o=[],s=[],l=null;const a=({state:p})=>{const v=Vi(e,location),g=n.value,_=t.value;let w=0;if(p){if(n.value=v,t.value=p,l&&l===g){l=null;return}w=_?p.position-_.position:0}else r(v);o.forEach(b=>{b(n.value,g,{delta:w,type:ir.pop,direction:w?w>0?Zn.forward:Zn.back:Zn.unknown})})};function i(){l=n.value}function c(p){o.push(p);const v=()=>{const g=o.indexOf(p);g>-1&&o.splice(g,1)};retur
* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
* @license MIT
*/const le={settings:{minimum:.08,easing:"ease",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,barSelector:'[role="bar"]',parent:"body",template:'<div class="bar" role="bar"></div>'},status:null,set:e=>{const t=le.isStarted();e=Do(e,le.settings.minimum,1),le.status=e===1?null:e;const n=le.render(!t),r=n.querySelector(le.settings.barSelector),o=le.settings.speed,s=le.settings.easing;return n.offsetWidth,Y2(l=>{Fr(r,{transform:"translate3d("+ua(e)+"%,0,0)",transition:"all "+o+"ms "+s}),e===1?(Fr(n,{transition:"none",opacity:"1"}),n.offsetWidth,setTimeout(function(){Fr(n,{transition:"all "+o+"ms linear",opacity:"0"}),setTimeout(function(){le.remove(),l()},o)},o)):setTimeout(()=>l(),o)}),le},isStarted:()=>typeof le.status=="number",start:()=>{le.status||le.set(0);const e=()=>{setTimeout(()=>{le.status&&(le.trickle(),e())},le.settings.trickleSpeed)};return le.settings.trickle&&e(),le},done:e=>!e&&!le.status?le:le.inc(.3+.5*Math.random()).set(1),inc:e=>{let t=le.status;return t?(typeof e!="number"&&(e=(1-t)*Do(Math.random()*t,.1,.95)),t=Do(t+e,0,.994),le.set(t)):le.start()},trickle:()=>le.inc(Math.random()*le.settings.trickleRate),render:e=>{if(le.isRendered())return document.getElementById("nprogress");fa(document.documentElement,"nprogress-busy");const t=document.createElement("div");t.id="nprogress",t.innerHTML=le.settings.template;const n=t.querySelector(le.settings.barSelector),r=e?"-100":ua(le.status||0),o=document.querySelector(le.settings.parent);return Fr(n,{transition:"all 0 linear",transform:"translate3d("+r+"%,0,0)"}),o!==document.body&&fa(o,"nprogress-custom-parent"),o==null||o.appendChild(t),t},remove:()=>{da(document.documentElement,"nprogress-busy"),da(document.querySelector(le.settings.parent),"nprogress-custom-parent");const e=document.getElementById("nprogress");e&&J2(e)},isRendered:()=>!!document.getElementById("nprogress")},Do=(e,t,n)=>e<t?t:e>n?n:e,ua=e=>(-1+e)*100,Y2=function(){const e=[];function t(){const n=e.shift();n&&n(t)}return function(n){e.push(n),e.length===1&&t()}}(),Fr=function(){const e=["Webkit","O","Moz","ms"],t={};function n(l){return l.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(a,i){return i.toUpperCase()})}function r(l){const a=document.body.style;if(l in a)return l;let i=e.length;const c=l.charAt(0).toUpperCase()+l.slice(1);let u;for(;i--;)if(u=e[i]+c,u in a)return u;return l}function o(l){return l=n(l),t[l]??(t[l]=r(l))}function s(l,a,i){a=o(a),l.style[a]=i}return function(l,a){for(const i in a){const c=a[i];c!==void 0&&Object.prototype.hasOwnProperty.call(a,i)&&s(l,i,c)}}}(),gc=(e,t)=>(typeof e=="string"?e:Gs(e)).indexOf(" "+t+" ")>=0,fa=(e,t)=>{const n=Gs(e),r=n+t;gc(n,t)||(e.className=r.substring(1))},da=(e,t)=>{const n=Gs(e);if(!gc(e,t))return;const r=n.replace(" "+t+" "," ");e.className=r.substring(1,r.length-1)},Gs=e=>(" "+(e.className||"")+" ").replace(/\s+/gi," "),J2=e=>{e&&e.parentNode&&e.parentNode.removeChild(e)},Q2=()=>{ge(()=>{const e=Mn(),t=new Set;t.add(e.currentRoute.value.path),e.beforeEach(n=>{t.has(n.path)||le.start()}),e.afterEach(n=>{t.add(n.path),le.done()})})},X2=lt({setup(){Q2()}}),Z2=JSON.parse('{"encrypt":{"config":{"/demo/encrypt.html":["$2a$10$gxAY42Kk8ng3lLO9LLtHeuvZKiEuyyppDT7jImYdDtc2U3/EEWMCC"]}},"author":{"name":"","url":"https://snowykami.me"},"logo":"https://cdn.liteyuki.icu/static/img/logo.png","repo":"https://github.com/snowykami/LiteyukiBot","docsDir":"docs","footer":"LiteyukiBot","displayFooter":true,"locales":{"/":{"lang":"zh-CN","navbarLocales":{"langName":"","selectLangAriaLabel":""},"metaLocales":{"author":"","date":"","origin":"","views":"访","category":"","tag":"","readingTime":"","words":"","toc":"","prev":"","next":"","lastUpdated":"","contributors":"","editLink":" GitHub ","print":""},"outlookLocales":{"themeColor":"","darkmode":"","fullscreen":""},"encryptLocales":{"iconLabel":"","placeholder":"","
${r}}`)),t.appendChild(o)}},Np=e=>{const t=an(e),n={html:[],js:[],css:[],isLegal:!1};return["html","js","css"].forEach(r=>{const o=t.filter(s=>ga[r].types.includes(s));if(o.length){const s=o[0];n[r]=[e[s].replace(/^\n|\n$/g,""),ga[r].map[s]||s]}}),n.isLegal=(!n.html.length||n.html[1]==="none")&&(!n.js.length||n.js[1]==="none")&&(!n.css.length||n.css[1]==="none"),n},Dc=e=>e.replace(/<br \/>/g,"<br>").replace(/<((\S+)[^<]*?)\s+\/>/g,"<$1></$2>"),jc=e=>`<div id="app">
${Dc(e)}
</div>`,Dp=e=>`${e.replace("export default ","const $reactApp = ").replace(/App\.__style__(\s*)=(\s*)`([\s\S]*)?`/,"")};
ReactDOM.createRoot(document.getElementById("app")).render(React.createElement($reactApp))`,jp=e=>e.replace(/export\s+default\s*\{(\n*[\s\S]*)\n*\}\s*;?$/u,"Vue.createApp({$1}).mount('#app')").replace(/export\s+default\s*define(Async)?Component\s*\(\s*\{(\n*[\s\S]*)\n*\}\s*\)\s*;?$/u,"Vue.createApp({$1}).mount('#app')").trim(),Bc=e=>`(function(exports){var module={};module.exports=exports;${e};return module.exports.__esModule?module.exports.default:module.exports;})({})`,Bp=(e,t)=>{const n=Ks(t),r=e.js[0]||"";return{...n,html:Dc(e.html[0]||""),js:r,css:e.css[0]||"",isLegal:e.isLegal,getScript:()=>{var o;return n.useBabel?((o=window.Babel.transform(r,{presets:["es2015"]}))==null?void 0:o.code)||"":r}}},Hp=/<template>([\s\S]+)<\/template>/u,Fp=/<script(\s*lang=(['"])(.*?)\2)?>([\s\S]+)<\/script>/u,Vp=/<style(\s*lang=(['"])(.*?)\2)?\s*(?:scoped)?>([\s\S]+)<\/style>/u,zp=(e,t)=>{const n=Ks(t),r=e.html[0]||"",o=Hp.exec(r),s=Fp.exec(r),l=Vp.exec(r),a=o?o[1].replace(/^\n|\n$/g,""):"",[i="",c=""]=s?[s[4].replace(/^\n|\n$/g,""),s[3]]:[],[u="",d=""]=l?[l[4].replace(/^\n|\n$/g,""),l[3]]:[],p=c===""&&(d===""||d==="css");return{...n,html:jc(a),js:jp(i),css:u,isLegal:p,jsLib:[n.vue,...n.jsLib],getScript:()=>{var g,_;const v=t.useBabel?((_=(g=window.Babel)==null?void 0:g.transform(i,{presets:["es2015"]}))==null?void 0:_.code)||"":i.replace(/export\s+default/u,"return");return`const app=window.document.createElement('div');document.firstElementChild.appendChild(app);const appOptions=${Bc(v)};appOptions.template=\`${a.replace("`",'\\`"')}\`;window.Vue.createApp(appOptions).mount(app);`}}},qp=(e,t)=>{const n=Ks(t);return{...n,html:jc(""),js:Dp(e.js[0]||""),css:e.css[0]||(e.js[0]?e.js[0].replace(/App\.__style__(?:\s*)=(?:\s*)`([\s\S]*)?`/,"$1").trim():""),isLegal:e.isLegal,jsLib:[n.react,n.reactDOM,...n.jsLib],jsx:!0,getScript:()=>{var o,s;const r=((s=(o=window.Babel)==null?void 0:o.transform(e.js[0]||"",{presets:["es2015","react"]}))==null?void 0:s.code)||"";return`window.ReactDOM.createRoot(document.firstElementChild).render(window.React.createElement(${Bc(r)}))`}}},Cn={},Up=e=>Promise.all([En(Cn,e.babel),En(Cn,e.react),En(Cn,e.reactDOM)]),Wp=e=>{const t=[En(Cn,e.vue)];return e.useBabel&&t.push(En(Cn,e.babel)),Promise.all(t)},Gp=e=>e.useBabel?En(Cn,e.babel):Promise.resolve();var Kp=U({name:"CodeDemo",props:{id:{type:String,required:!0},type:{type:String,default:"normal"},title:{type:String,default:""},config:{type:String,default:""},code:{type:String,required:!0}},slots:Object,setup(e,{slots:t}){const[n,r]=ur(!1),o=Me(),s=Me(),l=Q("0"),a=Q(!1),i=x(()=>JSON.parse(e.config?oa(e.config):"{}")),c=x(()=>{const g=JSON.parse(oa(e.code));return Np(g)}),u=x(()=>e.type==="react"?qp(c.value,i.value):e.type==="vue"?zp(c.value,i.value):Bp(c.value,i.value)),d=x(()=>u.value.isLegal),p=(g=!1)=>{const _=o.value.attachShadow({mode:"open"}),w=document.createElement("div");w.classList.add("code-demo-app"),_.appendChild(w),d.value?(g&&(w.innerHTML=u.value.html),Rp(_,u.value),Mp(e.id,_,u.value),l.value="0"):l.value="auto",a.value=!0},v=()=>{switch(e.type){case"react":return Up(u.value).then(()=>p());case"vue":return Wp(u.value).then(()=>p());default:return Gp(u.value).then(()=>p(!0))}};return Ae("beforeprint",()=>{r(!0)}),ge(()=>{setTimeout(()=>{v()},800)}),()=>{var g;return f("div",{class:"vp-code-demo",id:e.id},[f("div",{class:"vp-code-demo-header"},[u.value.isLegal?f("button",{type:"button",title:"toggle","aria-hidden":!0,class:["vp-code-demo-toggle-button",n.value?"down":"end"],onClick:()=>{l.value=n.value?"0":`${s.value.clientHeight+13.8}px`,r()}}):null,e.title?f("span",{class:"vp-code-demo-title"},decodeURIComponent(e.title)):null,u.value.isLegal&&u.value.jsfiddle!==!1?f("form",{class:"code-demo-jsfiddle",target:"_blank",action:"https://jsfiddle.net/api/post/library/pure/",method:"post"},[f("input",{type:"hidden",name:"html",value:u.value.html}),f("input",{type:"hidden",name:"js",value:u.value.js}),f("input",{type:"hidden",name:"css",value:u.value.css}),f("input",{type:"hidden",name:"wrap",value:"1"}),f("input",{type:"hidden",name:"panel_js",value:"3"}