vue-h5-template/assets/app.0ed445b7.js

8 lines
133 KiB
JavaScript

function Bs(e,t){const n=Object.create(null),s=e.split(",");for(let o=0;o<s.length;o++)n[s[o]]=!0;return t?o=>!!n[o.toLowerCase()]:o=>!!n[o]}function Un(e){if(K(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],o=xe(s)?Mr(s):Un(s);if(o)for(const i in o)t[i]=o[i]}return t}else{if(xe(e))return e;if(me(e))return e}}const Tr=/;(?![^(]*\))/g,Er=/:([^]+)/,Lr=/\/\*.*?\*\//gs;function Mr(e){const t={};return e.replace(Lr,"").split(Tr).forEach(n=>{if(n){const s=n.split(Er);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function he(e){let t="";if(xe(e))t=e;else if(K(e))for(let n=0;n<e.length;n++){const s=he(e[n]);s&&(t+=s+" ")}else if(me(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Ir="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Ar=Bs(Ir);function di(e){return!!e||e===""}const ae=e=>xe(e)?e:e==null?"":K(e)||me(e)&&(e.toString===vi||!X(e.toString))?JSON.stringify(e,hi,2):String(e),hi=(e,t)=>t&&t.__v_isRef?hi(e,t.value):Nt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,o])=>(n[`${s} =>`]=o,n),{})}:_i(t)?{[`Set(${t.size})`]:[...t.values()]}:me(t)&&!K(t)&&!mi(t)?String(t):t,ge={},At=[],Ke=()=>{},Nr=()=>!1,Br=/^on[^a-z]/,_n=e=>Br.test(e),Os=e=>e.startsWith("onUpdate:"),ke=Object.assign,Fs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Or=Object.prototype.hasOwnProperty,oe=(e,t)=>Or.call(e,t),K=Array.isArray,Nt=e=>jn(e)==="[object Map]",_i=e=>jn(e)==="[object Set]",X=e=>typeof e=="function",xe=e=>typeof e=="string",Hs=e=>typeof e=="symbol",me=e=>e!==null&&typeof e=="object",pi=e=>me(e)&&X(e.then)&&X(e.catch),vi=Object.prototype.toString,jn=e=>vi.call(e),Fr=e=>jn(e).slice(8,-1),mi=e=>jn(e)==="[object Object]",Rs=e=>xe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,tn=Bs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Kn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Hr=/-(\w)/g,et=Kn(e=>e.replace(Hr,(t,n)=>n?n.toUpperCase():"")),Rr=/\B([A-Z])/g,Gt=Kn(e=>e.replace(Rr,"-$1").toLowerCase()),Wn=Kn(e=>e.charAt(0).toUpperCase()+e.slice(1)),cs=Kn(e=>e?`on${Wn(e)}`:""),cn=(e,t)=>!Object.is(e,t),as=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Ln=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Ds=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let go;const Dr=()=>go||(go=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let Ae;class zr{constructor(t=!1){this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=Ae,!t&&Ae&&(this.index=(Ae.scopes||(Ae.scopes=[])).push(this)-1)}run(t){if(this.active){const n=Ae;try{return Ae=this,t()}finally{Ae=n}}}on(){Ae=this}off(){Ae=this.parent}stop(t){if(this.active){let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.scopes)for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const 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 Ur(e,t=Ae){t&&t.active&&t.effects.push(e)}function jr(){return Ae}function Kr(e){Ae&&Ae.cleanups.push(e)}const zs=e=>{const t=new Set(e);return t.w=0,t.n=0,t},gi=e=>(e.w&ht)>0,bi=e=>(e.n&ht)>0,Wr=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=ht},qr=e=>{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s<t.length;s++){const o=t[s];gi(o)&&!bi(o)?o.delete(e):t[n++]=o,o.w&=~ht,o.n&=~ht}t.length=n}},ys=new WeakMap;let en=0,ht=1;const xs=30;let Ue;const St=Symbol(""),ws=Symbol("");class Us{constructor(t,n=null,s){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Ur(this,s)}run(){if(!this.active)return this.fn();let t=Ue,n=ft;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Ue,Ue=this,ft=!0,ht=1<<++en,en<=xs?Wr(this):bo(this),this.fn()}finally{en<=xs&&qr(this),ht=1<<--en,Ue=this.parent,ft=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Ue===this?this.deferStop=!0:this.active&&(bo(this),this.onStop&&this.onStop(),this.active=!1)}}function bo(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let ft=!0;const yi=[];function Yt(){yi.push(ft),ft=!1}function Qt(){const e=yi.pop();ft=e===void 0?!0:e}function Be(e,t,n){if(ft&&Ue){let s=ys.get(e);s||ys.set(e,s=new Map);let o=s.get(n);o||s.set(n,o=zs()),xi(o)}}function xi(e,t){let n=!1;en<=xs?bi(e)||(e.n|=ht,n=!gi(e)):n=!e.has(Ue),n&&(e.add(Ue),Ue.deps.push(e))}function ot(e,t,n,s,o,i){const r=ys.get(e);if(!r)return;let l=[];if(t==="clear")l=[...r.values()];else if(n==="length"&&K(e)){const c=Ds(s);r.forEach((f,h)=>{(h==="length"||h>=c)&&l.push(f)})}else switch(n!==void 0&&l.push(r.get(n)),t){case"add":K(e)?Rs(n)&&l.push(r.get("length")):(l.push(r.get(St)),Nt(e)&&l.push(r.get(ws)));break;case"delete":K(e)||(l.push(r.get(St)),Nt(e)&&l.push(r.get(ws)));break;case"set":Nt(e)&&l.push(r.get(St));break}if(l.length===1)l[0]&&ks(l[0]);else{const c=[];for(const f of l)f&&c.push(...f);ks(zs(c))}}function ks(e,t){const n=K(e)?e:[...e];for(const s of n)s.computed&&yo(s);for(const s of n)s.computed||yo(s)}function yo(e,t){(e!==Ue||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Gr=Bs("__proto__,__v_isRef,__isVue"),wi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Hs)),Yr=js(),Qr=js(!1,!0),Jr=js(!0),xo=Xr();function Xr(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=ce(this);for(let i=0,r=this.length;i<r;i++)Be(s,"get",i+"");const o=s[t](...n);return o===-1||o===!1?s[t](...n.map(ce)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Yt();const s=ce(this)[t].apply(this,n);return Qt(),s}}),e}function js(e=!1,t=!1){return function(s,o,i){if(o==="__v_isReactive")return!e;if(o==="__v_isReadonly")return e;if(o==="__v_isShallow")return t;if(o==="__v_raw"&&i===(e?t?_l:Si:t?Ci:Pi).get(s))return s;const r=K(s);if(!e&&r&&oe(xo,o))return Reflect.get(xo,o,i);const l=Reflect.get(s,o,i);return(Hs(o)?wi.has(o):Gr(o))||(e||Be(s,"get",o),t)?l:Pe(l)?r&&Rs(o)?l:l.value:me(l)?e?qs(l):Gn(l):l}}const Zr=ki(),el=ki(!0);function ki(e=!1){return function(n,s,o,i){let r=n[s];if(zt(r)&&Pe(r)&&!Pe(o))return!1;if(!e&&(!Mn(o)&&!zt(o)&&(r=ce(r),o=ce(o)),!K(n)&&Pe(r)&&!Pe(o)))return r.value=o,!0;const l=K(n)&&Rs(s)?Number(s)<n.length:oe(n,s),c=Reflect.set(n,s,o,i);return n===ce(i)&&(l?cn(o,r)&&ot(n,"set",s,o):ot(n,"add",s,o)),c}}function tl(e,t){const n=oe(e,t);e[t];const s=Reflect.deleteProperty(e,t);return s&&n&&ot(e,"delete",t,void 0),s}function nl(e,t){const n=Reflect.has(e,t);return(!Hs(t)||!wi.has(t))&&Be(e,"has",t),n}function sl(e){return Be(e,"iterate",K(e)?"length":St),Reflect.ownKeys(e)}const $i={get:Yr,set:Zr,deleteProperty:tl,has:nl,ownKeys:sl},ol={get:Jr,set(e,t){return!0},deleteProperty(e,t){return!0}},il=ke({},$i,{get:Qr,set:el}),Ks=e=>e,qn=e=>Reflect.getPrototypeOf(e);function yn(e,t,n=!1,s=!1){e=e.__v_raw;const o=ce(e),i=ce(t);n||(t!==i&&Be(o,"get",t),Be(o,"get",i));const{has:r}=qn(o),l=s?Ks:n?Ys:an;if(r.call(o,t))return l(e.get(t));if(r.call(o,i))return l(e.get(i));e!==o&&e.get(t)}function xn(e,t=!1){const n=this.__v_raw,s=ce(n),o=ce(e);return t||(e!==o&&Be(s,"has",e),Be(s,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function wn(e,t=!1){return e=e.__v_raw,!t&&Be(ce(e),"iterate",St),Reflect.get(e,"size",e)}function wo(e){e=ce(e);const t=ce(this);return qn(t).has.call(t,e)||(t.add(e),ot(t,"add",e,e)),this}function ko(e,t){t=ce(t);const n=ce(this),{has:s,get:o}=qn(n);let i=s.call(n,e);i||(e=ce(e),i=s.call(n,e));const r=o.call(n,e);return n.set(e,t),i?cn(t,r)&&ot(n,"set",e,t):ot(n,"add",e,t),this}function $o(e){const t=ce(this),{has:n,get:s}=qn(t);let o=n.call(t,e);o||(e=ce(e),o=n.call(t,e)),s&&s.call(t,e);const i=t.delete(e);return o&&ot(t,"delete",e,void 0),i}function Po(){const e=ce(this),t=e.size!==0,n=e.clear();return t&&ot(e,"clear",void 0,void 0),n}function kn(e,t){return function(s,o){const i=this,r=i.__v_raw,l=ce(r),c=t?Ks:e?Ys:an;return!e&&Be(l,"iterate",St),r.forEach((f,h)=>s.call(o,c(f),c(h),i))}}function $n(e,t,n){return function(...s){const o=this.__v_raw,i=ce(o),r=Nt(i),l=e==="entries"||e===Symbol.iterator&&r,c=e==="keys"&&r,f=o[e](...s),h=n?Ks:t?Ys:an;return!t&&Be(i,"iterate",c?ws:St),{next(){const{value:v,done:g}=f.next();return g?{value:v,done:g}:{value:l?[h(v[0]),h(v[1])]:h(v),done:g}},[Symbol.iterator](){return this}}}}function rt(e){return function(...t){return e==="delete"?!1:this}}function rl(){const e={get(i){return yn(this,i)},get size(){return wn(this)},has:xn,add:wo,set:ko,delete:$o,clear:Po,forEach:kn(!1,!1)},t={get(i){return yn(this,i,!1,!0)},get size(){return wn(this)},has:xn,add:wo,set:ko,delete:$o,clear:Po,forEach:kn(!1,!0)},n={get(i){return yn(this,i,!0)},get size(){return wn(this,!0)},has(i){return xn.call(this,i,!0)},add:rt("add"),set:rt("set"),delete:rt("delete"),clear:rt("clear"),forEach:kn(!0,!1)},s={get(i){return yn(this,i,!0,!0)},get size(){return wn(this,!0)},has(i){return xn.call(this,i,!0)},add:rt("add"),set:rt("set"),delete:rt("delete"),clear:rt("clear"),forEach:kn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=$n(i,!1,!1),n[i]=$n(i,!0,!1),t[i]=$n(i,!1,!0),s[i]=$n(i,!0,!0)}),[e,n,t,s]}const[ll,cl,al,ul]=rl();function Ws(e,t){const n=t?e?ul:al:e?cl:ll;return(s,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?s:Reflect.get(oe(n,o)&&o in s?n:s,o,i)}const fl={get:Ws(!1,!1)},dl={get:Ws(!1,!0)},hl={get:Ws(!0,!1)},Pi=new WeakMap,Ci=new WeakMap,Si=new WeakMap,_l=new WeakMap;function pl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function vl(e){return e.__v_skip||!Object.isExtensible(e)?0:pl(Fr(e))}function Gn(e){return zt(e)?e:Gs(e,!1,$i,fl,Pi)}function ml(e){return Gs(e,!1,il,dl,Ci)}function qs(e){return Gs(e,!0,ol,hl,Si)}function Gs(e,t,n,s,o){if(!me(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=o.get(e);if(i)return i;const r=vl(e);if(r===0)return e;const l=new Proxy(e,r===2?s:n);return o.set(e,l),l}function Bt(e){return zt(e)?Bt(e.__v_raw):!!(e&&e.__v_isReactive)}function zt(e){return!!(e&&e.__v_isReadonly)}function Mn(e){return!!(e&&e.__v_isShallow)}function Vi(e){return Bt(e)||zt(e)}function ce(e){const t=e&&e.__v_raw;return t?ce(t):e}function nn(e){return Ln(e,"__v_skip",!0),e}const an=e=>me(e)?Gn(e):e,Ys=e=>me(e)?qs(e):e;function Ti(e){ft&&Ue&&(e=ce(e),xi(e.dep||(e.dep=zs())))}function Ei(e,t){e=ce(e),e.dep&&ks(e.dep)}function Pe(e){return!!(e&&e.__v_isRef===!0)}function ue(e){return Li(e,!1)}function gl(e){return Li(e,!0)}function Li(e,t){return Pe(e)?e:new bl(e,t)}class bl{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ce(t),this._value=n?t:an(t)}get value(){return Ti(this),this._value}set value(t){const n=this.__v_isShallow||Mn(t)||zt(t);t=n?t:ce(t),cn(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:an(t),Ei(this))}}function _(e){return Pe(e)?e.value:e}const yl={get:(e,t,n)=>_(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const o=e[t];return Pe(o)&&!Pe(n)?(o.value=n,!0):Reflect.set(e,t,n,s)}};function Mi(e){return Bt(e)?e:new Proxy(e,yl)}var Ii;class xl{constructor(t,n,s,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[Ii]=!1,this._dirty=!0,this.effect=new Us(t,()=>{this._dirty||(this._dirty=!0,Ei(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=s}get value(){const t=ce(this);return Ti(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}Ii="__v_isReadonly";function wl(e,t,n=!1){let s,o;const i=X(e);return i?(s=e,o=Ke):(s=e.get,o=e.set),new xl(s,o,i||!o,n)}function dt(e,t,n,s){let o;try{o=s?e(...s):e()}catch(i){pn(i,t,n)}return o}function He(e,t,n,s){if(X(e)){const i=dt(e,t,n,s);return i&&pi(i)&&i.catch(r=>{pn(r,t,n)}),i}const o=[];for(let i=0;i<e.length;i++)o.push(He(e[i],t,n,s));return o}function pn(e,t,n,s=!0){const o=t?t.vnode:null;if(t){let i=t.parent;const r=t.proxy,l=n;for(;i;){const f=i.ec;if(f){for(let h=0;h<f.length;h++)if(f[h](e,r,l)===!1)return}i=i.parent}const c=t.appContext.config.errorHandler;if(c){dt(c,null,10,[e,r,l]);return}}kl(e,n,o,s)}function kl(e,t,n,s=!0){console.error(e)}let un=!1,$s=!1;const $e=[];let Xe=0;const Ot=[];let st=null,kt=0;const Ai=Promise.resolve();let Qs=null;function Js(e){const t=Qs||Ai;return e?t.then(this?e.bind(this):e):t}function $l(e){let t=Xe+1,n=$e.length;for(;t<n;){const s=t+n>>>1;fn($e[s])<e?t=s+1:n=s}return t}function Yn(e){(!$e.length||!$e.includes(e,un&&e.allowRecurse?Xe+1:Xe))&&(e.id==null?$e.push(e):$e.splice($l(e.id),0,e),Ni())}function Ni(){!un&&!$s&&($s=!0,Qs=Ai.then(Bi))}function Pl(e){const t=$e.indexOf(e);t>Xe&&$e.splice(t,1)}function Cl(e){K(e)?Ot.push(...e):(!st||!st.includes(e,e.allowRecurse?kt+1:kt))&&Ot.push(e),Ni()}function Co(e,t=un?Xe+1:0){for(;t<$e.length;t++){const n=$e[t];n&&n.pre&&($e.splice(t,1),t--,n())}}function In(e){if(Ot.length){const t=[...new Set(Ot)];if(Ot.length=0,st){st.push(...t);return}for(st=t,st.sort((n,s)=>fn(n)-fn(s)),kt=0;kt<st.length;kt++)st[kt]();st=null,kt=0}}const fn=e=>e.id==null?1/0:e.id,Sl=(e,t)=>{const n=fn(e)-fn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Bi(e){$s=!1,un=!0,$e.sort(Sl);const t=Ke;try{for(Xe=0;Xe<$e.length;Xe++){const n=$e[Xe];n&&n.active!==!1&&dt(n,null,14)}}finally{Xe=0,$e.length=0,In(),un=!1,Qs=null,($e.length||Ot.length)&&Bi()}}function Vl(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ge;let o=n;const i=t.startsWith("update:"),r=i&&t.slice(7);if(r&&r in s){const h=`${r==="modelValue"?"model":r}Modifiers`,{number:v,trim:g}=s[h]||ge;g&&(o=n.map(k=>xe(k)?k.trim():k)),v&&(o=n.map(Ds))}let l,c=s[l=cs(t)]||s[l=cs(et(t))];!c&&i&&(c=s[l=cs(Gt(t))]),c&&He(c,e,6,o);const f=s[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,He(f,e,6,o)}}function Oi(e,t,n=!1){const s=t.emitsCache,o=s.get(e);if(o!==void 0)return o;const i=e.emits;let r={},l=!1;if(!X(e)){const c=f=>{const h=Oi(f,t,!0);h&&(l=!0,ke(r,h))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(me(e)&&s.set(e,null),null):(K(i)?i.forEach(c=>r[c]=null):ke(r,i),me(e)&&s.set(e,r),r)}function Qn(e,t){return!e||!_n(t)?!1:(t=t.slice(2).replace(/Once$/,""),oe(e,t[0].toLowerCase()+t.slice(1))||oe(e,Gt(t))||oe(e,t))}let Ce=null,Jn=null;function An(e){const t=Ce;return Ce=e,Jn=e&&e.type.__scopeId||null,t}function qe(e){Jn=e}function Ge(){Jn=null}function B(e,t=Ce,n){if(!t||e._n)return e;const s=(...o)=>{s._d&&Bo(-1);const i=An(t);let r;try{r=e(...o)}finally{An(i),s._d&&Bo(1)}return r};return s._n=!0,s._c=!0,s._d=!0,s}function us(e){const{type:t,vnode:n,proxy:s,withProxy:o,props:i,propsOptions:[r],slots:l,attrs:c,emit:f,render:h,renderCache:v,data:g,setupState:k,ctx:M,inheritAttrs:N}=e;let G,y;const P=An(e);try{if(n.shapeFlag&4){const q=o||s;G=ze(h.call(q,q,v,i,k,g,M)),y=c}else{const q=t;G=ze(q.length>1?q(i,{attrs:c,slots:l,emit:f}):q(i,null)),y=t.props?c:Tl(c)}}catch(q){on.length=0,pn(q,e,1),G=V(Ne)}let A=G;if(y&&N!==!1){const q=Object.keys(y),{shapeFlag:ee}=A;q.length&&ee&7&&(r&&q.some(Os)&&(y=El(y,r)),A=_t(A,y))}return n.dirs&&(A=_t(A),A.dirs=A.dirs?A.dirs.concat(n.dirs):n.dirs),n.transition&&(A.transition=n.transition),G=A,An(P),G}const Tl=e=>{let t;for(const n in e)(n==="class"||n==="style"||_n(n))&&((t||(t={}))[n]=e[n]);return t},El=(e,t)=>{const n={};for(const s in e)(!Os(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Ll(e,t,n){const{props:s,children:o,component:i}=e,{props:r,children:l,patchFlag:c}=t,f=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?So(s,r,f):!!r;if(c&8){const h=t.dynamicProps;for(let v=0;v<h.length;v++){const g=h[v];if(r[g]!==s[g]&&!Qn(f,g))return!0}}}else return(o||l)&&(!l||!l.$stable)?!0:s===r?!1:s?r?So(s,r,f):!0:!!r;return!1}function So(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let o=0;o<s.length;o++){const i=s[o];if(t[i]!==e[i]&&!Qn(n,i))return!0}return!1}function Ml({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const Il=e=>e.__isSuspense;function Fi(e,t){t&&t.pendingBranch?K(e)?t.effects.push(...e):t.effects.push(e):Cl(e)}function Xn(e,t){if(we){let n=we.provides;const s=we.parent&&we.parent.provides;s===n&&(n=we.provides=Object.create(s)),n[e]=t}}function We(e,t,n=!1){const s=we||Ce;if(s){const o=s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&X(t)?t.call(s.proxy):t}}function Ut(e,t){return Zn(e,null,t)}function Hi(e,t){return Zn(e,null,{flush:"post"})}const Pn={};function Ze(e,t,n){return Zn(e,t,n)}function Zn(e,t,{immediate:n,deep:s,flush:o,onTrack:i,onTrigger:r}=ge){const l=we;let c,f=!1,h=!1;if(Pe(e)?(c=()=>e.value,f=Mn(e)):Bt(e)?(c=()=>e,s=!0):K(e)?(h=!0,f=e.some(A=>Bt(A)||Mn(A)),c=()=>e.map(A=>{if(Pe(A))return A.value;if(Bt(A))return It(A);if(X(A))return dt(A,l,2)})):X(e)?t?c=()=>dt(e,l,2):c=()=>{if(!(l&&l.isUnmounted))return v&&v(),He(e,l,3,[g])}:c=Ke,t&&s){const A=c;c=()=>It(A())}let v,g=A=>{v=y.onStop=()=>{dt(A,l,4)}},k;if(Wt)if(g=Ke,t?n&&He(t,l,3,[c(),h?[]:void 0,g]):c(),o==="sync"){const A=Pc();k=A.__watcherHandles||(A.__watcherHandles=[])}else return Ke;let M=h?new Array(e.length).fill(Pn):Pn;const N=()=>{if(!!y.active)if(t){const A=y.run();(s||f||(h?A.some((q,ee)=>cn(q,M[ee])):cn(A,M)))&&(v&&v(),He(t,l,3,[A,M===Pn?void 0:h&&M[0]===Pn?[]:M,g]),M=A)}else y.run()};N.allowRecurse=!!t;let G;o==="sync"?G=N:o==="post"?G=()=>Ee(N,l&&l.suspense):(N.pre=!0,l&&(N.id=l.uid),G=()=>Yn(N));const y=new Us(c,G);t?n?N():M=y.run():o==="post"?Ee(y.run.bind(y),l&&l.suspense):y.run();const P=()=>{y.stop(),l&&l.scope&&Fs(l.scope.effects,y)};return k&&k.push(P),P}function Al(e,t,n){const s=this.proxy,o=xe(e)?e.includes(".")?Ri(s,e):()=>s[e]:e.bind(s,s);let i;X(t)?i=t:(i=t.handler,n=t);const r=we;Kt(this);const l=Zn(o,i.bind(s),n);return r?Kt(r):Vt(),l}function Ri(e,t){const n=t.split(".");return()=>{let s=e;for(let o=0;o<n.length&&s;o++)s=s[n[o]];return s}}function It(e,t){if(!me(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),Pe(e))It(e.value,t);else if(K(e))for(let n=0;n<e.length;n++)It(e[n],t);else if(_i(e)||Nt(e))e.forEach(n=>{It(n,t)});else if(mi(e))for(const n in e)It(e[n],t);return e}function Nl(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Re(()=>{e.isMounted=!0}),Ki(()=>{e.isUnmounting=!0}),e}const Oe=[Function,Array],Bl={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Oe,onEnter:Oe,onAfterEnter:Oe,onEnterCancelled:Oe,onBeforeLeave:Oe,onLeave:Oe,onAfterLeave:Oe,onLeaveCancelled:Oe,onBeforeAppear:Oe,onAppear:Oe,onAfterAppear:Oe,onAppearCancelled:Oe},setup(e,{slots:t}){const n=oo(),s=Nl();let o;return()=>{const i=t.default&&Ui(t.default(),!0);if(!i||!i.length)return;let r=i[0];if(i.length>1){for(const N of i)if(N.type!==Ne){r=N;break}}const l=ce(e),{mode:c}=l;if(s.isLeaving)return fs(r);const f=Vo(r);if(!f)return fs(r);const h=Ps(f,l,s,n);Cs(f,h);const v=n.subTree,g=v&&Vo(v);let k=!1;const{getTransitionKey:M}=f.type;if(M){const N=M();o===void 0?o=N:N!==o&&(o=N,k=!0)}if(g&&g.type!==Ne&&(!$t(f,g)||k)){const N=Ps(g,l,s,n);if(Cs(g,N),c==="out-in")return s.isLeaving=!0,N.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&n.update()},fs(r);c==="in-out"&&f.type!==Ne&&(N.delayLeave=(G,y,P)=>{const A=zi(s,g);A[String(g.key)]=g,G._leaveCb=()=>{y(),G._leaveCb=void 0,delete h.delayedLeave},h.delayedLeave=P})}return r}}},Di=Bl;function zi(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Ps(e,t,n,s){const{appear:o,mode:i,persisted:r=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:f,onEnterCancelled:h,onBeforeLeave:v,onLeave:g,onAfterLeave:k,onLeaveCancelled:M,onBeforeAppear:N,onAppear:G,onAfterAppear:y,onAppearCancelled:P}=t,A=String(e.key),q=zi(n,e),ee=(I,Z)=>{I&&He(I,s,9,Z)},_e=(I,Z)=>{const J=Z[1];ee(I,Z),K(I)?I.every(re=>re.length<=1)&&J():I.length<=1&&J()},se={mode:i,persisted:r,beforeEnter(I){let Z=l;if(!n.isMounted)if(o)Z=N||l;else return;I._leaveCb&&I._leaveCb(!0);const J=q[A];J&&$t(e,J)&&J.el._leaveCb&&J.el._leaveCb(),ee(Z,[I])},enter(I){let Z=c,J=f,re=h;if(!n.isMounted)if(o)Z=G||c,J=y||f,re=P||h;else return;let F=!1;const te=I._enterCb=D=>{F||(F=!0,D?ee(re,[I]):ee(J,[I]),se.delayedLeave&&se.delayedLeave(),I._enterCb=void 0)};Z?_e(Z,[I,te]):te()},leave(I,Z){const J=String(e.key);if(I._enterCb&&I._enterCb(!0),n.isUnmounting)return Z();ee(v,[I]);let re=!1;const F=I._leaveCb=te=>{re||(re=!0,Z(),te?ee(M,[I]):ee(k,[I]),I._leaveCb=void 0,q[J]===e&&delete q[J])};q[J]=e,g?_e(g,[I,F]):F()},clone(I){return Ps(I,t,n,s)}};return se}function fs(e){if(vn(e))return e=_t(e),e.children=null,e}function Vo(e){return vn(e)?e.children?e.children[0]:void 0:e}function Cs(e,t){e.shapeFlag&6&&e.component?Cs(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 Ui(e,t=!1,n){let s=[],o=0;for(let i=0;i<e.length;i++){let r=e[i];const l=n==null?r.key:String(n)+String(r.key!=null?r.key:i);r.type===Y?(r.patchFlag&128&&o++,s=s.concat(Ui(r.children,t,l))):(t||r.type!==Ne)&&s.push(l!=null?_t(r,{key:l}):r)}if(o>1)for(let i=0;i<s.length;i++)s[i].patchFlag=-2;return s}function R(e){return X(e)?{setup:e,name:e.name}:e}const Ft=e=>!!e.type.__asyncLoader;function Ol(e){X(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:o=200,timeout:i,suspensible:r=!0,onError:l}=e;let c=null,f,h=0;const v=()=>(h++,c=null,g()),g=()=>{let k;return c||(k=c=t().catch(M=>{if(M=M instanceof Error?M:new Error(String(M)),l)return new Promise((N,G)=>{l(M,()=>N(v()),()=>G(M),h+1)});throw M}).then(M=>k!==c&&c?c:(M&&(M.__esModule||M[Symbol.toStringTag]==="Module")&&(M=M.default),f=M,M)))};return R({name:"AsyncComponentWrapper",__asyncLoader:g,get __asyncResolved(){return f},setup(){const k=we;if(f)return()=>ds(f,k);const M=P=>{c=null,pn(P,k,13,!s)};if(r&&k.suspense||Wt)return g().then(P=>()=>ds(P,k)).catch(P=>(M(P),()=>s?V(s,{error:P}):null));const N=ue(!1),G=ue(),y=ue(!!o);return o&&setTimeout(()=>{y.value=!1},o),i!=null&&setTimeout(()=>{if(!N.value&&!G.value){const P=new Error(`Async component timed out after ${i}ms.`);M(P),G.value=P}},i),g().then(()=>{N.value=!0,k.parent&&vn(k.parent.vnode)&&Yn(k.parent.update)}).catch(P=>{M(P),G.value=P}),()=>{if(N.value&&f)return ds(f,k);if(G.value&&s)return V(s,{error:G.value});if(n&&!y.value)return V(n)}}})}function ds(e,t){const{ref:n,props:s,children:o,ce:i}=t.vnode,r=V(e,s,o);return r.ref=n,r.ce=i,delete t.vnode.ce,r}const vn=e=>e.type.__isKeepAlive;function Fl(e,t){ji(e,"a",t)}function Hl(e,t){ji(e,"da",t)}function ji(e,t,n=we){const s=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(es(t,s,n),n){let o=n.parent;for(;o&&o.parent;)vn(o.parent.vnode)&&Rl(s,t,n,o),o=o.parent}}function Rl(e,t,n,s){const o=es(t,e,s,!0);pt(()=>{Fs(s[t],o)},n)}function es(e,t,n=we,s=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...r)=>{if(n.isUnmounted)return;Yt(),Kt(n);const l=He(t,n,e,r);return Vt(),Qt(),l});return s?o.unshift(i):o.push(i),i}}const it=e=>(t,n=we)=>(!Wt||e==="sp")&&es(e,(...s)=>t(...s),n),Dl=it("bm"),Re=it("m"),zl=it("bu"),Xs=it("u"),Ki=it("bum"),pt=it("um"),Ul=it("sp"),jl=it("rtg"),Kl=it("rtc");function Wl(e,t=we){es("ec",e,t)}function Je(e,t,n,s){const o=e.dirs,i=t&&t.dirs;for(let r=0;r<o.length;r++){const l=o[r];i&&(l.oldValue=i[r].value);let c=l.dir[s];c&&(Yt(),He(c,n,8,[e.el,l,e,t]),Qt())}}const Zs="components";function Tt(e,t){return qi(Zs,e,!0,t)||e}const Wi=Symbol();function eo(e){return xe(e)?qi(Zs,e,!1)||e:e||Wi}function qi(e,t,n=!0,s=!1){const o=Ce||we;if(o){const i=o.type;if(e===Zs){const l=wc(i,!1);if(l&&(l===t||l===et(t)||l===Wn(et(t))))return i}const r=To(o[e]||i[e],t)||To(o.appContext[e],t);return!r&&s?i:r}}function To(e,t){return e&&(e[t]||e[et(t)]||e[Wn(et(t))])}function Se(e,t,n,s){let o;const i=n&&n[s];if(K(e)||xe(e)){o=new Array(e.length);for(let r=0,l=e.length;r<l;r++)o[r]=t(e[r],r,void 0,i&&i[r])}else if(typeof e=="number"){o=new Array(e);for(let r=0;r<e;r++)o[r]=t(r+1,r,void 0,i&&i[r])}else if(me(e))if(e[Symbol.iterator])o=Array.from(e,(r,l)=>t(r,l,void 0,i&&i[l]));else{const r=Object.keys(e);o=new Array(r.length);for(let l=0,c=r.length;l<c;l++){const f=r[l];o[l]=t(e[f],f,l,i&&i[l])}}else o=[];return n&&(n[s]=o),o}function E(e,t,n={},s,o){if(Ce.isCE||Ce.parent&&Ft(Ce.parent)&&Ce.parent.isCE)return t!=="default"&&(n.name=t),V("slot",n,s&&s());let i=e[t];i&&i._c&&(i._d=!1),d();const r=i&&Gi(i(n)),l=Q(Y,{key:n.key||r&&r.key||`_${t}`},r||(s?s():[]),r&&e._===1?64:-2);return!o&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),i&&i._c&&(i._d=!0),l}function Gi(e){return e.some(t=>On(t)?!(t.type===Ne||t.type===Y&&!Gi(t.children)):!0)?e:null}const Ss=e=>e?ir(e)?io(e)||e.proxy:Ss(e.parent):null,sn=ke(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ss(e.parent),$root:e=>Ss(e.root),$emit:e=>e.emit,$options:e=>to(e),$forceUpdate:e=>e.f||(e.f=()=>Yn(e.update)),$nextTick:e=>e.n||(e.n=Js.bind(e.proxy)),$watch:e=>Al.bind(e)}),hs=(e,t)=>e!==ge&&!e.__isScriptSetup&&oe(e,t),ql={get({_:e},t){const{ctx:n,setupState:s,data:o,props:i,accessCache:r,type:l,appContext:c}=e;let f;if(t[0]!=="$"){const k=r[t];if(k!==void 0)switch(k){case 1:return s[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if(hs(s,t))return r[t]=1,s[t];if(o!==ge&&oe(o,t))return r[t]=2,o[t];if((f=e.propsOptions[0])&&oe(f,t))return r[t]=3,i[t];if(n!==ge&&oe(n,t))return r[t]=4,n[t];Vs&&(r[t]=0)}}const h=sn[t];let v,g;if(h)return t==="$attrs"&&Be(e,"get",t),h(e);if((v=l.__cssModules)&&(v=v[t]))return v;if(n!==ge&&oe(n,t))return r[t]=4,n[t];if(g=c.config.globalProperties,oe(g,t))return g[t]},set({_:e},t,n){const{data:s,setupState:o,ctx:i}=e;return hs(o,t)?(o[t]=n,!0):s!==ge&&oe(s,t)?(s[t]=n,!0):oe(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:o,propsOptions:i}},r){let l;return!!n[r]||e!==ge&&oe(e,r)||hs(t,r)||(l=i[0])&&oe(l,r)||oe(s,r)||oe(sn,r)||oe(o.config.globalProperties,r)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:oe(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let Vs=!0;function Gl(e){const t=to(e),n=e.proxy,s=e.ctx;Vs=!1,t.beforeCreate&&Eo(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:r,watch:l,provide:c,inject:f,created:h,beforeMount:v,mounted:g,beforeUpdate:k,updated:M,activated:N,deactivated:G,beforeDestroy:y,beforeUnmount:P,destroyed:A,unmounted:q,render:ee,renderTracked:_e,renderTriggered:se,errorCaptured:I,serverPrefetch:Z,expose:J,inheritAttrs:re,components:F,directives:te,filters:D}=t;if(f&&Yl(f,s,null,e.appContext.config.unwrapInjectedRef),r)for(const be in r){const pe=r[be];X(pe)&&(s[be]=pe.bind(n))}if(o){const be=o.call(n,n);me(be)&&(e.data=Gn(be))}if(Vs=!0,i)for(const be in i){const pe=i[be],mt=X(pe)?pe.bind(n,n):X(pe.get)?pe.get.bind(n,n):Ke,gn=!X(pe)&&X(pe.set)?pe.set.bind(n):Ke,gt=ie({get:mt,set:gn});Object.defineProperty(s,be,{enumerable:!0,configurable:!0,get:()=>gt.value,set:Ye=>gt.value=Ye})}if(l)for(const be in l)Yi(l[be],s,n,be);if(c){const be=X(c)?c.call(n):c;Reflect.ownKeys(be).forEach(pe=>{Xn(pe,be[pe])})}h&&Eo(h,e,"c");function fe(be,pe){K(pe)?pe.forEach(mt=>be(mt.bind(n))):pe&&be(pe.bind(n))}if(fe(Dl,v),fe(Re,g),fe(zl,k),fe(Xs,M),fe(Fl,N),fe(Hl,G),fe(Wl,I),fe(Kl,_e),fe(jl,se),fe(Ki,P),fe(pt,q),fe(Ul,Z),K(J))if(J.length){const be=e.exposed||(e.exposed={});J.forEach(pe=>{Object.defineProperty(be,pe,{get:()=>n[pe],set:mt=>n[pe]=mt})})}else e.exposed||(e.exposed={});ee&&e.render===Ke&&(e.render=ee),re!=null&&(e.inheritAttrs=re),F&&(e.components=F),te&&(e.directives=te)}function Yl(e,t,n=Ke,s=!1){K(e)&&(e=Ts(e));for(const o in e){const i=e[o];let r;me(i)?"default"in i?r=We(i.from||o,i.default,!0):r=We(i.from||o):r=We(i),Pe(r)&&s?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>r.value,set:l=>r.value=l}):t[o]=r}}function Eo(e,t,n){He(K(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Yi(e,t,n,s){const o=s.includes(".")?Ri(n,s):()=>n[s];if(xe(e)){const i=t[e];X(i)&&Ze(o,i)}else if(X(e))Ze(o,e.bind(n));else if(me(e))if(K(e))e.forEach(i=>Yi(i,t,n,s));else{const i=X(e.handler)?e.handler.bind(n):t[e.handler];X(i)&&Ze(o,i,e)}}function to(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:r}}=e.appContext,l=i.get(t);let c;return l?c=l:!o.length&&!n&&!s?c=t:(c={},o.length&&o.forEach(f=>Nn(c,f,r,!0)),Nn(c,t,r)),me(t)&&i.set(t,c),c}function Nn(e,t,n,s=!1){const{mixins:o,extends:i}=t;i&&Nn(e,i,n,!0),o&&o.forEach(r=>Nn(e,r,n,!0));for(const r in t)if(!(s&&r==="expose")){const l=Ql[r]||n&&n[r];e[r]=l?l(e[r],t[r]):t[r]}return e}const Ql={data:Lo,props:wt,emits:wt,methods:wt,computed:wt,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:wt,directives:wt,watch:Xl,provide:Lo,inject:Jl};function Lo(e,t){return t?e?function(){return ke(X(e)?e.call(this,this):e,X(t)?t.call(this,this):t)}:t:e}function Jl(e,t){return wt(Ts(e),Ts(t))}function Ts(e){if(K(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ve(e,t){return e?[...new Set([].concat(e,t))]:t}function wt(e,t){return e?ke(ke(Object.create(null),e),t):t}function Xl(e,t){if(!e)return t;if(!t)return e;const n=ke(Object.create(null),e);for(const s in t)n[s]=Ve(e[s],t[s]);return n}function Zl(e,t,n,s=!1){const o={},i={};Ln(i,ts,1),e.propsDefaults=Object.create(null),Qi(e,t,o,i);for(const r in e.propsOptions[0])r in o||(o[r]=void 0);n?e.props=s?o:ml(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function ec(e,t,n,s){const{props:o,attrs:i,vnode:{patchFlag:r}}=e,l=ce(o),[c]=e.propsOptions;let f=!1;if((s||r>0)&&!(r&16)){if(r&8){const h=e.vnode.dynamicProps;for(let v=0;v<h.length;v++){let g=h[v];if(Qn(e.emitsOptions,g))continue;const k=t[g];if(c)if(oe(i,g))k!==i[g]&&(i[g]=k,f=!0);else{const M=et(g);o[M]=Es(c,l,M,k,e,!1)}else k!==i[g]&&(i[g]=k,f=!0)}}}else{Qi(e,t,o,i)&&(f=!0);let h;for(const v in l)(!t||!oe(t,v)&&((h=Gt(v))===v||!oe(t,h)))&&(c?n&&(n[v]!==void 0||n[h]!==void 0)&&(o[v]=Es(c,l,v,void 0,e,!0)):delete o[v]);if(i!==l)for(const v in i)(!t||!oe(t,v)&&!0)&&(delete i[v],f=!0)}f&&ot(e,"set","$attrs")}function Qi(e,t,n,s){const[o,i]=e.propsOptions;let r=!1,l;if(t)for(let c in t){if(tn(c))continue;const f=t[c];let h;o&&oe(o,h=et(c))?!i||!i.includes(h)?n[h]=f:(l||(l={}))[h]=f:Qn(e.emitsOptions,c)||(!(c in s)||f!==s[c])&&(s[c]=f,r=!0)}if(i){const c=ce(n),f=l||ge;for(let h=0;h<i.length;h++){const v=i[h];n[v]=Es(o,c,v,f[v],e,!oe(f,v))}}return r}function Es(e,t,n,s,o,i){const r=e[n];if(r!=null){const l=oe(r,"default");if(l&&s===void 0){const c=r.default;if(r.type!==Function&&X(c)){const{propsDefaults:f}=o;n in f?s=f[n]:(Kt(o),s=f[n]=c.call(null,t),Vt())}else s=c}r[0]&&(i&&!l?s=!1:r[1]&&(s===""||s===Gt(n))&&(s=!0))}return s}function Ji(e,t,n=!1){const s=t.propsCache,o=s.get(e);if(o)return o;const i=e.props,r={},l=[];let c=!1;if(!X(e)){const h=v=>{c=!0;const[g,k]=Ji(v,t,!0);ke(r,g),k&&l.push(...k)};!n&&t.mixins.length&&t.mixins.forEach(h),e.extends&&h(e.extends),e.mixins&&e.mixins.forEach(h)}if(!i&&!c)return me(e)&&s.set(e,At),At;if(K(i))for(let h=0;h<i.length;h++){const v=et(i[h]);Mo(v)&&(r[v]=ge)}else if(i)for(const h in i){const v=et(h);if(Mo(v)){const g=i[h],k=r[v]=K(g)||X(g)?{type:g}:Object.assign({},g);if(k){const M=No(Boolean,k.type),N=No(String,k.type);k[0]=M>-1,k[1]=N<0||M<N,(M>-1||oe(k,"default"))&&l.push(v)}}}const f=[r,l];return me(e)&&s.set(e,f),f}function Mo(e){return e[0]!=="$"}function Io(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function Ao(e,t){return Io(e)===Io(t)}function No(e,t){return K(t)?t.findIndex(n=>Ao(n,e)):X(t)&&Ao(t,e)?0:-1}const Xi=e=>e[0]==="_"||e==="$stable",no=e=>K(e)?e.map(ze):[ze(e)],tc=(e,t,n)=>{if(t._n)return t;const s=B((...o)=>no(t(...o)),n);return s._c=!1,s},Zi=(e,t,n)=>{const s=e._ctx;for(const o in e){if(Xi(o))continue;const i=e[o];if(X(i))t[o]=tc(o,i,s);else if(i!=null){const r=no(i);t[o]=()=>r}}},er=(e,t)=>{const n=no(t);e.slots.default=()=>n},nc=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=ce(t),Ln(t,"_",n)):Zi(t,e.slots={})}else e.slots={},t&&er(e,t);Ln(e.slots,ts,1)},sc=(e,t,n)=>{const{vnode:s,slots:o}=e;let i=!0,r=ge;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:(ke(o,t),!n&&l===1&&delete o._):(i=!t.$stable,Zi(t,o)),r=t}else t&&(er(e,t),r={default:1});if(i)for(const l in o)!Xi(l)&&!(l in r)&&delete o[l]};function tr(){return{app:null,config:{isNativeTag:Nr,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 oc=0;function ic(e,t){return function(s,o=null){X(s)||(s=Object.assign({},s)),o!=null&&!me(o)&&(o=null);const i=tr(),r=new Set;let l=!1;const c=i.app={_uid:oc++,_component:s,_props:o,_container:null,_context:i,_instance:null,version:Cc,get config(){return i.config},set config(f){},use(f,...h){return r.has(f)||(f&&X(f.install)?(r.add(f),f.install(c,...h)):X(f)&&(r.add(f),f(c,...h))),c},mixin(f){return i.mixins.includes(f)||i.mixins.push(f),c},component(f,h){return h?(i.components[f]=h,c):i.components[f]},directive(f,h){return h?(i.directives[f]=h,c):i.directives[f]},mount(f,h,v){if(!l){const g=V(s,o);return g.appContext=i,h&&t?t(g,f):e(g,f,v),l=!0,c._container=f,f.__vue_app__=c,io(g.component)||g.component.proxy}},unmount(){l&&(e(null,c._container),delete c._container.__vue_app__)},provide(f,h){return i.provides[f]=h,c}};return c}}function Bn(e,t,n,s,o=!1){if(K(e)){e.forEach((g,k)=>Bn(g,t&&(K(t)?t[k]:t),n,s,o));return}if(Ft(s)&&!o)return;const i=s.shapeFlag&4?io(s.component)||s.component.proxy:s.el,r=o?null:i,{i:l,r:c}=e,f=t&&t.r,h=l.refs===ge?l.refs={}:l.refs,v=l.setupState;if(f!=null&&f!==c&&(xe(f)?(h[f]=null,oe(v,f)&&(v[f]=null)):Pe(f)&&(f.value=null)),X(c))dt(c,l,12,[r,h]);else{const g=xe(c),k=Pe(c);if(g||k){const M=()=>{if(e.f){const N=g?oe(v,c)?v[c]:h[c]:c.value;o?K(N)&&Fs(N,i):K(N)?N.includes(i)||N.push(i):g?(h[c]=[i],oe(v,c)&&(v[c]=h[c])):(c.value=[i],e.k&&(h[e.k]=c.value))}else g?(h[c]=r,oe(v,c)&&(v[c]=r)):k&&(c.value=r,e.k&&(h[e.k]=r))};r?(M.id=-1,Ee(M,n)):M()}}}let lt=!1;const Cn=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",Sn=e=>e.nodeType===8;function rc(e){const{mt:t,p:n,o:{patchProp:s,createText:o,nextSibling:i,parentNode:r,remove:l,insert:c,createComment:f}}=e,h=(y,P)=>{if(!P.hasChildNodes()){n(null,y,P),In(),P._vnode=y;return}lt=!1,v(P.firstChild,y,null,null,null),In(),P._vnode=y,lt&&console.error("Hydration completed but contains mismatches.")},v=(y,P,A,q,ee,_e=!1)=>{const se=Sn(y)&&y.data==="[",I=()=>N(y,P,A,q,ee,se),{type:Z,ref:J,shapeFlag:re,patchFlag:F}=P;let te=y.nodeType;P.el=y,F===-2&&(_e=!1,P.dynamicChildren=null);let D=null;switch(Z){case jt:te!==3?P.children===""?(c(P.el=o(""),r(y),y),D=y):D=I():(y.data!==P.children&&(lt=!0,y.data=P.children),D=i(y));break;case Ne:te!==8||se?D=I():D=i(y);break;case Ht:if(se&&(y=i(y),te=y.nodeType),te===1||te===3){D=y;const Me=!P.children.length;for(let fe=0;fe<P.staticCount;fe++)Me&&(P.children+=D.nodeType===1?D.outerHTML:D.data),fe===P.staticCount-1&&(P.anchor=D),D=i(D);return se?i(D):D}else I();break;case Y:se?D=M(y,P,A,q,ee,_e):D=I();break;default:if(re&1)te!==1||P.type.toLowerCase()!==y.tagName.toLowerCase()?D=I():D=g(y,P,A,q,ee,_e);else if(re&6){P.slotScopeIds=ee;const Me=r(y);if(t(P,Me,null,A,q,Cn(Me),_e),D=se?G(y):i(y),D&&Sn(D)&&D.data==="teleport end"&&(D=i(D)),Ft(P)){let fe;se?(fe=V(Y),fe.anchor=D?D.previousSibling:Me.lastChild):fe=y.nodeType===3?Te(""):V("div"),fe.el=y,P.component.subTree=fe}}else re&64?te!==8?D=I():D=P.type.hydrate(y,P,A,q,ee,_e,e,k):re&128&&(D=P.type.hydrate(y,P,A,q,Cn(r(y)),ee,_e,e,v))}return J!=null&&Bn(J,null,q,P),D},g=(y,P,A,q,ee,_e)=>{_e=_e||!!P.dynamicChildren;const{type:se,props:I,patchFlag:Z,shapeFlag:J,dirs:re}=P,F=se==="input"&&re||se==="option";if(F||Z!==-1){if(re&&Je(P,null,A,"created"),I)if(F||!_e||Z&48)for(const D in I)(F&&D.endsWith("value")||_n(D)&&!tn(D))&&s(y,D,null,I[D],!1,void 0,A);else I.onClick&&s(y,"onClick",null,I.onClick,!1,void 0,A);let te;if((te=I&&I.onVnodeBeforeMount)&&Fe(te,A,P),re&&Je(P,null,A,"beforeMount"),((te=I&&I.onVnodeMounted)||re)&&Fi(()=>{te&&Fe(te,A,P),re&&Je(P,null,A,"mounted")},q),J&16&&!(I&&(I.innerHTML||I.textContent))){let D=k(y.firstChild,P,y,A,q,ee,_e);for(;D;){lt=!0;const Me=D;D=D.nextSibling,l(Me)}}else J&8&&y.textContent!==P.children&&(lt=!0,y.textContent=P.children)}return y.nextSibling},k=(y,P,A,q,ee,_e,se)=>{se=se||!!P.dynamicChildren;const I=P.children,Z=I.length;for(let J=0;J<Z;J++){const re=se?I[J]:I[J]=ze(I[J]);if(y)y=v(y,re,q,ee,_e,se);else{if(re.type===jt&&!re.children)continue;lt=!0,n(null,re,A,null,q,ee,Cn(A),_e)}}return y},M=(y,P,A,q,ee,_e)=>{const{slotScopeIds:se}=P;se&&(ee=ee?ee.concat(se):se);const I=r(y),Z=k(i(y),P,I,A,q,ee,_e);return Z&&Sn(Z)&&Z.data==="]"?i(P.anchor=Z):(lt=!0,c(P.anchor=f("]"),I,Z),Z)},N=(y,P,A,q,ee,_e)=>{if(lt=!0,P.el=null,_e){const Z=G(y);for(;;){const J=i(y);if(J&&J!==Z)l(J);else break}}const se=i(y),I=r(y);return l(y),n(null,P,I,se,A,q,Cn(I),ee),se},G=y=>{let P=0;for(;y;)if(y=i(y),y&&Sn(y)&&(y.data==="["&&P++,y.data==="]")){if(P===0)return i(y);P--}return y};return[h,v]}const Ee=Fi;function lc(e){return cc(e,rc)}function cc(e,t){const n=Dr();n.__VUE__=!0;const{insert:s,remove:o,patchProp:i,createElement:r,createText:l,createComment:c,setText:f,setElementText:h,parentNode:v,nextSibling:g,setScopeId:k=Ke,insertStaticContent:M}=e,N=(a,u,p,w=null,x=null,S=null,L=!1,C=null,T=!!u.dynamicChildren)=>{if(a===u)return;a&&!$t(a,u)&&(w=bn(a),Ye(a,x,S,!0),a=null),u.patchFlag===-2&&(T=!1,u.dynamicChildren=null);const{type:$,ref:z,shapeFlag:H}=u;switch($){case jt:G(a,u,p,w);break;case Ne:y(a,u,p,w);break;case Ht:a==null&&P(u,p,w,L);break;case Y:F(a,u,p,w,x,S,L,C,T);break;default:H&1?ee(a,u,p,w,x,S,L,C,T):H&6?te(a,u,p,w,x,S,L,C,T):(H&64||H&128)&&$.process(a,u,p,w,x,S,L,C,T,Lt)}z!=null&&x&&Bn(z,a&&a.ref,S,u||a,!u)},G=(a,u,p,w)=>{if(a==null)s(u.el=l(u.children),p,w);else{const x=u.el=a.el;u.children!==a.children&&f(x,u.children)}},y=(a,u,p,w)=>{a==null?s(u.el=c(u.children||""),p,w):u.el=a.el},P=(a,u,p,w)=>{[a.el,a.anchor]=M(a.children,u,p,w,a.el,a.anchor)},A=({el:a,anchor:u},p,w)=>{let x;for(;a&&a!==u;)x=g(a),s(a,p,w),a=x;s(u,p,w)},q=({el:a,anchor:u})=>{let p;for(;a&&a!==u;)p=g(a),o(a),a=p;o(u)},ee=(a,u,p,w,x,S,L,C,T)=>{L=L||u.type==="svg",a==null?_e(u,p,w,x,S,L,C,T):Z(a,u,x,S,L,C,T)},_e=(a,u,p,w,x,S,L,C)=>{let T,$;const{type:z,props:H,shapeFlag:U,transition:W,dirs:ne}=a;if(T=a.el=r(a.type,S,H&&H.is,H),U&8?h(T,a.children):U&16&&I(a.children,T,null,w,x,S&&z!=="foreignObject",L,C),ne&&Je(a,null,w,"created"),H){for(const de in H)de!=="value"&&!tn(de)&&i(T,de,null,H[de],S,a.children,w,x,nt);"value"in H&&i(T,"value",null,H.value),($=H.onVnodeBeforeMount)&&Fe($,w,a)}se(T,a,a.scopeId,L,w),ne&&Je(a,null,w,"beforeMount");const ve=(!x||x&&!x.pendingBranch)&&W&&!W.persisted;ve&&W.beforeEnter(T),s(T,u,p),(($=H&&H.onVnodeMounted)||ve||ne)&&Ee(()=>{$&&Fe($,w,a),ve&&W.enter(T),ne&&Je(a,null,w,"mounted")},x)},se=(a,u,p,w,x)=>{if(p&&k(a,p),w)for(let S=0;S<w.length;S++)k(a,w[S]);if(x){let S=x.subTree;if(u===S){const L=x.vnode;se(a,L,L.scopeId,L.slotScopeIds,x.parent)}}},I=(a,u,p,w,x,S,L,C,T=0)=>{for(let $=T;$<a.length;$++){const z=a[$]=C?ut(a[$]):ze(a[$]);N(null,z,u,p,w,x,S,L,C)}},Z=(a,u,p,w,x,S,L)=>{const C=u.el=a.el;let{patchFlag:T,dynamicChildren:$,dirs:z}=u;T|=a.patchFlag&16;const H=a.props||ge,U=u.props||ge;let W;p&&bt(p,!1),(W=U.onVnodeBeforeUpdate)&&Fe(W,p,u,a),z&&Je(u,a,p,"beforeUpdate"),p&&bt(p,!0);const ne=x&&u.type!=="foreignObject";if($?J(a.dynamicChildren,$,C,p,w,ne,S):L||pe(a,u,C,null,p,w,ne,S,!1),T>0){if(T&16)re(C,u,H,U,p,w,x);else if(T&2&&H.class!==U.class&&i(C,"class",null,U.class,x),T&4&&i(C,"style",H.style,U.style,x),T&8){const ve=u.dynamicProps;for(let de=0;de<ve.length;de++){const ye=ve[de],De=H[ye],Mt=U[ye];(Mt!==De||ye==="value")&&i(C,ye,De,Mt,x,a.children,p,w,nt)}}T&1&&a.children!==u.children&&h(C,u.children)}else!L&&$==null&&re(C,u,H,U,p,w,x);((W=U.onVnodeUpdated)||z)&&Ee(()=>{W&&Fe(W,p,u,a),z&&Je(u,a,p,"updated")},w)},J=(a,u,p,w,x,S,L)=>{for(let C=0;C<u.length;C++){const T=a[C],$=u[C],z=T.el&&(T.type===Y||!$t(T,$)||T.shapeFlag&70)?v(T.el):p;N(T,$,z,null,w,x,S,L,!0)}},re=(a,u,p,w,x,S,L)=>{if(p!==w){if(p!==ge)for(const C in p)!tn(C)&&!(C in w)&&i(a,C,p[C],null,L,u.children,x,S,nt);for(const C in w){if(tn(C))continue;const T=w[C],$=p[C];T!==$&&C!=="value"&&i(a,C,$,T,L,u.children,x,S,nt)}"value"in w&&i(a,"value",p.value,w.value)}},F=(a,u,p,w,x,S,L,C,T)=>{const $=u.el=a?a.el:l(""),z=u.anchor=a?a.anchor:l("");let{patchFlag:H,dynamicChildren:U,slotScopeIds:W}=u;W&&(C=C?C.concat(W):W),a==null?(s($,p,w),s(z,p,w),I(u.children,p,z,x,S,L,C,T)):H>0&&H&64&&U&&a.dynamicChildren?(J(a.dynamicChildren,U,p,x,S,L,C),(u.key!=null||x&&u===x.subTree)&&nr(a,u,!0)):pe(a,u,p,z,x,S,L,C,T)},te=(a,u,p,w,x,S,L,C,T)=>{u.slotScopeIds=C,a==null?u.shapeFlag&512?x.ctx.activate(u,p,w,L,T):D(u,p,w,x,S,L,T):Me(a,u,T)},D=(a,u,p,w,x,S,L)=>{const C=a.component=mc(a,w,x);if(vn(a)&&(C.ctx.renderer=Lt),gc(C),C.asyncDep){if(x&&x.registerDep(C,fe),!a.el){const T=C.subTree=V(Ne);y(null,T,u,p)}return}fe(C,a,u,p,x,S,L)},Me=(a,u,p)=>{const w=u.component=a.component;if(Ll(a,u,p))if(w.asyncDep&&!w.asyncResolved){be(w,u,p);return}else w.next=u,Pl(w.update),w.update();else u.el=a.el,w.vnode=u},fe=(a,u,p,w,x,S,L)=>{const C=()=>{if(a.isMounted){let{next:z,bu:H,u:U,parent:W,vnode:ne}=a,ve=z,de;bt(a,!1),z?(z.el=ne.el,be(a,z,L)):z=ne,H&&as(H),(de=z.props&&z.props.onVnodeBeforeUpdate)&&Fe(de,W,z,ne),bt(a,!0);const ye=us(a),De=a.subTree;a.subTree=ye,N(De,ye,v(De.el),bn(De),a,x,S),z.el=ye.el,ve===null&&Ml(a,ye.el),U&&Ee(U,x),(de=z.props&&z.props.onVnodeUpdated)&&Ee(()=>Fe(de,W,z,ne),x)}else{let z;const{el:H,props:U}=u,{bm:W,m:ne,parent:ve}=a,de=Ft(u);if(bt(a,!1),W&&as(W),!de&&(z=U&&U.onVnodeBeforeMount)&&Fe(z,ve,u),bt(a,!0),H&&ls){const ye=()=>{a.subTree=us(a),ls(H,a.subTree,a,x,null)};de?u.type.__asyncLoader().then(()=>!a.isUnmounted&&ye()):ye()}else{const ye=a.subTree=us(a);N(null,ye,p,w,a,x,S),u.el=ye.el}if(ne&&Ee(ne,x),!de&&(z=U&&U.onVnodeMounted)){const ye=u;Ee(()=>Fe(z,ve,ye),x)}(u.shapeFlag&256||ve&&Ft(ve.vnode)&&ve.vnode.shapeFlag&256)&&a.a&&Ee(a.a,x),a.isMounted=!0,u=p=w=null}},T=a.effect=new Us(C,()=>Yn($),a.scope),$=a.update=()=>T.run();$.id=a.uid,bt(a,!0),$()},be=(a,u,p)=>{u.component=a;const w=a.vnode.props;a.vnode=u,a.next=null,ec(a,u.props,w,p),sc(a,u.children,p),Yt(),Co(),Qt()},pe=(a,u,p,w,x,S,L,C,T=!1)=>{const $=a&&a.children,z=a?a.shapeFlag:0,H=u.children,{patchFlag:U,shapeFlag:W}=u;if(U>0){if(U&128){gn($,H,p,w,x,S,L,C,T);return}else if(U&256){mt($,H,p,w,x,S,L,C,T);return}}W&8?(z&16&&nt($,x,S),H!==$&&h(p,H)):z&16?W&16?gn($,H,p,w,x,S,L,C,T):nt($,x,S,!0):(z&8&&h(p,""),W&16&&I(H,p,w,x,S,L,C,T))},mt=(a,u,p,w,x,S,L,C,T)=>{a=a||At,u=u||At;const $=a.length,z=u.length,H=Math.min($,z);let U;for(U=0;U<H;U++){const W=u[U]=T?ut(u[U]):ze(u[U]);N(a[U],W,p,null,x,S,L,C,T)}$>z?nt(a,x,S,!0,!1,H):I(u,p,w,x,S,L,C,T,H)},gn=(a,u,p,w,x,S,L,C,T)=>{let $=0;const z=u.length;let H=a.length-1,U=z-1;for(;$<=H&&$<=U;){const W=a[$],ne=u[$]=T?ut(u[$]):ze(u[$]);if($t(W,ne))N(W,ne,p,null,x,S,L,C,T);else break;$++}for(;$<=H&&$<=U;){const W=a[H],ne=u[U]=T?ut(u[U]):ze(u[U]);if($t(W,ne))N(W,ne,p,null,x,S,L,C,T);else break;H--,U--}if($>H){if($<=U){const W=U+1,ne=W<z?u[W].el:w;for(;$<=U;)N(null,u[$]=T?ut(u[$]):ze(u[$]),p,ne,x,S,L,C,T),$++}}else if($>U)for(;$<=H;)Ye(a[$],x,S,!0),$++;else{const W=$,ne=$,ve=new Map;for($=ne;$<=U;$++){const Ie=u[$]=T?ut(u[$]):ze(u[$]);Ie.key!=null&&ve.set(Ie.key,$)}let de,ye=0;const De=U-ne+1;let Mt=!1,po=0;const Xt=new Array(De);for($=0;$<De;$++)Xt[$]=0;for($=W;$<=H;$++){const Ie=a[$];if(ye>=De){Ye(Ie,x,S,!0);continue}let Qe;if(Ie.key!=null)Qe=ve.get(Ie.key);else for(de=ne;de<=U;de++)if(Xt[de-ne]===0&&$t(Ie,u[de])){Qe=de;break}Qe===void 0?Ye(Ie,x,S,!0):(Xt[Qe-ne]=$+1,Qe>=po?po=Qe:Mt=!0,N(Ie,u[Qe],p,null,x,S,L,C,T),ye++)}const vo=Mt?ac(Xt):At;for(de=vo.length-1,$=De-1;$>=0;$--){const Ie=ne+$,Qe=u[Ie],mo=Ie+1<z?u[Ie+1].el:w;Xt[$]===0?N(null,Qe,p,mo,x,S,L,C,T):Mt&&(de<0||$!==vo[de]?gt(Qe,p,mo,2):de--)}}},gt=(a,u,p,w,x=null)=>{const{el:S,type:L,transition:C,children:T,shapeFlag:$}=a;if($&6){gt(a.component.subTree,u,p,w);return}if($&128){a.suspense.move(u,p,w);return}if($&64){L.move(a,u,p,Lt);return}if(L===Y){s(S,u,p);for(let H=0;H<T.length;H++)gt(T[H],u,p,w);s(a.anchor,u,p);return}if(L===Ht){A(a,u,p);return}if(w!==2&&$&1&&C)if(w===0)C.beforeEnter(S),s(S,u,p),Ee(()=>C.enter(S),x);else{const{leave:H,delayLeave:U,afterLeave:W}=C,ne=()=>s(S,u,p),ve=()=>{H(S,()=>{ne(),W&&W()})};U?U(S,ne,ve):ve()}else s(S,u,p)},Ye=(a,u,p,w=!1,x=!1)=>{const{type:S,props:L,ref:C,children:T,dynamicChildren:$,shapeFlag:z,patchFlag:H,dirs:U}=a;if(C!=null&&Bn(C,null,p,a,!0),z&256){u.ctx.deactivate(a);return}const W=z&1&&U,ne=!Ft(a);let ve;if(ne&&(ve=L&&L.onVnodeBeforeUnmount)&&Fe(ve,u,a),z&6)Vr(a.component,p,w);else{if(z&128){a.suspense.unmount(p,w);return}W&&Je(a,null,u,"beforeUnmount"),z&64?a.type.remove(a,u,p,x,Lt,w):$&&(S!==Y||H>0&&H&64)?nt($,u,p,!1,!0):(S===Y&&H&384||!x&&z&16)&&nt(T,u,p),w&&ho(a)}(ne&&(ve=L&&L.onVnodeUnmounted)||W)&&Ee(()=>{ve&&Fe(ve,u,a),W&&Je(a,null,u,"unmounted")},p)},ho=a=>{const{type:u,el:p,anchor:w,transition:x}=a;if(u===Y){Sr(p,w);return}if(u===Ht){q(a);return}const S=()=>{o(p),x&&!x.persisted&&x.afterLeave&&x.afterLeave()};if(a.shapeFlag&1&&x&&!x.persisted){const{leave:L,delayLeave:C}=x,T=()=>L(p,S);C?C(a.el,S,T):T()}else S()},Sr=(a,u)=>{let p;for(;a!==u;)p=g(a),o(a),a=p;o(u)},Vr=(a,u,p)=>{const{bum:w,scope:x,update:S,subTree:L,um:C}=a;w&&as(w),x.stop(),S&&(S.active=!1,Ye(L,a,u,p)),C&&Ee(C,u),Ee(()=>{a.isUnmounted=!0},u),u&&u.pendingBranch&&!u.isUnmounted&&a.asyncDep&&!a.asyncResolved&&a.suspenseId===u.pendingId&&(u.deps--,u.deps===0&&u.resolve())},nt=(a,u,p,w=!1,x=!1,S=0)=>{for(let L=S;L<a.length;L++)Ye(a[L],u,p,w,x)},bn=a=>a.shapeFlag&6?bn(a.component.subTree):a.shapeFlag&128?a.suspense.next():g(a.anchor||a.el),_o=(a,u,p)=>{a==null?u._vnode&&Ye(u._vnode,null,null,!0):N(u._vnode||null,a,u,null,null,null,p),Co(),In(),u._vnode=a},Lt={p:N,um:Ye,m:gt,r:ho,mt:D,mc:I,pc:pe,pbc:J,n:bn,o:e};let rs,ls;return t&&([rs,ls]=t(Lt)),{render:_o,hydrate:rs,createApp:ic(_o,rs)}}function bt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function nr(e,t,n=!1){const s=e.children,o=t.children;if(K(s)&&K(o))for(let i=0;i<s.length;i++){const r=s[i];let l=o[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=o[i]=ut(o[i]),l.el=r.el),n||nr(r,l)),l.type===jt&&(l.el=r.el)}}function ac(e){const t=e.slice(),n=[0];let s,o,i,r,l;const c=e.length;for(s=0;s<c;s++){const f=e[s];if(f!==0){if(o=n[n.length-1],e[o]<f){t[s]=o,n.push(s);continue}for(i=0,r=n.length-1;i<r;)l=i+r>>1,e[n[l]]<f?i=l+1:r=l;f<e[n[i]]&&(i>0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,r=n[i-1];i-- >0;)n[i]=r,r=t[r];return n}const uc=e=>e.__isTeleport,Y=Symbol(void 0),jt=Symbol(void 0),Ne=Symbol(void 0),Ht=Symbol(void 0),on=[];let je=null;function d(e=!1){on.push(je=e?null:[])}function fc(){on.pop(),je=on[on.length-1]||null}let dn=1;function Bo(e){dn+=e}function sr(e){return e.dynamicChildren=dn>0?je||At:null,fc(),dn>0&&je&&je.push(e),e}function m(e,t,n,s,o,i){return sr(b(e,t,n,s,o,i,!0))}function Q(e,t,n,s,o){return sr(V(e,t,n,s,o,!0))}function On(e){return e?e.__v_isVNode===!0:!1}function $t(e,t){return e.type===t.type&&e.key===t.key}const ts="__vInternal",or=({key:e})=>e!=null?e:null,Tn=({ref:e,ref_key:t,ref_for:n})=>e!=null?xe(e)||Pe(e)||X(e)?{i:Ce,r:e,k:t,f:!!n}:e:null;function b(e,t=null,n=null,s=0,o=null,i=e===Y?0:1,r=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&or(t),ref:t&&Tn(t),scopeId:Jn,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:i,patchFlag:s,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Ce};return l?(so(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=xe(n)?8:16),dn>0&&!r&&je&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&je.push(c),c}const V=dc;function dc(e,t=null,n=null,s=0,o=null,i=!1){if((!e||e===Wi)&&(e=Ne),On(e)){const l=_t(e,t,!0);return n&&so(l,n),dn>0&&!i&&je&&(l.shapeFlag&6?je[je.indexOf(e)]=l:je.push(l)),l.patchFlag|=-2,l}if(kc(e)&&(e=e.__vccOpts),t){t=hc(t);let{class:l,style:c}=t;l&&!xe(l)&&(t.class=he(l)),me(c)&&(Vi(c)&&!K(c)&&(c=ke({},c)),t.style=Un(c))}const r=xe(e)?1:Il(e)?128:uc(e)?64:me(e)?4:X(e)?2:0;return b(e,t,n,s,o,r,i,!0)}function hc(e){return e?Vi(e)||ts in e?ke({},e):e:null}function _t(e,t,n=!1){const{props:s,ref:o,patchFlag:i,children:r}=e,l=t?En(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&or(l),ref:t&&t.ref?n&&o?K(o)?o.concat(Tn(t)):[o,Tn(t)]:Tn(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:r,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Y?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&_t(e.ssContent),ssFallback:e.ssFallback&&_t(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx}}function Te(e=" ",t=0){return V(jt,null,e,t)}function _c(e,t){const n=V(Ht,null,e);return n.staticCount=t,n}function j(e="",t=!1){return t?(d(),Q(Ne,null,e)):V(Ne,null,e)}function ze(e){return e==null||typeof e=="boolean"?V(Ne):K(e)?V(Y,null,e.slice()):typeof e=="object"?ut(e):V(jt,null,String(e))}function ut(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:_t(e)}function so(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(K(t))n=16;else if(typeof t=="object")if(s&65){const o=t.default;o&&(o._c&&(o._d=!1),so(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(ts in t)?t._ctx=Ce:o===3&&Ce&&(Ce.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else X(t)?(t={default:t,_ctx:Ce},n=32):(t=String(t),s&64?(n=16,t=[Te(t)]):n=8);e.children=t,e.shapeFlag|=n}function En(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const o in s)if(o==="class")t.class!==s.class&&(t.class=he([t.class,s.class]));else if(o==="style")t.style=Un([t.style,s.style]);else if(_n(o)){const i=t[o],r=s[o];r&&i!==r&&!(K(i)&&i.includes(r))&&(t[o]=i?[].concat(i,r):r)}else o!==""&&(t[o]=s[o])}return t}function Fe(e,t,n,s=null){He(e,t,7,[n,s])}const pc=tr();let vc=0;function mc(e,t,n){const s=e.type,o=(t?t.appContext:e.appContext)||pc,i={uid:vc++,vnode:e,type:s,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new zr(!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:Ji(s,o),emitsOptions:Oi(s,o),emit:null,emitted:null,propsDefaults:ge,inheritAttrs:s.inheritAttrs,ctx:ge,data:ge,props:ge,attrs:ge,slots:ge,refs:ge,setupState:ge,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 i.ctx={_:i},i.root=t?t.root:i,i.emit=Vl.bind(null,i),e.ce&&e.ce(i),i}let we=null;const oo=()=>we||Ce,Kt=e=>{we=e,e.scope.on()},Vt=()=>{we&&we.scope.off(),we=null};function ir(e){return e.vnode.shapeFlag&4}let Wt=!1;function gc(e,t=!1){Wt=t;const{props:n,children:s}=e.vnode,o=ir(e);Zl(e,n,o,t),nc(e,s);const i=o?bc(e,t):void 0;return Wt=!1,i}function bc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=nn(new Proxy(e.ctx,ql));const{setup:s}=n;if(s){const o=e.setupContext=s.length>1?xc(e):null;Kt(e),Yt();const i=dt(s,e,0,[e.props,o]);if(Qt(),Vt(),pi(i)){if(i.then(Vt,Vt),t)return i.then(r=>{Oo(e,r,t)}).catch(r=>{pn(r,e,0)});e.asyncDep=i}else Oo(e,i,t)}else rr(e,t)}function Oo(e,t,n){X(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:me(t)&&(e.setupState=Mi(t)),rr(e,n)}let Fo;function rr(e,t,n){const s=e.type;if(!e.render){if(!t&&Fo&&!s.render){const o=s.template||to(e).template;if(o){const{isCustomElement:i,compilerOptions:r}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,f=ke(ke({isCustomElement:i,delimiters:l},r),c);s.render=Fo(o,f)}}e.render=s.render||Ke}Kt(e),Yt(),Gl(e),Qt(),Vt()}function yc(e){return new Proxy(e.attrs,{get(t,n){return Be(e,"get","$attrs"),t[n]}})}function xc(e){const t=s=>{e.exposed=s||{}};let n;return{get attrs(){return n||(n=yc(e))},slots:e.slots,emit:e.emit,expose:t}}function io(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Mi(nn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in sn)return sn[n](e)},has(t,n){return n in t||n in sn}}))}function wc(e,t=!0){return X(e)?e.displayName||e.name:e.name||t&&e.__name}function kc(e){return X(e)&&"__vccOpts"in e}const ie=(e,t)=>wl(e,t,Wt);function Fn(e,t,n){const s=arguments.length;return s===2?me(t)&&!K(t)?On(t)?V(e,null,[t]):V(e,t):V(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&On(n)&&(n=[n]),V(e,t,n))}const $c=Symbol(""),Pc=()=>We($c),Cc="3.2.45",Sc="http://www.w3.org/2000/svg",Pt=typeof document<"u"?document:null,Ho=Pt&&Pt.createElement("template"),Vc={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 o=t?Pt.createElementNS(Sc,e):Pt.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:e=>Pt.createTextNode(e),createComment:e=>Pt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Pt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,o,i){const r=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{Ho.innerHTML=s?`<svg>${e}</svg>`:e;const l=Ho.content;if(s){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[r?r.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function Tc(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 Ec(e,t,n){const s=e.style,o=xe(n);if(n&&!o){for(const i in n)Ls(s,i,n[i]);if(t&&!xe(t))for(const i in t)n[i]==null&&Ls(s,i,"")}else{const i=s.display;o?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=i)}}const Ro=/\s*!important$/;function Ls(e,t,n){if(K(n))n.forEach(s=>Ls(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Lc(e,t);Ro.test(n)?e.setProperty(Gt(s),n.replace(Ro,""),"important"):e[s]=n}}const Do=["Webkit","Moz","ms"],_s={};function Lc(e,t){const n=_s[t];if(n)return n;let s=et(t);if(s!=="filter"&&s in e)return _s[t]=s;s=Wn(s);for(let o=0;o<Do.length;o++){const i=Do[o]+s;if(i in e)return _s[t]=i}return t}const zo="http://www.w3.org/1999/xlink";function Mc(e,t,n,s,o){if(s&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(zo,t.slice(6,t.length)):e.setAttributeNS(zo,t,n);else{const i=Ar(t);n==null||i&&!di(n)?e.removeAttribute(t):e.setAttribute(t,i?"":n)}}function Ic(e,t,n,s,o,i,r){if(t==="innerHTML"||t==="textContent"){s&&r(s,o,i),e[t]=n==null?"":n;return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=n;const c=n==null?"":n;(e.value!==c||e.tagName==="OPTION")&&(e.value=c),n==null&&e.removeAttribute(t);return}let l=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=di(n):n==null&&c==="string"?(n="",l=!0):c==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}function Ac(e,t,n,s){e.addEventListener(t,n,s)}function Nc(e,t,n,s){e.removeEventListener(t,n,s)}function Bc(e,t,n,s,o=null){const i=e._vei||(e._vei={}),r=i[t];if(s&&r)r.value=s;else{const[l,c]=Oc(t);if(s){const f=i[t]=Rc(s,o);Ac(e,l,f,c)}else r&&(Nc(e,l,r,c),i[t]=void 0)}}const Uo=/(?:Once|Passive|Capture)$/;function Oc(e){let t;if(Uo.test(e)){t={};let s;for(;s=e.match(Uo);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Gt(e.slice(2)),t]}let ps=0;const Fc=Promise.resolve(),Hc=()=>ps||(Fc.then(()=>ps=0),ps=Date.now());function Rc(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;He(Dc(s,n.value),t,5,[s])};return n.value=e,n.attached=Hc(),n}function Dc(e,t){if(K(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>o=>!o._stopped&&s&&s(o))}else return t}const jo=/^on[a-z]/,zc=(e,t,n,s,o=!1,i,r,l,c)=>{t==="class"?Tc(e,s,o):t==="style"?Ec(e,n,s):_n(t)?Os(t)||Bc(e,t,n,s,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Uc(e,t,s,o))?Ic(e,t,s,i,r,l,c):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Mc(e,t,s,o))};function Uc(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&jo.test(t)&&X(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||jo.test(t)&&xe(n)?!1:t in e}function jc(e){const t=oo();if(!t)return;const n=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(i=>Is(i,o))},s=()=>{const o=e(t.proxy);Ms(t.subTree,o),n(o)};Hi(s),Re(()=>{const o=new MutationObserver(s);o.observe(t.subTree.el.parentNode,{childList:!0}),pt(()=>o.disconnect())})}function Ms(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Ms(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Is(e.el,t);else if(e.type===Y)e.children.forEach(n=>Ms(n,t));else if(e.type===Ht){let{el:n,anchor:s}=e;for(;n&&(Is(n,t),n!==s);)n=n.nextSibling}}function Is(e,t){if(e.nodeType===1){const n=e.style;for(const s in t)n.setProperty(`--${s}`,t[s])}}const ct="transition",Zt="animation",ns=(e,{slots:t})=>Fn(Di,Kc(e),t);ns.displayName="Transition";const lr={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};ns.props=ke({},Di.props,lr);const yt=(e,t=[])=>{K(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ko=e=>e?K(e)?e.some(t=>t.length>1):e.length>1:!1;function Kc(e){const t={};for(const F in e)F in lr||(t[F]=e[F]);if(e.css===!1)return t;const{name:n="v",type:s,duration:o,enterFromClass:i=`${n}-enter-from`,enterActiveClass:r=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:f=r,appearToClass:h=l,leaveFromClass:v=`${n}-leave-from`,leaveActiveClass:g=`${n}-leave-active`,leaveToClass:k=`${n}-leave-to`}=e,M=Wc(o),N=M&&M[0],G=M&&M[1],{onBeforeEnter:y,onEnter:P,onEnterCancelled:A,onLeave:q,onLeaveCancelled:ee,onBeforeAppear:_e=y,onAppear:se=P,onAppearCancelled:I=A}=t,Z=(F,te,D)=>{xt(F,te?h:l),xt(F,te?f:r),D&&D()},J=(F,te)=>{F._isLeaving=!1,xt(F,v),xt(F,k),xt(F,g),te&&te()},re=F=>(te,D)=>{const Me=F?se:P,fe=()=>Z(te,F,D);yt(Me,[te,fe]),Wo(()=>{xt(te,F?c:i),at(te,F?h:l),Ko(Me)||qo(te,s,N,fe)})};return ke(t,{onBeforeEnter(F){yt(y,[F]),at(F,i),at(F,r)},onBeforeAppear(F){yt(_e,[F]),at(F,c),at(F,f)},onEnter:re(!1),onAppear:re(!0),onLeave(F,te){F._isLeaving=!0;const D=()=>J(F,te);at(F,v),Yc(),at(F,g),Wo(()=>{!F._isLeaving||(xt(F,v),at(F,k),Ko(q)||qo(F,s,G,D))}),yt(q,[F,D])},onEnterCancelled(F){Z(F,!1),yt(A,[F])},onAppearCancelled(F){Z(F,!0),yt(I,[F])},onLeaveCancelled(F){J(F),yt(ee,[F])}})}function Wc(e){if(e==null)return null;if(me(e))return[vs(e.enter),vs(e.leave)];{const t=vs(e);return[t,t]}}function vs(e){return Ds(e)}function at(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function xt(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function Wo(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let qc=0;function qo(e,t,n,s){const o=e._endId=++qc,i=()=>{o===e._endId&&s()};if(n)return setTimeout(i,n);const{type:r,timeout:l,propCount:c}=Gc(e,t);if(!r)return s();const f=r+"end";let h=0;const v=()=>{e.removeEventListener(f,g),i()},g=k=>{k.target===e&&++h>=c&&v()};setTimeout(()=>{h<c&&v()},l+1),e.addEventListener(f,g)}function Gc(e,t){const n=window.getComputedStyle(e),s=M=>(n[M]||"").split(", "),o=s(`${ct}Delay`),i=s(`${ct}Duration`),r=Go(o,i),l=s(`${Zt}Delay`),c=s(`${Zt}Duration`),f=Go(l,c);let h=null,v=0,g=0;t===ct?r>0&&(h=ct,v=r,g=i.length):t===Zt?f>0&&(h=Zt,v=f,g=c.length):(v=Math.max(r,f),h=v>0?r>f?ct:Zt:null,g=h?h===ct?i.length:c.length:0);const k=h===ct&&/\b(transform|all)(,|$)/.test(s(`${ct}Property`).toString());return{type:h,timeout:v,propCount:g,hasTransform:k}}function Go(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>Yo(n)+Yo(e[s])))}function Yo(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function Yc(){return document.body.offsetHeight}const Qc=["ctrl","shift","alt","meta"],Jc={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Qc.some(n=>e[`${n}Key`]&&!t.includes(n))},Xc=(e,t)=>(n,...s)=>{for(let o=0;o<t.length;o++){const i=Jc[t[o]];if(i&&i(n,t))return}return e(n,...s)},Zc=ke({patchProp:zc},Vc);let ms,Qo=!1;function ea(){return ms=Qo?ms:lc(Zc),Qo=!0,ms}const ta=(...e)=>{const t=ea().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=na(s);if(o)return n(o,!0,o instanceof SVGElement)},t};function na(e){return xe(e)?document.querySelector(e):e}const sa=R({__name:"VPBadge",props:{text:null,type:null},setup(e){return(t,n)=>{var s;return d(),m("span",{class:he(["VPBadge",(s=e.type)!=null?s:"tip"])},[E(t.$slots,"default",{},()=>[Te(ae(e.text),1)],!0)],2)}}});const O=(e,t)=>{const n=e.__vccOpts||e;for(const[s,o]of t)n[s]=o;return n},oa=O(sa,[["__scopeId","data-v-8d21f6c9"]]),ia=JSON.parse('{"lang":"zh-CN","title":"Vue-H5-Template","description":"\u4E00\u4E2A\u5F00\u7BB1\u5373\u7528\u7684vue h5\u811A\u624B\u67B6","base":"/vue-h5-template/","head":[],"appearance":true,"themeConfig":{"nav":[{"text":"\u4ECB\u7ECD","link":"/guide/"},{"text":"\u52A0\u5165\u6211\u4EEC","link":"/guide/about/"},{"text":"github\u4ED3\u5E93","link":"https://github.com/sunniejs/vue-h5-template"}],"sidebar":[{"text":"\u524D\u8A00","collapsible":true,"items":[{"text":"\u4ECB\u7ECD","link":"/guide/"},{"text":"\u5FEB\u901F\u4E0A\u624B","link":"/guide/start"},{"text":"\u53C2\u4E0E\u7F16\u8F91","link":"/guide/edit"}]},{"text":"vue3-template","collapsible":true,"items":[{"text":"\u542F\u52A8\u9879\u76EE","link":"/guide/vue3/start"},{"text":"vite.config.ts \u57FA\u7840\u914D\u7F6E","link":"/guide/vue3/base"},{"text":"vite\u63D2\u4EF6\u96C6\u6210","link":"/guide/vue3/vite"},{"text":"\u591A\u73AF\u5883\u53D8\u91CF","link":"/guide/vue3/env"},{"text":"viewport \u9002\u914D\u65B9\u6848","link":"/guide/vue3/viewport"},{"text":"UI\u7EC4\u4EF6\u5E93","link":"/guide/vue3/ui"},{"text":"Pinia \u72B6\u6001\u7BA1\u7406","link":"/guide/vue3/pinia"},{"text":"vue-router","link":"/guide/vue3/router"},{"text":"axios \u5C01\u88C5\u53CA\u63A5\u53E3\u7BA1\u7406","link":"/guide/vue3/axios"},{"text":"alias","link":"/guide/vue3/alias"},{"text":"proxy \u8DE8\u57DF","link":"/guide/vue3/proxy"},{"text":"\u591A\u8BED\u8A00\u89E3\u51B3\u65B9\u6848","link":"/guide/vue3/i18n"},{"text":"\u7EDF\u4E00\u5F00\u53D1\u89C4\u8303","link":"/guide/vue3/lint"}]},{"text":"vue2-template","collapsible":true,"collapsed":true,"items":[{"text":"\u542F\u52A8\u9879\u76EE","link":"/guide/vue2/start"},{"text":"\u591A\u73AF\u5883\u53D8\u91CF","link":"/guide/vue2/env"},{"text":"rem \u9002\u914D\u65B9\u6848","link":"/guide/vue2/rem"},{"text":"vw \u9002\u914D\u65B9\u6848","link":"/guide/vue2/vw"},{"text":"VantUI \u7EC4\u4EF6\u6309\u9700\u52A0\u8F7D","link":"/guide/vue2/vant"},{"text":"Sass \u5168\u5C40\u6837\u5F0F","link":"/guide/vue2/sass"},{"text":"Vuex \u72B6\u6001\u7BA1\u7406","link":"/guide/vue2/vuex"},{"text":"Vue-router","link":"/guide/vue2/router"},{"text":"Axios \u5C01\u88C5\u53CA\u63A5\u53E3\u7BA1\u7406","link":"/guide/vue2/axios"},{"text":"vue.config.js \u57FA\u7840\u914D\u7F6E","link":"/guide/vue2/base"},{"text":"\u914D\u7F6E alias \u522B\u540D","link":"/guide/vue2/alias"},{"text":"\u914D\u7F6E proxy \u8DE8\u57DF","link":"/guide/vue2/proxy"},{"text":"\u914D\u7F6E \u6253\u5305\u5206\u6790","link":"/guide/vue2/bundle"},{"text":"\u914D\u7F6E externals \u5F15\u5165 cdn \u8D44\u6E90","link":"/guide/vue2/externals"},{"text":"\u53BB\u6389 console.log","link":"/guide/vue2/console"},{"text":"splitChunks \u6253\u5305\u7B2C\u4E09\u65B9\u6A21\u5757","link":"/guide/vue2/chunks"},{"text":"\u6DFB\u52A0 IE \u517C\u5BB9","link":"/guide/vue2/ie"},{"text":"\u7EDF\u4E00\u5F00\u53D1\u89C4\u8303","link":"/guide/vue2/lint"}]},{"text":"\u5176\u4ED6","collapsible":true,"collapsed":true,"items":[{"text":"\u5E38\u89C1\u95EE\u9898","link":"/guide/other/"}]}],"socialLinks":[{"icon":"github","link":"https://github.com/sunniejs/vue-h5-template"}],"editLink":{"pattern":"https://github.com/sunniejs/vue-h5-template/blob/docs/docs/:path","text":"\u5728GitHub\u7F16\u8F91\u6B64\u9875"},"footer":{"message":"Released under the MIT License.","copyright":"Copyright \xA9 2022-present Fonghehe"},"algolia":{"appId":"CV2I8NGBKZ","apiKey":"63c37a467485b00383daacf7340b4ca0","indexName":"vue-h5-template"}},"locales":{},"langs":{},"scrollOffset":90,"cleanUrls":"disabled"}'),ss=/^[a-z]+:/i,Jo="vitepress-theme-appearance",Le=typeof window<"u",cr={relativePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0};function ra(e,t){t.sort((n,s)=>{const o=s.split("/").length-n.split("/").length;return o!==0?o:s.length-n.length});for(const n of t)if(e.startsWith(n))return n}function Xo(e,t){const n=ra(t,Object.keys(e));return n?e[n]:void 0}function la(e){const{locales:t}=e.themeConfig||{},n=e.locales;return t&&n?Object.keys(t).reduce((s,o)=>(s[o]={label:t[o].label,lang:n[o].lang},s),{}):{}}function ca(e,t){t=ua(e,t);const n=Xo(e.locales||{},t),s=Xo(e.themeConfig.locales||{},t);return Object.assign({},e,n,{themeConfig:Object.assign({},e.themeConfig,s,{locales:{}}),lang:(n||e).lang,locales:{},langs:la(e)})}function ar(e,t){var i;const n=t.title||e.title,s=(i=t.titleTemplate)!=null?i:e.titleTemplate;if(typeof s=="string"&&s.includes(":title"))return s.replace(/:title/g,n);const o=aa(e.title,s);return`${n}${o}`}function aa(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function ua(e,t){if(!Le)return t;const n=e.base,s=n.endsWith("/")?n.slice(0,-1):n;return t.slice(s.length)}function fa(e,t){const[n,s]=t;if(n!=="meta")return!1;const o=Object.entries(s)[0];return o==null?!1:e.some(([i,r])=>i===n&&r[o[0]]===o[1])}function da(e,t){return[...e.filter(n=>!fa(t,n)),...t]}const ha=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,_a=/^[a-z]:/i;function Zo(e){const t=_a.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(ha,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}function pa(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function hn(e){return ss.test(e)?e:pa(qt.value.base,e)}function ur(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t.endsWith("/")&&(t+="index"),Le){const n="/vue-h5-template/";t=Zo(t.slice(n.length).replace(/\//g,"_")||"index")+".md";const s=__VP_HASH_MAP__[t.toLowerCase()];t=`${n}assets/${t}.${s}.js`}else t=`./${Zo(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}const fr=Symbol(),qt=gl(ia);function va(e){const t=ie(()=>ca(qt.value,e.path));return{site:t,theme:ie(()=>t.value.themeConfig),page:ie(()=>e.data),frontmatter:ie(()=>e.data.frontmatter),lang:ie(()=>t.value.lang),localePath:ie(()=>{const{langs:n,lang:s}=t.value,o=Object.keys(n).find(i=>n[i].lang===s);return hn(o||"/")}),title:ie(()=>ar(t.value,e.data)),description:ie(()=>e.data.description||t.value.description),isDark:ue(!1)}}function le(){const e=We(fr);if(!e)throw new Error("vitepress data not properly injected in app");return e}const dr=Symbol(),ei="http://a.com",ma=()=>({path:"/",component:null,data:cr});function ga(e,t){const n=Gn(ma()),s={route:n,go:o};async function o(l=Le?location.href:"/"){var f,h;await((f=s.onBeforeRouteChange)==null?void 0:f.call(s,l));const c=new URL(l,ei);qt.value.cleanUrls==="disabled"&&!c.pathname.endsWith("/")&&!c.pathname.endsWith(".html")&&(c.pathname+=".html",l=c.pathname+c.search+c.hash),Le&&(history.replaceState({scrollPosition:window.scrollY},document.title),history.pushState(null,"",l)),await r(l),await((h=s.onAfterRouteChanged)==null?void 0:h.call(s,l))}let i=null;async function r(l,c=0,f=!1){const h=new URL(l,ei),v=i=h.pathname;try{let g=await e(v);if(i===v){i=null;const{default:k,__pageData:M}=g;if(!k)throw new Error(`Invalid route component: ${k}`);n.path=Le?v:hn(v),n.component=nn(k),n.data=nn(M),Le&&Js(()=>{if(h.hash&&!c){let N=null;try{N=document.querySelector(decodeURIComponent(h.hash))}catch(G){console.warn(G)}if(N){ti(N,h.hash);return}}window.scrollTo(0,c)})}}catch(g){if(!/fetch/.test(g.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(g),!f)try{const k=await fetch(qt.value.base+"hashmap.json");window.__VP_HASH_MAP__=await k.json(),await r(l,c,!0);return}catch{}i===v&&(i=null,n.path=Le?v:hn(v),n.component=t?nn(t):null,n.data=cr)}}return Le&&(window.addEventListener("click",l=>{if(l.target.closest("button"))return;const f=l.target.closest("a");if(f&&!f.closest(".vp-raw")&&!f.download){const{href:h,origin:v,pathname:g,hash:k,search:M,target:N}=f,G=window.location,y=g.match(/\.\w+$/);!l.ctrlKey&&!l.shiftKey&&!l.altKey&&!l.metaKey&&N!=="_blank"&&v===G.origin&&!(y&&y[0]!==".html")&&(l.preventDefault(),g===G.pathname&&M===G.search?k&&k!==G.hash&&(history.pushState(null,"",k),window.dispatchEvent(new Event("hashchange")),ti(f,k,f.classList.contains("header-anchor"))):o(h))}},{capture:!0}),window.addEventListener("popstate",l=>{r(location.href,l.state&&l.state.scrollPosition||0)}),window.addEventListener("hashchange",l=>{l.preventDefault()})),s}function ba(){const e=We(dr);if(!e)throw new Error("useRouter() is called without provider.");return e}function vt(){return ba().route}function ti(e,t,n=!1){let s=null;try{s=e.classList.contains("header-anchor")?e:document.querySelector(decodeURIComponent(t))}catch(o){console.warn(o)}if(s){let o=qt.value.scrollOffset;typeof o=="string"&&(o=document.querySelector(o).getBoundingClientRect().bottom+24);const i=parseInt(window.getComputedStyle(s).paddingTop,10),r=window.scrollY+s.getBoundingClientRect().top-o+i;!n||Math.abs(r-window.scrollY)>window.innerHeight?window.scrollTo(0,r):window.scrollTo({left:0,top:r,behavior:"smooth"})}}const ya=R({name:"VitePressContent",props:{onContentUpdated:Function},setup(e){const t=vt();return Xs(()=>{var n;(n=e.onContentUpdated)==null||n.call(e)}),()=>Fn("div",{style:{position:"relative"}},[t.component?Fn(t.component):null])}}),hr=/#.*$/,xa=/(index)?\.(md|html)$/,wa=typeof window<"u",ka=ue(wa?location.hash:"");function $a(e){return ss.test(e)}function Pa(e,t){let n,s=!1;return()=>{n&&clearTimeout(n),s?n=setTimeout(e,t):(e(),s=!0,setTimeout(()=>{s=!1},t))}}function Jt(e,t,n=!1){if(t===void 0)return!1;if(e=si(`/${e}`),n)return new RegExp(t).test(e);if(si(t)!==e)return!1;const s=t.match(hr);return s?ka.value===s[0]:!0}function ni(e){return/^\//.test(e)?e:`/${e}`}function si(e){return decodeURI(e).replace(hr,"").replace(xa,"")}function Hn(e){if($a(e))return e;const{site:t}=le(),{pathname:n,search:s,hash:o}=new URL(e,"http://example.com"),i=n.endsWith("/")||n.endsWith(".html")?e:`${n.replace(/(\.md)?$/,t.value.cleanUrls==="disabled"?".html":"")}${s}${o}`;return hn(i)}function _r(e,t){if(Array.isArray(e))return e;if(e==null)return[];t=ni(t);const n=Object.keys(e).sort((s,o)=>o.split("/").length-s.split("/").length).find(s=>t.startsWith(ni(s)));return n?e[n]:[]}function Ca(e){const t=[];function n(s){for(const o of s)o.link&&t.push({...o,link:o.link}),"items"in o&&n(o.items)}for(const s of e)n(s.items);return t}function tt(){const e=vt(),{theme:t,frontmatter:n}=le(),s=ue(!1),o=ie(()=>{const h=t.value.sidebar,v=e.data.relativePath;return h?_r(h,v):[]}),i=ie(()=>n.value.sidebar!==!1&&o.value.length>0&&n.value.layout!=="home"),r=ie(()=>n.value.layout!=="home"&&n.value.aside!==!1);function l(){s.value=!0}function c(){s.value=!1}function f(){s.value?c():l()}return{isOpen:s,sidebar:o,hasSidebar:i,hasAside:r,open:l,close:c,toggle:f}}function Sa(e,t){let n;Ut(()=>{n=e.value?document.activeElement:void 0}),Re(()=>{window.addEventListener("keyup",s)}),pt(()=>{window.removeEventListener("keyup",s)});function s(o){o.key==="Escape"&&e.value&&(t(),n==null||n.focus())}}const Va=R({__name:"VPSkipLink",setup(e){const t=vt(),n=ue();Ze(()=>t.path,()=>n.value.focus());function s({target:o}){const i=document.querySelector(o.hash);if(i){const r=()=>{i.removeAttribute("tabindex"),i.removeEventListener("blur",r)};i.setAttribute("tabindex","-1"),i.addEventListener("blur",r),i.focus(),window.scrollTo(0,0)}}return(o,i)=>(d(),m(Y,null,[b("span",{ref_key:"backToTop",ref:n,tabindex:"-1"},null,512),b("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:s}," Skip to content ")],64))}});const Ta=O(Va,[["__scopeId","data-v-151f2593"]]),Ea={key:0,class:"VPBackdrop"},La=R({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(e){return(t,n)=>(d(),Q(ns,{name:"fade"},{default:B(()=>[e.show?(d(),m("div",Ea)):j("",!0)]),_:1}))}});const Ma=O(La,[["__scopeId","data-v-0164f098"]]);function Ia(){const e=ue(!1);function t(){e.value=!0,window.addEventListener("resize",o)}function n(){e.value=!1,window.removeEventListener("resize",o)}function s(){e.value?n():t()}function o(){window.outerWidth>=768&&n()}const i=vt();return Ze(()=>i.path,n),{isScreenOpen:e,openScreen:t,closeScreen:n,toggleScreen:s}}const Aa=["src","alt"],Na={inheritAttrs:!1},Ba=R({...Na,__name:"VPImage",props:{image:null,alt:null},setup(e){return(t,n)=>{var o;const s=Tt("VPImage",!0);return e.image?(d(),m(Y,{key:0},[typeof e.image=="string"||"src"in e.image?(d(),m("img",En({key:0,class:"VPImage"},typeof e.image=="string"?t.$attrs:{...e.image,...t.$attrs},{src:_(hn)(typeof e.image=="string"?e.image:e.image.src),alt:(o=e.alt)!=null?o:typeof e.image=="string"?"":e.image.alt||""}),null,16,Aa)):(d(),m(Y,{key:1},[V(s,En({class:"dark",image:e.image.dark,alt:typeof e.image.dark=="string"?e.image.alt:e.image.dark.alt||e.image.alt},t.$attrs),null,16,["image","alt"]),V(s,En({class:"light",image:e.image.light,alt:typeof e.image.light=="string"?e.image.alt:e.image.light.alt||e.image.alt},t.$attrs),null,16,["image","alt"])],64))],64)):j("",!0)}}});const pr=O(Ba,[["__scopeId","data-v-b7ac6bd3"]]),Oa=["href"],Fa=R({__name:"VPNavBarTitle",setup(e){const{site:t,theme:n}=le(),{hasSidebar:s}=tt();return(o,i)=>(d(),m("div",{class:he(["VPNavBarTitle",{"has-sidebar":_(s)}])},[b("a",{class:"title",href:_(t).base},[E(o.$slots,"nav-bar-title-before",{},void 0,!0),V(pr,{class:"logo",image:_(n).logo},null,8,["image"]),_(n).siteTitle?(d(),m(Y,{key:0},[Te(ae(_(n).siteTitle),1)],64)):_(n).siteTitle===void 0?(d(),m(Y,{key:1},[Te(ae(_(t).title),1)],64)):j("",!0),E(o.$slots,"nav-bar-title-after",{},void 0,!0)],8,Oa)],2))}});const Ha=O(Fa,[["__scopeId","data-v-d5925166"]]),Ra="modulepreload",Da=function(e){return"/vue-h5-template/"+e},oi={},vr=function(t,n,s){if(!n||n.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(n.map(i=>{if(i=Da(i),i in oi)return;oi[i]=!0;const r=i.endsWith(".css"),l=r?'[rel="stylesheet"]':"";if(!!s)for(let h=o.length-1;h>=0;h--){const v=o[h];if(v.href===i&&(!r||v.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${l}`))return;const f=document.createElement("link");if(f.rel=r?"stylesheet":Ra,r||(f.as="script",f.crossOrigin=""),f.href=i,document.head.appendChild(f),r)return new Promise((h,v)=>{f.addEventListener("load",h),f.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>t())};const za={key:0,class:"VPNavBarSearch"},Ua={type:"button",class:"DocSearch DocSearch-Button","aria-label":"Search"},ja={class:"DocSearch-Button-Container"},Ka=b("svg",{class:"DocSearch-Search-Icon",width:"20",height:"20",viewBox:"0 0 20 20"},[b("path",{d:"M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z",stroke:"currentColor",fill:"none","fill-rule":"evenodd","stroke-linecap":"round","stroke-linejoin":"round"})],-1),Wa={class:"DocSearch-Button-Placeholder"},qa=b("span",{class:"DocSearch-Button-Keys"},[b("kbd",{class:"DocSearch-Button-Key"}),b("kbd",{class:"DocSearch-Button-Key"},"K")],-1),Ga=R({__name:"VPNavBarSearch",setup(e){jc(r=>({"5943dbe8":o.value}));const t=Ol(()=>vr(()=>import("./chunks/VPAlgoliaSearchBox.55012e99.js"),[])),{theme:n}=le(),s=ue(!1),o=ue("'Meta'");Re(()=>{if(!n.value.algolia)return;o.value=/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?"'\u2318'":"'Ctrl'";const r=c=>{c.key==="k"&&(c.ctrlKey||c.metaKey)&&(c.preventDefault(),i(),l())},l=()=>{window.removeEventListener("keydown",r)};window.addEventListener("keydown",r),pt(l)});function i(){s.value||(s.value=!0)}return(r,l)=>{var c;return _(n).algolia?(d(),m("div",za,[s.value?(d(),Q(_(t),{key:0})):(d(),m("div",{key:1,id:"docsearch",onClick:i},[b("button",Ua,[b("span",ja,[Ka,b("span",Wa,ae(((c=_(n).algolia)==null?void 0:c.buttonText)||"Search"),1)]),qa])]))])):j("",!0)}}});const Ya={},Qa={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",height:"24px",viewBox:"0 0 24 24",width:"24px"},Ja=b("path",{d:"M0 0h24v24H0V0z",fill:"none"},null,-1),Xa=b("path",{d:"M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5H9z"},null,-1),Za=[Ja,Xa];function eu(e,t){return d(),m("svg",Qa,Za)}const tu=O(Ya,[["render",eu]]),nu=R({__name:"VPLink",props:{href:null,noIcon:{type:Boolean}},setup(e){const t=e,n=ie(()=>t.href&&ss.test(t.href));return(s,o)=>(d(),Q(eo(e.href?"a":"span"),{class:he(["VPLink",{link:e.href}]),href:e.href?_(Hn)(e.href):void 0,target:_(n)?"_blank":void 0,rel:_(n)?"noreferrer":void 0},{default:B(()=>[E(s.$slots,"default",{},void 0,!0),_(n)&&!e.noIcon?(d(),Q(tu,{key:0,class:"icon"})):j("",!0)]),_:3},8,["class","href","target","rel"]))}});const Et=O(nu,[["__scopeId","data-v-3c355974"]]),su=R({__name:"VPNavBarMenuLink",props:{item:null},setup(e){const{page:t}=le();return(n,s)=>(d(),Q(Et,{class:he({VPNavBarMenuLink:!0,active:_(Jt)(_(t).relativePath,e.item.activeMatch||e.item.link,!!e.item.activeMatch)}),href:e.item.link,noIcon:!0},{default:B(()=>[Te(ae(e.item.text),1)]),_:1},8,["class","href"]))}});const ou=O(su,[["__scopeId","data-v-47a2263e"]]),ro=ue();let mr=!1,gs=0;function iu(e){const t=ue(!1);if(typeof window<"u"){!mr&&ru(),gs++;const n=Ze(ro,s=>{var o,i,r;s===e.el.value||((o=e.el.value)==null?void 0:o.contains(s))?(t.value=!0,(i=e.onFocus)==null||i.call(e)):(t.value=!1,(r=e.onBlur)==null||r.call(e))});pt(()=>{n(),gs--,gs||lu()})}return qs(t)}function ru(){document.addEventListener("focusin",gr),mr=!0,ro.value=document.activeElement}function lu(){document.removeEventListener("focusin",gr)}function gr(){ro.value=document.activeElement}const cu={},au={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},uu=b("path",{d:"M12,16c-0.3,0-0.5-0.1-0.7-0.3l-6-6c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l5.3,5.3l5.3-5.3c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-6,6C12.5,15.9,12.3,16,12,16z"},null,-1),fu=[uu];function du(e,t){return d(),m("svg",au,fu)}const br=O(cu,[["render",du]]),hu={},_u={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},pu=b("circle",{cx:"12",cy:"12",r:"2"},null,-1),vu=b("circle",{cx:"19",cy:"12",r:"2"},null,-1),mu=b("circle",{cx:"5",cy:"12",r:"2"},null,-1),gu=[pu,vu,mu];function bu(e,t){return d(),m("svg",_u,gu)}const yu=O(hu,[["render",bu]]),xu={class:"VPMenuLink"},wu=R({__name:"VPMenuLink",props:{item:null},setup(e){const{page:t}=le();return(n,s)=>(d(),m("div",xu,[V(Et,{class:he({active:_(Jt)(_(t).relativePath,e.item.activeMatch||e.item.link)}),href:e.item.link},{default:B(()=>[Te(ae(e.item.text),1)]),_:1},8,["class","href"])]))}});const os=O(wu,[["__scopeId","data-v-e8e0fb1d"]]),ku={class:"VPMenuGroup"},$u={key:0,class:"title"},Pu=R({__name:"VPMenuGroup",props:{text:null,items:null},setup(e){return(t,n)=>(d(),m("div",ku,[e.text?(d(),m("p",$u,ae(e.text),1)):j("",!0),(d(!0),m(Y,null,Se(e.items,s=>(d(),m(Y,null,["link"in s?(d(),Q(os,{key:0,item:s},null,8,["item"])):j("",!0)],64))),256))]))}});const Cu=O(Pu,[["__scopeId","data-v-9ca52130"]]),Su={class:"VPMenu"},Vu={key:0,class:"items"},Tu=R({__name:"VPMenu",props:{items:null},setup(e){return(t,n)=>(d(),m("div",Su,[e.items?(d(),m("div",Vu,[(d(!0),m(Y,null,Se(e.items,s=>(d(),m(Y,{key:s.text},["link"in s?(d(),Q(os,{key:0,item:s},null,8,["item"])):(d(),Q(Cu,{key:1,text:s.text,items:s.items},null,8,["text","items"]))],64))),128))])):j("",!0),E(t.$slots,"default",{},void 0,!0)]))}});const Eu=O(Tu,[["__scopeId","data-v-1c5d0cfc"]]),Lu=["aria-expanded","aria-label"],Mu={key:0,class:"text"},Iu={class:"menu"},Au=R({__name:"VPFlyout",props:{icon:null,button:null,label:null,items:null},setup(e){const t=ue(!1),n=ue();iu({el:n,onBlur:s});function s(){t.value=!1}return(o,i)=>(d(),m("div",{class:"VPFlyout",ref_key:"el",ref:n,onMouseenter:i[1]||(i[1]=r=>t.value=!0),onMouseleave:i[2]||(i[2]=r=>t.value=!1)},[b("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":t.value,"aria-label":e.label,onClick:i[0]||(i[0]=r=>t.value=!t.value)},[e.button||e.icon?(d(),m("span",Mu,[e.icon?(d(),Q(eo(e.icon),{key:0,class:"option-icon"})):j("",!0),Te(" "+ae(e.button)+" ",1),V(br,{class:"text-icon"})])):(d(),Q(yu,{key:1,class:"icon"}))],8,Lu),b("div",Iu,[V(Eu,{items:e.items},{default:B(()=>[E(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}});const lo=O(Au,[["__scopeId","data-v-6ffb57d3"]]),Nu=R({__name:"VPNavBarMenuGroup",props:{item:null},setup(e){const{page:t}=le();return(n,s)=>(d(),Q(lo,{class:he({VPNavBarMenuGroup:!0,active:_(Jt)(_(t).relativePath,e.item.activeMatch,!!e.item.activeMatch)}),button:e.item.text,items:e.item.items},null,8,["class","button","items"]))}}),Bu=e=>(qe("data-v-f83db6ba"),e=e(),Ge(),e),Ou={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},Fu=Bu(()=>b("span",{id:"main-nav-aria-label",class:"visually-hidden"},"Main Navigation",-1)),Hu=R({__name:"VPNavBarMenu",setup(e){const{theme:t}=le();return(n,s)=>_(t).nav?(d(),m("nav",Ou,[Fu,(d(!0),m(Y,null,Se(_(t).nav,o=>(d(),m(Y,{key:o.text},["link"in o?(d(),Q(ou,{key:0,item:o},null,8,["item"])):(d(),Q(Nu,{key:1,item:o},null,8,["item"]))],64))),128))])):j("",!0)}});const Ru=O(Hu,[["__scopeId","data-v-f83db6ba"]]),Du={},zu={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Uu=b("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1),ju=b("path",{d:" M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z ",class:"css-c4d79v"},null,-1),Ku=[Uu,ju];function Wu(e,t){return d(),m("svg",zu,Ku)}const yr=O(Du,[["render",Wu]]),qu={class:"items"},Gu={class:"title"},Yu=R({__name:"VPNavBarTranslations",setup(e){const{theme:t}=le();return(n,s)=>_(t).localeLinks?(d(),Q(lo,{key:0,class:"VPNavBarTranslations",icon:yr},{default:B(()=>[b("div",qu,[b("p",Gu,ae(_(t).localeLinks.text),1),(d(!0),m(Y,null,Se(_(t).localeLinks.items,o=>(d(),Q(os,{key:o.link,item:o},null,8,["item"]))),128))])]),_:1})):j("",!0)}});const Qu=O(Yu,[["__scopeId","data-v-db824e91"]]);const Ju={},Xu={class:"VPSwitch",type:"button",role:"switch"},Zu={class:"check"},ef={key:0,class:"icon"};function tf(e,t){return d(),m("button",Xu,[b("span",Zu,[e.$slots.default?(d(),m("span",ef,[E(e.$slots,"default",{},void 0,!0)])):j("",!0)])])}const nf=O(Ju,[["render",tf],["__scopeId","data-v-eba7420e"]]),sf={},of={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},rf=_c('<path d="M12,18c-3.3,0-6-2.7-6-6s2.7-6,6-6s6,2.7,6,6S15.3,18,12,18zM12,8c-2.2,0-4,1.8-4,4c0,2.2,1.8,4,4,4c2.2,0,4-1.8,4-4C16,9.8,14.2,8,12,8z"></path><path d="M12,4c-0.6,0-1-0.4-1-1V1c0-0.6,0.4-1,1-1s1,0.4,1,1v2C13,3.6,12.6,4,12,4z"></path><path d="M12,24c-0.6,0-1-0.4-1-1v-2c0-0.6,0.4-1,1-1s1,0.4,1,1v2C13,23.6,12.6,24,12,24z"></path><path d="M5.6,6.6c-0.3,0-0.5-0.1-0.7-0.3L3.5,4.9c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l1.4,1.4c0.4,0.4,0.4,1,0,1.4C6.2,6.5,5.9,6.6,5.6,6.6z"></path><path d="M19.8,20.8c-0.3,0-0.5-0.1-0.7-0.3l-1.4-1.4c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l1.4,1.4c0.4,0.4,0.4,1,0,1.4C20.3,20.7,20,20.8,19.8,20.8z"></path><path d="M3,13H1c-0.6,0-1-0.4-1-1s0.4-1,1-1h2c0.6,0,1,0.4,1,1S3.6,13,3,13z"></path><path d="M23,13h-2c-0.6,0-1-0.4-1-1s0.4-1,1-1h2c0.6,0,1,0.4,1,1S23.6,13,23,13z"></path><path d="M4.2,20.8c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l1.4-1.4c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-1.4,1.4C4.7,20.7,4.5,20.8,4.2,20.8z"></path><path d="M18.4,6.6c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l1.4-1.4c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-1.4,1.4C18.9,6.5,18.6,6.6,18.4,6.6z"></path>',9),lf=[rf];function cf(e,t){return d(),m("svg",of,lf)}const af=O(sf,[["render",cf]]),uf={},ff={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},df=b("path",{d:"M12.1,22c-0.3,0-0.6,0-0.9,0c-5.5-0.5-9.5-5.4-9-10.9c0.4-4.8,4.2-8.6,9-9c0.4,0,0.8,0.2,1,0.5c0.2,0.3,0.2,0.8-0.1,1.1c-2,2.7-1.4,6.4,1.3,8.4c2.1,1.6,5,1.6,7.1,0c0.3-0.2,0.7-0.3,1.1-0.1c0.3,0.2,0.5,0.6,0.5,1c-0.2,2.7-1.5,5.1-3.6,6.8C16.6,21.2,14.4,22,12.1,22zM9.3,4.4c-2.9,1-5,3.6-5.2,6.8c-0.4,4.4,2.8,8.3,7.2,8.7c2.1,0.2,4.2-0.4,5.8-1.8c1.1-0.9,1.9-2.1,2.4-3.4c-2.5,0.9-5.3,0.5-7.5-1.1C9.2,11.4,8.1,7.7,9.3,4.4z"},null,-1),hf=[df];function _f(e,t){return d(),m("svg",ff,hf)}const pf=O(uf,[["render",_f]]),vf=R({__name:"VPSwitchAppearance",setup(e){const{site:t,isDark:n}=le(),s=ue(!1),o=typeof localStorage<"u"?i():()=>{};Re(()=>{s.value=document.documentElement.classList.contains("dark")});function i(){const r=window.matchMedia("(prefers-color-scheme: dark)"),l=document.documentElement.classList;let c=localStorage.getItem(Jo),f=t.value.appearance==="dark"&&c==null||(c==="auto"||c==null?r.matches:c==="dark");r.onchange=g=>{c==="auto"&&v(f=g.matches)};function h(){v(f=!f),c=f?r.matches?"auto":"dark":r.matches?"light":"auto",localStorage.setItem(Jo,c)}function v(g){const k=document.createElement("style");k.type="text/css",k.appendChild(document.createTextNode(`:not(.VPSwitchAppearance):not(.VPSwitchAppearance *) {
-webkit-transition: none !important;
-moz-transition: none !important;
-o-transition: none !important;
-ms-transition: none !important;
transition: none !important;
}`)),document.head.appendChild(k),s.value=g,l[g?"add":"remove"]("dark"),window.getComputedStyle(k).opacity,document.head.removeChild(k)}return h}return Ze(s,r=>{n.value=r}),(r,l)=>(d(),Q(nf,{class:"VPSwitchAppearance","aria-label":"toggle dark mode","aria-checked":s.value,onClick:_(o)},{default:B(()=>[V(af,{class:"sun"}),V(pf,{class:"moon"})]),_:1},8,["aria-checked","onClick"]))}});const co=O(vf,[["__scopeId","data-v-481098f9"]]),mf={key:0,class:"VPNavBarAppearance"},gf=R({__name:"VPNavBarAppearance",setup(e){const{site:t}=le();return(n,s)=>_(t).appearance?(d(),m("div",mf,[V(co)])):j("",!0)}});const bf=O(gf,[["__scopeId","data-v-a3e7452b"]]),yf={discord:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Discord</title><path d="M20.317 4.3698a19.7913 19.7913 0 00-4.8851-1.5152.0741.0741 0 00-.0785.0371c-.211.3753-.4447.8648-.6083 1.2495-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077 0 00-.0785-.037 19.7363 19.7363 0 00-4.8852 1.515.0699.0699 0 00-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 00.0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 00.0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 00-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 01-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 01.0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 01.0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 01-.0066.1276 12.2986 12.2986 0 01-1.873.8914.0766.0766 0 00-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 00.0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 00.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061 0 00-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.9555 2.4189-2.1569 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.946 2.4189-2.1568 2.4189Z"/></svg>',facebook:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Facebook</title><path d="M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"/></svg>',github:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>GitHub</title><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg>',instagram:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Instagram</title><path d="M12 0C8.74 0 8.333.015 7.053.072 5.775.132 4.905.333 4.14.63c-.789.306-1.459.717-2.126 1.384S.935 3.35.63 4.14C.333 4.905.131 5.775.072 7.053.012 8.333 0 8.74 0 12s.015 3.667.072 4.947c.06 1.277.261 2.148.558 2.913.306.788.717 1.459 1.384 2.126.667.666 1.336 1.079 2.126 1.384.766.296 1.636.499 2.913.558C8.333 23.988 8.74 24 12 24s3.667-.015 4.947-.072c1.277-.06 2.148-.262 2.913-.558.788-.306 1.459-.718 2.126-1.384.666-.667 1.079-1.335 1.384-2.126.296-.765.499-1.636.558-2.913.06-1.28.072-1.687.072-4.947s-.015-3.667-.072-4.947c-.06-1.277-.262-2.149-.558-2.913-.306-.789-.718-1.459-1.384-2.126C21.319 1.347 20.651.935 19.86.63c-.765-.297-1.636-.499-2.913-.558C15.667.012 15.26 0 12 0zm0 2.16c3.203 0 3.585.016 4.85.071 1.17.055 1.805.249 2.227.415.562.217.96.477 1.382.896.419.42.679.819.896 1.381.164.422.36 1.057.413 2.227.057 1.266.07 1.646.07 4.85s-.015 3.585-.074 4.85c-.061 1.17-.256 1.805-.421 2.227-.224.562-.479.96-.899 1.382-.419.419-.824.679-1.38.896-.42.164-1.065.36-2.235.413-1.274.057-1.649.07-4.859.07-3.211 0-3.586-.015-4.859-.074-1.171-.061-1.816-.256-2.236-.421-.569-.224-.96-.479-1.379-.899-.421-.419-.69-.824-.9-1.38-.165-.42-.359-1.065-.42-2.235-.045-1.26-.061-1.649-.061-4.844 0-3.196.016-3.586.061-4.861.061-1.17.255-1.814.42-2.234.21-.57.479-.96.9-1.381.419-.419.81-.689 1.379-.898.42-.166 1.051-.361 2.221-.421 1.275-.045 1.65-.06 4.859-.06l.045.03zm0 3.678c-3.405 0-6.162 2.76-6.162 6.162 0 3.405 2.76 6.162 6.162 6.162 3.405 0 6.162-2.76 6.162-6.162 0-3.405-2.76-6.162-6.162-6.162zM12 16c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4zm7.846-10.405c0 .795-.646 1.44-1.44 1.44-.795 0-1.44-.646-1.44-1.44 0-.794.646-1.439 1.44-1.439.793-.001 1.44.645 1.44 1.439z"/></svg>',linkedin:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>LinkedIn</title><path d="M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"/></svg>',slack:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Slack</title><path d="M5.042 15.165a2.528 2.528 0 0 1-2.52 2.523A2.528 2.528 0 0 1 0 15.165a2.527 2.527 0 0 1 2.522-2.52h2.52v2.52zM6.313 15.165a2.527 2.527 0 0 1 2.521-2.52 2.527 2.527 0 0 1 2.521 2.52v6.313A2.528 2.528 0 0 1 8.834 24a2.528 2.528 0 0 1-2.521-2.522v-6.313zM8.834 5.042a2.528 2.528 0 0 1-2.521-2.52A2.528 2.528 0 0 1 8.834 0a2.528 2.528 0 0 1 2.521 2.522v2.52H8.834zM8.834 6.313a2.528 2.528 0 0 1 2.521 2.521 2.528 2.528 0 0 1-2.521 2.521H2.522A2.528 2.528 0 0 1 0 8.834a2.528 2.528 0 0 1 2.522-2.521h6.312zM18.956 8.834a2.528 2.528 0 0 1 2.522-2.521A2.528 2.528 0 0 1 24 8.834a2.528 2.528 0 0 1-2.522 2.521h-2.522V8.834zM17.688 8.834a2.528 2.528 0 0 1-2.523 2.521 2.527 2.527 0 0 1-2.52-2.521V2.522A2.527 2.527 0 0 1 15.165 0a2.528 2.528 0 0 1 2.523 2.522v6.312zM15.165 18.956a2.528 2.528 0 0 1 2.523 2.522A2.528 2.528 0 0 1 15.165 24a2.527 2.527 0 0 1-2.52-2.522v-2.522h2.52zM15.165 17.688a2.527 2.527 0 0 1-2.52-2.523 2.526 2.526 0 0 1 2.52-2.52h6.313A2.527 2.527 0 0 1 24 15.165a2.528 2.528 0 0 1-2.522 2.523h-6.313z"/></svg>',twitter:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Twitter</title><path d="M23.953 4.57a10 10 0 01-2.825.775 4.958 4.958 0 002.163-2.723c-.951.555-2.005.959-3.127 1.184a4.92 4.92 0 00-8.384 4.482C7.69 8.095 4.067 6.13 1.64 3.162a4.822 4.822 0 00-.666 2.475c0 1.71.87 3.213 2.188 4.096a4.904 4.904 0 01-2.228-.616v.06a4.923 4.923 0 003.946 4.827 4.996 4.996 0 01-2.212.085 4.936 4.936 0 004.604 3.417 9.867 9.867 0 01-6.102 2.105c-.39 0-.779-.023-1.17-.067a13.995 13.995 0 007.557 2.209c9.053 0 13.998-7.496 13.998-13.985 0-.21 0-.42-.015-.63A9.935 9.935 0 0024 4.59z"/></svg>',youtube:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>YouTube</title><path d="M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"/></svg>'},xf=["href","innerHTML"],wf=R({__name:"VPSocialLink",props:{icon:null,link:null},setup(e){const t=e,n=ie(()=>typeof t.icon=="object"?t.icon.svg:yf[t.icon]);return(s,o)=>(d(),m("a",{class:"VPSocialLink",href:e.link,target:"_blank",rel:"noopener",innerHTML:_(n)},null,8,xf))}});const kf=O(wf,[["__scopeId","data-v-e57698f6"]]),$f={class:"VPSocialLinks"},Pf=R({__name:"VPSocialLinks",props:{links:null},setup(e){return(t,n)=>(d(),m("div",$f,[(d(!0),m(Y,null,Se(e.links,({link:s,icon:o})=>(d(),Q(kf,{key:s,icon:o,link:s},null,8,["icon","link"]))),128))]))}});const ao=O(Pf,[["__scopeId","data-v-f6988cfb"]]),Cf=R({__name:"VPNavBarSocialLinks",setup(e){const{theme:t}=le();return(n,s)=>_(t).socialLinks?(d(),Q(ao,{key:0,class:"VPNavBarSocialLinks",links:_(t).socialLinks},null,8,["links"])):j("",!0)}});const Sf=O(Cf,[["__scopeId","data-v-738bef5a"]]),Vf=e=>(qe("data-v-e4361c82"),e=e(),Ge(),e),Tf={key:0,class:"group"},Ef={class:"trans-title"},Lf={key:1,class:"group"},Mf={class:"item appearance"},If=Vf(()=>b("p",{class:"label"},"Appearance",-1)),Af={class:"appearance-action"},Nf={key:2,class:"group"},Bf={class:"item social-links"},Of=R({__name:"VPNavBarExtra",setup(e){const{site:t,theme:n}=le(),s=ie(()=>n.value.localeLinks||t.value.appearance||n.value.socialLinks);return(o,i)=>_(s)?(d(),Q(lo,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:B(()=>[_(n).localeLinks?(d(),m("div",Tf,[b("p",Ef,ae(_(n).localeLinks.text),1),(d(!0),m(Y,null,Se(_(n).localeLinks.items,r=>(d(),Q(os,{key:r.link,item:r},null,8,["item"]))),128))])):j("",!0),_(t).appearance?(d(),m("div",Lf,[b("div",Mf,[If,b("div",Af,[V(co)])])])):j("",!0),_(n).socialLinks?(d(),m("div",Nf,[b("div",Bf,[V(ao,{class:"social-links-list",links:_(n).socialLinks},null,8,["links"])])])):j("",!0)]),_:1})):j("",!0)}});const Ff=O(Of,[["__scopeId","data-v-e4361c82"]]),Hf=e=>(qe("data-v-e5dd9c1c"),e=e(),Ge(),e),Rf=["aria-expanded"],Df=Hf(()=>b("span",{class:"container"},[b("span",{class:"top"}),b("span",{class:"middle"}),b("span",{class:"bottom"})],-1)),zf=[Df],Uf=R({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(e){return(t,n)=>(d(),m("button",{type:"button",class:he(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:n[0]||(n[0]=s=>t.$emit("click"))},zf,10,Rf))}});const jf=O(Uf,[["__scopeId","data-v-e5dd9c1c"]]),Kf={class:"container"},Wf={class:"content"},qf=R({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(e){const{hasSidebar:t}=tt();return(n,s)=>(d(),m("div",{class:he(["VPNavBar",{"has-sidebar":_(t)}])},[b("div",Kf,[V(Ha,null,{"nav-bar-title-before":B(()=>[E(n.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":B(()=>[E(n.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3}),b("div",Wf,[E(n.$slots,"nav-bar-content-before",{},void 0,!0),V(Ga,{class:"search"}),V(Ru,{class:"menu"}),V(Qu,{class:"translations"}),V(bf,{class:"appearance"}),V(Sf,{class:"social-links"}),V(Ff,{class:"extra"}),E(n.$slots,"nav-bar-content-after",{},void 0,!0),V(jf,{class:"hamburger",active:e.isScreenOpen,onClick:s[0]||(s[0]=o=>n.$emit("toggle-screen"))},null,8,["active"])])])],2))}});const Gf=O(qf,[["__scopeId","data-v-6f1d18b5"]]);function Yf(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}else return Array.from(e)}var uo=!1;if(typeof window<"u"){var ii={get passive(){uo=!0}};window.addEventListener("testPassive",null,ii),window.removeEventListener("testPassive",null,ii)}var Rn=typeof window<"u"&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||window.navigator.platform==="MacIntel"&&window.navigator.maxTouchPoints>1),Rt=[],Dn=!1,fo=-1,rn=void 0,Ct=void 0,ln=void 0,xr=function(t){return Rt.some(function(n){return!!(n.options.allowTouchMove&&n.options.allowTouchMove(t))})},zn=function(t){var n=t||window.event;return xr(n.target)||n.touches.length>1?!0:(n.preventDefault&&n.preventDefault(),!1)},Qf=function(t){if(ln===void 0){var n=!!t&&t.reserveScrollBarGap===!0,s=window.innerWidth-document.documentElement.clientWidth;if(n&&s>0){var o=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right"),10);ln=document.body.style.paddingRight,document.body.style.paddingRight=o+s+"px"}}rn===void 0&&(rn=document.body.style.overflow,document.body.style.overflow="hidden")},Jf=function(){ln!==void 0&&(document.body.style.paddingRight=ln,ln=void 0),rn!==void 0&&(document.body.style.overflow=rn,rn=void 0)},Xf=function(){return window.requestAnimationFrame(function(){if(Ct===void 0){Ct={position:document.body.style.position,top:document.body.style.top,left:document.body.style.left};var t=window,n=t.scrollY,s=t.scrollX,o=t.innerHeight;document.body.style.position="fixed",document.body.style.top=-n,document.body.style.left=-s,setTimeout(function(){return window.requestAnimationFrame(function(){var i=o-window.innerHeight;i&&n>=o&&(document.body.style.top=-(n+i))})},300)}})},Zf=function(){if(Ct!==void 0){var t=-parseInt(document.body.style.top,10),n=-parseInt(document.body.style.left,10);document.body.style.position=Ct.position,document.body.style.top=Ct.top,document.body.style.left=Ct.left,window.scrollTo(n,t),Ct=void 0}},ed=function(t){return t?t.scrollHeight-t.scrollTop<=t.clientHeight:!1},td=function(t,n){var s=t.targetTouches[0].clientY-fo;return xr(t.target)?!1:n&&n.scrollTop===0&&s>0||ed(n)&&s<0?zn(t):(t.stopPropagation(),!0)},wr=function(t,n){if(!t){console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");return}if(!Rt.some(function(o){return o.targetElement===t})){var s={targetElement:t,options:n||{}};Rt=[].concat(Yf(Rt),[s]),Rn?Xf():Qf(n),Rn&&(t.ontouchstart=function(o){o.targetTouches.length===1&&(fo=o.targetTouches[0].clientY)},t.ontouchmove=function(o){o.targetTouches.length===1&&td(o,t)},Dn||(document.addEventListener("touchmove",zn,uo?{passive:!1}:void 0),Dn=!0))}},kr=function(){Rn&&(Rt.forEach(function(t){t.targetElement.ontouchstart=null,t.targetElement.ontouchmove=null}),Dn&&(document.removeEventListener("touchmove",zn,uo?{passive:!1}:void 0),Dn=!1),fo=-1),Rn?Zf():Jf(),Rt=[]};const nd=R({__name:"VPNavScreenMenuLink",props:{text:null,link:null},setup(e){const t=We("close-screen");return(n,s)=>(d(),Q(Et,{class:"VPNavScreenMenuLink",href:e.link,onClick:_(t)},{default:B(()=>[Te(ae(e.text),1)]),_:1},8,["href","onClick"]))}});const sd=O(nd,[["__scopeId","data-v-b7098508"]]),od={},id={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},rd=b("path",{d:"M18.9,10.9h-6v-6c0-0.6-0.4-1-1-1s-1,0.4-1,1v6h-6c-0.6,0-1,0.4-1,1s0.4,1,1,1h6v6c0,0.6,0.4,1,1,1s1-0.4,1-1v-6h6c0.6,0,1-0.4,1-1S19.5,10.9,18.9,10.9z"},null,-1),ld=[rd];function cd(e,t){return d(),m("svg",id,ld)}const ad=O(od,[["render",cd]]),ud=R({__name:"VPNavScreenMenuGroupLink",props:{text:null,link:null},setup(e){const t=We("close-screen");return(n,s)=>(d(),Q(Et,{class:"VPNavScreenMenuGroupLink",href:e.link,onClick:_(t)},{default:B(()=>[Te(ae(e.text),1)]),_:1},8,["href","onClick"]))}});const $r=O(ud,[["__scopeId","data-v-7f173864"]]),fd={class:"VPNavScreenMenuGroupSection"},dd={key:0,class:"title"},hd=R({__name:"VPNavScreenMenuGroupSection",props:{text:null,items:null},setup(e){return(t,n)=>(d(),m("div",fd,[e.text?(d(),m("p",dd,ae(e.text),1)):j("",!0),(d(!0),m(Y,null,Se(e.items,s=>(d(),Q($r,{key:s.text,text:s.text,link:s.link},null,8,["text","link"]))),128))]))}});const _d=O(hd,[["__scopeId","data-v-7478538b"]]),pd=["aria-controls","aria-expanded"],vd={class:"button-text"},md=["id"],gd={key:1,class:"group"},bd=R({__name:"VPNavScreenMenuGroup",props:{text:null,items:null},setup(e){const t=e,n=ue(!1),s=ie(()=>`NavScreenGroup-${t.text.replace(" ","-").toLowerCase()}`);function o(){n.value=!n.value}return(i,r)=>(d(),m("div",{class:he(["VPNavScreenMenuGroup",{open:n.value}])},[b("button",{class:"button","aria-controls":_(s),"aria-expanded":n.value,onClick:o},[b("span",vd,ae(e.text),1),V(ad,{class:"button-icon"})],8,pd),b("div",{id:_(s),class:"items"},[(d(!0),m(Y,null,Se(e.items,l=>(d(),m(Y,{key:l.text},["link"in l?(d(),m("div",{key:l.text,class:"item"},[V($r,{text:l.text,link:l.link},null,8,["text","link"])])):(d(),m("div",gd,[V(_d,{text:l.text,items:l.items},null,8,["text","items"])]))],64))),128))],8,md)],2))}});const yd=O(bd,[["__scopeId","data-v-5bc84358"]]),xd={key:0,class:"VPNavScreenMenu"},wd=R({__name:"VPNavScreenMenu",setup(e){const{theme:t}=le();return(n,s)=>_(t).nav?(d(),m("nav",xd,[(d(!0),m(Y,null,Se(_(t).nav,o=>(d(),m(Y,{key:o.text},["link"in o?(d(),Q(sd,{key:0,text:o.text,link:o.link},null,8,["text","link"])):(d(),Q(yd,{key:1,text:o.text||"",items:o.items},null,8,["text","items"]))],64))),128))])):j("",!0)}}),kd=e=>(qe("data-v-7bc19822"),e=e(),Ge(),e),$d={key:0,class:"VPNavScreenAppearance"},Pd=kd(()=>b("p",{class:"text"},"Appearance",-1)),Cd=R({__name:"VPNavScreenAppearance",setup(e){const{site:t}=le();return(n,s)=>_(t).appearance?(d(),m("div",$d,[Pd,V(co)])):j("",!0)}});const Sd=O(Cd,[["__scopeId","data-v-7bc19822"]]),Vd={class:"list"},Td=["href"],Ed=R({__name:"VPNavScreenTranslations",setup(e){const{theme:t}=le(),n=ue(!1);function s(){n.value=!n.value}return(o,i)=>_(t).localeLinks?(d(),m("div",{key:0,class:he(["VPNavScreenTranslations",{open:n.value}])},[b("button",{class:"title",onClick:s},[V(yr,{class:"icon lang"}),Te(" "+ae(_(t).localeLinks.text)+" ",1),V(br,{class:"icon chevron"})]),b("ul",Vd,[(d(!0),m(Y,null,Se(_(t).localeLinks.items,r=>(d(),m("li",{key:r.link,class:"item"},[b("a",{class:"link",href:r.link},ae(r.text),9,Td)]))),128))])],2)):j("",!0)}});const Ld=O(Ed,[["__scopeId","data-v-6bfcad30"]]),Md=R({__name:"VPNavScreenSocialLinks",setup(e){const{theme:t}=le();return(n,s)=>_(t).socialLinks?(d(),Q(ao,{key:0,class:"VPNavScreenSocialLinks",links:_(t).socialLinks},null,8,["links"])):j("",!0)}}),Id={class:"container"},Ad=R({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(e){const t=ue(null);function n(){wr(t.value,{reserveScrollBarGap:!0})}function s(){kr()}return(o,i)=>(d(),Q(ns,{name:"fade",onEnter:n,onAfterLeave:s},{default:B(()=>[e.open?(d(),m("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:t},[b("div",Id,[E(o.$slots,"nav-screen-content-before",{},void 0,!0),V(wd,{class:"menu"}),V(Ld,{class:"translations"}),V(Sd,{class:"appearance"}),V(Md,{class:"social-links"}),E(o.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):j("",!0)]),_:3}))}});const Nd=O(Ad,[["__scopeId","data-v-4a289eba"]]),Bd=R({__name:"VPNav",setup(e){const{isScreenOpen:t,closeScreen:n,toggleScreen:s}=Ia(),{hasSidebar:o}=tt();return Xn("close-screen",n),(i,r)=>(d(),m("header",{class:he(["VPNav",{"no-sidebar":!_(o)}])},[V(Gf,{"is-screen-open":_(t),onToggleScreen:_(s)},{"nav-bar-title-before":B(()=>[E(i.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":B(()=>[E(i.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":B(()=>[E(i.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":B(()=>[E(i.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),V(Nd,{open:_(t)},{"nav-screen-content-before":B(()=>[E(i.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":B(()=>[E(i.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])],2))}});const Od=O(Bd,[["__scopeId","data-v-a50780ff"]]),Fd={},Hd={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Rd=b("path",{d:"M17,11H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h14c0.6,0,1,0.4,1,1S17.6,11,17,11z"},null,-1),Dd=b("path",{d:"M21,7H3C2.4,7,2,6.6,2,6s0.4-1,1-1h18c0.6,0,1,0.4,1,1S21.6,7,21,7z"},null,-1),zd=b("path",{d:"M21,15H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h18c0.6,0,1,0.4,1,1S21.6,15,21,15z"},null,-1),Ud=b("path",{d:"M17,19H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h14c0.6,0,1,0.4,1,1S17.6,19,17,19z"},null,-1),jd=[Rd,Dd,zd,Ud];function Kd(e,t){return d(),m("svg",Hd,jd)}const Wd=O(Fd,[["render",Kd]]),qd=e=>(qe("data-v-b6162a8b"),e=e(),Ge(),e),Gd={key:0,class:"VPLocalNav"},Yd=["aria-expanded"],Qd=qd(()=>b("span",{class:"menu-text"},"Menu",-1)),Jd=R({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(e){const{hasSidebar:t}=tt();function n(){window.scrollTo({top:0,left:0,behavior:"smooth"})}return(s,o)=>_(t)?(d(),m("div",Gd,[b("button",{class:"menu","aria-expanded":e.open,"aria-controls":"VPSidebarNav",onClick:o[0]||(o[0]=i=>s.$emit("open-menu"))},[V(Wd,{class:"menu-icon"}),Qd],8,Yd),b("a",{class:"top-link",href:"#",onClick:n}," Return to top ")])):j("",!0)}});const Xd=O(Jd,[["__scopeId","data-v-b6162a8b"]]),Zd={},eh={version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},th=b("path",{d:"M19,2H5C3.3,2,2,3.3,2,5v14c0,1.7,1.3,3,3,3h14c1.7,0,3-1.3,3-3V5C22,3.3,20.7,2,19,2z M20,19c0,0.6-0.4,1-1,1H5c-0.6,0-1-0.4-1-1V5c0-0.6,0.4-1,1-1h14c0.6,0,1,0.4,1,1V19z"},null,-1),nh=b("path",{d:"M16,11h-3V8c0-0.6-0.4-1-1-1s-1,0.4-1,1v3H8c-0.6,0-1,0.4-1,1s0.4,1,1,1h3v3c0,0.6,0.4,1,1,1s1-0.4,1-1v-3h3c0.6,0,1-0.4,1-1S16.6,11,16,11z"},null,-1),sh=[th,nh];function oh(e,t){return d(),m("svg",eh,sh)}const ih=O(Zd,[["render",oh]]),rh={},lh={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 24 24"},ch=b("path",{d:"M19,2H5C3.3,2,2,3.3,2,5v14c0,1.7,1.3,3,3,3h14c1.7,0,3-1.3,3-3V5C22,3.3,20.7,2,19,2zM20,19c0,0.6-0.4,1-1,1H5c-0.6,0-1-0.4-1-1V5c0-0.6,0.4-1,1-1h14c0.6,0,1,0.4,1,1V19z"},null,-1),ah=b("path",{d:"M16,11H8c-0.6,0-1,0.4-1,1s0.4,1,1,1h8c0.6,0,1-0.4,1-1S16.6,11,16,11z"},null,-1),uh=[ch,ah];function fh(e,t){return d(),m("svg",lh,uh)}const dh=O(rh,[["render",fh]]),hh=["innerHTML"],_h=R({__name:"VPSidebarLink",props:{item:null,depth:{default:1}},setup(e){const{page:t,frontmatter:n}=le(),s=ie(()=>n.value.sidebarDepth||1/0),o=We("close-sidebar");return(i,r)=>{const l=Tt("VPSidebarLink",!0);return d(),m(Y,null,[V(Et,{class:he(["link",{active:_(Jt)(_(t).relativePath,e.item.link)}]),style:Un({paddingLeft:16*(e.depth-1)+"px"}),href:e.item.link,onClick:_(o)},{default:B(()=>[b("span",{innerHTML:e.item.text,class:he(["link-text",{light:e.depth>1}])},null,10,hh)]),_:1},8,["class","style","href","onClick"]),"items"in e.item&&e.depth<_(s)?(d(!0),m(Y,{key:0},Se(e.item.items,c=>(d(),Q(l,{key:c.link,item:c,depth:e.depth+1},null,8,["item","depth"]))),128)):j("",!0)],64)}}});const ph=O(_h,[["__scopeId","data-v-36b976d1"]]),vh=["role"],mh=["innerHTML"],gh={class:"action"},bh={class:"items"},yh=R({__name:"VPSidebarGroup",props:{text:null,items:null,collapsible:{type:Boolean},collapsed:{type:Boolean}},setup(e){const t=e,n=ue(!1);Ut(()=>{n.value=!!(t.collapsible&&t.collapsed)});const{page:s}=le();Ut(()=>{t.items.some(i=>Jt(s.value.relativePath,i.link))&&(n.value=!1)});function o(){t.collapsible&&(n.value=!n.value)}return(i,r)=>(d(),m("section",{class:he(["VPSidebarGroup",{collapsible:e.collapsible,collapsed:n.value}])},[e.text?(d(),m("div",{key:0,class:"title",role:e.collapsible?"button":void 0,onClick:o},[b("h2",{innerHTML:e.text,class:"title-text"},null,8,mh),b("div",gh,[V(dh,{class:"icon minus"}),V(ih,{class:"icon plus"})])],8,vh)):j("",!0),b("div",bh,[(d(!0),m(Y,null,Se(e.items,l=>(d(),Q(ph,{key:l.link,item:l},null,8,["item"]))),128))])],2))}});const xh=O(yh,[["__scopeId","data-v-6e45c352"]]),wh=e=>(qe("data-v-a186aa16"),e=e(),Ge(),e),kh={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},$h=wh(()=>b("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),Ph=R({__name:"VPSidebar",props:{open:{type:Boolean}},setup(e){const t=e,{sidebar:n,hasSidebar:s}=tt();let o=ue(null);function i(){wr(o.value,{reserveScrollBarGap:!0})}function r(){kr()}return Hi(async()=>{var l;t.open?(i(),(l=o.value)==null||l.focus()):r()}),(l,c)=>_(s)?(d(),m("aside",{key:0,class:he(["VPSidebar",{open:e.open}]),ref_key:"navEl",ref:o,onClick:c[0]||(c[0]=Xc(()=>{},["stop"]))},[b("nav",kh,[$h,E(l.$slots,"sidebar-nav-before",{},void 0,!0),(d(!0),m(Y,null,Se(_(n),f=>(d(),m("div",{key:f.text,class:"group"},[V(xh,{text:f.text,items:f.items,collapsible:f.collapsible,collapsed:f.collapsed},null,8,["text","items","collapsible","collapsed"])]))),128)),E(l.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):j("",!0)}});const Ch=O(Ph,[["__scopeId","data-v-a186aa16"]]),Sh={},Vh={class:"VPPage"};function Th(e,t){const n=Tt("Content");return d(),m("div",Vh,[V(n)])}const Eh=O(Sh,[["render",Th]]),Lh=R({__name:"VPButton",props:{tag:null,size:null,theme:null,text:null,href:null},setup(e){const t=e,n=ie(()=>{var i,r;return[(i=t.size)!=null?i:"medium",(r=t.theme)!=null?r:"brand"]}),s=ie(()=>t.href&&ss.test(t.href)),o=ie(()=>t.tag?t.tag:t.href?"a":"button");return(i,r)=>(d(),Q(eo(_(o)),{class:he(["VPButton",_(n)]),href:e.href?_(Hn)(e.href):void 0,target:_(s)?"_blank":void 0,rel:_(s)?"noreferrer":void 0},{default:B(()=>[Te(ae(e.text),1)]),_:1},8,["class","href","target","rel"]))}});const Mh=O(Lh,[["__scopeId","data-v-53dbb8eb"]]),Ih=e=>(qe("data-v-0a0d4301"),e=e(),Ge(),e),Ah={class:"container"},Nh={class:"main"},Bh={key:0,class:"name"},Oh={class:"clip"},Fh={key:1,class:"text"},Hh={key:2,class:"tagline"},Rh={key:3,class:"actions"},Dh={key:0,class:"image"},zh={class:"image-container"},Uh=Ih(()=>b("div",{class:"image-bg"},null,-1)),jh=R({__name:"VPHero",props:{name:null,text:null,tagline:null,image:null,actions:null},setup(e){return(t,n)=>(d(),m("div",{class:he(["VPHero",{"has-image":e.image}])},[b("div",Ah,[b("div",Nh,[e.name?(d(),m("h1",Bh,[b("span",Oh,ae(e.name),1)])):j("",!0),e.text?(d(),m("p",Fh,ae(e.text),1)):j("",!0),e.tagline?(d(),m("p",Hh,ae(e.tagline),1)):j("",!0),e.actions?(d(),m("div",Rh,[(d(!0),m(Y,null,Se(e.actions,s=>(d(),m("div",{key:s.link,class:"action"},[V(Mh,{tag:"a",size:"medium",theme:s.theme,text:s.text,href:s.link},null,8,["theme","text","href"])]))),128))])):j("",!0)]),e.image?(d(),m("div",Dh,[b("div",zh,[Uh,V(pr,{class:"image-src",image:e.image},null,8,["image"])])])):j("",!0)])],2))}});const Kh=O(jh,[["__scopeId","data-v-0a0d4301"]]),Wh=R({__name:"VPHomeHero",setup(e){const{frontmatter:t}=le();return(n,s)=>_(t).hero?(d(),Q(Kh,{key:0,class:"VPHomeHero",name:_(t).hero.name,text:_(t).hero.text,tagline:_(t).hero.tagline,image:_(t).hero.image,actions:_(t).hero.actions},null,8,["name","text","tagline","image","actions"])):j("",!0)}}),qh={},Gh={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Yh=b("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),Qh=[Yh];function Jh(e,t){return d(),m("svg",Gh,Qh)}const Xh=O(qh,[["render",Jh]]),Zh={class:"box"},e0={key:0,class:"icon"},t0={class:"title"},n0={class:"details"},s0={key:1,class:"link-text"},o0={class:"link-text-value"},i0=R({__name:"VPFeature",props:{icon:null,title:null,details:null,link:null,linkText:null},setup(e){return(t,n)=>(d(),Q(Et,{class:"VPFeature",href:e.link,"no-icon":!0},{default:B(()=>[b("article",Zh,[e.icon?(d(),m("div",e0,ae(e.icon),1)):j("",!0),b("h2",t0,ae(e.title),1),b("p",n0,ae(e.details),1),e.linkText?(d(),m("div",s0,[b("p",o0,[Te(ae(e.linkText)+" ",1),V(Xh,{class:"link-text-icon"})])])):j("",!0)])]),_:1},8,["href"]))}});const r0=O(i0,[["__scopeId","data-v-b8147458"]]),l0={key:0,class:"VPFeatures"},c0={class:"container"},a0={class:"items"},u0=R({__name:"VPFeatures",props:{features:null},setup(e){const t=e,n=ie(()=>{const s=t.features.length;if(s){if(s===2)return"grid-2";if(s===3)return"grid-3";if(s%3===0)return"grid-6";if(s%2===0)return"grid-4"}else return});return(s,o)=>e.features?(d(),m("div",l0,[b("div",c0,[b("div",a0,[(d(!0),m(Y,null,Se(e.features,i=>(d(),m("div",{key:i.title,class:he(["item",[_(n)]])},[V(r0,{icon:i.icon,title:i.title,details:i.details,link:i.link,"link-text":i.linkText},null,8,["icon","title","details","link","link-text"])],2))),128))])])])):j("",!0)}});const f0=O(u0,[["__scopeId","data-v-69662dc1"]]),d0=R({__name:"VPHomeFeatures",setup(e){const{frontmatter:t}=le();return(n,s)=>_(t).features?(d(),Q(f0,{key:0,class:"VPHomeFeatures",features:_(t).features},null,8,["features"])):j("",!0)}}),h0={class:"VPHome"},_0=R({__name:"VPHome",setup(e){return(t,n)=>{const s=Tt("Content");return d(),m("div",h0,[E(t.$slots,"home-hero-before",{},void 0,!0),V(Wh),E(t.$slots,"home-hero-after",{},void 0,!0),E(t.$slots,"home-features-before",{},void 0,!0),V(d0),E(t.$slots,"home-features-after",{},void 0,!0),V(s)])}}});const p0=O(_0,[["__scopeId","data-v-1db23833"]]);var ri;const mn=typeof window<"u";mn&&((ri=window==null?void 0:window.navigator)==null?void 0:ri.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function v0(e){return e}function m0(e){return jr()?(Kr(e),!0):!1}function g0(e){return typeof e=="function"?ie(e):ue(e)}function b0(e,t=!0){oo()?Re(e):t?e():Js(e)}const y0=mn?window:void 0;mn&&window.document;mn&&window.navigator;mn&&window.location;function x0(e,t=!1){const n=ue(),s=()=>n.value=Boolean(e());return s(),b0(s,t),n}function li(e,t={}){const{window:n=y0}=t,s=x0(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let o;const i=ue(!1),r=()=>{!o||("removeEventListener"in o?o.removeEventListener("change",l):o.removeListener(l))},l=()=>{!s.value||(r(),o=n.matchMedia(g0(e).value),i.value=o.matches,"addEventListener"in o?o.addEventListener("change",l):o.addListener(l))};return Ut(l),m0(()=>r()),i}const As=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ns="__vueuse_ssr_handlers__";As[Ns]=As[Ns]||{};As[Ns];var ci;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(ci||(ci={}));var w0=Object.defineProperty,ai=Object.getOwnPropertySymbols,k0=Object.prototype.hasOwnProperty,$0=Object.prototype.propertyIsEnumerable,ui=(e,t,n)=>t in e?w0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,P0=(e,t)=>{for(var n in t||(t={}))k0.call(t,n)&&ui(e,n,t[n]);if(ai)for(var n of ai(t))$0.call(t,n)&&ui(e,n,t[n]);return e};const C0={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};P0({linear:v0},C0);function S0(){const{hasSidebar:e}=tt(),t=li("(min-width: 960px)"),n=li("(min-width: 1280px)");return{isAsideEnabled:ie(()=>!n.value&&!t.value?!1:e.value?n.value:t.value)}}const V0=71;function T0(e){if(e===!1)return[];let t=[];return document.querySelectorAll("h2, h3, h4, h5, h6").forEach(n=>{n.textContent&&n.id&&t.push({level:Number(n.tagName[1]),title:n.innerText.replace(/\s+#\s*$/,""),link:`#${n.id}`})}),E0(t,e)}function E0(e,t=2){return L0(e,typeof t=="number"?[t,t]:t==="deep"?[2,6]:t)}function L0(e,t){const n=[];return e=e.map(s=>({...s})),e.forEach((s,o)=>{s.level>=t[0]&&s.level<=t[1]&&M0(o,e,t)&&n.push(s)}),n}function M0(e,t,n){if(e===0)return!0;const s=t[e];for(let o=e-1;o>=0;o--){const i=t[o];if(i.level<s.level&&i.level>=n[0]&&i.level<=n[1])return i.children==null&&(i.children=[]),i.children.push(s),!1}return!0}function I0(e,t){const{isAsideEnabled:n}=S0(),s=Pa(i,100);let o=null;Re(()=>{requestAnimationFrame(i),window.addEventListener("scroll",s)}),Xs(()=>{r(location.hash)}),pt(()=>{window.removeEventListener("scroll",s)});function i(){if(!n.value)return;const l=[].slice.call(e.value.querySelectorAll(".outline-link")),c=[].slice.call(document.querySelectorAll(".content .header-anchor")).filter(k=>l.some(M=>M.hash===k.hash&&k.offsetParent!==null)),f=window.scrollY,h=window.innerHeight,v=document.body.offsetHeight,g=Math.abs(f+h-v)<1;if(c.length&&g){r(c[c.length-1].hash);return}for(let k=0;k<c.length;k++){const M=c[k],N=c[k+1],[G,y]=A0(k,M,N);if(G){r(y);return}}}function r(l){o&&o.classList.remove("active"),l!==null&&(o=e.value.querySelector(`a[href="${decodeURIComponent(l)}"]`));const c=o;c?(c.classList.add("active"),t.value.style.top=c.offsetTop+33+"px",t.value.style.opacity="1"):(t.value.style.top="33px",t.value.style.opacity="0")}}function fi(e){return e.parentElement.offsetTop-V0}function A0(e,t,n){const s=window.scrollY;return e===0&&s===0?[!0,null]:s<fi(t)?[!1,null]:!n||s<fi(n)?[!0,t.hash]:[!1,null]}const N0=["href"],B0=R({__name:"VPDocAsideOutlineItem",props:{headers:null,onClick:null,root:{type:Boolean}},setup(e){return(t,n)=>{const s=Tt("VPDocAsideOutlineItem",!0);return d(),m("ul",{class:he(e.root?"root":"nested")},[(d(!0),m(Y,null,Se(e.headers,({children:o,link:i,title:r})=>(d(),m("li",null,[b("a",{class:"outline-link",href:i,onClick:n[0]||(n[0]=(...l)=>e.onClick&&e.onClick(...l))},ae(r),9,N0),o!=null&&o.length?(d(),Q(s,{key:0,headers:o,onClick:e.onClick},null,8,["headers","onClick"])):j("",!0)]))),256))],2)}}});const O0=O(B0,[["__scopeId","data-v-1188541a"]]),F0=e=>(qe("data-v-2865c0b0"),e=e(),Ge(),e),H0={class:"content"},R0={class:"outline-title"},D0={"aria-labelledby":"doc-outline-aria-label"},z0=F0(()=>b("span",{class:"visually-hidden",id:"doc-outline-aria-label"}," Table of Contents for current page ",-1)),U0=R({__name:"VPDocAsideOutline",setup(e){const{frontmatter:t,theme:n}=le(),s=ie(()=>{var h;return(h=t.value.outline)!=null?h:n.value.outline}),o=We("onContentUpdated");o.value=()=>{i.value=T0(s.value)};const i=ue([]),r=ie(()=>i.value.length>0),l=ue(),c=ue();I0(l,c);function f({target:h}){const v="#"+h.href.split("#")[1],g=document.querySelector(decodeURIComponent(v));g==null||g.focus()}return(h,v)=>(d(),m("div",{class:he(["VPDocAsideOutline",{"has-outline":_(r)}]),ref_key:"container",ref:l},[b("div",H0,[b("div",{class:"outline-marker",ref_key:"marker",ref:c},null,512),b("div",R0,ae(_(n).outlineTitle||"On this page"),1),b("nav",D0,[z0,V(O0,{headers:i.value,root:!0,onClick:f},null,8,["headers"])])])],2))}});const j0=O(U0,[["__scopeId","data-v-2865c0b0"]]),K0={class:"VPDocAsideCarbonAds"},W0=R({__name:"VPDocAsideCarbonAds",setup(e){const t=()=>null;return(n,s)=>(d(),m("div",K0,[V(_(t))]))}}),q0=e=>(qe("data-v-afc4c1a1"),e=e(),Ge(),e),G0={class:"VPDocAside"},Y0=q0(()=>b("div",{class:"spacer"},null,-1)),Q0=R({__name:"VPDocAside",setup(e){const{theme:t}=le();return(n,s)=>(d(),m("div",G0,[E(n.$slots,"aside-top",{},void 0,!0),E(n.$slots,"aside-outline-before",{},void 0,!0),V(j0),E(n.$slots,"aside-outline-after",{},void 0,!0),Y0,E(n.$slots,"aside-ads-before",{},void 0,!0),_(t).carbonAds?(d(),Q(W0,{key:0})):j("",!0),E(n.$slots,"aside-ads-after",{},void 0,!0),E(n.$slots,"aside-bottom",{},void 0,!0)]))}});const J0=O(Q0,[["__scopeId","data-v-afc4c1a1"]]);function X0(){const{theme:e,page:t}=le();return ie(()=>{const{text:n="Edit this page",pattern:s}=e.value.editLink||{},{relativePath:o}=t.value;return{url:s.replace(/:path/g,o),text:n}})}function Z0(){const{page:e,theme:t,frontmatter:n}=le();return ie(()=>{const s=_r(t.value.sidebar,e.value.relativePath),o=Ca(s),i=o.findIndex(r=>Jt(e.value.relativePath,r.link));return{prev:n.value.prev?{...o[i-1],text:n.value.prev}:o[i-1],next:n.value.next?{...o[i+1],text:n.value.next}:o[i+1]}})}const e_={},t_={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},n_=b("path",{d:"M18,23H4c-1.7,0-3-1.3-3-3V6c0-1.7,1.3-3,3-3h7c0.6,0,1,0.4,1,1s-0.4,1-1,1H4C3.4,5,3,5.4,3,6v14c0,0.6,0.4,1,1,1h14c0.6,0,1-0.4,1-1v-7c0-0.6,0.4-1,1-1s1,0.4,1,1v7C21,21.7,19.7,23,18,23z"},null,-1),s_=b("path",{d:"M8,17c-0.3,0-0.5-0.1-0.7-0.3C7,16.5,6.9,16.1,7,15.8l1-4c0-0.2,0.1-0.3,0.3-0.5l9.5-9.5c1.2-1.2,3.2-1.2,4.4,0c1.2,1.2,1.2,3.2,0,4.4l-9.5,9.5c-0.1,0.1-0.3,0.2-0.5,0.3l-4,1C8.2,17,8.1,17,8,17zM9.9,12.5l-0.5,2.1l2.1-0.5l9.3-9.3c0.4-0.4,0.4-1.1,0-1.6c-0.4-0.4-1.2-0.4-1.6,0l0,0L9.9,12.5z M18.5,2.5L18.5,2.5L18.5,2.5z"},null,-1),o_=[n_,s_];function i_(e,t){return d(),m("svg",t_,o_)}const r_=O(e_,[["render",i_]]),l_={class:"VPLastUpdated"},c_=["datetime"],a_=R({__name:"VPDocFooterLastUpdated",setup(e){const{theme:t,page:n}=le(),s=ie(()=>new Date(n.value.lastUpdated)),o=ie(()=>s.value.toISOString()),i=ue("");return Re(()=>{Ut(()=>{i.value=s.value.toLocaleString(window.navigator.language)})}),(r,l)=>{var c;return d(),m("p",l_,[Te(ae((c=_(t).lastUpdatedText)!=null?c:"Last updated")+": ",1),b("time",{datetime:_(o)},ae(i.value),9,c_)])}}});const u_=O(a_,[["__scopeId","data-v-18fe8fc2"]]),f_={key:0,class:"VPDocFooter"},d_={key:0,class:"edit-info"},h_={key:0,class:"edit-link"},__={key:1,class:"last-updated"},p_={key:1,class:"prev-next"},v_={class:"pager"},m_=["href"],g_=["innerHTML"],b_=["innerHTML"],y_=["href"],x_=["innerHTML"],w_=["innerHTML"],k_=R({__name:"VPDocFooter",setup(e){const{theme:t,page:n,frontmatter:s}=le(),o=X0(),i=Z0(),r=ie(()=>t.value.editLink&&s.value.editLink!==!1),l=ie(()=>n.value.lastUpdated&&s.value.lastUpdated!==!1),c=ie(()=>r.value||l.value||i.value.prev||i.value.next);return(f,h)=>{var v,g,k,M;return _(c)?(d(),m("footer",f_,[_(r)||_(l)?(d(),m("div",d_,[_(r)?(d(),m("div",h_,[V(Et,{class:"edit-link-button",href:_(o).url,"no-icon":!0},{default:B(()=>[V(r_,{class:"edit-link-icon"}),Te(" "+ae(_(o).text),1)]),_:1},8,["href"])])):j("",!0),_(l)?(d(),m("div",__,[V(u_)])):j("",!0)])):j("",!0),_(i).prev||_(i).next?(d(),m("div",p_,[b("div",v_,[_(i).prev?(d(),m("a",{key:0,class:"pager-link prev",href:_(Hn)(_(i).prev.link)},[b("span",{class:"desc",innerHTML:(g=(v=_(t).docFooter)==null?void 0:v.prev)!=null?g:"Previous page"},null,8,g_),b("span",{class:"title",innerHTML:_(i).prev.text},null,8,b_)],8,m_)):j("",!0)]),b("div",{class:he(["pager",{"has-prev":_(i).prev}])},[_(i).next?(d(),m("a",{key:0,class:"pager-link next",href:_(Hn)(_(i).next.link)},[b("span",{class:"desc",innerHTML:(M=(k=_(t).docFooter)==null?void 0:k.next)!=null?M:"Next page"},null,8,x_),b("span",{class:"title",innerHTML:_(i).next.text},null,8,w_)],8,y_)):j("",!0)],2)])):j("",!0)])):j("",!0)}}});const $_=O(k_,[["__scopeId","data-v-21f75714"]]),P_=e=>(qe("data-v-cfb513e0"),e=e(),Ge(),e),C_={class:"container"},S_={key:0,class:"aside"},V_=P_(()=>b("div",{class:"aside-curtain"},null,-1)),T_={class:"aside-container"},E_={class:"aside-content"},L_={class:"content"},M_={class:"content-container"},I_={class:"main"},A_=R({__name:"VPDoc",setup(e){const t=vt(),{hasSidebar:n,hasAside:s}=tt(),o=ie(()=>t.path.replace(/[./]+/g,"_").replace(/_html$/,"")),i=ue();return Xn("onContentUpdated",i),(r,l)=>{const c=Tt("Content");return d(),m("div",{class:he(["VPDoc",{"has-sidebar":_(n),"has-aside":_(s)}])},[b("div",C_,[_(s)?(d(),m("div",S_,[V_,b("div",T_,[b("div",E_,[V(J0,null,{"aside-top":B(()=>[E(r.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":B(()=>[E(r.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":B(()=>[E(r.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":B(()=>[E(r.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":B(()=>[E(r.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":B(()=>[E(r.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])])):j("",!0),b("div",L_,[b("div",M_,[E(r.$slots,"doc-before",{},void 0,!0),b("main",I_,[V(c,{class:he(["vp-doc",_(o)]),onContentUpdated:i.value},null,8,["class","onContentUpdated"])]),E(r.$slots,"doc-footer-before",{},void 0,!0),V($_),E(r.$slots,"doc-after",{},void 0,!0)])])])],2)}}});const N_=O(A_,[["__scopeId","data-v-cfb513e0"]]),B_=R({__name:"VPContent",setup(e){const t=vt(),{frontmatter:n}=le(),{hasSidebar:s}=tt(),o=We("NotFound");return(i,r)=>(d(),m("div",{class:he(["VPContent",{"has-sidebar":_(s),"is-home":_(n).layout==="home"}]),id:"VPContent"},[_(t).component===_(o)?(d(),Q(_(o),{key:0})):_(n).layout==="page"?(d(),Q(Eh,{key:1})):_(n).layout==="home"?(d(),Q(p0,{key:2},{"home-hero-before":B(()=>[E(i.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-after":B(()=>[E(i.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":B(()=>[E(i.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":B(()=>[E(i.$slots,"home-features-after",{},void 0,!0)]),_:3})):(d(),Q(N_,{key:3},{"doc-footer-before":B(()=>[E(i.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":B(()=>[E(i.$slots,"doc-before",{},void 0,!0)]),"doc-after":B(()=>[E(i.$slots,"doc-after",{},void 0,!0)]),"aside-top":B(()=>[E(i.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":B(()=>[E(i.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":B(()=>[E(i.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":B(()=>[E(i.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":B(()=>[E(i.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":B(()=>[E(i.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}});const O_=O(B_,[["__scopeId","data-v-d981fe29"]]),F_={class:"container"},H_=["innerHTML"],R_=["innerHTML"],D_=R({__name:"VPFooter",setup(e){const{theme:t}=le(),{hasSidebar:n}=tt();return(s,o)=>_(t).footer?(d(),m("footer",{key:0,class:he(["VPFooter",{"has-sidebar":_(n)}])},[b("div",F_,[_(t).footer.message?(d(),m("p",{key:0,class:"message",innerHTML:_(t).footer.message},null,8,H_)):j("",!0),_(t).footer.copyright?(d(),m("p",{key:1,class:"copyright",innerHTML:_(t).footer.copyright},null,8,R_)):j("",!0)])],2)):j("",!0)}});const z_=O(D_,[["__scopeId","data-v-9f24cc86"]]),U_={key:0,class:"Layout"},j_=R({__name:"Layout",setup(e){const{isOpen:t,open:n,close:s}=tt(),o=vt();Ze(()=>o.path,s),Sa(t,s),Xn("close-sidebar",s);const{frontmatter:i}=le();return(r,l)=>{const c=Tt("Content");return _(i).layout!==!1?(d(),m("div",U_,[E(r.$slots,"layout-top",{},void 0,!0),V(Ta),V(Ma,{class:"backdrop",show:_(t),onClick:_(s)},null,8,["show","onClick"]),V(Od,null,{"nav-bar-title-before":B(()=>[E(r.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":B(()=>[E(r.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":B(()=>[E(r.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":B(()=>[E(r.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":B(()=>[E(r.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":B(()=>[E(r.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),V(Xd,{open:_(t),onOpenMenu:_(n)},null,8,["open","onOpenMenu"]),V(Ch,{open:_(t)},{"sidebar-nav-before":B(()=>[E(r.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":B(()=>[E(r.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),V(O_,null,{"home-hero-before":B(()=>[E(r.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-after":B(()=>[E(r.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":B(()=>[E(r.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":B(()=>[E(r.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":B(()=>[E(r.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":B(()=>[E(r.$slots,"doc-before",{},void 0,!0)]),"doc-after":B(()=>[E(r.$slots,"doc-after",{},void 0,!0)]),"aside-top":B(()=>[E(r.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":B(()=>[E(r.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":B(()=>[E(r.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":B(()=>[E(r.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":B(()=>[E(r.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":B(()=>[E(r.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),V(z_),E(r.$slots,"layout-bottom",{},void 0,!0)])):(d(),Q(c,{key:1}))}}});const K_=O(j_,[["__scopeId","data-v-f44a984a"]]),is=e=>(qe("data-v-95656537"),e=e(),Ge(),e),W_={class:"NotFound"},q_=is(()=>b("p",{class:"code"},"404",-1)),G_=is(()=>b("h1",{class:"title"},"PAGE NOT FOUND",-1)),Y_=is(()=>b("div",{class:"divider"},null,-1)),Q_=is(()=>b("blockquote",{class:"quote"}," But if you don't change your direction, and if you keep looking, you may end up where you are heading. ",-1)),J_={class:"action"},X_=["href"],Z_=R({__name:"NotFound",setup(e){const{site:t}=le();return(n,s)=>(d(),m("div",W_,[q_,G_,Y_,Q_,b("div",J_,[b("a",{class:"link",href:_(t).base,"aria-label":"go to home"}," Take me home ",8,X_)])]))}});const e1=O(Z_,[["__scopeId","data-v-95656537"]]);const Dt={Layout:K_,NotFound:e1,enhanceApp:({app:e})=>{e.component("Badge",oa)}};function t1(e,t){let n=[],s=!0;const o=i=>{if(s){s=!1;return}n.forEach(r=>document.head.removeChild(r)),n=[],i.forEach(r=>{const l=n1(r);document.head.appendChild(l),n.push(l)})};Ut(()=>{const i=e.data,r=t.value,l=i&&i.description,c=i&&i.frontmatter.head||[];document.title=ar(r,i),document.querySelector("meta[name=description]").setAttribute("content",l||r.description),o(da(r.head,o1(c)))})}function n1([e,t,n]){const s=document.createElement(e);for(const o in t)s.setAttribute(o,t[o]);return n&&(s.innerHTML=n),s}function s1(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function o1(e){return e.filter(t=>!s1(t))}const bs=new Set,Pr=()=>document.createElement("link"),i1=e=>{const t=Pr();t.rel="prefetch",t.href=e,document.head.appendChild(t)},r1=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let Vn;const l1=Le&&(Vn=Pr())&&Vn.relList&&Vn.relList.supports&&Vn.relList.supports("prefetch")?i1:r1;function c1(){if(!Le||!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(i=>{i.forEach(r=>{if(r.isIntersecting){const l=r.target;n.unobserve(l);const{pathname:c}=l;if(!bs.has(c)){bs.add(c);const f=ur(c);l1(f)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(i=>{const{target:r,hostname:l,pathname:c}=i,f=c.match(/\.\w+$/);f&&f[0]!==".html"||r!=="_blank"&&l===location.hostname&&(c!==location.pathname?n.observe(i):bs.add(c))})})};Re(s);const o=vt();Ze(()=>o.path,s),pt(()=>{n&&n.disconnect()})}const a1=R({setup(e,{slots:t}){const n=ue(!1);return Re(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}});function u1(){if(Le){const e=new Map;window.addEventListener("click",t=>{var s;const n=t.target;if(n.matches('div[class*="language-"] > button.copy')){const o=n.parentElement,i=(s=n.nextElementSibling)==null?void 0:s.nextElementSibling;if(!o||!i)return;const r=/language-(shellscript|shell|bash|sh|zsh)/.test(o.classList.toString());let{innerText:l=""}=i;r&&(l=l.replace(/^ *(\$|>) /gm,"").trim()),f1(l).then(()=>{n.classList.add("copied"),clearTimeout(e.get(n));const c=setTimeout(()=>{n.classList.remove("copied"),n.blur(),e.delete(n)},2e3);e.set(n,c)})}})}}async function f1(e){try{return navigator.clipboard.writeText(e)}catch{const t=document.createElement("textarea"),n=document.activeElement;t.value=e,t.setAttribute("readonly",""),t.style.contain="strict",t.style.position="absolute",t.style.left="-9999px",t.style.fontSize="12pt";const s=document.getSelection(),o=s?s.rangeCount>0&&s.getRangeAt(0):null;document.body.appendChild(t),t.select(),t.selectionStart=0,t.selectionEnd=e.length,document.execCommand("copy"),document.body.removeChild(t),o&&(s.removeAllRanges(),s.addRange(o)),n&&n.focus()}}const Cr=Dt.NotFound||(()=>"404 Not Found"),d1=R({name:"VitePressApp",setup(){const{site:e}=le();return Re(()=>{Ze(()=>e.value.lang,t=>{document.documentElement.lang=t},{immediate:!0})}),c1(),u1(),Dt.setup&&Dt.setup(),()=>Fn(Dt.Layout)}});function h1(){const e=p1(),t=_1();t.provide(dr,e);const n=va(e.route);return t.provide(fr,n),t.provide("NotFound",Cr),t.component("Content",ya),t.component("ClientOnly",a1),Object.defineProperty(t.config.globalProperties,"$frontmatter",{get(){return n.frontmatter.value}}),Dt.enhanceApp&&Dt.enhanceApp({app:t,router:e,siteData:qt}),{app:t,router:e,data:n}}function _1(){return ta(d1)}function p1(){let e=Le,t;return ga(n=>{let s=ur(n);return e&&(t=s),(e||t===s)&&(s=s.replace(/\.js$/,".lean.js")),Le&&(e=!1),vr(()=>import(s),[])},Cr)}if(Le){const{app:e,router:t,data:n}=h1();t.go().then(()=>{t1(t.route,n.site),e.mount("#app")})}export{O as _,Ge as a,b,m as c,h1 as createApp,_c as d,Te as e,R as f,vt as g,le as h,Re as i,d as o,qe as p,ba as u};