var Ro=Object.defineProperty,Oo=Object.defineProperties;var Fo=Object.getOwnPropertyDescriptors;var Is=Object.getOwnPropertySymbols;var No=Object.prototype.hasOwnProperty,Ho=Object.prototype.propertyIsEnumerable;var Us=(e,t,n)=>t in e?Ro(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ms=(e,t)=>{for(var n in t||(t={}))No.call(t,n)&&Us(e,n,t[n]);if(Is)for(var n of Is(t))Ho.call(t,n)&&Us(e,n,t[n]);return e},Rs=(e,t)=>Oo(e,Fo(t));const Do="modulepreload",Os={},Bo="/",vr=function(t,n){return!n||n.length===0?t():Promise.all(n.map(s=>{if(s=`${Bo}${s}`,s in Os)return;Os[s]=!0;const r=s.endsWith(".css"),o=r?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${s}"]${o}`))return;const i=document.createElement("link");if(i.rel=r?"stylesheet":Do,r||(i.as="script",i.crossOrigin=""),i.href=s,document.head.appendChild(i),r)return new Promise((l,c)=>{i.addEventListener("load",l),i.addEventListener("error",()=>c(new Error(`Unable to preload CSS for ${s}`)))})})).then(()=>t())};function ts(e,t){const n=Object.create(null),s=e.split(",");for(let r=0;r!!n[r.toLowerCase()]:r=>!!n[r]}const qo="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",jo=ts(qo);function br(e){return!!e||e===""}function ns(e){if(R(e)){const t={};for(let n=0;n{if(n){const s=n.split(Wo);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function at(e){let t="";if(pe(e))t=e;else if(R(e))for(let n=0;npe(e)?e:e==null?"":R(e)||fe(e)&&(e.toString===wr||!H(e.toString))?JSON.stringify(e,xr,2):String(e),xr=(e,t)=>t&&t.__v_isRef?xr(e,t.value):bt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r])=>(n[`${s} =>`]=r,n),{})}:yr(t)?{[`Set(${t.size})`]:[...t.values()]}:fe(t)&&!R(t)&&!$r(t)?String(t):t,Q={},vt=[],Ue=()=>{},Vo=()=>!1,Jo=/^on[^a-z]/,zt=e=>Jo.test(e),ss=e=>e.startsWith("onUpdate:"),ye=Object.assign,rs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Yo=Object.prototype.hasOwnProperty,W=(e,t)=>Yo.call(e,t),R=Array.isArray,bt=e=>bn(e)==="[object Map]",yr=e=>bn(e)==="[object Set]",H=e=>typeof e=="function",pe=e=>typeof e=="string",os=e=>typeof e=="symbol",fe=e=>e!==null&&typeof e=="object",kr=e=>fe(e)&&H(e.then)&&H(e.catch),wr=Object.prototype.toString,bn=e=>wr.call(e),Xo=e=>bn(e).slice(8,-1),$r=e=>bn(e)==="[object Object]",is=e=>pe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,It=ts(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),xn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Zo=/-(\w)/g,Ne=xn(e=>e.replace(Zo,(t,n)=>n?n.toUpperCase():"")),Qo=/\B([A-Z])/g,$t=xn(e=>e.replace(Qo,"-$1").toLowerCase()),yn=xn(e=>e.charAt(0).toUpperCase()+e.slice(1)),Mn=xn(e=>e?`on${yn(e)}`:""),Ht=(e,t)=>!Object.is(e,t),Rn=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Go=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Fs;const ei=()=>Fs||(Fs=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let Oe;class ti{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&Oe&&(this.parent=Oe,this.index=(Oe.scopes||(Oe.scopes=[])).push(this)-1)}run(t){if(this.active){const n=Oe;try{return Oe=this,t()}finally{Oe=n}}}on(){Oe=this}off(){Oe=this.parent}stop(t){if(this.active){let n,s;for(n=0,s=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},Cr=e=>(e.w&Ge)>0,Sr=e=>(e.n&Ge)>0,si=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s{(f==="length"||f>=s)&&l.push(c)});else switch(n!==void 0&&l.push(i.get(n)),t){case"add":R(e)?is(n)&&l.push(i.get("length")):(l.push(i.get(rt)),bt(e)&&l.push(i.get(Kn)));break;case"delete":R(e)||(l.push(i.get(rt)),bt(e)&&l.push(i.get(Kn)));break;case"set":bt(e)&&l.push(i.get(rt));break}if(l.length===1)l[0]&&Wn(l[0]);else{const c=[];for(const f of l)f&&c.push(...f);Wn(ls(c))}}function Wn(e,t){for(const n of R(e)?e:[...e])(n!==Le||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}const oi=ts("__proto__,__v_isRef,__isVue"),Ar=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(os)),ii=as(),li=as(!1,!0),ci=as(!0),Hs=ai();function ai(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=V(this);for(let o=0,i=this.length;o{e[t]=function(...n){Ct();const s=V(this)[t].apply(this,n);return St(),s}}),e}function as(e=!1,t=!1){return function(s,r,o){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_isShallow")return t;if(r==="__v_raw"&&o===(e?t?Ci:Mr:t?Ur:Ir).get(s))return s;const i=R(s);if(!e&&i&&W(Hs,r))return Reflect.get(Hs,r,o);const l=Reflect.get(s,r,o);return(os(r)?Ar.has(r):oi(r))||(e||Ee(s,"get",r),t)?l:he(l)?!i||!is(r)?l.value:l:fe(l)?e?Rr(l):wn(l):l}}const ui=Pr(),fi=Pr(!0);function Pr(e=!1){return function(n,s,r,o){let i=n[s];if(Dt(i)&&he(i)&&!he(r))return!1;if(!e&&!Dt(r)&&(Or(r)||(r=V(r),i=V(i)),!R(n)&&he(i)&&!he(r)))return i.value=r,!0;const l=R(n)&&is(s)?Number(s)e,kn=e=>Reflect.getPrototypeOf(e);function Zt(e,t,n=!1,s=!1){e=e.__v_raw;const r=V(e),o=V(t);t!==o&&!n&&Ee(r,"get",t),!n&&Ee(r,"get",o);const{has:i}=kn(r),l=s?us:n?hs:Bt;if(i.call(r,t))return l(e.get(t));if(i.call(r,o))return l(e.get(o));e!==r&&e.get(t)}function Qt(e,t=!1){const n=this.__v_raw,s=V(n),r=V(e);return e!==r&&!t&&Ee(s,"has",e),!t&&Ee(s,"has",r),e===r?n.has(e):n.has(e)||n.has(r)}function Gt(e,t=!1){return e=e.__v_raw,!t&&Ee(V(e),"iterate",rt),Reflect.get(e,"size",e)}function Ds(e){e=V(e);const t=V(this);return kn(t).has.call(t,e)||(t.add(e),je(t,"add",e,e)),this}function Bs(e,t){t=V(t);const n=V(this),{has:s,get:r}=kn(n);let o=s.call(n,e);o||(e=V(e),o=s.call(n,e));const i=r.call(n,e);return n.set(e,t),o?Ht(t,i)&&je(n,"set",e,t):je(n,"add",e,t),this}function qs(e){const t=V(this),{has:n,get:s}=kn(t);let r=n.call(t,e);r||(e=V(e),r=n.call(t,e)),s&&s.call(t,e);const o=t.delete(e);return r&&je(t,"delete",e,void 0),o}function js(){const e=V(this),t=e.size!==0,n=e.clear();return t&&je(e,"clear",void 0,void 0),n}function en(e,t){return function(s,r){const o=this,i=o.__v_raw,l=V(i),c=t?us:e?hs:Bt;return!e&&Ee(l,"iterate",rt),i.forEach((f,h)=>s.call(r,c(f),c(h),o))}}function tn(e,t,n){return function(...s){const r=this.__v_raw,o=V(r),i=bt(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,f=r[e](...s),h=n?us:t?hs:Bt;return!t&&Ee(o,"iterate",c?Kn:rt),{next(){const{value:m,done:b}=f.next();return b?{value:m,done:b}:{value:l?[h(m[0]),h(m[1])]:h(m),done:b}},[Symbol.iterator](){return this}}}}function Ve(e){return function(...t){return e==="delete"?!1:this}}function mi(){const e={get(o){return Zt(this,o)},get size(){return Gt(this)},has:Qt,add:Ds,set:Bs,delete:qs,clear:js,forEach:en(!1,!1)},t={get(o){return Zt(this,o,!1,!0)},get size(){return Gt(this)},has:Qt,add:Ds,set:Bs,delete:qs,clear:js,forEach:en(!1,!0)},n={get(o){return Zt(this,o,!0)},get size(){return Gt(this,!0)},has(o){return Qt.call(this,o,!0)},add:Ve("add"),set:Ve("set"),delete:Ve("delete"),clear:Ve("clear"),forEach:en(!0,!1)},s={get(o){return Zt(this,o,!0,!0)},get size(){return Gt(this,!0)},has(o){return Qt.call(this,o,!0)},add:Ve("add"),set:Ve("set"),delete:Ve("delete"),clear:Ve("clear"),forEach:en(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=tn(o,!1,!1),n[o]=tn(o,!0,!1),t[o]=tn(o,!1,!0),s[o]=tn(o,!0,!0)}),[e,n,t,s]}const[vi,bi,xi,yi]=mi();function fs(e,t){const n=t?e?yi:xi:e?bi:vi;return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(W(n,r)&&r in s?n:s,r,o)}const ki={get:fs(!1,!1)},wi={get:fs(!1,!0)},$i={get:fs(!0,!1)},Ir=new WeakMap,Ur=new WeakMap,Mr=new WeakMap,Ci=new WeakMap;function Si(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ei(e){return e.__v_skip||!Object.isExtensible(e)?0:Si(Xo(e))}function wn(e){return Dt(e)?e:ds(e,!1,Lr,ki,Ir)}function Ti(e){return ds(e,!1,gi,wi,Ur)}function Rr(e){return ds(e,!0,_i,$i,Mr)}function ds(e,t,n,s,r){if(!fe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const i=Ei(e);if(i===0)return e;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function xt(e){return Dt(e)?xt(e.__v_raw):!!(e&&e.__v_isReactive)}function Dt(e){return!!(e&&e.__v_isReadonly)}function Or(e){return!!(e&&e.__v_isShallow)}function Fr(e){return xt(e)||Dt(e)}function V(e){const t=e&&e.__v_raw;return t?V(t):e}function Ut(e){return on(e,"__v_skip",!0),e}const Bt=e=>fe(e)?wn(e):e,hs=e=>fe(e)?Rr(e):e;function Nr(e){Ze&&Le&&(e=V(e),Tr(e.dep||(e.dep=ls())))}function Hr(e,t){e=V(e),e.dep&&Wn(e.dep)}function he(e){return!!(e&&e.__v_isRef===!0)}function ot(e){return Dr(e,!1)}function Ai(e){return Dr(e,!0)}function Dr(e,t){return he(e)?e:new Pi(e,t)}class Pi{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:V(t),this._value=n?t:Bt(t)}get value(){return Nr(this),this._value}set value(t){t=this.__v_isShallow?t:V(t),Ht(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:Bt(t),Hr(this))}}function $(e){return he(e)?e.value:e}const Li={get:(e,t,n)=>$(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return he(r)&&!he(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Br(e){return xt(e)?e:new Proxy(e,Li)}function qr(e){const t=R(e)?new Array(e.length):{};for(const n in e)t[n]=Ui(e,n);return t}class Ii{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}}function Ui(e,t,n){const s=e[t];return he(s)?s:new Ii(e,t,n)}class Mi{constructor(t,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new cs(t,()=>{this._dirty||(this._dirty=!0,Hr(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=V(this);return Nr(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Ri(e,t,n=!1){let s,r;const o=H(e);return o?(s=e,r=Ue):(s=e.get,r=e.set),new Mi(s,r,o||!r,n)}function Qe(e,t,n,s){let r;try{r=s?e(...s):e()}catch(o){Vt(o,t,n)}return r}function Me(e,t,n,s){if(H(e)){const o=Qe(e,t,n,s);return o&&kr(o)&&o.catch(i=>{Vt(i,t,n)}),o}const r=[];for(let o=0;o>>1;qt(Se[s])qe&&Se.splice(t,1)}function zr(e,t,n,s){R(e)?n.push(...e):(!t||!t.includes(e,e.allowRecurse?s+1:s))&&n.push(e),Wr()}function Hi(e){zr(e,Lt,Mt,_t)}function Di(e){zr(e,Ye,Rt,gt)}function gs(e,t=null){if(Mt.length){for(Vn=t,Lt=[...new Set(Mt)],Mt.length=0,_t=0;_tqt(n)-qt(s)),gt=0;gte.id==null?1/0:e.id;function Vr(e){zn=!1,ln=!0,gs(e),Se.sort((n,s)=>qt(n)-qt(s));const t=Ue;try{for(qe=0;qeS.trim()):m&&(r=n.map(Go))}let l,c=s[l=Mn(t)]||s[l=Mn(Ne(t))];!c&&o&&(c=s[l=Mn($t(t))]),c&&Me(c,e,6,r);const f=s[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Me(f,e,6,r)}}function Jr(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!H(e)){const c=f=>{const h=Jr(f,t,!0);h&&(l=!0,ye(i,h))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(s.set(e,null),null):(R(o)?o.forEach(c=>i[c]=null):ye(i,o),s.set(e,i),i)}function $n(e,t){return!e||!zt(t)?!1:(t=t.slice(2).replace(/Once$/,""),W(e,t[0].toLowerCase()+t.slice(1))||W(e,$t(t))||W(e,t))}let be=null,Cn=null;function an(e){const t=be;return be=e,Cn=e&&e.type.__scopeId||null,t}function Yr(e){Cn=e}function Xr(){Cn=null}function Be(e,t=be,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Gs(-1);const o=an(t),i=e(...r);return an(o),s._d&&Gs(1),i};return s._n=!0,s._c=!0,s._d=!0,s}function On(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:o,propsOptions:[i],slots:l,attrs:c,emit:f,render:h,renderCache:m,data:b,setupState:S,ctx:E,inheritAttrs:B}=e;let p,x;const U=an(e);try{if(n.shapeFlag&4){const D=r||s;p=Pe(h.call(D,D,m,o,S,b,E)),x=c}else{const D=t;p=Pe(D.length>1?D(o,{attrs:c,slots:l,emit:f}):D(o,null)),x=t.props?c:qi(c)}}catch(D){Nt.length=0,Vt(D,e,1),p=O(Ke)}let I=p;if(x&&B!==!1){const D=Object.keys(x),{shapeFlag:X}=I;D.length&&X&7&&(i&&D.some(ss)&&(x=ji(x,i)),I=Wt(I,x))}return n.dirs&&(I.dirs=I.dirs?I.dirs.concat(n.dirs):n.dirs),n.transition&&(I.transition=n.transition),p=I,an(U),p}const qi=e=>{let t;for(const n in e)(n==="class"||n==="style"||zt(n))&&((t||(t={}))[n]=e[n]);return t},ji=(e,t)=>{const n={};for(const s in e)(!ss(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Ki(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:l,patchFlag:c}=t,f=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?Ks(s,i,f):!!i;if(c&8){const h=t.dynamicProps;for(let m=0;me.__isSuspense;function Zr(e,t){t&&t.pendingBranch?R(e)?t.effects.push(...e):t.effects.push(e):Di(e)}function Vi(e,t){if(ue){let n=ue.provides;const s=ue.parent&&ue.parent.provides;s===n&&(n=ue.provides=Object.create(s)),n[e]=t}}function Ot(e,t,n=!1){const s=ue||be;if(s){const r=s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&H(t)?t.call(s.proxy):t}}function Qr(e,t){return ms(e,null,t)}const Ws={};function it(e,t,n){return ms(e,t,n)}function ms(e,t,{immediate:n,deep:s,flush:r,onTrack:o,onTrigger:i}=Q){const l=ue;let c,f=!1,h=!1;if(he(e)?(c=()=>e.value,f=Or(e)):xt(e)?(c=()=>e,s=!0):R(e)?(h=!0,f=e.some(xt),c=()=>e.map(x=>{if(he(x))return x.value;if(xt(x))return mt(x);if(H(x))return Qe(x,l,2)})):H(e)?t?c=()=>Qe(e,l,2):c=()=>{if(!(l&&l.isUnmounted))return m&&m(),Me(e,l,3,[b])}:c=Ue,t&&s){const x=c;c=()=>mt(x())}let m,b=x=>{m=p.onStop=()=>{Qe(x,l,4)}};if(kt)return b=Ue,t?n&&Me(t,l,3,[c(),h?[]:void 0,b]):c(),Ue;let S=h?[]:Ws;const E=()=>{if(!!p.active)if(t){const x=p.run();(s||f||(h?x.some((U,I)=>Ht(U,S[I])):Ht(x,S)))&&(m&&m(),Me(t,l,3,[x,S===Ws?void 0:S,b]),S=x)}else p.run()};E.allowRecurse=!!t;let B;r==="sync"?B=E:r==="post"?B=()=>$e(E,l&&l.suspense):B=()=>{!l||l.isMounted?Hi(E):E()};const p=new cs(c,B);return t?n?E():S=p.run():r==="post"?$e(p.run.bind(p),l&&l.suspense):p.run(),()=>{p.stop(),l&&l.scope&&rs(l.scope.effects,p)}}function Ji(e,t,n){const s=this.proxy,r=pe(e)?e.includes(".")?Gr(s,e):()=>s[e]:e.bind(s,s);let o;H(t)?o=t:(o=t.handler,n=t);const i=ue;yt(this);const l=ms(r,o.bind(s),n);return i?yt(i):ct(),l}function Gr(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r{mt(n,t)});else if($r(e))for(const n in e)mt(e[n],t);return e}function re(e){return H(e)?{setup:e,name:e.name}:e}const jt=e=>!!e.type.__asyncLoader;function Yi(e){H(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:r=200,timeout:o,suspensible:i=!0,onError:l}=e;let c=null,f,h=0;const m=()=>(h++,c=null,b()),b=()=>{let S;return c||(S=c=t().catch(E=>{if(E=E instanceof Error?E:new Error(String(E)),l)return new Promise((B,p)=>{l(E,()=>B(m()),()=>p(E),h+1)});throw E}).then(E=>S!==c&&c?c:(E&&(E.__esModule||E[Symbol.toStringTag]==="Module")&&(E=E.default),f=E,E)))};return re({name:"AsyncComponentWrapper",__asyncLoader:b,get __asyncResolved(){return f},setup(){const S=ue;if(f)return()=>Fn(f,S);const E=U=>{c=null,Vt(U,S,13,!s)};if(i&&S.suspense||kt)return b().then(U=>()=>Fn(U,S)).catch(U=>(E(U),()=>s?O(s,{error:U}):null));const B=ot(!1),p=ot(),x=ot(!!r);return r&&setTimeout(()=>{x.value=!1},r),o!=null&&setTimeout(()=>{if(!B.value&&!p.value){const U=new Error(`Async component timed out after ${o}ms.`);E(U),p.value=U}},o),b().then(()=>{B.value=!0,S.parent&&vs(S.parent.vnode)&&_s(S.parent.update)}).catch(U=>{E(U),p.value=U}),()=>{if(B.value&&f)return Fn(f,S);if(p.value&&s)return O(s,{error:p.value});if(n&&!x.value)return O(n)}}})}function Fn(e,{vnode:{ref:t,props:n,children:s}}){const r=O(e,n,s);return r.ref=t,r}const vs=e=>e.type.__isKeepAlive;function Xi(e,t){eo(e,"a",t)}function Zi(e,t){eo(e,"da",t)}function eo(e,t,n=ue){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Sn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)vs(r.parent.vnode)&&Qi(s,t,n,r),r=r.parent}}function Qi(e,t,n,s){const r=Sn(t,e,s,!0);En(()=>{rs(s[t],r)},n)}function Sn(e,t,n=ue,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;Ct(),yt(n);const l=Me(t,n,e,i);return ct(),St(),l});return s?r.unshift(o):r.push(o),o}}const We=e=>(t,n=ue)=>(!kt||e==="sp")&&Sn(e,t,n),Gi=We("bm"),ft=We("m"),el=We("bu"),to=We("u"),tl=We("bum"),En=We("um"),nl=We("sp"),sl=We("rtg"),rl=We("rtc");function ol(e,t=ue){Sn("ec",e,t)}let Jn=!0;function il(e){const t=so(e),n=e.proxy,s=e.ctx;Jn=!1,t.beforeCreate&&zs(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:c,inject:f,created:h,beforeMount:m,mounted:b,beforeUpdate:S,updated:E,activated:B,deactivated:p,beforeDestroy:x,beforeUnmount:U,destroyed:I,unmounted:D,render:X,renderTracked:Z,renderTriggered:q,errorCaptured:le,serverPrefetch:ne,expose:oe,inheritAttrs:ge,components:K,directives:ie,filters:ke}=t;if(f&&ll(f,s,null,e.appContext.config.unwrapInjectedRef),i)for(const se in i){const G=i[se];H(G)&&(s[se]=G.bind(n))}if(r){const se=r.call(n,n);fe(se)&&(e.data=wn(se))}if(Jn=!0,o)for(const se in o){const G=o[se],He=H(G)?G.bind(n,n):H(G.get)?G.get.bind(n,n):Ue,Ln=!H(G)&&H(G.set)?G.set.bind(n):Ue,Et=j({get:He,set:Ln});Object.defineProperty(s,se,{enumerable:!0,configurable:!0,get:()=>Et.value,set:dt=>Et.value=dt})}if(l)for(const se in l)no(l[se],s,n,se);if(c){const se=H(c)?c.call(n):c;Reflect.ownKeys(se).forEach(G=>{Vi(G,se[G])})}h&&zs(h,e,"c");function we(se,G){R(G)?G.forEach(He=>se(He.bind(n))):G&&se(G.bind(n))}if(we(Gi,m),we(ft,b),we(el,S),we(to,E),we(Xi,B),we(Zi,p),we(ol,le),we(rl,Z),we(sl,q),we(tl,U),we(En,D),we(nl,ne),R(oe))if(oe.length){const se=e.exposed||(e.exposed={});oe.forEach(G=>{Object.defineProperty(se,G,{get:()=>n[G],set:He=>n[G]=He})})}else e.exposed||(e.exposed={});X&&e.render===Ue&&(e.render=X),ge!=null&&(e.inheritAttrs=ge),K&&(e.components=K),ie&&(e.directives=ie)}function ll(e,t,n=Ue,s=!1){R(e)&&(e=Yn(e));for(const r in e){const o=e[r];let i;fe(o)?"default"in o?i=Ot(o.from||r,o.default,!0):i=Ot(o.from||r):i=Ot(o),he(i)&&s?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:l=>i.value=l}):t[r]=i}}function zs(e,t,n){Me(R(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function no(e,t,n,s){const r=s.includes(".")?Gr(n,s):()=>n[s];if(pe(e)){const o=t[e];H(o)&&it(r,o)}else if(H(e))it(r,e.bind(n));else if(fe(e))if(R(e))e.forEach(o=>no(o,t,n,s));else{const o=H(e.handler)?e.handler.bind(n):t[e.handler];H(o)&&it(r,o,e)}}function so(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(f=>un(c,f,i,!0)),un(c,t,i)),o.set(t,c),c}function un(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&un(e,o,n,!0),r&&r.forEach(i=>un(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=cl[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const cl={data:Vs,props:nt,emits:nt,methods:nt,computed:nt,beforeCreate:ve,created:ve,beforeMount:ve,mounted:ve,beforeUpdate:ve,updated:ve,beforeDestroy:ve,beforeUnmount:ve,destroyed:ve,unmounted:ve,activated:ve,deactivated:ve,errorCaptured:ve,serverPrefetch:ve,components:nt,directives:nt,watch:ul,provide:Vs,inject:al};function Vs(e,t){return t?e?function(){return ye(H(e)?e.call(this,this):e,H(t)?t.call(this,this):t)}:t:e}function al(e,t){return nt(Yn(e),Yn(t))}function Yn(e){if(R(e)){const t={};for(let n=0;n0)&&!(i&16)){if(i&8){const h=e.vnode.dynamicProps;for(let m=0;m{c=!0;const[b,S]=oo(m,t,!0);ye(i,b),S&&l.push(...S)};!n&&t.mixins.length&&t.mixins.forEach(h),e.extends&&h(e.extends),e.mixins&&e.mixins.forEach(h)}if(!o&&!c)return s.set(e,vt),vt;if(R(o))for(let h=0;h-1,S[1]=B<0||E-1||W(S,"default"))&&l.push(m)}}}const f=[i,l];return s.set(e,f),f}function Js(e){return e[0]!=="$"}function Ys(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function Xs(e,t){return Ys(e)===Ys(t)}function Zs(e,t){return R(t)?t.findIndex(n=>Xs(n,e)):H(t)&&Xs(t,e)?0:-1}const io=e=>e[0]==="_"||e==="$stable",bs=e=>R(e)?e.map(Pe):[Pe(e)],hl=(e,t,n)=>{const s=Be((...r)=>bs(t(...r)),n);return s._c=!1,s},lo=(e,t,n)=>{const s=e._ctx;for(const r in e){if(io(r))continue;const o=e[r];if(H(o))t[r]=hl(r,o,s);else if(o!=null){const i=bs(o);t[r]=()=>i}}},co=(e,t)=>{const n=bs(t);e.slots.default=()=>n},pl=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=V(t),on(t,"_",n)):lo(t,e.slots={})}else e.slots={},t&&co(e,t);on(e.slots,Tn,1)},_l=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=Q;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:(ye(r,t),!n&&l===1&&delete r._):(o=!t.$stable,lo(t,r)),i=t}else t&&(co(e,t),i={default:1});if(o)for(const l in r)!io(l)&&!(l in i)&&delete r[l]};function Fe(e,t,n,s){const r=e.dirs,o=t&&t.dirs;for(let i=0;ifn(b,t&&(R(t)?t[S]:t),n,s,r));return}if(jt(s)&&!r)return;const o=s.shapeFlag&4?ks(s.component)||s.component.proxy:s.el,i=r?null:o,{i:l,r:c}=e,f=t&&t.r,h=l.refs===Q?l.refs={}:l.refs,m=l.setupState;if(f!=null&&f!==c&&(pe(f)?(h[f]=null,W(m,f)&&(m[f]=null)):he(f)&&(f.value=null)),H(c))Qe(c,l,12,[i,h]);else{const b=pe(c),S=he(c);if(b||S){const E=()=>{if(e.f){const B=b?h[c]:c.value;r?R(B)&&rs(B,o):R(B)?B.includes(o)||B.push(o):b?(h[c]=[o],W(m,c)&&(m[c]=h[c])):(c.value=[o],e.k&&(h[e.k]=c.value))}else b?(h[c]=i,W(m,c)&&(m[c]=i)):he(c)&&(c.value=i,e.k&&(h[e.k]=i))};i?(E.id=-1,$e(E,n)):E()}}}let Je=!1;const nn=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",Nn=e=>e.nodeType===8;function vl(e){const{mt:t,p:n,o:{patchProp:s,nextSibling:r,parentNode:o,remove:i,insert:l,createComment:c}}=e,f=(p,x)=>{if(!x.hasChildNodes()){n(null,p,x),cn();return}Je=!1,h(x.firstChild,p,null,null,null),cn(),Je&&console.error("Hydration completed but contains mismatches.")},h=(p,x,U,I,D,X=!1)=>{const Z=Nn(p)&&p.data==="[",q=()=>E(p,x,U,I,D,Z),{type:le,ref:ne,shapeFlag:oe}=x,ge=p.nodeType;x.el=p;let K=null;switch(le){case Kt:ge!==3?K=q():(p.data!==x.children&&(Je=!0,p.data=x.children),K=r(p));break;case Ke:ge!==8||Z?K=q():K=r(p);break;case Ft:if(ge!==1)K=q();else{K=p;const ie=!x.children.length;for(let ke=0;ke{X=X||!!x.dynamicChildren;const{type:Z,props:q,patchFlag:le,shapeFlag:ne,dirs:oe}=x,ge=Z==="input"&&oe||Z==="option";if(ge||le!==-1){if(oe&&Fe(x,null,U,"created"),q)if(ge||!X||le&48)for(const ie in q)(ge&&ie.endsWith("value")||zt(ie)&&!It(ie))&&s(p,ie,null,q[ie],!1,void 0,U);else q.onClick&&s(p,"onClick",null,q.onClick,!1,void 0,U);let K;if((K=q&&q.onVnodeBeforeMount)&&Te(K,U,x),oe&&Fe(x,null,U,"beforeMount"),((K=q&&q.onVnodeMounted)||oe)&&Zr(()=>{K&&Te(K,U,x),oe&&Fe(x,null,U,"mounted")},I),ne&16&&!(q&&(q.innerHTML||q.textContent))){let ie=b(p.firstChild,x,p,U,I,D,X);for(;ie;){Je=!0;const ke=ie;ie=ie.nextSibling,i(ke)}}else ne&8&&p.textContent!==x.children&&(Je=!0,p.textContent=x.children)}return p.nextSibling},b=(p,x,U,I,D,X,Z)=>{Z=Z||!!x.dynamicChildren;const q=x.children,le=q.length;for(let ne=0;ne{const{slotScopeIds:Z}=x;Z&&(D=D?D.concat(Z):Z);const q=o(p),le=b(r(p),x,q,U,I,D,X);return le&&Nn(le)&&le.data==="]"?r(x.anchor=le):(Je=!0,l(x.anchor=c("]"),q,le),le)},E=(p,x,U,I,D,X)=>{if(Je=!0,x.el=null,X){const le=B(p);for(;;){const ne=r(p);if(ne&&ne!==le)i(ne);else break}}const Z=r(p),q=o(p);return i(p),n(null,x,q,Z,U,I,nn(q),D),Z},B=p=>{let x=0;for(;p;)if(p=r(p),p&&Nn(p)&&(p.data==="["&&x++,p.data==="]")){if(x===0)return r(p);x--}return p};return[f,h]}const $e=Zr;function bl(e){return xl(e,vl)}function xl(e,t){const n=ei();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:c,setText:f,setElementText:h,parentNode:m,nextSibling:b,setScopeId:S=Ue,cloneNode:E,insertStaticContent:B}=e,p=(a,u,d,g=null,_=null,k=null,C=!1,y=null,w=!!u.dynamicChildren)=>{if(a===u)return;a&&!At(a,u)&&(g=Xt(a),ze(a,_,k,!0),a=null),u.patchFlag===-2&&(w=!1,u.dynamicChildren=null);const{type:v,ref:P,shapeFlag:T}=u;switch(v){case Kt:x(a,u,d,g);break;case Ke:U(a,u,d,g);break;case Ft:a==null&&I(u,d,g,C);break;case de:ie(a,u,d,g,_,k,C,y,w);break;default:T&1?Z(a,u,d,g,_,k,C,y,w):T&6?ke(a,u,d,g,_,k,C,y,w):(T&64||T&128)&&v.process(a,u,d,g,_,k,C,y,w,ht)}P!=null&&_&&fn(P,a&&a.ref,k,u||a,!u)},x=(a,u,d,g)=>{if(a==null)s(u.el=l(u.children),d,g);else{const _=u.el=a.el;u.children!==a.children&&f(_,u.children)}},U=(a,u,d,g)=>{a==null?s(u.el=c(u.children||""),d,g):u.el=a.el},I=(a,u,d,g)=>{[a.el,a.anchor]=B(a.children,u,d,g,a.el,a.anchor)},D=({el:a,anchor:u},d,g)=>{let _;for(;a&&a!==u;)_=b(a),s(a,d,g),a=_;s(u,d,g)},X=({el:a,anchor:u})=>{let d;for(;a&&a!==u;)d=b(a),r(a),a=d;r(u)},Z=(a,u,d,g,_,k,C,y,w)=>{C=C||u.type==="svg",a==null?q(u,d,g,_,k,C,y,w):oe(a,u,_,k,C,y,w)},q=(a,u,d,g,_,k,C,y)=>{let w,v;const{type:P,props:T,shapeFlag:L,transition:M,patchFlag:z,dirs:te}=a;if(a.el&&E!==void 0&&z===-1)w=a.el=E(a.el);else{if(w=a.el=i(a.type,k,T&&T.is,T),L&8?h(w,a.children):L&16&&ne(a.children,w,null,g,_,k&&P!=="foreignObject",C,y),te&&Fe(a,null,g,"created"),T){for(const ee in T)ee!=="value"&&!It(ee)&&o(w,ee,null,T[ee],k,a.children,g,_,De);"value"in T&&o(w,"value",null,T.value),(v=T.onVnodeBeforeMount)&&Te(v,g,a)}le(w,a,a.scopeId,C,g)}te&&Fe(a,null,g,"beforeMount");const Y=(!_||_&&!_.pendingBranch)&&M&&!M.persisted;Y&&M.beforeEnter(w),s(w,u,d),((v=T&&T.onVnodeMounted)||Y||te)&&$e(()=>{v&&Te(v,g,a),Y&&M.enter(w),te&&Fe(a,null,g,"mounted")},_)},le=(a,u,d,g,_)=>{if(d&&S(a,d),g)for(let k=0;k{for(let v=w;v{const y=u.el=a.el;let{patchFlag:w,dynamicChildren:v,dirs:P}=u;w|=a.patchFlag&16;const T=a.props||Q,L=u.props||Q;let M;d&&tt(d,!1),(M=L.onVnodeBeforeUpdate)&&Te(M,d,u,a),P&&Fe(u,a,d,"beforeUpdate"),d&&tt(d,!0);const z=_&&u.type!=="foreignObject";if(v?ge(a.dynamicChildren,v,y,d,g,z,k):C||He(a,u,y,null,d,g,z,k,!1),w>0){if(w&16)K(y,u,T,L,d,g,_);else if(w&2&&T.class!==L.class&&o(y,"class",null,L.class,_),w&4&&o(y,"style",T.style,L.style,_),w&8){const te=u.dynamicProps;for(let Y=0;Y{M&&Te(M,d,u,a),P&&Fe(u,a,d,"updated")},g)},ge=(a,u,d,g,_,k,C)=>{for(let y=0;y{if(d!==g){for(const y in g){if(It(y))continue;const w=g[y],v=d[y];w!==v&&y!=="value"&&o(a,y,v,w,C,u.children,_,k,De)}if(d!==Q)for(const y in d)!It(y)&&!(y in g)&&o(a,y,d[y],null,C,u.children,_,k,De);"value"in g&&o(a,"value",d.value,g.value)}},ie=(a,u,d,g,_,k,C,y,w)=>{const v=u.el=a?a.el:l(""),P=u.anchor=a?a.anchor:l("");let{patchFlag:T,dynamicChildren:L,slotScopeIds:M}=u;M&&(y=y?y.concat(M):M),a==null?(s(v,d,g),s(P,d,g),ne(u.children,d,P,_,k,C,y,w)):T>0&&T&64&&L&&a.dynamicChildren?(ge(a.dynamicChildren,L,d,_,k,C,y),(u.key!=null||_&&u===_.subTree)&&uo(a,u,!0)):He(a,u,d,P,_,k,C,y,w)},ke=(a,u,d,g,_,k,C,y,w)=>{u.slotScopeIds=y,a==null?u.shapeFlag&512?_.ctx.activate(u,d,g,C,w):Pn(u,d,g,_,k,C,w):we(a,u,w)},Pn=(a,u,d,g,_,k,C)=>{const y=a.component=Ll(a,g,_);if(vs(a)&&(y.ctx.renderer=ht),Il(y),y.asyncDep){if(_&&_.registerDep(y,se),!a.el){const w=y.subTree=O(Ke);U(null,w,u,d)}return}se(y,a,u,d,_,k,C)},we=(a,u,d)=>{const g=u.component=a.component;if(Ki(a,u,d))if(g.asyncDep&&!g.asyncResolved){G(g,u,d);return}else g.next=u,Ni(g.update),g.update();else u.component=a.component,u.el=a.el,g.vnode=u},se=(a,u,d,g,_,k,C)=>{const y=()=>{if(a.isMounted){let{next:P,bu:T,u:L,parent:M,vnode:z}=a,te=P,Y;tt(a,!1),P?(P.el=z.el,G(a,P,C)):P=z,T&&Rn(T),(Y=P.props&&P.props.onVnodeBeforeUpdate)&&Te(Y,M,P,z),tt(a,!0);const ee=On(a),Ae=a.subTree;a.subTree=ee,p(Ae,ee,m(Ae.el),Xt(Ae),a,_,k),P.el=ee.el,te===null&&Wi(a,ee.el),L&&$e(L,_),(Y=P.props&&P.props.onVnodeUpdated)&&$e(()=>Te(Y,M,P,z),_)}else{let P;const{el:T,props:L}=u,{bm:M,m:z,parent:te}=a,Y=jt(u);if(tt(a,!1),M&&Rn(M),!Y&&(P=L&&L.onVnodeBeforeMount)&&Te(P,te,u),tt(a,!0),T&&Un){const ee=()=>{a.subTree=On(a),Un(T,a.subTree,a,_,null)};Y?u.type.__asyncLoader().then(()=>!a.isUnmounted&&ee()):ee()}else{const ee=a.subTree=On(a);p(null,ee,d,g,a,_,k),u.el=ee.el}if(z&&$e(z,_),!Y&&(P=L&&L.onVnodeMounted)){const ee=u;$e(()=>Te(P,te,ee),_)}u.shapeFlag&256&&a.a&&$e(a.a,_),a.isMounted=!0,u=d=g=null}},w=a.effect=new cs(y,()=>_s(a.update),a.scope),v=a.update=w.run.bind(w);v.id=a.uid,tt(a,!0),v()},G=(a,u,d)=>{u.component=a;const g=a.vnode.props;a.vnode=u,a.next=null,dl(a,u.props,g,d),_l(a,u.children,d),Ct(),gs(void 0,a.update),St()},He=(a,u,d,g,_,k,C,y,w=!1)=>{const v=a&&a.children,P=a?a.shapeFlag:0,T=u.children,{patchFlag:L,shapeFlag:M}=u;if(L>0){if(L&128){Et(v,T,d,g,_,k,C,y,w);return}else if(L&256){Ln(v,T,d,g,_,k,C,y,w);return}}M&8?(P&16&&De(v,_,k),T!==v&&h(d,T)):P&16?M&16?Et(v,T,d,g,_,k,C,y,w):De(v,_,k,!0):(P&8&&h(d,""),M&16&&ne(T,d,g,_,k,C,y,w))},Ln=(a,u,d,g,_,k,C,y,w)=>{a=a||vt,u=u||vt;const v=a.length,P=u.length,T=Math.min(v,P);let L;for(L=0;LP?De(a,_,k,!0,!1,T):ne(u,d,g,_,k,C,y,w,T)},Et=(a,u,d,g,_,k,C,y,w)=>{let v=0;const P=u.length;let T=a.length-1,L=P-1;for(;v<=T&&v<=L;){const M=a[v],z=u[v]=w?Xe(u[v]):Pe(u[v]);if(At(M,z))p(M,z,d,null,_,k,C,y,w);else break;v++}for(;v<=T&&v<=L;){const M=a[T],z=u[L]=w?Xe(u[L]):Pe(u[L]);if(At(M,z))p(M,z,d,null,_,k,C,y,w);else break;T--,L--}if(v>T){if(v<=L){const M=L+1,z=ML)for(;v<=T;)ze(a[v],_,k,!0),v++;else{const M=v,z=v,te=new Map;for(v=z;v<=L;v++){const Ce=u[v]=w?Xe(u[v]):Pe(u[v]);Ce.key!=null&&te.set(Ce.key,v)}let Y,ee=0;const Ae=L-z+1;let pt=!1,As=0;const Tt=new Array(Ae);for(v=0;v=Ae){ze(Ce,_,k,!0);continue}let Re;if(Ce.key!=null)Re=te.get(Ce.key);else for(Y=z;Y<=L;Y++)if(Tt[Y-z]===0&&At(Ce,u[Y])){Re=Y;break}Re===void 0?ze(Ce,_,k,!0):(Tt[Re-z]=v+1,Re>=As?As=Re:pt=!0,p(Ce,u[Re],d,null,_,k,C,y,w),ee++)}const Ps=pt?yl(Tt):vt;for(Y=Ps.length-1,v=Ae-1;v>=0;v--){const Ce=z+v,Re=u[Ce],Ls=Ce+1{const{el:k,type:C,transition:y,children:w,shapeFlag:v}=a;if(v&6){dt(a.component.subTree,u,d,g);return}if(v&128){a.suspense.move(u,d,g);return}if(v&64){C.move(a,u,d,ht);return}if(C===de){s(k,u,d);for(let T=0;Ty.enter(k),_);else{const{leave:T,delayLeave:L,afterLeave:M}=y,z=()=>s(k,u,d),te=()=>{T(k,()=>{z(),M&&M()})};L?L(k,z,te):te()}else s(k,u,d)},ze=(a,u,d,g=!1,_=!1)=>{const{type:k,props:C,ref:y,children:w,dynamicChildren:v,shapeFlag:P,patchFlag:T,dirs:L}=a;if(y!=null&&fn(y,null,d,a,!0),P&256){u.ctx.deactivate(a);return}const M=P&1&&L,z=!jt(a);let te;if(z&&(te=C&&C.onVnodeBeforeUnmount)&&Te(te,u,a),P&6)Mo(a.component,d,g);else{if(P&128){a.suspense.unmount(d,g);return}M&&Fe(a,null,u,"beforeUnmount"),P&64?a.type.remove(a,u,d,_,ht,g):v&&(k!==de||T>0&&T&64)?De(v,u,d,!1,!0):(k===de&&T&384||!_&&P&16)&&De(w,u,d),g&&Es(a)}(z&&(te=C&&C.onVnodeUnmounted)||M)&&$e(()=>{te&&Te(te,u,a),M&&Fe(a,null,u,"unmounted")},d)},Es=a=>{const{type:u,el:d,anchor:g,transition:_}=a;if(u===de){Uo(d,g);return}if(u===Ft){X(a);return}const k=()=>{r(d),_&&!_.persisted&&_.afterLeave&&_.afterLeave()};if(a.shapeFlag&1&&_&&!_.persisted){const{leave:C,delayLeave:y}=_,w=()=>C(d,k);y?y(a.el,k,w):w()}else k()},Uo=(a,u)=>{let d;for(;a!==u;)d=b(a),r(a),a=d;r(u)},Mo=(a,u,d)=>{const{bum:g,scope:_,update:k,subTree:C,um:y}=a;g&&Rn(g),_.stop(),k&&(k.active=!1,ze(C,a,u,d)),y&&$e(y,u),$e(()=>{a.isUnmounted=!0},u),u&&u.pendingBranch&&!u.isUnmounted&&a.asyncDep&&!a.asyncResolved&&a.suspenseId===u.pendingId&&(u.deps--,u.deps===0&&u.resolve())},De=(a,u,d,g=!1,_=!1,k=0)=>{for(let C=k;Ca.shapeFlag&6?Xt(a.component.subTree):a.shapeFlag&128?a.suspense.next():b(a.anchor||a.el),Ts=(a,u,d)=>{a==null?u._vnode&&ze(u._vnode,null,null,!0):p(u._vnode||null,a,u,null,null,null,d),cn(),u._vnode=a},ht={p,um:ze,m:dt,r:Es,mt:Pn,mc:ne,pc:He,pbc:ge,n:Xt,o:e};let In,Un;return t&&([In,Un]=t(ht)),{render:Ts,hydrate:In,createApp:ml(Ts,In)}}function tt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function uo(e,t,n=!1){const s=e.children,r=t.children;if(R(s)&&R(r))for(let o=0;o>1,e[n[l]]0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}const kl=e=>e.__isTeleport,fo="components";function dn(e,t){return $l(fo,e,!0,t)||e}const wl=Symbol();function $l(e,t,n=!0,s=!1){const r=be||ue;if(r){const o=r.type;if(e===fo){const l=Ol(o);if(l&&(l===t||l===Ne(t)||l===yn(Ne(t))))return o}const i=Qs(r[e]||o[e],t)||Qs(r.appContext[e],t);return!i&&s?o:i}}function Qs(e,t){return e&&(e[t]||e[Ne(t)]||e[yn(Ne(t))])}const de=Symbol(void 0),Kt=Symbol(void 0),Ke=Symbol(void 0),Ft=Symbol(void 0),Nt=[];let lt=null;function A(e=!1){Nt.push(lt=e?null:[])}function Cl(){Nt.pop(),lt=Nt[Nt.length-1]||null}let hn=1;function Gs(e){hn+=e}function ho(e){return e.dynamicChildren=hn>0?lt||vt:null,Cl(),hn>0&<&<.push(e),e}function F(e,t,n,s,r,o){return ho(N(e,t,n,s,r,o,!0))}function _e(e,t,n,s,r){return ho(O(e,t,n,s,r,!0))}function pn(e){return e?e.__v_isVNode===!0:!1}function At(e,t){return e.type===t.type&&e.key===t.key}const Tn="__vInternal",po=({key:e})=>e!=null?e:null,rn=({ref:e,ref_key:t,ref_for:n})=>e!=null?pe(e)||he(e)||H(e)?{i:be,r:e,k:t,f:!!n}:e:null;function N(e,t=null,n=null,s=0,r=null,o=e===de?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&po(t),ref:t&&rn(t),scopeId:Cn,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:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null};return l?(xs(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=pe(n)?8:16),hn>0&&!i&<&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&<.push(c),c}const O=Sl;function Sl(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===wl)&&(e=Ke),pn(e)){const l=Wt(e,t,!0);return n&&xs(l,n),l}if(Fl(e)&&(e=e.__vccOpts),t){t=El(t);let{class:l,style:c}=t;l&&!pe(l)&&(t.class=at(l)),fe(c)&&(Fr(c)&&!R(c)&&(c=ye({},c)),t.style=ns(c))}const i=pe(e)?1:zi(e)?128:kl(e)?64:fe(e)?4:H(e)?2:0;return N(e,t,n,s,r,i,o,!0)}function El(e){return e?Fr(e)||Tn in e?ye({},e):e:null}function Wt(e,t,n=!1){const{props:s,ref:r,patchFlag:o,children:i}=e,l=t?ys(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&po(l),ref:t&&t.ref?n&&r?R(r)?r.concat(rn(t)):[r,rn(t)]:rn(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==de?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Wt(e.ssContent),ssFallback:e.ssFallback&&Wt(e.ssFallback),el:e.el,anchor:e.anchor}}function Jt(e=" ",t=0){return O(Kt,null,e,t)}function _f(e,t){const n=O(Ft,null,e);return n.staticCount=t,n}function J(e="",t=!1){return t?(A(),_e(Ke,null,e)):O(Ke,null,e)}function Pe(e){return e==null||typeof e=="boolean"?O(Ke):R(e)?O(de,null,e.slice()):typeof e=="object"?Xe(e):O(Kt,null,String(e))}function Xe(e){return e.el===null||e.memo?e:Wt(e)}function xs(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(R(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),xs(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(Tn in t)?t._ctx=be:r===3&&be&&(be.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else H(t)?(t={default:t,_ctx:be},n=32):(t=String(t),s&64?(n=16,t=[Jt(t)]):n=8);e.children=t,e.shapeFlag|=n}function ys(...e){const t={};for(let n=0;nt(i,l,void 0,o&&o[l]));else{const i=Object.keys(e);r=new Array(i.length);for(let l=0,c=i.length;lpn(t)?!(t.type===Ke||t.type===de&&!_o(t.children)):!0)?e:null}const Zn=e=>e?go(e)?ks(e)||e.proxy:Zn(e.parent):null,_n=ye(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=>Zn(e.parent),$root:e=>Zn(e.root),$emit:e=>e.emit,$options:e=>so(e),$forceUpdate:e=>()=>_s(e.update),$nextTick:e=>Kr.bind(e.proxy),$watch:e=>Ji.bind(e)}),Tl={get({_:e},t){const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:l,appContext:c}=e;let f;if(t[0]!=="$"){const S=i[t];if(S!==void 0)switch(S){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(s!==Q&&W(s,t))return i[t]=1,s[t];if(r!==Q&&W(r,t))return i[t]=2,r[t];if((f=e.propsOptions[0])&&W(f,t))return i[t]=3,o[t];if(n!==Q&&W(n,t))return i[t]=4,n[t];Jn&&(i[t]=0)}}const h=_n[t];let m,b;if(h)return t==="$attrs"&&Ee(e,"get",t),h(e);if((m=l.__cssModules)&&(m=m[t]))return m;if(n!==Q&&W(n,t))return i[t]=4,n[t];if(b=c.config.globalProperties,W(b,t))return b[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return r!==Q&&W(r,t)?(r[t]=n,!0):s!==Q&&W(s,t)?(s[t]=n,!0):W(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},i){let l;return!!n[i]||e!==Q&&W(e,i)||t!==Q&&W(t,i)||(l=o[0])&&W(l,i)||W(s,i)||W(_n,i)||W(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:W(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},Al=ao();let Pl=0;function Ll(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||Al,o={uid:Pl++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new ti(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:oo(s,r),emitsOptions:Jr(s,r),emit:null,emitted:null,propsDefaults:Q,inheritAttrs:s.inheritAttrs,ctx:Q,data:Q,props:Q,attrs:Q,slots:Q,refs:Q,setupState:Q,setupContext: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 o.ctx={_:o},o.root=t?t.root:o,o.emit=Bi.bind(null,o),e.ce&&e.ce(o),o}let ue=null;const gf=()=>ue||be,yt=e=>{ue=e,e.scope.on()},ct=()=>{ue&&ue.scope.off(),ue=null};function go(e){return e.vnode.shapeFlag&4}let kt=!1;function Il(e,t=!1){kt=t;const{props:n,children:s}=e.vnode,r=go(e);fl(e,n,r,t),pl(e,s);const o=r?Ul(e,t):void 0;return kt=!1,o}function Ul(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Ut(new Proxy(e.ctx,Tl));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?Rl(e):null;yt(e),Ct();const o=Qe(s,e,0,[e.props,r]);if(St(),ct(),kr(o)){if(o.then(ct,ct),t)return o.then(i=>{er(e,i,t)}).catch(i=>{Vt(i,e,0)});e.asyncDep=o}else er(e,o,t)}else mo(e,t)}function er(e,t,n){H(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:fe(t)&&(e.setupState=Br(t)),mo(e,n)}let tr;function mo(e,t,n){const s=e.type;if(!e.render){if(!t&&tr&&!s.render){const r=s.template;if(r){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,f=ye(ye({isCustomElement:o,delimiters:l},i),c);s.render=tr(r,f)}}e.render=s.render||Ue}yt(e),Ct(),il(e),St(),ct()}function Ml(e){return new Proxy(e.attrs,{get(t,n){return Ee(e,"get","$attrs"),t[n]}})}function Rl(e){const t=s=>{e.exposed=s||{}};let n;return{get attrs(){return n||(n=Ml(e))},slots:e.slots,emit:e.emit,expose:t}}function ks(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Br(Ut(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in _n)return _n[n](e)}}))}function Ol(e){return H(e)&&e.displayName||e.name}function Fl(e){return H(e)&&"__vccOpts"in e}const j=(e,t)=>Ri(e,t,kt);function ut(e,t,n){const s=arguments.length;return s===2?fe(t)&&!R(t)?pn(t)?O(e,null,[t]):O(e,t):O(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&pn(n)&&(n=[n]),O(e,t,n))}const Nl="3.2.33",Hl="http://www.w3.org/2000/svg",st=typeof document!="undefined"?document:null,nr=st&&st.createElement("template"),Dl={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t?st.createElementNS(Hl,e):st.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>st.createTextNode(e),createComment:e=>st.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>st.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{nr.innerHTML=s?`${e}`:e;const l=nr.content;if(s){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function Bl(e,t,n){const s=e._vtc;s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function ql(e,t,n){const s=e.style,r=pe(n);if(n&&!r){for(const o in n)Qn(s,o,n[o]);if(t&&!pe(t))for(const o in t)n[o]==null&&Qn(s,o,"")}else{const o=s.display;r?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=o)}}const sr=/\s*!important$/;function Qn(e,t,n){if(R(n))n.forEach(s=>Qn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=jl(e,t);sr.test(n)?e.setProperty($t(s),n.replace(sr,""),"important"):e[s]=n}}const rr=["Webkit","Moz","ms"],Hn={};function jl(e,t){const n=Hn[t];if(n)return n;let s=Ne(t);if(s!=="filter"&&s in e)return Hn[t]=s;s=yn(s);for(let r=0;r{let e=Date.now,t=!1;if(typeof window!="undefined"){Date.now()>document.createEvent("Event").timeStamp&&(e=()=>performance.now());const n=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(n&&Number(n[1])<=53)}return[e,t]})();let Gn=0;const Vl=Promise.resolve(),Jl=()=>{Gn=0},Yl=()=>Gn||(Vl.then(Jl),Gn=vo());function Xl(e,t,n,s){e.addEventListener(t,n,s)}function Zl(e,t,n,s){e.removeEventListener(t,n,s)}function Ql(e,t,n,s,r=null){const o=e._vei||(e._vei={}),i=o[t];if(s&&i)i.value=s;else{const[l,c]=Gl(t);if(s){const f=o[t]=ec(s,r);Xl(e,l,f,c)}else i&&(Zl(e,l,i,c),o[t]=void 0)}}const ir=/(?:Once|Passive|Capture)$/;function Gl(e){let t;if(ir.test(e)){t={};let n;for(;n=e.match(ir);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[$t(e.slice(2)),t]}function ec(e,t){const n=s=>{const r=s.timeStamp||vo();(zl||r>=n.attached-1)&&Me(tc(s,n.value),t,5,[s])};return n.value=e,n.attached=Yl(),n}function tc(e,t){if(R(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const lr=/^on[a-z]/,nc=(e,t,n,s,r=!1,o,i,l,c)=>{t==="class"?Bl(e,s,r):t==="style"?ql(e,n,s):zt(t)?ss(t)||Ql(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):sc(e,t,s,r))?Wl(e,t,s,o,i,l,c):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Kl(e,t,s,r))};function sc(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&lr.test(t)&&H(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||lr.test(t)&&pe(n)?!1:t in e}const rc=ye({patchProp:nc},Dl);let Dn,cr=!1;function oc(){return Dn=cr?Dn:bl(rc),cr=!0,Dn}const ic=(...e)=>{const t=oc().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=lc(s);if(r)return n(r,!0,r instanceof SVGElement)},t};function lc(e){return pe(e)?document.querySelector(e):e}var cc='{"lang":"en-US","title":"VitePress","description":"A VitePress site","base":"/","head":[],"themeConfig":{"locales":{"/":{"label":"\u7B80\u4F53\u4E2D\u6587","nav":[{"text":"\u4F7F\u7528\u6307\u5357","link":"/","activeMatch":"^/$|^/guide/"},{"text":"\u793E\u533A\u9879\u76EE","link":"/case/index","activeMatch":"^/case/"},{"text":"\u5F00\u53D1\u624B\u518C","link":"/developer/index","activeMatch":"^/developer/"}],"sidebar":{"/guide/":[{"text":"\u5B89\u88C5\u624B\u518C","children":[{"text":"\u5B89\u88C5 Dashboard","link":"/guide/dashboard"},{"text":"\u5B89\u88C5 Agent","link":"/guide/agent"}]},{"text":"\u7BA1\u7406\u9762\u677F\u914D\u7F6E","children":[{"text":"\u4E3B\u673A","link":"/guide/servers"},{"text":"\u670D\u52A1","link":"/guide/services"},{"text":"\u5B9A\u65F6\u4EFB\u52A1","link":"/guide/tasks"},{"text":"\u62A5\u8B66\u901A\u77E5","link":"/guide/notifications"},{"text":"\u8BBE\u7F6E","link":"/guide/settings"},{"text":"API","link":"/guide/api"}]},{"text":"\u5E38\u89C1\u95EE\u9898","children":[{"text":"TG api \u88AB\u5899","link":"/guide/q1"},{"text":"Agent \u65E0\u6CD5\u542F\u52A8/\u4E0A\u7EBF \u67E5\u770B\u65E5\u5FD7\u5E76\u8FDB\u884C\u6392\u9519\u7684\u6B65\u9AA4","link":"/guide/q2"},{"text":"\u53CD\u5411\u4EE3\u7406 gRPC \u7AEF\u53E3\u7684\u6B65\u9AA4","link":"/guide/q3"},{"text":"\u5B9E\u65F6\u901A\u9053\u65AD\u5F00/\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25","link":"/guide/q4"},{"text":"\u8FDB\u884C\u6570\u636E\u8FC1\u79FB\u3001\u5907\u4EFD\u548C\u6062\u590D\u7684\u6B65\u9AA4","link":"/guide/q5"},{"text":"\u8BBE\u7F6E\u6BCF\u6708\u91CD\u7F6E\u6D41\u91CF\u7EDF\u8BA1\u7684\u6B65\u9AA4","link":"/guide/q6"},{"text":"\u81EA\u5B9A\u4E49 Agent \u76D1\u63A7\u9879\u76EE\u7684\u6B65\u9AA4","link":"/guide/q7"}]},{"text":"\u6392\u969C\u6307\u5357","children":[{"text":"Dashboard \u76F8\u5173","link":"/guide/dashboardq"},{"text":"Agent \u76F8\u5173","link":"/guide/agentq"},{"text":"\u767B\u5F55\u76F8\u5173","link":"/guide/loginq"}]}],"/case/":[{"text":"\u793E\u533A\u9879\u76EE","children":[{"text":"1. \u642D\u5EFA\u54EA\u5412 Telegram \u673A\u5668\u4EBA","link":"/case/case1"},{"text":"2. \u4F7F\u7528Siri\u8BED\u97F3\u8FD0\u884C\u5FEB\u6377\u6307\u4EE4\u67E5\u8BE2\u670D\u52A1\u5668\u72B6\u6001","link":"/case/case2"},{"text":"3. \u81EA\u5EFA\u591A\u7528\u6237\u591A\u8BED\u8A00 Telegram \u670D\u52A1\u5668\u72B6\u6001\u67E5\u8BE2\u673A\u5668\u4EBA","link":"/case/case3"},{"text":"4. Fake-agent\uFF0C\u76D1\u63A7\u6570\u636E\u4F5C\u5F0A\u5668","link":"/case/case4"},{"text":"5. Nezha server over Argo tunnel \u767D\u5AD6\u5229\u5668","link":"/case/case5"}]}],"/developer/":[{"text":"\u5F00\u53D1\u624B\u518C","children":[{"text":"\u521B\u5EFA\u65B0\u4E3B\u9898","link":"/developer/theme"},{"text":"l10n","link":"/developer/l10n"}]}],"/":[{"text":"\u5B89\u88C5\u624B\u518C","children":[{"text":"\u5B89\u88C5 Dashboard","link":"/guide/dashboard"},{"text":"\u5B89\u88C5 Agent","link":"/guide/agent"}]},{"text":"\u7BA1\u7406\u9762\u677F\u914D\u7F6E","children":[{"text":"\u4E3B\u673A","link":"/guide/servers"},{"text":"\u670D\u52A1","link":"/guide/services"},{"text":"\u5B9A\u65F6\u4EFB\u52A1","link":"/guide/tasks"},{"text":"\u62A5\u8B66\u901A\u77E5","link":"/guide/notifications"},{"text":"\u8BBE\u7F6E","link":"/guide/settings"},{"text":"API","link":"/guide/api"}]},{"text":"\u5E38\u89C1\u95EE\u9898","children":[{"text":"TG api \u88AB\u5899","link":"/guide/q1"},{"text":"Agent \u65E0\u6CD5\u542F\u52A8/\u4E0A\u7EBF \u67E5\u770B\u65E5\u5FD7\u5E76\u8FDB\u884C\u6392\u9519\u7684\u6B65\u9AA4","link":"/guide/q2"},{"text":"\u53CD\u5411\u4EE3\u7406 gRPC \u7AEF\u53E3\u7684\u6B65\u9AA4","link":"/guide/q3"},{"text":"\u5B9E\u65F6\u901A\u9053\u65AD\u5F00/\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25","link":"/guide/q4"},{"text":"\u8FDB\u884C\u6570\u636E\u8FC1\u79FB\u3001\u5907\u4EFD\u548C\u6062\u590D\u7684\u6B65\u9AA4","link":"/guide/q5"},{"text":"\u8BBE\u7F6E\u6BCF\u6708\u91CD\u7F6E\u6D41\u91CF\u7EDF\u8BA1\u7684\u6B65\u9AA4","link":"/guide/q6"},{"text":"\u81EA\u5B9A\u4E49 Agent \u76D1\u63A7\u9879\u76EE\u7684\u6B65\u9AA4","link":"/guide/q7"}]},{"text":"\u6392\u969C\u6307\u5357","children":[{"text":"Dashboard \u76F8\u5173","link":"/guide/dashboardq"},{"text":"Agent \u76F8\u5173","link":"/guide/agentq"},{"text":"\u767B\u5F55\u76F8\u5173","link":"/guide/loginq"}]}]},"repo":"nezhahq/nezhahq.github.io","docsDir":"docs","docsBranch":"main","editLinks":true,"editLinkText":"\u5728GitHub\u4E2D\u7F16\u8F91","lastUpdated":"\u4E0A\u6B21\u66F4\u65B0"},"/en_US/":{"label":"English","nav":[{"text":"User Guide","link":"/en_US/","activeMatch":"^/en_US/guide/"},{"text":"Community Projects","link":"/en_US/case/index","activeMatch":"^/en_US/case/"},{"text":"Development Manual","link":"/en_US/developer/index","activeMatch":"^/en_US/developer/"}],"sidebar":{"/en_US/guide/":[{"text":"Installation Manual","children":[{"text":"Install Dashboard","link":"/en_US/guide/dashboard"},{"text":"Install Agent","link":"/en_US/guide/agent"}]},{"text":"Admin Panel","children":[{"text":"Servers","link":"/en_US/guide/servers"},{"text":"Services","link":"/en_US/guide/services"},{"text":"Tasks","link":"/en_US/guide/tasks"},{"text":"Notifications","link":"/en_US/guide/notifications"},{"text":"Settings","link":"/en_US/guide/settings"},{"text":"API","link":"/en_US/guide/api"}]},{"text":"FAQ","children":[{"text":"Agent cannot start/on-line. Steps to review logs and troubleshoot","link":"/en_US/guide/q2"},{"text":"Steps for Reverse Proxy gRPC Ports (support Cloudflare CDN)","link":"/en_US/guide/q3"},{"text":"Real-time channel disconnection/online terminal connection failure","link":"/en_US/guide/q4"},{"text":"Steps to perform data migration, backup and recovery","link":"/en_US/guide/q5"},{"text":"Steps to set up monthly reset data statistics","link":"/en_US/guide/q6"},{"text":"Steps to customize Agent monitoring items","link":"/en_US/guide/q7"}]},{"text":"Troubleshooting Guide","children":[{"text":"Dashboard","link":"/en_US/guide/dashboardq"},{"text":"Agent","link":"/en_US/guide/agentq"},{"text":"Login","link":"/en_US/guide/loginq"}]}],"/en_US/case/":[{"text":"Community Projects","children":[{"text":"1. Build your own Telegram bot to query server information","link":"/en_US/case/case1"},{"text":"2. Use Siri to run shortcut to check server status","link":"/en_US/case/case2"},{"text":"3. Self-hosted, multi-user, multi-lingual server status query Telegram bot","link":"/en_US/case/case3"},{"text":"4. Fake-agent, monitoring data cheater","link":"/en_US/case/case4"},{"text":"5. Nezha server over Argo tunnel","link":"/en_US/case/case5"}]}],"/en_US/developer/":[{"text":"Development Manual","children":[{"text":"Create a new theme","link":"/en_US/developer/theme"},{"text":"l10n","link":"/en_US/developer/l10n"}]}],"/en_US/":[{"text":"Installation Manual","children":[{"text":"Install Dashboard","link":"/en_US/guide/dashboard"},{"text":"Install Agent","link":"/en_US/guide/agent"}]},{"text":"Admin Panel","children":[{"text":"Servers","link":"/en_US/guide/servers"},{"text":"Services","link":"/en_US/guide/services"},{"text":"Tasks","link":"/en_US/guide/tasks"},{"text":"Notifications","link":"/en_US/guide/notifications"},{"text":"Settings","link":"/en_US/guide/settings"},{"text":"API","link":"/en_US/guide/api"}]},{"text":"FAQ","children":[{"text":"Agent cannot start/on-line. Steps to review logs and troubleshoot","link":"/en_US/guide/q2"},{"text":"Steps for Reverse Proxy gRPC Ports (support Cloudflare CDN)","link":"/en_US/guide/q3"},{"text":"Real-time channel disconnection/online terminal connection failure","link":"/en_US/guide/q4"},{"text":"Steps to perform data migration, backup and recovery","link":"/en_US/guide/q5"},{"text":"Steps to set up monthly reset data statistics","link":"/en_US/guide/q6"},{"text":"Steps to customize Agent monitoring items","link":"/en_US/guide/q7"}]},{"text":"Troubleshooting Guide","children":[{"text":"Dashboard","link":"/en_US/guide/dashboardq"},{"text":"Agent","link":"/en_US/guide/agentq"},{"text":"Login","link":"/en_US/guide/loginq"}]}]},"repo":"nezhahq/nezhahq.github.io","docsDir":"docs","docsBranch":"main","editLinks":true,"editLinkText":"Edit this page on GitHub","lastUpdated":"Last Updated"}},"algolia":{"appId":"HP6QF6KMZD","apiKey":"fb8bae9ed373d1057e0c07fcf32b3f1a","indexName":"nezhahq"}},"locales":{"/":{"lang":"zh-CN","title":"\u54EA\u5412\u76D1\u63A7","description":"\u54EA\u5412\u76D1\u63A7\u662F\u4E00\u4E2A\u8F7B\u91CF\u5316\u7684\u8FD0\u7EF4\u5DE5\u5177"},"/en_US/":{"lang":"en-US","title":"Nezha Monitoring","description":"Nezha Monitoring is a lightweight O&M tool"}},"langs":{"/":{"label":"\u7B80\u4F53\u4E2D\u6587","lang":"zh-CN"},"/en_US/":{"label":"English","lang":"en-US"}},"scrollOffset":90}';const bo=/^https?:/i,Ie=typeof window!="undefined";function ac(e,t){t.sort((n,s)=>{const r=s.split("/").length-n.split("/").length;return r!==0?r:s.length-n.length});for(const n of t)if(e.startsWith(n))return n}function ar(e,t){const n=ac(t,Object.keys(e));return n?e[n]:void 0}function uc(e){const{locales:t}=e.themeConfig||{},n=e.locales;return t&&n?Object.keys(t).reduce((s,r)=>(s[r]={label:t[r].label,lang:n[r].lang},s),{}):{}}function fc(e,t){t=dc(e,t);const n=ar(e.locales||{},t),s=ar(e.themeConfig.locales||{},t);return Object.assign({},e,n,{themeConfig:Object.assign({},e.themeConfig,s,{locales:{}}),lang:(n||e).lang,locales:{},langs:uc(e)})}function dc(e,t){if(!Ie)return t;const n=e.base,s=n.endsWith("/")?n.slice(0,-1):n;return t.slice(s.length)}const xo=Symbol(),Yt=Ai(hc(cc));function hc(e){return JSON.parse(e)}function pc(e){const t=j(()=>fc(Yt.value,e.path));return{site:t,theme:j(()=>t.value.themeConfig),page:j(()=>e.data),frontmatter:j(()=>e.data.frontmatter),lang:j(()=>t.value.lang),localePath:j(()=>{const{langs:n,lang:s}=t.value,r=Object.keys(n).find(o=>n[o].lang===s);return wt(r||"/")}),title:j(()=>e.data.title?e.data.title+" | "+t.value.title:t.value.title),description:j(()=>e.data.description||t.value.description)}}function me(){const e=Ot(xo);if(!e)throw new Error("vitepress data not properly injected in app");return e}function _c(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function wt(e){return bo.test(e)?e:_c(Yt.value.base,e)}function yo(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t.endsWith("/")&&(t+="index"),Ie){const n="/";t=t.slice(n.length).replace(/\//g,"_")+".md";const s=__VP_HASH_MAP__[t.toLowerCase()];t=`${n}assets/${t}.${s}.js`}else t=`./${t.slice(1).replace(/\//g,"_")}.md.js`;return t}const ko=Symbol(),ur="http://a.com",wo={relativePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{},lastUpdated:0},gc=()=>({path:"/",component:null,data:wo});function mc(e,t){const n=wn(gc());function s(i=Ie?location.href:"/"){const l=new URL(i,ur);return!l.pathname.endsWith("/")&&!l.pathname.endsWith(".html")&&(l.pathname+=".html",i=l.pathname+l.search+l.hash),Ie&&(history.replaceState({scrollPosition:window.scrollY},document.title),history.pushState(null,"",i)),o(i)}let r=null;async function o(i,l=0,c=!1){const f=new URL(i,ur),h=r=f.pathname;try{let m=e(h);if("then"in m&&typeof m.then=="function"&&(m=await m),r===h){r=null;const{default:b,__pageData:S}=m;if(!b)throw new Error(`Invalid route component: ${b}`);n.path=h,n.component=Ut(b),n.data=Ut(JSON.parse(S)),Ie&&Kr(()=>{if(f.hash&&!l){let E=null;try{E=document.querySelector(decodeURIComponent(f.hash))}catch(B){console.warn(B)}if(E){fr(E,f.hash);return}}window.scrollTo(0,l)})}}catch(m){if(m.message.match(/fetch/)||console.error(m),!c)try{const b=await fetch(Yt.value.base+"hashmap.json");window.__VP_HASH_MAP__=await b.json(),await o(i,l,!0);return}catch{}r===h&&(r=null,n.path=h,n.component=t?Ut(t):null,n.data=wo)}}return Ie&&(window.addEventListener("click",i=>{const l=i.target.closest("a");if(l){const{href:c,protocol:f,hostname:h,pathname:m,hash:b,target:S}=l,E=window.location,B=m.match(/\.\w+$/);!i.ctrlKey&&!i.shiftKey&&!i.altKey&&!i.metaKey&&S!=="_blank"&&f===E.protocol&&h===E.hostname&&!(B&&B[0]!==".html")&&(i.preventDefault(),m===E.pathname?b&&b!==E.hash&&(history.pushState(null,"",b),window.dispatchEvent(new Event("hashchange")),fr(l,b,l.classList.contains("header-anchor"))):s(c))}},{capture:!0}),window.addEventListener("popstate",i=>{o(location.href,i.state&&i.state.scrollPosition||0)}),window.addEventListener("hashchange",i=>{i.preventDefault()})),{route:n,go:s}}function vc(){const e=Ot(ko);if(!e)throw new Error("useRouter() is called without provider.");return e}function et(){return vc().route}function fr(e,t,n=!1){let s=null;try{s=e.classList.contains("header-anchor")?e:document.querySelector(decodeURIComponent(t))}catch(r){console.warn(r)}if(s){let r=Yt.value.scrollOffset;typeof r=="string"&&(r=document.querySelector(r).getBoundingClientRect().bottom+24);const o=parseInt(window.getComputedStyle(s).paddingTop,10),i=window.scrollY+s.getBoundingClientRect().top-r+o;!n||Math.abs(i-window.scrollY)>window.innerHeight?window.scrollTo(0,i):window.scrollTo({left:0,top:i,behavior:"smooth"})}}function bc(e,t){let n=[],s=!0;const r=o=>{if(s){s=!1;return}const i=[],l=Math.min(n.length,o.length);for(let c=0;cdocument.head.removeChild(c)),o.slice(l).forEach(c=>{const f=dr(c);document.head.appendChild(f),i.push(f)}),n=i};Qr(()=>{const o=e.data,i=t.value,l=o&&o.title,c=o&&o.description,f=o&&o.frontmatter.head;document.title=(l?l+" | ":"")+i.title,document.querySelector("meta[name=description]").setAttribute("content",c||i.description),r([...f?yc(f):[]])})}function dr([e,t,n]){const s=document.createElement(e);for(const r in t)s.setAttribute(r,t[r]);return n&&(s.innerHTML=n),s}function xc(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function yc(e){return e.filter(t=>!xc(t))}const kc=re({name:"VitePressContent",setup(){const e=et();return()=>ut("div",{style:{position:"relative"}},[e.component?ut(e.component):null])}});var ce=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n};const wc=/#.*$/,$c=/(index)?\.(md|html)$/,gn=/\/$/,Cc=/^[a-z]+:/i;function ws(e){return Array.isArray(e)}function $s(e){return Cc.test(e)}function Sc(e,t){if(t===void 0)return!1;const n=hr(`/${e.data.relativePath}`),s=hr(t);return n===s}function hr(e){return decodeURI(e).replace(wc,"").replace($c,"")}function Ec(e,t){const n=e.endsWith("/"),s=t.startsWith("/");return n&&s?e.slice(0,-1)+t:!n&&!s?`${e}/${t}`:e+t}function es(e){return/^\//.test(e)?e:`/${e}`}function $o(e){return e.replace(/(index)?(\.(md|html))?$/,"")||"/"}function Tc(e){return e===!1||e==="auto"||ws(e)}function Ac(e){return e.children!==void 0}function Pc(e){return ws(e)?e.length===0:!e}function Cs(e,t){if(Tc(e))return e;t=es(t);for(const n in e)if(t.startsWith(es(n)))return e[n];return"auto"}function Co(e){return e.reduce((t,n)=>(n.link&&t.push({text:n.text,link:$o(n.link)}),Ac(n)&&(t=[...t,...Co(n.children)]),t),[])}function So(e){const t=et(),n=$s(e.value.link);return{props:j(()=>{const r=pr(`/${t.data.relativePath}`);let o=!1;if(e.value.activeMatch)o=new RegExp(e.value.activeMatch).test(r);else{const i=pr(e.value.link);o=i==="/"?i===r:r.startsWith(i)}return{class:{active:o,isExternal:n},href:n?e.value.link:wt(e.value.link),target:e.value.target||(n?"_blank":null),rel:e.value.rel||(n?"noopener noreferrer":null),"aria-label":e.value.ariaLabel}}),isExternal:n}}function pr(e){return e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\.(html|md)$/,"").replace(/\/index$/,"/")}const Lc={},Ic={class:"icon outbound",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",x:"0px",y:"0px",viewBox:"0 0 100 100",width:"15",height:"15"},Uc=N("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"},null,-1),Mc=N("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"},null,-1),Rc=[Uc,Mc];function Oc(e,t){return A(),F("svg",Ic,Rc)}var Ss=ce(Lc,[["render",Oc]]);const Fc={class:"nav-link"},Nc=re({props:{item:null},setup(e){const n=qr(e),{props:s,isExternal:r}=So(n.item);return(o,i)=>(A(),F("div",Fc,[N("a",ys({class:"item"},$(s)),[Jt(xe(e.item.text)+" ",1),$(r)?(A(),_e(Ss,{key:0})):J("",!0)],16)]))}});var mn=ce(Nc,[["__scopeId","data-v-b8818f8c"]]);const Hc={key:0,class:"home-hero"},Dc={key:0,class:"figure"},Bc=["src","alt"],qc={key:1,id:"main-title",class:"title"},jc={key:2,class:"tagline"},Kc=re({setup(e){const{site:t,frontmatter:n}=me(),s=j(()=>{const{heroImage:i,heroText:l,tagline:c,actionLink:f,actionText:h}=n.value;return i||l||c||f&&h}),r=j(()=>n.value.heroText||t.value.title),o=j(()=>n.value.tagline||t.value.description);return(i,l)=>$(s)?(A(),F("header",Hc,[$(n).heroImage?(A(),F("figure",Dc,[N("img",{class:"image",src:$(wt)($(n).heroImage),alt:$(n).heroAlt},null,8,Bc)])):J("",!0),$(r)?(A(),F("h1",qc,xe($(r)),1)):J("",!0),$(o)?(A(),F("p",jc,xe($(o)),1)):J("",!0),$(n).actionLink&&$(n).actionText?(A(),_e(mn,{key:3,item:{link:$(n).actionLink,text:$(n).actionText},class:"action"},null,8,["item"])):J("",!0),$(n).altActionLink&&$(n).altActionText?(A(),_e(mn,{key:4,item:{link:$(n).altActionLink,text:$(n).altActionText},class:"action alt"},null,8,["item"])):J("",!0)])):J("",!0)}});var Wc=ce(Kc,[["__scopeId","data-v-370f18c0"]]);const zc={key:0,class:"home-features"},Vc={class:"wrapper"},Jc={class:"container"},Yc={class:"features"},Xc={key:0,class:"title"},Zc={key:1,class:"details"},Qc=re({setup(e){const{frontmatter:t}=me(),n=j(()=>t.value.features&&t.value.features.length>0),s=j(()=>t.value.features?t.value.features:[]);return(r,o)=>$(n)?(A(),F("div",zc,[N("div",Vc,[N("div",Jc,[N("div",Yc,[(A(!0),F(de,null,An($(s),(i,l)=>(A(),F("section",{key:l,class:"feature"},[i.title?(A(),F("h2",Xc,xe(i.title),1)):J("",!0),i.details?(A(),F("p",Zc,xe(i.details),1)):J("",!0)]))),128))])])])])):J("",!0)}});var Gc=ce(Qc,[["__scopeId","data-v-e39c13e0"]]);const ea={key:0,class:"footer"},ta={class:"container"},na={class:"text"},sa=re({setup(e){const{frontmatter:t}=me();return(n,s)=>$(t).footer?(A(),F("footer",ea,[N("div",ta,[N("p",na,xe($(t).footer),1)])])):J("",!0)}});var ra=ce(sa,[["__scopeId","data-v-30918238"]]);const oa={class:"home","aria-labelledby":"main-title"},ia={class:"home-content"},la=re({setup(e){return(t,n)=>{const s=dn("Content");return A(),F("main",oa,[O(Wc),ae(t.$slots,"hero",{},void 0,!0),O(Gc),N("div",ia,[O(s)]),ae(t.$slots,"features",{},void 0,!0),O(ra),ae(t.$slots,"footer",{},void 0,!0)])}}});var ca=ce(la,[["__scopeId","data-v-10122c92"]]);const aa=["href","aria-label"],ua=["src"],fa=re({setup(e){const{site:t,theme:n,localePath:s}=me();return(r,o)=>(A(),F("a",{class:"nav-bar-title",href:$(s),"aria-label":`${$(t).title}, back to home`},[$(n).logo?(A(),F("img",{key:0,class:"logo",src:$(wt)($(n).logo),alt:"Logo"},null,8,ua)):J("",!0),Jt(" "+xe($(t).title),1)],8,aa))}});var da=ce(fa,[["__scopeId","data-v-cc01ef16"]]);function ha(){const{site:e,localePath:t,theme:n}=me();return j(()=>{const s=e.value.langs,r=Object.keys(s);if(r.length<2)return null;const i=et().path.replace(t.value,""),l=r.map(f=>({text:s[f].label,link:`${f}${i}`}));return{text:n.value.selectText||"Languages",items:l}})}const pa=["GitHub","GitLab","Bitbucket"].map(e=>[e,new RegExp(e,"i")]);function _a(){const{site:e}=me();return j(()=>{const t=e.value.themeConfig,n=t.docsRepo||t.repo;if(!n)return null;const s=ga(n);return{text:ma(s,t.repoLabel),link:s}})}function ga(e){return bo.test(e)?e:`https://github.com/${e}`}function ma(e,t){if(t)return t;const n=e.match(/^https?:\/\/[^/]+/);if(!n)return"Source";const s=pa.find(([r,o])=>o.test(n[0]));return s&&s[0]?s[0]:"Source"}const va=e=>(Yr("data-v-bbc27490"),e=e(),Xr(),e),ba={class:"nav-dropdown-link-item"},xa=va(()=>N("span",{class:"arrow"},null,-1)),ya={class:"text"},ka={class:"icon"},wa=re({props:{item:null},setup(e){const n=qr(e),{props:s,isExternal:r}=So(n.item);return(o,i)=>(A(),F("div",ba,[N("a",ys({class:"item"},$(s)),[xa,N("span",ya,xe(e.item.text),1),N("span",ka,[$(r)?(A(),_e(Ss,{key:0})):J("",!0)])],16)]))}});var $a=ce(wa,[["__scopeId","data-v-bbc27490"]]);const Ca=["aria-label"],Sa={class:"button-text"},Ea={class:"dialog"},Ta=re({props:{item:null},setup(e){const t=et(),n=ot(!1);it(()=>t.path,()=>{n.value=!1});function s(){n.value=!n.value}return(r,o)=>(A(),F("div",{class:at(["nav-dropdown-link",{open:n.value}])},[N("button",{class:"button","aria-label":e.item.ariaLabel,onClick:s},[N("span",Sa,xe(e.item.text),1),N("span",{class:at(["button-arrow",n.value?"down":"right"])},null,2)],8,Ca),N("ul",Ea,[(A(!0),F(de,null,An(e.item.items,i=>(A(),F("li",{key:i.text,class:"dialog-item"},[O($a,{item:i},null,8,["item"])]))),128))])],2))}});var _r=ce(Ta,[["__scopeId","data-v-56bf3a3f"]]);const Aa={key:0,class:"nav-links"},Pa={key:1,class:"item"},La={key:2,class:"item"},Ia=re({setup(e){const{theme:t}=me(),n=ha(),s=_a(),r=j(()=>t.value.nav||s.value||n.value);return(o,i)=>$(r)?(A(),F("nav",Aa,[$(t).nav?(A(!0),F(de,{key:0},An($(t).nav,l=>(A(),F("div",{key:l.text,class:"item"},[l.items?(A(),_e(_r,{key:0,item:l},null,8,["item"])):(A(),_e(mn,{key:1,item:l},null,8,["item"]))]))),128)):J("",!0),$(n)?(A(),F("div",Pa,[O(_r,{item:$(n)},null,8,["item"])])):J("",!0),$(s)?(A(),F("div",La,[O(mn,{item:$(s)},null,8,["item"])])):J("",!0)])):J("",!0)}});var Eo=ce(Ia,[["__scopeId","data-v-eab3edfe"]]);const Ua={emits:["toggle"]},Ma=N("svg",{class:"icon",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",viewBox:"0 0 448 512"},[N("path",{fill:"currentColor",d:"M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z",class:""})],-1),Ra=[Ma];function Oa(e,t,n,s,r,o){return A(),F("div",{class:"sidebar-button",onClick:t[0]||(t[0]=i=>e.$emit("toggle"))},Ra)}var Fa=ce(Ua,[["render",Oa]]);const Na=e=>(Yr("data-v-675d8756"),e=e(),Xr(),e),Ha={class:"nav-bar"},Da=Na(()=>N("div",{class:"flex-grow"},null,-1)),Ba={class:"nav"},qa=re({emits:["toggle"],setup(e){return(t,n)=>(A(),F("header",Ha,[O(Fa,{onToggle:n[0]||(n[0]=s=>t.$emit("toggle"))}),O(da),Da,N("div",Ba,[O(Eo)]),ae(t.$slots,"search",{},void 0,!0)]))}});var ja=ce(qa,[["__scopeId","data-v-675d8756"]]);function Ka(){let e=null,t=null;const n=Ya(s,300);function s(){const i=Wa(),l=za(i);for(let c=0;c ul > li");l&&l!==t.parentElement?(e=l.querySelector("a"),e&&e.classList.add("active")):e=null}function o(i){i&&i.classList.remove("active")}ft(()=>{s(),window.addEventListener("scroll",n)}),to(()=>{r(decodeURIComponent(location.hash))}),En(()=>{window.removeEventListener("scroll",n)})}function Wa(){return[].slice.call(document.querySelectorAll(".sidebar a.sidebar-link-item"))}function za(e){return[].slice.call(document.querySelectorAll(".header-anchor")).filter(t=>e.some(n=>n.hash===t.hash))}function Va(){return document.querySelector(".nav-bar").offsetHeight}function gr(e){const t=Va();return e.parentElement.offsetTop-t-15}function Ja(e,t,n){const s=window.scrollY;return e===0&&s===0?[!0,null]:s{n&&clearTimeout(n),s?n=setTimeout(e,t):(e(),s=!0,setTimeout(()=>{s=!1},t))}}function Xa(){const e=et(),{site:t}=me();return Ka(),j(()=>{const n=e.data.headers,s=e.data.frontmatter.sidebar,r=e.data.frontmatter.sidebarDepth;if(s===!1)return[];if(s==="auto")return mr(n,r);const o=Cs(t.value.themeConfig.sidebar,e.data.relativePath);return o===!1?[]:o==="auto"?mr(n,r):o})}function mr(e,t){const n=[];if(e===void 0)return[];let s;return e.forEach(({level:r,title:o,slug:i})=>{if(r-1>t)return;const l={text:o,link:`#${i}`};r===2?(s=l,n.push(l)):s&&(s.children||(s.children=[])).push(l)}),n}const To=e=>{const t=et(),{site:n,frontmatter:s}=me(),r=e.depth||1,o=s.value.sidebarDepth||1/0,i=t.data.headers,l=e.item.text,c=Za(n.value.base,e.item.link),f=e.item.children,h=Sc(t,e.item.link),m=r0?ut("ul",{class:"sidebar-links"},t.map(r=>ut(To,{item:r,depth:s}))):e&&n?Ao(!1,Qa(n),void 0,s):null}function Qa(e){return Po(Ga(e))}function Ga(e){e=e.map(n=>Object.assign({},n));let t;return e.forEach(n=>{n.level===2?t=n:t&&(t.children||(t.children=[])).push(n)}),e.filter(n=>n.level===2)}function Po(e){return e.map(t=>({text:t.title,link:`#${t.slug}`,children:t.children?Po(t.children):void 0}))}const eu={key:0,class:"sidebar-links"},tu=re({setup(e){const t=Xa();return(n,s)=>$(t).length>0?(A(),F("ul",eu,[(A(!0),F(de,null,An($(t),r=>(A(),_e($(To),{item:r},null,8,["item"]))),256))])):J("",!0)}});const nu=re({props:{open:{type:Boolean}},setup(e){return(t,n)=>(A(),F("aside",{class:at(["sidebar",{open:e.open}])},[O(Eo,{class:"nav"}),ae(t.$slots,"sidebar-top",{},void 0,!0),O(tu),ae(t.$slots,"sidebar-bottom",{},void 0,!0)],2))}});var su=ce(nu,[["__scopeId","data-v-83e92a68"]]);const ru=/bitbucket.org/;function ou(){const{page:e,theme:t,frontmatter:n}=me(),s=j(()=>{const{repo:o,docsDir:i="",docsBranch:l="master",docsRepo:c=o,editLinks:f}=t.value,h=n.value.editLink!=null?n.value.editLink:f,{relativePath:m}=e.value;return!h||!m||!o?null:iu(o,c,i,l,m)}),r=j(()=>t.value.editLinkText||"Edit this page");return{url:s,text:r}}function iu(e,t,n,s,r){return ru.test(e)?cu(e,t,n,s,r):lu(e,t,n,s,r)}function lu(e,t,n,s,r){return($s(t)?t:`https://github.com/${t}`).replace(gn,"")+`/edit/${s}/`+(n?n.replace(gn,"")+"/":"")+r}function cu(e,t,n,s,r){return($s(t)?t:e).replace(gn,"")+`/src/${s}/`+(n?n.replace(gn,"")+"/":"")+r+`?mode=edit&spa=0&at=${s}&fileviewer=file-view-default`}const au={class:"edit-link"},uu=["href"],fu=re({setup(e){const{url:t,text:n}=ou();return(s,r)=>(A(),F("div",au,[$(t)?(A(),F("a",{key:0,class:"link",href:$(t),target:"_blank",rel:"noopener noreferrer"},[Jt(xe($(n))+" ",1),O(Ss,{class:"icon"})],8,uu)):J("",!0)]))}});var du=ce(fu,[["__scopeId","data-v-1ed99556"]]);const hu={key:0,class:"last-updated"},pu={class:"prefix"},_u={class:"datetime"},gu=re({setup(e){const{theme:t,page:n}=me(),s=j(()=>{const i=t.value.lastUpdated;return i!==void 0&&i!==!1&&n.value.lastUpdated!==0}),r=j(()=>{const i=t.value.lastUpdated;return i===!0?"Last Updated":i}),o=ot("");return ft(()=>{Qr(()=>{o.value=new Date(n.value.lastUpdated).toLocaleString("en-US")})}),(i,l)=>$(s)?(A(),F("p",hu,[N("span",pu,xe($(r))+":",1),N("span",_u,xe(o.value),1)])):J("",!0)}});var mu=ce(gu,[["__scopeId","data-v-abce3432"]]);const vu={class:"page-footer"},bu={class:"edit"},xu={class:"updated"},yu=re({setup(e){const{page:t}=me();return(n,s)=>(A(),F("footer",vu,[N("div",bu,[O(du)]),N("div",xu,[$(t).lastUpdated?(A(),_e(mu,{key:0})):J("",!0)])]))}});var ku=ce(yu,[["__scopeId","data-v-07c132fc"]]);function wu(){const{page:e,theme:t}=me(),n=j(()=>$o(es(e.value.relativePath))),s=j(()=>{const c=Cs(t.value.sidebar,n.value);return ws(c)?Co(c):[]}),r=j(()=>s.value.findIndex(c=>c.link===n.value)),o=j(()=>{if(t.value.nextLinks!==!1&&r.value>-1&&r.value{if(t.value.prevLinks!==!1&&r.value>0)return s.value[r.value-1]}),l=j(()=>!!o.value||!!i.value);return{next:o,prev:i,hasLinks:l}}const $u={},Cu={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Su=N("path",{d:"M19,11H7.4l5.3-5.3c0.4-0.4,0.4-1,0-1.4s-1-0.4-1.4,0l-7,7c-0.1,0.1-0.2,0.2-0.2,0.3c-0.1,0.2-0.1,0.5,0,0.8c0.1,0.1,0.1,0.2,0.2,0.3l7,7c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3c0.4-0.4,0.4-1,0-1.4L7.4,13H19c0.6,0,1-0.4,1-1S19.6,11,19,11z"},null,-1),Eu=[Su];function Tu(e,t){return A(),F("svg",Cu,Eu)}var Au=ce($u,[["render",Tu]]);const Pu={},Lu={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Iu=N("path",{d:"M19.9,12.4c0.1-0.2,0.1-0.5,0-0.8c-0.1-0.1-0.1-0.2-0.2-0.3l-7-7c-0.4-0.4-1-0.4-1.4,0s-0.4,1,0,1.4l5.3,5.3H5c-0.6,0-1,0.4-1,1s0.4,1,1,1h11.6l-5.3,5.3c-0.4,0.4-0.4,1,0,1.4c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3l7-7C19.8,12.6,19.9,12.5,19.9,12.4z"},null,-1),Uu=[Iu];function Mu(e,t){return A(),F("svg",Lu,Uu)}var Ru=ce(Pu,[["render",Mu]]);const Ou={key:0,class:"next-and-prev-link"},Fu={class:"container"},Nu={class:"prev"},Hu=["href"],Du={class:"text"},Bu={class:"next"},qu=["href"],ju={class:"text"},Ku=re({setup(e){const{hasLinks:t,prev:n,next:s}=wu();return(r,o)=>$(t)?(A(),F("div",Ou,[N("div",Fu,[N("div",Nu,[$(n)?(A(),F("a",{key:0,class:"link",href:$(wt)($(n).link)},[O(Au,{class:"icon icon-prev"}),N("span",Du,xe($(n).text),1)],8,Hu)):J("",!0)]),N("div",Bu,[$(s)?(A(),F("a",{key:0,class:"link",href:$(wt)($(s).link)},[N("span",ju,xe($(s).text),1),O(Ru,{class:"icon icon-next"})],8,qu)):J("",!0)])])])):J("",!0)}});var Wu=ce(Ku,[["__scopeId","data-v-38ede35f"]]);const zu={class:"page"},Vu={class:"container"},Ju=re({setup(e){return(t,n)=>{const s=dn("Content");return A(),F("main",zu,[N("div",Vu,[ae(t.$slots,"top",{},void 0,!0),O(s,{class:"content"}),O(ku),O(Wu),ae(t.$slots,"bottom",{},void 0,!0)])])}}});var Yu=ce(Ju,[["__scopeId","data-v-7eddb2c4"]]);const Xu={key:0,id:"ads-container"},Zu=re({setup(e){const t=()=>null,n=t,s=t,r=Yi(()=>vr(()=>import("./chunks/AlgoliaSearchBox.5f34673f.js"),[])),o=et(),{site:i,page:l,theme:c,frontmatter:f}=me(),h=j(()=>!!f.value.customLayout),m=j(()=>!!f.value.home),b=j(()=>Object.keys(i.value.langs).length>1),S=j(()=>{const I=c.value;return f.value.navbar===!1||I.navbar===!1?!1:i.value.title||I.logo||I.repo||I.nav}),E=ot(!1),B=j(()=>f.value.home||f.value.sidebar===!1?!1:!Pc(Cs(c.value.sidebar,o.data.relativePath))),p=I=>{E.value=typeof I=="boolean"?I:!E.value},x=p.bind(null,!1);it(o,x);const U=j(()=>[{"no-navbar":!S.value,"sidebar-open":E.value,"no-sidebar":!B.value}]);return(I,D)=>{const X=dn("Content"),Z=dn("Debug");return A(),F(de,null,[N("div",{class:at(["theme",$(U)])},[$(S)?(A(),_e(ja,{key:0,onToggle:p},{search:Be(()=>[ae(I.$slots,"navbar-search",{},()=>[$(c).algolia?(A(),_e($(r),{key:0,options:$(c).algolia,multilang:$(b)},null,8,["options","multilang"])):J("",!0)])]),_:3})):J("",!0),O(su,{open:E.value},{"sidebar-top":Be(()=>[ae(I.$slots,"sidebar-top")]),"sidebar-bottom":Be(()=>[ae(I.$slots,"sidebar-bottom")]),_:3},8,["open"]),N("div",{class:"sidebar-mask",onClick:D[0]||(D[0]=q=>p(!1))}),$(h)?(A(),_e(X,{key:1})):$(m)?ae(I.$slots,"home",{key:2},()=>[O(ca,null,{hero:Be(()=>[ae(I.$slots,"home-hero")]),features:Be(()=>[ae(I.$slots,"home-features")]),footer:Be(()=>[ae(I.$slots,"home-footer")]),_:3})]):(A(),_e(Yu,{key:3},{top:Be(()=>[ae(I.$slots,"page-top-ads",{},()=>[$(c).carbonAds&&$(c).carbonAds.carbon?(A(),F("div",Xu,[(A(),_e($(n),{key:"carbon"+$(l).relativePath,code:$(c).carbonAds.carbon,placement:$(c).carbonAds.placement},null,8,["code","placement"]))])):J("",!0)]),ae(I.$slots,"page-top")]),bottom:Be(()=>[ae(I.$slots,"page-bottom"),ae(I.$slots,"page-bottom-ads",{},()=>[$(c).carbonAds&&$(c).carbonAds.custom?(A(),_e($(s),{key:"custom"+$(l).relativePath,code:$(c).carbonAds.custom,placement:$(c).carbonAds.placement},null,8,["code","placement"])):J("",!0)])]),_:3}))],2),O(Z)],64)}}}),Qu={class:"theme"},Gu=N("h1",null,"404",-1),ef=["href"],tf=re({setup(e){const{site:t}=me(),n=["There's nothing here.","How did we get here?","That's a Four-Oh-Four.","Looks like we've got some broken links."];function s(){return n[Math.floor(Math.random()*n.length)]}return(r,o)=>(A(),F("div",Qu,[Gu,N("blockquote",null,xe(s()),1),N("a",{href:$(t).base,"aria-label":"go to home"},"Take me home.",8,ef)]))}}),Lo={Layout:Zu,NotFound:tf},nf={setup(e){const{Layout:t}=Lo;return ft(()=>{window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches&&(console.log("setting as dark"),document.body.classList.add("dark")),setTimeout(()=>{let n=document.body.classList.contains("dark")?"\u{1F506}":"\u{1F319}",s=document.getElementsByClassName("nav-links");if(s){let r=s[0];r&&r.insertAdjacentHTML("beforeend",`
${n}
`),r=s[1],r&&r.insertAdjacentHTML("beforeend",`
${n}
`)}},100)}),(n,s)=>(A(),_e($(t)))}};var vn=Rs(Ms({},Lo),{Layout:nf});const Bn=new Set,Io=()=>document.createElement("link"),sf=e=>{const t=Io();t.rel="prefetch",t.href=e,document.head.appendChild(t)},rf=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let sn;const of=Ie&&(sn=Io())&&sn.relList&&sn.relList.supports&&sn.relList.supports("prefetch")?sf:rf;function lf(){if(!Ie||!window.IntersectionObserver)return;let e;if((e=navigator.connection)&&(e.saveData||/2g/.test(e.effectiveType)))return;const t=window.requestIdleCallback||setTimeout;let n=null;const s=()=>{n&&n.disconnect(),n=new IntersectionObserver(o=>{o.forEach(i=>{if(i.isIntersecting){const l=i.target;n.unobserve(l);const{pathname:c}=l;if(!Bn.has(c)){Bn.add(c);const f=yo(c);of(f)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(o=>{const{target:i,hostname:l,pathname:c}=o,f=c.match(/\.\w+$/);f&&f[0]!==".html"||i!=="_blank"&&l===location.hostname&&(c!==location.pathname?n.observe(o):Bn.add(c))})})};ft(s);const r=et();it(()=>r.path,s),En(()=>{n&&n.disconnect()})}const cf=re({setup(e,{slots:t}){const n=ot(!1);return ft(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}}),af=vn.NotFound||(()=>"404 Not Found"),uf={name:"VitePressApp",setup(){const{site:e}=me();return ft(()=>{it(()=>e.value.lang,t=>{document.documentElement.lang=t},{immediate:!0})}),lf(),()=>ut(vn.Layout)}};function ff(){const e=hf(),t=df();t.provide(ko,e);const n=pc(e.route);return t.provide(xo,n),t.component("Content",kc),t.component("ClientOnly",cf),t.component("Debug",()=>null),Object.defineProperty(t.config.globalProperties,"$frontmatter",{get(){return n.frontmatter.value}}),vn.enhanceApp&&vn.enhanceApp({app:t,router:e,siteData:Yt}),{app:t,router:e,data:n}}function df(){return ic(uf)}function hf(){let e=Ie,t;return mc(n=>{let s=yo(n);return e&&(t=s),(e||t===s)&&(s=s.replace(/\.js$/,".lean.js")),Ie?(e=!1,vr(()=>import(s),[])):require(s)},af)}if(Ie){const{app:e,router:t,data:n}=ff();t.go().then(()=>{bc(t.route,n.site),e.mount("#app")})}export{ce as _,_f as a,N as b,F as c,ff as createApp,Jt as d,re as e,vc as f,ft as g,me as h,gf as i,A as o,et as u,it as w};