app/assets/app-gnbtOU7f.js

46 lines
356 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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 Nr(e,t){const n=new Set(e.split(","));return t?l=>n.has(l.toLowerCase()):l=>n.has(l)}const Ce={},xn=[],ct=()=>{},od=()=>!1,Ll=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Pr=e=>e.startsWith("onUpdate:"),Re=Object.assign,Or=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},cd=Object.prototype.hasOwnProperty,pe=(e,t)=>cd.call(e,t),re=Array.isArray,Sn=e=>ps(e)==="[object Map]",Ja=e=>ps(e)==="[object Set]",ce=e=>typeof e=="function",Fe=e=>typeof e=="string",Un=e=>typeof e=="symbol",ke=e=>e!==null&&typeof e=="object",Xa=e=>(ke(e)||ce(e))&&ce(e.then)&&ce(e.catch),Za=Object.prototype.toString,ps=e=>Za.call(e),ud=e=>ps(e).slice(8,-1),eo=e=>ps(e)==="[object Object]",Rr=e=>Fe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Tn=Nr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),vs=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},dd=/-(\w)/g,ht=vs(e=>e.replace(dd,(t,n)=>n?n.toUpperCase():"")),fd=/\B([A-Z])/g,zn=vs(e=>e.replace(fd,"-$1").toLowerCase()),Al=vs(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ps=vs(e=>e?`on${Al(e)}`:""),Gt=(e,t)=>!Object.is(e,t),ns=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},rs=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},rr=e=>{const t=parseFloat(e);return isNaN(t)?e:t},hd=e=>{const t=Fe(e)?Number(e):NaN;return isNaN(t)?e:t};let _i;const to=()=>_i||(_i=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ms(e){if(re(e)){const t={};for(let n=0;n<e.length;n++){const l=e[n],s=Fe(l)?gd(l):ms(l);if(s)for(const r in s)t[r]=s[r]}return t}else if(Fe(e)||ke(e))return e}const pd=/;(?![^(]*\))/g,vd=/:([^]+)/,md=/\/\*[^]*?\*\//g;function gd(e){const t={};return e.replace(md,"").split(pd).forEach(n=>{if(n){const l=n.split(vd);l.length>1&&(t[l[0].trim()]=l[1].trim())}}),t}function Fr(e){let t="";if(Fe(e))t=e;else if(re(e))for(let n=0;n<e.length;n++){const l=Fr(e[n]);l&&(t+=l+" ")}else if(ke(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const yd="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",_d=Nr(yd);function no(e){return!!e||e===""}const Tt=e=>Fe(e)?e:e==null?"":re(e)||ke(e)&&(e.toString===Za||!ce(e.toString))?JSON.stringify(e,lo,2):String(e),lo=(e,t)=>t&&t.__v_isRef?lo(e,t.value):Sn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[l,s],r)=>(n[Os(l,r)+" =>"]=s,n),{})}:Ja(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Os(n))}:Un(t)?Os(t):ke(t)&&!re(t)&&!eo(t)?String(t):t,Os=(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 st;class bd{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=st,!t&&st&&(this.index=(st.scopes||(st.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=st;try{return st=this,t()}finally{st=n}}}on(){st=this}off(){st=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 s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0,this._active=!1}}}function kd(e,t=st){t&&t.active&&t.effects.push(e)}function so(){return st}function wd(e){st&&st.cleanups.push(e)}let dn;class $r{constructor(t,n,l,s){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,kd(this,s)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,vn();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(Ed(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),mn()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=qt,n=dn;try{return qt=!0,dn=this,this._runnings++,bi(this),this.fn()}finally{ki(this),this._runnings--,dn=n,qt=t}}stop(){var t;this.active&&(bi(this),ki(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function Ed(e){return e.value}function bi(e){e._trackId++,e._depsLength=0}function ki(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)ro(e.deps[t],e);e.deps.length=e._depsLength}}function ro(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let qt=!0,ir=0;const io=[];function vn(){io.push(qt),qt=!1}function mn(){const e=io.pop();qt=e===void 0?!0:e}function Mr(){ir++}function Dr(){for(ir--;!ir&&ar.length;)ar.shift()()}function ao(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const l=e.deps[e._depsLength];l!==t?(l&&ro(l,e),e.deps[e._depsLength++]=t):e._depsLength++}}const ar=[];function oo(e,t,n){Mr();for(const l of e.keys()){let s;l._dirtyLevel<t&&(s??(s=e.get(l)===l._trackId))&&(l._shouldSchedule||(l._shouldSchedule=l._dirtyLevel===0),l._dirtyLevel=t),l._shouldSchedule&&(s??(s=e.get(l)===l._trackId))&&(l.trigger(),(!l._runnings||l.allowRecurse)&&l._dirtyLevel!==2&&(l._shouldSchedule=!1,l.scheduler&&ar.push(l.scheduler)))}Dr()}const co=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},is=new WeakMap,fn=Symbol(""),or=Symbol("");function tt(e,t,n){if(qt&&dn){let l=is.get(e);l||is.set(e,l=new Map);let s=l.get(n);s||l.set(n,s=co(()=>l.delete(n))),ao(dn,s)}}function Nt(e,t,n,l,s,r){const i=is.get(e);if(!i)return;let a=[];if(t==="clear")a=[...i.values()];else if(n==="length"&&re(e)){const o=Number(l);i.forEach((c,u)=>{(u==="length"||!Un(u)&&u>=o)&&a.push(c)})}else switch(n!==void 0&&a.push(i.get(n)),t){case"add":re(e)?Rr(n)&&a.push(i.get("length")):(a.push(i.get(fn)),Sn(e)&&a.push(i.get(or)));break;case"delete":re(e)||(a.push(i.get(fn)),Sn(e)&&a.push(i.get(or)));break;case"set":Sn(e)&&a.push(i.get(fn));break}Mr();for(const o of a)o&&oo(o,4);Dr()}function Cd(e,t){var n;return(n=is.get(e))==null?void 0:n.get(t)}const Ld=Nr("__proto__,__v_isRef,__isVue"),uo=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Un)),wi=Ad();function Ad(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const l=de(this);for(let r=0,i=this.length;r<i;r++)tt(l,"get",r+"");const s=l[t](...n);return s===-1||s===!1?l[t](...n.map(de)):s}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){vn(),Mr();const l=de(this)[t].apply(this,n);return Dr(),mn(),l}}),e}function xd(e){const t=de(this);return tt(t,"has",e),t.hasOwnProperty(e)}class fo{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,l){const s=this._isReadonly,r=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return r;if(n==="__v_raw")return l===(s?r?jd:mo:r?vo:po).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(l)?t:void 0;const i=re(t);if(!s){if(i&&pe(wi,n))return Reflect.get(wi,n,l);if(n==="hasOwnProperty")return xd}const a=Reflect.get(t,n,l);return(Un(n)?uo.has(n):Ld(n))||(s||tt(t,"get",n),r)?a:Oe(a)?i&&Rr(n)?a:a.value:ke(a)?s?Sl(a):xl(a):a}}class ho extends fo{constructor(t=!1){super(!1,t)}set(t,n,l,s){let r=t[n];if(!this._isShallow){const o=$n(r);if(!as(l)&&!$n(l)&&(r=de(r),l=de(l)),!re(t)&&Oe(r)&&!Oe(l))return o?!1:(r.value=l,!0)}const i=re(t)&&Rr(n)?Number(n)<t.length:pe(t,n),a=Reflect.set(t,n,l,s);return t===de(s)&&(i?Gt(l,r)&&Nt(t,"set",n,l):Nt(t,"add",n,l)),a}deleteProperty(t,n){const l=pe(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&l&&Nt(t,"delete",n,void 0),s}has(t,n){const l=Reflect.has(t,n);return(!Un(n)||!uo.has(n))&&tt(t,"has",n),l}ownKeys(t){return tt(t,"iterate",re(t)?"length":fn),Reflect.ownKeys(t)}}class Sd extends fo{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Td=new ho,Id=new Sd,Nd=new ho(!0),Vr=e=>e,gs=e=>Reflect.getPrototypeOf(e);function jl(e,t,n=!1,l=!1){e=e.__v_raw;const s=de(e),r=de(t);n||(Gt(t,r)&&tt(s,"get",t),tt(s,"get",r));const{has:i}=gs(s),a=l?Vr:n?Hr:dl;if(i.call(s,t))return a(e.get(t));if(i.call(s,r))return a(e.get(r));e!==s&&e.get(t)}function Bl(e,t=!1){const n=this.__v_raw,l=de(n),s=de(e);return t||(Gt(e,s)&&tt(l,"has",e),tt(l,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function Hl(e,t=!1){return e=e.__v_raw,!t&&tt(de(e),"iterate",fn),Reflect.get(e,"size",e)}function Ei(e){e=de(e);const t=de(this);return gs(t).has.call(t,e)||(t.add(e),Nt(t,"add",e,e)),this}function Ci(e,t){t=de(t);const n=de(this),{has:l,get:s}=gs(n);let r=l.call(n,e);r||(e=de(e),r=l.call(n,e));const i=s.call(n,e);return n.set(e,t),r?Gt(t,i)&&Nt(n,"set",e,t):Nt(n,"add",e,t),this}function Li(e){const t=de(this),{has:n,get:l}=gs(t);let s=n.call(t,e);s||(e=de(e),s=n.call(t,e)),l&&l.call(t,e);const r=t.delete(e);return s&&Nt(t,"delete",e,void 0),r}function Ai(){const e=de(this),t=e.size!==0,n=e.clear();return t&&Nt(e,"clear",void 0,void 0),n}function Ul(e,t){return function(l,s){const r=this,i=r.__v_raw,a=de(i),o=t?Vr:e?Hr:dl;return!e&&tt(a,"iterate",fn),i.forEach((c,u)=>l.call(s,o(c),o(u),r))}}function zl(e,t,n){return function(...l){const s=this.__v_raw,r=de(s),i=Sn(r),a=e==="entries"||e===Symbol.iterator&&i,o=e==="keys"&&i,c=s[e](...l),u=n?Vr:t?Hr:dl;return!t&&tt(r,"iterate",o?or:fn),{next(){const{value:f,done:h}=c.next();return h?{value:f,done:h}:{value:a?[u(f[0]),u(f[1])]:u(f),done:h}},[Symbol.iterator](){return this}}}}function Rt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Pd(){const e={get(r){return jl(this,r)},get size(){return Hl(this)},has:Bl,add:Ei,set:Ci,delete:Li,clear:Ai,forEach:Ul(!1,!1)},t={get(r){return jl(this,r,!1,!0)},get size(){return Hl(this)},has:Bl,add:Ei,set:Ci,delete:Li,clear:Ai,forEach:Ul(!1,!0)},n={get(r){return jl(this,r,!0)},get size(){return Hl(this,!0)},has(r){return Bl.call(this,r,!0)},add:Rt("add"),set:Rt("set"),delete:Rt("delete"),clear:Rt("clear"),forEach:Ul(!0,!1)},l={get(r){return jl(this,r,!0,!0)},get size(){return Hl(this,!0)},has(r){return Bl.call(this,r,!0)},add:Rt("add"),set:Rt("set"),delete:Rt("delete"),clear:Rt("clear"),forEach:Ul(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=zl(r,!1,!1),n[r]=zl(r,!0,!1),t[r]=zl(r,!1,!0),l[r]=zl(r,!0,!0)}),[e,n,t,l]}const[Od,Rd,Fd,$d]=Pd();function jr(e,t){const n=t?e?$d:Fd:e?Rd:Od;return(l,s,r)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?l:Reflect.get(pe(n,s)&&s in l?n:l,s,r)}const Md={get:jr(!1,!1)},Dd={get:jr(!1,!0)},Vd={get:jr(!0,!1)},po=new WeakMap,vo=new WeakMap,mo=new WeakMap,jd=new WeakMap;function Bd(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Hd(e){return e.__v_skip||!Object.isExtensible(e)?0:Bd(ud(e))}function xl(e){return $n(e)?e:Br(e,!1,Td,Md,po)}function go(e){return Br(e,!1,Nd,Dd,vo)}function Sl(e){return Br(e,!0,Id,Vd,mo)}function Br(e,t,n,l,s){if(!ke(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=s.get(e);if(r)return r;const i=Hd(e);if(i===0)return e;const a=new Proxy(e,i===2?l:n);return s.set(e,a),a}function In(e){return $n(e)?In(e.__v_raw):!!(e&&e.__v_isReactive)}function $n(e){return!!(e&&e.__v_isReadonly)}function as(e){return!!(e&&e.__v_isShallow)}function yo(e){return In(e)||$n(e)}function de(e){const t=e&&e.__v_raw;return t?de(t):e}function _o(e){return Object.isExtensible(e)&&rs(e,"__v_skip",!0),e}const dl=e=>ke(e)?xl(e):e,Hr=e=>ke(e)?Sl(e):e;class bo{constructor(t,n,l,s){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new $r(()=>t(this._value),()=>nl(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=l}get value(){const t=de(this);return(!t._cacheable||t.effect.dirty)&&Gt(t._value,t._value=t.effect.run())&&nl(t,4),Ur(t),t.effect._dirtyLevel>=2&&nl(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function Ud(e,t,n=!1){let l,s;const r=ce(e);return r?(l=e,s=ct):(l=e.get,s=e.set),new bo(l,s,r||!s,n)}function Ur(e){var t;qt&&dn&&(e=de(e),ao(dn,(t=e.dep)!=null?t:e.dep=co(()=>e.dep=void 0,e instanceof bo?e:void 0)))}function nl(e,t=4,n){e=de(e);const l=e.dep;l&&oo(l,t)}function Oe(e){return!!(e&&e.__v_isRef===!0)}function Q(e){return ko(e,!1)}function De(e){return ko(e,!0)}function ko(e,t){return Oe(e)?e:new zd(e,t)}class zd{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:de(t),this._value=n?t:dl(t)}get value(){return Ur(this),this._value}set value(t){const n=this.__v_isShallow||as(t)||$n(t);t=n?t:de(t),Gt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:dl(t),nl(this,4))}}function Xe(e){return Oe(e)?e.value:e}const qd={get:(e,t,n)=>Xe(Reflect.get(e,t,n)),set:(e,t,n,l)=>{const s=e[t];return Oe(s)&&!Oe(n)?(s.value=n,!0):Reflect.set(e,t,n,l)}};function wo(e){return In(e)?e:new Proxy(e,qd)}class Wd{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:l}=t(()=>Ur(this),()=>nl(this));this._get=n,this._set=l}get value(){return this._get()}set value(t){this._set(t)}}function zr(e){return new Wd(e)}function Gd(e){const t=re(e)?new Array(e.length):{};for(const n in e)t[n]=Eo(e,n);return t}class Kd{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 Cd(de(this._object),this._key)}}class Yd{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function ys(e,t,n){return Oe(e)?e:ce(e)?new Yd(e):ke(e)&&arguments.length>1?Eo(e,t,n):Q(e)}function Eo(e,t,n){const l=e[t];return Oe(l)?l:new Kd(e,t,n)}/**
* @vue/runtime-core v3.4.21
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function Wt(e,t,n,l){try{return l?e(...l):e()}catch(s){Tl(s,t,n)}}function ut(e,t,n,l){if(ce(e)){const r=Wt(e,t,n,l);return r&&Xa(r)&&r.catch(i=>{Tl(i,t,n)}),r}const s=[];for(let r=0;r<e.length;r++)s.push(ut(e[r],t,n,l));return s}function Tl(e,t,n,l=!0){const s=t?t.vnode:null;if(t){let r=t.parent;const i=t.proxy,a=`https://vuejs.org/error-reference/#runtime-${n}`;for(;r;){const c=r.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](e,i,a)===!1)return}r=r.parent}const o=t.appContext.config.errorHandler;if(o){Wt(o,null,10,[e,i,a]);return}}Qd(e,n,s,l)}function Qd(e,t,n,l=!0){console.error(e)}let fl=!1,cr=!1;const Ue=[];let Et=0;const Nn=[];let jt=null,an=0;const Co=Promise.resolve();let qr=null;function Qt(e){const t=qr||Co;return e?t.then(this?e.bind(this):e):t}function Jd(e){let t=Et+1,n=Ue.length;for(;t<n;){const l=t+n>>>1,s=Ue[l],r=hl(s);r<e||r===e&&s.pre?t=l+1:n=l}return t}function _s(e){(!Ue.length||!Ue.includes(e,fl&&e.allowRecurse?Et+1:Et))&&(e.id==null?Ue.push(e):Ue.splice(Jd(e.id),0,e),Lo())}function Lo(){!fl&&!cr&&(cr=!0,qr=Co.then(Ao))}function Xd(e){const t=Ue.indexOf(e);t>Et&&Ue.splice(t,1)}function Zd(e){re(e)?Nn.push(...e):(!jt||!jt.includes(e,e.allowRecurse?an+1:an))&&Nn.push(e),Lo()}function xi(e,t,n=fl?Et+1:0){for(;n<Ue.length;n++){const l=Ue[n];if(l&&l.pre){if(e&&l.id!==e.uid)continue;Ue.splice(n,1),n--,l()}}}function os(e){if(Nn.length){const t=[...new Set(Nn)].sort((n,l)=>hl(n)-hl(l));if(Nn.length=0,jt){jt.push(...t);return}for(jt=t,an=0;an<jt.length;an++)jt[an]();jt=null,an=0}}const hl=e=>e.id==null?1/0:e.id,ef=(e,t)=>{const n=hl(e)-hl(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Ao(e){cr=!1,fl=!0,Ue.sort(ef);try{for(Et=0;Et<Ue.length;Et++){const t=Ue[Et];t&&t.active!==!1&&Wt(t,null,14)}}finally{Et=0,Ue.length=0,os(),fl=!1,qr=null,(Ue.length||Nn.length)&&Ao()}}function tf(e,t,...n){if(e.isUnmounted)return;const l=e.vnode.props||Ce;let s=n;const r=t.startsWith("update:"),i=r&&t.slice(7);if(i&&i in l){const u=`${i==="modelValue"?"model":i}Modifiers`,{number:f,trim:h}=l[u]||Ce;h&&(s=n.map(p=>Fe(p)?p.trim():p)),f&&(s=n.map(rr))}let a,o=l[a=Ps(t)]||l[a=Ps(ht(t))];!o&&r&&(o=l[a=Ps(zn(t))]),o&&ut(o,e,6,s);const c=l[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,ut(c,e,6,s)}}function xo(e,t,n=!1){const l=t.emitsCache,s=l.get(e);if(s!==void 0)return s;const r=e.emits;let i={},a=!1;if(!ce(e)){const o=c=>{const u=xo(c,t,!0);u&&(a=!0,Re(i,u))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return!r&&!a?(ke(e)&&l.set(e,null),null):(re(r)?r.forEach(o=>i[o]=null):Re(i,r),ke(e)&&l.set(e,i),i)}function bs(e,t){return!e||!Ll(t)?!1:(t=t.slice(2).replace(/Once$/,""),pe(e,t[0].toLowerCase()+t.slice(1))||pe(e,zn(t))||pe(e,t))}let We=null,ks=null;function cs(e){const t=We;return We=e,ks=e&&e.type.__scopeId||null,t}function qn(e){ks=e}function Wn(){ks=null}function nf(e,t=We,n){if(!t||e._n)return e;const l=(...s)=>{l._d&&Vi(-1);const r=cs(t);let i;try{i=e(...s)}finally{cs(r),l._d&&Vi(1)}return i};return l._n=!0,l._c=!0,l._d=!0,l}function Rs(e){const{type:t,vnode:n,proxy:l,withProxy:s,props:r,propsOptions:[i],slots:a,attrs:o,emit:c,render:u,renderCache:f,data:h,setupState:p,ctx:m,inheritAttrs:b}=e;let _,k;const C=cs(e);try{if(n.shapeFlag&4){const L=s||l,O=L;_=mt(u.call(O,L,f,r,p,h,m)),k=o}else{const L=t;_=mt(L.length>1?L(r,{attrs:o,slots:a,emit:c}):L(r,null)),k=t.props?o:lf(o)}}catch(L){al.length=0,Tl(L,e,1),_=Te(dt)}let y=_;if(k&&b!==!1){const L=Object.keys(k),{shapeFlag:O}=y;L.length&&O&7&&(i&&L.some(Pr)&&(k=sf(k,i)),y=Kt(y,k))}return n.dirs&&(y=Kt(y),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&(y.transition=n.transition),_=y,cs(C),_}const lf=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ll(n))&&((t||(t={}))[n]=e[n]);return t},sf=(e,t)=>{const n={};for(const l in e)(!Pr(l)||!(l.slice(9)in t))&&(n[l]=e[l]);return n};function rf(e,t,n){const{props:l,children:s,component:r}=e,{props:i,children:a,patchFlag:o}=t,c=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&o>=0){if(o&1024)return!0;if(o&16)return l?Si(l,i,c):!!i;if(o&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const h=u[f];if(i[h]!==l[h]&&!bs(c,h))return!0}}}else return(s||a)&&(!a||!a.$stable)?!0:l===i?!1:l?i?Si(l,i,c):!0:!!i;return!1}function Si(e,t,n){const l=Object.keys(t);if(l.length!==Object.keys(e).length)return!0;for(let s=0;s<l.length;s++){const r=l[s];if(t[r]!==e[r]&&!bs(n,r))return!0}return!1}function af({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 So="components";function yt(e,t){return cf(So,e,!0,t)||e}const of=Symbol.for("v-ndc");function cf(e,t,n=!0,l=!1){const s=We||je;if(s){const r=s.type;if(e===So){const a=lh(r,!1);if(a&&(a===t||a===ht(t)||a===Al(ht(t))))return r}const i=Ti(s[e]||r[e],t)||Ti(s.appContext[e],t);return!i&&l?r:i}}function Ti(e,t){return e&&(e[t]||e[ht(t)]||e[Al(ht(t))])}const uf=e=>e.__isSuspense;function To(e,t){t&&t.pendingBranch?re(e)?t.effects.push(...e):t.effects.push(e):Zd(e)}const df=Symbol.for("v-scx"),ff=()=>Me(df);function Io(e,t){return Wr(e,null,t)}const ql={};function ve(e,t,n){return Wr(e,t,n)}function Wr(e,t,{immediate:n,deep:l,flush:s,once:r,onTrack:i,onTrigger:a}=Ce){if(t&&r){const A=t;t=(...N)=>{A(...N),O()}}const o=je,c=A=>l===!0?A:cn(A,l===!1?1:void 0);let u,f=!1,h=!1;if(Oe(e)?(u=()=>e.value,f=as(e)):In(e)?(u=()=>c(e),f=!0):re(e)?(h=!0,f=e.some(A=>In(A)||as(A)),u=()=>e.map(A=>{if(Oe(A))return A.value;if(In(A))return c(A);if(ce(A))return Wt(A,o,2)})):ce(e)?t?u=()=>Wt(e,o,2):u=()=>(p&&p(),ut(e,o,3,[m])):u=ct,t&&l){const A=u;u=()=>cn(A())}let p,m=A=>{p=y.onStop=()=>{Wt(A,o,4),p=y.onStop=void 0}},b;if(Ol)if(m=ct,t?n&&ut(t,o,3,[u(),h?[]:void 0,m]):u(),s==="sync"){const A=ff();b=A.__watcherHandles||(A.__watcherHandles=[])}else return ct;let _=h?new Array(e.length).fill(ql):ql;const k=()=>{if(!(!y.active||!y.dirty))if(t){const A=y.run();(l||f||(h?A.some((N,R)=>Gt(N,_[R])):Gt(A,_)))&&(p&&p(),ut(t,o,3,[A,_===ql?void 0:h&&_[0]===ql?[]:_,m]),_=A)}else y.run()};k.allowRecurse=!!t;let C;s==="sync"?C=k:s==="post"?C=()=>Qe(k,o&&o.suspense):(k.pre=!0,o&&(k.id=o.uid),C=()=>_s(k));const y=new $r(u,ct,C),L=so(),O=()=>{y.stop(),L&&Or(L.effects,y)};return t?n?k():_=y.run():s==="post"?Qe(y.run.bind(y),o&&o.suspense):y.run(),b&&b.push(O),O}function hf(e,t,n){const l=this.proxy,s=Fe(e)?e.includes(".")?No(l,e):()=>l[e]:e.bind(l,l);let r;ce(t)?r=t:(r=t.handler,n=t);const i=Pl(this),a=Wr(s,r.bind(l),n);return i(),a}function No(e,t){const n=t.split(".");return()=>{let l=e;for(let s=0;s<n.length&&l;s++)l=l[n[s]];return l}}function cn(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),Oe(e))cn(e.value,t,n,l);else if(re(e))for(let s=0;s<e.length;s++)cn(e[s],t,n,l);else if(Ja(e)||Sn(e))e.forEach(s=>{cn(s,t,n,l)});else if(eo(e))for(const s in e)cn(e[s],t,n,l);return e}function Po(e,t){if(We===null)return e;const n=Cs(We)||We.proxy,l=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[r,i,a,o=Ce]=t[s];r&&(ce(r)&&(r={mounted:r,updated:r}),r.deep&&cn(i),l.push({dir:r,instance:n,value:i,oldValue:void 0,arg:a,modifiers:o}))}return e}function wt(e,t,n,l){const s=e.dirs,r=t&&t.dirs;for(let i=0;i<s.length;i++){const a=s[i];r&&(a.oldValue=r[i].value);let o=a.dir[l];o&&(vn(),ut(o,n,8,[e.el,a,e,t]),mn())}}const Bt=Symbol("_leaveCb"),Wl=Symbol("_enterCb");function Oo(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return we(()=>{e.isMounted=!0}),Kr(()=>{e.isUnmounting=!0}),e}const it=[Function,Array],Ro={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:it,onEnter:it,onAfterEnter:it,onEnterCancelled:it,onBeforeLeave:it,onLeave:it,onAfterLeave:it,onLeaveCancelled:it,onBeforeAppear:it,onAppear:it,onAfterAppear:it,onAppearCancelled:it},pf={name:"BaseTransition",props:Ro,setup(e,{slots:t}){const n=Nl(),l=Oo();return()=>{const s=t.default&&Gr(t.default(),!0);if(!s||!s.length)return;let r=s[0];if(s.length>1){for(const h of s)if(h.type!==dt){r=h;break}}const i=de(e),{mode:a}=i;if(l.isLeaving)return Fs(r);const o=Ii(r);if(!o)return Fs(r);const c=pl(o,i,l,n);vl(o,c);const u=n.subTree,f=u&&Ii(u);if(f&&f.type!==dt&&!on(o,f)){const h=pl(f,i,l,n);if(vl(f,h),a==="out-in")return l.isLeaving=!0,h.afterLeave=()=>{l.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Fs(r);a==="in-out"&&o.type!==dt&&(h.delayLeave=(p,m,b)=>{const _=Fo(l,f);_[String(f.key)]=f,p[Bt]=()=>{m(),p[Bt]=void 0,delete c.delayedLeave},c.delayedLeave=b})}return r}}},vf=pf;function Fo(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 pl(e,t,n,l){const{appear:s,mode:r,persisted:i=!1,onBeforeEnter:a,onEnter:o,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:f,onLeave:h,onAfterLeave:p,onLeaveCancelled:m,onBeforeAppear:b,onAppear:_,onAfterAppear:k,onAppearCancelled:C}=t,y=String(e.key),L=Fo(n,e),O=(R,J)=>{R&&ut(R,l,9,J)},A=(R,J)=>{const P=J[1];O(R,J),re(R)?R.every(q=>q.length<=1)&&P():R.length<=1&&P()},N={mode:r,persisted:i,beforeEnter(R){let J=a;if(!n.isMounted)if(s)J=b||a;else return;R[Bt]&&R[Bt](!0);const P=L[y];P&&on(e,P)&&P.el[Bt]&&P.el[Bt](),O(J,[R])},enter(R){let J=o,P=c,q=u;if(!n.isMounted)if(s)J=_||o,P=k||c,q=C||u;else return;let $=!1;const se=R[Wl]=Ee=>{$||($=!0,Ee?O(q,[R]):O(P,[R]),N.delayedLeave&&N.delayedLeave(),R[Wl]=void 0)};J?A(J,[R,se]):se()},leave(R,J){const P=String(e.key);if(R[Wl]&&R[Wl](!0),n.isUnmounting)return J();O(f,[R]);let q=!1;const $=R[Bt]=se=>{q||(q=!0,J(),se?O(m,[R]):O(p,[R]),R[Bt]=void 0,L[P]===e&&delete L[P])};L[P]=e,h?A(h,[R,$]):$()},clone(R){return pl(R,t,n,l)}};return N}function Fs(e){if(Il(e))return e=Kt(e),e.children=null,e}function Ii(e){return Il(e)?e.children?e.children[0]:void 0:e}function vl(e,t){e.shapeFlag&6&&e.component?vl(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 Gr(e,t=!1,n){let l=[],s=0;for(let r=0;r<e.length;r++){let i=e[r];const a=n==null?i.key:String(n)+String(i.key!=null?i.key:r);i.type===He?(i.patchFlag&128&&s++,l=l.concat(Gr(i.children,t,a))):(t||i.type!==dt)&&l.push(a!=null?Kt(i,{key:a}):i)}if(s>1)for(let r=0;r<l.length;r++)l[r].patchFlag=-2;return l}/*! #__NO_SIDE_EFFECTS__ */function U(e,t){return ce(e)?Re({name:e.name},t,{setup:e}):e}const ll=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function mf(e){ce(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:l,delay:s=200,timeout:r,suspensible:i=!0,onError:a}=e;let o=null,c,u=0;const f=()=>(u++,o=null,h()),h=()=>{let p;return o||(p=o=t().catch(m=>{if(m=m instanceof Error?m:new Error(String(m)),a)return new Promise((b,_)=>{a(m,()=>b(f()),()=>_(m),u+1)});throw m}).then(m=>p!==o&&o?o:(m&&(m.__esModule||m[Symbol.toStringTag]==="Module")&&(m=m.default),c=m,m)))};return U({name:"AsyncComponentWrapper",__asyncLoader:h,get __asyncResolved(){return c},setup(){const p=je;if(c)return()=>$s(c,p);const m=C=>{o=null,Tl(C,p,13,!l)};if(i&&p.suspense||Ol)return h().then(C=>()=>$s(C,p)).catch(C=>(m(C),()=>l?Te(l,{error:C}):null));const b=Q(!1),_=Q(),k=Q(!!s);return s&&setTimeout(()=>{k.value=!1},s),r!=null&&setTimeout(()=>{if(!b.value&&!_.value){const C=new Error(`Async component timed out after ${r}ms.`);m(C),_.value=C}},r),h().then(()=>{b.value=!0,p.parent&&Il(p.parent.vnode)&&(p.parent.effect.dirty=!0,_s(p.parent.update))}).catch(C=>{m(C),_.value=C}),()=>{if(b.value&&c)return $s(c,p);if(_.value&&l)return Te(l,{error:_.value});if(n&&!k.value)return Te(n)}}})}function $s(e,t){const{ref:n,props:l,children:s,ce:r}=t.vnode,i=Te(e,l,s);return i.ref=n,i.ce=r,delete t.vnode.ce,i}const Il=e=>e.type.__isKeepAlive;function gf(e,t){$o(e,"a",t)}function yf(e,t){$o(e,"da",t)}function $o(e,t,n=je){const l=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(ws(t,l,n),n){let s=n.parent;for(;s&&s.parent;)Il(s.parent.vnode)&&_f(l,t,n,s),s=s.parent}}function _f(e,t,n,l){const s=ws(t,e,l,!0);gn(()=>{Or(l[t],s)},n)}function ws(e,t,n=je,l=!1){if(n){const s=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;vn();const a=Pl(n),o=ut(t,n,e,i);return a(),mn(),o});return l?s.unshift(r):s.push(r),r}}const Ot=e=>(t,n=je)=>(!Ol||e==="sp")&&ws(e,(...l)=>t(...l),n),bf=Ot("bm"),we=Ot("m"),kf=Ot("bu"),Mo=Ot("u"),Kr=Ot("bum"),gn=Ot("um"),wf=Ot("sp"),Ef=Ot("rtg"),Cf=Ot("rtc");function Lf(e,t=je){ws("ec",e,t)}function Yr(e,t,n,l){let s;const r=n&&n[l];if(re(e)||Fe(e)){s=new Array(e.length);for(let i=0,a=e.length;i<a;i++)s[i]=t(e[i],i,void 0,r&&r[i])}else if(typeof e=="number"){s=new Array(e);for(let i=0;i<e;i++)s[i]=t(i+1,i,void 0,r&&r[i])}else if(ke(e))if(e[Symbol.iterator])s=Array.from(e,(i,a)=>t(i,a,void 0,r&&r[a]));else{const i=Object.keys(e);s=new Array(i.length);for(let a=0,o=i.length;a<o;a++){const c=i[a];s[a]=t(e[c],c,a,r&&r[a])}}else s=[];return n&&(n[l]=s),s}const ur=e=>e?Qo(e)?Cs(e)||e.proxy:ur(e.parent):null,sl=Re(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=>ur(e.parent),$root:e=>ur(e.root),$emit:e=>e.emit,$options:e=>Qr(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,_s(e.update)}),$nextTick:e=>e.n||(e.n=Qt.bind(e.proxy)),$watch:e=>hf.bind(e)}),Ms=(e,t)=>e!==Ce&&!e.__isScriptSetup&&pe(e,t),Af={get({_:e},t){const{ctx:n,setupState:l,data:s,props:r,accessCache:i,type:a,appContext:o}=e;let c;if(t[0]!=="$"){const p=i[t];if(p!==void 0)switch(p){case 1:return l[t];case 2:return s[t];case 4:return n[t];case 3:return r[t]}else{if(Ms(l,t))return i[t]=1,l[t];if(s!==Ce&&pe(s,t))return i[t]=2,s[t];if((c=e.propsOptions[0])&&pe(c,t))return i[t]=3,r[t];if(n!==Ce&&pe(n,t))return i[t]=4,n[t];dr&&(i[t]=0)}}const u=sl[t];let f,h;if(u)return t==="$attrs"&&tt(e,"get",t),u(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==Ce&&pe(n,t))return i[t]=4,n[t];if(h=o.config.globalProperties,pe(h,t))return h[t]},set({_:e},t,n){const{data:l,setupState:s,ctx:r}=e;return Ms(s,t)?(s[t]=n,!0):l!==Ce&&pe(l,t)?(l[t]=n,!0):pe(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:l,appContext:s,propsOptions:r}},i){let a;return!!n[i]||e!==Ce&&pe(e,i)||Ms(t,i)||(a=r[0])&&pe(a,i)||pe(l,i)||pe(sl,i)||pe(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:pe(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ni(e){return re(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let dr=!0;function xf(e){const t=Qr(e),n=e.proxy,l=e.ctx;dr=!1,t.beforeCreate&&Pi(t.beforeCreate,e,"bc");const{data:s,computed:r,methods:i,watch:a,provide:o,inject:c,created:u,beforeMount:f,mounted:h,beforeUpdate:p,updated:m,activated:b,deactivated:_,beforeDestroy:k,beforeUnmount:C,destroyed:y,unmounted:L,render:O,renderTracked:A,renderTriggered:N,errorCaptured:R,serverPrefetch:J,expose:P,inheritAttrs:q,components:$,directives:se,filters:Ee}=t;if(c&&Sf(c,l,null),i)for(const ae in i){const G=i[ae];ce(G)&&(l[ae]=G.bind(n))}if(s){const ae=s.call(n,n);ke(ae)&&(e.data=xl(ae))}if(dr=!0,r)for(const ae in r){const G=r[ae],Ae=ce(G)?G.bind(n,n):ce(G.get)?G.get.bind(n,n):ct,rt=!ce(G)&&ce(G.set)?G.set.bind(n):ct,Ye=x({get:Ae,set:rt});Object.defineProperty(l,ae,{enumerable:!0,configurable:!0,get:()=>Ye.value,set:ee=>Ye.value=ee})}if(a)for(const ae in a)Do(a[ae],l,n,ae);if(o){const ae=ce(o)?o.call(n):o;Reflect.ownKeys(ae).forEach(G=>{Pn(G,ae[G])})}u&&Pi(u,e,"c");function Y(ae,G){re(G)?G.forEach(Ae=>ae(Ae.bind(n))):G&&ae(G.bind(n))}if(Y(bf,f),Y(we,h),Y(kf,p),Y(Mo,m),Y(gf,b),Y(yf,_),Y(Lf,R),Y(Cf,A),Y(Ef,N),Y(Kr,C),Y(gn,L),Y(wf,J),re(P))if(P.length){const ae=e.exposed||(e.exposed={});P.forEach(G=>{Object.defineProperty(ae,G,{get:()=>n[G],set:Ae=>n[G]=Ae})})}else e.exposed||(e.exposed={});O&&e.render===ct&&(e.render=O),q!=null&&(e.inheritAttrs=q),$&&(e.components=$),se&&(e.directives=se)}function Sf(e,t,n=ct){re(e)&&(e=fr(e));for(const l in e){const s=e[l];let r;ke(s)?"default"in s?r=Me(s.from||l,s.default,!0):r=Me(s.from||l):r=Me(s),Oe(r)?Object.defineProperty(t,l,{enumerable:!0,configurable:!0,get:()=>r.value,set:i=>r.value=i}):t[l]=r}}function Pi(e,t,n){ut(re(e)?e.map(l=>l.bind(t.proxy)):e.bind(t.proxy),t,n)}function Do(e,t,n,l){const s=l.includes(".")?No(n,l):()=>n[l];if(Fe(e)){const r=t[e];ce(r)&&ve(s,r)}else if(ce(e))ve(s,e.bind(n));else if(ke(e))if(re(e))e.forEach(r=>Do(r,t,n,l));else{const r=ce(e.handler)?e.handler.bind(n):t[e.handler];ce(r)&&ve(s,r,e)}}function Qr(e){const t=e.type,{mixins:n,extends:l}=t,{mixins:s,optionsCache:r,config:{optionMergeStrategies:i}}=e.appContext,a=r.get(t);let o;return a?o=a:!s.length&&!n&&!l?o=t:(o={},s.length&&s.forEach(c=>us(o,c,i,!0)),us(o,t,i)),ke(t)&&r.set(t,o),o}function us(e,t,n,l=!1){const{mixins:s,extends:r}=t;r&&us(e,r,n,!0),s&&s.forEach(i=>us(e,i,n,!0));for(const i in t)if(!(l&&i==="expose")){const a=Tf[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const Tf={data:Oi,props:Ri,emits:Ri,methods:el,computed:el,beforeCreate:ze,created:ze,beforeMount:ze,mounted:ze,beforeUpdate:ze,updated:ze,beforeDestroy:ze,beforeUnmount:ze,destroyed:ze,unmounted:ze,activated:ze,deactivated:ze,errorCaptured:ze,serverPrefetch:ze,components:el,directives:el,watch:Nf,provide:Oi,inject:If};function Oi(e,t){return t?e?function(){return Re(ce(e)?e.call(this,this):e,ce(t)?t.call(this,this):t)}:t:e}function If(e,t){return el(fr(e),fr(t))}function fr(e){if(re(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ze(e,t){return e?[...new Set([].concat(e,t))]:t}function el(e,t){return e?Re(Object.create(null),e,t):t}function Ri(e,t){return e?re(e)&&re(t)?[...new Set([...e,...t])]:Re(Object.create(null),Ni(e),Ni(t??{})):t}function Nf(e,t){if(!e)return t;if(!t)return e;const n=Re(Object.create(null),e);for(const l in t)n[l]=ze(e[l],t[l]);return n}function Vo(){return{app:null,config:{isNativeTag:od,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 Pf=0;function Of(e,t){return function(l,s=null){ce(l)||(l=Re({},l)),s!=null&&!ke(s)&&(s=null);const r=Vo(),i=new WeakSet;let a=!1;const o=r.app={_uid:Pf++,_component:l,_props:s,_container:null,_context:r,_instance:null,version:rh,get config(){return r.config},set config(c){},use(c,...u){return i.has(c)||(c&&ce(c.install)?(i.add(c),c.install(o,...u)):ce(c)&&(i.add(c),c(o,...u))),o},mixin(c){return r.mixins.includes(c)||r.mixins.push(c),o},component(c,u){return u?(r.components[c]=u,o):r.components[c]},directive(c,u){return u?(r.directives[c]=u,o):r.directives[c]},mount(c,u,f){if(!a){const h=Te(l,s);return h.appContext=r,f===!0?f="svg":f===!1&&(f=void 0),u&&t?t(h,c):e(h,c,f),a=!0,o._container=c,c.__vue_app__=o,Cs(h.component)||h.component.proxy}},unmount(){a&&(e(null,o._container),delete o._container.__vue_app__)},provide(c,u){return r.provides[c]=u,o},runWithContext(c){const u=rl;rl=o;try{return c()}finally{rl=u}}};return o}}let rl=null;function Pn(e,t){if(je){let n=je.provides;const l=je.parent&&je.parent.provides;l===n&&(n=je.provides=Object.create(l)),n[e]=t}}function Me(e,t,n=!1){const l=je||We;if(l||rl){const s=l?l.parent==null?l.vnode.appContext&&l.vnode.appContext.provides:l.parent.provides:rl._context.provides;if(s&&e in s)return s[e];if(arguments.length>1)return n&&ce(t)?t.call(l&&l.proxy):t}}function Rf(e,t,n,l=!1){const s={},r={};rs(r,Es,1),e.propsDefaults=Object.create(null),jo(e,t,s,r);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=l?s:go(s):e.type.props?e.props=s:e.props=r,e.attrs=r}function Ff(e,t,n,l){const{props:s,attrs:r,vnode:{patchFlag:i}}=e,a=de(s),[o]=e.propsOptions;let c=!1;if((l||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let h=u[f];if(bs(e.emitsOptions,h))continue;const p=t[h];if(o)if(pe(r,h))p!==r[h]&&(r[h]=p,c=!0);else{const m=ht(h);s[m]=hr(o,a,m,p,e,!1)}else p!==r[h]&&(r[h]=p,c=!0)}}}else{jo(e,t,s,r)&&(c=!0);let u;for(const f in a)(!t||!pe(t,f)&&((u=zn(f))===f||!pe(t,u)))&&(o?n&&(n[f]!==void 0||n[u]!==void 0)&&(s[f]=hr(o,a,f,void 0,e,!0)):delete s[f]);if(r!==a)for(const f in r)(!t||!pe(t,f))&&(delete r[f],c=!0)}c&&Nt(e,"set","$attrs")}function jo(e,t,n,l){const[s,r]=e.propsOptions;let i=!1,a;if(t)for(let o in t){if(Tn(o))continue;const c=t[o];let u;s&&pe(s,u=ht(o))?!r||!r.includes(u)?n[u]=c:(a||(a={}))[u]=c:bs(e.emitsOptions,o)||(!(o in l)||c!==l[o])&&(l[o]=c,i=!0)}if(r){const o=de(n),c=a||Ce;for(let u=0;u<r.length;u++){const f=r[u];n[f]=hr(s,o,f,c[f],e,!pe(c,f))}}return i}function hr(e,t,n,l,s,r){const i=e[n];if(i!=null){const a=pe(i,"default");if(a&&l===void 0){const o=i.default;if(i.type!==Function&&!i.skipFactory&&ce(o)){const{propsDefaults:c}=s;if(n in c)l=c[n];else{const u=Pl(s);l=c[n]=o.call(null,t),u()}}else l=o}i[0]&&(r&&!a?l=!1:i[1]&&(l===""||l===zn(n))&&(l=!0))}return l}function Bo(e,t,n=!1){const l=t.propsCache,s=l.get(e);if(s)return s;const r=e.props,i={},a=[];let o=!1;if(!ce(e)){const u=f=>{o=!0;const[h,p]=Bo(f,t,!0);Re(i,h),p&&a.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!r&&!o)return ke(e)&&l.set(e,xn),xn;if(re(r))for(let u=0;u<r.length;u++){const f=ht(r[u]);Fi(f)&&(i[f]=Ce)}else if(r)for(const u in r){const f=ht(u);if(Fi(f)){const h=r[u],p=i[f]=re(h)||ce(h)?{type:h}:Re({},h);if(p){const m=Di(Boolean,p.type),b=Di(String,p.type);p[0]=m>-1,p[1]=b<0||m<b,(m>-1||pe(p,"default"))&&a.push(f)}}}const c=[i,a];return ke(e)&&l.set(e,c),c}function Fi(e){return e[0]!=="$"&&!Tn(e)}function $i(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function Mi(e,t){return $i(e)===$i(t)}function Di(e,t){return re(t)?t.findIndex(n=>Mi(n,e)):ce(t)&&Mi(t,e)?0:-1}const Ho=e=>e[0]==="_"||e==="$stable",Jr=e=>re(e)?e.map(mt):[mt(e)],$f=(e,t,n)=>{if(t._n)return t;const l=nf((...s)=>Jr(t(...s)),n);return l._c=!1,l},Uo=(e,t,n)=>{const l=e._ctx;for(const s in e){if(Ho(s))continue;const r=e[s];if(ce(r))t[s]=$f(s,r,l);else if(r!=null){const i=Jr(r);t[s]=()=>i}}},zo=(e,t)=>{const n=Jr(t);e.slots.default=()=>n},Mf=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=de(t),rs(t,"_",n)):Uo(t,e.slots={})}else e.slots={},t&&zo(e,t);rs(e.slots,Es,1)},Df=(e,t,n)=>{const{vnode:l,slots:s}=e;let r=!0,i=Ce;if(l.shapeFlag&32){const a=t._;a?n&&a===1?r=!1:(Re(s,t),!n&&a===1&&delete s._):(r=!t.$stable,Uo(t,s)),i=t}else t&&(zo(e,t),i={default:1});if(r)for(const a in s)!Ho(a)&&i[a]==null&&delete s[a]};function ds(e,t,n,l,s=!1){if(re(e)){e.forEach((h,p)=>ds(h,t&&(re(t)?t[p]:t),n,l,s));return}if(ll(l)&&!s)return;const r=l.shapeFlag&4?Cs(l.component)||l.component.proxy:l.el,i=s?null:r,{i:a,r:o}=e,c=t&&t.r,u=a.refs===Ce?a.refs={}:a.refs,f=a.setupState;if(c!=null&&c!==o&&(Fe(c)?(u[c]=null,pe(f,c)&&(f[c]=null)):Oe(c)&&(c.value=null)),ce(o))Wt(o,a,12,[i,u]);else{const h=Fe(o),p=Oe(o);if(h||p){const m=()=>{if(e.f){const b=h?pe(f,o)?f[o]:u[o]:o.value;s?re(b)&&Or(b,r):re(b)?b.includes(r)||b.push(r):h?(u[o]=[r],pe(f,o)&&(f[o]=u[o])):(o.value=[r],e.k&&(u[e.k]=o.value))}else h?(u[o]=i,pe(f,o)&&(f[o]=i)):p&&(o.value=i,e.k&&(u[e.k]=i))};i?(m.id=-1,Qe(m,n)):m()}}}let Ft=!1;const Vf=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",jf=e=>e.namespaceURI.includes("MathML"),Gl=e=>{if(Vf(e))return"svg";if(jf(e))return"mathml"},Kl=e=>e.nodeType===8;function Bf(e){const{mt:t,p:n,o:{patchProp:l,createText:s,nextSibling:r,parentNode:i,remove:a,insert:o,createComment:c}}=e,u=(y,L)=>{if(!L.hasChildNodes()){n(null,y,L),os(),L._vnode=y;return}Ft=!1,f(L.firstChild,y,null,null,null),os(),L._vnode=y,Ft&&console.error("Hydration completed but contains mismatches.")},f=(y,L,O,A,N,R=!1)=>{const J=Kl(y)&&y.data==="[",P=()=>b(y,L,O,A,N,J),{type:q,ref:$,shapeFlag:se,patchFlag:Ee}=L;let be=y.nodeType;L.el=y,Ee===-2&&(R=!1,L.dynamicChildren=null);let Y=null;switch(q){case Mn:be!==3?L.children===""?(o(L.el=s(""),i(y),y),Y=y):Y=P():(y.data!==L.children&&(Ft=!0,y.data=L.children),Y=r(y));break;case dt:C(y)?(Y=r(y),k(L.el=y.content.firstChild,y,O)):be!==8||J?Y=P():Y=r(y);break;case il:if(J&&(y=r(y),be=y.nodeType),be===1||be===3){Y=y;const ae=!L.children.length;for(let G=0;G<L.staticCount;G++)ae&&(L.children+=Y.nodeType===1?Y.outerHTML:Y.data),G===L.staticCount-1&&(L.anchor=Y),Y=r(Y);return J?r(Y):Y}else P();break;case He:J?Y=m(y,L,O,A,N,R):Y=P();break;default:if(se&1)(be!==1||L.type.toLowerCase()!==y.tagName.toLowerCase())&&!C(y)?Y=P():Y=h(y,L,O,A,N,R);else if(se&6){L.slotScopeIds=N;const ae=i(y);if(J?Y=_(y):Kl(y)&&y.data==="teleport start"?Y=_(y,y.data,"teleport end"):Y=r(y),t(L,ae,null,O,A,Gl(ae),R),ll(L)){let G;J?(G=Te(He),G.anchor=Y?Y.previousSibling:ae.lastChild):G=y.nodeType===3?gl(""):Te("div"),G.el=y,L.component.subTree=G}}else se&64?be!==8?Y=P():Y=L.type.hydrate(y,L,O,A,N,R,e,p):se&128&&(Y=L.type.hydrate(y,L,O,A,Gl(i(y)),N,R,e,f))}return $!=null&&ds($,null,A,L),Y},h=(y,L,O,A,N,R)=>{R=R||!!L.dynamicChildren;const{type:J,props:P,patchFlag:q,shapeFlag:$,dirs:se,transition:Ee}=L,be=J==="input"||J==="option";if(be||q!==-1){se&&wt(L,null,O,"created");let Y=!1;if(C(y)){Y=qo(A,Ee)&&O&&O.vnode.props&&O.vnode.props.appear;const G=y.content.firstChild;Y&&Ee.beforeEnter(G),k(G,y,O),L.el=y=G}if($&16&&!(P&&(P.innerHTML||P.textContent))){let G=p(y.firstChild,L,y,O,A,N,R);for(;G;){Ft=!0;const Ae=G;G=G.nextSibling,a(Ae)}}else $&8&&y.textContent!==L.children&&(Ft=!0,y.textContent=L.children);if(P)if(be||!R||q&48)for(const G in P)(be&&(G.endsWith("value")||G==="indeterminate")||Ll(G)&&!Tn(G)||G[0]===".")&&l(y,G,null,P[G],void 0,void 0,O);else P.onClick&&l(y,"onClick",null,P.onClick,void 0,void 0,O);let ae;(ae=P&&P.onVnodeBeforeMount)&&at(ae,O,L),se&&wt(L,null,O,"beforeMount"),((ae=P&&P.onVnodeMounted)||se||Y)&&To(()=>{ae&&at(ae,O,L),Y&&Ee.enter(y),se&&wt(L,null,O,"mounted")},A)}return y.nextSibling},p=(y,L,O,A,N,R,J)=>{J=J||!!L.dynamicChildren;const P=L.children,q=P.length;for(let $=0;$<q;$++){const se=J?P[$]:P[$]=mt(P[$]);if(y)y=f(y,se,A,N,R,J);else{if(se.type===Mn&&!se.children)continue;Ft=!0,n(null,se,O,null,A,N,Gl(O),R)}}return y},m=(y,L,O,A,N,R)=>{const{slotScopeIds:J}=L;J&&(N=N?N.concat(J):J);const P=i(y),q=p(r(y),L,P,O,A,N,R);return q&&Kl(q)&&q.data==="]"?r(L.anchor=q):(Ft=!0,o(L.anchor=c("]"),P,q),q)},b=(y,L,O,A,N,R)=>{if(Ft=!0,L.el=null,R){const q=_(y);for(;;){const $=r(y);if($&&$!==q)a($);else break}}const J=r(y),P=i(y);return a(y),n(null,L,P,J,O,A,Gl(P),N),J},_=(y,L="[",O="]")=>{let A=0;for(;y;)if(y=r(y),y&&Kl(y)&&(y.data===L&&A++,y.data===O)){if(A===0)return r(y);A--}return y},k=(y,L,O)=>{const A=L.parentNode;A&&A.replaceChild(y,L);let N=O;for(;N;)N.vnode.el===L&&(N.vnode.el=N.subTree.el=y),N=N.parent},C=y=>y.nodeType===1&&y.tagName.toLowerCase()==="template";return[u,f]}const Qe=To;function Hf(e){return Uf(e,Bf)}function Uf(e,t){const n=to();n.__VUE__=!0;const{insert:l,remove:s,patchProp:r,createElement:i,createText:a,createComment:o,setText:c,setElementText:u,parentNode:f,nextSibling:h,setScopeId:p=ct,insertStaticContent:m}=e,b=(v,g,E,T=null,S=null,D=null,H=void 0,M=null,B=!!g.dynamicChildren)=>{if(v===g)return;v&&!on(v,g)&&(T=w(v),ee(v,S,D,!0),v=null),g.patchFlag===-2&&(B=!1,g.dynamicChildren=null);const{type:F,ref:W,shapeFlag:le}=g;switch(F){case Mn:_(v,g,E,T);break;case dt:k(v,g,E,T);break;case il:v==null&&C(g,E,T,H);break;case He:$(v,g,E,T,S,D,H,M,B);break;default:le&1?O(v,g,E,T,S,D,H,M,B):le&6?se(v,g,E,T,S,D,H,M,B):(le&64||le&128)&&F.process(v,g,E,T,S,D,H,M,B,Z)}W!=null&&S&&ds(W,v&&v.ref,D,g||v,!g)},_=(v,g,E,T)=>{if(v==null)l(g.el=a(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=o(g.children||""),E,T):g.el=v.el},C=(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=h(v),l(v,E,T),v=S;l(g,E,T)},L=({el:v,anchor:g})=>{let E;for(;v&&v!==g;)E=h(v),s(v),v=E;s(g)},O=(v,g,E,T,S,D,H,M,B)=>{g.type==="svg"?H="svg":g.type==="math"&&(H="mathml"),v==null?A(g,E,T,S,D,H,M,B):J(v,g,S,D,H,M,B)},A=(v,g,E,T,S,D,H,M)=>{let B,F;const{props:W,shapeFlag:le,transition:te,dirs:oe}=v;if(B=v.el=i(v.type,D,W&&W.is,W),le&8?u(B,v.children):le&16&&R(v.children,B,null,T,S,Ds(v,D),H,M),oe&&wt(v,null,T,"created"),N(B,v,v.scopeId,H,T),W){for(const ge in W)ge!=="value"&&!Tn(ge)&&r(B,ge,null,W[ge],D,v.children,T,S,X);"value"in W&&r(B,"value",null,W.value,D),(F=W.onVnodeBeforeMount)&&at(F,T,v)}oe&&wt(v,null,T,"beforeMount");const ue=qo(S,te);ue&&te.beforeEnter(B),l(B,g,E),((F=W&&W.onVnodeMounted)||ue||oe)&&Qe(()=>{F&&at(F,T,v),ue&&te.enter(B),oe&&wt(v,null,T,"mounted")},S)},N=(v,g,E,T,S)=>{if(E&&p(v,E),T)for(let D=0;D<T.length;D++)p(v,T[D]);if(S){let D=S.subTree;if(g===D){const H=S.vnode;N(v,H,H.scopeId,H.slotScopeIds,S.parent)}}},R=(v,g,E,T,S,D,H,M,B=0)=>{for(let F=B;F<v.length;F++){const W=v[F]=M?Ht(v[F]):mt(v[F]);b(null,W,g,E,T,S,D,H,M)}},J=(v,g,E,T,S,D,H)=>{const M=g.el=v.el;let{patchFlag:B,dynamicChildren:F,dirs:W}=g;B|=v.patchFlag&16;const le=v.props||Ce,te=g.props||Ce;let oe;if(E&&ln(E,!1),(oe=te.onVnodeBeforeUpdate)&&at(oe,E,g,v),W&&wt(g,v,E,"beforeUpdate"),E&&ln(E,!0),F?P(v.dynamicChildren,F,M,E,T,Ds(g,S),D):H||G(v,g,M,null,E,T,Ds(g,S),D,!1),B>0){if(B&16)q(M,g,le,te,E,T,S);else if(B&2&&le.class!==te.class&&r(M,"class",null,te.class,S),B&4&&r(M,"style",le.style,te.style,S),B&8){const ue=g.dynamicProps;for(let ge=0;ge<ue.length;ge++){const xe=ue[ge],Ve=le[xe],pt=te[xe];(pt!==Ve||xe==="value")&&r(M,xe,Ve,pt,S,v.children,E,T,X)}}B&1&&v.children!==g.children&&u(M,g.children)}else!H&&F==null&&q(M,g,le,te,E,T,S);((oe=te.onVnodeUpdated)||W)&&Qe(()=>{oe&&at(oe,E,g,v),W&&wt(g,v,E,"updated")},T)},P=(v,g,E,T,S,D,H)=>{for(let M=0;M<g.length;M++){const B=v[M],F=g[M],W=B.el&&(B.type===He||!on(B,F)||B.shapeFlag&70)?f(B.el):E;b(B,F,W,null,T,S,D,H,!0)}},q=(v,g,E,T,S,D,H)=>{if(E!==T){if(E!==Ce)for(const M in E)!Tn(M)&&!(M in T)&&r(v,M,E[M],null,H,g.children,S,D,X);for(const M in T){if(Tn(M))continue;const B=T[M],F=E[M];B!==F&&M!=="value"&&r(v,M,F,B,H,g.children,S,D,X)}"value"in T&&r(v,"value",E.value,T.value,H)}},$=(v,g,E,T,S,D,H,M,B)=>{const F=g.el=v?v.el:a(""),W=g.anchor=v?v.anchor:a("");let{patchFlag:le,dynamicChildren:te,slotScopeIds:oe}=g;oe&&(M=M?M.concat(oe):oe),v==null?(l(F,E,T),l(W,E,T),R(g.children||[],E,W,S,D,H,M,B)):le>0&&le&64&&te&&v.dynamicChildren?(P(v.dynamicChildren,te,E,S,D,H,M),(g.key!=null||S&&g===S.subTree)&&Wo(v,g,!0)):G(v,g,E,W,S,D,H,M,B)},se=(v,g,E,T,S,D,H,M,B)=>{g.slotScopeIds=M,v==null?g.shapeFlag&512?S.ctx.activate(g,E,T,H,B):Ee(g,E,T,S,D,H,B):be(v,g,B)},Ee=(v,g,E,T,S,D,H)=>{const M=v.component=Xf(v,T,S);if(Il(v)&&(M.ctx.renderer=Z),Zf(M),M.asyncDep){if(S&&S.registerDep(M,Y),!v.el){const B=M.subTree=Te(dt);k(null,B,g,E)}}else Y(M,v,g,E,S,D,H)},be=(v,g,E)=>{const T=g.component=v.component;if(rf(v,g,E))if(T.asyncDep&&!T.asyncResolved){ae(T,g,E);return}else T.next=g,Xd(T.update),T.effect.dirty=!0,T.update();else g.el=v.el,T.vnode=g},Y=(v,g,E,T,S,D,H)=>{const M=()=>{if(v.isMounted){let{next:W,bu:le,u:te,parent:oe,vnode:ue}=v;{const bn=Go(v);if(bn){W&&(W.el=ue.el,ae(v,W,H)),bn.asyncDep.then(()=>{v.isUnmounted||M()});return}}let ge=W,xe;ln(v,!1),W?(W.el=ue.el,ae(v,W,H)):W=ue,le&&ns(le),(xe=W.props&&W.props.onVnodeBeforeUpdate)&&at(xe,oe,W,ue),ln(v,!0);const Ve=Rs(v),pt=v.subTree;v.subTree=Ve,b(pt,Ve,f(pt.el),w(pt),v,S,D),W.el=Ve.el,ge===null&&af(v,Ve.el),te&&Qe(te,S),(xe=W.props&&W.props.onVnodeUpdated)&&Qe(()=>at(xe,oe,W,ue),S)}else{let W;const{el:le,props:te}=g,{bm:oe,m:ue,parent:ge}=v,xe=ll(g);if(ln(v,!1),oe&&ns(oe),!xe&&(W=te&&te.onVnodeBeforeMount)&&at(W,ge,g),ln(v,!0),le&&_e){const Ve=()=>{v.subTree=Rs(v),_e(le,v.subTree,v,S,null)};xe?g.type.__asyncLoader().then(()=>!v.isUnmounted&&Ve()):Ve()}else{const Ve=v.subTree=Rs(v);b(null,Ve,E,T,v,S,D),g.el=Ve.el}if(ue&&Qe(ue,S),!xe&&(W=te&&te.onVnodeMounted)){const Ve=g;Qe(()=>at(W,ge,Ve),S)}(g.shapeFlag&256||ge&&ll(ge.vnode)&&ge.vnode.shapeFlag&256)&&v.a&&Qe(v.a,S),v.isMounted=!0,g=E=T=null}},B=v.effect=new $r(M,ct,()=>_s(F),v.scope),F=v.update=()=>{B.dirty&&B.run()};F.id=v.uid,ln(v,!0),F()},ae=(v,g,E)=>{g.component=v;const T=v.vnode.props;v.vnode=g,v.next=null,Ff(v,g.props,T,E),Df(v,g.children,E),vn(),xi(v),mn()},G=(v,g,E,T,S,D,H,M,B=!1)=>{const F=v&&v.children,W=v?v.shapeFlag:0,le=g.children,{patchFlag:te,shapeFlag:oe}=g;if(te>0){if(te&128){rt(F,le,E,T,S,D,H,M,B);return}else if(te&256){Ae(F,le,E,T,S,D,H,M,B);return}}oe&8?(W&16&&X(F,S,D),le!==F&&u(E,le)):W&16?oe&16?rt(F,le,E,T,S,D,H,M,B):X(F,S,D,!0):(W&8&&u(E,""),oe&16&&R(le,E,T,S,D,H,M,B))},Ae=(v,g,E,T,S,D,H,M,B)=>{v=v||xn,g=g||xn;const F=v.length,W=g.length,le=Math.min(F,W);let te;for(te=0;te<le;te++){const oe=g[te]=B?Ht(g[te]):mt(g[te]);b(v[te],oe,E,null,S,D,H,M,B)}F>W?X(v,S,D,!0,!1,le):R(g,E,T,S,D,H,M,B,le)},rt=(v,g,E,T,S,D,H,M,B)=>{let F=0;const W=g.length;let le=v.length-1,te=W-1;for(;F<=le&&F<=te;){const oe=v[F],ue=g[F]=B?Ht(g[F]):mt(g[F]);if(on(oe,ue))b(oe,ue,E,null,S,D,H,M,B);else break;F++}for(;F<=le&&F<=te;){const oe=v[le],ue=g[te]=B?Ht(g[te]):mt(g[te]);if(on(oe,ue))b(oe,ue,E,null,S,D,H,M,B);else break;le--,te--}if(F>le){if(F<=te){const oe=te+1,ue=oe<W?g[oe].el:T;for(;F<=te;)b(null,g[F]=B?Ht(g[F]):mt(g[F]),E,ue,S,D,H,M,B),F++}}else if(F>te)for(;F<=le;)ee(v[F],S,D,!0),F++;else{const oe=F,ue=F,ge=new Map;for(F=ue;F<=te;F++){const lt=g[F]=B?Ht(g[F]):mt(g[F]);lt.key!=null&&ge.set(lt.key,F)}let xe,Ve=0;const pt=te-ue+1;let bn=!1,mi=0;const Qn=new Array(pt);for(F=0;F<pt;F++)Qn[F]=0;for(F=oe;F<=le;F++){const lt=v[F];if(Ve>=pt){ee(lt,S,D,!0);continue}let kt;if(lt.key!=null)kt=ge.get(lt.key);else for(xe=ue;xe<=te;xe++)if(Qn[xe-ue]===0&&on(lt,g[xe])){kt=xe;break}kt===void 0?ee(lt,S,D,!0):(Qn[kt-ue]=F+1,kt>=mi?mi=kt:bn=!0,b(lt,g[kt],E,null,S,D,H,M,B),Ve++)}const gi=bn?zf(Qn):xn;for(xe=gi.length-1,F=pt-1;F>=0;F--){const lt=ue+F,kt=g[lt],yi=lt+1<W?g[lt+1].el:T;Qn[F]===0?b(null,kt,E,yi,S,D,H,M,B):bn&&(xe<0||F!==gi[xe]?Ye(kt,E,yi,2):xe--)}}},Ye=(v,g,E,T,S=null)=>{const{el:D,type:H,transition:M,children:B,shapeFlag:F}=v;if(F&6){Ye(v.component.subTree,g,E,T);return}if(F&128){v.suspense.move(g,E,T);return}if(F&64){H.move(v,g,E,Z);return}if(H===He){l(D,g,E);for(let le=0;le<B.length;le++)Ye(B[le],g,E,T);l(v.anchor,g,E);return}if(H===il){y(v,g,E);return}if(T!==2&&F&1&&M)if(T===0)M.beforeEnter(D),l(D,g,E),Qe(()=>M.enter(D),S);else{const{leave:le,delayLeave:te,afterLeave:oe}=M,ue=()=>l(D,g,E),ge=()=>{le(D,()=>{ue(),oe&&oe()})};te?te(D,ue,ge):ge()}else l(D,g,E)},ee=(v,g,E,T=!1,S=!1)=>{const{type:D,props:H,ref:M,children:B,dynamicChildren:F,shapeFlag:W,patchFlag:le,dirs:te}=v;if(M!=null&&ds(M,null,E,v,!0),W&256){g.ctx.deactivate(v);return}const oe=W&1&&te,ue=!ll(v);let ge;if(ue&&(ge=H&&H.onVnodeBeforeUnmount)&&at(ge,g,v),W&6)ne(v.component,E,T);else{if(W&128){v.suspense.unmount(E,T);return}oe&&wt(v,null,g,"beforeUnmount"),W&64?v.type.remove(v,g,E,S,Z,T):F&&(D!==He||le>0&&le&64)?X(F,g,E,!1,!0):(D===He&&le&384||!S&&W&16)&&X(B,g,E),T&&z(v)}(ue&&(ge=H&&H.onVnodeUnmounted)||oe)&&Qe(()=>{ge&&at(ge,g,v),oe&&wt(v,null,g,"unmounted")},E)},z=v=>{const{type:g,el:E,anchor:T,transition:S}=v;if(g===He){K(E,T);return}if(g===il){L(v);return}const D=()=>{s(E),S&&!S.persisted&&S.afterLeave&&S.afterLeave()};if(v.shapeFlag&1&&S&&!S.persisted){const{leave:H,delayLeave:M}=S,B=()=>H(E,D);M?M(v.el,D,B):B()}else D()},K=(v,g)=>{let E;for(;v!==g;)E=h(v),s(v),v=E;s(g)},ne=(v,g,E)=>{const{bum:T,scope:S,update:D,subTree:H,um:M}=v;T&&ns(T),S.stop(),D&&(D.active=!1,ee(H,v,g,E)),M&&Qe(M,g),Qe(()=>{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,D=0)=>{for(let H=D;H<v.length;H++)ee(v[H],g,E,T,S)},w=v=>v.shapeFlag&6?w(v.component.subTree):v.shapeFlag&128?v.suspense.next():h(v.anchor||v.el);let V=!1;const j=(v,g,E)=>{v==null?g._vnode&&ee(g._vnode,null,null,!0):b(g._vnode||null,v,g,null,null,null,E),V||(V=!0,xi(),os(),V=!1),g._vnode=v},Z={p:b,um:ee,m:Ye,r:z,mt:Ee,mc:R,pc:G,pbc:P,n:w,o:e};let fe,_e;return t&&([fe,_e]=t(Z)),{render:j,hydrate:fe,createApp:Of(j,fe)}}function Ds({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 ln({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function qo(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Wo(e,t,n=!1){const l=e.children,s=t.children;if(re(l)&&re(s))for(let r=0;r<l.length;r++){const i=l[r];let a=s[r];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=s[r]=Ht(s[r]),a.el=i.el),n||Wo(i,a)),a.type===Mn&&(a.el=i.el)}}function zf(e){const t=e.slice(),n=[0];let l,s,r,i,a;const o=e.length;for(l=0;l<o;l++){const c=e[l];if(c!==0){if(s=n[n.length-1],e[s]<c){t[l]=s,n.push(l);continue}for(r=0,i=n.length-1;r<i;)a=r+i>>1,e[n[a]]<c?r=a+1:i=a;c<e[n[r]]&&(r>0&&(t[l]=n[r-1]),n[r]=l)}}for(r=n.length,i=n[r-1];r-- >0;)n[r]=i,i=t[i];return n}function Go(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Go(t)}const qf=e=>e.__isTeleport,He=Symbol.for("v-fgt"),Mn=Symbol.for("v-txt"),dt=Symbol.for("v-cmt"),il=Symbol.for("v-stc"),al=[];let gt=null;function Ze(e=!1){al.push(gt=e?null:[])}function Wf(){al.pop(),gt=al[al.length-1]||null}let ml=1;function Vi(e){ml+=e}function Ko(e){return e.dynamicChildren=ml>0?gt||xn:null,Wf(),ml>0&&gt&&gt.push(e),e}function _t(e,t,n,l,s,r){return Ko(ie(e,t,n,l,s,r,!0))}function Xr(e,t,n,l,s){return Ko(Te(e,t,n,l,s,!0))}function pr(e){return e?e.__v_isVNode===!0:!1}function on(e,t){return e.type===t.type&&e.key===t.key}const Es="__vInternal",Yo=({key:e})=>e??null,ls=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Fe(e)||Oe(e)||ce(e)?{i:We,r:e,k:t,f:!!n}:e:null);function ie(e,t=null,n=null,l=0,s=null,r=e===He?0:1,i=!1,a=!1){const o={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Yo(t),ref:t&&ls(t),scopeId:ks,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:r,patchFlag:l,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:We};return a?(Zr(o,n),r&128&&e.normalize(o)):n&&(o.shapeFlag|=Fe(n)?8:16),ml>0&&!i&&gt&&(o.patchFlag>0||r&6)&&o.patchFlag!==32&&gt.push(o),o}const Te=Gf;function Gf(e,t=null,n=null,l=0,s=null,r=!1){if((!e||e===of)&&(e=dt),pr(e)){const a=Kt(e,t,!0);return n&&Zr(a,n),ml>0&&!r&&gt&&(a.shapeFlag&6?gt[gt.indexOf(e)]=a:gt.push(a)),a.patchFlag|=-2,a}if(sh(e)&&(e=e.__vccOpts),t){t=Kf(t);let{class:a,style:o}=t;a&&!Fe(a)&&(t.class=Fr(a)),ke(o)&&(yo(o)&&!re(o)&&(o=Re({},o)),t.style=ms(o))}const i=Fe(e)?1:uf(e)?128:qf(e)?64:ke(e)?4:ce(e)?2:0;return ie(e,t,n,l,s,i,r,!0)}function Kf(e){return e?yo(e)||Es in e?Re({},e):e:null}function Kt(e,t,n=!1){const{props:l,ref:s,patchFlag:r,children:i}=e,a=t?Yf(l||{},t):l;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Yo(a),ref:t&&t.ref?n&&s?re(s)?s.concat(ls(t)):[s,ls(t)]:ls(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==He?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Kt(e.ssContent),ssFallback:e.ssFallback&&Kt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function gl(e=" ",t=0){return Te(Mn,null,e,t)}function h2(e,t){const n=Te(il,null,e);return n.staticCount=t,n}function hn(e="",t=!1){return t?(Ze(),Xr(dt,null,e)):Te(dt,null,e)}function mt(e){return e==null||typeof e=="boolean"?Te(dt):re(e)?Te(He,null,e.slice()):typeof e=="object"?Ht(e):Te(Mn,null,String(e))}function Ht(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Kt(e)}function Zr(e,t){let n=0;const{shapeFlag:l}=e;if(t==null)t=null;else if(re(t))n=16;else if(typeof t=="object")if(l&65){const s=t.default;s&&(s._c&&(s._d=!1),Zr(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(Es in t)?t._ctx=We:s===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=[gl(t)]):n=8);e.children=t,e.shapeFlag|=n}function Yf(...e){const t={};for(let n=0;n<e.length;n++){const l=e[n];for(const s in l)if(s==="class")t.class!==l.class&&(t.class=Fr([t.class,l.class]));else if(s==="style")t.style=ms([t.style,l.style]);else if(Ll(s)){const r=t[s],i=l[s];i&&r!==i&&!(re(r)&&r.includes(i))&&(t[s]=r?[].concat(r,i):i)}else s!==""&&(t[s]=l[s])}return t}function at(e,t,n,l=null){ut(e,t,7,[n,l])}const Qf=Vo();let Jf=0;function Xf(e,t,n){const l=e.type,s=(t?t.appContext:e.appContext)||Qf,r={uid:Jf++,vnode:e,type:l,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new bd(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Bo(l,s),emitsOptions:xo(l,s),emit:null,emitted:null,propsDefaults:Ce,inheritAttrs:l.inheritAttrs,ctx:Ce,data:Ce,props:Ce,attrs:Ce,slots:Ce,refs:Ce,setupState:Ce,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 r.ctx={_:r},r.root=t?t.root:r,r.emit=tf.bind(null,r),e.ce&&e.ce(r),r}let je=null;const Nl=()=>je||We;let fs,vr;{const e=to(),t=(n,l)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(l),r=>{s.length>1?s.forEach(i=>i(r)):s[0](r)}};fs=t("__VUE_INSTANCE_SETTERS__",n=>je=n),vr=t("__VUE_SSR_SETTERS__",n=>Ol=n)}const Pl=e=>{const t=je;return fs(e),e.scope.on(),()=>{e.scope.off(),fs(t)}},ji=()=>{je&&je.scope.off(),fs(null)};function Qo(e){return e.vnode.shapeFlag&4}let Ol=!1;function Zf(e,t=!1){t&&vr(t);const{props:n,children:l}=e.vnode,s=Qo(e);Rf(e,n,s,t),Mf(e,l);const r=s?eh(e,t):void 0;return t&&vr(!1),r}function eh(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=_o(new Proxy(e.ctx,Af));const{setup:l}=n;if(l){const s=e.setupContext=l.length>1?nh(e):null,r=Pl(e);vn();const i=Wt(l,e,0,[e.props,s]);if(mn(),r(),Xa(i)){if(i.then(ji,ji),t)return i.then(a=>{Bi(e,a,t)}).catch(a=>{Tl(a,e,0)});e.asyncDep=i}else Bi(e,i,t)}else Jo(e,t)}function Bi(e,t,n){ce(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ke(t)&&(e.setupState=wo(t)),Jo(e,n)}let Hi;function Jo(e,t,n){const l=e.type;if(!e.render){if(!t&&Hi&&!l.render){const s=l.template||Qr(e).template;if(s){const{isCustomElement:r,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:o}=l,c=Re(Re({isCustomElement:r,delimiters:a},i),o);l.render=Hi(s,c)}}e.render=l.render||ct}{const s=Pl(e);vn();try{xf(e)}finally{mn(),s()}}}function th(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return tt(e,"get","$attrs"),t[n]}}))}function nh(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return th(e)},slots:e.slots,emit:e.emit,expose:t}}function Cs(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(wo(_o(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in sl)return sl[n](e)},has(t,n){return n in t||n in sl}}))}function lh(e,t=!0){return ce(e)?e.displayName||e.name:e.name||t&&e.__name}function sh(e){return ce(e)&&"__vccOpts"in e}const x=(e,t)=>Ud(e,t,Ol);function d(e,t,n){const l=arguments.length;return l===2?ke(t)&&!re(t)?pr(t)?Te(e,null,[t]):Te(e,t):Te(e,null,t):(l>3?n=Array.prototype.slice.call(arguments,2):l===3&&pr(n)&&(n=[n]),Te(e,t,n))}const rh="3.4.21";/**
* @vue/runtime-dom v3.4.21
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const ih="http://www.w3.org/2000/svg",ah="http://www.w3.org/1998/Math/MathML",Ut=typeof document<"u"?document:null,Ui=Ut&&Ut.createElement("template"),oh={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 s=t==="svg"?Ut.createElementNS(ih,e):t==="mathml"?Ut.createElementNS(ah,e):Ut.createElement(e,n?{is:n}:void 0);return e==="select"&&l&&l.multiple!=null&&s.setAttribute("multiple",l.multiple),s},createText:e=>Ut.createTextNode(e),createComment:e=>Ut.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ut.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,l,s,r){const i=n?n.previousSibling:t.lastChild;if(s&&(s===r||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===r||!(s=s.nextSibling)););else{Ui.innerHTML=l==="svg"?`<svg>${e}</svg>`:l==="mathml"?`<math>${e}</math>`:e;const a=Ui.content;if(l==="svg"||l==="mathml"){const o=a.firstChild;for(;o.firstChild;)a.appendChild(o.firstChild);a.removeChild(o)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},$t="transition",Jn="animation",Dn=Symbol("_vtc"),Yt=(e,{slots:t})=>d(vf,Zo(e),t);Yt.displayName="Transition";const Xo={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},ch=Yt.props=Re({},Ro,Xo),sn=(e,t=[])=>{re(e)?e.forEach(n=>n(...t)):e&&e(...t)},zi=e=>e?re(e)?e.some(t=>t.length>1):e.length>1:!1;function Zo(e){const t={};for(const $ in e)$ in Xo||(t[$]=e[$]);if(e.css===!1)return t;const{name:n="v",type:l,duration:s,enterFromClass:r=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:o=r,appearActiveClass:c=i,appearToClass:u=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,m=uh(s),b=m&&m[0],_=m&&m[1],{onBeforeEnter:k,onEnter:C,onEnterCancelled:y,onLeave:L,onLeaveCancelled:O,onBeforeAppear:A=k,onAppear:N=C,onAppearCancelled:R=y}=t,J=($,se,Ee)=>{Vt($,se?u:a),Vt($,se?c:i),Ee&&Ee()},P=($,se)=>{$._isLeaving=!1,Vt($,f),Vt($,p),Vt($,h),se&&se()},q=$=>(se,Ee)=>{const be=$?N:C,Y=()=>J(se,$,Ee);sn(be,[se,Y]),qi(()=>{Vt(se,$?o:r),xt(se,$?u:a),zi(be)||Wi(se,l,b,Y)})};return Re(t,{onBeforeEnter($){sn(k,[$]),xt($,r),xt($,i)},onBeforeAppear($){sn(A,[$]),xt($,o),xt($,c)},onEnter:q(!1),onAppear:q(!0),onLeave($,se){$._isLeaving=!0;const Ee=()=>P($,se);xt($,f),tc(),xt($,h),qi(()=>{$._isLeaving&&(Vt($,f),xt($,p),zi(L)||Wi($,l,_,Ee))}),sn(L,[$,Ee])},onEnterCancelled($){J($,!1),sn(y,[$])},onAppearCancelled($){J($,!0),sn(R,[$])},onLeaveCancelled($){P($),sn(O,[$])}})}function uh(e){if(e==null)return null;if(ke(e))return[Vs(e.enter),Vs(e.leave)];{const t=Vs(e);return[t,t]}}function Vs(e){return hd(e)}function xt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Dn]||(e[Dn]=new Set)).add(t)}function Vt(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 qi(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let dh=0;function Wi(e,t,n,l){const s=e._endId=++dh,r=()=>{s===e._endId&&l()};if(n)return setTimeout(r,n);const{type:i,timeout:a,propCount:o}=ec(e,t);if(!i)return l();const c=i+"end";let u=0;const f=()=>{e.removeEventListener(c,h),r()},h=p=>{p.target===e&&++u>=o&&f()};setTimeout(()=>{u<o&&f()},a+1),e.addEventListener(c,h)}function ec(e,t){const n=window.getComputedStyle(e),l=m=>(n[m]||"").split(", "),s=l(`${$t}Delay`),r=l(`${$t}Duration`),i=Gi(s,r),a=l(`${Jn}Delay`),o=l(`${Jn}Duration`),c=Gi(a,o);let u=null,f=0,h=0;t===$t?i>0&&(u=$t,f=i,h=r.length):t===Jn?c>0&&(u=Jn,f=c,h=o.length):(f=Math.max(i,c),u=f>0?i>c?$t:Jn:null,h=u?u===$t?r.length:o.length:0);const p=u===$t&&/\b(transform|all)(,|$)/.test(l(`${$t}Property`).toString());return{type:u,timeout:f,propCount:h,hasTransform:p}}function Gi(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,l)=>Ki(n)+Ki(e[l])))}function Ki(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function tc(){return document.body.offsetHeight}function fh(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 Yi=Symbol("_vod"),hh=Symbol("_vsh"),ph=Symbol(""),vh=/(^|;)\s*display\s*:/;function mh(e,t,n){const l=e.style,s=Fe(n);let r=!1;if(n&&!s){if(t)if(Fe(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&ss(l,a,"")}else for(const i in t)n[i]==null&&ss(l,i,"");for(const i in n)i==="display"&&(r=!0),ss(l,i,n[i])}else if(s){if(t!==n){const i=l[ph];i&&(n+=";"+i),l.cssText=n,r=vh.test(n)}}else t&&e.removeAttribute("style");Yi in e&&(e[Yi]=r?l.display:"",e[hh]&&(l.display="none"))}const Qi=/\s*!important$/;function ss(e,t,n){if(re(n))n.forEach(l=>ss(e,t,l));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const l=gh(e,t);Qi.test(n)?e.setProperty(zn(l),n.replace(Qi,""),"important"):e[l]=n}}const Ji=["Webkit","Moz","ms"],js={};function gh(e,t){const n=js[t];if(n)return n;let l=ht(t);if(l!=="filter"&&l in e)return js[t]=l;l=Al(l);for(let s=0;s<Ji.length;s++){const r=Ji[s]+l;if(r in e)return js[t]=r}return t}const Xi="http://www.w3.org/1999/xlink";function yh(e,t,n,l,s){if(l&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Xi,t.slice(6,t.length)):e.setAttributeNS(Xi,t,n);else{const r=_d(t);n==null||r&&!no(n)?e.removeAttribute(t):e.setAttribute(t,r?"":n)}}function _h(e,t,n,l,s,r,i){if(t==="innerHTML"||t==="textContent"){l&&i(l,s,r),e[t]=n??"";return}const a=e.tagName;if(t==="value"&&a!=="PROGRESS"&&!a.includes("-")){const c=a==="OPTION"?e.getAttribute("value")||"":e.value,u=n??"";(c!==u||!("_value"in e))&&(e.value=u),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=no(n):n==null&&c==="string"?(n="",o=!0):c==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(t)}function wn(e,t,n,l){e.addEventListener(t,n,l)}function bh(e,t,n,l){e.removeEventListener(t,n,l)}const Zi=Symbol("_vei");function kh(e,t,n,l,s=null){const r=e[Zi]||(e[Zi]={}),i=r[t];if(l&&i)i.value=l;else{const[a,o]=wh(t);if(l){const c=r[t]=Lh(l,s);wn(e,a,c,o)}else i&&(bh(e,a,i,o),r[t]=void 0)}}const ea=/(?:Once|Passive|Capture)$/;function wh(e){let t;if(ea.test(e)){t={};let l;for(;l=e.match(ea);)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 Bs=0;const Eh=Promise.resolve(),Ch=()=>Bs||(Eh.then(()=>Bs=0),Bs=Date.now());function Lh(e,t){const n=l=>{if(!l._vts)l._vts=Date.now();else if(l._vts<=n.attached)return;ut(Ah(l,n.value),t,5,[l])};return n.value=e,n.attached=Ch(),n}function Ah(e,t){if(re(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(l=>s=>!s._stopped&&l&&l(s))}else return t}const ta=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,xh=(e,t,n,l,s,r,i,a,o)=>{const c=s==="svg";t==="class"?fh(e,l,c):t==="style"?mh(e,n,l):Ll(t)?Pr(t)||kh(e,t,n,l,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Sh(e,t,l,c))?_h(e,t,l,r,i,a,o):(t==="true-value"?e._trueValue=l:t==="false-value"&&(e._falseValue=l),yh(e,t,l,c))};function Sh(e,t,n,l){if(l)return!!(t==="innerHTML"||t==="textContent"||t in e&&ta(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 s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return ta(t)&&Fe(n)?!1:t in e}const nc=new WeakMap,lc=new WeakMap,hs=Symbol("_moveCb"),na=Symbol("_enterCb"),sc={name:"TransitionGroup",props:Re({},ch,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Nl(),l=Oo();let s,r;return Mo(()=>{if(!s.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!Rh(s[0].el,n.vnode.el,i))return;s.forEach(Nh),s.forEach(Ph);const a=s.filter(Oh);tc(),a.forEach(o=>{const c=o.el,u=c.style;xt(c,i),u.transform=u.webkitTransform=u.transitionDuration="";const f=c[hs]=h=>{h&&h.target!==c||(!h||/transform$/.test(h.propertyName))&&(c.removeEventListener("transitionend",f),c[hs]=null,Vt(c,i))};c.addEventListener("transitionend",f)})}),()=>{const i=de(e),a=Zo(i);let o=i.tag||He;s=r,r=t.default?Gr(t.default()):[];for(let c=0;c<r.length;c++){const u=r[c];u.key!=null&&vl(u,pl(u,a,l,n))}if(s)for(let c=0;c<s.length;c++){const u=s[c];vl(u,pl(u,a,l,n)),nc.set(u,u.el.getBoundingClientRect())}return Te(o,null,r)}}},Th=e=>delete e.mode;sc.props;const Ih=sc;function Nh(e){const t=e.el;t[hs]&&t[hs](),t[na]&&t[na]()}function Ph(e){lc.set(e,e.el.getBoundingClientRect())}function Oh(e){const t=nc.get(e),n=lc.get(e),l=t.left-n.left,s=t.top-n.top;if(l||s){const r=e.el.style;return r.transform=r.webkitTransform=`translate(${l}px,${s}px)`,r.transitionDuration="0s",e}}function Rh(e,t,n){const l=e.cloneNode(),s=e[Dn];s&&s.forEach(a=>{a.split(/\s+/).forEach(o=>o&&l.classList.remove(o))}),n.split(/\s+/).forEach(a=>a&&l.classList.add(a)),l.style.display="none";const r=t.nodeType===1?t:t.parentNode;r.appendChild(l);const{hasTransform:i}=ec(l);return r.removeChild(l),i}const la=e=>{const t=e.props["onUpdate:modelValue"]||!1;return re(t)?n=>ns(t,n):t};function Fh(e){e.target.composing=!0}function sa(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Hs=Symbol("_assign"),rc={created(e,{modifiers:{lazy:t,trim:n,number:l}},s){e[Hs]=la(s);const r=l||s.props&&s.props.type==="number";wn(e,t?"change":"input",i=>{if(i.target.composing)return;let a=e.value;n&&(a=a.trim()),r&&(a=rr(a)),e[Hs](a)}),n&&wn(e,"change",()=>{e.value=e.value.trim()}),t||(wn(e,"compositionstart",Fh),wn(e,"compositionend",sa),wn(e,"change",sa))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:l,number:s}},r){if(e[Hs]=la(r),e.composing)return;const i=s||e.type==="number"?rr(e.value):e.value,a=t??"";i!==a&&(document.activeElement===e&&e.type!=="range"&&(n||l&&e.value.trim()===a)||(e.value=a))}},$h=Re({patchProp:xh},oh);let Us,ra=!1;function Mh(){return Us=ra?Us:Hf($h),ra=!0,Us}const Dh=(...e)=>{const t=Mh().createApp(...e),{mount:n}=t;return t.mount=l=>{const s=jh(l);if(s)return n(s,!0,Vh(s))},t};function Vh(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function jh(e){return Fe(e)?document.querySelector(e):e}var Bh=["link","meta","script","style","noscript","template"],Hh=["title","base"],Uh=([e,t,n])=>Hh.includes(e)?e:Bh.includes(e)?e==="meta"&&t.name?`${e}.${t.name}`:e==="template"&&t.id?`${e}.${t.id}`:JSON.stringify([e,Object.entries(t).map(([l,s])=>typeof s=="boolean"?s?[l,""]:null:[l,s]).filter(l=>l!=null).sort(([l],[s])=>l.localeCompare(s)),n]):null,zh=e=>{const t=new Set,n=[];return e.forEach(l=>{const s=Uh(l);s&&!t.has(s)&&(t.add(s),n.push(l))}),n},qh=e=>e[0]==="/"?e:`/${e}`,ic=e=>e[e.length-1]==="/"||e.endsWith(".html")?e:`${e}/`,yn=e=>/^(https?:)?\/\//.test(e),Wh=/.md((\?|#).*)?$/,Vn=(e,t="/")=>!!(yn(e)||e.startsWith("/")&&!e.startsWith(t)&&!Wh.test(e)),ac=e=>/^[a-z][a-z0-9+.-]*:/.test(e),Gn=e=>Object.prototype.toString.call(e)==="[object Object]",Gh=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("")},ei=e=>e[e.length-1]==="/"?e.slice(0,-1):e,oc=e=>e[0]==="/"?e.slice(1):e,Kh=(e,t)=>{const n=Object.keys(e).sort((l,s)=>{const r=s.split("/").length-l.split("/").length;return r!==0?r:s.length-l.length});for(const l of n)if(t.startsWith(l))return l;return"/"},Pe=e=>typeof e=="string";const Yh="modulepreload",Qh=function(e){return"/"+e},ia={},I=function(t,n,l){let s=Promise.resolve();if(n&&n.length>0){const r=document.getElementsByTagName("link"),i=document.querySelector("meta[property=csp-nonce]"),a=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));s=Promise.all(n.map(o=>{if(o=Qh(o),o in ia)return;ia[o]=!0;const c=o.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(!!l)for(let p=r.length-1;p>=0;p--){const m=r[p];if(m.href===o&&(!c||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${u}`))return;const h=document.createElement("link");if(h.rel=c?"stylesheet":Yh,c||(h.as="script",h.crossOrigin=""),h.href=o,a&&h.setAttribute("nonce",a),document.head.appendChild(h),c)return new Promise((p,m)=>{h.addEventListener("load",p),h.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${o}`)))})}))}return s.then(()=>t()).catch(r=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=r,window.dispatchEvent(i),!i.defaultPrevented)throw r})},Jh=JSON.parse("{}"),Xh=Object.fromEntries([["/",{loader:()=>I(()=>import("./index.html-BXcp01wa.js"),__vite__mapDeps([])),meta:{t:"首页",i:"home"}}],["/deploy/",{loader:()=>I(()=>import("./index.html-degKbZTI.js"),__vite__mapDeps([])),meta:{t:"项目部署",i:"laptop-code"}}],["/deploy/config.html",{loader:()=>I(()=>import("./config.html-B1syaxcK.js"),__vite__mapDeps([])),meta:{t:"配置",i:"cog",O:2}}],["/deploy/fandq.html",{loader:()=>I(()=>import("./fandq.html-DbukZrxx.js"),__vite__mapDeps([])),meta:{t:"答疑",i:"question",O:3}}],["/deploy/install.html",{loader:()=>I(()=>import("./install.html-Dn0--08C.js"),__vite__mapDeps([])),meta:{t:"安装",i:"download",O:1}}],["/dev/",{loader:()=>I(()=>import("./index.html-MLET2Zfm.js"),__vite__mapDeps([])),meta:{t:"开发及贡献",i:"laptop-code"}}],["/dev/dev_comm.html",{loader:()=>I(()=>import("./dev_comm.html-Bb1BvdA7.js"),__vite__mapDeps([])),meta:{t:"进程通信",i:"exchange-alt",O:4}}],["/dev/dev_lyfunc.html",{loader:()=>I(()=>import("./dev_lyfunc.html-BJ-C7Gj8.js"),__vite__mapDeps([])),meta:{t:"轻雪函数",i:"code",O:2}}],["/dev/dev_lyplugin.html",{loader:()=>I(()=>import("./dev_lyplugin.html-CC1h4TdW.js"),__vite__mapDeps([])),meta:{t:"轻雪插件开发",i:"laptop-code",O:3}}],["/dev/dev_resource_pack.html",{loader:()=>I(()=>import("./dev_resource_pack.html-DbZ6Vbw3.js"),__vite__mapDeps([])),meta:{t:"资源包开发",i:"box",O:1}}],["/en/",{loader:()=>I(()=>import("./index.html-CiqpGOia.js"),__vite__mapDeps([])),meta:{t:"Home",i:"home"}}],["/store/",{loader:()=>I(()=>import("./index.html-Dm3bHRQN.js"),__vite__mapDeps([])),meta:{t:"资源及插件商店",i:"store"}}],["/store/plugin.html",{loader:()=>I(()=>import("./plugin.html-DcbGc7PU.js"),__vite__mapDeps([])),meta:{t:"插件商店",i:"plug",O:2}}],["/store/resource.html",{loader:()=>I(()=>import("./resource.html-BS7DPW3y.js"),__vite__mapDeps([])),meta:{t:"资源商店",i:"box",O:1}}],["/usage/",{loader:()=>I(()=>import("./index.html-CQDwUMv7.js"),__vite__mapDeps([])),meta:{t:"使用手册",i:"laptop-code"}}],["/usage/agreement.html",{loader:()=>I(()=>import("./agreement.html-Q64snoiY.js"),__vite__mapDeps([])),meta:{t:"用户协议",i:"user-secret",O:3}}],["/usage/basic_command.html",{loader:()=>I(()=>import("./basic_command.html-CqPYA__F.js"),__vite__mapDeps([])),meta:{t:"基础命令",i:"comment",O:1}}],["/usage/extra_command.html",{loader:()=>I(()=>import("./extra_command.html-CE4BARPP.js"),__vite__mapDeps([])),meta:{t:"功能命令",i:"comment",O:2}}],["/dev/api/",{loader:()=>I(()=>import("./index.html-BLhSWlLB.js"),__vite__mapDeps([])),meta:{t:"liteyuki"}}],["/dev/api/config.html",{loader:()=>I(()=>import("./config.html-6Tbch0Rj.js"),__vite__mapDeps([])),meta:{t:"liteyuki.config"}}],["/dev/api/exception.html",{loader:()=>I(()=>import("./exception.html-BkmmPec8.js"),__vite__mapDeps([])),meta:{t:"liteyuki.exception"}}],["/dev/api/log.html",{loader:()=>I(()=>import("./log.html-XF7Fze52.js"),__vite__mapDeps([])),meta:{t:"liteyuki.log"}}],["/dev/api/mkdoc.html",{loader:()=>I(()=>import("./mkdoc.html-DkukQHjl.js"),__vite__mapDeps([])),meta:{t:"liteyuki.mkdoc"}}],["/dev/api/utils.html",{loader:()=>I(()=>import("./utils.html-Bdl8GheN.js"),__vite__mapDeps([])),meta:{t:"liteyuki.utils"}}],["/en/deploy/",{loader:()=>I(()=>import("./index.html-BHgYdwA5.js"),__vite__mapDeps([])),meta:{t:"Deploy",i:"laptop-code"}}],["/en/deploy/config.html",{loader:()=>I(()=>import("./config.html-4EymchQy.js"),__vite__mapDeps([])),meta:{t:"Configuration",i:"cog",O:2}}],["/en/deploy/fandq.html",{loader:()=>I(()=>import("./fandq.html-TloOLC-e.js"),__vite__mapDeps([])),meta:{t:"FAQ",i:"question",O:3}}],["/en/deploy/install.html",{loader:()=>I(()=>import("./install.html-CSZ_Blp2.js"),__vite__mapDeps([])),meta:{t:"Installation",i:"download",O:1}}],["/en/dev/",{loader:()=>I(()=>import("./index.html-VU24uxuB.js"),__vite__mapDeps([])),meta:{t:"开发及贡献",i:"laptop-code"}}],["/en/dev/dev_comm.html",{loader:()=>I(()=>import("./dev_comm.html-CocVhTN6.js"),__vite__mapDeps([])),meta:{t:"进程通信",i:"exchange-alt",O:4}}],["/en/dev/dev_lyfunc.html",{loader:()=>I(()=>import("./dev_lyfunc.html-CVeHQ5_4.js"),__vite__mapDeps([])),meta:{t:"轻雪函数",i:"code",O:2}}],["/en/dev/dev_lyplugin.html",{loader:()=>I(()=>import("./dev_lyplugin.html-B7WwnHH6.js"),__vite__mapDeps([])),meta:{t:"轻雪插件开发",i:"laptop-code",O:3}}],["/en/dev/dev_resource_pack.html",{loader:()=>I(()=>import("./dev_resource_pack.html-DjH7aIuI.js"),__vite__mapDeps([])),meta:{t:"资源包开发",i:"box",O:1}}],["/en/store/",{loader:()=>I(()=>import("./index.html-C_FJiA4q.js"),__vite__mapDeps([])),meta:{t:"Extensions Store",i:"store"}}],["/en/store/plugin.html",{loader:()=>I(()=>import("./plugin.html-D9leGLDt.js"),__vite__mapDeps([])),meta:{t:"Plugin Store",i:"plug",O:2}}],["/en/store/resource.html",{loader:()=>I(()=>import("./resource.html-BqEbdx_Y.js"),__vite__mapDeps([])),meta:{t:"Resource Store",i:"box",O:1}}],["/en/usage/",{loader:()=>I(()=>import("./index.html-BucUg5Yg.js"),__vite__mapDeps([])),meta:{t:"Usage",i:"laptop-code"}}],["/en/usage/agreement.html",{loader:()=>I(()=>import("./agreement.html-D2uCcr1r.js"),__vite__mapDeps([])),meta:{t:"User Agreement",i:"user-secret",O:3}}],["/en/usage/basic_command.html",{loader:()=>I(()=>import("./basic_command.html-B9-TxHBl.js"),__vite__mapDeps([])),meta:{t:"Basic Commands",i:"comment",O:1}}],["/en/usage/extra_command.html",{loader:()=>I(()=>import("./extra_command.html-9mP9wPW0.js"),__vite__mapDeps([])),meta:{t:"Extra Commands",i:"comment",O:2}}],["/dev/api/bot/",{loader:()=>I(()=>import("./index.html-CCJkkdj0.js"),__vite__mapDeps([])),meta:{t:"liteyuki.bot"}}],["/dev/api/bot/lifespan.html",{loader:()=>I(()=>import("./lifespan.html-DEu1_4P8.js"),__vite__mapDeps([])),meta:{t:"liteyuki.bot.lifespan"}}],["/dev/api/comm/",{loader:()=>I(()=>import("./index.html-BFIseyxQ.js"),__vite__mapDeps([])),meta:{t:"liteyuki.comm"}}],["/dev/api/comm/channel.html",{loader:()=>I(()=>import("./channel.html-4MgiWTk4.js"),__vite__mapDeps([])),meta:{t:"liteyuki.comm.channel"}}],["/dev/api/comm/event.html",{loader:()=>I(()=>import("./event.html-Wy-ptAuK.js"),__vite__mapDeps([])),meta:{t:"liteyuki.comm.event"}}],["/dev/api/comm/rpc.html",{loader:()=>I(()=>import("./rpc.html-Phmlqb28.js"),__vite__mapDeps([])),meta:{t:"liteyuki.comm.rpc"}}],["/dev/api/comm/socks_channel.html",{loader:()=>I(()=>import("./socks_channel.html-Dcwxnowc.js"),__vite__mapDeps([])),meta:{t:"liteyuki.comm.socks_channel"}}],["/dev/api/comm/storage.html",{loader:()=>I(()=>import("./storage.html-Bfj0YqWR.js"),__vite__mapDeps([])),meta:{t:"liteyuki.comm.storage"}}],["/dev/api/core/",{loader:()=>I(()=>import("./index.html-D3TarIMe.js"),__vite__mapDeps([])),meta:{t:"liteyuki.core"}}],["/dev/api/core/manager.html",{loader:()=>I(()=>import("./manager.html-DeYiMi3A.js"),__vite__mapDeps([])),meta:{t:"liteyuki.core.manager"}}],["/dev/api/dev/",{loader:()=>I(()=>import("./index.html-BQpa33d5.js"),__vite__mapDeps([])),meta:{t:"liteyuki.dev"}}],["/dev/api/dev/observer.html",{loader:()=>I(()=>import("./observer.html-BQsrnpPT.js"),__vite__mapDeps([])),meta:{t:"liteyuki.dev.observer"}}],["/dev/api/dev/plugin.html",{loader:()=>I(()=>import("./plugin.html-DdUwM3ao.js"),__vite__mapDeps([])),meta:{t:"liteyuki.dev.plugin"}}],["/dev/api/message/",{loader:()=>I(()=>import("./index.html-tK9_GRC3.js"),__vite__mapDeps([])),meta:{t:"liteyuki.message"}}],["/dev/api/message/event.html",{loader:()=>I(()=>import("./event.html-BR8_ZhNU.js"),__vite__mapDeps([])),meta:{t:"liteyuki.message.event"}}],["/dev/api/message/matcher.html",{loader:()=>I(()=>import("./matcher.html-KBe9e6cu.js"),__vite__mapDeps([])),meta:{t:"liteyuki.message.matcher"}}],["/dev/api/message/on.html",{loader:()=>I(()=>import("./on.html-C-mSYOEh.js"),__vite__mapDeps([])),meta:{t:"liteyuki.message.on"}}],["/dev/api/message/rule.html",{loader:()=>I(()=>import("./rule.html-Dn0UEePo.js"),__vite__mapDeps([])),meta:{t:"liteyuki.message.rule"}}],["/dev/api/message/session.html",{loader:()=>I(()=>import("./session.html-BLr91wAE.js"),__vite__mapDeps([])),meta:{t:"liteyuki.message.session"}}],["/dev/api/plugin/",{loader:()=>I(()=>import("./index.html-HTzBdKfD.js"),__vite__mapDeps([])),meta:{t:"liteyuki.plugin"}}],["/dev/api/plugin/load.html",{loader:()=>I(()=>import("./load.html-9uZkqPWl.js"),__vite__mapDeps([])),meta:{t:"liteyuki.plugin.load"}}],["/dev/api/plugin/manager.html",{loader:()=>I(()=>import("./manager.html-D0YHG-Fo.js"),__vite__mapDeps([])),meta:{t:"liteyuki.plugin.manager"}}],["/dev/api/plugin/model.html",{loader:()=>I(()=>import("./model.html-B-kAKH7c.js"),__vite__mapDeps([])),meta:{t:"liteyuki.plugin.model"}}],["/dev/api/plugins/liteecho.html",{loader:()=>I(()=>import("./liteecho.html-DN67H2y1.js"),__vite__mapDeps([])),meta:{t:"liteyuki.plugins.liteecho"}}],["/en/dev/api/",{loader:()=>I(()=>import("./index.html-B0VzSls5.js"),__vite__mapDeps([])),meta:{t:"liteyuki"}}],["/en/dev/api/config.html",{loader:()=>I(()=>import("./config.html-HMPs2Q7l.js"),__vite__mapDeps([])),meta:{t:"liteyuki.config"}}],["/en/dev/api/exception.html",{loader:()=>I(()=>import("./exception.html-CbCQFm8_.js"),__vite__mapDeps([])),meta:{t:"liteyuki.exception"}}],["/en/dev/api/log.html",{loader:()=>I(()=>import("./log.html-DXa7nAuy.js"),__vite__mapDeps([])),meta:{t:"liteyuki.log"}}],["/en/dev/api/mkdoc.html",{loader:()=>I(()=>import("./mkdoc.html-9pSL0-1o.js"),__vite__mapDeps([])),meta:{t:"liteyuki.mkdoc"}}],["/en/dev/api/utils.html",{loader:()=>I(()=>import("./utils.html-Dm8pJiTh.js"),__vite__mapDeps([])),meta:{t:"liteyuki.utils"}}],["/dev/api/plugins/plugin_loader/",{loader:()=>I(()=>import("./index.html-bUaPMfXR.js"),__vite__mapDeps([])),meta:{t:"liteyuki.plugins.plugin_loader"}}],["/en/dev/api/bot/",{loader:()=>I(()=>import("./index.html-zG90qPqW.js"),__vite__mapDeps([])),meta:{t:"liteyuki.bot"}}],["/en/dev/api/bot/lifespan.html",{loader:()=>I(()=>import("./lifespan.html-B7nZCbKx.js"),__vite__mapDeps([])),meta:{t:"liteyuki.bot.lifespan"}}],["/en/dev/api/comm/",{loader:()=>I(()=>import("./index.html-DxC_ppH1.js"),__vite__mapDeps([])),meta:{t:"liteyuki.comm"}}],["/en/dev/api/comm/channel.html",{loader:()=>I(()=>import("./channel.html-DXBu3gS-.js"),__vite__mapDeps([])),meta:{t:"liteyuki.comm.channel"}}],["/en/dev/api/comm/event.html",{loader:()=>I(()=>import("./event.html-Lj9kJbrR.js"),__vite__mapDeps([])),meta:{t:"liteyuki.comm.event"}}],["/en/dev/api/comm/rpc.html",{loader:()=>I(()=>import("./rpc.html-D3fEdQaw.js"),__vite__mapDeps([])),meta:{t:"liteyuki.comm.rpc"}}],["/en/dev/api/comm/socks_channel.html",{loader:()=>I(()=>import("./socks_channel.html-BLQcelgF.js"),__vite__mapDeps([])),meta:{t:"liteyuki.comm.socks_channel"}}],["/en/dev/api/comm/storage.html",{loader:()=>I(()=>import("./storage.html-VRe8diVO.js"),__vite__mapDeps([])),meta:{t:"liteyuki.comm.storage"}}],["/en/dev/api/core/",{loader:()=>I(()=>import("./index.html-C3-JaVxI.js"),__vite__mapDeps([])),meta:{t:"liteyuki.core"}}],["/en/dev/api/core/manager.html",{loader:()=>I(()=>import("./manager.html-ClhbGQNd.js"),__vite__mapDeps([])),meta:{t:"liteyuki.core.manager"}}],["/en/dev/api/dev/",{loader:()=>I(()=>import("./index.html-Dj5761RH.js"),__vite__mapDeps([])),meta:{t:"liteyuki.dev"}}],["/en/dev/api/dev/observer.html",{loader:()=>I(()=>import("./observer.html-CU-_F-H0.js"),__vite__mapDeps([])),meta:{t:"liteyuki.dev.observer"}}],["/en/dev/api/dev/plugin.html",{loader:()=>I(()=>import("./plugin.html-xaNIEVKK.js"),__vite__mapDeps([])),meta:{t:"liteyuki.dev.plugin"}}],["/en/dev/api/message/",{loader:()=>I(()=>import("./index.html-C2rxO-nl.js"),__vite__mapDeps([])),meta:{t:"liteyuki.message"}}],["/en/dev/api/message/event.html",{loader:()=>I(()=>import("./event.html-C2BijEMy.js"),__vite__mapDeps([])),meta:{t:"liteyuki.message.event"}}],["/en/dev/api/message/matcher.html",{loader:()=>I(()=>import("./matcher.html-CapKbq5N.js"),__vite__mapDeps([])),meta:{t:"liteyuki.message.matcher"}}],["/en/dev/api/message/on.html",{loader:()=>I(()=>import("./on.html-Dm8ZSgZr.js"),__vite__mapDeps([])),meta:{t:"liteyuki.message.on"}}],["/en/dev/api/message/rule.html",{loader:()=>I(()=>import("./rule.html-DjzyXyIf.js"),__vite__mapDeps([])),meta:{t:"liteyuki.message.rule"}}],["/en/dev/api/message/session.html",{loader:()=>I(()=>import("./session.html-CDkbDvas.js"),__vite__mapDeps([])),meta:{t:"liteyuki.message.session"}}],["/en/dev/api/plugin/",{loader:()=>I(()=>import("./index.html-CRQs9iSl.js"),__vite__mapDeps([])),meta:{t:"liteyuki.plugin"}}],["/en/dev/api/plugin/load.html",{loader:()=>I(()=>import("./load.html-C2lN84N1.js"),__vite__mapDeps([])),meta:{t:"liteyuki.plugin.load"}}],["/en/dev/api/plugin/manager.html",{loader:()=>I(()=>import("./manager.html-BaBDXScH.js"),__vite__mapDeps([])),meta:{t:"liteyuki.plugin.manager"}}],["/en/dev/api/plugin/model.html",{loader:()=>I(()=>import("./model.html-CdnNSbRm.js"),__vite__mapDeps([])),meta:{t:"liteyuki.plugin.model"}}],["/en/dev/api/plugins/liteecho.html",{loader:()=>I(()=>import("./liteecho.html-CXqSeo7m.js"),__vite__mapDeps([])),meta:{t:"liteyuki.plugins.liteecho"}}],["/en/dev/api/plugins/plugin_loader/",{loader:()=>I(()=>import("./index.html-B4wLa995.js"),__vite__mapDeps([])),meta:{t:"liteyuki.plugins.plugin_loader"}}],["/404.html",{loader:()=>I(()=>import("./404.html-Br6X92g0.js"),__vite__mapDeps([])),meta:{t:""}}],["/dev/api/plugins/",{loader:()=>I(()=>import("./index.html-vqnUF7rX.js"),__vite__mapDeps([])),meta:{t:"Plugins"}}],["/en/dev/api/plugins/",{loader:()=>I(()=>import("./index.html-CxmG1eCY.js"),__vite__mapDeps([])),meta:{t:"Plugins"}}]]);/*!
* vue-router v4.4.0
* (c) 2024 Eduardo San Martin Morote
* @license MIT
*/const En=typeof document<"u";function Zh(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const me=Object.assign;function zs(e,t){const n={};for(const l in t){const s=t[l];n[l]=bt(s)?s.map(e):e(s)}return n}const ol=()=>{},bt=Array.isArray,cc=/#/g,ep=/&/g,tp=/\//g,np=/=/g,lp=/\?/g,uc=/\+/g,sp=/%5B/g,rp=/%5D/g,dc=/%5E/g,ip=/%60/g,fc=/%7B/g,ap=/%7C/g,hc=/%7D/g,op=/%20/g;function ti(e){return encodeURI(""+e).replace(ap,"|").replace(sp,"[").replace(rp,"]")}function cp(e){return ti(e).replace(fc,"{").replace(hc,"}").replace(dc,"^")}function mr(e){return ti(e).replace(uc,"%2B").replace(op,"+").replace(cc,"%23").replace(ep,"%26").replace(ip,"`").replace(fc,"{").replace(hc,"}").replace(dc,"^")}function up(e){return mr(e).replace(np,"%3D")}function dp(e){return ti(e).replace(cc,"%23").replace(lp,"%3F")}function fp(e){return e==null?"":dp(e).replace(tp,"%2F")}function yl(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const hp=/\/$/,pp=e=>e.replace(hp,"");function qs(e,t,n="/"){let l,s={},r="",i="";const a=t.indexOf("#");let o=t.indexOf("?");return a<o&&a>=0&&(o=-1),o>-1&&(l=t.slice(0,o),r=t.slice(o+1,a>-1?a:t.length),s=e(r)),a>-1&&(l=l||t.slice(0,a),i=t.slice(a,t.length)),l=yp(l??t,n),{fullPath:l+(r&&"?")+r+i,path:l,query:s,hash:yl(i)}}function vp(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function aa(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function mp(e,t,n){const l=t.matched.length-1,s=n.matched.length-1;return l>-1&&l===s&&jn(t.matched[l],n.matched[s])&&pc(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function jn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function pc(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!gp(e[n],t[n]))return!1;return!0}function gp(e,t){return bt(e)?oa(e,t):bt(t)?oa(t,e):e===t}function oa(e,t){return bt(t)?e.length===t.length&&e.every((n,l)=>n===t[l]):e.length===1&&e[0]===t}function yp(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),l=e.split("/"),s=l[l.length-1];(s===".."||s===".")&&l.push("");let r=n.length-1,i,a;for(i=0;i<l.length;i++)if(a=l[i],a!==".")if(a==="..")r>1&&r--;else break;return n.slice(0,r).join("/")+"/"+l.slice(i).join("/")}const St={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var _l;(function(e){e.pop="pop",e.push="push"})(_l||(_l={}));var cl;(function(e){e.back="back",e.forward="forward",e.unknown=""})(cl||(cl={}));function _p(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),pp(e)}const bp=/^[^#]+#/;function kp(e,t){return e.replace(bp,"#")+t}function wp(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 Ls=()=>({left:window.scrollX,top:window.scrollY});function Ep(e){let t;if("el"in e){const n=e.el,l=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?l?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=wp(s,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 ca(e,t){return(history.state?history.state.position-t:-1)+e}const gr=new Map;function Cp(e,t){gr.set(e,t)}function Lp(e){const t=gr.get(e);return gr.delete(e),t}let Ap=()=>location.protocol+"//"+location.host;function vc(e,t){const{pathname:n,search:l,hash:s}=t,r=e.indexOf("#");if(r>-1){let a=s.includes(e.slice(r))?e.slice(r).length:1,o=s.slice(a);return o[0]!=="/"&&(o="/"+o),aa(o,"")}return aa(n,e)+l+s}function xp(e,t,n,l){let s=[],r=[],i=null;const a=({state:h})=>{const p=vc(e,location),m=n.value,b=t.value;let _=0;if(h){if(n.value=p,t.value=h,i&&i===m){i=null;return}_=b?h.position-b.position:0}else l(p);s.forEach(k=>{k(n.value,m,{delta:_,type:_l.pop,direction:_?_>0?cl.forward:cl.back:cl.unknown})})};function o(){i=n.value}function c(h){s.push(h);const p=()=>{const m=s.indexOf(h);m>-1&&s.splice(m,1)};return r.push(p),p}function u(){const{history:h}=window;h.state&&h.replaceState(me({},h.state,{scroll:Ls()}),"")}function f(){for(const h of r)h();r=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:o,listen:c,destroy:f}}function ua(e,t,n,l=!1,s=!1){return{back:e,current:t,forward:n,replaced:l,position:window.history.length,scroll:s?Ls():null}}function Sp(e){const{history:t,location:n}=window,l={value:vc(e,n)},s={value:t.state};s.value||r(l.value,{back:null,current:l.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function r(o,c,u){const f=e.indexOf("#"),h=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+o:Ap()+e+o;try{t[u?"replaceState":"pushState"](c,"",h),s.value=c}catch(p){console.error(p),n[u?"replace":"assign"](h)}}function i(o,c){const u=me({},t.state,ua(s.value.back,o,s.value.forward,!0),c,{position:s.value.position});r(o,u,!0),l.value=o}function a(o,c){const u=me({},s.value,t.state,{forward:o,scroll:Ls()});r(u.current,u,!0);const f=me({},ua(l.value,o,null),{position:u.position+1},c);r(o,f,!1),l.value=o}return{location:l,state:s,push:a,replace:i}}function Tp(e){e=_p(e);const t=Sp(e),n=xp(e,t.state,t.location,t.replace);function l(r,i=!0){i||n.pauseListeners(),history.go(r)}const s=me({location:"",base:e,go:l,createHref:kp.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function Ip(e){return typeof e=="string"||e&&typeof e=="object"}function mc(e){return typeof e=="string"||typeof e=="symbol"}const gc=Symbol("");var da;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(da||(da={}));function Bn(e,t){return me(new Error,{type:e,[gc]:!0},t)}function At(e,t){return e instanceof Error&&gc in e&&(t==null||!!(e.type&t))}const fa="[^/]+?",Np={sensitive:!1,strict:!1,start:!0,end:!0},Pp=/[.+*?^${}()[\]/\\]/g;function Op(e,t){const n=me({},Np,t),l=[];let s=n.start?"^":"";const r=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(s+="/");for(let f=0;f<c.length;f++){const h=c[f];let p=40+(n.sensitive?.25:0);if(h.type===0)f||(s+="/"),s+=h.value.replace(Pp,"\\$&"),p+=40;else if(h.type===1){const{value:m,repeatable:b,optional:_,regexp:k}=h;r.push({name:m,repeatable:b,optional:_});const C=k||fa;if(C!==fa){p+=10;try{new RegExp(`(${C})`)}catch(L){throw new Error(`Invalid custom RegExp for param "${m}" (${C}): `+L.message)}}let y=b?`((?:${C})(?:/(?:${C}))*)`:`(${C})`;f||(y=_&&c.length<2?`(?:/${y})`:"/"+y),_&&(y+="?"),s+=y,p+=20,_&&(p+=-8),b&&(p+=-20),C===".*"&&(p+=-50)}u.push(p)}l.push(u)}if(n.strict&&n.end){const c=l.length-1;l[c][l[c].length-1]+=.7000000000000001}n.strict||(s+="/?"),n.end?s+="$":n.strict&&(s+="(?:/|$)");const i=new RegExp(s,n.sensitive?"":"i");function a(c){const u=c.match(i),f={};if(!u)return null;for(let h=1;h<u.length;h++){const p=u[h]||"",m=r[h-1];f[m.name]=p&&m.repeatable?p.split("/"):p}return f}function o(c){let u="",f=!1;for(const h of e){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const p of h)if(p.type===0)u+=p.value;else if(p.type===1){const{value:m,repeatable:b,optional:_}=p,k=m in c?c[m]:"";if(bt(k)&&!b)throw new Error(`Provided param "${m}" is an array but it is not repeatable (* or + modifiers)`);const C=bt(k)?k.join("/"):k;if(!C)if(_)h.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${m}"`);u+=C}}return u||"/"}return{re:i,score:l,keys:r,parse:a,stringify:o}}function Rp(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,s=t.score;for(;n<l.length&&n<s.length;){const r=Rp(l[n],s[n]);if(r)return r;n++}if(Math.abs(s.length-l.length)===1){if(ha(l))return 1;if(ha(s))return-1}return s.length-l.length}function ha(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Fp={type:0,value:""},$p=/[a-zA-Z0-9_]/;function Mp(e){if(!e)return[[]];if(e==="/")return[[Fp]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${c}": ${p}`)}let n=0,l=n;const s=[];let r;function i(){r&&s.push(r),r=[]}let a=0,o,c="",u="";function f(){c&&(n===0?r.push({type:0,value:c}):n===1||n===2||n===3?(r.length>1&&(o==="*"||o==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:c,regexp:u,repeatable:o==="*"||o==="+",optional:o==="*"||o==="?"})):t("Invalid state to consume buffer"),c="")}function h(){c+=o}for(;a<e.length;){if(o=e[a++],o==="\\"&&n!==2){l=n,n=4;continue}switch(n){case 0:o==="/"?(c&&f(),i()):o===":"?(f(),n=1):h();break;case 4:h(),n=l;break;case 1:o==="("?n=2:$p.test(o)?h():(f(),n=0,o!=="*"&&o!=="?"&&o!=="+"&&a--);break;case 2:o===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+o:n=3:u+=o;break;case 3:f(),n=0,o!=="*"&&o!=="?"&&o!=="+"&&a--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),f(),i(),s}function Dp(e,t,n){const l=Op(Mp(e.path),n),s=me(l,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function Vp(e,t){const n=[],l=new Map;t=ma({strict:!1,end:!0,sensitive:!1},t);function s(f){return l.get(f)}function r(f,h,p){const m=!p,b=jp(f);b.aliasOf=p&&p.record;const _=ma(t,f),k=[b];if("alias"in f){const L=typeof f.alias=="string"?[f.alias]:f.alias;for(const O of L)k.push(me({},b,{components:p?p.record.components:b.components,path:O,aliasOf:p?p.record:b}))}let C,y;for(const L of k){const{path:O}=L;if(h&&O[0]!=="/"){const A=h.record.path,N=A[A.length-1]==="/"?"":"/";L.path=h.record.path+(O&&N+O)}if(C=Dp(L,h,_),p?p.alias.push(C):(y=y||C,y!==C&&y.alias.push(C),m&&f.name&&!va(C)&&i(f.name)),_c(C)&&o(C),b.children){const A=b.children;for(let N=0;N<A.length;N++)r(A[N],C,p&&p.children[N])}p=p||C}return y?()=>{i(y)}:ol}function i(f){if(mc(f)){const h=l.get(f);h&&(l.delete(f),n.splice(n.indexOf(h),1),h.children.forEach(i),h.alias.forEach(i))}else{const h=n.indexOf(f);h>-1&&(n.splice(h,1),f.record.name&&l.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function a(){return n}function o(f){const h=Up(f,n);n.splice(h,0,f),f.record.name&&!va(f)&&l.set(f.record.name,f)}function c(f,h){let p,m={},b,_;if("name"in f&&f.name){if(p=l.get(f.name),!p)throw Bn(1,{location:f});_=p.record.name,m=me(pa(h.params,p.keys.filter(y=>!y.optional).concat(p.parent?p.parent.keys.filter(y=>y.optional):[]).map(y=>y.name)),f.params&&pa(f.params,p.keys.map(y=>y.name))),b=p.stringify(m)}else if(f.path!=null)b=f.path,p=n.find(y=>y.re.test(b)),p&&(m=p.parse(b),_=p.record.name);else{if(p=h.name?l.get(h.name):n.find(y=>y.re.test(h.path)),!p)throw Bn(1,{location:f,currentLocation:h});_=p.record.name,m=me({},h.params,f.params),b=p.stringify(m)}const k=[];let C=p;for(;C;)k.unshift(C.record),C=C.parent;return{name:_,path:b,params:m,matched:k,meta:Hp(k)}}e.forEach(f=>r(f));function u(){n.length=0,l.clear()}return{addRoute:r,resolve:c,removeRoute:i,clearRoutes:u,getRoutes:a,getRecordMatcher:s}}function pa(e,t){const n={};for(const l of t)l in e&&(n[l]=e[l]);return n}function jp(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Bp(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 Bp(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 va(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Hp(e){return e.reduce((t,n)=>me(t,n.meta),{})}function ma(e,t){const n={};for(const l in e)n[l]=l in t?t[l]:e[l];return n}function Up(e,t){let n=0,l=t.length;for(;n!==l;){const r=n+l>>1;yc(e,t[r])<0?l=r:n=r+1}const s=zp(e);return s&&(l=t.lastIndexOf(s,l-1)),l}function zp(e){let t=e;for(;t=t.parent;)if(_c(t)&&yc(e,t)===0)return t}function _c({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function qp(e){const t={};if(e===""||e==="?")return t;const l=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<l.length;++s){const r=l[s].replace(uc," "),i=r.indexOf("="),a=yl(i<0?r:r.slice(0,i)),o=i<0?null:yl(r.slice(i+1));if(a in t){let c=t[a];bt(c)||(c=t[a]=[c]),c.push(o)}else t[a]=o}return t}function ga(e){let t="";for(let n in e){const l=e[n];if(n=up(n),l==null){l!==void 0&&(t+=(t.length?"&":"")+n);continue}(bt(l)?l.map(r=>r&&mr(r)):[l&&mr(l)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function Wp(e){const t={};for(const n in e){const l=e[n];l!==void 0&&(t[n]=bt(l)?l.map(s=>s==null?null:""+s):l==null?l:""+l)}return t}const Gp=Symbol(""),ya=Symbol(""),As=Symbol(""),ni=Symbol(""),yr=Symbol("");function Xn(){let e=[];function t(l){return e.push(l),()=>{const s=e.indexOf(l);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function zt(e,t,n,l,s,r=i=>i()){const i=l&&(l.enterCallbacks[s]=l.enterCallbacks[s]||[]);return()=>new Promise((a,o)=>{const c=h=>{h===!1?o(Bn(4,{from:n,to:t})):h instanceof Error?o(h):Ip(h)?o(Bn(2,{from:t,to:h})):(i&&l.enterCallbacks[s]===i&&typeof h=="function"&&i.push(h),a())},u=r(()=>e.call(l&&l.instances[s],t,n,c));let f=Promise.resolve(u);e.length<3&&(f=f.then(c)),f.catch(h=>o(h))})}function Ws(e,t,n,l,s=r=>r()){const r=[];for(const i of e)for(const a in i.components){let o=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(Kp(o)){const u=(o.__vccOpts||o)[t];u&&r.push(zt(u,n,l,i,a,s))}else{let c=o();r.push(()=>c.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${i.path}"`));const f=Zh(u)?u.default:u;i.components[a]=f;const p=(f.__vccOpts||f)[t];return p&&zt(p,n,l,i,a,s)()}))}}return r}function Kp(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function _a(e){const t=Me(As),n=Me(ni),l=x(()=>{const o=Xe(e.to);return t.resolve(o)}),s=x(()=>{const{matched:o}=l.value,{length:c}=o,u=o[c-1],f=n.matched;if(!u||!f.length)return-1;const h=f.findIndex(jn.bind(null,u));if(h>-1)return h;const p=ba(o[c-2]);return c>1&&ba(u)===p&&f[f.length-1].path!==p?f.findIndex(jn.bind(null,o[c-2])):h}),r=x(()=>s.value>-1&&Xp(n.params,l.value.params)),i=x(()=>s.value>-1&&s.value===n.matched.length-1&&pc(n.params,l.value.params));function a(o={}){return Jp(o)?t[Xe(e.replace)?"replace":"push"](Xe(e.to)).catch(ol):Promise.resolve()}return{route:l,href:x(()=>l.value.href),isActive:r,isExactActive:i,navigate:a}}const Yp=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:_a,setup(e,{slots:t}){const n=xl(_a(e)),{options:l}=Me(As),s=x(()=>({[ka(e.activeClass,l.linkActiveClass,"router-link-active")]:n.isActive,[ka(e.exactActiveClass,l.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=t.default&&t.default(n);return e.custom?r:d("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},r)}}}),Qp=Yp;function Jp(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 Xp(e,t){for(const n in t){const l=t[n],s=e[n];if(typeof l=="string"){if(l!==s)return!1}else if(!bt(s)||s.length!==l.length||l.some((r,i)=>r!==s[i]))return!1}return!0}function ba(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ka=(e,t,n)=>e??t??n,Zp=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(yr),s=x(()=>e.route||l.value),r=Me(ya,0),i=x(()=>{let c=Xe(r);const{matched:u}=s.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),a=x(()=>s.value.matched[i.value]);Pn(ya,x(()=>i.value+1)),Pn(Gp,a),Pn(yr,s);const o=Q();return ve(()=>[o.value,a.value,e.name],([c,u,f],[h,p,m])=>{u&&(u.instances[f]=c,p&&p!==u&&c&&c===h&&(u.leaveGuards.size||(u.leaveGuards=p.leaveGuards),u.updateGuards.size||(u.updateGuards=p.updateGuards))),c&&u&&(!p||!jn(u,p)||!h)&&(u.enterCallbacks[f]||[]).forEach(b=>b(c))},{flush:"post"}),()=>{const c=s.value,u=e.name,f=a.value,h=f&&f.components[u];if(!h)return wa(n.default,{Component:h,route:c});const p=f.props[u],m=p?p===!0?c.params:typeof p=="function"?p(c):p:null,_=d(h,me({},m,t,{onVnodeUnmounted:k=>{k.component.isUnmounted&&(f.instances[u]=null)},ref:o}));return wa(n.default,{Component:_,route:c})||_}}});function wa(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const ev=Zp;function tv(e){const t=Vp(e.routes,e),n=e.parseQuery||qp,l=e.stringifyQuery||ga,s=e.history,r=Xn(),i=Xn(),a=Xn(),o=De(St);let c=St;En&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=zs.bind(null,w=>""+w),f=zs.bind(null,fp),h=zs.bind(null,yl);function p(w,V){let j,Z;return mc(w)?(j=t.getRecordMatcher(w),Z=V):Z=w,t.addRoute(Z,j)}function m(w){const V=t.getRecordMatcher(w);V&&t.removeRoute(V)}function b(){return t.getRoutes().map(w=>w.record)}function _(w){return!!t.getRecordMatcher(w)}function k(w,V){if(V=me({},V||o.value),typeof w=="string"){const g=qs(n,w,V.path),E=t.resolve({path:g.path},V),T=s.createHref(g.fullPath);return me(g,E,{params:h(E.params),hash:yl(g.hash),redirectedFrom:void 0,href:T})}let j;if(w.path!=null)j=me({},w,{path:qs(n,w.path,V.path).path});else{const g=me({},w.params);for(const E in g)g[E]==null&&delete g[E];j=me({},w,{params:f(g)}),V.params=f(V.params)}const Z=t.resolve(j,V),fe=w.hash||"";Z.params=u(h(Z.params));const _e=vp(l,me({},w,{hash:cp(fe),path:Z.path})),v=s.createHref(_e);return me({fullPath:_e,hash:fe,query:l===ga?Wp(w.query):w.query||{}},Z,{redirectedFrom:void 0,href:v})}function C(w){return typeof w=="string"?qs(n,w,o.value.path):me({},w)}function y(w,V){if(c!==w)return Bn(8,{from:V,to:w})}function L(w){return N(w)}function O(w){return L(me(C(w),{replace:!0}))}function A(w){const V=w.matched[w.matched.length-1];if(V&&V.redirect){const{redirect:j}=V;let Z=typeof j=="function"?j(w):j;return typeof Z=="string"&&(Z=Z.includes("?")||Z.includes("#")?Z=C(Z):{path:Z},Z.params={}),me({query:w.query,hash:w.hash,params:Z.path!=null?{}:w.params},Z)}}function N(w,V){const j=c=k(w),Z=o.value,fe=w.state,_e=w.force,v=w.replace===!0,g=A(j);if(g)return N(me(C(g),{state:typeof g=="object"?me({},fe,g.state):fe,force:_e,replace:v}),V||j);const E=j;E.redirectedFrom=V;let T;return!_e&&mp(l,Z,j)&&(T=Bn(16,{to:E,from:Z}),Ye(Z,Z,!0,!1)),(T?Promise.resolve(T):P(E,Z)).catch(S=>At(S)?At(S,2)?S:rt(S):G(S,E,Z)).then(S=>{if(S){if(At(S,2))return N(me({replace:v},C(S.to),{state:typeof S.to=="object"?me({},fe,S.to.state):fe,force:_e}),V||E)}else S=$(E,Z,!0,v,fe);return q(E,Z,S),S})}function R(w,V){const j=y(w,V);return j?Promise.reject(j):Promise.resolve()}function J(w){const V=K.values().next().value;return V&&typeof V.runWithContext=="function"?V.runWithContext(w):w()}function P(w,V){let j;const[Z,fe,_e]=nv(w,V);j=Ws(Z.reverse(),"beforeRouteLeave",w,V);for(const g of Z)g.leaveGuards.forEach(E=>{j.push(zt(E,w,V))});const v=R.bind(null,w,V);return j.push(v),X(j).then(()=>{j=[];for(const g of r.list())j.push(zt(g,w,V));return j.push(v),X(j)}).then(()=>{j=Ws(fe,"beforeRouteUpdate",w,V);for(const g of fe)g.updateGuards.forEach(E=>{j.push(zt(E,w,V))});return j.push(v),X(j)}).then(()=>{j=[];for(const g of _e)if(g.beforeEnter)if(bt(g.beforeEnter))for(const E of g.beforeEnter)j.push(zt(E,w,V));else j.push(zt(g.beforeEnter,w,V));return j.push(v),X(j)}).then(()=>(w.matched.forEach(g=>g.enterCallbacks={}),j=Ws(_e,"beforeRouteEnter",w,V,J),j.push(v),X(j))).then(()=>{j=[];for(const g of i.list())j.push(zt(g,w,V));return j.push(v),X(j)}).catch(g=>At(g,8)?g:Promise.reject(g))}function q(w,V,j){a.list().forEach(Z=>J(()=>Z(w,V,j)))}function $(w,V,j,Z,fe){const _e=y(w,V);if(_e)return _e;const v=V===St,g=En?history.state:{};j&&(Z||v?s.replace(w.fullPath,me({scroll:v&&g&&g.scroll},fe)):s.push(w.fullPath,fe)),o.value=w,Ye(w,V,j,v),rt()}let se;function Ee(){se||(se=s.listen((w,V,j)=>{if(!ne.listening)return;const Z=k(w),fe=A(Z);if(fe){N(me(fe,{replace:!0}),Z).catch(ol);return}c=Z;const _e=o.value;En&&Cp(ca(_e.fullPath,j.delta),Ls()),P(Z,_e).catch(v=>At(v,12)?v:At(v,2)?(N(v.to,Z).then(g=>{At(g,20)&&!j.delta&&j.type===_l.pop&&s.go(-1,!1)}).catch(ol),Promise.reject()):(j.delta&&s.go(-j.delta,!1),G(v,Z,_e))).then(v=>{v=v||$(Z,_e,!1),v&&(j.delta&&!At(v,8)?s.go(-j.delta,!1):j.type===_l.pop&&At(v,20)&&s.go(-1,!1)),q(Z,_e,v)}).catch(ol)}))}let be=Xn(),Y=Xn(),ae;function G(w,V,j){rt(w);const Z=Y.list();return Z.length?Z.forEach(fe=>fe(w,V,j)):console.error(w),Promise.reject(w)}function Ae(){return ae&&o.value!==St?Promise.resolve():new Promise((w,V)=>{be.add([w,V])})}function rt(w){return ae||(ae=!w,Ee(),be.list().forEach(([V,j])=>w?j(w):V()),be.reset()),w}function Ye(w,V,j,Z){const{scrollBehavior:fe}=e;if(!En||!fe)return Promise.resolve();const _e=!j&&Lp(ca(w.fullPath,0))||(Z||!j)&&history.state&&history.state.scroll||null;return Qt().then(()=>fe(w,V,_e)).then(v=>v&&Ep(v)).catch(v=>G(v,w,V))}const ee=w=>s.go(w);let z;const K=new Set,ne={currentRoute:o,listening:!0,addRoute:p,removeRoute:m,clearRoutes:t.clearRoutes,hasRoute:_,getRoutes:b,resolve:k,options:e,push:L,replace:O,go:ee,back:()=>ee(-1),forward:()=>ee(1),beforeEach:r.add,beforeResolve:i.add,afterEach:a.add,onError:Y.add,isReady:Ae,install(w){const V=this;w.component("RouterLink",Qp),w.component("RouterView",ev),w.config.globalProperties.$router=V,Object.defineProperty(w.config.globalProperties,"$route",{enumerable:!0,get:()=>Xe(o)}),En&&!z&&o.value===St&&(z=!0,L(s.location).catch(fe=>{}));const j={};for(const fe in St)Object.defineProperty(j,fe,{get:()=>o.value[fe],enumerable:!0});w.provide(As,V),w.provide(ni,go(j)),w.provide(yr,o);const Z=w.unmount;K.add(w),w.unmount=function(){K.delete(w),K.size<1&&(c=St,se&&se(),se=null,o.value=St,z=!1,ae=!1),Z()}}};function X(w){return w.reduce((V,j)=>V.then(()=>J(j)),Promise.resolve())}return ne}function nv(e,t){const n=[],l=[],s=[],r=Math.max(t.matched.length,e.matched.length);for(let i=0;i<r;i++){const a=t.matched[i];a&&(e.matched.find(c=>jn(c,a))?l.push(a):n.push(a));const o=e.matched[i];o&&(t.matched.find(c=>jn(c,o))||s.push(o))}return[n,l,s]}function _n(){return Me(As)}function Jt(e){return Me(ni)}var li=Symbol(""),Lt=()=>{const e=Me(li);if(!e)throw new Error("useClientData() is called without provider.");return e},lv=()=>Lt().pageComponent,Se=()=>Lt().pageData,Ie=()=>Lt().pageFrontmatter,sv=()=>Lt().pageHead,si=()=>Lt().pageLang,rv=()=>Lt().pageLayout,Xt=()=>Lt().routeLocale,bc=()=>Lt().routes,kc=()=>Lt().siteData,xs=()=>Lt().siteLocaleData,iv=Symbol(""),_r=De(Jh),bl=De(Xh),wc=e=>{const t=Gh(e);if(bl.value[t])return t;const n=encodeURI(t);return bl.value[n]?n:_r.value[t]||_r.value[n]||t},Ss=e=>{const t=wc(e),n=bl.value[t]??{...bl.value["/404.html"],notFound:!0};return{path:t,notFound:!1,...n}},Ts=U({name:"ClientOnly",setup(e,t){const n=Q(!1);return we(()=>{n.value=!0}),()=>{var l,s;return n.value?(s=(l=t.slots).default)==null?void 0:s.call(l):null}}}),Ec=U({name:"Content",props:{path:{type:String,required:!1,default:""}},setup(e){const t=lv(),n=x(()=>{if(!e.path)return t.value;const l=Ss(e.path);return mf(()=>l.loader().then(({comp:s})=>s))});return()=>d(n.value)}}),nt=(e={})=>e,Ge=e=>yn(e)?e:`/${oc(e)}`,av=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}},Je=({active:e=!1,activeClass:t="route-link-active",to:n,...l},{slots:s})=>{var o;const r=_n(),i=wc(n),a=i.startsWith("#")||i.startsWith("?")?i:Ge(i);return d("a",{...l,class:["route-link",{[t]:e}],href:a,onClick:(c={})=>{av(c)?r.push(n).catch():Promise.resolve()}},(o=s.default)==null?void 0:o.call(s))};Je.displayName="RouteLink";Je.props={active:Boolean,activeClass:String,to:String};var ov="Layout",cv="en-US",rn=xl({resolveLayouts:e=>e.reduce((t,n)=>({...t,...n.layouts}),{}),resolvePageHead:(e,t,n)=>{const l=Pe(t.description)?t.description:n.description,s=[...Array.isArray(t.head)?t.head:[],...n.head,["title",{},e],["meta",{name:"description",content:l}]];return zh(s)},resolvePageHeadTitle:(e,t)=>[e.title,t.title].filter(n=>!!n).join(" | "),resolvePageLang:(e,t)=>e.lang||t.lang||cv,resolvePageLayout:(e,t)=>{const n=Pe(e.frontmatter.layout)?e.frontmatter.layout:ov;if(!t[n])throw new Error(`[vuepress] Cannot resolve layout: ${n}`);return t[n]},resolveRouteLocale:(e,t)=>Kh(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 uv={},Rl=e=>{const t=Xt();return x(()=>e[t.value]??{})},dv=()=>{const e=bc();return x(()=>Object.keys(e.value))};var qe=Uint8Array,Ln=Uint16Array,fv=Int32Array,Cc=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]),Lc=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]),hv=new qe([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Ac=function(e,t){for(var n=new Ln(31),l=0;l<31;++l)n[l]=t+=1<<e[l-1];for(var s=new fv(n[30]),l=1;l<30;++l)for(var r=n[l];r<n[l+1];++r)s[r]=r-n[l]<<5|l;return{b:n,r:s}},xc=Ac(Cc,2),Sc=xc.b,pv=xc.r;Sc[28]=258,pv[258]=28;var vv=Ac(Lc,0),mv=vv.b,br=new Ln(32768);for(var Le=0;Le<32768;++Le){var Mt=(Le&43690)>>1|(Le&21845)<<1;Mt=(Mt&52428)>>2|(Mt&13107)<<2,Mt=(Mt&61680)>>4|(Mt&3855)<<4,br[Le]=((Mt&65280)>>8|(Mt&255)<<8)>>1}var ul=function(e,t,n){for(var l=e.length,s=0,r=new Ln(t);s<l;++s)e[s]&&++r[e[s]-1];var i=new Ln(t);for(s=1;s<t;++s)i[s]=i[s-1]+r[s-1]<<1;var a;if(n){a=new Ln(1<<t);var o=15-t;for(s=0;s<l;++s)if(e[s])for(var c=s<<4|e[s],u=t-e[s],f=i[e[s]-1]++<<u,h=f|(1<<u)-1;f<=h;++f)a[br[f]>>o]=c}else for(a=new Ln(l),s=0;s<l;++s)e[s]&&(a[s]=br[i[e[s]-1]++]>>15-e[s]);return a},Fl=new qe(288);for(var Le=0;Le<144;++Le)Fl[Le]=8;for(var Le=144;Le<256;++Le)Fl[Le]=9;for(var Le=256;Le<280;++Le)Fl[Le]=7;for(var Le=280;Le<288;++Le)Fl[Le]=8;var Tc=new qe(32);for(var Le=0;Le<32;++Le)Tc[Le]=5;var gv=ul(Fl,9,1),yv=ul(Tc,5,1),Gs=function(e){for(var t=e[0],n=1;n<e.length;++n)e[n]>t&&(t=e[n]);return t},vt=function(e,t,n){var l=t/8|0;return(e[l]|e[l+1]<<8)>>(t&7)&n},Ks=function(e,t){var n=t/8|0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>(t&7)},_v=function(e){return(e+7)/8|0},ri=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))},bv=["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"],ot=function(e,t,n){var l=new Error(t||bv[e]);if(l.code=e,Error.captureStackTrace&&Error.captureStackTrace(l,ot),!n)throw l;return l},kv=function(e,t,n,l){var s=e.length,r=l?l.length:0;if(!s||t.f&&!t.l)return n||new qe(0);var i=!n,a=i||t.i!=2,o=t.i;i&&(n=new qe(s*3));var c=function(fe){var _e=n.length;if(fe>_e){var v=new qe(Math.max(_e*2,fe));v.set(n),n=v}},u=t.f||0,f=t.p||0,h=t.b||0,p=t.l,m=t.d,b=t.m,_=t.n,k=s*8;do{if(!p){u=vt(e,f,1);var C=vt(e,f+1,3);if(f+=3,C)if(C==1)p=gv,m=yv,b=9,_=5;else if(C==2){var A=vt(e,f,31)+257,N=vt(e,f+10,15)+4,R=A+vt(e,f+5,31)+1;f+=14;for(var J=new qe(R),P=new qe(19),q=0;q<N;++q)P[hv[q]]=vt(e,f+q*3,7);f+=N*3;for(var $=Gs(P),se=(1<<$)-1,Ee=ul(P,$,1),q=0;q<R;){var be=Ee[vt(e,f,se)];f+=be&15;var y=be>>4;if(y<16)J[q++]=y;else{var Y=0,ae=0;for(y==16?(ae=3+vt(e,f,3),f+=2,Y=J[q-1]):y==17?(ae=3+vt(e,f,7),f+=3):y==18&&(ae=11+vt(e,f,127),f+=7);ae--;)J[q++]=Y}}var G=J.subarray(0,A),Ae=J.subarray(A);b=Gs(G),_=Gs(Ae),p=ul(G,b,1),m=ul(Ae,_,1)}else ot(1);else{var y=_v(f)+4,L=e[y-4]|e[y-3]<<8,O=y+L;if(O>s){o&&ot(0);break}a&&c(h+L),n.set(e.subarray(y,O),h),t.b=h+=L,t.p=f=O*8,t.f=u;continue}if(f>k){o&&ot(0);break}}a&&c(h+131072);for(var rt=(1<<b)-1,Ye=(1<<_)-1,ee=f;;ee=f){var Y=p[Ks(e,f)&rt],z=Y>>4;if(f+=Y&15,f>k){o&&ot(0);break}if(Y||ot(2),z<256)n[h++]=z;else if(z==256){ee=f,p=null;break}else{var K=z-254;if(z>264){var q=z-257,ne=Cc[q];K=vt(e,f,(1<<ne)-1)+Sc[q],f+=ne}var X=m[Ks(e,f)&Ye],w=X>>4;X||ot(3),f+=X&15;var Ae=mv[w];if(w>3){var ne=Lc[w];Ae+=Ks(e,f)&(1<<ne)-1,f+=ne}if(f>k){o&&ot(0);break}a&&c(h+131072);var V=h+K;if(h<Ae){var j=r-Ae,Z=Math.min(Ae,V);for(j+h<0&&ot(3);h<Z;++h)n[h]=l[j+h]}for(;h<V;++h)n[h]=n[h-Ae]}}t.l=p,t.p=ee,t.b=h,t.f=u,p&&(u=1,t.m=b,t.d=m,t.n=_)}while(!u);return h!=n.length&&i?ri(n,0,h):n.subarray(0,h)},wv=new qe(0),Ev=function(e,t){return((e[0]&15)!=8||e[0]>>4>7||(e[0]<<8|e[1])%31)&&ot(6,"invalid zlib data"),(e[1]>>5&1)==+!t&&ot(6,"invalid zlib data: "+(e[1]&32?"need":"unexpected")+" dictionary"),(e[1]>>3&4)+2};function Cv(e,t){return kv(e.subarray(Ev(e,t&&t.dictionary),-4),{i:2},t&&t.out,t&&t.dictionary)}var Ea=typeof TextEncoder<"u"&&new TextEncoder,kr=typeof TextDecoder<"u"&&new TextDecoder,Lv=0;try{kr.decode(wv,{stream:!0}),Lv=1}catch{}var Av=function(e){for(var t="",n=0;;){var l=e[n++],s=(l>127)+(l>223)+(l>239);if(n+s>e.length)return{s:t,r:ri(e,n-1)};s?s==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)):s&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 xv(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(Ea)return Ea.encode(e);for(var s=e.length,r=new qe(e.length+(e.length>>1)),i=0,a=function(u){r[i++]=u},l=0;l<s;++l){if(i+5>r.length){var o=new qe(i+8+(s-l<<1));o.set(r),r=o}var c=e.charCodeAt(l);c<128||t?a(c):c<2048?(a(192|c>>6),a(128|c&63)):c>55295&&c<57344?(c=65536+(c&1047552)|e.charCodeAt(++l)&1023,a(240|c>>18),a(128|c>>12&63),a(128|c>>6&63),a(128|c&63)):(a(224|c>>12),a(128|c>>6&63),a(128|c&63))}return ri(r,0,i)}function Sv(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(kr)return kr.decode(e);var s=Av(e),r=s.s,n=s.r;return n.length&&ot(8),r}}const wr=e=>{const t=atob(e);return Sv(Cv(xv(t,!0)))},ft=(e,t)=>{var l;const n=(l=(t==null?void 0:t._instance)||Nl())==null?void 0:l.appContext.components;return n?e in n||ht(e)in n||Al(ht(e))in n:!1},Ic=e=>new Promise(t=>setTimeout(t,e)),Nc=e=>typeof e<"u",Ys=e=>typeof e=="number",Er=Array.isArray,Hn=(e,t)=>Pe(e)&&e.startsWith(t),Tv=(e,t)=>Pe(e)&&e.endsWith(t),Pc=Object.entries,Zt=Object.keys,Iv=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},ii=e=>Hn(e,"/");function ai(e,t){let n,l,s;const r=Q(!0),i=()=>{r.value=!0,s()};ve(e,i,{flush:"sync"});const a=typeof t=="function"?t:t.get,o=typeof t=="function"?void 0:t.set,c=zr((u,f)=>(l=u,s=f,{get(){return r.value&&(n=a(),r.value=!1),l(),n},set(h){o==null||o(h)}}));return Object.isExtensible(c)&&(c.trigger=i),c}function Kn(e){return so()?(wd(e),!0):!1}function Be(e){return typeof e=="function"?e():Xe(e)}const $l=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Nv=Object.prototype.toString,Pv=e=>Nv.call(e)==="[object Object]",pn=()=>{},Ca=Ov();function Ov(){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 oi(e,t){function n(...l){return new Promise((s,r)=>{Promise.resolve(e(()=>t.apply(this,l),{fn:t,thisArg:this,args:l})).then(s).catch(r)})}return n}const Oc=e=>e();function Rv(e,t={}){let n,l,s=pn;const r=a=>{clearTimeout(a),s(),s=pn};return a=>{const o=Be(e),c=Be(t.maxWait);return n&&r(n),o<=0||c!==void 0&&c<=0?(l&&(r(l),l=null),Promise.resolve(a())):new Promise((u,f)=>{s=t.rejectOnCancel?f:u,c&&!l&&(l=setTimeout(()=>{n&&r(n),l=null,u(a())},c)),n=setTimeout(()=>{l&&r(l),l=null,u(a())},o)})}}function Fv(...e){let t=0,n,l=!0,s=pn,r,i,a,o,c;!Oe(e[0])&&typeof e[0]=="object"?{delay:i,trailing:a=!0,leading:o=!0,rejectOnCancel:c=!1}=e[0]:[i,a=!0,o=!0,c=!1]=e;const u=()=>{n&&(clearTimeout(n),n=void 0,s(),s=pn)};return h=>{const p=Be(i),m=Date.now()-t,b=()=>r=h();return u(),p<=0?(t=Date.now(),b()):(m>p&&(o||!l)?(t=Date.now(),b()):a&&(r=new Promise((_,k)=>{s=c?k:_,n=setTimeout(()=>{t=Date.now(),l=!0,_(b()),u()},Math.max(0,p-m))})),!o&&!n&&(n=setTimeout(()=>l=!0,p)),l=!1,r)}}function $v(e=Oc){const t=Q(!0);function n(){t.value=!1}function l(){t.value=!0}const s=(...r)=>{t.value&&e(...r)};return{isActive:Sl(t),pause:n,resume:l,eventFilter:s}}function Mv(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||Nl()}function Dv(...e){if(e.length!==1)return ys(...e);const t=e[0];return typeof t=="function"?Sl(zr(()=>({get:t,set:pn}))):Q(t)}function Fc(e,t=200,n={}){return oi(Rv(t,n),e)}function Vv(e,t=200,n=!1,l=!0,s=!1){return oi(Fv(t,n,l,s),e)}function jv(e,t,n={}){const{eventFilter:l=Oc,...s}=n;return ve(e,oi(l,t),s)}function Bv(e,t,n={}){const{eventFilter:l,...s}=n,{eventFilter:r,pause:i,resume:a,isActive:o}=$v(l);return{stop:jv(e,t,{...s,eventFilter:r}),pause:i,resume:a,isActive:o}}function Is(e,t=!0,n){Rc()?we(e,n):t?e():Qt(e)}function Hv(e,t){Rc(t)&&gn(e,t)}function Uv(e,t,n={}){const{immediate:l=!0}=n,s=Q(!1);let r=null;function i(){r&&(clearTimeout(r),r=null)}function a(){s.value=!1,i()}function o(...c){i(),s.value=!0,r=setTimeout(()=>{s.value=!1,r=null,e(...c)},Be(t))}return l&&(s.value=!0,$l&&o()),Kn(a),{isPending:Sl(s),start:o,stop:a}}function kl(e=!1,t={}){const{truthyValue:n=!0,falsyValue:l=!1}=t,s=Oe(e),r=Q(e);function i(a){if(arguments.length)return r.value=a,r.value;{const o=Be(n);return r.value=r.value===o?Be(l):o,r.value}}return s?i:[r,i]}function It(e){var t;const n=Be(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Pt=$l?window:void 0,$c=$l?window.document:void 0,Mc=$l?window.navigator:void 0;function $e(...e){let t,n,l,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,l,s]=e,t=Pt):[t,n,l,s]=e,!t)return pn;Array.isArray(n)||(n=[n]),Array.isArray(l)||(l=[l]);const r=[],i=()=>{r.forEach(u=>u()),r.length=0},a=(u,f,h,p)=>(u.addEventListener(f,h,p),()=>u.removeEventListener(f,h,p)),o=ve(()=>[It(t),Be(s)],([u,f])=>{if(i(),!u)return;const h=Pv(f)?{...f}:f;r.push(...n.flatMap(p=>l.map(m=>a(u,p,m,h))))},{immediate:!0,flush:"post"}),c=()=>{o(),i()};return Kn(c),c}function zv(){const e=Q(!1),t=Nl();return t&&we(()=>{e.value=!0},t),e}function Ml(e){const t=zv();return x(()=>(t.value,!!e()))}function Dc(e,t={}){const{window:n=Pt}=t,l=Ml(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let s;const r=Q(!1),i=c=>{r.value=c.matches},a=()=>{s&&("removeEventListener"in s?s.removeEventListener("change",i):s.removeListener(i))},o=Io(()=>{l.value&&(a(),s=n.matchMedia(Be(e)),"addEventListener"in s?s.addEventListener("change",i):s.addListener(i),r.value=s.matches)});return Kn(()=>{o(),a(),s=void 0}),r}function La(e,t={}){const{controls:n=!1,navigator:l=Mc}=t,s=Ml(()=>l&&"permissions"in l);let r;const i=typeof e=="string"?{name:e}:e,a=Q(),o=()=>{r&&(a.value=r.state)},c=Mv(async()=>{if(s.value){if(!r)try{r=await l.permissions.query(i),$e(r,"change",o),o()}catch{a.value="prompt"}return r}});return c(),n?{state:a,isSupported:s,query:c}:a}function qv(e={}){const{navigator:t=Mc,read:n=!1,source:l,copiedDuring:s=1500,legacy:r=!1}=e,i=Ml(()=>t&&"clipboard"in t),a=La("clipboard-read"),o=La("clipboard-write"),c=x(()=>i.value||r),u=Q(""),f=Q(!1),h=Uv(()=>f.value=!1,s);function p(){i.value&&k(a.value)?t.clipboard.readText().then(C=>{u.value=C}):u.value=_()}c.value&&n&&$e(["copy","cut"],p);async function m(C=Be(l)){c.value&&C!=null&&(i.value&&k(o.value)?await t.clipboard.writeText(C):b(C),u.value=C,f.value=!0,h.start())}function b(C){const y=document.createElement("textarea");y.value=C??"",y.style.position="absolute",y.style.opacity="0",document.body.appendChild(y),y.select(),document.execCommand("copy"),y.remove()}function _(){var C,y,L;return(L=(y=(C=document==null?void 0:document.getSelection)==null?void 0:C.call(document))==null?void 0:y.toString())!=null?L:""}function k(C){return C==="granted"||C==="prompt"}return{isSupported:c,text:u,copied:f,copy:m}}const Yl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ql="__vueuse_ssr_handlers__",Wv=Gv();function Gv(){return Ql in Yl||(Yl[Ql]=Yl[Ql]||{}),Yl[Ql]}function Kv(e,t){return Wv[e]||t}function Yv(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 Qv={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()}},Aa="vueuse-storage";function Yn(e,t,n,l={}){var s;const{flush:r="pre",deep:i=!0,listenToStorageChanges:a=!0,writeDefaults:o=!0,mergeDefaults:c=!1,shallow:u,window:f=Pt,eventFilter:h,onError:p=P=>{console.error(P)},initOnMounted:m}=l,b=(u?De:Q)(typeof t=="function"?t():t);if(!n)try{n=Kv("getDefaultStorage",()=>{var P;return(P=Pt)==null?void 0:P.localStorage})()}catch(P){p(P)}if(!n)return b;const _=Be(t),k=Yv(_),C=(s=l.serializer)!=null?s:Qv[k],{pause:y,resume:L}=Bv(b,()=>A(b.value),{flush:r,deep:i,eventFilter:h});f&&a&&Is(()=>{$e(f,"storage",R),$e(f,Aa,J),m&&R()}),m||R();function O(P,q){f&&f.dispatchEvent(new CustomEvent(Aa,{detail:{key:e,oldValue:P,newValue:q,storageArea:n}}))}function A(P){try{const q=n.getItem(e);if(P==null)O(q,null),n.removeItem(e);else{const $=C.write(P);q!==$&&(n.setItem(e,$),O(q,$))}}catch(q){p(q)}}function N(P){const q=P?P.newValue:n.getItem(e);if(q==null)return o&&_!=null&&n.setItem(e,C.write(_)),_;if(!P&&c){const $=C.read(q);return typeof c=="function"?c($,_):k==="object"&&!Array.isArray($)?{..._,...$}:$}else return typeof q!="string"?q:C.read(q)}function R(P){if(!(P&&P.storageArea!==n)){if(P&&P.key==null){b.value=_;return}if(!(P&&P.key!==e)){y();try{(P==null?void 0:P.newValue)!==C.write(b.value)&&(b.value=N(P))}catch(q){p(q)}finally{P?Qt(L):L()}}}}function J(P){R(P.detail)}return b}function Jv(e){return Dc("(prefers-color-scheme: dark)",e)}function Xv(e,t,n={}){const{window:l=Pt,...s}=n;let r;const i=Ml(()=>l&&"ResizeObserver"in l),a=()=>{r&&(r.disconnect(),r=void 0)},o=x(()=>Array.isArray(e)?e.map(f=>It(f)):[It(e)]),c=ve(o,f=>{if(a(),i.value&&l){r=new ResizeObserver(t);for(const h of f)h&&r.observe(h,s)}},{immediate:!0,flush:"post"}),u=()=>{a(),c()};return Kn(u),{isSupported:i,stop:u}}function Zv(e,t={width:0,height:0},n={}){const{window:l=Pt,box:s="content-box"}=n,r=x(()=>{var f,h;return(h=(f=It(e))==null?void 0:f.namespaceURI)==null?void 0:h.includes("svg")}),i=Q(t.width),a=Q(t.height),{stop:o}=Xv(e,([f])=>{const h=s==="border-box"?f.borderBoxSize:s==="content-box"?f.contentBoxSize:f.devicePixelContentBoxSize;if(l&&r.value){const p=It(e);if(p){const m=l.getComputedStyle(p);i.value=Number.parseFloat(m.width),a.value=Number.parseFloat(m.height)}}else if(h){const p=Array.isArray(h)?h:[h];i.value=p.reduce((m,{inlineSize:b})=>m+b,0),a.value=p.reduce((m,{blockSize:b})=>m+b,0)}else i.value=f.contentRect.width,a.value=f.contentRect.height},n);Is(()=>{const f=It(e);f&&(i.value="offsetWidth"in f?f.offsetWidth:t.width,a.value="offsetHeight"in f?f.offsetHeight:t.height)});const c=ve(()=>It(e),f=>{i.value=f?t.width:0,a.value=f?t.height:0});function u(){o(),c()}return{width:i,height:a,stop:u}}const xa=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function ci(e,t={}){const{document:n=$c,autoExit:l=!1}=t,s=x(()=>{var k;return(k=It(e))!=null?k:n==null?void 0:n.querySelector("html")}),r=Q(!1),i=x(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(k=>n&&k in n||s.value&&k in s.value)),a=x(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(k=>n&&k in n||s.value&&k in s.value)),o=x(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(k=>n&&k in n||s.value&&k in s.value)),c=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(k=>n&&k in n),u=Ml(()=>s.value&&n&&i.value!==void 0&&a.value!==void 0&&o.value!==void 0),f=()=>c?(n==null?void 0:n[c])===s.value:!1,h=()=>{if(o.value){if(n&&n[o.value]!=null)return n[o.value];{const k=s.value;if((k==null?void 0:k[o.value])!=null)return!!k[o.value]}}return!1};async function p(){if(!(!u.value||!r.value)){if(a.value)if((n==null?void 0:n[a.value])!=null)await n[a.value]();else{const k=s.value;(k==null?void 0:k[a.value])!=null&&await k[a.value]()}r.value=!1}}async function m(){if(!u.value||r.value)return;h()&&await p();const k=s.value;i.value&&(k==null?void 0:k[i.value])!=null&&(await k[i.value](),r.value=!0)}async function b(){await(r.value?p():m())}const _=()=>{const k=h();(!k||k&&f())&&(r.value=k)};return $e(n,xa,_,!1),$e(()=>It(s),xa,_,!1),l&&Kn(p),{isSupported:u,isFullscreen:r,enter:m,exit:p,toggle:b}}function Qs(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function Js(e,t=pn,n={}){const{immediate:l=!0,manual:s=!1,type:r="text/javascript",async:i=!0,crossOrigin:a,referrerPolicy:o,noModule:c,defer:u,document:f=$c,attrs:h={}}=n,p=Q(null);let m=null;const b=C=>new Promise((y,L)=>{const O=R=>(p.value=R,y(R),R);if(!f){y(!1);return}let A=!1,N=f.querySelector(`script[src="${Be(e)}"]`);N?N.hasAttribute("data-loaded")&&O(N):(N=f.createElement("script"),N.type=r,N.async=i,N.src=Be(e),u&&(N.defer=u),a&&(N.crossOrigin=a),c&&(N.noModule=c),o&&(N.referrerPolicy=o),Object.entries(h).forEach(([R,J])=>N==null?void 0:N.setAttribute(R,J)),A=!0),N.addEventListener("error",R=>L(R)),N.addEventListener("abort",R=>L(R)),N.addEventListener("load",()=>{N.setAttribute("data-loaded","true"),t(N),O(N)}),A&&(N=f.head.appendChild(N)),C||O(N)}),_=(C=!0)=>(m||(m=b(C)),m),k=()=>{if(!f)return;m=null,p.value&&(p.value=null);const C=f.querySelector(`script[src="${Be(e)}"]`);C&&f.head.removeChild(C)};return l&&!s&&Is(_),s||Hv(k),{scriptTag:p,load:_,unload:k}}function Vc(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:Vc(n)}}function em(e){const t=e||window.event,n=t.target;return Vc(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}const Jl=new WeakMap;function jc(e,t=!1){const n=Q(t);let l=null;ve(Dv(e),i=>{const a=Qs(Be(i));if(a){const o=a;Jl.get(o)||Jl.set(o,o.style.overflow),n.value&&(o.style.overflow="hidden")}},{immediate:!0});const s=()=>{const i=Qs(Be(e));!i||n.value||(Ca&&(l=$e(i,"touchmove",a=>{em(a)},{passive:!1})),i.style.overflow="hidden",n.value=!0)},r=()=>{var i;const a=Qs(Be(e));!a||!n.value||(Ca&&(l==null||l()),a.style.overflow=(i=Jl.get(a))!=null?i:"",Jl.delete(a),n.value=!1)};return Kn(r),x({get(){return n.value},set(i){i?s():r()}})}function Bc(e,t,n={}){const{window:l=Pt}=n;return Yn(e,t,l==null?void 0:l.sessionStorage,n)}function tm(e={}){const{window:t=Pt,behavior:n="auto"}=e;if(!t)return{x:Q(0),y:Q(0)};const l=Q(t.scrollX),s=Q(t.scrollY),r=x({get(){return l.value},set(a){scrollTo({left:a,behavior:n})}}),i=x({get(){return s.value},set(a){scrollTo({top:a,behavior:n})}});return $e(t,"scroll",()=>{l.value=t.scrollX,s.value=t.scrollY},{capture:!1,passive:!0}),{x:r,y:i}}function nm(e={}){const{window:t=Pt,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:l=Number.POSITIVE_INFINITY,listenOrientation:s=!0,includeScrollbar:r=!0}=e,i=Q(n),a=Q(l),o=()=>{t&&(r?(i.value=t.innerWidth,a.value=t.innerHeight):(i.value=t.document.documentElement.clientWidth,a.value=t.document.documentElement.clientHeight))};if(o(),Is(o),$e("resize",o,{passive:!0}),s){const c=Dc("(orientation: portrait)");ve(c,()=>o())}return{width:i,height:a}}var lm=U({name:"FontIcon",props:{icon:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""}},setup(e){const t=x(()=>{const l=["font-icon icon"],s=`fas fa-${e.icon}`;return l.push("fa-fw fa-sm"),l.push(e.icon.includes(" ")?e.icon:s),l}),n=x(()=>{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?d("span",{key:e.icon,class:t.value,style:n.value}):null}});const Hc=({type:e="info",text:t="",vertical:n,color:l},{slots:s})=>{var r;return d("span",{class:["vp-badge",e,{diy:l}],style:{verticalAlign:n??!1,backgroundColor:l??!1}},((r=s.default)==null?void 0:r.call(s))||t)};Hc.displayName="Badge";const Uc=({title:e,desc:t="",logo:n,background:l,color:s,link:r})=>{const i=[n?d("img",{class:"vp-card-logo",src:Ge(n),loading:"lazy","no-view":""}):null,d("div",{class:"vp-card-content"},[d("div",{class:"vp-card-title",innerHTML:e}),d("hr"),d("div",{class:"vp-card-desc",innerHTML:t})])],a={};return l&&(a.background=l),s&&(a.color=s),r?Vn(r)?d("a",{class:"vp-card",href:r,target:"_blank",style:a},i):d(Je,{to:r,class:"vp-card",style:a},()=>i):d("div",{class:"vp-card",style:a},i)};Uc.displayName="VPCard";const sm=nt({enhance:({app:e})=>{ft("FontIcon")||e.component("FontIcon",lm),ft("Badge")||e.component("Badge",Hc),ft("VPCard")||e.component("VPCard",Uc)},setup:()=>{Js("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/brands.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}}),Js("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/solid.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}}),Js("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/fontawesome.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}})},rootComponents:[]}),Sa=async(e,t)=>{const{path:n,query:l}=e.currentRoute.value,{scrollBehavior:s}=e.options;e.options.scrollBehavior=void 0,await e.replace({path:n,query:l,hash:t}),e.options.scrollBehavior=s},rm=({headerLinkSelector:e,headerAnchorSelector:t,delay:n,offset:l=5})=>{const s=_n();$e("scroll",Fc(()=>{var m,b;const i=Math.max(window.scrollY,document.documentElement.scrollTop,document.body.scrollTop);if(Math.abs(i-0)<l){Sa(s,"");return}const o=window.innerHeight+i,c=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight),u=Math.abs(c-o)<l,f=Array.from(document.querySelectorAll(e)),p=Array.from(document.querySelectorAll(t)).filter(_=>f.some(k=>k.hash===_.hash));for(let _=0;_<p.length;_++){const k=p[_],C=p[_+1],y=i>=(((m=k.parentElement)==null?void 0:m.offsetTop)??0)-l,L=!C||i<(((b=C.parentElement)==null?void 0:b.offsetTop)??0)-l;if(!(y&&L))continue;const A=decodeURIComponent(s.currentRoute.value.hash),N=decodeURIComponent(k.hash);if(A===N)return;if(u){for(let R=_+1;R<p.length;R++)if(A===decodeURIComponent(p[R].hash))return}Sa(s,N);return}},n))},im=".vp-sidebar-link, .vp-toc-link",am=".header-anchor",om=200,cm=5,um=nt({setup(){rm({headerLinkSelector:im,headerAnchorSelector:am,delay:om,offset:cm})}});let zc=e=>Pe(e.title)?{title:e.title}:null;const qc=Symbol(""),dm=e=>{zc=e},fm=()=>Me(qc),hm=e=>{e.provide(qc,zc)};var pm={"/en/":{title:"Catalog",empty:"No catalog"},"/":{title:"目录",empty:"暂无目录"}};const vm=U({name:"Catalog",props:{base:{type:String,default:""},level:{type:Number,default:3},index:Boolean,hideHeading:Boolean},setup(e){const t=fm(),n=Rl(pm),l=Se(),s=bc(),r=kc(),a=De(Pc(s.value).map(([c,{meta:u}])=>{const f=t(u);if(!f)return null;const h=c.split("/").length;return{level:Tv(c,"/")?h-2:h-1,base:c.replace(/\/[^/]+\/?$/,"/"),path:c,...f}}).filter(c=>Gn(c)&&Pe(c.title))),o=x(()=>{const c=e.base?qh(ic(e.base)):l.value.path.replace(/\/[^/]+$/,"/"),u=c.split("/").length-2,f=[];return a.value.filter(({level:h,path:p})=>{if(!Hn(p,c)||p===c)return!1;if(c==="/"){const m=Zt(r.value.locales).filter(b=>b!=="/");if(p==="/404.html"||m.some(b=>Hn(p,b)))return!1}return h-u<=e.level}).sort(({title:h,level:p,order:m},{title:b,level:_,order:k})=>{const C=p-_;return C||(Ys(m)?Ys(k)?m>0?k>0?m-k:-1:k<0?m-k:1:m:Ys(k)?k:h.localeCompare(b))}).forEach(h=>{var b;const{base:p,level:m}=h;switch(m-u){case 1:{f.push(h);break}case 2:{const _=f.find(k=>k.path===p);_&&(_.children??(_.children=[])).push(h);break}default:{const _=f.find(k=>k.path===p.replace(/\/[^/]+\/$/,"/"));if(_){const k=(b=_.children)==null?void 0:b.find(C=>C.path===p);k&&(k.children??(k.children=[])).push(h)}}}}),f});return()=>{const c=o.value.some(u=>u.children);return d("div",{class:["vp-catalog-wrapper",{index:e.index}]},[e.hideHeading?null:d("h2",{class:"vp-catalog-main-title"},n.value.title),o.value.length?d(e.index?"ol":"ul",{class:["vp-catalogs",{deep:c}]},o.value.map(({children:u=[],title:f,path:h,content:p})=>{const m=d(Je,{class:"vp-catalog-title",to:h},()=>p?d(p):f);return d("li",{class:"vp-catalog"},c?[d("h3",{id:f,class:["vp-catalog-child-title",{"has-children":u.length}]},[d("a",{href:`#${f}`,class:"vp-catalog-header-anchor","aria-hidden":!0},"#"),m]),u.length?d(e.index?"ol":"ul",{class:"vp-child-catalogs"},u.map(({children:b=[],content:_,path:k,title:C})=>d("li",{class:"vp-child-catalog"},[d("div",{class:["vp-catalog-sub-title",{"has-children":b.length}]},[d("a",{href:`#${C}`,class:"vp-catalog-header-anchor"},"#"),d(Je,{class:"vp-catalog-title",to:k},()=>_?d(_):C)]),b.length?d(e.index?"ol":"div",{class:e.index?"vp-sub-catalogs":"vp-sub-catalogs-wrapper"},b.map(({content:y,path:L,title:O})=>e.index?d("li",{class:"vp-sub-catalog"},d(Je,{to:L},()=>y?d(y):O)):d(Je,{class:"vp-sub-catalog-link",to:L},()=>y?d(y):O))):null]))):null]:d("div",{class:"vp-catalog-child-title"},m))})):d("p",{class:"vp-empty-catalog"},n.value.empty)])}}}),mm=nt({enhance:({app:e})=>{hm(e),ft("Catalog",e)||e.component("Catalog",vm)}});var gm={"/en/":{backToTop:"Back to top"},"/":{backToTop:"返回顶部"}};const ym=U({name:"BackToTop",setup(e){const t=Ie(),n=Rl(gm),l=De(),{height:s}=Zv(l),{height:r}=nm(),{y:i}=tm(),a=x(()=>t.value.backToTop!==!1&&i.value>100),o=x(()=>i.value/(s.value-r.value)*100);return we(()=>{l.value=document.body}),()=>d(Yt,{name:"back-to-top"},()=>a.value?d("button",{type:"button",class:"vp-back-to-top-button","aria-label":n.value.backToTop,onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})}},[d("span",{class:"vp-scroll-progress",role:"progressbar","aria-labelledby":"loadinglabel","aria-valuenow":o.value},d("svg",d("circle",{cx:"50%",cy:"50%",style:{"stroke-dasharray":`calc(${Math.PI*o.value}% - ${4*Math.PI}px) calc(${Math.PI*100}% - ${4*Math.PI}px)`}}))),d("div",{class:"back-to-top-icon"})]):null)}}),_m=nt({rootComponents:[ym]}),bm=d("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"},[d("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"}),d("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=x(()=>e.locales[t.value]??{openInNewWindow:"open in new window"});return()=>d("span",[bm,d("span",{class:"external-link-icon-sr-only"},n.value.openInNewWindow)])}});var km={};const wm=km,Em=nt({enhance({app:e}){e.component("ExternalLinkIcon",d(Wc,{locales:wm}))}});/**
* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
* @license MIT
*/const he={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=he.isStarted();e=Xs(e,he.settings.minimum,1),he.status=e===1?null:e;const n=he.render(!t),l=n.querySelector(he.settings.barSelector),s=he.settings.speed,r=he.settings.easing;return n.offsetWidth,Cm(i=>{Xl(l,{transform:"translate3d("+Ta(e)+"%,0,0)",transition:"all "+s+"ms "+r}),e===1?(Xl(n,{transition:"none",opacity:"1"}),n.offsetWidth,setTimeout(function(){Xl(n,{transition:"all "+s+"ms linear",opacity:"0"}),setTimeout(function(){he.remove(),i()},s)},s)):setTimeout(()=>i(),s)}),he},isStarted:()=>typeof he.status=="number",start:()=>{he.status||he.set(0);const e=()=>{setTimeout(()=>{he.status&&(he.trickle(),e())},he.settings.trickleSpeed)};return he.settings.trickle&&e(),he},done:e=>!e&&!he.status?he:he.inc(.3+.5*Math.random()).set(1),inc:e=>{let t=he.status;return t?(typeof e!="number"&&(e=(1-t)*Xs(Math.random()*t,.1,.95)),t=Xs(t+e,0,.994),he.set(t)):he.start()},trickle:()=>he.inc(Math.random()*he.settings.trickleRate),render:e=>{if(he.isRendered())return document.getElementById("nprogress");Ia(document.documentElement,"nprogress-busy");const t=document.createElement("div");t.id="nprogress",t.innerHTML=he.settings.template;const n=t.querySelector(he.settings.barSelector),l=e?"-100":Ta(he.status||0),s=document.querySelector(he.settings.parent);return Xl(n,{transition:"all 0 linear",transform:"translate3d("+l+"%,0,0)"}),s!==document.body&&Ia(s,"nprogress-custom-parent"),s==null||s.appendChild(t),t},remove:()=>{Na(document.documentElement,"nprogress-busy"),Na(document.querySelector(he.settings.parent),"nprogress-custom-parent");const e=document.getElementById("nprogress");e&&Lm(e)},isRendered:()=>!!document.getElementById("nprogress")},Xs=(e,t,n)=>e<t?t:e>n?n:e,Ta=e=>(-1+e)*100,Cm=function(){const e=[];function t(){const n=e.shift();n&&n(t)}return function(n){e.push(n),e.length===1&&t()}}(),Xl=function(){const e=["Webkit","O","Moz","ms"],t={};function n(i){return i.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(a,o){return o.toUpperCase()})}function l(i){const a=document.body.style;if(i in a)return i;let o=e.length;const c=i.charAt(0).toUpperCase()+i.slice(1);let u;for(;o--;)if(u=e[o]+c,u in a)return u;return i}function s(i){return i=n(i),t[i]??(t[i]=l(i))}function r(i,a,o){a=s(a),i.style[a]=o}return function(i,a){for(const o in a){const c=a[o];c!==void 0&&Object.prototype.hasOwnProperty.call(a,o)&&r(i,o,c)}}}(),Gc=(e,t)=>(typeof e=="string"?e:ui(e)).indexOf(" "+t+" ")>=0,Ia=(e,t)=>{const n=ui(e),l=n+t;Gc(n,t)||(e.className=l.substring(1))},Na=(e,t)=>{const n=ui(e);if(!Gc(e,t))return;const l=n.replace(" "+t+" "," ");e.className=l.substring(1,l.length-1)},ui=e=>(" "+(e.className||"")+" ").replace(/\s+/gi," "),Lm=e=>{e&&e.parentNode&&e.parentNode.removeChild(e)},Am=()=>{we(()=>{const e=_n(),t=new Set;t.add(e.currentRoute.value.path),e.beforeEach(n=>{t.has(n.path)||he.start()}),e.afterEach(n=>{t.add(n.path),he.done()})})},xm=nt({setup(){Am()}}),Sm=JSON.parse(`{"encrypt":{"config":{"/demo/encrypt.html":["$2a$10$J0ZqnfglLUFnsUEqfRWHseeu/HkU5Gm5fxaYYb/bQtWqZ1oSZCqy."]}},"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":["Theres nothing here.","How did we get here?","Thats 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}`),Tm=Q(Sm),Kc=()=>Tm,Yc=Symbol(""),Im=()=>{const e=Me(Yc);if(!e)throw new Error("useThemeLocaleData() is called without provider.");return e},Nm=(e,t)=>{const{locales:n,...l}=e;return{...l,...n==null?void 0:n[t]}},Pm=nt({enhance({app:e}){const t=Kc(),n=e._context.provides[li],l=x(()=>Nm(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 Om={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 Rm=Om;let Fm=Rm;const Qc=Symbol(""),Jc=()=>Me(Qc),$m=Jc,Mm=e=>{e.provide(Qc,Fm)},Xc=()=>d("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",preserveAspectRatio:"xMidYMid",viewBox:"0 0 100 100"},[d("circle",{cx:"28",cy:"75",r:"11",fill:"currentColor"},d("animate",{attributeName:"fill-opacity",begin:"0s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"})),d("path",{fill:"none",stroke:"#88baf0","stroke-width":"10",d:"M28 47a28 28 0 0 1 28 28"},d("animate",{attributeName:"stroke-opacity",begin:"0.1s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"})),d("path",{fill:"none",stroke:"#88baf0","stroke-width":"10",d:"M28 25a50 50 0 0 1 50 50"},d("animate",{attributeName:"stroke-opacity",begin:"0.2s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"}))]);Xc.displayName="LoadingIcon";const Pa=["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"],Dm=U({name:"GiscusComment",props:{identifier:{type:String,required:!0},darkmode:Boolean},setup(e){const t=$m(),n=si(),l=!!(t.repo&&t.repoId&&t.category&&t.categoryId),{repo:s,repoId:r,category:i,categoryId:a}=t,o=Q(!1),c=x(()=>{if(Pa.includes(n.value))return n.value;const f=n.value.split("-")[0];return Pa.includes(f)?f:"en"}),u=x(()=>({repo:s,repoId:r,category:i,categoryId:a,lang:c.value,theme:e.darkmode?t.darkTheme||"dark":t.lightTheme||"light",mapping:t.mapping||"pathname",term:e.identifier,inputPosition:t.inputPosition||"top",reactionsEnabled:t.reactionsEnabled===!1?"0":"1",strict:t.strict===!1?"0":"1",loading:t.lazyLoading===!1?"eager":"lazy",emitMetadata:"0"}));return we(async()=>{await I(()=>import("./giscus-7BMGhbDA.js"),__vite__mapDeps([])),o.value=!0}),()=>l?d("div",{id:"comment",class:["giscus-wrapper",{"input-top":t.inputPosition!=="bottom"}]},o.value?d("giscus-widget",u.value):d(Xc)):null}}),Vm=U({name:"CommentService",props:{darkmode:Boolean},setup(e){const t=Jc(),n=Se(),l=Ie(),s=t.comment!==!1,r=x(()=>l.value.comment||s&&l.value.comment!==!1);return()=>d(Dm,{id:"vp-comment",identifier:l.value.commentID||n.value.path,darkmode:e.darkmode,style:{display:r.value?"block":"none"}})}}),jm=nt({enhance:({app:e})=>{Mm(e),e.component("CommentService",Vm)}}),Bm=/\b(?:Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini)/i,Hm=()=>typeof window<"u"&&window.navigator&&"userAgent"in window.navigator&&Bm.test(navigator.userAgent),Um=({delay:e=500,duration:t=2e3,locales:n,selector:l,showInMobile:s})=>{const{copy:r,copied:i}=qv({legacy:!0,copiedDuring:t}),a=Rl(n),o=Se(),c=h=>{if(!h.hasAttribute("copy-code-registered")){const p=document.createElement("button");p.type="button",p.classList.add("vp-copy-code-button"),p.innerHTML='<div class="vp-copy-icon" />',p.setAttribute("aria-label",a.value.copy),p.setAttribute("data-copied",a.value.copied),h.parentElement&&h.parentElement.insertBefore(p,h),h.setAttribute("copy-code-registered","")}},u=()=>{Qt().then(()=>Ic(e)).then(()=>{l.forEach(h=>{document.querySelectorAll(h).forEach(c)})})},f=(h,p,m)=>{let{innerText:b=""}=p;/language-(shellscript|shell|bash|sh|zsh)/.test(h.classList.toString())&&(b=b.replace(/^ *(\$|>) /gm,"")),r(b).then(()=>{m.classList.add("copied"),ve(i,()=>{m.classList.remove("copied"),m.blur()},{once:!0})})};we(()=>{const h=!Hm()||s;h&&u(),$e("click",p=>{const m=p.target;if(m.matches('div[class*="language-"] > button.copy')){const b=m.parentElement,_=m.nextElementSibling;_&&f(b,_,m)}else if(m.matches('div[class*="language-"] div.vp-copy-icon')){const b=m.parentElement,_=b.parentElement,k=b.nextElementSibling;k&&f(_,k,b)}}),ve(()=>o.value.path,()=>{h&&u()})})};var zm={"/en/":{copy:"Copy code",copied:"Copied"},"/":{copy:"复制代码",copied:"已复制"}},qm=['.theme-hope-content div[class*="language-"] pre'];const Wm=500,Gm=2e3,Km=zm,Ym=qm,Qm=!1,Jm=nt({setup:()=>{Um({selector:Ym,locales:Km,duration:Gm,delay:Wm,showInMobile:Qm})}}),Zl=Yn("VUEPRESS_CODE_TAB_STORE",{});var Xm=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=Q(e.active),l=De([]),s=()=>{e.tabId&&(Zl.value[e.tabId]=e.data[n.value].id)},r=(c=n.value)=>{n.value=c<l.value.length-1?c+1:0,l.value[n.value].focus()},i=(c=n.value)=>{n.value=c>0?c-1:l.value.length-1,l.value[n.value].focus()},a=(c,u)=>{c.key===" "||c.key==="Enter"?(c.preventDefault(),n.value=u):c.key==="ArrowRight"?(c.preventDefault(),r()):c.key==="ArrowLeft"&&(c.preventDefault(),i()),e.tabId&&(Zl.value[e.tabId]=e.data[n.value].id)},o=()=>{if(e.tabId){const c=e.data.findIndex(({id:u})=>Zl.value[e.tabId]===u);if(c!==-1)return c}return e.active};return we(()=>{n.value=o(),ve(()=>Zl.value[e.tabId],(c,u)=>{if(e.tabId&&c!==u){const f=e.data.findIndex(({id:h})=>h===c);f!==-1&&(n.value=f)}})}),()=>e.data.length?d("div",{class:"vp-code-tabs"},[d("div",{class:"vp-code-tabs-nav",role:"tablist"},e.data.map(({id:c},u)=>{const f=u===n.value;return d("button",{type:"button",ref:h=>{h&&(l.value[u]=h)},class:["vp-code-tab-nav",{active:f}],role:"tab","aria-controls":`codetab-${e.id}-${u}`,"aria-selected":f,onClick:()=>{n.value=u,s()},onKeydown:h=>a(h,u)},t[`title${u}`]({value:c,isActive:f}))})),e.data.map(({id:c},u)=>{const f=u===n.value;return d("div",{class:["vp-code-tab",{active:f}],id:`codetab-${e.id}-${u}`,role:"tabpanel","aria-expanded":f},[d("div",{class:"vp-code-tab-title"},t[`title${u}`]({value:c,isActive:f})),t[`tab${u}`]({value:c,isActive:f})])})]):null}});const Zc=({active:e=!1},{slots:t})=>{var n;return d("div",{class:["code-group-item",{active:e}],"aria-selected":e},(n=t.default)==null?void 0:n.call(t))};Zc.displayName="CodeGroupItem";const Zm=U({name:"CodeGroup",slots:Object,setup(e,{slots:t}){const n=Q(-1),l=De([]),s=(a=n.value)=>{n.value=a<l.value.length-1?a+1:0,l.value[n.value].focus()},r=(a=n.value)=>{n.value=a>0?a-1:l.value.length-1,l.value[n.value].focus()},i=(a,o)=>{a.key===" "||a.key==="Enter"?(a.preventDefault(),n.value=o):a.key==="ArrowRight"?(a.preventDefault(),s(o)):a.key==="ArrowLeft"&&(a.preventDefault(),r(o))};return()=>{var o;const a=(((o=t.default)==null?void 0:o.call(t))||[]).filter(c=>c.type.name==="CodeGroupItem").map(c=>(c.props===null&&(c.props={}),c));return a.length===0?null:(n.value<0||n.value>a.length-1?(n.value=a.findIndex(c=>"active"in c.props),n.value===-1&&(n.value=0)):a.forEach((c,u)=>{c.props.active=u===n.value}),d("div",{class:"code-group"},[d("div",{class:"code-group-nav"},a.map((c,u)=>{const f=u===n.value;return d("button",{type:"button",ref:h=>{h&&(l.value[u]=h)},class:["code-group-nav-tab",{active:f}],"aria-pressed":f,"aria-expanded":f,onClick:()=>{n.value=u},onKeydown:h=>i(h,u)},c.props.title)})),a]))}}}),Ne=({name:e="",color:t="currentColor"},{slots:n})=>{var l;return d("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))};Ne.displayName="IconBase";const di=({size:e=48,stroke:t=4,wrapper:n=!0,height:l=2*e})=>{const s=d("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,preserveAspectRatio:"xMidYMid",viewBox:"25 25 50 50"},[d("animateTransform",{attributeName:"transform",type:"rotate",dur:"2s",keyTimes:"0;1",repeatCount:"indefinite",values:"0;360"}),d("circle",{cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":t,"stroke-linecap":"round"},[d("animate",{attributeName:"stroke-dasharray",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"1,200;90,200;1,200"}),d("animate",{attributeName:"stroke-dashoffset",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"0;-35px;-125px"})])]);return n?d("div",{class:"loading-icon-wrapper",style:`display:flex;align-items:center;justify-content:center;height:${l}px`},s):s};di.displayName="LoadingIcon";const eu=(e,{slots:t})=>{var n;return(n=t.default)==null?void 0:n.call(t)},tu=()=>d(Ne,{name:"github"},()=>d("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=()=>d(Ne,{name:"gitlab"},()=>d("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=()=>d(Ne,{name:"gitee"},()=>d("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 su=()=>d(Ne,{name:"bitbucket"},()=>d("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"}));su.displayName="BitbucketIcon";const ru=()=>d(Ne,{name:"source"},()=>d("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"}));ru.displayName="SourceIcon";const iu=(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},au=/#.*$/u,e1=e=>{const t=au.exec(e);return t?t[0]:""},Oa=e=>decodeURI(e).replace(au,"").replace(/\/index\.html$/iu,"/").replace(/\.html$/iu,"").replace(/(README|index)?\.md$/iu,""),ou=(e,t)=>{if(!Nc(t))return!1;const n=Oa(e.path),l=Oa(t),s=e1(t);return s?s===e.hash&&(!l||n===l):n===l},t1=e=>yn(e)?e:`https://github.com/${e}`,cu=e=>!yn(e)||/github\.com/.test(e)?"GitHub":/bitbucket\.org/.test(e)?"Bitbucket":/gitlab\.com/.test(e)?"GitLab":/gitee\.com/.test(e)?"Gitee":null;var n1=e=>Object.prototype.toString.call(e)==="[object Object]",wl=e=>typeof e=="string";const uu=Array.isArray,Ra=e=>n1(e)&&wl(e.name),Fa=(e,t=!1)=>e?uu(e)?e.map(n=>wl(n)?{name:n}:Ra(n)?n:null).filter(n=>n!==null):wl(e)?[{name:e}]:Ra(e)?[e]:(console.error(`Expect "author" to be \`AuthorInfo[] | AuthorInfo | string[] | string ${t?"":"| false"} | undefined\`, but got`,e),[]):[],du=(e,t)=>{if(e){if(uu(e)&&e.every(wl))return e;if(wl(e))return[e];console.error(`Expect ${t||"value"} to be \`string[] | string | undefined\`, but got`,e)}return[]},l1=e=>du(e,"category"),s1=e=>du(e,"tag"),r1='<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>',i1='<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 a1={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 Zs=a1,$a={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"}}},o1=(e,t,n)=>{const l=document.createElement(e);return Gn(t)&&Zt(t).forEach(s=>{if(s.indexOf("data"))l[s]=t[s];else{const r=s.replace("data","");l.dataset[r]=t[s]}}),n&&n.forEach(s=>{l.appendChild(s)}),l},fi=e=>({...Zs,...e,jsLib:Array.from(new Set([...Zs.jsLib||[],...e.jsLib||[]])),cssLib:Array.from(new Set([...Zs.cssLib||[],...e.cssLib||[]]))}),On=(e,t)=>{if(Nc(e[t]))return e[t];const n=new Promise(l=>{var r;const s=document.createElement("script");s.src=t,(r=document.querySelector("body"))==null||r.appendChild(s),s.onload=()=>{l()}});return e[t]=n,n},c1=(e,t)=>{if(t.css&&Array.from(e.childNodes).every(n=>n.nodeName!=="STYLE")){const n=o1("style",{innerHTML:t.css});e.appendChild(n)}},u1=(e,t,n)=>{const l=n.getScript();if(l&&Array.from(t.childNodes).every(s=>s.nodeName!=="SCRIPT")){const s=document.createElement("script");s.appendChild(document.createTextNode(`{const document=window.document.querySelector('#${e} .vp-code-demo-display').shadowRoot;
${l}}`)),t.appendChild(s)}},d1=e=>{const t=Zt(e),n={html:[],js:[],css:[],isLegal:!1};return["html","js","css"].forEach(l=>{const s=t.filter(r=>$a[l].types.includes(r));if(s.length){const r=s[0];n[l]=[e[r].replace(/^\n|\n$/g,""),$a[l].map[r]||r]}}),n.isLegal=(!n.html.length||n.html[1]==="none")&&(!n.js.length||n.js[1]==="none")&&(!n.css.length||n.css[1]==="none"),n},fu=e=>e.replace(/<br \/>/g,"<br>").replace(/<((\S+)[^<]*?)\s+\/>/g,"<$1></$2>"),hu=e=>`<div id="app">
${fu(e)}
</div>`,f1=e=>`${e.replace("export default ","const $reactApp = ").replace(/App\.__style__(\s*)=(\s*)`([\s\S]*)?`/,"")};
ReactDOM.createRoot(document.getElementById("app")).render(React.createElement($reactApp))`,h1=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(),pu=e=>`(function(exports){var module={};module.exports=exports;${e};return module.exports.__esModule?module.exports.default:module.exports;})({})`,p1=(e,t)=>{const n=fi(t),l=e.js[0]||"";return{...n,html:fu(e.html[0]||""),js:l,css:e.css[0]||"",isLegal:e.isLegal,getScript:()=>{var s;return n.useBabel?((s=window.Babel.transform(l,{presets:["es2015"]}))==null?void 0:s.code)||"":l}}},v1=/<template>([\s\S]+)<\/template>/u,m1=/<script(\s*lang=(['"])(.*?)\2)?>([\s\S]+)<\/script>/u,g1=/<style(\s*lang=(['"])(.*?)\2)?\s*(?:scoped)?>([\s\S]+)<\/style>/u,y1=(e,t)=>{const n=fi(t),l=e.html[0]||"",s=v1.exec(l),r=m1.exec(l),i=g1.exec(l),a=s?s[1].replace(/^\n|\n$/g,""):"",[o="",c=""]=r?[r[4].replace(/^\n|\n$/g,""),r[3]]:[],[u="",f=""]=i?[i[4].replace(/^\n|\n$/g,""),i[3]]:[],h=c===""&&(f===""||f==="css");return{...n,html:hu(a),js:h1(o),css:u,isLegal:h,jsLib:[n.vue,...n.jsLib],getScript:()=>{var m,b;const p=t.useBabel?((b=(m=window.Babel)==null?void 0:m.transform(o,{presets:["es2015"]}))==null?void 0:b.code)||"":o.replace(/export\s+default/u,"return");return`const app=window.document.createElement('div');document.firstElementChild.appendChild(app);const appOptions=${pu(p)};appOptions.template=\`${a.replace("`",'\\`"')}\`;window.Vue.createApp(appOptions).mount(app);`}}},_1=(e,t)=>{const n=fi(t);return{...n,html:hu(""),js:f1(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 s,r;const l=((r=(s=window.Babel)==null?void 0:s.transform(e.js[0]||"",{presets:["es2015","react"]}))==null?void 0:r.code)||"";return`window.ReactDOM.createRoot(document.firstElementChild).render(window.React.createElement(${pu(l)}))`}}},Rn={},b1=e=>Promise.all([On(Rn,e.babel),On(Rn,e.react),On(Rn,e.reactDOM)]),k1=e=>{const t=[On(Rn,e.vue)];return e.useBabel&&t.push(On(Rn,e.babel)),Promise.all(t)},w1=e=>e.useBabel?On(Rn,e.babel):Promise.resolve();var E1=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]=kl(!1),s=De(),r=De(),i=Q("0"),a=Q(!1),o=x(()=>JSON.parse(e.config?wr(e.config):"{}")),c=x(()=>{const m=JSON.parse(wr(e.code));return d1(m)}),u=x(()=>e.type==="react"?_1(c.value,o.value):e.type==="vue"?y1(c.value,o.value):p1(c.value,o.value)),f=x(()=>u.value.isLegal),h=(m=!1)=>{const b=s.value.attachShadow({mode:"open"}),_=document.createElement("div");_.classList.add("code-demo-app"),b.appendChild(_),f.value?(m&&(_.innerHTML=u.value.html),c1(b,u.value),u1(e.id,b,u.value),i.value="0"):i.value="auto",a.value=!0},p=()=>{switch(e.type){case"react":return b1(u.value).then(()=>h());case"vue":return k1(u.value).then(()=>h());default:return w1(u.value).then(()=>h(!0))}};return $e("beforeprint",()=>{l(!0)}),we(()=>{setTimeout(()=>{p()},800)}),()=>{var m;return d("div",{class:"vp-code-demo",id:e.id},[d("div",{class:"vp-code-demo-header"},[u.value.isLegal?d("button",{type:"button",title:"toggle","aria-hidden":!0,class:["vp-code-demo-toggle-button",n.value?"down":"end"],onClick:()=>{i.value=n.value?"0":`${r.value.clientHeight+13.8}px`,l()}}):null,e.title?d("span",{class:"vp-code-demo-title"},decodeURIComponent(e.title)):null,u.value.isLegal&&u.value.jsfiddle!==!1?d("form",{class:"code-demo-jsfiddle",target:"_blank",action:"https://jsfiddle.net/api/post/library/pure/",method:"post"},[d("input",{type:"hidden",name:"html",value:u.value.html}),d("input",{type:"hidden",name:"js",value:u.value.js}),d("input",{type:"hidden",name:"css",value:u.value.css}),d("input",{type:"hidden",name:"wrap",value:"1"}),d("input",{type:"hidden",name:"panel_js",value:"3"}),d("input",{type:"hidden",name:"resources",value:[...u.value.cssLib,...u.value.jsLib].join(",")}),d("button",{type:"submit",class:"jsfiddle-button",innerHTML:i1,"aria-label":"JSFiddle","data-balloon-pos":"up"})]):null,!u.value.isLegal||u.value.codepen!==!1?d("form",{class:"code-demo-codepen",target:"_blank",action:"https://codepen.io/pen/define",method:"post"},[d("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})}),d("button",{type:"submit",innerHTML:r1,class:"codepen-button","aria-label":"Codepen","data-balloon-pos":"up"})]):null]),a.value?null:d(di,{class:"vp-code-demo-loading"}),d("div",{ref:s,class:"vp-code-demo-display",style:{display:f.value&&a.value?"block":"none"}}),d("div",{class:"vp-code-demo-code-wrapper",style:{height:i.value}},d("div",{ref:r,class:"vp-code-demo-codes"},(m=t.default)==null?void 0:m.call(t)))])}}}),C1=U({name:"MdDemo",props:{id:{type:String,required:!0},title:{type:String,default:""}},slots:Object,setup(e,{slots:t}){const[n,l]=kl(!1),s=De(),r=Q("0");return $e("beforeprint",()=>{l(!0)}),()=>{var i,a;return d("div",{class:"vp-md-demo",id:e.id},[d("div",{class:"vp-md-demo-header"},[d("button",{type:"button",title:"toggle","aria-hidden":!0,class:["vp-md-demo-toggle-button",n.value?"down":"end"],onClick:()=>{r.value=n.value?"0":`${s.value.clientHeight+13.8}px`,l()}}),e.title?decodeURIComponent(e.title):null]),d("div",{class:"vp-md-demo-display"},(i=t.default)==null?void 0:i.call(t)),d("div",{class:"vp-md-demo-code-wrapper",style:{height:r.value}},d("div",{ref:s,class:"vp-md-demo-codes"},(a=t.code)==null?void 0:a.call(t)))])}}});let L1={};const vu=Symbol(""),A1=()=>Me(vu),x1=e=>{e.provide(vu,L1)},S1=(async()=>{}).constructor,T1=(e,t,n)=>t==="js"?S1("myChart",`let width,height,option,__echarts_config__;
{
${e}
__echarts_config__={width,height,option};
}
return __echarts_config__;
`)(n):Promise.resolve({option:JSON.parse(e)});var I1=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=A1(),n=Q(!0),l=De();let s;return $e("resize",Fc(()=>s==null?void 0:s.resize(),100)),we(()=>{Promise.all([I(()=>import("./index-Cw_AvLww.js"),__vite__mapDeps([])),new Promise(r=>setTimeout(r,800))]).then(async([r])=>{var o;await((o=t.setup)==null?void 0:o.call(t)),s=r.init(l.value);const{option:i,...a}=await T1(wr(e.config),e.type,s);s.resize(a),s.setOption({...t.option,...i}),n.value=!1})}),gn(()=>{s==null||s.dispose()}),()=>[e.title?d("div",{class:"echarts-title"},decodeURIComponent(e.title)):null,d("div",{class:"echarts-wrapper"},[d("div",{ref:l,class:"echarts-container",id:e.id}),n.value?d(di,{class:"echarts-loading",height:360}):null])]}});const N1=()=>{$e("beforeprint",()=>{document.querySelectorAll("details").forEach(e=>{e.open=!0})})},er=Yn("VUEPRESS_TAB_STORE",{});var P1=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=Q(e.active),l=De([]),s=()=>{e.tabId&&(er.value[e.tabId]=e.data[n.value].id)},r=(c=n.value)=>{n.value=c<l.value.length-1?c+1:0,l.value[n.value].focus()},i=(c=n.value)=>{n.value=c>0?c-1:l.value.length-1,l.value[n.value].focus()},a=(c,u)=>{c.key===" "||c.key==="Enter"?(c.preventDefault(),n.value=u):c.key==="ArrowRight"?(c.preventDefault(),r()):c.key==="ArrowLeft"&&(c.preventDefault(),i()),s()},o=()=>{if(e.tabId){const c=e.data.findIndex(({id:u})=>er.value[e.tabId]===u);if(c!==-1)return c}return e.active};return we(()=>{n.value=o(),ve(()=>er.value[e.tabId],(c,u)=>{if(e.tabId&&c!==u){const f=e.data.findIndex(({id:h})=>h===c);f!==-1&&(n.value=f)}})}),()=>e.data.length?d("div",{class:"vp-tabs"},[d("div",{class:"vp-tabs-nav",role:"tablist"},e.data.map(({id:c},u)=>{const f=u===n.value;return d("button",{type:"button",ref:h=>{h&&(l.value[u]=h)},class:["vp-tab-nav",{active:f}],role:"tab","aria-controls":`tab-${e.id}-${u}`,"aria-selected":f,onClick:()=>{n.value=u,s()},onKeydown:h=>a(h,u)},t[`title${u}`]({value:c,isActive:f}))})),e.data.map(({id:c},u)=>{const f=u===n.value;return d("div",{class:["vp-tab",{active:f}],id:`tab-${e.id}-${u}`,role:"tabpanel","aria-expanded":f},[d("div",{class:"vp-tab-title"},t[`title${u}`]({value:c,isActive:f})),t[`tab${u}`]({value:c,isActive:f})])})]):null}});const O1=nt({enhance:({app:e})=>{e.component("CodeTabs",Xm),ft("CodeGroup",e)||e.component("CodeGroup",Zm),ft("CodeGroupItem",e)||e.component("CodeGroupItem",Zc),e.component("CodeDemo",E1),e.component("MdDemo",C1),e.component("ECharts",I1),x1(e),e.component("Tabs",P1)},setup:()=>{N1()}});let R1={};const mu=Symbol(""),F1=()=>Me(mu),$1=e=>{e.provide(mu,R1)},M1='<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>',D1=e=>Pe(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))}),V1=e=>{const{isSupported:t,toggle:n}=ci();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,s)=>{l.setAttribute("download",""),l.setAttribute("target","_blank"),l.setAttribute("rel","noopener"),s.on("change",()=>{l.setAttribute("href",s.currSlide.data.src)})}}),e.ui.registerElement({name:"bulletsIndicator",className:"photo-swipe-bullets-indicator",appendTo:"wrapper",onInit:(l,s)=>{const r=[];let i=-1;for(let a=0;a<s.getNumItems();a++){const o=document.createElement("div");o.className="photo-swipe-bullet",o.onclick=c=>{s.goTo(r.indexOf(c.target))},r.push(o),l.appendChild(o)}s.on("change",()=>{i>=0&&r[i].classList.remove("active"),r[s.currIndex].classList.add("active"),i=s.currIndex})}})})},j1=(e,t,n=!0)=>I(()=>import("./photoswipe.esm-SzV8tJDW.js"),__vite__mapDeps([])).then(({default:l})=>{let s=null;const r=e.map(i=>({html:M1,element:i,msrc:i.src}));return e.forEach((i,a)=>{const o=()=>{s==null||s.destroy(),s=new l({preloaderDelay:0,showHideAnimationType:"zoom",...t,dataSource:r,index:a,...n?{closeOnVerticalDrag:!0,wheelToZoom:!1}:{}}),V1(s),s.addFilter("thumbEl",()=>i),s.addFilter("placeholderSrc",()=>i.src),s.init()};i.getAttribute("photo-swipe")||(i.style.cursor="zoom-in",i.addEventListener("click",()=>{o()}),i.addEventListener("keypress",({key:c})=>{c==="Enter"&&o()}),i.setAttribute("photo-swipe","")),gu(i).then(c=>{r.splice(a,1,c),s==null||s.refreshSlideContent(a)})}),n?$e("wheel",()=>{s==null||s.close()}):()=>{}}),B1=({selector:e,locales:t,delay:n=500,scrollToClose:l=!0})=>{const s=F1(),r=Rl(t),i=Se(),a=Ie();let o=null;const c=()=>{const{photoSwipe:u}=a.value;u!==!1&&Qt().then(()=>Ic(n)).then(async()=>{const f=Pe(u)?u:e;o=await j1(D1(f),{...s,...r.value},l)})};we(()=>{c(),ve(()=>i.value.path,()=>{o==null||o(),c()})}),gn(()=>{o==null||o()})};var H1={"/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 U1=".theme-hope-content :not(a) > img:not([no-view])",z1=H1,q1=800,W1=!0,G1=nt({enhance:({app:e})=>{$1(e)},setup:()=>{B1({selector:U1,delay:q1,locales:z1,scrollToClose:W1})}}),K1=e=>e instanceof Element?document.activeElement===e&&(["TEXTAREA","SELECT","INPUT"].includes(e.tagName)||e.hasAttribute("contenteditable")):!1,Y1=(e,t)=>t.some(n=>{if(Pe(n))return n===e.key;const{key:l,ctrl:s=!1,shift:r=!1,alt:i=!1}=n;return l===e.key&&s===e.ctrlKey&&r===e.shiftKey&&i===e.altKey}),Q1=/[^\x00-\x7F]/,J1=e=>e.split(/\s+/g).map(t=>t.trim()).filter(t=>!!t),Ma=e=>e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),Da=(e,t)=>{const n=t.join(" "),l=J1(e);if(Q1.test(e))return l.some(i=>n.toLowerCase().indexOf(i)>-1);const s=e.endsWith(" ");return new RegExp(l.map((i,a)=>l.length===a+1&&!s?`(?=.*\\b${Ma(i)})`:`(?=.*\\b${Ma(i)}\\b)`).join("")+".+","gi").test(n)},X1=({input:e,hotKeys:t})=>{if(t.value.length===0)return;const n=l=>{e.value&&Y1(l,t.value)&&!K1(l.target)&&(l.preventDefault(),e.value.focus())};we(()=>{document.addEventListener("keydown",n)}),Kr(()=>{document.removeEventListener("keydown",n)})},Z1=[{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:"func flat_config() -> dict[str, Any]",slug:"func-flat-config-dict-str-any",link:"#func-flat-config-dict-str-any",children:[]},{level:3,title:"func load_from_yaml() -> dict[str, Any]",slug:"func-load-from-yaml-dict-str-any",link:"#func-load-from-yaml-dict-str-any",children:[]},{level:3,title:"func load_from_json() -> dict[str, Any]",slug:"func-load-from-json-dict-str-any",link:"#func-load-from-json-dict-str-any",children:[]},{level:3,title:"func load_from_toml() -> dict[str, Any]",slug:"func-load-from-toml-dict-str-any",link:"#func-load-from-toml-dict-str-any",children:[]},{level:3,title:"func load_from_files(*, no_warning: bool = False) -> dict[str, Any]",slug:"func-load-from-files-no-warning-bool-false-dict-str-any",link:"#func-load-from-files-no-warning-bool-false-dict-str-any",children:[]},{level:3,title:"func load_configs_from_dirs(*, no_waring: bool = False) -> dict[str, Any]",slug:"func-load-configs-from-dirs-no-waring-bool-false-dict-str-any",link:"#func-load-configs-from-dirs-no-waring-bool-false-dict-str-any",children:[]},{level:3,title:"func load_config_in_default(no_waring: bool = False) -> dict[str, Any]",slug:"func-load-config-in-default-no-waring-bool-false-dict-str-any",link:"#func-load-config-in-default-no-waring-bool-false-dict-str-any",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:"func get_format() -> str",slug:"func-get-format-str",link:"#func-get-format-str",children:[]},{level:3,title:"func init_log()",slug:"func-init-log",link:"#func-init-log",children:[]},{level:3,title:"var debug_format = '<c>{time:YYYY-MM-DD HH:mm:ss}</c> <lvl>[{level.icon}]</lvl> <c><{name}.{module}.{function}:{line}></c> {message}'",slug:"var-debug-format-c-time-yyyy-mm-dd-hh-mm-ss-c-lvl-level-icon-lvl-c-name-module-function-line-c-message",link:"#var-debug-format-c-time-yyyy-mm-dd-hh-mm-ss-c-lvl-level-icon-lvl-c-name-module-function-line-c-message",children:[]},{level:3,title:"var default_format = '<c>{time:MM-DD HH:mm:ss}</c> <lvl>[{level.icon}]</lvl> <c><{name}></c> {message}'",slug:"var-default-format-c-time-mm-dd-hh-mm-ss-c-lvl-level-icon-lvl-c-name-c-message",link:"#var-default-format-c-time-mm-dd-hh-mm-ss-c-lvl-level-icon-lvl-c-name-c-message",children:[]}],path:"/dev/api/log.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.mkdoc",headers:[{level:3,title:"func get_relative_path() -> str",slug:"func-get-relative-path-str",link:"#func-get-relative-path-str",children:[]},{level:3,title:"func write_to_files()",slug:"func-write-to-files",link:"#func-write-to-files",children:[]},{level:3,title:"func get_file_list()",slug:"func-get-file-list",link:"#func-get-file-list",children:[]},{level:3,title:"func get_module_info_normal(file_path: str = True) -> ModuleInfo",slug:"func-get-module-info-normal-file-path-str-true-moduleinfo",link:"#func-get-module-info-normal-file-path-str-true-moduleinfo",children:[]},{level:3,title:"func generate_markdown(module_info: ModuleInfo = None, front_matter = 'zh-CN') -> str",slug:"func-generate-markdown-module-info-moduleinfo-none-front-matter-zh-cn-str",link:"#func-generate-markdown-module-info-moduleinfo-none-front-matter-zh-cn-str",children:[]},{level:3,title:"func generate_docs(module_folder: str = False, output_dir: str = 'zh-CN', with_top: bool = None)",slug:"func-generate-docs-module-folder-str-false-output-dir-str-zh-cn-with-top-bool-none",link:"#func-generate-docs-module-folder-str-false-output-dir-str-zh-cn-with-top-bool-none",children:[]},{level:3,title:"class DefType(Enum)",slug:"class-deftype-enum",link:"#class-deftype-enum",children:[]},{level:3,title:"class FunctionInfo(BaseModel)",slug:"class-functioninfo-basemodel",link:"#class-functioninfo-basemodel",children:[]},{level:3,title:"class AttributeInfo(BaseModel)",slug:"class-attributeinfo-basemodel",link:"#class-attributeinfo-basemodel",children:[]},{level:3,title:"class ClassInfo(BaseModel)",slug:"class-classinfo-basemodel",link:"#class-classinfo-basemodel",children:[]},{level:3,title:"class ModuleInfo(BaseModel)",slug:"class-moduleinfo-basemodel",link:"#class-moduleinfo-basemodel",children:[]}],path:"/dev/api/mkdoc.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.utils",headers:[{level:3,title:"func is_coroutine_callable() -> bool",slug:"func-is-coroutine-callable-bool",link:"#func-is-coroutine-callable-bool",children:[]},{level:3,title:"func run_coroutine()",slug:"func-run-coroutine",link:"#func-run-coroutine",children:[]},{level:3,title:"func run_coroutine_in_thread()",slug:"func-run-coroutine-in-thread",link:"#func-run-coroutine-in-thread",children:[]},{level:3,title:"func path_to_module_name() -> str",slug:"func-path-to-module-name-str",link:"#func-path-to-module-name-str",children:[]},{level:3,title:"func async_wrapper() -> Callable[..., Coroutine]",slug:"func-async-wrapper-callable-coroutine",link:"#func-async-wrapper-callable-coroutine",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:"开发及贡献",headers:[],path:"/en/dev/",pathLocale:"/en/",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:"/en/dev/dev_comm.html",pathLocale:"/en/",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:"/en/dev/dev_lyfunc.html",pathLocale:"/en/",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:"/en/dev/dev_lyplugin.html",pathLocale:"/en/",extraFields:[]},{title:"资源包开发",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:"func get_bot() -> LiteyukiBot",slug:"func-get-bot-liteyukibot",link:"#func-get-bot-liteyukibot",children:[]},{level:3,title:"func get_config(key: str = None) -> Any",slug:"func-get-config-key-str-none-any",link:"#func-get-config-key-str-none-any",children:[]},{level:3,title:"func get_config_with_compat(key: str = None) -> Any",slug:"func-get-config-with-compat-key-str-none-any",link:"#func-get-config-with-compat-key-str-none-any",children:[]},{level:3,title:"func print_logo()",slug:"func-print-logo",link:"#func-print-logo",children:[]},{level:3,title:"class LiteyukiBot",slug:"class-liteyukibot",link:"#class-liteyukibot",children:[]},{level:3,title:"method __init__(self) -> None",slug:"method-init-self-none",link:"#method-init-self-none",children:[]},{level:3,title:"async method _run(self)",slug:"async-method-run-self",link:"#async-method-run-self",children:[]},{level:3,title:"method run(self)",slug:"method-run-self",link:"#method-run-self",children:[]},{level:3,title:"async method keep_alive(self)",slug:"async-method-keep-alive-self",link:"#async-method-keep-alive-self",children:[]},{level:3,title:"method _handle_exit(self, signum, frame)",slug:"method-handle-exit-self-signum-frame",link:"#method-handle-exit-self-signum-frame",children:[]},{level:3,title:"method restart(self, delay: int = 0)",slug:"method-restart-self-delay-int-0",link:"#method-restart-self-delay-int-0",children:[]},{level:3,title:"method restart_process(self, name: Optional[str] = None)",slug:"method-restart-process-self-name-optional-str-none",link:"#method-restart-process-self-name-optional-str-none",children:[]},{level:3,title:"method init(self)",slug:"method-init-self",link:"#method-init-self",children:[]},{level:3,title:"method init_logger(self)",slug:"method-init-logger-self",link:"#method-init-logger-self",children:[]},{level:3,title:"method stop(self)",slug:"method-stop-self",link:"#method-stop-self",children:[]},{level:3,title:"method on_before_start(self, func: LIFESPAN_FUNC)",slug:"method-on-before-start-self-func-lifespan-func",link:"#method-on-before-start-self-func-lifespan-func",children:[]},{level:3,title:"method on_after_start(self, func: LIFESPAN_FUNC)",slug:"method-on-after-start-self-func-lifespan-func",link:"#method-on-after-start-self-func-lifespan-func",children:[]},{level:3,title:"method on_after_shutdown(self, func: LIFESPAN_FUNC)",slug:"method-on-after-shutdown-self-func-lifespan-func",link:"#method-on-after-shutdown-self-func-lifespan-func",children:[]},{level:3,title:"method on_before_process_shutdown(self, func: LIFESPAN_FUNC)",slug:"method-on-before-process-shutdown-self-func-lifespan-func",link:"#method-on-before-process-shutdown-self-func-lifespan-func",children:[]},{level:3,title:"method on_before_process_restart(self, func: LIFESPAN_FUNC)",slug:"method-on-before-process-restart-self-func-lifespan-func",link:"#method-on-before-process-restart-self-func-lifespan-func",children:[]},{level:3,title:"method on_after_restart(self, func: LIFESPAN_FUNC)",slug:"method-on-after-restart-self-func-lifespan-func",link:"#method-on-after-restart-self-func-lifespan-func",children:[]},{level:3,title:"var _BOT_INSTANCE = NO_DEFAULT",slug:"var-bot-instance-no-default",link:"#var-bot-instance-no-default",children:[]}],path:"/dev/api/bot/",pathLocale:"/",extraFields:[]},{title:"liteyuki.bot.lifespan",headers:[{level:3,title:"class Lifespan",slug:"class-lifespan",link:"#class-lifespan",children:[]},{level:3,title:"method __init__(self) -> None",slug:"method-init-self-none",link:"#method-init-self-none",children:[]},{level:3,title:"@staticmethod",slug:"staticmethod",link:"#staticmethod",children:[]},{level:3,title:"async method run_funcs(funcs: list[ASYNC_LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC]) -> None",slug:"async-method-run-funcs-funcs-list-async-lifespan-func-process-lifespan-func-none",link:"#async-method-run-funcs-funcs-list-async-lifespan-func-process-lifespan-func-none",children:[]},{level:3,title:"method on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC",slug:"method-on-before-start-self-func-lifespan-func-lifespan-func",link:"#method-on-before-start-self-func-lifespan-func-lifespan-func",children:[]},{level:3,title:"method on_after_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC",slug:"method-on-after-start-self-func-lifespan-func-lifespan-func",link:"#method-on-after-start-self-func-lifespan-func-lifespan-func",children:[]},{level:3,title:"method on_before_process_shutdown(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC",slug:"method-on-before-process-shutdown-self-func-lifespan-func-lifespan-func",link:"#method-on-before-process-shutdown-self-func-lifespan-func-lifespan-func",children:[]},{level:3,title:"method on_after_shutdown(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC",slug:"method-on-after-shutdown-self-func-lifespan-func-lifespan-func",link:"#method-on-after-shutdown-self-func-lifespan-func-lifespan-func",children:[]},{level:3,title:"method on_before_process_restart(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC",slug:"method-on-before-process-restart-self-func-lifespan-func-lifespan-func",link:"#method-on-before-process-restart-self-func-lifespan-func-lifespan-func",children:[]},{level:3,title:"method on_after_restart(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC",slug:"method-on-after-restart-self-func-lifespan-func-lifespan-func",link:"#method-on-after-restart-self-func-lifespan-func-lifespan-func",children:[]},{level:3,title:"async method before_start(self) -> None",slug:"async-method-before-start-self-none",link:"#async-method-before-start-self-none",children:[]},{level:3,title:"async method after_start(self) -> None",slug:"async-method-after-start-self-none",link:"#async-method-after-start-self-none",children:[]},{level:3,title:"async method before_process_shutdown(self) -> None",slug:"async-method-before-process-shutdown-self-none",link:"#async-method-before-process-shutdown-self-none",children:[]},{level:3,title:"async method after_shutdown(self) -> None",slug:"async-method-after-shutdown-self-none",link:"#async-method-after-shutdown-self-none",children:[]},{level:3,title:"async method before_process_restart(self) -> None",slug:"async-method-before-process-restart-self-none",link:"#async-method-before-process-restart-self-none",children:[]},{level:3,title:"async method after_restart(self) -> None",slug:"async-method-after-restart-self-none",link:"#async-method-after-restart-self-none",children:[]},{level:3,title:"var SYNC_LIFESPAN_FUNC = Callable[[], Any]",slug:"var-sync-lifespan-func-callable-any",link:"#var-sync-lifespan-func-callable-any",children:[]},{level:3,title:"var ASYNC_LIFESPAN_FUNC = Callable[[], Awaitable[Any]]",slug:"var-async-lifespan-func-callable-awaitable-any",link:"#var-async-lifespan-func-callable-awaitable-any",children:[]},{level:3,title:"var LIFESPAN_FUNC = SYNC_LIFESPAN_FUNC | ASYNC_LIFESPAN_FUNC",slug:"var-lifespan-func-sync-lifespan-func-async-lifespan-func",link:"#var-lifespan-func-sync-lifespan-func-async-lifespan-func",children:[]},{level:3,title:"var SYNC_PROCESS_LIFESPAN_FUNC = Callable[[str], Any]",slug:"var-sync-process-lifespan-func-callable-str-any",link:"#var-sync-process-lifespan-func-callable-str-any",children:[]},{level:3,title:"var ASYNC_PROCESS_LIFESPAN_FUNC = Callable[[str], Awaitable[Any]]",slug:"var-async-process-lifespan-func-callable-str-awaitable-any",link:"#var-async-process-lifespan-func-callable-str-awaitable-any",children:[]},{level:3,title:"var PROCESS_LIFESPAN_FUNC = SYNC_PROCESS_LIFESPAN_FUNC | ASYNC_PROCESS_LIFESPAN_FUNC",slug:"var-process-lifespan-func-sync-process-lifespan-func-async-process-lifespan-func",link:"#var-process-lifespan-func-sync-process-lifespan-func-async-process-lifespan-func",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:"func set_channel()",slug:"func-set-channel",link:"#func-set-channel",children:[]},{level:3,title:"func set_channels()",slug:"func-set-channels",link:"#func-set-channels",children:[]},{level:3,title:"func get_channel() -> Channel",slug:"func-get-channel-channel",link:"#func-get-channel-channel",children:[]},{level:3,title:"func get_channels() -> dict[str, Channel]",slug:"func-get-channels-dict-str-channel",link:"#func-get-channels-dict-str-channel",children:[]},{level:3,title:"@channel_deliver_passive_channel.on_receive(filter_func=lambda data: data[0] == 'set_channel')",slug:"channel-deliver-passive-channel-on-receive-filter-func-lambda-data-data-0-set-channel",link:"#channel-deliver-passive-channel-on-receive-filter-func-lambda-data-data-0-set-channel",children:[]},{level:3,title:"func on_set_channel()",slug:"func-on-set-channel",link:"#func-on-set-channel",children:[]},{level:3,title:"@channel_deliver_passive_channel.on_receive(filter_func=lambda data: data[0] == 'get_channel')",slug:"channel-deliver-passive-channel-on-receive-filter-func-lambda-data-data-0-get-channel",link:"#channel-deliver-passive-channel-on-receive-filter-func-lambda-data-data-0-get-channel",children:[]},{level:3,title:"func on_get_channel()",slug:"func-on-get-channel",link:"#func-on-get-channel",children:[]},{level:3,title:"@channel_deliver_passive_channel.on_receive(filter_func=lambda data: data[0] == 'get_channels')",slug:"channel-deliver-passive-channel-on-receive-filter-func-lambda-data-data-0-get-channels",link:"#channel-deliver-passive-channel-on-receive-filter-func-lambda-data-data-0-get-channels",children:[]},{level:3,title:"func on_get_channels()",slug:"func-on-get-channels",link:"#func-on-get-channels",children:[]},{level:3,title:"class Channel(Generic[T])",slug:"class-channel-generic-t",link:"#class-channel-generic-t",children:[]},{level:3,title:"method __init__(self, name: str, type_check: Optional[bool] = None)",slug:"method-init-self-name-str-type-check-optional-bool-none",link:"#method-init-self-name-str-type-check-optional-bool-none",children:[]},{level:3,title:"method _get_generic_type(self) -> Optional[type]",slug:"method-get-generic-type-self-optional-type",link:"#method-get-generic-type-self-optional-type",children:[]},{level:3,title:"method _validate_structure(self, data: Any, structure: type) -> bool",slug:"method-validate-structure-self-data-any-structure-type-bool",link:"#method-validate-structure-self-data-any-structure-type-bool",children:[]},{level:3,title:"method send(self, data: T)",slug:"method-send-self-data-t",link:"#method-send-self-data-t",children:[]},{level:3,title:"method receive(self) -> T",slug:"method-receive-self-t",link:"#method-receive-self-t",children:[]},{level:3,title:"async method async_receive(self) -> T",slug:"async-method-async-receive-self-t",link:"#async-method-async-receive-self-t",children:[]},{level:3,title:"method on_receive(self, filter_func: Optional[FILTER_FUNC] = None) -> Callable[[Callable[[T], Any]], Callable[[T], Any]]",slug:"method-on-receive-self-filter-func-optional-filter-func-none-callable-callable-t-any-callable-t-any",link:"#method-on-receive-self-filter-func-optional-filter-func-none-callable-callable-t-any-callable-t-any",children:[]},{level:3,title:"async method _run_on_receive_funcs(self, data: Any)",slug:"async-method-run-on-receive-funcs-self-data-any",link:"#async-method-run-on-receive-funcs-self-data-any",children:[]},{level:3,title:"async method start_receive_loop(self)",slug:"async-method-start-receive-loop-self",link:"#async-method-start-receive-loop-self",children:[]},{level:3,title:"var SYNC_ON_RECEIVE_FUNC = Callable[[T], Any]",slug:"var-sync-on-receive-func-callable-t-any",link:"#var-sync-on-receive-func-callable-t-any",children:[]},{level:3,title:"var ASYNC_ON_RECEIVE_FUNC = Callable[[T], Coroutine[Any, Any, Any]]",slug:"var-async-on-receive-func-callable-t-coroutine-any-any-any",link:"#var-async-on-receive-func-callable-t-coroutine-any-any-any",children:[]},{level:3,title:"var ON_RECEIVE_FUNC = SYNC_ON_RECEIVE_FUNC | ASYNC_ON_RECEIVE_FUNC",slug:"var-on-receive-func-sync-on-receive-func-async-on-receive-func",link:"#var-on-receive-func-sync-on-receive-func-async-on-receive-func",children:[]},{level:3,title:"var SYNC_FILTER_FUNC = Callable[[T], bool]",slug:"var-sync-filter-func-callable-t-bool",link:"#var-sync-filter-func-callable-t-bool",children:[]},{level:3,title:"var ASYNC_FILTER_FUNC = Callable[[T], Coroutine[Any, Any, bool]]",slug:"var-async-filter-func-callable-t-coroutine-any-any-bool",link:"#var-async-filter-func-callable-t-coroutine-any-any-bool",children:[]},{level:3,title:"var FILTER_FUNC = SYNC_FILTER_FUNC | ASYNC_FILTER_FUNC",slug:"var-filter-func-sync-filter-func-async-filter-func",link:"#var-filter-func-sync-filter-func-async-filter-func",children:[]},{level:3,title:"var _func_id = 0",slug:"var-func-id-0",link:"#var-func-id-0",children:[]},{level:3,title:"var _channel = {}",slug:"var-channel",link:"#var-channel",children:[]},{level:3,title:"var _callback_funcs = {}",slug:"var-callback-funcs",link:"#var-callback-funcs",children:[]},{level:3,title:"var active_channel = Channel(name='active_channel')",slug:"var-active-channel-channel-name-active-channel",link:"#var-active-channel-channel-name-active-channel",children:[]},{level:3,title:"var passive_channel = Channel(name='passive_channel')",slug:"var-passive-channel-channel-name-passive-channel",link:"#var-passive-channel-channel-name-passive-channel",children:[]},{level:3,title:"var publish_channel = Channel(name='publish_channel')",slug:"var-publish-channel-channel-name-publish-channel",link:"#var-publish-channel-channel-name-publish-channel",children:[]},{level:3,title:"var channel_deliver_active_channel = NO_DEFAULT",slug:"var-channel-deliver-active-channel-no-default",link:"#var-channel-deliver-active-channel-no-default",children:[]},{level:3,title:"var channel_deliver_passive_channel = NO_DEFAULT",slug:"var-channel-deliver-passive-channel-no-default",link:"#var-channel-deliver-passive-channel-no-default",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:[]},{level:3,title:"method __init__(self, name: str, data: dict[str, Any])",slug:"method-init-self-name-str-data-dict-str-any",link:"#method-init-self-name-str-data-dict-str-any",children:[]}],path:"/dev/api/comm/event.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.comm.rpc",headers:[{level:3,title:"class RPC",slug:"class-rpc",link:"#class-rpc",children:[]},{level:3,title:"method __init__(self, on_calling: ON_CALLING_FUNC) -> None",slug:"method-init-self-on-calling-on-calling-func-none",link:"#method-init-self-on-calling-on-calling-func-none",children:[]},{level:3,title:"method call(self, args: tuple, kwargs: dict) -> Any",slug:"method-call-self-args-tuple-kwargs-dict-any",link:"#method-call-self-args-tuple-kwargs-dict-any",children:[]},{level:3,title:"var ON_CALLING_FUNC = Callable[[tuple, dict], Any]",slug:"var-on-calling-func-callable-tuple-dict-any",link:"#var-on-calling-func-callable-tuple-dict-any",children:[]}],path:"/dev/api/comm/rpc.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.comm.socks_channel",headers:[{level:3,title:"class SocksChannel",slug:"class-sockschannel",link:"#class-sockschannel",children:[]},{level:3,title:"method __init__(self, name: str)",slug:"method-init-self-name-str",link:"#method-init-self-name-str",children:[]},{level:3,title:"method send(self, data)",slug:"method-send-self-data",link:"#method-send-self-data",children:[]},{level:3,title:"method receive(self)",slug:"method-receive-self",link:"#method-receive-self",children:[]},{level:3,title:"method close(self)",slug:"method-close-self",link:"#method-close-self",children:[]}],path:"/dev/api/comm/socks_channel.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.comm.storage",headers:[{level:3,title:"@shared_memory.passive_chan.on_receive(lambda d: d[0] == 'get')",slug:"shared-memory-passive-chan-on-receive-lambda-d-d-0-get",link:"#shared-memory-passive-chan-on-receive-lambda-d-d-0-get",children:[]},{level:3,title:"func on_get()",slug:"func-on-get",link:"#func-on-get",children:[]},{level:3,title:"@shared_memory.passive_chan.on_receive(lambda d: d[0] == 'set')",slug:"shared-memory-passive-chan-on-receive-lambda-d-d-0-set",link:"#shared-memory-passive-chan-on-receive-lambda-d-d-0-set",children:[]},{level:3,title:"func on_set()",slug:"func-on-set",link:"#func-on-set",children:[]},{level:3,title:"@shared_memory.passive_chan.on_receive(lambda d: d[0] == 'delete')",slug:"shared-memory-passive-chan-on-receive-lambda-d-d-0-delete",link:"#shared-memory-passive-chan-on-receive-lambda-d-d-0-delete",children:[]},{level:3,title:"func on_delete()",slug:"func-on-delete",link:"#func-on-delete",children:[]},{level:3,title:"@shared_memory.passive_chan.on_receive(lambda d: d[0] == 'get_all')",slug:"shared-memory-passive-chan-on-receive-lambda-d-d-0-get-all",link:"#shared-memory-passive-chan-on-receive-lambda-d-d-0-get-all",children:[]},{level:3,title:"func on_get_all()",slug:"func-on-get-all",link:"#func-on-get-all",children:[]},{level:3,title:"class KeyValueStore",slug:"class-keyvaluestore",link:"#class-keyvaluestore",children:[]},{level:3,title:"method __init__(self)",slug:"method-init-self",link:"#method-init-self",children:[]},{level:3,title:"method set(self, key: str, value: Any) -> None",slug:"method-set-self-key-str-value-any-none",link:"#method-set-self-key-str-value-any-none",children:[]},{level:3,title:"method get(self, key: str, default: Optional[Any] = None) -> Optional[Any]",slug:"method-get-self-key-str-default-optional-any-none-optional-any",link:"#method-get-self-key-str-default-optional-any-none-optional-any",children:[]},{level:3,title:"method delete(self, key: str, ignore_key_error: bool = True) -> None",slug:"method-delete-self-key-str-ignore-key-error-bool-true-none",link:"#method-delete-self-key-str-ignore-key-error-bool-true-none",children:[]},{level:3,title:"method get_all(self) -> dict[str, Any]",slug:"method-get-all-self-dict-str-any",link:"#method-get-all-self-dict-str-any",children:[]},{level:3,title:"method publish(self, channel_: str, data: Any) -> None",slug:"method-publish-self-channel-str-data-any-none",link:"#method-publish-self-channel-str-data-any-none",children:[]},{level:3,title:"method on_subscriber_receive(self, channel_: str) -> Callable[[ON_RECEIVE_FUNC], ON_RECEIVE_FUNC]",slug:"method-on-subscriber-receive-self-channel-str-callable-on-receive-func-on-receive-func",link:"#method-on-subscriber-receive-self-channel-str-callable-on-receive-func-on-receive-func",children:[]},{level:3,title:"@staticmethod",slug:"staticmethod",link:"#staticmethod",children:[]},{level:3,title:"async method run_subscriber_receive_funcs(channel_: str, data: Any)",slug:"async-method-run-subscriber-receive-funcs-channel-str-data-any",link:"#async-method-run-subscriber-receive-funcs-channel-str-data-any",children:[]},{level:3,title:"async method start_receive_loop(self)",slug:"async-method-start-receive-loop-self",link:"#async-method-start-receive-loop-self",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:"method get_instance(cls)",slug:"method-get-instance-cls",link:"#method-get-instance-cls",children:[]},{level:3,title:"var _on_main_subscriber_receive_funcs = {}",slug:"var-on-main-subscriber-receive-funcs",link:"#var-on-main-subscriber-receive-funcs",children:[]},{level:3,title:"var _on_sub_subscriber_receive_funcs = {}",slug:"var-on-sub-subscriber-receive-funcs",link:"#var-on-sub-subscriber-receive-funcs",children:[]},{level:3,title:"var shared_memory = GlobalKeyValueStore.get_instance()",slug:"var-shared-memory-globalkeyvaluestore-get-instance",link:"#var-shared-memory-globalkeyvaluestore-get-instance",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:"method __init__(self, active: Channel[Any], passive: Channel[Any], channel_deliver_active: Channel[Channel[Any]], channel_deliver_passive: Channel[tuple[str, dict]], publish: Channel[tuple[str, Any]])",slug:"method-init-self-active-channel-any-passive-channel-any-channel-deliver-active-channel-channel-any-channel-deliver-passive-channel-tuple-str-dict-publish-channel-tuple-str-any",link:"#method-init-self-active-channel-any-passive-channel-any-channel-deliver-active-channel-channel-any-channel-deliver-passive-channel-tuple-str-dict-publish-channel-tuple-str-any",children:[]},{level:3,title:"class ProcessManager",slug:"class-processmanager",link:"#class-processmanager",children:[]},{level:3,title:"method __init__(self, lifespan: Lifespan)",slug:"method-init-self-lifespan-lifespan",link:"#method-init-self-lifespan-lifespan",children:[]},{level:3,title:"async method _run_process(self, name: str)",slug:"async-method-run-process-self-name-str",link:"#async-method-run-process-self-name-str",children:[]},{level:3,title:"async method start_all(self)",slug:"async-method-start-all-self",link:"#async-method-start-all-self",children:[]},{level:3,title:"method add_target(self, name: str, target: TARGET_FUNC, args: tuple = (), kwargs = None)",slug:"method-add-target-self-name-str-target-target-func-args-tuple-kwargs-none",link:"#method-add-target-self-name-str-target-target-func-args-tuple-kwargs-none",children:[]},{level:3,title:"method join_all(self)",slug:"method-join-all-self",link:"#method-join-all-self",children:[]},{level:3,title:"method terminate(self, name: str)",slug:"method-terminate-self-name-str",link:"#method-terminate-self-name-str",children:[]},{level:3,title:"method terminate_all(self)",slug:"method-terminate-all-self",link:"#method-terminate-all-self",children:[]},{level:3,title:"method is_process_alive(self, name: str) -> bool",slug:"method-is-process-alive-self-name-str-bool",link:"#method-is-process-alive-self-name-str-bool",children:[]},{level:3,title:"var TARGET_FUNC = Callable[..., Any]",slug:"var-target-func-callable-any",link:"#var-target-func-callable-any",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:"func debounce()",slug:"func-debounce",link:"#func-debounce",children:[]},{level:3,title:"func on_file_system_event(directories: tuple[str] = True, recursive: bool = None) -> Callable[[CALLBACK_FUNC], CALLBACK_FUNC]",slug:"func-on-file-system-event-directories-tuple-str-true-recursive-bool-none-callable-callback-func-callback-func",link:"#func-on-file-system-event-directories-tuple-str-true-recursive-bool-none-callable-callback-func-callback-func",children:[]},{level:3,title:"class CodeModifiedHandler(FileSystemEventHandler)",slug:"class-codemodifiedhandler-filesystemeventhandler",link:"#class-codemodifiedhandler-filesystemeventhandler",children:[]},{level:3,title:"@debounce(1)",slug:"debounce-1",link:"#debounce-1",children:[]},{level:3,title:"method on_modified(self, event)",slug:"method-on-modified-self-event",link:"#method-on-modified-self-event",children:[]},{level:3,title:"method on_created(self, event)",slug:"method-on-created-self-event",link:"#method-on-created-self-event",children:[]},{level:3,title:"method on_deleted(self, event)",slug:"method-on-deleted-self-event",link:"#method-on-deleted-self-event",children:[]},{level:3,title:"method on_moved(self, event)",slug:"method-on-moved-self-event",link:"#method-on-moved-self-event",children:[]},{level:3,title:"method on_any_event(self, event)",slug:"method-on-any-event-self-event",link:"#method-on-any-event-self-event",children:[]},{level:3,title:"var CALLBACK_FUNC = Callable[[FileSystemEvent], None]",slug:"var-callback-func-callable-filesystemevent-none",link:"#var-callback-func-callable-filesystemevent-none",children:[]},{level:3,title:"var FILTER_FUNC = Callable[[FileSystemEvent], bool]",slug:"var-filter-func-callable-filesystemevent-bool",link:"#var-filter-func-callable-filesystemevent-bool",children:[]}],path:"/dev/api/dev/observer.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.dev.plugin",headers:[{level:3,title:"func run_plugins()",slug:"func-run-plugins",link:"#func-run-plugins",children:[]}],path:"/dev/api/dev/plugin.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.message",headers:[],path:"/dev/api/message/",pathLocale:"/",extraFields:[]},{title:"liteyuki.message.event",headers:[{level:3,title:"class MessageEvent",slug:"class-messageevent",link:"#class-messageevent",children:[]},{level:3,title:"method __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, user_id: str, session_type: str, receive_channel: Optional[Channel[MessageEvent]] = None, data: Optional[dict[str, Any]] = None)",slug:"method-init-self-bot-id-str-message-list-dict-str-any-str-message-type-str-raw-message-str-session-id-str-user-id-str-session-type-str-receive-channel-optional-channel-messageevent-none-data-optional-dict-str-any-none",link:"#method-init-self-bot-id-str-message-list-dict-str-any-str-message-type-str-raw-message-str-session-id-str-user-id-str-session-type-str-receive-channel-optional-channel-messageevent-none-data-optional-dict-str-any-none",children:[]},{level:3,title:"method reply(self, message: str | dict[str, Any])",slug:"method-reply-self-message-str-dict-str-any",link:"#method-reply-self-message-str-dict-str-any",children:[]}],path:"/dev/api/message/event.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.message.matcher",headers:[{level:3,title:"class Matcher",slug:"class-matcher",link:"#class-matcher",children:[]},{level:3,title:"method __init__(self, rule: Rule, priority: int, block: bool)",slug:"method-init-self-rule-rule-priority-int-block-bool",link:"#method-init-self-rule-rule-priority-int-block-bool",children:[]},{level:3,title:"method handle(self) -> Callable[[EventHandler], EventHandler]",slug:"method-handle-self-callable-eventhandler-eventhandler",link:"#method-handle-self-callable-eventhandler-eventhandler",children:[]},{level:3,title:"async method run(self, event: MessageEvent) -> None",slug:"async-method-run-self-event-messageevent-none",link:"#async-method-run-self-event-messageevent-none",children:[]},{level:3,title:"var EventHandler = Callable[[MessageEvent], Coroutine[None, None, Any]]",slug:"var-eventhandler-callable-messageevent-coroutine-none-none-any",link:"#var-eventhandler-callable-messageevent-coroutine-none-none-any",children:[]}],path:"/dev/api/message/matcher.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.message.on",headers:[{level:3,title:"func add_matcher()",slug:"func-add-matcher",link:"#func-add-matcher",children:[]},{level:3,title:"func on_message(rule: Rule = empty_rule, priority: int = 0, block: bool = False) -> Matcher",slug:"func-on-message-rule-rule-empty-rule-priority-int-0-block-bool-false-matcher",link:"#func-on-message-rule-rule-empty-rule-priority-int-0-block-bool-false-matcher",children:[]},{level:3,title:"func on_keywords(keywords: list[str] = empty_rule, rule = 0, priority: int = False) -> Matcher",slug:"func-on-keywords-keywords-list-str-empty-rule-rule-0-priority-int-false-matcher",link:"#func-on-keywords-keywords-list-str-empty-rule-rule-0-priority-int-false-matcher",children:[]},{level:3,title:"var _matcher_list = []",slug:"var-matcher-list",link:"#var-matcher-list",children:[]},{level:3,title:"var _queue = Queue()",slug:"var-queue-queue",link:"#var-queue-queue",children:[]}],path:"/dev/api/message/on.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.message.rule",headers:[{level:3,title:"@Rule",slug:"rule",link:"#rule",children:[]},{level:3,title:"async func empty_rule() -> bool",slug:"async-func-empty-rule-bool",link:"#async-func-empty-rule-bool",children:[]},{level:3,title:"@Rule",slug:"rule-1",link:"#rule-1",children:[]},{level:3,title:"async func is_su_rule() -> bool",slug:"async-func-is-su-rule-bool",link:"#async-func-is-su-rule-bool",children:[]},{level:3,title:"class Rule",slug:"class-rule",link:"#class-rule",children:[]},{level:3,title:"method __init__(self, handler: RuleHandlerFunc)",slug:"method-init-self-handler-rulehandlerfunc",link:"#method-init-self-handler-rulehandlerfunc",children:[]},{level:3,title:"method __or__(self, other: Rule) -> Rule",slug:"method-or-self-other-rule-rule",link:"#method-or-self-other-rule-rule",children:[]},{level:3,title:"method __and__(self, other: Rule) -> Rule",slug:"method-and-self-other-rule-rule",link:"#method-and-self-other-rule-rule",children:[]},{level:3,title:"async method __call__(self, event: MessageEvent) -> bool",slug:"async-method-call-self-event-messageevent-bool",link:"#async-method-call-self-event-messageevent-bool",children:[]},{level:3,title:"var _superusers = get_config('liteyuki.superusers', [])",slug:"var-superusers-get-config-liteyuki-superusers",link:"#var-superusers-get-config-liteyuki-superusers",children:[]},{level:3,title:"var RuleHandlerFunc = Callable[[MessageEvent], Coroutine[None, None, bool]]",slug:"var-rulehandlerfunc-callable-messageevent-coroutine-none-none-bool",link:"#var-rulehandlerfunc-callable-messageevent-coroutine-none-none-bool",children:[]}],path:"/dev/api/message/rule.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.message.session",headers:[],path:"/dev/api/message/session.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.plugin",headers:[{level:3,title:"func get_loaded_plugins() -> dict[str, Plugin]",slug:"func-get-loaded-plugins-dict-str-plugin",link:"#func-get-loaded-plugins-dict-str-plugin",children:[]}],path:"/dev/api/plugin/",pathLocale:"/",extraFields:[]},{title:"liteyuki.plugin.load",headers:[{level:3,title:"func load_plugin() -> Optional[Plugin]",slug:"func-load-plugin-optional-plugin",link:"#func-load-plugin-optional-plugin",children:[]},{level:3,title:"func load_plugins(*, ignore_warning: bool = True) -> set[Plugin]",slug:"func-load-plugins-ignore-warning-bool-true-set-plugin",link:"#func-load-plugins-ignore-warning-bool-true-set-plugin",children:[]},{level:3,title:"func format_display_name() -> str",slug:"func-format-display-name-str",link:"#func-format-display-name-str",children:[]},{level:3,title:"var _plugins = {}",slug:"var-plugins",link:"#var-plugins",children:[]},{level:3,title:"var metadata = module.__dict__['__plugin_metadata__']",slug:"var-metadata-module-dict-plugin-metadata",link:"#var-metadata-module-dict-plugin-metadata",children:[]},{level:3,title:"var metadata = module.__dict__['__liteyuki_plugin_meta__']",slug:"var-metadata-module-dict-liteyuki-plugin-meta",link:"#var-metadata-module-dict-liteyuki-plugin-meta",children:[]},{level:3,title:"var metadata = module.__dict__['__plugin_meta__']",slug:"var-metadata-module-dict-plugin-meta",link:"#var-metadata-module-dict-plugin-meta",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:"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:"method __hash__(self)",slug:"method-hash-self",link:"#method-hash-self",children:[]}],path:"/dev/api/plugin/model.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.plugins.liteecho",headers:[{level:3,title:"@on_startswith(['liteecho'], rule=is_su_rule).handle()",slug:"on-startswith-liteecho-rule-is-su-rule-handle",link:"#on-startswith-liteecho-rule-is-su-rule-handle",children:[]},{level:3,title:"async func liteecho()",slug:"async-func-liteecho",link:"#async-func-liteecho",children:[]}],path:"/dev/api/plugins/liteecho.html",pathLocale:"/",extraFields:[]},{title:"liteyuki",headers:[],path:"/en/dev/api/",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.config",headers:[{level:3,title:"func flat_config() -> dict[str, Any]",slug:"func-flat-config-dict-str-any",link:"#func-flat-config-dict-str-any",children:[]},{level:3,title:"func load_from_yaml() -> dict[str, Any]",slug:"func-load-from-yaml-dict-str-any",link:"#func-load-from-yaml-dict-str-any",children:[]},{level:3,title:"func load_from_json() -> dict[str, Any]",slug:"func-load-from-json-dict-str-any",link:"#func-load-from-json-dict-str-any",children:[]},{level:3,title:"func load_from_toml() -> dict[str, Any]",slug:"func-load-from-toml-dict-str-any",link:"#func-load-from-toml-dict-str-any",children:[]},{level:3,title:"func load_from_files(*, no_warning: bool = False) -> dict[str, Any]",slug:"func-load-from-files-no-warning-bool-false-dict-str-any",link:"#func-load-from-files-no-warning-bool-false-dict-str-any",children:[]},{level:3,title:"func load_configs_from_dirs(*, no_waring: bool = False) -> dict[str, Any]",slug:"func-load-configs-from-dirs-no-waring-bool-false-dict-str-any",link:"#func-load-configs-from-dirs-no-waring-bool-false-dict-str-any",children:[]},{level:3,title:"func load_config_in_default(no_waring: bool = False) -> dict[str, Any]",slug:"func-load-config-in-default-no-waring-bool-false-dict-str-any",link:"#func-load-config-in-default-no-waring-bool-false-dict-str-any",children:[]}],path:"/en/dev/api/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/exception.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.log",headers:[{level:3,title:"func get_format() -> str",slug:"func-get-format-str",link:"#func-get-format-str",children:[]},{level:3,title:"func init_log()",slug:"func-init-log",link:"#func-init-log",children:[]},{level:3,title:"var debug_format = '<c>{time:YYYY-MM-DD HH:mm:ss}</c> <lvl>[{level.icon}]</lvl> <c><{name}.{module}.{function}:{line}></c> {message}'",slug:"var-debug-format-c-time-yyyy-mm-dd-hh-mm-ss-c-lvl-level-icon-lvl-c-name-module-function-line-c-message",link:"#var-debug-format-c-time-yyyy-mm-dd-hh-mm-ss-c-lvl-level-icon-lvl-c-name-module-function-line-c-message",children:[]},{level:3,title:"var default_format = '<c>{time:MM-DD HH:mm:ss}</c> <lvl>[{level.icon}]</lvl> <c><{name}></c> {message}'",slug:"var-default-format-c-time-mm-dd-hh-mm-ss-c-lvl-level-icon-lvl-c-name-c-message",link:"#var-default-format-c-time-mm-dd-hh-mm-ss-c-lvl-level-icon-lvl-c-name-c-message",children:[]}],path:"/en/dev/api/log.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.mkdoc",headers:[{level:3,title:"func get_relative_path() -> str",slug:"func-get-relative-path-str",link:"#func-get-relative-path-str",children:[]},{level:3,title:"func write_to_files()",slug:"func-write-to-files",link:"#func-write-to-files",children:[]},{level:3,title:"func get_file_list()",slug:"func-get-file-list",link:"#func-get-file-list",children:[]},{level:3,title:"func get_module_info_normal(file_path: str = True) -> ModuleInfo",slug:"func-get-module-info-normal-file-path-str-true-moduleinfo",link:"#func-get-module-info-normal-file-path-str-true-moduleinfo",children:[]},{level:3,title:"func generate_markdown(module_info: ModuleInfo = None, front_matter = 'zh-CN') -> str",slug:"func-generate-markdown-module-info-moduleinfo-none-front-matter-zh-cn-str",link:"#func-generate-markdown-module-info-moduleinfo-none-front-matter-zh-cn-str",children:[]},{level:3,title:"func generate_docs(module_folder: str = False, output_dir: str = 'zh-CN', with_top: bool = None)",slug:"func-generate-docs-module-folder-str-false-output-dir-str-zh-cn-with-top-bool-none",link:"#func-generate-docs-module-folder-str-false-output-dir-str-zh-cn-with-top-bool-none",children:[]},{level:3,title:"class DefType(Enum)",slug:"class-deftype-enum",link:"#class-deftype-enum",children:[]},{level:3,title:"class FunctionInfo(BaseModel)",slug:"class-functioninfo-basemodel",link:"#class-functioninfo-basemodel",children:[]},{level:3,title:"class AttributeInfo(BaseModel)",slug:"class-attributeinfo-basemodel",link:"#class-attributeinfo-basemodel",children:[]},{level:3,title:"class ClassInfo(BaseModel)",slug:"class-classinfo-basemodel",link:"#class-classinfo-basemodel",children:[]},{level:3,title:"class ModuleInfo(BaseModel)",slug:"class-moduleinfo-basemodel",link:"#class-moduleinfo-basemodel",children:[]}],path:"/en/dev/api/mkdoc.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.utils",headers:[{level:3,title:"func is_coroutine_callable() -> bool",slug:"func-is-coroutine-callable-bool",link:"#func-is-coroutine-callable-bool",children:[]},{level:3,title:"func run_coroutine()",slug:"func-run-coroutine",link:"#func-run-coroutine",children:[]},{level:3,title:"func run_coroutine_in_thread()",slug:"func-run-coroutine-in-thread",link:"#func-run-coroutine-in-thread",children:[]},{level:3,title:"func path_to_module_name() -> str",slug:"func-path-to-module-name-str",link:"#func-path-to-module-name-str",children:[]},{level:3,title:"func async_wrapper() -> Callable[..., Coroutine]",slug:"func-async-wrapper-callable-coroutine",link:"#func-async-wrapper-callable-coroutine",children:[]}],path:"/en/dev/api/utils.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.plugins.plugin_loader",headers:[{level:3,title:"func default_plugins_loader()",slug:"func-default-plugins-loader",link:"#func-default-plugins-loader",children:[]}],path:"/dev/api/plugins/plugin_loader/",pathLocale:"/",extraFields:[]},{title:"liteyuki.bot",headers:[{level:3,title:"func get_bot() -> LiteyukiBot",slug:"func-get-bot-liteyukibot",link:"#func-get-bot-liteyukibot",children:[]},{level:3,title:"func get_config(key: str = None) -> Any",slug:"func-get-config-key-str-none-any",link:"#func-get-config-key-str-none-any",children:[]},{level:3,title:"func get_config_with_compat(key: str = None) -> Any",slug:"func-get-config-with-compat-key-str-none-any",link:"#func-get-config-with-compat-key-str-none-any",children:[]},{level:3,title:"func print_logo()",slug:"func-print-logo",link:"#func-print-logo",children:[]},{level:3,title:"class LiteyukiBot",slug:"class-liteyukibot",link:"#class-liteyukibot",children:[]},{level:3,title:"method __init__(self) -> None",slug:"method-init-self-none",link:"#method-init-self-none",children:[]},{level:3,title:"async method _run(self)",slug:"async-method-run-self",link:"#async-method-run-self",children:[]},{level:3,title:"method run(self)",slug:"method-run-self",link:"#method-run-self",children:[]},{level:3,title:"async method keep_alive(self)",slug:"async-method-keep-alive-self",link:"#async-method-keep-alive-self",children:[]},{level:3,title:"method _handle_exit(self, signum, frame)",slug:"method-handle-exit-self-signum-frame",link:"#method-handle-exit-self-signum-frame",children:[]},{level:3,title:"method restart(self, delay: int = 0)",slug:"method-restart-self-delay-int-0",link:"#method-restart-self-delay-int-0",children:[]},{level:3,title:"method restart_process(self, name: Optional[str] = None)",slug:"method-restart-process-self-name-optional-str-none",link:"#method-restart-process-self-name-optional-str-none",children:[]},{level:3,title:"method init(self)",slug:"method-init-self",link:"#method-init-self",children:[]},{level:3,title:"method init_logger(self)",slug:"method-init-logger-self",link:"#method-init-logger-self",children:[]},{level:3,title:"method stop(self)",slug:"method-stop-self",link:"#method-stop-self",children:[]},{level:3,title:"method on_before_start(self, func: LIFESPAN_FUNC)",slug:"method-on-before-start-self-func-lifespan-func",link:"#method-on-before-start-self-func-lifespan-func",children:[]},{level:3,title:"method on_after_start(self, func: LIFESPAN_FUNC)",slug:"method-on-after-start-self-func-lifespan-func",link:"#method-on-after-start-self-func-lifespan-func",children:[]},{level:3,title:"method on_after_shutdown(self, func: LIFESPAN_FUNC)",slug:"method-on-after-shutdown-self-func-lifespan-func",link:"#method-on-after-shutdown-self-func-lifespan-func",children:[]},{level:3,title:"method on_before_process_shutdown(self, func: LIFESPAN_FUNC)",slug:"method-on-before-process-shutdown-self-func-lifespan-func",link:"#method-on-before-process-shutdown-self-func-lifespan-func",children:[]},{level:3,title:"method on_before_process_restart(self, func: LIFESPAN_FUNC)",slug:"method-on-before-process-restart-self-func-lifespan-func",link:"#method-on-before-process-restart-self-func-lifespan-func",children:[]},{level:3,title:"method on_after_restart(self, func: LIFESPAN_FUNC)",slug:"method-on-after-restart-self-func-lifespan-func",link:"#method-on-after-restart-self-func-lifespan-func",children:[]},{level:3,title:"var _BOT_INSTANCE = NO_DEFAULT",slug:"var-bot-instance-no-default",link:"#var-bot-instance-no-default",children:[]}],path:"/en/dev/api/bot/",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.bot.lifespan",headers:[{level:3,title:"class Lifespan",slug:"class-lifespan",link:"#class-lifespan",children:[]},{level:3,title:"method __init__(self) -> None",slug:"method-init-self-none",link:"#method-init-self-none",children:[]},{level:3,title:"@staticmethod",slug:"staticmethod",link:"#staticmethod",children:[]},{level:3,title:"async method run_funcs(funcs: list[ASYNC_LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC]) -> None",slug:"async-method-run-funcs-funcs-list-async-lifespan-func-process-lifespan-func-none",link:"#async-method-run-funcs-funcs-list-async-lifespan-func-process-lifespan-func-none",children:[]},{level:3,title:"method on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC",slug:"method-on-before-start-self-func-lifespan-func-lifespan-func",link:"#method-on-before-start-self-func-lifespan-func-lifespan-func",children:[]},{level:3,title:"method on_after_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC",slug:"method-on-after-start-self-func-lifespan-func-lifespan-func",link:"#method-on-after-start-self-func-lifespan-func-lifespan-func",children:[]},{level:3,title:"method on_before_process_shutdown(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC",slug:"method-on-before-process-shutdown-self-func-lifespan-func-lifespan-func",link:"#method-on-before-process-shutdown-self-func-lifespan-func-lifespan-func",children:[]},{level:3,title:"method on_after_shutdown(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC",slug:"method-on-after-shutdown-self-func-lifespan-func-lifespan-func",link:"#method-on-after-shutdown-self-func-lifespan-func-lifespan-func",children:[]},{level:3,title:"method on_before_process_restart(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC",slug:"method-on-before-process-restart-self-func-lifespan-func-lifespan-func",link:"#method-on-before-process-restart-self-func-lifespan-func-lifespan-func",children:[]},{level:3,title:"method on_after_restart(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC",slug:"method-on-after-restart-self-func-lifespan-func-lifespan-func",link:"#method-on-after-restart-self-func-lifespan-func-lifespan-func",children:[]},{level:3,title:"async method before_start(self) -> None",slug:"async-method-before-start-self-none",link:"#async-method-before-start-self-none",children:[]},{level:3,title:"async method after_start(self) -> None",slug:"async-method-after-start-self-none",link:"#async-method-after-start-self-none",children:[]},{level:3,title:"async method before_process_shutdown(self) -> None",slug:"async-method-before-process-shutdown-self-none",link:"#async-method-before-process-shutdown-self-none",children:[]},{level:3,title:"async method after_shutdown(self) -> None",slug:"async-method-after-shutdown-self-none",link:"#async-method-after-shutdown-self-none",children:[]},{level:3,title:"async method before_process_restart(self) -> None",slug:"async-method-before-process-restart-self-none",link:"#async-method-before-process-restart-self-none",children:[]},{level:3,title:"async method after_restart(self) -> None",slug:"async-method-after-restart-self-none",link:"#async-method-after-restart-self-none",children:[]},{level:3,title:"var SYNC_LIFESPAN_FUNC = Callable[[], Any]",slug:"var-sync-lifespan-func-callable-any",link:"#var-sync-lifespan-func-callable-any",children:[]},{level:3,title:"var ASYNC_LIFESPAN_FUNC = Callable[[], Awaitable[Any]]",slug:"var-async-lifespan-func-callable-awaitable-any",link:"#var-async-lifespan-func-callable-awaitable-any",children:[]},{level:3,title:"var LIFESPAN_FUNC = SYNC_LIFESPAN_FUNC | ASYNC_LIFESPAN_FUNC",slug:"var-lifespan-func-sync-lifespan-func-async-lifespan-func",link:"#var-lifespan-func-sync-lifespan-func-async-lifespan-func",children:[]},{level:3,title:"var SYNC_PROCESS_LIFESPAN_FUNC = Callable[[str], Any]",slug:"var-sync-process-lifespan-func-callable-str-any",link:"#var-sync-process-lifespan-func-callable-str-any",children:[]},{level:3,title:"var ASYNC_PROCESS_LIFESPAN_FUNC = Callable[[str], Awaitable[Any]]",slug:"var-async-process-lifespan-func-callable-str-awaitable-any",link:"#var-async-process-lifespan-func-callable-str-awaitable-any",children:[]},{level:3,title:"var PROCESS_LIFESPAN_FUNC = SYNC_PROCESS_LIFESPAN_FUNC | ASYNC_PROCESS_LIFESPAN_FUNC",slug:"var-process-lifespan-func-sync-process-lifespan-func-async-process-lifespan-func",link:"#var-process-lifespan-func-sync-process-lifespan-func-async-process-lifespan-func",children:[]}],path:"/en/dev/api/bot/lifespan.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.comm",headers:[],path:"/en/dev/api/comm/",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.comm.channel",headers:[{level:3,title:"func set_channel()",slug:"func-set-channel",link:"#func-set-channel",children:[]},{level:3,title:"func set_channels()",slug:"func-set-channels",link:"#func-set-channels",children:[]},{level:3,title:"func get_channel() -> Channel",slug:"func-get-channel-channel",link:"#func-get-channel-channel",children:[]},{level:3,title:"func get_channels() -> dict[str, Channel]",slug:"func-get-channels-dict-str-channel",link:"#func-get-channels-dict-str-channel",children:[]},{level:3,title:"@channel_deliver_passive_channel.on_receive(filter_func=lambda data: data[0] == 'set_channel')",slug:"channel-deliver-passive-channel-on-receive-filter-func-lambda-data-data-0-set-channel",link:"#channel-deliver-passive-channel-on-receive-filter-func-lambda-data-data-0-set-channel",children:[]},{level:3,title:"func on_set_channel()",slug:"func-on-set-channel",link:"#func-on-set-channel",children:[]},{level:3,title:"@channel_deliver_passive_channel.on_receive(filter_func=lambda data: data[0] == 'get_channel')",slug:"channel-deliver-passive-channel-on-receive-filter-func-lambda-data-data-0-get-channel",link:"#channel-deliver-passive-channel-on-receive-filter-func-lambda-data-data-0-get-channel",children:[]},{level:3,title:"func on_get_channel()",slug:"func-on-get-channel",link:"#func-on-get-channel",children:[]},{level:3,title:"@channel_deliver_passive_channel.on_receive(filter_func=lambda data: data[0] == 'get_channels')",slug:"channel-deliver-passive-channel-on-receive-filter-func-lambda-data-data-0-get-channels",link:"#channel-deliver-passive-channel-on-receive-filter-func-lambda-data-data-0-get-channels",children:[]},{level:3,title:"func on_get_channels()",slug:"func-on-get-channels",link:"#func-on-get-channels",children:[]},{level:3,title:"class Channel(Generic[T])",slug:"class-channel-generic-t",link:"#class-channel-generic-t",children:[]},{level:3,title:"method __init__(self, name: str, type_check: Optional[bool] = None)",slug:"method-init-self-name-str-type-check-optional-bool-none",link:"#method-init-self-name-str-type-check-optional-bool-none",children:[]},{level:3,title:"method _get_generic_type(self) -> Optional[type]",slug:"method-get-generic-type-self-optional-type",link:"#method-get-generic-type-self-optional-type",children:[]},{level:3,title:"method _validate_structure(self, data: Any, structure: type) -> bool",slug:"method-validate-structure-self-data-any-structure-type-bool",link:"#method-validate-structure-self-data-any-structure-type-bool",children:[]},{level:3,title:"method send(self, data: T)",slug:"method-send-self-data-t",link:"#method-send-self-data-t",children:[]},{level:3,title:"method receive(self) -> T",slug:"method-receive-self-t",link:"#method-receive-self-t",children:[]},{level:3,title:"async method async_receive(self) -> T",slug:"async-method-async-receive-self-t",link:"#async-method-async-receive-self-t",children:[]},{level:3,title:"method on_receive(self, filter_func: Optional[FILTER_FUNC] = None) -> Callable[[Callable[[T], Any]], Callable[[T], Any]]",slug:"method-on-receive-self-filter-func-optional-filter-func-none-callable-callable-t-any-callable-t-any",link:"#method-on-receive-self-filter-func-optional-filter-func-none-callable-callable-t-any-callable-t-any",children:[]},{level:3,title:"async method _run_on_receive_funcs(self, data: Any)",slug:"async-method-run-on-receive-funcs-self-data-any",link:"#async-method-run-on-receive-funcs-self-data-any",children:[]},{level:3,title:"async method start_receive_loop(self)",slug:"async-method-start-receive-loop-self",link:"#async-method-start-receive-loop-self",children:[]},{level:3,title:"var SYNC_ON_RECEIVE_FUNC = Callable[[T], Any]",slug:"var-sync-on-receive-func-callable-t-any",link:"#var-sync-on-receive-func-callable-t-any",children:[]},{level:3,title:"var ASYNC_ON_RECEIVE_FUNC = Callable[[T], Coroutine[Any, Any, Any]]",slug:"var-async-on-receive-func-callable-t-coroutine-any-any-any",link:"#var-async-on-receive-func-callable-t-coroutine-any-any-any",children:[]},{level:3,title:"var ON_RECEIVE_FUNC = SYNC_ON_RECEIVE_FUNC | ASYNC_ON_RECEIVE_FUNC",slug:"var-on-receive-func-sync-on-receive-func-async-on-receive-func",link:"#var-on-receive-func-sync-on-receive-func-async-on-receive-func",children:[]},{level:3,title:"var SYNC_FILTER_FUNC = Callable[[T], bool]",slug:"var-sync-filter-func-callable-t-bool",link:"#var-sync-filter-func-callable-t-bool",children:[]},{level:3,title:"var ASYNC_FILTER_FUNC = Callable[[T], Coroutine[Any, Any, bool]]",slug:"var-async-filter-func-callable-t-coroutine-any-any-bool",link:"#var-async-filter-func-callable-t-coroutine-any-any-bool",children:[]},{level:3,title:"var FILTER_FUNC = SYNC_FILTER_FUNC | ASYNC_FILTER_FUNC",slug:"var-filter-func-sync-filter-func-async-filter-func",link:"#var-filter-func-sync-filter-func-async-filter-func",children:[]},{level:3,title:"var _func_id = 0",slug:"var-func-id-0",link:"#var-func-id-0",children:[]},{level:3,title:"var _channel = {}",slug:"var-channel",link:"#var-channel",children:[]},{level:3,title:"var _callback_funcs = {}",slug:"var-callback-funcs",link:"#var-callback-funcs",children:[]},{level:3,title:"var active_channel = Channel(name='active_channel')",slug:"var-active-channel-channel-name-active-channel",link:"#var-active-channel-channel-name-active-channel",children:[]},{level:3,title:"var passive_channel = Channel(name='passive_channel')",slug:"var-passive-channel-channel-name-passive-channel",link:"#var-passive-channel-channel-name-passive-channel",children:[]},{level:3,title:"var publish_channel = Channel(name='publish_channel')",slug:"var-publish-channel-channel-name-publish-channel",link:"#var-publish-channel-channel-name-publish-channel",children:[]},{level:3,title:"var channel_deliver_active_channel = NO_DEFAULT",slug:"var-channel-deliver-active-channel-no-default",link:"#var-channel-deliver-active-channel-no-default",children:[]},{level:3,title:"var channel_deliver_passive_channel = NO_DEFAULT",slug:"var-channel-deliver-passive-channel-no-default",link:"#var-channel-deliver-passive-channel-no-default",children:[]}],path:"/en/dev/api/comm/channel.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.comm.event",headers:[{level:3,title:"class Event",slug:"class-event",link:"#class-event",children:[]},{level:3,title:"method __init__(self, name: str, data: dict[str, Any])",slug:"method-init-self-name-str-data-dict-str-any",link:"#method-init-self-name-str-data-dict-str-any",children:[]}],path:"/en/dev/api/comm/event.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.comm.rpc",headers:[{level:3,title:"class RPC",slug:"class-rpc",link:"#class-rpc",children:[]},{level:3,title:"method __init__(self, on_calling: ON_CALLING_FUNC) -> None",slug:"method-init-self-on-calling-on-calling-func-none",link:"#method-init-self-on-calling-on-calling-func-none",children:[]},{level:3,title:"method call(self, args: tuple, kwargs: dict) -> Any",slug:"method-call-self-args-tuple-kwargs-dict-any",link:"#method-call-self-args-tuple-kwargs-dict-any",children:[]},{level:3,title:"var ON_CALLING_FUNC = Callable[[tuple, dict], Any]",slug:"var-on-calling-func-callable-tuple-dict-any",link:"#var-on-calling-func-callable-tuple-dict-any",children:[]}],path:"/en/dev/api/comm/rpc.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.comm.socks_channel",headers:[{level:3,title:"class SocksChannel",slug:"class-sockschannel",link:"#class-sockschannel",children:[]},{level:3,title:"method __init__(self, name: str)",slug:"method-init-self-name-str",link:"#method-init-self-name-str",children:[]},{level:3,title:"method send(self, data)",slug:"method-send-self-data",link:"#method-send-self-data",children:[]},{level:3,title:"method receive(self)",slug:"method-receive-self",link:"#method-receive-self",children:[]},{level:3,title:"method close(self)",slug:"method-close-self",link:"#method-close-self",children:[]}],path:"/en/dev/api/comm/socks_channel.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.comm.storage",headers:[{level:3,title:"@shared_memory.passive_chan.on_receive(lambda d: d[0] == 'get')",slug:"shared-memory-passive-chan-on-receive-lambda-d-d-0-get",link:"#shared-memory-passive-chan-on-receive-lambda-d-d-0-get",children:[]},{level:3,title:"func on_get()",slug:"func-on-get",link:"#func-on-get",children:[]},{level:3,title:"@shared_memory.passive_chan.on_receive(lambda d: d[0] == 'set')",slug:"shared-memory-passive-chan-on-receive-lambda-d-d-0-set",link:"#shared-memory-passive-chan-on-receive-lambda-d-d-0-set",children:[]},{level:3,title:"func on_set()",slug:"func-on-set",link:"#func-on-set",children:[]},{level:3,title:"@shared_memory.passive_chan.on_receive(lambda d: d[0] == 'delete')",slug:"shared-memory-passive-chan-on-receive-lambda-d-d-0-delete",link:"#shared-memory-passive-chan-on-receive-lambda-d-d-0-delete",children:[]},{level:3,title:"func on_delete()",slug:"func-on-delete",link:"#func-on-delete",children:[]},{level:3,title:"@shared_memory.passive_chan.on_receive(lambda d: d[0] == 'get_all')",slug:"shared-memory-passive-chan-on-receive-lambda-d-d-0-get-all",link:"#shared-memory-passive-chan-on-receive-lambda-d-d-0-get-all",children:[]},{level:3,title:"func on_get_all()",slug:"func-on-get-all",link:"#func-on-get-all",children:[]},{level:3,title:"class KeyValueStore",slug:"class-keyvaluestore",link:"#class-keyvaluestore",children:[]},{level:3,title:"method __init__(self)",slug:"method-init-self",link:"#method-init-self",children:[]},{level:3,title:"method set(self, key: str, value: Any) -> None",slug:"method-set-self-key-str-value-any-none",link:"#method-set-self-key-str-value-any-none",children:[]},{level:3,title:"method get(self, key: str, default: Optional[Any] = None) -> Optional[Any]",slug:"method-get-self-key-str-default-optional-any-none-optional-any",link:"#method-get-self-key-str-default-optional-any-none-optional-any",children:[]},{level:3,title:"method delete(self, key: str, ignore_key_error: bool = True) -> None",slug:"method-delete-self-key-str-ignore-key-error-bool-true-none",link:"#method-delete-self-key-str-ignore-key-error-bool-true-none",children:[]},{level:3,title:"method get_all(self) -> dict[str, Any]",slug:"method-get-all-self-dict-str-any",link:"#method-get-all-self-dict-str-any",children:[]},{level:3,title:"method publish(self, channel_: str, data: Any) -> None",slug:"method-publish-self-channel-str-data-any-none",link:"#method-publish-self-channel-str-data-any-none",children:[]},{level:3,title:"method on_subscriber_receive(self, channel_: str) -> Callable[[ON_RECEIVE_FUNC], ON_RECEIVE_FUNC]",slug:"method-on-subscriber-receive-self-channel-str-callable-on-receive-func-on-receive-func",link:"#method-on-subscriber-receive-self-channel-str-callable-on-receive-func-on-receive-func",children:[]},{level:3,title:"@staticmethod",slug:"staticmethod",link:"#staticmethod",children:[]},{level:3,title:"async method run_subscriber_receive_funcs(channel_: str, data: Any)",slug:"async-method-run-subscriber-receive-funcs-channel-str-data-any",link:"#async-method-run-subscriber-receive-funcs-channel-str-data-any",children:[]},{level:3,title:"async method start_receive_loop(self)",slug:"async-method-start-receive-loop-self",link:"#async-method-start-receive-loop-self",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:"method get_instance(cls)",slug:"method-get-instance-cls",link:"#method-get-instance-cls",children:[]},{level:3,title:"var _on_main_subscriber_receive_funcs = {}",slug:"var-on-main-subscriber-receive-funcs",link:"#var-on-main-subscriber-receive-funcs",children:[]},{level:3,title:"var _on_sub_subscriber_receive_funcs = {}",slug:"var-on-sub-subscriber-receive-funcs",link:"#var-on-sub-subscriber-receive-funcs",children:[]},{level:3,title:"var shared_memory = GlobalKeyValueStore.get_instance()",slug:"var-shared-memory-globalkeyvaluestore-get-instance",link:"#var-shared-memory-globalkeyvaluestore-get-instance",children:[]}],path:"/en/dev/api/comm/storage.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.core",headers:[],path:"/en/dev/api/core/",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.core.manager",headers:[{level:3,title:"class ChannelDeliver",slug:"class-channeldeliver",link:"#class-channeldeliver",children:[]},{level:3,title:"method __init__(self, active: Channel[Any], passive: Channel[Any], channel_deliver_active: Channel[Channel[Any]], channel_deliver_passive: Channel[tuple[str, dict]], publish: Channel[tuple[str, Any]])",slug:"method-init-self-active-channel-any-passive-channel-any-channel-deliver-active-channel-channel-any-channel-deliver-passive-channel-tuple-str-dict-publish-channel-tuple-str-any",link:"#method-init-self-active-channel-any-passive-channel-any-channel-deliver-active-channel-channel-any-channel-deliver-passive-channel-tuple-str-dict-publish-channel-tuple-str-any",children:[]},{level:3,title:"class ProcessManager",slug:"class-processmanager",link:"#class-processmanager",children:[]},{level:3,title:"method __init__(self, lifespan: Lifespan)",slug:"method-init-self-lifespan-lifespan",link:"#method-init-self-lifespan-lifespan",children:[]},{level:3,title:"async method _run_process(self, name: str)",slug:"async-method-run-process-self-name-str",link:"#async-method-run-process-self-name-str",children:[]},{level:3,title:"async method start_all(self)",slug:"async-method-start-all-self",link:"#async-method-start-all-self",children:[]},{level:3,title:"method add_target(self, name: str, target: TARGET_FUNC, args: tuple = (), kwargs = None)",slug:"method-add-target-self-name-str-target-target-func-args-tuple-kwargs-none",link:"#method-add-target-self-name-str-target-target-func-args-tuple-kwargs-none",children:[]},{level:3,title:"method join_all(self)",slug:"method-join-all-self",link:"#method-join-all-self",children:[]},{level:3,title:"method terminate(self, name: str)",slug:"method-terminate-self-name-str",link:"#method-terminate-self-name-str",children:[]},{level:3,title:"method terminate_all(self)",slug:"method-terminate-all-self",link:"#method-terminate-all-self",children:[]},{level:3,title:"method is_process_alive(self, name: str) -> bool",slug:"method-is-process-alive-self-name-str-bool",link:"#method-is-process-alive-self-name-str-bool",children:[]},{level:3,title:"var TARGET_FUNC = Callable[..., Any]",slug:"var-target-func-callable-any",link:"#var-target-func-callable-any",children:[]}],path:"/en/dev/api/core/manager.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.dev",headers:[],path:"/en/dev/api/dev/",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.dev.observer",headers:[{level:3,title:"func debounce()",slug:"func-debounce",link:"#func-debounce",children:[]},{level:3,title:"func on_file_system_event(directories: tuple[str] = True, recursive: bool = None) -> Callable[[CALLBACK_FUNC], CALLBACK_FUNC]",slug:"func-on-file-system-event-directories-tuple-str-true-recursive-bool-none-callable-callback-func-callback-func",link:"#func-on-file-system-event-directories-tuple-str-true-recursive-bool-none-callable-callback-func-callback-func",children:[]},{level:3,title:"class CodeModifiedHandler(FileSystemEventHandler)",slug:"class-codemodifiedhandler-filesystemeventhandler",link:"#class-codemodifiedhandler-filesystemeventhandler",children:[]},{level:3,title:"@debounce(1)",slug:"debounce-1",link:"#debounce-1",children:[]},{level:3,title:"method on_modified(self, event)",slug:"method-on-modified-self-event",link:"#method-on-modified-self-event",children:[]},{level:3,title:"method on_created(self, event)",slug:"method-on-created-self-event",link:"#method-on-created-self-event",children:[]},{level:3,title:"method on_deleted(self, event)",slug:"method-on-deleted-self-event",link:"#method-on-deleted-self-event",children:[]},{level:3,title:"method on_moved(self, event)",slug:"method-on-moved-self-event",link:"#method-on-moved-self-event",children:[]},{level:3,title:"method on_any_event(self, event)",slug:"method-on-any-event-self-event",link:"#method-on-any-event-self-event",children:[]},{level:3,title:"var CALLBACK_FUNC = Callable[[FileSystemEvent], None]",slug:"var-callback-func-callable-filesystemevent-none",link:"#var-callback-func-callable-filesystemevent-none",children:[]},{level:3,title:"var FILTER_FUNC = Callable[[FileSystemEvent], bool]",slug:"var-filter-func-callable-filesystemevent-bool",link:"#var-filter-func-callable-filesystemevent-bool",children:[]}],path:"/en/dev/api/dev/observer.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.dev.plugin",headers:[{level:3,title:"func run_plugins()",slug:"func-run-plugins",link:"#func-run-plugins",children:[]}],path:"/en/dev/api/dev/plugin.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.message",headers:[],path:"/en/dev/api/message/",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.message.event",headers:[{level:3,title:"class MessageEvent",slug:"class-messageevent",link:"#class-messageevent",children:[]},{level:3,title:"method __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, user_id: str, session_type: str, receive_channel: Optional[Channel[MessageEvent]] = None, data: Optional[dict[str, Any]] = None)",slug:"method-init-self-bot-id-str-message-list-dict-str-any-str-message-type-str-raw-message-str-session-id-str-user-id-str-session-type-str-receive-channel-optional-channel-messageevent-none-data-optional-dict-str-any-none",link:"#method-init-self-bot-id-str-message-list-dict-str-any-str-message-type-str-raw-message-str-session-id-str-user-id-str-session-type-str-receive-channel-optional-channel-messageevent-none-data-optional-dict-str-any-none",children:[]},{level:3,title:"method reply(self, message: str | dict[str, Any])",slug:"method-reply-self-message-str-dict-str-any",link:"#method-reply-self-message-str-dict-str-any",children:[]}],path:"/en/dev/api/message/event.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.message.matcher",headers:[{level:3,title:"class Matcher",slug:"class-matcher",link:"#class-matcher",children:[]},{level:3,title:"method __init__(self, rule: Rule, priority: int, block: bool)",slug:"method-init-self-rule-rule-priority-int-block-bool",link:"#method-init-self-rule-rule-priority-int-block-bool",children:[]},{level:3,title:"method handle(self) -> Callable[[EventHandler], EventHandler]",slug:"method-handle-self-callable-eventhandler-eventhandler",link:"#method-handle-self-callable-eventhandler-eventhandler",children:[]},{level:3,title:"async method run(self, event: MessageEvent) -> None",slug:"async-method-run-self-event-messageevent-none",link:"#async-method-run-self-event-messageevent-none",children:[]},{level:3,title:"var EventHandler = Callable[[MessageEvent], Coroutine[None, None, Any]]",slug:"var-eventhandler-callable-messageevent-coroutine-none-none-any",link:"#var-eventhandler-callable-messageevent-coroutine-none-none-any",children:[]}],path:"/en/dev/api/message/matcher.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.message.on",headers:[{level:3,title:"func add_matcher()",slug:"func-add-matcher",link:"#func-add-matcher",children:[]},{level:3,title:"func on_message(rule: Rule = empty_rule, priority: int = 0, block: bool = False) -> Matcher",slug:"func-on-message-rule-rule-empty-rule-priority-int-0-block-bool-false-matcher",link:"#func-on-message-rule-rule-empty-rule-priority-int-0-block-bool-false-matcher",children:[]},{level:3,title:"func on_keywords(keywords: list[str] = empty_rule, rule = 0, priority: int = False) -> Matcher",slug:"func-on-keywords-keywords-list-str-empty-rule-rule-0-priority-int-false-matcher",link:"#func-on-keywords-keywords-list-str-empty-rule-rule-0-priority-int-false-matcher",children:[]},{level:3,title:"var _matcher_list = []",slug:"var-matcher-list",link:"#var-matcher-list",children:[]},{level:3,title:"var _queue = Queue()",slug:"var-queue-queue",link:"#var-queue-queue",children:[]}],path:"/en/dev/api/message/on.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.message.rule",headers:[{level:3,title:"@Rule",slug:"rule",link:"#rule",children:[]},{level:3,title:"async func empty_rule() -> bool",slug:"async-func-empty-rule-bool",link:"#async-func-empty-rule-bool",children:[]},{level:3,title:"@Rule",slug:"rule-1",link:"#rule-1",children:[]},{level:3,title:"async func is_su_rule() -> bool",slug:"async-func-is-su-rule-bool",link:"#async-func-is-su-rule-bool",children:[]},{level:3,title:"class Rule",slug:"class-rule",link:"#class-rule",children:[]},{level:3,title:"method __init__(self, handler: RuleHandlerFunc)",slug:"method-init-self-handler-rulehandlerfunc",link:"#method-init-self-handler-rulehandlerfunc",children:[]},{level:3,title:"method __or__(self, other: Rule) -> Rule",slug:"method-or-self-other-rule-rule",link:"#method-or-self-other-rule-rule",children:[]},{level:3,title:"method __and__(self, other: Rule) -> Rule",slug:"method-and-self-other-rule-rule",link:"#method-and-self-other-rule-rule",children:[]},{level:3,title:"async method __call__(self, event: MessageEvent) -> bool",slug:"async-method-call-self-event-messageevent-bool",link:"#async-method-call-self-event-messageevent-bool",children:[]},{level:3,title:"var _superusers = get_config('liteyuki.superusers', [])",slug:"var-superusers-get-config-liteyuki-superusers",link:"#var-superusers-get-config-liteyuki-superusers",children:[]},{level:3,title:"var RuleHandlerFunc = Callable[[MessageEvent], Coroutine[None, None, bool]]",slug:"var-rulehandlerfunc-callable-messageevent-coroutine-none-none-bool",link:"#var-rulehandlerfunc-callable-messageevent-coroutine-none-none-bool",children:[]}],path:"/en/dev/api/message/rule.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.message.session",headers:[],path:"/en/dev/api/message/session.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.plugin",headers:[{level:3,title:"func get_loaded_plugins() -> dict[str, Plugin]",slug:"func-get-loaded-plugins-dict-str-plugin",link:"#func-get-loaded-plugins-dict-str-plugin",children:[]}],path:"/en/dev/api/plugin/",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.plugin.load",headers:[{level:3,title:"func load_plugin() -> Optional[Plugin]",slug:"func-load-plugin-optional-plugin",link:"#func-load-plugin-optional-plugin",children:[]},{level:3,title:"func load_plugins(*, ignore_warning: bool = True) -> set[Plugin]",slug:"func-load-plugins-ignore-warning-bool-true-set-plugin",link:"#func-load-plugins-ignore-warning-bool-true-set-plugin",children:[]},{level:3,title:"func format_display_name() -> str",slug:"func-format-display-name-str",link:"#func-format-display-name-str",children:[]},{level:3,title:"var _plugins = {}",slug:"var-plugins",link:"#var-plugins",children:[]},{level:3,title:"var metadata = module.__dict__['__plugin_metadata__']",slug:"var-metadata-module-dict-plugin-metadata",link:"#var-metadata-module-dict-plugin-metadata",children:[]},{level:3,title:"var metadata = module.__dict__['__liteyuki_plugin_meta__']",slug:"var-metadata-module-dict-liteyuki-plugin-meta",link:"#var-metadata-module-dict-liteyuki-plugin-meta",children:[]},{level:3,title:"var metadata = module.__dict__['__plugin_meta__']",slug:"var-metadata-module-dict-plugin-meta",link:"#var-metadata-module-dict-plugin-meta",children:[]}],path:"/en/dev/api/plugin/load.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.plugin.manager",headers:[],path:"/en/dev/api/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:"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:"method __hash__(self)",slug:"method-hash-self",link:"#method-hash-self",children:[]}],path:"/en/dev/api/plugin/model.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.plugins.liteecho",headers:[{level:3,title:"@on_startswith(['liteecho'], rule=is_su_rule).handle()",slug:"on-startswith-liteecho-rule-is-su-rule-handle",link:"#on-startswith-liteecho-rule-is-su-rule-handle",children:[]},{level:3,title:"async func liteecho()",slug:"async-func-liteecho",link:"#async-func-liteecho",children:[]}],path:"/en/dev/api/plugins/liteecho.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.plugins.plugin_loader",headers:[{level:3,title:"func default_plugins_loader()",slug:"func-default-plugins-loader",link:"#func-default-plugins-loader",children:[]}],path:"/en/dev/api/plugins/plugin_loader/",pathLocale:"/en/",extraFields:[]},{title:"",headers:[],path:"/404.html",pathLocale:"/",extraFields:[]},{title:"Plugins",headers:[],path:"/dev/api/plugins/",pathLocale:"/",extraFields:[]},{title:"Plugins",headers:[],path:"/en/dev/api/plugins/",pathLocale:"/",extraFields:[]}],eg=Q(Z1),tg=()=>eg,ng=({searchIndex:e,routeLocale:t,query:n,maxSuggestions:l})=>{const s=x(()=>e.value.filter(r=>r.pathLocale===t.value));return x(()=>{const r=n.value.trim().toLowerCase();if(!r)return[];const i=[],a=(o,c)=>{Da(r,[c.title])&&i.push({link:`${o.path}#${c.slug}`,title:o.title,header:c.title});for(const u of c.children){if(i.length>=l.value)return;a(o,u)}};for(const o of s.value){if(i.length>=l.value)break;if(Da(r,[o.title,...o.extraFields])){i.push({link:o.path,title:o.title});continue}for(const c of o.headers){if(i.length>=l.value)break;a(o,c)}}return i})},lg=e=>{const t=Q(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}}},sg=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}=Gd(e),s=_n(),r=Xt(),i=tg(),a=Q(null),o=Q(!1),c=Q(""),u=x(()=>t.value[r.value]??{}),f=ng({searchIndex:i,routeLocale:r,query:c,maxSuggestions:l}),{focusIndex:h,focusNext:p,focusPrev:m}=lg(f);X1({input:a,hotKeys:n});const b=x(()=>o.value&&!!f.value.length),_=()=>{b.value&&m()},k=()=>{b.value&&p()},C=y=>{if(!b.value)return;const L=f.value[y];L&&s.push(L.link).then(()=>{c.value="",h.value=0})};return()=>d("form",{class:"search-box",role:"search"},[d("input",{ref:a,type:"search",placeholder:u.value.placeholder,autocomplete:"off",spellcheck:!1,value:c.value,onFocus:()=>o.value=!0,onBlur:()=>o.value=!1,onInput:y=>c.value=y.target.value,onKeydown:y=>{switch(y.key){case"ArrowUp":{_();break}case"ArrowDown":{k();break}case"Enter":{y.preventDefault(),C(h.value);break}}}}),b.value&&d("ul",{class:"suggestions",onMouseleave:()=>h.value=-1},f.value.map(({link:y,title:L,header:O},A)=>d("li",{class:["suggestion",{focus:h.value===A}],onMouseenter:()=>h.value=A,onMousedown:()=>C(A)},d("a",{href:y,onClick:N=>N.preventDefault()},[d("span",{class:"page-title"},L),O&&d("span",{class:"page-header"},`> ${O}`)]))))])}});var rg=["s","/"],ig={"/":{placeholder:"搜索"}};const ag=ig,og=rg,cg=5,ug=nt({enhance({app:e}){e.component("SearchBox",t=>d(sg,{locales:ag,hotKeys:og,maxSuggestions:cg,...t}))}}),yu=()=>{const e=Se();return x(()=>e.value.readingTime??null)},dg=(e,t)=>{const{minutes:n,words:l}=e,{less1Minute:s,word:r,time:i}=t;return{time:n<1?s:i.replace("$time",Math.round(n).toString()),words:r.replace("$word",l.toString())}};var Va={"/en/":{word:"About $word words",less1Minute:"Less than 1 minute",time:"About $time min"},"/":{word:"约 $word 字",less1Minute:"小于 1 分钟",time:"大约 $time 分钟"}};const ja={words:"",time:""},Cr=typeof Va>"u"?null:Va,fg=()=>Cr?Rl(Cr):x(()=>null),hg=()=>{if(typeof Cr>"u")return x(()=>ja);const e=yu(),t=fg();return x(()=>e.value&&t.value?dg(e.value,t.value):ja)},en=()=>Kc(),ye=()=>Im(),Dl=()=>{const e=en();return x(()=>!!e.value.pure)},Ba=()=>null,pg="719px",vg="1440px",mg="false",_u={mobileBreakPoint:pg,pcBreakPoint:vg,enableThemeColor:mg},hi={"/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:"liteyuki",prefix:"api/",collapsible:!0,children:["",{text:"liteyuki.bot",prefix:"bot/",collapsible:!0,children:["","lifespan"]},{text:"liteyuki.comm",prefix:"comm/",collapsible:!0,children:["","channel","event","rpc","socks_channel","storage"]},"config",{text:"liteyuki.core",prefix:"core/",collapsible:!0,children:["","manager"]},{text:"liteyuki.dev",prefix:"dev/",collapsible:!0,children:["","observer","plugin"]},"exception","log",{text:"liteyuki.message",prefix:"message/",collapsible:!0,children:["","event","matcher","on","rule","session"]},"mkdoc",{text:"liteyuki.plugin",prefix:"plugin/",collapsible:!0,children:["","load","manager","model"]},"utils",{text:"Plugins",prefix:"plugins/",collapsible:!0,children:["liteecho",{text:"liteyuki.plugins.plugin_loader",prefix:"plugin_loader/",collapsible:!0,children:[""]}]}]}],"/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,children:["",{text:"liteyuki.bot",prefix:"bot/",collapsible:!0,children:["","lifespan"]},{text:"liteyuki.comm",prefix:"comm/",collapsible:!0,children:["","channel","event","rpc","socks_channel","storage"]},"config",{text:"liteyuki.core",prefix:"core/",collapsible:!0,children:["","manager"]},{text:"liteyuki.dev",prefix:"dev/",collapsible:!0,children:["","observer","plugin"]},"exception","log",{text:"liteyuki.message",prefix:"message/",collapsible:!0,children:["","event","matcher","on","rule","session"]},"mkdoc",{text:"liteyuki.plugin",prefix:"plugin/",collapsible:!0,children:["","load","manager","model"]},"utils",{text:"Plugins",prefix:"plugins/",collapsible:!0,children:["liteecho",{text:"liteyuki.plugins.plugin_loader",prefix:"plugin_loader/",collapsible:!0,children:[""]}]}]}]},bu=e=>{const{icon:t="",color:n,size:l}=e,s=n||l?{}:null;return n&&(s.color=n),l&&(s.height=Number.isNaN(Number(l))?l:`${l}px`),yn(t)?d("img",{class:"icon",src:t,alt:"","no-view":"",style:s}):ii(t)?d("img",{class:"icon",src:Ge(t),alt:"","aria-hidden":"","no-view":"",style:s}):d(yt("FontIcon"),e)};bu.displayName="HopeIcon";var Ke=bu;const gg="http://.",pi=()=>{const e=_n(),t=Jt();return n=>{if(n)if(ii(n))t.path!==n&&e.push(n);else if(ac(n))window&&window.open(n);else{const l=t.path.slice(0,t.path.lastIndexOf("/"));e.push(new URL(`${l}/${encodeURI(n)}`,gg).pathname)}}},ku=()=>{const e=ye(),t=Ie();return x(()=>{const{author:n}=t.value;return n?Fa(n):n===!1?[]:Fa(e.value.author,!1)})},yg=()=>{const e=Ie();return x(()=>l1(e.value.category).map(t=>({name:t,path:""})))},_g=()=>{const e=Ie();return x(()=>s1(e.value.tag).map(t=>({name:t,path:""})))},bg=()=>{const e=Ie(),t=Se();return x(()=>{const n=Iv(e.value.date);if(n)return n;const{createdTime:l}=t.value.git||{};return l?new Date(l):null})},kg=()=>{const e=ye(),t=Se(),n=Ie(),l=ku(),s=yg(),r=_g(),i=bg(),a=yu(),o=hg(),c=x(()=>({author:l.value,category:s.value,date:i.value,localizedDate:t.value.localizedDate,tag:r.value,isOriginal:n.value.isOriginal||!1,readingTime:a.value,readingTimeLocale:o.value,pageview:"pageview"in n.value?n.value.pageview:!0})),u=x(()=>"pageInfo"in n.value?n.value.pageInfo:"pageInfo"in e.value?e.value.pageInfo:null);return{info:c,items:u}},{mobileBreakPoint:wg,pcBreakPoint:Eg}=_u,Ha=e=>e.endsWith("px")?Number(e.slice(0,-2)):null,Ns=()=>{const e=Q(!1),t=Q(!1),n=()=>{e.value=window.innerWidth<=(Ha(wg)??719),t.value=window.innerWidth>=(Ha(Eg)??1440)};return we(()=>{n(),$e("resize",n,!1),$e("orientationchange",n,!1)}),{isMobile:e,isPC:t}},wu=Symbol(""),Vl=()=>{const e=Me(wu);if(!e)throw new Error("useDarkmode() is called without provider.");return e},Cg=e=>{const t=en(),n=Jv(),l=x(()=>t.value.darkmode||"switch"),s=Yn("vuepress-theme-hope-scheme","auto"),r=x(()=>{const a=l.value;return a==="disable"?!1:a==="enable"?!0:a==="auto"?n.value:a==="toggle"?s.value==="dark":s.value==="dark"||s.value==="auto"&&n.value}),i=x(()=>{const a=l.value;return a==="switch"||a==="toggle"});e.provide(wu,{canToggle:i,config:l,isDarkmode:r,status:s}),Object.defineProperties(e.config.globalProperties,{$isDarkmode:{get:()=>r.value}})},Lg=()=>{const{config:e,isDarkmode:t,status:n}=Vl();Io(()=>{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 Ct=(e=>(e.title="t",e.shortTitle="s",e.icon="i",e.index="I",e.order="O",e.breadcrumbExclude="b",e))(Ct||{}),Ag=(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))(Ag||{}),xg=(e=>(e.article="a",e.home="h",e.slide="s",e.page="p",e))(xg||{});const un=(e="",t="")=>ii(t)?t:`${ic(e)}${t}`,Fn=(e,t=!1)=>{const{meta:n,path:l,notFound:s}=Ss(e);return s?{text:l,link:l}:{text:!t&&n[Ct.shortTitle]?n[Ct.shortTitle]:n[Ct.title]||l,link:l,...n[Ct.icon]?{icon:n[Ct.icon]}:{}}},Lr=({config:e,prefix:t=""})=>{const n=(l,s=t)=>{const r=Pe(l)?Fn(un(s,l)):l.link?{...l,...Vn(l.link)?{}:{link:Fn(un(s,l.link)).link}}:l;if("children"in r){const i=un(s,r.prefix),a=r.children==="structure"?hi[i]:r.children;return{type:"group",...r,prefix:i,children:a.map(o=>n(o,i))}}return{type:"page",...r}};return e.map(l=>n(l))},Sg=({config:e,page:t,headerDepth:n})=>{const l=Zt(e).sort((s,r)=>r.length-s.length);for(const s of l)if(Hn(decodeURI(t.path),s)){const r=e[s];return r?Lr({config:r==="structure"?hi[s]:r,page:t,headerDepth:n,prefix:s}):[]}return console.warn(`${t.path} is missing sidebar config.`),[]},Tg=({config:e,routeLocale:t,page:n,headerDepth:l})=>e==="structure"?Lr({config:hi[t],page:n,headerDepth:l,prefix:t}):Er(e)?Lr({config:e,page:n,headerDepth:l}):Gn(e)?Sg({config:e,page:n,headerDepth:l}):[],Eu=Symbol(""),Ig=()=>{const e=Ie(),t=ye(),n=Se(),l=Xt(),s=x(()=>e.value.home?!1:e.value.sidebar??t.value.sidebar??"structure"),r=x(()=>e.value.headerDepth??t.value.headerDepth??2),i=ai(()=>[s.value,r.value,n.value.path,null],()=>Tg({config:s.value,routeLocale:l.value,page:n.value,headerDepth:r.value}));Pn(Eu,i)},vi=()=>{const e=Me(Eu);if(!e)throw new Error("useSidebarItems() is called without provider.");return e};var Ng=U({name:"PageFooter",setup(){const e=en(),t=ye(),n=Ie(),l=ku(),s=x(()=>{const{copyright:c,footer:u}=n.value;return u!==!1&&!!(c||u||t.value.displayFooter)}),r=x(()=>{const{footer:c}=n.value;return c===!1?!1:Pe(c)?c:t.value.footer||""}),i=x(()=>l.value.map(({name:c})=>c).join(", ")),a=c=>`Copyright © ${new Date().getFullYear()} ${i.value} ${c?`${c} Licensed`:""}`,o=x(()=>{const{copyright:c,license:u=""}=n.value,{license:f}=e.value,{copyright:h}=t.value;return c??(u?a(u):Pe(h)?h:i.value||f?a(f):!1)});return()=>s.value?d("footer",{class:"vp-footer-wrapper"},[r.value?d("div",{class:"vp-footer",innerHTML:r.value}):null,o.value?d("div",{class:"vp-copyright",innerHTML:o.value}):null]):null}}),et=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 s=Jt(),r=kc(),i=ys(e,"config"),a=x(()=>yn(i.value.link)),o=x(()=>!a.value&&ac(i.value.link)),c=x(()=>i.value.target||(a.value?"_blank":void 0)),u=x(()=>c.value==="_blank"),f=x(()=>!a.value&&!o.value&&!u.value),h=x(()=>i.value.rel||(u.value?"noopener noreferrer":null)),p=x(()=>i.value.ariaLabel||i.value.text),m=x(()=>{if(e.exact)return!1;const _=Zt(r.value.locales);return _.length?_.every(k=>k!==i.value.link):i.value.link!=="/"}),b=x(()=>f.value?i.value.activeMatch?new RegExp(i.value.activeMatch,"u").test(s.path):m.value?Hn(s.path,i.value.link):s.path===i.value.link:!1);return()=>{const{before:_,after:k,default:C}=l,{text:y,icon:L,link:O}=i.value;return f.value?d(Je,{to:O,"aria-label":p.value,...t,class:["nav-link",{active:b.value},t.class],onFocusout:()=>n("focusout")},()=>C?C():[_?_():d(Ke,{icon:L}),y,k==null?void 0:k()]):d("a",{href:O,rel:h.value,target:c.value,"aria-label":p.value,...t,class:["nav-link",t.class],onFocusout:()=>n("focusout")},C?C():[_?_():d(Ke,{icon:L}),y,e.noExternalLinkIcon?null:d(Wc),k==null?void 0:k()])}}}),Cu=U({name:"NavbarDropdownLink",props:{config:{type:Object,required:!0}},slots:Object,setup(e,{slots:t}){const n=Se(),l=ys(e,"config"),s=x(()=>l.value.ariaLabel||l.value.text),r=Q(!1);ve(()=>n.value.path,()=>{r.value=!1});const i=a=>{a.detail===0&&(r.value=!r.value)};return()=>{var a;return d("div",{class:["dropdown-wrapper",{open:r.value}]},[d("button",{type:"button",class:"dropdown-title","aria-label":s.value,onClick:i},[((a=t.title)==null?void 0:a.call(t))||d("span",{class:"title"},[d(Ke,{icon:l.value.icon}),e.config.text]),d("span",{class:"arrow"}),d("ul",{class:"nav-dropdown"},l.value.children.map((o,c)=>{const u=c===l.value.children.length-1;return d("li",{class:"dropdown-item"},"children"in o?[d("h4",{class:"dropdown-subtitle"},o.link?d(et,{config:o,onFocusout:()=>{o.children.length===0&&u&&(r.value=!1)}}):d("span",o.text)),d("ul",{class:"dropdown-subitem-wrapper"},o.children.map((f,h)=>d("li",{class:"dropdown-subitem"},d(et,{config:f,onFocusout:()=>{h===o.children.length-1&&u&&(r.value=!1)}}))))]:d(et,{config:o,onFocusout:()=>{u&&(r.value=!1)}}))}))])])}}});const Lu=()=>d(Ne,{name:"i18n"},()=>[d("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"})]);Lu.displayName="I18nIcon";const Au=(e,t="")=>Pe(e)?Fn(un(t,e)):"children"in e?{...e,...e.link&&!Vn(e.link)?Fn(un(t,e.link)):{},children:e.children.map(n=>Au(n,un(t,e.prefix)))}:{...e,link:Vn(e.link)?e.link:Fn(un(t,e.link)).link},xu=()=>{const e=ye(),t=()=>(e.value.navbar||[]).map(n=>Au(n));return ai(()=>e.value.navbar,()=>t())},Pg=()=>{const e=dv(),t=Jt(),n=Xt(),l=xs(),s=en(),r=ye();return ai(()=>t.path,()=>{const i=Zt(l.value.locales),a=Pc(s.value.extraLocales??{});if(i.length<2&&!a.length)return null;const{path:o,fullPath:c}=t,{navbarLocales:u}=r.value;return{text:"",ariaLabel:u==null?void 0:u.selectLangAriaLabel,children:[...i.map(f=>{var k,C,y;const h=((k=l.value.locales)==null?void 0:k[f])??{},p=((C=s.value.locales)==null?void 0:C[f])??{},m=h.lang||"",b=((y=p.navbarLocales)==null?void 0:y.langName)??m;let _;if(m===l.value.lang)_=o;else{const L=o.replace(n.value,f);_=e.value.some(O=>O===L)?c.replace(o,L):p.home??f}return{text:b,link:_}}),...a.map(([f,h])=>({text:f,link:h.replace(":route",t.path.replace(n.value,""))}))]}})},Og=()=>{const e=ye(),t=x(()=>e.value.repo||null),n=x(()=>t.value?t1(t.value):null),l=x(()=>t.value?cu(t.value):null),s=x(()=>n.value?e.value.repoLabel??(l.value===null?"Source":l.value):null);return x(()=>!n.value||!s.value||e.value.repoDisplay===!1?null:{type:l.value||"Source",label:s.value,link:n.value})};var Rg=U({name:"LanguageDropdown",setup(){const e=Pg();return()=>e.value?d("div",{class:"nav-item"},d(Cu,{class:"i18n-dropdown",config:e.value},{title:()=>{var t;return d(Lu,{"aria-label":(t=e.value)==null?void 0:t.ariaLabel,style:{width:"1rem",height:"1rem",verticalAlign:"middle"}})}})):null}}),Fg=U({name:"NavScreenDropdown",props:{config:{type:Object,required:!0}},setup(e){const t=Se(),n=ys(e,"config"),l=x(()=>n.value.ariaLabel||n.value.text),s=Q(!1);ve(()=>t.value.path,()=>{s.value=!1});const r=(i,a)=>a[a.length-1]===i;return()=>[d("button",{type:"button",class:["nav-screen-dropdown-title",{active:s.value}],"aria-label":l.value,onClick:()=>{s.value=!s.value}},[d("span",{class:"title"},[d(Ke,{icon:n.value.icon}),e.config.text]),d("span",{class:["arrow",s.value?"down":"end"]})]),d("ul",{class:["nav-screen-dropdown",{hide:!s.value}]},n.value.children.map(i=>d("li",{class:"dropdown-item"},"children"in i?[d("h4",{class:"dropdown-subtitle"},i.link?d(et,{config:i,onFocusout:()=>{r(i,n.value.children)&&i.children.length===0&&(s.value=!1)}}):d("span",i.text)),d("ul",{class:"dropdown-subitem-wrapper"},i.children.map(a=>d("li",{class:"dropdown-subitem"},d(et,{config:a,onFocusout:()=>{r(a,i.children)&&r(i,n.value.children)&&(s.value=!1)}}))))]:d(et,{config:i,onFocusout:()=>{r(i,n.value.children)&&(s.value=!1)}}))))]}}),$g=U({name:"NavScreenLinks",setup(){const e=xu();return()=>e.value.length?d("nav",{class:"nav-screen-links"},e.value.map(t=>d("div",{class:"navbar-links-item"},"children"in t?d(Fg,{config:t}):d(et,{config:t})))):null}});const Su=()=>d(Ne,{name:"dark"},()=>d("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=()=>d(Ne,{name:"light"},()=>d("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=()=>d(Ne,{name:"auto"},()=>d("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 Nu=()=>d(Ne,{name:"enter-fullscreen"},()=>d("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"}));Nu.displayName="EnterFullScreenIcon";const Pu=()=>d(Ne,{name:"cancel-fullscreen"},()=>d("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"}));Pu.displayName="CancelFullScreenIcon";const Ou=()=>d(Ne,{name:"outlook"},()=>[d("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}=Vl(),l=Dl(),s=()=>{e.value==="switch"?n.value={light:"dark",dark:"auto",auto:"light"}[n.value]:n.value=n.value==="light"?"dark":"light"},r=async i=>{if(!(document.startViewTransition&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches&&!l.value)||!i){s();return}const a=i.clientX,o=i.clientY,c=Math.hypot(Math.max(a,innerWidth-a),Math.max(o,innerHeight-o)),u=t.value;await document.startViewTransition(async()=>{s(),await Qt()}).ready,t.value!==u&&document.documentElement.animate({clipPath:t.value?[`circle(${c}px at ${a}px ${o}px)`,`circle(0px at ${a}px ${o}px)`]:[`circle(0px at ${a}px ${o}px)`,`circle(${c}px at ${a}px ${o}px)`]},{duration:400,pseudoElement:t.value?"::view-transition-old(root)":"::view-transition-new(root)"})};return()=>d("button",{type:"button",id:"appearance-switch",onClick:r},[d(Iu,{style:{display:n.value==="auto"?"block":"none"}}),d(Su,{style:{display:n.value==="dark"?"block":"none"}}),d(Tu,{style:{display:n.value==="light"?"block":"none"}})])}}),Mg=U({name:"AppearanceMode",setup(){const e=ye(),{canToggle:t}=Vl(),n=x(()=>e.value.outlookLocales.darkmode);return()=>t.value?d("div",{class:"appearance-wrapper"},[d("label",{class:"appearance-title",for:"appearance-switch"},n.value),d(Ru)]):null}});const tr=_u.enableThemeColor==="true";var Fu=U({name:"ToggleFullScreenButton",setup(){const e=ye(),{isSupported:t,isFullscreen:n,toggle:l}=ci(),s=x(()=>e.value.outlookLocales.fullscreen);return()=>t?d("div",{class:"full-screen-wrapper"},[d("label",{class:"full-screen-title",for:"full-screen-switch"},s.value),d("button",{type:"button",id:"full-screen-switch",class:"full-screen",ariaPressed:n.value,onClick:()=>l()},n.value?d(Pu):d(Nu))]):null}}),$u=U({name:"OutlookSettings",setup(){const e=en(),t=Dl(),n=x(()=>!t.value&&e.value.fullscreen);return()=>d(Ts,()=>[null,d(Mg),n.value?d(Fu):null])}}),Dg=U({name:"NavScreen",props:{show:Boolean},emits:["close"],slots:Object,setup(e,{emit:t,slots:n}){const l=Se(),{isMobile:s}=Ns(),r=De(),i=jc(r);return we(()=>{r.value=document.body,ve(s,a=>{!a&&e.show&&(i.value=!1,t("close"))}),ve(()=>l.value.path,()=>{i.value=!1,t("close")})}),gn(()=>{i.value=!1}),()=>d(Yt,{name:"fade",onEnter:()=>{i.value=!0},onAfterLeave:()=>{i.value=!1}},()=>{var a,o;return e.show?d("div",{id:"nav-screen"},d("div",{class:"vp-nav-screen-container"},[(a=n.before)==null?void 0:a.call(n),d($g),d("div",{class:"vp-outlook-wrapper"},d($u)),(o=n.after)==null?void 0:o.call(n)])):null})}}),Vg=U({name:"NavbarBrand",setup(){const e=Xt(),t=xs(),n=ye(),l=x(()=>n.value.home||e.value),s=x(()=>t.value.title),r=x(()=>n.value.navTitle??s.value),i=x(()=>n.value.logo?Ge(n.value.logo):null),a=x(()=>n.value.logoDark?Ge(n.value.logoDark):null);return()=>d(Je,{to:l.value,class:"vp-brand"},()=>[i.value?d("img",{class:["vp-nav-logo",{light:!!a.value}],src:i.value,alt:""}):null,a.value?d("img",{class:["vp-nav-logo dark"],src:a.value,alt:""}):null,r.value?d("span",{class:["vp-site-name",{"hide-in-pad":i.value&&n.value.hideSiteNameOnMobile!==!1}]},r.value):null])}}),jg=U({name:"NavbarLinks",setup(){const e=xu();return()=>e.value.length?d("nav",{class:"vp-nav-links"},e.value.map(t=>d("div",{class:"nav-item hide-in-mobile"},"children"in t?d(Cu,{config:t}):d(et,{config:t})))):null}}),Bg=U({name:"RepoLink",components:{BitbucketIcon:su,GiteeIcon:lu,GitHubIcon:tu,GitLabIcon:nu,SourceIcon:ru},setup(){const e=Og();return()=>e.value?d("div",{class:"nav-item vp-repo"},d("a",{class:"vp-repo-link",href:e.value.link,target:"_blank",rel:"noopener noreferrer","aria-label":e.value.label},d(yt(`${e.value.type}Icon`),{style:{width:"1.25rem",height:"1.25rem",verticalAlign:"middle"}}))):null}});const Mu=({active:e=!1},{emit:t})=>d("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")},d("span",[d("span",{class:"vp-top"}),d("span",{class:"vp-middle"}),d("span",{class:"vp-bottom"})]));Mu.displayName="ToggleNavbarButton";var Hg=Mu;const Ar=(e,{emit:t})=>d("button",{type:"button",class:"vp-toggle-sidebar-button",title:"Toggle Sidebar",onClick:()=>t("toggle")},d("span",{class:"icon"}));Ar.displayName="ToggleSidebarButton",Ar.emits=["toggle"];var Ug=Ar,zg=U({name:"OutlookButton",setup(){const{isSupported:e}=ci(),t=en(),n=Dl(),l=Se(),{canToggle:s}=Vl(),r=Q(!1),i=x(()=>!n.value&&t.value.fullscreen&&e);return ve(()=>l.value.path,()=>{r.value=!1}),()=>s.value||i.value||tr?d("div",{class:"nav-item hide-in-mobile"},s.value&&!i.value&&!tr?d(Ru):i.value&&!s.value&&!tr?d(Fu):d("button",{type:"button",class:["outlook-button",{open:r.value}],tabindex:"-1","aria-hidden":!0},[d(Ou),d("div",{class:"outlook-dropdown"},d($u))])):null}}),qg=U({name:"NavBar",emits:["toggleSidebar"],slots:Object,setup(e,{emit:t,slots:n}){const l=ye(),{isMobile:s}=Ns(),r=Q(!1),i=x(()=>{const{navbarAutoHide:u="mobile"}=l.value;return u!=="none"&&(u==="always"||s.value)}),a=x(()=>l.value.navbarLayout||{start:["Brand"],center:["Links"],end:["Language","Repo","Outlook","Search"]}),o={Brand:Vg,Language:Rg,Links:jg,Repo:Bg,Outlook:zg,Search:ft("Docsearch")?yt("Docsearch"):ft("SearchBox")?yt("SearchBox"):Ba},c=u=>o[u]??(ft(u)?yt(u):Ba);return()=>{var u,f,h,p,m,b;return[d("header",{key:"navbar",id:"navbar",class:["vp-navbar",{"auto-hide":i.value,"hide-icon":l.value.navbarIcon===!1}]},[d("div",{class:"vp-navbar-start"},[d(Ug,{onToggle:()=>{r.value&&(r.value=!1),t("toggleSidebar")}}),(u=n.startBefore)==null?void 0:u.call(n),(a.value.start||[]).map(_=>d(c(_))),(f=n.startAfter)==null?void 0:f.call(n)]),d("div",{class:"vp-navbar-center"},[(h=n.centerBefore)==null?void 0:h.call(n),(a.value.center||[]).map(_=>d(c(_))),(p=n.centerAfter)==null?void 0:p.call(n)]),d("div",{class:"vp-navbar-end"},[(m=n.endBefore)==null?void 0:m.call(n),(a.value.end||[]).map(_=>d(c(_))),(b=n.endAfter)==null?void 0:b.call(n),d(Hg,{active:r.value,onToggle:()=>{r.value=!r.value}})])]),d(Dg,{show:r.value,onClose:()=>{r.value=!1}},{before:()=>{var _;return(_=n.screenTop)==null?void 0:_.call(n)},after:()=>{var _;return(_=n.screenBottom)==null?void 0:_.call(n)}})]}}});const El=(e,t,n=!1)=>"activeMatch"in t?new RegExp(t.activeMatch,"u").test(e.path):ou(e,t.link)?!0:"children"in t&&!n?t.children.some(l=>El(e,l)):!1,Du=(e,t)=>t.type==="group"?t.children.some(n=>n.type==="group"?Du(e,n):n.type==="page"&&El(e,n,!0))||"prefix"in t&&ou(e,t.prefix):!1;var Wg=U({name:"SidebarChild",props:{config:{type:Object,required:!0}},setup(e){const t=Jt();return()=>Pe(e.config.link)?d(et,{class:["vp-sidebar-link","vp-sidebar-page",{active:El(t,e.config,!0)}],exact:!0,config:e.config}):d("p",e,[d(Ke,{icon:e.config.icon}),e.config.text])}}),Gg=U({name:"SidebarGroup",props:{config:{type:Object,required:!0},open:{type:Boolean,required:!0}},emits:["toggle"],setup(e,{emit:t}){const n=Jt(),l=x(()=>El(n,e.config)),s=x(()=>El(n,e.config,!0));return()=>{const{collapsible:r,children:i=[],icon:a,prefix:o,link:c,text:u}=e.config;return d("section",{class:"vp-sidebar-group"},[d(r?"button":"p",{class:["vp-sidebar-header",{clickable:r||c,exact:s.value,active:l.value}],...r?{type:"button",onClick:()=>t("toggle"),onKeydown:f=>{f.key==="Enter"&&t("toggle")}}:{}},[d(Ke,{icon:a}),c?d(et,{class:"vp-sidebar-title",config:{text:u,link:c},noExternalLinkIcon:!0}):d("span",{class:"vp-sidebar-title"},u),r?d("span",{class:["vp-arrow",e.open?"down":"end"]}):null]),e.open||!r?d(Vu,{key:o,config:i}):null])}}}),Vu=U({name:"SidebarLinks",props:{config:{type:Array,required:!0}},setup(e){const t=Jt(),n=Q(-1),l=s=>{n.value=s===n.value?-1:s};return ve(()=>t.path,()=>{const s=e.config.findIndex(r=>Du(t,r));n.value=s},{immediate:!0,flush:"post"}),()=>d("ul",{class:"vp-sidebar-links"},e.config.map((s,r)=>d("li",s.type==="group"?d(Gg,{config:s,open:r===n.value,onToggle:()=>l(r)}):d(Wg,{config:s}))))}}),Kg=U({name:"SideBar",slots:Object,setup(e,{slots:t}){const n=Jt(),l=ye(),s=vi(),r=De();return we(()=>{ve(()=>n.hash,i=>{const a=document.querySelector(`.vp-sidebar a.vp-sidebar-link[href="${n.path}${i}"]`);if(!a)return;const{top:o,height:c}=r.value.getBoundingClientRect(),{top:u,height:f}=a.getBoundingClientRect();u<o?a.scrollIntoView(!0):u+f>o+c&&a.scrollIntoView(!1)},{immediate:!0})}),()=>{var i,a,o;return d("aside",{ref:r,id:"sidebar",class:["vp-sidebar",{"hide-icon":l.value.sidebarIcon===!1}],key:"sidebar"},[(i=t.top)==null?void 0:i.call(t),((a=t.default)==null?void 0:a.call(t))||d(Vu,{config:s.value}),(o=t.bottom)==null?void 0:o.call(t)])}}}),ju=U({name:"CommonWrapper",props:{containerClass:{type:String,default:""},noNavbar:Boolean,noSidebar:Boolean,noToc:Boolean},slots:Object,setup(e,{slots:t}){const n=_n(),l=Se(),s=Ie(),r=ye(),{isMobile:i,isPC:a}=Ns(),[o,c]=kl(!1),[u,f]=kl(!1),h=vi(),p=Q(!1),m=x(()=>e.noNavbar||s.value.navbar===!1||r.value.navbar===!1?!1:!!(l.value.title||r.value.logo||r.value.repo||r.value.navbar)),b=x(()=>e.noSidebar?!1:s.value.sidebar!==!1&&h.value.length!==0&&!s.value.home),_=x(()=>e.noToc||s.value.home?!1:s.value.toc||r.value.toc!==!1&&s.value.toc!==!1),k={x:0,y:0},C=A=>{k.x=A.changedTouches[0].clientX,k.y=A.changedTouches[0].clientY},y=A=>{const N=A.changedTouches[0].clientX-k.x,R=A.changedTouches[0].clientY-k.y;Math.abs(N)>Math.abs(R)*1.5&&Math.abs(N)>40&&(N>0&&k.x<=80?c(!0):c(!1))},L=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;let O=0;return $e("scroll",Vv(()=>{const A=L();A<=58||A<O?p.value=!1:O+200<A&&!o.value&&(p.value=!0),O=A},300,!0)),ve(i,A=>{A||c(!1)}),we(()=>{const A=jc(document.body);ve(o,R=>{A.value=R});const N=n.afterEach(()=>{c(!1)});gn(()=>{A.value=!1,N()})}),()=>d(ft("GlobalEncrypt")?yt("GlobalEncrypt"):eu,()=>d("div",{class:["theme-container",{"no-navbar":!m.value,"no-sidebar":!b.value&&!(t.sidebar||t.sidebarTop||t.sidebarBottom),"has-toc":_.value,"hide-navbar":p.value,"sidebar-collapsed":!i.value&&!a.value&&u.value,"sidebar-open":i.value&&o.value},e.containerClass,s.value.containerClass||""],onTouchStart:C,onTouchEnd:y},[m.value?d(qg,{onToggleSidebar:()=>c()},{startBefore:()=>{var A;return(A=t.navbarStartBefore)==null?void 0:A.call(t)},startAfter:()=>{var A;return(A=t.navbarStartAfter)==null?void 0:A.call(t)},centerBefore:()=>{var A;return(A=t.navbarCenterBefore)==null?void 0:A.call(t)},centerAfter:()=>{var A;return(A=t.navbarCenterAfter)==null?void 0:A.call(t)},endBefore:()=>{var A;return(A=t.navbarEndBefore)==null?void 0:A.call(t)},endAfter:()=>{var A;return(A=t.navbarEndAfter)==null?void 0:A.call(t)},screenTop:()=>{var A;return(A=t.navScreenTop)==null?void 0:A.call(t)},screenBottom:()=>{var A;return(A=t.navScreenBottom)==null?void 0:A.call(t)}}):null,d(Yt,{name:"fade"},()=>o.value?d("div",{class:"vp-sidebar-mask",onClick:()=>c(!1)}):null),d(Yt,{name:"fade"},()=>i.value?null:d("div",{class:"toggle-sidebar-wrapper",onClick:()=>f()},d("span",{class:["arrow",u.value?"end":"start"]}))),d(Kg,{},{...t.sidebar?{default:()=>t.sidebar()}:{},top:()=>{var A;return(A=t.sidebarTop)==null?void 0:A.call(t)},bottom:()=>{var A;return(A=t.sidebarBottom)==null?void 0:A.call(t)}}),t.default(),d(Ng)]))}}),An=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=s=>{s.style.transition=`transform ${e.duration}s ease-in-out ${e.delay}s, opacity ${e.duration}s ease-in-out ${e.delay}s`,s.style.transform="translateY(-20px)",s.style.opacity="0"},l=s=>{s.style.transform="translateY(0)",s.style.opacity="1"};return()=>d(e.type==="single"?Yt:Ih,{name:"drop",appear:e.appear,onAppear:n,onAfterAppear:l,onEnter:n,onAfterEnter:l,onBeforeLeave:n},()=>t.default())}});const xr=({custom:e})=>d(Ec,{class:["theme-hope-content",{custom:e}]});xr.displayName="MarkdownContent",xr.props={custom:Boolean};var Bu=xr;const Hu=()=>d(Ne,{name:"author"},()=>d("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"}));Hu.displayName="AuthorIcon";const Uu=()=>d(Ne,{name:"calendar"},()=>d("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=()=>d(Ne,{name:"category"},()=>d("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=()=>d(Ne,{name:"print"},()=>d("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=()=>d(Ne,{name:"tag"},()=>d("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 Gu=()=>d(Ne,{name:"timer"},()=>d("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"}));Gu.displayName="TimerIcon";const Ku=()=>d(Ne,{name:"word"},()=>[d("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"}),d("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"})]);Ku.displayName="WordIcon";const tn=()=>{const e=ye();return x(()=>e.value.metaLocales)};var Yg=U({name:"AuthorInfo",inheritAttrs:!1,props:{author:{type:Array,required:!0},pure:Boolean},setup(e){const t=tn();return()=>e.author.length?d("span",{class:"page-author-info","aria-label":`${t.value.author}${e.pure?"":"🖊"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[d(Hu),d("span",e.author.map(n=>n.url?d("a",{class:"page-author-item",href:n.url,target:"_blank",rel:"noopener noreferrer"},n.name):d("span",{class:"page-author-item"},n.name))),d("span",{property:"author",content:e.author.map(n=>n.name).join(", ")})]):null}}),Qg=U({name:"CategoryInfo",inheritAttrs:!1,props:{category:{type:Array,required:!0},pure:Boolean},setup(e){const t=tn(),n=pi();return()=>e.category.length?d("span",{class:"page-category-info","aria-label":`${t.value.category}${e.pure?"":"🌈"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[d(zu),e.category.map(({name:l,path:s})=>d("span",{class:["page-category-item",{[`category${iu(l,9)}`]:!e.pure,clickable:s}],role:s?"navigation":"",onClick:()=>{s&&n(s)}},l)),d("meta",{property:"articleSection",content:e.category.map(({name:l})=>l).join(",")})]):null}}),Jg=U({name:"DateInfo",inheritAttrs:!1,props:{date:{type:Object,default:null},localizedDate:{type:String,default:""},pure:Boolean},setup(e){const t=si(),n=tn();return()=>e.date?d("span",{class:"page-date-info","aria-label":`${n.value.date}${e.pure?"":"📅"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[d(Uu),d("span",d(Ts,()=>e.localizedDate||e.date.toLocaleDateString(t.value))),d("meta",{property:"datePublished",content:e.date.toISOString()||""})]):null}}),Xg=U({name:"OriginalInfo",inheritAttrs:!1,props:{isOriginal:Boolean},setup(e){const t=tn();return()=>e.isOriginal?d("span",{class:"page-original-info"},t.value.origin):null}}),Zg=U({name:"ReadingTimeInfo",inheritAttrs:!1,props:{readingTime:{type:Object,default:()=>null},readingTimeLocale:{type:Object,default:()=>null},pure:Boolean},setup(e){const t=tn(),n=x(()=>{if(!e.readingTime)return null;const{minutes:l}=e.readingTime;return l<1?"PT1M":`PT${Math.round(l)}M`});return()=>{var l,s;return(l=e.readingTimeLocale)!=null&&l.time?d("span",{class:"page-reading-time-info","aria-label":`${t.value.readingTime}${e.pure?"":"⌛"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[d(Gu),d("span",(s=e.readingTimeLocale)==null?void 0:s.time),d("meta",{property:"timeRequired",content:n.value})]):null}}}),e0=U({name:"TagInfo",inheritAttrs:!1,props:{tag:{type:Array,default:()=>[]},pure:Boolean},setup(e){const t=tn(),n=pi();return()=>e.tag.length?d("span",{class:"page-tag-info","aria-label":`${t.value.tag}${e.pure?"":"🏷"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[d(Wu),e.tag.map(({name:l,path:s})=>d("span",{class:["page-tag-item",{[`tag${iu(l,9)}`]:!e.pure,clickable:s}],role:s?"navigation":"",onClick:()=>{s&&n(s)}},l)),d("meta",{property:"keywords",content:e.tag.map(({name:l})=>l).join(",")})]):null}}),t0=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,s;return(n=e.readingTimeLocale)!=null&&n.words?d("span",{class:"page-word-info","aria-label":`${t.value.words}${e.pure?"":"🔠"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[d(Ku),d("span",(l=e.readingTimeLocale)==null?void 0:l.words),d("meta",{property:"wordCount",content:(s=e.readingTime)==null?void 0:s.words})]):null}}}),n0=U({name:"PageInfo",components:{AuthorInfo:Yg,CategoryInfo:Qg,DateInfo:Jg,OriginalInfo:Xg,PageViewInfo:()=>null,ReadingTimeInfo:Zg,TagInfo:e0,WordInfo:t0},props:{items:{type:[Array,Boolean],default:()=>["Author","Original","Date","PageView","ReadingTime","Category","Tag"]},info:{type:Object,required:!0}},setup(e){const t=Dl();return()=>e.items?d("div",{class:"page-info"},e.items.map(n=>d(yt(`${n}Info`),{...e.info,pure:t.value}))):null}}),l0=U({name:"PrintButton",setup(){const e=en(),t=ye();return()=>e.value.print===!1?null:d("button",{type:"button",class:"print-button",title:t.value.metaLocales.print,onClick:()=>{window.print()}},d(qu))}}),s0=U({name:"TOC",props:{items:{type:Array,default:()=>[]},headerDepth:{type:Number,default:2}},slots:Object,setup(e,{slots:t}){const n=Jt(),l=Se(),s=tn(),[r,i]=kl(),a=De(),o=Q("-1.7rem"),c=f=>{var h;(h=a.value)==null||h.scrollTo({top:f,behavior:"smooth"})},u=()=>{if(a.value){const f=document.querySelector(".vp-toc-item.active");f?o.value=`${f.getBoundingClientRect().top-a.value.getBoundingClientRect().top+a.value.scrollTop}px`:o.value="-1.7rem"}else o.value="-1.7rem"};return we(()=>{ve(()=>n.hash,f=>{if(a.value){const h=document.querySelector(`#toc a.toc-link[href$="${f}"]`);if(!h)return;const{top:p,height:m}=a.value.getBoundingClientRect(),{top:b,height:_}=h.getBoundingClientRect();b<p?c(a.value.scrollTop+b-p):b+_>p+m&&c(a.value.scrollTop+b+_-p-m)}}),ve(()=>n.fullPath,u,{flush:"post",immediate:!0})}),()=>{var m,b;const f=({title:_,level:k,slug:C})=>d(Je,{to:`#${C}`,class:["vp-toc-link",`level${k}`],onClick:()=>{i()}},()=>_),h=(_,k)=>_.length&&k>0?d("ul",{class:"vp-toc-list"},_.map(C=>{const y=h(C.children,k-1);return[d("li",{class:["vp-toc-item",{active:n.hash===`#${C.slug}`}]},f(C)),y?d("li",y):null]})):null,p=e.items.length?h(e.items,e.headerDepth):l.value.headers?h(l.value.headers,e.headerDepth):null;return p?d("div",{class:"vp-toc-placeholder"},[d("aside",{id:"toc"},[(m=t.before)==null?void 0:m.call(t),d("div",{class:"vp-toc-header",onClick:()=>{i()}},[s.value.toc,d(l0),d("div",{class:["arrow",r.value?"down":"end"]})]),d("div",{class:["vp-toc-wrapper",r.value?"open":""],ref:a},[p,d("div",{class:"vp-toc-marker",style:{top:o.value}})]),(b=t.after)==null?void 0:b.call(t)])]):null}}}),Yu=U({name:"SkipLink",props:{content:{type:String,default:"main-content"}},setup(e){const t=Se(),n=ye(),l=De(),s=({target:r})=>{const i=document.querySelector(r.hash);if(i){const a=()=>{i.removeAttribute("tabindex"),i.removeEventListener("blur",a)};i.setAttribute("tabindex","-1"),i.addEventListener("blur",a),i.focus(),window.scrollTo(0,0)}};return we(()=>{ve(()=>t.value.path,()=>l.value.focus())}),()=>[d("span",{ref:l,tabindex:"-1"}),d("a",{href:`#${e.content}`,class:"vp-skip-link sr-only",onClick:s},n.value.routeLocales.skipToContent)]}});let nr=null,Zn=null;const r0={wait:()=>nr,pending:()=>{nr=new Promise(e=>{Zn=e})},resolve:()=>{Zn==null||Zn(),nr=null,Zn=null}},Qu=()=>r0;var Ju=U({name:"FadeSlideY",slots:Object,setup(e,{slots:t}){const{resolve:n,pending:l}=Qu();return()=>d(Yt,{name:"fade-slide-y",mode:"out-in",onBeforeEnter:n,onBeforeLeave:l},()=>{var s;return(s=t.default)==null?void 0:s.call(t)})}});const i0=(e,t)=>{const n=e.replace(t,"/").split("/"),l=[];let s=ei(t);return n.forEach((r,i)=>{i!==n.length-1?(s+=`${r}/`,l.push({link:s,name:r||"Home"})):r!==""&&(s+=r,l.push({link:s,name:r}))}),l},Xu=(e,{slots:t})=>{var f,h;const{bgImage:n,bgImageDark:l,bgImageStyle:s,color:r,description:i,image:a,imageDark:o,header:c,features:u=[]}=e;return d("div",{class:"vp-feature-wrapper"},[n?d("div",{class:["vp-feature-bg",{light:l}],style:[{"background-image":`url(${n})`},s]}):null,l?d("div",{class:"vp-feature-bg dark",style:[{"background-image":`url(${l})`},s]}):null,d("div",{class:"vp-feature",style:r?{color:r}:{}},[((f=t.image)==null?void 0:f.call(t,e))||[a?d("img",{class:["vp-feature-image",{light:o}],src:Ge(a),alt:""}):null,o?d("img",{class:"vp-feature-image dark",src:Ge(o),alt:""}):null],((h=t.info)==null?void 0:h.call(t,e))||[c?d("h2",{class:"vp-feature-header"},c):null,i?d("p",{class:"vp-feature-description",innerHTML:i}):null],u.length?d("div",{class:"vp-features"},u.map(({icon:p,title:m,details:b,link:_})=>{const k=[d("h3",{class:"vp-feature-title"},[d(Ke,{icon:p}),d("span",{innerHTML:m})]),d("p",{class:"vp-feature-details",innerHTML:b})];return _?Vn(_)?d("a",{class:"vp-feature-item link",href:_,"aria-label":m,target:"_blank"},k):d(Je,{class:"vp-feature-item link",to:_,"aria-label":m},()=>k):d("div",{class:"vp-feature-item"},k)})):null])])};Xu.displayName="FeaturePanel";var Ua=Xu,a0=U({name:"HeroInfo",slots:Object,setup(e,{slots:t}){const n=Ie(),l=xs(),s=x(()=>n.value.heroFullScreen??!1),r=x(()=>{const{heroText:c,tagline:u}=n.value;return{text:c??l.value.title??"Hello",tagline:u??l.value.description??"",isFullScreen:s.value}}),i=x(()=>{const{heroText:c,heroImage:u,heroImageDark:f,heroAlt:h,heroImageStyle:p}=n.value;return{image:u?Ge(u):null,imageDark:f?Ge(f):null,style:p,alt:h||c||"",isFullScreen:s.value}}),a=x(()=>{const{bgImage:c,bgImageDark:u,bgImageStyle:f}=n.value;return{image:Pe(c)?Ge(c):null,imageDark:Pe(u)?Ge(u):null,bgStyle:f,isFullScreen:s.value}}),o=x(()=>n.value.actions??[]);return()=>{var c,u,f;return d("header",{class:["vp-hero-info-wrapper",{fullscreen:s.value}]},[((c=t.heroBg)==null?void 0:c.call(t,a.value))||[a.value.image?d("div",{class:["vp-hero-mask",{light:a.value.imageDark}],style:[{"background-image":`url(${a.value.image})`},a.value.bgStyle]}):null,a.value.imageDark?d("div",{class:"vp-hero-mask dark",style:[{"background-image":`url(${a.value.imageDark})`},a.value.bgStyle]}):null],d("div",{class:"vp-hero-info"},[((u=t.heroImage)==null?void 0:u.call(t,i.value))||d(An,{appear:!0,type:"group"},()=>[i.value.image?d("img",{key:"light",class:["vp-hero-image",{light:i.value.imageDark}],style:i.value.style,src:i.value.image,alt:i.value.alt}):null,i.value.imageDark?d("img",{key:"dark",class:"vp-hero-image dark",style:i.value.style,src:i.value.imageDark,alt:i.value.alt}):null]),((f=t.heroInfo)==null?void 0:f.call(t,r.value))??d("div",{class:"vp-hero-infos"},[r.value.text?d(An,{appear:!0,delay:.04},()=>d("h1",{id:"main-title"},r.value.text)):null,r.value.tagline?d(An,{appear:!0,delay:.08},()=>d("p",{id:"main-description",innerHTML:r.value.tagline})):null,o.value.length?d(An,{appear:!0,delay:.12},()=>d("p",{class:"vp-hero-actions"},o.value.map(h=>d(et,{class:["vp-hero-action",h.type||"default"],config:h,noExternalLinkIcon:!0},h.icon?{before:()=>d(Ke,{icon:h.icon})}:{})))):null])])])}}});const Zu=(e,{slots:t})=>{var h,p,m;const{bgImage:n,bgImageDark:l,bgImageStyle:s,color:r,description:i,image:a,imageDark:o,header:c,highlights:u=[],type:f="un-order"}=e;return d("div",{class:"vp-highlight-wrapper",style:r?{color:r}:{}},[n?d("div",{class:["vp-highlight-bg",{light:l}],style:[{"background-image":`url(${n})`},s]}):null,l?d("div",{class:"vp-highlight-bg dark",style:[{"background-image":`url(${l})`},s]}):null,d("div",{class:"vp-highlight"},[((h=t.image)==null?void 0:h.call(t,e))||[a?d("img",{class:["vp-highlight-image",{light:o}],src:Ge(a),alt:""}):null,o?d("img",{class:"vp-highlight-image dark",src:Ge(o),alt:""}):null],((p=t.info)==null?void 0:p.call(t,e))||[d("div",{class:"vp-highlight-info-wrapper"},d("div",{class:"vp-highlight-info"},[c?d("h2",{class:"vp-highlight-header",innerHTML:c}):null,i?d("p",{class:"vp-highlight-description",innerHTML:i}):null,((m=t.highlights)==null?void 0:m.call(t,u))||d(f==="order"?"ol":f==="no-order"?"dl":"ul",{class:"vp-highlights"},u.map(({icon:b,title:_,details:k,link:C})=>{const y=[d(f==="no-order"?"dt":"h3",{class:"vp-highlight-title"},[b?d(Ke,{class:"vp-highlight-icon",icon:b}):null,d("span",{innerHTML:_})]),k?d(f==="no-order"?"dd":"p",{class:"vp-highlight-details",innerHTML:k}):null];return d(f==="no-order"?"div":"li",{class:["vp-highlight-item-wrapper",{link:C}]},C?Vn(C)?d("a",{class:"vp-highlight-item link",href:C,"aria-label":_,target:"_blank"},y):d(Je,{class:"vp-highlight-item link",to:C,"aria-label":_},()=>y):d("div",{class:"vp-highlight-item"},y))}))]))]])])};Zu.displayName="HighlightPanel";var o0=Zu,c0=U({name:"HomePage",slots:Object,setup(e,{slots:t}){const n=Dl(),l=Ie(),s=x(()=>{const{features:i}=l.value;return Er(i)?i:null}),r=x(()=>{const{highlights:i}=l.value;return Er(i)?i:null});return()=>{var i,a,o,c;return d("main",{id:"main-content",class:["vp-project-home ",{pure:n.value}],"aria-labelledby":l.value.heroText===null?"":"main-title"},[(i=t.top)==null?void 0:i.call(t),d(a0),((a=r.value)==null?void 0:a.map(u=>"features"in u?d(Ua,u):d(o0,u)))||(s.value?d(An,{appear:!0,delay:.24},()=>d(Ua,{features:s.value})):null),(o=t.center)==null?void 0:o.call(t),d(An,{appear:!0,delay:.32},()=>d(Bu)),(c=t.bottom)==null?void 0:c.call(t)])}}}),u0=U({name:"BreadCrumb",setup(){const e=Se(),t=Xt(),n=Ie(),l=ye(),s=De([]),r=x(()=>(n.value.breadcrumb||n.value.breadcrumb!==!1&&l.value.breadcrumb!==!1)&&s.value.length>1),i=x(()=>n.value.breadcrumbIcon||n.value.breadcrumbIcon!==!1&&l.value.breadcrumbIcon!==!1),a=()=>{const o=i0(e.value.path,t.value).map(({link:c,name:u})=>{const{path:f,meta:h,notFound:p}=Ss(c);return p||h[Ct.breadcrumbExclude]?null:{title:h[Ct.shortTitle]||h[Ct.title]||u,icon:h[Ct.icon],path:f}}).filter(c=>c!==null);o.length>1&&(s.value=o)};return we(()=>{ve(()=>e.value.path,a,{immediate:!0})}),()=>d("nav",{class:["vp-breadcrumb",{disable:!r.value}]},r.value?d("ol",{vocab:"https://schema.org/",typeof:"BreadcrumbList"},s.value.map((o,c)=>d("li",{class:{"is-active":s.value.length-1===c},property:"itemListElement",typeof:"ListItem"},[d(Je,{to:o.path,property:"item",typeof:"WebPage"},()=>[i.value?d(Ke,{icon:o.icon}):null,d("span",{property:"name"},o.title||"Unknown")]),d("meta",{property:"position",content:c+1})]))):[])}});const za=e=>e===!1||Gn(e)?e:Pe(e)?Fn(e,!0):null,Sr=(e,t,n)=>{const l=e.findIndex(s=>s.link===t);if(l!==-1){const s=e[l+n];return s!=null&&s.link?s:null}for(const s of e)if("children"in s){const r=Sr(s.children,t,n);if(r)return r}return null};var d0=U({name:"PageNav",setup(){const e=ye(),t=Ie(),n=vi(),l=Se(),s=pi(),r=x(()=>{const a=za(t.value.prev);return a===!1?null:a||(e.value.prevLink===!1?null:Sr(n.value,l.value.path,-1))}),i=x(()=>{const a=za(t.value.next);return a===!1?null:a||(e.value.nextLink===!1?null:Sr(n.value,l.value.path,1))});return $e("keydown",a=>{a.altKey&&(a.key==="ArrowRight"?i.value&&(s(i.value.link),a.preventDefault()):a.key==="ArrowLeft"&&r.value&&(s(r.value.link),a.preventDefault()))}),()=>r.value||i.value?d("nav",{class:"vp-page-nav"},[r.value?d(et,{class:"prev",config:r.value},()=>{var a,o;return[d("div",{class:"hint"},[d("span",{class:"arrow start"}),e.value.metaLocales.prev]),d("div",{class:"link"},[d(Ke,{icon:(a=r.value)==null?void 0:a.icon}),(o=r.value)==null?void 0:o.text])]}):null,i.value?d(et,{class:"next",config:i.value},()=>{var a,o;return[d("div",{class:"hint"},[e.value.metaLocales.next,d("span",{class:"arrow end"})]),d("div",{class:"link"},[(a=i.value)==null?void 0:a.text,d(Ke,{icon:(o=i.value)==null?void 0:o.icon})])]}):null]):null}});const f0={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"},h0=({docsRepo:e,docsBranch:t,docsDir:n,filePathRelative:l,editLinkPattern:s})=>{if(!l)return null;const r=cu(e);let i;return s?i=s:r!==null&&(i=f0[r]),i?i.replace(/:repo/u,yn(e)?e:`https://github.com/${e}`).replace(/:branch/u,t).replace(/:path/u,oc(`${ei(n)}/${l}`)):null},p0=()=>{const e=ye(),t=Se(),n=Ie();return x(()=>{const{repo:l,docsRepo:s=l,docsBranch:r="main",docsDir:i="",editLink:a,editLinkPattern:o=""}=e.value;if(!(n.value.editLink??a??!0)||!s)return null;const c=h0({docsRepo:s,docsBranch:r,docsDir:i,editLinkPattern:o,filePathRelative:t.value.filePathRelative});return c?{text:e.value.metaLocales.editLink,link:c}:null})},v0=()=>{const e=xs(),t=ye(),n=Se(),l=Ie();return x(()=>{var s,r;return!(l.value.lastUpdated??t.value.lastUpdated??!0)||!((s=n.value.git)!=null&&s.updatedTime)?null:new Date((r=n.value.git)==null?void 0:r.updatedTime).toLocaleString(e.value.lang)})},m0=()=>{const e=ye(),t=Se(),n=Ie();return x(()=>{var l;return n.value.contributors??e.value.contributors??!0?((l=t.value.git)==null?void 0:l.contributors)??null:null})};var g0=U({name:"PageTitle",setup(){const e=Se(),t=Ie(),n=ye(),{info:l,items:s}=kg();return()=>d("div",{class:"vp-page-title"},[d("h1",[n.value.titleIcon===!1?null:d(Ke,{icon:t.value.icon}),e.value.title]),d(n0,{info:l.value,...s.value===null?{}:{items:s.value}}),d("hr")])}});const ed=()=>d(Ne,{name:"edit"},()=>[d("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"}),d("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"})]);ed.displayName="EditIcon";var y0=U({name:"PageMeta",setup(){const e=ye(),t=p0(),n=v0(),l=m0();return()=>{const{metaLocales:s}=e.value;return d("footer",{class:"page-meta"},[t.value?d("div",{class:"meta-item edit-link"},d(et,{class:"label",config:t.value},{before:()=>d(ed)})):null,d("div",{class:"meta-item git-info"},[n.value?d("div",{class:"update-time"},[d("span",{class:"label"},`${s.lastUpdated}: `),d(Ts,()=>d("span",{class:"info"},n.value))]):null,l.value&&l.value.length?d("div",{class:"contributors"},[d("span",{class:"label"},`${s.contributors}: `),l.value.map(({email:r,name:i},a)=>[d("span",{class:"contributor",title:`email: ${r}`},i),a!==l.value.length-1?",":""])]):null])])}}}),_0=U({name:"NormalPage",slots:Object,setup(e,{slots:t}){const n=Ie(),{isDarkmode:l}=Vl(),s=ye(),r=x(()=>n.value.toc||n.value.toc!==!1&&s.value.toc!==!1);return()=>d("main",{id:"main-content",class:"vp-page"},d(ft("LocalEncrypt")?yt("LocalEncrypt"):eu,()=>{var i,a,o,c;return[(i=t.top)==null?void 0:i.call(t),n.value.cover?d("div",{class:"page-cover"},d("img",{src:Ge(n.value.cover),alt:"","no-view":""})):null,d(u0),d(g0),r.value?d(s0,{headerDepth:n.value.headerDepth??s.value.headerDepth??2},{before:()=>{var u;return(u=t.tocBefore)==null?void 0:u.call(t)},after:()=>{var u;return(u=t.tocAfter)==null?void 0:u.call(t)}}):null,(a=t.contentBefore)==null?void 0:a.call(t),d(Bu),(o=t.contentAfter)==null?void 0:o.call(t),d(y0),d(d0),ft("CommentService")?d(yt("CommentService"),{darkmode:l.value}):null,(c=t.bottom)==null?void 0:c.call(t)]}))}}),b0=U({name:"Layout",slots:Object,setup(e,{slots:t}){ye();const n=Se(),l=Ie(),{isMobile:s}=Ns(),r=x(()=>"none");return()=>[d(Yu),d(ju,{},{default:()=>{var i;return((i=t.default)==null?void 0:i.call(t))||(l.value.home?d(c0):d(Ju,()=>d(_0,{key:n.value.path},{top:()=>{var a;return(a=t.top)==null?void 0:a.call(t)},bottom:()=>{var a;return(a=t.bottom)==null?void 0:a.call(t)},contentBefore:()=>{var a;return(a=t.contentBefore)==null?void 0:a.call(t)},contentAfter:()=>{var a;return(a=t.contentAfter)==null?void 0:a.call(t)},tocBefore:()=>{var a;return(a=t.tocBefore)==null?void 0:a.call(t)},tocAfter:()=>{var a;return(a=t.tocAfter)==null?void 0:a.call(t)}})))},...r.value==="none"?{}:{navScreenBottom:()=>d(yt("BloggerInfo"))},...!s.value&&r.value==="always"?{sidebar:()=>d(yt("BloggerInfo"))}:{}})]}}),k0=U({name:"NotFoundHint",setup(){const e=ye(),t=()=>{const n=e.value.routeLocales.notFoundMsg;return n[Math.floor(Math.random()*n.length)]};return()=>d("div",{class:"not-found-hint"},[d("p",{class:"error-code"},"404"),d("h1",{class:"error-title"},e.value.routeLocales.notFoundTitle),d("p",{class:"error-hint"},t())])}}),w0=U({name:"NotFound",slots:Object,setup(e,{slots:t}){const n=_n(),l=Xt(),s=ye();return()=>[d(Yu),d(ju,{noSidebar:!0},()=>{var r;return d("main",{id:"main-content",class:"vp-page not-found"},((r=t.default)==null?void 0:r.call(t))||[d(k0),d("div",{class:"actions"},[d("button",{type:"button",class:"action-button",onClick:()=>{window.history.go(-1)}},s.value.routeLocales.back),d("button",{type:"button",class:"action-button",onClick:()=>{n.push(s.value.home??l.value)}},s.value.routeLocales.home)])])})]}});const td=()=>d(Ne,{name:"lock"},()=>d("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"}));td.displayName="LockIcon";var E0={};const kn="./ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),lr=Array.from({length:64},(e,t)=>t),es=e=>Array(e).fill(-1),Dt=[...es(46),0,1,...lr.slice(54,64),...es(7),...lr.slice(2,28),...es(6),...lr.slice(28,54),...es(5)],qa=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],Wa=[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],nd=[1332899944,1700884034,1701343084,1684370003,1668446532,1869963892],Tr=(e,t)=>{if(t<=0||t>e.length)throw Error(`Illegal len: ${t}`);let n=0,l,s;const r=[];for(;n<t;){if(l=e[n++]&255,r.push(kn[l>>2&63]),l=(l&3)<<4,n>=t){r.push(kn[l&63]);break}if(s=e[n++]&255,l|=s>>4&15,r.push(kn[l&63]),l=(s&15)<<2,n>=t){r.push(kn[l&63]);break}s=e[n++]&255,l|=s>>6&3,r.push(kn[l&63]),r.push(kn[s&63])}return r.join("")},C0=(e,t)=>{if(t<=0)throw Error(`Illegal len: ${t}`);const n=e.length;let l=0,s=0,r,i,a,o,c,u;const f=[];for(;l<n-1&&s<t&&(u=e.charCodeAt(l++),r=u<Dt.length?Dt[u]:-1,u=e.charCodeAt(l++),i=u<Dt.length?Dt[u]:-1,!(r==-1||i==-1||(c=r<<2>>>0,c|=(i&48)>>4,f.push(String.fromCharCode(c)),++s>=t||l>=n)||(u=e.charCodeAt(l++),a=u<Dt.length?Dt[u]:-1,a==-1)||(c=(i&15)<<4>>>0,c|=(a&60)>>2,f.push(String.fromCharCode(c)),++s>=t||l>=n)));)u=e.charCodeAt(l++),o=u<Dt.length?Dt[u]:-1,c=(a&3)<<6>>>0,c|=o,f.push(String.fromCharCode(c)),++s;return f.map(h=>h.charCodeAt(0))},L0=(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},A0=(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)},x0=(e,t)=>{A0(e,function(n){L0(n,t)})},S0=typeof process=="object"&&E0.NEXT_RUNTIME==="edge"?setTimeout:typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:setTimeout,T0=e=>{const t=[];let n=0;return x0(()=>n>=e.length?null:e.charCodeAt(n++),l=>{t.push(l)}),t},Cl=(e,t,n,l)=>{let s,r=e[t],i=e[t+1];return r^=n[0],s=l[r>>>24],s+=l[256|r>>16&255],s^=l[512|r>>8&255],s+=l[768|r&255],i^=s^n[1],s=l[i>>>24],s+=l[256|i>>16&255],s^=l[512|i>>8&255],s+=l[768|i&255],r^=s^n[2],s=l[r>>>24],s+=l[256|r>>16&255],s^=l[512|r>>8&255],s+=l[768|r&255],i^=s^n[3],s=l[i>>>24],s+=l[256|i>>16&255],s^=l[512|i>>8&255],s+=l[768|i&255],r^=s^n[4],s=l[r>>>24],s+=l[256|r>>16&255],s^=l[512|r>>8&255],s+=l[768|r&255],i^=s^n[5],s=l[i>>>24],s+=l[256|i>>16&255],s^=l[512|i>>8&255],s+=l[768|i&255],r^=s^n[6],s=l[r>>>24],s+=l[256|r>>16&255],s^=l[512|r>>8&255],s+=l[768|r&255],i^=s^n[7],s=l[i>>>24],s+=l[256|i>>16&255],s^=l[512|i>>8&255],s+=l[768|i&255],r^=s^n[8],s=l[r>>>24],s+=l[256|r>>16&255],s^=l[512|r>>8&255],s+=l[768|r&255],i^=s^n[9],s=l[i>>>24],s+=l[256|i>>16&255],s^=l[512|i>>8&255],s+=l[768|i&255],r^=s^n[10],s=l[r>>>24],s+=l[256|r>>16&255],s^=l[512|r>>8&255],s+=l[768|r&255],i^=s^n[11],s=l[i>>>24],s+=l[256|i>>16&255],s^=l[512|i>>8&255],s+=l[768|i&255],r^=s^n[12],s=l[r>>>24],s+=l[256|r>>16&255],s^=l[512|r>>8&255],s+=l[768|r&255],i^=s^n[13],s=l[i>>>24],s+=l[256|i>>16&255],s^=l[512|i>>8&255],s+=l[768|i&255],r^=s^n[14],s=l[r>>>24],s+=l[256|r>>16&255],s^=l[512|r>>8&255],s+=l[768|r&255],i^=s^n[15],s=l[i>>>24],s+=l[256|i>>16&255],s^=l[512|i>>8&255],s+=l[768|i&255],r^=s^n[16],e[t]=i^n[17],e[t+1]=r,e},Cn=(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}},Ga=(e,t,n)=>{const l=t.length,s=n.length;let r=0,i=[0,0],a;for(let o=0;o<l;o++)a=Cn(e,r),r=a.offp,t[o]=t[o]^a.key;for(let o=0;o<l;o+=2)i=Cl(i,0,t,n),t[o]=i[0],t[o+1]=i[1];for(let o=0;o<s;o+=2)i=Cl(i,0,t,n),n[o]=i[0],n[o+1]=i[1]},I0=(e,t,n,l)=>{const s=n.length,r=l.length;let i=0,a=[0,0],o;for(let c=0;c<s;c++)o=Cn(t,i),i=o.offp,n[c]=n[c]^o.key;i=0;for(let c=0;c<s;c+=2)o=Cn(e,i),i=o.offp,a[0]^=o.key,o=Cn(e,i),i=o.offp,a[1]^=o.key,a=Cl(a,0,n,l),n[c]=a[0],n[c+1]=a[1];for(let c=0;c<r;c+=2)o=Cn(e,i),i=o.offp,a[0]^=o.key,o=Cn(e,i),i=o.offp,a[1]^=o.key,a=Cl(a,0,n,l),l[c]=a[0],l[c+1]=a[1]},Ka=(e,t,n,l,s)=>{const r=nd.slice(),i=r.length;if(n<4||n>31){const h=new Error(`Illegal number of rounds (4-31): ${n}`);if(l===!1)return Promise.reject(h);throw h}if(t.length!==16){const h=new Error(`Illegal salt length: ${t.length} != 16`);if(l===!1)return Promise.reject(h);throw h}n=1<<n>>>0;let a,o,c=0,u;Int32Array?(a=new Int32Array(qa),o=new Int32Array(Wa)):(a=qa.slice(),o=Wa.slice()),I0(t,e,a,o);const f=()=>{if(s&&s(c/n),c<n){const h=Date.now();for(;c<n&&(c=c+1,Ga(e,a,o),Ga(t,a,o),!(Date.now()-h>100)););}else{for(c=0;c<64;c++)for(u=0;u<i>>1;u++)Cl(r,u<<1,a,o);const h=[];for(c=0;c<i;c++)h.push((r[c]>>24&255)>>>0),h.push((r[c]>>16&255)>>>0),h.push((r[c]>>8&255)>>>0),h.push((r[c]&255)>>>0);return l===!1?Promise.resolve(h):h}if(l===!1)return new Promise(h=>S0(()=>{f().then(h)}))};if(l===!1)return f();{let h;for(;;)if(typeof(h=f())<"u")return h||[]}},N0=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")}},P0=(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(Tr(N0(16),16)),t.join("")};function O0(e,t,n,l){if(typeof e!="string"||typeof t!="string"){const p=new Error("Invalid string / salt: Not a string");if(n===!1)return Promise.reject(p);throw p}let s,r;if(t.charAt(0)!=="$"||t.charAt(1)!=="2"){const p=new Error("Invalid salt version: "+t.substring(0,2));if(n===!1)return Promise.reject(p);throw p}if(t.charAt(2)==="$")s="\0",r=3;else{if(s=t.charAt(2),s!=="a"&&s!=="b"&&s!=="y"||t.charAt(3)!=="$"){const p=Error("Invalid salt revision: "+t.substring(2,4));if(n===!1)return Promise.reject(p);throw p}r=4}if(t.charAt(r+2)>"$"){const p=new Error("Missing salt rounds");if(n===!1)return Promise.reject(p);throw p}const i=parseInt(t.substring(r,r+1),10)*10,a=parseInt(t.substring(r+1,r+2),10),o=i+a,c=t.substring(r+3,r+25);e+=s>="a"?"\0":"";const u=T0(e),f=C0(c,16),h=p=>{const m=[];return m.push("$2"),s>="a"&&m.push(s),m.push("$"),o<10&&m.push("0"),m.push(o.toString()),m.push("$"),m.push(Tr(f,f.length)),m.push(Tr(p,nd.length*4-1)),m.join("")};return n===!1?Ka(u,f,o,!1,l).then(p=>h(p)):h(Ka(u,f,o,!0,l))}const R0=(e,t=10)=>{if(typeof t=="number"&&(t=P0(t)),typeof e!="string"||typeof t!="string")throw Error("Illegal arguments: "+typeof e+", "+typeof t);return O0(e,t,!0)},Ir=(e,t)=>{if(typeof e!="string"||typeof t!="string")throw Error("Illegal arguments: "+typeof e+", "+typeof t);return t.length!==60?!1:R0(e,t.substring(0,t.length-31))===t};var ld=U({name:"PasswordModal",props:{full:Boolean},emits:["verify"],setup(e,{emit:t}){const n=Ie(),l=ye(),s=Q(""),r=Q(!1),i=Q(!1),a=x(()=>l.value.encryptLocales);let o=null;const c=()=>{o&&clearTimeout(o),r.value=!1,t("verify",s.value,i.value),Qt().then(()=>{r.value=!0,o=setTimeout(()=>{r.value=!1},1e3)})};return()=>d("div",{class:["vp-decrypt-layer",{expand:e.full||n.value.home}]},d("div",{class:"vp-decrypt-modal"},[d("div",{class:["vp-decrypt-hint",{tried:r.value}]},r.value?a.value.errorHint:d(td,{"aria-label":a.value.iconLabel})),d("div",{class:"vp-decrypt-input"},[d("input",{type:"password",value:s.value,placeholder:a.value.placeholder,onInput:({target:u})=>{s.value=u.value},onKeydown:({key:u})=>{u==="Enter"&&c()}})]),d("div",{class:"vp-remember-password"},[d("input",{type:"checkbox",value:i.value,onChange:()=>i.value=!i.value}),a.value.remember]),d("button",{type:"button",class:"vp-decrypt-submit",onClick:()=>c()},"OK")]))}});const sd=()=>{const e=en();return x(()=>e.value.encrypt||{})},Ya="VUEPRESS_HOPE_GLOBAL_TOKEN",F0=()=>{const e=sd(),t=Yn(Ya,""),n=Bc(Ya,""),l=x(()=>{const{global:r=!1,admin:i=[]}=e.value;return r&&i.length>0}),s=x(()=>{if(l.value){if(t.value)return e.value.admin.some(r=>Ir(t.value,r));if(n.value)return e.value.admin.some(r=>Ir(n.value,r))}return!1});return{isEncrypted:l,isDecrypted:s,validate:(r,i=!1)=>{(i?t:n).value=r}}},sr=(e="",t)=>!!e&&Ir(e,t),Qa="VUEPRESS_HOPE_PATH_TOKEN",$0=()=>{const e=Se(),t=sd(),n=Yn(Qa,{}),l=Bc(Qa,{}),s=i=>Gn(t.value.config)?Zt(t.value.config).filter(a=>Hn(decodeURI(i),a)).sort((a,o)=>o.length-a.length):[],r=i=>{const a=s(i);if(a.length>0){const{config:o={}}=t.value;return{isEncrypted:!0,isDecrypted:a.some(c=>n.value[c]&&o[c].some(u=>sr(n.value[c],u))||l.value[c]&&o[c].some(u=>sr(l.value[c],u)))}}return{isDecrypted:!1,isEncrypted:!1}};return{status:x(()=>r(e.value.path)),getStatus:r,validate:(i,a=!1)=>{const{config:o={}}=t.value,c=s(e.value.path);for(const u of c)if(o[u].filter(f=>sr(i,f))){(a?n:l).value[u]=i;break}}}};var M0=U({name:"GlobalEncrypt",slots:Object,setup(e,{slots:t}){const{isDecrypted:n,isEncrypted:l,validate:s}=F0(),r=Q(!1);return we(()=>{r.value=!0}),()=>d(Ju,()=>l.value?r.value?n.value?t.default():d(ld,{full:!0,onVerify:s}):null:t.default())}}),D0=U({name:"LocalEncrypt",slots:Object,setup(e,{slots:t}){const{status:n,validate:l}=$0(),s=Q(!1);return we(()=>{s.value=!0}),()=>{const{isEncrypted:r,isDecrypted:i}=n.value;return r?s.value?i?t.default():d(ld,{full:!0,onVerify:l}):null:t.default()}}});dm(e=>{const t=e.t,n=e.I!==!1,l=e.i;return n?{title:t,content:l?()=>[d(Ke,{icon:l}),t]:null,order:e.O,index:e.I}:null});const V0=nt({enhance:({app:e,router:t})=>{const{scrollBehavior:n}=t.options;t.options.scrollBehavior=async(...l)=>(await Qu().wait(),n(...l)),Cg(e),e.component("HopeIcon",Ke),e.component("GlobalEncrypt",M0),e.component("LocalEncrypt",D0)},setup:()=>{Lg(),Ig()},layouts:{Layout:b0,NotFound:w0}}),j0=e=>(qn("data-v-3b58f839"),e=e(),Wn(),e),B0={class:"item-card"},H0={class:"item-name"},U0={class:"item-description"},z0={class:"item-bar"},q0=["href"],W0=j0(()=>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)),G0=[W0],K0=["href"],Y0=["src"],Q0={class:"author-name"},J0=U({__name:"ResItemCard",props:{item:Object},setup(e){const t=e;return(n,l)=>(Ze(),_t("div",B0,[ie("div",H0,Tt(t.item.name),1),ie("div",U0,Tt(t.item.description),1),ie("div",z0,[hn(' 三个可点击svg一个github一个下载一个可点击"https://github.com/{{ username }}.png?size=80"个人头像配上id'),ie("a",{href:t.item.link,class:""},G0,8,q0),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,Y0),ie("div",Q0,Tt(t.item.author),1)],8,K0)])])]))}}),nn=(e,t)=>{const n=e.__vccOpts||e;for(const[l,s]of t)n[l]=s;return n},X0=nn(J0,[["__scopeId","data-v-3b58f839"],["__file","ResItemCard.vue"]]),Z0=e=>(qn("data-v-002d38b2"),e=e(),Wn(),e),e3={class:"market"},t3=Z0(()=>ie("h1",null,"主题/资源商店",-1)),n3={class:"search-box-div"},l3={class:"items"},s3=U({__name:"ResStore",setup(e){let t=x(()=>l.value?n.value.filter(s=>s.name.toLowerCase().includes(l.value.toLowerCase())||s.description.toLowerCase().includes(l.value.toLowerCase())||s.author.toLowerCase().includes(l.value.toLowerCase())).reverse():n.value.reverse()),n=Q([]),l=Q("");return fetch("/assets/resources.json").then(s=>s.json()).then(s=>{n.value=s}).catch(s=>console.error(s)),(s,r)=>(Ze(),_t("div",e3,[t3,ie("div",n3,[Po(ie("input",{class:"item-search-box",type:"text",placeholder:"搜索资源","onUpdate:modelValue":r[0]||(r[0]=i=>Oe(l)?l.value=i:l=i)},null,512),[[rc,Xe(l)]])]),ie("div",l3,[hn(" 使用filteredItems来布局商品 "),(Ze(!0),_t(He,null,Yr(Xe(t),i=>(Ze(),Xr(X0,{key:i.id,item:i},null,8,["item"]))),128))])]))}}),r3=nn(s3,[["__scopeId","data-v-002d38b2"],["__file","ResStore.vue"]]);var i3=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function a3(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var rd={exports:{}};/*!
* clipboard.js v2.0.11
* https://clipboardjs.com/
*
* Licensed MIT © Zeno Rocha
*/(function(e,t){(function(l,s){e.exports=s()})(i3,function(){return function(){var n={686:function(r,i,a){a.d(i,{default:function(){return Ye}});var o=a(279),c=a.n(o),u=a(370),f=a.n(u),h=a(817),p=a.n(h);function m(ee){try{return document.execCommand(ee)}catch{return!1}}var b=function(z){var K=p()(z);return m("cut"),K},_=b;function k(ee){var z=document.documentElement.getAttribute("dir")==="rtl",K=document.createElement("textarea");K.style.fontSize="12pt",K.style.border="0",K.style.padding="0",K.style.margin="0",K.style.position="absolute",K.style[z?"right":"left"]="-9999px";var ne=window.pageYOffset||document.documentElement.scrollTop;return K.style.top="".concat(ne,"px"),K.setAttribute("readonly",""),K.value=ee,K}var C=function(z,K){var ne=k(z);K.container.appendChild(ne);var X=p()(ne);return m("copy"),ne.remove(),X},y=function(z){var K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},ne="";return typeof z=="string"?ne=C(z,K):z instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(z==null?void 0:z.type)?ne=C(z.value,K):(ne=p()(z),m("copy")),ne},L=y;function O(ee){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(K){return typeof K}:O=function(K){return K&&typeof Symbol=="function"&&K.constructor===Symbol&&K!==Symbol.prototype?"symbol":typeof K},O(ee)}var A=function(){var z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},K=z.action,ne=K===void 0?"copy":K,X=z.container,w=z.target,V=z.text;if(ne!=="copy"&&ne!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(w!==void 0)if(w&&O(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(V)return L(V,{container:X});if(w)return ne==="cut"?_(w):L(w,{container:X})},N=A;function R(ee){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?R=function(K){return typeof K}:R=function(K){return K&&typeof Symbol=="function"&&K.constructor===Symbol&&K!==Symbol.prototype?"symbol":typeof K},R(ee)}function J(ee,z){if(!(ee instanceof z))throw new TypeError("Cannot call a class as a function")}function P(ee,z){for(var K=0;K<z.length;K++){var ne=z[K];ne.enumerable=ne.enumerable||!1,ne.configurable=!0,"value"in ne&&(ne.writable=!0),Object.defineProperty(ee,ne.key,ne)}}function q(ee,z,K){return z&&P(ee.prototype,z),K&&P(ee,K),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&&se(ee,z)}function se(ee,z){return se=Object.setPrototypeOf||function(ne,X){return ne.__proto__=X,ne},se(ee,z)}function Ee(ee){var z=ae();return function(){var ne=G(ee),X;if(z){var w=G(this).constructor;X=Reflect.construct(ne,arguments,w)}else X=ne.apply(this,arguments);return be(this,X)}}function be(ee,z){return z&&(R(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 ae(){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 G(ee){return G=Object.setPrototypeOf?Object.getPrototypeOf:function(K){return K.__proto__||Object.getPrototypeOf(K)},G(ee)}function Ae(ee,z){var K="data-clipboard-".concat(ee);if(z.hasAttribute(K))return z.getAttribute(K)}var rt=function(ee){$(K,ee);var z=Ee(K);function K(ne,X){var w;return J(this,K),w=z.call(this),w.resolveOptions(X),w.listenClick(ne),w}return q(K,[{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=R(X.container)==="object"?X.container:document.body}},{key:"listenClick",value:function(X){var w=this;this.listener=f()(X,"click",function(V){return w.onClick(V)})}},{key:"onClick",value:function(X){var w=X.delegateTarget||X.currentTarget,V=this.action(w)||"copy",j=N({action:V,container:this.container,target:this.target(w),text:this.text(w)});this.emit(j?"success":"error",{action:V,text:j,trigger:w,clearSelection:function(){w&&w.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(X){return Ae("action",X)}},{key:"defaultTarget",value:function(X){var w=Ae("target",X);if(w)return document.querySelector(w)}},{key:"defaultText",value:function(X){return Ae("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 L(X,w)}},{key:"cut",value:function(X){return _(X)}},{key:"isSupported",value:function(){var X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],w=typeof X=="string"?[X]:X,V=!!document.queryCommandSupported;return w.forEach(function(j){V=V&&!!document.queryCommandSupported(j)}),V}}]),K}(c()),Ye=rt},828:function(r){var i=9;if(typeof Element<"u"&&!Element.prototype.matches){var a=Element.prototype;a.matches=a.matchesSelector||a.mozMatchesSelector||a.msMatchesSelector||a.oMatchesSelector||a.webkitMatchesSelector}function o(c,u){for(;c&&c.nodeType!==i;){if(typeof c.matches=="function"&&c.matches(u))return c;c=c.parentNode}}r.exports=o},438:function(r,i,a){var o=a(828);function c(h,p,m,b,_){var k=f.apply(this,arguments);return h.addEventListener(m,k,_),{destroy:function(){h.removeEventListener(m,k,_)}}}function u(h,p,m,b,_){return typeof h.addEventListener=="function"?c.apply(null,arguments):typeof m=="function"?c.bind(null,document).apply(null,arguments):(typeof h=="string"&&(h=document.querySelectorAll(h)),Array.prototype.map.call(h,function(k){return c(k,p,m,b,_)}))}function f(h,p,m,b){return function(_){_.delegateTarget=o(_.target,p),_.delegateTarget&&b.call(h,_)}}r.exports=u},879:function(r,i){i.node=function(a){return a!==void 0&&a instanceof HTMLElement&&a.nodeType===1},i.nodeList=function(a){var o=Object.prototype.toString.call(a);return a!==void 0&&(o==="[object NodeList]"||o==="[object HTMLCollection]")&&"length"in a&&(a.length===0||i.node(a[0]))},i.string=function(a){return typeof a=="string"||a instanceof String},i.fn=function(a){var o=Object.prototype.toString.call(a);return o==="[object Function]"}},370:function(r,i,a){var o=a(879),c=a(438);function u(m,b,_){if(!m&&!b&&!_)throw new Error("Missing required arguments");if(!o.string(b))throw new TypeError("Second argument must be a String");if(!o.fn(_))throw new TypeError("Third argument must be a Function");if(o.node(m))return f(m,b,_);if(o.nodeList(m))return h(m,b,_);if(o.string(m))return p(m,b,_);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function f(m,b,_){return m.addEventListener(b,_),{destroy:function(){m.removeEventListener(b,_)}}}function h(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 p(m,b,_){return c(document.body,m,b,_)}r.exports=u},817:function(r){function i(a){var o;if(a.nodeName==="SELECT")a.focus(),o=a.value;else if(a.nodeName==="INPUT"||a.nodeName==="TEXTAREA"){var c=a.hasAttribute("readonly");c||a.setAttribute("readonly",""),a.select(),a.setSelectionRange(0,a.value.length),c||a.removeAttribute("readonly"),o=a.value}else{a.hasAttribute("contenteditable")&&a.focus();var u=window.getSelection(),f=document.createRange();f.selectNodeContents(a),u.removeAllRanges(),u.addRange(f),o=u.toString()}return o}r.exports=i},279:function(r){function i(){}i.prototype={on:function(a,o,c){var u=this.e||(this.e={});return(u[a]||(u[a]=[])).push({fn:o,ctx:c}),this},once:function(a,o,c){var u=this;function f(){u.off(a,f),o.apply(c,arguments)}return f._=o,this.on(a,f,c)},emit:function(a){var o=[].slice.call(arguments,1),c=((this.e||(this.e={}))[a]||[]).slice(),u=0,f=c.length;for(u;u<f;u++)c[u].fn.apply(c[u].ctx,o);return this},off:function(a,o){var c=this.e||(this.e={}),u=c[a],f=[];if(u&&o)for(var h=0,p=u.length;h<p;h++)u[h].fn!==o&&u[h].fn._!==o&&f.push(u[h]);return f.length?c[a]=f:delete c[a],this}},r.exports=i,r.exports.TinyEmitter=i}},l={};function s(r){if(l[r])return l[r].exports;var i=l[r]={exports:{}};return n[r](i,i.exports,s),i.exports}return function(){s.n=function(r){var i=r&&r.__esModule?function(){return r.default}:function(){return r};return s.d(i,{a:i}),i}}(),function(){s.d=function(r,i){for(var a in i)s.o(i,a)&&!s.o(r,a)&&Object.defineProperty(r,a,{enumerable:!0,get:i[a]})}}(),function(){s.o=function(r,i){return Object.prototype.hasOwnProperty.call(r,i)}}(),s(686)}().default})})(rd);var o3=rd.exports;const c3=a3(o3),u3=e=>(qn("data-v-e77bc89b"),e=e(),Wn(),e),d3={class:"item-card"},f3={class:"item-name"},h3={class:"item-description"},p3={class:"tags"},v3={class:"item-bar"},m3=["href"],g3=u3(()=>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)),y3=[g3],_3={class:"btn"},b3=["href"],k3=["src"],w3={class:"author-name"},E3=U({__name:"PluginItemCard",props:{item:Object},setup(e){const t=e,n=()=>{const s=new c3(".copy-btn",{text:()=>`npm install ${t.item.module_name}`});s.on("success",()=>{}),s.on("error",()=>{})},l=s=>{const r=s.replace(/^#/,""),[i,a,o]=r.match(/.{2}/g).map(u=>parseInt(u,16)),c=(i*299+a*587+o*114)/1e3;return{backgroundColor:s,color:c>128?"#000":"#fff"}};return(s,r)=>(Ze(),_t("div",d3,[ie("div",f3,Tt(t.item.name),1),ie("div",h3,Tt(t.item.desc),1),ie("div",p3,[(Ze(!0),_t(He,null,Yr(t.item.tags,i=>(Ze(),_t("span",{class:"tag",key:i,style:ms(l(i.color))},Tt(i.label),5))),128))]),ie("div",v3,[hn(' 三个可点击svg一个github一个下载一个可点击"https://github.com/{{ username }}.png?size=80"个人头像配上id'),ie("a",{href:t.item.homepage,class:"btn"},y3,8,m3),hn(' <button class="copy-btn btn"><div @click="copyToClipboard">安装</div></button> 点击后把安装命令写入剪贴板'),ie("button",{class:"btn copy-btn",onClick:n},"复制安装命令"),ie("div",_3,[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,k3),ie("div",w3,Tt(t.item.author),1)],8,b3)]),hn(" 复制键复制安装命令npm install props.item.module_name")])]))}}),C3=nn(E3,[["__scopeId","data-v-e77bc89b"],["__file","PluginItemCard.vue"]]),L3=e=>(qn("data-v-e32ac85f"),e=e(),Wn(),e),A3={class:"switch"},x3=["checked"],S3=L3(()=>ie("span",{class:"slider round"},null,-1)),T3=U({__name:"ToggleSwitch",props:{modelValue:Boolean},emits:["update:modelValue"],setup(e,{emit:t}){const n=t,l=s=>{n("update:modelValue",s)};return(s,r)=>(Ze(),_t("label",A3,[ie("input",{type:"checkbox",checked:e.modelValue,onChange:r[0]||(r[0]=i=>l(i.target.checked))},null,40,x3),S3]))}}),I3=nn(T3,[["__scopeId","data-v-e32ac85f"],["__file","ToggleSwitch.vue"]]),id=e=>(qn("data-v-1e86502c"),e=e(),Wn(),e),N3={class:"market"},P3=id(()=>ie("h1",null,"插件商店",-1)),O3=id(()=>ie("p",null,[gl("内容来自轻雪商店及"),ie("a",{href:"https://nonebot.dev/store/plugins"},"NoneBot插件商店"),gl("轻雪通过nonebot插件实现兼容NoneBot在此仅作引用具体请访问NoneBot插件商店")],-1)),R3={class:"search-box-div"},F3={class:"items"},$3=U({__name:"PluginStore",setup(e){let t=Q(!1),n=x(()=>{let r=l.value;return s.value&&(r=r.filter(i=>i.name.toLowerCase().includes(s.value.toLowerCase())||i.desc.toLowerCase().includes(s.value.toLowerCase())||i.author.toLowerCase().includes(s.value.toLowerCase())||i.module_name.toLowerCase().includes(s.value.toLowerCase()))),t.value&&(r=r.filter(i=>i.is_liteyuki_plugin)),r}),l=Q([]),s=Q("");return fetch("/assets/plugins.json").then(r=>r.json()).then(r=>{r.forEach(i=>{i.is_liteyuki_plugin=!0}),l.value=r}).catch(r=>console.error(r)),fetch("https://registry.nonebot.dev/plugins.json").then(r=>r.json()).then(r=>{r.forEach(i=>{i.is_official=!1}),l.value=l.value.concat(r)}),(r,i)=>(Ze(),_t("div",N3,[P3,O3,hn(" 搜索框"),ie("div",R3,[Po(ie("input",{class:"item-search-box",type:"text",placeholder:"搜索插件","onUpdate:modelValue":i[0]||(i[0]=a=>Oe(s)?s.value=a:s=a)},null,512),[[rc,Xe(s)]]),Te(I3,{modelValue:Xe(t),"onUpdate:modelValue":i[1]||(i[1]=a=>Oe(t)?t.value=a:t=a)},null,8,["modelValue"]),gl("仅轻雪插件 ")]),ie("div",F3,[hn(" 使用filteredItems来布局商品 "),(Ze(!0),_t(He,null,Yr(Xe(n),a=>(Ze(),Xr(C3,{key:a.id,item:a},null,8,["item"]))),128))])]))}}),M3=nn($3,[["__scopeId","data-v-1e86502c"],["__file","PluginStore.vue"]]),D3={class:"info-box"},V3=ie("h1",null,"Dashboard",-1),j3={class:"info"},B3={class:"info-item"},H3=ie("h2",null,"Total",-1),U3={class:"info-item"},z3=ie("h2",null,"Online",-1),q3=U({__name:"Dash",setup(e){let t=Q(0),n=Q(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,s)=>(Ze(),_t("div",D3,[V3,ie("div",j3,[ie("div",B3,[H3,ie("p",null,Tt(Xe(t)),1)]),ie("div",U3,[z3,ie("p",null,Tt(Xe(n)),1)])])]))}}),W3=nn(q3,[["__file","Dash.vue"]]),G3={};function K3(e,t){return null}const Y3=nn(G3,[["render",K3],["__file","Home.vue"]]),Q3={},ad=e=>(qn("data-v-ab5c02e3"),e=e(),Wn(),e),J3=ad(()=>ie("div",{style:{"text-align":"center"}},[ie("h2",null,"地理分布"),ie("p",null,"数据来源于Liteyuki API")],-1)),X3=ad(()=>ie("div",{id:"main-chart",style:{width:"100%",height:"600px"}},null,-1)),Z3=[J3,X3];function e2(e,t){return Ze(),_t("div",null,Z3)}const t2=nn(Q3,[["render",e2],["__scopeId","data-v-ab5c02e3"],["__file","Geo.vue"]]),n2=nt({enhance:({app:e,router:t,siteData:n})=>{e.component("homeComp",Y3),e.component("dashComp",W3),e.component("resourceStoreComp",r3),e.component("pluginStoreComp",M3),e.component("geoComp",t2)}}),ts=[uv,sm,um,mm,_m,Em,xm,Pm,jm,Jm,O1,G1,ug,V0,n2],l2=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 tl=De(l2),s2=Tp,r2=()=>{const e=tv({history:s2(ei("/")),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===St){const l=Ss(t.path);if(l.path!==t.path)return l.path;const s=await l.loader();t.meta={...l.meta,_pageChunk:s}}else t.path===n.path&&(t.meta=n.meta)}),e},i2=e=>{e.component("ClientOnly",Ts),e.component("Content",Ec),e.component("RouteLink",Je)},a2=(e,t,n)=>{const l=x(()=>t.currentRoute.value.path),s=zr((_,k)=>({get(){return _(),t.currentRoute.value.meta._pageChunk},set(C){t.currentRoute.value.meta._pageChunk=C,k()}})),r=x(()=>rn.resolveLayouts(n)),i=x(()=>rn.resolveRouteLocale(tl.value.locales,l.value)),a=x(()=>rn.resolveSiteLocaleData(tl.value,i.value)),o=x(()=>s.value.comp),c=x(()=>s.value.data),u=x(()=>c.value.frontmatter),f=x(()=>rn.resolvePageHeadTitle(c.value,a.value)),h=x(()=>rn.resolvePageHead(f.value,u.value,a.value)),p=x(()=>rn.resolvePageLang(c.value,a.value)),m=x(()=>rn.resolvePageLayout(c.value,r.value)),b={layouts:r,pageData:c,pageComponent:o,pageFrontmatter:u,pageHead:h,pageHeadTitle:f,pageLang:p,pageLayout:m,redirects:_r,routeLocale:i,routePath:l,routes:bl,siteData:tl,siteLocaleData:a};return e.provide(li,b),Object.defineProperties(e.config.globalProperties,{$frontmatter:{get:()=>u.value},$head:{get:()=>h.value},$headTitle:{get:()=>f.value},$lang:{get:()=>p.value},$page:{get:()=>c.value},$routeLocale:{get:()=>i.value},$site:{get:()=>tl.value},$siteLocale:{get:()=>a.value},$withBase:{get:()=>Ge}}),b},o2=()=>{const e=sv(),t=si();let n=[];const l=()=>{e.value.forEach(i=>{const a=c2(i);a&&n.push(a)})},s=()=>{const i=[];return e.value.forEach(a=>{const o=u2(a);o&&i.push(o)}),i},r=()=>{document.documentElement.lang=t.value;const i=s();n.forEach((a,o)=>{const c=i.findIndex(u=>a.isEqualNode(u));c===-1?(a.remove(),delete n[o]):i.splice(c,1)}),i.forEach(a=>document.head.appendChild(a)),n=[...n.filter(a=>!!a),...i]};Pn(iv,r),we(()=>{l(),ve(e,r,{immediate:!1})})},c2=([e,t,n=""])=>{const l=Object.entries(t).map(([a,o])=>Pe(o)?`[${a}=${JSON.stringify(o)}]`:o===!0?`[${a}]`:"").join(""),s=`head > ${e}${l}`;return Array.from(document.querySelectorAll(s)).find(a=>a.innerText===n)||null},u2=([e,t,n])=>{if(!Pe(e))return null;const l=document.createElement(e);return Gn(t)&&Object.entries(t).forEach(([s,r])=>{Pe(r)?l.setAttribute(s,r):r===!0&&l.setAttribute(s,"")}),Pe(n)&&l.appendChild(document.createTextNode(n)),l},d2=Dh,f2=async()=>{var n;const e=d2({name:"Vuepress",setup(){var r;o2();for(const i of ts)(r=i.setup)==null||r.call(i);const l=ts.flatMap(({rootComponents:i=[]})=>i.map(a=>d(a))),s=rv();return()=>[d(s.value),l]}}),t=r2();i2(e),a2(e,t,ts);for(const l of ts)await((n=l.enhance)==null?void 0:n.call(l,{app:e,router:t,siteData:tl}));return e.use(t),{app:e,router:t}};f2().then(({app:e,router:t})=>{t.isReady().then(()=>{e.mount("#app")})});export{nn as _,Te as a,ie as b,_t as c,f2 as createVueApp,gl as d,h2 as e,Ze as o,yt as r,nf as w};