1 line
96 KiB
JavaScript
1 line
96 KiB
JavaScript
var si=Object.defineProperty,oi=Object.defineProperties;var ri=Object.getOwnPropertyDescriptors;var Vs=Object.getOwnPropertySymbols;var ii=Object.prototype.hasOwnProperty,li=Object.prototype.propertyIsEnumerable;var zs=(e,t,n)=>t in e?si(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ys=(e,t)=>{for(var n in t||(t={}))ii.call(t,n)&&zs(e,n,t[n]);if(Vs)for(var n of Vs(t))li.call(t,n)&&zs(e,n,t[n]);return e},Js=(e,t)=>oi(e,ri(t));function ds(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 ci="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",ai=ds(ci);function Bo(e){return!!e||e===""}function hs(e){if(H(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],o=be(s)?di(s):hs(s);if(o)for(const r in o)t[r]=o[r]}return t}else{if(be(e))return e;if(pe(e))return e}}const ui=/;(?![^(]*\))/g,fi=/:(.+)/;function di(e){const t={};return e.split(ui).forEach(n=>{if(n){const s=n.split(fi);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function mt(e){let t="";if(be(e))t=e;else if(H(e))for(let n=0;n<e.length;n++){const s=mt(e[n]);s&&(t+=s+" ")}else if(pe(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const de=e=>be(e)?e:e==null?"":H(e)||pe(e)&&(e.toString===Ko||!q(e.toString))?JSON.stringify(e,Uo,2):String(e),Uo=(e,t)=>t&&t.__v_isRef?Uo(e,t.value):Tt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,o])=>(n[`${s} =>`]=o,n),{})}:Do(t)?{[`Set(${t.size})`]:[...t.values()]}:pe(t)&&!H(t)&&!Wo(t)?String(t):t,se={},$t=[],Re=()=>{},hi=()=>!1,pi=/^on[^a-z]/,Gt=e=>pi.test(e),ps=e=>e.startsWith("onUpdate:"),ye=Object.assign,ms=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},mi=Object.prototype.hasOwnProperty,G=(e,t)=>mi.call(e,t),H=Array.isArray,Tt=e=>Ln(e)==="[object Map]",Do=e=>Ln(e)==="[object Set]",q=e=>typeof e=="function",be=e=>typeof e=="string",_s=e=>typeof e=="symbol",pe=e=>e!==null&&typeof e=="object",jo=e=>pe(e)&&q(e.then)&&q(e.catch),Ko=Object.prototype.toString,Ln=e=>Ko.call(e),_i=e=>Ln(e).slice(8,-1),Wo=e=>Ln(e)==="[object Object]",gs=e=>be(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ht=ds(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),En=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},gi=/-(\w)/g,Ue=En(e=>e.replace(gi,(t,n)=>n?n.toUpperCase():"")),vi=/\B([A-Z])/g,Pt=En(e=>e.replace(vi,"-$1").toLowerCase()),An=En(e=>e.charAt(0).toUpperCase()+e.slice(1)),jn=En(e=>e?`on${An(e)}`:""),qt=(e,t)=>!Object.is(e,t),Kn=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},hn=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},qo=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Xs;const bi=()=>Xs||(Xs=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let Ke;class xi{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&Ke&&(this.parent=Ke,this.index=(Ke.scopes||(Ke.scopes=[])).push(this)-1)}run(t){if(this.active)try{return Ke=this,t()}finally{Ke=this.parent}}on(){Ke=this}off(){Ke=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 yi(e,t=Ke){t&&t.active&&t.effects.push(e)}const vs=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Vo=e=>(e.w&st)>0,zo=e=>(e.n&st)>0,ki=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=st},Ci=e=>{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s<t.length;s++){const o=t[s];Vo(o)&&!zo(o)?o.delete(e):t[n++]=o,o.w&=~st,o.n&=~st}t.length=n}},Zn=new WeakMap;let Rt=0,st=1;const Gn=30;let Be;const ft=Symbol(""),Qn=Symbol("");class bs{constructor(t,n=null,s){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,yi(this,s)}run(){if(!this.active)return this.fn();let t=Be,n=tt;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Be,Be=this,tt=!0,st=1<<++Rt,Rt<=Gn?ki(this):Zs(this),this.fn()}finally{Rt<=Gn&&Ci(this),st=1<<--Rt,Be=this.parent,tt=n,this.parent=void 0}}stop(){this.active&&(Zs(this),this.onStop&&this.onStop(),this.active=!1)}}function Zs(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let tt=!0;const Yo=[];function It(){Yo.push(tt),tt=!1}function Ft(){const e=Yo.pop();tt=e===void 0?!0:e}function Te(e,t,n){if(tt&&Be){let s=Zn.get(e);s||Zn.set(e,s=new Map);let o=s.get(n);o||s.set(n,o=vs()),Jo(o)}}function Jo(e,t){let n=!1;Rt<=Gn?zo(e)||(e.n|=st,n=!Vo(e)):n=!e.has(Be),n&&(e.add(Be),Be.deps.push(e))}function qe(e,t,n,s,o,r){const i=Zn.get(e);if(!i)return;let l=[];if(t==="clear")l=[...i.values()];else if(n==="length"&&H(e))i.forEach((c,f)=>{(f==="length"||f>=s)&&l.push(c)});else switch(n!==void 0&&l.push(i.get(n)),t){case"add":H(e)?gs(n)&&l.push(i.get("length")):(l.push(i.get(ft)),Tt(e)&&l.push(i.get(Qn)));break;case"delete":H(e)||(l.push(i.get(ft)),Tt(e)&&l.push(i.get(Qn)));break;case"set":Tt(e)&&l.push(i.get(ft));break}if(l.length===1)l[0]&&es(l[0]);else{const c=[];for(const f of l)f&&c.push(...f);es(vs(c))}}function es(e,t){for(const n of H(e)?e:[...e])(n!==Be||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}const wi=ds("__proto__,__v_isRef,__isVue"),Xo=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(_s)),$i=xs(),Ti=xs(!1,!0),Li=xs(!0),Gs=Ei();function Ei(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=Q(this);for(let r=0,i=this.length;r<i;r++)Te(s,"get",r+"");const o=s[t](...n);return o===-1||o===!1?s[t](...n.map(Q)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){It();const s=Q(this)[t].apply(this,n);return Ft(),s}}),e}function xs(e=!1,t=!1){return function(s,o,r){if(o==="__v_isReactive")return!e;if(o==="__v_isReadonly")return e;if(o==="__v_isShallow")return t;if(o==="__v_raw"&&r===(e?t?Wi:tr:t?er:Qo).get(s))return s;const i=H(s);if(!e&&i&&G(Gs,o))return Reflect.get(Gs,o,r);const l=Reflect.get(s,o,r);return(_s(o)?Xo.has(o):wi(o))||(e||Te(s,"get",o),t)?l:ve(l)?!i||!gs(o)?l.value:l:pe(l)?e?nr(l):In(l):l}}const Ai=Zo(),Pi=Zo(!0);function Zo(e=!1){return function(n,s,o,r){let i=n[s];if(Vt(i)&&ve(i)&&!ve(o))return!1;if(!e&&!Vt(o)&&(sr(o)||(o=Q(o),i=Q(i)),!H(n)&&ve(i)&&!ve(o)))return i.value=o,!0;const l=H(n)&&gs(s)?Number(s)<n.length:G(n,s),c=Reflect.set(n,s,o,r);return n===Q(r)&&(l?qt(o,i)&&qe(n,"set",s,o):qe(n,"add",s,o)),c}}function Ii(e,t){const n=G(e,t);e[t];const s=Reflect.deleteProperty(e,t);return s&&n&&qe(e,"delete",t,void 0),s}function Fi(e,t){const n=Reflect.has(e,t);return(!_s(t)||!Xo.has(t))&&Te(e,"has",t),n}function Mi(e){return Te(e,"iterate",H(e)?"length":ft),Reflect.ownKeys(e)}const Go={get:$i,set:Ai,deleteProperty:Ii,has:Fi,ownKeys:Mi},Si={get:Li,set(e,t){return!0},deleteProperty(e,t){return!0}},Ni=ye({},Go,{get:Ti,set:Pi}),ys=e=>e,Pn=e=>Reflect.getPrototypeOf(e);function on(e,t,n=!1,s=!1){e=e.__v_raw;const o=Q(e),r=Q(t);t!==r&&!n&&Te(o,"get",t),!n&&Te(o,"get",r);const{has:i}=Pn(o),l=s?ys:n?ws:zt;if(i.call(o,t))return l(e.get(t));if(i.call(o,r))return l(e.get(r));e!==o&&e.get(t)}function rn(e,t=!1){const n=this.__v_raw,s=Q(n),o=Q(e);return e!==o&&!t&&Te(s,"has",e),!t&&Te(s,"has",o),e===o?n.has(e):n.has(e)||n.has(o)}function ln(e,t=!1){return e=e.__v_raw,!t&&Te(Q(e),"iterate",ft),Reflect.get(e,"size",e)}function Qs(e){e=Q(e);const t=Q(this);return Pn(t).has.call(t,e)||(t.add(e),qe(t,"add",e,e)),this}function eo(e,t){t=Q(t);const n=Q(this),{has:s,get:o}=Pn(n);let r=s.call(n,e);r||(e=Q(e),r=s.call(n,e));const i=o.call(n,e);return n.set(e,t),r?qt(t,i)&&qe(n,"set",e,t):qe(n,"add",e,t),this}function to(e){const t=Q(this),{has:n,get:s}=Pn(t);let o=n.call(t,e);o||(e=Q(e),o=n.call(t,e)),s&&s.call(t,e);const r=t.delete(e);return o&&qe(t,"delete",e,void 0),r}function no(){const e=Q(this),t=e.size!==0,n=e.clear();return t&&qe(e,"clear",void 0,void 0),n}function cn(e,t){return function(s,o){const r=this,i=r.__v_raw,l=Q(i),c=t?ys:e?ws:zt;return!e&&Te(l,"iterate",ft),i.forEach((f,d)=>s.call(o,c(f),c(d),r))}}function an(e,t,n){return function(...s){const o=this.__v_raw,r=Q(o),i=Tt(r),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,f=o[e](...s),d=n?ys:t?ws:zt;return!t&&Te(r,"iterate",c?Qn:ft),{next(){const{value:p,done:m}=f.next();return m?{value:p,done:m}:{value:l?[d(p[0]),d(p[1])]:d(p),done:m}},[Symbol.iterator](){return this}}}}function Je(e){return function(...t){return e==="delete"?!1:this}}function Ri(){const e={get(r){return on(this,r)},get size(){return ln(this)},has:rn,add:Qs,set:eo,delete:to,clear:no,forEach:cn(!1,!1)},t={get(r){return on(this,r,!1,!0)},get size(){return ln(this)},has:rn,add:Qs,set:eo,delete:to,clear:no,forEach:cn(!1,!0)},n={get(r){return on(this,r,!0)},get size(){return ln(this,!0)},has(r){return rn.call(this,r,!0)},add:Je("add"),set:Je("set"),delete:Je("delete"),clear:Je("clear"),forEach:cn(!0,!1)},s={get(r){return on(this,r,!0,!0)},get size(){return ln(this,!0)},has(r){return rn.call(this,r,!0)},add:Je("add"),set:Je("set"),delete:Je("delete"),clear:Je("clear"),forEach:cn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=an(r,!1,!1),n[r]=an(r,!0,!1),t[r]=an(r,!1,!0),s[r]=an(r,!0,!0)}),[e,n,t,s]}const[Oi,Hi,Bi,Ui]=Ri();function ks(e,t){const n=t?e?Ui:Bi:e?Hi:Oi;return(s,o,r)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?s:Reflect.get(G(n,o)&&o in s?n:s,o,r)}const Di={get:ks(!1,!1)},ji={get:ks(!1,!0)},Ki={get:ks(!0,!1)},Qo=new WeakMap,er=new WeakMap,tr=new WeakMap,Wi=new WeakMap;function qi(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Vi(e){return e.__v_skip||!Object.isExtensible(e)?0:qi(_i(e))}function In(e){return Vt(e)?e:Cs(e,!1,Go,Di,Qo)}function zi(e){return Cs(e,!1,Ni,ji,er)}function nr(e){return Cs(e,!0,Si,Ki,tr)}function Cs(e,t,n,s,o){if(!pe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=o.get(e);if(r)return r;const i=Vi(e);if(i===0)return e;const l=new Proxy(e,i===2?s:n);return o.set(e,l),l}function Lt(e){return Vt(e)?Lt(e.__v_raw):!!(e&&e.__v_isReactive)}function Vt(e){return!!(e&&e.__v_isReadonly)}function sr(e){return!!(e&&e.__v_isShallow)}function or(e){return Lt(e)||Vt(e)}function Q(e){const t=e&&e.__v_raw;return t?Q(t):e}function Bt(e){return hn(e,"__v_skip",!0),e}const zt=e=>pe(e)?In(e):e,ws=e=>pe(e)?nr(e):e;function rr(e){tt&&Be&&(e=Q(e),Jo(e.dep||(e.dep=vs())))}function ir(e,t){e=Q(e),e.dep&&es(e.dep)}function ve(e){return!!(e&&e.__v_isRef===!0)}function Qt(e){return lr(e,!1)}function Yi(e){return lr(e,!0)}function lr(e,t){return ve(e)?e:new Ji(e,t)}class Ji{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Q(t),this._value=n?t:zt(t)}get value(){return rr(this),this._value}set value(t){t=this.__v_isShallow?t:Q(t),qt(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:zt(t),ir(this))}}function g(e){return ve(e)?e.value:e}const Xi={get:(e,t,n)=>g(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const o=e[t];return ve(o)&&!ve(n)?(o.value=n,!0):Reflect.set(e,t,n,s)}};function cr(e){return Lt(e)?e:new Proxy(e,Xi)}function $s(e){const t=H(e)?new Array(e.length):{};for(const n in e)t[n]=Gi(e,n);return t}class Zi{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}}function Gi(e,t,n){const s=e[t];return ve(s)?s:new Zi(e,t,n)}class Qi{constructor(t,n,s,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new bs(t,()=>{this._dirty||(this._dirty=!0,ir(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=s}get value(){const t=Q(this);return rr(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function el(e,t,n=!1){let s,o;const r=q(e);return r?(s=e,o=Re):(s=e.get,o=e.set),new Qi(s,o,r||!o,n)}Promise.resolve();function nt(e,t,n,s){let o;try{o=s?e(...s):e()}catch(r){Fn(r,t,n)}return o}function Ie(e,t,n,s){if(q(e)){const r=nt(e,t,n,s);return r&&jo(r)&&r.catch(i=>{Fn(i,t,n)}),r}const o=[];for(let r=0;r<e.length;r++)o.push(Ie(e[r],t,n,s));return o}function Fn(e,t,n,s=!0){const o=t?t.vnode:null;if(t){let r=t.parent;const i=t.proxy,l=n;for(;r;){const f=r.ec;if(f){for(let d=0;d<f.length;d++)if(f[d](e,i,l)===!1)return}r=r.parent}const c=t.appContext.config.errorHandler;if(c){nt(c,null,10,[e,i,l]);return}}tl(e,n,o,s)}function tl(e,t,n,s=!0){console.error(e)}let pn=!1,ts=!1;const $e=[];let We=0;const Ut=[];let Ot=null,kt=0;const Dt=[];let Qe=null,Ct=0;const ar=Promise.resolve();let Ts=null,ns=null;function Ls(e){const t=Ts||ar;return e?t.then(this?e.bind(this):e):t}function nl(e){let t=We+1,n=$e.length;for(;t<n;){const s=t+n>>>1;Yt($e[s])<e?t=s+1:n=s}return t}function ur(e){(!$e.length||!$e.includes(e,pn&&e.allowRecurse?We+1:We))&&e!==ns&&(e.id==null?$e.push(e):$e.splice(nl(e.id),0,e),fr())}function fr(){!pn&&!ts&&(ts=!0,Ts=ar.then(hr))}function sl(e){const t=$e.indexOf(e);t>We&&$e.splice(t,1)}function dr(e,t,n,s){H(e)?n.push(...e):(!t||!t.includes(e,e.allowRecurse?s+1:s))&&n.push(e),fr()}function ol(e){dr(e,Ot,Ut,kt)}function rl(e){dr(e,Qe,Dt,Ct)}function Es(e,t=null){if(Ut.length){for(ns=t,Ot=[...new Set(Ut)],Ut.length=0,kt=0;kt<Ot.length;kt++)Ot[kt]();Ot=null,kt=0,ns=null,Es(e,t)}}function mn(e){if(Dt.length){const t=[...new Set(Dt)];if(Dt.length=0,Qe){Qe.push(...t);return}for(Qe=t,Qe.sort((n,s)=>Yt(n)-Yt(s)),Ct=0;Ct<Qe.length;Ct++)Qe[Ct]();Qe=null,Ct=0}}const Yt=e=>e.id==null?1/0:e.id;function hr(e){ts=!1,pn=!0,Es(e),$e.sort((n,s)=>Yt(n)-Yt(s));const t=Re;try{for(We=0;We<$e.length;We++){const n=$e[We];n&&n.active!==!1&&nt(n,null,14)}}finally{We=0,$e.length=0,mn(),pn=!1,Ts=null,($e.length||Ut.length||Dt.length)&&hr(e)}}function il(e,t,...n){const s=e.vnode.props||se;let o=n;const r=t.startsWith("update:"),i=r&&t.slice(7);if(i&&i in s){const d=`${i==="modelValue"?"model":i}Modifiers`,{number:p,trim:m}=s[d]||se;m?o=n.map(E=>E.trim()):p&&(o=n.map(qo))}let l,c=s[l=jn(t)]||s[l=jn(Ue(t))];!c&&r&&(c=s[l=jn(Pt(t))]),c&&Ie(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,Ie(f,e,6,o)}}function pr(e,t,n=!1){const s=t.emitsCache,o=s.get(e);if(o!==void 0)return o;const r=e.emits;let i={},l=!1;if(!q(e)){const c=f=>{const d=pr(f,t,!0);d&&(l=!0,ye(i,d))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!r&&!l?(s.set(e,null),null):(H(r)?r.forEach(c=>i[c]=null):ye(i,r),s.set(e,i),i)}function As(e,t){return!e||!Gt(t)?!1:(t=t.slice(2).replace(/Once$/,""),G(e,t[0].toLowerCase()+t.slice(1))||G(e,Pt(t))||G(e,t))}let Ae=null,Mn=null;function _n(e){const t=Ae;return Ae=e,Mn=e&&e.type.__scopeId||null,t}function Ps(e){Mn=e}function Is(){Mn=null}function Se(e,t=Ae,n){if(!t||e._n)return e;const s=(...o)=>{s._d&&po(-1);const r=_n(t),i=e(...o);return _n(r),s._d&&po(1),i};return s._n=!0,s._c=!0,s._d=!0,s}function Wn(e){const{type:t,vnode:n,proxy:s,withProxy:o,props:r,propsOptions:[i],slots:l,attrs:c,emit:f,render:d,renderCache:p,data:m,setupState:E,ctx:M,inheritAttrs:D}=e;let v,y;const K=_n(e);try{if(n.shapeFlag&4){const O=o||s;v=Ne(d.call(O,O,p,r,E,m,M)),y=c}else{const O=t;v=Ne(O.length>1?O(r,{attrs:c,slots:l,emit:f}):O(r,null)),y=t.props?c:ll(c)}}catch(O){Wt.length=0,Fn(O,e,1),v=U(Fe)}let F=v;if(y&&D!==!1){const O=Object.keys(y),{shapeFlag:Y}=F;O.length&&Y&7&&(i&&O.some(ps)&&(y=cl(y,i)),F=Et(F,y))}return n.dirs&&(F.dirs=F.dirs?F.dirs.concat(n.dirs):n.dirs),n.transition&&(F.transition=n.transition),v=F,_n(K),v}const ll=e=>{let t;for(const n in e)(n==="class"||n==="style"||Gt(n))&&((t||(t={}))[n]=e[n]);return t},cl=(e,t)=>{const n={};for(const s in e)(!ps(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function al(e,t,n){const{props:s,children:o,component:r}=e,{props:i,children:l,patchFlag:c}=t,f=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?so(s,i,f):!!i;if(c&8){const d=t.dynamicProps;for(let p=0;p<d.length;p++){const m=d[p];if(i[m]!==s[m]&&!As(f,m))return!0}}}else return(o||l)&&(!l||!l.$stable)?!0:s===i?!1:s?i?so(s,i,f):!0:!!i;return!1}function so(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let o=0;o<s.length;o++){const r=s[o];if(t[r]!==e[r]&&!As(n,r))return!0}return!1}function ul({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const fl=e=>e.__isSuspense;function mr(e,t){t&&t.pendingBranch?H(e)?t.effects.push(...e):t.effects.push(e):rl(e)}function dl(e,t){if(ge){let n=ge.provides;const s=ge.parent&&ge.parent.provides;s===n&&(n=ge.provides=Object.create(s)),n[e]=t}}function jt(e,t,n=!1){const s=ge||Ae;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&&q(t)?t.call(s.proxy):t}}function _r(e,t){return Fs(e,null,t)}const oo={};function dt(e,t,n){return Fs(e,t,n)}function Fs(e,t,{immediate:n,deep:s,flush:o,onTrack:r,onTrigger:i}=se){const l=ge;let c,f=!1,d=!1;if(ve(e)?(c=()=>e.value,f=sr(e)):Lt(e)?(c=()=>e,s=!0):H(e)?(d=!0,f=e.some(Lt),c=()=>e.map(y=>{if(ve(y))return y.value;if(Lt(y))return wt(y);if(q(y))return nt(y,l,2)})):q(e)?t?c=()=>nt(e,l,2):c=()=>{if(!(l&&l.isUnmounted))return p&&p(),Ie(e,l,3,[m])}:c=Re,t&&s){const y=c;c=()=>wt(y())}let p,m=y=>{p=v.onStop=()=>{nt(y,l,4)}};if(Zt)return m=Re,t?n&&Ie(t,l,3,[c(),d?[]:void 0,m]):c(),Re;let E=d?[]:oo;const M=()=>{if(!!v.active)if(t){const y=v.run();(s||f||(d?y.some((K,F)=>qt(K,E[F])):qt(y,E)))&&(p&&p(),Ie(t,l,3,[y,E===oo?void 0:E,m]),E=y)}else v.run()};M.allowRecurse=!!t;let D;o==="sync"?D=M:o==="post"?D=()=>Ce(M,l&&l.suspense):D=()=>{!l||l.isMounted?ol(M):M()};const v=new bs(c,D);return t?n?M():E=v.run():o==="post"?Ce(v.run.bind(v),l&&l.suspense):v.run(),()=>{v.stop(),l&&l.scope&&ms(l.scope.effects,v)}}function hl(e,t,n){const s=this.proxy,o=be(e)?e.includes(".")?gr(s,e):()=>s[e]:e.bind(s,s);let r;q(t)?r=t:(r=t.handler,n=t);const i=ge;At(this);const l=Fs(o,r.bind(s),n);return i?At(i):pt(),l}function gr(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 wt(e,t){if(!pe(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),ve(e))wt(e.value,t);else if(H(e))for(let n=0;n<e.length;n++)wt(e[n],t);else if(Do(e)||Tt(e))e.forEach(n=>{wt(n,t)});else if(Wo(e))for(const n in e)wt(e[n],t);return e}function pl(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return _t(()=>{e.isMounted=!0}),Cr(()=>{e.isUnmounting=!0}),e}const Le=[Function,Array],ml={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Le,onEnter:Le,onAfterEnter:Le,onEnterCancelled:Le,onBeforeLeave:Le,onLeave:Le,onAfterLeave:Le,onLeaveCancelled:Le,onBeforeAppear:Le,onAppear:Le,onAfterAppear:Le,onAppearCancelled:Le},setup(e,{slots:t}){const n=Zl(),s=pl();let o;return()=>{const r=t.default&&xr(t.default(),!0);if(!r||!r.length)return;const i=Q(e),{mode:l}=i,c=r[0];if(s.isLeaving)return qn(c);const f=ro(c);if(!f)return qn(c);const d=ss(f,i,s,n);os(f,d);const p=n.subTree,m=p&&ro(p);let E=!1;const{getTransitionKey:M}=f.type;if(M){const D=M();o===void 0?o=D:D!==o&&(o=D,E=!0)}if(m&&m.type!==Fe&&(!at(f,m)||E)){const D=ss(m,i,s,n);if(os(m,D),l==="out-in")return s.isLeaving=!0,D.afterLeave=()=>{s.isLeaving=!1,n.update()},qn(c);l==="in-out"&&f.type!==Fe&&(D.delayLeave=(v,y,K)=>{const F=br(s,m);F[String(m.key)]=m,v._leaveCb=()=>{y(),v._leaveCb=void 0,delete d.delayedLeave},d.delayedLeave=K})}return c}}},vr=ml;function br(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 ss(e,t,n,s){const{appear:o,mode:r,persisted:i=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:f,onEnterCancelled:d,onBeforeLeave:p,onLeave:m,onAfterLeave:E,onLeaveCancelled:M,onBeforeAppear:D,onAppear:v,onAfterAppear:y,onAppearCancelled:K}=t,F=String(e.key),O=br(n,e),Y=(A,J)=>{A&&Ie(A,s,9,J)},Z={mode:r,persisted:i,beforeEnter(A){let J=l;if(!n.isMounted)if(o)J=D||l;else return;A._leaveCb&&A._leaveCb(!0);const W=O[F];W&&at(e,W)&&W.el._leaveCb&&W.el._leaveCb(),Y(J,[A])},enter(A){let J=c,W=f,ee=d;if(!n.isMounted)if(o)J=v||c,W=y||f,ee=K||d;else return;let ne=!1;const w=A._enterCb=z=>{ne||(ne=!0,z?Y(ee,[A]):Y(W,[A]),Z.delayedLeave&&Z.delayedLeave(),A._enterCb=void 0)};J?(J(A,w),J.length<=1&&w()):w()},leave(A,J){const W=String(e.key);if(A._enterCb&&A._enterCb(!0),n.isUnmounting)return J();Y(p,[A]);let ee=!1;const ne=A._leaveCb=w=>{ee||(ee=!0,J(),w?Y(M,[A]):Y(E,[A]),A._leaveCb=void 0,O[W]===e&&delete O[W])};O[W]=e,m?(m(A,ne),m.length<=1&&ne()):ne()},clone(A){return ss(A,t,n,s)}};return Z}function qn(e){if(Sn(e))return e=Et(e),e.children=null,e}function ro(e){return Sn(e)?e.children?e.children[0]:void 0:e}function os(e,t){e.shapeFlag&6&&e.component?os(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 xr(e,t=!1){let n=[],s=0;for(let o=0;o<e.length;o++){const r=e[o];r.type===he?(r.patchFlag&128&&s++,n=n.concat(xr(r.children,t))):(t||r.type!==Fe)&&n.push(r)}if(s>1)for(let o=0;o<n.length;o++)n[o].patchFlag=-2;return n}function le(e){return q(e)?{setup:e,name:e.name}:e}const gn=e=>!!e.type.__asyncLoader,Sn=e=>e.type.__isKeepAlive;function _l(e,t){yr(e,"a",t)}function gl(e,t){yr(e,"da",t)}function yr(e,t,n=ge){const s=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Nn(t,s,n),n){let o=n.parent;for(;o&&o.parent;)Sn(o.parent.vnode)&&vl(s,t,n,o),o=o.parent}}function vl(e,t,n,s){const o=Nn(t,e,s,!0);Rn(()=>{ms(s[t],o)},n)}function Nn(e,t,n=ge,s=!1){if(n){const o=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;It(),At(n);const l=Ie(t,n,e,i);return pt(),Ft(),l});return s?o.unshift(r):o.push(r),r}}const Ve=e=>(t,n=ge)=>(!Zt||e==="sp")&&Nn(e,t,n),bl=Ve("bm"),_t=Ve("m"),xl=Ve("bu"),kr=Ve("u"),Cr=Ve("bum"),Rn=Ve("um"),yl=Ve("sp"),kl=Ve("rtg"),Cl=Ve("rtc");function wl(e,t=ge){Nn("ec",e,t)}let rs=!0;function $l(e){const t=$r(e),n=e.proxy,s=e.ctx;rs=!1,t.beforeCreate&&io(t.beforeCreate,e,"bc");const{data:o,computed:r,methods:i,watch:l,provide:c,inject:f,created:d,beforeMount:p,mounted:m,beforeUpdate:E,updated:M,activated:D,deactivated:v,beforeDestroy:y,beforeUnmount:K,destroyed:F,unmounted:O,render:Y,renderTracked:Z,renderTriggered:A,errorCaptured:J,serverPrefetch:W,expose:ee,inheritAttrs:ne,components:w,directives:z,filters:ae}=t;if(f&&Tl(f,s,null,e.appContext.config.unwrapInjectedRef),i)for(const ue in i){const re=i[ue];q(re)&&(s[ue]=re.bind(n))}if(o){const ue=o.call(n,n);pe(ue)&&(e.data=In(ue))}if(rs=!0,r)for(const ue in r){const re=r[ue],De=q(re)?re.bind(n,n):q(re.get)?re.get.bind(n,n):Re,Bn=!q(re)&&q(re.set)?re.set.bind(n):Re,Mt=j({get:De,set:Bn});Object.defineProperty(s,ue,{enumerable:!0,configurable:!0,get:()=>Mt.value,set:vt=>Mt.value=vt})}if(l)for(const ue in l)wr(l[ue],s,n,ue);if(c){const ue=q(c)?c.call(n):c;Reflect.ownKeys(ue).forEach(re=>{dl(re,ue[re])})}d&&io(d,e,"c");function xe(ue,re){H(re)?re.forEach(De=>ue(De.bind(n))):re&&ue(re.bind(n))}if(xe(bl,p),xe(_t,m),xe(xl,E),xe(kr,M),xe(_l,D),xe(gl,v),xe(wl,J),xe(Cl,Z),xe(kl,A),xe(Cr,K),xe(Rn,O),xe(yl,W),H(ee))if(ee.length){const ue=e.exposed||(e.exposed={});ee.forEach(re=>{Object.defineProperty(ue,re,{get:()=>n[re],set:De=>n[re]=De})})}else e.exposed||(e.exposed={});Y&&e.render===Re&&(e.render=Y),ne!=null&&(e.inheritAttrs=ne),w&&(e.components=w),z&&(e.directives=z)}function Tl(e,t,n=Re,s=!1){H(e)&&(e=is(e));for(const o in e){const r=e[o];let i;pe(r)?"default"in r?i=jt(r.from||o,r.default,!0):i=jt(r.from||o):i=jt(r),ve(i)&&s?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:l=>i.value=l}):t[o]=i}}function io(e,t,n){Ie(H(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function wr(e,t,n,s){const o=s.includes(".")?gr(n,s):()=>n[s];if(be(e)){const r=t[e];q(r)&&dt(o,r)}else if(q(e))dt(o,e.bind(n));else if(pe(e))if(H(e))e.forEach(r=>wr(r,t,n,s));else{const r=q(e.handler)?e.handler.bind(n):t[e.handler];q(r)&&dt(o,r,e)}}function $r(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:o,optionsCache:r,config:{optionMergeStrategies:i}}=e.appContext,l=r.get(t);let c;return l?c=l:!o.length&&!n&&!s?c=t:(c={},o.length&&o.forEach(f=>vn(c,f,i,!0)),vn(c,t,i)),r.set(t,c),c}function vn(e,t,n,s=!1){const{mixins:o,extends:r}=t;r&&vn(e,r,n,!0),o&&o.forEach(i=>vn(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=Ll[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Ll={data:lo,props:ct,emits:ct,methods:ct,computed:ct,beforeCreate:ke,created:ke,beforeMount:ke,mounted:ke,beforeUpdate:ke,updated:ke,beforeDestroy:ke,beforeUnmount:ke,destroyed:ke,unmounted:ke,activated:ke,deactivated:ke,errorCaptured:ke,serverPrefetch:ke,components:ct,directives:ct,watch:Al,provide:lo,inject:El};function lo(e,t){return t?e?function(){return ye(q(e)?e.call(this,this):e,q(t)?t.call(this,this):t)}:t:e}function El(e,t){return ct(is(e),is(t))}function is(e){if(H(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ke(e,t){return e?[...new Set([].concat(e,t))]:t}function ct(e,t){return e?ye(ye(Object.create(null),e),t):t}function Al(e,t){if(!e)return t;if(!t)return e;const n=ye(Object.create(null),e);for(const s in t)n[s]=ke(e[s],t[s]);return n}function Pl(e,t,n,s=!1){const o={},r={};hn(r,On,1),e.propsDefaults=Object.create(null),Tr(e,t,o,r);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=s?o:zi(o):e.type.props?e.props=o:e.props=r,e.attrs=r}function Il(e,t,n,s){const{props:o,attrs:r,vnode:{patchFlag:i}}=e,l=Q(o),[c]=e.propsOptions;let f=!1;if((s||i>0)&&!(i&16)){if(i&8){const d=e.vnode.dynamicProps;for(let p=0;p<d.length;p++){let m=d[p];const E=t[m];if(c)if(G(r,m))E!==r[m]&&(r[m]=E,f=!0);else{const M=Ue(m);o[M]=ls(c,l,M,E,e,!1)}else E!==r[m]&&(r[m]=E,f=!0)}}}else{Tr(e,t,o,r)&&(f=!0);let d;for(const p in l)(!t||!G(t,p)&&((d=Pt(p))===p||!G(t,d)))&&(c?n&&(n[p]!==void 0||n[d]!==void 0)&&(o[p]=ls(c,l,p,void 0,e,!0)):delete o[p]);if(r!==l)for(const p in r)(!t||!G(t,p)&&!0)&&(delete r[p],f=!0)}f&&qe(e,"set","$attrs")}function Tr(e,t,n,s){const[o,r]=e.propsOptions;let i=!1,l;if(t)for(let c in t){if(Ht(c))continue;const f=t[c];let d;o&&G(o,d=Ue(c))?!r||!r.includes(d)?n[d]=f:(l||(l={}))[d]=f:As(e.emitsOptions,c)||(!(c in s)||f!==s[c])&&(s[c]=f,i=!0)}if(r){const c=Q(n),f=l||se;for(let d=0;d<r.length;d++){const p=r[d];n[p]=ls(o,c,p,f[p],e,!G(f,p))}}return i}function ls(e,t,n,s,o,r){const i=e[n];if(i!=null){const l=G(i,"default");if(l&&s===void 0){const c=i.default;if(i.type!==Function&&q(c)){const{propsDefaults:f}=o;n in f?s=f[n]:(At(o),s=f[n]=c.call(null,t),pt())}else s=c}i[0]&&(r&&!l?s=!1:i[1]&&(s===""||s===Pt(n))&&(s=!0))}return s}function Lr(e,t,n=!1){const s=t.propsCache,o=s.get(e);if(o)return o;const r=e.props,i={},l=[];let c=!1;if(!q(e)){const d=p=>{c=!0;const[m,E]=Lr(p,t,!0);ye(i,m),E&&l.push(...E)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!r&&!c)return s.set(e,$t),$t;if(H(r))for(let d=0;d<r.length;d++){const p=Ue(r[d]);co(p)&&(i[p]=se)}else if(r)for(const d in r){const p=Ue(d);if(co(p)){const m=r[d],E=i[p]=H(m)||q(m)?{type:m}:m;if(E){const M=fo(Boolean,E.type),D=fo(String,E.type);E[0]=M>-1,E[1]=D<0||M<D,(M>-1||G(E,"default"))&&l.push(p)}}}const f=[i,l];return s.set(e,f),f}function co(e){return e[0]!=="$"}function ao(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function uo(e,t){return ao(e)===ao(t)}function fo(e,t){return H(t)?t.findIndex(n=>uo(n,e)):q(t)&&uo(t,e)?0:-1}const Er=e=>e[0]==="_"||e==="$stable",Ms=e=>H(e)?e.map(Ne):[Ne(e)],Fl=(e,t,n)=>{const s=Se((...o)=>Ms(t(...o)),n);return s._c=!1,s},Ar=(e,t,n)=>{const s=e._ctx;for(const o in e){if(Er(o))continue;const r=e[o];if(q(r))t[o]=Fl(o,r,s);else if(r!=null){const i=Ms(r);t[o]=()=>i}}},Pr=(e,t)=>{const n=Ms(t);e.slots.default=()=>n},Ml=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Q(t),hn(t,"_",n)):Ar(t,e.slots={})}else e.slots={},t&&Pr(e,t);hn(e.slots,On,1)},Sl=(e,t,n)=>{const{vnode:s,slots:o}=e;let r=!0,i=se;if(s.shapeFlag&32){const l=t._;l?n&&l===1?r=!1:(ye(o,t),!n&&l===1&&delete o._):(r=!t.$stable,Ar(t,o)),i=t}else t&&(Pr(e,t),i={default:1});if(r)for(const l in o)!Er(l)&&!(l in i)&&delete o[l]};function He(e,t,n,s){const o=e.dirs,r=t&&t.dirs;for(let i=0;i<o.length;i++){const l=o[i];r&&(l.oldValue=r[i].value);let c=l.dir[s];c&&(It(),Ie(c,n,8,[e.el,l,e,t]),Ft())}}function Ir(){return{app:null,config:{isNativeTag:hi,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 Nl=0;function Rl(e,t){return function(s,o=null){o!=null&&!pe(o)&&(o=null);const r=Ir(),i=new Set;let l=!1;const c=r.app={_uid:Nl++,_component:s,_props:o,_container:null,_context:r,_instance:null,version:oc,get config(){return r.config},set config(f){},use(f,...d){return i.has(f)||(f&&q(f.install)?(i.add(f),f.install(c,...d)):q(f)&&(i.add(f),f(c,...d))),c},mixin(f){return r.mixins.includes(f)||r.mixins.push(f),c},component(f,d){return d?(r.components[f]=d,c):r.components[f]},directive(f,d){return d?(r.directives[f]=d,c):r.directives[f]},mount(f,d,p){if(!l){const m=U(s,o);return m.appContext=r,d&&t?t(m,f):e(m,f,p),l=!0,c._container=f,f.__vue_app__=c,Ns(m.component)||m.component.proxy}},unmount(){l&&(e(null,c._container),delete c._container.__vue_app__)},provide(f,d){return r.provides[f]=d,c}};return c}}function bn(e,t,n,s,o=!1){if(H(e)){e.forEach((m,E)=>bn(m,t&&(H(t)?t[E]:t),n,s,o));return}if(gn(s)&&!o)return;const r=s.shapeFlag&4?Ns(s.component)||s.component.proxy:s.el,i=o?null:r,{i:l,r:c}=e,f=t&&t.r,d=l.refs===se?l.refs={}:l.refs,p=l.setupState;if(f!=null&&f!==c&&(be(f)?(d[f]=null,G(p,f)&&(p[f]=null)):ve(f)&&(f.value=null)),q(c))nt(c,l,12,[i,d]);else{const m=be(c),E=ve(c);if(m||E){const M=()=>{if(e.f){const D=m?d[c]:c.value;o?H(D)&&ms(D,r):H(D)?D.includes(r)||D.push(r):m?d[c]=[r]:(c.value=[r],e.k&&(d[e.k]=c.value))}else m?(d[c]=i,G(p,c)&&(p[c]=i)):ve(c)&&(c.value=i,e.k&&(d[e.k]=i))};i?(M.id=-1,Ce(M,n)):M()}}}let Xe=!1;const un=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",Vn=e=>e.nodeType===8;function Ol(e){const{mt:t,p:n,o:{patchProp:s,nextSibling:o,parentNode:r,remove:i,insert:l,createComment:c}}=e,f=(v,y)=>{if(!y.hasChildNodes()){n(null,v,y),mn();return}Xe=!1,d(y.firstChild,v,null,null,null),mn(),Xe&&console.error("Hydration completed but contains mismatches.")},d=(v,y,K,F,O,Y=!1)=>{const Z=Vn(v)&&v.data==="[",A=()=>M(v,y,K,F,O,Z),{type:J,ref:W,shapeFlag:ee}=y,ne=v.nodeType;y.el=v;let w=null;switch(J){case Xt:ne!==3?w=A():(v.data!==y.children&&(Xe=!0,v.data=y.children),w=o(v));break;case Fe:ne!==8||Z?w=A():w=o(v);break;case Kt:if(ne!==1)w=A();else{w=v;const z=!y.children.length;for(let ae=0;ae<y.staticCount;ae++)z&&(y.children+=w.outerHTML),ae===y.staticCount-1&&(y.anchor=w),w=o(w);return w}break;case he:Z?w=E(v,y,K,F,O,Y):w=A();break;default:if(ee&1)ne!==1||y.type.toLowerCase()!==v.tagName.toLowerCase()?w=A():w=p(v,y,K,F,O,Y);else if(ee&6){y.slotScopeIds=O;const z=r(v);if(t(y,z,null,K,F,un(z),Y),w=Z?D(v):o(v),gn(y)){let ae;Z?(ae=U(he),ae.anchor=w?w.previousSibling:z.lastChild):ae=v.nodeType===3?en(""):U("div"),ae.el=v,y.component.subTree=ae}}else ee&64?ne!==8?w=A():w=y.type.hydrate(v,y,K,F,O,Y,e,m):ee&128&&(w=y.type.hydrate(v,y,K,F,un(r(v)),O,Y,e,d))}return W!=null&&bn(W,null,F,y),w},p=(v,y,K,F,O,Y)=>{Y=Y||!!y.dynamicChildren;const{type:Z,props:A,patchFlag:J,shapeFlag:W,dirs:ee}=y,ne=Z==="input"&&ee||Z==="option";if(ne||J!==-1){if(ee&&He(y,null,K,"created"),A)if(ne||!Y||J&48)for(const z in A)(ne&&z.endsWith("value")||Gt(z)&&!Ht(z))&&s(v,z,null,A[z],!1,void 0,K);else A.onClick&&s(v,"onClick",null,A.onClick,!1,void 0,K);let w;if((w=A&&A.onVnodeBeforeMount)&&Ee(w,K,y),ee&&He(y,null,K,"beforeMount"),((w=A&&A.onVnodeMounted)||ee)&&mr(()=>{w&&Ee(w,K,y),ee&&He(y,null,K,"mounted")},F),W&16&&!(A&&(A.innerHTML||A.textContent))){let z=m(v.firstChild,y,v,K,F,O,Y);for(;z;){Xe=!0;const ae=z;z=z.nextSibling,i(ae)}}else W&8&&v.textContent!==y.children&&(Xe=!0,v.textContent=y.children)}return v.nextSibling},m=(v,y,K,F,O,Y,Z)=>{Z=Z||!!y.dynamicChildren;const A=y.children,J=A.length;for(let W=0;W<J;W++){const ee=Z?A[W]:A[W]=Ne(A[W]);if(v)v=d(v,ee,F,O,Y,Z);else{if(ee.type===Xt&&!ee.children)continue;Xe=!0,n(null,ee,K,null,F,O,un(K),Y)}}return v},E=(v,y,K,F,O,Y)=>{const{slotScopeIds:Z}=y;Z&&(O=O?O.concat(Z):Z);const A=r(v),J=m(o(v),y,A,K,F,O,Y);return J&&Vn(J)&&J.data==="]"?o(y.anchor=J):(Xe=!0,l(y.anchor=c("]"),A,J),J)},M=(v,y,K,F,O,Y)=>{if(Xe=!0,y.el=null,Y){const J=D(v);for(;;){const W=o(v);if(W&&W!==J)i(W);else break}}const Z=o(v),A=r(v);return i(v),n(null,y,A,Z,K,F,un(A),O),Z},D=v=>{let y=0;for(;v;)if(v=o(v),v&&Vn(v)&&(v.data==="["&&y++,v.data==="]")){if(y===0)return o(v);y--}return v};return[f,d]}const Ce=mr;function Hl(e){return Bl(e,Ol)}function Bl(e,t){const n=bi();n.__VUE__=!0;const{insert:s,remove:o,patchProp:r,createElement:i,createText:l,createComment:c,setText:f,setElementText:d,parentNode:p,nextSibling:m,setScopeId:E=Re,cloneNode:M,insertStaticContent:D}=e,v=(a,u,h,b=null,_=null,C=null,L=!1,k=null,$=!!u.dynamicChildren)=>{if(a===u)return;a&&!at(a,u)&&(b=sn(a),Ye(a,_,C,!0),a=null),u.patchFlag===-2&&($=!1,u.dynamicChildren=null);const{type:x,ref:N,shapeFlag:P}=u;switch(x){case Xt:y(a,u,h,b);break;case Fe:K(a,u,h,b);break;case Kt:a==null&&F(u,h,b,L);break;case he:z(a,u,h,b,_,C,L,k,$);break;default:P&1?Z(a,u,h,b,_,C,L,k,$):P&6?ae(a,u,h,b,_,C,L,k,$):(P&64||P&128)&&x.process(a,u,h,b,_,C,L,k,$,bt)}N!=null&&_&&bn(N,a&&a.ref,C,u||a,!u)},y=(a,u,h,b)=>{if(a==null)s(u.el=l(u.children),h,b);else{const _=u.el=a.el;u.children!==a.children&&f(_,u.children)}},K=(a,u,h,b)=>{a==null?s(u.el=c(u.children||""),h,b):u.el=a.el},F=(a,u,h,b)=>{[a.el,a.anchor]=D(a.children,u,h,b,a.el,a.anchor)},O=({el:a,anchor:u},h,b)=>{let _;for(;a&&a!==u;)_=m(a),s(a,h,b),a=_;s(u,h,b)},Y=({el:a,anchor:u})=>{let h;for(;a&&a!==u;)h=m(a),o(a),a=h;o(u)},Z=(a,u,h,b,_,C,L,k,$)=>{L=L||u.type==="svg",a==null?A(u,h,b,_,C,L,k,$):ee(a,u,_,C,L,k,$)},A=(a,u,h,b,_,C,L,k)=>{let $,x;const{type:N,props:P,shapeFlag:R,transition:B,patchFlag:X,dirs:ce}=a;if(a.el&&M!==void 0&&X===-1)$=a.el=M(a.el);else{if($=a.el=i(a.type,C,P&&P.is,P),R&8?d($,a.children):R&16&&W(a.children,$,null,b,_,C&&N!=="foreignObject",L,k),ce&&He(a,null,b,"created"),P){for(const ie in P)ie!=="value"&&!Ht(ie)&&r($,ie,null,P[ie],C,a.children,b,_,je);"value"in P&&r($,"value",null,P.value),(x=P.onVnodeBeforeMount)&&Ee(x,b,a)}J($,a,a.scopeId,L,b)}ce&&He(a,null,b,"beforeMount");const te=(!_||_&&!_.pendingBranch)&&B&&!B.persisted;te&&B.beforeEnter($),s($,u,h),((x=P&&P.onVnodeMounted)||te||ce)&&Ce(()=>{x&&Ee(x,b,a),te&&B.enter($),ce&&He(a,null,b,"mounted")},_)},J=(a,u,h,b,_)=>{if(h&&E(a,h),b)for(let C=0;C<b.length;C++)E(a,b[C]);if(_){let C=_.subTree;if(u===C){const L=_.vnode;J(a,L,L.scopeId,L.slotScopeIds,_.parent)}}},W=(a,u,h,b,_,C,L,k,$=0)=>{for(let x=$;x<a.length;x++){const N=a[x]=k?et(a[x]):Ne(a[x]);v(null,N,u,h,b,_,C,L,k)}},ee=(a,u,h,b,_,C,L)=>{const k=u.el=a.el;let{patchFlag:$,dynamicChildren:x,dirs:N}=u;$|=a.patchFlag&16;const P=a.props||se,R=u.props||se;let B;h&&it(h,!1),(B=R.onVnodeBeforeUpdate)&&Ee(B,h,u,a),N&&He(u,a,h,"beforeUpdate"),h&&it(h,!0);const X=_&&u.type!=="foreignObject";if(x?ne(a.dynamicChildren,x,k,h,b,X,C):L||De(a,u,k,null,h,b,X,C,!1),$>0){if($&16)w(k,u,P,R,h,b,_);else if($&2&&P.class!==R.class&&r(k,"class",null,R.class,_),$&4&&r(k,"style",P.style,R.style,_),$&8){const ce=u.dynamicProps;for(let te=0;te<ce.length;te++){const ie=ce[te],Me=P[ie],xt=R[ie];(xt!==Me||ie==="value")&&r(k,ie,Me,xt,_,a.children,h,b,je)}}$&1&&a.children!==u.children&&d(k,u.children)}else!L&&x==null&&w(k,u,P,R,h,b,_);((B=R.onVnodeUpdated)||N)&&Ce(()=>{B&&Ee(B,h,u,a),N&&He(u,a,h,"updated")},b)},ne=(a,u,h,b,_,C,L)=>{for(let k=0;k<u.length;k++){const $=a[k],x=u[k],N=$.el&&($.type===he||!at($,x)||$.shapeFlag&70)?p($.el):h;v($,x,N,null,b,_,C,L,!0)}},w=(a,u,h,b,_,C,L)=>{if(h!==b){for(const k in b){if(Ht(k))continue;const $=b[k],x=h[k];$!==x&&k!=="value"&&r(a,k,x,$,L,u.children,_,C,je)}if(h!==se)for(const k in h)!Ht(k)&&!(k in b)&&r(a,k,h[k],null,L,u.children,_,C,je);"value"in b&&r(a,"value",h.value,b.value)}},z=(a,u,h,b,_,C,L,k,$)=>{const x=u.el=a?a.el:l(""),N=u.anchor=a?a.anchor:l("");let{patchFlag:P,dynamicChildren:R,slotScopeIds:B}=u;B&&(k=k?k.concat(B):B),a==null?(s(x,h,b),s(N,h,b),W(u.children,h,N,_,C,L,k,$)):P>0&&P&64&&R&&a.dynamicChildren?(ne(a.dynamicChildren,R,h,_,C,L,k),(u.key!=null||_&&u===_.subTree)&&Fr(a,u,!0)):De(a,u,h,N,_,C,L,k,$)},ae=(a,u,h,b,_,C,L,k,$)=>{u.slotScopeIds=k,a==null?u.shapeFlag&512?_.ctx.activate(u,h,b,L,$):gt(u,h,b,_,C,L,$):xe(a,u,$)},gt=(a,u,h,b,_,C,L)=>{const k=a.component=Xl(a,b,_);if(Sn(a)&&(k.ctx.renderer=bt),Gl(k),k.asyncDep){if(_&&_.registerDep(k,ue),!a.el){const $=k.subTree=U(Fe);K(null,$,u,h)}return}ue(k,a,u,h,_,C,L)},xe=(a,u,h)=>{const b=u.component=a.component;if(al(a,u,h))if(b.asyncDep&&!b.asyncResolved){re(b,u,h);return}else b.next=u,sl(b.update),b.update();else u.component=a.component,u.el=a.el,b.vnode=u},ue=(a,u,h,b,_,C,L)=>{const k=()=>{if(a.isMounted){let{next:N,bu:P,u:R,parent:B,vnode:X}=a,ce=N,te;it(a,!1),N?(N.el=X.el,re(a,N,L)):N=X,P&&Kn(P),(te=N.props&&N.props.onVnodeBeforeUpdate)&&Ee(te,B,N,X),it(a,!0);const ie=Wn(a),Me=a.subTree;a.subTree=ie,v(Me,ie,p(Me.el),sn(Me),a,_,C),N.el=ie.el,ce===null&&ul(a,ie.el),R&&Ce(R,_),(te=N.props&&N.props.onVnodeUpdated)&&Ce(()=>Ee(te,B,N,X),_)}else{let N;const{el:P,props:R}=u,{bm:B,m:X,parent:ce}=a,te=gn(u);if(it(a,!1),B&&Kn(B),!te&&(N=R&&R.onVnodeBeforeMount)&&Ee(N,ce,u),it(a,!0),P&&Dn){const ie=()=>{a.subTree=Wn(a),Dn(P,a.subTree,a,_,null)};te?u.type.__asyncLoader().then(()=>!a.isUnmounted&&ie()):ie()}else{const ie=a.subTree=Wn(a);v(null,ie,h,b,a,_,C),u.el=ie.el}if(X&&Ce(X,_),!te&&(N=R&&R.onVnodeMounted)){const ie=u;Ce(()=>Ee(N,ce,ie),_)}u.shapeFlag&256&&a.a&&Ce(a.a,_),a.isMounted=!0,u=h=b=null}},$=a.effect=new bs(k,()=>ur(a.update),a.scope),x=a.update=$.run.bind($);x.id=a.uid,it(a,!0),x()},re=(a,u,h)=>{u.component=a;const b=a.vnode.props;a.vnode=u,a.next=null,Il(a,u.props,b,h),Sl(a,u.children,h),It(),Es(void 0,a.update),Ft()},De=(a,u,h,b,_,C,L,k,$=!1)=>{const x=a&&a.children,N=a?a.shapeFlag:0,P=u.children,{patchFlag:R,shapeFlag:B}=u;if(R>0){if(R&128){Mt(x,P,h,b,_,C,L,k,$);return}else if(R&256){Bn(x,P,h,b,_,C,L,k,$);return}}B&8?(N&16&&je(x,_,C),P!==x&&d(h,P)):N&16?B&16?Mt(x,P,h,b,_,C,L,k,$):je(x,_,C,!0):(N&8&&d(h,""),B&16&&W(P,h,b,_,C,L,k,$))},Bn=(a,u,h,b,_,C,L,k,$)=>{a=a||$t,u=u||$t;const x=a.length,N=u.length,P=Math.min(x,N);let R;for(R=0;R<P;R++){const B=u[R]=$?et(u[R]):Ne(u[R]);v(a[R],B,h,null,_,C,L,k,$)}x>N?je(a,_,C,!0,!1,P):W(u,h,b,_,C,L,k,$,P)},Mt=(a,u,h,b,_,C,L,k,$)=>{let x=0;const N=u.length;let P=a.length-1,R=N-1;for(;x<=P&&x<=R;){const B=a[x],X=u[x]=$?et(u[x]):Ne(u[x]);if(at(B,X))v(B,X,h,null,_,C,L,k,$);else break;x++}for(;x<=P&&x<=R;){const B=a[P],X=u[R]=$?et(u[R]):Ne(u[R]);if(at(B,X))v(B,X,h,null,_,C,L,k,$);else break;P--,R--}if(x>P){if(x<=R){const B=R+1,X=B<N?u[B].el:b;for(;x<=R;)v(null,u[x]=$?et(u[x]):Ne(u[x]),h,X,_,C,L,k,$),x++}}else if(x>R)for(;x<=P;)Ye(a[x],_,C,!0),x++;else{const B=x,X=x,ce=new Map;for(x=X;x<=R;x++){const we=u[x]=$?et(u[x]):Ne(u[x]);we.key!=null&&ce.set(we.key,x)}let te,ie=0;const Me=R-X+1;let xt=!1,Ks=0;const St=new Array(Me);for(x=0;x<Me;x++)St[x]=0;for(x=B;x<=P;x++){const we=a[x];if(ie>=Me){Ye(we,_,C,!0);continue}let Oe;if(we.key!=null)Oe=ce.get(we.key);else for(te=X;te<=R;te++)if(St[te-X]===0&&at(we,u[te])){Oe=te;break}Oe===void 0?Ye(we,_,C,!0):(St[Oe-X]=x+1,Oe>=Ks?Ks=Oe:xt=!0,v(we,u[Oe],h,null,_,C,L,k,$),ie++)}const Ws=xt?Ul(St):$t;for(te=Ws.length-1,x=Me-1;x>=0;x--){const we=X+x,Oe=u[we],qs=we+1<N?u[we+1].el:b;St[x]===0?v(null,Oe,h,qs,_,C,L,k,$):xt&&(te<0||x!==Ws[te]?vt(Oe,h,qs,2):te--)}}},vt=(a,u,h,b,_=null)=>{const{el:C,type:L,transition:k,children:$,shapeFlag:x}=a;if(x&6){vt(a.component.subTree,u,h,b);return}if(x&128){a.suspense.move(u,h,b);return}if(x&64){L.move(a,u,h,bt);return}if(L===he){s(C,u,h);for(let P=0;P<$.length;P++)vt($[P],u,h,b);s(a.anchor,u,h);return}if(L===Kt){O(a,u,h);return}if(b!==2&&x&1&&k)if(b===0)k.beforeEnter(C),s(C,u,h),Ce(()=>k.enter(C),_);else{const{leave:P,delayLeave:R,afterLeave:B}=k,X=()=>s(C,u,h),ce=()=>{P(C,()=>{X(),B&&B()})};R?R(C,X,ce):ce()}else s(C,u,h)},Ye=(a,u,h,b=!1,_=!1)=>{const{type:C,props:L,ref:k,children:$,dynamicChildren:x,shapeFlag:N,patchFlag:P,dirs:R}=a;if(k!=null&&bn(k,null,h,a,!0),N&256){u.ctx.deactivate(a);return}const B=N&1&&R,X=!gn(a);let ce;if(X&&(ce=L&&L.onVnodeBeforeUnmount)&&Ee(ce,u,a),N&6)ni(a.component,h,b);else{if(N&128){a.suspense.unmount(h,b);return}B&&He(a,null,u,"beforeUnmount"),N&64?a.type.remove(a,u,h,_,bt,b):x&&(C!==he||P>0&&P&64)?je(x,u,h,!1,!0):(C===he&&P&384||!_&&N&16)&&je($,u,h),b&&Ds(a)}(X&&(ce=L&&L.onVnodeUnmounted)||B)&&Ce(()=>{ce&&Ee(ce,u,a),B&&He(a,null,u,"unmounted")},h)},Ds=a=>{const{type:u,el:h,anchor:b,transition:_}=a;if(u===he){ti(h,b);return}if(u===Kt){Y(a);return}const C=()=>{o(h),_&&!_.persisted&&_.afterLeave&&_.afterLeave()};if(a.shapeFlag&1&&_&&!_.persisted){const{leave:L,delayLeave:k}=_,$=()=>L(h,C);k?k(a.el,C,$):$()}else C()},ti=(a,u)=>{let h;for(;a!==u;)h=m(a),o(a),a=h;o(u)},ni=(a,u,h)=>{const{bum:b,scope:_,update:C,subTree:L,um:k}=a;b&&Kn(b),_.stop(),C&&(C.active=!1,Ye(L,a,u,h)),k&&Ce(k,u),Ce(()=>{a.isUnmounted=!0},u),u&&u.pendingBranch&&!u.isUnmounted&&a.asyncDep&&!a.asyncResolved&&a.suspenseId===u.pendingId&&(u.deps--,u.deps===0&&u.resolve())},je=(a,u,h,b=!1,_=!1,C=0)=>{for(let L=C;L<a.length;L++)Ye(a[L],u,h,b,_)},sn=a=>a.shapeFlag&6?sn(a.component.subTree):a.shapeFlag&128?a.suspense.next():m(a.anchor||a.el),js=(a,u,h)=>{a==null?u._vnode&&Ye(u._vnode,null,null,!0):v(u._vnode||null,a,u,null,null,null,h),mn(),u._vnode=a},bt={p:v,um:Ye,m:vt,r:Ds,mt:gt,mc:W,pc:De,pbc:ne,n:sn,o:e};let Un,Dn;return t&&([Un,Dn]=t(bt)),{render:js,hydrate:Un,createApp:Rl(js,Un)}}function it({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Fr(e,t,n=!1){const s=e.children,o=t.children;if(H(s)&&H(o))for(let r=0;r<s.length;r++){const i=s[r];let l=o[r];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=o[r]=et(o[r]),l.el=i.el),n||Fr(i,l))}}function Ul(e){const t=e.slice(),n=[0];let s,o,r,i,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(r=0,i=n.length-1;r<i;)l=r+i>>1,e[n[l]]<f?r=l+1:i=l;f<e[n[r]]&&(r>0&&(t[s]=n[r-1]),n[r]=s)}}for(r=n.length,i=n[r-1];r-- >0;)n[r]=i,i=t[i];return n}const Dl=e=>e.__isTeleport,Mr="components";function Jt(e,t){return Kl(Mr,e,!0,t)||e}const jl=Symbol();function Kl(e,t,n=!0,s=!1){const o=Ae||ge;if(o){const r=o.type;if(e===Mr){const l=nc(r);if(l&&(l===t||l===Ue(t)||l===An(Ue(t))))return r}const i=ho(o[e]||r[e],t)||ho(o.appContext[e],t);return!i&&s?r:i}}function ho(e,t){return e&&(e[t]||e[Ue(t)]||e[An(Ue(t))])}const he=Symbol(void 0),Xt=Symbol(void 0),Fe=Symbol(void 0),Kt=Symbol(void 0),Wt=[];let ht=null;function T(e=!1){Wt.push(ht=e?null:[])}function Wl(){Wt.pop(),ht=Wt[Wt.length-1]||null}let xn=1;function po(e){xn+=e}function Sr(e){return e.dynamicChildren=xn>0?ht||$t:null,Wl(),xn>0&&ht&&ht.push(e),e}function S(e,t,n,s,o,r){return Sr(I(e,t,n,s,o,r,!0))}function fe(e,t,n,s,o){return Sr(U(e,t,n,s,o,!0))}function yn(e){return e?e.__v_isVNode===!0:!1}function at(e,t){return e.type===t.type&&e.key===t.key}const On="__vInternal",Nr=({key:e})=>e!=null?e:null,dn=({ref:e,ref_key:t,ref_for:n})=>e!=null?be(e)||ve(e)||q(e)?{i:Ae,r:e,k:t,f:!!n}:e:null;function I(e,t=null,n=null,s=0,o=null,r=e===he?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Nr(t),ref:t&&dn(t),scopeId:Mn,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:r,patchFlag:s,dynamicProps:o,dynamicChildren:null,appContext:null};return l?(Ss(c,n),r&128&&e.normalize(c)):n&&(c.shapeFlag|=be(n)?8:16),xn>0&&!i&&ht&&(c.patchFlag>0||r&6)&&c.patchFlag!==32&&ht.push(c),c}const U=ql;function ql(e,t=null,n=null,s=0,o=null,r=!1){if((!e||e===jl)&&(e=Fe),yn(e)){const l=Et(e,t,!0);return n&&Ss(l,n),l}if(sc(e)&&(e=e.__vccOpts),t){t=Vl(t);let{class:l,style:c}=t;l&&!be(l)&&(t.class=mt(l)),pe(c)&&(or(c)&&!H(c)&&(c=ye({},c)),t.style=hs(c))}const i=be(e)?1:fl(e)?128:Dl(e)?64:pe(e)?4:q(e)?2:0;return I(e,t,n,s,o,i,r,!0)}function Vl(e){return e?or(e)||On in e?ye({},e):e:null}function Et(e,t,n=!1){const{props:s,ref:o,patchFlag:r,children:i}=e,l=t?Hn(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?H(o)?o.concat(dn(t)):[o,dn(t)]:dn(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==he?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Et(e.ssContent),ssFallback:e.ssFallback&&Et(e.ssFallback),el:e.el,anchor:e.anchor}}function en(e=" ",t=0){return U(Xt,null,e,t)}function _d(e,t){const n=U(Kt,null,e);return n.staticCount=t,n}function V(e="",t=!1){return t?(T(),fe(Fe,null,e)):U(Fe,null,e)}function Ne(e){return e==null||typeof e=="boolean"?U(Fe):H(e)?U(he,null,e.slice()):typeof e=="object"?et(e):U(Xt,null,String(e))}function et(e){return e.el===null||e.memo?e:Et(e)}function Ss(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(H(t))n=16;else if(typeof t=="object")if(s&65){const o=t.default;o&&(o._c&&(o._d=!1),Ss(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(On in t)?t._ctx=Ae:o===3&&Ae&&(Ae.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else q(t)?(t={default:t,_ctx:Ae},n=32):(t=String(t),s&64?(n=16,t=[en(t)]):n=8);e.children=t,e.shapeFlag|=n}function Hn(...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=mt([t.class,s.class]));else if(o==="style")t.style=hs([t.style,s.style]);else if(Gt(o)){const r=t[o],i=s[o];i&&r!==i&&!(H(r)&&r.includes(i))&&(t[o]=r?[].concat(r,i):i)}else o!==""&&(t[o]=s[o])}return t}function Ee(e,t,n,s=null){Ie(e,t,7,[n,s])}function tn(e,t,n,s){let o;const r=n&&n[s];if(H(e)||be(e)){o=new Array(e.length);for(let i=0,l=e.length;i<l;i++)o[i]=t(e[i],i,void 0,r&&r[i])}else if(typeof e=="number"){o=new Array(e);for(let i=0;i<e;i++)o[i]=t(i+1,i,void 0,r&&r[i])}else if(pe(e))if(e[Symbol.iterator])o=Array.from(e,(i,l)=>t(i,l,void 0,r&&r[l]));else{const i=Object.keys(e);o=new Array(i.length);for(let l=0,c=i.length;l<c;l++){const f=i[l];o[l]=t(e[f],f,l,r&&r[l])}}else o=[];return n&&(n[s]=o),o}function me(e,t,n={},s,o){if(Ae.isCE)return U("slot",t==="default"?null:{name:t},s&&s());let r=e[t];r&&r._c&&(r._d=!1),T();const i=r&&Rr(r(n)),l=fe(he,{key:n.key||`_${t}`},i||(s?s():[]),i&&e._===1?64:-2);return!o&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),r&&r._c&&(r._d=!0),l}function Rr(e){return e.some(t=>yn(t)?!(t.type===Fe||t.type===he&&!Rr(t.children)):!0)?e:null}const cs=e=>e?Or(e)?Ns(e)||e.proxy:cs(e.parent):null,kn=ye(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>cs(e.parent),$root:e=>cs(e.root),$emit:e=>e.emit,$options:e=>$r(e),$forceUpdate:e=>()=>ur(e.update),$nextTick:e=>Ls.bind(e.proxy),$watch:e=>hl.bind(e)}),zl={get({_:e},t){const{ctx:n,setupState:s,data:o,props:r,accessCache:i,type:l,appContext:c}=e;let f;if(t[0]!=="$"){const E=i[t];if(E!==void 0)switch(E){case 1:return s[t];case 2:return o[t];case 4:return n[t];case 3:return r[t]}else{if(s!==se&&G(s,t))return i[t]=1,s[t];if(o!==se&&G(o,t))return i[t]=2,o[t];if((f=e.propsOptions[0])&&G(f,t))return i[t]=3,r[t];if(n!==se&&G(n,t))return i[t]=4,n[t];rs&&(i[t]=0)}}const d=kn[t];let p,m;if(d)return t==="$attrs"&&Te(e,"get",t),d(e);if((p=l.__cssModules)&&(p=p[t]))return p;if(n!==se&&G(n,t))return i[t]=4,n[t];if(m=c.config.globalProperties,G(m,t))return m[t]},set({_:e},t,n){const{data:s,setupState:o,ctx:r}=e;return o!==se&&G(o,t)?(o[t]=n,!0):s!==se&&G(s,t)?(s[t]=n,!0):G(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:o,propsOptions:r}},i){let l;return!!n[i]||e!==se&&G(e,i)||t!==se&&G(t,i)||(l=r[0])&&G(l,i)||G(s,i)||G(kn,i)||G(o.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?this.set(e,t,n.get(),null):n.value!=null&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},Yl=Ir();let Jl=0;function Xl(e,t,n){const s=e.type,o=(t?t.appContext:e.appContext)||Yl,r={uid:Jl++,vnode:e,type:s,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new xi(!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:Lr(s,o),emitsOptions:pr(s,o),emit:null,emitted:null,propsDefaults:se,inheritAttrs:s.inheritAttrs,ctx:se,data:se,props:se,attrs:se,slots:se,refs:se,setupState:se,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 r.ctx={_:r},r.root=t?t.root:r,r.emit=il.bind(null,r),e.ce&&e.ce(r),r}let ge=null;const Zl=()=>ge||Ae,At=e=>{ge=e,e.scope.on()},pt=()=>{ge&&ge.scope.off(),ge=null};function Or(e){return e.vnode.shapeFlag&4}let Zt=!1;function Gl(e,t=!1){Zt=t;const{props:n,children:s}=e.vnode,o=Or(e);Pl(e,n,o,t),Ml(e,s);const r=o?Ql(e,t):void 0;return Zt=!1,r}function Ql(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Bt(new Proxy(e.ctx,zl));const{setup:s}=n;if(s){const o=e.setupContext=s.length>1?tc(e):null;At(e),It();const r=nt(s,e,0,[e.props,o]);if(Ft(),pt(),jo(r)){if(r.then(pt,pt),t)return r.then(i=>{mo(e,i,t)}).catch(i=>{Fn(i,e,0)});e.asyncDep=r}else mo(e,r,t)}else Hr(e,t)}function mo(e,t,n){q(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:pe(t)&&(e.setupState=cr(t)),Hr(e,n)}let _o;function Hr(e,t,n){const s=e.type;if(!e.render){if(!t&&_o&&!s.render){const o=s.template;if(o){const{isCustomElement:r,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,f=ye(ye({isCustomElement:r,delimiters:l},i),c);s.render=_o(o,f)}}e.render=s.render||Re}At(e),It(),$l(e),Ft(),pt()}function ec(e){return new Proxy(e.attrs,{get(t,n){return Te(e,"get","$attrs"),t[n]}})}function tc(e){const t=s=>{e.exposed=s||{}};let n;return{get attrs(){return n||(n=ec(e))},slots:e.slots,emit:e.emit,expose:t}}function Ns(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(cr(Bt(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in kn)return kn[n](e)}}))}function nc(e){return q(e)&&e.displayName||e.name}function sc(e){return q(e)&&"__vccOpts"in e}const j=(e,t)=>el(e,t,Zt);function ot(e,t,n){const s=arguments.length;return s===2?pe(t)&&!H(t)?yn(t)?U(e,null,[t]):U(e,t):U(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&yn(n)&&(n=[n]),U(e,t,n))}const oc="3.2.31",rc="http://www.w3.org/2000/svg",ut=typeof document!="undefined"?document:null,go=ut&&ut.createElement("template"),ic={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?ut.createElementNS(rc,e):ut.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:e=>ut.createTextNode(e),createComment:e=>ut.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ut.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,s,o,r){const i=n?n.previousSibling:t.lastChild;if(o&&(o===r||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===r||!(o=o.nextSibling)););else{go.innerHTML=s?`<svg>${e}</svg>`:e;const l=go.content;if(s){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function lc(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 cc(e,t,n){const s=e.style,o=be(n);if(n&&!o){for(const r in n)as(s,r,n[r]);if(t&&!be(t))for(const r in t)n[r]==null&&as(s,r,"")}else{const r=s.display;o?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=r)}}const vo=/\s*!important$/;function as(e,t,n){if(H(n))n.forEach(s=>as(e,t,s));else if(t.startsWith("--"))e.setProperty(t,n);else{const s=ac(e,t);vo.test(n)?e.setProperty(Pt(s),n.replace(vo,""),"important"):e[s]=n}}const bo=["Webkit","Moz","ms"],zn={};function ac(e,t){const n=zn[t];if(n)return n;let s=Ue(t);if(s!=="filter"&&s in e)return zn[t]=s;s=An(s);for(let o=0;o<bo.length;o++){const r=bo[o]+s;if(r in e)return zn[t]=r}return t}const xo="http://www.w3.org/1999/xlink";function uc(e,t,n,s,o){if(s&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(xo,t.slice(6,t.length)):e.setAttributeNS(xo,t,n);else{const r=ai(t);n==null||r&&!Bo(n)?e.removeAttribute(t):e.setAttribute(t,r?"":n)}}function fc(e,t,n,s,o,r,i){if(t==="innerHTML"||t==="textContent"){s&&i(s,o,r),e[t]=n==null?"":n;return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=n;const l=n==null?"":n;(e.value!==l||e.tagName==="OPTION")&&(e.value=l),n==null&&e.removeAttribute(t);return}if(n===""||n==null){const l=typeof e[t];if(l==="boolean"){e[t]=Bo(n);return}else if(n==null&&l==="string"){e[t]="",e.removeAttribute(t);return}else if(l==="number"){try{e[t]=0}catch{}e.removeAttribute(t);return}}try{e[t]=n}catch{}}let Cn=Date.now,Br=!1;if(typeof window!="undefined"){Cn()>document.createEvent("Event").timeStamp&&(Cn=()=>performance.now());const e=navigator.userAgent.match(/firefox\/(\d+)/i);Br=!!(e&&Number(e[1])<=53)}let us=0;const dc=Promise.resolve(),hc=()=>{us=0},pc=()=>us||(dc.then(hc),us=Cn());function mc(e,t,n,s){e.addEventListener(t,n,s)}function _c(e,t,n,s){e.removeEventListener(t,n,s)}function gc(e,t,n,s,o=null){const r=e._vei||(e._vei={}),i=r[t];if(s&&i)i.value=s;else{const[l,c]=vc(t);if(s){const f=r[t]=bc(s,o);mc(e,l,f,c)}else i&&(_c(e,l,i,c),r[t]=void 0)}}const yo=/(?:Once|Passive|Capture)$/;function vc(e){let t;if(yo.test(e)){t={};let n;for(;n=e.match(yo);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[Pt(e.slice(2)),t]}function bc(e,t){const n=s=>{const o=s.timeStamp||Cn();(Br||o>=n.attached-1)&&Ie(xc(s,n.value),t,5,[s])};return n.value=e,n.attached=pc(),n}function xc(e,t){if(H(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 ko=/^on[a-z]/,yc=(e,t,n,s,o=!1,r,i,l,c)=>{t==="class"?lc(e,s,o):t==="style"?cc(e,n,s):Gt(t)?ps(t)||gc(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):kc(e,t,s,o))?fc(e,t,s,r,i,l,c):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),uc(e,t,s,o))};function kc(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&ko.test(t)&&q(n)):t==="spellcheck"||t==="draggable"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||ko.test(t)&&be(n)?!1:t in e}const Ze="transition",Nt="animation",Rs=(e,{slots:t})=>ot(vr,Cc(e),t);Rs.displayName="Transition";const Ur={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};Rs.props=ye({},vr.props,Ur);const lt=(e,t=[])=>{H(e)?e.forEach(n=>n(...t)):e&&e(...t)},Co=e=>e?H(e)?e.some(t=>t.length>1):e.length>1:!1;function Cc(e){const t={};for(const w in e)w in Ur||(t[w]=e[w]);if(e.css===!1)return t;const{name:n="v",type:s,duration:o,enterFromClass:r=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=r,appearActiveClass:f=i,appearToClass:d=l,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:m=`${n}-leave-active`,leaveToClass:E=`${n}-leave-to`}=e,M=wc(o),D=M&&M[0],v=M&&M[1],{onBeforeEnter:y,onEnter:K,onEnterCancelled:F,onLeave:O,onLeaveCancelled:Y,onBeforeAppear:Z=y,onAppear:A=K,onAppearCancelled:J=F}=t,W=(w,z,ae)=>{yt(w,z?d:l),yt(w,z?f:i),ae&&ae()},ee=(w,z)=>{yt(w,E),yt(w,m),z&&z()},ne=w=>(z,ae)=>{const gt=w?A:K,xe=()=>W(z,w,ae);lt(gt,[z,xe]),wo(()=>{yt(z,w?c:r),Ge(z,w?d:l),Co(gt)||$o(z,s,D,xe)})};return ye(t,{onBeforeEnter(w){lt(y,[w]),Ge(w,r),Ge(w,i)},onBeforeAppear(w){lt(Z,[w]),Ge(w,c),Ge(w,f)},onEnter:ne(!1),onAppear:ne(!0),onLeave(w,z){const ae=()=>ee(w,z);Ge(w,p),Lc(),Ge(w,m),wo(()=>{yt(w,p),Ge(w,E),Co(O)||$o(w,s,v,ae)}),lt(O,[w,ae])},onEnterCancelled(w){W(w,!1),lt(F,[w])},onAppearCancelled(w){W(w,!0),lt(J,[w])},onLeaveCancelled(w){ee(w),lt(Y,[w])}})}function wc(e){if(e==null)return null;if(pe(e))return[Yn(e.enter),Yn(e.leave)];{const t=Yn(e);return[t,t]}}function Yn(e){return qo(e)}function Ge(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function yt(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function wo(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let $c=0;function $o(e,t,n,s){const o=e._endId=++$c,r=()=>{o===e._endId&&s()};if(n)return setTimeout(r,n);const{type:i,timeout:l,propCount:c}=Tc(e,t);if(!i)return s();const f=i+"end";let d=0;const p=()=>{e.removeEventListener(f,m),r()},m=E=>{E.target===e&&++d>=c&&p()};setTimeout(()=>{d<c&&p()},l+1),e.addEventListener(f,m)}function Tc(e,t){const n=window.getComputedStyle(e),s=M=>(n[M]||"").split(", "),o=s(Ze+"Delay"),r=s(Ze+"Duration"),i=To(o,r),l=s(Nt+"Delay"),c=s(Nt+"Duration"),f=To(l,c);let d=null,p=0,m=0;t===Ze?i>0&&(d=Ze,p=i,m=r.length):t===Nt?f>0&&(d=Nt,p=f,m=c.length):(p=Math.max(i,f),d=p>0?i>f?Ze:Nt:null,m=d?d===Ze?r.length:c.length:0);const E=d===Ze&&/\b(transform|all)(,|$)/.test(n[Ze+"Property"]);return{type:d,timeout:p,propCount:m,hasTransform:E}}function To(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>Lo(n)+Lo(e[s])))}function Lo(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function Lc(){return document.body.offsetHeight}const Ec=ye({patchProp:yc},ic);let Jn,Eo=!1;function Ac(){return Jn=Eo?Jn:Hl(Ec),Eo=!0,Jn}const Pc=(...e)=>{const t=Ac().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=Ic(s);if(o)return n(o,!0,o instanceof SVGElement)},t};function Ic(e){return be(e)?document.querySelector(e):e}var Fc='{"lang":"en-US","title":"Profectus","description":"A game engine that grows with you.","base":"/","head":[],"themeConfig":{"repo":"profectus-engine/profectus-docs","docsDir":"docs","docsBranch":"main","editLinks":true,"editLinkText":"Edit this page on GitHub","lastUpdated":"Last Updated","nav":[{"text":"Guide","link":"/guide/","activeMatch":"^/guide/"},{"text":"API","link":"/api/","activeMatch":"^/api/"},{"text":"Forums","link":"https://forums.moddingtree.com"},{"text":"Discord","link":"https://discord.gg/F3xveHV"},{"text":"Github","link":"https://github.com/profectus-engine/Profectus"}],"sidebar":{"/guide/":[{"text":"Getting Started","children":[{"text":"Introduction","link":"/guide/"},{"text":"Setting Up","link":"/guide/setup"},{"text":"Updating Profectus","link":"/guide/updating"},{"text":"Example Projects","link":"/guide/examples"}]},{"text":"Creating Your Project","children":[{"text":"Project Info","link":"/guide/project-info"},{"text":"Project Entry","link":"/guide/project-entry"},{"text":"Changelog","link":"/guide/changelog"},{"text":"Themes","link":"/guide/themes"},{"text":"Utilities","link":"/guide/utils"}]},{"text":"Important Concepts","children":[{"text":"Layers","link":"/guide/layers"},{"text":"Features","link":"/guide/features"},{"text":"Coercable Components","link":"/guide/coercable"},{"text":"Reactivity","link":"/guide/reactivity"}]},{"text":"Advanced Concepts","children":[{"text":"Creating Features","link":"/guide/creating-features"},{"text":"Dynamic Layers","link":"/guide/dynamic-layers"}]}],"/api/":[{"text":"Components","children":[{"text":"Fields","children":[{"text":" Danger Button Component","link":"/api/components/fields/DangerButtonComponent.html"},{"text":" Feedback Button Component","link":"/api/components/fields/FeedbackButtonComponent.html"},{"text":" Select Component","link":"/api/components/fields/SelectComponent.html"},{"text":" Slider Component","link":"/api/components/fields/SliderComponent.html"},{"text":" Text Component","link":"/api/components/fields/TextComponent.html"},{"text":" Toggle Component","link":"/api/components/fields/ToggleComponent.html"}]},{"text":"Layout","children":[{"text":" Column Component","link":"/api/components/layout/ColumnComponent.html"},{"text":" Row Component","link":"/api/components/layout/RowComponent.html"},{"text":" Spacer Component","link":"/api/components/layout/SpacerComponent.html"},{"text":" Sticky Component","link":"/api/components/layout/StickyComponent.html"},{"text":" Vertical Rule Component","link":"/api/components/layout/VerticalRuleComponent.html"}]},{"text":"Links","children":[{"text":" Link Component","link":"/api/components/links/LinkComponent.html"},{"text":" Link Node Component","link":"/api/components/links/LinkNodeComponent.html"},{"text":" Links Component","link":"/api/components/links/LinksComponent.html"}]},{"text":" Info Component","link":"/api/components/InfoComponent.html"},{"text":" Layer Component","link":"/api/components/LayerComponent.html"},{"text":" Mark Node Component","link":"/api/components/MarkNodeComponent.html"},{"text":" Modal Component","link":"/api/components/ModalComponent.html"},{"text":" Save Component","link":"/api/components/SaveComponent.html"},{"text":" Tooltip Component","link":"/api/components/TooltipComponent.html"}]},{"text":"Data","children":[{"text":"Common","link":"/api/modules/data/common.html"},{"text":"Proj Entry","link":"/api/modules/data/projEntry.html"},{"text":"Themes","link":"/api/modules/data/themes.html"}]},{"text":"Features","children":[{"text":"Achievements","children":[{"text":" Achievement Component","link":"/api/features/achievements/AchievementComponent.html"},{"text":"Achievement","link":"/api/modules/features/achievements/achievement.html"}]},{"text":"Bars","children":[{"text":" Bar Component","link":"/api/features/bars/BarComponent.html"},{"text":"Bar","link":"/api/modules/features/bars/bar.html"}]},{"text":"Boards","children":[{"text":" Board Link Component","link":"/api/features/boards/BoardLinkComponent.html"},{"text":" Board Node Component","link":"/api/features/boards/BoardNodeComponent.html"},{"text":"Board","link":"/api/modules/features/boards/board.html"}]},{"text":"Challenges","children":[{"text":" Challenge Component","link":"/api/features/challenges/ChallengeComponent.html"},{"text":"Challenge","link":"/api/modules/features/challenges/challenge.html"}]},{"text":"Clickables","children":[{"text":" Clickable Component","link":"/api/features/clickables/ClickableComponent.html"},{"text":"Clickable","link":"/api/modules/features/clickables/clickable.html"}]},{"text":"Grids","children":[{"text":" Grid Cell Component","link":"/api/features/grids/GridCellComponent.html"},{"text":" Grid Component","link":"/api/features/grids/GridComponent.html"},{"text":"Grid","link":"/api/modules/features/grids/grid.html"}]},{"text":"Infoboxes","children":[{"text":" Infobox Component","link":"/api/features/infoboxes/InfoboxComponent.html"},{"text":"Infobox","link":"/api/modules/features/infoboxes/infobox.html"}]},{"text":"Milestones","children":[{"text":" Milestone Component","link":"/api/features/milestones/MilestoneComponent.html"},{"text":"Milestone","link":"/api/modules/features/milestones/milestone.html"}]},{"text":"Resources","children":[{"text":" Main Display Component","link":"/api/features/resources/MainDisplayComponent.html"},{"text":" Resource Component","link":"/api/features/resources/ResourceComponent.html"},{"text":"Resource","link":"/api/modules/features/resources/resource.html"}]},{"text":"Tabs","children":[{"text":" Tab Button Component","link":"/api/features/tabs/TabButtonComponent.html"},{"text":" Tab Component","link":"/api/features/tabs/TabComponent.html"},{"text":" Tab Family Component","link":"/api/features/tabs/TabFamilyComponent.html"},{"text":"Tab","link":"/api/modules/features/tabs/tab.html"},{"text":"Tab Family","link":"/api/modules/features/tabs/tabFamily.html"}]},{"text":"Trees","children":[{"text":" Tree Component","link":"/api/features/trees/TreeComponent.html"},{"text":" Tree Node Component","link":"/api/features/trees/TreeNodeComponent.html"},{"text":"Tree","link":"/api/modules/features/trees/tree.html"}]},{"text":"Upgrades","children":[{"text":" Upgrade Component","link":"/api/features/upgrades/UpgradeComponent.html"},{"text":"Upgrade","link":"/api/modules/features/upgrades/upgrade.html"}]},{"text":"Buyable","link":"/api/modules/features/buyable.html"},{"text":"Conversion","link":"/api/modules/features/conversion.html"},{"text":"Feature","link":"/api/modules/features/feature.html"},{"text":"Hotkey","link":"/api/modules/features/hotkey.html"},{"text":"Links","link":"/api/modules/features/links.html"},{"text":"Reset","link":"/api/modules/features/reset.html"},{"text":"Tooltip","link":"/api/modules/features/tooltip.html"}]},{"text":"Game","children":[{"text":"Events","link":"/api/modules/game/events.html"},{"text":"Layers","link":"/api/modules/game/layers.html"},{"text":"Notifications","link":"/api/modules/game/notifications.html"},{"text":"Persistence","link":"/api/modules/game/persistence.html"},{"text":"Player","link":"/api/modules/game/player.html"},{"text":"Settings","link":"/api/modules/game/settings.html"},{"text":"State","link":"/api/modules/game/state.html"}]},{"text":"Lib","children":[{"text":"Break Eternity","link":"/api/modules/lib/break_eternity.html"}]},{"text":"Util","children":[{"text":"Bignum","link":"/api/modules/util/bignum.html"},{"text":"Break Eternity","link":"/api/modules/util/break_eternity.html"},{"text":"Common","link":"/api/modules/util/common.html"},{"text":"Computed","link":"/api/modules/util/computed.html"},{"text":"Proxies","link":"/api/modules/util/proxies.html"},{"text":"Save","link":"/api/modules/util/save.html"},{"text":"Vue","link":"/api/modules/util/vue.html"}]}]}},"locales":{},"langs":{},"scrollOffset":90}';const Dr=/^https?:/i,Pe=typeof window!="undefined";function Mc(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 Ao(e,t){const n=Mc(t,Object.keys(e));return n?e[n]:void 0}function Sc(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 Nc(e,t){t=Rc(e,t);const n=Ao(e.locales||{},t),s=Ao(e.themeConfig.locales||{},t);return Object.assign({},e,n,{themeConfig:Object.assign({},e.themeConfig,s,{locales:{}}),lang:(n||e).lang,locales:{},langs:Sc(e)})}function Rc(e,t){if(!Pe)return t;const n=e.base,s=n.endsWith("/")?n.slice(0,-1):n;return t.slice(s.length)}const jr=Symbol(),nn=Yi(Oc(Fc));function Oc(e){return JSON.parse(e)}function Hc(e){const t=j(()=>Nc(nn.value,e.path));return{site:t,theme:j(()=>t.value.themeConfig),page:j(()=>e.data),frontmatter:j(()=>e.data.frontmatter),lang:j(()=>t.value.lang),localePath:j(()=>{const{langs:n,lang:s}=t.value,o=Object.keys(n).find(r=>n[r].lang===s);return rt(o||"/")}),title:j(()=>e.data.title?e.data.title+" | "+t.value.title:t.value.title),description:j(()=>e.data.description||t.value.description)}}function _e(){const e=jt(jr);if(!e)throw new Error("vitepress data not properly injected in app");return e}function Bc(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function rt(e){return Dr.test(e)?e:Bc(nn.value.base,e)}function Kr(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t.endsWith("/")&&(t+="index"),Pe){const n="/";t=t.slice(n.length).replace(/\//g,"_")+".md";const s=__VP_HASH_MAP__[t.toLowerCase()];t=`${n}assets/${t}.${s}.js`}else t=`./${t.slice(1).replace(/\//g,"_")}.md.js`;return t}const Wr=Symbol(),Po="http://a.com",qr={relativePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{},lastUpdated:0},Uc=()=>({path:"/",component:null,data:qr});function Dc(e,t){const n=In(Uc());function s(i=Pe?location.href:"/"){const l=new URL(i,Po);return!l.pathname.endsWith("/")&&!l.pathname.endsWith(".html")&&(l.pathname+=".html",i=l.pathname+l.search+l.hash),Pe&&(history.replaceState({scrollPosition:window.scrollY},document.title),history.pushState(null,"",i)),r(i)}let o=null;async function r(i,l=0,c=!1){const f=new URL(i,Po),d=o=f.pathname;try{let p=e(d);if("then"in p&&typeof p.then=="function"&&(p=await p),o===d){o=null;const{default:m,__pageData:E}=p;if(!m)throw new Error(`Invalid route component: ${m}`);n.path=d,n.component=Bt(m),n.data=Bt(JSON.parse(E)),Pe&&Ls(()=>{if(f.hash&&!l){let M=null;try{M=document.querySelector(decodeURIComponent(f.hash))}catch(D){console.warn(D)}if(M){Io(M,f.hash);return}}window.scrollTo(0,l)})}}catch(p){if(p.message.match(/fetch/)||console.error(p),!c)try{const m=await fetch(nn.value.base+"hashmap.json");window.__VP_HASH_MAP__=await m.json(),await r(i,l,!0);return}catch{}o===d&&(o=null,n.path=d,n.component=t?Bt(t):null,n.data=qr)}}return Pe&&(window.addEventListener("click",i=>{const l=i.target.closest("a");if(l){const{href:c,protocol:f,hostname:d,pathname:p,hash:m,target:E}=l,M=window.location,D=p.match(/\.\w+$/);!i.ctrlKey&&!i.shiftKey&&!i.altKey&&!i.metaKey&&E!=="_blank"&&f===M.protocol&&d===M.hostname&&!(D&&D[0]!==".html")&&(i.preventDefault(),p===M.pathname?m&&m!==M.hash&&(history.pushState(null,"",m),window.dispatchEvent(new Event("hashchange")),Io(l,m,l.classList.contains("header-anchor"))):s(c))}},{capture:!0}),window.addEventListener("popstate",i=>{r(location.href,i.state&&i.state.scrollPosition||0)}),window.addEventListener("hashchange",i=>{i.preventDefault()})),{route:n,go:s}}function jc(){const e=jt(Wr);if(!e)throw new Error("useRouter() is called without provider.");return e}function ze(){return jc().route}function Io(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=nn.value.scrollOffset;typeof o=="string"&&(o=document.querySelector(o).getBoundingClientRect().bottom+24);const r=parseInt(window.getComputedStyle(s).paddingTop,10),i=window.scrollY+s.getBoundingClientRect().top-o+r;!n||Math.abs(i-window.scrollY)>window.innerHeight?window.scrollTo(0,i):window.scrollTo({left:0,top:i,behavior:"smooth"})}}function Kc(e,t){let n=[],s=!0;const o=r=>{if(s){s=!1;return}const i=[],l=Math.min(n.length,r.length);for(let c=0;c<l;c++){let f=n[c];const[d,p,m=""]=r[c];if(f.tagName.toLocaleLowerCase()===d){for(const E in p)f.getAttribute(E)!==p[E]&&f.setAttribute(E,p[E]);for(let E=0;E<f.attributes.length;E++){const M=f.attributes[E].name;M in p||f.removeAttribute(M)}f.innerHTML!==m&&(f.innerHTML=m)}else document.head.removeChild(f),f=Fo(r[c]),document.head.append(f);i.push(f)}n.slice(l).forEach(c=>document.head.removeChild(c)),r.slice(l).forEach(c=>{const f=Fo(c);document.head.appendChild(f),i.push(f)}),n=i};_r(()=>{const r=e.data,i=t.value,l=r&&r.title,c=r&&r.description,f=r&&r.frontmatter.head;document.title=(l?l+" | ":"")+i.title,document.querySelector("meta[name=description]").setAttribute("content",c||i.description),o([...f?qc(f):[]])})}function Fo([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 Wc(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function qc(e){return e.filter(t=>!Wc(t))}const Vc=le({name:"VitePressContent",setup(){const e=ze();return()=>ot("div",{style:{position:"relative"}},[e.component?ot(e.component):null])}});var oe=(e,t)=>{const n=e.__vccOpts||e;for(const[s,o]of t)n[s]=o;return n};const zc=/#.*$/,Yc=/(index)?\.(md|html)$/,wn=/\/$/,Jc=/^[a-z]+:/i;function Os(e){return Array.isArray(e)}function Hs(e){return Jc.test(e)}function Xc(e,t){if(t===void 0)return!1;const n=Mo(`/${e.data.relativePath}`),s=Mo(t);return n===s}function Mo(e){return decodeURI(e).replace(zc,"").replace(Yc,"")}function Zc(e,t){const n=e.endsWith("/"),s=t.startsWith("/");return n&&s?e.slice(0,-1)+t:!n&&!s?`${e}/${t}`:e+t}function fs(e){return/^\//.test(e)?e:`/${e}`}function Vr(e){return e.replace(/(index)?(\.(md|html))?$/,"")||"/"}function Gc(e){return e===!1||e==="auto"||Os(e)}function Qc(e){return e.children!==void 0}function ea(e){return Os(e)?e.length===0:!e}function Bs(e,t){if(Gc(e))return e;t=fs(t);for(const n in e)if(t.startsWith(fs(n)))return e[n];return"auto"}function zr(e){return e.reduce((t,n)=>(n.link&&t.push({text:n.text,link:Vr(n.link)}),Qc(n)&&(t=[...t,...zr(n.children)]),t),[])}function Yr(e){const t=ze(),n=Hs(e.value.link);return{props:j(()=>{const o=So(`/${t.data.relativePath}`);let r=!1;if(e.value.activeMatch)r=new RegExp(e.value.activeMatch).test(o);else{const i=So(e.value.link);r=i==="/"?i===o:o.startsWith(i)}return{class:{active:r,isExternal:n},href:n?e.value.link:rt(e.value.link),target:e.value.target||(n?"_blank":null),rel:e.value.rel||(n?"noopener noreferrer":null),"aria-label":e.value.ariaLabel}}),isExternal:n}}function So(e){return e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\.(html|md)$/,"").replace(/\/index$/,"/")}const ta={},na={class:"icon outbound",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",x:"0px",y:"0px",viewBox:"0 0 100 100",width:"15",height:"15"},sa=I("path",{fill:"currentColor",d:"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"},null,-1),oa=I("polygon",{fill:"currentColor",points:"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"},null,-1),ra=[sa,oa];function ia(e,t){return T(),S("svg",na,ra)}var Us=oe(ta,[["render",ia]]);const la={class:"nav-link"},ca=le({props:{item:null},setup(e){const n=$s(e),{props:s,isExternal:o}=Yr(n.item);return(r,i)=>(T(),S("div",la,[I("a",Hn({class:"item"},g(s)),[en(de(e.item.text)+" ",1),g(o)?(T(),fe(Us,{key:0})):V("",!0)],16)]))}});var $n=oe(ca,[["__scopeId","data-v-b8818f8c"]]);const aa={key:0,class:"home-hero"},ua={key:0,class:"figure"},fa=["src","alt"],da={key:1,id:"main-title",class:"title"},ha={key:2,class:"tagline"},pa=le({setup(e){const{site:t,frontmatter:n}=_e(),s=j(()=>{const{heroImage:i,heroText:l,tagline:c,actionLink:f,actionText:d}=n.value;return i||l||c||f&&d}),o=j(()=>n.value.heroText||t.value.title),r=j(()=>n.value.tagline||t.value.description);return(i,l)=>g(s)?(T(),S("header",aa,[g(n).heroImage?(T(),S("figure",ua,[I("img",{class:"image",src:g(rt)(g(n).heroImage),alt:g(n).heroAlt},null,8,fa)])):V("",!0),g(o)?(T(),S("h1",da,de(g(o)),1)):V("",!0),g(r)?(T(),S("p",ha,de(g(r)),1)):V("",!0),g(n).actionLink&&g(n).actionText?(T(),fe($n,{key:3,item:{link:g(n).actionLink,text:g(n).actionText},class:"action"},null,8,["item"])):V("",!0),g(n).altActionLink&&g(n).altActionText?(T(),fe($n,{key:4,item:{link:g(n).altActionLink,text:g(n).altActionText},class:"action alt"},null,8,["item"])):V("",!0)])):V("",!0)}});var ma=oe(pa,[["__scopeId","data-v-370f18c0"]]);const _a={key:0,class:"home-features"},ga={class:"wrapper"},va={class:"container"},ba={class:"features"},xa={key:0,class:"title"},ya={key:1,class:"details"},ka=le({setup(e){const{frontmatter:t}=_e(),n=j(()=>t.value.features&&t.value.features.length>0),s=j(()=>t.value.features?t.value.features:[]);return(o,r)=>g(n)?(T(),S("div",_a,[I("div",ga,[I("div",va,[I("div",ba,[(T(!0),S(he,null,tn(g(s),(i,l)=>(T(),S("section",{key:l,class:"feature"},[i.title?(T(),S("h2",xa,de(i.title),1)):V("",!0),i.details?(T(),S("p",ya,de(i.details),1)):V("",!0)]))),128))])])])])):V("",!0)}});var Ca=oe(ka,[["__scopeId","data-v-e39c13e0"]]);const wa={key:0,class:"footer"},$a={class:"container"},Ta={class:"text"},La=le({setup(e){const{frontmatter:t}=_e();return(n,s)=>g(t).footer?(T(),S("footer",wa,[I("div",$a,[I("p",Ta,de(g(t).footer),1)])])):V("",!0)}});var Ea=oe(La,[["__scopeId","data-v-30918238"]]);const Aa={class:"home","aria-labelledby":"main-title"},Pa={class:"home-content"},Ia=le({setup(e){return(t,n)=>{const s=Jt("Content");return T(),S("main",Aa,[U(ma),me(t.$slots,"hero",{},void 0,!0),U(Ca),I("div",Pa,[U(s)]),me(t.$slots,"features",{},void 0,!0),U(Ea),me(t.$slots,"footer",{},void 0,!0)])}}});var Fa=oe(Ia,[["__scopeId","data-v-10122c92"]]);const Ma=["href","aria-label"],Sa=["src"],Na=le({setup(e){const{site:t,theme:n,localePath:s}=_e();return(o,r)=>(T(),S("a",{class:"nav-bar-title",href:g(s),"aria-label":`${g(t).title}, back to home`},[g(n).logo?(T(),S("img",{key:0,class:"logo",src:g(rt)(g(n).logo),alt:"Logo"},null,8,Sa)):V("",!0),en(" "+de(g(t).title),1)],8,Ma))}});var Ra=oe(Na,[["__scopeId","data-v-cc01ef16"]]);function Oa(){const{site:e,localePath:t,theme:n}=_e();return j(()=>{const s=e.value.langs,o=Object.keys(s);if(o.length<2)return null;const i=ze().path.replace(t.value,""),l=o.map(f=>({text:s[f].label,link:`${f}${i}`}));return{text:n.value.selectText||"Languages",items:l}})}const Ha=["GitHub","GitLab","Bitbucket"].map(e=>[e,new RegExp(e,"i")]);function Ba(){const{site:e}=_e();return j(()=>{const t=e.value.themeConfig,n=t.docsRepo||t.repo;if(!n)return null;const s=Ua(n);return{text:Da(s,t.repoLabel),link:s}})}function Ua(e){return Dr.test(e)?e:`https://github.com/${e}`}function Da(e,t){if(t)return t;const n=e.match(/^https?:\/\/[^/]+/);if(!n)return"Source";const s=Ha.find(([o,r])=>r.test(n[0]));return s&&s[0]?s[0]:"Source"}const ja=e=>(Ps("data-v-bbc27490"),e=e(),Is(),e),Ka={class:"nav-dropdown-link-item"},Wa=ja(()=>I("span",{class:"arrow"},null,-1)),qa={class:"text"},Va={class:"icon"},za=le({props:{item:null},setup(e){const n=$s(e),{props:s,isExternal:o}=Yr(n.item);return(r,i)=>(T(),S("div",Ka,[I("a",Hn({class:"item"},g(s)),[Wa,I("span",qa,de(e.item.text),1),I("span",Va,[g(o)?(T(),fe(Us,{key:0})):V("",!0)])],16)]))}});var Ya=oe(za,[["__scopeId","data-v-bbc27490"]]);const Ja=["aria-label"],Xa={class:"button-text"},Za={class:"dialog"},Ga=le({props:{item:null},setup(e){const t=ze(),n=Qt(!1);dt(()=>t.path,()=>{n.value=!1});function s(){n.value=!n.value}return(o,r)=>(T(),S("div",{class:mt(["nav-dropdown-link",{open:n.value}])},[I("button",{class:"button","aria-label":e.item.ariaLabel,onClick:s},[I("span",Xa,de(e.item.text),1),I("span",{class:mt(["button-arrow",n.value?"down":"right"])},null,2)],8,Ja),I("ul",Za,[(T(!0),S(he,null,tn(e.item.items,i=>(T(),S("li",{key:i.text,class:"dialog-item"},[U(Ya,{item:i},null,8,["item"])]))),128))])],2))}});var No=oe(Ga,[["__scopeId","data-v-56bf3a3f"]]);const Qa={key:0,class:"nav-links"},eu={key:1,class:"item"},tu={key:2,class:"item"},nu=le({setup(e){const{theme:t}=_e(),n=Oa(),s=Ba(),o=j(()=>t.value.nav||s.value||n.value);return(r,i)=>g(o)?(T(),S("nav",Qa,[g(t).nav?(T(!0),S(he,{key:0},tn(g(t).nav,l=>(T(),S("div",{key:l.text,class:"item"},[l.items?(T(),fe(No,{key:0,item:l},null,8,["item"])):(T(),fe($n,{key:1,item:l},null,8,["item"]))]))),128)):V("",!0),g(n)?(T(),S("div",eu,[U(No,{item:g(n)},null,8,["item"])])):V("",!0),g(s)?(T(),S("div",tu,[U($n,{item:g(s)},null,8,["item"])])):V("",!0)])):V("",!0)}});var Jr=oe(nu,[["__scopeId","data-v-eab3edfe"]]);const su={emits:["toggle"]},ou=I("svg",{class:"icon",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",viewBox:"0 0 448 512"},[I("path",{fill:"currentColor",d:"M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z",class:""})],-1),ru=[ou];function iu(e,t,n,s,o,r){return T(),S("div",{class:"sidebar-button",onClick:t[0]||(t[0]=i=>e.$emit("toggle"))},ru)}var lu=oe(su,[["render",iu]]);const cu=e=>(Ps("data-v-675d8756"),e=e(),Is(),e),au={class:"nav-bar"},uu=cu(()=>I("div",{class:"flex-grow"},null,-1)),fu={class:"nav"},du=le({emits:["toggle"],setup(e){return(t,n)=>(T(),S("header",au,[U(lu,{onToggle:n[0]||(n[0]=s=>t.$emit("toggle"))}),U(Ra),uu,I("div",fu,[U(Jr)]),me(t.$slots,"search",{},void 0,!0)]))}});var hu=oe(du,[["__scopeId","data-v-675d8756"]]);function pu(){let e=null,t=null;const n=bu(s,300);function s(){const i=mu(),l=_u(i);for(let c=0;c<l.length;c++){const f=l[c],d=l[c+1],[p,m]=vu(c,f,d);if(p){history.replaceState(null,document.title,m||" "),o(m);return}}}function o(i){if(r(t),r(e),t=document.querySelector(`.sidebar a[href="${i}"]`),!t)return;t.classList.add("active");const l=t.closest(".sidebar-links > ul > li");l&&l!==t.parentElement?(e=l.querySelector("a"),e&&e.classList.add("active")):e=null}function r(i){i&&i.classList.remove("active")}_t(()=>{s(),window.addEventListener("scroll",n)}),kr(()=>{o(decodeURIComponent(location.hash))}),Rn(()=>{window.removeEventListener("scroll",n)})}function mu(){return[].slice.call(document.querySelectorAll(".sidebar a.sidebar-link-item"))}function _u(e){return[].slice.call(document.querySelectorAll(".header-anchor")).filter(t=>e.some(n=>n.hash===t.hash))}function gu(){return document.querySelector(".nav-bar").offsetHeight}function Ro(e){const t=gu();return e.parentElement.offsetTop-t-15}function vu(e,t,n){const s=window.scrollY;return e===0&&s===0?[!0,null]:s<Ro(t)?[!1,null]:!n||s<Ro(n)?[!0,decodeURIComponent(t.hash)]:[!1,null]}function bu(e,t){let n,s=!1;return()=>{n&&clearTimeout(n),s?n=setTimeout(e,t):(e(),s=!0,setTimeout(()=>{s=!1},t))}}function xu(){const e=ze(),{site:t}=_e();return pu(),j(()=>{const n=e.data.headers,s=e.data.frontmatter.sidebar,o=e.data.frontmatter.sidebarDepth;if(s===!1)return[];if(s==="auto")return Oo(n,o);const r=Bs(t.value.themeConfig.sidebar,e.data.relativePath);return r===!1?[]:r==="auto"?Oo(n,o):r})}function Oo(e,t){const n=[];if(e===void 0)return[];let s;return e.forEach(({level:o,title:r,slug:i})=>{if(o-1>t)return;const l={text:r,link:`#${i}`};o===2?(s=l,n.push(l)):s&&(s.children||(s.children=[])).push(l)}),n}const Xr=e=>{const t=ze(),{site:n,frontmatter:s}=_e(),o=e.depth||1,r=s.value.sidebarDepth||1/0,i=t.data.headers,l=e.item.text,c=yu(n.value.base,e.item.link),f=e.item.children,d=Xc(t,e.item.link),p=o<r?Zr(d,f,i,o+1):null;return ot("li",{class:"sidebar-link"},[ot(c?"a":"p",{class:{"sidebar-link-item":!0,active:d},href:c},l),p])};function yu(e,t){return t===void 0||t.startsWith("#")?t:Zc(e,t)}function Zr(e,t,n,s=1){return t&&t.length>0?ot("ul",{class:"sidebar-links"},t.map(o=>ot(Xr,{item:o,depth:s}))):e&&n?Zr(!1,ku(n),void 0,s):null}function ku(e){return Gr(Cu(e))}function Cu(e){e=e.map(n=>Object.assign({},n));let t;return e.forEach(n=>{n.level===2?t=n:t&&(t.children||(t.children=[])).push(n)}),e.filter(n=>n.level===2)}function Gr(e){return e.map(t=>({text:t.title,link:`#${t.slug}`,children:t.children?Gr(t.children):void 0}))}const wu={key:0,class:"sidebar-links"},$u=le({setup(e){const t=xu();return(n,s)=>g(t).length>0?(T(),S("ul",wu,[(T(!0),S(he,null,tn(g(t),o=>(T(),fe(g(Xr),{item:o},null,8,["item"]))),256))])):V("",!0)}});const Tu=le({props:{open:{type:Boolean}},setup(e){return(t,n)=>(T(),S("aside",{class:mt(["sidebar",{open:e.open}])},[U(Jr,{class:"nav"}),me(t.$slots,"sidebar-top",{},void 0,!0),U($u),me(t.$slots,"sidebar-bottom",{},void 0,!0)],2))}});var Lu=oe(Tu,[["__scopeId","data-v-83e92a68"]]);const Eu=/bitbucket.org/;function Au(){const{page:e,theme:t,frontmatter:n}=_e(),s=j(()=>{const{repo:r,docsDir:i="",docsBranch:l="master",docsRepo:c=r,editLinks:f}=t.value,d=n.value.editLink!=null?n.value.editLink:f,{relativePath:p}=e.value;return!d||!p||!r?null:Pu(r,c,i,l,p)}),o=j(()=>t.value.editLinkText||"Edit this page");return{url:s,text:o}}function Pu(e,t,n,s,o){return Eu.test(e)?Fu(e,t,n,s,o):Iu(e,t,n,s,o)}function Iu(e,t,n,s,o){return(Hs(t)?t:`https://github.com/${t}`).replace(wn,"")+`/edit/${s}/`+(n?n.replace(wn,"")+"/":"")+o}function Fu(e,t,n,s,o){return(Hs(t)?t:e).replace(wn,"")+`/src/${s}/`+(n?n.replace(wn,"")+"/":"")+o+`?mode=edit&spa=0&at=${s}&fileviewer=file-view-default`}const Mu={class:"edit-link"},Su=["href"],Nu=le({setup(e){const{url:t,text:n}=Au();return(s,o)=>(T(),S("div",Mu,[g(t)?(T(),S("a",{key:0,class:"link",href:g(t),target:"_blank",rel:"noopener noreferrer"},[en(de(g(n))+" ",1),U(Us,{class:"icon"})],8,Su)):V("",!0)]))}});var Ru=oe(Nu,[["__scopeId","data-v-1ed99556"]]);const Ou={key:0,class:"last-updated"},Hu={class:"prefix"},Bu={class:"datetime"},Uu=le({setup(e){const{theme:t,page:n}=_e(),s=j(()=>{const i=t.value.lastUpdated;return i!==void 0&&i!==!1&&n.value.lastUpdated!==0}),o=j(()=>{const i=t.value.lastUpdated;return i===!0?"Last Updated":i}),r=Qt("");return _t(()=>{_r(()=>{r.value=new Date(n.value.lastUpdated).toLocaleString("en-US")})}),(i,l)=>g(s)?(T(),S("p",Ou,[I("span",Hu,de(g(o))+":",1),I("span",Bu,de(r.value),1)])):V("",!0)}});var Du=oe(Uu,[["__scopeId","data-v-abce3432"]]);const ju={class:"page-footer"},Ku={class:"edit"},Wu={class:"updated"},qu=le({setup(e){const{page:t}=_e();return(n,s)=>(T(),S("footer",ju,[I("div",Ku,[U(Ru)]),I("div",Wu,[g(t).lastUpdated?(T(),fe(Du,{key:0})):V("",!0)])]))}});var Vu=oe(qu,[["__scopeId","data-v-07c132fc"]]);function zu(){const{page:e,theme:t}=_e(),n=j(()=>Vr(fs(e.value.relativePath))),s=j(()=>{const c=Bs(t.value.sidebar,n.value);return Os(c)?zr(c):[]}),o=j(()=>s.value.findIndex(c=>c.link===n.value)),r=j(()=>{if(t.value.nextLinks!==!1&&o.value>-1&&o.value<s.value.length-1)return s.value[o.value+1]}),i=j(()=>{if(t.value.prevLinks!==!1&&o.value>0)return s.value[o.value-1]}),l=j(()=>!!r.value||!!i.value);return{next:r,prev:i,hasLinks:l}}const Yu={},Ju={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Xu=I("path",{d:"M19,11H7.4l5.3-5.3c0.4-0.4,0.4-1,0-1.4s-1-0.4-1.4,0l-7,7c-0.1,0.1-0.2,0.2-0.2,0.3c-0.1,0.2-0.1,0.5,0,0.8c0.1,0.1,0.1,0.2,0.2,0.3l7,7c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3c0.4-0.4,0.4-1,0-1.4L7.4,13H19c0.6,0,1-0.4,1-1S19.6,11,19,11z"},null,-1),Zu=[Xu];function Gu(e,t){return T(),S("svg",Ju,Zu)}var Qu=oe(Yu,[["render",Gu]]);const ef={},tf={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},nf=I("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),sf=[nf];function of(e,t){return T(),S("svg",tf,sf)}var rf=oe(ef,[["render",of]]);const lf={key:0,class:"next-and-prev-link"},cf={class:"container"},af={class:"prev"},uf=["href"],ff={class:"text"},df={class:"next"},hf=["href"],pf={class:"text"},mf=le({setup(e){const{hasLinks:t,prev:n,next:s}=zu();return(o,r)=>g(t)?(T(),S("div",lf,[I("div",cf,[I("div",af,[g(n)?(T(),S("a",{key:0,class:"link",href:g(rt)(g(n).link)},[U(Qu,{class:"icon icon-prev"}),I("span",ff,de(g(n).text),1)],8,uf)):V("",!0)]),I("div",df,[g(s)?(T(),S("a",{key:0,class:"link",href:g(rt)(g(s).link)},[I("span",pf,de(g(s).text),1),U(rf,{class:"icon icon-next"})],8,hf)):V("",!0)])])])):V("",!0)}});var _f=oe(mf,[["__scopeId","data-v-38ede35f"]]);const gf={class:"page"},vf={class:"container"},bf=le({setup(e){return(t,n)=>{const s=Jt("Content");return T(),S("main",gf,[I("div",vf,[me(t.$slots,"top",{},void 0,!0),U(s,{class:"content"}),U(Vu),U(_f),me(t.$slots,"bottom",{},void 0,!0)])])}}});var xf=oe(bf,[["__scopeId","data-v-7eddb2c4"]]);const yf={key:0,id:"ads-container"},kf=le({setup(e){const t=()=>null,n=t,s=t,o=t,r=ze(),{site:i,page:l,theme:c,frontmatter:f}=_e(),d=j(()=>!!f.value.customLayout),p=j(()=>!!f.value.home),m=j(()=>Object.keys(i.value.langs).length>1),E=j(()=>{const F=c.value;return f.value.navbar===!1||F.navbar===!1?!1:i.value.title||F.logo||F.repo||F.nav}),M=Qt(!1),D=j(()=>f.value.home||f.value.sidebar===!1?!1:!ea(Bs(c.value.sidebar,r.data.relativePath))),v=F=>{M.value=typeof F=="boolean"?F:!M.value},y=v.bind(null,!1);dt(r,y);const K=j(()=>[{"no-navbar":!E.value,"sidebar-open":M.value,"no-sidebar":!D.value}]);return(F,O)=>{const Y=Jt("Content"),Z=Jt("Debug");return T(),S(he,null,[I("div",{class:mt(["theme",g(K)])},[g(E)?(T(),fe(hu,{key:0,onToggle:v},{search:Se(()=>[me(F.$slots,"navbar-search",{},()=>[g(c).algolia?(T(),fe(g(o),{key:0,options:g(c).algolia,multilang:g(m)},null,8,["options","multilang"])):V("",!0)])]),_:3})):V("",!0),U(Lu,{open:M.value},{"sidebar-top":Se(()=>[me(F.$slots,"sidebar-top")]),"sidebar-bottom":Se(()=>[me(F.$slots,"sidebar-bottom")]),_:3},8,["open"]),I("div",{class:"sidebar-mask",onClick:O[0]||(O[0]=A=>v(!1))}),g(d)?(T(),fe(Y,{key:1})):g(p)?me(F.$slots,"home",{key:2},()=>[U(Fa,null,{hero:Se(()=>[me(F.$slots,"home-hero")]),features:Se(()=>[me(F.$slots,"home-features")]),footer:Se(()=>[me(F.$slots,"home-footer")]),_:3})]):(T(),fe(xf,{key:3},{top:Se(()=>[me(F.$slots,"page-top-ads",{},()=>[g(c).carbonAds&&g(c).carbonAds.carbon?(T(),S("div",yf,[(T(),fe(g(n),{key:"carbon"+g(l).relativePath,code:g(c).carbonAds.carbon,placement:g(c).carbonAds.placement},null,8,["code","placement"]))])):V("",!0)]),me(F.$slots,"page-top")]),bottom:Se(()=>[me(F.$slots,"page-bottom"),me(F.$slots,"page-bottom-ads",{},()=>[g(c).carbonAds&&g(c).carbonAds.custom?(T(),fe(g(s),{key:"custom"+g(l).relativePath,code:g(c).carbonAds.custom,placement:g(c).carbonAds.placement},null,8,["code","placement"])):V("",!0)])]),_:3}))],2),U(Z)],64)}}}),Cf={class:"theme"},wf=I("h1",null,"404",-1),$f=["href"],Tf=le({setup(e){const{site:t}=_e(),n=["There's nothing here.","How did we get here?","That's a Four-Oh-Four.","Looks like we've got some broken links."];function s(){return n[Math.floor(Math.random()*n.length)]}return(o,r)=>(T(),S("div",Cf,[wf,I("blockquote",null,de(s()),1),I("a",{href:g(t).base,"aria-label":"go to home"},"Take me home.",8,$f)]))}}),Qr={Layout:kf,NotFound:Tf};const Lf={},Ef=e=>(Ps("data-v-5d052805"),e=e(),Is(),e),Af=Ef(()=>I("svg",{id:"eaRe02fYmMp1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 228 521","shape-rendering":"geometricPrecision","text-rendering":"geometricPrecision"},[I("g",{id:"P"},[I("path",{d:"m 101,512.877 c -17.547386,-5.3519 -50.794681,-10.26296 -80,0 10.737201,-217.43031 5.7244,-300.999 0,-464.9995 0,0 46.6144,-37.1164 80,-42.00002 33.386,-4.883633 86.025,10.45942 120,50.00002 5,30 -4.353,106.6565 -44,156.0005 -34.149,42.5 -130,38.48 -130,92.999 0,102 54,208 54,208 z",style:{display:"inline",fill:"none",stroke:"rgb(163, 190, 140)","stroke-width":"10","stroke-linecap":"round","stroke-miterlimit":"16"},id:"trunk",class:"svg-elem-1"}),I("path",{d:"M 221,55.8775 C 209.023,126.453 185.39,166.835 158.997,191.5 93.783098,252.444 11.718998,217.436 46.999998,304.877",style:{display:"inline",fill:"none",stroke:"rgb(163, 190, 140)","stroke-width":"5","stroke-linecap":"round","stroke-miterlimit":"16"},id:"vine2",class:"svg-elem-2"}),I("path",{d:"m 194.5,188 c -11.225,4.447 -19.066,5.134 -35.503,3.5",style:{display:"inline",fill:"none",stroke:"rgb(163, 190, 140)","stroke-width":"5","stroke-linecap":"round","stroke-miterlimit":"16"},id:"short_vine4",class:"svg-elem-3"}),I("path",{d:"M 73.499996,246.5 C 111.145,245.626 127.011,238.775 156.5,228",style:{display:"inline",fill:"none",stroke:"rgb(163, 190, 140)","stroke-width":"5","stroke-linecap":"round","stroke-miterlimit":"16"},id:"short_vine3",class:"svg-elem-4"}),I("path",{d:"M 221,55.8775 C 169.5,17.8262 86.0943,44.9468 47,107 c -4.743,7.528 -7.1041,15.373 -8.326,24 -3.5282,24.91 2.4426,56.34 -12.0011,105.5",style:{display:"inline",fill:"none",stroke:"rgb(163, 190, 140)","stroke-width":"5","stroke-linecap":"round","stroke-miterlimit":"16"},id:"vine1",class:"svg-elem-5"}),I("path",{d:"M 21,47.8775 38.674,131",style:{display:"inline",fill:"none",stroke:"rgb(163, 190, 140)","stroke-width":"5","stroke-linecap":"round","stroke-miterlimit":"16"},id:"short_vine2",class:"svg-elem-6"}),I("path",{d:"m 3,326.5 c 13.1783,22.208 16.4863,42.834 21.6997,81",style:{display:"inline",fill:"none",stroke:"rgb(163, 190, 140)","stroke-width":"5","stroke-linecap":"round","stroke-miterlimit":"16"},id:"short_vine1",class:"svg-elem-7"})])],-1));function Pf(e,t){return T(),fe(Rs,{appear:""},{default:Se(()=>[Af]),_:1})}var If=oe(Lf,[["render",Pf],["__scopeId","data-v-5d052805"]]);const Ff={class:"nav-link"},Mf=le({props:{item:null},setup(e){const n=$s(e),s=ze(),o=j(()=>{const i=r(`/${s.data.relativePath}`);let l=!1;if(n.item.value.activeMatch)l=new RegExp(n.item.value.activeMatch).test(i);else{const c=r(n.item.value.link);l=c==="/"?c===i:i.startsWith(c)}return{class:{active:l},href:rt(n.item.value.link),target:n.item.value.target||null,rel:n.item.value.rel||null,"aria-label":n.item.value.ariaLabel}});function r(i){return i.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\.(html|md)$/,"").replace(/\/index$/,"/")}return(i,l)=>(T(),S("div",Ff,[I("a",Hn({class:"item"},g(o)),de(e.item.text),17)]))}});var Ho=oe(Mf,[["__scopeId","data-v-7926173c"]]);const Sf={key:0,class:"home-hero"},Nf={key:0,class:"figure"},Rf=["src","alt"],Of={key:1,id:"main-title",class:"title"},Hf={key:2,class:"tagline"},Bf=le({setup(e){const{site:t,frontmatter:n}=_e(),s=j(()=>{const{heroImage:i,heroText:l,tagline:c,actionLink:f,actionText:d}=n.value;return i||l||c||f&&d}),o=j(()=>n.value.heroText||t.value.title),r=j(()=>n.value.tagline||t.value.description);return(i,l)=>g(s)?(T(),S("header",Sf,[g(n).heroImage?(T(),S("figure",Nf,[I("img",{class:"image",src:g(rt)(g(n).heroImage),alt:g(n).heroAlt},null,8,Rf)])):V("",!0),g(o)?(T(),S("h1",Of,de(g(o)),1)):V("",!0),g(r)?(T(),S("p",Hf,de(g(r)),1)):V("",!0),g(n).actionLink&&g(n).actionText?(T(),fe(Ho,{key:3,item:{link:g(n).actionLink,text:g(n).actionText},class:"action"},null,8,["item"])):V("",!0),g(n).altActionLink&&g(n).altActionText?(T(),fe(Ho,{key:4,item:{link:g(n).altActionLink,text:g(n).altActionText},class:"action alt"},null,8,["item"])):V("",!0)])):V("",!0)}});var Uf=oe(Bf,[["__scopeId","data-v-1d9b23d8"]]);const Df={key:0,class:"home-features"},jf={class:"wrapper"},Kf={class:"container"},Wf={class:"features"},qf={key:0,class:"title"},Vf={key:1,class:"details"},zf=le({setup(e){const{frontmatter:t}=_e(),n=j(()=>t.value.features&&t.value.features.length>0),s=j(()=>t.value.features?t.value.features:[]);return(o,r)=>g(n)?(T(),S("div",Df,[I("div",jf,[I("div",Kf,[I("div",Wf,[(T(!0),S(he,null,tn(g(s),(i,l)=>(T(),S("section",{key:l,class:"feature"},[i.title?(T(),S("h2",qf,de(i.title),1)):V("",!0),i.details?(T(),S("p",Vf,de(i.details),1)):V("",!0)]))),128))])])])])):V("",!0)}});var Yf=oe(zf,[["__scopeId","data-v-27178ff0"]]);const Jf={key:0,class:"footer"},Xf={class:"container"},Zf={class:"text"},Gf=le({setup(e){const{frontmatter:t}=_e();return(n,s)=>g(t).footer?(T(),S("footer",Jf,[I("div",Xf,[I("p",Zf,de(g(t).footer),1)])])):V("",!0)}});var Qf=oe(Gf,[["__scopeId","data-v-36c4efe0"]]);const ed={class:"home","aria-labelledby":"main-title"},td={key:1,style:{height:"30vmin",margin:"auto",display:"block"}},nd={class:"home-content"},sd={setup(e){const{Layout:t}=Qr,n=Qt(!1);return Ls(()=>n.value=!0),(s,o)=>{const r=Jt("Content");return T(),fe(g(t),null,{home:Se(()=>[I("main",ed,[n.value?(T(),fe(If,{key:0,style:{height:"30vmin",margin:"auto",display:"block"}})):(T(),S("div",td)),U(Uf),U(Yf),I("div",nd,[U(r)]),U(Qf)])]),_:1})}}};var od=oe(sd,[["__scopeId","data-v-74c63726"]]);var Tn=Js(Ys({},Qr),{Layout:od});const Xn=new Set,ei=()=>document.createElement("link"),rd=e=>{const t=ei();t.rel="prefetch",t.href=e,document.head.appendChild(t)},id=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let fn;const ld=Pe&&(fn=ei())&&fn.relList&&fn.relList.supports&&fn.relList.supports("prefetch")?rd:id;function cd(){if(!Pe||!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(r=>{r.forEach(i=>{if(i.isIntersecting){const l=i.target;n.unobserve(l);const{pathname:c}=l;if(!Xn.has(c)){Xn.add(c);const f=Kr(c);ld(f)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(r=>{const{target:i,hostname:l,pathname:c}=r,f=c.match(/\.\w+$/);f&&f[0]!==".html"||i!=="_blank"&&l===location.hostname&&(c!==location.pathname?n.observe(r):Xn.add(c))})})};_t(s);const o=ze();dt(()=>o.path,s),Rn(()=>{n&&n.disconnect()})}const ad=le({setup(e,{slots:t}){const n=Qt(!1);return _t(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}}),ud=Tn.NotFound||(()=>"404 Not Found"),fd={name:"VitePressApp",setup(){const{site:e}=_e();return _t(()=>{dt(()=>e.value.lang,t=>{document.documentElement.lang=t},{immediate:!0})}),cd(),()=>ot(Tn.Layout)}};function dd(){const e=pd(),t=hd();t.provide(Wr,e);const n=Hc(e.route);return t.provide(jr,n),Pe&&Kc(e.route,n.site),t.component("Content",Vc),t.component("ClientOnly",ad),t.component("Debug",()=>null),Object.defineProperty(t.config.globalProperties,"$frontmatter",{get(){return n.frontmatter.value}}),Tn.enhanceApp&&Tn.enhanceApp({app:t,router:e,siteData:nn}),{app:t,router:e}}function hd(){return Pc(fd)}function pd(){let e=Pe,t;return Dc(n=>{let s=Kr(n);return e&&(t=s),(e||t===s)&&(s=s.replace(/\.js$/,".lean.js")),Pe?(e=!1,import(s)):require(s)},ud)}if(Pe){const{app:e,router:t}=dd();t.go().then(()=>{e.mount("#app")})}export{oe as _,_d as a,I as b,S as c,dd as createApp,en as d,T as o};
|