app/assets/app-BgyJ6gJf.js

35 lines
246 KiB
JavaScript
Raw Normal View History

function __vite__mapDeps(indexes) {
if (!__vite__mapDeps.viteFileDeps) {
__vite__mapDeps.viteFileDeps = []
}
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 Ts(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}const ye={},Cn=[],ot=()=>{},rf=()=>!1,br=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),As=e=>e.startsWith("onUpdate:"),Le=Object.assign,Ls=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},of=Object.prototype.hasOwnProperty,ie=(e,t)=>of.call(e,t),X=Array.isArray,En=e=>ao(e)==="[object Map]",Ua=e=>ao(e)==="[object Set]",ne=e=>typeof e=="function",$e=e=>typeof e=="string",Dn=e=>typeof e=="symbol",he=e=>e!==null&&typeof e=="object",Wa=e=>(he(e)||ne(e))&&ne(e.then)&&ne(e.catch),Ga=Object.prototype.toString,ao=e=>Ga.call(e),sf=e=>ao(e).slice(8,-1),Ka=e=>ao(e)==="[object Object]",$s=e=>$e(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,kn=Ts(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),io=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},lf=/-(\w)/g,ct=io(e=>e.replace(lf,(t,n)=>n?n.toUpperCase():"")),af=/\B([A-Z])/g,jn=io(e=>e.replace(af,"-$1").toLowerCase()),wr=io(e=>e.charAt(0).toUpperCase()+e.slice(1)),ko=io(e=>e?`on${wr(e)}`:""),Gt=(e,t)=>!Object.is(e,t),So=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Qr=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},cf=e=>{const t=parseFloat(e);return isNaN(t)?e:t},uf=e=>{const t=$e(e)?Number(e):NaN;return isNaN(t)?e:t};let gl;const Ya=()=>gl||(gl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Is(e){if(X(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=$e(r)?hf(r):Is(r);if(o)for(const s in o)t[s]=o[s]}return t}else if($e(e)||he(e))return e}const ff=/;(?![^(]*\))/g,df=/:([^]+)/,pf=/\/\*[^]*?\*\//g;function hf(e){const t={};return e.replace(pf,"").split(ff).forEach(n=>{if(n){const r=n.split(df);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Ps(e){let t="";if($e(e))t=e;else if(X(e))for(let n=0;n<e.length;n++){const r=Ps(e[n]);r&&(t+=r+" ")}else if(he(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const vf="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",mf=Ts(vf);function Ja(e){return!!e||e===""}const xo=e=>$e(e)?e:e==null?"":X(e)||he(e)&&(e.toString===Ga||!ne(e.toString))?JSON.stringify(e,Qa,2):String(e),Qa=(e,t)=>t&&t.__v_isRef?Qa(e,t.value):En(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[To(r,s)+" =>"]=o,n),{})}:Ua(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>To(n))}:Dn(t)?To(t):he(t)&&!X(t)&&!Ka(t)?String(t):t,To=(e,t="")=>{var n;return Dn(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 Xe;class gf{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Xe,!t&&Xe&&(this.index=(Xe.scopes||(Xe.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Xe;try{return Xe=this,t()}finally{Xe=n}}}on(){Xe=this}off(){Xe=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 yf(e,t=Xe){t&&t.active&&t.effects.push(e)}function Xa(){return Xe}function bf(e){Xe&&Xe.cleanups.push(e)}let on;class Os{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,yf(this,o)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,an();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(wf(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),cn()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=qt,n=on;try{return qt=!0,on=this,this._runnings++,yl(this),this.fn()}finally{bl(this),this._runnings--,on=n,qt=t}}stop(){var t;this.active&&(yl(this),bl(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function wf(e){return e.value}function yl(e){e._trackId++,e._depsLength=0}function bl(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)Za(e.deps[t],e);e.deps.length=e._depsLength}}function Za(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let qt=!0,ts=0;const ei=[];function an(){ei.push(qt),qt=!1}function cn(){const e=ei.pop();qt=e===void 0?!0:e}function Rs(){ts++}function Ms(){for(ts--;!ts&&ns.length;)ns.shift()()}function ti(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&Za(r,e),e.deps[e._depsLength++]=t):e._depsLength++}}const ns=[];function ni(e,t,n){Rs();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&&ns.push(r.scheduler)))}Ms()}const ri=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},Xr=new WeakMap,sn=Symbol(""),rs=Symbol("");function Ke(e,t,n){if(qt&&on){let r=Xr.get(e);r||Xr.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=ri(()=>r.delete(n))),ti(on,o)}}function Lt(e,t,n,r,o,s){const l=Xr.get(e);if(!l)return;let a=[];if(t==="clear")a=[...l.values()];else if(n==="length"&&X(e)){const i=Number(r);l.forEach((c,u)=>{(u==="length"||!Dn(u)&&u>=i)&&a.push(c)})}else switch(n!==void 0&&a.push(l.get(n)),t){case"add":X(e)?$s(n)&&a.push(l.get("length")):(a.push(l.get(sn)),En(e)&&a.push(l.get(rs)));break;case"delete":X(e)||(a.push(l.get(sn)),En(e)&&a.push(l.get(rs)));break;case"set":En(e)&&a.push(l.get(sn));break}Rs();for(const i of a)i&&ni(i,4);Ms()}function _f(e,t){var n;return(n=Xr.get(e))==null?void 0:n.get(t)}const Cf=Ts("__proto__,__v_isRef,__isVue"),oi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Dn)),wl=Ef();function Ef(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=se(this);for(let s=0,l=this.length;s<l;s++)Ke(r,"get",s+"");const o=r[t](...n);return o===-1||o===!1?r[t](...n.map(se)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){an(),Rs();const r=se(this)[t].apply(this,n);return Ms(),cn(),r}}),e}function kf(e){const t=se(this);return Ke(t,"has",e),t.hasOwnProperty(e)}class si{constructor(t=!1,n=!1){t
* @vue/runtime-core v3.4.21
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function Wt(e,t,n,r){try{return r?e(...r):e()}catch(o){Er(o,t,n)}}function lt(e,t,n,r){if(ne(e)){const s=Wt(e,t,n,r);return s&&Wa(s)&&s.catch(l=>{Er(l,t,n)}),s}const o=[];for(let s=0;s<e.length;s++)o.push(lt(e[s],t,n,r));return o}function Er(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){Wt(i,null,10,[e,l,a]);return}}Gf(e,n,o,r)}function Gf(e,t,n,r=!0){console.error(e)}let ar=!1,os=!1;const je=[];let _t=0;const xn=[];let Ht=null,tn=0;const mi=Promise.resolve();let zs=null;function $t(e){const t=zs||mi;return e?t.then(this?e.bind(this):e):t}function Kf(e){let t=_t+1,n=je.length;for(;t<n;){const r=t+n>>>1,o=je[r],s=ir(o);s<e||s===e&&o.pre?t=r+1:n=r}return t}function fo(e){(!je.length||!je.includes(e,ar&&e.allowRecurse?_t+1:_t))&&(e.id==null?je.push(e):je.splice(Kf(e.id),0,e),gi())}function gi(){!ar&&!os&&(os=!0,zs=mi.then(yi))}function Yf(e){const t=je.indexOf(e);t>_t&&je.splice(t,1)}function Jf(e){X(e)?xn.push(...e):(!Ht||!Ht.includes(e,e.allowRecurse?tn+1:tn))&&xn.push(e),gi()}function Sl(e,t,n=ar?_t+1:0){for(;n<je.length;n++){const r=je[n];if(r&&r.pre){if(e&&r.id!==e.uid)continue;je.splice(n,1),n--,r()}}}function eo(e){if(xn.length){const t=[...new Set(xn)].sort((n,r)=>ir(n)-ir(r));if(xn.length=0,Ht){Ht.push(...t);return}for(Ht=t,tn=0;tn<Ht.length;tn++)Ht[tn]();Ht=null,tn=0}}const ir=e=>e.id==null?1/0:e.id,Qf=(e,t)=>{const n=ir(e)-ir(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function yi(e){os=!1,ar=!0,je.sort(Qf);try{for(_t=0;_t<je.length;_t++){const t=je[_t];t&&t.active!==!1&&Wt(t,null,14)}}finally{_t=0,je.length=0,eo(),ar=!1,zs=null,(je.length||xn.length)&&yi()}}function Xf(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ye;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]||ye;p&&(o=n.map(h=>$e(h)?h.trim():h)),d&&(o=n.map(cf))}let a,i=r[a=ko(t)]||r[a=ko(ct(t))];!i&&s&&(i=r[a=ko(jn(t))]),i&&lt(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,lt(c,e,6,o)}}function bi(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=bi(c,t,!0);u&&(a=!0,Le(l,u))};!n&&t.mixins.length&&t.mixins.forEach(i),e.extends&&i(e.extends),e.mixins&&e.mixins.forEach(i)}return!s&&!a?(he(e)&&r.set(e,null),null):(X(s)?s.forEach(i=>l[i]=null):Le(l,s),he(e)&&r.set(e,l),l)}function po(e,t){return!e||!br(t)?!1:(t=t.slice(2).replace(/Once$/,""),ie(e,t[0].toLowerCase()+t.slice(1))||ie(e,jn(t))||ie(e,t))}let st=null,ho=null;function to(e){const t=st;return st=e,ho=e&&e.type.__scopeId||null,t}function wi(e){ho=e}function _i(){ho=null}function Zf(e,t=st,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&Dl(-1);const s=to(t);let l;try{l=e(...o)}finally{to(s),r._d&&Dl(1)}return l};return r._n=!0,r._c=!0,r._d=!0,r}function Ao(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:h,ctx:m,inheritAttrs:_}=e;let b,y;const E=to(e);try{if(n.shapeFlag&4){const x=o||r,M=x;b=dt(u.call(M,x,d,s,h,p,m)),y=i}else{const x=t;b=dt(x.length>1?x(s,{attrs:i,slots:a,emit:c}):x(s,null)),y=t.props?i:e1(i)}}catch(x){tr.length=0,Er(x,e,1),b=Ee(at)}let w=b;if(y&&_!==!1){const x=Object.keys(y),{shapeFlag:M}=w;x.length&&M&7&&(l&&x.some(As)&&(y=t1(y,l)),w=Kt(w,y))}return n.dirs&&(w=Kt(w),w.dirs=w.dirs?w.dirs.concat(n.dirs):n.dirs),n.transition&&(w.transition=n.transition),b=w,to(E),b}const e1=e=>{let t;for(const n in e)(n==="class"||n==="style"||br(n))&&((t||(t={}))[n]=e[n]);return t},t1=(e,t)=>{const n={};for(const r in e)(!As(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function n1(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)retu
* @vue/runtime-dom v3.4.21
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const nd="http://www.w3.org/2000/svg",rd="http://www.w3.org/1998/Math/MathML",zt=typeof document<"u"?document:null,Fl=zt&&zt.createElement("template"),od={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"?zt.createElementNS(nd,e):t==="mathml"?zt.createElementNS(rd,e):zt.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>zt.createTextNode(e),createComment:e=>zt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>zt.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{Fl.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const a=Fl.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]}},Mt="transition",Un="animation",Pn=Symbol("_vtc"),Yt=(e,{slots:t})=>f(f1,Qi(e),t);Yt.displayName="Transition";const Ji={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},sd=Yt.props=Le({},Ti,Ji),Zt=(e,t=[])=>{X(e)?e.forEach(n=>n(...t)):e&&e(...t)},zl=e=>e?X(e)?e.some(t=>t.length>1):e.length>1:!1;function Qi(e){const t={};for(const O in e)O in Ji||(t[O]=e[O]);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:h=`${n}-leave-to`}=e,m=ld(o),_=m&&m[0],b=m&&m[1],{onBeforeEnter:y,onEnter:E,onEnterCancelled:w,onLeave:x,onLeaveCancelled:M,onBeforeAppear:k=y,onAppear:N=E,onAppearCancelled:P=w}=t,K=(O,Z,_e)=>{jt(O,Z?u:a),jt(O,Z?c:l),_e&&_e()},I=(O,Z)=>{O._isLeaving=!1,jt(O,d),jt(O,h),jt(O,p),Z&&Z()},q=O=>(Z,_e)=>{const me=O?N:E,U=()=>K(Z,O,_e);Zt(me,[Z,U]),Vl(()=>{jt(Z,O?i:s),Tt(Z,O?u:a),zl(me)||ql(Z,r,_,U)})};return Le(t,{onBeforeEnter(O){Zt(y,[O]),Tt(O,s),Tt(O,l)},onBeforeAppear(O){Zt(k,[O]),Tt(O,i),Tt(O,c)},onEnter:q(!1),onAppear:q(!0),onLeave(O,Z){O._isLeaving=!0;const _e=()=>I(O,Z);Tt(O,d),Zi(),Tt(O,p),Vl(()=>{O._isLeaving&&(jt(O,d),Tt(O,h),zl(x)||ql(O,r,b,_e))}),Zt(x,[O,_e])},onEnterCancelled(O){K(O,!1),Zt(w,[O])},onAppearCancelled(O){K(O,!0),Zt(P,[O])},onLeaveCancelled(O){I(O),Zt(M,[O])}})}function ld(e){if(e==null)return null;if(he(e))return[Oo(e.enter),Oo(e.leave)];{const t=Oo(e);return[t,t]}}function Oo(e){return uf(e)}function Tt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Pn]||(e[Pn]=new Set)).add(t)}function jt(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Pn];n&&(n.delete(t),n.size||(e[Pn]=void 0))}function Vl(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let ad=0;function ql(e,t,n,r){const o=e._endId=++ad,s=()=>{o===e._endId&&r()};if(n)return setTimeout(s,n);const{type:l,timeout:a,propCount:i}=Xi(e,t);if(!l)return r();const c=l+"end";let u=0;const d=()=>{e.removeEventListener(c,p),s()},p=h=>{h.target===e&&++u>=i&&d()};setTimeout(()=>{u<i&&d()},a+1),e.addEventListener(c,p)}function Xi(e,t){const n=window.getComputedStyle(e),r=m=>(n[m]||"").split(", "),o=r(`${Mt}Delay`),s=r(`${Mt}Duration`),l=Ul(o,s),a=r(`${Un}Delay`),i=r(`${Un}Duration`),c=Ul(a,i);let u=null,d=0,p=0;t===Mt?l>0&&(u=Mt,d=l,p=s.length):t===Un?c>0&&(u=Un,d=c,p=i.length):(d=Math.max(l,c),u=d>0?l>c?Mt:Un:null,p=u?u===Mt?s.length:i.length:0);const h=u===Mt&&/\b(transform|all)(,|$)/.test(r(`${Mt}Property`).toString());re
* vue-router v4.3.0
* (c) 2024 Eduardo San Martin Morote
* @license MIT
*/const gn=typeof document<"u";function Yd(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const ce=Object.assign;function Do(e,t){const n={};for(const r in t){const o=t[r];n[r]=vt(o)?o.map(e):e(o)}return n}const rr=()=>{},vt=Array.isArray,lc=/#/g,Jd=/&/g,Qd=/\//g,Xd=/=/g,Zd=/\?/g,ac=/\+/g,e0=/%5B/g,t0=/%5D/g,ic=/%5E/g,n0=/%60/g,cc=/%7B/g,r0=/%7C/g,uc=/%7D/g,o0=/%20/g;function Js(e){return encodeURI(""+e).replace(r0,"|").replace(e0,"[").replace(t0,"]")}function s0(e){return Js(e).replace(cc,"{").replace(uc,"}").replace(ic,"^")}function ds(e){return Js(e).replace(ac,"%2B").replace(o0,"+").replace(lc,"%23").replace(Jd,"%26").replace(n0,"`").replace(cc,"{").replace(uc,"}").replace(ic,"^")}function l0(e){return ds(e).replace(Xd,"%3D")}function a0(e){return Js(e).replace(lc,"%23").replace(Zd,"%3F")}function i0(e){return e==null?"":a0(e).replace(Qd,"%2F")}function dr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const c0=/\/$/,u0=e=>e.replace(c0,"");function jo(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=h0(r??t,n),{fullPath:r+(s&&"?")+s+l,path:r,query:o,hash:dr(l)}}function f0(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function ra(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function d0(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&Rn(t.matched[r],n.matched[o])&&fc(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Rn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function fc(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!p0(e[n],t[n]))return!1;return!0}function p0(e,t){return vt(e)?oa(e,t):vt(t)?oa(t,e):e===t}function oa(e,t){return vt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function h0(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 pr;(function(e){e.pop="pop",e.push="push"})(pr||(pr={}));var or;(function(e){e.back="back",e.forward="forward",e.unknown=""})(or||(or={}));function v0(e){if(!e)if(gn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),u0(e)}const m0=/^[^#]+#/;function g0(e,t){return e.replace(m0,"#")+t}function y0(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 go=()=>({left:window.scrollX,top:window.scrollY});function b0(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=y0(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 sa(e,t){return(history.state?history.state.position-t:-1)+e}const ps=new Map;function w0(e,t){ps.set(e,t)}function _0(e){const t=ps.get(e);return ps.delete(e),t}let C0=()=>location.protocol+"//"+location.host;function dc(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),ra(i,"")}return ra(n,e)+r+o}function E0(e,t,n,r){let o=[],s=[],l=null;const a=({state:p})=>{const h=dc(e,location),m=n.value,_=t.value;let b=0;if(p){if(n.value=h,t.value=p,l&&l===m){l=null;return}b=_?p.position-_.position:0}else r(h);o.forEach(y=>{y(n.value,m,{delta:b,type:pr.pop,direction:b?b>0?or.forward:or.back:or.unknown})})};function i(){l=n.value}function c(p){o.push(p);const h=()=>{const m=o.indexOf(p);m>-1&&o.splice(m,1)};retur
* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
* @license MIT
*/const ae={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=ae.isStarted();e=Uo(e,ae.settings.minimum,1),ae.status=e===1?null:e;const n=ae.render(!t),r=n.querySelector(ae.settings.barSelector),o=ae.settings.speed,s=ae.settings.easing;return n.offsetWidth,_p(l=>{Ur(r,{transform:"translate3d("+xa(e)+"%,0,0)",transition:"all "+o+"ms "+s}),e===1?(Ur(n,{transition:"none",opacity:"1"}),n.offsetWidth,setTimeout(function(){Ur(n,{transition:"all "+o+"ms linear",opacity:"0"}),setTimeout(function(){ae.remove(),l()},o)},o)):setTimeout(()=>l(),o)}),ae},isStarted:()=>typeof ae.status=="number",start:()=>{ae.status||ae.set(0);const e=()=>{setTimeout(()=>{ae.status&&(ae.trickle(),e())},ae.settings.trickleSpeed)};return ae.settings.trickle&&e(),ae},done:e=>!e&&!ae.status?ae:ae.inc(.3+.5*Math.random()).set(1),inc:e=>{let t=ae.status;return t?(typeof e!="number"&&(e=(1-t)*Uo(Math.random()*t,.1,.95)),t=Uo(t+e,0,.994),ae.set(t)):ae.start()},trickle:()=>ae.inc(Math.random()*ae.settings.trickleRate),render:e=>{if(ae.isRendered())return document.getElementById("nprogress");Ta(document.documentElement,"nprogress-busy");const t=document.createElement("div");t.id="nprogress",t.innerHTML=ae.settings.template;const n=t.querySelector(ae.settings.barSelector),r=e?"-100":xa(ae.status||0),o=document.querySelector(ae.settings.parent);return Ur(n,{transition:"all 0 linear",transform:"translate3d("+r+"%,0,0)"}),o!==document.body&&Ta(o,"nprogress-custom-parent"),o==null||o.appendChild(t),t},remove:()=>{Aa(document.documentElement,"nprogress-busy"),Aa(document.querySelector(ae.settings.parent),"nprogress-custom-parent");const e=document.getElementById("nprogress");e&&Cp(e)},isRendered:()=>!!document.getElementById("nprogress")},Uo=(e,t,n)=>e<t?t:e>n?n:e,xa=e=>(-1+e)*100,_p=function(){const e=[];function t(){const n=e.shift();n&&n(t)}return function(n){e.push(n),e.length===1&&t()}}(),Ur=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)}}}(),Fc=(e,t)=>(typeof e=="string"?e:sl(e)).indexOf(" "+t+" ")>=0,Ta=(e,t)=>{const n=sl(e),r=n+t;Fc(n,t)||(e.className=r.substring(1))},Aa=(e,t)=>{const n=sl(e);if(!Fc(e,t))return;const r=n.replace(" "+t+" "," ");e.className=r.substring(1,r.length-1)},sl=e=>(" "+(e.className||"")+" ").replace(/\s+/gi," "),Cp=e=>{e&&e.parentNode&&e.parentNode.removeChild(e)},Ep=()=>{fe(()=>{const e=Fn(),t=new Set;t.add(e.currentRoute.value.path),e.beforeEach(n=>{t.has(n.path)||ae.start()}),e.afterEach(n=>{t.add(n.path),ae.done()})})},kp=Ye({setup(){Ep()}}),Sp=JSON.parse('{"encrypt":{"config":{"/demo/encrypt.html":["$2a$10$2r.93y4HzijnSqVkQEE/vOkf34r9uccbh/IsveI3Dlg29EvZnZRU6"]}},"author":{"name":"","url":"https://snowykami.me"},"logo":"https://cdn.liteyuki.icu/static/img/liteyuki_icon_640.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":"<EFBFBD><EFBFBD>
${r}}`)),t.appendChild(o)}},i3=e=>{const t=dn(e),n={html:[],js:[],css:[],isLegal:!1};return["html","js","css"].forEach(r=>{const o=t.filter(s=>Oa[r].types.includes(s));if(o.length){const s=o[0];n[r]=[e[s].replace(/^\n|\n$/g,""),Oa[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},au=e=>e.replace(/<br \/>/g,"<br>").replace(/<((\S+)[^<]*?)\s+\/>/g,"<$1></$2>"),iu=e=>`<div id="app">
${au(e)}
</div>`,c3=e=>`${e.replace("export default ","const $reactApp = ").replace(/App\.__style__(\s*)=(\s*)`([\s\S]*)?`/,"")};
ReactDOM.createRoot(document.getElementById("app")).render(React.createElement($reactApp))`,u3=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(),cu=e=>`(function(exports){var module={};module.exports=exports;${e};return module.exports.__esModule?module.exports.default:module.exports;})({})`,f3=(e,t)=>{const n=ll(t),r=e.js[0]||"";return{...n,html:au(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}}},d3=/<template>([\s\S]+)<\/template>/u,p3=/<script(\s*lang=(['"])(.*?)\2)?>([\s\S]+)<\/script>/u,h3=/<style(\s*lang=(['"])(.*?)\2)?\s*(?:scoped)?>([\s\S]+)<\/style>/u,v3=(e,t)=>{const n=ll(t),r=e.html[0]||"",o=d3.exec(r),s=p3.exec(r),l=h3.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:iu(a),js:u3(i),css:u,isLegal:p,jsLib:[n.vue,...n.jsLib],getScript:()=>{var m,_;const h=t.useBabel?((_=(m=window.Babel)==null?void 0:m.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=${cu(h)};appOptions.template=\`${a.replace("`",'\\`"')}\`;window.Vue.createApp(appOptions).mount(app);`}}},m3=(e,t)=>{const n=ll(t);return{...n,html:iu(""),js:c3(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(${cu(r)}))`}}},An={},g3=e=>Promise.all([Tn(An,e.babel),Tn(An,e.react),Tn(An,e.reactDOM)]),y3=e=>{const t=[Tn(An,e.vue)];return e.useBabel&&t.push(Tn(An,e.babel)),Promise.all(t)},b3=e=>e.useBabel?Tn(An,e.babel):Promise.resolve();var w3=V({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]=vr(!1),o=Ie(),s=Ie(),l=Y("0"),a=Y(!1),i=S(()=>JSON.parse(e.config?wa(e.config):"{}")),c=S(()=>{const m=JSON.parse(wa(e.code));return i3(m)}),u=S(()=>e.type==="react"?m3(c.value,i.value):e.type==="vue"?v3(c.value,i.value):f3(c.value,i.value)),d=S(()=>u.value.isLegal),p=(m=!1)=>{const _=o.value.attachShadow({mode:"open"}),b=document.createElement("div");b.classList.add("code-demo-app"),_.appendChild(b),d.value?(m&&(b.innerHTML=u.value.html),l3(_,u.value),a3(e.id,_,u.value),l.value="0"):l.value="auto",a.value=!0},h=()=>{switch(e.type){case"react":return g3(u.value).then(()=>p());case"vue":return y3(u.value).then(()=>p());default:return b3(u.value).then(()=>p(!0))}};return be("beforeprint",()=>{r(!0)}),fe(()=>{setTimeout(()=>{h()},800)}),()=>{var m;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"}