forked from bot/app
154 lines
299 KiB
JavaScript
154 lines
299 KiB
JavaScript
function __vite__mapDeps(indexes) {
|
||
if (!__vite__mapDeps.viteFileDeps) {
|
||
__vite__mapDeps.viteFileDeps = []
|
||
}
|
||
return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
|
||
}
|
||
/**
|
||
* @vue/shared v3.4.21
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/function Va(e,t){const n=new Set(e.split(","));return t?s=>n.has(s.toLowerCase()):s=>n.has(s)}const Ce={},Tn=[],rt=()=>{},Q1=()=>!1,Ts=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ua=e=>e.startsWith("onUpdate:"),Pe=Object.assign,qa=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},X1=Object.prototype.hasOwnProperty,ce=(e,t)=>X1.call(e,t),X=Array.isArray,Ln=e=>bl(e)==="[object Map]",gi=e=>bl(e)==="[object Set]",ne=e=>typeof e=="function",Re=e=>typeof e=="string",Fn=e=>typeof e=="symbol",we=e=>e!==null&&typeof e=="object",yi=e=>(we(e)||ne(e))&&ne(e.then)&&ne(e.catch),bi=Object.prototype.toString,bl=e=>bi.call(e),Z1=e=>bl(e).slice(8,-1),wi=e=>bl(e)==="[object Object]",Ga=e=>Re(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,An=Va(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),wl=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},e2=/-(\w)/g,ht=wl(e=>e.replace(e2,(t,n)=>n?n.toUpperCase():"")),t2=/\B([A-Z])/g,Vn=wl(e=>e.replace(t2,"-$1").toLowerCase()),Ls=wl(e=>e.charAt(0).toUpperCase()+e.slice(1)),Dl=wl(e=>e?`on${Ls(e)}`:""),Xt=(e,t)=>!Object.is(e,t),Hl=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},cl=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},n2=e=>{const t=parseFloat(e);return isNaN(t)?e:t},s2=e=>{const t=Re(e)?Number(e):NaN;return isNaN(t)?e:t};let Uo;const ki=()=>Uo||(Uo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Wa(e){if(X(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],l=Re(s)?r2(s):Wa(s);if(l)for(const a in l)t[a]=l[a]}return t}else if(Re(e)||we(e))return e}const l2=/;(?![^(]*\))/g,a2=/:([^]+)/,o2=/\/\*[^]*?\*\//g;function r2(e){const t={};return e.replace(o2,"").split(l2).forEach(n=>{if(n){const s=n.split(a2);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Ka(e){let t="";if(Re(e))t=e;else if(X(e))for(let n=0;n<e.length;n++){const s=Ka(e[n]);s&&(t+=s+" ")}else if(we(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const i2="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",c2=Va(i2);function _i(e){return!!e||e===""}const Bl=e=>Re(e)?e:e==null?"":X(e)||we(e)&&(e.toString===bi||!ne(e.toString))?JSON.stringify(e,Ei,2):String(e),Ei=(e,t)=>t&&t.__v_isRef?Ei(e,t.value):Ln(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,l],a)=>(n[jl(s,a)+" =>"]=l,n),{})}:gi(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>jl(n))}:Fn(t)?jl(t):we(t)&&!X(t)&&!wi(t)?String(t):t,jl=(e,t="")=>{var n;return Fn(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 tt;class u2{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=tt,!t&&tt&&(this.index=(tt.scopes||(tt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=tt;try{return tt=this,t()}finally{tt=n}}}on(){tt=this}off(){tt=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.scopes)for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const l=this.parent.scopes.pop();l&&l!==this&&(this.parent.scopes[this.index]=l,l.index=this.index)}this.parent=void 0,this._active=!1}}}function f2(e,t=tt){t&&t.active&&t.effects.push(e)}function Ci(){return tt}function p2(e){tt&&tt.cleanups.push(e)}let pn;class Ya{constructor(t,n,s,l){this.fn=t,this.trigger=n,this.scheduler=s,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,f2(this,l)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,hn();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(d2(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),vn()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Yt,n=pn;try{return Yt=!0,pn=this,this._runnings++,qo(this),this.fn()}finally{Go(this),this._runnings--,pn=n,Yt=t}}stop(){var t;this.active&&(qo(this),Go(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function d2(e){return e.value}function qo(e){e._trackId++,e._depsLength=0}function Go(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)xi(e.deps[t],e);e.deps.length=e._depsLength}}function xi(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let Yt=!0,ha=0;const Si=[];function hn(){Si.push(Yt),Yt=!1}function vn(){const e=Si.pop();Yt=e===void 0?!0:e}function Ja(){ha++}function Qa(){for(ha--;!ha&&va.length;)va.shift()()}function Ti(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const s=e.deps[e._depsLength];s!==t?(s&&xi(s,e),e.deps[e._depsLength++]=t):e._depsLength++}}const va=[];function Li(e,t,n){Ja();for(const s of e.keys()){let l;s._dirtyLevel<t&&(l??(l=e.get(s)===s._trackId))&&(s._shouldSchedule||(s._shouldSchedule=s._dirtyLevel===0),s._dirtyLevel=t),s._shouldSchedule&&(l??(l=e.get(s)===s._trackId))&&(s.trigger(),(!s._runnings||s.allowRecurse)&&s._dirtyLevel!==2&&(s._shouldSchedule=!1,s.scheduler&&va.push(s.scheduler)))}Qa()}const Ai=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},ul=new WeakMap,dn=Symbol(""),ma=Symbol("");function Qe(e,t,n){if(Yt&&pn){let s=ul.get(e);s||ul.set(e,s=new Map);let l=s.get(n);l||s.set(n,l=Ai(()=>s.delete(n))),Ti(pn,l)}}function Pt(e,t,n,s,l,a){const o=ul.get(e);if(!o)return;let i=[];if(t==="clear")i=[...o.values()];else if(n==="length"&&X(e)){const c=Number(s);o.forEach((u,f)=>{(f==="length"||!Fn(f)&&f>=c)&&i.push(u)})}else switch(n!==void 0&&i.push(o.get(n)),t){case"add":X(e)?Ga(n)&&i.push(o.get("length")):(i.push(o.get(dn)),Ln(e)&&i.push(o.get(ma)));break;case"delete":X(e)||(i.push(o.get(dn)),Ln(e)&&i.push(o.get(ma)));break;case"set":Ln(e)&&i.push(o.get(dn));break}Ja();for(const c of i)c&&Li(c,4);Qa()}function h2(e,t){var n;return(n=ul.get(e))==null?void 0:n.get(t)}const v2=Va("__proto__,__v_isRef,__isVue"),$i=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Fn)),Wo=m2();function m2(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=oe(this);for(let a=0,o=this.length;a<o;a++)Qe(s,"get",a+"");const l=s[t](...n);return l===-1||l===!1?s[t](...n.map(oe)):l}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){hn(),Ja();const s=oe(this)[t].apply(this,n);return Qa(),vn(),s}}),e}function g2(e){const t=oe(this);return Qe(t,"has",e),t.hasOwnProperty(e)}class Ii{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){const l=this._isReadonly,a=this._isShallow;if(n==="__v_isReactive")return!l;if(n==="__v_isReadonly")return l;if(n==="__v_isShallow")return a;if(n==="__v_raw")return s===(l?a?$2:Ri:a?Pi:Oi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=X(t);if(!l){if(o&&ce(Wo,n))return Reflect.get(Wo,n,s);if(n==="hasOwnProperty")return g2}const i=Reflect.get(t,n,s);return(Fn(n)?$i.has(n):v2(n))||(l||Qe(t,"get",n),a)?i:Be(i)?o&&Ga(n)?i:i.value:we(i)?l?mn(i):As(i):i}}class Mi extends Ii{constructor(t=!1){super(!1,t)}set(t,n,s,l){let a=t[n];if(!this._isShallow){const c=Rn(a);if(!fl(s)&&!Rn(s)&&(a=oe(a),s=oe(s)),!X(t)&&Be(a)&&!Be(s))return c?!1:(a.value=s,!0)}const o=X(t)&&Ga(n)?Number(n)<t.length:ce(t,n),i=Reflect.set(t,n,s,l);return t===oe(l)&&(o?Xt(s,a)&&Pt(t,"set",n,s):Pt(t,"add",n,s)),i}deleteProperty(t,n){const s=ce(t,n);t[n];const l=Reflect.deleteProperty(t,n);return l&&s&&Pt(t,"delete",n,void 0),l}has(t,n){const s=Reflect.has(t,n);return(!Fn(n)||!$i.has(n))&&Qe(t,"has",n),s}ownKeys(t){return Qe(t,"iterate",X(t)?"length":dn),Reflect.ownKeys(t)}}class y2 extends Ii{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const b2=new Mi,w2=new y2,k2=new Mi(!0),Xa=e=>e,kl=e=>Reflect.getPrototypeOf(e);function qs(e,t,n=!1,s=!1){e=e.__v_raw;const l=oe(e),a=oe(t);n||(Xt(t,a)&&Qe(l,"get",t),Qe(l,"get",a));const{has:o}=kl(l),i=s?Xa:n?to:ds;if(o.call(l,t))return i(e.get(t));if(o.call(l,a))return i(e.get(a));e!==l&&e.get(t)}function Gs(e,t=!1){const n=this.__v_raw,s=oe(n),l=oe(e);return t||(Xt(e,l)&&Qe(s,"has",e),Qe(s,"has",l)),e===l?n.has(e):n.has(e)||n.has(l)}function Ws(e,t=!1){return e=e.__v_raw,!t&&Qe(oe(e),"iterate",dn),Reflect.get(e,"size",e)}function Ko(e){e=oe(e);const t=oe(this);return kl(t).has.call(t,e)||(t.add(e),Pt(t,"add",e,e)),this}function Yo(e,t){t=oe(t);const n=oe(this),{has:s,get:l}=kl(n);let a=s.call(n,e);a||(e=oe(e),a=s.call(n,e));const o=l.call(n,e);return n.set(e,t),a?Xt(t,o)&&Pt(n,"set",e,t):Pt(n,"add",e,t),this}function Jo(e){const t=oe(this),{has:n,get:s}=kl(t);let l=n.call(t,e);l||(e=oe(e),l=n.call(t,e)),s&&s.call(t,e);const a=t.delete(e);return l&&Pt(t,"delete",e,void 0),a}function Qo(){const e=oe(this),t=e.size!==0,n=e.clear();return t&&Pt(e,"clear",void 0,void 0),n}function Ks(e,t){return function(s,l){const a=this,o=a.__v_raw,i=oe(o),c=t?Xa:e?to:ds;return!e&&Qe(i,"iterate",dn),o.forEach((u,f)=>s.call(l,c(u),c(f),a))}}function Ys(e,t,n){return function(...s){const l=this.__v_raw,a=oe(l),o=Ln(a),i=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,u=l[e](...s),f=n?Xa:t?to:ds;return!t&&Qe(a,"iterate",c?ma:dn),{next(){const{value:p,done:d}=u.next();return d?{value:p,done:d}:{value:i?[f(p[0]),f(p[1])]:f(p),done:d}},[Symbol.iterator](){return this}}}}function Ht(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function _2(){const e={get(a){return qs(this,a)},get size(){return Ws(this)},has:Gs,add:Ko,set:Yo,delete:Jo,clear:Qo,forEach:Ks(!1,!1)},t={get(a){return qs(this,a,!1,!0)},get size(){return Ws(this)},has:Gs,add:Ko,set:Yo,delete:Jo,clear:Qo,forEach:Ks(!1,!0)},n={get(a){return qs(this,a,!0)},get size(){return Ws(this,!0)},has(a){return Gs.call(this,a,!0)},add:Ht("add"),set:Ht("set"),delete:Ht("delete"),clear:Ht("clear"),forEach:Ks(!0,!1)},s={get(a){return qs(this,a,!0,!0)},get size(){return Ws(this,!0)},has(a){return Gs.call(this,a,!0)},add:Ht("add"),set:Ht("set"),delete:Ht("delete"),clear:Ht("clear"),forEach:Ks(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(a=>{e[a]=Ys(a,!1,!1),n[a]=Ys(a,!0,!1),t[a]=Ys(a,!1,!0),s[a]=Ys(a,!0,!0)}),[e,n,t,s]}const[E2,C2,x2,S2]=_2();function Za(e,t){const n=t?e?S2:x2:e?C2:E2;return(s,l,a)=>l==="__v_isReactive"?!e:l==="__v_isReadonly"?e:l==="__v_raw"?s:Reflect.get(ce(n,l)&&l in s?n:s,l,a)}const T2={get:Za(!1,!1)},L2={get:Za(!1,!0)},A2={get:Za(!0,!1)},Oi=new WeakMap,Pi=new WeakMap,Ri=new WeakMap,$2=new WeakMap;function I2(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function M2(e){return e.__v_skip||!Object.isExtensible(e)?0:I2(Z1(e))}function As(e){return Rn(e)?e:eo(e,!1,b2,T2,Oi)}function Ni(e){return eo(e,!1,k2,L2,Pi)}function mn(e){return eo(e,!0,w2,A2,Ri)}function eo(e,t,n,s,l){if(!we(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const a=l.get(e);if(a)return a;const o=M2(e);if(o===0)return e;const i=new Proxy(e,o===2?s:n);return l.set(e,i),i}function $n(e){return Rn(e)?$n(e.__v_raw):!!(e&&e.__v_isReactive)}function Rn(e){return!!(e&&e.__v_isReadonly)}function fl(e){return!!(e&&e.__v_isShallow)}function Di(e){return $n(e)||Rn(e)}function oe(e){const t=e&&e.__v_raw;return t?oe(t):e}function Hi(e){return Object.isExtensible(e)&&cl(e,"__v_skip",!0),e}const ds=e=>we(e)?As(e):e,to=e=>we(e)?mn(e):e;class Bi{constructor(t,n,s,l){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Ya(()=>t(this._value),()=>ss(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!l,this.__v_isReadonly=s}get value(){const t=oe(this);return(!t._cacheable||t.effect.dirty)&&Xt(t._value,t._value=t.effect.run())&&ss(t,4),no(t),t.effect._dirtyLevel>=2&&ss(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function O2(e,t,n=!1){let s,l;const a=ne(e);return a?(s=e,l=rt):(s=e.get,l=e.set),new Bi(s,l,a||!l,n)}function no(e){var t;Yt&&pn&&(e=oe(e),Ti(pn,(t=e.dep)!=null?t:e.dep=Ai(()=>e.dep=void 0,e instanceof Bi?e:void 0)))}function ss(e,t=4,n){e=oe(e);const s=e.dep;s&&Li(s,t)}function Be(e){return!!(e&&e.__v_isRef===!0)}function G(e){return ji(e,!1)}function Ae(e){return ji(e,!0)}function ji(e,t){return Be(e)?e:new P2(e,t)}class P2{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:oe(t),this._value=n?t:ds(t)}get value(){return no(this),this._value}set value(t){const n=this.__v_isShallow||fl(t)||Rn(t);t=n?t:oe(t),Xt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:ds(t),ss(this,4))}}function Jt(e){return Be(e)?e.value:e}const R2={get:(e,t,n)=>Jt(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const l=e[t];return Be(l)&&!Be(n)?(l.value=n,!0):Reflect.set(e,t,n,s)}};function zi(e){return $n(e)?e:new Proxy(e,R2)}class N2{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:s}=t(()=>no(this),()=>ss(this));this._get=n,this._set=s}get value(){return this._get()}set value(t){this._set(t)}}function so(e){return new N2(e)}class D2{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,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 h2(oe(this._object),this._key)}}class H2{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Un(e,t,n){return Be(e)?e:ne(e)?new H2(e):we(e)&&arguments.length>1?B2(e,t,n):G(e)}function B2(e,t,n){const s=e[t];return Be(s)?s:new D2(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,s){try{return s?e(...s):e()}catch(l){$s(l,t,n)}}function ct(e,t,n,s){if(ne(e)){const a=Qt(e,t,n,s);return a&&yi(a)&&a.catch(o=>{$s(o,t,n)}),a}const l=[];for(let a=0;a<e.length;a++)l.push(ct(e[a],t,n,s));return l}function $s(e,t,n,s=!0){const l=t?t.vnode:null;if(t){let a=t.parent;const o=t.proxy,i=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const u=a.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](e,o,i)===!1)return}a=a.parent}const c=t.appContext.config.errorHandler;if(c){Qt(c,null,10,[e,o,i]);return}}j2(e,n,l,s)}function j2(e,t,n,s=!0){console.error(e)}let hs=!1,ga=!1;const ze=[];let Tt=0;const In=[];let Ut=null,cn=0;const Fi=Promise.resolve();let lo=null;function Rt(e){const t=lo||Fi;return e?t.then(this?e.bind(this):e):t}function z2(e){let t=Tt+1,n=ze.length;for(;t<n;){const s=t+n>>>1,l=ze[s],a=vs(l);a<e||a===e&&l.pre?t=s+1:n=s}return t}function _l(e){(!ze.length||!ze.includes(e,hs&&e.allowRecurse?Tt+1:Tt))&&(e.id==null?ze.push(e):ze.splice(z2(e.id),0,e),Vi())}function Vi(){!hs&&!ga&&(ga=!0,lo=Fi.then(Ui))}function F2(e){const t=ze.indexOf(e);t>Tt&&ze.splice(t,1)}function V2(e){X(e)?In.push(...e):(!Ut||!Ut.includes(e,e.allowRecurse?cn+1:cn))&&In.push(e),Vi()}function Xo(e,t,n=hs?Tt+1:0){for(;n<ze.length;n++){const s=ze[n];if(s&&s.pre){if(e&&s.id!==e.uid)continue;ze.splice(n,1),n--,s()}}}function pl(e){if(In.length){const t=[...new Set(In)].sort((n,s)=>vs(n)-vs(s));if(In.length=0,Ut){Ut.push(...t);return}for(Ut=t,cn=0;cn<Ut.length;cn++)Ut[cn]();Ut=null,cn=0}}const vs=e=>e.id==null?1/0:e.id,U2=(e,t)=>{const n=vs(e)-vs(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Ui(e){ga=!1,hs=!0,ze.sort(U2);try{for(Tt=0;Tt<ze.length;Tt++){const t=ze[Tt];t&&t.active!==!1&&Qt(t,null,14)}}finally{Tt=0,ze.length=0,pl(),hs=!1,lo=null,(ze.length||In.length)&&Ui()}}function q2(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||Ce;let l=n;const a=t.startsWith("update:"),o=a&&t.slice(7);if(o&&o in s){const f=`${o==="modelValue"?"model":o}Modifiers`,{number:p,trim:d}=s[f]||Ce;d&&(l=n.map(h=>Re(h)?h.trim():h)),p&&(l=n.map(n2))}let i,c=s[i=Dl(t)]||s[i=Dl(ht(t))];!c&&a&&(c=s[i=Dl(Vn(t))]),c&&ct(c,e,6,l);const u=s[i+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,ct(u,e,6,l)}}function qi(e,t,n=!1){const s=t.emitsCache,l=s.get(e);if(l!==void 0)return l;const a=e.emits;let o={},i=!1;if(!ne(e)){const c=u=>{const f=qi(u,t,!0);f&&(i=!0,Pe(o,f))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!a&&!i?(we(e)&&s.set(e,null),null):(X(a)?a.forEach(c=>o[c]=null):Pe(o,a),we(e)&&s.set(e,o),o)}function El(e,t){return!e||!Ts(t)?!1:(t=t.slice(2).replace(/Once$/,""),ce(e,t[0].toLowerCase()+t.slice(1))||ce(e,Vn(t))||ce(e,t))}let it=null,Cl=null;function dl(e){const t=it;return it=e,Cl=e&&e.type.__scopeId||null,t}function Gi(e){Cl=e}function Wi(){Cl=null}function G2(e,t=it,n){if(!t||e._n)return e;const s=(...l)=>{s._d&&ur(-1);const a=dl(t);let o;try{o=e(...l)}finally{dl(a),s._d&&ur(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function zl(e){const{type:t,vnode:n,proxy:s,withProxy:l,props:a,propsOptions:[o],slots:i,attrs:c,emit:u,render:f,renderCache:p,data:d,setupState:h,ctx:m,inheritAttrs:_}=e;let b,y;const C=dl(e);try{if(n.shapeFlag&4){const S=l||s,R=S;b=bt(f.call(R,S,p,a,h,d,m)),y=c}else{const S=t;b=bt(S.length>1?S(a,{attrs:c,slots:i,emit:u}):S(a,null)),y=t.props?c:W2(c)}}catch(S){is.length=0,$s(S,e,1),b=Ie(pt)}let w=b;if(y&&_!==!1){const S=Object.keys(y),{shapeFlag:R}=w;S.length&&R&7&&(o&&S.some(Ua)&&(y=K2(y,o)),w=Zt(w,y))}return n.dirs&&(w=Zt(w),w.dirs=w.dirs?w.dirs.concat(n.dirs):n.dirs),n.transition&&(w.transition=n.transition),b=w,dl(C),b}const W2=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ts(n))&&((t||(t={}))[n]=e[n]);return t},K2=(e,t)=>{const n={};for(const s in e)(!Ua(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Y2(e,t,n){const{props:s,children:l,component:a}=e,{props:o,children:i,patchFlag:c}=t,u=a.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?Zo(s,o,u):!!o;if(c&8){const f=t.dynamicProps;for(let p=0;p<f.length;p++){const d=f[p];if(o[d]!==s[d]&&!El(u,d))return!0}}}else return(l||i)&&(!i||!i.$stable)?!0:s===o?!1:s?o?Zo(s,o,u):!0:!!o;return!1}function Zo(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let l=0;l<s.length;l++){const a=s[l];if(t[a]!==e[a]&&!El(n,a))return!0}return!1}function J2({vnode:e,parent:t},n){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.el=e.el),s===e)(e=t.vnode).el=n,t=t.parent;else break}}const Ki="components";function ut(e,t){return X2(Ki,e,!0,t)||e}const Q2=Symbol.for("v-ndc");function X2(e,t,n=!0,s=!1){const l=it||He;if(l){const a=l.type;if(e===Ki){const i=G0(a,!1);if(i&&(i===t||i===ht(t)||i===Ls(ht(t))))return a}const o=er(l[e]||a[e],t)||er(l.appContext[e],t);return!o&&s?a:o}}function er(e,t){return e&&(e[t]||e[ht(t)]||e[Ls(ht(t))])}const Z2=e=>e.__isSuspense;function Yi(e,t){t&&t.pendingBranch?X(e)?t.effects.push(...e):t.effects.push(e):V2(e)}const e0=Symbol.for("v-scx"),t0=()=>ge(e0);function Ji(e,t){return ao(e,null,t)}const Js={};function le(e,t,n){return ao(e,t,n)}function ao(e,t,{immediate:n,deep:s,flush:l,once:a,onTrack:o,onTrigger:i}=Ce){if(t&&a){const x=t;t=(...N)=>{x(...N),R()}}const c=He,u=x=>s===!0?x:xn(x,s===!1?1:void 0);let f,p=!1,d=!1;if(Be(e)?(f=()=>e.value,p=fl(e)):$n(e)?(f=()=>u(e),p=!0):X(e)?(d=!0,p=e.some(x=>$n(x)||fl(x)),f=()=>e.map(x=>{if(Be(x))return x.value;if($n(x))return u(x);if(ne(x))return Qt(x,c,2)})):ne(e)?t?f=()=>Qt(e,c,2):f=()=>(h&&h(),ct(e,c,3,[m])):f=rt,t&&s){const x=f;f=()=>xn(x())}let h,m=x=>{h=w.onStop=()=>{Qt(x,c,4),h=w.onStop=void 0}},_;if(Os)if(m=rt,t?n&&ct(t,c,3,[f(),d?[]:void 0,m]):f(),l==="sync"){const x=t0();_=x.__watcherHandles||(x.__watcherHandles=[])}else return rt;let b=d?new Array(e.length).fill(Js):Js;const y=()=>{if(!(!w.active||!w.dirty))if(t){const x=w.run();(s||p||(d?x.some((N,M)=>Xt(N,b[M])):Xt(x,b)))&&(h&&h(),ct(t,c,3,[x,b===Js?void 0:d&&b[0]===Js?[]:b,m]),b=x)}else w.run()};y.allowRecurse=!!t;let C;l==="sync"?C=y:l==="post"?C=()=>Ge(y,c&&c.suspense):(y.pre=!0,c&&(y.id=c.uid),C=()=>_l(y));const w=new Ya(f,rt,C),S=Ci(),R=()=>{w.stop(),S&&qa(S.effects,w)};return t?n?y():b=w.run():l==="post"?Ge(w.run.bind(w),c&&c.suspense):w.run(),_&&_.push(R),R}function n0(e,t,n){const s=this.proxy,l=Re(e)?e.includes(".")?Qi(s,e):()=>s[e]:e.bind(s,s);let a;ne(t)?a=t:(a=t.handler,n=t);const o=Ms(this),i=ao(l,a.bind(s),n);return o(),i}function Qi(e,t){const n=t.split(".");return()=>{let s=e;for(let l=0;l<n.length&&s;l++)s=s[n[l]];return s}}function xn(e,t,n=0,s){if(!we(e)||e.__v_skip)return e;if(t&&t>0){if(n>=t)return e;n++}if(s=s||new Set,s.has(e))return e;if(s.add(e),Be(e))xn(e.value,t,n,s);else if(X(e))for(let l=0;l<e.length;l++)xn(e[l],t,n,s);else if(gi(e)||Ln(e))e.forEach(l=>{xn(l,t,n,s)});else if(wi(e))for(const l in e)xn(e[l],t,n,s);return e}function St(e,t,n,s){const l=e.dirs,a=t&&t.dirs;for(let o=0;o<l.length;o++){const i=l[o];a&&(i.oldValue=a[o].value);let c=i.dir[s];c&&(hn(),ct(c,n,8,[e.el,i,e,t]),vn())}}const qt=Symbol("_leaveCb"),Qs=Symbol("_enterCb");function Xi(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return pe(()=>{e.isMounted=!0}),lc(()=>{e.isUnmounting=!0}),e}const lt=[Function,Array],Zi={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:lt,onEnter:lt,onAfterEnter:lt,onEnterCancelled:lt,onBeforeLeave:lt,onLeave:lt,onAfterLeave:lt,onLeaveCancelled:lt,onBeforeAppear:lt,onAppear:lt,onAfterAppear:lt,onAppearCancelled:lt},s0={name:"BaseTransition",props:Zi,setup(e,{slots:t}){const n=qn(),s=Xi();return()=>{const l=t.default&&oo(t.default(),!0);if(!l||!l.length)return;let a=l[0];if(l.length>1){for(const d of l)if(d.type!==pt){a=d;break}}const o=oe(e),{mode:i}=o;if(s.isLeaving)return Fl(a);const c=tr(a);if(!c)return Fl(a);const u=ms(c,o,s,n);gs(c,u);const f=n.subTree,p=f&&tr(f);if(p&&p.type!==pt&&!un(c,p)){const d=ms(p,o,s,n);if(gs(p,d),i==="out-in")return s.isLeaving=!0,d.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Fl(a);i==="in-out"&&c.type!==pt&&(d.delayLeave=(h,m,_)=>{const b=ec(s,p);b[String(p.key)]=p,h[qt]=()=>{m(),h[qt]=void 0,delete u.delayedLeave},u.delayedLeave=_})}return a}}},l0=s0;function ec(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function ms(e,t,n,s){const{appear:l,mode:a,persisted:o=!1,onBeforeEnter:i,onEnter:c,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:p,onLeave:d,onAfterLeave:h,onLeaveCancelled:m,onBeforeAppear:_,onAppear:b,onAfterAppear:y,onAppearCancelled:C}=t,w=String(e.key),S=ec(n,e),R=(M,Y)=>{M&&ct(M,s,9,Y)},x=(M,Y)=>{const I=Y[1];R(M,Y),X(M)?M.every(U=>U.length<=1)&&I():M.length<=1&&I()},N={mode:a,persisted:o,beforeEnter(M){let Y=i;if(!n.isMounted)if(l)Y=_||i;else return;M[qt]&&M[qt](!0);const I=S[w];I&&un(e,I)&&I.el[qt]&&I.el[qt](),R(Y,[M])},enter(M){let Y=c,I=u,U=f;if(!n.isMounted)if(l)Y=b||c,I=y||u,U=C||f;else return;let O=!1;const Z=M[Qs]=Te=>{O||(O=!0,Te?R(U,[M]):R(I,[M]),N.delayedLeave&&N.delayedLeave(),M[Qs]=void 0)};Y?x(Y,[M,Z]):Z()},leave(M,Y){const I=String(e.key);if(M[Qs]&&M[Qs](!0),n.isUnmounting)return Y();R(p,[M]);let U=!1;const O=M[qt]=Z=>{U||(U=!0,Y(),Z?R(m,[M]):R(h,[M]),M[qt]=void 0,S[I]===e&&delete S[I])};S[I]=e,d?x(d,[M,O]):O()},clone(M){return ms(M,t,n,s)}};return N}function Fl(e){if(Is(e))return e=Zt(e),e.children=null,e}function tr(e){return Is(e)?e.children?e.children[0]:void 0:e}function gs(e,t){e.shapeFlag&6&&e.component?gs(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 oo(e,t=!1,n){let s=[],l=0;for(let a=0;a<e.length;a++){let o=e[a];const i=n==null?o.key:String(n)+String(o.key!=null?o.key:a);o.type===Ke?(o.patchFlag&128&&l++,s=s.concat(oo(o.children,t,i))):(t||o.type!==pt)&&s.push(i!=null?Zt(o,{key:i}):o)}if(l>1)for(let a=0;a<s.length;a++)s[a].patchFlag=-2;return s}/*! #__NO_SIDE_EFFECTS__ */function H(e,t){return ne(e)?Pe({name:e.name},t,{setup:e}):e}const ls=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function tc(e){ne(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:l=200,timeout:a,suspensible:o=!0,onError:i}=e;let c=null,u,f=0;const p=()=>(f++,c=null,d()),d=()=>{let h;return c||(h=c=t().catch(m=>{if(m=m instanceof Error?m:new Error(String(m)),i)return new Promise((_,b)=>{i(m,()=>_(p()),()=>b(m),f+1)});throw m}).then(m=>h!==c&&c?c:(m&&(m.__esModule||m[Symbol.toStringTag]==="Module")&&(m=m.default),u=m,m)))};return H({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return u},setup(){const h=He;if(u)return()=>Vl(u,h);const m=C=>{c=null,$s(C,h,13,!s)};if(o&&h.suspense||Os)return d().then(C=>()=>Vl(C,h)).catch(C=>(m(C),()=>s?Ie(s,{error:C}):null));const _=G(!1),b=G(),y=G(!!l);return l&&setTimeout(()=>{y.value=!1},l),a!=null&&setTimeout(()=>{if(!_.value&&!b.value){const C=new Error(`Async component timed out after ${a}ms.`);m(C),b.value=C}},a),d().then(()=>{_.value=!0,h.parent&&Is(h.parent.vnode)&&(h.parent.effect.dirty=!0,_l(h.parent.update))}).catch(C=>{m(C),b.value=C}),()=>{if(_.value&&u)return Vl(u,h);if(b.value&&s)return Ie(s,{error:b.value});if(n&&!y.value)return Ie(n)}}})}function Vl(e,t){const{ref:n,props:s,children:l,ce:a}=t.vnode,o=Ie(e,s,l);return o.ref=n,o.ce=a,delete t.vnode.ce,o}const Is=e=>e.type.__isKeepAlive;function a0(e,t){nc(e,"a",t)}function o0(e,t){nc(e,"da",t)}function nc(e,t,n=He){const s=e.__wdc||(e.__wdc=()=>{let l=n;for(;l;){if(l.isDeactivated)return;l=l.parent}return e()});if(xl(t,s,n),n){let l=n.parent;for(;l&&l.parent;)Is(l.parent.vnode)&&r0(s,t,n,l),l=l.parent}}function r0(e,t,n,s){const l=xl(t,e,s,!0);tn(()=>{qa(s[t],l)},n)}function xl(e,t,n=He,s=!1){if(n){const l=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;hn();const i=Ms(n),c=ct(t,n,e,o);return i(),vn(),c});return s?l.unshift(a):l.push(a),a}}const Nt=e=>(t,n=He)=>(!Os||e==="sp")&&xl(e,(...s)=>t(...s),n),i0=Nt("bm"),pe=Nt("m"),c0=Nt("bu"),sc=Nt("u"),lc=Nt("bum"),tn=Nt("um"),u0=Nt("sp"),f0=Nt("rtg"),p0=Nt("rtc");function d0(e,t=He){xl("ec",e,t)}function h0(e,t,n,s){let l;const a=n&&n[s];if(X(e)||Re(e)){l=new Array(e.length);for(let o=0,i=e.length;o<i;o++)l[o]=t(e[o],o,void 0,a&&a[o])}else if(typeof e=="number"){l=new Array(e);for(let o=0;o<e;o++)l[o]=t(o+1,o,void 0,a&&a[o])}else if(we(e))if(e[Symbol.iterator])l=Array.from(e,(o,i)=>t(o,i,void 0,a&&a[i]));else{const o=Object.keys(e);l=new Array(o.length);for(let i=0,c=o.length;i<c;i++){const u=o[i];l[i]=t(e[u],u,i,a&&a[i])}}else l=[];return n&&(n[s]=l),l}const ya=e=>e?wc(e)?uo(e)||e.proxy:ya(e.parent):null,as=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=>ya(e.parent),$root:e=>ya(e.root),$emit:e=>e.emit,$options:e=>ro(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,_l(e.update)}),$nextTick:e=>e.n||(e.n=Rt.bind(e.proxy)),$watch:e=>n0.bind(e)}),Ul=(e,t)=>e!==Ce&&!e.__isScriptSetup&&ce(e,t),v0={get({_:e},t){const{ctx:n,setupState:s,data:l,props:a,accessCache:o,type:i,appContext:c}=e;let u;if(t[0]!=="$"){const h=o[t];if(h!==void 0)switch(h){case 1:return s[t];case 2:return l[t];case 4:return n[t];case 3:return a[t]}else{if(Ul(s,t))return o[t]=1,s[t];if(l!==Ce&&ce(l,t))return o[t]=2,l[t];if((u=e.propsOptions[0])&&ce(u,t))return o[t]=3,a[t];if(n!==Ce&&ce(n,t))return o[t]=4,n[t];ba&&(o[t]=0)}}const f=as[t];let p,d;if(f)return t==="$attrs"&&Qe(e,"get",t),f(e);if((p=i.__cssModules)&&(p=p[t]))return p;if(n!==Ce&&ce(n,t))return o[t]=4,n[t];if(d=c.config.globalProperties,ce(d,t))return d[t]},set({_:e},t,n){const{data:s,setupState:l,ctx:a}=e;return Ul(l,t)?(l[t]=n,!0):s!==Ce&&ce(s,t)?(s[t]=n,!0):ce(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(a[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:l,propsOptions:a}},o){let i;return!!n[o]||e!==Ce&&ce(e,o)||Ul(t,o)||(i=a[0])&&ce(i,o)||ce(s,o)||ce(as,o)||ce(l.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ce(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function nr(e){return X(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let ba=!0;function m0(e){const t=ro(e),n=e.proxy,s=e.ctx;ba=!1,t.beforeCreate&&sr(t.beforeCreate,e,"bc");const{data:l,computed:a,methods:o,watch:i,provide:c,inject:u,created:f,beforeMount:p,mounted:d,beforeUpdate:h,updated:m,activated:_,deactivated:b,beforeDestroy:y,beforeUnmount:C,destroyed:w,unmounted:S,render:R,renderTracked:x,renderTriggered:N,errorCaptured:M,serverPrefetch:Y,expose:I,inheritAttrs:U,components:O,directives:Z,filters:Te}=t;if(u&&g0(u,s,null),o)for(const ee in o){const W=o[ee];ne(W)&&(s[ee]=W.bind(n))}if(l){const ee=l.call(n,n);we(ee)&&(e.data=As(ee))}if(ba=!0,a)for(const ee in a){const W=a[ee],Me=ne(W)?W.bind(n,n):ne(W.get)?W.get.bind(n,n):rt,Et=!ne(W)&&ne(W.set)?W.set.bind(n):rt,st=k({get:Me,set:Et});Object.defineProperty(s,ee,{enumerable:!0,configurable:!0,get:()=>st.value,set:Ne=>st.value=Ne})}if(i)for(const ee in i)ac(i[ee],s,n,ee);if(c){const ee=ne(c)?c.call(n):c;Reflect.ownKeys(ee).forEach(W=>{ft(W,ee[W])})}f&&sr(f,e,"c");function q(ee,W){X(W)?W.forEach(Me=>ee(Me.bind(n))):W&&ee(W.bind(n))}if(q(i0,p),q(pe,d),q(c0,h),q(sc,m),q(a0,_),q(o0,b),q(d0,M),q(p0,x),q(f0,N),q(lc,C),q(tn,S),q(u0,Y),X(I))if(I.length){const ee=e.exposed||(e.exposed={});I.forEach(W=>{Object.defineProperty(ee,W,{get:()=>n[W],set:Me=>n[W]=Me})})}else e.exposed||(e.exposed={});R&&e.render===rt&&(e.render=R),U!=null&&(e.inheritAttrs=U),O&&(e.components=O),Z&&(e.directives=Z)}function g0(e,t,n=rt){X(e)&&(e=wa(e));for(const s in e){const l=e[s];let a;we(l)?"default"in l?a=ge(l.from||s,l.default,!0):a=ge(l.from||s):a=ge(l),Be(a)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>a.value,set:o=>a.value=o}):t[s]=a}}function sr(e,t,n){ct(X(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function ac(e,t,n,s){const l=s.includes(".")?Qi(n,s):()=>n[s];if(Re(e)){const a=t[e];ne(a)&&le(l,a)}else if(ne(e))le(l,e.bind(n));else if(we(e))if(X(e))e.forEach(a=>ac(a,t,n,s));else{const a=ne(e.handler)?e.handler.bind(n):t[e.handler];ne(a)&&le(l,a,e)}}function ro(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:l,optionsCache:a,config:{optionMergeStrategies:o}}=e.appContext,i=a.get(t);let c;return i?c=i:!l.length&&!n&&!s?c=t:(c={},l.length&&l.forEach(u=>hl(c,u,o,!0)),hl(c,t,o)),we(t)&&a.set(t,c),c}function hl(e,t,n,s=!1){const{mixins:l,extends:a}=t;a&&hl(e,a,n,!0),l&&l.forEach(o=>hl(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const i=y0[o]||n&&n[o];e[o]=i?i(e[o],t[o]):t[o]}return e}const y0={data:lr,props:ar,emits:ar,methods:ts,computed:ts,beforeCreate:Ue,created:Ue,beforeMount:Ue,mounted:Ue,beforeUpdate:Ue,updated:Ue,beforeDestroy:Ue,beforeUnmount:Ue,destroyed:Ue,unmounted:Ue,activated:Ue,deactivated:Ue,errorCaptured:Ue,serverPrefetch:Ue,components:ts,directives:ts,watch:w0,provide:lr,inject:b0};function lr(e,t){return t?e?function(){return Pe(ne(e)?e.call(this,this):e,ne(t)?t.call(this,this):t)}:t:e}function b0(e,t){return ts(wa(e),wa(t))}function wa(e){if(X(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ue(e,t){return e?[...new Set([].concat(e,t))]:t}function ts(e,t){return e?Pe(Object.create(null),e,t):t}function ar(e,t){return e?X(e)&&X(t)?[...new Set([...e,...t])]:Pe(Object.create(null),nr(e),nr(t??{})):t}function w0(e,t){if(!e)return t;if(!t)return e;const n=Pe(Object.create(null),e);for(const s in t)n[s]=Ue(e[s],t[s]);return n}function oc(){return{app:null,config:{isNativeTag:Q1,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 k0=0;function _0(e,t){return function(s,l=null){ne(s)||(s=Pe({},s)),l!=null&&!we(l)&&(l=null);const a=oc(),o=new WeakSet;let i=!1;const c=a.app={_uid:k0++,_component:s,_props:l,_container:null,_context:a,_instance:null,version:K0,get config(){return a.config},set config(u){},use(u,...f){return o.has(u)||(u&&ne(u.install)?(o.add(u),u.install(c,...f)):ne(u)&&(o.add(u),u(c,...f))),c},mixin(u){return a.mixins.includes(u)||a.mixins.push(u),c},component(u,f){return f?(a.components[u]=f,c):a.components[u]},directive(u,f){return f?(a.directives[u]=f,c):a.directives[u]},mount(u,f,p){if(!i){const d=Ie(s,l);return d.appContext=a,p===!0?p="svg":p===!1&&(p=void 0),f&&t?t(d,u):e(d,u,p),i=!0,c._container=u,u.__vue_app__=c,uo(d.component)||d.component.proxy}},unmount(){i&&(e(null,c._container),delete c._container.__vue_app__)},provide(u,f){return a.provides[u]=f,c},runWithContext(u){const f=os;os=c;try{return u()}finally{os=f}}};return c}}let os=null;function ft(e,t){if(He){let n=He.provides;const s=He.parent&&He.parent.provides;s===n&&(n=He.provides=Object.create(s)),n[e]=t}}function ge(e,t,n=!1){const s=He||it;if(s||os){const l=s?s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:os._context.provides;if(l&&e in l)return l[e];if(arguments.length>1)return n&&ne(t)?t.call(s&&s.proxy):t}}function E0(e,t,n,s=!1){const l={},a={};cl(a,Sl,1),e.propsDefaults=Object.create(null),rc(e,t,l,a);for(const o in e.propsOptions[0])o in l||(l[o]=void 0);n?e.props=s?l:Ni(l):e.type.props?e.props=l:e.props=a,e.attrs=a}function C0(e,t,n,s){const{props:l,attrs:a,vnode:{patchFlag:o}}=e,i=oe(l),[c]=e.propsOptions;let u=!1;if((s||o>0)&&!(o&16)){if(o&8){const f=e.vnode.dynamicProps;for(let p=0;p<f.length;p++){let d=f[p];if(El(e.emitsOptions,d))continue;const h=t[d];if(c)if(ce(a,d))h!==a[d]&&(a[d]=h,u=!0);else{const m=ht(d);l[m]=ka(c,i,m,h,e,!1)}else h!==a[d]&&(a[d]=h,u=!0)}}}else{rc(e,t,l,a)&&(u=!0);let f;for(const p in i)(!t||!ce(t,p)&&((f=Vn(p))===p||!ce(t,f)))&&(c?n&&(n[p]!==void 0||n[f]!==void 0)&&(l[p]=ka(c,i,p,void 0,e,!0)):delete l[p]);if(a!==i)for(const p in a)(!t||!ce(t,p))&&(delete a[p],u=!0)}u&&Pt(e,"set","$attrs")}function rc(e,t,n,s){const[l,a]=e.propsOptions;let o=!1,i;if(t)for(let c in t){if(An(c))continue;const u=t[c];let f;l&&ce(l,f=ht(c))?!a||!a.includes(f)?n[f]=u:(i||(i={}))[f]=u:El(e.emitsOptions,c)||(!(c in s)||u!==s[c])&&(s[c]=u,o=!0)}if(a){const c=oe(n),u=i||Ce;for(let f=0;f<a.length;f++){const p=a[f];n[p]=ka(l,c,p,u[p],e,!ce(u,p))}}return o}function ka(e,t,n,s,l,a){const o=e[n];if(o!=null){const i=ce(o,"default");if(i&&s===void 0){const c=o.default;if(o.type!==Function&&!o.skipFactory&&ne(c)){const{propsDefaults:u}=l;if(n in u)s=u[n];else{const f=Ms(l);s=u[n]=c.call(null,t),f()}}else s=c}o[0]&&(a&&!i?s=!1:o[1]&&(s===""||s===Vn(n))&&(s=!0))}return s}function ic(e,t,n=!1){const s=t.propsCache,l=s.get(e);if(l)return l;const a=e.props,o={},i=[];let c=!1;if(!ne(e)){const f=p=>{c=!0;const[d,h]=ic(p,t,!0);Pe(o,d),h&&i.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!a&&!c)return we(e)&&s.set(e,Tn),Tn;if(X(a))for(let f=0;f<a.length;f++){const p=ht(a[f]);or(p)&&(o[p]=Ce)}else if(a)for(const f in a){const p=ht(f);if(or(p)){const d=a[f],h=o[p]=X(d)||ne(d)?{type:d}:Pe({},d);if(h){const m=cr(Boolean,h.type),_=cr(String,h.type);h[0]=m>-1,h[1]=_<0||m<_,(m>-1||ce(h,"default"))&&i.push(p)}}}const u=[o,i];return we(e)&&s.set(e,u),u}function or(e){return e[0]!=="$"&&!An(e)}function rr(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function ir(e,t){return rr(e)===rr(t)}function cr(e,t){return X(t)?t.findIndex(n=>ir(n,e)):ne(t)&&ir(t,e)?0:-1}const cc=e=>e[0]==="_"||e==="$stable",io=e=>X(e)?e.map(bt):[bt(e)],x0=(e,t,n)=>{if(t._n)return t;const s=G2((...l)=>io(t(...l)),n);return s._c=!1,s},uc=(e,t,n)=>{const s=e._ctx;for(const l in e){if(cc(l))continue;const a=e[l];if(ne(a))t[l]=x0(l,a,s);else if(a!=null){const o=io(a);t[l]=()=>o}}},fc=(e,t)=>{const n=io(t);e.slots.default=()=>n},S0=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=oe(t),cl(t,"_",n)):uc(t,e.slots={})}else e.slots={},t&&fc(e,t);cl(e.slots,Sl,1)},T0=(e,t,n)=>{const{vnode:s,slots:l}=e;let a=!0,o=Ce;if(s.shapeFlag&32){const i=t._;i?n&&i===1?a=!1:(Pe(l,t),!n&&i===1&&delete l._):(a=!t.$stable,uc(t,l)),o=t}else t&&(fc(e,t),o={default:1});if(a)for(const i in l)!cc(i)&&o[i]==null&&delete l[i]};function vl(e,t,n,s,l=!1){if(X(e)){e.forEach((d,h)=>vl(d,t&&(X(t)?t[h]:t),n,s,l));return}if(ls(s)&&!l)return;const a=s.shapeFlag&4?uo(s.component)||s.component.proxy:s.el,o=l?null:a,{i,r:c}=e,u=t&&t.r,f=i.refs===Ce?i.refs={}:i.refs,p=i.setupState;if(u!=null&&u!==c&&(Re(u)?(f[u]=null,ce(p,u)&&(p[u]=null)):Be(u)&&(u.value=null)),ne(c))Qt(c,i,12,[o,f]);else{const d=Re(c),h=Be(c);if(d||h){const m=()=>{if(e.f){const _=d?ce(p,c)?p[c]:f[c]:c.value;l?X(_)&&qa(_,a):X(_)?_.includes(a)||_.push(a):d?(f[c]=[a],ce(p,c)&&(p[c]=f[c])):(c.value=[a],e.k&&(f[e.k]=c.value))}else d?(f[c]=o,ce(p,c)&&(p[c]=o)):h&&(c.value=o,e.k&&(f[e.k]=o))};o?(m.id=-1,Ge(m,n)):m()}}}let Bt=!1;const L0=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",A0=e=>e.namespaceURI.includes("MathML"),Xs=e=>{if(L0(e))return"svg";if(A0(e))return"mathml"},Zs=e=>e.nodeType===8;function $0(e){const{mt:t,p:n,o:{patchProp:s,createText:l,nextSibling:a,parentNode:o,remove:i,insert:c,createComment:u}}=e,f=(w,S)=>{if(!S.hasChildNodes()){n(null,w,S),pl(),S._vnode=w;return}Bt=!1,p(S.firstChild,w,null,null,null),pl(),S._vnode=w,Bt&&console.error("Hydration completed but contains mismatches.")},p=(w,S,R,x,N,M=!1)=>{const Y=Zs(w)&&w.data==="[",I=()=>_(w,S,R,x,N,Y),{type:U,ref:O,shapeFlag:Z,patchFlag:Te}=S;let _e=w.nodeType;S.el=w,Te===-2&&(M=!1,S.dynamicChildren=null);let q=null;switch(U){case Nn:_e!==3?S.children===""?(c(S.el=l(""),o(w),w),q=w):q=I():(w.data!==S.children&&(Bt=!0,w.data=S.children),q=a(w));break;case pt:C(w)?(q=a(w),y(S.el=w.content.firstChild,w,R)):_e!==8||Y?q=I():q=a(w);break;case rs:if(Y&&(w=a(w),_e=w.nodeType),_e===1||_e===3){q=w;const ee=!S.children.length;for(let W=0;W<S.staticCount;W++)ee&&(S.children+=q.nodeType===1?q.outerHTML:q.data),W===S.staticCount-1&&(S.anchor=q),q=a(q);return Y?a(q):q}else I();break;case Ke:Y?q=m(w,S,R,x,N,M):q=I();break;default:if(Z&1)(_e!==1||S.type.toLowerCase()!==w.tagName.toLowerCase())&&!C(w)?q=I():q=d(w,S,R,x,N,M);else if(Z&6){S.slotScopeIds=N;const ee=o(w);if(Y?q=b(w):Zs(w)&&w.data==="teleport start"?q=b(w,w.data,"teleport end"):q=a(w),t(S,ee,null,R,x,Xs(ee),M),ls(S)){let W;Y?(W=Ie(Ke),W.anchor=q?q.previousSibling:ee.lastChild):W=w.nodeType===3?yc(""):Ie("div"),W.el=w,S.component.subTree=W}}else Z&64?_e!==8?q=I():q=S.type.hydrate(w,S,R,x,N,M,e,h):Z&128&&(q=S.type.hydrate(w,S,R,x,Xs(o(w)),N,M,e,p))}return O!=null&&vl(O,null,x,S),q},d=(w,S,R,x,N,M)=>{M=M||!!S.dynamicChildren;const{type:Y,props:I,patchFlag:U,shapeFlag:O,dirs:Z,transition:Te}=S,_e=Y==="input"||Y==="option";if(_e||U!==-1){Z&&St(S,null,R,"created");let q=!1;if(C(w)){q=pc(x,Te)&&R&&R.vnode.props&&R.vnode.props.appear;const W=w.content.firstChild;q&&Te.beforeEnter(W),y(W,w,R),S.el=w=W}if(O&16&&!(I&&(I.innerHTML||I.textContent))){let W=h(w.firstChild,S,w,R,x,N,M);for(;W;){Bt=!0;const Me=W;W=W.nextSibling,i(Me)}}else O&8&&w.textContent!==S.children&&(Bt=!0,w.textContent=S.children);if(I)if(_e||!M||U&48)for(const W in I)(_e&&(W.endsWith("value")||W==="indeterminate")||Ts(W)&&!An(W)||W[0]===".")&&s(w,W,null,I[W],void 0,void 0,R);else I.onClick&&s(w,"onClick",null,I.onClick,void 0,void 0,R);let ee;(ee=I&&I.onVnodeBeforeMount)&&at(ee,R,S),Z&&St(S,null,R,"beforeMount"),((ee=I&&I.onVnodeMounted)||Z||q)&&Yi(()=>{ee&&at(ee,R,S),q&&Te.enter(w),Z&&St(S,null,R,"mounted")},x)}return w.nextSibling},h=(w,S,R,x,N,M,Y)=>{Y=Y||!!S.dynamicChildren;const I=S.children,U=I.length;for(let O=0;O<U;O++){const Z=Y?I[O]:I[O]=bt(I[O]);if(w)w=p(w,Z,x,N,M,Y);else{if(Z.type===Nn&&!Z.children)continue;Bt=!0,n(null,Z,R,null,x,N,Xs(R),M)}}return w},m=(w,S,R,x,N,M)=>{const{slotScopeIds:Y}=S;Y&&(N=N?N.concat(Y):Y);const I=o(w),U=h(a(w),S,I,R,x,N,M);return U&&Zs(U)&&U.data==="]"?a(S.anchor=U):(Bt=!0,c(S.anchor=u("]"),I,U),U)},_=(w,S,R,x,N,M)=>{if(Bt=!0,S.el=null,M){const U=b(w);for(;;){const O=a(w);if(O&&O!==U)i(O);else break}}const Y=a(w),I=o(w);return i(w),n(null,S,I,Y,R,x,Xs(I),N),Y},b=(w,S="[",R="]")=>{let x=0;for(;w;)if(w=a(w),w&&Zs(w)&&(w.data===S&&x++,w.data===R)){if(x===0)return a(w);x--}return w},y=(w,S,R)=>{const x=S.parentNode;x&&x.replaceChild(w,S);let N=R;for(;N;)N.vnode.el===S&&(N.vnode.el=N.subTree.el=w),N=N.parent},C=w=>w.nodeType===1&&w.tagName.toLowerCase()==="template";return[f,p]}const Ge=Yi;function I0(e){return M0(e,$0)}function M0(e,t){const n=ki();n.__VUE__=!0;const{insert:s,remove:l,patchProp:a,createElement:o,createText:i,createComment:c,setText:u,setElementText:f,parentNode:p,nextSibling:d,setScopeId:h=rt,insertStaticContent:m}=e,_=(v,g,E,A=null,L=null,D=null,z=void 0,P=null,B=!!g.dynamicChildren)=>{if(v===g)return;v&&!un(v,g)&&(A=T(v),Ne(v,L,D,!0),v=null),g.patchFlag===-2&&(B=!1,g.dynamicChildren=null);const{type:$,ref:V,shapeFlag:Q}=g;switch($){case Nn:b(v,g,E,A);break;case pt:y(v,g,E,A);break;case rs:v==null&&C(g,E,A,z);break;case Ke:O(v,g,E,A,L,D,z,P,B);break;default:Q&1?R(v,g,E,A,L,D,z,P,B):Q&6?Z(v,g,E,A,L,D,z,P,B):(Q&64||Q&128)&&$.process(v,g,E,A,L,D,z,P,B,K)}V!=null&&L&&vl(V,v&&v.ref,D,g||v,!g)},b=(v,g,E,A)=>{if(v==null)s(g.el=i(g.children),E,A);else{const L=g.el=v.el;g.children!==v.children&&u(L,g.children)}},y=(v,g,E,A)=>{v==null?s(g.el=c(g.children||""),E,A):g.el=v.el},C=(v,g,E,A)=>{[v.el,v.anchor]=m(v.children,g,E,A,v.el,v.anchor)},w=({el:v,anchor:g},E,A)=>{let L;for(;v&&v!==g;)L=d(v),s(v,E,A),v=L;s(g,E,A)},S=({el:v,anchor:g})=>{let E;for(;v&&v!==g;)E=d(v),l(v),v=E;l(g)},R=(v,g,E,A,L,D,z,P,B)=>{g.type==="svg"?z="svg":g.type==="math"&&(z="mathml"),v==null?x(g,E,A,L,D,z,P,B):Y(v,g,L,D,z,P,B)},x=(v,g,E,A,L,D,z,P)=>{let B,$;const{props:V,shapeFlag:Q,transition:J,dirs:te}=v;if(B=v.el=o(v.type,D,V&&V.is,V),Q&8?f(B,v.children):Q&16&&M(v.children,B,null,A,L,ql(v,D),z,P),te&&St(v,null,A,"created"),N(B,v,v.scopeId,z,A),V){for(const me in V)me!=="value"&&!An(me)&&a(B,me,null,V[me],D,v.children,A,L,Oe);"value"in V&&a(B,"value",null,V.value,D),($=V.onVnodeBeforeMount)&&at($,A,v)}te&&St(v,null,A,"beforeMount");const se=pc(L,J);se&&J.beforeEnter(B),s(B,g,E),(($=V&&V.onVnodeMounted)||se||te)&&Ge(()=>{$&&at($,A,v),se&&J.enter(B),te&&St(v,null,A,"mounted")},L)},N=(v,g,E,A,L)=>{if(E&&h(v,E),A)for(let D=0;D<A.length;D++)h(v,A[D]);if(L){let D=L.subTree;if(g===D){const z=L.vnode;N(v,z,z.scopeId,z.slotScopeIds,L.parent)}}},M=(v,g,E,A,L,D,z,P,B=0)=>{for(let $=B;$<v.length;$++){const V=v[$]=P?Gt(v[$]):bt(v[$]);_(null,V,g,E,A,L,D,z,P)}},Y=(v,g,E,A,L,D,z)=>{const P=g.el=v.el;let{patchFlag:B,dynamicChildren:$,dirs:V}=g;B|=v.patchFlag&16;const Q=v.props||Ce,J=g.props||Ce;let te;if(E&&an(E,!1),(te=J.onVnodeBeforeUpdate)&&at(te,E,g,v),V&&St(g,v,E,"beforeUpdate"),E&&an(E,!0),$?I(v.dynamicChildren,$,P,E,A,ql(g,L),D):z||W(v,g,P,null,E,A,ql(g,L),D,!1),B>0){if(B&16)U(P,g,Q,J,E,A,L);else if(B&2&&Q.class!==J.class&&a(P,"class",null,J.class,L),B&4&&a(P,"style",Q.style,J.style,L),B&8){const se=g.dynamicProps;for(let me=0;me<se.length;me++){const Ee=se[me],De=Q[Ee],gt=J[Ee];(gt!==De||Ee==="value")&&a(P,Ee,De,gt,L,v.children,E,A,Oe)}}B&1&&v.children!==g.children&&f(P,g.children)}else!z&&$==null&&U(P,g,Q,J,E,A,L);((te=J.onVnodeUpdated)||V)&&Ge(()=>{te&&at(te,E,g,v),V&&St(g,v,E,"updated")},A)},I=(v,g,E,A,L,D,z)=>{for(let P=0;P<g.length;P++){const B=v[P],$=g[P],V=B.el&&(B.type===Ke||!un(B,$)||B.shapeFlag&70)?p(B.el):E;_(B,$,V,null,A,L,D,z,!0)}},U=(v,g,E,A,L,D,z)=>{if(E!==A){if(E!==Ce)for(const P in E)!An(P)&&!(P in A)&&a(v,P,E[P],null,z,g.children,L,D,Oe);for(const P in A){if(An(P))continue;const B=A[P],$=E[P];B!==$&&P!=="value"&&a(v,P,$,B,z,g.children,L,D,Oe)}"value"in A&&a(v,"value",E.value,A.value,z)}},O=(v,g,E,A,L,D,z,P,B)=>{const $=g.el=v?v.el:i(""),V=g.anchor=v?v.anchor:i("");let{patchFlag:Q,dynamicChildren:J,slotScopeIds:te}=g;te&&(P=P?P.concat(te):te),v==null?(s($,E,A),s(V,E,A),M(g.children||[],E,V,L,D,z,P,B)):Q>0&&Q&64&&J&&v.dynamicChildren?(I(v.dynamicChildren,J,E,L,D,z,P),(g.key!=null||L&&g===L.subTree)&&dc(v,g,!0)):W(v,g,E,V,L,D,z,P,B)},Z=(v,g,E,A,L,D,z,P,B)=>{g.slotScopeIds=P,v==null?g.shapeFlag&512?L.ctx.activate(g,E,A,z,B):Te(g,E,A,L,D,z,B):_e(v,g,B)},Te=(v,g,E,A,L,D,z)=>{const P=v.component=z0(v,A,L);if(Is(v)&&(P.ctx.renderer=K),F0(P),P.asyncDep){if(L&&L.registerDep(P,q),!v.el){const B=P.subTree=Ie(pt);y(null,B,g,E)}}else q(P,v,g,E,L,D,z)},_e=(v,g,E)=>{const A=g.component=v.component;if(Y2(v,g,E))if(A.asyncDep&&!A.asyncResolved){ee(A,g,E);return}else A.next=g,F2(A.update),A.effect.dirty=!0,A.update();else g.el=v.el,A.vnode=g},q=(v,g,E,A,L,D,z)=>{const P=()=>{if(v.isMounted){let{next:V,bu:Q,u:J,parent:te,vnode:se}=v;{const kn=hc(v);if(kn){V&&(V.el=se.el,ee(v,V,z)),kn.asyncDep.then(()=>{v.isUnmounted||P()});return}}let me=V,Ee;an(v,!1),V?(V.el=se.el,ee(v,V,z)):V=se,Q&&Hl(Q),(Ee=V.props&&V.props.onVnodeBeforeUpdate)&&at(Ee,te,V,se),an(v,!0);const De=zl(v),gt=v.subTree;v.subTree=De,_(gt,De,p(gt.el),T(gt),v,L,D),V.el=De.el,me===null&&J2(v,De.el),J&&Ge(J,L),(Ee=V.props&&V.props.onVnodeUpdated)&&Ge(()=>at(Ee,te,V,se),L)}else{let V;const{el:Q,props:J}=g,{bm:te,m:se,parent:me}=v,Ee=ls(g);if(an(v,!1),te&&Hl(te),!Ee&&(V=J&&J.onVnodeBeforeMount)&&at(V,me,g),an(v,!0),Q&&ye){const De=()=>{v.subTree=zl(v),ye(Q,v.subTree,v,L,null)};Ee?g.type.__asyncLoader().then(()=>!v.isUnmounted&&De()):De()}else{const De=v.subTree=zl(v);_(null,De,E,A,v,L,D),g.el=De.el}if(se&&Ge(se,L),!Ee&&(V=J&&J.onVnodeMounted)){const De=g;Ge(()=>at(V,me,De),L)}(g.shapeFlag&256||me&&ls(me.vnode)&&me.vnode.shapeFlag&256)&&v.a&&Ge(v.a,L),v.isMounted=!0,g=E=A=null}},B=v.effect=new Ya(P,rt,()=>_l($),v.scope),$=v.update=()=>{B.dirty&&B.run()};$.id=v.uid,an(v,!0),$()},ee=(v,g,E)=>{g.component=v;const A=v.vnode.props;v.vnode=g,v.next=null,C0(v,g.props,A,E),T0(v,g.children,E),hn(),Xo(v),vn()},W=(v,g,E,A,L,D,z,P,B=!1)=>{const $=v&&v.children,V=v?v.shapeFlag:0,Q=g.children,{patchFlag:J,shapeFlag:te}=g;if(J>0){if(J&128){Et($,Q,E,A,L,D,z,P,B);return}else if(J&256){Me($,Q,E,A,L,D,z,P,B);return}}te&8?(V&16&&Oe($,L,D),Q!==$&&f(E,Q)):V&16?te&16?Et($,Q,E,A,L,D,z,P,B):Oe($,L,D,!0):(V&8&&f(E,""),te&16&&M(Q,E,A,L,D,z,P,B))},Me=(v,g,E,A,L,D,z,P,B)=>{v=v||Tn,g=g||Tn;const $=v.length,V=g.length,Q=Math.min($,V);let J;for(J=0;J<Q;J++){const te=g[J]=B?Gt(g[J]):bt(g[J]);_(v[J],te,E,null,L,D,z,P,B)}$>V?Oe(v,L,D,!0,!1,Q):M(g,E,A,L,D,z,P,B,Q)},Et=(v,g,E,A,L,D,z,P,B)=>{let $=0;const V=g.length;let Q=v.length-1,J=V-1;for(;$<=Q&&$<=J;){const te=v[$],se=g[$]=B?Gt(g[$]):bt(g[$]);if(un(te,se))_(te,se,E,null,L,D,z,P,B);else break;$++}for(;$<=Q&&$<=J;){const te=v[Q],se=g[J]=B?Gt(g[J]):bt(g[J]);if(un(te,se))_(te,se,E,null,L,D,z,P,B);else break;Q--,J--}if($>Q){if($<=J){const te=J+1,se=te<V?g[te].el:A;for(;$<=J;)_(null,g[$]=B?Gt(g[$]):bt(g[$]),E,se,L,D,z,P,B),$++}}else if($>J)for(;$<=Q;)Ne(v[$],L,D,!0),$++;else{const te=$,se=$,me=new Map;for($=se;$<=J;$++){const et=g[$]=B?Gt(g[$]):bt(g[$]);et.key!=null&&me.set(et.key,$)}let Ee,De=0;const gt=J-se+1;let kn=!1,zo=0;const Qn=new Array(gt);for($=0;$<gt;$++)Qn[$]=0;for($=te;$<=Q;$++){const et=v[$];if(De>=gt){Ne(et,L,D,!0);continue}let xt;if(et.key!=null)xt=me.get(et.key);else for(Ee=se;Ee<=J;Ee++)if(Qn[Ee-se]===0&&un(et,g[Ee])){xt=Ee;break}xt===void 0?Ne(et,L,D,!0):(Qn[xt-se]=$+1,xt>=zo?zo=xt:kn=!0,_(et,g[xt],E,null,L,D,z,P,B),De++)}const Fo=kn?O0(Qn):Tn;for(Ee=Fo.length-1,$=gt-1;$>=0;$--){const et=se+$,xt=g[et],Vo=et+1<V?g[et+1].el:A;Qn[$]===0?_(null,xt,E,Vo,L,D,z,P,B):kn&&(Ee<0||$!==Fo[Ee]?st(xt,E,Vo,2):Ee--)}}},st=(v,g,E,A,L=null)=>{const{el:D,type:z,transition:P,children:B,shapeFlag:$}=v;if($&6){st(v.component.subTree,g,E,A);return}if($&128){v.suspense.move(g,E,A);return}if($&64){z.move(v,g,E,K);return}if(z===Ke){s(D,g,E);for(let Q=0;Q<B.length;Q++)st(B[Q],g,E,A);s(v.anchor,g,E);return}if(z===rs){w(v,g,E);return}if(A!==2&&$&1&&P)if(A===0)P.beforeEnter(D),s(D,g,E),Ge(()=>P.enter(D),L);else{const{leave:Q,delayLeave:J,afterLeave:te}=P,se=()=>s(D,g,E),me=()=>{Q(D,()=>{se(),te&&te()})};J?J(D,se,me):me()}else s(D,g,E)},Ne=(v,g,E,A=!1,L=!1)=>{const{type:D,props:z,ref:P,children:B,dynamicChildren:$,shapeFlag:V,patchFlag:Q,dirs:J}=v;if(P!=null&&vl(P,null,E,v,!0),V&256){g.ctx.deactivate(v);return}const te=V&1&&J,se=!ls(v);let me;if(se&&(me=z&&z.onVnodeBeforeUnmount)&&at(me,g,v),V&6)Ct(v.component,E,A);else{if(V&128){v.suspense.unmount(E,A);return}te&&St(v,null,g,"beforeUnmount"),V&64?v.type.remove(v,g,E,L,K,A):$&&(D!==Ke||Q>0&&Q&64)?Oe($,g,E,!1,!0):(D===Ke&&Q&384||!L&&V&16)&&Oe(B,g,E),A&&Ze(v)}(se&&(me=z&&z.onVnodeUnmounted)||te)&&Ge(()=>{me&&at(me,g,v),te&&St(v,null,g,"unmounted")},E)},Ze=v=>{const{type:g,el:E,anchor:A,transition:L}=v;if(g===Ke){$t(E,A);return}if(g===rs){S(v);return}const D=()=>{l(E),L&&!L.persisted&&L.afterLeave&&L.afterLeave()};if(v.shapeFlag&1&&L&&!L.persisted){const{leave:z,delayLeave:P}=L,B=()=>z(E,D);P?P(v.el,D,B):B()}else D()},$t=(v,g)=>{let E;for(;v!==g;)E=d(v),l(v),v=E;l(g)},Ct=(v,g,E)=>{const{bum:A,scope:L,update:D,subTree:z,um:P}=v;A&&Hl(A),L.stop(),D&&(D.active=!1,Ne(z,v,g,E)),P&&Ge(P,g),Ge(()=>{v.isUnmounted=!0},g),g&&g.pendingBranch&&!g.isUnmounted&&v.asyncDep&&!v.asyncResolved&&v.suspenseId===g.pendingId&&(g.deps--,g.deps===0&&g.resolve())},Oe=(v,g,E,A=!1,L=!1,D=0)=>{for(let z=D;z<v.length;z++)Ne(v[z],g,E,A,L)},T=v=>v.shapeFlag&6?T(v.component.subTree):v.shapeFlag&128?v.suspense.next():d(v.anchor||v.el);let F=!1;const j=(v,g,E)=>{v==null?g._vnode&&Ne(g._vnode,null,null,!0):_(g._vnode||null,v,g,null,null,null,E),F||(F=!0,Xo(),pl(),F=!1),g._vnode=v},K={p:_,um:Ne,m:st,r:Ze,mt:Te,mc:M,pc:W,pbc:I,n:T,o:e};let re,ye;return t&&([re,ye]=t(K)),{render:j,hydrate:re,createApp:_0(j,re)}}function ql({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 an({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function pc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function dc(e,t,n=!1){const s=e.children,l=t.children;if(X(s)&&X(l))for(let a=0;a<s.length;a++){const o=s[a];let i=l[a];i.shapeFlag&1&&!i.dynamicChildren&&((i.patchFlag<=0||i.patchFlag===32)&&(i=l[a]=Gt(l[a]),i.el=o.el),n||dc(o,i)),i.type===Nn&&(i.el=o.el)}}function O0(e){const t=e.slice(),n=[0];let s,l,a,o,i;const c=e.length;for(s=0;s<c;s++){const u=e[s];if(u!==0){if(l=n[n.length-1],e[l]<u){t[s]=l,n.push(s);continue}for(a=0,o=n.length-1;a<o;)i=a+o>>1,e[n[i]]<u?a=i+1:o=i;u<e[n[a]]&&(a>0&&(t[s]=n[a-1]),n[a]=s)}}for(a=n.length,o=n[a-1];a-- >0;)n[a]=o,o=t[o];return n}function hc(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:hc(t)}const P0=e=>e.__isTeleport,Ke=Symbol.for("v-fgt"),Nn=Symbol.for("v-txt"),pt=Symbol.for("v-cmt"),rs=Symbol.for("v-stc"),is=[];let wt=null;function cs(e=!1){is.push(wt=e?null:[])}function R0(){is.pop(),wt=is[is.length-1]||null}let ys=1;function ur(e){ys+=e}function vc(e){return e.dynamicChildren=ys>0?wt||Tn:null,R0(),ys>0&&wt&&wt.push(e),e}function _a(e,t,n,s,l,a){return vc(We(e,t,n,s,l,a,!0))}function mc(e,t,n,s,l){return vc(Ie(e,t,n,s,l,!0))}function Ea(e){return e?e.__v_isVNode===!0:!1}function un(e,t){return e.type===t.type&&e.key===t.key}const Sl="__vInternal",gc=({key:e})=>e??null,rl=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Re(e)||Be(e)||ne(e)?{i:it,r:e,k:t,f:!!n}:e:null);function We(e,t=null,n=null,s=0,l=null,a=e===Ke?0:1,o=!1,i=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&gc(t),ref:t&&rl(t),scopeId:Cl,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:a,patchFlag:s,dynamicProps:l,dynamicChildren:null,appContext:null,ctx:it};return i?(co(c,n),a&128&&e.normalize(c)):n&&(c.shapeFlag|=Re(n)?8:16),ys>0&&!o&&wt&&(c.patchFlag>0||a&6)&&c.patchFlag!==32&&wt.push(c),c}const Ie=N0;function N0(e,t=null,n=null,s=0,l=null,a=!1){if((!e||e===Q2)&&(e=pt),Ea(e)){const i=Zt(e,t,!0);return n&&co(i,n),ys>0&&!a&&wt&&(i.shapeFlag&6?wt[wt.indexOf(e)]=i:wt.push(i)),i.patchFlag|=-2,i}if(W0(e)&&(e=e.__vccOpts),t){t=D0(t);let{class:i,style:c}=t;i&&!Re(i)&&(t.class=Ka(i)),we(c)&&(Di(c)&&!X(c)&&(c=Pe({},c)),t.style=Wa(c))}const o=Re(e)?1:Z2(e)?128:P0(e)?64:we(e)?4:ne(e)?2:0;return We(e,t,n,s,l,o,a,!0)}function D0(e){return e?Di(e)||Sl in e?Pe({},e):e:null}function Zt(e,t,n=!1){const{props:s,ref:l,patchFlag:a,children:o}=e,i=t?H0(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:i,key:i&&gc(i),ref:t&&t.ref?n&&l?X(l)?l.concat(rl(t)):[l,rl(t)]:rl(t):l,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ke?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Zt(e.ssContent),ssFallback:e.ssFallback&&Zt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function yc(e=" ",t=0){return Ie(Nn,null,e,t)}function D8(e,t){const n=Ie(rs,null,e);return n.staticCount=t,n}function bc(e="",t=!1){return t?(cs(),mc(pt,null,e)):Ie(pt,null,e)}function bt(e){return e==null||typeof e=="boolean"?Ie(pt):X(e)?Ie(Ke,null,e.slice()):typeof e=="object"?Gt(e):Ie(Nn,null,String(e))}function Gt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Zt(e)}function co(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(X(t))n=16;else if(typeof t=="object")if(s&65){const l=t.default;l&&(l._c&&(l._d=!1),co(e,l()),l._c&&(l._d=!0));return}else{n=32;const l=t._;!l&&!(Sl in t)?t._ctx=it:l===3&&it&&(it.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ne(t)?(t={default:t,_ctx:it},n=32):(t=String(t),s&64?(n=16,t=[yc(t)]):n=8);e.children=t,e.shapeFlag|=n}function H0(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const l in s)if(l==="class")t.class!==s.class&&(t.class=Ka([t.class,s.class]));else if(l==="style")t.style=Wa([t.style,s.style]);else if(Ts(l)){const a=t[l],o=s[l];o&&a!==o&&!(X(a)&&a.includes(o))&&(t[l]=a?[].concat(a,o):o)}else l!==""&&(t[l]=s[l])}return t}function at(e,t,n,s=null){ct(e,t,7,[n,s])}const B0=oc();let j0=0;function z0(e,t,n){const s=e.type,l=(t?t.appContext:e.appContext)||B0,a={uid:j0++,vnode:e,type:s,parent:t,appContext:l,root:null,next:null,subTree:null,effect:null,update:null,scope:new u2(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(l.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ic(s,l),emitsOptions:qi(s,l),emit:null,emitted:null,propsDefaults:Ce,inheritAttrs:s.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 a.ctx={_:a},a.root=t?t.root:a,a.emit=q2.bind(null,a),e.ce&&e.ce(a),a}let He=null;const qn=()=>He||it;let ml,Ca;{const e=ki(),t=(n,s)=>{let l;return(l=e[n])||(l=e[n]=[]),l.push(s),a=>{l.length>1?l.forEach(o=>o(a)):l[0](a)}};ml=t("__VUE_INSTANCE_SETTERS__",n=>He=n),Ca=t("__VUE_SSR_SETTERS__",n=>Os=n)}const Ms=e=>{const t=He;return ml(e),e.scope.on(),()=>{e.scope.off(),ml(t)}},fr=()=>{He&&He.scope.off(),ml(null)};function wc(e){return e.vnode.shapeFlag&4}let Os=!1;function F0(e,t=!1){t&&Ca(t);const{props:n,children:s}=e.vnode,l=wc(e);E0(e,n,l,t),S0(e,s);const a=l?V0(e,t):void 0;return t&&Ca(!1),a}function V0(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Hi(new Proxy(e.ctx,v0));const{setup:s}=n;if(s){const l=e.setupContext=s.length>1?q0(e):null,a=Ms(e);hn();const o=Qt(s,e,0,[e.props,l]);if(vn(),a(),yi(o)){if(o.then(fr,fr),t)return o.then(i=>{pr(e,i,t)}).catch(i=>{$s(i,e,0)});e.asyncDep=o}else pr(e,o,t)}else kc(e,t)}function pr(e,t,n){ne(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:we(t)&&(e.setupState=zi(t)),kc(e,n)}let dr;function kc(e,t,n){const s=e.type;if(!e.render){if(!t&&dr&&!s.render){const l=s.template||ro(e).template;if(l){const{isCustomElement:a,compilerOptions:o}=e.appContext.config,{delimiters:i,compilerOptions:c}=s,u=Pe(Pe({isCustomElement:a,delimiters:i},o),c);s.render=dr(l,u)}}e.render=s.render||rt}{const l=Ms(e);hn();try{m0(e)}finally{vn(),l()}}}function U0(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Qe(e,"get","$attrs"),t[n]}}))}function q0(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return U0(e)},slots:e.slots,emit:e.emit,expose:t}}function uo(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(zi(Hi(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in as)return as[n](e)},has(t,n){return n in t||n in as}}))}function G0(e,t=!0){return ne(e)?e.displayName||e.name:e.name||t&&e.__name}function W0(e){return ne(e)&&"__vccOpts"in e}const k=(e,t)=>O2(e,t,Os);function r(e,t,n){const s=arguments.length;return s===2?we(t)&&!X(t)?Ea(t)?Ie(e,null,[t]):Ie(e,t):Ie(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Ea(n)&&(n=[n]),Ie(e,t,n))}const K0="3.4.21";/**
|
||
* @vue/runtime-dom v3.4.21
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/const Y0="http://www.w3.org/2000/svg",J0="http://www.w3.org/1998/Math/MathML",Wt=typeof document<"u"?document:null,hr=Wt&&Wt.createElement("template"),Q0={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const l=t==="svg"?Wt.createElementNS(Y0,e):t==="mathml"?Wt.createElementNS(J0,e):Wt.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&l.setAttribute("multiple",s.multiple),l},createText:e=>Wt.createTextNode(e),createComment:e=>Wt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Wt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,l,a){const o=n?n.previousSibling:t.lastChild;if(l&&(l===a||l.nextSibling))for(;t.insertBefore(l.cloneNode(!0),n),!(l===a||!(l=l.nextSibling)););else{hr.innerHTML=s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e;const i=hr.content;if(s==="svg"||s==="mathml"){const c=i.firstChild;for(;c.firstChild;)i.appendChild(c.firstChild);i.removeChild(c)}t.insertBefore(i,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},jt="transition",Xn="animation",Dn=Symbol("_vtc"),en=(e,{slots:t})=>r(l0,Ec(e),t);en.displayName="Transition";const _c={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},X0=en.props=Pe({},Zi,_c),on=(e,t=[])=>{X(e)?e.forEach(n=>n(...t)):e&&e(...t)},vr=e=>e?X(e)?e.some(t=>t.length>1):e.length>1:!1;function Ec(e){const t={};for(const O in e)O in _c||(t[O]=e[O]);if(e.css===!1)return t;const{name:n="v",type:s,duration:l,enterFromClass:a=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:i=`${n}-enter-to`,appearFromClass:c=a,appearActiveClass:u=o,appearToClass:f=i,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,m=Z0(l),_=m&&m[0],b=m&&m[1],{onBeforeEnter:y,onEnter:C,onEnterCancelled:w,onLeave:S,onLeaveCancelled:R,onBeforeAppear:x=y,onAppear:N=C,onAppearCancelled:M=w}=t,Y=(O,Z,Te)=>{Vt(O,Z?f:i),Vt(O,Z?u:o),Te&&Te()},I=(O,Z)=>{O._isLeaving=!1,Vt(O,p),Vt(O,h),Vt(O,d),Z&&Z()},U=O=>(Z,Te)=>{const _e=O?N:C,q=()=>Y(Z,O,Te);on(_e,[Z,q]),mr(()=>{Vt(Z,O?c:a),Mt(Z,O?f:i),vr(_e)||gr(Z,s,_,q)})};return Pe(t,{onBeforeEnter(O){on(y,[O]),Mt(O,a),Mt(O,o)},onBeforeAppear(O){on(x,[O]),Mt(O,c),Mt(O,u)},onEnter:U(!1),onAppear:U(!0),onLeave(O,Z){O._isLeaving=!0;const Te=()=>I(O,Z);Mt(O,p),xc(),Mt(O,d),mr(()=>{O._isLeaving&&(Vt(O,p),Mt(O,h),vr(S)||gr(O,s,b,Te))}),on(S,[O,Te])},onEnterCancelled(O){Y(O,!1),on(w,[O])},onAppearCancelled(O){Y(O,!0),on(M,[O])},onLeaveCancelled(O){I(O),on(R,[O])}})}function Z0(e){if(e==null)return null;if(we(e))return[Gl(e.enter),Gl(e.leave)];{const t=Gl(e);return[t,t]}}function Gl(e){return s2(e)}function Mt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Dn]||(e[Dn]=new Set)).add(t)}function Vt(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Dn];n&&(n.delete(t),n.size||(e[Dn]=void 0))}function mr(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let ef=0;function gr(e,t,n,s){const l=e._endId=++ef,a=()=>{l===e._endId&&s()};if(n)return setTimeout(a,n);const{type:o,timeout:i,propCount:c}=Cc(e,t);if(!o)return s();const u=o+"end";let f=0;const p=()=>{e.removeEventListener(u,d),a()},d=h=>{h.target===e&&++f>=c&&p()};setTimeout(()=>{f<c&&p()},i+1),e.addEventListener(u,d)}function Cc(e,t){const n=window.getComputedStyle(e),s=m=>(n[m]||"").split(", "),l=s(`${jt}Delay`),a=s(`${jt}Duration`),o=yr(l,a),i=s(`${Xn}Delay`),c=s(`${Xn}Duration`),u=yr(i,c);let f=null,p=0,d=0;t===jt?o>0&&(f=jt,p=o,d=a.length):t===Xn?u>0&&(f=Xn,p=u,d=c.length):(p=Math.max(o,u),f=p>0?o>u?jt:Xn:null,d=f?f===jt?a.length:c.length:0);const h=f===jt&&/\b(transform|all)(,|$)/.test(s(`${jt}Property`).toString());return{type:f,timeout:p,propCount:d,hasTransform:h}}function yr(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>br(n)+br(e[s])))}function br(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function xc(){return document.body.offsetHeight}function tf(e,t,n){const s=e[Dn];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const wr=Symbol("_vod"),nf=Symbol("_vsh"),sf=Symbol(""),lf=/(^|;)\s*display\s*:/;function af(e,t,n){const s=e.style,l=Re(n);let a=!1;if(n&&!l){if(t)if(Re(t))for(const o of t.split(";")){const i=o.slice(0,o.indexOf(":")).trim();n[i]==null&&il(s,i,"")}else for(const o in t)n[o]==null&&il(s,o,"");for(const o in n)o==="display"&&(a=!0),il(s,o,n[o])}else if(l){if(t!==n){const o=s[sf];o&&(n+=";"+o),s.cssText=n,a=lf.test(n)}}else t&&e.removeAttribute("style");wr in e&&(e[wr]=a?s.display:"",e[nf]&&(s.display="none"))}const kr=/\s*!important$/;function il(e,t,n){if(X(n))n.forEach(s=>il(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=of(e,t);kr.test(n)?e.setProperty(Vn(s),n.replace(kr,""),"important"):e[s]=n}}const _r=["Webkit","Moz","ms"],Wl={};function of(e,t){const n=Wl[t];if(n)return n;let s=ht(t);if(s!=="filter"&&s in e)return Wl[t]=s;s=Ls(s);for(let l=0;l<_r.length;l++){const a=_r[l]+s;if(a in e)return Wl[t]=a}return t}const Er="http://www.w3.org/1999/xlink";function rf(e,t,n,s,l){if(s&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Er,t.slice(6,t.length)):e.setAttributeNS(Er,t,n);else{const a=c2(t);n==null||a&&!_i(n)?e.removeAttribute(t):e.setAttribute(t,a?"":n)}}function cf(e,t,n,s,l,a,o){if(t==="innerHTML"||t==="textContent"){s&&o(s,l,a),e[t]=n??"";return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const u=i==="OPTION"?e.getAttribute("value")||"":e.value,f=n??"";(u!==f||!("_value"in e))&&(e.value=f),n==null&&e.removeAttribute(t),e._value=n;return}let c=!1;if(n===""||n==null){const u=typeof e[t];u==="boolean"?n=_i(n):n==null&&u==="string"?(n="",c=!0):u==="number"&&(n=0,c=!0)}try{e[t]=n}catch{}c&&e.removeAttribute(t)}function uf(e,t,n,s){e.addEventListener(t,n,s)}function ff(e,t,n,s){e.removeEventListener(t,n,s)}const Cr=Symbol("_vei");function pf(e,t,n,s,l=null){const a=e[Cr]||(e[Cr]={}),o=a[t];if(s&&o)o.value=s;else{const[i,c]=df(t);if(s){const u=a[t]=mf(s,l);uf(e,i,u,c)}else o&&(ff(e,i,o,c),a[t]=void 0)}}const xr=/(?:Once|Passive|Capture)$/;function df(e){let t;if(xr.test(e)){t={};let s;for(;s=e.match(xr);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Vn(e.slice(2)),t]}let Kl=0;const hf=Promise.resolve(),vf=()=>Kl||(hf.then(()=>Kl=0),Kl=Date.now());function mf(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;ct(gf(s,n.value),t,5,[s])};return n.value=e,n.attached=vf(),n}function gf(e,t){if(X(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>l=>!l._stopped&&s&&s(l))}else return t}const Sr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,yf=(e,t,n,s,l,a,o,i,c)=>{const u=l==="svg";t==="class"?tf(e,s,u):t==="style"?af(e,n,s):Ts(t)?Ua(t)||pf(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):bf(e,t,s,u))?cf(e,t,s,a,o,i,c):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),rf(e,t,s,u))};function bf(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Sr(t)&&ne(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const l=e.tagName;if(l==="IMG"||l==="VIDEO"||l==="CANVAS"||l==="SOURCE")return!1}return Sr(t)&&Re(n)?!1:t in e}const Sc=new WeakMap,Tc=new WeakMap,gl=Symbol("_moveCb"),Tr=Symbol("_enterCb"),Lc={name:"TransitionGroup",props:Pe({},X0,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=qn(),s=Xi();let l,a;return sc(()=>{if(!l.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!xf(l[0].el,n.vnode.el,o))return;l.forEach(_f),l.forEach(Ef);const i=l.filter(Cf);xc(),i.forEach(c=>{const u=c.el,f=u.style;Mt(u,o),f.transform=f.webkitTransform=f.transitionDuration="";const p=u[gl]=d=>{d&&d.target!==u||(!d||/transform$/.test(d.propertyName))&&(u.removeEventListener("transitionend",p),u[gl]=null,Vt(u,o))};u.addEventListener("transitionend",p)})}),()=>{const o=oe(e),i=Ec(o);let c=o.tag||Ke;l=a,a=t.default?oo(t.default()):[];for(let u=0;u<a.length;u++){const f=a[u];f.key!=null&&gs(f,ms(f,i,s,n))}if(l)for(let u=0;u<l.length;u++){const f=l[u];gs(f,ms(f,i,s,n)),Sc.set(f,f.el.getBoundingClientRect())}return Ie(c,null,a)}}},wf=e=>delete e.mode;Lc.props;const kf=Lc;function _f(e){const t=e.el;t[gl]&&t[gl](),t[Tr]&&t[Tr]()}function Ef(e){Tc.set(e,e.el.getBoundingClientRect())}function Cf(e){const t=Sc.get(e),n=Tc.get(e),s=t.left-n.left,l=t.top-n.top;if(s||l){const a=e.el.style;return a.transform=a.webkitTransform=`translate(${s}px,${l}px)`,a.transitionDuration="0s",e}}function xf(e,t,n){const s=e.cloneNode(),l=e[Dn];l&&l.forEach(i=>{i.split(/\s+/).forEach(c=>c&&s.classList.remove(c))}),n.split(/\s+/).forEach(i=>i&&s.classList.add(i)),s.style.display="none";const a=t.nodeType===1?t:t.parentNode;a.appendChild(s);const{hasTransform:o}=Cc(s);return a.removeChild(s),o}const Sf=Pe({patchProp:yf},Q0);let Yl,Lr=!1;function Tf(){return Yl=Lr?Yl:I0(Sf),Lr=!0,Yl}const Lf=(...e)=>{const t=Tf().createApp(...e),{mount:n}=t;return t.mount=s=>{const l=$f(s);if(l)return n(l,!0,Af(l))},t};function Af(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function $f(e){return Re(e)?document.querySelector(e):e}var If=["link","meta","script","style","noscript","template"],Mf=["title","base"],Of=([e,t,n])=>Mf.includes(e)?e:If.includes(e)?e==="meta"&&t.name?`${e}.${t.name}`:e==="template"&&t.id?`${e}.${t.id}`:JSON.stringify([e,Object.entries(t).map(([s,l])=>typeof l=="boolean"?l?[s,""]:null:[s,l]).filter(s=>s!=null).sort(([s],[l])=>s.localeCompare(l)),n]):null,Pf=e=>{const t=new Set,n=[];return e.forEach(s=>{const l=Of(s);l&&!t.has(l)&&(t.add(l),n.push(s))}),n},Rf=e=>e[0]==="/"?e:`/${e}`,Ac=e=>e[e.length-1]==="/"||e.endsWith(".html")?e:`${e}/`,nn=e=>/^(https?:)?\/\//.test(e),Nf=/.md((\?|#).*)?$/,Hn=(e,t="/")=>!!(nn(e)||e.startsWith("/")&&!e.startsWith(t)&&!Nf.test(e)),$c=e=>/^[a-z][a-z0-9+.-]*:/.test(e),Gn=e=>Object.prototype.toString.call(e)==="[object Object]",Df=e=>{const[t,...n]=e.split(/(\?|#)/);if(!t||t.endsWith("/"))return e;let s=t.replace(/(^|\/)README.md$/i,"$1index.html");return s.endsWith(".md")?s=s.substring(0,s.length-3)+".html":s.endsWith(".html")||(s=s+".html"),s.endsWith("/index.html")&&(s=s.substring(0,s.length-10)),s+n.join("")},fo=e=>e[e.length-1]==="/"?e.slice(0,-1):e,Ic=e=>e[0]==="/"?e.slice(1):e,Hf=(e,t)=>{const n=Object.keys(e).sort((s,l)=>{const a=l.split("/").length-s.split("/").length;return a!==0?a:l.length-s.length});for(const s of n)if(t.startsWith(s))return s;return"/"},Le=e=>typeof e=="string";const Bf="modulepreload",jf=function(e){return"/"+e},Ar={},be=function(t,n,s){let l=Promise.resolve();if(n&&n.length>0){const a=document.getElementsByTagName("link"),o=document.querySelector("meta[property=csp-nonce]"),i=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));l=Promise.all(n.map(c=>{if(c=jf(c),c in Ar)return;Ar[c]=!0;const u=c.endsWith(".css"),f=u?'[rel="stylesheet"]':"";if(!!s)for(let h=a.length-1;h>=0;h--){const m=a[h];if(m.href===c&&(!u||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${f}`))return;const d=document.createElement("link");if(d.rel=u?"stylesheet":Bf,u||(d.as="script",d.crossOrigin=""),d.href=c,i&&d.setAttribute("nonce",i),document.head.appendChild(d),u)return new Promise((h,m)=>{d.addEventListener("load",h),d.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${c}`)))})}))}return l.then(()=>t()).catch(a=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=a,window.dispatchEvent(o),!o.defaultPrevented)throw a})},zf=JSON.parse("{}"),Ff=Object.fromEntries([["/",{loader:()=>be(()=>import("./index.html-CH7AOyGY.js"),__vite__mapDeps([])),meta:{t:"首页",i:"home"}}],["/foolsday.html",{loader:()=>be(()=>import("./foolsday.html-D8dLyp91.js"),__vite__mapDeps([])),meta:{t:"首页",i:"home"}}],["/deployment/",{loader:()=>be(()=>import("./index.html-DxJ08LFe.js"),__vite__mapDeps([])),meta:{d:1711589926e3,c:"部署",r:{minutes:.05,words:15},t:"项目部署",i:"laptop-code",y:"a"}}],["/deployment/config.html",{loader:()=>be(()=>import("./config.html-Df6yTF71.js"),__vite__mapDeps([])),meta:{d:1711589926e3,c:"使用指南",g:["配置","部署"],e:`<h3>轻雪配置项(Nonebot插件配置项也可以写在此,与dotenv格式不同,应为小写)</h3>
|
||
<p>配置文件会在首次启动后生成,你可以在<code>config.yml</code>中修改配置项后重启轻雪,绝大多数情况下,你只需要修改<code>superusers</code>和<code>nickname</code>。如果不确定字段的含义,请不要修改(部分在自动生成配置文件中未列出,需手动添加)</p>
|
||
<div class="language-yaml" data-ext="yml" data-title="yml"><pre class="language-yaml"><code><span class="token comment"># 生成文件的配置项</span>
|
||
<span class="token key atrule">command_start</span><span class="token punctuation">:</span> <span class="token punctuation">[</span> <span class="token string">"/"</span><span class="token punctuation">,</span> <span class="token string">""</span> <span class="token punctuation">]</span> <span class="token comment"># 指令前缀,若没有""空命令头,请开启alconna_use_command_start保证alconna解析正常</span>
|
||
<span class="token key atrule">host</span><span class="token punctuation">:</span> 127.0.0.1 <span class="token comment"># 监听地址,默认为本机,若要对外开放请填写0.0.0.0或者你的公网IP</span>
|
||
<span class="token key atrule">port</span><span class="token punctuation">:</span> <span class="token number">20216</span> <span class="token comment"># 绑定端口</span>
|
||
<span class="token key atrule">nickname</span><span class="token punctuation">:</span> <span class="token punctuation">[</span> <span class="token string">"liteyuki"</span> <span class="token punctuation">]</span> <span class="token comment"># 机器人昵称</span>
|
||
<span class="token key atrule">superusers</span><span class="token punctuation">:</span> <span class="token punctuation">[</span> <span class="token string">"1919810"</span> <span class="token punctuation">]</span> <span class="token comment"># 超级用户</span>
|
||
|
||
<span class="token comment"># 未列出的配置项(如要自定义请手动修改)</span>
|
||
<span class="token key atrule">onebot_access_token</span><span class="token punctuation">:</span> <span class="token string">""</span> <span class="token comment"># 访问令牌,对公网开放时建议设置</span>
|
||
<span class="token key atrule">default_language</span><span class="token punctuation">:</span> <span class="token string">"zh-CN"</span> <span class="token comment"># 默认语言,支持i18n部分语言和自行扩展的语言代码</span>
|
||
<span class="token key atrule">log_level</span><span class="token punctuation">:</span> <span class="token string">"INFO"</span> <span class="token comment"># 日志等级</span>
|
||
<span class="token key atrule">log_icon</span><span class="token punctuation">:</span> <span class="token boolean important">true</span> <span class="token comment"># 是否显示日志等级图标(某些控制台字体不可用)</span>
|
||
<span class="token key atrule">auto_report</span><span class="token punctuation">:</span> <span class="token boolean important">true</span> <span class="token comment"># 是否自动上报问题给轻雪服务器,仅包含硬件信息和运行软件版本</span>
|
||
<span class="token key atrule">fake_device_info</span><span class="token punctuation">:</span> <span class="token comment"># 统计卡片显示的虚假设备信息,用于保护隐私</span>
|
||
<span class="token key atrule">cpu</span><span class="token punctuation">:</span>
|
||
<span class="token key atrule">brand</span><span class="token punctuation">:</span> AMD
|
||
<span class="token key atrule">cores</span><span class="token punctuation">:</span> <span class="token number">16</span> <span class="token comment"># 物理核心数</span>
|
||
<span class="token key atrule">logical_cores</span><span class="token punctuation">:</span> <span class="token number">32</span> <span class="token comment"># 逻辑核心数</span>
|
||
<span class="token key atrule">frequency</span><span class="token punctuation">:</span> <span class="token number">3600</span> <span class="token comment"># CPU主频:MHz</span>
|
||
<span class="token key atrule">mem</span><span class="token punctuation">:</span>
|
||
<span class="token key atrule">total</span><span class="token punctuation">:</span> <span class="token number">32768000000</span> <span class="token comment"># 内存总数:字节</span>
|
||
<span class="token key atrule">alconna_use_command_start</span><span class="token punctuation">:</span> <span class="token boolean important">false</span> <span class="token comment"># alconna是否使用默认指令前缀,默认false</span>
|
||
<span class="token key atrule">alconna_auto_completion</span><span class="token punctuation">:</span> <span class="token boolean important">false</span> <span class="token comment"># alconna是否自动补全指令,默认false,建议开启</span>
|
||
|
||
<span class="token comment"># 其他Nonebot插件的配置项</span>
|
||
<span class="token key atrule">custom_config_1</span><span class="token punctuation">:</span> <span class="token string">"custom_value1"</span>
|
||
<span class="token key atrule">custom_config_2</span><span class="token punctuation">:</span> <span class="token string">"custom_value2"</span>
|
||
<span class="token punctuation">...</span>
|
||
</code></pre></div>`,r:{minutes:2.12,words:636},t:"配置",i:"cog",O:2,y:"a"}}],["/deployment/fandq.html",{loader:()=>be(()=>import("./fandq.html-Caeij8BV.js"),__vite__mapDeps([])),meta:{d:1711695504e3,c:"使用指南",g:["配置","部署"],e:`<h3>常见问题</h3>
|
||
<ul>
|
||
<li>
|
||
<p>设备上Python环境太乱了,pip和python不对应怎么办?</p>
|
||
<ul>
|
||
<li>请使用<code>/path/to/python -m pip install -r requirements.txt</code>来安装依赖,
|
||
然后用<code>/path/to/python main.py</code>来启动Bot,
|
||
其中<code>/path/to/python</code>是你要用来运行Bot的可执行文件</li>
|
||
</ul>
|
||
</li>
|
||
<li>
|
||
<p>为什么我启动后机器人没有反应?</p>
|
||
<ul>
|
||
<li>请检查配置文件的<code>command_start</code>或<code>superusers</code>,确认你有权限使用命令并按照正确的命令发送</li>
|
||
<li>确认命令头没有和<code>nickname{}</code>冲突,例如一个命令是<code>help</code>,但是<code>Bot</code>昵称有一个<code>help</code>,那么将会被解析为nickname而不是命令</li>
|
||
</ul>
|
||
</li>
|
||
<li>
|
||
<p>更新轻雪失败,报错<code>InvalidGitRepositoryError</code></p>
|
||
<ul>
|
||
<li>请正确安装<code>Git</code>,并使用克隆而非直接下载的方式部署轻雪</li>
|
||
</ul>
|
||
</li>
|
||
<li>
|
||
<p>怎么登录聊天平台,例如QQ?</p>
|
||
<ul>
|
||
<li>你有这个问题说明你不是很了解这个项目,本项目不负责实现登录功能,只负责处理和回应消息,登录功能由实现端(协议端)提供,
|
||
实现端本身不负责处理响应逻辑,将消息按照OneBot标准处理好上报给轻雪
|
||
你需要使用Onebot标准的实现端来连接到轻雪并将消息上报给轻雪,下面已经列出一些推荐的实现端</li>
|
||
</ul>
|
||
</li>
|
||
<li>
|
||
<p><code>Playwright</code>安装失败</p>
|
||
<ul>
|
||
<li>输入<code>playwright install</code>安装浏览器</li>
|
||
</ul>
|
||
</li>
|
||
</ul>`,r:{minutes:2.01,words:604},t:"答疑",i:"question",O:3,y:"a"}}],["/deployment/install.html",{loader:()=>be(()=>import("./install.html-DtF_9RWI.js"),__vite__mapDeps([])),meta:{d:1711589926e3,c:"使用指南",g:["安装"],e:`<h3>设备要求</h3>
|
||
<ul>
|
||
<li>Windows系统版本最低<code>Windows10+</code>/<code>Windows Server 2019+</code></li>
|
||
<li>Linux系统要支持Python3.10+,推荐<code>Ubuntu 20.04+</code>/<code>CentOS 8+</code>(<s>别用你那b CentOS</s>)</li>
|
||
<li>CPU: 至少<code>1vCPU</code></li>
|
||
<li>内存: Bot无其他插件会占用<code>100MB</code>,其他插件占用视具体插件而定,建议<code>1GB</code>以上</li>
|
||
<li>硬盘: 至少<code>1GB</code>空间</li>
|
||
<li>GPU: 原生轻雪无需GPU,某些插件需要GPU支持,例如AI绘画之类的,具体查看插件文档</li>
|
||
</ul>`,r:{minutes:.8,words:240},t:"安装",i:"download",O:1,y:"a"}}],["/store/",{loader:()=>be(()=>import("./index.html-CwiM8Q9U.js"),__vite__mapDeps([])),meta:{d:1712364501e3,r:{minutes:0,words:1},t:"",y:"a"}}],["/usage/",{loader:()=>be(()=>import("./index.html-4vx31zqo.js"),__vite__mapDeps([])),meta:{d:1711589926e3,c:"使用手册",r:{minutes:.06,words:17},t:"使用手册",i:"laptop-code",y:"a"}}],["/usage/agreement.html",{loader:()=>be(()=>import("./agreement.html-DE3eOR57.js"),__vite__mapDeps([])),meta:{d:1711621856e3,c:"使用手册",e:`<ol>
|
||
<li>本项目遵循<code>MIT</code>协议,你可以自由使用,修改,分发,但是请保留原作者信息</li>
|
||
<li>你可以选择开启<code>auto_report</code>(默认开启),轻雪会收集以下内容
|
||
<ul>
|
||
<li>运行环境的设备信息:CPU,内存,系统信息,Python信息</li>
|
||
<li>插件信息(不含插件数据),</li>
|
||
<li>部分异常信息,</li>
|
||
<li>会话负载信息(不含隐私部分)
|
||
以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服务器,若你不希望提供这些信息,可以在配置文件中把<code>auto_report</code>设定为<code>false</code></li>
|
||
</ul>
|
||
</li>
|
||
<li>本项目不会收集用户的任何隐私信息,但请注意甄别第三方插件的安全性</li>
|
||
<li>使用此项目代表你已经同意以上协议</li>
|
||
</ol>`,r:{minutes:.75,words:226},t:"用户协议",i:"user-secret",O:3,y:"a"}}],["/usage/basic_command.html",{loader:()=>be(()=>import("./basic_command.html-DrjE-BdK.js"),__vite__mapDeps([])),meta:{d:1711598703e3,c:"使用手册",e:`<h2>基础插件命令</h2>
|
||
<h4>命令前有[S]的表示仅超级用户可用,[O]和[A]分别为群主和群管可用,[P]为私聊可用</h4>
|
||
<h3>轻雪<code>liteyuki</code></h3>
|
||
<div class="language-bash" data-ext="sh" data-title="sh"><pre class="language-bash"><code><span class="token punctuation">[</span>S<span class="token punctuation">]</span>reload-liteyuki <span class="token comment"># 重载轻雪</span>
|
||
<span class="token punctuation">[</span>S<span class="token punctuation">]</span>update-liteyuki <span class="token comment"># 更新轻雪</span>
|
||
<span class="token punctuation">[</span>S<span class="token punctuation">]</span>liteecho <span class="token comment"># 查看当前bot</span>
|
||
<span class="token punctuation">[</span>S<span class="token punctuation">]</span>config <span class="token builtin class-name">set</span> <span class="token operator"><</span>key<span class="token operator">></span> value <span class="token comment"># 添加配置项,若存在则会覆盖,输入值会被执行,以便于转换为正确的值,"10"和10是不一样的</span>
|
||
<span class="token punctuation">[</span>S<span class="token punctuation">]</span>config get <span class="token punctuation">[</span>key<span class="token punctuation">]</span> <span class="token comment"># 查询配置项,不带key返回配置项列表,推荐私聊使用</span>
|
||
<span class="token punctuation">[</span>S<span class="token punctuation">]</span>reload-resources <span class="token comment"># 重载资源</span>
|
||
<span class="token punctuation">[</span>S<span class="token punctuation">]</span>switch-image-mode <span class="token comment"># 切换图片模式,该功能需要commit:505468b及以后的Lagrange.OneBot,在普通图片和Markdown图片之间切换,后者更大但有失败的可能</span>
|
||
liteyuki-docs <span class="token comment"># 查看轻雪文档</span>
|
||
<span class="token comment"># 上述两个命令修改的配置项在数据库中保存,但是优先级低于配置文件,如果配置文件中存在相同的配置项,将会使用配置文件中的配置</span>
|
||
------
|
||
别名: reload-liteyuki 重启轻雪, update-liteyuki 更新轻雪, reload-resources 重载资源, config 配置, <span class="token builtin class-name">set</span> 设置, get 查询,
|
||
switch-image-mode 切换图片模式, liteyuki-docs 轻雪文档
|
||
</code></pre></div>`,r:{minutes:2.36,words:709},t:"基础命令",i:"comment",O:1,y:"a"}}],["/usage/extra_command.html",{loader:()=>be(()=>import("./extra_command.html-BT46CGd5.js"),__vite__mapDeps([])),meta:{d:1711598703e3,c:"使用手册",e:`<h2>功能插件命令</h2>
|
||
<h3>轻雪天气<code>liteyuki_weather</code></h3>
|
||
<p>配置项</p>
|
||
<div class="language-yaml" data-ext="yml" data-title="yml"><pre class="language-yaml"><code>weather<span class="token punctuation">-</span>key <span class="token comment"># 和风天气的天气key</span>
|
||
</code></pre></div><p>命令</p>
|
||
<div class="language-bash" data-ext="sh" data-title="sh"><pre class="language-bash"><code>weather <span class="token operator"><</span>keywords<span class="token punctuation">..</span>.<span class="token operator">></span> <span class="token comment"># 查询目标地天气,例如:"天气 北京 海淀", "weather Tokyo Shinjuku"</span>
|
||
bind-city <span class="token operator"><</span>keywords<span class="token punctuation">..</span>.<span class="token operator">></span> <span class="token comment"># 绑定查询城市,个人全局生效</span>
|
||
别名:weather 天气
|
||
</code></pre></div>`,r:{minutes:.27,words:82},t:"功能命令",i:"comment",O:2,y:"a"}}],["/usage/resource_pack.html",{loader:()=>be(()=>import("./resource_pack.html-C_EF1dNJ.js"),__vite__mapDeps([])),meta:{d:1712365801e3,c:"使用手册",e:`<h2>简介</h2>
|
||
<p>资源包,亦可根据用途称为主题包、字体包、语言包等,它允许你一定程度上自定义轻雪的外观,并且不用修改源代码</p>
|
||
<ul>
|
||
<li><a href="/store/" target="_blank">资源/主题商店</a>提供了一些资源包供你选择,你也可以自己制作资源包</li>
|
||
<li>资源包的制作很简单,如果你接触过<code>Minecraft</code>的资源包,那么你能够很快就上手,仅需按照原有路径进行文件替换即刻,讲起打包成一个新的资源包。</li>
|
||
<li>部分内容制作需要一点点前端基础,例如<code>html</code>,<code>css</code></li>
|
||
<li>轻雪原版资源包请查看<code>LiteyukiBot/liteyuki/resources</code>,可以在此基础上进行修改</li>
|
||
<li>欢迎各位投稿资源包到轻雪资源商店</li>
|
||
</ul>`,r:{minutes:1.63,words:490},t:"资源包",i:"paint-brush",O:3,y:"a"}}],["/404.html",{loader:()=>be(()=>import("./404.html-CxCCEmu5.js"),__vite__mapDeps([])),meta:{t:""}}],["/category/",{loader:()=>be(()=>import("./index.html-CAiGPGnU.js"),__vite__mapDeps([])),meta:{t:"分类",I:!1}}],["/category/%E9%83%A8%E7%BD%B2/",{loader:()=>be(()=>import("./index.html-i3aVRfTQ.js"),__vite__mapDeps([])),meta:{t:"部署 分类",I:!1}}],["/category/%E4%BD%BF%E7%94%A8%E6%8C%87%E5%8D%97/",{loader:()=>be(()=>import("./index.html-B87l5jY_.js"),__vite__mapDeps([])),meta:{t:"使用指南 分类",I:!1}}],["/category/%E4%BD%BF%E7%94%A8%E6%89%8B%E5%86%8C/",{loader:()=>be(()=>import("./index.html-DIxfxw5c.js"),__vite__mapDeps([])),meta:{t:"使用手册 分类",I:!1}}],["/tag/",{loader:()=>be(()=>import("./index.html-Csvv5Oih.js"),__vite__mapDeps([])),meta:{t:"标签",I:!1}}],["/tag/%E9%85%8D%E7%BD%AE/",{loader:()=>be(()=>import("./index.html-kYt4LmhS.js"),__vite__mapDeps([])),meta:{t:"标签: 配置",I:!1}}],["/tag/%E9%83%A8%E7%BD%B2/",{loader:()=>be(()=>import("./index.html-CUm4IC7N.js"),__vite__mapDeps([])),meta:{t:"标签: 部署",I:!1}}],["/tag/%E5%AE%89%E8%A3%85/",{loader:()=>be(()=>import("./index.html-Dqg2EZTQ.js"),__vite__mapDeps([])),meta:{t:"标签: 安装",I:!1}}],["/article/",{loader:()=>be(()=>import("./index.html-CDVWPtps.js"),__vite__mapDeps([])),meta:{t:"文章",I:!1}}],["/star/",{loader:()=>be(()=>import("./index.html-DOM4bun-.js"),__vite__mapDeps([])),meta:{t:"星标",I:!1}}],["/timeline/",{loader:()=>be(()=>import("./index.html-DfZBgyUU.js"),__vite__mapDeps([])),meta:{t:"时间轴",I:!1}}]]);/*!
|
||
* vue-router v4.3.0
|
||
* (c) 2024 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/const En=typeof document<"u";function Vf(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const de=Object.assign;function Jl(e,t){const n={};for(const s in t){const l=t[s];n[s]=kt(l)?l.map(e):e(l)}return n}const us=()=>{},kt=Array.isArray,Mc=/#/g,Uf=/&/g,qf=/\//g,Gf=/=/g,Wf=/\?/g,Oc=/\+/g,Kf=/%5B/g,Yf=/%5D/g,Pc=/%5E/g,Jf=/%60/g,Rc=/%7B/g,Qf=/%7C/g,Nc=/%7D/g,Xf=/%20/g;function po(e){return encodeURI(""+e).replace(Qf,"|").replace(Kf,"[").replace(Yf,"]")}function Zf(e){return po(e).replace(Rc,"{").replace(Nc,"}").replace(Pc,"^")}function xa(e){return po(e).replace(Oc,"%2B").replace(Xf,"+").replace(Mc,"%23").replace(Uf,"%26").replace(Jf,"`").replace(Rc,"{").replace(Nc,"}").replace(Pc,"^")}function ep(e){return xa(e).replace(Gf,"%3D")}function tp(e){return po(e).replace(Mc,"%23").replace(Wf,"%3F")}function np(e){return e==null?"":tp(e).replace(qf,"%2F")}function bs(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const sp=/\/$/,lp=e=>e.replace(sp,"");function Ql(e,t,n="/"){let s,l={},a="",o="";const i=t.indexOf("#");let c=t.indexOf("?");return i<c&&i>=0&&(c=-1),c>-1&&(s=t.slice(0,c),a=t.slice(c+1,i>-1?i:t.length),l=e(a)),i>-1&&(s=s||t.slice(0,i),o=t.slice(i,t.length)),s=ip(s??t,n),{fullPath:s+(a&&"?")+a+o,path:s,query:l,hash:bs(o)}}function ap(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function $r(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function op(e,t,n){const s=t.matched.length-1,l=n.matched.length-1;return s>-1&&s===l&&Bn(t.matched[s],n.matched[l])&&Dc(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 Dc(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!rp(e[n],t[n]))return!1;return!0}function rp(e,t){return kt(e)?Ir(e,t):kt(t)?Ir(t,e):e===t}function Ir(e,t){return kt(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function ip(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),l=s[s.length-1];(l===".."||l===".")&&s.push("");let a=n.length-1,o,i;for(o=0;o<s.length;o++)if(i=s[o],i!==".")if(i==="..")a>1&&a--;else break;return n.slice(0,a).join("/")+"/"+s.slice(o).join("/")}var ws;(function(e){e.pop="pop",e.push="push"})(ws||(ws={}));var fs;(function(e){e.back="back",e.forward="forward",e.unknown=""})(fs||(fs={}));function cp(e){if(!e)if(En){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),lp(e)}const up=/^[^#]+#/;function fp(e,t){return e.replace(up,"#")+t}function pp(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const Tl=()=>({left:window.scrollX,top:window.scrollY});function dp(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),l=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!l)return;t=pp(l,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 Mr(e,t){return(history.state?history.state.position-t:-1)+e}const Sa=new Map;function hp(e,t){Sa.set(e,t)}function vp(e){const t=Sa.get(e);return Sa.delete(e),t}let mp=()=>location.protocol+"//"+location.host;function Hc(e,t){const{pathname:n,search:s,hash:l}=t,a=e.indexOf("#");if(a>-1){let i=l.includes(e.slice(a))?e.slice(a).length:1,c=l.slice(i);return c[0]!=="/"&&(c="/"+c),$r(c,"")}return $r(n,e)+s+l}function gp(e,t,n,s){let l=[],a=[],o=null;const i=({state:d})=>{const h=Hc(e,location),m=n.value,_=t.value;let b=0;if(d){if(n.value=h,t.value=d,o&&o===m){o=null;return}b=_?d.position-_.position:0}else s(h);l.forEach(y=>{y(n.value,m,{delta:b,type:ws.pop,direction:b?b>0?fs.forward:fs.back:fs.unknown})})};function c(){o=n.value}function u(d){l.push(d);const h=()=>{const m=l.indexOf(d);m>-1&&l.splice(m,1)};return a.push(h),h}function f(){const{history:d}=window;d.state&&d.replaceState(de({},d.state,{scroll:Tl()}),"")}function p(){for(const d of a)d();a=[],window.removeEventListener("popstate",i),window.removeEventListener("beforeunload",f)}return window.addEventListener("popstate",i),window.addEventListener("beforeunload",f,{passive:!0}),{pauseListeners:c,listen:u,destroy:p}}function Or(e,t,n,s=!1,l=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:l?Tl():null}}function yp(e){const{history:t,location:n}=window,s={value:Hc(e,n)},l={value:t.state};l.value||a(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(c,u,f){const p=e.indexOf("#"),d=p>-1?(n.host&&document.querySelector("base")?e:e.slice(p))+c:mp()+e+c;try{t[f?"replaceState":"pushState"](u,"",d),l.value=u}catch(h){console.error(h),n[f?"replace":"assign"](d)}}function o(c,u){const f=de({},t.state,Or(l.value.back,c,l.value.forward,!0),u,{position:l.value.position});a(c,f,!0),s.value=c}function i(c,u){const f=de({},l.value,t.state,{forward:c,scroll:Tl()});a(f.current,f,!0);const p=de({},Or(s.value,c,null),{position:f.position+1},u);a(c,p,!1),s.value=c}return{location:s,state:l,push:i,replace:o}}function bp(e){e=cp(e);const t=yp(e),n=gp(e,t.state,t.location,t.replace);function s(a,o=!0){o||n.pauseListeners(),history.go(a)}const l=de({location:"",base:e,go:s,createHref:fp.bind(null,e)},t,n);return Object.defineProperty(l,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(l,"state",{enumerable:!0,get:()=>t.state.value}),l}function wp(e){return typeof e=="string"||e&&typeof e=="object"}function Bc(e){return typeof e=="string"||typeof e=="symbol"}const Ot={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},jc=Symbol("");var Pr;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Pr||(Pr={}));function jn(e,t){return de(new Error,{type:e,[jc]:!0},t)}function It(e,t){return e instanceof Error&&jc in e&&(t==null||!!(e.type&t))}const Rr="[^/]+?",kp={sensitive:!1,strict:!1,start:!0,end:!0},_p=/[.+*?^${}()[\]/\\]/g;function Ep(e,t){const n=de({},kp,t),s=[];let l=n.start?"^":"";const a=[];for(const u of e){const f=u.length?[]:[90];n.strict&&!u.length&&(l+="/");for(let p=0;p<u.length;p++){const d=u[p];let h=40+(n.sensitive?.25:0);if(d.type===0)p||(l+="/"),l+=d.value.replace(_p,"\\$&"),h+=40;else if(d.type===1){const{value:m,repeatable:_,optional:b,regexp:y}=d;a.push({name:m,repeatable:_,optional:b});const C=y||Rr;if(C!==Rr){h+=10;try{new RegExp(`(${C})`)}catch(S){throw new Error(`Invalid custom RegExp for param "${m}" (${C}): `+S.message)}}let w=_?`((?:${C})(?:/(?:${C}))*)`:`(${C})`;p||(w=b&&u.length<2?`(?:/${w})`:"/"+w),b&&(w+="?"),l+=w,h+=20,b&&(h+=-8),_&&(h+=-20),C===".*"&&(h+=-50)}f.push(h)}s.push(f)}if(n.strict&&n.end){const u=s.length-1;s[u][s[u].length-1]+=.7000000000000001}n.strict||(l+="/?"),n.end?l+="$":n.strict&&(l+="(?:/|$)");const o=new RegExp(l,n.sensitive?"":"i");function i(u){const f=u.match(o),p={};if(!f)return null;for(let d=1;d<f.length;d++){const h=f[d]||"",m=a[d-1];p[m.name]=h&&m.repeatable?h.split("/"):h}return p}function c(u){let f="",p=!1;for(const d of e){(!p||!f.endsWith("/"))&&(f+="/"),p=!1;for(const h of d)if(h.type===0)f+=h.value;else if(h.type===1){const{value:m,repeatable:_,optional:b}=h,y=m in u?u[m]:"";if(kt(y)&&!_)throw new Error(`Provided param "${m}" is an array but it is not repeatable (* or + modifiers)`);const C=kt(y)?y.join("/"):y;if(!C)if(b)d.length<2&&(f.endsWith("/")?f=f.slice(0,-1):p=!0);else throw new Error(`Missing required param "${m}"`);f+=C}}return f||"/"}return{re:o,score:s,keys:a,parse:i,stringify:c}}function Cp(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;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 xp(e,t){let n=0;const s=e.score,l=t.score;for(;n<s.length&&n<l.length;){const a=Cp(s[n],l[n]);if(a)return a;n++}if(Math.abs(l.length-s.length)===1){if(Nr(s))return 1;if(Nr(l))return-1}return l.length-s.length}function Nr(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Sp={type:0,value:""},Tp=/[a-zA-Z0-9_]/;function Lp(e){if(!e)return[[]];if(e==="/")return[[Sp]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${u}": ${h}`)}let n=0,s=n;const l=[];let a;function o(){a&&l.push(a),a=[]}let i=0,c,u="",f="";function p(){u&&(n===0?a.push({type:0,value:u}):n===1||n===2||n===3?(a.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:u,regexp:f,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),u="")}function d(){u+=c}for(;i<e.length;){if(c=e[i++],c==="\\"&&n!==2){s=n,n=4;continue}switch(n){case 0:c==="/"?(u&&p(),o()):c===":"?(p(),n=1):d();break;case 4:d(),n=s;break;case 1:c==="("?n=2:Tp.test(c)?d():(p(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&i--);break;case 2:c===")"?f[f.length-1]=="\\"?f=f.slice(0,-1)+c:n=3:f+=c;break;case 3:p(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&i--,f="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${u}"`),p(),o(),l}function Ap(e,t,n){const s=Ep(Lp(e.path),n),l=de(s,{record:e,parent:t,children:[],alias:[]});return t&&!l.record.aliasOf==!t.record.aliasOf&&t.children.push(l),l}function $p(e,t){const n=[],s=new Map;t=Br({strict:!1,end:!0,sensitive:!1},t);function l(f){return s.get(f)}function a(f,p,d){const h=!d,m=Ip(f);m.aliasOf=d&&d.record;const _=Br(t,f),b=[m];if("alias"in f){const w=typeof f.alias=="string"?[f.alias]:f.alias;for(const S of w)b.push(de({},m,{components:d?d.record.components:m.components,path:S,aliasOf:d?d.record:m}))}let y,C;for(const w of b){const{path:S}=w;if(p&&S[0]!=="/"){const R=p.record.path,x=R[R.length-1]==="/"?"":"/";w.path=p.record.path+(S&&x+S)}if(y=Ap(w,p,_),d?d.alias.push(y):(C=C||y,C!==y&&C.alias.push(y),h&&f.name&&!Hr(y)&&o(f.name)),m.children){const R=m.children;for(let x=0;x<R.length;x++)a(R[x],y,d&&d.children[x])}d=d||y,(y.record.components&&Object.keys(y.record.components).length||y.record.name||y.record.redirect)&&c(y)}return C?()=>{o(C)}:us}function o(f){if(Bc(f)){const p=s.get(f);p&&(s.delete(f),n.splice(n.indexOf(p),1),p.children.forEach(o),p.alias.forEach(o))}else{const p=n.indexOf(f);p>-1&&(n.splice(p,1),f.record.name&&s.delete(f.record.name),f.children.forEach(o),f.alias.forEach(o))}}function i(){return n}function c(f){let p=0;for(;p<n.length&&xp(f,n[p])>=0&&(f.record.path!==n[p].record.path||!zc(f,n[p]));)p++;n.splice(p,0,f),f.record.name&&!Hr(f)&&s.set(f.record.name,f)}function u(f,p){let d,h={},m,_;if("name"in f&&f.name){if(d=s.get(f.name),!d)throw jn(1,{location:f});_=d.record.name,h=de(Dr(p.params,d.keys.filter(C=>!C.optional).concat(d.parent?d.parent.keys.filter(C=>C.optional):[]).map(C=>C.name)),f.params&&Dr(f.params,d.keys.map(C=>C.name))),m=d.stringify(h)}else if(f.path!=null)m=f.path,d=n.find(C=>C.re.test(m)),d&&(h=d.parse(m),_=d.record.name);else{if(d=p.name?s.get(p.name):n.find(C=>C.re.test(p.path)),!d)throw jn(1,{location:f,currentLocation:p});_=d.record.name,h=de({},p.params,f.params),m=d.stringify(h)}const b=[];let y=d;for(;y;)b.unshift(y.record),y=y.parent;return{name:_,path:m,params:h,matched:b,meta:Op(b)}}return e.forEach(f=>a(f)),{addRoute:a,resolve:u,removeRoute:o,getRoutes:i,getRecordMatcher:l}}function Dr(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Ip(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Mp(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 Mp(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function Hr(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Op(e){return e.reduce((t,n)=>de(t,n.meta),{})}function Br(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function zc(e,t){return t.children.some(n=>n===e||zc(e,n))}function Pp(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let l=0;l<s.length;++l){const a=s[l].replace(Oc," "),o=a.indexOf("="),i=bs(o<0?a:a.slice(0,o)),c=o<0?null:bs(a.slice(o+1));if(i in t){let u=t[i];kt(u)||(u=t[i]=[u]),u.push(c)}else t[i]=c}return t}function jr(e){let t="";for(let n in e){const s=e[n];if(n=ep(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(kt(s)?s.map(a=>a&&xa(a)):[s&&xa(s)]).forEach(a=>{a!==void 0&&(t+=(t.length?"&":"")+n,a!=null&&(t+="="+a))})}return t}function Rp(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=kt(s)?s.map(l=>l==null?null:""+l):s==null?s:""+s)}return t}const Np=Symbol(""),zr=Symbol(""),Ll=Symbol(""),ho=Symbol(""),Ta=Symbol("");function Zn(){let e=[];function t(s){return e.push(s),()=>{const l=e.indexOf(s);l>-1&&e.splice(l,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Kt(e,t,n,s,l,a=o=>o()){const o=s&&(s.enterCallbacks[l]=s.enterCallbacks[l]||[]);return()=>new Promise((i,c)=>{const u=d=>{d===!1?c(jn(4,{from:n,to:t})):d instanceof Error?c(d):wp(d)?c(jn(2,{from:t,to:d})):(o&&s.enterCallbacks[l]===o&&typeof d=="function"&&o.push(d),i())},f=a(()=>e.call(s&&s.instances[l],t,n,u));let p=Promise.resolve(f);e.length<3&&(p=p.then(u)),p.catch(d=>c(d))})}function Xl(e,t,n,s,l=a=>a()){const a=[];for(const o of e)for(const i in o.components){let c=o.components[i];if(!(t!=="beforeRouteEnter"&&!o.instances[i]))if(Dp(c)){const f=(c.__vccOpts||c)[t];f&&a.push(Kt(f,n,s,o,i,l))}else{let u=c();a.push(()=>u.then(f=>{if(!f)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${o.path}"`));const p=Vf(f)?f.default:f;o.components[i]=p;const h=(p.__vccOpts||p)[t];return h&&Kt(h,n,s,o,i,l)()}))}}return a}function Dp(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Fr(e){const t=ge(Ll),n=ge(ho),s=k(()=>t.resolve(Jt(e.to))),l=k(()=>{const{matched:c}=s.value,{length:u}=c,f=c[u-1],p=n.matched;if(!f||!p.length)return-1;const d=p.findIndex(Bn.bind(null,f));if(d>-1)return d;const h=Vr(c[u-2]);return u>1&&Vr(f)===h&&p[p.length-1].path!==h?p.findIndex(Bn.bind(null,c[u-2])):d}),a=k(()=>l.value>-1&&zp(n.params,s.value.params)),o=k(()=>l.value>-1&&l.value===n.matched.length-1&&Dc(n.params,s.value.params));function i(c={}){return jp(c)?t[Jt(e.replace)?"replace":"push"](Jt(e.to)).catch(us):Promise.resolve()}return{route:s,href:k(()=>s.value.href),isActive:a,isExactActive:o,navigate:i}}const Hp=H({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:Fr,setup(e,{slots:t}){const n=As(Fr(e)),{options:s}=ge(Ll),l=k(()=>({[Ur(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Ur(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const a=t.default&&t.default(n);return e.custom?a:r("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:l.value},a)}}}),Bp=Hp;function jp(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function zp(e,t){for(const n in t){const s=t[n],l=e[n];if(typeof s=="string"){if(s!==l)return!1}else if(!kt(l)||l.length!==s.length||s.some((a,o)=>a!==l[o]))return!1}return!0}function Vr(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ur=(e,t,n)=>e??t??n,Fp=H({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=ge(Ta),l=k(()=>e.route||s.value),a=ge(zr,0),o=k(()=>{let u=Jt(a);const{matched:f}=l.value;let p;for(;(p=f[u])&&!p.components;)u++;return u}),i=k(()=>l.value.matched[o.value]);ft(zr,k(()=>o.value+1)),ft(Np,i),ft(Ta,l);const c=G();return le(()=>[c.value,i.value,e.name],([u,f,p],[d,h,m])=>{f&&(f.instances[p]=u,h&&h!==f&&u&&u===d&&(f.leaveGuards.size||(f.leaveGuards=h.leaveGuards),f.updateGuards.size||(f.updateGuards=h.updateGuards))),u&&f&&(!h||!Bn(f,h)||!d)&&(f.enterCallbacks[p]||[]).forEach(_=>_(u))},{flush:"post"}),()=>{const u=l.value,f=e.name,p=i.value,d=p&&p.components[f];if(!d)return qr(n.default,{Component:d,route:u});const h=p.props[f],m=h?h===!0?u.params:typeof h=="function"?h(u):h:null,b=r(d,de({},m,t,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(p.instances[f]=null)},ref:c}));return qr(n.default,{Component:b,route:u})||b}}});function qr(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Vp=Fp;function Up(e){const t=$p(e.routes,e),n=e.parseQuery||Pp,s=e.stringifyQuery||jr,l=e.history,a=Zn(),o=Zn(),i=Zn(),c=Ae(Ot);let u=Ot;En&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const f=Jl.bind(null,T=>""+T),p=Jl.bind(null,np),d=Jl.bind(null,bs);function h(T,F){let j,K;return Bc(T)?(j=t.getRecordMatcher(T),K=F):K=T,t.addRoute(K,j)}function m(T){const F=t.getRecordMatcher(T);F&&t.removeRoute(F)}function _(){return t.getRoutes().map(T=>T.record)}function b(T){return!!t.getRecordMatcher(T)}function y(T,F){if(F=de({},F||c.value),typeof T=="string"){const g=Ql(n,T,F.path),E=t.resolve({path:g.path},F),A=l.createHref(g.fullPath);return de(g,E,{params:d(E.params),hash:bs(g.hash),redirectedFrom:void 0,href:A})}let j;if(T.path!=null)j=de({},T,{path:Ql(n,T.path,F.path).path});else{const g=de({},T.params);for(const E in g)g[E]==null&&delete g[E];j=de({},T,{params:p(g)}),F.params=p(F.params)}const K=t.resolve(j,F),re=T.hash||"";K.params=f(d(K.params));const ye=ap(s,de({},T,{hash:Zf(re),path:K.path})),v=l.createHref(ye);return de({fullPath:ye,hash:re,query:s===jr?Rp(T.query):T.query||{}},K,{redirectedFrom:void 0,href:v})}function C(T){return typeof T=="string"?Ql(n,T,c.value.path):de({},T)}function w(T,F){if(u!==T)return jn(8,{from:F,to:T})}function S(T){return N(T)}function R(T){return S(de(C(T),{replace:!0}))}function x(T){const F=T.matched[T.matched.length-1];if(F&&F.redirect){const{redirect:j}=F;let K=typeof j=="function"?j(T):j;return typeof K=="string"&&(K=K.includes("?")||K.includes("#")?K=C(K):{path:K},K.params={}),de({query:T.query,hash:T.hash,params:K.path!=null?{}:T.params},K)}}function N(T,F){const j=u=y(T),K=c.value,re=T.state,ye=T.force,v=T.replace===!0,g=x(j);if(g)return N(de(C(g),{state:typeof g=="object"?de({},re,g.state):re,force:ye,replace:v}),F||j);const E=j;E.redirectedFrom=F;let A;return!ye&&op(s,K,j)&&(A=jn(16,{to:E,from:K}),st(K,K,!0,!1)),(A?Promise.resolve(A):I(E,K)).catch(L=>It(L)?It(L,2)?L:Et(L):W(L,E,K)).then(L=>{if(L){if(It(L,2))return N(de({replace:v},C(L.to),{state:typeof L.to=="object"?de({},re,L.to.state):re,force:ye}),F||E)}else L=O(E,K,!0,v,re);return U(E,K,L),L})}function M(T,F){const j=w(T,F);return j?Promise.reject(j):Promise.resolve()}function Y(T){const F=$t.values().next().value;return F&&typeof F.runWithContext=="function"?F.runWithContext(T):T()}function I(T,F){let j;const[K,re,ye]=qp(T,F);j=Xl(K.reverse(),"beforeRouteLeave",T,F);for(const g of K)g.leaveGuards.forEach(E=>{j.push(Kt(E,T,F))});const v=M.bind(null,T,F);return j.push(v),Oe(j).then(()=>{j=[];for(const g of a.list())j.push(Kt(g,T,F));return j.push(v),Oe(j)}).then(()=>{j=Xl(re,"beforeRouteUpdate",T,F);for(const g of re)g.updateGuards.forEach(E=>{j.push(Kt(E,T,F))});return j.push(v),Oe(j)}).then(()=>{j=[];for(const g of ye)if(g.beforeEnter)if(kt(g.beforeEnter))for(const E of g.beforeEnter)j.push(Kt(E,T,F));else j.push(Kt(g.beforeEnter,T,F));return j.push(v),Oe(j)}).then(()=>(T.matched.forEach(g=>g.enterCallbacks={}),j=Xl(ye,"beforeRouteEnter",T,F,Y),j.push(v),Oe(j))).then(()=>{j=[];for(const g of o.list())j.push(Kt(g,T,F));return j.push(v),Oe(j)}).catch(g=>It(g,8)?g:Promise.reject(g))}function U(T,F,j){i.list().forEach(K=>Y(()=>K(T,F,j)))}function O(T,F,j,K,re){const ye=w(T,F);if(ye)return ye;const v=F===Ot,g=En?history.state:{};j&&(K||v?l.replace(T.fullPath,de({scroll:v&&g&&g.scroll},re)):l.push(T.fullPath,re)),c.value=T,st(T,F,j,v),Et()}let Z;function Te(){Z||(Z=l.listen((T,F,j)=>{if(!Ct.listening)return;const K=y(T),re=x(K);if(re){N(de(re,{replace:!0}),K).catch(us);return}u=K;const ye=c.value;En&&hp(Mr(ye.fullPath,j.delta),Tl()),I(K,ye).catch(v=>It(v,12)?v:It(v,2)?(N(v.to,K).then(g=>{It(g,20)&&!j.delta&&j.type===ws.pop&&l.go(-1,!1)}).catch(us),Promise.reject()):(j.delta&&l.go(-j.delta,!1),W(v,K,ye))).then(v=>{v=v||O(K,ye,!1),v&&(j.delta&&!It(v,8)?l.go(-j.delta,!1):j.type===ws.pop&&It(v,20)&&l.go(-1,!1)),U(K,ye,v)}).catch(us)}))}let _e=Zn(),q=Zn(),ee;function W(T,F,j){Et(T);const K=q.list();return K.length?K.forEach(re=>re(T,F,j)):console.error(T),Promise.reject(T)}function Me(){return ee&&c.value!==Ot?Promise.resolve():new Promise((T,F)=>{_e.add([T,F])})}function Et(T){return ee||(ee=!T,Te(),_e.list().forEach(([F,j])=>T?j(T):F()),_e.reset()),T}function st(T,F,j,K){const{scrollBehavior:re}=e;if(!En||!re)return Promise.resolve();const ye=!j&&vp(Mr(T.fullPath,0))||(K||!j)&&history.state&&history.state.scroll||null;return Rt().then(()=>re(T,F,ye)).then(v=>v&&dp(v)).catch(v=>W(v,T,F))}const Ne=T=>l.go(T);let Ze;const $t=new Set,Ct={currentRoute:c,listening:!0,addRoute:h,removeRoute:m,hasRoute:b,getRoutes:_,resolve:y,options:e,push:S,replace:R,go:Ne,back:()=>Ne(-1),forward:()=>Ne(1),beforeEach:a.add,beforeResolve:o.add,afterEach:i.add,onError:q.add,isReady:Me,install(T){const F=this;T.component("RouterLink",Bp),T.component("RouterView",Vp),T.config.globalProperties.$router=F,Object.defineProperty(T.config.globalProperties,"$route",{enumerable:!0,get:()=>Jt(c)}),En&&!Ze&&c.value===Ot&&(Ze=!0,S(l.location).catch(re=>{}));const j={};for(const re in Ot)Object.defineProperty(j,re,{get:()=>c.value[re],enumerable:!0});T.provide(Ll,F),T.provide(ho,Ni(j)),T.provide(Ta,c);const K=T.unmount;$t.add(T),T.unmount=function(){$t.delete(T),$t.size<1&&(u=Ot,Z&&Z(),Z=null,c.value=Ot,Ze=!1,ee=!1),K()}}};function Oe(T){return T.reduce((F,j)=>F.then(()=>Y(j)),Promise.resolve())}return Ct}function qp(e,t){const n=[],s=[],l=[],a=Math.max(t.matched.length,e.matched.length);for(let o=0;o<a;o++){const i=t.matched[o];i&&(e.matched.find(u=>Bn(u,i))?s.push(i):n.push(i));const c=e.matched[o];c&&(t.matched.find(u=>Bn(u,c))||l.push(c))}return[n,s,l]}function gn(){return ge(Ll)}function sn(){return ge(ho)}var vo=Symbol(""),At=()=>{const e=ge(vo);if(!e)throw new Error("useClientData() is called without provider.");return e},Gp=()=>At().pageComponent,he=()=>At().pageData,ve=()=>At().pageFrontmatter,Wp=()=>At().pageHead,mo=()=>At().pageLang,Kp=()=>At().pageLayout,mt=()=>At().routeLocale,Yp=()=>At().routes,Fc=()=>At().siteData,Wn=()=>At().siteLocaleData,Jp=Symbol(""),La=Ae(zf),ks=Ae(Ff),Vc=e=>{const t=Df(e);if(ks.value[t])return t;const n=encodeURI(t);return ks.value[n]?n:La.value[t]||La.value[n]||t},Kn=e=>{const t=Vc(e),n=ks.value[t]??{...ks.value["/404.html"],notFound:!0};return{path:t,notFound:!1,...n}},Al=H({name:"ClientOnly",setup(e,t){const n=G(!1);return pe(()=>{n.value=!0}),()=>{var s,l;return n.value?(l=(s=t.slots).default)==null?void 0:l.call(s):null}}}),Uc=H({name:"Content",props:{path:{type:String,required:!1,default:""}},setup(e){const t=Gp(),n=k(()=>{if(!e.path)return t.value;const s=Kn(e.path);return tc(()=>s.loader().then(({comp:l})=>l))});return()=>r(n.value)}}),Xe=(e={})=>e,xe=e=>nn(e)?e:`/${Ic(e)}`,Qp=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}},$e=({active:e=!1,activeClass:t="route-link-active",to:n,...s},{slots:l})=>{var c;const a=gn(),o=Vc(n),i=o.startsWith("#")||o.startsWith("?")?o:xe(o);return r("a",{...s,class:["route-link",{[t]:e}],href:i,onClick:(u={})=>{Qp(u)?a.push(n).catch():Promise.resolve()}},(c=l.default)==null?void 0:c.call(l))};$e.displayName="RouteLink";$e.props={active:Boolean,activeClass:String,to:String};var Xp="Layout",Zp="en-US",rn=As({resolveLayouts:e=>e.reduce((t,n)=>({...t,...n.layouts}),{}),resolvePageHead:(e,t,n)=>{const s=Le(t.description)?t.description:n.description,l=[...Array.isArray(t.head)?t.head:[],...n.head,["title",{},e],["meta",{name:"description",content:s}]];return Pf(l)},resolvePageHeadTitle:(e,t)=>[e.title,t.title].filter(n=>!!n).join(" | "),resolvePageLang:(e,t)=>e.lang||t.lang||Zp,resolvePageLayout:(e,t)=>{const n=Le(e.frontmatter.layout)?e.frontmatter.layout:Xp;if(!t[n])throw new Error(`[vuepress] Cannot resolve layout: ${n}`);return t[n]},resolveRouteLocale:(e,t)=>Hf(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 ed={},Ps=e=>{const t=mt();return k(()=>e[t.value]??{})};var qe=Uint8Array,Sn=Uint16Array,td=Int32Array,qc=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]),Gc=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]),nd=new qe([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Wc=function(e,t){for(var n=new Sn(31),s=0;s<31;++s)n[s]=t+=1<<e[s-1];for(var l=new td(n[30]),s=1;s<30;++s)for(var a=n[s];a<n[s+1];++a)l[a]=a-n[s]<<5|s;return{b:n,r:l}},Kc=Wc(qc,2),Yc=Kc.b,sd=Kc.r;Yc[28]=258,sd[258]=28;var ld=Wc(Gc,0),ad=ld.b,Aa=new Sn(32768);for(var ke=0;ke<32768;++ke){var zt=(ke&43690)>>1|(ke&21845)<<1;zt=(zt&52428)>>2|(zt&13107)<<2,zt=(zt&61680)>>4|(zt&3855)<<4,Aa[ke]=((zt&65280)>>8|(zt&255)<<8)>>1}var ps=function(e,t,n){for(var s=e.length,l=0,a=new Sn(t);l<s;++l)e[l]&&++a[e[l]-1];var o=new Sn(t);for(l=1;l<t;++l)o[l]=o[l-1]+a[l-1]<<1;var i;if(n){i=new Sn(1<<t);var c=15-t;for(l=0;l<s;++l)if(e[l])for(var u=l<<4|e[l],f=t-e[l],p=o[e[l]-1]++<<f,d=p|(1<<f)-1;p<=d;++p)i[Aa[p]>>c]=u}else for(i=new Sn(s),l=0;l<s;++l)e[l]&&(i[l]=Aa[o[e[l]-1]++]>>15-e[l]);return i},Rs=new qe(288);for(var ke=0;ke<144;++ke)Rs[ke]=8;for(var ke=144;ke<256;++ke)Rs[ke]=9;for(var ke=256;ke<280;++ke)Rs[ke]=7;for(var ke=280;ke<288;++ke)Rs[ke]=8;var Jc=new qe(32);for(var ke=0;ke<32;++ke)Jc[ke]=5;var od=ps(Rs,9,1),rd=ps(Jc,5,1),Zl=function(e){for(var t=e[0],n=1;n<e.length;++n)e[n]>t&&(t=e[n]);return t},yt=function(e,t,n){var s=t/8|0;return(e[s]|e[s+1]<<8)>>(t&7)&n},ea=function(e,t){var n=t/8|0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>(t&7)},id=function(e){return(e+7)/8|0},go=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))},cd=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],ot=function(e,t,n){var s=new Error(t||cd[e]);if(s.code=e,Error.captureStackTrace&&Error.captureStackTrace(s,ot),!n)throw s;return s},ud=function(e,t,n,s){var l=e.length,a=s?s.length:0;if(!l||t.f&&!t.l)return n||new qe(0);var o=!n,i=o||t.i!=2,c=t.i;o&&(n=new qe(l*3));var u=function(re){var ye=n.length;if(re>ye){var v=new qe(Math.max(ye*2,re));v.set(n),n=v}},f=t.f||0,p=t.p||0,d=t.b||0,h=t.l,m=t.d,_=t.m,b=t.n,y=l*8;do{if(!h){f=yt(e,p,1);var C=yt(e,p+1,3);if(p+=3,C)if(C==1)h=od,m=rd,_=9,b=5;else if(C==2){var x=yt(e,p,31)+257,N=yt(e,p+10,15)+4,M=x+yt(e,p+5,31)+1;p+=14;for(var Y=new qe(M),I=new qe(19),U=0;U<N;++U)I[nd[U]]=yt(e,p+U*3,7);p+=N*3;for(var O=Zl(I),Z=(1<<O)-1,Te=ps(I,O,1),U=0;U<M;){var _e=Te[yt(e,p,Z)];p+=_e&15;var w=_e>>4;if(w<16)Y[U++]=w;else{var q=0,ee=0;for(w==16?(ee=3+yt(e,p,3),p+=2,q=Y[U-1]):w==17?(ee=3+yt(e,p,7),p+=3):w==18&&(ee=11+yt(e,p,127),p+=7);ee--;)Y[U++]=q}}var W=Y.subarray(0,x),Me=Y.subarray(x);_=Zl(W),b=Zl(Me),h=ps(W,_,1),m=ps(Me,b,1)}else ot(1);else{var w=id(p)+4,S=e[w-4]|e[w-3]<<8,R=w+S;if(R>l){c&&ot(0);break}i&&u(d+S),n.set(e.subarray(w,R),d),t.b=d+=S,t.p=p=R*8,t.f=f;continue}if(p>y){c&&ot(0);break}}i&&u(d+131072);for(var Et=(1<<_)-1,st=(1<<b)-1,Ne=p;;Ne=p){var q=h[ea(e,p)&Et],Ze=q>>4;if(p+=q&15,p>y){c&&ot(0);break}if(q||ot(2),Ze<256)n[d++]=Ze;else if(Ze==256){Ne=p,h=null;break}else{var $t=Ze-254;if(Ze>264){var U=Ze-257,Ct=qc[U];$t=yt(e,p,(1<<Ct)-1)+Yc[U],p+=Ct}var Oe=m[ea(e,p)&st],T=Oe>>4;Oe||ot(3),p+=Oe&15;var Me=ad[T];if(T>3){var Ct=Gc[T];Me+=ea(e,p)&(1<<Ct)-1,p+=Ct}if(p>y){c&&ot(0);break}i&&u(d+131072);var F=d+$t;if(d<Me){var j=a-Me,K=Math.min(Me,F);for(j+d<0&&ot(3);d<K;++d)n[d]=s[j+d]}for(;d<F;++d)n[d]=n[d-Me]}}t.l=h,t.p=Ne,t.b=d,t.f=f,h&&(f=1,t.m=_,t.d=m,t.n=b)}while(!f);return d!=n.length&&o?go(n,0,d):n.subarray(0,d)},fd=new qe(0),pd=function(e,t){return((e[0]&15)!=8||e[0]>>4>7||(e[0]<<8|e[1])%31)&&ot(6,"invalid zlib data"),(e[1]>>5&1)==+!t&&ot(6,"invalid zlib data: "+(e[1]&32?"need":"unexpected")+" dictionary"),(e[1]>>3&4)+2};function dd(e,t){return ud(e.subarray(pd(e,t&&t.dictionary),-4),{i:2},t&&t.out,t&&t.dictionary)}var Gr=typeof TextEncoder<"u"&&new TextEncoder,$a=typeof TextDecoder<"u"&&new TextDecoder,hd=0;try{$a.decode(fd,{stream:!0}),hd=1}catch{}var vd=function(e){for(var t="",n=0;;){var s=e[n++],l=(s>127)+(s>223)+(s>239);if(n+l>e.length)return{s:t,r:go(e,n-1)};l?l==3?(s=((s&15)<<18|(e[n++]&63)<<12|(e[n++]&63)<<6|e[n++]&63)-65536,t+=String.fromCharCode(55296|s>>10,56320|s&1023)):l&1?t+=String.fromCharCode((s&31)<<6|e[n++]&63):t+=String.fromCharCode((s&15)<<12|(e[n++]&63)<<6|e[n++]&63):t+=String.fromCharCode(s)}};function md(e,t){if(t){for(var n=new qe(e.length),s=0;s<e.length;++s)n[s]=e.charCodeAt(s);return n}if(Gr)return Gr.encode(e);for(var l=e.length,a=new qe(e.length+(e.length>>1)),o=0,i=function(f){a[o++]=f},s=0;s<l;++s){if(o+5>a.length){var c=new qe(o+8+(l-s<<1));c.set(a),a=c}var u=e.charCodeAt(s);u<128||t?i(u):u<2048?(i(192|u>>6),i(128|u&63)):u>55295&&u<57344?(u=65536+(u&1047552)|e.charCodeAt(++s)&1023,i(240|u>>18),i(128|u>>12&63),i(128|u>>6&63),i(128|u&63)):(i(224|u>>12),i(128|u>>6&63),i(128|u&63))}return go(a,0,o)}function gd(e,t){if(t){for(var n="",s=0;s<e.length;s+=16384)n+=String.fromCharCode.apply(null,e.subarray(s,s+16384));return n}else{if($a)return $a.decode(e);var l=vd(e),a=l.s,n=l.r;return n.length&&ot(8),a}}const Wr=e=>{const t=atob(e);return gd(dd(md(t,!0)))},dt=(e,t)=>{var s;const n=(s=(t==null?void 0:t._instance)||qn())==null?void 0:s.appContext.components;return n?e in n||ht(e)in n||Ls(ht(e))in n:!1},Qc=e=>new Promise(t=>setTimeout(t,e)),Xc=e=>typeof e<"u",ta=e=>typeof e=="number",Ia=Array.isArray,zn=(e,t)=>Le(e)&&e.startsWith(t),yd=(e,t)=>Le(e)&&e.endsWith(t),Ns=Object.entries,vt=Object.keys,yo=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},$l=e=>zn(e,"/");function Zc(e,t){let n,s,l;const a=G(!0),o=()=>{a.value=!0,l()};le(e,o,{flush:"sync"});const i=typeof t=="function"?t:t.get,c=typeof t=="function"?void 0:t.set,u=so((f,p)=>(s=f,l=p,{get(){return a.value&&(n=i(),a.value=!1),s(),n},set(d){c==null||c(d)}}));return Object.isExtensible(u)&&(u.trigger=o),u}function Yn(e){return Ci()?(p2(e),!0):!1}function je(e){return typeof e=="function"?e():Jt(e)}const Ds=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const bd=Object.prototype.toString,wd=e=>bd.call(e)==="[object Object]",Lt=()=>{},Ma=kd();function kd(){var e,t;return Ds&&((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 bo(e,t){function n(...s){return new Promise((l,a)=>{Promise.resolve(e(()=>t.apply(this,s),{fn:t,thisArg:this,args:s})).then(l).catch(a)})}return n}const eu=e=>e();function _d(e,t={}){let n,s,l=Lt;const a=i=>{clearTimeout(i),l(),l=Lt};return i=>{const c=je(e),u=je(t.maxWait);return n&&a(n),c<=0||u!==void 0&&u<=0?(s&&(a(s),s=null),Promise.resolve(i())):new Promise((f,p)=>{l=t.rejectOnCancel?p:f,u&&!s&&(s=setTimeout(()=>{n&&a(n),s=null,f(i())},u)),n=setTimeout(()=>{s&&a(s),s=null,f(i())},c)})}}function Ed(...e){let t=0,n,s=!0,l=Lt,a,o,i,c,u;!Be(e[0])&&typeof e[0]=="object"?{delay:o,trailing:i=!0,leading:c=!0,rejectOnCancel:u=!1}=e[0]:[o,i=!0,c=!0,u=!1]=e;const f=()=>{n&&(clearTimeout(n),n=void 0,l(),l=Lt)};return d=>{const h=je(o),m=Date.now()-t,_=()=>a=d();return f(),h<=0?(t=Date.now(),_()):(m>h&&(c||!s)?(t=Date.now(),_()):i&&(a=new Promise((b,y)=>{l=u?y:b,n=setTimeout(()=>{t=Date.now(),s=!0,b(_()),f()},Math.max(0,h-m))})),!c&&!n&&(n=setTimeout(()=>s=!0,h)),s=!1,a)}}function Cd(e=eu){const t=G(!0);function n(){t.value=!1}function s(){t.value=!0}const l=(...a)=>{t.value&&e(...a)};return{isActive:mn(t),pause:n,resume:s,eventFilter:l}}function xd(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const s=t;t=void 0,s&&await s},n}function tu(e){return e||qn()}function Sd(...e){if(e.length!==1)return Un(...e);const t=e[0];return typeof t=="function"?mn(so(()=>({get:t,set:Lt}))):G(t)}function nu(e,t=200,n={}){return bo(_d(t,n),e)}function Td(e,t=200,n=!1,s=!0,l=!1){return bo(Ed(t,n,s,l),e)}function Ld(e,t,n={}){const{eventFilter:s=eu,...l}=n;return le(e,bo(s,t),l)}function Ad(e,t,n={}){const{eventFilter:s,...l}=n,{eventFilter:a,pause:o,resume:i,isActive:c}=Cd(s);return{stop:Ld(e,t,{...l,eventFilter:a}),pause:o,resume:i,isActive:c}}function Il(e,t=!0,n){tu()?pe(e,n):t?e():Rt(e)}function $d(e,t){tu(t)&&tn(e,t)}function Id(e,t,n={}){const{immediate:s=!0}=n,l=G(!1);let a=null;function o(){a&&(clearTimeout(a),a=null)}function i(){l.value=!1,o()}function c(...u){o(),l.value=!0,a=setTimeout(()=>{l.value=!1,a=null,e(...u)},je(t))}return s&&(l.value=!0,Ds&&c()),Yn(i),{isPending:mn(l),start:c,stop:i}}function _s(e=!1,t={}){const{truthyValue:n=!0,falsyValue:s=!1}=t,l=Be(e),a=G(e);function o(i){if(arguments.length)return a.value=i,a.value;{const c=je(n);return a.value=a.value===c?je(s):c,a.value}}return l?o:[a,o]}function nt(e){var t;const n=je(e);return(t=n==null?void 0:n.$el)!=null?t:n}const _t=Ds?window:void 0,su=Ds?window.document:void 0,lu=Ds?window.navigator:void 0;function Se(...e){let t,n,s,l;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,s,l]=e,t=_t):[t,n,s,l]=e,!t)return Lt;Array.isArray(n)||(n=[n]),Array.isArray(s)||(s=[s]);const a=[],o=()=>{a.forEach(f=>f()),a.length=0},i=(f,p,d,h)=>(f.addEventListener(p,d,h),()=>f.removeEventListener(p,d,h)),c=le(()=>[nt(t),je(l)],([f,p])=>{if(o(),!f)return;const d=wd(p)?{...p}:p;a.push(...n.flatMap(h=>s.map(m=>i(f,h,m,d))))},{immediate:!0,flush:"post"}),u=()=>{c(),o()};return Yn(u),u}let Kr=!1;function Md(e,t,n={}){const{window:s=_t,ignore:l=[],capture:a=!0,detectIframe:o=!1}=n;if(!s)return Lt;Ma&&!Kr&&(Kr=!0,Array.from(s.document.body.children).forEach(d=>d.addEventListener("click",Lt)),s.document.documentElement.addEventListener("click",Lt));let i=!0;const c=d=>l.some(h=>{if(typeof h=="string")return Array.from(s.document.querySelectorAll(h)).some(m=>m===d.target||d.composedPath().includes(m));{const m=nt(h);return m&&(d.target===m||d.composedPath().includes(m))}}),f=[Se(s,"click",d=>{const h=nt(e);if(!(!h||h===d.target||d.composedPath().includes(h))){if(d.detail===0&&(i=!c(d)),!i){i=!0;return}t(d)}},{passive:!0,capture:a}),Se(s,"pointerdown",d=>{const h=nt(e);i=!c(d)&&!!(h&&!d.composedPath().includes(h))},{passive:!0}),o&&Se(s,"blur",d=>{setTimeout(()=>{var h;const m=nt(e);((h=s.document.activeElement)==null?void 0:h.tagName)==="IFRAME"&&!(m!=null&&m.contains(s.document.activeElement))&&t(d)},0)})].filter(Boolean);return()=>f.forEach(d=>d())}function Od(){const e=G(!1),t=qn();return t&&pe(()=>{e.value=!0},t),e}function Hs(e){const t=Od();return k(()=>(t.value,!!e()))}function au(e,t={}){const{window:n=_t}=t,s=Hs(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let l;const a=G(!1),o=u=>{a.value=u.matches},i=()=>{l&&("removeEventListener"in l?l.removeEventListener("change",o):l.removeListener(o))},c=Ji(()=>{s.value&&(i(),l=n.matchMedia(je(e)),"addEventListener"in l?l.addEventListener("change",o):l.addListener(o),a.value=l.matches)});return Yn(()=>{c(),i(),l=void 0}),a}function Yr(e,t={}){const{controls:n=!1,navigator:s=lu}=t,l=Hs(()=>s&&"permissions"in s);let a;const o=typeof e=="string"?{name:e}:e,i=G(),c=()=>{a&&(i.value=a.state)},u=xd(async()=>{if(l.value){if(!a)try{a=await s.permissions.query(o),Se(a,"change",c),c()}catch{i.value="prompt"}return a}});return u(),n?{state:i,isSupported:l,query:u}:i}function Pd(e={}){const{navigator:t=lu,read:n=!1,source:s,copiedDuring:l=1500,legacy:a=!1}=e,o=Hs(()=>t&&"clipboard"in t),i=Yr("clipboard-read"),c=Yr("clipboard-write"),u=k(()=>o.value||a),f=G(""),p=G(!1),d=Id(()=>p.value=!1,l);function h(){o.value&&y(i.value)?t.clipboard.readText().then(C=>{f.value=C}):f.value=b()}u.value&&n&&Se(["copy","cut"],h);async function m(C=je(s)){u.value&&C!=null&&(o.value&&y(c.value)?await t.clipboard.writeText(C):_(C),f.value=C,p.value=!0,d.start())}function _(C){const w=document.createElement("textarea");w.value=C??"",w.style.position="absolute",w.style.opacity="0",document.body.appendChild(w),w.select(),document.execCommand("copy"),w.remove()}function b(){var C,w,S;return(S=(w=(C=document==null?void 0:document.getSelection)==null?void 0:C.call(document))==null?void 0:w.toString())!=null?S:""}function y(C){return C==="granted"||C==="prompt"}return{isSupported:u,text:f,copied:p,copy:m}}const el=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},tl="__vueuse_ssr_handlers__",Rd=Nd();function Nd(){return tl in el||(el[tl]=el[tl]||{}),el[tl]}function Dd(e,t){return Rd[e]||t}function Hd(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 Bd={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()}},Jr="vueuse-storage";function yn(e,t,n,s={}){var l;const{flush:a="pre",deep:o=!0,listenToStorageChanges:i=!0,writeDefaults:c=!0,mergeDefaults:u=!1,shallow:f,window:p=_t,eventFilter:d,onError:h=I=>{console.error(I)},initOnMounted:m}=s,_=(f?Ae:G)(typeof t=="function"?t():t);if(!n)try{n=Dd("getDefaultStorage",()=>{var I;return(I=_t)==null?void 0:I.localStorage})()}catch(I){h(I)}if(!n)return _;const b=je(t),y=Hd(b),C=(l=s.serializer)!=null?l:Bd[y],{pause:w,resume:S}=Ad(_,()=>x(_.value),{flush:a,deep:o,eventFilter:d});p&&i&&Il(()=>{Se(p,"storage",M),Se(p,Jr,Y),m&&M()}),m||M();function R(I,U){p&&p.dispatchEvent(new CustomEvent(Jr,{detail:{key:e,oldValue:I,newValue:U,storageArea:n}}))}function x(I){try{const U=n.getItem(e);if(I==null)R(U,null),n.removeItem(e);else{const O=C.write(I);U!==O&&(n.setItem(e,O),R(U,O))}}catch(U){h(U)}}function N(I){const U=I?I.newValue:n.getItem(e);if(U==null)return c&&b!=null&&n.setItem(e,C.write(b)),b;if(!I&&u){const O=C.read(U);return typeof u=="function"?u(O,b):y==="object"&&!Array.isArray(O)?{...b,...O}:O}else return typeof U!="string"?U:C.read(U)}function M(I){if(!(I&&I.storageArea!==n)){if(I&&I.key==null){_.value=b;return}if(!(I&&I.key!==e)){w();try{(I==null?void 0:I.newValue)!==C.write(_.value)&&(_.value=N(I))}catch(U){h(U)}finally{I?Rt(S):S()}}}}function Y(I){M(I.detail)}return _}function jd(e){return au("(prefers-color-scheme: dark)",e)}function zd(e,t,n={}){const{window:s=_t,...l}=n;let a;const o=Hs(()=>s&&"ResizeObserver"in s),i=()=>{a&&(a.disconnect(),a=void 0)},c=k(()=>Array.isArray(e)?e.map(p=>nt(p)):[nt(e)]),u=le(c,p=>{if(i(),o.value&&s){a=new ResizeObserver(t);for(const d of p)d&&a.observe(d,l)}},{immediate:!0,flush:"post"}),f=()=>{i(),u()};return Yn(f),{isSupported:o,stop:f}}function Fd(e,t={width:0,height:0},n={}){const{window:s=_t,box:l="content-box"}=n,a=k(()=>{var p,d;return(d=(p=nt(e))==null?void 0:p.namespaceURI)==null?void 0:d.includes("svg")}),o=G(t.width),i=G(t.height),{stop:c}=zd(e,([p])=>{const d=l==="border-box"?p.borderBoxSize:l==="content-box"?p.contentBoxSize:p.devicePixelContentBoxSize;if(s&&a.value){const h=nt(e);if(h){const m=s.getComputedStyle(h);o.value=Number.parseFloat(m.width),i.value=Number.parseFloat(m.height)}}else if(d){const h=Array.isArray(d)?d:[d];o.value=h.reduce((m,{inlineSize:_})=>m+_,0),i.value=h.reduce((m,{blockSize:_})=>m+_,0)}else o.value=p.contentRect.width,i.value=p.contentRect.height},n);Il(()=>{const p=nt(e);p&&(o.value="offsetWidth"in p?p.offsetWidth:t.width,i.value="offsetHeight"in p?p.offsetHeight:t.height)});const u=le(()=>nt(e),p=>{o.value=p?t.width:0,i.value=p?t.height:0});function f(){c(),u()}return{width:o,height:i,stop:f}}const Qr=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function wo(e,t={}){const{document:n=su,autoExit:s=!1}=t,l=k(()=>{var y;return(y=nt(e))!=null?y:n==null?void 0:n.querySelector("html")}),a=G(!1),o=k(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(y=>n&&y in n||l.value&&y in l.value)),i=k(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(y=>n&&y in n||l.value&&y in l.value)),c=k(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(y=>n&&y in n||l.value&&y in l.value)),u=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(y=>n&&y in n),f=Hs(()=>l.value&&n&&o.value!==void 0&&i.value!==void 0&&c.value!==void 0),p=()=>u?(n==null?void 0:n[u])===l.value:!1,d=()=>{if(c.value){if(n&&n[c.value]!=null)return n[c.value];{const y=l.value;if((y==null?void 0:y[c.value])!=null)return!!y[c.value]}}return!1};async function h(){if(!(!f.value||!a.value)){if(i.value)if((n==null?void 0:n[i.value])!=null)await n[i.value]();else{const y=l.value;(y==null?void 0:y[i.value])!=null&&await y[i.value]()}a.value=!1}}async function m(){if(!f.value||a.value)return;d()&&await h();const y=l.value;o.value&&(y==null?void 0:y[o.value])!=null&&(await y[o.value](),a.value=!0)}async function _(){await(a.value?h():m())}const b=()=>{const y=d();(!y||y&&p())&&(a.value=y)};return Se(n,Qr,b,!1),Se(()=>nt(l),Qr,b,!1),s&&Yn(h),{isSupported:f,isFullscreen:a,enter:m,exit:h,toggle:_}}function na(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function H8(e,t,n={}){const{window:s=_t}=n;return yn(e,t,s==null?void 0:s.localStorage,n)}function sa(e,t=Lt,n={}){const{immediate:s=!0,manual:l=!1,type:a="text/javascript",async:o=!0,crossOrigin:i,referrerPolicy:c,noModule:u,defer:f,document:p=su,attrs:d={}}=n,h=G(null);let m=null;const _=C=>new Promise((w,S)=>{const R=M=>(h.value=M,w(M),M);if(!p){w(!1);return}let x=!1,N=p.querySelector(`script[src="${je(e)}"]`);N?N.hasAttribute("data-loaded")&&R(N):(N=p.createElement("script"),N.type=a,N.async=o,N.src=je(e),f&&(N.defer=f),i&&(N.crossOrigin=i),u&&(N.noModule=u),c&&(N.referrerPolicy=c),Object.entries(d).forEach(([M,Y])=>N==null?void 0:N.setAttribute(M,Y)),x=!0),N.addEventListener("error",M=>S(M)),N.addEventListener("abort",M=>S(M)),N.addEventListener("load",()=>{N.setAttribute("data-loaded","true"),t(N),R(N)}),x&&(N=p.head.appendChild(N)),C||R(N)}),b=(C=!0)=>(m||(m=_(C)),m),y=()=>{if(!p)return;m=null,h.value&&(h.value=null);const C=p.querySelector(`script[src="${je(e)}"]`);C&&p.head.removeChild(C)};return s&&!l&&Il(b),l||$d(y),{scriptTag:h,load:b,unload:y}}function ou(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:ou(n)}}function Vd(e){const t=e||window.event,n=t.target;return ou(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}const nl=new WeakMap;function ko(e,t=!1){const n=G(t);let s=null;le(Sd(e),o=>{const i=na(je(o));if(i){const c=i;nl.get(c)||nl.set(c,c.style.overflow),n.value&&(c.style.overflow="hidden")}},{immediate:!0});const l=()=>{const o=na(je(e));!o||n.value||(Ma&&(s=Se(o,"touchmove",i=>{Vd(i)},{passive:!1})),o.style.overflow="hidden",n.value=!0)},a=()=>{var o;const i=na(je(e));!i||!n.value||(Ma&&(s==null||s()),i.style.overflow=(o=nl.get(i))!=null?o:"",nl.delete(i),n.value=!1)};return Yn(a),k({get(){return n.value},set(o){o?l():a()}})}function ru(e,t,n={}){const{window:s=_t}=n;return yn(e,t,s==null?void 0:s.sessionStorage,n)}function Ud(e={}){const{window:t=_t,behavior:n="auto"}=e;if(!t)return{x:G(0),y:G(0)};const s=G(t.scrollX),l=G(t.scrollY),a=k({get(){return s.value},set(i){scrollTo({left:i,behavior:n})}}),o=k({get(){return l.value},set(i){scrollTo({top:i,behavior:n})}});return Se(t,"scroll",()=>{s.value=t.scrollX,l.value=t.scrollY},{capture:!1,passive:!0}),{x:a,y:o}}function qd(e={}){const{window:t=_t,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:s=Number.POSITIVE_INFINITY,listenOrientation:l=!0,includeScrollbar:a=!0}=e,o=G(n),i=G(s),c=()=>{t&&(a?(o.value=t.innerWidth,i.value=t.innerHeight):(o.value=t.document.documentElement.clientWidth,i.value=t.document.documentElement.clientHeight))};if(c(),Il(c),Se("resize",c,{passive:!0}),l){const u=au("(orientation: portrait)");le(u,()=>c())}return{width:o,height:i}}var Gd=H({name:"FontIcon",props:{icon:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""}},setup(e){const t=k(()=>{const s=["font-icon icon"],l=`fas fa-${e.icon}`;return s.push("fa-fw fa-sm"),s.push(e.icon.includes(" ")?e.icon:l),s}),n=k(()=>{const s={};return e.color&&(s.color=e.color),e.size&&(s["font-size"]=Number.isNaN(Number(e.size))?e.size:`${e.size}px`),vt(s).length?s:null});return()=>e.icon?r("span",{key:e.icon,class:t.value,style:n.value}):null}});const iu=({type:e="info",text:t="",vertical:n,color:s},{slots:l})=>{var a;return r("span",{class:["vp-badge",e,{diy:s}],style:{verticalAlign:n??!1,backgroundColor:s??!1}},((a=l.default)==null?void 0:a.call(l))||t)};iu.displayName="Badge";const cu=({title:e,desc:t="",logo:n,background:s,color:l,link:a})=>{const o=[n?r("img",{class:"vp-card-logo",src:xe(n),loading:"lazy","no-view":""}):null,r("div",{class:"vp-card-content"},[r("div",{class:"vp-card-title",innerHTML:e}),r("hr"),r("div",{class:"vp-card-desc",innerHTML:t})])],i={};return s&&(i.background=s),l&&(i.color=l),a?Hn(a)?r("a",{class:"vp-card",href:a,target:"_blank",style:i},o):r($e,{to:a,class:"vp-card",style:i},()=>o):r("div",{class:"vp-card",style:i},o)};cu.displayName="VPCard";const Wd=Xe({enhance:({app:e})=>{dt("FontIcon")||e.component("FontIcon",Gd),dt("Badge")||e.component("Badge",iu),dt("VPCard")||e.component("VPCard",cu)},setup:()=>{sa("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/brands.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}}),sa("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/solid.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}}),sa("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/fontawesome.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}})},rootComponents:[]}),Xr=async(e,t)=>{const{path:n,query:s}=e.currentRoute.value,{scrollBehavior:l}=e.options;e.options.scrollBehavior=void 0,await e.replace({path:n,query:s,hash:t}),e.options.scrollBehavior=l},Kd=({headerLinkSelector:e,headerAnchorSelector:t,delay:n,offset:s=5})=>{const l=gn();Se("scroll",nu(()=>{var m,_;const o=Math.max(window.scrollY,document.documentElement.scrollTop,document.body.scrollTop);if(Math.abs(o-0)<s){Xr(l,"");return}const c=window.innerHeight+o,u=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight),f=Math.abs(u-c)<s,p=Array.from(document.querySelectorAll(e)),h=Array.from(document.querySelectorAll(t)).filter(b=>p.some(y=>y.hash===b.hash));for(let b=0;b<h.length;b++){const y=h[b],C=h[b+1],w=o>=(((m=y.parentElement)==null?void 0:m.offsetTop)??0)-s,S=!C||o<(((_=C.parentElement)==null?void 0:_.offsetTop)??0)-s;if(!(w&&S))continue;const x=decodeURIComponent(l.currentRoute.value.hash),N=decodeURIComponent(y.hash);if(x===N)return;if(f){for(let M=b+1;M<h.length;M++)if(x===decodeURIComponent(h[M].hash))return}Xr(l,N);return}},n))},Yd=".vp-sidebar-link, .vp-toc-link",Jd=".header-anchor",Qd=200,Xd=5,Zd=Xe({setup(){Kd({headerLinkSelector:Yd,headerAnchorSelector:Jd,delay:Qd,offset:Xd})}});let uu=e=>Le(e.title)?{title:e.title}:null;const fu=Symbol(""),e3=e=>{uu=e},t3=()=>ge(fu),n3=e=>{e.provide(fu,uu)};var s3={"/":{title:"目录",empty:"暂无目录"}};const l3=H({name:"Catalog",props:{base:{type:String,default:""},level:{type:Number,default:3},index:Boolean,hideHeading:Boolean},setup(e){const t=t3(),n=Ps(s3),s=he(),l=Yp(),a=Fc(),i=Ae(Ns(l.value).map(([u,{meta:f}])=>{const p=t(f);if(!p)return null;const d=u.split("/").length;return{level:yd(u,"/")?d-2:d-1,base:u.replace(/\/[^/]+\/?$/,"/"),path:u,...p}}).filter(u=>Gn(u)&&Le(u.title))),c=k(()=>{const u=e.base?Rf(Ac(e.base)):s.value.path.replace(/\/[^/]+$/,"/"),f=u.split("/").length-2,p=[];return i.value.filter(({level:d,path:h})=>{if(!zn(h,u)||h===u)return!1;if(u==="/"){const m=vt(a.value.locales).filter(_=>_!=="/");if(h==="/404.html"||m.some(_=>zn(h,_)))return!1}return d-f<=e.level}).sort(({title:d,level:h,order:m},{title:_,level:b,order:y})=>{const C=h-b;return C||(ta(m)?ta(y)?m>0?y>0?m-y:-1:y<0?m-y:1:m:ta(y)?y:d.localeCompare(_))}).forEach(d=>{var _;const{base:h,level:m}=d;switch(m-f){case 1:{p.push(d);break}case 2:{const b=p.find(y=>y.path===h);b&&(b.children??(b.children=[])).push(d);break}default:{const b=p.find(y=>y.path===h.replace(/\/[^/]+\/$/,"/"));if(b){const y=(_=b.children)==null?void 0:_.find(C=>C.path===h);y&&(y.children??(y.children=[])).push(d)}}}}),p});return()=>{const u=c.value.some(f=>f.children);return r("div",{class:["vp-catalog-wrapper",{index:e.index}]},[e.hideHeading?null:r("h2",{class:"vp-catalog-main-title"},n.value.title),c.value.length?r(e.index?"ol":"ul",{class:["vp-catalogs",{deep:u}]},c.value.map(({children:f=[],title:p,path:d,content:h})=>{const m=r($e,{class:"vp-catalog-title",to:d},()=>h?r(h):p);return r("li",{class:"vp-catalog"},u?[r("h3",{id:p,class:["vp-catalog-child-title",{"has-children":f.length}]},[r("a",{href:`#${p}`,class:"vp-catalog-header-anchor","aria-hidden":!0},"#"),m]),f.length?r(e.index?"ol":"ul",{class:"vp-child-catalogs"},f.map(({children:_=[],content:b,path:y,title:C})=>r("li",{class:"vp-child-catalog"},[r("div",{class:["vp-catalog-sub-title",{"has-children":_.length}]},[r("a",{href:`#${C}`,class:"vp-catalog-header-anchor"},"#"),r($e,{class:"vp-catalog-title",to:y},()=>b?r(b):C)]),_.length?r(e.index?"ol":"div",{class:e.index?"vp-sub-catalogs":"vp-sub-catalogs-wrapper"},_.map(({content:w,path:S,title:R})=>e.index?r("li",{class:"vp-sub-catalog"},r($e,{to:S},()=>w?r(w):R)):r($e,{class:"vp-sub-catalog-link",to:S},()=>w?r(w):R))):null]))):null]:r("div",{class:"vp-catalog-child-title"},m))})):r("p",{class:"vp-empty-catalog"},n.value.empty)])}}}),a3=Xe({enhance:({app:e})=>{n3(e),dt("Catalog",e)||e.component("Catalog",l3)}});var o3={"/":{backToTop:"返回顶部"}};const r3=H({name:"BackToTop",setup(e){const t=ve(),n=Ps(o3),s=Ae(),{height:l}=Fd(s),{height:a}=qd(),{y:o}=Ud(),i=k(()=>t.value.backToTop!==!1&&o.value>100),c=k(()=>o.value/(l.value-a.value)*100);return pe(()=>{s.value=document.body}),()=>r(en,{name:"back-to-top"},()=>i.value?r("button",{type:"button",class:"vp-back-to-top-button","aria-label":n.value.backToTop,onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})}},[r("span",{class:"vp-scroll-progress",role:"progressbar","aria-labelledby":"loadinglabel","aria-valuenow":c.value},r("svg",r("circle",{cx:"50%",cy:"50%",style:{"stroke-dasharray":`calc(${Math.PI*c.value}% - ${4*Math.PI}px) calc(${Math.PI*100}% - ${4*Math.PI}px)`}}))),r("div",{class:"back-to-top-icon"})]):null)}}),i3=Xe({rootComponents:[r3]}),c3=r("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"},[r("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"}),r("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"})]),pu=H({name:"ExternalLinkIcon",props:{locales:{type:Object,required:!1,default:()=>({})}},setup(e){const t=mt(),n=k(()=>e.locales[t.value]??{openInNewWindow:"open in new window"});return()=>r("span",[c3,r("span",{class:"external-link-icon-sr-only"},n.value.openInNewWindow)])}});var u3={};const f3=u3,p3=Xe({enhance({app:e}){e.component("ExternalLinkIcon",r(pu,{locales:f3}))}});/**
|
||
* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
|
||
* @license MIT
|
||
*/const ie={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=ie.isStarted();e=la(e,ie.settings.minimum,1),ie.status=e===1?null:e;const n=ie.render(!t),s=n.querySelector(ie.settings.barSelector),l=ie.settings.speed,a=ie.settings.easing;return n.offsetWidth,d3(o=>{sl(s,{transform:"translate3d("+Zr(e)+"%,0,0)",transition:"all "+l+"ms "+a}),e===1?(sl(n,{transition:"none",opacity:"1"}),n.offsetWidth,setTimeout(function(){sl(n,{transition:"all "+l+"ms linear",opacity:"0"}),setTimeout(function(){ie.remove(),o()},l)},l)):setTimeout(()=>o(),l)}),ie},isStarted:()=>typeof ie.status=="number",start:()=>{ie.status||ie.set(0);const e=()=>{setTimeout(()=>{ie.status&&(ie.trickle(),e())},ie.settings.trickleSpeed)};return ie.settings.trickle&&e(),ie},done:e=>!e&&!ie.status?ie:ie.inc(.3+.5*Math.random()).set(1),inc:e=>{let t=ie.status;return t?(typeof e!="number"&&(e=(1-t)*la(Math.random()*t,.1,.95)),t=la(t+e,0,.994),ie.set(t)):ie.start()},trickle:()=>ie.inc(Math.random()*ie.settings.trickleRate),render:e=>{if(ie.isRendered())return document.getElementById("nprogress");ei(document.documentElement,"nprogress-busy");const t=document.createElement("div");t.id="nprogress",t.innerHTML=ie.settings.template;const n=t.querySelector(ie.settings.barSelector),s=e?"-100":Zr(ie.status||0),l=document.querySelector(ie.settings.parent);return sl(n,{transition:"all 0 linear",transform:"translate3d("+s+"%,0,0)"}),l!==document.body&&ei(l,"nprogress-custom-parent"),l==null||l.appendChild(t),t},remove:()=>{ti(document.documentElement,"nprogress-busy"),ti(document.querySelector(ie.settings.parent),"nprogress-custom-parent");const e=document.getElementById("nprogress");e&&h3(e)},isRendered:()=>!!document.getElementById("nprogress")},la=(e,t,n)=>e<t?t:e>n?n:e,Zr=e=>(-1+e)*100,d3=function(){const e=[];function t(){const n=e.shift();n&&n(t)}return function(n){e.push(n),e.length===1&&t()}}(),sl=function(){const e=["Webkit","O","Moz","ms"],t={};function n(o){return o.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(i,c){return c.toUpperCase()})}function s(o){const i=document.body.style;if(o in i)return o;let c=e.length;const u=o.charAt(0).toUpperCase()+o.slice(1);let f;for(;c--;)if(f=e[c]+u,f in i)return f;return o}function l(o){return o=n(o),t[o]??(t[o]=s(o))}function a(o,i,c){i=l(i),o.style[i]=c}return function(o,i){for(const c in i){const u=i[c];u!==void 0&&Object.prototype.hasOwnProperty.call(i,c)&&a(o,c,u)}}}(),du=(e,t)=>(typeof e=="string"?e:_o(e)).indexOf(" "+t+" ")>=0,ei=(e,t)=>{const n=_o(e),s=n+t;du(n,t)||(e.className=s.substring(1))},ti=(e,t)=>{const n=_o(e);if(!du(e,t))return;const s=n.replace(" "+t+" "," ");e.className=s.substring(1,s.length-1)},_o=e=>(" "+(e.className||"")+" ").replace(/\s+/gi," "),h3=e=>{e&&e.parentNode&&e.parentNode.removeChild(e)},v3=()=>{pe(()=>{const e=gn(),t=new Set;t.add(e.currentRoute.value.path),e.beforeEach(n=>{t.has(n.path)||ie.start()}),e.afterEach(n=>{t.add(n.path),ie.done()})})},m3=Xe({setup(){v3()}}),g3=JSON.parse('{"encrypt":{"config":{"/demo/encrypt.html":["$2a$10$dywJmjUTbNvKdcloWsdoNenHNem/89vtIOBo5MOUD66.zQw29UD9y"]}},"author":{"name":"远野千束","url":"https://snowykami.me"},"logo":"https://cdn.liteyuki.icu/static/img/liteyuki_icon_640.png","repo":"https://github.com/snowykami/LiteyukiBot","docsDir":"docs","footer":"LiteyukiBot","displayFooter":true,"locales":{"/":{"lang":"zh-CN","navbarLocales":{"langName":"简体中文","selectLangAriaLabel":"选择语言"},"metaLocales":{"author":"作者","date":"写作日期","origin":"原创","views":"访问量","category":"分类","tag":"标签","readingTime":"阅读时间","words":"字数","toc":"此页内容","prev":"上一页","next":"下一页","lastUpdated":"上次编辑于","contributors":"贡献者","editLink":"在 GitHub 上编辑此页","print":"打印"},"blogLocales":{"article":"文章","articleList":"文章列表","category":"分类","tag":"标签","timeline":"时间轴","timelineTitle":"昨日不在","all":"全部","intro":"个人介绍","star":"星标","empty":"$text 为空"},"paginationLocales":{"prev":"上一页","next":"下一页","navigate":"跳转到","action":"前往","errorText":"请输入 1 到 $page 之前的页码!"},"outlookLocales":{"themeColor":"主题色","darkmode":"外观","fullscreen":"全屏"},"encryptLocales":{"iconLabel":"文章已加密","placeholder":"输入密码","remember":"记住密码","errorHint":"请输入正确的密码"},"routeLocales":{"skipToContent":"跳至主要內容","notFoundTitle":"页面不存在","notFoundMsg":["这里什么也没有","我们是怎么来到这儿的?","这 是 四 零 四 !","看起来你访问了一个失效的链接"],"back":"返回上一页","home":"带我回家","openInNewWindow":"Open in new window"},"navbar":["/",{"text":"项目部署","link":"/deployment/","prefix":"deployment/"},{"text":"使用手册","link":"/usage/","prefix":"usage/"},{"text":"主题商店","link":"/store/","prefix":"store/"}],"sidebar":{"/":["",{"text":"项目部署","icon":"laptop-code","prefix":"deployment/","children":"structure"},{"text":"使用手册","icon":"book","prefix":"usage/","children":"structure"}]}}}}'),y3=G(g3),hu=()=>y3,vu=Symbol(""),b3=()=>{const e=ge(vu);if(!e)throw new Error("useThemeLocaleData() is called without provider.");return e},w3=(e,t)=>{const{locales:n,...s}=e;return{...s,...n==null?void 0:n[t]}},k3=Xe({enhance({app:e}){const t=hu(),n=e._context.provides[vo],s=k(()=>w3(t.value,n.routeLocale.value));e.provide(vu,s),Object.defineProperties(e.config.globalProperties,{$theme:{get(){return t.value}},$themeLocale:{get(){return s.value}}})}});var _3={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 E3=_3;let C3=E3;const mu=Symbol(""),gu=()=>ge(mu),x3=gu,S3=e=>{e.provide(mu,C3)},yu=()=>r("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",preserveAspectRatio:"xMidYMid",viewBox:"0 0 100 100"},[r("circle",{cx:"28",cy:"75",r:"11",fill:"currentColor"},r("animate",{attributeName:"fill-opacity",begin:"0s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"})),r("path",{fill:"none",stroke:"#88baf0","stroke-width":"10",d:"M28 47a28 28 0 0 1 28 28"},r("animate",{attributeName:"stroke-opacity",begin:"0.1s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"})),r("path",{fill:"none",stroke:"#88baf0","stroke-width":"10",d:"M28 25a50 50 0 0 1 50 50"},r("animate",{attributeName:"stroke-opacity",begin:"0.2s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"}))]);yu.displayName="LoadingIcon";const ni=["ar","ca","da","de","en","eo","es","fa","fr","he","id","it","ja","ko","nl","pl","pt","ro","ru","th","tr","uk","uz","vi","zh-CN","zh-TW"],T3=H({name:"GiscusComment",props:{identifier:{type:String,required:!0},darkmode:Boolean},setup(e){const t=x3(),n=mo(),s=!!(t.repo&&t.repoId&&t.category&&t.categoryId),{repo:l,repoId:a,category:o,categoryId:i}=t,c=G(!1),u=k(()=>{if(ni.includes(n.value))return n.value;const p=n.value.split("-")[0];return ni.includes(p)?p:"en"}),f=k(()=>({repo:l,repoId:a,category:o,categoryId:i,lang:u.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 pe(async()=>{await be(()=>import("./giscus-7BMGhbDA.js"),__vite__mapDeps([])),c.value=!0}),()=>s?r("div",{id:"comment",class:["giscus-wrapper",{"input-top":t.inputPosition!=="bottom"}]},c.value?r("giscus-widget",f.value):r(yu)):null}}),L3=H({name:"CommentService",props:{darkmode:Boolean},setup(e){const t=gu(),n=he(),s=ve(),l=t.comment!==!1,a=k(()=>s.value.comment||l&&s.value.comment!==!1);return()=>r(T3,{id:"vp-comment",identifier:s.value.commentID||n.value.path,darkmode:e.darkmode,style:{display:a.value?"block":"none"}})}}),A3=Xe({enhance:({app:e})=>{S3(e),e.component("CommentService",L3)}}),$3=/\b(?:Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini)/i,I3=()=>typeof window<"u"&&window.navigator&&"userAgent"in window.navigator&&$3.test(navigator.userAgent),M3=({delay:e=500,duration:t=2e3,locales:n,selector:s,showInMobile:l})=>{const{copy:a,copied:o}=Pd({legacy:!0,copiedDuring:t}),i=Ps(n),c=he(),u=d=>{if(!d.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),d.parentElement&&d.parentElement.insertBefore(h,d),d.setAttribute("copy-code-registered","")}},f=()=>{Rt().then(()=>Qc(e)).then(()=>{s.forEach(d=>{document.querySelectorAll(d).forEach(u)})})},p=(d,h,m)=>{let{innerText:_=""}=h;/language-(shellscript|shell|bash|sh|zsh)/.test(d.classList.toString())&&(_=_.replace(/^ *(\$|>) /gm,"")),a(_).then(()=>{m.classList.add("copied"),le(o,()=>{m.classList.remove("copied"),m.blur()},{once:!0})})};pe(()=>{const d=!I3()||l;d&&f(),Se("click",h=>{const m=h.target;if(m.matches('div[class*="language-"] > button.copy')){const _=m.parentElement,b=m.nextElementSibling;b&&p(_,b,m)}else if(m.matches('div[class*="language-"] div.vp-copy-icon')){const _=m.parentElement,b=_.parentElement,y=_.nextElementSibling;y&&p(b,y,_)}}),le(()=>c.value.path,()=>{d&&f()})})};var O3={"/":{copy:"复制代码",copied:"已复制"}},P3=['.theme-hope-content div[class*="language-"] pre'];const R3=500,N3=2e3,D3=O3,H3=P3,B3=!1,j3=Xe({setup:()=>{M3({selector:H3,locales:D3,duration:N3,delay:R3,showInMobile:B3})}}),ll=yn("VUEPRESS_CODE_TAB_STORE",{});var z3=H({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=G(e.active),s=Ae([]),l=()=>{e.tabId&&(ll.value[e.tabId]=e.data[n.value].id)},a=(u=n.value)=>{n.value=u<s.value.length-1?u+1:0,s.value[n.value].focus()},o=(u=n.value)=>{n.value=u>0?u-1:s.value.length-1,s.value[n.value].focus()},i=(u,f)=>{u.key===" "||u.key==="Enter"?(u.preventDefault(),n.value=f):u.key==="ArrowRight"?(u.preventDefault(),a()):u.key==="ArrowLeft"&&(u.preventDefault(),o()),e.tabId&&(ll.value[e.tabId]=e.data[n.value].id)},c=()=>{if(e.tabId){const u=e.data.findIndex(({id:f})=>ll.value[e.tabId]===f);if(u!==-1)return u}return e.active};return pe(()=>{n.value=c(),le(()=>ll.value[e.tabId],(u,f)=>{if(e.tabId&&u!==f){const p=e.data.findIndex(({id:d})=>d===u);p!==-1&&(n.value=p)}})}),()=>e.data.length?r("div",{class:"vp-code-tabs"},[r("div",{class:"vp-code-tabs-nav",role:"tablist"},e.data.map(({id:u},f)=>{const p=f===n.value;return r("button",{type:"button",ref:d=>{d&&(s.value[f]=d)},class:["vp-code-tab-nav",{active:p}],role:"tab","aria-controls":`codetab-${e.id}-${f}`,"aria-selected":p,onClick:()=>{n.value=f,l()},onKeydown:d=>i(d,f)},t[`title${f}`]({value:u,isActive:p}))})),e.data.map(({id:u},f)=>{const p=f===n.value;return r("div",{class:["vp-code-tab",{active:p}],id:`codetab-${e.id}-${f}`,role:"tabpanel","aria-expanded":p},[r("div",{class:"vp-code-tab-title"},t[`title${f}`]({value:u,isActive:p})),t[`tab${f}`]({value:u,isActive:p})])})]):null}});const bu=({active:e=!1},{slots:t})=>{var n;return r("div",{class:["code-group-item",{active:e}],"aria-selected":e},(n=t.default)==null?void 0:n.call(t))};bu.displayName="CodeGroupItem";const F3=H({name:"CodeGroup",slots:Object,setup(e,{slots:t}){const n=G(-1),s=Ae([]),l=(i=n.value)=>{n.value=i<s.value.length-1?i+1:0,s.value[n.value].focus()},a=(i=n.value)=>{n.value=i>0?i-1:s.value.length-1,s.value[n.value].focus()},o=(i,c)=>{i.key===" "||i.key==="Enter"?(i.preventDefault(),n.value=c):i.key==="ArrowRight"?(i.preventDefault(),l(c)):i.key==="ArrowLeft"&&(i.preventDefault(),a(c))};return()=>{var c;const i=(((c=t.default)==null?void 0:c.call(t))||[]).filter(u=>u.type.name==="CodeGroupItem").map(u=>(u.props===null&&(u.props={}),u));return i.length===0?null:(n.value<0||n.value>i.length-1?(n.value=i.findIndex(u=>"active"in u.props),n.value===-1&&(n.value=0)):i.forEach((u,f)=>{u.props.active=f===n.value}),r("div",{class:"code-group"},[r("div",{class:"code-group-nav"},i.map((u,f)=>{const p=f===n.value;return r("button",{type:"button",ref:d=>{d&&(s.value[f]=d)},class:["code-group-nav-tab",{active:p}],"aria-pressed":p,"aria-expanded":p,onClick:()=>{n.value=f},onKeydown:d=>o(d,f)},u.props.title)})),i]))}}}),fe=({name:e="",color:t="currentColor"},{slots:n})=>{var s;return r("svg",{xmlns:"http://www.w3.org/2000/svg",class:["icon",`${e}-icon`],viewBox:"0 0 1024 1024",fill:t,"aria-label":`${e} icon`},(s=n.default)==null?void 0:s.call(n))};fe.displayName="IconBase";const wu=({size:e=48,stroke:t=4,wrapper:n=!0,height:s=2*e})=>{const l=r("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,preserveAspectRatio:"xMidYMid",viewBox:"25 25 50 50"},[r("animateTransform",{attributeName:"transform",type:"rotate",dur:"2s",keyTimes:"0;1",repeatCount:"indefinite",values:"0;360"}),r("circle",{cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":t,"stroke-linecap":"round"},[r("animate",{attributeName:"stroke-dasharray",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"1,200;90,200;1,200"}),r("animate",{attributeName:"stroke-dashoffset",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"0;-35px;-125px"})])]);return n?r("div",{class:"loading-icon-wrapper",style:`display:flex;align-items:center;justify-content:center;height:${s}px`},l):l};wu.displayName="LoadingIcon";const ku=(e,{slots:t})=>{var n;return(n=t.default)==null?void 0:n.call(t)},_u=()=>r(fe,{name:"github"},()=>r("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"}));_u.displayName="GitHubIcon";const Eu=()=>r(fe,{name:"gitlab"},()=>r("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 Cu=()=>r(fe,{name:"gitee"},()=>r("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"}));Cu.displayName="GiteeIcon";const xu=()=>r(fe,{name:"bitbucket"},()=>r("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"}));xu.displayName="BitbucketIcon";const Su=()=>r(fe,{name:"source"},()=>r("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"}));Su.displayName="SourceIcon";const Ml=(e,t)=>{let n=1;for(let s=0;s<e.length;s++)n+=e.charCodeAt(s),n+=n<<10,n^=n>>6;return n+=n<<3,n^=n>>11,n%t};let V3=class{constructor(){this.messageElements={};const t="message-container",n=document.getElementById(t);n?this.containerElement=n:(this.containerElement=document.createElement("div"),this.containerElement.id=t,document.body.appendChild(this.containerElement))}pop(t,n=2e3){const s=document.createElement("div"),l=Date.now();return s.className="message move-in",s.innerHTML=t,this.containerElement.appendChild(s),this.messageElements[l]=s,n>0&&setTimeout(()=>{this.close(l)},n),l}close(t){if(t){const n=this.messageElements[t];n.classList.remove("move-in"),n.classList.add("move-out"),n.addEventListener("animationend",()=>{n.remove(),delete this.messageElements[t]})}else vt(this.messageElements).forEach(n=>this.close(Number(n)))}destroy(){document.body.removeChild(this.containerElement)}};const Tu=/#.*$/u,U3=e=>{const t=Tu.exec(e);return t?t[0]:""},si=e=>decodeURI(e).replace(Tu,"").replace(/\/index\.html$/iu,"/").replace(/\.html$/iu,"").replace(/(README|index)?\.md$/iu,""),Lu=(e,t)=>{if(!Xc(t))return!1;const n=si(e.path),s=si(t),l=U3(t);return l?l===e.hash&&(!s||n===s):n===s},q3=e=>nn(e)?e:`https://github.com/${e}`,Au=e=>!nn(e)||/github\.com/.test(e)?"GitHub":/bitbucket\.org/.test(e)?"Bitbucket":/gitlab\.com/.test(e)?"GitLab":/gitee\.com/.test(e)?"Gitee":null;var G3=e=>Object.prototype.toString.call(e)==="[object Object]",Es=e=>typeof e=="string";const $u=Array.isArray,li=e=>G3(e)&&Es(e.name),Cs=(e,t=!1)=>e?$u(e)?e.map(n=>Es(n)?{name:n}:li(n)?n:null).filter(n=>n!==null):Es(e)?[{name:e}]:li(e)?[e]:(console.error(`Expect "author" to be \`AuthorInfo[] | AuthorInfo | string[] | string ${t?"":"| false"} | undefined\`, but got`,e),[]):[],Iu=(e,t)=>{if(e){if($u(e)&&e.every(Es))return e;if(Es(e))return[e];console.error(`Expect ${t||"value"} to be \`string[] | string | undefined\`, but got`,e)}return[]},Mu=e=>Iu(e,"category"),Ou=e=>Iu(e,"tag"),W3='<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>',K3='<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 Y3={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 aa=Y3,ai={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"}}},J3=(e,t,n)=>{const s=document.createElement(e);return Gn(t)&&vt(t).forEach(l=>{if(l.indexOf("data"))s[l]=t[l];else{const a=l.replace("data","");s.dataset[a]=t[l]}}),n&&n.forEach(l=>{s.appendChild(l)}),s},Eo=e=>({...aa,...e,jsLib:Array.from(new Set([...aa.jsLib||[],...e.jsLib||[]])),cssLib:Array.from(new Set([...aa.cssLib||[],...e.cssLib||[]]))}),Mn=(e,t)=>{if(Xc(e[t]))return e[t];const n=new Promise(s=>{var a;const l=document.createElement("script");l.src=t,(a=document.querySelector("body"))==null||a.appendChild(l),l.onload=()=>{s()}});return e[t]=n,n},Q3=(e,t)=>{if(t.css&&Array.from(e.childNodes).every(n=>n.nodeName!=="STYLE")){const n=J3("style",{innerHTML:t.css});e.appendChild(n)}},X3=(e,t,n)=>{const s=n.getScript();if(s&&Array.from(t.childNodes).every(l=>l.nodeName!=="SCRIPT")){const l=document.createElement("script");l.appendChild(document.createTextNode(`{const document=window.document.querySelector('#${e} .vp-code-demo-display').shadowRoot;
|
||
${s}}`)),t.appendChild(l)}},Z3=e=>{const t=vt(e),n={html:[],js:[],css:[],isLegal:!1};return["html","js","css"].forEach(s=>{const l=t.filter(a=>ai[s].types.includes(a));if(l.length){const a=l[0];n[s]=[e[a].replace(/^\n|\n$/g,""),ai[s].map[a]||a]}}),n.isLegal=(!n.html.length||n.html[1]==="none")&&(!n.js.length||n.js[1]==="none")&&(!n.css.length||n.css[1]==="none"),n},Pu=e=>e.replace(/<br \/>/g,"<br>").replace(/<((\S+)[^<]*?)\s+\/>/g,"<$1></$2>"),Ru=e=>`<div id="app">
|
||
${Pu(e)}
|
||
</div>`,e4=e=>`${e.replace("export default ","const $reactApp = ").replace(/App\.__style__(\s*)=(\s*)`([\s\S]*)?`/,"")};
|
||
ReactDOM.createRoot(document.getElementById("app")).render(React.createElement($reactApp))`,t4=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(),Nu=e=>`(function(exports){var module={};module.exports=exports;${e};return module.exports.__esModule?module.exports.default:module.exports;})({})`,n4=(e,t)=>{const n=Eo(t),s=e.js[0]||"";return{...n,html:Pu(e.html[0]||""),js:s,css:e.css[0]||"",isLegal:e.isLegal,getScript:()=>{var l;return n.useBabel?((l=window.Babel.transform(s,{presets:["es2015"]}))==null?void 0:l.code)||"":s}}},s4=/<template>([\s\S]+)<\/template>/u,l4=/<script(\s*lang=(['"])(.*?)\2)?>([\s\S]+)<\/script>/u,a4=/<style(\s*lang=(['"])(.*?)\2)?\s*(?:scoped)?>([\s\S]+)<\/style>/u,o4=(e,t)=>{const n=Eo(t),s=e.html[0]||"",l=s4.exec(s),a=l4.exec(s),o=a4.exec(s),i=l?l[1].replace(/^\n|\n$/g,""):"",[c="",u=""]=a?[a[4].replace(/^\n|\n$/g,""),a[3]]:[],[f="",p=""]=o?[o[4].replace(/^\n|\n$/g,""),o[3]]:[],d=u===""&&(p===""||p==="css");return{...n,html:Ru(i),js:t4(c),css:f,isLegal:d,jsLib:[n.vue,...n.jsLib],getScript:()=>{var m,_;const h=t.useBabel?((_=(m=window.Babel)==null?void 0:m.transform(c,{presets:["es2015"]}))==null?void 0:_.code)||"":c.replace(/export\s+default/u,"return");return`const app=window.document.createElement('div');document.firstElementChild.appendChild(app);const appOptions=${Nu(h)};appOptions.template=\`${i.replace("`",'\\`"')}\`;window.Vue.createApp(appOptions).mount(app);`}}},r4=(e,t)=>{const n=Eo(t);return{...n,html:Ru(""),js:e4(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 l,a;const s=((a=(l=window.Babel)==null?void 0:l.transform(e.js[0]||"",{presets:["es2015","react"]}))==null?void 0:a.code)||"";return`window.ReactDOM.createRoot(document.firstElementChild).render(window.React.createElement(${Nu(s)}))`}}},On={},i4=e=>Promise.all([Mn(On,e.babel),Mn(On,e.react),Mn(On,e.reactDOM)]),c4=e=>{const t=[Mn(On,e.vue)];return e.useBabel&&t.push(Mn(On,e.babel)),Promise.all(t)},u4=e=>e.useBabel?Mn(On,e.babel):Promise.resolve();var f4=H({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,s]=_s(!1),l=Ae(),a=Ae(),o=G("0"),i=G(!1),c=k(()=>JSON.parse(e.config?Wr(e.config):"{}")),u=k(()=>{const m=JSON.parse(Wr(e.code));return Z3(m)}),f=k(()=>e.type==="react"?r4(u.value,c.value):e.type==="vue"?o4(u.value,c.value):n4(u.value,c.value)),p=k(()=>f.value.isLegal),d=(m=!1)=>{const _=l.value.attachShadow({mode:"open"}),b=document.createElement("div");b.classList.add("code-demo-app"),_.appendChild(b),p.value?(m&&(b.innerHTML=f.value.html),Q3(_,f.value),X3(e.id,_,f.value),o.value="0"):o.value="auto",i.value=!0},h=()=>{switch(e.type){case"react":return i4(f.value).then(()=>d());case"vue":return c4(f.value).then(()=>d());default:return u4(f.value).then(()=>d(!0))}};return Se("beforeprint",()=>{s(!0)}),pe(()=>{setTimeout(()=>{h()},800)}),()=>{var m;return r("div",{class:"vp-code-demo",id:e.id},[r("div",{class:"vp-code-demo-header"},[f.value.isLegal?r("button",{type:"button",title:"toggle","aria-hidden":!0,class:["vp-code-demo-toggle-button",n.value?"down":"end"],onClick:()=>{o.value=n.value?"0":`${a.value.clientHeight+13.8}px`,s()}}):null,e.title?r("span",{class:"vp-code-demo-title"},decodeURIComponent(e.title)):null,f.value.isLegal&&f.value.jsfiddle!==!1?r("form",{class:"code-demo-jsfiddle",target:"_blank",action:"https://jsfiddle.net/api/post/library/pure/",method:"post"},[r("input",{type:"hidden",name:"html",value:f.value.html}),r("input",{type:"hidden",name:"js",value:f.value.js}),r("input",{type:"hidden",name:"css",value:f.value.css}),r("input",{type:"hidden",name:"wrap",value:"1"}),r("input",{type:"hidden",name:"panel_js",value:"3"}),r("input",{type:"hidden",name:"resources",value:[...f.value.cssLib,...f.value.jsLib].join(",")}),r("button",{type:"submit",class:"jsfiddle-button",innerHTML:K3,"aria-label":"JSFiddle","data-balloon-pos":"up"})]):null,!f.value.isLegal||f.value.codepen!==!1?r("form",{class:"code-demo-codepen",target:"_blank",action:"https://codepen.io/pen/define",method:"post"},[r("input",{type:"hidden",name:"data",value:JSON.stringify({html:f.value.html,js:f.value.js,css:f.value.css,js_external:f.value.jsLib.join(";"),css_external:f.value.cssLib.join(";"),layout:f.value.codepenLayout,html_pre_processor:u.value?u.value.html[1]:"none",js_pre_processor:u.value?u.value.js[1]:f.value.jsx?"babel":"none",css_pre_processor:u.value?u.value.css[1]:"none",editors:f.value.codepenEditors})}),r("button",{type:"submit",innerHTML:W3,class:"codepen-button","aria-label":"Codepen","data-balloon-pos":"up"})]):null]),i.value?null:r(wu,{class:"vp-code-demo-loading"}),r("div",{ref:l,class:"vp-code-demo-display",style:{display:p.value&&i.value?"block":"none"}}),r("div",{class:"vp-code-demo-code-wrapper",style:{height:o.value}},r("div",{ref:a,class:"vp-code-demo-codes"},(m=t.default)==null?void 0:m.call(t)))])}}}),p4=H({name:"MdDemo",props:{id:{type:String,required:!0},title:{type:String,default:""}},slots:Object,setup(e,{slots:t}){const[n,s]=_s(!1),l=Ae(),a=G("0");return Se("beforeprint",()=>{s(!0)}),()=>{var o,i;return r("div",{class:"vp-md-demo",id:e.id},[r("div",{class:"vp-md-demo-header"},[r("button",{type:"button",title:"toggle","aria-hidden":!0,class:["vp-md-demo-toggle-button",n.value?"down":"end"],onClick:()=>{a.value=n.value?"0":`${l.value.clientHeight+13.8}px`,s()}}),e.title?decodeURIComponent(e.title):null]),r("div",{class:"vp-md-demo-display"},(o=t.default)==null?void 0:o.call(t)),r("div",{class:"vp-md-demo-code-wrapper",style:{height:a.value}},r("div",{ref:l,class:"vp-md-demo-codes"},(i=t.code)==null?void 0:i.call(t)))])}}});const d4=()=>{Se("beforeprint",()=>{document.querySelectorAll("details").forEach(e=>{e.open=!0})})},oa=yn("VUEPRESS_TAB_STORE",{});var h4=H({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=G(e.active),s=Ae([]),l=()=>{e.tabId&&(oa.value[e.tabId]=e.data[n.value].id)},a=(u=n.value)=>{n.value=u<s.value.length-1?u+1:0,s.value[n.value].focus()},o=(u=n.value)=>{n.value=u>0?u-1:s.value.length-1,s.value[n.value].focus()},i=(u,f)=>{u.key===" "||u.key==="Enter"?(u.preventDefault(),n.value=f):u.key==="ArrowRight"?(u.preventDefault(),a()):u.key==="ArrowLeft"&&(u.preventDefault(),o()),l()},c=()=>{if(e.tabId){const u=e.data.findIndex(({id:f})=>oa.value[e.tabId]===f);if(u!==-1)return u}return e.active};return pe(()=>{n.value=c(),le(()=>oa.value[e.tabId],(u,f)=>{if(e.tabId&&u!==f){const p=e.data.findIndex(({id:d})=>d===u);p!==-1&&(n.value=p)}})}),()=>e.data.length?r("div",{class:"vp-tabs"},[r("div",{class:"vp-tabs-nav",role:"tablist"},e.data.map(({id:u},f)=>{const p=f===n.value;return r("button",{type:"button",ref:d=>{d&&(s.value[f]=d)},class:["vp-tab-nav",{active:p}],role:"tab","aria-controls":`tab-${e.id}-${f}`,"aria-selected":p,onClick:()=>{n.value=f,l()},onKeydown:d=>i(d,f)},t[`title${f}`]({value:u,isActive:p}))})),e.data.map(({id:u},f)=>{const p=f===n.value;return r("div",{class:["vp-tab",{active:p}],id:`tab-${e.id}-${f}`,role:"tabpanel","aria-expanded":p},[r("div",{class:"vp-tab-title"},t[`title${f}`]({value:u,isActive:p})),t[`tab${f}`]({value:u,isActive:p})])})]):null}});const v4=Xe({enhance:({app:e})=>{e.component("CodeTabs",z3),dt("CodeGroup",e)||e.component("CodeGroup",F3),dt("CodeGroupItem",e)||e.component("CodeGroupItem",bu),e.component("CodeDemo",f4),e.component("MdDemo",p4),e.component("Tabs",h4)},setup:()=>{d4()}});let m4={};const Du=Symbol(""),g4=()=>ge(Du),y4=e=>{e.provide(Du,m4)},b4='<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>',w4=e=>Le(e)?Array.from(document.querySelectorAll(e)):e.map(t=>Array.from(document.querySelectorAll(t))).flat(),Hu=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(Hu(e)),e.onerror=s=>n(s))}),k4=e=>{const{isSupported:t,toggle:n}=wo();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:(s,l)=>{s.setAttribute("download",""),s.setAttribute("target","_blank"),s.setAttribute("rel","noopener"),l.on("change",()=>{s.setAttribute("href",l.currSlide.data.src)})}}),e.ui.registerElement({name:"bulletsIndicator",className:"photo-swipe-bullets-indicator",appendTo:"wrapper",onInit:(s,l)=>{const a=[];let o=-1;for(let i=0;i<l.getNumItems();i++){const c=document.createElement("div");c.className="photo-swipe-bullet",c.onclick=u=>{l.goTo(a.indexOf(u.target))},a.push(c),s.appendChild(c)}l.on("change",()=>{o>=0&&a[o].classList.remove("active"),a[l.currIndex].classList.add("active"),o=l.currIndex})}})})},_4=(e,t,n=!0)=>be(()=>import("./photoswipe.esm-SzV8tJDW.js"),__vite__mapDeps([])).then(({default:s})=>{let l=null;const a=e.map(o=>({html:b4,element:o,msrc:o.src}));return e.forEach((o,i)=>{const c=()=>{l==null||l.destroy(),l=new s({preloaderDelay:0,showHideAnimationType:"zoom",...t,dataSource:a,index:i,...n?{closeOnVerticalDrag:!0,wheelToZoom:!1}:{}}),k4(l),l.addFilter("thumbEl",()=>o),l.addFilter("placeholderSrc",()=>o.src),l.init()};o.getAttribute("photo-swipe")||(o.style.cursor="zoom-in",o.addEventListener("click",()=>{c()}),o.addEventListener("keypress",({key:u})=>{u==="Enter"&&c()}),o.setAttribute("photo-swipe","")),Hu(o).then(u=>{a.splice(i,1,u),l==null||l.refreshSlideContent(i)})}),n?Se("wheel",()=>{l==null||l.close()}):()=>{}}),E4=({selector:e,locales:t,delay:n=500,scrollToClose:s=!0})=>{const l=g4(),a=Ps(t),o=he(),i=ve();let c=null;const u=()=>{const{photoSwipe:f}=i.value;f!==!1&&Rt().then(()=>Qc(n)).then(async()=>{const p=Le(f)?f:e;c=await _4(w4(p),{...l,...a.value},s)})};pe(()=>{u(),le(()=>o.value.path,()=>{c==null||c(),u()})}),tn(()=>{c==null||c()})};var C4={"/":{closeTitle:"关闭",downloadTitle:"下载图片",fullscreenTitle:"切换全屏",zoomTitle:"缩放",arrowPrevTitle:"上一个 (左箭头)",arrowNextTitle:"下一个 (右箭头)"}};const x4=".theme-hope-content :not(a) > img:not([no-view])",S4=C4,T4=800,L4=!0,A4=Xe({enhance:({app:e})=>{y4(e)},setup:()=>{E4({selector:x4,delay:T4,locales:S4,scrollToClose:L4})}}),Co=e=>{const t=mt();return k(()=>e[t.value]??{})},$4=(e,t)=>Le(e)&&e.startsWith(t),I4=Object.values,Jn=({name:e="",color:t="currentColor"},{slots:n})=>{var s;return r("svg",{xmlns:"http://www.w3.org/2000/svg",class:["icon",`${e}-icon`],viewBox:"0 0 1024 1024",fill:t,"aria-label":`${e} icon`},(s=n.default)==null?void 0:s.call(n))};Jn.displayName="IconBase";function M4(){const e=G(!1),t=qn();return t&&pe(()=>{e.value=!0},t),e}function O4(e){return M4(),k(()=>!!e())}const P4=()=>O4(()=>typeof window<"u"&&window.navigator&&"userAgent"in window.navigator),R4=()=>{const e=P4();return k(()=>e.value&&/\b(?:Android|iPhone)/i.test(navigator.userAgent))},N4=e=>[/\((ipad);[-\w),; ]+apple/i,/applecoremedia\/[\w.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i].some(t=>t.test(e)),D4=e=>[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i].some(t=>t.test(e)),H4=e=>[/(mac os x) ?([\w. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i].some(t=>t.test(e)),B4=()=>r(Jn,{name:"heading"},()=>r("path",{d:"M250.4 704.6H64V595.4h202.4l26.2-166.6H94V319.6h214.4L352 64h127.8l-43.6 255.4h211.2L691 64h126.2l-43.6 255.4H960v109.2H756.2l-24.6 166.6H930v109.2H717L672 960H545.8l43.6-255.4H376.6L333 960H206.8l43.6-255.4zm168.4-276L394 595.4h211.2l24.6-166.6h-211z"}));B4.displayName="HeadingIcon";const j4=()=>r(Jn,{name:"heart"},()=>r("path",{d:"M1024 358.156C1024 195.698 892.3 64 729.844 64c-86.362 0-164.03 37.218-217.844 96.49C458.186 101.218 380.518 64 294.156 64 131.698 64 0 195.698 0 358.156 0 444.518 37.218 522.186 96.49 576H96l320 320c32 32 64 64 96 64s64-32 96-64l320-320h-.49c59.272-53.814 96.49-131.482 96.49-217.844zM841.468 481.232 517.49 805.49a2981.962 2981.962 0 0 1-5.49 5.48c-1.96-1.95-3.814-3.802-5.49-5.48L182.532 481.234C147.366 449.306 128 405.596 128 358.156 128 266.538 202.538 192 294.156 192c47.44 0 91.15 19.366 123.076 54.532L512 350.912l94.768-104.378C638.696 211.366 682.404 192 729.844 192 821.462 192 896 266.538 896 358.156c0 47.44-19.368 91.15-54.532 123.076z"}));j4.displayName="HeartIcon";const z4=()=>r(Jn,{name:"history"},()=>r("path",{d:"M512 1024a512 512 0 1 1 512-512 512 512 0 0 1-512 512zm0-896a384 384 0 1 0 384 384 384 384 0 0 0-384-384zm192 448H512a64 64 0 0 1-64-64V320a64 64 0 0 1 128 0v128h128a64 64 0 0 1 0 128z"}));z4.displayName="HistoryIcon";const F4=()=>r(Jn,{name:"title"},()=>r("path",{d:"M512 256c70.656 0 134.656 28.672 180.992 75.008A254.933 254.933 0 0 1 768 512c0 83.968-41.024 157.888-103.488 204.48C688.96 748.736 704 788.48 704 832c0 105.984-86.016 192-192 192-106.048 0-192-86.016-192-192h128a64 64 0 1 0 128 0 64 64 0 0 0-64-64 255.19 255.19 0 0 1-181.056-75.008A255.403 255.403 0 0 1 256 512c0-83.968 41.024-157.824 103.488-204.544C335.04 275.264 320 235.584 320 192A192 192 0 0 1 512 0c105.984 0 192 85.952 192 192H576a64.021 64.021 0 0 0-128 0c0 35.328 28.672 64 64 64zM384 512c0 70.656 57.344 128 128 128s128-57.344 128-128-57.344-128-128-128-128 57.344-128 128z"}));F4.displayName="TitleIcon";const xo=()=>r(Jn,{name:"search"},()=>r("path",{d:"M192 480a256 256 0 1 1 512 0 256 256 0 0 1-512 0m631.776 362.496-143.2-143.168A318.464 318.464 0 0 0 768 480c0-176.736-143.264-320-320-320S128 303.264 128 480s143.264 320 320 320a318.016 318.016 0 0 0 184.16-58.592l146.336 146.368c12.512 12.48 32.768 12.48 45.28 0 12.48-12.512 12.48-32.768 0-45.28"}));xo.displayName="SearchIcon";const Bu=()=>r("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",preserveAspectRatio:"xMidYMid",viewBox:"0 0 100 100"},[r("circle",{cx:"28",cy:"75",r:"11",fill:"currentColor"},r("animate",{attributeName:"fill-opacity",begin:"0s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"})),r("path",{fill:"none",stroke:"#88baf0","stroke-width":"10",d:"M28 47a28 28 0 0 1 28 28"},r("animate",{attributeName:"stroke-opacity",begin:"0.1s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"})),r("path",{fill:"none",stroke:"#88baf0","stroke-width":"10",d:"M28 25a50 50 0 0 1 50 50"},r("animate",{attributeName:"stroke-opacity",begin:"0.2s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"}))]);Bu.displayName="LoadingIcon";const ju=({hint:e})=>r("div",{class:"search-pro-result-wrapper loading"},[r(Bu),e]);ju.displayName="SearchLoading";const V4='<svg width="20" height="20" viewBox="0 0 20 20"><path d="M10 10l5.09-5.09L10 10l5.09 5.09L10 10zm0 0L4.91 4.91 10 10l-5.09 5.09L10 10z" stroke="currentColor" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"></path></svg>';var U4={0:{"/":{0:"分",1:"类",2:":",3:" ",4:"$",5:"c",6:"o",7:"n",8:"t",9:"e",10:"n",11:"t"}},1:{"/":{0:"标",1:"签",2:":",3:" ",4:"$",5:"c",6:"o",7:"n",8:"t",9:"e",10:"n",11:"t"}}},q4={"/":{cancel:"取消",placeholder:"搜索",search:"搜索",searching:"搜索中",defaultTitle:"文档",select:"选择",navigate:"切换",autocomplete:"自动补全",exit:"关闭",queryHistory:"搜索历史",resultHistory:"历史结果",emptyHistory:"无搜索历史",emptyResult:"没有找到结果",loading:"正在加载搜索索引..."}},G4={searchDelay:150,suggestDelay:0,queryHistoryCount:5,resultHistoryCount:5,hotKeys:[{key:"k",ctrl:!0},{key:"/",ctrl:!0}],worker:"search-pro.worker.js"};const yl=G4,j8=U4,zu=yl.hotKeys,So=q4,ra="Canceled because of new search request.",W4=()=>{const e=new Worker(`/${yl.worker}`,{}),t={suggest:null,search:null,all:null};return e.addEventListener("message",({data:n})=>{const[s,l,a]=n,o=t[s];(o==null?void 0:o.id)===l&&o.resolve(a)}),e.addEventListener("error",n=>{console.error("Search Worker error:",n)}),{suggest:(n,s,l)=>new Promise((a,o)=>{var c;(c=t.suggest)==null||c.reject(new Error(ra));const i=Date.now();e.postMessage({type:"suggest",id:i,query:n,locale:s,options:l}),t.suggest={id:i,resolve:a,reject:o}}),search:(n,s,l)=>new Promise((a,o)=>{var c;(c=t.search)==null||c.reject(new Error(ra));const i=Date.now();e.postMessage({type:"search",id:i,query:n,locale:s,options:l}),console.log("post"),t.search={id:i,resolve:a,reject:o}}),all:(n,s,l)=>new Promise((a,o)=>{var c;(c=t.all)==null||c.reject(new Error(ra));const i=Date.now();e.postMessage({type:"all",id:i,query:n,locale:s,options:l}),t.all={id:i,resolve:a,reject:o}}),terminate:()=>{e.terminate(),I4(t).forEach(n=>{n==null||n.reject(new Error("Worker has been terminated."))})}}};let K4={};const Fu=Symbol(""),Vu=()=>{const e=mt(),{locales:t={},...n}=ge(Fu);return k(()=>({...n,...t[e.value]||{}}))},Y4=e=>{e.provide(Fu,K4)},J4=(e,t=!1)=>{const n=G(0),s=k(()=>e.value[n.value]),l=()=>{n.value=n.value>0?n.value-1:e.value.length-1},a=()=>{n.value=n.value<e.value.length-1?n.value+1:0};return le(e,()=>{t||(n.value=0)}),{index:n,item:s,prev:l,next:a}},Q4=e=>e instanceof Element?document.activeElement===e&&(["TEXTAREA","SELECT","INPUT"].includes(e.tagName)||e.hasAttribute("contenteditable")):!1,X4=e=>zu.some(t=>{const{key:n,ctrl:s=!1,shift:l=!1,alt:a=!1,meta:o=!1}=t;return n===e.key&&s===e.ctrlKey&&l===e.shiftKey&&a===e.altKey&&o===e.metaKey}),Z4='<svg width="15" height="15" aria-label="Enter key" role="img"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.2"><path d="M12 3.53088v3c0 1-1 2-2 2H4M7 11.53088l-3-3 3-3"></path></g></svg>',e6='<svg width="15" height="15" aria-label="Arrow down" role="img"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.2"><path d="M7.5 3.5v8M10.5 8.5l-3 3-3-3"></path></g></svg>',t6='<svg width="15" height="15" aria-label="Arrow up" role="img"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.2"><path d="M7.5 11.5v-8M10.5 6.5l-3-3-3 3"></path></g></svg>',n6='<svg width="15" height="15" aria-label="Escape key" role="img"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.2"><path d="M13.6167 8.936c-.1065.3583-.6883.962-1.4875.962-.7993 0-1.653-.9165-1.653-2.1258v-.5678c0-1.2548.7896-2.1016 1.653-2.1016.8634 0 1.3601.4778 1.4875 1.0724M9 6c-.1352-.4735-.7506-.9219-1.46-.8972-.7092.0246-1.344.57-1.344 1.2166s.4198.8812 1.3445.9805C8.465 7.3992 8.968 7.9337 9 8.5c.032.5663-.454 1.398-1.4595 1.398C6.6593 9.898 6 9 5.963 8.4851m-1.4748.5368c-.2635.5941-.8099.876-1.5443.876s-1.7073-.6248-1.7073-2.204v-.4603c0-1.0416.721-2.131 1.7073-2.131.9864 0 1.6425 1.031 1.5443 2.2492h-2.956"></path></g></svg>',To=Symbol(""),s6=()=>{const e=G(!1);ft(To,e)},l6=e=>{const t=G([]);{const n=Vu(),s=he(),l=mt();pe(()=>{const{suggest:a,terminate:o}=W4(),i=c=>{const u=c.join(" "),{searchFilter:f,splitWord:p,suggestionsFilter:d=m=>m,...h}=n.value;u?a(u,l.value,h).then(m=>d(m,u,l.value,s.value)).then(m=>{t.value=m.length?$4(m[0],u)&&!m[0].slice(u.length).includes(" ")?m:[u,...m]:[]}).catch(m=>{console.warn(m)}):t.value=[]};le([e,l],([c])=>i(c),{immediate:!0}),tn(()=>{o()})})}return{suggestions:t}},ia=zu[0];var a6=H({name:"SearchBox",setup(){const e=Co(So),t=ge(To),n=G(!1),s=k(()=>ia?[(n.value?["⌃","⇧","⌥","⌘"]:["Ctrl","Shift","Alt","Win"]).filter((l,a)=>ia[["ctrl","shift","alt","meta"][a]]),ia.key.toUpperCase()]:null);return Se("keydown",l=>{!t.value&&X4(l)&&!Q4(l.target)&&(l.preventDefault(),t.value=!0)}),pe(()=>{const{userAgent:l}=navigator;n.value=H4(l)||D4(l)||N4(l)}),()=>[r("button",{type:"button",class:"search-pro-button","aria-label":e.value.search,onClick:()=>{t.value=!0}},[r(xo),r("div",{class:"search-pro-placeholder"},e.value.search),s.value?r("div",{class:"search-pro-key-hints"},s.value.map(l=>r("kbd",{class:"search-pro-key"},l))):null])]}});const o6=tc({loader:()=>be(()=>import("./SearchResult-CyPd9z6P.js"),__vite__mapDeps([])),loadingComponent:()=>{const e=Co(So);return r(ju,{hint:e.value.loading})}});var r6=H({name:"SearchModal",setup(){const e=ge(To),t=Wn(),n=R4(),s=Co(So),l=Vu(),a=G(""),o=G([]),{suggestions:i}=l6(o),c=G(!1),{index:u,prev:f,next:p}=J4(i),d=Ae(),h=Ae(),m=(b=u.value)=>{a.value=i.value[b],c.value=!1};Se("keydown",b=>{c.value?b.key==="ArrowUp"?f():b.key==="ArrowDown"?p():b.key==="Enter"?m():b.key==="Escape"&&(c.value=!1):b.key==="Escape"&&(e.value=!1)});const _=nu(()=>{var b,y;(((y=(b=l.value).splitWord)==null?void 0:y.call(b,a.value))||Promise.resolve(a.value.split(" "))).then(C=>{o.value=C})},Math.min(yl.searchDelay,yl.suggestDelay));return le(a,_,{immediate:!0}),pe(()=>{const b=ko(document.body);le(e,async y=>{var C;b.value=y,y&&(await Rt(),(C=d.value)==null||C.focus())}),Md(h,()=>{c.value=!1}),tn(()=>{b.value=!1})}),()=>e.value?r("div",{class:"search-pro-modal-wrapper"},[r("div",{class:"search-pro-mask",onClick:()=>{e.value=!1,a.value=""}}),r("div",{class:"search-pro-modal"},[r("div",{class:"search-pro-box"},[r("form",[r("label",{for:"search-pro","aria-label":s.value.search},r(xo)),r("input",{ref:d,type:"search",class:"search-pro-input",id:"search-pro",placeholder:s.value.placeholder,spellcheck:"false",autocapitalize:"off",autocomplete:"off",autocorrect:"off",name:`${t.value.title}-search`,value:a.value,"aria-controls":"search-pro-results",onKeydown:b=>{const{key:y}=b;i.value.length&&(y==="Tab"?(m(),b.preventDefault()):(y==="ArrowDown"||y==="ArrowUp"||y==="Escape")&&b.preventDefault())},onInput:({target:b})=>{a.value=b.value,c.value=!0,u.value=0}}),a.value?r("button",{type:"reset",class:"search-pro-clear-button",innerHTML:V4,onClick:()=>{a.value=""}}):null,c.value&&i.value.length?r("ul",{class:"search-pro-suggestions",ref:h},i.value.map((b,y)=>r("li",{class:["search-pro-suggestion",{active:y===u.value}],onClick:()=>{m(y)}},[r("kbd",{class:"search-pro-auto-complete",title:`Tab ${s.value.autocomplete}`},"Tab"),b]))):null]),r("button",{type:"button",class:"search-pro-close-button",onClick:()=>{e.value=!1,a.value=""}},s.value.cancel)]),r(o6,{queries:o.value,isFocusing:!c.value,onClose:()=>{e.value=!1},onUpdateQuery:b=>{a.value=b}}),n.value?null:r("div",{class:"search-pro-hints"},[r("span",{class:"search-pro-hint"},[r("kbd",{innerHTML:Z4}),s.value.select]),r("span",{class:"search-pro-hint"},[r("kbd",{innerHTML:t6}),r("kbd",{innerHTML:e6}),s.value.navigate]),r("span",{class:"search-pro-hint"},[r("kbd",{innerHTML:n6}),s.value.exit])])])]):null}}),i6=Xe({enhance({app:e}){Y4(e),e.component("SearchBox",a6)},setup(){s6()},rootComponents:[r6]});const Uu=()=>{const e=he();return k(()=>e.value.readingTime??null)},qu=(e,t)=>{const{minutes:n,words:s}=e,{less1Minute:l,word:a,time:o}=t;return{time:n<1?l:o.replace("$time",Math.round(n).toString()),words:a.replace("$word",s.toString())}};var oi={"/":{word:"约 $word 字",less1Minute:"小于 1 分钟",time:"大约 $time 分钟"}};const ri={words:"",time:""},Oa=typeof oi>"u"?null:oi,Gu=()=>Oa?Ps(Oa):k(()=>null),c6=()=>{if(typeof Oa>"u")return k(()=>ri);const e=Uu(),t=Gu();return k(()=>e.value&&t.value?qu(e.value,t.value):ri)},Dt=()=>hu(),ae=()=>b3(),bn=()=>{const e=Dt();return k(()=>!!e.value.pure)},ca=()=>null,u6="719px",f6="1440px",p6="false",Wu={mobileBreakPoint:u6,pcBreakPoint:f6,enableThemeColor:p6},Lo={"/deployment/":["install","config","fandq"],"/usage/":["basic_command","extra_command","agreement","resource_pack"]},Ku=e=>{const{icon:t="",color:n,size:s}=e,l=n||s?{}:null;return n&&(l.color=n),s&&(l.height=Number.isNaN(Number(s))?s:`${s}px`),nn(t)?r("img",{class:"icon",src:t,alt:"","no-view":"",style:l}):$l(t)?r("img",{class:"icon",src:xe(t),alt:"","aria-hidden":"","no-view":"",style:l}):r(ut("FontIcon"),e)};Ku.displayName="HopeIcon";var Ve=Ku;const d6="http://.",wn=()=>{const e=gn(),t=sn();return n=>{if(n)if($l(n))t.path!==n&&e.push(n);else if($c(n))window&&window.open(n);else{const s=t.path.slice(0,t.path.lastIndexOf("/"));e.push(new URL(`${s}/${encodeURI(n)}`,d6).pathname)}}},Yu=()=>{const e=ae(),t=ve();return k(()=>{const{author:n}=t.value;return n?Cs(n):n===!1?[]:Cs(e.value.author,!1)})},h6=()=>{const e=ve(),t=ge(Symbol.for("categoryMap"));return k(()=>Mu(e.value.category).map(n=>{var s;return{name:n,path:((s=t==null?void 0:t.value.map[n])==null?void 0:s.path)||""}}))},v6=()=>{const e=ve(),t=ge(Symbol.for("tagMap"));return k(()=>Ou(e.value.tag).map(n=>{var s;return{name:n,path:((s=t==null?void 0:t.value.map[n])==null?void 0:s.path)||""}}))},m6=()=>{const e=ve(),t=he();return k(()=>{const n=yo(e.value.date);if(n)return n;const{createdTime:s}=t.value.git||{};return s?new Date(s):null})},g6=()=>{const e=ae(),t=he(),n=ve(),s=Yu(),l=h6(),a=v6(),o=m6(),i=Uu(),c=c6(),u=k(()=>({author:s.value,category:l.value,date:o.value,localizedDate:t.value.localizedDate,tag:a.value,isOriginal:n.value.isOriginal||!1,readingTime:i.value,readingTimeLocale:c.value,pageview:"pageview"in n.value?n.value.pageview:!0})),f=k(()=>"pageInfo"in n.value?n.value.pageInfo:"pageInfo"in e.value?e.value.pageInfo:null);return{info:u,items:f}},{mobileBreakPoint:y6,pcBreakPoint:b6}=Wu,ii=e=>e.endsWith("px")?Number(e.slice(0,-2)):null,Bs=()=>{const e=G(!1),t=G(!1),n=()=>{e.value=window.innerWidth<=(ii(y6)??719),t.value=window.innerWidth>=(ii(b6)??1440)};return pe(()=>{n(),Se("resize",n,!1),Se("orientationchange",n,!1)}),{isMobile:e,isPC:t}},Ju=Symbol(""),js=()=>{const e=ge(Ju);if(!e)throw new Error("useDarkmode() is called without provider.");return e},w6=e=>{const t=Dt(),n=jd(),s=k(()=>t.value.darkmode||"switch"),l=yn("vuepress-theme-hope-scheme","auto"),a=k(()=>{const i=s.value;return i==="disable"?!1:i==="enable"?!0:i==="auto"?n.value:i==="toggle"?l.value==="dark":l.value==="dark"||l.value==="auto"&&n.value}),o=k(()=>{const i=s.value;return i==="switch"||i==="toggle"});e.provide(Ju,{canToggle:o,config:s,isDarkmode:a,status:l}),Object.defineProperties(e.config.globalProperties,{$isDarkmode:{get:()=>a.value}})},k6=()=>{const{config:e,isDarkmode:t,status:n}=js();Ji(()=>{e.value==="disable"?n.value="light":e.value==="enable"?n.value="dark":e.value==="toggle"&&n.value==="auto"&&(n.value="light")}),pe(()=>{le(t,s=>document.documentElement.setAttribute("data-theme",s?"dark":"light"),{immediate:!0})})};var Ye=(e=>(e.title="t",e.shortTitle="s",e.icon="i",e.index="I",e.order="O",e.breadcrumbExclude="b",e))(Ye||{}),Fe=(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))(Fe||{}),Qu=(e=>(e.article="a",e.home="h",e.slide="s",e.page="p",e))(Qu||{});const fn=(e="",t="")=>$l(t)?t:`${Ac(e)}${t}`,Pn=(e,t=!1)=>{const{meta:n,path:s,notFound:l}=Kn(e);return l?{text:s,link:s}:{text:!t&&n[Ye.shortTitle]?n[Ye.shortTitle]:n[Ye.title]||s,link:s,...n[Ye.icon]?{icon:n[Ye.icon]}:{}}},Pa=({config:e,prefix:t=""})=>{const n=(s,l=t)=>{const a=Le(s)?Pn(fn(l,s)):s.link?{...s,...Hn(s.link)?{}:{link:Pn(fn(l,s.link)).link}}:s;if("children"in a){const o=fn(l,a.prefix),i=a.children==="structure"?Lo[o]:a.children;return{type:"group",...a,prefix:o,children:i.map(c=>n(c,o))}}return{type:"page",...a}};return e.map(s=>n(s))},_6=({config:e,page:t,headerDepth:n})=>{const s=vt(e).sort((l,a)=>a.length-l.length);for(const l of s)if(zn(decodeURI(t.path),l)){const a=e[l];return a?Pa({config:a==="structure"?Lo[l]:a,page:t,headerDepth:n,prefix:l}):[]}return console.warn(`${t.path} is missing sidebar config.`),[]},E6=({config:e,routeLocale:t,page:n,headerDepth:s})=>e==="structure"?Pa({config:Lo[t],page:n,headerDepth:s,prefix:t}):Ia(e)?Pa({config:e,page:n,headerDepth:s}):Gn(e)?_6({config:e,page:n,headerDepth:s}):[],Xu=Symbol(""),C6=()=>{const e=ve(),t=ae(),n=he(),s=mt(),l=k(()=>e.value.home?!1:e.value.sidebar??t.value.sidebar??"structure"),a=k(()=>e.value.headerDepth??t.value.headerDepth??2),o=Zc(()=>[l.value,a.value,n.value.path,null],()=>E6({config:l.value,routeLocale:s.value,page:n.value,headerDepth:a.value}));ft(Xu,o)},Ao=()=>{const e=ge(Xu);if(!e)throw new Error("useSidebarItems() is called without provider.");return e};var x6=H({name:"PageFooter",setup(){const e=Dt(),t=ae(),n=ve(),s=Yu(),l=k(()=>{const{copyright:u,footer:f}=n.value;return f!==!1&&!!(u||f||t.value.displayFooter)}),a=k(()=>{const{footer:u}=n.value;return u===!1?!1:Le(u)?u:t.value.footer||""}),o=k(()=>s.value.map(({name:u})=>u).join(", ")),i=u=>`Copyright © ${new Date().getFullYear()} ${o.value} ${u?`${u} Licensed`:""}`,c=k(()=>{const{copyright:u,license:f=""}=n.value,{license:p}=e.value,{copyright:d}=t.value;return u??(f?i(f):Le(d)?d:o.value||p?i(p):!1)});return()=>l.value?r("footer",{class:"vp-footer-wrapper"},[a.value?r("div",{class:"vp-footer",innerHTML:a.value}):null,c.value?r("div",{class:"vp-copyright",innerHTML:c.value}):null]):null}}),Je=H({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:s}){const l=sn(),a=Fc(),o=Un(e,"config"),i=k(()=>nn(o.value.link)),c=k(()=>!i.value&&$c(o.value.link)),u=k(()=>o.value.target||(i.value?"_blank":void 0)),f=k(()=>u.value==="_blank"),p=k(()=>!i.value&&!c.value&&!f.value),d=k(()=>o.value.rel||(f.value?"noopener noreferrer":null)),h=k(()=>o.value.ariaLabel||o.value.text),m=k(()=>{if(e.exact)return!1;const b=vt(a.value.locales);return b.length?b.every(y=>y!==o.value.link):o.value.link!=="/"}),_=k(()=>p.value?o.value.activeMatch?new RegExp(o.value.activeMatch,"u").test(l.path):m.value?zn(l.path,o.value.link):l.path===o.value.link:!1);return()=>{const{before:b,after:y,default:C}=s,{text:w,icon:S,link:R}=o.value;return p.value?r($e,{to:R,"aria-label":h.value,...t,class:["nav-link",{active:_.value},t.class],onFocusout:()=>n("focusout")},()=>C?C():[b?b():r(Ve,{icon:S}),w,y==null?void 0:y()]):r("a",{href:R,rel:d.value,target:u.value,"aria-label":h.value,...t,class:["nav-link",t.class],onFocusout:()=>n("focusout")},C?C():[b?b():r(Ve,{icon:S}),w,e.noExternalLinkIcon?null:r(pu),y==null?void 0:y()])}}}),S6=H({name:"NavbarDropdownLink",props:{config:{type:Object,required:!0}},slots:Object,setup(e,{slots:t}){const n=he(),s=Un(e,"config"),l=k(()=>s.value.ariaLabel||s.value.text),a=G(!1);le(()=>n.value.path,()=>{a.value=!1});const o=i=>{i.detail===0&&(a.value=!a.value)};return()=>{var i;return r("div",{class:["dropdown-wrapper",{open:a.value}]},[r("button",{type:"button",class:"dropdown-title","aria-label":l.value,onClick:o},[((i=t.title)==null?void 0:i.call(t))||r("span",{class:"title"},[r(Ve,{icon:s.value.icon}),e.config.text]),r("span",{class:"arrow"}),r("ul",{class:"nav-dropdown"},s.value.children.map((c,u)=>{const f=u===s.value.children.length-1;return r("li",{class:"dropdown-item"},"children"in c?[r("h4",{class:"dropdown-subtitle"},c.link?r(Je,{config:c,onFocusout:()=>{c.children.length===0&&f&&(a.value=!1)}}):r("span",c.text)),r("ul",{class:"dropdown-subitem-wrapper"},c.children.map((p,d)=>r("li",{class:"dropdown-subitem"},r(Je,{config:p,onFocusout:()=>{d===c.children.length-1&&f&&(a.value=!1)}}))))]:r(Je,{config:c,onFocusout:()=>{f&&(a.value=!1)}}))}))])])}}});const Zu=(e,t="")=>Le(e)?Pn(fn(t,e)):"children"in e?{...e,...e.link&&!Hn(e.link)?Pn(fn(t,e.link)):{},children:e.children.map(n=>Zu(n,fn(t,e.prefix)))}:{...e,link:Hn(e.link)?e.link:Pn(fn(t,e.link)).link},e1=()=>{const e=ae(),t=()=>(e.value.navbar||[]).map(n=>Zu(n));return Zc(()=>e.value.navbar,()=>t())},T6=()=>{const e=ae(),t=k(()=>e.value.repo||null),n=k(()=>t.value?q3(t.value):null),s=k(()=>t.value?Au(t.value):null),l=k(()=>n.value?e.value.repoLabel??(s.value===null?"Source":s.value):null);return k(()=>!n.value||!l.value||e.value.repoDisplay===!1?null:{type:s.value||"Source",label:l.value,link:n.value})};var L6=H({name:"NavScreenDropdown",props:{config:{type:Object,required:!0}},setup(e){const t=he(),n=Un(e,"config"),s=k(()=>n.value.ariaLabel||n.value.text),l=G(!1);le(()=>t.value.path,()=>{l.value=!1});const a=(o,i)=>i[i.length-1]===o;return()=>[r("button",{type:"button",class:["nav-screen-dropdown-title",{active:l.value}],"aria-label":s.value,onClick:()=>{l.value=!l.value}},[r("span",{class:"title"},[r(Ve,{icon:n.value.icon}),e.config.text]),r("span",{class:["arrow",l.value?"down":"end"]})]),r("ul",{class:["nav-screen-dropdown",{hide:!l.value}]},n.value.children.map(o=>r("li",{class:"dropdown-item"},"children"in o?[r("h4",{class:"dropdown-subtitle"},o.link?r(Je,{config:o,onFocusout:()=>{a(o,n.value.children)&&o.children.length===0&&(l.value=!1)}}):r("span",o.text)),r("ul",{class:"dropdown-subitem-wrapper"},o.children.map(i=>r("li",{class:"dropdown-subitem"},r(Je,{config:i,onFocusout:()=>{a(i,o.children)&&a(o,n.value.children)&&(l.value=!1)}}))))]:r(Je,{config:o,onFocusout:()=>{a(o,n.value.children)&&(l.value=!1)}}))))]}}),A6=H({name:"NavScreenLinks",setup(){const e=e1();return()=>e.value.length?r("nav",{class:"nav-screen-links"},e.value.map(t=>r("div",{class:"navbar-links-item"},"children"in t?r(L6,{config:t}):r(Je,{config:t})))):null}});const t1=()=>r(fe,{name:"dark"},()=>r("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"}));t1.displayName="DarkIcon";const n1=()=>r(fe,{name:"light"},()=>r("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"}));n1.displayName="LightIcon";const s1=()=>r(fe,{name:"auto"},()=>r("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"}));s1.displayName="AutoIcon";const l1=()=>r(fe,{name:"enter-fullscreen"},()=>r("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"}));l1.displayName="EnterFullScreenIcon";const a1=()=>r(fe,{name:"cancel-fullscreen"},()=>r("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"}));a1.displayName="CancelFullScreenIcon";const o1=()=>r(fe,{name:"outlook"},()=>[r("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"})]);o1.displayName="OutlookIcon";var r1=H({name:"AppearanceSwitch",setup(){const{config:e,isDarkmode:t,status:n}=js(),s=bn(),l=()=>{e.value==="switch"?n.value={light:"dark",dark:"auto",auto:"light"}[n.value]:n.value=n.value==="light"?"dark":"light"},a=async o=>{if(!(document.startViewTransition&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches&&!s.value)||!o){l();return}const i=o.clientX,c=o.clientY,u=Math.hypot(Math.max(i,innerWidth-i),Math.max(c,innerHeight-c)),f=t.value;await document.startViewTransition(async()=>{l(),await Rt()}).ready,t.value!==f&&document.documentElement.animate({clipPath:t.value?[`circle(${u}px at ${i}px ${c}px)`,`circle(0px at ${i}px ${c}px)`]:[`circle(0px at ${i}px ${c}px)`,`circle(${u}px at ${i}px ${c}px)`]},{duration:400,pseudoElement:t.value?"::view-transition-old(root)":"::view-transition-new(root)"})};return()=>r("button",{type:"button",id:"appearance-switch",onClick:a},[r(s1,{style:{display:n.value==="auto"?"block":"none"}}),r(t1,{style:{display:n.value==="dark"?"block":"none"}}),r(n1,{style:{display:n.value==="light"?"block":"none"}})])}}),$6=H({name:"AppearanceMode",setup(){const e=ae(),{canToggle:t}=js(),n=k(()=>e.value.outlookLocales.darkmode);return()=>t.value?r("div",{class:"appearance-wrapper"},[r("label",{class:"appearance-title",for:"appearance-switch"},n.value),r(r1)]):null}});const ua=Wu.enableThemeColor==="true";var i1=H({name:"ToggleFullScreenButton",setup(){const e=ae(),{isSupported:t,isFullscreen:n,toggle:s}=wo(),l=k(()=>e.value.outlookLocales.fullscreen);return()=>t?r("div",{class:"full-screen-wrapper"},[r("label",{class:"full-screen-title",for:"full-screen-switch"},l.value),r("button",{type:"button",id:"full-screen-switch",class:"full-screen",ariaPressed:n.value,onClick:()=>s()},n.value?r(a1):r(l1))]):null}}),c1=H({name:"OutlookSettings",setup(){const e=Dt(),t=bn(),n=k(()=>!t.value&&e.value.fullscreen);return()=>r(Al,()=>[null,r($6),n.value?r(i1):null])}}),I6=H({name:"NavScreen",props:{show:Boolean},emits:["close"],slots:Object,setup(e,{emit:t,slots:n}){const s=he(),{isMobile:l}=Bs(),a=Ae(),o=ko(a);return pe(()=>{a.value=document.body,le(l,i=>{!i&&e.show&&(o.value=!1,t("close"))}),le(()=>s.value.path,()=>{o.value=!1,t("close")})}),tn(()=>{o.value=!1}),()=>r(en,{name:"fade",onEnter:()=>{o.value=!0},onAfterLeave:()=>{o.value=!1}},()=>{var i,c;return e.show?r("div",{id:"nav-screen"},r("div",{class:"vp-nav-screen-container"},[(i=n.before)==null?void 0:i.call(n),r(A6),r("div",{class:"vp-outlook-wrapper"},r(c1)),(c=n.after)==null?void 0:c.call(n)])):null})}}),M6=H({name:"NavbarBrand",setup(){const e=mt(),t=Wn(),n=ae(),s=k(()=>n.value.home||e.value),l=k(()=>t.value.title),a=k(()=>n.value.navTitle??l.value),o=k(()=>n.value.logo?xe(n.value.logo):null),i=k(()=>n.value.logoDark?xe(n.value.logoDark):null);return()=>r($e,{to:s.value,class:"vp-brand"},()=>[o.value?r("img",{class:["vp-nav-logo",{light:!!i.value}],src:o.value,alt:""}):null,i.value?r("img",{class:["vp-nav-logo dark"],src:i.value,alt:""}):null,a.value?r("span",{class:["vp-site-name",{"hide-in-pad":o.value&&n.value.hideSiteNameOnMobile!==!1}]},a.value):null])}}),O6=H({name:"NavbarLinks",setup(){const e=e1();return()=>e.value.length?r("nav",{class:"vp-nav-links"},e.value.map(t=>r("div",{class:"nav-item hide-in-mobile"},"children"in t?r(S6,{config:t}):r(Je,{config:t})))):null}}),P6=H({name:"RepoLink",components:{BitbucketIcon:xu,GiteeIcon:Cu,GitHubIcon:_u,GitLabIcon:Eu,SourceIcon:Su},setup(){const e=T6();return()=>e.value?r("div",{class:"nav-item vp-repo"},r("a",{class:"vp-repo-link",href:e.value.link,target:"_blank",rel:"noopener noreferrer","aria-label":e.value.label},r(ut(`${e.value.type}Icon`),{style:{width:"1.25rem",height:"1.25rem",verticalAlign:"middle"}}))):null}});const u1=({active:e=!1},{emit:t})=>r("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")},r("span",[r("span",{class:"vp-top"}),r("span",{class:"vp-middle"}),r("span",{class:"vp-bottom"})]));u1.displayName="ToggleNavbarButton";var R6=u1;const Ra=(e,{emit:t})=>r("button",{type:"button",class:"vp-toggle-sidebar-button",title:"Toggle Sidebar",onClick:()=>t("toggle")},r("span",{class:"icon"}));Ra.displayName="ToggleSidebarButton",Ra.emits=["toggle"];var N6=Ra,D6=H({name:"OutlookButton",setup(){const{isSupported:e}=wo(),t=Dt(),n=bn(),s=he(),{canToggle:l}=js(),a=G(!1),o=k(()=>!n.value&&t.value.fullscreen&&e);return le(()=>s.value.path,()=>{a.value=!1}),()=>l.value||o.value||ua?r("div",{class:"nav-item hide-in-mobile"},l.value&&!o.value&&!ua?r(r1):o.value&&!l.value&&!ua?r(i1):r("button",{type:"button",class:["outlook-button",{open:a.value}],tabindex:"-1","aria-hidden":!0},[r(o1),r("div",{class:"outlook-dropdown"},r(c1))])):null}}),H6=H({name:"NavBar",emits:["toggleSidebar"],slots:Object,setup(e,{emit:t,slots:n}){const s=ae(),{isMobile:l}=Bs(),a=G(!1),o=k(()=>{const{navbarAutoHide:f="mobile"}=s.value;return f!=="none"&&(f==="always"||l.value)}),i=k(()=>s.value.navbarLayout||{start:["Brand"],center:["Links"],end:["Language","Repo","Outlook","Search"]}),c={Brand:M6,Language:ca,Links:O6,Repo:P6,Outlook:D6,Search:dt("Docsearch")?ut("Docsearch"):dt("SearchBox")?ut("SearchBox"):ca},u=f=>c[f]??(dt(f)?ut(f):ca);return()=>{var f,p,d,h,m,_;return[r("header",{key:"navbar",id:"navbar",class:["vp-navbar",{"auto-hide":o.value,"hide-icon":s.value.navbarIcon===!1}]},[r("div",{class:"vp-navbar-start"},[r(N6,{onToggle:()=>{a.value&&(a.value=!1),t("toggleSidebar")}}),(f=n.startBefore)==null?void 0:f.call(n),(i.value.start||[]).map(b=>r(u(b))),(p=n.startAfter)==null?void 0:p.call(n)]),r("div",{class:"vp-navbar-center"},[(d=n.centerBefore)==null?void 0:d.call(n),(i.value.center||[]).map(b=>r(u(b))),(h=n.centerAfter)==null?void 0:h.call(n)]),r("div",{class:"vp-navbar-end"},[(m=n.endBefore)==null?void 0:m.call(n),(i.value.end||[]).map(b=>r(u(b))),(_=n.endAfter)==null?void 0:_.call(n),r(R6,{active:a.value,onToggle:()=>{a.value=!a.value}})])]),r(I6,{show:a.value,onClose:()=>{a.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 xs=(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(s=>xs(e,s)):!1,f1=(e,t)=>t.type==="group"?t.children.some(n=>n.type==="group"?f1(e,n):n.type==="page"&&xs(e,n,!0))||"prefix"in t&&Lu(e,t.prefix):!1;var B6=H({name:"SidebarChild",props:{config:{type:Object,required:!0}},setup(e){const t=sn();return()=>Le(e.config.link)?r(Je,{class:["vp-sidebar-link","vp-sidebar-page",{active:xs(t,e.config,!0)}],exact:!0,config:e.config}):r("p",e,[r(Ve,{icon:e.config.icon}),e.config.text])}}),j6=H({name:"SidebarGroup",props:{config:{type:Object,required:!0},open:{type:Boolean,required:!0}},emits:["toggle"],setup(e,{emit:t}){const n=sn(),s=k(()=>xs(n,e.config)),l=k(()=>xs(n,e.config,!0));return()=>{const{collapsible:a,children:o=[],icon:i,prefix:c,link:u,text:f}=e.config;return r("section",{class:"vp-sidebar-group"},[r(a?"button":"p",{class:["vp-sidebar-header",{clickable:a||u,exact:l.value,active:s.value}],...a?{type:"button",onClick:()=>t("toggle"),onKeydown:p=>{p.key==="Enter"&&t("toggle")}}:{}},[r(Ve,{icon:i}),u?r(Je,{class:"vp-sidebar-title",config:{text:f,link:u},noExternalLinkIcon:!0}):r("span",{class:"vp-sidebar-title"},f),a?r("span",{class:["vp-arrow",e.open?"down":"end"]}):null]),e.open||!a?r(p1,{key:c,config:o}):null])}}}),p1=H({name:"SidebarLinks",props:{config:{type:Array,required:!0}},setup(e){const t=sn(),n=G(-1),s=l=>{n.value=l===n.value?-1:l};return le(()=>t.path,()=>{const l=e.config.findIndex(a=>f1(t,a));n.value=l},{immediate:!0,flush:"post"}),()=>r("ul",{class:"vp-sidebar-links"},e.config.map((l,a)=>r("li",l.type==="group"?r(j6,{config:l,open:a===n.value,onToggle:()=>s(a)}):r(B6,{config:l}))))}}),z6=H({name:"SideBar",slots:Object,setup(e,{slots:t}){const n=sn(),s=ae(),l=Ao(),a=Ae();return pe(()=>{le(()=>n.hash,o=>{const i=document.querySelector(`.vp-sidebar a.vp-sidebar-link[href="${n.path}${o}"]`);if(!i)return;const{top:c,height:u}=a.value.getBoundingClientRect(),{top:f,height:p}=i.getBoundingClientRect();f<c?i.scrollIntoView(!0):f+p>c+u&&i.scrollIntoView(!1)},{immediate:!0})}),()=>{var o,i,c;return r("aside",{ref:a,id:"sidebar",class:["vp-sidebar",{"hide-icon":s.value.sidebarIcon===!1}],key:"sidebar"},[(o=t.top)==null?void 0:o.call(t),((i=t.default)==null?void 0:i.call(t))||r(p1,{config:l.value}),(c=t.bottom)==null?void 0:c.call(t)])}}}),$o=H({name:"CommonWrapper",props:{containerClass:{type:String,default:""},noNavbar:Boolean,noSidebar:Boolean,noToc:Boolean},slots:Object,setup(e,{slots:t}){const n=gn(),s=he(),l=ve(),a=ae(),{isMobile:o,isPC:i}=Bs(),[c,u]=_s(!1),[f,p]=_s(!1),d=Ao(),h=G(!1),m=k(()=>e.noNavbar||l.value.navbar===!1||a.value.navbar===!1?!1:!!(s.value.title||a.value.logo||a.value.repo||a.value.navbar)),_=k(()=>e.noSidebar?!1:l.value.sidebar!==!1&&d.value.length!==0&&!l.value.home),b=k(()=>e.noToc||l.value.home?!1:l.value.toc||a.value.toc!==!1&&l.value.toc!==!1),y={x:0,y:0},C=x=>{y.x=x.changedTouches[0].clientX,y.y=x.changedTouches[0].clientY},w=x=>{const N=x.changedTouches[0].clientX-y.x,M=x.changedTouches[0].clientY-y.y;Math.abs(N)>Math.abs(M)*1.5&&Math.abs(N)>40&&(N>0&&y.x<=80?u(!0):u(!1))},S=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;let R=0;return Se("scroll",Td(()=>{const x=S();x<=58||x<R?h.value=!1:R+200<x&&!c.value&&(h.value=!0),R=x},300,!0)),le(o,x=>{x||u(!1)}),pe(()=>{const x=ko(document.body);le(c,M=>{x.value=M});const N=n.afterEach(()=>{u(!1)});tn(()=>{x.value=!1,N()})}),()=>r(dt("GlobalEncrypt")?ut("GlobalEncrypt"):ku,()=>r("div",{class:["theme-container",{"no-navbar":!m.value,"no-sidebar":!_.value&&!(t.sidebar||t.sidebarTop||t.sidebarBottom),"has-toc":b.value,"hide-navbar":h.value,"sidebar-collapsed":!o.value&&!i.value&&f.value,"sidebar-open":o.value&&c.value},e.containerClass,l.value.containerClass||""],onTouchStart:C,onTouchEnd:w},[m.value?r(H6,{onToggleSidebar:()=>u()},{startBefore:()=>{var x;return(x=t.navbarStartBefore)==null?void 0:x.call(t)},startAfter:()=>{var x;return(x=t.navbarStartAfter)==null?void 0:x.call(t)},centerBefore:()=>{var x;return(x=t.navbarCenterBefore)==null?void 0:x.call(t)},centerAfter:()=>{var x;return(x=t.navbarCenterAfter)==null?void 0:x.call(t)},endBefore:()=>{var x;return(x=t.navbarEndBefore)==null?void 0:x.call(t)},endAfter:()=>{var x;return(x=t.navbarEndAfter)==null?void 0:x.call(t)},screenTop:()=>{var x;return(x=t.navScreenTop)==null?void 0:x.call(t)},screenBottom:()=>{var x;return(x=t.navScreenBottom)==null?void 0:x.call(t)}}):null,r(en,{name:"fade"},()=>c.value?r("div",{class:"vp-sidebar-mask",onClick:()=>u(!1)}):null),r(en,{name:"fade"},()=>o.value?null:r("div",{class:"toggle-sidebar-wrapper",onClick:()=>p()},r("span",{class:["arrow",f.value?"end":"start"]}))),r(z6,{},{...t.sidebar?{default:()=>t.sidebar()}:{},top:()=>{var x;return(x=t.sidebarTop)==null?void 0:x.call(t)},bottom:()=>{var x;return(x=t.sidebarBottom)==null?void 0:x.call(t)}}),t.default(),r(x6)]))}}),ue=H({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=l=>{l.style.transition=`transform ${e.duration}s ease-in-out ${e.delay}s, opacity ${e.duration}s ease-in-out ${e.delay}s`,l.style.transform="translateY(-20px)",l.style.opacity="0"},s=l=>{l.style.transform="translateY(0)",l.style.opacity="1"};return()=>r(e.type==="single"?en:kf,{name:"drop",appear:e.appear,onAppear:n,onAfterAppear:s,onEnter:n,onAfterEnter:s,onBeforeLeave:n},()=>t.default())}});const Na=({custom:e})=>r(Uc,{class:["theme-hope-content",{custom:e}]});Na.displayName="MarkdownContent",Na.props={custom:Boolean};var Io=Na;const d1=()=>r(fe,{name:"author"},()=>r("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"}));d1.displayName="AuthorIcon";const h1=()=>r(fe,{name:"calendar"},()=>r("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"}));h1.displayName="CalendarIcon";const v1=()=>r(fe,{name:"category"},()=>r("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"}));v1.displayName="CategoryIcon";const m1=()=>r(fe,{name:"print"},()=>r("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"}));m1.displayName="PrintIcon";const g1=()=>r(fe,{name:"tag"},()=>r("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"}));g1.displayName="TagIcon";const y1=()=>r(fe,{name:"timer"},()=>r("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"}));y1.displayName="TimerIcon";const b1=()=>r(fe,{name:"word"},()=>[r("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"}),r("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"})]);b1.displayName="WordIcon";const ln=()=>{const e=ae();return k(()=>e.value.metaLocales)};var F6=H({name:"AuthorInfo",inheritAttrs:!1,props:{author:{type:Array,required:!0},pure:Boolean},setup(e){const t=ln();return()=>e.author.length?r("span",{class:"page-author-info","aria-label":`${t.value.author}${e.pure?"":"🖊"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[r(d1),r("span",e.author.map(n=>n.url?r("a",{class:"page-author-item",href:n.url,target:"_blank",rel:"noopener noreferrer"},n.name):r("span",{class:"page-author-item"},n.name))),r("span",{property:"author",content:e.author.map(n=>n.name).join(", ")})]):null}}),V6=H({name:"CategoryInfo",inheritAttrs:!1,props:{category:{type:Array,required:!0},pure:Boolean},setup(e){const t=ln(),n=wn();return()=>e.category.length?r("span",{class:"page-category-info","aria-label":`${t.value.category}${e.pure?"":"🌈"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[r(v1),e.category.map(({name:s,path:l})=>r("span",{class:["page-category-item",{[`category${Ml(s,9)}`]:!e.pure,clickable:l}],role:l?"navigation":"",onClick:()=>{l&&n(l)}},s)),r("meta",{property:"articleSection",content:e.category.map(({name:s})=>s).join(",")})]):null}}),U6=H({name:"DateInfo",inheritAttrs:!1,props:{date:{type:Object,default:null},localizedDate:{type:String,default:""},pure:Boolean},setup(e){const t=mo(),n=ln();return()=>e.date?r("span",{class:"page-date-info","aria-label":`${n.value.date}${e.pure?"":"📅"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[r(h1),r("span",r(Al,()=>e.localizedDate||e.date.toLocaleDateString(t.value))),r("meta",{property:"datePublished",content:e.date.toISOString()||""})]):null}}),q6=H({name:"OriginalInfo",inheritAttrs:!1,props:{isOriginal:Boolean},setup(e){const t=ln();return()=>e.isOriginal?r("span",{class:"page-original-info"},t.value.origin):null}}),G6=H({name:"ReadingTimeInfo",inheritAttrs:!1,props:{readingTime:{type:Object,default:()=>null},readingTimeLocale:{type:Object,default:()=>null},pure:Boolean},setup(e){const t=ln(),n=k(()=>{if(!e.readingTime)return null;const{minutes:s}=e.readingTime;return s<1?"PT1M":`PT${Math.round(s)}M`});return()=>{var s,l;return(s=e.readingTimeLocale)!=null&&s.time?r("span",{class:"page-reading-time-info","aria-label":`${t.value.readingTime}${e.pure?"":"⌛"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[r(y1),r("span",(l=e.readingTimeLocale)==null?void 0:l.time),r("meta",{property:"timeRequired",content:n.value})]):null}}}),W6=H({name:"TagInfo",inheritAttrs:!1,props:{tag:{type:Array,default:()=>[]},pure:Boolean},setup(e){const t=ln(),n=wn();return()=>e.tag.length?r("span",{class:"page-tag-info","aria-label":`${t.value.tag}${e.pure?"":"🏷"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[r(g1),e.tag.map(({name:s,path:l})=>r("span",{class:["page-tag-item",{[`tag${Ml(s,9)}`]:!e.pure,clickable:l}],role:l?"navigation":"",onClick:()=>{l&&n(l)}},s)),r("meta",{property:"keywords",content:e.tag.map(({name:s})=>s).join(",")})]):null}}),K6=H({name:"ReadTimeInfo",inheritAttrs:!1,props:{readingTime:{type:Object,default:()=>null},readingTimeLocale:{type:Object,default:()=>null},pure:Boolean},setup(e){const t=ln();return()=>{var n,s,l;return(n=e.readingTimeLocale)!=null&&n.words?r("span",{class:"page-word-info","aria-label":`${t.value.words}${e.pure?"":"🔠"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[r(b1),r("span",(s=e.readingTimeLocale)==null?void 0:s.words),r("meta",{property:"wordCount",content:(l=e.readingTime)==null?void 0:l.words})]):null}}}),w1=H({name:"PageInfo",components:{AuthorInfo:F6,CategoryInfo:V6,DateInfo:U6,OriginalInfo:q6,PageViewInfo:()=>null,ReadingTimeInfo:G6,TagInfo:W6,WordInfo:K6},props:{items:{type:[Array,Boolean],default:()=>["Author","Original","Date","PageView","ReadingTime","Category","Tag"]},info:{type:Object,required:!0}},setup(e){const t=bn();return()=>e.items?r("div",{class:"page-info"},e.items.map(n=>r(ut(`${n}Info`),{...e.info,pure:t.value}))):null}}),Y6=H({name:"PrintButton",setup(){const e=Dt(),t=ae();return()=>e.value.print===!1?null:r("button",{type:"button",class:"print-button",title:t.value.metaLocales.print,onClick:()=>{window.print()}},r(m1))}}),k1=H({name:"TOC",props:{items:{type:Array,default:()=>[]},headerDepth:{type:Number,default:2}},slots:Object,setup(e,{slots:t}){const n=sn(),s=he(),l=ln(),[a,o]=_s(),i=Ae(),c=G("-1.7rem"),u=p=>{var d;(d=i.value)==null||d.scrollTo({top:p,behavior:"smooth"})},f=()=>{if(i.value){const p=document.querySelector(".vp-toc-item.active");p?c.value=`${p.getBoundingClientRect().top-i.value.getBoundingClientRect().top+i.value.scrollTop}px`:c.value="-1.7rem"}else c.value="-1.7rem"};return pe(()=>{le(()=>n.hash,p=>{if(i.value){const d=document.querySelector(`#toc a.toc-link[href$="${p}"]`);if(!d)return;const{top:h,height:m}=i.value.getBoundingClientRect(),{top:_,height:b}=d.getBoundingClientRect();_<h?u(i.value.scrollTop+_-h):_+b>h+m&&u(i.value.scrollTop+_+b-h-m)}}),le(()=>n.fullPath,f,{flush:"post",immediate:!0})}),()=>{var m,_;const p=({title:b,level:y,slug:C})=>r($e,{to:`#${C}`,class:["vp-toc-link",`level${y}`],onClick:()=>{o()}},()=>b),d=(b,y)=>b.length&&y>0?r("ul",{class:"vp-toc-list"},b.map(C=>{const w=d(C.children,y-1);return[r("li",{class:["vp-toc-item",{active:n.hash===`#${C.slug}`}]},p(C)),w?r("li",w):null]})):null,h=e.items.length?d(e.items,e.headerDepth):s.value.headers?d(s.value.headers,e.headerDepth):null;return h?r("div",{class:"vp-toc-placeholder"},[r("aside",{id:"toc"},[(m=t.before)==null?void 0:m.call(t),r("div",{class:"vp-toc-header",onClick:()=>{o()}},[l.value.toc,r(Y6),r("div",{class:["arrow",a.value?"down":"end"]})]),r("div",{class:["vp-toc-wrapper",a.value?"open":""],ref:i},[h,r("div",{class:"vp-toc-marker",style:{top:c.value}})]),(_=t.after)==null?void 0:_.call(t)])]):null}}}),Mo=H({name:"SkipLink",props:{content:{type:String,default:"main-content"}},setup(e){const t=he(),n=ae(),s=Ae(),l=({target:a})=>{const o=document.querySelector(a.hash);if(o){const i=()=>{o.removeAttribute("tabindex"),o.removeEventListener("blur",i)};o.setAttribute("tabindex","-1"),o.addEventListener("blur",i),o.focus(),window.scrollTo(0,0)}};return pe(()=>{le(()=>t.value.path,()=>s.value.focus())}),()=>[r("span",{ref:s,tabindex:"-1"}),r("a",{href:`#${e.content}`,class:"vp-skip-link sr-only",onClick:l},n.value.routeLocales.skipToContent)]}});let fa=null,es=null;const J6={wait:()=>fa,pending:()=>{fa=new Promise(e=>{es=e})},resolve:()=>{es==null||es(),fa=null,es=null}},_1=()=>J6;var E1=H({name:"FadeSlideY",slots:Object,setup(e,{slots:t}){const{resolve:n,pending:s}=_1();return()=>r(en,{name:"fade-slide-y",mode:"out-in",onBeforeEnter:n,onBeforeLeave:s},()=>{var l;return(l=t.default)==null?void 0:l.call(t)})}});const Q6=(e,t)=>{const n=e.replace(t,"/").split("/"),s=[];let l=fo(t);return n.forEach((a,o)=>{o!==n.length-1?(l+=`${a}/`,s.push({link:l,name:a||"Home"})):a!==""&&(l+=a,s.push({link:l,name:a}))}),s},C1=(e,{slots:t})=>{var p,d;const{bgImage:n,bgImageDark:s,bgImageStyle:l,color:a,description:o,image:i,imageDark:c,header:u,features:f=[]}=e;return r("div",{class:"vp-feature-wrapper"},[n?r("div",{class:["vp-feature-bg",{light:s}],style:[{"background-image":`url(${n})`},l]}):null,s?r("div",{class:"vp-feature-bg dark",style:[{"background-image":`url(${s})`},l]}):null,r("div",{class:"vp-feature",style:a?{color:a}:{}},[((p=t.image)==null?void 0:p.call(t,e))||[i?r("img",{class:["vp-feature-image",{light:c}],src:xe(i),alt:""}):null,c?r("img",{class:"vp-feature-image dark",src:xe(c),alt:""}):null],((d=t.info)==null?void 0:d.call(t,e))||[u?r("h2",{class:"vp-feature-header"},u):null,o?r("p",{class:"vp-feature-description",innerHTML:o}):null],f.length?r("div",{class:"vp-features"},f.map(({icon:h,title:m,details:_,link:b})=>{const y=[r("h3",{class:"vp-feature-title"},[r(Ve,{icon:h}),r("span",{innerHTML:m})]),r("p",{class:"vp-feature-details",innerHTML:_})];return b?Hn(b)?r("a",{class:"vp-feature-item link",href:b,"aria-label":m,target:"_blank"},y):r($e,{class:"vp-feature-item link",to:b,"aria-label":m},()=>y):r("div",{class:"vp-feature-item"},y)})):null])])};C1.displayName="FeaturePanel";var ci=C1,X6=H({name:"HeroInfo",slots:Object,setup(e,{slots:t}){const n=ve(),s=Wn(),l=k(()=>n.value.heroFullScreen??!1),a=k(()=>{const{heroText:u,tagline:f}=n.value;return{text:u??s.value.title??"Hello",tagline:f??s.value.description??"",isFullScreen:l.value}}),o=k(()=>{const{heroText:u,heroImage:f,heroImageDark:p,heroAlt:d,heroImageStyle:h}=n.value;return{image:f?xe(f):null,imageDark:p?xe(p):null,style:h,alt:d||u||"",isFullScreen:l.value}}),i=k(()=>{const{bgImage:u,bgImageDark:f,bgImageStyle:p}=n.value;return{image:Le(u)?xe(u):null,imageDark:Le(f)?xe(f):null,bgStyle:p,isFullScreen:l.value}}),c=k(()=>n.value.actions??[]);return()=>{var u,f,p;return r("header",{class:["vp-hero-info-wrapper",{fullscreen:l.value}]},[((u=t.heroBg)==null?void 0:u.call(t,i.value))||[i.value.image?r("div",{class:["vp-hero-mask",{light:i.value.imageDark}],style:[{"background-image":`url(${i.value.image})`},i.value.bgStyle]}):null,i.value.imageDark?r("div",{class:"vp-hero-mask dark",style:[{"background-image":`url(${i.value.imageDark})`},i.value.bgStyle]}):null],r("div",{class:"vp-hero-info"},[((f=t.heroImage)==null?void 0:f.call(t,o.value))||r(ue,{appear:!0,type:"group"},()=>[o.value.image?r("img",{key:"light",class:["vp-hero-image",{light:o.value.imageDark}],style:o.value.style,src:o.value.image,alt:o.value.alt}):null,o.value.imageDark?r("img",{key:"dark",class:"vp-hero-image dark",style:o.value.style,src:o.value.imageDark,alt:o.value.alt}):null]),((p=t.heroInfo)==null?void 0:p.call(t,a.value))??r("div",{class:"vp-hero-infos"},[a.value.text?r(ue,{appear:!0,delay:.04},()=>r("h1",{id:"main-title"},a.value.text)):null,a.value.tagline?r(ue,{appear:!0,delay:.08},()=>r("p",{id:"main-description",innerHTML:a.value.tagline})):null,c.value.length?r(ue,{appear:!0,delay:.12},()=>r("p",{class:"vp-hero-actions"},c.value.map(d=>r(Je,{class:["vp-hero-action",d.type||"default"],config:d,noExternalLinkIcon:!0},d.icon?{before:()=>r(Ve,{icon:d.icon})}:{})))):null])])])}}});const x1=(e,{slots:t})=>{var d,h,m;const{bgImage:n,bgImageDark:s,bgImageStyle:l,color:a,description:o,image:i,imageDark:c,header:u,highlights:f=[],type:p="un-order"}=e;return r("div",{class:"vp-highlight-wrapper",style:a?{color:a}:{}},[n?r("div",{class:["vp-highlight-bg",{light:s}],style:[{"background-image":`url(${n})`},l]}):null,s?r("div",{class:"vp-highlight-bg dark",style:[{"background-image":`url(${s})`},l]}):null,r("div",{class:"vp-highlight"},[((d=t.image)==null?void 0:d.call(t,e))||[i?r("img",{class:["vp-highlight-image",{light:c}],src:xe(i),alt:""}):null,c?r("img",{class:"vp-highlight-image dark",src:xe(c),alt:""}):null],((h=t.info)==null?void 0:h.call(t,e))||[r("div",{class:"vp-highlight-info-wrapper"},r("div",{class:"vp-highlight-info"},[u?r("h2",{class:"vp-highlight-header",innerHTML:u}):null,o?r("p",{class:"vp-highlight-description",innerHTML:o}):null,((m=t.highlights)==null?void 0:m.call(t,f))||r(p==="order"?"ol":p==="no-order"?"dl":"ul",{class:"vp-highlights"},f.map(({icon:_,title:b,details:y,link:C})=>{const w=[r(p==="no-order"?"dt":"h3",{class:"vp-highlight-title"},[_?r(Ve,{class:"vp-highlight-icon",icon:_}):null,r("span",{innerHTML:b})]),y?r(p==="no-order"?"dd":"p",{class:"vp-highlight-details",innerHTML:y}):null];return r(p==="no-order"?"div":"li",{class:["vp-highlight-item-wrapper",{link:C}]},C?Hn(C)?r("a",{class:"vp-highlight-item link",href:C,"aria-label":b,target:"_blank"},w):r($e,{class:"vp-highlight-item link",to:C,"aria-label":b},()=>w):r("div",{class:"vp-highlight-item"},w))}))]))]])])};x1.displayName="HighlightPanel";var Z6=x1,e5=H({name:"HomePage",slots:Object,setup(e,{slots:t}){const n=bn(),s=ve(),l=k(()=>{const{features:o}=s.value;return Ia(o)?o:null}),a=k(()=>{const{highlights:o}=s.value;return Ia(o)?o:null});return()=>{var o,i,c,u;return r("main",{id:"main-content",class:["vp-project-home ",{pure:n.value}],"aria-labelledby":s.value.heroText===null?"":"main-title"},[(o=t.top)==null?void 0:o.call(t),r(X6),((i=a.value)==null?void 0:i.map(f=>"features"in f?r(ci,f):r(Z6,f)))||(l.value?r(ue,{appear:!0,delay:.24},()=>r(ci,{features:l.value})):null),(c=t.center)==null?void 0:c.call(t),r(ue,{appear:!0,delay:.32},()=>r(Io)),(u=t.bottom)==null?void 0:u.call(t)])}}}),t5=H({name:"BreadCrumb",setup(){const e=he(),t=mt(),n=ve(),s=ae(),l=Ae([]),a=k(()=>(n.value.breadcrumb||n.value.breadcrumb!==!1&&s.value.breadcrumb!==!1)&&l.value.length>1),o=k(()=>n.value.breadcrumbIcon||n.value.breadcrumbIcon!==!1&&s.value.breadcrumbIcon!==!1),i=()=>{const c=Q6(e.value.path,t.value).map(({link:u,name:f})=>{const{path:p,meta:d,notFound:h}=Kn(u);return h||d[Ye.breadcrumbExclude]?null:{title:d[Ye.shortTitle]||d[Ye.title]||f,icon:d[Ye.icon],path:p}}).filter(u=>u!==null);c.length>1&&(l.value=c)};return pe(()=>{le(()=>e.value.path,i,{immediate:!0})}),()=>r("nav",{class:["vp-breadcrumb",{disable:!a.value}]},a.value?r("ol",{vocab:"https://schema.org/",typeof:"BreadcrumbList"},l.value.map((c,u)=>r("li",{class:{"is-active":l.value.length-1===u},property:"itemListElement",typeof:"ListItem"},[r($e,{to:c.path,property:"item",typeof:"WebPage"},()=>[o.value?r(Ve,{icon:c.icon}):null,r("span",{property:"name"},c.title||"Unknown")]),r("meta",{property:"position",content:u+1})]))):[])}});const ui=e=>e===!1||Gn(e)?e:Le(e)?Pn(e,!0):null,Da=(e,t,n)=>{const s=e.findIndex(l=>l.link===t);if(s!==-1){const l=e[s+n];return l!=null&&l.link?l:null}for(const l of e)if("children"in l){const a=Da(l.children,t,n);if(a)return a}return null};var n5=H({name:"PageNav",setup(){const e=ae(),t=ve(),n=Ao(),s=he(),l=wn(),a=k(()=>{const i=ui(t.value.prev);return i===!1?null:i||(e.value.prevLink===!1?null:Da(n.value,s.value.path,-1))}),o=k(()=>{const i=ui(t.value.next);return i===!1?null:i||(e.value.nextLink===!1?null:Da(n.value,s.value.path,1))});return Se("keydown",i=>{i.altKey&&(i.key==="ArrowRight"?o.value&&(l(o.value.link),i.preventDefault()):i.key==="ArrowLeft"&&a.value&&(l(a.value.link),i.preventDefault()))}),()=>a.value||o.value?r("nav",{class:"vp-page-nav"},[a.value?r(Je,{class:"prev",config:a.value},()=>{var i,c;return[r("div",{class:"hint"},[r("span",{class:"arrow start"}),e.value.metaLocales.prev]),r("div",{class:"link"},[r(Ve,{icon:(i=a.value)==null?void 0:i.icon}),(c=a.value)==null?void 0:c.text])]}):null,o.value?r(Je,{class:"next",config:o.value},()=>{var i,c;return[r("div",{class:"hint"},[e.value.metaLocales.next,r("span",{class:"arrow end"})]),r("div",{class:"link"},[(i=o.value)==null?void 0:i.text,r(Ve,{icon:(c=o.value)==null?void 0:c.icon})])]}):null]):null}});const s5={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"},l5=({docsRepo:e,docsBranch:t,docsDir:n,filePathRelative:s,editLinkPattern:l})=>{if(!s)return null;const a=Au(e);let o;return l?o=l:a!==null&&(o=s5[a]),o?o.replace(/:repo/u,nn(e)?e:`https://github.com/${e}`).replace(/:branch/u,t).replace(/:path/u,Ic(`${fo(n)}/${s}`)):null},a5=()=>{const e=ae(),t=he(),n=ve();return k(()=>{const{repo:s,docsRepo:l=s,docsBranch:a="main",docsDir:o="",editLink:i,editLinkPattern:c=""}=e.value;if(!(n.value.editLink??i??!0)||!l)return null;const u=l5({docsRepo:l,docsBranch:a,docsDir:o,editLinkPattern:c,filePathRelative:t.value.filePathRelative});return u?{text:e.value.metaLocales.editLink,link:u}:null})},o5=()=>{const e=Wn(),t=ae(),n=he(),s=ve();return k(()=>{var l,a;return!(s.value.lastUpdated??t.value.lastUpdated??!0)||!((l=n.value.git)!=null&&l.updatedTime)?null:new Date((a=n.value.git)==null?void 0:a.updatedTime).toLocaleString(e.value.lang)})},r5=()=>{const e=ae(),t=he(),n=ve();return k(()=>{var s;return n.value.contributors??e.value.contributors??!0?((s=t.value.git)==null?void 0:s.contributors)??null:null})};var i5=H({name:"PageTitle",setup(){const e=he(),t=ve(),n=ae(),{info:s,items:l}=g6();return()=>r("div",{class:"vp-page-title"},[r("h1",[n.value.titleIcon===!1?null:r(Ve,{icon:t.value.icon}),e.value.title]),r(w1,{info:s.value,...l.value===null?{}:{items:l.value}}),r("hr")])}});const S1=()=>r(fe,{name:"edit"},()=>[r("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"}),r("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"})]);S1.displayName="EditIcon";var c5=H({name:"PageMeta",setup(){const e=ae(),t=a5(),n=o5(),s=r5();return()=>{const{metaLocales:l}=e.value;return r("footer",{class:"page-meta"},[t.value?r("div",{class:"meta-item edit-link"},r(Je,{class:"label",config:t.value},{before:()=>r(S1)})):null,r("div",{class:"meta-item git-info"},[n.value?r("div",{class:"update-time"},[r("span",{class:"label"},`${l.lastUpdated}: `),r(Al,()=>r("span",{class:"info"},n.value))]):null,s.value&&s.value.length?r("div",{class:"contributors"},[r("span",{class:"label"},`${l.contributors}: `),s.value.map(({email:a,name:o},i)=>[r("span",{class:"contributor",title:`email: ${a}`},o),i!==s.value.length-1?",":""])]):null])])}}}),u5=H({name:"NormalPage",slots:Object,setup(e,{slots:t}){const n=ve(),{isDarkmode:s}=js(),l=ae(),a=k(()=>n.value.toc||n.value.toc!==!1&&l.value.toc!==!1);return()=>r("main",{id:"main-content",class:"vp-page"},r(dt("LocalEncrypt")?ut("LocalEncrypt"):ku,()=>{var o,i,c,u;return[(o=t.top)==null?void 0:o.call(t),n.value.cover?r("div",{class:"page-cover"},r("img",{src:xe(n.value.cover),alt:"","no-view":""})):null,r(t5),r(i5),a.value?r(k1,{headerDepth:n.value.headerDepth??l.value.headerDepth??2},{before:()=>{var f;return(f=t.tocBefore)==null?void 0:f.call(t)},after:()=>{var f;return(f=t.tocAfter)==null?void 0:f.call(t)}}):null,(i=t.contentBefore)==null?void 0:i.call(t),r(Io),(c=t.contentAfter)==null?void 0:c.call(t),r(c5),r(n5),dt("CommentService")?r(ut("CommentService"),{darkmode:s.value}):null,(u=t.bottom)==null?void 0:u.call(t)]}))}}),f5=H({name:"Layout",slots:Object,setup(e,{slots:t}){const n=Dt(),s=ae(),l=he(),a=ve(),{isMobile:o}=Bs(),i=k(()=>{var c,u;return((c=s.value.blog)==null?void 0:c.sidebarDisplay)||((u=n.value.blog)==null?void 0:u.sidebarDisplay)||"mobile"});return()=>[r(Mo),r($o,{},{default:()=>{var c;return((c=t.default)==null?void 0:c.call(t))||(a.value.home?r(e5):r(E1,()=>r(u5,{key:l.value.path},{top:()=>{var u;return(u=t.top)==null?void 0:u.call(t)},bottom:()=>{var u;return(u=t.bottom)==null?void 0:u.call(t)},contentBefore:()=>{var u;return(u=t.contentBefore)==null?void 0:u.call(t)},contentAfter:()=>{var u;return(u=t.contentAfter)==null?void 0:u.call(t)},tocBefore:()=>{var u;return(u=t.tocBefore)==null?void 0:u.call(t)},tocAfter:()=>{var u;return(u=t.tocAfter)==null?void 0:u.call(t)}})))},...i.value==="none"?{}:{navScreenBottom:()=>r(ut("BloggerInfo"))},...!o.value&&i.value==="always"?{sidebar:()=>r(ut("BloggerInfo"))}:{}})]}}),p5=H({name:"NotFoundHint",setup(){const e=ae(),t=()=>{const n=e.value.routeLocales.notFoundMsg;return n[Math.floor(Math.random()*n.length)]};return()=>r("div",{class:"not-found-hint"},[r("p",{class:"error-code"},"404"),r("h1",{class:"error-title"},e.value.routeLocales.notFoundTitle),r("p",{class:"error-hint"},t())])}}),d5=H({name:"NotFound",slots:Object,setup(e,{slots:t}){const n=gn(),s=mt(),l=ae();return()=>[r(Mo),r($o,{noSidebar:!0},()=>{var a;return r("main",{id:"main-content",class:"vp-page not-found"},((a=t.default)==null?void 0:a.call(t))||[r(p5),r("div",{class:"actions"},[r("button",{type:"button",class:"action-button",onClick:()=>{window.history.go(-1)}},l.value.routeLocales.back),r("button",{type:"button",class:"action-button",onClick:()=>{n.push(l.value.home??s.value)}},l.value.routeLocales.home)])])})]}});const h5={},v5={category:{"/":{path:"/category/",map:{部署:{path:"/category/部署/",indexes:[0]},使用指南:{path:"/category/使用指南/",indexes:[1,2,3]},使用手册:{path:"/category/使用手册/",indexes:[4,5,6,7,8]}}}},tag:{"/":{path:"/tag/",map:{配置:{path:"/tag/配置/",indexes:[1,2]},部署:{path:"/tag/部署/",indexes:[1,2]},安装:{path:"/tag/安装/",indexes:[3]}}}}},T1=["/deployment/","/deployment/fandq.html","/deployment/config.html","/deployment/install.html","/usage/resource_pack.html","/usage/agreement.html","/usage/basic_command.html","/usage/extra_command.html","/usage/","/store/"],Ha=Ae(v5);mn(Ha);const L1=e=>{const t=he(),n=ve(),s=mt();return k(()=>{var i;const l=e??((i=n.value.blog)==null?void 0:i.key)??"";if(!l)return console.warn("useBlogCategory: key not found"),{path:"/",map:{}};if(!Ha.value[l])throw new Error(`useBlogCategory: key ${l} is invalid`);const a=Ha.value[l][s.value],o={path:a.path,map:{}};for(const c in a.map){const u=a.map[c];o.map[c]={path:u.path,items:[]};for(const f of u.indexes){const{path:p,meta:d}=Kn(T1[f]);o.map[c].items.push({path:p,info:d})}t.value.path===u.path&&(o.currentItems=o.map[c].items)}return o})},m5={article:{"/":{path:"/article/",indexes:[4,9,1,5,6,7,0,2,3,8]}},star:{"/":{path:"/star/",indexes:[]}},timeline:{"/":{path:"/timeline/",indexes:[4,9,1,5,6,7,0,2,3,8]}}},Ba=Ae(m5);mn(Ba);const Ol=e=>{const t=ve(),n=mt();return k(()=>{var o;const s=e??((o=t.value.blog)==null?void 0:o.key)??"";if(!s)return console.warn("useBlogType: key not found"),{path:"/",items:[]};if(!Ba.value[s])throw new Error(`useBlogType: key ${e} is invalid`);const l=Ba.value[s][n.value],a={path:l.path,items:[]};for(const i of l.indexes){const{path:c,meta:u}=Kn(T1[i]);a.items.push({path:c,info:u})}return a})},Oo=()=>r(fe,{name:"lock"},()=>r("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"}));Oo.displayName="LockIcon";var g5=[];const A1=Symbol.for("categoryMap"),zs=()=>{const e=ge(A1);if(!e)throw new Error("useCategoryMap() is called without provider.");return e},y5=()=>{const e=L1("category");ft(A1,e)},Fs=()=>{const e=Dt(),t=ae();return k(()=>({...e.value.blog,...t.value.blog}))},$1=Symbol.for("tagMap"),Vs=()=>{const e=ge($1);if(!e)throw new Error("useTagMap() is called without provider.");return e},b5=()=>{const e=L1("tag");ft($1,e)},w5=e=>{const t=ae();return k(()=>{const{[Fe.author]:n}=e.value;return n?Cs(n):n===!1?[]:Cs(t.value.author,!1)})},k5=e=>{const t=zs();return k(()=>Mu(e.value[Fe.category]).map(n=>({name:n,path:t.value.map[n].path})))},_5=e=>{const t=Vs();return k(()=>Ou(e.value[Fe.tag]).map(n=>({name:n,path:t.value.map[n].path})))},E5=e=>k(()=>{const{[Fe.date]:t}=e.value;return yo(t)}),C5=e=>{const t=Un(e,"info"),n=Fs(),s=w5(t),l=k5(t),a=_5(t),o=E5(t),i=Gu(),c=k(()=>({author:s.value,category:l.value,date:o.value,localizedDate:t.value[Fe.localizedDate]||"",tag:a.value,isOriginal:t.value[Fe.isOriginal]||!1,readingTime:t.value[Fe.readingTime]||null,readingTimeLocale:t.value[Fe.readingTime]&&i.value?qu(t.value[Fe.readingTime],i.value):null,pageview:e.path})),u=k(()=>n.value.articleInfo);return{info:c,items:u}},I1=Symbol(""),Us=()=>{const e=ge(I1);if(!e)throw new Error("useArticles() is called without provider.");return e},x5=()=>{const e=Ol("article");ft(I1,e)},M1=Symbol(""),Po=()=>{const e=ge(M1);if(!e)throw new Error("useStars() is called without provider.");return e},S5=()=>{const e=Ol("star");ft(M1,e)},O1=Symbol(""),Ro=()=>{const e=ge(O1);if(!e)throw new Error("useTimelines() is called without provider.");return e},T5=()=>{const e=Ol("timeline"),t=k(()=>{const n=[];return e.value.items.forEach(({info:s,path:l})=>{const a=yo(s[Fe.date]);if(a){const o=a.getFullYear(),i=a.getMonth()+1,c=a.getDate();(!n[0]||n[0].year!==o)&&n.unshift({year:o,items:[]}),n[0].items.push({date:`${i}/${c}`,info:s,path:l})}}),{...e.value,config:n.reverse()}});ft(O1,t)},L5=()=>{x5(),y5(),S5(),b5(),T5()};var A5=H({name:"SocialMedia",setup(){const e=Fs(),t=bn(),n=k(()=>{const s=e.value.medias;return s?Ns(s).map(([l,a])=>({name:l,icon:h5[l],url:a})):[]});return()=>n.value.length?r("div",{class:"vp-social-medias"},n.value.map(({name:s,icon:l,url:a})=>r("a",{class:"vp-social-media",href:a,rel:"noopener noreferrer",target:"_blank","aria-label":s,...t.value?{}:{"data-balloon-pos":"up"},innerHTML:l}))):null}}),No=H({name:"BloggerInfo",setup(){const e=Fs(),t=Wn(),n=ae(),s=Us(),l=zs(),a=Vs(),o=Ro(),i=wn(),c=k(()=>{var d;return e.value.name||((d=Cs(n.value.author)[0])==null?void 0:d.name)||t.value.title}),u=k(()=>e.value.avatar||n.value.logo),f=k(()=>n.value.blogLocales),p=k(()=>e.value.intro);return()=>{const{article:d,category:h,tag:m,timeline:_}=f.value,b=[[s.value.path,s.value.items.length,d],[l.value.path,vt(l.value.map).length,h],[a.value.path,vt(a.value.map).length,m],[o.value.path,o.value.items.length,_]];return r("div",{class:"vp-blogger-info",vocab:"https://schema.org/",typeof:"Person"},[r("div",{class:"vp-blogger",...p.value?{style:{cursor:"pointer"},"aria-label":f.value.intro,"data-balloon-pos":"down",role:"link",onClick:()=>i(p.value)}:{}},[u.value?r("img",{class:["vp-blogger-avatar",{round:e.value.roundAvatar}],src:xe(u.value),property:"image",alt:"Blogger Avatar",loading:"lazy"}):null,c.value?r("div",{class:"vp-blogger-name",property:"name"},c.value):null,e.value.description?r("div",{class:"vp-blogger-description",innerHTML:e.value.description}):null,p.value?r("meta",{property:"url",content:xe(p.value)}):null]),r("div",{class:"vp-blog-counts"},b.map(([y,C,w])=>r($e,{class:"vp-blog-count",to:y},()=>[r("div",{class:"count"},C),r("div",w)]))),r(A5)])}}});const Do=()=>r(fe,{name:"category"},()=>r("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"}));Do.displayName="CategoryIcon";const Ho=()=>r(fe,{name:"tag"},()=>r("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"}));Ho.displayName="TagIcon";const Bo=()=>r(fe,{name:"timeline"},()=>r("path",{d:"M511.997 70.568c-243.797 0-441.429 197.633-441.429 441.435 0 243.797 197.632 441.429 441.43 441.429S953.431 755.8 953.431 512.002c0-243.796-197.637-441.434-441.435-441.434zm150.158 609.093-15.605 15.61c-8.621 8.615-22.596 8.615-31.215 0L472.197 552.126c-4.95-4.944-4.34-14.888-4.34-24.677V247.14c0-12.19 9.882-22.07 22.07-22.07h22.07c12.19 0 22.07 9.882 22.07 22.07v273.218l128.088 128.088c8.62 8.62 8.62 22.595 0 31.215zm0 0"}));Bo.displayName="TimelineIcon";const P1=()=>r(fe,{name:"slides"},()=>r("path",{d:"M896 170.667v426.666a85.333 85.333 0 0 1-85.333 85.334h-256v61.184l192.597 115.584-43.861 73.13-148.736-89.173v95.275h-85.334v-95.318l-148.736 89.216-43.861-73.13 192.597-115.627v-61.141h-256A85.333 85.333 0 0 1 128 597.333V170.667H85.333V85.333h853.334v85.334H896zm-682.667 0v426.666h597.334V170.667H213.333zM426.667 512h-85.334V341.333h85.334V512zm128 0h-85.334V256h85.334v256zm128 0h-85.334V384h85.334v128z"}));P1.displayName="SlideIcon";const R1=()=>r(fe,{name:"sticky"},()=>[r("path",{d:"m381.3 733.8l-161.9 118c-5.9 4.5-13.2 6.6-20.1 6.6-8.7 0-17.7-3.4-24.3-10-12.2-12.2-13.9-31.3-3.5-45.2l144.5-195.5-113.6-112.9c-11.1-11.1-13.2-28.4-5.5-42 5.5-8.7 52.1-76.4 155.5-51 1.8 0.3 3.5 0.3 5.6 0.7 4.2 0.3 9 0.7 14.2 1.7 21.9 3.5 60.8-13.9 94.5-42.7 32.3-27.5 53.1-59.4 53.1-81.6 0-5.2 0-10.8-0.3-16-0.7-20.8-2.1-52.8 21.5-76.4 28.1-28.1 72.9-30.6 103.9-5.2 0.6 0.3 1 1 1.7 1.7 16.7 16.3 187.5 187.2 189.3 188.9 14.5 14.6 22.9 34.4 22.9 55.3 0 20.8-8 40.2-22.9 54.8-23.7 23.6-56 22.6-77.1 21.6-4.9 0-10.5-0.4-15.7-0.4-20.8 0-45.8 14.6-70.5 41.3-34.3 37.5-55.5 85.8-53.8 107.7 0.7 6.9 2.1 19.1 2.4 20.8 25 101.4-42.7 147.6-50.7 152.8-13.9 8.4-31.6 6.3-42.7-4.8l-112.1-112.2z"})]);R1.displayName="StickyIcon";const Pl=()=>r(fe,{name:"article"},()=>r("path",{d:"M853.333 938.667H170.667A42.667 42.667 0 0 1 128 896V128a42.667 42.667 0 0 1 42.667-42.667h682.666A42.667 42.667 0 0 1 896 128v768a42.667 42.667 0 0 1-42.667 42.667zm-42.666-85.334V170.667H213.333v682.666h597.334zM298.667 256h170.666v170.667H298.667V256zm0 256h426.666v85.333H298.667V512zm0 170.667h426.666V768H298.667v-85.333zm256-384h170.666V384H554.667v-85.333z"}));Pl.displayName="ArticleIcon";const N1=()=>r(fe,{name:"book"},()=>r("path",{d:"M256 853.333h426.667A85.333 85.333 0 0 0 768 768V256a85.333 85.333 0 0 0-85.333-85.333H469.333a42.667 42.667 0 0 1 0-85.334h213.334A170.667 170.667 0 0 1 853.333 256v512a170.667 170.667 0 0 1-170.666 170.667H213.333A42.667 42.667 0 0 1 170.667 896V128a42.667 42.667 0 0 1 42.666-42.667h128A42.667 42.667 0 0 1 384 128v304.256l61.653-41.088a42.667 42.667 0 0 1 47.36 0l61.654 41.045V256A42.667 42.667 0 0 1 640 256v256a42.667 42.667 0 0 1-66.347 35.499l-104.32-69.547-104.32 69.547A42.667 42.667 0 0 1 298.667 512V170.667H256v682.666z"}));N1.displayName="BookIcon";const D1=()=>r(fe,{name:"link"},()=>r("path",{d:"M460.8 584.533c17.067 17.067 17.067 42.667 0 59.734-17.067 17.066-42.667 17.066-59.733 0-85.334-85.334-85.334-217.6 0-302.934L554.667 192C640 110.933 776.533 110.933 857.6 196.267c81.067 81.066 81.067 213.333 0 294.4l-68.267 64c0-34.134-4.266-68.267-17.066-102.4l21.333-21.334c51.2-46.933 55.467-128 4.267-179.2s-128-55.466-179.2-4.266c-4.267 0-4.267 4.266-4.267 4.266L465.067 401.067c-51.2 51.2-51.2 132.266-4.267 183.466m123.733-183.466C601.6 384 627.2 384 644.267 401.067c85.333 85.333 85.333 217.6 0 302.933l-153.6 149.333C405.333 934.4 268.8 934.4 187.733 849.067c-81.066-81.067-81.066-213.334 0-294.4l68.267-64c0 34.133 4.267 72.533 17.067 102.4L251.733 614.4C204.8 665.6 204.8 746.667 256 793.6c51.2 46.933 123.733 46.933 174.933 0l149.334-149.333c51.2-51.2 51.2-128 0-179.2-12.8-17.067-17.067-46.934 4.266-64z"}));D1.displayName="LinkIcon";const H1=()=>r(fe,{name:"project"},()=>r("path",{d:"M987.456 425.152H864V295.296a36.48 36.48 0 0 0-36.544-36.544h-360l-134.08-128.256A9.344 9.344 0 0 0 327.04 128H36.48A36.48 36.48 0 0 0 0 164.544v676.608a36.48 36.48 0 0 0 36.544 36.544h797.76a36.672 36.672 0 0 0 33.92-22.848L1021.44 475.52a36.48 36.48 0 0 0-33.92-50.304zM82.304 210.304h215.424l136.64 130.752h347.328v84.096H198.848A36.672 36.672 0 0 0 164.928 448L82.304 652.8V210.304zM808.32 795.456H108.544l118.08-292.608h699.904L808.32 795.52z"}));H1.displayName="ProjectIcon";const B1=()=>r(fe,{name:"friend"},()=>r("path",{d:"M860.16 213.333A268.373 268.373 0 0 0 512 186.027a267.52 267.52 0 0 0-348.16 404.48L428.8 855.893a118.613 118.613 0 0 0 166.4 0l264.96-265.386a267.52 267.52 0 0 0 0-377.174zM800 531.627l-264.96 264.96a32.427 32.427 0 0 1-46.08 0L224 530.347a183.04 183.04 0 0 1 0-256 182.187 182.187 0 0 1 256 0 42.667 42.667 0 0 0 60.587 0 182.187 182.187 0 0 1 256 0 183.04 183.04 0 0 1 3.413 256z"}));B1.displayName="FriendIcon";const ja=()=>r(fe,{name:"slide-down"},()=>r("path",{d:"M108.775 312.23c13.553 0 27.106 3.734 39.153 11.806l375.205 250.338 363.641-252.808c32.587-21.624 76.499-12.83 98.123 19.757 21.685 32.467 12.95 76.56-19.576 98.184l-402.854 278.89c-23.733 15.901-54.694 15.962-78.547.12L69.501 442.097c-32.647-21.685-41.441-65.777-19.817-98.304 13.734-20.54 36.201-31.563 59.09-31.563Z"}));ja.displayName="SlideDownIcon";const j1=()=>r("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",class:"empty-icon",viewBox:"0 0 1024 1024",innerHTML:'<defs><linearGradient id="f" x1="512.342" y1="2266.13" x2="512.342" y2="666.063" gradientUnits="userSpaceOnUse"><stop offset=".919" stop-color="#e6e6e6" stop-opacity="0"/><stop offset="1" stop-color="#e6e6e6"/></linearGradient><linearGradient id="g" x1="528.912" y1="774" x2="388.088" y2="612" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ccc"/><stop offset="1" stop-color="#e6e6e6" stop-opacity="0"/></linearGradient><linearGradient id="h" x1="213.219" y1="721.704" x2="251.313" y2="683.61" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#d7d7d7"/><stop offset=".485" stop-color="#fafafa"/><stop offset="1" stop-color="#fafafa"/></linearGradient><linearGradient id="i" x1="724.813" y1="821.718" x2="768.656" y2="777.876" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ccc"/><stop offset="1" stop-color="#fafafa"/></linearGradient><linearGradient id="a" x1="513.493" y1="714.594" x2="471.007" y2="544.188" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#999"/><stop offset="1" stop-color="#ccc"/></linearGradient><linearGradient id="b" x1="440.156" y1="564.031" x2="508.594" y2="495.594" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ccc"/><stop offset="1" stop-color="#f0f0f0"/></linearGradient><linearGradient id="l" x1="660.988" y1="754.156" x2="608.637" y2="544.188" xlink:href="#a"/><linearGradient id="m" x1="479.188" y1="774.219" x2="649.782" y2="603.625" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#b3b3b3"/><stop offset="1" stop-color="#e6e6e6"/></linearGradient><linearGradient id="n" x1="447.121" y1="774.219" x2="394.661" y2="563.813" xlink:href="#a"/><linearGradient id="o" x1="494" y1="597" x2="628" y2="463" xlink:href="#b"/><linearGradient id="d" x1="610.485" y1="604.938" x2="697.298" y2="518.125" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ccc"/><stop offset="1" stop-color="#fff"/></linearGradient><linearGradient id="p" x1="457.438" y1="619.25" x2="353.469" y2="619.25" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#e6e6e6" stop-opacity="0"/><stop offset="1" stop-color="#e6e6e6"/></linearGradient><linearGradient id="q" x1="542.734" y1="674.25" x2="615.672" y2="601.313" xlink:href="#b"/><linearGradient id="c" x1="627.933" y1="358.938" x2="685.192" y2="422.531" gradientUnits="userSpaceOnUse"><stop offset=".4" stop-color="#e6e6e6" stop-opacity=".4"/><stop offset=".443" stop-color="#fff"/><stop offset=".6" stop-color="#ccc"/></linearGradient><linearGradient id="r" x1="618.547" y1="422.531" x2="681.547" y2="359.531" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#e6e6e6"/><stop offset=".761" stop-color="#fff"/><stop offset="1" stop-color="#f0f0f0"/></linearGradient><linearGradient id="s" x1="625" y1="441.5" x2="697" y2="369.5" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ccc"/><stop offset=".761" stop-color="#fff"/><stop offset="1" stop-color="#f0f0f0"/></linearGradient><linearGradient id="t" x1="627.681" y1="361.438" x2="692.257" y2="433.156" xlink:href="#c"/><linearGradient id="u" x1="561.414" y1="735.438" x2="573.149" y2="688.375" xlink:href="#d"/><linearGradient id="v" x1="405" y1="485.875" x2="440" y2="450.875" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ccc"/><stop offset="1" stop-color="#fff" stop-opacity=".702"/></linearGradient><linearGradient id="w" x1="404.61" y1="486.906" x2="441.86" y2="449.656" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ccc"/><stop offset=".495" stop-color="#ccc" stop-opacity=".702"/><stop offset=".498" stop-color="#ccc"/><stop offset="1" stop-color="#fff" stop-opacity=".302"/></linearGradient><radialGradient id="e" cx="329.297" cy="647.578" r="8.172" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fafafa"/><stop offset="1.2" stop-color="#e6e6e6"/></radialGradient><radialGradient id="j" cx="802.297" cy="673.578" r="8.172" xlink:href="#e"/><radialGradient id="k" cx="774.844" cy="642.75" r="5.531" xlink:href="#e"/></defs><path d="M512.33 666.07c441.828 0 800 358.18 800 800.03s-358.172 800.02-800 800.02-800-358.18-800-800.02 358.17-800.03 800-800.03z" style="fill:url(#f);fill-rule:evenodd"/><path d="m272 694 242-82 131 119-188 43z" style="fill:url(#g);fill-rule:evenodd"/><path fill="#b3b3b3" fill-rule="evenodd" d="M232.391 723.534a2.4 2.4 0 0 1 2.4 2.4v17.725a2.4 2.4 0 0 1-4.8 0v-17.725a2.4 2.4 0 0 1 2.4-2.4z"/><path d="M232.255 676.559c10.33 0 17.067 15.408 18.7 28.493 1.619 12.942-2.372 23.694-18.7 23.694-16.878 0-20.213-10.733-18.7-23.694 1.633-14.061 8.37-28.493 18.7-28.493z" style="fill:url(#h);fill-rule:evenodd"/><path fill="#b3b3b3" fill-rule="evenodd" d="M745.853 826h.938a2.4 2.4 0 0 1 2.4 2.4v22.238a2.4 2.4 0 0 1-2.4 2.4h-.938a2.4 2.4 0 0 1-2.4-2.4V828.4a2.4 2.4 0 0 1 2.4-2.4z"/><path d="M746.727 830.3c-19.438 0-23.278-9.326-21.541-20.59a34.467 34.467 0 0 1 3.289-10.369 16.628 16.628 0 0 1 0-9.112c2.889-12.327 12.059-20.911 18.356-20.911 6.56 0 15.468 9.1 18.356 20.911a14.589 14.589 0 0 1-.335 9.217 34.36 34.36 0 0 1 3.419 10.264c1.861 11.243-2.735 20.59-21.544 20.59z" style="fill:url(#i);fill-rule:evenodd"/><path fill="#ccc" fill-rule="evenodd" d="M328.841 654.562a6.571 6.571 0 0 0-5.2-5.027q-4.107-.952-.034-2.045a6.571 6.571 0 0 0 5.027-5.2q.952-4.109 2.045-.035a6.569 6.569 0 0 0 5.2 5.027q4.109.954.035 2.045a6.569 6.569 0 0 0-5.027 5.2q-.955 4.108-2.046.035z"/><path d="M328.383 653.73a6.567 6.567 0 0 0-5.2-5.027q-4.109-.954-.035-2.045a6.568 6.568 0 0 0 5.027-5.2q.954-4.107 2.046-.034a6.568 6.568 0 0 0 5.2 5.027q4.107.952.035 2.045a6.568 6.568 0 0 0-5.027 5.2q-.954 4.104-2.046.034z" style="fill:url(#e);fill-rule:evenodd"/><path fill="#ccc" fill-rule="evenodd" d="M801.841 680.562a6.571 6.571 0 0 0-5.2-5.027q-4.107-.952-.034-2.045a6.571 6.571 0 0 0 5.027-5.2q.952-4.109 2.045-.035a6.569 6.569 0 0 0 5.2 5.027q4.108.954.035 2.045a6.569 6.569 0 0 0-5.027 5.2q-.955 4.108-2.046.035z"/><path d="M801.383 679.73a6.567 6.567 0 0 0-5.2-5.027q-4.108-.954-.035-2.045a6.568 6.568 0 0 0 5.027-5.2q.954-4.107 2.046-.034a6.568 6.568 0 0 0 5.2 5.027q4.107.952.035 2.045a6.568 6.568 0 0 0-5.027 5.2q-.954 4.104-2.046.034z" style="fill:url(#j);fill-rule:evenodd"/><path d="M774.21 646.9a4.446 4.446 0 0 0-3.517-3.4q-2.778-.643-.023-1.383a4.443 4.443 0 0 0 3.4-3.517q.645-2.778 1.383-.023a4.443 4.443 0 0 0 3.517 3.4q2.778.645.023 1.383a4.446 4.446 0 0 0-3.4 3.517q-.645 2.78-1.383.023z" style="fill:url(#k);fill-rule:evenodd"/><path d="m385.6 714.6.158-150.658L598.9 544.174l-.158 150.658z" style="fill:url(#a);fill-rule:evenodd"/><path d="m385.474 564.031 214.763-19.383-36.171-49.067-215.559 17.634z" style="fill:url(#b);fill-rule:evenodd"/><path d="m598.744 694.832.156-150.658 71.975 59.319-.158 150.658z" style="fill:url(#l);fill-rule:evenodd"/><path d="m457.064 774.209.158-150.658 214.691-19.914-.158 150.663z" style="fill:url(#m);fill-rule:evenodd"/><path d="m384.566 714.459.158-150.659 72.5 59.75-.158 150.658z" style="fill:url(#n);fill-rule:evenodd"/><path d="M494 640s75.357-58.4 42-83-38.887 1.663-37 14 53.847 12.465 54-26c.2-49.979 75-125 75-125" style="fill:none;stroke-width:3px;stroke-dasharray:12 6;stroke:url(#o);fill-rule:evenodd"/><path d="m670.275 604.939-72.041-59.9 38.476-26.909 72.86 58.159z" style="fill:url(#d);fill-rule:evenodd"/><path d="m425.5 674.383-72.042-59.9 31.109-50.347 72.86 58.16z" style="fill:url(#p);fill-rule:evenodd"/><path d="m487.918 674.235 214.482-22.57-31.1-50.346-215.309 20.833z" style="fill:url(#q);fill-rule:evenodd"/><path style="fill:#fff;fill-rule:evenodd" d="m697.363 358.927-69.58 62.511-12.035 1.082z"/><path d="m697.363 358.927-69.58 62.511-12.035 1.082z" style="fill:url(#c);fill-rule:evenodd"/><path d="M615.748 422.52 604 413l92.089-53.46" style="fill:url(#r);fill-rule:evenodd"/><path d="m625 432 12 18 60-89" style="fill:url(#s);fill-rule:evenodd"/><path d="m626.98 421.335-2.471 11.828 70.918-71.735" style="fill:#fff;fill-rule:evenodd"/><path d="m626.98 421.335-2.471 11.828 70.918-71.735" style="fill:url(#t);fill-rule:evenodd"/><path d="m494.814 735.44 21.293-2.1v-6.613l-13.4 1.319v-6.965l10.977-1.08v-6.613l-10.977 1.08v-6.084l12.917-1.27v-6.525l-20.808 2.047v32.8zM521 732.863l7.054-.694v-11.241a106.361 106.361 0 0 0-1.014-11.274l.176-.017 2.645 7.586 4.453 11.553 4.32-.425 4.408-12.424 2.733-8.116.177-.018a111.811 111.811 0 0 0-1.014 11.474v11.241l7.185-.707V697l-8.552.841-5.025 14.646c-.618 1.956-1.147 4.08-1.808 6.173l-.22.022c-.617-1.968-1.146-3.987-1.808-5.818l-5.2-13.639-8.508.837v32.8zm37.213-3.661 7.891-.776v-10.889l3.835-.377c6.922-.681 12.961-4.714 12.961-12.517 0-8.111-5.951-10.082-13.181-9.371l-11.504 1.128v32.8zm7.891-17.881v-9.478l3.218-.316c3.792-.373 5.908.565 5.908 3.871 0 3.218-1.852 5.208-5.687 5.585zM594 725.682l7.891-.777v-26.274l8.905-.876v-6.524l-25.657 2.524v6.524l8.861-.871v26.274zm27.991-2.754 7.847-.772v-11.594l9.919-22.18-8.244.811-2.733 7.542c-.925 2.56-1.807 4.939-2.733 7.587l-.176.018c-.926-2.466-1.764-4.676-2.645-7.058l-2.734-7-8.375.824 9.874 20.233v11.594z" style="fill:url(#u);fill-rule:evenodd"/><path fill="#ccc" fill-rule="evenodd" d="M408.938 457.309a17.5 17.5 0 0 0 21.374 26.725 17.5 17.5 0 1 1-16.306-30.955 17.442 17.442 0 0 0-5.068 4.23z"/><circle cx="422.5" cy="468.375" r="17.5" style="fill:url(#v)"/><path fill="#ccc" fill-rule="evenodd" d="M391.76 451.5c-2.358 4.419 9.827 15.52 27.215 24.8 15.131 8.071 29.212 12.1 34.166 10.093-4.191 2.772-18.943-1.24-34.86-9.73-17.388-9.275-29.573-20.376-27.215-24.8a2.96 2.96 0 0 1 1.585-1.3 2.606 2.606 0 0 0-.891.937z"/><path d="M418.975 476.29c-17.388-9.275-29.573-20.376-27.215-24.8s18.363-.484 35.751 8.791 29.572 20.376 27.215 24.8-18.364.483-35.751-8.791zm31.634 5.732c1.824-3.42-8.789-12.642-23.7-20.6s-28.486-11.633-30.31-8.213 8.789 12.642 23.7 20.6 28.486 11.633 30.31 8.213zm-36.645-29.008-2.775 1.452.032 1.751 28.637 14.183.266-4.559z" style="fill:url(#w);fill-rule:evenodd"/><g class="people"><path style="fill:#f8cfad;fill-rule:evenodd" d="m612.131 676.5 1.362 3.532 3.255-2.324-1.361-3.532zM629.131 665.5l1.362 3.532 3.255-2.324-1.361-3.532z"/><path style="fill:#141a33;fill-rule:evenodd" d="m617.764 678.184-3.162-.078a11.028 11.028 0 0 0-1.034 3.454c-.258 2.006-1.177 5-.449 5.367 1.5 2.659 4.118-.215 4.118-.215s2.187-2.848 1.925-5.265c-.106-.973-1.181-1.869-1.398-3.263zM633.781 665.855l3.019.945a11.008 11.008 0 0 1-.137 3.6c-.4 1.981-.179 4.166-.986 4.277-2.283 2.03-3.827-1.533-3.827-1.533s-1.473-2.456-.444-4.659c.412-.88 1.718-1.385 2.375-2.63z"/><path style="fill:#f0c5a8;fill-rule:evenodd" d="M599.935 592.534s10.293 9.761 11.95 7.564 3.536-3.463-6.758-13.65z"/><path style="fill:#f8cfad;fill-rule:evenodd" d="M611.3 596.361c1.674-1.105 11.5 7.048 14.5 11.774s-12.705-4.36-14.632-6.776-1.54-3.893.132-4.998z"/><path style="fill:#f8cfad;fill-rule:evenodd" d="M621.815 607.988s1.809 2.549 2.433 1.756 2.475-1.064 2.449-1.138.1-.819 1.288-2.331-3.8-3.632-5.81-.494a2.556 2.556 0 0 0-.36 2.207z"/><path fill="#232c57" fill-rule="evenodd" d="M598 617s14.968-5.618 17 7a150.235 150.235 0 0 1 2 22s12.666 11.836 16 19c0 0-4.753-1.629-4 2 0 0-18.132-14.647-19-19s-9.148-18.716-12-31z"/><path d="M589 622s14.968-5.618 17 7a150.235 150.235 0 0 1 2 22s4.666 17.836 8 25c0 0-4.753-1.629-4 2 0 0-10.132-20.647-11-25s-9.148-18.716-12-31z" style="fill:#292966;fill-rule:evenodd"/><path style="fill:#f0c5a8;fill-rule:evenodd" d="M585.626 597.7s-10.292 9.761-11.95 7.563-3.536-3.463 6.758-13.65z"/><path style="fill:#f8cfad;fill-rule:evenodd" d="M574.259 601.529c-1.675-1.105-11.5 7.049-14.5 11.774s12.7-4.36 14.631-6.775 1.543-3.894-.131-4.999z"/><path style="fill:#f0c5a8;fill-rule:evenodd" d="M591.715 577.752s-.606 1.681 1.48 3.716-3.615 5.307-4.645 2.85-.48-2.716-.48-2.716z"/><path style="fill:#f8cfad;fill-rule:evenodd" d="M583.527 574.123c-.839 1.043.491 3.873 1.453 5.449s2.749 2.833 3.364 2.428 4.088-2.657 4-4-.228-3.4-.228-3.4 2.562-1.641 2.154-2.916-2.916-.154-2.916-.154a15.853 15.853 0 0 0-.227-2.224c-.189-.929-6.887-1.445-7.827 2.6s.558 1.805.227 2.217z"/><path fill="#232c57" fill-rule="evenodd" d="M584.227 567.758c2.1-.885 7.2-3.684 10.125.318s.842 4.385.989 5.294-1.894 5.69-1.341 6.63-3.865.8-4.657-1.179-2.844-.539-2.227-1.224-1.3-4.456-2.916-2.154a9.252 9.252 0 0 0 .309-1.38c-.115.192.259-3.257-.673-1.32s-2.1 1.037-3.069.762-1.8-1.118-1.071-1.689c.023-.016 2.436-3.172 4.531-4.058z"/><path d="M589 585c-2.584-.47-10.055.362-13 13 0 0 1.9 3.349 5 4s6 21 6 21 24.016 11.06 27-3c-.07-13.826-8-21-8-21s5.829-3.2 5-6-8.016-10.153-11-10-6 0-6 0-2.416 2.47-5 2z" style="fill:#f6bb07;fill-rule:evenodd"/><path style="fill:#f8cfad;fill-rule:evenodd" d="M563.284 612.581s-.986 2.965-1.814 2.389-2.678-.3-2.675-.374-.333-.755-1.912-1.854 2.577-4.583 5.414-2.167a2.551 2.551 0 0 1 .987 2.006z"/></g>'});j1.displayName="EmptyIcon";var $5=H({name:"ArticleItem",props:{info:{type:Object,required:!0},path:{type:String,required:!0}},slots:Object,setup(e,{slots:t}){const n=Un(e,"info"),{info:s,items:l}=C5(e);return()=>{var d,h,m;const{[Ye.title]:a,[Fe.type]:o,[Fe.isEncrypted]:i=!1,[Fe.cover]:c,[Fe.excerpt]:u,[Fe.sticky]:f}=n.value,p=s.value;return r("div",{class:"vp-article-wrapper"},r("article",{class:"vp-article-item",vocab:"https://schema.org/",typeof:"Article"},[((d=t.cover)==null?void 0:d.call(t,{cover:c}))||(c?[r("img",{class:"vp-article-cover",src:xe(c),alt:"",loading:"lazy"}),r("meta",{property:"image",content:xe(c)})]:[]),f?r(R1):null,r($e,{to:e.path},()=>{var _;return((_=t.title)==null?void 0:_.call(t,{title:a,isEncrypted:i,type:o}))||r("header",{class:"vp-article-title"},[i?r(Oo):null,o===Qu.slide?r(P1):null,r("span",{property:"headline"},a)])}),((h=t.excerpt)==null?void 0:h.call(t,{excerpt:u}))||(u?r("div",{class:"vp-article-excerpt",innerHTML:u}):null),r("hr",{class:"vp-article-hr"}),((m=t.info)==null?void 0:m.call(t,{info:p}))||r(w1,{info:p,...l.value?{items:l.value}:{}})]))}}}),I5=H({name:"Pagination",props:{total:{type:Number,default:10},perPage:{type:Number,default:10},current:{type:Number,default:1}},emits:["updateCurrentPage"],setup(e,{emit:t}){let n;const s=ae(),l=G(""),a=k(()=>s.value.paginationLocales),o=k(()=>Math.ceil(e.total/e.perPage)),i=k(()=>!!o.value&&o.value!==1),c=k(()=>o.value<7?!1:e.current>4),u=k(()=>o.value<7?!1:e.current<o.value-3),f=k(()=>{const{current:h}=e;let m=1,_=o.value;const b=[];o.value>=7&&(h<=4&&h<o.value-3?(m=1,_=5):h>4&&h>=o.value-3?(_=o.value,m=o.value-4):o.value>7&&(m=h-2,_=h+2));for(let y=m;y<=_;y++)b.push(y);return b}),p=h=>t("updateCurrentPage",h),d=h=>{const m=parseInt(h,10);m<=o.value&&m>0?p(m):n.pop(`<svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" width="16" height="16"><path d="M64 512a448 448 0 1 0 896 0 448 448 0 1 0-896 0Z" fill="#FA5151"/><path d="m557.3 512 113.1-113.1c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L512 466.7 398.9 353.6c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L466.7 512 353.6 625.1c-12.5 12.5-12.5 32.8 0 45.3 6.2 6.2 14.4 9.4 22.6 9.4s16.4-3.1 22.6-9.4L512 557.3l113.1 113.1c6.2 6.2 14.4 9.4 22.6 9.4s16.4-3.1 22.6-9.4c12.5-12.5 12.5-32.8 0-45.3L557.3 512z" fill="#FFF"/></svg>${a.value.errorText.replace(/\$page/gu,o.value.toString())}`)};return pe(()=>{n=new V3}),()=>r("div",{class:"vp-pagination"},i.value?r("nav",{class:"vp-pagination-list"},[r("div",{class:"vp-pagination-number "},[e.current>1?r("div",{class:"prev",role:"navigation",unselectable:"on",onClick:()=>p(e.current-1)},a.value.prev):null,c.value?[r("div",{role:"navigation",onClick:()=>p(1)},1),r("div",{class:"ellipsis"},"...")]:null,f.value.map(h=>r("div",{key:h,class:{active:e.current===h},role:"navigation",onClick:()=>p(h)},h)),u.value?[r("div",{class:"ellipsis"},"..."),r("div",{role:"navigation",onClick:()=>p(o.value)},o.value)]:null,e.current<o.value?r("div",{class:"next",role:"navigation",unselectable:"on",onClick:()=>p(e.current+1)},a.value.next):null]),r("div",{class:"vp-pagination-nav"},[r("label",{for:"navigation-text"},`${a.value.navigate}: `),r("input",{id:"navigation-text",value:l.value,onInput:({target:h})=>{l.value=h.value},onKeydown:h=>{h.key==="Enter"&&(h.preventDefault(),d(l.value))}}),r("button",{class:"vp-pagination-button",type:"button",role:"navigation",title:a.value.action,onClick:()=>d(l.value)},a.value.action)])]):[])}}),jo=H({name:"ArticleList",props:{items:{type:Array,default:()=>[]}},setup(e){const t=sn(),n=gn(),s=Fs(),l=G(1),a=k(()=>s.value.articlePerPage||10),o=k(()=>e.items.slice((l.value-1)*a.value,l.value*a.value)),i=async c=>{l.value=c;const u={...t.query};!(u.page===c.toString()||c===1&&!u.page)&&(c===1?delete u.page:u.page=c.toString(),await n.push({path:t.path,query:u}))};return pe(()=>{const{page:c}=t.query;i(c?Number(c):1),le(l,()=>{const u=document.querySelector("#article-list").getBoundingClientRect().top+window.scrollY;setTimeout(()=>{window.scrollTo(0,u)},100)})}),()=>r("div",{id:"article-list",class:"vp-article-list",role:"feed"},o.value.length?[...o.value.map(({info:c,path:u},f)=>r(ue,{appear:!0,delay:f*.04},()=>r($5,{key:u,info:c,path:u}))),r(I5,{current:l.value,perPage:a.value,total:e.items.length,onUpdateCurrentPage:i})]:r(j1))}}),z1=H({name:"CategoryList",setup(){const e=he(),t=zs();return()=>r("ul",{class:"vp-category-list"},Ns(t.value.map).sort(([,n],[,s])=>s.items.length-n.items.length).map(([n,{path:s,items:l}])=>r("li",{class:["vp-category",`vp-category${Ml(n,9)}`,{active:s===e.value.path}]},r($e,{to:s},()=>[n,r("span",{class:"count"},l.length)]))))}}),F1=H({name:"TagList",setup(){const e=ve(),t=Vs(),n=s=>{var l;return s===((l=e.value.blog)==null?void 0:l.name)};return()=>r("ul",{class:"tag-list-wrapper"},Ns(t.value.map).sort(([,s],[,l])=>l.items.length-s.items.length).map(([s,{path:l,items:a}])=>r("li",{class:["tag",`tag${Ml(s,9)}`,{active:n(s)}]},r($e,{to:l},()=>[s,r("span",{class:"tag-num"},a.length)]))))}}),M5=H({name:"TimelineList",setup(){const e=ae(),t=Ro(),n=wn(),s=k(()=>e.value.blogLocales.timeline);return()=>r("div",{class:"timeline-list-wrapper"},[r("div",{class:"timeline-list-title",onClick:()=>n(t.value.path)},[r(Bo),r("span",{class:"num"},t.value.items.length),s.value]),r("hr"),r("div",{class:"timeline-content"},r("ul",{class:"timeline-list"},t.value.config.map(({year:l,items:a},o)=>r(ue,{appear:!0,delay:.08*(o+1)},()=>r("li",[r("h3",{class:"timeline-year"},l),r("ul",{class:"timeline-year-wrapper"},a.map(({date:i,info:c,path:u})=>r("li",{class:"timeline-item"},[r("span",{class:"timeline-date"},i),r($e,{class:"timeline-title",to:u},()=>c[Ye.title])])))])))))])}});const O5={article:Pl,category:Do,tag:Ho,timeline:Bo};var V1=H({name:"InfoList",setup(){const e=ae(),t=Us(),n=zs(),s=k(()=>vt(n.value.map).length),l=Po(),a=Vs(),o=k(()=>vt(a.value.map).length),i=wn(),c=G("article"),u=k(()=>e.value.blogLocales);return()=>r("div",{class:"vp-blog-infos"},[r("div",{class:"vp-blog-type-switcher"},Ns(O5).map(([f,p])=>r("button",{type:"button",class:"vp-blog-type-button",onClick:()=>{c.value=f}},r("div",{class:["icon-wrapper",{active:c.value===f}],"aria-label":u.value[f],"data-balloon-pos":"up"},r(p))))),r(ue,()=>c.value==="article"?r("div",{class:"vp-star-article-wrapper"},[r("div",{class:"title",onClick:()=>i(t.value.path)},[r(Pl),r("span",{class:"num"},t.value.items.length),u.value.article]),r("hr"),l.value.items.length?r("ul",{class:"vp-star-articles"},l.value.items.map(({info:f,path:p},d)=>r(ue,{appear:!0,delay:.08*(d+1)},()=>r("li",{class:"vp-star-article"},r($e,{to:p},()=>f[Ye.title]))))):r("div",{class:"vp-star-article-empty"},u.value.empty.replace("$text",u.value.star))]):c.value==="category"?r("div",{class:"vp-category-wrapper"},[s.value?[r("div",{class:"title",onClick:()=>i(n.value.path)},[r(Do),r("span",{class:"num"},s.value),u.value.category]),r("hr"),r(ue,{delay:.04},()=>r(z1))]:r("div",{class:"vp-category-empty"},u.value.empty.replace("$text",u.value.category))]):c.value==="tag"?r("div",{class:"vp-tag-wrapper"},[o.value?[r("div",{class:"title",onClick:()=>i(a.value.path)},[r(Ho),r("span",{class:"num"},o.value),u.value.tag]),r("hr"),r(ue,{delay:.04},()=>r(F1))]:r("div",{class:"vp-tag-empty"},u.value.empty.replace("$text",u.value.tag))]):r(ue,()=>r(M5)))])}}),Rl=H({name:"BlogWrapper",slots:Object,setup(e,{slots:t}){const{isMobile:n}=Bs();return()=>[r(Mo),r($o,{noSidebar:!0,noToc:!0},{default:()=>t.default(),navScreenBottom:()=>r(No),...n.value?{sidebar:()=>r(V1)}:{}})]}});const U1=()=>r("aside",{class:"vp-blog-info-wrapper"},[r(ue,()=>r(No)),r(ue,{delay:.04},()=>r(V1))]);U1.displayName="InfoPanel";var Nl=U1,P5=H({name:"BlogPage",setup(){const e=he(),t=ve(),n=zs(),s=Vs();return()=>{const{key:l="",name:a=""}=t.value.blog||{},o=a?l==="category"?n.value.map[a].items:l==="tag"?s.value.map[a].items:[]:[];return r(Rl,()=>r("div",{class:"vp-page vp-blog"},r("div",{class:"blog-page-wrapper"},[r("main",{id:"main-content",class:"vp-blog-main"},[r(ue,()=>l==="category"?r(z1):l==="tag"?r(F1):null),a?r(ue,{appear:!0,delay:.24},()=>r(jo,{key:e.value.path,items:o})):null]),r(ue,{delay:.16},()=>r(Nl,{key:"blog"}))])))}}});const R5="//theme-hope-assets.vuejs.press/hero/default.jpg";var N5=H({name:"BlogHero",slots:Object,setup(e,{slots:t}){const n=ve(),s=Wn(),l=Ae(),a=k(()=>n.value.heroFullScreen??!1),o=k(()=>{const{heroText:c,heroImage:u,heroImageDark:f,heroAlt:p,heroImageStyle:d,tagline:h}=n.value;return{text:c??s.value.title??"Hello",tagline:h??"",image:u?xe(u):null,imageDark:f?xe(f):null,alt:p||c||"",style:d,isFullScreen:a.value}}),i=k(()=>{const{bgImage:c,bgImageDark:u,bgImageStyle:f}=n.value;return{image:Le(c)?xe(c):c===!1?null:R5,imageDark:Le(u)?xe(u):null,bgStyle:f,isFullScreen:a.value}});return()=>{var c,u;return n.value.hero===!1?null:r("div",{ref:l,class:["vp-blog-hero",{fullscreen:a.value,"no-bg":!i.value.image}]},[((c=t.heroBg)==null?void 0:c.call(t,i.value))||[i.value.image?r("div",{class:["vp-blog-mask",{light:i.value.imageDark}],style:[{background:`url(${i.value.image}) center/cover no-repeat`},i.value.bgStyle]}):null,i.value.imageDark?r("div",{class:"vp-blog-mask dark",style:[{background:`url(${i.value.imageDark}) center/cover no-repeat`},i.value.bgStyle]}):null],((u=t.heroInfo)==null?void 0:u.call(t,o.value))||[r(ue,{appear:!0,type:"group",delay:.04},()=>[o.value.image?r("img",{key:"light",class:["vp-blog-hero-image",{light:o.value.imageDark}],style:o.value.style,src:o.value.image,alt:o.value.alt}):null,o.value.imageDark?r("img",{key:"dark",class:"vp-blog-hero-image dark",style:o.value.style,src:o.value.imageDark,alt:o.value.alt}):null]),r(ue,{appear:!0,delay:.08},()=>o.value.text?r("h1",{class:"vp-blog-hero-title"},o.value.text):null),r(ue,{appear:!0,delay:.12},()=>o.value.tagline?r("p",{class:"vp-blog-hero-description",innerHTML:o.value.tagline}):null)],o.value.isFullScreen?r("button",{type:"button",class:"slide-down-button",onClick:()=>{window.scrollTo({top:l.value.clientHeight,behavior:"smooth"})}},[r(ja),r(ja)]):null])}}});const D5=["link","article","book","project","friend"];var H5=H({name:"ProjectPanel",components:{ArticleIcon:Pl,BookIcon:N1,FriendIcon:B1,LinkIcon:D1,ProjectIcon:H1},props:{items:{type:Array,required:!0}},setup(e){const t=bn(),n=wn(),s=(l="",a="icon")=>D5.includes(l)?r(ut(`${l}-icon`)):nn(l)?r("img",{class:"vp-project-image",src:l,alt:a}):$l(l)?r("img",{class:"vp-project-image",src:xe(l),alt:a}):r(Ve,{icon:l});return()=>r("div",{class:"vp-project-panel"},e.items.map(({icon:l,link:a,name:o,desc:i},c)=>r("div",{class:["vp-project-card",{[`project${c%9}`]:!t.value}],onClick:()=>n(a)},[s(l,o),r("div",{class:"vp-project-name"},o),r("div",{class:"vp-project-desc"},i)])))}}),B5=H({name:"BlogHome",setup(){const e=Us(),t=ve(),n=k(()=>t.value.projects??[]);return()=>r("div",{class:"vp-page vp-blog"},[r(N5),r("div",{class:"blog-page-wrapper"},[r("main",{id:"main-content",class:"vp-blog-main"},[n.value.length?r(ue,{appear:!0,delay:.16},()=>r(H5,{items:n.value})):null,r(ue,{appear:!0,delay:.24},()=>r(jo,{items:e.value.items}))]),r(ue,{appear:!0,delay:.16},()=>r(Nl,{key:"blog"}))]),r(ue,{appear:!0,delay:.28},()=>r(Io))])}});const q1=()=>r(Rl,()=>r(B5));q1.displayName="BlogHomeLayout";var j5=q1,z5=H({name:"ArticleType",setup(){const e=he(),t=mt(),n=ae(),s=Us(),l=Po(),a=k(()=>{const o=n.value.blogLocales;return[{text:o.all,path:s.value.path},{text:o.star,path:l.value.path},...g5.map(({key:i,path:c})=>({text:o[i],path:c.replace(/^\//,t.value)}))]});return()=>r("ul",{class:"vp-article-type-wrapper"},a.value.map(o=>r("li",{class:["vp-article-type",{active:o.path===e.value.path}]},r($e,{to:o.path},()=>o.text))))}}),F5=H({name:"BlogPage",setup(){const e=Ol(),t=ve(),n=he(),s=Us(),l=Po(),a=k(()=>{const{key:o="",type:i}=t.value.blog||{};return o==="star"?l.value.items:i==="type"&&o?e.value.items:s.value.items});return()=>r(Rl,()=>r("div",{class:"vp-page vp-blog"},r("div",{class:"blog-page-wrapper"},[r("main",{id:"main-content",class:"vp-blog-main"},[r(ue,()=>r(z5)),r(ue,{appear:!0,delay:.24},()=>r(jo,{key:n.value.path,items:a.value}))]),r(ue,{delay:.16},()=>r(Nl,{key:"blog"}))])))}}),V5=H({name:"TimelineItems",setup(){const e=Fs(),t=ae(),n=Ro(),s=k(()=>e.value.timeline||t.value.blogLocales.timelineTitle),l=k(()=>n.value.config.map(({year:a})=>({title:a.toString(),level:2,slug:a.toString(),children:[]})));return()=>r("div",{class:"timeline-wrapper"},r("ul",{class:"timeline-content"},[r(ue,()=>r("li",{class:"motto"},s.value)),r(k1,{items:l.value}),n.value.config.map(({year:a,items:o},i)=>r(ue,{appear:!0,delay:.08*(i+1),type:"group"},()=>[r("h3",{key:"title",id:a,class:"timeline-year-title"},r("span",a)),r("li",{key:"content",class:"timeline-year-list"},[r("ul",{class:"timeline-year-wrapper"},o.map(({date:c,info:u,path:f})=>r("li",{class:"timeline-item"},[r("span",{class:"timeline-date"},c),r($e,{class:"timeline-title",to:f},()=>u[Ye.title])])))])]))]))}});const G1=()=>r(Rl,()=>r("div",{class:"vp-page vp-blog"},r("div",{class:"blog-page-wrapper"},[r("main",{id:"main-content",class:"vp-blog-main"},[r(ue,{appear:!0,delay:.24},()=>r(V5))]),r(ue,{delay:.16},()=>r(Nl,{key:"blog"}))])));G1.displayName="Timeline";var U5=G1,q5={};const _n="./ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),pa=Array.from({length:64},(e,t)=>t),al=e=>Array(e).fill(-1),Ft=[...al(46),0,1,...pa.slice(54,64),...al(7),...pa.slice(2,28),...al(6),...pa.slice(28,54),...al(5)],fi=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],pi=[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],W1=[1332899944,1700884034,1701343084,1684370003,1668446532,1869963892],za=(e,t)=>{if(t<=0||t>e.length)throw Error(`Illegal len: ${t}`);let n=0,s,l;const a=[];for(;n<t;){if(s=e[n++]&255,a.push(_n[s>>2&63]),s=(s&3)<<4,n>=t){a.push(_n[s&63]);break}if(l=e[n++]&255,s|=l>>4&15,a.push(_n[s&63]),s=(l&15)<<2,n>=t){a.push(_n[s&63]);break}l=e[n++]&255,s|=l>>6&3,a.push(_n[s&63]),a.push(_n[l&63])}return a.join("")},G5=(e,t)=>{if(t<=0)throw Error(`Illegal len: ${t}`);const n=e.length;let s=0,l=0,a,o,i,c,u,f;const p=[];for(;s<n-1&&l<t&&(f=e.charCodeAt(s++),a=f<Ft.length?Ft[f]:-1,f=e.charCodeAt(s++),o=f<Ft.length?Ft[f]:-1,!(a==-1||o==-1||(u=a<<2>>>0,u|=(o&48)>>4,p.push(String.fromCharCode(u)),++l>=t||s>=n)||(f=e.charCodeAt(s++),i=f<Ft.length?Ft[f]:-1,i==-1)||(u=(o&15)<<4>>>0,u|=(i&60)>>2,p.push(String.fromCharCode(u)),++l>=t||s>=n)));)f=e.charCodeAt(s++),c=f<Ft.length?Ft[f]:-1,u=(i&3)<<6>>>0,u|=c,p.push(String.fromCharCode(u)),++l;return p.map(d=>d.charCodeAt(0))},W5=(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},K5=(e,t)=>{let n,s=null;for(;(n=s!==null?s:e())!==null;){if(n>=55296&&n<=57343&&(s=e())!==null&&s>=56320&&s<=57343){t((n-55296)*1024+s-56320+65536),s=null;continue}t(n)}s!==null&&t(s)},Y5=(e,t)=>{K5(e,function(n){W5(n,t)})},J5=typeof process=="object"&&q5.NEXT_RUNTIME==="edge"?setTimeout:typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:setTimeout,Q5=e=>{const t=[];let n=0;return Y5(()=>n>=e.length?null:e.charCodeAt(n++),s=>{t.push(s)}),t},Ss=(e,t,n,s)=>{let l,a=e[t],o=e[t+1];return a^=n[0],l=s[a>>>24],l+=s[256|a>>16&255],l^=s[512|a>>8&255],l+=s[768|a&255],o^=l^n[1],l=s[o>>>24],l+=s[256|o>>16&255],l^=s[512|o>>8&255],l+=s[768|o&255],a^=l^n[2],l=s[a>>>24],l+=s[256|a>>16&255],l^=s[512|a>>8&255],l+=s[768|a&255],o^=l^n[3],l=s[o>>>24],l+=s[256|o>>16&255],l^=s[512|o>>8&255],l+=s[768|o&255],a^=l^n[4],l=s[a>>>24],l+=s[256|a>>16&255],l^=s[512|a>>8&255],l+=s[768|a&255],o^=l^n[5],l=s[o>>>24],l+=s[256|o>>16&255],l^=s[512|o>>8&255],l+=s[768|o&255],a^=l^n[6],l=s[a>>>24],l+=s[256|a>>16&255],l^=s[512|a>>8&255],l+=s[768|a&255],o^=l^n[7],l=s[o>>>24],l+=s[256|o>>16&255],l^=s[512|o>>8&255],l+=s[768|o&255],a^=l^n[8],l=s[a>>>24],l+=s[256|a>>16&255],l^=s[512|a>>8&255],l+=s[768|a&255],o^=l^n[9],l=s[o>>>24],l+=s[256|o>>16&255],l^=s[512|o>>8&255],l+=s[768|o&255],a^=l^n[10],l=s[a>>>24],l+=s[256|a>>16&255],l^=s[512|a>>8&255],l+=s[768|a&255],o^=l^n[11],l=s[o>>>24],l+=s[256|o>>16&255],l^=s[512|o>>8&255],l+=s[768|o&255],a^=l^n[12],l=s[a>>>24],l+=s[256|a>>16&255],l^=s[512|a>>8&255],l+=s[768|a&255],o^=l^n[13],l=s[o>>>24],l+=s[256|o>>16&255],l^=s[512|o>>8&255],l+=s[768|o&255],a^=l^n[14],l=s[a>>>24],l+=s[256|a>>16&255],l^=s[512|a>>8&255],l+=s[768|a&255],o^=l^n[15],l=s[o>>>24],l+=s[256|o>>16&255],l^=s[512|o>>8&255],l+=s[768|o&255],a^=l^n[16],e[t]=o^n[17],e[t+1]=a,e},Cn=(e,t)=>{let n=0;for(let s=0;s<4;++s)n=n<<8|e[t]&255,t=(t+1)%e.length;return{key:n,offp:t}},di=(e,t,n)=>{const s=t.length,l=n.length;let a=0,o=[0,0],i;for(let c=0;c<s;c++)i=Cn(e,a),a=i.offp,t[c]=t[c]^i.key;for(let c=0;c<s;c+=2)o=Ss(o,0,t,n),t[c]=o[0],t[c+1]=o[1];for(let c=0;c<l;c+=2)o=Ss(o,0,t,n),n[c]=o[0],n[c+1]=o[1]},X5=(e,t,n,s)=>{const l=n.length,a=s.length;let o=0,i=[0,0],c;for(let u=0;u<l;u++)c=Cn(t,o),o=c.offp,n[u]=n[u]^c.key;o=0;for(let u=0;u<l;u+=2)c=Cn(e,o),o=c.offp,i[0]^=c.key,c=Cn(e,o),o=c.offp,i[1]^=c.key,i=Ss(i,0,n,s),n[u]=i[0],n[u+1]=i[1];for(let u=0;u<a;u+=2)c=Cn(e,o),o=c.offp,i[0]^=c.key,c=Cn(e,o),o=c.offp,i[1]^=c.key,i=Ss(i,0,n,s),s[u]=i[0],s[u+1]=i[1]},hi=(e,t,n,s,l)=>{const a=W1.slice(),o=a.length;if(n<4||n>31){const d=new Error(`Illegal number of rounds (4-31): ${n}`);if(s===!1)return Promise.reject(d);throw d}if(t.length!==16){const d=new Error(`Illegal salt length: ${t.length} != 16`);if(s===!1)return Promise.reject(d);throw d}n=1<<n>>>0;let i,c,u=0,f;Int32Array?(i=new Int32Array(fi),c=new Int32Array(pi)):(i=fi.slice(),c=pi.slice()),X5(t,e,i,c);const p=()=>{if(l&&l(u/n),u<n){const d=Date.now();for(;u<n&&(u=u+1,di(e,i,c),di(t,i,c),!(Date.now()-d>100)););}else{for(u=0;u<64;u++)for(f=0;f<o>>1;f++)Ss(a,f<<1,i,c);const d=[];for(u=0;u<o;u++)d.push((a[u]>>24&255)>>>0),d.push((a[u]>>16&255)>>>0),d.push((a[u]>>8&255)>>>0),d.push((a[u]&255)>>>0);return s===!1?Promise.resolve(d):d}if(s===!1)return new Promise(d=>J5(()=>{p().then(d)}))};if(s===!1)return p();{let d;for(;;)if(typeof(d=p())<"u")return d||[]}},Z5=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")}},e8=(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(za(Z5(16),16)),t.join("")};function t8(e,t,n,s){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 l,a;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)==="$")l="\0",a=3;else{if(l=t.charAt(2),l!=="a"&&l!=="b"&&l!=="y"||t.charAt(3)!=="$"){const h=Error("Invalid salt revision: "+t.substring(2,4));if(n===!1)return Promise.reject(h);throw h}a=4}if(t.charAt(a+2)>"$"){const h=new Error("Missing salt rounds");if(n===!1)return Promise.reject(h);throw h}const o=parseInt(t.substring(a,a+1),10)*10,i=parseInt(t.substring(a+1,a+2),10),c=o+i,u=t.substring(a+3,a+25);e+=l>="a"?"\0":"";const f=Q5(e),p=G5(u,16),d=h=>{const m=[];return m.push("$2"),l>="a"&&m.push(l),m.push("$"),c<10&&m.push("0"),m.push(c.toString()),m.push("$"),m.push(za(p,p.length)),m.push(za(h,W1.length*4-1)),m.join("")};return n===!1?hi(f,p,c,!1,s).then(h=>d(h)):d(hi(f,p,c,!0,s))}const n8=(e,t=10)=>{if(typeof t=="number"&&(t=e8(t)),typeof e!="string"||typeof t!="string")throw Error("Illegal arguments: "+typeof e+", "+typeof t);return t8(e,t,!0)},Fa=(e,t)=>{if(typeof e!="string"||typeof t!="string")throw Error("Illegal arguments: "+typeof e+", "+typeof t);return t.length!==60?!1:n8(e,t.substring(0,t.length-31))===t};var K1=H({name:"PasswordModal",props:{full:Boolean},emits:["verify"],setup(e,{emit:t}){const n=ve(),s=ae(),l=G(""),a=G(!1),o=G(!1),i=k(()=>s.value.encryptLocales);let c=null;const u=()=>{c&&clearTimeout(c),a.value=!1,t("verify",l.value,o.value),Rt().then(()=>{a.value=!0,c=setTimeout(()=>{a.value=!1},1e3)})};return()=>r("div",{class:["vp-decrypt-layer",{expand:e.full||n.value.home}]},r("div",{class:"vp-decrypt-modal"},[r("div",{class:["vp-decrypt-hint",{tried:a.value}]},a.value?i.value.errorHint:r(Oo,{"aria-label":i.value.iconLabel})),r("div",{class:"vp-decrypt-input"},[r("input",{type:"password",value:l.value,placeholder:i.value.placeholder,onInput:({target:f})=>{l.value=f.value},onKeydown:({key:f})=>{f==="Enter"&&u()}})]),r("div",{class:"vp-remember-password"},[r("input",{type:"checkbox",value:o.value,onChange:()=>o.value=!o.value}),i.value.remember]),r("button",{type:"button",class:"vp-decrypt-submit",onClick:()=>u()},"OK")]))}});const Y1=()=>{const e=Dt();return k(()=>e.value.encrypt||{})},vi="VUEPRESS_HOPE_GLOBAL_TOKEN",s8=()=>{const e=Y1(),t=yn(vi,""),n=ru(vi,""),s=k(()=>{const{global:a=!1,admin:o=[]}=e.value;return a&&o.length>0}),l=k(()=>{if(s.value){if(t.value)return e.value.admin.some(a=>Fa(t.value,a));if(n.value)return e.value.admin.some(a=>Fa(n.value,a))}return!1});return{isEncrypted:s,isDecrypted:l,validate:(a,o=!1)=>{(o?t:n).value=a}}},da=(e="",t)=>!!e&&Fa(e,t),mi="VUEPRESS_HOPE_PATH_TOKEN",l8=()=>{const e=he(),t=Y1(),n=yn(mi,{}),s=ru(mi,{}),l=o=>Gn(t.value.config)?vt(t.value.config).filter(i=>zn(decodeURI(o),i)).sort((i,c)=>c.length-i.length):[],a=o=>{const i=l(o);if(i.length>0){const{config:c={}}=t.value;return{isEncrypted:!0,isDecrypted:i.some(u=>n.value[u]&&c[u].some(f=>da(n.value[u],f))||s.value[u]&&c[u].some(f=>da(s.value[u],f)))}}return{isDecrypted:!1,isEncrypted:!1}};return{status:k(()=>a(e.value.path)),getStatus:a,validate:(o,i=!1)=>{const{config:c={}}=t.value,u=l(e.value.path);for(const f of u)if(c[f].filter(p=>da(o,p))){(i?n:s).value[f]=o;break}}}};var a8=H({name:"GlobalEncrypt",slots:Object,setup(e,{slots:t}){const{isDecrypted:n,isEncrypted:s,validate:l}=s8(),a=G(!1);return pe(()=>{a.value=!0}),()=>r(E1,()=>s.value?a.value?n.value?t.default():r(K1,{full:!0,onVerify:l}):null:t.default())}}),o8=H({name:"LocalEncrypt",slots:Object,setup(e,{slots:t}){const{status:n,validate:s}=l8(),l=G(!1);return pe(()=>{l.value=!0}),()=>{const{isEncrypted:a,isDecrypted:o}=n.value;return a?l.value?o?t.default():r(K1,{full:!0,onVerify:s}):null:t.default()}}});e3(e=>{const t=e.t,n=e.I!==!1,s=e.i;return n?{title:t,content:s?()=>[r(Ve,{icon:s}),t]:null,order:e.O,index:e.I}:null});const r8=Xe({enhance:({app:e,router:t})=>{const{scrollBehavior:n}=t.options;t.options.scrollBehavior=async(...s)=>(await _1().wait(),n(...s)),w6(e),e.component("HopeIcon",Ve),e.component("BloggerInfo",No),e.component("GlobalEncrypt",a8),e.component("LocalEncrypt",o8)},setup:()=>{k6(),C6(),L5()},layouts:{Layout:f5,NotFound:d5,BlogCategory:P5,BlogHome:j5,BlogType:F5,Timeline:U5}}),i8=e=>(Gi("data-v-8e03f503"),e=e(),Wi(),e),c8={class:"item-card"},u8={class:"item-name"},f8={class:"item-description"},p8={class:"item-bar"},d8=["href"],h8=i8(()=>We("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},[We("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)),v8=[h8],m8=["href"],g8=["src"],y8={class:"author-name"},b8=H({__name:"ItemCard",props:{item:Object},setup(e){const t=e;return(n,s)=>(cs(),_a("div",c8,[We("div",u8,Bl(t.item.name),1),We("div",f8,Bl(t.item.description),1),We("div",p8,[bc(' 三个可点击svg,一个github,一个下载,一个可点击"https://github.com/{{ username }}.png?size=80"个人头像配上id'),We("a",{href:t.item.link,class:""},v8,8,d8),We("div",null,[We("a",{class:"author-info",href:`https://github.com/${t.item.author}`},[We("img",{class:"icon avatar",src:`https://github.com/${t.item.author}.png?size=80`,alt:""},null,8,g8),We("div",y8,Bl(t.item.author),1)],8,m8)])])]))}}),J1=(e,t)=>{const n=e.__vccOpts||e;for(const[s,l]of t)n[s]=l;return n},w8=J1(b8,[["__scopeId","data-v-8e03f503"],["__file","ItemCard.vue"]]),k8=e=>(Gi("data-v-a64baff5"),e=e(),Wi(),e),_8=k8(()=>We("h1",null,"主题/资源商店",-1)),E8={class:"market"},C8=H({__name:"store",setup(e){let t=G([]);return fetch("/assets/resources.json").then(n=>n.json()).then(n=>{t.value=n}).catch(n=>console.error(n)),(n,s)=>(cs(),_a("div",null,[_8,We("div",E8,[bc(" 布局商品"),(cs(!0),_a(Ke,null,h0(Jt(t),l=>(cs(),mc(w8,{key:l.id,item:l},null,8,["item"]))),128))])]))}}),x8=J1(C8,[["__scopeId","data-v-a64baff5"],["__file","store.vue"]]),S8=Xe({enhance:({app:e,router:t,siteData:n})=>{e.component("storeComp",x8)}}),ol=[ed,Wd,Zd,a3,i3,p3,m3,k3,A3,j3,v4,A4,i6,r8,S8],T8=JSON.parse('{"base":"/","lang":"zh-CN","title":"LiteyukiBot 轻雪机器人","description":"LiteyukiBot | 轻雪机器人 | An OneBot Standard ChatBot | 一个OneBot标准的聊天机器人","head":[["link",{"rel":"icon","href":"https://cdn.liteyuki.icu/favicon.ico"}],["meta",{"name":"viewport","content":"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"}]],"locales":{}}');var ns=Ae(T8),L8=bp,A8=()=>{const e=Up({history:L8(fo("/")),routes:[{name:"vuepress-route",path:"/:catchAll(.*)",components:{}}],scrollBehavior:(t,n,s)=>s||(t.hash?{el:t.hash}:{top:0})});return e.beforeResolve(async(t,n)=>{if(t.path!==n.path||n===Ot){const s=Kn(t.path);if(s.path!==t.path)return s.path;const l=await s.loader();t.meta={...s.meta,_pageChunk:l}}else t.path===n.path&&(t.meta=n.meta)}),e},$8=e=>{e.component("ClientOnly",Al),e.component("Content",Uc),e.component("RouteLink",$e)},I8=(e,t,n)=>{const s=k(()=>t.currentRoute.value.path),l=so((b,y)=>({get(){return b(),t.currentRoute.value.meta._pageChunk},set(C){t.currentRoute.value.meta._pageChunk=C,y()}})),a=k(()=>rn.resolveLayouts(n)),o=k(()=>rn.resolveRouteLocale(ns.value.locales,s.value)),i=k(()=>rn.resolveSiteLocaleData(ns.value,o.value)),c=k(()=>l.value.comp),u=k(()=>l.value.data),f=k(()=>u.value.frontmatter),p=k(()=>rn.resolvePageHeadTitle(u.value,i.value)),d=k(()=>rn.resolvePageHead(p.value,f.value,i.value)),h=k(()=>rn.resolvePageLang(u.value,i.value)),m=k(()=>rn.resolvePageLayout(u.value,a.value)),_={layouts:a,pageData:u,pageComponent:c,pageFrontmatter:f,pageHead:d,pageHeadTitle:p,pageLang:h,pageLayout:m,redirects:La,routeLocale:o,routePath:s,routes:ks,siteData:ns,siteLocaleData:i};return e.provide(vo,_),Object.defineProperties(e.config.globalProperties,{$frontmatter:{get:()=>f.value},$head:{get:()=>d.value},$headTitle:{get:()=>p.value},$lang:{get:()=>h.value},$page:{get:()=>u.value},$routeLocale:{get:()=>o.value},$site:{get:()=>ns.value},$siteLocale:{get:()=>i.value},$withBase:{get:()=>xe}}),_},M8=()=>{const e=Wp(),t=mo();let n=[];const s=()=>{e.value.forEach(o=>{const i=O8(o);i&&n.push(i)})},l=()=>{const o=[];return e.value.forEach(i=>{const c=P8(i);c&&o.push(c)}),o},a=()=>{document.documentElement.lang=t.value;const o=l();n.forEach((i,c)=>{const u=o.findIndex(f=>i.isEqualNode(f));u===-1?(i.remove(),delete n[c]):o.splice(u,1)}),o.forEach(i=>document.head.appendChild(i)),n=[...n.filter(i=>!!i),...o]};ft(Jp,a),pe(()=>{s(),le(e,a,{immediate:!1})})},O8=([e,t,n=""])=>{const s=Object.entries(t).map(([i,c])=>Le(c)?`[${i}=${JSON.stringify(c)}]`:c===!0?`[${i}]`:"").join(""),l=`head > ${e}${s}`;return Array.from(document.querySelectorAll(l)).find(i=>i.innerText===n)||null},P8=([e,t,n])=>{if(!Le(e))return null;const s=document.createElement(e);return Gn(t)&&Object.entries(t).forEach(([l,a])=>{Le(a)?s.setAttribute(l,a):a===!0&&s.setAttribute(l,"")}),Le(n)&&s.appendChild(document.createTextNode(n)),s},R8=Lf,N8=async()=>{var n;const e=R8({name:"Vuepress",setup(){var a;M8();for(const o of ol)(a=o.setup)==null||a.call(o);const s=ol.flatMap(({rootComponents:o=[]})=>o.map(i=>r(i))),l=Kp();return()=>[r(l.value),s]}}),t=A8();$8(e),I8(e,t,ol);for(const s of ol)await((n=s.enhance)==null?void 0:n.call(s,{app:e,router:t,siteData:ns}));return e.use(t),{app:e,router:t}};N8().then(({app:e,router:t})=>{t.isReady().then(()=>{e.mount("#app")})});export{pe as A,W4 as B,Vu as C,tn as D,j8 as E,Gn as F,z4 as G,V4 as H,nu as I,yl as J,Le as K,So as P,$e as R,J1 as _,Ie as a,D8 as b,_a as c,N8 as createVueApp,We as d,yc as e,H as f,gn as g,mt as h,Co as i,As as j,G as k,k as l,Se as m,le as n,cs as o,r as p,ju as q,ut as r,F4 as s,Un as t,H8 as u,B4 as v,G2 as w,j4 as x,he as y,Ae as z};
|