7 lines
131 KiB
JavaScript
7 lines
131 KiB
JavaScript
function Es(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]}const Sr="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Vr=Es(Sr);function ai(e){return!!e||e===""}function Dn(e){if(K(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],o=we(s)?Er(s):Dn(s);if(o)for(const i in o)t[i]=o[i]}return t}else{if(we(e))return e;if(ge(e))return e}}const Tr=/;(?![^(]*\))/g,Lr=/:(.+)/;function Er(e){const t={};return e.split(Tr).forEach(n=>{if(n){const s=n.split(Lr);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function de(e){let t="";if(we(e))t=e;else if(K(e))for(let n=0;n<e.length;n++){const s=de(e[n]);s&&(t+=s+" ")}else if(ge(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const ae=e=>we(e)?e:e==null?"":K(e)||ge(e)&&(e.toString===hi||!X(e.toString))?JSON.stringify(e,ui,2):String(e),ui=(e,t)=>t&&t.__v_isRef?ui(e,t.value):Nt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,o])=>(n[`${s} =>`]=o,n),{})}:fi(t)?{[`Set(${t.size})`]:[...t.values()]}:ge(t)&&!K(t)&&!_i(t)?String(t):t,ve={},At=[],Ke=()=>{},Mr=()=>!1,Ir=/^on[^a-z]/,hn=e=>Ir.test(e),Ms=e=>e.startsWith("onUpdate:"),ke=Object.assign,Is=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Ar=Object.prototype.hasOwnProperty,se=(e,t)=>Ar.call(e,t),K=Array.isArray,Nt=e=>Rn(e)==="[object Map]",fi=e=>Rn(e)==="[object Set]",X=e=>typeof e=="function",we=e=>typeof e=="string",As=e=>typeof e=="symbol",ge=e=>e!==null&&typeof e=="object",di=e=>ge(e)&&X(e.then)&&X(e.catch),hi=Object.prototype.toString,Rn=e=>hi.call(e),Nr=e=>Rn(e).slice(8,-1),_i=e=>Rn(e)==="[object Object]",Ns=e=>we(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Zt=Es(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),jn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Br=/-(\w)/g,et=jn(e=>e.replace(Br,(t,n)=>n?n.toUpperCase():"")),Or=/\B([A-Z])/g,Wt=jn(e=>e.replace(Or,"-$1").toLowerCase()),zn=jn(e=>e.charAt(0).toUpperCase()+e.slice(1)),rs=jn(e=>e?`on${zn(e)}`:""),on=(e,t)=>!Object.is(e,t),ls=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Sn=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},pi=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let ho;const Fr=()=>ho||(ho=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let Ae;class Hr{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&Ae&&(this.parent=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.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.active=!1}}}function Dr(e,t=Ae){t&&t.active&&t.effects.push(e)}function Rr(){return Ae}function jr(e){Ae&&Ae.cleanups.push(e)}const Bs=e=>{const t=new Set(e);return t.w=0,t.n=0,t},vi=e=>(e.w&ht)>0,mi=e=>(e.n&ht)>0,zr=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=ht},Ur=e=>{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s<t.length;s++){const o=t[s];vi(o)&&!mi(o)?o.delete(e):t[n++]=o,o.w&=~ht,o.n&=~ht}t.length=n}},ps=new WeakMap;let Xt=0,ht=1;const vs=30;let ze;const St=Symbol(""),ms=Symbol("");class Os{constructor(t,n=null,s){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Dr(this,s)}run(){if(!this.active)return this.fn();let t=ze,n=ft;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=ze,ze=this,ft=!0,ht=1<<++Xt,Xt<=vs?zr(this):_o(this),this.fn()}finally{Xt<=vs&&Ur(this),ht=1<<--Xt,ze=this.parent,ft=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){ze===this?this.deferStop=!0:this.active&&(_o(this),this.onStop&&this.onStop(),this.active=!1)}}function _o(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 gi=[];function qt(){gi.push(ft),ft=!1}function Gt(){const e=gi.pop();ft=e===void 0?!0:e}function Be(e,t,n){if(ft&&ze){let s=ps.get(e);s||ps.set(e,s=new Map);let o=s.get(n);o||s.set(n,o=Bs()),bi(o)}}function bi(e,t){let n=!1;Xt<=vs?mi(e)||(e.n|=ht,n=!vi(e)):n=!e.has(ze),n&&(e.add(ze),ze.deps.push(e))}function ot(e,t,n,s,o,i){const r=ps.get(e);if(!r)return;let l=[];if(t==="clear")l=[...r.values()];else if(n==="length"&&K(e))r.forEach((c,f)=>{(f==="length"||f>=s)&&l.push(c)});else switch(n!==void 0&&l.push(r.get(n)),t){case"add":K(e)?Ns(n)&&l.push(r.get("length")):(l.push(r.get(St)),Nt(e)&&l.push(r.get(ms)));break;case"delete":K(e)||(l.push(r.get(St)),Nt(e)&&l.push(r.get(ms)));break;case"set":Nt(e)&&l.push(r.get(St));break}if(l.length===1)l[0]&&gs(l[0]);else{const c=[];for(const f of l)f&&c.push(...f);gs(Bs(c))}}function gs(e,t){const n=K(e)?e:[...e];for(const s of n)s.computed&&po(s);for(const s of n)s.computed||po(s)}function po(e,t){(e!==ze||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Kr=Es("__proto__,__v_isRef,__isVue"),yi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(As)),Wr=Fs(),qr=Fs(!1,!0),Gr=Fs(!0),vo=Yr();function Yr(){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){qt();const s=ce(this)[t].apply(this,n);return Gt(),s}}),e}function Fs(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?fl:Pi:t?$i:ki).get(s))return s;const r=K(s);if(!e&&r&&se(vo,o))return Reflect.get(vo,o,i);const l=Reflect.get(s,o,i);return(As(o)?yi.has(o):Kr(o))||(e||Be(s,"get",o),t)?l:Pe(l)?r&&Ns(o)?l:l.value:ge(l)?e?Rs(l):Kn(l):l}}const Qr=wi(),Jr=wi(!0);function wi(e=!1){return function(n,s,o,i){let r=n[s];if(jt(r)&&Pe(r)&&!Pe(o))return!1;if(!e&&(!Vn(o)&&!jt(o)&&(r=ce(r),o=ce(o)),!K(n)&&Pe(r)&&!Pe(o)))return r.value=o,!0;const l=K(n)&&Ns(s)?Number(s)<n.length:se(n,s),c=Reflect.set(n,s,o,i);return n===ce(i)&&(l?on(o,r)&&ot(n,"set",s,o):ot(n,"add",s,o)),c}}function Xr(e,t){const n=se(e,t);e[t];const s=Reflect.deleteProperty(e,t);return s&&n&&ot(e,"delete",t,void 0),s}function Zr(e,t){const n=Reflect.has(e,t);return(!As(t)||!yi.has(t))&&Be(e,"has",t),n}function el(e){return Be(e,"iterate",K(e)?"length":St),Reflect.ownKeys(e)}const xi={get:Wr,set:Qr,deleteProperty:Xr,has:Zr,ownKeys:el},tl={get:Gr,set(e,t){return!0},deleteProperty(e,t){return!0}},nl=ke({},xi,{get:qr,set:Jr}),Hs=e=>e,Un=e=>Reflect.getPrototypeOf(e);function mn(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}=Un(o),l=s?Hs:n?zs:rn;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 gn(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 bn(e,t=!1){return e=e.__v_raw,!t&&Be(ce(e),"iterate",St),Reflect.get(e,"size",e)}function mo(e){e=ce(e);const t=ce(this);return Un(t).has.call(t,e)||(t.add(e),ot(t,"add",e,e)),this}function go(e,t){t=ce(t);const n=ce(this),{has:s,get:o}=Un(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?on(t,r)&&ot(n,"set",e,t):ot(n,"add",e,t),this}function bo(e){const t=ce(this),{has:n,get:s}=Un(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 yo(){const e=ce(this),t=e.size!==0,n=e.clear();return t&&ot(e,"clear",void 0,void 0),n}function yn(e,t){return function(s,o){const i=this,r=i.__v_raw,l=ce(r),c=t?Hs:e?zs:rn;return!e&&Be(l,"iterate",St),r.forEach((f,h)=>s.call(o,c(f),c(h),i))}}function wn(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?Hs:t?zs:rn;return!t&&Be(i,"iterate",c?ms:St),{next(){const{value:v,done:y}=f.next();return y?{value:v,done:y}:{value:l?[h(v[0]),h(v[1])]:h(v),done:y}},[Symbol.iterator](){return this}}}}function rt(e){return function(...t){return e==="delete"?!1:this}}function sl(){const e={get(i){return mn(this,i)},get size(){return bn(this)},has:gn,add:mo,set:go,delete:bo,clear:yo,forEach:yn(!1,!1)},t={get(i){return mn(this,i,!1,!0)},get size(){return bn(this)},has:gn,add:mo,set:go,delete:bo,clear:yo,forEach:yn(!1,!0)},n={get(i){return mn(this,i,!0)},get size(){return bn(this,!0)},has(i){return gn.call(this,i,!0)},add:rt("add"),set:rt("set"),delete:rt("delete"),clear:rt("clear"),forEach:yn(!0,!1)},s={get(i){return mn(this,i,!0,!0)},get size(){return bn(this,!0)},has(i){return gn.call(this,i,!0)},add:rt("add"),set:rt("set"),delete:rt("delete"),clear:rt("clear"),forEach:yn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=wn(i,!1,!1),n[i]=wn(i,!0,!1),t[i]=wn(i,!1,!0),s[i]=wn(i,!0,!0)}),[e,n,t,s]}const[ol,il,rl,ll]=sl();function Ds(e,t){const n=t?e?ll:rl:e?il:ol;return(s,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?s:Reflect.get(se(n,o)&&o in s?n:s,o,i)}const cl={get:Ds(!1,!1)},al={get:Ds(!1,!0)},ul={get:Ds(!0,!1)},ki=new WeakMap,$i=new WeakMap,Pi=new WeakMap,fl=new WeakMap;function dl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function hl(e){return e.__v_skip||!Object.isExtensible(e)?0:dl(Nr(e))}function Kn(e){return jt(e)?e:js(e,!1,xi,cl,ki)}function _l(e){return js(e,!1,nl,al,$i)}function Rs(e){return js(e,!0,tl,ul,Pi)}function js(e,t,n,s,o){if(!ge(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=o.get(e);if(i)return i;const r=hl(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 jt(e)?Bt(e.__v_raw):!!(e&&e.__v_isReactive)}function jt(e){return!!(e&&e.__v_isReadonly)}function Vn(e){return!!(e&&e.__v_isShallow)}function Ci(e){return Bt(e)||jt(e)}function ce(e){const t=e&&e.__v_raw;return t?ce(t):e}function en(e){return Sn(e,"__v_skip",!0),e}const rn=e=>ge(e)?Kn(e):e,zs=e=>ge(e)?Rs(e):e;function Si(e){ft&&ze&&(e=ce(e),bi(e.dep||(e.dep=Bs())))}function Vi(e,t){e=ce(e),e.dep&&gs(e.dep)}function Pe(e){return!!(e&&e.__v_isRef===!0)}function me(e){return Ti(e,!1)}function pl(e){return Ti(e,!0)}function Ti(e,t){return Pe(e)?e:new vl(e,t)}class vl{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:rn(t)}get value(){return Si(this),this._value}set value(t){const n=this.__v_isShallow||Vn(t)||jt(t);t=n?t:ce(t),on(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:rn(t),Vi(this))}}function _(e){return Pe(e)?e.value:e}const ml={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 Li(e){return Bt(e)?e:new Proxy(e,ml)}var Ei;class gl{constructor(t,n,s,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[Ei]=!1,this._dirty=!0,this.effect=new Os(t,()=>{this._dirty||(this._dirty=!0,Vi(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=s}get value(){const t=ce(this);return Si(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}Ei="__v_isReadonly";function bl(e,t,n=!1){let s,o;const i=X(e);return i?(s=e,o=Ke):(s=e.get,o=e.set),new gl(s,o,i||!o,n)}function dt(e,t,n,s){let o;try{o=s?e(...s):e()}catch(i){Wn(i,t,n)}return o}function He(e,t,n,s){if(X(e)){const i=dt(e,t,n,s);return i&&di(i)&&i.catch(r=>{Wn(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 Wn(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}}yl(e,n,o,s)}function yl(e,t,n,s=!0){console.error(e)}let ln=!1,bs=!1;const $e=[];let Je=0;const Ot=[];let st=null,kt=0;const Mi=Promise.resolve();let Us=null;function Ks(e){const t=Us||Mi;return e?t.then(this?e.bind(this):e):t}function wl(e){let t=Je+1,n=$e.length;for(;t<n;){const s=t+n>>>1;cn($e[s])<e?t=s+1:n=s}return t}function Ws(e){(!$e.length||!$e.includes(e,ln&&e.allowRecurse?Je+1:Je))&&(e.id==null?$e.push(e):$e.splice(wl(e.id),0,e),Ii())}function Ii(){!ln&&!bs&&(bs=!0,Us=Mi.then(Ai))}function xl(e){const t=$e.indexOf(e);t>Je&&$e.splice(t,1)}function kl(e){K(e)?Ot.push(...e):(!st||!st.includes(e,e.allowRecurse?kt+1:kt))&&Ot.push(e),Ii()}function wo(e,t=ln?Je+1:0){for(;t<$e.length;t++){const n=$e[t];n&&n.pre&&($e.splice(t,1),t--,n())}}function Tn(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)=>cn(n)-cn(s)),kt=0;kt<st.length;kt++)st[kt]();st=null,kt=0}}const cn=e=>e.id==null?1/0:e.id,$l=(e,t)=>{const n=cn(e)-cn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Ai(e){bs=!1,ln=!0,$e.sort($l);const t=Ke;try{for(Je=0;Je<$e.length;Je++){const n=$e[Je];n&&n.active!==!1&&dt(n,null,14)}}finally{Je=0,$e.length=0,Tn(),ln=!1,Us=null,($e.length||Ot.length)&&Ai()}}function Pl(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ve;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:y}=s[h]||ve;y&&(o=n.map($=>$.trim())),v&&(o=n.map(pi))}let l,c=s[l=rs(t)]||s[l=rs(et(t))];!c&&i&&(c=s[l=rs(Wt(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 Ni(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=Ni(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?(ge(e)&&s.set(e,null),null):(K(i)?i.forEach(c=>r[c]=null):ke(r,i),ge(e)&&s.set(e,r),r)}function qn(e,t){return!e||!hn(t)?!1:(t=t.slice(2).replace(/Once$/,""),se(e,t[0].toLowerCase()+t.slice(1))||se(e,Wt(t))||se(e,t))}let Ve=null,Gn=null;function Ln(e){const t=Ve;return Ve=e,Gn=e&&e.type.__scopeId||null,t}function We(e){Gn=e}function qe(){Gn=null}function I(e,t=Ve,n){if(!t||e._n)return e;const s=(...o)=>{s._d&&Mo(-1);const i=Ln(t),r=e(...o);return Ln(i),s._d&&Mo(1),r};return s._n=!0,s._c=!0,s._d=!0,s}function cs(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:y,setupState:$,ctx:z,inheritAttrs:F}=e;let J,g;const L=Ln(e);try{if(n.shapeFlag&4){const Y=o||s;J=je(h.call(Y,Y,v,i,$,y,z)),g=c}else{const Y=t;J=je(Y.length>1?Y(i,{attrs:c,slots:l,emit:f}):Y(i,null)),g=t.props?c:Cl(c)}}catch(Y){tn.length=0,Wn(Y,e,1),J=V(Ne)}let U=J;if(g&&F!==!1){const Y=Object.keys(g),{shapeFlag:ne}=U;Y.length&&ne&7&&(r&&Y.some(Ms)&&(g=Sl(g,r)),U=_t(U,g))}return n.dirs&&(U=_t(U),U.dirs=U.dirs?U.dirs.concat(n.dirs):n.dirs),n.transition&&(U.transition=n.transition),J=U,Ln(L),J}const Cl=e=>{let t;for(const n in e)(n==="class"||n==="style"||hn(n))&&((t||(t={}))[n]=e[n]);return t},Sl=(e,t)=>{const n={};for(const s in e)(!Ms(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Vl(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?xo(s,r,f):!!r;if(c&8){const h=t.dynamicProps;for(let v=0;v<h.length;v++){const y=h[v];if(r[y]!==s[y]&&!qn(f,y))return!0}}}else return(o||l)&&(!l||!l.$stable)?!0:s===r?!1:s?r?xo(s,r,f):!0:!!r;return!1}function xo(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 Tl({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const Ll=e=>e.__isSuspense;function Bi(e,t){t&&t.pendingBranch?K(e)?t.effects.push(...e):t.effects.push(e):kl(e)}function Yn(e,t){if(xe){let n=xe.provides;const s=xe.parent&&xe.parent.provides;s===n&&(n=xe.provides=Object.create(s)),n[e]=t}}function Xe(e,t,n=!1){const s=xe||Ve;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 zt(e,t){return Qn(e,null,t)}function Oi(e,t){return Qn(e,null,{flush:"post"})}const ko={};function Ze(e,t,n){return Qn(e,t,n)}function Qn(e,t,{immediate:n,deep:s,flush:o,onTrack:i,onTrigger:r}=ve){const l=xe;let c,f=!1,h=!1;if(Pe(e)?(c=()=>e.value,f=Vn(e)):Bt(e)?(c=()=>e,s=!0):K(e)?(h=!0,f=e.some(g=>Bt(g)||Vn(g)),c=()=>e.map(g=>{if(Pe(g))return g.value;if(Bt(g))return It(g);if(X(g))return dt(g,l,2)})):X(e)?t?c=()=>dt(e,l,2):c=()=>{if(!(l&&l.isUnmounted))return v&&v(),He(e,l,3,[y])}:c=Ke,t&&s){const g=c;c=()=>It(g())}let v,y=g=>{v=J.onStop=()=>{dt(g,l,4)}};if(fn)return y=Ke,t?n&&He(t,l,3,[c(),h?[]:void 0,y]):c(),Ke;let $=h?[]:ko;const z=()=>{if(!!J.active)if(t){const g=J.run();(s||f||(h?g.some((L,U)=>on(L,$[U])):on(g,$)))&&(v&&v(),He(t,l,3,[g,$===ko?void 0:$,y]),$=g)}else J.run()};z.allowRecurse=!!t;let F;o==="sync"?F=z:o==="post"?F=()=>Le(z,l&&l.suspense):(z.pre=!0,l&&(z.id=l.uid),F=()=>Ws(z));const J=new Os(c,F);return t?n?z():$=J.run():o==="post"?Le(J.run.bind(J),l&&l.suspense):J.run(),()=>{J.stop(),l&&l.scope&&Is(l.scope.effects,J)}}function El(e,t,n){const s=this.proxy,o=we(e)?e.includes(".")?Fi(s,e):()=>s[e]:e.bind(s,s);let i;X(t)?i=t:(i=t.handler,n=t);const r=xe;Ut(this);const l=Qn(o,i.bind(s),n);return r?Ut(r):Vt(),l}function Fi(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(!ge(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(fi(e)||Nt(e))e.forEach(n=>{It(n,t)});else if(_i(e))for(const n in e)It(e[n],t);return e}function Ml(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return De(()=>{e.isMounted=!0}),zi(()=>{e.isUnmounting=!0}),e}const Oe=[Function,Array],Il={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=Zs(),s=Ml();let o;return()=>{const i=t.default&&Ri(t.default(),!0);if(!i||!i.length)return;let r=i[0];if(i.length>1){for(const F of i)if(F.type!==Ne){r=F;break}}const l=ce(e),{mode:c}=l;if(s.isLeaving)return as(r);const f=$o(r);if(!f)return as(r);const h=ys(f,l,s,n);ws(f,h);const v=n.subTree,y=v&&$o(v);let $=!1;const{getTransitionKey:z}=f.type;if(z){const F=z();o===void 0?o=F:F!==o&&(o=F,$=!0)}if(y&&y.type!==Ne&&(!$t(f,y)||$)){const F=ys(y,l,s,n);if(ws(y,F),c==="out-in")return s.isLeaving=!0,F.afterLeave=()=>{s.isLeaving=!1,n.update()},as(r);c==="in-out"&&f.type!==Ne&&(F.delayLeave=(J,g,L)=>{const U=Di(s,y);U[String(y.key)]=y,J._leaveCb=()=>{g(),J._leaveCb=void 0,delete h.delayedLeave},h.delayedLeave=L})}return r}}},Hi=Il;function Di(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 ys(e,t,n,s){const{appear:o,mode:i,persisted:r=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:f,onEnterCancelled:h,onBeforeLeave:v,onLeave:y,onAfterLeave:$,onLeaveCancelled:z,onBeforeAppear:F,onAppear:J,onAfterAppear:g,onAppearCancelled:L}=t,U=String(e.key),Y=Di(n,e),ne=(M,Z)=>{M&&He(M,s,9,Z)},he=(M,Z)=>{const Q=Z[1];ne(M,Z),K(M)?M.every(re=>re.length<=1)&&Q():M.length<=1&&Q()},oe={mode:i,persisted:r,beforeEnter(M){let Z=l;if(!n.isMounted)if(o)Z=F||l;else return;M._leaveCb&&M._leaveCb(!0);const Q=Y[U];Q&&$t(e,Q)&&Q.el._leaveCb&&Q.el._leaveCb(),ne(Z,[M])},enter(M){let Z=c,Q=f,re=h;if(!n.isMounted)if(o)Z=J||c,Q=g||f,re=L||h;else return;let N=!1;const ee=M._enterCb=H=>{N||(N=!0,H?ne(re,[M]):ne(Q,[M]),oe.delayedLeave&&oe.delayedLeave(),M._enterCb=void 0)};Z?he(Z,[M,ee]):ee()},leave(M,Z){const Q=String(e.key);if(M._enterCb&&M._enterCb(!0),n.isUnmounting)return Z();ne(v,[M]);let re=!1;const N=M._leaveCb=ee=>{re||(re=!0,Z(),ee?ne(z,[M]):ne($,[M]),M._leaveCb=void 0,Y[Q]===e&&delete Y[Q])};Y[Q]=e,y?he(y,[M,N]):N()},clone(M){return ys(M,t,n,s)}};return oe}function as(e){if(Jn(e))return e=_t(e),e.children=null,e}function $o(e){return Jn(e)?e.children?e.children[0]:void 0:e}function ws(e,t){e.shapeFlag&6&&e.component?ws(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 Ri(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===q?(r.patchFlag&128&&o++,s=s.concat(Ri(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 O(e){return X(e)?{setup:e,name:e.name}:e}const Ft=e=>!!e.type.__asyncLoader,Jn=e=>e.type.__isKeepAlive;function Al(e,t){ji(e,"a",t)}function Nl(e,t){ji(e,"da",t)}function ji(e,t,n=xe){const s=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Xn(t,s,n),n){let o=n.parent;for(;o&&o.parent;)Jn(o.parent.vnode)&&Bl(s,t,n,o),o=o.parent}}function Bl(e,t,n,s){const o=Xn(t,e,s,!0);pt(()=>{Is(s[t],o)},n)}function Xn(e,t,n=xe,s=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...r)=>{if(n.isUnmounted)return;qt(),Ut(n);const l=He(t,n,e,r);return Vt(),Gt(),l});return s?o.unshift(i):o.push(i),i}}const it=e=>(t,n=xe)=>(!fn||e==="sp")&&Xn(e,(...s)=>t(...s),n),Ol=it("bm"),De=it("m"),Fl=it("bu"),qs=it("u"),zi=it("bum"),pt=it("um"),Hl=it("sp"),Dl=it("rtg"),Rl=it("rtc");function jl(e,t=xe){Xn("ec",e,t)}function Qe(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&&(qt(),He(c,n,8,[e.el,l,e,t]),Gt())}}const Gs="components";function Tt(e,t){return Ki(Gs,e,!0,t)||e}const Ui=Symbol();function Ys(e){return we(e)?Ki(Gs,e,!1)||e:e||Ui}function Ki(e,t,n=!0,s=!1){const o=Ve||xe;if(o){const i=o.type;if(e===Gs){const l=gc(i,!1);if(l&&(l===t||l===et(t)||l===zn(et(t))))return i}const r=Po(o[e]||i[e],t)||Po(o.appContext[e],t);return!r&&s?i:r}}function Po(e,t){return e&&(e[t]||e[et(t)]||e[zn(et(t))])}function Ce(e,t,n,s){let o;const i=n&&n[s];if(K(e)||we(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(ge(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 T(e,t,n={},s,o){if(Ve.isCE||Ve.parent&&Ft(Ve.parent)&&Ve.parent.isCE)return V("slot",t==="default"?null:{name:t},s&&s());let i=e[t];i&&i._c&&(i._d=!1),d();const r=i&&Wi(i(n)),l=G(q,{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 Wi(e){return e.some(t=>An(t)?!(t.type===Ne||t.type===q&&!Wi(t.children)):!0)?e:null}const xs=e=>e?sr(e)?eo(e)||e.proxy:xs(e.parent):null,En=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=>xs(e.parent),$root:e=>xs(e.root),$emit:e=>e.emit,$options:e=>Qs(e),$forceUpdate:e=>e.f||(e.f=()=>Ws(e.update)),$nextTick:e=>e.n||(e.n=Ks.bind(e.proxy)),$watch:e=>El.bind(e)}),zl={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 $=r[t];if($!==void 0)switch($){case 1:return s[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if(s!==ve&&se(s,t))return r[t]=1,s[t];if(o!==ve&&se(o,t))return r[t]=2,o[t];if((f=e.propsOptions[0])&&se(f,t))return r[t]=3,i[t];if(n!==ve&&se(n,t))return r[t]=4,n[t];ks&&(r[t]=0)}}const h=En[t];let v,y;if(h)return t==="$attrs"&&Be(e,"get",t),h(e);if((v=l.__cssModules)&&(v=v[t]))return v;if(n!==ve&&se(n,t))return r[t]=4,n[t];if(y=c.config.globalProperties,se(y,t))return y[t]},set({_:e},t,n){const{data:s,setupState:o,ctx:i}=e;return o!==ve&&se(o,t)?(o[t]=n,!0):s!==ve&&se(s,t)?(s[t]=n,!0):se(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!==ve&&se(e,r)||t!==ve&&se(t,r)||(l=i[0])&&se(l,r)||se(s,r)||se(En,r)||se(o.config.globalProperties,r)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:se(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let ks=!0;function Ul(e){const t=Qs(e),n=e.proxy,s=e.ctx;ks=!1,t.beforeCreate&&Co(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:r,watch:l,provide:c,inject:f,created:h,beforeMount:v,mounted:y,beforeUpdate:$,updated:z,activated:F,deactivated:J,beforeDestroy:g,beforeUnmount:L,destroyed:U,unmounted:Y,render:ne,renderTracked:he,renderTriggered:oe,errorCaptured:M,serverPrefetch:Z,expose:Q,inheritAttrs:re,components:N,directives:ee,filters:H}=t;if(f&&Kl(f,s,null,e.appContext.config.unwrapInjectedRef),r)for(const be in r){const _e=r[be];X(_e)&&(s[be]=_e.bind(n))}if(o){const be=o.call(n,n);ge(be)&&(e.data=Kn(be))}if(ks=!0,i)for(const be in i){const _e=i[be],mt=X(_e)?_e.bind(n,n):X(_e.get)?_e.get.bind(n,n):Ke,pn=!X(_e)&&X(_e.set)?_e.set.bind(n):Ke,gt=ie({get:mt,set:pn});Object.defineProperty(s,be,{enumerable:!0,configurable:!0,get:()=>gt.value,set:Ge=>gt.value=Ge})}if(l)for(const be in l)qi(l[be],s,n,be);if(c){const be=X(c)?c.call(n):c;Reflect.ownKeys(be).forEach(_e=>{Yn(_e,be[_e])})}h&&Co(h,e,"c");function ue(be,_e){K(_e)?_e.forEach(mt=>be(mt.bind(n))):_e&&be(_e.bind(n))}if(ue(Ol,v),ue(De,y),ue(Fl,$),ue(qs,z),ue(Al,F),ue(Nl,J),ue(jl,M),ue(Rl,he),ue(Dl,oe),ue(zi,L),ue(pt,Y),ue(Hl,Z),K(Q))if(Q.length){const be=e.exposed||(e.exposed={});Q.forEach(_e=>{Object.defineProperty(be,_e,{get:()=>n[_e],set:mt=>n[_e]=mt})})}else e.exposed||(e.exposed={});ne&&e.render===Ke&&(e.render=ne),re!=null&&(e.inheritAttrs=re),N&&(e.components=N),ee&&(e.directives=ee)}function Kl(e,t,n=Ke,s=!1){K(e)&&(e=$s(e));for(const o in e){const i=e[o];let r;ge(i)?"default"in i?r=Xe(i.from||o,i.default,!0):r=Xe(i.from||o):r=Xe(i),Pe(r)&&s?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>r.value,set:l=>r.value=l}):t[o]=r}}function Co(e,t,n){He(K(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function qi(e,t,n,s){const o=s.includes(".")?Fi(n,s):()=>n[s];if(we(e)){const i=t[e];X(i)&&Ze(o,i)}else if(X(e))Ze(o,e.bind(n));else if(ge(e))if(K(e))e.forEach(i=>qi(i,t,n,s));else{const i=X(e.handler)?e.handler.bind(n):t[e.handler];X(i)&&Ze(o,i,e)}}function Qs(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=>Mn(c,f,r,!0)),Mn(c,t,r)),ge(t)&&i.set(t,c),c}function Mn(e,t,n,s=!1){const{mixins:o,extends:i}=t;i&&Mn(e,i,n,!0),o&&o.forEach(r=>Mn(e,r,n,!0));for(const r in t)if(!(s&&r==="expose")){const l=Wl[r]||n&&n[r];e[r]=l?l(e[r],t[r]):t[r]}return e}const Wl={data:So,props:xt,emits:xt,methods:xt,computed:xt,beforeCreate:Se,created:Se,beforeMount:Se,mounted:Se,beforeUpdate:Se,updated:Se,beforeDestroy:Se,beforeUnmount:Se,destroyed:Se,unmounted:Se,activated:Se,deactivated:Se,errorCaptured:Se,serverPrefetch:Se,components:xt,directives:xt,watch:Gl,provide:So,inject:ql};function So(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 ql(e,t){return xt($s(e),$s(t))}function $s(e){if(K(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Se(e,t){return e?[...new Set([].concat(e,t))]:t}function xt(e,t){return e?ke(ke(Object.create(null),e),t):t}function Gl(e,t){if(!e)return t;if(!t)return e;const n=ke(Object.create(null),e);for(const s in t)n[s]=Se(e[s],t[s]);return n}function Yl(e,t,n,s=!1){const o={},i={};Sn(i,Zn,1),e.propsDefaults=Object.create(null),Gi(e,t,o,i);for(const r in e.propsOptions[0])r in o||(o[r]=void 0);n?e.props=s?o:_l(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function Ql(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 y=h[v];if(qn(e.emitsOptions,y))continue;const $=t[y];if(c)if(se(i,y))$!==i[y]&&(i[y]=$,f=!0);else{const z=et(y);o[z]=Ps(c,l,z,$,e,!1)}else $!==i[y]&&(i[y]=$,f=!0)}}}else{Gi(e,t,o,i)&&(f=!0);let h;for(const v in l)(!t||!se(t,v)&&((h=Wt(v))===v||!se(t,h)))&&(c?n&&(n[v]!==void 0||n[h]!==void 0)&&(o[v]=Ps(c,l,v,void 0,e,!0)):delete o[v]);if(i!==l)for(const v in i)(!t||!se(t,v)&&!0)&&(delete i[v],f=!0)}f&&ot(e,"set","$attrs")}function Gi(e,t,n,s){const[o,i]=e.propsOptions;let r=!1,l;if(t)for(let c in t){if(Zt(c))continue;const f=t[c];let h;o&&se(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||ve;for(let h=0;h<i.length;h++){const v=i[h];n[v]=Ps(o,c,v,f[v],e,!se(f,v))}}return r}function Ps(e,t,n,s,o,i){const r=e[n];if(r!=null){const l=se(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]:(Ut(o),s=f[n]=c.call(null,t),Vt())}else s=c}r[0]&&(i&&!l?s=!1:r[1]&&(s===""||s===Wt(n))&&(s=!0))}return s}function Yi(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[y,$]=Yi(v,t,!0);ke(r,y),$&&l.push(...$)};!n&&t.mixins.length&&t.mixins.forEach(h),e.extends&&h(e.extends),e.mixins&&e.mixins.forEach(h)}if(!i&&!c)return ge(e)&&s.set(e,At),At;if(K(i))for(let h=0;h<i.length;h++){const v=et(i[h]);Vo(v)&&(r[v]=ve)}else if(i)for(const h in i){const v=et(h);if(Vo(v)){const y=i[h],$=r[v]=K(y)||X(y)?{type:y}:y;if($){const z=Eo(Boolean,$.type),F=Eo(String,$.type);$[0]=z>-1,$[1]=F<0||z<F,(z>-1||se($,"default"))&&l.push(v)}}}const f=[r,l];return ge(e)&&s.set(e,f),f}function Vo(e){return e[0]!=="$"}function To(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function Lo(e,t){return To(e)===To(t)}function Eo(e,t){return K(t)?t.findIndex(n=>Lo(n,e)):X(t)&&Lo(t,e)?0:-1}const Qi=e=>e[0]==="_"||e==="$stable",Js=e=>K(e)?e.map(je):[je(e)],Jl=(e,t,n)=>{if(t._n)return t;const s=I((...o)=>Js(t(...o)),n);return s._c=!1,s},Ji=(e,t,n)=>{const s=e._ctx;for(const o in e){if(Qi(o))continue;const i=e[o];if(X(i))t[o]=Jl(o,i,s);else if(i!=null){const r=Js(i);t[o]=()=>r}}},Xi=(e,t)=>{const n=Js(t);e.slots.default=()=>n},Xl=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=ce(t),Sn(t,"_",n)):Ji(t,e.slots={})}else e.slots={},t&&Xi(e,t);Sn(e.slots,Zn,1)},Zl=(e,t,n)=>{const{vnode:s,slots:o}=e;let i=!0,r=ve;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:(ke(o,t),!n&&l===1&&delete o._):(i=!t.$stable,Ji(t,o)),r=t}else t&&(Xi(e,t),r={default:1});if(i)for(const l in o)!Qi(l)&&!(l in r)&&delete o[l]};function Zi(){return{app:null,config:{isNativeTag:Mr,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 ec=0;function tc(e,t){return function(s,o=null){X(s)||(s=Object.assign({},s)),o!=null&&!ge(o)&&(o=null);const i=Zi(),r=new Set;let l=!1;const c=i.app={_uid:ec++,_component:s,_props:o,_container:null,_context:i,_instance:null,version:yc,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 y=V(s,o);return y.appContext=i,h&&t?t(y,f):e(y,f,v),l=!0,c._container=f,f.__vue_app__=c,eo(y.component)||y.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 In(e,t,n,s,o=!1){if(K(e)){e.forEach((y,$)=>In(y,t&&(K(t)?t[$]:t),n,s,o));return}if(Ft(s)&&!o)return;const i=s.shapeFlag&4?eo(s.component)||s.component.proxy:s.el,r=o?null:i,{i:l,r:c}=e,f=t&&t.r,h=l.refs===ve?l.refs={}:l.refs,v=l.setupState;if(f!=null&&f!==c&&(we(f)?(h[f]=null,se(v,f)&&(v[f]=null)):Pe(f)&&(f.value=null)),X(c))dt(c,l,12,[r,h]);else{const y=we(c),$=Pe(c);if(y||$){const z=()=>{if(e.f){const F=y?h[c]:c.value;o?K(F)&&Is(F,i):K(F)?F.includes(i)||F.push(i):y?(h[c]=[i],se(v,c)&&(v[c]=h[c])):(c.value=[i],e.k&&(h[e.k]=c.value))}else y?(h[c]=r,se(v,c)&&(v[c]=r)):$&&(c.value=r,e.k&&(h[e.k]=r))};r?(z.id=-1,Le(z,n)):z()}}}let lt=!1;const xn=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",kn=e=>e.nodeType===8;function nc(e){const{mt:t,p:n,o:{patchProp:s,createText:o,nextSibling:i,parentNode:r,remove:l,insert:c,createComment:f}}=e,h=(g,L)=>{if(!L.hasChildNodes()){n(null,g,L),Tn(),L._vnode=g;return}lt=!1,v(L.firstChild,g,null,null,null),Tn(),L._vnode=g,lt&&console.error("Hydration completed but contains mismatches.")},v=(g,L,U,Y,ne,he=!1)=>{const oe=kn(g)&&g.data==="[",M=()=>F(g,L,U,Y,ne,oe),{type:Z,ref:Q,shapeFlag:re,patchFlag:N}=L;let ee=g.nodeType;L.el=g,N===-2&&(he=!1,L.dynamicChildren=null);let H=null;switch(Z){case an:ee!==3?L.children===""?(c(L.el=o(""),r(g),g),H=g):H=M():(g.data!==L.children&&(lt=!0,g.data=L.children),H=i(g));break;case Ne:ee!==8||oe?H=M():H=i(g);break;case Ht:if(oe&&(g=i(g),ee=g.nodeType),ee===1||ee===3){H=g;const Me=!L.children.length;for(let ue=0;ue<L.staticCount;ue++)Me&&(L.children+=H.nodeType===1?H.outerHTML:H.data),ue===L.staticCount-1&&(L.anchor=H),H=i(H);return oe?i(H):H}else M();break;case q:oe?H=z(g,L,U,Y,ne,he):H=M();break;default:if(re&1)ee!==1||L.type.toLowerCase()!==g.tagName.toLowerCase()?H=M():H=y(g,L,U,Y,ne,he);else if(re&6){L.slotScopeIds=ne;const Me=r(g);if(t(L,Me,null,U,Y,xn(Me),he),H=oe?J(g):i(g),H&&kn(H)&&H.data==="teleport end"&&(H=i(H)),Ft(L)){let ue;oe?(ue=V(q),ue.anchor=H?H.previousSibling:Me.lastChild):ue=g.nodeType===3?Te(""):V("div"),ue.el=g,L.component.subTree=ue}}else re&64?ee!==8?H=M():H=L.type.hydrate(g,L,U,Y,ne,he,e,$):re&128&&(H=L.type.hydrate(g,L,U,Y,xn(r(g)),ne,he,e,v))}return Q!=null&&In(Q,null,Y,L),H},y=(g,L,U,Y,ne,he)=>{he=he||!!L.dynamicChildren;const{type:oe,props:M,patchFlag:Z,shapeFlag:Q,dirs:re}=L,N=oe==="input"&&re||oe==="option";if(N||Z!==-1){if(re&&Qe(L,null,U,"created"),M)if(N||!he||Z&48)for(const H in M)(N&&H.endsWith("value")||hn(H)&&!Zt(H))&&s(g,H,null,M[H],!1,void 0,U);else M.onClick&&s(g,"onClick",null,M.onClick,!1,void 0,U);let ee;if((ee=M&&M.onVnodeBeforeMount)&&Fe(ee,U,L),re&&Qe(L,null,U,"beforeMount"),((ee=M&&M.onVnodeMounted)||re)&&Bi(()=>{ee&&Fe(ee,U,L),re&&Qe(L,null,U,"mounted")},Y),Q&16&&!(M&&(M.innerHTML||M.textContent))){let H=$(g.firstChild,L,g,U,Y,ne,he);for(;H;){lt=!0;const Me=H;H=H.nextSibling,l(Me)}}else Q&8&&g.textContent!==L.children&&(lt=!0,g.textContent=L.children)}return g.nextSibling},$=(g,L,U,Y,ne,he,oe)=>{oe=oe||!!L.dynamicChildren;const M=L.children,Z=M.length;for(let Q=0;Q<Z;Q++){const re=oe?M[Q]:M[Q]=je(M[Q]);if(g)g=v(g,re,Y,ne,he,oe);else{if(re.type===an&&!re.children)continue;lt=!0,n(null,re,U,null,Y,ne,xn(U),he)}}return g},z=(g,L,U,Y,ne,he)=>{const{slotScopeIds:oe}=L;oe&&(ne=ne?ne.concat(oe):oe);const M=r(g),Z=$(i(g),L,M,U,Y,ne,he);return Z&&kn(Z)&&Z.data==="]"?i(L.anchor=Z):(lt=!0,c(L.anchor=f("]"),M,Z),Z)},F=(g,L,U,Y,ne,he)=>{if(lt=!0,L.el=null,he){const Z=J(g);for(;;){const Q=i(g);if(Q&&Q!==Z)l(Q);else break}}const oe=i(g),M=r(g);return l(g),n(null,L,M,oe,U,Y,xn(M),ne),oe},J=g=>{let L=0;for(;g;)if(g=i(g),g&&kn(g)&&(g.data==="["&&L++,g.data==="]")){if(L===0)return i(g);L--}return g};return[h,v]}const Le=Bi;function sc(e){return oc(e,nc)}function oc(e,t){const n=Fr();n.__VUE__=!0;const{insert:s,remove:o,patchProp:i,createElement:r,createText:l,createComment:c,setText:f,setElementText:h,parentNode:v,nextSibling:y,setScopeId:$=Ke,insertStaticContent:z}=e,F=(a,u,p,x=null,w=null,C=null,E=!1,P=null,S=!!u.dynamicChildren)=>{if(a===u)return;a&&!$t(a,u)&&(x=vn(a),Ge(a,w,C,!0),a=null),u.patchFlag===-2&&(S=!1,u.dynamicChildren=null);const{type:k,ref:D,shapeFlag:B}=u;switch(k){case an:J(a,u,p,x);break;case Ne:g(a,u,p,x);break;case Ht:a==null&&L(u,p,x,E);break;case q:N(a,u,p,x,w,C,E,P,S);break;default:B&1?ne(a,u,p,x,w,C,E,P,S):B&6?ee(a,u,p,x,w,C,E,P,S):(B&64||B&128)&&k.process(a,u,p,x,w,C,E,P,S,Et)}D!=null&&w&&In(D,a&&a.ref,C,u||a,!u)},J=(a,u,p,x)=>{if(a==null)s(u.el=l(u.children),p,x);else{const w=u.el=a.el;u.children!==a.children&&f(w,u.children)}},g=(a,u,p,x)=>{a==null?s(u.el=c(u.children||""),p,x):u.el=a.el},L=(a,u,p,x)=>{[a.el,a.anchor]=z(a.children,u,p,x,a.el,a.anchor)},U=({el:a,anchor:u},p,x)=>{let w;for(;a&&a!==u;)w=y(a),s(a,p,x),a=w;s(u,p,x)},Y=({el:a,anchor:u})=>{let p;for(;a&&a!==u;)p=y(a),o(a),a=p;o(u)},ne=(a,u,p,x,w,C,E,P,S)=>{E=E||u.type==="svg",a==null?he(u,p,x,w,C,E,P,S):Z(a,u,w,C,E,P,S)},he=(a,u,p,x,w,C,E,P)=>{let S,k;const{type:D,props:B,shapeFlag:R,transition:W,dirs:te}=a;if(S=a.el=r(a.type,C,B&&B.is,B),R&8?h(S,a.children):R&16&&M(a.children,S,null,x,w,C&&D!=="foreignObject",E,P),te&&Qe(a,null,x,"created"),B){for(const fe in B)fe!=="value"&&!Zt(fe)&&i(S,fe,null,B[fe],C,a.children,x,w,nt);"value"in B&&i(S,"value",null,B.value),(k=B.onVnodeBeforeMount)&&Fe(k,x,a)}oe(S,a,a.scopeId,E,x),te&&Qe(a,null,x,"beforeMount");const pe=(!w||w&&!w.pendingBranch)&&W&&!W.persisted;pe&&W.beforeEnter(S),s(S,u,p),((k=B&&B.onVnodeMounted)||pe||te)&&Le(()=>{k&&Fe(k,x,a),pe&&W.enter(S),te&&Qe(a,null,x,"mounted")},w)},oe=(a,u,p,x,w)=>{if(p&&$(a,p),x)for(let C=0;C<x.length;C++)$(a,x[C]);if(w){let C=w.subTree;if(u===C){const E=w.vnode;oe(a,E,E.scopeId,E.slotScopeIds,w.parent)}}},M=(a,u,p,x,w,C,E,P,S=0)=>{for(let k=S;k<a.length;k++){const D=a[k]=P?ut(a[k]):je(a[k]);F(null,D,u,p,x,w,C,E,P)}},Z=(a,u,p,x,w,C,E)=>{const P=u.el=a.el;let{patchFlag:S,dynamicChildren:k,dirs:D}=u;S|=a.patchFlag&16;const B=a.props||ve,R=u.props||ve;let W;p&&bt(p,!1),(W=R.onVnodeBeforeUpdate)&&Fe(W,p,u,a),D&&Qe(u,a,p,"beforeUpdate"),p&&bt(p,!0);const te=w&&u.type!=="foreignObject";if(k?Q(a.dynamicChildren,k,P,p,x,te,C):E||_e(a,u,P,null,p,x,te,C,!1),S>0){if(S&16)re(P,u,B,R,p,x,w);else if(S&2&&B.class!==R.class&&i(P,"class",null,R.class,w),S&4&&i(P,"style",B.style,R.style,w),S&8){const pe=u.dynamicProps;for(let fe=0;fe<pe.length;fe++){const ye=pe[fe],Re=B[ye],Mt=R[ye];(Mt!==Re||ye==="value")&&i(P,ye,Re,Mt,w,a.children,p,x,nt)}}S&1&&a.children!==u.children&&h(P,u.children)}else!E&&k==null&&re(P,u,B,R,p,x,w);((W=R.onVnodeUpdated)||D)&&Le(()=>{W&&Fe(W,p,u,a),D&&Qe(u,a,p,"updated")},x)},Q=(a,u,p,x,w,C,E)=>{for(let P=0;P<u.length;P++){const S=a[P],k=u[P],D=S.el&&(S.type===q||!$t(S,k)||S.shapeFlag&70)?v(S.el):p;F(S,k,D,null,x,w,C,E,!0)}},re=(a,u,p,x,w,C,E)=>{if(p!==x){if(p!==ve)for(const P in p)!Zt(P)&&!(P in x)&&i(a,P,p[P],null,E,u.children,w,C,nt);for(const P in x){if(Zt(P))continue;const S=x[P],k=p[P];S!==k&&P!=="value"&&i(a,P,k,S,E,u.children,w,C,nt)}"value"in x&&i(a,"value",p.value,x.value)}},N=(a,u,p,x,w,C,E,P,S)=>{const k=u.el=a?a.el:l(""),D=u.anchor=a?a.anchor:l("");let{patchFlag:B,dynamicChildren:R,slotScopeIds:W}=u;W&&(P=P?P.concat(W):W),a==null?(s(k,p,x),s(D,p,x),M(u.children,p,D,w,C,E,P,S)):B>0&&B&64&&R&&a.dynamicChildren?(Q(a.dynamicChildren,R,p,w,C,E,P),(u.key!=null||w&&u===w.subTree)&&er(a,u,!0)):_e(a,u,p,D,w,C,E,P,S)},ee=(a,u,p,x,w,C,E,P,S)=>{u.slotScopeIds=P,a==null?u.shapeFlag&512?w.ctx.activate(u,p,x,E,S):H(u,p,x,w,C,E,S):Me(a,u,S)},H=(a,u,p,x,w,C,E)=>{const P=a.component=hc(a,x,w);if(Jn(a)&&(P.ctx.renderer=Et),_c(P),P.asyncDep){if(w&&w.registerDep(P,ue),!a.el){const S=P.subTree=V(Ne);g(null,S,u,p)}return}ue(P,a,u,p,w,C,E)},Me=(a,u,p)=>{const x=u.component=a.component;if(Vl(a,u,p))if(x.asyncDep&&!x.asyncResolved){be(x,u,p);return}else x.next=u,xl(x.update),x.update();else u.el=a.el,x.vnode=u},ue=(a,u,p,x,w,C,E)=>{const P=()=>{if(a.isMounted){let{next:D,bu:B,u:R,parent:W,vnode:te}=a,pe=D,fe;bt(a,!1),D?(D.el=te.el,be(a,D,E)):D=te,B&&ls(B),(fe=D.props&&D.props.onVnodeBeforeUpdate)&&Fe(fe,W,D,te),bt(a,!0);const ye=cs(a),Re=a.subTree;a.subTree=ye,F(Re,ye,v(Re.el),vn(Re),a,w,C),D.el=ye.el,pe===null&&Tl(a,ye.el),R&&Le(R,w),(fe=D.props&&D.props.onVnodeUpdated)&&Le(()=>Fe(fe,W,D,te),w)}else{let D;const{el:B,props:R}=u,{bm:W,m:te,parent:pe}=a,fe=Ft(u);if(bt(a,!1),W&&ls(W),!fe&&(D=R&&R.onVnodeBeforeMount)&&Fe(D,pe,u),bt(a,!0),B&&is){const ye=()=>{a.subTree=cs(a),is(B,a.subTree,a,w,null)};fe?u.type.__asyncLoader().then(()=>!a.isUnmounted&&ye()):ye()}else{const ye=a.subTree=cs(a);F(null,ye,p,x,a,w,C),u.el=ye.el}if(te&&Le(te,w),!fe&&(D=R&&R.onVnodeMounted)){const ye=u;Le(()=>Fe(D,pe,ye),w)}(u.shapeFlag&256||pe&&Ft(pe.vnode)&&pe.vnode.shapeFlag&256)&&a.a&&Le(a.a,w),a.isMounted=!0,u=p=x=null}},S=a.effect=new Os(P,()=>Ws(k),a.scope),k=a.update=()=>S.run();k.id=a.uid,bt(a,!0),k()},be=(a,u,p)=>{u.component=a;const x=a.vnode.props;a.vnode=u,a.next=null,Ql(a,u.props,x,p),Zl(a,u.children,p),qt(),wo(),Gt()},_e=(a,u,p,x,w,C,E,P,S=!1)=>{const k=a&&a.children,D=a?a.shapeFlag:0,B=u.children,{patchFlag:R,shapeFlag:W}=u;if(R>0){if(R&128){pn(k,B,p,x,w,C,E,P,S);return}else if(R&256){mt(k,B,p,x,w,C,E,P,S);return}}W&8?(D&16&&nt(k,w,C),B!==k&&h(p,B)):D&16?W&16?pn(k,B,p,x,w,C,E,P,S):nt(k,w,C,!0):(D&8&&h(p,""),W&16&&M(B,p,x,w,C,E,P,S))},mt=(a,u,p,x,w,C,E,P,S)=>{a=a||At,u=u||At;const k=a.length,D=u.length,B=Math.min(k,D);let R;for(R=0;R<B;R++){const W=u[R]=S?ut(u[R]):je(u[R]);F(a[R],W,p,null,w,C,E,P,S)}k>D?nt(a,w,C,!0,!1,B):M(u,p,x,w,C,E,P,S,B)},pn=(a,u,p,x,w,C,E,P,S)=>{let k=0;const D=u.length;let B=a.length-1,R=D-1;for(;k<=B&&k<=R;){const W=a[k],te=u[k]=S?ut(u[k]):je(u[k]);if($t(W,te))F(W,te,p,null,w,C,E,P,S);else break;k++}for(;k<=B&&k<=R;){const W=a[B],te=u[R]=S?ut(u[R]):je(u[R]);if($t(W,te))F(W,te,p,null,w,C,E,P,S);else break;B--,R--}if(k>B){if(k<=R){const W=R+1,te=W<D?u[W].el:x;for(;k<=R;)F(null,u[k]=S?ut(u[k]):je(u[k]),p,te,w,C,E,P,S),k++}}else if(k>R)for(;k<=B;)Ge(a[k],w,C,!0),k++;else{const W=k,te=k,pe=new Map;for(k=te;k<=R;k++){const Ie=u[k]=S?ut(u[k]):je(u[k]);Ie.key!=null&&pe.set(Ie.key,k)}let fe,ye=0;const Re=R-te+1;let Mt=!1,ao=0;const Qt=new Array(Re);for(k=0;k<Re;k++)Qt[k]=0;for(k=W;k<=B;k++){const Ie=a[k];if(ye>=Re){Ge(Ie,w,C,!0);continue}let Ye;if(Ie.key!=null)Ye=pe.get(Ie.key);else for(fe=te;fe<=R;fe++)if(Qt[fe-te]===0&&$t(Ie,u[fe])){Ye=fe;break}Ye===void 0?Ge(Ie,w,C,!0):(Qt[Ye-te]=k+1,Ye>=ao?ao=Ye:Mt=!0,F(Ie,u[Ye],p,null,w,C,E,P,S),ye++)}const uo=Mt?ic(Qt):At;for(fe=uo.length-1,k=Re-1;k>=0;k--){const Ie=te+k,Ye=u[Ie],fo=Ie+1<D?u[Ie+1].el:x;Qt[k]===0?F(null,Ye,p,fo,w,C,E,P,S):Mt&&(fe<0||k!==uo[fe]?gt(Ye,p,fo,2):fe--)}}},gt=(a,u,p,x,w=null)=>{const{el:C,type:E,transition:P,children:S,shapeFlag:k}=a;if(k&6){gt(a.component.subTree,u,p,x);return}if(k&128){a.suspense.move(u,p,x);return}if(k&64){E.move(a,u,p,Et);return}if(E===q){s(C,u,p);for(let B=0;B<S.length;B++)gt(S[B],u,p,x);s(a.anchor,u,p);return}if(E===Ht){U(a,u,p);return}if(x!==2&&k&1&&P)if(x===0)P.beforeEnter(C),s(C,u,p),Le(()=>P.enter(C),w);else{const{leave:B,delayLeave:R,afterLeave:W}=P,te=()=>s(C,u,p),pe=()=>{B(C,()=>{te(),W&&W()})};R?R(C,te,pe):pe()}else s(C,u,p)},Ge=(a,u,p,x=!1,w=!1)=>{const{type:C,props:E,ref:P,children:S,dynamicChildren:k,shapeFlag:D,patchFlag:B,dirs:R}=a;if(P!=null&&In(P,null,p,a,!0),D&256){u.ctx.deactivate(a);return}const W=D&1&&R,te=!Ft(a);let pe;if(te&&(pe=E&&E.onVnodeBeforeUnmount)&&Fe(pe,u,a),D&6)Cr(a.component,p,x);else{if(D&128){a.suspense.unmount(p,x);return}W&&Qe(a,null,u,"beforeUnmount"),D&64?a.type.remove(a,u,p,w,Et,x):k&&(C!==q||B>0&&B&64)?nt(k,u,p,!1,!0):(C===q&&B&384||!w&&D&16)&&nt(S,u,p),x&&lo(a)}(te&&(pe=E&&E.onVnodeUnmounted)||W)&&Le(()=>{pe&&Fe(pe,u,a),W&&Qe(a,null,u,"unmounted")},p)},lo=a=>{const{type:u,el:p,anchor:x,transition:w}=a;if(u===q){Pr(p,x);return}if(u===Ht){Y(a);return}const C=()=>{o(p),w&&!w.persisted&&w.afterLeave&&w.afterLeave()};if(a.shapeFlag&1&&w&&!w.persisted){const{leave:E,delayLeave:P}=w,S=()=>E(p,C);P?P(a.el,C,S):S()}else C()},Pr=(a,u)=>{let p;for(;a!==u;)p=y(a),o(a),a=p;o(u)},Cr=(a,u,p)=>{const{bum:x,scope:w,update:C,subTree:E,um:P}=a;x&&ls(x),w.stop(),C&&(C.active=!1,Ge(E,a,u,p)),P&&Le(P,u),Le(()=>{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,x=!1,w=!1,C=0)=>{for(let E=C;E<a.length;E++)Ge(a[E],u,p,x,w)},vn=a=>a.shapeFlag&6?vn(a.component.subTree):a.shapeFlag&128?a.suspense.next():y(a.anchor||a.el),co=(a,u,p)=>{a==null?u._vnode&&Ge(u._vnode,null,null,!0):F(u._vnode||null,a,u,null,null,null,p),wo(),Tn(),u._vnode=a},Et={p:F,um:Ge,m:gt,r:lo,mt:H,mc:M,pc:_e,pbc:Q,n:vn,o:e};let os,is;return t&&([os,is]=t(Et)),{render:co,hydrate:os,createApp:tc(co,os)}}function bt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function er(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||er(r,l))}}function ic(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 rc=e=>e.__isTeleport,q=Symbol(void 0),an=Symbol(void 0),Ne=Symbol(void 0),Ht=Symbol(void 0),tn=[];let Ue=null;function d(e=!1){tn.push(Ue=e?null:[])}function lc(){tn.pop(),Ue=tn[tn.length-1]||null}let un=1;function Mo(e){un+=e}function tr(e){return e.dynamicChildren=un>0?Ue||At:null,lc(),un>0&&Ue&&Ue.push(e),e}function m(e,t,n,s,o,i){return tr(b(e,t,n,s,o,i,!0))}function G(e,t,n,s,o){return tr(V(e,t,n,s,o,!0))}function An(e){return e?e.__v_isVNode===!0:!1}function $t(e,t){return e.type===t.type&&e.key===t.key}const Zn="__vInternal",nr=({key:e})=>e!=null?e:null,Pn=({ref:e,ref_key:t,ref_for:n})=>e!=null?we(e)||Pe(e)||X(e)?{i:Ve,r:e,k:t,f:!!n}:e:null;function b(e,t=null,n=null,s=0,o=null,i=e===q?0:1,r=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&nr(t),ref:t&&Pn(t),scopeId:Gn,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};return l?(Xs(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=we(n)?8:16),un>0&&!r&&Ue&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Ue.push(c),c}const V=cc;function cc(e,t=null,n=null,s=0,o=null,i=!1){if((!e||e===Ui)&&(e=Ne),An(e)){const l=_t(e,t,!0);return n&&Xs(l,n),un>0&&!i&&Ue&&(l.shapeFlag&6?Ue[Ue.indexOf(e)]=l:Ue.push(l)),l.patchFlag|=-2,l}if(bc(e)&&(e=e.__vccOpts),t){t=ac(t);let{class:l,style:c}=t;l&&!we(l)&&(t.class=de(l)),ge(c)&&(Ci(c)&&!K(c)&&(c=ke({},c)),t.style=Dn(c))}const r=we(e)?1:Ll(e)?128:rc(e)?64:ge(e)?4:X(e)?2:0;return b(e,t,n,s,o,r,i,!0)}function ac(e){return e?Ci(e)||Zn in e?ke({},e):e:null}function _t(e,t,n=!1){const{props:s,ref:o,patchFlag:i,children:r}=e,l=t?Cn(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&nr(l),ref:t&&t.ref?n&&o?K(o)?o.concat(Pn(t)):[o,Pn(t)]:Pn(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!==q?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}}function Te(e=" ",t=0){return V(an,null,e,t)}function uc(e,t){const n=V(Ht,null,e);return n.staticCount=t,n}function j(e="",t=!1){return t?(d(),G(Ne,null,e)):V(Ne,null,e)}function je(e){return e==null||typeof e=="boolean"?V(Ne):K(e)?V(q,null,e.slice()):typeof e=="object"?ut(e):V(an,null,String(e))}function ut(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:_t(e)}function Xs(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),Xs(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(Zn in t)?t._ctx=Ve:o===3&&Ve&&(Ve.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else X(t)?(t={default:t,_ctx:Ve},n=32):(t=String(t),s&64?(n=16,t=[Te(t)]):n=8);e.children=t,e.shapeFlag|=n}function Cn(...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=de([t.class,s.class]));else if(o==="style")t.style=Dn([t.style,s.style]);else if(hn(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 fc=Zi();let dc=0;function hc(e,t,n){const s=e.type,o=(t?t.appContext:e.appContext)||fc,i={uid:dc++,vnode:e,type:s,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new Hr(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Yi(s,o),emitsOptions:Ni(s,o),emit:null,emitted:null,propsDefaults:ve,inheritAttrs:s.inheritAttrs,ctx:ve,data:ve,props:ve,attrs:ve,slots:ve,refs:ve,setupState:ve,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=Pl.bind(null,i),e.ce&&e.ce(i),i}let xe=null;const Zs=()=>xe||Ve,Ut=e=>{xe=e,e.scope.on()},Vt=()=>{xe&&xe.scope.off(),xe=null};function sr(e){return e.vnode.shapeFlag&4}let fn=!1;function _c(e,t=!1){fn=t;const{props:n,children:s}=e.vnode,o=sr(e);Yl(e,n,o,t),Xl(e,s);const i=o?pc(e,t):void 0;return fn=!1,i}function pc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=en(new Proxy(e.ctx,zl));const{setup:s}=n;if(s){const o=e.setupContext=s.length>1?mc(e):null;Ut(e),qt();const i=dt(s,e,0,[e.props,o]);if(Gt(),Vt(),di(i)){if(i.then(Vt,Vt),t)return i.then(r=>{Io(e,r,t)}).catch(r=>{Wn(r,e,0)});e.asyncDep=i}else Io(e,i,t)}else or(e,t)}function Io(e,t,n){X(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ge(t)&&(e.setupState=Li(t)),or(e,n)}let Ao;function or(e,t,n){const s=e.type;if(!e.render){if(!t&&Ao&&!s.render){const o=s.template||Qs(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=Ao(o,f)}}e.render=s.render||Ke}Ut(e),qt(),Ul(e),Gt(),Vt()}function vc(e){return new Proxy(e.attrs,{get(t,n){return Be(e,"get","$attrs"),t[n]}})}function mc(e){const t=s=>{e.exposed=s||{}};let n;return{get attrs(){return n||(n=vc(e))},slots:e.slots,emit:e.emit,expose:t}}function eo(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Li(en(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in En)return En[n](e)}}))}function gc(e,t=!0){return X(e)?e.displayName||e.name:e.name||t&&e.__name}function bc(e){return X(e)&&"__vccOpts"in e}const ie=(e,t)=>bl(e,t,fn);function Nn(e,t,n){const s=arguments.length;return s===2?ge(t)&&!K(t)?An(t)?V(e,null,[t]):V(e,t):V(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&An(n)&&(n=[n]),V(e,t,n))}const yc="3.2.40",wc="http://www.w3.org/2000/svg",Pt=typeof document<"u"?document:null,No=Pt&&Pt.createElement("template"),xc={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(wc,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{No.innerHTML=s?`<svg>${e}</svg>`:e;const l=No.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 kc(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 $c(e,t,n){const s=e.style,o=we(n);if(n&&!o){for(const i in n)Cs(s,i,n[i]);if(t&&!we(t))for(const i in t)n[i]==null&&Cs(s,i,"")}else{const i=s.display;o?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=i)}}const Bo=/\s*!important$/;function Cs(e,t,n){if(K(n))n.forEach(s=>Cs(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Pc(e,t);Bo.test(n)?e.setProperty(Wt(s),n.replace(Bo,""),"important"):e[s]=n}}const Oo=["Webkit","Moz","ms"],us={};function Pc(e,t){const n=us[t];if(n)return n;let s=et(t);if(s!=="filter"&&s in e)return us[t]=s;s=zn(s);for(let o=0;o<Oo.length;o++){const i=Oo[o]+s;if(i in e)return us[t]=i}return t}const Fo="http://www.w3.org/1999/xlink";function Cc(e,t,n,s,o){if(s&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Fo,t.slice(6,t.length)):e.setAttributeNS(Fo,t,n);else{const i=Vr(t);n==null||i&&!ai(n)?e.removeAttribute(t):e.setAttribute(t,i?"":n)}}function Sc(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=ai(n):n==null&&c==="string"?(n="",l=!0):c==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}const[ir,Vc]=(()=>{let e=Date.now,t=!1;if(typeof window<"u"){Date.now()>document.createEvent("Event").timeStamp&&(e=performance.now.bind(performance));const n=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(n&&Number(n[1])<=53)}return[e,t]})();let Ss=0;const Tc=Promise.resolve(),Lc=()=>{Ss=0},Ec=()=>Ss||(Tc.then(Lc),Ss=ir());function Mc(e,t,n,s){e.addEventListener(t,n,s)}function Ic(e,t,n,s){e.removeEventListener(t,n,s)}function Ac(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]=Nc(t);if(s){const f=i[t]=Bc(s,o);Mc(e,l,f,c)}else r&&(Ic(e,l,r,c),i[t]=void 0)}}const Ho=/(?:Once|Passive|Capture)$/;function Nc(e){let t;if(Ho.test(e)){t={};let s;for(;s=e.match(Ho);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Wt(e.slice(2)),t]}function Bc(e,t){const n=s=>{const o=s.timeStamp||ir();(Vc||o>=n.attached-1)&&He(Oc(s,n.value),t,5,[s])};return n.value=e,n.attached=Ec(),n}function Oc(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 Do=/^on[a-z]/,Fc=(e,t,n,s,o=!1,i,r,l,c)=>{t==="class"?kc(e,s,o):t==="style"?$c(e,n,s):hn(t)?Ms(t)||Ac(e,t,n,s,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Hc(e,t,s,o))?Sc(e,t,s,i,r,l,c):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Cc(e,t,s,o))};function Hc(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&Do.test(t)&&X(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Do.test(t)&&we(n)?!1:t in e}function Dc(e){const t=Zs();if(!t)return;const n=()=>Vs(t.subTree,e(t.proxy));Oi(n),De(()=>{const s=new MutationObserver(n);s.observe(t.subTree.el.parentNode,{childList:!0}),pt(()=>s.disconnect())})}function Vs(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Vs(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Ro(e.el,t);else if(e.type===q)e.children.forEach(n=>Vs(n,t));else if(e.type===Ht){let{el:n,anchor:s}=e;for(;n&&(Ro(n,t),n!==s);)n=n.nextSibling}}function Ro(e,t){if(e.nodeType===1){const n=e.style;for(const s in t)n.setProperty(`--${s}`,t[s])}}const ct="transition",Jt="animation",es=(e,{slots:t})=>Nn(Hi,Rc(e),t);es.displayName="Transition";const rr={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};es.props=ke({},Hi.props,rr);const yt=(e,t=[])=>{K(e)?e.forEach(n=>n(...t)):e&&e(...t)},jo=e=>e?K(e)?e.some(t=>t.length>1):e.length>1:!1;function Rc(e){const t={};for(const N in e)N in rr||(t[N]=e[N]);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:y=`${n}-leave-active`,leaveToClass:$=`${n}-leave-to`}=e,z=jc(o),F=z&&z[0],J=z&&z[1],{onBeforeEnter:g,onEnter:L,onEnterCancelled:U,onLeave:Y,onLeaveCancelled:ne,onBeforeAppear:he=g,onAppear:oe=L,onAppearCancelled:M=U}=t,Z=(N,ee,H)=>{wt(N,ee?h:l),wt(N,ee?f:r),H&&H()},Q=(N,ee)=>{N._isLeaving=!1,wt(N,v),wt(N,$),wt(N,y),ee&&ee()},re=N=>(ee,H)=>{const Me=N?oe:L,ue=()=>Z(ee,N,H);yt(Me,[ee,ue]),zo(()=>{wt(ee,N?c:i),at(ee,N?h:l),jo(Me)||Uo(ee,s,F,ue)})};return ke(t,{onBeforeEnter(N){yt(g,[N]),at(N,i),at(N,r)},onBeforeAppear(N){yt(he,[N]),at(N,c),at(N,f)},onEnter:re(!1),onAppear:re(!0),onLeave(N,ee){N._isLeaving=!0;const H=()=>Q(N,ee);at(N,v),Kc(),at(N,y),zo(()=>{!N._isLeaving||(wt(N,v),at(N,$),jo(Y)||Uo(N,s,J,H))}),yt(Y,[N,H])},onEnterCancelled(N){Z(N,!1),yt(U,[N])},onAppearCancelled(N){Z(N,!0),yt(M,[N])},onLeaveCancelled(N){Q(N),yt(ne,[N])}})}function jc(e){if(e==null)return null;if(ge(e))return[fs(e.enter),fs(e.leave)];{const t=fs(e);return[t,t]}}function fs(e){return pi(e)}function at(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function wt(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 zo(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let zc=0;function Uo(e,t,n,s){const o=e._endId=++zc,i=()=>{o===e._endId&&s()};if(n)return setTimeout(i,n);const{type:r,timeout:l,propCount:c}=Uc(e,t);if(!r)return s();const f=r+"end";let h=0;const v=()=>{e.removeEventListener(f,y),i()},y=$=>{$.target===e&&++h>=c&&v()};setTimeout(()=>{h<c&&v()},l+1),e.addEventListener(f,y)}function Uc(e,t){const n=window.getComputedStyle(e),s=z=>(n[z]||"").split(", "),o=s(ct+"Delay"),i=s(ct+"Duration"),r=Ko(o,i),l=s(Jt+"Delay"),c=s(Jt+"Duration"),f=Ko(l,c);let h=null,v=0,y=0;t===ct?r>0&&(h=ct,v=r,y=i.length):t===Jt?f>0&&(h=Jt,v=f,y=c.length):(v=Math.max(r,f),h=v>0?r>f?ct:Jt:null,y=h?h===ct?i.length:c.length:0);const $=h===ct&&/\b(transform|all)(,|$)/.test(n[ct+"Property"]);return{type:h,timeout:v,propCount:y,hasTransform:$}}function Ko(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>Wo(n)+Wo(e[s])))}function Wo(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function Kc(){return document.body.offsetHeight}const Wc=["ctrl","shift","alt","meta"],qc={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)=>Wc.some(n=>e[`${n}Key`]&&!t.includes(n))},Gc=(e,t)=>(n,...s)=>{for(let o=0;o<t.length;o++){const i=qc[t[o]];if(i&&i(n,t))return}return e(n,...s)},Yc=ke({patchProp:Fc},xc);let ds,qo=!1;function Qc(){return ds=qo?ds:sc(Yc),qo=!0,ds}const Jc=(...e)=>{const t=Qc().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=Xc(s);if(o)return n(o,!0,o instanceof SVGElement)},t};function Xc(e){return we(e)?document.querySelector(e):e}const A=(e,t)=>{const n=e.__vccOpts||e;for(const[s,o]of t)n[s]=o;return n},Zc="modulepreload",ea=function(e){return"/"+e},Go={},ta=function(t,n,s){if(!n||n.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(n.map(i=>{if(i=ea(i),i in Go)return;Go[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":Zc,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 na=O({__name:"VPBadge",props:{text:null,type:null},setup(e){return(t,n)=>{var s;return d(),m("span",{class:de(["VPBadge",(s=e.type)!=null?s:"tip"])},[T(t.$slots,"default",{},()=>[Te(ae(e.text),1)],!0)],2)}}});const sa=A(na,[["__scopeId","data-v-8d21f6c9"]]),oa=JSON.parse('{"lang":"en-US","title":"The Paper Pilot","description":"The Paper Pilot portfolio site","base":"/","head":[],"appearance":true,"themeConfig":{"outline":"deep","nav":[{"text":"Guide to Incrementals","link":"/guide-to-incrementals/","activeMatch":"^/guide-to-incrementals"},{"text":"Projects","link":"/projects/","activeMatch":"^/projects"},{"text":"Profectus","link":"https://moddingtree.com"}],"socialLinks":[{"icon":"github","link":"https://github.com/thepaperpilot"},{"icon":"linkedin","link":"https://www.linkedin.com/pub/anthony-lawn/a9/a98/2"},{"icon":"discord","link":"https://discord.gg/yJ4fjnjU54"},{"icon":{"svg":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"16\\" height=\\"16\\" fill=\\"currentColor\\" class=\\"bi bi-mastodon\\" viewBox=\\"0 0 16 16\\">\\n <path d=\\"M11.19 12.195c2.016-.24 3.77-1.475 3.99-2.603.348-1.778.32-4.339.32-4.339 0-3.47-2.286-4.488-2.286-4.488C12.062.238 10.083.017 8.027 0h-.05C5.92.017 3.942.238 2.79.765c0 0-2.285 1.017-2.285 4.488l-.002.662c-.004.64-.007 1.35.011 2.091.083 3.394.626 6.74 3.78 7.57 1.454.383 2.703.463 3.709.408 1.823-.1 2.847-.647 2.847-.647l-.06-1.317s-1.303.41-2.767.36c-1.45-.05-2.98-.156-3.215-1.928a3.614 3.614 0 0 1-.033-.496s1.424.346 3.228.428c1.103.05 2.137-.064 3.188-.189zm1.613-2.47H11.13v-4.08c0-.859-.364-1.295-1.091-1.295-.804 0-1.207.517-1.207 1.541v2.233H7.168V5.89c0-1.024-.403-1.541-1.207-1.541-.727 0-1.091.436-1.091 1.296v4.079H3.197V5.522c0-.859.22-1.541.66-2.046.456-.505 1.052-.764 1.793-.764.856 0 1.504.328 1.933.983L8 4.39l.417-.695c.429-.655 1.077-.983 1.934-.983.74 0 1.336.259 1.791.764.442.505.661 1.187.661 2.046v4.203z\\"/>\\n</svg>"},"link":"https://mastodon.gamedev.place/@thepaperpilot"}],"sidebar":{"guide-to-incrementals":[{"text":"Ludology","collapsible":true,"items":[{"text":"Defining the Genre","link":"/guide-to-incrementals/ludology/definition"},{"text":"Appeal to Players","link":"/guide-to-incrementals/ludology/appeal-gamers"},{"text":"Appeal to Developers","link":"/guide-to-incrementals/ludology/appeal-developers"},{"text":"What is Content?","link":"/guide-to-incrementals/ludology/content"}]},{"text":"Development","collapsible":true,"items":[{"text":"Introduction","link":"/guide-to-incrementals/design/introduction"}]}],"projects":[{"text":"Play Now","items":[{"text":"Advent Incremental","link":"https://thepaperpilot.org/advent"},{"text":"Kronos","link":"https://thepaperpilot.org/kronos/"},{"text":"Game Dev Tree","link":"https://thepaperpilot.org/gamedevtree/"},{"text":"Lit","link":"https://thepaperpilot.org/lit/"},{"text":"The Ascension Tree","link":"https://thepaperpilot.org/the_ascension_tree/"},{"text":"Dream Hero","link":"https://thepaperpilot.org/dream/"},{"text":"My Itch Page","link":"https://thepaperpilot.itch.io/"}]},{"text":"Downloads","items":[{"text":"Dice Armor","link":"/projects/dice/"},{"text":"Capture the Citadel","link":"/projects/citadel/"}]},{"text":"Non-Games","items":[{"text":"V-ecs","link":"/projects/vecs/"},{"text":"OptiSpeech","link":"/projects/optispeech/"},{"text":"Babble Buds","link":"/projects/babble/"}]}]}},"locales":{},"langs":{},"scrollOffset":90,"cleanUrls":"with-subfolders"}'),ts=/^[a-z]+:/i,Yo="vitepress-theme-appearance",Ee=typeof window<"u",lr={relativePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0};function ia(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 Qo(e,t){const n=ia(t,Object.keys(e));return n?e[n]:void 0}function ra(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 la(e,t){t=aa(e,t);const n=Qo(e.locales||{},t),s=Qo(e.themeConfig.locales||{},t);return Object.assign({},e,n,{themeConfig:Object.assign({},e.themeConfig,s,{locales:{}}),lang:(n||e).lang,locales:{},langs:ra(e)})}function cr(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=ca(e.title,s);return`${n}${o}`}function ca(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function aa(e,t){if(!Ee)return t;const n=e.base,s=n.endsWith("/")?n.slice(0,-1):n;return t.slice(s.length)}function ua(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 fa(e,t){return[...e.filter(n=>!ua(t,n)),...t]}const da=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,ha=/^[a-z]:/i;function Jo(e){const t=ha.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(da,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}function _a(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function dn(e){return ts.test(e)?e:_a(Kt.value.base,e)}function ar(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t.endsWith("/")&&(t+="index"),Ee){const n="/";t=Jo(t.slice(n.length).replace(/\//g,"_")||"index")+".md";const s=__VP_HASH_MAP__[t.toLowerCase()];t=`${n}assets/${t}.${s}.js`}else t=`./${Jo(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}const ur=Symbol(),Kt=pl(oa);function pa(e){const t=ie(()=>la(Kt.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 dn(o||"/")}),title:ie(()=>cr(t.value,e.data)),description:ie(()=>e.data.description||t.value.description),isDark:me(!1)}}function le(){const e=Xe(ur);if(!e)throw new Error("vitepress data not properly injected in app");return e}const fr=Symbol(),Xo="http://a.com",va=()=>({path:"/",component:null,data:lr});function ma(e,t){const n=Kn(va()),s={route:n,go:o};async function o(l=Ee?location.href:"/"){var f,h;await((f=s.onBeforeRouteChange)==null?void 0:f.call(s,l));const c=new URL(l,Xo);Kt.value.cleanUrls==="disabled"&&!c.pathname.endsWith("/")&&!c.pathname.endsWith(".html")&&(c.pathname+=".html",l=c.pathname+c.search+c.hash),Ee&&(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,Xo),v=i=h.pathname;try{let y=await e(v);if(i===v){i=null;const{default:$,__pageData:z}=y;if(!$)throw new Error(`Invalid route component: ${$}`);n.path=Ee?v:dn(v),n.component=en($),n.data=en(z),Ee&&Ks(()=>{if(h.hash&&!c){let F=null;try{F=document.querySelector(decodeURIComponent(h.hash))}catch(J){console.warn(J)}if(F){Zo(F,h.hash);return}}window.scrollTo(0,c)})}}catch(y){if(!/fetch/.test(y.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(y),!f)try{const $=await fetch(Kt.value.base+"hashmap.json");window.__VP_HASH_MAP__=await $.json(),await r(l,c,!0);return}catch{}i===v&&(i=null,n.path=Ee?v:dn(v),n.component=t?en(t):null,n.data=lr)}}return Ee&&(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:y,hash:$,search:z,target:F}=f,J=window.location,g=y.match(/\.\w+$/);!l.ctrlKey&&!l.shiftKey&&!l.altKey&&!l.metaKey&&F!=="_blank"&&v===J.origin&&!(g&&g[0]!==".html")&&(l.preventDefault(),y===J.pathname&&z===J.search?$&&$!==J.hash&&(history.pushState(null,"",$),window.dispatchEvent(new Event("hashchange")),Zo(f,$,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 ga(){const e=Xe(fr);if(!e)throw new Error("useRouter() is called without provider.");return e}function vt(){return ga().route}function Zo(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=Kt.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 ba=O({name:"VitePressContent",props:{onContentUpdated:Function},setup(e){const t=vt();return qs(()=>{var n;(n=e.onContentUpdated)==null||n.call(e)}),()=>Nn("div",{style:{position:"relative"}},[t.component?Nn(t.component):null])}}),dr=/#.*$/,ya=/(index)?\.(md|html)$/,wa=typeof window<"u",xa=me(wa?location.hash:"");function ka(e){return ts.test(e)}function $a(e,t){let n,s=!1;return()=>{n&&clearTimeout(n),s?n=setTimeout(e,t):(e(),s=!0,setTimeout(()=>{s=!1},t))}}function Yt(e,t,n=!1){if(t===void 0)return!1;if(e=ti(`/${e}`),n)return new RegExp(t).test(e);if(ti(t)!==e)return!1;const s=t.match(dr);return s?xa.value===s[0]:!0}function ei(e){return/^\//.test(e)?e:`/${e}`}function ti(e){return decodeURI(e).replace(dr,"").replace(ya,"")}function Bn(e){if(ka(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 dn(i)}function hr(e,t){if(Array.isArray(e))return e;if(e==null)return[];t=ei(t);const n=Object.keys(e).sort((s,o)=>o.split("/").length-s.split("/").length).find(s=>t.startsWith(ei(s)));return n?e[n]:[]}function Pa(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=me(!1),o=ie(()=>{const h=t.value.sidebar,v=e.data.relativePath;return h?hr(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 Ca(e,t){let n;zt(()=>{n=e.value?document.activeElement:void 0}),De(()=>{window.addEventListener("keyup",s)}),pt(()=>{window.removeEventListener("keyup",s)});function s(o){o.key==="Escape"&&e.value&&(t(),n==null||n.focus())}}const Sa=O({__name:"VPSkipLink",setup(e){const t=vt(),n=me();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(q,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 Va=A(Sa,[["__scopeId","data-v-151f2593"]]),Ta={key:0,class:"VPBackdrop"},La=O({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(e){return(t,n)=>(d(),G(es,{name:"fade"},{default:I(()=>[e.show?(d(),m("div",Ta)):j("",!0)]),_:1}))}});const Ea=A(La,[["__scopeId","data-v-0164f098"]]);function Ma(){const e=me(!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 Ia=["src","alt"],Aa={inheritAttrs:!1},Na=O({...Aa,__name:"VPImage",props:{image:null,alt:null},setup(e){return(t,n)=>{var o;const s=Tt("VPImage",!0);return e.image?(d(),m(q,{key:0},[typeof e.image=="string"||"src"in e.image?(d(),m("img",Cn({key:0,class:"VPImage"},typeof e.image=="string"?t.$attrs:{...e.image,...t.$attrs},{src:_(dn)(typeof e.image=="string"?e.image:e.image.src),alt:(o=e.alt)!=null?o:typeof e.image=="string"?"":e.image.alt||""}),null,16,Ia)):(d(),m(q,{key:1},[V(s,Cn({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,Cn({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 _r=A(Na,[["__scopeId","data-v-b7ac6bd3"]]),Ba=["href"],Oa=O({__name:"VPNavBarTitle",setup(e){const{site:t,theme:n}=le(),{hasSidebar:s}=tt();return(o,i)=>(d(),m("div",{class:de(["VPNavBarTitle",{"has-sidebar":_(s)}])},[b("a",{class:"title",href:_(t).base},[T(o.$slots,"nav-bar-title-before",{},void 0,!0),V(_r,{class:"logo",image:_(n).logo},null,8,["image"]),_(n).siteTitle?(d(),m(q,{key:0},[Te(ae(_(n).siteTitle),1)],64)):_(n).siteTitle===void 0?(d(),m(q,{key:1},[Te(ae(_(t).title),1)],64)):j("",!0),T(o.$slots,"nav-bar-title-after",{},void 0,!0)],8,Ba)],2))}});const Fa=A(Oa,[["__scopeId","data-v-d5925166"]]);const Ha={key:0,class:"VPNavBarSearch"},Da={type:"button",class:"DocSearch DocSearch-Button","aria-label":"Search"},Ra={class:"DocSearch-Button-Container"},ja=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),za={class:"DocSearch-Button-Placeholder"},Ua=b("span",{class:"DocSearch-Button-Keys"},[b("kbd",{class:"DocSearch-Button-Key"}),b("kbd",{class:"DocSearch-Button-Key"},"K")],-1),Ka=O({__name:"VPNavBarSearch",setup(e){Dc(r=>({"5943dbe8":o.value}));const t=()=>null,{theme:n}=le(),s=me(!1),o=me("'Meta'");De(()=>{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",Ha,[s.value?(d(),G(_(t),{key:0})):(d(),m("div",{key:1,id:"docsearch",onClick:i},[b("button",Da,[b("span",Ra,[ja,b("span",za,ae(((c=_(n).algolia)==null?void 0:c.buttonText)||"Search"),1)]),Ua])]))])):j("",!0)}}});const Wa={},qa={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",height:"24px",viewBox:"0 0 24 24",width:"24px"},Ga=b("path",{d:"M0 0h24v24H0V0z",fill:"none"},null,-1),Ya=b("path",{d:"M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5H9z"},null,-1),Qa=[Ga,Ya];function Ja(e,t){return d(),m("svg",qa,Qa)}const Xa=A(Wa,[["render",Ja]]),Za=O({__name:"VPLink",props:{href:null,noIcon:{type:Boolean}},setup(e){const t=e,n=ie(()=>t.href&&ts.test(t.href));return(s,o)=>(d(),G(Ys(e.href?"a":"span"),{class:de(["VPLink",{link:e.href}]),href:e.href?_(Bn)(e.href):void 0,target:_(n)?"_blank":void 0,rel:_(n)?"noreferrer":void 0},{default:I(()=>[T(s.$slots,"default",{},void 0,!0),_(n)&&!e.noIcon?(d(),G(Xa,{key:0,class:"icon"})):j("",!0)]),_:3},8,["class","href","target","rel"]))}});const Lt=A(Za,[["__scopeId","data-v-3c355974"]]),eu=O({__name:"VPNavBarMenuLink",props:{item:null},setup(e){const{page:t}=le();return(n,s)=>(d(),G(Lt,{class:de({VPNavBarMenuLink:!0,active:_(Yt)(_(t).relativePath,e.item.activeMatch||e.item.link,!!e.item.activeMatch)}),href:e.item.link,noIcon:!0},{default:I(()=>[Te(ae(e.item.text),1)]),_:1},8,["class","href"]))}});const tu=A(eu,[["__scopeId","data-v-47a2263e"]]),to=me();let pr=!1,hs=0;function nu(e){const t=me(!1);if(typeof window<"u"){!pr&&su(),hs++;const n=Ze(to,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(),hs--,hs||ou()})}return Rs(t)}function su(){document.addEventListener("focusin",vr),pr=!0,to.value=document.activeElement}function ou(){document.removeEventListener("focusin",vr)}function vr(){to.value=document.activeElement}const iu={},ru={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},lu=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),cu=[lu];function au(e,t){return d(),m("svg",ru,cu)}const mr=A(iu,[["render",au]]),uu={},fu={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},du=b("circle",{cx:"12",cy:"12",r:"2"},null,-1),hu=b("circle",{cx:"19",cy:"12",r:"2"},null,-1),_u=b("circle",{cx:"5",cy:"12",r:"2"},null,-1),pu=[du,hu,_u];function vu(e,t){return d(),m("svg",fu,pu)}const mu=A(uu,[["render",vu]]),gu={class:"VPMenuLink"},bu=O({__name:"VPMenuLink",props:{item:null},setup(e){const{page:t}=le();return(n,s)=>(d(),m("div",gu,[V(Lt,{class:de({active:_(Yt)(_(t).relativePath,e.item.activeMatch||e.item.link)}),href:e.item.link},{default:I(()=>[Te(ae(e.item.text),1)]),_:1},8,["class","href"])]))}});const ns=A(bu,[["__scopeId","data-v-e8e0fb1d"]]),yu={class:"VPMenuGroup"},wu={key:0,class:"title"},xu=O({__name:"VPMenuGroup",props:{text:null,items:null},setup(e){return(t,n)=>(d(),m("div",yu,[e.text?(d(),m("p",wu,ae(e.text),1)):j("",!0),(d(!0),m(q,null,Ce(e.items,s=>(d(),m(q,null,["link"in s?(d(),G(ns,{key:0,item:s},null,8,["item"])):j("",!0)],64))),256))]))}});const ku=A(xu,[["__scopeId","data-v-9ca52130"]]),$u={class:"VPMenu"},Pu={key:0,class:"items"},Cu=O({__name:"VPMenu",props:{items:null},setup(e){return(t,n)=>(d(),m("div",$u,[e.items?(d(),m("div",Pu,[(d(!0),m(q,null,Ce(e.items,s=>(d(),m(q,{key:s.text},["link"in s?(d(),G(ns,{key:0,item:s},null,8,["item"])):(d(),G(ku,{key:1,text:s.text,items:s.items},null,8,["text","items"]))],64))),128))])):j("",!0),T(t.$slots,"default",{},void 0,!0)]))}});const Su=A(Cu,[["__scopeId","data-v-1c5d0cfc"]]),Vu=["aria-expanded","aria-label"],Tu={key:0,class:"text"},Lu={class:"menu"},Eu=O({__name:"VPFlyout",props:{icon:null,button:null,label:null,items:null},setup(e){const t=me(!1),n=me();nu({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",Tu,[e.icon?(d(),G(Ys(e.icon),{key:0,class:"option-icon"})):j("",!0),Te(" "+ae(e.button)+" ",1),V(mr,{class:"text-icon"})])):(d(),G(mu,{key:1,class:"icon"}))],8,Vu),b("div",Lu,[V(Su,{items:e.items},{default:I(()=>[T(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}});const no=A(Eu,[["__scopeId","data-v-6ffb57d3"]]),Mu=O({__name:"VPNavBarMenuGroup",props:{item:null},setup(e){const{page:t}=le();return(n,s)=>(d(),G(no,{class:de({VPNavBarMenuGroup:!0,active:_(Yt)(_(t).relativePath,e.item.activeMatch,!!e.item.activeMatch)}),button:e.item.text,items:e.item.items},null,8,["class","button","items"]))}}),Iu=e=>(We("data-v-f83db6ba"),e=e(),qe(),e),Au={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},Nu=Iu(()=>b("span",{id:"main-nav-aria-label",class:"visually-hidden"},"Main Navigation",-1)),Bu=O({__name:"VPNavBarMenu",setup(e){const{theme:t}=le();return(n,s)=>_(t).nav?(d(),m("nav",Au,[Nu,(d(!0),m(q,null,Ce(_(t).nav,o=>(d(),m(q,{key:o.text},["link"in o?(d(),G(tu,{key:0,item:o},null,8,["item"])):(d(),G(Mu,{key:1,item:o},null,8,["item"]))],64))),128))])):j("",!0)}});const Ou=A(Bu,[["__scopeId","data-v-f83db6ba"]]),Fu={},Hu={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Du=b("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1),Ru=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),ju=[Du,Ru];function zu(e,t){return d(),m("svg",Hu,ju)}const gr=A(Fu,[["render",zu]]),Uu={class:"items"},Ku={class:"title"},Wu=O({__name:"VPNavBarTranslations",setup(e){const{theme:t}=le();return(n,s)=>_(t).localeLinks?(d(),G(no,{key:0,class:"VPNavBarTranslations",icon:gr},{default:I(()=>[b("div",Uu,[b("p",Ku,ae(_(t).localeLinks.text),1),(d(!0),m(q,null,Ce(_(t).localeLinks.items,o=>(d(),G(ns,{key:o.link,item:o},null,8,["item"]))),128))])]),_:1})):j("",!0)}});const qu=A(Wu,[["__scopeId","data-v-db824e91"]]);const Gu={},Yu={class:"VPSwitch",type:"button",role:"switch"},Qu={class:"check"},Ju={key:0,class:"icon"};function Xu(e,t){return d(),m("button",Yu,[b("span",Qu,[e.$slots.default?(d(),m("span",Ju,[T(e.$slots,"default",{},void 0,!0)])):j("",!0)])])}const Zu=A(Gu,[["render",Xu],["__scopeId","data-v-eba7420e"]]),ef={},tf={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},nf=uc('<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),sf=[nf];function of(e,t){return d(),m("svg",tf,sf)}const rf=A(ef,[["render",of]]),lf={},cf={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},af=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),uf=[af];function ff(e,t){return d(),m("svg",cf,uf)}const df=A(lf,[["render",ff]]),hf=O({__name:"VPSwitchAppearance",setup(e){const{site:t,isDark:n}=le(),s=me(!1),o=typeof localStorage<"u"?i():()=>{};De(()=>{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(Yo),f=t.value.appearance==="dark"&&c==null||(c==="auto"||c==null?r.matches:c==="dark");r.onchange=y=>{c==="auto"&&v(f=y.matches)};function h(){v(f=!f),c=f?r.matches?"auto":"dark":r.matches?"light":"auto",localStorage.setItem(Yo,c)}function v(y){const $=document.createElement("style");$.type="text/css",$.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($),s.value=y,l[y?"add":"remove"]("dark"),window.getComputedStyle($).opacity,document.head.removeChild($)}return h}return Ze(s,r=>{n.value=r}),(r,l)=>(d(),G(Zu,{class:"VPSwitchAppearance","aria-label":"toggle dark mode","aria-checked":s.value,onClick:_(o)},{default:I(()=>[V(rf,{class:"sun"}),V(df,{class:"moon"})]),_:1},8,["aria-checked","onClick"]))}});const so=A(hf,[["__scopeId","data-v-481098f9"]]),_f={key:0,class:"VPNavBarAppearance"},pf=O({__name:"VPNavBarAppearance",setup(e){const{site:t}=le();return(n,s)=>_(t).appearance?(d(),m("div",_f,[V(so)])):j("",!0)}});const vf=A(pf,[["__scopeId","data-v-a3e7452b"]]),mf={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>'},gf=["href","innerHTML"],bf=O({__name:"VPSocialLink",props:{icon:null,link:null},setup(e){const t=e,n=ie(()=>typeof t.icon=="object"?t.icon.svg:mf[t.icon]);return(s,o)=>(d(),m("a",{class:"VPSocialLink",href:e.link,target:"_blank",rel:"noopener",innerHTML:_(n)},null,8,gf))}});const yf=A(bf,[["__scopeId","data-v-e57698f6"]]),wf={class:"VPSocialLinks"},xf=O({__name:"VPSocialLinks",props:{links:null},setup(e){return(t,n)=>(d(),m("div",wf,[(d(!0),m(q,null,Ce(e.links,({link:s,icon:o})=>(d(),G(yf,{key:s,icon:o,link:s},null,8,["icon","link"]))),128))]))}});const oo=A(xf,[["__scopeId","data-v-f6988cfb"]]),kf=O({__name:"VPNavBarSocialLinks",setup(e){const{theme:t}=le();return(n,s)=>_(t).socialLinks?(d(),G(oo,{key:0,class:"VPNavBarSocialLinks",links:_(t).socialLinks},null,8,["links"])):j("",!0)}});const $f=A(kf,[["__scopeId","data-v-738bef5a"]]),Pf=e=>(We("data-v-e4361c82"),e=e(),qe(),e),Cf={key:0,class:"group"},Sf={class:"trans-title"},Vf={key:1,class:"group"},Tf={class:"item appearance"},Lf=Pf(()=>b("p",{class:"label"},"Appearance",-1)),Ef={class:"appearance-action"},Mf={key:2,class:"group"},If={class:"item social-links"},Af=O({__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(),G(no,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:I(()=>[_(n).localeLinks?(d(),m("div",Cf,[b("p",Sf,ae(_(n).localeLinks.text),1),(d(!0),m(q,null,Ce(_(n).localeLinks.items,r=>(d(),G(ns,{key:r.link,item:r},null,8,["item"]))),128))])):j("",!0),_(t).appearance?(d(),m("div",Vf,[b("div",Tf,[Lf,b("div",Ef,[V(so)])])])):j("",!0),_(n).socialLinks?(d(),m("div",Mf,[b("div",If,[V(oo,{class:"social-links-list",links:_(n).socialLinks},null,8,["links"])])])):j("",!0)]),_:1})):j("",!0)}});const Nf=A(Af,[["__scopeId","data-v-e4361c82"]]),Bf=e=>(We("data-v-e5dd9c1c"),e=e(),qe(),e),Of=["aria-expanded"],Ff=Bf(()=>b("span",{class:"container"},[b("span",{class:"top"}),b("span",{class:"middle"}),b("span",{class:"bottom"})],-1)),Hf=[Ff],Df=O({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(e){return(t,n)=>(d(),m("button",{type:"button",class:de(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:n[0]||(n[0]=s=>t.$emit("click"))},Hf,10,Of))}});const Rf=A(Df,[["__scopeId","data-v-e5dd9c1c"]]),jf={class:"container"},zf={class:"content"},Uf=O({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(e){const{hasSidebar:t}=tt();return(n,s)=>(d(),m("div",{class:de(["VPNavBar",{"has-sidebar":_(t)}])},[b("div",jf,[V(Fa,null,{"nav-bar-title-before":I(()=>[T(n.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":I(()=>[T(n.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3}),b("div",zf,[T(n.$slots,"nav-bar-content-before",{},void 0,!0),V(Ka,{class:"search"}),V(Ou,{class:"menu"}),V(qu,{class:"translations"}),V(vf,{class:"appearance"}),V($f,{class:"social-links"}),V(Nf,{class:"extra"}),T(n.$slots,"nav-bar-content-after",{},void 0,!0),V(Rf,{class:"hamburger",active:e.isScreenOpen,onClick:s[0]||(s[0]=o=>n.$emit("toggle-screen"))},null,8,["active"])])])],2))}});const Kf=A(Uf,[["__scopeId","data-v-6f1d18b5"]]);function Wf(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 io=!1;if(typeof window<"u"){var ni={get passive(){io=!0}};window.addEventListener("testPassive",null,ni),window.removeEventListener("testPassive",null,ni)}var On=typeof window<"u"&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||window.navigator.platform==="MacIntel"&&window.navigator.maxTouchPoints>1),Dt=[],Fn=!1,ro=-1,nn=void 0,Ct=void 0,sn=void 0,br=function(t){return Dt.some(function(n){return!!(n.options.allowTouchMove&&n.options.allowTouchMove(t))})},Hn=function(t){var n=t||window.event;return br(n.target)||n.touches.length>1?!0:(n.preventDefault&&n.preventDefault(),!1)},qf=function(t){if(sn===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);sn=document.body.style.paddingRight,document.body.style.paddingRight=o+s+"px"}}nn===void 0&&(nn=document.body.style.overflow,document.body.style.overflow="hidden")},Gf=function(){sn!==void 0&&(document.body.style.paddingRight=sn,sn=void 0),nn!==void 0&&(document.body.style.overflow=nn,nn=void 0)},Yf=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)}})},Qf=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}},Jf=function(t){return t?t.scrollHeight-t.scrollTop<=t.clientHeight:!1},Xf=function(t,n){var s=t.targetTouches[0].clientY-ro;return br(t.target)?!1:n&&n.scrollTop===0&&s>0||Jf(n)&&s<0?Hn(t):(t.stopPropagation(),!0)},yr=function(t,n){if(!t){console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");return}if(!Dt.some(function(o){return o.targetElement===t})){var s={targetElement:t,options:n||{}};Dt=[].concat(Wf(Dt),[s]),On?Yf():qf(n),On&&(t.ontouchstart=function(o){o.targetTouches.length===1&&(ro=o.targetTouches[0].clientY)},t.ontouchmove=function(o){o.targetTouches.length===1&&Xf(o,t)},Fn||(document.addEventListener("touchmove",Hn,io?{passive:!1}:void 0),Fn=!0))}},wr=function(){On&&(Dt.forEach(function(t){t.targetElement.ontouchstart=null,t.targetElement.ontouchmove=null}),Fn&&(document.removeEventListener("touchmove",Hn,io?{passive:!1}:void 0),Fn=!1),ro=-1),On?Qf():Gf(),Dt=[]};const Zf=O({__name:"VPNavScreenMenuLink",props:{text:null,link:null},setup(e){const t=Xe("close-screen");return(n,s)=>(d(),G(Lt,{class:"VPNavScreenMenuLink",href:e.link,onClick:_(t)},{default:I(()=>[Te(ae(e.text),1)]),_:1},8,["href","onClick"]))}});const ed=A(Zf,[["__scopeId","data-v-b7098508"]]),td={},nd={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},sd=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),od=[sd];function id(e,t){return d(),m("svg",nd,od)}const rd=A(td,[["render",id]]),ld=O({__name:"VPNavScreenMenuGroupLink",props:{text:null,link:null},setup(e){const t=Xe("close-screen");return(n,s)=>(d(),G(Lt,{class:"VPNavScreenMenuGroupLink",href:e.link,onClick:_(t)},{default:I(()=>[Te(ae(e.text),1)]),_:1},8,["href","onClick"]))}});const xr=A(ld,[["__scopeId","data-v-7f173864"]]),cd={class:"VPNavScreenMenuGroupSection"},ad={key:0,class:"title"},ud=O({__name:"VPNavScreenMenuGroupSection",props:{text:null,items:null},setup(e){return(t,n)=>(d(),m("div",cd,[e.text?(d(),m("p",ad,ae(e.text),1)):j("",!0),(d(!0),m(q,null,Ce(e.items,s=>(d(),G(xr,{key:s.text,text:s.text,link:s.link},null,8,["text","link"]))),128))]))}});const fd=A(ud,[["__scopeId","data-v-7478538b"]]),dd=["aria-controls","aria-expanded"],hd={class:"button-text"},_d=["id"],pd={key:1,class:"group"},vd=O({__name:"VPNavScreenMenuGroup",props:{text:null,items:null},setup(e){const t=e,n=me(!1),s=ie(()=>`NavScreenGroup-${t.text.replace(" ","-").toLowerCase()}`);function o(){n.value=!n.value}return(i,r)=>(d(),m("div",{class:de(["VPNavScreenMenuGroup",{open:n.value}])},[b("button",{class:"button","aria-controls":_(s),"aria-expanded":n.value,onClick:o},[b("span",hd,ae(e.text),1),V(rd,{class:"button-icon"})],8,dd),b("div",{id:_(s),class:"items"},[(d(!0),m(q,null,Ce(e.items,l=>(d(),m(q,{key:l.text},["link"in l?(d(),m("div",{key:l.text,class:"item"},[V(xr,{text:l.text,link:l.link},null,8,["text","link"])])):(d(),m("div",pd,[V(fd,{text:l.text,items:l.items},null,8,["text","items"])]))],64))),128))],8,_d)],2))}});const md=A(vd,[["__scopeId","data-v-5bc84358"]]),gd={key:0,class:"VPNavScreenMenu"},bd=O({__name:"VPNavScreenMenu",setup(e){const{theme:t}=le();return(n,s)=>_(t).nav?(d(),m("nav",gd,[(d(!0),m(q,null,Ce(_(t).nav,o=>(d(),m(q,{key:o.text},["link"in o?(d(),G(ed,{key:0,text:o.text,link:o.link},null,8,["text","link"])):(d(),G(md,{key:1,text:o.text||"",items:o.items},null,8,["text","items"]))],64))),128))])):j("",!0)}}),yd=e=>(We("data-v-7bc19822"),e=e(),qe(),e),wd={key:0,class:"VPNavScreenAppearance"},xd=yd(()=>b("p",{class:"text"},"Appearance",-1)),kd=O({__name:"VPNavScreenAppearance",setup(e){const{site:t}=le();return(n,s)=>_(t).appearance?(d(),m("div",wd,[xd,V(so)])):j("",!0)}});const $d=A(kd,[["__scopeId","data-v-7bc19822"]]),Pd={class:"list"},Cd=["href"],Sd=O({__name:"VPNavScreenTranslations",setup(e){const{theme:t}=le(),n=me(!1);function s(){n.value=!n.value}return(o,i)=>_(t).localeLinks?(d(),m("div",{key:0,class:de(["VPNavScreenTranslations",{open:n.value}])},[b("button",{class:"title",onClick:s},[V(gr,{class:"icon lang"}),Te(" "+ae(_(t).localeLinks.text)+" ",1),V(mr,{class:"icon chevron"})]),b("ul",Pd,[(d(!0),m(q,null,Ce(_(t).localeLinks.items,r=>(d(),m("li",{key:r.link,class:"item"},[b("a",{class:"link",href:r.link},ae(r.text),9,Cd)]))),128))])],2)):j("",!0)}});const Vd=A(Sd,[["__scopeId","data-v-6bfcad30"]]),Td=O({__name:"VPNavScreenSocialLinks",setup(e){const{theme:t}=le();return(n,s)=>_(t).socialLinks?(d(),G(oo,{key:0,class:"VPNavScreenSocialLinks",links:_(t).socialLinks},null,8,["links"])):j("",!0)}}),Ld={class:"container"},Ed=O({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(e){const t=me(null);function n(){yr(t.value,{reserveScrollBarGap:!0})}function s(){wr()}return(o,i)=>(d(),G(es,{name:"fade",onEnter:n,onAfterLeave:s},{default:I(()=>[e.open?(d(),m("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:t},[b("div",Ld,[T(o.$slots,"nav-screen-content-before",{},void 0,!0),V(bd,{class:"menu"}),V(Vd,{class:"translations"}),V($d,{class:"appearance"}),V(Td,{class:"social-links"}),T(o.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):j("",!0)]),_:3}))}});const Md=A(Ed,[["__scopeId","data-v-4a289eba"]]),Id=O({__name:"VPNav",setup(e){const{isScreenOpen:t,closeScreen:n,toggleScreen:s}=Ma(),{hasSidebar:o}=tt();return Yn("close-screen",n),(i,r)=>(d(),m("header",{class:de(["VPNav",{"no-sidebar":!_(o)}])},[V(Kf,{"is-screen-open":_(t),onToggleScreen:_(s)},{"nav-bar-title-before":I(()=>[T(i.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":I(()=>[T(i.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":I(()=>[T(i.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":I(()=>[T(i.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),V(Md,{open:_(t)},{"nav-screen-content-before":I(()=>[T(i.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":I(()=>[T(i.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])],2))}});const Ad=A(Id,[["__scopeId","data-v-a50780ff"]]),Nd={},Bd={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Od=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),Fd=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),Hd=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),Dd=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),Rd=[Od,Fd,Hd,Dd];function jd(e,t){return d(),m("svg",Bd,Rd)}const zd=A(Nd,[["render",jd]]),Ud=e=>(We("data-v-b6162a8b"),e=e(),qe(),e),Kd={key:0,class:"VPLocalNav"},Wd=["aria-expanded"],qd=Ud(()=>b("span",{class:"menu-text"},"Menu",-1)),Gd=O({__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",Kd,[b("button",{class:"menu","aria-expanded":e.open,"aria-controls":"VPSidebarNav",onClick:o[0]||(o[0]=i=>s.$emit("open-menu"))},[V(zd,{class:"menu-icon"}),qd],8,Wd),b("a",{class:"top-link",href:"#",onClick:n}," Return to top ")])):j("",!0)}});const Yd=A(Gd,[["__scopeId","data-v-b6162a8b"]]),Qd={},Jd={version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Xd=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),Zd=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),e1=[Xd,Zd];function t1(e,t){return d(),m("svg",Jd,e1)}const n1=A(Qd,[["render",t1]]),s1={},o1={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 24 24"},i1=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),r1=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),l1=[i1,r1];function c1(e,t){return d(),m("svg",o1,l1)}const a1=A(s1,[["render",c1]]),u1=["innerHTML"],f1=O({__name:"VPSidebarLink",props:{item:null,depth:{default:1}},setup(e){const{page:t,frontmatter:n}=le(),s=ie(()=>n.value.sidebarDepth||1/0),o=Xe("close-sidebar");return(i,r)=>{const l=Tt("VPSidebarLink",!0);return d(),m(q,null,[V(Lt,{class:de(["link",{active:_(Yt)(_(t).relativePath,e.item.link)}]),style:Dn({paddingLeft:16*(e.depth-1)+"px"}),href:e.item.link,onClick:_(o)},{default:I(()=>[b("span",{innerHTML:e.item.text,class:de(["link-text",{light:e.depth>1}])},null,10,u1)]),_:1},8,["class","style","href","onClick"]),"items"in e.item&&e.depth<_(s)?(d(!0),m(q,{key:0},Ce(e.item.items,c=>(d(),G(l,{key:c.link,item:c,depth:e.depth+1},null,8,["item","depth"]))),128)):j("",!0)],64)}}});const d1=A(f1,[["__scopeId","data-v-36b976d1"]]),h1=["role"],_1=["innerHTML"],p1={class:"action"},v1={class:"items"},m1=O({__name:"VPSidebarGroup",props:{text:null,items:null,collapsible:{type:Boolean},collapsed:{type:Boolean}},setup(e){const t=e,n=me(!1);zt(()=>{n.value=!!(t.collapsible&&t.collapsed)});const{page:s}=le();zt(()=>{t.items.some(i=>Yt(s.value.relativePath,i.link))&&(n.value=!1)});function o(){t.collapsible&&(n.value=!n.value)}return(i,r)=>(d(),m("section",{class:de(["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,_1),b("div",p1,[V(a1,{class:"icon minus"}),V(n1,{class:"icon plus"})])],8,h1)):j("",!0),b("div",v1,[(d(!0),m(q,null,Ce(e.items,l=>(d(),G(d1,{key:l.link,item:l},null,8,["item"]))),128))])],2))}});const g1=A(m1,[["__scopeId","data-v-6e45c352"]]),b1=e=>(We("data-v-a186aa16"),e=e(),qe(),e),y1={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},w1=b1(()=>b("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),x1=O({__name:"VPSidebar",props:{open:{type:Boolean}},setup(e){const t=e,{sidebar:n,hasSidebar:s}=tt();let o=me(null);function i(){yr(o.value,{reserveScrollBarGap:!0})}function r(){wr()}return Oi(async()=>{var l;t.open?(i(),(l=o.value)==null||l.focus()):r()}),(l,c)=>_(s)?(d(),m("aside",{key:0,class:de(["VPSidebar",{open:e.open}]),ref_key:"navEl",ref:o,onClick:c[0]||(c[0]=Gc(()=>{},["stop"]))},[b("nav",y1,[w1,T(l.$slots,"sidebar-nav-before",{},void 0,!0),(d(!0),m(q,null,Ce(_(n),f=>(d(),m("div",{key:f.text,class:"group"},[V(g1,{text:f.text,items:f.items,collapsible:f.collapsible,collapsed:f.collapsed},null,8,["text","items","collapsible","collapsed"])]))),128)),T(l.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):j("",!0)}});const k1=A(x1,[["__scopeId","data-v-a186aa16"]]),$1={},P1={class:"VPPage"};function C1(e,t){const n=Tt("Content");return d(),m("div",P1,[V(n)])}const S1=A($1,[["render",C1]]),V1=O({__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&&ts.test(t.href)),o=ie(()=>t.tag?t.tag:t.href?"a":"button");return(i,r)=>(d(),G(Ys(_(o)),{class:de(["VPButton",_(n)]),href:e.href?_(Bn)(e.href):void 0,target:_(s)?"_blank":void 0,rel:_(s)?"noreferrer":void 0},{default:I(()=>[Te(ae(e.text),1)]),_:1},8,["class","href","target","rel"]))}});const T1=A(V1,[["__scopeId","data-v-53dbb8eb"]]),L1=e=>(We("data-v-0a0d4301"),e=e(),qe(),e),E1={class:"container"},M1={class:"main"},I1={key:0,class:"name"},A1={class:"clip"},N1={key:1,class:"text"},B1={key:2,class:"tagline"},O1={key:3,class:"actions"},F1={key:0,class:"image"},H1={class:"image-container"},D1=L1(()=>b("div",{class:"image-bg"},null,-1)),R1=O({__name:"VPHero",props:{name:null,text:null,tagline:null,image:null,actions:null},setup(e){return(t,n)=>(d(),m("div",{class:de(["VPHero",{"has-image":e.image}])},[b("div",E1,[b("div",M1,[e.name?(d(),m("h1",I1,[b("span",A1,ae(e.name),1)])):j("",!0),e.text?(d(),m("p",N1,ae(e.text),1)):j("",!0),e.tagline?(d(),m("p",B1,ae(e.tagline),1)):j("",!0),e.actions?(d(),m("div",O1,[(d(!0),m(q,null,Ce(e.actions,s=>(d(),m("div",{key:s.link,class:"action"},[V(T1,{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",F1,[b("div",H1,[D1,V(_r,{class:"image-src",image:e.image},null,8,["image"])])])):j("",!0)])],2))}});const j1=A(R1,[["__scopeId","data-v-0a0d4301"]]),z1=O({__name:"VPHomeHero",setup(e){const{frontmatter:t}=le();return(n,s)=>_(t).hero?(d(),G(j1,{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)}}),U1={},K1={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},W1=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),q1=[W1];function G1(e,t){return d(),m("svg",K1,q1)}const Y1=A(U1,[["render",G1]]),Q1={class:"box"},J1={key:0,class:"icon"},X1={class:"title"},Z1={class:"details"},e0={key:1,class:"link-text"},t0={class:"link-text-value"},n0=O({__name:"VPFeature",props:{icon:null,title:null,details:null,link:null,linkText:null},setup(e){return(t,n)=>(d(),G(Lt,{class:"VPFeature",href:e.link,"no-icon":!0},{default:I(()=>[b("article",Q1,[e.icon?(d(),m("div",J1,ae(e.icon),1)):j("",!0),b("h2",X1,ae(e.title),1),b("p",Z1,ae(e.details),1),e.linkText?(d(),m("div",e0,[b("p",t0,[Te(ae(e.linkText)+" ",1),V(Y1,{class:"link-text-icon"})])])):j("",!0)])]),_:1},8,["href"]))}});const s0=A(n0,[["__scopeId","data-v-b8147458"]]),o0={key:0,class:"VPFeatures"},i0={class:"container"},r0={class:"items"},l0=O({__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",o0,[b("div",i0,[b("div",r0,[(d(!0),m(q,null,Ce(e.features,i=>(d(),m("div",{key:i.title,class:de(["item",[_(n)]])},[V(s0,{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 c0=A(l0,[["__scopeId","data-v-69662dc1"]]),a0=O({__name:"VPHomeFeatures",setup(e){const{frontmatter:t}=le();return(n,s)=>_(t).features?(d(),G(c0,{key:0,class:"VPHomeFeatures",features:_(t).features},null,8,["features"])):j("",!0)}}),u0={class:"VPHome"},f0=O({__name:"VPHome",setup(e){return(t,n)=>{const s=Tt("Content");return d(),m("div",u0,[T(t.$slots,"home-hero-before",{},void 0,!0),V(z1),T(t.$slots,"home-hero-after",{},void 0,!0),T(t.$slots,"home-features-before",{},void 0,!0),V(a0),T(t.$slots,"home-features-after",{},void 0,!0),V(s)])}}});const d0=A(f0,[["__scopeId","data-v-1db23833"]]);var si;const _n=typeof window<"u";_n&&((si=window==null?void 0:window.navigator)==null?void 0:si.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function h0(e){return e}function _0(e){return Rr()?(jr(e),!0):!1}function p0(e){return typeof e=="function"?ie(e):me(e)}function v0(e,t=!0){Zs()?De(e):t?e():Ks(e)}const m0=_n?window:void 0;_n&&window.document;_n&&window.navigator;_n&&window.location;function g0(e,t=!1){const n=me(),s=()=>n.value=Boolean(e());return s(),v0(s,t),n}function oi(e,t={}){const{window:n=m0}=t,s=g0(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let o;const i=me(!1),r=()=>{!o||("removeEventListener"in o?o.removeEventListener("change",l):o.removeListener(l))},l=()=>{!s.value||(r(),o=n.matchMedia(p0(e).value),i.value=o.matches,"addEventListener"in o?o.addEventListener("change",l):o.addListener(l))};return zt(l),_0(()=>r()),i}const Ts=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ls="__vueuse_ssr_handlers__";Ts[Ls]=Ts[Ls]||{};Ts[Ls];var ii;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(ii||(ii={}));var b0=Object.defineProperty,ri=Object.getOwnPropertySymbols,y0=Object.prototype.hasOwnProperty,w0=Object.prototype.propertyIsEnumerable,li=(e,t,n)=>t in e?b0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,x0=(e,t)=>{for(var n in t||(t={}))y0.call(t,n)&&li(e,n,t[n]);if(ri)for(var n of ri(t))w0.call(t,n)&&li(e,n,t[n]);return e};const k0={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]};x0({linear:h0},k0);function $0(){const{hasSidebar:e}=tt(),t=oi("(min-width: 960px)"),n=oi("(min-width: 1280px)");return{isAsideEnabled:ie(()=>!n.value&&!t.value?!1:e.value?n.value:t.value)}}const P0=71;function C0(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}`})}),S0(t,e)}function S0(e,t=2){return V0(e,typeof t=="number"?[t,t]:t==="deep"?[2,6]:t)}function V0(e,t){const n=[];return e=e.map(s=>({...s})),e.forEach((s,o)=>{s.level>=t[0]&&s.level<=t[1]&&T0(o,e,t)&&n.push(s)}),n}function T0(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 L0(e,t){const{isAsideEnabled:n}=$0(),s=$a(i,100);let o=null;De(()=>{requestAnimationFrame(i),window.addEventListener("scroll",s)}),qs(()=>{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($=>l.some(z=>z.hash===$.hash&&$.offsetParent!==null)),f=window.scrollY,h=window.innerHeight,v=document.body.offsetHeight,y=Math.abs(f+h-v)<1;if(c.length&&y){r(c[c.length-1].hash);return}for(let $=0;$<c.length;$++){const z=c[$],F=c[$+1],[J,g]=E0($,z,F);if(J){r(g);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 ci(e){return e.parentElement.offsetTop-P0}function E0(e,t,n){const s=window.scrollY;return e===0&&s===0?[!0,null]:s<ci(t)?[!1,null]:!n||s<ci(n)?[!0,t.hash]:[!1,null]}const M0=["href"],I0=O({__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:de(e.root?"root":"nested")},[(d(!0),m(q,null,Ce(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,M0),o!=null&&o.length?(d(),G(s,{key:0,headers:o,onClick:e.onClick},null,8,["headers","onClick"])):j("",!0)]))),256))],2)}}});const A0=A(I0,[["__scopeId","data-v-1188541a"]]),N0=e=>(We("data-v-2865c0b0"),e=e(),qe(),e),B0={class:"content"},O0={class:"outline-title"},F0={"aria-labelledby":"doc-outline-aria-label"},H0=N0(()=>b("span",{class:"visually-hidden",id:"doc-outline-aria-label"}," Table of Contents for current page ",-1)),D0=O({__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=Xe("onContentUpdated");o.value=()=>{i.value=C0(s.value)};const i=me([]),r=ie(()=>i.value.length>0),l=me(),c=me();L0(l,c);function f({target:h}){const v="#"+h.href.split("#")[1],y=document.querySelector(decodeURIComponent(v));y==null||y.focus()}return(h,v)=>(d(),m("div",{class:de(["VPDocAsideOutline",{"has-outline":_(r)}]),ref_key:"container",ref:l},[b("div",B0,[b("div",{class:"outline-marker",ref_key:"marker",ref:c},null,512),b("div",O0,ae(_(n).outlineTitle||"On this page"),1),b("nav",F0,[H0,V(A0,{headers:i.value,root:!0,onClick:f},null,8,["headers"])])])],2))}});const R0=A(D0,[["__scopeId","data-v-2865c0b0"]]),j0={class:"VPDocAsideCarbonAds"},z0=O({__name:"VPDocAsideCarbonAds",setup(e){const t=()=>null;return(n,s)=>(d(),m("div",j0,[V(_(t))]))}}),U0=e=>(We("data-v-afc4c1a1"),e=e(),qe(),e),K0={class:"VPDocAside"},W0=U0(()=>b("div",{class:"spacer"},null,-1)),q0=O({__name:"VPDocAside",setup(e){const{theme:t}=le();return(n,s)=>(d(),m("div",K0,[T(n.$slots,"aside-top",{},void 0,!0),T(n.$slots,"aside-outline-before",{},void 0,!0),V(R0),T(n.$slots,"aside-outline-after",{},void 0,!0),W0,T(n.$slots,"aside-ads-before",{},void 0,!0),_(t).carbonAds?(d(),G(z0,{key:0})):j("",!0),T(n.$slots,"aside-ads-after",{},void 0,!0),T(n.$slots,"aside-bottom",{},void 0,!0)]))}});const G0=A(q0,[["__scopeId","data-v-afc4c1a1"]]);function Y0(){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 Q0(){const{page:e,theme:t,frontmatter:n}=le();return ie(()=>{const s=hr(t.value.sidebar,e.value.relativePath),o=Pa(s),i=o.findIndex(r=>Yt(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 J0={},X0={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Z0=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),eh=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),th=[Z0,eh];function nh(e,t){return d(),m("svg",X0,th)}const sh=A(J0,[["render",nh]]),oh={class:"VPLastUpdated"},ih=["datatime"],rh=O({__name:"VPDocFooterLastUpdated",setup(e){const{theme:t,page:n}=le(),s=ie(()=>new Date(n.value.lastUpdated)),o=ie(()=>s.value.toISOString()),i=me("");return De(()=>{zt(()=>{i.value=s.value.toLocaleString(window.navigator.language)})}),(r,l)=>{var c;return d(),m("p",oh,[Te(ae((c=_(t).lastUpdatedText)!=null?c:"Last updated")+": ",1),b("time",{datatime:_(o)},ae(i.value),9,ih)])}}});const lh=A(rh,[["__scopeId","data-v-f7d51a9c"]]),ch={key:0,class:"VPDocFooter"},ah={key:0,class:"edit-info"},uh={key:0,class:"edit-link"},fh={key:1,class:"last-updated"},dh={key:1,class:"prev-next"},hh={class:"pager"},_h=["href"],ph=["innerHTML"],vh=["innerHTML"],mh=["href"],gh=["innerHTML"],bh=["innerHTML"],yh=O({__name:"VPDocFooter",setup(e){const{theme:t,page:n,frontmatter:s}=le(),o=Y0(),i=Q0(),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,y,$,z;return _(c)?(d(),m("footer",ch,[_(r)||_(l)?(d(),m("div",ah,[_(r)?(d(),m("div",uh,[V(Lt,{class:"edit-link-button",href:_(o).url,"no-icon":!0},{default:I(()=>[V(sh,{class:"edit-link-icon"}),Te(" "+ae(_(o).text),1)]),_:1},8,["href"])])):j("",!0),_(l)?(d(),m("div",fh,[V(lh)])):j("",!0)])):j("",!0),_(i).prev||_(i).next?(d(),m("div",dh,[b("div",hh,[_(i).prev?(d(),m("a",{key:0,class:"pager-link prev",href:_(Bn)(_(i).prev.link)},[b("span",{class:"desc",innerHTML:(y=(v=_(t).docFooter)==null?void 0:v.prev)!=null?y:"Previous page"},null,8,ph),b("span",{class:"title",innerHTML:_(i).prev.text},null,8,vh)],8,_h)):j("",!0)]),b("div",{class:de(["pager",{"has-prev":_(i).prev}])},[_(i).next?(d(),m("a",{key:0,class:"pager-link next",href:_(Bn)(_(i).next.link)},[b("span",{class:"desc",innerHTML:(z=($=_(t).docFooter)==null?void 0:$.next)!=null?z:"Next page"},null,8,gh),b("span",{class:"title",innerHTML:_(i).next.text},null,8,bh)],8,mh)):j("",!0)],2)])):j("",!0)])):j("",!0)}}});const wh=A(yh,[["__scopeId","data-v-21f75714"]]),xh=e=>(We("data-v-cfb513e0"),e=e(),qe(),e),kh={class:"container"},$h={key:0,class:"aside"},Ph=xh(()=>b("div",{class:"aside-curtain"},null,-1)),Ch={class:"aside-container"},Sh={class:"aside-content"},Vh={class:"content"},Th={class:"content-container"},Lh={class:"main"},Eh=O({__name:"VPDoc",setup(e){const t=vt(),{hasSidebar:n,hasAside:s}=tt(),o=ie(()=>t.path.replace(/[./]+/g,"_").replace(/_html$/,"")),i=me();return Yn("onContentUpdated",i),(r,l)=>{const c=Tt("Content");return d(),m("div",{class:de(["VPDoc",{"has-sidebar":_(n),"has-aside":_(s)}])},[b("div",kh,[_(s)?(d(),m("div",$h,[Ph,b("div",Ch,[b("div",Sh,[V(G0,null,{"aside-top":I(()=>[T(r.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":I(()=>[T(r.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":I(()=>[T(r.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":I(()=>[T(r.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":I(()=>[T(r.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":I(()=>[T(r.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])])):j("",!0),b("div",Vh,[b("div",Th,[T(r.$slots,"doc-before",{},void 0,!0),b("main",Lh,[V(c,{class:de(["vp-doc",_(o)]),onContentUpdated:i.value},null,8,["class","onContentUpdated"])]),T(r.$slots,"doc-footer-before",{},void 0,!0),V(wh),T(r.$slots,"doc-after",{},void 0,!0)])])])],2)}}});const Mh=A(Eh,[["__scopeId","data-v-cfb513e0"]]),Ih=O({__name:"VPContent",setup(e){const t=vt(),{frontmatter:n}=le(),{hasSidebar:s}=tt(),o=Xe("NotFound");return(i,r)=>(d(),m("div",{class:de(["VPContent",{"has-sidebar":_(s),"is-home":_(n).layout==="home"}]),id:"VPContent"},[_(t).component===_(o)?(d(),G(_(o),{key:0})):_(n).layout==="page"?(d(),G(S1,{key:1})):_(n).layout==="home"?(d(),G(d0,{key:2},{"home-hero-before":I(()=>[T(i.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-after":I(()=>[T(i.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":I(()=>[T(i.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":I(()=>[T(i.$slots,"home-features-after",{},void 0,!0)]),_:3})):(d(),G(Mh,{key:3},{"doc-footer-before":I(()=>[T(i.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":I(()=>[T(i.$slots,"doc-before",{},void 0,!0)]),"doc-after":I(()=>[T(i.$slots,"doc-after",{},void 0,!0)]),"aside-top":I(()=>[T(i.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":I(()=>[T(i.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":I(()=>[T(i.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":I(()=>[T(i.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":I(()=>[T(i.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":I(()=>[T(i.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}});const Ah=A(Ih,[["__scopeId","data-v-d981fe29"]]),Nh={class:"container"},Bh=["innerHTML"],Oh=["innerHTML"],Fh=O({__name:"VPFooter",setup(e){const{theme:t}=le(),{hasSidebar:n}=tt();return(s,o)=>_(t).footer?(d(),m("footer",{key:0,class:de(["VPFooter",{"has-sidebar":_(n)}])},[b("div",Nh,[_(t).footer.message?(d(),m("p",{key:0,class:"message",innerHTML:_(t).footer.message},null,8,Bh)):j("",!0),_(t).footer.copyright?(d(),m("p",{key:1,class:"copyright",innerHTML:_(t).footer.copyright},null,8,Oh)):j("",!0)])],2)):j("",!0)}});const Hh=A(Fh,[["__scopeId","data-v-9f24cc86"]]),Dh={key:0,class:"Layout"},Rh=O({__name:"Layout",setup(e){const{isOpen:t,open:n,close:s}=tt(),o=vt();Ze(()=>o.path,s),Ca(t,s),Yn("close-sidebar",s);const{frontmatter:i}=le();return(r,l)=>{const c=Tt("Content");return _(i).layout!==!1?(d(),m("div",Dh,[T(r.$slots,"layout-top",{},void 0,!0),V(Va),V(Ea,{class:"backdrop",show:_(t),onClick:_(s)},null,8,["show","onClick"]),V(Ad,null,{"nav-bar-title-before":I(()=>[T(r.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":I(()=>[T(r.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":I(()=>[T(r.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":I(()=>[T(r.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":I(()=>[T(r.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":I(()=>[T(r.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),V(Yd,{open:_(t),onOpenMenu:_(n)},null,8,["open","onOpenMenu"]),V(k1,{open:_(t)},{"sidebar-nav-before":I(()=>[T(r.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":I(()=>[T(r.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),V(Ah,null,{"home-hero-before":I(()=>[T(r.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-after":I(()=>[T(r.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":I(()=>[T(r.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":I(()=>[T(r.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":I(()=>[T(r.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":I(()=>[T(r.$slots,"doc-before",{},void 0,!0)]),"doc-after":I(()=>[T(r.$slots,"doc-after",{},void 0,!0)]),"aside-top":I(()=>[T(r.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":I(()=>[T(r.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":I(()=>[T(r.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":I(()=>[T(r.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":I(()=>[T(r.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":I(()=>[T(r.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),V(Hh),T(r.$slots,"layout-bottom",{},void 0,!0)])):(d(),G(c,{key:1}))}}});const jh=A(Rh,[["__scopeId","data-v-f44a984a"]]),ss=e=>(We("data-v-95656537"),e=e(),qe(),e),zh={class:"NotFound"},Uh=ss(()=>b("p",{class:"code"},"404",-1)),Kh=ss(()=>b("h1",{class:"title"},"PAGE NOT FOUND",-1)),Wh=ss(()=>b("div",{class:"divider"},null,-1)),qh=ss(()=>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)),Gh={class:"action"},Yh=["href"],Qh=O({__name:"NotFound",setup(e){const{site:t}=le();return(n,s)=>(d(),m("div",zh,[Uh,Kh,Wh,qh,b("div",Gh,[b("a",{class:"link",href:_(t).base,"aria-label":"go to home"}," Take me home ",8,Yh)])]))}});const Jh=A(Qh,[["__scopeId","data-v-95656537"]]);const Rt={Layout:jh,NotFound:Jh,enhanceApp:({app:e})=>{e.component("Badge",sa)}};function Xh(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=Zh(r);document.head.appendChild(l),n.push(l)})};zt(()=>{const i=e.data,r=t.value,l=i&&i.description,c=i&&i.frontmatter.head||[];document.title=cr(r,i),document.querySelector("meta[name=description]").setAttribute("content",l||r.description),o(fa(r.head,t_(c)))})}function Zh([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 e_(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function t_(e){return e.filter(t=>!e_(t))}const _s=new Set,kr=()=>document.createElement("link"),n_=e=>{const t=kr();t.rel="prefetch",t.href=e,document.head.appendChild(t)},s_=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let $n;const o_=Ee&&($n=kr())&&$n.relList&&$n.relList.supports&&$n.relList.supports("prefetch")?n_:s_;function i_(){if(!Ee||!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(!_s.has(c)){_s.add(c);const f=ar(c);o_(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):_s.add(c))})})};De(s);const o=vt();Ze(()=>o.path,s),pt(()=>{n&&n.disconnect()})}const r_=O({setup(e,{slots:t}){const n=me(!1);return De(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}});function l_(){if(Ee){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()),c_(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 c_(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 $r=Rt.NotFound||(()=>"404 Not Found"),a_=O({name:"VitePressApp",setup(){const{site:e}=le();return De(()=>{Ze(()=>e.value.lang,t=>{document.documentElement.lang=t},{immediate:!0})}),i_(),l_(),Rt.setup&&Rt.setup(),()=>Nn(Rt.Layout)}});function u_(){const e=d_(),t=f_();t.provide(fr,e);const n=pa(e.route);return t.provide(ur,n),t.provide("NotFound",$r),t.component("Content",ba),t.component("ClientOnly",r_),Object.defineProperty(t.config.globalProperties,"$frontmatter",{get(){return n.frontmatter.value}}),Rt.enhanceApp&&Rt.enhanceApp({app:t,router:e,siteData:Kt}),{app:t,router:e,data:n}}function f_(){return Jc(a_)}function d_(){let e=Ee,t;return ma(n=>{let s=ar(n);return e&&(t=s),(e||t===s)&&(s=s.replace(/\.js$/,".lean.js")),Ee&&(e=!1),ta(()=>import(s),[])},$r)}if(Ee){const{app:e,router:t,data:n}=u_();t.go().then(()=>{Xh(t.route,n.site),e.mount("#app")})}export{A as _,b as a,Te as b,m as c,u_ as createApp,uc as d,d as o};
|