mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2024-11-15 06:14:25 +08:00
46 lines
321 KiB
JavaScript
46 lines
321 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 Po(e,t){const n=new Set(e.split(","));return t?l=>n.has(l.toLowerCase()):l=>n.has(l)}const Ae={},Ln=[],at=()=>{},cf=()=>!1,wl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),No=e=>e.startsWith("onUpdate:"),Oe=Object.assign,Oo=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},uf=Object.prototype.hasOwnProperty,he=(e,t)=>uf.call(e,t),oe=Array.isArray,Sn=e=>hr(e)==="[object Map]",Qi=e=>hr(e)==="[object Set]",ce=e=>typeof e=="function",Re=e=>typeof e=="string",Un=e=>typeof e=="symbol",ke=e=>e!==null&&typeof e=="object",Xi=e=>(ke(e)||ce(e))&&ce(e.then)&&ce(e.catch),Zi=Object.prototype.toString,hr=e=>Zi.call(e),ff=e=>hr(e).slice(8,-1),ea=e=>hr(e)==="[object Object]",Ro=e=>Re(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Tn=Po(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),vr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},df=/-(\w)/g,dt=vr(e=>e.replace(df,(t,n)=>n?n.toUpperCase():"")),pf=/\B([A-Z])/g,zn=vr(e=>e.replace(pf,"-$1").toLowerCase()),El=vr(e=>e.charAt(0).toUpperCase()+e.slice(1)),Pr=vr(e=>e?`on${El(e)}`:""),Wt=(e,t)=>!Object.is(e,t),tr=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},rr=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ro=e=>{const t=parseFloat(e);return isNaN(t)?e:t},hf=e=>{const t=Re(e)?Number(e):NaN;return isNaN(t)?e:t};let bs;const ta=()=>bs||(bs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function $o(e){if(oe(e)){const t={};for(let n=0;n<e.length;n++){const l=e[n],r=Re(l)?yf(l):$o(l);if(r)for(const o in r)t[o]=r[o]}return t}else if(Re(e)||ke(e))return e}const vf=/;(?![^(]*\))/g,mf=/:([^]+)/,gf=/\/\*[^]*?\*\//g;function yf(e){const t={};return e.replace(gf,"").split(vf).forEach(n=>{if(n){const l=n.split(mf);l.length>1&&(t[l[0].trim()]=l[1].trim())}}),t}function Fo(e){let t="";if(Re(e))t=e;else if(oe(e))for(let n=0;n<e.length;n++){const l=Fo(e[n]);l&&(t+=l+" ")}else if(ke(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const bf="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",_f=Po(bf);function na(e){return!!e||e===""}const Ut=e=>Re(e)?e:e==null?"":oe(e)||ke(e)&&(e.toString===Zi||!ce(e.toString))?JSON.stringify(e,la,2):String(e),la=(e,t)=>t&&t.__v_isRef?la(e,t.value):Sn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[l,r],o)=>(n[Nr(l,o)+" =>"]=r,n),{})}:Qi(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Nr(n))}:Un(t)?Nr(t):ke(t)&&!oe(t)&&!ea(t)?String(t):t,Nr=(e,t="")=>{var n;return Un(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 nt;class kf{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=nt,!t&&nt&&(this.index=(nt.scopes||(nt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=nt;try{return nt=this,t()}finally{nt=n}}}on(){nt=this}off(){nt=this.parent}stop(t){if(this._active){let n,l;for(n=0,l=this.effects.length;n<l;n++)this.effects[n].stop();for(n=0,l=this.cleanups.length;n<l;n++)this.cleanups[n]();if(this.scopes)for(n=0,l=this.scopes.length;n<l;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this._active=!1}}}function wf(e,t=nt){t&&t.active&&t.effects.push(e)}function ra(){return nt}function Ef(e){nt&&nt.cleanups.push(e)}let un;class Mo{constructor(t,n,l,r){this.fn=t,this.trigger=n,this.scheduler=l,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,wf(this,r)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,hn();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(Af(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),vn()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=zt,n=un;try{return zt=!0,un=this,this._runnings++,_s(this),this.fn()}finally{ks(this),this._runnings--,un=n,zt=t}}stop(){var t;this.active&&(_s(this),ks(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function Af(e){return e.value}function _s(e){e._trackId++,e._depsLength=0}function ks(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)oa(e.deps[t],e);e.deps.length=e._depsLength}}function oa(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let zt=!0,oo=0;const sa=[];function hn(){sa.push(zt),zt=!1}function vn(){const e=sa.pop();zt=e===void 0?!0:e}function Do(){oo++}function jo(){for(oo--;!oo&&so.length;)so.shift()()}function ia(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const l=e.deps[e._depsLength];l!==t?(l&&oa(l,e),e.deps[e._depsLength++]=t):e._depsLength++}}const so=[];function aa(e,t,n){Do();for(const l of e.keys()){let r;l._dirtyLevel<t&&(r??(r=e.get(l)===l._trackId))&&(l._shouldSchedule||(l._shouldSchedule=l._dirtyLevel===0),l._dirtyLevel=t),l._shouldSchedule&&(r??(r=e.get(l)===l._trackId))&&(l.trigger(),(!l._runnings||l.allowRecurse)&&l._dirtyLevel!==2&&(l._shouldSchedule=!1,l.scheduler&&so.push(l.scheduler)))}jo()}const ca=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},or=new WeakMap,fn=Symbol(""),io=Symbol("");function Ze(e,t,n){if(zt&&un){let l=or.get(e);l||or.set(e,l=new Map);let r=l.get(n);r||l.set(n,r=ca(()=>l.delete(n))),ia(un,r)}}function Tt(e,t,n,l,r,o){const s=or.get(e);if(!s)return;let i=[];if(t==="clear")i=[...s.values()];else if(n==="length"&&oe(e)){const a=Number(l);s.forEach((c,u)=>{(u==="length"||!Un(u)&&u>=a)&&i.push(c)})}else switch(n!==void 0&&i.push(s.get(n)),t){case"add":oe(e)?Ro(n)&&i.push(s.get("length")):(i.push(s.get(fn)),Sn(e)&&i.push(s.get(io)));break;case"delete":oe(e)||(i.push(s.get(fn)),Sn(e)&&i.push(s.get(io)));break;case"set":Sn(e)&&i.push(s.get(fn));break}Do();for(const a of i)a&&aa(a,4);jo()}function Cf(e,t){var n;return(n=or.get(e))==null?void 0:n.get(t)}const xf=Po("__proto__,__v_isRef,__isVue"),ua=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Un)),ws=Lf();function Lf(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const l=fe(this);for(let o=0,s=this.length;o<s;o++)Ze(l,"get",o+"");const r=l[t](...n);return r===-1||r===!1?l[t](...n.map(fe)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){hn(),Do();const l=fe(this)[t].apply(this,n);return jo(),vn(),l}}),e}function Sf(e){const t=fe(this);return Ze(t,"has",e),t.hasOwnProperty(e)}class fa{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,l){const r=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return l===(r?o?Hf:va:o?ha:pa).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(l)?t:void 0;const s=oe(t);if(!r){if(s&&he(ws,n))return Reflect.get(ws,n,l);if(n==="hasOwnProperty")return Sf}const i=Reflect.get(t,n,l);return(Un(n)?ua.has(n):xf(n))||(r||Ze(t,"get",n),o)?i:$e(i)?s&&Ro(n)?i:i.value:ke(i)?r?Cl(i):Al(i):i}}class da extends fa{constructor(t=!1){super(!1,t)}set(t,n,l,r){let o=t[n];if(!this._isShallow){const a=Fn(o);if(!sr(l)&&!Fn(l)&&(o=fe(o),l=fe(l)),!oe(t)&&$e(o)&&!$e(l))return a?!1:(o.value=l,!0)}const s=oe(t)&&Ro(n)?Number(n)<t.length:he(t,n),i=Reflect.set(t,n,l,r);return t===fe(r)&&(s?Wt(l,o)&&Tt(t,"set",n,l):Tt(t,"add",n,l)),i}deleteProperty(t,n){const l=he(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&l&&Tt(t,"delete",n,void 0),r}has(t,n){const l=Reflect.has(t,n);return(!Un(n)||!ua.has(n))&&Ze(t,"has",n),l}ownKeys(t){return Ze(t,"iterate",oe(t)?"length":fn),Reflect.ownKeys(t)}}class Tf extends fa{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const If=new da,Pf=new Tf,Nf=new da(!0),Bo=e=>e,mr=e=>Reflect.getPrototypeOf(e);function jl(e,t,n=!1,l=!1){e=e.__v_raw;const r=fe(e),o=fe(t);n||(Wt(t,o)&&Ze(r,"get",t),Ze(r,"get",o));const{has:s}=mr(r),i=l?Bo:n?Uo:cl;if(s.call(r,t))return i(e.get(t));if(s.call(r,o))return i(e.get(o));e!==r&&e.get(t)}function Bl(e,t=!1){const n=this.__v_raw,l=fe(n),r=fe(e);return t||(Wt(e,r)&&Ze(l,"has",e),Ze(l,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function Hl(e,t=!1){return e=e.__v_raw,!t&&Ze(fe(e),"iterate",fn),Reflect.get(e,"size",e)}function Es(e){e=fe(e);const t=fe(this);return mr(t).has.call(t,e)||(t.add(e),Tt(t,"add",e,e)),this}function As(e,t){t=fe(t);const n=fe(this),{has:l,get:r}=mr(n);let o=l.call(n,e);o||(e=fe(e),o=l.call(n,e));const s=r.call(n,e);return n.set(e,t),o?Wt(t,s)&&Tt(n,"set",e,t):Tt(n,"add",e,t),this}function Cs(e){const t=fe(this),{has:n,get:l}=mr(t);let r=n.call(t,e);r||(e=fe(e),r=n.call(t,e)),l&&l.call(t,e);const o=t.delete(e);return r&&Tt(t,"delete",e,void 0),o}function xs(){const e=fe(this),t=e.size!==0,n=e.clear();return t&&Tt(e,"clear",void 0,void 0),n}function Vl(e,t){return function(l,r){const o=this,s=o.__v_raw,i=fe(s),a=t?Bo:e?Uo:cl;return!e&&Ze(i,"iterate",fn),s.forEach((c,u)=>l.call(r,a(c),a(u),o))}}function Ul(e,t,n){return function(...l){const r=this.__v_raw,o=fe(r),s=Sn(o),i=e==="entries"||e===Symbol.iterator&&s,a=e==="keys"&&s,c=r[e](...l),u=n?Bo:t?Uo:cl;return!t&&Ze(o,"iterate",a?io:fn),{next(){const{value:d,done:p}=c.next();return p?{value:d,done:p}:{value:i?[u(d[0]),u(d[1])]:u(d),done:p}},[Symbol.iterator](){return this}}}}function Nt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Of(){const e={get(o){return jl(this,o)},get size(){return Hl(this)},has:Bl,add:Es,set:As,delete:Cs,clear:xs,forEach:Vl(!1,!1)},t={get(o){return jl(this,o,!1,!0)},get size(){return Hl(this)},has:Bl,add:Es,set:As,delete:Cs,clear:xs,forEach:Vl(!1,!0)},n={get(o){return jl(this,o,!0)},get size(){return Hl(this,!0)},has(o){return Bl.call(this,o,!0)},add:Nt("add"),set:Nt("set"),delete:Nt("delete"),clear:Nt("clear"),forEach:Vl(!0,!1)},l={get(o){return jl(this,o,!0,!0)},get size(){return Hl(this,!0)},has(o){return Bl.call(this,o,!0)},add:Nt("add"),set:Nt("set"),delete:Nt("delete"),clear:Nt("clear"),forEach:Vl(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=Ul(o,!1,!1),n[o]=Ul(o,!0,!1),t[o]=Ul(o,!1,!0),l[o]=Ul(o,!0,!0)}),[e,n,t,l]}const[Rf,$f,Ff,Mf]=Of();function Ho(e,t){const n=t?e?Mf:Ff:e?$f:Rf;return(l,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?l:Reflect.get(he(n,r)&&r in l?n:l,r,o)}const Df={get:Ho(!1,!1)},jf={get:Ho(!1,!0)},Bf={get:Ho(!0,!1)},pa=new WeakMap,ha=new WeakMap,va=new WeakMap,Hf=new WeakMap;function Vf(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Uf(e){return e.__v_skip||!Object.isExtensible(e)?0:Vf(ff(e))}function Al(e){return Fn(e)?e:Vo(e,!1,If,Df,pa)}function ma(e){return Vo(e,!1,Nf,jf,ha)}function Cl(e){return Vo(e,!0,Pf,Bf,va)}function Vo(e,t,n,l,r){if(!ke(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const s=Uf(e);if(s===0)return e;const i=new Proxy(e,s===2?l:n);return r.set(e,i),i}function In(e){return Fn(e)?In(e.__v_raw):!!(e&&e.__v_isReactive)}function Fn(e){return!!(e&&e.__v_isReadonly)}function sr(e){return!!(e&&e.__v_isShallow)}function ga(e){return In(e)||Fn(e)}function fe(e){const t=e&&e.__v_raw;return t?fe(t):e}function ya(e){return Object.isExtensible(e)&&rr(e,"__v_skip",!0),e}const cl=e=>ke(e)?Al(e):e,Uo=e=>ke(e)?Cl(e):e;class ba{constructor(t,n,l,r){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Mo(()=>t(this._value),()=>el(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=l}get value(){const t=fe(this);return(!t._cacheable||t.effect.dirty)&&Wt(t._value,t._value=t.effect.run())&&el(t,4),zo(t),t.effect._dirtyLevel>=2&&el(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function zf(e,t,n=!1){let l,r;const o=ce(e);return o?(l=e,r=at):(l=e.get,r=e.set),new ba(l,r,o||!r,n)}function zo(e){var t;zt&&un&&(e=fe(e),ia(un,(t=e.dep)!=null?t:e.dep=ca(()=>e.dep=void 0,e instanceof ba?e:void 0)))}function el(e,t=4,n){e=fe(e);const l=e.dep;l&&aa(l,t)}function $e(e){return!!(e&&e.__v_isRef===!0)}function J(e){return _a(e,!1)}function De(e){return _a(e,!0)}function _a(e,t){return $e(e)?e:new qf(e,t)}class qf{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:fe(t),this._value=n?t:cl(t)}get value(){return zo(this),this._value}set value(t){const n=this.__v_isShallow||sr(t)||Fn(t);t=n?t:fe(t),Wt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:cl(t),el(this,4))}}function lt(e){return $e(e)?e.value:e}const Wf={get:(e,t,n)=>lt(Reflect.get(e,t,n)),set:(e,t,n,l)=>{const r=e[t];return $e(r)&&!$e(n)?(r.value=n,!0):Reflect.set(e,t,n,l)}};function ka(e){return In(e)?e:new Proxy(e,Wf)}class Kf{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:l}=t(()=>zo(this),()=>el(this));this._get=n,this._set=l}get value(){return this._get()}set value(t){this._set(t)}}function qo(e){return new Kf(e)}function Gf(e){const t=oe(e)?new Array(e.length):{};for(const n in e)t[n]=wa(e,n);return t}class Yf{constructor(t,n,l){this._object=t,this._key=n,this._defaultValue=l,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 Cf(fe(this._object),this._key)}}class Jf{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function gr(e,t,n){return $e(e)?e:ce(e)?new Jf(e):ke(e)&&arguments.length>1?wa(e,t,n):J(e)}function wa(e,t,n){const l=e[t];return $e(l)?l:new Yf(e,t,n)}/**
|
||
* @vue/runtime-core v3.4.21
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/function qt(e,t,n,l){try{return l?e(...l):e()}catch(r){xl(r,t,n)}}function ct(e,t,n,l){if(ce(e)){const o=qt(e,t,n,l);return o&&Xi(o)&&o.catch(s=>{xl(s,t,n)}),o}const r=[];for(let o=0;o<e.length;o++)r.push(ct(e[o],t,n,l));return r}function xl(e,t,n,l=!0){const r=t?t.vnode:null;if(t){let o=t.parent;const s=t.proxy,i=`https://vuejs.org/error-reference/#runtime-${n}`;for(;o;){const c=o.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](e,s,i)===!1)return}o=o.parent}const a=t.appContext.config.errorHandler;if(a){qt(a,null,10,[e,s,i]);return}}Qf(e,n,r,l)}function Qf(e,t,n,l=!0){console.error(e)}let ul=!1,ao=!1;const Ve=[];let wt=0;const Pn=[];let Dt=null,on=0;const Ea=Promise.resolve();let Wo=null;function Jt(e){const t=Wo||Ea;return e?t.then(this?e.bind(this):e):t}function Xf(e){let t=wt+1,n=Ve.length;for(;t<n;){const l=t+n>>>1,r=Ve[l],o=fl(r);o<e||o===e&&r.pre?t=l+1:n=l}return t}function yr(e){(!Ve.length||!Ve.includes(e,ul&&e.allowRecurse?wt+1:wt))&&(e.id==null?Ve.push(e):Ve.splice(Xf(e.id),0,e),Aa())}function Aa(){!ul&&!ao&&(ao=!0,Wo=Ea.then(Ca))}function Zf(e){const t=Ve.indexOf(e);t>wt&&Ve.splice(t,1)}function ed(e){oe(e)?Pn.push(...e):(!Dt||!Dt.includes(e,e.allowRecurse?on+1:on))&&Pn.push(e),Aa()}function Ls(e,t,n=ul?wt+1:0){for(;n<Ve.length;n++){const l=Ve[n];if(l&&l.pre){if(e&&l.id!==e.uid)continue;Ve.splice(n,1),n--,l()}}}function ir(e){if(Pn.length){const t=[...new Set(Pn)].sort((n,l)=>fl(n)-fl(l));if(Pn.length=0,Dt){Dt.push(...t);return}for(Dt=t,on=0;on<Dt.length;on++)Dt[on]();Dt=null,on=0}}const fl=e=>e.id==null?1/0:e.id,td=(e,t)=>{const n=fl(e)-fl(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Ca(e){ao=!1,ul=!0,Ve.sort(td);try{for(wt=0;wt<Ve.length;wt++){const t=Ve[wt];t&&t.active!==!1&&qt(t,null,14)}}finally{wt=0,Ve.length=0,ir(),ul=!1,Wo=null,(Ve.length||Pn.length)&&Ca()}}function nd(e,t,...n){if(e.isUnmounted)return;const l=e.vnode.props||Ae;let r=n;const o=t.startsWith("update:"),s=o&&t.slice(7);if(s&&s in l){const u=`${s==="modelValue"?"model":s}Modifiers`,{number:d,trim:p}=l[u]||Ae;p&&(r=n.map(h=>Re(h)?h.trim():h)),d&&(r=n.map(ro))}let i,a=l[i=Pr(t)]||l[i=Pr(dt(t))];!a&&o&&(a=l[i=Pr(zn(t))]),a&&ct(a,e,6,r);const c=l[i+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,ct(c,e,6,r)}}function xa(e,t,n=!1){const l=t.emitsCache,r=l.get(e);if(r!==void 0)return r;const o=e.emits;let s={},i=!1;if(!ce(e)){const a=c=>{const u=xa(c,t,!0);u&&(i=!0,Oe(s,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!o&&!i?(ke(e)&&l.set(e,null),null):(oe(o)?o.forEach(a=>s[a]=null):Oe(s,o),ke(e)&&l.set(e,s),s)}function br(e,t){return!e||!wl(t)?!1:(t=t.slice(2).replace(/Once$/,""),he(e,t[0].toLowerCase()+t.slice(1))||he(e,zn(t))||he(e,t))}let We=null,_r=null;function ar(e){const t=We;return We=e,_r=e&&e.type.__scopeId||null,t}function Ll(e){_r=e}function Sl(){_r=null}function ld(e,t=We,n){if(!t||e._n)return e;const l=(...r)=>{l._d&&js(-1);const o=ar(t);let s;try{s=e(...r)}finally{ar(o),l._d&&js(1)}return s};return l._n=!0,l._c=!0,l._d=!0,l}function Or(e){const{type:t,vnode:n,proxy:l,withProxy:r,props:o,propsOptions:[s],slots:i,attrs:a,emit:c,render:u,renderCache:d,data:p,setupState:h,ctx:m,inheritAttrs:_}=e;let b,k;const A=ar(e);try{if(n.shapeFlag&4){const C=r||l,N=C;b=vt(u.call(N,C,d,o,h,p,m)),k=a}else{const C=t;b=vt(C.length>1?C(o,{attrs:a,slots:i,emit:c}):C(o,null)),k=t.props?a:rd(a)}}catch(C){ol.length=0,xl(C,e,1),b=Pe(ut)}let y=b;if(k&&_!==!1){const C=Object.keys(k),{shapeFlag:N}=y;C.length&&N&7&&(s&&C.some(No)&&(k=od(k,s)),y=Gt(y,k))}return n.dirs&&(y=Gt(y),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&(y.transition=n.transition),b=y,ar(A),b}const rd=e=>{let t;for(const n in e)(n==="class"||n==="style"||wl(n))&&((t||(t={}))[n]=e[n]);return t},od=(e,t)=>{const n={};for(const l in e)(!No(l)||!(l.slice(9)in t))&&(n[l]=e[l]);return n};function sd(e,t,n){const{props:l,children:r,component:o}=e,{props:s,children:i,patchFlag:a}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return l?Ss(l,s,c):!!s;if(a&8){const u=t.dynamicProps;for(let d=0;d<u.length;d++){const p=u[d];if(s[p]!==l[p]&&!br(c,p))return!0}}}else return(r||i)&&(!i||!i.$stable)?!0:l===s?!1:l?s?Ss(l,s,c):!0:!!s;return!1}function Ss(e,t,n){const l=Object.keys(t);if(l.length!==Object.keys(e).length)return!0;for(let r=0;r<l.length;r++){const o=l[r];if(t[o]!==e[o]&&!br(n,o))return!0}return!1}function id({vnode:e,parent:t},n){for(;t;){const l=t.subTree;if(l.suspense&&l.suspense.activeBranch===e&&(l.el=e.el),l===e)(e=t.vnode).el=n,t=t.parent;else break}}const La="components";function gt(e,t){return cd(La,e,!0,t)||e}const ad=Symbol.for("v-ndc");function cd(e,t,n=!0,l=!1){const r=We||Be;if(r){const o=r.type;if(e===La){const i=lp(o,!1);if(i&&(i===t||i===dt(t)||i===El(dt(t))))return o}const s=Ts(r[e]||o[e],t)||Ts(r.appContext[e],t);return!s&&l?o:s}}function Ts(e,t){return e&&(e[t]||e[dt(t)]||e[El(dt(t))])}const ud=e=>e.__isSuspense;function Sa(e,t){t&&t.pendingBranch?oe(e)?t.effects.push(...e):t.effects.push(e):ed(e)}const fd=Symbol.for("v-scx"),dd=()=>Me(fd);function Ta(e,t){return Ko(e,null,t)}const zl={};function ve(e,t,n){return Ko(e,t,n)}function Ko(e,t,{immediate:n,deep:l,flush:r,once:o,onTrack:s,onTrigger:i}=Ae){if(t&&o){const x=t;t=(...I)=>{x(...I),N()}}const a=Be,c=x=>l===!0?x:an(x,l===!1?1:void 0);let u,d=!1,p=!1;if($e(e)?(u=()=>e.value,d=sr(e)):In(e)?(u=()=>c(e),d=!0):oe(e)?(p=!0,d=e.some(x=>In(x)||sr(x)),u=()=>e.map(x=>{if($e(x))return x.value;if(In(x))return c(x);if(ce(x))return qt(x,a,2)})):ce(e)?t?u=()=>qt(e,a,2):u=()=>(h&&h(),ct(e,a,3,[m])):u=at,t&&l){const x=u;u=()=>an(x())}let h,m=x=>{h=y.onStop=()=>{qt(x,a,4),h=y.onStop=void 0}},_;if(Nl)if(m=at,t?n&&ct(t,a,3,[u(),p?[]:void 0,m]):u(),r==="sync"){const x=dd();_=x.__watcherHandles||(x.__watcherHandles=[])}else return at;let b=p?new Array(e.length).fill(zl):zl;const k=()=>{if(!(!y.active||!y.dirty))if(t){const x=y.run();(l||d||(p?x.some((I,O)=>Wt(I,b[O])):Wt(x,b)))&&(h&&h(),ct(t,a,3,[x,b===zl?void 0:p&&b[0]===zl?[]:b,m]),b=x)}else y.run()};k.allowRecurse=!!t;let A;r==="sync"?A=k:r==="post"?A=()=>Je(k,a&&a.suspense):(k.pre=!0,a&&(k.id=a.uid),A=()=>yr(k));const y=new Mo(u,at,A),C=ra(),N=()=>{y.stop(),C&&Oo(C.effects,y)};return t?n?k():b=y.run():r==="post"?Je(y.run.bind(y),a&&a.suspense):y.run(),_&&_.push(N),N}function pd(e,t,n){const l=this.proxy,r=Re(e)?e.includes(".")?Ia(l,e):()=>l[e]:e.bind(l,l);let o;ce(t)?o=t:(o=t.handler,n=t);const s=Pl(this),i=Ko(r,o.bind(l),n);return s(),i}function Ia(e,t){const n=t.split(".");return()=>{let l=e;for(let r=0;r<n.length&&l;r++)l=l[n[r]];return l}}function an(e,t,n=0,l){if(!ke(e)||e.__v_skip)return e;if(t&&t>0){if(n>=t)return e;n++}if(l=l||new Set,l.has(e))return e;if(l.add(e),$e(e))an(e.value,t,n,l);else if(oe(e))for(let r=0;r<e.length;r++)an(e[r],t,n,l);else if(Qi(e)||Sn(e))e.forEach(r=>{an(r,t,n,l)});else if(ea(e))for(const r in e)an(e[r],t,n,l);return e}function Pa(e,t){if(We===null)return e;const n=Er(We)||We.proxy,l=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[o,s,i,a=Ae]=t[r];o&&(ce(o)&&(o={mounted:o,updated:o}),o.deep&&an(s),l.push({dir:o,instance:n,value:s,oldValue:void 0,arg:i,modifiers:a}))}return e}function kt(e,t,n,l){const r=e.dirs,o=t&&t.dirs;for(let s=0;s<r.length;s++){const i=r[s];o&&(i.oldValue=o[s].value);let a=i.dir[l];a&&(hn(),ct(a,n,8,[e.el,i,e,t]),vn())}}const jt=Symbol("_leaveCb"),ql=Symbol("_enterCb");function Na(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return we(()=>{e.isMounted=!0}),Yo(()=>{e.isUnmounting=!0}),e}const ot=[Function,Array],Oa={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ot,onEnter:ot,onAfterEnter:ot,onEnterCancelled:ot,onBeforeLeave:ot,onLeave:ot,onAfterLeave:ot,onLeaveCancelled:ot,onBeforeAppear:ot,onAppear:ot,onAfterAppear:ot,onAppearCancelled:ot},hd={name:"BaseTransition",props:Oa,setup(e,{slots:t}){const n=Il(),l=Na();return()=>{const r=t.default&&Go(t.default(),!0);if(!r||!r.length)return;let o=r[0];if(r.length>1){for(const p of r)if(p.type!==ut){o=p;break}}const s=fe(e),{mode:i}=s;if(l.isLeaving)return Rr(o);const a=Is(o);if(!a)return Rr(o);const c=dl(a,s,l,n);pl(a,c);const u=n.subTree,d=u&&Is(u);if(d&&d.type!==ut&&!sn(a,d)){const p=dl(d,s,l,n);if(pl(d,p),i==="out-in")return l.isLeaving=!0,p.afterLeave=()=>{l.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Rr(o);i==="in-out"&&a.type!==ut&&(p.delayLeave=(h,m,_)=>{const b=Ra(l,d);b[String(d.key)]=d,h[jt]=()=>{m(),h[jt]=void 0,delete c.delayedLeave},c.delayedLeave=_})}return o}}},vd=hd;function Ra(e,t){const{leavingVNodes:n}=e;let l=n.get(t.type);return l||(l=Object.create(null),n.set(t.type,l)),l}function dl(e,t,n,l){const{appear:r,mode:o,persisted:s=!1,onBeforeEnter:i,onEnter:a,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:p,onAfterLeave:h,onLeaveCancelled:m,onBeforeAppear:_,onAppear:b,onAfterAppear:k,onAppearCancelled:A}=t,y=String(e.key),C=Ra(n,e),N=(O,Q)=>{O&&ct(O,l,9,Q)},x=(O,Q)=>{const P=Q[1];N(O,Q),oe(O)?O.every(q=>q.length<=1)&&P():O.length<=1&&P()},I={mode:o,persisted:s,beforeEnter(O){let Q=i;if(!n.isMounted)if(r)Q=_||i;else return;O[jt]&&O[jt](!0);const P=C[y];P&&sn(e,P)&&P.el[jt]&&P.el[jt](),N(Q,[O])},enter(O){let Q=a,P=c,q=u;if(!n.isMounted)if(r)Q=b||a,P=k||c,q=A||u;else return;let $=!1;const re=O[ql]=Ee=>{$||($=!0,Ee?N(q,[O]):N(P,[O]),I.delayedLeave&&I.delayedLeave(),O[ql]=void 0)};Q?x(Q,[O,re]):re()},leave(O,Q){const P=String(e.key);if(O[ql]&&O[ql](!0),n.isUnmounting)return Q();N(d,[O]);let q=!1;const $=O[jt]=re=>{q||(q=!0,Q(),re?N(m,[O]):N(h,[O]),O[jt]=void 0,C[P]===e&&delete C[P])};C[P]=e,p?x(p,[O,$]):$()},clone(O){return dl(O,t,n,l)}};return I}function Rr(e){if(Tl(e))return e=Gt(e),e.children=null,e}function Is(e){return Tl(e)?e.children?e.children[0]:void 0:e}function pl(e,t){e.shapeFlag&6&&e.component?pl(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 Go(e,t=!1,n){let l=[],r=0;for(let o=0;o<e.length;o++){let s=e[o];const i=n==null?s.key:String(n)+String(s.key!=null?s.key:o);s.type===ze?(s.patchFlag&128&&r++,l=l.concat(Go(s.children,t,i))):(t||s.type!==ut)&&l.push(i!=null?Gt(s,{key:i}):s)}if(r>1)for(let o=0;o<l.length;o++)l[o].patchFlag=-2;return l}/*! #__NO_SIDE_EFFECTS__ */function U(e,t){return ce(e)?Oe({name:e.name},t,{setup:e}):e}const tl=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function md(e){ce(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:l,delay:r=200,timeout:o,suspensible:s=!0,onError:i}=e;let a=null,c,u=0;const d=()=>(u++,a=null,p()),p=()=>{let h;return a||(h=a=t().catch(m=>{if(m=m instanceof Error?m:new Error(String(m)),i)return new Promise((_,b)=>{i(m,()=>_(d()),()=>b(m),u+1)});throw m}).then(m=>h!==a&&a?a:(m&&(m.__esModule||m[Symbol.toStringTag]==="Module")&&(m=m.default),c=m,m)))};return U({name:"AsyncComponentWrapper",__asyncLoader:p,get __asyncResolved(){return c},setup(){const h=Be;if(c)return()=>$r(c,h);const m=A=>{a=null,xl(A,h,13,!l)};if(s&&h.suspense||Nl)return p().then(A=>()=>$r(A,h)).catch(A=>(m(A),()=>l?Pe(l,{error:A}):null));const _=J(!1),b=J(),k=J(!!r);return r&&setTimeout(()=>{k.value=!1},r),o!=null&&setTimeout(()=>{if(!_.value&&!b.value){const A=new Error(`Async component timed out after ${o}ms.`);m(A),b.value=A}},o),p().then(()=>{_.value=!0,h.parent&&Tl(h.parent.vnode)&&(h.parent.effect.dirty=!0,yr(h.parent.update))}).catch(A=>{m(A),b.value=A}),()=>{if(_.value&&c)return $r(c,h);if(b.value&&l)return Pe(l,{error:b.value});if(n&&!k.value)return Pe(n)}}})}function $r(e,t){const{ref:n,props:l,children:r,ce:o}=t.vnode,s=Pe(e,l,r);return s.ref=n,s.ce=o,delete t.vnode.ce,s}const Tl=e=>e.type.__isKeepAlive;function gd(e,t){$a(e,"a",t)}function yd(e,t){$a(e,"da",t)}function $a(e,t,n=Be){const l=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(kr(t,l,n),n){let r=n.parent;for(;r&&r.parent;)Tl(r.parent.vnode)&&bd(l,t,n,r),r=r.parent}}function bd(e,t,n,l){const r=kr(t,e,l,!0);mn(()=>{Oo(l[t],r)},n)}function kr(e,t,n=Be,l=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...s)=>{if(n.isUnmounted)return;hn();const i=Pl(n),a=ct(t,n,e,s);return i(),vn(),a});return l?r.unshift(o):r.push(o),o}}const Pt=e=>(t,n=Be)=>(!Nl||e==="sp")&&kr(e,(...l)=>t(...l),n),_d=Pt("bm"),we=Pt("m"),kd=Pt("bu"),Fa=Pt("u"),Yo=Pt("bum"),mn=Pt("um"),wd=Pt("sp"),Ed=Pt("rtg"),Ad=Pt("rtc");function Cd(e,t=Be){kr("ec",e,t)}function Ma(e,t,n,l){let r;const o=n&&n[l];if(oe(e)||Re(e)){r=new Array(e.length);for(let s=0,i=e.length;s<i;s++)r[s]=t(e[s],s,void 0,o&&o[s])}else if(typeof e=="number"){r=new Array(e);for(let s=0;s<e;s++)r[s]=t(s+1,s,void 0,o&&o[s])}else if(ke(e))if(e[Symbol.iterator])r=Array.from(e,(s,i)=>t(s,i,void 0,o&&o[i]));else{const s=Object.keys(e);r=new Array(s.length);for(let i=0,a=s.length;i<a;i++){const c=s[i];r[i]=t(e[c],c,i,o&&o[i])}}else r=[];return n&&(n[l]=r),r}const co=e=>e?Ja(e)?Er(e)||e.proxy:co(e.parent):null,nl=Oe(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=>co(e.parent),$root:e=>co(e.root),$emit:e=>e.emit,$options:e=>Jo(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,yr(e.update)}),$nextTick:e=>e.n||(e.n=Jt.bind(e.proxy)),$watch:e=>pd.bind(e)}),Fr=(e,t)=>e!==Ae&&!e.__isScriptSetup&&he(e,t),xd={get({_:e},t){const{ctx:n,setupState:l,data:r,props:o,accessCache:s,type:i,appContext:a}=e;let c;if(t[0]!=="$"){const h=s[t];if(h!==void 0)switch(h){case 1:return l[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(Fr(l,t))return s[t]=1,l[t];if(r!==Ae&&he(r,t))return s[t]=2,r[t];if((c=e.propsOptions[0])&&he(c,t))return s[t]=3,o[t];if(n!==Ae&&he(n,t))return s[t]=4,n[t];uo&&(s[t]=0)}}const u=nl[t];let d,p;if(u)return t==="$attrs"&&Ze(e,"get",t),u(e);if((d=i.__cssModules)&&(d=d[t]))return d;if(n!==Ae&&he(n,t))return s[t]=4,n[t];if(p=a.config.globalProperties,he(p,t))return p[t]},set({_:e},t,n){const{data:l,setupState:r,ctx:o}=e;return Fr(r,t)?(r[t]=n,!0):l!==Ae&&he(l,t)?(l[t]=n,!0):he(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:l,appContext:r,propsOptions:o}},s){let i;return!!n[s]||e!==Ae&&he(e,s)||Fr(t,s)||(i=o[0])&&he(i,s)||he(l,s)||he(nl,s)||he(r.config.globalProperties,s)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:he(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ps(e){return oe(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let uo=!0;function Ld(e){const t=Jo(e),n=e.proxy,l=e.ctx;uo=!1,t.beforeCreate&&Ns(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:s,watch:i,provide:a,inject:c,created:u,beforeMount:d,mounted:p,beforeUpdate:h,updated:m,activated:_,deactivated:b,beforeDestroy:k,beforeUnmount:A,destroyed:y,unmounted:C,render:N,renderTracked:x,renderTriggered:I,errorCaptured:O,serverPrefetch:Q,expose:P,inheritAttrs:q,components:$,directives:re,filters:Ee}=t;if(c&&Sd(c,l,null),s)for(const se in s){const K=s[se];ce(K)&&(l[se]=K.bind(n))}if(r){const se=r.call(n,n);ke(se)&&(e.data=Al(se))}if(uo=!0,o)for(const se in o){const K=o[se],xe=ce(K)?K.bind(n,n):ce(K.get)?K.get.bind(n,n):at,rt=!ce(K)&&ce(K.set)?K.set.bind(n):at,Ye=L({get:xe,set:rt});Object.defineProperty(l,se,{enumerable:!0,configurable:!0,get:()=>Ye.value,set:ee=>Ye.value=ee})}if(i)for(const se in i)Da(i[se],l,n,se);if(a){const se=ce(a)?a.call(n):a;Reflect.ownKeys(se).forEach(K=>{Nn(K,se[K])})}u&&Ns(u,e,"c");function Y(se,K){oe(K)?K.forEach(xe=>se(xe.bind(n))):K&&se(K.bind(n))}if(Y(_d,d),Y(we,p),Y(kd,h),Y(Fa,m),Y(gd,_),Y(yd,b),Y(Cd,O),Y(Ad,x),Y(Ed,I),Y(Yo,A),Y(mn,C),Y(wd,Q),oe(P))if(P.length){const se=e.exposed||(e.exposed={});P.forEach(K=>{Object.defineProperty(se,K,{get:()=>n[K],set:xe=>n[K]=xe})})}else e.exposed||(e.exposed={});N&&e.render===at&&(e.render=N),q!=null&&(e.inheritAttrs=q),$&&(e.components=$),re&&(e.directives=re)}function Sd(e,t,n=at){oe(e)&&(e=fo(e));for(const l in e){const r=e[l];let o;ke(r)?"default"in r?o=Me(r.from||l,r.default,!0):o=Me(r.from||l):o=Me(r),$e(o)?Object.defineProperty(t,l,{enumerable:!0,configurable:!0,get:()=>o.value,set:s=>o.value=s}):t[l]=o}}function Ns(e,t,n){ct(oe(e)?e.map(l=>l.bind(t.proxy)):e.bind(t.proxy),t,n)}function Da(e,t,n,l){const r=l.includes(".")?Ia(n,l):()=>n[l];if(Re(e)){const o=t[e];ce(o)&&ve(r,o)}else if(ce(e))ve(r,e.bind(n));else if(ke(e))if(oe(e))e.forEach(o=>Da(o,t,n,l));else{const o=ce(e.handler)?e.handler.bind(n):t[e.handler];ce(o)&&ve(r,o,e)}}function Jo(e){const t=e.type,{mixins:n,extends:l}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:s}}=e.appContext,i=o.get(t);let a;return i?a=i:!r.length&&!n&&!l?a=t:(a={},r.length&&r.forEach(c=>cr(a,c,s,!0)),cr(a,t,s)),ke(t)&&o.set(t,a),a}function cr(e,t,n,l=!1){const{mixins:r,extends:o}=t;o&&cr(e,o,n,!0),r&&r.forEach(s=>cr(e,s,n,!0));for(const s in t)if(!(l&&s==="expose")){const i=Td[s]||n&&n[s];e[s]=i?i(e[s],t[s]):t[s]}return e}const Td={data:Os,props:Rs,emits:Rs,methods:Xn,computed:Xn,beforeCreate:Ue,created:Ue,beforeMount:Ue,mounted:Ue,beforeUpdate:Ue,updated:Ue,beforeDestroy:Ue,beforeUnmount:Ue,destroyed:Ue,unmounted:Ue,activated:Ue,deactivated:Ue,errorCaptured:Ue,serverPrefetch:Ue,components:Xn,directives:Xn,watch:Pd,provide:Os,inject:Id};function Os(e,t){return t?e?function(){return Oe(ce(e)?e.call(this,this):e,ce(t)?t.call(this,this):t)}:t:e}function Id(e,t){return Xn(fo(e),fo(t))}function fo(e){if(oe(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ue(e,t){return e?[...new Set([].concat(e,t))]:t}function Xn(e,t){return e?Oe(Object.create(null),e,t):t}function Rs(e,t){return e?oe(e)&&oe(t)?[...new Set([...e,...t])]:Oe(Object.create(null),Ps(e),Ps(t??{})):t}function Pd(e,t){if(!e)return t;if(!t)return e;const n=Oe(Object.create(null),e);for(const l in t)n[l]=Ue(e[l],t[l]);return n}function ja(){return{app:null,config:{isNativeTag:cf,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 Nd=0;function Od(e,t){return function(l,r=null){ce(l)||(l=Oe({},l)),r!=null&&!ke(r)&&(r=null);const o=ja(),s=new WeakSet;let i=!1;const a=o.app={_uid:Nd++,_component:l,_props:r,_container:null,_context:o,_instance:null,version:op,get config(){return o.config},set config(c){},use(c,...u){return s.has(c)||(c&&ce(c.install)?(s.add(c),c.install(a,...u)):ce(c)&&(s.add(c),c(a,...u))),a},mixin(c){return o.mixins.includes(c)||o.mixins.push(c),a},component(c,u){return u?(o.components[c]=u,a):o.components[c]},directive(c,u){return u?(o.directives[c]=u,a):o.directives[c]},mount(c,u,d){if(!i){const p=Pe(l,r);return p.appContext=o,d===!0?d="svg":d===!1&&(d=void 0),u&&t?t(p,c):e(p,c,d),i=!0,a._container=c,c.__vue_app__=a,Er(p.component)||p.component.proxy}},unmount(){i&&(e(null,a._container),delete a._container.__vue_app__)},provide(c,u){return o.provides[c]=u,a},runWithContext(c){const u=ll;ll=a;try{return c()}finally{ll=u}}};return a}}let ll=null;function Nn(e,t){if(Be){let n=Be.provides;const l=Be.parent&&Be.parent.provides;l===n&&(n=Be.provides=Object.create(l)),n[e]=t}}function Me(e,t,n=!1){const l=Be||We;if(l||ll){const r=l?l.parent==null?l.vnode.appContext&&l.vnode.appContext.provides:l.parent.provides:ll._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&ce(t)?t.call(l&&l.proxy):t}}function Rd(e,t,n,l=!1){const r={},o={};rr(o,wr,1),e.propsDefaults=Object.create(null),Ba(e,t,r,o);for(const s in e.propsOptions[0])s in r||(r[s]=void 0);n?e.props=l?r:ma(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function $d(e,t,n,l){const{props:r,attrs:o,vnode:{patchFlag:s}}=e,i=fe(r),[a]=e.propsOptions;let c=!1;if((l||s>0)&&!(s&16)){if(s&8){const u=e.vnode.dynamicProps;for(let d=0;d<u.length;d++){let p=u[d];if(br(e.emitsOptions,p))continue;const h=t[p];if(a)if(he(o,p))h!==o[p]&&(o[p]=h,c=!0);else{const m=dt(p);r[m]=po(a,i,m,h,e,!1)}else h!==o[p]&&(o[p]=h,c=!0)}}}else{Ba(e,t,r,o)&&(c=!0);let u;for(const d in i)(!t||!he(t,d)&&((u=zn(d))===d||!he(t,u)))&&(a?n&&(n[d]!==void 0||n[u]!==void 0)&&(r[d]=po(a,i,d,void 0,e,!0)):delete r[d]);if(o!==i)for(const d in o)(!t||!he(t,d))&&(delete o[d],c=!0)}c&&Tt(e,"set","$attrs")}function Ba(e,t,n,l){const[r,o]=e.propsOptions;let s=!1,i;if(t)for(let a in t){if(Tn(a))continue;const c=t[a];let u;r&&he(r,u=dt(a))?!o||!o.includes(u)?n[u]=c:(i||(i={}))[u]=c:br(e.emitsOptions,a)||(!(a in l)||c!==l[a])&&(l[a]=c,s=!0)}if(o){const a=fe(n),c=i||Ae;for(let u=0;u<o.length;u++){const d=o[u];n[d]=po(r,a,d,c[d],e,!he(c,d))}}return s}function po(e,t,n,l,r,o){const s=e[n];if(s!=null){const i=he(s,"default");if(i&&l===void 0){const a=s.default;if(s.type!==Function&&!s.skipFactory&&ce(a)){const{propsDefaults:c}=r;if(n in c)l=c[n];else{const u=Pl(r);l=c[n]=a.call(null,t),u()}}else l=a}s[0]&&(o&&!i?l=!1:s[1]&&(l===""||l===zn(n))&&(l=!0))}return l}function Ha(e,t,n=!1){const l=t.propsCache,r=l.get(e);if(r)return r;const o=e.props,s={},i=[];let a=!1;if(!ce(e)){const u=d=>{a=!0;const[p,h]=Ha(d,t,!0);Oe(s,p),h&&i.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!a)return ke(e)&&l.set(e,Ln),Ln;if(oe(o))for(let u=0;u<o.length;u++){const d=dt(o[u]);$s(d)&&(s[d]=Ae)}else if(o)for(const u in o){const d=dt(u);if($s(d)){const p=o[u],h=s[d]=oe(p)||ce(p)?{type:p}:Oe({},p);if(h){const m=Ds(Boolean,h.type),_=Ds(String,h.type);h[0]=m>-1,h[1]=_<0||m<_,(m>-1||he(h,"default"))&&i.push(d)}}}const c=[s,i];return ke(e)&&l.set(e,c),c}function $s(e){return e[0]!=="$"&&!Tn(e)}function Fs(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function Ms(e,t){return Fs(e)===Fs(t)}function Ds(e,t){return oe(t)?t.findIndex(n=>Ms(n,e)):ce(t)&&Ms(t,e)?0:-1}const Va=e=>e[0]==="_"||e==="$stable",Qo=e=>oe(e)?e.map(vt):[vt(e)],Fd=(e,t,n)=>{if(t._n)return t;const l=ld((...r)=>Qo(t(...r)),n);return l._c=!1,l},Ua=(e,t,n)=>{const l=e._ctx;for(const r in e){if(Va(r))continue;const o=e[r];if(ce(o))t[r]=Fd(r,o,l);else if(o!=null){const s=Qo(o);t[r]=()=>s}}},za=(e,t)=>{const n=Qo(t);e.slots.default=()=>n},Md=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=fe(t),rr(t,"_",n)):Ua(t,e.slots={})}else e.slots={},t&&za(e,t);rr(e.slots,wr,1)},Dd=(e,t,n)=>{const{vnode:l,slots:r}=e;let o=!0,s=Ae;if(l.shapeFlag&32){const i=t._;i?n&&i===1?o=!1:(Oe(r,t),!n&&i===1&&delete r._):(o=!t.$stable,Ua(t,r)),s=t}else t&&(za(e,t),s={default:1});if(o)for(const i in r)!Va(i)&&s[i]==null&&delete r[i]};function ur(e,t,n,l,r=!1){if(oe(e)){e.forEach((p,h)=>ur(p,t&&(oe(t)?t[h]:t),n,l,r));return}if(tl(l)&&!r)return;const o=l.shapeFlag&4?Er(l.component)||l.component.proxy:l.el,s=r?null:o,{i,r:a}=e,c=t&&t.r,u=i.refs===Ae?i.refs={}:i.refs,d=i.setupState;if(c!=null&&c!==a&&(Re(c)?(u[c]=null,he(d,c)&&(d[c]=null)):$e(c)&&(c.value=null)),ce(a))qt(a,i,12,[s,u]);else{const p=Re(a),h=$e(a);if(p||h){const m=()=>{if(e.f){const _=p?he(d,a)?d[a]:u[a]:a.value;r?oe(_)&&Oo(_,o):oe(_)?_.includes(o)||_.push(o):p?(u[a]=[o],he(d,a)&&(d[a]=u[a])):(a.value=[o],e.k&&(u[e.k]=a.value))}else p?(u[a]=s,he(d,a)&&(d[a]=s)):h&&(a.value=s,e.k&&(u[e.k]=s))};s?(m.id=-1,Je(m,n)):m()}}}let Ot=!1;const jd=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Bd=e=>e.namespaceURI.includes("MathML"),Wl=e=>{if(jd(e))return"svg";if(Bd(e))return"mathml"},Kl=e=>e.nodeType===8;function Hd(e){const{mt:t,p:n,o:{patchProp:l,createText:r,nextSibling:o,parentNode:s,remove:i,insert:a,createComment:c}}=e,u=(y,C)=>{if(!C.hasChildNodes()){n(null,y,C),ir(),C._vnode=y;return}Ot=!1,d(C.firstChild,y,null,null,null),ir(),C._vnode=y,Ot&&console.error("Hydration completed but contains mismatches.")},d=(y,C,N,x,I,O=!1)=>{const Q=Kl(y)&&y.data==="[",P=()=>_(y,C,N,x,I,Q),{type:q,ref:$,shapeFlag:re,patchFlag:Ee}=C;let _e=y.nodeType;C.el=y,Ee===-2&&(O=!1,C.dynamicChildren=null);let Y=null;switch(q){case Mn:_e!==3?C.children===""?(a(C.el=r(""),s(y),y),Y=y):Y=P():(y.data!==C.children&&(Ot=!0,y.data=C.children),Y=o(y));break;case ut:A(y)?(Y=o(y),k(C.el=y.content.firstChild,y,N)):_e!==8||Q?Y=P():Y=o(y);break;case rl:if(Q&&(y=o(y),_e=y.nodeType),_e===1||_e===3){Y=y;const se=!C.children.length;for(let K=0;K<C.staticCount;K++)se&&(C.children+=Y.nodeType===1?Y.outerHTML:Y.data),K===C.staticCount-1&&(C.anchor=Y),Y=o(Y);return Q?o(Y):Y}else P();break;case ze:Q?Y=m(y,C,N,x,I,O):Y=P();break;default:if(re&1)(_e!==1||C.type.toLowerCase()!==y.tagName.toLowerCase())&&!A(y)?Y=P():Y=p(y,C,N,x,I,O);else if(re&6){C.slotScopeIds=I;const se=s(y);if(Q?Y=b(y):Kl(y)&&y.data==="teleport start"?Y=b(y,y.data,"teleport end"):Y=o(y),t(C,se,null,N,x,Wl(se),O),tl(C)){let K;Q?(K=Pe(ze),K.anchor=Y?Y.previousSibling:se.lastChild):K=y.nodeType===3?fr(""):Pe("div"),K.el=y,C.component.subTree=K}}else re&64?_e!==8?Y=P():Y=C.type.hydrate(y,C,N,x,I,O,e,h):re&128&&(Y=C.type.hydrate(y,C,N,x,Wl(s(y)),I,O,e,d))}return $!=null&&ur($,null,x,C),Y},p=(y,C,N,x,I,O)=>{O=O||!!C.dynamicChildren;const{type:Q,props:P,patchFlag:q,shapeFlag:$,dirs:re,transition:Ee}=C,_e=Q==="input"||Q==="option";if(_e||q!==-1){re&&kt(C,null,N,"created");let Y=!1;if(A(y)){Y=qa(x,Ee)&&N&&N.vnode.props&&N.vnode.props.appear;const K=y.content.firstChild;Y&&Ee.beforeEnter(K),k(K,y,N),C.el=y=K}if($&16&&!(P&&(P.innerHTML||P.textContent))){let K=h(y.firstChild,C,y,N,x,I,O);for(;K;){Ot=!0;const xe=K;K=K.nextSibling,i(xe)}}else $&8&&y.textContent!==C.children&&(Ot=!0,y.textContent=C.children);if(P)if(_e||!O||q&48)for(const K in P)(_e&&(K.endsWith("value")||K==="indeterminate")||wl(K)&&!Tn(K)||K[0]===".")&&l(y,K,null,P[K],void 0,void 0,N);else P.onClick&&l(y,"onClick",null,P.onClick,void 0,void 0,N);let se;(se=P&&P.onVnodeBeforeMount)&&st(se,N,C),re&&kt(C,null,N,"beforeMount"),((se=P&&P.onVnodeMounted)||re||Y)&&Sa(()=>{se&&st(se,N,C),Y&&Ee.enter(y),re&&kt(C,null,N,"mounted")},x)}return y.nextSibling},h=(y,C,N,x,I,O,Q)=>{Q=Q||!!C.dynamicChildren;const P=C.children,q=P.length;for(let $=0;$<q;$++){const re=Q?P[$]:P[$]=vt(P[$]);if(y)y=d(y,re,x,I,O,Q);else{if(re.type===Mn&&!re.children)continue;Ot=!0,n(null,re,N,null,x,I,Wl(N),O)}}return y},m=(y,C,N,x,I,O)=>{const{slotScopeIds:Q}=C;Q&&(I=I?I.concat(Q):Q);const P=s(y),q=h(o(y),C,P,N,x,I,O);return q&&Kl(q)&&q.data==="]"?o(C.anchor=q):(Ot=!0,a(C.anchor=c("]"),P,q),q)},_=(y,C,N,x,I,O)=>{if(Ot=!0,C.el=null,O){const q=b(y);for(;;){const $=o(y);if($&&$!==q)i($);else break}}const Q=o(y),P=s(y);return i(y),n(null,C,P,Q,N,x,Wl(P),I),Q},b=(y,C="[",N="]")=>{let x=0;for(;y;)if(y=o(y),y&&Kl(y)&&(y.data===C&&x++,y.data===N)){if(x===0)return o(y);x--}return y},k=(y,C,N)=>{const x=C.parentNode;x&&x.replaceChild(y,C);let I=N;for(;I;)I.vnode.el===C&&(I.vnode.el=I.subTree.el=y),I=I.parent},A=y=>y.nodeType===1&&y.tagName.toLowerCase()==="template";return[u,d]}const Je=Sa;function Vd(e){return Ud(e,Hd)}function Ud(e,t){const n=ta();n.__VUE__=!0;const{insert:l,remove:r,patchProp:o,createElement:s,createText:i,createComment:a,setText:c,setElementText:u,parentNode:d,nextSibling:p,setScopeId:h=at,insertStaticContent:m}=e,_=(v,g,E,T=null,S=null,M=null,V=void 0,F=null,H=!!g.dynamicChildren)=>{if(v===g)return;v&&!sn(v,g)&&(T=w(v),ee(v,S,M,!0),v=null),g.patchFlag===-2&&(H=!1,g.dynamicChildren=null);const{type:R,ref:W,shapeFlag:le}=g;switch(R){case Mn:b(v,g,E,T);break;case ut:k(v,g,E,T);break;case rl:v==null&&A(g,E,T,V);break;case ze:$(v,g,E,T,S,M,V,F,H);break;default:le&1?N(v,g,E,T,S,M,V,F,H):le&6?re(v,g,E,T,S,M,V,F,H):(le&64||le&128)&&R.process(v,g,E,T,S,M,V,F,H,Z)}W!=null&&S&&ur(W,v&&v.ref,M,g||v,!g)},b=(v,g,E,T)=>{if(v==null)l(g.el=i(g.children),E,T);else{const S=g.el=v.el;g.children!==v.children&&c(S,g.children)}},k=(v,g,E,T)=>{v==null?l(g.el=a(g.children||""),E,T):g.el=v.el},A=(v,g,E,T)=>{[v.el,v.anchor]=m(v.children,g,E,T,v.el,v.anchor)},y=({el:v,anchor:g},E,T)=>{let S;for(;v&&v!==g;)S=p(v),l(v,E,T),v=S;l(g,E,T)},C=({el:v,anchor:g})=>{let E;for(;v&&v!==g;)E=p(v),r(v),v=E;r(g)},N=(v,g,E,T,S,M,V,F,H)=>{g.type==="svg"?V="svg":g.type==="math"&&(V="mathml"),v==null?x(g,E,T,S,M,V,F,H):Q(v,g,S,M,V,F,H)},x=(v,g,E,T,S,M,V,F)=>{let H,R;const{props:W,shapeFlag:le,transition:te,dirs:ae}=v;if(H=v.el=s(v.type,M,W&&W.is,W),le&8?u(H,v.children):le&16&&O(v.children,H,null,T,S,Mr(v,M),V,F),ae&&kt(v,null,T,"created"),I(H,v,v.scopeId,V,T),W){for(const ge in W)ge!=="value"&&!Tn(ge)&&o(H,ge,null,W[ge],M,v.children,T,S,X);"value"in W&&o(H,"value",null,W.value,M),(R=W.onVnodeBeforeMount)&&st(R,T,v)}ae&&kt(v,null,T,"beforeMount");const ue=qa(S,te);ue&&te.beforeEnter(H),l(H,g,E),((R=W&&W.onVnodeMounted)||ue||ae)&&Je(()=>{R&&st(R,T,v),ue&&te.enter(H),ae&&kt(v,null,T,"mounted")},S)},I=(v,g,E,T,S)=>{if(E&&h(v,E),T)for(let M=0;M<T.length;M++)h(v,T[M]);if(S){let M=S.subTree;if(g===M){const V=S.vnode;I(v,V,V.scopeId,V.slotScopeIds,S.parent)}}},O=(v,g,E,T,S,M,V,F,H=0)=>{for(let R=H;R<v.length;R++){const W=v[R]=F?Bt(v[R]):vt(v[R]);_(null,W,g,E,T,S,M,V,F)}},Q=(v,g,E,T,S,M,V)=>{const F=g.el=v.el;let{patchFlag:H,dynamicChildren:R,dirs:W}=g;H|=v.patchFlag&16;const le=v.props||Ae,te=g.props||Ae;let ae;if(E&&nn(E,!1),(ae=te.onVnodeBeforeUpdate)&&st(ae,E,g,v),W&&kt(g,v,E,"beforeUpdate"),E&&nn(E,!0),R?P(v.dynamicChildren,R,F,E,T,Mr(g,S),M):V||K(v,g,F,null,E,T,Mr(g,S),M,!1),H>0){if(H&16)q(F,g,le,te,E,T,S);else if(H&2&&le.class!==te.class&&o(F,"class",null,te.class,S),H&4&&o(F,"style",le.style,te.style,S),H&8){const ue=g.dynamicProps;for(let ge=0;ge<ue.length;ge++){const Le=ue[ge],je=le[Le],pt=te[Le];(pt!==je||Le==="value")&&o(F,Le,je,pt,S,v.children,E,T,X)}}H&1&&v.children!==g.children&&u(F,g.children)}else!V&&R==null&&q(F,g,le,te,E,T,S);((ae=te.onVnodeUpdated)||W)&&Je(()=>{ae&&st(ae,E,g,v),W&&kt(g,v,E,"updated")},T)},P=(v,g,E,T,S,M,V)=>{for(let F=0;F<g.length;F++){const H=v[F],R=g[F],W=H.el&&(H.type===ze||!sn(H,R)||H.shapeFlag&70)?d(H.el):E;_(H,R,W,null,T,S,M,V,!0)}},q=(v,g,E,T,S,M,V)=>{if(E!==T){if(E!==Ae)for(const F in E)!Tn(F)&&!(F in T)&&o(v,F,E[F],null,V,g.children,S,M,X);for(const F in T){if(Tn(F))continue;const H=T[F],R=E[F];H!==R&&F!=="value"&&o(v,F,R,H,V,g.children,S,M,X)}"value"in T&&o(v,"value",E.value,T.value,V)}},$=(v,g,E,T,S,M,V,F,H)=>{const R=g.el=v?v.el:i(""),W=g.anchor=v?v.anchor:i("");let{patchFlag:le,dynamicChildren:te,slotScopeIds:ae}=g;ae&&(F=F?F.concat(ae):ae),v==null?(l(R,E,T),l(W,E,T),O(g.children||[],E,W,S,M,V,F,H)):le>0&&le&64&&te&&v.dynamicChildren?(P(v.dynamicChildren,te,E,S,M,V,F),(g.key!=null||S&&g===S.subTree)&&Wa(v,g,!0)):K(v,g,E,W,S,M,V,F,H)},re=(v,g,E,T,S,M,V,F,H)=>{g.slotScopeIds=F,v==null?g.shapeFlag&512?S.ctx.activate(g,E,T,V,H):Ee(g,E,T,S,M,V,H):_e(v,g,H)},Ee=(v,g,E,T,S,M,V)=>{const F=v.component=Xd(v,T,S);if(Tl(v)&&(F.ctx.renderer=Z),Zd(F),F.asyncDep){if(S&&S.registerDep(F,Y),!v.el){const H=F.subTree=Pe(ut);k(null,H,g,E)}}else Y(F,v,g,E,S,M,V)},_e=(v,g,E)=>{const T=g.component=v.component;if(sd(v,g,E))if(T.asyncDep&&!T.asyncResolved){se(T,g,E);return}else T.next=g,Zf(T.update),T.effect.dirty=!0,T.update();else g.el=v.el,T.vnode=g},Y=(v,g,E,T,S,M,V)=>{const F=()=>{if(v.isMounted){let{next:W,bu:le,u:te,parent:ae,vnode:ue}=v;{const _n=Ka(v);if(_n){W&&(W.el=ue.el,se(v,W,V)),_n.asyncDep.then(()=>{v.isUnmounted||F()});return}}let ge=W,Le;nn(v,!1),W?(W.el=ue.el,se(v,W,V)):W=ue,le&&tr(le),(Le=W.props&&W.props.onVnodeBeforeUpdate)&&st(Le,ae,W,ue),nn(v,!0);const je=Or(v),pt=v.subTree;v.subTree=je,_(pt,je,d(pt.el),w(pt),v,S,M),W.el=je.el,ge===null&&id(v,je.el),te&&Je(te,S),(Le=W.props&&W.props.onVnodeUpdated)&&Je(()=>st(Le,ae,W,ue),S)}else{let W;const{el:le,props:te}=g,{bm:ae,m:ue,parent:ge}=v,Le=tl(g);if(nn(v,!1),ae&&tr(ae),!Le&&(W=te&&te.onVnodeBeforeMount)&&st(W,ge,g),nn(v,!0),le&&be){const je=()=>{v.subTree=Or(v),be(le,v.subTree,v,S,null)};Le?g.type.__asyncLoader().then(()=>!v.isUnmounted&&je()):je()}else{const je=v.subTree=Or(v);_(null,je,E,T,v,S,M),g.el=je.el}if(ue&&Je(ue,S),!Le&&(W=te&&te.onVnodeMounted)){const je=g;Je(()=>st(W,ge,je),S)}(g.shapeFlag&256||ge&&tl(ge.vnode)&&ge.vnode.shapeFlag&256)&&v.a&&Je(v.a,S),v.isMounted=!0,g=E=T=null}},H=v.effect=new Mo(F,at,()=>yr(R),v.scope),R=v.update=()=>{H.dirty&&H.run()};R.id=v.uid,nn(v,!0),R()},se=(v,g,E)=>{g.component=v;const T=v.vnode.props;v.vnode=g,v.next=null,$d(v,g.props,T,E),Dd(v,g.children,E),hn(),Ls(v),vn()},K=(v,g,E,T,S,M,V,F,H=!1)=>{const R=v&&v.children,W=v?v.shapeFlag:0,le=g.children,{patchFlag:te,shapeFlag:ae}=g;if(te>0){if(te&128){rt(R,le,E,T,S,M,V,F,H);return}else if(te&256){xe(R,le,E,T,S,M,V,F,H);return}}ae&8?(W&16&&X(R,S,M),le!==R&&u(E,le)):W&16?ae&16?rt(R,le,E,T,S,M,V,F,H):X(R,S,M,!0):(W&8&&u(E,""),ae&16&&O(le,E,T,S,M,V,F,H))},xe=(v,g,E,T,S,M,V,F,H)=>{v=v||Ln,g=g||Ln;const R=v.length,W=g.length,le=Math.min(R,W);let te;for(te=0;te<le;te++){const ae=g[te]=H?Bt(g[te]):vt(g[te]);_(v[te],ae,E,null,S,M,V,F,H)}R>W?X(v,S,M,!0,!1,le):O(g,E,T,S,M,V,F,H,le)},rt=(v,g,E,T,S,M,V,F,H)=>{let R=0;const W=g.length;let le=v.length-1,te=W-1;for(;R<=le&&R<=te;){const ae=v[R],ue=g[R]=H?Bt(g[R]):vt(g[R]);if(sn(ae,ue))_(ae,ue,E,null,S,M,V,F,H);else break;R++}for(;R<=le&&R<=te;){const ae=v[le],ue=g[te]=H?Bt(g[te]):vt(g[te]);if(sn(ae,ue))_(ae,ue,E,null,S,M,V,F,H);else break;le--,te--}if(R>le){if(R<=te){const ae=te+1,ue=ae<W?g[ae].el:T;for(;R<=te;)_(null,g[R]=H?Bt(g[R]):vt(g[R]),E,ue,S,M,V,F,H),R++}}else if(R>te)for(;R<=le;)ee(v[R],S,M,!0),R++;else{const ae=R,ue=R,ge=new Map;for(R=ue;R<=te;R++){const tt=g[R]=H?Bt(g[R]):vt(g[R]);tt.key!=null&&ge.set(tt.key,R)}let Le,je=0;const pt=te-ue+1;let _n=!1,ms=0;const Gn=new Array(pt);for(R=0;R<pt;R++)Gn[R]=0;for(R=ae;R<=le;R++){const tt=v[R];if(je>=pt){ee(tt,S,M,!0);continue}let _t;if(tt.key!=null)_t=ge.get(tt.key);else for(Le=ue;Le<=te;Le++)if(Gn[Le-ue]===0&&sn(tt,g[Le])){_t=Le;break}_t===void 0?ee(tt,S,M,!0):(Gn[_t-ue]=R+1,_t>=ms?ms=_t:_n=!0,_(tt,g[_t],E,null,S,M,V,F,H),je++)}const gs=_n?zd(Gn):Ln;for(Le=gs.length-1,R=pt-1;R>=0;R--){const tt=ue+R,_t=g[tt],ys=tt+1<W?g[tt+1].el:T;Gn[R]===0?_(null,_t,E,ys,S,M,V,F,H):_n&&(Le<0||R!==gs[Le]?Ye(_t,E,ys,2):Le--)}}},Ye=(v,g,E,T,S=null)=>{const{el:M,type:V,transition:F,children:H,shapeFlag:R}=v;if(R&6){Ye(v.component.subTree,g,E,T);return}if(R&128){v.suspense.move(g,E,T);return}if(R&64){V.move(v,g,E,Z);return}if(V===ze){l(M,g,E);for(let le=0;le<H.length;le++)Ye(H[le],g,E,T);l(v.anchor,g,E);return}if(V===rl){y(v,g,E);return}if(T!==2&&R&1&&F)if(T===0)F.beforeEnter(M),l(M,g,E),Je(()=>F.enter(M),S);else{const{leave:le,delayLeave:te,afterLeave:ae}=F,ue=()=>l(M,g,E),ge=()=>{le(M,()=>{ue(),ae&&ae()})};te?te(M,ue,ge):ge()}else l(M,g,E)},ee=(v,g,E,T=!1,S=!1)=>{const{type:M,props:V,ref:F,children:H,dynamicChildren:R,shapeFlag:W,patchFlag:le,dirs:te}=v;if(F!=null&&ur(F,null,E,v,!0),W&256){g.ctx.deactivate(v);return}const ae=W&1&&te,ue=!tl(v);let ge;if(ue&&(ge=V&&V.onVnodeBeforeUnmount)&&st(ge,g,v),W&6)ne(v.component,E,T);else{if(W&128){v.suspense.unmount(E,T);return}ae&&kt(v,null,g,"beforeUnmount"),W&64?v.type.remove(v,g,E,S,Z,T):R&&(M!==ze||le>0&&le&64)?X(R,g,E,!1,!0):(M===ze&&le&384||!S&&W&16)&&X(H,g,E),T&&z(v)}(ue&&(ge=V&&V.onVnodeUnmounted)||ae)&&Je(()=>{ge&&st(ge,g,v),ae&&kt(v,null,g,"unmounted")},E)},z=v=>{const{type:g,el:E,anchor:T,transition:S}=v;if(g===ze){G(E,T);return}if(g===rl){C(v);return}const M=()=>{r(E),S&&!S.persisted&&S.afterLeave&&S.afterLeave()};if(v.shapeFlag&1&&S&&!S.persisted){const{leave:V,delayLeave:F}=S,H=()=>V(E,M);F?F(v.el,M,H):H()}else M()},G=(v,g)=>{let E;for(;v!==g;)E=p(v),r(v),v=E;r(g)},ne=(v,g,E)=>{const{bum:T,scope:S,update:M,subTree:V,um:F}=v;T&&tr(T),S.stop(),M&&(M.active=!1,ee(V,v,g,E)),F&&Je(F,g),Je(()=>{v.isUnmounted=!0},g),g&&g.pendingBranch&&!g.isUnmounted&&v.asyncDep&&!v.asyncResolved&&v.suspenseId===g.pendingId&&(g.deps--,g.deps===0&&g.resolve())},X=(v,g,E,T=!1,S=!1,M=0)=>{for(let V=M;V<v.length;V++)ee(v[V],g,E,T,S)},w=v=>v.shapeFlag&6?w(v.component.subTree):v.shapeFlag&128?v.suspense.next():p(v.anchor||v.el);let D=!1;const j=(v,g,E)=>{v==null?g._vnode&&ee(g._vnode,null,null,!0):_(g._vnode||null,v,g,null,null,null,E),D||(D=!0,Ls(),ir(),D=!1),g._vnode=v},Z={p:_,um:ee,m:Ye,r:z,mt:Ee,mc:O,pc:K,pbc:P,n:w,o:e};let de,be;return t&&([de,be]=t(Z)),{render:j,hydrate:de,createApp:Od(j,de)}}function Mr({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 nn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function qa(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Wa(e,t,n=!1){const l=e.children,r=t.children;if(oe(l)&&oe(r))for(let o=0;o<l.length;o++){const s=l[o];let i=r[o];i.shapeFlag&1&&!i.dynamicChildren&&((i.patchFlag<=0||i.patchFlag===32)&&(i=r[o]=Bt(r[o]),i.el=s.el),n||Wa(s,i)),i.type===Mn&&(i.el=s.el)}}function zd(e){const t=e.slice(),n=[0];let l,r,o,s,i;const a=e.length;for(l=0;l<a;l++){const c=e[l];if(c!==0){if(r=n[n.length-1],e[r]<c){t[l]=r,n.push(l);continue}for(o=0,s=n.length-1;o<s;)i=o+s>>1,e[n[i]]<c?o=i+1:s=i;c<e[n[o]]&&(o>0&&(t[l]=n[o-1]),n[o]=l)}}for(o=n.length,s=n[o-1];o-- >0;)n[o]=s,s=t[s];return n}function Ka(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ka(t)}const qd=e=>e.__isTeleport,ze=Symbol.for("v-fgt"),Mn=Symbol.for("v-txt"),ut=Symbol.for("v-cmt"),rl=Symbol.for("v-stc"),ol=[];let mt=null;function yt(e=!1){ol.push(mt=e?null:[])}function Wd(){ol.pop(),mt=ol[ol.length-1]||null}let hl=1;function js(e){hl+=e}function Ga(e){return e.dynamicChildren=hl>0?mt||Ln:null,Wd(),hl>0&&mt&&mt.push(e),e}function Kt(e,t,n,l,r,o){return Ga(ie(e,t,n,l,r,o,!0))}function Xo(e,t,n,l,r){return Ga(Pe(e,t,n,l,r,!0))}function ho(e){return e?e.__v_isVNode===!0:!1}function sn(e,t){return e.type===t.type&&e.key===t.key}const wr="__vInternal",Ya=({key:e})=>e??null,nr=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Re(e)||$e(e)||ce(e)?{i:We,r:e,k:t,f:!!n}:e:null);function ie(e,t=null,n=null,l=0,r=null,o=e===ze?0:1,s=!1,i=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ya(t),ref:t&&nr(t),scopeId:_r,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:o,patchFlag:l,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:We};return i?(Zo(a,n),o&128&&e.normalize(a)):n&&(a.shapeFlag|=Re(n)?8:16),hl>0&&!s&&mt&&(a.patchFlag>0||o&6)&&a.patchFlag!==32&&mt.push(a),a}const Pe=Kd;function Kd(e,t=null,n=null,l=0,r=null,o=!1){if((!e||e===ad)&&(e=ut),ho(e)){const i=Gt(e,t,!0);return n&&Zo(i,n),hl>0&&!o&&mt&&(i.shapeFlag&6?mt[mt.indexOf(e)]=i:mt.push(i)),i.patchFlag|=-2,i}if(rp(e)&&(e=e.__vccOpts),t){t=Gd(t);let{class:i,style:a}=t;i&&!Re(i)&&(t.class=Fo(i)),ke(a)&&(ga(a)&&!oe(a)&&(a=Oe({},a)),t.style=$o(a))}const s=Re(e)?1:ud(e)?128:qd(e)?64:ke(e)?4:ce(e)?2:0;return ie(e,t,n,l,r,s,o,!0)}function Gd(e){return e?ga(e)||wr in e?Oe({},e):e:null}function Gt(e,t,n=!1){const{props:l,ref:r,patchFlag:o,children:s}=e,i=t?Yd(l||{},t):l;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:i,key:i&&Ya(i),ref:t&&t.ref?n&&r?oe(r)?r.concat(nr(t)):[r,nr(t)]:nr(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ze?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Gt(e.ssContent),ssFallback:e.ssFallback&&Gt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function fr(e=" ",t=0){return Pe(Mn,null,e,t)}function sg(e,t){const n=Pe(rl,null,e);return n.staticCount=t,n}function dn(e="",t=!1){return t?(yt(),Xo(ut,null,e)):Pe(ut,null,e)}function vt(e){return e==null||typeof e=="boolean"?Pe(ut):oe(e)?Pe(ze,null,e.slice()):typeof e=="object"?Bt(e):Pe(Mn,null,String(e))}function Bt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Gt(e)}function Zo(e,t){let n=0;const{shapeFlag:l}=e;if(t==null)t=null;else if(oe(t))n=16;else if(typeof t=="object")if(l&65){const r=t.default;r&&(r._c&&(r._d=!1),Zo(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(wr in t)?t._ctx=We:r===3&&We&&(We.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ce(t)?(t={default:t,_ctx:We},n=32):(t=String(t),l&64?(n=16,t=[fr(t)]):n=8);e.children=t,e.shapeFlag|=n}function Yd(...e){const t={};for(let n=0;n<e.length;n++){const l=e[n];for(const r in l)if(r==="class")t.class!==l.class&&(t.class=Fo([t.class,l.class]));else if(r==="style")t.style=$o([t.style,l.style]);else if(wl(r)){const o=t[r],s=l[r];s&&o!==s&&!(oe(o)&&o.includes(s))&&(t[r]=o?[].concat(o,s):s)}else r!==""&&(t[r]=l[r])}return t}function st(e,t,n,l=null){ct(e,t,7,[n,l])}const Jd=ja();let Qd=0;function Xd(e,t,n){const l=e.type,r=(t?t.appContext:e.appContext)||Jd,o={uid:Qd++,vnode:e,type:l,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new kf(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Ha(l,r),emitsOptions:xa(l,r),emit:null,emitted:null,propsDefaults:Ae,inheritAttrs:l.inheritAttrs,ctx:Ae,data:Ae,props:Ae,attrs:Ae,slots:Ae,refs:Ae,setupState:Ae,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 o.ctx={_:o},o.root=t?t.root:o,o.emit=nd.bind(null,o),e.ce&&e.ce(o),o}let Be=null;const Il=()=>Be||We;let dr,vo;{const e=ta(),t=(n,l)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(l),o=>{r.length>1?r.forEach(s=>s(o)):r[0](o)}};dr=t("__VUE_INSTANCE_SETTERS__",n=>Be=n),vo=t("__VUE_SSR_SETTERS__",n=>Nl=n)}const Pl=e=>{const t=Be;return dr(e),e.scope.on(),()=>{e.scope.off(),dr(t)}},Bs=()=>{Be&&Be.scope.off(),dr(null)};function Ja(e){return e.vnode.shapeFlag&4}let Nl=!1;function Zd(e,t=!1){t&&vo(t);const{props:n,children:l}=e.vnode,r=Ja(e);Rd(e,n,r,t),Md(e,l);const o=r?ep(e,t):void 0;return t&&vo(!1),o}function ep(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=ya(new Proxy(e.ctx,xd));const{setup:l}=n;if(l){const r=e.setupContext=l.length>1?np(e):null,o=Pl(e);hn();const s=qt(l,e,0,[e.props,r]);if(vn(),o(),Xi(s)){if(s.then(Bs,Bs),t)return s.then(i=>{Hs(e,i,t)}).catch(i=>{xl(i,e,0)});e.asyncDep=s}else Hs(e,s,t)}else Qa(e,t)}function Hs(e,t,n){ce(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ke(t)&&(e.setupState=ka(t)),Qa(e,n)}let Vs;function Qa(e,t,n){const l=e.type;if(!e.render){if(!t&&Vs&&!l.render){const r=l.template||Jo(e).template;if(r){const{isCustomElement:o,compilerOptions:s}=e.appContext.config,{delimiters:i,compilerOptions:a}=l,c=Oe(Oe({isCustomElement:o,delimiters:i},s),a);l.render=Vs(r,c)}}e.render=l.render||at}{const r=Pl(e);hn();try{Ld(e)}finally{vn(),r()}}}function tp(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Ze(e,"get","$attrs"),t[n]}}))}function np(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return tp(e)},slots:e.slots,emit:e.emit,expose:t}}function Er(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(ka(ya(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in nl)return nl[n](e)},has(t,n){return n in t||n in nl}}))}function lp(e,t=!0){return ce(e)?e.displayName||e.name:e.name||t&&e.__name}function rp(e){return ce(e)&&"__vccOpts"in e}const L=(e,t)=>zf(e,t,Nl);function f(e,t,n){const l=arguments.length;return l===2?ke(t)&&!oe(t)?ho(t)?Pe(e,null,[t]):Pe(e,t):Pe(e,null,t):(l>3?n=Array.prototype.slice.call(arguments,2):l===3&&ho(n)&&(n=[n]),Pe(e,t,n))}const op="3.4.21";/**
|
||
* @vue/runtime-dom v3.4.21
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/const sp="http://www.w3.org/2000/svg",ip="http://www.w3.org/1998/Math/MathML",Ht=typeof document<"u"?document:null,Us=Ht&&Ht.createElement("template"),ap={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,l)=>{const r=t==="svg"?Ht.createElementNS(sp,e):t==="mathml"?Ht.createElementNS(ip,e):Ht.createElement(e,n?{is:n}:void 0);return e==="select"&&l&&l.multiple!=null&&r.setAttribute("multiple",l.multiple),r},createText:e=>Ht.createTextNode(e),createComment:e=>Ht.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ht.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,l,r,o){const s=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{Us.innerHTML=l==="svg"?`<svg>${e}</svg>`:l==="mathml"?`<math>${e}</math>`:e;const i=Us.content;if(l==="svg"||l==="mathml"){const a=i.firstChild;for(;a.firstChild;)i.appendChild(a.firstChild);i.removeChild(a)}t.insertBefore(i,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Rt="transition",Yn="animation",Dn=Symbol("_vtc"),Yt=(e,{slots:t})=>f(vd,Za(e),t);Yt.displayName="Transition";const Xa={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},cp=Yt.props=Oe({},Oa,Xa),ln=(e,t=[])=>{oe(e)?e.forEach(n=>n(...t)):e&&e(...t)},zs=e=>e?oe(e)?e.some(t=>t.length>1):e.length>1:!1;function Za(e){const t={};for(const $ in e)$ in Xa||(t[$]=e[$]);if(e.css===!1)return t;const{name:n="v",type:l,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:i=`${n}-enter-to`,appearFromClass:a=o,appearActiveClass:c=s,appearToClass:u=i,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,m=up(r),_=m&&m[0],b=m&&m[1],{onBeforeEnter:k,onEnter:A,onEnterCancelled:y,onLeave:C,onLeaveCancelled:N,onBeforeAppear:x=k,onAppear:I=A,onAppearCancelled:O=y}=t,Q=($,re,Ee)=>{Mt($,re?u:i),Mt($,re?c:s),Ee&&Ee()},P=($,re)=>{$._isLeaving=!1,Mt($,d),Mt($,h),Mt($,p),re&&re()},q=$=>(re,Ee)=>{const _e=$?I:A,Y=()=>Q(re,$,Ee);ln(_e,[re,Y]),qs(()=>{Mt(re,$?a:o),xt(re,$?u:i),zs(_e)||Ws(re,l,_,Y)})};return Oe(t,{onBeforeEnter($){ln(k,[$]),xt($,o),xt($,s)},onBeforeAppear($){ln(x,[$]),xt($,a),xt($,c)},onEnter:q(!1),onAppear:q(!0),onLeave($,re){$._isLeaving=!0;const Ee=()=>P($,re);xt($,d),tc(),xt($,p),qs(()=>{$._isLeaving&&(Mt($,d),xt($,h),zs(C)||Ws($,l,b,Ee))}),ln(C,[$,Ee])},onEnterCancelled($){Q($,!1),ln(y,[$])},onAppearCancelled($){Q($,!0),ln(O,[$])},onLeaveCancelled($){P($),ln(N,[$])}})}function up(e){if(e==null)return null;if(ke(e))return[Dr(e.enter),Dr(e.leave)];{const t=Dr(e);return[t,t]}}function Dr(e){return hf(e)}function xt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Dn]||(e[Dn]=new Set)).add(t)}function Mt(e,t){t.split(/\s+/).forEach(l=>l&&e.classList.remove(l));const n=e[Dn];n&&(n.delete(t),n.size||(e[Dn]=void 0))}function qs(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let fp=0;function Ws(e,t,n,l){const r=e._endId=++fp,o=()=>{r===e._endId&&l()};if(n)return setTimeout(o,n);const{type:s,timeout:i,propCount:a}=ec(e,t);if(!s)return l();const c=s+"end";let u=0;const d=()=>{e.removeEventListener(c,p),o()},p=h=>{h.target===e&&++u>=a&&d()};setTimeout(()=>{u<a&&d()},i+1),e.addEventListener(c,p)}function ec(e,t){const n=window.getComputedStyle(e),l=m=>(n[m]||"").split(", "),r=l(`${Rt}Delay`),o=l(`${Rt}Duration`),s=Ks(r,o),i=l(`${Yn}Delay`),a=l(`${Yn}Duration`),c=Ks(i,a);let u=null,d=0,p=0;t===Rt?s>0&&(u=Rt,d=s,p=o.length):t===Yn?c>0&&(u=Yn,d=c,p=a.length):(d=Math.max(s,c),u=d>0?s>c?Rt:Yn:null,p=u?u===Rt?o.length:a.length:0);const h=u===Rt&&/\b(transform|all)(,|$)/.test(l(`${Rt}Property`).toString());return{type:u,timeout:d,propCount:p,hasTransform:h}}function Ks(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,l)=>Gs(n)+Gs(e[l])))}function Gs(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function tc(){return document.body.offsetHeight}function dp(e,t,n){const l=e[Dn];l&&(t=(t?[t,...l]:[...l]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ys=Symbol("_vod"),pp=Symbol("_vsh"),hp=Symbol(""),vp=/(^|;)\s*display\s*:/;function mp(e,t,n){const l=e.style,r=Re(n);let o=!1;if(n&&!r){if(t)if(Re(t))for(const s of t.split(";")){const i=s.slice(0,s.indexOf(":")).trim();n[i]==null&&lr(l,i,"")}else for(const s in t)n[s]==null&&lr(l,s,"");for(const s in n)s==="display"&&(o=!0),lr(l,s,n[s])}else if(r){if(t!==n){const s=l[hp];s&&(n+=";"+s),l.cssText=n,o=vp.test(n)}}else t&&e.removeAttribute("style");Ys in e&&(e[Ys]=o?l.display:"",e[pp]&&(l.display="none"))}const Js=/\s*!important$/;function lr(e,t,n){if(oe(n))n.forEach(l=>lr(e,t,l));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const l=gp(e,t);Js.test(n)?e.setProperty(zn(l),n.replace(Js,""),"important"):e[l]=n}}const Qs=["Webkit","Moz","ms"],jr={};function gp(e,t){const n=jr[t];if(n)return n;let l=dt(t);if(l!=="filter"&&l in e)return jr[t]=l;l=El(l);for(let r=0;r<Qs.length;r++){const o=Qs[r]+l;if(o in e)return jr[t]=o}return t}const Xs="http://www.w3.org/1999/xlink";function yp(e,t,n,l,r){if(l&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Xs,t.slice(6,t.length)):e.setAttributeNS(Xs,t,n);else{const o=_f(t);n==null||o&&!na(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}function bp(e,t,n,l,r,o,s){if(t==="innerHTML"||t==="textContent"){l&&s(l,r,o),e[t]=n??"";return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const c=i==="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 a=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=na(n):n==null&&c==="string"?(n="",a=!0):c==="number"&&(n=0,a=!0)}try{e[t]=n}catch{}a&&e.removeAttribute(t)}function wn(e,t,n,l){e.addEventListener(t,n,l)}function _p(e,t,n,l){e.removeEventListener(t,n,l)}const Zs=Symbol("_vei");function kp(e,t,n,l,r=null){const o=e[Zs]||(e[Zs]={}),s=o[t];if(l&&s)s.value=l;else{const[i,a]=wp(t);if(l){const c=o[t]=Cp(l,r);wn(e,i,c,a)}else s&&(_p(e,i,s,a),o[t]=void 0)}}const ei=/(?:Once|Passive|Capture)$/;function wp(e){let t;if(ei.test(e)){t={};let l;for(;l=e.match(ei);)e=e.slice(0,e.length-l[0].length),t[l[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):zn(e.slice(2)),t]}let Br=0;const Ep=Promise.resolve(),Ap=()=>Br||(Ep.then(()=>Br=0),Br=Date.now());function Cp(e,t){const n=l=>{if(!l._vts)l._vts=Date.now();else if(l._vts<=n.attached)return;ct(xp(l,n.value),t,5,[l])};return n.value=e,n.attached=Ap(),n}function xp(e,t){if(oe(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(l=>r=>!r._stopped&&l&&l(r))}else return t}const ti=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Lp=(e,t,n,l,r,o,s,i,a)=>{const c=r==="svg";t==="class"?dp(e,l,c):t==="style"?mp(e,n,l):wl(t)?No(t)||kp(e,t,n,l,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Sp(e,t,l,c))?bp(e,t,l,o,s,i,a):(t==="true-value"?e._trueValue=l:t==="false-value"&&(e._falseValue=l),yp(e,t,l,c))};function Sp(e,t,n,l){if(l)return!!(t==="innerHTML"||t==="textContent"||t in e&&ti(t)&&ce(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 r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return ti(t)&&Re(n)?!1:t in e}const nc=new WeakMap,lc=new WeakMap,pr=Symbol("_moveCb"),ni=Symbol("_enterCb"),rc={name:"TransitionGroup",props:Oe({},cp,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Il(),l=Na();let r,o;return Fa(()=>{if(!r.length)return;const s=e.moveClass||`${e.name||"v"}-move`;if(!Rp(r[0].el,n.vnode.el,s))return;r.forEach(Pp),r.forEach(Np);const i=r.filter(Op);tc(),i.forEach(a=>{const c=a.el,u=c.style;xt(c,s),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[pr]=p=>{p&&p.target!==c||(!p||/transform$/.test(p.propertyName))&&(c.removeEventListener("transitionend",d),c[pr]=null,Mt(c,s))};c.addEventListener("transitionend",d)})}),()=>{const s=fe(e),i=Za(s);let a=s.tag||ze;r=o,o=t.default?Go(t.default()):[];for(let c=0;c<o.length;c++){const u=o[c];u.key!=null&&pl(u,dl(u,i,l,n))}if(r)for(let c=0;c<r.length;c++){const u=r[c];pl(u,dl(u,i,l,n)),nc.set(u,u.el.getBoundingClientRect())}return Pe(a,null,o)}}},Tp=e=>delete e.mode;rc.props;const Ip=rc;function Pp(e){const t=e.el;t[pr]&&t[pr](),t[ni]&&t[ni]()}function Np(e){lc.set(e,e.el.getBoundingClientRect())}function Op(e){const t=nc.get(e),n=lc.get(e),l=t.left-n.left,r=t.top-n.top;if(l||r){const o=e.el.style;return o.transform=o.webkitTransform=`translate(${l}px,${r}px)`,o.transitionDuration="0s",e}}function Rp(e,t,n){const l=e.cloneNode(),r=e[Dn];r&&r.forEach(i=>{i.split(/\s+/).forEach(a=>a&&l.classList.remove(a))}),n.split(/\s+/).forEach(i=>i&&l.classList.add(i)),l.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(l);const{hasTransform:s}=ec(l);return o.removeChild(l),s}const li=e=>{const t=e.props["onUpdate:modelValue"]||!1;return oe(t)?n=>tr(t,n):t};function $p(e){e.target.composing=!0}function ri(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Hr=Symbol("_assign"),oc={created(e,{modifiers:{lazy:t,trim:n,number:l}},r){e[Hr]=li(r);const o=l||r.props&&r.props.type==="number";wn(e,t?"change":"input",s=>{if(s.target.composing)return;let i=e.value;n&&(i=i.trim()),o&&(i=ro(i)),e[Hr](i)}),n&&wn(e,"change",()=>{e.value=e.value.trim()}),t||(wn(e,"compositionstart",$p),wn(e,"compositionend",ri),wn(e,"change",ri))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:l,number:r}},o){if(e[Hr]=li(o),e.composing)return;const s=r||e.type==="number"?ro(e.value):e.value,i=t??"";s!==i&&(document.activeElement===e&&e.type!=="range"&&(n||l&&e.value.trim()===i)||(e.value=i))}},Fp=Oe({patchProp:Lp},ap);let Vr,oi=!1;function Mp(){return Vr=oi?Vr:Vd(Fp),oi=!0,Vr}const Dp=(...e)=>{const t=Mp().createApp(...e),{mount:n}=t;return t.mount=l=>{const r=Bp(l);if(r)return n(r,!0,jp(r))},t};function jp(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Bp(e){return Re(e)?document.querySelector(e):e}var Hp=["link","meta","script","style","noscript","template"],Vp=["title","base"],Up=([e,t,n])=>Vp.includes(e)?e:Hp.includes(e)?e==="meta"&&t.name?`${e}.${t.name}`:e==="template"&&t.id?`${e}.${t.id}`:JSON.stringify([e,Object.entries(t).map(([l,r])=>typeof r=="boolean"?r?[l,""]:null:[l,r]).filter(l=>l!=null).sort(([l],[r])=>l.localeCompare(r)),n]):null,zp=e=>{const t=new Set,n=[];return e.forEach(l=>{const r=Up(l);r&&!t.has(r)&&(t.add(r),n.push(l))}),n},qp=e=>e[0]==="/"?e:`/${e}`,sc=e=>e[e.length-1]==="/"||e.endsWith(".html")?e:`${e}/`,gn=e=>/^(https?:)?\/\//.test(e),Wp=/.md((\?|#).*)?$/,jn=(e,t="/")=>!!(gn(e)||e.startsWith("/")&&!e.startsWith(t)&&!Wp.test(e)),ic=e=>/^[a-z][a-z0-9+.-]*:/.test(e),qn=e=>Object.prototype.toString.call(e)==="[object Object]",Kp=e=>{const[t,...n]=e.split(/(\?|#)/);if(!t||t.endsWith("/"))return e;let l=t.replace(/(^|\/)README.md$/i,"$1index.html");return l.endsWith(".md")?l=l.substring(0,l.length-3)+".html":l.endsWith(".html")||(l=l+".html"),l.endsWith("/index.html")&&(l=l.substring(0,l.length-10)),l+n.join("")},es=e=>e[e.length-1]==="/"?e.slice(0,-1):e,ac=e=>e[0]==="/"?e.slice(1):e,Gp=(e,t)=>{const n=Object.keys(e).sort((l,r)=>{const o=r.split("/").length-l.split("/").length;return o!==0?o:r.length-l.length});for(const l of n)if(t.startsWith(l))return l;return"/"},Ne=e=>typeof e=="string";const Yp="modulepreload",Jp=function(e){return"/"+e},si={},B=function(t,n,l){let r=Promise.resolve();if(n&&n.length>0){const o=document.getElementsByTagName("link"),s=document.querySelector("meta[property=csp-nonce]"),i=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));r=Promise.all(n.map(a=>{if(a=Jp(a),a in si)return;si[a]=!0;const c=a.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(!!l)for(let h=o.length-1;h>=0;h--){const m=o[h];if(m.href===a&&(!c||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${u}`))return;const p=document.createElement("link");if(p.rel=c?"stylesheet":Yp,c||(p.as="script",p.crossOrigin=""),p.href=a,i&&p.setAttribute("nonce",i),document.head.appendChild(p),c)return new Promise((h,m)=>{p.addEventListener("load",h),p.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${a}`)))})}))}return r.then(()=>t()).catch(o=>{const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=o,window.dispatchEvent(s),!s.defaultPrevented)throw o})},Qp=JSON.parse("{}"),Xp=Object.fromEntries([["/",{loader:()=>B(()=>import("./index.html-RqQagkKE.js"),__vite__mapDeps([])),meta:{t:"首页",i:"home"}}],["/deploy/",{loader:()=>B(()=>import("./index.html-DK99YE7f.js"),__vite__mapDeps([])),meta:{t:"项目部署",i:"laptop-code"}}],["/deploy/config.html",{loader:()=>B(()=>import("./config.html-DADBVv8O.js"),__vite__mapDeps([])),meta:{t:"配置",i:"cog",O:2}}],["/deploy/fandq.html",{loader:()=>B(()=>import("./fandq.html-BUP62i7y.js"),__vite__mapDeps([])),meta:{t:"答疑",i:"question",O:3}}],["/deploy/install.html",{loader:()=>B(()=>import("./install.html-C3rJbffL.js"),__vite__mapDeps([])),meta:{t:"安装",i:"download",O:1}}],["/dev/",{loader:()=>B(()=>import("./index.html-DhQWruMv.js"),__vite__mapDeps([])),meta:{t:"开发及贡献",i:"laptop-code"}}],["/dev/dev_comm.html",{loader:()=>B(()=>import("./dev_comm.html-BFp2Drrt.js"),__vite__mapDeps([])),meta:{t:"进程通信",i:"exchange-alt",O:4}}],["/dev/dev_lyfunc.html",{loader:()=>B(()=>import("./dev_lyfunc.html-D6kfoKCB.js"),__vite__mapDeps([])),meta:{t:"轻雪函数",i:"code",O:2}}],["/dev/dev_lyplugin.html",{loader:()=>B(()=>import("./dev_lyplugin.html-CdkFj--s.js"),__vite__mapDeps([])),meta:{t:"轻雪插件开发",i:"laptop-code",O:3}}],["/dev/dev_resource_pack.html",{loader:()=>B(()=>import("./dev_resource_pack.html-BntFIc5H.js"),__vite__mapDeps([])),meta:{t:"资源包开发",i:"box",O:1}}],["/en/",{loader:()=>B(()=>import("./index.html-CNCPUdy-.js"),__vite__mapDeps([])),meta:{t:"Home",i:"home"}}],["/store/",{loader:()=>B(()=>import("./index.html-CTJTUcKS.js"),__vite__mapDeps([])),meta:{t:"资源及插件商店",i:"store"}}],["/store/plugin.html",{loader:()=>B(()=>import("./plugin.html-Dt_-a_ts.js"),__vite__mapDeps([])),meta:{t:"插件商店",i:"plug",O:2}}],["/store/resource.html",{loader:()=>B(()=>import("./resource.html-D8Jo3toh.js"),__vite__mapDeps([])),meta:{t:"资源商店",i:"box",O:1}}],["/usage/",{loader:()=>B(()=>import("./index.html-Xhcxg_Mp.js"),__vite__mapDeps([])),meta:{t:"使用手册",i:"laptop-code"}}],["/usage/agreement.html",{loader:()=>B(()=>import("./agreement.html-B-3vqE9q.js"),__vite__mapDeps([])),meta:{t:"用户协议",i:"user-secret",O:3}}],["/usage/basic_command.html",{loader:()=>B(()=>import("./basic_command.html-CkWEJSQW.js"),__vite__mapDeps([])),meta:{t:"基础命令",i:"comment",O:1}}],["/usage/extra_command.html",{loader:()=>B(()=>import("./extra_command.html-5n3e_msK.js"),__vite__mapDeps([])),meta:{t:"功能命令",i:"comment",O:2}}],["/dev/api/",{loader:()=>B(()=>import("./index.html-CL68vRmK.js"),__vite__mapDeps([])),meta:{t:"liteyuki",i:"laptop-code"}}],["/dev/api/config.html",{loader:()=>B(()=>import("./config.html-BhGDMP0U.js"),__vite__mapDeps([])),meta:{t:"liteyuki.config",i:"laptop-code",O:1}}],["/dev/api/exception.html",{loader:()=>B(()=>import("./exception.html-CPKeEQex.js"),__vite__mapDeps([])),meta:{t:"liteyuki.exception",i:"laptop-code",O:1}}],["/dev/api/log.html",{loader:()=>B(()=>import("./log.html-BIgP88_4.js"),__vite__mapDeps([])),meta:{t:"liteyuki.log",i:"laptop-code",O:1}}],["/dev/api/utils.html",{loader:()=>B(()=>import("./utils.html-Byz9aX2D.js"),__vite__mapDeps([])),meta:{t:"liteyuki.utils",i:"laptop-code",O:1}}],["/en/deploy/",{loader:()=>B(()=>import("./index.html-BoTGJQcX.js"),__vite__mapDeps([])),meta:{t:"Deploy",i:"laptop-code"}}],["/en/deploy/config.html",{loader:()=>B(()=>import("./config.html-DpEB5bpV.js"),__vite__mapDeps([])),meta:{t:"Configuration",i:"cog",O:2}}],["/en/deploy/fandq.html",{loader:()=>B(()=>import("./fandq.html-BJ3GNrNc.js"),__vite__mapDeps([])),meta:{t:"FAQ",i:"question",O:3}}],["/en/deploy/install.html",{loader:()=>B(()=>import("./install.html-3T-Gls2t.js"),__vite__mapDeps([])),meta:{t:"Installation",i:"download",O:1}}],["/en/dev/",{loader:()=>B(()=>import("./index.html-BxCag9MK.js"),__vite__mapDeps([])),meta:{t:"Contribute",i:"laptop-code"}}],["/en/dev/dev_comm.html",{loader:()=>B(()=>import("./dev_comm.html-BylV15IR.js"),__vite__mapDeps([])),meta:{t:"Communication",i:"exchange-alt",O:4}}],["/en/dev/dev_lyfunc.html",{loader:()=>B(()=>import("./dev_lyfunc.html-C2owcuyP.js"),__vite__mapDeps([])),meta:{t:"Liteyuki Function",i:"code",O:2}}],["/en/dev/dev_lyplugin.html",{loader:()=>B(()=>import("./dev_lyplugin.html-MJFFlPJd.js"),__vite__mapDeps([])),meta:{t:"Liteyuki Plugin",i:"laptop-code",O:3}}],["/en/dev/dev_resource_pack.html",{loader:()=>B(()=>import("./dev_resource_pack.html-7fJ7O6QZ.js"),__vite__mapDeps([])),meta:{t:"Resource Pack",i:"box",O:1}}],["/en/store/",{loader:()=>B(()=>import("./index.html-B7q9mLlC.js"),__vite__mapDeps([])),meta:{t:"Extensions Store",i:"store"}}],["/en/store/plugin.html",{loader:()=>B(()=>import("./plugin.html-D23aiZf3.js"),__vite__mapDeps([])),meta:{t:"Plugin Store",i:"plug",O:2}}],["/en/store/resource.html",{loader:()=>B(()=>import("./resource.html-wH1VQ4TO.js"),__vite__mapDeps([])),meta:{t:"Resource Store",i:"box",O:1}}],["/en/usage/",{loader:()=>B(()=>import("./index.html-CTnQbOBN.js"),__vite__mapDeps([])),meta:{t:"Usage",i:"laptop-code"}}],["/en/usage/agreement.html",{loader:()=>B(()=>import("./agreement.html-BeDnkhcm.js"),__vite__mapDeps([])),meta:{t:"User Agreement",i:"user-secret",O:3}}],["/en/usage/basic_command.html",{loader:()=>B(()=>import("./basic_command.html-CYgOsEab.js"),__vite__mapDeps([])),meta:{t:"Basic Commands",i:"comment",O:1}}],["/en/usage/extra_command.html",{loader:()=>B(()=>import("./extra_command.html-BL-YJma3.js"),__vite__mapDeps([])),meta:{t:"Extra Commands",i:"comment",O:2}}],["/dev/api/bot/",{loader:()=>B(()=>import("./index.html-DSqozd9Y.js"),__vite__mapDeps([])),meta:{t:"liteyuki.bot",i:"laptop-code"}}],["/dev/api/bot/lifespan.html",{loader:()=>B(()=>import("./lifespan.html-BN_fapOt.js"),__vite__mapDeps([])),meta:{t:"liteyuki.bot.lifespan",i:"laptop-code",O:1}}],["/dev/api/comm/",{loader:()=>B(()=>import("./index.html-B5X8zg5u.js"),__vite__mapDeps([])),meta:{t:"liteyuki.comm",i:"laptop-code"}}],["/dev/api/comm/channel.html",{loader:()=>B(()=>import("./channel.html-zemZljQC.js"),__vite__mapDeps([])),meta:{t:"liteyuki.comm.channel",i:"laptop-code",O:1}}],["/dev/api/comm/event.html",{loader:()=>B(()=>import("./event.html-CvcMnwzJ.js"),__vite__mapDeps([])),meta:{t:"liteyuki.comm.event",i:"laptop-code",O:1}}],["/dev/api/comm/storage.html",{loader:()=>B(()=>import("./storage.html-CdWcTxp6.js"),__vite__mapDeps([])),meta:{t:"liteyuki.comm.storage",i:"laptop-code",O:1}}],["/dev/api/core/",{loader:()=>B(()=>import("./index.html-Cbq6nhgu.js"),__vite__mapDeps([])),meta:{t:"liteyuki.core",i:"laptop-code"}}],["/dev/api/core/manager.html",{loader:()=>B(()=>import("./manager.html-B4bdqe2G.js"),__vite__mapDeps([])),meta:{t:"liteyuki.core.manager",i:"laptop-code",O:1}}],["/dev/api/dev/",{loader:()=>B(()=>import("./index.html-n1qMs1qL.js"),__vite__mapDeps([])),meta:{t:"liteyuki.dev",i:"laptop-code"}}],["/dev/api/dev/observer.html",{loader:()=>B(()=>import("./observer.html-DRQTsEhJ.js"),__vite__mapDeps([])),meta:{t:"liteyuki.dev.observer",i:"laptop-code",O:1}}],["/dev/api/dev/plugin.html",{loader:()=>B(()=>import("./plugin.html-Ceh4JyTm.js"),__vite__mapDeps([])),meta:{t:"liteyuki.dev.plugin",i:"laptop-code",O:1}}],["/dev/api/plugin/",{loader:()=>B(()=>import("./index.html-vi5VexcJ.js"),__vite__mapDeps([])),meta:{t:"liteyuki.plugin",i:"laptop-code"}}],["/dev/api/plugin/load.html",{loader:()=>B(()=>import("./load.html-CfEw0Ioo.js"),__vite__mapDeps([])),meta:{t:"liteyuki.plugin.load",i:"laptop-code",O:1}}],["/dev/api/plugin/manager.html",{loader:()=>B(()=>import("./manager.html-t6F7rG9l.js"),__vite__mapDeps([])),meta:{t:"liteyuki.plugin.manager",i:"laptop-code",O:1}}],["/dev/api/plugin/model.html",{loader:()=>B(()=>import("./model.html-5tu8fIkF.js"),__vite__mapDeps([])),meta:{t:"liteyuki.plugin.model",i:"laptop-code",O:1}}],["/en/dev/api/liteyuki/",{loader:()=>B(()=>import("./index.html-DX2rcsWq.js"),__vite__mapDeps([])),meta:{t:"liteyuki",i:"laptop-code"}}],["/en/dev/api/liteyuki/config.html",{loader:()=>B(()=>import("./config.html-DzThCApq.js"),__vite__mapDeps([])),meta:{t:"liteyuki.config",i:"laptop-code",O:1}}],["/en/dev/api/liteyuki/exception.html",{loader:()=>B(()=>import("./exception.html-C6lNOQ2D.js"),__vite__mapDeps([])),meta:{t:"liteyuki.exception",i:"laptop-code",O:1}}],["/en/dev/api/liteyuki/log.html",{loader:()=>B(()=>import("./log.html-B8sAjjUi.js"),__vite__mapDeps([])),meta:{t:"liteyuki.log",i:"laptop-code",O:1}}],["/en/dev/api/liteyuki/utils.html",{loader:()=>B(()=>import("./utils.html-C6mR4ZD8.js"),__vite__mapDeps([])),meta:{t:"liteyuki.utils",i:"laptop-code",O:1}}],["/en/dev/api/liteyuki/bot/",{loader:()=>B(()=>import("./index.html-CFUc-01c.js"),__vite__mapDeps([])),meta:{t:"liteyuki.bot",i:"laptop-code"}}],["/en/dev/api/liteyuki/bot/lifespan.html",{loader:()=>B(()=>import("./lifespan.html-MLpl77J0.js"),__vite__mapDeps([])),meta:{t:"liteyuki.bot.lifespan",i:"laptop-code",O:1}}],["/en/dev/api/liteyuki/comm/",{loader:()=>B(()=>import("./index.html-DbDlF0iP.js"),__vite__mapDeps([])),meta:{t:"liteyuki.comm",i:"laptop-code"}}],["/en/dev/api/liteyuki/comm/channel.html",{loader:()=>B(()=>import("./channel.html-DBl6mYl9.js"),__vite__mapDeps([])),meta:{t:"liteyuki.comm.channel",i:"laptop-code",O:1}}],["/en/dev/api/liteyuki/comm/event.html",{loader:()=>B(()=>import("./event.html-DpL9rIn9.js"),__vite__mapDeps([])),meta:{t:"liteyuki.comm.event",i:"laptop-code",O:1}}],["/en/dev/api/liteyuki/comm/storage.html",{loader:()=>B(()=>import("./storage.html-CBhFgDZN.js"),__vite__mapDeps([])),meta:{t:"liteyuki.comm.storage",i:"laptop-code",O:1}}],["/en/dev/api/liteyuki/core/",{loader:()=>B(()=>import("./index.html-govQKPEa.js"),__vite__mapDeps([])),meta:{t:"liteyuki.core",i:"laptop-code"}}],["/en/dev/api/liteyuki/core/manager.html",{loader:()=>B(()=>import("./manager.html-BE4YKANy.js"),__vite__mapDeps([])),meta:{t:"liteyuki.core.manager",i:"laptop-code",O:1}}],["/en/dev/api/liteyuki/dev/",{loader:()=>B(()=>import("./index.html-CfLmioc8.js"),__vite__mapDeps([])),meta:{t:"liteyuki.dev",i:"laptop-code"}}],["/en/dev/api/liteyuki/dev/observer.html",{loader:()=>B(()=>import("./observer.html-BHOZIcA_.js"),__vite__mapDeps([])),meta:{t:"liteyuki.dev.observer",i:"laptop-code",O:1}}],["/en/dev/api/liteyuki/dev/plugin.html",{loader:()=>B(()=>import("./plugin.html-DzjIQZNP.js"),__vite__mapDeps([])),meta:{t:"liteyuki.dev.plugin",i:"laptop-code",O:1}}],["/en/dev/api/liteyuki/plugin/",{loader:()=>B(()=>import("./index.html-CXFd64ic.js"),__vite__mapDeps([])),meta:{t:"liteyuki.plugin",i:"laptop-code"}}],["/en/dev/api/liteyuki/plugin/load.html",{loader:()=>B(()=>import("./load.html-DYYLPZty.js"),__vite__mapDeps([])),meta:{t:"liteyuki.plugin.load",i:"laptop-code",O:1}}],["/en/dev/api/liteyuki/plugin/manager.html",{loader:()=>B(()=>import("./manager.html-B8go8GAB.js"),__vite__mapDeps([])),meta:{t:"liteyuki.plugin.manager",i:"laptop-code",O:1}}],["/en/dev/api/liteyuki/plugin/model.html",{loader:()=>B(()=>import("./model.html-B6rtWSb3.js"),__vite__mapDeps([])),meta:{t:"liteyuki.plugin.model",i:"laptop-code",O:1}}],["/404.html",{loader:()=>B(()=>import("./404.html-D8L7eLyG.js"),__vite__mapDeps([])),meta:{t:""}}],["/en/dev/api/",{loader:()=>B(()=>import("./index.html-D3gVsj6n.js"),__vite__mapDeps([])),meta:{t:"Api"}}]]);/*!
|
||
* vue-router v4.4.0
|
||
* (c) 2024 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/const En=typeof document<"u";function Zp(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const me=Object.assign;function Ur(e,t){const n={};for(const l in t){const r=t[l];n[l]=bt(r)?r.map(e):e(r)}return n}const sl=()=>{},bt=Array.isArray,cc=/#/g,eh=/&/g,th=/\//g,nh=/=/g,lh=/\?/g,uc=/\+/g,rh=/%5B/g,oh=/%5D/g,fc=/%5E/g,sh=/%60/g,dc=/%7B/g,ih=/%7C/g,pc=/%7D/g,ah=/%20/g;function ts(e){return encodeURI(""+e).replace(ih,"|").replace(rh,"[").replace(oh,"]")}function ch(e){return ts(e).replace(dc,"{").replace(pc,"}").replace(fc,"^")}function mo(e){return ts(e).replace(uc,"%2B").replace(ah,"+").replace(cc,"%23").replace(eh,"%26").replace(sh,"`").replace(dc,"{").replace(pc,"}").replace(fc,"^")}function uh(e){return mo(e).replace(nh,"%3D")}function fh(e){return ts(e).replace(cc,"%23").replace(lh,"%3F")}function dh(e){return e==null?"":fh(e).replace(th,"%2F")}function vl(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const ph=/\/$/,hh=e=>e.replace(ph,"");function zr(e,t,n="/"){let l,r={},o="",s="";const i=t.indexOf("#");let a=t.indexOf("?");return i<a&&i>=0&&(a=-1),a>-1&&(l=t.slice(0,a),o=t.slice(a+1,i>-1?i:t.length),r=e(o)),i>-1&&(l=l||t.slice(0,i),s=t.slice(i,t.length)),l=yh(l??t,n),{fullPath:l+(o&&"?")+o+s,path:l,query:r,hash:vl(s)}}function vh(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function ii(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function mh(e,t,n){const l=t.matched.length-1,r=n.matched.length-1;return l>-1&&l===r&&Bn(t.matched[l],n.matched[r])&&hc(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Bn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function hc(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!gh(e[n],t[n]))return!1;return!0}function gh(e,t){return bt(e)?ai(e,t):bt(t)?ai(t,e):e===t}function ai(e,t){return bt(t)?e.length===t.length&&e.every((n,l)=>n===t[l]):e.length===1&&e[0]===t}function yh(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),l=e.split("/"),r=l[l.length-1];(r===".."||r===".")&&l.push("");let o=n.length-1,s,i;for(s=0;s<l.length;s++)if(i=l[s],i!==".")if(i==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+l.slice(s).join("/")}const Lt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var ml;(function(e){e.pop="pop",e.push="push"})(ml||(ml={}));var il;(function(e){e.back="back",e.forward="forward",e.unknown=""})(il||(il={}));function bh(e){if(!e)if(En){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),hh(e)}const _h=/^[^#]+#/;function kh(e,t){return e.replace(_h,"#")+t}function wh(e,t){const n=document.documentElement.getBoundingClientRect(),l=e.getBoundingClientRect();return{behavior:t.behavior,left:l.left-n.left-(t.left||0),top:l.top-n.top-(t.top||0)}}const Ar=()=>({left:window.scrollX,top:window.scrollY});function Eh(e){let t;if("el"in e){const n=e.el,l=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?l?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=wh(r,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 ci(e,t){return(history.state?history.state.position-t:-1)+e}const go=new Map;function Ah(e,t){go.set(e,t)}function Ch(e){const t=go.get(e);return go.delete(e),t}let xh=()=>location.protocol+"//"+location.host;function vc(e,t){const{pathname:n,search:l,hash:r}=t,o=e.indexOf("#");if(o>-1){let i=r.includes(e.slice(o))?e.slice(o).length:1,a=r.slice(i);return a[0]!=="/"&&(a="/"+a),ii(a,"")}return ii(n,e)+l+r}function Lh(e,t,n,l){let r=[],o=[],s=null;const i=({state:p})=>{const h=vc(e,location),m=n.value,_=t.value;let b=0;if(p){if(n.value=h,t.value=p,s&&s===m){s=null;return}b=_?p.position-_.position:0}else l(h);r.forEach(k=>{k(n.value,m,{delta:b,type:ml.pop,direction:b?b>0?il.forward:il.back:il.unknown})})};function a(){s=n.value}function c(p){r.push(p);const h=()=>{const m=r.indexOf(p);m>-1&&r.splice(m,1)};return o.push(h),h}function u(){const{history:p}=window;p.state&&p.replaceState(me({},p.state,{scroll:Ar()}),"")}function d(){for(const p of o)p();o=[],window.removeEventListener("popstate",i),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",i),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:a,listen:c,destroy:d}}function ui(e,t,n,l=!1,r=!1){return{back:e,current:t,forward:n,replaced:l,position:window.history.length,scroll:r?Ar():null}}function Sh(e){const{history:t,location:n}=window,l={value:vc(e,n)},r={value:t.state};r.value||o(l.value,{back:null,current:l.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(a,c,u){const d=e.indexOf("#"),p=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+a:xh()+e+a;try{t[u?"replaceState":"pushState"](c,"",p),r.value=c}catch(h){console.error(h),n[u?"replace":"assign"](p)}}function s(a,c){const u=me({},t.state,ui(r.value.back,a,r.value.forward,!0),c,{position:r.value.position});o(a,u,!0),l.value=a}function i(a,c){const u=me({},r.value,t.state,{forward:a,scroll:Ar()});o(u.current,u,!0);const d=me({},ui(l.value,a,null),{position:u.position+1},c);o(a,d,!1),l.value=a}return{location:l,state:r,push:i,replace:s}}function Th(e){e=bh(e);const t=Sh(e),n=Lh(e,t.state,t.location,t.replace);function l(o,s=!0){s||n.pauseListeners(),history.go(o)}const r=me({location:"",base:e,go:l,createHref:kh.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function Ih(e){return typeof e=="string"||e&&typeof e=="object"}function mc(e){return typeof e=="string"||typeof e=="symbol"}const gc=Symbol("");var fi;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(fi||(fi={}));function Hn(e,t){return me(new Error,{type:e,[gc]:!0},t)}function Ct(e,t){return e instanceof Error&&gc in e&&(t==null||!!(e.type&t))}const di="[^/]+?",Ph={sensitive:!1,strict:!1,start:!0,end:!0},Nh=/[.+*?^${}()[\]/\\]/g;function Oh(e,t){const n=me({},Ph,t),l=[];let r=n.start?"^":"";const o=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(r+="/");for(let d=0;d<c.length;d++){const p=c[d];let h=40+(n.sensitive?.25:0);if(p.type===0)d||(r+="/"),r+=p.value.replace(Nh,"\\$&"),h+=40;else if(p.type===1){const{value:m,repeatable:_,optional:b,regexp:k}=p;o.push({name:m,repeatable:_,optional:b});const A=k||di;if(A!==di){h+=10;try{new RegExp(`(${A})`)}catch(C){throw new Error(`Invalid custom RegExp for param "${m}" (${A}): `+C.message)}}let y=_?`((?:${A})(?:/(?:${A}))*)`:`(${A})`;d||(y=b&&c.length<2?`(?:/${y})`:"/"+y),b&&(y+="?"),r+=y,h+=20,b&&(h+=-8),_&&(h+=-20),A===".*"&&(h+=-50)}u.push(h)}l.push(u)}if(n.strict&&n.end){const c=l.length-1;l[c][l[c].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&(r+="(?:/|$)");const s=new RegExp(r,n.sensitive?"":"i");function i(c){const u=c.match(s),d={};if(!u)return null;for(let p=1;p<u.length;p++){const h=u[p]||"",m=o[p-1];d[m.name]=h&&m.repeatable?h.split("/"):h}return d}function a(c){let u="",d=!1;for(const p of e){(!d||!u.endsWith("/"))&&(u+="/"),d=!1;for(const h of p)if(h.type===0)u+=h.value;else if(h.type===1){const{value:m,repeatable:_,optional:b}=h,k=m in c?c[m]:"";if(bt(k)&&!_)throw new Error(`Provided param "${m}" is an array but it is not repeatable (* or + modifiers)`);const A=bt(k)?k.join("/"):k;if(!A)if(b)p.length<2&&(u.endsWith("/")?u=u.slice(0,-1):d=!0);else throw new Error(`Missing required param "${m}"`);u+=A}}return u||"/"}return{re:s,score:l,keys:o,parse:i,stringify:a}}function Rh(e,t){let n=0;for(;n<e.length&&n<t.length;){const l=t[n]-e[n];if(l)return l;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 yc(e,t){let n=0;const l=e.score,r=t.score;for(;n<l.length&&n<r.length;){const o=Rh(l[n],r[n]);if(o)return o;n++}if(Math.abs(r.length-l.length)===1){if(pi(l))return 1;if(pi(r))return-1}return r.length-l.length}function pi(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const $h={type:0,value:""},Fh=/[a-zA-Z0-9_]/;function Mh(e){if(!e)return[[]];if(e==="/")return[[$h]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${c}": ${h}`)}let n=0,l=n;const r=[];let o;function s(){o&&r.push(o),o=[]}let i=0,a,c="",u="";function d(){c&&(n===0?o.push({type:0,value:c}):n===1||n===2||n===3?(o.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:c,regexp:u,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),c="")}function p(){c+=a}for(;i<e.length;){if(a=e[i++],a==="\\"&&n!==2){l=n,n=4;continue}switch(n){case 0:a==="/"?(c&&d(),s()):a===":"?(d(),n=1):p();break;case 4:p(),n=l;break;case 1:a==="("?n=2:Fh.test(a)?p():(d(),n=0,a!=="*"&&a!=="?"&&a!=="+"&&i--);break;case 2:a===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+a:n=3:u+=a;break;case 3:d(),n=0,a!=="*"&&a!=="?"&&a!=="+"&&i--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),d(),s(),r}function Dh(e,t,n){const l=Oh(Mh(e.path),n),r=me(l,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function jh(e,t){const n=[],l=new Map;t=mi({strict:!1,end:!0,sensitive:!1},t);function r(d){return l.get(d)}function o(d,p,h){const m=!h,_=Bh(d);_.aliasOf=h&&h.record;const b=mi(t,d),k=[_];if("alias"in d){const C=typeof d.alias=="string"?[d.alias]:d.alias;for(const N of C)k.push(me({},_,{components:h?h.record.components:_.components,path:N,aliasOf:h?h.record:_}))}let A,y;for(const C of k){const{path:N}=C;if(p&&N[0]!=="/"){const x=p.record.path,I=x[x.length-1]==="/"?"":"/";C.path=p.record.path+(N&&I+N)}if(A=Dh(C,p,b),h?h.alias.push(A):(y=y||A,y!==A&&y.alias.push(A),m&&d.name&&!vi(A)&&s(d.name)),bc(A)&&a(A),_.children){const x=_.children;for(let I=0;I<x.length;I++)o(x[I],A,h&&h.children[I])}h=h||A}return y?()=>{s(y)}:sl}function s(d){if(mc(d)){const p=l.get(d);p&&(l.delete(d),n.splice(n.indexOf(p),1),p.children.forEach(s),p.alias.forEach(s))}else{const p=n.indexOf(d);p>-1&&(n.splice(p,1),d.record.name&&l.delete(d.record.name),d.children.forEach(s),d.alias.forEach(s))}}function i(){return n}function a(d){const p=Uh(d,n);n.splice(p,0,d),d.record.name&&!vi(d)&&l.set(d.record.name,d)}function c(d,p){let h,m={},_,b;if("name"in d&&d.name){if(h=l.get(d.name),!h)throw Hn(1,{location:d});b=h.record.name,m=me(hi(p.params,h.keys.filter(y=>!y.optional).concat(h.parent?h.parent.keys.filter(y=>y.optional):[]).map(y=>y.name)),d.params&&hi(d.params,h.keys.map(y=>y.name))),_=h.stringify(m)}else if(d.path!=null)_=d.path,h=n.find(y=>y.re.test(_)),h&&(m=h.parse(_),b=h.record.name);else{if(h=p.name?l.get(p.name):n.find(y=>y.re.test(p.path)),!h)throw Hn(1,{location:d,currentLocation:p});b=h.record.name,m=me({},p.params,d.params),_=h.stringify(m)}const k=[];let A=h;for(;A;)k.unshift(A.record),A=A.parent;return{name:b,path:_,params:m,matched:k,meta:Vh(k)}}e.forEach(d=>o(d));function u(){n.length=0,l.clear()}return{addRoute:o,resolve:c,removeRoute:s,clearRoutes:u,getRoutes:i,getRecordMatcher:r}}function hi(e,t){const n={};for(const l of t)l in e&&(n[l]=e[l]);return n}function Bh(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Hh(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 Hh(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const l in e.components)t[l]=typeof n=="object"?n[l]:n;return t}function vi(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Vh(e){return e.reduce((t,n)=>me(t,n.meta),{})}function mi(e,t){const n={};for(const l in e)n[l]=l in t?t[l]:e[l];return n}function Uh(e,t){let n=0,l=t.length;for(;n!==l;){const o=n+l>>1;yc(e,t[o])<0?l=o:n=o+1}const r=zh(e);return r&&(l=t.lastIndexOf(r,l-1)),l}function zh(e){let t=e;for(;t=t.parent;)if(bc(t)&&yc(e,t)===0)return t}function bc({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function qh(e){const t={};if(e===""||e==="?")return t;const l=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<l.length;++r){const o=l[r].replace(uc," "),s=o.indexOf("="),i=vl(s<0?o:o.slice(0,s)),a=s<0?null:vl(o.slice(s+1));if(i in t){let c=t[i];bt(c)||(c=t[i]=[c]),c.push(a)}else t[i]=a}return t}function gi(e){let t="";for(let n in e){const l=e[n];if(n=uh(n),l==null){l!==void 0&&(t+=(t.length?"&":"")+n);continue}(bt(l)?l.map(o=>o&&mo(o)):[l&&mo(l)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Wh(e){const t={};for(const n in e){const l=e[n];l!==void 0&&(t[n]=bt(l)?l.map(r=>r==null?null:""+r):l==null?l:""+l)}return t}const Kh=Symbol(""),yi=Symbol(""),Cr=Symbol(""),ns=Symbol(""),yo=Symbol("");function Jn(){let e=[];function t(l){return e.push(l),()=>{const r=e.indexOf(l);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Vt(e,t,n,l,r,o=s=>s()){const s=l&&(l.enterCallbacks[r]=l.enterCallbacks[r]||[]);return()=>new Promise((i,a)=>{const c=p=>{p===!1?a(Hn(4,{from:n,to:t})):p instanceof Error?a(p):Ih(p)?a(Hn(2,{from:t,to:p})):(s&&l.enterCallbacks[r]===s&&typeof p=="function"&&s.push(p),i())},u=o(()=>e.call(l&&l.instances[r],t,n,c));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch(p=>a(p))})}function qr(e,t,n,l,r=o=>o()){const o=[];for(const s of e)for(const i in s.components){let a=s.components[i];if(!(t!=="beforeRouteEnter"&&!s.instances[i]))if(Gh(a)){const u=(a.__vccOpts||a)[t];u&&o.push(Vt(u,n,l,s,i,r))}else{let c=a();o.push(()=>c.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${s.path}"`));const d=Zp(u)?u.default:u;s.components[i]=d;const h=(d.__vccOpts||d)[t];return h&&Vt(h,n,l,s,i,r)()}))}}return o}function Gh(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function bi(e){const t=Me(Cr),n=Me(ns),l=L(()=>{const a=lt(e.to);return t.resolve(a)}),r=L(()=>{const{matched:a}=l.value,{length:c}=a,u=a[c-1],d=n.matched;if(!u||!d.length)return-1;const p=d.findIndex(Bn.bind(null,u));if(p>-1)return p;const h=_i(a[c-2]);return c>1&&_i(u)===h&&d[d.length-1].path!==h?d.findIndex(Bn.bind(null,a[c-2])):p}),o=L(()=>r.value>-1&&Xh(n.params,l.value.params)),s=L(()=>r.value>-1&&r.value===n.matched.length-1&&hc(n.params,l.value.params));function i(a={}){return Qh(a)?t[lt(e.replace)?"replace":"push"](lt(e.to)).catch(sl):Promise.resolve()}return{route:l,href:L(()=>l.value.href),isActive:o,isExactActive:s,navigate:i}}const Yh=U({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:bi,setup(e,{slots:t}){const n=Al(bi(e)),{options:l}=Me(Cr),r=L(()=>({[ki(e.activeClass,l.linkActiveClass,"router-link-active")]:n.isActive,[ki(e.exactActiveClass,l.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:f("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),Jh=Yh;function Qh(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 Xh(e,t){for(const n in t){const l=t[n],r=e[n];if(typeof l=="string"){if(l!==r)return!1}else if(!bt(r)||r.length!==l.length||l.some((o,s)=>o!==r[s]))return!1}return!0}function _i(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ki=(e,t,n)=>e??t??n,Zh=U({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const l=Me(yo),r=L(()=>e.route||l.value),o=Me(yi,0),s=L(()=>{let c=lt(o);const{matched:u}=r.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),i=L(()=>r.value.matched[s.value]);Nn(yi,L(()=>s.value+1)),Nn(Kh,i),Nn(yo,r);const a=J();return ve(()=>[a.value,i.value,e.name],([c,u,d],[p,h,m])=>{u&&(u.instances[d]=c,h&&h!==u&&c&&c===p&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),c&&u&&(!h||!Bn(u,h)||!p)&&(u.enterCallbacks[d]||[]).forEach(_=>_(c))},{flush:"post"}),()=>{const c=r.value,u=e.name,d=i.value,p=d&&d.components[u];if(!p)return wi(n.default,{Component:p,route:c});const h=d.props[u],m=h?h===!0?c.params:typeof h=="function"?h(c):h:null,b=f(p,me({},m,t,{onVnodeUnmounted:k=>{k.component.isUnmounted&&(d.instances[u]=null)},ref:a}));return wi(n.default,{Component:b,route:c})||b}}});function wi(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const e1=Zh;function t1(e){const t=jh(e.routes,e),n=e.parseQuery||qh,l=e.stringifyQuery||gi,r=e.history,o=Jn(),s=Jn(),i=Jn(),a=De(Lt);let c=Lt;En&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Ur.bind(null,w=>""+w),d=Ur.bind(null,dh),p=Ur.bind(null,vl);function h(w,D){let j,Z;return mc(w)?(j=t.getRecordMatcher(w),Z=D):Z=w,t.addRoute(Z,j)}function m(w){const D=t.getRecordMatcher(w);D&&t.removeRoute(D)}function _(){return t.getRoutes().map(w=>w.record)}function b(w){return!!t.getRecordMatcher(w)}function k(w,D){if(D=me({},D||a.value),typeof w=="string"){const g=zr(n,w,D.path),E=t.resolve({path:g.path},D),T=r.createHref(g.fullPath);return me(g,E,{params:p(E.params),hash:vl(g.hash),redirectedFrom:void 0,href:T})}let j;if(w.path!=null)j=me({},w,{path:zr(n,w.path,D.path).path});else{const g=me({},w.params);for(const E in g)g[E]==null&&delete g[E];j=me({},w,{params:d(g)}),D.params=d(D.params)}const Z=t.resolve(j,D),de=w.hash||"";Z.params=u(p(Z.params));const be=vh(l,me({},w,{hash:ch(de),path:Z.path})),v=r.createHref(be);return me({fullPath:be,hash:de,query:l===gi?Wh(w.query):w.query||{}},Z,{redirectedFrom:void 0,href:v})}function A(w){return typeof w=="string"?zr(n,w,a.value.path):me({},w)}function y(w,D){if(c!==w)return Hn(8,{from:D,to:w})}function C(w){return I(w)}function N(w){return C(me(A(w),{replace:!0}))}function x(w){const D=w.matched[w.matched.length-1];if(D&&D.redirect){const{redirect:j}=D;let Z=typeof j=="function"?j(w):j;return typeof Z=="string"&&(Z=Z.includes("?")||Z.includes("#")?Z=A(Z):{path:Z},Z.params={}),me({query:w.query,hash:w.hash,params:Z.path!=null?{}:w.params},Z)}}function I(w,D){const j=c=k(w),Z=a.value,de=w.state,be=w.force,v=w.replace===!0,g=x(j);if(g)return I(me(A(g),{state:typeof g=="object"?me({},de,g.state):de,force:be,replace:v}),D||j);const E=j;E.redirectedFrom=D;let T;return!be&&mh(l,Z,j)&&(T=Hn(16,{to:E,from:Z}),Ye(Z,Z,!0,!1)),(T?Promise.resolve(T):P(E,Z)).catch(S=>Ct(S)?Ct(S,2)?S:rt(S):K(S,E,Z)).then(S=>{if(S){if(Ct(S,2))return I(me({replace:v},A(S.to),{state:typeof S.to=="object"?me({},de,S.to.state):de,force:be}),D||E)}else S=$(E,Z,!0,v,de);return q(E,Z,S),S})}function O(w,D){const j=y(w,D);return j?Promise.reject(j):Promise.resolve()}function Q(w){const D=G.values().next().value;return D&&typeof D.runWithContext=="function"?D.runWithContext(w):w()}function P(w,D){let j;const[Z,de,be]=n1(w,D);j=qr(Z.reverse(),"beforeRouteLeave",w,D);for(const g of Z)g.leaveGuards.forEach(E=>{j.push(Vt(E,w,D))});const v=O.bind(null,w,D);return j.push(v),X(j).then(()=>{j=[];for(const g of o.list())j.push(Vt(g,w,D));return j.push(v),X(j)}).then(()=>{j=qr(de,"beforeRouteUpdate",w,D);for(const g of de)g.updateGuards.forEach(E=>{j.push(Vt(E,w,D))});return j.push(v),X(j)}).then(()=>{j=[];for(const g of be)if(g.beforeEnter)if(bt(g.beforeEnter))for(const E of g.beforeEnter)j.push(Vt(E,w,D));else j.push(Vt(g.beforeEnter,w,D));return j.push(v),X(j)}).then(()=>(w.matched.forEach(g=>g.enterCallbacks={}),j=qr(be,"beforeRouteEnter",w,D,Q),j.push(v),X(j))).then(()=>{j=[];for(const g of s.list())j.push(Vt(g,w,D));return j.push(v),X(j)}).catch(g=>Ct(g,8)?g:Promise.reject(g))}function q(w,D,j){i.list().forEach(Z=>Q(()=>Z(w,D,j)))}function $(w,D,j,Z,de){const be=y(w,D);if(be)return be;const v=D===Lt,g=En?history.state:{};j&&(Z||v?r.replace(w.fullPath,me({scroll:v&&g&&g.scroll},de)):r.push(w.fullPath,de)),a.value=w,Ye(w,D,j,v),rt()}let re;function Ee(){re||(re=r.listen((w,D,j)=>{if(!ne.listening)return;const Z=k(w),de=x(Z);if(de){I(me(de,{replace:!0}),Z).catch(sl);return}c=Z;const be=a.value;En&&Ah(ci(be.fullPath,j.delta),Ar()),P(Z,be).catch(v=>Ct(v,12)?v:Ct(v,2)?(I(v.to,Z).then(g=>{Ct(g,20)&&!j.delta&&j.type===ml.pop&&r.go(-1,!1)}).catch(sl),Promise.reject()):(j.delta&&r.go(-j.delta,!1),K(v,Z,be))).then(v=>{v=v||$(Z,be,!1),v&&(j.delta&&!Ct(v,8)?r.go(-j.delta,!1):j.type===ml.pop&&Ct(v,20)&&r.go(-1,!1)),q(Z,be,v)}).catch(sl)}))}let _e=Jn(),Y=Jn(),se;function K(w,D,j){rt(w);const Z=Y.list();return Z.length?Z.forEach(de=>de(w,D,j)):console.error(w),Promise.reject(w)}function xe(){return se&&a.value!==Lt?Promise.resolve():new Promise((w,D)=>{_e.add([w,D])})}function rt(w){return se||(se=!w,Ee(),_e.list().forEach(([D,j])=>w?j(w):D()),_e.reset()),w}function Ye(w,D,j,Z){const{scrollBehavior:de}=e;if(!En||!de)return Promise.resolve();const be=!j&&Ch(ci(w.fullPath,0))||(Z||!j)&&history.state&&history.state.scroll||null;return Jt().then(()=>de(w,D,be)).then(v=>v&&Eh(v)).catch(v=>K(v,w,D))}const ee=w=>r.go(w);let z;const G=new Set,ne={currentRoute:a,listening:!0,addRoute:h,removeRoute:m,clearRoutes:t.clearRoutes,hasRoute:b,getRoutes:_,resolve:k,options:e,push:C,replace:N,go:ee,back:()=>ee(-1),forward:()=>ee(1),beforeEach:o.add,beforeResolve:s.add,afterEach:i.add,onError:Y.add,isReady:xe,install(w){const D=this;w.component("RouterLink",Jh),w.component("RouterView",e1),w.config.globalProperties.$router=D,Object.defineProperty(w.config.globalProperties,"$route",{enumerable:!0,get:()=>lt(a)}),En&&!z&&a.value===Lt&&(z=!0,C(r.location).catch(de=>{}));const j={};for(const de in Lt)Object.defineProperty(j,de,{get:()=>a.value[de],enumerable:!0});w.provide(Cr,D),w.provide(ns,ma(j)),w.provide(yo,a);const Z=w.unmount;G.add(w),w.unmount=function(){G.delete(w),G.size<1&&(c=Lt,re&&re(),re=null,a.value=Lt,z=!1,se=!1),Z()}}};function X(w){return w.reduce((D,j)=>D.then(()=>Q(j)),Promise.resolve())}return ne}function n1(e,t){const n=[],l=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let s=0;s<o;s++){const i=t.matched[s];i&&(e.matched.find(c=>Bn(c,i))?l.push(i):n.push(i));const a=e.matched[s];a&&(t.matched.find(c=>Bn(c,a))||r.push(a))}return[n,l,r]}function yn(){return Me(Cr)}function Qt(e){return Me(ns)}var ls=Symbol(""),At=()=>{const e=Me(ls);if(!e)throw new Error("useClientData() is called without provider.");return e},l1=()=>At().pageComponent,Se=()=>At().pageData,Te=()=>At().pageFrontmatter,r1=()=>At().pageHead,rs=()=>At().pageLang,o1=()=>At().pageLayout,Xt=()=>At().routeLocale,_c=()=>At().routes,kc=()=>At().siteData,xr=()=>At().siteLocaleData,s1=Symbol(""),bo=De(Qp),gl=De(Xp),wc=e=>{const t=Kp(e);if(gl.value[t])return t;const n=encodeURI(t);return gl.value[n]?n:bo.value[t]||bo.value[n]||t},Lr=e=>{const t=wc(e),n=gl.value[t]??{...gl.value["/404.html"],notFound:!0};return{path:t,notFound:!1,...n}},Sr=U({name:"ClientOnly",setup(e,t){const n=J(!1);return we(()=>{n.value=!0}),()=>{var l,r;return n.value?(r=(l=t.slots).default)==null?void 0:r.call(l):null}}}),Ec=U({name:"Content",props:{path:{type:String,required:!1,default:""}},setup(e){const t=l1(),n=L(()=>{if(!e.path)return t.value;const l=Lr(e.path);return md(()=>l.loader().then(({comp:r})=>r))});return()=>f(n.value)}}),et=(e={})=>e,Ke=e=>gn(e)?e:`/${ac(e)}`,i1=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}},Qe=({active:e=!1,activeClass:t="route-link-active",to:n,...l},{slots:r})=>{var a;const o=yn(),s=wc(n),i=s.startsWith("#")||s.startsWith("?")?s:Ke(s);return f("a",{...l,class:["route-link",{[t]:e}],href:i,onClick:(c={})=>{i1(c)?o.push(n).catch():Promise.resolve()}},(a=r.default)==null?void 0:a.call(r))};Qe.displayName="RouteLink";Qe.props={active:Boolean,activeClass:String,to:String};var a1="Layout",c1="en-US",rn=Al({resolveLayouts:e=>e.reduce((t,n)=>({...t,...n.layouts}),{}),resolvePageHead:(e,t,n)=>{const l=Ne(t.description)?t.description:n.description,r=[...Array.isArray(t.head)?t.head:[],...n.head,["title",{},e],["meta",{name:"description",content:l}]];return zp(r)},resolvePageHeadTitle:(e,t)=>[e.title,t.title].filter(n=>!!n).join(" | "),resolvePageLang:(e,t)=>e.lang||t.lang||c1,resolvePageLayout:(e,t)=>{const n=Ne(e.frontmatter.layout)?e.frontmatter.layout:a1;if(!t[n])throw new Error(`[vuepress] Cannot resolve layout: ${n}`);return t[n]},resolveRouteLocale:(e,t)=>Gp(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 u1={},Ol=e=>{const t=Xt();return L(()=>e[t.value]??{})},f1=()=>{const e=_c();return L(()=>Object.keys(e.value))};var qe=Uint8Array,Cn=Uint16Array,d1=Int32Array,Ac=new qe([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]),Cc=new qe([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]),p1=new qe([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),xc=function(e,t){for(var n=new Cn(31),l=0;l<31;++l)n[l]=t+=1<<e[l-1];for(var r=new d1(n[30]),l=1;l<30;++l)for(var o=n[l];o<n[l+1];++o)r[o]=o-n[l]<<5|l;return{b:n,r}},Lc=xc(Ac,2),Sc=Lc.b,h1=Lc.r;Sc[28]=258,h1[258]=28;var v1=xc(Cc,0),m1=v1.b,_o=new Cn(32768);for(var Ce=0;Ce<32768;++Ce){var $t=(Ce&43690)>>1|(Ce&21845)<<1;$t=($t&52428)>>2|($t&13107)<<2,$t=($t&61680)>>4|($t&3855)<<4,_o[Ce]=(($t&65280)>>8|($t&255)<<8)>>1}var al=function(e,t,n){for(var l=e.length,r=0,o=new Cn(t);r<l;++r)e[r]&&++o[e[r]-1];var s=new Cn(t);for(r=1;r<t;++r)s[r]=s[r-1]+o[r-1]<<1;var i;if(n){i=new Cn(1<<t);var a=15-t;for(r=0;r<l;++r)if(e[r])for(var c=r<<4|e[r],u=t-e[r],d=s[e[r]-1]++<<u,p=d|(1<<u)-1;d<=p;++d)i[_o[d]>>a]=c}else for(i=new Cn(l),r=0;r<l;++r)e[r]&&(i[r]=_o[s[e[r]-1]++]>>15-e[r]);return i},Rl=new qe(288);for(var Ce=0;Ce<144;++Ce)Rl[Ce]=8;for(var Ce=144;Ce<256;++Ce)Rl[Ce]=9;for(var Ce=256;Ce<280;++Ce)Rl[Ce]=7;for(var Ce=280;Ce<288;++Ce)Rl[Ce]=8;var Tc=new qe(32);for(var Ce=0;Ce<32;++Ce)Tc[Ce]=5;var g1=al(Rl,9,1),y1=al(Tc,5,1),Wr=function(e){for(var t=e[0],n=1;n<e.length;++n)e[n]>t&&(t=e[n]);return t},ht=function(e,t,n){var l=t/8|0;return(e[l]|e[l+1]<<8)>>(t&7)&n},Kr=function(e,t){var n=t/8|0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>(t&7)},b1=function(e){return(e+7)/8|0},os=function(e,t,n){return(t==null||t<0)&&(t=0),(n==null||n>e.length)&&(n=e.length),new qe(e.subarray(t,n))},_1=["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"],it=function(e,t,n){var l=new Error(t||_1[e]);if(l.code=e,Error.captureStackTrace&&Error.captureStackTrace(l,it),!n)throw l;return l},k1=function(e,t,n,l){var r=e.length,o=l?l.length:0;if(!r||t.f&&!t.l)return n||new qe(0);var s=!n,i=s||t.i!=2,a=t.i;s&&(n=new qe(r*3));var c=function(de){var be=n.length;if(de>be){var v=new qe(Math.max(be*2,de));v.set(n),n=v}},u=t.f||0,d=t.p||0,p=t.b||0,h=t.l,m=t.d,_=t.m,b=t.n,k=r*8;do{if(!h){u=ht(e,d,1);var A=ht(e,d+1,3);if(d+=3,A)if(A==1)h=g1,m=y1,_=9,b=5;else if(A==2){var x=ht(e,d,31)+257,I=ht(e,d+10,15)+4,O=x+ht(e,d+5,31)+1;d+=14;for(var Q=new qe(O),P=new qe(19),q=0;q<I;++q)P[p1[q]]=ht(e,d+q*3,7);d+=I*3;for(var $=Wr(P),re=(1<<$)-1,Ee=al(P,$,1),q=0;q<O;){var _e=Ee[ht(e,d,re)];d+=_e&15;var y=_e>>4;if(y<16)Q[q++]=y;else{var Y=0,se=0;for(y==16?(se=3+ht(e,d,3),d+=2,Y=Q[q-1]):y==17?(se=3+ht(e,d,7),d+=3):y==18&&(se=11+ht(e,d,127),d+=7);se--;)Q[q++]=Y}}var K=Q.subarray(0,x),xe=Q.subarray(x);_=Wr(K),b=Wr(xe),h=al(K,_,1),m=al(xe,b,1)}else it(1);else{var y=b1(d)+4,C=e[y-4]|e[y-3]<<8,N=y+C;if(N>r){a&&it(0);break}i&&c(p+C),n.set(e.subarray(y,N),p),t.b=p+=C,t.p=d=N*8,t.f=u;continue}if(d>k){a&&it(0);break}}i&&c(p+131072);for(var rt=(1<<_)-1,Ye=(1<<b)-1,ee=d;;ee=d){var Y=h[Kr(e,d)&rt],z=Y>>4;if(d+=Y&15,d>k){a&&it(0);break}if(Y||it(2),z<256)n[p++]=z;else if(z==256){ee=d,h=null;break}else{var G=z-254;if(z>264){var q=z-257,ne=Ac[q];G=ht(e,d,(1<<ne)-1)+Sc[q],d+=ne}var X=m[Kr(e,d)&Ye],w=X>>4;X||it(3),d+=X&15;var xe=m1[w];if(w>3){var ne=Cc[w];xe+=Kr(e,d)&(1<<ne)-1,d+=ne}if(d>k){a&&it(0);break}i&&c(p+131072);var D=p+G;if(p<xe){var j=o-xe,Z=Math.min(xe,D);for(j+p<0&&it(3);p<Z;++p)n[p]=l[j+p]}for(;p<D;++p)n[p]=n[p-xe]}}t.l=h,t.p=ee,t.b=p,t.f=u,h&&(u=1,t.m=_,t.d=m,t.n=b)}while(!u);return p!=n.length&&s?os(n,0,p):n.subarray(0,p)},w1=new qe(0),E1=function(e,t){return((e[0]&15)!=8||e[0]>>4>7||(e[0]<<8|e[1])%31)&&it(6,"invalid zlib data"),(e[1]>>5&1)==+!t&&it(6,"invalid zlib data: "+(e[1]&32?"need":"unexpected")+" dictionary"),(e[1]>>3&4)+2};function A1(e,t){return k1(e.subarray(E1(e,t&&t.dictionary),-4),{i:2},t&&t.out,t&&t.dictionary)}var Ei=typeof TextEncoder<"u"&&new TextEncoder,ko=typeof TextDecoder<"u"&&new TextDecoder,C1=0;try{ko.decode(w1,{stream:!0}),C1=1}catch{}var x1=function(e){for(var t="",n=0;;){var l=e[n++],r=(l>127)+(l>223)+(l>239);if(n+r>e.length)return{s:t,r:os(e,n-1)};r?r==3?(l=((l&15)<<18|(e[n++]&63)<<12|(e[n++]&63)<<6|e[n++]&63)-65536,t+=String.fromCharCode(55296|l>>10,56320|l&1023)):r&1?t+=String.fromCharCode((l&31)<<6|e[n++]&63):t+=String.fromCharCode((l&15)<<12|(e[n++]&63)<<6|e[n++]&63):t+=String.fromCharCode(l)}};function L1(e,t){if(t){for(var n=new qe(e.length),l=0;l<e.length;++l)n[l]=e.charCodeAt(l);return n}if(Ei)return Ei.encode(e);for(var r=e.length,o=new qe(e.length+(e.length>>1)),s=0,i=function(u){o[s++]=u},l=0;l<r;++l){if(s+5>o.length){var a=new qe(s+8+(r-l<<1));a.set(o),o=a}var c=e.charCodeAt(l);c<128||t?i(c):c<2048?(i(192|c>>6),i(128|c&63)):c>55295&&c<57344?(c=65536+(c&1047552)|e.charCodeAt(++l)&1023,i(240|c>>18),i(128|c>>12&63),i(128|c>>6&63),i(128|c&63)):(i(224|c>>12),i(128|c>>6&63),i(128|c&63))}return os(o,0,s)}function S1(e,t){if(t){for(var n="",l=0;l<e.length;l+=16384)n+=String.fromCharCode.apply(null,e.subarray(l,l+16384));return n}else{if(ko)return ko.decode(e);var r=x1(e),o=r.s,n=r.r;return n.length&&it(8),o}}const wo=e=>{const t=atob(e);return S1(A1(L1(t,!0)))},ft=(e,t)=>{var l;const n=(l=(t==null?void 0:t._instance)||Il())==null?void 0:l.appContext.components;return n?e in n||dt(e)in n||El(dt(e))in n:!1},Ic=e=>new Promise(t=>setTimeout(t,e)),Pc=e=>typeof e<"u",Gr=e=>typeof e=="number",Eo=Array.isArray,Vn=(e,t)=>Ne(e)&&e.startsWith(t),T1=(e,t)=>Ne(e)&&e.endsWith(t),Nc=Object.entries,Zt=Object.keys,I1=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},ss=e=>Vn(e,"/");function is(e,t){let n,l,r;const o=J(!0),s=()=>{o.value=!0,r()};ve(e,s,{flush:"sync"});const i=typeof t=="function"?t:t.get,a=typeof t=="function"?void 0:t.set,c=qo((u,d)=>(l=u,r=d,{get(){return o.value&&(n=i(),o.value=!1),l(),n},set(p){a==null||a(p)}}));return Object.isExtensible(c)&&(c.trigger=s),c}function Wn(e){return ra()?(Ef(e),!0):!1}function He(e){return typeof e=="function"?e():lt(e)}const $l=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const P1=Object.prototype.toString,N1=e=>P1.call(e)==="[object Object]",pn=()=>{},Ai=O1();function O1(){var e,t;return $l&&((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 as(e,t){function n(...l){return new Promise((r,o)=>{Promise.resolve(e(()=>t.apply(this,l),{fn:t,thisArg:this,args:l})).then(r).catch(o)})}return n}const Oc=e=>e();function R1(e,t={}){let n,l,r=pn;const o=i=>{clearTimeout(i),r(),r=pn};return i=>{const a=He(e),c=He(t.maxWait);return n&&o(n),a<=0||c!==void 0&&c<=0?(l&&(o(l),l=null),Promise.resolve(i())):new Promise((u,d)=>{r=t.rejectOnCancel?d:u,c&&!l&&(l=setTimeout(()=>{n&&o(n),l=null,u(i())},c)),n=setTimeout(()=>{l&&o(l),l=null,u(i())},a)})}}function $1(...e){let t=0,n,l=!0,r=pn,o,s,i,a,c;!$e(e[0])&&typeof e[0]=="object"?{delay:s,trailing:i=!0,leading:a=!0,rejectOnCancel:c=!1}=e[0]:[s,i=!0,a=!0,c=!1]=e;const u=()=>{n&&(clearTimeout(n),n=void 0,r(),r=pn)};return p=>{const h=He(s),m=Date.now()-t,_=()=>o=p();return u(),h<=0?(t=Date.now(),_()):(m>h&&(a||!l)?(t=Date.now(),_()):i&&(o=new Promise((b,k)=>{r=c?k:b,n=setTimeout(()=>{t=Date.now(),l=!0,b(_()),u()},Math.max(0,h-m))})),!a&&!n&&(n=setTimeout(()=>l=!0,h)),l=!1,o)}}function F1(e=Oc){const t=J(!0);function n(){t.value=!1}function l(){t.value=!0}const r=(...o)=>{t.value&&e(...o)};return{isActive:Cl(t),pause:n,resume:l,eventFilter:r}}function M1(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const l=t;t=void 0,l&&await l},n}function Rc(e){return e||Il()}function D1(...e){if(e.length!==1)return gr(...e);const t=e[0];return typeof t=="function"?Cl(qo(()=>({get:t,set:pn}))):J(t)}function $c(e,t=200,n={}){return as(R1(t,n),e)}function j1(e,t=200,n=!1,l=!0,r=!1){return as($1(t,n,l,r),e)}function B1(e,t,n={}){const{eventFilter:l=Oc,...r}=n;return ve(e,as(l,t),r)}function H1(e,t,n={}){const{eventFilter:l,...r}=n,{eventFilter:o,pause:s,resume:i,isActive:a}=F1(l);return{stop:B1(e,t,{...r,eventFilter:o}),pause:s,resume:i,isActive:a}}function Tr(e,t=!0,n){Rc()?we(e,n):t?e():Jt(e)}function V1(e,t){Rc(t)&&mn(e,t)}function U1(e,t,n={}){const{immediate:l=!0}=n,r=J(!1);let o=null;function s(){o&&(clearTimeout(o),o=null)}function i(){r.value=!1,s()}function a(...c){s(),r.value=!0,o=setTimeout(()=>{r.value=!1,o=null,e(...c)},He(t))}return l&&(r.value=!0,$l&&a()),Wn(i),{isPending:Cl(r),start:a,stop:i}}function yl(e=!1,t={}){const{truthyValue:n=!0,falsyValue:l=!1}=t,r=$e(e),o=J(e);function s(i){if(arguments.length)return o.value=i,o.value;{const a=He(n);return o.value=o.value===a?He(l):a,o.value}}return r?s:[o,s]}function St(e){var t;const n=He(e);return(t=n==null?void 0:n.$el)!=null?t:n}const It=$l?window:void 0,Fc=$l?window.document:void 0,Mc=$l?window.navigator:void 0;function Fe(...e){let t,n,l,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,l,r]=e,t=It):[t,n,l,r]=e,!t)return pn;Array.isArray(n)||(n=[n]),Array.isArray(l)||(l=[l]);const o=[],s=()=>{o.forEach(u=>u()),o.length=0},i=(u,d,p,h)=>(u.addEventListener(d,p,h),()=>u.removeEventListener(d,p,h)),a=ve(()=>[St(t),He(r)],([u,d])=>{if(s(),!u)return;const p=N1(d)?{...d}:d;o.push(...n.flatMap(h=>l.map(m=>i(u,h,m,p))))},{immediate:!0,flush:"post"}),c=()=>{a(),s()};return Wn(c),c}function z1(){const e=J(!1),t=Il();return t&&we(()=>{e.value=!0},t),e}function Fl(e){const t=z1();return L(()=>(t.value,!!e()))}function Dc(e,t={}){const{window:n=It}=t,l=Fl(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let r;const o=J(!1),s=c=>{o.value=c.matches},i=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",s):r.removeListener(s))},a=Ta(()=>{l.value&&(i(),r=n.matchMedia(He(e)),"addEventListener"in r?r.addEventListener("change",s):r.addListener(s),o.value=r.matches)});return Wn(()=>{a(),i(),r=void 0}),o}function Ci(e,t={}){const{controls:n=!1,navigator:l=Mc}=t,r=Fl(()=>l&&"permissions"in l);let o;const s=typeof e=="string"?{name:e}:e,i=J(),a=()=>{o&&(i.value=o.state)},c=M1(async()=>{if(r.value){if(!o)try{o=await l.permissions.query(s),Fe(o,"change",a),a()}catch{i.value="prompt"}return o}});return c(),n?{state:i,isSupported:r,query:c}:i}function q1(e={}){const{navigator:t=Mc,read:n=!1,source:l,copiedDuring:r=1500,legacy:o=!1}=e,s=Fl(()=>t&&"clipboard"in t),i=Ci("clipboard-read"),a=Ci("clipboard-write"),c=L(()=>s.value||o),u=J(""),d=J(!1),p=U1(()=>d.value=!1,r);function h(){s.value&&k(i.value)?t.clipboard.readText().then(A=>{u.value=A}):u.value=b()}c.value&&n&&Fe(["copy","cut"],h);async function m(A=He(l)){c.value&&A!=null&&(s.value&&k(a.value)?await t.clipboard.writeText(A):_(A),u.value=A,d.value=!0,p.start())}function _(A){const y=document.createElement("textarea");y.value=A??"",y.style.position="absolute",y.style.opacity="0",document.body.appendChild(y),y.select(),document.execCommand("copy"),y.remove()}function b(){var A,y,C;return(C=(y=(A=document==null?void 0:document.getSelection)==null?void 0:A.call(document))==null?void 0:y.toString())!=null?C:""}function k(A){return A==="granted"||A==="prompt"}return{isSupported:c,text:u,copied:d,copy:m}}const Gl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Yl="__vueuse_ssr_handlers__",W1=K1();function K1(){return Yl in Gl||(Gl[Yl]=Gl[Yl]||{}),Gl[Yl]}function G1(e,t){return W1[e]||t}function Y1(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 J1={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()}},xi="vueuse-storage";function Kn(e,t,n,l={}){var r;const{flush:o="pre",deep:s=!0,listenToStorageChanges:i=!0,writeDefaults:a=!0,mergeDefaults:c=!1,shallow:u,window:d=It,eventFilter:p,onError:h=P=>{console.error(P)},initOnMounted:m}=l,_=(u?De:J)(typeof t=="function"?t():t);if(!n)try{n=G1("getDefaultStorage",()=>{var P;return(P=It)==null?void 0:P.localStorage})()}catch(P){h(P)}if(!n)return _;const b=He(t),k=Y1(b),A=(r=l.serializer)!=null?r:J1[k],{pause:y,resume:C}=H1(_,()=>x(_.value),{flush:o,deep:s,eventFilter:p});d&&i&&Tr(()=>{Fe(d,"storage",O),Fe(d,xi,Q),m&&O()}),m||O();function N(P,q){d&&d.dispatchEvent(new CustomEvent(xi,{detail:{key:e,oldValue:P,newValue:q,storageArea:n}}))}function x(P){try{const q=n.getItem(e);if(P==null)N(q,null),n.removeItem(e);else{const $=A.write(P);q!==$&&(n.setItem(e,$),N(q,$))}}catch(q){h(q)}}function I(P){const q=P?P.newValue:n.getItem(e);if(q==null)return a&&b!=null&&n.setItem(e,A.write(b)),b;if(!P&&c){const $=A.read(q);return typeof c=="function"?c($,b):k==="object"&&!Array.isArray($)?{...b,...$}:$}else return typeof q!="string"?q:A.read(q)}function O(P){if(!(P&&P.storageArea!==n)){if(P&&P.key==null){_.value=b;return}if(!(P&&P.key!==e)){y();try{(P==null?void 0:P.newValue)!==A.write(_.value)&&(_.value=I(P))}catch(q){h(q)}finally{P?Jt(C):C()}}}}function Q(P){O(P.detail)}return _}function Q1(e){return Dc("(prefers-color-scheme: dark)",e)}function X1(e,t,n={}){const{window:l=It,...r}=n;let o;const s=Fl(()=>l&&"ResizeObserver"in l),i=()=>{o&&(o.disconnect(),o=void 0)},a=L(()=>Array.isArray(e)?e.map(d=>St(d)):[St(e)]),c=ve(a,d=>{if(i(),s.value&&l){o=new ResizeObserver(t);for(const p of d)p&&o.observe(p,r)}},{immediate:!0,flush:"post"}),u=()=>{i(),c()};return Wn(u),{isSupported:s,stop:u}}function Z1(e,t={width:0,height:0},n={}){const{window:l=It,box:r="content-box"}=n,o=L(()=>{var d,p;return(p=(d=St(e))==null?void 0:d.namespaceURI)==null?void 0:p.includes("svg")}),s=J(t.width),i=J(t.height),{stop:a}=X1(e,([d])=>{const p=r==="border-box"?d.borderBoxSize:r==="content-box"?d.contentBoxSize:d.devicePixelContentBoxSize;if(l&&o.value){const h=St(e);if(h){const m=l.getComputedStyle(h);s.value=Number.parseFloat(m.width),i.value=Number.parseFloat(m.height)}}else if(p){const h=Array.isArray(p)?p:[p];s.value=h.reduce((m,{inlineSize:_})=>m+_,0),i.value=h.reduce((m,{blockSize:_})=>m+_,0)}else s.value=d.contentRect.width,i.value=d.contentRect.height},n);Tr(()=>{const d=St(e);d&&(s.value="offsetWidth"in d?d.offsetWidth:t.width,i.value="offsetHeight"in d?d.offsetHeight:t.height)});const c=ve(()=>St(e),d=>{s.value=d?t.width:0,i.value=d?t.height:0});function u(){a(),c()}return{width:s,height:i,stop:u}}const Li=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function cs(e,t={}){const{document:n=Fc,autoExit:l=!1}=t,r=L(()=>{var k;return(k=St(e))!=null?k:n==null?void 0:n.querySelector("html")}),o=J(!1),s=L(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(k=>n&&k in n||r.value&&k in r.value)),i=L(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(k=>n&&k in n||r.value&&k in r.value)),a=L(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(k=>n&&k in n||r.value&&k in r.value)),c=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(k=>n&&k in n),u=Fl(()=>r.value&&n&&s.value!==void 0&&i.value!==void 0&&a.value!==void 0),d=()=>c?(n==null?void 0:n[c])===r.value:!1,p=()=>{if(a.value){if(n&&n[a.value]!=null)return n[a.value];{const k=r.value;if((k==null?void 0:k[a.value])!=null)return!!k[a.value]}}return!1};async function h(){if(!(!u.value||!o.value)){if(i.value)if((n==null?void 0:n[i.value])!=null)await n[i.value]();else{const k=r.value;(k==null?void 0:k[i.value])!=null&&await k[i.value]()}o.value=!1}}async function m(){if(!u.value||o.value)return;p()&&await h();const k=r.value;s.value&&(k==null?void 0:k[s.value])!=null&&(await k[s.value](),o.value=!0)}async function _(){await(o.value?h():m())}const b=()=>{const k=p();(!k||k&&d())&&(o.value=k)};return Fe(n,Li,b,!1),Fe(()=>St(r),Li,b,!1),l&&Wn(h),{isSupported:u,isFullscreen:o,enter:m,exit:h,toggle:_}}function Yr(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function Jr(e,t=pn,n={}){const{immediate:l=!0,manual:r=!1,type:o="text/javascript",async:s=!0,crossOrigin:i,referrerPolicy:a,noModule:c,defer:u,document:d=Fc,attrs:p={}}=n,h=J(null);let m=null;const _=A=>new Promise((y,C)=>{const N=O=>(h.value=O,y(O),O);if(!d){y(!1);return}let x=!1,I=d.querySelector(`script[src="${He(e)}"]`);I?I.hasAttribute("data-loaded")&&N(I):(I=d.createElement("script"),I.type=o,I.async=s,I.src=He(e),u&&(I.defer=u),i&&(I.crossOrigin=i),c&&(I.noModule=c),a&&(I.referrerPolicy=a),Object.entries(p).forEach(([O,Q])=>I==null?void 0:I.setAttribute(O,Q)),x=!0),I.addEventListener("error",O=>C(O)),I.addEventListener("abort",O=>C(O)),I.addEventListener("load",()=>{I.setAttribute("data-loaded","true"),t(I),N(I)}),x&&(I=d.head.appendChild(I)),A||N(I)}),b=(A=!0)=>(m||(m=_(A)),m),k=()=>{if(!d)return;m=null,h.value&&(h.value=null);const A=d.querySelector(`script[src="${He(e)}"]`);A&&d.head.removeChild(A)};return l&&!r&&Tr(b),r||V1(k),{scriptTag:h,load:b,unload:k}}function jc(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:jc(n)}}function e0(e){const t=e||window.event,n=t.target;return jc(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}const Jl=new WeakMap;function Bc(e,t=!1){const n=J(t);let l=null;ve(D1(e),s=>{const i=Yr(He(s));if(i){const a=i;Jl.get(a)||Jl.set(a,a.style.overflow),n.value&&(a.style.overflow="hidden")}},{immediate:!0});const r=()=>{const s=Yr(He(e));!s||n.value||(Ai&&(l=Fe(s,"touchmove",i=>{e0(i)},{passive:!1})),s.style.overflow="hidden",n.value=!0)},o=()=>{var s;const i=Yr(He(e));!i||!n.value||(Ai&&(l==null||l()),i.style.overflow=(s=Jl.get(i))!=null?s:"",Jl.delete(i),n.value=!1)};return Wn(o),L({get(){return n.value},set(s){s?r():o()}})}function Hc(e,t,n={}){const{window:l=It}=n;return Kn(e,t,l==null?void 0:l.sessionStorage,n)}function t0(e={}){const{window:t=It,behavior:n="auto"}=e;if(!t)return{x:J(0),y:J(0)};const l=J(t.scrollX),r=J(t.scrollY),o=L({get(){return l.value},set(i){scrollTo({left:i,behavior:n})}}),s=L({get(){return r.value},set(i){scrollTo({top:i,behavior:n})}});return Fe(t,"scroll",()=>{l.value=t.scrollX,r.value=t.scrollY},{capture:!1,passive:!0}),{x:o,y:s}}function n0(e={}){const{window:t=It,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:l=Number.POSITIVE_INFINITY,listenOrientation:r=!0,includeScrollbar:o=!0}=e,s=J(n),i=J(l),a=()=>{t&&(o?(s.value=t.innerWidth,i.value=t.innerHeight):(s.value=t.document.documentElement.clientWidth,i.value=t.document.documentElement.clientHeight))};if(a(),Tr(a),Fe("resize",a,{passive:!0}),r){const c=Dc("(orientation: portrait)");ve(c,()=>a())}return{width:s,height:i}}var l0=U({name:"FontIcon",props:{icon:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""}},setup(e){const t=L(()=>{const l=["font-icon icon"],r=`fas fa-${e.icon}`;return l.push("fa-fw fa-sm"),l.push(e.icon.includes(" ")?e.icon:r),l}),n=L(()=>{const l={};return e.color&&(l.color=e.color),e.size&&(l["font-size"]=Number.isNaN(Number(e.size))?e.size:`${e.size}px`),Zt(l).length?l:null});return()=>e.icon?f("span",{key:e.icon,class:t.value,style:n.value}):null}});const Vc=({type:e="info",text:t="",vertical:n,color:l},{slots:r})=>{var o;return f("span",{class:["vp-badge",e,{diy:l}],style:{verticalAlign:n??!1,backgroundColor:l??!1}},((o=r.default)==null?void 0:o.call(r))||t)};Vc.displayName="Badge";const Uc=({title:e,desc:t="",logo:n,background:l,color:r,link:o})=>{const s=[n?f("img",{class:"vp-card-logo",src:Ke(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})])],i={};return l&&(i.background=l),r&&(i.color=r),o?jn(o)?f("a",{class:"vp-card",href:o,target:"_blank",style:i},s):f(Qe,{to:o,class:"vp-card",style:i},()=>s):f("div",{class:"vp-card",style:i},s)};Uc.displayName="VPCard";const r0=et({enhance:({app:e})=>{ft("FontIcon")||e.component("FontIcon",l0),ft("Badge")||e.component("Badge",Vc),ft("VPCard")||e.component("VPCard",Uc)},setup:()=>{Jr("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/brands.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}}),Jr("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/solid.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}}),Jr("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/fontawesome.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}})},rootComponents:[]}),Si=async(e,t)=>{const{path:n,query:l}=e.currentRoute.value,{scrollBehavior:r}=e.options;e.options.scrollBehavior=void 0,await e.replace({path:n,query:l,hash:t}),e.options.scrollBehavior=r},o0=({headerLinkSelector:e,headerAnchorSelector:t,delay:n,offset:l=5})=>{const r=yn();Fe("scroll",$c(()=>{var m,_;const s=Math.max(window.scrollY,document.documentElement.scrollTop,document.body.scrollTop);if(Math.abs(s-0)<l){Si(r,"");return}const a=window.innerHeight+s,c=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight),u=Math.abs(c-a)<l,d=Array.from(document.querySelectorAll(e)),h=Array.from(document.querySelectorAll(t)).filter(b=>d.some(k=>k.hash===b.hash));for(let b=0;b<h.length;b++){const k=h[b],A=h[b+1],y=s>=(((m=k.parentElement)==null?void 0:m.offsetTop)??0)-l,C=!A||s<(((_=A.parentElement)==null?void 0:_.offsetTop)??0)-l;if(!(y&&C))continue;const x=decodeURIComponent(r.currentRoute.value.hash),I=decodeURIComponent(k.hash);if(x===I)return;if(u){for(let O=b+1;O<h.length;O++)if(x===decodeURIComponent(h[O].hash))return}Si(r,I);return}},n))},s0=".vp-sidebar-link, .vp-toc-link",i0=".header-anchor",a0=200,c0=5,u0=et({setup(){o0({headerLinkSelector:s0,headerAnchorSelector:i0,delay:a0,offset:c0})}});let zc=e=>Ne(e.title)?{title:e.title}:null;const qc=Symbol(""),f0=e=>{zc=e},d0=()=>Me(qc),p0=e=>{e.provide(qc,zc)};var h0={"/en/":{title:"Catalog",empty:"No catalog"},"/":{title:"目录",empty:"暂无目录"}};const v0=U({name:"Catalog",props:{base:{type:String,default:""},level:{type:Number,default:3},index:Boolean,hideHeading:Boolean},setup(e){const t=d0(),n=Ol(h0),l=Se(),r=_c(),o=kc(),i=De(Nc(r.value).map(([c,{meta:u}])=>{const d=t(u);if(!d)return null;const p=c.split("/").length;return{level:T1(c,"/")?p-2:p-1,base:c.replace(/\/[^/]+\/?$/,"/"),path:c,...d}}).filter(c=>qn(c)&&Ne(c.title))),a=L(()=>{const c=e.base?qp(sc(e.base)):l.value.path.replace(/\/[^/]+$/,"/"),u=c.split("/").length-2,d=[];return i.value.filter(({level:p,path:h})=>{if(!Vn(h,c)||h===c)return!1;if(c==="/"){const m=Zt(o.value.locales).filter(_=>_!=="/");if(h==="/404.html"||m.some(_=>Vn(h,_)))return!1}return p-u<=e.level}).sort(({title:p,level:h,order:m},{title:_,level:b,order:k})=>{const A=h-b;return A||(Gr(m)?Gr(k)?m>0?k>0?m-k:-1:k<0?m-k:1:m:Gr(k)?k:p.localeCompare(_))}).forEach(p=>{var _;const{base:h,level:m}=p;switch(m-u){case 1:{d.push(p);break}case 2:{const b=d.find(k=>k.path===h);b&&(b.children??(b.children=[])).push(p);break}default:{const b=d.find(k=>k.path===h.replace(/\/[^/]+\/$/,"/"));if(b){const k=(_=b.children)==null?void 0:_.find(A=>A.path===h);k&&(k.children??(k.children=[])).push(p)}}}}),d});return()=>{const c=a.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),a.value.length?f(e.index?"ol":"ul",{class:["vp-catalogs",{deep:c}]},a.value.map(({children:u=[],title:d,path:p,content:h})=>{const m=f(Qe,{class:"vp-catalog-title",to:p},()=>h?f(h):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},"#"),m]),u.length?f(e.index?"ol":"ul",{class:"vp-child-catalogs"},u.map(({children:_=[],content:b,path:k,title:A})=>f("li",{class:"vp-child-catalog"},[f("div",{class:["vp-catalog-sub-title",{"has-children":_.length}]},[f("a",{href:`#${A}`,class:"vp-catalog-header-anchor"},"#"),f(Qe,{class:"vp-catalog-title",to:k},()=>b?f(b):A)]),_.length?f(e.index?"ol":"div",{class:e.index?"vp-sub-catalogs":"vp-sub-catalogs-wrapper"},_.map(({content:y,path:C,title:N})=>e.index?f("li",{class:"vp-sub-catalog"},f(Qe,{to:C},()=>y?f(y):N)):f(Qe,{class:"vp-sub-catalog-link",to:C},()=>y?f(y):N))):null]))):null]:f("div",{class:"vp-catalog-child-title"},m))})):f("p",{class:"vp-empty-catalog"},n.value.empty)])}}}),m0=et({enhance:({app:e})=>{p0(e),ft("Catalog",e)||e.component("Catalog",v0)}});var g0={"/en/":{backToTop:"Back to top"},"/":{backToTop:"返回顶部"}};const y0=U({name:"BackToTop",setup(e){const t=Te(),n=Ol(g0),l=De(),{height:r}=Z1(l),{height:o}=n0(),{y:s}=t0(),i=L(()=>t.value.backToTop!==!1&&s.value>100),a=L(()=>s.value/(r.value-o.value)*100);return we(()=>{l.value=document.body}),()=>f(Yt,{name:"back-to-top"},()=>i.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":a.value},f("svg",f("circle",{cx:"50%",cy:"50%",style:{"stroke-dasharray":`calc(${Math.PI*a.value}% - ${4*Math.PI}px) calc(${Math.PI*100}% - ${4*Math.PI}px)`}}))),f("div",{class:"back-to-top-icon"})]):null)}}),b0=et({rootComponents:[y0]}),_0=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"})]),Wc=U({name:"ExternalLinkIcon",props:{locales:{type:Object,required:!1,default:()=>({})}},setup(e){const t=Xt(),n=L(()=>e.locales[t.value]??{openInNewWindow:"open in new window"});return()=>f("span",[_0,f("span",{class:"external-link-icon-sr-only"},n.value.openInNewWindow)])}});var k0={};const w0=k0,E0=et({enhance({app:e}){e.component("ExternalLinkIcon",f(Wc,{locales:w0}))}});/**
|
||
* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
|
||
* @license MIT
|
||
*/const pe={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=pe.isStarted();e=Qr(e,pe.settings.minimum,1),pe.status=e===1?null:e;const n=pe.render(!t),l=n.querySelector(pe.settings.barSelector),r=pe.settings.speed,o=pe.settings.easing;return n.offsetWidth,A0(s=>{Ql(l,{transform:"translate3d("+Ti(e)+"%,0,0)",transition:"all "+r+"ms "+o}),e===1?(Ql(n,{transition:"none",opacity:"1"}),n.offsetWidth,setTimeout(function(){Ql(n,{transition:"all "+r+"ms linear",opacity:"0"}),setTimeout(function(){pe.remove(),s()},r)},r)):setTimeout(()=>s(),r)}),pe},isStarted:()=>typeof pe.status=="number",start:()=>{pe.status||pe.set(0);const e=()=>{setTimeout(()=>{pe.status&&(pe.trickle(),e())},pe.settings.trickleSpeed)};return pe.settings.trickle&&e(),pe},done:e=>!e&&!pe.status?pe:pe.inc(.3+.5*Math.random()).set(1),inc:e=>{let t=pe.status;return t?(typeof e!="number"&&(e=(1-t)*Qr(Math.random()*t,.1,.95)),t=Qr(t+e,0,.994),pe.set(t)):pe.start()},trickle:()=>pe.inc(Math.random()*pe.settings.trickleRate),render:e=>{if(pe.isRendered())return document.getElementById("nprogress");Ii(document.documentElement,"nprogress-busy");const t=document.createElement("div");t.id="nprogress",t.innerHTML=pe.settings.template;const n=t.querySelector(pe.settings.barSelector),l=e?"-100":Ti(pe.status||0),r=document.querySelector(pe.settings.parent);return Ql(n,{transition:"all 0 linear",transform:"translate3d("+l+"%,0,0)"}),r!==document.body&&Ii(r,"nprogress-custom-parent"),r==null||r.appendChild(t),t},remove:()=>{Pi(document.documentElement,"nprogress-busy"),Pi(document.querySelector(pe.settings.parent),"nprogress-custom-parent");const e=document.getElementById("nprogress");e&&C0(e)},isRendered:()=>!!document.getElementById("nprogress")},Qr=(e,t,n)=>e<t?t:e>n?n:e,Ti=e=>(-1+e)*100,A0=function(){const e=[];function t(){const n=e.shift();n&&n(t)}return function(n){e.push(n),e.length===1&&t()}}(),Ql=function(){const e=["Webkit","O","Moz","ms"],t={};function n(s){return s.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(i,a){return a.toUpperCase()})}function l(s){const i=document.body.style;if(s in i)return s;let a=e.length;const c=s.charAt(0).toUpperCase()+s.slice(1);let u;for(;a--;)if(u=e[a]+c,u in i)return u;return s}function r(s){return s=n(s),t[s]??(t[s]=l(s))}function o(s,i,a){i=r(i),s.style[i]=a}return function(s,i){for(const a in i){const c=i[a];c!==void 0&&Object.prototype.hasOwnProperty.call(i,a)&&o(s,a,c)}}}(),Kc=(e,t)=>(typeof e=="string"?e:us(e)).indexOf(" "+t+" ")>=0,Ii=(e,t)=>{const n=us(e),l=n+t;Kc(n,t)||(e.className=l.substring(1))},Pi=(e,t)=>{const n=us(e);if(!Kc(e,t))return;const l=n.replace(" "+t+" "," ");e.className=l.substring(1,l.length-1)},us=e=>(" "+(e.className||"")+" ").replace(/\s+/gi," "),C0=e=>{e&&e.parentNode&&e.parentNode.removeChild(e)},x0=()=>{we(()=>{const e=yn(),t=new Set;t.add(e.currentRoute.value.path),e.beforeEach(n=>{t.has(n.path)||pe.start()}),e.afterEach(n=>{t.add(n.path),pe.done()})})},L0=et({setup(){x0()}}),S0=JSON.parse(`{"encrypt":{"config":{"/demo/encrypt.html":["$2a$10$P7W5a2P7e2JQQef7vua.P.uH.Mn9YH2DwDJHCKnEiy43lxJ5gLUGS"]}},"locales":{"/en/":{"lang":"en-US","navbarLocales":{"langName":"English","selectLangAriaLabel":"Select language"},"metaLocales":{"author":"Author","date":"Writing Date","origin":"Original","views":"Page views","category":"Category","tag":"Tag","readingTime":"Reading Time","words":"Words","toc":"On This Page","prev":"Prev","next":"Next","lastUpdated":"Last update","contributors":"Contributors","editLink":"在 GitHub 上编辑","print":"Print"},"outlookLocales":{"themeColor":"Theme Color","darkmode":"Theme Mode","fullscreen":"Full Screen"},"encryptLocales":{"iconLabel":"Page Encrypted","placeholder":"Enter password","remember":"Remember password","errorHint":"Please enter the correct password!"},"routeLocales":{"skipToContent":"Skip to main content","notFoundTitle":"Page not found","notFoundMsg":["There’s nothing here.","How did we get here?","That’s a Four-Oh-Four.","Looks like we've got some broken links."],"back":"Go back","home":"Take me home","openInNewWindow":"Open in new window"},"navbar":["/en/",{"text":"Deploy","link":"/en/deploy/","prefix":"deploy/"},{"text":"Usage","link":"/en/usage/","prefix":"usage/"},{"text":"Extensions","link":"/en/store/","prefix":"store/"},{"text":"Contribute","link":"/en/dev/","prefix":"dev/"}],"sidebar":{"/en/deploy/":"structure","/en/usage/":"structure","/en/store/":"structure","/en/dev/":"structure"},"author":{"name":"SnowyKami","url":"https://sfkm.me"}},"/":{"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":"/deploy/","prefix":"deploy/"},{"text":"使用及功能","link":"/usage/","prefix":"usage/"},{"text":"资源及插件","link":"/store/","prefix":"store/"},{"text":"开发及贡献","link":"/dev/","prefix":"dev/"}],"sidebar":{"/deploy/":"structure","/usage/":"structure","/store/":"structure","/dev/":"structure"},"author":{"name":"远野千束","url":"https://sfkm.me"}}},"logo":"https://cdn.liteyuki.icu/static/img/liteyuki_icon_640.png","repo":"https://github.com/LiteyukiStudio/LiteyukiBot","docsDir":"docs","footer":"LiteyukiBot","displayFooter":true}`),T0=J(S0),Gc=()=>T0,Yc=Symbol(""),I0=()=>{const e=Me(Yc);if(!e)throw new Error("useThemeLocaleData() is called without provider.");return e},P0=(e,t)=>{const{locales:n,...l}=e;return{...l,...n==null?void 0:n[t]}},N0=et({enhance({app:e}){const t=Gc(),n=e._context.provides[ls],l=L(()=>P0(t.value,n.routeLocale.value));e.provide(Yc,l),Object.defineProperties(e.config.globalProperties,{$theme:{get(){return t.value}},$themeLocale:{get(){return l.value}}})}});var O0={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 R0=O0;let $0=R0;const Jc=Symbol(""),Qc=()=>Me(Jc),F0=Qc,M0=e=>{e.provide(Jc,$0)},Xc=()=>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"}))]);Xc.displayName="LoadingIcon";const Ni=["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"],D0=U({name:"GiscusComment",props:{identifier:{type:String,required:!0},darkmode:Boolean},setup(e){const t=F0(),n=rs(),l=!!(t.repo&&t.repoId&&t.category&&t.categoryId),{repo:r,repoId:o,category:s,categoryId:i}=t,a=J(!1),c=L(()=>{if(Ni.includes(n.value))return n.value;const d=n.value.split("-")[0];return Ni.includes(d)?d:"en"}),u=L(()=>({repo:r,repoId:o,category:s,categoryId:i,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 we(async()=>{await B(()=>import("./giscus-7BMGhbDA.js"),__vite__mapDeps([])),a.value=!0}),()=>l?f("div",{id:"comment",class:["giscus-wrapper",{"input-top":t.inputPosition!=="bottom"}]},a.value?f("giscus-widget",u.value):f(Xc)):null}}),j0=U({name:"CommentService",props:{darkmode:Boolean},setup(e){const t=Qc(),n=Se(),l=Te(),r=t.comment!==!1,o=L(()=>l.value.comment||r&&l.value.comment!==!1);return()=>f(D0,{id:"vp-comment",identifier:l.value.commentID||n.value.path,darkmode:e.darkmode,style:{display:o.value?"block":"none"}})}}),B0=et({enhance:({app:e})=>{M0(e),e.component("CommentService",j0)}}),H0=/\b(?:Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini)/i,V0=()=>typeof window<"u"&&window.navigator&&"userAgent"in window.navigator&&H0.test(navigator.userAgent),U0=({delay:e=500,duration:t=2e3,locales:n,selector:l,showInMobile:r})=>{const{copy:o,copied:s}=q1({legacy:!0,copiedDuring:t}),i=Ol(n),a=Se(),c=p=>{if(!p.hasAttribute("copy-code-registered")){const h=document.createElement("button");h.type="button",h.classList.add("vp-copy-code-button"),h.innerHTML='<div class="vp-copy-icon" />',h.setAttribute("aria-label",i.value.copy),h.setAttribute("data-copied",i.value.copied),p.parentElement&&p.parentElement.insertBefore(h,p),p.setAttribute("copy-code-registered","")}},u=()=>{Jt().then(()=>Ic(e)).then(()=>{l.forEach(p=>{document.querySelectorAll(p).forEach(c)})})},d=(p,h,m)=>{let{innerText:_=""}=h;/language-(shellscript|shell|bash|sh|zsh)/.test(p.classList.toString())&&(_=_.replace(/^ *(\$|>) /gm,"")),o(_).then(()=>{m.classList.add("copied"),ve(s,()=>{m.classList.remove("copied"),m.blur()},{once:!0})})};we(()=>{const p=!V0()||r;p&&u(),Fe("click",h=>{const m=h.target;if(m.matches('div[class*="language-"] > button.copy')){const _=m.parentElement,b=m.nextElementSibling;b&&d(_,b,m)}else if(m.matches('div[class*="language-"] div.vp-copy-icon')){const _=m.parentElement,b=_.parentElement,k=_.nextElementSibling;k&&d(b,k,_)}}),ve(()=>a.value.path,()=>{p&&u()})})};var z0={"/en/":{copy:"Copy code",copied:"Copied"},"/":{copy:"复制代码",copied:"已复制"}},q0=['.theme-hope-content div[class*="language-"] pre'];const W0=500,K0=2e3,G0=z0,Y0=q0,J0=!1,Q0=et({setup:()=>{U0({selector:Y0,locales:G0,duration:K0,delay:W0,showInMobile:J0})}}),Xl=Kn("VUEPRESS_CODE_TAB_STORE",{});var X0=U({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=J(e.active),l=De([]),r=()=>{e.tabId&&(Xl.value[e.tabId]=e.data[n.value].id)},o=(c=n.value)=>{n.value=c<l.value.length-1?c+1:0,l.value[n.value].focus()},s=(c=n.value)=>{n.value=c>0?c-1:l.value.length-1,l.value[n.value].focus()},i=(c,u)=>{c.key===" "||c.key==="Enter"?(c.preventDefault(),n.value=u):c.key==="ArrowRight"?(c.preventDefault(),o()):c.key==="ArrowLeft"&&(c.preventDefault(),s()),e.tabId&&(Xl.value[e.tabId]=e.data[n.value].id)},a=()=>{if(e.tabId){const c=e.data.findIndex(({id:u})=>Xl.value[e.tabId]===u);if(c!==-1)return c}return e.active};return we(()=>{n.value=a(),ve(()=>Xl.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&&(l.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,r()},onKeydown:p=>i(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 Zc=({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))};Zc.displayName="CodeGroupItem";const Z0=U({name:"CodeGroup",slots:Object,setup(e,{slots:t}){const n=J(-1),l=De([]),r=(i=n.value)=>{n.value=i<l.value.length-1?i+1:0,l.value[n.value].focus()},o=(i=n.value)=>{n.value=i>0?i-1:l.value.length-1,l.value[n.value].focus()},s=(i,a)=>{i.key===" "||i.key==="Enter"?(i.preventDefault(),n.value=a):i.key==="ArrowRight"?(i.preventDefault(),r(a)):i.key==="ArrowLeft"&&(i.preventDefault(),o(a))};return()=>{var a;const i=(((a=t.default)==null?void 0:a.call(t))||[]).filter(c=>c.type.name==="CodeGroupItem").map(c=>(c.props===null&&(c.props={}),c));return i.length===0?null:(n.value<0||n.value>i.length-1?(n.value=i.findIndex(c=>"active"in c.props),n.value===-1&&(n.value=0)):i.forEach((c,u)=>{c.props.active=u===n.value}),f("div",{class:"code-group"},[f("div",{class:"code-group-nav"},i.map((c,u)=>{const d=u===n.value;return f("button",{type:"button",ref:p=>{p&&(l.value[u]=p)},class:["code-group-nav-tab",{active:d}],"aria-pressed":d,"aria-expanded":d,onClick:()=>{n.value=u},onKeydown:p=>s(p,u)},c.props.title)})),i]))}}}),Ie=({name:e="",color:t="currentColor"},{slots:n})=>{var l;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`},(l=n.default)==null?void 0:l.call(n))};Ie.displayName="IconBase";const fs=({size:e=48,stroke:t=4,wrapper:n=!0,height:l=2*e})=>{const r=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:${l}px`},r):r};fs.displayName="LoadingIcon";const eu=(e,{slots:t})=>{var n;return(n=t.default)==null?void 0:n.call(t)},tu=()=>f(Ie,{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"}));tu.displayName="GitHubIcon";const nu=()=>f(Ie,{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"}));nu.displayName="GitLabIcon";const lu=()=>f(Ie,{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"}));lu.displayName="GiteeIcon";const ru=()=>f(Ie,{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"}));ru.displayName="BitbucketIcon";const ou=()=>f(Ie,{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"}));ou.displayName="SourceIcon";const su=(e,t)=>{let n=1;for(let l=0;l<e.length;l++)n+=e.charCodeAt(l),n+=n<<10,n^=n>>6;return n+=n<<3,n^=n>>11,n%t},iu=/#.*$/u,ev=e=>{const t=iu.exec(e);return t?t[0]:""},Oi=e=>decodeURI(e).replace(iu,"").replace(/\/index\.html$/iu,"/").replace(/\.html$/iu,"").replace(/(README|index)?\.md$/iu,""),au=(e,t)=>{if(!Pc(t))return!1;const n=Oi(e.path),l=Oi(t),r=ev(t);return r?r===e.hash&&(!l||n===l):n===l},tv=e=>gn(e)?e:`https://github.com/${e}`,cu=e=>!gn(e)||/github\.com/.test(e)?"GitHub":/bitbucket\.org/.test(e)?"Bitbucket":/gitlab\.com/.test(e)?"GitLab":/gitee\.com/.test(e)?"Gitee":null;var nv=e=>Object.prototype.toString.call(e)==="[object Object]",bl=e=>typeof e=="string";const uu=Array.isArray,Ri=e=>nv(e)&&bl(e.name),$i=(e,t=!1)=>e?uu(e)?e.map(n=>bl(n)?{name:n}:Ri(n)?n:null).filter(n=>n!==null):bl(e)?[{name:e}]:Ri(e)?[e]:(console.error(`Expect "author" to be \`AuthorInfo[] | AuthorInfo | string[] | string ${t?"":"| false"} | undefined\`, but got`,e),[]):[],fu=(e,t)=>{if(e){if(uu(e)&&e.every(bl))return e;if(bl(e))return[e];console.error(`Expect ${t||"value"} to be \`string[] | string | undefined\`, but got`,e)}return[]},lv=e=>fu(e,"category"),rv=e=>fu(e,"tag"),ov='<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>',sv='<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 iv={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 Xr=iv,Fi={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"}}},av=(e,t,n)=>{const l=document.createElement(e);return qn(t)&&Zt(t).forEach(r=>{if(r.indexOf("data"))l[r]=t[r];else{const o=r.replace("data","");l.dataset[o]=t[r]}}),n&&n.forEach(r=>{l.appendChild(r)}),l},ds=e=>({...Xr,...e,jsLib:Array.from(new Set([...Xr.jsLib||[],...e.jsLib||[]])),cssLib:Array.from(new Set([...Xr.cssLib||[],...e.cssLib||[]]))}),On=(e,t)=>{if(Pc(e[t]))return e[t];const n=new Promise(l=>{var o;const r=document.createElement("script");r.src=t,(o=document.querySelector("body"))==null||o.appendChild(r),r.onload=()=>{l()}});return e[t]=n,n},cv=(e,t)=>{if(t.css&&Array.from(e.childNodes).every(n=>n.nodeName!=="STYLE")){const n=av("style",{innerHTML:t.css});e.appendChild(n)}},uv=(e,t,n)=>{const l=n.getScript();if(l&&Array.from(t.childNodes).every(r=>r.nodeName!=="SCRIPT")){const r=document.createElement("script");r.appendChild(document.createTextNode(`{const document=window.document.querySelector('#${e} .vp-code-demo-display').shadowRoot;
|
||
${l}}`)),t.appendChild(r)}},fv=e=>{const t=Zt(e),n={html:[],js:[],css:[],isLegal:!1};return["html","js","css"].forEach(l=>{const r=t.filter(o=>Fi[l].types.includes(o));if(r.length){const o=r[0];n[l]=[e[o].replace(/^\n|\n$/g,""),Fi[l].map[o]||o]}}),n.isLegal=(!n.html.length||n.html[1]==="none")&&(!n.js.length||n.js[1]==="none")&&(!n.css.length||n.css[1]==="none"),n},du=e=>e.replace(/<br \/>/g,"<br>").replace(/<((\S+)[^<]*?)\s+\/>/g,"<$1></$2>"),pu=e=>`<div id="app">
|
||
${du(e)}
|
||
</div>`,dv=e=>`${e.replace("export default ","const $reactApp = ").replace(/App\.__style__(\s*)=(\s*)`([\s\S]*)?`/,"")};
|
||
ReactDOM.createRoot(document.getElementById("app")).render(React.createElement($reactApp))`,pv=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(),hu=e=>`(function(exports){var module={};module.exports=exports;${e};return module.exports.__esModule?module.exports.default:module.exports;})({})`,hv=(e,t)=>{const n=ds(t),l=e.js[0]||"";return{...n,html:du(e.html[0]||""),js:l,css:e.css[0]||"",isLegal:e.isLegal,getScript:()=>{var r;return n.useBabel?((r=window.Babel.transform(l,{presets:["es2015"]}))==null?void 0:r.code)||"":l}}},vv=/<template>([\s\S]+)<\/template>/u,mv=/<script(\s*lang=(['"])(.*?)\2)?>([\s\S]+)<\/script>/u,gv=/<style(\s*lang=(['"])(.*?)\2)?\s*(?:scoped)?>([\s\S]+)<\/style>/u,yv=(e,t)=>{const n=ds(t),l=e.html[0]||"",r=vv.exec(l),o=mv.exec(l),s=gv.exec(l),i=r?r[1].replace(/^\n|\n$/g,""):"",[a="",c=""]=o?[o[4].replace(/^\n|\n$/g,""),o[3]]:[],[u="",d=""]=s?[s[4].replace(/^\n|\n$/g,""),s[3]]:[],p=c===""&&(d===""||d==="css");return{...n,html:pu(i),js:pv(a),css:u,isLegal:p,jsLib:[n.vue,...n.jsLib],getScript:()=>{var m,_;const h=t.useBabel?((_=(m=window.Babel)==null?void 0:m.transform(a,{presets:["es2015"]}))==null?void 0:_.code)||"":a.replace(/export\s+default/u,"return");return`const app=window.document.createElement('div');document.firstElementChild.appendChild(app);const appOptions=${hu(h)};appOptions.template=\`${i.replace("`",'\\`"')}\`;window.Vue.createApp(appOptions).mount(app);`}}},bv=(e,t)=>{const n=ds(t);return{...n,html:pu(""),js:dv(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 r,o;const l=((o=(r=window.Babel)==null?void 0:r.transform(e.js[0]||"",{presets:["es2015","react"]}))==null?void 0:o.code)||"";return`window.ReactDOM.createRoot(document.firstElementChild).render(window.React.createElement(${hu(l)}))`}}},Rn={},_v=e=>Promise.all([On(Rn,e.babel),On(Rn,e.react),On(Rn,e.reactDOM)]),kv=e=>{const t=[On(Rn,e.vue)];return e.useBabel&&t.push(On(Rn,e.babel)),Promise.all(t)},wv=e=>e.useBabel?On(Rn,e.babel):Promise.resolve();var Ev=U({name:"CodeDemo",props:{id:{type:String,required:!0},type:{type:String,default:"normal"},title:{type:String,default:""},config:{type:String,default:""},code:{type:String,required:!0}},slots:Object,setup(e,{slots:t}){const[n,l]=yl(!1),r=De(),o=De(),s=J("0"),i=J(!1),a=L(()=>JSON.parse(e.config?wo(e.config):"{}")),c=L(()=>{const m=JSON.parse(wo(e.code));return fv(m)}),u=L(()=>e.type==="react"?bv(c.value,a.value):e.type==="vue"?yv(c.value,a.value):hv(c.value,a.value)),d=L(()=>u.value.isLegal),p=(m=!1)=>{const _=r.value.attachShadow({mode:"open"}),b=document.createElement("div");b.classList.add("code-demo-app"),_.appendChild(b),d.value?(m&&(b.innerHTML=u.value.html),cv(_,u.value),uv(e.id,_,u.value),s.value="0"):s.value="auto",i.value=!0},h=()=>{switch(e.type){case"react":return _v(u.value).then(()=>p());case"vue":return kv(u.value).then(()=>p());default:return wv(u.value).then(()=>p(!0))}};return Fe("beforeprint",()=>{l(!0)}),we(()=>{setTimeout(()=>{h()},800)}),()=>{var m;return f("div",{class:"vp-code-demo",id:e.id},[f("div",{class:"vp-code-demo-header"},[u.value.isLegal?f("button",{type:"button",title:"toggle","aria-hidden":!0,class:["vp-code-demo-toggle-button",n.value?"down":"end"],onClick:()=>{s.value=n.value?"0":`${o.value.clientHeight+13.8}px`,l()}}):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:sv,"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:ov,class:"codepen-button","aria-label":"Codepen","data-balloon-pos":"up"})]):null]),i.value?null:f(fs,{class:"vp-code-demo-loading"}),f("div",{ref:r,class:"vp-code-demo-display",style:{display:d.value&&i.value?"block":"none"}}),f("div",{class:"vp-code-demo-code-wrapper",style:{height:s.value}},f("div",{ref:o,class:"vp-code-demo-codes"},(m=t.default)==null?void 0:m.call(t)))])}}}),Av=U({name:"MdDemo",props:{id:{type:String,required:!0},title:{type:String,default:""}},slots:Object,setup(e,{slots:t}){const[n,l]=yl(!1),r=De(),o=J("0");return Fe("beforeprint",()=>{l(!0)}),()=>{var s,i;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:()=>{o.value=n.value?"0":`${r.value.clientHeight+13.8}px`,l()}}),e.title?decodeURIComponent(e.title):null]),f("div",{class:"vp-md-demo-display"},(s=t.default)==null?void 0:s.call(t)),f("div",{class:"vp-md-demo-code-wrapper",style:{height:o.value}},f("div",{ref:r,class:"vp-md-demo-codes"},(i=t.code)==null?void 0:i.call(t)))])}}});let Cv={};const vu=Symbol(""),xv=()=>Me(vu),Lv=e=>{e.provide(vu,Cv)},Sv=(async()=>{}).constructor,Tv=(e,t,n)=>t==="js"?Sv("myChart",`let width,height,option,__echarts_config__;
|
||
{
|
||
${e}
|
||
__echarts_config__={width,height,option};
|
||
}
|
||
return __echarts_config__;
|
||
`)(n):Promise.resolve({option:JSON.parse(e)});var Iv=U({name:"ECharts",props:{config:{type:String,required:!0},id:{type:String,required:!0},title:{type:String,default:""},type:{type:String,default:"json"}},setup(e){const t=xv(),n=J(!0),l=De();let r;return Fe("resize",$c(()=>r==null?void 0:r.resize(),100)),we(()=>{Promise.all([B(()=>import("./index-Cw_AvLww.js"),__vite__mapDeps([])),new Promise(o=>setTimeout(o,800))]).then(async([o])=>{var a;await((a=t.setup)==null?void 0:a.call(t)),r=o.init(l.value);const{option:s,...i}=await Tv(wo(e.config),e.type,r);r.resize(i),r.setOption({...t.option,...s}),n.value=!1})}),mn(()=>{r==null||r.dispose()}),()=>[e.title?f("div",{class:"echarts-title"},decodeURIComponent(e.title)):null,f("div",{class:"echarts-wrapper"},[f("div",{ref:l,class:"echarts-container",id:e.id}),n.value?f(fs,{class:"echarts-loading",height:360}):null])]}});const Pv=()=>{Fe("beforeprint",()=>{document.querySelectorAll("details").forEach(e=>{e.open=!0})})},Zr=Kn("VUEPRESS_TAB_STORE",{});var Nv=U({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=J(e.active),l=De([]),r=()=>{e.tabId&&(Zr.value[e.tabId]=e.data[n.value].id)},o=(c=n.value)=>{n.value=c<l.value.length-1?c+1:0,l.value[n.value].focus()},s=(c=n.value)=>{n.value=c>0?c-1:l.value.length-1,l.value[n.value].focus()},i=(c,u)=>{c.key===" "||c.key==="Enter"?(c.preventDefault(),n.value=u):c.key==="ArrowRight"?(c.preventDefault(),o()):c.key==="ArrowLeft"&&(c.preventDefault(),s()),r()},a=()=>{if(e.tabId){const c=e.data.findIndex(({id:u})=>Zr.value[e.tabId]===u);if(c!==-1)return c}return e.active};return we(()=>{n.value=a(),ve(()=>Zr.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&&(l.value[u]=p)},class:["vp-tab-nav",{active:d}],role:"tab","aria-controls":`tab-${e.id}-${u}`,"aria-selected":d,onClick:()=>{n.value=u,r()},onKeydown:p=>i(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 Ov=et({enhance:({app:e})=>{e.component("CodeTabs",X0),ft("CodeGroup",e)||e.component("CodeGroup",Z0),ft("CodeGroupItem",e)||e.component("CodeGroupItem",Zc),e.component("CodeDemo",Ev),e.component("MdDemo",Av),e.component("ECharts",Iv),Lv(e),e.component("Tabs",Nv)},setup:()=>{Pv()}});let Rv={};const mu=Symbol(""),$v=()=>Me(mu),Fv=e=>{e.provide(mu,Rv)},Mv='<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>',Dv=e=>Ne(e)?Array.from(document.querySelectorAll(e)):e.map(t=>Array.from(document.querySelectorAll(t))).flat(),gu=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(gu(e)),e.onerror=l=>n(l))}),jv=e=>{const{isSupported:t,toggle:n}=cs();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:(l,r)=>{l.setAttribute("download",""),l.setAttribute("target","_blank"),l.setAttribute("rel","noopener"),r.on("change",()=>{l.setAttribute("href",r.currSlide.data.src)})}}),e.ui.registerElement({name:"bulletsIndicator",className:"photo-swipe-bullets-indicator",appendTo:"wrapper",onInit:(l,r)=>{const o=[];let s=-1;for(let i=0;i<r.getNumItems();i++){const a=document.createElement("div");a.className="photo-swipe-bullet",a.onclick=c=>{r.goTo(o.indexOf(c.target))},o.push(a),l.appendChild(a)}r.on("change",()=>{s>=0&&o[s].classList.remove("active"),o[r.currIndex].classList.add("active"),s=r.currIndex})}})})},Bv=(e,t,n=!0)=>B(()=>import("./photoswipe.esm-SzV8tJDW.js"),__vite__mapDeps([])).then(({default:l})=>{let r=null;const o=e.map(s=>({html:Mv,element:s,msrc:s.src}));return e.forEach((s,i)=>{const a=()=>{r==null||r.destroy(),r=new l({preloaderDelay:0,showHideAnimationType:"zoom",...t,dataSource:o,index:i,...n?{closeOnVerticalDrag:!0,wheelToZoom:!1}:{}}),jv(r),r.addFilter("thumbEl",()=>s),r.addFilter("placeholderSrc",()=>s.src),r.init()};s.getAttribute("photo-swipe")||(s.style.cursor="zoom-in",s.addEventListener("click",()=>{a()}),s.addEventListener("keypress",({key:c})=>{c==="Enter"&&a()}),s.setAttribute("photo-swipe","")),gu(s).then(c=>{o.splice(i,1,c),r==null||r.refreshSlideContent(i)})}),n?Fe("wheel",()=>{r==null||r.close()}):()=>{}}),Hv=({selector:e,locales:t,delay:n=500,scrollToClose:l=!0})=>{const r=$v(),o=Ol(t),s=Se(),i=Te();let a=null;const c=()=>{const{photoSwipe:u}=i.value;u!==!1&&Jt().then(()=>Ic(n)).then(async()=>{const d=Ne(u)?u:e;a=await Bv(Dv(d),{...r,...o.value},l)})};we(()=>{c(),ve(()=>s.value.path,()=>{a==null||a(),c()})}),mn(()=>{a==null||a()})};var Vv={"/en/":{closeTitle:"Close",downloadTitle:"Download Image",fullscreenTitle:"Switch to full screen",zoomTitle:"Zoom in/out",arrowPrevTitle:"Prev (Arrow Left)",arrowNextTitle:"Next (Arrow Right)"},"/":{closeTitle:"关闭",downloadTitle:"下载图片",fullscreenTitle:"切换全屏",zoomTitle:"缩放",arrowPrevTitle:"上一个 (左箭头)",arrowNextTitle:"下一个 (右箭头)"}};const Uv=".theme-hope-content :not(a) > img:not([no-view])",zv=Vv,qv=800,Wv=!0,Kv=et({enhance:({app:e})=>{Fv(e)},setup:()=>{Hv({selector:Uv,delay:qv,locales:zv,scrollToClose:Wv})}}),Gv=e=>e instanceof Element?document.activeElement===e&&(["TEXTAREA","SELECT","INPUT"].includes(e.tagName)||e.hasAttribute("contenteditable")):!1,Yv=(e,t)=>t.some(n=>{if(Ne(n))return n===e.key;const{key:l,ctrl:r=!1,shift:o=!1,alt:s=!1}=n;return l===e.key&&r===e.ctrlKey&&o===e.shiftKey&&s===e.altKey}),Jv=/[^\x00-\x7F]/,Qv=e=>e.split(/\s+/g).map(t=>t.trim()).filter(t=>!!t),Mi=e=>e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),Di=(e,t)=>{const n=t.join(" "),l=Qv(e);if(Jv.test(e))return l.some(s=>n.toLowerCase().indexOf(s)>-1);const r=e.endsWith(" ");return new RegExp(l.map((s,i)=>l.length===i+1&&!r?`(?=.*\\b${Mi(s)})`:`(?=.*\\b${Mi(s)}\\b)`).join("")+".+","gi").test(n)},Xv=({input:e,hotKeys:t})=>{if(t.value.length===0)return;const n=l=>{e.value&&Yv(l,t.value)&&!Gv(l.target)&&(l.preventDefault(),e.value.focus())};we(()=>{document.addEventListener("keydown",n)}),Yo(()=>{document.removeEventListener("keydown",n)})},Zv=[{title:"首页",headers:[],path:"/",pathLocale:"/",extraFields:[]},{title:"项目部署",headers:[],path:"/deploy/",pathLocale:"/",extraFields:[]},{title:"配置",headers:[{level:2,title:"基础配置项",slug:"基础配置项",link:"#基础配置项",children:[]},{level:2,title:"其他配置",slug:"其他配置",link:"#其他配置",children:[]},{level:2,title:"与NoneBot对接的OneBot实现端配置",slug:"与nonebot对接的onebot实现端配置",link:"#与nonebot对接的onebot实现端配置",children:[]},{level:2,title:"其他",slug:"其他",link:"#其他",children:[]}],path:"/deploy/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:"/deploy/fandq.html",pathLocale:"/",extraFields:[]},{title:"安装",headers:[{level:2,title:"开始安装",slug:"开始安装",link:"#开始安装",children:[{level:3,title:"常规部署",slug:"常规部署",link:"#常规部署",children:[]},{level:3,title:"使用Docker构建镜像部署",slug:"使用docker构建镜像部署",link:"#使用docker构建镜像部署",children:[]},{level:3,title:"使用TRSS Scripts部署",slug:"使用trss-scripts部署",link:"#使用trss-scripts部署",children:[]}]},{level:2,title:"设备要求",slug:"设备要求",link:"#设备要求",children:[]}],path:"/deploy/install.html",pathLocale:"/",extraFields:[]},{title:"开发及贡献",headers:[],path:"/dev/",pathLocale:"/",extraFields:[]},{title:"进程通信",headers:[{level:2,title:"通道通信",slug:"通道通信",link:"#通道通信",children:[{level:3,title:"简介",slug:"简介",link:"#简介",children:[]},{level:3,title:"示例",slug:"示例",link:"#示例",children:[]}]},{level:2,title:"共享内存通信",slug:"共享内存通信",link:"#共享内存通信",children:[{level:3,title:"简介",slug:"简介-1",link:"#简介-1",children:[]},{level:3,title:"示例",slug:"示例-1",link:"#示例-1",children:[]}]}],path:"/dev/dev_comm.html",pathLocale:"/",extraFields:[]},{title:"轻雪函数",headers:[{level:2,title:"轻雪函数",slug:"轻雪函数",link:"#轻雪函数",children:[{level:3,title:"函数文件",slug:"函数文件",link:"#函数文件",children:[]},{level:3,title:"命令文档",slug:"命令文档",link:"#命令文档",children:[]},{level:3,title:"API",slug:"api",link:"#api",children:[]},{level:3,title:"结束关键字",slug:"结束关键字",link:"#结束关键字",children:[]}]}],path:"/dev/dev_lyfunc.html",pathLocale:"/",extraFields:[]},{title:"轻雪插件开发",headers:[{level:2,title:"简介",slug:"简介",link:"#简介",children:[]},{level:2,title:"开始",slug:"开始",link:"#开始",children:[{level:3,title:"创建插件",slug:"创建插件",link:"#创建插件",children:[]},{level:3,title:"编写逻辑部分",slug:"编写逻辑部分",link:"#编写逻辑部分",children:[]},{level:3,title:"加载插件",slug:"加载插件",link:"#加载插件",children:[]}]}],path:"/dev/dev_lyplugin.html",pathLocale:"/",extraFields:[]},{title:"资源包开发",headers:[{level:2,title:"简介",slug:"简介",link:"#简介",children:[]},{level:2,title:"加载资源包",slug:"加载资源包",link:"#加载资源包",children:[]}],path:"/dev/dev_resource_pack.html",pathLocale:"/",extraFields:[]},{title:"Home",headers:[],path:"/en/",pathLocale:"/en/",extraFields:[]},{title:"资源及插件商店",headers:[],path:"/store/",pathLocale:"/",extraFields:[]},{title:"插件商店",headers:[],path:"/store/plugin.html",pathLocale:"/",extraFields:[]},{title:"资源商店",headers:[],path:"/store/resource.html",pathLocale:"/",extraFields:[]},{title:"使用手册",headers:[],path:"/usage/",pathLocale:"/",extraFields:[]},{title:"用户协议",headers:[],path:"/usage/agreement.html",pathLocale:"/",extraFields:[]},{title:"基础命令",headers:[{level:2,title:"轻雪命令liteyuki_command",slug:"轻雪命令liteyuki-command",link:"#轻雪命令liteyuki-command",children:[{level:3,title:"命令别名",slug:"命令别名",link:"#命令别名",children:[]}]},{level:2,title:"插件/包管理器 liteyuki_pacman",slug:"插件-包管理器-liteyuki-pacman",link:"#插件-包管理器-liteyuki-pacman",children:[{level:3,title:"命令别名",slug:"命令别名-1",link:"#命令别名-1",children:[]}]},{level:2,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:[]},{level:3,title:"统计信息liteyuki_statistics",slug:"统计信息liteyuki-statistics",link:"#统计信息liteyuki-statistics",children:[]}]}],path:"/usage/extra_command.html",pathLocale:"/",extraFields:[]},{title:"liteyuki",headers:[],path:"/dev/api/",pathLocale:"/",extraFields:[]},{title:"liteyuki.config",headers:[{level:3,title:"def flat_config(config: dict[str, Any]) -> dict[str, Any]",slug:"def-flat-config-config-dict-str-any-dict-str-any",link:"#def-flat-config-config-dict-str-any-dict-str-any",children:[]},{level:3,title:"def load_from_yaml(file: str) -> dict[str, Any]",slug:"def-load-from-yaml-file-str-dict-str-any",link:"#def-load-from-yaml-file-str-dict-str-any",children:[]},{level:3,title:"def load_from_json(file: str) -> dict[str, Any]",slug:"def-load-from-json-file-str-dict-str-any",link:"#def-load-from-json-file-str-dict-str-any",children:[]},{level:3,title:"def load_from_toml(file: str) -> dict[str, Any]",slug:"def-load-from-toml-file-str-dict-str-any",link:"#def-load-from-toml-file-str-dict-str-any",children:[]},{level:3,title:"def load_from_files() -> dict[str, Any]",slug:"def-load-from-files-dict-str-any",link:"#def-load-from-files-dict-str-any",children:[]},{level:3,title:"def load_configs_from_dirs() -> dict[str, Any]",slug:"def-load-configs-from-dirs-dict-str-any",link:"#def-load-configs-from-dirs-dict-str-any",children:[]},{level:3,title:"def load_config_in_default(no_waring: bool) -> dict[str, Any]",slug:"def-load-config-in-default-no-waring-bool-dict-str-any",link:"#def-load-config-in-default-no-waring-bool-dict-str-any",children:[]},{level:3,title:"class SatoriNodeConfig(BaseModel)",slug:"class-satorinodeconfig-basemodel",link:"#class-satorinodeconfig-basemodel",children:[]},{level:3,title:"class SatoriConfig(BaseModel)",slug:"class-satoriconfig-basemodel",link:"#class-satoriconfig-basemodel",children:[]},{level:3,title:"class BasicConfig(BaseModel)",slug:"class-basicconfig-basemodel",link:"#class-basicconfig-basemodel",children:[]}],path:"/dev/api/config.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.exception",headers:[{level:3,title:"class LiteyukiException(BaseException)",slug:"class-liteyukiexception-baseexception",link:"#class-liteyukiexception-baseexception",children:[]}],path:"/dev/api/exception.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.log",headers:[{level:3,title:"def get_format(level: str) -> str",slug:"def-get-format-level-str-str",link:"#def-get-format-level-str-str",children:[]},{level:3,title:"def init_log(config: dict) -> None",slug:"def-init-log-config-dict-none",link:"#def-init-log-config-dict-none",children:[]}],path:"/dev/api/log.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.utils",headers:[{level:3,title:"def is_coroutine_callable(call: Callable[..., Any]) -> bool",slug:"def-is-coroutine-callable-call-callable-any-bool",link:"#def-is-coroutine-callable-call-callable-any-bool",children:[]},{level:3,title:"def run_coroutine() -> None",slug:"def-run-coroutine-none",link:"#def-run-coroutine-none",children:[]},{level:3,title:"def path_to_module_name(path: Path) -> str",slug:"def-path-to-module-name-path-path-str",link:"#def-path-to-module-name-path-path-str",children:[]},{level:3,title:"def async_wrapper(func: Callable[..., Any]) -> Callable[..., Coroutine]",slug:"def-async-wrapper-func-callable-any-callable-coroutine",link:"#def-async-wrapper-func-callable-any-callable-coroutine",children:[]},{level:3,title:"async def wrapper() -> None",slug:"async-def-wrapper-none",link:"#async-def-wrapper-none",children:[]}],path:"/dev/api/utils.html",pathLocale:"/",extraFields:[]},{title:"Deploy",headers:[],path:"/en/deploy/",pathLocale:"/en/",extraFields:[]},{title:"Configuration",headers:[{level:2,title:"基础配置项",slug:"基础配置项",link:"#基础配置项",children:[]},{level:2,title:"其他配置",slug:"其他配置",link:"#其他配置",children:[]},{level:2,title:"与NoneBot对接的OneBot实现端配置",slug:"与nonebot对接的onebot实现端配置",link:"#与nonebot对接的onebot实现端配置",children:[]},{level:2,title:"其他",slug:"其他",link:"#其他",children:[]}],path:"/en/deploy/config.html",pathLocale:"/en/",extraFields:[]},{title:"FAQ",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:"/en/deploy/fandq.html",pathLocale:"/en/",extraFields:[]},{title:"Installation",headers:[{level:2,title:"Installation",slug:"installation",link:"#installation",children:[{level:3,title:"Conventional deployment",slug:"conventional-deployment",link:"#conventional-deployment",children:[]},{level:3,title:"Use docker",slug:"use-docker",link:"#use-docker",children:[]},{level:3,title:"Use TRSS Scripts",slug:"use-trss-scripts",link:"#use-trss-scripts",children:[]}]},{level:2,title:"Device requirements",slug:"device-requirements",link:"#device-requirements",children:[]}],path:"/en/deploy/install.html",pathLocale:"/en/",extraFields:[]},{title:"Contribute",headers:[],path:"/en/dev/",pathLocale:"/en/",extraFields:[]},{title:"Communication",headers:[{level:2,title:"通道通信",slug:"通道通信",link:"#通道通信",children:[{level:3,title:"简介",slug:"简介",link:"#简介",children:[]},{level:3,title:"示例",slug:"示例",link:"#示例",children:[]}]},{level:2,title:"共享内存通信",slug:"共享内存通信",link:"#共享内存通信",children:[{level:3,title:"简介",slug:"简介-1",link:"#简介-1",children:[]},{level:3,title:"示例",slug:"示例-1",link:"#示例-1",children:[]}]}],path:"/en/dev/dev_comm.html",pathLocale:"/en/",extraFields:[]},{title:"Liteyuki Function",headers:[{level:2,title:"轻雪函数",slug:"轻雪函数",link:"#轻雪函数",children:[{level:3,title:"函数文件",slug:"函数文件",link:"#函数文件",children:[]},{level:3,title:"命令文档",slug:"命令文档",link:"#命令文档",children:[]},{level:3,title:"API",slug:"api",link:"#api",children:[]},{level:3,title:"结束关键字",slug:"结束关键字",link:"#结束关键字",children:[]}]}],path:"/en/dev/dev_lyfunc.html",pathLocale:"/en/",extraFields:[]},{title:"Liteyuki Plugin",headers:[{level:2,title:"简介",slug:"简介",link:"#简介",children:[]},{level:2,title:"开始",slug:"开始",link:"#开始",children:[{level:3,title:"创建插件",slug:"创建插件",link:"#创建插件",children:[]},{level:3,title:"编写逻辑部分",slug:"编写逻辑部分",link:"#编写逻辑部分",children:[]},{level:3,title:"加载插件",slug:"加载插件",link:"#加载插件",children:[]}]}],path:"/en/dev/dev_lyplugin.html",pathLocale:"/en/",extraFields:[]},{title:"Resource Pack",headers:[{level:2,title:"简介",slug:"简介",link:"#简介",children:[]},{level:2,title:"加载资源包",slug:"加载资源包",link:"#加载资源包",children:[]}],path:"/en/dev/dev_resource_pack.html",pathLocale:"/en/",extraFields:[]},{title:"Extensions Store",headers:[],path:"/en/store/",pathLocale:"/en/",extraFields:[]},{title:"Plugin Store",headers:[],path:"/en/store/plugin.html",pathLocale:"/en/",extraFields:[]},{title:"Resource Store",headers:[],path:"/en/store/resource.html",pathLocale:"/en/",extraFields:[]},{title:"Usage",headers:[],path:"/en/usage/",pathLocale:"/en/",extraFields:[]},{title:"User Agreement",headers:[],path:"/en/usage/agreement.html",pathLocale:"/en/",extraFields:[]},{title:"Basic Commands",headers:[{level:2,title:"轻雪命令liteyuki_command",slug:"轻雪命令liteyuki-command",link:"#轻雪命令liteyuki-command",children:[{level:3,title:"命令别名",slug:"命令别名",link:"#命令别名",children:[]}]},{level:2,title:"插件/包管理器 liteyuki_pacman",slug:"插件-包管理器-liteyuki-pacman",link:"#插件-包管理器-liteyuki-pacman",children:[{level:3,title:"命令别名",slug:"命令别名-1",link:"#命令别名-1",children:[]}]},{level:2,title:"用户管理liteyuki_user",slug:"用户管理liteyuki-user",link:"#用户管理liteyuki-user",children:[]}],path:"/en/usage/basic_command.html",pathLocale:"/en/",extraFields:[]},{title:"Extra Commands",headers:[{level:2,title:"功能插件命令",slug:"功能插件命令",link:"#功能插件命令",children:[{level:3,title:"轻雪天气liteyuki_weather",slug:"轻雪天气liteyuki-weather",link:"#轻雪天气liteyuki-weather",children:[]},{level:3,title:"统计信息liteyuki_statistics",slug:"统计信息liteyuki-statistics",link:"#统计信息liteyuki-statistics",children:[]}]}],path:"/en/usage/extra_command.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.bot",headers:[{level:3,title:"def get_bot() -> LiteyukiBot",slug:"def-get-bot-liteyukibot",link:"#def-get-bot-liteyukibot",children:[]},{level:3,title:"def get_config(key: str, default: Any) -> Any",slug:"def-get-config-key-str-default-any-any",link:"#def-get-config-key-str-default-any-any",children:[]},{level:3,title:"def get_config_with_compat(key: str, compat_keys: tuple[str], default: Any) -> Any",slug:"def-get-config-with-compat-key-str-compat-keys-tuple-str-default-any-any",link:"#def-get-config-with-compat-key-str-compat-keys-tuple-str-default-any-any",children:[]},{level:3,title:"def print_logo() -> None",slug:"def-print-logo-none",link:"#def-print-logo-none",children:[]},{level:3,title:"class LiteyukiBot",slug:"class-liteyukibot",link:"#class-liteyukibot",children:[]},{level:3,title:"def run(self: Any) -> None",slug:"def-run-self-any-none",link:"#def-run-self-any-none",children:[]},{level:3,title:"def keep_alive(self: Any) -> None",slug:"def-keep-alive-self-any-none",link:"#def-keep-alive-self-any-none",children:[]},{level:3,title:"def restart(self: Any, delay: int) -> None",slug:"def-restart-self-any-delay-int-none",link:"#def-restart-self-any-delay-int-none",children:[]},{level:3,title:"def restart_process(self: Any, name: Optional[str]) -> None",slug:"def-restart-process-self-any-name-optional-str-none",link:"#def-restart-process-self-any-name-optional-str-none",children:[]},{level:3,title:"def init(self: Any) -> None",slug:"def-init-self-any-none",link:"#def-init-self-any-none",children:[]},{level:3,title:"def init_logger(self: Any) -> None",slug:"def-init-logger-self-any-none",link:"#def-init-logger-self-any-none",children:[]},{level:3,title:"def stop(self: Any) -> None",slug:"def-stop-self-any-none",link:"#def-stop-self-any-none",children:[]},{level:3,title:"def on_before_start(self: Any, func: LIFESPAN_FUNC) -> None",slug:"def-on-before-start-self-any-func-lifespan-func-none",link:"#def-on-before-start-self-any-func-lifespan-func-none",children:[]},{level:3,title:"def on_after_start(self: Any, func: LIFESPAN_FUNC) -> None",slug:"def-on-after-start-self-any-func-lifespan-func-none",link:"#def-on-after-start-self-any-func-lifespan-func-none",children:[]},{level:3,title:"def on_after_shutdown(self: Any, func: LIFESPAN_FUNC) -> None",slug:"def-on-after-shutdown-self-any-func-lifespan-func-none",link:"#def-on-after-shutdown-self-any-func-lifespan-func-none",children:[]},{level:3,title:"def on_before_process_shutdown(self: Any, func: LIFESPAN_FUNC) -> None",slug:"def-on-before-process-shutdown-self-any-func-lifespan-func-none",link:"#def-on-before-process-shutdown-self-any-func-lifespan-func-none",children:[]},{level:3,title:"def on_before_process_restart(self: Any, func: LIFESPAN_FUNC) -> None",slug:"def-on-before-process-restart-self-any-func-lifespan-func-none",link:"#def-on-before-process-restart-self-any-func-lifespan-func-none",children:[]},{level:3,title:"def on_after_restart(self: Any, func: LIFESPAN_FUNC) -> None",slug:"def-on-after-restart-self-any-func-lifespan-func-none",link:"#def-on-after-restart-self-any-func-lifespan-func-none",children:[]},{level:3,title:"def on_after_nonebot_init(self: Any, func: LIFESPAN_FUNC) -> None",slug:"def-on-after-nonebot-init-self-any-func-lifespan-func-none",link:"#def-on-after-nonebot-init-self-any-func-lifespan-func-none",children:[]}],path:"/dev/api/bot/",pathLocale:"/",extraFields:[]},{title:"liteyuki.bot.lifespan",headers:[{level:3,title:"def run_funcs(funcs: list[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC]) -> None",slug:"def-run-funcs-funcs-list-lifespan-func-process-lifespan-func-none",link:"#def-run-funcs-funcs-list-lifespan-func-process-lifespan-func-none",children:[]},{level:3,title:"class Lifespan",slug:"class-lifespan",link:"#class-lifespan",children:[]},{level:3,title:"@staticmethod",slug:"staticmethod",link:"#staticmethod",children:[]},{level:3,title:"def run_funcs(funcs: list[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC]) -> None",slug:"def-run-funcs-funcs-list-lifespan-func-process-lifespan-func-none-1",link:"#def-run-funcs-funcs-list-lifespan-func-process-lifespan-func-none-1",children:[]},{level:3,title:"def on_before_start(self: Any, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC",slug:"def-on-before-start-self-any-func-lifespan-func-lifespan-func",link:"#def-on-before-start-self-any-func-lifespan-func-lifespan-func",children:[]},{level:3,title:"def on_after_start(self: Any, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC",slug:"def-on-after-start-self-any-func-lifespan-func-lifespan-func",link:"#def-on-after-start-self-any-func-lifespan-func-lifespan-func",children:[]},{level:3,title:"def on_before_process_shutdown(self: Any, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC",slug:"def-on-before-process-shutdown-self-any-func-lifespan-func-lifespan-func",link:"#def-on-before-process-shutdown-self-any-func-lifespan-func-lifespan-func",children:[]},{level:3,title:"def on_after_shutdown(self: Any, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC",slug:"def-on-after-shutdown-self-any-func-lifespan-func-lifespan-func",link:"#def-on-after-shutdown-self-any-func-lifespan-func-lifespan-func",children:[]},{level:3,title:"def on_before_process_restart(self: Any, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC",slug:"def-on-before-process-restart-self-any-func-lifespan-func-lifespan-func",link:"#def-on-before-process-restart-self-any-func-lifespan-func-lifespan-func",children:[]},{level:3,title:"def on_after_restart(self: Any, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC",slug:"def-on-after-restart-self-any-func-lifespan-func-lifespan-func",link:"#def-on-after-restart-self-any-func-lifespan-func-lifespan-func",children:[]},{level:3,title:"def on_after_nonebot_init(self: Any, func: Any) -> None",slug:"def-on-after-nonebot-init-self-any-func-any-none",link:"#def-on-after-nonebot-init-self-any-func-any-none",children:[]},{level:3,title:"def before_start(self: Any) -> None",slug:"def-before-start-self-any-none",link:"#def-before-start-self-any-none",children:[]},{level:3,title:"def after_start(self: Any) -> None",slug:"def-after-start-self-any-none",link:"#def-after-start-self-any-none",children:[]},{level:3,title:"def before_process_shutdown(self: Any) -> None",slug:"def-before-process-shutdown-self-any-none",link:"#def-before-process-shutdown-self-any-none",children:[]},{level:3,title:"def after_shutdown(self: Any) -> None",slug:"def-after-shutdown-self-any-none",link:"#def-after-shutdown-self-any-none",children:[]},{level:3,title:"def before_process_restart(self: Any) -> None",slug:"def-before-process-restart-self-any-none",link:"#def-before-process-restart-self-any-none",children:[]},{level:3,title:"def after_restart(self: Any) -> None",slug:"def-after-restart-self-any-none",link:"#def-after-restart-self-any-none",children:[]}],path:"/dev/api/bot/lifespan.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.comm",headers:[],path:"/dev/api/comm/",pathLocale:"/",extraFields:[]},{title:"liteyuki.comm.channel",headers:[{level:3,title:"def set_channel(name: str, channel: Channel) -> None",slug:"def-set-channel-name-str-channel-channel-none",link:"#def-set-channel-name-str-channel-channel-none",children:[]},{level:3,title:"def set_channels(channels: dict[str, Channel]) -> None",slug:"def-set-channels-channels-dict-str-channel-none",link:"#def-set-channels-channels-dict-str-channel-none",children:[]},{level:3,title:"def get_channel(name: str) -> Channel",slug:"def-get-channel-name-str-channel",link:"#def-get-channel-name-str-channel",children:[]},{level:3,title:"def get_channels() -> dict[str, Channel]",slug:"def-get-channels-dict-str-channel",link:"#def-get-channels-dict-str-channel",children:[]},{level:3,title:"def on_set_channel(data: tuple[str, dict[str, Any]]) -> None",slug:"def-on-set-channel-data-tuple-str-dict-str-any-none",link:"#def-on-set-channel-data-tuple-str-dict-str-any-none",children:[]},{level:3,title:"def on_get_channel(data: tuple[str, dict[str, Any]]) -> None",slug:"def-on-get-channel-data-tuple-str-dict-str-any-none",link:"#def-on-get-channel-data-tuple-str-dict-str-any-none",children:[]},{level:3,title:"def on_get_channels(data: tuple[str, dict[str, Any]]) -> None",slug:"def-on-get-channels-data-tuple-str-dict-str-any-none",link:"#def-on-get-channels-data-tuple-str-dict-str-any-none",children:[]},{level:3,title:"def decorator(func: Callable[[T], Any]) -> Callable[[T], Any]",slug:"def-decorator-func-callable-t-any-callable-t-any",link:"#def-decorator-func-callable-t-any-callable-t-any",children:[]},{level:3,title:"async def wrapper(data: T) -> Any",slug:"async-def-wrapper-data-t-any",link:"#async-def-wrapper-data-t-any",children:[]},{level:3,title:"class Channel(Generic[T])",slug:"class-channel-generic-t",link:"#class-channel-generic-t",children:[]},{level:3,title:"def send(self: Any, data: T) -> None",slug:"def-send-self-any-data-t-none",link:"#def-send-self-any-data-t-none",children:[]},{level:3,title:"def receive(self: Any) -> T",slug:"def-receive-self-any-t",link:"#def-receive-self-any-t",children:[]},{level:3,title:"def close(self: Any) -> None",slug:"def-close-self-any-none",link:"#def-close-self-any-none",children:[]},{level:3,title:"def on_receive(self: Any, filter_func: Optional[FILTER_FUNC]) -> Callable[[Callable[[T], Any]], Callable[[T], Any]]",slug:"def-on-receive-self-any-filter-func-optional-filter-func-callable-callable-t-any-callable-t-any",link:"#def-on-receive-self-any-filter-func-optional-filter-func-callable-callable-t-any-callable-t-any",children:[]}],path:"/dev/api/comm/channel.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.comm.event",headers:[{level:3,title:"class Event",slug:"class-event",link:"#class-event",children:[]}],path:"/dev/api/comm/event.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.comm.storage",headers:[{level:3,title:"def on_get(data: tuple[str, dict[str, Any]]) -> None",slug:"def-on-get-data-tuple-str-dict-str-any-none",link:"#def-on-get-data-tuple-str-dict-str-any-none",children:[]},{level:3,title:"def on_set(data: tuple[str, dict[str, Any]]) -> None",slug:"def-on-set-data-tuple-str-dict-str-any-none",link:"#def-on-set-data-tuple-str-dict-str-any-none",children:[]},{level:3,title:"def on_delete(data: tuple[str, dict[str, Any]]) -> None",slug:"def-on-delete-data-tuple-str-dict-str-any-none",link:"#def-on-delete-data-tuple-str-dict-str-any-none",children:[]},{level:3,title:"def on_get_all(data: tuple[str, dict[str, Any]]) -> None",slug:"def-on-get-all-data-tuple-str-dict-str-any-none",link:"#def-on-get-all-data-tuple-str-dict-str-any-none",children:[]},{level:3,title:"class KeyValueStore",slug:"class-keyvaluestore",link:"#class-keyvaluestore",children:[]},{level:3,title:"def set(self: Any, key: str, value: Any) -> None",slug:"def-set-self-any-key-str-value-any-none",link:"#def-set-self-any-key-str-value-any-none",children:[]},{level:3,title:"def get(self: Any, key: str, default: Optional[Any]) -> Optional[Any]",slug:"def-get-self-any-key-str-default-optional-any-optional-any",link:"#def-get-self-any-key-str-default-optional-any-optional-any",children:[]},{level:3,title:"def delete(self: Any, key: str, ignore_key_error: bool) -> None",slug:"def-delete-self-any-key-str-ignore-key-error-bool-none",link:"#def-delete-self-any-key-str-ignore-key-error-bool-none",children:[]},{level:3,title:"def get_all(self: Any) -> dict[str, Any]",slug:"def-get-all-self-any-dict-str-any",link:"#def-get-all-self-any-dict-str-any",children:[]},{level:3,title:"class GlobalKeyValueStore",slug:"class-globalkeyvaluestore",link:"#class-globalkeyvaluestore",children:[]},{level:3,title:"@classmethod",slug:"classmethod",link:"#classmethod",children:[]},{level:3,title:"def get_instance(cls: Any) -> None",slug:"def-get-instance-cls-any-none",link:"#def-get-instance-cls-any-none",children:[]},{level:3,title:"attr _instance: None",slug:"attr-instance-none",link:"#attr-instance-none",children:[]},{level:3,title:"attr _lock: threading.Lock()",slug:"attr-lock-threading-lock",link:"#attr-lock-threading-lock",children:[]}],path:"/dev/api/comm/storage.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.core",headers:[],path:"/dev/api/core/",pathLocale:"/",extraFields:[]},{title:"liteyuki.core.manager",headers:[{level:3,title:"class ChannelDeliver",slug:"class-channeldeliver",link:"#class-channeldeliver",children:[]},{level:3,title:"class ProcessManager",slug:"class-processmanager",link:"#class-processmanager",children:[]},{level:3,title:"def start(self: Any, name: str) -> None",slug:"def-start-self-any-name-str-none",link:"#def-start-self-any-name-str-none",children:[]},{level:3,title:"def start_all(self: Any) -> None",slug:"def-start-all-self-any-none",link:"#def-start-all-self-any-none",children:[]},{level:3,title:"def add_target(self: Any, name: str, target: TARGET_FUNC, args: tuple, kwargs: Any) -> None",slug:"def-add-target-self-any-name-str-target-target-func-args-tuple-kwargs-any-none",link:"#def-add-target-self-any-name-str-target-target-func-args-tuple-kwargs-any-none",children:[]},{level:3,title:"def join_all(self: Any) -> None",slug:"def-join-all-self-any-none",link:"#def-join-all-self-any-none",children:[]},{level:3,title:"def terminate(self: Any, name: str) -> None",slug:"def-terminate-self-any-name-str-none",link:"#def-terminate-self-any-name-str-none",children:[]},{level:3,title:"def terminate_all(self: Any) -> None",slug:"def-terminate-all-self-any-none",link:"#def-terminate-all-self-any-none",children:[]},{level:3,title:"def is_process_alive(self: Any, name: str) -> bool",slug:"def-is-process-alive-self-any-name-str-bool",link:"#def-is-process-alive-self-any-name-str-bool",children:[]}],path:"/dev/api/core/manager.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.dev",headers:[],path:"/dev/api/dev/",pathLocale:"/",extraFields:[]},{title:"liteyuki.dev.observer",headers:[{level:3,title:"def debounce(wait: Any) -> None",slug:"def-debounce-wait-any-none",link:"#def-debounce-wait-any-none",children:[]},{level:3,title:"def on_file_system_event(directories: tuple[str], recursive: bool, event_filter: FILTER_FUNC) -> Callable[[CALLBACK_FUNC], CALLBACK_FUNC]",slug:"def-on-file-system-event-directories-tuple-str-recursive-bool-event-filter-filter-func-callable-callback-func-callback-func",link:"#def-on-file-system-event-directories-tuple-str-recursive-bool-event-filter-filter-func-callable-callback-func-callback-func",children:[]},{level:3,title:"def decorator(func: Any) -> None",slug:"def-decorator-func-any-none",link:"#def-decorator-func-any-none",children:[]},{level:3,title:"def decorator(func: CALLBACK_FUNC) -> CALLBACK_FUNC",slug:"def-decorator-func-callback-func-callback-func",link:"#def-decorator-func-callback-func-callback-func",children:[]},{level:3,title:"def wrapper() -> None",slug:"def-wrapper-none",link:"#def-wrapper-none",children:[]},{level:3,title:"def wrapper(event: FileSystemEvent) -> None",slug:"def-wrapper-event-filesystemevent-none",link:"#def-wrapper-event-filesystemevent-none",children:[]},{level:3,title:"class CodeModifiedHandler(FileSystemEventHandler)",slug:"class-codemodifiedhandler-filesystemeventhandler",link:"#class-codemodifiedhandler-filesystemeventhandler",children:[]},{level:3,title:"def on_modified(self: Any, event: Any) -> None",slug:"def-on-modified-self-any-event-any-none",link:"#def-on-modified-self-any-event-any-none",children:[]},{level:3,title:"def on_created(self: Any, event: Any) -> None",slug:"def-on-created-self-any-event-any-none",link:"#def-on-created-self-any-event-any-none",children:[]},{level:3,title:"def on_deleted(self: Any, event: Any) -> None",slug:"def-on-deleted-self-any-event-any-none",link:"#def-on-deleted-self-any-event-any-none",children:[]},{level:3,title:"def on_moved(self: Any, event: Any) -> None",slug:"def-on-moved-self-any-event-any-none",link:"#def-on-moved-self-any-event-any-none",children:[]},{level:3,title:"def on_any_event(self: Any, event: Any) -> None",slug:"def-on-any-event-self-any-event-any-none",link:"#def-on-any-event-self-any-event-any-none",children:[]}],path:"/dev/api/dev/observer.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.dev.plugin",headers:[{level:3,title:"def run_plugins() -> None",slug:"def-run-plugins-none",link:"#def-run-plugins-none",children:[]}],path:"/dev/api/dev/plugin.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.plugin",headers:[{level:3,title:"def get_loaded_plugins() -> dict[str, Plugin]",slug:"def-get-loaded-plugins-dict-str-plugin",link:"#def-get-loaded-plugins-dict-str-plugin",children:[]}],path:"/dev/api/plugin/",pathLocale:"/",extraFields:[]},{title:"liteyuki.plugin.load",headers:[{level:3,title:"def load_plugin(module_path: str | Path) -> Optional[Plugin]",slug:"def-load-plugin-module-path-str-path-optional-plugin",link:"#def-load-plugin-module-path-str-path-optional-plugin",children:[]},{level:3,title:"def load_plugins() -> set[Plugin]",slug:"def-load-plugins-set-plugin",link:"#def-load-plugins-set-plugin",children:[]},{level:3,title:"def format_display_name(display_name: str, plugin_type: PluginType) -> str",slug:"def-format-display-name-display-name-str-plugin-type-plugintype-str",link:"#def-format-display-name-display-name-str-plugin-type-plugintype-str",children:[]}],path:"/dev/api/plugin/load.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.plugin.manager",headers:[],path:"/dev/api/plugin/manager.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.plugin.model",headers:[{level:3,title:"class PluginType(Enum)",slug:"class-plugintype-enum",link:"#class-plugintype-enum",children:[]},{level:3,title:"attr APPLICATION: 'application'",slug:"attr-application-application",link:"#attr-application-application",children:[]},{level:3,title:"attr SERVICE: 'service'",slug:"attr-service-service",link:"#attr-service-service",children:[]},{level:3,title:"attr IMPLEMENTATION: 'implementation'",slug:"attr-implementation-implementation",link:"#attr-implementation-implementation",children:[]},{level:3,title:"attr MODULE: 'module'",slug:"attr-module-module",link:"#attr-module-module",children:[]},{level:3,title:"attr UNCLASSIFIED: 'unclassified'",slug:"attr-unclassified-unclassified",link:"#attr-unclassified-unclassified",children:[]},{level:3,title:"class PluginMetadata(BaseModel)",slug:"class-pluginmetadata-basemodel",link:"#class-pluginmetadata-basemodel",children:[]},{level:3,title:"class Plugin(BaseModel)",slug:"class-plugin-basemodel",link:"#class-plugin-basemodel",children:[]},{level:3,title:"attr model_config: {'arbitrary_types_allowed': True}",slug:"attr-model-config-arbitrary-types-allowed-true",link:"#attr-model-config-arbitrary-types-allowed-true",children:[]}],path:"/dev/api/plugin/model.html",pathLocale:"/",extraFields:[]},{title:"liteyuki",headers:[],path:"/en/dev/api/liteyuki/",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.config",headers:[{level:3,title:"def flat_config(config: dict[str, Any]) -> dict[str, Any]",slug:"def-flat-config-config-dict-str-any-dict-str-any",link:"#def-flat-config-config-dict-str-any-dict-str-any",children:[]},{level:3,title:"def load_from_yaml(file: str) -> dict[str, Any]",slug:"def-load-from-yaml-file-str-dict-str-any",link:"#def-load-from-yaml-file-str-dict-str-any",children:[]},{level:3,title:"def load_from_json(file: str) -> dict[str, Any]",slug:"def-load-from-json-file-str-dict-str-any",link:"#def-load-from-json-file-str-dict-str-any",children:[]},{level:3,title:"def load_from_toml(file: str) -> dict[str, Any]",slug:"def-load-from-toml-file-str-dict-str-any",link:"#def-load-from-toml-file-str-dict-str-any",children:[]},{level:3,title:"def load_from_files() -> dict[str, Any]",slug:"def-load-from-files-dict-str-any",link:"#def-load-from-files-dict-str-any",children:[]},{level:3,title:"def load_configs_from_dirs() -> dict[str, Any]",slug:"def-load-configs-from-dirs-dict-str-any",link:"#def-load-configs-from-dirs-dict-str-any",children:[]},{level:3,title:"def load_config_in_default(no_waring: bool) -> dict[str, Any]",slug:"def-load-config-in-default-no-waring-bool-dict-str-any",link:"#def-load-config-in-default-no-waring-bool-dict-str-any",children:[]},{level:3,title:"class SatoriNodeConfig(BaseModel)",slug:"class-satorinodeconfig-basemodel",link:"#class-satorinodeconfig-basemodel",children:[]},{level:3,title:"class SatoriConfig(BaseModel)",slug:"class-satoriconfig-basemodel",link:"#class-satoriconfig-basemodel",children:[]},{level:3,title:"class BasicConfig(BaseModel)",slug:"class-basicconfig-basemodel",link:"#class-basicconfig-basemodel",children:[]}],path:"/en/dev/api/liteyuki/config.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.exception",headers:[{level:3,title:"class LiteyukiException(BaseException)",slug:"class-liteyukiexception-baseexception",link:"#class-liteyukiexception-baseexception",children:[]}],path:"/en/dev/api/liteyuki/exception.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.log",headers:[{level:3,title:"def get_format(level: str) -> str",slug:"def-get-format-level-str-str",link:"#def-get-format-level-str-str",children:[]},{level:3,title:"def init_log(config: dict) -> None",slug:"def-init-log-config-dict-none",link:"#def-init-log-config-dict-none",children:[]}],path:"/en/dev/api/liteyuki/log.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.utils",headers:[{level:3,title:"def is_coroutine_callable(call: Callable[..., Any]) -> bool",slug:"def-is-coroutine-callable-call-callable-any-bool",link:"#def-is-coroutine-callable-call-callable-any-bool",children:[]},{level:3,title:"def run_coroutine() -> None",slug:"def-run-coroutine-none",link:"#def-run-coroutine-none",children:[]},{level:3,title:"def path_to_module_name(path: Path) -> str",slug:"def-path-to-module-name-path-path-str",link:"#def-path-to-module-name-path-path-str",children:[]},{level:3,title:"def async_wrapper(func: Callable[..., Any]) -> Callable[..., Coroutine]",slug:"def-async-wrapper-func-callable-any-callable-coroutine",link:"#def-async-wrapper-func-callable-any-callable-coroutine",children:[]},{level:3,title:"async def wrapper() -> None",slug:"async-def-wrapper-none",link:"#async-def-wrapper-none",children:[]}],path:"/en/dev/api/liteyuki/utils.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.bot",headers:[{level:3,title:"def get_bot() -> LiteyukiBot",slug:"def-get-bot-liteyukibot",link:"#def-get-bot-liteyukibot",children:[]},{level:3,title:"def get_config(key: str, default: Any) -> Any",slug:"def-get-config-key-str-default-any-any",link:"#def-get-config-key-str-default-any-any",children:[]},{level:3,title:"def get_config_with_compat(key: str, compat_keys: tuple[str], default: Any) -> Any",slug:"def-get-config-with-compat-key-str-compat-keys-tuple-str-default-any-any",link:"#def-get-config-with-compat-key-str-compat-keys-tuple-str-default-any-any",children:[]},{level:3,title:"def print_logo() -> None",slug:"def-print-logo-none",link:"#def-print-logo-none",children:[]},{level:3,title:"class LiteyukiBot",slug:"class-liteyukibot",link:"#class-liteyukibot",children:[]},{level:3,title:"def run(self: Any) -> None",slug:"def-run-self-any-none",link:"#def-run-self-any-none",children:[]},{level:3,title:"def keep_alive(self: Any) -> None",slug:"def-keep-alive-self-any-none",link:"#def-keep-alive-self-any-none",children:[]},{level:3,title:"def restart(self: Any, delay: int) -> None",slug:"def-restart-self-any-delay-int-none",link:"#def-restart-self-any-delay-int-none",children:[]},{level:3,title:"def restart_process(self: Any, name: Optional[str]) -> None",slug:"def-restart-process-self-any-name-optional-str-none",link:"#def-restart-process-self-any-name-optional-str-none",children:[]},{level:3,title:"def init(self: Any) -> None",slug:"def-init-self-any-none",link:"#def-init-self-any-none",children:[]},{level:3,title:"def init_logger(self: Any) -> None",slug:"def-init-logger-self-any-none",link:"#def-init-logger-self-any-none",children:[]},{level:3,title:"def stop(self: Any) -> None",slug:"def-stop-self-any-none",link:"#def-stop-self-any-none",children:[]},{level:3,title:"def on_before_start(self: Any, func: LIFESPAN_FUNC) -> None",slug:"def-on-before-start-self-any-func-lifespan-func-none",link:"#def-on-before-start-self-any-func-lifespan-func-none",children:[]},{level:3,title:"def on_after_start(self: Any, func: LIFESPAN_FUNC) -> None",slug:"def-on-after-start-self-any-func-lifespan-func-none",link:"#def-on-after-start-self-any-func-lifespan-func-none",children:[]},{level:3,title:"def on_after_shutdown(self: Any, func: LIFESPAN_FUNC) -> None",slug:"def-on-after-shutdown-self-any-func-lifespan-func-none",link:"#def-on-after-shutdown-self-any-func-lifespan-func-none",children:[]},{level:3,title:"def on_before_process_shutdown(self: Any, func: LIFESPAN_FUNC) -> None",slug:"def-on-before-process-shutdown-self-any-func-lifespan-func-none",link:"#def-on-before-process-shutdown-self-any-func-lifespan-func-none",children:[]},{level:3,title:"def on_before_process_restart(self: Any, func: LIFESPAN_FUNC) -> None",slug:"def-on-before-process-restart-self-any-func-lifespan-func-none",link:"#def-on-before-process-restart-self-any-func-lifespan-func-none",children:[]},{level:3,title:"def on_after_restart(self: Any, func: LIFESPAN_FUNC) -> None",slug:"def-on-after-restart-self-any-func-lifespan-func-none",link:"#def-on-after-restart-self-any-func-lifespan-func-none",children:[]},{level:3,title:"def on_after_nonebot_init(self: Any, func: LIFESPAN_FUNC) -> None",slug:"def-on-after-nonebot-init-self-any-func-lifespan-func-none",link:"#def-on-after-nonebot-init-self-any-func-lifespan-func-none",children:[]}],path:"/en/dev/api/liteyuki/bot/",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.bot.lifespan",headers:[{level:3,title:"def run_funcs(funcs: list[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC]) -> None",slug:"def-run-funcs-funcs-list-lifespan-func-process-lifespan-func-none",link:"#def-run-funcs-funcs-list-lifespan-func-process-lifespan-func-none",children:[]},{level:3,title:"class Lifespan",slug:"class-lifespan",link:"#class-lifespan",children:[]},{level:3,title:"@staticmethod",slug:"staticmethod",link:"#staticmethod",children:[]},{level:3,title:"def run_funcs(funcs: list[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC]) -> None",slug:"def-run-funcs-funcs-list-lifespan-func-process-lifespan-func-none-1",link:"#def-run-funcs-funcs-list-lifespan-func-process-lifespan-func-none-1",children:[]},{level:3,title:"def on_before_start(self: Any, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC",slug:"def-on-before-start-self-any-func-lifespan-func-lifespan-func",link:"#def-on-before-start-self-any-func-lifespan-func-lifespan-func",children:[]},{level:3,title:"def on_after_start(self: Any, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC",slug:"def-on-after-start-self-any-func-lifespan-func-lifespan-func",link:"#def-on-after-start-self-any-func-lifespan-func-lifespan-func",children:[]},{level:3,title:"def on_before_process_shutdown(self: Any, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC",slug:"def-on-before-process-shutdown-self-any-func-lifespan-func-lifespan-func",link:"#def-on-before-process-shutdown-self-any-func-lifespan-func-lifespan-func",children:[]},{level:3,title:"def on_after_shutdown(self: Any, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC",slug:"def-on-after-shutdown-self-any-func-lifespan-func-lifespan-func",link:"#def-on-after-shutdown-self-any-func-lifespan-func-lifespan-func",children:[]},{level:3,title:"def on_before_process_restart(self: Any, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC",slug:"def-on-before-process-restart-self-any-func-lifespan-func-lifespan-func",link:"#def-on-before-process-restart-self-any-func-lifespan-func-lifespan-func",children:[]},{level:3,title:"def on_after_restart(self: Any, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC",slug:"def-on-after-restart-self-any-func-lifespan-func-lifespan-func",link:"#def-on-after-restart-self-any-func-lifespan-func-lifespan-func",children:[]},{level:3,title:"def on_after_nonebot_init(self: Any, func: Any) -> None",slug:"def-on-after-nonebot-init-self-any-func-any-none",link:"#def-on-after-nonebot-init-self-any-func-any-none",children:[]},{level:3,title:"def before_start(self: Any) -> None",slug:"def-before-start-self-any-none",link:"#def-before-start-self-any-none",children:[]},{level:3,title:"def after_start(self: Any) -> None",slug:"def-after-start-self-any-none",link:"#def-after-start-self-any-none",children:[]},{level:3,title:"def before_process_shutdown(self: Any) -> None",slug:"def-before-process-shutdown-self-any-none",link:"#def-before-process-shutdown-self-any-none",children:[]},{level:3,title:"def after_shutdown(self: Any) -> None",slug:"def-after-shutdown-self-any-none",link:"#def-after-shutdown-self-any-none",children:[]},{level:3,title:"def before_process_restart(self: Any) -> None",slug:"def-before-process-restart-self-any-none",link:"#def-before-process-restart-self-any-none",children:[]},{level:3,title:"def after_restart(self: Any) -> None",slug:"def-after-restart-self-any-none",link:"#def-after-restart-self-any-none",children:[]}],path:"/en/dev/api/liteyuki/bot/lifespan.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.comm",headers:[],path:"/en/dev/api/liteyuki/comm/",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.comm.channel",headers:[{level:3,title:"def set_channel(name: str, channel: Channel) -> None",slug:"def-set-channel-name-str-channel-channel-none",link:"#def-set-channel-name-str-channel-channel-none",children:[]},{level:3,title:"def set_channels(channels: dict[str, Channel]) -> None",slug:"def-set-channels-channels-dict-str-channel-none",link:"#def-set-channels-channels-dict-str-channel-none",children:[]},{level:3,title:"def get_channel(name: str) -> Channel",slug:"def-get-channel-name-str-channel",link:"#def-get-channel-name-str-channel",children:[]},{level:3,title:"def get_channels() -> dict[str, Channel]",slug:"def-get-channels-dict-str-channel",link:"#def-get-channels-dict-str-channel",children:[]},{level:3,title:"def on_set_channel(data: tuple[str, dict[str, Any]]) -> None",slug:"def-on-set-channel-data-tuple-str-dict-str-any-none",link:"#def-on-set-channel-data-tuple-str-dict-str-any-none",children:[]},{level:3,title:"def on_get_channel(data: tuple[str, dict[str, Any]]) -> None",slug:"def-on-get-channel-data-tuple-str-dict-str-any-none",link:"#def-on-get-channel-data-tuple-str-dict-str-any-none",children:[]},{level:3,title:"def on_get_channels(data: tuple[str, dict[str, Any]]) -> None",slug:"def-on-get-channels-data-tuple-str-dict-str-any-none",link:"#def-on-get-channels-data-tuple-str-dict-str-any-none",children:[]},{level:3,title:"def decorator(func: Callable[[T], Any]) -> Callable[[T], Any]",slug:"def-decorator-func-callable-t-any-callable-t-any",link:"#def-decorator-func-callable-t-any-callable-t-any",children:[]},{level:3,title:"async def wrapper(data: T) -> Any",slug:"async-def-wrapper-data-t-any",link:"#async-def-wrapper-data-t-any",children:[]},{level:3,title:"class Channel(Generic[T])",slug:"class-channel-generic-t",link:"#class-channel-generic-t",children:[]},{level:3,title:"def send(self: Any, data: T) -> None",slug:"def-send-self-any-data-t-none",link:"#def-send-self-any-data-t-none",children:[]},{level:3,title:"def receive(self: Any) -> T",slug:"def-receive-self-any-t",link:"#def-receive-self-any-t",children:[]},{level:3,title:"def close(self: Any) -> None",slug:"def-close-self-any-none",link:"#def-close-self-any-none",children:[]},{level:3,title:"def on_receive(self: Any, filter_func: Optional[FILTER_FUNC]) -> Callable[[Callable[[T], Any]], Callable[[T], Any]]",slug:"def-on-receive-self-any-filter-func-optional-filter-func-callable-callable-t-any-callable-t-any",link:"#def-on-receive-self-any-filter-func-optional-filter-func-callable-callable-t-any-callable-t-any",children:[]}],path:"/en/dev/api/liteyuki/comm/channel.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.comm.event",headers:[{level:3,title:"class Event",slug:"class-event",link:"#class-event",children:[]}],path:"/en/dev/api/liteyuki/comm/event.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.comm.storage",headers:[{level:3,title:"def on_get(data: tuple[str, dict[str, Any]]) -> None",slug:"def-on-get-data-tuple-str-dict-str-any-none",link:"#def-on-get-data-tuple-str-dict-str-any-none",children:[]},{level:3,title:"def on_set(data: tuple[str, dict[str, Any]]) -> None",slug:"def-on-set-data-tuple-str-dict-str-any-none",link:"#def-on-set-data-tuple-str-dict-str-any-none",children:[]},{level:3,title:"def on_delete(data: tuple[str, dict[str, Any]]) -> None",slug:"def-on-delete-data-tuple-str-dict-str-any-none",link:"#def-on-delete-data-tuple-str-dict-str-any-none",children:[]},{level:3,title:"def on_get_all(data: tuple[str, dict[str, Any]]) -> None",slug:"def-on-get-all-data-tuple-str-dict-str-any-none",link:"#def-on-get-all-data-tuple-str-dict-str-any-none",children:[]},{level:3,title:"class KeyValueStore",slug:"class-keyvaluestore",link:"#class-keyvaluestore",children:[]},{level:3,title:"def set(self: Any, key: str, value: Any) -> None",slug:"def-set-self-any-key-str-value-any-none",link:"#def-set-self-any-key-str-value-any-none",children:[]},{level:3,title:"def get(self: Any, key: str, default: Optional[Any]) -> Optional[Any]",slug:"def-get-self-any-key-str-default-optional-any-optional-any",link:"#def-get-self-any-key-str-default-optional-any-optional-any",children:[]},{level:3,title:"def delete(self: Any, key: str, ignore_key_error: bool) -> None",slug:"def-delete-self-any-key-str-ignore-key-error-bool-none",link:"#def-delete-self-any-key-str-ignore-key-error-bool-none",children:[]},{level:3,title:"def get_all(self: Any) -> dict[str, Any]",slug:"def-get-all-self-any-dict-str-any",link:"#def-get-all-self-any-dict-str-any",children:[]},{level:3,title:"class GlobalKeyValueStore",slug:"class-globalkeyvaluestore",link:"#class-globalkeyvaluestore",children:[]},{level:3,title:"@classmethod",slug:"classmethod",link:"#classmethod",children:[]},{level:3,title:"def get_instance(cls: Any) -> None",slug:"def-get-instance-cls-any-none",link:"#def-get-instance-cls-any-none",children:[]},{level:3,title:"attr _instance: None",slug:"attr-instance-none",link:"#attr-instance-none",children:[]},{level:3,title:"attr _lock: threading.Lock()",slug:"attr-lock-threading-lock",link:"#attr-lock-threading-lock",children:[]}],path:"/en/dev/api/liteyuki/comm/storage.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.core",headers:[],path:"/en/dev/api/liteyuki/core/",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.core.manager",headers:[{level:3,title:"class ChannelDeliver",slug:"class-channeldeliver",link:"#class-channeldeliver",children:[]},{level:3,title:"class ProcessManager",slug:"class-processmanager",link:"#class-processmanager",children:[]},{level:3,title:"def start(self: Any, name: str) -> None",slug:"def-start-self-any-name-str-none",link:"#def-start-self-any-name-str-none",children:[]},{level:3,title:"def start_all(self: Any) -> None",slug:"def-start-all-self-any-none",link:"#def-start-all-self-any-none",children:[]},{level:3,title:"def add_target(self: Any, name: str, target: TARGET_FUNC, args: tuple, kwargs: Any) -> None",slug:"def-add-target-self-any-name-str-target-target-func-args-tuple-kwargs-any-none",link:"#def-add-target-self-any-name-str-target-target-func-args-tuple-kwargs-any-none",children:[]},{level:3,title:"def join_all(self: Any) -> None",slug:"def-join-all-self-any-none",link:"#def-join-all-self-any-none",children:[]},{level:3,title:"def terminate(self: Any, name: str) -> None",slug:"def-terminate-self-any-name-str-none",link:"#def-terminate-self-any-name-str-none",children:[]},{level:3,title:"def terminate_all(self: Any) -> None",slug:"def-terminate-all-self-any-none",link:"#def-terminate-all-self-any-none",children:[]},{level:3,title:"def is_process_alive(self: Any, name: str) -> bool",slug:"def-is-process-alive-self-any-name-str-bool",link:"#def-is-process-alive-self-any-name-str-bool",children:[]}],path:"/en/dev/api/liteyuki/core/manager.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.dev",headers:[],path:"/en/dev/api/liteyuki/dev/",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.dev.observer",headers:[{level:3,title:"def debounce(wait: Any) -> None",slug:"def-debounce-wait-any-none",link:"#def-debounce-wait-any-none",children:[]},{level:3,title:"def on_file_system_event(directories: tuple[str], recursive: bool, event_filter: FILTER_FUNC) -> Callable[[CALLBACK_FUNC], CALLBACK_FUNC]",slug:"def-on-file-system-event-directories-tuple-str-recursive-bool-event-filter-filter-func-callable-callback-func-callback-func",link:"#def-on-file-system-event-directories-tuple-str-recursive-bool-event-filter-filter-func-callable-callback-func-callback-func",children:[]},{level:3,title:"def decorator(func: Any) -> None",slug:"def-decorator-func-any-none",link:"#def-decorator-func-any-none",children:[]},{level:3,title:"def decorator(func: CALLBACK_FUNC) -> CALLBACK_FUNC",slug:"def-decorator-func-callback-func-callback-func",link:"#def-decorator-func-callback-func-callback-func",children:[]},{level:3,title:"def wrapper() -> None",slug:"def-wrapper-none",link:"#def-wrapper-none",children:[]},{level:3,title:"def wrapper(event: FileSystemEvent) -> None",slug:"def-wrapper-event-filesystemevent-none",link:"#def-wrapper-event-filesystemevent-none",children:[]},{level:3,title:"class CodeModifiedHandler(FileSystemEventHandler)",slug:"class-codemodifiedhandler-filesystemeventhandler",link:"#class-codemodifiedhandler-filesystemeventhandler",children:[]},{level:3,title:"def on_modified(self: Any, event: Any) -> None",slug:"def-on-modified-self-any-event-any-none",link:"#def-on-modified-self-any-event-any-none",children:[]},{level:3,title:"def on_created(self: Any, event: Any) -> None",slug:"def-on-created-self-any-event-any-none",link:"#def-on-created-self-any-event-any-none",children:[]},{level:3,title:"def on_deleted(self: Any, event: Any) -> None",slug:"def-on-deleted-self-any-event-any-none",link:"#def-on-deleted-self-any-event-any-none",children:[]},{level:3,title:"def on_moved(self: Any, event: Any) -> None",slug:"def-on-moved-self-any-event-any-none",link:"#def-on-moved-self-any-event-any-none",children:[]},{level:3,title:"def on_any_event(self: Any, event: Any) -> None",slug:"def-on-any-event-self-any-event-any-none",link:"#def-on-any-event-self-any-event-any-none",children:[]}],path:"/en/dev/api/liteyuki/dev/observer.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.dev.plugin",headers:[{level:3,title:"def run_plugins() -> None",slug:"def-run-plugins-none",link:"#def-run-plugins-none",children:[]}],path:"/en/dev/api/liteyuki/dev/plugin.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.plugin",headers:[{level:3,title:"def get_loaded_plugins() -> dict[str, Plugin]",slug:"def-get-loaded-plugins-dict-str-plugin",link:"#def-get-loaded-plugins-dict-str-plugin",children:[]}],path:"/en/dev/api/liteyuki/plugin/",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.plugin.load",headers:[{level:3,title:"def load_plugin(module_path: str | Path) -> Optional[Plugin]",slug:"def-load-plugin-module-path-str-path-optional-plugin",link:"#def-load-plugin-module-path-str-path-optional-plugin",children:[]},{level:3,title:"def load_plugins() -> set[Plugin]",slug:"def-load-plugins-set-plugin",link:"#def-load-plugins-set-plugin",children:[]},{level:3,title:"def format_display_name(display_name: str, plugin_type: PluginType) -> str",slug:"def-format-display-name-display-name-str-plugin-type-plugintype-str",link:"#def-format-display-name-display-name-str-plugin-type-plugintype-str",children:[]}],path:"/en/dev/api/liteyuki/plugin/load.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.plugin.manager",headers:[],path:"/en/dev/api/liteyuki/plugin/manager.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.plugin.model",headers:[{level:3,title:"class PluginType(Enum)",slug:"class-plugintype-enum",link:"#class-plugintype-enum",children:[]},{level:3,title:"attr APPLICATION: 'application'",slug:"attr-application-application",link:"#attr-application-application",children:[]},{level:3,title:"attr SERVICE: 'service'",slug:"attr-service-service",link:"#attr-service-service",children:[]},{level:3,title:"attr IMPLEMENTATION: 'implementation'",slug:"attr-implementation-implementation",link:"#attr-implementation-implementation",children:[]},{level:3,title:"attr MODULE: 'module'",slug:"attr-module-module",link:"#attr-module-module",children:[]},{level:3,title:"attr UNCLASSIFIED: 'unclassified'",slug:"attr-unclassified-unclassified",link:"#attr-unclassified-unclassified",children:[]},{level:3,title:"class PluginMetadata(BaseModel)",slug:"class-pluginmetadata-basemodel",link:"#class-pluginmetadata-basemodel",children:[]},{level:3,title:"class Plugin(BaseModel)",slug:"class-plugin-basemodel",link:"#class-plugin-basemodel",children:[]},{level:3,title:"attr model_config: {'arbitrary_types_allowed': True}",slug:"attr-model-config-arbitrary-types-allowed-true",link:"#attr-model-config-arbitrary-types-allowed-true",children:[]}],path:"/en/dev/api/liteyuki/plugin/model.html",pathLocale:"/en/",extraFields:[]},{title:"",headers:[],path:"/404.html",pathLocale:"/",extraFields:[]},{title:"Api",headers:[],path:"/en/dev/api/",pathLocale:"/",extraFields:[]}],e2=J(Zv),t2=()=>e2,n2=({searchIndex:e,routeLocale:t,query:n,maxSuggestions:l})=>{const r=L(()=>e.value.filter(o=>o.pathLocale===t.value));return L(()=>{const o=n.value.trim().toLowerCase();if(!o)return[];const s=[],i=(a,c)=>{Di(o,[c.title])&&s.push({link:`${a.path}#${c.slug}`,title:a.title,header:c.title});for(const u of c.children){if(s.length>=l.value)return;i(a,u)}};for(const a of r.value){if(s.length>=l.value)break;if(Di(o,[a.title,...a.extraFields])){s.push({link:a.path,title:a.title});continue}for(const c of a.headers){if(s.length>=l.value)break;i(a,c)}}return s})},l2=e=>{const t=J(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}}},r2=U({name:"SearchBox",props:{locales:{type:Object,default:()=>({})},hotKeys:{type:Array,default:()=>[]},maxSuggestions:{type:Number,default:5}},setup(e){const{locales:t,hotKeys:n,maxSuggestions:l}=Gf(e),r=yn(),o=Xt(),s=t2(),i=J(null),a=J(!1),c=J(""),u=L(()=>t.value[o.value]??{}),d=n2({searchIndex:s,routeLocale:o,query:c,maxSuggestions:l}),{focusIndex:p,focusNext:h,focusPrev:m}=l2(d);Xv({input:i,hotKeys:n});const _=L(()=>a.value&&!!d.value.length),b=()=>{_.value&&m()},k=()=>{_.value&&h()},A=y=>{if(!_.value)return;const C=d.value[y];C&&r.push(C.link).then(()=>{c.value="",p.value=0})};return()=>f("form",{class:"search-box",role:"search"},[f("input",{ref:i,type:"search",placeholder:u.value.placeholder,autocomplete:"off",spellcheck:!1,value:c.value,onFocus:()=>a.value=!0,onBlur:()=>a.value=!1,onInput:y=>c.value=y.target.value,onKeydown:y=>{switch(y.key){case"ArrowUp":{b();break}case"ArrowDown":{k();break}case"Enter":{y.preventDefault(),A(p.value);break}}}}),_.value&&f("ul",{class:"suggestions",onMouseleave:()=>p.value=-1},d.value.map(({link:y,title:C,header:N},x)=>f("li",{class:["suggestion",{focus:p.value===x}],onMouseenter:()=>p.value=x,onMousedown:()=>A(x)},f("a",{href:y,onClick:I=>I.preventDefault()},[f("span",{class:"page-title"},C),N&&f("span",{class:"page-header"},`> ${N}`)]))))])}});var o2=["s","/"],s2={"/":{placeholder:"搜索"}};const i2=s2,a2=o2,c2=5,u2=et({enhance({app:e}){e.component("SearchBox",t=>f(r2,{locales:i2,hotKeys:a2,maxSuggestions:c2,...t}))}}),yu=()=>{const e=Se();return L(()=>e.value.readingTime??null)},f2=(e,t)=>{const{minutes:n,words:l}=e,{less1Minute:r,word:o,time:s}=t;return{time:n<1?r:s.replace("$time",Math.round(n).toString()),words:o.replace("$word",l.toString())}};var ji={"/en/":{word:"About $word words",less1Minute:"Less than 1 minute",time:"About $time min"},"/":{word:"约 $word 字",less1Minute:"小于 1 分钟",time:"大约 $time 分钟"}};const Bi={words:"",time:""},Ao=typeof ji>"u"?null:ji,d2=()=>Ao?Ol(Ao):L(()=>null),p2=()=>{if(typeof Ao>"u")return L(()=>Bi);const e=yu(),t=d2();return L(()=>e.value&&t.value?f2(e.value,t.value):Bi)},en=()=>Gc(),ye=()=>I0(),Ml=()=>{const e=en();return L(()=>!!e.value.pure)},Hi=()=>null,h2="719px",v2="1440px",m2="false",bu={mobileBreakPoint:h2,pcBreakPoint:v2,enableThemeColor:m2},ps={"/en/deploy/":["install","config","fandq"],"/en/usage/":["basic_command","extra_command","agreement"],"/en/store/":["resource","plugin"],"/en/dev/":["dev_resource_pack","dev_lyfunc","dev_lyplugin","dev_comm",{text:"Api",prefix:"api/",collapsible:!0,children:[{text:"liteyuki",prefix:"liteyuki/",collapsible:!0,icon:"laptop-code",children:["","config","exception","log","utils",{text:"liteyuki.bot",prefix:"bot/",collapsible:!0,icon:"laptop-code",children:["","lifespan"]},{text:"liteyuki.comm",prefix:"comm/",collapsible:!0,icon:"laptop-code",children:["","channel","event","storage"]},{text:"liteyuki.core",prefix:"core/",collapsible:!0,icon:"laptop-code",children:["","manager"]},{text:"liteyuki.dev",prefix:"dev/",collapsible:!0,icon:"laptop-code",children:["","observer","plugin"]},{text:"liteyuki.plugin",prefix:"plugin/",collapsible:!0,icon:"laptop-code",children:["","load","manager","model"]}]}]}],"/deploy/":["install","config","fandq"],"/usage/":["basic_command","extra_command","agreement"],"/store/":["resource","plugin"],"/dev/":["dev_resource_pack","dev_lyfunc","dev_lyplugin","dev_comm",{text:"liteyuki",prefix:"api/",collapsible:!0,icon:"laptop-code",children:["","config","exception","log","utils",{text:"liteyuki.bot",prefix:"bot/",collapsible:!0,icon:"laptop-code",children:["","lifespan"]},{text:"liteyuki.comm",prefix:"comm/",collapsible:!0,icon:"laptop-code",children:["","channel","event","storage"]},{text:"liteyuki.core",prefix:"core/",collapsible:!0,icon:"laptop-code",children:["","manager"]},{text:"liteyuki.dev",prefix:"dev/",collapsible:!0,icon:"laptop-code",children:["","observer","plugin"]},{text:"liteyuki.plugin",prefix:"plugin/",collapsible:!0,icon:"laptop-code",children:["","load","manager","model"]}]}]},_u=e=>{const{icon:t="",color:n,size:l}=e,r=n||l?{}:null;return n&&(r.color=n),l&&(r.height=Number.isNaN(Number(l))?l:`${l}px`),gn(t)?f("img",{class:"icon",src:t,alt:"","no-view":"",style:r}):ss(t)?f("img",{class:"icon",src:Ke(t),alt:"","aria-hidden":"","no-view":"",style:r}):f(gt("FontIcon"),e)};_u.displayName="HopeIcon";var Ge=_u;const g2="http://.",hs=()=>{const e=yn(),t=Qt();return n=>{if(n)if(ss(n))t.path!==n&&e.push(n);else if(ic(n))window&&window.open(n);else{const l=t.path.slice(0,t.path.lastIndexOf("/"));e.push(new URL(`${l}/${encodeURI(n)}`,g2).pathname)}}},ku=()=>{const e=ye(),t=Te();return L(()=>{const{author:n}=t.value;return n?$i(n):n===!1?[]:$i(e.value.author,!1)})},y2=()=>{const e=Te();return L(()=>lv(e.value.category).map(t=>({name:t,path:""})))},b2=()=>{const e=Te();return L(()=>rv(e.value.tag).map(t=>({name:t,path:""})))},_2=()=>{const e=Te(),t=Se();return L(()=>{const n=I1(e.value.date);if(n)return n;const{createdTime:l}=t.value.git||{};return l?new Date(l):null})},k2=()=>{const e=ye(),t=Se(),n=Te(),l=ku(),r=y2(),o=b2(),s=_2(),i=yu(),a=p2(),c=L(()=>({author:l.value,category:r.value,date:s.value,localizedDate:t.value.localizedDate,tag:o.value,isOriginal:n.value.isOriginal||!1,readingTime:i.value,readingTimeLocale:a.value,pageview:"pageview"in n.value?n.value.pageview:!0})),u=L(()=>"pageInfo"in n.value?n.value.pageInfo:"pageInfo"in e.value?e.value.pageInfo:null);return{info:c,items:u}},{mobileBreakPoint:w2,pcBreakPoint:E2}=bu,Vi=e=>e.endsWith("px")?Number(e.slice(0,-2)):null,Ir=()=>{const e=J(!1),t=J(!1),n=()=>{e.value=window.innerWidth<=(Vi(w2)??719),t.value=window.innerWidth>=(Vi(E2)??1440)};return we(()=>{n(),Fe("resize",n,!1),Fe("orientationchange",n,!1)}),{isMobile:e,isPC:t}},wu=Symbol(""),Dl=()=>{const e=Me(wu);if(!e)throw new Error("useDarkmode() is called without provider.");return e},A2=e=>{const t=en(),n=Q1(),l=L(()=>t.value.darkmode||"switch"),r=Kn("vuepress-theme-hope-scheme","auto"),o=L(()=>{const i=l.value;return i==="disable"?!1:i==="enable"?!0:i==="auto"?n.value:i==="toggle"?r.value==="dark":r.value==="dark"||r.value==="auto"&&n.value}),s=L(()=>{const i=l.value;return i==="switch"||i==="toggle"});e.provide(wu,{canToggle:s,config:l,isDarkmode:o,status:r}),Object.defineProperties(e.config.globalProperties,{$isDarkmode:{get:()=>o.value}})},C2=()=>{const{config:e,isDarkmode:t,status:n}=Dl();Ta(()=>{e.value==="disable"?n.value="light":e.value==="enable"?n.value="dark":e.value==="toggle"&&n.value==="auto"&&(n.value="light")}),we(()=>{ve(t,l=>document.documentElement.setAttribute("data-theme",l?"dark":"light"),{immediate:!0})})};var Et=(e=>(e.title="t",e.shortTitle="s",e.icon="i",e.index="I",e.order="O",e.breadcrumbExclude="b",e))(Et||{}),x2=(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))(x2||{}),L2=(e=>(e.article="a",e.home="h",e.slide="s",e.page="p",e))(L2||{});const cn=(e="",t="")=>ss(t)?t:`${sc(e)}${t}`,$n=(e,t=!1)=>{const{meta:n,path:l,notFound:r}=Lr(e);return r?{text:l,link:l}:{text:!t&&n[Et.shortTitle]?n[Et.shortTitle]:n[Et.title]||l,link:l,...n[Et.icon]?{icon:n[Et.icon]}:{}}},Co=({config:e,prefix:t=""})=>{const n=(l,r=t)=>{const o=Ne(l)?$n(cn(r,l)):l.link?{...l,...jn(l.link)?{}:{link:$n(cn(r,l.link)).link}}:l;if("children"in o){const s=cn(r,o.prefix),i=o.children==="structure"?ps[s]:o.children;return{type:"group",...o,prefix:s,children:i.map(a=>n(a,s))}}return{type:"page",...o}};return e.map(l=>n(l))},S2=({config:e,page:t,headerDepth:n})=>{const l=Zt(e).sort((r,o)=>o.length-r.length);for(const r of l)if(Vn(decodeURI(t.path),r)){const o=e[r];return o?Co({config:o==="structure"?ps[r]:o,page:t,headerDepth:n,prefix:r}):[]}return console.warn(`${t.path} is missing sidebar config.`),[]},T2=({config:e,routeLocale:t,page:n,headerDepth:l})=>e==="structure"?Co({config:ps[t],page:n,headerDepth:l,prefix:t}):Eo(e)?Co({config:e,page:n,headerDepth:l}):qn(e)?S2({config:e,page:n,headerDepth:l}):[],Eu=Symbol(""),I2=()=>{const e=Te(),t=ye(),n=Se(),l=Xt(),r=L(()=>e.value.home?!1:e.value.sidebar??t.value.sidebar??"structure"),o=L(()=>e.value.headerDepth??t.value.headerDepth??2),s=is(()=>[r.value,o.value,n.value.path,null],()=>T2({config:r.value,routeLocale:l.value,page:n.value,headerDepth:o.value}));Nn(Eu,s)},vs=()=>{const e=Me(Eu);if(!e)throw new Error("useSidebarItems() is called without provider.");return e};var P2=U({name:"PageFooter",setup(){const e=en(),t=ye(),n=Te(),l=ku(),r=L(()=>{const{copyright:c,footer:u}=n.value;return u!==!1&&!!(c||u||t.value.displayFooter)}),o=L(()=>{const{footer:c}=n.value;return c===!1?!1:Ne(c)?c:t.value.footer||""}),s=L(()=>l.value.map(({name:c})=>c).join(", ")),i=c=>`Copyright © ${new Date().getFullYear()} ${s.value} ${c?`${c} Licensed`:""}`,a=L(()=>{const{copyright:c,license:u=""}=n.value,{license:d}=e.value,{copyright:p}=t.value;return c??(u?i(u):Ne(p)?p:s.value||d?i(d):!1)});return()=>r.value?f("footer",{class:"vp-footer-wrapper"},[o.value?f("div",{class:"vp-footer",innerHTML:o.value}):null,a.value?f("div",{class:"vp-copyright",innerHTML:a.value}):null]):null}}),Xe=U({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:l}){const r=Qt(),o=kc(),s=gr(e,"config"),i=L(()=>gn(s.value.link)),a=L(()=>!i.value&&ic(s.value.link)),c=L(()=>s.value.target||(i.value?"_blank":void 0)),u=L(()=>c.value==="_blank"),d=L(()=>!i.value&&!a.value&&!u.value),p=L(()=>s.value.rel||(u.value?"noopener noreferrer":null)),h=L(()=>s.value.ariaLabel||s.value.text),m=L(()=>{if(e.exact)return!1;const b=Zt(o.value.locales);return b.length?b.every(k=>k!==s.value.link):s.value.link!=="/"}),_=L(()=>d.value?s.value.activeMatch?new RegExp(s.value.activeMatch,"u").test(r.path):m.value?Vn(r.path,s.value.link):r.path===s.value.link:!1);return()=>{const{before:b,after:k,default:A}=l,{text:y,icon:C,link:N}=s.value;return d.value?f(Qe,{to:N,"aria-label":h.value,...t,class:["nav-link",{active:_.value},t.class],onFocusout:()=>n("focusout")},()=>A?A():[b?b():f(Ge,{icon:C}),y,k==null?void 0:k()]):f("a",{href:N,rel:p.value,target:c.value,"aria-label":h.value,...t,class:["nav-link",t.class],onFocusout:()=>n("focusout")},A?A():[b?b():f(Ge,{icon:C}),y,e.noExternalLinkIcon?null:f(Wc),k==null?void 0:k()])}}}),Au=U({name:"NavbarDropdownLink",props:{config:{type:Object,required:!0}},slots:Object,setup(e,{slots:t}){const n=Se(),l=gr(e,"config"),r=L(()=>l.value.ariaLabel||l.value.text),o=J(!1);ve(()=>n.value.path,()=>{o.value=!1});const s=i=>{i.detail===0&&(o.value=!o.value)};return()=>{var i;return f("div",{class:["dropdown-wrapper",{open:o.value}]},[f("button",{type:"button",class:"dropdown-title","aria-label":r.value,onClick:s},[((i=t.title)==null?void 0:i.call(t))||f("span",{class:"title"},[f(Ge,{icon:l.value.icon}),e.config.text]),f("span",{class:"arrow"}),f("ul",{class:"nav-dropdown"},l.value.children.map((a,c)=>{const u=c===l.value.children.length-1;return f("li",{class:"dropdown-item"},"children"in a?[f("h4",{class:"dropdown-subtitle"},a.link?f(Xe,{config:a,onFocusout:()=>{a.children.length===0&&u&&(o.value=!1)}}):f("span",a.text)),f("ul",{class:"dropdown-subitem-wrapper"},a.children.map((d,p)=>f("li",{class:"dropdown-subitem"},f(Xe,{config:d,onFocusout:()=>{p===a.children.length-1&&u&&(o.value=!1)}}))))]:f(Xe,{config:a,onFocusout:()=>{u&&(o.value=!1)}}))}))])])}}});const Cu=()=>f(Ie,{name:"i18n"},()=>[f("path",{d:"M379.392 460.8 494.08 575.488l-42.496 102.4L307.2 532.48 138.24 701.44l-71.68-72.704L234.496 460.8l-45.056-45.056c-27.136-27.136-51.2-66.56-66.56-108.544h112.64c7.68 14.336 16.896 27.136 26.112 35.84l45.568 46.08 45.056-45.056C382.976 312.32 409.6 247.808 409.6 204.8H0V102.4h256V0h102.4v102.4h256v102.4H512c0 70.144-37.888 161.28-87.04 210.944L378.88 460.8zM576 870.4 512 1024H409.6l256-614.4H768l256 614.4H921.6l-64-153.6H576zM618.496 768h196.608L716.8 532.48 618.496 768z"})]);Cu.displayName="I18nIcon";const xu=(e,t="")=>Ne(e)?$n(cn(t,e)):"children"in e?{...e,...e.link&&!jn(e.link)?$n(cn(t,e.link)):{},children:e.children.map(n=>xu(n,cn(t,e.prefix)))}:{...e,link:jn(e.link)?e.link:$n(cn(t,e.link)).link},Lu=()=>{const e=ye(),t=()=>(e.value.navbar||[]).map(n=>xu(n));return is(()=>e.value.navbar,()=>t())},N2=()=>{const e=f1(),t=Qt(),n=Xt(),l=xr(),r=en(),o=ye();return is(()=>t.path,()=>{const s=Zt(l.value.locales),i=Nc(r.value.extraLocales??{});if(s.length<2&&!i.length)return null;const{path:a,fullPath:c}=t,{navbarLocales:u}=o.value;return{text:"",ariaLabel:u==null?void 0:u.selectLangAriaLabel,children:[...s.map(d=>{var k,A,y;const p=((k=l.value.locales)==null?void 0:k[d])??{},h=((A=r.value.locales)==null?void 0:A[d])??{},m=p.lang||"",_=((y=h.navbarLocales)==null?void 0:y.langName)??m;let b;if(m===l.value.lang)b=a;else{const C=a.replace(n.value,d);b=e.value.some(N=>N===C)?c.replace(a,C):h.home??d}return{text:_,link:b}}),...i.map(([d,p])=>({text:d,link:p.replace(":route",t.path.replace(n.value,""))}))]}})},O2=()=>{const e=ye(),t=L(()=>e.value.repo||null),n=L(()=>t.value?tv(t.value):null),l=L(()=>t.value?cu(t.value):null),r=L(()=>n.value?e.value.repoLabel??(l.value===null?"Source":l.value):null);return L(()=>!n.value||!r.value||e.value.repoDisplay===!1?null:{type:l.value||"Source",label:r.value,link:n.value})};var R2=U({name:"LanguageDropdown",setup(){const e=N2();return()=>e.value?f("div",{class:"nav-item"},f(Au,{class:"i18n-dropdown",config:e.value},{title:()=>{var t;return f(Cu,{"aria-label":(t=e.value)==null?void 0:t.ariaLabel,style:{width:"1rem",height:"1rem",verticalAlign:"middle"}})}})):null}}),$2=U({name:"NavScreenDropdown",props:{config:{type:Object,required:!0}},setup(e){const t=Se(),n=gr(e,"config"),l=L(()=>n.value.ariaLabel||n.value.text),r=J(!1);ve(()=>t.value.path,()=>{r.value=!1});const o=(s,i)=>i[i.length-1]===s;return()=>[f("button",{type:"button",class:["nav-screen-dropdown-title",{active:r.value}],"aria-label":l.value,onClick:()=>{r.value=!r.value}},[f("span",{class:"title"},[f(Ge,{icon:n.value.icon}),e.config.text]),f("span",{class:["arrow",r.value?"down":"end"]})]),f("ul",{class:["nav-screen-dropdown",{hide:!r.value}]},n.value.children.map(s=>f("li",{class:"dropdown-item"},"children"in s?[f("h4",{class:"dropdown-subtitle"},s.link?f(Xe,{config:s,onFocusout:()=>{o(s,n.value.children)&&s.children.length===0&&(r.value=!1)}}):f("span",s.text)),f("ul",{class:"dropdown-subitem-wrapper"},s.children.map(i=>f("li",{class:"dropdown-subitem"},f(Xe,{config:i,onFocusout:()=>{o(i,s.children)&&o(s,n.value.children)&&(r.value=!1)}}))))]:f(Xe,{config:s,onFocusout:()=>{o(s,n.value.children)&&(r.value=!1)}}))))]}}),F2=U({name:"NavScreenLinks",setup(){const e=Lu();return()=>e.value.length?f("nav",{class:"nav-screen-links"},e.value.map(t=>f("div",{class:"navbar-links-item"},"children"in t?f($2,{config:t}):f(Xe,{config:t})))):null}});const Su=()=>f(Ie,{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"}));Su.displayName="DarkIcon";const Tu=()=>f(Ie,{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"}));Tu.displayName="LightIcon";const Iu=()=>f(Ie,{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"}));Iu.displayName="AutoIcon";const Pu=()=>f(Ie,{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"}));Pu.displayName="EnterFullScreenIcon";const Nu=()=>f(Ie,{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"}));Nu.displayName="CancelFullScreenIcon";const Ou=()=>f(Ie,{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"})]);Ou.displayName="OutlookIcon";var Ru=U({name:"AppearanceSwitch",setup(){const{config:e,isDarkmode:t,status:n}=Dl(),l=Ml(),r=()=>{e.value==="switch"?n.value={light:"dark",dark:"auto",auto:"light"}[n.value]:n.value=n.value==="light"?"dark":"light"},o=async s=>{if(!(document.startViewTransition&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches&&!l.value)||!s){r();return}const i=s.clientX,a=s.clientY,c=Math.hypot(Math.max(i,innerWidth-i),Math.max(a,innerHeight-a)),u=t.value;await document.startViewTransition(async()=>{r(),await Jt()}).ready,t.value!==u&&document.documentElement.animate({clipPath:t.value?[`circle(${c}px at ${i}px ${a}px)`,`circle(0px at ${i}px ${a}px)`]:[`circle(0px at ${i}px ${a}px)`,`circle(${c}px at ${i}px ${a}px)`]},{duration:400,pseudoElement:t.value?"::view-transition-old(root)":"::view-transition-new(root)"})};return()=>f("button",{type:"button",id:"appearance-switch",onClick:o},[f(Iu,{style:{display:n.value==="auto"?"block":"none"}}),f(Su,{style:{display:n.value==="dark"?"block":"none"}}),f(Tu,{style:{display:n.value==="light"?"block":"none"}})])}}),M2=U({name:"AppearanceMode",setup(){const e=ye(),{canToggle:t}=Dl(),n=L(()=>e.value.outlookLocales.darkmode);return()=>t.value?f("div",{class:"appearance-wrapper"},[f("label",{class:"appearance-title",for:"appearance-switch"},n.value),f(Ru)]):null}});const eo=bu.enableThemeColor==="true";var $u=U({name:"ToggleFullScreenButton",setup(){const e=ye(),{isSupported:t,isFullscreen:n,toggle:l}=cs(),r=L(()=>e.value.outlookLocales.fullscreen);return()=>t?f("div",{class:"full-screen-wrapper"},[f("label",{class:"full-screen-title",for:"full-screen-switch"},r.value),f("button",{type:"button",id:"full-screen-switch",class:"full-screen",ariaPressed:n.value,onClick:()=>l()},n.value?f(Nu):f(Pu))]):null}}),Fu=U({name:"OutlookSettings",setup(){const e=en(),t=Ml(),n=L(()=>!t.value&&e.value.fullscreen);return()=>f(Sr,()=>[null,f(M2),n.value?f($u):null])}}),D2=U({name:"NavScreen",props:{show:Boolean},emits:["close"],slots:Object,setup(e,{emit:t,slots:n}){const l=Se(),{isMobile:r}=Ir(),o=De(),s=Bc(o);return we(()=>{o.value=document.body,ve(r,i=>{!i&&e.show&&(s.value=!1,t("close"))}),ve(()=>l.value.path,()=>{s.value=!1,t("close")})}),mn(()=>{s.value=!1}),()=>f(Yt,{name:"fade",onEnter:()=>{s.value=!0},onAfterLeave:()=>{s.value=!1}},()=>{var i,a;return e.show?f("div",{id:"nav-screen"},f("div",{class:"vp-nav-screen-container"},[(i=n.before)==null?void 0:i.call(n),f(F2),f("div",{class:"vp-outlook-wrapper"},f(Fu)),(a=n.after)==null?void 0:a.call(n)])):null})}}),j2=U({name:"NavbarBrand",setup(){const e=Xt(),t=xr(),n=ye(),l=L(()=>n.value.home||e.value),r=L(()=>t.value.title),o=L(()=>n.value.navTitle??r.value),s=L(()=>n.value.logo?Ke(n.value.logo):null),i=L(()=>n.value.logoDark?Ke(n.value.logoDark):null);return()=>f(Qe,{to:l.value,class:"vp-brand"},()=>[s.value?f("img",{class:["vp-nav-logo",{light:!!i.value}],src:s.value,alt:""}):null,i.value?f("img",{class:["vp-nav-logo dark"],src:i.value,alt:""}):null,o.value?f("span",{class:["vp-site-name",{"hide-in-pad":s.value&&n.value.hideSiteNameOnMobile!==!1}]},o.value):null])}}),B2=U({name:"NavbarLinks",setup(){const e=Lu();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(Au,{config:t}):f(Xe,{config:t})))):null}}),H2=U({name:"RepoLink",components:{BitbucketIcon:ru,GiteeIcon:lu,GitHubIcon:tu,GitLabIcon:nu,SourceIcon:ou},setup(){const e=O2();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(gt(`${e.value.type}Icon`),{style:{width:"1.25rem",height:"1.25rem",verticalAlign:"middle"}}))):null}});const Mu=({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"})]));Mu.displayName="ToggleNavbarButton";var V2=Mu;const xo=(e,{emit:t})=>f("button",{type:"button",class:"vp-toggle-sidebar-button",title:"Toggle Sidebar",onClick:()=>t("toggle")},f("span",{class:"icon"}));xo.displayName="ToggleSidebarButton",xo.emits=["toggle"];var U2=xo,z2=U({name:"OutlookButton",setup(){const{isSupported:e}=cs(),t=en(),n=Ml(),l=Se(),{canToggle:r}=Dl(),o=J(!1),s=L(()=>!n.value&&t.value.fullscreen&&e);return ve(()=>l.value.path,()=>{o.value=!1}),()=>r.value||s.value||eo?f("div",{class:"nav-item hide-in-mobile"},r.value&&!s.value&&!eo?f(Ru):s.value&&!r.value&&!eo?f($u):f("button",{type:"button",class:["outlook-button",{open:o.value}],tabindex:"-1","aria-hidden":!0},[f(Ou),f("div",{class:"outlook-dropdown"},f(Fu))])):null}}),q2=U({name:"NavBar",emits:["toggleSidebar"],slots:Object,setup(e,{emit:t,slots:n}){const l=ye(),{isMobile:r}=Ir(),o=J(!1),s=L(()=>{const{navbarAutoHide:u="mobile"}=l.value;return u!=="none"&&(u==="always"||r.value)}),i=L(()=>l.value.navbarLayout||{start:["Brand"],center:["Links"],end:["Language","Repo","Outlook","Search"]}),a={Brand:j2,Language:R2,Links:B2,Repo:H2,Outlook:z2,Search:ft("Docsearch")?gt("Docsearch"):ft("SearchBox")?gt("SearchBox"):Hi},c=u=>a[u]??(ft(u)?gt(u):Hi);return()=>{var u,d,p,h,m,_;return[f("header",{key:"navbar",id:"navbar",class:["vp-navbar",{"auto-hide":s.value,"hide-icon":l.value.navbarIcon===!1}]},[f("div",{class:"vp-navbar-start"},[f(U2,{onToggle:()=>{o.value&&(o.value=!1),t("toggleSidebar")}}),(u=n.startBefore)==null?void 0:u.call(n),(i.value.start||[]).map(b=>f(c(b))),(d=n.startAfter)==null?void 0:d.call(n)]),f("div",{class:"vp-navbar-center"},[(p=n.centerBefore)==null?void 0:p.call(n),(i.value.center||[]).map(b=>f(c(b))),(h=n.centerAfter)==null?void 0:h.call(n)]),f("div",{class:"vp-navbar-end"},[(m=n.endBefore)==null?void 0:m.call(n),(i.value.end||[]).map(b=>f(c(b))),(_=n.endAfter)==null?void 0:_.call(n),f(V2,{active:o.value,onToggle:()=>{o.value=!o.value}})])]),f(D2,{show:o.value,onClose:()=>{o.value=!1}},{before:()=>{var b;return(b=n.screenTop)==null?void 0:b.call(n)},after:()=>{var b;return(b=n.screenBottom)==null?void 0:b.call(n)}})]}}});const _l=(e,t,n=!1)=>"activeMatch"in t?new RegExp(t.activeMatch,"u").test(e.path):au(e,t.link)?!0:"children"in t&&!n?t.children.some(l=>_l(e,l)):!1,Du=(e,t)=>t.type==="group"?t.children.some(n=>n.type==="group"?Du(e,n):n.type==="page"&&_l(e,n,!0))||"prefix"in t&&au(e,t.prefix):!1;var W2=U({name:"SidebarChild",props:{config:{type:Object,required:!0}},setup(e){const t=Qt();return()=>Ne(e.config.link)?f(Xe,{class:["vp-sidebar-link","vp-sidebar-page",{active:_l(t,e.config,!0)}],exact:!0,config:e.config}):f("p",e,[f(Ge,{icon:e.config.icon}),e.config.text])}}),K2=U({name:"SidebarGroup",props:{config:{type:Object,required:!0},open:{type:Boolean,required:!0}},emits:["toggle"],setup(e,{emit:t}){const n=Qt(),l=L(()=>_l(n,e.config)),r=L(()=>_l(n,e.config,!0));return()=>{const{collapsible:o,children:s=[],icon:i,prefix:a,link:c,text:u}=e.config;return f("section",{class:"vp-sidebar-group"},[f(o?"button":"p",{class:["vp-sidebar-header",{clickable:o||c,exact:r.value,active:l.value}],...o?{type:"button",onClick:()=>t("toggle"),onKeydown:d=>{d.key==="Enter"&&t("toggle")}}:{}},[f(Ge,{icon:i}),c?f(Xe,{class:"vp-sidebar-title",config:{text:u,link:c},noExternalLinkIcon:!0}):f("span",{class:"vp-sidebar-title"},u),o?f("span",{class:["vp-arrow",e.open?"down":"end"]}):null]),e.open||!o?f(ju,{key:a,config:s}):null])}}}),ju=U({name:"SidebarLinks",props:{config:{type:Array,required:!0}},setup(e){const t=Qt(),n=J(-1),l=r=>{n.value=r===n.value?-1:r};return ve(()=>t.path,()=>{const r=e.config.findIndex(o=>Du(t,o));n.value=r},{immediate:!0,flush:"post"}),()=>f("ul",{class:"vp-sidebar-links"},e.config.map((r,o)=>f("li",r.type==="group"?f(K2,{config:r,open:o===n.value,onToggle:()=>l(o)}):f(W2,{config:r}))))}}),G2=U({name:"SideBar",slots:Object,setup(e,{slots:t}){const n=Qt(),l=ye(),r=vs(),o=De();return we(()=>{ve(()=>n.hash,s=>{const i=document.querySelector(`.vp-sidebar a.vp-sidebar-link[href="${n.path}${s}"]`);if(!i)return;const{top:a,height:c}=o.value.getBoundingClientRect(),{top:u,height:d}=i.getBoundingClientRect();u<a?i.scrollIntoView(!0):u+d>a+c&&i.scrollIntoView(!1)},{immediate:!0})}),()=>{var s,i,a;return f("aside",{ref:o,id:"sidebar",class:["vp-sidebar",{"hide-icon":l.value.sidebarIcon===!1}],key:"sidebar"},[(s=t.top)==null?void 0:s.call(t),((i=t.default)==null?void 0:i.call(t))||f(ju,{config:r.value}),(a=t.bottom)==null?void 0:a.call(t)])}}}),Bu=U({name:"CommonWrapper",props:{containerClass:{type:String,default:""},noNavbar:Boolean,noSidebar:Boolean,noToc:Boolean},slots:Object,setup(e,{slots:t}){const n=yn(),l=Se(),r=Te(),o=ye(),{isMobile:s,isPC:i}=Ir(),[a,c]=yl(!1),[u,d]=yl(!1),p=vs(),h=J(!1),m=L(()=>e.noNavbar||r.value.navbar===!1||o.value.navbar===!1?!1:!!(l.value.title||o.value.logo||o.value.repo||o.value.navbar)),_=L(()=>e.noSidebar?!1:r.value.sidebar!==!1&&p.value.length!==0&&!r.value.home),b=L(()=>e.noToc||r.value.home?!1:r.value.toc||o.value.toc!==!1&&r.value.toc!==!1),k={x:0,y:0},A=x=>{k.x=x.changedTouches[0].clientX,k.y=x.changedTouches[0].clientY},y=x=>{const I=x.changedTouches[0].clientX-k.x,O=x.changedTouches[0].clientY-k.y;Math.abs(I)>Math.abs(O)*1.5&&Math.abs(I)>40&&(I>0&&k.x<=80?c(!0):c(!1))},C=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;let N=0;return Fe("scroll",j1(()=>{const x=C();x<=58||x<N?h.value=!1:N+200<x&&!a.value&&(h.value=!0),N=x},300,!0)),ve(s,x=>{x||c(!1)}),we(()=>{const x=Bc(document.body);ve(a,O=>{x.value=O});const I=n.afterEach(()=>{c(!1)});mn(()=>{x.value=!1,I()})}),()=>f(ft("GlobalEncrypt")?gt("GlobalEncrypt"):eu,()=>f("div",{class:["theme-container",{"no-navbar":!m.value,"no-sidebar":!_.value&&!(t.sidebar||t.sidebarTop||t.sidebarBottom),"has-toc":b.value,"hide-navbar":h.value,"sidebar-collapsed":!s.value&&!i.value&&u.value,"sidebar-open":s.value&&a.value},e.containerClass,r.value.containerClass||""],onTouchStart:A,onTouchEnd:y},[m.value?f(q2,{onToggleSidebar:()=>c()},{startBefore:()=>{var x;return(x=t.navbarStartBefore)==null?void 0:x.call(t)},startAfter:()=>{var x;return(x=t.navbarStartAfter)==null?void 0:x.call(t)},centerBefore:()=>{var x;return(x=t.navbarCenterBefore)==null?void 0:x.call(t)},centerAfter:()=>{var x;return(x=t.navbarCenterAfter)==null?void 0:x.call(t)},endBefore:()=>{var x;return(x=t.navbarEndBefore)==null?void 0:x.call(t)},endAfter:()=>{var x;return(x=t.navbarEndAfter)==null?void 0:x.call(t)},screenTop:()=>{var x;return(x=t.navScreenTop)==null?void 0:x.call(t)},screenBottom:()=>{var x;return(x=t.navScreenBottom)==null?void 0:x.call(t)}}):null,f(Yt,{name:"fade"},()=>a.value?f("div",{class:"vp-sidebar-mask",onClick:()=>c(!1)}):null),f(Yt,{name:"fade"},()=>s.value?null:f("div",{class:"toggle-sidebar-wrapper",onClick:()=>d()},f("span",{class:["arrow",u.value?"end":"start"]}))),f(G2,{},{...t.sidebar?{default:()=>t.sidebar()}:{},top:()=>{var x;return(x=t.sidebarTop)==null?void 0:x.call(t)},bottom:()=>{var x;return(x=t.sidebarBottom)==null?void 0:x.call(t)}}),t.default(),f(P2)]))}}),xn=U({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=r=>{r.style.transition=`transform ${e.duration}s ease-in-out ${e.delay}s, opacity ${e.duration}s ease-in-out ${e.delay}s`,r.style.transform="translateY(-20px)",r.style.opacity="0"},l=r=>{r.style.transform="translateY(0)",r.style.opacity="1"};return()=>f(e.type==="single"?Yt:Ip,{name:"drop",appear:e.appear,onAppear:n,onAfterAppear:l,onEnter:n,onAfterEnter:l,onBeforeLeave:n},()=>t.default())}});const Lo=({custom:e})=>f(Ec,{class:["theme-hope-content",{custom:e}]});Lo.displayName="MarkdownContent",Lo.props={custom:Boolean};var Hu=Lo;const Vu=()=>f(Ie,{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"}));Vu.displayName="AuthorIcon";const Uu=()=>f(Ie,{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"}));Uu.displayName="CalendarIcon";const zu=()=>f(Ie,{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"}));zu.displayName="CategoryIcon";const qu=()=>f(Ie,{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"}));qu.displayName="PrintIcon";const Wu=()=>f(Ie,{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"}));Wu.displayName="TagIcon";const Ku=()=>f(Ie,{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"}));Ku.displayName="TimerIcon";const Gu=()=>f(Ie,{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"})]);Gu.displayName="WordIcon";const tn=()=>{const e=ye();return L(()=>e.value.metaLocales)};var Y2=U({name:"AuthorInfo",inheritAttrs:!1,props:{author:{type:Array,required:!0},pure:Boolean},setup(e){const t=tn();return()=>e.author.length?f("span",{class:"page-author-info","aria-label":`${t.value.author}${e.pure?"":"🖊"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[f(Vu),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}}),J2=U({name:"CategoryInfo",inheritAttrs:!1,props:{category:{type:Array,required:!0},pure:Boolean},setup(e){const t=tn(),n=hs();return()=>e.category.length?f("span",{class:"page-category-info","aria-label":`${t.value.category}${e.pure?"":"🌈"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[f(zu),e.category.map(({name:l,path:r})=>f("span",{class:["page-category-item",{[`category${su(l,9)}`]:!e.pure,clickable:r}],role:r?"navigation":"",onClick:()=>{r&&n(r)}},l)),f("meta",{property:"articleSection",content:e.category.map(({name:l})=>l).join(",")})]):null}}),Q2=U({name:"DateInfo",inheritAttrs:!1,props:{date:{type:Object,default:null},localizedDate:{type:String,default:""},pure:Boolean},setup(e){const t=rs(),n=tn();return()=>e.date?f("span",{class:"page-date-info","aria-label":`${n.value.date}${e.pure?"":"📅"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[f(Uu),f("span",f(Sr,()=>e.localizedDate||e.date.toLocaleDateString(t.value))),f("meta",{property:"datePublished",content:e.date.toISOString()||""})]):null}}),X2=U({name:"OriginalInfo",inheritAttrs:!1,props:{isOriginal:Boolean},setup(e){const t=tn();return()=>e.isOriginal?f("span",{class:"page-original-info"},t.value.origin):null}}),Z2=U({name:"ReadingTimeInfo",inheritAttrs:!1,props:{readingTime:{type:Object,default:()=>null},readingTimeLocale:{type:Object,default:()=>null},pure:Boolean},setup(e){const t=tn(),n=L(()=>{if(!e.readingTime)return null;const{minutes:l}=e.readingTime;return l<1?"PT1M":`PT${Math.round(l)}M`});return()=>{var l,r;return(l=e.readingTimeLocale)!=null&&l.time?f("span",{class:"page-reading-time-info","aria-label":`${t.value.readingTime}${e.pure?"":"⌛"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[f(Ku),f("span",(r=e.readingTimeLocale)==null?void 0:r.time),f("meta",{property:"timeRequired",content:n.value})]):null}}}),e3=U({name:"TagInfo",inheritAttrs:!1,props:{tag:{type:Array,default:()=>[]},pure:Boolean},setup(e){const t=tn(),n=hs();return()=>e.tag.length?f("span",{class:"page-tag-info","aria-label":`${t.value.tag}${e.pure?"":"🏷"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[f(Wu),e.tag.map(({name:l,path:r})=>f("span",{class:["page-tag-item",{[`tag${su(l,9)}`]:!e.pure,clickable:r}],role:r?"navigation":"",onClick:()=>{r&&n(r)}},l)),f("meta",{property:"keywords",content:e.tag.map(({name:l})=>l).join(",")})]):null}}),t3=U({name:"ReadTimeInfo",inheritAttrs:!1,props:{readingTime:{type:Object,default:()=>null},readingTimeLocale:{type:Object,default:()=>null},pure:Boolean},setup(e){const t=tn();return()=>{var n,l,r;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(Gu),f("span",(l=e.readingTimeLocale)==null?void 0:l.words),f("meta",{property:"wordCount",content:(r=e.readingTime)==null?void 0:r.words})]):null}}}),n3=U({name:"PageInfo",components:{AuthorInfo:Y2,CategoryInfo:J2,DateInfo:Q2,OriginalInfo:X2,PageViewInfo:()=>null,ReadingTimeInfo:Z2,TagInfo:e3,WordInfo:t3},props:{items:{type:[Array,Boolean],default:()=>["Author","Original","Date","PageView","ReadingTime","Category","Tag"]},info:{type:Object,required:!0}},setup(e){const t=Ml();return()=>e.items?f("div",{class:"page-info"},e.items.map(n=>f(gt(`${n}Info`),{...e.info,pure:t.value}))):null}}),l3=U({name:"PrintButton",setup(){const e=en(),t=ye();return()=>e.value.print===!1?null:f("button",{type:"button",class:"print-button",title:t.value.metaLocales.print,onClick:()=>{window.print()}},f(qu))}}),r3=U({name:"TOC",props:{items:{type:Array,default:()=>[]},headerDepth:{type:Number,default:2}},slots:Object,setup(e,{slots:t}){const n=Qt(),l=Se(),r=tn(),[o,s]=yl(),i=De(),a=J("-1.7rem"),c=d=>{var p;(p=i.value)==null||p.scrollTo({top:d,behavior:"smooth"})},u=()=>{if(i.value){const d=document.querySelector(".vp-toc-item.active");d?a.value=`${d.getBoundingClientRect().top-i.value.getBoundingClientRect().top+i.value.scrollTop}px`:a.value="-1.7rem"}else a.value="-1.7rem"};return we(()=>{ve(()=>n.hash,d=>{if(i.value){const p=document.querySelector(`#toc a.toc-link[href$="${d}"]`);if(!p)return;const{top:h,height:m}=i.value.getBoundingClientRect(),{top:_,height:b}=p.getBoundingClientRect();_<h?c(i.value.scrollTop+_-h):_+b>h+m&&c(i.value.scrollTop+_+b-h-m)}}),ve(()=>n.fullPath,u,{flush:"post",immediate:!0})}),()=>{var m,_;const d=({title:b,level:k,slug:A})=>f(Qe,{to:`#${A}`,class:["vp-toc-link",`level${k}`],onClick:()=>{s()}},()=>b),p=(b,k)=>b.length&&k>0?f("ul",{class:"vp-toc-list"},b.map(A=>{const y=p(A.children,k-1);return[f("li",{class:["vp-toc-item",{active:n.hash===`#${A.slug}`}]},d(A)),y?f("li",y):null]})):null,h=e.items.length?p(e.items,e.headerDepth):l.value.headers?p(l.value.headers,e.headerDepth):null;return h?f("div",{class:"vp-toc-placeholder"},[f("aside",{id:"toc"},[(m=t.before)==null?void 0:m.call(t),f("div",{class:"vp-toc-header",onClick:()=>{s()}},[r.value.toc,f(l3),f("div",{class:["arrow",o.value?"down":"end"]})]),f("div",{class:["vp-toc-wrapper",o.value?"open":""],ref:i},[h,f("div",{class:"vp-toc-marker",style:{top:a.value}})]),(_=t.after)==null?void 0:_.call(t)])]):null}}}),Yu=U({name:"SkipLink",props:{content:{type:String,default:"main-content"}},setup(e){const t=Se(),n=ye(),l=De(),r=({target:o})=>{const s=document.querySelector(o.hash);if(s){const i=()=>{s.removeAttribute("tabindex"),s.removeEventListener("blur",i)};s.setAttribute("tabindex","-1"),s.addEventListener("blur",i),s.focus(),window.scrollTo(0,0)}};return we(()=>{ve(()=>t.value.path,()=>l.value.focus())}),()=>[f("span",{ref:l,tabindex:"-1"}),f("a",{href:`#${e.content}`,class:"vp-skip-link sr-only",onClick:r},n.value.routeLocales.skipToContent)]}});let to=null,Qn=null;const o3={wait:()=>to,pending:()=>{to=new Promise(e=>{Qn=e})},resolve:()=>{Qn==null||Qn(),to=null,Qn=null}},Ju=()=>o3;var Qu=U({name:"FadeSlideY",slots:Object,setup(e,{slots:t}){const{resolve:n,pending:l}=Ju();return()=>f(Yt,{name:"fade-slide-y",mode:"out-in",onBeforeEnter:n,onBeforeLeave:l},()=>{var r;return(r=t.default)==null?void 0:r.call(t)})}});const s3=(e,t)=>{const n=e.replace(t,"/").split("/"),l=[];let r=es(t);return n.forEach((o,s)=>{s!==n.length-1?(r+=`${o}/`,l.push({link:r,name:o||"Home"})):o!==""&&(r+=o,l.push({link:r,name:o}))}),l},Xu=(e,{slots:t})=>{var d,p;const{bgImage:n,bgImageDark:l,bgImageStyle:r,color:o,description:s,image:i,imageDark:a,header:c,features:u=[]}=e;return f("div",{class:"vp-feature-wrapper"},[n?f("div",{class:["vp-feature-bg",{light:l}],style:[{"background-image":`url(${n})`},r]}):null,l?f("div",{class:"vp-feature-bg dark",style:[{"background-image":`url(${l})`},r]}):null,f("div",{class:"vp-feature",style:o?{color:o}:{}},[((d=t.image)==null?void 0:d.call(t,e))||[i?f("img",{class:["vp-feature-image",{light:a}],src:Ke(i),alt:""}):null,a?f("img",{class:"vp-feature-image dark",src:Ke(a),alt:""}):null],((p=t.info)==null?void 0:p.call(t,e))||[c?f("h2",{class:"vp-feature-header"},c):null,s?f("p",{class:"vp-feature-description",innerHTML:s}):null],u.length?f("div",{class:"vp-features"},u.map(({icon:h,title:m,details:_,link:b})=>{const k=[f("h3",{class:"vp-feature-title"},[f(Ge,{icon:h}),f("span",{innerHTML:m})]),f("p",{class:"vp-feature-details",innerHTML:_})];return b?jn(b)?f("a",{class:"vp-feature-item link",href:b,"aria-label":m,target:"_blank"},k):f(Qe,{class:"vp-feature-item link",to:b,"aria-label":m},()=>k):f("div",{class:"vp-feature-item"},k)})):null])])};Xu.displayName="FeaturePanel";var Ui=Xu,i3=U({name:"HeroInfo",slots:Object,setup(e,{slots:t}){const n=Te(),l=xr(),r=L(()=>n.value.heroFullScreen??!1),o=L(()=>{const{heroText:c,tagline:u}=n.value;return{text:c??l.value.title??"Hello",tagline:u??l.value.description??"",isFullScreen:r.value}}),s=L(()=>{const{heroText:c,heroImage:u,heroImageDark:d,heroAlt:p,heroImageStyle:h}=n.value;return{image:u?Ke(u):null,imageDark:d?Ke(d):null,style:h,alt:p||c||"",isFullScreen:r.value}}),i=L(()=>{const{bgImage:c,bgImageDark:u,bgImageStyle:d}=n.value;return{image:Ne(c)?Ke(c):null,imageDark:Ne(u)?Ke(u):null,bgStyle:d,isFullScreen:r.value}}),a=L(()=>n.value.actions??[]);return()=>{var c,u,d;return f("header",{class:["vp-hero-info-wrapper",{fullscreen:r.value}]},[((c=t.heroBg)==null?void 0:c.call(t,i.value))||[i.value.image?f("div",{class:["vp-hero-mask",{light:i.value.imageDark}],style:[{"background-image":`url(${i.value.image})`},i.value.bgStyle]}):null,i.value.imageDark?f("div",{class:"vp-hero-mask dark",style:[{"background-image":`url(${i.value.imageDark})`},i.value.bgStyle]}):null],f("div",{class:"vp-hero-info"},[((u=t.heroImage)==null?void 0:u.call(t,s.value))||f(xn,{appear:!0,type:"group"},()=>[s.value.image?f("img",{key:"light",class:["vp-hero-image",{light:s.value.imageDark}],style:s.value.style,src:s.value.image,alt:s.value.alt}):null,s.value.imageDark?f("img",{key:"dark",class:"vp-hero-image dark",style:s.value.style,src:s.value.imageDark,alt:s.value.alt}):null]),((d=t.heroInfo)==null?void 0:d.call(t,o.value))??f("div",{class:"vp-hero-infos"},[o.value.text?f(xn,{appear:!0,delay:.04},()=>f("h1",{id:"main-title"},o.value.text)):null,o.value.tagline?f(xn,{appear:!0,delay:.08},()=>f("p",{id:"main-description",innerHTML:o.value.tagline})):null,a.value.length?f(xn,{appear:!0,delay:.12},()=>f("p",{class:"vp-hero-actions"},a.value.map(p=>f(Xe,{class:["vp-hero-action",p.type||"default"],config:p,noExternalLinkIcon:!0},p.icon?{before:()=>f(Ge,{icon:p.icon})}:{})))):null])])])}}});const Zu=(e,{slots:t})=>{var p,h,m;const{bgImage:n,bgImageDark:l,bgImageStyle:r,color:o,description:s,image:i,imageDark:a,header:c,highlights:u=[],type:d="un-order"}=e;return f("div",{class:"vp-highlight-wrapper",style:o?{color:o}:{}},[n?f("div",{class:["vp-highlight-bg",{light:l}],style:[{"background-image":`url(${n})`},r]}):null,l?f("div",{class:"vp-highlight-bg dark",style:[{"background-image":`url(${l})`},r]}):null,f("div",{class:"vp-highlight"},[((p=t.image)==null?void 0:p.call(t,e))||[i?f("img",{class:["vp-highlight-image",{light:a}],src:Ke(i),alt:""}):null,a?f("img",{class:"vp-highlight-image dark",src:Ke(a),alt:""}):null],((h=t.info)==null?void 0:h.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,s?f("p",{class:"vp-highlight-description",innerHTML:s}):null,((m=t.highlights)==null?void 0:m.call(t,u))||f(d==="order"?"ol":d==="no-order"?"dl":"ul",{class:"vp-highlights"},u.map(({icon:_,title:b,details:k,link:A})=>{const y=[f(d==="no-order"?"dt":"h3",{class:"vp-highlight-title"},[_?f(Ge,{class:"vp-highlight-icon",icon:_}):null,f("span",{innerHTML:b})]),k?f(d==="no-order"?"dd":"p",{class:"vp-highlight-details",innerHTML:k}):null];return f(d==="no-order"?"div":"li",{class:["vp-highlight-item-wrapper",{link:A}]},A?jn(A)?f("a",{class:"vp-highlight-item link",href:A,"aria-label":b,target:"_blank"},y):f(Qe,{class:"vp-highlight-item link",to:A,"aria-label":b},()=>y):f("div",{class:"vp-highlight-item"},y))}))]))]])])};Zu.displayName="HighlightPanel";var a3=Zu,c3=U({name:"HomePage",slots:Object,setup(e,{slots:t}){const n=Ml(),l=Te(),r=L(()=>{const{features:s}=l.value;return Eo(s)?s:null}),o=L(()=>{const{highlights:s}=l.value;return Eo(s)?s:null});return()=>{var s,i,a,c;return f("main",{id:"main-content",class:["vp-project-home ",{pure:n.value}],"aria-labelledby":l.value.heroText===null?"":"main-title"},[(s=t.top)==null?void 0:s.call(t),f(i3),((i=o.value)==null?void 0:i.map(u=>"features"in u?f(Ui,u):f(a3,u)))||(r.value?f(xn,{appear:!0,delay:.24},()=>f(Ui,{features:r.value})):null),(a=t.center)==null?void 0:a.call(t),f(xn,{appear:!0,delay:.32},()=>f(Hu)),(c=t.bottom)==null?void 0:c.call(t)])}}}),u3=U({name:"BreadCrumb",setup(){const e=Se(),t=Xt(),n=Te(),l=ye(),r=De([]),o=L(()=>(n.value.breadcrumb||n.value.breadcrumb!==!1&&l.value.breadcrumb!==!1)&&r.value.length>1),s=L(()=>n.value.breadcrumbIcon||n.value.breadcrumbIcon!==!1&&l.value.breadcrumbIcon!==!1),i=()=>{const a=s3(e.value.path,t.value).map(({link:c,name:u})=>{const{path:d,meta:p,notFound:h}=Lr(c);return h||p[Et.breadcrumbExclude]?null:{title:p[Et.shortTitle]||p[Et.title]||u,icon:p[Et.icon],path:d}}).filter(c=>c!==null);a.length>1&&(r.value=a)};return we(()=>{ve(()=>e.value.path,i,{immediate:!0})}),()=>f("nav",{class:["vp-breadcrumb",{disable:!o.value}]},o.value?f("ol",{vocab:"https://schema.org/",typeof:"BreadcrumbList"},r.value.map((a,c)=>f("li",{class:{"is-active":r.value.length-1===c},property:"itemListElement",typeof:"ListItem"},[f(Qe,{to:a.path,property:"item",typeof:"WebPage"},()=>[s.value?f(Ge,{icon:a.icon}):null,f("span",{property:"name"},a.title||"Unknown")]),f("meta",{property:"position",content:c+1})]))):[])}});const zi=e=>e===!1||qn(e)?e:Ne(e)?$n(e,!0):null,So=(e,t,n)=>{const l=e.findIndex(r=>r.link===t);if(l!==-1){const r=e[l+n];return r!=null&&r.link?r:null}for(const r of e)if("children"in r){const o=So(r.children,t,n);if(o)return o}return null};var f3=U({name:"PageNav",setup(){const e=ye(),t=Te(),n=vs(),l=Se(),r=hs(),o=L(()=>{const i=zi(t.value.prev);return i===!1?null:i||(e.value.prevLink===!1?null:So(n.value,l.value.path,-1))}),s=L(()=>{const i=zi(t.value.next);return i===!1?null:i||(e.value.nextLink===!1?null:So(n.value,l.value.path,1))});return Fe("keydown",i=>{i.altKey&&(i.key==="ArrowRight"?s.value&&(r(s.value.link),i.preventDefault()):i.key==="ArrowLeft"&&o.value&&(r(o.value.link),i.preventDefault()))}),()=>o.value||s.value?f("nav",{class:"vp-page-nav"},[o.value?f(Xe,{class:"prev",config:o.value},()=>{var i,a;return[f("div",{class:"hint"},[f("span",{class:"arrow start"}),e.value.metaLocales.prev]),f("div",{class:"link"},[f(Ge,{icon:(i=o.value)==null?void 0:i.icon}),(a=o.value)==null?void 0:a.text])]}):null,s.value?f(Xe,{class:"next",config:s.value},()=>{var i,a;return[f("div",{class:"hint"},[e.value.metaLocales.next,f("span",{class:"arrow end"})]),f("div",{class:"link"},[(i=s.value)==null?void 0:i.text,f(Ge,{icon:(a=s.value)==null?void 0:a.icon})])]}):null]):null}});const d3={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"},p3=({docsRepo:e,docsBranch:t,docsDir:n,filePathRelative:l,editLinkPattern:r})=>{if(!l)return null;const o=cu(e);let s;return r?s=r:o!==null&&(s=d3[o]),s?s.replace(/:repo/u,gn(e)?e:`https://github.com/${e}`).replace(/:branch/u,t).replace(/:path/u,ac(`${es(n)}/${l}`)):null},h3=()=>{const e=ye(),t=Se(),n=Te();return L(()=>{const{repo:l,docsRepo:r=l,docsBranch:o="main",docsDir:s="",editLink:i,editLinkPattern:a=""}=e.value;if(!(n.value.editLink??i??!0)||!r)return null;const c=p3({docsRepo:r,docsBranch:o,docsDir:s,editLinkPattern:a,filePathRelative:t.value.filePathRelative});return c?{text:e.value.metaLocales.editLink,link:c}:null})},v3=()=>{const e=xr(),t=ye(),n=Se(),l=Te();return L(()=>{var r,o;return!(l.value.lastUpdated??t.value.lastUpdated??!0)||!((r=n.value.git)!=null&&r.updatedTime)?null:new Date((o=n.value.git)==null?void 0:o.updatedTime).toLocaleString(e.value.lang)})},m3=()=>{const e=ye(),t=Se(),n=Te();return L(()=>{var l;return n.value.contributors??e.value.contributors??!0?((l=t.value.git)==null?void 0:l.contributors)??null:null})};var g3=U({name:"PageTitle",setup(){const e=Se(),t=Te(),n=ye(),{info:l,items:r}=k2();return()=>f("div",{class:"vp-page-title"},[f("h1",[n.value.titleIcon===!1?null:f(Ge,{icon:t.value.icon}),e.value.title]),f(n3,{info:l.value,...r.value===null?{}:{items:r.value}}),f("hr")])}});const ef=()=>f(Ie,{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"})]);ef.displayName="EditIcon";var y3=U({name:"PageMeta",setup(){const e=ye(),t=h3(),n=v3(),l=m3();return()=>{const{metaLocales:r}=e.value;return f("footer",{class:"page-meta"},[t.value?f("div",{class:"meta-item edit-link"},f(Xe,{class:"label",config:t.value},{before:()=>f(ef)})):null,f("div",{class:"meta-item git-info"},[n.value?f("div",{class:"update-time"},[f("span",{class:"label"},`${r.lastUpdated}: `),f(Sr,()=>f("span",{class:"info"},n.value))]):null,l.value&&l.value.length?f("div",{class:"contributors"},[f("span",{class:"label"},`${r.contributors}: `),l.value.map(({email:o,name:s},i)=>[f("span",{class:"contributor",title:`email: ${o}`},s),i!==l.value.length-1?",":""])]):null])])}}}),b3=U({name:"NormalPage",slots:Object,setup(e,{slots:t}){const n=Te(),{isDarkmode:l}=Dl(),r=ye(),o=L(()=>n.value.toc||n.value.toc!==!1&&r.value.toc!==!1);return()=>f("main",{id:"main-content",class:"vp-page"},f(ft("LocalEncrypt")?gt("LocalEncrypt"):eu,()=>{var s,i,a,c;return[(s=t.top)==null?void 0:s.call(t),n.value.cover?f("div",{class:"page-cover"},f("img",{src:Ke(n.value.cover),alt:"","no-view":""})):null,f(u3),f(g3),o.value?f(r3,{headerDepth:n.value.headerDepth??r.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,(i=t.contentBefore)==null?void 0:i.call(t),f(Hu),(a=t.contentAfter)==null?void 0:a.call(t),f(y3),f(f3),ft("CommentService")?f(gt("CommentService"),{darkmode:l.value}):null,(c=t.bottom)==null?void 0:c.call(t)]}))}}),_3=U({name:"Layout",slots:Object,setup(e,{slots:t}){ye();const n=Se(),l=Te(),{isMobile:r}=Ir(),o=L(()=>"none");return()=>[f(Yu),f(Bu,{},{default:()=>{var s;return((s=t.default)==null?void 0:s.call(t))||(l.value.home?f(c3):f(Qu,()=>f(b3,{key:n.value.path},{top:()=>{var i;return(i=t.top)==null?void 0:i.call(t)},bottom:()=>{var i;return(i=t.bottom)==null?void 0:i.call(t)},contentBefore:()=>{var i;return(i=t.contentBefore)==null?void 0:i.call(t)},contentAfter:()=>{var i;return(i=t.contentAfter)==null?void 0:i.call(t)},tocBefore:()=>{var i;return(i=t.tocBefore)==null?void 0:i.call(t)},tocAfter:()=>{var i;return(i=t.tocAfter)==null?void 0:i.call(t)}})))},...o.value==="none"?{}:{navScreenBottom:()=>f(gt("BloggerInfo"))},...!r.value&&o.value==="always"?{sidebar:()=>f(gt("BloggerInfo"))}:{}})]}}),k3=U({name:"NotFoundHint",setup(){const e=ye(),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())])}}),w3=U({name:"NotFound",slots:Object,setup(e,{slots:t}){const n=yn(),l=Xt(),r=ye();return()=>[f(Yu),f(Bu,{noSidebar:!0},()=>{var o;return f("main",{id:"main-content",class:"vp-page not-found"},((o=t.default)==null?void 0:o.call(t))||[f(k3),f("div",{class:"actions"},[f("button",{type:"button",class:"action-button",onClick:()=>{window.history.go(-1)}},r.value.routeLocales.back),f("button",{type:"button",class:"action-button",onClick:()=>{n.push(r.value.home??l.value)}},r.value.routeLocales.home)])])})]}});const tf=()=>f(Ie,{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"}));tf.displayName="LockIcon";var E3={};const kn="./ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),no=Array.from({length:64},(e,t)=>t),Zl=e=>Array(e).fill(-1),Ft=[...Zl(46),0,1,...no.slice(54,64),...Zl(7),...no.slice(2,28),...Zl(6),...no.slice(28,54),...Zl(5)],qi=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],Wi=[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],nf=[1332899944,1700884034,1701343084,1684370003,1668446532,1869963892],To=(e,t)=>{if(t<=0||t>e.length)throw Error(`Illegal len: ${t}`);let n=0,l,r;const o=[];for(;n<t;){if(l=e[n++]&255,o.push(kn[l>>2&63]),l=(l&3)<<4,n>=t){o.push(kn[l&63]);break}if(r=e[n++]&255,l|=r>>4&15,o.push(kn[l&63]),l=(r&15)<<2,n>=t){o.push(kn[l&63]);break}r=e[n++]&255,l|=r>>6&3,o.push(kn[l&63]),o.push(kn[r&63])}return o.join("")},A3=(e,t)=>{if(t<=0)throw Error(`Illegal len: ${t}`);const n=e.length;let l=0,r=0,o,s,i,a,c,u;const d=[];for(;l<n-1&&r<t&&(u=e.charCodeAt(l++),o=u<Ft.length?Ft[u]:-1,u=e.charCodeAt(l++),s=u<Ft.length?Ft[u]:-1,!(o==-1||s==-1||(c=o<<2>>>0,c|=(s&48)>>4,d.push(String.fromCharCode(c)),++r>=t||l>=n)||(u=e.charCodeAt(l++),i=u<Ft.length?Ft[u]:-1,i==-1)||(c=(s&15)<<4>>>0,c|=(i&60)>>2,d.push(String.fromCharCode(c)),++r>=t||l>=n)));)u=e.charCodeAt(l++),a=u<Ft.length?Ft[u]:-1,c=(i&3)<<6>>>0,c|=a,d.push(String.fromCharCode(c)),++r;return d.map(p=>p.charCodeAt(0))},C3=(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},x3=(e,t)=>{let n,l=null;for(;(n=l!==null?l:e())!==null;){if(n>=55296&&n<=57343&&(l=e())!==null&&l>=56320&&l<=57343){t((n-55296)*1024+l-56320+65536),l=null;continue}t(n)}l!==null&&t(l)},L3=(e,t)=>{x3(e,function(n){C3(n,t)})},S3=typeof process=="object"&&E3.NEXT_RUNTIME==="edge"?setTimeout:typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:setTimeout,T3=e=>{const t=[];let n=0;return L3(()=>n>=e.length?null:e.charCodeAt(n++),l=>{t.push(l)}),t},kl=(e,t,n,l)=>{let r,o=e[t],s=e[t+1];return o^=n[0],r=l[o>>>24],r+=l[256|o>>16&255],r^=l[512|o>>8&255],r+=l[768|o&255],s^=r^n[1],r=l[s>>>24],r+=l[256|s>>16&255],r^=l[512|s>>8&255],r+=l[768|s&255],o^=r^n[2],r=l[o>>>24],r+=l[256|o>>16&255],r^=l[512|o>>8&255],r+=l[768|o&255],s^=r^n[3],r=l[s>>>24],r+=l[256|s>>16&255],r^=l[512|s>>8&255],r+=l[768|s&255],o^=r^n[4],r=l[o>>>24],r+=l[256|o>>16&255],r^=l[512|o>>8&255],r+=l[768|o&255],s^=r^n[5],r=l[s>>>24],r+=l[256|s>>16&255],r^=l[512|s>>8&255],r+=l[768|s&255],o^=r^n[6],r=l[o>>>24],r+=l[256|o>>16&255],r^=l[512|o>>8&255],r+=l[768|o&255],s^=r^n[7],r=l[s>>>24],r+=l[256|s>>16&255],r^=l[512|s>>8&255],r+=l[768|s&255],o^=r^n[8],r=l[o>>>24],r+=l[256|o>>16&255],r^=l[512|o>>8&255],r+=l[768|o&255],s^=r^n[9],r=l[s>>>24],r+=l[256|s>>16&255],r^=l[512|s>>8&255],r+=l[768|s&255],o^=r^n[10],r=l[o>>>24],r+=l[256|o>>16&255],r^=l[512|o>>8&255],r+=l[768|o&255],s^=r^n[11],r=l[s>>>24],r+=l[256|s>>16&255],r^=l[512|s>>8&255],r+=l[768|s&255],o^=r^n[12],r=l[o>>>24],r+=l[256|o>>16&255],r^=l[512|o>>8&255],r+=l[768|o&255],s^=r^n[13],r=l[s>>>24],r+=l[256|s>>16&255],r^=l[512|s>>8&255],r+=l[768|s&255],o^=r^n[14],r=l[o>>>24],r+=l[256|o>>16&255],r^=l[512|o>>8&255],r+=l[768|o&255],s^=r^n[15],r=l[s>>>24],r+=l[256|s>>16&255],r^=l[512|s>>8&255],r+=l[768|s&255],o^=r^n[16],e[t]=s^n[17],e[t+1]=o,e},An=(e,t)=>{let n=0;for(let l=0;l<4;++l)n=n<<8|e[t]&255,t=(t+1)%e.length;return{key:n,offp:t}},Ki=(e,t,n)=>{const l=t.length,r=n.length;let o=0,s=[0,0],i;for(let a=0;a<l;a++)i=An(e,o),o=i.offp,t[a]=t[a]^i.key;for(let a=0;a<l;a+=2)s=kl(s,0,t,n),t[a]=s[0],t[a+1]=s[1];for(let a=0;a<r;a+=2)s=kl(s,0,t,n),n[a]=s[0],n[a+1]=s[1]},I3=(e,t,n,l)=>{const r=n.length,o=l.length;let s=0,i=[0,0],a;for(let c=0;c<r;c++)a=An(t,s),s=a.offp,n[c]=n[c]^a.key;s=0;for(let c=0;c<r;c+=2)a=An(e,s),s=a.offp,i[0]^=a.key,a=An(e,s),s=a.offp,i[1]^=a.key,i=kl(i,0,n,l),n[c]=i[0],n[c+1]=i[1];for(let c=0;c<o;c+=2)a=An(e,s),s=a.offp,i[0]^=a.key,a=An(e,s),s=a.offp,i[1]^=a.key,i=kl(i,0,n,l),l[c]=i[0],l[c+1]=i[1]},Gi=(e,t,n,l,r)=>{const o=nf.slice(),s=o.length;if(n<4||n>31){const p=new Error(`Illegal number of rounds (4-31): ${n}`);if(l===!1)return Promise.reject(p);throw p}if(t.length!==16){const p=new Error(`Illegal salt length: ${t.length} != 16`);if(l===!1)return Promise.reject(p);throw p}n=1<<n>>>0;let i,a,c=0,u;Int32Array?(i=new Int32Array(qi),a=new Int32Array(Wi)):(i=qi.slice(),a=Wi.slice()),I3(t,e,i,a);const d=()=>{if(r&&r(c/n),c<n){const p=Date.now();for(;c<n&&(c=c+1,Ki(e,i,a),Ki(t,i,a),!(Date.now()-p>100)););}else{for(c=0;c<64;c++)for(u=0;u<s>>1;u++)kl(o,u<<1,i,a);const p=[];for(c=0;c<s;c++)p.push((o[c]>>24&255)>>>0),p.push((o[c]>>16&255)>>>0),p.push((o[c]>>8&255)>>>0),p.push((o[c]&255)>>>0);return l===!1?Promise.resolve(p):p}if(l===!1)return new Promise(p=>S3(()=>{d().then(p)}))};if(l===!1)return d();{let p;for(;;)if(typeof(p=d())<"u")return p||[]}},P3=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")}},N3=(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(To(P3(16),16)),t.join("")};function O3(e,t,n,l){if(typeof e!="string"||typeof t!="string"){const h=new Error("Invalid string / salt: Not a string");if(n===!1)return Promise.reject(h);throw h}let r,o;if(t.charAt(0)!=="$"||t.charAt(1)!=="2"){const h=new Error("Invalid salt version: "+t.substring(0,2));if(n===!1)return Promise.reject(h);throw h}if(t.charAt(2)==="$")r="\0",o=3;else{if(r=t.charAt(2),r!=="a"&&r!=="b"&&r!=="y"||t.charAt(3)!=="$"){const h=Error("Invalid salt revision: "+t.substring(2,4));if(n===!1)return Promise.reject(h);throw h}o=4}if(t.charAt(o+2)>"$"){const h=new Error("Missing salt rounds");if(n===!1)return Promise.reject(h);throw h}const s=parseInt(t.substring(o,o+1),10)*10,i=parseInt(t.substring(o+1,o+2),10),a=s+i,c=t.substring(o+3,o+25);e+=r>="a"?"\0":"";const u=T3(e),d=A3(c,16),p=h=>{const m=[];return m.push("$2"),r>="a"&&m.push(r),m.push("$"),a<10&&m.push("0"),m.push(a.toString()),m.push("$"),m.push(To(d,d.length)),m.push(To(h,nf.length*4-1)),m.join("")};return n===!1?Gi(u,d,a,!1,l).then(h=>p(h)):p(Gi(u,d,a,!0,l))}const R3=(e,t=10)=>{if(typeof t=="number"&&(t=N3(t)),typeof e!="string"||typeof t!="string")throw Error("Illegal arguments: "+typeof e+", "+typeof t);return O3(e,t,!0)},Io=(e,t)=>{if(typeof e!="string"||typeof t!="string")throw Error("Illegal arguments: "+typeof e+", "+typeof t);return t.length!==60?!1:R3(e,t.substring(0,t.length-31))===t};var lf=U({name:"PasswordModal",props:{full:Boolean},emits:["verify"],setup(e,{emit:t}){const n=Te(),l=ye(),r=J(""),o=J(!1),s=J(!1),i=L(()=>l.value.encryptLocales);let a=null;const c=()=>{a&&clearTimeout(a),o.value=!1,t("verify",r.value,s.value),Jt().then(()=>{o.value=!0,a=setTimeout(()=>{o.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:o.value}]},o.value?i.value.errorHint:f(tf,{"aria-label":i.value.iconLabel})),f("div",{class:"vp-decrypt-input"},[f("input",{type:"password",value:r.value,placeholder:i.value.placeholder,onInput:({target:u})=>{r.value=u.value},onKeydown:({key:u})=>{u==="Enter"&&c()}})]),f("div",{class:"vp-remember-password"},[f("input",{type:"checkbox",value:s.value,onChange:()=>s.value=!s.value}),i.value.remember]),f("button",{type:"button",class:"vp-decrypt-submit",onClick:()=>c()},"OK")]))}});const rf=()=>{const e=en();return L(()=>e.value.encrypt||{})},Yi="VUEPRESS_HOPE_GLOBAL_TOKEN",$3=()=>{const e=rf(),t=Kn(Yi,""),n=Hc(Yi,""),l=L(()=>{const{global:o=!1,admin:s=[]}=e.value;return o&&s.length>0}),r=L(()=>{if(l.value){if(t.value)return e.value.admin.some(o=>Io(t.value,o));if(n.value)return e.value.admin.some(o=>Io(n.value,o))}return!1});return{isEncrypted:l,isDecrypted:r,validate:(o,s=!1)=>{(s?t:n).value=o}}},lo=(e="",t)=>!!e&&Io(e,t),Ji="VUEPRESS_HOPE_PATH_TOKEN",F3=()=>{const e=Se(),t=rf(),n=Kn(Ji,{}),l=Hc(Ji,{}),r=s=>qn(t.value.config)?Zt(t.value.config).filter(i=>Vn(decodeURI(s),i)).sort((i,a)=>a.length-i.length):[],o=s=>{const i=r(s);if(i.length>0){const{config:a={}}=t.value;return{isEncrypted:!0,isDecrypted:i.some(c=>n.value[c]&&a[c].some(u=>lo(n.value[c],u))||l.value[c]&&a[c].some(u=>lo(l.value[c],u)))}}return{isDecrypted:!1,isEncrypted:!1}};return{status:L(()=>o(e.value.path)),getStatus:o,validate:(s,i=!1)=>{const{config:a={}}=t.value,c=r(e.value.path);for(const u of c)if(a[u].filter(d=>lo(s,d))){(i?n:l).value[u]=s;break}}}};var M3=U({name:"GlobalEncrypt",slots:Object,setup(e,{slots:t}){const{isDecrypted:n,isEncrypted:l,validate:r}=$3(),o=J(!1);return we(()=>{o.value=!0}),()=>f(Qu,()=>l.value?o.value?n.value?t.default():f(lf,{full:!0,onVerify:r}):null:t.default())}}),D3=U({name:"LocalEncrypt",slots:Object,setup(e,{slots:t}){const{status:n,validate:l}=F3(),r=J(!1);return we(()=>{r.value=!0}),()=>{const{isEncrypted:o,isDecrypted:s}=n.value;return o?r.value?s?t.default():f(lf,{full:!0,onVerify:l}):null:t.default()}}});f0(e=>{const t=e.t,n=e.I!==!1,l=e.i;return n?{title:t,content:l?()=>[f(Ge,{icon:l}),t]:null,order:e.O,index:e.I}:null});const j3=et({enhance:({app:e,router:t})=>{const{scrollBehavior:n}=t.options;t.options.scrollBehavior=async(...l)=>(await Ju().wait(),n(...l)),A2(e),e.component("HopeIcon",Ge),e.component("GlobalEncrypt",M3),e.component("LocalEncrypt",D3)},setup:()=>{C2(),I2()},layouts:{Layout:_3,NotFound:w3}}),B3=e=>(Ll("data-v-3b58f839"),e=e(),Sl(),e),H3={class:"item-card"},V3={class:"item-name"},U3={class:"item-description"},z3={class:"item-bar"},q3=["href"],W3=B3(()=>ie("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},[ie("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)),K3=[W3],G3=["href"],Y3=["src"],J3={class:"author-name"},Q3=U({__name:"ResItemCard",props:{item:Object},setup(e){const t=e;return(n,l)=>(yt(),Kt("div",H3,[ie("div",V3,Ut(t.item.name),1),ie("div",U3,Ut(t.item.description),1),ie("div",z3,[dn(' 三个可点击svg,一个github,一个下载,一个可点击"https://github.com/{{ username }}.png?size=80"个人头像配上id'),ie("a",{href:t.item.link,class:""},K3,8,q3),ie("div",null,[ie("a",{class:"author-info",href:`https://github.com/${t.item.author}`},[ie("img",{class:"icon avatar",src:`https://github.com/${t.item.author}.png?size=80`,alt:""},null,8,Y3),ie("div",J3,Ut(t.item.author),1)],8,G3)])])]))}}),bn=(e,t)=>{const n=e.__vccOpts||e;for(const[l,r]of t)n[l]=r;return n},X3=bn(Q3,[["__scopeId","data-v-3b58f839"],["__file","ResItemCard.vue"]]),Z3=e=>(Ll("data-v-002d38b2"),e=e(),Sl(),e),em={class:"market"},tm=Z3(()=>ie("h1",null,"主题/资源商店",-1)),nm={class:"search-box-div"},lm={class:"items"},rm=U({__name:"ResStore",setup(e){let t=L(()=>l.value?n.value.filter(r=>r.name.toLowerCase().includes(l.value.toLowerCase())||r.description.toLowerCase().includes(l.value.toLowerCase())||r.author.toLowerCase().includes(l.value.toLowerCase())).reverse():n.value.reverse()),n=J([]),l=J("");return fetch("/assets/resources.json").then(r=>r.json()).then(r=>{n.value=r}).catch(r=>console.error(r)),(r,o)=>(yt(),Kt("div",em,[tm,ie("div",nm,[Pa(ie("input",{class:"item-search-box",type:"text",placeholder:"搜索资源","onUpdate:modelValue":o[0]||(o[0]=s=>$e(l)?l.value=s:l=s)},null,512),[[oc,lt(l)]])]),ie("div",lm,[dn(" 使用filteredItems来布局商品 "),(yt(!0),Kt(ze,null,Ma(lt(t),s=>(yt(),Xo(X3,{key:s.id,item:s},null,8,["item"]))),128))])]))}}),om=bn(rm,[["__scopeId","data-v-002d38b2"],["__file","ResStore.vue"]]);var sm=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function im(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var of={exports:{}};/*!
|
||
* clipboard.js v2.0.11
|
||
* https://clipboardjs.com/
|
||
*
|
||
* Licensed MIT © Zeno Rocha
|
||
*/(function(e,t){(function(l,r){e.exports=r()})(sm,function(){return function(){var n={686:function(o,s,i){i.d(s,{default:function(){return Ye}});var a=i(279),c=i.n(a),u=i(370),d=i.n(u),p=i(817),h=i.n(p);function m(ee){try{return document.execCommand(ee)}catch{return!1}}var _=function(z){var G=h()(z);return m("cut"),G},b=_;function k(ee){var z=document.documentElement.getAttribute("dir")==="rtl",G=document.createElement("textarea");G.style.fontSize="12pt",G.style.border="0",G.style.padding="0",G.style.margin="0",G.style.position="absolute",G.style[z?"right":"left"]="-9999px";var ne=window.pageYOffset||document.documentElement.scrollTop;return G.style.top="".concat(ne,"px"),G.setAttribute("readonly",""),G.value=ee,G}var A=function(z,G){var ne=k(z);G.container.appendChild(ne);var X=h()(ne);return m("copy"),ne.remove(),X},y=function(z){var G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},ne="";return typeof z=="string"?ne=A(z,G):z instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(z==null?void 0:z.type)?ne=A(z.value,G):(ne=h()(z),m("copy")),ne},C=y;function N(ee){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?N=function(G){return typeof G}:N=function(G){return G&&typeof Symbol=="function"&&G.constructor===Symbol&&G!==Symbol.prototype?"symbol":typeof G},N(ee)}var x=function(){var z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},G=z.action,ne=G===void 0?"copy":G,X=z.container,w=z.target,D=z.text;if(ne!=="copy"&&ne!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(w!==void 0)if(w&&N(w)==="object"&&w.nodeType===1){if(ne==="copy"&&w.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(ne==="cut"&&(w.hasAttribute("readonly")||w.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(D)return C(D,{container:X});if(w)return ne==="cut"?b(w):C(w,{container:X})},I=x;function O(ee){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(G){return typeof G}:O=function(G){return G&&typeof Symbol=="function"&&G.constructor===Symbol&&G!==Symbol.prototype?"symbol":typeof G},O(ee)}function Q(ee,z){if(!(ee instanceof z))throw new TypeError("Cannot call a class as a function")}function P(ee,z){for(var G=0;G<z.length;G++){var ne=z[G];ne.enumerable=ne.enumerable||!1,ne.configurable=!0,"value"in ne&&(ne.writable=!0),Object.defineProperty(ee,ne.key,ne)}}function q(ee,z,G){return z&&P(ee.prototype,z),G&&P(ee,G),ee}function $(ee,z){if(typeof z!="function"&&z!==null)throw new TypeError("Super expression must either be null or a function");ee.prototype=Object.create(z&&z.prototype,{constructor:{value:ee,writable:!0,configurable:!0}}),z&&re(ee,z)}function re(ee,z){return re=Object.setPrototypeOf||function(ne,X){return ne.__proto__=X,ne},re(ee,z)}function Ee(ee){var z=se();return function(){var ne=K(ee),X;if(z){var w=K(this).constructor;X=Reflect.construct(ne,arguments,w)}else X=ne.apply(this,arguments);return _e(this,X)}}function _e(ee,z){return z&&(O(z)==="object"||typeof z=="function")?z:Y(ee)}function Y(ee){if(ee===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ee}function se(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function K(ee){return K=Object.setPrototypeOf?Object.getPrototypeOf:function(G){return G.__proto__||Object.getPrototypeOf(G)},K(ee)}function xe(ee,z){var G="data-clipboard-".concat(ee);if(z.hasAttribute(G))return z.getAttribute(G)}var rt=function(ee){$(G,ee);var z=Ee(G);function G(ne,X){var w;return Q(this,G),w=z.call(this),w.resolveOptions(X),w.listenClick(ne),w}return q(G,[{key:"resolveOptions",value:function(){var X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof X.action=="function"?X.action:this.defaultAction,this.target=typeof X.target=="function"?X.target:this.defaultTarget,this.text=typeof X.text=="function"?X.text:this.defaultText,this.container=O(X.container)==="object"?X.container:document.body}},{key:"listenClick",value:function(X){var w=this;this.listener=d()(X,"click",function(D){return w.onClick(D)})}},{key:"onClick",value:function(X){var w=X.delegateTarget||X.currentTarget,D=this.action(w)||"copy",j=I({action:D,container:this.container,target:this.target(w),text:this.text(w)});this.emit(j?"success":"error",{action:D,text:j,trigger:w,clearSelection:function(){w&&w.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(X){return xe("action",X)}},{key:"defaultTarget",value:function(X){var w=xe("target",X);if(w)return document.querySelector(w)}},{key:"defaultText",value:function(X){return xe("text",X)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(X){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return C(X,w)}},{key:"cut",value:function(X){return b(X)}},{key:"isSupported",value:function(){var X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],w=typeof X=="string"?[X]:X,D=!!document.queryCommandSupported;return w.forEach(function(j){D=D&&!!document.queryCommandSupported(j)}),D}}]),G}(c()),Ye=rt},828:function(o){var s=9;if(typeof Element<"u"&&!Element.prototype.matches){var i=Element.prototype;i.matches=i.matchesSelector||i.mozMatchesSelector||i.msMatchesSelector||i.oMatchesSelector||i.webkitMatchesSelector}function a(c,u){for(;c&&c.nodeType!==s;){if(typeof c.matches=="function"&&c.matches(u))return c;c=c.parentNode}}o.exports=a},438:function(o,s,i){var a=i(828);function c(p,h,m,_,b){var k=d.apply(this,arguments);return p.addEventListener(m,k,b),{destroy:function(){p.removeEventListener(m,k,b)}}}function u(p,h,m,_,b){return typeof p.addEventListener=="function"?c.apply(null,arguments):typeof m=="function"?c.bind(null,document).apply(null,arguments):(typeof p=="string"&&(p=document.querySelectorAll(p)),Array.prototype.map.call(p,function(k){return c(k,h,m,_,b)}))}function d(p,h,m,_){return function(b){b.delegateTarget=a(b.target,h),b.delegateTarget&&_.call(p,b)}}o.exports=u},879:function(o,s){s.node=function(i){return i!==void 0&&i instanceof HTMLElement&&i.nodeType===1},s.nodeList=function(i){var a=Object.prototype.toString.call(i);return i!==void 0&&(a==="[object NodeList]"||a==="[object HTMLCollection]")&&"length"in i&&(i.length===0||s.node(i[0]))},s.string=function(i){return typeof i=="string"||i instanceof String},s.fn=function(i){var a=Object.prototype.toString.call(i);return a==="[object Function]"}},370:function(o,s,i){var a=i(879),c=i(438);function u(m,_,b){if(!m&&!_&&!b)throw new Error("Missing required arguments");if(!a.string(_))throw new TypeError("Second argument must be a String");if(!a.fn(b))throw new TypeError("Third argument must be a Function");if(a.node(m))return d(m,_,b);if(a.nodeList(m))return p(m,_,b);if(a.string(m))return h(m,_,b);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function d(m,_,b){return m.addEventListener(_,b),{destroy:function(){m.removeEventListener(_,b)}}}function p(m,_,b){return Array.prototype.forEach.call(m,function(k){k.addEventListener(_,b)}),{destroy:function(){Array.prototype.forEach.call(m,function(k){k.removeEventListener(_,b)})}}}function h(m,_,b){return c(document.body,m,_,b)}o.exports=u},817:function(o){function s(i){var a;if(i.nodeName==="SELECT")i.focus(),a=i.value;else if(i.nodeName==="INPUT"||i.nodeName==="TEXTAREA"){var c=i.hasAttribute("readonly");c||i.setAttribute("readonly",""),i.select(),i.setSelectionRange(0,i.value.length),c||i.removeAttribute("readonly"),a=i.value}else{i.hasAttribute("contenteditable")&&i.focus();var u=window.getSelection(),d=document.createRange();d.selectNodeContents(i),u.removeAllRanges(),u.addRange(d),a=u.toString()}return a}o.exports=s},279:function(o){function s(){}s.prototype={on:function(i,a,c){var u=this.e||(this.e={});return(u[i]||(u[i]=[])).push({fn:a,ctx:c}),this},once:function(i,a,c){var u=this;function d(){u.off(i,d),a.apply(c,arguments)}return d._=a,this.on(i,d,c)},emit:function(i){var a=[].slice.call(arguments,1),c=((this.e||(this.e={}))[i]||[]).slice(),u=0,d=c.length;for(u;u<d;u++)c[u].fn.apply(c[u].ctx,a);return this},off:function(i,a){var c=this.e||(this.e={}),u=c[i],d=[];if(u&&a)for(var p=0,h=u.length;p<h;p++)u[p].fn!==a&&u[p].fn._!==a&&d.push(u[p]);return d.length?c[i]=d:delete c[i],this}},o.exports=s,o.exports.TinyEmitter=s}},l={};function r(o){if(l[o])return l[o].exports;var s=l[o]={exports:{}};return n[o](s,s.exports,r),s.exports}return function(){r.n=function(o){var s=o&&o.__esModule?function(){return o.default}:function(){return o};return r.d(s,{a:s}),s}}(),function(){r.d=function(o,s){for(var i in s)r.o(s,i)&&!r.o(o,i)&&Object.defineProperty(o,i,{enumerable:!0,get:s[i]})}}(),function(){r.o=function(o,s){return Object.prototype.hasOwnProperty.call(o,s)}}(),r(686)}().default})})(of);var am=of.exports;const cm=im(am),um=e=>(Ll("data-v-fb9f7c66"),e=e(),Sl(),e),fm={class:"item-card"},dm={class:"item-name"},pm={class:"item-description"},hm={class:"item-bar"},vm=["href"],mm=um(()=>ie("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},[ie("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)),gm=[mm],ym={class:"btn"},bm=["href"],_m=["src"],km={class:"author-name"},wm=U({__name:"PluginItemCard",props:{item:Object},setup(e){const t=e,n=()=>{const l=new cm(".copy-btn",{text:()=>`npm install ${t.item.module_name}`});l.on("success",()=>{}),l.on("error",()=>{})};return(l,r)=>(yt(),Kt("div",fm,[ie("div",dm,Ut(t.item.name),1),ie("div",pm,Ut(t.item.desc),1),ie("div",hm,[dn(' 三个可点击svg,一个github,一个下载,一个可点击"https://github.com/{{ username }}.png?size=80"个人头像配上id'),ie("a",{href:t.item.homepage,class:"btn"},gm,8,vm),dn(' <button class="copy-btn btn"><div @click="copyToClipboard">安装</div></button> 点击后把安装命令写入剪贴板'),ie("button",{class:"btn copy-btn",onClick:n},"复制安装命令"),ie("div",ym,[ie("a",{class:"author-info",href:`https://github.com/${t.item.author}`},[ie("img",{class:"icon avatar",src:`https://github.com/${t.item.author}.png?size=80`,alt:""},null,8,_m),ie("div",km,Ut(t.item.author),1)],8,bm)]),dn(" 复制键,复制安装命令,npm install props.item.module_name")])]))}}),Em=bn(wm,[["__scopeId","data-v-fb9f7c66"],["__file","PluginItemCard.vue"]]),sf=e=>(Ll("data-v-43257c18"),e=e(),Sl(),e),Am={class:"market"},Cm=sf(()=>ie("h1",null,"插件商店",-1)),xm=sf(()=>ie("p",null,[fr("内容来自"),ie("a",{href:"https://nonebot.dev/store/plugins"},"NoneBot插件商店"),fr("和轻雪商店,在此仅作引用,具体请访问NoneBot插件商店")],-1)),Lm={class:"search-box-div"},Sm={class:"items"},Tm=U({__name:"PluginStore",setup(e){let t=L(()=>l.value?n.value.filter(r=>r.name.toLowerCase().includes(l.value.toLowerCase())||r.desc.toLowerCase().includes(l.value.toLowerCase())||r.author.toLowerCase().includes(l.value.toLowerCase())||r.module_name.toLowerCase().includes(l.value.toLowerCase())):n.value),n=J([]),l=J("");return fetch("/assets/plugins.json").then(r=>r.json()).then(r=>{n.value=r}).catch(r=>console.error(r)),fetch("https://registry.nonebot.dev/plugins.json").then(r=>r.json()).then(r=>{n.value=n.value.concat(r)}),(r,o)=>(yt(),Kt("div",Am,[Cm,xm,dn(" 搜索框"),ie("div",Lm,[Pa(ie("input",{class:"item-search-box",type:"text",placeholder:"搜索插件","onUpdate:modelValue":o[0]||(o[0]=s=>$e(l)?l.value=s:l=s)},null,512),[[oc,lt(l)]])]),ie("div",Sm,[dn(" 使用filteredItems来布局商品 "),(yt(!0),Kt(ze,null,Ma(lt(t),s=>(yt(),Xo(Em,{key:s.id,item:s},null,8,["item"]))),128))])]))}}),Im=bn(Tm,[["__scopeId","data-v-43257c18"],["__file","PluginStore.vue"]]),Pm={class:"info-box"},Nm=ie("h1",null,"Dashboard",-1),Om={class:"info"},Rm={class:"info-item"},$m=ie("h2",null,"Total",-1),Fm={class:"info-item"},Mm=ie("h2",null,"Online",-1),Dm=U({__name:"Dash",setup(e){let t=J(0),n=J(0);return fetch("https://api.liteyuki.icu/count").then(l=>l.json()).then(l=>{t.value=l.register}).catch(l=>console.error(l)),fetch("https://api.liteyuki.icu/online").then(l=>l.json()).then(l=>{n.value=l.online}).catch(l=>console.error(l)),(l,r)=>(yt(),Kt("div",Pm,[Nm,ie("div",Om,[ie("div",Rm,[$m,ie("p",null,Ut(lt(t)),1)]),ie("div",Fm,[Mm,ie("p",null,Ut(lt(n)),1)])])]))}}),jm=bn(Dm,[["__file","Dash.vue"]]),Bm={};function Hm(e,t){return null}const Vm=bn(Bm,[["render",Hm],["__file","Home.vue"]]),Um={},af=e=>(Ll("data-v-ab5c02e3"),e=e(),Sl(),e),zm=af(()=>ie("div",{style:{"text-align":"center"}},[ie("h2",null,"地理分布"),ie("p",null,"数据来源于Liteyuki API")],-1)),qm=af(()=>ie("div",{id:"main-chart",style:{width:"100%",height:"600px"}},null,-1)),Wm=[zm,qm];function Km(e,t){return yt(),Kt("div",null,Wm)}const Gm=bn(Um,[["render",Km],["__scopeId","data-v-ab5c02e3"],["__file","Geo.vue"]]),Ym=et({enhance:({app:e,router:t,siteData:n})=>{e.component("homeComp",Vm),e.component("dashComp",jm),e.component("resourceStoreComp",om),e.component("pluginStoreComp",Im),e.component("geoComp",Gm)}}),er=[u1,r0,u0,m0,b0,E0,L0,N0,B0,Q0,Ov,Kv,u2,j3,Ym],Jm=JSON.parse('{"base":"/","lang":"en-US","title":"","description":"","head":[["script",{"src":"/js/style.js","type":"module"}],["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":{"/":{"lang":"zh-CN","title":"LiteyukiBot 轻雪机器人","description":"LiteyukiBot | 轻雪机器人 | An OneBot Standard ChatBot | 一个OneBot标准的聊天机器人","head":[["script",{"src":"/js/zh/get_data.js","type":"module"}]]},"/en/":{"lang":"en-US","title":"LiteyukiBot","description":"LiteyukiBot | An OneBot Standard ChatBot ","head":[["script",{"src":"/js/en/get_data.js","type":"module"}]]}}}');var Zn=De(Jm),Qm=Th,Xm=()=>{const e=t1({history:Qm(es("/")),routes:[{name:"vuepress-route",path:"/:catchAll(.*)",components:{}}],scrollBehavior:(t,n,l)=>l||(t.hash?{el:t.hash}:{top:0})});return e.beforeResolve(async(t,n)=>{if(t.path!==n.path||n===Lt){const l=Lr(t.path);if(l.path!==t.path)return l.path;const r=await l.loader();t.meta={...l.meta,_pageChunk:r}}else t.path===n.path&&(t.meta=n.meta)}),e},Zm=e=>{e.component("ClientOnly",Sr),e.component("Content",Ec),e.component("RouteLink",Qe)},eg=(e,t,n)=>{const l=L(()=>t.currentRoute.value.path),r=qo((b,k)=>({get(){return b(),t.currentRoute.value.meta._pageChunk},set(A){t.currentRoute.value.meta._pageChunk=A,k()}})),o=L(()=>rn.resolveLayouts(n)),s=L(()=>rn.resolveRouteLocale(Zn.value.locales,l.value)),i=L(()=>rn.resolveSiteLocaleData(Zn.value,s.value)),a=L(()=>r.value.comp),c=L(()=>r.value.data),u=L(()=>c.value.frontmatter),d=L(()=>rn.resolvePageHeadTitle(c.value,i.value)),p=L(()=>rn.resolvePageHead(d.value,u.value,i.value)),h=L(()=>rn.resolvePageLang(c.value,i.value)),m=L(()=>rn.resolvePageLayout(c.value,o.value)),_={layouts:o,pageData:c,pageComponent:a,pageFrontmatter:u,pageHead:p,pageHeadTitle:d,pageLang:h,pageLayout:m,redirects:bo,routeLocale:s,routePath:l,routes:gl,siteData:Zn,siteLocaleData:i};return e.provide(ls,_),Object.defineProperties(e.config.globalProperties,{$frontmatter:{get:()=>u.value},$head:{get:()=>p.value},$headTitle:{get:()=>d.value},$lang:{get:()=>h.value},$page:{get:()=>c.value},$routeLocale:{get:()=>s.value},$site:{get:()=>Zn.value},$siteLocale:{get:()=>i.value},$withBase:{get:()=>Ke}}),_},tg=()=>{const e=r1(),t=rs();let n=[];const l=()=>{e.value.forEach(s=>{const i=ng(s);i&&n.push(i)})},r=()=>{const s=[];return e.value.forEach(i=>{const a=lg(i);a&&s.push(a)}),s},o=()=>{document.documentElement.lang=t.value;const s=r();n.forEach((i,a)=>{const c=s.findIndex(u=>i.isEqualNode(u));c===-1?(i.remove(),delete n[a]):s.splice(c,1)}),s.forEach(i=>document.head.appendChild(i)),n=[...n.filter(i=>!!i),...s]};Nn(s1,o),we(()=>{l(),ve(e,o,{immediate:!1})})},ng=([e,t,n=""])=>{const l=Object.entries(t).map(([i,a])=>Ne(a)?`[${i}=${JSON.stringify(a)}]`:a===!0?`[${i}]`:"").join(""),r=`head > ${e}${l}`;return Array.from(document.querySelectorAll(r)).find(i=>i.innerText===n)||null},lg=([e,t,n])=>{if(!Ne(e))return null;const l=document.createElement(e);return qn(t)&&Object.entries(t).forEach(([r,o])=>{Ne(o)?l.setAttribute(r,o):o===!0&&l.setAttribute(r,"")}),Ne(n)&&l.appendChild(document.createTextNode(n)),l},rg=Dp,og=async()=>{var n;const e=rg({name:"Vuepress",setup(){var o;tg();for(const s of er)(o=s.setup)==null||o.call(s);const l=er.flatMap(({rootComponents:s=[]})=>s.map(i=>f(i))),r=o1();return()=>[f(r.value),l]}}),t=Xm();Zm(e),eg(e,t,er);for(const l of er)await((n=l.enhance)==null?void 0:n.call(l,{app:e,router:t,siteData:Zn}));return e.use(t),{app:e,router:t}};og().then(({app:e,router:t})=>{t.isReady().then(()=>{e.mount("#app")})});export{bn as _,Pe as a,ie as b,Kt as c,og as createVueApp,fr as d,sg as e,yt as o,gt as r,ld as w};
|