forked from bot/app
35 lines
232 KiB
JavaScript
35 lines
232 KiB
JavaScript
function __vite__mapDeps(indexes) {
|
|
if (!__vite__mapDeps.viteFileDeps) {
|
|
__vite__mapDeps.viteFileDeps = ["assets/index.html-R-ktAyT3.js","assets/plugin-vue_export-helper-DlAUqK2U.js","assets/index.html-C1tosKoH.js","assets/disable.html-D2J4dCwK.js","assets/encrypt.html-Cx7WfUa6.js","assets/layout.html-BUR_rOiN.js","assets/markdown.html-CGsijoGI.js","assets/page.html-CGDkqd5g.js","assets/index.html-CrRhzlDh.js","assets/index.html-BglpHp0w.js","assets/baz.html-BXj5phoV.js","assets/index.html-Cl_xdcm3.js","assets/ray.html-CmAvfC9o.js","assets/404.html-DoCRCVfV.js"]
|
|
}
|
|
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 bs(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}const ge={},gn=[],tt=()=>{},Ou=()=>!1,vr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ys=e=>e.startsWith("onUpdate:"),Ae=Object.assign,ws=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Ru=Object.prototype.hasOwnProperty,ae=(e,t)=>Ru.call(e,t),X=Array.isArray,bn=e=>ro(e)==="[object Map]",Ia=e=>ro(e)==="[object Set]",ne=e=>typeof e=="function",Ce=e=>typeof e=="string",On=e=>typeof e=="symbol",pe=e=>e!==null&&typeof e=="object",$a=e=>(pe(e)||ne(e))&&ne(e.then)&&ne(e.catch),Pa=Object.prototype.toString,ro=e=>Pa.call(e),Mu=e=>ro(e).slice(8,-1),Oa=e=>ro(e)==="[object Object]",_s=e=>Ce(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,yn=bs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),oo=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Nu=/-(\w)/g,lt=oo(e=>e.replace(Nu,(t,n)=>n?n.toUpperCase():"")),Du=/\B([A-Z])/g,Rn=oo(e=>e.replace(Du,"-$1").toLowerCase()),mr=oo(e=>e.charAt(0).toUpperCase()+e.slice(1)),wo=oo(e=>e?`on${mr(e)}`:""),zt=(e,t)=>!Object.is(e,t),_o=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Kr=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ju=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Bu=e=>{const t=Ce(e)?Number(e):NaN;return isNaN(t)?e:t};let nl;const Ra=()=>nl||(nl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function so(e){if(X(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=Ce(r)?Vu(r):so(r);if(o)for(const s in o)t[s]=o[s]}return t}else if(Ce(e)||pe(e))return e}const Fu=/;(?![^(]*\))/g,Hu=/:([^]+)/,zu=/\/\*[^]*?\*\//g;function Vu(e){const t={};return e.replace(zu,"").split(Fu).forEach(n=>{if(n){const r=n.split(Hu);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function lo(e){let t="";if(Ce(e))t=e;else if(X(e))for(let n=0;n<e.length;n++){const r=lo(e[n]);r&&(t+=r+" ")}else if(pe(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function t4(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Ce(t)&&(e.class=lo(t)),n&&(e.style=so(n)),e}const qu="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Uu=bs(qu);function Ma(e){return!!e||e===""}const n4=e=>Ce(e)?e:e==null?"":X(e)||pe(e)&&(e.toString===Pa||!ne(e.toString))?JSON.stringify(e,Na,2):String(e),Na=(e,t)=>t&&t.__v_isRef?Na(e,t.value):bn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[Eo(r,s)+" =>"]=o,n),{})}:Ia(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Eo(n))}:On(t)?Eo(t):pe(t)&&!X(t)&&!Oa(t)?String(t):t,Eo=(e,t="")=>{var n;return On(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 Ye;class Wu{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ye,!t&&Ye&&(this.index=(Ye.scopes||(Ye.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Ye;try{return Ye=this,t()}finally{Ye=n}}}on(){Ye=this}off(){Ye=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 Gu(e,t=Ye){t&&t.active&&t.effects.push(e)}function Da(){return Ye}function Ku(e){Ye&&Ye.cleanups.push(e)}let Zt;class Es{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,Gu(this,o)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,rn();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(Yu(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),on()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Ft,n=Zt;try{return Ft=!0,Zt=this,this._runnings++,rl(this),this.fn()}finally{ol(this),this._runnings--,Zt=n,Ft=t}}stop(){var t;this.active&&(rl(this),ol(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function Yu(e){return e.value}function rl(e){e._trackId++,e._depsLength=0}function ol(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)ja(e.deps[t],e);e.deps.length=e._depsLength}}function ja(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let Ft=!0,Ko=0;const Ba=[];function rn(){Ba.push(Ft),Ft=!1}function on(){const e=Ba.pop();Ft=e===void 0?!0:e}function Cs(){Ko++}function Ss(){for(Ko--;!Ko&&Yo.length;)Yo.shift()()}function Fa(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&ja(r,e),e.deps[e._depsLength++]=t):e._depsLength++}}const Yo=[];function Ha(e,t,n){Cs();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&&Yo.push(r.scheduler)))}Ss()}const za=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},Yr=new WeakMap,en=Symbol(""),Jo=Symbol("");function We(e,t,n){if(Ft&&Zt){let r=Yr.get(e);r||Yr.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=za(()=>r.delete(n))),Fa(Zt,o)}}function kt(e,t,n,r,o,s){const l=Yr.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"||!On(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(en)),bn(e)&&a.push(l.get(Jo)));break;case"delete":X(e)||(a.push(l.get(en)),bn(e)&&a.push(l.get(Jo)));break;case"set":bn(e)&&a.push(l.get(en));break}Cs();for(const i of a)i&&Ha(i,4);Ss()}function Ju(e,t){var n;return(n=Yr.get(e))==null?void 0:n.get(t)}const Qu=bs("__proto__,__v_isRef,__isVue"),Va=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(On)),sl=Xu();function Xu(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=oe(this);for(let s=0,l=this.length;s<l;s++)We(r,"get",s+"");const o=r[t](...n);return o===-1||o===!1?r[t](...n.map(oe)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){rn(),Cs();const r=oe(this)[t].apply(this,n);return Ss(),on(),r}}),e}function Zu(e){const t=oe(this);return We(t,"has",e),t.hasOwnProperty(e)}class qa{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?pf:Ka:s?Ga:Wa).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const l=X(t);if(!o){if(l&&ae(sl,n))return Reflect.get(sl,n,r);if(n==="hasOwnProperty")return Zu}const a=Reflect.get(t,n,r);return(On(n)?Va.has(n):Qu(n))||(o||We(t,"get",n),s)?a:Re(a)?l&&_s(n)?a:a.value:pe(a)?o?br(a):gr(a):a}}class Ua extends qa{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];if(!this._isShallow){const i=kn(s);if(!Jr(r)&&!kn(r)&&(s=oe(s),r=oe(r)),!X(t)&&Re(s)&&!Re(r))return i?!1:(s.value=r,!0)}const l=X(t)&&_s(n)?Number(n)<t.length:ae(t,n),a=Reflect.set(t,n,r,o);return t===oe(o)&&(l?zt(r,s)&&kt(t,"set",n,r):kt(t,"add",n,r)),a}deleteProperty(t,n){const r=ae(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&kt(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!On(n)||!Va.has(n))&&We(t,"has",n),r}ownKeys(t){return We(t,"iterate",X(t)?"length":en),Reflect.ownKeys(t)}}class ef extends qa{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const tf=new Ua,nf=new ef,rf=new Ua(!0),xs=e=>e,ao=e=>Reflect.getPrototypeOf(e);function Ir(e,t,n=!1,r=!1){e=e.__v_raw;const o=oe(e),s=oe(t);n||(zt(t,s)&&We(o,"get",t),We(o,"get",s));const{has:l}=ao(o),a=r?xs:n?As:nr;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 $r(e,t=!1){const n=this.__v_raw,r=oe(n),o=oe(e);return t||(zt(e,o)&&We(r,"has",e),We(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function Pr(e,t=!1){return e=e.__v_raw,!t&&We(oe(e),"iterate",en),Reflect.get(e,"size",e)}function ll(e){e=oe(e);const t=oe(this);return ao(t).has.call(t,e)||(t.add(e),kt(t,"add",e,e)),this}function al(e,t){t=oe(t);const n=oe(this),{has:r,get:o}=ao(n);let s=r.call(n,e);s||(e=oe(e),s=r.call(n,e));const l=o.call(n,e);return n.set(e,t),s?zt(t,l)&&kt(n,"set",e,t):kt(n,"add",e,t),this}function il(e){const t=oe(this),{has:n,get:r}=ao(t);let o=n.call(t,e);o||(e=oe(e),o=n.call(t,e)),r&&r.call(t,e);const s=t.delete(e);return o&&kt(t,"delete",e,void 0),s}function cl(){const e=oe(this),t=e.size!==0,n=e.clear();return t&&kt(e,"clear",void 0,void 0),n}function Or(e,t){return function(r,o){const s=this,l=s.__v_raw,a=oe(l),i=t?xs:e?As:nr;return!e&&We(a,"iterate",en),l.forEach((c,u)=>r.call(o,i(c),i(u),s))}}function Rr(e,t,n){return function(...r){const o=this.__v_raw,s=oe(o),l=bn(s),a=e==="entries"||e===Symbol.iterator&&l,i=e==="keys"&&l,c=o[e](...r),u=n?xs:t?As:nr;return!t&&We(s,"iterate",i?Jo:en),{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 Lt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function of(){const e={get(s){return Ir(this,s)},get size(){return Pr(this)},has:$r,add:ll,set:al,delete:il,clear:cl,forEach:Or(!1,!1)},t={get(s){return Ir(this,s,!1,!0)},get size(){return Pr(this)},has:$r,add:ll,set:al,delete:il,clear:cl,forEach:Or(!1,!0)},n={get(s){return Ir(this,s,!0)},get size(){return Pr(this,!0)},has(s){return $r.call(this,s,!0)},add:Lt("add"),set:Lt("set"),delete:Lt("delete"),clear:Lt("clear"),forEach:Or(!0,!1)},r={get(s){return Ir(this,s,!0,!0)},get size(){return Pr(this,!0)},has(s){return $r.call(this,s,!0)},add:Lt("add"),set:Lt("set"),delete:Lt("delete"),clear:Lt("clear"),forEach:Or(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=Rr(s,!1,!1),n[s]=Rr(s,!0,!1),t[s]=Rr(s,!1,!0),r[s]=Rr(s,!0,!0)}),[e,n,t,r]}const[sf,lf,af,cf]=of();function ks(e,t){const n=t?e?cf:af:e?lf:sf;return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(ae(n,o)&&o in r?n:r,o,s)}const uf={get:ks(!1,!1)},ff={get:ks(!1,!0)},df={get:ks(!0,!1)},Wa=new WeakMap,Ga=new WeakMap,Ka=new WeakMap,pf=new WeakMap;function hf(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function vf(e){return e.__v_skip||!Object.isExtensible(e)?0:hf(Mu(e))}function gr(e){return kn(e)?e:Ts(e,!1,tf,uf,Wa)}function Ya(e){return Ts(e,!1,rf,ff,Ga)}function br(e){return Ts(e,!0,nf,df,Ka)}function Ts(e,t,n,r,o){if(!pe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=o.get(e);if(s)return s;const l=vf(e);if(l===0)return e;const a=new Proxy(e,l===2?r:n);return o.set(e,a),a}function wn(e){return kn(e)?wn(e.__v_raw):!!(e&&e.__v_isReactive)}function kn(e){return!!(e&&e.__v_isReadonly)}function Jr(e){return!!(e&&e.__v_isShallow)}function Ja(e){return wn(e)||kn(e)}function oe(e){const t=e&&e.__v_raw;return t?oe(t):e}function Qa(e){return Object.isExtensible(e)&&Kr(e,"__v_skip",!0),e}const nr=e=>pe(e)?gr(e):e,As=e=>pe(e)?br(e):e;class Xa{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 Es(()=>t(this._value),()=>Gn(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=oe(this);return(!t._cacheable||t.effect.dirty)&&zt(t._value,t._value=t.effect.run())&&Gn(t,4),Ls(t),t.effect._dirtyLevel>=2&&Gn(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function mf(e,t,n=!1){let r,o;const s=ne(e);return s?(r=e,o=tt):(r=e.get,o=e.set),new Xa(r,o,s||!o,n)}function Ls(e){var t;Ft&&Zt&&(e=oe(e),Fa(Zt,(t=e.dep)!=null?t:e.dep=za(()=>e.dep=void 0,e instanceof Xa?e:void 0)))}function Gn(e,t=4,n){e=oe(e);const r=e.dep;r&&Ha(r,t)}function Re(e){return!!(e&&e.__v_isRef===!0)}function Q(e){return Za(e,!1)}function Me(e){return Za(e,!0)}function Za(e,t){return Re(e)?e:new gf(e,t)}class gf{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:oe(t),this._value=n?t:nr(t)}get value(){return Ls(this),this._value}set value(t){const n=this.__v_isShallow||Jr(t)||kn(t);t=n?t:oe(t),zt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:nr(t),Gn(this,4))}}function tn(e){return Re(e)?e.value:e}const bf={get:(e,t,n)=>tn(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Re(o)&&!Re(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function ei(e){return wn(e)?e:new Proxy(e,bf)}class yf{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>Ls(this),()=>Gn(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function Is(e){return new yf(e)}class wf{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 Ju(oe(this._object),this._key)}}class _f{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function io(e,t,n){return Re(e)?e:ne(e)?new _f(e):pe(e)&&arguments.length>1?Ef(e,t,n):Q(e)}function Ef(e,t,n){const r=e[t];return Re(r)?r:new wf(e,t,n)}/**
|
|
* @vue/runtime-core v3.4.21
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/function Ht(e,t,n,r){try{return r?e(...r):e()}catch(o){yr(o,t,n)}}function rt(e,t,n,r){if(ne(e)){const s=Ht(e,t,n,r);return s&&$a(s)&&s.catch(l=>{yr(l,t,n)}),s}const o=[];for(let s=0;s<e.length;s++)o.push(rt(e[s],t,n,r));return o}function yr(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){Ht(i,null,10,[e,l,a]);return}}Cf(e,n,o,r)}function Cf(e,t,n,r=!0){console.error(e)}let rr=!1,Qo=!1;const De=[];let bt=0;const _n=[];let Mt=null,Jt=0;const ti=Promise.resolve();let $s=null;function Ut(e){const t=$s||ti;return e?t.then(this?e.bind(this):e):t}function Sf(e){let t=bt+1,n=De.length;for(;t<n;){const r=t+n>>>1,o=De[r],s=or(o);s<e||s===e&&o.pre?t=r+1:n=r}return t}function co(e){(!De.length||!De.includes(e,rr&&e.allowRecurse?bt+1:bt))&&(e.id==null?De.push(e):De.splice(Sf(e.id),0,e),ni())}function ni(){!rr&&!Qo&&(Qo=!0,$s=ti.then(ri))}function xf(e){const t=De.indexOf(e);t>bt&&De.splice(t,1)}function kf(e){X(e)?_n.push(...e):(!Mt||!Mt.includes(e,e.allowRecurse?Jt+1:Jt))&&_n.push(e),ni()}function ul(e,t,n=rr?bt+1:0){for(;n<De.length;n++){const r=De[n];if(r&&r.pre){if(e&&r.id!==e.uid)continue;De.splice(n,1),n--,r()}}}function Qr(e){if(_n.length){const t=[...new Set(_n)].sort((n,r)=>or(n)-or(r));if(_n.length=0,Mt){Mt.push(...t);return}for(Mt=t,Jt=0;Jt<Mt.length;Jt++)Mt[Jt]();Mt=null,Jt=0}}const or=e=>e.id==null?1/0:e.id,Tf=(e,t)=>{const n=or(e)-or(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function ri(e){Qo=!1,rr=!0,De.sort(Tf);try{for(bt=0;bt<De.length;bt++){const t=De[bt];t&&t.active!==!1&&Ht(t,null,14)}}finally{bt=0,De.length=0,Qr(),rr=!1,$s=null,(De.length||_n.length)&&ri()}}function Af(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ge;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]||ge;p&&(o=n.map(v=>Ce(v)?v.trim():v)),d&&(o=n.map(ju))}let a,i=r[a=wo(t)]||r[a=wo(lt(t))];!i&&s&&(i=r[a=wo(Rn(t))]),i&&rt(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,rt(c,e,6,o)}}function oi(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=oi(c,t,!0);u&&(a=!0,Ae(l,u))};!n&&t.mixins.length&&t.mixins.forEach(i),e.extends&&i(e.extends),e.mixins&&e.mixins.forEach(i)}return!s&&!a?(pe(e)&&r.set(e,null),null):(X(s)?s.forEach(i=>l[i]=null):Ae(l,s),pe(e)&&r.set(e,l),l)}function uo(e,t){return!e||!vr(t)?!1:(t=t.slice(2).replace(/Once$/,""),ae(e,t[0].toLowerCase()+t.slice(1))||ae(e,Rn(t))||ae(e,t))}let nt=null,si=null;function Xr(e){const t=nt;return nt=e,si=e&&e.type.__scopeId||null,t}function Lf(e,t=nt,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&El(-1);const s=Xr(t);let l;try{l=e(...o)}finally{Xr(s),r._d&&El(1)}return l};return r._n=!0,r._c=!0,r._d=!0,r}function Co(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:v,ctx:g,inheritAttrs:_}=e;let w,y;const C=Xr(e);try{if(n.shapeFlag&4){const k=o||r,M=k;w=ut(u.call(M,k,d,s,v,p,g)),y=i}else{const k=t;w=ut(k.length>1?k(s,{attrs:i,slots:a,emit:c}):k(s,null)),y=t.props?i:If(i)}}catch(k){Xn.length=0,yr(k,e,1),w=Ee(ot)}let b=w;if(y&&_!==!1){const k=Object.keys(y),{shapeFlag:M}=b;k.length&&M&7&&(l&&k.some(ys)&&(y=$f(y,l)),b=Vt(b,y))}return n.dirs&&(b=Vt(b),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&(b.transition=n.transition),w=b,Xr(C),w}const If=e=>{let t;for(const n in e)(n==="class"||n==="style"||vr(n))&&((t||(t={}))[n]=e[n]);return t},$f=(e,t)=>{const n={};for(const r in e)(!ys(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Pf(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?fl(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]&&!uo(c,p))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:r===l?!1:r?l?fl(r,l,c):!0:!!l;return!1}function fl(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]&&!uo(n,s))return!0}return!1}function Of({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 li="components";function dt(e,t){return Mf(li,e,!0,t)||e}const Rf=Symbol.for("v-ndc");function Mf(e,t,n=!0,r=!1){const o=nt||Pe;if(o){const s=o.type;if(e===li){const a=$1(s,!1);if(a&&(a===t||a===lt(t)||a===mr(lt(t))))return s}const l=dl(o[e]||s[e],t)||dl(o.appContext[e],t);return!l&&r?s:l}}function dl(e,t){return e&&(e[t]||e[lt(t)]||e[mr(lt(t))])}const Nf=e=>e.__isSuspense;function ai(e,t){t&&t.pendingBranch?X(e)?t.effects.push(...e):t.effects.push(e):kf(e)}const Df=Symbol.for("v-scx"),jf=()=>Oe(Df);function ii(e,t){return Ps(e,null,t)}const Mr={};function ie(e,t,n){return Ps(e,t,n)}function Ps(e,t,{immediate:n,deep:r,flush:o,once:s,onTrack:l,onTrigger:a}=ge){if(t&&s){const S=t;t=(...N)=>{S(...N),M()}}const i=Pe,c=S=>r===!0?S:hn(S,r===!1?1:void 0);let u,d=!1,p=!1;if(Re(e)?(u=()=>e.value,d=Jr(e)):wn(e)?(u=()=>c(e),d=!0):X(e)?(p=!0,d=e.some(S=>wn(S)||Jr(S)),u=()=>e.map(S=>{if(Re(S))return S.value;if(wn(S))return c(S);if(ne(S))return Ht(S,i,2)})):ne(e)?t?u=()=>Ht(e,i,2):u=()=>(v&&v(),rt(e,i,3,[g])):u=tt,t&&r){const S=u;u=()=>hn(S())}let v,g=S=>{v=b.onStop=()=>{Ht(S,i,4),v=b.onStop=void 0}},_;if(Cr)if(g=tt,t?n&&rt(t,i,3,[u(),p?[]:void 0,g]):u(),o==="sync"){const S=jf();_=S.__watcherHandles||(S.__watcherHandles=[])}else return tt;let w=p?new Array(e.length).fill(Mr):Mr;const y=()=>{if(!(!b.active||!b.dirty))if(t){const S=b.run();(r||d||(p?S.some((N,P)=>zt(N,w[P])):zt(S,w)))&&(v&&v(),rt(t,i,3,[S,w===Mr?void 0:p&&w[0]===Mr?[]:w,g]),w=S)}else b.run()};y.allowRecurse=!!t;let C;o==="sync"?C=y:o==="post"?C=()=>Ve(y,i&&i.suspense):(y.pre=!0,i&&(y.id=i.uid),C=()=>co(y));const b=new Es(u,tt,C),k=Da(),M=()=>{b.stop(),k&&ws(k.effects,b)};return t?n?y():w=b.run():o==="post"?Ve(b.run.bind(b),i&&i.suspense):b.run(),_&&_.push(M),M}function Bf(e,t,n){const r=this.proxy,o=Ce(e)?e.includes(".")?ci(r,e):()=>r[e]:e.bind(r,r);let s;ne(t)?s=t:(s=t.handler,n=t);const l=Er(this),a=Ps(o,s.bind(r),n);return l(),a}function ci(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 hn(e,t,n=0,r){if(!pe(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),Re(e))hn(e.value,t,n,r);else if(X(e))for(let o=0;o<e.length;o++)hn(e[o],t,n,r);else if(Ia(e)||bn(e))e.forEach(o=>{hn(o,t,n,r)});else if(Oa(e))for(const o in e)hn(e[o],t,n,r);return e}function gt(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&&(rn(),rt(i,n,8,[e.el,a,e,t]),on())}}const Nt=Symbol("_leaveCb"),Nr=Symbol("_enterCb");function ui(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return be(()=>{e.isMounted=!0}),vi(()=>{e.isUnmounting=!0}),e}const Xe=[Function,Array],fi={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Xe,onEnter:Xe,onAfterEnter:Xe,onEnterCancelled:Xe,onBeforeLeave:Xe,onLeave:Xe,onAfterLeave:Xe,onLeaveCancelled:Xe,onBeforeAppear:Xe,onAppear:Xe,onAfterAppear:Xe,onAppearCancelled:Xe},Ff={name:"BaseTransition",props:fi,setup(e,{slots:t}){const n=_r(),r=ui();return()=>{const o=t.default&&Os(t.default(),!0);if(!o||!o.length)return;let s=o[0];if(o.length>1){for(const p of o)if(p.type!==ot){s=p;break}}const l=oe(e),{mode:a}=l;if(r.isLeaving)return So(s);const i=pl(s);if(!i)return So(s);const c=sr(i,l,r,n);lr(i,c);const u=n.subTree,d=u&&pl(u);if(d&&d.type!==ot&&!Qt(i,d)){const p=sr(d,l,r,n);if(lr(d,p),a==="out-in")return r.isLeaving=!0,p.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},So(s);a==="in-out"&&i.type!==ot&&(p.delayLeave=(v,g,_)=>{const w=di(r,d);w[String(d.key)]=d,v[Nt]=()=>{g(),v[Nt]=void 0,delete c.delayedLeave},c.delayedLeave=_})}return s}}},Hf=Ff;function di(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 sr(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:v,onLeaveCancelled:g,onBeforeAppear:_,onAppear:w,onAfterAppear:y,onAppearCancelled:C}=t,b=String(e.key),k=di(n,e),M=(P,K)=>{P&&rt(P,r,9,K)},S=(P,K)=>{const $=K[1];M(P,K),X(P)?P.every(V=>V.length<=1)&&$():P.length<=1&&$()},N={mode:s,persisted:l,beforeEnter(P){let K=a;if(!n.isMounted)if(o)K=_||a;else return;P[Nt]&&P[Nt](!0);const $=k[b];$&&Qt(e,$)&&$.el[Nt]&&$.el[Nt](),M(K,[P])},enter(P){let K=i,$=c,V=u;if(!n.isMounted)if(o)K=w||i,$=y||c,V=C||u;else return;let O=!1;const Z=P[Nr]=ye=>{O||(O=!0,ye?M(V,[P]):M($,[P]),N.delayedLeave&&N.delayedLeave(),P[Nr]=void 0)};K?S(K,[P,Z]):Z()},leave(P,K){const $=String(e.key);if(P[Nr]&&P[Nr](!0),n.isUnmounting)return K();M(d,[P]);let V=!1;const O=P[Nt]=Z=>{V||(V=!0,K(),Z?M(g,[P]):M(v,[P]),P[Nt]=void 0,k[$]===e&&delete k[$])};k[$]=e,p?S(p,[P,O]):O()},clone(P){return sr(P,t,n,r)}};return N}function So(e){if(wr(e))return e=Vt(e),e.children=null,e}function pl(e){return wr(e)?e.children?e.children[0]:void 0:e}function lr(e,t){e.shapeFlag&6&&e.component?lr(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 Os(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===Je?(l.patchFlag&128&&o++,r=r.concat(Os(l.children,t,a))):(t||l.type!==ot)&&r.push(a!=null?Vt(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 U(e,t){return ne(e)?Ae({name:e.name},t,{setup:e}):e}const Kn=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function zf(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 v;return i||(v=i=t().catch(g=>{if(g=g instanceof Error?g:new Error(String(g)),a)return new Promise((_,w)=>{a(g,()=>_(d()),()=>w(g),u+1)});throw g}).then(g=>v!==i&&i?i:(g&&(g.__esModule||g[Symbol.toStringTag]==="Module")&&(g=g.default),c=g,g)))};return U({name:"AsyncComponentWrapper",__asyncLoader:p,get __asyncResolved(){return c},setup(){const v=Pe;if(c)return()=>xo(c,v);const g=C=>{i=null,yr(C,v,13,!r)};if(l&&v.suspense||Cr)return p().then(C=>()=>xo(C,v)).catch(C=>(g(C),()=>r?Ee(r,{error:C}):null));const _=Q(!1),w=Q(),y=Q(!!o);return o&&setTimeout(()=>{y.value=!1},o),s!=null&&setTimeout(()=>{if(!_.value&&!w.value){const C=new Error(`Async component timed out after ${s}ms.`);g(C),w.value=C}},s),p().then(()=>{_.value=!0,v.parent&&wr(v.parent.vnode)&&(v.parent.effect.dirty=!0,co(v.parent.update))}).catch(C=>{g(C),w.value=C}),()=>{if(_.value&&c)return xo(c,v);if(w.value&&r)return Ee(r,{error:w.value});if(n&&!y.value)return Ee(n)}}})}function xo(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 wr=e=>e.type.__isKeepAlive;function Vf(e,t){pi(e,"a",t)}function qf(e,t){pi(e,"da",t)}function pi(e,t,n=Pe){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(fo(t,r,n),n){let o=n.parent;for(;o&&o.parent;)wr(o.parent.vnode)&&Uf(r,t,n,o),o=o.parent}}function Uf(e,t,n,r){const o=fo(t,e,r,!0);Mn(()=>{ws(r[t],o)},n)}function fo(e,t,n=Pe,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...l)=>{if(n.isUnmounted)return;rn();const a=Er(n),i=rt(t,n,e,l);return a(),on(),i});return r?o.unshift(s):o.push(s),s}}const At=e=>(t,n=Pe)=>(!Cr||e==="sp")&&fo(e,(...r)=>t(...r),n),Wf=At("bm"),be=At("m"),Gf=At("bu"),hi=At("u"),vi=At("bum"),Mn=At("um"),Kf=At("sp"),Yf=At("rtg"),Jf=At("rtc");function Qf(e,t=Pe){fo("ec",e,t)}function r4(e,t,n,r){let o;const s=n&&n[r];if(X(e)||Ce(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(pe(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 Xo=e=>e?Ii(e)?Ds(e)||e.proxy:Xo(e.parent):null,Yn=Ae(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=>Xo(e.parent),$root:e=>Xo(e.root),$emit:e=>e.emit,$options:e=>Rs(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,co(e.update)}),$nextTick:e=>e.n||(e.n=Ut.bind(e.proxy)),$watch:e=>Bf.bind(e)}),ko=(e,t)=>e!==ge&&!e.__isScriptSetup&&ae(e,t),Xf={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 v=l[t];if(v!==void 0)switch(v){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(ko(r,t))return l[t]=1,r[t];if(o!==ge&&ae(o,t))return l[t]=2,o[t];if((c=e.propsOptions[0])&&ae(c,t))return l[t]=3,s[t];if(n!==ge&&ae(n,t))return l[t]=4,n[t];Zo&&(l[t]=0)}}const u=Yn[t];let d,p;if(u)return t==="$attrs"&&We(e,"get",t),u(e);if((d=a.__cssModules)&&(d=d[t]))return d;if(n!==ge&&ae(n,t))return l[t]=4,n[t];if(p=i.config.globalProperties,ae(p,t))return p[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return ko(o,t)?(o[t]=n,!0):r!==ge&&ae(r,t)?(r[t]=n,!0):ae(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!==ge&&ae(e,l)||ko(t,l)||(a=s[0])&&ae(a,l)||ae(r,l)||ae(Yn,l)||ae(o.config.globalProperties,l)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ae(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function hl(e){return X(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Zo=!0;function Zf(e){const t=Rs(e),n=e.proxy,r=e.ctx;Zo=!1,t.beforeCreate&&vl(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:l,watch:a,provide:i,inject:c,created:u,beforeMount:d,mounted:p,beforeUpdate:v,updated:g,activated:_,deactivated:w,beforeDestroy:y,beforeUnmount:C,destroyed:b,unmounted:k,render:M,renderTracked:S,renderTriggered:N,errorCaptured:P,serverPrefetch:K,expose:$,inheritAttrs:V,components:O,directives:Z,filters:ye}=t;if(c&&e1(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);pe(ee)&&(e.data=gr(ee))}if(Zo=!0,s)for(const ee in s){const W=s[ee],xe=ne(W)?W.bind(n,n):ne(W.get)?W.get.bind(n,n):tt,ht=!ne(W)&&ne(W.set)?W.set.bind(n):tt,Qe=x({get:xe,set:ht});Object.defineProperty(r,ee,{enumerable:!0,configurable:!0,get:()=>Qe.value,set:Ie=>Qe.value=Ie})}if(a)for(const ee in a)mi(a[ee],r,n,ee);if(i){const ee=ne(i)?i.call(n):i;Reflect.ownKeys(ee).forEach(W=>{En(W,ee[W])})}u&&vl(u,e,"c");function q(ee,W){X(W)?W.forEach(xe=>ee(xe.bind(n))):W&&ee(W.bind(n))}if(q(Wf,d),q(be,p),q(Gf,v),q(hi,g),q(Vf,_),q(qf,w),q(Qf,P),q(Jf,S),q(Yf,N),q(vi,C),q(Mn,k),q(Kf,K),X($))if($.length){const ee=e.exposed||(e.exposed={});$.forEach(W=>{Object.defineProperty(ee,W,{get:()=>n[W],set:xe=>n[W]=xe})})}else e.exposed||(e.exposed={});M&&e.render===tt&&(e.render=M),V!=null&&(e.inheritAttrs=V),O&&(e.components=O),Z&&(e.directives=Z)}function e1(e,t,n=tt){X(e)&&(e=es(e));for(const r in e){const o=e[r];let s;pe(o)?"default"in o?s=Oe(o.from||r,o.default,!0):s=Oe(o.from||r):s=Oe(o),Re(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:l=>s.value=l}):t[r]=s}}function vl(e,t,n){rt(X(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function mi(e,t,n,r){const o=r.includes(".")?ci(n,r):()=>n[r];if(Ce(e)){const s=t[e];ne(s)&&ie(o,s)}else if(ne(e))ie(o,e.bind(n));else if(pe(e))if(X(e))e.forEach(s=>mi(s,t,n,r));else{const s=ne(e.handler)?e.handler.bind(n):t[e.handler];ne(s)&&ie(o,s,e)}}function Rs(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=>Zr(i,c,l,!0)),Zr(i,t,l)),pe(t)&&s.set(t,i),i}function Zr(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&Zr(e,s,n,!0),o&&o.forEach(l=>Zr(e,l,n,!0));for(const l in t)if(!(r&&l==="expose")){const a=t1[l]||n&&n[l];e[l]=a?a(e[l],t[l]):t[l]}return e}const t1={data:ml,props:gl,emits:gl,methods:Un,computed:Un,beforeCreate:je,created:je,beforeMount:je,mounted:je,beforeUpdate:je,updated:je,beforeDestroy:je,beforeUnmount:je,destroyed:je,unmounted:je,activated:je,deactivated:je,errorCaptured:je,serverPrefetch:je,components:Un,directives:Un,watch:r1,provide:ml,inject:n1};function ml(e,t){return t?e?function(){return Ae(ne(e)?e.call(this,this):e,ne(t)?t.call(this,this):t)}:t:e}function n1(e,t){return Un(es(e),es(t))}function es(e){if(X(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function je(e,t){return e?[...new Set([].concat(e,t))]:t}function Un(e,t){return e?Ae(Object.create(null),e,t):t}function gl(e,t){return e?X(e)&&X(t)?[...new Set([...e,...t])]:Ae(Object.create(null),hl(e),hl(t??{})):t}function r1(e,t){if(!e)return t;if(!t)return e;const n=Ae(Object.create(null),e);for(const r in t)n[r]=je(e[r],t[r]);return n}function gi(){return{app:null,config:{isNativeTag:Ou,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 o1=0;function s1(e,t){return function(r,o=null){ne(r)||(r=Ae({},r)),o!=null&&!pe(o)&&(o=null);const s=gi(),l=new WeakSet;let a=!1;const i=s.app={_uid:o1++,_component:r,_props:o,_container:null,_context:s,_instance:null,version:O1,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,Ds(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=Jn;Jn=i;try{return c()}finally{Jn=u}}};return i}}let Jn=null;function En(e,t){if(Pe){let n=Pe.provides;const r=Pe.parent&&Pe.parent.provides;r===n&&(n=Pe.provides=Object.create(r)),n[e]=t}}function Oe(e,t,n=!1){const r=Pe||nt;if(r||Jn){const o=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:Jn._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 l1(e,t,n,r=!1){const o={},s={};Kr(s,po,1),e.propsDefaults=Object.create(null),bi(e,t,o,s);for(const l in e.propsOptions[0])l in o||(o[l]=void 0);n?e.props=r?o:Ya(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function a1(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:l}}=e,a=oe(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(uo(e.emitsOptions,p))continue;const v=t[p];if(i)if(ae(s,p))v!==s[p]&&(s[p]=v,c=!0);else{const g=lt(p);o[g]=ts(i,a,g,v,e,!1)}else v!==s[p]&&(s[p]=v,c=!0)}}}else{bi(e,t,o,s)&&(c=!0);let u;for(const d in a)(!t||!ae(t,d)&&((u=Rn(d))===d||!ae(t,u)))&&(i?n&&(n[d]!==void 0||n[u]!==void 0)&&(o[d]=ts(i,a,d,void 0,e,!0)):delete o[d]);if(s!==a)for(const d in s)(!t||!ae(t,d))&&(delete s[d],c=!0)}c&&kt(e,"set","$attrs")}function bi(e,t,n,r){const[o,s]=e.propsOptions;let l=!1,a;if(t)for(let i in t){if(yn(i))continue;const c=t[i];let u;o&&ae(o,u=lt(i))?!s||!s.includes(u)?n[u]=c:(a||(a={}))[u]=c:uo(e.emitsOptions,i)||(!(i in r)||c!==r[i])&&(r[i]=c,l=!0)}if(s){const i=oe(n),c=a||ge;for(let u=0;u<s.length;u++){const d=s[u];n[d]=ts(o,i,d,c[d],e,!ae(c,d))}}return l}function ts(e,t,n,r,o,s){const l=e[n];if(l!=null){const a=ae(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=Er(o);r=c[n]=i.call(null,t),u()}}else r=i}l[0]&&(s&&!a?r=!1:l[1]&&(r===""||r===Rn(n))&&(r=!0))}return r}function yi(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,v]=yi(d,t,!0);Ae(l,p),v&&a.push(...v)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!i)return pe(e)&&r.set(e,gn),gn;if(X(s))for(let u=0;u<s.length;u++){const d=lt(s[u]);bl(d)&&(l[d]=ge)}else if(s)for(const u in s){const d=lt(u);if(bl(d)){const p=s[u],v=l[d]=X(p)||ne(p)?{type:p}:Ae({},p);if(v){const g=_l(Boolean,v.type),_=_l(String,v.type);v[0]=g>-1,v[1]=_<0||g<_,(g>-1||ae(v,"default"))&&a.push(d)}}}const c=[l,a];return pe(e)&&r.set(e,c),c}function bl(e){return e[0]!=="$"&&!yn(e)}function yl(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function wl(e,t){return yl(e)===yl(t)}function _l(e,t){return X(t)?t.findIndex(n=>wl(n,e)):ne(t)&&wl(t,e)?0:-1}const wi=e=>e[0]==="_"||e==="$stable",Ms=e=>X(e)?e.map(ut):[ut(e)],i1=(e,t,n)=>{if(t._n)return t;const r=Lf((...o)=>Ms(t(...o)),n);return r._c=!1,r},_i=(e,t,n)=>{const r=e._ctx;for(const o in e){if(wi(o))continue;const s=e[o];if(ne(s))t[o]=i1(o,s,r);else if(s!=null){const l=Ms(s);t[o]=()=>l}}},Ei=(e,t)=>{const n=Ms(t);e.slots.default=()=>n},c1=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=oe(t),Kr(t,"_",n)):_i(t,e.slots={})}else e.slots={},t&&Ei(e,t);Kr(e.slots,po,1)},u1=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,l=ge;if(r.shapeFlag&32){const a=t._;a?n&&a===1?s=!1:(Ae(o,t),!n&&a===1&&delete o._):(s=!t.$stable,_i(t,o)),l=t}else t&&(Ei(e,t),l={default:1});if(s)for(const a in o)!wi(a)&&l[a]==null&&delete o[a]};function eo(e,t,n,r,o=!1){if(X(e)){e.forEach((p,v)=>eo(p,t&&(X(t)?t[v]:t),n,r,o));return}if(Kn(r)&&!o)return;const s=r.shapeFlag&4?Ds(r.component)||r.component.proxy:r.el,l=o?null:s,{i:a,r:i}=e,c=t&&t.r,u=a.refs===ge?a.refs={}:a.refs,d=a.setupState;if(c!=null&&c!==i&&(Ce(c)?(u[c]=null,ae(d,c)&&(d[c]=null)):Re(c)&&(c.value=null)),ne(i))Ht(i,a,12,[l,u]);else{const p=Ce(i),v=Re(i);if(p||v){const g=()=>{if(e.f){const _=p?ae(d,i)?d[i]:u[i]:i.value;o?X(_)&&ws(_,s):X(_)?_.includes(s)||_.push(s):p?(u[i]=[s],ae(d,i)&&(d[i]=u[i])):(i.value=[s],e.k&&(u[e.k]=i.value))}else p?(u[i]=l,ae(d,i)&&(d[i]=l)):v&&(i.value=l,e.k&&(u[e.k]=l))};l?(g.id=-1,Ve(g,n)):g()}}}let It=!1;const f1=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",d1=e=>e.namespaceURI.includes("MathML"),Dr=e=>{if(f1(e))return"svg";if(d1(e))return"mathml"},jr=e=>e.nodeType===8;function p1(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:s,parentNode:l,remove:a,insert:i,createComment:c}}=e,u=(b,k)=>{if(!k.hasChildNodes()){n(null,b,k),Qr(),k._vnode=b;return}It=!1,d(k.firstChild,b,null,null,null),Qr(),k._vnode=b,It&&console.error("Hydration completed but contains mismatches.")},d=(b,k,M,S,N,P=!1)=>{const K=jr(b)&&b.data==="[",$=()=>_(b,k,M,S,N,K),{type:V,ref:O,shapeFlag:Z,patchFlag:ye}=k;let ve=b.nodeType;k.el=b,ye===-2&&(P=!1,k.dynamicChildren=null);let q=null;switch(V){case Tn:ve!==3?k.children===""?(i(k.el=o(""),l(b),b),q=b):q=$():(b.data!==k.children&&(It=!0,b.data=k.children),q=s(b));break;case ot:C(b)?(q=s(b),y(k.el=b.content.firstChild,b,M)):ve!==8||K?q=$():q=s(b);break;case Qn:if(K&&(b=s(b),ve=b.nodeType),ve===1||ve===3){q=b;const ee=!k.children.length;for(let W=0;W<k.staticCount;W++)ee&&(k.children+=q.nodeType===1?q.outerHTML:q.data),W===k.staticCount-1&&(k.anchor=q),q=s(q);return K?s(q):q}else $();break;case Je:K?q=g(b,k,M,S,N,P):q=$();break;default:if(Z&1)(ve!==1||k.type.toLowerCase()!==b.tagName.toLowerCase())&&!C(b)?q=$():q=p(b,k,M,S,N,P);else if(Z&6){k.slotScopeIds=N;const ee=l(b);if(K?q=w(b):jr(b)&&b.data==="teleport start"?q=w(b,b.data,"teleport end"):q=s(b),t(k,ee,null,M,S,Dr(ee),P),Kn(k)){let W;K?(W=Ee(Je),W.anchor=q?q.previousSibling:ee.lastChild):W=b.nodeType===3?Li(""):Ee("div"),W.el=b,k.component.subTree=W}}else Z&64?ve!==8?q=$():q=k.type.hydrate(b,k,M,S,N,P,e,v):Z&128&&(q=k.type.hydrate(b,k,M,S,Dr(l(b)),N,P,e,d))}return O!=null&&eo(O,null,S,k),q},p=(b,k,M,S,N,P)=>{P=P||!!k.dynamicChildren;const{type:K,props:$,patchFlag:V,shapeFlag:O,dirs:Z,transition:ye}=k,ve=K==="input"||K==="option";if(ve||V!==-1){Z&>(k,null,M,"created");let q=!1;if(C(b)){q=Ci(S,ye)&&M&&M.vnode.props&&M.vnode.props.appear;const W=b.content.firstChild;q&&ye.beforeEnter(W),y(W,b,M),k.el=b=W}if(O&16&&!($&&($.innerHTML||$.textContent))){let W=v(b.firstChild,k,b,M,S,N,P);for(;W;){It=!0;const xe=W;W=W.nextSibling,a(xe)}}else O&8&&b.textContent!==k.children&&(It=!0,b.textContent=k.children);if($)if(ve||!P||V&48)for(const W in $)(ve&&(W.endsWith("value")||W==="indeterminate")||vr(W)&&!yn(W)||W[0]===".")&&r(b,W,null,$[W],void 0,void 0,M);else $.onClick&&r(b,"onClick",null,$.onClick,void 0,void 0,M);let ee;(ee=$&&$.onVnodeBeforeMount)&&Ze(ee,M,k),Z&>(k,null,M,"beforeMount"),((ee=$&&$.onVnodeMounted)||Z||q)&&ai(()=>{ee&&Ze(ee,M,k),q&&ye.enter(b),Z&>(k,null,M,"mounted")},S)}return b.nextSibling},v=(b,k,M,S,N,P,K)=>{K=K||!!k.dynamicChildren;const $=k.children,V=$.length;for(let O=0;O<V;O++){const Z=K?$[O]:$[O]=ut($[O]);if(b)b=d(b,Z,S,N,P,K);else{if(Z.type===Tn&&!Z.children)continue;It=!0,n(null,Z,M,null,S,N,Dr(M),P)}}return b},g=(b,k,M,S,N,P)=>{const{slotScopeIds:K}=k;K&&(N=N?N.concat(K):K);const $=l(b),V=v(s(b),k,$,M,S,N,P);return V&&jr(V)&&V.data==="]"?s(k.anchor=V):(It=!0,i(k.anchor=c("]"),$,V),V)},_=(b,k,M,S,N,P)=>{if(It=!0,k.el=null,P){const V=w(b);for(;;){const O=s(b);if(O&&O!==V)a(O);else break}}const K=s(b),$=l(b);return a(b),n(null,k,$,K,M,S,Dr($),N),K},w=(b,k="[",M="]")=>{let S=0;for(;b;)if(b=s(b),b&&jr(b)&&(b.data===k&&S++,b.data===M)){if(S===0)return s(b);S--}return b},y=(b,k,M)=>{const S=k.parentNode;S&&S.replaceChild(b,k);let N=M;for(;N;)N.vnode.el===k&&(N.vnode.el=N.subTree.el=b),N=N.parent},C=b=>b.nodeType===1&&b.tagName.toLowerCase()==="template";return[u,d]}const Ve=ai;function h1(e){return v1(e,p1)}function v1(e,t){const n=Ra();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:v=tt,insertStaticContent:g}=e,_=(h,m,E,L=null,A=null,D=null,F=void 0,R=null,j=!!m.dynamicChildren)=>{if(h===m)return;h&&!Qt(h,m)&&(L=T(h),Ie(h,A,D,!0),h=null),m.patchFlag===-2&&(j=!1,m.dynamicChildren=null);const{type:I,ref:z,shapeFlag:J}=m;switch(I){case Tn:w(h,m,E,L);break;case ot:y(h,m,E,L);break;case Qn:h==null&&C(m,E,L,F);break;case Je:O(h,m,E,L,A,D,F,R,j);break;default:J&1?M(h,m,E,L,A,D,F,R,j):J&6?Z(h,m,E,L,A,D,F,R,j):(J&64||J&128)&&I.process(h,m,E,L,A,D,F,R,j,G)}z!=null&&A&&eo(z,h&&h.ref,D,m||h,!m)},w=(h,m,E,L)=>{if(h==null)r(m.el=a(m.children),E,L);else{const A=m.el=h.el;m.children!==h.children&&c(A,m.children)}},y=(h,m,E,L)=>{h==null?r(m.el=i(m.children||""),E,L):m.el=h.el},C=(h,m,E,L)=>{[h.el,h.anchor]=g(h.children,m,E,L,h.el,h.anchor)},b=({el:h,anchor:m},E,L)=>{let A;for(;h&&h!==m;)A=p(h),r(h,E,L),h=A;r(m,E,L)},k=({el:h,anchor:m})=>{let E;for(;h&&h!==m;)E=p(h),o(h),h=E;o(m)},M=(h,m,E,L,A,D,F,R,j)=>{m.type==="svg"?F="svg":m.type==="math"&&(F="mathml"),h==null?S(m,E,L,A,D,F,R,j):K(h,m,A,D,F,R,j)},S=(h,m,E,L,A,D,F,R)=>{let j,I;const{props:z,shapeFlag:J,transition:Y,dirs:te}=h;if(j=h.el=l(h.type,D,z&&z.is,z),J&8?u(j,h.children):J&16&&P(h.children,j,null,L,A,To(h,D),F,R),te&>(h,null,L,"created"),N(j,h,h.scopeId,F,L),z){for(const ue in z)ue!=="value"&&!yn(ue)&&s(j,ue,null,z[ue],D,h.children,L,A,ke);"value"in z&&s(j,"value",null,z.value,D),(I=z.onVnodeBeforeMount)&&Ze(I,L,h)}te&>(h,null,L,"beforeMount");const re=Ci(A,Y);re&&Y.beforeEnter(j),r(j,m,E),((I=z&&z.onVnodeMounted)||re||te)&&Ve(()=>{I&&Ze(I,L,h),re&&Y.enter(j),te&>(h,null,L,"mounted")},A)},N=(h,m,E,L,A)=>{if(E&&v(h,E),L)for(let D=0;D<L.length;D++)v(h,L[D]);if(A){let D=A.subTree;if(m===D){const F=A.vnode;N(h,F,F.scopeId,F.slotScopeIds,A.parent)}}},P=(h,m,E,L,A,D,F,R,j=0)=>{for(let I=j;I<h.length;I++){const z=h[I]=R?Dt(h[I]):ut(h[I]);_(null,z,m,E,L,A,D,F,R)}},K=(h,m,E,L,A,D,F)=>{const R=m.el=h.el;let{patchFlag:j,dynamicChildren:I,dirs:z}=m;j|=h.patchFlag&16;const J=h.props||ge,Y=m.props||ge;let te;if(E&&Gt(E,!1),(te=Y.onVnodeBeforeUpdate)&&Ze(te,E,m,h),z&>(m,h,E,"beforeUpdate"),E&&Gt(E,!0),I?$(h.dynamicChildren,I,R,E,L,To(m,A),D):F||W(h,m,R,null,E,L,To(m,A),D,!1),j>0){if(j&16)V(R,m,J,Y,E,L,A);else if(j&2&&J.class!==Y.class&&s(R,"class",null,Y.class,A),j&4&&s(R,"style",J.style,Y.style,A),j&8){const re=m.dynamicProps;for(let ue=0;ue<re.length;ue++){const me=re[ue],$e=J[me],it=Y[me];(it!==$e||me==="value")&&s(R,me,$e,it,A,h.children,E,L,ke)}}j&1&&h.children!==m.children&&u(R,m.children)}else!F&&I==null&&V(R,m,J,Y,E,L,A);((te=Y.onVnodeUpdated)||z)&&Ve(()=>{te&&Ze(te,E,m,h),z&>(m,h,E,"updated")},L)},$=(h,m,E,L,A,D,F)=>{for(let R=0;R<m.length;R++){const j=h[R],I=m[R],z=j.el&&(j.type===Je||!Qt(j,I)||j.shapeFlag&70)?d(j.el):E;_(j,I,z,null,L,A,D,F,!0)}},V=(h,m,E,L,A,D,F)=>{if(E!==L){if(E!==ge)for(const R in E)!yn(R)&&!(R in L)&&s(h,R,E[R],null,F,m.children,A,D,ke);for(const R in L){if(yn(R))continue;const j=L[R],I=E[R];j!==I&&R!=="value"&&s(h,R,I,j,F,m.children,A,D,ke)}"value"in L&&s(h,"value",E.value,L.value,F)}},O=(h,m,E,L,A,D,F,R,j)=>{const I=m.el=h?h.el:a(""),z=m.anchor=h?h.anchor:a("");let{patchFlag:J,dynamicChildren:Y,slotScopeIds:te}=m;te&&(R=R?R.concat(te):te),h==null?(r(I,E,L),r(z,E,L),P(m.children||[],E,z,A,D,F,R,j)):J>0&&J&64&&Y&&h.dynamicChildren?($(h.dynamicChildren,Y,E,A,D,F,R),(m.key!=null||A&&m===A.subTree)&&Si(h,m,!0)):W(h,m,E,z,A,D,F,R,j)},Z=(h,m,E,L,A,D,F,R,j)=>{m.slotScopeIds=R,h==null?m.shapeFlag&512?A.ctx.activate(m,E,L,F,j):ye(m,E,L,A,D,F,j):ve(h,m,j)},ye=(h,m,E,L,A,D,F)=>{const R=h.component=k1(h,L,A);if(wr(h)&&(R.ctx.renderer=G),T1(R),R.asyncDep){if(A&&A.registerDep(R,q),!h.el){const j=R.subTree=Ee(ot);y(null,j,m,E)}}else q(R,h,m,E,A,D,F)},ve=(h,m,E)=>{const L=m.component=h.component;if(Pf(h,m,E))if(L.asyncDep&&!L.asyncResolved){ee(L,m,E);return}else L.next=m,xf(L.update),L.effect.dirty=!0,L.update();else m.el=h.el,L.vnode=m},q=(h,m,E,L,A,D,F)=>{const R=()=>{if(h.isMounted){let{next:z,bu:J,u:Y,parent:te,vnode:re}=h;{const un=xi(h);if(un){z&&(z.el=re.el,ee(h,z,F)),un.asyncDep.then(()=>{h.isUnmounted||R()});return}}let ue=z,me;Gt(h,!1),z?(z.el=re.el,ee(h,z,F)):z=re,J&&_o(J),(me=z.props&&z.props.onVnodeBeforeUpdate)&&Ze(me,te,z,re),Gt(h,!0);const $e=Co(h),it=h.subTree;h.subTree=$e,_(it,$e,d(it.el),T(it),h,A,D),z.el=$e.el,ue===null&&Of(h,$e.el),Y&&Ve(Y,A),(me=z.props&&z.props.onVnodeUpdated)&&Ve(()=>Ze(me,te,z,re),A)}else{let z;const{el:J,props:Y}=m,{bm:te,m:re,parent:ue}=h,me=Kn(m);if(Gt(h,!1),te&&_o(te),!me&&(z=Y&&Y.onVnodeBeforeMount)&&Ze(z,ue,m),Gt(h,!0),J&&fe){const $e=()=>{h.subTree=Co(h),fe(J,h.subTree,h,A,null)};me?m.type.__asyncLoader().then(()=>!h.isUnmounted&&$e()):$e()}else{const $e=h.subTree=Co(h);_(null,$e,E,L,h,A,D),m.el=$e.el}if(re&&Ve(re,A),!me&&(z=Y&&Y.onVnodeMounted)){const $e=m;Ve(()=>Ze(z,ue,$e),A)}(m.shapeFlag&256||ue&&Kn(ue.vnode)&&ue.vnode.shapeFlag&256)&&h.a&&Ve(h.a,A),h.isMounted=!0,m=E=L=null}},j=h.effect=new Es(R,tt,()=>co(I),h.scope),I=h.update=()=>{j.dirty&&j.run()};I.id=h.uid,Gt(h,!0),I()},ee=(h,m,E)=>{m.component=h;const L=h.vnode.props;h.vnode=m,h.next=null,a1(h,m.props,L,E),u1(h,m.children,E),rn(),ul(h),on()},W=(h,m,E,L,A,D,F,R,j=!1)=>{const I=h&&h.children,z=h?h.shapeFlag:0,J=m.children,{patchFlag:Y,shapeFlag:te}=m;if(Y>0){if(Y&128){ht(I,J,E,L,A,D,F,R,j);return}else if(Y&256){xe(I,J,E,L,A,D,F,R,j);return}}te&8?(z&16&&ke(I,A,D),J!==I&&u(E,J)):z&16?te&16?ht(I,J,E,L,A,D,F,R,j):ke(I,A,D,!0):(z&8&&u(E,""),te&16&&P(J,E,L,A,D,F,R,j))},xe=(h,m,E,L,A,D,F,R,j)=>{h=h||gn,m=m||gn;const I=h.length,z=m.length,J=Math.min(I,z);let Y;for(Y=0;Y<J;Y++){const te=m[Y]=j?Dt(m[Y]):ut(m[Y]);_(h[Y],te,E,null,A,D,F,R,j)}I>z?ke(h,A,D,!0,!1,J):P(m,E,L,A,D,F,R,j,J)},ht=(h,m,E,L,A,D,F,R,j)=>{let I=0;const z=m.length;let J=h.length-1,Y=z-1;for(;I<=J&&I<=Y;){const te=h[I],re=m[I]=j?Dt(m[I]):ut(m[I]);if(Qt(te,re))_(te,re,E,null,A,D,F,R,j);else break;I++}for(;I<=J&&I<=Y;){const te=h[J],re=m[Y]=j?Dt(m[Y]):ut(m[Y]);if(Qt(te,re))_(te,re,E,null,A,D,F,R,j);else break;J--,Y--}if(I>J){if(I<=Y){const te=Y+1,re=te<z?m[te].el:L;for(;I<=Y;)_(null,m[I]=j?Dt(m[I]):ut(m[I]),E,re,A,D,F,R,j),I++}}else if(I>Y)for(;I<=J;)Ie(h[I],A,D,!0),I++;else{const te=I,re=I,ue=new Map;for(I=re;I<=Y;I++){const Ke=m[I]=j?Dt(m[I]):ut(m[I]);Ke.key!=null&&ue.set(Ke.key,I)}let me,$e=0;const it=Y-re+1;let un=!1,Zs=0;const Hn=new Array(it);for(I=0;I<it;I++)Hn[I]=0;for(I=te;I<=J;I++){const Ke=h[I];if($e>=it){Ie(Ke,A,D,!0);continue}let mt;if(Ke.key!=null)mt=ue.get(Ke.key);else for(me=re;me<=Y;me++)if(Hn[me-re]===0&&Qt(Ke,m[me])){mt=me;break}mt===void 0?Ie(Ke,A,D,!0):(Hn[mt-re]=I+1,mt>=Zs?Zs=mt:un=!0,_(Ke,m[mt],E,null,A,D,F,R,j),$e++)}const el=un?m1(Hn):gn;for(me=el.length-1,I=it-1;I>=0;I--){const Ke=re+I,mt=m[Ke],tl=Ke+1<z?m[Ke+1].el:L;Hn[I]===0?_(null,mt,E,tl,A,D,F,R,j):un&&(me<0||I!==el[me]?Qe(mt,E,tl,2):me--)}}},Qe=(h,m,E,L,A=null)=>{const{el:D,type:F,transition:R,children:j,shapeFlag:I}=h;if(I&6){Qe(h.component.subTree,m,E,L);return}if(I&128){h.suspense.move(m,E,L);return}if(I&64){F.move(h,m,E,G);return}if(F===Je){r(D,m,E);for(let J=0;J<j.length;J++)Qe(j[J],m,E,L);r(h.anchor,m,E);return}if(F===Qn){b(h,m,E);return}if(L!==2&&I&1&&R)if(L===0)R.beforeEnter(D),r(D,m,E),Ve(()=>R.enter(D),A);else{const{leave:J,delayLeave:Y,afterLeave:te}=R,re=()=>r(D,m,E),ue=()=>{J(D,()=>{re(),te&&te()})};Y?Y(D,re,ue):ue()}else r(D,m,E)},Ie=(h,m,E,L=!1,A=!1)=>{const{type:D,props:F,ref:R,children:j,dynamicChildren:I,shapeFlag:z,patchFlag:J,dirs:Y}=h;if(R!=null&&eo(R,null,E,h,!0),z&256){m.ctx.deactivate(h);return}const te=z&1&&Y,re=!Kn(h);let ue;if(re&&(ue=F&&F.onVnodeBeforeUnmount)&&Ze(ue,m,h),z&6)vt(h.component,E,L);else{if(z&128){h.suspense.unmount(E,L);return}te&>(h,null,m,"beforeUnmount"),z&64?h.type.remove(h,m,E,A,G,L):I&&(D!==Je||J>0&&J&64)?ke(I,m,E,!1,!0):(D===Je&&J&384||!A&&z&16)&&ke(j,m,E),L&&Ge(h)}(re&&(ue=F&&F.onVnodeUnmounted)||te)&&Ve(()=>{ue&&Ze(ue,m,h),te&>(h,null,m,"unmounted")},E)},Ge=h=>{const{type:m,el:E,anchor:L,transition:A}=h;if(m===Je){_t(E,L);return}if(m===Qn){k(h);return}const D=()=>{o(E),A&&!A.persisted&&A.afterLeave&&A.afterLeave()};if(h.shapeFlag&1&&A&&!A.persisted){const{leave:F,delayLeave:R}=A,j=()=>F(E,D);R?R(h.el,D,j):j()}else D()},_t=(h,m)=>{let E;for(;h!==m;)E=p(h),o(h),h=E;o(m)},vt=(h,m,E)=>{const{bum:L,scope:A,update:D,subTree:F,um:R}=h;L&&_o(L),A.stop(),D&&(D.active=!1,Ie(F,h,m,E)),R&&Ve(R,m),Ve(()=>{h.isUnmounted=!0},m),m&&m.pendingBranch&&!m.isUnmounted&&h.asyncDep&&!h.asyncResolved&&h.suspenseId===m.pendingId&&(m.deps--,m.deps===0&&m.resolve())},ke=(h,m,E,L=!1,A=!1,D=0)=>{for(let F=D;F<h.length;F++)Ie(h[F],m,E,L,A)},T=h=>h.shapeFlag&6?T(h.component.subTree):h.shapeFlag&128?h.suspense.next():p(h.anchor||h.el);let H=!1;const B=(h,m,E)=>{h==null?m._vnode&&Ie(m._vnode,null,null,!0):_(m._vnode||null,h,m,null,null,null,E),H||(H=!0,ul(),Qr(),H=!1),m._vnode=h},G={p:_,um:Ie,m:Qe,r:Ge,mt:ye,mc:P,pc:W,pbc:$,n:T,o:e};let se,fe;return t&&([se,fe]=t(G)),{render:B,hydrate:se,createApp:s1(B,se)}}function To({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 Gt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Ci(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Si(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]=Dt(o[s]),a.el=l.el),n||Si(l,a)),a.type===Tn&&(a.el=l.el)}}function m1(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 xi(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:xi(t)}const g1=e=>e.__isTeleport,Je=Symbol.for("v-fgt"),Tn=Symbol.for("v-txt"),ot=Symbol.for("v-cmt"),Qn=Symbol.for("v-stc"),Xn=[];let ft=null;function b1(e=!1){Xn.push(ft=e?null:[])}function y1(){Xn.pop(),ft=Xn[Xn.length-1]||null}let ar=1;function El(e){ar+=e}function ki(e){return e.dynamicChildren=ar>0?ft||gn:null,y1(),ar>0&&ft&&ft.push(e),e}function o4(e,t,n,r,o,s){return ki(Ai(e,t,n,r,o,s,!0))}function w1(e,t,n,r,o){return ki(Ee(e,t,n,r,o,!0))}function ns(e){return e?e.__v_isVNode===!0:!1}function Qt(e,t){return e.type===t.type&&e.key===t.key}const po="__vInternal",Ti=({key:e})=>e??null,Wr=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ce(e)||Re(e)||ne(e)?{i:nt,r:e,k:t,f:!!n}:e:null);function Ai(e,t=null,n=null,r=0,o=null,s=e===Je?0:1,l=!1,a=!1){const i={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ti(t),ref:t&&Wr(t),scopeId:si,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:nt};return a?(Ns(i,n),s&128&&e.normalize(i)):n&&(i.shapeFlag|=Ce(n)?8:16),ar>0&&!l&&ft&&(i.patchFlag>0||s&6)&&i.patchFlag!==32&&ft.push(i),i}const Ee=_1;function _1(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===Rf)&&(e=ot),ns(e)){const a=Vt(e,t,!0);return n&&Ns(a,n),ar>0&&!s&&ft&&(a.shapeFlag&6?ft[ft.indexOf(e)]=a:ft.push(a)),a.patchFlag|=-2,a}if(P1(e)&&(e=e.__vccOpts),t){t=E1(t);let{class:a,style:i}=t;a&&!Ce(a)&&(t.class=lo(a)),pe(i)&&(Ja(i)&&!X(i)&&(i=Ae({},i)),t.style=so(i))}const l=Ce(e)?1:Nf(e)?128:g1(e)?64:pe(e)?4:ne(e)?2:0;return Ai(e,t,n,r,o,l,s,!0)}function E1(e){return e?Ja(e)||po in e?Ae({},e):e:null}function Vt(e,t,n=!1){const{props:r,ref:o,patchFlag:s,children:l}=e,a=t?C1(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Ti(a),ref:t&&t.ref?n&&o?X(o)?o.concat(Wr(t)):[o,Wr(t)]:Wr(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!==Je?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&&Vt(e.ssContent),ssFallback:e.ssFallback&&Vt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Li(e=" ",t=0){return Ee(Tn,null,e,t)}function s4(e,t){const n=Ee(Qn,null,e);return n.staticCount=t,n}function l4(e="",t=!1){return t?(b1(),w1(ot,null,e)):Ee(ot,null,e)}function ut(e){return e==null||typeof e=="boolean"?Ee(ot):X(e)?Ee(Je,null,e.slice()):typeof e=="object"?Dt(e):Ee(Tn,null,String(e))}function Dt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Vt(e)}function Ns(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),Ns(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(po in t)?t._ctx=nt:o===3&&nt&&(nt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ne(t)?(t={default:t,_ctx:nt},n=32):(t=String(t),r&64?(n=16,t=[Li(t)]):n=8);e.children=t,e.shapeFlag|=n}function C1(...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=lo([t.class,r.class]));else if(o==="style")t.style=so([t.style,r.style]);else if(vr(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 Ze(e,t,n,r=null){rt(e,t,7,[n,r])}const S1=gi();let x1=0;function k1(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||S1,s={uid:x1++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new Wu(!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:yi(r,o),emitsOptions:oi(r,o),emit:null,emitted:null,propsDefaults:ge,inheritAttrs:r.inheritAttrs,ctx:ge,data:ge,props:ge,attrs:ge,slots:ge,refs:ge,setupState:ge,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=Af.bind(null,s),e.ce&&e.ce(s),s}let Pe=null;const _r=()=>Pe||nt;let to,rs;{const e=Ra(),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)}};to=t("__VUE_INSTANCE_SETTERS__",n=>Pe=n),rs=t("__VUE_SSR_SETTERS__",n=>Cr=n)}const Er=e=>{const t=Pe;return to(e),e.scope.on(),()=>{e.scope.off(),to(t)}},Cl=()=>{Pe&&Pe.scope.off(),to(null)};function Ii(e){return e.vnode.shapeFlag&4}let Cr=!1;function T1(e,t=!1){t&&rs(t);const{props:n,children:r}=e.vnode,o=Ii(e);l1(e,n,o,t),c1(e,r);const s=o?A1(e,t):void 0;return t&&rs(!1),s}function A1(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Qa(new Proxy(e.ctx,Xf));const{setup:r}=n;if(r){const o=e.setupContext=r.length>1?I1(e):null,s=Er(e);rn();const l=Ht(r,e,0,[e.props,o]);if(on(),s(),$a(l)){if(l.then(Cl,Cl),t)return l.then(a=>{Sl(e,a,t)}).catch(a=>{yr(a,e,0)});e.asyncDep=l}else Sl(e,l,t)}else $i(e,t)}function Sl(e,t,n){ne(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:pe(t)&&(e.setupState=ei(t)),$i(e,n)}let xl;function $i(e,t,n){const r=e.type;if(!e.render){if(!t&&xl&&!r.render){const o=r.template||Rs(e).template;if(o){const{isCustomElement:s,compilerOptions:l}=e.appContext.config,{delimiters:a,compilerOptions:i}=r,c=Ae(Ae({isCustomElement:s,delimiters:a},l),i);r.render=xl(o,c)}}e.render=r.render||tt}{const o=Er(e);rn();try{Zf(e)}finally{on(),o()}}}function L1(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return We(e,"get","$attrs"),t[n]}}))}function I1(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return L1(e)},slots:e.slots,emit:e.emit,expose:t}}function Ds(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(ei(Qa(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Yn)return Yn[n](e)},has(t,n){return n in t||n in Yn}}))}function $1(e,t=!0){return ne(e)?e.displayName||e.name:e.name||t&&e.__name}function P1(e){return ne(e)&&"__vccOpts"in e}const x=(e,t)=>mf(e,t,Cr);function f(e,t,n){const r=arguments.length;return r===2?pe(t)&&!X(t)?ns(t)?Ee(e,null,[t]):Ee(e,t):Ee(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&ns(n)&&(n=[n]),Ee(e,t,n))}const O1="3.4.21";/**
|
|
* @vue/runtime-dom v3.4.21
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/const R1="http://www.w3.org/2000/svg",M1="http://www.w3.org/1998/Math/MathML",jt=typeof document<"u"?document:null,kl=jt&&jt.createElement("template"),N1={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"?jt.createElementNS(R1,e):t==="mathml"?jt.createElementNS(M1,e):jt.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>jt.createTextNode(e),createComment:e=>jt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>jt.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{kl.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const a=kl.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]}},$t="transition",zn="animation",An=Symbol("_vtc"),qt=(e,{slots:t})=>f(Hf,Oi(e),t);qt.displayName="Transition";const Pi={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},D1=qt.props=Ae({},fi,Pi),Kt=(e,t=[])=>{X(e)?e.forEach(n=>n(...t)):e&&e(...t)},Tl=e=>e?X(e)?e.some(t=>t.length>1):e.length>1:!1;function Oi(e){const t={};for(const O in e)O in Pi||(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:v=`${n}-leave-to`}=e,g=j1(o),_=g&&g[0],w=g&&g[1],{onBeforeEnter:y,onEnter:C,onEnterCancelled:b,onLeave:k,onLeaveCancelled:M,onBeforeAppear:S=y,onAppear:N=C,onAppearCancelled:P=b}=t,K=(O,Z,ye)=>{Rt(O,Z?u:a),Rt(O,Z?c:l),ye&&ye()},$=(O,Z)=>{O._isLeaving=!1,Rt(O,d),Rt(O,v),Rt(O,p),Z&&Z()},V=O=>(Z,ye)=>{const ve=O?N:C,q=()=>K(Z,O,ye);Kt(ve,[Z,q]),Al(()=>{Rt(Z,O?i:s),Ct(Z,O?u:a),Tl(ve)||Ll(Z,r,_,q)})};return Ae(t,{onBeforeEnter(O){Kt(y,[O]),Ct(O,s),Ct(O,l)},onBeforeAppear(O){Kt(S,[O]),Ct(O,i),Ct(O,c)},onEnter:V(!1),onAppear:V(!0),onLeave(O,Z){O._isLeaving=!0;const ye=()=>$(O,Z);Ct(O,d),Mi(),Ct(O,p),Al(()=>{O._isLeaving&&(Rt(O,d),Ct(O,v),Tl(k)||Ll(O,r,w,ye))}),Kt(k,[O,ye])},onEnterCancelled(O){K(O,!1),Kt(b,[O])},onAppearCancelled(O){K(O,!0),Kt(P,[O])},onLeaveCancelled(O){$(O),Kt(M,[O])}})}function j1(e){if(e==null)return null;if(pe(e))return[Ao(e.enter),Ao(e.leave)];{const t=Ao(e);return[t,t]}}function Ao(e){return Bu(e)}function Ct(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[An]||(e[An]=new Set)).add(t)}function Rt(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[An];n&&(n.delete(t),n.size||(e[An]=void 0))}function Al(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let B1=0;function Ll(e,t,n,r){const o=e._endId=++B1,s=()=>{o===e._endId&&r()};if(n)return setTimeout(s,n);const{type:l,timeout:a,propCount:i}=Ri(e,t);if(!l)return r();const c=l+"end";let u=0;const d=()=>{e.removeEventListener(c,p),s()},p=v=>{v.target===e&&++u>=i&&d()};setTimeout(()=>{u<i&&d()},a+1),e.addEventListener(c,p)}function Ri(e,t){const n=window.getComputedStyle(e),r=g=>(n[g]||"").split(", "),o=r(`${$t}Delay`),s=r(`${$t}Duration`),l=Il(o,s),a=r(`${zn}Delay`),i=r(`${zn}Duration`),c=Il(a,i);let u=null,d=0,p=0;t===$t?l>0&&(u=$t,d=l,p=s.length):t===zn?c>0&&(u=zn,d=c,p=i.length):(d=Math.max(l,c),u=d>0?l>c?$t:zn:null,p=u?u===$t?s.length:i.length:0);const v=u===$t&&/\b(transform|all)(,|$)/.test(r(`${$t}Property`).toString());return{type:u,timeout:d,propCount:p,hasTransform:v}}function Il(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>$l(n)+$l(e[r])))}function $l(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Mi(){return document.body.offsetHeight}function F1(e,t,n){const r=e[An];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Pl=Symbol("_vod"),H1=Symbol("_vsh"),z1=Symbol(""),V1=/(^|;)\s*display\s*:/;function q1(e,t,n){const r=e.style,o=Ce(n);let s=!1;if(n&&!o){if(t)if(Ce(t))for(const l of t.split(";")){const a=l.slice(0,l.indexOf(":")).trim();n[a]==null&&Gr(r,a,"")}else for(const l in t)n[l]==null&&Gr(r,l,"");for(const l in n)l==="display"&&(s=!0),Gr(r,l,n[l])}else if(o){if(t!==n){const l=r[z1];l&&(n+=";"+l),r.cssText=n,s=V1.test(n)}}else t&&e.removeAttribute("style");Pl in e&&(e[Pl]=s?r.display:"",e[H1]&&(r.display="none"))}const Ol=/\s*!important$/;function Gr(e,t,n){if(X(n))n.forEach(r=>Gr(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=U1(e,t);Ol.test(n)?e.setProperty(Rn(r),n.replace(Ol,""),"important"):e[r]=n}}const Rl=["Webkit","Moz","ms"],Lo={};function U1(e,t){const n=Lo[t];if(n)return n;let r=lt(t);if(r!=="filter"&&r in e)return Lo[t]=r;r=mr(r);for(let o=0;o<Rl.length;o++){const s=Rl[o]+r;if(s in e)return Lo[t]=s}return t}const Ml="http://www.w3.org/1999/xlink";function W1(e,t,n,r,o){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Ml,t.slice(6,t.length)):e.setAttributeNS(Ml,t,n);else{const s=Uu(t);n==null||s&&!Ma(n)?e.removeAttribute(t):e.setAttribute(t,s?"":n)}}function G1(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=Ma(n):n==null&&c==="string"?(n="",i=!0):c==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(t)}function K1(e,t,n,r){e.addEventListener(t,n,r)}function Y1(e,t,n,r){e.removeEventListener(t,n,r)}const Nl=Symbol("_vei");function J1(e,t,n,r,o=null){const s=e[Nl]||(e[Nl]={}),l=s[t];if(r&&l)l.value=r;else{const[a,i]=Q1(t);if(r){const c=s[t]=ed(r,o);K1(e,a,c,i)}else l&&(Y1(e,a,l,i),s[t]=void 0)}}const Dl=/(?:Once|Passive|Capture)$/;function Q1(e){let t;if(Dl.test(e)){t={};let r;for(;r=e.match(Dl);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Rn(e.slice(2)),t]}let Io=0;const X1=Promise.resolve(),Z1=()=>Io||(X1.then(()=>Io=0),Io=Date.now());function ed(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;rt(td(r,n.value),t,5,[r])};return n.value=e,n.attached=Z1(),n}function td(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 jl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,nd=(e,t,n,r,o,s,l,a,i)=>{const c=o==="svg";t==="class"?F1(e,r,c):t==="style"?q1(e,n,r):vr(t)?ys(t)||J1(e,t,n,r,l):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):rd(e,t,r,c))?G1(e,t,r,s,l,a,i):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),W1(e,t,r,c))};function rd(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&jl(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 jl(t)&&Ce(n)?!1:t in e}const Ni=new WeakMap,Di=new WeakMap,no=Symbol("_moveCb"),Bl=Symbol("_enterCb"),ji={name:"TransitionGroup",props:Ae({},D1,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=_r(),r=ui();let o,s;return hi(()=>{if(!o.length)return;const l=e.moveClass||`${e.name||"v"}-move`;if(!cd(o[0].el,n.vnode.el,l))return;o.forEach(ld),o.forEach(ad);const a=o.filter(id);Mi(),a.forEach(i=>{const c=i.el,u=c.style;Ct(c,l),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[no]=p=>{p&&p.target!==c||(!p||/transform$/.test(p.propertyName))&&(c.removeEventListener("transitionend",d),c[no]=null,Rt(c,l))};c.addEventListener("transitionend",d)})}),()=>{const l=oe(e),a=Oi(l);let i=l.tag||Je;o=s,s=t.default?Os(t.default()):[];for(let c=0;c<s.length;c++){const u=s[c];u.key!=null&&lr(u,sr(u,a,r,n))}if(o)for(let c=0;c<o.length;c++){const u=o[c];lr(u,sr(u,a,r,n)),Ni.set(u,u.el.getBoundingClientRect())}return Ee(i,null,s)}}},od=e=>delete e.mode;ji.props;const sd=ji;function ld(e){const t=e.el;t[no]&&t[no](),t[Bl]&&t[Bl]()}function ad(e){Di.set(e,e.el.getBoundingClientRect())}function id(e){const t=Ni.get(e),n=Di.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 cd(e,t,n){const r=e.cloneNode(),o=e[An];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}=Ri(r);return s.removeChild(r),l}const ud=Ae({patchProp:nd},N1);let $o,Fl=!1;function fd(){return $o=Fl?$o:h1(ud),Fl=!0,$o}const dd=(...e)=>{const t=fd().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=hd(r);if(o)return n(o,!0,pd(o))},t};function pd(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function hd(e){return Ce(e)?document.querySelector(e):e}var vd=["link","meta","script","style","noscript","template"],md=["title","base"],gd=([e,t,n])=>md.includes(e)?e:vd.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=gd(r);o&&!t.has(o)&&(t.add(o),n.push(r))}),n},yd=e=>e[0]==="/"?e:`/${e}`,Bi=e=>e[e.length-1]==="/"||e.endsWith(".html")?e:`${e}/`,sn=e=>/^(https?:)?\/\//.test(e),wd=/.md((\?|#).*)?$/,Ln=(e,t="/")=>!!(sn(e)||e.startsWith("/")&&!e.startsWith(t)&&!wd.test(e)),Fi=e=>/^[a-z][a-z0-9+.-]*:/.test(e),Nn=e=>Object.prototype.toString.call(e)==="[object Object]",_d=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("")},js=e=>e[e.length-1]==="/"?e.slice(0,-1):e,Hi=e=>e[0]==="/"?e.slice(1):e,Ed=(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"/"},Te=e=>typeof e=="string";const Cd="modulepreload",Sd=function(e){return"/"+e},Hl={},Be=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=Sd(i),i in Hl)return;Hl[i]=!0;const c=i.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(!!r)for(let v=s.length-1;v>=0;v--){const g=s[v];if(g.href===i&&(!c||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${u}`))return;const p=document.createElement("link");if(p.rel=c?"stylesheet":Cd,c||(p.as="script",p.crossOrigin=""),p.href=i,a&&p.setAttribute("nonce",a),document.head.appendChild(p),c)return new Promise((v,g)=>{p.addEventListener("load",v),p.addEventListener("error",()=>g(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})},xd=JSON.parse("{}"),kd=Object.fromEntries([["/",{loader:()=>Be(()=>import("./index.html-R-ktAyT3.js"),__vite__mapDeps([0,1])),meta:{t:"项目主页",i:"home"}}],["/demo/",{loader:()=>Be(()=>import("./index.html-C1tosKoH.js"),__vite__mapDeps([2,1])),meta:{t:"主要功能与配置演示",i:"laptop-code"}}],["/demo/disable.html",{loader:()=>Be(()=>import("./disable.html-D2J4dCwK.js"),__vite__mapDeps([3,1])),meta:{t:"布局与功能禁用",i:"gears",O:4}}],["/demo/encrypt.html",{loader:()=>Be(()=>import("./encrypt.html-Cx7WfUa6.js"),__vite__mapDeps([4,1])),meta:{t:"密码加密的文章",i:"lock"}}],["/demo/layout.html",{loader:()=>Be(()=>import("./layout.html-BUR_rOiN.js"),__vite__mapDeps([5,1])),meta:{t:"布局",i:"object-group",O:2}}],["/demo/markdown.html",{loader:()=>Be(()=>import("./markdown.html-CGsijoGI.js"),__vite__mapDeps([6,1])),meta:{t:"Markdown 展示",i:"fab fa-markdown",O:2}}],["/demo/page.html",{loader:()=>Be(()=>import("./page.html-CGDkqd5g.js"),__vite__mapDeps([7,1])),meta:{t:"页面配置",i:"file",O:3}}],["/guide/",{loader:()=>Be(()=>import("./index.html-CrRhzlDh.js"),__vite__mapDeps([8,1])),meta:{t:"指南",i:"lightbulb"}}],["/guide/bar/",{loader:()=>Be(()=>import("./index.html-BglpHp0w.js"),__vite__mapDeps([9,1])),meta:{t:"Bar 功能",i:"lightbulb"}}],["/guide/bar/baz.html",{loader:()=>Be(()=>import("./baz.html-BXj5phoV.js"),__vite__mapDeps([10,1])),meta:{t:"Baz",i:"circle-info"}}],["/guide/foo/",{loader:()=>Be(()=>import("./index.html-Cl_xdcm3.js"),__vite__mapDeps([11,1])),meta:{t:"Foo 功能",i:"lightbulb"}}],["/guide/foo/ray.html",{loader:()=>Be(()=>import("./ray.html-CmAvfC9o.js"),__vite__mapDeps([12,1])),meta:{t:"Ray",i:"circle-info"}}],["/404.html",{loader:()=>Be(()=>import("./404.html-DoCRCVfV.js"),__vite__mapDeps([13,1])),meta:{t:""}}]]);/*!
|
|
* vue-router v4.3.0
|
|
* (c) 2024 Eduardo San Martin Morote
|
|
* @license MIT
|
|
*/const dn=typeof document<"u";function Td(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const ce=Object.assign;function Po(e,t){const n={};for(const r in t){const o=t[r];n[r]=pt(o)?o.map(e):e(o)}return n}const Zn=()=>{},pt=Array.isArray,zi=/#/g,Ad=/&/g,Ld=/\//g,Id=/=/g,$d=/\?/g,Vi=/\+/g,Pd=/%5B/g,Od=/%5D/g,qi=/%5E/g,Rd=/%60/g,Ui=/%7B/g,Md=/%7C/g,Wi=/%7D/g,Nd=/%20/g;function Bs(e){return encodeURI(""+e).replace(Md,"|").replace(Pd,"[").replace(Od,"]")}function Dd(e){return Bs(e).replace(Ui,"{").replace(Wi,"}").replace(qi,"^")}function os(e){return Bs(e).replace(Vi,"%2B").replace(Nd,"+").replace(zi,"%23").replace(Ad,"%26").replace(Rd,"`").replace(Ui,"{").replace(Wi,"}").replace(qi,"^")}function jd(e){return os(e).replace(Id,"%3D")}function Bd(e){return Bs(e).replace(zi,"%23").replace($d,"%3F")}function Fd(e){return e==null?"":Bd(e).replace(Ld,"%2F")}function ir(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Hd=/\/$/,zd=e=>e.replace(Hd,"");function Oo(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=Wd(r??t,n),{fullPath:r+(s&&"?")+s+l,path:r,query:o,hash:ir(l)}}function Vd(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function zl(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function qd(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&In(t.matched[r],n.matched[o])&&Gi(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function In(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Gi(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Ud(e[n],t[n]))return!1;return!0}function Ud(e,t){return pt(e)?Vl(e,t):pt(t)?Vl(t,e):e===t}function Vl(e,t){return pt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Wd(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 cr;(function(e){e.pop="pop",e.push="push"})(cr||(cr={}));var er;(function(e){e.back="back",e.forward="forward",e.unknown=""})(er||(er={}));function Gd(e){if(!e)if(dn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),zd(e)}const Kd=/^[^#]+#/;function Yd(e,t){return e.replace(Kd,"#")+t}function Jd(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 ho=()=>({left:window.scrollX,top:window.scrollY});function Qd(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=Jd(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 ql(e,t){return(history.state?history.state.position-t:-1)+e}const ss=new Map;function Xd(e,t){ss.set(e,t)}function Zd(e){const t=ss.get(e);return ss.delete(e),t}let e0=()=>location.protocol+"//"+location.host;function Ki(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),zl(i,"")}return zl(n,e)+r+o}function t0(e,t,n,r){let o=[],s=[],l=null;const a=({state:p})=>{const v=Ki(e,location),g=n.value,_=t.value;let w=0;if(p){if(n.value=v,t.value=p,l&&l===g){l=null;return}w=_?p.position-_.position:0}else r(v);o.forEach(y=>{y(n.value,g,{delta:w,type:cr.pop,direction:w?w>0?er.forward:er.back:er.unknown})})};function i(){l=n.value}function c(p){o.push(p);const v=()=>{const g=o.indexOf(p);g>-1&&o.splice(g,1)};return s.push(v),v}function u(){const{history:p}=window;p.state&&p.replaceState(ce({},p.state,{scroll:ho()}),"")}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 Ul(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?ho():null}}function n0(e){const{history:t,location:n}=window,r={value:Ki(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:e0()+e+i;try{t[u?"replaceState":"pushState"](c,"",p),o.value=c}catch(v){console.error(v),n[u?"replace":"assign"](p)}}function l(i,c){const u=ce({},t.state,Ul(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:ho()});s(u.current,u,!0);const d=ce({},Ul(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 r0(e){e=Gd(e);const t=n0(e),n=t0(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:Yd.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 o0(e){return typeof e=="string"||e&&typeof e=="object"}function Yi(e){return typeof e=="string"||typeof e=="symbol"}const St={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Ji=Symbol("");var Wl;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Wl||(Wl={}));function $n(e,t){return ce(new Error,{type:e,[Ji]:!0},t)}function Et(e,t){return e instanceof Error&&Ji in e&&(t==null||!!(e.type&t))}const Gl="[^/]+?",s0={sensitive:!1,strict:!1,start:!0,end:!0},l0=/[.+*?^${}()[\]/\\]/g;function a0(e,t){const n=ce({},s0,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 v=40+(n.sensitive?.25:0);if(p.type===0)d||(o+="/"),o+=p.value.replace(l0,"\\$&"),v+=40;else if(p.type===1){const{value:g,repeatable:_,optional:w,regexp:y}=p;s.push({name:g,repeatable:_,optional:w});const C=y||Gl;if(C!==Gl){v+=10;try{new RegExp(`(${C})`)}catch(k){throw new Error(`Invalid custom RegExp for param "${g}" (${C}): `+k.message)}}let b=_?`((?:${C})(?:/(?:${C}))*)`:`(${C})`;d||(b=w&&c.length<2?`(?:/${b})`:"/"+b),w&&(b+="?"),o+=b,v+=20,w&&(v+=-8),_&&(v+=-20),C===".*"&&(v+=-50)}u.push(v)}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 v=u[p]||"",g=s[p-1];d[g.name]=v&&g.repeatable?v.split("/"):v}return d}function i(c){let u="",d=!1;for(const p of e){(!d||!u.endsWith("/"))&&(u+="/"),d=!1;for(const v of p)if(v.type===0)u+=v.value;else if(v.type===1){const{value:g,repeatable:_,optional:w}=v,y=g in c?c[g]:"";if(pt(y)&&!_)throw new Error(`Provided param "${g}" is an array but it is not repeatable (* or + modifiers)`);const C=pt(y)?y.join("/"):y;if(!C)if(w)p.length<2&&(u.endsWith("/")?u=u.slice(0,-1):d=!0);else throw new Error(`Missing required param "${g}"`);u+=C}}return u||"/"}return{re:l,score:r,keys:s,parse:a,stringify:i}}function i0(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 c0(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const s=i0(r[n],o[n]);if(s)return s;n++}if(Math.abs(o.length-r.length)===1){if(Kl(r))return 1;if(Kl(o))return-1}return o.length-r.length}function Kl(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const u0={type:0,value:""},f0=/[a-zA-Z0-9_]/;function d0(e){if(!e)return[[]];if(e==="/")return[[u0]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(v){throw new Error(`ERR (${n})/"${c}": ${v}`)}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:f0.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 p0(e,t,n){const r=a0(d0(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 h0(e,t){const n=[],r=new Map;t=Ql({strict:!1,end:!0,sensitive:!1},t);function o(u){return r.get(u)}function s(u,d,p){const v=!p,g=v0(u);g.aliasOf=p&&p.record;const _=Ql(t,u),w=[g];if("alias"in u){const b=typeof u.alias=="string"?[u.alias]:u.alias;for(const k of b)w.push(ce({},g,{components:p?p.record.components:g.components,path:k,aliasOf:p?p.record:g}))}let y,C;for(const b of w){const{path:k}=b;if(d&&k[0]!=="/"){const M=d.record.path,S=M[M.length-1]==="/"?"":"/";b.path=d.record.path+(k&&S+k)}if(y=p0(b,d,_),p?p.alias.push(y):(C=C||y,C!==y&&C.alias.push(y),v&&u.name&&!Jl(y)&&l(u.name)),g.children){const M=g.children;for(let S=0;S<M.length;S++)s(M[S],y,p&&p.children[S])}p=p||y,(y.record.components&&Object.keys(y.record.components).length||y.record.name||y.record.redirect)&&i(y)}return C?()=>{l(C)}:Zn}function l(u){if(Yi(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&&c0(u,n[d])>=0&&(u.record.path!==n[d].record.path||!Qi(u,n[d]));)d++;n.splice(d,0,u),u.record.name&&!Jl(u)&&r.set(u.record.name,u)}function c(u,d){let p,v={},g,_;if("name"in u&&u.name){if(p=r.get(u.name),!p)throw $n(1,{location:u});_=p.record.name,v=ce(Yl(d.params,p.keys.filter(C=>!C.optional).concat(p.parent?p.parent.keys.filter(C=>C.optional):[]).map(C=>C.name)),u.params&&Yl(u.params,p.keys.map(C=>C.name))),g=p.stringify(v)}else if(u.path!=null)g=u.path,p=n.find(C=>C.re.test(g)),p&&(v=p.parse(g),_=p.record.name);else{if(p=d.name?r.get(d.name):n.find(C=>C.re.test(d.path)),!p)throw $n(1,{location:u,currentLocation:d});_=p.record.name,v=ce({},d.params,u.params),g=p.stringify(v)}const w=[];let y=p;for(;y;)w.unshift(y.record),y=y.parent;return{name:_,path:g,params:v,matched:w,meta:g0(w)}}return e.forEach(u=>s(u)),{addRoute:s,resolve:c,removeRoute:l,getRoutes:a,getRecordMatcher:o}}function Yl(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function v0(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:m0(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 m0(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 Jl(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function g0(e){return e.reduce((t,n)=>ce(t,n.meta),{})}function Ql(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Qi(e,t){return t.children.some(n=>n===e||Qi(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(Vi," "),l=s.indexOf("="),a=ir(l<0?s:s.slice(0,l)),i=l<0?null:ir(s.slice(l+1));if(a in t){let c=t[a];pt(c)||(c=t[a]=[c]),c.push(i)}else t[a]=i}return t}function Xl(e){let t="";for(let n in e){const r=e[n];if(n=jd(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(pt(r)?r.map(s=>s&&os(s)):[r&&os(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function y0(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=pt(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const w0=Symbol(""),Zl=Symbol(""),vo=Symbol(""),Fs=Symbol(""),ls=Symbol("");function Vn(){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 Bt(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($n(4,{from:n,to:t})):p instanceof Error?i(p):o0(p)?i($n(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 Ro(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(_0(i)){const u=(i.__vccOpts||i)[t];u&&s.push(Bt(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=Td(u)?u.default:u;l.components[a]=d;const v=(d.__vccOpts||d)[t];return v&&Bt(v,n,r,l,a,o)()}))}}return s}function _0(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function ea(e){const t=Oe(vo),n=Oe(Fs),r=x(()=>t.resolve(tn(e.to))),o=x(()=>{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(In.bind(null,u));if(p>-1)return p;const v=ta(i[c-2]);return c>1&&ta(u)===v&&d[d.length-1].path!==v?d.findIndex(In.bind(null,i[c-2])):p}),s=x(()=>o.value>-1&&x0(n.params,r.value.params)),l=x(()=>o.value>-1&&o.value===n.matched.length-1&&Gi(n.params,r.value.params));function a(i={}){return S0(i)?t[tn(e.replace)?"replace":"push"](tn(e.to)).catch(Zn):Promise.resolve()}return{route:r,href:x(()=>r.value.href),isActive:s,isExactActive:l,navigate:a}}const E0=U({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:ea,setup(e,{slots:t}){const n=gr(ea(e)),{options:r}=Oe(vo),o=x(()=>({[na(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[na(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)}}}),C0=E0;function S0(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 x0(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(!pt(o)||o.length!==r.length||r.some((s,l)=>s!==o[l]))return!1}return!0}function ta(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const na=(e,t,n)=>e??t??n,k0=U({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Oe(ls),o=x(()=>e.route||r.value),s=Oe(Zl,0),l=x(()=>{let c=tn(s);const{matched:u}=o.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),a=x(()=>o.value.matched[l.value]);En(Zl,x(()=>l.value+1)),En(w0,a),En(ls,o);const i=Q();return ie(()=>[i.value,a.value,e.name],([c,u,d],[p,v,g])=>{u&&(u.instances[d]=c,v&&v!==u&&c&&c===p&&(u.leaveGuards.size||(u.leaveGuards=v.leaveGuards),u.updateGuards.size||(u.updateGuards=v.updateGuards))),c&&u&&(!v||!In(u,v)||!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 ra(n.default,{Component:p,route:c});const v=d.props[u],g=v?v===!0?c.params:typeof v=="function"?v(c):v:null,w=f(p,ce({},g,t,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(d.instances[u]=null)},ref:i}));return ra(n.default,{Component:w,route:c})||w}}});function ra(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const T0=k0;function A0(e){const t=h0(e.routes,e),n=e.parseQuery||b0,r=e.stringifyQuery||Xl,o=e.history,s=Vn(),l=Vn(),a=Vn(),i=Me(St);let c=St;dn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Po.bind(null,T=>""+T),d=Po.bind(null,Fd),p=Po.bind(null,ir);function v(T,H){let B,G;return Yi(T)?(B=t.getRecordMatcher(T),G=H):G=T,t.addRoute(G,B)}function g(T){const H=t.getRecordMatcher(T);H&&t.removeRoute(H)}function _(){return t.getRoutes().map(T=>T.record)}function w(T){return!!t.getRecordMatcher(T)}function y(T,H){if(H=ce({},H||i.value),typeof T=="string"){const m=Oo(n,T,H.path),E=t.resolve({path:m.path},H),L=o.createHref(m.fullPath);return ce(m,E,{params:p(E.params),hash:ir(m.hash),redirectedFrom:void 0,href:L})}let B;if(T.path!=null)B=ce({},T,{path:Oo(n,T.path,H.path).path});else{const m=ce({},T.params);for(const E in m)m[E]==null&&delete m[E];B=ce({},T,{params:d(m)}),H.params=d(H.params)}const G=t.resolve(B,H),se=T.hash||"";G.params=u(p(G.params));const fe=Vd(r,ce({},T,{hash:Dd(se),path:G.path})),h=o.createHref(fe);return ce({fullPath:fe,hash:se,query:r===Xl?y0(T.query):T.query||{}},G,{redirectedFrom:void 0,href:h})}function C(T){return typeof T=="string"?Oo(n,T,i.value.path):ce({},T)}function b(T,H){if(c!==T)return $n(8,{from:H,to:T})}function k(T){return N(T)}function M(T){return k(ce(C(T),{replace:!0}))}function S(T){const H=T.matched[T.matched.length-1];if(H&&H.redirect){const{redirect:B}=H;let G=typeof B=="function"?B(T):B;return typeof G=="string"&&(G=G.includes("?")||G.includes("#")?G=C(G):{path:G},G.params={}),ce({query:T.query,hash:T.hash,params:G.path!=null?{}:T.params},G)}}function N(T,H){const B=c=y(T),G=i.value,se=T.state,fe=T.force,h=T.replace===!0,m=S(B);if(m)return N(ce(C(m),{state:typeof m=="object"?ce({},se,m.state):se,force:fe,replace:h}),H||B);const E=B;E.redirectedFrom=H;let L;return!fe&&qd(r,G,B)&&(L=$n(16,{to:E,from:G}),Qe(G,G,!0,!1)),(L?Promise.resolve(L):$(E,G)).catch(A=>Et(A)?Et(A,2)?A:ht(A):W(A,E,G)).then(A=>{if(A){if(Et(A,2))return N(ce({replace:h},C(A.to),{state:typeof A.to=="object"?ce({},se,A.to.state):se,force:fe}),H||E)}else A=O(E,G,!0,h,se);return V(E,G,A),A})}function P(T,H){const B=b(T,H);return B?Promise.reject(B):Promise.resolve()}function K(T){const H=_t.values().next().value;return H&&typeof H.runWithContext=="function"?H.runWithContext(T):T()}function $(T,H){let B;const[G,se,fe]=L0(T,H);B=Ro(G.reverse(),"beforeRouteLeave",T,H);for(const m of G)m.leaveGuards.forEach(E=>{B.push(Bt(E,T,H))});const h=P.bind(null,T,H);return B.push(h),ke(B).then(()=>{B=[];for(const m of s.list())B.push(Bt(m,T,H));return B.push(h),ke(B)}).then(()=>{B=Ro(se,"beforeRouteUpdate",T,H);for(const m of se)m.updateGuards.forEach(E=>{B.push(Bt(E,T,H))});return B.push(h),ke(B)}).then(()=>{B=[];for(const m of fe)if(m.beforeEnter)if(pt(m.beforeEnter))for(const E of m.beforeEnter)B.push(Bt(E,T,H));else B.push(Bt(m.beforeEnter,T,H));return B.push(h),ke(B)}).then(()=>(T.matched.forEach(m=>m.enterCallbacks={}),B=Ro(fe,"beforeRouteEnter",T,H,K),B.push(h),ke(B))).then(()=>{B=[];for(const m of l.list())B.push(Bt(m,T,H));return B.push(h),ke(B)}).catch(m=>Et(m,8)?m:Promise.reject(m))}function V(T,H,B){a.list().forEach(G=>K(()=>G(T,H,B)))}function O(T,H,B,G,se){const fe=b(T,H);if(fe)return fe;const h=H===St,m=dn?history.state:{};B&&(G||h?o.replace(T.fullPath,ce({scroll:h&&m&&m.scroll},se)):o.push(T.fullPath,se)),i.value=T,Qe(T,H,B,h),ht()}let Z;function ye(){Z||(Z=o.listen((T,H,B)=>{if(!vt.listening)return;const G=y(T),se=S(G);if(se){N(ce(se,{replace:!0}),G).catch(Zn);return}c=G;const fe=i.value;dn&&Xd(ql(fe.fullPath,B.delta),ho()),$(G,fe).catch(h=>Et(h,12)?h:Et(h,2)?(N(h.to,G).then(m=>{Et(m,20)&&!B.delta&&B.type===cr.pop&&o.go(-1,!1)}).catch(Zn),Promise.reject()):(B.delta&&o.go(-B.delta,!1),W(h,G,fe))).then(h=>{h=h||O(G,fe,!1),h&&(B.delta&&!Et(h,8)?o.go(-B.delta,!1):B.type===cr.pop&&Et(h,20)&&o.go(-1,!1)),V(G,fe,h)}).catch(Zn)}))}let ve=Vn(),q=Vn(),ee;function W(T,H,B){ht(T);const G=q.list();return G.length?G.forEach(se=>se(T,H,B)):console.error(T),Promise.reject(T)}function xe(){return ee&&i.value!==St?Promise.resolve():new Promise((T,H)=>{ve.add([T,H])})}function ht(T){return ee||(ee=!T,ye(),ve.list().forEach(([H,B])=>T?B(T):H()),ve.reset()),T}function Qe(T,H,B,G){const{scrollBehavior:se}=e;if(!dn||!se)return Promise.resolve();const fe=!B&&Zd(ql(T.fullPath,0))||(G||!B)&&history.state&&history.state.scroll||null;return Ut().then(()=>se(T,H,fe)).then(h=>h&&Qd(h)).catch(h=>W(h,T,H))}const Ie=T=>o.go(T);let Ge;const _t=new Set,vt={currentRoute:i,listening:!0,addRoute:v,removeRoute:g,hasRoute:w,getRoutes:_,resolve:y,options:e,push:k,replace:M,go:Ie,back:()=>Ie(-1),forward:()=>Ie(1),beforeEach:s.add,beforeResolve:l.add,afterEach:a.add,onError:q.add,isReady:xe,install(T){const H=this;T.component("RouterLink",C0),T.component("RouterView",T0),T.config.globalProperties.$router=H,Object.defineProperty(T.config.globalProperties,"$route",{enumerable:!0,get:()=>tn(i)}),dn&&!Ge&&i.value===St&&(Ge=!0,k(o.location).catch(se=>{}));const B={};for(const se in St)Object.defineProperty(B,se,{get:()=>i.value[se],enumerable:!0});T.provide(vo,H),T.provide(Fs,Ya(B)),T.provide(ls,i);const G=T.unmount;_t.add(T),T.unmount=function(){_t.delete(T),_t.size<1&&(c=St,Z&&Z(),Z=null,i.value=St,Ge=!1,ee=!1),G()}}};function ke(T){return T.reduce((H,B)=>H.then(()=>K(B)),Promise.resolve())}return vt}function L0(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=>In(c,a))?r.push(a):n.push(a));const i=e.matched[l];i&&(t.matched.find(c=>In(c,i))||o.push(i))}return[n,r,o]}function Dn(){return Oe(vo)}function ln(){return Oe(Fs)}var Hs=Symbol(""),wt=()=>{const e=Oe(Hs);if(!e)throw new Error("useClientData() is called without provider.");return e},I0=()=>wt().pageComponent,we=()=>wt().pageData,_e=()=>wt().pageFrontmatter,$0=()=>wt().pageHead,zs=()=>wt().pageLang,P0=()=>wt().pageLayout,jn=()=>wt().routeLocale,O0=()=>wt().routes,Xi=()=>wt().siteData,Vs=()=>wt().siteLocaleData,R0=Symbol(""),as=Me(xd),ur=Me(kd),Zi=e=>{const t=_d(e);if(ur.value[t])return t;const n=encodeURI(t);return ur.value[n]?n:as.value[t]||as.value[n]||t},mo=e=>{const t=Zi(e),n=ur.value[t]??{...ur.value["/404.html"],notFound:!0};return{path:t,notFound:!1,...n}},go=U({name:"ClientOnly",setup(e,t){const n=Q(!1);return be(()=>{n.value=!0}),()=>{var r,o;return n.value?(o=(r=t.slots).default)==null?void 0:o.call(r):null}}}),ec=U({name:"Content",props:{path:{type:String,required:!1,default:""}},setup(e){const t=I0(),n=x(()=>{if(!e.path)return t.value;const r=mo(e.path);return zf(()=>r.loader().then(({comp:o})=>o))});return()=>f(n.value)}}),at=(e={})=>e,He=e=>sn(e)?e:`/${Hi(e)}`,M0=e=>{if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget){const t=e.currentTarget.getAttribute("target");if(t!=null&&t.match(/\b_blank\b/i))return}return e.preventDefault(),!0}},qe=({active:e=!1,activeClass:t="route-link-active",to:n,...r},{slots:o})=>{var i;const s=Dn(),l=Zi(n),a=l.startsWith("#")||l.startsWith("?")?l:He(l);return f("a",{...r,class:["route-link",{[t]:e}],href:a,onClick:(c={})=>{M0(c)?s.push(n).catch():Promise.resolve()}},(i=o.default)==null?void 0:i.call(o))};qe.displayName="RouteLink";qe.props={active:Boolean,activeClass:String,to:String};var N0="Layout",D0="en-US",Yt=gr({resolveLayouts:e=>e.reduce((t,n)=>({...t,...n.layouts}),{}),resolvePageHead:(e,t,n)=>{const r=Te(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||D0,resolvePageLayout:(e,t)=>{const n=Te(e.frontmatter.layout)?e.frontmatter.layout:N0;if(!t[n])throw new Error(`[vuepress] Cannot resolve layout: ${n}`);return t[n]},resolveRouteLocale:(e,t)=>Ed(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 j0={},Sr=e=>{const t=jn();return x(()=>e[t.value]??{})};var Fe=Uint8Array,vn=Uint16Array,B0=Int32Array,tc=new Fe([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]),nc=new Fe([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]),F0=new Fe([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),rc=function(e,t){for(var n=new vn(31),r=0;r<31;++r)n[r]=t+=1<<e[r-1];for(var o=new B0(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}},oc=rc(tc,2),sc=oc.b,H0=oc.r;sc[28]=258,H0[258]=28;var z0=rc(nc,0),V0=z0.b,is=new vn(32768);for(var he=0;he<32768;++he){var Pt=(he&43690)>>1|(he&21845)<<1;Pt=(Pt&52428)>>2|(Pt&13107)<<2,Pt=(Pt&61680)>>4|(Pt&3855)<<4,is[he]=((Pt&65280)>>8|(Pt&255)<<8)>>1}var tr=function(e,t,n){for(var r=e.length,o=0,s=new vn(t);o<r;++o)e[o]&&++s[e[o]-1];var l=new vn(t);for(o=1;o<t;++o)l[o]=l[o-1]+s[o-1]<<1;var a;if(n){a=new vn(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[is[d]>>i]=c}else for(a=new vn(r),o=0;o<r;++o)e[o]&&(a[o]=is[l[e[o]-1]++]>>15-e[o]);return a},xr=new Fe(288);for(var he=0;he<144;++he)xr[he]=8;for(var he=144;he<256;++he)xr[he]=9;for(var he=256;he<280;++he)xr[he]=7;for(var he=280;he<288;++he)xr[he]=8;var lc=new Fe(32);for(var he=0;he<32;++he)lc[he]=5;var q0=tr(xr,9,1),U0=tr(lc,5,1),Mo=function(e){for(var t=e[0],n=1;n<e.length;++n)e[n]>t&&(t=e[n]);return t},ct=function(e,t,n){var r=t/8|0;return(e[r]|e[r+1]<<8)>>(t&7)&n},No=function(e,t){var n=t/8|0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>(t&7)},W0=function(e){return(e+7)/8|0},qs=function(e,t,n){return(t==null||t<0)&&(t=0),(n==null||n>e.length)&&(n=e.length),new Fe(e.subarray(t,n))},G0=["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"],et=function(e,t,n){var r=new Error(t||G0[e]);if(r.code=e,Error.captureStackTrace&&Error.captureStackTrace(r,et),!n)throw r;return r},K0=function(e,t,n,r){var o=e.length,s=r?r.length:0;if(!o||t.f&&!t.l)return n||new Fe(0);var l=!n,a=l||t.i!=2,i=t.i;l&&(n=new Fe(o*3));var c=function(se){var fe=n.length;if(se>fe){var h=new Fe(Math.max(fe*2,se));h.set(n),n=h}},u=t.f||0,d=t.p||0,p=t.b||0,v=t.l,g=t.d,_=t.m,w=t.n,y=o*8;do{if(!v){u=ct(e,d,1);var C=ct(e,d+1,3);if(d+=3,C)if(C==1)v=q0,g=U0,_=9,w=5;else if(C==2){var S=ct(e,d,31)+257,N=ct(e,d+10,15)+4,P=S+ct(e,d+5,31)+1;d+=14;for(var K=new Fe(P),$=new Fe(19),V=0;V<N;++V)$[F0[V]]=ct(e,d+V*3,7);d+=N*3;for(var O=Mo($),Z=(1<<O)-1,ye=tr($,O,1),V=0;V<P;){var ve=ye[ct(e,d,Z)];d+=ve&15;var b=ve>>4;if(b<16)K[V++]=b;else{var q=0,ee=0;for(b==16?(ee=3+ct(e,d,3),d+=2,q=K[V-1]):b==17?(ee=3+ct(e,d,7),d+=3):b==18&&(ee=11+ct(e,d,127),d+=7);ee--;)K[V++]=q}}var W=K.subarray(0,S),xe=K.subarray(S);_=Mo(W),w=Mo(xe),v=tr(W,_,1),g=tr(xe,w,1)}else et(1);else{var b=W0(d)+4,k=e[b-4]|e[b-3]<<8,M=b+k;if(M>o){i&&et(0);break}a&&c(p+k),n.set(e.subarray(b,M),p),t.b=p+=k,t.p=d=M*8,t.f=u;continue}if(d>y){i&&et(0);break}}a&&c(p+131072);for(var ht=(1<<_)-1,Qe=(1<<w)-1,Ie=d;;Ie=d){var q=v[No(e,d)&ht],Ge=q>>4;if(d+=q&15,d>y){i&&et(0);break}if(q||et(2),Ge<256)n[p++]=Ge;else if(Ge==256){Ie=d,v=null;break}else{var _t=Ge-254;if(Ge>264){var V=Ge-257,vt=tc[V];_t=ct(e,d,(1<<vt)-1)+sc[V],d+=vt}var ke=g[No(e,d)&Qe],T=ke>>4;ke||et(3),d+=ke&15;var xe=V0[T];if(T>3){var vt=nc[T];xe+=No(e,d)&(1<<vt)-1,d+=vt}if(d>y){i&&et(0);break}a&&c(p+131072);var H=p+_t;if(p<xe){var B=s-xe,G=Math.min(xe,H);for(B+p<0&&et(3);p<G;++p)n[p]=r[B+p]}for(;p<H;++p)n[p]=n[p-xe]}}t.l=v,t.p=Ie,t.b=p,t.f=u,v&&(u=1,t.m=_,t.d=g,t.n=w)}while(!u);return p!=n.length&&l?qs(n,0,p):n.subarray(0,p)},Y0=new Fe(0),J0=function(e,t){return((e[0]&15)!=8||e[0]>>4>7||(e[0]<<8|e[1])%31)&&et(6,"invalid zlib data"),(e[1]>>5&1)==+!t&&et(6,"invalid zlib data: "+(e[1]&32?"need":"unexpected")+" dictionary"),(e[1]>>3&4)+2};function Q0(e,t){return K0(e.subarray(J0(e,t&&t.dictionary),-4),{i:2},t&&t.out,t&&t.dictionary)}var oa=typeof TextEncoder<"u"&&new TextEncoder,cs=typeof TextDecoder<"u"&&new TextDecoder,X0=0;try{cs.decode(Y0,{stream:!0}),X0=1}catch{}var Z0=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:qs(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 e2(e,t){if(t){for(var n=new Fe(e.length),r=0;r<e.length;++r)n[r]=e.charCodeAt(r);return n}if(oa)return oa.encode(e);for(var o=e.length,s=new Fe(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 Fe(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 qs(s,0,l)}function t2(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(cs)return cs.decode(e);var o=Z0(e),s=o.s,n=o.r;return n.length&&et(8),s}}const sa=e=>{const t=atob(e);return t2(Q0(e2(t,!0)))},st=(e,t)=>{var r;const n=(r=(t==null?void 0:t._instance)||_r())==null?void 0:r.appContext.components;return n?e in n||lt(e)in n||mr(lt(e))in n:!1},ac=e=>new Promise(t=>setTimeout(t,e)),ic=e=>typeof e<"u",Do=e=>typeof e=="number",us=Array.isArray,Pn=(e,t)=>Te(e)&&e.startsWith(t),n2=(e,t)=>Te(e)&&e.endsWith(t),r2=Object.entries,an=Object.keys,o2=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},Us=e=>Pn(e,"/");function cc(e,t){let n,r,o;const s=Q(!0),l=()=>{s.value=!0,o()};ie(e,l,{flush:"sync"});const a=typeof t=="function"?t:t.get,i=typeof t=="function"?void 0:t.set,c=Is((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 Bn(e){return Da()?(Ku(e),!0):!1}function Ne(e){return typeof e=="function"?e():tn(e)}const kr=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const s2=Object.prototype.toString,l2=e=>s2.call(e)==="[object Object]",nn=()=>{},la=a2();function a2(){var e,t;return kr&&((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 Ws(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 uc=e=>e();function i2(e,t={}){let n,r,o=nn;const s=a=>{clearTimeout(a),o(),o=nn};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 c2(...e){let t=0,n,r=!0,o=nn,s,l,a,i,c;!Re(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=nn)};return p=>{const v=Ne(l),g=Date.now()-t,_=()=>s=p();return u(),v<=0?(t=Date.now(),_()):(g>v&&(i||!r)?(t=Date.now(),_()):a&&(s=new Promise((w,y)=>{o=c?y:w,n=setTimeout(()=>{t=Date.now(),r=!0,w(_()),u()},Math.max(0,v-g))})),!i&&!n&&(n=setTimeout(()=>r=!0,v)),r=!1,s)}}function u2(e=uc){const t=Q(!0);function n(){t.value=!1}function r(){t.value=!0}const o=(...s)=>{t.value&&e(...s)};return{isActive:br(t),pause:n,resume:r,eventFilter:o}}function f2(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 fc(e){return e||_r()}function d2(...e){if(e.length!==1)return io(...e);const t=e[0];return typeof t=="function"?br(Is(()=>({get:t,set:nn}))):Q(t)}function p2(e,t=200,n={}){return Ws(i2(t,n),e)}function h2(e,t=200,n=!1,r=!0,o=!1){return Ws(c2(t,n,r,o),e)}function v2(e,t,n={}){const{eventFilter:r=uc,...o}=n;return ie(e,Ws(r,t),o)}function m2(e,t,n={}){const{eventFilter:r,...o}=n,{eventFilter:s,pause:l,resume:a,isActive:i}=u2(r);return{stop:v2(e,t,{...o,eventFilter:s}),pause:l,resume:a,isActive:i}}function bo(e,t=!0,n){fc()?be(e,n):t?e():Ut(e)}function g2(e,t){fc(t)&&Mn(e,t)}function b2(e,t,n={}){const{immediate:r=!0}=n,o=Q(!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,kr&&i()),Bn(a),{isPending:br(o),start:i,stop:a}}function fr(e=!1,t={}){const{truthyValue:n=!0,falsyValue:r=!1}=t,o=Re(e),s=Q(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 xt(e){var t;const n=Ne(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Tt=kr?window:void 0,dc=kr?window.document:void 0,pc=kr?window.navigator:void 0;function Le(...e){let t,n,r,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,o]=e,t=Tt):[t,n,r,o]=e,!t)return nn;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const s=[],l=()=>{s.forEach(u=>u()),s.length=0},a=(u,d,p,v)=>(u.addEventListener(d,p,v),()=>u.removeEventListener(d,p,v)),i=ie(()=>[xt(t),Ne(o)],([u,d])=>{if(l(),!u)return;const p=l2(d)?{...d}:d;s.push(...n.flatMap(v=>r.map(g=>a(u,v,g,p))))},{immediate:!0,flush:"post"}),c=()=>{i(),l()};return Bn(c),c}function y2(){const e=Q(!1),t=_r();return t&&be(()=>{e.value=!0},t),e}function Tr(e){const t=y2();return x(()=>(t.value,!!e()))}function hc(e,t={}){const{window:n=Tt}=t,r=Tr(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let o;const s=Q(!1),l=c=>{s.value=c.matches},a=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",l):o.removeListener(l))},i=ii(()=>{r.value&&(a(),o=n.matchMedia(Ne(e)),"addEventListener"in o?o.addEventListener("change",l):o.addListener(l),s.value=o.matches)});return Bn(()=>{i(),a(),o=void 0}),s}function aa(e,t={}){const{controls:n=!1,navigator:r=pc}=t,o=Tr(()=>r&&"permissions"in r);let s;const l=typeof e=="string"?{name:e}:e,a=Q(),i=()=>{s&&(a.value=s.state)},c=f2(async()=>{if(o.value){if(!s)try{s=await r.permissions.query(l),Le(s,"change",i),i()}catch{a.value="prompt"}return s}});return c(),n?{state:a,isSupported:o,query:c}:a}function w2(e={}){const{navigator:t=pc,read:n=!1,source:r,copiedDuring:o=1500,legacy:s=!1}=e,l=Tr(()=>t&&"clipboard"in t),a=aa("clipboard-read"),i=aa("clipboard-write"),c=x(()=>l.value||s),u=Q(""),d=Q(!1),p=b2(()=>d.value=!1,o);function v(){l.value&&y(a.value)?t.clipboard.readText().then(C=>{u.value=C}):u.value=w()}c.value&&n&&Le(["copy","cut"],v);async function g(C=Ne(r)){c.value&&C!=null&&(l.value&&y(i.value)?await t.clipboard.writeText(C):_(C),u.value=C,d.value=!0,p.start())}function _(C){const b=document.createElement("textarea");b.value=C??"",b.style.position="absolute",b.style.opacity="0",document.body.appendChild(b),b.select(),document.execCommand("copy"),b.remove()}function w(){var C,b,k;return(k=(b=(C=document==null?void 0:document.getSelection)==null?void 0:C.call(document))==null?void 0:b.toString())!=null?k:""}function y(C){return C==="granted"||C==="prompt"}return{isSupported:c,text:u,copied:d,copy:g}}const Br=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Fr="__vueuse_ssr_handlers__",_2=E2();function E2(){return Fr in Br||(Br[Fr]=Br[Fr]||{}),Br[Fr]}function C2(e,t){return _2[e]||t}function S2(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 x2={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()}},ia="vueuse-storage";function Fn(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=Tt,eventFilter:p,onError:v=$=>{console.error($)},initOnMounted:g}=r,_=(u?Me:Q)(typeof t=="function"?t():t);if(!n)try{n=C2("getDefaultStorage",()=>{var $;return($=Tt)==null?void 0:$.localStorage})()}catch($){v($)}if(!n)return _;const w=Ne(t),y=S2(w),C=(o=r.serializer)!=null?o:x2[y],{pause:b,resume:k}=m2(_,()=>S(_.value),{flush:s,deep:l,eventFilter:p});d&&a&&bo(()=>{Le(d,"storage",P),Le(d,ia,K),g&&P()}),g||P();function M($,V){d&&d.dispatchEvent(new CustomEvent(ia,{detail:{key:e,oldValue:$,newValue:V,storageArea:n}}))}function S($){try{const V=n.getItem(e);if($==null)M(V,null),n.removeItem(e);else{const O=C.write($);V!==O&&(n.setItem(e,O),M(V,O))}}catch(V){v(V)}}function N($){const V=$?$.newValue:n.getItem(e);if(V==null)return i&&w!=null&&n.setItem(e,C.write(w)),w;if(!$&&c){const O=C.read(V);return typeof c=="function"?c(O,w):y==="object"&&!Array.isArray(O)?{...w,...O}:O}else return typeof V!="string"?V:C.read(V)}function P($){if(!($&&$.storageArea!==n)){if($&&$.key==null){_.value=w;return}if(!($&&$.key!==e)){b();try{($==null?void 0:$.newValue)!==C.write(_.value)&&(_.value=N($))}catch(V){v(V)}finally{$?Ut(k):k()}}}}function K($){P($.detail)}return _}function k2(e){return hc("(prefers-color-scheme: dark)",e)}function T2(e,t,n={}){const{window:r=Tt,...o}=n;let s;const l=Tr(()=>r&&"ResizeObserver"in r),a=()=>{s&&(s.disconnect(),s=void 0)},i=x(()=>Array.isArray(e)?e.map(d=>xt(d)):[xt(e)]),c=ie(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 Bn(u),{isSupported:l,stop:u}}function A2(e,t={width:0,height:0},n={}){const{window:r=Tt,box:o="content-box"}=n,s=x(()=>{var d,p;return(p=(d=xt(e))==null?void 0:d.namespaceURI)==null?void 0:p.includes("svg")}),l=Q(t.width),a=Q(t.height),{stop:i}=T2(e,([d])=>{const p=o==="border-box"?d.borderBoxSize:o==="content-box"?d.contentBoxSize:d.devicePixelContentBoxSize;if(r&&s.value){const v=xt(e);if(v){const g=r.getComputedStyle(v);l.value=Number.parseFloat(g.width),a.value=Number.parseFloat(g.height)}}else if(p){const v=Array.isArray(p)?p:[p];l.value=v.reduce((g,{inlineSize:_})=>g+_,0),a.value=v.reduce((g,{blockSize:_})=>g+_,0)}else l.value=d.contentRect.width,a.value=d.contentRect.height},n);bo(()=>{const d=xt(e);d&&(l.value="offsetWidth"in d?d.offsetWidth:t.width,a.value="offsetHeight"in d?d.offsetHeight:t.height)});const c=ie(()=>xt(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 ca=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function Gs(e,t={}){const{document:n=dc,autoExit:r=!1}=t,o=x(()=>{var y;return(y=xt(e))!=null?y:n==null?void 0:n.querySelector("html")}),s=Q(!1),l=x(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(y=>n&&y in n||o.value&&y in o.value)),a=x(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(y=>n&&y in n||o.value&&y in o.value)),i=x(()=>["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=Tr(()=>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 v(){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 g(){if(!u.value||s.value)return;p()&&await v();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?v():g())}const w=()=>{const y=p();(!y||y&&d())&&(s.value=y)};return Le(n,ca,w,!1),Le(()=>xt(o),ca,w,!1),r&&Bn(v),{isSupported:u,isFullscreen:s,enter:g,exit:v,toggle:_}}function jo(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function Bo(e,t=nn,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=dc,attrs:p={}}=n,v=Q(null);let g=null;const _=C=>new Promise((b,k)=>{const M=P=>(v.value=P,b(P),P);if(!d){b(!1);return}let S=!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)),S=!0),N.addEventListener("error",P=>k(P)),N.addEventListener("abort",P=>k(P)),N.addEventListener("load",()=>{N.setAttribute("data-loaded","true"),t(N),M(N)}),S&&(N=d.head.appendChild(N)),C||M(N)}),w=(C=!0)=>(g||(g=_(C)),g),y=()=>{if(!d)return;g=null,v.value&&(v.value=null);const C=d.querySelector(`script[src="${Ne(e)}"]`);C&&d.head.removeChild(C)};return r&&!o&&bo(w),o||g2(y),{scriptTag:v,load:w,unload:y}}function vc(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth<e.scrollWidth||t.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const n=e.parentNode;return!n||n.tagName==="BODY"?!1:vc(n)}}function L2(e){const t=e||window.event,n=t.target;return vc(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}const Hr=new WeakMap;function mc(e,t=!1){const n=Q(t);let r=null;ie(d2(e),l=>{const a=jo(Ne(l));if(a){const i=a;Hr.get(i)||Hr.set(i,i.style.overflow),n.value&&(i.style.overflow="hidden")}},{immediate:!0});const o=()=>{const l=jo(Ne(e));!l||n.value||(la&&(r=Le(l,"touchmove",a=>{L2(a)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},s=()=>{var l;const a=jo(Ne(e));!a||!n.value||(la&&(r==null||r()),a.style.overflow=(l=Hr.get(a))!=null?l:"",Hr.delete(a),n.value=!1)};return Bn(s),x({get(){return n.value},set(l){l?o():s()}})}function gc(e,t,n={}){const{window:r=Tt}=n;return Fn(e,t,r==null?void 0:r.sessionStorage,n)}function I2(e={}){const{window:t=Tt,behavior:n="auto"}=e;if(!t)return{x:Q(0),y:Q(0)};const r=Q(t.scrollX),o=Q(t.scrollY),s=x({get(){return r.value},set(a){scrollTo({left:a,behavior:n})}}),l=x({get(){return o.value},set(a){scrollTo({top:a,behavior:n})}});return Le(t,"scroll",()=>{r.value=t.scrollX,o.value=t.scrollY},{capture:!1,passive:!0}),{x:s,y:l}}function $2(e={}){const{window:t=Tt,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:o=!0,includeScrollbar:s=!0}=e,l=Q(n),a=Q(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(),bo(i),Le("resize",i,{passive:!0}),o){const c=hc("(orientation: portrait)");ie(c,()=>i())}return{width:l,height:a}}var P2=U({name:"FontIcon",props:{icon:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""}},setup(e){const t=x(()=>{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=x(()=>{const r={};return e.color&&(r.color=e.color),e.size&&(r["font-size"]=Number.isNaN(Number(e.size))?e.size:`${e.size}px`),an(r).length?r:null});return()=>e.icon?f("span",{key:e.icon,class:t.value,style:n.value}):null}});const bc=({type:e="info",text:t="",vertical:n,color:r},{slots:o})=>{var s;return f("span",{class:["vp-badge",e,{diy:r}],style:{verticalAlign:n??!1,backgroundColor:r??!1}},((s=o.default)==null?void 0:s.call(o))||t)};bc.displayName="Badge";const yc=({title:e,desc:t="",logo:n,background:r,color:o,link:s})=>{const l=[n?f("img",{class:"vp-card-logo",src:He(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?Ln(s)?f("a",{class:"vp-card",href:s,target:"_blank",style:a},l):f(qe,{to:s,class:"vp-card",style:a},()=>l):f("div",{class:"vp-card",style:a},l)};yc.displayName="VPCard";const O2=at({enhance:({app:e})=>{st("FontIcon")||e.component("FontIcon",P2),st("Badge")||e.component("Badge",bc),st("VPCard")||e.component("VPCard",yc)},setup:()=>{Bo("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/brands.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}}),Bo("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/solid.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}}),Bo("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/fontawesome.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}})},rootComponents:[]}),ua=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},R2=({headerLinkSelector:e,headerAnchorSelector:t,delay:n,offset:r=5})=>{const o=Dn();Le("scroll",p2(()=>{var g,_;const l=Math.max(window.scrollY,document.documentElement.scrollTop,document.body.scrollTop);if(Math.abs(l-0)<r){ua(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)),v=Array.from(document.querySelectorAll(t)).filter(w=>d.some(y=>y.hash===w.hash));for(let w=0;w<v.length;w++){const y=v[w],C=v[w+1],b=l>=(((g=y.parentElement)==null?void 0:g.offsetTop)??0)-r,k=!C||l<(((_=C.parentElement)==null?void 0:_.offsetTop)??0)-r;if(!(b&&k))continue;const S=decodeURIComponent(o.currentRoute.value.hash),N=decodeURIComponent(y.hash);if(S===N)return;if(u){for(let P=w+1;P<v.length;P++)if(S===decodeURIComponent(v[P].hash))return}ua(o,N);return}},n))},M2=".vp-sidebar-link, .vp-toc-link",N2=".header-anchor",D2=200,j2=5,B2=at({setup(){R2({headerLinkSelector:M2,headerAnchorSelector:N2,delay:D2,offset:j2})}});let wc=e=>Te(e.title)?{title:e.title}:null;const _c=Symbol(""),F2=e=>{wc=e},H2=()=>Oe(_c),z2=e=>{e.provide(_c,wc)};var V2={"/":{title:"目录",empty:"暂无目录"}};const q2=U({name:"Catalog",props:{base:{type:String,default:""},level:{type:Number,default:3},index:Boolean,hideHeading:Boolean},setup(e){const t=H2(),n=Sr(V2),r=we(),o=O0(),s=Xi(),a=Me(r2(o.value).map(([c,{meta:u}])=>{const d=t(u);if(!d)return null;const p=c.split("/").length;return{level:n2(c,"/")?p-2:p-1,base:c.replace(/\/[^/]+\/?$/,"/"),path:c,...d}}).filter(c=>Nn(c)&&Te(c.title))),i=x(()=>{const c=e.base?yd(Bi(e.base)):r.value.path.replace(/\/[^/]+$/,"/"),u=c.split("/").length-2,d=[];return a.value.filter(({level:p,path:v})=>{if(!Pn(v,c)||v===c)return!1;if(c==="/"){const g=an(s.value.locales).filter(_=>_!=="/");if(v==="/404.html"||g.some(_=>Pn(v,_)))return!1}return p-u<=e.level}).sort(({title:p,level:v,order:g},{title:_,level:w,order:y})=>{const C=v-w;return C||(Do(g)?Do(y)?g>0?y>0?g-y:-1:y<0?g-y:1:g:Do(y)?y:p.localeCompare(_))}).forEach(p=>{var _;const{base:v,level:g}=p;switch(g-u){case 1:{d.push(p);break}case 2:{const w=d.find(y=>y.path===v);w&&(w.children??(w.children=[])).push(p);break}default:{const w=d.find(y=>y.path===v.replace(/\/[^/]+\/$/,"/"));if(w){const y=(_=w.children)==null?void 0:_.find(C=>C.path===v);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:v})=>{const g=f(qe,{class:"vp-catalog-title",to:p},()=>v?f(v):d);return f("li",{class:"vp-catalog"},c?[f("h3",{id:d,class:["vp-catalog-child-title",{"has-children":u.length}]},[f("a",{href:`#${d}`,class:"vp-catalog-header-anchor","aria-hidden":!0},"#"),g]),u.length?f(e.index?"ol":"ul",{class:"vp-child-catalogs"},u.map(({children:_=[],content:w,path:y,title:C})=>f("li",{class:"vp-child-catalog"},[f("div",{class:["vp-catalog-sub-title",{"has-children":_.length}]},[f("a",{href:`#${C}`,class:"vp-catalog-header-anchor"},"#"),f(qe,{class:"vp-catalog-title",to:y},()=>w?f(w):C)]),_.length?f(e.index?"ol":"div",{class:e.index?"vp-sub-catalogs":"vp-sub-catalogs-wrapper"},_.map(({content:b,path:k,title:M})=>e.index?f("li",{class:"vp-sub-catalog"},f(qe,{to:k},()=>b?f(b):M)):f(qe,{class:"vp-sub-catalog-link",to:k},()=>b?f(b):M))):null]))):null]:f("div",{class:"vp-catalog-child-title"},g))})):f("p",{class:"vp-empty-catalog"},n.value.empty)])}}}),U2=at({enhance:({app:e})=>{z2(e),st("Catalog",e)||e.component("Catalog",q2)}});var W2={"/":{backToTop:"返回顶部"}};const G2=U({name:"BackToTop",setup(e){const t=_e(),n=Sr(W2),r=Me(),{height:o}=A2(r),{height:s}=$2(),{y:l}=I2(),a=x(()=>t.value.backToTop!==!1&&l.value>100),i=x(()=>l.value/(o.value-s.value)*100);return be(()=>{r.value=document.body}),()=>f(qt,{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)}}),K2=at({rootComponents:[G2]}),Y2=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"})]),Ec=U({name:"ExternalLinkIcon",props:{locales:{type:Object,required:!1,default:()=>({})}},setup(e){const t=jn(),n=x(()=>e.locales[t.value]??{openInNewWindow:"open in new window"});return()=>f("span",[Y2,f("span",{class:"external-link-icon-sr-only"},n.value.openInNewWindow)])}});var J2={};const Q2=J2,X2=at({enhance({app:e}){e.component("ExternalLinkIcon",f(Ec,{locales:Q2}))}});/**
|
|
* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
|
|
* @license MIT
|
|
*/const le={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=le.isStarted();e=Fo(e,le.settings.minimum,1),le.status=e===1?null:e;const n=le.render(!t),r=n.querySelector(le.settings.barSelector),o=le.settings.speed,s=le.settings.easing;return n.offsetWidth,Z2(l=>{zr(r,{transform:"translate3d("+fa(e)+"%,0,0)",transition:"all "+o+"ms "+s}),e===1?(zr(n,{transition:"none",opacity:"1"}),n.offsetWidth,setTimeout(function(){zr(n,{transition:"all "+o+"ms linear",opacity:"0"}),setTimeout(function(){le.remove(),l()},o)},o)):setTimeout(()=>l(),o)}),le},isStarted:()=>typeof le.status=="number",start:()=>{le.status||le.set(0);const e=()=>{setTimeout(()=>{le.status&&(le.trickle(),e())},le.settings.trickleSpeed)};return le.settings.trickle&&e(),le},done:e=>!e&&!le.status?le:le.inc(.3+.5*Math.random()).set(1),inc:e=>{let t=le.status;return t?(typeof e!="number"&&(e=(1-t)*Fo(Math.random()*t,.1,.95)),t=Fo(t+e,0,.994),le.set(t)):le.start()},trickle:()=>le.inc(Math.random()*le.settings.trickleRate),render:e=>{if(le.isRendered())return document.getElementById("nprogress");da(document.documentElement,"nprogress-busy");const t=document.createElement("div");t.id="nprogress",t.innerHTML=le.settings.template;const n=t.querySelector(le.settings.barSelector),r=e?"-100":fa(le.status||0),o=document.querySelector(le.settings.parent);return zr(n,{transition:"all 0 linear",transform:"translate3d("+r+"%,0,0)"}),o!==document.body&&da(o,"nprogress-custom-parent"),o==null||o.appendChild(t),t},remove:()=>{pa(document.documentElement,"nprogress-busy"),pa(document.querySelector(le.settings.parent),"nprogress-custom-parent");const e=document.getElementById("nprogress");e&&ep(e)},isRendered:()=>!!document.getElementById("nprogress")},Fo=(e,t,n)=>e<t?t:e>n?n:e,fa=e=>(-1+e)*100,Z2=function(){const e=[];function t(){const n=e.shift();n&&n(t)}return function(n){e.push(n),e.length===1&&t()}}(),zr=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)}}}(),Cc=(e,t)=>(typeof e=="string"?e:Ks(e)).indexOf(" "+t+" ")>=0,da=(e,t)=>{const n=Ks(e),r=n+t;Cc(n,t)||(e.className=r.substring(1))},pa=(e,t)=>{const n=Ks(e);if(!Cc(e,t))return;const r=n.replace(" "+t+" "," ");e.className=r.substring(1,r.length-1)},Ks=e=>(" "+(e.className||"")+" ").replace(/\s+/gi," "),ep=e=>{e&&e.parentNode&&e.parentNode.removeChild(e)},tp=()=>{be(()=>{const e=Dn(),t=new Set;t.add(e.currentRoute.value.path),e.beforeEach(n=>{t.has(n.path)||le.start()}),e.afterEach(n=>{t.add(n.path),le.done()})})},np=at({setup(){tp()}}),rp=JSON.parse('{"encrypt":{"config":{"/demo/encrypt.html":["$2a$10$.ft3tZweGsJnDBc5dmGO2OPF3yaS43Z8KfIM2Z5Yf7MameulA3tOK"]}},"author":{"name":"Mr.Hope","url":"https://mister-hope.com"},"logo":"https://theme-hope-assets.vuejs.press/logo.svg","repo":"vuepress-theme-hope/vuepress-theme-hope","docsDir":"src","footer":"默认页脚","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":["/","/demo/",{"text":"指南","icon":"lightbulb","prefix":"/guide/","children":[{"text":"Bar","icon":"lightbulb","prefix":"bar/","children":["baz",{"text":"...","icon":"ellipsis","link":""}]},{"text":"Foo","icon":"lightbulb","prefix":"foo/","children":["ray",{"text":"...","icon":"ellipsis","link":""}]}]},{"text":"V2 文档","icon":"book","link":"https://theme-hope.vuejs.press/zh/"}],"sidebar":{"/":["",{"text":"案例","icon":"laptop-code","prefix":"demo/","link":"demo/","children":"structure"},{"text":"文档","icon":"book","prefix":"guide/","children":"structure"},{"text":"幻灯片","icon":"person-chalkboard","link":"https://plugin-md-enhance.vuejs.press/zh/guide/content/revealjs/demo.html"}]}}}}'),op=Q(rp),Sc=()=>op,xc=Symbol(""),sp=()=>{const e=Oe(xc);if(!e)throw new Error("useThemeLocaleData() is called without provider.");return e},lp=(e,t)=>{const{locales:n,...r}=e;return{...r,...n==null?void 0:n[t]}},ap=at({enhance({app:e}){const t=Sc(),n=e._context.provides[Hs],r=x(()=>lp(t.value,n.routeLocale.value));e.provide(xc,r),Object.defineProperties(e.config.globalProperties,{$theme:{get(){return t.value}},$themeLocale:{get(){return r.value}}})}});var ip={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:"vuepress-theme-hope/giscus-discussions",repoId:"R_kgDOG_Pt2A",category:"Announcements",categoryId:"DIC_kwDOG_Pt2M4COD69"};const cp=ip;let up=cp;const kc=Symbol(""),Tc=()=>Oe(kc),fp=Tc,dp=e=>{e.provide(kc,up)},Ac=()=>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"}))]);Ac.displayName="LoadingIcon";const ha=["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"],pp=U({name:"GiscusComment",props:{identifier:{type:String,required:!0},darkmode:Boolean},setup(e){const t=fp(),n=zs(),r=!!(t.repo&&t.repoId&&t.category&&t.categoryId),{repo:o,repoId:s,category:l,categoryId:a}=t,i=Q(!1),c=x(()=>{if(ha.includes(n.value))return n.value;const d=n.value.split("-")[0];return ha.includes(d)?d:"en"}),u=x(()=>({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 be(async()=>{await Be(()=>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(Ac)):null}}),hp=U({name:"CommentService",props:{darkmode:Boolean},setup(e){const t=Tc(),n=we(),r=_e(),o=t.comment!==!1,s=x(()=>r.value.comment||o&&r.value.comment!==!1);return()=>f(pp,{id:"vp-comment",identifier:r.value.commentID||n.value.path,darkmode:e.darkmode,style:{display:s.value?"block":"none"}})}}),vp=at({enhance:({app:e})=>{dp(e),e.component("CommentService",hp)}}),mp=/\b(?:Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini)/i,gp=()=>typeof window<"u"&&window.navigator&&"userAgent"in window.navigator&&mp.test(navigator.userAgent),bp=({delay:e=500,duration:t=2e3,locales:n,selector:r,showInMobile:o})=>{const{copy:s,copied:l}=w2({legacy:!0,copiedDuring:t}),a=Sr(n),i=we(),c=p=>{if(!p.hasAttribute("copy-code-registered")){const v=document.createElement("button");v.type="button",v.classList.add("vp-copy-code-button"),v.innerHTML='<div class="vp-copy-icon" />',v.setAttribute("aria-label",a.value.copy),v.setAttribute("data-copied",a.value.copied),p.parentElement&&p.parentElement.insertBefore(v,p),p.setAttribute("copy-code-registered","")}},u=()=>{Ut().then(()=>ac(e)).then(()=>{r.forEach(p=>{document.querySelectorAll(p).forEach(c)})})},d=(p,v,g)=>{let{innerText:_=""}=v;/language-(shellscript|shell|bash|sh|zsh)/.test(p.classList.toString())&&(_=_.replace(/^ *(\$|>) /gm,"")),s(_).then(()=>{g.classList.add("copied"),ie(l,()=>{g.classList.remove("copied"),g.blur()},{once:!0})})};be(()=>{const p=!gp()||o;p&&u(),Le("click",v=>{const g=v.target;if(g.matches('div[class*="language-"] > button.copy')){const _=g.parentElement,w=g.nextElementSibling;w&&d(_,w,g)}else if(g.matches('div[class*="language-"] div.vp-copy-icon')){const _=g.parentElement,w=_.parentElement,y=_.nextElementSibling;y&&d(w,y,_)}}),ie(()=>i.value.path,()=>{p&&u()})})};var yp={"/":{copy:"复制代码",copied:"已复制"}},wp=['.theme-hope-content div[class*="language-"] pre'];const _p=500,Ep=2e3,Cp=yp,Sp=wp,xp=!1,kp=at({setup:()=>{bp({selector:Sp,locales:Cp,duration:Ep,delay:_p,showInMobile:xp})}}),Vr=Fn("VUEPRESS_CODE_TAB_STORE",{});var Tp=U({name:"CodeTabs",props:{active:{type:Number,default:0},data:{type:Array,required:!0},id:{type:String,required:!0},tabId:{type:String,default:""}},slots:Object,setup(e,{slots:t}){const n=Q(e.active),r=Me([]),o=()=>{e.tabId&&(Vr.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&&(Vr.value[e.tabId]=e.data[n.value].id)},i=()=>{if(e.tabId){const c=e.data.findIndex(({id:u})=>Vr.value[e.tabId]===u);if(c!==-1)return c}return e.active};return be(()=>{n.value=i(),ie(()=>Vr.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 Lc=({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))};Lc.displayName="CodeGroupItem";const Ap=U({name:"CodeGroup",slots:Object,setup(e,{slots:t}){const n=Q(-1),r=Me([]),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]))}}}),Se=({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))};Se.displayName="IconBase";const Ic=({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};Ic.displayName="LoadingIcon";const $c=(e,{slots:t})=>{var n;return(n=t.default)==null?void 0:n.call(t)},Pc=()=>f(Se,{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"}));Pc.displayName="GitHubIcon";const Oc=()=>f(Se,{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"}));Oc.displayName="GitLabIcon";const Rc=()=>f(Se,{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"}));Rc.displayName="GiteeIcon";const Mc=()=>f(Se,{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"}));Mc.displayName="BitbucketIcon";const Nc=()=>f(Se,{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"}));Nc.displayName="SourceIcon";const Dc=(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},jc=/#.*$/u,Lp=e=>{const t=jc.exec(e);return t?t[0]:""},va=e=>decodeURI(e).replace(jc,"").replace(/\/index\.html$/iu,"/").replace(/\.html$/iu,"").replace(/(README|index)?\.md$/iu,""),Bc=(e,t)=>{if(!ic(t))return!1;const n=va(e.path),r=va(t),o=Lp(t);return o?o===e.hash&&(!r||n===r):n===r},Ip=e=>sn(e)?e:`https://github.com/${e}`,Fc=e=>!sn(e)||/github\.com/.test(e)?"GitHub":/bitbucket\.org/.test(e)?"Bitbucket":/gitlab\.com/.test(e)?"GitLab":/gitee\.com/.test(e)?"Gitee":null;var $p=e=>Object.prototype.toString.call(e)==="[object Object]",dr=e=>typeof e=="string";const Hc=Array.isArray,ma=e=>$p(e)&&dr(e.name),ga=(e,t=!1)=>e?Hc(e)?e.map(n=>dr(n)?{name:n}:ma(n)?n:null).filter(n=>n!==null):dr(e)?[{name:e}]:ma(e)?[e]:(console.error(`Expect "author" to be \`AuthorInfo[] | AuthorInfo | string[] | string ${t?"":"| false"} | undefined\`, but got`,e),[]):[],zc=(e,t)=>{if(e){if(Hc(e)&&e.every(dr))return e;if(dr(e))return[e];console.error(`Expect ${t||"value"} to be \`string[] | string | undefined\`, but got`,e)}return[]},Pp=e=>zc(e,"category"),Op=e=>zc(e,"tag"),Rp='<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>',Mp='<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 Np={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 Ho=Np,ba={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"}}},Dp=(e,t,n)=>{const r=document.createElement(e);return Nn(t)&&an(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},Ys=e=>({...Ho,...e,jsLib:Array.from(new Set([...Ho.jsLib||[],...e.jsLib||[]])),cssLib:Array.from(new Set([...Ho.cssLib||[],...e.cssLib||[]]))}),Cn=(e,t)=>{if(ic(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},jp=(e,t)=>{if(t.css&&Array.from(e.childNodes).every(n=>n.nodeName!=="STYLE")){const n=Dp("style",{innerHTML:t.css});e.appendChild(n)}},Bp=(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)}},Fp=e=>{const t=an(e),n={html:[],js:[],css:[],isLegal:!1};return["html","js","css"].forEach(r=>{const o=t.filter(s=>ba[r].types.includes(s));if(o.length){const s=o[0];n[r]=[e[s].replace(/^\n|\n$/g,""),ba[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},Vc=e=>e.replace(/<br \/>/g,"<br>").replace(/<((\S+)[^<]*?)\s+\/>/g,"<$1></$2>"),qc=e=>`<div id="app">
|
|
${Vc(e)}
|
|
</div>`,Hp=e=>`${e.replace("export default ","const $reactApp = ").replace(/App\.__style__(\s*)=(\s*)`([\s\S]*)?`/,"")};
|
|
ReactDOM.createRoot(document.getElementById("app")).render(React.createElement($reactApp))`,zp=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(),Uc=e=>`(function(exports){var module={};module.exports=exports;${e};return module.exports.__esModule?module.exports.default:module.exports;})({})`,Vp=(e,t)=>{const n=Ys(t),r=e.js[0]||"";return{...n,html:Vc(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}}},qp=/<template>([\s\S]+)<\/template>/u,Up=/<script(\s*lang=(['"])(.*?)\2)?>([\s\S]+)<\/script>/u,Wp=/<style(\s*lang=(['"])(.*?)\2)?\s*(?:scoped)?>([\s\S]+)<\/style>/u,Gp=(e,t)=>{const n=Ys(t),r=e.html[0]||"",o=qp.exec(r),s=Up.exec(r),l=Wp.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:qc(a),js:zp(i),css:u,isLegal:p,jsLib:[n.vue,...n.jsLib],getScript:()=>{var g,_;const v=t.useBabel?((_=(g=window.Babel)==null?void 0:g.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=${Uc(v)};appOptions.template=\`${a.replace("`",'\\`"')}\`;window.Vue.createApp(appOptions).mount(app);`}}},Kp=(e,t)=>{const n=Ys(t);return{...n,html:qc(""),js:Hp(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(${Uc(r)}))`}}},Sn={},Yp=e=>Promise.all([Cn(Sn,e.babel),Cn(Sn,e.react),Cn(Sn,e.reactDOM)]),Jp=e=>{const t=[Cn(Sn,e.vue)];return e.useBabel&&t.push(Cn(Sn,e.babel)),Promise.all(t)},Qp=e=>e.useBabel?Cn(Sn,e.babel):Promise.resolve();var Xp=U({name:"CodeDemo",props:{id:{type:String,required:!0},type:{type:String,default:"normal"},title:{type:String,default:""},config:{type:String,default:""},code:{type:String,required:!0}},slots:Object,setup(e,{slots:t}){const[n,r]=fr(!1),o=Me(),s=Me(),l=Q("0"),a=Q(!1),i=x(()=>JSON.parse(e.config?sa(e.config):"{}")),c=x(()=>{const g=JSON.parse(sa(e.code));return Fp(g)}),u=x(()=>e.type==="react"?Kp(c.value,i.value):e.type==="vue"?Gp(c.value,i.value):Vp(c.value,i.value)),d=x(()=>u.value.isLegal),p=(g=!1)=>{const _=o.value.attachShadow({mode:"open"}),w=document.createElement("div");w.classList.add("code-demo-app"),_.appendChild(w),d.value?(g&&(w.innerHTML=u.value.html),jp(_,u.value),Bp(e.id,_,u.value),l.value="0"):l.value="auto",a.value=!0},v=()=>{switch(e.type){case"react":return Yp(u.value).then(()=>p());case"vue":return Jp(u.value).then(()=>p());default:return Qp(u.value).then(()=>p(!0))}};return Le("beforeprint",()=>{r(!0)}),be(()=>{setTimeout(()=>{v()},800)}),()=>{var g;return f("div",{class:"vp-code-demo",id:e.id},[f("div",{class:"vp-code-demo-header"},[u.value.isLegal?f("button",{type:"button",title:"toggle","aria-hidden":!0,class:["vp-code-demo-toggle-button",n.value?"down":"end"],onClick:()=>{l.value=n.value?"0":`${s.value.clientHeight+13.8}px`,r()}}):null,e.title?f("span",{class:"vp-code-demo-title"},decodeURIComponent(e.title)):null,u.value.isLegal&&u.value.jsfiddle!==!1?f("form",{class:"code-demo-jsfiddle",target:"_blank",action:"https://jsfiddle.net/api/post/library/pure/",method:"post"},[f("input",{type:"hidden",name:"html",value:u.value.html}),f("input",{type:"hidden",name:"js",value:u.value.js}),f("input",{type:"hidden",name:"css",value:u.value.css}),f("input",{type:"hidden",name:"wrap",value:"1"}),f("input",{type:"hidden",name:"panel_js",value:"3"}),f("input",{type:"hidden",name:"resources",value:[...u.value.cssLib,...u.value.jsLib].join(",")}),f("button",{type:"submit",class:"jsfiddle-button",innerHTML:Mp,"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:Rp,class:"codepen-button","aria-label":"Codepen","data-balloon-pos":"up"})]):null]),a.value?null:f(Ic,{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"},(g=t.default)==null?void 0:g.call(t)))])}}}),Zp=U({name:"MdDemo",props:{id:{type:String,required:!0},title:{type:String,default:""}},slots:Object,setup(e,{slots:t}){const[n,r]=fr(!1),o=Me(),s=Q("0");return Le("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 e3=()=>{Le("beforeprint",()=>{document.querySelectorAll("details").forEach(e=>{e.open=!0})})},zo=Fn("VUEPRESS_TAB_STORE",{});var t3=U({name:"Tabs",props:{active:{type:Number,default:0},data:{type:Array,required:!0},id:{type:String,required:!0},tabId:{type:String,default:""}},slots:Object,setup(e,{slots:t}){const n=Q(e.active),r=Me([]),o=()=>{e.tabId&&(zo.value[e.tabId]=e.data[n.value].id)},s=(c=n.value)=>{n.value=c<r.value.length-1?c+1:0,r.value[n.value].focus()},l=(c=n.value)=>{n.value=c>0?c-1:r.value.length-1,r.value[n.value].focus()},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})=>zo.value[e.tabId]===u);if(c!==-1)return c}return e.active};return be(()=>{n.value=i(),ie(()=>zo.value[e.tabId],(c,u)=>{if(e.tabId&&c!==u){const d=e.data.findIndex(({id:p})=>p===c);d!==-1&&(n.value=d)}})}),()=>e.data.length?f("div",{class:"vp-tabs"},[f("div",{class:"vp-tabs-nav",role:"tablist"},e.data.map(({id:c},u)=>{const d=u===n.value;return f("button",{type:"button",ref:p=>{p&&(r.value[u]=p)},class:["vp-tab-nav",{active:d}],role:"tab","aria-controls":`tab-${e.id}-${u}`,"aria-selected":d,onClick:()=>{n.value=u,o()},onKeydown:p=>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 n3=at({enhance:({app:e})=>{e.component("CodeTabs",Tp),st("CodeGroup",e)||e.component("CodeGroup",Ap),st("CodeGroupItem",e)||e.component("CodeGroupItem",Lc),e.component("CodeDemo",Xp),e.component("MdDemo",Zp),e.component("Tabs",t3)},setup:()=>{e3()}});let r3={};const Wc=Symbol(""),o3=()=>Oe(Wc),s3=e=>{e.provide(Wc,r3)},l3='<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>',a3=e=>Te(e)?Array.from(document.querySelectorAll(e)):e.map(t=>Array.from(document.querySelectorAll(t))).flat(),Gc=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(Gc(e)),e.onerror=r=>n(r))}),i3=e=>{const{isSupported:t,toggle:n}=Gs();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})}})})},c3=(e,t,n=!0)=>Be(()=>import("./photoswipe.esm-SzV8tJDW.js"),__vite__mapDeps([])).then(({default:r})=>{let o=null;const s=e.map(l=>({html:l3,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}:{}}),i3(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","")),Gc(l).then(c=>{s.splice(a,1,c),o==null||o.refreshSlideContent(a)})}),n?Le("wheel",()=>{o==null||o.close()}):()=>{}}),u3=({selector:e,locales:t,delay:n=500,scrollToClose:r=!0})=>{const o=o3(),s=Sr(t),l=we(),a=_e();let i=null;const c=()=>{const{photoSwipe:u}=a.value;u!==!1&&Ut().then(()=>ac(n)).then(async()=>{const d=Te(u)?u:e;i=await c3(a3(d),{...o,...s.value},r)})};be(()=>{c(),ie(()=>l.value.path,()=>{i==null||i(),c()})}),Mn(()=>{i==null||i()})};var f3={"/":{closeTitle:"关闭",downloadTitle:"下载图片",fullscreenTitle:"切换全屏",zoomTitle:"缩放",arrowPrevTitle:"上一个 (左箭头)",arrowNextTitle:"下一个 (右箭头)"}};const d3=".theme-hope-content :not(a) > img:not([no-view])",p3=f3,h3=800,v3=!0,m3=at({enhance:({app:e})=>{s3(e)},setup:()=>{u3({selector:d3,delay:h3,locales:p3,scrollToClose:v3})}}),Kc=()=>{const e=we();return x(()=>e.value.readingTime??null)},g3=(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 ya={"/":{word:"约 $word 字",less1Minute:"小于 1 分钟",time:"大约 $time 分钟"}};const wa={words:"",time:""},fs=typeof ya>"u"?null:ya,b3=()=>fs?Sr(fs):x(()=>null),y3=()=>{if(typeof fs>"u")return x(()=>wa);const e=Kc(),t=b3();return x(()=>e.value&&t.value?g3(e.value,t.value):wa)},cn=()=>Sc(),de=()=>sp(),Ar=()=>{const e=cn();return x(()=>!!e.value.pure)},Vo=()=>null,w3="719px",_3="1440px",E3="false",Yc={mobileBreakPoint:w3,pcBreakPoint:_3,enableThemeColor:E3},Js={"/demo/":["markdown","layout","page","disable","encrypt"],"/guide/":["",{text:"Bar 功能",prefix:"bar/",collapsible:!0,icon:"lightbulb",children:["","baz"]},{text:"Foo 功能",prefix:"foo/",collapsible:!0,icon:"lightbulb",children:["","ray"]}]},Jc=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`),sn(t)?f("img",{class:"icon",src:t,alt:"","no-view":"",style:o}):Us(t)?f("img",{class:"icon",src:He(t),alt:"","aria-hidden":"","no-view":"",style:o}):f(dt("FontIcon"),e)};Jc.displayName="HopeIcon";var ze=Jc;const C3="http://.",Qs=()=>{const e=Dn(),t=ln();return n=>{if(n)if(Us(n))t.path!==n&&e.push(n);else if(Fi(n))window&&window.open(n);else{const r=t.path.slice(0,t.path.lastIndexOf("/"));e.push(new URL(`${r}/${encodeURI(n)}`,C3).pathname)}}},Qc=()=>{const e=de(),t=_e();return x(()=>{const{author:n}=t.value;return n?ga(n):n===!1?[]:ga(e.value.author,!1)})},S3=()=>{const e=_e();return x(()=>Pp(e.value.category).map(t=>({name:t,path:""})))},x3=()=>{const e=_e();return x(()=>Op(e.value.tag).map(t=>({name:t,path:""})))},k3=()=>{const e=_e(),t=we();return x(()=>{const n=o2(e.value.date);if(n)return n;const{createdTime:r}=t.value.git||{};return r?new Date(r):null})},T3=()=>{const e=de(),t=we(),n=_e(),r=Qc(),o=S3(),s=x3(),l=k3(),a=Kc(),i=y3(),c=x(()=>({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=x(()=>"pageInfo"in n.value?n.value.pageInfo:"pageInfo"in e.value?e.value.pageInfo:null);return{info:c,items:u}},{mobileBreakPoint:A3,pcBreakPoint:L3}=Yc,_a=e=>e.endsWith("px")?Number(e.slice(0,-2)):null,yo=()=>{const e=Q(!1),t=Q(!1),n=()=>{e.value=window.innerWidth<=(_a(A3)??719),t.value=window.innerWidth>=(_a(L3)??1440)};return be(()=>{n(),Le("resize",n,!1),Le("orientationchange",n,!1)}),{isMobile:e,isPC:t}},Xc=Symbol(""),Lr=()=>{const e=Oe(Xc);if(!e)throw new Error("useDarkmode() is called without provider.");return e},I3=e=>{const t=cn(),n=k2(),r=x(()=>t.value.darkmode||"switch"),o=Fn("vuepress-theme-hope-scheme","auto"),s=x(()=>{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=x(()=>{const a=r.value;return a==="switch"||a==="toggle"});e.provide(Xc,{canToggle:l,config:r,isDarkmode:s,status:o}),Object.defineProperties(e.config.globalProperties,{$isDarkmode:{get:()=>s.value}})},$3=()=>{const{config:e,isDarkmode:t,status:n}=Lr();ii(()=>{e.value==="disable"?n.value="light":e.value==="enable"?n.value="dark":e.value==="toggle"&&n.value==="auto"&&(n.value="light")}),be(()=>{ie(t,r=>document.documentElement.setAttribute("data-theme",r?"dark":"light"),{immediate:!0})})};var yt=(e=>(e.title="t",e.shortTitle="s",e.icon="i",e.index="I",e.order="O",e.breadcrumbExclude="b",e))(yt||{}),P3=(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))(P3||{}),O3=(e=>(e.article="a",e.home="h",e.slide="s",e.page="p",e))(O3||{});const Xt=(e="",t="")=>Us(t)?t:`${Bi(e)}${t}`,xn=(e,t=!1)=>{const{meta:n,path:r,notFound:o}=mo(e);return o?{text:r,link:r}:{text:!t&&n[yt.shortTitle]?n[yt.shortTitle]:n[yt.title]||r,link:r,...n[yt.icon]?{icon:n[yt.icon]}:{}}},ds=({config:e,prefix:t=""})=>{const n=(r,o=t)=>{const s=Te(r)?xn(Xt(o,r)):r.link?{...r,...Ln(r.link)?{}:{link:xn(Xt(o,r.link)).link}}:r;if("children"in s){const l=Xt(o,s.prefix),a=s.children==="structure"?Js[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))},R3=({config:e,page:t,headerDepth:n})=>{const r=an(e).sort((o,s)=>s.length-o.length);for(const o of r)if(Pn(decodeURI(t.path),o)){const s=e[o];return s?ds({config:s==="structure"?Js[o]:s,page:t,headerDepth:n,prefix:o}):[]}return console.warn(`${t.path} is missing sidebar config.`),[]},M3=({config:e,routeLocale:t,page:n,headerDepth:r})=>e==="structure"?ds({config:Js[t],page:n,headerDepth:r,prefix:t}):us(e)?ds({config:e,page:n,headerDepth:r}):Nn(e)?R3({config:e,page:n,headerDepth:r}):[],Zc=Symbol(""),N3=()=>{const e=_e(),t=de(),n=we(),r=jn(),o=x(()=>e.value.home?!1:e.value.sidebar??t.value.sidebar??"structure"),s=x(()=>e.value.headerDepth??t.value.headerDepth??2),l=cc(()=>[o.value,s.value,n.value.path,null],()=>M3({config:o.value,routeLocale:r.value,page:n.value,headerDepth:s.value}));En(Zc,l)},Xs=()=>{const e=Oe(Zc);if(!e)throw new Error("useSidebarItems() is called without provider.");return e};var D3=U({name:"PageFooter",setup(){const e=cn(),t=de(),n=_e(),r=Qc(),o=x(()=>{const{copyright:c,footer:u}=n.value;return u!==!1&&!!(c||u||t.value.displayFooter)}),s=x(()=>{const{footer:c}=n.value;return c===!1?!1:Te(c)?c:t.value.footer||""}),l=x(()=>r.value.map(({name:c})=>c).join(", ")),a=c=>`Copyright © ${new Date().getFullYear()} ${l.value} ${c?`${c} Licensed`:""}`,i=x(()=>{const{copyright:c,license:u=""}=n.value,{license:d}=e.value,{copyright:p}=t.value;return c??(u?a(u):Te(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}}),Ue=U({name:"AutoLink",inheritAttrs:!1,props:{config:{type:Object,required:!0},exact:Boolean,noExternalLinkIcon:Boolean},emits:["focusout"],slots:Object,setup(e,{attrs:t,emit:n,slots:r}){const o=ln(),s=Xi(),l=io(e,"config"),a=x(()=>sn(l.value.link)),i=x(()=>!a.value&&Fi(l.value.link)),c=x(()=>l.value.target||(a.value?"_blank":void 0)),u=x(()=>c.value==="_blank"),d=x(()=>!a.value&&!i.value&&!u.value),p=x(()=>l.value.rel||(u.value?"noopener noreferrer":null)),v=x(()=>l.value.ariaLabel||l.value.text),g=x(()=>{if(e.exact)return!1;const w=an(s.value.locales);return w.length?w.every(y=>y!==l.value.link):l.value.link!=="/"}),_=x(()=>d.value?l.value.activeMatch?new RegExp(l.value.activeMatch,"u").test(o.path):g.value?Pn(o.path,l.value.link):o.path===l.value.link:!1);return()=>{const{before:w,after:y,default:C}=r,{text:b,icon:k,link:M}=l.value;return d.value?f(qe,{to:M,"aria-label":v.value,...t,class:["nav-link",{active:_.value},t.class],onFocusout:()=>n("focusout")},()=>C?C():[w?w():f(ze,{icon:k}),b,y==null?void 0:y()]):f("a",{href:M,rel:p.value,target:c.value,"aria-label":v.value,...t,class:["nav-link",t.class],onFocusout:()=>n("focusout")},C?C():[w?w():f(ze,{icon:k}),b,e.noExternalLinkIcon?null:f(Ec),y==null?void 0:y()])}}}),j3=U({name:"NavbarDropdownLink",props:{config:{type:Object,required:!0}},slots:Object,setup(e,{slots:t}){const n=we(),r=io(e,"config"),o=x(()=>r.value.ariaLabel||r.value.text),s=Q(!1);ie(()=>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(Ue,{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(Ue,{config:d,onFocusout:()=>{p===i.children.length-1&&u&&(s.value=!1)}}))))]:f(Ue,{config:i,onFocusout:()=>{u&&(s.value=!1)}}))}))])])}}});const eu=(e,t="")=>Te(e)?xn(Xt(t,e)):"children"in e?{...e,...e.link&&!Ln(e.link)?xn(Xt(t,e.link)):{},children:e.children.map(n=>eu(n,Xt(t,e.prefix)))}:{...e,link:Ln(e.link)?e.link:xn(Xt(t,e.link)).link},tu=()=>{const e=de(),t=()=>(e.value.navbar||[]).map(n=>eu(n));return cc(()=>e.value.navbar,()=>t())},B3=()=>{const e=de(),t=x(()=>e.value.repo||null),n=x(()=>t.value?Ip(t.value):null),r=x(()=>t.value?Fc(t.value):null),o=x(()=>n.value?e.value.repoLabel??(r.value===null?"Source":r.value):null);return x(()=>!n.value||!o.value||e.value.repoDisplay===!1?null:{type:r.value||"Source",label:o.value,link:n.value})};var F3=U({name:"NavScreenDropdown",props:{config:{type:Object,required:!0}},setup(e){const t=we(),n=io(e,"config"),r=x(()=>n.value.ariaLabel||n.value.text),o=Q(!1);ie(()=>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(Ue,{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(Ue,{config:a,onFocusout:()=>{s(a,l.children)&&s(l,n.value.children)&&(o.value=!1)}}))))]:f(Ue,{config:l,onFocusout:()=>{s(l,n.value.children)&&(o.value=!1)}}))))]}}),H3=U({name:"NavScreenLinks",setup(){const e=tu();return()=>e.value.length?f("nav",{class:"nav-screen-links"},e.value.map(t=>f("div",{class:"navbar-links-item"},"children"in t?f(F3,{config:t}):f(Ue,{config:t})))):null}});const nu=()=>f(Se,{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"}));nu.displayName="DarkIcon";const ru=()=>f(Se,{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"}));ru.displayName="LightIcon";const ou=()=>f(Se,{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"}));ou.displayName="AutoIcon";const su=()=>f(Se,{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"}));su.displayName="EnterFullScreenIcon";const lu=()=>f(Se,{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 au=()=>f(Se,{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"})]);au.displayName="OutlookIcon";var iu=U({name:"AppearanceSwitch",setup(){const{config:e,isDarkmode:t,status:n}=Lr(),r=Ar(),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 Ut()}).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(ou,{style:{display:n.value==="auto"?"block":"none"}}),f(nu,{style:{display:n.value==="dark"?"block":"none"}}),f(ru,{style:{display:n.value==="light"?"block":"none"}})])}}),z3=U({name:"AppearanceMode",setup(){const e=de(),{canToggle:t}=Lr(),n=x(()=>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=Yc.enableThemeColor==="true";var cu=U({name:"ToggleFullScreenButton",setup(){const e=de(),{isSupported:t,isFullscreen:n,toggle:r}=Gs(),o=x(()=>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(su))]):null}}),uu=U({name:"OutlookSettings",setup(){const e=cn(),t=Ar(),n=x(()=>!t.value&&e.value.fullscreen);return()=>f(go,()=>[null,f(z3),n.value?f(cu):null])}}),V3=U({name:"NavScreen",props:{show:Boolean},emits:["close"],slots:Object,setup(e,{emit:t,slots:n}){const r=we(),{isMobile:o}=yo(),s=Me(),l=mc(s);return be(()=>{s.value=document.body,ie(o,a=>{!a&&e.show&&(l.value=!1,t("close"))}),ie(()=>r.value.path,()=>{l.value=!1,t("close")})}),Mn(()=>{l.value=!1}),()=>f(qt,{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(H3),f("div",{class:"vp-outlook-wrapper"},f(uu)),(i=n.after)==null?void 0:i.call(n)])):null})}}),q3=U({name:"NavbarBrand",setup(){const e=jn(),t=Vs(),n=de(),r=x(()=>n.value.home||e.value),o=x(()=>t.value.title),s=x(()=>n.value.navTitle??o.value),l=x(()=>n.value.logo?He(n.value.logo):null),a=x(()=>n.value.logoDark?He(n.value.logoDark):null);return()=>f(qe,{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])}}),U3=U({name:"NavbarLinks",setup(){const e=tu();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(j3,{config:t}):f(Ue,{config:t})))):null}}),W3=U({name:"RepoLink",components:{BitbucketIcon:Mc,GiteeIcon:Rc,GitHubIcon:Pc,GitLabIcon:Oc,SourceIcon:Nc},setup(){const e=B3();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(dt(`${e.value.type}Icon`),{style:{width:"1.25rem",height:"1.25rem",verticalAlign:"middle"}}))):null}});const fu=({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"})]));fu.displayName="ToggleNavbarButton";var G3=fu;const ps=(e,{emit:t})=>f("button",{type:"button",class:"vp-toggle-sidebar-button",title:"Toggle Sidebar",onClick:()=>t("toggle")},f("span",{class:"icon"}));ps.displayName="ToggleSidebarButton",ps.emits=["toggle"];var K3=ps,Y3=U({name:"OutlookButton",setup(){const{isSupported:e}=Gs(),t=cn(),n=Ar(),r=we(),{canToggle:o}=Lr(),s=Q(!1),l=x(()=>!n.value&&t.value.fullscreen&&e);return ie(()=>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(cu):f("button",{type:"button",class:["outlook-button",{open:s.value}],tabindex:"-1","aria-hidden":!0},[f(au),f("div",{class:"outlook-dropdown"},f(uu))])):null}}),J3=U({name:"NavBar",emits:["toggleSidebar"],slots:Object,setup(e,{emit:t,slots:n}){const r=de(),{isMobile:o}=yo(),s=Q(!1),l=x(()=>{const{navbarAutoHide:u="mobile"}=r.value;return u!=="none"&&(u==="always"||o.value)}),a=x(()=>r.value.navbarLayout||{start:["Brand"],center:["Links"],end:["Language","Repo","Outlook","Search"]}),i={Brand:q3,Language:Vo,Links:U3,Repo:W3,Outlook:Y3,Search:st("Docsearch")?dt("Docsearch"):st("SearchBox")?dt("SearchBox"):Vo},c=u=>i[u]??(st(u)?dt(u):Vo);return()=>{var u,d,p,v,g,_;return[f("header",{key:"navbar",id:"navbar",class:["vp-navbar",{"auto-hide":l.value,"hide-icon":r.value.navbarIcon===!1}]},[f("div",{class:"vp-navbar-start"},[f(K3,{onToggle:()=>{s.value&&(s.value=!1),t("toggleSidebar")}}),(u=n.startBefore)==null?void 0:u.call(n),(a.value.start||[]).map(w=>f(c(w))),(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(w=>f(c(w))),(v=n.centerAfter)==null?void 0:v.call(n)]),f("div",{class:"vp-navbar-end"},[(g=n.endBefore)==null?void 0:g.call(n),(a.value.end||[]).map(w=>f(c(w))),(_=n.endAfter)==null?void 0:_.call(n),f(G3,{active:s.value,onToggle:()=>{s.value=!s.value}})])]),f(V3,{show:s.value,onClose:()=>{s.value=!1}},{before:()=>{var w;return(w=n.screenTop)==null?void 0:w.call(n)},after:()=>{var w;return(w=n.screenBottom)==null?void 0:w.call(n)}})]}}});const pr=(e,t,n=!1)=>"activeMatch"in t?new RegExp(t.activeMatch,"u").test(e.path):Bc(e,t.link)?!0:"children"in t&&!n?t.children.some(r=>pr(e,r)):!1,du=(e,t)=>t.type==="group"?t.children.some(n=>n.type==="group"?du(e,n):n.type==="page"&&pr(e,n,!0))||"prefix"in t&&Bc(e,t.prefix):!1;var Q3=U({name:"SidebarChild",props:{config:{type:Object,required:!0}},setup(e){const t=ln();return()=>Te(e.config.link)?f(Ue,{class:["vp-sidebar-link","vp-sidebar-page",{active:pr(t,e.config,!0)}],exact:!0,config:e.config}):f("p",e,[f(ze,{icon:e.config.icon}),e.config.text])}}),X3=U({name:"SidebarGroup",props:{config:{type:Object,required:!0},open:{type:Boolean,required:!0}},emits:["toggle"],setup(e,{emit:t}){const n=ln(),r=x(()=>pr(n,e.config)),o=x(()=>pr(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(Ue,{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(pu,{key:i,config:l}):null])}}}),pu=U({name:"SidebarLinks",props:{config:{type:Array,required:!0}},setup(e){const t=ln(),n=Q(-1),r=o=>{n.value=o===n.value?-1:o};return ie(()=>t.path,()=>{const o=e.config.findIndex(s=>du(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(X3,{config:o,open:s===n.value,onToggle:()=>r(s)}):f(Q3,{config:o}))))}}),Z3=U({name:"SideBar",slots:Object,setup(e,{slots:t}){const n=ln(),r=de(),o=Xs(),s=Me();return be(()=>{ie(()=>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(pu,{config:o.value}),(i=t.bottom)==null?void 0:i.call(t)])}}}),hu=U({name:"CommonWrapper",props:{containerClass:{type:String,default:""},noNavbar:Boolean,noSidebar:Boolean,noToc:Boolean},slots:Object,setup(e,{slots:t}){const n=Dn(),r=we(),o=_e(),s=de(),{isMobile:l,isPC:a}=yo(),[i,c]=fr(!1),[u,d]=fr(!1),p=Xs(),v=Q(!1),g=x(()=>e.noNavbar||o.value.navbar===!1||s.value.navbar===!1?!1:!!(r.value.title||s.value.logo||s.value.repo||s.value.navbar)),_=x(()=>e.noSidebar?!1:o.value.sidebar!==!1&&p.value.length!==0&&!o.value.home),w=x(()=>e.noToc||o.value.home?!1:o.value.toc||s.value.toc!==!1&&o.value.toc!==!1),y={x:0,y:0},C=S=>{y.x=S.changedTouches[0].clientX,y.y=S.changedTouches[0].clientY},b=S=>{const N=S.changedTouches[0].clientX-y.x,P=S.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))},k=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;let M=0;return Le("scroll",h2(()=>{const S=k();S<=58||S<M?v.value=!1:M+200<S&&!i.value&&(v.value=!0),M=S},300,!0)),ie(l,S=>{S||c(!1)}),be(()=>{const S=mc(document.body);ie(i,P=>{S.value=P});const N=n.afterEach(()=>{c(!1)});Mn(()=>{S.value=!1,N()})}),()=>f(st("GlobalEncrypt")?dt("GlobalEncrypt"):$c,()=>f("div",{class:["theme-container",{"no-navbar":!g.value,"no-sidebar":!_.value&&!(t.sidebar||t.sidebarTop||t.sidebarBottom),"has-toc":w.value,"hide-navbar":v.value,"sidebar-collapsed":!l.value&&!a.value&&u.value,"sidebar-open":l.value&&i.value},e.containerClass,o.value.containerClass||""],onTouchStart:C,onTouchEnd:b},[g.value?f(J3,{onToggleSidebar:()=>c()},{startBefore:()=>{var S;return(S=t.navbarStartBefore)==null?void 0:S.call(t)},startAfter:()=>{var S;return(S=t.navbarStartAfter)==null?void 0:S.call(t)},centerBefore:()=>{var S;return(S=t.navbarCenterBefore)==null?void 0:S.call(t)},centerAfter:()=>{var S;return(S=t.navbarCenterAfter)==null?void 0:S.call(t)},endBefore:()=>{var S;return(S=t.navbarEndBefore)==null?void 0:S.call(t)},endAfter:()=>{var S;return(S=t.navbarEndAfter)==null?void 0:S.call(t)},screenTop:()=>{var S;return(S=t.navScreenTop)==null?void 0:S.call(t)},screenBottom:()=>{var S;return(S=t.navScreenBottom)==null?void 0:S.call(t)}}):null,f(qt,{name:"fade"},()=>i.value?f("div",{class:"vp-sidebar-mask",onClick:()=>c(!1)}):null),f(qt,{name:"fade"},()=>l.value?null:f("div",{class:"toggle-sidebar-wrapper",onClick:()=>d()},f("span",{class:["arrow",u.value?"end":"start"]}))),f(Z3,{},{...t.sidebar?{default:()=>t.sidebar()}:{},top:()=>{var S;return(S=t.sidebarTop)==null?void 0:S.call(t)},bottom:()=>{var S;return(S=t.sidebarBottom)==null?void 0:S.call(t)}}),t.default(),f(D3)]))}}),mn=U({name:"DropTransition",props:{type:{type:String,default:"single"},delay:{type:Number,default:0},duration:{type:Number,default:.25},appear:Boolean},slots:Object,setup(e,{slots:t}){const n=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"?qt:sd,{name:"drop",appear:e.appear,onAppear:n,onAfterAppear:r,onEnter:n,onAfterEnter:r,onBeforeLeave:n},()=>t.default())}});const hs=({custom:e})=>f(ec,{class:["theme-hope-content",{custom:e}]});hs.displayName="MarkdownContent",hs.props={custom:Boolean};var vu=hs;const mu=()=>f(Se,{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"}));mu.displayName="AuthorIcon";const gu=()=>f(Se,{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"}));gu.displayName="CalendarIcon";const bu=()=>f(Se,{name:"category"},()=>f("path",{d:"M148.41 106.992h282.176c22.263 0 40.31 18.048 40.31 40.31V429.48c0 22.263-18.047 40.31-40.31 40.31H148.41c-22.263 0-40.311-18.047-40.311-40.31V147.302c0-22.263 18.048-40.31 40.311-40.31zM147.556 553.478H429.73c22.263 0 40.311 18.048 40.311 40.31v282.176c0 22.263-18.048 40.312-40.31 40.312H147.555c-22.263 0-40.311-18.049-40.311-40.312V593.79c0-22.263 18.048-40.311 40.31-40.311zM593.927 106.992h282.176c22.263 0 40.31 18.048 40.31 40.31V429.48c0 22.263-18.047 40.31-40.31 40.31H593.927c-22.263 0-40.311-18.047-40.311-40.31V147.302c0-22.263 18.048-40.31 40.31-40.31zM730.22 920.502H623.926c-40.925 0-74.22-33.388-74.22-74.425V623.992c0-41.038 33.387-74.424 74.425-74.424h222.085c41.038 0 74.424 33.226 74.424 74.067v114.233c0 10.244-8.304 18.548-18.547 18.548s-18.548-8.304-18.548-18.548V623.635c0-20.388-16.746-36.974-37.33-36.974H624.13c-20.585 0-37.331 16.747-37.331 37.33v222.086c0 20.585 16.654 37.331 37.126 37.331H730.22c10.243 0 18.547 8.304 18.547 18.547 0 10.244-8.304 18.547-18.547 18.547z"}));bu.displayName="CategoryIcon";const yu=()=>f(Se,{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"}));yu.displayName="PrintIcon";const wu=()=>f(Se,{name:"tag"},()=>f("path",{d:"M939.902 458.563L910.17 144.567c-1.507-16.272-14.465-29.13-30.737-30.737L565.438 84.098h-.402c-3.215 0-5.726 1.005-7.634 2.913l-470.39 470.39a10.004 10.004 0 000 14.164l365.423 365.424c1.909 1.908 4.42 2.913 7.132 2.913s5.223-1.005 7.132-2.913l470.39-470.39c2.01-2.11 3.014-5.023 2.813-8.036zm-240.067-72.121c-35.458 0-64.286-28.828-64.286-64.286s28.828-64.285 64.286-64.285 64.286 28.828 64.286 64.285-28.829 64.286-64.286 64.286z"}));wu.displayName="TagIcon";const _u=()=>f(Se,{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"}));_u.displayName="TimerIcon";const Eu=()=>f(Se,{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"})]);Eu.displayName="WordIcon";const Wt=()=>{const e=de();return x(()=>e.value.metaLocales)};var eh=U({name:"AuthorInfo",inheritAttrs:!1,props:{author:{type:Array,required:!0},pure:Boolean},setup(e){const t=Wt();return()=>e.author.length?f("span",{class:"page-author-info","aria-label":`${t.value.author}${e.pure?"":"🖊"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[f(mu),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}}),th=U({name:"CategoryInfo",inheritAttrs:!1,props:{category:{type:Array,required:!0},pure:Boolean},setup(e){const t=Wt(),n=Qs();return()=>e.category.length?f("span",{class:"page-category-info","aria-label":`${t.value.category}${e.pure?"":"🌈"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[f(bu),e.category.map(({name:r,path:o})=>f("span",{class:["page-category-item",{[`category${Dc(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}}),nh=U({name:"DateInfo",inheritAttrs:!1,props:{date:{type:Object,default:null},localizedDate:{type:String,default:""},pure:Boolean},setup(e){const t=zs(),n=Wt();return()=>e.date?f("span",{class:"page-date-info","aria-label":`${n.value.date}${e.pure?"":"📅"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[f(gu),f("span",f(go,()=>e.localizedDate||e.date.toLocaleDateString(t.value))),f("meta",{property:"datePublished",content:e.date.toISOString()||""})]):null}}),rh=U({name:"OriginalInfo",inheritAttrs:!1,props:{isOriginal:Boolean},setup(e){const t=Wt();return()=>e.isOriginal?f("span",{class:"page-original-info"},t.value.origin):null}}),oh=U({name:"ReadingTimeInfo",inheritAttrs:!1,props:{readingTime:{type:Object,default:()=>null},readingTimeLocale:{type:Object,default:()=>null},pure:Boolean},setup(e){const t=Wt(),n=x(()=>{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(_u),f("span",(o=e.readingTimeLocale)==null?void 0:o.time),f("meta",{property:"timeRequired",content:n.value})]):null}}}),sh=U({name:"TagInfo",inheritAttrs:!1,props:{tag:{type:Array,default:()=>[]},pure:Boolean},setup(e){const t=Wt(),n=Qs();return()=>e.tag.length?f("span",{class:"page-tag-info","aria-label":`${t.value.tag}${e.pure?"":"🏷"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[f(wu),e.tag.map(({name:r,path:o})=>f("span",{class:["page-tag-item",{[`tag${Dc(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}}),lh=U({name:"ReadTimeInfo",inheritAttrs:!1,props:{readingTime:{type:Object,default:()=>null},readingTimeLocale:{type:Object,default:()=>null},pure:Boolean},setup(e){const t=Wt();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(Eu),f("span",(r=e.readingTimeLocale)==null?void 0:r.words),f("meta",{property:"wordCount",content:(o=e.readingTime)==null?void 0:o.words})]):null}}}),ah=U({name:"PageInfo",components:{AuthorInfo:eh,CategoryInfo:th,DateInfo:nh,OriginalInfo:rh,PageViewInfo:()=>null,ReadingTimeInfo:oh,TagInfo:sh,WordInfo:lh},props:{items:{type:[Array,Boolean],default:()=>["Author","Original","Date","PageView","ReadingTime","Category","Tag"]},info:{type:Object,required:!0}},setup(e){const t=Ar();return()=>e.items?f("div",{class:"page-info"},e.items.map(n=>f(dt(`${n}Info`),{...e.info,pure:t.value}))):null}}),ih=U({name:"PrintButton",setup(){const e=cn(),t=de();return()=>e.value.print===!1?null:f("button",{type:"button",class:"print-button",title:t.value.metaLocales.print,onClick:()=>{window.print()}},f(yu))}}),ch=U({name:"TOC",props:{items:{type:Array,default:()=>[]},headerDepth:{type:Number,default:2}},slots:Object,setup(e,{slots:t}){const n=ln(),r=we(),o=Wt(),[s,l]=fr(),a=Me(),i=Q("-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 be(()=>{ie(()=>n.hash,d=>{if(a.value){const p=document.querySelector(`#toc a.toc-link[href$="${d}"]`);if(!p)return;const{top:v,height:g}=a.value.getBoundingClientRect(),{top:_,height:w}=p.getBoundingClientRect();_<v?c(a.value.scrollTop+_-v):_+w>v+g&&c(a.value.scrollTop+_+w-v-g)}}),ie(()=>n.fullPath,u,{flush:"post",immediate:!0})}),()=>{var g,_;const d=({title:w,level:y,slug:C})=>f(qe,{to:`#${C}`,class:["vp-toc-link",`level${y}`],onClick:()=>{l()}},()=>w),p=(w,y)=>w.length&&y>0?f("ul",{class:"vp-toc-list"},w.map(C=>{const b=p(C.children,y-1);return[f("li",{class:["vp-toc-item",{active:n.hash===`#${C.slug}`}]},d(C)),b?f("li",b):null]})):null,v=e.items.length?p(e.items,e.headerDepth):r.value.headers?p(r.value.headers,e.headerDepth):null;return v?f("div",{class:"vp-toc-placeholder"},[f("aside",{id:"toc"},[(g=t.before)==null?void 0:g.call(t),f("div",{class:"vp-toc-header",onClick:()=>{l()}},[o.value.toc,f(ih),f("div",{class:["arrow",s.value?"down":"end"]})]),f("div",{class:["vp-toc-wrapper",s.value?"open":""],ref:a},[v,f("div",{class:"vp-toc-marker",style:{top:i.value}})]),(_=t.after)==null?void 0:_.call(t)])]):null}}}),Cu=U({name:"SkipLink",props:{content:{type:String,default:"main-content"}},setup(e){const t=we(),n=de(),r=Me(),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 be(()=>{ie(()=>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 Uo=null,qn=null;const uh={wait:()=>Uo,pending:()=>{Uo=new Promise(e=>{qn=e})},resolve:()=>{qn==null||qn(),Uo=null,qn=null}},Su=()=>uh;var xu=U({name:"FadeSlideY",slots:Object,setup(e,{slots:t}){const{resolve:n,pending:r}=Su();return()=>f(qt,{name:"fade-slide-y",mode:"out-in",onBeforeEnter:n,onBeforeLeave:r},()=>{var o;return(o=t.default)==null?void 0:o.call(t)})}});const fh=(e,t)=>{const n=e.replace(t,"/").split("/"),r=[];let o=js(t);return n.forEach((s,l)=>{l!==n.length-1?(o+=`${s}/`,r.push({link:o,name:s||"Home"})):s!==""&&(o+=s,r.push({link:o,name:s}))}),r},ku=(e,{slots:t})=>{var d,p;const{bgImage:n,bgImageDark:r,bgImageStyle:o,color:s,description:l,image: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:He(a),alt:""}):null,i?f("img",{class:"vp-feature-image dark",src:He(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:v,title:g,details:_,link:w})=>{const y=[f("h3",{class:"vp-feature-title"},[f(ze,{icon:v}),f("span",{innerHTML:g})]),f("p",{class:"vp-feature-details",innerHTML:_})];return w?Ln(w)?f("a",{class:"vp-feature-item link",href:w,"aria-label":g,target:"_blank"},y):f(qe,{class:"vp-feature-item link",to:w,"aria-label":g},()=>y):f("div",{class:"vp-feature-item"},y)})):null])])};ku.displayName="FeaturePanel";var Ea=ku,dh=U({name:"HeroInfo",slots:Object,setup(e,{slots:t}){const n=_e(),r=Vs(),o=x(()=>n.value.heroFullScreen??!1),s=x(()=>{const{heroText:c,tagline:u}=n.value;return{text:c??r.value.title??"Hello",tagline:u??r.value.description??"",isFullScreen:o.value}}),l=x(()=>{const{heroText:c,heroImage:u,heroImageDark:d,heroAlt:p,heroImageStyle:v}=n.value;return{image:u?He(u):null,imageDark:d?He(d):null,style:v,alt:p||c||"",isFullScreen:o.value}}),a=x(()=>{const{bgImage:c,bgImageDark:u,bgImageStyle:d}=n.value;return{image:Te(c)?He(c):null,imageDark:Te(u)?He(u):null,bgStyle:d,isFullScreen:o.value}}),i=x(()=>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(mn,{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(mn,{appear:!0,delay:.04},()=>f("h1",{id:"main-title"},s.value.text)):null,s.value.tagline?f(mn,{appear:!0,delay:.08},()=>f("p",{id:"main-description",innerHTML:s.value.tagline})):null,i.value.length?f(mn,{appear:!0,delay:.12},()=>f("p",{class:"vp-hero-actions"},i.value.map(p=>f(Ue,{class:["vp-hero-action",p.type||"default"],config:p,noExternalLinkIcon:!0},p.icon?{before:()=>f(ze,{icon:p.icon})}:{})))):null])])])}}});const Tu=(e,{slots:t})=>{var p,v,g;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:He(a),alt:""}):null,i?f("img",{class:"vp-highlight-image dark",src:He(i),alt:""}):null],((v=t.info)==null?void 0:v.call(t,e))||[f("div",{class:"vp-highlight-info-wrapper"},f("div",{class:"vp-highlight-info"},[c?f("h2",{class:"vp-highlight-header",innerHTML:c}):null,l?f("p",{class:"vp-highlight-description",innerHTML:l}):null,((g=t.highlights)==null?void 0:g.call(t,u))||f(d==="order"?"ol":d==="no-order"?"dl":"ul",{class:"vp-highlights"},u.map(({icon:_,title:w,details:y,link:C})=>{const b=[f(d==="no-order"?"dt":"h3",{class:"vp-highlight-title"},[_?f(ze,{class:"vp-highlight-icon",icon:_}):null,f("span",{innerHTML:w})]),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:C}]},C?Ln(C)?f("a",{class:"vp-highlight-item link",href:C,"aria-label":w,target:"_blank"},b):f(qe,{class:"vp-highlight-item link",to:C,"aria-label":w},()=>b):f("div",{class:"vp-highlight-item"},b))}))]))]])])};Tu.displayName="HighlightPanel";var ph=Tu,hh=U({name:"HomePage",slots:Object,setup(e,{slots:t}){const n=Ar(),r=_e(),o=x(()=>{const{features:l}=r.value;return us(l)?l:null}),s=x(()=>{const{highlights:l}=r.value;return us(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(dh),((a=s.value)==null?void 0:a.map(u=>"features"in u?f(Ea,u):f(ph,u)))||(o.value?f(mn,{appear:!0,delay:.24},()=>f(Ea,{features:o.value})):null),(i=t.center)==null?void 0:i.call(t),f(mn,{appear:!0,delay:.32},()=>f(vu)),(c=t.bottom)==null?void 0:c.call(t)])}}}),vh=U({name:"BreadCrumb",setup(){const e=we(),t=jn(),n=_e(),r=de(),o=Me([]),s=x(()=>(n.value.breadcrumb||n.value.breadcrumb!==!1&&r.value.breadcrumb!==!1)&&o.value.length>1),l=x(()=>n.value.breadcrumbIcon||n.value.breadcrumbIcon!==!1&&r.value.breadcrumbIcon!==!1),a=()=>{const i=fh(e.value.path,t.value).map(({link:c,name:u})=>{const{path:d,meta:p,notFound:v}=mo(c);return v||p[yt.breadcrumbExclude]?null:{title:p[yt.shortTitle]||p[yt.title]||u,icon:p[yt.icon],path:d}}).filter(c=>c!==null);i.length>1&&(o.value=i)};return be(()=>{ie(()=>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(qe,{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 Ca=e=>e===!1||Nn(e)?e:Te(e)?xn(e,!0):null,vs=(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=vs(o.children,t,n);if(s)return s}return null};var mh=U({name:"PageNav",setup(){const e=de(),t=_e(),n=Xs(),r=we(),o=Qs(),s=x(()=>{const a=Ca(t.value.prev);return a===!1?null:a||(e.value.prevLink===!1?null:vs(n.value,r.value.path,-1))}),l=x(()=>{const a=Ca(t.value.next);return a===!1?null:a||(e.value.nextLink===!1?null:vs(n.value,r.value.path,1))});return Le("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(Ue,{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(Ue,{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 gh={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=Fc(e);let l;return o?l=o:s!==null&&(l=gh[s]),l?l.replace(/:repo/u,sn(e)?e:`https://github.com/${e}`).replace(/:branch/u,t).replace(/:path/u,Hi(`${js(n)}/${r}`)):null},yh=()=>{const e=de(),t=we(),n=_e();return x(()=>{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})},wh=()=>{const e=Vs(),t=de(),n=we(),r=_e();return x(()=>{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)})},_h=()=>{const e=de(),t=we(),n=_e();return x(()=>{var r;return n.value.contributors??e.value.contributors??!0?((r=t.value.git)==null?void 0:r.contributors)??null:null})};var Eh=U({name:"PageTitle",setup(){const e=we(),t=_e(),n=de(),{info:r,items:o}=T3();return()=>f("div",{class:"vp-page-title"},[f("h1",[n.value.titleIcon===!1?null:f(ze,{icon:t.value.icon}),e.value.title]),f(ah,{info:r.value,...o.value===null?{}:{items:o.value}}),f("hr")])}});const Au=()=>f(Se,{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"})]);Au.displayName="EditIcon";var Ch=U({name:"PageMeta",setup(){const e=de(),t=yh(),n=wh(),r=_h();return()=>{const{metaLocales:o}=e.value;return f("footer",{class:"page-meta"},[t.value?f("div",{class:"meta-item edit-link"},f(Ue,{class:"label",config:t.value},{before:()=>f(Au)})):null,f("div",{class:"meta-item git-info"},[n.value?f("div",{class:"update-time"},[f("span",{class:"label"},`${o.lastUpdated}: `),f(go,()=>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=U({name:"NormalPage",slots:Object,setup(e,{slots:t}){const n=_e(),{isDarkmode:r}=Lr(),o=de(),s=x(()=>n.value.toc||n.value.toc!==!1&&o.value.toc!==!1);return()=>f("main",{id:"main-content",class:"vp-page"},f(st("LocalEncrypt")?dt("LocalEncrypt"):$c,()=>{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:He(n.value.cover),alt:"","no-view":""})):null,f(vh),f(Eh),s.value?f(ch,{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(vu),(i=t.contentAfter)==null?void 0:i.call(t),f(Ch),f(mh),st("CommentService")?f(dt("CommentService"),{darkmode:r.value}):null,(c=t.bottom)==null?void 0:c.call(t)]}))}}),xh=U({name:"Layout",slots:Object,setup(e,{slots:t}){de();const n=we(),r=_e(),{isMobile:o}=yo(),s=x(()=>"none");return()=>[f(Cu),f(hu,{},{default:()=>{var l;return((l=t.default)==null?void 0:l.call(t))||(r.value.home?f(hh):f(xu,()=>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(dt("BloggerInfo"))},...!o.value&&s.value==="always"?{sidebar:()=>f(dt("BloggerInfo"))}:{}})]}}),kh=U({name:"NotFoundHint",setup(){const e=de(),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())])}}),Th=U({name:"NotFound",slots:Object,setup(e,{slots:t}){const n=Dn(),r=jn(),o=de();return()=>[f(Cu),f(hu,{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(kh),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 Lu=()=>f(Se,{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"}));Lu.displayName="LockIcon";var Ah={};const fn="./ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),Wo=Array.from({length:64},(e,t)=>t),qr=e=>Array(e).fill(-1),Ot=[...qr(46),0,1,...Wo.slice(54,64),...qr(7),...Wo.slice(2,28),...qr(6),...Wo.slice(28,54),...qr(5)],Sa=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],xa=[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],Iu=[1332899944,1700884034,1701343084,1684370003,1668446532,1869963892],ms=(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(fn[r>>2&63]),r=(r&3)<<4,n>=t){s.push(fn[r&63]);break}if(o=e[n++]&255,r|=o>>4&15,s.push(fn[r&63]),r=(o&15)<<2,n>=t){s.push(fn[r&63]);break}o=e[n++]&255,r|=o>>6&3,s.push(fn[r&63]),s.push(fn[o&63])}return s.join("")},Lh=(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<Ot.length?Ot[u]:-1,u=e.charCodeAt(r++),l=u<Ot.length?Ot[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<Ot.length?Ot[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<Ot.length?Ot[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},$h=(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)},Ph=(e,t)=>{$h(e,function(n){Ih(n,t)})},Oh=typeof process=="object"&&Ah.NEXT_RUNTIME==="edge"?setTimeout:typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:setTimeout,Rh=e=>{const t=[];let n=0;return Ph(()=>n>=e.length?null:e.charCodeAt(n++),r=>{t.push(r)}),t},hr=(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},pn=(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}},ka=(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=pn(e,s),s=a.offp,t[i]=t[i]^a.key;for(let i=0;i<r;i+=2)l=hr(l,0,t,n),t[i]=l[0],t[i+1]=l[1];for(let i=0;i<o;i+=2)l=hr(l,0,t,n),n[i]=l[0],n[i+1]=l[1]},Mh=(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=pn(t,l),l=i.offp,n[c]=n[c]^i.key;l=0;for(let c=0;c<o;c+=2)i=pn(e,l),l=i.offp,a[0]^=i.key,i=pn(e,l),l=i.offp,a[1]^=i.key,a=hr(a,0,n,r),n[c]=a[0],n[c+1]=a[1];for(let c=0;c<s;c+=2)i=pn(e,l),l=i.offp,a[0]^=i.key,i=pn(e,l),l=i.offp,a[1]^=i.key,a=hr(a,0,n,r),r[c]=a[0],r[c+1]=a[1]},Ta=(e,t,n,r,o)=>{const s=Iu.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(Sa),i=new Int32Array(xa)):(a=Sa.slice(),i=xa.slice()),Mh(t,e,a,i);const d=()=>{if(o&&o(c/n),c<n){const p=Date.now();for(;c<n&&(c=c+1,ka(e,a,i),ka(t,a,i),!(Date.now()-p>100)););}else{for(c=0;c<64;c++)for(u=0;u<l>>1;u++)hr(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=>Oh(()=>{d().then(p)}))};if(r===!1)return d();{let p;for(;;)if(typeof(p=d())<"u")return p||[]}},Nh=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")}},Dh=(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(ms(Nh(16),16)),t.join("")};function jh(e,t,n,r){if(typeof e!="string"||typeof t!="string"){const v=new Error("Invalid string / salt: Not a string");if(n===!1)return Promise.reject(v);throw v}let o,s;if(t.charAt(0)!=="$"||t.charAt(1)!=="2"){const v=new Error("Invalid salt version: "+t.substring(0,2));if(n===!1)return Promise.reject(v);throw v}if(t.charAt(2)==="$")o="\0",s=3;else{if(o=t.charAt(2),o!=="a"&&o!=="b"&&o!=="y"||t.charAt(3)!=="$"){const v=Error("Invalid salt revision: "+t.substring(2,4));if(n===!1)return Promise.reject(v);throw v}s=4}if(t.charAt(s+2)>"$"){const v=new Error("Missing salt rounds");if(n===!1)return Promise.reject(v);throw v}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=Rh(e),d=Lh(c,16),p=v=>{const g=[];return g.push("$2"),o>="a"&&g.push(o),g.push("$"),i<10&&g.push("0"),g.push(i.toString()),g.push("$"),g.push(ms(d,d.length)),g.push(ms(v,Iu.length*4-1)),g.join("")};return n===!1?Ta(u,d,i,!1,r).then(v=>p(v)):p(Ta(u,d,i,!0,r))}const Bh=(e,t=10)=>{if(typeof t=="number"&&(t=Dh(t)),typeof e!="string"||typeof t!="string")throw Error("Illegal arguments: "+typeof e+", "+typeof t);return jh(e,t,!0)},gs=(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 $u=U({name:"PasswordModal",props:{full:Boolean},emits:["verify"],setup(e,{emit:t}){const n=_e(),r=de(),o=Q(""),s=Q(!1),l=Q(!1),a=x(()=>r.value.encryptLocales);let i=null;const c=()=>{i&&clearTimeout(i),s.value=!1,t("verify",o.value,l.value),Ut().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(Lu,{"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 Pu=()=>{const e=cn();return x(()=>e.value.encrypt||{})},Aa="VUEPRESS_HOPE_GLOBAL_TOKEN",Fh=()=>{const e=Pu(),t=Fn(Aa,""),n=gc(Aa,""),r=x(()=>{const{global:s=!1,admin:l=[]}=e.value;return s&&l.length>0}),o=x(()=>{if(r.value){if(t.value)return e.value.admin.some(s=>gs(t.value,s));if(n.value)return e.value.admin.some(s=>gs(n.value,s))}return!1});return{isEncrypted:r,isDecrypted:o,validate:(s,l=!1)=>{(l?t:n).value=s}}},Go=(e="",t)=>!!e&&gs(e,t),La="VUEPRESS_HOPE_PATH_TOKEN",Hh=()=>{const e=we(),t=Pu(),n=Fn(La,{}),r=gc(La,{}),o=l=>Nn(t.value.config)?an(t.value.config).filter(a=>Pn(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=>Go(n.value[c],u))||r.value[c]&&i[c].some(u=>Go(r.value[c],u)))}}return{isDecrypted:!1,isEncrypted:!1}};return{status:x(()=>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=>Go(l,d))){(a?n:r).value[u]=l;break}}}};var zh=U({name:"GlobalEncrypt",slots:Object,setup(e,{slots:t}){const{isDecrypted:n,isEncrypted:r,validate:o}=Fh(),s=Q(!1);return be(()=>{s.value=!0}),()=>f(xu,()=>r.value?s.value?n.value?t.default():f($u,{full:!0,onVerify:o}):null:t.default())}}),Vh=U({name:"LocalEncrypt",slots:Object,setup(e,{slots:t}){const{status:n,validate:r}=Hh(),o=Q(!1);return be(()=>{o.value=!0}),()=>{const{isEncrypted:s,isDecrypted:l}=n.value;return s?o.value?l?t.default():f($u,{full:!0,onVerify:r}):null:t.default()}}});F2(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 qh=at({enhance:({app:e,router:t})=>{const{scrollBehavior:n}=t.options;t.options.scrollBehavior=async(...r)=>(await Su().wait(),n(...r)),I3(e),e.component("HopeIcon",ze),e.component("GlobalEncrypt",zh),e.component("LocalEncrypt",Vh)},setup:()=>{$3(),N3()},layouts:{Layout:xh,NotFound:Th}}),Ur=[j0,O2,B2,U2,K2,X2,np,ap,vp,kp,n3,m3,qh],Uh=JSON.parse('{"base":"/","lang":"zh-CN","title":"文档演示","description":"vuepress-theme-hope 的文档演示","head":[],"locales":{}}');var Wn=Me(Uh),Wh=r0,Gh=()=>{const e=A0({history:Wh(js("/")),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===St){const r=mo(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},Kh=e=>{e.component("ClientOnly",go),e.component("Content",ec),e.component("RouteLink",qe)},Yh=(e,t,n)=>{const r=x(()=>t.currentRoute.value.path),o=Is((w,y)=>({get(){return w(),t.currentRoute.value.meta._pageChunk},set(C){t.currentRoute.value.meta._pageChunk=C,y()}})),s=x(()=>Yt.resolveLayouts(n)),l=x(()=>Yt.resolveRouteLocale(Wn.value.locales,r.value)),a=x(()=>Yt.resolveSiteLocaleData(Wn.value,l.value)),i=x(()=>o.value.comp),c=x(()=>o.value.data),u=x(()=>c.value.frontmatter),d=x(()=>Yt.resolvePageHeadTitle(c.value,a.value)),p=x(()=>Yt.resolvePageHead(d.value,u.value,a.value)),v=x(()=>Yt.resolvePageLang(c.value,a.value)),g=x(()=>Yt.resolvePageLayout(c.value,s.value)),_={layouts:s,pageData:c,pageComponent:i,pageFrontmatter:u,pageHead:p,pageHeadTitle:d,pageLang:v,pageLayout:g,redirects:as,routeLocale:l,routePath:r,routes:ur,siteData:Wn,siteLocaleData:a};return e.provide(Hs,_),Object.defineProperties(e.config.globalProperties,{$frontmatter:{get:()=>u.value},$head:{get:()=>p.value},$headTitle:{get:()=>d.value},$lang:{get:()=>v.value},$page:{get:()=>c.value},$routeLocale:{get:()=>l.value},$site:{get:()=>Wn.value},$siteLocale:{get:()=>a.value},$withBase:{get:()=>He}}),_},Jh=()=>{const e=$0(),t=zs();let n=[];const r=()=>{e.value.forEach(l=>{const a=Qh(l);a&&n.push(a)})},o=()=>{const l=[];return e.value.forEach(a=>{const i=Xh(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]};En(R0,s),be(()=>{r(),ie(e,s,{immediate:!1})})},Qh=([e,t,n=""])=>{const r=Object.entries(t).map(([a,i])=>Te(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},Xh=([e,t,n])=>{if(!Te(e))return null;const r=document.createElement(e);return Nn(t)&&Object.entries(t).forEach(([o,s])=>{Te(s)?r.setAttribute(o,s):s===!0&&r.setAttribute(o,"")}),Te(n)&&r.appendChild(document.createTextNode(n)),r},Zh=dd,e4=async()=>{var n;const e=Zh({name:"Vuepress",setup(){var s;Jh();for(const l of Ur)(s=l.setup)==null||s.call(l);const r=Ur.flatMap(({rootComponents:l=[]})=>l.map(a=>f(a))),o=P0();return()=>[f(o.value),r]}}),t=Gh();Kh(e),Yh(e,t,Ur);for(const r of Ur)await((n=r.enhance)==null?void 0:n.call(r,{app:e,router:t,siteData:Wn}));return e.use(t),{app:e,router:t}};e4().then(({app:e,router:t})=>{t.isReady().then(()=>{e.mount("#app")})});export{Je as F,Ai as a,Li as b,o4 as c,e4 as createVueApp,Ee as d,l4 as e,s4 as f,E1 as g,r4 as h,U as i,Q as j,f as k,t4 as n,b1 as o,dt as r,n4 as t,tn as u,Lf as w};
|