1
0
forked from bot/app
LiteyukiBot/assets/app-CJPXxRru.js

46 lines
260 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 $s(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}const Ce={},Tn=[],at=()=>{},of=()=>!1,Er=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Os=e=>e.startsWith("onUpdate:"),Pe=Object.assign,Ps=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},sf=Object.prototype.hasOwnProperty,pe=(e,t)=>sf.call(e,t),oe=Array.isArray,An=e=>vo(e)==="[object Map]",Ji=e=>vo(e)==="[object Set]",ae=e=>typeof e=="function",Re=e=>typeof e=="string",zn=e=>typeof e=="symbol",_e=e=>e!==null&&typeof e=="object",Qi=e=>(_e(e)||ae(e))&&ae(e.then)&&ae(e.catch),Xi=Object.prototype.toString,vo=e=>Xi.call(e),lf=e=>vo(e).slice(8,-1),Zi=e=>vo(e)==="[object Object]",Rs=e=>Re(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ln=$s(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),mo=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},af=/-(\w)/g,dt=mo(e=>e.replace(af,(t,n)=>n?n.toUpperCase():"")),cf=/\B([A-Z])/g,Un=mo(e=>e.replace(cf,"-$1").toLowerCase()),Cr=mo(e=>e.charAt(0).toUpperCase()+e.slice(1)),$o=mo(e=>e?`on${Cr(e)}`:""),Wt=(e,t)=>!Object.is(e,t),to=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},oo=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ss=e=>{const t=parseFloat(e);return isNaN(t)?e:t},uf=e=>{const t=Re(e)?Number(e):NaN;return isNaN(t)?e:t};let bl;const ea=()=>bl||(bl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ms(e){if(oe(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=Re(r)?hf(r):Ms(r);if(o)for(const s in o)t[s]=o[s]}return t}else if(Re(e)||_e(e))return e}const ff=/;(?![^(]*\))/g,df=/:([^]+)/,pf=/\/\*[^]*?\*\//g;function hf(e){const t={};return e.replace(pf,"").split(ff).forEach(n=>{if(n){const r=n.split(df);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Ns(e){let t="";if(Re(e))t=e;else if(oe(e))for(let n=0;n<e.length;n++){const r=Ns(e[n]);r&&(t+=r+" ")}else if(_e(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const vf="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",mf=$s(vf);function ta(e){return!!e||e===""}const zt=e=>Re(e)?e:e==null?"":oe(e)||_e(e)&&(e.toString===Xi||!ae(e.toString))?JSON.stringify(e,na,2):String(e),na=(e,t)=>t&&t.__v_isRef?na(e,t.value):An(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[Oo(r,s)+" =>"]=o,n),{})}:Ji(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Oo(n))}:zn(t)?Oo(t):_e(t)&&!oe(t)&&!Zi(t)?String(t):t,Oo=(e,t="")=>{var n;return zn(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
* @vue/reactivity v3.4.21
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let nt;class gf{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=nt,!t&&nt&&(this.index=(nt.scopes||(nt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=nt;try{return nt=this,t()}finally{nt=n}}}on(){nt=this}off(){nt=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function yf(e,t=nt){t&&t.active&&t.effects.push(e)}function ra(){return nt}function bf(e){nt&&nt.cleanups.push(e)}let sn;class Ds{constructor(t,n,r,o){this.fn=t,this.trigger=n,this.scheduler=r,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,yf(this,o)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,un();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(_f(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),fn()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Ut,n=sn;try{return Ut=!0,sn=this,this._runnings++,_l(this),this.fn()}finally{wl(this),this._runnings--,sn=n,Ut=t}}stop(){var t;this.active&&(_l(this),wl(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function _f(e){return e.value}function _l(e){e._trackId++,e._depsLength=0}function wl(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)oa(e.deps[t],e);e.deps.length=e._depsLength}}function oa(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let Ut=!0,ls=0;const sa=[];function un(){sa.push(Ut),Ut=!1}function fn(){const e=sa.pop();Ut=e===void 0?!0:e}function js(){ls++}function Fs(){for(ls--;!ls&&is.length;)is.shift()()}function la(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&oa(r,e),e.deps[e._depsLength++]=t):e._depsLength++}}const is=[];function ia(e,t,n){js();for(const r of e.keys()){let o;r._dirtyLevel<t&&(o??(o=e.get(r)===r._trackId))&&(r._shouldSchedule||(r._shouldSchedule=r._dirtyLevel===0),r._dirtyLevel=t),r._shouldSchedule&&(o??(o=e.get(r)===r._trackId))&&(r.trigger(),(!r._runnings||r.allowRecurse)&&r._dirtyLevel!==2&&(r._shouldSchedule=!1,r.scheduler&&is.push(r.scheduler)))}Fs()}const aa=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},so=new WeakMap,ln=Symbol(""),as=Symbol("");function Ze(e,t,n){if(Ut&&sn){let r=so.get(e);r||so.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=aa(()=>r.delete(n))),la(sn,o)}}function Lt(e,t,n,r,o,s){const l=so.get(e);if(!l)return;let i=[];if(t==="clear")i=[...l.values()];else if(n==="length"&&oe(e)){const a=Number(r);l.forEach((c,u)=>{(u==="length"||!zn(u)&&u>=a)&&i.push(c)})}else switch(n!==void 0&&i.push(l.get(n)),t){case"add":oe(e)?Rs(n)&&i.push(l.get("length")):(i.push(l.get(ln)),An(e)&&i.push(l.get(as)));break;case"delete":oe(e)||(i.push(l.get(ln)),An(e)&&i.push(l.get(as)));break;case"set":An(e)&&i.push(l.get(ln));break}js();for(const a of i)a&&ia(a,4);Fs()}function wf(e,t){var n;return(n=so.get(e))==null?void 0:n.get(t)}const Ef=$s("__proto__,__v_isRef,__isVue"),ca=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(zn)),El=Cf();function Cf(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=ue(this);for(let s=0,l=this.length;s<l;s++)Ze(r,"get",s+"");const o=r[t](...n);return o===-1||o===!1?r[t](...n.map(ue)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){un(),js();const r=ue(this)[t].apply(this,n);return Fs(),fn(),r}}),e}function xf(e){const t=ue(this);return Ze(t,"has",e),t.hasOwnProperty(e)}class ua{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const o=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(o?s?Df:ha:s?pa:da).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const l=oe(t);if(!o){if(l&&pe(El,n))return Reflect.get(El,n,r);if(n==="hasOwnProperty")return xf}const i=Reflect.get(t,n,r);return(zn(n)?ca.has(n):Ef(n))||(o||Ze(t,"get",n),s)?i:Me(i)?l&&Rs(n)?i:i.value:_e(i)?o?Sr(i):xr(i):i}}class fa extends ua{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];if(!this._isShallow){const a=Nn(s);if(!lo(r)&&!Nn(r)&&(s=ue(s),r=ue(r)),!oe(t)&&Me(s)&&!Me(r))return a?!1:(s.value=r,!0)}const l=oe(t)&&Rs(n)?Number(n)<t.length:pe(t,n),i=Reflect.set(t,n,r,o);return t===ue(o)&&(l?Wt(r,s)&&Lt(t,"set",n,r):Lt(t,"add",n,r)),i}deleteProperty(t,n){const r=pe(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&Lt(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!zn(n)||!ca.has(n))&&Ze(t,"has",n),r}ownKeys(t){return Ze(t,"iterate",oe(t)?"length":ln),Reflect.ownKeys(t)}}class Sf extends ua{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const kf=new fa,Tf=new Sf,Af=new fa(!0),Bs=e=>e,go=e=>Reflect.getPrototypeOf(e);function Fr(e,t,n=!1,r=!1){e=e.__v_raw;const o=ue(e),s=ue(t);n||(Wt(t,s)&&Ze(o,"get",t),Ze(o,"get",s));const{has:l}=go(o),i=r?Bs:n?zs:cr;if(l.call(o,t))return i(e.get(t));if(l.call(o,s))return i(e.get(s));e!==o&&e.get(t)}function Br(e,t=!1){const n=this.__v_raw,r=ue(n),o=ue(e);return t||(Wt(e,o)&&Ze(r,"has",e),Ze(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function Hr(e,t=!1){return e=e.__v_raw,!t&&Ze(ue(e),"iterate",ln),Reflect.get(e,"size",e)}function Cl(e){e=ue(e);const t=ue(this);return go(t).has.call(t,e)||(t.add(e),Lt(t,"add",e,e)),this}function xl(e,t){t=ue(t);const n=ue(this),{has:r,get:o}=go(n);let s=r.call(n,e);s||(e=ue(e),s=r.call(n,e));const l=o.call(n,e);return n.set(e,t),s?Wt(t,l)&&Lt(n,"set",e,t):Lt(n,"add",e,t),this}function Sl(e){const t=ue(this),{has:n,get:r}=go(t);let o=n.call(t,e);o||(e=ue(e),o=n.call(t,e)),r&&r.call(t,e);const s=t.delete(e);return o&&Lt(t,"delete",e,void 0),s}function kl(){const e=ue(this),t=e.size!==0,n=e.clear();return t&&Lt(e,"clear",void 0,void 0),n}function Vr(e,t){return function(r,o){const s=this,l=s.__v_raw,i=ue(l),a=t?Bs:e?zs:cr;return!e&&Ze(i,"iterate",ln),l.forEach((c,u)=>r.call(o,a(c),a(u),s))}}function zr(e,t,n){return function(...r){const o=this.__v_raw,s=ue(o),l=An(s),i=e==="entries"||e===Symbol.iterator&&l,a=e==="keys"&&l,c=o[e](...r),u=n?Bs:t?zs:cr;return!t&&Ze(s,"iterate",a?as:ln),{next(){const{value:d,done:p}=c.next();return p?{value:d,done:p}:{value:i?[u(d[0]),u(d[1])]:u(d),done:p}},[Symbol.iterator](){return this}}}}function Ot(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Lf(){const e={get(s){return Fr(this,s)},get size(){return Hr(this)},has:Br,add:Cl,set:xl,delete:Sl,clear:kl,forEach:Vr(!1,!1)},t={get(s){return Fr(this,s,!1,!0)},get size(){return Hr(this)},has:Br,add:Cl,set:xl,delete:Sl,clear:kl,forEach:Vr(!1,!0)},n={get(s){return Fr(this,s,!0)},get size(){return Hr(this,!0)},has(s){return Br.call(this,s,!0)},add:Ot("add"),set:Ot("set"),delete:Ot("delete"),clear:Ot("clear"),forEach:Vr(!0,!1)},r={get(s){return Fr(this,s,!0,!0)},get size(){return Hr(this,!0)},has(s){return Br.call(this,s,!0)},add:Ot("add"),set:Ot("set"),delete:Ot("delete"),clear:Ot("clear"),forEach:Vr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=zr(s,!1,!1),n[s]=zr(s,!0,!1),t[s]=zr(s,!1,!0),r[s]=zr(s,!0,!0)}),[e,n,t,r]}const[If,$f,Of,Pf]=Lf();function Hs(e,t){const n=t?e?Pf:Of:e?$f:If;return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(pe(n,o)&&o in r?n:r,o,s)}const Rf={get:Hs(!1,!1)},Mf={get:Hs(!1,!0)},Nf={get:Hs(!0,!1)},da=new WeakMap,pa=new WeakMap,ha=new WeakMap,Df=new WeakMap;function jf(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ff(e){return e.__v_skip||!Object.isExtensible(e)?0:jf(lf(e))}function xr(e){return Nn(e)?e:Vs(e,!1,kf,Rf,da)}function va(e){return Vs(e,!1,Af,Mf,pa)}function Sr(e){return Vs(e,!0,Tf,Nf,ha)}function Vs(e,t,n,r,o){if(!_e(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=o.get(e);if(s)return s;const l=Ff(e);if(l===0)return e;const i=new Proxy(e,l===2?r:n);return o.set(e,i),i}function In(e){return Nn(e)?In(e.__v_raw):!!(e&&e.__v_isReactive)}function Nn(e){return!!(e&&e.__v_isReadonly)}function lo(e){return!!(e&&e.__v_isShallow)}function ma(e){return In(e)||Nn(e)}function ue(e){const t=e&&e.__v_raw;return t?ue(t):e}function ga(e){return Object.isExtensible(e)&&oo(e,"__v_skip",!0),e}const cr=e=>_e(e)?xr(e):e,zs=e=>_e(e)?Sr(e):e;class ya{constructor(t,n,r,o){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Ds(()=>t(this._value),()=>er(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const t=ue(this);return(!t._cacheable||t.effect.dirty)&&Wt(t._value,t._value=t.effect.run())&&er(t,4),Us(t),t.effect._dirtyLevel>=2&&er(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function Bf(e,t,n=!1){let r,o;const s=ae(e);return s?(r=e,o=at):(r=e.get,o=e.set),new ya(r,o,s||!o,n)}function Us(e){var t;Ut&&sn&&(e=ue(e),la(sn,(t=e.dep)!=null?t:e.dep=aa(()=>e.dep=void 0,e instanceof ya?e:void 0)))}function er(e,t=4,n){e=ue(e);const r=e.dep;r&&ia(r,t)}function Me(e){return!!(e&&e.__v_isRef===!0)}function Y(e){return ba(e,!1)}function je(e){return ba(e,!0)}function ba(e,t){return Me(e)?e:new Hf(e,t)}class Hf{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ue(t),this._value=n?t:cr(t)}get value(){return Us(this),this._value}set value(t){const n=this.__v_isShallow||lo(t)||Nn(t);t=n?t:ue(t),Wt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:cr(t),er(this,4))}}function rt(e){return Me(e)?e.value:e}const Vf={get:(e,t,n)=>rt(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Me(o)&&!Me(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function _a(e){return In(e)?e:new Proxy(e,Vf)}class zf{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>Us(this),()=>er(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function qs(e){return new zf(e)}function Uf(e){const t=oe(e)?new Array(e.length):{};for(const n in e)t[n]=wa(e,n);return t}class qf{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return wf(ue(this._object),this._key)}}class Wf{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function yo(e,t,n){return Me(e)?e:ae(e)?new Wf(e):_e(e)&&arguments.length>1?wa(e,t,n):Y(e)}function wa(e,t,n){const r=e[t];return Me(r)?r:new qf(e,t,n)}/**
* @vue/runtime-core v3.4.21
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function qt(e,t,n,r){try{return r?e(...r):e()}catch(o){kr(o,t,n)}}function ct(e,t,n,r){if(ae(e)){const s=qt(e,t,n,r);return s&&Qi(s)&&s.catch(l=>{kr(l,t,n)}),s}const o=[];for(let s=0;s<e.length;s++)o.push(ct(e[s],t,n,r));return o}function kr(e,t,n,r=!0){const o=t?t.vnode:null;if(t){let s=t.parent;const l=t.proxy,i=`https://vuejs.org/error-reference/#runtime-${n}`;for(;s;){const c=s.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](e,l,i)===!1)return}s=s.parent}const a=t.appContext.config.errorHandler;if(a){qt(a,null,10,[e,l,i]);return}}Gf(e,n,o,r)}function Gf(e,t,n,r=!0){console.error(e)}let ur=!1,cs=!1;const Ve=[];let Et=0;const $n=[];let jt=null,tn=0;const Ea=Promise.resolve();let Ws=null;function Jt(e){const t=Ws||Ea;return e?t.then(this?e.bind(this):e):t}function Kf(e){let t=Et+1,n=Ve.length;for(;t<n;){const r=t+n>>>1,o=Ve[r],s=fr(o);s<e||s===e&&o.pre?t=r+1:n=r}return t}function bo(e){(!Ve.length||!Ve.includes(e,ur&&e.allowRecurse?Et+1:Et))&&(e.id==null?Ve.push(e):Ve.splice(Kf(e.id),0,e),Ca())}function Ca(){!ur&&!cs&&(cs=!0,Ws=Ea.then(xa))}function Yf(e){const t=Ve.indexOf(e);t>Et&&Ve.splice(t,1)}function Jf(e){oe(e)?$n.push(...e):(!jt||!jt.includes(e,e.allowRecurse?tn+1:tn))&&$n.push(e),Ca()}function Tl(e,t,n=ur?Et+1:0){for(;n<Ve.length;n++){const r=Ve[n];if(r&&r.pre){if(e&&r.id!==e.uid)continue;Ve.splice(n,1),n--,r()}}}function io(e){if($n.length){const t=[...new Set($n)].sort((n,r)=>fr(n)-fr(r));if($n.length=0,jt){jt.push(...t);return}for(jt=t,tn=0;tn<jt.length;tn++)jt[tn]();jt=null,tn=0}}const fr=e=>e.id==null?1/0:e.id,Qf=(e,t)=>{const n=fr(e)-fr(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function xa(e){cs=!1,ur=!0,Ve.sort(Qf);try{for(Et=0;Et<Ve.length;Et++){const t=Ve[Et];t&&t.active!==!1&&qt(t,null,14)}}finally{Et=0,Ve.length=0,io(),ur=!1,Ws=null,(Ve.length||$n.length)&&xa()}}function Xf(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Ce;let o=n;const s=t.startsWith("update:"),l=s&&t.slice(7);if(l&&l in r){const u=`${l==="modelValue"?"model":l}Modifiers`,{number:d,trim:p}=r[u]||Ce;p&&(o=n.map(h=>Re(h)?h.trim():h)),d&&(o=n.map(ss))}let i,a=r[i=$o(t)]||r[i=$o(dt(t))];!a&&s&&(a=r[i=$o(Un(t))]),a&&ct(a,e,6,o);const c=r[i+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,ct(c,e,6,o)}}function Sa(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const s=e.emits;let l={},i=!1;if(!ae(e)){const a=c=>{const u=Sa(c,t,!0);u&&(i=!0,Pe(l,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!s&&!i?(_e(e)&&r.set(e,null),null):(oe(s)?s.forEach(a=>l[a]=null):Pe(l,s),_e(e)&&r.set(e,l),l)}function _o(e,t){return!e||!Er(t)?!1:(t=t.slice(2).replace(/Once$/,""),pe(e,t[0].toLowerCase()+t.slice(1))||pe(e,Un(t))||pe(e,t))}let We=null,wo=null;function ao(e){const t=We;return We=e,wo=e&&e.type.__scopeId||null,t}function Tr(e){wo=e}function Ar(){wo=null}function Zf(e,t=We,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&Fl(-1);const s=ao(t);let l;try{l=e(...o)}finally{ao(s),r._d&&Fl(1)}return l};return r._n=!0,r._c=!0,r._d=!0,r}function Po(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:s,propsOptions:[l],slots:i,attrs:a,emit:c,render:u,renderCache:d,data:p,setupState:h,ctx:g,inheritAttrs:_}=e;let b,w;const x=ao(e);try{if(n.shapeFlag&4){const k=o||r,R=k;b=vt(u.call(R,k,d,s,h,p,g)),w=a}else{const k=t;b=vt(k.length>1?k(s,{attrs:a,slots:i,emit:c}):k(s,null)),w=t.props?a:ed(a)}}catch(k){sr.length=0,kr(k,e,1),b=Ie(ut)}let y=b;if(w&&_!==!1){const k=Object.keys(w),{shapeFlag:R}=y;k.length&&R&7&&(l&&k.some(Os)&&(w=td(w,l)),y=Kt(y,w))}return n.dirs&&(y=Kt(y),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&(y.transition=n.transition),b=y,ao(x),b}const ed=e=>{let t;for(const n in e)(n==="class"||n==="style"||Er(n))&&((t||(t={}))[n]=e[n]);return t},td=(e,t)=>{const n={};for(const r in e)(!Os(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function nd(e,t,n){const{props:r,children:o,component:s}=e,{props:l,children:i,patchFlag:a}=t,c=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return r?Al(r,l,c):!!l;if(a&8){const u=t.dynamicProps;for(let d=0;d<u.length;d++){const p=u[d];if(l[p]!==r[p]&&!_o(c,p))return!0}}}else return(o||i)&&(!i||!i.$stable)?!0:r===l?!1:r?l?Al(r,l,c):!0:!!l;return!1}function Al(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const s=r[o];if(t[s]!==e[s]&&!_o(n,s))return!0}return!1}function rd({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const ka="components";function gt(e,t){return sd(ka,e,!0,t)||e}const od=Symbol.for("v-ndc");function sd(e,t,n=!0,r=!1){const o=We||Be;if(o){const s=o.type;if(e===ka){const i=Zd(s,!1);if(i&&(i===t||i===dt(t)||i===Cr(dt(t))))return s}const l=Ll(o[e]||s[e],t)||Ll(o.appContext[e],t);return!l&&r?s:l}}function Ll(e,t){return e&&(e[t]||e[dt(t)]||e[Cr(dt(t))])}const ld=e=>e.__isSuspense;function Ta(e,t){t&&t.pendingBranch?oe(e)?t.effects.push(...e):t.effects.push(e):Jf(e)}const id=Symbol.for("v-scx"),ad=()=>De(id);function Aa(e,t){return Gs(e,null,t)}const Ur={};function he(e,t,n){return Gs(e,t,n)}function Gs(e,t,{immediate:n,deep:r,flush:o,once:s,onTrack:l,onTrigger:i}=Ce){if(t&&s){const S=t;t=(...I)=>{S(...I),R()}}const a=Be,c=S=>r===!0?S:rn(S,r===!1?1:void 0);let u,d=!1,p=!1;if(Me(e)?(u=()=>e.value,d=lo(e)):In(e)?(u=()=>c(e),d=!0):oe(e)?(p=!0,d=e.some(S=>In(S)||lo(S)),u=()=>e.map(S=>{if(Me(S))return S.value;if(In(S))return c(S);if(ae(S))return qt(S,a,2)})):ae(e)?t?u=()=>qt(e,a,2):u=()=>(h&&h(),ct(e,a,3,[g])):u=at,t&&r){const S=u;u=()=>rn(S())}let h,g=S=>{h=y.onStop=()=>{qt(S,a,4),h=y.onStop=void 0}},_;if(Or)if(g=at,t?n&&ct(t,a,3,[u(),p?[]:void 0,g]):u(),o==="sync"){const S=ad();_=S.__watcherHandles||(S.__watcherHandles=[])}else return at;let b=p?new Array(e.length).fill(Ur):Ur;const w=()=>{if(!(!y.active||!y.dirty))if(t){const S=y.run();(r||d||(p?S.some((I,O)=>Wt(I,b[O])):Wt(S,b)))&&(h&&h(),ct(t,a,3,[S,b===Ur?void 0:p&&b[0]===Ur?[]:b,g]),b=S)}else y.run()};w.allowRecurse=!!t;let x;o==="sync"?x=w:o==="post"?x=()=>Je(w,a&&a.suspense):(w.pre=!0,a&&(w.id=a.uid),x=()=>bo(w));const y=new Ds(u,at,x),k=ra(),R=()=>{y.stop(),k&&Ps(k.effects,y)};return t?n?w():b=y.run():o==="post"?Je(y.run.bind(y),a&&a.suspense):y.run(),_&&_.push(R),R}function cd(e,t,n){const r=this.proxy,o=Re(e)?e.includes(".")?La(r,e):()=>r[e]:e.bind(r,r);let s;ae(t)?s=t:(s=t.handler,n=t);const l=$r(this),i=Gs(o,s.bind(r),n);return l(),i}function La(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}function rn(e,t,n=0,r){if(!_e(e)||e.__v_skip)return e;if(t&&t>0){if(n>=t)return e;n++}if(r=r||new Set,r.has(e))return e;if(r.add(e),Me(e))rn(e.value,t,n,r);else if(oe(e))for(let o=0;o<e.length;o++)rn(e[o],t,n,r);else if(Ji(e)||An(e))e.forEach(o=>{rn(o,t,n,r)});else if(Zi(e))for(const o in e)rn(e[o],t,n,r);return e}function Ia(e,t){if(We===null)return e;const n=xo(We)||We.proxy,r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[s,l,i,a=Ce]=t[o];s&&(ae(s)&&(s={mounted:s,updated:s}),s.deep&&rn(l),r.push({dir:s,instance:n,value:l,oldValue:void 0,arg:i,modifiers:a}))}return e}function wt(e,t,n,r){const o=e.dirs,s=t&&t.dirs;for(let l=0;l<o.length;l++){const i=o[l];s&&(i.oldValue=s[l].value);let a=i.dir[r];a&&(un(),ct(a,n,8,[e.el,i,e,t]),fn())}}const Ft=Symbol("_leaveCb"),qr=Symbol("_enterCb");function $a(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return we(()=>{e.isMounted=!0}),Ys(()=>{e.isUnmounting=!0}),e}const st=[Function,Array],Oa={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:st,onEnter:st,onAfterEnter:st,onEnterCancelled:st,onBeforeLeave:st,onLeave:st,onAfterLeave:st,onLeaveCancelled:st,onBeforeAppear:st,onAppear:st,onAfterAppear:st,onAppearCancelled:st},ud={name:"BaseTransition",props:Oa,setup(e,{slots:t}){const n=Ir(),r=$a();return()=>{const o=t.default&&Ks(t.default(),!0);if(!o||!o.length)return;let s=o[0];if(o.length>1){for(const p of o)if(p.type!==ut){s=p;break}}const l=ue(e),{mode:i}=l;if(r.isLeaving)return Ro(s);const a=Il(s);if(!a)return Ro(s);const c=dr(a,l,r,n);pr(a,c);const u=n.subTree,d=u&&Il(u);if(d&&d.type!==ut&&!nn(a,d)){const p=dr(d,l,r,n);if(pr(d,p),i==="out-in")return r.isLeaving=!0,p.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Ro(s);i==="in-out"&&a.type!==ut&&(p.delayLeave=(h,g,_)=>{const b=Pa(r,d);b[String(d.key)]=d,h[Ft]=()=>{g(),h[Ft]=void 0,delete c.delayedLeave},c.delayedLeave=_})}return s}}},fd=ud;function Pa(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function dr(e,t,n,r){const{appear:o,mode:s,persisted:l=!1,onBeforeEnter:i,onEnter:a,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:p,onAfterLeave:h,onLeaveCancelled:g,onBeforeAppear:_,onAppear:b,onAfterAppear:w,onAppearCancelled:x}=t,y=String(e.key),k=Pa(n,e),R=(O,J)=>{O&&ct(O,r,9,J)},S=(O,J)=>{const $=J[1];R(O,J),oe(O)?O.every(U=>U.length<=1)&&$():O.length<=1&&$()},I={mode:s,persisted:l,beforeEnter(O){let J=i;if(!n.isMounted)if(o)J=_||i;else return;O[Ft]&&O[Ft](!0);const $=k[y];$&&nn(e,$)&&$.el[Ft]&&$.el[Ft](),R(J,[O])},enter(O){let J=a,$=c,U=u;if(!n.isMounted)if(o)J=b||a,$=w||c,U=x||u;else return;let M=!1;const re=O[qr]=Ee=>{M||(M=!0,Ee?R(U,[O]):R($,[O]),I.delayedLeave&&I.delayedLeave(),O[qr]=void 0)};J?S(J,[O,re]):re()},leave(O,J){const $=String(e.key);if(O[qr]&&O[qr](!0),n.isUnmounting)return J();R(d,[O]);let U=!1;const M=O[Ft]=re=>{U||(U=!0,J(),re?R(g,[O]):R(h,[O]),O[Ft]=void 0,k[$]===e&&delete k[$])};k[$]=e,p?S(p,[O,M]):M()},clone(O){return dr(O,t,n,r)}};return I}function Ro(e){if(Lr(e))return e=Kt(e),e.children=null,e}function Il(e){return Lr(e)?e.children?e.children[0]:void 0:e}function pr(e,t){e.shapeFlag&6&&e.component?pr(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 Ks(e,t=!1,n){let r=[],o=0;for(let s=0;s<e.length;s++){let l=e[s];const i=n==null?l.key:String(n)+String(l.key!=null?l.key:s);l.type===Ue?(l.patchFlag&128&&o++,r=r.concat(Ks(l.children,t,i))):(t||l.type!==ut)&&r.push(i!=null?Kt(l,{key:i}):l)}if(o>1)for(let s=0;s<r.length;s++)r[s].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function V(e,t){return ae(e)?Pe({name:e.name},t,{setup:e}):e}const tr=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function dd(e){ae(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,timeout:s,suspensible:l=!0,onError:i}=e;let a=null,c,u=0;const d=()=>(u++,a=null,p()),p=()=>{let h;return a||(h=a=t().catch(g=>{if(g=g instanceof Error?g:new Error(String(g)),i)return new Promise((_,b)=>{i(g,()=>_(d()),()=>b(g),u+1)});throw g}).then(g=>h!==a&&a?a:(g&&(g.__esModule||g[Symbol.toStringTag]==="Module")&&(g=g.default),c=g,g)))};return V({name:"AsyncComponentWrapper",__asyncLoader:p,get __asyncResolved(){return c},setup(){const h=Be;if(c)return()=>Mo(c,h);const g=x=>{a=null,kr(x,h,13,!r)};if(l&&h.suspense||Or)return p().then(x=>()=>Mo(x,h)).catch(x=>(g(x),()=>r?Ie(r,{error:x}):null));const _=Y(!1),b=Y(),w=Y(!!o);return o&&setTimeout(()=>{w.value=!1},o),s!=null&&setTimeout(()=>{if(!_.value&&!b.value){const x=new Error(`Async component timed out after ${s}ms.`);g(x),b.value=x}},s),p().then(()=>{_.value=!0,h.parent&&Lr(h.parent.vnode)&&(h.parent.effect.dirty=!0,bo(h.parent.update))}).catch(x=>{g(x),b.value=x}),()=>{if(_.value&&c)return Mo(c,h);if(b.value&&r)return Ie(r,{error:b.value});if(n&&!w.value)return Ie(n)}}})}function Mo(e,t){const{ref:n,props:r,children:o,ce:s}=t.vnode,l=Ie(e,r,o);return l.ref=n,l.ce=s,delete t.vnode.ce,l}const Lr=e=>e.type.__isKeepAlive;function pd(e,t){Ra(e,"a",t)}function hd(e,t){Ra(e,"da",t)}function Ra(e,t,n=Be){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Eo(t,r,n),n){let o=n.parent;for(;o&&o.parent;)Lr(o.parent.vnode)&&vd(r,t,n,o),o=o.parent}}function vd(e,t,n,r){const o=Eo(t,e,r,!0);dn(()=>{Ps(r[t],o)},n)}function Eo(e,t,n=Be,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...l)=>{if(n.isUnmounted)return;un();const i=$r(n),a=ct(t,n,e,l);return i(),fn(),a});return r?o.unshift(s):o.push(s),s}}const $t=e=>(t,n=Be)=>(!Or||e==="sp")&&Eo(e,(...r)=>t(...r),n),md=$t("bm"),we=$t("m"),gd=$t("bu"),Ma=$t("u"),Ys=$t("bum"),dn=$t("um"),yd=$t("sp"),bd=$t("rtg"),_d=$t("rtc");function wd(e,t=Be){Eo("ec",e,t)}function Na(e,t,n,r){let o;const s=n&&n[r];if(oe(e)||Re(e)){o=new Array(e.length);for(let l=0,i=e.length;l<i;l++)o[l]=t(e[l],l,void 0,s&&s[l])}else if(typeof e=="number"){o=new Array(e);for(let l=0;l<e;l++)o[l]=t(l+1,l,void 0,s&&s[l])}else if(_e(e))if(e[Symbol.iterator])o=Array.from(e,(l,i)=>t(l,i,void 0,s&&s[i]));else{const l=Object.keys(e);o=new Array(l.length);for(let i=0,a=l.length;i<a;i++){const c=l[i];o[i]=t(e[c],c,i,s&&s[i])}}else o=[];return n&&(n[r]=o),o}const us=e=>e?Ya(e)?xo(e)||e.proxy:us(e.parent):null,nr=Pe(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=>us(e.parent),$root:e=>us(e.root),$emit:e=>e.emit,$options:e=>Js(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,bo(e.update)}),$nextTick:e=>e.n||(e.n=Jt.bind(e.proxy)),$watch:e=>cd.bind(e)}),No=(e,t)=>e!==Ce&&!e.__isScriptSetup&&pe(e,t),Ed={get({_:e},t){const{ctx:n,setupState:r,data:o,props:s,accessCache:l,type:i,appContext:a}=e;let c;if(t[0]!=="$"){const h=l[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(No(r,t))return l[t]=1,r[t];if(o!==Ce&&pe(o,t))return l[t]=2,o[t];if((c=e.propsOptions[0])&&pe(c,t))return l[t]=3,s[t];if(n!==Ce&&pe(n,t))return l[t]=4,n[t];fs&&(l[t]=0)}}const u=nr[t];let d,p;if(u)return t==="$attrs"&&Ze(e,"get",t),u(e);if((d=i.__cssModules)&&(d=d[t]))return d;if(n!==Ce&&pe(n,t))return l[t]=4,n[t];if(p=a.config.globalProperties,pe(p,t))return p[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return No(o,t)?(o[t]=n,!0):r!==Ce&&pe(r,t)?(r[t]=n,!0):pe(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:s}},l){let i;return!!n[l]||e!==Ce&&pe(e,l)||No(t,l)||(i=s[0])&&pe(i,l)||pe(r,l)||pe(nr,l)||pe(o.config.globalProperties,l)},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 $l(e){return oe(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let fs=!0;function Cd(e){const t=Js(e),n=e.proxy,r=e.ctx;fs=!1,t.beforeCreate&&Ol(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:l,watch:i,provide:a,inject:c,created:u,beforeMount:d,mounted:p,beforeUpdate:h,updated:g,activated:_,deactivated:b,beforeDestroy:w,beforeUnmount:x,destroyed:y,unmounted:k,render:R,renderTracked:S,renderTriggered:I,errorCaptured:O,serverPrefetch:J,expose:$,inheritAttrs:U,components:M,directives:re,filters:Ee}=t;if(c&&xd(c,r,null),l)for(const se in l){const W=l[se];ae(W)&&(r[se]=W.bind(n))}if(o){const se=o.call(n,n);_e(se)&&(e.data=xr(se))}if(fs=!0,s)for(const se in s){const W=s[se],Se=ae(W)?W.bind(n,n):ae(W.get)?W.get.bind(n,n):at,ot=!ae(W)&&ae(W.set)?W.set.bind(n):at,Ye=T({get:Se,set:ot});Object.defineProperty(r,se,{enumerable:!0,configurable:!0,get:()=>Ye.value,set:Z=>Ye.value=Z})}if(i)for(const se in i)Da(i[se],r,n,se);if(a){const se=ae(a)?a.call(n):a;Reflect.ownKeys(se).forEach(W=>{On(W,se[W])})}u&&Ol(u,e,"c");function K(se,W){oe(W)?W.forEach(Se=>se(Se.bind(n))):W&&se(W.bind(n))}if(K(md,d),K(we,p),K(gd,h),K(Ma,g),K(pd,_),K(hd,b),K(wd,O),K(_d,S),K(bd,I),K(Ys,x),K(dn,k),K(yd,J),oe($))if($.length){const se=e.exposed||(e.exposed={});$.forEach(W=>{Object.defineProperty(se,W,{get:()=>n[W],set:Se=>n[W]=Se})})}else e.exposed||(e.exposed={});R&&e.render===at&&(e.render=R),U!=null&&(e.inheritAttrs=U),M&&(e.components=M),re&&(e.directives=re)}function xd(e,t,n=at){oe(e)&&(e=ds(e));for(const r in e){const o=e[r];let s;_e(o)?"default"in o?s=De(o.from||r,o.default,!0):s=De(o.from||r):s=De(o),Me(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:l=>s.value=l}):t[r]=s}}function Ol(e,t,n){ct(oe(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Da(e,t,n,r){const o=r.includes(".")?La(n,r):()=>n[r];if(Re(e)){const s=t[e];ae(s)&&he(o,s)}else if(ae(e))he(o,e.bind(n));else if(_e(e))if(oe(e))e.forEach(s=>Da(s,t,n,r));else{const s=ae(e.handler)?e.handler.bind(n):t[e.handler];ae(s)&&he(o,s,e)}}function Js(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:l}}=e.appContext,i=s.get(t);let a;return i?a=i:!o.length&&!n&&!r?a=t:(a={},o.length&&o.forEach(c=>co(a,c,l,!0)),co(a,t,l)),_e(t)&&s.set(t,a),a}function co(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&co(e,s,n,!0),o&&o.forEach(l=>co(e,l,n,!0));for(const l in t)if(!(r&&l==="expose")){const i=Sd[l]||n&&n[l];e[l]=i?i(e[l],t[l]):t[l]}return e}const Sd={data:Pl,props:Rl,emits:Rl,methods:Xn,computed:Xn,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:Xn,directives:Xn,watch:Td,provide:Pl,inject:kd};function Pl(e,t){return t?e?function(){return Pe(ae(e)?e.call(this,this):e,ae(t)?t.call(this,this):t)}:t:e}function kd(e,t){return Xn(ds(e),ds(t))}function ds(e){if(oe(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 Xn(e,t){return e?Pe(Object.create(null),e,t):t}function Rl(e,t){return e?oe(e)&&oe(t)?[...new Set([...e,...t])]:Pe(Object.create(null),$l(e),$l(t??{})):t}function Td(e,t){if(!e)return t;if(!t)return e;const n=Pe(Object.create(null),e);for(const r in t)n[r]=ze(e[r],t[r]);return n}function ja(){return{app:null,config:{isNativeTag:of,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 Ad=0;function Ld(e,t){return function(r,o=null){ae(r)||(r=Pe({},r)),o!=null&&!_e(o)&&(o=null);const s=ja(),l=new WeakSet;let i=!1;const a=s.app={_uid:Ad++,_component:r,_props:o,_container:null,_context:s,_instance:null,version:t1,get config(){return s.config},set config(c){},use(c,...u){return l.has(c)||(c&&ae(c.install)?(l.add(c),c.install(a,...u)):ae(c)&&(l.add(c),c(a,...u))),a},mixin(c){return s.mixins.includes(c)||s.mixins.push(c),a},component(c,u){return u?(s.components[c]=u,a):s.components[c]},directive(c,u){return u?(s.directives[c]=u,a):s.directives[c]},mount(c,u,d){if(!i){const p=Ie(r,o);return p.appContext=s,d===!0?d="svg":d===!1&&(d=void 0),u&&t?t(p,c):e(p,c,d),i=!0,a._container=c,c.__vue_app__=a,xo(p.component)||p.component.proxy}},unmount(){i&&(e(null,a._container),delete a._container.__vue_app__)},provide(c,u){return s.provides[c]=u,a},runWithContext(c){const u=rr;rr=a;try{return c()}finally{rr=u}}};return a}}let rr=null;function On(e,t){if(Be){let n=Be.provides;const r=Be.parent&&Be.parent.provides;r===n&&(n=Be.provides=Object.create(r)),n[e]=t}}function De(e,t,n=!1){const r=Be||We;if(r||rr){const o=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:rr._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&ae(t)?t.call(r&&r.proxy):t}}function Id(e,t,n,r=!1){const o={},s={};oo(s,Co,1),e.propsDefaults=Object.create(null),Fa(e,t,o,s);for(const l in e.propsOptions[0])l in o||(o[l]=void 0);n?e.props=r?o:va(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function $d(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:l}}=e,i=ue(o),[a]=e.propsOptions;let c=!1;if((r||l>0)&&!(l&16)){if(l&8){const u=e.vnode.dynamicProps;for(let d=0;d<u.length;d++){let p=u[d];if(_o(e.emitsOptions,p))continue;const h=t[p];if(a)if(pe(s,p))h!==s[p]&&(s[p]=h,c=!0);else{const g=dt(p);o[g]=ps(a,i,g,h,e,!1)}else h!==s[p]&&(s[p]=h,c=!0)}}}else{Fa(e,t,o,s)&&(c=!0);let u;for(const d in i)(!t||!pe(t,d)&&((u=Un(d))===d||!pe(t,u)))&&(a?n&&(n[d]!==void 0||n[u]!==void 0)&&(o[d]=ps(a,i,d,void 0,e,!0)):delete o[d]);if(s!==i)for(const d in s)(!t||!pe(t,d))&&(delete s[d],c=!0)}c&&Lt(e,"set","$attrs")}function Fa(e,t,n,r){const[o,s]=e.propsOptions;let l=!1,i;if(t)for(let a in t){if(Ln(a))continue;const c=t[a];let u;o&&pe(o,u=dt(a))?!s||!s.includes(u)?n[u]=c:(i||(i={}))[u]=c:_o(e.emitsOptions,a)||(!(a in r)||c!==r[a])&&(r[a]=c,l=!0)}if(s){const a=ue(n),c=i||Ce;for(let u=0;u<s.length;u++){const d=s[u];n[d]=ps(o,a,d,c[d],e,!pe(c,d))}}return l}function ps(e,t,n,r,o,s){const l=e[n];if(l!=null){const i=pe(l,"default");if(i&&r===void 0){const a=l.default;if(l.type!==Function&&!l.skipFactory&&ae(a)){const{propsDefaults:c}=o;if(n in c)r=c[n];else{const u=$r(o);r=c[n]=a.call(null,t),u()}}else r=a}l[0]&&(s&&!i?r=!1:l[1]&&(r===""||r===Un(n))&&(r=!0))}return r}function Ba(e,t,n=!1){const r=t.propsCache,o=r.get(e);if(o)return o;const s=e.props,l={},i=[];let a=!1;if(!ae(e)){const u=d=>{a=!0;const[p,h]=Ba(d,t,!0);Pe(l,p),h&&i.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!a)return _e(e)&&r.set(e,Tn),Tn;if(oe(s))for(let u=0;u<s.length;u++){const d=dt(s[u]);Ml(d)&&(l[d]=Ce)}else if(s)for(const u in s){const d=dt(u);if(Ml(d)){const p=s[u],h=l[d]=oe(p)||ae(p)?{type:p}:Pe({},p);if(h){const g=jl(Boolean,h.type),_=jl(String,h.type);h[0]=g>-1,h[1]=_<0||g<_,(g>-1||pe(h,"default"))&&i.push(d)}}}const c=[l,i];return _e(e)&&r.set(e,c),c}function Ml(e){return e[0]!=="$"&&!Ln(e)}function Nl(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function Dl(e,t){return Nl(e)===Nl(t)}function jl(e,t){return oe(t)?t.findIndex(n=>Dl(n,e)):ae(t)&&Dl(t,e)?0:-1}const Ha=e=>e[0]==="_"||e==="$stable",Qs=e=>oe(e)?e.map(vt):[vt(e)],Od=(e,t,n)=>{if(t._n)return t;const r=Zf((...o)=>Qs(t(...o)),n);return r._c=!1,r},Va=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Ha(o))continue;const s=e[o];if(ae(s))t[o]=Od(o,s,r);else if(s!=null){const l=Qs(s);t[o]=()=>l}}},za=(e,t)=>{const n=Qs(t);e.slots.default=()=>n},Pd=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=ue(t),oo(t,"_",n)):Va(t,e.slots={})}else e.slots={},t&&za(e,t);oo(e.slots,Co,1)},Rd=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,l=Ce;if(r.shapeFlag&32){const i=t._;i?n&&i===1?s=!1:(Pe(o,t),!n&&i===1&&delete o._):(s=!t.$stable,Va(t,o)),l=t}else t&&(za(e,t),l={default:1});if(s)for(const i in o)!Ha(i)&&l[i]==null&&delete o[i]};function uo(e,t,n,r,o=!1){if(oe(e)){e.forEach((p,h)=>uo(p,t&&(oe(t)?t[h]:t),n,r,o));return}if(tr(r)&&!o)return;const s=r.shapeFlag&4?xo(r.component)||r.component.proxy:r.el,l=o?null:s,{i,r:a}=e,c=t&&t.r,u=i.refs===Ce?i.refs={}:i.refs,d=i.setupState;if(c!=null&&c!==a&&(Re(c)?(u[c]=null,pe(d,c)&&(d[c]=null)):Me(c)&&(c.value=null)),ae(a))qt(a,i,12,[l,u]);else{const p=Re(a),h=Me(a);if(p||h){const g=()=>{if(e.f){const _=p?pe(d,a)?d[a]:u[a]:a.value;o?oe(_)&&Ps(_,s):oe(_)?_.includes(s)||_.push(s):p?(u[a]=[s],pe(d,a)&&(d[a]=u[a])):(a.value=[s],e.k&&(u[e.k]=a.value))}else p?(u[a]=l,pe(d,a)&&(d[a]=l)):h&&(a.value=l,e.k&&(u[e.k]=l))};l?(g.id=-1,Je(g,n)):g()}}}let Pt=!1;const Md=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Nd=e=>e.namespaceURI.includes("MathML"),Wr=e=>{if(Md(e))return"svg";if(Nd(e))return"mathml"},Gr=e=>e.nodeType===8;function Dd(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:s,parentNode:l,remove:i,insert:a,createComment:c}}=e,u=(y,k)=>{if(!k.hasChildNodes()){n(null,y,k),io(),k._vnode=y;return}Pt=!1,d(k.firstChild,y,null,null,null),io(),k._vnode=y,Pt&&console.error("Hydration completed but contains mismatches.")},d=(y,k,R,S,I,O=!1)=>{const J=Gr(y)&&y.data==="[",$=()=>_(y,k,R,S,I,J),{type:U,ref:M,shapeFlag:re,patchFlag:Ee}=k;let be=y.nodeType;k.el=y,Ee===-2&&(O=!1,k.dynamicChildren=null);let K=null;switch(U){case Dn:be!==3?k.children===""?(a(k.el=o(""),l(y),y),K=y):K=$():(y.data!==k.children&&(Pt=!0,y.data=k.children),K=s(y));break;case ut:x(y)?(K=s(y),w(k.el=y.content.firstChild,y,R)):be!==8||J?K=$():K=s(y);break;case or:if(J&&(y=s(y),be=y.nodeType),be===1||be===3){K=y;const se=!k.children.length;for(let W=0;W<k.staticCount;W++)se&&(k.children+=K.nodeType===1?K.outerHTML:K.data),W===k.staticCount-1&&(k.anchor=K),K=s(K);return J?s(K):K}else $();break;case Ue:J?K=g(y,k,R,S,I,O):K=$();break;default:if(re&1)(be!==1||k.type.toLowerCase()!==y.tagName.toLowerCase())&&!x(y)?K=$():K=p(y,k,R,S,I,O);else if(re&6){k.slotScopeIds=I;const se=l(y);if(J?K=b(y):Gr(y)&&y.data==="teleport start"?K=b(y,y.data,"teleport end"):K=s(y),t(k,se,null,R,S,Wr(se),O),tr(k)){let W;J?(W=Ie(Ue),W.anchor=K?K.previousSibling:se.lastChild):W=y.nodeType===3?fo(""):Ie("div"),W.el=y,k.component.subTree=W}}else re&64?be!==8?K=$():K=k.type.hydrate(y,k,R,S,I,O,e,h):re&128&&(K=k.type.hydrate(y,k,R,S,Wr(l(y)),I,O,e,d))}return M!=null&&uo(M,null,S,k),K},p=(y,k,R,S,I,O)=>{O=O||!!k.dynamicChildren;const{type:J,props:$,patchFlag:U,shapeFlag:M,dirs:re,transition:Ee}=k,be=J==="input"||J==="option";if(be||U!==-1){re&&wt(k,null,R,"created");let K=!1;if(x(y)){K=Ua(S,Ee)&&R&&R.vnode.props&&R.vnode.props.appear;const W=y.content.firstChild;K&&Ee.beforeEnter(W),w(W,y,R),k.el=y=W}if(M&16&&!($&&($.innerHTML||$.textContent))){let W=h(y.firstChild,k,y,R,S,I,O);for(;W;){Pt=!0;const Se=W;W=W.nextSibling,i(Se)}}else M&8&&y.textContent!==k.children&&(Pt=!0,y.textContent=k.children);if($)if(be||!O||U&48)for(const W in $)(be&&(W.endsWith("value")||W==="indeterminate")||Er(W)&&!Ln(W)||W[0]===".")&&r(y,W,null,$[W],void 0,void 0,R);else $.onClick&&r(y,"onClick",null,$.onClick,void 0,void 0,R);let se;(se=$&&$.onVnodeBeforeMount)&&lt(se,R,k),re&&wt(k,null,R,"beforeMount"),((se=$&&$.onVnodeMounted)||re||K)&&Ta(()=>{se&&lt(se,R,k),K&&Ee.enter(y),re&&wt(k,null,R,"mounted")},S)}return y.nextSibling},h=(y,k,R,S,I,O,J)=>{J=J||!!k.dynamicChildren;const $=k.children,U=$.length;for(let M=0;M<U;M++){const re=J?$[M]:$[M]=vt($[M]);if(y)y=d(y,re,S,I,O,J);else{if(re.type===Dn&&!re.children)continue;Pt=!0,n(null,re,R,null,S,I,Wr(R),O)}}return y},g=(y,k,R,S,I,O)=>{const{slotScopeIds:J}=k;J&&(I=I?I.concat(J):J);const $=l(y),U=h(s(y),k,$,R,S,I,O);return U&&Gr(U)&&U.data==="]"?s(k.anchor=U):(Pt=!0,a(k.anchor=c("]"),$,U),U)},_=(y,k,R,S,I,O)=>{if(Pt=!0,k.el=null,O){const U=b(y);for(;;){const M=s(y);if(M&&M!==U)i(M);else break}}const J=s(y),$=l(y);return i(y),n(null,k,$,J,R,S,Wr($),I),J},b=(y,k="[",R="]")=>{let S=0;for(;y;)if(y=s(y),y&&Gr(y)&&(y.data===k&&S++,y.data===R)){if(S===0)return s(y);S--}return y},w=(y,k,R)=>{const S=k.parentNode;S&&S.replaceChild(y,k);let I=R;for(;I;)I.vnode.el===k&&(I.vnode.el=I.subTree.el=y),I=I.parent},x=y=>y.nodeType===1&&y.tagName.toLowerCase()==="template";return[u,d]}const Je=Ta;function jd(e){return Fd(e,Dd)}function Fd(e,t){const n=ea();n.__VUE__=!0;const{insert:r,remove:o,patchProp:s,createElement:l,createText:i,createComment:a,setText:c,setElementText:u,parentNode:d,nextSibling:p,setScopeId:h=at,insertStaticContent:g}=e,_=(v,m,C,L=null,A=null,D=null,H=void 0,N=null,B=!!m.dynamicChildren)=>{if(v===m)return;v&&!nn(v,m)&&(L=E(v),Z(v,A,D,!0),v=null),m.patchFlag===-2&&(B=!1,m.dynamicChildren=null);const{type:P,ref:q,shapeFlag:ne}=m;switch(P){case Dn:b(v,m,C,L);break;case ut:w(v,m,C,L);break;case or:v==null&&x(m,C,L,H);break;case Ue:M(v,m,C,L,A,D,H,N,B);break;default:ne&1?R(v,m,C,L,A,D,H,N,B):ne&6?re(v,m,C,L,A,D,H,N,B):(ne&64||ne&128)&&P.process(v,m,C,L,A,D,H,N,B,X)}q!=null&&A&&uo(q,v&&v.ref,D,m||v,!m)},b=(v,m,C,L)=>{if(v==null)r(m.el=i(m.children),C,L);else{const A=m.el=v.el;m.children!==v.children&&c(A,m.children)}},w=(v,m,C,L)=>{v==null?r(m.el=a(m.children||""),C,L):m.el=v.el},x=(v,m,C,L)=>{[v.el,v.anchor]=g(v.children,m,C,L,v.el,v.anchor)},y=({el:v,anchor:m},C,L)=>{let A;for(;v&&v!==m;)A=p(v),r(v,C,L),v=A;r(m,C,L)},k=({el:v,anchor:m})=>{let C;for(;v&&v!==m;)C=p(v),o(v),v=C;o(m)},R=(v,m,C,L,A,D,H,N,B)=>{m.type==="svg"?H="svg":m.type==="math"&&(H="mathml"),v==null?S(m,C,L,A,D,H,N,B):J(v,m,A,D,H,N,B)},S=(v,m,C,L,A,D,H,N)=>{let B,P;const{props:q,shapeFlag:ne,transition:ee,dirs:ie}=v;if(B=v.el=l(v.type,D,q&&q.is,q),ne&8?u(B,v.children):ne&16&&O(v.children,B,null,L,A,Do(v,D),H,N),ie&&wt(v,null,L,"created"),I(B,v,v.scopeId,H,L),q){for(const me in q)me!=="value"&&!Ln(me)&&s(B,me,null,q[me],D,v.children,L,A,Q);"value"in q&&s(B,"value",null,q.value,D),(P=q.onVnodeBeforeMount)&&lt(P,L,v)}ie&&wt(v,null,L,"beforeMount");const ce=Ua(A,ee);ce&&ee.beforeEnter(B),r(B,m,C),((P=q&&q.onVnodeMounted)||ce||ie)&&Je(()=>{P&&lt(P,L,v),ce&&ee.enter(B),ie&&wt(v,null,L,"mounted")},A)},I=(v,m,C,L,A)=>{if(C&&h(v,C),L)for(let D=0;D<L.length;D++)h(v,L[D]);if(A){let D=A.subTree;if(m===D){const H=A.vnode;I(v,H,H.scopeId,H.slotScopeIds,A.parent)}}},O=(v,m,C,L,A,D,H,N,B=0)=>{for(let P=B;P<v.length;P++){const q=v[P]=N?Bt(v[P]):vt(v[P]);_(null,q,m,C,L,A,D,H,N)}},J=(v,m,C,L,A,D,H)=>{const N=m.el=v.el;let{patchFlag:B,dynamicChildren:P,dirs:q}=m;B|=v.patchFlag&16;const ne=v.props||Ce,ee=m.props||Ce;let ie;if(C&&Xt(C,!1),(ie=ee.onVnodeBeforeUpdate)&&lt(ie,C,m,v),q&&wt(m,v,C,"beforeUpdate"),C&&Xt(C,!0),P?$(v.dynamicChildren,P,N,C,L,Do(m,A),D):H||W(v,m,N,null,C,L,Do(m,A),D,!1),B>0){if(B&16)U(N,m,ne,ee,C,L,A);else if(B&2&&ne.class!==ee.class&&s(N,"class",null,ee.class,A),B&4&&s(N,"style",ne.style,ee.style,A),B&8){const ce=m.dynamicProps;for(let me=0;me<ce.length;me++){const ke=ce[me],Fe=ne[ke],pt=ee[ke];(pt!==Fe||ke==="value")&&s(N,ke,Fe,pt,A,v.children,C,L,Q)}}B&1&&v.children!==m.children&&u(N,m.children)}else!H&&P==null&&U(N,m,ne,ee,C,L,A);((ie=ee.onVnodeUpdated)||q)&&Je(()=>{ie&&lt(ie,C,m,v),q&&wt(m,v,C,"updated")},L)},$=(v,m,C,L,A,D,H)=>{for(let N=0;N<m.length;N++){const B=v[N],P=m[N],q=B.el&&(B.type===Ue||!nn(B,P)||B.shapeFlag&70)?d(B.el):C;_(B,P,q,null,L,A,D,H,!0)}},U=(v,m,C,L,A,D,H)=>{if(C!==L){if(C!==Ce)for(const N in C)!Ln(N)&&!(N in L)&&s(v,N,C[N],null,H,m.children,A,D,Q);for(const N in L){if(Ln(N))continue;const B=L[N],P=C[N];B!==P&&N!=="value"&&s(v,N,P,B,H,m.children,A,D,Q)}"value"in L&&s(v,"value",C.value,L.value,H)}},M=(v,m,C,L,A,D,H,N,B)=>{const P=m.el=v?v.el:i(""),q=m.anchor=v?v.anchor:i("");let{patchFlag:ne,dynamicChildren:ee,slotScopeIds:ie}=m;ie&&(N=N?N.concat(ie):ie),v==null?(r(P,C,L),r(q,C,L),O(m.children||[],C,q,A,D,H,N,B)):ne>0&&ne&64&&ee&&v.dynamicChildren?($(v.dynamicChildren,ee,C,A,D,H,N),(m.key!=null||A&&m===A.subTree)&&qa(v,m,!0)):W(v,m,C,q,A,D,H,N,B)},re=(v,m,C,L,A,D,H,N,B)=>{m.slotScopeIds=N,v==null?m.shapeFlag&512?A.ctx.activate(m,C,L,H,B):Ee(m,C,L,A,D,H,B):be(v,m,B)},Ee=(v,m,C,L,A,D,H)=>{const N=v.component=Kd(v,L,A);if(Lr(v)&&(N.ctx.renderer=X),Yd(N),N.asyncDep){if(A&&A.registerDep(N,K),!v.el){const B=N.subTree=Ie(ut);w(null,B,m,C)}}else K(N,v,m,C,A,D,H)},be=(v,m,C)=>{const L=m.component=v.component;if(nd(v,m,C))if(L.asyncDep&&!L.asyncResolved){se(L,m,C);return}else L.next=m,Yf(L.update),L.effect.dirty=!0,L.update();else m.el=v.el,L.vnode=m},K=(v,m,C,L,A,D,H)=>{const N=()=>{if(v.isMounted){let{next:q,bu:ne,u:ee,parent:ie,vnode:ce}=v;{const _n=Wa(v);if(_n){q&&(q.el=ce.el,se(v,q,H)),_n.asyncDep.then(()=>{v.isUnmounted||N()});return}}let me=q,ke;Xt(v,!1),q?(q.el=ce.el,se(v,q,H)):q=ce,ne&&to(ne),(ke=q.props&&q.props.onVnodeBeforeUpdate)&&lt(ke,ie,q,ce),Xt(v,!0);const Fe=Po(v),pt=v.subTree;v.subTree=Fe,_(pt,Fe,d(pt.el),E(pt),v,A,D),q.el=Fe.el,me===null&&rd(v,Fe.el),ee&&Je(ee,A),(ke=q.props&&q.props.onVnodeUpdated)&&Je(()=>lt(ke,ie,q,ce),A)}else{let q;const{el:ne,props:ee}=m,{bm:ie,m:ce,parent:me}=v,ke=tr(m);if(Xt(v,!1),ie&&to(ie),!ke&&(q=ee&&ee.onVnodeBeforeMount)&&lt(q,me,m),Xt(v,!0),ne&&ge){const Fe=()=>{v.subTree=Po(v),ge(ne,v.subTree,v,A,null)};ke?m.type.__asyncLoader().then(()=>!v.isUnmounted&&Fe()):Fe()}else{const Fe=v.subTree=Po(v);_(null,Fe,C,L,v,A,D),m.el=Fe.el}if(ce&&Je(ce,A),!ke&&(q=ee&&ee.onVnodeMounted)){const Fe=m;Je(()=>lt(q,me,Fe),A)}(m.shapeFlag&256||me&&tr(me.vnode)&&me.vnode.shapeFlag&256)&&v.a&&Je(v.a,A),v.isMounted=!0,m=C=L=null}},B=v.effect=new Ds(N,at,()=>bo(P),v.scope),P=v.update=()=>{B.dirty&&B.run()};P.id=v.uid,Xt(v,!0),P()},se=(v,m,C)=>{m.component=v;const L=v.vnode.props;v.vnode=m,v.next=null,$d(v,m.props,L,C),Rd(v,m.children,C),un(),Tl(v),fn()},W=(v,m,C,L,A,D,H,N,B=!1)=>{const P=v&&v.children,q=v?v.shapeFlag:0,ne=m.children,{patchFlag:ee,shapeFlag:ie}=m;if(ee>0){if(ee&128){ot(P,ne,C,L,A,D,H,N,B);return}else if(ee&256){Se(P,ne,C,L,A,D,H,N,B);return}}ie&8?(q&16&&Q(P,A,D),ne!==P&&u(C,ne)):q&16?ie&16?ot(P,ne,C,L,A,D,H,N,B):Q(P,A,D,!0):(q&8&&u(C,""),ie&16&&O(ne,C,L,A,D,H,N,B))},Se=(v,m,C,L,A,D,H,N,B)=>{v=v||Tn,m=m||Tn;const P=v.length,q=m.length,ne=Math.min(P,q);let ee;for(ee=0;ee<ne;ee++){const ie=m[ee]=B?Bt(m[ee]):vt(m[ee]);_(v[ee],ie,C,null,A,D,H,N,B)}P>q?Q(v,A,D,!0,!1,ne):O(m,C,L,A,D,H,N,B,ne)},ot=(v,m,C,L,A,D,H,N,B)=>{let P=0;const q=m.length;let ne=v.length-1,ee=q-1;for(;P<=ne&&P<=ee;){const ie=v[P],ce=m[P]=B?Bt(m[P]):vt(m[P]);if(nn(ie,ce))_(ie,ce,C,null,A,D,H,N,B);else break;P++}for(;P<=ne&&P<=ee;){const ie=v[ne],ce=m[ee]=B?Bt(m[ee]):vt(m[ee]);if(nn(ie,ce))_(ie,ce,C,null,A,D,H,N,B);else break;ne--,ee--}if(P>ne){if(P<=ee){const ie=ee+1,ce=ie<q?m[ie].el:L;for(;P<=ee;)_(null,m[P]=B?Bt(m[P]):vt(m[P]),C,ce,A,D,H,N,B),P++}}else if(P>ee)for(;P<=ne;)Z(v[P],A,D,!0),P++;else{const ie=P,ce=P,me=new Map;for(P=ce;P<=ee;P++){const tt=m[P]=B?Bt(m[P]):vt(m[P]);tt.key!=null&&me.set(tt.key,P)}let ke,Fe=0;const pt=ee-ce+1;let _n=!1,ml=0;const Kn=new Array(pt);for(P=0;P<pt;P++)Kn[P]=0;for(P=ie;P<=ne;P++){const tt=v[P];if(Fe>=pt){Z(tt,A,D,!0);continue}let _t;if(tt.key!=null)_t=me.get(tt.key);else for(ke=ce;ke<=ee;ke++)if(Kn[ke-ce]===0&&nn(tt,m[ke])){_t=ke;break}_t===void 0?Z(tt,A,D,!0):(Kn[_t-ce]=P+1,_t>=ml?ml=_t:_n=!0,_(tt,m[_t],C,null,A,D,H,N,B),Fe++)}const gl=_n?Bd(Kn):Tn;for(ke=gl.length-1,P=pt-1;P>=0;P--){const tt=ce+P,_t=m[tt],yl=tt+1<q?m[tt+1].el:L;Kn[P]===0?_(null,_t,C,yl,A,D,H,N,B):_n&&(ke<0||P!==gl[ke]?Ye(_t,C,yl,2):ke--)}}},Ye=(v,m,C,L,A=null)=>{const{el:D,type:H,transition:N,children:B,shapeFlag:P}=v;if(P&6){Ye(v.component.subTree,m,C,L);return}if(P&128){v.suspense.move(m,C,L);return}if(P&64){H.move(v,m,C,X);return}if(H===Ue){r(D,m,C);for(let ne=0;ne<B.length;ne++)Ye(B[ne],m,C,L);r(v.anchor,m,C);return}if(H===or){y(v,m,C);return}if(L!==2&&P&1&&N)if(L===0)N.beforeEnter(D),r(D,m,C),Je(()=>N.enter(D),A);else{const{leave:ne,delayLeave:ee,afterLeave:ie}=N,ce=()=>r(D,m,C),me=()=>{ne(D,()=>{ce(),ie&&ie()})};ee?ee(D,ce,me):me()}else r(D,m,C)},Z=(v,m,C,L=!1,A=!1)=>{const{type:D,props:H,ref:N,children:B,dynamicChildren:P,shapeFlag:q,patchFlag:ne,dirs:ee}=v;if(N!=null&&uo(N,null,C,v,!0),q&256){m.ctx.deactivate(v);return}const ie=q&1&&ee,ce=!tr(v);let me;if(ce&&(me=H&&H.onVnodeBeforeUnmount)&&lt(me,m,v),q&6)te(v.component,C,L);else{if(q&128){v.suspense.unmount(C,L);return}ie&&wt(v,null,m,"beforeUnmount"),q&64?v.type.remove(v,m,C,A,X,L):P&&(D!==Ue||ne>0&&ne&64)?Q(P,m,C,!1,!0):(D===Ue&&ne&384||!A&&q&16)&&Q(B,m,C),L&&z(v)}(ce&&(me=H&&H.onVnodeUnmounted)||ie)&&Je(()=>{me&&lt(me,m,v),ie&&wt(v,null,m,"unmounted")},C)},z=v=>{const{type:m,el:C,anchor:L,transition:A}=v;if(m===Ue){G(C,L);return}if(m===or){k(v);return}const D=()=>{o(C),A&&!A.persisted&&A.afterLeave&&A.afterLeave()};if(v.shapeFlag&1&&A&&!A.persisted){const{leave:H,delayLeave:N}=A,B=()=>H(C,D);N?N(v.el,D,B):B()}else D()},G=(v,m)=>{let C;for(;v!==m;)C=p(v),o(v),v=C;o(m)},te=(v,m,C)=>{const{bum:L,scope:A,update:D,subTree:H,um:N}=v;L&&to(L),A.stop(),D&&(D.active=!1,Z(H,v,m,C)),N&&Je(N,m),Je(()=>{v.isUnmounted=!0},m),m&&m.pendingBranch&&!m.isUnmounted&&v.asyncDep&&!v.asyncResolved&&v.suspenseId===m.pendingId&&(m.deps--,m.deps===0&&m.resolve())},Q=(v,m,C,L=!1,A=!1,D=0)=>{for(let H=D;H<v.length;H++)Z(v[H],m,C,L,A)},E=v=>v.shapeFlag&6?E(v.component.subTree):v.shapeFlag&128?v.suspense.next():p(v.anchor||v.el);let j=!1;const F=(v,m,C)=>{v==null?m._vnode&&Z(m._vnode,null,null,!0):_(m._vnode||null,v,m,null,null,null,C),j||(j=!0,Tl(),io(),j=!1),m._vnode=v},X={p:_,um:Z,m:Ye,r:z,mt:Ee,mc:O,pc:W,pbc:$,n:E,o:e};let fe,ge;return t&&([fe,ge]=t(X)),{render:F,hydrate:fe,createApp:Ld(F,fe)}}function Do({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 Xt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Ua(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function qa(e,t,n=!1){const r=e.children,o=t.children;if(oe(r)&&oe(o))for(let s=0;s<r.length;s++){const l=r[s];let i=o[s];i.shapeFlag&1&&!i.dynamicChildren&&((i.patchFlag<=0||i.patchFlag===32)&&(i=o[s]=Bt(o[s]),i.el=l.el),n||qa(l,i)),i.type===Dn&&(i.el=l.el)}}function Bd(e){const t=e.slice(),n=[0];let r,o,s,l,i;const a=e.length;for(r=0;r<a;r++){const c=e[r];if(c!==0){if(o=n[n.length-1],e[o]<c){t[r]=o,n.push(r);continue}for(s=0,l=n.length-1;s<l;)i=s+l>>1,e[n[i]]<c?s=i+1:l=i;c<e[n[s]]&&(s>0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,l=n[s-1];s-- >0;)n[s]=l,l=t[l];return n}function Wa(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Wa(t)}const Hd=e=>e.__isTeleport,Ue=Symbol.for("v-fgt"),Dn=Symbol.for("v-txt"),ut=Symbol.for("v-cmt"),or=Symbol.for("v-stc"),sr=[];let mt=null;function yt(e=!1){sr.push(mt=e?null:[])}function Vd(){sr.pop(),mt=sr[sr.length-1]||null}let hr=1;function Fl(e){hr+=e}function Ga(e){return e.dynamicChildren=hr>0?mt||Tn:null,Vd(),hr>0&&mt&&mt.push(e),e}function Gt(e,t,n,r,o,s){return Ga(le(e,t,n,r,o,s,!0))}function Xs(e,t,n,r,o){return Ga(Ie(e,t,n,r,o,!0))}function hs(e){return e?e.__v_isVNode===!0:!1}function nn(e,t){return e.type===t.type&&e.key===t.key}const Co="__vInternal",Ka=({key:e})=>e??null,no=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Re(e)||Me(e)||ae(e)?{i:We,r:e,k:t,f:!!n}:e:null);function le(e,t=null,n=null,r=0,o=null,s=e===Ue?0:1,l=!1,i=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ka(t),ref:t&&no(t),scopeId:wo,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:We};return i?(Zs(a,n),s&128&&e.normalize(a)):n&&(a.shapeFlag|=Re(n)?8:16),hr>0&&!l&&mt&&(a.patchFlag>0||s&6)&&a.patchFlag!==32&&mt.push(a),a}const Ie=zd;function zd(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===od)&&(e=ut),hs(e)){const i=Kt(e,t,!0);return n&&Zs(i,n),hr>0&&!s&&mt&&(i.shapeFlag&6?mt[mt.indexOf(e)]=i:mt.push(i)),i.patchFlag|=-2,i}if(e1(e)&&(e=e.__vccOpts),t){t=Ud(t);let{class:i,style:a}=t;i&&!Re(i)&&(t.class=Ns(i)),_e(a)&&(ma(a)&&!oe(a)&&(a=Pe({},a)),t.style=Ms(a))}const l=Re(e)?1:ld(e)?128:Hd(e)?64:_e(e)?4:ae(e)?2:0;return le(e,t,n,r,o,l,s,!0)}function Ud(e){return e?ma(e)||Co in e?Pe({},e):e:null}function Kt(e,t,n=!1){const{props:r,ref:o,patchFlag:s,children:l}=e,i=t?qd(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:i,key:i&&Ka(i),ref:t&&t.ref?n&&o?oe(o)?o.concat(no(t)):[o,no(t)]:no(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ue?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Kt(e.ssContent),ssFallback:e.ssFallback&&Kt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function fo(e=" ",t=0){return Ie(Dn,null,e,t)}function nm(e,t){const n=Ie(or,null,e);return n.staticCount=t,n}function an(e="",t=!1){return t?(yt(),Xs(ut,null,e)):Ie(ut,null,e)}function vt(e){return e==null||typeof e=="boolean"?Ie(ut):oe(e)?Ie(Ue,null,e.slice()):typeof e=="object"?Bt(e):Ie(Dn,null,String(e))}function Bt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Kt(e)}function Zs(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(oe(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),Zs(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(Co in t)?t._ctx=We:o===3&&We&&(We.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ae(t)?(t={default:t,_ctx:We},n=32):(t=String(t),r&64?(n=16,t=[fo(t)]):n=8);e.children=t,e.shapeFlag|=n}function qd(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=Ns([t.class,r.class]));else if(o==="style")t.style=Ms([t.style,r.style]);else if(Er(o)){const s=t[o],l=r[o];l&&s!==l&&!(oe(s)&&s.includes(l))&&(t[o]=s?[].concat(s,l):l)}else o!==""&&(t[o]=r[o])}return t}function lt(e,t,n,r=null){ct(e,t,7,[n,r])}const Wd=ja();let Gd=0;function Kd(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||Wd,s={uid:Gd++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new gf(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Ba(r,o),emitsOptions:Sa(r,o),emit:null,emitted:null,propsDefaults:Ce,inheritAttrs:r.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 s.ctx={_:s},s.root=t?t.root:s,s.emit=Xf.bind(null,s),e.ce&&e.ce(s),s}let Be=null;const Ir=()=>Be||We;let po,vs;{const e=ea(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),s=>{o.length>1?o.forEach(l=>l(s)):o[0](s)}};po=t("__VUE_INSTANCE_SETTERS__",n=>Be=n),vs=t("__VUE_SSR_SETTERS__",n=>Or=n)}const $r=e=>{const t=Be;return po(e),e.scope.on(),()=>{e.scope.off(),po(t)}},Bl=()=>{Be&&Be.scope.off(),po(null)};function Ya(e){return e.vnode.shapeFlag&4}let Or=!1;function Yd(e,t=!1){t&&vs(t);const{props:n,children:r}=e.vnode,o=Ya(e);Id(e,n,o,t),Pd(e,r);const s=o?Jd(e,t):void 0;return t&&vs(!1),s}function Jd(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=ga(new Proxy(e.ctx,Ed));const{setup:r}=n;if(r){const o=e.setupContext=r.length>1?Xd(e):null,s=$r(e);un();const l=qt(r,e,0,[e.props,o]);if(fn(),s(),Qi(l)){if(l.then(Bl,Bl),t)return l.then(i=>{Hl(e,i,t)}).catch(i=>{kr(i,e,0)});e.asyncDep=l}else Hl(e,l,t)}else Ja(e,t)}function Hl(e,t,n){ae(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:_e(t)&&(e.setupState=_a(t)),Ja(e,n)}let Vl;function Ja(e,t,n){const r=e.type;if(!e.render){if(!t&&Vl&&!r.render){const o=r.template||Js(e).template;if(o){const{isCustomElement:s,compilerOptions:l}=e.appContext.config,{delimiters:i,compilerOptions:a}=r,c=Pe(Pe({isCustomElement:s,delimiters:i},l),a);r.render=Vl(o,c)}}e.render=r.render||at}{const o=$r(e);un();try{Cd(e)}finally{fn(),o()}}}function Qd(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Ze(e,"get","$attrs"),t[n]}}))}function Xd(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Qd(e)},slots:e.slots,emit:e.emit,expose:t}}function xo(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(_a(ga(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in nr)return nr[n](e)},has(t,n){return n in t||n in nr}}))}function Zd(e,t=!0){return ae(e)?e.displayName||e.name:e.name||t&&e.__name}function e1(e){return ae(e)&&"__vccOpts"in e}const T=(e,t)=>Bf(e,t,Or);function f(e,t,n){const r=arguments.length;return r===2?_e(t)&&!oe(t)?hs(t)?Ie(e,null,[t]):Ie(e,t):Ie(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&hs(n)&&(n=[n]),Ie(e,t,n))}const t1="3.4.21";/**
* @vue/runtime-dom v3.4.21
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const n1="http://www.w3.org/2000/svg",r1="http://www.w3.org/1998/Math/MathML",Ht=typeof document<"u"?document:null,zl=Ht&&Ht.createElement("template"),o1={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?Ht.createElementNS(n1,e):t==="mathml"?Ht.createElementNS(r1,e):Ht.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Ht.createTextNode(e),createComment:e=>Ht.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ht.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const l=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{zl.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const i=zl.content;if(r==="svg"||r==="mathml"){const a=i.firstChild;for(;a.firstChild;)i.appendChild(a.firstChild);i.removeChild(a)}t.insertBefore(i,n)}return[l?l.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Rt="transition",Yn="animation",jn=Symbol("_vtc"),Yt=(e,{slots:t})=>f(fd,Xa(e),t);Yt.displayName="Transition";const Qa={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},s1=Yt.props=Pe({},Oa,Qa),Zt=(e,t=[])=>{oe(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ul=e=>e?oe(e)?e.some(t=>t.length>1):e.length>1:!1;function Xa(e){const t={};for(const M in e)M in Qa||(t[M]=e[M]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:l=`${n}-enter-active`,enterToClass:i=`${n}-enter-to`,appearFromClass:a=s,appearActiveClass:c=l,appearToClass:u=i,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,g=l1(o),_=g&&g[0],b=g&&g[1],{onBeforeEnter:w,onEnter:x,onEnterCancelled:y,onLeave:k,onLeaveCancelled:R,onBeforeAppear:S=w,onAppear:I=x,onAppearCancelled:O=y}=t,J=(M,re,Ee)=>{Dt(M,re?u:i),Dt(M,re?c:l),Ee&&Ee()},$=(M,re)=>{M._isLeaving=!1,Dt(M,d),Dt(M,h),Dt(M,p),re&&re()},U=M=>(re,Ee)=>{const be=M?I:x,K=()=>J(re,M,Ee);Zt(be,[re,K]),ql(()=>{Dt(re,M?a:s),kt(re,M?u:i),Ul(be)||Wl(re,r,_,K)})};return Pe(t,{onBeforeEnter(M){Zt(w,[M]),kt(M,s),kt(M,l)},onBeforeAppear(M){Zt(S,[M]),kt(M,a),kt(M,c)},onEnter:U(!1),onAppear:U(!0),onLeave(M,re){M._isLeaving=!0;const Ee=()=>$(M,re);kt(M,d),ec(),kt(M,p),ql(()=>{M._isLeaving&&(Dt(M,d),kt(M,h),Ul(k)||Wl(M,r,b,Ee))}),Zt(k,[M,Ee])},onEnterCancelled(M){J(M,!1),Zt(y,[M])},onAppearCancelled(M){J(M,!0),Zt(O,[M])},onLeaveCancelled(M){$(M),Zt(R,[M])}})}function l1(e){if(e==null)return null;if(_e(e))return[jo(e.enter),jo(e.leave)];{const t=jo(e);return[t,t]}}function jo(e){return uf(e)}function kt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[jn]||(e[jn]=new Set)).add(t)}function Dt(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[jn];n&&(n.delete(t),n.size||(e[jn]=void 0))}function ql(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let i1=0;function Wl(e,t,n,r){const o=e._endId=++i1,s=()=>{o===e._endId&&r()};if(n)return setTimeout(s,n);const{type:l,timeout:i,propCount:a}=Za(e,t);if(!l)return r();const c=l+"end";let u=0;const d=()=>{e.removeEventListener(c,p),s()},p=h=>{h.target===e&&++u>=a&&d()};setTimeout(()=>{u<a&&d()},i+1),e.addEventListener(c,p)}function Za(e,t){const n=window.getComputedStyle(e),r=g=>(n[g]||"").split(", "),o=r(`${Rt}Delay`),s=r(`${Rt}Duration`),l=Gl(o,s),i=r(`${Yn}Delay`),a=r(`${Yn}Duration`),c=Gl(i,a);let u=null,d=0,p=0;t===Rt?l>0&&(u=Rt,d=l,p=s.length):t===Yn?c>0&&(u=Yn,d=c,p=a.length):(d=Math.max(l,c),u=d>0?l>c?Rt:Yn:null,p=u?u===Rt?s.length:a.length:0);const h=u===Rt&&/\b(transform|all)(,|$)/.test(r(`${Rt}Property`).toString());return{type:u,timeout:d,propCount:p,hasTransform:h}}function Gl(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>Kl(n)+Kl(e[r])))}function Kl(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function ec(){return document.body.offsetHeight}function a1(e,t,n){const r=e[jn];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Yl=Symbol("_vod"),c1=Symbol("_vsh"),u1=Symbol(""),f1=/(^|;)\s*display\s*:/;function d1(e,t,n){const r=e.style,o=Re(n);let s=!1;if(n&&!o){if(t)if(Re(t))for(const l of t.split(";")){const i=l.slice(0,l.indexOf(":")).trim();n[i]==null&&ro(r,i,"")}else for(const l in t)n[l]==null&&ro(r,l,"");for(const l in n)l==="display"&&(s=!0),ro(r,l,n[l])}else if(o){if(t!==n){const l=r[u1];l&&(n+=";"+l),r.cssText=n,s=f1.test(n)}}else t&&e.removeAttribute("style");Yl in e&&(e[Yl]=s?r.display:"",e[c1]&&(r.display="none"))}const Jl=/\s*!important$/;function ro(e,t,n){if(oe(n))n.forEach(r=>ro(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=p1(e,t);Jl.test(n)?e.setProperty(Un(r),n.replace(Jl,""),"important"):e[r]=n}}const Ql=["Webkit","Moz","ms"],Fo={};function p1(e,t){const n=Fo[t];if(n)return n;let r=dt(t);if(r!=="filter"&&r in e)return Fo[t]=r;r=Cr(r);for(let o=0;o<Ql.length;o++){const s=Ql[o]+r;if(s in e)return Fo[t]=s}return t}const Xl="http://www.w3.org/1999/xlink";function h1(e,t,n,r,o){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Xl,t.slice(6,t.length)):e.setAttributeNS(Xl,t,n);else{const s=mf(t);n==null||s&&!ta(n)?e.removeAttribute(t):e.setAttribute(t,s?"":n)}}function v1(e,t,n,r,o,s,l){if(t==="innerHTML"||t==="textContent"){r&&l(r,o,s),e[t]=n??"";return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const c=i==="OPTION"?e.getAttribute("value")||"":e.value,u=n??"";(c!==u||!("_value"in e))&&(e.value=u),n==null&&e.removeAttribute(t),e._value=n;return}let a=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=ta(n):n==null&&c==="string"?(n="",a=!0):c==="number"&&(n=0,a=!0)}try{e[t]=n}catch{}a&&e.removeAttribute(t)}function En(e,t,n,r){e.addEventListener(t,n,r)}function m1(e,t,n,r){e.removeEventListener(t,n,r)}const Zl=Symbol("_vei");function g1(e,t,n,r,o=null){const s=e[Zl]||(e[Zl]={}),l=s[t];if(r&&l)l.value=r;else{const[i,a]=y1(t);if(r){const c=s[t]=w1(r,o);En(e,i,c,a)}else l&&(m1(e,i,l,a),s[t]=void 0)}}const ei=/(?:Once|Passive|Capture)$/;function y1(e){let t;if(ei.test(e)){t={};let r;for(;r=e.match(ei);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Un(e.slice(2)),t]}let Bo=0;const b1=Promise.resolve(),_1=()=>Bo||(b1.then(()=>Bo=0),Bo=Date.now());function w1(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;ct(E1(r,n.value),t,5,[r])};return n.value=e,n.attached=_1(),n}function E1(e,t){if(oe(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const ti=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,C1=(e,t,n,r,o,s,l,i,a)=>{const c=o==="svg";t==="class"?a1(e,r,c):t==="style"?d1(e,n,r):Er(t)?Os(t)||g1(e,t,n,r,l):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):x1(e,t,r,c))?v1(e,t,r,s,l,i,a):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),h1(e,t,r,c))};function x1(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&ti(t)&&ae(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return ti(t)&&Re(n)?!1:t in e}const tc=new WeakMap,nc=new WeakMap,ho=Symbol("_moveCb"),ni=Symbol("_enterCb"),rc={name:"TransitionGroup",props:Pe({},s1,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Ir(),r=$a();let o,s;return Ma(()=>{if(!o.length)return;const l=e.moveClass||`${e.name||"v"}-move`;if(!I1(o[0].el,n.vnode.el,l))return;o.forEach(T1),o.forEach(A1);const i=o.filter(L1);ec(),i.forEach(a=>{const c=a.el,u=c.style;kt(c,l),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[ho]=p=>{p&&p.target!==c||(!p||/transform$/.test(p.propertyName))&&(c.removeEventListener("transitionend",d),c[ho]=null,Dt(c,l))};c.addEventListener("transitionend",d)})}),()=>{const l=ue(e),i=Xa(l);let a=l.tag||Ue;o=s,s=t.default?Ks(t.default()):[];for(let c=0;c<s.length;c++){const u=s[c];u.key!=null&&pr(u,dr(u,i,r,n))}if(o)for(let c=0;c<o.length;c++){const u=o[c];pr(u,dr(u,i,r,n)),tc.set(u,u.el.getBoundingClientRect())}return Ie(a,null,s)}}},S1=e=>delete e.mode;rc.props;const k1=rc;function T1(e){const t=e.el;t[ho]&&t[ho](),t[ni]&&t[ni]()}function A1(e){nc.set(e,e.el.getBoundingClientRect())}function L1(e){const t=tc.get(e),n=nc.get(e),r=t.left-n.left,o=t.top-n.top;if(r||o){const s=e.el.style;return s.transform=s.webkitTransform=`translate(${r}px,${o}px)`,s.transitionDuration="0s",e}}function I1(e,t,n){const r=e.cloneNode(),o=e[jn];o&&o.forEach(i=>{i.split(/\s+/).forEach(a=>a&&r.classList.remove(a))}),n.split(/\s+/).forEach(i=>i&&r.classList.add(i)),r.style.display="none";const s=t.nodeType===1?t:t.parentNode;s.appendChild(r);const{hasTransform:l}=Za(r);return s.removeChild(r),l}const ri=e=>{const t=e.props["onUpdate:modelValue"]||!1;return oe(t)?n=>to(t,n):t};function $1(e){e.target.composing=!0}function oi(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ho=Symbol("_assign"),oc={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[Ho]=ri(o);const s=r||o.props&&o.props.type==="number";En(e,t?"change":"input",l=>{if(l.target.composing)return;let i=e.value;n&&(i=i.trim()),s&&(i=ss(i)),e[Ho](i)}),n&&En(e,"change",()=>{e.value=e.value.trim()}),t||(En(e,"compositionstart",$1),En(e,"compositionend",oi),En(e,"change",oi))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:o}},s){if(e[Ho]=ri(s),e.composing)return;const l=o||e.type==="number"?ss(e.value):e.value,i=t??"";l!==i&&(document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===i)||(e.value=i))}},O1=Pe({patchProp:C1},o1);let Vo,si=!1;function P1(){return Vo=si?Vo:jd(O1),si=!0,Vo}const R1=(...e)=>{const t=P1().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=N1(r);if(o)return n(o,!0,M1(o))},t};function M1(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function N1(e){return Re(e)?document.querySelector(e):e}var D1=["link","meta","script","style","noscript","template"],j1=["title","base"],F1=([e,t,n])=>j1.includes(e)?e:D1.includes(e)?e==="meta"&&t.name?`${e}.${t.name}`:e==="template"&&t.id?`${e}.${t.id}`:JSON.stringify([e,Object.entries(t).map(([r,o])=>typeof o=="boolean"?o?[r,""]:null:[r,o]).filter(r=>r!=null).sort(([r],[o])=>r.localeCompare(o)),n]):null,B1=e=>{const t=new Set,n=[];return e.forEach(r=>{const o=F1(r);o&&!t.has(o)&&(t.add(o),n.push(r))}),n},H1=e=>e[0]==="/"?e:`/${e}`,sc=e=>e[e.length-1]==="/"||e.endsWith(".html")?e:`${e}/`,pn=e=>/^(https?:)?\/\//.test(e),V1=/.md((\?|#).*)?$/,Fn=(e,t="/")=>!!(pn(e)||e.startsWith("/")&&!e.startsWith(t)&&!V1.test(e)),lc=e=>/^[a-z][a-z0-9+.-]*:/.test(e),qn=e=>Object.prototype.toString.call(e)==="[object Object]",z1=e=>{const[t,...n]=e.split(/(\?|#)/);if(!t||t.endsWith("/"))return e;let r=t.replace(/(^|\/)README.md$/i,"$1index.html");return r.endsWith(".md")?r=r.substring(0,r.length-3)+".html":r.endsWith(".html")||(r=r+".html"),r.endsWith("/index.html")&&(r=r.substring(0,r.length-10)),r+n.join("")},el=e=>e[e.length-1]==="/"?e.slice(0,-1):e,ic=e=>e[0]==="/"?e.slice(1):e,U1=(e,t)=>{const n=Object.keys(e).sort((r,o)=>{const s=o.split("/").length-r.split("/").length;return s!==0?s:o.length-r.length});for(const r of n)if(t.startsWith(r))return r;return"/"},$e=e=>typeof e=="string";const q1="modulepreload",W1=function(e){return"/"+e},li={},Te=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){const s=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),i=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));o=Promise.all(n.map(a=>{if(a=W1(a),a in li)return;li[a]=!0;const c=a.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(!!r)for(let h=s.length-1;h>=0;h--){const g=s[h];if(g.href===a&&(!c||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${u}`))return;const p=document.createElement("link");if(p.rel=c?"stylesheet":q1,c||(p.as="script",p.crossOrigin=""),p.href=a,i&&p.setAttribute("nonce",i),document.head.appendChild(p),c)return new Promise((h,g)=>{p.addEventListener("load",h),p.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${a}`)))})}))}return o.then(()=>t()).catch(s=>{const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=s,window.dispatchEvent(l),!l.defaultPrevented)throw s})},G1=JSON.parse("{}"),K1=Object.fromEntries([["/",{loader:()=>Te(()=>import("./index.html-BP4waE0H.js"),__vite__mapDeps([])),meta:{t:"首页",i:"home"}}],["/childrensdaybak.html",{loader:()=>Te(()=>import("./childrensdaybak.html-DZYQOqlK.js"),__vite__mapDeps([])),meta:{t:"首页",i:"home"}}],["/foolsday.html",{loader:()=>Te(()=>import("./foolsday.html-DpX87ZNc.js"),__vite__mapDeps([])),meta:{t:"首页",i:"home"}}],["/deployment/",{loader:()=>Te(()=>import("./index.html-BwDnST37.js"),__vite__mapDeps([])),meta:{t:"项目部署",i:"laptop-code"}}],["/deployment/config.html",{loader:()=>Te(()=>import("./config.html-BM_usjPr.js"),__vite__mapDeps([])),meta:{t:"配置",i:"cog",O:2}}],["/deployment/fandq.html",{loader:()=>Te(()=>import("./fandq.html-CEKHsS6-.js"),__vite__mapDeps([])),meta:{t:"答疑",i:"question",O:3}}],["/deployment/install.html",{loader:()=>Te(()=>import("./install.html-BNSgwuVw.js"),__vite__mapDeps([])),meta:{t:"安装",i:"download",O:1}}],["/dev/",{loader:()=>Te(()=>import("./index.html-BCqO_qAu.js"),__vite__mapDeps([])),meta:{t:"开发及贡献",i:"laptop-code"}}],["/dev/dev_comm.html",{loader:()=>Te(()=>import("./dev_comm.html-BRHiTW1g.js"),__vite__mapDeps([])),meta:{t:"进程通信",i:"exchange-alt",O:4}}],["/dev/dev_lyfunc.html",{loader:()=>Te(()=>import("./dev_lyfunc.html-BY3dKSE-.js"),__vite__mapDeps([])),meta:{t:"轻雪函数",i:"code",O:2}}],["/dev/dev_lyplugin.html",{loader:()=>Te(()=>import("./dev_lyplugin.html-LWtbaB3T.js"),__vite__mapDeps([])),meta:{t:"轻雪插件开发",i:"laptop-code",O:3}}],["/dev/dev_resource_pack.html",{loader:()=>Te(()=>import("./dev_resource_pack.html-C7xo68U4.js"),__vite__mapDeps([])),meta:{t:"资源包开发",i:"box",O:1}}],["/store/",{loader:()=>Te(()=>import("./index.html-CR41w2U3.js"),__vite__mapDeps([])),meta:{t:"资源及插件商店",i:"store"}}],["/store/plugin.html",{loader:()=>Te(()=>import("./plugin.html-CGMdW7x-.js"),__vite__mapDeps([])),meta:{t:"插件商店",i:"plug",O:2}}],["/store/resource.html",{loader:()=>Te(()=>import("./resource.html-Bl4_asW-.js"),__vite__mapDeps([])),meta:{t:"资源商店",i:"box",O:1}}],["/usage/",{loader:()=>Te(()=>import("./index.html-DwX0q-gv.js"),__vite__mapDeps([])),meta:{t:"使用手册",i:"laptop-code"}}],["/usage/agreement.html",{loader:()=>Te(()=>import("./agreement.html-BU8h4yj7.js"),__vite__mapDeps([])),meta:{t:"用户协议",i:"user-secret",O:3}}],["/usage/basic_command.html",{loader:()=>Te(()=>import("./basic_command.html-BQZknJkL.js"),__vite__mapDeps([])),meta:{t:"基础命令",i:"comment",O:1}}],["/usage/extra_command.html",{loader:()=>Te(()=>import("./extra_command.html-DVQZX7ci.js"),__vite__mapDeps([])),meta:{t:"功能命令",i:"comment",O:2}}],["/usage/lyapi.html",{loader:()=>Te(()=>import("./lyapi.html-C998cJYV.js"),__vite__mapDeps([])),meta:{t:"轻雪API",i:"code",O:5}}],["/404.html",{loader:()=>Te(()=>import("./404.html-TQu7ZTUo.js"),__vite__mapDeps([])),meta:{t:""}}]]);/*!
* vue-router v4.4.0
* (c) 2024 Eduardo San Martin Morote
* @license MIT
*/const Cn=typeof document<"u";function Y1(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const ve=Object.assign;function zo(e,t){const n={};for(const r in t){const o=t[r];n[r]=bt(o)?o.map(e):e(o)}return n}const lr=()=>{},bt=Array.isArray,ac=/#/g,J1=/&/g,Q1=/\//g,X1=/=/g,Z1=/\?/g,cc=/\+/g,ep=/%5B/g,tp=/%5D/g,uc=/%5E/g,np=/%60/g,fc=/%7B/g,rp=/%7C/g,dc=/%7D/g,op=/%20/g;function tl(e){return encodeURI(""+e).replace(rp,"|").replace(ep,"[").replace(tp,"]")}function sp(e){return tl(e).replace(fc,"{").replace(dc,"}").replace(uc,"^")}function ms(e){return tl(e).replace(cc,"%2B").replace(op,"+").replace(ac,"%23").replace(J1,"%26").replace(np,"`").replace(fc,"{").replace(dc,"}").replace(uc,"^")}function lp(e){return ms(e).replace(X1,"%3D")}function ip(e){return tl(e).replace(ac,"%23").replace(Z1,"%3F")}function ap(e){return e==null?"":ip(e).replace(Q1,"%2F")}function vr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const cp=/\/$/,up=e=>e.replace(cp,"");function Uo(e,t,n="/"){let r,o={},s="",l="";const i=t.indexOf("#");let a=t.indexOf("?");return i<a&&i>=0&&(a=-1),a>-1&&(r=t.slice(0,a),s=t.slice(a+1,i>-1?i:t.length),o=e(s)),i>-1&&(r=r||t.slice(0,i),l=t.slice(i,t.length)),r=hp(r??t,n),{fullPath:r+(s&&"?")+s+l,path:r,query:o,hash:vr(l)}}function fp(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function ii(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function dp(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&Bn(t.matched[r],n.matched[o])&&pc(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Bn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function pc(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!pp(e[n],t[n]))return!1;return!0}function pp(e,t){return bt(e)?ai(e,t):bt(t)?ai(t,e):e===t}function ai(e,t){return bt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function hp(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let s=n.length-1,l,i;for(l=0;l<r.length;l++)if(i=r[l],i!==".")if(i==="..")s>1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(l).join("/")}const Tt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var mr;(function(e){e.pop="pop",e.push="push"})(mr||(mr={}));var ir;(function(e){e.back="back",e.forward="forward",e.unknown=""})(ir||(ir={}));function vp(e){if(!e)if(Cn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),up(e)}const mp=/^[^#]+#/;function gp(e,t){return e.replace(mp,"#")+t}function yp(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const So=()=>({left:window.scrollX,top:window.scrollY});function bp(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=yp(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function ci(e,t){return(history.state?history.state.position-t:-1)+e}const gs=new Map;function _p(e,t){gs.set(e,t)}function wp(e){const t=gs.get(e);return gs.delete(e),t}let Ep=()=>location.protocol+"//"+location.host;function hc(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let i=o.includes(e.slice(s))?e.slice(s).length:1,a=o.slice(i);return a[0]!=="/"&&(a="/"+a),ii(a,"")}return ii(n,e)+r+o}function Cp(e,t,n,r){let o=[],s=[],l=null;const i=({state:p})=>{const h=hc(e,location),g=n.value,_=t.value;let b=0;if(p){if(n.value=h,t.value=p,l&&l===g){l=null;return}b=_?p.position-_.position:0}else r(h);o.forEach(w=>{w(n.value,g,{delta:b,type:mr.pop,direction:b?b>0?ir.forward:ir.back:ir.unknown})})};function a(){l=n.value}function c(p){o.push(p);const h=()=>{const g=o.indexOf(p);g>-1&&o.splice(g,1)};return s.push(h),h}function u(){const{history:p}=window;p.state&&p.replaceState(ve({},p.state,{scroll:So()}),"")}function d(){for(const p of s)p();s=[],window.removeEventListener("popstate",i),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",i),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:a,listen:c,destroy:d}}function ui(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?So():null}}function xp(e){const{history:t,location:n}=window,r={value:hc(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(a,c,u){const d=e.indexOf("#"),p=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+a:Ep()+e+a;try{t[u?"replaceState":"pushState"](c,"",p),o.value=c}catch(h){console.error(h),n[u?"replace":"assign"](p)}}function l(a,c){const u=ve({},t.state,ui(o.value.back,a,o.value.forward,!0),c,{position:o.value.position});s(a,u,!0),r.value=a}function i(a,c){const u=ve({},o.value,t.state,{forward:a,scroll:So()});s(u.current,u,!0);const d=ve({},ui(r.value,a,null),{position:u.position+1},c);s(a,d,!1),r.value=a}return{location:r,state:o,push:i,replace:l}}function Sp(e){e=vp(e);const t=xp(e),n=Cp(e,t.state,t.location,t.replace);function r(s,l=!0){l||n.pauseListeners(),history.go(s)}const o=ve({location:"",base:e,go:r,createHref:gp.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function kp(e){return typeof e=="string"||e&&typeof e=="object"}function vc(e){return typeof e=="string"||typeof e=="symbol"}const mc=Symbol("");var fi;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(fi||(fi={}));function Hn(e,t){return ve(new Error,{type:e,[mc]:!0},t)}function St(e,t){return e instanceof Error&&mc in e&&(t==null||!!(e.type&t))}const di="[^/]+?",Tp={sensitive:!1,strict:!1,start:!0,end:!0},Ap=/[.+*?^${}()[\]/\\]/g;function Lp(e,t){const n=ve({},Tp,t),r=[];let o=n.start?"^":"";const s=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(o+="/");for(let d=0;d<c.length;d++){const p=c[d];let h=40+(n.sensitive?.25:0);if(p.type===0)d||(o+="/"),o+=p.value.replace(Ap,"\\$&"),h+=40;else if(p.type===1){const{value:g,repeatable:_,optional:b,regexp:w}=p;s.push({name:g,repeatable:_,optional:b});const x=w||di;if(x!==di){h+=10;try{new RegExp(`(${x})`)}catch(k){throw new Error(`Invalid custom RegExp for param "${g}" (${x}): `+k.message)}}let y=_?`((?:${x})(?:/(?:${x}))*)`:`(${x})`;d||(y=b&&c.length<2?`(?:/${y})`:"/"+y),b&&(y+="?"),o+=y,h+=20,b&&(h+=-8),_&&(h+=-20),x===".*"&&(h+=-50)}u.push(h)}r.push(u)}if(n.strict&&n.end){const c=r.length-1;r[c][r[c].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&(o+="(?:/|$)");const l=new RegExp(o,n.sensitive?"":"i");function i(c){const u=c.match(l),d={};if(!u)return null;for(let p=1;p<u.length;p++){const h=u[p]||"",g=s[p-1];d[g.name]=h&&g.repeatable?h.split("/"):h}return d}function a(c){let u="",d=!1;for(const p of e){(!d||!u.endsWith("/"))&&(u+="/"),d=!1;for(const h of p)if(h.type===0)u+=h.value;else if(h.type===1){const{value:g,repeatable:_,optional:b}=h,w=g in c?c[g]:"";if(bt(w)&&!_)throw new Error(`Provided param "${g}" is an array but it is not repeatable (* or + modifiers)`);const x=bt(w)?w.join("/"):w;if(!x)if(b)p.length<2&&(u.endsWith("/")?u=u.slice(0,-1):d=!0);else throw new Error(`Missing required param "${g}"`);u+=x}}return u||"/"}return{re:l,score:r,keys:s,parse:i,stringify:a}}function Ip(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function gc(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const s=Ip(r[n],o[n]);if(s)return s;n++}if(Math.abs(o.length-r.length)===1){if(pi(r))return 1;if(pi(o))return-1}return o.length-r.length}function pi(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const $p={type:0,value:""},Op=/[a-zA-Z0-9_]/;function Pp(e){if(!e)return[[]];if(e==="/")return[[$p]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${c}": ${h}`)}let n=0,r=n;const o=[];let s;function l(){s&&o.push(s),s=[]}let i=0,a,c="",u="";function d(){c&&(n===0?s.push({type:0,value:c}):n===1||n===2||n===3?(s.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:c,regexp:u,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),c="")}function p(){c+=a}for(;i<e.length;){if(a=e[i++],a==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:a==="/"?(c&&d(),l()):a===":"?(d(),n=1):p();break;case 4:p(),n=r;break;case 1:a==="("?n=2:Op.test(a)?p():(d(),n=0,a!=="*"&&a!=="?"&&a!=="+"&&i--);break;case 2:a===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+a:n=3:u+=a;break;case 3:d(),n=0,a!=="*"&&a!=="?"&&a!=="+"&&i--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),d(),l(),o}function Rp(e,t,n){const r=Lp(Pp(e.path),n),o=ve(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function Mp(e,t){const n=[],r=new Map;t=mi({strict:!1,end:!0,sensitive:!1},t);function o(d){return r.get(d)}function s(d,p,h){const g=!h,_=Np(d);_.aliasOf=h&&h.record;const b=mi(t,d),w=[_];if("alias"in d){const k=typeof d.alias=="string"?[d.alias]:d.alias;for(const R of k)w.push(ve({},_,{components:h?h.record.components:_.components,path:R,aliasOf:h?h.record:_}))}let x,y;for(const k of w){const{path:R}=k;if(p&&R[0]!=="/"){const S=p.record.path,I=S[S.length-1]==="/"?"":"/";k.path=p.record.path+(R&&I+R)}if(x=Rp(k,p,b),h?h.alias.push(x):(y=y||x,y!==x&&y.alias.push(x),g&&d.name&&!vi(x)&&l(d.name)),yc(x)&&a(x),_.children){const S=_.children;for(let I=0;I<S.length;I++)s(S[I],x,h&&h.children[I])}h=h||x}return y?()=>{l(y)}:lr}function l(d){if(vc(d)){const p=r.get(d);p&&(r.delete(d),n.splice(n.indexOf(p),1),p.children.forEach(l),p.alias.forEach(l))}else{const p=n.indexOf(d);p>-1&&(n.splice(p,1),d.record.name&&r.delete(d.record.name),d.children.forEach(l),d.alias.forEach(l))}}function i(){return n}function a(d){const p=Fp(d,n);n.splice(p,0,d),d.record.name&&!vi(d)&&r.set(d.record.name,d)}function c(d,p){let h,g={},_,b;if("name"in d&&d.name){if(h=r.get(d.name),!h)throw Hn(1,{location:d});b=h.record.name,g=ve(hi(p.params,h.keys.filter(y=>!y.optional).concat(h.parent?h.parent.keys.filter(y=>y.optional):[]).map(y=>y.name)),d.params&&hi(d.params,h.keys.map(y=>y.name))),_=h.stringify(g)}else if(d.path!=null)_=d.path,h=n.find(y=>y.re.test(_)),h&&(g=h.parse(_),b=h.record.name);else{if(h=p.name?r.get(p.name):n.find(y=>y.re.test(p.path)),!h)throw Hn(1,{location:d,currentLocation:p});b=h.record.name,g=ve({},p.params,d.params),_=h.stringify(g)}const w=[];let x=h;for(;x;)w.unshift(x.record),x=x.parent;return{name:b,path:_,params:g,matched:w,meta:jp(w)}}e.forEach(d=>s(d));function u(){n.length=0,r.clear()}return{addRoute:s,resolve:c,removeRoute:l,clearRoutes:u,getRoutes:i,getRecordMatcher:o}}function hi(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Np(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Dp(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 Dp(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function vi(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function jp(e){return e.reduce((t,n)=>ve(t,n.meta),{})}function mi(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Fp(e,t){let n=0,r=t.length;for(;n!==r;){const s=n+r>>1;gc(e,t[s])<0?r=s:n=s+1}const o=Bp(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function Bp(e){let t=e;for(;t=t.parent;)if(yc(t)&&gc(e,t)===0)return t}function yc({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Hp(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;o<r.length;++o){const s=r[o].replace(cc," "),l=s.indexOf("="),i=vr(l<0?s:s.slice(0,l)),a=l<0?null:vr(s.slice(l+1));if(i in t){let c=t[i];bt(c)||(c=t[i]=[c]),c.push(a)}else t[i]=a}return t}function gi(e){let t="";for(let n in e){const r=e[n];if(n=lp(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(bt(r)?r.map(s=>s&&ms(s)):[r&&ms(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function Vp(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=bt(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const zp=Symbol(""),yi=Symbol(""),ko=Symbol(""),nl=Symbol(""),ys=Symbol("");function Jn(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Vt(e,t,n,r,o,s=l=>l()){const l=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((i,a)=>{const c=p=>{p===!1?a(Hn(4,{from:n,to:t})):p instanceof Error?a(p):kp(p)?a(Hn(2,{from:t,to:p})):(l&&r.enterCallbacks[o]===l&&typeof p=="function"&&l.push(p),i())},u=s(()=>e.call(r&&r.instances[o],t,n,c));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch(p=>a(p))})}function qo(e,t,n,r,o=s=>s()){const s=[];for(const l of e)for(const i in l.components){let a=l.components[i];if(!(t!=="beforeRouteEnter"&&!l.instances[i]))if(Up(a)){const u=(a.__vccOpts||a)[t];u&&s.push(Vt(u,n,r,l,i,o))}else{let c=a();s.push(()=>c.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${l.path}"`));const d=Y1(u)?u.default:u;l.components[i]=d;const h=(d.__vccOpts||d)[t];return h&&Vt(h,n,r,l,i,o)()}))}}return s}function Up(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function bi(e){const t=De(ko),n=De(nl),r=T(()=>{const a=rt(e.to);return t.resolve(a)}),o=T(()=>{const{matched:a}=r.value,{length:c}=a,u=a[c-1],d=n.matched;if(!u||!d.length)return-1;const p=d.findIndex(Bn.bind(null,u));if(p>-1)return p;const h=_i(a[c-2]);return c>1&&_i(u)===h&&d[d.length-1].path!==h?d.findIndex(Bn.bind(null,a[c-2])):p}),s=T(()=>o.value>-1&&Kp(n.params,r.value.params)),l=T(()=>o.value>-1&&o.value===n.matched.length-1&&pc(n.params,r.value.params));function i(a={}){return Gp(a)?t[rt(e.replace)?"replace":"push"](rt(e.to)).catch(lr):Promise.resolve()}return{route:r,href:T(()=>r.value.href),isActive:s,isExactActive:l,navigate:i}}const qp=V({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:bi,setup(e,{slots:t}){const n=xr(bi(e)),{options:r}=De(ko),o=T(()=>({[wi(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[wi(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&t.default(n);return e.custom?s:f("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}}),Wp=qp;function Gp(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 Kp(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!bt(o)||o.length!==r.length||r.some((s,l)=>s!==o[l]))return!1}return!0}function _i(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const wi=(e,t,n)=>e??t??n,Yp=V({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=De(ys),o=T(()=>e.route||r.value),s=De(yi,0),l=T(()=>{let c=rt(s);const{matched:u}=o.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),i=T(()=>o.value.matched[l.value]);On(yi,T(()=>l.value+1)),On(zp,i),On(ys,o);const a=Y();return he(()=>[a.value,i.value,e.name],([c,u,d],[p,h,g])=>{u&&(u.instances[d]=c,h&&h!==u&&c&&c===p&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),c&&u&&(!h||!Bn(u,h)||!p)&&(u.enterCallbacks[d]||[]).forEach(_=>_(c))},{flush:"post"}),()=>{const c=o.value,u=e.name,d=i.value,p=d&&d.components[u];if(!p)return Ei(n.default,{Component:p,route:c});const h=d.props[u],g=h?h===!0?c.params:typeof h=="function"?h(c):h:null,b=f(p,ve({},g,t,{onVnodeUnmounted:w=>{w.component.isUnmounted&&(d.instances[u]=null)},ref:a}));return Ei(n.default,{Component:b,route:c})||b}}});function Ei(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Jp=Yp;function Qp(e){const t=Mp(e.routes,e),n=e.parseQuery||Hp,r=e.stringifyQuery||gi,o=e.history,s=Jn(),l=Jn(),i=Jn(),a=je(Tt);let c=Tt;Cn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=zo.bind(null,E=>""+E),d=zo.bind(null,ap),p=zo.bind(null,vr);function h(E,j){let F,X;return vc(E)?(F=t.getRecordMatcher(E),X=j):X=E,t.addRoute(X,F)}function g(E){const j=t.getRecordMatcher(E);j&&t.removeRoute(j)}function _(){return t.getRoutes().map(E=>E.record)}function b(E){return!!t.getRecordMatcher(E)}function w(E,j){if(j=ve({},j||a.value),typeof E=="string"){const m=Uo(n,E,j.path),C=t.resolve({path:m.path},j),L=o.createHref(m.fullPath);return ve(m,C,{params:p(C.params),hash:vr(m.hash),redirectedFrom:void 0,href:L})}let F;if(E.path!=null)F=ve({},E,{path:Uo(n,E.path,j.path).path});else{const m=ve({},E.params);for(const C in m)m[C]==null&&delete m[C];F=ve({},E,{params:d(m)}),j.params=d(j.params)}const X=t.resolve(F,j),fe=E.hash||"";X.params=u(p(X.params));const ge=fp(r,ve({},E,{hash:sp(fe),path:X.path})),v=o.createHref(ge);return ve({fullPath:ge,hash:fe,query:r===gi?Vp(E.query):E.query||{}},X,{redirectedFrom:void 0,href:v})}function x(E){return typeof E=="string"?Uo(n,E,a.value.path):ve({},E)}function y(E,j){if(c!==E)return Hn(8,{from:j,to:E})}function k(E){return I(E)}function R(E){return k(ve(x(E),{replace:!0}))}function S(E){const j=E.matched[E.matched.length-1];if(j&&j.redirect){const{redirect:F}=j;let X=typeof F=="function"?F(E):F;return typeof X=="string"&&(X=X.includes("?")||X.includes("#")?X=x(X):{path:X},X.params={}),ve({query:E.query,hash:E.hash,params:X.path!=null?{}:E.params},X)}}function I(E,j){const F=c=w(E),X=a.value,fe=E.state,ge=E.force,v=E.replace===!0,m=S(F);if(m)return I(ve(x(m),{state:typeof m=="object"?ve({},fe,m.state):fe,force:ge,replace:v}),j||F);const C=F;C.redirectedFrom=j;let L;return!ge&&dp(r,X,F)&&(L=Hn(16,{to:C,from:X}),Ye(X,X,!0,!1)),(L?Promise.resolve(L):$(C,X)).catch(A=>St(A)?St(A,2)?A:ot(A):W(A,C,X)).then(A=>{if(A){if(St(A,2))return I(ve({replace:v},x(A.to),{state:typeof A.to=="object"?ve({},fe,A.to.state):fe,force:ge}),j||C)}else A=M(C,X,!0,v,fe);return U(C,X,A),A})}function O(E,j){const F=y(E,j);return F?Promise.reject(F):Promise.resolve()}function J(E){const j=G.values().next().value;return j&&typeof j.runWithContext=="function"?j.runWithContext(E):E()}function $(E,j){let F;const[X,fe,ge]=Xp(E,j);F=qo(X.reverse(),"beforeRouteLeave",E,j);for(const m of X)m.leaveGuards.forEach(C=>{F.push(Vt(C,E,j))});const v=O.bind(null,E,j);return F.push(v),Q(F).then(()=>{F=[];for(const m of s.list())F.push(Vt(m,E,j));return F.push(v),Q(F)}).then(()=>{F=qo(fe,"beforeRouteUpdate",E,j);for(const m of fe)m.updateGuards.forEach(C=>{F.push(Vt(C,E,j))});return F.push(v),Q(F)}).then(()=>{F=[];for(const m of ge)if(m.beforeEnter)if(bt(m.beforeEnter))for(const C of m.beforeEnter)F.push(Vt(C,E,j));else F.push(Vt(m.beforeEnter,E,j));return F.push(v),Q(F)}).then(()=>(E.matched.forEach(m=>m.enterCallbacks={}),F=qo(ge,"beforeRouteEnter",E,j,J),F.push(v),Q(F))).then(()=>{F=[];for(const m of l.list())F.push(Vt(m,E,j));return F.push(v),Q(F)}).catch(m=>St(m,8)?m:Promise.reject(m))}function U(E,j,F){i.list().forEach(X=>J(()=>X(E,j,F)))}function M(E,j,F,X,fe){const ge=y(E,j);if(ge)return ge;const v=j===Tt,m=Cn?history.state:{};F&&(X||v?o.replace(E.fullPath,ve({scroll:v&&m&&m.scroll},fe)):o.push(E.fullPath,fe)),a.value=E,Ye(E,j,F,v),ot()}let re;function Ee(){re||(re=o.listen((E,j,F)=>{if(!te.listening)return;const X=w(E),fe=S(X);if(fe){I(ve(fe,{replace:!0}),X).catch(lr);return}c=X;const ge=a.value;Cn&&_p(ci(ge.fullPath,F.delta),So()),$(X,ge).catch(v=>St(v,12)?v:St(v,2)?(I(v.to,X).then(m=>{St(m,20)&&!F.delta&&F.type===mr.pop&&o.go(-1,!1)}).catch(lr),Promise.reject()):(F.delta&&o.go(-F.delta,!1),W(v,X,ge))).then(v=>{v=v||M(X,ge,!1),v&&(F.delta&&!St(v,8)?o.go(-F.delta,!1):F.type===mr.pop&&St(v,20)&&o.go(-1,!1)),U(X,ge,v)}).catch(lr)}))}let be=Jn(),K=Jn(),se;function W(E,j,F){ot(E);const X=K.list();return X.length?X.forEach(fe=>fe(E,j,F)):console.error(E),Promise.reject(E)}function Se(){return se&&a.value!==Tt?Promise.resolve():new Promise((E,j)=>{be.add([E,j])})}function ot(E){return se||(se=!E,Ee(),be.list().forEach(([j,F])=>E?F(E):j()),be.reset()),E}function Ye(E,j,F,X){const{scrollBehavior:fe}=e;if(!Cn||!fe)return Promise.resolve();const ge=!F&&wp(ci(E.fullPath,0))||(X||!F)&&history.state&&history.state.scroll||null;return Jt().then(()=>fe(E,j,ge)).then(v=>v&&bp(v)).catch(v=>W(v,E,j))}const Z=E=>o.go(E);let z;const G=new Set,te={currentRoute:a,listening:!0,addRoute:h,removeRoute:g,clearRoutes:t.clearRoutes,hasRoute:b,getRoutes:_,resolve:w,options:e,push:k,replace:R,go:Z,back:()=>Z(-1),forward:()=>Z(1),beforeEach:s.add,beforeResolve:l.add,afterEach:i.add,onError:K.add,isReady:Se,install(E){const j=this;E.component("RouterLink",Wp),E.component("RouterView",Jp),E.config.globalProperties.$router=j,Object.defineProperty(E.config.globalProperties,"$route",{enumerable:!0,get:()=>rt(a)}),Cn&&!z&&a.value===Tt&&(z=!0,k(o.location).catch(fe=>{}));const F={};for(const fe in Tt)Object.defineProperty(F,fe,{get:()=>a.value[fe],enumerable:!0});E.provide(ko,j),E.provide(nl,va(F)),E.provide(ys,a);const X=E.unmount;G.add(E),E.unmount=function(){G.delete(E),G.size<1&&(c=Tt,re&&re(),re=null,a.value=Tt,z=!1,se=!1),X()}}};function Q(E){return E.reduce((j,F)=>j.then(()=>J(F)),Promise.resolve())}return te}function Xp(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let l=0;l<s;l++){const i=t.matched[l];i&&(e.matched.find(c=>Bn(c,i))?r.push(i):n.push(i));const a=e.matched[l];a&&(t.matched.find(c=>Bn(c,a))||o.push(a))}return[n,r,o]}function hn(){return De(ko)}function vn(e){return De(nl)}var rl=Symbol(""),xt=()=>{const e=De(rl);if(!e)throw new Error("useClientData() is called without provider.");return e},Zp=()=>xt().pageComponent,Ae=()=>xt().pageData,Le=()=>xt().pageFrontmatter,e0=()=>xt().pageHead,ol=()=>xt().pageLang,t0=()=>xt().pageLayout,mn=()=>xt().routeLocale,n0=()=>xt().routes,bc=()=>xt().siteData,sl=()=>xt().siteLocaleData,r0=Symbol(""),bs=je(G1),gr=je(K1),_c=e=>{const t=z1(e);if(gr.value[t])return t;const n=encodeURI(t);return gr.value[n]?n:bs.value[t]||bs.value[n]||t},To=e=>{const t=_c(e),n=gr.value[t]??{...gr.value["/404.html"],notFound:!0};return{path:t,notFound:!1,...n}},Ao=V({name:"ClientOnly",setup(e,t){const n=Y(!1);return we(()=>{n.value=!0}),()=>{var r,o;return n.value?(o=(r=t.slots).default)==null?void 0:o.call(r):null}}}),wc=V({name:"Content",props:{path:{type:String,required:!1,default:""}},setup(e){const t=Zp(),n=T(()=>{if(!e.path)return t.value;const r=To(e.path);return dd(()=>r.loader().then(({comp:o})=>o))});return()=>f(n.value)}}),et=(e={})=>e,Ge=e=>pn(e)?e:`/${ic(e)}`,o0=e=>{if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget){const t=e.currentTarget.getAttribute("target");if(t!=null&&t.match(/\b_blank\b/i))return}return e.preventDefault(),!0}},Qe=({active:e=!1,activeClass:t="route-link-active",to:n,...r},{slots:o})=>{var a;const s=hn(),l=_c(n),i=l.startsWith("#")||l.startsWith("?")?l:Ge(l);return f("a",{...r,class:["route-link",{[t]:e}],href:i,onClick:(c={})=>{o0(c)?s.push(n).catch():Promise.resolve()}},(a=o.default)==null?void 0:a.call(o))};Qe.displayName="RouteLink";Qe.props={active:Boolean,activeClass:String,to:String};var s0="Layout",l0="en-US",en=xr({resolveLayouts:e=>e.reduce((t,n)=>({...t,...n.layouts}),{}),resolvePageHead:(e,t,n)=>{const r=$e(t.description)?t.description:n.description,o=[...Array.isArray(t.head)?t.head:[],...n.head,["title",{},e],["meta",{name:"description",content:r}]];return B1(o)},resolvePageHeadTitle:(e,t)=>[e.title,t.title].filter(n=>!!n).join(" | "),resolvePageLang:(e,t)=>e.lang||t.lang||l0,resolvePageLayout:(e,t)=>{const n=$e(e.frontmatter.layout)?e.frontmatter.layout:s0;if(!t[n])throw new Error(`[vuepress] Cannot resolve layout: ${n}`);return t[n]},resolveRouteLocale:(e,t)=>U1(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 i0={},Pr=e=>{const t=mn();return T(()=>e[t.value]??{})};var qe=Uint8Array,Sn=Uint16Array,a0=Int32Array,Ec=new qe([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),Cc=new qe([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),c0=new qe([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),xc=function(e,t){for(var n=new Sn(31),r=0;r<31;++r)n[r]=t+=1<<e[r-1];for(var o=new a0(n[30]),r=1;r<30;++r)for(var s=n[r];s<n[r+1];++s)o[s]=s-n[r]<<5|r;return{b:n,r:o}},Sc=xc(Ec,2),kc=Sc.b,u0=Sc.r;kc[28]=258,u0[258]=28;var f0=xc(Cc,0),d0=f0.b,_s=new Sn(32768);for(var xe=0;xe<32768;++xe){var Mt=(xe&43690)>>1|(xe&21845)<<1;Mt=(Mt&52428)>>2|(Mt&13107)<<2,Mt=(Mt&61680)>>4|(Mt&3855)<<4,_s[xe]=((Mt&65280)>>8|(Mt&255)<<8)>>1}var ar=function(e,t,n){for(var r=e.length,o=0,s=new Sn(t);o<r;++o)e[o]&&++s[e[o]-1];var l=new Sn(t);for(o=1;o<t;++o)l[o]=l[o-1]+s[o-1]<<1;var i;if(n){i=new Sn(1<<t);var a=15-t;for(o=0;o<r;++o)if(e[o])for(var c=o<<4|e[o],u=t-e[o],d=l[e[o]-1]++<<u,p=d|(1<<u)-1;d<=p;++d)i[_s[d]>>a]=c}else for(i=new Sn(r),o=0;o<r;++o)e[o]&&(i[o]=_s[l[e[o]-1]++]>>15-e[o]);return i},Rr=new qe(288);for(var xe=0;xe<144;++xe)Rr[xe]=8;for(var xe=144;xe<256;++xe)Rr[xe]=9;for(var xe=256;xe<280;++xe)Rr[xe]=7;for(var xe=280;xe<288;++xe)Rr[xe]=8;var Tc=new qe(32);for(var xe=0;xe<32;++xe)Tc[xe]=5;var p0=ar(Rr,9,1),h0=ar(Tc,5,1),Wo=function(e){for(var t=e[0],n=1;n<e.length;++n)e[n]>t&&(t=e[n]);return t},ht=function(e,t,n){var r=t/8|0;return(e[r]|e[r+1]<<8)>>(t&7)&n},Go=function(e,t){var n=t/8|0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>(t&7)},v0=function(e){return(e+7)/8|0},ll=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))},m0=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],it=function(e,t,n){var r=new Error(t||m0[e]);if(r.code=e,Error.captureStackTrace&&Error.captureStackTrace(r,it),!n)throw r;return r},g0=function(e,t,n,r){var o=e.length,s=r?r.length:0;if(!o||t.f&&!t.l)return n||new qe(0);var l=!n,i=l||t.i!=2,a=t.i;l&&(n=new qe(o*3));var c=function(fe){var ge=n.length;if(fe>ge){var v=new qe(Math.max(ge*2,fe));v.set(n),n=v}},u=t.f||0,d=t.p||0,p=t.b||0,h=t.l,g=t.d,_=t.m,b=t.n,w=o*8;do{if(!h){u=ht(e,d,1);var x=ht(e,d+1,3);if(d+=3,x)if(x==1)h=p0,g=h0,_=9,b=5;else if(x==2){var S=ht(e,d,31)+257,I=ht(e,d+10,15)+4,O=S+ht(e,d+5,31)+1;d+=14;for(var J=new qe(O),$=new qe(19),U=0;U<I;++U)$[c0[U]]=ht(e,d+U*3,7);d+=I*3;for(var M=Wo($),re=(1<<M)-1,Ee=ar($,M,1),U=0;U<O;){var be=Ee[ht(e,d,re)];d+=be&15;var y=be>>4;if(y<16)J[U++]=y;else{var K=0,se=0;for(y==16?(se=3+ht(e,d,3),d+=2,K=J[U-1]):y==17?(se=3+ht(e,d,7),d+=3):y==18&&(se=11+ht(e,d,127),d+=7);se--;)J[U++]=K}}var W=J.subarray(0,S),Se=J.subarray(S);_=Wo(W),b=Wo(Se),h=ar(W,_,1),g=ar(Se,b,1)}else it(1);else{var y=v0(d)+4,k=e[y-4]|e[y-3]<<8,R=y+k;if(R>o){a&&it(0);break}i&&c(p+k),n.set(e.subarray(y,R),p),t.b=p+=k,t.p=d=R*8,t.f=u;continue}if(d>w){a&&it(0);break}}i&&c(p+131072);for(var ot=(1<<_)-1,Ye=(1<<b)-1,Z=d;;Z=d){var K=h[Go(e,d)&ot],z=K>>4;if(d+=K&15,d>w){a&&it(0);break}if(K||it(2),z<256)n[p++]=z;else if(z==256){Z=d,h=null;break}else{var G=z-254;if(z>264){var U=z-257,te=Ec[U];G=ht(e,d,(1<<te)-1)+kc[U],d+=te}var Q=g[Go(e,d)&Ye],E=Q>>4;Q||it(3),d+=Q&15;var Se=d0[E];if(E>3){var te=Cc[E];Se+=Go(e,d)&(1<<te)-1,d+=te}if(d>w){a&&it(0);break}i&&c(p+131072);var j=p+G;if(p<Se){var F=s-Se,X=Math.min(Se,j);for(F+p<0&&it(3);p<X;++p)n[p]=r[F+p]}for(;p<j;++p)n[p]=n[p-Se]}}t.l=h,t.p=Z,t.b=p,t.f=u,h&&(u=1,t.m=_,t.d=g,t.n=b)}while(!u);return p!=n.length&&l?ll(n,0,p):n.subarray(0,p)},y0=new qe(0),b0=function(e,t){return((e[0]&15)!=8||e[0]>>4>7||(e[0]<<8|e[1])%31)&&it(6,"invalid zlib data"),(e[1]>>5&1)==+!t&&it(6,"invalid zlib data: "+(e[1]&32?"need":"unexpected")+" dictionary"),(e[1]>>3&4)+2};function _0(e,t){return g0(e.subarray(b0(e,t&&t.dictionary),-4),{i:2},t&&t.out,t&&t.dictionary)}var Ci=typeof TextEncoder<"u"&&new TextEncoder,ws=typeof TextDecoder<"u"&&new TextDecoder,w0=0;try{ws.decode(y0,{stream:!0}),w0=1}catch{}var E0=function(e){for(var t="",n=0;;){var r=e[n++],o=(r>127)+(r>223)+(r>239);if(n+o>e.length)return{s:t,r:ll(e,n-1)};o?o==3?(r=((r&15)<<18|(e[n++]&63)<<12|(e[n++]&63)<<6|e[n++]&63)-65536,t+=String.fromCharCode(55296|r>>10,56320|r&1023)):o&1?t+=String.fromCharCode((r&31)<<6|e[n++]&63):t+=String.fromCharCode((r&15)<<12|(e[n++]&63)<<6|e[n++]&63):t+=String.fromCharCode(r)}};function C0(e,t){if(t){for(var n=new qe(e.length),r=0;r<e.length;++r)n[r]=e.charCodeAt(r);return n}if(Ci)return Ci.encode(e);for(var o=e.length,s=new qe(e.length+(e.length>>1)),l=0,i=function(u){s[l++]=u},r=0;r<o;++r){if(l+5>s.length){var a=new qe(l+8+(o-r<<1));a.set(s),s=a}var c=e.charCodeAt(r);c<128||t?i(c):c<2048?(i(192|c>>6),i(128|c&63)):c>55295&&c<57344?(c=65536+(c&1047552)|e.charCodeAt(++r)&1023,i(240|c>>18),i(128|c>>12&63),i(128|c>>6&63),i(128|c&63)):(i(224|c>>12),i(128|c>>6&63),i(128|c&63))}return ll(s,0,l)}function x0(e,t){if(t){for(var n="",r=0;r<e.length;r+=16384)n+=String.fromCharCode.apply(null,e.subarray(r,r+16384));return n}else{if(ws)return ws.decode(e);var o=E0(e),s=o.s,n=o.r;return n.length&&it(8),s}}const Es=e=>{const t=atob(e);return x0(_0(C0(t,!0)))},ft=(e,t)=>{var r;const n=(r=(t==null?void 0:t._instance)||Ir())==null?void 0:r.appContext.components;return n?e in n||dt(e)in n||Cr(dt(e))in n:!1},Ac=e=>new Promise(t=>setTimeout(t,e)),Lc=e=>typeof e<"u",Ko=e=>typeof e=="number",Cs=Array.isArray,Vn=(e,t)=>$e(e)&&e.startsWith(t),S0=(e,t)=>$e(e)&&e.endsWith(t),k0=Object.entries,gn=Object.keys,T0=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},il=e=>Vn(e,"/");function Ic(e,t){let n,r,o;const s=Y(!0),l=()=>{s.value=!0,o()};he(e,l,{flush:"sync"});const i=typeof t=="function"?t:t.get,a=typeof t=="function"?void 0:t.set,c=qs((u,d)=>(r=u,o=d,{get(){return s.value&&(n=i(),s.value=!1),r(),n},set(p){a==null||a(p)}}));return Object.isExtensible(c)&&(c.trigger=l),c}function Wn(e){return ra()?(bf(e),!0):!1}function He(e){return typeof e=="function"?e():rt(e)}const Mr=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const A0=Object.prototype.toString,L0=e=>A0.call(e)==="[object Object]",cn=()=>{},xi=I0();function I0(){var e,t;return Mr&&((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 al(e,t){function n(...r){return new Promise((o,s)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(s)})}return n}const $c=e=>e();function $0(e,t={}){let n,r,o=cn;const s=i=>{clearTimeout(i),o(),o=cn};return i=>{const a=He(e),c=He(t.maxWait);return n&&s(n),a<=0||c!==void 0&&c<=0?(r&&(s(r),r=null),Promise.resolve(i())):new Promise((u,d)=>{o=t.rejectOnCancel?d:u,c&&!r&&(r=setTimeout(()=>{n&&s(n),r=null,u(i())},c)),n=setTimeout(()=>{r&&s(r),r=null,u(i())},a)})}}function O0(...e){let t=0,n,r=!0,o=cn,s,l,i,a,c;!Me(e[0])&&typeof e[0]=="object"?{delay:l,trailing:i=!0,leading:a=!0,rejectOnCancel:c=!1}=e[0]:[l,i=!0,a=!0,c=!1]=e;const u=()=>{n&&(clearTimeout(n),n=void 0,o(),o=cn)};return p=>{const h=He(l),g=Date.now()-t,_=()=>s=p();return u(),h<=0?(t=Date.now(),_()):(g>h&&(a||!r)?(t=Date.now(),_()):i&&(s=new Promise((b,w)=>{o=c?w:b,n=setTimeout(()=>{t=Date.now(),r=!0,b(_()),u()},Math.max(0,h-g))})),!a&&!n&&(n=setTimeout(()=>r=!0,h)),r=!1,s)}}function P0(e=$c){const t=Y(!0);function n(){t.value=!1}function r(){t.value=!0}const o=(...s)=>{t.value&&e(...s)};return{isActive:Sr(t),pause:n,resume:r,eventFilter:o}}function R0(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const r=t;t=void 0,r&&await r},n}function Oc(e){return e||Ir()}function M0(...e){if(e.length!==1)return yo(...e);const t=e[0];return typeof t=="function"?Sr(qs(()=>({get:t,set:cn}))):Y(t)}function Pc(e,t=200,n={}){return al($0(t,n),e)}function N0(e,t=200,n=!1,r=!0,o=!1){return al(O0(t,n,r,o),e)}function D0(e,t,n={}){const{eventFilter:r=$c,...o}=n;return he(e,al(r,t),o)}function j0(e,t,n={}){const{eventFilter:r,...o}=n,{eventFilter:s,pause:l,resume:i,isActive:a}=P0(r);return{stop:D0(e,t,{...o,eventFilter:s}),pause:l,resume:i,isActive:a}}function Lo(e,t=!0,n){Oc()?we(e,n):t?e():Jt(e)}function F0(e,t){Oc(t)&&dn(e,t)}function B0(e,t,n={}){const{immediate:r=!0}=n,o=Y(!1);let s=null;function l(){s&&(clearTimeout(s),s=null)}function i(){o.value=!1,l()}function a(...c){l(),o.value=!0,s=setTimeout(()=>{o.value=!1,s=null,e(...c)},He(t))}return r&&(o.value=!0,Mr&&a()),Wn(i),{isPending:Sr(o),start:a,stop:i}}function yr(e=!1,t={}){const{truthyValue:n=!0,falsyValue:r=!1}=t,o=Me(e),s=Y(e);function l(i){if(arguments.length)return s.value=i,s.value;{const a=He(n);return s.value=s.value===a?He(r):a,s.value}}return o?l:[s,l]}function At(e){var t;const n=He(e);return(t=n==null?void 0:n.$el)!=null?t:n}const It=Mr?window:void 0,Rc=Mr?window.document:void 0,Mc=Mr?window.navigator:void 0;function Ne(...e){let t,n,r,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,o]=e,t=It):[t,n,r,o]=e,!t)return cn;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const s=[],l=()=>{s.forEach(u=>u()),s.length=0},i=(u,d,p,h)=>(u.addEventListener(d,p,h),()=>u.removeEventListener(d,p,h)),a=he(()=>[At(t),He(o)],([u,d])=>{if(l(),!u)return;const p=L0(d)?{...d}:d;s.push(...n.flatMap(h=>r.map(g=>i(u,h,g,p))))},{immediate:!0,flush:"post"}),c=()=>{a(),l()};return Wn(c),c}function H0(){const e=Y(!1),t=Ir();return t&&we(()=>{e.value=!0},t),e}function Nr(e){const t=H0();return T(()=>(t.value,!!e()))}function Nc(e,t={}){const{window:n=It}=t,r=Nr(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let o;const s=Y(!1),l=c=>{s.value=c.matches},i=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",l):o.removeListener(l))},a=Aa(()=>{r.value&&(i(),o=n.matchMedia(He(e)),"addEventListener"in o?o.addEventListener("change",l):o.addListener(l),s.value=o.matches)});return Wn(()=>{a(),i(),o=void 0}),s}function Si(e,t={}){const{controls:n=!1,navigator:r=Mc}=t,o=Nr(()=>r&&"permissions"in r);let s;const l=typeof e=="string"?{name:e}:e,i=Y(),a=()=>{s&&(i.value=s.state)},c=R0(async()=>{if(o.value){if(!s)try{s=await r.permissions.query(l),Ne(s,"change",a),a()}catch{i.value="prompt"}return s}});return c(),n?{state:i,isSupported:o,query:c}:i}function V0(e={}){const{navigator:t=Mc,read:n=!1,source:r,copiedDuring:o=1500,legacy:s=!1}=e,l=Nr(()=>t&&"clipboard"in t),i=Si("clipboard-read"),a=Si("clipboard-write"),c=T(()=>l.value||s),u=Y(""),d=Y(!1),p=B0(()=>d.value=!1,o);function h(){l.value&&w(i.value)?t.clipboard.readText().then(x=>{u.value=x}):u.value=b()}c.value&&n&&Ne(["copy","cut"],h);async function g(x=He(r)){c.value&&x!=null&&(l.value&&w(a.value)?await t.clipboard.writeText(x):_(x),u.value=x,d.value=!0,p.start())}function _(x){const y=document.createElement("textarea");y.value=x??"",y.style.position="absolute",y.style.opacity="0",document.body.appendChild(y),y.select(),document.execCommand("copy"),y.remove()}function b(){var x,y,k;return(k=(y=(x=document==null?void 0:document.getSelection)==null?void 0:x.call(document))==null?void 0:y.toString())!=null?k:""}function w(x){return x==="granted"||x==="prompt"}return{isSupported:c,text:u,copied:d,copy:g}}const Kr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Yr="__vueuse_ssr_handlers__",z0=U0();function U0(){return Yr in Kr||(Kr[Yr]=Kr[Yr]||{}),Kr[Yr]}function q0(e,t){return z0[e]||t}function W0(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 G0={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()}},ki="vueuse-storage";function Gn(e,t,n,r={}){var o;const{flush:s="pre",deep:l=!0,listenToStorageChanges:i=!0,writeDefaults:a=!0,mergeDefaults:c=!1,shallow:u,window:d=It,eventFilter:p,onError:h=$=>{console.error($)},initOnMounted:g}=r,_=(u?je:Y)(typeof t=="function"?t():t);if(!n)try{n=q0("getDefaultStorage",()=>{var $;return($=It)==null?void 0:$.localStorage})()}catch($){h($)}if(!n)return _;const b=He(t),w=W0(b),x=(o=r.serializer)!=null?o:G0[w],{pause:y,resume:k}=j0(_,()=>S(_.value),{flush:s,deep:l,eventFilter:p});d&&i&&Lo(()=>{Ne(d,"storage",O),Ne(d,ki,J),g&&O()}),g||O();function R($,U){d&&d.dispatchEvent(new CustomEvent(ki,{detail:{key:e,oldValue:$,newValue:U,storageArea:n}}))}function S($){try{const U=n.getItem(e);if($==null)R(U,null),n.removeItem(e);else{const M=x.write($);U!==M&&(n.setItem(e,M),R(U,M))}}catch(U){h(U)}}function I($){const U=$?$.newValue:n.getItem(e);if(U==null)return a&&b!=null&&n.setItem(e,x.write(b)),b;if(!$&&c){const M=x.read(U);return typeof c=="function"?c(M,b):w==="object"&&!Array.isArray(M)?{...b,...M}:M}else return typeof U!="string"?U:x.read(U)}function O($){if(!($&&$.storageArea!==n)){if($&&$.key==null){_.value=b;return}if(!($&&$.key!==e)){y();try{($==null?void 0:$.newValue)!==x.write(_.value)&&(_.value=I($))}catch(U){h(U)}finally{$?Jt(k):k()}}}}function J($){O($.detail)}return _}function K0(e){return Nc("(prefers-color-scheme: dark)",e)}function Y0(e,t,n={}){const{window:r=It,...o}=n;let s;const l=Nr(()=>r&&"ResizeObserver"in r),i=()=>{s&&(s.disconnect(),s=void 0)},a=T(()=>Array.isArray(e)?e.map(d=>At(d)):[At(e)]),c=he(a,d=>{if(i(),l.value&&r){s=new ResizeObserver(t);for(const p of d)p&&s.observe(p,o)}},{immediate:!0,flush:"post"}),u=()=>{i(),c()};return Wn(u),{isSupported:l,stop:u}}function J0(e,t={width:0,height:0},n={}){const{window:r=It,box:o="content-box"}=n,s=T(()=>{var d,p;return(p=(d=At(e))==null?void 0:d.namespaceURI)==null?void 0:p.includes("svg")}),l=Y(t.width),i=Y(t.height),{stop:a}=Y0(e,([d])=>{const p=o==="border-box"?d.borderBoxSize:o==="content-box"?d.contentBoxSize:d.devicePixelContentBoxSize;if(r&&s.value){const h=At(e);if(h){const g=r.getComputedStyle(h);l.value=Number.parseFloat(g.width),i.value=Number.parseFloat(g.height)}}else if(p){const h=Array.isArray(p)?p:[p];l.value=h.reduce((g,{inlineSize:_})=>g+_,0),i.value=h.reduce((g,{blockSize:_})=>g+_,0)}else l.value=d.contentRect.width,i.value=d.contentRect.height},n);Lo(()=>{const d=At(e);d&&(l.value="offsetWidth"in d?d.offsetWidth:t.width,i.value="offsetHeight"in d?d.offsetHeight:t.height)});const c=he(()=>At(e),d=>{l.value=d?t.width:0,i.value=d?t.height:0});function u(){a(),c()}return{width:l,height:i,stop:u}}const Ti=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function cl(e,t={}){const{document:n=Rc,autoExit:r=!1}=t,o=T(()=>{var w;return(w=At(e))!=null?w:n==null?void 0:n.querySelector("html")}),s=Y(!1),l=T(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(w=>n&&w in n||o.value&&w in o.value)),i=T(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(w=>n&&w in n||o.value&&w in o.value)),a=T(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(w=>n&&w in n||o.value&&w in o.value)),c=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(w=>n&&w in n),u=Nr(()=>o.value&&n&&l.value!==void 0&&i.value!==void 0&&a.value!==void 0),d=()=>c?(n==null?void 0:n[c])===o.value:!1,p=()=>{if(a.value){if(n&&n[a.value]!=null)return n[a.value];{const w=o.value;if((w==null?void 0:w[a.value])!=null)return!!w[a.value]}}return!1};async function h(){if(!(!u.value||!s.value)){if(i.value)if((n==null?void 0:n[i.value])!=null)await n[i.value]();else{const w=o.value;(w==null?void 0:w[i.value])!=null&&await w[i.value]()}s.value=!1}}async function g(){if(!u.value||s.value)return;p()&&await h();const w=o.value;l.value&&(w==null?void 0:w[l.value])!=null&&(await w[l.value](),s.value=!0)}async function _(){await(s.value?h():g())}const b=()=>{const w=p();(!w||w&&d())&&(s.value=w)};return Ne(n,Ti,b,!1),Ne(()=>At(o),Ti,b,!1),r&&Wn(h),{isSupported:u,isFullscreen:s,enter:g,exit:h,toggle:_}}function Yo(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function Jo(e,t=cn,n={}){const{immediate:r=!0,manual:o=!1,type:s="text/javascript",async:l=!0,crossOrigin:i,referrerPolicy:a,noModule:c,defer:u,document:d=Rc,attrs:p={}}=n,h=Y(null);let g=null;const _=x=>new Promise((y,k)=>{const R=O=>(h.value=O,y(O),O);if(!d){y(!1);return}let S=!1,I=d.querySelector(`script[src="${He(e)}"]`);I?I.hasAttribute("data-loaded")&&R(I):(I=d.createElement("script"),I.type=s,I.async=l,I.src=He(e),u&&(I.defer=u),i&&(I.crossOrigin=i),c&&(I.noModule=c),a&&(I.referrerPolicy=a),Object.entries(p).forEach(([O,J])=>I==null?void 0:I.setAttribute(O,J)),S=!0),I.addEventListener("error",O=>k(O)),I.addEventListener("abort",O=>k(O)),I.addEventListener("load",()=>{I.setAttribute("data-loaded","true"),t(I),R(I)}),S&&(I=d.head.appendChild(I)),x||R(I)}),b=(x=!0)=>(g||(g=_(x)),g),w=()=>{if(!d)return;g=null,h.value&&(h.value=null);const x=d.querySelector(`script[src="${He(e)}"]`);x&&d.head.removeChild(x)};return r&&!o&&Lo(b),o||F0(w),{scriptTag:h,load:b,unload:w}}function Dc(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:Dc(n)}}function Q0(e){const t=e||window.event,n=t.target;return Dc(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}const Jr=new WeakMap;function jc(e,t=!1){const n=Y(t);let r=null;he(M0(e),l=>{const i=Yo(He(l));if(i){const a=i;Jr.get(a)||Jr.set(a,a.style.overflow),n.value&&(a.style.overflow="hidden")}},{immediate:!0});const o=()=>{const l=Yo(He(e));!l||n.value||(xi&&(r=Ne(l,"touchmove",i=>{Q0(i)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},s=()=>{var l;const i=Yo(He(e));!i||!n.value||(xi&&(r==null||r()),i.style.overflow=(l=Jr.get(i))!=null?l:"",Jr.delete(i),n.value=!1)};return Wn(s),T({get(){return n.value},set(l){l?o():s()}})}function Fc(e,t,n={}){const{window:r=It}=n;return Gn(e,t,r==null?void 0:r.sessionStorage,n)}function X0(e={}){const{window:t=It,behavior:n="auto"}=e;if(!t)return{x:Y(0),y:Y(0)};const r=Y(t.scrollX),o=Y(t.scrollY),s=T({get(){return r.value},set(i){scrollTo({left:i,behavior:n})}}),l=T({get(){return o.value},set(i){scrollTo({top:i,behavior:n})}});return Ne(t,"scroll",()=>{r.value=t.scrollX,o.value=t.scrollY},{capture:!1,passive:!0}),{x:s,y:l}}function Z0(e={}){const{window:t=It,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:o=!0,includeScrollbar:s=!0}=e,l=Y(n),i=Y(r),a=()=>{t&&(s?(l.value=t.innerWidth,i.value=t.innerHeight):(l.value=t.document.documentElement.clientWidth,i.value=t.document.documentElement.clientHeight))};if(a(),Lo(a),Ne("resize",a,{passive:!0}),o){const c=Nc("(orientation: portrait)");he(c,()=>a())}return{width:l,height:i}}var e2=V({name:"FontIcon",props:{icon:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""}},setup(e){const t=T(()=>{const r=["font-icon icon"],o=`fas fa-${e.icon}`;return r.push("fa-fw fa-sm"),r.push(e.icon.includes(" ")?e.icon:o),r}),n=T(()=>{const r={};return e.color&&(r.color=e.color),e.size&&(r["font-size"]=Number.isNaN(Number(e.size))?e.size:`${e.size}px`),gn(r).length?r:null});return()=>e.icon?f("span",{key:e.icon,class:t.value,style:n.value}):null}});const Bc=({type:e="info",text:t="",vertical:n,color:r},{slots:o})=>{var s;return f("span",{class:["vp-badge",e,{diy:r}],style:{verticalAlign:n??!1,backgroundColor:r??!1}},((s=o.default)==null?void 0:s.call(o))||t)};Bc.displayName="Badge";const Hc=({title:e,desc:t="",logo:n,background:r,color:o,link:s})=>{const l=[n?f("img",{class:"vp-card-logo",src:Ge(n),loading:"lazy","no-view":""}):null,f("div",{class:"vp-card-content"},[f("div",{class:"vp-card-title",innerHTML:e}),f("hr"),f("div",{class:"vp-card-desc",innerHTML:t})])],i={};return r&&(i.background=r),o&&(i.color=o),s?Fn(s)?f("a",{class:"vp-card",href:s,target:"_blank",style:i},l):f(Qe,{to:s,class:"vp-card",style:i},()=>l):f("div",{class:"vp-card",style:i},l)};Hc.displayName="VPCard";const t2=et({enhance:({app:e})=>{ft("FontIcon")||e.component("FontIcon",e2),ft("Badge")||e.component("Badge",Bc),ft("VPCard")||e.component("VPCard",Hc)},setup:()=>{Jo("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/brands.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}}),Jo("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/solid.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}}),Jo("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/fontawesome.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}})},rootComponents:[]}),Ai=async(e,t)=>{const{path:n,query:r}=e.currentRoute.value,{scrollBehavior:o}=e.options;e.options.scrollBehavior=void 0,await e.replace({path:n,query:r,hash:t}),e.options.scrollBehavior=o},n2=({headerLinkSelector:e,headerAnchorSelector:t,delay:n,offset:r=5})=>{const o=hn();Ne("scroll",Pc(()=>{var g,_;const l=Math.max(window.scrollY,document.documentElement.scrollTop,document.body.scrollTop);if(Math.abs(l-0)<r){Ai(o,"");return}const a=window.innerHeight+l,c=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight),u=Math.abs(c-a)<r,d=Array.from(document.querySelectorAll(e)),h=Array.from(document.querySelectorAll(t)).filter(b=>d.some(w=>w.hash===b.hash));for(let b=0;b<h.length;b++){const w=h[b],x=h[b+1],y=l>=(((g=w.parentElement)==null?void 0:g.offsetTop)??0)-r,k=!x||l<(((_=x.parentElement)==null?void 0:_.offsetTop)??0)-r;if(!(y&&k))continue;const S=decodeURIComponent(o.currentRoute.value.hash),I=decodeURIComponent(w.hash);if(S===I)return;if(u){for(let O=b+1;O<h.length;O++)if(S===decodeURIComponent(h[O].hash))return}Ai(o,I);return}},n))},r2=".vp-sidebar-link, .vp-toc-link",o2=".header-anchor",s2=200,l2=5,i2=et({setup(){n2({headerLinkSelector:r2,headerAnchorSelector:o2,delay:s2,offset:l2})}});let Vc=e=>$e(e.title)?{title:e.title}:null;const zc=Symbol(""),a2=e=>{Vc=e},c2=()=>De(zc),u2=e=>{e.provide(zc,Vc)};var f2={"/":{title:"目录",empty:"暂无目录"}};const d2=V({name:"Catalog",props:{base:{type:String,default:""},level:{type:Number,default:3},index:Boolean,hideHeading:Boolean},setup(e){const t=c2(),n=Pr(f2),r=Ae(),o=n0(),s=bc(),i=je(k0(o.value).map(([c,{meta:u}])=>{const d=t(u);if(!d)return null;const p=c.split("/").length;return{level:S0(c,"/")?p-2:p-1,base:c.replace(/\/[^/]+\/?$/,"/"),path:c,...d}}).filter(c=>qn(c)&&$e(c.title))),a=T(()=>{const c=e.base?H1(sc(e.base)):r.value.path.replace(/\/[^/]+$/,"/"),u=c.split("/").length-2,d=[];return i.value.filter(({level:p,path:h})=>{if(!Vn(h,c)||h===c)return!1;if(c==="/"){const g=gn(s.value.locales).filter(_=>_!=="/");if(h==="/404.html"||g.some(_=>Vn(h,_)))return!1}return p-u<=e.level}).sort(({title:p,level:h,order:g},{title:_,level:b,order:w})=>{const x=h-b;return x||(Ko(g)?Ko(w)?g>0?w>0?g-w:-1:w<0?g-w:1:g:Ko(w)?w:p.localeCompare(_))}).forEach(p=>{var _;const{base:h,level:g}=p;switch(g-u){case 1:{d.push(p);break}case 2:{const b=d.find(w=>w.path===h);b&&(b.children??(b.children=[])).push(p);break}default:{const b=d.find(w=>w.path===h.replace(/\/[^/]+\/$/,"/"));if(b){const w=(_=b.children)==null?void 0:_.find(x=>x.path===h);w&&(w.children??(w.children=[])).push(p)}}}}),d});return()=>{const c=a.value.some(u=>u.children);return f("div",{class:["vp-catalog-wrapper",{index:e.index}]},[e.hideHeading?null:f("h2",{class:"vp-catalog-main-title"},n.value.title),a.value.length?f(e.index?"ol":"ul",{class:["vp-catalogs",{deep:c}]},a.value.map(({children:u=[],title:d,path:p,content:h})=>{const g=f(Qe,{class:"vp-catalog-title",to:p},()=>h?f(h):d);return f("li",{class:"vp-catalog"},c?[f("h3",{id:d,class:["vp-catalog-child-title",{"has-children":u.length}]},[f("a",{href:`#${d}`,class:"vp-catalog-header-anchor","aria-hidden":!0},"#"),g]),u.length?f(e.index?"ol":"ul",{class:"vp-child-catalogs"},u.map(({children:_=[],content:b,path:w,title:x})=>f("li",{class:"vp-child-catalog"},[f("div",{class:["vp-catalog-sub-title",{"has-children":_.length}]},[f("a",{href:`#${x}`,class:"vp-catalog-header-anchor"},"#"),f(Qe,{class:"vp-catalog-title",to:w},()=>b?f(b):x)]),_.length?f(e.index?"ol":"div",{class:e.index?"vp-sub-catalogs":"vp-sub-catalogs-wrapper"},_.map(({content:y,path:k,title:R})=>e.index?f("li",{class:"vp-sub-catalog"},f(Qe,{to:k},()=>y?f(y):R)):f(Qe,{class:"vp-sub-catalog-link",to:k},()=>y?f(y):R))):null]))):null]:f("div",{class:"vp-catalog-child-title"},g))})):f("p",{class:"vp-empty-catalog"},n.value.empty)])}}}),p2=et({enhance:({app:e})=>{u2(e),ft("Catalog",e)||e.component("Catalog",d2)}});var h2={"/":{backToTop:"返回顶部"}};const v2=V({name:"BackToTop",setup(e){const t=Le(),n=Pr(h2),r=je(),{height:o}=J0(r),{height:s}=Z0(),{y:l}=X0(),i=T(()=>t.value.backToTop!==!1&&l.value>100),a=T(()=>l.value/(o.value-s.value)*100);return we(()=>{r.value=document.body}),()=>f(Yt,{name:"back-to-top"},()=>i.value?f("button",{type:"button",class:"vp-back-to-top-button","aria-label":n.value.backToTop,onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})}},[f("span",{class:"vp-scroll-progress",role:"progressbar","aria-labelledby":"loadinglabel","aria-valuenow":a.value},f("svg",f("circle",{cx:"50%",cy:"50%",style:{"stroke-dasharray":`calc(${Math.PI*a.value}% - ${4*Math.PI}px) calc(${Math.PI*100}% - ${4*Math.PI}px)`}}))),f("div",{class:"back-to-top-icon"})]):null)}}),m2=et({rootComponents:[v2]}),g2=f("svg",{class:"external-link-icon",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",x:"0px",y:"0px",viewBox:"0 0 100 100",width:"15",height:"15"},[f("path",{fill:"currentColor",d:"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"}),f("polygon",{fill:"currentColor",points:"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"})]),Uc=V({name:"ExternalLinkIcon",props:{locales:{type:Object,required:!1,default:()=>({})}},setup(e){const t=mn(),n=T(()=>e.locales[t.value]??{openInNewWindow:"open in new window"});return()=>f("span",[g2,f("span",{class:"external-link-icon-sr-only"},n.value.openInNewWindow)])}});var y2={};const b2=y2,_2=et({enhance({app:e}){e.component("ExternalLinkIcon",f(Uc,{locales:b2}))}});/**
* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
* @license MIT
*/const de={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=de.isStarted();e=Qo(e,de.settings.minimum,1),de.status=e===1?null:e;const n=de.render(!t),r=n.querySelector(de.settings.barSelector),o=de.settings.speed,s=de.settings.easing;return n.offsetWidth,w2(l=>{Qr(r,{transform:"translate3d("+Li(e)+"%,0,0)",transition:"all "+o+"ms "+s}),e===1?(Qr(n,{transition:"none",opacity:"1"}),n.offsetWidth,setTimeout(function(){Qr(n,{transition:"all "+o+"ms linear",opacity:"0"}),setTimeout(function(){de.remove(),l()},o)},o)):setTimeout(()=>l(),o)}),de},isStarted:()=>typeof de.status=="number",start:()=>{de.status||de.set(0);const e=()=>{setTimeout(()=>{de.status&&(de.trickle(),e())},de.settings.trickleSpeed)};return de.settings.trickle&&e(),de},done:e=>!e&&!de.status?de:de.inc(.3+.5*Math.random()).set(1),inc:e=>{let t=de.status;return t?(typeof e!="number"&&(e=(1-t)*Qo(Math.random()*t,.1,.95)),t=Qo(t+e,0,.994),de.set(t)):de.start()},trickle:()=>de.inc(Math.random()*de.settings.trickleRate),render:e=>{if(de.isRendered())return document.getElementById("nprogress");Ii(document.documentElement,"nprogress-busy");const t=document.createElement("div");t.id="nprogress",t.innerHTML=de.settings.template;const n=t.querySelector(de.settings.barSelector),r=e?"-100":Li(de.status||0),o=document.querySelector(de.settings.parent);return Qr(n,{transition:"all 0 linear",transform:"translate3d("+r+"%,0,0)"}),o!==document.body&&Ii(o,"nprogress-custom-parent"),o==null||o.appendChild(t),t},remove:()=>{$i(document.documentElement,"nprogress-busy"),$i(document.querySelector(de.settings.parent),"nprogress-custom-parent");const e=document.getElementById("nprogress");e&&E2(e)},isRendered:()=>!!document.getElementById("nprogress")},Qo=(e,t,n)=>e<t?t:e>n?n:e,Li=e=>(-1+e)*100,w2=function(){const e=[];function t(){const n=e.shift();n&&n(t)}return function(n){e.push(n),e.length===1&&t()}}(),Qr=function(){const e=["Webkit","O","Moz","ms"],t={};function n(l){return l.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(i,a){return a.toUpperCase()})}function r(l){const i=document.body.style;if(l in i)return l;let a=e.length;const c=l.charAt(0).toUpperCase()+l.slice(1);let u;for(;a--;)if(u=e[a]+c,u in i)return u;return l}function o(l){return l=n(l),t[l]??(t[l]=r(l))}function s(l,i,a){i=o(i),l.style[i]=a}return function(l,i){for(const a in i){const c=i[a];c!==void 0&&Object.prototype.hasOwnProperty.call(i,a)&&s(l,a,c)}}}(),qc=(e,t)=>(typeof e=="string"?e:ul(e)).indexOf(" "+t+" ")>=0,Ii=(e,t)=>{const n=ul(e),r=n+t;qc(n,t)||(e.className=r.substring(1))},$i=(e,t)=>{const n=ul(e);if(!qc(e,t))return;const r=n.replace(" "+t+" "," ");e.className=r.substring(1,r.length-1)},ul=e=>(" "+(e.className||"")+" ").replace(/\s+/gi," "),E2=e=>{e&&e.parentNode&&e.parentNode.removeChild(e)},C2=()=>{we(()=>{const e=hn(),t=new Set;t.add(e.currentRoute.value.path),e.beforeEach(n=>{t.has(n.path)||de.start()}),e.afterEach(n=>{t.add(n.path),de.done()})})},x2=et({setup(){C2()}}),S2=JSON.parse('{"encrypt":{"config":{"/demo/encrypt.html":["$2a$10$BsAhqgmZN/Gmb4T2XgEr4e0K2etdwRhbB75KoPeC./sLjh4/59XPu"]}},"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,"locales":{"/":{"lang":"zh-CN","navbarLocales":{"langName":"简体中文","selectLangAriaLabel":"选择语言"},"metaLocales":{"author":"作者","date":"写作日期","origin":"原创","views":"访问量","category":"分类","tag":"标签","readingTime":"阅读时间","words":"字数","toc":"此页内容","prev":"上一页","next":"下一页","lastUpdated":"上次编辑于","contributors":"贡献者","editLink":"在 GitHub 上编辑","print":"打印"},"outlookLocales":{"themeColor":"主题色","darkmode":"外观","fullscreen":"全屏"},"encryptLocales":{"iconLabel":"文章已加密","placeholder":"输入密码","remember":"记住密码","errorHint":"请输入正确的密码"},"routeLocales":{"skipToContent":"跳至主要內容","notFoundTitle":"页面不存在","notFoundMsg":["这里什么也没有","我们是怎么来到这儿的?","这 是 四 零 四 !","看起来你访问了一个失效的链接"],"back":"返回上一页","home":"带我回家","openInNewWindow":"Open in new window"},"navbar":["/",{"text":"安装及部署","link":"/deployment/","prefix":"deployment/"},{"text":"使用及功能","link":"/usage/","prefix":"usage/"},{"text":"资源及插件","link":"/store/","prefix":"store/"},{"text":"开发及贡献","link":"/dev/","prefix":"dev/"}],"sidebar":{"/":["",{"text":"安装及部署","icon":"laptop-code","prefix":"deployment/","children":"structure"},{"text":"使用及功能","icon":"book","prefix":"usage/","children":"structure"},{"text":"资源及插件","icon":"store","prefix":"store/","children":"structure"},{"text":"开发及贡献","icon":"pen-nib","prefix":"dev/","children":"structure"}]}}}}'),k2=Y(S2),Wc=()=>k2,Gc=Symbol(""),T2=()=>{const e=De(Gc);if(!e)throw new Error("useThemeLocaleData() is called without provider.");return e},A2=(e,t)=>{const{locales:n,...r}=e;return{...r,...n==null?void 0:n[t]}},L2=et({enhance({app:e}){const t=Wc(),n=e._context.provides[rl],r=T(()=>A2(t.value,n.routeLocale.value));e.provide(Gc,r),Object.defineProperties(e.config.globalProperties,{$theme:{get(){return t.value}},$themeLocale:{get(){return r.value}}})}});var I2={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 $2=I2;let O2=$2;const Kc=Symbol(""),Yc=()=>De(Kc),P2=Yc,R2=e=>{e.provide(Kc,O2)},Jc=()=>f("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",preserveAspectRatio:"xMidYMid",viewBox:"0 0 100 100"},[f("circle",{cx:"28",cy:"75",r:"11",fill:"currentColor"},f("animate",{attributeName:"fill-opacity",begin:"0s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"})),f("path",{fill:"none",stroke:"#88baf0","stroke-width":"10",d:"M28 47a28 28 0 0 1 28 28"},f("animate",{attributeName:"stroke-opacity",begin:"0.1s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"})),f("path",{fill:"none",stroke:"#88baf0","stroke-width":"10",d:"M28 25a50 50 0 0 1 50 50"},f("animate",{attributeName:"stroke-opacity",begin:"0.2s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"}))]);Jc.displayName="LoadingIcon";const Oi=["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"],M2=V({name:"GiscusComment",props:{identifier:{type:String,required:!0},darkmode:Boolean},setup(e){const t=P2(),n=ol(),r=!!(t.repo&&t.repoId&&t.category&&t.categoryId),{repo:o,repoId:s,category:l,categoryId:i}=t,a=Y(!1),c=T(()=>{if(Oi.includes(n.value))return n.value;const d=n.value.split("-")[0];return Oi.includes(d)?d:"en"}),u=T(()=>({repo:o,repoId:s,category:l,categoryId:i,lang:c.value,theme:e.darkmode?t.darkTheme||"dark":t.lightTheme||"light",mapping:t.mapping||"pathname",term:e.identifier,inputPosition:t.inputPosition||"top",reactionsEnabled:t.reactionsEnabled===!1?"0":"1",strict:t.strict===!1?"0":"1",loading:t.lazyLoading===!1?"eager":"lazy",emitMetadata:"0"}));return we(async()=>{await Te(()=>import("./giscus-7BMGhbDA.js"),__vite__mapDeps([])),a.value=!0}),()=>r?f("div",{id:"comment",class:["giscus-wrapper",{"input-top":t.inputPosition!=="bottom"}]},a.value?f("giscus-widget",u.value):f(Jc)):null}}),N2=V({name:"CommentService",props:{darkmode:Boolean},setup(e){const t=Yc(),n=Ae(),r=Le(),o=t.comment!==!1,s=T(()=>r.value.comment||o&&r.value.comment!==!1);return()=>f(M2,{id:"vp-comment",identifier:r.value.commentID||n.value.path,darkmode:e.darkmode,style:{display:s.value?"block":"none"}})}}),D2=et({enhance:({app:e})=>{R2(e),e.component("CommentService",N2)}}),j2=/\b(?:Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini)/i,F2=()=>typeof window<"u"&&window.navigator&&"userAgent"in window.navigator&&j2.test(navigator.userAgent),B2=({delay:e=500,duration:t=2e3,locales:n,selector:r,showInMobile:o})=>{const{copy:s,copied:l}=V0({legacy:!0,copiedDuring:t}),i=Pr(n),a=Ae(),c=p=>{if(!p.hasAttribute("copy-code-registered")){const h=document.createElement("button");h.type="button",h.classList.add("vp-copy-code-button"),h.innerHTML='<div class="vp-copy-icon" />',h.setAttribute("aria-label",i.value.copy),h.setAttribute("data-copied",i.value.copied),p.parentElement&&p.parentElement.insertBefore(h,p),p.setAttribute("copy-code-registered","")}},u=()=>{Jt().then(()=>Ac(e)).then(()=>{r.forEach(p=>{document.querySelectorAll(p).forEach(c)})})},d=(p,h,g)=>{let{innerText:_=""}=h;/language-(shellscript|shell|bash|sh|zsh)/.test(p.classList.toString())&&(_=_.replace(/^ *(\$|>) /gm,"")),s(_).then(()=>{g.classList.add("copied"),he(l,()=>{g.classList.remove("copied"),g.blur()},{once:!0})})};we(()=>{const p=!F2()||o;p&&u(),Ne("click",h=>{const g=h.target;if(g.matches('div[class*="language-"] > button.copy')){const _=g.parentElement,b=g.nextElementSibling;b&&d(_,b,g)}else if(g.matches('div[class*="language-"] div.vp-copy-icon')){const _=g.parentElement,b=_.parentElement,w=_.nextElementSibling;w&&d(b,w,_)}}),he(()=>a.value.path,()=>{p&&u()})})};var H2={"/":{copy:"复制代码",copied:"已复制"}},V2=['.theme-hope-content div[class*="language-"] pre'];const z2=500,U2=2e3,q2=H2,W2=V2,G2=!1,K2=et({setup:()=>{B2({selector:W2,locales:q2,duration:U2,delay:z2,showInMobile:G2})}}),Xr=Gn("VUEPRESS_CODE_TAB_STORE",{});var Y2=V({name:"CodeTabs",props:{active:{type:Number,default:0},data:{type:Array,required:!0},id:{type:String,required:!0},tabId:{type:String,default:""}},slots:Object,setup(e,{slots:t}){const n=Y(e.active),r=je([]),o=()=>{e.tabId&&(Xr.value[e.tabId]=e.data[n.value].id)},s=(c=n.value)=>{n.value=c<r.value.length-1?c+1:0,r.value[n.value].focus()},l=(c=n.value)=>{n.value=c>0?c-1:r.value.length-1,r.value[n.value].focus()},i=(c,u)=>{c.key===" "||c.key==="Enter"?(c.preventDefault(),n.value=u):c.key==="ArrowRight"?(c.preventDefault(),s()):c.key==="ArrowLeft"&&(c.preventDefault(),l()),e.tabId&&(Xr.value[e.tabId]=e.data[n.value].id)},a=()=>{if(e.tabId){const c=e.data.findIndex(({id:u})=>Xr.value[e.tabId]===u);if(c!==-1)return c}return e.active};return we(()=>{n.value=a(),he(()=>Xr.value[e.tabId],(c,u)=>{if(e.tabId&&c!==u){const d=e.data.findIndex(({id:p})=>p===c);d!==-1&&(n.value=d)}})}),()=>e.data.length?f("div",{class:"vp-code-tabs"},[f("div",{class:"vp-code-tabs-nav",role:"tablist"},e.data.map(({id:c},u)=>{const d=u===n.value;return f("button",{type:"button",ref:p=>{p&&(r.value[u]=p)},class:["vp-code-tab-nav",{active:d}],role:"tab","aria-controls":`codetab-${e.id}-${u}`,"aria-selected":d,onClick:()=>{n.value=u,o()},onKeydown:p=>i(p,u)},t[`title${u}`]({value:c,isActive:d}))})),e.data.map(({id:c},u)=>{const d=u===n.value;return f("div",{class:["vp-code-tab",{active:d}],id:`codetab-${e.id}-${u}`,role:"tabpanel","aria-expanded":d},[f("div",{class:"vp-code-tab-title"},t[`title${u}`]({value:c,isActive:d})),t[`tab${u}`]({value:c,isActive:d})])})]):null}});const Qc=({active:e=!1},{slots:t})=>{var n;return f("div",{class:["code-group-item",{active:e}],"aria-selected":e},(n=t.default)==null?void 0:n.call(t))};Qc.displayName="CodeGroupItem";const J2=V({name:"CodeGroup",slots:Object,setup(e,{slots:t}){const n=Y(-1),r=je([]),o=(i=n.value)=>{n.value=i<r.value.length-1?i+1:0,r.value[n.value].focus()},s=(i=n.value)=>{n.value=i>0?i-1:r.value.length-1,r.value[n.value].focus()},l=(i,a)=>{i.key===" "||i.key==="Enter"?(i.preventDefault(),n.value=a):i.key==="ArrowRight"?(i.preventDefault(),o(a)):i.key==="ArrowLeft"&&(i.preventDefault(),s(a))};return()=>{var a;const i=(((a=t.default)==null?void 0:a.call(t))||[]).filter(c=>c.type.name==="CodeGroupItem").map(c=>(c.props===null&&(c.props={}),c));return i.length===0?null:(n.value<0||n.value>i.length-1?(n.value=i.findIndex(c=>"active"in c.props),n.value===-1&&(n.value=0)):i.forEach((c,u)=>{c.props.active=u===n.value}),f("div",{class:"code-group"},[f("div",{class:"code-group-nav"},i.map((c,u)=>{const d=u===n.value;return f("button",{type:"button",ref:p=>{p&&(r.value[u]=p)},class:["code-group-nav-tab",{active:d}],"aria-pressed":d,"aria-expanded":d,onClick:()=>{n.value=u},onKeydown:p=>l(p,u)},c.props.title)})),i]))}}}),Oe=({name:e="",color:t="currentColor"},{slots:n})=>{var r;return f("svg",{xmlns:"http://www.w3.org/2000/svg",class:["icon",`${e}-icon`],viewBox:"0 0 1024 1024",fill:t,"aria-label":`${e} icon`},(r=n.default)==null?void 0:r.call(n))};Oe.displayName="IconBase";const fl=({size:e=48,stroke:t=4,wrapper:n=!0,height:r=2*e})=>{const o=f("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,preserveAspectRatio:"xMidYMid",viewBox:"25 25 50 50"},[f("animateTransform",{attributeName:"transform",type:"rotate",dur:"2s",keyTimes:"0;1",repeatCount:"indefinite",values:"0;360"}),f("circle",{cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":t,"stroke-linecap":"round"},[f("animate",{attributeName:"stroke-dasharray",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"1,200;90,200;1,200"}),f("animate",{attributeName:"stroke-dashoffset",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"0;-35px;-125px"})])]);return n?f("div",{class:"loading-icon-wrapper",style:`display:flex;align-items:center;justify-content:center;height:${r}px`},o):o};fl.displayName="LoadingIcon";const Xc=(e,{slots:t})=>{var n;return(n=t.default)==null?void 0:n.call(t)},Zc=()=>f(Oe,{name:"github"},()=>f("path",{d:"M511.957 21.333C241.024 21.333 21.333 240.981 21.333 512c0 216.832 140.544 400.725 335.574 465.664 24.49 4.395 32.256-10.07 32.256-23.083 0-11.69.256-44.245 0-85.205-136.448 29.61-164.736-64.64-164.736-64.64-22.315-56.704-54.4-71.765-54.4-71.765-44.587-30.464 3.285-29.824 3.285-29.824 49.195 3.413 75.179 50.517 75.179 50.517 43.776 75.008 114.816 53.333 142.762 40.79 4.523-31.66 17.152-53.377 31.19-65.537-108.971-12.458-223.488-54.485-223.488-242.602 0-53.547 19.114-97.323 50.517-131.67-5.035-12.33-21.93-62.293 4.779-129.834 0 0 41.258-13.184 134.912 50.346a469.803 469.803 0 0 1 122.88-16.554c41.642.213 83.626 5.632 122.88 16.554 93.653-63.488 134.784-50.346 134.784-50.346 26.752 67.541 9.898 117.504 4.864 129.834 31.402 34.347 50.474 78.123 50.474 131.67 0 188.586-114.73 230.016-224.042 242.09 17.578 15.232 33.578 44.672 33.578 90.454v135.85c0 13.142 7.936 27.606 32.854 22.87C862.25 912.597 1002.667 728.747 1002.667 512c0-271.019-219.648-490.667-490.71-490.667z"}));Zc.displayName="GitHubIcon";const eu=()=>f(Oe,{name:"gitlab"},()=>f("path",{d:"M229.333 78.688C223.52 62 199.895 62 193.895 78.688L87.958 406.438h247.5c-.188 0-106.125-327.75-106.125-327.75zM33.77 571.438c-4.875 15 .563 31.687 13.313 41.25l464.812 345L87.77 406.438zm301.5-165 176.813 551.25 176.812-551.25zm655.125 165-54-165-424.312 551.25 464.812-345c12.938-9.563 18.188-26.25 13.5-41.25zM830.27 78.688c-5.812-16.688-29.437-16.688-35.437 0l-106.125 327.75h247.5z"}));eu.displayName="GitLabIcon";const tu=()=>f(Oe,{name:"gitee"},()=>f("path",{d:"M512 992C246.92 992 32 777.08 32 512S246.92 32 512 32s480 214.92 480 480-214.92 480-480 480zm242.97-533.34H482.39a23.7 23.7 0 0 0-23.7 23.7l-.03 59.28c0 13.08 10.59 23.7 23.7 23.7h165.96a23.7 23.7 0 0 1 23.7 23.7v11.85a71.1 71.1 0 0 1-71.1 71.1H375.71a23.7 23.7 0 0 1-23.7-23.7V423.11a71.1 71.1 0 0 1 71.1-71.1h331.8a23.7 23.7 0 0 0 23.7-23.7l.06-59.25a23.73 23.73 0 0 0-23.7-23.73H423.11a177.78 177.78 0 0 0-177.78 177.75v331.83c0 13.08 10.62 23.7 23.7 23.7h349.62a159.99 159.99 0 0 0 159.99-159.99V482.33a23.7 23.7 0 0 0-23.7-23.7z"}));tu.displayName="GiteeIcon";const nu=()=>f(Oe,{name:"bitbucket"},()=>f("path",{d:"M575.256 490.862c6.29 47.981-52.005 85.723-92.563 61.147-45.714-20.004-45.714-92.562-1.133-113.152 38.29-23.442 93.696 7.424 93.696 52.005zm63.451-11.996c-10.276-81.152-102.29-134.839-177.152-101.156-47.433 21.138-79.433 71.424-77.129 124.562 2.853 69.705 69.157 126.866 138.862 120.576S647.3 548.571 638.708 478.83zm136.558-309.723c-25.161-33.134-67.986-38.839-105.728-45.13-106.862-17.151-216.576-17.7-323.438 1.134-35.438 5.706-75.447 11.996-97.719 43.996 36.572 34.304 88.576 39.424 135.424 45.129 84.553 10.862 171.447 11.447 256 .585 47.433-5.705 99.987-10.276 135.424-45.714zm32.585 591.433c-16.018 55.99-6.839 131.438-66.304 163.986-102.29 56.576-226.304 62.867-338.87 42.862-59.43-10.862-129.135-29.696-161.72-85.723-14.3-54.858-23.442-110.848-32.585-166.84l3.438-9.142 10.276-5.157c170.277 112.567 408.576 112.567 579.438 0 26.844 8.01 6.84 40.558 6.29 60.014zm103.424-549.157c-19.42 125.148-41.728 249.71-63.415 374.272-6.29 36.572-41.728 57.162-71.424 72.558-106.862 53.724-231.424 62.866-348.562 50.286-79.433-8.558-160.585-29.696-225.134-79.433-30.28-23.443-30.28-63.415-35.986-97.134-20.005-117.138-42.862-234.277-57.161-352.585 6.839-51.42 64.585-73.728 107.447-89.71 57.16-21.138 118.272-30.866 178.87-36.571 129.134-12.58 261.157-8.01 386.304 28.562 44.581 13.13 92.563 31.415 122.844 69.705 13.714 17.7 9.143 40.01 6.29 60.014z"}));nu.displayName="BitbucketIcon";const ru=()=>f(Oe,{name:"source"},()=>f("path",{d:"M601.92 475.2c0 76.428-8.91 83.754-28.512 99.594-14.652 11.88-43.956 14.058-78.012 16.434-18.81 1.386-40.392 2.97-62.172 6.534-18.612 2.97-36.432 9.306-53.064 17.424V299.772c37.818-21.978 63.36-62.766 63.36-109.692 0-69.894-56.826-126.72-126.72-126.72S190.08 120.186 190.08 190.08c0 46.926 25.542 87.714 63.36 109.692v414.216c-37.818 21.978-63.36 62.766-63.36 109.692 0 69.894 56.826 126.72 126.72 126.72s126.72-56.826 126.72-126.72c0-31.086-11.286-59.598-29.7-81.576 13.266-9.504 27.522-17.226 39.996-19.206 16.038-2.574 32.868-3.762 50.688-5.148 48.312-3.366 103.158-7.326 148.896-44.55 61.182-49.698 74.25-103.158 75.24-187.902V475.2h-126.72zM316.8 126.72c34.848 0 63.36 28.512 63.36 63.36s-28.512 63.36-63.36 63.36-63.36-28.512-63.36-63.36 28.512-63.36 63.36-63.36zm0 760.32c-34.848 0-63.36-28.512-63.36-63.36s28.512-63.36 63.36-63.36 63.36 28.512 63.36 63.36-28.512 63.36-63.36 63.36zM823.68 158.4h-95.04V63.36h-126.72v95.04h-95.04v126.72h95.04v95.04h126.72v-95.04h95.04z"}));ru.displayName="SourceIcon";const ou=(e,t)=>{let n=1;for(let r=0;r<e.length;r++)n+=e.charCodeAt(r),n+=n<<10,n^=n>>6;return n+=n<<3,n^=n>>11,n%t},su=/#.*$/u,Q2=e=>{const t=su.exec(e);return t?t[0]:""},Pi=e=>decodeURI(e).replace(su,"").replace(/\/index\.html$/iu,"/").replace(/\.html$/iu,"").replace(/(README|index)?\.md$/iu,""),lu=(e,t)=>{if(!Lc(t))return!1;const n=Pi(e.path),r=Pi(t),o=Q2(t);return o?o===e.hash&&(!r||n===r):n===r},X2=e=>pn(e)?e:`https://github.com/${e}`,iu=e=>!pn(e)||/github\.com/.test(e)?"GitHub":/bitbucket\.org/.test(e)?"Bitbucket":/gitlab\.com/.test(e)?"GitLab":/gitee\.com/.test(e)?"Gitee":null;var Z2=e=>Object.prototype.toString.call(e)==="[object Object]",br=e=>typeof e=="string";const au=Array.isArray,Ri=e=>Z2(e)&&br(e.name),Mi=(e,t=!1)=>e?au(e)?e.map(n=>br(n)?{name:n}:Ri(n)?n:null).filter(n=>n!==null):br(e)?[{name:e}]:Ri(e)?[e]:(console.error(`Expect "author" to be \`AuthorInfo[] | AuthorInfo | string[] | string ${t?"":"| false"} | undefined\`, but got`,e),[]):[],cu=(e,t)=>{if(e){if(au(e)&&e.every(br))return e;if(br(e))return[e];console.error(`Expect ${t||"value"} to be \`string[] | string | undefined\`, but got`,e)}return[]},eh=e=>cu(e,"category"),th=e=>cu(e,"tag"),nh='<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>',rh='<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 oh={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 Xo=oh,Ni={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"}}},sh=(e,t,n)=>{const r=document.createElement(e);return qn(t)&&gn(t).forEach(o=>{if(o.indexOf("data"))r[o]=t[o];else{const s=o.replace("data","");r.dataset[s]=t[o]}}),n&&n.forEach(o=>{r.appendChild(o)}),r},dl=e=>({...Xo,...e,jsLib:Array.from(new Set([...Xo.jsLib||[],...e.jsLib||[]])),cssLib:Array.from(new Set([...Xo.cssLib||[],...e.cssLib||[]]))}),Pn=(e,t)=>{if(Lc(e[t]))return e[t];const n=new Promise(r=>{var s;const o=document.createElement("script");o.src=t,(s=document.querySelector("body"))==null||s.appendChild(o),o.onload=()=>{r()}});return e[t]=n,n},lh=(e,t)=>{if(t.css&&Array.from(e.childNodes).every(n=>n.nodeName!=="STYLE")){const n=sh("style",{innerHTML:t.css});e.appendChild(n)}},ih=(e,t,n)=>{const r=n.getScript();if(r&&Array.from(t.childNodes).every(o=>o.nodeName!=="SCRIPT")){const o=document.createElement("script");o.appendChild(document.createTextNode(`{const document=window.document.querySelector('#${e} .vp-code-demo-display').shadowRoot;
${r}}`)),t.appendChild(o)}},ah=e=>{const t=gn(e),n={html:[],js:[],css:[],isLegal:!1};return["html","js","css"].forEach(r=>{const o=t.filter(s=>Ni[r].types.includes(s));if(o.length){const s=o[0];n[r]=[e[s].replace(/^\n|\n$/g,""),Ni[r].map[s]||s]}}),n.isLegal=(!n.html.length||n.html[1]==="none")&&(!n.js.length||n.js[1]==="none")&&(!n.css.length||n.css[1]==="none"),n},uu=e=>e.replace(/<br \/>/g,"<br>").replace(/<((\S+)[^<]*?)\s+\/>/g,"<$1></$2>"),fu=e=>`<div id="app">
${uu(e)}
</div>`,ch=e=>`${e.replace("export default ","const $reactApp = ").replace(/App\.__style__(\s*)=(\s*)`([\s\S]*)?`/,"")};
ReactDOM.createRoot(document.getElementById("app")).render(React.createElement($reactApp))`,uh=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(),du=e=>`(function(exports){var module={};module.exports=exports;${e};return module.exports.__esModule?module.exports.default:module.exports;})({})`,fh=(e,t)=>{const n=dl(t),r=e.js[0]||"";return{...n,html:uu(e.html[0]||""),js:r,css:e.css[0]||"",isLegal:e.isLegal,getScript:()=>{var o;return n.useBabel?((o=window.Babel.transform(r,{presets:["es2015"]}))==null?void 0:o.code)||"":r}}},dh=/<template>([\s\S]+)<\/template>/u,ph=/<script(\s*lang=(['"])(.*?)\2)?>([\s\S]+)<\/script>/u,hh=/<style(\s*lang=(['"])(.*?)\2)?\s*(?:scoped)?>([\s\S]+)<\/style>/u,vh=(e,t)=>{const n=dl(t),r=e.html[0]||"",o=dh.exec(r),s=ph.exec(r),l=hh.exec(r),i=o?o[1].replace(/^\n|\n$/g,""):"",[a="",c=""]=s?[s[4].replace(/^\n|\n$/g,""),s[3]]:[],[u="",d=""]=l?[l[4].replace(/^\n|\n$/g,""),l[3]]:[],p=c===""&&(d===""||d==="css");return{...n,html:fu(i),js:uh(a),css:u,isLegal:p,jsLib:[n.vue,...n.jsLib],getScript:()=>{var g,_;const h=t.useBabel?((_=(g=window.Babel)==null?void 0:g.transform(a,{presets:["es2015"]}))==null?void 0:_.code)||"":a.replace(/export\s+default/u,"return");return`const app=window.document.createElement('div');document.firstElementChild.appendChild(app);const appOptions=${du(h)};appOptions.template=\`${i.replace("`",'\\`"')}\`;window.Vue.createApp(appOptions).mount(app);`}}},mh=(e,t)=>{const n=dl(t);return{...n,html:fu(""),js:ch(e.js[0]||""),css:e.css[0]||(e.js[0]?e.js[0].replace(/App\.__style__(?:\s*)=(?:\s*)`([\s\S]*)?`/,"$1").trim():""),isLegal:e.isLegal,jsLib:[n.react,n.reactDOM,...n.jsLib],jsx:!0,getScript:()=>{var o,s;const r=((s=(o=window.Babel)==null?void 0:o.transform(e.js[0]||"",{presets:["es2015","react"]}))==null?void 0:s.code)||"";return`window.ReactDOM.createRoot(document.firstElementChild).render(window.React.createElement(${du(r)}))`}}},Rn={},gh=e=>Promise.all([Pn(Rn,e.babel),Pn(Rn,e.react),Pn(Rn,e.reactDOM)]),yh=e=>{const t=[Pn(Rn,e.vue)];return e.useBabel&&t.push(Pn(Rn,e.babel)),Promise.all(t)},bh=e=>e.useBabel?Pn(Rn,e.babel):Promise.resolve();var _h=V({name:"CodeDemo",props:{id:{type:String,required:!0},type:{type:String,default:"normal"},title:{type:String,default:""},config:{type:String,default:""},code:{type:String,required:!0}},slots:Object,setup(e,{slots:t}){const[n,r]=yr(!1),o=je(),s=je(),l=Y("0"),i=Y(!1),a=T(()=>JSON.parse(e.config?Es(e.config):"{}")),c=T(()=>{const g=JSON.parse(Es(e.code));return ah(g)}),u=T(()=>e.type==="react"?mh(c.value,a.value):e.type==="vue"?vh(c.value,a.value):fh(c.value,a.value)),d=T(()=>u.value.isLegal),p=(g=!1)=>{const _=o.value.attachShadow({mode:"open"}),b=document.createElement("div");b.classList.add("code-demo-app"),_.appendChild(b),d.value?(g&&(b.innerHTML=u.value.html),lh(_,u.value),ih(e.id,_,u.value),l.value="0"):l.value="auto",i.value=!0},h=()=>{switch(e.type){case"react":return gh(u.value).then(()=>p());case"vue":return yh(u.value).then(()=>p());default:return bh(u.value).then(()=>p(!0))}};return Ne("beforeprint",()=>{r(!0)}),we(()=>{setTimeout(()=>{h()},800)}),()=>{var g;return f("div",{class:"vp-code-demo",id:e.id},[f("div",{class:"vp-code-demo-header"},[u.value.isLegal?f("button",{type:"button",title:"toggle","aria-hidden":!0,class:["vp-code-demo-toggle-button",n.value?"down":"end"],onClick:()=>{l.value=n.value?"0":`${s.value.clientHeight+13.8}px`,r()}}):null,e.title?f("span",{class:"vp-code-demo-title"},decodeURIComponent(e.title)):null,u.value.isLegal&&u.value.jsfiddle!==!1?f("form",{class:"code-demo-jsfiddle",target:"_blank",action:"https://jsfiddle.net/api/post/library/pure/",method:"post"},[f("input",{type:"hidden",name:"html",value:u.value.html}),f("input",{type:"hidden",name:"js",value:u.value.js}),f("input",{type:"hidden",name:"css",value:u.value.css}),f("input",{type:"hidden",name:"wrap",value:"1"}),f("input",{type:"hidden",name:"panel_js",value:"3"}),f("input",{type:"hidden",name:"resources",value:[...u.value.cssLib,...u.value.jsLib].join(",")}),f("button",{type:"submit",class:"jsfiddle-button",innerHTML:rh,"aria-label":"JSFiddle","data-balloon-pos":"up"})]):null,!u.value.isLegal||u.value.codepen!==!1?f("form",{class:"code-demo-codepen",target:"_blank",action:"https://codepen.io/pen/define",method:"post"},[f("input",{type:"hidden",name:"data",value:JSON.stringify({html:u.value.html,js:u.value.js,css:u.value.css,js_external:u.value.jsLib.join(";"),css_external:u.value.cssLib.join(";"),layout:u.value.codepenLayout,html_pre_processor:c.value?c.value.html[1]:"none",js_pre_processor:c.value?c.value.js[1]:u.value.jsx?"babel":"none",css_pre_processor:c.value?c.value.css[1]:"none",editors:u.value.codepenEditors})}),f("button",{type:"submit",innerHTML:nh,class:"codepen-button","aria-label":"Codepen","data-balloon-pos":"up"})]):null]),i.value?null:f(fl,{class:"vp-code-demo-loading"}),f("div",{ref:o,class:"vp-code-demo-display",style:{display:d.value&&i.value?"block":"none"}}),f("div",{class:"vp-code-demo-code-wrapper",style:{height:l.value}},f("div",{ref:s,class:"vp-code-demo-codes"},(g=t.default)==null?void 0:g.call(t)))])}}}),wh=V({name:"MdDemo",props:{id:{type:String,required:!0},title:{type:String,default:""}},slots:Object,setup(e,{slots:t}){const[n,r]=yr(!1),o=je(),s=Y("0");return Ne("beforeprint",()=>{r(!0)}),()=>{var l,i;return f("div",{class:"vp-md-demo",id:e.id},[f("div",{class:"vp-md-demo-header"},[f("button",{type:"button",title:"toggle","aria-hidden":!0,class:["vp-md-demo-toggle-button",n.value?"down":"end"],onClick:()=>{s.value=n.value?"0":`${o.value.clientHeight+13.8}px`,r()}}),e.title?decodeURIComponent(e.title):null]),f("div",{class:"vp-md-demo-display"},(l=t.default)==null?void 0:l.call(t)),f("div",{class:"vp-md-demo-code-wrapper",style:{height:s.value}},f("div",{ref:o,class:"vp-md-demo-codes"},(i=t.code)==null?void 0:i.call(t)))])}}});let Eh={};const pu=Symbol(""),Ch=()=>De(pu),xh=e=>{e.provide(pu,Eh)},Sh=(async()=>{}).constructor,kh=(e,t,n)=>t==="js"?Sh("myChart",`let width,height,option,__echarts_config__;
{
${e}
__echarts_config__={width,height,option};
}
return __echarts_config__;
`)(n):Promise.resolve({option:JSON.parse(e)});var Th=V({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=Ch(),n=Y(!0),r=je();let o;return Ne("resize",Pc(()=>o==null?void 0:o.resize(),100)),we(()=>{Promise.all([Te(()=>import("./index-Cw_AvLww.js"),__vite__mapDeps([])),new Promise(s=>setTimeout(s,800))]).then(async([s])=>{var a;await((a=t.setup)==null?void 0:a.call(t)),o=s.init(r.value);const{option:l,...i}=await kh(Es(e.config),e.type,o);o.resize(i),o.setOption({...t.option,...l}),n.value=!1})}),dn(()=>{o==null||o.dispose()}),()=>[e.title?f("div",{class:"echarts-title"},decodeURIComponent(e.title)):null,f("div",{class:"echarts-wrapper"},[f("div",{ref:r,class:"echarts-container",id:e.id}),n.value?f(fl,{class:"echarts-loading",height:360}):null])]}});const Ah=()=>{Ne("beforeprint",()=>{document.querySelectorAll("details").forEach(e=>{e.open=!0})})},Zo=Gn("VUEPRESS_TAB_STORE",{});var Lh=V({name:"Tabs",props:{active:{type:Number,default:0},data:{type:Array,required:!0},id:{type:String,required:!0},tabId:{type:String,default:""}},slots:Object,setup(e,{slots:t}){const n=Y(e.active),r=je([]),o=()=>{e.tabId&&(Zo.value[e.tabId]=e.data[n.value].id)},s=(c=n.value)=>{n.value=c<r.value.length-1?c+1:0,r.value[n.value].focus()},l=(c=n.value)=>{n.value=c>0?c-1:r.value.length-1,r.value[n.value].focus()},i=(c,u)=>{c.key===" "||c.key==="Enter"?(c.preventDefault(),n.value=u):c.key==="ArrowRight"?(c.preventDefault(),s()):c.key==="ArrowLeft"&&(c.preventDefault(),l()),o()},a=()=>{if(e.tabId){const c=e.data.findIndex(({id:u})=>Zo.value[e.tabId]===u);if(c!==-1)return c}return e.active};return we(()=>{n.value=a(),he(()=>Zo.value[e.tabId],(c,u)=>{if(e.tabId&&c!==u){const d=e.data.findIndex(({id:p})=>p===c);d!==-1&&(n.value=d)}})}),()=>e.data.length?f("div",{class:"vp-tabs"},[f("div",{class:"vp-tabs-nav",role:"tablist"},e.data.map(({id:c},u)=>{const d=u===n.value;return f("button",{type:"button",ref:p=>{p&&(r.value[u]=p)},class:["vp-tab-nav",{active:d}],role:"tab","aria-controls":`tab-${e.id}-${u}`,"aria-selected":d,onClick:()=>{n.value=u,o()},onKeydown:p=>i(p,u)},t[`title${u}`]({value:c,isActive:d}))})),e.data.map(({id:c},u)=>{const d=u===n.value;return f("div",{class:["vp-tab",{active:d}],id:`tab-${e.id}-${u}`,role:"tabpanel","aria-expanded":d},[f("div",{class:"vp-tab-title"},t[`title${u}`]({value:c,isActive:d})),t[`tab${u}`]({value:c,isActive:d})])})]):null}});const Ih=et({enhance:({app:e})=>{e.component("CodeTabs",Y2),ft("CodeGroup",e)||e.component("CodeGroup",J2),ft("CodeGroupItem",e)||e.component("CodeGroupItem",Qc),e.component("CodeDemo",_h),e.component("MdDemo",wh),e.component("ECharts",Th),xh(e),e.component("Tabs",Lh)},setup:()=>{Ah()}});let $h={};const hu=Symbol(""),Oh=()=>De(hu),Ph=e=>{e.provide(hu,$h)},Rh='<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>',Mh=e=>$e(e)?Array.from(document.querySelectorAll(e)):e.map(t=>Array.from(document.querySelectorAll(t))).flat(),vu=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(vu(e)),e.onerror=r=>n(r))}),Nh=e=>{const{isSupported:t,toggle:n}=cl();e.on("uiRegister",()=>{t.value&&e.ui.registerElement({name:"fullscreen",order:7,isButton:!0,html:'<svg class="pswp__icn" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg"><path d="M249.5 270.833H437v-75H212a37.5 37.5 0 0 0-37.5 37.5v225h75v-187.5zm-37.5 600h225v-75H249.5v-187.5h-75v225a37.5 37.5 0 0 0 37.5 37.5zm637.5-37.5v-225h-75v187.5H587v75h225a37.5 37.5 0 0 0 37.5-37.5zM587 270.833h187.5v187.5h75v-225a37.5 37.5 0 0 0-37.5-37.5H587v75z"/></svg>',onClick:()=>{n()}}),e.ui.registerElement({name:"download",order:8,isButton:!0,tagName:"a",html:{isCustomSVG:!0,inner:'<path d="M20.5 14.3 17.1 18V10h-2.2v7.9l-3.4-3.6L10 16l6 6.1 6-6.1-1.5-1.6ZM23 23H9v2h14" id="pswp__icn-download"/>',outlineID:"pswp__icn-download"},onInit:(r,o)=>{r.setAttribute("download",""),r.setAttribute("target","_blank"),r.setAttribute("rel","noopener"),o.on("change",()=>{r.setAttribute("href",o.currSlide.data.src)})}}),e.ui.registerElement({name:"bulletsIndicator",className:"photo-swipe-bullets-indicator",appendTo:"wrapper",onInit:(r,o)=>{const s=[];let l=-1;for(let i=0;i<o.getNumItems();i++){const a=document.createElement("div");a.className="photo-swipe-bullet",a.onclick=c=>{o.goTo(s.indexOf(c.target))},s.push(a),r.appendChild(a)}o.on("change",()=>{l>=0&&s[l].classList.remove("active"),s[o.currIndex].classList.add("active"),l=o.currIndex})}})})},Dh=(e,t,n=!0)=>Te(()=>import("./photoswipe.esm-SzV8tJDW.js"),__vite__mapDeps([])).then(({default:r})=>{let o=null;const s=e.map(l=>({html:Rh,element:l,msrc:l.src}));return e.forEach((l,i)=>{const a=()=>{o==null||o.destroy(),o=new r({preloaderDelay:0,showHideAnimationType:"zoom",...t,dataSource:s,index:i,...n?{closeOnVerticalDrag:!0,wheelToZoom:!1}:{}}),Nh(o),o.addFilter("thumbEl",()=>l),o.addFilter("placeholderSrc",()=>l.src),o.init()};l.getAttribute("photo-swipe")||(l.style.cursor="zoom-in",l.addEventListener("click",()=>{a()}),l.addEventListener("keypress",({key:c})=>{c==="Enter"&&a()}),l.setAttribute("photo-swipe","")),vu(l).then(c=>{s.splice(i,1,c),o==null||o.refreshSlideContent(i)})}),n?Ne("wheel",()=>{o==null||o.close()}):()=>{}}),jh=({selector:e,locales:t,delay:n=500,scrollToClose:r=!0})=>{const o=Oh(),s=Pr(t),l=Ae(),i=Le();let a=null;const c=()=>{const{photoSwipe:u}=i.value;u!==!1&&Jt().then(()=>Ac(n)).then(async()=>{const d=$e(u)?u:e;a=await Dh(Mh(d),{...o,...s.value},r)})};we(()=>{c(),he(()=>l.value.path,()=>{a==null||a(),c()})}),dn(()=>{a==null||a()})};var Fh={"/":{closeTitle:"关闭",downloadTitle:"下载图片",fullscreenTitle:"切换全屏",zoomTitle:"缩放",arrowPrevTitle:"上一个 (左箭头)",arrowNextTitle:"下一个 (右箭头)"}};const Bh=".theme-hope-content :not(a) > img:not([no-view])",Hh=Fh,Vh=800,zh=!0,Uh=et({enhance:({app:e})=>{Ph(e)},setup:()=>{jh({selector:Bh,delay:Vh,locales:Hh,scrollToClose:zh})}}),qh=e=>e instanceof Element?document.activeElement===e&&(["TEXTAREA","SELECT","INPUT"].includes(e.tagName)||e.hasAttribute("contenteditable")):!1,Wh=(e,t)=>t.some(n=>{if($e(n))return n===e.key;const{key:r,ctrl:o=!1,shift:s=!1,alt:l=!1}=n;return r===e.key&&o===e.ctrlKey&&s===e.shiftKey&&l===e.altKey}),Gh=/[^\x00-\x7F]/,Kh=e=>e.split(/\s+/g).map(t=>t.trim()).filter(t=>!!t),Di=e=>e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),ji=(e,t)=>{const n=t.join(" "),r=Kh(e);if(Gh.test(e))return r.some(l=>n.toLowerCase().indexOf(l)>-1);const o=e.endsWith(" ");return new RegExp(r.map((l,i)=>r.length===i+1&&!o?`(?=.*\\b${Di(l)})`:`(?=.*\\b${Di(l)}\\b)`).join("")+".+","gi").test(n)},Yh=({input:e,hotKeys:t})=>{if(t.value.length===0)return;const n=r=>{e.value&&Wh(r,t.value)&&!qh(r.target)&&(r.preventDefault(),e.value.focus())};we(()=>{document.addEventListener("keydown",n)}),Ys(()=>{document.removeEventListener("keydown",n)})},Jh=[{title:"首页",headers:[],path:"/",pathLocale:"/",extraFields:[]},{title:"首页",headers:[],path:"/childrensdaybak.html",pathLocale:"/",extraFields:[]},{title:"首页",headers:[],path:"/foolsday.html",pathLocale:"/",extraFields:[]},{title:"项目部署",headers:[],path:"/deployment/",pathLocale:"/",extraFields:[]},{title:"配置",headers:[{level:2,title:"基础配置项",slug:"基础配置项",link:"#基础配置项",children:[]},{level:2,title:"其他配置",slug:"其他配置",link:"#其他配置",children:[]},{level:2,title:"与NoneBot对接的OneBot实现端配置",slug:"与nonebot对接的onebot实现端配置",link:"#与nonebot对接的onebot实现端配置",children:[]},{level:2,title:"其他",slug:"其他",link:"#其他",children:[]}],path:"/deployment/config.html",pathLocale:"/",extraFields:[]},{title:"答疑",headers:[{level:2,title:"常见问题",slug:"常见问题",link:"#常见问题",children:[]},{level:2,title:"推荐方案(QQ)",slug:"推荐方案-qq",link:"#推荐方案-qq",children:[]},{level:2,title:"推荐方案(Minecraft)",slug:"推荐方案-minecraft",link:"#推荐方案-minecraft",children:[]},{level:2,title:"鸣谢",slug:"鸣谢",link:"#鸣谢",children:[]}],path:"/deployment/fandq.html",pathLocale:"/",extraFields:[]},{title:"安装",headers:[{level:2,title:"开始安装",slug:"开始安装",link:"#开始安装",children:[{level: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:"/deployment/install.html",pathLocale:"/",extraFields:[]},{title:"开发及贡献",headers:[],path:"/dev/",pathLocale:"/",extraFields:[]},{title:"进程通信",headers:[{level:2,title:"简介",slug:"简介",link:"#简介",children:[]},{level:2,title:"快速开始",slug:"快速开始",link:"#快速开始",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:"资源及插件商店",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:"轻雪API",headers:[{level:2,title:"轻雪API",slug:"轻雪api",link:"#轻雪api",children:[]}],path:"/usage/lyapi.html",pathLocale:"/",extraFields:[]},{title:"",headers:[],path:"/404.html",pathLocale:"/",extraFields:[]}],Qh=Y(Jh),Xh=()=>Qh,Zh=({searchIndex:e,routeLocale:t,query:n,maxSuggestions:r})=>{const o=T(()=>e.value.filter(s=>s.pathLocale===t.value));return T(()=>{const s=n.value.trim().toLowerCase();if(!s)return[];const l=[],i=(a,c)=>{ji(s,[c.title])&&l.push({link:`${a.path}#${c.slug}`,title:a.title,header:c.title});for(const u of c.children){if(l.length>=r.value)return;i(a,u)}};for(const a of o.value){if(l.length>=r.value)break;if(ji(s,[a.title,...a.extraFields])){l.push({link:a.path,title:a.title});continue}for(const c of a.headers){if(l.length>=r.value)break;i(a,c)}}return l})},e3=e=>{const t=Y(0);return{focusIndex:t,focusNext:()=>{t.value<e.value.length-1?t.value+=1:t.value=0},focusPrev:()=>{t.value>0?t.value-=1:t.value=e.value.length-1}}},t3=V({name:"SearchBox",props:{locales:{type:Object,default:()=>({})},hotKeys:{type:Array,default:()=>[]},maxSuggestions:{type:Number,default:5}},setup(e){const{locales:t,hotKeys:n,maxSuggestions:r}=Uf(e),o=hn(),s=mn(),l=Xh(),i=Y(null),a=Y(!1),c=Y(""),u=T(()=>t.value[s.value]??{}),d=Zh({searchIndex:l,routeLocale:s,query:c,maxSuggestions:r}),{focusIndex:p,focusNext:h,focusPrev:g}=e3(d);Yh({input:i,hotKeys:n});const _=T(()=>a.value&&!!d.value.length),b=()=>{_.value&&g()},w=()=>{_.value&&h()},x=y=>{if(!_.value)return;const k=d.value[y];k&&o.push(k.link).then(()=>{c.value="",p.value=0})};return()=>f("form",{class:"search-box",role:"search"},[f("input",{ref:i,type:"search",placeholder:u.value.placeholder,autocomplete:"off",spellcheck:!1,value:c.value,onFocus:()=>a.value=!0,onBlur:()=>a.value=!1,onInput:y=>c.value=y.target.value,onKeydown:y=>{switch(y.key){case"ArrowUp":{b();break}case"ArrowDown":{w();break}case"Enter":{y.preventDefault(),x(p.value);break}}}}),_.value&&f("ul",{class:"suggestions",onMouseleave:()=>p.value=-1},d.value.map(({link:y,title:k,header:R},S)=>f("li",{class:["suggestion",{focus:p.value===S}],onMouseenter:()=>p.value=S,onMousedown:()=>x(S)},f("a",{href:y,onClick:I=>I.preventDefault()},[f("span",{class:"page-title"},k),R&&f("span",{class:"page-header"},`> ${R}`)]))))])}});var n3=["s","/"],r3={"/":{placeholder:"搜索"}};const o3=r3,s3=n3,l3=5,i3=et({enhance({app:e}){e.component("SearchBox",t=>f(t3,{locales:o3,hotKeys:s3,maxSuggestions:l3,...t}))}}),mu=()=>{const e=Ae();return T(()=>e.value.readingTime??null)},a3=(e,t)=>{const{minutes:n,words:r}=e,{less1Minute:o,word:s,time:l}=t;return{time:n<1?o:l.replace("$time",Math.round(n).toString()),words:s.replace("$word",r.toString())}};var Fi={"/":{word:"约 $word 字",less1Minute:"小于 1 分钟",time:"大约 $time 分钟"}};const Bi={words:"",time:""},xs=typeof Fi>"u"?null:Fi,c3=()=>xs?Pr(xs):T(()=>null),u3=()=>{if(typeof xs>"u")return T(()=>Bi);const e=mu(),t=c3();return T(()=>e.value&&t.value?a3(e.value,t.value):Bi)},yn=()=>Wc(),ye=()=>T2(),Dr=()=>{const e=yn();return T(()=>!!e.value.pure)},es=()=>null,f3="719px",d3="1440px",p3="false",gu={mobileBreakPoint:f3,pcBreakPoint:d3,enableThemeColor:p3},pl={"/deployment/":["install","config","fandq"],"/usage/":["basic_command","extra_command","agreement","lyapi"],"/store/":["resource","plugin"],"/dev/":["dev_resource_pack","dev_lyfunc","dev_lyplugin","dev_comm"]},yu=e=>{const{icon:t="",color:n,size:r}=e,o=n||r?{}:null;return n&&(o.color=n),r&&(o.height=Number.isNaN(Number(r))?r:`${r}px`),pn(t)?f("img",{class:"icon",src:t,alt:"","no-view":"",style:o}):il(t)?f("img",{class:"icon",src:Ge(t),alt:"","aria-hidden":"","no-view":"",style:o}):f(gt("FontIcon"),e)};yu.displayName="HopeIcon";var Ke=yu;const h3="http://.",hl=()=>{const e=hn(),t=vn();return n=>{if(n)if(il(n))t.path!==n&&e.push(n);else if(lc(n))window&&window.open(n);else{const r=t.path.slice(0,t.path.lastIndexOf("/"));e.push(new URL(`${r}/${encodeURI(n)}`,h3).pathname)}}},bu=()=>{const e=ye(),t=Le();return T(()=>{const{author:n}=t.value;return n?Mi(n):n===!1?[]:Mi(e.value.author,!1)})},v3=()=>{const e=Le();return T(()=>eh(e.value.category).map(t=>({name:t,path:""})))},m3=()=>{const e=Le();return T(()=>th(e.value.tag).map(t=>({name:t,path:""})))},g3=()=>{const e=Le(),t=Ae();return T(()=>{const n=T0(e.value.date);if(n)return n;const{createdTime:r}=t.value.git||{};return r?new Date(r):null})},y3=()=>{const e=ye(),t=Ae(),n=Le(),r=bu(),o=v3(),s=m3(),l=g3(),i=mu(),a=u3(),c=T(()=>({author:r.value,category:o.value,date:l.value,localizedDate:t.value.localizedDate,tag:s.value,isOriginal:n.value.isOriginal||!1,readingTime:i.value,readingTimeLocale:a.value,pageview:"pageview"in n.value?n.value.pageview:!0})),u=T(()=>"pageInfo"in n.value?n.value.pageInfo:"pageInfo"in e.value?e.value.pageInfo:null);return{info:c,items:u}},{mobileBreakPoint:b3,pcBreakPoint:_3}=gu,Hi=e=>e.endsWith("px")?Number(e.slice(0,-2)):null,Io=()=>{const e=Y(!1),t=Y(!1),n=()=>{e.value=window.innerWidth<=(Hi(b3)??719),t.value=window.innerWidth>=(Hi(_3)??1440)};return we(()=>{n(),Ne("resize",n,!1),Ne("orientationchange",n,!1)}),{isMobile:e,isPC:t}},_u=Symbol(""),jr=()=>{const e=De(_u);if(!e)throw new Error("useDarkmode() is called without provider.");return e},w3=e=>{const t=yn(),n=K0(),r=T(()=>t.value.darkmode||"switch"),o=Gn("vuepress-theme-hope-scheme","auto"),s=T(()=>{const i=r.value;return i==="disable"?!1:i==="enable"?!0:i==="auto"?n.value:i==="toggle"?o.value==="dark":o.value==="dark"||o.value==="auto"&&n.value}),l=T(()=>{const i=r.value;return i==="switch"||i==="toggle"});e.provide(_u,{canToggle:l,config:r,isDarkmode:s,status:o}),Object.defineProperties(e.config.globalProperties,{$isDarkmode:{get:()=>s.value}})},E3=()=>{const{config:e,isDarkmode:t,status:n}=jr();Aa(()=>{e.value==="disable"?n.value="light":e.value==="enable"?n.value="dark":e.value==="toggle"&&n.value==="auto"&&(n.value="light")}),we(()=>{he(t,r=>document.documentElement.setAttribute("data-theme",r?"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||{}),C3=(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))(C3||{}),x3=(e=>(e.article="a",e.home="h",e.slide="s",e.page="p",e))(x3||{});const on=(e="",t="")=>il(t)?t:`${sc(e)}${t}`,Mn=(e,t=!1)=>{const{meta:n,path:r,notFound:o}=To(e);return o?{text:r,link:r}:{text:!t&&n[Ct.shortTitle]?n[Ct.shortTitle]:n[Ct.title]||r,link:r,...n[Ct.icon]?{icon:n[Ct.icon]}:{}}},Ss=({config:e,prefix:t=""})=>{const n=(r,o=t)=>{const s=$e(r)?Mn(on(o,r)):r.link?{...r,...Fn(r.link)?{}:{link:Mn(on(o,r.link)).link}}:r;if("children"in s){const l=on(o,s.prefix),i=s.children==="structure"?pl[l]:s.children;return{type:"group",...s,prefix:l,children:i.map(a=>n(a,l))}}return{type:"page",...s}};return e.map(r=>n(r))},S3=({config:e,page:t,headerDepth:n})=>{const r=gn(e).sort((o,s)=>s.length-o.length);for(const o of r)if(Vn(decodeURI(t.path),o)){const s=e[o];return s?Ss({config:s==="structure"?pl[o]:s,page:t,headerDepth:n,prefix:o}):[]}return console.warn(`${t.path} is missing sidebar config.`),[]},k3=({config:e,routeLocale:t,page:n,headerDepth:r})=>e==="structure"?Ss({config:pl[t],page:n,headerDepth:r,prefix:t}):Cs(e)?Ss({config:e,page:n,headerDepth:r}):qn(e)?S3({config:e,page:n,headerDepth:r}):[],wu=Symbol(""),T3=()=>{const e=Le(),t=ye(),n=Ae(),r=mn(),o=T(()=>e.value.home?!1:e.value.sidebar??t.value.sidebar??"structure"),s=T(()=>e.value.headerDepth??t.value.headerDepth??2),l=Ic(()=>[o.value,s.value,n.value.path,null],()=>k3({config:o.value,routeLocale:r.value,page:n.value,headerDepth:s.value}));On(wu,l)},vl=()=>{const e=De(wu);if(!e)throw new Error("useSidebarItems() is called without provider.");return e};var A3=V({name:"PageFooter",setup(){const e=yn(),t=ye(),n=Le(),r=bu(),o=T(()=>{const{copyright:c,footer:u}=n.value;return u!==!1&&!!(c||u||t.value.displayFooter)}),s=T(()=>{const{footer:c}=n.value;return c===!1?!1:$e(c)?c:t.value.footer||""}),l=T(()=>r.value.map(({name:c})=>c).join(", ")),i=c=>`Copyright © ${new Date().getFullYear()} ${l.value} ${c?`${c} Licensed`:""}`,a=T(()=>{const{copyright:c,license:u=""}=n.value,{license:d}=e.value,{copyright:p}=t.value;return c??(u?i(u):$e(p)?p:l.value||d?i(d):!1)});return()=>o.value?f("footer",{class:"vp-footer-wrapper"},[s.value?f("div",{class:"vp-footer",innerHTML:s.value}):null,a.value?f("div",{class:"vp-copyright",innerHTML:a.value}):null]):null}}),Xe=V({name:"AutoLink",inheritAttrs:!1,props:{config:{type:Object,required:!0},exact:Boolean,noExternalLinkIcon:Boolean},emits:["focusout"],slots:Object,setup(e,{attrs:t,emit:n,slots:r}){const o=vn(),s=bc(),l=yo(e,"config"),i=T(()=>pn(l.value.link)),a=T(()=>!i.value&&lc(l.value.link)),c=T(()=>l.value.target||(i.value?"_blank":void 0)),u=T(()=>c.value==="_blank"),d=T(()=>!i.value&&!a.value&&!u.value),p=T(()=>l.value.rel||(u.value?"noopener noreferrer":null)),h=T(()=>l.value.ariaLabel||l.value.text),g=T(()=>{if(e.exact)return!1;const b=gn(s.value.locales);return b.length?b.every(w=>w!==l.value.link):l.value.link!=="/"}),_=T(()=>d.value?l.value.activeMatch?new RegExp(l.value.activeMatch,"u").test(o.path):g.value?Vn(o.path,l.value.link):o.path===l.value.link:!1);return()=>{const{before:b,after:w,default:x}=r,{text:y,icon:k,link:R}=l.value;return d.value?f(Qe,{to:R,"aria-label":h.value,...t,class:["nav-link",{active:_.value},t.class],onFocusout:()=>n("focusout")},()=>x?x():[b?b():f(Ke,{icon:k}),y,w==null?void 0:w()]):f("a",{href:R,rel:p.value,target:c.value,"aria-label":h.value,...t,class:["nav-link",t.class],onFocusout:()=>n("focusout")},x?x():[b?b():f(Ke,{icon:k}),y,e.noExternalLinkIcon?null:f(Uc),w==null?void 0:w()])}}}),L3=V({name:"NavbarDropdownLink",props:{config:{type:Object,required:!0}},slots:Object,setup(e,{slots:t}){const n=Ae(),r=yo(e,"config"),o=T(()=>r.value.ariaLabel||r.value.text),s=Y(!1);he(()=>n.value.path,()=>{s.value=!1});const l=i=>{i.detail===0&&(s.value=!s.value)};return()=>{var i;return f("div",{class:["dropdown-wrapper",{open:s.value}]},[f("button",{type:"button",class:"dropdown-title","aria-label":o.value,onClick:l},[((i=t.title)==null?void 0:i.call(t))||f("span",{class:"title"},[f(Ke,{icon:r.value.icon}),e.config.text]),f("span",{class:"arrow"}),f("ul",{class:"nav-dropdown"},r.value.children.map((a,c)=>{const u=c===r.value.children.length-1;return f("li",{class:"dropdown-item"},"children"in a?[f("h4",{class:"dropdown-subtitle"},a.link?f(Xe,{config:a,onFocusout:()=>{a.children.length===0&&u&&(s.value=!1)}}):f("span",a.text)),f("ul",{class:"dropdown-subitem-wrapper"},a.children.map((d,p)=>f("li",{class:"dropdown-subitem"},f(Xe,{config:d,onFocusout:()=>{p===a.children.length-1&&u&&(s.value=!1)}}))))]:f(Xe,{config:a,onFocusout:()=>{u&&(s.value=!1)}}))}))])])}}});const Eu=(e,t="")=>$e(e)?Mn(on(t,e)):"children"in e?{...e,...e.link&&!Fn(e.link)?Mn(on(t,e.link)):{},children:e.children.map(n=>Eu(n,on(t,e.prefix)))}:{...e,link:Fn(e.link)?e.link:Mn(on(t,e.link)).link},Cu=()=>{const e=ye(),t=()=>(e.value.navbar||[]).map(n=>Eu(n));return Ic(()=>e.value.navbar,()=>t())},I3=()=>{const e=ye(),t=T(()=>e.value.repo||null),n=T(()=>t.value?X2(t.value):null),r=T(()=>t.value?iu(t.value):null),o=T(()=>n.value?e.value.repoLabel??(r.value===null?"Source":r.value):null);return T(()=>!n.value||!o.value||e.value.repoDisplay===!1?null:{type:r.value||"Source",label:o.value,link:n.value})};var $3=V({name:"NavScreenDropdown",props:{config:{type:Object,required:!0}},setup(e){const t=Ae(),n=yo(e,"config"),r=T(()=>n.value.ariaLabel||n.value.text),o=Y(!1);he(()=>t.value.path,()=>{o.value=!1});const s=(l,i)=>i[i.length-1]===l;return()=>[f("button",{type:"button",class:["nav-screen-dropdown-title",{active:o.value}],"aria-label":r.value,onClick:()=>{o.value=!o.value}},[f("span",{class:"title"},[f(Ke,{icon:n.value.icon}),e.config.text]),f("span",{class:["arrow",o.value?"down":"end"]})]),f("ul",{class:["nav-screen-dropdown",{hide:!o.value}]},n.value.children.map(l=>f("li",{class:"dropdown-item"},"children"in l?[f("h4",{class:"dropdown-subtitle"},l.link?f(Xe,{config:l,onFocusout:()=>{s(l,n.value.children)&&l.children.length===0&&(o.value=!1)}}):f("span",l.text)),f("ul",{class:"dropdown-subitem-wrapper"},l.children.map(i=>f("li",{class:"dropdown-subitem"},f(Xe,{config:i,onFocusout:()=>{s(i,l.children)&&s(l,n.value.children)&&(o.value=!1)}}))))]:f(Xe,{config:l,onFocusout:()=>{s(l,n.value.children)&&(o.value=!1)}}))))]}}),O3=V({name:"NavScreenLinks",setup(){const e=Cu();return()=>e.value.length?f("nav",{class:"nav-screen-links"},e.value.map(t=>f("div",{class:"navbar-links-item"},"children"in t?f($3,{config:t}):f(Xe,{config:t})))):null}});const xu=()=>f(Oe,{name:"dark"},()=>f("path",{d:"M524.8 938.667h-4.267a439.893 439.893 0 0 1-313.173-134.4 446.293 446.293 0 0 1-11.093-597.334A432.213 432.213 0 0 1 366.933 90.027a42.667 42.667 0 0 1 45.227 9.386 42.667 42.667 0 0 1 10.24 42.667 358.4 358.4 0 0 0 82.773 375.893 361.387 361.387 0 0 0 376.747 82.774 42.667 42.667 0 0 1 54.187 55.04 433.493 433.493 0 0 1-99.84 154.88 438.613 438.613 0 0 1-311.467 128z"}));xu.displayName="DarkIcon";const Su=()=>f(Oe,{name:"light"},()=>f("path",{d:"M952 552h-80a40 40 0 0 1 0-80h80a40 40 0 0 1 0 80zM801.88 280.08a41 41 0 0 1-57.96-57.96l57.96-58a41.04 41.04 0 0 1 58 58l-58 57.96zM512 752a240 240 0 1 1 0-480 240 240 0 0 1 0 480zm0-560a40 40 0 0 1-40-40V72a40 40 0 0 1 80 0v80a40 40 0 0 1-40 40zm-289.88 88.08-58-57.96a41.04 41.04 0 0 1 58-58l57.96 58a41 41 0 0 1-57.96 57.96zM192 512a40 40 0 0 1-40 40H72a40 40 0 0 1 0-80h80a40 40 0 0 1 40 40zm30.12 231.92a41 41 0 0 1 57.96 57.96l-57.96 58a41.04 41.04 0 0 1-58-58l58-57.96zM512 832a40 40 0 0 1 40 40v80a40 40 0 0 1-80 0v-80a40 40 0 0 1 40-40zm289.88-88.08 58 57.96a41.04 41.04 0 0 1-58 58l-57.96-58a41 41 0 0 1 57.96-57.96z"}));Su.displayName="LightIcon";const ku=()=>f(Oe,{name:"auto"},()=>f("path",{d:"M512 992C246.92 992 32 777.08 32 512S246.92 32 512 32s480 214.92 480 480-214.92 480-480 480zm0-840c-198.78 0-360 161.22-360 360 0 198.84 161.22 360 360 360s360-161.16 360-360c0-198.78-161.22-360-360-360zm0 660V212c165.72 0 300 134.34 300 300 0 165.72-134.28 300-300 300z"}));ku.displayName="AutoIcon";const Tu=()=>f(Oe,{name:"enter-fullscreen"},()=>f("path",{d:"M762.773 90.24h-497.28c-96.106 0-174.4 78.293-174.4 174.4v497.28c0 96.107 78.294 174.4 174.4 174.4h497.28c96.107 0 175.04-78.293 174.4-174.4V264.64c0-96.213-78.186-174.4-174.4-174.4zm-387.2 761.173H215.04c-21.867 0-40.427-17.92-41.067-41.066V649.92c0-22.507 17.92-40.427 40.427-40.427 11.307 0 21.227 4.694 28.48 11.947 7.253 7.253 11.947 17.92 11.947 28.48v62.293l145.28-145.28c15.893-15.893 41.813-15.893 57.706 0 15.894 15.894 15.894 41.814 0 57.707l-145.28 145.28h62.294c22.506 0 40.426 17.92 40.426 40.427s-17.173 41.066-39.68 41.066zM650.24 165.76h160.427c21.866 0 40.426 17.92 41.066 41.067v160.426c0 22.507-17.92 40.427-40.426 40.427-11.307 0-21.227-4.693-28.48-11.947-7.254-7.253-11.947-17.92-11.947-28.48v-62.186L625.6 450.347c-15.893 15.893-41.813 15.893-57.707 0-15.893-15.894-15.893-41.814 0-57.707l145.28-145.28H650.88c-22.507 0-40.427-17.92-40.427-40.427s17.174-41.173 39.787-41.173z"}));Tu.displayName="EnterFullScreenIcon";const Au=()=>f(Oe,{name:"cancel-fullscreen"},()=>f("path",{d:"M778.468 78.62H247.922c-102.514 0-186.027 83.513-186.027 186.027V795.08c0 102.514 83.513 186.027 186.027 186.027h530.432c102.514 0 186.71-83.513 186.026-186.027V264.647C964.494 162.02 880.981 78.62 778.468 78.62zM250.88 574.35h171.122c23.324 0 43.122 19.115 43.804 43.805v171.121c0 24.008-19.114 43.122-43.122 43.122-12.06 0-22.641-5.006-30.378-12.743s-12.743-19.115-12.743-30.379V722.83L224.597 877.91c-16.953 16.952-44.6 16.952-61.553 0-16.953-16.954-16.953-44.602 0-61.554L318.009 661.39h-66.446c-24.007 0-43.122-19.114-43.122-43.122 0-24.12 18.432-43.918 42.439-43.918zm521.899-98.873H601.657c-23.325 0-43.122-19.114-43.805-43.804V260.55c0-24.007 19.115-43.122 43.122-43.122 12.06 0 22.642 5.007 30.379 12.743s12.743 19.115 12.743 30.38v66.445l154.965-154.965c16.953-16.953 44.601-16.953 61.554 0 16.953 16.953 16.953 44.6 0 61.554L705.536 388.55h66.446c24.007 0 43.122 19.115 43.122 43.122.114 24.007-18.318 43.804-42.325 43.804z"}));Au.displayName="CancelFullScreenIcon";const Lu=()=>f(Oe,{name:"outlook"},()=>[f("path",{d:"M224 800c0 9.6 3.2 44.8 6.4 54.4 6.4 48-48 76.8-48 76.8s80 41.6 147.2 0 134.4-134.4 38.4-195.2c-22.4-12.8-41.6-19.2-57.6-19.2C259.2 716.8 227.2 761.6 224 800zM560 675.2l-32 51.2c-51.2 51.2-83.2 32-83.2 32 25.6 67.2 0 112-12.8 128 25.6 6.4 51.2 9.6 80 9.6 54.4 0 102.4-9.6 150.4-32l0 0c3.2 0 3.2-3.2 3.2-3.2 22.4-16 12.8-35.2 6.4-44.8-9.6-12.8-12.8-25.6-12.8-41.6 0-54.4 60.8-99.2 137.6-99.2 6.4 0 12.8 0 22.4 0 12.8 0 38.4 9.6 48-25.6 0-3.2 0-3.2 3.2-6.4 0-3.2 3.2-6.4 3.2-6.4 6.4-16 6.4-16 6.4-19.2 9.6-35.2 16-73.6 16-115.2 0-105.6-41.6-198.4-108.8-268.8C704 396.8 560 675.2 560 675.2zM224 419.2c0-28.8 22.4-51.2 51.2-51.2 28.8 0 51.2 22.4 51.2 51.2 0 28.8-22.4 51.2-51.2 51.2C246.4 470.4 224 448 224 419.2zM320 284.8c0-22.4 19.2-41.6 41.6-41.6 22.4 0 41.6 19.2 41.6 41.6 0 22.4-19.2 41.6-41.6 41.6C339.2 326.4 320 307.2 320 284.8zM457.6 208c0-12.8 12.8-25.6 25.6-25.6 12.8 0 25.6 12.8 25.6 25.6 0 12.8-12.8 25.6-25.6 25.6C470.4 233.6 457.6 220.8 457.6 208zM128 505.6C128 592 153.6 672 201.6 736c28.8-60.8 112-60.8 124.8-60.8-16-51.2 16-99.2 16-99.2l316.8-422.4c-48-19.2-99.2-32-150.4-32C297.6 118.4 128 291.2 128 505.6zM764.8 86.4c-22.4 19.2-390.4 518.4-390.4 518.4-22.4 28.8-12.8 76.8 22.4 99.2l9.6 6.4c35.2 22.4 80 12.8 99.2-25.6 0 0 6.4-12.8 9.6-19.2 54.4-105.6 275.2-524.8 288-553.6 6.4-19.2-3.2-32-19.2-32C777.6 76.8 771.2 80 764.8 86.4z"})]);Lu.displayName="OutlookIcon";var Iu=V({name:"AppearanceSwitch",setup(){const{config:e,isDarkmode:t,status:n}=jr(),r=Dr(),o=()=>{e.value==="switch"?n.value={light:"dark",dark:"auto",auto:"light"}[n.value]:n.value=n.value==="light"?"dark":"light"},s=async l=>{if(!(document.startViewTransition&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches&&!r.value)||!l){o();return}const i=l.clientX,a=l.clientY,c=Math.hypot(Math.max(i,innerWidth-i),Math.max(a,innerHeight-a)),u=t.value;await document.startViewTransition(async()=>{o(),await Jt()}).ready,t.value!==u&&document.documentElement.animate({clipPath:t.value?[`circle(${c}px at ${i}px ${a}px)`,`circle(0px at ${i}px ${a}px)`]:[`circle(0px at ${i}px ${a}px)`,`circle(${c}px at ${i}px ${a}px)`]},{duration:400,pseudoElement:t.value?"::view-transition-old(root)":"::view-transition-new(root)"})};return()=>f("button",{type:"button",id:"appearance-switch",onClick:s},[f(ku,{style:{display:n.value==="auto"?"block":"none"}}),f(xu,{style:{display:n.value==="dark"?"block":"none"}}),f(Su,{style:{display:n.value==="light"?"block":"none"}})])}}),P3=V({name:"AppearanceMode",setup(){const e=ye(),{canToggle:t}=jr(),n=T(()=>e.value.outlookLocales.darkmode);return()=>t.value?f("div",{class:"appearance-wrapper"},[f("label",{class:"appearance-title",for:"appearance-switch"},n.value),f(Iu)]):null}});const ts=gu.enableThemeColor==="true";var $u=V({name:"ToggleFullScreenButton",setup(){const e=ye(),{isSupported:t,isFullscreen:n,toggle:r}=cl(),o=T(()=>e.value.outlookLocales.fullscreen);return()=>t?f("div",{class:"full-screen-wrapper"},[f("label",{class:"full-screen-title",for:"full-screen-switch"},o.value),f("button",{type:"button",id:"full-screen-switch",class:"full-screen",ariaPressed:n.value,onClick:()=>r()},n.value?f(Au):f(Tu))]):null}}),Ou=V({name:"OutlookSettings",setup(){const e=yn(),t=Dr(),n=T(()=>!t.value&&e.value.fullscreen);return()=>f(Ao,()=>[null,f(P3),n.value?f($u):null])}}),R3=V({name:"NavScreen",props:{show:Boolean},emits:["close"],slots:Object,setup(e,{emit:t,slots:n}){const r=Ae(),{isMobile:o}=Io(),s=je(),l=jc(s);return we(()=>{s.value=document.body,he(o,i=>{!i&&e.show&&(l.value=!1,t("close"))}),he(()=>r.value.path,()=>{l.value=!1,t("close")})}),dn(()=>{l.value=!1}),()=>f(Yt,{name:"fade",onEnter:()=>{l.value=!0},onAfterLeave:()=>{l.value=!1}},()=>{var i,a;return e.show?f("div",{id:"nav-screen"},f("div",{class:"vp-nav-screen-container"},[(i=n.before)==null?void 0:i.call(n),f(O3),f("div",{class:"vp-outlook-wrapper"},f(Ou)),(a=n.after)==null?void 0:a.call(n)])):null})}}),M3=V({name:"NavbarBrand",setup(){const e=mn(),t=sl(),n=ye(),r=T(()=>n.value.home||e.value),o=T(()=>t.value.title),s=T(()=>n.value.navTitle??o.value),l=T(()=>n.value.logo?Ge(n.value.logo):null),i=T(()=>n.value.logoDark?Ge(n.value.logoDark):null);return()=>f(Qe,{to:r.value,class:"vp-brand"},()=>[l.value?f("img",{class:["vp-nav-logo",{light:!!i.value}],src:l.value,alt:""}):null,i.value?f("img",{class:["vp-nav-logo dark"],src:i.value,alt:""}):null,s.value?f("span",{class:["vp-site-name",{"hide-in-pad":l.value&&n.value.hideSiteNameOnMobile!==!1}]},s.value):null])}}),N3=V({name:"NavbarLinks",setup(){const e=Cu();return()=>e.value.length?f("nav",{class:"vp-nav-links"},e.value.map(t=>f("div",{class:"nav-item hide-in-mobile"},"children"in t?f(L3,{config:t}):f(Xe,{config:t})))):null}}),D3=V({name:"RepoLink",components:{BitbucketIcon:nu,GiteeIcon:tu,GitHubIcon:Zc,GitLabIcon:eu,SourceIcon:ru},setup(){const e=I3();return()=>e.value?f("div",{class:"nav-item vp-repo"},f("a",{class:"vp-repo-link",href:e.value.link,target:"_blank",rel:"noopener noreferrer","aria-label":e.value.label},f(gt(`${e.value.type}Icon`),{style:{width:"1.25rem",height:"1.25rem",verticalAlign:"middle"}}))):null}});const Pu=({active:e=!1},{emit:t})=>f("button",{type:"button",class:["vp-toggle-navbar-button",{"is-active":e}],"aria-label":"Toggle Navbar","aria-expanded":e,"aria-controls":"nav-screen",onClick:()=>t("toggle")},f("span",[f("span",{class:"vp-top"}),f("span",{class:"vp-middle"}),f("span",{class:"vp-bottom"})]));Pu.displayName="ToggleNavbarButton";var j3=Pu;const ks=(e,{emit:t})=>f("button",{type:"button",class:"vp-toggle-sidebar-button",title:"Toggle Sidebar",onClick:()=>t("toggle")},f("span",{class:"icon"}));ks.displayName="ToggleSidebarButton",ks.emits=["toggle"];var F3=ks,B3=V({name:"OutlookButton",setup(){const{isSupported:e}=cl(),t=yn(),n=Dr(),r=Ae(),{canToggle:o}=jr(),s=Y(!1),l=T(()=>!n.value&&t.value.fullscreen&&e);return he(()=>r.value.path,()=>{s.value=!1}),()=>o.value||l.value||ts?f("div",{class:"nav-item hide-in-mobile"},o.value&&!l.value&&!ts?f(Iu):l.value&&!o.value&&!ts?f($u):f("button",{type:"button",class:["outlook-button",{open:s.value}],tabindex:"-1","aria-hidden":!0},[f(Lu),f("div",{class:"outlook-dropdown"},f(Ou))])):null}}),H3=V({name:"NavBar",emits:["toggleSidebar"],slots:Object,setup(e,{emit:t,slots:n}){const r=ye(),{isMobile:o}=Io(),s=Y(!1),l=T(()=>{const{navbarAutoHide:u="mobile"}=r.value;return u!=="none"&&(u==="always"||o.value)}),i=T(()=>r.value.navbarLayout||{start:["Brand"],center:["Links"],end:["Language","Repo","Outlook","Search"]}),a={Brand:M3,Language:es,Links:N3,Repo:D3,Outlook:B3,Search:ft("Docsearch")?gt("Docsearch"):ft("SearchBox")?gt("SearchBox"):es},c=u=>a[u]??(ft(u)?gt(u):es);return()=>{var u,d,p,h,g,_;return[f("header",{key:"navbar",id:"navbar",class:["vp-navbar",{"auto-hide":l.value,"hide-icon":r.value.navbarIcon===!1}]},[f("div",{class:"vp-navbar-start"},[f(F3,{onToggle:()=>{s.value&&(s.value=!1),t("toggleSidebar")}}),(u=n.startBefore)==null?void 0:u.call(n),(i.value.start||[]).map(b=>f(c(b))),(d=n.startAfter)==null?void 0:d.call(n)]),f("div",{class:"vp-navbar-center"},[(p=n.centerBefore)==null?void 0:p.call(n),(i.value.center||[]).map(b=>f(c(b))),(h=n.centerAfter)==null?void 0:h.call(n)]),f("div",{class:"vp-navbar-end"},[(g=n.endBefore)==null?void 0:g.call(n),(i.value.end||[]).map(b=>f(c(b))),(_=n.endAfter)==null?void 0:_.call(n),f(j3,{active:s.value,onToggle:()=>{s.value=!s.value}})])]),f(R3,{show:s.value,onClose:()=>{s.value=!1}},{before:()=>{var b;return(b=n.screenTop)==null?void 0:b.call(n)},after:()=>{var b;return(b=n.screenBottom)==null?void 0:b.call(n)}})]}}});const _r=(e,t,n=!1)=>"activeMatch"in t?new RegExp(t.activeMatch,"u").test(e.path):lu(e,t.link)?!0:"children"in t&&!n?t.children.some(r=>_r(e,r)):!1,Ru=(e,t)=>t.type==="group"?t.children.some(n=>n.type==="group"?Ru(e,n):n.type==="page"&&_r(e,n,!0))||"prefix"in t&&lu(e,t.prefix):!1;var V3=V({name:"SidebarChild",props:{config:{type:Object,required:!0}},setup(e){const t=vn();return()=>$e(e.config.link)?f(Xe,{class:["vp-sidebar-link","vp-sidebar-page",{active:_r(t,e.config,!0)}],exact:!0,config:e.config}):f("p",e,[f(Ke,{icon:e.config.icon}),e.config.text])}}),z3=V({name:"SidebarGroup",props:{config:{type:Object,required:!0},open:{type:Boolean,required:!0}},emits:["toggle"],setup(e,{emit:t}){const n=vn(),r=T(()=>_r(n,e.config)),o=T(()=>_r(n,e.config,!0));return()=>{const{collapsible:s,children:l=[],icon:i,prefix:a,link:c,text:u}=e.config;return f("section",{class:"vp-sidebar-group"},[f(s?"button":"p",{class:["vp-sidebar-header",{clickable:s||c,exact:o.value,active:r.value}],...s?{type:"button",onClick:()=>t("toggle"),onKeydown:d=>{d.key==="Enter"&&t("toggle")}}:{}},[f(Ke,{icon:i}),c?f(Xe,{class:"vp-sidebar-title",config:{text:u,link:c},noExternalLinkIcon:!0}):f("span",{class:"vp-sidebar-title"},u),s?f("span",{class:["vp-arrow",e.open?"down":"end"]}):null]),e.open||!s?f(Mu,{key:a,config:l}):null])}}}),Mu=V({name:"SidebarLinks",props:{config:{type:Array,required:!0}},setup(e){const t=vn(),n=Y(-1),r=o=>{n.value=o===n.value?-1:o};return he(()=>t.path,()=>{const o=e.config.findIndex(s=>Ru(t,s));n.value=o},{immediate:!0,flush:"post"}),()=>f("ul",{class:"vp-sidebar-links"},e.config.map((o,s)=>f("li",o.type==="group"?f(z3,{config:o,open:s===n.value,onToggle:()=>r(s)}):f(V3,{config:o}))))}}),U3=V({name:"SideBar",slots:Object,setup(e,{slots:t}){const n=vn(),r=ye(),o=vl(),s=je();return we(()=>{he(()=>n.hash,l=>{const i=document.querySelector(`.vp-sidebar a.vp-sidebar-link[href="${n.path}${l}"]`);if(!i)return;const{top:a,height:c}=s.value.getBoundingClientRect(),{top:u,height:d}=i.getBoundingClientRect();u<a?i.scrollIntoView(!0):u+d>a+c&&i.scrollIntoView(!1)},{immediate:!0})}),()=>{var l,i,a;return f("aside",{ref:s,id:"sidebar",class:["vp-sidebar",{"hide-icon":r.value.sidebarIcon===!1}],key:"sidebar"},[(l=t.top)==null?void 0:l.call(t),((i=t.default)==null?void 0:i.call(t))||f(Mu,{config:o.value}),(a=t.bottom)==null?void 0:a.call(t)])}}}),Nu=V({name:"CommonWrapper",props:{containerClass:{type:String,default:""},noNavbar:Boolean,noSidebar:Boolean,noToc:Boolean},slots:Object,setup(e,{slots:t}){const n=hn(),r=Ae(),o=Le(),s=ye(),{isMobile:l,isPC:i}=Io(),[a,c]=yr(!1),[u,d]=yr(!1),p=vl(),h=Y(!1),g=T(()=>e.noNavbar||o.value.navbar===!1||s.value.navbar===!1?!1:!!(r.value.title||s.value.logo||s.value.repo||s.value.navbar)),_=T(()=>e.noSidebar?!1:o.value.sidebar!==!1&&p.value.length!==0&&!o.value.home),b=T(()=>e.noToc||o.value.home?!1:o.value.toc||s.value.toc!==!1&&o.value.toc!==!1),w={x:0,y:0},x=S=>{w.x=S.changedTouches[0].clientX,w.y=S.changedTouches[0].clientY},y=S=>{const I=S.changedTouches[0].clientX-w.x,O=S.changedTouches[0].clientY-w.y;Math.abs(I)>Math.abs(O)*1.5&&Math.abs(I)>40&&(I>0&&w.x<=80?c(!0):c(!1))},k=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;let R=0;return Ne("scroll",N0(()=>{const S=k();S<=58||S<R?h.value=!1:R+200<S&&!a.value&&(h.value=!0),R=S},300,!0)),he(l,S=>{S||c(!1)}),we(()=>{const S=jc(document.body);he(a,O=>{S.value=O});const I=n.afterEach(()=>{c(!1)});dn(()=>{S.value=!1,I()})}),()=>f(ft("GlobalEncrypt")?gt("GlobalEncrypt"):Xc,()=>f("div",{class:["theme-container",{"no-navbar":!g.value,"no-sidebar":!_.value&&!(t.sidebar||t.sidebarTop||t.sidebarBottom),"has-toc":b.value,"hide-navbar":h.value,"sidebar-collapsed":!l.value&&!i.value&&u.value,"sidebar-open":l.value&&a.value},e.containerClass,o.value.containerClass||""],onTouchStart:x,onTouchEnd:y},[g.value?f(H3,{onToggleSidebar:()=>c()},{startBefore:()=>{var S;return(S=t.navbarStartBefore)==null?void 0:S.call(t)},startAfter:()=>{var S;return(S=t.navbarStartAfter)==null?void 0:S.call(t)},centerBefore:()=>{var S;return(S=t.navbarCenterBefore)==null?void 0:S.call(t)},centerAfter:()=>{var S;return(S=t.navbarCenterAfter)==null?void 0:S.call(t)},endBefore:()=>{var S;return(S=t.navbarEndBefore)==null?void 0:S.call(t)},endAfter:()=>{var S;return(S=t.navbarEndAfter)==null?void 0:S.call(t)},screenTop:()=>{var S;return(S=t.navScreenTop)==null?void 0:S.call(t)},screenBottom:()=>{var S;return(S=t.navScreenBottom)==null?void 0:S.call(t)}}):null,f(Yt,{name:"fade"},()=>a.value?f("div",{class:"vp-sidebar-mask",onClick:()=>c(!1)}):null),f(Yt,{name:"fade"},()=>l.value?null:f("div",{class:"toggle-sidebar-wrapper",onClick:()=>d()},f("span",{class:["arrow",u.value?"end":"start"]}))),f(U3,{},{...t.sidebar?{default:()=>t.sidebar()}:{},top:()=>{var S;return(S=t.sidebarTop)==null?void 0:S.call(t)},bottom:()=>{var S;return(S=t.sidebarBottom)==null?void 0:S.call(t)}}),t.default(),f(A3)]))}}),kn=V({name:"DropTransition",props:{type:{type:String,default:"single"},delay:{type:Number,default:0},duration:{type:Number,default:.25},appear:Boolean},slots:Object,setup(e,{slots:t}){const n=o=>{o.style.transition=`transform ${e.duration}s ease-in-out ${e.delay}s, opacity ${e.duration}s ease-in-out ${e.delay}s`,o.style.transform="translateY(-20px)",o.style.opacity="0"},r=o=>{o.style.transform="translateY(0)",o.style.opacity="1"};return()=>f(e.type==="single"?Yt:k1,{name:"drop",appear:e.appear,onAppear:n,onAfterAppear:r,onEnter:n,onAfterEnter:r,onBeforeLeave:n},()=>t.default())}});const Ts=({custom:e})=>f(wc,{class:["theme-hope-content",{custom:e}]});Ts.displayName="MarkdownContent",Ts.props={custom:Boolean};var Du=Ts;const ju=()=>f(Oe,{name:"author"},()=>f("path",{d:"M649.6 633.6c86.4-48 147.2-144 147.2-249.6 0-160-128-288-288-288s-288 128-288 288c0 108.8 57.6 201.6 147.2 249.6-121.6 48-214.4 153.6-240 288-3.2 9.6 0 19.2 6.4 25.6 3.2 9.6 12.8 12.8 22.4 12.8h704c9.6 0 19.2-3.2 25.6-12.8 6.4-6.4 9.6-16 6.4-25.6-25.6-134.4-121.6-240-243.2-288z"}));ju.displayName="AuthorIcon";const Fu=()=>f(Oe,{name:"calendar"},()=>f("path",{d:"M716.4 110.137c0-18.753-14.72-33.473-33.472-33.473-18.753 0-33.473 14.72-33.473 33.473v33.473h66.993v-33.473zm-334.87 0c0-18.753-14.72-33.473-33.473-33.473s-33.52 14.72-33.52 33.473v33.473h66.993v-33.473zm468.81 33.52H716.4v100.465c0 18.753-14.72 33.473-33.472 33.473a33.145 33.145 0 01-33.473-33.473V143.657H381.53v100.465c0 18.753-14.72 33.473-33.473 33.473a33.145 33.145 0 01-33.473-33.473V143.657H180.6A134.314 134.314 0 0046.66 277.595v535.756A134.314 134.314 0 00180.6 947.289h669.74a134.36 134.36 0 00133.94-133.938V277.595a134.314 134.314 0 00-133.94-133.938zm33.473 267.877H147.126a33.145 33.145 0 01-33.473-33.473c0-18.752 14.72-33.473 33.473-33.473h736.687c18.752 0 33.472 14.72 33.472 33.473a33.145 33.145 0 01-33.472 33.473z"}));Fu.displayName="CalendarIcon";const Bu=()=>f(Oe,{name:"category"},()=>f("path",{d:"M148.41 106.992h282.176c22.263 0 40.31 18.048 40.31 40.31V429.48c0 22.263-18.047 40.31-40.31 40.31H148.41c-22.263 0-40.311-18.047-40.311-40.31V147.302c0-22.263 18.048-40.31 40.311-40.31zM147.556 553.478H429.73c22.263 0 40.311 18.048 40.311 40.31v282.176c0 22.263-18.048 40.312-40.31 40.312H147.555c-22.263 0-40.311-18.049-40.311-40.312V593.79c0-22.263 18.048-40.311 40.31-40.311zM593.927 106.992h282.176c22.263 0 40.31 18.048 40.31 40.31V429.48c0 22.263-18.047 40.31-40.31 40.31H593.927c-22.263 0-40.311-18.047-40.311-40.31V147.302c0-22.263 18.048-40.31 40.31-40.31zM730.22 920.502H623.926c-40.925 0-74.22-33.388-74.22-74.425V623.992c0-41.038 33.387-74.424 74.425-74.424h222.085c41.038 0 74.424 33.226 74.424 74.067v114.233c0 10.244-8.304 18.548-18.547 18.548s-18.548-8.304-18.548-18.548V623.635c0-20.388-16.746-36.974-37.33-36.974H624.13c-20.585 0-37.331 16.747-37.331 37.33v222.086c0 20.585 16.654 37.331 37.126 37.331H730.22c10.243 0 18.547 8.304 18.547 18.547 0 10.244-8.304 18.547-18.547 18.547z"}));Bu.displayName="CategoryIcon";const Hu=()=>f(Oe,{name:"print"},()=>f("path",{d:"M819.2 364.8h-44.8V128c0-17.067-14.933-32-32-32H281.6c-17.067 0-32 14.933-32 32v236.8h-44.8C145.067 364.8 96 413.867 96 473.6v192c0 59.733 49.067 108.8 108.8 108.8h44.8V896c0 17.067 14.933 32 32 32h460.8c17.067 0 32-14.933 32-32V774.4h44.8c59.733 0 108.8-49.067 108.8-108.8v-192c0-59.733-49.067-108.8-108.8-108.8zM313.6 160h396.8v204.8H313.6V160zm396.8 704H313.6V620.8h396.8V864zM864 665.6c0 25.6-19.2 44.8-44.8 44.8h-44.8V588.8c0-17.067-14.933-32-32-32H281.6c-17.067 0-32 14.933-32 32v121.6h-44.8c-25.6 0-44.8-19.2-44.8-44.8v-192c0-25.6 19.2-44.8 44.8-44.8h614.4c25.6 0 44.8 19.2 44.8 44.8v192z"}));Hu.displayName="PrintIcon";const Vu=()=>f(Oe,{name:"tag"},()=>f("path",{d:"M939.902 458.563L910.17 144.567c-1.507-16.272-14.465-29.13-30.737-30.737L565.438 84.098h-.402c-3.215 0-5.726 1.005-7.634 2.913l-470.39 470.39a10.004 10.004 0 000 14.164l365.423 365.424c1.909 1.908 4.42 2.913 7.132 2.913s5.223-1.005 7.132-2.913l470.39-470.39c2.01-2.11 3.014-5.023 2.813-8.036zm-240.067-72.121c-35.458 0-64.286-28.828-64.286-64.286s28.828-64.285 64.286-64.285 64.286 28.828 64.286 64.285-28.829 64.286-64.286 64.286z"}));Vu.displayName="TagIcon";const zu=()=>f(Oe,{name:"timer"},()=>f("path",{d:"M799.387 122.15c4.402-2.978 7.38-7.897 7.38-13.463v-1.165c0-8.933-7.38-16.312-16.312-16.312H256.33c-8.933 0-16.311 7.38-16.311 16.312v1.165c0 5.825 2.977 10.874 7.637 13.592 4.143 194.44 97.22 354.963 220.201 392.763-122.204 37.542-214.893 196.511-220.2 389.397-4.661 5.049-7.638 11.651-7.638 19.03v5.825h566.49v-5.825c0-7.379-2.849-13.981-7.509-18.9-5.049-193.016-97.867-351.985-220.2-389.527 123.24-37.67 216.446-198.453 220.588-392.892zM531.16 450.445v352.632c117.674 1.553 211.787 40.778 211.787 88.676H304.097c0-48.286 95.149-87.382 213.728-88.676V450.445c-93.077-3.107-167.901-81.297-167.901-177.093 0-8.803 6.99-15.793 15.793-15.793 8.803 0 15.794 6.99 15.794 15.793 0 80.261 63.69 145.635 142.01 145.635s142.011-65.374 142.011-145.635c0-8.803 6.99-15.793 15.794-15.793s15.793 6.99 15.793 15.793c0 95.019-73.789 172.82-165.96 177.093z"}));zu.displayName="TimerIcon";const Uu=()=>f(Oe,{name:"word"},()=>[f("path",{d:"M518.217 432.64V73.143A73.143 73.143 0 01603.43 1.097a512 512 0 01419.474 419.474 73.143 73.143 0 01-72.046 85.212H591.36a73.143 73.143 0 01-73.143-73.143z"}),f("path",{d:"M493.714 566.857h340.297a73.143 73.143 0 0173.143 85.577A457.143 457.143 0 11371.566 117.76a73.143 73.143 0 0185.577 73.143v339.383a36.571 36.571 0 0036.571 36.571z"})]);Uu.displayName="WordIcon";const Qt=()=>{const e=ye();return T(()=>e.value.metaLocales)};var q3=V({name:"AuthorInfo",inheritAttrs:!1,props:{author:{type:Array,required:!0},pure:Boolean},setup(e){const t=Qt();return()=>e.author.length?f("span",{class:"page-author-info","aria-label":`${t.value.author}${e.pure?"":"🖊"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[f(ju),f("span",e.author.map(n=>n.url?f("a",{class:"page-author-item",href:n.url,target:"_blank",rel:"noopener noreferrer"},n.name):f("span",{class:"page-author-item"},n.name))),f("span",{property:"author",content:e.author.map(n=>n.name).join(", ")})]):null}}),W3=V({name:"CategoryInfo",inheritAttrs:!1,props:{category:{type:Array,required:!0},pure:Boolean},setup(e){const t=Qt(),n=hl();return()=>e.category.length?f("span",{class:"page-category-info","aria-label":`${t.value.category}${e.pure?"":"🌈"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[f(Bu),e.category.map(({name:r,path:o})=>f("span",{class:["page-category-item",{[`category${ou(r,9)}`]:!e.pure,clickable:o}],role:o?"navigation":"",onClick:()=>{o&&n(o)}},r)),f("meta",{property:"articleSection",content:e.category.map(({name:r})=>r).join(",")})]):null}}),G3=V({name:"DateInfo",inheritAttrs:!1,props:{date:{type:Object,default:null},localizedDate:{type:String,default:""},pure:Boolean},setup(e){const t=ol(),n=Qt();return()=>e.date?f("span",{class:"page-date-info","aria-label":`${n.value.date}${e.pure?"":"📅"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[f(Fu),f("span",f(Ao,()=>e.localizedDate||e.date.toLocaleDateString(t.value))),f("meta",{property:"datePublished",content:e.date.toISOString()||""})]):null}}),K3=V({name:"OriginalInfo",inheritAttrs:!1,props:{isOriginal:Boolean},setup(e){const t=Qt();return()=>e.isOriginal?f("span",{class:"page-original-info"},t.value.origin):null}}),Y3=V({name:"ReadingTimeInfo",inheritAttrs:!1,props:{readingTime:{type:Object,default:()=>null},readingTimeLocale:{type:Object,default:()=>null},pure:Boolean},setup(e){const t=Qt(),n=T(()=>{if(!e.readingTime)return null;const{minutes:r}=e.readingTime;return r<1?"PT1M":`PT${Math.round(r)}M`});return()=>{var r,o;return(r=e.readingTimeLocale)!=null&&r.time?f("span",{class:"page-reading-time-info","aria-label":`${t.value.readingTime}${e.pure?"":"⌛"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[f(zu),f("span",(o=e.readingTimeLocale)==null?void 0:o.time),f("meta",{property:"timeRequired",content:n.value})]):null}}}),J3=V({name:"TagInfo",inheritAttrs:!1,props:{tag:{type:Array,default:()=>[]},pure:Boolean},setup(e){const t=Qt(),n=hl();return()=>e.tag.length?f("span",{class:"page-tag-info","aria-label":`${t.value.tag}${e.pure?"":"🏷"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[f(Vu),e.tag.map(({name:r,path:o})=>f("span",{class:["page-tag-item",{[`tag${ou(r,9)}`]:!e.pure,clickable:o}],role:o?"navigation":"",onClick:()=>{o&&n(o)}},r)),f("meta",{property:"keywords",content:e.tag.map(({name:r})=>r).join(",")})]):null}}),Q3=V({name:"ReadTimeInfo",inheritAttrs:!1,props:{readingTime:{type:Object,default:()=>null},readingTimeLocale:{type:Object,default:()=>null},pure:Boolean},setup(e){const t=Qt();return()=>{var n,r,o;return(n=e.readingTimeLocale)!=null&&n.words?f("span",{class:"page-word-info","aria-label":`${t.value.words}${e.pure?"":"🔠"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[f(Uu),f("span",(r=e.readingTimeLocale)==null?void 0:r.words),f("meta",{property:"wordCount",content:(o=e.readingTime)==null?void 0:o.words})]):null}}}),X3=V({name:"PageInfo",components:{AuthorInfo:q3,CategoryInfo:W3,DateInfo:G3,OriginalInfo:K3,PageViewInfo:()=>null,ReadingTimeInfo:Y3,TagInfo:J3,WordInfo:Q3},props:{items:{type:[Array,Boolean],default:()=>["Author","Original","Date","PageView","ReadingTime","Category","Tag"]},info:{type:Object,required:!0}},setup(e){const t=Dr();return()=>e.items?f("div",{class:"page-info"},e.items.map(n=>f(gt(`${n}Info`),{...e.info,pure:t.value}))):null}}),Z3=V({name:"PrintButton",setup(){const e=yn(),t=ye();return()=>e.value.print===!1?null:f("button",{type:"button",class:"print-button",title:t.value.metaLocales.print,onClick:()=>{window.print()}},f(Hu))}}),e4=V({name:"TOC",props:{items:{type:Array,default:()=>[]},headerDepth:{type:Number,default:2}},slots:Object,setup(e,{slots:t}){const n=vn(),r=Ae(),o=Qt(),[s,l]=yr(),i=je(),a=Y("-1.7rem"),c=d=>{var p;(p=i.value)==null||p.scrollTo({top:d,behavior:"smooth"})},u=()=>{if(i.value){const d=document.querySelector(".vp-toc-item.active");d?a.value=`${d.getBoundingClientRect().top-i.value.getBoundingClientRect().top+i.value.scrollTop}px`:a.value="-1.7rem"}else a.value="-1.7rem"};return we(()=>{he(()=>n.hash,d=>{if(i.value){const p=document.querySelector(`#toc a.toc-link[href$="${d}"]`);if(!p)return;const{top:h,height:g}=i.value.getBoundingClientRect(),{top:_,height:b}=p.getBoundingClientRect();_<h?c(i.value.scrollTop+_-h):_+b>h+g&&c(i.value.scrollTop+_+b-h-g)}}),he(()=>n.fullPath,u,{flush:"post",immediate:!0})}),()=>{var g,_;const d=({title:b,level:w,slug:x})=>f(Qe,{to:`#${x}`,class:["vp-toc-link",`level${w}`],onClick:()=>{l()}},()=>b),p=(b,w)=>b.length&&w>0?f("ul",{class:"vp-toc-list"},b.map(x=>{const y=p(x.children,w-1);return[f("li",{class:["vp-toc-item",{active:n.hash===`#${x.slug}`}]},d(x)),y?f("li",y):null]})):null,h=e.items.length?p(e.items,e.headerDepth):r.value.headers?p(r.value.headers,e.headerDepth):null;return h?f("div",{class:"vp-toc-placeholder"},[f("aside",{id:"toc"},[(g=t.before)==null?void 0:g.call(t),f("div",{class:"vp-toc-header",onClick:()=>{l()}},[o.value.toc,f(Z3),f("div",{class:["arrow",s.value?"down":"end"]})]),f("div",{class:["vp-toc-wrapper",s.value?"open":""],ref:i},[h,f("div",{class:"vp-toc-marker",style:{top:a.value}})]),(_=t.after)==null?void 0:_.call(t)])]):null}}}),qu=V({name:"SkipLink",props:{content:{type:String,default:"main-content"}},setup(e){const t=Ae(),n=ye(),r=je(),o=({target:s})=>{const l=document.querySelector(s.hash);if(l){const i=()=>{l.removeAttribute("tabindex"),l.removeEventListener("blur",i)};l.setAttribute("tabindex","-1"),l.addEventListener("blur",i),l.focus(),window.scrollTo(0,0)}};return we(()=>{he(()=>t.value.path,()=>r.value.focus())}),()=>[f("span",{ref:r,tabindex:"-1"}),f("a",{href:`#${e.content}`,class:"vp-skip-link sr-only",onClick:o},n.value.routeLocales.skipToContent)]}});let ns=null,Qn=null;const t4={wait:()=>ns,pending:()=>{ns=new Promise(e=>{Qn=e})},resolve:()=>{Qn==null||Qn(),ns=null,Qn=null}},Wu=()=>t4;var Gu=V({name:"FadeSlideY",slots:Object,setup(e,{slots:t}){const{resolve:n,pending:r}=Wu();return()=>f(Yt,{name:"fade-slide-y",mode:"out-in",onBeforeEnter:n,onBeforeLeave:r},()=>{var o;return(o=t.default)==null?void 0:o.call(t)})}});const n4=(e,t)=>{const n=e.replace(t,"/").split("/"),r=[];let o=el(t);return n.forEach((s,l)=>{l!==n.length-1?(o+=`${s}/`,r.push({link:o,name:s||"Home"})):s!==""&&(o+=s,r.push({link:o,name:s}))}),r},Ku=(e,{slots:t})=>{var d,p;const{bgImage:n,bgImageDark:r,bgImageStyle:o,color:s,description:l,image:i,imageDark:a,header:c,features:u=[]}=e;return f("div",{class:"vp-feature-wrapper"},[n?f("div",{class:["vp-feature-bg",{light:r}],style:[{"background-image":`url(${n})`},o]}):null,r?f("div",{class:"vp-feature-bg dark",style:[{"background-image":`url(${r})`},o]}):null,f("div",{class:"vp-feature",style:s?{color:s}:{}},[((d=t.image)==null?void 0:d.call(t,e))||[i?f("img",{class:["vp-feature-image",{light:a}],src:Ge(i),alt:""}):null,a?f("img",{class:"vp-feature-image dark",src:Ge(a),alt:""}):null],((p=t.info)==null?void 0:p.call(t,e))||[c?f("h2",{class:"vp-feature-header"},c):null,l?f("p",{class:"vp-feature-description",innerHTML:l}):null],u.length?f("div",{class:"vp-features"},u.map(({icon:h,title:g,details:_,link:b})=>{const w=[f("h3",{class:"vp-feature-title"},[f(Ke,{icon:h}),f("span",{innerHTML:g})]),f("p",{class:"vp-feature-details",innerHTML:_})];return b?Fn(b)?f("a",{class:"vp-feature-item link",href:b,"aria-label":g,target:"_blank"},w):f(Qe,{class:"vp-feature-item link",to:b,"aria-label":g},()=>w):f("div",{class:"vp-feature-item"},w)})):null])])};Ku.displayName="FeaturePanel";var Vi=Ku,r4=V({name:"HeroInfo",slots:Object,setup(e,{slots:t}){const n=Le(),r=sl(),o=T(()=>n.value.heroFullScreen??!1),s=T(()=>{const{heroText:c,tagline:u}=n.value;return{text:c??r.value.title??"Hello",tagline:u??r.value.description??"",isFullScreen:o.value}}),l=T(()=>{const{heroText:c,heroImage:u,heroImageDark:d,heroAlt:p,heroImageStyle:h}=n.value;return{image:u?Ge(u):null,imageDark:d?Ge(d):null,style:h,alt:p||c||"",isFullScreen:o.value}}),i=T(()=>{const{bgImage:c,bgImageDark:u,bgImageStyle:d}=n.value;return{image:$e(c)?Ge(c):null,imageDark:$e(u)?Ge(u):null,bgStyle:d,isFullScreen:o.value}}),a=T(()=>n.value.actions??[]);return()=>{var c,u,d;return f("header",{class:["vp-hero-info-wrapper",{fullscreen:o.value}]},[((c=t.heroBg)==null?void 0:c.call(t,i.value))||[i.value.image?f("div",{class:["vp-hero-mask",{light:i.value.imageDark}],style:[{"background-image":`url(${i.value.image})`},i.value.bgStyle]}):null,i.value.imageDark?f("div",{class:"vp-hero-mask dark",style:[{"background-image":`url(${i.value.imageDark})`},i.value.bgStyle]}):null],f("div",{class:"vp-hero-info"},[((u=t.heroImage)==null?void 0:u.call(t,l.value))||f(kn,{appear:!0,type:"group"},()=>[l.value.image?f("img",{key:"light",class:["vp-hero-image",{light:l.value.imageDark}],style:l.value.style,src:l.value.image,alt:l.value.alt}):null,l.value.imageDark?f("img",{key:"dark",class:"vp-hero-image dark",style:l.value.style,src:l.value.imageDark,alt:l.value.alt}):null]),((d=t.heroInfo)==null?void 0:d.call(t,s.value))??f("div",{class:"vp-hero-infos"},[s.value.text?f(kn,{appear:!0,delay:.04},()=>f("h1",{id:"main-title"},s.value.text)):null,s.value.tagline?f(kn,{appear:!0,delay:.08},()=>f("p",{id:"main-description",innerHTML:s.value.tagline})):null,a.value.length?f(kn,{appear:!0,delay:.12},()=>f("p",{class:"vp-hero-actions"},a.value.map(p=>f(Xe,{class:["vp-hero-action",p.type||"default"],config:p,noExternalLinkIcon:!0},p.icon?{before:()=>f(Ke,{icon:p.icon})}:{})))):null])])])}}});const Yu=(e,{slots:t})=>{var p,h,g;const{bgImage:n,bgImageDark:r,bgImageStyle:o,color:s,description:l,image:i,imageDark:a,header:c,highlights:u=[],type:d="un-order"}=e;return f("div",{class:"vp-highlight-wrapper",style:s?{color:s}:{}},[n?f("div",{class:["vp-highlight-bg",{light:r}],style:[{"background-image":`url(${n})`},o]}):null,r?f("div",{class:"vp-highlight-bg dark",style:[{"background-image":`url(${r})`},o]}):null,f("div",{class:"vp-highlight"},[((p=t.image)==null?void 0:p.call(t,e))||[i?f("img",{class:["vp-highlight-image",{light:a}],src:Ge(i),alt:""}):null,a?f("img",{class:"vp-highlight-image dark",src:Ge(a),alt:""}):null],((h=t.info)==null?void 0:h.call(t,e))||[f("div",{class:"vp-highlight-info-wrapper"},f("div",{class:"vp-highlight-info"},[c?f("h2",{class:"vp-highlight-header",innerHTML:c}):null,l?f("p",{class:"vp-highlight-description",innerHTML:l}):null,((g=t.highlights)==null?void 0:g.call(t,u))||f(d==="order"?"ol":d==="no-order"?"dl":"ul",{class:"vp-highlights"},u.map(({icon:_,title:b,details:w,link:x})=>{const y=[f(d==="no-order"?"dt":"h3",{class:"vp-highlight-title"},[_?f(Ke,{class:"vp-highlight-icon",icon:_}):null,f("span",{innerHTML:b})]),w?f(d==="no-order"?"dd":"p",{class:"vp-highlight-details",innerHTML:w}):null];return f(d==="no-order"?"div":"li",{class:["vp-highlight-item-wrapper",{link:x}]},x?Fn(x)?f("a",{class:"vp-highlight-item link",href:x,"aria-label":b,target:"_blank"},y):f(Qe,{class:"vp-highlight-item link",to:x,"aria-label":b},()=>y):f("div",{class:"vp-highlight-item"},y))}))]))]])])};Yu.displayName="HighlightPanel";var o4=Yu,s4=V({name:"HomePage",slots:Object,setup(e,{slots:t}){const n=Dr(),r=Le(),o=T(()=>{const{features:l}=r.value;return Cs(l)?l:null}),s=T(()=>{const{highlights:l}=r.value;return Cs(l)?l:null});return()=>{var l,i,a,c;return f("main",{id:"main-content",class:["vp-project-home ",{pure:n.value}],"aria-labelledby":r.value.heroText===null?"":"main-title"},[(l=t.top)==null?void 0:l.call(t),f(r4),((i=s.value)==null?void 0:i.map(u=>"features"in u?f(Vi,u):f(o4,u)))||(o.value?f(kn,{appear:!0,delay:.24},()=>f(Vi,{features:o.value})):null),(a=t.center)==null?void 0:a.call(t),f(kn,{appear:!0,delay:.32},()=>f(Du)),(c=t.bottom)==null?void 0:c.call(t)])}}}),l4=V({name:"BreadCrumb",setup(){const e=Ae(),t=mn(),n=Le(),r=ye(),o=je([]),s=T(()=>(n.value.breadcrumb||n.value.breadcrumb!==!1&&r.value.breadcrumb!==!1)&&o.value.length>1),l=T(()=>n.value.breadcrumbIcon||n.value.breadcrumbIcon!==!1&&r.value.breadcrumbIcon!==!1),i=()=>{const a=n4(e.value.path,t.value).map(({link:c,name:u})=>{const{path:d,meta:p,notFound:h}=To(c);return h||p[Ct.breadcrumbExclude]?null:{title:p[Ct.shortTitle]||p[Ct.title]||u,icon:p[Ct.icon],path:d}}).filter(c=>c!==null);a.length>1&&(o.value=a)};return we(()=>{he(()=>e.value.path,i,{immediate:!0})}),()=>f("nav",{class:["vp-breadcrumb",{disable:!s.value}]},s.value?f("ol",{vocab:"https://schema.org/",typeof:"BreadcrumbList"},o.value.map((a,c)=>f("li",{class:{"is-active":o.value.length-1===c},property:"itemListElement",typeof:"ListItem"},[f(Qe,{to:a.path,property:"item",typeof:"WebPage"},()=>[l.value?f(Ke,{icon:a.icon}):null,f("span",{property:"name"},a.title||"Unknown")]),f("meta",{property:"position",content:c+1})]))):[])}});const zi=e=>e===!1||qn(e)?e:$e(e)?Mn(e,!0):null,As=(e,t,n)=>{const r=e.findIndex(o=>o.link===t);if(r!==-1){const o=e[r+n];return o!=null&&o.link?o:null}for(const o of e)if("children"in o){const s=As(o.children,t,n);if(s)return s}return null};var i4=V({name:"PageNav",setup(){const e=ye(),t=Le(),n=vl(),r=Ae(),o=hl(),s=T(()=>{const i=zi(t.value.prev);return i===!1?null:i||(e.value.prevLink===!1?null:As(n.value,r.value.path,-1))}),l=T(()=>{const i=zi(t.value.next);return i===!1?null:i||(e.value.nextLink===!1?null:As(n.value,r.value.path,1))});return Ne("keydown",i=>{i.altKey&&(i.key==="ArrowRight"?l.value&&(o(l.value.link),i.preventDefault()):i.key==="ArrowLeft"&&s.value&&(o(s.value.link),i.preventDefault()))}),()=>s.value||l.value?f("nav",{class:"vp-page-nav"},[s.value?f(Xe,{class:"prev",config:s.value},()=>{var i,a;return[f("div",{class:"hint"},[f("span",{class:"arrow start"}),e.value.metaLocales.prev]),f("div",{class:"link"},[f(Ke,{icon:(i=s.value)==null?void 0:i.icon}),(a=s.value)==null?void 0:a.text])]}):null,l.value?f(Xe,{class:"next",config:l.value},()=>{var i,a;return[f("div",{class:"hint"},[e.value.metaLocales.next,f("span",{class:"arrow end"})]),f("div",{class:"link"},[(i=l.value)==null?void 0:i.text,f(Ke,{icon:(a=l.value)==null?void 0:a.icon})])]}):null]):null}});const a4={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"},c4=({docsRepo:e,docsBranch:t,docsDir:n,filePathRelative:r,editLinkPattern:o})=>{if(!r)return null;const s=iu(e);let l;return o?l=o:s!==null&&(l=a4[s]),l?l.replace(/:repo/u,pn(e)?e:`https://github.com/${e}`).replace(/:branch/u,t).replace(/:path/u,ic(`${el(n)}/${r}`)):null},u4=()=>{const e=ye(),t=Ae(),n=Le();return T(()=>{const{repo:r,docsRepo:o=r,docsBranch:s="main",docsDir:l="",editLink:i,editLinkPattern:a=""}=e.value;if(!(n.value.editLink??i??!0)||!o)return null;const c=c4({docsRepo:o,docsBranch:s,docsDir:l,editLinkPattern:a,filePathRelative:t.value.filePathRelative});return c?{text:e.value.metaLocales.editLink,link:c}:null})},f4=()=>{const e=sl(),t=ye(),n=Ae(),r=Le();return T(()=>{var o,s;return!(r.value.lastUpdated??t.value.lastUpdated??!0)||!((o=n.value.git)!=null&&o.updatedTime)?null:new Date((s=n.value.git)==null?void 0:s.updatedTime).toLocaleString(e.value.lang)})},d4=()=>{const e=ye(),t=Ae(),n=Le();return T(()=>{var r;return n.value.contributors??e.value.contributors??!0?((r=t.value.git)==null?void 0:r.contributors)??null:null})};var p4=V({name:"PageTitle",setup(){const e=Ae(),t=Le(),n=ye(),{info:r,items:o}=y3();return()=>f("div",{class:"vp-page-title"},[f("h1",[n.value.titleIcon===!1?null:f(Ke,{icon:t.value.icon}),e.value.title]),f(X3,{info:r.value,...o.value===null?{}:{items:o.value}}),f("hr")])}});const Ju=()=>f(Oe,{name:"edit"},()=>[f("path",{d:"M430.818 653.65a60.46 60.46 0 0 1-50.96-93.281l71.69-114.012 7.773-10.365L816.038 80.138A60.46 60.46 0 0 1 859.225 62a60.46 60.46 0 0 1 43.186 18.138l43.186 43.186a60.46 60.46 0 0 1 0 86.373L588.879 565.55l-8.637 8.637-117.466 68.234a60.46 60.46 0 0 1-31.958 11.229z"}),f("path",{d:"M728.802 962H252.891A190.883 190.883 0 0 1 62.008 771.98V296.934a190.883 190.883 0 0 1 190.883-192.61h267.754a60.46 60.46 0 0 1 0 120.92H252.891a69.962 69.962 0 0 0-69.098 69.099V771.98a69.962 69.962 0 0 0 69.098 69.098h475.911A69.962 69.962 0 0 0 797.9 771.98V503.363a60.46 60.46 0 1 1 120.922 0V771.98A190.883 190.883 0 0 1 728.802 962z"})]);Ju.displayName="EditIcon";var h4=V({name:"PageMeta",setup(){const e=ye(),t=u4(),n=f4(),r=d4();return()=>{const{metaLocales:o}=e.value;return f("footer",{class:"page-meta"},[t.value?f("div",{class:"meta-item edit-link"},f(Xe,{class:"label",config:t.value},{before:()=>f(Ju)})):null,f("div",{class:"meta-item git-info"},[n.value?f("div",{class:"update-time"},[f("span",{class:"label"},`${o.lastUpdated}: `),f(Ao,()=>f("span",{class:"info"},n.value))]):null,r.value&&r.value.length?f("div",{class:"contributors"},[f("span",{class:"label"},`${o.contributors}: `),r.value.map(({email:s,name:l},i)=>[f("span",{class:"contributor",title:`email: ${s}`},l),i!==r.value.length-1?",":""])]):null])])}}}),v4=V({name:"NormalPage",slots:Object,setup(e,{slots:t}){const n=Le(),{isDarkmode:r}=jr(),o=ye(),s=T(()=>n.value.toc||n.value.toc!==!1&&o.value.toc!==!1);return()=>f("main",{id:"main-content",class:"vp-page"},f(ft("LocalEncrypt")?gt("LocalEncrypt"):Xc,()=>{var l,i,a,c;return[(l=t.top)==null?void 0:l.call(t),n.value.cover?f("div",{class:"page-cover"},f("img",{src:Ge(n.value.cover),alt:"","no-view":""})):null,f(l4),f(p4),s.value?f(e4,{headerDepth:n.value.headerDepth??o.value.headerDepth??2},{before:()=>{var u;return(u=t.tocBefore)==null?void 0:u.call(t)},after:()=>{var u;return(u=t.tocAfter)==null?void 0:u.call(t)}}):null,(i=t.contentBefore)==null?void 0:i.call(t),f(Du),(a=t.contentAfter)==null?void 0:a.call(t),f(h4),f(i4),ft("CommentService")?f(gt("CommentService"),{darkmode:r.value}):null,(c=t.bottom)==null?void 0:c.call(t)]}))}}),m4=V({name:"Layout",slots:Object,setup(e,{slots:t}){ye();const n=Ae(),r=Le(),{isMobile:o}=Io(),s=T(()=>"none");return()=>[f(qu),f(Nu,{},{default:()=>{var l;return((l=t.default)==null?void 0:l.call(t))||(r.value.home?f(s4):f(Gu,()=>f(v4,{key:n.value.path},{top:()=>{var i;return(i=t.top)==null?void 0:i.call(t)},bottom:()=>{var i;return(i=t.bottom)==null?void 0:i.call(t)},contentBefore:()=>{var i;return(i=t.contentBefore)==null?void 0:i.call(t)},contentAfter:()=>{var i;return(i=t.contentAfter)==null?void 0:i.call(t)},tocBefore:()=>{var i;return(i=t.tocBefore)==null?void 0:i.call(t)},tocAfter:()=>{var i;return(i=t.tocAfter)==null?void 0:i.call(t)}})))},...s.value==="none"?{}:{navScreenBottom:()=>f(gt("BloggerInfo"))},...!o.value&&s.value==="always"?{sidebar:()=>f(gt("BloggerInfo"))}:{}})]}}),g4=V({name:"NotFoundHint",setup(){const e=ye(),t=()=>{const n=e.value.routeLocales.notFoundMsg;return n[Math.floor(Math.random()*n.length)]};return()=>f("div",{class:"not-found-hint"},[f("p",{class:"error-code"},"404"),f("h1",{class:"error-title"},e.value.routeLocales.notFoundTitle),f("p",{class:"error-hint"},t())])}}),y4=V({name:"NotFound",slots:Object,setup(e,{slots:t}){const n=hn(),r=mn(),o=ye();return()=>[f(qu),f(Nu,{noSidebar:!0},()=>{var s;return f("main",{id:"main-content",class:"vp-page not-found"},((s=t.default)==null?void 0:s.call(t))||[f(g4),f("div",{class:"actions"},[f("button",{type:"button",class:"action-button",onClick:()=>{window.history.go(-1)}},o.value.routeLocales.back),f("button",{type:"button",class:"action-button",onClick:()=>{n.push(o.value.home??r.value)}},o.value.routeLocales.home)])])})]}});const Qu=()=>f(Oe,{name:"lock"},()=>f("path",{d:"M787.168 952.268H236.832c-30.395 0-55.033-24.638-55.033-55.033V429.45c0-30.395 24.638-55.034 55.033-55.034h82.55V264.35c0-106.38 86.238-192.618 192.618-192.618S704.618 157.97 704.618 264.35v110.066h82.55c30.395 0 55.033 24.639 55.033 55.034v467.785c0 30.395-24.639 55.033-55.033 55.033zM484.483 672.046v115.122h55.034V672.046c31.99-11.373 55.033-41.605 55.033-77.496 0-45.592-36.958-82.55-82.55-82.55s-82.55 36.958-82.55 82.55c0 35.89 23.042 66.123 55.033 77.496zM622.067 264.35c0-60.788-49.28-110.067-110.067-110.067s-110.067 49.28-110.067 110.067v110.066h220.135V264.35z"}));Qu.displayName="LockIcon";var b4={};const wn="./ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),rs=Array.from({length:64},(e,t)=>t),Zr=e=>Array(e).fill(-1),Nt=[...Zr(46),0,1,...rs.slice(54,64),...Zr(7),...rs.slice(2,28),...Zr(6),...rs.slice(28,54),...Zr(5)],Ui=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],qi=[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],Xu=[1332899944,1700884034,1701343084,1684370003,1668446532,1869963892],Ls=(e,t)=>{if(t<=0||t>e.length)throw Error(`Illegal len: ${t}`);let n=0,r,o;const s=[];for(;n<t;){if(r=e[n++]&255,s.push(wn[r>>2&63]),r=(r&3)<<4,n>=t){s.push(wn[r&63]);break}if(o=e[n++]&255,r|=o>>4&15,s.push(wn[r&63]),r=(o&15)<<2,n>=t){s.push(wn[r&63]);break}o=e[n++]&255,r|=o>>6&3,s.push(wn[r&63]),s.push(wn[o&63])}return s.join("")},_4=(e,t)=>{if(t<=0)throw Error(`Illegal len: ${t}`);const n=e.length;let r=0,o=0,s,l,i,a,c,u;const d=[];for(;r<n-1&&o<t&&(u=e.charCodeAt(r++),s=u<Nt.length?Nt[u]:-1,u=e.charCodeAt(r++),l=u<Nt.length?Nt[u]:-1,!(s==-1||l==-1||(c=s<<2>>>0,c|=(l&48)>>4,d.push(String.fromCharCode(c)),++o>=t||r>=n)||(u=e.charCodeAt(r++),i=u<Nt.length?Nt[u]:-1,i==-1)||(c=(l&15)<<4>>>0,c|=(i&60)>>2,d.push(String.fromCharCode(c)),++o>=t||r>=n)));)u=e.charCodeAt(r++),a=u<Nt.length?Nt[u]:-1,c=(i&3)<<6>>>0,c|=a,d.push(String.fromCharCode(c)),++o;return d.map(p=>p.charCodeAt(0))},w4=(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},E4=(e,t)=>{let n,r=null;for(;(n=r!==null?r:e())!==null;){if(n>=55296&&n<=57343&&(r=e())!==null&&r>=56320&&r<=57343){t((n-55296)*1024+r-56320+65536),r=null;continue}t(n)}r!==null&&t(r)},C4=(e,t)=>{E4(e,function(n){w4(n,t)})},x4=typeof process=="object"&&b4.NEXT_RUNTIME==="edge"?setTimeout:typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:setTimeout,S4=e=>{const t=[];let n=0;return C4(()=>n>=e.length?null:e.charCodeAt(n++),r=>{t.push(r)}),t},wr=(e,t,n,r)=>{let o,s=e[t],l=e[t+1];return s^=n[0],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],l^=o^n[1],o=r[l>>>24],o+=r[256|l>>16&255],o^=r[512|l>>8&255],o+=r[768|l&255],s^=o^n[2],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],l^=o^n[3],o=r[l>>>24],o+=r[256|l>>16&255],o^=r[512|l>>8&255],o+=r[768|l&255],s^=o^n[4],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],l^=o^n[5],o=r[l>>>24],o+=r[256|l>>16&255],o^=r[512|l>>8&255],o+=r[768|l&255],s^=o^n[6],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],l^=o^n[7],o=r[l>>>24],o+=r[256|l>>16&255],o^=r[512|l>>8&255],o+=r[768|l&255],s^=o^n[8],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],l^=o^n[9],o=r[l>>>24],o+=r[256|l>>16&255],o^=r[512|l>>8&255],o+=r[768|l&255],s^=o^n[10],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],l^=o^n[11],o=r[l>>>24],o+=r[256|l>>16&255],o^=r[512|l>>8&255],o+=r[768|l&255],s^=o^n[12],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],l^=o^n[13],o=r[l>>>24],o+=r[256|l>>16&255],o^=r[512|l>>8&255],o+=r[768|l&255],s^=o^n[14],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],l^=o^n[15],o=r[l>>>24],o+=r[256|l>>16&255],o^=r[512|l>>8&255],o+=r[768|l&255],s^=o^n[16],e[t]=l^n[17],e[t+1]=s,e},xn=(e,t)=>{let n=0;for(let r=0;r<4;++r)n=n<<8|e[t]&255,t=(t+1)%e.length;return{key:n,offp:t}},Wi=(e,t,n)=>{const r=t.length,o=n.length;let s=0,l=[0,0],i;for(let a=0;a<r;a++)i=xn(e,s),s=i.offp,t[a]=t[a]^i.key;for(let a=0;a<r;a+=2)l=wr(l,0,t,n),t[a]=l[0],t[a+1]=l[1];for(let a=0;a<o;a+=2)l=wr(l,0,t,n),n[a]=l[0],n[a+1]=l[1]},k4=(e,t,n,r)=>{const o=n.length,s=r.length;let l=0,i=[0,0],a;for(let c=0;c<o;c++)a=xn(t,l),l=a.offp,n[c]=n[c]^a.key;l=0;for(let c=0;c<o;c+=2)a=xn(e,l),l=a.offp,i[0]^=a.key,a=xn(e,l),l=a.offp,i[1]^=a.key,i=wr(i,0,n,r),n[c]=i[0],n[c+1]=i[1];for(let c=0;c<s;c+=2)a=xn(e,l),l=a.offp,i[0]^=a.key,a=xn(e,l),l=a.offp,i[1]^=a.key,i=wr(i,0,n,r),r[c]=i[0],r[c+1]=i[1]},Gi=(e,t,n,r,o)=>{const s=Xu.slice(),l=s.length;if(n<4||n>31){const p=new Error(`Illegal number of rounds (4-31): ${n}`);if(r===!1)return Promise.reject(p);throw p}if(t.length!==16){const p=new Error(`Illegal salt length: ${t.length} != 16`);if(r===!1)return Promise.reject(p);throw p}n=1<<n>>>0;let i,a,c=0,u;Int32Array?(i=new Int32Array(Ui),a=new Int32Array(qi)):(i=Ui.slice(),a=qi.slice()),k4(t,e,i,a);const d=()=>{if(o&&o(c/n),c<n){const p=Date.now();for(;c<n&&(c=c+1,Wi(e,i,a),Wi(t,i,a),!(Date.now()-p>100)););}else{for(c=0;c<64;c++)for(u=0;u<l>>1;u++)wr(s,u<<1,i,a);const p=[];for(c=0;c<l;c++)p.push((s[c]>>24&255)>>>0),p.push((s[c]>>16&255)>>>0),p.push((s[c]>>8&255)>>>0),p.push((s[c]&255)>>>0);return r===!1?Promise.resolve(p):p}if(r===!1)return new Promise(p=>x4(()=>{d().then(p)}))};if(r===!1)return d();{let p;for(;;)if(typeof(p=d())<"u")return p||[]}},T4=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")}},A4=(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(Ls(T4(16),16)),t.join("")};function L4(e,t,n,r){if(typeof e!="string"||typeof t!="string"){const h=new Error("Invalid string / salt: Not a string");if(n===!1)return Promise.reject(h);throw h}let o,s;if(t.charAt(0)!=="$"||t.charAt(1)!=="2"){const h=new Error("Invalid salt version: "+t.substring(0,2));if(n===!1)return Promise.reject(h);throw h}if(t.charAt(2)==="$")o="\0",s=3;else{if(o=t.charAt(2),o!=="a"&&o!=="b"&&o!=="y"||t.charAt(3)!=="$"){const h=Error("Invalid salt revision: "+t.substring(2,4));if(n===!1)return Promise.reject(h);throw h}s=4}if(t.charAt(s+2)>"$"){const h=new Error("Missing salt rounds");if(n===!1)return Promise.reject(h);throw h}const l=parseInt(t.substring(s,s+1),10)*10,i=parseInt(t.substring(s+1,s+2),10),a=l+i,c=t.substring(s+3,s+25);e+=o>="a"?"\0":"";const u=S4(e),d=_4(c,16),p=h=>{const g=[];return g.push("$2"),o>="a"&&g.push(o),g.push("$"),a<10&&g.push("0"),g.push(a.toString()),g.push("$"),g.push(Ls(d,d.length)),g.push(Ls(h,Xu.length*4-1)),g.join("")};return n===!1?Gi(u,d,a,!1,r).then(h=>p(h)):p(Gi(u,d,a,!0,r))}const I4=(e,t=10)=>{if(typeof t=="number"&&(t=A4(t)),typeof e!="string"||typeof t!="string")throw Error("Illegal arguments: "+typeof e+", "+typeof t);return L4(e,t,!0)},Is=(e,t)=>{if(typeof e!="string"||typeof t!="string")throw Error("Illegal arguments: "+typeof e+", "+typeof t);return t.length!==60?!1:I4(e,t.substring(0,t.length-31))===t};var Zu=V({name:"PasswordModal",props:{full:Boolean},emits:["verify"],setup(e,{emit:t}){const n=Le(),r=ye(),o=Y(""),s=Y(!1),l=Y(!1),i=T(()=>r.value.encryptLocales);let a=null;const c=()=>{a&&clearTimeout(a),s.value=!1,t("verify",o.value,l.value),Jt().then(()=>{s.value=!0,a=setTimeout(()=>{s.value=!1},1e3)})};return()=>f("div",{class:["vp-decrypt-layer",{expand:e.full||n.value.home}]},f("div",{class:"vp-decrypt-modal"},[f("div",{class:["vp-decrypt-hint",{tried:s.value}]},s.value?i.value.errorHint:f(Qu,{"aria-label":i.value.iconLabel})),f("div",{class:"vp-decrypt-input"},[f("input",{type:"password",value:o.value,placeholder:i.value.placeholder,onInput:({target:u})=>{o.value=u.value},onKeydown:({key:u})=>{u==="Enter"&&c()}})]),f("div",{class:"vp-remember-password"},[f("input",{type:"checkbox",value:l.value,onChange:()=>l.value=!l.value}),i.value.remember]),f("button",{type:"button",class:"vp-decrypt-submit",onClick:()=>c()},"OK")]))}});const ef=()=>{const e=yn();return T(()=>e.value.encrypt||{})},Ki="VUEPRESS_HOPE_GLOBAL_TOKEN",$4=()=>{const e=ef(),t=Gn(Ki,""),n=Fc(Ki,""),r=T(()=>{const{global:s=!1,admin:l=[]}=e.value;return s&&l.length>0}),o=T(()=>{if(r.value){if(t.value)return e.value.admin.some(s=>Is(t.value,s));if(n.value)return e.value.admin.some(s=>Is(n.value,s))}return!1});return{isEncrypted:r,isDecrypted:o,validate:(s,l=!1)=>{(l?t:n).value=s}}},os=(e="",t)=>!!e&&Is(e,t),Yi="VUEPRESS_HOPE_PATH_TOKEN",O4=()=>{const e=Ae(),t=ef(),n=Gn(Yi,{}),r=Fc(Yi,{}),o=l=>qn(t.value.config)?gn(t.value.config).filter(i=>Vn(decodeURI(l),i)).sort((i,a)=>a.length-i.length):[],s=l=>{const i=o(l);if(i.length>0){const{config:a={}}=t.value;return{isEncrypted:!0,isDecrypted:i.some(c=>n.value[c]&&a[c].some(u=>os(n.value[c],u))||r.value[c]&&a[c].some(u=>os(r.value[c],u)))}}return{isDecrypted:!1,isEncrypted:!1}};return{status:T(()=>s(e.value.path)),getStatus:s,validate:(l,i=!1)=>{const{config:a={}}=t.value,c=o(e.value.path);for(const u of c)if(a[u].filter(d=>os(l,d))){(i?n:r).value[u]=l;break}}}};var P4=V({name:"GlobalEncrypt",slots:Object,setup(e,{slots:t}){const{isDecrypted:n,isEncrypted:r,validate:o}=$4(),s=Y(!1);return we(()=>{s.value=!0}),()=>f(Gu,()=>r.value?s.value?n.value?t.default():f(Zu,{full:!0,onVerify:o}):null:t.default())}}),R4=V({name:"LocalEncrypt",slots:Object,setup(e,{slots:t}){const{status:n,validate:r}=O4(),o=Y(!1);return we(()=>{o.value=!0}),()=>{const{isEncrypted:s,isDecrypted:l}=n.value;return s?o.value?l?t.default():f(Zu,{full:!0,onVerify:r}):null:t.default()}}});a2(e=>{const t=e.t,n=e.I!==!1,r=e.i;return n?{title:t,content:r?()=>[f(Ke,{icon:r}),t]:null,order:e.O,index:e.I}:null});const M4=et({enhance:({app:e,router:t})=>{const{scrollBehavior:n}=t.options;t.options.scrollBehavior=async(...r)=>(await Wu().wait(),n(...r)),w3(e),e.component("HopeIcon",Ke),e.component("GlobalEncrypt",P4),e.component("LocalEncrypt",R4)},setup:()=>{E3(),T3()},layouts:{Layout:m4,NotFound:y4}}),N4=e=>(Tr("data-v-3b58f839"),e=e(),Ar(),e),D4={class:"item-card"},j4={class:"item-name"},F4={class:"item-description"},B4={class:"item-bar"},H4=["href"],V4=N4(()=>le("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},[le("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)),z4=[V4],U4=["href"],q4=["src"],W4={class:"author-name"},G4=V({__name:"ResItemCard",props:{item:Object},setup(e){const t=e;return(n,r)=>(yt(),Gt("div",D4,[le("div",j4,zt(t.item.name),1),le("div",F4,zt(t.item.description),1),le("div",B4,[an(' 三个可点击svg一个github一个下载一个可点击"https://github.com/{{ username }}.png?size=80"个人头像配上id'),le("a",{href:t.item.link,class:""},z4,8,H4),le("div",null,[le("a",{class:"author-info",href:`https://github.com/${t.item.author}`},[le("img",{class:"icon avatar",src:`https://github.com/${t.item.author}.png?size=80`,alt:""},null,8,q4),le("div",W4,zt(t.item.author),1)],8,U4)])])]))}}),bn=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},K4=bn(G4,[["__scopeId","data-v-3b58f839"],["__file","ResItemCard.vue"]]),Y4=e=>(Tr("data-v-002d38b2"),e=e(),Ar(),e),J4={class:"market"},Q4=Y4(()=>le("h1",null,"主题/资源商店",-1)),X4={class:"search-box-div"},Z4={class:"items"},ev=V({__name:"ResStore",setup(e){let t=T(()=>r.value?n.value.filter(o=>o.name.toLowerCase().includes(r.value.toLowerCase())||o.description.toLowerCase().includes(r.value.toLowerCase())||o.author.toLowerCase().includes(r.value.toLowerCase())).reverse():n.value.reverse()),n=Y([]),r=Y("");return fetch("/assets/resources.json").then(o=>o.json()).then(o=>{n.value=o}).catch(o=>console.error(o)),(o,s)=>(yt(),Gt("div",J4,[Q4,le("div",X4,[Ia(le("input",{class:"item-search-box",type:"text",placeholder:"搜索资源","onUpdate:modelValue":s[0]||(s[0]=l=>Me(r)?r.value=l:r=l)},null,512),[[oc,rt(r)]])]),le("div",Z4,[an(" 使用filteredItems来布局商品 "),(yt(!0),Gt(Ue,null,Na(rt(t),l=>(yt(),Xs(K4,{key:l.id,item:l},null,8,["item"]))),128))])]))}}),tv=bn(ev,[["__scopeId","data-v-002d38b2"],["__file","ResStore.vue"]]);var nv=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function rv(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var tf={exports:{}};/*!
* clipboard.js v2.0.11
* https://clipboardjs.com/
*
* Licensed MIT © Zeno Rocha
*/(function(e,t){(function(r,o){e.exports=o()})(nv,function(){return function(){var n={686:function(s,l,i){i.d(l,{default:function(){return Ye}});var a=i(279),c=i.n(a),u=i(370),d=i.n(u),p=i(817),h=i.n(p);function g(Z){try{return document.execCommand(Z)}catch{return!1}}var _=function(z){var G=h()(z);return g("cut"),G},b=_;function w(Z){var z=document.documentElement.getAttribute("dir")==="rtl",G=document.createElement("textarea");G.style.fontSize="12pt",G.style.border="0",G.style.padding="0",G.style.margin="0",G.style.position="absolute",G.style[z?"right":"left"]="-9999px";var te=window.pageYOffset||document.documentElement.scrollTop;return G.style.top="".concat(te,"px"),G.setAttribute("readonly",""),G.value=Z,G}var x=function(z,G){var te=w(z);G.container.appendChild(te);var Q=h()(te);return g("copy"),te.remove(),Q},y=function(z){var G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},te="";return typeof z=="string"?te=x(z,G):z instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(z==null?void 0:z.type)?te=x(z.value,G):(te=h()(z),g("copy")),te},k=y;function R(Z){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?R=function(G){return typeof G}:R=function(G){return G&&typeof Symbol=="function"&&G.constructor===Symbol&&G!==Symbol.prototype?"symbol":typeof G},R(Z)}var S=function(){var z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},G=z.action,te=G===void 0?"copy":G,Q=z.container,E=z.target,j=z.text;if(te!=="copy"&&te!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(E!==void 0)if(E&&R(E)==="object"&&E.nodeType===1){if(te==="copy"&&E.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(te==="cut"&&(E.hasAttribute("readonly")||E.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(j)return k(j,{container:Q});if(E)return te==="cut"?b(E):k(E,{container:Q})},I=S;function O(Z){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(G){return typeof G}:O=function(G){return G&&typeof Symbol=="function"&&G.constructor===Symbol&&G!==Symbol.prototype?"symbol":typeof G},O(Z)}function J(Z,z){if(!(Z instanceof z))throw new TypeError("Cannot call a class as a function")}function $(Z,z){for(var G=0;G<z.length;G++){var te=z[G];te.enumerable=te.enumerable||!1,te.configurable=!0,"value"in te&&(te.writable=!0),Object.defineProperty(Z,te.key,te)}}function U(Z,z,G){return z&&$(Z.prototype,z),G&&$(Z,G),Z}function M(Z,z){if(typeof z!="function"&&z!==null)throw new TypeError("Super expression must either be null or a function");Z.prototype=Object.create(z&&z.prototype,{constructor:{value:Z,writable:!0,configurable:!0}}),z&&re(Z,z)}function re(Z,z){return re=Object.setPrototypeOf||function(te,Q){return te.__proto__=Q,te},re(Z,z)}function Ee(Z){var z=se();return function(){var te=W(Z),Q;if(z){var E=W(this).constructor;Q=Reflect.construct(te,arguments,E)}else Q=te.apply(this,arguments);return be(this,Q)}}function be(Z,z){return z&&(O(z)==="object"||typeof z=="function")?z:K(Z)}function K(Z){if(Z===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Z}function se(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function W(Z){return W=Object.setPrototypeOf?Object.getPrototypeOf:function(G){return G.__proto__||Object.getPrototypeOf(G)},W(Z)}function Se(Z,z){var G="data-clipboard-".concat(Z);if(z.hasAttribute(G))return z.getAttribute(G)}var ot=function(Z){M(G,Z);var z=Ee(G);function G(te,Q){var E;return J(this,G),E=z.call(this),E.resolveOptions(Q),E.listenClick(te),E}return U(G,[{key:"resolveOptions",value:function(){var Q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof Q.action=="function"?Q.action:this.defaultAction,this.target=typeof Q.target=="function"?Q.target:this.defaultTarget,this.text=typeof Q.text=="function"?Q.text:this.defaultText,this.container=O(Q.container)==="object"?Q.container:document.body}},{key:"listenClick",value:function(Q){var E=this;this.listener=d()(Q,"click",function(j){return E.onClick(j)})}},{key:"onClick",value:function(Q){var E=Q.delegateTarget||Q.currentTarget,j=this.action(E)||"copy",F=I({action:j,container:this.container,target:this.target(E),text:this.text(E)});this.emit(F?"success":"error",{action:j,text:F,trigger:E,clearSelection:function(){E&&E.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(Q){return Se("action",Q)}},{key:"defaultTarget",value:function(Q){var E=Se("target",Q);if(E)return document.querySelector(E)}},{key:"defaultText",value:function(Q){return Se("text",Q)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(Q){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return k(Q,E)}},{key:"cut",value:function(Q){return b(Q)}},{key:"isSupported",value:function(){var Q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],E=typeof Q=="string"?[Q]:Q,j=!!document.queryCommandSupported;return E.forEach(function(F){j=j&&!!document.queryCommandSupported(F)}),j}}]),G}(c()),Ye=ot},828:function(s){var l=9;if(typeof Element<"u"&&!Element.prototype.matches){var i=Element.prototype;i.matches=i.matchesSelector||i.mozMatchesSelector||i.msMatchesSelector||i.oMatchesSelector||i.webkitMatchesSelector}function a(c,u){for(;c&&c.nodeType!==l;){if(typeof c.matches=="function"&&c.matches(u))return c;c=c.parentNode}}s.exports=a},438:function(s,l,i){var a=i(828);function c(p,h,g,_,b){var w=d.apply(this,arguments);return p.addEventListener(g,w,b),{destroy:function(){p.removeEventListener(g,w,b)}}}function u(p,h,g,_,b){return typeof p.addEventListener=="function"?c.apply(null,arguments):typeof g=="function"?c.bind(null,document).apply(null,arguments):(typeof p=="string"&&(p=document.querySelectorAll(p)),Array.prototype.map.call(p,function(w){return c(w,h,g,_,b)}))}function d(p,h,g,_){return function(b){b.delegateTarget=a(b.target,h),b.delegateTarget&&_.call(p,b)}}s.exports=u},879:function(s,l){l.node=function(i){return i!==void 0&&i instanceof HTMLElement&&i.nodeType===1},l.nodeList=function(i){var a=Object.prototype.toString.call(i);return i!==void 0&&(a==="[object NodeList]"||a==="[object HTMLCollection]")&&"length"in i&&(i.length===0||l.node(i[0]))},l.string=function(i){return typeof i=="string"||i instanceof String},l.fn=function(i){var a=Object.prototype.toString.call(i);return a==="[object Function]"}},370:function(s,l,i){var a=i(879),c=i(438);function u(g,_,b){if(!g&&!_&&!b)throw new Error("Missing required arguments");if(!a.string(_))throw new TypeError("Second argument must be a String");if(!a.fn(b))throw new TypeError("Third argument must be a Function");if(a.node(g))return d(g,_,b);if(a.nodeList(g))return p(g,_,b);if(a.string(g))return h(g,_,b);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function d(g,_,b){return g.addEventListener(_,b),{destroy:function(){g.removeEventListener(_,b)}}}function p(g,_,b){return Array.prototype.forEach.call(g,function(w){w.addEventListener(_,b)}),{destroy:function(){Array.prototype.forEach.call(g,function(w){w.removeEventListener(_,b)})}}}function h(g,_,b){return c(document.body,g,_,b)}s.exports=u},817:function(s){function l(i){var a;if(i.nodeName==="SELECT")i.focus(),a=i.value;else if(i.nodeName==="INPUT"||i.nodeName==="TEXTAREA"){var c=i.hasAttribute("readonly");c||i.setAttribute("readonly",""),i.select(),i.setSelectionRange(0,i.value.length),c||i.removeAttribute("readonly"),a=i.value}else{i.hasAttribute("contenteditable")&&i.focus();var u=window.getSelection(),d=document.createRange();d.selectNodeContents(i),u.removeAllRanges(),u.addRange(d),a=u.toString()}return a}s.exports=l},279:function(s){function l(){}l.prototype={on:function(i,a,c){var u=this.e||(this.e={});return(u[i]||(u[i]=[])).push({fn:a,ctx:c}),this},once:function(i,a,c){var u=this;function d(){u.off(i,d),a.apply(c,arguments)}return d._=a,this.on(i,d,c)},emit:function(i){var a=[].slice.call(arguments,1),c=((this.e||(this.e={}))[i]||[]).slice(),u=0,d=c.length;for(u;u<d;u++)c[u].fn.apply(c[u].ctx,a);return this},off:function(i,a){var c=this.e||(this.e={}),u=c[i],d=[];if(u&&a)for(var p=0,h=u.length;p<h;p++)u[p].fn!==a&&u[p].fn._!==a&&d.push(u[p]);return d.length?c[i]=d:delete c[i],this}},s.exports=l,s.exports.TinyEmitter=l}},r={};function o(s){if(r[s])return r[s].exports;var l=r[s]={exports:{}};return n[s](l,l.exports,o),l.exports}return function(){o.n=function(s){var l=s&&s.__esModule?function(){return s.default}:function(){return s};return o.d(l,{a:l}),l}}(),function(){o.d=function(s,l){for(var i in l)o.o(l,i)&&!o.o(s,i)&&Object.defineProperty(s,i,{enumerable:!0,get:l[i]})}}(),function(){o.o=function(s,l){return Object.prototype.hasOwnProperty.call(s,l)}}(),o(686)}().default})})(tf);var ov=tf.exports;const sv=rv(ov),lv=e=>(Tr("data-v-fb9f7c66"),e=e(),Ar(),e),iv={class:"item-card"},av={class:"item-name"},cv={class:"item-description"},uv={class:"item-bar"},fv=["href"],dv=lv(()=>le("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},[le("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)),pv=[dv],hv={class:"btn"},vv=["href"],mv=["src"],gv={class:"author-name"},yv=V({__name:"PluginItemCard",props:{item:Object},setup(e){const t=e,n=()=>{const r=new sv(".copy-btn",{text:()=>`npm install ${t.item.module_name}`});r.on("success",()=>{}),r.on("error",()=>{})};return(r,o)=>(yt(),Gt("div",iv,[le("div",av,zt(t.item.name),1),le("div",cv,zt(t.item.desc),1),le("div",uv,[an(' 三个可点击svg一个github一个下载一个可点击"https://github.com/{{ username }}.png?size=80"个人头像配上id'),le("a",{href:t.item.homepage,class:"btn"},pv,8,fv),an(' <button class="copy-btn btn"><div @click="copyToClipboard">安装</div></button> 点击后把安装命令写入剪贴板'),le("button",{class:"btn copy-btn",onClick:n},"复制安装命令"),le("div",hv,[le("a",{class:"author-info",href:`https://github.com/${t.item.author}`},[le("img",{class:"icon avatar",src:`https://github.com/${t.item.author}.png?size=80`,alt:""},null,8,mv),le("div",gv,zt(t.item.author),1)],8,vv)]),an(" 复制键复制安装命令npm install props.item.module_name")])]))}}),bv=bn(yv,[["__scopeId","data-v-fb9f7c66"],["__file","PluginItemCard.vue"]]),nf=e=>(Tr("data-v-43257c18"),e=e(),Ar(),e),_v={class:"market"},wv=nf(()=>le("h1",null,"插件商店",-1)),Ev=nf(()=>le("p",null,[fo("内容来自"),le("a",{href:"https://nonebot.dev/store/plugins"},"NoneBot插件商店"),fo("和轻雪商店在此仅作引用具体请访问NoneBot插件商店")],-1)),Cv={class:"search-box-div"},xv={class:"items"},Sv=V({__name:"PluginStore",setup(e){let t=T(()=>r.value?n.value.filter(o=>o.name.toLowerCase().includes(r.value.toLowerCase())||o.desc.toLowerCase().includes(r.value.toLowerCase())||o.author.toLowerCase().includes(r.value.toLowerCase())||o.module_name.toLowerCase().includes(r.value.toLowerCase())):n.value),n=Y([]),r=Y("");return fetch("/assets/plugins.json").then(o=>o.json()).then(o=>{n.value=o}).catch(o=>console.error(o)),fetch("https://registry.nonebot.dev/plugins.json").then(o=>o.json()).then(o=>{n.value=n.value.concat(o)}),(o,s)=>(yt(),Gt("div",_v,[wv,Ev,an(" 搜索框"),le("div",Cv,[Ia(le("input",{class:"item-search-box",type:"text",placeholder:"搜索插件","onUpdate:modelValue":s[0]||(s[0]=l=>Me(r)?r.value=l:r=l)},null,512),[[oc,rt(r)]])]),le("div",xv,[an(" 使用filteredItems来布局商品 "),(yt(!0),Gt(Ue,null,Na(rt(t),l=>(yt(),Xs(bv,{key:l.id,item:l},null,8,["item"]))),128))])]))}}),kv=bn(Sv,[["__scopeId","data-v-43257c18"],["__file","PluginStore.vue"]]),Tv={class:"info-box"},Av=le("h1",null,"Dashboard",-1),Lv={class:"info"},Iv={class:"info-item"},$v=le("h2",null,"Total",-1),Ov={class:"info-item"},Pv=le("h2",null,"Online",-1),Rv=V({__name:"Dash",setup(e){let t=Y(0),n=Y(0);return fetch("https://api.liteyuki.icu/count").then(r=>r.json()).then(r=>{t.value=r.register}).catch(r=>console.error(r)),fetch("https://api.liteyuki.icu/online").then(r=>r.json()).then(r=>{n.value=r.online}).catch(r=>console.error(r)),(r,o)=>(yt(),Gt("div",Tv,[Av,le("div",Lv,[le("div",Iv,[$v,le("p",null,zt(rt(t)),1)]),le("div",Ov,[Pv,le("p",null,zt(rt(n)),1)])])]))}}),Mv=bn(Rv,[["__file","Dash.vue"]]),Nv={};function Dv(e,t){return null}const jv=bn(Nv,[["render",Dv],["__file","Home.vue"]]),Fv={},rf=e=>(Tr("data-v-ab5c02e3"),e=e(),Ar(),e),Bv=rf(()=>le("div",{style:{"text-align":"center"}},[le("h2",null,"地理分布"),le("p",null,"数据来源于Liteyuki API")],-1)),Hv=rf(()=>le("div",{id:"main-chart",style:{width:"100%",height:"600px"}},null,-1)),Vv=[Bv,Hv];function zv(e,t){return yt(),Gt("div",null,Vv)}const Uv=bn(Fv,[["render",zv],["__scopeId","data-v-ab5c02e3"],["__file","Geo.vue"]]),qv=et({enhance:({app:e,router:t,siteData:n})=>{e.component("homeComp",jv),e.component("dashComp",Mv),e.component("resourceStoreComp",tv),e.component("pluginStoreComp",kv),e.component("geoComp",Uv)}}),eo=[i0,t2,i2,p2,m2,_2,x2,L2,D2,K2,Ih,Uh,i3,M4,qv],Wv=JSON.parse('{"base":"/","lang":"zh-CN","title":"LiteyukiBot 轻雪机器人","description":"LiteyukiBot | 轻雪机器人 | An OneBot Standard ChatBot | 一个OneBot标准的聊天机器人","head":[["script",{"src":"/js/style.js","type":"module"}],["script",{"src":"/js/get_data.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":{}}');var Zn=je(Wv),Gv=Sp,Kv=()=>{const e=Qp({history:Gv(el("/")),routes:[{name:"vuepress-route",path:"/:catchAll(.*)",components:{}}],scrollBehavior:(t,n,r)=>r||(t.hash?{el:t.hash}:{top:0})});return e.beforeResolve(async(t,n)=>{if(t.path!==n.path||n===Tt){const r=To(t.path);if(r.path!==t.path)return r.path;const o=await r.loader();t.meta={...r.meta,_pageChunk:o}}else t.path===n.path&&(t.meta=n.meta)}),e},Yv=e=>{e.component("ClientOnly",Ao),e.component("Content",wc),e.component("RouteLink",Qe)},Jv=(e,t,n)=>{const r=T(()=>t.currentRoute.value.path),o=qs((b,w)=>({get(){return b(),t.currentRoute.value.meta._pageChunk},set(x){t.currentRoute.value.meta._pageChunk=x,w()}})),s=T(()=>en.resolveLayouts(n)),l=T(()=>en.resolveRouteLocale(Zn.value.locales,r.value)),i=T(()=>en.resolveSiteLocaleData(Zn.value,l.value)),a=T(()=>o.value.comp),c=T(()=>o.value.data),u=T(()=>c.value.frontmatter),d=T(()=>en.resolvePageHeadTitle(c.value,i.value)),p=T(()=>en.resolvePageHead(d.value,u.value,i.value)),h=T(()=>en.resolvePageLang(c.value,i.value)),g=T(()=>en.resolvePageLayout(c.value,s.value)),_={layouts:s,pageData:c,pageComponent:a,pageFrontmatter:u,pageHead:p,pageHeadTitle:d,pageLang:h,pageLayout:g,redirects:bs,routeLocale:l,routePath:r,routes:gr,siteData:Zn,siteLocaleData:i};return e.provide(rl,_),Object.defineProperties(e.config.globalProperties,{$frontmatter:{get:()=>u.value},$head:{get:()=>p.value},$headTitle:{get:()=>d.value},$lang:{get:()=>h.value},$page:{get:()=>c.value},$routeLocale:{get:()=>l.value},$site:{get:()=>Zn.value},$siteLocale:{get:()=>i.value},$withBase:{get:()=>Ge}}),_},Qv=()=>{const e=e0(),t=ol();let n=[];const r=()=>{e.value.forEach(l=>{const i=Xv(l);i&&n.push(i)})},o=()=>{const l=[];return e.value.forEach(i=>{const a=Zv(i);a&&l.push(a)}),l},s=()=>{document.documentElement.lang=t.value;const l=o();n.forEach((i,a)=>{const c=l.findIndex(u=>i.isEqualNode(u));c===-1?(i.remove(),delete n[a]):l.splice(c,1)}),l.forEach(i=>document.head.appendChild(i)),n=[...n.filter(i=>!!i),...l]};On(r0,s),we(()=>{r(),he(e,s,{immediate:!1})})},Xv=([e,t,n=""])=>{const r=Object.entries(t).map(([i,a])=>$e(a)?`[${i}=${JSON.stringify(a)}]`:a===!0?`[${i}]`:"").join(""),o=`head > ${e}${r}`;return Array.from(document.querySelectorAll(o)).find(i=>i.innerText===n)||null},Zv=([e,t,n])=>{if(!$e(e))return null;const r=document.createElement(e);return qn(t)&&Object.entries(t).forEach(([o,s])=>{$e(s)?r.setAttribute(o,s):s===!0&&r.setAttribute(o,"")}),$e(n)&&r.appendChild(document.createTextNode(n)),r},em=R1,tm=async()=>{var n;const e=em({name:"Vuepress",setup(){var s;Qv();for(const l of eo)(s=l.setup)==null||s.call(l);const r=eo.flatMap(({rootComponents:l=[]})=>l.map(i=>f(i))),o=t0();return()=>[f(o.value),r]}}),t=Kv();Yv(e),Jv(e,t,eo);for(const r of eo)await((n=r.enhance)==null?void 0:n.call(r,{app:e,router:t,siteData:Zn}));return e.use(t),{app:e,router:t}};tm().then(({app:e,router:t})=>{t.isReady().then(()=>{e.mount("#app")})});export{bn as _,Ie as a,le as b,Gt as c,tm as createVueApp,fo as d,nm as e,yt as o,gt as r,Zf as w};