forked from bot/app
35 lines
246 KiB
JavaScript
35 lines
246 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 Ts(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}const ye={},Cn=[],ot=()=>{},rf=()=>!1,br=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),As=e=>e.startsWith("onUpdate:"),Le=Object.assign,Ls=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},of=Object.prototype.hasOwnProperty,ie=(e,t)=>of.call(e,t),X=Array.isArray,En=e=>ao(e)==="[object Map]",Ua=e=>ao(e)==="[object Set]",ne=e=>typeof e=="function",$e=e=>typeof e=="string",Dn=e=>typeof e=="symbol",he=e=>e!==null&&typeof e=="object",Wa=e=>(he(e)||ne(e))&&ne(e.then)&&ne(e.catch),Ga=Object.prototype.toString,ao=e=>Ga.call(e),sf=e=>ao(e).slice(8,-1),Ka=e=>ao(e)==="[object Object]",$s=e=>$e(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,kn=Ts(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),io=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},lf=/-(\w)/g,ct=io(e=>e.replace(lf,(t,n)=>n?n.toUpperCase():"")),af=/\B([A-Z])/g,jn=io(e=>e.replace(af,"-$1").toLowerCase()),wr=io(e=>e.charAt(0).toUpperCase()+e.slice(1)),ko=io(e=>e?`on${wr(e)}`:""),Gt=(e,t)=>!Object.is(e,t),So=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Qr=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},cf=e=>{const t=parseFloat(e);return isNaN(t)?e:t},uf=e=>{const t=$e(e)?Number(e):NaN;return isNaN(t)?e:t};let gl;const Ya=()=>gl||(gl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Is(e){if(X(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=$e(r)?hf(r):Is(r);if(o)for(const s in o)t[s]=o[s]}return t}else if($e(e)||he(e))return e}const ff=/;(?![^(]*\))/g,df=/:([^]+)/,pf=/\/\*[^]*?\*\//g;function hf(e){const t={};return e.replace(pf,"").split(ff).forEach(n=>{if(n){const r=n.split(df);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Ps(e){let t="";if($e(e))t=e;else if(X(e))for(let n=0;n<e.length;n++){const r=Ps(e[n]);r&&(t+=r+" ")}else if(he(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const vf="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",mf=Ts(vf);function Ja(e){return!!e||e===""}const xo=e=>$e(e)?e:e==null?"":X(e)||he(e)&&(e.toString===Ga||!ne(e.toString))?JSON.stringify(e,Qa,2):String(e),Qa=(e,t)=>t&&t.__v_isRef?Qa(e,t.value):En(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[To(r,s)+" =>"]=o,n),{})}:Ua(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>To(n))}:Dn(t)?To(t):he(t)&&!X(t)&&!Ka(t)?String(t):t,To=(e,t="")=>{var n;return Dn(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
||
* @vue/reactivity v3.4.21
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/let Xe;class gf{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Xe,!t&&Xe&&(this.index=(Xe.scopes||(Xe.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Xe;try{return Xe=this,t()}finally{Xe=n}}}on(){Xe=this}off(){Xe=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function yf(e,t=Xe){t&&t.active&&t.effects.push(e)}function Xa(){return Xe}function bf(e){Xe&&Xe.cleanups.push(e)}let on;class Os{constructor(t,n,r,o){this.fn=t,this.trigger=n,this.scheduler=r,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,yf(this,o)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,an();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(wf(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),cn()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=qt,n=on;try{return qt=!0,on=this,this._runnings++,yl(this),this.fn()}finally{bl(this),this._runnings--,on=n,qt=t}}stop(){var t;this.active&&(yl(this),bl(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function wf(e){return e.value}function yl(e){e._trackId++,e._depsLength=0}function bl(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)Za(e.deps[t],e);e.deps.length=e._depsLength}}function Za(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let qt=!0,ts=0;const ei=[];function an(){ei.push(qt),qt=!1}function cn(){const e=ei.pop();qt=e===void 0?!0:e}function Rs(){ts++}function Ms(){for(ts--;!ts&&ns.length;)ns.shift()()}function ti(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&Za(r,e),e.deps[e._depsLength++]=t):e._depsLength++}}const ns=[];function ni(e,t,n){Rs();for(const r of e.keys()){let o;r._dirtyLevel<t&&(o??(o=e.get(r)===r._trackId))&&(r._shouldSchedule||(r._shouldSchedule=r._dirtyLevel===0),r._dirtyLevel=t),r._shouldSchedule&&(o??(o=e.get(r)===r._trackId))&&(r.trigger(),(!r._runnings||r.allowRecurse)&&r._dirtyLevel!==2&&(r._shouldSchedule=!1,r.scheduler&&ns.push(r.scheduler)))}Ms()}const ri=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},Xr=new WeakMap,sn=Symbol(""),rs=Symbol("");function Ke(e,t,n){if(qt&&on){let r=Xr.get(e);r||Xr.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=ri(()=>r.delete(n))),ti(on,o)}}function Lt(e,t,n,r,o,s){const l=Xr.get(e);if(!l)return;let a=[];if(t==="clear")a=[...l.values()];else if(n==="length"&&X(e)){const i=Number(r);l.forEach((c,u)=>{(u==="length"||!Dn(u)&&u>=i)&&a.push(c)})}else switch(n!==void 0&&a.push(l.get(n)),t){case"add":X(e)?$s(n)&&a.push(l.get("length")):(a.push(l.get(sn)),En(e)&&a.push(l.get(rs)));break;case"delete":X(e)||(a.push(l.get(sn)),En(e)&&a.push(l.get(rs)));break;case"set":En(e)&&a.push(l.get(sn));break}Rs();for(const i of a)i&&ni(i,4);Ms()}function _f(e,t){var n;return(n=Xr.get(e))==null?void 0:n.get(t)}const Cf=Ts("__proto__,__v_isRef,__isVue"),oi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Dn)),wl=Ef();function Ef(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=se(this);for(let s=0,l=this.length;s<l;s++)Ke(r,"get",s+"");const o=r[t](...n);return o===-1||o===!1?r[t](...n.map(se)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){an(),Rs();const r=se(this)[t].apply(this,n);return Ms(),cn(),r}}),e}function kf(e){const t=se(this);return Ke(t,"has",e),t.hasOwnProperty(e)}class si{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const o=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(o?s?Df:ci:s?ii:ai).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const l=X(t);if(!o){if(l&&ie(wl,n))return Reflect.get(wl,n,r);if(n==="hasOwnProperty")return kf}const a=Reflect.get(t,n,r);return(Dn(n)?oi.has(n):Cf(n))||(o||Ke(t,"get",n),s)?a:Me(a)?l&&$s(n)?a:a.value:he(a)?o?Cr(a):_r(a):a}}class li extends si{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];if(!this._isShallow){const i=$n(s);if(!Zr(r)&&!$n(r)&&(s=se(s),r=se(r)),!X(t)&&Me(s)&&!Me(r))return i?!1:(s.value=r,!0)}const l=X(t)&&$s(n)?Number(n)<t.length:ie(t,n),a=Reflect.set(t,n,r,o);return t===se(o)&&(l?Gt(r,s)&&Lt(t,"set",n,r):Lt(t,"add",n,r)),a}deleteProperty(t,n){const r=ie(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&Lt(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!Dn(n)||!oi.has(n))&&Ke(t,"has",n),r}ownKeys(t){return Ke(t,"iterate",X(t)?"length":sn),Reflect.ownKeys(t)}}class Sf extends si{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const xf=new li,Tf=new Sf,Af=new li(!0),Ns=e=>e,co=e=>Reflect.getPrototypeOf(e);function Or(e,t,n=!1,r=!1){e=e.__v_raw;const o=se(e),s=se(t);n||(Gt(t,s)&&Ke(o,"get",t),Ke(o,"get",s));const{has:l}=co(o),a=r?Ns:n?Hs:lr;if(l.call(o,t))return a(e.get(t));if(l.call(o,s))return a(e.get(s));e!==o&&e.get(t)}function Rr(e,t=!1){const n=this.__v_raw,r=se(n),o=se(e);return t||(Gt(e,o)&&Ke(r,"has",e),Ke(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function Mr(e,t=!1){return e=e.__v_raw,!t&&Ke(se(e),"iterate",sn),Reflect.get(e,"size",e)}function _l(e){e=se(e);const t=se(this);return co(t).has.call(t,e)||(t.add(e),Lt(t,"add",e,e)),this}function Cl(e,t){t=se(t);const n=se(this),{has:r,get:o}=co(n);let s=r.call(n,e);s||(e=se(e),s=r.call(n,e));const l=o.call(n,e);return n.set(e,t),s?Gt(t,l)&&Lt(n,"set",e,t):Lt(n,"add",e,t),this}function El(e){const t=se(this),{has:n,get:r}=co(t);let o=n.call(t,e);o||(e=se(e),o=n.call(t,e)),r&&r.call(t,e);const s=t.delete(e);return o&&Lt(t,"delete",e,void 0),s}function kl(){const e=se(this),t=e.size!==0,n=e.clear();return t&&Lt(e,"clear",void 0,void 0),n}function Nr(e,t){return function(r,o){const s=this,l=s.__v_raw,a=se(l),i=t?Ns:e?Hs:lr;return!e&&Ke(a,"iterate",sn),l.forEach((c,u)=>r.call(o,i(c),i(u),s))}}function Dr(e,t,n){return function(...r){const o=this.__v_raw,s=se(o),l=En(s),a=e==="entries"||e===Symbol.iterator&&l,i=e==="keys"&&l,c=o[e](...r),u=n?Ns:t?Hs:lr;return!t&&Ke(s,"iterate",i?rs:sn),{next(){const{value:d,done:p}=c.next();return p?{value:d,done:p}:{value:a?[u(d[0]),u(d[1])]:u(d),done:p}},[Symbol.iterator](){return this}}}}function Ot(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Lf(){const e={get(s){return Or(this,s)},get size(){return Mr(this)},has:Rr,add:_l,set:Cl,delete:El,clear:kl,forEach:Nr(!1,!1)},t={get(s){return Or(this,s,!1,!0)},get size(){return Mr(this)},has:Rr,add:_l,set:Cl,delete:El,clear:kl,forEach:Nr(!1,!0)},n={get(s){return Or(this,s,!0)},get size(){return Mr(this,!0)},has(s){return Rr.call(this,s,!0)},add:Ot("add"),set:Ot("set"),delete:Ot("delete"),clear:Ot("clear"),forEach:Nr(!0,!1)},r={get(s){return Or(this,s,!0,!0)},get size(){return Mr(this,!0)},has(s){return Rr.call(this,s,!0)},add:Ot("add"),set:Ot("set"),delete:Ot("delete"),clear:Ot("clear"),forEach:Nr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=Dr(s,!1,!1),n[s]=Dr(s,!0,!1),t[s]=Dr(s,!1,!0),r[s]=Dr(s,!0,!0)}),[e,n,t,r]}const[$f,If,Pf,Of]=Lf();function Ds(e,t){const n=t?e?Of:Pf:e?If:$f;return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(ie(n,o)&&o in r?n:r,o,s)}const Rf={get:Ds(!1,!1)},Mf={get:Ds(!1,!0)},Nf={get:Ds(!0,!1)},ai=new WeakMap,ii=new WeakMap,ci=new WeakMap,Df=new WeakMap;function jf(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Hf(e){return e.__v_skip||!Object.isExtensible(e)?0:jf(sf(e))}function _r(e){return $n(e)?e:js(e,!1,xf,Rf,ai)}function ui(e){return js(e,!1,Af,Mf,ii)}function Cr(e){return js(e,!0,Tf,Nf,ci)}function js(e,t,n,r,o){if(!he(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=o.get(e);if(s)return s;const l=Hf(e);if(l===0)return e;const a=new Proxy(e,l===2?r:n);return o.set(e,a),a}function Sn(e){return $n(e)?Sn(e.__v_raw):!!(e&&e.__v_isReactive)}function $n(e){return!!(e&&e.__v_isReadonly)}function Zr(e){return!!(e&&e.__v_isShallow)}function fi(e){return Sn(e)||$n(e)}function se(e){const t=e&&e.__v_raw;return t?se(t):e}function di(e){return Object.isExtensible(e)&&Qr(e,"__v_skip",!0),e}const lr=e=>he(e)?_r(e):e,Hs=e=>he(e)?Cr(e):e;class pi{constructor(t,n,r,o){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Os(()=>t(this._value),()=>Jn(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const t=se(this);return(!t._cacheable||t.effect.dirty)&&Gt(t._value,t._value=t.effect.run())&&Jn(t,4),Bs(t),t.effect._dirtyLevel>=2&&Jn(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function Bf(e,t,n=!1){let r,o;const s=ne(e);return s?(r=e,o=ot):(r=e.get,o=e.set),new pi(r,o,s||!o,n)}function Bs(e){var t;qt&&on&&(e=se(e),ti(on,(t=e.dep)!=null?t:e.dep=ri(()=>e.dep=void 0,e instanceof pi?e:void 0)))}function Jn(e,t=4,n){e=se(e);const r=e.dep;r&&ni(r,t)}function Me(e){return!!(e&&e.__v_isRef===!0)}function Y(e){return hi(e,!1)}function Ie(e){return hi(e,!0)}function hi(e,t){return Me(e)?e:new Ff(e,t)}class Ff{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:se(t),this._value=n?t:lr(t)}get value(){return Bs(this),this._value}set value(t){const n=this.__v_isShallow||Zr(t)||$n(t);t=n?t:se(t),Gt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:lr(t),Jn(this,4))}}function Ut(e){return Me(e)?e.value:e}const zf={get:(e,t,n)=>Ut(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Me(o)&&!Me(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function vi(e){return Sn(e)?e:new Proxy(e,zf)}class Vf{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>Bs(this),()=>Jn(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function Fs(e){return new Vf(e)}class qf{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return _f(se(this._object),this._key)}}class Uf{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function uo(e,t,n){return Me(e)?e:ne(e)?new Uf(e):he(e)&&arguments.length>1?Wf(e,t,n):Y(e)}function Wf(e,t,n){const r=e[t];return Me(r)?r:new qf(e,t,n)}/**
|
||
* @vue/runtime-core v3.4.21
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/function Wt(e,t,n,r){try{return r?e(...r):e()}catch(o){Er(o,t,n)}}function lt(e,t,n,r){if(ne(e)){const s=Wt(e,t,n,r);return s&&Wa(s)&&s.catch(l=>{Er(l,t,n)}),s}const o=[];for(let s=0;s<e.length;s++)o.push(lt(e[s],t,n,r));return o}function Er(e,t,n,r=!0){const o=t?t.vnode:null;if(t){let s=t.parent;const l=t.proxy,a=`https://vuejs.org/error-reference/#runtime-${n}`;for(;s;){const c=s.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](e,l,a)===!1)return}s=s.parent}const i=t.appContext.config.errorHandler;if(i){Wt(i,null,10,[e,l,a]);return}}Gf(e,n,o,r)}function Gf(e,t,n,r=!0){console.error(e)}let ar=!1,os=!1;const je=[];let _t=0;const xn=[];let Ht=null,tn=0;const mi=Promise.resolve();let zs=null;function $t(e){const t=zs||mi;return e?t.then(this?e.bind(this):e):t}function Kf(e){let t=_t+1,n=je.length;for(;t<n;){const r=t+n>>>1,o=je[r],s=ir(o);s<e||s===e&&o.pre?t=r+1:n=r}return t}function fo(e){(!je.length||!je.includes(e,ar&&e.allowRecurse?_t+1:_t))&&(e.id==null?je.push(e):je.splice(Kf(e.id),0,e),gi())}function gi(){!ar&&!os&&(os=!0,zs=mi.then(yi))}function Yf(e){const t=je.indexOf(e);t>_t&&je.splice(t,1)}function Jf(e){X(e)?xn.push(...e):(!Ht||!Ht.includes(e,e.allowRecurse?tn+1:tn))&&xn.push(e),gi()}function Sl(e,t,n=ar?_t+1:0){for(;n<je.length;n++){const r=je[n];if(r&&r.pre){if(e&&r.id!==e.uid)continue;je.splice(n,1),n--,r()}}}function eo(e){if(xn.length){const t=[...new Set(xn)].sort((n,r)=>ir(n)-ir(r));if(xn.length=0,Ht){Ht.push(...t);return}for(Ht=t,tn=0;tn<Ht.length;tn++)Ht[tn]();Ht=null,tn=0}}const ir=e=>e.id==null?1/0:e.id,Qf=(e,t)=>{const n=ir(e)-ir(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function yi(e){os=!1,ar=!0,je.sort(Qf);try{for(_t=0;_t<je.length;_t++){const t=je[_t];t&&t.active!==!1&&Wt(t,null,14)}}finally{_t=0,je.length=0,eo(),ar=!1,zs=null,(je.length||xn.length)&&yi()}}function Xf(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ye;let o=n;const s=t.startsWith("update:"),l=s&&t.slice(7);if(l&&l in r){const u=`${l==="modelValue"?"model":l}Modifiers`,{number:d,trim:p}=r[u]||ye;p&&(o=n.map(h=>$e(h)?h.trim():h)),d&&(o=n.map(cf))}let a,i=r[a=ko(t)]||r[a=ko(ct(t))];!i&&s&&(i=r[a=ko(jn(t))]),i&<(i,e,6,o);const c=r[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,lt(c,e,6,o)}}function bi(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const s=e.emits;let l={},a=!1;if(!ne(e)){const i=c=>{const u=bi(c,t,!0);u&&(a=!0,Le(l,u))};!n&&t.mixins.length&&t.mixins.forEach(i),e.extends&&i(e.extends),e.mixins&&e.mixins.forEach(i)}return!s&&!a?(he(e)&&r.set(e,null),null):(X(s)?s.forEach(i=>l[i]=null):Le(l,s),he(e)&&r.set(e,l),l)}function po(e,t){return!e||!br(t)?!1:(t=t.slice(2).replace(/Once$/,""),ie(e,t[0].toLowerCase()+t.slice(1))||ie(e,jn(t))||ie(e,t))}let st=null,ho=null;function to(e){const t=st;return st=e,ho=e&&e.type.__scopeId||null,t}function wi(e){ho=e}function _i(){ho=null}function Zf(e,t=st,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&Dl(-1);const s=to(t);let l;try{l=e(...o)}finally{to(s),r._d&&Dl(1)}return l};return r._n=!0,r._c=!0,r._d=!0,r}function Ao(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:s,propsOptions:[l],slots:a,attrs:i,emit:c,render:u,renderCache:d,data:p,setupState:h,ctx:m,inheritAttrs:_}=e;let b,y;const E=to(e);try{if(n.shapeFlag&4){const x=o||r,M=x;b=dt(u.call(M,x,d,s,h,p,m)),y=i}else{const x=t;b=dt(x.length>1?x(s,{attrs:i,slots:a,emit:c}):x(s,null)),y=t.props?i:e1(i)}}catch(x){tr.length=0,Er(x,e,1),b=Ee(at)}let w=b;if(y&&_!==!1){const x=Object.keys(y),{shapeFlag:M}=w;x.length&&M&7&&(l&&x.some(As)&&(y=t1(y,l)),w=Kt(w,y))}return n.dirs&&(w=Kt(w),w.dirs=w.dirs?w.dirs.concat(n.dirs):n.dirs),n.transition&&(w.transition=n.transition),b=w,to(E),b}const e1=e=>{let t;for(const n in e)(n==="class"||n==="style"||br(n))&&((t||(t={}))[n]=e[n]);return t},t1=(e,t)=>{const n={};for(const r in e)(!As(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function n1(e,t,n){const{props:r,children:o,component:s}=e,{props:l,children:a,patchFlag:i}=t,c=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&i>=0){if(i&1024)return!0;if(i&16)return r?xl(r,l,c):!!l;if(i&8){const u=t.dynamicProps;for(let d=0;d<u.length;d++){const p=u[d];if(l[p]!==r[p]&&!po(c,p))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:r===l?!1:r?l?xl(r,l,c):!0:!!l;return!1}function xl(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const s=r[o];if(t[s]!==e[s]&&!po(n,s))return!0}return!1}function r1({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const Ci="components";function ht(e,t){return s1(Ci,e,!0,t)||e}const o1=Symbol.for("v-ndc");function s1(e,t,n=!0,r=!1){const o=st||Re;if(o){const s=o.type;if(e===Ci){const a=Z1(s,!1);if(a&&(a===t||a===ct(t)||a===wr(ct(t))))return s}const l=Tl(o[e]||s[e],t)||Tl(o.appContext[e],t);return!l&&r?s:l}}function Tl(e,t){return e&&(e[t]||e[ct(t)]||e[wr(ct(t))])}const l1=e=>e.__isSuspense;function Ei(e,t){t&&t.pendingBranch?X(e)?t.effects.push(...e):t.effects.push(e):Jf(e)}const a1=Symbol.for("v-scx"),i1=()=>ke(a1);function ki(e,t){return Vs(e,null,t)}const jr={};function oe(e,t,n){return Vs(e,t,n)}function Vs(e,t,{immediate:n,deep:r,flush:o,once:s,onTrack:l,onTrigger:a}=ye){if(t&&s){const k=t;t=(...N)=>{k(...N),M()}}const i=Re,c=k=>r===!0?k:bn(k,r===!1?1:void 0);let u,d=!1,p=!1;if(Me(e)?(u=()=>e.value,d=Zr(e)):Sn(e)?(u=()=>c(e),d=!0):X(e)?(p=!0,d=e.some(k=>Sn(k)||Zr(k)),u=()=>e.map(k=>{if(Me(k))return k.value;if(Sn(k))return c(k);if(ne(k))return Wt(k,i,2)})):ne(e)?t?u=()=>Wt(e,i,2):u=()=>(h&&h(),lt(e,i,3,[m])):u=ot,t&&r){const k=u;u=()=>bn(k())}let h,m=k=>{h=w.onStop=()=>{Wt(k,i,4),h=w.onStop=void 0}},_;if(xr)if(m=ot,t?n&<(t,i,3,[u(),p?[]:void 0,m]):u(),o==="sync"){const k=i1();_=k.__watcherHandles||(k.__watcherHandles=[])}else return ot;let b=p?new Array(e.length).fill(jr):jr;const y=()=>{if(!(!w.active||!w.dirty))if(t){const k=w.run();(r||d||(p?k.some((N,P)=>Gt(N,b[P])):Gt(k,b)))&&(h&&h(),lt(t,i,3,[k,b===jr?void 0:p&&b[0]===jr?[]:b,m]),b=k)}else w.run()};y.allowRecurse=!!t;let E;o==="sync"?E=y:o==="post"?E=()=>Ve(y,i&&i.suspense):(y.pre=!0,i&&(y.id=i.uid),E=()=>fo(y));const w=new Os(u,ot,E),x=Xa(),M=()=>{w.stop(),x&&Ls(x.effects,w)};return t?n?y():b=w.run():o==="post"?Ve(w.run.bind(w),i&&i.suspense):w.run(),_&&_.push(M),M}function c1(e,t,n){const r=this.proxy,o=$e(e)?e.includes(".")?Si(r,e):()=>r[e]:e.bind(r,r);let s;ne(t)?s=t:(s=t.handler,n=t);const l=Sr(this),a=Vs(o,s.bind(r),n);return l(),a}function Si(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}function bn(e,t,n=0,r){if(!he(e)||e.__v_skip)return e;if(t&&t>0){if(n>=t)return e;n++}if(r=r||new Set,r.has(e))return e;if(r.add(e),Me(e))bn(e.value,t,n,r);else if(X(e))for(let o=0;o<e.length;o++)bn(e[o],t,n,r);else if(Ua(e)||En(e))e.forEach(o=>{bn(o,t,n,r)});else if(Ka(e))for(const o in e)bn(e[o],t,n,r);return e}function wt(e,t,n,r){const o=e.dirs,s=t&&t.dirs;for(let l=0;l<o.length;l++){const a=o[l];s&&(a.oldValue=s[l].value);let i=a.dir[r];i&&(an(),lt(i,n,8,[e.el,a,e,t]),cn())}}const Bt=Symbol("_leaveCb"),Hr=Symbol("_enterCb");function xi(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return fe(()=>{e.isMounted=!0}),Pi(()=>{e.isUnmounting=!0}),e}const tt=[Function,Array],Ti={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:tt,onEnter:tt,onAfterEnter:tt,onEnterCancelled:tt,onBeforeLeave:tt,onLeave:tt,onAfterLeave:tt,onLeaveCancelled:tt,onBeforeAppear:tt,onAppear:tt,onAfterAppear:tt,onAppearCancelled:tt},u1={name:"BaseTransition",props:Ti,setup(e,{slots:t}){const n=Hn(),r=xi();return()=>{const o=t.default&&qs(t.default(),!0);if(!o||!o.length)return;let s=o[0];if(o.length>1){for(const p of o)if(p.type!==at){s=p;break}}const l=se(e),{mode:a}=l;if(r.isLeaving)return Lo(s);const i=Al(s);if(!i)return Lo(s);const c=cr(i,l,r,n);ur(i,c);const u=n.subTree,d=u&&Al(u);if(d&&d.type!==at&&!nn(i,d)){const p=cr(d,l,r,n);if(ur(d,p),a==="out-in")return r.isLeaving=!0,p.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Lo(s);a==="in-out"&&i.type!==at&&(p.delayLeave=(h,m,_)=>{const b=Ai(r,d);b[String(d.key)]=d,h[Bt]=()=>{m(),h[Bt]=void 0,delete c.delayedLeave},c.delayedLeave=_})}return s}}},f1=u1;function Ai(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function cr(e,t,n,r){const{appear:o,mode:s,persisted:l=!1,onBeforeEnter:a,onEnter:i,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:p,onAfterLeave:h,onLeaveCancelled:m,onBeforeAppear:_,onAppear:b,onAfterAppear:y,onAppearCancelled:E}=t,w=String(e.key),x=Ai(n,e),M=(P,K)=>{P&<(P,r,9,K)},k=(P,K)=>{const I=K[1];M(P,K),X(P)?P.every(q=>q.length<=1)&&I():P.length<=1&&I()},N={mode:s,persisted:l,beforeEnter(P){let K=a;if(!n.isMounted)if(o)K=_||a;else return;P[Bt]&&P[Bt](!0);const I=x[w];I&&nn(e,I)&&I.el[Bt]&&I.el[Bt](),M(K,[P])},enter(P){let K=i,I=c,q=u;if(!n.isMounted)if(o)K=b||i,I=y||c,q=E||u;else return;let O=!1;const Z=P[Hr]=_e=>{O||(O=!0,_e?M(q,[P]):M(I,[P]),N.delayedLeave&&N.delayedLeave(),P[Hr]=void 0)};K?k(K,[P,Z]):Z()},leave(P,K){const I=String(e.key);if(P[Hr]&&P[Hr](!0),n.isUnmounting)return K();M(d,[P]);let q=!1;const O=P[Bt]=Z=>{q||(q=!0,K(),Z?M(m,[P]):M(h,[P]),P[Bt]=void 0,x[I]===e&&delete x[I])};x[I]=e,p?k(p,[P,O]):O()},clone(P){return cr(P,t,n,r)}};return N}function Lo(e){if(kr(e))return e=Kt(e),e.children=null,e}function Al(e){return kr(e)?e.children?e.children[0]:void 0:e}function ur(e,t){e.shapeFlag&6&&e.component?ur(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 qs(e,t=!1,n){let r=[],o=0;for(let s=0;s<e.length;s++){let l=e[s];const a=n==null?l.key:String(n)+String(l.key!=null?l.key:s);l.type===Ue?(l.patchFlag&128&&o++,r=r.concat(qs(l.children,t,a))):(t||l.type!==at)&&r.push(a!=null?Kt(l,{key:a}):l)}if(o>1)for(let s=0;s<r.length;s++)r[s].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function V(e,t){return ne(e)?Le({name:e.name},t,{setup:e}):e}const Qn=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Li(e){ne(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,timeout:s,suspensible:l=!0,onError:a}=e;let i=null,c,u=0;const d=()=>(u++,i=null,p()),p=()=>{let h;return i||(h=i=t().catch(m=>{if(m=m instanceof Error?m:new Error(String(m)),a)return new Promise((_,b)=>{a(m,()=>_(d()),()=>b(m),u+1)});throw m}).then(m=>h!==i&&i?i:(m&&(m.__esModule||m[Symbol.toStringTag]==="Module")&&(m=m.default),c=m,m)))};return V({name:"AsyncComponentWrapper",__asyncLoader:p,get __asyncResolved(){return c},setup(){const h=Re;if(c)return()=>$o(c,h);const m=E=>{i=null,Er(E,h,13,!r)};if(l&&h.suspense||xr)return p().then(E=>()=>$o(E,h)).catch(E=>(m(E),()=>r?Ee(r,{error:E}):null));const _=Y(!1),b=Y(),y=Y(!!o);return o&&setTimeout(()=>{y.value=!1},o),s!=null&&setTimeout(()=>{if(!_.value&&!b.value){const E=new Error(`Async component timed out after ${s}ms.`);m(E),b.value=E}},s),p().then(()=>{_.value=!0,h.parent&&kr(h.parent.vnode)&&(h.parent.effect.dirty=!0,fo(h.parent.update))}).catch(E=>{m(E),b.value=E}),()=>{if(_.value&&c)return $o(c,h);if(b.value&&r)return Ee(r,{error:b.value});if(n&&!y.value)return Ee(n)}}})}function $o(e,t){const{ref:n,props:r,children:o,ce:s}=t.vnode,l=Ee(e,r,o);return l.ref=n,l.ce=s,delete t.vnode.ce,l}const kr=e=>e.type.__isKeepAlive;function d1(e,t){$i(e,"a",t)}function p1(e,t){$i(e,"da",t)}function $i(e,t,n=Re){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(vo(t,r,n),n){let o=n.parent;for(;o&&o.parent;)kr(o.parent.vnode)&&h1(r,t,n,o),o=o.parent}}function h1(e,t,n,r){const o=vo(t,e,r,!0);Jt(()=>{Ls(r[t],o)},n)}function vo(e,t,n=Re,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...l)=>{if(n.isUnmounted)return;an();const a=Sr(n),i=lt(t,n,e,l);return a(),cn(),i});return r?o.unshift(s):o.push(s),s}}const It=e=>(t,n=Re)=>(!xr||e==="sp")&&vo(e,(...r)=>t(...r),n),v1=It("bm"),fe=It("m"),m1=It("bu"),Ii=It("u"),Pi=It("bum"),Jt=It("um"),g1=It("sp"),y1=It("rtg"),b1=It("rtc");function w1(e,t=Re){vo("ec",e,t)}function _1(e,t,n,r){let o;const s=n&&n[r];if(X(e)||$e(e)){o=new Array(e.length);for(let l=0,a=e.length;l<a;l++)o[l]=t(e[l],l,void 0,s&&s[l])}else if(typeof e=="number"){o=new Array(e);for(let l=0;l<e;l++)o[l]=t(l+1,l,void 0,s&&s[l])}else if(he(e))if(e[Symbol.iterator])o=Array.from(e,(l,a)=>t(l,a,void 0,s&&s[a]));else{const l=Object.keys(e);o=new Array(l.length);for(let a=0,i=l.length;a<i;a++){const c=l[a];o[a]=t(e[c],c,a,s&&s[a])}}else o=[];return n&&(n[r]=o),o}const ss=e=>e?Ki(e)?Ks(e)||e.proxy:ss(e.parent):null,Xn=Le(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=>ss(e.parent),$root:e=>ss(e.root),$emit:e=>e.emit,$options:e=>Us(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,fo(e.update)}),$nextTick:e=>e.n||(e.n=$t.bind(e.proxy)),$watch:e=>c1.bind(e)}),Io=(e,t)=>e!==ye&&!e.__isScriptSetup&&ie(e,t),C1={get({_:e},t){const{ctx:n,setupState:r,data:o,props:s,accessCache:l,type:a,appContext:i}=e;let c;if(t[0]!=="$"){const h=l[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(Io(r,t))return l[t]=1,r[t];if(o!==ye&&ie(o,t))return l[t]=2,o[t];if((c=e.propsOptions[0])&&ie(c,t))return l[t]=3,s[t];if(n!==ye&&ie(n,t))return l[t]=4,n[t];ls&&(l[t]=0)}}const u=Xn[t];let d,p;if(u)return t==="$attrs"&&Ke(e,"get",t),u(e);if((d=a.__cssModules)&&(d=d[t]))return d;if(n!==ye&&ie(n,t))return l[t]=4,n[t];if(p=i.config.globalProperties,ie(p,t))return p[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return Io(o,t)?(o[t]=n,!0):r!==ye&&ie(r,t)?(r[t]=n,!0):ie(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:s}},l){let a;return!!n[l]||e!==ye&&ie(e,l)||Io(t,l)||(a=s[0])&&ie(a,l)||ie(r,l)||ie(Xn,l)||ie(o.config.globalProperties,l)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ie(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ll(e){return X(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let ls=!0;function E1(e){const t=Us(e),n=e.proxy,r=e.ctx;ls=!1,t.beforeCreate&&$l(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:l,watch:a,provide:i,inject:c,created:u,beforeMount:d,mounted:p,beforeUpdate:h,updated:m,activated:_,deactivated:b,beforeDestroy:y,beforeUnmount:E,destroyed:w,unmounted:x,render:M,renderTracked:k,renderTriggered:N,errorCaptured:P,serverPrefetch:K,expose:I,inheritAttrs:q,components:O,directives:Z,filters:_e}=t;if(c&&k1(c,r,null),l)for(const ee in l){const W=l[ee];ne(W)&&(r[ee]=W.bind(n))}if(o){const ee=o.call(n,n);he(ee)&&(e.data=_r(ee))}if(ls=!0,s)for(const ee in s){const W=s[ee],Te=ne(W)?W.bind(n,n):ne(W.get)?W.get.bind(n,n):ot,gt=!ne(W)&&ne(W.set)?W.set.bind(n):ot,et=S({get:Te,set:gt});Object.defineProperty(r,ee,{enumerable:!0,configurable:!0,get:()=>et.value,set:Pe=>et.value=Pe})}if(a)for(const ee in a)Oi(a[ee],r,n,ee);if(i){const ee=ne(i)?i.call(n):i;Reflect.ownKeys(ee).forEach(W=>{ln(W,ee[W])})}u&&$l(u,e,"c");function U(ee,W){X(W)?W.forEach(Te=>ee(Te.bind(n))):W&&ee(W.bind(n))}if(U(v1,d),U(fe,p),U(m1,h),U(Ii,m),U(d1,_),U(p1,b),U(w1,P),U(b1,k),U(y1,N),U(Pi,E),U(Jt,x),U(g1,K),X(I))if(I.length){const ee=e.exposed||(e.exposed={});I.forEach(W=>{Object.defineProperty(ee,W,{get:()=>n[W],set:Te=>n[W]=Te})})}else e.exposed||(e.exposed={});M&&e.render===ot&&(e.render=M),q!=null&&(e.inheritAttrs=q),O&&(e.components=O),Z&&(e.directives=Z)}function k1(e,t,n=ot){X(e)&&(e=as(e));for(const r in e){const o=e[r];let s;he(o)?"default"in o?s=ke(o.from||r,o.default,!0):s=ke(o.from||r):s=ke(o),Me(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:l=>s.value=l}):t[r]=s}}function $l(e,t,n){lt(X(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Oi(e,t,n,r){const o=r.includes(".")?Si(n,r):()=>n[r];if($e(e)){const s=t[e];ne(s)&&oe(o,s)}else if(ne(e))oe(o,e.bind(n));else if(he(e))if(X(e))e.forEach(s=>Oi(s,t,n,r));else{const s=ne(e.handler)?e.handler.bind(n):t[e.handler];ne(s)&&oe(o,s,e)}}function Us(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:l}}=e.appContext,a=s.get(t);let i;return a?i=a:!o.length&&!n&&!r?i=t:(i={},o.length&&o.forEach(c=>no(i,c,l,!0)),no(i,t,l)),he(t)&&s.set(t,i),i}function no(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&no(e,s,n,!0),o&&o.forEach(l=>no(e,l,n,!0));for(const l in t)if(!(r&&l==="expose")){const a=S1[l]||n&&n[l];e[l]=a?a(e[l],t[l]):t[l]}return e}const S1={data:Il,props:Pl,emits:Pl,methods:Kn,computed:Kn,beforeCreate:He,created:He,beforeMount:He,mounted:He,beforeUpdate:He,updated:He,beforeDestroy:He,beforeUnmount:He,destroyed:He,unmounted:He,activated:He,deactivated:He,errorCaptured:He,serverPrefetch:He,components:Kn,directives:Kn,watch:T1,provide:Il,inject:x1};function Il(e,t){return t?e?function(){return Le(ne(e)?e.call(this,this):e,ne(t)?t.call(this,this):t)}:t:e}function x1(e,t){return Kn(as(e),as(t))}function as(e){if(X(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function He(e,t){return e?[...new Set([].concat(e,t))]:t}function Kn(e,t){return e?Le(Object.create(null),e,t):t}function Pl(e,t){return e?X(e)&&X(t)?[...new Set([...e,...t])]:Le(Object.create(null),Ll(e),Ll(t??{})):t}function T1(e,t){if(!e)return t;if(!t)return e;const n=Le(Object.create(null),e);for(const r in t)n[r]=He(e[r],t[r]);return n}function Ri(){return{app:null,config:{isNativeTag:rf,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 A1=0;function L1(e,t){return function(r,o=null){ne(r)||(r=Le({},r)),o!=null&&!he(o)&&(o=null);const s=Ri(),l=new WeakSet;let a=!1;const i=s.app={_uid:A1++,_component:r,_props:o,_container:null,_context:s,_instance:null,version:td,get config(){return s.config},set config(c){},use(c,...u){return l.has(c)||(c&&ne(c.install)?(l.add(c),c.install(i,...u)):ne(c)&&(l.add(c),c(i,...u))),i},mixin(c){return s.mixins.includes(c)||s.mixins.push(c),i},component(c,u){return u?(s.components[c]=u,i):s.components[c]},directive(c,u){return u?(s.directives[c]=u,i):s.directives[c]},mount(c,u,d){if(!a){const p=Ee(r,o);return p.appContext=s,d===!0?d="svg":d===!1&&(d=void 0),u&&t?t(p,c):e(p,c,d),a=!0,i._container=c,c.__vue_app__=i,Ks(p.component)||p.component.proxy}},unmount(){a&&(e(null,i._container),delete i._container.__vue_app__)},provide(c,u){return s.provides[c]=u,i},runWithContext(c){const u=Zn;Zn=i;try{return c()}finally{Zn=u}}};return i}}let Zn=null;function ln(e,t){if(Re){let n=Re.provides;const r=Re.parent&&Re.parent.provides;r===n&&(n=Re.provides=Object.create(r)),n[e]=t}}function ke(e,t,n=!1){const r=Re||st;if(r||Zn){const o=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:Zn._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&ne(t)?t.call(r&&r.proxy):t}}function $1(e,t,n,r=!1){const o={},s={};Qr(s,mo,1),e.propsDefaults=Object.create(null),Mi(e,t,o,s);for(const l in e.propsOptions[0])l in o||(o[l]=void 0);n?e.props=r?o:ui(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function I1(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:l}}=e,a=se(o),[i]=e.propsOptions;let c=!1;if((r||l>0)&&!(l&16)){if(l&8){const u=e.vnode.dynamicProps;for(let d=0;d<u.length;d++){let p=u[d];if(po(e.emitsOptions,p))continue;const h=t[p];if(i)if(ie(s,p))h!==s[p]&&(s[p]=h,c=!0);else{const m=ct(p);o[m]=is(i,a,m,h,e,!1)}else h!==s[p]&&(s[p]=h,c=!0)}}}else{Mi(e,t,o,s)&&(c=!0);let u;for(const d in a)(!t||!ie(t,d)&&((u=jn(d))===d||!ie(t,u)))&&(i?n&&(n[d]!==void 0||n[u]!==void 0)&&(o[d]=is(i,a,d,void 0,e,!0)):delete o[d]);if(s!==a)for(const d in s)(!t||!ie(t,d))&&(delete s[d],c=!0)}c&&Lt(e,"set","$attrs")}function Mi(e,t,n,r){const[o,s]=e.propsOptions;let l=!1,a;if(t)for(let i in t){if(kn(i))continue;const c=t[i];let u;o&&ie(o,u=ct(i))?!s||!s.includes(u)?n[u]=c:(a||(a={}))[u]=c:po(e.emitsOptions,i)||(!(i in r)||c!==r[i])&&(r[i]=c,l=!0)}if(s){const i=se(n),c=a||ye;for(let u=0;u<s.length;u++){const d=s[u];n[d]=is(o,i,d,c[d],e,!ie(c,d))}}return l}function is(e,t,n,r,o,s){const l=e[n];if(l!=null){const a=ie(l,"default");if(a&&r===void 0){const i=l.default;if(l.type!==Function&&!l.skipFactory&&ne(i)){const{propsDefaults:c}=o;if(n in c)r=c[n];else{const u=Sr(o);r=c[n]=i.call(null,t),u()}}else r=i}l[0]&&(s&&!a?r=!1:l[1]&&(r===""||r===jn(n))&&(r=!0))}return r}function Ni(e,t,n=!1){const r=t.propsCache,o=r.get(e);if(o)return o;const s=e.props,l={},a=[];let i=!1;if(!ne(e)){const u=d=>{i=!0;const[p,h]=Ni(d,t,!0);Le(l,p),h&&a.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!i)return he(e)&&r.set(e,Cn),Cn;if(X(s))for(let u=0;u<s.length;u++){const d=ct(s[u]);Ol(d)&&(l[d]=ye)}else if(s)for(const u in s){const d=ct(u);if(Ol(d)){const p=s[u],h=l[d]=X(p)||ne(p)?{type:p}:Le({},p);if(h){const m=Nl(Boolean,h.type),_=Nl(String,h.type);h[0]=m>-1,h[1]=_<0||m<_,(m>-1||ie(h,"default"))&&a.push(d)}}}const c=[l,a];return he(e)&&r.set(e,c),c}function Ol(e){return e[0]!=="$"&&!kn(e)}function Rl(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function Ml(e,t){return Rl(e)===Rl(t)}function Nl(e,t){return X(t)?t.findIndex(n=>Ml(n,e)):ne(t)&&Ml(t,e)?0:-1}const Di=e=>e[0]==="_"||e==="$stable",Ws=e=>X(e)?e.map(dt):[dt(e)],P1=(e,t,n)=>{if(t._n)return t;const r=Zf((...o)=>Ws(t(...o)),n);return r._c=!1,r},ji=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Di(o))continue;const s=e[o];if(ne(s))t[o]=P1(o,s,r);else if(s!=null){const l=Ws(s);t[o]=()=>l}}},Hi=(e,t)=>{const n=Ws(t);e.slots.default=()=>n},O1=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=se(t),Qr(t,"_",n)):ji(t,e.slots={})}else e.slots={},t&&Hi(e,t);Qr(e.slots,mo,1)},R1=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,l=ye;if(r.shapeFlag&32){const a=t._;a?n&&a===1?s=!1:(Le(o,t),!n&&a===1&&delete o._):(s=!t.$stable,ji(t,o)),l=t}else t&&(Hi(e,t),l={default:1});if(s)for(const a in o)!Di(a)&&l[a]==null&&delete o[a]};function ro(e,t,n,r,o=!1){if(X(e)){e.forEach((p,h)=>ro(p,t&&(X(t)?t[h]:t),n,r,o));return}if(Qn(r)&&!o)return;const s=r.shapeFlag&4?Ks(r.component)||r.component.proxy:r.el,l=o?null:s,{i:a,r:i}=e,c=t&&t.r,u=a.refs===ye?a.refs={}:a.refs,d=a.setupState;if(c!=null&&c!==i&&($e(c)?(u[c]=null,ie(d,c)&&(d[c]=null)):Me(c)&&(c.value=null)),ne(i))Wt(i,a,12,[l,u]);else{const p=$e(i),h=Me(i);if(p||h){const m=()=>{if(e.f){const _=p?ie(d,i)?d[i]:u[i]:i.value;o?X(_)&&Ls(_,s):X(_)?_.includes(s)||_.push(s):p?(u[i]=[s],ie(d,i)&&(d[i]=u[i])):(i.value=[s],e.k&&(u[e.k]=i.value))}else p?(u[i]=l,ie(d,i)&&(d[i]=l)):h&&(i.value=l,e.k&&(u[e.k]=l))};l?(m.id=-1,Ve(m,n)):m()}}}let Rt=!1;const M1=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",N1=e=>e.namespaceURI.includes("MathML"),Br=e=>{if(M1(e))return"svg";if(N1(e))return"mathml"},Fr=e=>e.nodeType===8;function D1(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:s,parentNode:l,remove:a,insert:i,createComment:c}}=e,u=(w,x)=>{if(!x.hasChildNodes()){n(null,w,x),eo(),x._vnode=w;return}Rt=!1,d(x.firstChild,w,null,null,null),eo(),x._vnode=w,Rt&&console.error("Hydration completed but contains mismatches.")},d=(w,x,M,k,N,P=!1)=>{const K=Fr(w)&&w.data==="[",I=()=>_(w,x,M,k,N,K),{type:q,ref:O,shapeFlag:Z,patchFlag:_e}=x;let me=w.nodeType;x.el=w,_e===-2&&(P=!1,x.dynamicChildren=null);let U=null;switch(q){case In:me!==3?x.children===""?(i(x.el=o(""),l(w),w),U=w):U=I():(w.data!==x.children&&(Rt=!0,w.data=x.children),U=s(w));break;case at:E(w)?(U=s(w),y(x.el=w.content.firstChild,w,M)):me!==8||K?U=I():U=s(w);break;case er:if(K&&(w=s(w),me=w.nodeType),me===1||me===3){U=w;const ee=!x.children.length;for(let W=0;W<x.staticCount;W++)ee&&(x.children+=U.nodeType===1?U.outerHTML:U.data),W===x.staticCount-1&&(x.anchor=U),U=s(U);return K?s(U):U}else I();break;case Ue:K?U=m(w,x,M,k,N,P):U=I();break;default:if(Z&1)(me!==1||x.type.toLowerCase()!==w.tagName.toLowerCase())&&!E(w)?U=I():U=p(w,x,M,k,N,P);else if(Z&6){x.slotScopeIds=N;const ee=l(w);if(K?U=b(w):Fr(w)&&w.data==="teleport start"?U=b(w,w.data,"teleport end"):U=s(w),t(x,ee,null,M,k,Br(ee),P),Qn(x)){let W;K?(W=Ee(Ue),W.anchor=U?U.previousSibling:ee.lastChild):W=w.nodeType===3?Wi(""):Ee("div"),W.el=w,x.component.subTree=W}}else Z&64?me!==8?U=I():U=x.type.hydrate(w,x,M,k,N,P,e,h):Z&128&&(U=x.type.hydrate(w,x,M,k,Br(l(w)),N,P,e,d))}return O!=null&&ro(O,null,k,x),U},p=(w,x,M,k,N,P)=>{P=P||!!x.dynamicChildren;const{type:K,props:I,patchFlag:q,shapeFlag:O,dirs:Z,transition:_e}=x,me=K==="input"||K==="option";if(me||q!==-1){Z&&wt(x,null,M,"created");let U=!1;if(E(w)){U=Bi(k,_e)&&M&&M.vnode.props&&M.vnode.props.appear;const W=w.content.firstChild;U&&_e.beforeEnter(W),y(W,w,M),x.el=w=W}if(O&16&&!(I&&(I.innerHTML||I.textContent))){let W=h(w.firstChild,x,w,M,k,N,P);for(;W;){Rt=!0;const Te=W;W=W.nextSibling,a(Te)}}else O&8&&w.textContent!==x.children&&(Rt=!0,w.textContent=x.children);if(I)if(me||!P||q&48)for(const W in I)(me&&(W.endsWith("value")||W==="indeterminate")||br(W)&&!kn(W)||W[0]===".")&&r(w,W,null,I[W],void 0,void 0,M);else I.onClick&&r(w,"onClick",null,I.onClick,void 0,void 0,M);let ee;(ee=I&&I.onVnodeBeforeMount)&&nt(ee,M,x),Z&&wt(x,null,M,"beforeMount"),((ee=I&&I.onVnodeMounted)||Z||U)&&Ei(()=>{ee&&nt(ee,M,x),U&&_e.enter(w),Z&&wt(x,null,M,"mounted")},k)}return w.nextSibling},h=(w,x,M,k,N,P,K)=>{K=K||!!x.dynamicChildren;const I=x.children,q=I.length;for(let O=0;O<q;O++){const Z=K?I[O]:I[O]=dt(I[O]);if(w)w=d(w,Z,k,N,P,K);else{if(Z.type===In&&!Z.children)continue;Rt=!0,n(null,Z,M,null,k,N,Br(M),P)}}return w},m=(w,x,M,k,N,P)=>{const{slotScopeIds:K}=x;K&&(N=N?N.concat(K):K);const I=l(w),q=h(s(w),x,I,M,k,N,P);return q&&Fr(q)&&q.data==="]"?s(x.anchor=q):(Rt=!0,i(x.anchor=c("]"),I,q),q)},_=(w,x,M,k,N,P)=>{if(Rt=!0,x.el=null,P){const q=b(w);for(;;){const O=s(w);if(O&&O!==q)a(O);else break}}const K=s(w),I=l(w);return a(w),n(null,x,I,K,M,k,Br(I),N),K},b=(w,x="[",M="]")=>{let k=0;for(;w;)if(w=s(w),w&&Fr(w)&&(w.data===x&&k++,w.data===M)){if(k===0)return s(w);k--}return w},y=(w,x,M)=>{const k=x.parentNode;k&&k.replaceChild(w,x);let N=M;for(;N;)N.vnode.el===x&&(N.vnode.el=N.subTree.el=w),N=N.parent},E=w=>w.nodeType===1&&w.tagName.toLowerCase()==="template";return[u,d]}const Ve=Ei;function j1(e){return H1(e,D1)}function H1(e,t){const n=Ya();n.__VUE__=!0;const{insert:r,remove:o,patchProp:s,createElement:l,createText:a,createComment:i,setText:c,setElementText:u,parentNode:d,nextSibling:p,setScopeId:h=ot,insertStaticContent:m}=e,_=(v,g,C,L=null,A=null,D=null,B=void 0,R=null,j=!!g.dynamicChildren)=>{if(v===g)return;v&&!nn(v,g)&&(L=T(v),Pe(v,A,D,!0),v=null),g.patchFlag===-2&&(j=!1,g.dynamicChildren=null);const{type:$,ref:z,shapeFlag:Q}=g;switch($){case In:b(v,g,C,L);break;case at:y(v,g,C,L);break;case er:v==null&&E(g,C,L,B);break;case Ue:O(v,g,C,L,A,D,B,R,j);break;default:Q&1?M(v,g,C,L,A,D,B,R,j):Q&6?Z(v,g,C,L,A,D,B,R,j):(Q&64||Q&128)&&$.process(v,g,C,L,A,D,B,R,j,G)}z!=null&&A&&ro(z,v&&v.ref,D,g||v,!g)},b=(v,g,C,L)=>{if(v==null)r(g.el=a(g.children),C,L);else{const A=g.el=v.el;g.children!==v.children&&c(A,g.children)}},y=(v,g,C,L)=>{v==null?r(g.el=i(g.children||""),C,L):g.el=v.el},E=(v,g,C,L)=>{[v.el,v.anchor]=m(v.children,g,C,L,v.el,v.anchor)},w=({el:v,anchor:g},C,L)=>{let A;for(;v&&v!==g;)A=p(v),r(v,C,L),v=A;r(g,C,L)},x=({el:v,anchor:g})=>{let C;for(;v&&v!==g;)C=p(v),o(v),v=C;o(g)},M=(v,g,C,L,A,D,B,R,j)=>{g.type==="svg"?B="svg":g.type==="math"&&(B="mathml"),v==null?k(g,C,L,A,D,B,R,j):K(v,g,A,D,B,R,j)},k=(v,g,C,L,A,D,B,R)=>{let j,$;const{props:z,shapeFlag:Q,transition:J,dirs:te}=v;if(j=v.el=l(v.type,D,z&&z.is,z),Q&8?u(j,v.children):Q&16&&P(v.children,j,null,L,A,Po(v,D),B,R),te&&wt(v,null,L,"created"),N(j,v,v.scopeId,B,L),z){for(const ue in z)ue!=="value"&&!kn(ue)&&s(j,ue,null,z[ue],D,v.children,L,A,Ae);"value"in z&&s(j,"value",null,z.value,D),($=z.onVnodeBeforeMount)&&nt($,L,v)}te&&wt(v,null,L,"beforeMount");const re=Bi(A,J);re&&J.beforeEnter(j),r(j,g,C),(($=z&&z.onVnodeMounted)||re||te)&&Ve(()=>{$&&nt($,L,v),re&&J.enter(j),te&&wt(v,null,L,"mounted")},A)},N=(v,g,C,L,A)=>{if(C&&h(v,C),L)for(let D=0;D<L.length;D++)h(v,L[D]);if(A){let D=A.subTree;if(g===D){const B=A.vnode;N(v,B,B.scopeId,B.slotScopeIds,A.parent)}}},P=(v,g,C,L,A,D,B,R,j=0)=>{for(let $=j;$<v.length;$++){const z=v[$]=R?Ft(v[$]):dt(v[$]);_(null,z,g,C,L,A,D,B,R)}},K=(v,g,C,L,A,D,B)=>{const R=g.el=v.el;let{patchFlag:j,dynamicChildren:$,dirs:z}=g;j|=v.patchFlag&16;const Q=v.props||ye,J=g.props||ye;let te;if(C&&Xt(C,!1),(te=J.onVnodeBeforeUpdate)&&nt(te,C,g,v),z&&wt(g,v,C,"beforeUpdate"),C&&Xt(C,!0),$?I(v.dynamicChildren,$,R,C,L,Po(g,A),D):B||W(v,g,R,null,C,L,Po(g,A),D,!1),j>0){if(j&16)q(R,g,Q,J,C,L,A);else if(j&2&&Q.class!==J.class&&s(R,"class",null,J.class,A),j&4&&s(R,"style",Q.style,J.style,A),j&8){const re=g.dynamicProps;for(let ue=0;ue<re.length;ue++){const ge=re[ue],Oe=Q[ge],ut=J[ge];(ut!==Oe||ge==="value")&&s(R,ge,Oe,ut,A,v.children,C,L,Ae)}}j&1&&v.children!==g.children&&u(R,g.children)}else!B&&$==null&&q(R,g,Q,J,C,L,A);((te=J.onVnodeUpdated)||z)&&Ve(()=>{te&&nt(te,C,g,v),z&&wt(g,v,C,"updated")},L)},I=(v,g,C,L,A,D,B)=>{for(let R=0;R<g.length;R++){const j=v[R],$=g[R],z=j.el&&(j.type===Ue||!nn(j,$)||j.shapeFlag&70)?d(j.el):C;_(j,$,z,null,L,A,D,B,!0)}},q=(v,g,C,L,A,D,B)=>{if(C!==L){if(C!==ye)for(const R in C)!kn(R)&&!(R in L)&&s(v,R,C[R],null,B,g.children,A,D,Ae);for(const R in L){if(kn(R))continue;const j=L[R],$=C[R];j!==$&&R!=="value"&&s(v,R,$,j,B,g.children,A,D,Ae)}"value"in L&&s(v,"value",C.value,L.value,B)}},O=(v,g,C,L,A,D,B,R,j)=>{const $=g.el=v?v.el:a(""),z=g.anchor=v?v.anchor:a("");let{patchFlag:Q,dynamicChildren:J,slotScopeIds:te}=g;te&&(R=R?R.concat(te):te),v==null?(r($,C,L),r(z,C,L),P(g.children||[],C,z,A,D,B,R,j)):Q>0&&Q&64&&J&&v.dynamicChildren?(I(v.dynamicChildren,J,C,A,D,B,R),(g.key!=null||A&&g===A.subTree)&&Fi(v,g,!0)):W(v,g,C,z,A,D,B,R,j)},Z=(v,g,C,L,A,D,B,R,j)=>{g.slotScopeIds=R,v==null?g.shapeFlag&512?A.ctx.activate(g,C,L,B,j):_e(g,C,L,A,D,B,j):me(v,g,j)},_e=(v,g,C,L,A,D,B)=>{const R=v.component=K1(v,L,A);if(kr(v)&&(R.ctx.renderer=G),Y1(R),R.asyncDep){if(A&&A.registerDep(R,U),!v.el){const j=R.subTree=Ee(at);y(null,j,g,C)}}else U(R,v,g,C,A,D,B)},me=(v,g,C)=>{const L=g.component=v.component;if(n1(v,g,C))if(L.asyncDep&&!L.asyncResolved){ee(L,g,C);return}else L.next=g,Yf(L.update),L.effect.dirty=!0,L.update();else g.el=v.el,L.vnode=g},U=(v,g,C,L,A,D,B)=>{const R=()=>{if(v.isMounted){let{next:z,bu:Q,u:J,parent:te,vnode:re}=v;{const vn=zi(v);if(vn){z&&(z.el=re.el,ee(v,z,B)),vn.asyncDep.then(()=>{v.isUnmounted||R()});return}}let ue=z,ge;Xt(v,!1),z?(z.el=re.el,ee(v,z,B)):z=re,Q&&So(Q),(ge=z.props&&z.props.onVnodeBeforeUpdate)&&nt(ge,te,z,re),Xt(v,!0);const Oe=Ao(v),ut=v.subTree;v.subTree=Oe,_(ut,Oe,d(ut.el),T(ut),v,A,D),z.el=Oe.el,ue===null&&r1(v,Oe.el),J&&Ve(J,A),(ge=z.props&&z.props.onVnodeUpdated)&&Ve(()=>nt(ge,te,z,re),A)}else{let z;const{el:Q,props:J}=g,{bm:te,m:re,parent:ue}=v,ge=Qn(g);if(Xt(v,!1),te&&So(te),!ge&&(z=J&&J.onVnodeBeforeMount)&&nt(z,ue,g),Xt(v,!0),Q&&de){const Oe=()=>{v.subTree=Ao(v),de(Q,v.subTree,v,A,null)};ge?g.type.__asyncLoader().then(()=>!v.isUnmounted&&Oe()):Oe()}else{const Oe=v.subTree=Ao(v);_(null,Oe,C,L,v,A,D),g.el=Oe.el}if(re&&Ve(re,A),!ge&&(z=J&&J.onVnodeMounted)){const Oe=g;Ve(()=>nt(z,ue,Oe),A)}(g.shapeFlag&256||ue&&Qn(ue.vnode)&&ue.vnode.shapeFlag&256)&&v.a&&Ve(v.a,A),v.isMounted=!0,g=C=L=null}},j=v.effect=new Os(R,ot,()=>fo($),v.scope),$=v.update=()=>{j.dirty&&j.run()};$.id=v.uid,Xt(v,!0),$()},ee=(v,g,C)=>{g.component=v;const L=v.vnode.props;v.vnode=g,v.next=null,I1(v,g.props,L,C),R1(v,g.children,C),an(),Sl(v),cn()},W=(v,g,C,L,A,D,B,R,j=!1)=>{const $=v&&v.children,z=v?v.shapeFlag:0,Q=g.children,{patchFlag:J,shapeFlag:te}=g;if(J>0){if(J&128){gt($,Q,C,L,A,D,B,R,j);return}else if(J&256){Te($,Q,C,L,A,D,B,R,j);return}}te&8?(z&16&&Ae($,A,D),Q!==$&&u(C,Q)):z&16?te&16?gt($,Q,C,L,A,D,B,R,j):Ae($,A,D,!0):(z&8&&u(C,""),te&16&&P(Q,C,L,A,D,B,R,j))},Te=(v,g,C,L,A,D,B,R,j)=>{v=v||Cn,g=g||Cn;const $=v.length,z=g.length,Q=Math.min($,z);let J;for(J=0;J<Q;J++){const te=g[J]=j?Ft(g[J]):dt(g[J]);_(v[J],te,C,null,A,D,B,R,j)}$>z?Ae(v,A,D,!0,!1,Q):P(g,C,L,A,D,B,R,j,Q)},gt=(v,g,C,L,A,D,B,R,j)=>{let $=0;const z=g.length;let Q=v.length-1,J=z-1;for(;$<=Q&&$<=J;){const te=v[$],re=g[$]=j?Ft(g[$]):dt(g[$]);if(nn(te,re))_(te,re,C,null,A,D,B,R,j);else break;$++}for(;$<=Q&&$<=J;){const te=v[Q],re=g[J]=j?Ft(g[J]):dt(g[J]);if(nn(te,re))_(te,re,C,null,A,D,B,R,j);else break;Q--,J--}if($>Q){if($<=J){const te=J+1,re=te<z?g[te].el:L;for(;$<=J;)_(null,g[$]=j?Ft(g[$]):dt(g[$]),C,re,A,D,B,R,j),$++}}else if($>J)for(;$<=Q;)Pe(v[$],A,D,!0),$++;else{const te=$,re=$,ue=new Map;for($=re;$<=J;$++){const Qe=g[$]=j?Ft(g[$]):dt(g[$]);Qe.key!=null&&ue.set(Qe.key,$)}let ge,Oe=0;const ut=J-re+1;let vn=!1,hl=0;const qn=new Array(ut);for($=0;$<ut;$++)qn[$]=0;for($=te;$<=Q;$++){const Qe=v[$];if(Oe>=ut){Pe(Qe,A,D,!0);continue}let bt;if(Qe.key!=null)bt=ue.get(Qe.key);else for(ge=re;ge<=J;ge++)if(qn[ge-re]===0&&nn(Qe,g[ge])){bt=ge;break}bt===void 0?Pe(Qe,A,D,!0):(qn[bt-re]=$+1,bt>=hl?hl=bt:vn=!0,_(Qe,g[bt],C,null,A,D,B,R,j),Oe++)}const vl=vn?B1(qn):Cn;for(ge=vl.length-1,$=ut-1;$>=0;$--){const Qe=re+$,bt=g[Qe],ml=Qe+1<z?g[Qe+1].el:L;qn[$]===0?_(null,bt,C,ml,A,D,B,R,j):vn&&(ge<0||$!==vl[ge]?et(bt,C,ml,2):ge--)}}},et=(v,g,C,L,A=null)=>{const{el:D,type:B,transition:R,children:j,shapeFlag:$}=v;if($&6){et(v.component.subTree,g,C,L);return}if($&128){v.suspense.move(g,C,L);return}if($&64){B.move(v,g,C,G);return}if(B===Ue){r(D,g,C);for(let Q=0;Q<j.length;Q++)et(j[Q],g,C,L);r(v.anchor,g,C);return}if(B===er){w(v,g,C);return}if(L!==2&&$&1&&R)if(L===0)R.beforeEnter(D),r(D,g,C),Ve(()=>R.enter(D),A);else{const{leave:Q,delayLeave:J,afterLeave:te}=R,re=()=>r(D,g,C),ue=()=>{Q(D,()=>{re(),te&&te()})};J?J(D,re,ue):ue()}else r(D,g,C)},Pe=(v,g,C,L=!1,A=!1)=>{const{type:D,props:B,ref:R,children:j,dynamicChildren:$,shapeFlag:z,patchFlag:Q,dirs:J}=v;if(R!=null&&ro(R,null,C,v,!0),z&256){g.ctx.deactivate(v);return}const te=z&1&&J,re=!Qn(v);let ue;if(re&&(ue=B&&B.onVnodeBeforeUnmount)&&nt(ue,g,v),z&6)yt(v.component,C,L);else{if(z&128){v.suspense.unmount(C,L);return}te&&wt(v,null,g,"beforeUnmount"),z&64?v.type.remove(v,g,C,A,G,L):$&&(D!==Ue||Q>0&&Q&64)?Ae($,g,C,!1,!0):(D===Ue&&Q&384||!A&&z&16)&&Ae(j,g,C),L&&Je(v)}(re&&(ue=B&&B.onVnodeUnmounted)||te)&&Ve(()=>{ue&&nt(ue,g,v),te&&wt(v,null,g,"unmounted")},C)},Je=v=>{const{type:g,el:C,anchor:L,transition:A}=v;if(g===Ue){St(C,L);return}if(g===er){x(v);return}const D=()=>{o(C),A&&!A.persisted&&A.afterLeave&&A.afterLeave()};if(v.shapeFlag&1&&A&&!A.persisted){const{leave:B,delayLeave:R}=A,j=()=>B(C,D);R?R(v.el,D,j):j()}else D()},St=(v,g)=>{let C;for(;v!==g;)C=p(v),o(v),v=C;o(g)},yt=(v,g,C)=>{const{bum:L,scope:A,update:D,subTree:B,um:R}=v;L&&So(L),A.stop(),D&&(D.active=!1,Pe(B,v,g,C)),R&&Ve(R,g),Ve(()=>{v.isUnmounted=!0},g),g&&g.pendingBranch&&!g.isUnmounted&&v.asyncDep&&!v.asyncResolved&&v.suspenseId===g.pendingId&&(g.deps--,g.deps===0&&g.resolve())},Ae=(v,g,C,L=!1,A=!1,D=0)=>{for(let B=D;B<v.length;B++)Pe(v[B],g,C,L,A)},T=v=>v.shapeFlag&6?T(v.component.subTree):v.shapeFlag&128?v.suspense.next():p(v.anchor||v.el);let F=!1;const H=(v,g,C)=>{v==null?g._vnode&&Pe(g._vnode,null,null,!0):_(g._vnode||null,v,g,null,null,null,C),F||(F=!0,Sl(),eo(),F=!1),g._vnode=v},G={p:_,um:Pe,m:et,r:Je,mt:_e,mc:P,pc:W,pbc:I,n:T,o:e};let le,de;return t&&([le,de]=t(G)),{render:H,hydrate:le,createApp:L1(H,le)}}function Po({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Xt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Bi(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Fi(e,t,n=!1){const r=e.children,o=t.children;if(X(r)&&X(o))for(let s=0;s<r.length;s++){const l=r[s];let a=o[s];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=o[s]=Ft(o[s]),a.el=l.el),n||Fi(l,a)),a.type===In&&(a.el=l.el)}}function B1(e){const t=e.slice(),n=[0];let r,o,s,l,a;const i=e.length;for(r=0;r<i;r++){const c=e[r];if(c!==0){if(o=n[n.length-1],e[o]<c){t[r]=o,n.push(r);continue}for(s=0,l=n.length-1;s<l;)a=s+l>>1,e[n[a]]<c?s=a+1:l=a;c<e[n[s]]&&(s>0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,l=n[s-1];s-- >0;)n[s]=l,l=t[l];return n}function zi(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:zi(t)}const F1=e=>e.__isTeleport,Ue=Symbol.for("v-fgt"),In=Symbol.for("v-txt"),at=Symbol.for("v-cmt"),er=Symbol.for("v-stc"),tr=[];let pt=null;function nr(e=!1){tr.push(pt=e?null:[])}function z1(){tr.pop(),pt=tr[tr.length-1]||null}let fr=1;function Dl(e){fr+=e}function Vi(e){return e.dynamicChildren=fr>0?pt||Cn:null,z1(),fr>0&&pt&&pt.push(e),e}function cs(e,t,n,r,o,s){return Vi(qe(e,t,n,r,o,s,!0))}function qi(e,t,n,r,o){return Vi(Ee(e,t,n,r,o,!0))}function us(e){return e?e.__v_isVNode===!0:!1}function nn(e,t){return e.type===t.type&&e.key===t.key}const mo="__vInternal",Ui=({key:e})=>e??null,Yr=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?$e(e)||Me(e)||ne(e)?{i:st,r:e,k:t,f:!!n}:e:null);function qe(e,t=null,n=null,r=0,o=null,s=e===Ue?0:1,l=!1,a=!1){const i={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ui(t),ref:t&&Yr(t),scopeId:ho,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:st};return a?(Gs(i,n),s&128&&e.normalize(i)):n&&(i.shapeFlag|=$e(n)?8:16),fr>0&&!l&&pt&&(i.patchFlag>0||s&6)&&i.patchFlag!==32&&pt.push(i),i}const Ee=V1;function V1(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===o1)&&(e=at),us(e)){const a=Kt(e,t,!0);return n&&Gs(a,n),fr>0&&!s&&pt&&(a.shapeFlag&6?pt[pt.indexOf(e)]=a:pt.push(a)),a.patchFlag|=-2,a}if(ed(e)&&(e=e.__vccOpts),t){t=q1(t);let{class:a,style:i}=t;a&&!$e(a)&&(t.class=Ps(a)),he(i)&&(fi(i)&&!X(i)&&(i=Le({},i)),t.style=Is(i))}const l=$e(e)?1:l1(e)?128:F1(e)?64:he(e)?4:ne(e)?2:0;return qe(e,t,n,r,o,l,s,!0)}function q1(e){return e?fi(e)||mo in e?Le({},e):e:null}function Kt(e,t,n=!1){const{props:r,ref:o,patchFlag:s,children:l}=e,a=t?U1(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Ui(a),ref:t&&t.ref?n&&o?X(o)?o.concat(Yr(t)):[o,Yr(t)]:Yr(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ue?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Kt(e.ssContent),ssFallback:e.ssFallback&&Kt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Wi(e=" ",t=0){return Ee(In,null,e,t)}function _6(e,t){const n=Ee(er,null,e);return n.staticCount=t,n}function Gi(e="",t=!1){return t?(nr(),qi(at,null,e)):Ee(at,null,e)}function dt(e){return e==null||typeof e=="boolean"?Ee(at):X(e)?Ee(Ue,null,e.slice()):typeof e=="object"?Ft(e):Ee(In,null,String(e))}function Ft(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Kt(e)}function Gs(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(X(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),Gs(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(mo in t)?t._ctx=st:o===3&&st&&(st.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ne(t)?(t={default:t,_ctx:st},n=32):(t=String(t),r&64?(n=16,t=[Wi(t)]):n=8);e.children=t,e.shapeFlag|=n}function U1(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=Ps([t.class,r.class]));else if(o==="style")t.style=Is([t.style,r.style]);else if(br(o)){const s=t[o],l=r[o];l&&s!==l&&!(X(s)&&s.includes(l))&&(t[o]=s?[].concat(s,l):l)}else o!==""&&(t[o]=r[o])}return t}function nt(e,t,n,r=null){lt(e,t,7,[n,r])}const W1=Ri();let G1=0;function K1(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||W1,s={uid:G1++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new gf(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Ni(r,o),emitsOptions:bi(r,o),emit:null,emitted:null,propsDefaults:ye,inheritAttrs:r.inheritAttrs,ctx:ye,data:ye,props:ye,attrs:ye,slots:ye,refs:ye,setupState:ye,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=t?t.root:s,s.emit=Xf.bind(null,s),e.ce&&e.ce(s),s}let Re=null;const Hn=()=>Re||st;let oo,fs;{const e=Ya(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),s=>{o.length>1?o.forEach(l=>l(s)):o[0](s)}};oo=t("__VUE_INSTANCE_SETTERS__",n=>Re=n),fs=t("__VUE_SSR_SETTERS__",n=>xr=n)}const Sr=e=>{const t=Re;return oo(e),e.scope.on(),()=>{e.scope.off(),oo(t)}},jl=()=>{Re&&Re.scope.off(),oo(null)};function Ki(e){return e.vnode.shapeFlag&4}let xr=!1;function Y1(e,t=!1){t&&fs(t);const{props:n,children:r}=e.vnode,o=Ki(e);$1(e,n,o,t),O1(e,r);const s=o?J1(e,t):void 0;return t&&fs(!1),s}function J1(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=di(new Proxy(e.ctx,C1));const{setup:r}=n;if(r){const o=e.setupContext=r.length>1?X1(e):null,s=Sr(e);an();const l=Wt(r,e,0,[e.props,o]);if(cn(),s(),Wa(l)){if(l.then(jl,jl),t)return l.then(a=>{Hl(e,a,t)}).catch(a=>{Er(a,e,0)});e.asyncDep=l}else Hl(e,l,t)}else Yi(e,t)}function Hl(e,t,n){ne(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:he(t)&&(e.setupState=vi(t)),Yi(e,n)}let Bl;function Yi(e,t,n){const r=e.type;if(!e.render){if(!t&&Bl&&!r.render){const o=r.template||Us(e).template;if(o){const{isCustomElement:s,compilerOptions:l}=e.appContext.config,{delimiters:a,compilerOptions:i}=r,c=Le(Le({isCustomElement:s,delimiters:a},l),i);r.render=Bl(o,c)}}e.render=r.render||ot}{const o=Sr(e);an();try{E1(e)}finally{cn(),o()}}}function Q1(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Ke(e,"get","$attrs"),t[n]}}))}function X1(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Q1(e)},slots:e.slots,emit:e.emit,expose:t}}function Ks(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(vi(di(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Xn)return Xn[n](e)},has(t,n){return n in t||n in Xn}}))}function Z1(e,t=!0){return ne(e)?e.displayName||e.name:e.name||t&&e.__name}function ed(e){return ne(e)&&"__vccOpts"in e}const S=(e,t)=>Bf(e,t,xr);function f(e,t,n){const r=arguments.length;return r===2?he(t)&&!X(t)?us(t)?Ee(e,null,[t]):Ee(e,t):Ee(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&us(n)&&(n=[n]),Ee(e,t,n))}const td="3.4.21";/**
|
||
* @vue/runtime-dom v3.4.21
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/const nd="http://www.w3.org/2000/svg",rd="http://www.w3.org/1998/Math/MathML",zt=typeof document<"u"?document:null,Fl=zt&&zt.createElement("template"),od={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?zt.createElementNS(nd,e):t==="mathml"?zt.createElementNS(rd,e):zt.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>zt.createTextNode(e),createComment:e=>zt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>zt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const l=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{Fl.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const a=Fl.content;if(r==="svg"||r==="mathml"){const i=a.firstChild;for(;i.firstChild;)a.appendChild(i.firstChild);a.removeChild(i)}t.insertBefore(a,n)}return[l?l.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Mt="transition",Un="animation",Pn=Symbol("_vtc"),Yt=(e,{slots:t})=>f(f1,Qi(e),t);Yt.displayName="Transition";const Ji={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},sd=Yt.props=Le({},Ti,Ji),Zt=(e,t=[])=>{X(e)?e.forEach(n=>n(...t)):e&&e(...t)},zl=e=>e?X(e)?e.some(t=>t.length>1):e.length>1:!1;function Qi(e){const t={};for(const O in e)O in Ji||(t[O]=e[O]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:l=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:i=s,appearActiveClass:c=l,appearToClass:u=a,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,m=ld(o),_=m&&m[0],b=m&&m[1],{onBeforeEnter:y,onEnter:E,onEnterCancelled:w,onLeave:x,onLeaveCancelled:M,onBeforeAppear:k=y,onAppear:N=E,onAppearCancelled:P=w}=t,K=(O,Z,_e)=>{jt(O,Z?u:a),jt(O,Z?c:l),_e&&_e()},I=(O,Z)=>{O._isLeaving=!1,jt(O,d),jt(O,h),jt(O,p),Z&&Z()},q=O=>(Z,_e)=>{const me=O?N:E,U=()=>K(Z,O,_e);Zt(me,[Z,U]),Vl(()=>{jt(Z,O?i:s),Tt(Z,O?u:a),zl(me)||ql(Z,r,_,U)})};return Le(t,{onBeforeEnter(O){Zt(y,[O]),Tt(O,s),Tt(O,l)},onBeforeAppear(O){Zt(k,[O]),Tt(O,i),Tt(O,c)},onEnter:q(!1),onAppear:q(!0),onLeave(O,Z){O._isLeaving=!0;const _e=()=>I(O,Z);Tt(O,d),Zi(),Tt(O,p),Vl(()=>{O._isLeaving&&(jt(O,d),Tt(O,h),zl(x)||ql(O,r,b,_e))}),Zt(x,[O,_e])},onEnterCancelled(O){K(O,!1),Zt(w,[O])},onAppearCancelled(O){K(O,!0),Zt(P,[O])},onLeaveCancelled(O){I(O),Zt(M,[O])}})}function ld(e){if(e==null)return null;if(he(e))return[Oo(e.enter),Oo(e.leave)];{const t=Oo(e);return[t,t]}}function Oo(e){return uf(e)}function Tt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Pn]||(e[Pn]=new Set)).add(t)}function jt(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Pn];n&&(n.delete(t),n.size||(e[Pn]=void 0))}function Vl(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let ad=0;function ql(e,t,n,r){const o=e._endId=++ad,s=()=>{o===e._endId&&r()};if(n)return setTimeout(s,n);const{type:l,timeout:a,propCount:i}=Xi(e,t);if(!l)return r();const c=l+"end";let u=0;const d=()=>{e.removeEventListener(c,p),s()},p=h=>{h.target===e&&++u>=i&&d()};setTimeout(()=>{u<i&&d()},a+1),e.addEventListener(c,p)}function Xi(e,t){const n=window.getComputedStyle(e),r=m=>(n[m]||"").split(", "),o=r(`${Mt}Delay`),s=r(`${Mt}Duration`),l=Ul(o,s),a=r(`${Un}Delay`),i=r(`${Un}Duration`),c=Ul(a,i);let u=null,d=0,p=0;t===Mt?l>0&&(u=Mt,d=l,p=s.length):t===Un?c>0&&(u=Un,d=c,p=i.length):(d=Math.max(l,c),u=d>0?l>c?Mt:Un:null,p=u?u===Mt?s.length:i.length:0);const h=u===Mt&&/\b(transform|all)(,|$)/.test(r(`${Mt}Property`).toString());return{type:u,timeout:d,propCount:p,hasTransform:h}}function Ul(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>Wl(n)+Wl(e[r])))}function Wl(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Zi(){return document.body.offsetHeight}function id(e,t,n){const r=e[Pn];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Gl=Symbol("_vod"),cd=Symbol("_vsh"),ud=Symbol(""),fd=/(^|;)\s*display\s*:/;function dd(e,t,n){const r=e.style,o=$e(n);let s=!1;if(n&&!o){if(t)if($e(t))for(const l of t.split(";")){const a=l.slice(0,l.indexOf(":")).trim();n[a]==null&&Jr(r,a,"")}else for(const l in t)n[l]==null&&Jr(r,l,"");for(const l in n)l==="display"&&(s=!0),Jr(r,l,n[l])}else if(o){if(t!==n){const l=r[ud];l&&(n+=";"+l),r.cssText=n,s=fd.test(n)}}else t&&e.removeAttribute("style");Gl in e&&(e[Gl]=s?r.display:"",e[cd]&&(r.display="none"))}const Kl=/\s*!important$/;function Jr(e,t,n){if(X(n))n.forEach(r=>Jr(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=pd(e,t);Kl.test(n)?e.setProperty(jn(r),n.replace(Kl,""),"important"):e[r]=n}}const Yl=["Webkit","Moz","ms"],Ro={};function pd(e,t){const n=Ro[t];if(n)return n;let r=ct(t);if(r!=="filter"&&r in e)return Ro[t]=r;r=wr(r);for(let o=0;o<Yl.length;o++){const s=Yl[o]+r;if(s in e)return Ro[t]=s}return t}const Jl="http://www.w3.org/1999/xlink";function hd(e,t,n,r,o){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Jl,t.slice(6,t.length)):e.setAttributeNS(Jl,t,n);else{const s=mf(t);n==null||s&&!Ja(n)?e.removeAttribute(t):e.setAttribute(t,s?"":n)}}function vd(e,t,n,r,o,s,l){if(t==="innerHTML"||t==="textContent"){r&&l(r,o,s),e[t]=n??"";return}const a=e.tagName;if(t==="value"&&a!=="PROGRESS"&&!a.includes("-")){const c=a==="OPTION"?e.getAttribute("value")||"":e.value,u=n??"";(c!==u||!("_value"in e))&&(e.value=u),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=Ja(n):n==null&&c==="string"?(n="",i=!0):c==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(t)}function md(e,t,n,r){e.addEventListener(t,n,r)}function gd(e,t,n,r){e.removeEventListener(t,n,r)}const Ql=Symbol("_vei");function yd(e,t,n,r,o=null){const s=e[Ql]||(e[Ql]={}),l=s[t];if(r&&l)l.value=r;else{const[a,i]=bd(t);if(r){const c=s[t]=Cd(r,o);md(e,a,c,i)}else l&&(gd(e,a,l,i),s[t]=void 0)}}const Xl=/(?:Once|Passive|Capture)$/;function bd(e){let t;if(Xl.test(e)){t={};let r;for(;r=e.match(Xl);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):jn(e.slice(2)),t]}let Mo=0;const wd=Promise.resolve(),_d=()=>Mo||(wd.then(()=>Mo=0),Mo=Date.now());function Cd(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;lt(Ed(r,n.value),t,5,[r])};return n.value=e,n.attached=_d(),n}function Ed(e,t){if(X(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const Zl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,kd=(e,t,n,r,o,s,l,a,i)=>{const c=o==="svg";t==="class"?id(e,r,c):t==="style"?dd(e,n,r):br(t)?As(t)||yd(e,t,n,r,l):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Sd(e,t,r,c))?vd(e,t,r,s,l,a,i):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),hd(e,t,r,c))};function Sd(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Zl(t)&&ne(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return Zl(t)&&$e(n)?!1:t in e}const ec=new WeakMap,tc=new WeakMap,so=Symbol("_moveCb"),ea=Symbol("_enterCb"),nc={name:"TransitionGroup",props:Le({},sd,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Hn(),r=xi();let o,s;return Ii(()=>{if(!o.length)return;const l=e.moveClass||`${e.name||"v"}-move`;if(!Id(o[0].el,n.vnode.el,l))return;o.forEach(Ad),o.forEach(Ld);const a=o.filter($d);Zi(),a.forEach(i=>{const c=i.el,u=c.style;Tt(c,l),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[so]=p=>{p&&p.target!==c||(!p||/transform$/.test(p.propertyName))&&(c.removeEventListener("transitionend",d),c[so]=null,jt(c,l))};c.addEventListener("transitionend",d)})}),()=>{const l=se(e),a=Qi(l);let i=l.tag||Ue;o=s,s=t.default?qs(t.default()):[];for(let c=0;c<s.length;c++){const u=s[c];u.key!=null&&ur(u,cr(u,a,r,n))}if(o)for(let c=0;c<o.length;c++){const u=o[c];ur(u,cr(u,a,r,n)),ec.set(u,u.el.getBoundingClientRect())}return Ee(i,null,s)}}},xd=e=>delete e.mode;nc.props;const Td=nc;function Ad(e){const t=e.el;t[so]&&t[so](),t[ea]&&t[ea]()}function Ld(e){tc.set(e,e.el.getBoundingClientRect())}function $d(e){const t=ec.get(e),n=tc.get(e),r=t.left-n.left,o=t.top-n.top;if(r||o){const s=e.el.style;return s.transform=s.webkitTransform=`translate(${r}px,${o}px)`,s.transitionDuration="0s",e}}function Id(e,t,n){const r=e.cloneNode(),o=e[Pn];o&&o.forEach(a=>{a.split(/\s+/).forEach(i=>i&&r.classList.remove(i))}),n.split(/\s+/).forEach(a=>a&&r.classList.add(a)),r.style.display="none";const s=t.nodeType===1?t:t.parentNode;s.appendChild(r);const{hasTransform:l}=Xi(r);return s.removeChild(r),l}const Pd=Le({patchProp:kd},od);let No,ta=!1;function Od(){return No=ta?No:j1(Pd),ta=!0,No}const Rd=(...e)=>{const t=Od().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=Nd(r);if(o)return n(o,!0,Md(o))},t};function Md(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Nd(e){return $e(e)?document.querySelector(e):e}var Dd=["link","meta","script","style","noscript","template"],jd=["title","base"],Hd=([e,t,n])=>jd.includes(e)?e:Dd.includes(e)?e==="meta"&&t.name?`${e}.${t.name}`:e==="template"&&t.id?`${e}.${t.id}`:JSON.stringify([e,Object.entries(t).map(([r,o])=>typeof o=="boolean"?o?[r,""]:null:[r,o]).filter(r=>r!=null).sort(([r],[o])=>r.localeCompare(o)),n]):null,Bd=e=>{const t=new Set,n=[];return e.forEach(r=>{const o=Hd(r);o&&!t.has(o)&&(t.add(o),n.push(r))}),n},Fd=e=>e[0]==="/"?e:`/${e}`,rc=e=>e[e.length-1]==="/"||e.endsWith(".html")?e:`${e}/`,un=e=>/^(https?:)?\/\//.test(e),zd=/.md((\?|#).*)?$/,On=(e,t="/")=>!!(un(e)||e.startsWith("/")&&!e.startsWith(t)&&!zd.test(e)),oc=e=>/^[a-z][a-z0-9+.-]*:/.test(e),Bn=e=>Object.prototype.toString.call(e)==="[object Object]",Vd=e=>{const[t,...n]=e.split(/(\?|#)/);if(!t||t.endsWith("/"))return e;let r=t.replace(/(^|\/)README.md$/i,"$1index.html");return r.endsWith(".md")?r=r.substring(0,r.length-3)+".html":r.endsWith(".html")||(r=r+".html"),r.endsWith("/index.html")&&(r=r.substring(0,r.length-10)),r+n.join("")},Ys=e=>e[e.length-1]==="/"?e.slice(0,-1):e,sc=e=>e[0]==="/"?e.slice(1):e,qd=(e,t)=>{const n=Object.keys(e).sort((r,o)=>{const s=o.split("/").length-r.split("/").length;return s!==0?s:o.length-r.length});for(const r of n)if(t.startsWith(r))return r;return"/"},Se=e=>typeof e=="string";const Ud="modulepreload",Wd=function(e){return"/"+e},na={},De=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){const s=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),a=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));o=Promise.all(n.map(i=>{if(i=Wd(i),i in na)return;na[i]=!0;const c=i.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(!!r)for(let h=s.length-1;h>=0;h--){const m=s[h];if(m.href===i&&(!c||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${u}`))return;const p=document.createElement("link");if(p.rel=c?"stylesheet":Ud,c||(p.as="script",p.crossOrigin=""),p.href=i,a&&p.setAttribute("nonce",a),document.head.appendChild(p),c)return new Promise((h,m)=>{p.addEventListener("load",h),p.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${i}`)))})}))}return o.then(()=>t()).catch(s=>{const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=s,window.dispatchEvent(l),!l.defaultPrevented)throw s})},Gd=JSON.parse("{}"),Kd=Object.fromEntries([["/",{loader:()=>De(()=>import("./index.html-De8hMM9d.js"),__vite__mapDeps([])),meta:{t:"首页",i:"home"}}],["/foolsday.html",{loader:()=>De(()=>import("./foolsday.html-BhOScywM.js"),__vite__mapDeps([])),meta:{t:"首页",i:"home"}}],["/deployment/",{loader:()=>De(()=>import("./index.html-BixPAATo.js"),__vite__mapDeps([])),meta:{t:"项目部署",i:"laptop-code"}}],["/deployment/config.html",{loader:()=>De(()=>import("./config.html-CJHMl7Jc.js"),__vite__mapDeps([])),meta:{t:"配置",i:"cog",O:2}}],["/deployment/fandq.html",{loader:()=>De(()=>import("./fandq.html-dIp0UgTR.js"),__vite__mapDeps([])),meta:{t:"答疑",i:"question",O:3}}],["/deployment/install.html",{loader:()=>De(()=>import("./install.html-jePEVzjg.js"),__vite__mapDeps([])),meta:{t:"安装",i:"download",O:1}}],["/store/",{loader:()=>De(()=>import("./index.html-D4plcAF-.js"),__vite__mapDeps([])),meta:{t:"资源商店",i:"store"}}],["/usage/",{loader:()=>De(()=>import("./index.html-CNGyI2B9.js"),__vite__mapDeps([])),meta:{t:"使用手册",i:"laptop-code"}}],["/usage/agreement.html",{loader:()=>De(()=>import("./agreement.html-Dyy7yVL7.js"),__vite__mapDeps([])),meta:{t:"用户协议",i:"user-secret",O:3}}],["/usage/basic_command.html",{loader:()=>De(()=>import("./basic_command.html-Wwbklu48.js"),__vite__mapDeps([])),meta:{t:"基础命令",i:"comment",O:1}}],["/usage/extra_command.html",{loader:()=>De(()=>import("./extra_command.html-j6IbCrty.js"),__vite__mapDeps([])),meta:{t:"功能命令",i:"comment",O:2}}],["/usage/resource_pack.html",{loader:()=>De(()=>import("./resource_pack.html-BPIQ_SqW.js"),__vite__mapDeps([])),meta:{t:"资源包",i:"paint-brush",O:3}}],["/404.html",{loader:()=>De(()=>import("./404.html-MvsemWdU.js"),__vite__mapDeps([])),meta:{t:""}}]]);/*!
|
||
* vue-router v4.3.0
|
||
* (c) 2024 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/const gn=typeof document<"u";function Yd(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const ce=Object.assign;function Do(e,t){const n={};for(const r in t){const o=t[r];n[r]=vt(o)?o.map(e):e(o)}return n}const rr=()=>{},vt=Array.isArray,lc=/#/g,Jd=/&/g,Qd=/\//g,Xd=/=/g,Zd=/\?/g,ac=/\+/g,e0=/%5B/g,t0=/%5D/g,ic=/%5E/g,n0=/%60/g,cc=/%7B/g,r0=/%7C/g,uc=/%7D/g,o0=/%20/g;function Js(e){return encodeURI(""+e).replace(r0,"|").replace(e0,"[").replace(t0,"]")}function s0(e){return Js(e).replace(cc,"{").replace(uc,"}").replace(ic,"^")}function ds(e){return Js(e).replace(ac,"%2B").replace(o0,"+").replace(lc,"%23").replace(Jd,"%26").replace(n0,"`").replace(cc,"{").replace(uc,"}").replace(ic,"^")}function l0(e){return ds(e).replace(Xd,"%3D")}function a0(e){return Js(e).replace(lc,"%23").replace(Zd,"%3F")}function i0(e){return e==null?"":a0(e).replace(Qd,"%2F")}function dr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const c0=/\/$/,u0=e=>e.replace(c0,"");function jo(e,t,n="/"){let r,o={},s="",l="";const a=t.indexOf("#");let i=t.indexOf("?");return a<i&&a>=0&&(i=-1),i>-1&&(r=t.slice(0,i),s=t.slice(i+1,a>-1?a:t.length),o=e(s)),a>-1&&(r=r||t.slice(0,a),l=t.slice(a,t.length)),r=h0(r??t,n),{fullPath:r+(s&&"?")+s+l,path:r,query:o,hash:dr(l)}}function f0(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function ra(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function d0(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&Rn(t.matched[r],n.matched[o])&&fc(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Rn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function fc(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!p0(e[n],t[n]))return!1;return!0}function p0(e,t){return vt(e)?oa(e,t):vt(t)?oa(t,e):e===t}function oa(e,t){return vt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function h0(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let s=n.length-1,l,a;for(l=0;l<r.length;l++)if(a=r[l],a!==".")if(a==="..")s>1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(l).join("/")}var pr;(function(e){e.pop="pop",e.push="push"})(pr||(pr={}));var or;(function(e){e.back="back",e.forward="forward",e.unknown=""})(or||(or={}));function v0(e){if(!e)if(gn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),u0(e)}const m0=/^[^#]+#/;function g0(e,t){return e.replace(m0,"#")+t}function y0(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const go=()=>({left:window.scrollX,top:window.scrollY});function b0(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=y0(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function sa(e,t){return(history.state?history.state.position-t:-1)+e}const ps=new Map;function w0(e,t){ps.set(e,t)}function _0(e){const t=ps.get(e);return ps.delete(e),t}let C0=()=>location.protocol+"//"+location.host;function dc(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let a=o.includes(e.slice(s))?e.slice(s).length:1,i=o.slice(a);return i[0]!=="/"&&(i="/"+i),ra(i,"")}return ra(n,e)+r+o}function E0(e,t,n,r){let o=[],s=[],l=null;const a=({state:p})=>{const h=dc(e,location),m=n.value,_=t.value;let b=0;if(p){if(n.value=h,t.value=p,l&&l===m){l=null;return}b=_?p.position-_.position:0}else r(h);o.forEach(y=>{y(n.value,m,{delta:b,type:pr.pop,direction:b?b>0?or.forward:or.back:or.unknown})})};function i(){l=n.value}function c(p){o.push(p);const h=()=>{const m=o.indexOf(p);m>-1&&o.splice(m,1)};return s.push(h),h}function u(){const{history:p}=window;p.state&&p.replaceState(ce({},p.state,{scroll:go()}),"")}function d(){for(const p of s)p();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:i,listen:c,destroy:d}}function la(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?go():null}}function k0(e){const{history:t,location:n}=window,r={value:dc(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(i,c,u){const d=e.indexOf("#"),p=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+i:C0()+e+i;try{t[u?"replaceState":"pushState"](c,"",p),o.value=c}catch(h){console.error(h),n[u?"replace":"assign"](p)}}function l(i,c){const u=ce({},t.state,la(o.value.back,i,o.value.forward,!0),c,{position:o.value.position});s(i,u,!0),r.value=i}function a(i,c){const u=ce({},o.value,t.state,{forward:i,scroll:go()});s(u.current,u,!0);const d=ce({},la(r.value,i,null),{position:u.position+1},c);s(i,d,!1),r.value=i}return{location:r,state:o,push:a,replace:l}}function S0(e){e=v0(e);const t=k0(e),n=E0(e,t.state,t.location,t.replace);function r(s,l=!0){l||n.pauseListeners(),history.go(s)}const o=ce({location:"",base:e,go:r,createHref:g0.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function x0(e){return typeof e=="string"||e&&typeof e=="object"}function pc(e){return typeof e=="string"||typeof e=="symbol"}const At={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},hc=Symbol("");var aa;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(aa||(aa={}));function Mn(e,t){return ce(new Error,{type:e,[hc]:!0},t)}function xt(e,t){return e instanceof Error&&hc in e&&(t==null||!!(e.type&t))}const ia="[^/]+?",T0={sensitive:!1,strict:!1,start:!0,end:!0},A0=/[.+*?^${}()[\]/\\]/g;function L0(e,t){const n=ce({},T0,t),r=[];let o=n.start?"^":"";const s=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(o+="/");for(let d=0;d<c.length;d++){const p=c[d];let h=40+(n.sensitive?.25:0);if(p.type===0)d||(o+="/"),o+=p.value.replace(A0,"\\$&"),h+=40;else if(p.type===1){const{value:m,repeatable:_,optional:b,regexp:y}=p;s.push({name:m,repeatable:_,optional:b});const E=y||ia;if(E!==ia){h+=10;try{new RegExp(`(${E})`)}catch(x){throw new Error(`Invalid custom RegExp for param "${m}" (${E}): `+x.message)}}let w=_?`((?:${E})(?:/(?:${E}))*)`:`(${E})`;d||(w=b&&c.length<2?`(?:/${w})`:"/"+w),b&&(w+="?"),o+=w,h+=20,b&&(h+=-8),_&&(h+=-20),E===".*"&&(h+=-50)}u.push(h)}r.push(u)}if(n.strict&&n.end){const c=r.length-1;r[c][r[c].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&(o+="(?:/|$)");const l=new RegExp(o,n.sensitive?"":"i");function a(c){const u=c.match(l),d={};if(!u)return null;for(let p=1;p<u.length;p++){const h=u[p]||"",m=s[p-1];d[m.name]=h&&m.repeatable?h.split("/"):h}return d}function i(c){let u="",d=!1;for(const p of e){(!d||!u.endsWith("/"))&&(u+="/"),d=!1;for(const h of p)if(h.type===0)u+=h.value;else if(h.type===1){const{value:m,repeatable:_,optional:b}=h,y=m in c?c[m]:"";if(vt(y)&&!_)throw new Error(`Provided param "${m}" is an array but it is not repeatable (* or + modifiers)`);const E=vt(y)?y.join("/"):y;if(!E)if(b)p.length<2&&(u.endsWith("/")?u=u.slice(0,-1):d=!0);else throw new Error(`Missing required param "${m}"`);u+=E}}return u||"/"}return{re:l,score:r,keys:s,parse:a,stringify:i}}function $0(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function I0(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const s=$0(r[n],o[n]);if(s)return s;n++}if(Math.abs(o.length-r.length)===1){if(ca(r))return 1;if(ca(o))return-1}return o.length-r.length}function ca(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const P0={type:0,value:""},O0=/[a-zA-Z0-9_]/;function R0(e){if(!e)return[[]];if(e==="/")return[[P0]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${c}": ${h}`)}let n=0,r=n;const o=[];let s;function l(){s&&o.push(s),s=[]}let a=0,i,c="",u="";function d(){c&&(n===0?s.push({type:0,value:c}):n===1||n===2||n===3?(s.length>1&&(i==="*"||i==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:c,regexp:u,repeatable:i==="*"||i==="+",optional:i==="*"||i==="?"})):t("Invalid state to consume buffer"),c="")}function p(){c+=i}for(;a<e.length;){if(i=e[a++],i==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:i==="/"?(c&&d(),l()):i===":"?(d(),n=1):p();break;case 4:p(),n=r;break;case 1:i==="("?n=2:O0.test(i)?p():(d(),n=0,i!=="*"&&i!=="?"&&i!=="+"&&a--);break;case 2:i===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+i:n=3:u+=i;break;case 3:d(),n=0,i!=="*"&&i!=="?"&&i!=="+"&&a--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),d(),l(),o}function M0(e,t,n){const r=L0(R0(e.path),n),o=ce(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function N0(e,t){const n=[],r=new Map;t=da({strict:!1,end:!0,sensitive:!1},t);function o(u){return r.get(u)}function s(u,d,p){const h=!p,m=D0(u);m.aliasOf=p&&p.record;const _=da(t,u),b=[m];if("alias"in u){const w=typeof u.alias=="string"?[u.alias]:u.alias;for(const x of w)b.push(ce({},m,{components:p?p.record.components:m.components,path:x,aliasOf:p?p.record:m}))}let y,E;for(const w of b){const{path:x}=w;if(d&&x[0]!=="/"){const M=d.record.path,k=M[M.length-1]==="/"?"":"/";w.path=d.record.path+(x&&k+x)}if(y=M0(w,d,_),p?p.alias.push(y):(E=E||y,E!==y&&E.alias.push(y),h&&u.name&&!fa(y)&&l(u.name)),m.children){const M=m.children;for(let k=0;k<M.length;k++)s(M[k],y,p&&p.children[k])}p=p||y,(y.record.components&&Object.keys(y.record.components).length||y.record.name||y.record.redirect)&&i(y)}return E?()=>{l(E)}:rr}function l(u){if(pc(u)){const d=r.get(u);d&&(r.delete(u),n.splice(n.indexOf(d),1),d.children.forEach(l),d.alias.forEach(l))}else{const d=n.indexOf(u);d>-1&&(n.splice(d,1),u.record.name&&r.delete(u.record.name),u.children.forEach(l),u.alias.forEach(l))}}function a(){return n}function i(u){let d=0;for(;d<n.length&&I0(u,n[d])>=0&&(u.record.path!==n[d].record.path||!vc(u,n[d]));)d++;n.splice(d,0,u),u.record.name&&!fa(u)&&r.set(u.record.name,u)}function c(u,d){let p,h={},m,_;if("name"in u&&u.name){if(p=r.get(u.name),!p)throw Mn(1,{location:u});_=p.record.name,h=ce(ua(d.params,p.keys.filter(E=>!E.optional).concat(p.parent?p.parent.keys.filter(E=>E.optional):[]).map(E=>E.name)),u.params&&ua(u.params,p.keys.map(E=>E.name))),m=p.stringify(h)}else if(u.path!=null)m=u.path,p=n.find(E=>E.re.test(m)),p&&(h=p.parse(m),_=p.record.name);else{if(p=d.name?r.get(d.name):n.find(E=>E.re.test(d.path)),!p)throw Mn(1,{location:u,currentLocation:d});_=p.record.name,h=ce({},d.params,u.params),m=p.stringify(h)}const b=[];let y=p;for(;y;)b.unshift(y.record),y=y.parent;return{name:_,path:m,params:h,matched:b,meta:H0(b)}}return e.forEach(u=>s(u)),{addRoute:s,resolve:c,removeRoute:l,getRoutes:a,getRecordMatcher:o}}function ua(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function D0(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:j0(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 j0(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function fa(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function H0(e){return e.reduce((t,n)=>ce(t,n.meta),{})}function da(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function vc(e,t){return t.children.some(n=>n===e||vc(e,n))}function B0(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;o<r.length;++o){const s=r[o].replace(ac," "),l=s.indexOf("="),a=dr(l<0?s:s.slice(0,l)),i=l<0?null:dr(s.slice(l+1));if(a in t){let c=t[a];vt(c)||(c=t[a]=[c]),c.push(i)}else t[a]=i}return t}function pa(e){let t="";for(let n in e){const r=e[n];if(n=l0(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(vt(r)?r.map(s=>s&&ds(s)):[r&&ds(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function F0(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=vt(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const z0=Symbol(""),ha=Symbol(""),yo=Symbol(""),Qs=Symbol(""),hs=Symbol("");function Wn(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Vt(e,t,n,r,o,s=l=>l()){const l=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((a,i)=>{const c=p=>{p===!1?i(Mn(4,{from:n,to:t})):p instanceof Error?i(p):x0(p)?i(Mn(2,{from:t,to:p})):(l&&r.enterCallbacks[o]===l&&typeof p=="function"&&l.push(p),a())},u=s(()=>e.call(r&&r.instances[o],t,n,c));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch(p=>i(p))})}function Ho(e,t,n,r,o=s=>s()){const s=[];for(const l of e)for(const a in l.components){let i=l.components[a];if(!(t!=="beforeRouteEnter"&&!l.instances[a]))if(V0(i)){const u=(i.__vccOpts||i)[t];u&&s.push(Vt(u,n,r,l,a,o))}else{let c=i();s.push(()=>c.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${l.path}"`));const d=Yd(u)?u.default:u;l.components[a]=d;const h=(d.__vccOpts||d)[t];return h&&Vt(h,n,r,l,a,o)()}))}}return s}function V0(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function va(e){const t=ke(yo),n=ke(Qs),r=S(()=>t.resolve(Ut(e.to))),o=S(()=>{const{matched:i}=r.value,{length:c}=i,u=i[c-1],d=n.matched;if(!u||!d.length)return-1;const p=d.findIndex(Rn.bind(null,u));if(p>-1)return p;const h=ma(i[c-2]);return c>1&&ma(u)===h&&d[d.length-1].path!==h?d.findIndex(Rn.bind(null,i[c-2])):p}),s=S(()=>o.value>-1&&G0(n.params,r.value.params)),l=S(()=>o.value>-1&&o.value===n.matched.length-1&&fc(n.params,r.value.params));function a(i={}){return W0(i)?t[Ut(e.replace)?"replace":"push"](Ut(e.to)).catch(rr):Promise.resolve()}return{route:r,href:S(()=>r.value.href),isActive:s,isExactActive:l,navigate:a}}const q0=V({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:va,setup(e,{slots:t}){const n=_r(va(e)),{options:r}=ke(yo),o=S(()=>({[ga(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[ga(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&t.default(n);return e.custom?s:f("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}}),U0=q0;function W0(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 G0(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!vt(o)||o.length!==r.length||r.some((s,l)=>s!==o[l]))return!1}return!0}function ma(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ga=(e,t,n)=>e??t??n,K0=V({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=ke(hs),o=S(()=>e.route||r.value),s=ke(ha,0),l=S(()=>{let c=Ut(s);const{matched:u}=o.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),a=S(()=>o.value.matched[l.value]);ln(ha,S(()=>l.value+1)),ln(z0,a),ln(hs,o);const i=Y();return oe(()=>[i.value,a.value,e.name],([c,u,d],[p,h,m])=>{u&&(u.instances[d]=c,h&&h!==u&&c&&c===p&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),c&&u&&(!h||!Rn(u,h)||!p)&&(u.enterCallbacks[d]||[]).forEach(_=>_(c))},{flush:"post"}),()=>{const c=o.value,u=e.name,d=a.value,p=d&&d.components[u];if(!p)return ya(n.default,{Component:p,route:c});const h=d.props[u],m=h?h===!0?c.params:typeof h=="function"?h(c):h:null,b=f(p,ce({},m,t,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(d.instances[u]=null)},ref:i}));return ya(n.default,{Component:b,route:c})||b}}});function ya(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Y0=K0;function J0(e){const t=N0(e.routes,e),n=e.parseQuery||B0,r=e.stringifyQuery||pa,o=e.history,s=Wn(),l=Wn(),a=Wn(),i=Ie(At);let c=At;gn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Do.bind(null,T=>""+T),d=Do.bind(null,i0),p=Do.bind(null,dr);function h(T,F){let H,G;return pc(T)?(H=t.getRecordMatcher(T),G=F):G=T,t.addRoute(G,H)}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=ce({},F||i.value),typeof T=="string"){const g=jo(n,T,F.path),C=t.resolve({path:g.path},F),L=o.createHref(g.fullPath);return ce(g,C,{params:p(C.params),hash:dr(g.hash),redirectedFrom:void 0,href:L})}let H;if(T.path!=null)H=ce({},T,{path:jo(n,T.path,F.path).path});else{const g=ce({},T.params);for(const C in g)g[C]==null&&delete g[C];H=ce({},T,{params:d(g)}),F.params=d(F.params)}const G=t.resolve(H,F),le=T.hash||"";G.params=u(p(G.params));const de=f0(r,ce({},T,{hash:s0(le),path:G.path})),v=o.createHref(de);return ce({fullPath:de,hash:le,query:r===pa?F0(T.query):T.query||{}},G,{redirectedFrom:void 0,href:v})}function E(T){return typeof T=="string"?jo(n,T,i.value.path):ce({},T)}function w(T,F){if(c!==T)return Mn(8,{from:F,to:T})}function x(T){return N(T)}function M(T){return x(ce(E(T),{replace:!0}))}function k(T){const F=T.matched[T.matched.length-1];if(F&&F.redirect){const{redirect:H}=F;let G=typeof H=="function"?H(T):H;return typeof G=="string"&&(G=G.includes("?")||G.includes("#")?G=E(G):{path:G},G.params={}),ce({query:T.query,hash:T.hash,params:G.path!=null?{}:T.params},G)}}function N(T,F){const H=c=y(T),G=i.value,le=T.state,de=T.force,v=T.replace===!0,g=k(H);if(g)return N(ce(E(g),{state:typeof g=="object"?ce({},le,g.state):le,force:de,replace:v}),F||H);const C=H;C.redirectedFrom=F;let L;return!de&&d0(r,G,H)&&(L=Mn(16,{to:C,from:G}),et(G,G,!0,!1)),(L?Promise.resolve(L):I(C,G)).catch(A=>xt(A)?xt(A,2)?A:gt(A):W(A,C,G)).then(A=>{if(A){if(xt(A,2))return N(ce({replace:v},E(A.to),{state:typeof A.to=="object"?ce({},le,A.to.state):le,force:de}),F||C)}else A=O(C,G,!0,v,le);return q(C,G,A),A})}function P(T,F){const H=w(T,F);return H?Promise.reject(H):Promise.resolve()}function K(T){const F=St.values().next().value;return F&&typeof F.runWithContext=="function"?F.runWithContext(T):T()}function I(T,F){let H;const[G,le,de]=Q0(T,F);H=Ho(G.reverse(),"beforeRouteLeave",T,F);for(const g of G)g.leaveGuards.forEach(C=>{H.push(Vt(C,T,F))});const v=P.bind(null,T,F);return H.push(v),Ae(H).then(()=>{H=[];for(const g of s.list())H.push(Vt(g,T,F));return H.push(v),Ae(H)}).then(()=>{H=Ho(le,"beforeRouteUpdate",T,F);for(const g of le)g.updateGuards.forEach(C=>{H.push(Vt(C,T,F))});return H.push(v),Ae(H)}).then(()=>{H=[];for(const g of de)if(g.beforeEnter)if(vt(g.beforeEnter))for(const C of g.beforeEnter)H.push(Vt(C,T,F));else H.push(Vt(g.beforeEnter,T,F));return H.push(v),Ae(H)}).then(()=>(T.matched.forEach(g=>g.enterCallbacks={}),H=Ho(de,"beforeRouteEnter",T,F,K),H.push(v),Ae(H))).then(()=>{H=[];for(const g of l.list())H.push(Vt(g,T,F));return H.push(v),Ae(H)}).catch(g=>xt(g,8)?g:Promise.reject(g))}function q(T,F,H){a.list().forEach(G=>K(()=>G(T,F,H)))}function O(T,F,H,G,le){const de=w(T,F);if(de)return de;const v=F===At,g=gn?history.state:{};H&&(G||v?o.replace(T.fullPath,ce({scroll:v&&g&&g.scroll},le)):o.push(T.fullPath,le)),i.value=T,et(T,F,H,v),gt()}let Z;function _e(){Z||(Z=o.listen((T,F,H)=>{if(!yt.listening)return;const G=y(T),le=k(G);if(le){N(ce(le,{replace:!0}),G).catch(rr);return}c=G;const de=i.value;gn&&w0(sa(de.fullPath,H.delta),go()),I(G,de).catch(v=>xt(v,12)?v:xt(v,2)?(N(v.to,G).then(g=>{xt(g,20)&&!H.delta&&H.type===pr.pop&&o.go(-1,!1)}).catch(rr),Promise.reject()):(H.delta&&o.go(-H.delta,!1),W(v,G,de))).then(v=>{v=v||O(G,de,!1),v&&(H.delta&&!xt(v,8)?o.go(-H.delta,!1):H.type===pr.pop&&xt(v,20)&&o.go(-1,!1)),q(G,de,v)}).catch(rr)}))}let me=Wn(),U=Wn(),ee;function W(T,F,H){gt(T);const G=U.list();return G.length?G.forEach(le=>le(T,F,H)):console.error(T),Promise.reject(T)}function Te(){return ee&&i.value!==At?Promise.resolve():new Promise((T,F)=>{me.add([T,F])})}function gt(T){return ee||(ee=!T,_e(),me.list().forEach(([F,H])=>T?H(T):F()),me.reset()),T}function et(T,F,H,G){const{scrollBehavior:le}=e;if(!gn||!le)return Promise.resolve();const de=!H&&_0(sa(T.fullPath,0))||(G||!H)&&history.state&&history.state.scroll||null;return $t().then(()=>le(T,F,de)).then(v=>v&&b0(v)).catch(v=>W(v,T,F))}const Pe=T=>o.go(T);let Je;const St=new Set,yt={currentRoute:i,listening:!0,addRoute:h,removeRoute:m,hasRoute:b,getRoutes:_,resolve:y,options:e,push:x,replace:M,go:Pe,back:()=>Pe(-1),forward:()=>Pe(1),beforeEach:s.add,beforeResolve:l.add,afterEach:a.add,onError:U.add,isReady:Te,install(T){const F=this;T.component("RouterLink",U0),T.component("RouterView",Y0),T.config.globalProperties.$router=F,Object.defineProperty(T.config.globalProperties,"$route",{enumerable:!0,get:()=>Ut(i)}),gn&&!Je&&i.value===At&&(Je=!0,x(o.location).catch(le=>{}));const H={};for(const le in At)Object.defineProperty(H,le,{get:()=>i.value[le],enumerable:!0});T.provide(yo,F),T.provide(Qs,ui(H)),T.provide(hs,i);const G=T.unmount;St.add(T),T.unmount=function(){St.delete(T),St.size<1&&(c=At,Z&&Z(),Z=null,i.value=At,Je=!1,ee=!1),G()}}};function Ae(T){return T.reduce((F,H)=>F.then(()=>K(H)),Promise.resolve())}return yt}function Q0(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let l=0;l<s;l++){const a=t.matched[l];a&&(e.matched.find(c=>Rn(c,a))?r.push(a):n.push(a));const i=e.matched[l];i&&(t.matched.find(c=>Rn(c,i))||o.push(i))}return[n,r,o]}function Fn(){return ke(yo)}function fn(){return ke(Qs)}var Xs=Symbol(""),kt=()=>{const e=ke(Xs);if(!e)throw new Error("useClientData() is called without provider.");return e},X0=()=>kt().pageComponent,we=()=>kt().pageData,Ce=()=>kt().pageFrontmatter,Z0=()=>kt().pageHead,Zs=()=>kt().pageLang,e2=()=>kt().pageLayout,Pt=()=>kt().routeLocale,t2=()=>kt().routes,mc=()=>kt().siteData,bo=()=>kt().siteLocaleData,n2=Symbol(""),vs=Ie(Gd),hr=Ie(Kd),gc=e=>{const t=Vd(e);if(hr.value[t])return t;const n=encodeURI(t);return hr.value[n]?n:vs.value[t]||vs.value[n]||t},wo=e=>{const t=gc(e),n=hr.value[t]??{...hr.value["/404.html"],notFound:!0};return{path:t,notFound:!1,...n}},_o=V({name:"ClientOnly",setup(e,t){const n=Y(!1);return fe(()=>{n.value=!0}),()=>{var r,o;return n.value?(o=(r=t.slots).default)==null?void 0:o.call(r):null}}}),yc=V({name:"Content",props:{path:{type:String,required:!1,default:""}},setup(e){const t=X0(),n=S(()=>{if(!e.path)return t.value;const r=wo(e.path);return Li(()=>r.loader().then(({comp:o})=>o))});return()=>f(n.value)}}),Ye=(e={})=>e,Fe=e=>un(e)?e:`/${sc(e)}`,r2=e=>{if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget){const t=e.currentTarget.getAttribute("target");if(t!=null&&t.match(/\b_blank\b/i))return}return e.preventDefault(),!0}},We=({active:e=!1,activeClass:t="route-link-active",to:n,...r},{slots:o})=>{var i;const s=Fn(),l=gc(n),a=l.startsWith("#")||l.startsWith("?")?l:Fe(l);return f("a",{...r,class:["route-link",{[t]:e}],href:a,onClick:(c={})=>{r2(c)?s.push(n).catch():Promise.resolve()}},(i=o.default)==null?void 0:i.call(o))};We.displayName="RouteLink";We.props={active:Boolean,activeClass:String,to:String};var o2="Layout",s2="en-US",en=_r({resolveLayouts:e=>e.reduce((t,n)=>({...t,...n.layouts}),{}),resolvePageHead:(e,t,n)=>{const r=Se(t.description)?t.description:n.description,o=[...Array.isArray(t.head)?t.head:[],...n.head,["title",{},e],["meta",{name:"description",content:r}]];return Bd(o)},resolvePageHeadTitle:(e,t)=>[e.title,t.title].filter(n=>!!n).join(" | "),resolvePageLang:(e,t)=>e.lang||t.lang||s2,resolvePageLayout:(e,t)=>{const n=Se(e.frontmatter.layout)?e.frontmatter.layout:o2;if(!t[n])throw new Error(`[vuepress] Cannot resolve layout: ${n}`);return t[n]},resolveRouteLocale:(e,t)=>qd(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 l2={},Tr=e=>{const t=Pt();return S(()=>e[t.value]??{})};var Be=Uint8Array,wn=Uint16Array,a2=Int32Array,bc=new Be([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),wc=new Be([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),i2=new Be([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),_c=function(e,t){for(var n=new wn(31),r=0;r<31;++r)n[r]=t+=1<<e[r-1];for(var o=new a2(n[30]),r=1;r<30;++r)for(var s=n[r];s<n[r+1];++s)o[s]=s-n[r]<<5|r;return{b:n,r:o}},Cc=_c(bc,2),Ec=Cc.b,c2=Cc.r;Ec[28]=258,c2[258]=28;var u2=_c(wc,0),f2=u2.b,ms=new wn(32768);for(var ve=0;ve<32768;++ve){var Nt=(ve&43690)>>1|(ve&21845)<<1;Nt=(Nt&52428)>>2|(Nt&13107)<<2,Nt=(Nt&61680)>>4|(Nt&3855)<<4,ms[ve]=((Nt&65280)>>8|(Nt&255)<<8)>>1}var sr=function(e,t,n){for(var r=e.length,o=0,s=new wn(t);o<r;++o)e[o]&&++s[e[o]-1];var l=new wn(t);for(o=1;o<t;++o)l[o]=l[o-1]+s[o-1]<<1;var a;if(n){a=new wn(1<<t);var i=15-t;for(o=0;o<r;++o)if(e[o])for(var c=o<<4|e[o],u=t-e[o],d=l[e[o]-1]++<<u,p=d|(1<<u)-1;d<=p;++d)a[ms[d]>>i]=c}else for(a=new wn(r),o=0;o<r;++o)e[o]&&(a[o]=ms[l[e[o]-1]++]>>15-e[o]);return a},Ar=new Be(288);for(var ve=0;ve<144;++ve)Ar[ve]=8;for(var ve=144;ve<256;++ve)Ar[ve]=9;for(var ve=256;ve<280;++ve)Ar[ve]=7;for(var ve=280;ve<288;++ve)Ar[ve]=8;var kc=new Be(32);for(var ve=0;ve<32;++ve)kc[ve]=5;var d2=sr(Ar,9,1),p2=sr(kc,5,1),Bo=function(e){for(var t=e[0],n=1;n<e.length;++n)e[n]>t&&(t=e[n]);return t},ft=function(e,t,n){var r=t/8|0;return(e[r]|e[r+1]<<8)>>(t&7)&n},Fo=function(e,t){var n=t/8|0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>(t&7)},h2=function(e){return(e+7)/8|0},el=function(e,t,n){return(t==null||t<0)&&(t=0),(n==null||n>e.length)&&(n=e.length),new Be(e.subarray(t,n))},v2=["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"],rt=function(e,t,n){var r=new Error(t||v2[e]);if(r.code=e,Error.captureStackTrace&&Error.captureStackTrace(r,rt),!n)throw r;return r},m2=function(e,t,n,r){var o=e.length,s=r?r.length:0;if(!o||t.f&&!t.l)return n||new Be(0);var l=!n,a=l||t.i!=2,i=t.i;l&&(n=new Be(o*3));var c=function(le){var de=n.length;if(le>de){var v=new Be(Math.max(de*2,le));v.set(n),n=v}},u=t.f||0,d=t.p||0,p=t.b||0,h=t.l,m=t.d,_=t.m,b=t.n,y=o*8;do{if(!h){u=ft(e,d,1);var E=ft(e,d+1,3);if(d+=3,E)if(E==1)h=d2,m=p2,_=9,b=5;else if(E==2){var k=ft(e,d,31)+257,N=ft(e,d+10,15)+4,P=k+ft(e,d+5,31)+1;d+=14;for(var K=new Be(P),I=new Be(19),q=0;q<N;++q)I[i2[q]]=ft(e,d+q*3,7);d+=N*3;for(var O=Bo(I),Z=(1<<O)-1,_e=sr(I,O,1),q=0;q<P;){var me=_e[ft(e,d,Z)];d+=me&15;var w=me>>4;if(w<16)K[q++]=w;else{var U=0,ee=0;for(w==16?(ee=3+ft(e,d,3),d+=2,U=K[q-1]):w==17?(ee=3+ft(e,d,7),d+=3):w==18&&(ee=11+ft(e,d,127),d+=7);ee--;)K[q++]=U}}var W=K.subarray(0,k),Te=K.subarray(k);_=Bo(W),b=Bo(Te),h=sr(W,_,1),m=sr(Te,b,1)}else rt(1);else{var w=h2(d)+4,x=e[w-4]|e[w-3]<<8,M=w+x;if(M>o){i&&rt(0);break}a&&c(p+x),n.set(e.subarray(w,M),p),t.b=p+=x,t.p=d=M*8,t.f=u;continue}if(d>y){i&&rt(0);break}}a&&c(p+131072);for(var gt=(1<<_)-1,et=(1<<b)-1,Pe=d;;Pe=d){var U=h[Fo(e,d)>],Je=U>>4;if(d+=U&15,d>y){i&&rt(0);break}if(U||rt(2),Je<256)n[p++]=Je;else if(Je==256){Pe=d,h=null;break}else{var St=Je-254;if(Je>264){var q=Je-257,yt=bc[q];St=ft(e,d,(1<<yt)-1)+Ec[q],d+=yt}var Ae=m[Fo(e,d)&et],T=Ae>>4;Ae||rt(3),d+=Ae&15;var Te=f2[T];if(T>3){var yt=wc[T];Te+=Fo(e,d)&(1<<yt)-1,d+=yt}if(d>y){i&&rt(0);break}a&&c(p+131072);var F=p+St;if(p<Te){var H=s-Te,G=Math.min(Te,F);for(H+p<0&&rt(3);p<G;++p)n[p]=r[H+p]}for(;p<F;++p)n[p]=n[p-Te]}}t.l=h,t.p=Pe,t.b=p,t.f=u,h&&(u=1,t.m=_,t.d=m,t.n=b)}while(!u);return p!=n.length&&l?el(n,0,p):n.subarray(0,p)},g2=new Be(0),y2=function(e,t){return((e[0]&15)!=8||e[0]>>4>7||(e[0]<<8|e[1])%31)&&rt(6,"invalid zlib data"),(e[1]>>5&1)==+!t&&rt(6,"invalid zlib data: "+(e[1]&32?"need":"unexpected")+" dictionary"),(e[1]>>3&4)+2};function b2(e,t){return m2(e.subarray(y2(e,t&&t.dictionary),-4),{i:2},t&&t.out,t&&t.dictionary)}var ba=typeof TextEncoder<"u"&&new TextEncoder,gs=typeof TextDecoder<"u"&&new TextDecoder,w2=0;try{gs.decode(g2,{stream:!0}),w2=1}catch{}var _2=function(e){for(var t="",n=0;;){var r=e[n++],o=(r>127)+(r>223)+(r>239);if(n+o>e.length)return{s:t,r:el(e,n-1)};o?o==3?(r=((r&15)<<18|(e[n++]&63)<<12|(e[n++]&63)<<6|e[n++]&63)-65536,t+=String.fromCharCode(55296|r>>10,56320|r&1023)):o&1?t+=String.fromCharCode((r&31)<<6|e[n++]&63):t+=String.fromCharCode((r&15)<<12|(e[n++]&63)<<6|e[n++]&63):t+=String.fromCharCode(r)}};function C2(e,t){if(t){for(var n=new Be(e.length),r=0;r<e.length;++r)n[r]=e.charCodeAt(r);return n}if(ba)return ba.encode(e);for(var o=e.length,s=new Be(e.length+(e.length>>1)),l=0,a=function(u){s[l++]=u},r=0;r<o;++r){if(l+5>s.length){var i=new Be(l+8+(o-r<<1));i.set(s),s=i}var c=e.charCodeAt(r);c<128||t?a(c):c<2048?(a(192|c>>6),a(128|c&63)):c>55295&&c<57344?(c=65536+(c&1047552)|e.charCodeAt(++r)&1023,a(240|c>>18),a(128|c>>12&63),a(128|c>>6&63),a(128|c&63)):(a(224|c>>12),a(128|c>>6&63),a(128|c&63))}return el(s,0,l)}function E2(e,t){if(t){for(var n="",r=0;r<e.length;r+=16384)n+=String.fromCharCode.apply(null,e.subarray(r,r+16384));return n}else{if(gs)return gs.decode(e);var o=_2(e),s=o.s,n=o.r;return n.length&&rt(8),s}}const wa=e=>{const t=atob(e);return E2(b2(C2(t,!0)))},it=(e,t)=>{var r;const n=(r=(t==null?void 0:t._instance)||Hn())==null?void 0:r.appContext.components;return n?e in n||ct(e)in n||wr(ct(e))in n:!1},Sc=e=>new Promise(t=>setTimeout(t,e)),xc=e=>typeof e<"u",zo=e=>typeof e=="number",ys=Array.isArray,Nn=(e,t)=>Se(e)&&e.startsWith(t),k2=(e,t)=>Se(e)&&e.endsWith(t),S2=Object.entries,dn=Object.keys,x2=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},tl=e=>Nn(e,"/");function Tc(e,t){let n,r,o;const s=Y(!0),l=()=>{s.value=!0,o()};oe(e,l,{flush:"sync"});const a=typeof t=="function"?t:t.get,i=typeof t=="function"?void 0:t.set,c=Fs((u,d)=>(r=u,o=d,{get(){return s.value&&(n=a(),s.value=!1),r(),n},set(p){i==null||i(p)}}));return Object.isExtensible(c)&&(c.trigger=l),c}function zn(e){return Xa()?(bf(e),!0):!1}function Ne(e){return typeof e=="function"?e():Ut(e)}const Lr=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const T2=Object.prototype.toString,A2=e=>T2.call(e)==="[object Object]",Et=()=>{},bs=L2();function L2(){var e,t;return Lr&&((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 nl(e,t){function n(...r){return new Promise((o,s)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(s)})}return n}const Ac=e=>e();function $2(e,t={}){let n,r,o=Et;const s=a=>{clearTimeout(a),o(),o=Et};return a=>{const i=Ne(e),c=Ne(t.maxWait);return n&&s(n),i<=0||c!==void 0&&c<=0?(r&&(s(r),r=null),Promise.resolve(a())):new Promise((u,d)=>{o=t.rejectOnCancel?d:u,c&&!r&&(r=setTimeout(()=>{n&&s(n),r=null,u(a())},c)),n=setTimeout(()=>{r&&s(r),r=null,u(a())},i)})}}function I2(...e){let t=0,n,r=!0,o=Et,s,l,a,i,c;!Me(e[0])&&typeof e[0]=="object"?{delay:l,trailing:a=!0,leading:i=!0,rejectOnCancel:c=!1}=e[0]:[l,a=!0,i=!0,c=!1]=e;const u=()=>{n&&(clearTimeout(n),n=void 0,o(),o=Et)};return p=>{const h=Ne(l),m=Date.now()-t,_=()=>s=p();return u(),h<=0?(t=Date.now(),_()):(m>h&&(i||!r)?(t=Date.now(),_()):a&&(s=new Promise((b,y)=>{o=c?y:b,n=setTimeout(()=>{t=Date.now(),r=!0,b(_()),u()},Math.max(0,h-m))})),!i&&!n&&(n=setTimeout(()=>r=!0,h)),r=!1,s)}}function P2(e=Ac){const t=Y(!0);function n(){t.value=!1}function r(){t.value=!0}const o=(...s)=>{t.value&&e(...s)};return{isActive:Cr(t),pause:n,resume:r,eventFilter:o}}function O2(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const r=t;t=void 0,r&&await r},n}function Lc(e){return e||Hn()}function R2(...e){if(e.length!==1)return uo(...e);const t=e[0];return typeof t=="function"?Cr(Fs(()=>({get:t,set:Et}))):Y(t)}function $c(e,t=200,n={}){return nl($2(t,n),e)}function M2(e,t=200,n=!1,r=!0,o=!1){return nl(I2(t,n,r,o),e)}function N2(e,t,n={}){const{eventFilter:r=Ac,...o}=n;return oe(e,nl(r,t),o)}function D2(e,t,n={}){const{eventFilter:r,...o}=n,{eventFilter:s,pause:l,resume:a,isActive:i}=P2(r);return{stop:N2(e,t,{...o,eventFilter:s}),pause:l,resume:a,isActive:i}}function Co(e,t=!0,n){Lc()?fe(e,n):t?e():$t(e)}function j2(e,t){Lc(t)&&Jt(e,t)}function H2(e,t,n={}){const{immediate:r=!0}=n,o=Y(!1);let s=null;function l(){s&&(clearTimeout(s),s=null)}function a(){o.value=!1,l()}function i(...c){l(),o.value=!0,s=setTimeout(()=>{o.value=!1,s=null,e(...c)},Ne(t))}return r&&(o.value=!0,Lr&&i()),zn(a),{isPending:Cr(o),start:i,stop:a}}function vr(e=!1,t={}){const{truthyValue:n=!0,falsyValue:r=!1}=t,o=Me(e),s=Y(e);function l(a){if(arguments.length)return s.value=a,s.value;{const i=Ne(n);return s.value=s.value===i?Ne(r):i,s.value}}return o?l:[s,l]}function Ze(e){var t;const n=Ne(e);return(t=n==null?void 0:n.$el)!=null?t:n}const mt=Lr?window:void 0,Ic=Lr?window.document:void 0,Pc=Lr?window.navigator:void 0;function be(...e){let t,n,r,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,o]=e,t=mt):[t,n,r,o]=e,!t)return Et;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const s=[],l=()=>{s.forEach(u=>u()),s.length=0},a=(u,d,p,h)=>(u.addEventListener(d,p,h),()=>u.removeEventListener(d,p,h)),i=oe(()=>[Ze(t),Ne(o)],([u,d])=>{if(l(),!u)return;const p=A2(d)?{...d}:d;s.push(...n.flatMap(h=>r.map(m=>a(u,h,m,p))))},{immediate:!0,flush:"post"}),c=()=>{i(),l()};return zn(c),c}let _a=!1;function B2(e,t,n={}){const{window:r=mt,ignore:o=[],capture:s=!0,detectIframe:l=!1}=n;if(!r)return Et;bs&&!_a&&(_a=!0,Array.from(r.document.body.children).forEach(p=>p.addEventListener("click",Et)),r.document.documentElement.addEventListener("click",Et));let a=!0;const i=p=>o.some(h=>{if(typeof h=="string")return Array.from(r.document.querySelectorAll(h)).some(m=>m===p.target||p.composedPath().includes(m));{const m=Ze(h);return m&&(p.target===m||p.composedPath().includes(m))}}),u=[be(r,"click",p=>{const h=Ze(e);if(!(!h||h===p.target||p.composedPath().includes(h))){if(p.detail===0&&(a=!i(p)),!a){a=!0;return}t(p)}},{passive:!0,capture:s}),be(r,"pointerdown",p=>{const h=Ze(e);a=!i(p)&&!!(h&&!p.composedPath().includes(h))},{passive:!0}),l&&be(r,"blur",p=>{setTimeout(()=>{var h;const m=Ze(e);((h=r.document.activeElement)==null?void 0:h.tagName)==="IFRAME"&&!(m!=null&&m.contains(r.document.activeElement))&&t(p)},0)})].filter(Boolean);return()=>u.forEach(p=>p())}function F2(){const e=Y(!1),t=Hn();return t&&fe(()=>{e.value=!0},t),e}function $r(e){const t=F2();return S(()=>(t.value,!!e()))}function Oc(e,t={}){const{window:n=mt}=t,r=$r(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let o;const s=Y(!1),l=c=>{s.value=c.matches},a=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",l):o.removeListener(l))},i=ki(()=>{r.value&&(a(),o=n.matchMedia(Ne(e)),"addEventListener"in o?o.addEventListener("change",l):o.addListener(l),s.value=o.matches)});return zn(()=>{i(),a(),o=void 0}),s}function Ca(e,t={}){const{controls:n=!1,navigator:r=Pc}=t,o=$r(()=>r&&"permissions"in r);let s;const l=typeof e=="string"?{name:e}:e,a=Y(),i=()=>{s&&(a.value=s.state)},c=O2(async()=>{if(o.value){if(!s)try{s=await r.permissions.query(l),be(s,"change",i),i()}catch{a.value="prompt"}return s}});return c(),n?{state:a,isSupported:o,query:c}:a}function z2(e={}){const{navigator:t=Pc,read:n=!1,source:r,copiedDuring:o=1500,legacy:s=!1}=e,l=$r(()=>t&&"clipboard"in t),a=Ca("clipboard-read"),i=Ca("clipboard-write"),c=S(()=>l.value||s),u=Y(""),d=Y(!1),p=H2(()=>d.value=!1,o);function h(){l.value&&y(a.value)?t.clipboard.readText().then(E=>{u.value=E}):u.value=b()}c.value&&n&&be(["copy","cut"],h);async function m(E=Ne(r)){c.value&&E!=null&&(l.value&&y(i.value)?await t.clipboard.writeText(E):_(E),u.value=E,d.value=!0,p.start())}function _(E){const w=document.createElement("textarea");w.value=E??"",w.style.position="absolute",w.style.opacity="0",document.body.appendChild(w),w.select(),document.execCommand("copy"),w.remove()}function b(){var E,w,x;return(x=(w=(E=document==null?void 0:document.getSelection)==null?void 0:E.call(document))==null?void 0:w.toString())!=null?x:""}function y(E){return E==="granted"||E==="prompt"}return{isSupported:c,text:u,copied:d,copy:m}}const zr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Vr="__vueuse_ssr_handlers__",V2=q2();function q2(){return Vr in zr||(zr[Vr]=zr[Vr]||{}),zr[Vr]}function U2(e,t){return V2[e]||t}function W2(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 G2={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()}},Ea="vueuse-storage";function pn(e,t,n,r={}){var o;const{flush:s="pre",deep:l=!0,listenToStorageChanges:a=!0,writeDefaults:i=!0,mergeDefaults:c=!1,shallow:u,window:d=mt,eventFilter:p,onError:h=I=>{console.error(I)},initOnMounted:m}=r,_=(u?Ie:Y)(typeof t=="function"?t():t);if(!n)try{n=U2("getDefaultStorage",()=>{var I;return(I=mt)==null?void 0:I.localStorage})()}catch(I){h(I)}if(!n)return _;const b=Ne(t),y=W2(b),E=(o=r.serializer)!=null?o:G2[y],{pause:w,resume:x}=D2(_,()=>k(_.value),{flush:s,deep:l,eventFilter:p});d&&a&&Co(()=>{be(d,"storage",P),be(d,Ea,K),m&&P()}),m||P();function M(I,q){d&&d.dispatchEvent(new CustomEvent(Ea,{detail:{key:e,oldValue:I,newValue:q,storageArea:n}}))}function k(I){try{const q=n.getItem(e);if(I==null)M(q,null),n.removeItem(e);else{const O=E.write(I);q!==O&&(n.setItem(e,O),M(q,O))}}catch(q){h(q)}}function N(I){const q=I?I.newValue:n.getItem(e);if(q==null)return i&&b!=null&&n.setItem(e,E.write(b)),b;if(!I&&c){const O=E.read(q);return typeof c=="function"?c(O,b):y==="object"&&!Array.isArray(O)?{...b,...O}:O}else return typeof q!="string"?q:E.read(q)}function P(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)!==E.write(_.value)&&(_.value=N(I))}catch(q){h(q)}finally{I?$t(x):x()}}}}function K(I){P(I.detail)}return _}function K2(e){return Oc("(prefers-color-scheme: dark)",e)}function Y2(e,t,n={}){const{window:r=mt,...o}=n;let s;const l=$r(()=>r&&"ResizeObserver"in r),a=()=>{s&&(s.disconnect(),s=void 0)},i=S(()=>Array.isArray(e)?e.map(d=>Ze(d)):[Ze(e)]),c=oe(i,d=>{if(a(),l.value&&r){s=new ResizeObserver(t);for(const p of d)p&&s.observe(p,o)}},{immediate:!0,flush:"post"}),u=()=>{a(),c()};return zn(u),{isSupported:l,stop:u}}function J2(e,t={width:0,height:0},n={}){const{window:r=mt,box:o="content-box"}=n,s=S(()=>{var d,p;return(p=(d=Ze(e))==null?void 0:d.namespaceURI)==null?void 0:p.includes("svg")}),l=Y(t.width),a=Y(t.height),{stop:i}=Y2(e,([d])=>{const p=o==="border-box"?d.borderBoxSize:o==="content-box"?d.contentBoxSize:d.devicePixelContentBoxSize;if(r&&s.value){const h=Ze(e);if(h){const m=r.getComputedStyle(h);l.value=Number.parseFloat(m.width),a.value=Number.parseFloat(m.height)}}else if(p){const h=Array.isArray(p)?p:[p];l.value=h.reduce((m,{inlineSize:_})=>m+_,0),a.value=h.reduce((m,{blockSize:_})=>m+_,0)}else l.value=d.contentRect.width,a.value=d.contentRect.height},n);Co(()=>{const d=Ze(e);d&&(l.value="offsetWidth"in d?d.offsetWidth:t.width,a.value="offsetHeight"in d?d.offsetHeight:t.height)});const c=oe(()=>Ze(e),d=>{l.value=d?t.width:0,a.value=d?t.height:0});function u(){i(),c()}return{width:l,height:a,stop:u}}const ka=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function rl(e,t={}){const{document:n=Ic,autoExit:r=!1}=t,o=S(()=>{var y;return(y=Ze(e))!=null?y:n==null?void 0:n.querySelector("html")}),s=Y(!1),l=S(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(y=>n&&y in n||o.value&&y in o.value)),a=S(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(y=>n&&y in n||o.value&&y in o.value)),i=S(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(y=>n&&y in n||o.value&&y in o.value)),c=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(y=>n&&y in n),u=$r(()=>o.value&&n&&l.value!==void 0&&a.value!==void 0&&i.value!==void 0),d=()=>c?(n==null?void 0:n[c])===o.value:!1,p=()=>{if(i.value){if(n&&n[i.value]!=null)return n[i.value];{const y=o.value;if((y==null?void 0:y[i.value])!=null)return!!y[i.value]}}return!1};async function h(){if(!(!u.value||!s.value)){if(a.value)if((n==null?void 0:n[a.value])!=null)await n[a.value]();else{const y=o.value;(y==null?void 0:y[a.value])!=null&&await y[a.value]()}s.value=!1}}async function m(){if(!u.value||s.value)return;p()&&await h();const y=o.value;l.value&&(y==null?void 0:y[l.value])!=null&&(await y[l.value](),s.value=!0)}async function _(){await(s.value?h():m())}const b=()=>{const y=p();(!y||y&&d())&&(s.value=y)};return be(n,ka,b,!1),be(()=>Ze(o),ka,b,!1),r&&zn(h),{isSupported:u,isFullscreen:s,enter:m,exit:h,toggle:_}}function Vo(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function C6(e,t,n={}){const{window:r=mt}=n;return pn(e,t,r==null?void 0:r.localStorage,n)}function qo(e,t=Et,n={}){const{immediate:r=!0,manual:o=!1,type:s="text/javascript",async:l=!0,crossOrigin:a,referrerPolicy:i,noModule:c,defer:u,document:d=Ic,attrs:p={}}=n,h=Y(null);let m=null;const _=E=>new Promise((w,x)=>{const M=P=>(h.value=P,w(P),P);if(!d){w(!1);return}let k=!1,N=d.querySelector(`script[src="${Ne(e)}"]`);N?N.hasAttribute("data-loaded")&&M(N):(N=d.createElement("script"),N.type=s,N.async=l,N.src=Ne(e),u&&(N.defer=u),a&&(N.crossOrigin=a),c&&(N.noModule=c),i&&(N.referrerPolicy=i),Object.entries(p).forEach(([P,K])=>N==null?void 0:N.setAttribute(P,K)),k=!0),N.addEventListener("error",P=>x(P)),N.addEventListener("abort",P=>x(P)),N.addEventListener("load",()=>{N.setAttribute("data-loaded","true"),t(N),M(N)}),k&&(N=d.head.appendChild(N)),E||M(N)}),b=(E=!0)=>(m||(m=_(E)),m),y=()=>{if(!d)return;m=null,h.value&&(h.value=null);const E=d.querySelector(`script[src="${Ne(e)}"]`);E&&d.head.removeChild(E)};return r&&!o&&Co(b),o||j2(y),{scriptTag:h,load:b,unload:y}}function Rc(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:Rc(n)}}function Q2(e){const t=e||window.event,n=t.target;return Rc(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}const qr=new WeakMap;function ol(e,t=!1){const n=Y(t);let r=null;oe(R2(e),l=>{const a=Vo(Ne(l));if(a){const i=a;qr.get(i)||qr.set(i,i.style.overflow),n.value&&(i.style.overflow="hidden")}},{immediate:!0});const o=()=>{const l=Vo(Ne(e));!l||n.value||(bs&&(r=be(l,"touchmove",a=>{Q2(a)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},s=()=>{var l;const a=Vo(Ne(e));!a||!n.value||(bs&&(r==null||r()),a.style.overflow=(l=qr.get(a))!=null?l:"",qr.delete(a),n.value=!1)};return zn(s),S({get(){return n.value},set(l){l?o():s()}})}function Mc(e,t,n={}){const{window:r=mt}=n;return pn(e,t,r==null?void 0:r.sessionStorage,n)}function X2(e={}){const{window:t=mt,behavior:n="auto"}=e;if(!t)return{x:Y(0),y:Y(0)};const r=Y(t.scrollX),o=Y(t.scrollY),s=S({get(){return r.value},set(a){scrollTo({left:a,behavior:n})}}),l=S({get(){return o.value},set(a){scrollTo({top:a,behavior:n})}});return be(t,"scroll",()=>{r.value=t.scrollX,o.value=t.scrollY},{capture:!1,passive:!0}),{x:s,y:l}}function Z2(e={}){const{window:t=mt,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:o=!0,includeScrollbar:s=!0}=e,l=Y(n),a=Y(r),i=()=>{t&&(s?(l.value=t.innerWidth,a.value=t.innerHeight):(l.value=t.document.documentElement.clientWidth,a.value=t.document.documentElement.clientHeight))};if(i(),Co(i),be("resize",i,{passive:!0}),o){const c=Oc("(orientation: portrait)");oe(c,()=>i())}return{width:l,height:a}}var ep=V({name:"FontIcon",props:{icon:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""}},setup(e){const t=S(()=>{const r=["font-icon icon"],o=`fas fa-${e.icon}`;return r.push("fa-fw fa-sm"),r.push(e.icon.includes(" ")?e.icon:o),r}),n=S(()=>{const r={};return e.color&&(r.color=e.color),e.size&&(r["font-size"]=Number.isNaN(Number(e.size))?e.size:`${e.size}px`),dn(r).length?r:null});return()=>e.icon?f("span",{key:e.icon,class:t.value,style:n.value}):null}});const Nc=({type:e="info",text:t="",vertical:n,color:r},{slots:o})=>{var s;return f("span",{class:["vp-badge",e,{diy:r}],style:{verticalAlign:n??!1,backgroundColor:r??!1}},((s=o.default)==null?void 0:s.call(o))||t)};Nc.displayName="Badge";const Dc=({title:e,desc:t="",logo:n,background:r,color:o,link:s})=>{const l=[n?f("img",{class:"vp-card-logo",src:Fe(n),loading:"lazy","no-view":""}):null,f("div",{class:"vp-card-content"},[f("div",{class:"vp-card-title",innerHTML:e}),f("hr"),f("div",{class:"vp-card-desc",innerHTML:t})])],a={};return r&&(a.background=r),o&&(a.color=o),s?On(s)?f("a",{class:"vp-card",href:s,target:"_blank",style:a},l):f(We,{to:s,class:"vp-card",style:a},()=>l):f("div",{class:"vp-card",style:a},l)};Dc.displayName="VPCard";const tp=Ye({enhance:({app:e})=>{it("FontIcon")||e.component("FontIcon",ep),it("Badge")||e.component("Badge",Nc),it("VPCard")||e.component("VPCard",Dc)},setup:()=>{qo("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/brands.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}}),qo("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/solid.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}}),qo("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/fontawesome.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}})},rootComponents:[]}),Sa=async(e,t)=>{const{path:n,query:r}=e.currentRoute.value,{scrollBehavior:o}=e.options;e.options.scrollBehavior=void 0,await e.replace({path:n,query:r,hash:t}),e.options.scrollBehavior=o},np=({headerLinkSelector:e,headerAnchorSelector:t,delay:n,offset:r=5})=>{const o=Fn();be("scroll",$c(()=>{var m,_;const l=Math.max(window.scrollY,document.documentElement.scrollTop,document.body.scrollTop);if(Math.abs(l-0)<r){Sa(o,"");return}const i=window.innerHeight+l,c=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight),u=Math.abs(c-i)<r,d=Array.from(document.querySelectorAll(e)),h=Array.from(document.querySelectorAll(t)).filter(b=>d.some(y=>y.hash===b.hash));for(let b=0;b<h.length;b++){const y=h[b],E=h[b+1],w=l>=(((m=y.parentElement)==null?void 0:m.offsetTop)??0)-r,x=!E||l<(((_=E.parentElement)==null?void 0:_.offsetTop)??0)-r;if(!(w&&x))continue;const k=decodeURIComponent(o.currentRoute.value.hash),N=decodeURIComponent(y.hash);if(k===N)return;if(u){for(let P=b+1;P<h.length;P++)if(k===decodeURIComponent(h[P].hash))return}Sa(o,N);return}},n))},rp=".vp-sidebar-link, .vp-toc-link",op=".header-anchor",sp=200,lp=5,ap=Ye({setup(){np({headerLinkSelector:rp,headerAnchorSelector:op,delay:sp,offset:lp})}});let jc=e=>Se(e.title)?{title:e.title}:null;const Hc=Symbol(""),ip=e=>{jc=e},cp=()=>ke(Hc),up=e=>{e.provide(Hc,jc)};var fp={"/":{title:"目录",empty:"暂无目录"}};const dp=V({name:"Catalog",props:{base:{type:String,default:""},level:{type:Number,default:3},index:Boolean,hideHeading:Boolean},setup(e){const t=cp(),n=Tr(fp),r=we(),o=t2(),s=mc(),a=Ie(S2(o.value).map(([c,{meta:u}])=>{const d=t(u);if(!d)return null;const p=c.split("/").length;return{level:k2(c,"/")?p-2:p-1,base:c.replace(/\/[^/]+\/?$/,"/"),path:c,...d}}).filter(c=>Bn(c)&&Se(c.title))),i=S(()=>{const c=e.base?Fd(rc(e.base)):r.value.path.replace(/\/[^/]+$/,"/"),u=c.split("/").length-2,d=[];return a.value.filter(({level:p,path:h})=>{if(!Nn(h,c)||h===c)return!1;if(c==="/"){const m=dn(s.value.locales).filter(_=>_!=="/");if(h==="/404.html"||m.some(_=>Nn(h,_)))return!1}return p-u<=e.level}).sort(({title:p,level:h,order:m},{title:_,level:b,order:y})=>{const E=h-b;return E||(zo(m)?zo(y)?m>0?y>0?m-y:-1:y<0?m-y:1:m:zo(y)?y:p.localeCompare(_))}).forEach(p=>{var _;const{base:h,level:m}=p;switch(m-u){case 1:{d.push(p);break}case 2:{const b=d.find(y=>y.path===h);b&&(b.children??(b.children=[])).push(p);break}default:{const b=d.find(y=>y.path===h.replace(/\/[^/]+\/$/,"/"));if(b){const y=(_=b.children)==null?void 0:_.find(E=>E.path===h);y&&(y.children??(y.children=[])).push(p)}}}}),d});return()=>{const c=i.value.some(u=>u.children);return f("div",{class:["vp-catalog-wrapper",{index:e.index}]},[e.hideHeading?null:f("h2",{class:"vp-catalog-main-title"},n.value.title),i.value.length?f(e.index?"ol":"ul",{class:["vp-catalogs",{deep:c}]},i.value.map(({children:u=[],title:d,path:p,content:h})=>{const m=f(We,{class:"vp-catalog-title",to:p},()=>h?f(h):d);return f("li",{class:"vp-catalog"},c?[f("h3",{id:d,class:["vp-catalog-child-title",{"has-children":u.length}]},[f("a",{href:`#${d}`,class:"vp-catalog-header-anchor","aria-hidden":!0},"#"),m]),u.length?f(e.index?"ol":"ul",{class:"vp-child-catalogs"},u.map(({children:_=[],content:b,path:y,title:E})=>f("li",{class:"vp-child-catalog"},[f("div",{class:["vp-catalog-sub-title",{"has-children":_.length}]},[f("a",{href:`#${E}`,class:"vp-catalog-header-anchor"},"#"),f(We,{class:"vp-catalog-title",to:y},()=>b?f(b):E)]),_.length?f(e.index?"ol":"div",{class:e.index?"vp-sub-catalogs":"vp-sub-catalogs-wrapper"},_.map(({content:w,path:x,title:M})=>e.index?f("li",{class:"vp-sub-catalog"},f(We,{to:x},()=>w?f(w):M)):f(We,{class:"vp-sub-catalog-link",to:x},()=>w?f(w):M))):null]))):null]:f("div",{class:"vp-catalog-child-title"},m))})):f("p",{class:"vp-empty-catalog"},n.value.empty)])}}}),pp=Ye({enhance:({app:e})=>{up(e),it("Catalog",e)||e.component("Catalog",dp)}});var hp={"/":{backToTop:"返回顶部"}};const vp=V({name:"BackToTop",setup(e){const t=Ce(),n=Tr(hp),r=Ie(),{height:o}=J2(r),{height:s}=Z2(),{y:l}=X2(),a=S(()=>t.value.backToTop!==!1&&l.value>100),i=S(()=>l.value/(o.value-s.value)*100);return fe(()=>{r.value=document.body}),()=>f(Yt,{name:"back-to-top"},()=>a.value?f("button",{type:"button",class:"vp-back-to-top-button","aria-label":n.value.backToTop,onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})}},[f("span",{class:"vp-scroll-progress",role:"progressbar","aria-labelledby":"loadinglabel","aria-valuenow":i.value},f("svg",f("circle",{cx:"50%",cy:"50%",style:{"stroke-dasharray":`calc(${Math.PI*i.value}% - ${4*Math.PI}px) calc(${Math.PI*100}% - ${4*Math.PI}px)`}}))),f("div",{class:"back-to-top-icon"})]):null)}}),mp=Ye({rootComponents:[vp]}),gp=f("svg",{class:"external-link-icon",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",x:"0px",y:"0px",viewBox:"0 0 100 100",width:"15",height:"15"},[f("path",{fill:"currentColor",d:"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"}),f("polygon",{fill:"currentColor",points:"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"})]),Bc=V({name:"ExternalLinkIcon",props:{locales:{type:Object,required:!1,default:()=>({})}},setup(e){const t=Pt(),n=S(()=>e.locales[t.value]??{openInNewWindow:"open in new window"});return()=>f("span",[gp,f("span",{class:"external-link-icon-sr-only"},n.value.openInNewWindow)])}});var yp={};const bp=yp,wp=Ye({enhance({app:e}){e.component("ExternalLinkIcon",f(Bc,{locales:bp}))}});/**
|
||
* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
|
||
* @license MIT
|
||
*/const ae={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=ae.isStarted();e=Uo(e,ae.settings.minimum,1),ae.status=e===1?null:e;const n=ae.render(!t),r=n.querySelector(ae.settings.barSelector),o=ae.settings.speed,s=ae.settings.easing;return n.offsetWidth,_p(l=>{Ur(r,{transform:"translate3d("+xa(e)+"%,0,0)",transition:"all "+o+"ms "+s}),e===1?(Ur(n,{transition:"none",opacity:"1"}),n.offsetWidth,setTimeout(function(){Ur(n,{transition:"all "+o+"ms linear",opacity:"0"}),setTimeout(function(){ae.remove(),l()},o)},o)):setTimeout(()=>l(),o)}),ae},isStarted:()=>typeof ae.status=="number",start:()=>{ae.status||ae.set(0);const e=()=>{setTimeout(()=>{ae.status&&(ae.trickle(),e())},ae.settings.trickleSpeed)};return ae.settings.trickle&&e(),ae},done:e=>!e&&!ae.status?ae:ae.inc(.3+.5*Math.random()).set(1),inc:e=>{let t=ae.status;return t?(typeof e!="number"&&(e=(1-t)*Uo(Math.random()*t,.1,.95)),t=Uo(t+e,0,.994),ae.set(t)):ae.start()},trickle:()=>ae.inc(Math.random()*ae.settings.trickleRate),render:e=>{if(ae.isRendered())return document.getElementById("nprogress");Ta(document.documentElement,"nprogress-busy");const t=document.createElement("div");t.id="nprogress",t.innerHTML=ae.settings.template;const n=t.querySelector(ae.settings.barSelector),r=e?"-100":xa(ae.status||0),o=document.querySelector(ae.settings.parent);return Ur(n,{transition:"all 0 linear",transform:"translate3d("+r+"%,0,0)"}),o!==document.body&&Ta(o,"nprogress-custom-parent"),o==null||o.appendChild(t),t},remove:()=>{Aa(document.documentElement,"nprogress-busy"),Aa(document.querySelector(ae.settings.parent),"nprogress-custom-parent");const e=document.getElementById("nprogress");e&&Cp(e)},isRendered:()=>!!document.getElementById("nprogress")},Uo=(e,t,n)=>e<t?t:e>n?n:e,xa=e=>(-1+e)*100,_p=function(){const e=[];function t(){const n=e.shift();n&&n(t)}return function(n){e.push(n),e.length===1&&t()}}(),Ur=function(){const e=["Webkit","O","Moz","ms"],t={};function n(l){return l.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(a,i){return i.toUpperCase()})}function r(l){const a=document.body.style;if(l in a)return l;let i=e.length;const c=l.charAt(0).toUpperCase()+l.slice(1);let u;for(;i--;)if(u=e[i]+c,u in a)return u;return l}function o(l){return l=n(l),t[l]??(t[l]=r(l))}function s(l,a,i){a=o(a),l.style[a]=i}return function(l,a){for(const i in a){const c=a[i];c!==void 0&&Object.prototype.hasOwnProperty.call(a,i)&&s(l,i,c)}}}(),Fc=(e,t)=>(typeof e=="string"?e:sl(e)).indexOf(" "+t+" ")>=0,Ta=(e,t)=>{const n=sl(e),r=n+t;Fc(n,t)||(e.className=r.substring(1))},Aa=(e,t)=>{const n=sl(e);if(!Fc(e,t))return;const r=n.replace(" "+t+" "," ");e.className=r.substring(1,r.length-1)},sl=e=>(" "+(e.className||"")+" ").replace(/\s+/gi," "),Cp=e=>{e&&e.parentNode&&e.parentNode.removeChild(e)},Ep=()=>{fe(()=>{const e=Fn(),t=new Set;t.add(e.currentRoute.value.path),e.beforeEach(n=>{t.has(n.path)||ae.start()}),e.afterEach(n=>{t.add(n.path),ae.done()})})},kp=Ye({setup(){Ep()}}),Sp=JSON.parse('{"encrypt":{"config":{"/demo/encrypt.html":["$2a$10$MMCP2xTBPbwvsnSN29NVCObwKktpWj0P8zWrb3YJRxDL0BIE4NIUK"]}},"author":{"name":"远野千束","url":"https://snowykami.me"},"logo":"https://cdn.liteyuki.icu/static/img/liteyuki_icon_640.png","repo":"https://github.com/snowykami/LiteyukiBot","docsDir":"docs","footer":"LiteyukiBot","displayFooter":true,"locales":{"/":{"lang":"zh-CN","navbarLocales":{"langName":"简体中文","selectLangAriaLabel":"选择语言"},"metaLocales":{"author":"作者","date":"写作日期","origin":"原创","views":"访问量","category":"分类","tag":"标签","readingTime":"阅读时间","words":"字数","toc":"此页内容","prev":"上一页","next":"下一页","lastUpdated":"上次编辑于","contributors":"贡献者","editLink":"在 GitHub 上编辑此页","print":"打印"},"outlookLocales":{"themeColor":"主题色","darkmode":"外观","fullscreen":"全屏"},"encryptLocales":{"iconLabel":"文章已加密","placeholder":"输入密码","remember":"记住密码","errorHint":"请输入正确的密码"},"routeLocales":{"skipToContent":"跳至主要內容","notFoundTitle":"页面不存在","notFoundMsg":["这里什么也没有","我们是怎么来到这儿的?","这 是 四 零 四 !","看起来你访问了一个失效的链接"],"back":"返回上一页","home":"带我回家","openInNewWindow":"Open in new window"},"navbar":["/",{"text":"项目部署","link":"/deployment/","prefix":"deployment/"},{"text":"使用手册","link":"/usage/","prefix":"usage/"},{"text":"资源商店","link":"/store/","prefix":"store/"}],"sidebar":{"/":["",{"text":"项目部署","icon":"laptop-code","prefix":"deployment/","children":"structure"},{"text":"使用手册","icon":"book","prefix":"usage/","children":"structure"},{"text":"资源商店","icon":"store","prefix":"store/","link":"/store/","children":"structure"}]}}}}'),xp=Y(Sp),zc=()=>xp,Vc=Symbol(""),Tp=()=>{const e=ke(Vc);if(!e)throw new Error("useThemeLocaleData() is called without provider.");return e},Ap=(e,t)=>{const{locales:n,...r}=e;return{...r,...n==null?void 0:n[t]}},Lp=Ye({enhance({app:e}){const t=zc(),n=e._context.provides[Xs],r=S(()=>Ap(t.value,n.routeLocale.value));e.provide(Vc,r),Object.defineProperties(e.config.globalProperties,{$theme:{get(){return t.value}},$themeLocale:{get(){return r.value}}})}});var $p={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 Ip=$p;let Pp=Ip;const qc=Symbol(""),Uc=()=>ke(qc),Op=Uc,Rp=e=>{e.provide(qc,Pp)},Wc=()=>f("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",preserveAspectRatio:"xMidYMid",viewBox:"0 0 100 100"},[f("circle",{cx:"28",cy:"75",r:"11",fill:"currentColor"},f("animate",{attributeName:"fill-opacity",begin:"0s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"})),f("path",{fill:"none",stroke:"#88baf0","stroke-width":"10",d:"M28 47a28 28 0 0 1 28 28"},f("animate",{attributeName:"stroke-opacity",begin:"0.1s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"})),f("path",{fill:"none",stroke:"#88baf0","stroke-width":"10",d:"M28 25a50 50 0 0 1 50 50"},f("animate",{attributeName:"stroke-opacity",begin:"0.2s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"}))]);Wc.displayName="LoadingIcon";const La=["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"],Mp=V({name:"GiscusComment",props:{identifier:{type:String,required:!0},darkmode:Boolean},setup(e){const t=Op(),n=Zs(),r=!!(t.repo&&t.repoId&&t.category&&t.categoryId),{repo:o,repoId:s,category:l,categoryId:a}=t,i=Y(!1),c=S(()=>{if(La.includes(n.value))return n.value;const d=n.value.split("-")[0];return La.includes(d)?d:"en"}),u=S(()=>({repo:o,repoId:s,category:l,categoryId:a,lang:c.value,theme:e.darkmode?t.darkTheme||"dark":t.lightTheme||"light",mapping:t.mapping||"pathname",term:e.identifier,inputPosition:t.inputPosition||"top",reactionsEnabled:t.reactionsEnabled===!1?"0":"1",strict:t.strict===!1?"0":"1",loading:t.lazyLoading===!1?"eager":"lazy",emitMetadata:"0"}));return fe(async()=>{await De(()=>import("./giscus-7BMGhbDA.js"),__vite__mapDeps([])),i.value=!0}),()=>r?f("div",{id:"comment",class:["giscus-wrapper",{"input-top":t.inputPosition!=="bottom"}]},i.value?f("giscus-widget",u.value):f(Wc)):null}}),Np=V({name:"CommentService",props:{darkmode:Boolean},setup(e){const t=Uc(),n=we(),r=Ce(),o=t.comment!==!1,s=S(()=>r.value.comment||o&&r.value.comment!==!1);return()=>f(Mp,{id:"vp-comment",identifier:r.value.commentID||n.value.path,darkmode:e.darkmode,style:{display:s.value?"block":"none"}})}}),Dp=Ye({enhance:({app:e})=>{Rp(e),e.component("CommentService",Np)}}),jp=/\b(?:Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini)/i,Hp=()=>typeof window<"u"&&window.navigator&&"userAgent"in window.navigator&&jp.test(navigator.userAgent),Bp=({delay:e=500,duration:t=2e3,locales:n,selector:r,showInMobile:o})=>{const{copy:s,copied:l}=z2({legacy:!0,copiedDuring:t}),a=Tr(n),i=we(),c=p=>{if(!p.hasAttribute("copy-code-registered")){const h=document.createElement("button");h.type="button",h.classList.add("vp-copy-code-button"),h.innerHTML='<div class="vp-copy-icon" />',h.setAttribute("aria-label",a.value.copy),h.setAttribute("data-copied",a.value.copied),p.parentElement&&p.parentElement.insertBefore(h,p),p.setAttribute("copy-code-registered","")}},u=()=>{$t().then(()=>Sc(e)).then(()=>{r.forEach(p=>{document.querySelectorAll(p).forEach(c)})})},d=(p,h,m)=>{let{innerText:_=""}=h;/language-(shellscript|shell|bash|sh|zsh)/.test(p.classList.toString())&&(_=_.replace(/^ *(\$|>) /gm,"")),s(_).then(()=>{m.classList.add("copied"),oe(l,()=>{m.classList.remove("copied"),m.blur()},{once:!0})})};fe(()=>{const p=!Hp()||o;p&&u(),be("click",h=>{const m=h.target;if(m.matches('div[class*="language-"] > button.copy')){const _=m.parentElement,b=m.nextElementSibling;b&&d(_,b,m)}else if(m.matches('div[class*="language-"] div.vp-copy-icon')){const _=m.parentElement,b=_.parentElement,y=_.nextElementSibling;y&&d(b,y,_)}}),oe(()=>i.value.path,()=>{p&&u()})})};var Fp={"/":{copy:"复制代码",copied:"已复制"}},zp=['.theme-hope-content div[class*="language-"] pre'];const Vp=500,qp=2e3,Up=Fp,Wp=zp,Gp=!1,Kp=Ye({setup:()=>{Bp({selector:Wp,locales:Up,duration:qp,delay:Vp,showInMobile:Gp})}}),Wr=pn("VUEPRESS_CODE_TAB_STORE",{});var Yp=V({name:"CodeTabs",props:{active:{type:Number,default:0},data:{type:Array,required:!0},id:{type:String,required:!0},tabId:{type:String,default:""}},slots:Object,setup(e,{slots:t}){const n=Y(e.active),r=Ie([]),o=()=>{e.tabId&&(Wr.value[e.tabId]=e.data[n.value].id)},s=(c=n.value)=>{n.value=c<r.value.length-1?c+1:0,r.value[n.value].focus()},l=(c=n.value)=>{n.value=c>0?c-1:r.value.length-1,r.value[n.value].focus()},a=(c,u)=>{c.key===" "||c.key==="Enter"?(c.preventDefault(),n.value=u):c.key==="ArrowRight"?(c.preventDefault(),s()):c.key==="ArrowLeft"&&(c.preventDefault(),l()),e.tabId&&(Wr.value[e.tabId]=e.data[n.value].id)},i=()=>{if(e.tabId){const c=e.data.findIndex(({id:u})=>Wr.value[e.tabId]===u);if(c!==-1)return c}return e.active};return fe(()=>{n.value=i(),oe(()=>Wr.value[e.tabId],(c,u)=>{if(e.tabId&&c!==u){const d=e.data.findIndex(({id:p})=>p===c);d!==-1&&(n.value=d)}})}),()=>e.data.length?f("div",{class:"vp-code-tabs"},[f("div",{class:"vp-code-tabs-nav",role:"tablist"},e.data.map(({id:c},u)=>{const d=u===n.value;return f("button",{type:"button",ref:p=>{p&&(r.value[u]=p)},class:["vp-code-tab-nav",{active:d}],role:"tab","aria-controls":`codetab-${e.id}-${u}`,"aria-selected":d,onClick:()=>{n.value=u,o()},onKeydown:p=>a(p,u)},t[`title${u}`]({value:c,isActive:d}))})),e.data.map(({id:c},u)=>{const d=u===n.value;return f("div",{class:["vp-code-tab",{active:d}],id:`codetab-${e.id}-${u}`,role:"tabpanel","aria-expanded":d},[f("div",{class:"vp-code-tab-title"},t[`title${u}`]({value:c,isActive:d})),t[`tab${u}`]({value:c,isActive:d})])})]):null}});const Gc=({active:e=!1},{slots:t})=>{var n;return f("div",{class:["code-group-item",{active:e}],"aria-selected":e},(n=t.default)==null?void 0:n.call(t))};Gc.displayName="CodeGroupItem";const Jp=V({name:"CodeGroup",slots:Object,setup(e,{slots:t}){const n=Y(-1),r=Ie([]),o=(a=n.value)=>{n.value=a<r.value.length-1?a+1:0,r.value[n.value].focus()},s=(a=n.value)=>{n.value=a>0?a-1:r.value.length-1,r.value[n.value].focus()},l=(a,i)=>{a.key===" "||a.key==="Enter"?(a.preventDefault(),n.value=i):a.key==="ArrowRight"?(a.preventDefault(),o(i)):a.key==="ArrowLeft"&&(a.preventDefault(),s(i))};return()=>{var i;const a=(((i=t.default)==null?void 0:i.call(t))||[]).filter(c=>c.type.name==="CodeGroupItem").map(c=>(c.props===null&&(c.props={}),c));return a.length===0?null:(n.value<0||n.value>a.length-1?(n.value=a.findIndex(c=>"active"in c.props),n.value===-1&&(n.value=0)):a.forEach((c,u)=>{c.props.active=u===n.value}),f("div",{class:"code-group"},[f("div",{class:"code-group-nav"},a.map((c,u)=>{const d=u===n.value;return f("button",{type:"button",ref:p=>{p&&(r.value[u]=p)},class:["code-group-nav-tab",{active:d}],"aria-pressed":d,"aria-expanded":d,onClick:()=>{n.value=u},onKeydown:p=>l(p,u)},c.props.title)})),a]))}}}),xe=({name:e="",color:t="currentColor"},{slots:n})=>{var r;return f("svg",{xmlns:"http://www.w3.org/2000/svg",class:["icon",`${e}-icon`],viewBox:"0 0 1024 1024",fill:t,"aria-label":`${e} icon`},(r=n.default)==null?void 0:r.call(n))};xe.displayName="IconBase";const Kc=({size:e=48,stroke:t=4,wrapper:n=!0,height:r=2*e})=>{const o=f("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,preserveAspectRatio:"xMidYMid",viewBox:"25 25 50 50"},[f("animateTransform",{attributeName:"transform",type:"rotate",dur:"2s",keyTimes:"0;1",repeatCount:"indefinite",values:"0;360"}),f("circle",{cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":t,"stroke-linecap":"round"},[f("animate",{attributeName:"stroke-dasharray",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"1,200;90,200;1,200"}),f("animate",{attributeName:"stroke-dashoffset",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"0;-35px;-125px"})])]);return n?f("div",{class:"loading-icon-wrapper",style:`display:flex;align-items:center;justify-content:center;height:${r}px`},o):o};Kc.displayName="LoadingIcon";const Yc=(e,{slots:t})=>{var n;return(n=t.default)==null?void 0:n.call(t)},Jc=()=>f(xe,{name:"github"},()=>f("path",{d:"M511.957 21.333C241.024 21.333 21.333 240.981 21.333 512c0 216.832 140.544 400.725 335.574 465.664 24.49 4.395 32.256-10.07 32.256-23.083 0-11.69.256-44.245 0-85.205-136.448 29.61-164.736-64.64-164.736-64.64-22.315-56.704-54.4-71.765-54.4-71.765-44.587-30.464 3.285-29.824 3.285-29.824 49.195 3.413 75.179 50.517 75.179 50.517 43.776 75.008 114.816 53.333 142.762 40.79 4.523-31.66 17.152-53.377 31.19-65.537-108.971-12.458-223.488-54.485-223.488-242.602 0-53.547 19.114-97.323 50.517-131.67-5.035-12.33-21.93-62.293 4.779-129.834 0 0 41.258-13.184 134.912 50.346a469.803 469.803 0 0 1 122.88-16.554c41.642.213 83.626 5.632 122.88 16.554 93.653-63.488 134.784-50.346 134.784-50.346 26.752 67.541 9.898 117.504 4.864 129.834 31.402 34.347 50.474 78.123 50.474 131.67 0 188.586-114.73 230.016-224.042 242.09 17.578 15.232 33.578 44.672 33.578 90.454v135.85c0 13.142 7.936 27.606 32.854 22.87C862.25 912.597 1002.667 728.747 1002.667 512c0-271.019-219.648-490.667-490.71-490.667z"}));Jc.displayName="GitHubIcon";const Qc=()=>f(xe,{name:"gitlab"},()=>f("path",{d:"M229.333 78.688C223.52 62 199.895 62 193.895 78.688L87.958 406.438h247.5c-.188 0-106.125-327.75-106.125-327.75zM33.77 571.438c-4.875 15 .563 31.687 13.313 41.25l464.812 345L87.77 406.438zm301.5-165 176.813 551.25 176.812-551.25zm655.125 165-54-165-424.312 551.25 464.812-345c12.938-9.563 18.188-26.25 13.5-41.25zM830.27 78.688c-5.812-16.688-29.437-16.688-35.437 0l-106.125 327.75h247.5z"}));Qc.displayName="GitLabIcon";const Xc=()=>f(xe,{name:"gitee"},()=>f("path",{d:"M512 992C246.92 992 32 777.08 32 512S246.92 32 512 32s480 214.92 480 480-214.92 480-480 480zm242.97-533.34H482.39a23.7 23.7 0 0 0-23.7 23.7l-.03 59.28c0 13.08 10.59 23.7 23.7 23.7h165.96a23.7 23.7 0 0 1 23.7 23.7v11.85a71.1 71.1 0 0 1-71.1 71.1H375.71a23.7 23.7 0 0 1-23.7-23.7V423.11a71.1 71.1 0 0 1 71.1-71.1h331.8a23.7 23.7 0 0 0 23.7-23.7l.06-59.25a23.73 23.73 0 0 0-23.7-23.73H423.11a177.78 177.78 0 0 0-177.78 177.75v331.83c0 13.08 10.62 23.7 23.7 23.7h349.62a159.99 159.99 0 0 0 159.99-159.99V482.33a23.7 23.7 0 0 0-23.7-23.7z"}));Xc.displayName="GiteeIcon";const Zc=()=>f(xe,{name:"bitbucket"},()=>f("path",{d:"M575.256 490.862c6.29 47.981-52.005 85.723-92.563 61.147-45.714-20.004-45.714-92.562-1.133-113.152 38.29-23.442 93.696 7.424 93.696 52.005zm63.451-11.996c-10.276-81.152-102.29-134.839-177.152-101.156-47.433 21.138-79.433 71.424-77.129 124.562 2.853 69.705 69.157 126.866 138.862 120.576S647.3 548.571 638.708 478.83zm136.558-309.723c-25.161-33.134-67.986-38.839-105.728-45.13-106.862-17.151-216.576-17.7-323.438 1.134-35.438 5.706-75.447 11.996-97.719 43.996 36.572 34.304 88.576 39.424 135.424 45.129 84.553 10.862 171.447 11.447 256 .585 47.433-5.705 99.987-10.276 135.424-45.714zm32.585 591.433c-16.018 55.99-6.839 131.438-66.304 163.986-102.29 56.576-226.304 62.867-338.87 42.862-59.43-10.862-129.135-29.696-161.72-85.723-14.3-54.858-23.442-110.848-32.585-166.84l3.438-9.142 10.276-5.157c170.277 112.567 408.576 112.567 579.438 0 26.844 8.01 6.84 40.558 6.29 60.014zm103.424-549.157c-19.42 125.148-41.728 249.71-63.415 374.272-6.29 36.572-41.728 57.162-71.424 72.558-106.862 53.724-231.424 62.866-348.562 50.286-79.433-8.558-160.585-29.696-225.134-79.433-30.28-23.443-30.28-63.415-35.986-97.134-20.005-117.138-42.862-234.277-57.161-352.585 6.839-51.42 64.585-73.728 107.447-89.71 57.16-21.138 118.272-30.866 178.87-36.571 129.134-12.58 261.157-8.01 386.304 28.562 44.581 13.13 92.563 31.415 122.844 69.705 13.714 17.7 9.143 40.01 6.29 60.014z"}));Zc.displayName="BitbucketIcon";const eu=()=>f(xe,{name:"source"},()=>f("path",{d:"M601.92 475.2c0 76.428-8.91 83.754-28.512 99.594-14.652 11.88-43.956 14.058-78.012 16.434-18.81 1.386-40.392 2.97-62.172 6.534-18.612 2.97-36.432 9.306-53.064 17.424V299.772c37.818-21.978 63.36-62.766 63.36-109.692 0-69.894-56.826-126.72-126.72-126.72S190.08 120.186 190.08 190.08c0 46.926 25.542 87.714 63.36 109.692v414.216c-37.818 21.978-63.36 62.766-63.36 109.692 0 69.894 56.826 126.72 126.72 126.72s126.72-56.826 126.72-126.72c0-31.086-11.286-59.598-29.7-81.576 13.266-9.504 27.522-17.226 39.996-19.206 16.038-2.574 32.868-3.762 50.688-5.148 48.312-3.366 103.158-7.326 148.896-44.55 61.182-49.698 74.25-103.158 75.24-187.902V475.2h-126.72zM316.8 126.72c34.848 0 63.36 28.512 63.36 63.36s-28.512 63.36-63.36 63.36-63.36-28.512-63.36-63.36 28.512-63.36 63.36-63.36zm0 760.32c-34.848 0-63.36-28.512-63.36-63.36s28.512-63.36 63.36-63.36 63.36 28.512 63.36 63.36-28.512 63.36-63.36 63.36zM823.68 158.4h-95.04V63.36h-126.72v95.04h-95.04v126.72h95.04v95.04h126.72v-95.04h95.04z"}));eu.displayName="SourceIcon";const tu=(e,t)=>{let n=1;for(let r=0;r<e.length;r++)n+=e.charCodeAt(r),n+=n<<10,n^=n>>6;return n+=n<<3,n^=n>>11,n%t},nu=/#.*$/u,Qp=e=>{const t=nu.exec(e);return t?t[0]:""},$a=e=>decodeURI(e).replace(nu,"").replace(/\/index\.html$/iu,"/").replace(/\.html$/iu,"").replace(/(README|index)?\.md$/iu,""),ru=(e,t)=>{if(!xc(t))return!1;const n=$a(e.path),r=$a(t),o=Qp(t);return o?o===e.hash&&(!r||n===r):n===r},Xp=e=>un(e)?e:`https://github.com/${e}`,ou=e=>!un(e)||/github\.com/.test(e)?"GitHub":/bitbucket\.org/.test(e)?"Bitbucket":/gitlab\.com/.test(e)?"GitLab":/gitee\.com/.test(e)?"Gitee":null;var Zp=e=>Object.prototype.toString.call(e)==="[object Object]",mr=e=>typeof e=="string";const su=Array.isArray,Ia=e=>Zp(e)&&mr(e.name),Pa=(e,t=!1)=>e?su(e)?e.map(n=>mr(n)?{name:n}:Ia(n)?n:null).filter(n=>n!==null):mr(e)?[{name:e}]:Ia(e)?[e]:(console.error(`Expect "author" to be \`AuthorInfo[] | AuthorInfo | string[] | string ${t?"":"| false"} | undefined\`, but got`,e),[]):[],lu=(e,t)=>{if(e){if(su(e)&&e.every(mr))return e;if(mr(e))return[e];console.error(`Expect ${t||"value"} to be \`string[] | string | undefined\`, but got`,e)}return[]},e3=e=>lu(e,"category"),t3=e=>lu(e,"tag"),n3='<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>',r3='<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 o3={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 Wo=o3,Oa={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"}}},s3=(e,t,n)=>{const r=document.createElement(e);return Bn(t)&&dn(t).forEach(o=>{if(o.indexOf("data"))r[o]=t[o];else{const s=o.replace("data","");r.dataset[s]=t[o]}}),n&&n.forEach(o=>{r.appendChild(o)}),r},ll=e=>({...Wo,...e,jsLib:Array.from(new Set([...Wo.jsLib||[],...e.jsLib||[]])),cssLib:Array.from(new Set([...Wo.cssLib||[],...e.cssLib||[]]))}),Tn=(e,t)=>{if(xc(e[t]))return e[t];const n=new Promise(r=>{var s;const o=document.createElement("script");o.src=t,(s=document.querySelector("body"))==null||s.appendChild(o),o.onload=()=>{r()}});return e[t]=n,n},l3=(e,t)=>{if(t.css&&Array.from(e.childNodes).every(n=>n.nodeName!=="STYLE")){const n=s3("style",{innerHTML:t.css});e.appendChild(n)}},a3=(e,t,n)=>{const r=n.getScript();if(r&&Array.from(t.childNodes).every(o=>o.nodeName!=="SCRIPT")){const o=document.createElement("script");o.appendChild(document.createTextNode(`{const document=window.document.querySelector('#${e} .vp-code-demo-display').shadowRoot;
|
||
${r}}`)),t.appendChild(o)}},i3=e=>{const t=dn(e),n={html:[],js:[],css:[],isLegal:!1};return["html","js","css"].forEach(r=>{const o=t.filter(s=>Oa[r].types.includes(s));if(o.length){const s=o[0];n[r]=[e[s].replace(/^\n|\n$/g,""),Oa[r].map[s]||s]}}),n.isLegal=(!n.html.length||n.html[1]==="none")&&(!n.js.length||n.js[1]==="none")&&(!n.css.length||n.css[1]==="none"),n},au=e=>e.replace(/<br \/>/g,"<br>").replace(/<((\S+)[^<]*?)\s+\/>/g,"<$1></$2>"),iu=e=>`<div id="app">
|
||
${au(e)}
|
||
</div>`,c3=e=>`${e.replace("export default ","const $reactApp = ").replace(/App\.__style__(\s*)=(\s*)`([\s\S]*)?`/,"")};
|
||
ReactDOM.createRoot(document.getElementById("app")).render(React.createElement($reactApp))`,u3=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(),cu=e=>`(function(exports){var module={};module.exports=exports;${e};return module.exports.__esModule?module.exports.default:module.exports;})({})`,f3=(e,t)=>{const n=ll(t),r=e.js[0]||"";return{...n,html:au(e.html[0]||""),js:r,css:e.css[0]||"",isLegal:e.isLegal,getScript:()=>{var o;return n.useBabel?((o=window.Babel.transform(r,{presets:["es2015"]}))==null?void 0:o.code)||"":r}}},d3=/<template>([\s\S]+)<\/template>/u,p3=/<script(\s*lang=(['"])(.*?)\2)?>([\s\S]+)<\/script>/u,h3=/<style(\s*lang=(['"])(.*?)\2)?\s*(?:scoped)?>([\s\S]+)<\/style>/u,v3=(e,t)=>{const n=ll(t),r=e.html[0]||"",o=d3.exec(r),s=p3.exec(r),l=h3.exec(r),a=o?o[1].replace(/^\n|\n$/g,""):"",[i="",c=""]=s?[s[4].replace(/^\n|\n$/g,""),s[3]]:[],[u="",d=""]=l?[l[4].replace(/^\n|\n$/g,""),l[3]]:[],p=c===""&&(d===""||d==="css");return{...n,html:iu(a),js:u3(i),css:u,isLegal:p,jsLib:[n.vue,...n.jsLib],getScript:()=>{var m,_;const h=t.useBabel?((_=(m=window.Babel)==null?void 0:m.transform(i,{presets:["es2015"]}))==null?void 0:_.code)||"":i.replace(/export\s+default/u,"return");return`const app=window.document.createElement('div');document.firstElementChild.appendChild(app);const appOptions=${cu(h)};appOptions.template=\`${a.replace("`",'\\`"')}\`;window.Vue.createApp(appOptions).mount(app);`}}},m3=(e,t)=>{const n=ll(t);return{...n,html:iu(""),js:c3(e.js[0]||""),css:e.css[0]||(e.js[0]?e.js[0].replace(/App\.__style__(?:\s*)=(?:\s*)`([\s\S]*)?`/,"$1").trim():""),isLegal:e.isLegal,jsLib:[n.react,n.reactDOM,...n.jsLib],jsx:!0,getScript:()=>{var o,s;const r=((s=(o=window.Babel)==null?void 0:o.transform(e.js[0]||"",{presets:["es2015","react"]}))==null?void 0:s.code)||"";return`window.ReactDOM.createRoot(document.firstElementChild).render(window.React.createElement(${cu(r)}))`}}},An={},g3=e=>Promise.all([Tn(An,e.babel),Tn(An,e.react),Tn(An,e.reactDOM)]),y3=e=>{const t=[Tn(An,e.vue)];return e.useBabel&&t.push(Tn(An,e.babel)),Promise.all(t)},b3=e=>e.useBabel?Tn(An,e.babel):Promise.resolve();var w3=V({name:"CodeDemo",props:{id:{type:String,required:!0},type:{type:String,default:"normal"},title:{type:String,default:""},config:{type:String,default:""},code:{type:String,required:!0}},slots:Object,setup(e,{slots:t}){const[n,r]=vr(!1),o=Ie(),s=Ie(),l=Y("0"),a=Y(!1),i=S(()=>JSON.parse(e.config?wa(e.config):"{}")),c=S(()=>{const m=JSON.parse(wa(e.code));return i3(m)}),u=S(()=>e.type==="react"?m3(c.value,i.value):e.type==="vue"?v3(c.value,i.value):f3(c.value,i.value)),d=S(()=>u.value.isLegal),p=(m=!1)=>{const _=o.value.attachShadow({mode:"open"}),b=document.createElement("div");b.classList.add("code-demo-app"),_.appendChild(b),d.value?(m&&(b.innerHTML=u.value.html),l3(_,u.value),a3(e.id,_,u.value),l.value="0"):l.value="auto",a.value=!0},h=()=>{switch(e.type){case"react":return g3(u.value).then(()=>p());case"vue":return y3(u.value).then(()=>p());default:return b3(u.value).then(()=>p(!0))}};return be("beforeprint",()=>{r(!0)}),fe(()=>{setTimeout(()=>{h()},800)}),()=>{var m;return f("div",{class:"vp-code-demo",id:e.id},[f("div",{class:"vp-code-demo-header"},[u.value.isLegal?f("button",{type:"button",title:"toggle","aria-hidden":!0,class:["vp-code-demo-toggle-button",n.value?"down":"end"],onClick:()=>{l.value=n.value?"0":`${s.value.clientHeight+13.8}px`,r()}}):null,e.title?f("span",{class:"vp-code-demo-title"},decodeURIComponent(e.title)):null,u.value.isLegal&&u.value.jsfiddle!==!1?f("form",{class:"code-demo-jsfiddle",target:"_blank",action:"https://jsfiddle.net/api/post/library/pure/",method:"post"},[f("input",{type:"hidden",name:"html",value:u.value.html}),f("input",{type:"hidden",name:"js",value:u.value.js}),f("input",{type:"hidden",name:"css",value:u.value.css}),f("input",{type:"hidden",name:"wrap",value:"1"}),f("input",{type:"hidden",name:"panel_js",value:"3"}),f("input",{type:"hidden",name:"resources",value:[...u.value.cssLib,...u.value.jsLib].join(",")}),f("button",{type:"submit",class:"jsfiddle-button",innerHTML:r3,"aria-label":"JSFiddle","data-balloon-pos":"up"})]):null,!u.value.isLegal||u.value.codepen!==!1?f("form",{class:"code-demo-codepen",target:"_blank",action:"https://codepen.io/pen/define",method:"post"},[f("input",{type:"hidden",name:"data",value:JSON.stringify({html:u.value.html,js:u.value.js,css:u.value.css,js_external:u.value.jsLib.join(";"),css_external:u.value.cssLib.join(";"),layout:u.value.codepenLayout,html_pre_processor:c.value?c.value.html[1]:"none",js_pre_processor:c.value?c.value.js[1]:u.value.jsx?"babel":"none",css_pre_processor:c.value?c.value.css[1]:"none",editors:u.value.codepenEditors})}),f("button",{type:"submit",innerHTML:n3,class:"codepen-button","aria-label":"Codepen","data-balloon-pos":"up"})]):null]),a.value?null:f(Kc,{class:"vp-code-demo-loading"}),f("div",{ref:o,class:"vp-code-demo-display",style:{display:d.value&&a.value?"block":"none"}}),f("div",{class:"vp-code-demo-code-wrapper",style:{height:l.value}},f("div",{ref:s,class:"vp-code-demo-codes"},(m=t.default)==null?void 0:m.call(t)))])}}}),_3=V({name:"MdDemo",props:{id:{type:String,required:!0},title:{type:String,default:""}},slots:Object,setup(e,{slots:t}){const[n,r]=vr(!1),o=Ie(),s=Y("0");return be("beforeprint",()=>{r(!0)}),()=>{var l,a;return f("div",{class:"vp-md-demo",id:e.id},[f("div",{class:"vp-md-demo-header"},[f("button",{type:"button",title:"toggle","aria-hidden":!0,class:["vp-md-demo-toggle-button",n.value?"down":"end"],onClick:()=>{s.value=n.value?"0":`${o.value.clientHeight+13.8}px`,r()}}),e.title?decodeURIComponent(e.title):null]),f("div",{class:"vp-md-demo-display"},(l=t.default)==null?void 0:l.call(t)),f("div",{class:"vp-md-demo-code-wrapper",style:{height:s.value}},f("div",{ref:o,class:"vp-md-demo-codes"},(a=t.code)==null?void 0:a.call(t)))])}}});const C3=()=>{be("beforeprint",()=>{document.querySelectorAll("details").forEach(e=>{e.open=!0})})},Go=pn("VUEPRESS_TAB_STORE",{});var E3=V({name:"Tabs",props:{active:{type:Number,default:0},data:{type:Array,required:!0},id:{type:String,required:!0},tabId:{type:String,default:""}},slots:Object,setup(e,{slots:t}){const n=Y(e.active),r=Ie([]),o=()=>{e.tabId&&(Go.value[e.tabId]=e.data[n.value].id)},s=(c=n.value)=>{n.value=c<r.value.length-1?c+1:0,r.value[n.value].focus()},l=(c=n.value)=>{n.value=c>0?c-1:r.value.length-1,r.value[n.value].focus()},a=(c,u)=>{c.key===" "||c.key==="Enter"?(c.preventDefault(),n.value=u):c.key==="ArrowRight"?(c.preventDefault(),s()):c.key==="ArrowLeft"&&(c.preventDefault(),l()),o()},i=()=>{if(e.tabId){const c=e.data.findIndex(({id:u})=>Go.value[e.tabId]===u);if(c!==-1)return c}return e.active};return fe(()=>{n.value=i(),oe(()=>Go.value[e.tabId],(c,u)=>{if(e.tabId&&c!==u){const d=e.data.findIndex(({id:p})=>p===c);d!==-1&&(n.value=d)}})}),()=>e.data.length?f("div",{class:"vp-tabs"},[f("div",{class:"vp-tabs-nav",role:"tablist"},e.data.map(({id:c},u)=>{const d=u===n.value;return f("button",{type:"button",ref:p=>{p&&(r.value[u]=p)},class:["vp-tab-nav",{active:d}],role:"tab","aria-controls":`tab-${e.id}-${u}`,"aria-selected":d,onClick:()=>{n.value=u,o()},onKeydown:p=>a(p,u)},t[`title${u}`]({value:c,isActive:d}))})),e.data.map(({id:c},u)=>{const d=u===n.value;return f("div",{class:["vp-tab",{active:d}],id:`tab-${e.id}-${u}`,role:"tabpanel","aria-expanded":d},[f("div",{class:"vp-tab-title"},t[`title${u}`]({value:c,isActive:d})),t[`tab${u}`]({value:c,isActive:d})])})]):null}});const k3=Ye({enhance:({app:e})=>{e.component("CodeTabs",Yp),it("CodeGroup",e)||e.component("CodeGroup",Jp),it("CodeGroupItem",e)||e.component("CodeGroupItem",Gc),e.component("CodeDemo",w3),e.component("MdDemo",_3),e.component("Tabs",E3)},setup:()=>{C3()}});let S3={};const uu=Symbol(""),x3=()=>ke(uu),T3=e=>{e.provide(uu,S3)},A3='<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>',L3=e=>Se(e)?Array.from(document.querySelectorAll(e)):e.map(t=>Array.from(document.querySelectorAll(t))).flat(),fu=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(fu(e)),e.onerror=r=>n(r))}),$3=e=>{const{isSupported:t,toggle:n}=rl();e.on("uiRegister",()=>{t.value&&e.ui.registerElement({name:"fullscreen",order:7,isButton:!0,html:'<svg class="pswp__icn" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg"><path d="M249.5 270.833H437v-75H212a37.5 37.5 0 0 0-37.5 37.5v225h75v-187.5zm-37.5 600h225v-75H249.5v-187.5h-75v225a37.5 37.5 0 0 0 37.5 37.5zm637.5-37.5v-225h-75v187.5H587v75h225a37.5 37.5 0 0 0 37.5-37.5zM587 270.833h187.5v187.5h75v-225a37.5 37.5 0 0 0-37.5-37.5H587v75z"/></svg>',onClick:()=>{n()}}),e.ui.registerElement({name:"download",order:8,isButton:!0,tagName:"a",html:{isCustomSVG:!0,inner:'<path d="M20.5 14.3 17.1 18V10h-2.2v7.9l-3.4-3.6L10 16l6 6.1 6-6.1-1.5-1.6ZM23 23H9v2h14" id="pswp__icn-download"/>',outlineID:"pswp__icn-download"},onInit:(r,o)=>{r.setAttribute("download",""),r.setAttribute("target","_blank"),r.setAttribute("rel","noopener"),o.on("change",()=>{r.setAttribute("href",o.currSlide.data.src)})}}),e.ui.registerElement({name:"bulletsIndicator",className:"photo-swipe-bullets-indicator",appendTo:"wrapper",onInit:(r,o)=>{const s=[];let l=-1;for(let a=0;a<o.getNumItems();a++){const i=document.createElement("div");i.className="photo-swipe-bullet",i.onclick=c=>{o.goTo(s.indexOf(c.target))},s.push(i),r.appendChild(i)}o.on("change",()=>{l>=0&&s[l].classList.remove("active"),s[o.currIndex].classList.add("active"),l=o.currIndex})}})})},I3=(e,t,n=!0)=>De(()=>import("./photoswipe.esm-SzV8tJDW.js"),__vite__mapDeps([])).then(({default:r})=>{let o=null;const s=e.map(l=>({html:A3,element:l,msrc:l.src}));return e.forEach((l,a)=>{const i=()=>{o==null||o.destroy(),o=new r({preloaderDelay:0,showHideAnimationType:"zoom",...t,dataSource:s,index:a,...n?{closeOnVerticalDrag:!0,wheelToZoom:!1}:{}}),$3(o),o.addFilter("thumbEl",()=>l),o.addFilter("placeholderSrc",()=>l.src),o.init()};l.getAttribute("photo-swipe")||(l.style.cursor="zoom-in",l.addEventListener("click",()=>{i()}),l.addEventListener("keypress",({key:c})=>{c==="Enter"&&i()}),l.setAttribute("photo-swipe","")),fu(l).then(c=>{s.splice(a,1,c),o==null||o.refreshSlideContent(a)})}),n?be("wheel",()=>{o==null||o.close()}):()=>{}}),P3=({selector:e,locales:t,delay:n=500,scrollToClose:r=!0})=>{const o=x3(),s=Tr(t),l=we(),a=Ce();let i=null;const c=()=>{const{photoSwipe:u}=a.value;u!==!1&&$t().then(()=>Sc(n)).then(async()=>{const d=Se(u)?u:e;i=await I3(L3(d),{...o,...s.value},r)})};fe(()=>{c(),oe(()=>l.value.path,()=>{i==null||i(),c()})}),Jt(()=>{i==null||i()})};var O3={"/":{closeTitle:"关闭",downloadTitle:"下载图片",fullscreenTitle:"切换全屏",zoomTitle:"缩放",arrowPrevTitle:"上一个 (左箭头)",arrowNextTitle:"下一个 (右箭头)"}};const R3=".theme-hope-content :not(a) > img:not([no-view])",M3=O3,N3=800,D3=!0,j3=Ye({enhance:({app:e})=>{T3(e)},setup:()=>{P3({selector:R3,delay:N3,locales:M3,scrollToClose:D3})}}),al=e=>{const t=Pt();return S(()=>e[t.value]??{})},H3=(e,t)=>Se(e)&&e.startsWith(t),B3=Object.values,Vn=({name:e="",color:t="currentColor"},{slots:n})=>{var r;return f("svg",{xmlns:"http://www.w3.org/2000/svg",class:["icon",`${e}-icon`],viewBox:"0 0 1024 1024",fill:t,"aria-label":`${e} icon`},(r=n.default)==null?void 0:r.call(n))};Vn.displayName="IconBase";function F3(){const e=Y(!1),t=Hn();return t&&fe(()=>{e.value=!0},t),e}function z3(e){return F3(),S(()=>!!e())}const V3=()=>z3(()=>typeof window<"u"&&window.navigator&&"userAgent"in window.navigator),q3=()=>{const e=V3();return S(()=>e.value&&/\b(?:Android|iPhone)/i.test(navigator.userAgent))},U3=e=>[/\((ipad);[-\w),; ]+apple/i,/applecoremedia\/[\w.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i].some(t=>t.test(e)),W3=e=>[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i].some(t=>t.test(e)),G3=e=>[/(mac os x) ?([\w. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i].some(t=>t.test(e)),K3=()=>f(Vn,{name:"heading"},()=>f("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"}));K3.displayName="HeadingIcon";const Y3=()=>f(Vn,{name:"heart"},()=>f("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"}));Y3.displayName="HeartIcon";const J3=()=>f(Vn,{name:"history"},()=>f("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"}));J3.displayName="HistoryIcon";const Q3=()=>f(Vn,{name:"title"},()=>f("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"}));Q3.displayName="TitleIcon";const il=()=>f(Vn,{name:"search"},()=>f("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"}));il.displayName="SearchIcon";const du=()=>f("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",preserveAspectRatio:"xMidYMid",viewBox:"0 0 100 100"},[f("circle",{cx:"28",cy:"75",r:"11",fill:"currentColor"},f("animate",{attributeName:"fill-opacity",begin:"0s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"})),f("path",{fill:"none",stroke:"#88baf0","stroke-width":"10",d:"M28 47a28 28 0 0 1 28 28"},f("animate",{attributeName:"stroke-opacity",begin:"0.1s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"})),f("path",{fill:"none",stroke:"#88baf0","stroke-width":"10",d:"M28 25a50 50 0 0 1 50 50"},f("animate",{attributeName:"stroke-opacity",begin:"0.2s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"}))]);du.displayName="LoadingIcon";const pu=({hint:e})=>f("div",{class:"search-pro-result-wrapper loading"},[f(du),e]);pu.displayName="SearchLoading";const X3='<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 Z3={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"}}},e4={"/":{cancel:"取消",placeholder:"搜索",search:"搜索",searching:"搜索中",defaultTitle:"文档",select:"选择",navigate:"切换",autocomplete:"自动补全",exit:"关闭",queryHistory:"搜索历史",resultHistory:"历史结果",emptyHistory:"无搜索历史",emptyResult:"没有找到结果",loading:"正在加载搜索索引..."}},t4={searchDelay:150,suggestDelay:0,queryHistoryCount:5,resultHistoryCount:5,hotKeys:[{key:"k",ctrl:!0},{key:"/",ctrl:!0}],worker:"search-pro.worker.js"};const lo=t4,E6=Z3,hu=lo.hotKeys,cl=e4,Ko="Canceled because of new search request.",n4=()=>{const e=new Worker(`/${lo.worker}`,{}),t={suggest:null,search:null,all:null};return e.addEventListener("message",({data:n})=>{const[r,o,s]=n,l=t[r];(l==null?void 0:l.id)===o&&l.resolve(s)}),e.addEventListener("error",n=>{console.error("Search Worker error:",n)}),{suggest:(n,r,o)=>new Promise((s,l)=>{var i;(i=t.suggest)==null||i.reject(new Error(Ko));const a=Date.now();e.postMessage({type:"suggest",id:a,query:n,locale:r,options:o}),t.suggest={id:a,resolve:s,reject:l}}),search:(n,r,o)=>new Promise((s,l)=>{var i;(i=t.search)==null||i.reject(new Error(Ko));const a=Date.now();e.postMessage({type:"search",id:a,query:n,locale:r,options:o}),console.log("post"),t.search={id:a,resolve:s,reject:l}}),all:(n,r,o)=>new Promise((s,l)=>{var i;(i=t.all)==null||i.reject(new Error(Ko));const a=Date.now();e.postMessage({type:"all",id:a,query:n,locale:r,options:o}),t.all={id:a,resolve:s,reject:l}}),terminate:()=>{e.terminate(),B3(t).forEach(n=>{n==null||n.reject(new Error("Worker has been terminated."))})}}};let r4={};const vu=Symbol(""),mu=()=>{const e=Pt(),{locales:t={},...n}=ke(vu);return S(()=>({...n,...t[e.value]||{}}))},o4=e=>{e.provide(vu,r4)},s4=(e,t=!1)=>{const n=Y(0),r=S(()=>e.value[n.value]),o=()=>{n.value=n.value>0?n.value-1:e.value.length-1},s=()=>{n.value=n.value<e.value.length-1?n.value+1:0};return oe(e,()=>{t||(n.value=0)}),{index:n,item:r,prev:o,next:s}},l4=e=>e instanceof Element?document.activeElement===e&&(["TEXTAREA","SELECT","INPUT"].includes(e.tagName)||e.hasAttribute("contenteditable")):!1,a4=e=>hu.some(t=>{const{key:n,ctrl:r=!1,shift:o=!1,alt:s=!1,meta:l=!1}=t;return n===e.key&&r===e.ctrlKey&&o===e.shiftKey&&s===e.altKey&&l===e.metaKey}),i4='<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>',c4='<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>',u4='<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>',f4='<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>',ul=Symbol(""),d4=()=>{const e=Y(!1);ln(ul,e)},p4=e=>{const t=Y([]);{const n=mu(),r=we(),o=Pt();fe(()=>{const{suggest:s,terminate:l}=n4(),a=i=>{const c=i.join(" "),{searchFilter:u,splitWord:d,suggestionsFilter:p=m=>m,...h}=n.value;c?s(c,o.value,h).then(m=>p(m,c,o.value,r.value)).then(m=>{t.value=m.length?H3(m[0],c)&&!m[0].slice(c.length).includes(" ")?m:[c,...m]:[]}).catch(m=>{console.warn(m)}):t.value=[]};oe([e,o],([i])=>a(i),{immediate:!0}),Jt(()=>{l()})})}return{suggestions:t}},Yo=hu[0];var h4=V({name:"SearchBox",setup(){const e=al(cl),t=ke(ul),n=Y(!1),r=S(()=>Yo?[(n.value?["⌃","⇧","⌥","⌘"]:["Ctrl","Shift","Alt","Win"]).filter((o,s)=>Yo[["ctrl","shift","alt","meta"][s]]),Yo.key.toUpperCase()]:null);return be("keydown",o=>{!t.value&&a4(o)&&!l4(o.target)&&(o.preventDefault(),t.value=!0)}),fe(()=>{const{userAgent:o}=navigator;n.value=G3(o)||W3(o)||U3(o)}),()=>[f("button",{type:"button",class:"search-pro-button","aria-label":e.value.search,onClick:()=>{t.value=!0}},[f(il),f("div",{class:"search-pro-placeholder"},e.value.search),r.value?f("div",{class:"search-pro-key-hints"},r.value.map(o=>f("kbd",{class:"search-pro-key"},o))):null])]}});const v4=Li({loader:()=>De(()=>import("./SearchResult-jsyIAwsg.js"),__vite__mapDeps([])),loadingComponent:()=>{const e=al(cl);return f(pu,{hint:e.value.loading})}});var m4=V({name:"SearchModal",setup(){const e=ke(ul),t=bo(),n=q3(),r=al(cl),o=mu(),s=Y(""),l=Y([]),{suggestions:a}=p4(l),i=Y(!1),{index:c,prev:u,next:d}=s4(a),p=Ie(),h=Ie(),m=(b=c.value)=>{s.value=a.value[b],i.value=!1};be("keydown",b=>{i.value?b.key==="ArrowUp"?u():b.key==="ArrowDown"?d():b.key==="Enter"?m():b.key==="Escape"&&(i.value=!1):b.key==="Escape"&&(e.value=!1)});const _=$c(()=>{var b,y;(((y=(b=o.value).splitWord)==null?void 0:y.call(b,s.value))||Promise.resolve(s.value.split(" "))).then(E=>{l.value=E})},Math.min(lo.searchDelay,lo.suggestDelay));return oe(s,_,{immediate:!0}),fe(()=>{const b=ol(document.body);oe(e,async y=>{var E;b.value=y,y&&(await $t(),(E=p.value)==null||E.focus())}),B2(h,()=>{i.value=!1}),Jt(()=>{b.value=!1})}),()=>e.value?f("div",{class:"search-pro-modal-wrapper"},[f("div",{class:"search-pro-mask",onClick:()=>{e.value=!1,s.value=""}}),f("div",{class:"search-pro-modal"},[f("div",{class:"search-pro-box"},[f("form",[f("label",{for:"search-pro","aria-label":r.value.search},f(il)),f("input",{ref:p,type:"search",class:"search-pro-input",id:"search-pro",placeholder:r.value.placeholder,spellcheck:"false",autocapitalize:"off",autocomplete:"off",autocorrect:"off",name:`${t.value.title}-search`,value:s.value,"aria-controls":"search-pro-results",onKeydown:b=>{const{key:y}=b;a.value.length&&(y==="Tab"?(m(),b.preventDefault()):(y==="ArrowDown"||y==="ArrowUp"||y==="Escape")&&b.preventDefault())},onInput:({target:b})=>{s.value=b.value,i.value=!0,c.value=0}}),s.value?f("button",{type:"reset",class:"search-pro-clear-button",innerHTML:X3,onClick:()=>{s.value=""}}):null,i.value&&a.value.length?f("ul",{class:"search-pro-suggestions",ref:h},a.value.map((b,y)=>f("li",{class:["search-pro-suggestion",{active:y===c.value}],onClick:()=>{m(y)}},[f("kbd",{class:"search-pro-auto-complete",title:`Tab ${r.value.autocomplete}`},"Tab"),b]))):null]),f("button",{type:"button",class:"search-pro-close-button",onClick:()=>{e.value=!1,s.value=""}},r.value.cancel)]),f(v4,{queries:l.value,isFocusing:!i.value,onClose:()=>{e.value=!1},onUpdateQuery:b=>{s.value=b}}),n.value?null:f("div",{class:"search-pro-hints"},[f("span",{class:"search-pro-hint"},[f("kbd",{innerHTML:i4}),r.value.select]),f("span",{class:"search-pro-hint"},[f("kbd",{innerHTML:u4}),f("kbd",{innerHTML:c4}),r.value.navigate]),f("span",{class:"search-pro-hint"},[f("kbd",{innerHTML:f4}),r.value.exit])])])]):null}}),g4=Ye({enhance({app:e}){o4(e),e.component("SearchBox",h4)},setup(){d4()},rootComponents:[m4]});const gu=()=>{const e=we();return S(()=>e.value.readingTime??null)},y4=(e,t)=>{const{minutes:n,words:r}=e,{less1Minute:o,word:s,time:l}=t;return{time:n<1?o:l.replace("$time",Math.round(n).toString()),words:s.replace("$word",r.toString())}};var Ra={"/":{word:"约 $word 字",less1Minute:"小于 1 分钟",time:"大约 $time 分钟"}};const Ma={words:"",time:""},ws=typeof Ra>"u"?null:Ra,b4=()=>ws?Tr(ws):S(()=>null),w4=()=>{if(typeof ws>"u")return S(()=>Ma);const e=gu(),t=b4();return S(()=>e.value&&t.value?y4(e.value,t.value):Ma)},hn=()=>zc(),pe=()=>Tp(),Ir=()=>{const e=hn();return S(()=>!!e.value.pure)},Jo=()=>null,_4="719px",C4="1440px",E4="false",yu={mobileBreakPoint:_4,pcBreakPoint:C4,enableThemeColor:E4},fl={"/deployment/":["install","config","fandq"],"/usage/":["basic_command","extra_command","agreement","resource_pack"],"/store/":[]},bu=e=>{const{icon:t="",color:n,size:r}=e,o=n||r?{}:null;return n&&(o.color=n),r&&(o.height=Number.isNaN(Number(r))?r:`${r}px`),un(t)?f("img",{class:"icon",src:t,alt:"","no-view":"",style:o}):tl(t)?f("img",{class:"icon",src:Fe(t),alt:"","aria-hidden":"","no-view":"",style:o}):f(ht("FontIcon"),e)};bu.displayName="HopeIcon";var ze=bu;const k4="http://.",dl=()=>{const e=Fn(),t=fn();return n=>{if(n)if(tl(n))t.path!==n&&e.push(n);else if(oc(n))window&&window.open(n);else{const r=t.path.slice(0,t.path.lastIndexOf("/"));e.push(new URL(`${r}/${encodeURI(n)}`,k4).pathname)}}},wu=()=>{const e=pe(),t=Ce();return S(()=>{const{author:n}=t.value;return n?Pa(n):n===!1?[]:Pa(e.value.author,!1)})},S4=()=>{const e=Ce();return S(()=>e3(e.value.category).map(t=>({name:t,path:""})))},x4=()=>{const e=Ce();return S(()=>t3(e.value.tag).map(t=>({name:t,path:""})))},T4=()=>{const e=Ce(),t=we();return S(()=>{const n=x2(e.value.date);if(n)return n;const{createdTime:r}=t.value.git||{};return r?new Date(r):null})},A4=()=>{const e=pe(),t=we(),n=Ce(),r=wu(),o=S4(),s=x4(),l=T4(),a=gu(),i=w4(),c=S(()=>({author:r.value,category:o.value,date:l.value,localizedDate:t.value.localizedDate,tag:s.value,isOriginal:n.value.isOriginal||!1,readingTime:a.value,readingTimeLocale:i.value,pageview:"pageview"in n.value?n.value.pageview:!0})),u=S(()=>"pageInfo"in n.value?n.value.pageInfo:"pageInfo"in e.value?e.value.pageInfo:null);return{info:c,items:u}},{mobileBreakPoint:L4,pcBreakPoint:$4}=yu,Na=e=>e.endsWith("px")?Number(e.slice(0,-2)):null,Eo=()=>{const e=Y(!1),t=Y(!1),n=()=>{e.value=window.innerWidth<=(Na(L4)??719),t.value=window.innerWidth>=(Na($4)??1440)};return fe(()=>{n(),be("resize",n,!1),be("orientationchange",n,!1)}),{isMobile:e,isPC:t}},_u=Symbol(""),Pr=()=>{const e=ke(_u);if(!e)throw new Error("useDarkmode() is called without provider.");return e},I4=e=>{const t=hn(),n=K2(),r=S(()=>t.value.darkmode||"switch"),o=pn("vuepress-theme-hope-scheme","auto"),s=S(()=>{const a=r.value;return a==="disable"?!1:a==="enable"?!0:a==="auto"?n.value:a==="toggle"?o.value==="dark":o.value==="dark"||o.value==="auto"&&n.value}),l=S(()=>{const a=r.value;return a==="switch"||a==="toggle"});e.provide(_u,{canToggle:l,config:r,isDarkmode:s,status:o}),Object.defineProperties(e.config.globalProperties,{$isDarkmode:{get:()=>s.value}})},P4=()=>{const{config:e,isDarkmode:t,status:n}=Pr();ki(()=>{e.value==="disable"?n.value="light":e.value==="enable"?n.value="dark":e.value==="toggle"&&n.value==="auto"&&(n.value="light")}),fe(()=>{oe(t,r=>document.documentElement.setAttribute("data-theme",r?"dark":"light"),{immediate:!0})})};var Ct=(e=>(e.title="t",e.shortTitle="s",e.icon="i",e.index="I",e.order="O",e.breadcrumbExclude="b",e))(Ct||{}),O4=(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))(O4||{}),R4=(e=>(e.article="a",e.home="h",e.slide="s",e.page="p",e))(R4||{});const rn=(e="",t="")=>tl(t)?t:`${rc(e)}${t}`,Ln=(e,t=!1)=>{const{meta:n,path:r,notFound:o}=wo(e);return o?{text:r,link:r}:{text:!t&&n[Ct.shortTitle]?n[Ct.shortTitle]:n[Ct.title]||r,link:r,...n[Ct.icon]?{icon:n[Ct.icon]}:{}}},_s=({config:e,prefix:t=""})=>{const n=(r,o=t)=>{const s=Se(r)?Ln(rn(o,r)):r.link?{...r,...On(r.link)?{}:{link:Ln(rn(o,r.link)).link}}:r;if("children"in s){const l=rn(o,s.prefix),a=s.children==="structure"?fl[l]:s.children;return{type:"group",...s,prefix:l,children:a.map(i=>n(i,l))}}return{type:"page",...s}};return e.map(r=>n(r))},M4=({config:e,page:t,headerDepth:n})=>{const r=dn(e).sort((o,s)=>s.length-o.length);for(const o of r)if(Nn(decodeURI(t.path),o)){const s=e[o];return s?_s({config:s==="structure"?fl[o]:s,page:t,headerDepth:n,prefix:o}):[]}return console.warn(`${t.path} is missing sidebar config.`),[]},N4=({config:e,routeLocale:t,page:n,headerDepth:r})=>e==="structure"?_s({config:fl[t],page:n,headerDepth:r,prefix:t}):ys(e)?_s({config:e,page:n,headerDepth:r}):Bn(e)?M4({config:e,page:n,headerDepth:r}):[],Cu=Symbol(""),D4=()=>{const e=Ce(),t=pe(),n=we(),r=Pt(),o=S(()=>e.value.home?!1:e.value.sidebar??t.value.sidebar??"structure"),s=S(()=>e.value.headerDepth??t.value.headerDepth??2),l=Tc(()=>[o.value,s.value,n.value.path,null],()=>N4({config:o.value,routeLocale:r.value,page:n.value,headerDepth:s.value}));ln(Cu,l)},pl=()=>{const e=ke(Cu);if(!e)throw new Error("useSidebarItems() is called without provider.");return e};var j4=V({name:"PageFooter",setup(){const e=hn(),t=pe(),n=Ce(),r=wu(),o=S(()=>{const{copyright:c,footer:u}=n.value;return u!==!1&&!!(c||u||t.value.displayFooter)}),s=S(()=>{const{footer:c}=n.value;return c===!1?!1:Se(c)?c:t.value.footer||""}),l=S(()=>r.value.map(({name:c})=>c).join(", ")),a=c=>`Copyright © ${new Date().getFullYear()} ${l.value} ${c?`${c} Licensed`:""}`,i=S(()=>{const{copyright:c,license:u=""}=n.value,{license:d}=e.value,{copyright:p}=t.value;return c??(u?a(u):Se(p)?p:l.value||d?a(d):!1)});return()=>o.value?f("footer",{class:"vp-footer-wrapper"},[s.value?f("div",{class:"vp-footer",innerHTML:s.value}):null,i.value?f("div",{class:"vp-copyright",innerHTML:i.value}):null]):null}}),Ge=V({name:"AutoLink",inheritAttrs:!1,props:{config:{type:Object,required:!0},exact:Boolean,noExternalLinkIcon:Boolean},emits:["focusout"],slots:Object,setup(e,{attrs:t,emit:n,slots:r}){const o=fn(),s=mc(),l=uo(e,"config"),a=S(()=>un(l.value.link)),i=S(()=>!a.value&&oc(l.value.link)),c=S(()=>l.value.target||(a.value?"_blank":void 0)),u=S(()=>c.value==="_blank"),d=S(()=>!a.value&&!i.value&&!u.value),p=S(()=>l.value.rel||(u.value?"noopener noreferrer":null)),h=S(()=>l.value.ariaLabel||l.value.text),m=S(()=>{if(e.exact)return!1;const b=dn(s.value.locales);return b.length?b.every(y=>y!==l.value.link):l.value.link!=="/"}),_=S(()=>d.value?l.value.activeMatch?new RegExp(l.value.activeMatch,"u").test(o.path):m.value?Nn(o.path,l.value.link):o.path===l.value.link:!1);return()=>{const{before:b,after:y,default:E}=r,{text:w,icon:x,link:M}=l.value;return d.value?f(We,{to:M,"aria-label":h.value,...t,class:["nav-link",{active:_.value},t.class],onFocusout:()=>n("focusout")},()=>E?E():[b?b():f(ze,{icon:x}),w,y==null?void 0:y()]):f("a",{href:M,rel:p.value,target:c.value,"aria-label":h.value,...t,class:["nav-link",t.class],onFocusout:()=>n("focusout")},E?E():[b?b():f(ze,{icon:x}),w,e.noExternalLinkIcon?null:f(Bc),y==null?void 0:y()])}}}),H4=V({name:"NavbarDropdownLink",props:{config:{type:Object,required:!0}},slots:Object,setup(e,{slots:t}){const n=we(),r=uo(e,"config"),o=S(()=>r.value.ariaLabel||r.value.text),s=Y(!1);oe(()=>n.value.path,()=>{s.value=!1});const l=a=>{a.detail===0&&(s.value=!s.value)};return()=>{var a;return f("div",{class:["dropdown-wrapper",{open:s.value}]},[f("button",{type:"button",class:"dropdown-title","aria-label":o.value,onClick:l},[((a=t.title)==null?void 0:a.call(t))||f("span",{class:"title"},[f(ze,{icon:r.value.icon}),e.config.text]),f("span",{class:"arrow"}),f("ul",{class:"nav-dropdown"},r.value.children.map((i,c)=>{const u=c===r.value.children.length-1;return f("li",{class:"dropdown-item"},"children"in i?[f("h4",{class:"dropdown-subtitle"},i.link?f(Ge,{config:i,onFocusout:()=>{i.children.length===0&&u&&(s.value=!1)}}):f("span",i.text)),f("ul",{class:"dropdown-subitem-wrapper"},i.children.map((d,p)=>f("li",{class:"dropdown-subitem"},f(Ge,{config:d,onFocusout:()=>{p===i.children.length-1&&u&&(s.value=!1)}}))))]:f(Ge,{config:i,onFocusout:()=>{u&&(s.value=!1)}}))}))])])}}});const Eu=(e,t="")=>Se(e)?Ln(rn(t,e)):"children"in e?{...e,...e.link&&!On(e.link)?Ln(rn(t,e.link)):{},children:e.children.map(n=>Eu(n,rn(t,e.prefix)))}:{...e,link:On(e.link)?e.link:Ln(rn(t,e.link)).link},ku=()=>{const e=pe(),t=()=>(e.value.navbar||[]).map(n=>Eu(n));return Tc(()=>e.value.navbar,()=>t())},B4=()=>{const e=pe(),t=S(()=>e.value.repo||null),n=S(()=>t.value?Xp(t.value):null),r=S(()=>t.value?ou(t.value):null),o=S(()=>n.value?e.value.repoLabel??(r.value===null?"Source":r.value):null);return S(()=>!n.value||!o.value||e.value.repoDisplay===!1?null:{type:r.value||"Source",label:o.value,link:n.value})};var F4=V({name:"NavScreenDropdown",props:{config:{type:Object,required:!0}},setup(e){const t=we(),n=uo(e,"config"),r=S(()=>n.value.ariaLabel||n.value.text),o=Y(!1);oe(()=>t.value.path,()=>{o.value=!1});const s=(l,a)=>a[a.length-1]===l;return()=>[f("button",{type:"button",class:["nav-screen-dropdown-title",{active:o.value}],"aria-label":r.value,onClick:()=>{o.value=!o.value}},[f("span",{class:"title"},[f(ze,{icon:n.value.icon}),e.config.text]),f("span",{class:["arrow",o.value?"down":"end"]})]),f("ul",{class:["nav-screen-dropdown",{hide:!o.value}]},n.value.children.map(l=>f("li",{class:"dropdown-item"},"children"in l?[f("h4",{class:"dropdown-subtitle"},l.link?f(Ge,{config:l,onFocusout:()=>{s(l,n.value.children)&&l.children.length===0&&(o.value=!1)}}):f("span",l.text)),f("ul",{class:"dropdown-subitem-wrapper"},l.children.map(a=>f("li",{class:"dropdown-subitem"},f(Ge,{config:a,onFocusout:()=>{s(a,l.children)&&s(l,n.value.children)&&(o.value=!1)}}))))]:f(Ge,{config:l,onFocusout:()=>{s(l,n.value.children)&&(o.value=!1)}}))))]}}),z4=V({name:"NavScreenLinks",setup(){const e=ku();return()=>e.value.length?f("nav",{class:"nav-screen-links"},e.value.map(t=>f("div",{class:"navbar-links-item"},"children"in t?f(F4,{config:t}):f(Ge,{config:t})))):null}});const Su=()=>f(xe,{name:"dark"},()=>f("path",{d:"M524.8 938.667h-4.267a439.893 439.893 0 0 1-313.173-134.4 446.293 446.293 0 0 1-11.093-597.334A432.213 432.213 0 0 1 366.933 90.027a42.667 42.667 0 0 1 45.227 9.386 42.667 42.667 0 0 1 10.24 42.667 358.4 358.4 0 0 0 82.773 375.893 361.387 361.387 0 0 0 376.747 82.774 42.667 42.667 0 0 1 54.187 55.04 433.493 433.493 0 0 1-99.84 154.88 438.613 438.613 0 0 1-311.467 128z"}));Su.displayName="DarkIcon";const xu=()=>f(xe,{name:"light"},()=>f("path",{d:"M952 552h-80a40 40 0 0 1 0-80h80a40 40 0 0 1 0 80zM801.88 280.08a41 41 0 0 1-57.96-57.96l57.96-58a41.04 41.04 0 0 1 58 58l-58 57.96zM512 752a240 240 0 1 1 0-480 240 240 0 0 1 0 480zm0-560a40 40 0 0 1-40-40V72a40 40 0 0 1 80 0v80a40 40 0 0 1-40 40zm-289.88 88.08-58-57.96a41.04 41.04 0 0 1 58-58l57.96 58a41 41 0 0 1-57.96 57.96zM192 512a40 40 0 0 1-40 40H72a40 40 0 0 1 0-80h80a40 40 0 0 1 40 40zm30.12 231.92a41 41 0 0 1 57.96 57.96l-57.96 58a41.04 41.04 0 0 1-58-58l58-57.96zM512 832a40 40 0 0 1 40 40v80a40 40 0 0 1-80 0v-80a40 40 0 0 1 40-40zm289.88-88.08 58 57.96a41.04 41.04 0 0 1-58 58l-57.96-58a41 41 0 0 1 57.96-57.96z"}));xu.displayName="LightIcon";const Tu=()=>f(xe,{name:"auto"},()=>f("path",{d:"M512 992C246.92 992 32 777.08 32 512S246.92 32 512 32s480 214.92 480 480-214.92 480-480 480zm0-840c-198.78 0-360 161.22-360 360 0 198.84 161.22 360 360 360s360-161.16 360-360c0-198.78-161.22-360-360-360zm0 660V212c165.72 0 300 134.34 300 300 0 165.72-134.28 300-300 300z"}));Tu.displayName="AutoIcon";const Au=()=>f(xe,{name:"enter-fullscreen"},()=>f("path",{d:"M762.773 90.24h-497.28c-96.106 0-174.4 78.293-174.4 174.4v497.28c0 96.107 78.294 174.4 174.4 174.4h497.28c96.107 0 175.04-78.293 174.4-174.4V264.64c0-96.213-78.186-174.4-174.4-174.4zm-387.2 761.173H215.04c-21.867 0-40.427-17.92-41.067-41.066V649.92c0-22.507 17.92-40.427 40.427-40.427 11.307 0 21.227 4.694 28.48 11.947 7.253 7.253 11.947 17.92 11.947 28.48v62.293l145.28-145.28c15.893-15.893 41.813-15.893 57.706 0 15.894 15.894 15.894 41.814 0 57.707l-145.28 145.28h62.294c22.506 0 40.426 17.92 40.426 40.427s-17.173 41.066-39.68 41.066zM650.24 165.76h160.427c21.866 0 40.426 17.92 41.066 41.067v160.426c0 22.507-17.92 40.427-40.426 40.427-11.307 0-21.227-4.693-28.48-11.947-7.254-7.253-11.947-17.92-11.947-28.48v-62.186L625.6 450.347c-15.893 15.893-41.813 15.893-57.707 0-15.893-15.894-15.893-41.814 0-57.707l145.28-145.28H650.88c-22.507 0-40.427-17.92-40.427-40.427s17.174-41.173 39.787-41.173z"}));Au.displayName="EnterFullScreenIcon";const Lu=()=>f(xe,{name:"cancel-fullscreen"},()=>f("path",{d:"M778.468 78.62H247.922c-102.514 0-186.027 83.513-186.027 186.027V795.08c0 102.514 83.513 186.027 186.027 186.027h530.432c102.514 0 186.71-83.513 186.026-186.027V264.647C964.494 162.02 880.981 78.62 778.468 78.62zM250.88 574.35h171.122c23.324 0 43.122 19.115 43.804 43.805v171.121c0 24.008-19.114 43.122-43.122 43.122-12.06 0-22.641-5.006-30.378-12.743s-12.743-19.115-12.743-30.379V722.83L224.597 877.91c-16.953 16.952-44.6 16.952-61.553 0-16.953-16.954-16.953-44.602 0-61.554L318.009 661.39h-66.446c-24.007 0-43.122-19.114-43.122-43.122 0-24.12 18.432-43.918 42.439-43.918zm521.899-98.873H601.657c-23.325 0-43.122-19.114-43.805-43.804V260.55c0-24.007 19.115-43.122 43.122-43.122 12.06 0 22.642 5.007 30.379 12.743s12.743 19.115 12.743 30.38v66.445l154.965-154.965c16.953-16.953 44.601-16.953 61.554 0 16.953 16.953 16.953 44.6 0 61.554L705.536 388.55h66.446c24.007 0 43.122 19.115 43.122 43.122.114 24.007-18.318 43.804-42.325 43.804z"}));Lu.displayName="CancelFullScreenIcon";const $u=()=>f(xe,{name:"outlook"},()=>[f("path",{d:"M224 800c0 9.6 3.2 44.8 6.4 54.4 6.4 48-48 76.8-48 76.8s80 41.6 147.2 0 134.4-134.4 38.4-195.2c-22.4-12.8-41.6-19.2-57.6-19.2C259.2 716.8 227.2 761.6 224 800zM560 675.2l-32 51.2c-51.2 51.2-83.2 32-83.2 32 25.6 67.2 0 112-12.8 128 25.6 6.4 51.2 9.6 80 9.6 54.4 0 102.4-9.6 150.4-32l0 0c3.2 0 3.2-3.2 3.2-3.2 22.4-16 12.8-35.2 6.4-44.8-9.6-12.8-12.8-25.6-12.8-41.6 0-54.4 60.8-99.2 137.6-99.2 6.4 0 12.8 0 22.4 0 12.8 0 38.4 9.6 48-25.6 0-3.2 0-3.2 3.2-6.4 0-3.2 3.2-6.4 3.2-6.4 6.4-16 6.4-16 6.4-19.2 9.6-35.2 16-73.6 16-115.2 0-105.6-41.6-198.4-108.8-268.8C704 396.8 560 675.2 560 675.2zM224 419.2c0-28.8 22.4-51.2 51.2-51.2 28.8 0 51.2 22.4 51.2 51.2 0 28.8-22.4 51.2-51.2 51.2C246.4 470.4 224 448 224 419.2zM320 284.8c0-22.4 19.2-41.6 41.6-41.6 22.4 0 41.6 19.2 41.6 41.6 0 22.4-19.2 41.6-41.6 41.6C339.2 326.4 320 307.2 320 284.8zM457.6 208c0-12.8 12.8-25.6 25.6-25.6 12.8 0 25.6 12.8 25.6 25.6 0 12.8-12.8 25.6-25.6 25.6C470.4 233.6 457.6 220.8 457.6 208zM128 505.6C128 592 153.6 672 201.6 736c28.8-60.8 112-60.8 124.8-60.8-16-51.2 16-99.2 16-99.2l316.8-422.4c-48-19.2-99.2-32-150.4-32C297.6 118.4 128 291.2 128 505.6zM764.8 86.4c-22.4 19.2-390.4 518.4-390.4 518.4-22.4 28.8-12.8 76.8 22.4 99.2l9.6 6.4c35.2 22.4 80 12.8 99.2-25.6 0 0 6.4-12.8 9.6-19.2 54.4-105.6 275.2-524.8 288-553.6 6.4-19.2-3.2-32-19.2-32C777.6 76.8 771.2 80 764.8 86.4z"})]);$u.displayName="OutlookIcon";var Iu=V({name:"AppearanceSwitch",setup(){const{config:e,isDarkmode:t,status:n}=Pr(),r=Ir(),o=()=>{e.value==="switch"?n.value={light:"dark",dark:"auto",auto:"light"}[n.value]:n.value=n.value==="light"?"dark":"light"},s=async l=>{if(!(document.startViewTransition&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches&&!r.value)||!l){o();return}const a=l.clientX,i=l.clientY,c=Math.hypot(Math.max(a,innerWidth-a),Math.max(i,innerHeight-i)),u=t.value;await document.startViewTransition(async()=>{o(),await $t()}).ready,t.value!==u&&document.documentElement.animate({clipPath:t.value?[`circle(${c}px at ${a}px ${i}px)`,`circle(0px at ${a}px ${i}px)`]:[`circle(0px at ${a}px ${i}px)`,`circle(${c}px at ${a}px ${i}px)`]},{duration:400,pseudoElement:t.value?"::view-transition-old(root)":"::view-transition-new(root)"})};return()=>f("button",{type:"button",id:"appearance-switch",onClick:s},[f(Tu,{style:{display:n.value==="auto"?"block":"none"}}),f(Su,{style:{display:n.value==="dark"?"block":"none"}}),f(xu,{style:{display:n.value==="light"?"block":"none"}})])}}),V4=V({name:"AppearanceMode",setup(){const e=pe(),{canToggle:t}=Pr(),n=S(()=>e.value.outlookLocales.darkmode);return()=>t.value?f("div",{class:"appearance-wrapper"},[f("label",{class:"appearance-title",for:"appearance-switch"},n.value),f(Iu)]):null}});const Qo=yu.enableThemeColor==="true";var Pu=V({name:"ToggleFullScreenButton",setup(){const e=pe(),{isSupported:t,isFullscreen:n,toggle:r}=rl(),o=S(()=>e.value.outlookLocales.fullscreen);return()=>t?f("div",{class:"full-screen-wrapper"},[f("label",{class:"full-screen-title",for:"full-screen-switch"},o.value),f("button",{type:"button",id:"full-screen-switch",class:"full-screen",ariaPressed:n.value,onClick:()=>r()},n.value?f(Lu):f(Au))]):null}}),Ou=V({name:"OutlookSettings",setup(){const e=hn(),t=Ir(),n=S(()=>!t.value&&e.value.fullscreen);return()=>f(_o,()=>[null,f(V4),n.value?f(Pu):null])}}),q4=V({name:"NavScreen",props:{show:Boolean},emits:["close"],slots:Object,setup(e,{emit:t,slots:n}){const r=we(),{isMobile:o}=Eo(),s=Ie(),l=ol(s);return fe(()=>{s.value=document.body,oe(o,a=>{!a&&e.show&&(l.value=!1,t("close"))}),oe(()=>r.value.path,()=>{l.value=!1,t("close")})}),Jt(()=>{l.value=!1}),()=>f(Yt,{name:"fade",onEnter:()=>{l.value=!0},onAfterLeave:()=>{l.value=!1}},()=>{var a,i;return e.show?f("div",{id:"nav-screen"},f("div",{class:"vp-nav-screen-container"},[(a=n.before)==null?void 0:a.call(n),f(z4),f("div",{class:"vp-outlook-wrapper"},f(Ou)),(i=n.after)==null?void 0:i.call(n)])):null})}}),U4=V({name:"NavbarBrand",setup(){const e=Pt(),t=bo(),n=pe(),r=S(()=>n.value.home||e.value),o=S(()=>t.value.title),s=S(()=>n.value.navTitle??o.value),l=S(()=>n.value.logo?Fe(n.value.logo):null),a=S(()=>n.value.logoDark?Fe(n.value.logoDark):null);return()=>f(We,{to:r.value,class:"vp-brand"},()=>[l.value?f("img",{class:["vp-nav-logo",{light:!!a.value}],src:l.value,alt:""}):null,a.value?f("img",{class:["vp-nav-logo dark"],src:a.value,alt:""}):null,s.value?f("span",{class:["vp-site-name",{"hide-in-pad":l.value&&n.value.hideSiteNameOnMobile!==!1}]},s.value):null])}}),W4=V({name:"NavbarLinks",setup(){const e=ku();return()=>e.value.length?f("nav",{class:"vp-nav-links"},e.value.map(t=>f("div",{class:"nav-item hide-in-mobile"},"children"in t?f(H4,{config:t}):f(Ge,{config:t})))):null}}),G4=V({name:"RepoLink",components:{BitbucketIcon:Zc,GiteeIcon:Xc,GitHubIcon:Jc,GitLabIcon:Qc,SourceIcon:eu},setup(){const e=B4();return()=>e.value?f("div",{class:"nav-item vp-repo"},f("a",{class:"vp-repo-link",href:e.value.link,target:"_blank",rel:"noopener noreferrer","aria-label":e.value.label},f(ht(`${e.value.type}Icon`),{style:{width:"1.25rem",height:"1.25rem",verticalAlign:"middle"}}))):null}});const Ru=({active:e=!1},{emit:t})=>f("button",{type:"button",class:["vp-toggle-navbar-button",{"is-active":e}],"aria-label":"Toggle Navbar","aria-expanded":e,"aria-controls":"nav-screen",onClick:()=>t("toggle")},f("span",[f("span",{class:"vp-top"}),f("span",{class:"vp-middle"}),f("span",{class:"vp-bottom"})]));Ru.displayName="ToggleNavbarButton";var K4=Ru;const Cs=(e,{emit:t})=>f("button",{type:"button",class:"vp-toggle-sidebar-button",title:"Toggle Sidebar",onClick:()=>t("toggle")},f("span",{class:"icon"}));Cs.displayName="ToggleSidebarButton",Cs.emits=["toggle"];var Y4=Cs,J4=V({name:"OutlookButton",setup(){const{isSupported:e}=rl(),t=hn(),n=Ir(),r=we(),{canToggle:o}=Pr(),s=Y(!1),l=S(()=>!n.value&&t.value.fullscreen&&e);return oe(()=>r.value.path,()=>{s.value=!1}),()=>o.value||l.value||Qo?f("div",{class:"nav-item hide-in-mobile"},o.value&&!l.value&&!Qo?f(Iu):l.value&&!o.value&&!Qo?f(Pu):f("button",{type:"button",class:["outlook-button",{open:s.value}],tabindex:"-1","aria-hidden":!0},[f($u),f("div",{class:"outlook-dropdown"},f(Ou))])):null}}),Q4=V({name:"NavBar",emits:["toggleSidebar"],slots:Object,setup(e,{emit:t,slots:n}){const r=pe(),{isMobile:o}=Eo(),s=Y(!1),l=S(()=>{const{navbarAutoHide:u="mobile"}=r.value;return u!=="none"&&(u==="always"||o.value)}),a=S(()=>r.value.navbarLayout||{start:["Brand"],center:["Links"],end:["Language","Repo","Outlook","Search"]}),i={Brand:U4,Language:Jo,Links:W4,Repo:G4,Outlook:J4,Search:it("Docsearch")?ht("Docsearch"):it("SearchBox")?ht("SearchBox"):Jo},c=u=>i[u]??(it(u)?ht(u):Jo);return()=>{var u,d,p,h,m,_;return[f("header",{key:"navbar",id:"navbar",class:["vp-navbar",{"auto-hide":l.value,"hide-icon":r.value.navbarIcon===!1}]},[f("div",{class:"vp-navbar-start"},[f(Y4,{onToggle:()=>{s.value&&(s.value=!1),t("toggleSidebar")}}),(u=n.startBefore)==null?void 0:u.call(n),(a.value.start||[]).map(b=>f(c(b))),(d=n.startAfter)==null?void 0:d.call(n)]),f("div",{class:"vp-navbar-center"},[(p=n.centerBefore)==null?void 0:p.call(n),(a.value.center||[]).map(b=>f(c(b))),(h=n.centerAfter)==null?void 0:h.call(n)]),f("div",{class:"vp-navbar-end"},[(m=n.endBefore)==null?void 0:m.call(n),(a.value.end||[]).map(b=>f(c(b))),(_=n.endAfter)==null?void 0:_.call(n),f(K4,{active:s.value,onToggle:()=>{s.value=!s.value}})])]),f(q4,{show:s.value,onClose:()=>{s.value=!1}},{before:()=>{var b;return(b=n.screenTop)==null?void 0:b.call(n)},after:()=>{var b;return(b=n.screenBottom)==null?void 0:b.call(n)}})]}}});const gr=(e,t,n=!1)=>"activeMatch"in t?new RegExp(t.activeMatch,"u").test(e.path):ru(e,t.link)?!0:"children"in t&&!n?t.children.some(r=>gr(e,r)):!1,Mu=(e,t)=>t.type==="group"?t.children.some(n=>n.type==="group"?Mu(e,n):n.type==="page"&&gr(e,n,!0))||"prefix"in t&&ru(e,t.prefix):!1;var X4=V({name:"SidebarChild",props:{config:{type:Object,required:!0}},setup(e){const t=fn();return()=>Se(e.config.link)?f(Ge,{class:["vp-sidebar-link","vp-sidebar-page",{active:gr(t,e.config,!0)}],exact:!0,config:e.config}):f("p",e,[f(ze,{icon:e.config.icon}),e.config.text])}}),Z4=V({name:"SidebarGroup",props:{config:{type:Object,required:!0},open:{type:Boolean,required:!0}},emits:["toggle"],setup(e,{emit:t}){const n=fn(),r=S(()=>gr(n,e.config)),o=S(()=>gr(n,e.config,!0));return()=>{const{collapsible:s,children:l=[],icon:a,prefix:i,link:c,text:u}=e.config;return f("section",{class:"vp-sidebar-group"},[f(s?"button":"p",{class:["vp-sidebar-header",{clickable:s||c,exact:o.value,active:r.value}],...s?{type:"button",onClick:()=>t("toggle"),onKeydown:d=>{d.key==="Enter"&&t("toggle")}}:{}},[f(ze,{icon:a}),c?f(Ge,{class:"vp-sidebar-title",config:{text:u,link:c},noExternalLinkIcon:!0}):f("span",{class:"vp-sidebar-title"},u),s?f("span",{class:["vp-arrow",e.open?"down":"end"]}):null]),e.open||!s?f(Nu,{key:i,config:l}):null])}}}),Nu=V({name:"SidebarLinks",props:{config:{type:Array,required:!0}},setup(e){const t=fn(),n=Y(-1),r=o=>{n.value=o===n.value?-1:o};return oe(()=>t.path,()=>{const o=e.config.findIndex(s=>Mu(t,s));n.value=o},{immediate:!0,flush:"post"}),()=>f("ul",{class:"vp-sidebar-links"},e.config.map((o,s)=>f("li",o.type==="group"?f(Z4,{config:o,open:s===n.value,onToggle:()=>r(s)}):f(X4,{config:o}))))}}),eh=V({name:"SideBar",slots:Object,setup(e,{slots:t}){const n=fn(),r=pe(),o=pl(),s=Ie();return fe(()=>{oe(()=>n.hash,l=>{const a=document.querySelector(`.vp-sidebar a.vp-sidebar-link[href="${n.path}${l}"]`);if(!a)return;const{top:i,height:c}=s.value.getBoundingClientRect(),{top:u,height:d}=a.getBoundingClientRect();u<i?a.scrollIntoView(!0):u+d>i+c&&a.scrollIntoView(!1)},{immediate:!0})}),()=>{var l,a,i;return f("aside",{ref:s,id:"sidebar",class:["vp-sidebar",{"hide-icon":r.value.sidebarIcon===!1}],key:"sidebar"},[(l=t.top)==null?void 0:l.call(t),((a=t.default)==null?void 0:a.call(t))||f(Nu,{config:o.value}),(i=t.bottom)==null?void 0:i.call(t)])}}}),Du=V({name:"CommonWrapper",props:{containerClass:{type:String,default:""},noNavbar:Boolean,noSidebar:Boolean,noToc:Boolean},slots:Object,setup(e,{slots:t}){const n=Fn(),r=we(),o=Ce(),s=pe(),{isMobile:l,isPC:a}=Eo(),[i,c]=vr(!1),[u,d]=vr(!1),p=pl(),h=Y(!1),m=S(()=>e.noNavbar||o.value.navbar===!1||s.value.navbar===!1?!1:!!(r.value.title||s.value.logo||s.value.repo||s.value.navbar)),_=S(()=>e.noSidebar?!1:o.value.sidebar!==!1&&p.value.length!==0&&!o.value.home),b=S(()=>e.noToc||o.value.home?!1:o.value.toc||s.value.toc!==!1&&o.value.toc!==!1),y={x:0,y:0},E=k=>{y.x=k.changedTouches[0].clientX,y.y=k.changedTouches[0].clientY},w=k=>{const N=k.changedTouches[0].clientX-y.x,P=k.changedTouches[0].clientY-y.y;Math.abs(N)>Math.abs(P)*1.5&&Math.abs(N)>40&&(N>0&&y.x<=80?c(!0):c(!1))},x=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;let M=0;return be("scroll",M2(()=>{const k=x();k<=58||k<M?h.value=!1:M+200<k&&!i.value&&(h.value=!0),M=k},300,!0)),oe(l,k=>{k||c(!1)}),fe(()=>{const k=ol(document.body);oe(i,P=>{k.value=P});const N=n.afterEach(()=>{c(!1)});Jt(()=>{k.value=!1,N()})}),()=>f(it("GlobalEncrypt")?ht("GlobalEncrypt"):Yc,()=>f("div",{class:["theme-container",{"no-navbar":!m.value,"no-sidebar":!_.value&&!(t.sidebar||t.sidebarTop||t.sidebarBottom),"has-toc":b.value,"hide-navbar":h.value,"sidebar-collapsed":!l.value&&!a.value&&u.value,"sidebar-open":l.value&&i.value},e.containerClass,o.value.containerClass||""],onTouchStart:E,onTouchEnd:w},[m.value?f(Q4,{onToggleSidebar:()=>c()},{startBefore:()=>{var k;return(k=t.navbarStartBefore)==null?void 0:k.call(t)},startAfter:()=>{var k;return(k=t.navbarStartAfter)==null?void 0:k.call(t)},centerBefore:()=>{var k;return(k=t.navbarCenterBefore)==null?void 0:k.call(t)},centerAfter:()=>{var k;return(k=t.navbarCenterAfter)==null?void 0:k.call(t)},endBefore:()=>{var k;return(k=t.navbarEndBefore)==null?void 0:k.call(t)},endAfter:()=>{var k;return(k=t.navbarEndAfter)==null?void 0:k.call(t)},screenTop:()=>{var k;return(k=t.navScreenTop)==null?void 0:k.call(t)},screenBottom:()=>{var k;return(k=t.navScreenBottom)==null?void 0:k.call(t)}}):null,f(Yt,{name:"fade"},()=>i.value?f("div",{class:"vp-sidebar-mask",onClick:()=>c(!1)}):null),f(Yt,{name:"fade"},()=>l.value?null:f("div",{class:"toggle-sidebar-wrapper",onClick:()=>d()},f("span",{class:["arrow",u.value?"end":"start"]}))),f(eh,{},{...t.sidebar?{default:()=>t.sidebar()}:{},top:()=>{var k;return(k=t.sidebarTop)==null?void 0:k.call(t)},bottom:()=>{var k;return(k=t.sidebarBottom)==null?void 0:k.call(t)}}),t.default(),f(j4)]))}}),_n=V({name:"DropTransition",props:{type:{type:String,default:"single"},delay:{type:Number,default:0},duration:{type:Number,default:.25},appear:Boolean},slots:Object,setup(e,{slots:t}){const n=o=>{o.style.transition=`transform ${e.duration}s ease-in-out ${e.delay}s, opacity ${e.duration}s ease-in-out ${e.delay}s`,o.style.transform="translateY(-20px)",o.style.opacity="0"},r=o=>{o.style.transform="translateY(0)",o.style.opacity="1"};return()=>f(e.type==="single"?Yt:Td,{name:"drop",appear:e.appear,onAppear:n,onAfterAppear:r,onEnter:n,onAfterEnter:r,onBeforeLeave:n},()=>t.default())}});const Es=({custom:e})=>f(yc,{class:["theme-hope-content",{custom:e}]});Es.displayName="MarkdownContent",Es.props={custom:Boolean};var ju=Es;const Hu=()=>f(xe,{name:"author"},()=>f("path",{d:"M649.6 633.6c86.4-48 147.2-144 147.2-249.6 0-160-128-288-288-288s-288 128-288 288c0 108.8 57.6 201.6 147.2 249.6-121.6 48-214.4 153.6-240 288-3.2 9.6 0 19.2 6.4 25.6 3.2 9.6 12.8 12.8 22.4 12.8h704c9.6 0 19.2-3.2 25.6-12.8 6.4-6.4 9.6-16 6.4-25.6-25.6-134.4-121.6-240-243.2-288z"}));Hu.displayName="AuthorIcon";const Bu=()=>f(xe,{name:"calendar"},()=>f("path",{d:"M716.4 110.137c0-18.753-14.72-33.473-33.472-33.473-18.753 0-33.473 14.72-33.473 33.473v33.473h66.993v-33.473zm-334.87 0c0-18.753-14.72-33.473-33.473-33.473s-33.52 14.72-33.52 33.473v33.473h66.993v-33.473zm468.81 33.52H716.4v100.465c0 18.753-14.72 33.473-33.472 33.473a33.145 33.145 0 01-33.473-33.473V143.657H381.53v100.465c0 18.753-14.72 33.473-33.473 33.473a33.145 33.145 0 01-33.473-33.473V143.657H180.6A134.314 134.314 0 0046.66 277.595v535.756A134.314 134.314 0 00180.6 947.289h669.74a134.36 134.36 0 00133.94-133.938V277.595a134.314 134.314 0 00-133.94-133.938zm33.473 267.877H147.126a33.145 33.145 0 01-33.473-33.473c0-18.752 14.72-33.473 33.473-33.473h736.687c18.752 0 33.472 14.72 33.472 33.473a33.145 33.145 0 01-33.472 33.473z"}));Bu.displayName="CalendarIcon";const Fu=()=>f(xe,{name:"category"},()=>f("path",{d:"M148.41 106.992h282.176c22.263 0 40.31 18.048 40.31 40.31V429.48c0 22.263-18.047 40.31-40.31 40.31H148.41c-22.263 0-40.311-18.047-40.311-40.31V147.302c0-22.263 18.048-40.31 40.311-40.31zM147.556 553.478H429.73c22.263 0 40.311 18.048 40.311 40.31v282.176c0 22.263-18.048 40.312-40.31 40.312H147.555c-22.263 0-40.311-18.049-40.311-40.312V593.79c0-22.263 18.048-40.311 40.31-40.311zM593.927 106.992h282.176c22.263 0 40.31 18.048 40.31 40.31V429.48c0 22.263-18.047 40.31-40.31 40.31H593.927c-22.263 0-40.311-18.047-40.311-40.31V147.302c0-22.263 18.048-40.31 40.31-40.31zM730.22 920.502H623.926c-40.925 0-74.22-33.388-74.22-74.425V623.992c0-41.038 33.387-74.424 74.425-74.424h222.085c41.038 0 74.424 33.226 74.424 74.067v114.233c0 10.244-8.304 18.548-18.547 18.548s-18.548-8.304-18.548-18.548V623.635c0-20.388-16.746-36.974-37.33-36.974H624.13c-20.585 0-37.331 16.747-37.331 37.33v222.086c0 20.585 16.654 37.331 37.126 37.331H730.22c10.243 0 18.547 8.304 18.547 18.547 0 10.244-8.304 18.547-18.547 18.547z"}));Fu.displayName="CategoryIcon";const zu=()=>f(xe,{name:"print"},()=>f("path",{d:"M819.2 364.8h-44.8V128c0-17.067-14.933-32-32-32H281.6c-17.067 0-32 14.933-32 32v236.8h-44.8C145.067 364.8 96 413.867 96 473.6v192c0 59.733 49.067 108.8 108.8 108.8h44.8V896c0 17.067 14.933 32 32 32h460.8c17.067 0 32-14.933 32-32V774.4h44.8c59.733 0 108.8-49.067 108.8-108.8v-192c0-59.733-49.067-108.8-108.8-108.8zM313.6 160h396.8v204.8H313.6V160zm396.8 704H313.6V620.8h396.8V864zM864 665.6c0 25.6-19.2 44.8-44.8 44.8h-44.8V588.8c0-17.067-14.933-32-32-32H281.6c-17.067 0-32 14.933-32 32v121.6h-44.8c-25.6 0-44.8-19.2-44.8-44.8v-192c0-25.6 19.2-44.8 44.8-44.8h614.4c25.6 0 44.8 19.2 44.8 44.8v192z"}));zu.displayName="PrintIcon";const Vu=()=>f(xe,{name:"tag"},()=>f("path",{d:"M939.902 458.563L910.17 144.567c-1.507-16.272-14.465-29.13-30.737-30.737L565.438 84.098h-.402c-3.215 0-5.726 1.005-7.634 2.913l-470.39 470.39a10.004 10.004 0 000 14.164l365.423 365.424c1.909 1.908 4.42 2.913 7.132 2.913s5.223-1.005 7.132-2.913l470.39-470.39c2.01-2.11 3.014-5.023 2.813-8.036zm-240.067-72.121c-35.458 0-64.286-28.828-64.286-64.286s28.828-64.285 64.286-64.285 64.286 28.828 64.286 64.285-28.829 64.286-64.286 64.286z"}));Vu.displayName="TagIcon";const qu=()=>f(xe,{name:"timer"},()=>f("path",{d:"M799.387 122.15c4.402-2.978 7.38-7.897 7.38-13.463v-1.165c0-8.933-7.38-16.312-16.312-16.312H256.33c-8.933 0-16.311 7.38-16.311 16.312v1.165c0 5.825 2.977 10.874 7.637 13.592 4.143 194.44 97.22 354.963 220.201 392.763-122.204 37.542-214.893 196.511-220.2 389.397-4.661 5.049-7.638 11.651-7.638 19.03v5.825h566.49v-5.825c0-7.379-2.849-13.981-7.509-18.9-5.049-193.016-97.867-351.985-220.2-389.527 123.24-37.67 216.446-198.453 220.588-392.892zM531.16 450.445v352.632c117.674 1.553 211.787 40.778 211.787 88.676H304.097c0-48.286 95.149-87.382 213.728-88.676V450.445c-93.077-3.107-167.901-81.297-167.901-177.093 0-8.803 6.99-15.793 15.793-15.793 8.803 0 15.794 6.99 15.794 15.793 0 80.261 63.69 145.635 142.01 145.635s142.011-65.374 142.011-145.635c0-8.803 6.99-15.793 15.794-15.793s15.793 6.99 15.793 15.793c0 95.019-73.789 172.82-165.96 177.093z"}));qu.displayName="TimerIcon";const Uu=()=>f(xe,{name:"word"},()=>[f("path",{d:"M518.217 432.64V73.143A73.143 73.143 0 01603.43 1.097a512 512 0 01419.474 419.474 73.143 73.143 0 01-72.046 85.212H591.36a73.143 73.143 0 01-73.143-73.143z"}),f("path",{d:"M493.714 566.857h340.297a73.143 73.143 0 0173.143 85.577A457.143 457.143 0 11371.566 117.76a73.143 73.143 0 0185.577 73.143v339.383a36.571 36.571 0 0036.571 36.571z"})]);Uu.displayName="WordIcon";const Qt=()=>{const e=pe();return S(()=>e.value.metaLocales)};var th=V({name:"AuthorInfo",inheritAttrs:!1,props:{author:{type:Array,required:!0},pure:Boolean},setup(e){const t=Qt();return()=>e.author.length?f("span",{class:"page-author-info","aria-label":`${t.value.author}${e.pure?"":"🖊"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[f(Hu),f("span",e.author.map(n=>n.url?f("a",{class:"page-author-item",href:n.url,target:"_blank",rel:"noopener noreferrer"},n.name):f("span",{class:"page-author-item"},n.name))),f("span",{property:"author",content:e.author.map(n=>n.name).join(", ")})]):null}}),nh=V({name:"CategoryInfo",inheritAttrs:!1,props:{category:{type:Array,required:!0},pure:Boolean},setup(e){const t=Qt(),n=dl();return()=>e.category.length?f("span",{class:"page-category-info","aria-label":`${t.value.category}${e.pure?"":"🌈"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[f(Fu),e.category.map(({name:r,path:o})=>f("span",{class:["page-category-item",{[`category${tu(r,9)}`]:!e.pure,clickable:o}],role:o?"navigation":"",onClick:()=>{o&&n(o)}},r)),f("meta",{property:"articleSection",content:e.category.map(({name:r})=>r).join(",")})]):null}}),rh=V({name:"DateInfo",inheritAttrs:!1,props:{date:{type:Object,default:null},localizedDate:{type:String,default:""},pure:Boolean},setup(e){const t=Zs(),n=Qt();return()=>e.date?f("span",{class:"page-date-info","aria-label":`${n.value.date}${e.pure?"":"📅"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[f(Bu),f("span",f(_o,()=>e.localizedDate||e.date.toLocaleDateString(t.value))),f("meta",{property:"datePublished",content:e.date.toISOString()||""})]):null}}),oh=V({name:"OriginalInfo",inheritAttrs:!1,props:{isOriginal:Boolean},setup(e){const t=Qt();return()=>e.isOriginal?f("span",{class:"page-original-info"},t.value.origin):null}}),sh=V({name:"ReadingTimeInfo",inheritAttrs:!1,props:{readingTime:{type:Object,default:()=>null},readingTimeLocale:{type:Object,default:()=>null},pure:Boolean},setup(e){const t=Qt(),n=S(()=>{if(!e.readingTime)return null;const{minutes:r}=e.readingTime;return r<1?"PT1M":`PT${Math.round(r)}M`});return()=>{var r,o;return(r=e.readingTimeLocale)!=null&&r.time?f("span",{class:"page-reading-time-info","aria-label":`${t.value.readingTime}${e.pure?"":"⌛"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[f(qu),f("span",(o=e.readingTimeLocale)==null?void 0:o.time),f("meta",{property:"timeRequired",content:n.value})]):null}}}),lh=V({name:"TagInfo",inheritAttrs:!1,props:{tag:{type:Array,default:()=>[]},pure:Boolean},setup(e){const t=Qt(),n=dl();return()=>e.tag.length?f("span",{class:"page-tag-info","aria-label":`${t.value.tag}${e.pure?"":"🏷"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[f(Vu),e.tag.map(({name:r,path:o})=>f("span",{class:["page-tag-item",{[`tag${tu(r,9)}`]:!e.pure,clickable:o}],role:o?"navigation":"",onClick:()=>{o&&n(o)}},r)),f("meta",{property:"keywords",content:e.tag.map(({name:r})=>r).join(",")})]):null}}),ah=V({name:"ReadTimeInfo",inheritAttrs:!1,props:{readingTime:{type:Object,default:()=>null},readingTimeLocale:{type:Object,default:()=>null},pure:Boolean},setup(e){const t=Qt();return()=>{var n,r,o;return(n=e.readingTimeLocale)!=null&&n.words?f("span",{class:"page-word-info","aria-label":`${t.value.words}${e.pure?"":"🔠"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[f(Uu),f("span",(r=e.readingTimeLocale)==null?void 0:r.words),f("meta",{property:"wordCount",content:(o=e.readingTime)==null?void 0:o.words})]):null}}}),ih=V({name:"PageInfo",components:{AuthorInfo:th,CategoryInfo:nh,DateInfo:rh,OriginalInfo:oh,PageViewInfo:()=>null,ReadingTimeInfo:sh,TagInfo:lh,WordInfo:ah},props:{items:{type:[Array,Boolean],default:()=>["Author","Original","Date","PageView","ReadingTime","Category","Tag"]},info:{type:Object,required:!0}},setup(e){const t=Ir();return()=>e.items?f("div",{class:"page-info"},e.items.map(n=>f(ht(`${n}Info`),{...e.info,pure:t.value}))):null}}),ch=V({name:"PrintButton",setup(){const e=hn(),t=pe();return()=>e.value.print===!1?null:f("button",{type:"button",class:"print-button",title:t.value.metaLocales.print,onClick:()=>{window.print()}},f(zu))}}),uh=V({name:"TOC",props:{items:{type:Array,default:()=>[]},headerDepth:{type:Number,default:2}},slots:Object,setup(e,{slots:t}){const n=fn(),r=we(),o=Qt(),[s,l]=vr(),a=Ie(),i=Y("-1.7rem"),c=d=>{var p;(p=a.value)==null||p.scrollTo({top:d,behavior:"smooth"})},u=()=>{if(a.value){const d=document.querySelector(".vp-toc-item.active");d?i.value=`${d.getBoundingClientRect().top-a.value.getBoundingClientRect().top+a.value.scrollTop}px`:i.value="-1.7rem"}else i.value="-1.7rem"};return fe(()=>{oe(()=>n.hash,d=>{if(a.value){const p=document.querySelector(`#toc a.toc-link[href$="${d}"]`);if(!p)return;const{top:h,height:m}=a.value.getBoundingClientRect(),{top:_,height:b}=p.getBoundingClientRect();_<h?c(a.value.scrollTop+_-h):_+b>h+m&&c(a.value.scrollTop+_+b-h-m)}}),oe(()=>n.fullPath,u,{flush:"post",immediate:!0})}),()=>{var m,_;const d=({title:b,level:y,slug:E})=>f(We,{to:`#${E}`,class:["vp-toc-link",`level${y}`],onClick:()=>{l()}},()=>b),p=(b,y)=>b.length&&y>0?f("ul",{class:"vp-toc-list"},b.map(E=>{const w=p(E.children,y-1);return[f("li",{class:["vp-toc-item",{active:n.hash===`#${E.slug}`}]},d(E)),w?f("li",w):null]})):null,h=e.items.length?p(e.items,e.headerDepth):r.value.headers?p(r.value.headers,e.headerDepth):null;return h?f("div",{class:"vp-toc-placeholder"},[f("aside",{id:"toc"},[(m=t.before)==null?void 0:m.call(t),f("div",{class:"vp-toc-header",onClick:()=>{l()}},[o.value.toc,f(ch),f("div",{class:["arrow",s.value?"down":"end"]})]),f("div",{class:["vp-toc-wrapper",s.value?"open":""],ref:a},[h,f("div",{class:"vp-toc-marker",style:{top:i.value}})]),(_=t.after)==null?void 0:_.call(t)])]):null}}}),Wu=V({name:"SkipLink",props:{content:{type:String,default:"main-content"}},setup(e){const t=we(),n=pe(),r=Ie(),o=({target:s})=>{const l=document.querySelector(s.hash);if(l){const a=()=>{l.removeAttribute("tabindex"),l.removeEventListener("blur",a)};l.setAttribute("tabindex","-1"),l.addEventListener("blur",a),l.focus(),window.scrollTo(0,0)}};return fe(()=>{oe(()=>t.value.path,()=>r.value.focus())}),()=>[f("span",{ref:r,tabindex:"-1"}),f("a",{href:`#${e.content}`,class:"vp-skip-link sr-only",onClick:o},n.value.routeLocales.skipToContent)]}});let Xo=null,Gn=null;const fh={wait:()=>Xo,pending:()=>{Xo=new Promise(e=>{Gn=e})},resolve:()=>{Gn==null||Gn(),Xo=null,Gn=null}},Gu=()=>fh;var Ku=V({name:"FadeSlideY",slots:Object,setup(e,{slots:t}){const{resolve:n,pending:r}=Gu();return()=>f(Yt,{name:"fade-slide-y",mode:"out-in",onBeforeEnter:n,onBeforeLeave:r},()=>{var o;return(o=t.default)==null?void 0:o.call(t)})}});const dh=(e,t)=>{const n=e.replace(t,"/").split("/"),r=[];let o=Ys(t);return n.forEach((s,l)=>{l!==n.length-1?(o+=`${s}/`,r.push({link:o,name:s||"Home"})):s!==""&&(o+=s,r.push({link:o,name:s}))}),r},Yu=(e,{slots:t})=>{var d,p;const{bgImage:n,bgImageDark:r,bgImageStyle:o,color:s,description:l,image:a,imageDark:i,header:c,features:u=[]}=e;return f("div",{class:"vp-feature-wrapper"},[n?f("div",{class:["vp-feature-bg",{light:r}],style:[{"background-image":`url(${n})`},o]}):null,r?f("div",{class:"vp-feature-bg dark",style:[{"background-image":`url(${r})`},o]}):null,f("div",{class:"vp-feature",style:s?{color:s}:{}},[((d=t.image)==null?void 0:d.call(t,e))||[a?f("img",{class:["vp-feature-image",{light:i}],src:Fe(a),alt:""}):null,i?f("img",{class:"vp-feature-image dark",src:Fe(i),alt:""}):null],((p=t.info)==null?void 0:p.call(t,e))||[c?f("h2",{class:"vp-feature-header"},c):null,l?f("p",{class:"vp-feature-description",innerHTML:l}):null],u.length?f("div",{class:"vp-features"},u.map(({icon:h,title:m,details:_,link:b})=>{const y=[f("h3",{class:"vp-feature-title"},[f(ze,{icon:h}),f("span",{innerHTML:m})]),f("p",{class:"vp-feature-details",innerHTML:_})];return b?On(b)?f("a",{class:"vp-feature-item link",href:b,"aria-label":m,target:"_blank"},y):f(We,{class:"vp-feature-item link",to:b,"aria-label":m},()=>y):f("div",{class:"vp-feature-item"},y)})):null])])};Yu.displayName="FeaturePanel";var Da=Yu,ph=V({name:"HeroInfo",slots:Object,setup(e,{slots:t}){const n=Ce(),r=bo(),o=S(()=>n.value.heroFullScreen??!1),s=S(()=>{const{heroText:c,tagline:u}=n.value;return{text:c??r.value.title??"Hello",tagline:u??r.value.description??"",isFullScreen:o.value}}),l=S(()=>{const{heroText:c,heroImage:u,heroImageDark:d,heroAlt:p,heroImageStyle:h}=n.value;return{image:u?Fe(u):null,imageDark:d?Fe(d):null,style:h,alt:p||c||"",isFullScreen:o.value}}),a=S(()=>{const{bgImage:c,bgImageDark:u,bgImageStyle:d}=n.value;return{image:Se(c)?Fe(c):null,imageDark:Se(u)?Fe(u):null,bgStyle:d,isFullScreen:o.value}}),i=S(()=>n.value.actions??[]);return()=>{var c,u,d;return f("header",{class:["vp-hero-info-wrapper",{fullscreen:o.value}]},[((c=t.heroBg)==null?void 0:c.call(t,a.value))||[a.value.image?f("div",{class:["vp-hero-mask",{light:a.value.imageDark}],style:[{"background-image":`url(${a.value.image})`},a.value.bgStyle]}):null,a.value.imageDark?f("div",{class:"vp-hero-mask dark",style:[{"background-image":`url(${a.value.imageDark})`},a.value.bgStyle]}):null],f("div",{class:"vp-hero-info"},[((u=t.heroImage)==null?void 0:u.call(t,l.value))||f(_n,{appear:!0,type:"group"},()=>[l.value.image?f("img",{key:"light",class:["vp-hero-image",{light:l.value.imageDark}],style:l.value.style,src:l.value.image,alt:l.value.alt}):null,l.value.imageDark?f("img",{key:"dark",class:"vp-hero-image dark",style:l.value.style,src:l.value.imageDark,alt:l.value.alt}):null]),((d=t.heroInfo)==null?void 0:d.call(t,s.value))??f("div",{class:"vp-hero-infos"},[s.value.text?f(_n,{appear:!0,delay:.04},()=>f("h1",{id:"main-title"},s.value.text)):null,s.value.tagline?f(_n,{appear:!0,delay:.08},()=>f("p",{id:"main-description",innerHTML:s.value.tagline})):null,i.value.length?f(_n,{appear:!0,delay:.12},()=>f("p",{class:"vp-hero-actions"},i.value.map(p=>f(Ge,{class:["vp-hero-action",p.type||"default"],config:p,noExternalLinkIcon:!0},p.icon?{before:()=>f(ze,{icon:p.icon})}:{})))):null])])])}}});const Ju=(e,{slots:t})=>{var p,h,m;const{bgImage:n,bgImageDark:r,bgImageStyle:o,color:s,description:l,image:a,imageDark:i,header:c,highlights:u=[],type:d="un-order"}=e;return f("div",{class:"vp-highlight-wrapper",style:s?{color:s}:{}},[n?f("div",{class:["vp-highlight-bg",{light:r}],style:[{"background-image":`url(${n})`},o]}):null,r?f("div",{class:"vp-highlight-bg dark",style:[{"background-image":`url(${r})`},o]}):null,f("div",{class:"vp-highlight"},[((p=t.image)==null?void 0:p.call(t,e))||[a?f("img",{class:["vp-highlight-image",{light:i}],src:Fe(a),alt:""}):null,i?f("img",{class:"vp-highlight-image dark",src:Fe(i),alt:""}):null],((h=t.info)==null?void 0:h.call(t,e))||[f("div",{class:"vp-highlight-info-wrapper"},f("div",{class:"vp-highlight-info"},[c?f("h2",{class:"vp-highlight-header",innerHTML:c}):null,l?f("p",{class:"vp-highlight-description",innerHTML:l}):null,((m=t.highlights)==null?void 0:m.call(t,u))||f(d==="order"?"ol":d==="no-order"?"dl":"ul",{class:"vp-highlights"},u.map(({icon:_,title:b,details:y,link:E})=>{const w=[f(d==="no-order"?"dt":"h3",{class:"vp-highlight-title"},[_?f(ze,{class:"vp-highlight-icon",icon:_}):null,f("span",{innerHTML:b})]),y?f(d==="no-order"?"dd":"p",{class:"vp-highlight-details",innerHTML:y}):null];return f(d==="no-order"?"div":"li",{class:["vp-highlight-item-wrapper",{link:E}]},E?On(E)?f("a",{class:"vp-highlight-item link",href:E,"aria-label":b,target:"_blank"},w):f(We,{class:"vp-highlight-item link",to:E,"aria-label":b},()=>w):f("div",{class:"vp-highlight-item"},w))}))]))]])])};Ju.displayName="HighlightPanel";var hh=Ju,vh=V({name:"HomePage",slots:Object,setup(e,{slots:t}){const n=Ir(),r=Ce(),o=S(()=>{const{features:l}=r.value;return ys(l)?l:null}),s=S(()=>{const{highlights:l}=r.value;return ys(l)?l:null});return()=>{var l,a,i,c;return f("main",{id:"main-content",class:["vp-project-home ",{pure:n.value}],"aria-labelledby":r.value.heroText===null?"":"main-title"},[(l=t.top)==null?void 0:l.call(t),f(ph),((a=s.value)==null?void 0:a.map(u=>"features"in u?f(Da,u):f(hh,u)))||(o.value?f(_n,{appear:!0,delay:.24},()=>f(Da,{features:o.value})):null),(i=t.center)==null?void 0:i.call(t),f(_n,{appear:!0,delay:.32},()=>f(ju)),(c=t.bottom)==null?void 0:c.call(t)])}}}),mh=V({name:"BreadCrumb",setup(){const e=we(),t=Pt(),n=Ce(),r=pe(),o=Ie([]),s=S(()=>(n.value.breadcrumb||n.value.breadcrumb!==!1&&r.value.breadcrumb!==!1)&&o.value.length>1),l=S(()=>n.value.breadcrumbIcon||n.value.breadcrumbIcon!==!1&&r.value.breadcrumbIcon!==!1),a=()=>{const i=dh(e.value.path,t.value).map(({link:c,name:u})=>{const{path:d,meta:p,notFound:h}=wo(c);return h||p[Ct.breadcrumbExclude]?null:{title:p[Ct.shortTitle]||p[Ct.title]||u,icon:p[Ct.icon],path:d}}).filter(c=>c!==null);i.length>1&&(o.value=i)};return fe(()=>{oe(()=>e.value.path,a,{immediate:!0})}),()=>f("nav",{class:["vp-breadcrumb",{disable:!s.value}]},s.value?f("ol",{vocab:"https://schema.org/",typeof:"BreadcrumbList"},o.value.map((i,c)=>f("li",{class:{"is-active":o.value.length-1===c},property:"itemListElement",typeof:"ListItem"},[f(We,{to:i.path,property:"item",typeof:"WebPage"},()=>[l.value?f(ze,{icon:i.icon}):null,f("span",{property:"name"},i.title||"Unknown")]),f("meta",{property:"position",content:c+1})]))):[])}});const ja=e=>e===!1||Bn(e)?e:Se(e)?Ln(e,!0):null,ks=(e,t,n)=>{const r=e.findIndex(o=>o.link===t);if(r!==-1){const o=e[r+n];return o!=null&&o.link?o:null}for(const o of e)if("children"in o){const s=ks(o.children,t,n);if(s)return s}return null};var gh=V({name:"PageNav",setup(){const e=pe(),t=Ce(),n=pl(),r=we(),o=dl(),s=S(()=>{const a=ja(t.value.prev);return a===!1?null:a||(e.value.prevLink===!1?null:ks(n.value,r.value.path,-1))}),l=S(()=>{const a=ja(t.value.next);return a===!1?null:a||(e.value.nextLink===!1?null:ks(n.value,r.value.path,1))});return be("keydown",a=>{a.altKey&&(a.key==="ArrowRight"?l.value&&(o(l.value.link),a.preventDefault()):a.key==="ArrowLeft"&&s.value&&(o(s.value.link),a.preventDefault()))}),()=>s.value||l.value?f("nav",{class:"vp-page-nav"},[s.value?f(Ge,{class:"prev",config:s.value},()=>{var a,i;return[f("div",{class:"hint"},[f("span",{class:"arrow start"}),e.value.metaLocales.prev]),f("div",{class:"link"},[f(ze,{icon:(a=s.value)==null?void 0:a.icon}),(i=s.value)==null?void 0:i.text])]}):null,l.value?f(Ge,{class:"next",config:l.value},()=>{var a,i;return[f("div",{class:"hint"},[e.value.metaLocales.next,f("span",{class:"arrow end"})]),f("div",{class:"link"},[(a=l.value)==null?void 0:a.text,f(ze,{icon:(i=l.value)==null?void 0:i.icon})])]}):null]):null}});const yh={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"},bh=({docsRepo:e,docsBranch:t,docsDir:n,filePathRelative:r,editLinkPattern:o})=>{if(!r)return null;const s=ou(e);let l;return o?l=o:s!==null&&(l=yh[s]),l?l.replace(/:repo/u,un(e)?e:`https://github.com/${e}`).replace(/:branch/u,t).replace(/:path/u,sc(`${Ys(n)}/${r}`)):null},wh=()=>{const e=pe(),t=we(),n=Ce();return S(()=>{const{repo:r,docsRepo:o=r,docsBranch:s="main",docsDir:l="",editLink:a,editLinkPattern:i=""}=e.value;if(!(n.value.editLink??a??!0)||!o)return null;const c=bh({docsRepo:o,docsBranch:s,docsDir:l,editLinkPattern:i,filePathRelative:t.value.filePathRelative});return c?{text:e.value.metaLocales.editLink,link:c}:null})},_h=()=>{const e=bo(),t=pe(),n=we(),r=Ce();return S(()=>{var o,s;return!(r.value.lastUpdated??t.value.lastUpdated??!0)||!((o=n.value.git)!=null&&o.updatedTime)?null:new Date((s=n.value.git)==null?void 0:s.updatedTime).toLocaleString(e.value.lang)})},Ch=()=>{const e=pe(),t=we(),n=Ce();return S(()=>{var r;return n.value.contributors??e.value.contributors??!0?((r=t.value.git)==null?void 0:r.contributors)??null:null})};var Eh=V({name:"PageTitle",setup(){const e=we(),t=Ce(),n=pe(),{info:r,items:o}=A4();return()=>f("div",{class:"vp-page-title"},[f("h1",[n.value.titleIcon===!1?null:f(ze,{icon:t.value.icon}),e.value.title]),f(ih,{info:r.value,...o.value===null?{}:{items:o.value}}),f("hr")])}});const Qu=()=>f(xe,{name:"edit"},()=>[f("path",{d:"M430.818 653.65a60.46 60.46 0 0 1-50.96-93.281l71.69-114.012 7.773-10.365L816.038 80.138A60.46 60.46 0 0 1 859.225 62a60.46 60.46 0 0 1 43.186 18.138l43.186 43.186a60.46 60.46 0 0 1 0 86.373L588.879 565.55l-8.637 8.637-117.466 68.234a60.46 60.46 0 0 1-31.958 11.229z"}),f("path",{d:"M728.802 962H252.891A190.883 190.883 0 0 1 62.008 771.98V296.934a190.883 190.883 0 0 1 190.883-192.61h267.754a60.46 60.46 0 0 1 0 120.92H252.891a69.962 69.962 0 0 0-69.098 69.099V771.98a69.962 69.962 0 0 0 69.098 69.098h475.911A69.962 69.962 0 0 0 797.9 771.98V503.363a60.46 60.46 0 1 1 120.922 0V771.98A190.883 190.883 0 0 1 728.802 962z"})]);Qu.displayName="EditIcon";var kh=V({name:"PageMeta",setup(){const e=pe(),t=wh(),n=_h(),r=Ch();return()=>{const{metaLocales:o}=e.value;return f("footer",{class:"page-meta"},[t.value?f("div",{class:"meta-item edit-link"},f(Ge,{class:"label",config:t.value},{before:()=>f(Qu)})):null,f("div",{class:"meta-item git-info"},[n.value?f("div",{class:"update-time"},[f("span",{class:"label"},`${o.lastUpdated}: `),f(_o,()=>f("span",{class:"info"},n.value))]):null,r.value&&r.value.length?f("div",{class:"contributors"},[f("span",{class:"label"},`${o.contributors}: `),r.value.map(({email:s,name:l},a)=>[f("span",{class:"contributor",title:`email: ${s}`},l),a!==r.value.length-1?",":""])]):null])])}}}),Sh=V({name:"NormalPage",slots:Object,setup(e,{slots:t}){const n=Ce(),{isDarkmode:r}=Pr(),o=pe(),s=S(()=>n.value.toc||n.value.toc!==!1&&o.value.toc!==!1);return()=>f("main",{id:"main-content",class:"vp-page"},f(it("LocalEncrypt")?ht("LocalEncrypt"):Yc,()=>{var l,a,i,c;return[(l=t.top)==null?void 0:l.call(t),n.value.cover?f("div",{class:"page-cover"},f("img",{src:Fe(n.value.cover),alt:"","no-view":""})):null,f(mh),f(Eh),s.value?f(uh,{headerDepth:n.value.headerDepth??o.value.headerDepth??2},{before:()=>{var u;return(u=t.tocBefore)==null?void 0:u.call(t)},after:()=>{var u;return(u=t.tocAfter)==null?void 0:u.call(t)}}):null,(a=t.contentBefore)==null?void 0:a.call(t),f(ju),(i=t.contentAfter)==null?void 0:i.call(t),f(kh),f(gh),it("CommentService")?f(ht("CommentService"),{darkmode:r.value}):null,(c=t.bottom)==null?void 0:c.call(t)]}))}}),xh=V({name:"Layout",slots:Object,setup(e,{slots:t}){pe();const n=we(),r=Ce(),{isMobile:o}=Eo(),s=S(()=>"none");return()=>[f(Wu),f(Du,{},{default:()=>{var l;return((l=t.default)==null?void 0:l.call(t))||(r.value.home?f(vh):f(Ku,()=>f(Sh,{key:n.value.path},{top:()=>{var a;return(a=t.top)==null?void 0:a.call(t)},bottom:()=>{var a;return(a=t.bottom)==null?void 0:a.call(t)},contentBefore:()=>{var a;return(a=t.contentBefore)==null?void 0:a.call(t)},contentAfter:()=>{var a;return(a=t.contentAfter)==null?void 0:a.call(t)},tocBefore:()=>{var a;return(a=t.tocBefore)==null?void 0:a.call(t)},tocAfter:()=>{var a;return(a=t.tocAfter)==null?void 0:a.call(t)}})))},...s.value==="none"?{}:{navScreenBottom:()=>f(ht("BloggerInfo"))},...!o.value&&s.value==="always"?{sidebar:()=>f(ht("BloggerInfo"))}:{}})]}}),Th=V({name:"NotFoundHint",setup(){const e=pe(),t=()=>{const n=e.value.routeLocales.notFoundMsg;return n[Math.floor(Math.random()*n.length)]};return()=>f("div",{class:"not-found-hint"},[f("p",{class:"error-code"},"404"),f("h1",{class:"error-title"},e.value.routeLocales.notFoundTitle),f("p",{class:"error-hint"},t())])}}),Ah=V({name:"NotFound",slots:Object,setup(e,{slots:t}){const n=Fn(),r=Pt(),o=pe();return()=>[f(Wu),f(Du,{noSidebar:!0},()=>{var s;return f("main",{id:"main-content",class:"vp-page not-found"},((s=t.default)==null?void 0:s.call(t))||[f(Th),f("div",{class:"actions"},[f("button",{type:"button",class:"action-button",onClick:()=>{window.history.go(-1)}},o.value.routeLocales.back),f("button",{type:"button",class:"action-button",onClick:()=>{n.push(o.value.home??r.value)}},o.value.routeLocales.home)])])})]}});const Xu=()=>f(xe,{name:"lock"},()=>f("path",{d:"M787.168 952.268H236.832c-30.395 0-55.033-24.638-55.033-55.033V429.45c0-30.395 24.638-55.034 55.033-55.034h82.55V264.35c0-106.38 86.238-192.618 192.618-192.618S704.618 157.97 704.618 264.35v110.066h82.55c30.395 0 55.033 24.639 55.033 55.034v467.785c0 30.395-24.639 55.033-55.033 55.033zM484.483 672.046v115.122h55.034V672.046c31.99-11.373 55.033-41.605 55.033-77.496 0-45.592-36.958-82.55-82.55-82.55s-82.55 36.958-82.55 82.55c0 35.89 23.042 66.123 55.033 77.496zM622.067 264.35c0-60.788-49.28-110.067-110.067-110.067s-110.067 49.28-110.067 110.067v110.066h220.135V264.35z"}));Xu.displayName="LockIcon";var Lh={};const mn="./ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),Zo=Array.from({length:64},(e,t)=>t),Gr=e=>Array(e).fill(-1),Dt=[...Gr(46),0,1,...Zo.slice(54,64),...Gr(7),...Zo.slice(2,28),...Gr(6),...Zo.slice(28,54),...Gr(5)],Ha=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],Ba=[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],Zu=[1332899944,1700884034,1701343084,1684370003,1668446532,1869963892],Ss=(e,t)=>{if(t<=0||t>e.length)throw Error(`Illegal len: ${t}`);let n=0,r,o;const s=[];for(;n<t;){if(r=e[n++]&255,s.push(mn[r>>2&63]),r=(r&3)<<4,n>=t){s.push(mn[r&63]);break}if(o=e[n++]&255,r|=o>>4&15,s.push(mn[r&63]),r=(o&15)<<2,n>=t){s.push(mn[r&63]);break}o=e[n++]&255,r|=o>>6&3,s.push(mn[r&63]),s.push(mn[o&63])}return s.join("")},$h=(e,t)=>{if(t<=0)throw Error(`Illegal len: ${t}`);const n=e.length;let r=0,o=0,s,l,a,i,c,u;const d=[];for(;r<n-1&&o<t&&(u=e.charCodeAt(r++),s=u<Dt.length?Dt[u]:-1,u=e.charCodeAt(r++),l=u<Dt.length?Dt[u]:-1,!(s==-1||l==-1||(c=s<<2>>>0,c|=(l&48)>>4,d.push(String.fromCharCode(c)),++o>=t||r>=n)||(u=e.charCodeAt(r++),a=u<Dt.length?Dt[u]:-1,a==-1)||(c=(l&15)<<4>>>0,c|=(a&60)>>2,d.push(String.fromCharCode(c)),++o>=t||r>=n)));)u=e.charCodeAt(r++),i=u<Dt.length?Dt[u]:-1,c=(a&3)<<6>>>0,c|=i,d.push(String.fromCharCode(c)),++o;return d.map(p=>p.charCodeAt(0))},Ih=(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},Ph=(e,t)=>{let n,r=null;for(;(n=r!==null?r:e())!==null;){if(n>=55296&&n<=57343&&(r=e())!==null&&r>=56320&&r<=57343){t((n-55296)*1024+r-56320+65536),r=null;continue}t(n)}r!==null&&t(r)},Oh=(e,t)=>{Ph(e,function(n){Ih(n,t)})},Rh=typeof process=="object"&&Lh.NEXT_RUNTIME==="edge"?setTimeout:typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:setTimeout,Mh=e=>{const t=[];let n=0;return Oh(()=>n>=e.length?null:e.charCodeAt(n++),r=>{t.push(r)}),t},yr=(e,t,n,r)=>{let o,s=e[t],l=e[t+1];return s^=n[0],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],l^=o^n[1],o=r[l>>>24],o+=r[256|l>>16&255],o^=r[512|l>>8&255],o+=r[768|l&255],s^=o^n[2],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],l^=o^n[3],o=r[l>>>24],o+=r[256|l>>16&255],o^=r[512|l>>8&255],o+=r[768|l&255],s^=o^n[4],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],l^=o^n[5],o=r[l>>>24],o+=r[256|l>>16&255],o^=r[512|l>>8&255],o+=r[768|l&255],s^=o^n[6],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],l^=o^n[7],o=r[l>>>24],o+=r[256|l>>16&255],o^=r[512|l>>8&255],o+=r[768|l&255],s^=o^n[8],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],l^=o^n[9],o=r[l>>>24],o+=r[256|l>>16&255],o^=r[512|l>>8&255],o+=r[768|l&255],s^=o^n[10],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],l^=o^n[11],o=r[l>>>24],o+=r[256|l>>16&255],o^=r[512|l>>8&255],o+=r[768|l&255],s^=o^n[12],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],l^=o^n[13],o=r[l>>>24],o+=r[256|l>>16&255],o^=r[512|l>>8&255],o+=r[768|l&255],s^=o^n[14],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],l^=o^n[15],o=r[l>>>24],o+=r[256|l>>16&255],o^=r[512|l>>8&255],o+=r[768|l&255],s^=o^n[16],e[t]=l^n[17],e[t+1]=s,e},yn=(e,t)=>{let n=0;for(let r=0;r<4;++r)n=n<<8|e[t]&255,t=(t+1)%e.length;return{key:n,offp:t}},Fa=(e,t,n)=>{const r=t.length,o=n.length;let s=0,l=[0,0],a;for(let i=0;i<r;i++)a=yn(e,s),s=a.offp,t[i]=t[i]^a.key;for(let i=0;i<r;i+=2)l=yr(l,0,t,n),t[i]=l[0],t[i+1]=l[1];for(let i=0;i<o;i+=2)l=yr(l,0,t,n),n[i]=l[0],n[i+1]=l[1]},Nh=(e,t,n,r)=>{const o=n.length,s=r.length;let l=0,a=[0,0],i;for(let c=0;c<o;c++)i=yn(t,l),l=i.offp,n[c]=n[c]^i.key;l=0;for(let c=0;c<o;c+=2)i=yn(e,l),l=i.offp,a[0]^=i.key,i=yn(e,l),l=i.offp,a[1]^=i.key,a=yr(a,0,n,r),n[c]=a[0],n[c+1]=a[1];for(let c=0;c<s;c+=2)i=yn(e,l),l=i.offp,a[0]^=i.key,i=yn(e,l),l=i.offp,a[1]^=i.key,a=yr(a,0,n,r),r[c]=a[0],r[c+1]=a[1]},za=(e,t,n,r,o)=>{const s=Zu.slice(),l=s.length;if(n<4||n>31){const p=new Error(`Illegal number of rounds (4-31): ${n}`);if(r===!1)return Promise.reject(p);throw p}if(t.length!==16){const p=new Error(`Illegal salt length: ${t.length} != 16`);if(r===!1)return Promise.reject(p);throw p}n=1<<n>>>0;let a,i,c=0,u;Int32Array?(a=new Int32Array(Ha),i=new Int32Array(Ba)):(a=Ha.slice(),i=Ba.slice()),Nh(t,e,a,i);const d=()=>{if(o&&o(c/n),c<n){const p=Date.now();for(;c<n&&(c=c+1,Fa(e,a,i),Fa(t,a,i),!(Date.now()-p>100)););}else{for(c=0;c<64;c++)for(u=0;u<l>>1;u++)yr(s,u<<1,a,i);const p=[];for(c=0;c<l;c++)p.push((s[c]>>24&255)>>>0),p.push((s[c]>>16&255)>>>0),p.push((s[c]>>8&255)>>>0),p.push((s[c]&255)>>>0);return r===!1?Promise.resolve(p):p}if(r===!1)return new Promise(p=>Rh(()=>{d().then(p)}))};if(r===!1)return d();{let p;for(;;)if(typeof(p=d())<"u")return p||[]}},Dh=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")}},jh=(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(Ss(Dh(16),16)),t.join("")};function Hh(e,t,n,r){if(typeof e!="string"||typeof t!="string"){const h=new Error("Invalid string / salt: Not a string");if(n===!1)return Promise.reject(h);throw h}let o,s;if(t.charAt(0)!=="$"||t.charAt(1)!=="2"){const h=new Error("Invalid salt version: "+t.substring(0,2));if(n===!1)return Promise.reject(h);throw h}if(t.charAt(2)==="$")o="\0",s=3;else{if(o=t.charAt(2),o!=="a"&&o!=="b"&&o!=="y"||t.charAt(3)!=="$"){const h=Error("Invalid salt revision: "+t.substring(2,4));if(n===!1)return Promise.reject(h);throw h}s=4}if(t.charAt(s+2)>"$"){const h=new Error("Missing salt rounds");if(n===!1)return Promise.reject(h);throw h}const l=parseInt(t.substring(s,s+1),10)*10,a=parseInt(t.substring(s+1,s+2),10),i=l+a,c=t.substring(s+3,s+25);e+=o>="a"?"\0":"";const u=Mh(e),d=$h(c,16),p=h=>{const m=[];return m.push("$2"),o>="a"&&m.push(o),m.push("$"),i<10&&m.push("0"),m.push(i.toString()),m.push("$"),m.push(Ss(d,d.length)),m.push(Ss(h,Zu.length*4-1)),m.join("")};return n===!1?za(u,d,i,!1,r).then(h=>p(h)):p(za(u,d,i,!0,r))}const Bh=(e,t=10)=>{if(typeof t=="number"&&(t=jh(t)),typeof e!="string"||typeof t!="string")throw Error("Illegal arguments: "+typeof e+", "+typeof t);return Hh(e,t,!0)},xs=(e,t)=>{if(typeof e!="string"||typeof t!="string")throw Error("Illegal arguments: "+typeof e+", "+typeof t);return t.length!==60?!1:Bh(e,t.substring(0,t.length-31))===t};var ef=V({name:"PasswordModal",props:{full:Boolean},emits:["verify"],setup(e,{emit:t}){const n=Ce(),r=pe(),o=Y(""),s=Y(!1),l=Y(!1),a=S(()=>r.value.encryptLocales);let i=null;const c=()=>{i&&clearTimeout(i),s.value=!1,t("verify",o.value,l.value),$t().then(()=>{s.value=!0,i=setTimeout(()=>{s.value=!1},1e3)})};return()=>f("div",{class:["vp-decrypt-layer",{expand:e.full||n.value.home}]},f("div",{class:"vp-decrypt-modal"},[f("div",{class:["vp-decrypt-hint",{tried:s.value}]},s.value?a.value.errorHint:f(Xu,{"aria-label":a.value.iconLabel})),f("div",{class:"vp-decrypt-input"},[f("input",{type:"password",value:o.value,placeholder:a.value.placeholder,onInput:({target:u})=>{o.value=u.value},onKeydown:({key:u})=>{u==="Enter"&&c()}})]),f("div",{class:"vp-remember-password"},[f("input",{type:"checkbox",value:l.value,onChange:()=>l.value=!l.value}),a.value.remember]),f("button",{type:"button",class:"vp-decrypt-submit",onClick:()=>c()},"OK")]))}});const tf=()=>{const e=hn();return S(()=>e.value.encrypt||{})},Va="VUEPRESS_HOPE_GLOBAL_TOKEN",Fh=()=>{const e=tf(),t=pn(Va,""),n=Mc(Va,""),r=S(()=>{const{global:s=!1,admin:l=[]}=e.value;return s&&l.length>0}),o=S(()=>{if(r.value){if(t.value)return e.value.admin.some(s=>xs(t.value,s));if(n.value)return e.value.admin.some(s=>xs(n.value,s))}return!1});return{isEncrypted:r,isDecrypted:o,validate:(s,l=!1)=>{(l?t:n).value=s}}},es=(e="",t)=>!!e&&xs(e,t),qa="VUEPRESS_HOPE_PATH_TOKEN",zh=()=>{const e=we(),t=tf(),n=pn(qa,{}),r=Mc(qa,{}),o=l=>Bn(t.value.config)?dn(t.value.config).filter(a=>Nn(decodeURI(l),a)).sort((a,i)=>i.length-a.length):[],s=l=>{const a=o(l);if(a.length>0){const{config:i={}}=t.value;return{isEncrypted:!0,isDecrypted:a.some(c=>n.value[c]&&i[c].some(u=>es(n.value[c],u))||r.value[c]&&i[c].some(u=>es(r.value[c],u)))}}return{isDecrypted:!1,isEncrypted:!1}};return{status:S(()=>s(e.value.path)),getStatus:s,validate:(l,a=!1)=>{const{config:i={}}=t.value,c=o(e.value.path);for(const u of c)if(i[u].filter(d=>es(l,d))){(a?n:r).value[u]=l;break}}}};var Vh=V({name:"GlobalEncrypt",slots:Object,setup(e,{slots:t}){const{isDecrypted:n,isEncrypted:r,validate:o}=Fh(),s=Y(!1);return fe(()=>{s.value=!0}),()=>f(Ku,()=>r.value?s.value?n.value?t.default():f(ef,{full:!0,onVerify:o}):null:t.default())}}),qh=V({name:"LocalEncrypt",slots:Object,setup(e,{slots:t}){const{status:n,validate:r}=zh(),o=Y(!1);return fe(()=>{o.value=!0}),()=>{const{isEncrypted:s,isDecrypted:l}=n.value;return s?o.value?l?t.default():f(ef,{full:!0,onVerify:r}):null:t.default()}}});ip(e=>{const t=e.t,n=e.I!==!1,r=e.i;return n?{title:t,content:r?()=>[f(ze,{icon:r}),t]:null,order:e.O,index:e.I}:null});const Uh=Ye({enhance:({app:e,router:t})=>{const{scrollBehavior:n}=t.options;t.options.scrollBehavior=async(...r)=>(await Gu().wait(),n(...r)),I4(e),e.component("HopeIcon",ze),e.component("GlobalEncrypt",Vh),e.component("LocalEncrypt",qh)},setup:()=>{P4(),D4()},layouts:{Layout:xh,NotFound:Ah}}),Wh=e=>(wi("data-v-8e03f503"),e=e(),_i(),e),Gh={class:"item-card"},Kh={class:"item-name"},Yh={class:"item-description"},Jh={class:"item-bar"},Qh=["href"],Xh=Wh(()=>qe("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},[qe("path",{fill:"currentColor",d:"m7.775 3.275l1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0a.751.751 0 0 1 .018-1.042a.751.751 0 0 1 1.042-.018a1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018a.751.751 0 0 1-.018-1.042m-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018a.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0a.751.751 0 0 1-.018 1.042a.751.751 0 0 1-1.042.018a1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83"})],-1)),Zh=[Xh],e6=["href"],t6=["src"],n6={class:"author-name"},r6=V({__name:"ItemCard",props:{item:Object},setup(e){const t=e;return(n,r)=>(nr(),cs("div",Gh,[qe("div",Kh,xo(t.item.name),1),qe("div",Yh,xo(t.item.description),1),qe("div",Jh,[Gi(' 三个可点击svg,一个github,一个下载,一个可点击"https://github.com/{{ username }}.png?size=80"个人头像配上id'),qe("a",{href:t.item.link,class:""},Zh,8,Qh),qe("div",null,[qe("a",{class:"author-info",href:`https://github.com/${t.item.author}`},[qe("img",{class:"icon avatar",src:`https://github.com/${t.item.author}.png?size=80`,alt:""},null,8,t6),qe("div",n6,xo(t.item.author),1)],8,e6)])])]))}}),nf=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},o6=nf(r6,[["__scopeId","data-v-8e03f503"],["__file","ItemCard.vue"]]),s6=e=>(wi("data-v-a64baff5"),e=e(),_i(),e),l6=s6(()=>qe("h1",null,"主题/资源商店",-1)),a6={class:"market"},i6=V({__name:"store",setup(e){let t=Y([]);return fetch("/assets/resources.json").then(n=>n.json()).then(n=>{t.value=n}).catch(n=>console.error(n)),(n,r)=>(nr(),cs("div",null,[l6,qe("div",a6,[Gi(" 布局商品"),(nr(!0),cs(Ue,null,_1(Ut(t),o=>(nr(),qi(o6,{key:o.id,item:o},null,8,["item"]))),128))])]))}}),c6=nf(i6,[["__scopeId","data-v-a64baff5"],["__file","store.vue"]]),u6=Ye({enhance:({app:e,router:t,siteData:n})=>{e.component("storeComp",c6)}}),Kr=[l2,tp,ap,pp,mp,wp,kp,Lp,Dp,Kp,k3,j3,g4,Uh,u6],f6=JSON.parse('{"base":"/","lang":"zh-CN","title":"LiteyukiBot 轻雪机器人","description":"LiteyukiBot | 轻雪机器人 | An OneBot Standard ChatBot | 一个OneBot标准的聊天机器人","head":[["link",{"rel":"icon","href":"https://cdn.liteyuki.icu/favicon.ico"}],["link",{"rel":"stylesheet","href":"https://cdn.bootcdn.net/ajax/libs/firacode/6.2.0/fira_code.min.css"}],["meta",{"name":"viewport","content":"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"}]],"locales":{}}');var Yn=Ie(f6),d6=S0,p6=()=>{const e=J0({history:d6(Ys("/")),routes:[{name:"vuepress-route",path:"/:catchAll(.*)",components:{}}],scrollBehavior:(t,n,r)=>r||(t.hash?{el:t.hash}:{top:0})});return e.beforeResolve(async(t,n)=>{if(t.path!==n.path||n===At){const r=wo(t.path);if(r.path!==t.path)return r.path;const o=await r.loader();t.meta={...r.meta,_pageChunk:o}}else t.path===n.path&&(t.meta=n.meta)}),e},h6=e=>{e.component("ClientOnly",_o),e.component("Content",yc),e.component("RouteLink",We)},v6=(e,t,n)=>{const r=S(()=>t.currentRoute.value.path),o=Fs((b,y)=>({get(){return b(),t.currentRoute.value.meta._pageChunk},set(E){t.currentRoute.value.meta._pageChunk=E,y()}})),s=S(()=>en.resolveLayouts(n)),l=S(()=>en.resolveRouteLocale(Yn.value.locales,r.value)),a=S(()=>en.resolveSiteLocaleData(Yn.value,l.value)),i=S(()=>o.value.comp),c=S(()=>o.value.data),u=S(()=>c.value.frontmatter),d=S(()=>en.resolvePageHeadTitle(c.value,a.value)),p=S(()=>en.resolvePageHead(d.value,u.value,a.value)),h=S(()=>en.resolvePageLang(c.value,a.value)),m=S(()=>en.resolvePageLayout(c.value,s.value)),_={layouts:s,pageData:c,pageComponent:i,pageFrontmatter:u,pageHead:p,pageHeadTitle:d,pageLang:h,pageLayout:m,redirects:vs,routeLocale:l,routePath:r,routes:hr,siteData:Yn,siteLocaleData:a};return e.provide(Xs,_),Object.defineProperties(e.config.globalProperties,{$frontmatter:{get:()=>u.value},$head:{get:()=>p.value},$headTitle:{get:()=>d.value},$lang:{get:()=>h.value},$page:{get:()=>c.value},$routeLocale:{get:()=>l.value},$site:{get:()=>Yn.value},$siteLocale:{get:()=>a.value},$withBase:{get:()=>Fe}}),_},m6=()=>{const e=Z0(),t=Zs();let n=[];const r=()=>{e.value.forEach(l=>{const a=g6(l);a&&n.push(a)})},o=()=>{const l=[];return e.value.forEach(a=>{const i=y6(a);i&&l.push(i)}),l},s=()=>{document.documentElement.lang=t.value;const l=o();n.forEach((a,i)=>{const c=l.findIndex(u=>a.isEqualNode(u));c===-1?(a.remove(),delete n[i]):l.splice(c,1)}),l.forEach(a=>document.head.appendChild(a)),n=[...n.filter(a=>!!a),...l]};ln(n2,s),fe(()=>{r(),oe(e,s,{immediate:!1})})},g6=([e,t,n=""])=>{const r=Object.entries(t).map(([a,i])=>Se(i)?`[${a}=${JSON.stringify(i)}]`:i===!0?`[${a}]`:"").join(""),o=`head > ${e}${r}`;return Array.from(document.querySelectorAll(o)).find(a=>a.innerText===n)||null},y6=([e,t,n])=>{if(!Se(e))return null;const r=document.createElement(e);return Bn(t)&&Object.entries(t).forEach(([o,s])=>{Se(s)?r.setAttribute(o,s):s===!0&&r.setAttribute(o,"")}),Se(n)&&r.appendChild(document.createTextNode(n)),r},b6=Rd,w6=async()=>{var n;const e=b6({name:"Vuepress",setup(){var s;m6();for(const l of Kr)(s=l.setup)==null||s.call(l);const r=Kr.flatMap(({rootComponents:l=[]})=>l.map(a=>f(a))),o=e2();return()=>[f(o.value),r]}}),t=p6();h6(e),v6(e,t,Kr);for(const r of Kr)await((n=r.enhance)==null?void 0:n.call(r,{app:e,router:t,siteData:Yn}));return e.use(t),{app:e,router:t}};w6().then(({app:e,router:t})=>{t.isReady().then(()=>{e.mount("#app")})});export{fe as A,n4 as B,mu as C,Jt as D,E6 as E,Bn as F,J3 as G,X3 as H,$c as I,lo as J,Se as K,cl as P,We as R,nf as _,Ee as a,_6 as b,cs as c,w6 as createVueApp,qe as d,Wi as e,V as f,Fn as g,Pt as h,al as i,_r as j,Y as k,S as l,be as m,oe as n,nr as o,f as p,pu as q,ht as r,Q3 as s,uo as t,C6 as u,K3 as v,Zf as w,Y3 as x,we as y,Ie as z};
|