forked from bot/app
35 lines
239 KiB
JavaScript
35 lines
239 KiB
JavaScript
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 _s(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}const ye={},wn=[],rt=()=>{},qu=()=>!1,gr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Es=e=>e.startsWith("onUpdate:"),Te=Object.assign,Cs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Uu=Object.prototype.hasOwnProperty,ae=(e,t)=>Uu.call(e,t),X=Array.isArray,_n=e=>so(e)==="[object Map]",ja=e=>so(e)==="[object Set]",ne=e=>typeof e=="function",Ae=e=>typeof e=="string",Nn=e=>typeof e=="symbol",pe=e=>e!==null&&typeof e=="object",Fa=e=>(pe(e)||ne(e))&&ne(e.then)&&ne(e.catch),Ba=Object.prototype.toString,so=e=>Ba.call(e),Wu=e=>so(e).slice(8,-1),Ha=e=>so(e)==="[object Object]",ks=e=>Ae(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,En=_s(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),lo=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Gu=/-(\w)/g,it=lo(e=>e.replace(Gu,(t,n)=>n?n.toUpperCase():"")),Ku=/\B([A-Z])/g,Dn=lo(e=>e.replace(Ku,"-$1").toLowerCase()),yr=lo(e=>e.charAt(0).toUpperCase()+e.slice(1)),_o=lo(e=>e?`on${yr(e)}`:""),qt=(e,t)=>!Object.is(e,t),Eo=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Jr=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Yu=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ju=e=>{const t=Ae(e)?Number(e):NaN;return isNaN(t)?e:t};let il;const Va=()=>il||(il=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ss(e){if(X(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=Ae(r)?ef(r):Ss(r);if(o)for(const s in o)t[s]=o[s]}return t}else if(Ae(e)||pe(e))return e}const Qu=/;(?![^(]*\))/g,Xu=/:([^]+)/,Zu=/\/\*[^]*?\*\//g;function ef(e){const t={};return e.replace(Zu,"").split(Qu).forEach(n=>{if(n){const r=n.split(Xu);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function xs(e){let t="";if(Ae(e))t=e;else if(X(e))for(let n=0;n<e.length;n++){const r=xs(e[n]);r&&(t+=r+" ")}else if(pe(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const tf="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",nf=_s(tf);function za(e){return!!e||e===""}const Co=e=>Ae(e)?e:e==null?"":X(e)||pe(e)&&(e.toString===Ba||!ne(e.toString))?JSON.stringify(e,qa,2):String(e),qa=(e,t)=>t&&t.__v_isRef?qa(e,t.value):_n(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[ko(r,s)+" =>"]=o,n),{})}:ja(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ko(n))}:Nn(t)?ko(t):pe(t)&&!X(t)&&!Ha(t)?String(t):t,ko=(e,t="")=>{var n;return Nn(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 rf{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 of(e,t=Xe){t&&t.active&&t.effects.push(e)}function Ua(){return Xe}function sf(e){Xe&&Xe.cleanups.push(e)}let tn;class Ts{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,of(this,o)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,on();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(lf(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),sn()}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=tn;try{return Ht=!0,tn=this,this._runnings++,cl(this),this.fn()}finally{ul(this),this._runnings--,tn=n,Ht=t}}stop(){var t;this.active&&(cl(this),ul(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function lf(e){return e.value}function cl(e){e._trackId++,e._depsLength=0}function ul(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)Wa(e.deps[t],e);e.deps.length=e._depsLength}}function Wa(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let Ht=!0,Jo=0;const Ga=[];function on(){Ga.push(Ht),Ht=!1}function sn(){const e=Ga.pop();Ht=e===void 0?!0:e}function As(){Jo++}function Ls(){for(Jo--;!Jo&&Qo.length;)Qo.shift()()}function Ka(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&Wa(r,e),e.deps[e._depsLength++]=t):e._depsLength++}}const Qo=[];function Ya(e,t,n){As();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&&Qo.push(r.scheduler)))}Ls()}const Ja=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},Qr=new WeakMap,nn=Symbol(""),Xo=Symbol("");function Ke(e,t,n){if(Ht&&tn){let r=Qr.get(e);r||Qr.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=Ja(()=>r.delete(n))),Ka(tn,o)}}function Tt(e,t,n,r,o,s){const l=Qr.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"||!Nn(u)&&u>=i)&&a.push(c)})}else switch(n!==void 0&&a.push(l.get(n)),t){case"add":X(e)?ks(n)&&a.push(l.get("length")):(a.push(l.get(nn)),_n(e)&&a.push(l.get(Xo)));break;case"delete":X(e)||(a.push(l.get(nn)),_n(e)&&a.push(l.get(Xo)));break;case"set":_n(e)&&a.push(l.get(nn));break}As();for(const i of a)i&&Ya(i,4);Ls()}function af(e,t){var n;return(n=Qr.get(e))==null?void 0:n.get(t)}const cf=_s("__proto__,__v_isRef,__isVue"),Qa=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Nn)),fl=uf();function uf(){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++)Ke(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){on(),As();const r=oe(this)[t].apply(this,n);return Ls(),sn(),r}}),e}function ff(e){const t=oe(this);return Ke(t,"has",e),t.hasOwnProperty(e)}class Xa{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const o=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(o?s?kf:ni:s?ti:ei).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const l=X(t);if(!o){if(l&&ae(fl,n))return Reflect.get(fl,n,r);if(n==="hasOwnProperty")return ff}const a=Reflect.get(t,n,r);return(Nn(n)?Qa.has(n):cf(n))||(o||Ke(t,"get",n),s)?a:Pe(a)?l&&ks(n)?a:a.value:pe(a)?o?wr(a):br(a):a}}class Za extends Xa{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];if(!this._isShallow){const i=Ln(s);if(!Xr(r)&&!Ln(r)&&(s=oe(s),r=oe(r)),!X(t)&&Pe(s)&&!Pe(r))return i?!1:(s.value=r,!0)}const l=X(t)&&ks(n)?Number(n)<t.length:ae(t,n),a=Reflect.set(t,n,r,o);return t===oe(o)&&(l?qt(r,s)&&Tt(t,"set",n,r):Tt(t,"add",n,r)),a}deleteProperty(t,n){const r=ae(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&Tt(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!Nn(n)||!Qa.has(n))&&Ke(t,"has",n),r}ownKeys(t){return Ke(t,"iterate",X(t)?"length":nn),Reflect.ownKeys(t)}}class df extends Xa{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const pf=new Za,hf=new df,vf=new Za(!0),Is=e=>e,ao=e=>Reflect.getPrototypeOf(e);function Or(e,t,n=!1,r=!1){e=e.__v_raw;const o=oe(e),s=oe(t);n||(qt(t,s)&&Ke(o,"get",t),Ke(o,"get",s));const{has:l}=ao(o),a=r?Is:n?Rs:or;if(l.call(o,t))return a(e.get(t));if(l.call(o,s))return a(e.get(s));e!==o&&e.get(t)}function Rr(e,t=!1){const n=this.__v_raw,r=oe(n),o=oe(e);return t||(qt(e,o)&&Ke(r,"has",e),Ke(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function Pr(e,t=!1){return e=e.__v_raw,!t&&Ke(oe(e),"iterate",nn),Reflect.get(e,"size",e)}function dl(e){e=oe(e);const t=oe(this);return ao(t).has.call(t,e)||(t.add(e),Tt(t,"add",e,e)),this}function pl(e,t){t=oe(t);const n=oe(this),{has:r,get:o}=ao(n);let s=r.call(n,e);s||(e=oe(e),s=r.call(n,e));const l=o.call(n,e);return n.set(e,t),s?qt(t,l)&&Tt(n,"set",e,t):Tt(n,"add",e,t),this}function hl(e){const t=oe(this),{has:n,get:r}=ao(t);let o=n.call(t,e);o||(e=oe(e),o=n.call(t,e)),r&&r.call(t,e);const s=t.delete(e);return o&&Tt(t,"delete",e,void 0),s}function vl(){const e=oe(this),t=e.size!==0,n=e.clear();return t&&Tt(e,"clear",void 0,void 0),n}function Mr(e,t){return function(r,o){const s=this,l=s.__v_raw,a=oe(l),i=t?Is:e?Rs:or;return!e&&Ke(a,"iterate",nn),l.forEach((c,u)=>r.call(o,i(c),i(u),s))}}function Nr(e,t,n){return function(...r){const o=this.__v_raw,s=oe(o),l=_n(s),a=e==="entries"||e===Symbol.iterator&&l,i=e==="keys"&&l,c=o[e](...r),u=n?Is:t?Rs:or;return!t&&Ke(s,"iterate",i?Xo:nn),{next(){const{value:d,done:p}=c.next();return p?{value:d,done:p}:{value:a?[u(d[0]),u(d[1])]:u(d),done:p}},[Symbol.iterator](){return this}}}}function It(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function mf(){const e={get(s){return Or(this,s)},get size(){return Pr(this)},has:Rr,add:dl,set:pl,delete:hl,clear:vl,forEach:Mr(!1,!1)},t={get(s){return Or(this,s,!1,!0)},get size(){return Pr(this)},has:Rr,add:dl,set:pl,delete:hl,clear:vl,forEach:Mr(!1,!0)},n={get(s){return Or(this,s,!0)},get size(){return Pr(this,!0)},has(s){return Rr.call(this,s,!0)},add:It("add"),set:It("set"),delete:It("delete"),clear:It("clear"),forEach:Mr(!0,!1)},r={get(s){return Or(this,s,!0,!0)},get size(){return Pr(this,!0)},has(s){return Rr.call(this,s,!0)},add:It("add"),set:It("set"),delete:It("delete"),clear:It("clear"),forEach:Mr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=Nr(s,!1,!1),n[s]=Nr(s,!0,!1),t[s]=Nr(s,!1,!0),r[s]=Nr(s,!0,!0)}),[e,n,t,r]}const[gf,yf,bf,wf]=mf();function $s(e,t){const n=t?e?wf:bf:e?yf:gf;return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(ae(n,o)&&o in r?n:r,o,s)}const _f={get:$s(!1,!1)},Ef={get:$s(!1,!0)},Cf={get:$s(!0,!1)},ei=new WeakMap,ti=new WeakMap,ni=new WeakMap,kf=new WeakMap;function Sf(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function xf(e){return e.__v_skip||!Object.isExtensible(e)?0:Sf(Wu(e))}function br(e){return Ln(e)?e:Os(e,!1,pf,_f,ei)}function ri(e){return Os(e,!1,vf,Ef,ti)}function wr(e){return Os(e,!0,hf,Cf,ni)}function Os(e,t,n,r,o){if(!pe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=o.get(e);if(s)return s;const l=xf(e);if(l===0)return e;const a=new Proxy(e,l===2?r:n);return o.set(e,a),a}function Cn(e){return Ln(e)?Cn(e.__v_raw):!!(e&&e.__v_isReactive)}function Ln(e){return!!(e&&e.__v_isReadonly)}function Xr(e){return!!(e&&e.__v_isShallow)}function oi(e){return Cn(e)||Ln(e)}function oe(e){const t=e&&e.__v_raw;return t?oe(t):e}function si(e){return Object.isExtensible(e)&&Jr(e,"__v_skip",!0),e}const or=e=>pe(e)?br(e):e,Rs=e=>pe(e)?wr(e):e;class li{constructor(t,n,r,o){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Ts(()=>t(this._value),()=>Kn(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const t=oe(this);return(!t._cacheable||t.effect.dirty)&&qt(t._value,t._value=t.effect.run())&&Kn(t,4),Ps(t),t.effect._dirtyLevel>=2&&Kn(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function Tf(e,t,n=!1){let r,o;const s=ne(e);return s?(r=e,o=rt):(r=e.get,o=e.set),new li(r,o,s||!o,n)}function Ps(e){var t;Ht&&tn&&(e=oe(e),Ka(tn,(t=e.dep)!=null?t:e.dep=Ja(()=>e.dep=void 0,e instanceof li?e:void 0)))}function Kn(e,t=4,n){e=oe(e);const r=e.dep;r&&Ya(r,t)}function Pe(e){return!!(e&&e.__v_isRef===!0)}function Y(e){return ai(e,!1)}function Me(e){return ai(e,!0)}function ai(e,t){return Pe(e)?e:new Af(e,t)}class Af{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:oe(t),this._value=n?t:or(t)}get value(){return Ps(this),this._value}set value(t){const n=this.__v_isShallow||Xr(t)||Ln(t);t=n?t:oe(t),qt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:or(t),Kn(this,4))}}function Vt(e){return Pe(e)?e.value:e}const Lf={get:(e,t,n)=>Vt(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Pe(o)&&!Pe(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function ii(e){return Cn(e)?e:new Proxy(e,Lf)}class If{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>Ps(this),()=>Kn(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function Ms(e){return new If(e)}function $f(e){const t=X(e)?new Array(e.length):{};for(const n in e)t[n]=ci(e,n);return t}class Of{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return af(oe(this._object),this._key)}}class Rf{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function io(e,t,n){return Pe(e)?e:ne(e)?new Rf(e):pe(e)&&arguments.length>1?ci(e,t,n):Y(e)}function ci(e,t,n){const r=e[t];return Pe(r)?r:new Of(e,t,n)}/**
|
||
* @vue/runtime-core v3.4.21
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/function zt(e,t,n,r){try{return r?e(...r):e()}catch(o){_r(o,t,n)}}function st(e,t,n,r){if(ne(e)){const s=zt(e,t,n,r);return s&&Fa(s)&&s.catch(l=>{_r(l,t,n)}),s}const o=[];for(let s=0;s<e.length;s++)o.push(st(e[s],t,n,r));return o}function _r(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){zt(i,null,10,[e,l,a]);return}}Pf(e,n,o,r)}function Pf(e,t,n,r=!0){console.error(e)}let sr=!1,Zo=!1;const De=[];let bt=0;const kn=[];let Nt=null,Xt=0;const ui=Promise.resolve();let Ns=null;function Gt(e){const t=Ns||ui;return e?t.then(this?e.bind(this):e):t}function Mf(e){let t=bt+1,n=De.length;for(;t<n;){const r=t+n>>>1,o=De[r],s=lr(o);s<e||s===e&&o.pre?t=r+1:n=r}return t}function co(e){(!De.length||!De.includes(e,sr&&e.allowRecurse?bt+1:bt))&&(e.id==null?De.push(e):De.splice(Mf(e.id),0,e),fi())}function fi(){!sr&&!Zo&&(Zo=!0,Ns=ui.then(di))}function Nf(e){const t=De.indexOf(e);t>bt&&De.splice(t,1)}function Df(e){X(e)?kn.push(...e):(!Nt||!Nt.includes(e,e.allowRecurse?Xt+1:Xt))&&kn.push(e),fi()}function ml(e,t,n=sr?bt+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 Zr(e){if(kn.length){const t=[...new Set(kn)].sort((n,r)=>lr(n)-lr(r));if(kn.length=0,Nt){Nt.push(...t);return}for(Nt=t,Xt=0;Xt<Nt.length;Xt++)Nt[Xt]();Nt=null,Xt=0}}const lr=e=>e.id==null?1/0:e.id,jf=(e,t)=>{const n=lr(e)-lr(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function di(e){Zo=!1,sr=!0,De.sort(jf);try{for(bt=0;bt<De.length;bt++){const t=De[bt];t&&t.active!==!1&&zt(t,null,14)}}finally{bt=0,De.length=0,Zr(),sr=!1,Ns=null,(De.length||kn.length)&&di()}}function Ff(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(v=>Ae(v)?v.trim():v)),d&&(o=n.map(Yu))}let a,i=r[a=_o(t)]||r[a=_o(it(t))];!i&&s&&(i=r[a=_o(Dn(t))]),i&&st(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,st(c,e,6,o)}}function pi(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=pi(c,t,!0);u&&(a=!0,Te(l,u))};!n&&t.mixins.length&&t.mixins.forEach(i),e.extends&&i(e.extends),e.mixins&&e.mixins.forEach(i)}return!s&&!a?(pe(e)&&r.set(e,null),null):(X(s)?s.forEach(i=>l[i]=null):Te(l,s),pe(e)&&r.set(e,l),l)}function uo(e,t){return!e||!gr(t)?!1:(t=t.slice(2).replace(/Once$/,""),ae(e,t[0].toLowerCase()+t.slice(1))||ae(e,Dn(t))||ae(e,t))}let ot=null,fo=null;function eo(e){const t=ot;return ot=e,fo=e&&e.type.__scopeId||null,t}function hi(e){fo=e}function vi(){fo=null}function Bf(e,t=ot,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&Al(-1);const s=eo(t);let l;try{l=e(...o)}finally{eo(s),r._d&&Al(1)}return l};return r._n=!0,r._c=!0,r._d=!0,r}function So(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=eo(e);try{if(n.shapeFlag&4){const S=o||r,R=S;w=ft(u.call(R,S,d,s,v,p,g)),b=i}else{const S=t;w=ft(S.length>1?S(s,{attrs:i,slots:a,emit:c}):S(s,null)),b=t.props?i:Hf(i)}}catch(S){Zn.length=0,_r(S,e,1),w=Ee(lt)}let y=w;if(b&&_!==!1){const S=Object.keys(b),{shapeFlag:R}=y;S.length&&R&7&&(l&&S.some(Es)&&(b=Vf(b,l)),y=Ut(y,b))}return n.dirs&&(y=Ut(y),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&(y.transition=n.transition),w=y,eo(C),w}const Hf=e=>{let t;for(const n in e)(n==="class"||n==="style"||gr(n))&&((t||(t={}))[n]=e[n]);return t},Vf=(e,t)=>{const n={};for(const r in e)(!Es(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function zf(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?gl(r,l,c):!!l;if(i&8){const u=t.dynamicProps;for(let d=0;d<u.length;d++){const p=u[d];if(l[p]!==r[p]&&!uo(c,p))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:r===l?!1:r?l?gl(r,l,c):!0:!!l;return!1}function gl(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const s=r[o];if(t[s]!==e[s]&&!uo(n,s))return!0}return!1}function qf({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const mi="components";function pt(e,t){return Wf(mi,e,!0,t)||e}const Uf=Symbol.for("v-ndc");function Wf(e,t,n=!0,r=!1){const o=ot||Oe;if(o){const s=o.type;if(e===mi){const a=H1(s,!1);if(a&&(a===t||a===it(t)||a===yr(it(t))))return s}const l=yl(o[e]||s[e],t)||yl(o.appContext[e],t);return!l&&r?s:l}}function yl(e,t){return e&&(e[t]||e[it(t)]||e[yr(it(t))])}const Gf=e=>e.__isSuspense;function gi(e,t){t&&t.pendingBranch?X(e)?t.effects.push(...e):t.effects.push(e):Df(e)}const Kf=Symbol.for("v-scx"),Yf=()=>Re(Kf);function yi(e,t){return Ds(e,null,t)}const Dr={};function ie(e,t,n){return Ds(e,t,n)}function Ds(e,t,{immediate:n,deep:r,flush:o,once:s,onTrack:l,onTrigger:a}=ye){if(t&&s){const k=t;t=(...P)=>{k(...P),R()}}const i=Oe,c=k=>r===!0?k:gn(k,r===!1?1:void 0);let u,d=!1,p=!1;if(Pe(e)?(u=()=>e.value,d=Xr(e)):Cn(e)?(u=()=>c(e),d=!0):X(e)?(p=!0,d=e.some(k=>Cn(k)||Xr(k)),u=()=>e.map(k=>{if(Pe(k))return k.value;if(Cn(k))return c(k);if(ne(k))return zt(k,i,2)})):ne(e)?t?u=()=>zt(e,i,2):u=()=>(v&&v(),st(e,i,3,[g])):u=rt,t&&r){const k=u;u=()=>gn(k())}let v,g=k=>{v=y.onStop=()=>{zt(k,i,4),v=y.onStop=void 0}},_;if(Sr)if(g=rt,t?n&&st(t,i,3,[u(),p?[]:void 0,g]):u(),o==="sync"){const k=Yf();_=k.__watcherHandles||(k.__watcherHandles=[])}else return rt;let w=p?new Array(e.length).fill(Dr):Dr;const b=()=>{if(!(!y.active||!y.dirty))if(t){const k=y.run();(r||d||(p?k.some((P,O)=>qt(P,w[O])):qt(k,w)))&&(v&&v(),st(t,i,3,[k,w===Dr?void 0:p&&w[0]===Dr?[]:w,g]),w=k)}else y.run()};b.allowRecurse=!!t;let C;o==="sync"?C=b:o==="post"?C=()=>ze(b,i&&i.suspense):(b.pre=!0,i&&(b.id=i.uid),C=()=>co(b));const y=new Ts(u,rt,C),S=Ua(),R=()=>{y.stop(),S&&Cs(S.effects,y)};return t?n?b():w=y.run():o==="post"?ze(y.run.bind(y),i&&i.suspense):y.run(),_&&_.push(R),R}function Jf(e,t,n){const r=this.proxy,o=Ae(e)?e.includes(".")?bi(r,e):()=>r[e]:e.bind(r,r);let s;ne(t)?s=t:(s=t.handler,n=t);const l=kr(this),a=Ds(o,s.bind(r),n);return l(),a}function bi(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}function gn(e,t,n=0,r){if(!pe(e)||e.__v_skip)return e;if(t&&t>0){if(n>=t)return e;n++}if(r=r||new Set,r.has(e))return e;if(r.add(e),Pe(e))gn(e.value,t,n,r);else if(X(e))for(let o=0;o<e.length;o++)gn(e[o],t,n,r);else if(ja(e)||_n(e))e.forEach(o=>{gn(o,t,n,r)});else if(Ha(e))for(const o in e)gn(e[o],t,n,r);return e}function yt(e,t,n,r){const o=e.dirs,s=t&&t.dirs;for(let l=0;l<o.length;l++){const a=o[l];s&&(a.oldValue=s[l].value);let i=a.dir[r];i&&(on(),st(i,n,8,[e.el,a,e,t]),sn())}}const Dt=Symbol("_leaveCb"),jr=Symbol("_enterCb");function wi(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ve(()=>{e.isMounted=!0}),Fs(()=>{e.isUnmounting=!0}),e}const et=[Function,Array],_i={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:et,onEnter:et,onAfterEnter:et,onEnterCancelled:et,onBeforeLeave:et,onLeave:et,onAfterLeave:et,onLeaveCancelled:et,onBeforeAppear:et,onAppear:et,onAfterAppear:et,onAppearCancelled:et},Qf={name:"BaseTransition",props:_i,setup(e,{slots:t}){const n=Cr(),r=wi();return()=>{const o=t.default&&js(t.default(),!0);if(!o||!o.length)return;let s=o[0];if(o.length>1){for(const p of o)if(p.type!==lt){s=p;break}}const l=oe(e),{mode:a}=l;if(r.isLeaving)return xo(s);const i=bl(s);if(!i)return xo(s);const c=ar(i,l,r,n);ir(i,c);const u=n.subTree,d=u&&bl(u);if(d&&d.type!==lt&&!Zt(i,d)){const p=ar(d,l,r,n);if(ir(d,p),a==="out-in")return r.isLeaving=!0,p.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},xo(s);a==="in-out"&&i.type!==lt&&(p.delayLeave=(v,g,_)=>{const w=Ei(r,d);w[String(d.key)]=d,v[Dt]=()=>{g(),v[Dt]=void 0,delete c.delayedLeave},c.delayedLeave=_})}return s}}},Xf=Qf;function Ei(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 ar(e,t,n,r){const{appear:o,mode:s,persisted:l=!1,onBeforeEnter:a,onEnter:i,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:p,onAfterLeave:v,onLeaveCancelled:g,onBeforeAppear:_,onAppear:w,onAfterAppear:b,onAppearCancelled:C}=t,y=String(e.key),S=Ei(n,e),R=(O,K)=>{O&&st(O,r,9,K)},k=(O,K)=>{const $=K[1];R(O,K),X(O)?O.every(q=>q.length<=1)&&$():O.length<=1&&$()},P={mode:s,persisted:l,beforeEnter(O){let K=a;if(!n.isMounted)if(o)K=_||a;else return;O[Dt]&&O[Dt](!0);const $=S[y];$&&Zt(e,$)&&$.el[Dt]&&$.el[Dt](),R(K,[O])},enter(O){let K=i,$=c,q=u;if(!n.isMounted)if(o)K=w||i,$=b||c,q=C||u;else return;let M=!1;const Z=O[jr]=be=>{M||(M=!0,be?R(q,[O]):R($,[O]),P.delayedLeave&&P.delayedLeave(),O[jr]=void 0)};K?k(K,[O,Z]):Z()},leave(O,K){const $=String(e.key);if(O[jr]&&O[jr](!0),n.isUnmounting)return K();R(d,[O]);let q=!1;const M=O[Dt]=Z=>{q||(q=!0,K(),Z?R(g,[O]):R(v,[O]),O[Dt]=void 0,S[$]===e&&delete S[$])};S[$]=e,p?k(p,[O,M]):M()},clone(O){return ar(O,t,n,r)}};return P}function xo(e){if(Er(e))return e=Ut(e),e.children=null,e}function bl(e){return Er(e)?e.children?e.children[0]:void 0:e}function ir(e,t){e.shapeFlag&6&&e.component?ir(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function js(e,t=!1,n){let r=[],o=0;for(let s=0;s<e.length;s++){let l=e[s];const a=n==null?l.key:String(n)+String(l.key!=null?l.key:s);l.type===Ue?(l.patchFlag&128&&o++,r=r.concat(js(l.children,t,a))):(t||l.type!==lt)&&r.push(a!=null?Ut(l,{key:a}):l)}if(o>1)for(let s=0;s<r.length;s++)r[s].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function z(e,t){return ne(e)?Te({name:e.name},t,{setup:e}):e}const Yn=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Zf(e){ne(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,timeout:s,suspensible:l=!0,onError:a}=e;let i=null,c,u=0;const d=()=>(u++,i=null,p()),p=()=>{let v;return i||(v=i=t().catch(g=>{if(g=g instanceof Error?g:new Error(String(g)),a)return new Promise((_,w)=>{a(g,()=>_(d()),()=>w(g),u+1)});throw g}).then(g=>v!==i&&i?i:(g&&(g.__esModule||g[Symbol.toStringTag]==="Module")&&(g=g.default),c=g,g)))};return z({name:"AsyncComponentWrapper",__asyncLoader:p,get __asyncResolved(){return c},setup(){const v=Oe;if(c)return()=>To(c,v);const g=C=>{i=null,_r(C,v,13,!r)};if(l&&v.suspense||Sr)return p().then(C=>()=>To(C,v)).catch(C=>(g(C),()=>r?Ee(r,{error:C}):null));const _=Y(!1),w=Y(),b=Y(!!o);return o&&setTimeout(()=>{b.value=!1},o),s!=null&&setTimeout(()=>{if(!_.value&&!w.value){const C=new Error(`Async component timed out after ${s}ms.`);g(C),w.value=C}},s),p().then(()=>{_.value=!0,v.parent&&Er(v.parent.vnode)&&(v.parent.effect.dirty=!0,co(v.parent.update))}).catch(C=>{g(C),w.value=C}),()=>{if(_.value&&c)return To(c,v);if(w.value&&r)return Ee(r,{error:w.value});if(n&&!b.value)return Ee(n)}}})}function To(e,t){const{ref:n,props:r,children:o,ce:s}=t.vnode,l=Ee(e,r,o);return l.ref=n,l.ce=s,delete t.vnode.ce,l}const Er=e=>e.type.__isKeepAlive;function e1(e,t){Ci(e,"a",t)}function t1(e,t){Ci(e,"da",t)}function Ci(e,t,n=Oe){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(po(t,r,n),n){let o=n.parent;for(;o&&o.parent;)Er(o.parent.vnode)&&n1(r,t,n,o),o=o.parent}}function n1(e,t,n,r){const o=po(t,e,r,!0);jn(()=>{Cs(r[t],o)},n)}function po(e,t,n=Oe,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...l)=>{if(n.isUnmounted)return;on();const a=kr(n),i=st(t,n,e,l);return a(),sn(),i});return r?o.unshift(s):o.push(s),s}}const Lt=e=>(t,n=Oe)=>(!Sr||e==="sp")&&po(e,(...r)=>t(...r),n),r1=Lt("bm"),ve=Lt("m"),o1=Lt("bu"),ki=Lt("u"),Fs=Lt("bum"),jn=Lt("um"),s1=Lt("sp"),l1=Lt("rtg"),a1=Lt("rtc");function i1(e,t=Oe){po("ec",e,t)}function c1(e,t,n,r){let o;const s=n&&n[r];if(X(e)||Ae(e)){o=new Array(e.length);for(let l=0,a=e.length;l<a;l++)o[l]=t(e[l],l,void 0,s&&s[l])}else if(typeof e=="number"){o=new Array(e);for(let l=0;l<e;l++)o[l]=t(l+1,l,void 0,s&&s[l])}else if(pe(e))if(e[Symbol.iterator])o=Array.from(e,(l,a)=>t(l,a,void 0,s&&s[a]));else{const l=Object.keys(e);o=new Array(l.length);for(let a=0,i=l.length;a<i;a++){const c=l[a];o[a]=t(e[c],c,a,s&&s[a])}}else o=[];return n&&(n[r]=o),o}const es=e=>e?Bi(e)?zs(e)||e.proxy:es(e.parent):null,Jn=Te(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>es(e.parent),$root:e=>es(e.root),$emit:e=>e.emit,$options:e=>Bs(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,co(e.update)}),$nextTick:e=>e.n||(e.n=Gt.bind(e.proxy)),$watch:e=>Jf.bind(e)}),Ao=(e,t)=>e!==ye&&!e.__isScriptSetup&&ae(e,t),u1={get({_:e},t){const{ctx:n,setupState:r,data:o,props:s,accessCache:l,type:a,appContext:i}=e;let c;if(t[0]!=="$"){const v=l[t];if(v!==void 0)switch(v){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(Ao(r,t))return l[t]=1,r[t];if(o!==ye&&ae(o,t))return l[t]=2,o[t];if((c=e.propsOptions[0])&&ae(c,t))return l[t]=3,s[t];if(n!==ye&&ae(n,t))return l[t]=4,n[t];ts&&(l[t]=0)}}const u=Jn[t];let d,p;if(u)return t==="$attrs"&&Ke(e,"get",t),u(e);if((d=a.__cssModules)&&(d=d[t]))return d;if(n!==ye&&ae(n,t))return l[t]=4,n[t];if(p=i.config.globalProperties,ae(p,t))return p[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return Ao(o,t)?(o[t]=n,!0):r!==ye&&ae(r,t)?(r[t]=n,!0):ae(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:s}},l){let a;return!!n[l]||e!==ye&&ae(e,l)||Ao(t,l)||(a=s[0])&&ae(a,l)||ae(r,l)||ae(Jn,l)||ae(o.config.globalProperties,l)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ae(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function wl(e){return X(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let ts=!0;function f1(e){const t=Bs(e),n=e.proxy,r=e.ctx;ts=!1,t.beforeCreate&&_l(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:l,watch:a,provide:i,inject:c,created:u,beforeMount:d,mounted:p,beforeUpdate:v,updated:g,activated:_,deactivated:w,beforeDestroy:b,beforeUnmount:C,destroyed:y,unmounted:S,render:R,renderTracked:k,renderTriggered:P,errorCaptured:O,serverPrefetch:K,expose:$,inheritAttrs:q,components:M,directives:Z,filters:be}=t;if(c&&d1(c,r,null),l)for(const ee in l){const W=l[ee];ne(W)&&(r[ee]=W.bind(n))}if(o){const ee=o.call(n,n);pe(ee)&&(e.data=br(ee))}if(ts=!0,s)for(const ee in s){const W=s[ee],Se=ne(W)?W.bind(n,n):ne(W.get)?W.get.bind(n,n):rt,vt=!ne(W)&&ne(W.set)?W.set.bind(n):rt,Ze=x({get:Se,set:vt});Object.defineProperty(r,ee,{enumerable:!0,configurable:!0,get:()=>Ze.value,set:Ie=>Ze.value=Ie})}if(a)for(const ee in a)Si(a[ee],r,n,ee);if(i){const ee=ne(i)?i.call(n):i;Reflect.ownKeys(ee).forEach(W=>{Sn(W,ee[W])})}u&&_l(u,e,"c");function U(ee,W){X(W)?W.forEach(Se=>ee(Se.bind(n))):W&&ee(W.bind(n))}if(U(r1,d),U(ve,p),U(o1,v),U(ki,g),U(e1,_),U(t1,w),U(i1,O),U(a1,k),U(l1,P),U(Fs,C),U(jn,S),U(s1,K),X($))if($.length){const ee=e.exposed||(e.exposed={});$.forEach(W=>{Object.defineProperty(ee,W,{get:()=>n[W],set:Se=>n[W]=Se})})}else e.exposed||(e.exposed={});R&&e.render===rt&&(e.render=R),q!=null&&(e.inheritAttrs=q),M&&(e.components=M),Z&&(e.directives=Z)}function d1(e,t,n=rt){X(e)&&(e=ns(e));for(const r in e){const o=e[r];let s;pe(o)?"default"in o?s=Re(o.from||r,o.default,!0):s=Re(o.from||r):s=Re(o),Pe(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:l=>s.value=l}):t[r]=s}}function _l(e,t,n){st(X(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Si(e,t,n,r){const o=r.includes(".")?bi(n,r):()=>n[r];if(Ae(e)){const s=t[e];ne(s)&&ie(o,s)}else if(ne(e))ie(o,e.bind(n));else if(pe(e))if(X(e))e.forEach(s=>Si(s,t,n,r));else{const s=ne(e.handler)?e.handler.bind(n):t[e.handler];ne(s)&&ie(o,s,e)}}function Bs(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:l}}=e.appContext,a=s.get(t);let i;return a?i=a:!o.length&&!n&&!r?i=t:(i={},o.length&&o.forEach(c=>to(i,c,l,!0)),to(i,t,l)),pe(t)&&s.set(t,i),i}function to(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&to(e,s,n,!0),o&&o.forEach(l=>to(e,l,n,!0));for(const l in t)if(!(r&&l==="expose")){const a=p1[l]||n&&n[l];e[l]=a?a(e[l],t[l]):t[l]}return e}const p1={data:El,props:Cl,emits:Cl,methods:Wn,computed:Wn,beforeCreate:je,created:je,beforeMount:je,mounted:je,beforeUpdate:je,updated:je,beforeDestroy:je,beforeUnmount:je,destroyed:je,unmounted:je,activated:je,deactivated:je,errorCaptured:je,serverPrefetch:je,components:Wn,directives:Wn,watch:v1,provide:El,inject:h1};function El(e,t){return t?e?function(){return Te(ne(e)?e.call(this,this):e,ne(t)?t.call(this,this):t)}:t:e}function h1(e,t){return Wn(ns(e),ns(t))}function ns(e){if(X(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function je(e,t){return e?[...new Set([].concat(e,t))]:t}function Wn(e,t){return e?Te(Object.create(null),e,t):t}function Cl(e,t){return e?X(e)&&X(t)?[...new Set([...e,...t])]:Te(Object.create(null),wl(e),wl(t??{})):t}function v1(e,t){if(!e)return t;if(!t)return e;const n=Te(Object.create(null),e);for(const r in t)n[r]=je(e[r],t[r]);return n}function xi(){return{app:null,config:{isNativeTag:qu,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let m1=0;function g1(e,t){return function(r,o=null){ne(r)||(r=Te({},r)),o!=null&&!pe(o)&&(o=null);const s=xi(),l=new WeakSet;let a=!1;const i=s.app={_uid:m1++,_component:r,_props:o,_container:null,_context:s,_instance:null,version:z1,get config(){return s.config},set config(c){},use(c,...u){return l.has(c)||(c&&ne(c.install)?(l.add(c),c.install(i,...u)):ne(c)&&(l.add(c),c(i,...u))),i},mixin(c){return s.mixins.includes(c)||s.mixins.push(c),i},component(c,u){return u?(s.components[c]=u,i):s.components[c]},directive(c,u){return u?(s.directives[c]=u,i):s.directives[c]},mount(c,u,d){if(!a){const p=Ee(r,o);return p.appContext=s,d===!0?d="svg":d===!1&&(d=void 0),u&&t?t(p,c):e(p,c,d),a=!0,i._container=c,c.__vue_app__=i,zs(p.component)||p.component.proxy}},unmount(){a&&(e(null,i._container),delete i._container.__vue_app__)},provide(c,u){return s.provides[c]=u,i},runWithContext(c){const u=Qn;Qn=i;try{return c()}finally{Qn=u}}};return i}}let Qn=null;function Sn(e,t){if(Oe){let n=Oe.provides;const r=Oe.parent&&Oe.parent.provides;r===n&&(n=Oe.provides=Object.create(r)),n[e]=t}}function Re(e,t,n=!1){const r=Oe||ot;if(r||Qn){const o=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:Qn._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&ne(t)?t.call(r&&r.proxy):t}}function y1(e,t,n,r=!1){const o={},s={};Jr(s,ho,1),e.propsDefaults=Object.create(null),Ti(e,t,o,s);for(const l in e.propsOptions[0])l in o||(o[l]=void 0);n?e.props=r?o:ri(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function b1(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:l}}=e,a=oe(o),[i]=e.propsOptions;let c=!1;if((r||l>0)&&!(l&16)){if(l&8){const u=e.vnode.dynamicProps;for(let d=0;d<u.length;d++){let p=u[d];if(uo(e.emitsOptions,p))continue;const v=t[p];if(i)if(ae(s,p))v!==s[p]&&(s[p]=v,c=!0);else{const g=it(p);o[g]=rs(i,a,g,v,e,!1)}else v!==s[p]&&(s[p]=v,c=!0)}}}else{Ti(e,t,o,s)&&(c=!0);let u;for(const d in a)(!t||!ae(t,d)&&((u=Dn(d))===d||!ae(t,u)))&&(i?n&&(n[d]!==void 0||n[u]!==void 0)&&(o[d]=rs(i,a,d,void 0,e,!0)):delete o[d]);if(s!==a)for(const d in s)(!t||!ae(t,d))&&(delete s[d],c=!0)}c&&Tt(e,"set","$attrs")}function Ti(e,t,n,r){const[o,s]=e.propsOptions;let l=!1,a;if(t)for(let i in t){if(En(i))continue;const c=t[i];let u;o&&ae(o,u=it(i))?!s||!s.includes(u)?n[u]=c:(a||(a={}))[u]=c:uo(e.emitsOptions,i)||(!(i in r)||c!==r[i])&&(r[i]=c,l=!0)}if(s){const i=oe(n),c=a||ye;for(let u=0;u<s.length;u++){const d=s[u];n[d]=rs(o,i,d,c[d],e,!ae(c,d))}}return l}function rs(e,t,n,r,o,s){const l=e[n];if(l!=null){const a=ae(l,"default");if(a&&r===void 0){const i=l.default;if(l.type!==Function&&!l.skipFactory&&ne(i)){const{propsDefaults:c}=o;if(n in c)r=c[n];else{const u=kr(o);r=c[n]=i.call(null,t),u()}}else r=i}l[0]&&(s&&!a?r=!1:l[1]&&(r===""||r===Dn(n))&&(r=!0))}return r}function Ai(e,t,n=!1){const r=t.propsCache,o=r.get(e);if(o)return o;const s=e.props,l={},a=[];let i=!1;if(!ne(e)){const u=d=>{i=!0;const[p,v]=Ai(d,t,!0);Te(l,p),v&&a.push(...v)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!i)return pe(e)&&r.set(e,wn),wn;if(X(s))for(let u=0;u<s.length;u++){const d=it(s[u]);kl(d)&&(l[d]=ye)}else if(s)for(const u in s){const d=it(u);if(kl(d)){const p=s[u],v=l[d]=X(p)||ne(p)?{type:p}:Te({},p);if(v){const g=Tl(Boolean,v.type),_=Tl(String,v.type);v[0]=g>-1,v[1]=_<0||g<_,(g>-1||ae(v,"default"))&&a.push(d)}}}const c=[l,a];return pe(e)&&r.set(e,c),c}function kl(e){return e[0]!=="$"&&!En(e)}function Sl(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function xl(e,t){return Sl(e)===Sl(t)}function Tl(e,t){return X(t)?t.findIndex(n=>xl(n,e)):ne(t)&&xl(t,e)?0:-1}const Li=e=>e[0]==="_"||e==="$stable",Hs=e=>X(e)?e.map(ft):[ft(e)],w1=(e,t,n)=>{if(t._n)return t;const r=Bf((...o)=>Hs(t(...o)),n);return r._c=!1,r},Ii=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Li(o))continue;const s=e[o];if(ne(s))t[o]=w1(o,s,r);else if(s!=null){const l=Hs(s);t[o]=()=>l}}},$i=(e,t)=>{const n=Hs(t);e.slots.default=()=>n},_1=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=oe(t),Jr(t,"_",n)):Ii(t,e.slots={})}else e.slots={},t&&$i(e,t);Jr(e.slots,ho,1)},E1=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,l=ye;if(r.shapeFlag&32){const a=t._;a?n&&a===1?s=!1:(Te(o,t),!n&&a===1&&delete o._):(s=!t.$stable,Ii(t,o)),l=t}else t&&($i(e,t),l={default:1});if(s)for(const a in o)!Li(a)&&l[a]==null&&delete o[a]};function no(e,t,n,r,o=!1){if(X(e)){e.forEach((p,v)=>no(p,t&&(X(t)?t[v]:t),n,r,o));return}if(Yn(r)&&!o)return;const s=r.shapeFlag&4?zs(r.component)||r.component.proxy:r.el,l=o?null:s,{i:a,r:i}=e,c=t&&t.r,u=a.refs===ye?a.refs={}:a.refs,d=a.setupState;if(c!=null&&c!==i&&(Ae(c)?(u[c]=null,ae(d,c)&&(d[c]=null)):Pe(c)&&(c.value=null)),ne(i))zt(i,a,12,[l,u]);else{const p=Ae(i),v=Pe(i);if(p||v){const g=()=>{if(e.f){const _=p?ae(d,i)?d[i]:u[i]:i.value;o?X(_)&&Cs(_,s):X(_)?_.includes(s)||_.push(s):p?(u[i]=[s],ae(d,i)&&(d[i]=u[i])):(i.value=[s],e.k&&(u[e.k]=i.value))}else p?(u[i]=l,ae(d,i)&&(d[i]=l)):v&&(i.value=l,e.k&&(u[e.k]=l))};l?(g.id=-1,ze(g,n)):g()}}}let $t=!1;const C1=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",k1=e=>e.namespaceURI.includes("MathML"),Fr=e=>{if(C1(e))return"svg";if(k1(e))return"mathml"},Br=e=>e.nodeType===8;function S1(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:s,parentNode:l,remove:a,insert:i,createComment:c}}=e,u=(y,S)=>{if(!S.hasChildNodes()){n(null,y,S),Zr(),S._vnode=y;return}$t=!1,d(S.firstChild,y,null,null,null),Zr(),S._vnode=y,$t&&console.error("Hydration completed but contains mismatches.")},d=(y,S,R,k,P,O=!1)=>{const K=Br(y)&&y.data==="[",$=()=>_(y,S,R,k,P,K),{type:q,ref:M,shapeFlag:Z,patchFlag:be}=S;let me=y.nodeType;S.el=y,be===-2&&(O=!1,S.dynamicChildren=null);let U=null;switch(q){case In:me!==3?S.children===""?(i(S.el=o(""),l(y),y),U=y):U=$():(y.data!==S.children&&($t=!0,y.data=S.children),U=s(y));break;case lt:C(y)?(U=s(y),b(S.el=y.content.firstChild,y,R)):me!==8||K?U=$():U=s(y);break;case Xn:if(K&&(y=s(y),me=y.nodeType),me===1||me===3){U=y;const ee=!S.children.length;for(let W=0;W<S.staticCount;W++)ee&&(S.children+=U.nodeType===1?U.outerHTML:U.data),W===S.staticCount-1&&(S.anchor=U),U=s(U);return K?s(U):U}else $();break;case Ue:K?U=g(y,S,R,k,P,O):U=$();break;default:if(Z&1)(me!==1||S.type.toLowerCase()!==y.tagName.toLowerCase())&&!C(y)?U=$():U=p(y,S,R,k,P,O);else if(Z&6){S.slotScopeIds=P;const ee=l(y);if(K?U=w(y):Br(y)&&y.data==="teleport start"?U=w(y,y.data,"teleport end"):U=s(y),t(S,ee,null,R,k,Fr(ee),O),Yn(S)){let W;K?(W=Ee(Ue),W.anchor=U?U.previousSibling:ee.lastChild):W=y.nodeType===3?ji(""):Ee("div"),W.el=y,S.component.subTree=W}}else Z&64?me!==8?U=$():U=S.type.hydrate(y,S,R,k,P,O,e,v):Z&128&&(U=S.type.hydrate(y,S,R,k,Fr(l(y)),P,O,e,d))}return M!=null&&no(M,null,k,S),U},p=(y,S,R,k,P,O)=>{O=O||!!S.dynamicChildren;const{type:K,props:$,patchFlag:q,shapeFlag:M,dirs:Z,transition:be}=S,me=K==="input"||K==="option";if(me||q!==-1){Z&&yt(S,null,R,"created");let U=!1;if(C(y)){U=Oi(k,be)&&R&&R.vnode.props&&R.vnode.props.appear;const W=y.content.firstChild;U&&be.beforeEnter(W),b(W,y,R),S.el=y=W}if(M&16&&!($&&($.innerHTML||$.textContent))){let W=v(y.firstChild,S,y,R,k,P,O);for(;W;){$t=!0;const Se=W;W=W.nextSibling,a(Se)}}else M&8&&y.textContent!==S.children&&($t=!0,y.textContent=S.children);if($)if(me||!O||q&48)for(const W in $)(me&&(W.endsWith("value")||W==="indeterminate")||gr(W)&&!En(W)||W[0]===".")&&r(y,W,null,$[W],void 0,void 0,R);else $.onClick&&r(y,"onClick",null,$.onClick,void 0,void 0,R);let ee;(ee=$&&$.onVnodeBeforeMount)&&tt(ee,R,S),Z&&yt(S,null,R,"beforeMount"),((ee=$&&$.onVnodeMounted)||Z||U)&&gi(()=>{ee&&tt(ee,R,S),U&&be.enter(y),Z&&yt(S,null,R,"mounted")},k)}return y.nextSibling},v=(y,S,R,k,P,O,K)=>{K=K||!!S.dynamicChildren;const $=S.children,q=$.length;for(let M=0;M<q;M++){const Z=K?$[M]:$[M]=ft($[M]);if(y)y=d(y,Z,k,P,O,K);else{if(Z.type===In&&!Z.children)continue;$t=!0,n(null,Z,R,null,k,P,Fr(R),O)}}return y},g=(y,S,R,k,P,O)=>{const{slotScopeIds:K}=S;K&&(P=P?P.concat(K):K);const $=l(y),q=v(s(y),S,$,R,k,P,O);return q&&Br(q)&&q.data==="]"?s(S.anchor=q):($t=!0,i(S.anchor=c("]"),$,q),q)},_=(y,S,R,k,P,O)=>{if($t=!0,S.el=null,O){const q=w(y);for(;;){const M=s(y);if(M&&M!==q)a(M);else break}}const K=s(y),$=l(y);return a(y),n(null,S,$,K,R,k,Fr($),P),K},w=(y,S="[",R="]")=>{let k=0;for(;y;)if(y=s(y),y&&Br(y)&&(y.data===S&&k++,y.data===R)){if(k===0)return s(y);k--}return y},b=(y,S,R)=>{const k=S.parentNode;k&&k.replaceChild(y,S);let P=R;for(;P;)P.vnode.el===S&&(P.vnode.el=P.subTree.el=y),P=P.parent},C=y=>y.nodeType===1&&y.tagName.toLowerCase()==="template";return[u,d]}const ze=gi;function x1(e){return T1(e,S1)}function T1(e,t){const n=Va();n.__VUE__=!0;const{insert:r,remove:o,patchProp:s,createElement:l,createText:a,createComment:i,setText:c,setElementText:u,parentNode:d,nextSibling:p,setScopeId:v=rt,insertStaticContent:g}=e,_=(h,m,E,L=null,A=null,D=null,B=void 0,N=null,j=!!m.dynamicChildren)=>{if(h===m)return;h&&!Zt(h,m)&&(L=T(h),Ie(h,A,D,!0),h=null),m.patchFlag===-2&&(j=!1,m.dynamicChildren=null);const{type:I,ref:V,shapeFlag:Q}=m;switch(I){case In:w(h,m,E,L);break;case lt:b(h,m,E,L);break;case Xn:h==null&&C(m,E,L,B);break;case Ue:M(h,m,E,L,A,D,B,N,j);break;default:Q&1?R(h,m,E,L,A,D,B,N,j):Q&6?Z(h,m,E,L,A,D,B,N,j):(Q&64||Q&128)&&I.process(h,m,E,L,A,D,B,N,j,G)}V!=null&&A&&no(V,h&&h.ref,D,m||h,!m)},w=(h,m,E,L)=>{if(h==null)r(m.el=a(m.children),E,L);else{const A=m.el=h.el;m.children!==h.children&&c(A,m.children)}},b=(h,m,E,L)=>{h==null?r(m.el=i(m.children||""),E,L):m.el=h.el},C=(h,m,E,L)=>{[h.el,h.anchor]=g(h.children,m,E,L,h.el,h.anchor)},y=({el:h,anchor:m},E,L)=>{let A;for(;h&&h!==m;)A=p(h),r(h,E,L),h=A;r(m,E,L)},S=({el:h,anchor:m})=>{let E;for(;h&&h!==m;)E=p(h),o(h),h=E;o(m)},R=(h,m,E,L,A,D,B,N,j)=>{m.type==="svg"?B="svg":m.type==="math"&&(B="mathml"),h==null?k(m,E,L,A,D,B,N,j):K(h,m,A,D,B,N,j)},k=(h,m,E,L,A,D,B,N)=>{let j,I;const{props:V,shapeFlag:Q,transition:J,dirs:te}=h;if(j=h.el=l(h.type,D,V&&V.is,V),Q&8?u(j,h.children):Q&16&&O(h.children,j,null,L,A,Lo(h,D),B,N),te&&yt(h,null,L,"created"),P(j,h,h.scopeId,B,L),V){for(const ue in V)ue!=="value"&&!En(ue)&&s(j,ue,null,V[ue],D,h.children,L,A,xe);"value"in V&&s(j,"value",null,V.value,D),(I=V.onVnodeBeforeMount)&&tt(I,L,h)}te&&yt(h,null,L,"beforeMount");const re=Oi(A,J);re&&J.beforeEnter(j),r(j,m,E),((I=V&&V.onVnodeMounted)||re||te)&&ze(()=>{I&&tt(I,L,h),re&&J.enter(j),te&&yt(h,null,L,"mounted")},A)},P=(h,m,E,L,A)=>{if(E&&v(h,E),L)for(let D=0;D<L.length;D++)v(h,L[D]);if(A){let D=A.subTree;if(m===D){const B=A.vnode;P(h,B,B.scopeId,B.slotScopeIds,A.parent)}}},O=(h,m,E,L,A,D,B,N,j=0)=>{for(let I=j;I<h.length;I++){const V=h[I]=N?jt(h[I]):ft(h[I]);_(null,V,m,E,L,A,D,B,N)}},K=(h,m,E,L,A,D,B)=>{const N=m.el=h.el;let{patchFlag:j,dynamicChildren:I,dirs:V}=m;j|=h.patchFlag&16;const Q=h.props||ye,J=m.props||ye;let te;if(E&&Yt(E,!1),(te=J.onVnodeBeforeUpdate)&&tt(te,E,m,h),V&&yt(m,h,E,"beforeUpdate"),E&&Yt(E,!0),I?$(h.dynamicChildren,I,N,E,L,Lo(m,A),D):B||W(h,m,N,null,E,L,Lo(m,A),D,!1),j>0){if(j&16)q(N,m,Q,J,E,L,A);else if(j&2&&Q.class!==J.class&&s(N,"class",null,J.class,A),j&4&&s(N,"style",Q.style,J.style,A),j&8){const re=m.dynamicProps;for(let ue=0;ue<re.length;ue++){const ge=re[ue],$e=Q[ge],ct=J[ge];(ct!==$e||ge==="value")&&s(N,ge,$e,ct,A,h.children,E,L,xe)}}j&1&&h.children!==m.children&&u(N,m.children)}else!B&&I==null&&q(N,m,Q,J,E,L,A);((te=J.onVnodeUpdated)||V)&&ze(()=>{te&&tt(te,E,m,h),V&&yt(m,h,E,"updated")},L)},$=(h,m,E,L,A,D,B)=>{for(let N=0;N<m.length;N++){const j=h[N],I=m[N],V=j.el&&(j.type===Ue||!Zt(j,I)||j.shapeFlag&70)?d(j.el):E;_(j,I,V,null,L,A,D,B,!0)}},q=(h,m,E,L,A,D,B)=>{if(E!==L){if(E!==ye)for(const N in E)!En(N)&&!(N in L)&&s(h,N,E[N],null,B,m.children,A,D,xe);for(const N in L){if(En(N))continue;const j=L[N],I=E[N];j!==I&&N!=="value"&&s(h,N,I,j,B,m.children,A,D,xe)}"value"in L&&s(h,"value",E.value,L.value,B)}},M=(h,m,E,L,A,D,B,N,j)=>{const I=m.el=h?h.el:a(""),V=m.anchor=h?h.anchor:a("");let{patchFlag:Q,dynamicChildren:J,slotScopeIds:te}=m;te&&(N=N?N.concat(te):te),h==null?(r(I,E,L),r(V,E,L),O(m.children||[],E,V,A,D,B,N,j)):Q>0&&Q&64&&J&&h.dynamicChildren?($(h.dynamicChildren,J,E,A,D,B,N),(m.key!=null||A&&m===A.subTree)&&Ri(h,m,!0)):W(h,m,E,V,A,D,B,N,j)},Z=(h,m,E,L,A,D,B,N,j)=>{m.slotScopeIds=N,h==null?m.shapeFlag&512?A.ctx.activate(m,E,L,B,j):be(m,E,L,A,D,B,j):me(h,m,j)},be=(h,m,E,L,A,D,B)=>{const N=h.component=N1(h,L,A);if(Er(h)&&(N.ctx.renderer=G),D1(N),N.asyncDep){if(A&&A.registerDep(N,U),!h.el){const j=N.subTree=Ee(lt);b(null,j,m,E)}}else U(N,h,m,E,A,D,B)},me=(h,m,E)=>{const L=m.component=h.component;if(zf(h,m,E))if(L.asyncDep&&!L.asyncResolved){ee(L,m,E);return}else L.next=m,Nf(L.update),L.effect.dirty=!0,L.update();else m.el=h.el,L.vnode=m},U=(h,m,E,L,A,D,B)=>{const N=()=>{if(h.isMounted){let{next:V,bu:Q,u:J,parent:te,vnode:re}=h;{const pn=Pi(h);if(pn){V&&(V.el=re.el,ee(h,V,B)),pn.asyncDep.then(()=>{h.isUnmounted||N()});return}}let ue=V,ge;Yt(h,!1),V?(V.el=re.el,ee(h,V,B)):V=re,Q&&Eo(Q),(ge=V.props&&V.props.onVnodeBeforeUpdate)&&tt(ge,te,V,re),Yt(h,!0);const $e=So(h),ct=h.subTree;h.subTree=$e,_(ct,$e,d(ct.el),T(ct),h,A,D),V.el=$e.el,ue===null&&qf(h,$e.el),J&&ze(J,A),(ge=V.props&&V.props.onVnodeUpdated)&&ze(()=>tt(ge,te,V,re),A)}else{let V;const{el:Q,props:J}=m,{bm:te,m:re,parent:ue}=h,ge=Yn(m);if(Yt(h,!1),te&&Eo(te),!ge&&(V=J&&J.onVnodeBeforeMount)&&tt(V,ue,m),Yt(h,!0),Q&&fe){const $e=()=>{h.subTree=So(h),fe(Q,h.subTree,h,A,null)};ge?m.type.__asyncLoader().then(()=>!h.isUnmounted&&$e()):$e()}else{const $e=h.subTree=So(h);_(null,$e,E,L,h,A,D),m.el=$e.el}if(re&&ze(re,A),!ge&&(V=J&&J.onVnodeMounted)){const $e=m;ze(()=>tt(V,ue,$e),A)}(m.shapeFlag&256||ue&&Yn(ue.vnode)&&ue.vnode.shapeFlag&256)&&h.a&&ze(h.a,A),h.isMounted=!0,m=E=L=null}},j=h.effect=new Ts(N,rt,()=>co(I),h.scope),I=h.update=()=>{j.dirty&&j.run()};I.id=h.uid,Yt(h,!0),I()},ee=(h,m,E)=>{m.component=h;const L=h.vnode.props;h.vnode=m,h.next=null,b1(h,m.props,L,E),E1(h,m.children,E),on(),ml(h),sn()},W=(h,m,E,L,A,D,B,N,j=!1)=>{const I=h&&h.children,V=h?h.shapeFlag:0,Q=m.children,{patchFlag:J,shapeFlag:te}=m;if(J>0){if(J&128){vt(I,Q,E,L,A,D,B,N,j);return}else if(J&256){Se(I,Q,E,L,A,D,B,N,j);return}}te&8?(V&16&&xe(I,A,D),Q!==I&&u(E,Q)):V&16?te&16?vt(I,Q,E,L,A,D,B,N,j):xe(I,A,D,!0):(V&8&&u(E,""),te&16&&O(Q,E,L,A,D,B,N,j))},Se=(h,m,E,L,A,D,B,N,j)=>{h=h||wn,m=m||wn;const I=h.length,V=m.length,Q=Math.min(I,V);let J;for(J=0;J<Q;J++){const te=m[J]=j?jt(m[J]):ft(m[J]);_(h[J],te,E,null,A,D,B,N,j)}I>V?xe(h,A,D,!0,!1,Q):O(m,E,L,A,D,B,N,j,Q)},vt=(h,m,E,L,A,D,B,N,j)=>{let I=0;const V=m.length;let Q=h.length-1,J=V-1;for(;I<=Q&&I<=J;){const te=h[I],re=m[I]=j?jt(m[I]):ft(m[I]);if(Zt(te,re))_(te,re,E,null,A,D,B,N,j);else break;I++}for(;I<=Q&&I<=J;){const te=h[Q],re=m[J]=j?jt(m[J]):ft(m[J]);if(Zt(te,re))_(te,re,E,null,A,D,B,N,j);else break;Q--,J--}if(I>Q){if(I<=J){const te=J+1,re=te<V?m[te].el:L;for(;I<=J;)_(null,m[I]=j?jt(m[I]):ft(m[I]),E,re,A,D,B,N,j),I++}}else if(I>J)for(;I<=Q;)Ie(h[I],A,D,!0),I++;else{const te=I,re=I,ue=new Map;for(I=re;I<=J;I++){const Qe=m[I]=j?jt(m[I]):ft(m[I]);Qe.key!=null&&ue.set(Qe.key,I)}let ge,$e=0;const ct=J-re+1;let pn=!1,sl=0;const Vn=new Array(ct);for(I=0;I<ct;I++)Vn[I]=0;for(I=te;I<=Q;I++){const Qe=h[I];if($e>=ct){Ie(Qe,A,D,!0);continue}let gt;if(Qe.key!=null)gt=ue.get(Qe.key);else for(ge=re;ge<=J;ge++)if(Vn[ge-re]===0&&Zt(Qe,m[ge])){gt=ge;break}gt===void 0?Ie(Qe,A,D,!0):(Vn[gt-re]=I+1,gt>=sl?sl=gt:pn=!0,_(Qe,m[gt],E,null,A,D,B,N,j),$e++)}const ll=pn?A1(Vn):wn;for(ge=ll.length-1,I=ct-1;I>=0;I--){const Qe=re+I,gt=m[Qe],al=Qe+1<V?m[Qe+1].el:L;Vn[I]===0?_(null,gt,E,al,A,D,B,N,j):pn&&(ge<0||I!==ll[ge]?Ze(gt,E,al,2):ge--)}}},Ze=(h,m,E,L,A=null)=>{const{el:D,type:B,transition:N,children:j,shapeFlag:I}=h;if(I&6){Ze(h.component.subTree,m,E,L);return}if(I&128){h.suspense.move(m,E,L);return}if(I&64){B.move(h,m,E,G);return}if(B===Ue){r(D,m,E);for(let Q=0;Q<j.length;Q++)Ze(j[Q],m,E,L);r(h.anchor,m,E);return}if(B===Xn){y(h,m,E);return}if(L!==2&&I&1&&N)if(L===0)N.beforeEnter(D),r(D,m,E),ze(()=>N.enter(D),A);else{const{leave:Q,delayLeave:J,afterLeave:te}=N,re=()=>r(D,m,E),ue=()=>{Q(D,()=>{re(),te&&te()})};J?J(D,re,ue):ue()}else r(D,m,E)},Ie=(h,m,E,L=!1,A=!1)=>{const{type:D,props:B,ref:N,children:j,dynamicChildren:I,shapeFlag:V,patchFlag:Q,dirs:J}=h;if(N!=null&&no(N,null,E,h,!0),V&256){m.ctx.deactivate(h);return}const te=V&1&&J,re=!Yn(h);let ue;if(re&&(ue=B&&B.onVnodeBeforeUnmount)&&tt(ue,m,h),V&6)mt(h.component,E,L);else{if(V&128){h.suspense.unmount(E,L);return}te&&yt(h,null,m,"beforeUnmount"),V&64?h.type.remove(h,m,E,A,G,L):I&&(D!==Ue||Q>0&&Q&64)?xe(I,m,E,!1,!0):(D===Ue&&Q&384||!A&&V&16)&&xe(j,m,E),L&&Je(h)}(re&&(ue=B&&B.onVnodeUnmounted)||te)&&ze(()=>{ue&&tt(ue,m,h),te&&yt(h,null,m,"unmounted")},E)},Je=h=>{const{type:m,el:E,anchor:L,transition:A}=h;if(m===Ue){Et(E,L);return}if(m===Xn){S(h);return}const D=()=>{o(E),A&&!A.persisted&&A.afterLeave&&A.afterLeave()};if(h.shapeFlag&1&&A&&!A.persisted){const{leave:B,delayLeave:N}=A,j=()=>B(E,D);N?N(h.el,D,j):j()}else D()},Et=(h,m)=>{let E;for(;h!==m;)E=p(h),o(h),h=E;o(m)},mt=(h,m,E)=>{const{bum:L,scope:A,update:D,subTree:B,um:N}=h;L&&Eo(L),A.stop(),D&&(D.active=!1,Ie(B,h,m,E)),N&&ze(N,m),ze(()=>{h.isUnmounted=!0},m),m&&m.pendingBranch&&!m.isUnmounted&&h.asyncDep&&!h.asyncResolved&&h.suspenseId===m.pendingId&&(m.deps--,m.deps===0&&m.resolve())},xe=(h,m,E,L=!1,A=!1,D=0)=>{for(let B=D;B<h.length;B++)Ie(h[B],m,E,L,A)},T=h=>h.shapeFlag&6?T(h.component.subTree):h.shapeFlag&128?h.suspense.next():p(h.anchor||h.el);let H=!1;const F=(h,m,E)=>{h==null?m._vnode&&Ie(m._vnode,null,null,!0):_(m._vnode||null,h,m,null,null,null,E),H||(H=!0,ml(),Zr(),H=!1),m._vnode=h},G={p:_,um:Ie,m:Ze,r:Je,mt:be,mc:O,pc:W,pbc:$,n:T,o:e};let se,fe;return t&&([se,fe]=t(G)),{render:F,hydrate:se,createApp:g1(F,se)}}function Lo({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Yt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Oi(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ri(e,t,n=!1){const r=e.children,o=t.children;if(X(r)&&X(o))for(let s=0;s<r.length;s++){const l=r[s];let a=o[s];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=o[s]=jt(o[s]),a.el=l.el),n||Ri(l,a)),a.type===In&&(a.el=l.el)}}function A1(e){const t=e.slice(),n=[0];let r,o,s,l,a;const i=e.length;for(r=0;r<i;r++){const c=e[r];if(c!==0){if(o=n[n.length-1],e[o]<c){t[r]=o,n.push(r);continue}for(s=0,l=n.length-1;s<l;)a=s+l>>1,e[n[a]]<c?s=a+1:l=a;c<e[n[s]]&&(s>0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,l=n[s-1];s-- >0;)n[s]=l,l=t[l];return n}function Pi(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Pi(t)}const L1=e=>e.__isTeleport,Ue=Symbol.for("v-fgt"),In=Symbol.for("v-txt"),lt=Symbol.for("v-cmt"),Xn=Symbol.for("v-stc"),Zn=[];let dt=null;function er(e=!1){Zn.push(dt=e?null:[])}function I1(){Zn.pop(),dt=Zn[Zn.length-1]||null}let cr=1;function Al(e){cr+=e}function Mi(e){return e.dynamicChildren=cr>0?dt||wn:null,I1(),cr>0&&dt&&dt.push(e),e}function os(e,t,n,r,o,s){return Mi(qe(e,t,n,r,o,s,!0))}function Ni(e,t,n,r,o){return Mi(Ee(e,t,n,r,o,!0))}function ss(e){return e?e.__v_isVNode===!0:!1}function Zt(e,t){return e.type===t.type&&e.key===t.key}const ho="__vInternal",Di=({key:e})=>e??null,Kr=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ae(e)||Pe(e)||ne(e)?{i:ot,r:e,k:t,f:!!n}:e:null);function qe(e,t=null,n=null,r=0,o=null,s=e===Ue?0:1,l=!1,a=!1){const i={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Di(t),ref:t&&Kr(t),scopeId:fo,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:ot};return a?(Vs(i,n),s&128&&e.normalize(i)):n&&(i.shapeFlag|=Ae(n)?8:16),cr>0&&!l&&dt&&(i.patchFlag>0||s&6)&&i.patchFlag!==32&&dt.push(i),i}const Ee=$1;function $1(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===Uf)&&(e=lt),ss(e)){const a=Ut(e,t,!0);return n&&Vs(a,n),cr>0&&!s&&dt&&(a.shapeFlag&6?dt[dt.indexOf(e)]=a:dt.push(a)),a.patchFlag|=-2,a}if(V1(e)&&(e=e.__vccOpts),t){t=O1(t);let{class:a,style:i}=t;a&&!Ae(a)&&(t.class=xs(a)),pe(i)&&(oi(i)&&!X(i)&&(i=Te({},i)),t.style=Ss(i))}const l=Ae(e)?1:Gf(e)?128:L1(e)?64:pe(e)?4:ne(e)?2:0;return qe(e,t,n,r,o,l,s,!0)}function O1(e){return e?oi(e)||ho in e?Te({},e):e:null}function Ut(e,t,n=!1){const{props:r,ref:o,patchFlag:s,children:l}=e,a=t?R1(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Di(a),ref:t&&t.ref?n&&o?X(o)?o.concat(Kr(t)):[o,Kr(t)]:Kr(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ue?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ut(e.ssContent),ssFallback:e.ssFallback&&Ut(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function ji(e=" ",t=0){return Ee(In,null,e,t)}function G4(e,t){const n=Ee(Xn,null,e);return n.staticCount=t,n}function Fi(e="",t=!1){return t?(er(),Ni(lt,null,e)):Ee(lt,null,e)}function ft(e){return e==null||typeof e=="boolean"?Ee(lt):X(e)?Ee(Ue,null,e.slice()):typeof e=="object"?jt(e):Ee(In,null,String(e))}function jt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ut(e)}function Vs(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(X(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),Vs(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(ho in t)?t._ctx=ot:o===3&&ot&&(ot.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ne(t)?(t={default:t,_ctx:ot},n=32):(t=String(t),r&64?(n=16,t=[ji(t)]):n=8);e.children=t,e.shapeFlag|=n}function R1(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=xs([t.class,r.class]));else if(o==="style")t.style=Ss([t.style,r.style]);else if(gr(o)){const s=t[o],l=r[o];l&&s!==l&&!(X(s)&&s.includes(l))&&(t[o]=s?[].concat(s,l):l)}else o!==""&&(t[o]=r[o])}return t}function tt(e,t,n,r=null){st(e,t,7,[n,r])}const P1=xi();let M1=0;function N1(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||P1,s={uid:M1++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new rf(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Ai(r,o),emitsOptions:pi(r,o),emit:null,emitted:null,propsDefaults:ye,inheritAttrs:r.inheritAttrs,ctx:ye,data:ye,props:ye,attrs:ye,slots:ye,refs:ye,setupState:ye,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=t?t.root:s,s.emit=Ff.bind(null,s),e.ce&&e.ce(s),s}let Oe=null;const Cr=()=>Oe||ot;let ro,ls;{const e=Va(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),s=>{o.length>1?o.forEach(l=>l(s)):o[0](s)}};ro=t("__VUE_INSTANCE_SETTERS__",n=>Oe=n),ls=t("__VUE_SSR_SETTERS__",n=>Sr=n)}const kr=e=>{const t=Oe;return ro(e),e.scope.on(),()=>{e.scope.off(),ro(t)}},Ll=()=>{Oe&&Oe.scope.off(),ro(null)};function Bi(e){return e.vnode.shapeFlag&4}let Sr=!1;function D1(e,t=!1){t&&ls(t);const{props:n,children:r}=e.vnode,o=Bi(e);y1(e,n,o,t),_1(e,r);const s=o?j1(e,t):void 0;return t&&ls(!1),s}function j1(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=si(new Proxy(e.ctx,u1));const{setup:r}=n;if(r){const o=e.setupContext=r.length>1?B1(e):null,s=kr(e);on();const l=zt(r,e,0,[e.props,o]);if(sn(),s(),Fa(l)){if(l.then(Ll,Ll),t)return l.then(a=>{Il(e,a,t)}).catch(a=>{_r(a,e,0)});e.asyncDep=l}else Il(e,l,t)}else Hi(e,t)}function Il(e,t,n){ne(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:pe(t)&&(e.setupState=ii(t)),Hi(e,n)}let $l;function Hi(e,t,n){const r=e.type;if(!e.render){if(!t&&$l&&!r.render){const o=r.template||Bs(e).template;if(o){const{isCustomElement:s,compilerOptions:l}=e.appContext.config,{delimiters:a,compilerOptions:i}=r,c=Te(Te({isCustomElement:s,delimiters:a},l),i);r.render=$l(o,c)}}e.render=r.render||rt}{const o=kr(e);on();try{f1(e)}finally{sn(),o()}}}function F1(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Ke(e,"get","$attrs"),t[n]}}))}function B1(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return F1(e)},slots:e.slots,emit:e.emit,expose:t}}function zs(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(ii(si(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Jn)return Jn[n](e)},has(t,n){return n in t||n in Jn}}))}function H1(e,t=!0){return ne(e)?e.displayName||e.name:e.name||t&&e.__name}function V1(e){return ne(e)&&"__vccOpts"in e}const x=(e,t)=>Tf(e,t,Sr);function f(e,t,n){const r=arguments.length;return r===2?pe(t)&&!X(t)?ss(t)?Ee(e,null,[t]):Ee(e,t):Ee(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&ss(n)&&(n=[n]),Ee(e,t,n))}const z1="3.4.21";/**
|
||
* @vue/runtime-dom v3.4.21
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/const q1="http://www.w3.org/2000/svg",U1="http://www.w3.org/1998/Math/MathML",Ft=typeof document<"u"?document:null,Ol=Ft&&Ft.createElement("template"),W1={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"?Ft.createElementNS(q1,e):t==="mathml"?Ft.createElementNS(U1,e):Ft.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Ft.createTextNode(e),createComment:e=>Ft.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ft.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{Ol.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const a=Ol.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]}},Ot="transition",zn="animation",$n=Symbol("_vtc"),Wt=(e,{slots:t})=>f(Xf,zi(e),t);Wt.displayName="Transition";const Vi={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},G1=Wt.props=Te({},_i,Vi),Jt=(e,t=[])=>{X(e)?e.forEach(n=>n(...t)):e&&e(...t)},Rl=e=>e?X(e)?e.some(t=>t.length>1):e.length>1:!1;function zi(e){const t={};for(const M in e)M in Vi||(t[M]=e[M]);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=K1(o),_=g&&g[0],w=g&&g[1],{onBeforeEnter:b,onEnter:C,onEnterCancelled:y,onLeave:S,onLeaveCancelled:R,onBeforeAppear:k=b,onAppear:P=C,onAppearCancelled:O=y}=t,K=(M,Z,be)=>{Mt(M,Z?u:a),Mt(M,Z?c:l),be&&be()},$=(M,Z)=>{M._isLeaving=!1,Mt(M,d),Mt(M,v),Mt(M,p),Z&&Z()},q=M=>(Z,be)=>{const me=M?P:C,U=()=>K(Z,M,be);Jt(me,[Z,U]),Pl(()=>{Mt(Z,M?i:s),kt(Z,M?u:a),Rl(me)||Ml(Z,r,_,U)})};return Te(t,{onBeforeEnter(M){Jt(b,[M]),kt(M,s),kt(M,l)},onBeforeAppear(M){Jt(k,[M]),kt(M,i),kt(M,c)},onEnter:q(!1),onAppear:q(!0),onLeave(M,Z){M._isLeaving=!0;const be=()=>$(M,Z);kt(M,d),Ui(),kt(M,p),Pl(()=>{M._isLeaving&&(Mt(M,d),kt(M,v),Rl(S)||Ml(M,r,w,be))}),Jt(S,[M,be])},onEnterCancelled(M){K(M,!1),Jt(y,[M])},onAppearCancelled(M){K(M,!0),Jt(O,[M])},onLeaveCancelled(M){$(M),Jt(R,[M])}})}function K1(e){if(e==null)return null;if(pe(e))return[Io(e.enter),Io(e.leave)];{const t=Io(e);return[t,t]}}function Io(e){return Ju(e)}function kt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[$n]||(e[$n]=new Set)).add(t)}function Mt(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[$n];n&&(n.delete(t),n.size||(e[$n]=void 0))}function Pl(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Y1=0;function Ml(e,t,n,r){const o=e._endId=++Y1,s=()=>{o===e._endId&&r()};if(n)return setTimeout(s,n);const{type:l,timeout:a,propCount:i}=qi(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 qi(e,t){const n=window.getComputedStyle(e),r=g=>(n[g]||"").split(", "),o=r(`${Ot}Delay`),s=r(`${Ot}Duration`),l=Nl(o,s),a=r(`${zn}Delay`),i=r(`${zn}Duration`),c=Nl(a,i);let u=null,d=0,p=0;t===Ot?l>0&&(u=Ot,d=l,p=s.length):t===zn?c>0&&(u=zn,d=c,p=i.length):(d=Math.max(l,c),u=d>0?l>c?Ot:zn:null,p=u?u===Ot?s.length:i.length:0);const v=u===Ot&&/\b(transform|all)(,|$)/.test(r(`${Ot}Property`).toString());return{type:u,timeout:d,propCount:p,hasTransform:v}}function Nl(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>Dl(n)+Dl(e[r])))}function Dl(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Ui(){return document.body.offsetHeight}function J1(e,t,n){const r=e[$n];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const jl=Symbol("_vod"),Q1=Symbol("_vsh"),X1=Symbol(""),Z1=/(^|;)\s*display\s*:/;function ed(e,t,n){const r=e.style,o=Ae(n);let s=!1;if(n&&!o){if(t)if(Ae(t))for(const l of t.split(";")){const a=l.slice(0,l.indexOf(":")).trim();n[a]==null&&Yr(r,a,"")}else for(const l in t)n[l]==null&&Yr(r,l,"");for(const l in n)l==="display"&&(s=!0),Yr(r,l,n[l])}else if(o){if(t!==n){const l=r[X1];l&&(n+=";"+l),r.cssText=n,s=Z1.test(n)}}else t&&e.removeAttribute("style");jl in e&&(e[jl]=s?r.display:"",e[Q1]&&(r.display="none"))}const Fl=/\s*!important$/;function Yr(e,t,n){if(X(n))n.forEach(r=>Yr(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=td(e,t);Fl.test(n)?e.setProperty(Dn(r),n.replace(Fl,""),"important"):e[r]=n}}const Bl=["Webkit","Moz","ms"],$o={};function td(e,t){const n=$o[t];if(n)return n;let r=it(t);if(r!=="filter"&&r in e)return $o[t]=r;r=yr(r);for(let o=0;o<Bl.length;o++){const s=Bl[o]+r;if(s in e)return $o[t]=s}return t}const Hl="http://www.w3.org/1999/xlink";function nd(e,t,n,r,o){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Hl,t.slice(6,t.length)):e.setAttributeNS(Hl,t,n);else{const s=nf(t);n==null||s&&!za(n)?e.removeAttribute(t):e.setAttribute(t,s?"":n)}}function rd(e,t,n,r,o,s,l){if(t==="innerHTML"||t==="textContent"){r&&l(r,o,s),e[t]=n??"";return}const a=e.tagName;if(t==="value"&&a!=="PROGRESS"&&!a.includes("-")){const c=a==="OPTION"?e.getAttribute("value")||"":e.value,u=n??"";(c!==u||!("_value"in e))&&(e.value=u),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=za(n):n==null&&c==="string"?(n="",i=!0):c==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(t)}function od(e,t,n,r){e.addEventListener(t,n,r)}function sd(e,t,n,r){e.removeEventListener(t,n,r)}const Vl=Symbol("_vei");function ld(e,t,n,r,o=null){const s=e[Vl]||(e[Vl]={}),l=s[t];if(r&&l)l.value=r;else{const[a,i]=ad(t);if(r){const c=s[t]=ud(r,o);od(e,a,c,i)}else l&&(sd(e,a,l,i),s[t]=void 0)}}const zl=/(?:Once|Passive|Capture)$/;function ad(e){let t;if(zl.test(e)){t={};let r;for(;r=e.match(zl);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Dn(e.slice(2)),t]}let Oo=0;const id=Promise.resolve(),cd=()=>Oo||(id.then(()=>Oo=0),Oo=Date.now());function ud(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;st(fd(r,n.value),t,5,[r])};return n.value=e,n.attached=cd(),n}function fd(e,t){if(X(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const ql=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,dd=(e,t,n,r,o,s,l,a,i)=>{const c=o==="svg";t==="class"?J1(e,r,c):t==="style"?ed(e,n,r):gr(t)?Es(t)||ld(e,t,n,r,l):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):pd(e,t,r,c))?rd(e,t,r,s,l,a,i):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),nd(e,t,r,c))};function pd(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&ql(t)&&ne(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return ql(t)&&Ae(n)?!1:t in e}const Wi=new WeakMap,Gi=new WeakMap,oo=Symbol("_moveCb"),Ul=Symbol("_enterCb"),Ki={name:"TransitionGroup",props:Te({},G1,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Cr(),r=wi();let o,s;return ki(()=>{if(!o.length)return;const l=e.moveClass||`${e.name||"v"}-move`;if(!bd(o[0].el,n.vnode.el,l))return;o.forEach(md),o.forEach(gd);const a=o.filter(yd);Ui(),a.forEach(i=>{const c=i.el,u=c.style;kt(c,l),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[oo]=p=>{p&&p.target!==c||(!p||/transform$/.test(p.propertyName))&&(c.removeEventListener("transitionend",d),c[oo]=null,Mt(c,l))};c.addEventListener("transitionend",d)})}),()=>{const l=oe(e),a=zi(l);let i=l.tag||Ue;o=s,s=t.default?js(t.default()):[];for(let c=0;c<s.length;c++){const u=s[c];u.key!=null&&ir(u,ar(u,a,r,n))}if(o)for(let c=0;c<o.length;c++){const u=o[c];ir(u,ar(u,a,r,n)),Wi.set(u,u.el.getBoundingClientRect())}return Ee(i,null,s)}}},hd=e=>delete e.mode;Ki.props;const vd=Ki;function md(e){const t=e.el;t[oo]&&t[oo](),t[Ul]&&t[Ul]()}function gd(e){Gi.set(e,e.el.getBoundingClientRect())}function yd(e){const t=Wi.get(e),n=Gi.get(e),r=t.left-n.left,o=t.top-n.top;if(r||o){const s=e.el.style;return s.transform=s.webkitTransform=`translate(${r}px,${o}px)`,s.transitionDuration="0s",e}}function bd(e,t,n){const r=e.cloneNode(),o=e[$n];o&&o.forEach(a=>{a.split(/\s+/).forEach(i=>i&&r.classList.remove(i))}),n.split(/\s+/).forEach(a=>a&&r.classList.add(a)),r.style.display="none";const s=t.nodeType===1?t:t.parentNode;s.appendChild(r);const{hasTransform:l}=qi(r);return s.removeChild(r),l}const wd=Te({patchProp:dd},W1);let Ro,Wl=!1;function _d(){return Ro=Wl?Ro:x1(wd),Wl=!0,Ro}const Ed=(...e)=>{const t=_d().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=kd(r);if(o)return n(o,!0,Cd(o))},t};function Cd(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function kd(e){return Ae(e)?document.querySelector(e):e}var Sd=["link","meta","script","style","noscript","template"],xd=["title","base"],Td=([e,t,n])=>xd.includes(e)?e:Sd.includes(e)?e==="meta"&&t.name?`${e}.${t.name}`:e==="template"&&t.id?`${e}.${t.id}`:JSON.stringify([e,Object.entries(t).map(([r,o])=>typeof o=="boolean"?o?[r,""]:null:[r,o]).filter(r=>r!=null).sort(([r],[o])=>r.localeCompare(o)),n]):null,Ad=e=>{const t=new Set,n=[];return e.forEach(r=>{const o=Td(r);o&&!t.has(o)&&(t.add(o),n.push(r))}),n},Ld=e=>e[0]==="/"?e:`/${e}`,Yi=e=>e[e.length-1]==="/"||e.endsWith(".html")?e:`${e}/`,ln=e=>/^(https?:)?\/\//.test(e),Id=/.md((\?|#).*)?$/,On=(e,t="/")=>!!(ln(e)||e.startsWith("/")&&!e.startsWith(t)&&!Id.test(e)),Ji=e=>/^[a-z][a-z0-9+.-]*:/.test(e),Fn=e=>Object.prototype.toString.call(e)==="[object Object]",$d=e=>{const[t,...n]=e.split(/(\?|#)/);if(!t||t.endsWith("/"))return e;let r=t.replace(/(^|\/)README.md$/i,"$1index.html");return r.endsWith(".md")?r=r.substring(0,r.length-3)+".html":r.endsWith(".html")||(r=r+".html"),r.endsWith("/index.html")&&(r=r.substring(0,r.length-10)),r+n.join("")},qs=e=>e[e.length-1]==="/"?e.slice(0,-1):e,Qi=e=>e[0]==="/"?e.slice(1):e,Od=(e,t)=>{const n=Object.keys(e).sort((r,o)=>{const s=o.split("/").length-r.split("/").length;return s!==0?s:o.length-r.length});for(const r of n)if(t.startsWith(r))return r;return"/"},Ce=e=>typeof e=="string";const Rd="modulepreload",Pd=function(e){return"/"+e},Gl={},Fe=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){const s=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),a=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));o=Promise.all(n.map(i=>{if(i=Pd(i),i in Gl)return;Gl[i]=!0;const c=i.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(!!r)for(let v=s.length-1;v>=0;v--){const g=s[v];if(g.href===i&&(!c||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${u}`))return;const p=document.createElement("link");if(p.rel=c?"stylesheet":Rd,c||(p.as="script",p.crossOrigin=""),p.href=i,a&&p.setAttribute("nonce",a),document.head.appendChild(p),c)return new Promise((v,g)=>{p.addEventListener("load",v),p.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${i}`)))})}))}return o.then(()=>t()).catch(s=>{const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=s,window.dispatchEvent(l),!l.defaultPrevented)throw s})},Md=JSON.parse("{}"),Nd=Object.fromEntries([["/",{loader:()=>Fe(()=>import("./index.html-89EYFOzn.js"),__vite__mapDeps([])),meta:{t:"首页",i:"home"}}],["/foolsday.html",{loader:()=>Fe(()=>import("./foolsday.html-Cd0mpKAV.js"),__vite__mapDeps([])),meta:{t:"首页",i:"home"}}],["/deployment/",{loader:()=>Fe(()=>import("./index.html-BBIWXjyA.js"),__vite__mapDeps([])),meta:{t:"项目部署",i:"laptop-code"}}],["/deployment/config.html",{loader:()=>Fe(()=>import("./config.html-DJ63oVlJ.js"),__vite__mapDeps([])),meta:{t:"配置",i:"cog",O:2}}],["/deployment/fandq.html",{loader:()=>Fe(()=>import("./fandq.html-DqPMJ2H7.js"),__vite__mapDeps([])),meta:{t:"答疑",i:"question",O:3}}],["/deployment/install.html",{loader:()=>Fe(()=>import("./install.html-C--x_wYt.js"),__vite__mapDeps([])),meta:{t:"安装",i:"download",O:1}}],["/store/",{loader:()=>Fe(()=>import("./index.html-DCbeKeaA.js"),__vite__mapDeps([])),meta:{t:"资源商店",i:"store"}}],["/usage/",{loader:()=>Fe(()=>import("./index.html-DBxsb1RS.js"),__vite__mapDeps([])),meta:{t:"使用手册",i:"laptop-code"}}],["/usage/agreement.html",{loader:()=>Fe(()=>import("./agreement.html-D6abN47a.js"),__vite__mapDeps([])),meta:{t:"用户协议",i:"user-secret",O:3}}],["/usage/basic_command.html",{loader:()=>Fe(()=>import("./basic_command.html-DL1HGzM9.js"),__vite__mapDeps([])),meta:{t:"基础命令",i:"comment",O:1}}],["/usage/extra_command.html",{loader:()=>Fe(()=>import("./extra_command.html-Dms5HQzr.js"),__vite__mapDeps([])),meta:{t:"功能命令",i:"comment",O:2}}],["/usage/resource_pack.html",{loader:()=>Fe(()=>import("./resource_pack.html-DkE2PCfS.js"),__vite__mapDeps([])),meta:{t:"资源包",i:"paint-brush",O:3}}],["/404.html",{loader:()=>Fe(()=>import("./404.html-TnRv4YJe.js"),__vite__mapDeps([])),meta:{t:""}}]]);/*!
|
||
* vue-router v4.3.0
|
||
* (c) 2024 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/const vn=typeof document<"u";function Dd(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const ce=Object.assign;function Po(e,t){const n={};for(const r in t){const o=t[r];n[r]=ht(o)?o.map(e):e(o)}return n}const tr=()=>{},ht=Array.isArray,Xi=/#/g,jd=/&/g,Fd=/\//g,Bd=/=/g,Hd=/\?/g,Zi=/\+/g,Vd=/%5B/g,zd=/%5D/g,ec=/%5E/g,qd=/%60/g,tc=/%7B/g,Ud=/%7C/g,nc=/%7D/g,Wd=/%20/g;function Us(e){return encodeURI(""+e).replace(Ud,"|").replace(Vd,"[").replace(zd,"]")}function Gd(e){return Us(e).replace(tc,"{").replace(nc,"}").replace(ec,"^")}function as(e){return Us(e).replace(Zi,"%2B").replace(Wd,"+").replace(Xi,"%23").replace(jd,"%26").replace(qd,"`").replace(tc,"{").replace(nc,"}").replace(ec,"^")}function Kd(e){return as(e).replace(Bd,"%3D")}function Yd(e){return Us(e).replace(Xi,"%23").replace(Hd,"%3F")}function Jd(e){return e==null?"":Yd(e).replace(Fd,"%2F")}function ur(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Qd=/\/$/,Xd=e=>e.replace(Qd,"");function Mo(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=n0(r??t,n),{fullPath:r+(s&&"?")+s+l,path:r,query:o,hash:ur(l)}}function Zd(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Kl(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function e0(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])&&rc(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 rc(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!t0(e[n],t[n]))return!1;return!0}function t0(e,t){return ht(e)?Yl(e,t):ht(t)?Yl(t,e):e===t}function Yl(e,t){return ht(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function n0(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 fr;(function(e){e.pop="pop",e.push="push"})(fr||(fr={}));var nr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(nr||(nr={}));function r0(e){if(!e)if(vn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Xd(e)}const o0=/^[^#]+#/;function s0(e,t){return e.replace(o0,"#")+t}function l0(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 vo=()=>({left:window.scrollX,top:window.scrollY});function a0(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=l0(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 Jl(e,t){return(history.state?history.state.position-t:-1)+e}const is=new Map;function i0(e,t){is.set(e,t)}function c0(e){const t=is.get(e);return is.delete(e),t}let u0=()=>location.protocol+"//"+location.host;function oc(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),Kl(i,"")}return Kl(n,e)+r+o}function f0(e,t,n,r){let o=[],s=[],l=null;const a=({state:p})=>{const v=oc(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:fr.pop,direction:w?w>0?nr.forward:nr.back:nr.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)};return s.push(v),v}function u(){const{history:p}=window;p.state&&p.replaceState(ce({},p.state,{scroll:vo()}),"")}function d(){for(const p of s)p();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:i,listen:c,destroy:d}}function Ql(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?vo():null}}function d0(e){const{history:t,location:n}=window,r={value:oc(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(i,c,u){const d=e.indexOf("#"),p=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+i:u0()+e+i;try{t[u?"replaceState":"pushState"](c,"",p),o.value=c}catch(v){console.error(v),n[u?"replace":"assign"](p)}}function l(i,c){const u=ce({},t.state,Ql(o.value.back,i,o.value.forward,!0),c,{position:o.value.position});s(i,u,!0),r.value=i}function a(i,c){const u=ce({},o.value,t.state,{forward:i,scroll:vo()});s(u.current,u,!0);const d=ce({},Ql(r.value,i,null),{position:u.position+1},c);s(i,d,!1),r.value=i}return{location:r,state:o,push:a,replace:l}}function p0(e){e=r0(e);const t=d0(e),n=f0(e,t.state,t.location,t.replace);function r(s,l=!0){l||n.pauseListeners(),history.go(s)}const o=ce({location:"",base:e,go:r,createHref:s0.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function h0(e){return typeof e=="string"||e&&typeof e=="object"}function sc(e){return typeof e=="string"||typeof e=="symbol"}const St={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},lc=Symbol("");var Xl;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Xl||(Xl={}));function Pn(e,t){return ce(new Error,{type:e,[lc]:!0},t)}function Ct(e,t){return e instanceof Error&&lc in e&&(t==null||!!(e.type&t))}const Zl="[^/]+?",v0={sensitive:!1,strict:!1,start:!0,end:!0},m0=/[.+*?^${}()[\]/\\]/g;function g0(e,t){const n=ce({},v0,t),r=[];let o=n.start?"^":"";const s=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(o+="/");for(let d=0;d<c.length;d++){const p=c[d];let v=40+(n.sensitive?.25:0);if(p.type===0)d||(o+="/"),o+=p.value.replace(m0,"\\$&"),v+=40;else if(p.type===1){const{value:g,repeatable:_,optional:w,regexp:b}=p;s.push({name:g,repeatable:_,optional:w});const C=b||Zl;if(C!==Zl){v+=10;try{new RegExp(`(${C})`)}catch(S){throw new Error(`Invalid custom RegExp for param "${g}" (${C}): `+S.message)}}let y=_?`((?:${C})(?:/(?:${C}))*)`:`(${C})`;d||(y=w&&c.length<2?`(?:/${y})`:"/"+y),w&&(y+="?"),o+=y,v+=20,w&&(v+=-8),_&&(v+=-20),C===".*"&&(v+=-50)}u.push(v)}r.push(u)}if(n.strict&&n.end){const c=r.length-1;r[c][r[c].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&(o+="(?:/|$)");const l=new RegExp(o,n.sensitive?"":"i");function a(c){const u=c.match(l),d={};if(!u)return null;for(let p=1;p<u.length;p++){const v=u[p]||"",g=s[p-1];d[g.name]=v&&g.repeatable?v.split("/"):v}return d}function i(c){let u="",d=!1;for(const p of e){(!d||!u.endsWith("/"))&&(u+="/"),d=!1;for(const v of p)if(v.type===0)u+=v.value;else if(v.type===1){const{value:g,repeatable:_,optional:w}=v,b=g in c?c[g]:"";if(ht(b)&&!_)throw new Error(`Provided param "${g}" is an array but it is not repeatable (* or + modifiers)`);const C=ht(b)?b.join("/"):b;if(!C)if(w)p.length<2&&(u.endsWith("/")?u=u.slice(0,-1):d=!0);else throw new Error(`Missing required param "${g}"`);u+=C}}return u||"/"}return{re:l,score:r,keys:s,parse:a,stringify:i}}function y0(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function b0(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const s=y0(r[n],o[n]);if(s)return s;n++}if(Math.abs(o.length-r.length)===1){if(ea(r))return 1;if(ea(o))return-1}return o.length-r.length}function ea(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const w0={type:0,value:""},_0=/[a-zA-Z0-9_]/;function E0(e){if(!e)return[[]];if(e==="/")return[[w0]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(v){throw new Error(`ERR (${n})/"${c}": ${v}`)}let n=0,r=n;const o=[];let s;function l(){s&&o.push(s),s=[]}let a=0,i,c="",u="";function d(){c&&(n===0?s.push({type:0,value:c}):n===1||n===2||n===3?(s.length>1&&(i==="*"||i==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:c,regexp:u,repeatable:i==="*"||i==="+",optional:i==="*"||i==="?"})):t("Invalid state to consume buffer"),c="")}function p(){c+=i}for(;a<e.length;){if(i=e[a++],i==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:i==="/"?(c&&d(),l()):i===":"?(d(),n=1):p();break;case 4:p(),n=r;break;case 1:i==="("?n=2:_0.test(i)?p():(d(),n=0,i!=="*"&&i!=="?"&&i!=="+"&&a--);break;case 2:i===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+i:n=3:u+=i;break;case 3:d(),n=0,i!=="*"&&i!=="?"&&i!=="+"&&a--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),d(),l(),o}function C0(e,t,n){const r=g0(E0(e.path),n),o=ce(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function k0(e,t){const n=[],r=new Map;t=ra({strict:!1,end:!0,sensitive:!1},t);function o(u){return r.get(u)}function s(u,d,p){const v=!p,g=S0(u);g.aliasOf=p&&p.record;const _=ra(t,u),w=[g];if("alias"in u){const y=typeof u.alias=="string"?[u.alias]:u.alias;for(const S of y)w.push(ce({},g,{components:p?p.record.components:g.components,path:S,aliasOf:p?p.record:g}))}let b,C;for(const y of w){const{path:S}=y;if(d&&S[0]!=="/"){const R=d.record.path,k=R[R.length-1]==="/"?"":"/";y.path=d.record.path+(S&&k+S)}if(b=C0(y,d,_),p?p.alias.push(b):(C=C||b,C!==b&&C.alias.push(b),v&&u.name&&!na(b)&&l(u.name)),g.children){const R=g.children;for(let k=0;k<R.length;k++)s(R[k],b,p&&p.children[k])}p=p||b,(b.record.components&&Object.keys(b.record.components).length||b.record.name||b.record.redirect)&&i(b)}return C?()=>{l(C)}:tr}function l(u){if(sc(u)){const d=r.get(u);d&&(r.delete(u),n.splice(n.indexOf(d),1),d.children.forEach(l),d.alias.forEach(l))}else{const d=n.indexOf(u);d>-1&&(n.splice(d,1),u.record.name&&r.delete(u.record.name),u.children.forEach(l),u.alias.forEach(l))}}function a(){return n}function i(u){let d=0;for(;d<n.length&&b0(u,n[d])>=0&&(u.record.path!==n[d].record.path||!ac(u,n[d]));)d++;n.splice(d,0,u),u.record.name&&!na(u)&&r.set(u.record.name,u)}function c(u,d){let p,v={},g,_;if("name"in u&&u.name){if(p=r.get(u.name),!p)throw Pn(1,{location:u});_=p.record.name,v=ce(ta(d.params,p.keys.filter(C=>!C.optional).concat(p.parent?p.parent.keys.filter(C=>C.optional):[]).map(C=>C.name)),u.params&&ta(u.params,p.keys.map(C=>C.name))),g=p.stringify(v)}else if(u.path!=null)g=u.path,p=n.find(C=>C.re.test(g)),p&&(v=p.parse(g),_=p.record.name);else{if(p=d.name?r.get(d.name):n.find(C=>C.re.test(d.path)),!p)throw Pn(1,{location:u,currentLocation:d});_=p.record.name,v=ce({},d.params,u.params),g=p.stringify(v)}const w=[];let b=p;for(;b;)w.unshift(b.record),b=b.parent;return{name:_,path:g,params:v,matched:w,meta:T0(w)}}return e.forEach(u=>s(u)),{addRoute:s,resolve:c,removeRoute:l,getRoutes:a,getRecordMatcher:o}}function ta(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function S0(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:x0(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function x0(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function na(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function T0(e){return e.reduce((t,n)=>ce(t,n.meta),{})}function ra(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function ac(e,t){return t.children.some(n=>n===e||ac(e,n))}function A0(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;o<r.length;++o){const s=r[o].replace(Zi," "),l=s.indexOf("="),a=ur(l<0?s:s.slice(0,l)),i=l<0?null:ur(s.slice(l+1));if(a in t){let c=t[a];ht(c)||(c=t[a]=[c]),c.push(i)}else t[a]=i}return t}function oa(e){let t="";for(let n in e){const r=e[n];if(n=Kd(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(ht(r)?r.map(s=>s&&as(s)):[r&&as(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function L0(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=ht(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const I0=Symbol(""),sa=Symbol(""),mo=Symbol(""),Ws=Symbol(""),cs=Symbol("");function qn(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Bt(e,t,n,r,o,s=l=>l()){const l=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((a,i)=>{const c=p=>{p===!1?i(Pn(4,{from:n,to:t})):p instanceof Error?i(p):h0(p)?i(Pn(2,{from:t,to:p})):(l&&r.enterCallbacks[o]===l&&typeof p=="function"&&l.push(p),a())},u=s(()=>e.call(r&&r.instances[o],t,n,c));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch(p=>i(p))})}function No(e,t,n,r,o=s=>s()){const s=[];for(const l of e)for(const a in l.components){let i=l.components[a];if(!(t!=="beforeRouteEnter"&&!l.instances[a]))if($0(i)){const u=(i.__vccOpts||i)[t];u&&s.push(Bt(u,n,r,l,a,o))}else{let c=i();s.push(()=>c.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${l.path}"`));const d=Dd(u)?u.default:u;l.components[a]=d;const v=(d.__vccOpts||d)[t];return v&&Bt(v,n,r,l,a,o)()}))}}return s}function $0(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function la(e){const t=Re(mo),n=Re(Ws),r=x(()=>t.resolve(Vt(e.to))),o=x(()=>{const{matched:i}=r.value,{length:c}=i,u=i[c-1],d=n.matched;if(!u||!d.length)return-1;const p=d.findIndex(Rn.bind(null,u));if(p>-1)return p;const v=aa(i[c-2]);return c>1&&aa(u)===v&&d[d.length-1].path!==v?d.findIndex(Rn.bind(null,i[c-2])):p}),s=x(()=>o.value>-1&&M0(n.params,r.value.params)),l=x(()=>o.value>-1&&o.value===n.matched.length-1&&rc(n.params,r.value.params));function a(i={}){return P0(i)?t[Vt(e.replace)?"replace":"push"](Vt(e.to)).catch(tr):Promise.resolve()}return{route:r,href:x(()=>r.value.href),isActive:s,isExactActive:l,navigate:a}}const O0=z({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:la,setup(e,{slots:t}){const n=br(la(e)),{options:r}=Re(mo),o=x(()=>({[ia(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[ia(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&t.default(n);return e.custom?s:f("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}}),R0=O0;function P0(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function M0(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!ht(o)||o.length!==r.length||r.some((s,l)=>s!==o[l]))return!1}return!0}function aa(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ia=(e,t,n)=>e??t??n,N0=z({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Re(cs),o=x(()=>e.route||r.value),s=Re(sa,0),l=x(()=>{let c=Vt(s);const{matched:u}=o.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),a=x(()=>o.value.matched[l.value]);Sn(sa,x(()=>l.value+1)),Sn(I0,a),Sn(cs,o);const i=Y();return ie(()=>[i.value,a.value,e.name],([c,u,d],[p,v,g])=>{u&&(u.instances[d]=c,v&&v!==u&&c&&c===p&&(u.leaveGuards.size||(u.leaveGuards=v.leaveGuards),u.updateGuards.size||(u.updateGuards=v.updateGuards))),c&&u&&(!v||!Rn(u,v)||!p)&&(u.enterCallbacks[d]||[]).forEach(_=>_(c))},{flush:"post"}),()=>{const c=o.value,u=e.name,d=a.value,p=d&&d.components[u];if(!p)return ca(n.default,{Component:p,route:c});const v=d.props[u],g=v?v===!0?c.params:typeof v=="function"?v(c):v:null,w=f(p,ce({},g,t,{onVnodeUnmounted:b=>{b.component.isUnmounted&&(d.instances[u]=null)},ref:i}));return ca(n.default,{Component:w,route:c})||w}}});function ca(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const D0=N0;function j0(e){const t=k0(e.routes,e),n=e.parseQuery||A0,r=e.stringifyQuery||oa,o=e.history,s=qn(),l=qn(),a=qn(),i=Me(St);let c=St;vn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Po.bind(null,T=>""+T),d=Po.bind(null,Jd),p=Po.bind(null,ur);function v(T,H){let F,G;return sc(T)?(F=t.getRecordMatcher(T),G=H):G=T,t.addRoute(G,F)}function g(T){const H=t.getRecordMatcher(T);H&&t.removeRoute(H)}function _(){return t.getRoutes().map(T=>T.record)}function w(T){return!!t.getRecordMatcher(T)}function b(T,H){if(H=ce({},H||i.value),typeof T=="string"){const m=Mo(n,T,H.path),E=t.resolve({path:m.path},H),L=o.createHref(m.fullPath);return ce(m,E,{params:p(E.params),hash:ur(m.hash),redirectedFrom:void 0,href:L})}let F;if(T.path!=null)F=ce({},T,{path:Mo(n,T.path,H.path).path});else{const m=ce({},T.params);for(const E in m)m[E]==null&&delete m[E];F=ce({},T,{params:d(m)}),H.params=d(H.params)}const G=t.resolve(F,H),se=T.hash||"";G.params=u(p(G.params));const fe=Zd(r,ce({},T,{hash:Gd(se),path:G.path})),h=o.createHref(fe);return ce({fullPath:fe,hash:se,query:r===oa?L0(T.query):T.query||{}},G,{redirectedFrom:void 0,href:h})}function C(T){return typeof T=="string"?Mo(n,T,i.value.path):ce({},T)}function y(T,H){if(c!==T)return Pn(8,{from:H,to:T})}function S(T){return P(T)}function R(T){return S(ce(C(T),{replace:!0}))}function k(T){const H=T.matched[T.matched.length-1];if(H&&H.redirect){const{redirect:F}=H;let G=typeof F=="function"?F(T):F;return typeof G=="string"&&(G=G.includes("?")||G.includes("#")?G=C(G):{path:G},G.params={}),ce({query:T.query,hash:T.hash,params:G.path!=null?{}:T.params},G)}}function P(T,H){const F=c=b(T),G=i.value,se=T.state,fe=T.force,h=T.replace===!0,m=k(F);if(m)return P(ce(C(m),{state:typeof m=="object"?ce({},se,m.state):se,force:fe,replace:h}),H||F);const E=F;E.redirectedFrom=H;let L;return!fe&&e0(r,G,F)&&(L=Pn(16,{to:E,from:G}),Ze(G,G,!0,!1)),(L?Promise.resolve(L):$(E,G)).catch(A=>Ct(A)?Ct(A,2)?A:vt(A):W(A,E,G)).then(A=>{if(A){if(Ct(A,2))return P(ce({replace:h},C(A.to),{state:typeof A.to=="object"?ce({},se,A.to.state):se,force:fe}),H||E)}else A=M(E,G,!0,h,se);return q(E,G,A),A})}function O(T,H){const F=y(T,H);return F?Promise.reject(F):Promise.resolve()}function K(T){const H=Et.values().next().value;return H&&typeof H.runWithContext=="function"?H.runWithContext(T):T()}function $(T,H){let F;const[G,se,fe]=F0(T,H);F=No(G.reverse(),"beforeRouteLeave",T,H);for(const m of G)m.leaveGuards.forEach(E=>{F.push(Bt(E,T,H))});const h=O.bind(null,T,H);return F.push(h),xe(F).then(()=>{F=[];for(const m of s.list())F.push(Bt(m,T,H));return F.push(h),xe(F)}).then(()=>{F=No(se,"beforeRouteUpdate",T,H);for(const m of se)m.updateGuards.forEach(E=>{F.push(Bt(E,T,H))});return F.push(h),xe(F)}).then(()=>{F=[];for(const m of fe)if(m.beforeEnter)if(ht(m.beforeEnter))for(const E of m.beforeEnter)F.push(Bt(E,T,H));else F.push(Bt(m.beforeEnter,T,H));return F.push(h),xe(F)}).then(()=>(T.matched.forEach(m=>m.enterCallbacks={}),F=No(fe,"beforeRouteEnter",T,H,K),F.push(h),xe(F))).then(()=>{F=[];for(const m of l.list())F.push(Bt(m,T,H));return F.push(h),xe(F)}).catch(m=>Ct(m,8)?m:Promise.reject(m))}function q(T,H,F){a.list().forEach(G=>K(()=>G(T,H,F)))}function M(T,H,F,G,se){const fe=y(T,H);if(fe)return fe;const h=H===St,m=vn?history.state:{};F&&(G||h?o.replace(T.fullPath,ce({scroll:h&&m&&m.scroll},se)):o.push(T.fullPath,se)),i.value=T,Ze(T,H,F,h),vt()}let Z;function be(){Z||(Z=o.listen((T,H,F)=>{if(!mt.listening)return;const G=b(T),se=k(G);if(se){P(ce(se,{replace:!0}),G).catch(tr);return}c=G;const fe=i.value;vn&&i0(Jl(fe.fullPath,F.delta),vo()),$(G,fe).catch(h=>Ct(h,12)?h:Ct(h,2)?(P(h.to,G).then(m=>{Ct(m,20)&&!F.delta&&F.type===fr.pop&&o.go(-1,!1)}).catch(tr),Promise.reject()):(F.delta&&o.go(-F.delta,!1),W(h,G,fe))).then(h=>{h=h||M(G,fe,!1),h&&(F.delta&&!Ct(h,8)?o.go(-F.delta,!1):F.type===fr.pop&&Ct(h,20)&&o.go(-1,!1)),q(G,fe,h)}).catch(tr)}))}let me=qn(),U=qn(),ee;function W(T,H,F){vt(T);const G=U.list();return G.length?G.forEach(se=>se(T,H,F)):console.error(T),Promise.reject(T)}function Se(){return ee&&i.value!==St?Promise.resolve():new Promise((T,H)=>{me.add([T,H])})}function vt(T){return ee||(ee=!T,be(),me.list().forEach(([H,F])=>T?F(T):H()),me.reset()),T}function Ze(T,H,F,G){const{scrollBehavior:se}=e;if(!vn||!se)return Promise.resolve();const fe=!F&&c0(Jl(T.fullPath,0))||(G||!F)&&history.state&&history.state.scroll||null;return Gt().then(()=>se(T,H,fe)).then(h=>h&&a0(h)).catch(h=>W(h,T,H))}const Ie=T=>o.go(T);let Je;const Et=new Set,mt={currentRoute:i,listening:!0,addRoute:v,removeRoute:g,hasRoute:w,getRoutes:_,resolve:b,options:e,push:S,replace:R,go:Ie,back:()=>Ie(-1),forward:()=>Ie(1),beforeEach:s.add,beforeResolve:l.add,afterEach:a.add,onError:U.add,isReady:Se,install(T){const H=this;T.component("RouterLink",R0),T.component("RouterView",D0),T.config.globalProperties.$router=H,Object.defineProperty(T.config.globalProperties,"$route",{enumerable:!0,get:()=>Vt(i)}),vn&&!Je&&i.value===St&&(Je=!0,S(o.location).catch(se=>{}));const F={};for(const se in St)Object.defineProperty(F,se,{get:()=>i.value[se],enumerable:!0});T.provide(mo,H),T.provide(Ws,ri(F)),T.provide(cs,i);const G=T.unmount;Et.add(T),T.unmount=function(){Et.delete(T),Et.size<1&&(c=St,Z&&Z(),Z=null,i.value=St,Je=!1,ee=!1),G()}}};function xe(T){return T.reduce((H,F)=>H.then(()=>K(F)),Promise.resolve())}return mt}function F0(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let l=0;l<s;l++){const a=t.matched[l];a&&(e.matched.find(c=>Rn(c,a))?r.push(a):n.push(a));const i=e.matched[l];i&&(t.matched.find(c=>Rn(c,i))||o.push(i))}return[n,r,o]}function an(){return Re(mo)}function cn(){return Re(Ws)}var Gs=Symbol(""),_t=()=>{const e=Re(Gs);if(!e)throw new Error("useClientData() is called without provider.");return e},B0=()=>_t().pageComponent,we=()=>_t().pageData,_e=()=>_t().pageFrontmatter,H0=()=>_t().pageHead,Ks=()=>_t().pageLang,V0=()=>_t().pageLayout,un=()=>_t().routeLocale,z0=()=>_t().routes,ic=()=>_t().siteData,Ys=()=>_t().siteLocaleData,q0=Symbol(""),us=Me(Md),dr=Me(Nd),cc=e=>{const t=$d(e);if(dr.value[t])return t;const n=encodeURI(t);return dr.value[n]?n:us.value[t]||us.value[n]||t},go=e=>{const t=cc(e),n=dr.value[t]??{...dr.value["/404.html"],notFound:!0};return{path:t,notFound:!1,...n}},yo=z({name:"ClientOnly",setup(e,t){const n=Y(!1);return ve(()=>{n.value=!0}),()=>{var r,o;return n.value?(o=(r=t.slots).default)==null?void 0:o.call(r):null}}}),uc=z({name:"Content",props:{path:{type:String,required:!1,default:""}},setup(e){const t=B0(),n=x(()=>{if(!e.path)return t.value;const r=go(e.path);return Zf(()=>r.loader().then(({comp:o})=>o))});return()=>f(n.value)}}),Ye=(e={})=>e,He=e=>ln(e)?e:`/${Qi(e)}`,U0=e=>{if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget){const t=e.currentTarget.getAttribute("target");if(t!=null&&t.match(/\b_blank\b/i))return}return e.preventDefault(),!0}},We=({active:e=!1,activeClass:t="route-link-active",to:n,...r},{slots:o})=>{var i;const s=an(),l=cc(n),a=l.startsWith("#")||l.startsWith("?")?l:He(l);return f("a",{...r,class:["route-link",{[t]:e}],href:a,onClick:(c={})=>{U0(c)?s.push(n).catch():Promise.resolve()}},(i=o.default)==null?void 0:i.call(o))};We.displayName="RouteLink";We.props={active:Boolean,activeClass:String,to:String};var W0="Layout",G0="en-US",Qt=br({resolveLayouts:e=>e.reduce((t,n)=>({...t,...n.layouts}),{}),resolvePageHead:(e,t,n)=>{const r=Ce(t.description)?t.description:n.description,o=[...Array.isArray(t.head)?t.head:[],...n.head,["title",{},e],["meta",{name:"description",content:r}]];return Ad(o)},resolvePageHeadTitle:(e,t)=>[e.title,t.title].filter(n=>!!n).join(" | "),resolvePageLang:(e,t)=>e.lang||t.lang||G0,resolvePageLayout:(e,t)=>{const n=Ce(e.frontmatter.layout)?e.frontmatter.layout:W0;if(!t[n])throw new Error(`[vuepress] Cannot resolve layout: ${n}`);return t[n]},resolveRouteLocale:(e,t)=>Od(e,t),resolveSiteLocaleData:(e,t)=>{var n;return{...e,...e.locales[t],head:[...((n=e.locales[t])==null?void 0:n.head)??[],...e.head??[]]}}});const K0={},xr=e=>{const t=un();return x(()=>e[t.value]??{})};var Be=Uint8Array,yn=Uint16Array,Y0=Int32Array,fc=new Be([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),dc=new Be([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),J0=new Be([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),pc=function(e,t){for(var n=new yn(31),r=0;r<31;++r)n[r]=t+=1<<e[r-1];for(var o=new Y0(n[30]),r=1;r<30;++r)for(var s=n[r];s<n[r+1];++s)o[s]=s-n[r]<<5|r;return{b:n,r:o}},hc=pc(fc,2),vc=hc.b,Q0=hc.r;vc[28]=258,Q0[258]=28;var X0=pc(dc,0),Z0=X0.b,fs=new yn(32768);for(var he=0;he<32768;++he){var Rt=(he&43690)>>1|(he&21845)<<1;Rt=(Rt&52428)>>2|(Rt&13107)<<2,Rt=(Rt&61680)>>4|(Rt&3855)<<4,fs[he]=((Rt&65280)>>8|(Rt&255)<<8)>>1}var rr=function(e,t,n){for(var r=e.length,o=0,s=new yn(t);o<r;++o)e[o]&&++s[e[o]-1];var l=new yn(t);for(o=1;o<t;++o)l[o]=l[o-1]+s[o-1]<<1;var a;if(n){a=new yn(1<<t);var i=15-t;for(o=0;o<r;++o)if(e[o])for(var c=o<<4|e[o],u=t-e[o],d=l[e[o]-1]++<<u,p=d|(1<<u)-1;d<=p;++d)a[fs[d]>>i]=c}else for(a=new yn(r),o=0;o<r;++o)e[o]&&(a[o]=fs[l[e[o]-1]++]>>15-e[o]);return a},Tr=new Be(288);for(var he=0;he<144;++he)Tr[he]=8;for(var he=144;he<256;++he)Tr[he]=9;for(var he=256;he<280;++he)Tr[he]=7;for(var he=280;he<288;++he)Tr[he]=8;var mc=new Be(32);for(var he=0;he<32;++he)mc[he]=5;var e2=rr(Tr,9,1),t2=rr(mc,5,1),Do=function(e){for(var t=e[0],n=1;n<e.length;++n)e[n]>t&&(t=e[n]);return t},ut=function(e,t,n){var r=t/8|0;return(e[r]|e[r+1]<<8)>>(t&7)&n},jo=function(e,t){var n=t/8|0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>(t&7)},n2=function(e){return(e+7)/8|0},Js=function(e,t,n){return(t==null||t<0)&&(t=0),(n==null||n>e.length)&&(n=e.length),new Be(e.subarray(t,n))},r2=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],nt=function(e,t,n){var r=new Error(t||r2[e]);if(r.code=e,Error.captureStackTrace&&Error.captureStackTrace(r,nt),!n)throw r;return r},o2=function(e,t,n,r){var o=e.length,s=r?r.length:0;if(!o||t.f&&!t.l)return n||new Be(0);var l=!n,a=l||t.i!=2,i=t.i;l&&(n=new Be(o*3));var c=function(se){var fe=n.length;if(se>fe){var h=new Be(Math.max(fe*2,se));h.set(n),n=h}},u=t.f||0,d=t.p||0,p=t.b||0,v=t.l,g=t.d,_=t.m,w=t.n,b=o*8;do{if(!v){u=ut(e,d,1);var C=ut(e,d+1,3);if(d+=3,C)if(C==1)v=e2,g=t2,_=9,w=5;else if(C==2){var k=ut(e,d,31)+257,P=ut(e,d+10,15)+4,O=k+ut(e,d+5,31)+1;d+=14;for(var K=new Be(O),$=new Be(19),q=0;q<P;++q)$[J0[q]]=ut(e,d+q*3,7);d+=P*3;for(var M=Do($),Z=(1<<M)-1,be=rr($,M,1),q=0;q<O;){var me=be[ut(e,d,Z)];d+=me&15;var y=me>>4;if(y<16)K[q++]=y;else{var U=0,ee=0;for(y==16?(ee=3+ut(e,d,3),d+=2,U=K[q-1]):y==17?(ee=3+ut(e,d,7),d+=3):y==18&&(ee=11+ut(e,d,127),d+=7);ee--;)K[q++]=U}}var W=K.subarray(0,k),Se=K.subarray(k);_=Do(W),w=Do(Se),v=rr(W,_,1),g=rr(Se,w,1)}else nt(1);else{var y=n2(d)+4,S=e[y-4]|e[y-3]<<8,R=y+S;if(R>o){i&&nt(0);break}a&&c(p+S),n.set(e.subarray(y,R),p),t.b=p+=S,t.p=d=R*8,t.f=u;continue}if(d>b){i&&nt(0);break}}a&&c(p+131072);for(var vt=(1<<_)-1,Ze=(1<<w)-1,Ie=d;;Ie=d){var U=v[jo(e,d)&vt],Je=U>>4;if(d+=U&15,d>b){i&&nt(0);break}if(U||nt(2),Je<256)n[p++]=Je;else if(Je==256){Ie=d,v=null;break}else{var Et=Je-254;if(Je>264){var q=Je-257,mt=fc[q];Et=ut(e,d,(1<<mt)-1)+vc[q],d+=mt}var xe=g[jo(e,d)&Ze],T=xe>>4;xe||nt(3),d+=xe&15;var Se=Z0[T];if(T>3){var mt=dc[T];Se+=jo(e,d)&(1<<mt)-1,d+=mt}if(d>b){i&&nt(0);break}a&&c(p+131072);var H=p+Et;if(p<Se){var F=s-Se,G=Math.min(Se,H);for(F+p<0&&nt(3);p<G;++p)n[p]=r[F+p]}for(;p<H;++p)n[p]=n[p-Se]}}t.l=v,t.p=Ie,t.b=p,t.f=u,v&&(u=1,t.m=_,t.d=g,t.n=w)}while(!u);return p!=n.length&&l?Js(n,0,p):n.subarray(0,p)},s2=new Be(0),l2=function(e,t){return((e[0]&15)!=8||e[0]>>4>7||(e[0]<<8|e[1])%31)&&nt(6,"invalid zlib data"),(e[1]>>5&1)==+!t&&nt(6,"invalid zlib data: "+(e[1]&32?"need":"unexpected")+" dictionary"),(e[1]>>3&4)+2};function a2(e,t){return o2(e.subarray(l2(e,t&&t.dictionary),-4),{i:2},t&&t.out,t&&t.dictionary)}var ua=typeof TextEncoder<"u"&&new TextEncoder,ds=typeof TextDecoder<"u"&&new TextDecoder,i2=0;try{ds.decode(s2,{stream:!0}),i2=1}catch{}var c2=function(e){for(var t="",n=0;;){var r=e[n++],o=(r>127)+(r>223)+(r>239);if(n+o>e.length)return{s:t,r:Js(e,n-1)};o?o==3?(r=((r&15)<<18|(e[n++]&63)<<12|(e[n++]&63)<<6|e[n++]&63)-65536,t+=String.fromCharCode(55296|r>>10,56320|r&1023)):o&1?t+=String.fromCharCode((r&31)<<6|e[n++]&63):t+=String.fromCharCode((r&15)<<12|(e[n++]&63)<<6|e[n++]&63):t+=String.fromCharCode(r)}};function u2(e,t){if(t){for(var n=new Be(e.length),r=0;r<e.length;++r)n[r]=e.charCodeAt(r);return n}if(ua)return ua.encode(e);for(var o=e.length,s=new Be(e.length+(e.length>>1)),l=0,a=function(u){s[l++]=u},r=0;r<o;++r){if(l+5>s.length){var i=new Be(l+8+(o-r<<1));i.set(s),s=i}var c=e.charCodeAt(r);c<128||t?a(c):c<2048?(a(192|c>>6),a(128|c&63)):c>55295&&c<57344?(c=65536+(c&1047552)|e.charCodeAt(++r)&1023,a(240|c>>18),a(128|c>>12&63),a(128|c>>6&63),a(128|c&63)):(a(224|c>>12),a(128|c>>6&63),a(128|c&63))}return Js(s,0,l)}function f2(e,t){if(t){for(var n="",r=0;r<e.length;r+=16384)n+=String.fromCharCode.apply(null,e.subarray(r,r+16384));return n}else{if(ds)return ds.decode(e);var o=c2(e),s=o.s,n=o.r;return n.length&&nt(8),s}}const fa=e=>{const t=atob(e);return f2(a2(u2(t,!0)))},at=(e,t)=>{var r;const n=(r=(t==null?void 0:t._instance)||Cr())==null?void 0:r.appContext.components;return n?e in n||it(e)in n||yr(it(e))in n:!1},gc=e=>new Promise(t=>setTimeout(t,e)),yc=e=>typeof e<"u",Fo=e=>typeof e=="number",ps=Array.isArray,Mn=(e,t)=>Ce(e)&&e.startsWith(t),d2=(e,t)=>Ce(e)&&e.endsWith(t),p2=Object.entries,fn=Object.keys,h2=e=>{if(e){if(typeof e=="number")return new Date(e);const t=Date.parse(e.toString());if(!Number.isNaN(t))return new Date(t)}return null},Qs=e=>Mn(e,"/");function bc(e,t){let n,r,o;const s=Y(!0),l=()=>{s.value=!0,o()};ie(e,l,{flush:"sync"});const a=typeof t=="function"?t:t.get,i=typeof t=="function"?void 0:t.set,c=Ms((u,d)=>(r=u,o=d,{get(){return s.value&&(n=a(),s.value=!1),r(),n},set(p){i==null||i(p)}}));return Object.isExtensible(c)&&(c.trigger=l),c}function Bn(e){return Ua()?(sf(e),!0):!1}function Ne(e){return typeof e=="function"?e():Vt(e)}const Ar=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const v2=Object.prototype.toString,m2=e=>v2.call(e)==="[object Object]",rn=()=>{},da=g2();function g2(){var e,t;return Ar&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function Xs(e,t){function n(...r){return new Promise((o,s)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(s)})}return n}const wc=e=>e();function y2(e,t={}){let n,r,o=rn;const s=a=>{clearTimeout(a),o(),o=rn};return a=>{const i=Ne(e),c=Ne(t.maxWait);return n&&s(n),i<=0||c!==void 0&&c<=0?(r&&(s(r),r=null),Promise.resolve(a())):new Promise((u,d)=>{o=t.rejectOnCancel?d:u,c&&!r&&(r=setTimeout(()=>{n&&s(n),r=null,u(a())},c)),n=setTimeout(()=>{r&&s(r),r=null,u(a())},i)})}}function b2(...e){let t=0,n,r=!0,o=rn,s,l,a,i,c;!Pe(e[0])&&typeof e[0]=="object"?{delay:l,trailing:a=!0,leading:i=!0,rejectOnCancel:c=!1}=e[0]:[l,a=!0,i=!0,c=!1]=e;const u=()=>{n&&(clearTimeout(n),n=void 0,o(),o=rn)};return p=>{const v=Ne(l),g=Date.now()-t,_=()=>s=p();return u(),v<=0?(t=Date.now(),_()):(g>v&&(i||!r)?(t=Date.now(),_()):a&&(s=new Promise((w,b)=>{o=c?b:w,n=setTimeout(()=>{t=Date.now(),r=!0,w(_()),u()},Math.max(0,v-g))})),!i&&!n&&(n=setTimeout(()=>r=!0,v)),r=!1,s)}}function w2(e=wc){const t=Y(!0);function n(){t.value=!1}function r(){t.value=!0}const o=(...s)=>{t.value&&e(...s)};return{isActive:wr(t),pause:n,resume:r,eventFilter:o}}function _2(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const r=t;t=void 0,r&&await r},n}function _c(e){return e||Cr()}function E2(...e){if(e.length!==1)return io(...e);const t=e[0];return typeof t=="function"?wr(Ms(()=>({get:t,set:rn}))):Y(t)}function C2(e,t=200,n={}){return Xs(y2(t,n),e)}function k2(e,t=200,n=!1,r=!0,o=!1){return Xs(b2(t,n,r,o),e)}function S2(e,t,n={}){const{eventFilter:r=wc,...o}=n;return ie(e,Xs(r,t),o)}function x2(e,t,n={}){const{eventFilter:r,...o}=n,{eventFilter:s,pause:l,resume:a,isActive:i}=w2(r);return{stop:S2(e,t,{...o,eventFilter:s}),pause:l,resume:a,isActive:i}}function bo(e,t=!0,n){_c()?ve(e,n):t?e():Gt(e)}function T2(e,t){_c(t)&&jn(e,t)}function A2(e,t,n={}){const{immediate:r=!0}=n,o=Y(!1);let s=null;function l(){s&&(clearTimeout(s),s=null)}function a(){o.value=!1,l()}function i(...c){l(),o.value=!0,s=setTimeout(()=>{o.value=!1,s=null,e(...c)},Ne(t))}return r&&(o.value=!0,Ar&&i()),Bn(a),{isPending:wr(o),start:i,stop:a}}function pr(e=!1,t={}){const{truthyValue:n=!0,falsyValue:r=!1}=t,o=Pe(e),s=Y(e);function l(a){if(arguments.length)return s.value=a,s.value;{const i=Ne(n);return s.value=s.value===i?Ne(r):i,s.value}}return o?l:[s,l]}function xt(e){var t;const n=Ne(e);return(t=n==null?void 0:n.$el)!=null?t:n}const At=Ar?window:void 0,Ec=Ar?window.document:void 0,Cc=Ar?window.navigator:void 0;function Le(...e){let t,n,r,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,o]=e,t=At):[t,n,r,o]=e,!t)return rn;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const s=[],l=()=>{s.forEach(u=>u()),s.length=0},a=(u,d,p,v)=>(u.addEventListener(d,p,v),()=>u.removeEventListener(d,p,v)),i=ie(()=>[xt(t),Ne(o)],([u,d])=>{if(l(),!u)return;const p=m2(d)?{...d}:d;s.push(...n.flatMap(v=>r.map(g=>a(u,v,g,p))))},{immediate:!0,flush:"post"}),c=()=>{i(),l()};return Bn(c),c}function L2(){const e=Y(!1),t=Cr();return t&&ve(()=>{e.value=!0},t),e}function Lr(e){const t=L2();return x(()=>(t.value,!!e()))}function kc(e,t={}){const{window:n=At}=t,r=Lr(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let o;const s=Y(!1),l=c=>{s.value=c.matches},a=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",l):o.removeListener(l))},i=yi(()=>{r.value&&(a(),o=n.matchMedia(Ne(e)),"addEventListener"in o?o.addEventListener("change",l):o.addListener(l),s.value=o.matches)});return Bn(()=>{i(),a(),o=void 0}),s}function pa(e,t={}){const{controls:n=!1,navigator:r=Cc}=t,o=Lr(()=>r&&"permissions"in r);let s;const l=typeof e=="string"?{name:e}:e,a=Y(),i=()=>{s&&(a.value=s.state)},c=_2(async()=>{if(o.value){if(!s)try{s=await r.permissions.query(l),Le(s,"change",i),i()}catch{a.value="prompt"}return s}});return c(),n?{state:a,isSupported:o,query:c}:a}function I2(e={}){const{navigator:t=Cc,read:n=!1,source:r,copiedDuring:o=1500,legacy:s=!1}=e,l=Lr(()=>t&&"clipboard"in t),a=pa("clipboard-read"),i=pa("clipboard-write"),c=x(()=>l.value||s),u=Y(""),d=Y(!1),p=A2(()=>d.value=!1,o);function v(){l.value&&b(a.value)?t.clipboard.readText().then(C=>{u.value=C}):u.value=w()}c.value&&n&&Le(["copy","cut"],v);async function g(C=Ne(r)){c.value&&C!=null&&(l.value&&b(i.value)?await t.clipboard.writeText(C):_(C),u.value=C,d.value=!0,p.start())}function _(C){const y=document.createElement("textarea");y.value=C??"",y.style.position="absolute",y.style.opacity="0",document.body.appendChild(y),y.select(),document.execCommand("copy"),y.remove()}function w(){var C,y,S;return(S=(y=(C=document==null?void 0:document.getSelection)==null?void 0:C.call(document))==null?void 0:y.toString())!=null?S:""}function b(C){return C==="granted"||C==="prompt"}return{isSupported:c,text:u,copied:d,copy:g}}const Hr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Vr="__vueuse_ssr_handlers__",$2=O2();function O2(){return Vr in Hr||(Hr[Vr]=Hr[Vr]||{}),Hr[Vr]}function R2(e,t){return $2[e]||t}function P2(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const M2={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},ha="vueuse-storage";function Hn(e,t,n,r={}){var o;const{flush:s="pre",deep:l=!0,listenToStorageChanges:a=!0,writeDefaults:i=!0,mergeDefaults:c=!1,shallow:u,window:d=At,eventFilter:p,onError:v=$=>{console.error($)},initOnMounted:g}=r,_=(u?Me:Y)(typeof t=="function"?t():t);if(!n)try{n=R2("getDefaultStorage",()=>{var $;return($=At)==null?void 0:$.localStorage})()}catch($){v($)}if(!n)return _;const w=Ne(t),b=P2(w),C=(o=r.serializer)!=null?o:M2[b],{pause:y,resume:S}=x2(_,()=>k(_.value),{flush:s,deep:l,eventFilter:p});d&&a&&bo(()=>{Le(d,"storage",O),Le(d,ha,K),g&&O()}),g||O();function R($,q){d&&d.dispatchEvent(new CustomEvent(ha,{detail:{key:e,oldValue:$,newValue:q,storageArea:n}}))}function k($){try{const q=n.getItem(e);if($==null)R(q,null),n.removeItem(e);else{const M=C.write($);q!==M&&(n.setItem(e,M),R(q,M))}}catch(q){v(q)}}function P($){const q=$?$.newValue:n.getItem(e);if(q==null)return i&&w!=null&&n.setItem(e,C.write(w)),w;if(!$&&c){const M=C.read(q);return typeof c=="function"?c(M,w):b==="object"&&!Array.isArray(M)?{...w,...M}:M}else return typeof q!="string"?q:C.read(q)}function O($){if(!($&&$.storageArea!==n)){if($&&$.key==null){_.value=w;return}if(!($&&$.key!==e)){y();try{($==null?void 0:$.newValue)!==C.write(_.value)&&(_.value=P($))}catch(q){v(q)}finally{$?Gt(S):S()}}}}function K($){O($.detail)}return _}function N2(e){return kc("(prefers-color-scheme: dark)",e)}function D2(e,t,n={}){const{window:r=At,...o}=n;let s;const l=Lr(()=>r&&"ResizeObserver"in r),a=()=>{s&&(s.disconnect(),s=void 0)},i=x(()=>Array.isArray(e)?e.map(d=>xt(d)):[xt(e)]),c=ie(i,d=>{if(a(),l.value&&r){s=new ResizeObserver(t);for(const p of d)p&&s.observe(p,o)}},{immediate:!0,flush:"post"}),u=()=>{a(),c()};return Bn(u),{isSupported:l,stop:u}}function j2(e,t={width:0,height:0},n={}){const{window:r=At,box:o="content-box"}=n,s=x(()=>{var d,p;return(p=(d=xt(e))==null?void 0:d.namespaceURI)==null?void 0:p.includes("svg")}),l=Y(t.width),a=Y(t.height),{stop:i}=D2(e,([d])=>{const p=o==="border-box"?d.borderBoxSize:o==="content-box"?d.contentBoxSize:d.devicePixelContentBoxSize;if(r&&s.value){const v=xt(e);if(v){const g=r.getComputedStyle(v);l.value=Number.parseFloat(g.width),a.value=Number.parseFloat(g.height)}}else if(p){const v=Array.isArray(p)?p:[p];l.value=v.reduce((g,{inlineSize:_})=>g+_,0),a.value=v.reduce((g,{blockSize:_})=>g+_,0)}else l.value=d.contentRect.width,a.value=d.contentRect.height},n);bo(()=>{const d=xt(e);d&&(l.value="offsetWidth"in d?d.offsetWidth:t.width,a.value="offsetHeight"in d?d.offsetHeight:t.height)});const c=ie(()=>xt(e),d=>{l.value=d?t.width:0,a.value=d?t.height:0});function u(){i(),c()}return{width:l,height:a,stop:u}}const va=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function Zs(e,t={}){const{document:n=Ec,autoExit:r=!1}=t,o=x(()=>{var b;return(b=xt(e))!=null?b:n==null?void 0:n.querySelector("html")}),s=Y(!1),l=x(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(b=>n&&b in n||o.value&&b in o.value)),a=x(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(b=>n&&b in n||o.value&&b in o.value)),i=x(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(b=>n&&b in n||o.value&&b in o.value)),c=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(b=>n&&b in n),u=Lr(()=>o.value&&n&&l.value!==void 0&&a.value!==void 0&&i.value!==void 0),d=()=>c?(n==null?void 0:n[c])===o.value:!1,p=()=>{if(i.value){if(n&&n[i.value]!=null)return n[i.value];{const b=o.value;if((b==null?void 0:b[i.value])!=null)return!!b[i.value]}}return!1};async function v(){if(!(!u.value||!s.value)){if(a.value)if((n==null?void 0:n[a.value])!=null)await n[a.value]();else{const b=o.value;(b==null?void 0:b[a.value])!=null&&await b[a.value]()}s.value=!1}}async function g(){if(!u.value||s.value)return;p()&&await v();const b=o.value;l.value&&(b==null?void 0:b[l.value])!=null&&(await b[l.value](),s.value=!0)}async function _(){await(s.value?v():g())}const w=()=>{const b=p();(!b||b&&d())&&(s.value=b)};return Le(n,va,w,!1),Le(()=>xt(o),va,w,!1),r&&Bn(v),{isSupported:u,isFullscreen:s,enter:g,exit:v,toggle:_}}function Bo(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function Ho(e,t=rn,n={}){const{immediate:r=!0,manual:o=!1,type:s="text/javascript",async:l=!0,crossOrigin:a,referrerPolicy:i,noModule:c,defer:u,document:d=Ec,attrs:p={}}=n,v=Y(null);let g=null;const _=C=>new Promise((y,S)=>{const R=O=>(v.value=O,y(O),O);if(!d){y(!1);return}let k=!1,P=d.querySelector(`script[src="${Ne(e)}"]`);P?P.hasAttribute("data-loaded")&&R(P):(P=d.createElement("script"),P.type=s,P.async=l,P.src=Ne(e),u&&(P.defer=u),a&&(P.crossOrigin=a),c&&(P.noModule=c),i&&(P.referrerPolicy=i),Object.entries(p).forEach(([O,K])=>P==null?void 0:P.setAttribute(O,K)),k=!0),P.addEventListener("error",O=>S(O)),P.addEventListener("abort",O=>S(O)),P.addEventListener("load",()=>{P.setAttribute("data-loaded","true"),t(P),R(P)}),k&&(P=d.head.appendChild(P)),C||R(P)}),w=(C=!0)=>(g||(g=_(C)),g),b=()=>{if(!d)return;g=null,v.value&&(v.value=null);const C=d.querySelector(`script[src="${Ne(e)}"]`);C&&d.head.removeChild(C)};return r&&!o&&bo(w),o||T2(b),{scriptTag:v,load:w,unload:b}}function Sc(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth<e.scrollWidth||t.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const n=e.parentNode;return!n||n.tagName==="BODY"?!1:Sc(n)}}function F2(e){const t=e||window.event,n=t.target;return Sc(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}const zr=new WeakMap;function xc(e,t=!1){const n=Y(t);let r=null;ie(E2(e),l=>{const a=Bo(Ne(l));if(a){const i=a;zr.get(i)||zr.set(i,i.style.overflow),n.value&&(i.style.overflow="hidden")}},{immediate:!0});const o=()=>{const l=Bo(Ne(e));!l||n.value||(da&&(r=Le(l,"touchmove",a=>{F2(a)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},s=()=>{var l;const a=Bo(Ne(e));!a||!n.value||(da&&(r==null||r()),a.style.overflow=(l=zr.get(a))!=null?l:"",zr.delete(a),n.value=!1)};return Bn(s),x({get(){return n.value},set(l){l?o():s()}})}function Tc(e,t,n={}){const{window:r=At}=n;return Hn(e,t,r==null?void 0:r.sessionStorage,n)}function B2(e={}){const{window:t=At,behavior:n="auto"}=e;if(!t)return{x:Y(0),y:Y(0)};const r=Y(t.scrollX),o=Y(t.scrollY),s=x({get(){return r.value},set(a){scrollTo({left:a,behavior:n})}}),l=x({get(){return o.value},set(a){scrollTo({top:a,behavior:n})}});return Le(t,"scroll",()=>{r.value=t.scrollX,o.value=t.scrollY},{capture:!1,passive:!0}),{x:s,y:l}}function H2(e={}){const{window:t=At,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:o=!0,includeScrollbar:s=!0}=e,l=Y(n),a=Y(r),i=()=>{t&&(s?(l.value=t.innerWidth,a.value=t.innerHeight):(l.value=t.document.documentElement.clientWidth,a.value=t.document.documentElement.clientHeight))};if(i(),bo(i),Le("resize",i,{passive:!0}),o){const c=kc("(orientation: portrait)");ie(c,()=>i())}return{width:l,height:a}}var V2=z({name:"FontIcon",props:{icon:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""}},setup(e){const t=x(()=>{const r=["font-icon icon"],o=`fas fa-${e.icon}`;return r.push("fa-fw fa-sm"),r.push(e.icon.includes(" ")?e.icon:o),r}),n=x(()=>{const r={};return e.color&&(r.color=e.color),e.size&&(r["font-size"]=Number.isNaN(Number(e.size))?e.size:`${e.size}px`),fn(r).length?r:null});return()=>e.icon?f("span",{key:e.icon,class:t.value,style:n.value}):null}});const Ac=({type:e="info",text:t="",vertical:n,color:r},{slots:o})=>{var s;return f("span",{class:["vp-badge",e,{diy:r}],style:{verticalAlign:n??!1,backgroundColor:r??!1}},((s=o.default)==null?void 0:s.call(o))||t)};Ac.displayName="Badge";const Lc=({title:e,desc:t="",logo:n,background:r,color:o,link:s})=>{const l=[n?f("img",{class:"vp-card-logo",src:He(n),loading:"lazy","no-view":""}):null,f("div",{class:"vp-card-content"},[f("div",{class:"vp-card-title",innerHTML:e}),f("hr"),f("div",{class:"vp-card-desc",innerHTML:t})])],a={};return r&&(a.background=r),o&&(a.color=o),s?On(s)?f("a",{class:"vp-card",href:s,target:"_blank",style:a},l):f(We,{to:s,class:"vp-card",style:a},()=>l):f("div",{class:"vp-card",style:a},l)};Lc.displayName="VPCard";const z2=Ye({enhance:({app:e})=>{at("FontIcon")||e.component("FontIcon",V2),at("Badge")||e.component("Badge",Ac),at("VPCard")||e.component("VPCard",Lc)},setup:()=>{Ho("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/brands.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}}),Ho("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/solid.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}}),Ho("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/fontawesome.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}})},rootComponents:[]}),ma=async(e,t)=>{const{path:n,query:r}=e.currentRoute.value,{scrollBehavior:o}=e.options;e.options.scrollBehavior=void 0,await e.replace({path:n,query:r,hash:t}),e.options.scrollBehavior=o},q2=({headerLinkSelector:e,headerAnchorSelector:t,delay:n,offset:r=5})=>{const o=an();Le("scroll",C2(()=>{var g,_;const l=Math.max(window.scrollY,document.documentElement.scrollTop,document.body.scrollTop);if(Math.abs(l-0)<r){ma(o,"");return}const i=window.innerHeight+l,c=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight),u=Math.abs(c-i)<r,d=Array.from(document.querySelectorAll(e)),v=Array.from(document.querySelectorAll(t)).filter(w=>d.some(b=>b.hash===w.hash));for(let w=0;w<v.length;w++){const b=v[w],C=v[w+1],y=l>=(((g=b.parentElement)==null?void 0:g.offsetTop)??0)-r,S=!C||l<(((_=C.parentElement)==null?void 0:_.offsetTop)??0)-r;if(!(y&&S))continue;const k=decodeURIComponent(o.currentRoute.value.hash),P=decodeURIComponent(b.hash);if(k===P)return;if(u){for(let O=w+1;O<v.length;O++)if(k===decodeURIComponent(v[O].hash))return}ma(o,P);return}},n))},U2=".vp-sidebar-link, .vp-toc-link",W2=".header-anchor",G2=200,K2=5,Y2=Ye({setup(){q2({headerLinkSelector:U2,headerAnchorSelector:W2,delay:G2,offset:K2})}});let Ic=e=>Ce(e.title)?{title:e.title}:null;const $c=Symbol(""),J2=e=>{Ic=e},Q2=()=>Re($c),X2=e=>{e.provide($c,Ic)};var Z2={"/":{title:"目录",empty:"暂无目录"}};const ep=z({name:"Catalog",props:{base:{type:String,default:""},level:{type:Number,default:3},index:Boolean,hideHeading:Boolean},setup(e){const t=Q2(),n=xr(Z2),r=we(),o=z0(),s=ic(),a=Me(p2(o.value).map(([c,{meta:u}])=>{const d=t(u);if(!d)return null;const p=c.split("/").length;return{level:d2(c,"/")?p-2:p-1,base:c.replace(/\/[^/]+\/?$/,"/"),path:c,...d}}).filter(c=>Fn(c)&&Ce(c.title))),i=x(()=>{const c=e.base?Ld(Yi(e.base)):r.value.path.replace(/\/[^/]+$/,"/"),u=c.split("/").length-2,d=[];return a.value.filter(({level:p,path:v})=>{if(!Mn(v,c)||v===c)return!1;if(c==="/"){const g=fn(s.value.locales).filter(_=>_!=="/");if(v==="/404.html"||g.some(_=>Mn(v,_)))return!1}return p-u<=e.level}).sort(({title:p,level:v,order:g},{title:_,level:w,order:b})=>{const C=v-w;return C||(Fo(g)?Fo(b)?g>0?b>0?g-b:-1:b<0?g-b:1:g:Fo(b)?b:p.localeCompare(_))}).forEach(p=>{var _;const{base:v,level:g}=p;switch(g-u){case 1:{d.push(p);break}case 2:{const w=d.find(b=>b.path===v);w&&(w.children??(w.children=[])).push(p);break}default:{const w=d.find(b=>b.path===v.replace(/\/[^/]+\/$/,"/"));if(w){const b=(_=w.children)==null?void 0:_.find(C=>C.path===v);b&&(b.children??(b.children=[])).push(p)}}}}),d});return()=>{const c=i.value.some(u=>u.children);return f("div",{class:["vp-catalog-wrapper",{index:e.index}]},[e.hideHeading?null:f("h2",{class:"vp-catalog-main-title"},n.value.title),i.value.length?f(e.index?"ol":"ul",{class:["vp-catalogs",{deep:c}]},i.value.map(({children:u=[],title:d,path:p,content:v})=>{const g=f(We,{class:"vp-catalog-title",to:p},()=>v?f(v):d);return f("li",{class:"vp-catalog"},c?[f("h3",{id:d,class:["vp-catalog-child-title",{"has-children":u.length}]},[f("a",{href:`#${d}`,class:"vp-catalog-header-anchor","aria-hidden":!0},"#"),g]),u.length?f(e.index?"ol":"ul",{class:"vp-child-catalogs"},u.map(({children:_=[],content:w,path:b,title:C})=>f("li",{class:"vp-child-catalog"},[f("div",{class:["vp-catalog-sub-title",{"has-children":_.length}]},[f("a",{href:`#${C}`,class:"vp-catalog-header-anchor"},"#"),f(We,{class:"vp-catalog-title",to:b},()=>w?f(w):C)]),_.length?f(e.index?"ol":"div",{class:e.index?"vp-sub-catalogs":"vp-sub-catalogs-wrapper"},_.map(({content:y,path:S,title:R})=>e.index?f("li",{class:"vp-sub-catalog"},f(We,{to:S},()=>y?f(y):R)):f(We,{class:"vp-sub-catalog-link",to:S},()=>y?f(y):R))):null]))):null]:f("div",{class:"vp-catalog-child-title"},g))})):f("p",{class:"vp-empty-catalog"},n.value.empty)])}}}),tp=Ye({enhance:({app:e})=>{X2(e),at("Catalog",e)||e.component("Catalog",ep)}});var np={"/":{backToTop:"返回顶部"}};const rp=z({name:"BackToTop",setup(e){const t=_e(),n=xr(np),r=Me(),{height:o}=j2(r),{height:s}=H2(),{y:l}=B2(),a=x(()=>t.value.backToTop!==!1&&l.value>100),i=x(()=>l.value/(o.value-s.value)*100);return ve(()=>{r.value=document.body}),()=>f(Wt,{name:"back-to-top"},()=>a.value?f("button",{type:"button",class:"vp-back-to-top-button","aria-label":n.value.backToTop,onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})}},[f("span",{class:"vp-scroll-progress",role:"progressbar","aria-labelledby":"loadinglabel","aria-valuenow":i.value},f("svg",f("circle",{cx:"50%",cy:"50%",style:{"stroke-dasharray":`calc(${Math.PI*i.value}% - ${4*Math.PI}px) calc(${Math.PI*100}% - ${4*Math.PI}px)`}}))),f("div",{class:"back-to-top-icon"})]):null)}}),op=Ye({rootComponents:[rp]}),sp=f("svg",{class:"external-link-icon",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",x:"0px",y:"0px",viewBox:"0 0 100 100",width:"15",height:"15"},[f("path",{fill:"currentColor",d:"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"}),f("polygon",{fill:"currentColor",points:"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"})]),Oc=z({name:"ExternalLinkIcon",props:{locales:{type:Object,required:!1,default:()=>({})}},setup(e){const t=un(),n=x(()=>e.locales[t.value]??{openInNewWindow:"open in new window"});return()=>f("span",[sp,f("span",{class:"external-link-icon-sr-only"},n.value.openInNewWindow)])}});var lp={};const ap=lp,ip=Ye({enhance({app:e}){e.component("ExternalLinkIcon",f(Oc,{locales:ap}))}});/**
|
||
* 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=Vo(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,cp(l=>{qr(r,{transform:"translate3d("+ga(e)+"%,0,0)",transition:"all "+o+"ms "+s}),e===1?(qr(n,{transition:"none",opacity:"1"}),n.offsetWidth,setTimeout(function(){qr(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)*Vo(Math.random()*t,.1,.95)),t=Vo(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");ya(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":ga(le.status||0),o=document.querySelector(le.settings.parent);return qr(n,{transition:"all 0 linear",transform:"translate3d("+r+"%,0,0)"}),o!==document.body&&ya(o,"nprogress-custom-parent"),o==null||o.appendChild(t),t},remove:()=>{ba(document.documentElement,"nprogress-busy"),ba(document.querySelector(le.settings.parent),"nprogress-custom-parent");const e=document.getElementById("nprogress");e&&up(e)},isRendered:()=>!!document.getElementById("nprogress")},Vo=(e,t,n)=>e<t?t:e>n?n:e,ga=e=>(-1+e)*100,cp=function(){const e=[];function t(){const n=e.shift();n&&n(t)}return function(n){e.push(n),e.length===1&&t()}}(),qr=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)}}}(),Rc=(e,t)=>(typeof e=="string"?e:el(e)).indexOf(" "+t+" ")>=0,ya=(e,t)=>{const n=el(e),r=n+t;Rc(n,t)||(e.className=r.substring(1))},ba=(e,t)=>{const n=el(e);if(!Rc(e,t))return;const r=n.replace(" "+t+" "," ");e.className=r.substring(1,r.length-1)},el=e=>(" "+(e.className||"")+" ").replace(/\s+/gi," "),up=e=>{e&&e.parentNode&&e.parentNode.removeChild(e)},fp=()=>{ve(()=>{const e=an(),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()})})},dp=Ye({setup(){fp()}}),pp=JSON.parse('{"encrypt":{"config":{"/demo/encrypt.html":["$2a$10$q/MGeyKmlvLczqflMs31IOoekVtJ2SEwR2qGKgO1mbHTAbV4ayuPu"]}},"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":"输入密码","remember":"记住密码","errorHint":"请输入正确的密码"},"routeLocales":{"skipToContent":"跳至主要內容","notFoundTitle":"页面不存在","notFoundMsg":["这里什么也没有","我们是怎么来到这儿的?","这 是 四 零 四 !","看起来你访问了一个失效的链接"],"back":"返回上一页","home":"带我回家","openInNewWindow":"Open in new window"},"navbar":["/",{"text":"项目部署","link":"/deployment/","prefix":"deployment/"},{"text":"使用手册","link":"/usage/","prefix":"usage/"},{"text":"资源商店","link":"/store/","prefix":"store/"}],"sidebar":{"/":["",{"text":"项目部署","icon":"laptop-code","prefix":"deployment/","children":"structure"},{"text":"使用手册","icon":"book","prefix":"usage/","children":"structure"},{"text":"资源商店","icon":"store","prefix":"store/","link":"/store/","children":"structure"}]}}}}'),hp=Y(pp),Pc=()=>hp,Mc=Symbol(""),vp=()=>{const e=Re(Mc);if(!e)throw new Error("useThemeLocaleData() is called without provider.");return e},mp=(e,t)=>{const{locales:n,...r}=e;return{...r,...n==null?void 0:n[t]}},gp=Ye({enhance({app:e}){const t=Pc(),n=e._context.provides[Gs],r=x(()=>mp(t.value,n.routeLocale.value));e.provide(Mc,r),Object.defineProperties(e.config.globalProperties,{$theme:{get(){return t.value}},$themeLocale:{get(){return r.value}}})}});var yp={provider:"Giscus",lightTheme:"https://unpkg.com/vuepress-theme-hope@2.0.0-rc.32/templates/giscus/light.css",darkTheme:"https://unpkg.com/vuepress-theme-hope@2.0.0-rc.32/templates/giscus/dark.css",repo:"snowykami/LiteyukiBot",repoId:"R_kgDOHVNKpQ",category:"Announcements",categoryId:"DIC_kwDOHVNKpc4CeWxj"};const bp=yp;let wp=bp;const Nc=Symbol(""),Dc=()=>Re(Nc),_p=Dc,Ep=e=>{e.provide(Nc,wp)},jc=()=>f("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",preserveAspectRatio:"xMidYMid",viewBox:"0 0 100 100"},[f("circle",{cx:"28",cy:"75",r:"11",fill:"currentColor"},f("animate",{attributeName:"fill-opacity",begin:"0s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"})),f("path",{fill:"none",stroke:"#88baf0","stroke-width":"10",d:"M28 47a28 28 0 0 1 28 28"},f("animate",{attributeName:"stroke-opacity",begin:"0.1s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"})),f("path",{fill:"none",stroke:"#88baf0","stroke-width":"10",d:"M28 25a50 50 0 0 1 50 50"},f("animate",{attributeName:"stroke-opacity",begin:"0.2s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"}))]);jc.displayName="LoadingIcon";const wa=["ar","ca","da","de","en","eo","es","fa","fr","he","id","it","ja","ko","nl","pl","pt","ro","ru","th","tr","uk","uz","vi","zh-CN","zh-TW"],Cp=z({name:"GiscusComment",props:{identifier:{type:String,required:!0},darkmode:Boolean},setup(e){const t=_p(),n=Ks(),r=!!(t.repo&&t.repoId&&t.category&&t.categoryId),{repo:o,repoId:s,category:l,categoryId:a}=t,i=Y(!1),c=x(()=>{if(wa.includes(n.value))return n.value;const d=n.value.split("-")[0];return wa.includes(d)?d:"en"}),u=x(()=>({repo:o,repoId:s,category:l,categoryId:a,lang:c.value,theme:e.darkmode?t.darkTheme||"dark":t.lightTheme||"light",mapping:t.mapping||"pathname",term:e.identifier,inputPosition:t.inputPosition||"top",reactionsEnabled:t.reactionsEnabled===!1?"0":"1",strict:t.strict===!1?"0":"1",loading:t.lazyLoading===!1?"eager":"lazy",emitMetadata:"0"}));return ve(async()=>{await Fe(()=>import("./giscus-7BMGhbDA.js"),__vite__mapDeps([])),i.value=!0}),()=>r?f("div",{id:"comment",class:["giscus-wrapper",{"input-top":t.inputPosition!=="bottom"}]},i.value?f("giscus-widget",u.value):f(jc)):null}}),kp=z({name:"CommentService",props:{darkmode:Boolean},setup(e){const t=Dc(),n=we(),r=_e(),o=t.comment!==!1,s=x(()=>r.value.comment||o&&r.value.comment!==!1);return()=>f(Cp,{id:"vp-comment",identifier:r.value.commentID||n.value.path,darkmode:e.darkmode,style:{display:s.value?"block":"none"}})}}),Sp=Ye({enhance:({app:e})=>{Ep(e),e.component("CommentService",kp)}}),xp=/\b(?:Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini)/i,Tp=()=>typeof window<"u"&&window.navigator&&"userAgent"in window.navigator&&xp.test(navigator.userAgent),Ap=({delay:e=500,duration:t=2e3,locales:n,selector:r,showInMobile:o})=>{const{copy:s,copied:l}=I2({legacy:!0,copiedDuring:t}),a=xr(n),i=we(),c=p=>{if(!p.hasAttribute("copy-code-registered")){const v=document.createElement("button");v.type="button",v.classList.add("vp-copy-code-button"),v.innerHTML='<div class="vp-copy-icon" />',v.setAttribute("aria-label",a.value.copy),v.setAttribute("data-copied",a.value.copied),p.parentElement&&p.parentElement.insertBefore(v,p),p.setAttribute("copy-code-registered","")}},u=()=>{Gt().then(()=>gc(e)).then(()=>{r.forEach(p=>{document.querySelectorAll(p).forEach(c)})})},d=(p,v,g)=>{let{innerText:_=""}=v;/language-(shellscript|shell|bash|sh|zsh)/.test(p.classList.toString())&&(_=_.replace(/^ *(\$|>) /gm,"")),s(_).then(()=>{g.classList.add("copied"),ie(l,()=>{g.classList.remove("copied"),g.blur()},{once:!0})})};ve(()=>{const p=!Tp()||o;p&&u(),Le("click",v=>{const g=v.target;if(g.matches('div[class*="language-"] > button.copy')){const _=g.parentElement,w=g.nextElementSibling;w&&d(_,w,g)}else if(g.matches('div[class*="language-"] div.vp-copy-icon')){const _=g.parentElement,w=_.parentElement,b=_.nextElementSibling;b&&d(w,b,_)}}),ie(()=>i.value.path,()=>{p&&u()})})};var Lp={"/":{copy:"复制代码",copied:"已复制"}},Ip=['.theme-hope-content div[class*="language-"] pre'];const $p=500,Op=2e3,Rp=Lp,Pp=Ip,Mp=!1,Np=Ye({setup:()=>{Ap({selector:Pp,locales:Rp,duration:Op,delay:$p,showInMobile:Mp})}}),Ur=Hn("VUEPRESS_CODE_TAB_STORE",{});var Dp=z({name:"CodeTabs",props:{active:{type:Number,default:0},data:{type:Array,required:!0},id:{type:String,required:!0},tabId:{type:String,default:""}},slots:Object,setup(e,{slots:t}){const n=Y(e.active),r=Me([]),o=()=>{e.tabId&&(Ur.value[e.tabId]=e.data[n.value].id)},s=(c=n.value)=>{n.value=c<r.value.length-1?c+1:0,r.value[n.value].focus()},l=(c=n.value)=>{n.value=c>0?c-1:r.value.length-1,r.value[n.value].focus()},a=(c,u)=>{c.key===" "||c.key==="Enter"?(c.preventDefault(),n.value=u):c.key==="ArrowRight"?(c.preventDefault(),s()):c.key==="ArrowLeft"&&(c.preventDefault(),l()),e.tabId&&(Ur.value[e.tabId]=e.data[n.value].id)},i=()=>{if(e.tabId){const c=e.data.findIndex(({id:u})=>Ur.value[e.tabId]===u);if(c!==-1)return c}return e.active};return ve(()=>{n.value=i(),ie(()=>Ur.value[e.tabId],(c,u)=>{if(e.tabId&&c!==u){const d=e.data.findIndex(({id:p})=>p===c);d!==-1&&(n.value=d)}})}),()=>e.data.length?f("div",{class:"vp-code-tabs"},[f("div",{class:"vp-code-tabs-nav",role:"tablist"},e.data.map(({id:c},u)=>{const d=u===n.value;return f("button",{type:"button",ref:p=>{p&&(r.value[u]=p)},class:["vp-code-tab-nav",{active:d}],role:"tab","aria-controls":`codetab-${e.id}-${u}`,"aria-selected":d,onClick:()=>{n.value=u,o()},onKeydown:p=>a(p,u)},t[`title${u}`]({value:c,isActive:d}))})),e.data.map(({id:c},u)=>{const d=u===n.value;return f("div",{class:["vp-code-tab",{active:d}],id:`codetab-${e.id}-${u}`,role:"tabpanel","aria-expanded":d},[f("div",{class:"vp-code-tab-title"},t[`title${u}`]({value:c,isActive:d})),t[`tab${u}`]({value:c,isActive:d})])})]):null}});const Fc=({active:e=!1},{slots:t})=>{var n;return f("div",{class:["code-group-item",{active:e}],"aria-selected":e},(n=t.default)==null?void 0:n.call(t))};Fc.displayName="CodeGroupItem";const jp=z({name:"CodeGroup",slots:Object,setup(e,{slots:t}){const n=Y(-1),r=Me([]),o=(a=n.value)=>{n.value=a<r.value.length-1?a+1:0,r.value[n.value].focus()},s=(a=n.value)=>{n.value=a>0?a-1:r.value.length-1,r.value[n.value].focus()},l=(a,i)=>{a.key===" "||a.key==="Enter"?(a.preventDefault(),n.value=i):a.key==="ArrowRight"?(a.preventDefault(),o(i)):a.key==="ArrowLeft"&&(a.preventDefault(),s(i))};return()=>{var i;const a=(((i=t.default)==null?void 0:i.call(t))||[]).filter(c=>c.type.name==="CodeGroupItem").map(c=>(c.props===null&&(c.props={}),c));return a.length===0?null:(n.value<0||n.value>a.length-1?(n.value=a.findIndex(c=>"active"in c.props),n.value===-1&&(n.value=0)):a.forEach((c,u)=>{c.props.active=u===n.value}),f("div",{class:"code-group"},[f("div",{class:"code-group-nav"},a.map((c,u)=>{const d=u===n.value;return f("button",{type:"button",ref:p=>{p&&(r.value[u]=p)},class:["code-group-nav-tab",{active:d}],"aria-pressed":d,"aria-expanded":d,onClick:()=>{n.value=u},onKeydown:p=>l(p,u)},c.props.title)})),a]))}}}),ke=({name:e="",color:t="currentColor"},{slots:n})=>{var r;return f("svg",{xmlns:"http://www.w3.org/2000/svg",class:["icon",`${e}-icon`],viewBox:"0 0 1024 1024",fill:t,"aria-label":`${e} icon`},(r=n.default)==null?void 0:r.call(n))};ke.displayName="IconBase";const Bc=({size:e=48,stroke:t=4,wrapper:n=!0,height:r=2*e})=>{const o=f("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,preserveAspectRatio:"xMidYMid",viewBox:"25 25 50 50"},[f("animateTransform",{attributeName:"transform",type:"rotate",dur:"2s",keyTimes:"0;1",repeatCount:"indefinite",values:"0;360"}),f("circle",{cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":t,"stroke-linecap":"round"},[f("animate",{attributeName:"stroke-dasharray",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"1,200;90,200;1,200"}),f("animate",{attributeName:"stroke-dashoffset",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"0;-35px;-125px"})])]);return n?f("div",{class:"loading-icon-wrapper",style:`display:flex;align-items:center;justify-content:center;height:${r}px`},o):o};Bc.displayName="LoadingIcon";const Hc=(e,{slots:t})=>{var n;return(n=t.default)==null?void 0:n.call(t)},Vc=()=>f(ke,{name:"github"},()=>f("path",{d:"M511.957 21.333C241.024 21.333 21.333 240.981 21.333 512c0 216.832 140.544 400.725 335.574 465.664 24.49 4.395 32.256-10.07 32.256-23.083 0-11.69.256-44.245 0-85.205-136.448 29.61-164.736-64.64-164.736-64.64-22.315-56.704-54.4-71.765-54.4-71.765-44.587-30.464 3.285-29.824 3.285-29.824 49.195 3.413 75.179 50.517 75.179 50.517 43.776 75.008 114.816 53.333 142.762 40.79 4.523-31.66 17.152-53.377 31.19-65.537-108.971-12.458-223.488-54.485-223.488-242.602 0-53.547 19.114-97.323 50.517-131.67-5.035-12.33-21.93-62.293 4.779-129.834 0 0 41.258-13.184 134.912 50.346a469.803 469.803 0 0 1 122.88-16.554c41.642.213 83.626 5.632 122.88 16.554 93.653-63.488 134.784-50.346 134.784-50.346 26.752 67.541 9.898 117.504 4.864 129.834 31.402 34.347 50.474 78.123 50.474 131.67 0 188.586-114.73 230.016-224.042 242.09 17.578 15.232 33.578 44.672 33.578 90.454v135.85c0 13.142 7.936 27.606 32.854 22.87C862.25 912.597 1002.667 728.747 1002.667 512c0-271.019-219.648-490.667-490.71-490.667z"}));Vc.displayName="GitHubIcon";const zc=()=>f(ke,{name:"gitlab"},()=>f("path",{d:"M229.333 78.688C223.52 62 199.895 62 193.895 78.688L87.958 406.438h247.5c-.188 0-106.125-327.75-106.125-327.75zM33.77 571.438c-4.875 15 .563 31.687 13.313 41.25l464.812 345L87.77 406.438zm301.5-165 176.813 551.25 176.812-551.25zm655.125 165-54-165-424.312 551.25 464.812-345c12.938-9.563 18.188-26.25 13.5-41.25zM830.27 78.688c-5.812-16.688-29.437-16.688-35.437 0l-106.125 327.75h247.5z"}));zc.displayName="GitLabIcon";const qc=()=>f(ke,{name:"gitee"},()=>f("path",{d:"M512 992C246.92 992 32 777.08 32 512S246.92 32 512 32s480 214.92 480 480-214.92 480-480 480zm242.97-533.34H482.39a23.7 23.7 0 0 0-23.7 23.7l-.03 59.28c0 13.08 10.59 23.7 23.7 23.7h165.96a23.7 23.7 0 0 1 23.7 23.7v11.85a71.1 71.1 0 0 1-71.1 71.1H375.71a23.7 23.7 0 0 1-23.7-23.7V423.11a71.1 71.1 0 0 1 71.1-71.1h331.8a23.7 23.7 0 0 0 23.7-23.7l.06-59.25a23.73 23.73 0 0 0-23.7-23.73H423.11a177.78 177.78 0 0 0-177.78 177.75v331.83c0 13.08 10.62 23.7 23.7 23.7h349.62a159.99 159.99 0 0 0 159.99-159.99V482.33a23.7 23.7 0 0 0-23.7-23.7z"}));qc.displayName="GiteeIcon";const Uc=()=>f(ke,{name:"bitbucket"},()=>f("path",{d:"M575.256 490.862c6.29 47.981-52.005 85.723-92.563 61.147-45.714-20.004-45.714-92.562-1.133-113.152 38.29-23.442 93.696 7.424 93.696 52.005zm63.451-11.996c-10.276-81.152-102.29-134.839-177.152-101.156-47.433 21.138-79.433 71.424-77.129 124.562 2.853 69.705 69.157 126.866 138.862 120.576S647.3 548.571 638.708 478.83zm136.558-309.723c-25.161-33.134-67.986-38.839-105.728-45.13-106.862-17.151-216.576-17.7-323.438 1.134-35.438 5.706-75.447 11.996-97.719 43.996 36.572 34.304 88.576 39.424 135.424 45.129 84.553 10.862 171.447 11.447 256 .585 47.433-5.705 99.987-10.276 135.424-45.714zm32.585 591.433c-16.018 55.99-6.839 131.438-66.304 163.986-102.29 56.576-226.304 62.867-338.87 42.862-59.43-10.862-129.135-29.696-161.72-85.723-14.3-54.858-23.442-110.848-32.585-166.84l3.438-9.142 10.276-5.157c170.277 112.567 408.576 112.567 579.438 0 26.844 8.01 6.84 40.558 6.29 60.014zm103.424-549.157c-19.42 125.148-41.728 249.71-63.415 374.272-6.29 36.572-41.728 57.162-71.424 72.558-106.862 53.724-231.424 62.866-348.562 50.286-79.433-8.558-160.585-29.696-225.134-79.433-30.28-23.443-30.28-63.415-35.986-97.134-20.005-117.138-42.862-234.277-57.161-352.585 6.839-51.42 64.585-73.728 107.447-89.71 57.16-21.138 118.272-30.866 178.87-36.571 129.134-12.58 261.157-8.01 386.304 28.562 44.581 13.13 92.563 31.415 122.844 69.705 13.714 17.7 9.143 40.01 6.29 60.014z"}));Uc.displayName="BitbucketIcon";const Wc=()=>f(ke,{name:"source"},()=>f("path",{d:"M601.92 475.2c0 76.428-8.91 83.754-28.512 99.594-14.652 11.88-43.956 14.058-78.012 16.434-18.81 1.386-40.392 2.97-62.172 6.534-18.612 2.97-36.432 9.306-53.064 17.424V299.772c37.818-21.978 63.36-62.766 63.36-109.692 0-69.894-56.826-126.72-126.72-126.72S190.08 120.186 190.08 190.08c0 46.926 25.542 87.714 63.36 109.692v414.216c-37.818 21.978-63.36 62.766-63.36 109.692 0 69.894 56.826 126.72 126.72 126.72s126.72-56.826 126.72-126.72c0-31.086-11.286-59.598-29.7-81.576 13.266-9.504 27.522-17.226 39.996-19.206 16.038-2.574 32.868-3.762 50.688-5.148 48.312-3.366 103.158-7.326 148.896-44.55 61.182-49.698 74.25-103.158 75.24-187.902V475.2h-126.72zM316.8 126.72c34.848 0 63.36 28.512 63.36 63.36s-28.512 63.36-63.36 63.36-63.36-28.512-63.36-63.36 28.512-63.36 63.36-63.36zm0 760.32c-34.848 0-63.36-28.512-63.36-63.36s28.512-63.36 63.36-63.36 63.36 28.512 63.36 63.36-28.512 63.36-63.36 63.36zM823.68 158.4h-95.04V63.36h-126.72v95.04h-95.04v126.72h95.04v95.04h126.72v-95.04h95.04z"}));Wc.displayName="SourceIcon";const Gc=(e,t)=>{let n=1;for(let r=0;r<e.length;r++)n+=e.charCodeAt(r),n+=n<<10,n^=n>>6;return n+=n<<3,n^=n>>11,n%t},Kc=/#.*$/u,Fp=e=>{const t=Kc.exec(e);return t?t[0]:""},_a=e=>decodeURI(e).replace(Kc,"").replace(/\/index\.html$/iu,"/").replace(/\.html$/iu,"").replace(/(README|index)?\.md$/iu,""),Yc=(e,t)=>{if(!yc(t))return!1;const n=_a(e.path),r=_a(t),o=Fp(t);return o?o===e.hash&&(!r||n===r):n===r},Bp=e=>ln(e)?e:`https://github.com/${e}`,Jc=e=>!ln(e)||/github\.com/.test(e)?"GitHub":/bitbucket\.org/.test(e)?"Bitbucket":/gitlab\.com/.test(e)?"GitLab":/gitee\.com/.test(e)?"Gitee":null;var Hp=e=>Object.prototype.toString.call(e)==="[object Object]",hr=e=>typeof e=="string";const Qc=Array.isArray,Ea=e=>Hp(e)&&hr(e.name),Ca=(e,t=!1)=>e?Qc(e)?e.map(n=>hr(n)?{name:n}:Ea(n)?n:null).filter(n=>n!==null):hr(e)?[{name:e}]:Ea(e)?[e]:(console.error(`Expect "author" to be \`AuthorInfo[] | AuthorInfo | string[] | string ${t?"":"| false"} | undefined\`, but got`,e),[]):[],Xc=(e,t)=>{if(e){if(Qc(e)&&e.every(hr))return e;if(hr(e))return[e];console.error(`Expect ${t||"value"} to be \`string[] | string | undefined\`, but got`,e)}return[]},Vp=e=>Xc(e,"category"),zp=e=>Xc(e,"tag"),qp='<svg class="codepen-icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg"><path d="M123.429 668L468 897.714V692.571L277.143 565.143zM88 585.714L198.286 512 88 438.286v147.428zm468 312L900.571 668 746.857 565.143 556 692.57v205.143zM512 616l155.429-104L512 408 356.571 512zM277.143 458.857L468 331.43V126.286L123.429 356zM825.714 512L936 585.714V438.286zm-78.857-53.143L900.571 356 556 126.286v205.143zM1024 356v312q0 23.429-19.429 36.571l-468 312Q524.571 1024 512 1024t-24.571-7.429l-468-312Q0 691.43 0 668V356q0-23.429 19.429-36.571l468-312Q499.429 0 512 0t24.571 7.429l468 312Q1024 332.57 1024 356z"/></svg>',Up='<svg class="jsfiddle-icon" viewBox="0 0 1170 1024" xmlns="http://www.w3.org/2000/svg"><path d="M1028.571 441.143q63.429 26.286 102.572 83.143t39.143 126.571q0 93.714-67.429 160.286T940 877.714q-2.286 0-6.571-.285t-6-.286H232q-97.143-5.714-164.571-71.714T0 645.143q0-62.857 31.429-116t84-84q-6.858-22.286-6.858-46.857 0-65.715 46.858-112T269.143 240q54.286 0 98.286 33.143 42.857-88 127.142-141.714t186.572-53.715q94.857 0 174.857 46t126.571 124.857 46.572 172q0 3.429-.286 10.286t-.286 10.286zm-761.142 152q0 69.714 48 110.286T434.286 744q78.285 0 137.143-56.571-9.143-11.429-27.143-32.286t-24.857-28.857q-38.286 37.143-82.286 37.143-31.429 0-53.429-19.143t-22-50q0-30.286 22-49.715T436 525.143q25.143 0 48.286 12T526 568.57t37.143 42.858 39.428 46.857 44 42.857T702 732.57t69.429 12q69.142 0 116.857-40.857T936 594.857q0-69.143-48-109.714T769.714 444.57Q688 444.571 632 500l53.143 61.714q37.714-36.571 81.143-36.571 29.714 0 52.571 18.857t22.857 48q0 32.571-21.143 52.286T766.857 664q-24.571 0-47.143-12t-41.143-31.429-37.428-42.857-39.714-46.857T557.143 488 502 456.571t-67.714-12q-69.715 0-118.286 40.286t-48.571 108.286z"/></svg>';var Wp={useBabel:!1,jsLib:[],cssLib:[],codepenLayout:"left",codepenEditors:"101",babel:"https://unpkg.com/@babel/standalone/babel.min.js",vue:"https://unpkg.com/vue/dist/vue.global.prod.js",react:"https://unpkg.com/react/umd/react.production.min.js",reactDOM:"https://unpkg.com/react-dom/umd/react-dom.production.min.js"};const zo=Wp,ka={html:{types:["html","slim","haml","md","markdown","vue"],map:{html:"none",vue:"none",md:"markdown"}},js:{types:["js","javascript","coffee","coffeescript","ts","typescript","ls","livescript"],map:{js:"none",javascript:"none",coffee:"coffeescript",ls:"livescript",ts:"typescript"}},css:{types:["css","less","sass","scss","stylus","styl"],map:{css:"none",styl:"stylus"}}},Gp=(e,t,n)=>{const r=document.createElement(e);return Fn(t)&&fn(t).forEach(o=>{if(o.indexOf("data"))r[o]=t[o];else{const s=o.replace("data","");r.dataset[s]=t[o]}}),n&&n.forEach(o=>{r.appendChild(o)}),r},tl=e=>({...zo,...e,jsLib:Array.from(new Set([...zo.jsLib||[],...e.jsLib||[]])),cssLib:Array.from(new Set([...zo.cssLib||[],...e.cssLib||[]]))}),xn=(e,t)=>{if(yc(e[t]))return e[t];const n=new Promise(r=>{var s;const o=document.createElement("script");o.src=t,(s=document.querySelector("body"))==null||s.appendChild(o),o.onload=()=>{r()}});return e[t]=n,n},Kp=(e,t)=>{if(t.css&&Array.from(e.childNodes).every(n=>n.nodeName!=="STYLE")){const n=Gp("style",{innerHTML:t.css});e.appendChild(n)}},Yp=(e,t,n)=>{const r=n.getScript();if(r&&Array.from(t.childNodes).every(o=>o.nodeName!=="SCRIPT")){const o=document.createElement("script");o.appendChild(document.createTextNode(`{const document=window.document.querySelector('#${e} .vp-code-demo-display').shadowRoot;
|
||
${r}}`)),t.appendChild(o)}},Jp=e=>{const t=fn(e),n={html:[],js:[],css:[],isLegal:!1};return["html","js","css"].forEach(r=>{const o=t.filter(s=>ka[r].types.includes(s));if(o.length){const s=o[0];n[r]=[e[s].replace(/^\n|\n$/g,""),ka[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},Zc=e=>e.replace(/<br \/>/g,"<br>").replace(/<((\S+)[^<]*?)\s+\/>/g,"<$1></$2>"),eu=e=>`<div id="app">
|
||
${Zc(e)}
|
||
</div>`,Qp=e=>`${e.replace("export default ","const $reactApp = ").replace(/App\.__style__(\s*)=(\s*)`([\s\S]*)?`/,"")};
|
||
ReactDOM.createRoot(document.getElementById("app")).render(React.createElement($reactApp))`,Xp=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(),tu=e=>`(function(exports){var module={};module.exports=exports;${e};return module.exports.__esModule?module.exports.default:module.exports;})({})`,Zp=(e,t)=>{const n=tl(t),r=e.js[0]||"";return{...n,html:Zc(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}}},e3=/<template>([\s\S]+)<\/template>/u,t3=/<script(\s*lang=(['"])(.*?)\2)?>([\s\S]+)<\/script>/u,n3=/<style(\s*lang=(['"])(.*?)\2)?\s*(?:scoped)?>([\s\S]+)<\/style>/u,r3=(e,t)=>{const n=tl(t),r=e.html[0]||"",o=e3.exec(r),s=t3.exec(r),l=n3.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:eu(a),js:Xp(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=${tu(v)};appOptions.template=\`${a.replace("`",'\\`"')}\`;window.Vue.createApp(appOptions).mount(app);`}}},o3=(e,t)=>{const n=tl(t);return{...n,html:eu(""),js:Qp(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(${tu(r)}))`}}},Tn={},s3=e=>Promise.all([xn(Tn,e.babel),xn(Tn,e.react),xn(Tn,e.reactDOM)]),l3=e=>{const t=[xn(Tn,e.vue)];return e.useBabel&&t.push(xn(Tn,e.babel)),Promise.all(t)},a3=e=>e.useBabel?xn(Tn,e.babel):Promise.resolve();var i3=z({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]=pr(!1),o=Me(),s=Me(),l=Y("0"),a=Y(!1),i=x(()=>JSON.parse(e.config?fa(e.config):"{}")),c=x(()=>{const g=JSON.parse(fa(e.code));return Jp(g)}),u=x(()=>e.type==="react"?o3(c.value,i.value):e.type==="vue"?r3(c.value,i.value):Zp(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),Kp(_,u.value),Yp(e.id,_,u.value),l.value="0"):l.value="auto",a.value=!0},v=()=>{switch(e.type){case"react":return s3(u.value).then(()=>p());case"vue":return l3(u.value).then(()=>p());default:return a3(u.value).then(()=>p(!0))}};return Le("beforeprint",()=>{r(!0)}),ve(()=>{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"}),f("input",{type:"hidden",name:"resources",value:[...u.value.cssLib,...u.value.jsLib].join(",")}),f("button",{type:"submit",class:"jsfiddle-button",innerHTML:Up,"aria-label":"JSFiddle","data-balloon-pos":"up"})]):null,!u.value.isLegal||u.value.codepen!==!1?f("form",{class:"code-demo-codepen",target:"_blank",action:"https://codepen.io/pen/define",method:"post"},[f("input",{type:"hidden",name:"data",value:JSON.stringify({html:u.value.html,js:u.value.js,css:u.value.css,js_external:u.value.jsLib.join(";"),css_external:u.value.cssLib.join(";"),layout:u.value.codepenLayout,html_pre_processor:c.value?c.value.html[1]:"none",js_pre_processor:c.value?c.value.js[1]:u.value.jsx?"babel":"none",css_pre_processor:c.value?c.value.css[1]:"none",editors:u.value.codepenEditors})}),f("button",{type:"submit",innerHTML:qp,class:"codepen-button","aria-label":"Codepen","data-balloon-pos":"up"})]):null]),a.value?null:f(Bc,{class:"vp-code-demo-loading"}),f("div",{ref:o,class:"vp-code-demo-display",style:{display:d.value&&a.value?"block":"none"}}),f("div",{class:"vp-code-demo-code-wrapper",style:{height:l.value}},f("div",{ref:s,class:"vp-code-demo-codes"},(g=t.default)==null?void 0:g.call(t)))])}}}),c3=z({name:"MdDemo",props:{id:{type:String,required:!0},title:{type:String,default:""}},slots:Object,setup(e,{slots:t}){const[n,r]=pr(!1),o=Me(),s=Y("0");return Le("beforeprint",()=>{r(!0)}),()=>{var l,a;return f("div",{class:"vp-md-demo",id:e.id},[f("div",{class:"vp-md-demo-header"},[f("button",{type:"button",title:"toggle","aria-hidden":!0,class:["vp-md-demo-toggle-button",n.value?"down":"end"],onClick:()=>{s.value=n.value?"0":`${o.value.clientHeight+13.8}px`,r()}}),e.title?decodeURIComponent(e.title):null]),f("div",{class:"vp-md-demo-display"},(l=t.default)==null?void 0:l.call(t)),f("div",{class:"vp-md-demo-code-wrapper",style:{height:s.value}},f("div",{ref:o,class:"vp-md-demo-codes"},(a=t.code)==null?void 0:a.call(t)))])}}});const u3=()=>{Le("beforeprint",()=>{document.querySelectorAll("details").forEach(e=>{e.open=!0})})},qo=Hn("VUEPRESS_TAB_STORE",{});var f3=z({name:"Tabs",props:{active:{type:Number,default:0},data:{type:Array,required:!0},id:{type:String,required:!0},tabId:{type:String,default:""}},slots:Object,setup(e,{slots:t}){const n=Y(e.active),r=Me([]),o=()=>{e.tabId&&(qo.value[e.tabId]=e.data[n.value].id)},s=(c=n.value)=>{n.value=c<r.value.length-1?c+1:0,r.value[n.value].focus()},l=(c=n.value)=>{n.value=c>0?c-1:r.value.length-1,r.value[n.value].focus()},a=(c,u)=>{c.key===" "||c.key==="Enter"?(c.preventDefault(),n.value=u):c.key==="ArrowRight"?(c.preventDefault(),s()):c.key==="ArrowLeft"&&(c.preventDefault(),l()),o()},i=()=>{if(e.tabId){const c=e.data.findIndex(({id:u})=>qo.value[e.tabId]===u);if(c!==-1)return c}return e.active};return ve(()=>{n.value=i(),ie(()=>qo.value[e.tabId],(c,u)=>{if(e.tabId&&c!==u){const d=e.data.findIndex(({id:p})=>p===c);d!==-1&&(n.value=d)}})}),()=>e.data.length?f("div",{class:"vp-tabs"},[f("div",{class:"vp-tabs-nav",role:"tablist"},e.data.map(({id:c},u)=>{const d=u===n.value;return f("button",{type:"button",ref:p=>{p&&(r.value[u]=p)},class:["vp-tab-nav",{active:d}],role:"tab","aria-controls":`tab-${e.id}-${u}`,"aria-selected":d,onClick:()=>{n.value=u,o()},onKeydown:p=>a(p,u)},t[`title${u}`]({value:c,isActive:d}))})),e.data.map(({id:c},u)=>{const d=u===n.value;return f("div",{class:["vp-tab",{active:d}],id:`tab-${e.id}-${u}`,role:"tabpanel","aria-expanded":d},[f("div",{class:"vp-tab-title"},t[`title${u}`]({value:c,isActive:d})),t[`tab${u}`]({value:c,isActive:d})])})]):null}});const d3=Ye({enhance:({app:e})=>{e.component("CodeTabs",Dp),at("CodeGroup",e)||e.component("CodeGroup",jp),at("CodeGroupItem",e)||e.component("CodeGroupItem",Fc),e.component("CodeDemo",i3),e.component("MdDemo",c3),e.component("Tabs",f3)},setup:()=>{u3()}});let p3={};const nu=Symbol(""),h3=()=>Re(nu),v3=e=>{e.provide(nu,p3)},m3='<div class="photo-swipe-loading"><svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" preserveAspectRatio="xMidYMid" viewBox="25 25 50 50"><animateTransform attributeName="transform" type="rotate" dur="2s" keyTimes="0;1" repeatCount="indefinite" values="0;360"></animateTransform><circle cx="50" cy="50" r="20" fill="none" stroke="currentColor" stroke-width="4" stroke-linecap="round"><animate attributeName="stroke-dasharray" dur="1.5s" keyTimes="0;0.5;1" repeatCount="indefinite" values="1,200;90,200;1,200"></animate><animate attributeName="stroke-dashoffset" dur="1.5s" keyTimes="0;0.5;1" repeatCount="indefinite" values="0;-35px;-125px"></animate></circle></svg></div>',g3=e=>Ce(e)?Array.from(document.querySelectorAll(e)):e.map(t=>Array.from(document.querySelectorAll(t))).flat(),ru=e=>new Promise((t,n)=>{e.complete?t({type:"image",element:e,src:e.src,width:e.naturalWidth,height:e.naturalHeight,alt:e.alt,msrc:e.src}):(e.onload=()=>t(ru(e)),e.onerror=r=>n(r))}),y3=e=>{const{isSupported:t,toggle:n}=Zs();e.on("uiRegister",()=>{t.value&&e.ui.registerElement({name:"fullscreen",order:7,isButton:!0,html:'<svg class="pswp__icn" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg"><path d="M249.5 270.833H437v-75H212a37.5 37.5 0 0 0-37.5 37.5v225h75v-187.5zm-37.5 600h225v-75H249.5v-187.5h-75v225a37.5 37.5 0 0 0 37.5 37.5zm637.5-37.5v-225h-75v187.5H587v75h225a37.5 37.5 0 0 0 37.5-37.5zM587 270.833h187.5v187.5h75v-225a37.5 37.5 0 0 0-37.5-37.5H587v75z"/></svg>',onClick:()=>{n()}}),e.ui.registerElement({name:"download",order:8,isButton:!0,tagName:"a",html:{isCustomSVG:!0,inner:'<path d="M20.5 14.3 17.1 18V10h-2.2v7.9l-3.4-3.6L10 16l6 6.1 6-6.1-1.5-1.6ZM23 23H9v2h14" id="pswp__icn-download"/>',outlineID:"pswp__icn-download"},onInit:(r,o)=>{r.setAttribute("download",""),r.setAttribute("target","_blank"),r.setAttribute("rel","noopener"),o.on("change",()=>{r.setAttribute("href",o.currSlide.data.src)})}}),e.ui.registerElement({name:"bulletsIndicator",className:"photo-swipe-bullets-indicator",appendTo:"wrapper",onInit:(r,o)=>{const s=[];let l=-1;for(let a=0;a<o.getNumItems();a++){const i=document.createElement("div");i.className="photo-swipe-bullet",i.onclick=c=>{o.goTo(s.indexOf(c.target))},s.push(i),r.appendChild(i)}o.on("change",()=>{l>=0&&s[l].classList.remove("active"),s[o.currIndex].classList.add("active"),l=o.currIndex})}})})},b3=(e,t,n=!0)=>Fe(()=>import("./photoswipe.esm-SzV8tJDW.js"),__vite__mapDeps([])).then(({default:r})=>{let o=null;const s=e.map(l=>({html:m3,element:l,msrc:l.src}));return e.forEach((l,a)=>{const i=()=>{o==null||o.destroy(),o=new r({preloaderDelay:0,showHideAnimationType:"zoom",...t,dataSource:s,index:a,...n?{closeOnVerticalDrag:!0,wheelToZoom:!1}:{}}),y3(o),o.addFilter("thumbEl",()=>l),o.addFilter("placeholderSrc",()=>l.src),o.init()};l.getAttribute("photo-swipe")||(l.style.cursor="zoom-in",l.addEventListener("click",()=>{i()}),l.addEventListener("keypress",({key:c})=>{c==="Enter"&&i()}),l.setAttribute("photo-swipe","")),ru(l).then(c=>{s.splice(a,1,c),o==null||o.refreshSlideContent(a)})}),n?Le("wheel",()=>{o==null||o.close()}):()=>{}}),w3=({selector:e,locales:t,delay:n=500,scrollToClose:r=!0})=>{const o=h3(),s=xr(t),l=we(),a=_e();let i=null;const c=()=>{const{photoSwipe:u}=a.value;u!==!1&&Gt().then(()=>gc(n)).then(async()=>{const d=Ce(u)?u:e;i=await b3(g3(d),{...o,...s.value},r)})};ve(()=>{c(),ie(()=>l.value.path,()=>{i==null||i(),c()})}),jn(()=>{i==null||i()})};var _3={"/":{closeTitle:"关闭",downloadTitle:"下载图片",fullscreenTitle:"切换全屏",zoomTitle:"缩放",arrowPrevTitle:"上一个 (左箭头)",arrowNextTitle:"下一个 (右箭头)"}};const E3=".theme-hope-content :not(a) > img:not([no-view])",C3=_3,k3=800,S3=!0,x3=Ye({enhance:({app:e})=>{v3(e)},setup:()=>{w3({selector:E3,delay:k3,locales:C3,scrollToClose:S3})}}),T3=e=>e instanceof Element?document.activeElement===e&&(["TEXTAREA","SELECT","INPUT"].includes(e.tagName)||e.hasAttribute("contenteditable")):!1,A3=(e,t)=>t.some(n=>{if(Ce(n))return n===e.key;const{key:r,ctrl:o=!1,shift:s=!1,alt:l=!1}=n;return r===e.key&&o===e.ctrlKey&&s===e.shiftKey&&l===e.altKey}),L3=/[^\x00-\x7F]/,I3=e=>e.split(/\s+/g).map(t=>t.trim()).filter(t=>!!t),Sa=e=>e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),xa=(e,t)=>{const n=t.join(" "),r=I3(e);if(L3.test(e))return r.some(l=>n.toLowerCase().indexOf(l)>-1);const o=e.endsWith(" ");return new RegExp(r.map((l,a)=>r.length===a+1&&!o?`(?=.*\\b${Sa(l)})`:`(?=.*\\b${Sa(l)}\\b)`).join("")+".+","gi").test(n)},$3=({input:e,hotKeys:t})=>{if(t.value.length===0)return;const n=r=>{e.value&&A3(r,t.value)&&!T3(r.target)&&(r.preventDefault(),e.value.focus())};ve(()=>{document.addEventListener("keydown",n)}),Fs(()=>{document.removeEventListener("keydown",n)})},O3=[{title:"首页",headers:[],path:"/",pathLocale:"/",extraFields:[]},{title:"首页",headers:[],path:"/foolsday.html",pathLocale:"/",extraFields:[]},{title:"项目部署",headers:[],path:"/deployment/",pathLocale:"/",extraFields:[]},{title:"配置",headers:[{level:2,title:"基础配置项",slug:"基础配置项",link:"#基础配置项",children:[]},{level:2,title:"其他配置",slug:"其他配置",link:"#其他配置",children:[]},{level:2,title:"OneBot实现端配置",slug:"onebot实现端配置",link:"#onebot实现端配置",children:[]},{level:2,title:"其他",slug:"其他",link:"#其他",children:[]}],path:"/deployment/config.html",pathLocale:"/",extraFields:[]},{title:"答疑",headers:[{level:2,title:"常见问题",slug:"常见问题",link:"#常见问题",children:[]},{level:2,title:"推荐方案(QQ)",slug:"推荐方案-qq",link:"#推荐方案-qq",children:[]},{level:2,title:"推荐方案(Minecraft)",slug:"推荐方案-minecraft",link:"#推荐方案-minecraft",children:[]},{level:2,title:"鸣谢",slug:"鸣谢",link:"#鸣谢",children:[]}],path:"/deployment/fandq.html",pathLocale:"/",extraFields:[]},{title:"安装",headers:[{level:2,title:"开始安装",slug:"开始安装",link:"#开始安装",children:[]},{level:2,title:"设备要求",slug:"设备要求",link:"#设备要求",children:[]}],path:"/deployment/install.html",pathLocale:"/",extraFields:[]},{title:"资源商店",headers:[],path:"/store/",pathLocale:"/",extraFields:[]},{title:"使用手册",headers:[],path:"/usage/",pathLocale:"/",extraFields:[]},{title:"用户协议",headers:[],path:"/usage/agreement.html",pathLocale:"/",extraFields:[]},{title:"基础命令",headers:[{level:2,title:"基础插件",slug:"基础插件",link:"#基础插件",children:[{level:3,title:"轻雪 liteyuki",slug:"轻雪-liteyuki",link:"#轻雪-liteyuki",children:[]},{level:3,title:"插件/包管理器 liteyuki_pacman",slug:"插件-包管理器-liteyuki-pacman",link:"#插件-包管理器-liteyuki-pacman",children:[]},{level:3,title:"用户管理liteyuki_user",slug:"用户管理liteyuki-user",link:"#用户管理liteyuki-user",children:[]}]}],path:"/usage/basic_command.html",pathLocale:"/",extraFields:[]},{title:"功能命令",headers:[{level:2,title:"功能插件命令",slug:"功能插件命令",link:"#功能插件命令",children:[{level:3,title:"轻雪天气liteyuki_weather",slug:"轻雪天气liteyuki-weather",link:"#轻雪天气liteyuki-weather",children:[]}]}],path:"/usage/extra_command.html",pathLocale:"/",extraFields:[]},{title:"资源包",headers:[{level:2,title:"简介",slug:"简介",link:"#简介",children:[]},{level:2,title:"加载资源包",slug:"加载资源包",link:"#加载资源包",children:[]}],path:"/usage/resource_pack.html",pathLocale:"/",extraFields:[]},{title:"",headers:[],path:"/404.html",pathLocale:"/",extraFields:[]}],R3=Y(O3),P3=()=>R3,M3=({searchIndex:e,routeLocale:t,query:n,maxSuggestions:r})=>{const o=x(()=>e.value.filter(s=>s.pathLocale===t.value));return x(()=>{const s=n.value.trim().toLowerCase();if(!s)return[];const l=[],a=(i,c)=>{xa(s,[c.title])&&l.push({link:`${i.path}#${c.slug}`,title:i.title,header:c.title});for(const u of c.children){if(l.length>=r.value)return;a(i,u)}};for(const i of o.value){if(l.length>=r.value)break;if(xa(s,[i.title,...i.extraFields])){l.push({link:i.path,title:i.title});continue}for(const c of i.headers){if(l.length>=r.value)break;a(i,c)}}return l})},N3=e=>{const t=Y(0);return{focusIndex:t,focusNext:()=>{t.value<e.value.length-1?t.value+=1:t.value=0},focusPrev:()=>{t.value>0?t.value-=1:t.value=e.value.length-1}}},D3=z({name:"SearchBox",props:{locales:{type:Object,default:()=>({})},hotKeys:{type:Array,default:()=>[]},maxSuggestions:{type:Number,default:5}},setup(e){const{locales:t,hotKeys:n,maxSuggestions:r}=$f(e),o=an(),s=un(),l=P3(),a=Y(null),i=Y(!1),c=Y(""),u=x(()=>t.value[s.value]??{}),d=M3({searchIndex:l,routeLocale:s,query:c,maxSuggestions:r}),{focusIndex:p,focusNext:v,focusPrev:g}=N3(d);$3({input:a,hotKeys:n});const _=x(()=>i.value&&!!d.value.length),w=()=>{_.value&&g()},b=()=>{_.value&&v()},C=y=>{if(!_.value)return;const S=d.value[y];S&&o.push(S.link).then(()=>{c.value="",p.value=0})};return()=>f("form",{class:"search-box",role:"search"},[f("input",{ref:a,type:"search",placeholder:u.value.placeholder,autocomplete:"off",spellcheck:!1,value:c.value,onFocus:()=>i.value=!0,onBlur:()=>i.value=!1,onInput:y=>c.value=y.target.value,onKeydown:y=>{switch(y.key){case"ArrowUp":{w();break}case"ArrowDown":{b();break}case"Enter":{y.preventDefault(),C(p.value);break}}}}),_.value&&f("ul",{class:"suggestions",onMouseleave:()=>p.value=-1},d.value.map(({link:y,title:S,header:R},k)=>f("li",{class:["suggestion",{focus:p.value===k}],onMouseenter:()=>p.value=k,onMousedown:()=>C(k)},f("a",{href:y,onClick:P=>P.preventDefault()},[f("span",{class:"page-title"},S),R&&f("span",{class:"page-header"},`> ${R}`)]))))])}});var j3=["s","/"],F3={"/":{placeholder:"搜索"}};const B3=F3,H3=j3,V3=5,z3=Ye({enhance({app:e}){e.component("SearchBox",t=>f(D3,{locales:B3,hotKeys:H3,maxSuggestions:V3,...t}))}}),ou=()=>{const e=we();return x(()=>e.value.readingTime??null)},q3=(e,t)=>{const{minutes:n,words:r}=e,{less1Minute:o,word:s,time:l}=t;return{time:n<1?o:l.replace("$time",Math.round(n).toString()),words:s.replace("$word",r.toString())}};var Ta={"/":{word:"约 $word 字",less1Minute:"小于 1 分钟",time:"大约 $time 分钟"}};const Aa={words:"",time:""},hs=typeof Ta>"u"?null:Ta,U3=()=>hs?xr(hs):x(()=>null),W3=()=>{if(typeof hs>"u")return x(()=>Aa);const e=ou(),t=U3();return x(()=>e.value&&t.value?q3(e.value,t.value):Aa)},dn=()=>Pc(),de=()=>vp(),Ir=()=>{const e=dn();return x(()=>!!e.value.pure)},Uo=()=>null,G3="719px",K3="1440px",Y3="false",su={mobileBreakPoint:G3,pcBreakPoint:K3,enableThemeColor:Y3},nl={"/deployment/":["install","config","fandq"],"/usage/":["basic_command","extra_command","agreement","resource_pack"],"/store/":[]},lu=e=>{const{icon:t="",color:n,size:r}=e,o=n||r?{}:null;return n&&(o.color=n),r&&(o.height=Number.isNaN(Number(r))?r:`${r}px`),ln(t)?f("img",{class:"icon",src:t,alt:"","no-view":"",style:o}):Qs(t)?f("img",{class:"icon",src:He(t),alt:"","aria-hidden":"","no-view":"",style:o}):f(pt("FontIcon"),e)};lu.displayName="HopeIcon";var Ve=lu;const J3="http://.",rl=()=>{const e=an(),t=cn();return n=>{if(n)if(Qs(n))t.path!==n&&e.push(n);else if(Ji(n))window&&window.open(n);else{const r=t.path.slice(0,t.path.lastIndexOf("/"));e.push(new URL(`${r}/${encodeURI(n)}`,J3).pathname)}}},au=()=>{const e=de(),t=_e();return x(()=>{const{author:n}=t.value;return n?Ca(n):n===!1?[]:Ca(e.value.author,!1)})},Q3=()=>{const e=_e();return x(()=>Vp(e.value.category).map(t=>({name:t,path:""})))},X3=()=>{const e=_e();return x(()=>zp(e.value.tag).map(t=>({name:t,path:""})))},Z3=()=>{const e=_e(),t=we();return x(()=>{const n=h2(e.value.date);if(n)return n;const{createdTime:r}=t.value.git||{};return r?new Date(r):null})},eh=()=>{const e=de(),t=we(),n=_e(),r=au(),o=Q3(),s=X3(),l=Z3(),a=ou(),i=W3(),c=x(()=>({author:r.value,category:o.value,date:l.value,localizedDate:t.value.localizedDate,tag:s.value,isOriginal:n.value.isOriginal||!1,readingTime:a.value,readingTimeLocale:i.value,pageview:"pageview"in n.value?n.value.pageview:!0})),u=x(()=>"pageInfo"in n.value?n.value.pageInfo:"pageInfo"in e.value?e.value.pageInfo:null);return{info:c,items:u}},{mobileBreakPoint:th,pcBreakPoint:nh}=su,La=e=>e.endsWith("px")?Number(e.slice(0,-2)):null,wo=()=>{const e=Y(!1),t=Y(!1),n=()=>{e.value=window.innerWidth<=(La(th)??719),t.value=window.innerWidth>=(La(nh)??1440)};return ve(()=>{n(),Le("resize",n,!1),Le("orientationchange",n,!1)}),{isMobile:e,isPC:t}},iu=Symbol(""),$r=()=>{const e=Re(iu);if(!e)throw new Error("useDarkmode() is called without provider.");return e},rh=e=>{const t=dn(),n=N2(),r=x(()=>t.value.darkmode||"switch"),o=Hn("vuepress-theme-hope-scheme","auto"),s=x(()=>{const a=r.value;return a==="disable"?!1:a==="enable"?!0:a==="auto"?n.value:a==="toggle"?o.value==="dark":o.value==="dark"||o.value==="auto"&&n.value}),l=x(()=>{const a=r.value;return a==="switch"||a==="toggle"});e.provide(iu,{canToggle:l,config:r,isDarkmode:s,status:o}),Object.defineProperties(e.config.globalProperties,{$isDarkmode:{get:()=>s.value}})},oh=()=>{const{config:e,isDarkmode:t,status:n}=$r();yi(()=>{e.value==="disable"?n.value="light":e.value==="enable"?n.value="dark":e.value==="toggle"&&n.value==="auto"&&(n.value="light")}),ve(()=>{ie(t,r=>document.documentElement.setAttribute("data-theme",r?"dark":"light"),{immediate:!0})})};var wt=(e=>(e.title="t",e.shortTitle="s",e.icon="i",e.index="I",e.order="O",e.breadcrumbExclude="b",e))(wt||{}),sh=(e=>(e.type="y",e.author="a",e.date="d",e.localizedDate="l",e.category="c",e.tag="g",e.isEncrypted="n",e.isOriginal="o",e.readingTime="r",e.excerpt="e",e.sticky="u",e.cover="v",e))(sh||{}),lh=(e=>(e.article="a",e.home="h",e.slide="s",e.page="p",e))(lh||{});const en=(e="",t="")=>Qs(t)?t:`${Yi(e)}${t}`,An=(e,t=!1)=>{const{meta:n,path:r,notFound:o}=go(e);return o?{text:r,link:r}:{text:!t&&n[wt.shortTitle]?n[wt.shortTitle]:n[wt.title]||r,link:r,...n[wt.icon]?{icon:n[wt.icon]}:{}}},vs=({config:e,prefix:t=""})=>{const n=(r,o=t)=>{const s=Ce(r)?An(en(o,r)):r.link?{...r,...On(r.link)?{}:{link:An(en(o,r.link)).link}}:r;if("children"in s){const l=en(o,s.prefix),a=s.children==="structure"?nl[l]:s.children;return{type:"group",...s,prefix:l,children:a.map(i=>n(i,l))}}return{type:"page",...s}};return e.map(r=>n(r))},ah=({config:e,page:t,headerDepth:n})=>{const r=fn(e).sort((o,s)=>s.length-o.length);for(const o of r)if(Mn(decodeURI(t.path),o)){const s=e[o];return s?vs({config:s==="structure"?nl[o]:s,page:t,headerDepth:n,prefix:o}):[]}return console.warn(`${t.path} is missing sidebar config.`),[]},ih=({config:e,routeLocale:t,page:n,headerDepth:r})=>e==="structure"?vs({config:nl[t],page:n,headerDepth:r,prefix:t}):ps(e)?vs({config:e,page:n,headerDepth:r}):Fn(e)?ah({config:e,page:n,headerDepth:r}):[],cu=Symbol(""),ch=()=>{const e=_e(),t=de(),n=we(),r=un(),o=x(()=>e.value.home?!1:e.value.sidebar??t.value.sidebar??"structure"),s=x(()=>e.value.headerDepth??t.value.headerDepth??2),l=bc(()=>[o.value,s.value,n.value.path,null],()=>ih({config:o.value,routeLocale:r.value,page:n.value,headerDepth:s.value}));Sn(cu,l)},ol=()=>{const e=Re(cu);if(!e)throw new Error("useSidebarItems() is called without provider.");return e};var uh=z({name:"PageFooter",setup(){const e=dn(),t=de(),n=_e(),r=au(),o=x(()=>{const{copyright:c,footer:u}=n.value;return u!==!1&&!!(c||u||t.value.displayFooter)}),s=x(()=>{const{footer:c}=n.value;return c===!1?!1:Ce(c)?c:t.value.footer||""}),l=x(()=>r.value.map(({name:c})=>c).join(", ")),a=c=>`Copyright © ${new Date().getFullYear()} ${l.value} ${c?`${c} Licensed`:""}`,i=x(()=>{const{copyright:c,license:u=""}=n.value,{license:d}=e.value,{copyright:p}=t.value;return c??(u?a(u):Ce(p)?p:l.value||d?a(d):!1)});return()=>o.value?f("footer",{class:"vp-footer-wrapper"},[s.value?f("div",{class:"vp-footer",innerHTML:s.value}):null,i.value?f("div",{class:"vp-copyright",innerHTML:i.value}):null]):null}}),Ge=z({name:"AutoLink",inheritAttrs:!1,props:{config:{type:Object,required:!0},exact:Boolean,noExternalLinkIcon:Boolean},emits:["focusout"],slots:Object,setup(e,{attrs:t,emit:n,slots:r}){const o=cn(),s=ic(),l=io(e,"config"),a=x(()=>ln(l.value.link)),i=x(()=>!a.value&&Ji(l.value.link)),c=x(()=>l.value.target||(a.value?"_blank":void 0)),u=x(()=>c.value==="_blank"),d=x(()=>!a.value&&!i.value&&!u.value),p=x(()=>l.value.rel||(u.value?"noopener noreferrer":null)),v=x(()=>l.value.ariaLabel||l.value.text),g=x(()=>{if(e.exact)return!1;const w=fn(s.value.locales);return w.length?w.every(b=>b!==l.value.link):l.value.link!=="/"}),_=x(()=>d.value?l.value.activeMatch?new RegExp(l.value.activeMatch,"u").test(o.path):g.value?Mn(o.path,l.value.link):o.path===l.value.link:!1);return()=>{const{before:w,after:b,default:C}=r,{text:y,icon:S,link:R}=l.value;return d.value?f(We,{to:R,"aria-label":v.value,...t,class:["nav-link",{active:_.value},t.class],onFocusout:()=>n("focusout")},()=>C?C():[w?w():f(Ve,{icon:S}),y,b==null?void 0:b()]):f("a",{href:R,rel:p.value,target:c.value,"aria-label":v.value,...t,class:["nav-link",t.class],onFocusout:()=>n("focusout")},C?C():[w?w():f(Ve,{icon:S}),y,e.noExternalLinkIcon?null:f(Oc),b==null?void 0:b()])}}}),fh=z({name:"NavbarDropdownLink",props:{config:{type:Object,required:!0}},slots:Object,setup(e,{slots:t}){const n=we(),r=io(e,"config"),o=x(()=>r.value.ariaLabel||r.value.text),s=Y(!1);ie(()=>n.value.path,()=>{s.value=!1});const l=a=>{a.detail===0&&(s.value=!s.value)};return()=>{var a;return f("div",{class:["dropdown-wrapper",{open:s.value}]},[f("button",{type:"button",class:"dropdown-title","aria-label":o.value,onClick:l},[((a=t.title)==null?void 0:a.call(t))||f("span",{class:"title"},[f(Ve,{icon:r.value.icon}),e.config.text]),f("span",{class:"arrow"}),f("ul",{class:"nav-dropdown"},r.value.children.map((i,c)=>{const u=c===r.value.children.length-1;return f("li",{class:"dropdown-item"},"children"in i?[f("h4",{class:"dropdown-subtitle"},i.link?f(Ge,{config:i,onFocusout:()=>{i.children.length===0&&u&&(s.value=!1)}}):f("span",i.text)),f("ul",{class:"dropdown-subitem-wrapper"},i.children.map((d,p)=>f("li",{class:"dropdown-subitem"},f(Ge,{config:d,onFocusout:()=>{p===i.children.length-1&&u&&(s.value=!1)}}))))]:f(Ge,{config:i,onFocusout:()=>{u&&(s.value=!1)}}))}))])])}}});const uu=(e,t="")=>Ce(e)?An(en(t,e)):"children"in e?{...e,...e.link&&!On(e.link)?An(en(t,e.link)):{},children:e.children.map(n=>uu(n,en(t,e.prefix)))}:{...e,link:On(e.link)?e.link:An(en(t,e.link)).link},fu=()=>{const e=de(),t=()=>(e.value.navbar||[]).map(n=>uu(n));return bc(()=>e.value.navbar,()=>t())},dh=()=>{const e=de(),t=x(()=>e.value.repo||null),n=x(()=>t.value?Bp(t.value):null),r=x(()=>t.value?Jc(t.value):null),o=x(()=>n.value?e.value.repoLabel??(r.value===null?"Source":r.value):null);return x(()=>!n.value||!o.value||e.value.repoDisplay===!1?null:{type:r.value||"Source",label:o.value,link:n.value})};var ph=z({name:"NavScreenDropdown",props:{config:{type:Object,required:!0}},setup(e){const t=we(),n=io(e,"config"),r=x(()=>n.value.ariaLabel||n.value.text),o=Y(!1);ie(()=>t.value.path,()=>{o.value=!1});const s=(l,a)=>a[a.length-1]===l;return()=>[f("button",{type:"button",class:["nav-screen-dropdown-title",{active:o.value}],"aria-label":r.value,onClick:()=>{o.value=!o.value}},[f("span",{class:"title"},[f(Ve,{icon:n.value.icon}),e.config.text]),f("span",{class:["arrow",o.value?"down":"end"]})]),f("ul",{class:["nav-screen-dropdown",{hide:!o.value}]},n.value.children.map(l=>f("li",{class:"dropdown-item"},"children"in l?[f("h4",{class:"dropdown-subtitle"},l.link?f(Ge,{config:l,onFocusout:()=>{s(l,n.value.children)&&l.children.length===0&&(o.value=!1)}}):f("span",l.text)),f("ul",{class:"dropdown-subitem-wrapper"},l.children.map(a=>f("li",{class:"dropdown-subitem"},f(Ge,{config:a,onFocusout:()=>{s(a,l.children)&&s(l,n.value.children)&&(o.value=!1)}}))))]:f(Ge,{config:l,onFocusout:()=>{s(l,n.value.children)&&(o.value=!1)}}))))]}}),hh=z({name:"NavScreenLinks",setup(){const e=fu();return()=>e.value.length?f("nav",{class:"nav-screen-links"},e.value.map(t=>f("div",{class:"navbar-links-item"},"children"in t?f(ph,{config:t}):f(Ge,{config:t})))):null}});const du=()=>f(ke,{name:"dark"},()=>f("path",{d:"M524.8 938.667h-4.267a439.893 439.893 0 0 1-313.173-134.4 446.293 446.293 0 0 1-11.093-597.334A432.213 432.213 0 0 1 366.933 90.027a42.667 42.667 0 0 1 45.227 9.386 42.667 42.667 0 0 1 10.24 42.667 358.4 358.4 0 0 0 82.773 375.893 361.387 361.387 0 0 0 376.747 82.774 42.667 42.667 0 0 1 54.187 55.04 433.493 433.493 0 0 1-99.84 154.88 438.613 438.613 0 0 1-311.467 128z"}));du.displayName="DarkIcon";const pu=()=>f(ke,{name:"light"},()=>f("path",{d:"M952 552h-80a40 40 0 0 1 0-80h80a40 40 0 0 1 0 80zM801.88 280.08a41 41 0 0 1-57.96-57.96l57.96-58a41.04 41.04 0 0 1 58 58l-58 57.96zM512 752a240 240 0 1 1 0-480 240 240 0 0 1 0 480zm0-560a40 40 0 0 1-40-40V72a40 40 0 0 1 80 0v80a40 40 0 0 1-40 40zm-289.88 88.08-58-57.96a41.04 41.04 0 0 1 58-58l57.96 58a41 41 0 0 1-57.96 57.96zM192 512a40 40 0 0 1-40 40H72a40 40 0 0 1 0-80h80a40 40 0 0 1 40 40zm30.12 231.92a41 41 0 0 1 57.96 57.96l-57.96 58a41.04 41.04 0 0 1-58-58l58-57.96zM512 832a40 40 0 0 1 40 40v80a40 40 0 0 1-80 0v-80a40 40 0 0 1 40-40zm289.88-88.08 58 57.96a41.04 41.04 0 0 1-58 58l-57.96-58a41 41 0 0 1 57.96-57.96z"}));pu.displayName="LightIcon";const hu=()=>f(ke,{name:"auto"},()=>f("path",{d:"M512 992C246.92 992 32 777.08 32 512S246.92 32 512 32s480 214.92 480 480-214.92 480-480 480zm0-840c-198.78 0-360 161.22-360 360 0 198.84 161.22 360 360 360s360-161.16 360-360c0-198.78-161.22-360-360-360zm0 660V212c165.72 0 300 134.34 300 300 0 165.72-134.28 300-300 300z"}));hu.displayName="AutoIcon";const vu=()=>f(ke,{name:"enter-fullscreen"},()=>f("path",{d:"M762.773 90.24h-497.28c-96.106 0-174.4 78.293-174.4 174.4v497.28c0 96.107 78.294 174.4 174.4 174.4h497.28c96.107 0 175.04-78.293 174.4-174.4V264.64c0-96.213-78.186-174.4-174.4-174.4zm-387.2 761.173H215.04c-21.867 0-40.427-17.92-41.067-41.066V649.92c0-22.507 17.92-40.427 40.427-40.427 11.307 0 21.227 4.694 28.48 11.947 7.253 7.253 11.947 17.92 11.947 28.48v62.293l145.28-145.28c15.893-15.893 41.813-15.893 57.706 0 15.894 15.894 15.894 41.814 0 57.707l-145.28 145.28h62.294c22.506 0 40.426 17.92 40.426 40.427s-17.173 41.066-39.68 41.066zM650.24 165.76h160.427c21.866 0 40.426 17.92 41.066 41.067v160.426c0 22.507-17.92 40.427-40.426 40.427-11.307 0-21.227-4.693-28.48-11.947-7.254-7.253-11.947-17.92-11.947-28.48v-62.186L625.6 450.347c-15.893 15.893-41.813 15.893-57.707 0-15.893-15.894-15.893-41.814 0-57.707l145.28-145.28H650.88c-22.507 0-40.427-17.92-40.427-40.427s17.174-41.173 39.787-41.173z"}));vu.displayName="EnterFullScreenIcon";const mu=()=>f(ke,{name:"cancel-fullscreen"},()=>f("path",{d:"M778.468 78.62H247.922c-102.514 0-186.027 83.513-186.027 186.027V795.08c0 102.514 83.513 186.027 186.027 186.027h530.432c102.514 0 186.71-83.513 186.026-186.027V264.647C964.494 162.02 880.981 78.62 778.468 78.62zM250.88 574.35h171.122c23.324 0 43.122 19.115 43.804 43.805v171.121c0 24.008-19.114 43.122-43.122 43.122-12.06 0-22.641-5.006-30.378-12.743s-12.743-19.115-12.743-30.379V722.83L224.597 877.91c-16.953 16.952-44.6 16.952-61.553 0-16.953-16.954-16.953-44.602 0-61.554L318.009 661.39h-66.446c-24.007 0-43.122-19.114-43.122-43.122 0-24.12 18.432-43.918 42.439-43.918zm521.899-98.873H601.657c-23.325 0-43.122-19.114-43.805-43.804V260.55c0-24.007 19.115-43.122 43.122-43.122 12.06 0 22.642 5.007 30.379 12.743s12.743 19.115 12.743 30.38v66.445l154.965-154.965c16.953-16.953 44.601-16.953 61.554 0 16.953 16.953 16.953 44.6 0 61.554L705.536 388.55h66.446c24.007 0 43.122 19.115 43.122 43.122.114 24.007-18.318 43.804-42.325 43.804z"}));mu.displayName="CancelFullScreenIcon";const gu=()=>f(ke,{name:"outlook"},()=>[f("path",{d:"M224 800c0 9.6 3.2 44.8 6.4 54.4 6.4 48-48 76.8-48 76.8s80 41.6 147.2 0 134.4-134.4 38.4-195.2c-22.4-12.8-41.6-19.2-57.6-19.2C259.2 716.8 227.2 761.6 224 800zM560 675.2l-32 51.2c-51.2 51.2-83.2 32-83.2 32 25.6 67.2 0 112-12.8 128 25.6 6.4 51.2 9.6 80 9.6 54.4 0 102.4-9.6 150.4-32l0 0c3.2 0 3.2-3.2 3.2-3.2 22.4-16 12.8-35.2 6.4-44.8-9.6-12.8-12.8-25.6-12.8-41.6 0-54.4 60.8-99.2 137.6-99.2 6.4 0 12.8 0 22.4 0 12.8 0 38.4 9.6 48-25.6 0-3.2 0-3.2 3.2-6.4 0-3.2 3.2-6.4 3.2-6.4 6.4-16 6.4-16 6.4-19.2 9.6-35.2 16-73.6 16-115.2 0-105.6-41.6-198.4-108.8-268.8C704 396.8 560 675.2 560 675.2zM224 419.2c0-28.8 22.4-51.2 51.2-51.2 28.8 0 51.2 22.4 51.2 51.2 0 28.8-22.4 51.2-51.2 51.2C246.4 470.4 224 448 224 419.2zM320 284.8c0-22.4 19.2-41.6 41.6-41.6 22.4 0 41.6 19.2 41.6 41.6 0 22.4-19.2 41.6-41.6 41.6C339.2 326.4 320 307.2 320 284.8zM457.6 208c0-12.8 12.8-25.6 25.6-25.6 12.8 0 25.6 12.8 25.6 25.6 0 12.8-12.8 25.6-25.6 25.6C470.4 233.6 457.6 220.8 457.6 208zM128 505.6C128 592 153.6 672 201.6 736c28.8-60.8 112-60.8 124.8-60.8-16-51.2 16-99.2 16-99.2l316.8-422.4c-48-19.2-99.2-32-150.4-32C297.6 118.4 128 291.2 128 505.6zM764.8 86.4c-22.4 19.2-390.4 518.4-390.4 518.4-22.4 28.8-12.8 76.8 22.4 99.2l9.6 6.4c35.2 22.4 80 12.8 99.2-25.6 0 0 6.4-12.8 9.6-19.2 54.4-105.6 275.2-524.8 288-553.6 6.4-19.2-3.2-32-19.2-32C777.6 76.8 771.2 80 764.8 86.4z"})]);gu.displayName="OutlookIcon";var yu=z({name:"AppearanceSwitch",setup(){const{config:e,isDarkmode:t,status:n}=$r(),r=Ir(),o=()=>{e.value==="switch"?n.value={light:"dark",dark:"auto",auto:"light"}[n.value]:n.value=n.value==="light"?"dark":"light"},s=async l=>{if(!(document.startViewTransition&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches&&!r.value)||!l){o();return}const a=l.clientX,i=l.clientY,c=Math.hypot(Math.max(a,innerWidth-a),Math.max(i,innerHeight-i)),u=t.value;await document.startViewTransition(async()=>{o(),await Gt()}).ready,t.value!==u&&document.documentElement.animate({clipPath:t.value?[`circle(${c}px at ${a}px ${i}px)`,`circle(0px at ${a}px ${i}px)`]:[`circle(0px at ${a}px ${i}px)`,`circle(${c}px at ${a}px ${i}px)`]},{duration:400,pseudoElement:t.value?"::view-transition-old(root)":"::view-transition-new(root)"})};return()=>f("button",{type:"button",id:"appearance-switch",onClick:s},[f(hu,{style:{display:n.value==="auto"?"block":"none"}}),f(du,{style:{display:n.value==="dark"?"block":"none"}}),f(pu,{style:{display:n.value==="light"?"block":"none"}})])}}),vh=z({name:"AppearanceMode",setup(){const e=de(),{canToggle:t}=$r(),n=x(()=>e.value.outlookLocales.darkmode);return()=>t.value?f("div",{class:"appearance-wrapper"},[f("label",{class:"appearance-title",for:"appearance-switch"},n.value),f(yu)]):null}});const Wo=su.enableThemeColor==="true";var bu=z({name:"ToggleFullScreenButton",setup(){const e=de(),{isSupported:t,isFullscreen:n,toggle:r}=Zs(),o=x(()=>e.value.outlookLocales.fullscreen);return()=>t?f("div",{class:"full-screen-wrapper"},[f("label",{class:"full-screen-title",for:"full-screen-switch"},o.value),f("button",{type:"button",id:"full-screen-switch",class:"full-screen",ariaPressed:n.value,onClick:()=>r()},n.value?f(mu):f(vu))]):null}}),wu=z({name:"OutlookSettings",setup(){const e=dn(),t=Ir(),n=x(()=>!t.value&&e.value.fullscreen);return()=>f(yo,()=>[null,f(vh),n.value?f(bu):null])}}),mh=z({name:"NavScreen",props:{show:Boolean},emits:["close"],slots:Object,setup(e,{emit:t,slots:n}){const r=we(),{isMobile:o}=wo(),s=Me(),l=xc(s);return ve(()=>{s.value=document.body,ie(o,a=>{!a&&e.show&&(l.value=!1,t("close"))}),ie(()=>r.value.path,()=>{l.value=!1,t("close")})}),jn(()=>{l.value=!1}),()=>f(Wt,{name:"fade",onEnter:()=>{l.value=!0},onAfterLeave:()=>{l.value=!1}},()=>{var a,i;return e.show?f("div",{id:"nav-screen"},f("div",{class:"vp-nav-screen-container"},[(a=n.before)==null?void 0:a.call(n),f(hh),f("div",{class:"vp-outlook-wrapper"},f(wu)),(i=n.after)==null?void 0:i.call(n)])):null})}}),gh=z({name:"NavbarBrand",setup(){const e=un(),t=Ys(),n=de(),r=x(()=>n.value.home||e.value),o=x(()=>t.value.title),s=x(()=>n.value.navTitle??o.value),l=x(()=>n.value.logo?He(n.value.logo):null),a=x(()=>n.value.logoDark?He(n.value.logoDark):null);return()=>f(We,{to:r.value,class:"vp-brand"},()=>[l.value?f("img",{class:["vp-nav-logo",{light:!!a.value}],src:l.value,alt:""}):null,a.value?f("img",{class:["vp-nav-logo dark"],src:a.value,alt:""}):null,s.value?f("span",{class:["vp-site-name",{"hide-in-pad":l.value&&n.value.hideSiteNameOnMobile!==!1}]},s.value):null])}}),yh=z({name:"NavbarLinks",setup(){const e=fu();return()=>e.value.length?f("nav",{class:"vp-nav-links"},e.value.map(t=>f("div",{class:"nav-item hide-in-mobile"},"children"in t?f(fh,{config:t}):f(Ge,{config:t})))):null}}),bh=z({name:"RepoLink",components:{BitbucketIcon:Uc,GiteeIcon:qc,GitHubIcon:Vc,GitLabIcon:zc,SourceIcon:Wc},setup(){const e=dh();return()=>e.value?f("div",{class:"nav-item vp-repo"},f("a",{class:"vp-repo-link",href:e.value.link,target:"_blank",rel:"noopener noreferrer","aria-label":e.value.label},f(pt(`${e.value.type}Icon`),{style:{width:"1.25rem",height:"1.25rem",verticalAlign:"middle"}}))):null}});const _u=({active:e=!1},{emit:t})=>f("button",{type:"button",class:["vp-toggle-navbar-button",{"is-active":e}],"aria-label":"Toggle Navbar","aria-expanded":e,"aria-controls":"nav-screen",onClick:()=>t("toggle")},f("span",[f("span",{class:"vp-top"}),f("span",{class:"vp-middle"}),f("span",{class:"vp-bottom"})]));_u.displayName="ToggleNavbarButton";var wh=_u;const ms=(e,{emit:t})=>f("button",{type:"button",class:"vp-toggle-sidebar-button",title:"Toggle Sidebar",onClick:()=>t("toggle")},f("span",{class:"icon"}));ms.displayName="ToggleSidebarButton",ms.emits=["toggle"];var _h=ms,Eh=z({name:"OutlookButton",setup(){const{isSupported:e}=Zs(),t=dn(),n=Ir(),r=we(),{canToggle:o}=$r(),s=Y(!1),l=x(()=>!n.value&&t.value.fullscreen&&e);return ie(()=>r.value.path,()=>{s.value=!1}),()=>o.value||l.value||Wo?f("div",{class:"nav-item hide-in-mobile"},o.value&&!l.value&&!Wo?f(yu):l.value&&!o.value&&!Wo?f(bu):f("button",{type:"button",class:["outlook-button",{open:s.value}],tabindex:"-1","aria-hidden":!0},[f(gu),f("div",{class:"outlook-dropdown"},f(wu))])):null}}),Ch=z({name:"NavBar",emits:["toggleSidebar"],slots:Object,setup(e,{emit:t,slots:n}){const r=de(),{isMobile:o}=wo(),s=Y(!1),l=x(()=>{const{navbarAutoHide:u="mobile"}=r.value;return u!=="none"&&(u==="always"||o.value)}),a=x(()=>r.value.navbarLayout||{start:["Brand"],center:["Links"],end:["Language","Repo","Outlook","Search"]}),i={Brand:gh,Language:Uo,Links:yh,Repo:bh,Outlook:Eh,Search:at("Docsearch")?pt("Docsearch"):at("SearchBox")?pt("SearchBox"):Uo},c=u=>i[u]??(at(u)?pt(u):Uo);return()=>{var u,d,p,v,g,_;return[f("header",{key:"navbar",id:"navbar",class:["vp-navbar",{"auto-hide":l.value,"hide-icon":r.value.navbarIcon===!1}]},[f("div",{class:"vp-navbar-start"},[f(_h,{onToggle:()=>{s.value&&(s.value=!1),t("toggleSidebar")}}),(u=n.startBefore)==null?void 0:u.call(n),(a.value.start||[]).map(w=>f(c(w))),(d=n.startAfter)==null?void 0:d.call(n)]),f("div",{class:"vp-navbar-center"},[(p=n.centerBefore)==null?void 0:p.call(n),(a.value.center||[]).map(w=>f(c(w))),(v=n.centerAfter)==null?void 0:v.call(n)]),f("div",{class:"vp-navbar-end"},[(g=n.endBefore)==null?void 0:g.call(n),(a.value.end||[]).map(w=>f(c(w))),(_=n.endAfter)==null?void 0:_.call(n),f(wh,{active:s.value,onToggle:()=>{s.value=!s.value}})])]),f(mh,{show:s.value,onClose:()=>{s.value=!1}},{before:()=>{var w;return(w=n.screenTop)==null?void 0:w.call(n)},after:()=>{var w;return(w=n.screenBottom)==null?void 0:w.call(n)}})]}}});const vr=(e,t,n=!1)=>"activeMatch"in t?new RegExp(t.activeMatch,"u").test(e.path):Yc(e,t.link)?!0:"children"in t&&!n?t.children.some(r=>vr(e,r)):!1,Eu=(e,t)=>t.type==="group"?t.children.some(n=>n.type==="group"?Eu(e,n):n.type==="page"&&vr(e,n,!0))||"prefix"in t&&Yc(e,t.prefix):!1;var kh=z({name:"SidebarChild",props:{config:{type:Object,required:!0}},setup(e){const t=cn();return()=>Ce(e.config.link)?f(Ge,{class:["vp-sidebar-link","vp-sidebar-page",{active:vr(t,e.config,!0)}],exact:!0,config:e.config}):f("p",e,[f(Ve,{icon:e.config.icon}),e.config.text])}}),Sh=z({name:"SidebarGroup",props:{config:{type:Object,required:!0},open:{type:Boolean,required:!0}},emits:["toggle"],setup(e,{emit:t}){const n=cn(),r=x(()=>vr(n,e.config)),o=x(()=>vr(n,e.config,!0));return()=>{const{collapsible:s,children:l=[],icon:a,prefix:i,link:c,text:u}=e.config;return f("section",{class:"vp-sidebar-group"},[f(s?"button":"p",{class:["vp-sidebar-header",{clickable:s||c,exact:o.value,active:r.value}],...s?{type:"button",onClick:()=>t("toggle"),onKeydown:d=>{d.key==="Enter"&&t("toggle")}}:{}},[f(Ve,{icon:a}),c?f(Ge,{class:"vp-sidebar-title",config:{text:u,link:c},noExternalLinkIcon:!0}):f("span",{class:"vp-sidebar-title"},u),s?f("span",{class:["vp-arrow",e.open?"down":"end"]}):null]),e.open||!s?f(Cu,{key:i,config:l}):null])}}}),Cu=z({name:"SidebarLinks",props:{config:{type:Array,required:!0}},setup(e){const t=cn(),n=Y(-1),r=o=>{n.value=o===n.value?-1:o};return ie(()=>t.path,()=>{const o=e.config.findIndex(s=>Eu(t,s));n.value=o},{immediate:!0,flush:"post"}),()=>f("ul",{class:"vp-sidebar-links"},e.config.map((o,s)=>f("li",o.type==="group"?f(Sh,{config:o,open:s===n.value,onToggle:()=>r(s)}):f(kh,{config:o}))))}}),xh=z({name:"SideBar",slots:Object,setup(e,{slots:t}){const n=cn(),r=de(),o=ol(),s=Me();return ve(()=>{ie(()=>n.hash,l=>{const a=document.querySelector(`.vp-sidebar a.vp-sidebar-link[href="${n.path}${l}"]`);if(!a)return;const{top:i,height:c}=s.value.getBoundingClientRect(),{top:u,height:d}=a.getBoundingClientRect();u<i?a.scrollIntoView(!0):u+d>i+c&&a.scrollIntoView(!1)},{immediate:!0})}),()=>{var l,a,i;return f("aside",{ref:s,id:"sidebar",class:["vp-sidebar",{"hide-icon":r.value.sidebarIcon===!1}],key:"sidebar"},[(l=t.top)==null?void 0:l.call(t),((a=t.default)==null?void 0:a.call(t))||f(Cu,{config:o.value}),(i=t.bottom)==null?void 0:i.call(t)])}}}),ku=z({name:"CommonWrapper",props:{containerClass:{type:String,default:""},noNavbar:Boolean,noSidebar:Boolean,noToc:Boolean},slots:Object,setup(e,{slots:t}){const n=an(),r=we(),o=_e(),s=de(),{isMobile:l,isPC:a}=wo(),[i,c]=pr(!1),[u,d]=pr(!1),p=ol(),v=Y(!1),g=x(()=>e.noNavbar||o.value.navbar===!1||s.value.navbar===!1?!1:!!(r.value.title||s.value.logo||s.value.repo||s.value.navbar)),_=x(()=>e.noSidebar?!1:o.value.sidebar!==!1&&p.value.length!==0&&!o.value.home),w=x(()=>e.noToc||o.value.home?!1:o.value.toc||s.value.toc!==!1&&o.value.toc!==!1),b={x:0,y:0},C=k=>{b.x=k.changedTouches[0].clientX,b.y=k.changedTouches[0].clientY},y=k=>{const P=k.changedTouches[0].clientX-b.x,O=k.changedTouches[0].clientY-b.y;Math.abs(P)>Math.abs(O)*1.5&&Math.abs(P)>40&&(P>0&&b.x<=80?c(!0):c(!1))},S=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;let R=0;return Le("scroll",k2(()=>{const k=S();k<=58||k<R?v.value=!1:R+200<k&&!i.value&&(v.value=!0),R=k},300,!0)),ie(l,k=>{k||c(!1)}),ve(()=>{const k=xc(document.body);ie(i,O=>{k.value=O});const P=n.afterEach(()=>{c(!1)});jn(()=>{k.value=!1,P()})}),()=>f(at("GlobalEncrypt")?pt("GlobalEncrypt"):Hc,()=>f("div",{class:["theme-container",{"no-navbar":!g.value,"no-sidebar":!_.value&&!(t.sidebar||t.sidebarTop||t.sidebarBottom),"has-toc":w.value,"hide-navbar":v.value,"sidebar-collapsed":!l.value&&!a.value&&u.value,"sidebar-open":l.value&&i.value},e.containerClass,o.value.containerClass||""],onTouchStart:C,onTouchEnd:y},[g.value?f(Ch,{onToggleSidebar:()=>c()},{startBefore:()=>{var k;return(k=t.navbarStartBefore)==null?void 0:k.call(t)},startAfter:()=>{var k;return(k=t.navbarStartAfter)==null?void 0:k.call(t)},centerBefore:()=>{var k;return(k=t.navbarCenterBefore)==null?void 0:k.call(t)},centerAfter:()=>{var k;return(k=t.navbarCenterAfter)==null?void 0:k.call(t)},endBefore:()=>{var k;return(k=t.navbarEndBefore)==null?void 0:k.call(t)},endAfter:()=>{var k;return(k=t.navbarEndAfter)==null?void 0:k.call(t)},screenTop:()=>{var k;return(k=t.navScreenTop)==null?void 0:k.call(t)},screenBottom:()=>{var k;return(k=t.navScreenBottom)==null?void 0:k.call(t)}}):null,f(Wt,{name:"fade"},()=>i.value?f("div",{class:"vp-sidebar-mask",onClick:()=>c(!1)}):null),f(Wt,{name:"fade"},()=>l.value?null:f("div",{class:"toggle-sidebar-wrapper",onClick:()=>d()},f("span",{class:["arrow",u.value?"end":"start"]}))),f(xh,{},{...t.sidebar?{default:()=>t.sidebar()}:{},top:()=>{var k;return(k=t.sidebarTop)==null?void 0:k.call(t)},bottom:()=>{var k;return(k=t.sidebarBottom)==null?void 0:k.call(t)}}),t.default(),f(uh)]))}}),bn=z({name:"DropTransition",props:{type:{type:String,default:"single"},delay:{type:Number,default:0},duration:{type:Number,default:.25},appear:Boolean},slots:Object,setup(e,{slots:t}){const n=o=>{o.style.transition=`transform ${e.duration}s ease-in-out ${e.delay}s, opacity ${e.duration}s ease-in-out ${e.delay}s`,o.style.transform="translateY(-20px)",o.style.opacity="0"},r=o=>{o.style.transform="translateY(0)",o.style.opacity="1"};return()=>f(e.type==="single"?Wt:vd,{name:"drop",appear:e.appear,onAppear:n,onAfterAppear:r,onEnter:n,onAfterEnter:r,onBeforeLeave:n},()=>t.default())}});const gs=({custom:e})=>f(uc,{class:["theme-hope-content",{custom:e}]});gs.displayName="MarkdownContent",gs.props={custom:Boolean};var Su=gs;const xu=()=>f(ke,{name:"author"},()=>f("path",{d:"M649.6 633.6c86.4-48 147.2-144 147.2-249.6 0-160-128-288-288-288s-288 128-288 288c0 108.8 57.6 201.6 147.2 249.6-121.6 48-214.4 153.6-240 288-3.2 9.6 0 19.2 6.4 25.6 3.2 9.6 12.8 12.8 22.4 12.8h704c9.6 0 19.2-3.2 25.6-12.8 6.4-6.4 9.6-16 6.4-25.6-25.6-134.4-121.6-240-243.2-288z"}));xu.displayName="AuthorIcon";const Tu=()=>f(ke,{name:"calendar"},()=>f("path",{d:"M716.4 110.137c0-18.753-14.72-33.473-33.472-33.473-18.753 0-33.473 14.72-33.473 33.473v33.473h66.993v-33.473zm-334.87 0c0-18.753-14.72-33.473-33.473-33.473s-33.52 14.72-33.52 33.473v33.473h66.993v-33.473zm468.81 33.52H716.4v100.465c0 18.753-14.72 33.473-33.472 33.473a33.145 33.145 0 01-33.473-33.473V143.657H381.53v100.465c0 18.753-14.72 33.473-33.473 33.473a33.145 33.145 0 01-33.473-33.473V143.657H180.6A134.314 134.314 0 0046.66 277.595v535.756A134.314 134.314 0 00180.6 947.289h669.74a134.36 134.36 0 00133.94-133.938V277.595a134.314 134.314 0 00-133.94-133.938zm33.473 267.877H147.126a33.145 33.145 0 01-33.473-33.473c0-18.752 14.72-33.473 33.473-33.473h736.687c18.752 0 33.472 14.72 33.472 33.473a33.145 33.145 0 01-33.472 33.473z"}));Tu.displayName="CalendarIcon";const Au=()=>f(ke,{name:"category"},()=>f("path",{d:"M148.41 106.992h282.176c22.263 0 40.31 18.048 40.31 40.31V429.48c0 22.263-18.047 40.31-40.31 40.31H148.41c-22.263 0-40.311-18.047-40.311-40.31V147.302c0-22.263 18.048-40.31 40.311-40.31zM147.556 553.478H429.73c22.263 0 40.311 18.048 40.311 40.31v282.176c0 22.263-18.048 40.312-40.31 40.312H147.555c-22.263 0-40.311-18.049-40.311-40.312V593.79c0-22.263 18.048-40.311 40.31-40.311zM593.927 106.992h282.176c22.263 0 40.31 18.048 40.31 40.31V429.48c0 22.263-18.047 40.31-40.31 40.31H593.927c-22.263 0-40.311-18.047-40.311-40.31V147.302c0-22.263 18.048-40.31 40.31-40.31zM730.22 920.502H623.926c-40.925 0-74.22-33.388-74.22-74.425V623.992c0-41.038 33.387-74.424 74.425-74.424h222.085c41.038 0 74.424 33.226 74.424 74.067v114.233c0 10.244-8.304 18.548-18.547 18.548s-18.548-8.304-18.548-18.548V623.635c0-20.388-16.746-36.974-37.33-36.974H624.13c-20.585 0-37.331 16.747-37.331 37.33v222.086c0 20.585 16.654 37.331 37.126 37.331H730.22c10.243 0 18.547 8.304 18.547 18.547 0 10.244-8.304 18.547-18.547 18.547z"}));Au.displayName="CategoryIcon";const Lu=()=>f(ke,{name:"print"},()=>f("path",{d:"M819.2 364.8h-44.8V128c0-17.067-14.933-32-32-32H281.6c-17.067 0-32 14.933-32 32v236.8h-44.8C145.067 364.8 96 413.867 96 473.6v192c0 59.733 49.067 108.8 108.8 108.8h44.8V896c0 17.067 14.933 32 32 32h460.8c17.067 0 32-14.933 32-32V774.4h44.8c59.733 0 108.8-49.067 108.8-108.8v-192c0-59.733-49.067-108.8-108.8-108.8zM313.6 160h396.8v204.8H313.6V160zm396.8 704H313.6V620.8h396.8V864zM864 665.6c0 25.6-19.2 44.8-44.8 44.8h-44.8V588.8c0-17.067-14.933-32-32-32H281.6c-17.067 0-32 14.933-32 32v121.6h-44.8c-25.6 0-44.8-19.2-44.8-44.8v-192c0-25.6 19.2-44.8 44.8-44.8h614.4c25.6 0 44.8 19.2 44.8 44.8v192z"}));Lu.displayName="PrintIcon";const Iu=()=>f(ke,{name:"tag"},()=>f("path",{d:"M939.902 458.563L910.17 144.567c-1.507-16.272-14.465-29.13-30.737-30.737L565.438 84.098h-.402c-3.215 0-5.726 1.005-7.634 2.913l-470.39 470.39a10.004 10.004 0 000 14.164l365.423 365.424c1.909 1.908 4.42 2.913 7.132 2.913s5.223-1.005 7.132-2.913l470.39-470.39c2.01-2.11 3.014-5.023 2.813-8.036zm-240.067-72.121c-35.458 0-64.286-28.828-64.286-64.286s28.828-64.285 64.286-64.285 64.286 28.828 64.286 64.285-28.829 64.286-64.286 64.286z"}));Iu.displayName="TagIcon";const $u=()=>f(ke,{name:"timer"},()=>f("path",{d:"M799.387 122.15c4.402-2.978 7.38-7.897 7.38-13.463v-1.165c0-8.933-7.38-16.312-16.312-16.312H256.33c-8.933 0-16.311 7.38-16.311 16.312v1.165c0 5.825 2.977 10.874 7.637 13.592 4.143 194.44 97.22 354.963 220.201 392.763-122.204 37.542-214.893 196.511-220.2 389.397-4.661 5.049-7.638 11.651-7.638 19.03v5.825h566.49v-5.825c0-7.379-2.849-13.981-7.509-18.9-5.049-193.016-97.867-351.985-220.2-389.527 123.24-37.67 216.446-198.453 220.588-392.892zM531.16 450.445v352.632c117.674 1.553 211.787 40.778 211.787 88.676H304.097c0-48.286 95.149-87.382 213.728-88.676V450.445c-93.077-3.107-167.901-81.297-167.901-177.093 0-8.803 6.99-15.793 15.793-15.793 8.803 0 15.794 6.99 15.794 15.793 0 80.261 63.69 145.635 142.01 145.635s142.011-65.374 142.011-145.635c0-8.803 6.99-15.793 15.794-15.793s15.793 6.99 15.793 15.793c0 95.019-73.789 172.82-165.96 177.093z"}));$u.displayName="TimerIcon";const Ou=()=>f(ke,{name:"word"},()=>[f("path",{d:"M518.217 432.64V73.143A73.143 73.143 0 01603.43 1.097a512 512 0 01419.474 419.474 73.143 73.143 0 01-72.046 85.212H591.36a73.143 73.143 0 01-73.143-73.143z"}),f("path",{d:"M493.714 566.857h340.297a73.143 73.143 0 0173.143 85.577A457.143 457.143 0 11371.566 117.76a73.143 73.143 0 0185.577 73.143v339.383a36.571 36.571 0 0036.571 36.571z"})]);Ou.displayName="WordIcon";const Kt=()=>{const e=de();return x(()=>e.value.metaLocales)};var Th=z({name:"AuthorInfo",inheritAttrs:!1,props:{author:{type:Array,required:!0},pure:Boolean},setup(e){const t=Kt();return()=>e.author.length?f("span",{class:"page-author-info","aria-label":`${t.value.author}${e.pure?"":"🖊"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[f(xu),f("span",e.author.map(n=>n.url?f("a",{class:"page-author-item",href:n.url,target:"_blank",rel:"noopener noreferrer"},n.name):f("span",{class:"page-author-item"},n.name))),f("span",{property:"author",content:e.author.map(n=>n.name).join(", ")})]):null}}),Ah=z({name:"CategoryInfo",inheritAttrs:!1,props:{category:{type:Array,required:!0},pure:Boolean},setup(e){const t=Kt(),n=rl();return()=>e.category.length?f("span",{class:"page-category-info","aria-label":`${t.value.category}${e.pure?"":"🌈"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[f(Au),e.category.map(({name:r,path:o})=>f("span",{class:["page-category-item",{[`category${Gc(r,9)}`]:!e.pure,clickable:o}],role:o?"navigation":"",onClick:()=>{o&&n(o)}},r)),f("meta",{property:"articleSection",content:e.category.map(({name:r})=>r).join(",")})]):null}}),Lh=z({name:"DateInfo",inheritAttrs:!1,props:{date:{type:Object,default:null},localizedDate:{type:String,default:""},pure:Boolean},setup(e){const t=Ks(),n=Kt();return()=>e.date?f("span",{class:"page-date-info","aria-label":`${n.value.date}${e.pure?"":"📅"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[f(Tu),f("span",f(yo,()=>e.localizedDate||e.date.toLocaleDateString(t.value))),f("meta",{property:"datePublished",content:e.date.toISOString()||""})]):null}}),Ih=z({name:"OriginalInfo",inheritAttrs:!1,props:{isOriginal:Boolean},setup(e){const t=Kt();return()=>e.isOriginal?f("span",{class:"page-original-info"},t.value.origin):null}}),$h=z({name:"ReadingTimeInfo",inheritAttrs:!1,props:{readingTime:{type:Object,default:()=>null},readingTimeLocale:{type:Object,default:()=>null},pure:Boolean},setup(e){const t=Kt(),n=x(()=>{if(!e.readingTime)return null;const{minutes:r}=e.readingTime;return r<1?"PT1M":`PT${Math.round(r)}M`});return()=>{var r,o;return(r=e.readingTimeLocale)!=null&&r.time?f("span",{class:"page-reading-time-info","aria-label":`${t.value.readingTime}${e.pure?"":"⌛"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[f($u),f("span",(o=e.readingTimeLocale)==null?void 0:o.time),f("meta",{property:"timeRequired",content:n.value})]):null}}}),Oh=z({name:"TagInfo",inheritAttrs:!1,props:{tag:{type:Array,default:()=>[]},pure:Boolean},setup(e){const t=Kt(),n=rl();return()=>e.tag.length?f("span",{class:"page-tag-info","aria-label":`${t.value.tag}${e.pure?"":"🏷"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[f(Iu),e.tag.map(({name:r,path:o})=>f("span",{class:["page-tag-item",{[`tag${Gc(r,9)}`]:!e.pure,clickable:o}],role:o?"navigation":"",onClick:()=>{o&&n(o)}},r)),f("meta",{property:"keywords",content:e.tag.map(({name:r})=>r).join(",")})]):null}}),Rh=z({name:"ReadTimeInfo",inheritAttrs:!1,props:{readingTime:{type:Object,default:()=>null},readingTimeLocale:{type:Object,default:()=>null},pure:Boolean},setup(e){const t=Kt();return()=>{var n,r,o;return(n=e.readingTimeLocale)!=null&&n.words?f("span",{class:"page-word-info","aria-label":`${t.value.words}${e.pure?"":"🔠"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[f(Ou),f("span",(r=e.readingTimeLocale)==null?void 0:r.words),f("meta",{property:"wordCount",content:(o=e.readingTime)==null?void 0:o.words})]):null}}}),Ph=z({name:"PageInfo",components:{AuthorInfo:Th,CategoryInfo:Ah,DateInfo:Lh,OriginalInfo:Ih,PageViewInfo:()=>null,ReadingTimeInfo:$h,TagInfo:Oh,WordInfo:Rh},props:{items:{type:[Array,Boolean],default:()=>["Author","Original","Date","PageView","ReadingTime","Category","Tag"]},info:{type:Object,required:!0}},setup(e){const t=Ir();return()=>e.items?f("div",{class:"page-info"},e.items.map(n=>f(pt(`${n}Info`),{...e.info,pure:t.value}))):null}}),Mh=z({name:"PrintButton",setup(){const e=dn(),t=de();return()=>e.value.print===!1?null:f("button",{type:"button",class:"print-button",title:t.value.metaLocales.print,onClick:()=>{window.print()}},f(Lu))}}),Nh=z({name:"TOC",props:{items:{type:Array,default:()=>[]},headerDepth:{type:Number,default:2}},slots:Object,setup(e,{slots:t}){const n=cn(),r=we(),o=Kt(),[s,l]=pr(),a=Me(),i=Y("-1.7rem"),c=d=>{var p;(p=a.value)==null||p.scrollTo({top:d,behavior:"smooth"})},u=()=>{if(a.value){const d=document.querySelector(".vp-toc-item.active");d?i.value=`${d.getBoundingClientRect().top-a.value.getBoundingClientRect().top+a.value.scrollTop}px`:i.value="-1.7rem"}else i.value="-1.7rem"};return ve(()=>{ie(()=>n.hash,d=>{if(a.value){const p=document.querySelector(`#toc a.toc-link[href$="${d}"]`);if(!p)return;const{top:v,height:g}=a.value.getBoundingClientRect(),{top:_,height:w}=p.getBoundingClientRect();_<v?c(a.value.scrollTop+_-v):_+w>v+g&&c(a.value.scrollTop+_+w-v-g)}}),ie(()=>n.fullPath,u,{flush:"post",immediate:!0})}),()=>{var g,_;const d=({title:w,level:b,slug:C})=>f(We,{to:`#${C}`,class:["vp-toc-link",`level${b}`],onClick:()=>{l()}},()=>w),p=(w,b)=>w.length&&b>0?f("ul",{class:"vp-toc-list"},w.map(C=>{const y=p(C.children,b-1);return[f("li",{class:["vp-toc-item",{active:n.hash===`#${C.slug}`}]},d(C)),y?f("li",y):null]})):null,v=e.items.length?p(e.items,e.headerDepth):r.value.headers?p(r.value.headers,e.headerDepth):null;return v?f("div",{class:"vp-toc-placeholder"},[f("aside",{id:"toc"},[(g=t.before)==null?void 0:g.call(t),f("div",{class:"vp-toc-header",onClick:()=>{l()}},[o.value.toc,f(Mh),f("div",{class:["arrow",s.value?"down":"end"]})]),f("div",{class:["vp-toc-wrapper",s.value?"open":""],ref:a},[v,f("div",{class:"vp-toc-marker",style:{top:i.value}})]),(_=t.after)==null?void 0:_.call(t)])]):null}}}),Ru=z({name:"SkipLink",props:{content:{type:String,default:"main-content"}},setup(e){const t=we(),n=de(),r=Me(),o=({target:s})=>{const l=document.querySelector(s.hash);if(l){const a=()=>{l.removeAttribute("tabindex"),l.removeEventListener("blur",a)};l.setAttribute("tabindex","-1"),l.addEventListener("blur",a),l.focus(),window.scrollTo(0,0)}};return ve(()=>{ie(()=>t.value.path,()=>r.value.focus())}),()=>[f("span",{ref:r,tabindex:"-1"}),f("a",{href:`#${e.content}`,class:"vp-skip-link sr-only",onClick:o},n.value.routeLocales.skipToContent)]}});let Go=null,Un=null;const Dh={wait:()=>Go,pending:()=>{Go=new Promise(e=>{Un=e})},resolve:()=>{Un==null||Un(),Go=null,Un=null}},Pu=()=>Dh;var Mu=z({name:"FadeSlideY",slots:Object,setup(e,{slots:t}){const{resolve:n,pending:r}=Pu();return()=>f(Wt,{name:"fade-slide-y",mode:"out-in",onBeforeEnter:n,onBeforeLeave:r},()=>{var o;return(o=t.default)==null?void 0:o.call(t)})}});const jh=(e,t)=>{const n=e.replace(t,"/").split("/"),r=[];let o=qs(t);return n.forEach((s,l)=>{l!==n.length-1?(o+=`${s}/`,r.push({link:o,name:s||"Home"})):s!==""&&(o+=s,r.push({link:o,name:s}))}),r},Nu=(e,{slots:t})=>{var d,p;const{bgImage:n,bgImageDark:r,bgImageStyle:o,color:s,description:l,image:a,imageDark:i,header:c,features:u=[]}=e;return f("div",{class:"vp-feature-wrapper"},[n?f("div",{class:["vp-feature-bg",{light:r}],style:[{"background-image":`url(${n})`},o]}):null,r?f("div",{class:"vp-feature-bg dark",style:[{"background-image":`url(${r})`},o]}):null,f("div",{class:"vp-feature",style:s?{color:s}:{}},[((d=t.image)==null?void 0:d.call(t,e))||[a?f("img",{class:["vp-feature-image",{light:i}],src:He(a),alt:""}):null,i?f("img",{class:"vp-feature-image dark",src:He(i),alt:""}):null],((p=t.info)==null?void 0:p.call(t,e))||[c?f("h2",{class:"vp-feature-header"},c):null,l?f("p",{class:"vp-feature-description",innerHTML:l}):null],u.length?f("div",{class:"vp-features"},u.map(({icon:v,title:g,details:_,link:w})=>{const b=[f("h3",{class:"vp-feature-title"},[f(Ve,{icon:v}),f("span",{innerHTML:g})]),f("p",{class:"vp-feature-details",innerHTML:_})];return w?On(w)?f("a",{class:"vp-feature-item link",href:w,"aria-label":g,target:"_blank"},b):f(We,{class:"vp-feature-item link",to:w,"aria-label":g},()=>b):f("div",{class:"vp-feature-item"},b)})):null])])};Nu.displayName="FeaturePanel";var Ia=Nu,Fh=z({name:"HeroInfo",slots:Object,setup(e,{slots:t}){const n=_e(),r=Ys(),o=x(()=>n.value.heroFullScreen??!1),s=x(()=>{const{heroText:c,tagline:u}=n.value;return{text:c??r.value.title??"Hello",tagline:u??r.value.description??"",isFullScreen:o.value}}),l=x(()=>{const{heroText:c,heroImage:u,heroImageDark:d,heroAlt:p,heroImageStyle:v}=n.value;return{image:u?He(u):null,imageDark:d?He(d):null,style:v,alt:p||c||"",isFullScreen:o.value}}),a=x(()=>{const{bgImage:c,bgImageDark:u,bgImageStyle:d}=n.value;return{image:Ce(c)?He(c):null,imageDark:Ce(u)?He(u):null,bgStyle:d,isFullScreen:o.value}}),i=x(()=>n.value.actions??[]);return()=>{var c,u,d;return f("header",{class:["vp-hero-info-wrapper",{fullscreen:o.value}]},[((c=t.heroBg)==null?void 0:c.call(t,a.value))||[a.value.image?f("div",{class:["vp-hero-mask",{light:a.value.imageDark}],style:[{"background-image":`url(${a.value.image})`},a.value.bgStyle]}):null,a.value.imageDark?f("div",{class:"vp-hero-mask dark",style:[{"background-image":`url(${a.value.imageDark})`},a.value.bgStyle]}):null],f("div",{class:"vp-hero-info"},[((u=t.heroImage)==null?void 0:u.call(t,l.value))||f(bn,{appear:!0,type:"group"},()=>[l.value.image?f("img",{key:"light",class:["vp-hero-image",{light:l.value.imageDark}],style:l.value.style,src:l.value.image,alt:l.value.alt}):null,l.value.imageDark?f("img",{key:"dark",class:"vp-hero-image dark",style:l.value.style,src:l.value.imageDark,alt:l.value.alt}):null]),((d=t.heroInfo)==null?void 0:d.call(t,s.value))??f("div",{class:"vp-hero-infos"},[s.value.text?f(bn,{appear:!0,delay:.04},()=>f("h1",{id:"main-title"},s.value.text)):null,s.value.tagline?f(bn,{appear:!0,delay:.08},()=>f("p",{id:"main-description",innerHTML:s.value.tagline})):null,i.value.length?f(bn,{appear:!0,delay:.12},()=>f("p",{class:"vp-hero-actions"},i.value.map(p=>f(Ge,{class:["vp-hero-action",p.type||"default"],config:p,noExternalLinkIcon:!0},p.icon?{before:()=>f(Ve,{icon:p.icon})}:{})))):null])])])}}});const Du=(e,{slots:t})=>{var p,v,g;const{bgImage:n,bgImageDark:r,bgImageStyle:o,color:s,description:l,image:a,imageDark:i,header:c,highlights:u=[],type:d="un-order"}=e;return f("div",{class:"vp-highlight-wrapper",style:s?{color:s}:{}},[n?f("div",{class:["vp-highlight-bg",{light:r}],style:[{"background-image":`url(${n})`},o]}):null,r?f("div",{class:"vp-highlight-bg dark",style:[{"background-image":`url(${r})`},o]}):null,f("div",{class:"vp-highlight"},[((p=t.image)==null?void 0:p.call(t,e))||[a?f("img",{class:["vp-highlight-image",{light:i}],src:He(a),alt:""}):null,i?f("img",{class:"vp-highlight-image dark",src:He(i),alt:""}):null],((v=t.info)==null?void 0:v.call(t,e))||[f("div",{class:"vp-highlight-info-wrapper"},f("div",{class:"vp-highlight-info"},[c?f("h2",{class:"vp-highlight-header",innerHTML:c}):null,l?f("p",{class:"vp-highlight-description",innerHTML:l}):null,((g=t.highlights)==null?void 0:g.call(t,u))||f(d==="order"?"ol":d==="no-order"?"dl":"ul",{class:"vp-highlights"},u.map(({icon:_,title:w,details:b,link:C})=>{const y=[f(d==="no-order"?"dt":"h3",{class:"vp-highlight-title"},[_?f(Ve,{class:"vp-highlight-icon",icon:_}):null,f("span",{innerHTML:w})]),b?f(d==="no-order"?"dd":"p",{class:"vp-highlight-details",innerHTML:b}):null];return f(d==="no-order"?"div":"li",{class:["vp-highlight-item-wrapper",{link:C}]},C?On(C)?f("a",{class:"vp-highlight-item link",href:C,"aria-label":w,target:"_blank"},y):f(We,{class:"vp-highlight-item link",to:C,"aria-label":w},()=>y):f("div",{class:"vp-highlight-item"},y))}))]))]])])};Du.displayName="HighlightPanel";var Bh=Du,Hh=z({name:"HomePage",slots:Object,setup(e,{slots:t}){const n=Ir(),r=_e(),o=x(()=>{const{features:l}=r.value;return ps(l)?l:null}),s=x(()=>{const{highlights:l}=r.value;return ps(l)?l:null});return()=>{var l,a,i,c;return f("main",{id:"main-content",class:["vp-project-home ",{pure:n.value}],"aria-labelledby":r.value.heroText===null?"":"main-title"},[(l=t.top)==null?void 0:l.call(t),f(Fh),((a=s.value)==null?void 0:a.map(u=>"features"in u?f(Ia,u):f(Bh,u)))||(o.value?f(bn,{appear:!0,delay:.24},()=>f(Ia,{features:o.value})):null),(i=t.center)==null?void 0:i.call(t),f(bn,{appear:!0,delay:.32},()=>f(Su)),(c=t.bottom)==null?void 0:c.call(t)])}}}),Vh=z({name:"BreadCrumb",setup(){const e=we(),t=un(),n=_e(),r=de(),o=Me([]),s=x(()=>(n.value.breadcrumb||n.value.breadcrumb!==!1&&r.value.breadcrumb!==!1)&&o.value.length>1),l=x(()=>n.value.breadcrumbIcon||n.value.breadcrumbIcon!==!1&&r.value.breadcrumbIcon!==!1),a=()=>{const i=jh(e.value.path,t.value).map(({link:c,name:u})=>{const{path:d,meta:p,notFound:v}=go(c);return v||p[wt.breadcrumbExclude]?null:{title:p[wt.shortTitle]||p[wt.title]||u,icon:p[wt.icon],path:d}}).filter(c=>c!==null);i.length>1&&(o.value=i)};return ve(()=>{ie(()=>e.value.path,a,{immediate:!0})}),()=>f("nav",{class:["vp-breadcrumb",{disable:!s.value}]},s.value?f("ol",{vocab:"https://schema.org/",typeof:"BreadcrumbList"},o.value.map((i,c)=>f("li",{class:{"is-active":o.value.length-1===c},property:"itemListElement",typeof:"ListItem"},[f(We,{to:i.path,property:"item",typeof:"WebPage"},()=>[l.value?f(Ve,{icon:i.icon}):null,f("span",{property:"name"},i.title||"Unknown")]),f("meta",{property:"position",content:c+1})]))):[])}});const $a=e=>e===!1||Fn(e)?e:Ce(e)?An(e,!0):null,ys=(e,t,n)=>{const r=e.findIndex(o=>o.link===t);if(r!==-1){const o=e[r+n];return o!=null&&o.link?o:null}for(const o of e)if("children"in o){const s=ys(o.children,t,n);if(s)return s}return null};var zh=z({name:"PageNav",setup(){const e=de(),t=_e(),n=ol(),r=we(),o=rl(),s=x(()=>{const a=$a(t.value.prev);return a===!1?null:a||(e.value.prevLink===!1?null:ys(n.value,r.value.path,-1))}),l=x(()=>{const a=$a(t.value.next);return a===!1?null:a||(e.value.nextLink===!1?null:ys(n.value,r.value.path,1))});return Le("keydown",a=>{a.altKey&&(a.key==="ArrowRight"?l.value&&(o(l.value.link),a.preventDefault()):a.key==="ArrowLeft"&&s.value&&(o(s.value.link),a.preventDefault()))}),()=>s.value||l.value?f("nav",{class:"vp-page-nav"},[s.value?f(Ge,{class:"prev",config:s.value},()=>{var a,i;return[f("div",{class:"hint"},[f("span",{class:"arrow start"}),e.value.metaLocales.prev]),f("div",{class:"link"},[f(Ve,{icon:(a=s.value)==null?void 0:a.icon}),(i=s.value)==null?void 0:i.text])]}):null,l.value?f(Ge,{class:"next",config:l.value},()=>{var a,i;return[f("div",{class:"hint"},[e.value.metaLocales.next,f("span",{class:"arrow end"})]),f("div",{class:"link"},[(a=l.value)==null?void 0:a.text,f(Ve,{icon:(i=l.value)==null?void 0:i.icon})])]}):null]):null}});const qh={GitHub:":repo/edit/:branch/:path",GitLab:":repo/-/edit/:branch/:path",Gitee:":repo/edit/:branch/:path",Bitbucket:":repo/src/:branch/:path?mode=edit&spa=0&at=:branch&fileviewer=file-view-default"},Uh=({docsRepo:e,docsBranch:t,docsDir:n,filePathRelative:r,editLinkPattern:o})=>{if(!r)return null;const s=Jc(e);let l;return o?l=o:s!==null&&(l=qh[s]),l?l.replace(/:repo/u,ln(e)?e:`https://github.com/${e}`).replace(/:branch/u,t).replace(/:path/u,Qi(`${qs(n)}/${r}`)):null},Wh=()=>{const e=de(),t=we(),n=_e();return x(()=>{const{repo:r,docsRepo:o=r,docsBranch:s="main",docsDir:l="",editLink:a,editLinkPattern:i=""}=e.value;if(!(n.value.editLink??a??!0)||!o)return null;const c=Uh({docsRepo:o,docsBranch:s,docsDir:l,editLinkPattern:i,filePathRelative:t.value.filePathRelative});return c?{text:e.value.metaLocales.editLink,link:c}:null})},Gh=()=>{const e=Ys(),t=de(),n=we(),r=_e();return x(()=>{var o,s;return!(r.value.lastUpdated??t.value.lastUpdated??!0)||!((o=n.value.git)!=null&&o.updatedTime)?null:new Date((s=n.value.git)==null?void 0:s.updatedTime).toLocaleString(e.value.lang)})},Kh=()=>{const e=de(),t=we(),n=_e();return x(()=>{var r;return n.value.contributors??e.value.contributors??!0?((r=t.value.git)==null?void 0:r.contributors)??null:null})};var Yh=z({name:"PageTitle",setup(){const e=we(),t=_e(),n=de(),{info:r,items:o}=eh();return()=>f("div",{class:"vp-page-title"},[f("h1",[n.value.titleIcon===!1?null:f(Ve,{icon:t.value.icon}),e.value.title]),f(Ph,{info:r.value,...o.value===null?{}:{items:o.value}}),f("hr")])}});const ju=()=>f(ke,{name:"edit"},()=>[f("path",{d:"M430.818 653.65a60.46 60.46 0 0 1-50.96-93.281l71.69-114.012 7.773-10.365L816.038 80.138A60.46 60.46 0 0 1 859.225 62a60.46 60.46 0 0 1 43.186 18.138l43.186 43.186a60.46 60.46 0 0 1 0 86.373L588.879 565.55l-8.637 8.637-117.466 68.234a60.46 60.46 0 0 1-31.958 11.229z"}),f("path",{d:"M728.802 962H252.891A190.883 190.883 0 0 1 62.008 771.98V296.934a190.883 190.883 0 0 1 190.883-192.61h267.754a60.46 60.46 0 0 1 0 120.92H252.891a69.962 69.962 0 0 0-69.098 69.099V771.98a69.962 69.962 0 0 0 69.098 69.098h475.911A69.962 69.962 0 0 0 797.9 771.98V503.363a60.46 60.46 0 1 1 120.922 0V771.98A190.883 190.883 0 0 1 728.802 962z"})]);ju.displayName="EditIcon";var Jh=z({name:"PageMeta",setup(){const e=de(),t=Wh(),n=Gh(),r=Kh();return()=>{const{metaLocales:o}=e.value;return f("footer",{class:"page-meta"},[t.value?f("div",{class:"meta-item edit-link"},f(Ge,{class:"label",config:t.value},{before:()=>f(ju)})):null,f("div",{class:"meta-item git-info"},[n.value?f("div",{class:"update-time"},[f("span",{class:"label"},`${o.lastUpdated}: `),f(yo,()=>f("span",{class:"info"},n.value))]):null,r.value&&r.value.length?f("div",{class:"contributors"},[f("span",{class:"label"},`${o.contributors}: `),r.value.map(({email:s,name:l},a)=>[f("span",{class:"contributor",title:`email: ${s}`},l),a!==r.value.length-1?",":""])]):null])])}}}),Qh=z({name:"NormalPage",slots:Object,setup(e,{slots:t}){const n=_e(),{isDarkmode:r}=$r(),o=de(),s=x(()=>n.value.toc||n.value.toc!==!1&&o.value.toc!==!1);return()=>f("main",{id:"main-content",class:"vp-page"},f(at("LocalEncrypt")?pt("LocalEncrypt"):Hc,()=>{var l,a,i,c;return[(l=t.top)==null?void 0:l.call(t),n.value.cover?f("div",{class:"page-cover"},f("img",{src:He(n.value.cover),alt:"","no-view":""})):null,f(Vh),f(Yh),s.value?f(Nh,{headerDepth:n.value.headerDepth??o.value.headerDepth??2},{before:()=>{var u;return(u=t.tocBefore)==null?void 0:u.call(t)},after:()=>{var u;return(u=t.tocAfter)==null?void 0:u.call(t)}}):null,(a=t.contentBefore)==null?void 0:a.call(t),f(Su),(i=t.contentAfter)==null?void 0:i.call(t),f(Jh),f(zh),at("CommentService")?f(pt("CommentService"),{darkmode:r.value}):null,(c=t.bottom)==null?void 0:c.call(t)]}))}}),Xh=z({name:"Layout",slots:Object,setup(e,{slots:t}){de();const n=we(),r=_e(),{isMobile:o}=wo(),s=x(()=>"none");return()=>[f(Ru),f(ku,{},{default:()=>{var l;return((l=t.default)==null?void 0:l.call(t))||(r.value.home?f(Hh):f(Mu,()=>f(Qh,{key:n.value.path},{top:()=>{var a;return(a=t.top)==null?void 0:a.call(t)},bottom:()=>{var a;return(a=t.bottom)==null?void 0:a.call(t)},contentBefore:()=>{var a;return(a=t.contentBefore)==null?void 0:a.call(t)},contentAfter:()=>{var a;return(a=t.contentAfter)==null?void 0:a.call(t)},tocBefore:()=>{var a;return(a=t.tocBefore)==null?void 0:a.call(t)},tocAfter:()=>{var a;return(a=t.tocAfter)==null?void 0:a.call(t)}})))},...s.value==="none"?{}:{navScreenBottom:()=>f(pt("BloggerInfo"))},...!o.value&&s.value==="always"?{sidebar:()=>f(pt("BloggerInfo"))}:{}})]}}),Zh=z({name:"NotFoundHint",setup(){const e=de(),t=()=>{const n=e.value.routeLocales.notFoundMsg;return n[Math.floor(Math.random()*n.length)]};return()=>f("div",{class:"not-found-hint"},[f("p",{class:"error-code"},"404"),f("h1",{class:"error-title"},e.value.routeLocales.notFoundTitle),f("p",{class:"error-hint"},t())])}}),e4=z({name:"NotFound",slots:Object,setup(e,{slots:t}){const n=an(),r=un(),o=de();return()=>[f(Ru),f(ku,{noSidebar:!0},()=>{var s;return f("main",{id:"main-content",class:"vp-page not-found"},((s=t.default)==null?void 0:s.call(t))||[f(Zh),f("div",{class:"actions"},[f("button",{type:"button",class:"action-button",onClick:()=>{window.history.go(-1)}},o.value.routeLocales.back),f("button",{type:"button",class:"action-button",onClick:()=>{n.push(o.value.home??r.value)}},o.value.routeLocales.home)])])})]}});const Fu=()=>f(ke,{name:"lock"},()=>f("path",{d:"M787.168 952.268H236.832c-30.395 0-55.033-24.638-55.033-55.033V429.45c0-30.395 24.638-55.034 55.033-55.034h82.55V264.35c0-106.38 86.238-192.618 192.618-192.618S704.618 157.97 704.618 264.35v110.066h82.55c30.395 0 55.033 24.639 55.033 55.034v467.785c0 30.395-24.639 55.033-55.033 55.033zM484.483 672.046v115.122h55.034V672.046c31.99-11.373 55.033-41.605 55.033-77.496 0-45.592-36.958-82.55-82.55-82.55s-82.55 36.958-82.55 82.55c0 35.89 23.042 66.123 55.033 77.496zM622.067 264.35c0-60.788-49.28-110.067-110.067-110.067s-110.067 49.28-110.067 110.067v110.066h220.135V264.35z"}));Fu.displayName="LockIcon";var t4={};const hn="./ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),Ko=Array.from({length:64},(e,t)=>t),Wr=e=>Array(e).fill(-1),Pt=[...Wr(46),0,1,...Ko.slice(54,64),...Wr(7),...Ko.slice(2,28),...Wr(6),...Ko.slice(28,54),...Wr(5)],Oa=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],Ra=[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946,1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055,3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504,976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462],Bu=[1332899944,1700884034,1701343084,1684370003,1668446532,1869963892],bs=(e,t)=>{if(t<=0||t>e.length)throw Error(`Illegal len: ${t}`);let n=0,r,o;const s=[];for(;n<t;){if(r=e[n++]&255,s.push(hn[r>>2&63]),r=(r&3)<<4,n>=t){s.push(hn[r&63]);break}if(o=e[n++]&255,r|=o>>4&15,s.push(hn[r&63]),r=(o&15)<<2,n>=t){s.push(hn[r&63]);break}o=e[n++]&255,r|=o>>6&3,s.push(hn[r&63]),s.push(hn[o&63])}return s.join("")},n4=(e,t)=>{if(t<=0)throw Error(`Illegal len: ${t}`);const n=e.length;let r=0,o=0,s,l,a,i,c,u;const d=[];for(;r<n-1&&o<t&&(u=e.charCodeAt(r++),s=u<Pt.length?Pt[u]:-1,u=e.charCodeAt(r++),l=u<Pt.length?Pt[u]:-1,!(s==-1||l==-1||(c=s<<2>>>0,c|=(l&48)>>4,d.push(String.fromCharCode(c)),++o>=t||r>=n)||(u=e.charCodeAt(r++),a=u<Pt.length?Pt[u]:-1,a==-1)||(c=(l&15)<<4>>>0,c|=(a&60)>>2,d.push(String.fromCharCode(c)),++o>=t||r>=n)));)u=e.charCodeAt(r++),i=u<Pt.length?Pt[u]:-1,c=(a&3)<<6>>>0,c|=i,d.push(String.fromCharCode(c)),++o;return d.map(p=>p.charCodeAt(0))},r4=(e,t)=>{let n=null;for(typeof e=="number"&&(n=e,e=()=>null);n!==null||(n=e())!==null;)n<128?t(n&127):n<2048?(t(n>>6&31|192),t(n&63|128)):n<65536?(t(n>>12&15|224),t(n>>6&63|128),t(n&63|128)):(t(n>>18&7|240),t(n>>12&63|128),t(n>>6&63|128),t(n&63|128)),n=null},o4=(e,t)=>{let n,r=null;for(;(n=r!==null?r:e())!==null;){if(n>=55296&&n<=57343&&(r=e())!==null&&r>=56320&&r<=57343){t((n-55296)*1024+r-56320+65536),r=null;continue}t(n)}r!==null&&t(r)},s4=(e,t)=>{o4(e,function(n){r4(n,t)})},l4=typeof process=="object"&&t4.NEXT_RUNTIME==="edge"?setTimeout:typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:setTimeout,a4=e=>{const t=[];let n=0;return s4(()=>n>=e.length?null:e.charCodeAt(n++),r=>{t.push(r)}),t},mr=(e,t,n,r)=>{let o,s=e[t],l=e[t+1];return s^=n[0],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],l^=o^n[1],o=r[l>>>24],o+=r[256|l>>16&255],o^=r[512|l>>8&255],o+=r[768|l&255],s^=o^n[2],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],l^=o^n[3],o=r[l>>>24],o+=r[256|l>>16&255],o^=r[512|l>>8&255],o+=r[768|l&255],s^=o^n[4],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],l^=o^n[5],o=r[l>>>24],o+=r[256|l>>16&255],o^=r[512|l>>8&255],o+=r[768|l&255],s^=o^n[6],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],l^=o^n[7],o=r[l>>>24],o+=r[256|l>>16&255],o^=r[512|l>>8&255],o+=r[768|l&255],s^=o^n[8],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],l^=o^n[9],o=r[l>>>24],o+=r[256|l>>16&255],o^=r[512|l>>8&255],o+=r[768|l&255],s^=o^n[10],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],l^=o^n[11],o=r[l>>>24],o+=r[256|l>>16&255],o^=r[512|l>>8&255],o+=r[768|l&255],s^=o^n[12],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],l^=o^n[13],o=r[l>>>24],o+=r[256|l>>16&255],o^=r[512|l>>8&255],o+=r[768|l&255],s^=o^n[14],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],l^=o^n[15],o=r[l>>>24],o+=r[256|l>>16&255],o^=r[512|l>>8&255],o+=r[768|l&255],s^=o^n[16],e[t]=l^n[17],e[t+1]=s,e},mn=(e,t)=>{let n=0;for(let r=0;r<4;++r)n=n<<8|e[t]&255,t=(t+1)%e.length;return{key:n,offp:t}},Pa=(e,t,n)=>{const r=t.length,o=n.length;let s=0,l=[0,0],a;for(let i=0;i<r;i++)a=mn(e,s),s=a.offp,t[i]=t[i]^a.key;for(let i=0;i<r;i+=2)l=mr(l,0,t,n),t[i]=l[0],t[i+1]=l[1];for(let i=0;i<o;i+=2)l=mr(l,0,t,n),n[i]=l[0],n[i+1]=l[1]},i4=(e,t,n,r)=>{const o=n.length,s=r.length;let l=0,a=[0,0],i;for(let c=0;c<o;c++)i=mn(t,l),l=i.offp,n[c]=n[c]^i.key;l=0;for(let c=0;c<o;c+=2)i=mn(e,l),l=i.offp,a[0]^=i.key,i=mn(e,l),l=i.offp,a[1]^=i.key,a=mr(a,0,n,r),n[c]=a[0],n[c+1]=a[1];for(let c=0;c<s;c+=2)i=mn(e,l),l=i.offp,a[0]^=i.key,i=mn(e,l),l=i.offp,a[1]^=i.key,a=mr(a,0,n,r),r[c]=a[0],r[c+1]=a[1]},Ma=(e,t,n,r,o)=>{const s=Bu.slice(),l=s.length;if(n<4||n>31){const p=new Error(`Illegal number of rounds (4-31): ${n}`);if(r===!1)return Promise.reject(p);throw p}if(t.length!==16){const p=new Error(`Illegal salt length: ${t.length} != 16`);if(r===!1)return Promise.reject(p);throw p}n=1<<n>>>0;let a,i,c=0,u;Int32Array?(a=new Int32Array(Oa),i=new Int32Array(Ra)):(a=Oa.slice(),i=Ra.slice()),i4(t,e,a,i);const d=()=>{if(o&&o(c/n),c<n){const p=Date.now();for(;c<n&&(c=c+1,Pa(e,a,i),Pa(t,a,i),!(Date.now()-p>100)););}else{for(c=0;c<64;c++)for(u=0;u<l>>1;u++)mr(s,u<<1,a,i);const p=[];for(c=0;c<l;c++)p.push((s[c]>>24&255)>>>0),p.push((s[c]>>16&255)>>>0),p.push((s[c]>>8&255)>>>0),p.push((s[c]&255)>>>0);return r===!1?Promise.resolve(p):p}if(r===!1)return new Promise(p=>l4(()=>{d().then(p)}))};if(r===!1)return d();{let p;for(;;)if(typeof(p=d())<"u")return p||[]}},c4=e=>{try{let t;typeof window<"u"?t=window.crypto??window.msCrypto:t=globalThis.crypto;const n=new Uint32Array(e);return t==null||t.getRandomValues(n),Array.from(n)}catch{throw Error("WebCryptoAPI is not available")}},u4=(e=10)=>{if(typeof e!="number")throw Error("Illegal arguments: "+typeof e);e<4?e=4:e>31&&(e=31);const t=[];return t.push("$2a$"),e<10&&t.push("0"),t.push(e.toString()),t.push("$"),t.push(bs(c4(16),16)),t.join("")};function f4(e,t,n,r){if(typeof e!="string"||typeof t!="string"){const v=new Error("Invalid string / salt: Not a string");if(n===!1)return Promise.reject(v);throw v}let o,s;if(t.charAt(0)!=="$"||t.charAt(1)!=="2"){const v=new Error("Invalid salt version: "+t.substring(0,2));if(n===!1)return Promise.reject(v);throw v}if(t.charAt(2)==="$")o="\0",s=3;else{if(o=t.charAt(2),o!=="a"&&o!=="b"&&o!=="y"||t.charAt(3)!=="$"){const v=Error("Invalid salt revision: "+t.substring(2,4));if(n===!1)return Promise.reject(v);throw v}s=4}if(t.charAt(s+2)>"$"){const v=new Error("Missing salt rounds");if(n===!1)return Promise.reject(v);throw v}const l=parseInt(t.substring(s,s+1),10)*10,a=parseInt(t.substring(s+1,s+2),10),i=l+a,c=t.substring(s+3,s+25);e+=o>="a"?"\0":"";const u=a4(e),d=n4(c,16),p=v=>{const g=[];return g.push("$2"),o>="a"&&g.push(o),g.push("$"),i<10&&g.push("0"),g.push(i.toString()),g.push("$"),g.push(bs(d,d.length)),g.push(bs(v,Bu.length*4-1)),g.join("")};return n===!1?Ma(u,d,i,!1,r).then(v=>p(v)):p(Ma(u,d,i,!0,r))}const d4=(e,t=10)=>{if(typeof t=="number"&&(t=u4(t)),typeof e!="string"||typeof t!="string")throw Error("Illegal arguments: "+typeof e+", "+typeof t);return f4(e,t,!0)},ws=(e,t)=>{if(typeof e!="string"||typeof t!="string")throw Error("Illegal arguments: "+typeof e+", "+typeof t);return t.length!==60?!1:d4(e,t.substring(0,t.length-31))===t};var Hu=z({name:"PasswordModal",props:{full:Boolean},emits:["verify"],setup(e,{emit:t}){const n=_e(),r=de(),o=Y(""),s=Y(!1),l=Y(!1),a=x(()=>r.value.encryptLocales);let i=null;const c=()=>{i&&clearTimeout(i),s.value=!1,t("verify",o.value,l.value),Gt().then(()=>{s.value=!0,i=setTimeout(()=>{s.value=!1},1e3)})};return()=>f("div",{class:["vp-decrypt-layer",{expand:e.full||n.value.home}]},f("div",{class:"vp-decrypt-modal"},[f("div",{class:["vp-decrypt-hint",{tried:s.value}]},s.value?a.value.errorHint:f(Fu,{"aria-label":a.value.iconLabel})),f("div",{class:"vp-decrypt-input"},[f("input",{type:"password",value:o.value,placeholder:a.value.placeholder,onInput:({target:u})=>{o.value=u.value},onKeydown:({key:u})=>{u==="Enter"&&c()}})]),f("div",{class:"vp-remember-password"},[f("input",{type:"checkbox",value:l.value,onChange:()=>l.value=!l.value}),a.value.remember]),f("button",{type:"button",class:"vp-decrypt-submit",onClick:()=>c()},"OK")]))}});const Vu=()=>{const e=dn();return x(()=>e.value.encrypt||{})},Na="VUEPRESS_HOPE_GLOBAL_TOKEN",p4=()=>{const e=Vu(),t=Hn(Na,""),n=Tc(Na,""),r=x(()=>{const{global:s=!1,admin:l=[]}=e.value;return s&&l.length>0}),o=x(()=>{if(r.value){if(t.value)return e.value.admin.some(s=>ws(t.value,s));if(n.value)return e.value.admin.some(s=>ws(n.value,s))}return!1});return{isEncrypted:r,isDecrypted:o,validate:(s,l=!1)=>{(l?t:n).value=s}}},Yo=(e="",t)=>!!e&&ws(e,t),Da="VUEPRESS_HOPE_PATH_TOKEN",h4=()=>{const e=we(),t=Vu(),n=Hn(Da,{}),r=Tc(Da,{}),o=l=>Fn(t.value.config)?fn(t.value.config).filter(a=>Mn(decodeURI(l),a)).sort((a,i)=>i.length-a.length):[],s=l=>{const a=o(l);if(a.length>0){const{config:i={}}=t.value;return{isEncrypted:!0,isDecrypted:a.some(c=>n.value[c]&&i[c].some(u=>Yo(n.value[c],u))||r.value[c]&&i[c].some(u=>Yo(r.value[c],u)))}}return{isDecrypted:!1,isEncrypted:!1}};return{status:x(()=>s(e.value.path)),getStatus:s,validate:(l,a=!1)=>{const{config:i={}}=t.value,c=o(e.value.path);for(const u of c)if(i[u].filter(d=>Yo(l,d))){(a?n:r).value[u]=l;break}}}};var v4=z({name:"GlobalEncrypt",slots:Object,setup(e,{slots:t}){const{isDecrypted:n,isEncrypted:r,validate:o}=p4(),s=Y(!1);return ve(()=>{s.value=!0}),()=>f(Mu,()=>r.value?s.value?n.value?t.default():f(Hu,{full:!0,onVerify:o}):null:t.default())}}),m4=z({name:"LocalEncrypt",slots:Object,setup(e,{slots:t}){const{status:n,validate:r}=h4(),o=Y(!1);return ve(()=>{o.value=!0}),()=>{const{isEncrypted:s,isDecrypted:l}=n.value;return s?o.value?l?t.default():f(Hu,{full:!0,onVerify:r}):null:t.default()}}});J2(e=>{const t=e.t,n=e.I!==!1,r=e.i;return n?{title:t,content:r?()=>[f(Ve,{icon:r}),t]:null,order:e.O,index:e.I}:null});const g4=Ye({enhance:({app:e,router:t})=>{const{scrollBehavior:n}=t.options;t.options.scrollBehavior=async(...r)=>(await Pu().wait(),n(...r)),rh(e),e.component("HopeIcon",Ve),e.component("GlobalEncrypt",v4),e.component("LocalEncrypt",m4)},setup:()=>{oh(),ch()},layouts:{Layout:Xh,NotFound:e4}}),y4=e=>(hi("data-v-499ce1fc"),e=e(),vi(),e),b4={class:"item-card"},w4={class:"item-name"},_4={class:"item-description"},E4={class:"item-bar"},C4=["href"],k4=y4(()=>qe("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},[qe("path",{fill:"currentColor",d:"m7.775 3.275l1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0a.751.751 0 0 1 .018-1.042a.751.751 0 0 1 1.042-.018a1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018a.751.751 0 0 1-.018-1.042m-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018a.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0a.751.751 0 0 1-.018 1.042a.751.751 0 0 1-1.042.018a1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83"})],-1)),S4=[k4],x4=["href"],T4=["src"],A4={class:"author-name"},L4=z({__name:"ItemCard",props:{item:Object},setup(e){const t=e;return(n,r)=>(er(),os("div",b4,[qe("div",w4,Co(t.item.name),1),qe("div",_4,Co(t.item.description),1),qe("div",E4,[Fi(' 三个可点击svg,一个github,一个下载,一个可点击"https://github.com/{{ username }}.png?size=80"个人头像配上id'),qe("a",{href:t.item.link,class:""},S4,8,C4),qe("div",null,[qe("a",{class:"author-info",href:`https://github.com/${t.item.author}`},[qe("img",{class:"icon avatar",src:`https://github.com/${t.item.author}.png?size=80`,alt:""},null,8,T4),qe("div",A4,Co(t.item.author),1)],8,x4)])])]))}}),zu=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},I4=zu(L4,[["__scopeId","data-v-499ce1fc"],["__file","ItemCard.vue"]]),$4=e=>(hi("data-v-a64baff5"),e=e(),vi(),e),O4=$4(()=>qe("h1",null,"主题/资源商店",-1)),R4={class:"market"},P4=z({__name:"store",setup(e){let t=Y([]);return fetch("/assets/resources.json").then(n=>n.json()).then(n=>{t.value=n}).catch(n=>console.error(n)),(n,r)=>(er(),os("div",null,[O4,qe("div",R4,[Fi(" 布局商品"),(er(!0),os(Ue,null,c1(Vt(t),o=>(er(),Ni(I4,{key:o.id,item:o},null,8,["item"]))),128))])]))}}),M4=zu(P4,[["__scopeId","data-v-a64baff5"],["__file","store.vue"]]),N4=Ye({enhance:({app:e,router:t,siteData:n})=>{e.component("storeComp",M4)}}),Gr=[K0,z2,Y2,tp,op,ip,dp,gp,Sp,Np,d3,x3,z3,g4,N4],D4=JSON.parse('{"base":"/","lang":"zh-CN","title":"LiteyukiBot 轻雪机器人","description":"LiteyukiBot | 轻雪机器人 | An OneBot Standard ChatBot | 一个OneBot标准的聊天机器人","head":[["link",{"rel":"icon","href":"https://cdn.liteyuki.icu/favicon.ico"}],["link",{"rel":"stylesheet","href":"https://cdn.bootcdn.net/ajax/libs/firacode/6.2.0/fira_code.min.css"}],["meta",{"name":"viewport","content":"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"}]],"locales":{}}');var Gn=Me(D4),j4=p0,F4=()=>{const e=j0({history:j4(qs("/")),routes:[{name:"vuepress-route",path:"/:catchAll(.*)",components:{}}],scrollBehavior:(t,n,r)=>r||(t.hash?{el:t.hash}:{top:0})});return e.beforeResolve(async(t,n)=>{if(t.path!==n.path||n===St){const r=go(t.path);if(r.path!==t.path)return r.path;const o=await r.loader();t.meta={...r.meta,_pageChunk:o}}else t.path===n.path&&(t.meta=n.meta)}),e},B4=e=>{e.component("ClientOnly",yo),e.component("Content",uc),e.component("RouteLink",We)},H4=(e,t,n)=>{const r=x(()=>t.currentRoute.value.path),o=Ms((w,b)=>({get(){return w(),t.currentRoute.value.meta._pageChunk},set(C){t.currentRoute.value.meta._pageChunk=C,b()}})),s=x(()=>Qt.resolveLayouts(n)),l=x(()=>Qt.resolveRouteLocale(Gn.value.locales,r.value)),a=x(()=>Qt.resolveSiteLocaleData(Gn.value,l.value)),i=x(()=>o.value.comp),c=x(()=>o.value.data),u=x(()=>c.value.frontmatter),d=x(()=>Qt.resolvePageHeadTitle(c.value,a.value)),p=x(()=>Qt.resolvePageHead(d.value,u.value,a.value)),v=x(()=>Qt.resolvePageLang(c.value,a.value)),g=x(()=>Qt.resolvePageLayout(c.value,s.value)),_={layouts:s,pageData:c,pageComponent:i,pageFrontmatter:u,pageHead:p,pageHeadTitle:d,pageLang:v,pageLayout:g,redirects:us,routeLocale:l,routePath:r,routes:dr,siteData:Gn,siteLocaleData:a};return e.provide(Gs,_),Object.defineProperties(e.config.globalProperties,{$frontmatter:{get:()=>u.value},$head:{get:()=>p.value},$headTitle:{get:()=>d.value},$lang:{get:()=>v.value},$page:{get:()=>c.value},$routeLocale:{get:()=>l.value},$site:{get:()=>Gn.value},$siteLocale:{get:()=>a.value},$withBase:{get:()=>He}}),_},V4=()=>{const e=H0(),t=Ks();let n=[];const r=()=>{e.value.forEach(l=>{const a=z4(l);a&&n.push(a)})},o=()=>{const l=[];return e.value.forEach(a=>{const i=q4(a);i&&l.push(i)}),l},s=()=>{document.documentElement.lang=t.value;const l=o();n.forEach((a,i)=>{const c=l.findIndex(u=>a.isEqualNode(u));c===-1?(a.remove(),delete n[i]):l.splice(c,1)}),l.forEach(a=>document.head.appendChild(a)),n=[...n.filter(a=>!!a),...l]};Sn(q0,s),ve(()=>{r(),ie(e,s,{immediate:!1})})},z4=([e,t,n=""])=>{const r=Object.entries(t).map(([a,i])=>Ce(i)?`[${a}=${JSON.stringify(i)}]`:i===!0?`[${a}]`:"").join(""),o=`head > ${e}${r}`;return Array.from(document.querySelectorAll(o)).find(a=>a.innerText===n)||null},q4=([e,t,n])=>{if(!Ce(e))return null;const r=document.createElement(e);return Fn(t)&&Object.entries(t).forEach(([o,s])=>{Ce(s)?r.setAttribute(o,s):s===!0&&r.setAttribute(o,"")}),Ce(n)&&r.appendChild(document.createTextNode(n)),r},U4=Ed,W4=async()=>{var n;const e=U4({name:"Vuepress",setup(){var s;V4();for(const l of Gr)(s=l.setup)==null||s.call(l);const r=Gr.flatMap(({rootComponents:l=[]})=>l.map(a=>f(a))),o=V0();return()=>[f(o.value),r]}}),t=F4();B4(e),H4(e,t,Gr);for(const r of Gr)await((n=r.enhance)==null?void 0:n.call(r,{app:e,router:t,siteData:Gn}));return e.use(t),{app:e,router:t}};W4().then(({app:e,router:t})=>{t.isReady().then(()=>{e.mount("#app")})});export{zu as _,Ee as a,qe as b,os as c,W4 as createVueApp,ji as d,G4 as e,er as o,pt as r,Bf as w};
|