diff --git a/404.html b/404.html index b22d348..aa7e259 100644 --- a/404.html +++ b/404.html @@ -8,7 +8,7 @@ - + @@ -18,7 +18,7 @@
- + \ No newline at end of file diff --git a/README.html b/README.html index 5c8a494..5ebf7d1 100644 --- a/README.html +++ b/README.html @@ -8,11 +8,11 @@ - + - - - + + + @@ -21,7 +21,7 @@
Skip to content

🕒 Published at:
--- Done ---
- + \ No newline at end of file diff --git a/archives.html b/archives.html index 22ca451..2bbc4b7 100644 --- a/archives.html +++ b/archives.html @@ -8,11 +8,11 @@ - + - - - + + + @@ -21,7 +21,7 @@
Skip to content
- + \ No newline at end of file diff --git a/assets/README.md.v8xSQB6h.js b/assets/README.md.CN-s5hGS.js similarity index 80% rename from assets/README.md.v8xSQB6h.js rename to assets/README.md.CN-s5hGS.js index 6b0da1c..cc05d1b 100644 --- a/assets/README.md.v8xSQB6h.js +++ b/assets/README.md.CN-s5hGS.js @@ -1 +1 @@ -import{_ as e,c as t,o as a}from"./chunks/framework.Dvq0W1Dl.js";const m=JSON.parse('{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"README.md","filePath":"README.md"}'),r={name:"README.md"};function o(s,c,n,p,_,d){return a(),t("div")}const E=e(r,[["render",o]]);export{m as __pageData,E as default}; +import{_ as e,c as t,o as a}from"./chunks/framework.CFocJP4i.js";const m=JSON.parse('{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"README.md","filePath":"README.md"}'),r={name:"README.md"};function o(s,c,n,p,_,d){return a(),t("div")}const E=e(r,[["render",o]]);export{m as __pageData,E as default}; diff --git a/assets/README.md.v8xSQB6h.lean.js b/assets/README.md.CN-s5hGS.lean.js similarity index 80% rename from assets/README.md.v8xSQB6h.lean.js rename to assets/README.md.CN-s5hGS.lean.js index 6b0da1c..cc05d1b 100644 --- a/assets/README.md.v8xSQB6h.lean.js +++ b/assets/README.md.CN-s5hGS.lean.js @@ -1 +1 @@ -import{_ as e,c as t,o as a}from"./chunks/framework.Dvq0W1Dl.js";const m=JSON.parse('{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"README.md","filePath":"README.md"}'),r={name:"README.md"};function o(s,c,n,p,_,d){return a(),t("div")}const E=e(r,[["render",o]]);export{m as __pageData,E as default}; +import{_ as e,c as t,o as a}from"./chunks/framework.CFocJP4i.js";const m=JSON.parse('{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"README.md","filePath":"README.md"}'),r={name:"README.md"};function o(s,c,n,p,_,d){return a(),t("div")}const E=e(r,[["render",o]]);export{m as __pageData,E as default}; diff --git a/assets/app.D32P4SHY.js b/assets/app.DLf0DqXC.js similarity index 90% rename from assets/app.D32P4SHY.js rename to assets/app.DLf0DqXC.js index 45df7f6..be05c54 100644 --- a/assets/app.D32P4SHY.js +++ b/assets/app.DLf0DqXC.js @@ -1 +1 @@ -import{R as o,a5 as p,a6 as u,a7 as l,a8 as c,a9 as f,aa as d,ab as m,ac as h,ad as g,ae as A,d as v,u as P,v as R,s as w,af as y,ag as C,ah as b,ai as E}from"./chunks/framework.Dvq0W1Dl.js";import{R as S}from"./chunks/theme.Bf95lNIB.js";function i(e){if(e.extends){const a=i(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const s=i(S),T=v({name:"VitePressApp",setup(){const{site:e,lang:a,dir:t}=P();return R(()=>{w(()=>{document.documentElement.lang=a.value,document.documentElement.dir=t.value})}),e.value.router.prefetchLinks&&y(),C(),b(),s.setup&&s.setup(),()=>E(s.Layout)}});async function _(){globalThis.__VITEPRESS__=!0;const e=V(),a=D();a.provide(u,e);const t=l(e.route);return a.provide(c,t),a.component("Content",f),a.component("ClientOnly",d),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),s.enhanceApp&&await s.enhanceApp({app:a,router:e,siteData:m}),{app:a,router:e,data:t}}function D(){return h(T)}function V(){let e=o,a;return g(t=>{let n=A(t),r=null;return n&&(e&&(a=n),(e||a===n)&&(n=n.replace(/\.js$/,".lean.js")),r=import(n)),o&&(e=!1),r},s.NotFound)}o&&_().then(({app:e,router:a,data:t})=>{a.go().then(()=>{p(a.route,t.site),e.mount("#app")})});export{_ as createApp}; +import{R as o,a5 as p,a6 as u,a7 as l,a8 as c,a9 as f,aa as d,ab as m,ac as h,ad as g,ae as A,d as v,u as P,v as R,s as w,af as y,ag as C,ah as b,ai as E}from"./chunks/framework.CFocJP4i.js";import{R as S}from"./chunks/theme.Bj7Ju5Lp.js";function i(e){if(e.extends){const a=i(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const s=i(S),T=v({name:"VitePressApp",setup(){const{site:e,lang:a,dir:t}=P();return R(()=>{w(()=>{document.documentElement.lang=a.value,document.documentElement.dir=t.value})}),e.value.router.prefetchLinks&&y(),C(),b(),s.setup&&s.setup(),()=>E(s.Layout)}});async function _(){globalThis.__VITEPRESS__=!0;const e=V(),a=D();a.provide(u,e);const t=l(e.route);return a.provide(c,t),a.component("Content",f),a.component("ClientOnly",d),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),s.enhanceApp&&await s.enhanceApp({app:a,router:e,siteData:m}),{app:a,router:e,data:t}}function D(){return h(T)}function V(){let e=o,a;return g(t=>{let n=A(t),r=null;return n&&(e&&(a=n),(e||a===n)&&(n=n.replace(/\.js$/,".lean.js")),r=import(n)),o&&(e=!1),r},s.NotFound)}o&&_().then(({app:e,router:a,data:t})=>{a.go().then(()=>{p(a.route,t.site),e.mount("#app")})});export{_ as createApp}; diff --git a/assets/archives.md.ClTIowZH.lean.js b/assets/archives.md.DD4u35Gl.js similarity index 68% rename from assets/archives.md.ClTIowZH.lean.js rename to assets/archives.md.DD4u35Gl.js index 9352b72..1761ceb 100644 --- a/assets/archives.md.ClTIowZH.lean.js +++ b/assets/archives.md.DD4u35Gl.js @@ -1 +1 @@ -import{_ as a,B as t,c as r,G as s,o}from"./chunks/framework.Dvq0W1Dl.js";const v=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"page","navbar":false},"headers":[],"relativePath":"archives.md","filePath":"archives.md"}'),c={name:"archives.md"};function n(i,p,_,l,d,m){const e=t("Archives",!0);return o(),r("div",null,[s(e)])}const f=a(c,[["render",n]]);export{v as __pageData,f as default}; +import{_ as a,B as t,c as r,G as s,o}from"./chunks/framework.CFocJP4i.js";const v=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"page","navbar":false},"headers":[],"relativePath":"archives.md","filePath":"archives.md"}'),c={name:"archives.md"};function n(i,p,_,l,d,m){const e=t("Archives",!0);return o(),r("div",null,[s(e)])}const f=a(c,[["render",n]]);export{v as __pageData,f as default}; diff --git a/assets/archives.md.ClTIowZH.js b/assets/archives.md.DD4u35Gl.lean.js similarity index 68% rename from assets/archives.md.ClTIowZH.js rename to assets/archives.md.DD4u35Gl.lean.js index 9352b72..1761ceb 100644 --- a/assets/archives.md.ClTIowZH.js +++ b/assets/archives.md.DD4u35Gl.lean.js @@ -1 +1 @@ -import{_ as a,B as t,c as r,G as s,o}from"./chunks/framework.Dvq0W1Dl.js";const v=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"page","navbar":false},"headers":[],"relativePath":"archives.md","filePath":"archives.md"}'),c={name:"archives.md"};function n(i,p,_,l,d,m){const e=t("Archives",!0);return o(),r("div",null,[s(e)])}const f=a(c,[["render",n]]);export{v as __pageData,f as default}; +import{_ as a,B as t,c as r,G as s,o}from"./chunks/framework.CFocJP4i.js";const v=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"page","navbar":false},"headers":[],"relativePath":"archives.md","filePath":"archives.md"}'),c={name:"archives.md"};function n(i,p,_,l,d,m){const e=t("Archives",!0);return o(),r("div",null,[s(e)])}const f=a(c,[["render",n]]);export{v as __pageData,f as default}; diff --git a/assets/chunks/VPLocalSearchBox.Bu6BkyWY.js b/assets/chunks/VPLocalSearchBox.CWPdVUyO.js similarity index 99% rename from assets/chunks/VPLocalSearchBox.Bu6BkyWY.js rename to assets/chunks/VPLocalSearchBox.CWPdVUyO.js index 1722041..2c32c59 100644 --- a/assets/chunks/VPLocalSearchBox.Bu6BkyWY.js +++ b/assets/chunks/VPLocalSearchBox.CWPdVUyO.js @@ -1,4 +1,4 @@ -var Nt=Object.defineProperty;var kt=(a,e,t)=>e in a?Nt(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t;var Re=(a,e,t)=>kt(a,typeof e!="symbol"?e+"":e,t);import{V as Ft,p as se,q as je,aj as Ot,ak as Rt,d as Ct,D as ge,al as Xe,h as be,am as Mt,an as At,s as Lt,ao as Dt,v as Ce,P as ue,O as ye,ap as zt,aq as Pt,W as jt,R as Vt,$ as $t,o as H,b as Bt,j as x,a0 as Wt,k as D,a2 as Kt,ar as Jt,as as Ut,c as Y,n as et,e as we,C as tt,F as st,a as de,t as he,at as qt,au as nt,av as Gt,a8 as Ht,ae as Qt,aw as Yt,_ as Zt}from"./framework.Dvq0W1Dl.js";import{u as Xt,c as es}from"./theme.Bf95lNIB.js";const ts={root:()=>Ft(()=>import("./@localSearchIndexroot.CrXq-vHD.js"),[])};/*! +var Nt=Object.defineProperty;var kt=(a,e,t)=>e in a?Nt(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t;var Re=(a,e,t)=>kt(a,typeof e!="symbol"?e+"":e,t);import{V as Ft,p as se,q as je,aj as Ot,ak as Rt,d as Ct,D as ge,al as Xe,h as be,am as Mt,an as At,s as Lt,ao as Dt,v as Ce,P as ue,O as ye,ap as zt,aq as Pt,W as jt,R as Vt,$ as $t,o as H,b as Bt,j as x,a0 as Wt,k as D,a2 as Kt,ar as Jt,as as Ut,c as Y,n as et,e as we,C as tt,F as st,a as de,t as he,at as qt,au as nt,av as Gt,a8 as Ht,ae as Qt,aw as Yt,_ as Zt}from"./framework.CFocJP4i.js";import{u as Xt,c as es}from"./theme.Bj7Ju5Lp.js";const ts={root:()=>Ft(()=>import("./@localSearchIndexroot.CrXq-vHD.js"),[])};/*! * tabbable 6.2.0 * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE */var pt=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],Te=pt.join(","),vt=typeof Element>"u",ie=vt?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Ie=!vt&&Element.prototype.getRootNode?function(a){var e;return a==null||(e=a.getRootNode)===null||e===void 0?void 0:e.call(a)}:function(a){return a==null?void 0:a.ownerDocument},Ne=function a(e,t){var s;t===void 0&&(t=!0);var n=e==null||(s=e.getAttribute)===null||s===void 0?void 0:s.call(e,"inert"),r=n===""||n==="true",i=r||t&&e&&a(e.parentNode);return i},ss=function(e){var t,s=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return s===""||s==="true"},mt=function(e,t,s){if(Ne(e))return[];var n=Array.prototype.slice.apply(e.querySelectorAll(Te));return t&&ie.call(e,Te)&&n.unshift(e),n=n.filter(s),n},gt=function a(e,t,s){for(var n=[],r=Array.from(e);r.length;){var i=r.shift();if(!Ne(i,!1))if(i.tagName==="SLOT"){var o=i.assignedElements(),l=o.length?o:i.children,c=a(l,!0,s);s.flatten?n.push.apply(n,c):n.push({scopeParent:i,candidates:c})}else{var h=ie.call(i,Te);h&&s.filter(i)&&(t||!e.includes(i))&&n.push(i);var f=i.shadowRoot||typeof s.getShadowRoot=="function"&&s.getShadowRoot(i),m=!Ne(f,!1)&&(!s.shadowRootFilter||s.shadowRootFilter(i));if(f&&m){var y=a(f===!0?i.children:f.children,!0,s);s.flatten?n.push.apply(n,y):n.push({scopeParent:i,candidates:y})}else r.unshift.apply(r,i.children)}}return n},bt=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},ne=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||ss(e))&&!bt(e)?0:e.tabIndex},ns=function(e,t){var s=ne(e);return s<0&&t&&!bt(e)?0:s},is=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},yt=function(e){return e.tagName==="INPUT"},rs=function(e){return yt(e)&&e.type==="hidden"},as=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(s){return s.tagName==="SUMMARY"});return t},os=function(e,t){for(var s=0;ssummary:first-of-type"),i=r?e.parentElement:e;if(ie.call(i,"details:not([open]) *"))return!0;if(!s||s==="full"||s==="legacy-full"){if(typeof n=="function"){for(var o=e;e;){var l=e.parentElement,c=Ie(e);if(l&&!l.shadowRoot&&n(l)===!0)return it(e);e.assignedSlot?e=e.assignedSlot:!l&&c!==e.ownerDocument?e=c.host:e=l}e=o}if(ds(e))return!e.getClientRects().length;if(s!=="legacy-full")return!0}else if(s==="non-zero-area")return it(e);return!1},fs=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var s=0;s=0)},vs=function a(e){var t=[],s=[];return e.forEach(function(n,r){var i=!!n.scopeParent,o=i?n.scopeParent:n,l=ns(o,i),c=i?a(n.candidates):o;l===0?i?t.push.apply(t,c):t.push(o):s.push({documentOrder:r,tabIndex:l,item:n,isScope:i,content:c})}),s.sort(is).reduce(function(n,r){return r.isScope?n.push.apply(n,r.content):n.push(r.content),n},[]).concat(t)},ms=function(e,t){t=t||{};var s;return t.getShadowRoot?s=gt([e],t.includeContainer,{filter:Ve.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:ps}):s=mt(e,t.includeContainer,Ve.bind(null,t)),vs(s)},gs=function(e,t){t=t||{};var s;return t.getShadowRoot?s=gt([e],t.includeContainer,{filter:ke.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):s=mt(e,t.includeContainer,ke.bind(null,t)),s},re=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return ie.call(e,Te)===!1?!1:Ve(t,e)},bs=pt.concat("iframe").join(","),Me=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return ie.call(e,bs)===!1?!1:ke(t,e)};/*! diff --git a/assets/chunks/framework.CFocJP4i.js b/assets/chunks/framework.CFocJP4i.js new file mode 100644 index 0000000..d2546cd --- /dev/null +++ b/assets/chunks/framework.CFocJP4i.js @@ -0,0 +1,18 @@ +/** +* @vue/shared v3.5.8 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**//*! #__NO_SIDE_EFFECTS__ */function Dr(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ee={},Tt=[],Ue=()=>{},Qo=()=>!1,en=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),jr=e=>e.startsWith("onUpdate:"),fe=Object.assign,Vr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Zo=Object.prototype.hasOwnProperty,z=(e,t)=>Zo.call(e,t),W=Array.isArray,Ct=e=>$n(e)==="[object Map]",di=e=>$n(e)==="[object Set]",K=e=>typeof e=="function",se=e=>typeof e=="string",rt=e=>typeof e=="symbol",ne=e=>e!==null&&typeof e=="object",hi=e=>(ne(e)||K(e))&&K(e.then)&&K(e.catch),pi=Object.prototype.toString,$n=e=>pi.call(e),el=e=>$n(e).slice(8,-1),gi=e=>$n(e)==="[object Object]",Ur=e=>se(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,At=Dr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Dn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},tl=/-(\w)/g,Ne=Dn(e=>e.replace(tl,(t,n)=>n?n.toUpperCase():"")),nl=/\B([A-Z])/g,st=Dn(e=>e.replace(nl,"-$1").toLowerCase()),jn=Dn(e=>e.charAt(0).toUpperCase()+e.slice(1)),En=Dn(e=>e?`on${jn(e)}`:""),tt=(e,t)=>!Object.is(e,t),Sn=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Sr=e=>{const t=parseFloat(e);return isNaN(t)?e:t},rl=e=>{const t=se(e)?Number(e):NaN;return isNaN(t)?e:t};let ms;const yi=()=>ms||(ms=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function kr(e){if(W(e)){const t={};for(let n=0;n{if(n){const r=n.split(il);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Br(e){let t="";if(se(e))t=e;else if(W(e))for(let n=0;n!!(e&&e.__v_isRef===!0),fl=e=>se(e)?e:e==null?"":W(e)||ne(e)&&(e.toString===pi||!K(e.toString))?bi(e)?fl(e.value):JSON.stringify(e,_i,2):String(e),_i=(e,t)=>bi(t)?_i(e,t.value):Ct(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],i)=>(n[tr(r,i)+" =>"]=s,n),{})}:di(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>tr(n))}:rt(t)?tr(t):ne(t)&&!W(t)&&!gi(t)?String(t):t,tr=(e,t="")=>{var n;return rt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +* @vue/reactivity v3.5.8 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let _e;class ul{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=_e,!t&&_e&&(this.index=(_e.scopes||(_e.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0)return;let e;for(;jt;){let t=jt;for(jt=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function Ti(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ci(e,t=!1){let n,r=e.depsTail,s=r;for(;s;){const i=s.prevDep;s.version===-1?(s===r&&(r=i),qr(s,t),hl(s)):n=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=i}e.deps=n,e.depsTail=r}function xr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ai(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ai(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Kt))return;e.globalVersion=Kt;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!xr(e)){e.flags&=-3;return}const n=Z,r=Le;Z=e,Le=!0;try{Ti(e);const s=e.fn(e._value);(t.version===0||tt(s,e._value))&&(e._value=s,t.version++)}catch(s){throw t.version++,s}finally{Z=n,Le=r,Ci(e,!0),e.flags&=-3}}function qr(e,t=!1){const{dep:n,prevSub:r,nextSub:s}=e;if(r&&(r.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r),!n.subs)if(n.computed){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)qr(i,!0)}else n.map&&!t&&(n.map.delete(n.key),n.map.size||qt.delete(n.target))}function hl(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Le=!0;const Ri=[];function it(){Ri.push(Le),Le=!1}function ot(){const e=Ri.pop();Le=e===void 0?!0:e}function ys(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Z;Z=void 0;try{t()}finally{Z=n}}}let Kt=0;class pl{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Vn{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.target=void 0,this.map=void 0,this.key=void 0}track(t){if(!Z||!Le||Z===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Z)n=this.activeLink=new pl(Z,this),Z.deps?(n.prevDep=Z.depsTail,Z.depsTail.nextDep=n,Z.depsTail=n):Z.deps=Z.depsTail=n,Z.flags&4&&Oi(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=Z.depsTail,n.nextDep=void 0,Z.depsTail.nextDep=n,Z.depsTail=n,Z.deps===n&&(Z.deps=r)}return n}trigger(t){this.version++,Kt++,this.notify(t)}notify(t){Wr();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Kr()}}}function Oi(e){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)Oi(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}const qt=new WeakMap,ht=Symbol(""),Tr=Symbol(""),Gt=Symbol("");function ve(e,t,n){if(Le&&Z){let r=qt.get(e);r||qt.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new Vn),s.target=e,s.map=r,s.key=n),s.track()}}function Ge(e,t,n,r,s,i){const o=qt.get(e);if(!o){Kt++;return}const l=c=>{c&&c.trigger()};if(Wr(),t==="clear")o.forEach(l);else{const c=W(e),u=c&&Ur(n);if(c&&n==="length"){const a=Number(r);o.forEach((h,g)=>{(g==="length"||g===Gt||!rt(g)&&g>=a)&&l(h)})}else switch(n!==void 0&&l(o.get(n)),u&&l(o.get(Gt)),t){case"add":c?u&&l(o.get("length")):(l(o.get(ht)),Ct(e)&&l(o.get(Tr)));break;case"delete":c||(l(o.get(ht)),Ct(e)&&l(o.get(Tr)));break;case"set":Ct(e)&&l(o.get(ht));break}}Kr()}function gl(e,t){var n;return(n=qt.get(e))==null?void 0:n.get(t)}function _t(e){const t=J(e);return t===e?t:(ve(t,"iterate",Gt),Pe(e)?t:t.map(me))}function Un(e){return ve(e=J(e),"iterate",Gt),e}const ml={__proto__:null,[Symbol.iterator](){return rr(this,Symbol.iterator,me)},concat(...e){return _t(this).concat(...e.map(t=>W(t)?_t(t):t))},entries(){return rr(this,"entries",e=>(e[1]=me(e[1]),e))},every(e,t){return We(this,"every",e,t,void 0,arguments)},filter(e,t){return We(this,"filter",e,t,n=>n.map(me),arguments)},find(e,t){return We(this,"find",e,t,me,arguments)},findIndex(e,t){return We(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return We(this,"findLast",e,t,me,arguments)},findLastIndex(e,t){return We(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return We(this,"forEach",e,t,void 0,arguments)},includes(...e){return sr(this,"includes",e)},indexOf(...e){return sr(this,"indexOf",e)},join(e){return _t(this).join(e)},lastIndexOf(...e){return sr(this,"lastIndexOf",e)},map(e,t){return We(this,"map",e,t,void 0,arguments)},pop(){return Ft(this,"pop")},push(...e){return Ft(this,"push",e)},reduce(e,...t){return vs(this,"reduce",e,t)},reduceRight(e,...t){return vs(this,"reduceRight",e,t)},shift(){return Ft(this,"shift")},some(e,t){return We(this,"some",e,t,void 0,arguments)},splice(...e){return Ft(this,"splice",e)},toReversed(){return _t(this).toReversed()},toSorted(e){return _t(this).toSorted(e)},toSpliced(...e){return _t(this).toSpliced(...e)},unshift(...e){return Ft(this,"unshift",e)},values(){return rr(this,"values",me)}};function rr(e,t,n){const r=Un(e),s=r[t]();return r!==e&&!Pe(e)&&(s._next=s.next,s.next=()=>{const i=s._next();return i.value&&(i.value=n(i.value)),i}),s}const yl=Array.prototype;function We(e,t,n,r,s,i){const o=Un(e),l=o!==e&&!Pe(e),c=o[t];if(c!==yl[t]){const h=c.apply(e,i);return l?me(h):h}let u=n;o!==e&&(l?u=function(h,g){return n.call(this,me(h),g,e)}:n.length>2&&(u=function(h,g){return n.call(this,h,g,e)}));const a=c.call(o,u,r);return l&&s?s(a):a}function vs(e,t,n,r){const s=Un(e);let i=n;return s!==e&&(Pe(e)?n.length>3&&(i=function(o,l,c){return n.call(this,o,l,c,e)}):i=function(o,l,c){return n.call(this,o,me(l),c,e)}),s[t](i,...r)}function sr(e,t,n){const r=J(e);ve(r,"iterate",Gt);const s=r[t](...n);return(s===-1||s===!1)&&Jr(n[0])?(n[0]=J(n[0]),r[t](...n)):s}function Ft(e,t,n=[]){it(),Wr();const r=J(e)[t].apply(e,n);return Kr(),ot(),r}const vl=Dr("__proto__,__v_isRef,__isVue"),Mi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(rt));function bl(e){rt(e)||(e=String(e));const t=J(this);return ve(t,"has",e),t.hasOwnProperty(e)}class Pi{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const s=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(s?i?Il:Fi:i?Ni:Li).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const o=W(t);if(!s){let c;if(o&&(c=ml[n]))return c;if(n==="hasOwnProperty")return bl}const l=Reflect.get(t,n,ae(t)?t:r);return(rt(n)?Mi.has(n):vl(n))||(s||ve(t,"get",n),i)?l:ae(l)?o&&Ur(n)?l:l.value:ne(l)?s?Wn(l):Bn(l):l}}class Ii extends Pi{constructor(t=!1){super(!1,t)}set(t,n,r,s){let i=t[n];if(!this._isShallow){const c=vt(i);if(!Pe(r)&&!vt(r)&&(i=J(i),r=J(r)),!W(t)&&ae(i)&&!ae(r))return c?!1:(i.value=r,!0)}const o=W(t)&&Ur(n)?Number(n)e,kn=e=>Reflect.getPrototypeOf(e);function an(e,t,n=!1,r=!1){e=e.__v_raw;const s=J(e),i=J(t);n||(tt(t,i)&&ve(s,"get",t),ve(s,"get",i));const{has:o}=kn(s),l=r?Gr:n?zr:me;if(o.call(s,t))return l(e.get(t));if(o.call(s,i))return l(e.get(i));e!==s&&e.get(t)}function fn(e,t=!1){const n=this.__v_raw,r=J(n),s=J(e);return t||(tt(e,s)&&ve(r,"has",e),ve(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function un(e,t=!1){return e=e.__v_raw,!t&&ve(J(e),"iterate",ht),Reflect.get(e,"size",e)}function bs(e,t=!1){!t&&!Pe(e)&&!vt(e)&&(e=J(e));const n=J(this);return kn(n).has.call(n,e)||(n.add(e),Ge(n,"add",e,e)),this}function _s(e,t,n=!1){!n&&!Pe(t)&&!vt(t)&&(t=J(t));const r=J(this),{has:s,get:i}=kn(r);let o=s.call(r,e);o||(e=J(e),o=s.call(r,e));const l=i.call(r,e);return r.set(e,t),o?tt(t,l)&&Ge(r,"set",e,t):Ge(r,"add",e,t),this}function ws(e){const t=J(this),{has:n,get:r}=kn(t);let s=n.call(t,e);s||(e=J(e),s=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return s&&Ge(t,"delete",e,void 0),i}function Es(){const e=J(this),t=e.size!==0,n=e.clear();return t&&Ge(e,"clear",void 0,void 0),n}function dn(e,t){return function(r,s){const i=this,o=i.__v_raw,l=J(o),c=t?Gr:e?zr:me;return!e&&ve(l,"iterate",ht),o.forEach((u,a)=>r.call(s,c(u),c(a),i))}}function hn(e,t,n){return function(...r){const s=this.__v_raw,i=J(s),o=Ct(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,u=s[e](...r),a=n?Gr:t?zr:me;return!t&&ve(i,"iterate",c?Tr:ht),{next(){const{value:h,done:g}=u.next();return g?{value:h,done:g}:{value:l?[a(h[0]),a(h[1])]:a(h),done:g}},[Symbol.iterator](){return this}}}}function Xe(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function xl(){const e={get(i){return an(this,i)},get size(){return un(this)},has:fn,add:bs,set:_s,delete:ws,clear:Es,forEach:dn(!1,!1)},t={get(i){return an(this,i,!1,!0)},get size(){return un(this)},has:fn,add(i){return bs.call(this,i,!0)},set(i,o){return _s.call(this,i,o,!0)},delete:ws,clear:Es,forEach:dn(!1,!0)},n={get(i){return an(this,i,!0)},get size(){return un(this,!0)},has(i){return fn.call(this,i,!0)},add:Xe("add"),set:Xe("set"),delete:Xe("delete"),clear:Xe("clear"),forEach:dn(!0,!1)},r={get(i){return an(this,i,!0,!0)},get size(){return un(this,!0)},has(i){return fn.call(this,i,!0)},add:Xe("add"),set:Xe("set"),delete:Xe("delete"),clear:Xe("clear"),forEach:dn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=hn(i,!1,!1),n[i]=hn(i,!0,!1),t[i]=hn(i,!1,!0),r[i]=hn(i,!0,!0)}),[e,n,t,r]}const[Tl,Cl,Al,Rl]=xl();function Yr(e,t){const n=t?e?Rl:Al:e?Cl:Tl;return(r,s,i)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(z(n,s)&&s in r?n:r,s,i)}const Ol={get:Yr(!1,!1)},Ml={get:Yr(!1,!0)},Pl={get:Yr(!0,!1)};const Li=new WeakMap,Ni=new WeakMap,Fi=new WeakMap,Il=new WeakMap;function Ll(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Nl(e){return e.__v_skip||!Object.isExtensible(e)?0:Ll(el(e))}function Bn(e){return vt(e)?e:Xr(e,!1,wl,Ol,Li)}function Fl(e){return Xr(e,!1,Sl,Ml,Ni)}function Wn(e){return Xr(e,!0,El,Pl,Fi)}function Xr(e,t,n,r,s){if(!ne(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=s.get(e);if(i)return i;const o=Nl(e);if(o===0)return e;const l=new Proxy(e,o===2?r:n);return s.set(e,l),l}function pt(e){return vt(e)?pt(e.__v_raw):!!(e&&e.__v_isReactive)}function vt(e){return!!(e&&e.__v_isReadonly)}function Pe(e){return!!(e&&e.__v_isShallow)}function Jr(e){return e?!!e.__v_raw:!1}function J(e){const t=e&&e.__v_raw;return t?J(t):e}function xn(e){return!z(e,"__v_skip")&&Object.isExtensible(e)&&mi(e,"__v_skip",!0),e}const me=e=>ne(e)?Bn(e):e,zr=e=>ne(e)?Wn(e):e;function ae(e){return e?e.__v_isRef===!0:!1}function oe(e){return Hi(e,!1)}function Qr(e){return Hi(e,!0)}function Hi(e,t){return ae(e)?e:new Hl(e,t)}class Hl{constructor(t,n){this.dep=new Vn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:J(t),this._value=n?t:me(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Pe(t)||vt(t);t=r?t:J(t),tt(t,n)&&(this._rawValue=t,this._value=r?t:me(t),this.dep.trigger())}}function $i(e){return ae(e)?e.value:e}const $l={get:(e,t,n)=>t==="__v_raw"?e:$i(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return ae(s)&&!ae(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Di(e){return pt(e)?e:new Proxy(e,$l)}class Dl{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Vn,{get:r,set:s}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=s}get value(){return this._value=this._get()}set value(t){this._set(t)}}function jl(e){return new Dl(e)}class Vl{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return gl(J(this._object),this._key)}}class Ul{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function kl(e,t,n){return ae(e)?e:K(e)?new Ul(e):ne(e)&&arguments.length>1?Bl(e,t,n):oe(e)}function Bl(e,t,n){const r=e[t];return ae(r)?r:new Vl(e,t,n)}class Wl{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Vn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Kt-1,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Z!==this)return xi(this),!0}get value(){const t=this.dep.track();return Ai(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Kl(e,t,n=!1){let r,s;return K(e)?r=e:(r=e.get,s=e.set),new Wl(r,s,n)}const pn={},On=new WeakMap;let ut;function ql(e,t=!1,n=ut){if(n){let r=On.get(n);r||On.set(n,r=[]),r.push(e)}}function Gl(e,t,n=ee){const{immediate:r,deep:s,once:i,scheduler:o,augmentJob:l,call:c}=n,u=m=>s?m:Pe(m)||s===!1||s===0?qe(m,1):qe(m);let a,h,g,b,_=!1,E=!1;if(ae(e)?(h=()=>e.value,_=Pe(e)):pt(e)?(h=()=>u(e),_=!0):W(e)?(E=!0,_=e.some(m=>pt(m)||Pe(m)),h=()=>e.map(m=>{if(ae(m))return m.value;if(pt(m))return u(m);if(K(m))return c?c(m,2):m()})):K(e)?t?h=c?()=>c(e,2):e:h=()=>{if(g){it();try{g()}finally{ot()}}const m=ut;ut=a;try{return c?c(e,3,[b]):e(b)}finally{ut=m}}:h=Ue,t&&s){const m=h,M=s===!0?1/0:s;h=()=>qe(m(),M)}const U=wi(),L=()=>{a.stop(),U&&Vr(U.effects,a)};if(i&&t){const m=t;t=(...M)=>{m(...M),L()}}let k=E?new Array(e.length).fill(pn):pn;const p=m=>{if(!(!(a.flags&1)||!a.dirty&&!m))if(t){const M=a.run();if(s||_||(E?M.some((F,$)=>tt(F,k[$])):tt(M,k))){g&&g();const F=ut;ut=a;try{const $=[M,k===pn?void 0:E&&k[0]===pn?[]:k,b];c?c(t,3,$):t(...$),k=M}finally{ut=F}}}else a.run()};return l&&l(p),a=new Ei(h),a.scheduler=o?()=>o(p,!1):p,b=m=>ql(m,!1,a),g=a.onStop=()=>{const m=On.get(a);if(m){if(c)c(m,4);else for(const M of m)M();On.delete(a)}},t?r?p(!0):k=a.run():o?o(p.bind(null,!0),!0):a.run(),L.pause=a.pause.bind(a),L.resume=a.resume.bind(a),L.stop=L,L}function qe(e,t=1/0,n){if(t<=0||!ne(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,ae(e))qe(e.value,t,n);else if(W(e))for(let r=0;r{qe(r,t,n)});else if(gi(e)){for(const r in e)qe(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&qe(e[r],t,n)}return e}/** +* @vue/runtime-core v3.5.8 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function tn(e,t,n,r){try{return r?e(...r):e()}catch(s){nn(s,t,n)}}function Fe(e,t,n,r){if(K(e)){const s=tn(e,t,n,r);return s&&hi(s)&&s.catch(i=>{nn(i,t,n)}),s}if(W(e)){const s=[];for(let i=0;i>>1,s=we[r],i=Xt(s);i=Xt(n)?we.push(e):we.splice(Xl(t),0,e),e.flags|=1,Vi()}}function Vi(){!Yt&&!Cr&&(Cr=!0,Zr=ji.then(Ui))}function Jl(e){W(e)?Rt.push(...e):Qe&&e.id===-1?Qe.splice(Et+1,0,e):e.flags&1||(Rt.push(e),e.flags|=1),Vi()}function Ss(e,t,n=Yt?je+1:0){for(;nXt(n)-Xt(r));if(Rt.length=0,Qe){Qe.push(...t);return}for(Qe=t,Et=0;Ete.id==null?e.flags&2?-1:1/0:e.id;function Ui(e){Cr=!1,Yt=!0;try{for(je=0;je{r._d&&$s(-1);const i=Pn(t);let o;try{o=e(...s)}finally{Pn(i),r._d&&$s(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function If(e,t){if(de===null)return e;const n=zn(de),r=e.dirs||(e.dirs=[]);for(let s=0;se.__isTeleport,Vt=e=>e&&(e.disabled||e.disabled===""),Ql=e=>e&&(e.defer||e.defer===""),xs=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Ts=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Ar=(e,t)=>{const n=e&&e.to;return se(n)?t?t(n):null:n},Zl={name:"Teleport",__isTeleport:!0,process(e,t,n,r,s,i,o,l,c,u){const{mc:a,pc:h,pbc:g,o:{insert:b,querySelector:_,createText:E,createComment:U}}=u,L=Vt(t.props);let{shapeFlag:k,children:p,dynamicChildren:m}=t;if(e==null){const M=t.el=E(""),F=t.anchor=E("");b(M,n,r),b(F,n,r);const $=(R,v)=>{k&16&&(s&&s.isCE&&(s.ce._teleportTarget=R),a(p,R,v,s,i,o,l,c))},D=()=>{const R=t.target=Ar(t.props,_),v=Ki(R,t,E,b);R&&(o!=="svg"&&xs(R)?o="svg":o!=="mathml"&&Ts(R)&&(o="mathml"),L||($(R,v),Tn(t)))};L&&($(n,F),Tn(t)),Ql(t.props)?Se(D,i):D()}else{t.el=e.el,t.targetStart=e.targetStart;const M=t.anchor=e.anchor,F=t.target=e.target,$=t.targetAnchor=e.targetAnchor,D=Vt(e.props),R=D?n:F,v=D?M:$;if(o==="svg"||xs(F)?o="svg":(o==="mathml"||Ts(F))&&(o="mathml"),m?(g(e.dynamicChildren,m,R,s,i,o,l),os(e,t,!0)):c||h(e,t,R,v,s,i,o,l,!1),L)D?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):gn(t,n,M,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const N=t.target=Ar(t.props,_);N&&gn(t,N,null,u,0)}else D&&gn(t,F,$,u,1);Tn(t)}},remove(e,t,n,{um:r,o:{remove:s}},i){const{shapeFlag:o,children:l,anchor:c,targetStart:u,targetAnchor:a,target:h,props:g}=e;if(h&&(s(u),s(a)),i&&s(c),o&16){const b=i||!Vt(g);for(let _=0;_{e.isMounted=!0}),Qi(()=>{e.isUnmounting=!0}),e}const Re=[Function,Array],qi={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Re,onEnter:Re,onAfterEnter:Re,onEnterCancelled:Re,onBeforeLeave:Re,onLeave:Re,onAfterLeave:Re,onLeaveCancelled:Re,onBeforeAppear:Re,onAppear:Re,onAfterAppear:Re,onAppearCancelled:Re},Gi=e=>{const t=e.subTree;return t.component?Gi(t.component):t},nc={name:"BaseTransition",props:qi,setup(e,{slots:t}){const n=Jn(),r=tc();return()=>{const s=t.default&&Ji(t.default(),!0);if(!s||!s.length)return;const i=Yi(s),o=J(e),{mode:l}=o;if(r.isLeaving)return ir(i);const c=Cs(i);if(!c)return ir(i);let u=Rr(c,o,r,n,g=>u=g);c.type!==ye&&Jt(c,u);const a=n.subTree,h=a&&Cs(a);if(h&&h.type!==ye&&!dt(c,h)&&Gi(n).type!==ye){const g=Rr(h,o,r,n);if(Jt(h,g),l==="out-in"&&c.type!==ye)return r.isLeaving=!0,g.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete g.afterLeave},ir(i);l==="in-out"&&c.type!==ye&&(g.delayLeave=(b,_,E)=>{const U=Xi(r,h);U[String(h.key)]=h,b[Ze]=()=>{_(),b[Ze]=void 0,delete u.delayedLeave},u.delayedLeave=E})}return i}}};function Yi(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==ye){t=n;break}}return t}const rc=nc;function Xi(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Rr(e,t,n,r,s){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:c,onEnter:u,onAfterEnter:a,onEnterCancelled:h,onBeforeLeave:g,onLeave:b,onAfterLeave:_,onLeaveCancelled:E,onBeforeAppear:U,onAppear:L,onAfterAppear:k,onAppearCancelled:p}=t,m=String(e.key),M=Xi(n,e),F=(R,v)=>{R&&Fe(R,r,9,v)},$=(R,v)=>{const N=v[1];F(R,v),W(R)?R.every(C=>C.length<=1)&&N():R.length<=1&&N()},D={mode:o,persisted:l,beforeEnter(R){let v=c;if(!n.isMounted)if(i)v=U||c;else return;R[Ze]&&R[Ze](!0);const N=M[m];N&&dt(e,N)&&N.el[Ze]&&N.el[Ze](),F(v,[R])},enter(R){let v=u,N=a,C=h;if(!n.isMounted)if(i)v=L||u,N=k||a,C=p||h;else return;let G=!1;const re=R[mn]=ce=>{G||(G=!0,ce?F(C,[R]):F(N,[R]),D.delayedLeave&&D.delayedLeave(),R[mn]=void 0)};v?$(v,[R,re]):re()},leave(R,v){const N=String(e.key);if(R[mn]&&R[mn](!0),n.isUnmounting)return v();F(g,[R]);let C=!1;const G=R[Ze]=re=>{C||(C=!0,v(),re?F(E,[R]):F(_,[R]),R[Ze]=void 0,M[N]===e&&delete M[N])};M[N]=e,b?$(b,[R,G]):G()},clone(R){const v=Rr(R,t,n,r,s);return s&&s(v),v}};return D}function ir(e){if(rn(e))return e=nt(e),e.children=null,e}function Cs(e){if(!rn(e))return Wi(e.type)&&e.children?Yi(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&K(n.default))return n.default()}}function Jt(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Jt(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 Ji(e,t=!1,n){let r=[],s=0;for(let i=0;i1)for(let i=0;iIn(_,t&&(W(t)?t[E]:t),n,r,s));return}if(gt(r)&&!s)return;const i=r.shapeFlag&4?zn(r.component):r.el,o=s?null:i,{i:l,r:c}=e,u=t&&t.r,a=l.refs===ee?l.refs={}:l.refs,h=l.setupState,g=J(h),b=h===ee?()=>!1:_=>z(g,_);if(u!=null&&u!==c&&(se(u)?(a[u]=null,b(u)&&(h[u]=null)):ae(u)&&(u.value=null)),K(c))tn(c,l,12,[o,a]);else{const _=se(c),E=ae(c);if(_||E){const U=()=>{if(e.f){const L=_?b(c)?h[c]:a[c]:c.value;s?W(L)&&Vr(L,i):W(L)?L.includes(i)||L.push(i):_?(a[c]=[i],b(c)&&(h[c]=a[c])):(c.value=[i],e.k&&(a[e.k]=c.value))}else _?(a[c]=o,b(c)&&(h[c]=o)):E&&(c.value=o,e.k&&(a[e.k]=o))};o?(U.id=-1,Se(U,n)):U()}}}let As=!1;const wt=()=>{As||(console.error("Hydration completed but contains mismatches."),As=!0)},sc=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",ic=e=>e.namespaceURI.includes("MathML"),yn=e=>{if(e.nodeType===1){if(sc(e))return"svg";if(ic(e))return"mathml"}},xt=e=>e.nodeType===8;function oc(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:i,parentNode:o,remove:l,insert:c,createComment:u}}=e,a=(p,m)=>{if(!m.hasChildNodes()){n(null,p,m),Mn(),m._vnode=p;return}h(m.firstChild,p,null,null,null),Mn(),m._vnode=p},h=(p,m,M,F,$,D=!1)=>{D=D||!!m.dynamicChildren;const R=xt(p)&&p.data==="[",v=()=>E(p,m,M,F,$,R),{type:N,ref:C,shapeFlag:G,patchFlag:re}=m;let ce=p.nodeType;m.el=p,re===-2&&(D=!1,m.dynamicChildren=null);let V=null;switch(N){case mt:ce!==3?m.children===""?(c(m.el=s(""),o(p),p),V=p):V=v():(p.data!==m.children&&(wt(),p.data=m.children),V=i(p));break;case ye:k(p)?(V=i(p),L(m.el=p.content.firstChild,p,M)):ce!==8||R?V=v():V=i(p);break;case kt:if(R&&(p=i(p),ce=p.nodeType),ce===1||ce===3){V=p;const Y=!m.children.length;for(let j=0;j{D=D||!!m.dynamicChildren;const{type:R,props:v,patchFlag:N,shapeFlag:C,dirs:G,transition:re}=m,ce=R==="input"||R==="option";if(ce||N!==-1){G&&Ve(m,null,M,"created");let V=!1;if(k(p)){V=go(F,re)&&M&&M.vnode.props&&M.vnode.props.appear;const j=p.content.firstChild;V&&re.beforeEnter(j),L(j,p,M),m.el=p=j}if(C&16&&!(v&&(v.innerHTML||v.textContent))){let j=b(p.firstChild,m,p,M,F,$,D);for(;j;){vn(p,1)||wt();const he=j;j=j.nextSibling,l(he)}}else if(C&8){let j=m.children;j[0]===` +`&&(p.tagName==="PRE"||p.tagName==="TEXTAREA")&&(j=j.slice(1)),p.textContent!==j&&(vn(p,0)||wt(),p.textContent=m.children)}if(v){if(ce||!D||N&48){const j=p.tagName.includes("-");for(const he in v)(ce&&(he.endsWith("value")||he==="indeterminate")||en(he)&&!At(he)||he[0]==="."||j)&&r(p,he,null,v[he],void 0,M)}else if(v.onClick)r(p,"onClick",null,v.onClick,void 0,M);else if(N&4&&pt(v.style))for(const j in v.style)v.style[j]}let Y;(Y=v&&v.onVnodeBeforeMount)&&Oe(Y,M,m),G&&Ve(m,null,M,"beforeMount"),((Y=v&&v.onVnodeMounted)||G||V)&&_o(()=>{Y&&Oe(Y,M,m),V&&re.enter(p),G&&Ve(m,null,M,"mounted")},F)}return p.nextSibling},b=(p,m,M,F,$,D,R)=>{R=R||!!m.dynamicChildren;const v=m.children,N=v.length;for(let C=0;C{const{slotScopeIds:R}=m;R&&($=$?$.concat(R):R);const v=o(p),N=b(i(p),m,v,M,F,$,D);return N&&xt(N)&&N.data==="]"?i(m.anchor=N):(wt(),c(m.anchor=u("]"),v,N),N)},E=(p,m,M,F,$,D)=>{if(vn(p.parentElement,1)||wt(),m.el=null,D){const N=U(p);for(;;){const C=i(p);if(C&&C!==N)l(C);else break}}const R=i(p),v=o(p);return l(p),n(null,m,v,R,M,F,yn(v),$),R},U=(p,m="[",M="]")=>{let F=0;for(;p;)if(p=i(p),p&&xt(p)&&(p.data===m&&F++,p.data===M)){if(F===0)return i(p);F--}return p},L=(p,m,M)=>{const F=m.parentNode;F&&F.replaceChild(p,m);let $=M;for(;$;)$.vnode.el===m&&($.vnode.el=$.subTree.el=p),$=$.parent},k=p=>p.nodeType===1&&p.tagName==="TEMPLATE";return[a,h]}const Rs="data-allow-mismatch",lc={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function vn(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Rs);)e=e.parentElement;const n=e&&e.getAttribute(Rs);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:n.split(",").includes(lc[t])}}function cc(e,t){if(xt(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(xt(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const gt=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Nf(e){K(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,hydrate:i,timeout:o,suspensible:l=!0,onError:c}=e;let u=null,a,h=0;const g=()=>(h++,u=null,b()),b=()=>{let _;return u||(_=u=t().catch(E=>{if(E=E instanceof Error?E:new Error(String(E)),c)return new Promise((U,L)=>{c(E,()=>U(g()),()=>L(E),h+1)});throw E}).then(E=>_!==u&&u?u:(E&&(E.__esModule||E[Symbol.toStringTag]==="Module")&&(E=E.default),a=E,E)))};return ts({name:"AsyncComponentWrapper",__asyncLoader:b,__asyncHydrate(_,E,U){const L=i?()=>{const k=i(U,p=>cc(_,p));k&&(E.bum||(E.bum=[])).push(k)}:U;a?L():b().then(()=>!E.isUnmounted&&L())},get __asyncResolved(){return a},setup(){const _=ue;if(ns(_),a)return()=>or(a,_);const E=p=>{u=null,nn(p,_,13,!r)};if(l&&_.suspense||on)return b().then(p=>()=>or(p,_)).catch(p=>(E(p),()=>r?le(r,{error:p}):null));const U=oe(!1),L=oe(),k=oe(!!s);return s&&setTimeout(()=>{k.value=!1},s),o!=null&&setTimeout(()=>{if(!U.value&&!L.value){const p=new Error(`Async component timed out after ${o}ms.`);E(p),L.value=p}},o),b().then(()=>{U.value=!0,_.parent&&rn(_.parent.vnode)&&_.parent.update()}).catch(p=>{E(p),L.value=p}),()=>{if(U.value&&a)return or(a,_);if(L.value&&r)return le(r,{error:L.value});if(n&&!k.value)return le(n)}}})}function or(e,t){const{ref:n,props:r,children:s,ce:i}=t.vnode,o=le(e,r,s);return o.ref=n,o.ce=i,delete t.vnode.ce,o}const rn=e=>e.type.__isKeepAlive;function ac(e,t){zi(e,"a",t)}function fc(e,t){zi(e,"da",t)}function zi(e,t,n=ue){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(qn(t,r,n),n){let s=n.parent;for(;s&&s.parent;)rn(s.parent.vnode)&&uc(r,t,n,s),s=s.parent}}function uc(e,t,n,r){const s=qn(t,e,r,!0);Gn(()=>{Vr(r[t],s)},n)}function qn(e,t,n=ue,r=!1){if(n){const s=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{it();const l=sn(n),c=Fe(t,n,e,o);return l(),ot(),c});return r?s.unshift(i):s.push(i),i}}const Ye=e=>(t,n=ue)=>{(!on||e==="sp")&&qn(e,(...r)=>t(...r),n)},dc=Ye("bm"),It=Ye("m"),hc=Ye("bu"),pc=Ye("u"),Qi=Ye("bum"),Gn=Ye("um"),gc=Ye("sp"),mc=Ye("rtg"),yc=Ye("rtc");function vc(e,t=ue){qn("ec",e,t)}const rs="components";function Ff(e,t){return eo(rs,e,!0,t)||e}const Zi=Symbol.for("v-ndc");function Hf(e){return se(e)?eo(rs,e,!1)||e:e||Zi}function eo(e,t,n=!0,r=!1){const s=de||ue;if(s){const i=s.type;if(e===rs){const l=ra(i,!1);if(l&&(l===t||l===Ne(t)||l===jn(Ne(t))))return i}const o=Os(s[e]||i[e],t)||Os(s.appContext[e],t);return!o&&r?i:o}}function Os(e,t){return e&&(e[t]||e[Ne(t)]||e[jn(Ne(t))])}function $f(e,t,n,r){let s;const i=n,o=W(e);if(o||se(e)){const l=o&&pt(e);let c=!1;l&&(c=!Pe(e),e=Un(e)),s=new Array(e.length);for(let u=0,a=e.length;ut(l,c,void 0,i));else{const l=Object.keys(e);s=new Array(l.length);for(let c=0,u=l.length;cNn(t)?!(t.type===ye||t.type===Ee&&!to(t.children)):!0)?e:null}function jf(e,t){const n={};for(const r in e)n[/[A-Z]/.test(r)?`on:${r}`:En(r)]=e[r];return n}const Or=e=>e?To(e)?zn(e):Or(e.parent):null,Ut=fe(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=>Or(e.parent),$root:e=>Or(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>ss(e),$forceUpdate:e=>e.f||(e.f=()=>{es(e.update)}),$nextTick:e=>e.n||(e.n=Kn.bind(e.proxy)),$watch:e=>Vc.bind(e)}),lr=(e,t)=>e!==ee&&!e.__isScriptSetup&&z(e,t),bc={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:i,accessCache:o,type:l,appContext:c}=e;let u;if(t[0]!=="$"){const b=o[t];if(b!==void 0)switch(b){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return i[t]}else{if(lr(r,t))return o[t]=1,r[t];if(s!==ee&&z(s,t))return o[t]=2,s[t];if((u=e.propsOptions[0])&&z(u,t))return o[t]=3,i[t];if(n!==ee&&z(n,t))return o[t]=4,n[t];Mr&&(o[t]=0)}}const a=Ut[t];let h,g;if(a)return t==="$attrs"&&ve(e.attrs,"get",""),a(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==ee&&z(n,t))return o[t]=4,n[t];if(g=c.config.globalProperties,z(g,t))return g[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:i}=e;return lr(s,t)?(s[t]=n,!0):r!==ee&&z(r,t)?(r[t]=n,!0):z(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:i}},o){let l;return!!n[o]||e!==ee&&z(e,o)||lr(t,o)||(l=i[0])&&z(l,o)||z(r,o)||z(Ut,o)||z(s.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:z(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Vf(){return _c().slots}function _c(){const e=Jn();return e.setupContext||(e.setupContext=Ao(e))}function Ms(e){return W(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Mr=!0;function wc(e){const t=ss(e),n=e.proxy,r=e.ctx;Mr=!1,t.beforeCreate&&Ps(t.beforeCreate,e,"bc");const{data:s,computed:i,methods:o,watch:l,provide:c,inject:u,created:a,beforeMount:h,mounted:g,beforeUpdate:b,updated:_,activated:E,deactivated:U,beforeDestroy:L,beforeUnmount:k,destroyed:p,unmounted:m,render:M,renderTracked:F,renderTriggered:$,errorCaptured:D,serverPrefetch:R,expose:v,inheritAttrs:N,components:C,directives:G,filters:re}=t;if(u&&Ec(u,r,null),o)for(const Y in o){const j=o[Y];K(j)&&(r[Y]=j.bind(n))}if(s){const Y=s.call(n,n);ne(Y)&&(e.data=Bn(Y))}if(Mr=!0,i)for(const Y in i){const j=i[Y],he=K(j)?j.bind(n,n):K(j.get)?j.get.bind(n,n):Ue,ln=!K(j)&&K(j.set)?j.set.bind(n):Ue,lt=ie({get:he,set:ln});Object.defineProperty(r,Y,{enumerable:!0,configurable:!0,get:()=>lt.value,set:$e=>lt.value=$e})}if(l)for(const Y in l)no(l[Y],r,n,Y);if(c){const Y=K(c)?c.call(n):c;Reflect.ownKeys(Y).forEach(j=>{Rc(j,Y[j])})}a&&Ps(a,e,"c");function V(Y,j){W(j)?j.forEach(he=>Y(he.bind(n))):j&&Y(j.bind(n))}if(V(dc,h),V(It,g),V(hc,b),V(pc,_),V(ac,E),V(fc,U),V(vc,D),V(yc,F),V(mc,$),V(Qi,k),V(Gn,m),V(gc,R),W(v))if(v.length){const Y=e.exposed||(e.exposed={});v.forEach(j=>{Object.defineProperty(Y,j,{get:()=>n[j],set:he=>n[j]=he})})}else e.exposed||(e.exposed={});M&&e.render===Ue&&(e.render=M),N!=null&&(e.inheritAttrs=N),C&&(e.components=C),G&&(e.directives=G),R&&ns(e)}function Ec(e,t,n=Ue){W(e)&&(e=Pr(e));for(const r in e){const s=e[r];let i;ne(s)?"default"in s?i=Mt(s.from||r,s.default,!0):i=Mt(s.from||r):i=Mt(s),ae(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[r]=i}}function Ps(e,t,n){Fe(W(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function no(e,t,n,r){let s=r.includes(".")?yo(n,r):()=>n[r];if(se(e)){const i=t[e];K(i)&&ke(s,i)}else if(K(e))ke(s,e.bind(n));else if(ne(e))if(W(e))e.forEach(i=>no(i,t,n,r));else{const i=K(e.handler)?e.handler.bind(n):t[e.handler];K(i)&&ke(s,i,e)}}function ss(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!s.length&&!n&&!r?c=t:(c={},s.length&&s.forEach(u=>Ln(c,u,o,!0)),Ln(c,t,o)),ne(t)&&i.set(t,c),c}function Ln(e,t,n,r=!1){const{mixins:s,extends:i}=t;i&&Ln(e,i,n,!0),s&&s.forEach(o=>Ln(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const l=Sc[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const Sc={data:Is,props:Ls,emits:Ls,methods:Dt,computed:Dt,beforeCreate:be,created:be,beforeMount:be,mounted:be,beforeUpdate:be,updated:be,beforeDestroy:be,beforeUnmount:be,destroyed:be,unmounted:be,activated:be,deactivated:be,errorCaptured:be,serverPrefetch:be,components:Dt,directives:Dt,watch:Tc,provide:Is,inject:xc};function Is(e,t){return t?e?function(){return fe(K(e)?e.call(this,this):e,K(t)?t.call(this,this):t)}:t:e}function xc(e,t){return Dt(Pr(e),Pr(t))}function Pr(e){if(W(e)){const t={};for(let n=0;n1)return n&&K(t)?t.call(r&&r.proxy):t}}const so={},io=()=>Object.create(so),oo=e=>Object.getPrototypeOf(e)===so;function Oc(e,t,n,r=!1){const s={},i=io();e.propsDefaults=Object.create(null),lo(e,t,s,i);for(const o in e.propsOptions[0])o in s||(s[o]=void 0);n?e.props=r?s:Fl(s):e.type.props?e.props=s:e.props=i,e.attrs=i}function Mc(e,t,n,r){const{props:s,attrs:i,vnode:{patchFlag:o}}=e,l=J(s),[c]=e.propsOptions;let u=!1;if((r||o>0)&&!(o&16)){if(o&8){const a=e.vnode.dynamicProps;for(let h=0;h{c=!0;const[g,b]=co(h,t,!0);fe(o,g),b&&l.push(...b)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!i&&!c)return ne(e)&&r.set(e,Tt),Tt;if(W(i))for(let a=0;ae[0]==="_"||e==="$stable",is=e=>W(e)?e.map(Me):[Me(e)],Ic=(e,t,n)=>{if(t._n)return t;const r=zl((...s)=>is(t(...s)),n);return r._c=!1,r},fo=(e,t,n)=>{const r=e._ctx;for(const s in e){if(ao(s))continue;const i=e[s];if(K(i))t[s]=Ic(s,i,r);else if(i!=null){const o=is(i);t[s]=()=>o}}},uo=(e,t)=>{const n=is(t);e.slots.default=()=>n},ho=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},Lc=(e,t,n)=>{const r=e.slots=io();if(e.vnode.shapeFlag&32){const s=t._;s?(ho(r,t,n),n&&mi(r,"_",s,!0)):fo(t,r)}else t&&uo(e,t)},Nc=(e,t,n)=>{const{vnode:r,slots:s}=e;let i=!0,o=ee;if(r.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:ho(s,t,n):(i=!t.$stable,fo(t,s)),o=t}else t&&(uo(e,t),o={default:1});if(i)for(const l in s)!ao(l)&&o[l]==null&&delete s[l]},Se=_o;function Fc(e){return po(e)}function Hc(e){return po(e,oc)}function po(e,t){const n=yi();n.__VUE__=!0;const{insert:r,remove:s,patchProp:i,createElement:o,createText:l,createComment:c,setText:u,setElementText:a,parentNode:h,nextSibling:g,setScopeId:b=Ue,insertStaticContent:_}=e,E=(f,d,y,x=null,w=null,S=null,P=void 0,O=null,A=!!d.dynamicChildren)=>{if(f===d)return;f&&!dt(f,d)&&(x=cn(f),$e(f,w,S,!0),f=null),d.patchFlag===-2&&(A=!1,d.dynamicChildren=null);const{type:T,ref:B,shapeFlag:I}=d;switch(T){case mt:U(f,d,y,x);break;case ye:L(f,d,y,x);break;case kt:f==null&&k(d,y,x,P);break;case Ee:C(f,d,y,x,w,S,P,O,A);break;default:I&1?M(f,d,y,x,w,S,P,O,A):I&6?G(f,d,y,x,w,S,P,O,A):(I&64||I&128)&&T.process(f,d,y,x,w,S,P,O,A,bt)}B!=null&&w&&In(B,f&&f.ref,S,d||f,!d)},U=(f,d,y,x)=>{if(f==null)r(d.el=l(d.children),y,x);else{const w=d.el=f.el;d.children!==f.children&&u(w,d.children)}},L=(f,d,y,x)=>{f==null?r(d.el=c(d.children||""),y,x):d.el=f.el},k=(f,d,y,x)=>{[f.el,f.anchor]=_(f.children,d,y,x,f.el,f.anchor)},p=({el:f,anchor:d},y,x)=>{let w;for(;f&&f!==d;)w=g(f),r(f,y,x),f=w;r(d,y,x)},m=({el:f,anchor:d})=>{let y;for(;f&&f!==d;)y=g(f),s(f),f=y;s(d)},M=(f,d,y,x,w,S,P,O,A)=>{d.type==="svg"?P="svg":d.type==="math"&&(P="mathml"),f==null?F(d,y,x,w,S,P,O,A):R(f,d,w,S,P,O,A)},F=(f,d,y,x,w,S,P,O)=>{let A,T;const{props:B,shapeFlag:I,transition:H,dirs:q}=f;if(A=f.el=o(f.type,S,B&&B.is,B),I&8?a(A,f.children):I&16&&D(f.children,A,null,x,w,cr(f,S),P,O),q&&Ve(f,null,x,"created"),$(A,f,f.scopeId,P,x),B){for(const te in B)te!=="value"&&!At(te)&&i(A,te,null,B[te],S,x);"value"in B&&i(A,"value",null,B.value,S),(T=B.onVnodeBeforeMount)&&Oe(T,x,f)}q&&Ve(f,null,x,"beforeMount");const X=go(w,H);X&&H.beforeEnter(A),r(A,d,y),((T=B&&B.onVnodeMounted)||X||q)&&Se(()=>{T&&Oe(T,x,f),X&&H.enter(A),q&&Ve(f,null,x,"mounted")},w)},$=(f,d,y,x,w)=>{if(y&&b(f,y),x)for(let S=0;S{for(let T=A;T{const O=d.el=f.el;let{patchFlag:A,dynamicChildren:T,dirs:B}=d;A|=f.patchFlag&16;const I=f.props||ee,H=d.props||ee;let q;if(y&&ct(y,!1),(q=H.onVnodeBeforeUpdate)&&Oe(q,y,d,f),B&&Ve(d,f,y,"beforeUpdate"),y&&ct(y,!0),(I.innerHTML&&H.innerHTML==null||I.textContent&&H.textContent==null)&&a(O,""),T?v(f.dynamicChildren,T,O,y,x,cr(d,w),S):P||j(f,d,O,null,y,x,cr(d,w),S,!1),A>0){if(A&16)N(O,I,H,y,w);else if(A&2&&I.class!==H.class&&i(O,"class",null,H.class,w),A&4&&i(O,"style",I.style,H.style,w),A&8){const X=d.dynamicProps;for(let te=0;te{q&&Oe(q,y,d,f),B&&Ve(d,f,y,"updated")},x)},v=(f,d,y,x,w,S,P)=>{for(let O=0;O{if(d!==y){if(d!==ee)for(const S in d)!At(S)&&!(S in y)&&i(f,S,d[S],null,w,x);for(const S in y){if(At(S))continue;const P=y[S],O=d[S];P!==O&&S!=="value"&&i(f,S,O,P,w,x)}"value"in y&&i(f,"value",d.value,y.value,w)}},C=(f,d,y,x,w,S,P,O,A)=>{const T=d.el=f?f.el:l(""),B=d.anchor=f?f.anchor:l("");let{patchFlag:I,dynamicChildren:H,slotScopeIds:q}=d;q&&(O=O?O.concat(q):q),f==null?(r(T,y,x),r(B,y,x),D(d.children||[],y,B,w,S,P,O,A)):I>0&&I&64&&H&&f.dynamicChildren?(v(f.dynamicChildren,H,y,w,S,P,O),(d.key!=null||w&&d===w.subTree)&&os(f,d,!0)):j(f,d,y,B,w,S,P,O,A)},G=(f,d,y,x,w,S,P,O,A)=>{d.slotScopeIds=O,f==null?d.shapeFlag&512?w.ctx.activate(d,y,x,P,A):re(d,y,x,w,S,P,A):ce(f,d,A)},re=(f,d,y,x,w,S,P)=>{const O=f.component=Zc(f,x,w);if(rn(f)&&(O.ctx.renderer=bt),ea(O,!1,P),O.asyncDep){if(w&&w.registerDep(O,V,P),!f.el){const A=O.subTree=le(ye);L(null,A,d,y)}}else V(O,f,d,y,w,S,P)},ce=(f,d,y)=>{const x=d.component=f.component;if(Kc(f,d,y))if(x.asyncDep&&!x.asyncResolved){Y(x,d,y);return}else x.next=d,x.update();else d.el=f.el,x.vnode=d},V=(f,d,y,x,w,S,P)=>{const O=()=>{if(f.isMounted){let{next:I,bu:H,u:q,parent:X,vnode:te}=f;{const Te=mo(f);if(Te){I&&(I.el=te.el,Y(f,I,P)),Te.asyncDep.then(()=>{f.isUnmounted||O()});return}}let Q=I,xe;ct(f,!1),I?(I.el=te.el,Y(f,I,P)):I=te,H&&Sn(H),(xe=I.props&&I.props.onVnodeBeforeUpdate)&&Oe(xe,X,I,te),ct(f,!0);const pe=ar(f),Ie=f.subTree;f.subTree=pe,E(Ie,pe,h(Ie.el),cn(Ie),f,w,S),I.el=pe.el,Q===null&&qc(f,pe.el),q&&Se(q,w),(xe=I.props&&I.props.onVnodeUpdated)&&Se(()=>Oe(xe,X,I,te),w)}else{let I;const{el:H,props:q}=d,{bm:X,m:te,parent:Q,root:xe,type:pe}=f,Ie=gt(d);if(ct(f,!1),X&&Sn(X),!Ie&&(I=q&&q.onVnodeBeforeMount)&&Oe(I,Q,d),ct(f,!0),H&&er){const Te=()=>{f.subTree=ar(f),er(H,f.subTree,f,w,null)};Ie&&pe.__asyncHydrate?pe.__asyncHydrate(H,f,Te):Te()}else{xe.ce&&xe.ce._injectChildStyle(pe);const Te=f.subTree=ar(f);E(null,Te,y,x,f,w,S),d.el=Te.el}if(te&&Se(te,w),!Ie&&(I=q&&q.onVnodeMounted)){const Te=d;Se(()=>Oe(I,Q,Te),w)}(d.shapeFlag&256||Q&>(Q.vnode)&&Q.vnode.shapeFlag&256)&&f.a&&Se(f.a,w),f.isMounted=!0,d=y=x=null}};f.scope.on();const A=f.effect=new Ei(O);f.scope.off();const T=f.update=A.run.bind(A),B=f.job=A.runIfDirty.bind(A);B.i=f,B.id=f.uid,A.scheduler=()=>es(B),ct(f,!0),T()},Y=(f,d,y)=>{d.component=f;const x=f.vnode.props;f.vnode=d,f.next=null,Mc(f,d.props,x,y),Nc(f,d.children,y),it(),Ss(f),ot()},j=(f,d,y,x,w,S,P,O,A=!1)=>{const T=f&&f.children,B=f?f.shapeFlag:0,I=d.children,{patchFlag:H,shapeFlag:q}=d;if(H>0){if(H&128){ln(T,I,y,x,w,S,P,O,A);return}else if(H&256){he(T,I,y,x,w,S,P,O,A);return}}q&8?(B&16&&Lt(T,w,S),I!==T&&a(y,I)):B&16?q&16?ln(T,I,y,x,w,S,P,O,A):Lt(T,w,S,!0):(B&8&&a(y,""),q&16&&D(I,y,x,w,S,P,O,A))},he=(f,d,y,x,w,S,P,O,A)=>{f=f||Tt,d=d||Tt;const T=f.length,B=d.length,I=Math.min(T,B);let H;for(H=0;HB?Lt(f,w,S,!0,!1,I):D(d,y,x,w,S,P,O,A,I)},ln=(f,d,y,x,w,S,P,O,A)=>{let T=0;const B=d.length;let I=f.length-1,H=B-1;for(;T<=I&&T<=H;){const q=f[T],X=d[T]=A?et(d[T]):Me(d[T]);if(dt(q,X))E(q,X,y,null,w,S,P,O,A);else break;T++}for(;T<=I&&T<=H;){const q=f[I],X=d[H]=A?et(d[H]):Me(d[H]);if(dt(q,X))E(q,X,y,null,w,S,P,O,A);else break;I--,H--}if(T>I){if(T<=H){const q=H+1,X=qH)for(;T<=I;)$e(f[T],w,S,!0),T++;else{const q=T,X=T,te=new Map;for(T=X;T<=H;T++){const Ce=d[T]=A?et(d[T]):Me(d[T]);Ce.key!=null&&te.set(Ce.key,T)}let Q,xe=0;const pe=H-X+1;let Ie=!1,Te=0;const Nt=new Array(pe);for(T=0;T=pe){$e(Ce,w,S,!0);continue}let De;if(Ce.key!=null)De=te.get(Ce.key);else for(Q=X;Q<=H;Q++)if(Nt[Q-X]===0&&dt(Ce,d[Q])){De=Q;break}De===void 0?$e(Ce,w,S,!0):(Nt[De-X]=T+1,De>=Te?Te=De:Ie=!0,E(Ce,d[De],y,null,w,S,P,O,A),xe++)}const ps=Ie?$c(Nt):Tt;for(Q=ps.length-1,T=pe-1;T>=0;T--){const Ce=X+T,De=d[Ce],gs=Ce+1{const{el:S,type:P,transition:O,children:A,shapeFlag:T}=f;if(T&6){lt(f.component.subTree,d,y,x);return}if(T&128){f.suspense.move(d,y,x);return}if(T&64){P.move(f,d,y,bt);return}if(P===Ee){r(S,d,y);for(let I=0;IO.enter(S),w);else{const{leave:I,delayLeave:H,afterLeave:q}=O,X=()=>r(S,d,y),te=()=>{I(S,()=>{X(),q&&q()})};H?H(S,X,te):te()}else r(S,d,y)},$e=(f,d,y,x=!1,w=!1)=>{const{type:S,props:P,ref:O,children:A,dynamicChildren:T,shapeFlag:B,patchFlag:I,dirs:H,cacheIndex:q}=f;if(I===-2&&(w=!1),O!=null&&In(O,null,y,f,!0),q!=null&&(d.renderCache[q]=void 0),B&256){d.ctx.deactivate(f);return}const X=B&1&&H,te=!gt(f);let Q;if(te&&(Q=P&&P.onVnodeBeforeUnmount)&&Oe(Q,d,f),B&6)zo(f.component,y,x);else{if(B&128){f.suspense.unmount(y,x);return}X&&Ve(f,null,d,"beforeUnmount"),B&64?f.type.remove(f,d,y,bt,x):T&&!T.hasOnce&&(S!==Ee||I>0&&I&64)?Lt(T,d,y,!1,!0):(S===Ee&&I&384||!w&&B&16)&&Lt(A,d,y),x&&ds(f)}(te&&(Q=P&&P.onVnodeUnmounted)||X)&&Se(()=>{Q&&Oe(Q,d,f),X&&Ve(f,null,d,"unmounted")},y)},ds=f=>{const{type:d,el:y,anchor:x,transition:w}=f;if(d===Ee){Jo(y,x);return}if(d===kt){m(f);return}const S=()=>{s(y),w&&!w.persisted&&w.afterLeave&&w.afterLeave()};if(f.shapeFlag&1&&w&&!w.persisted){const{leave:P,delayLeave:O}=w,A=()=>P(y,S);O?O(f.el,S,A):A()}else S()},Jo=(f,d)=>{let y;for(;f!==d;)y=g(f),s(f),f=y;s(d)},zo=(f,d,y)=>{const{bum:x,scope:w,job:S,subTree:P,um:O,m:A,a:T}=f;Fs(A),Fs(T),x&&Sn(x),w.stop(),S&&(S.flags|=8,$e(P,f,d,y)),O&&Se(O,d),Se(()=>{f.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&f.asyncDep&&!f.asyncResolved&&f.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},Lt=(f,d,y,x=!1,w=!1,S=0)=>{for(let P=S;P{if(f.shapeFlag&6)return cn(f.component.subTree);if(f.shapeFlag&128)return f.suspense.next();const d=g(f.anchor||f.el),y=d&&d[Bi];return y?g(y):d};let Qn=!1;const hs=(f,d,y)=>{f==null?d._vnode&&$e(d._vnode,null,null,!0):E(d._vnode||null,f,d,null,null,null,y),d._vnode=f,Qn||(Qn=!0,Ss(),Mn(),Qn=!1)},bt={p:E,um:$e,m:lt,r:ds,mt:re,mc:D,pc:j,pbc:v,n:cn,o:e};let Zn,er;return t&&([Zn,er]=t(bt)),{render:hs,hydrate:Zn,createApp:Ac(hs,Zn)}}function cr({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function ct({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function go(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function os(e,t,n=!1){const r=e.children,s=t.children;if(W(r)&&W(s))for(let i=0;i>1,e[n[l]]0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function mo(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:mo(t)}function Fs(e){if(e)for(let t=0;tMt(Dc);function ls(e,t){return Yn(e,null,t)}function Uf(e,t){return Yn(e,null,{flush:"post"})}function ke(e,t,n){return Yn(e,t,n)}function Yn(e,t,n=ee){const{immediate:r,deep:s,flush:i,once:o}=n,l=fe({},n);let c;if(on)if(i==="sync"){const g=jc();c=g.__watcherHandles||(g.__watcherHandles=[])}else if(!t||r)l.once=!0;else{const g=()=>{};return g.stop=Ue,g.resume=Ue,g.pause=Ue,g}const u=ue;l.call=(g,b,_)=>Fe(g,u,b,_);let a=!1;i==="post"?l.scheduler=g=>{Se(g,u&&u.suspense)}:i!=="sync"&&(a=!0,l.scheduler=(g,b)=>{b?g():es(g)}),l.augmentJob=g=>{t&&(g.flags|=4),a&&(g.flags|=2,u&&(g.id=u.uid,g.i=u))};const h=Gl(e,t,l);return c&&c.push(h),h}function Vc(e,t,n){const r=this.proxy,s=se(e)?e.includes(".")?yo(r,e):()=>r[e]:e.bind(r,r);let i;K(t)?i=t:(i=t.handler,n=t);const o=sn(this),l=Yn(s,i.bind(r),n);return o(),l}function yo(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;st==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ne(t)}Modifiers`]||e[`${st(t)}Modifiers`];function kc(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ee;let s=n;const i=t.startsWith("update:"),o=i&&Uc(r,t.slice(7));o&&(o.trim&&(s=n.map(a=>se(a)?a.trim():a)),o.number&&(s=n.map(Sr)));let l,c=r[l=En(t)]||r[l=En(Ne(t))];!c&&i&&(c=r[l=En(st(t))]),c&&Fe(c,e,6,s);const u=r[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Fe(u,e,6,s)}}function vo(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const i=e.emits;let o={},l=!1;if(!K(e)){const c=u=>{const a=vo(u,t,!0);a&&(l=!0,fe(o,a))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(ne(e)&&r.set(e,null),null):(W(i)?i.forEach(c=>o[c]=null):fe(o,i),ne(e)&&r.set(e,o),o)}function Xn(e,t){return!e||!en(t)?!1:(t=t.slice(2).replace(/Once$/,""),z(e,t[0].toLowerCase()+t.slice(1))||z(e,st(t))||z(e,t))}function ar(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[i],slots:o,attrs:l,emit:c,render:u,renderCache:a,props:h,data:g,setupState:b,ctx:_,inheritAttrs:E}=e,U=Pn(e);let L,k;try{if(n.shapeFlag&4){const m=s||r,M=m;L=Me(u.call(M,m,a,h,b,g,_)),k=l}else{const m=t;L=Me(m.length>1?m(h,{attrs:l,slots:o,emit:c}):m(h,null)),k=t.props?l:Bc(l)}}catch(m){Bt.length=0,nn(m,e,1),L=le(ye)}let p=L;if(k&&E!==!1){const m=Object.keys(k),{shapeFlag:M}=p;m.length&&M&7&&(i&&m.some(jr)&&(k=Wc(k,i)),p=nt(p,k,!1,!0))}return n.dirs&&(p=nt(p,null,!1,!0),p.dirs=p.dirs?p.dirs.concat(n.dirs):n.dirs),n.transition&&Jt(p,n.transition),L=p,Pn(U),L}const Bc=e=>{let t;for(const n in e)(n==="class"||n==="style"||en(n))&&((t||(t={}))[n]=e[n]);return t},Wc=(e,t)=>{const n={};for(const r in e)(!jr(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Kc(e,t,n){const{props:r,children:s,component:i}=e,{props:o,children:l,patchFlag:c}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?Hs(r,o,u):!!o;if(c&8){const a=t.dynamicProps;for(let h=0;he.__isSuspense;function _o(e,t){t&&t.pendingBranch?W(e)?t.effects.push(...e):t.effects.push(e):Jl(e)}const Ee=Symbol.for("v-fgt"),mt=Symbol.for("v-txt"),ye=Symbol.for("v-cmt"),kt=Symbol.for("v-stc"),Bt=[];let Ae=null;function Lr(e=!1){Bt.push(Ae=e?null:[])}function Gc(){Bt.pop(),Ae=Bt[Bt.length-1]||null}let zt=1;function $s(e){zt+=e,e<0&&Ae&&(Ae.hasOnce=!0)}function wo(e){return e.dynamicChildren=zt>0?Ae||Tt:null,Gc(),zt>0&&Ae&&Ae.push(e),e}function kf(e,t,n,r,s,i){return wo(So(e,t,n,r,s,i,!0))}function Nr(e,t,n,r,s){return wo(le(e,t,n,r,s,!0))}function Nn(e){return e?e.__v_isVNode===!0:!1}function dt(e,t){return e.type===t.type&&e.key===t.key}const Eo=({key:e})=>e??null,Cn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?se(e)||ae(e)||K(e)?{i:de,r:e,k:t,f:!!n}:e:null);function So(e,t=null,n=null,r=0,s=null,i=e===Ee?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Eo(t),ref:t&&Cn(t),scopeId:ki,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:de};return l?(cs(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=se(n)?8:16),zt>0&&!o&&Ae&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Ae.push(c),c}const le=Yc;function Yc(e,t=null,n=null,r=0,s=null,i=!1){if((!e||e===Zi)&&(e=ye),Nn(e)){const l=nt(e,t,!0);return n&&cs(l,n),zt>0&&!i&&Ae&&(l.shapeFlag&6?Ae[Ae.indexOf(e)]=l:Ae.push(l)),l.patchFlag=-2,l}if(sa(e)&&(e=e.__vccOpts),t){t=Xc(t);let{class:l,style:c}=t;l&&!se(l)&&(t.class=Br(l)),ne(c)&&(Jr(c)&&!W(c)&&(c=fe({},c)),t.style=kr(c))}const o=se(e)?1:bo(e)?128:Wi(e)?64:ne(e)?4:K(e)?2:0;return So(e,t,n,r,s,o,i,!0)}function Xc(e){return e?Jr(e)||oo(e)?fe({},e):e:null}function nt(e,t,n=!1,r=!1){const{props:s,ref:i,patchFlag:o,children:l,transition:c}=e,u=t?Jc(s||{},t):s,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&Eo(u),ref:t&&t.ref?n&&i?W(i)?i.concat(Cn(t)):[i,Cn(t)]:Cn(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ee?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&nt(e.ssContent),ssFallback:e.ssFallback&&nt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&Jt(a,c.clone(a)),a}function xo(e=" ",t=0){return le(mt,null,e,t)}function Bf(e,t){const n=le(kt,null,e);return n.staticCount=t,n}function Wf(e="",t=!1){return t?(Lr(),Nr(ye,null,e)):le(ye,null,e)}function Me(e){return e==null||typeof e=="boolean"?le(ye):W(e)?le(Ee,null,e.slice()):typeof e=="object"?et(e):le(mt,null,String(e))}function et(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:nt(e)}function cs(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(W(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),cs(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!oo(t)?t._ctx=de:s===3&&de&&(de.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else K(t)?(t={default:t,_ctx:de},n=32):(t=String(t),r&64?(n=16,t=[xo(t)]):n=8);e.children=t,e.shapeFlag|=n}function Jc(...e){const t={};for(let n=0;nue||de;let Fn,Fr;{const e=yi(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),i=>{s.length>1?s.forEach(o=>o(i)):s[0](i)}};Fn=t("__VUE_INSTANCE_SETTERS__",n=>ue=n),Fr=t("__VUE_SSR_SETTERS__",n=>on=n)}const sn=e=>{const t=ue;return Fn(e),e.scope.on(),()=>{e.scope.off(),Fn(t)}},Ds=()=>{ue&&ue.scope.off(),Fn(null)};function To(e){return e.vnode.shapeFlag&4}let on=!1;function ea(e,t=!1,n=!1){t&&Fr(t);const{props:r,children:s}=e.vnode,i=To(e);Oc(e,r,i,t),Lc(e,s,n);const o=i?ta(e,t):void 0;return t&&Fr(!1),o}function ta(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,bc);const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?Ao(e):null,i=sn(e);it();const o=tn(r,e,0,[e.props,s]);if(ot(),i(),hi(o)){if(gt(e)||ns(e),o.then(Ds,Ds),t)return o.then(l=>{js(e,l,t)}).catch(l=>{nn(l,e,0)});e.asyncDep=o}else js(e,o,t)}else Co(e,t)}function js(e,t,n){K(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ne(t)&&(e.setupState=Di(t)),Co(e,n)}let Vs;function Co(e,t,n){const r=e.type;if(!e.render){if(!t&&Vs&&!r.render){const s=r.template||ss(e).template;if(s){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:c}=r,u=fe(fe({isCustomElement:i,delimiters:l},o),c);r.render=Vs(s,u)}}e.render=r.render||Ue}{const s=sn(e);it();try{wc(e)}finally{ot(),s()}}}const na={get(e,t){return ve(e,"get",""),e[t]}};function Ao(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,na),slots:e.slots,emit:e.emit,expose:t}}function zn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Di(xn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ut)return Ut[n](e)},has(t,n){return n in t||n in Ut}})):e.proxy}function ra(e,t=!0){return K(e)?e.displayName||e.name:e.name||t&&e.__name}function sa(e){return K(e)&&"__vccOpts"in e}const ie=(e,t)=>Kl(e,t,on);function Hr(e,t,n){const r=arguments.length;return r===2?ne(t)&&!W(t)?Nn(t)?le(e,null,[t]):le(e,t):le(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Nn(n)&&(n=[n]),le(e,t,n))}const ia="3.5.8";/** +* @vue/runtime-dom v3.5.8 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let $r;const Us=typeof window<"u"&&window.trustedTypes;if(Us)try{$r=Us.createPolicy("vue",{createHTML:e=>e})}catch{}const Ro=$r?e=>$r.createHTML(e):e=>e,oa="http://www.w3.org/2000/svg",la="http://www.w3.org/1998/Math/MathML",Ke=typeof document<"u"?document:null,ks=Ke&&Ke.createElement("template"),ca={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?Ke.createElementNS(oa,e):t==="mathml"?Ke.createElementNS(la,e):n?Ke.createElement(e,{is:n}):Ke.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>Ke.createTextNode(e),createComment:e=>Ke.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ke.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,i){const o=n?n.previousSibling:t.lastChild;if(s&&(s===i||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===i||!(s=s.nextSibling)););else{ks.innerHTML=Ro(r==="svg"?`${e}`:r==="mathml"?`${e}`:e);const l=ks.content;if(r==="svg"||r==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Je="transition",Ht="animation",Qt=Symbol("_vtc"),Oo={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},aa=fe({},qi,Oo),fa=e=>(e.displayName="Transition",e.props=aa,e),Kf=fa((e,{slots:t})=>Hr(rc,ua(e),t)),at=(e,t=[])=>{W(e)?e.forEach(n=>n(...t)):e&&e(...t)},Bs=e=>e?W(e)?e.some(t=>t.length>1):e.length>1:!1;function ua(e){const t={};for(const C in e)C in Oo||(t[C]=e[C]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:u=o,appearToClass:a=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:g=`${n}-leave-active`,leaveToClass:b=`${n}-leave-to`}=e,_=da(s),E=_&&_[0],U=_&&_[1],{onBeforeEnter:L,onEnter:k,onEnterCancelled:p,onLeave:m,onLeaveCancelled:M,onBeforeAppear:F=L,onAppear:$=k,onAppearCancelled:D=p}=t,R=(C,G,re)=>{ft(C,G?a:l),ft(C,G?u:o),re&&re()},v=(C,G)=>{C._isLeaving=!1,ft(C,h),ft(C,b),ft(C,g),G&&G()},N=C=>(G,re)=>{const ce=C?$:k,V=()=>R(G,C,re);at(ce,[G,V]),Ws(()=>{ft(G,C?c:i),ze(G,C?a:l),Bs(ce)||Ks(G,r,E,V)})};return fe(t,{onBeforeEnter(C){at(L,[C]),ze(C,i),ze(C,o)},onBeforeAppear(C){at(F,[C]),ze(C,c),ze(C,u)},onEnter:N(!1),onAppear:N(!0),onLeave(C,G){C._isLeaving=!0;const re=()=>v(C,G);ze(C,h),ze(C,g),ga(),Ws(()=>{C._isLeaving&&(ft(C,h),ze(C,b),Bs(m)||Ks(C,r,U,re))}),at(m,[C,re])},onEnterCancelled(C){R(C,!1),at(p,[C])},onAppearCancelled(C){R(C,!0),at(D,[C])},onLeaveCancelled(C){v(C),at(M,[C])}})}function da(e){if(e==null)return null;if(ne(e))return[fr(e.enter),fr(e.leave)];{const t=fr(e);return[t,t]}}function fr(e){return rl(e)}function ze(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Qt]||(e[Qt]=new Set)).add(t)}function ft(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Qt];n&&(n.delete(t),n.size||(e[Qt]=void 0))}function Ws(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let ha=0;function Ks(e,t,n,r){const s=e._endId=++ha,i=()=>{s===e._endId&&r()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=pa(e,t);if(!o)return r();const u=o+"end";let a=0;const h=()=>{e.removeEventListener(u,g),i()},g=b=>{b.target===e&&++a>=c&&h()};setTimeout(()=>{a(n[_]||"").split(", "),s=r(`${Je}Delay`),i=r(`${Je}Duration`),o=qs(s,i),l=r(`${Ht}Delay`),c=r(`${Ht}Duration`),u=qs(l,c);let a=null,h=0,g=0;t===Je?o>0&&(a=Je,h=o,g=i.length):t===Ht?u>0&&(a=Ht,h=u,g=c.length):(h=Math.max(o,u),a=h>0?o>u?Je:Ht:null,g=a?a===Je?i.length:c.length:0);const b=a===Je&&/\b(transform|all)(,|$)/.test(r(`${Je}Property`).toString());return{type:a,timeout:h,propCount:g,hasTransform:b}}function qs(e,t){for(;e.lengthGs(n)+Gs(e[r])))}function Gs(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function ga(){return document.body.offsetHeight}function ma(e,t,n){const r=e[Qt];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Hn=Symbol("_vod"),Mo=Symbol("_vsh"),qf={beforeMount(e,{value:t},{transition:n}){e[Hn]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):$t(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),$t(e,!0),r.enter(e)):r.leave(e,()=>{$t(e,!1)}):$t(e,t))},beforeUnmount(e,{value:t}){$t(e,t)}};function $t(e,t){e.style.display=t?e[Hn]:"none",e[Mo]=!t}const ya=Symbol(""),va=/(^|;)\s*display\s*:/;function ba(e,t,n){const r=e.style,s=se(n);let i=!1;if(n&&!s){if(t)if(se(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&An(r,l,"")}else for(const o in t)n[o]==null&&An(r,o,"");for(const o in n)o==="display"&&(i=!0),An(r,o,n[o])}else if(s){if(t!==n){const o=r[ya];o&&(n+=";"+o),r.cssText=n,i=va.test(n)}}else t&&e.removeAttribute("style");Hn in e&&(e[Hn]=i?r.display:"",e[Mo]&&(r.display="none"))}const Ys=/\s*!important$/;function An(e,t,n){if(W(n))n.forEach(r=>An(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=_a(e,t);Ys.test(n)?e.setProperty(st(r),n.replace(Ys,""),"important"):e[r]=n}}const Xs=["Webkit","Moz","ms"],ur={};function _a(e,t){const n=ur[t];if(n)return n;let r=Ne(t);if(r!=="filter"&&r in e)return ur[t]=r;r=jn(r);for(let s=0;sdr||(Ta.then(()=>dr=0),dr=Date.now());function Aa(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Fe(Ra(r,n.value),t,5,[r])};return n.value=e,n.attached=Ca(),n}function Ra(e,t){if(W(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const ei=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Oa=(e,t,n,r,s,i)=>{const o=s==="svg";t==="class"?ma(e,r,o):t==="style"?ba(e,n,r):en(t)?jr(t)||Sa(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ma(e,t,r,o))?(wa(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&zs(e,t,r,o,i,t!=="value")):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),zs(e,t,r,o))};function Ma(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&ei(t)&&K(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return ei(t)&&se(n)?!1:!!(t in e||e._isVueCE&&(/[A-Z]/.test(t)||!se(n)))}const ti=e=>{const t=e.props["onUpdate:modelValue"]||!1;return W(t)?n=>Sn(t,n):t};function Pa(e){e.target.composing=!0}function ni(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const hr=Symbol("_assign"),Gf={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[hr]=ti(s);const i=r||s.props&&s.props.type==="number";St(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;n&&(l=l.trim()),i&&(l=Sr(l)),e[hr](l)}),n&&St(e,"change",()=>{e.value=e.value.trim()}),t||(St(e,"compositionstart",Pa),St(e,"compositionend",ni),St(e,"change",ni))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:i}},o){if(e[hr]=ti(o),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?Sr(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||s&&e.value.trim()===c)||(e.value=c))}},Ia=["ctrl","shift","alt","meta"],La={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Ia.some(n=>e[`${n}Key`]&&!t.includes(n))},Yf=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(s,...i)=>{for(let o=0;o{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=s=>{if(!("key"in s))return;const i=st(s.key);if(t.some(o=>o===i||Na[o]===i))return e(s)})},Po=fe({patchProp:Oa},ca);let Wt,ri=!1;function Fa(){return Wt||(Wt=Fc(Po))}function Ha(){return Wt=ri?Wt:Hc(Po),ri=!0,Wt}const Jf=(...e)=>{const t=Fa().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Lo(r);if(!s)return;const i=t._component;!K(i)&&!i.render&&!i.template&&(i.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const o=n(s,!1,Io(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),o},t},zf=(...e)=>{const t=Ha().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Lo(r);if(s)return n(s,!0,Io(s))},t};function Io(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Lo(e){return se(e)?document.querySelector(e):e}const Qf=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},$a="modulepreload",Da=function(e){return"/"+e},si={},Zf=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),o=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));s=Promise.all(n.map(l=>{if(l=Da(l),l in si)return;si[l]=!0;const c=l.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${u}`))return;const a=document.createElement("link");if(a.rel=c?"stylesheet":$a,c||(a.as="script",a.crossOrigin=""),a.href=l,o&&a.setAttribute("nonce",o),document.head.appendChild(a),c)return new Promise((h,g)=>{a.addEventListener("load",h),a.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${l}`)))})}))}return s.then(()=>t()).catch(i=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=i,window.dispatchEvent(o),!o.defaultPrevented)throw i})},ja=window.__VP_SITE_DATA__;function as(e){return wi()?(dl(e),!0):!1}function Be(e){return typeof e=="function"?e():$i(e)}const No=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Va=Object.prototype.toString,Ua=e=>Va.call(e)==="[object Object]",Zt=()=>{},ii=ka();function ka(){var e,t;return No&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function Ba(e,t){function n(...r){return new Promise((s,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(i)})}return n}const Fo=e=>e();function Wa(e,t={}){let n,r,s=Zt;const i=l=>{clearTimeout(l),s(),s=Zt};return l=>{const c=Be(e),u=Be(t.maxWait);return n&&i(n),c<=0||u!==void 0&&u<=0?(r&&(i(r),r=null),Promise.resolve(l())):new Promise((a,h)=>{s=t.rejectOnCancel?h:a,u&&!r&&(r=setTimeout(()=>{n&&i(n),r=null,a(l())},u)),n=setTimeout(()=>{r&&i(r),r=null,a(l())},c)})}}function Ka(e=Fo){const t=oe(!0);function n(){t.value=!1}function r(){t.value=!0}const s=(...i)=>{t.value&&e(...i)};return{isActive:Wn(t),pause:n,resume:r,eventFilter:s}}function qa(e){return Jn()}function Ho(...e){if(e.length!==1)return kl(...e);const t=e[0];return typeof t=="function"?Wn(jl(()=>({get:t,set:Zt}))):oe(t)}function $o(e,t,n={}){const{eventFilter:r=Fo,...s}=n;return ke(e,Ba(r,t),s)}function Ga(e,t,n={}){const{eventFilter:r,...s}=n,{eventFilter:i,pause:o,resume:l,isActive:c}=Ka(r);return{stop:$o(e,t,{...s,eventFilter:i}),pause:o,resume:l,isActive:c}}function fs(e,t=!0,n){qa()?It(e,n):t?e():Kn(e)}function eu(e,t,n={}){const{debounce:r=0,maxWait:s=void 0,...i}=n;return $o(e,t,{...i,eventFilter:Wa(r,{maxWait:s})})}function tu(e,t,n){let r;ae(n)?r={evaluating:n}:r={};const{lazy:s=!1,evaluating:i=void 0,shallow:o=!0,onError:l=Zt}=r,c=oe(!s),u=o?Qr(t):oe(t);let a=0;return ls(async h=>{if(!c.value)return;a++;const g=a;let b=!1;i&&Promise.resolve().then(()=>{i.value=!0});try{const _=await e(E=>{h(()=>{i&&(i.value=!1),b||E()})});g===a&&(u.value=_)}catch(_){l(_)}finally{i&&g===a&&(i.value=!1),b=!0}}),s?ie(()=>(c.value=!0,u.value)):u}function Do(e){var t;const n=Be(e);return(t=n==null?void 0:n.$el)!=null?t:n}const He=No?window:void 0;function Pt(...e){let t,n,r,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,s]=e,t=He):[t,n,r,s]=e,!t)return Zt;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const i=[],o=()=>{i.forEach(a=>a()),i.length=0},l=(a,h,g,b)=>(a.addEventListener(h,g,b),()=>a.removeEventListener(h,g,b)),c=ke(()=>[Do(t),Be(s)],([a,h])=>{if(o(),!a)return;const g=Ua(h)?{...h}:h;i.push(...n.flatMap(b=>r.map(_=>l(a,b,_,g))))},{immediate:!0,flush:"post"}),u=()=>{c(),o()};return as(u),u}function Ya(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function nu(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:s=He,eventName:i="keydown",passive:o=!1,dedupe:l=!1}=r,c=Ya(t);return Pt(s,i,a=>{a.repeat&&Be(l)||c(a)&&n(a)},o)}function Xa(){const e=oe(!1),t=Jn();return t&&It(()=>{e.value=!0},t),e}function Ja(e){const t=Xa();return ie(()=>(t.value,!!e()))}function jo(e,t={}){const{window:n=He}=t,r=Ja(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let s;const i=oe(!1),o=u=>{i.value=u.matches},l=()=>{s&&("removeEventListener"in s?s.removeEventListener("change",o):s.removeListener(o))},c=ls(()=>{r.value&&(l(),s=n.matchMedia(Be(e)),"addEventListener"in s?s.addEventListener("change",o):s.addListener(o),i.value=s.matches)});return as(()=>{c(),l(),s=void 0}),i}const bn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},_n="__vueuse_ssr_handlers__",za=Qa();function Qa(){return _n in bn||(bn[_n]=bn[_n]||{}),bn[_n]}function Vo(e,t){return za[e]||t}function Za(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const ef={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},oi="vueuse-storage";function us(e,t,n,r={}){var s;const{flush:i="pre",deep:o=!0,listenToStorageChanges:l=!0,writeDefaults:c=!0,mergeDefaults:u=!1,shallow:a,window:h=He,eventFilter:g,onError:b=v=>{console.error(v)},initOnMounted:_}=r,E=(a?Qr:oe)(typeof t=="function"?t():t);if(!n)try{n=Vo("getDefaultStorage",()=>{var v;return(v=He)==null?void 0:v.localStorage})()}catch(v){b(v)}if(!n)return E;const U=Be(t),L=Za(U),k=(s=r.serializer)!=null?s:ef[L],{pause:p,resume:m}=Ga(E,()=>F(E.value),{flush:i,deep:o,eventFilter:g});h&&l&&fs(()=>{Pt(h,"storage",D),Pt(h,oi,R),_&&D()}),_||D();function M(v,N){h&&h.dispatchEvent(new CustomEvent(oi,{detail:{key:e,oldValue:v,newValue:N,storageArea:n}}))}function F(v){try{const N=n.getItem(e);if(v==null)M(N,null),n.removeItem(e);else{const C=k.write(v);N!==C&&(n.setItem(e,C),M(N,C))}}catch(N){b(N)}}function $(v){const N=v?v.newValue:n.getItem(e);if(N==null)return c&&U!=null&&n.setItem(e,k.write(U)),U;if(!v&&u){const C=k.read(N);return typeof u=="function"?u(C,U):L==="object"&&!Array.isArray(C)?{...U,...C}:C}else return typeof N!="string"?N:k.read(N)}function D(v){if(!(v&&v.storageArea!==n)){if(v&&v.key==null){E.value=U;return}if(!(v&&v.key!==e)){p();try{(v==null?void 0:v.newValue)!==k.write(E.value)&&(E.value=$(v))}catch(N){b(N)}finally{v?Kn(m):m()}}}}function R(v){D(v.detail)}return E}function Uo(e){return jo("(prefers-color-scheme: dark)",e)}function tf(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:s=He,storage:i,storageKey:o="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:c,emitAuto:u,disableTransition:a=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},g=Uo({window:s}),b=ie(()=>g.value?"dark":"light"),_=c||(o==null?Ho(r):us(o,r,i,{window:s,listenToStorageChanges:l})),E=ie(()=>_.value==="auto"?b.value:_.value),U=Vo("updateHTMLAttrs",(m,M,F)=>{const $=typeof m=="string"?s==null?void 0:s.document.querySelector(m):Do(m);if(!$)return;let D;if(a&&(D=s.document.createElement("style"),D.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),s.document.head.appendChild(D)),M==="class"){const R=F.split(/\s/g);Object.values(h).flatMap(v=>(v||"").split(/\s/g)).filter(Boolean).forEach(v=>{R.includes(v)?$.classList.add(v):$.classList.remove(v)})}else $.setAttribute(M,F);a&&(s.getComputedStyle(D).opacity,document.head.removeChild(D))});function L(m){var M;U(t,n,(M=h[m])!=null?M:m)}function k(m){e.onChanged?e.onChanged(m,L):L(m)}ke(E,k,{flush:"post",immediate:!0}),fs(()=>k(E.value));const p=ie({get(){return u?_.value:E.value},set(m){_.value=m}});try{return Object.assign(p,{store:_,system:b,state:E})}catch{return p}}function nf(e={}){const{valueDark:t="dark",valueLight:n="",window:r=He}=e,s=tf({...e,onChanged:(l,c)=>{var u;e.onChanged?(u=e.onChanged)==null||u.call(e,l==="dark",c,l):c(l)},modes:{dark:t,light:n}}),i=ie(()=>s.system?s.system.value:Uo({window:r}).value?"dark":"light");return ie({get(){return s.value==="dark"},set(l){const c=l?"dark":"light";i.value===c?s.value="auto":s.value=c}})}function pr(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function ru(e,t,n={}){const{window:r=He}=n;return us(e,t,r==null?void 0:r.localStorage,n)}function ko(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth1?!0:(t.preventDefault&&t.preventDefault(),!1)}const gr=new WeakMap;function su(e,t=!1){const n=oe(t);let r=null,s="";ke(Ho(e),l=>{const c=pr(Be(l));if(c){const u=c;if(gr.get(u)||gr.set(u,u.style.overflow),u.style.overflow!=="hidden"&&(s=u.style.overflow),u.style.overflow==="hidden")return n.value=!0;if(n.value)return u.style.overflow="hidden"}},{immediate:!0});const i=()=>{const l=pr(Be(e));!l||n.value||(ii&&(r=Pt(l,"touchmove",c=>{rf(c)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},o=()=>{const l=pr(Be(e));!l||!n.value||(ii&&(r==null||r()),l.style.overflow=s,gr.delete(l),n.value=!1)};return as(o),ie({get(){return n.value},set(l){l?i():o()}})}function iu(e,t,n={}){const{window:r=He}=n;return us(e,t,r==null?void 0:r.sessionStorage,n)}function ou(e={}){const{window:t=He,behavior:n="auto"}=e;if(!t)return{x:oe(0),y:oe(0)};const r=oe(t.scrollX),s=oe(t.scrollY),i=ie({get(){return r.value},set(l){scrollTo({left:l,behavior:n})}}),o=ie({get(){return s.value},set(l){scrollTo({top:l,behavior:n})}});return Pt(t,"scroll",()=>{r.value=t.scrollX,s.value=t.scrollY},{capture:!1,passive:!0}),{x:i,y:o}}function lu(e={}){const{window:t=He,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:s=!0,includeScrollbar:i=!0}=e,o=oe(n),l=oe(r),c=()=>{t&&(i?(o.value=t.innerWidth,l.value=t.innerHeight):(o.value=t.document.documentElement.clientWidth,l.value=t.document.documentElement.clientHeight))};if(c(),fs(c),Pt("resize",c,{passive:!0}),s){const u=jo("(orientation: portrait)");ke(u,()=>c())}return{width:o,height:l}}var mr={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1},yr={};const Bo=/^(?:[a-z]+:|\/\/)/i,sf="vitepress-theme-appearance",of=/#.*$/,lf=/[?#].*$/,cf=/(?:(^|\/)index)?\.(?:md|html)$/,ge=typeof document<"u",Wo={relativePath:"404.md",filePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0,isNotFound:!0};function af(e,t,n=!1){if(t===void 0)return!1;if(e=li(`/${e}`),n)return new RegExp(t).test(e);if(li(t)!==e)return!1;const r=t.match(of);return r?(ge?location.hash:"")===r[0]:!0}function li(e){return decodeURI(e).replace(lf,"").replace(cf,"$1")}function ff(e){return Bo.test(e)}function uf(e,t){return Object.keys((e==null?void 0:e.locales)||{}).find(n=>n!=="root"&&!ff(n)&&af(t,`/${n}/`,!0))||"root"}function df(e,t){var r,s,i,o,l,c,u;const n=uf(e,t);return Object.assign({},e,{localeIndex:n,lang:((r=e.locales[n])==null?void 0:r.lang)??e.lang,dir:((s=e.locales[n])==null?void 0:s.dir)??e.dir,title:((i=e.locales[n])==null?void 0:i.title)??e.title,titleTemplate:((o=e.locales[n])==null?void 0:o.titleTemplate)??e.titleTemplate,description:((l=e.locales[n])==null?void 0:l.description)??e.description,head:qo(e.head,((c=e.locales[n])==null?void 0:c.head)??[]),themeConfig:{...e.themeConfig,...(u=e.locales[n])==null?void 0:u.themeConfig}})}function Ko(e,t){const n=t.title||e.title,r=t.titleTemplate??e.titleTemplate;if(typeof r=="string"&&r.includes(":title"))return r.replace(/:title/g,n);const s=hf(e.title,r);return n===s.slice(3)?n:`${n}${s}`}function hf(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function pf(e,t){const[n,r]=t;if(n!=="meta")return!1;const s=Object.entries(r)[0];return s==null?!1:e.some(([i,o])=>i===n&&o[s[0]]===s[1])}function qo(e,t){return[...e.filter(n=>!pf(t,n)),...t]}const gf=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,mf=/^[a-z]:/i;function ci(e){const t=mf.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(gf,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}const vr=new Set;function yf(e){if(vr.size===0){const n=typeof process=="object"&&(yr==null?void 0:yr.VITE_EXTRA_EXTENSIONS)||(mr==null?void 0:mr.VITE_EXTRA_EXTENSIONS)||"";("3g2,3gp,aac,ai,apng,au,avif,bin,bmp,cer,class,conf,crl,css,csv,dll,doc,eps,epub,exe,gif,gz,ics,ief,jar,jpe,jpeg,jpg,js,json,jsonld,m4a,man,mid,midi,mjs,mov,mp2,mp3,mp4,mpe,mpeg,mpg,mpp,oga,ogg,ogv,ogx,opus,otf,p10,p7c,p7m,p7s,pdf,png,ps,qt,roff,rtf,rtx,ser,svg,t,tif,tiff,tr,ts,tsv,ttf,txt,vtt,wav,weba,webm,webp,woff,woff2,xhtml,xml,yaml,yml,zip"+(n&&typeof n=="string"?","+n:"")).split(",").forEach(r=>vr.add(r))}const t=e.split(".").pop();return t==null||!vr.has(t.toLowerCase())}function cu(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const vf=Symbol(),yt=Qr(ja);function au(e){const t=ie(()=>df(yt.value,e.data.relativePath)),n=t.value.appearance,r=n==="force-dark"?oe(!0):n?nf({storageKey:sf,initialValue:()=>n==="dark"?"dark":"auto",...typeof n=="object"?n:{}}):oe(!1),s=oe(ge?location.hash:"");return ge&&window.addEventListener("hashchange",()=>{s.value=location.hash}),ke(()=>e.data,()=>{s.value=ge?location.hash:""}),{site:t,theme:ie(()=>t.value.themeConfig),page:ie(()=>e.data),frontmatter:ie(()=>e.data.frontmatter),params:ie(()=>e.data.params),lang:ie(()=>t.value.lang),dir:ie(()=>e.data.frontmatter.dir||t.value.dir),localeIndex:ie(()=>t.value.localeIndex||"root"),title:ie(()=>Ko(t.value,e.data)),description:ie(()=>e.data.description||t.value.description),isDark:r,hash:ie(()=>s.value)}}function bf(){const e=Mt(vf);if(!e)throw new Error("vitepress data not properly injected in app");return e}function _f(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function ai(e){return Bo.test(e)||!e.startsWith("/")?e:_f(yt.value.base,e)}function wf(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t=t.replace(/\/$/,"/index"),ge){const n="/";t=ci(t.slice(n.length).replace(/\//g,"_")||"index")+".md";let r=__VP_HASH_MAP__[t.toLowerCase()];if(r||(t=t.endsWith("_index.md")?t.slice(0,-9)+".md":t.slice(0,-3)+"_index.md",r=__VP_HASH_MAP__[t.toLowerCase()]),!r)return null;t=`${n}assets/${t}.${r}.js`}else t=`./${ci(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}let Rn=[];function fu(e){Rn.push(e),Gn(()=>{Rn=Rn.filter(t=>t!==e)})}function Ef(){let e=yt.value.scrollOffset,t=0,n=24;if(typeof e=="object"&&"padding"in e&&(n=e.padding,e=e.selector),typeof e=="number")t=e;else if(typeof e=="string")t=fi(e,n);else if(Array.isArray(e))for(const r of e){const s=fi(r,n);if(s){t=s;break}}return t}function fi(e,t){const n=document.querySelector(e);if(!n)return 0;const r=n.getBoundingClientRect().bottom;return r<0?0:r+t}const Sf=Symbol(),Go="http://a.com",xf=()=>({path:"/",component:null,data:Wo});function uu(e,t){const n=Bn(xf()),r={route:n,go:s};async function s(l=ge?location.href:"/"){var c,u;l=br(l),await((c=r.onBeforeRouteChange)==null?void 0:c.call(r,l))!==!1&&(ge&&l!==br(location.href)&&(history.replaceState({scrollPosition:window.scrollY},""),history.pushState({},"",l)),await o(l),await((u=r.onAfterRouteChanged)==null?void 0:u.call(r,l)))}let i=null;async function o(l,c=0,u=!1){var g;if(await((g=r.onBeforePageLoad)==null?void 0:g.call(r,l))===!1)return;const a=new URL(l,Go),h=i=a.pathname;try{let b=await e(h);if(!b)throw new Error(`Page not found: ${h}`);if(i===h){i=null;const{default:_,__pageData:E}=b;if(!_)throw new Error(`Invalid route component: ${_}`);n.path=ge?h:ai(h),n.component=xn(_),n.data=xn(E),ge&&Kn(()=>{let U=yt.value.base+E.relativePath.replace(/(?:(^|\/)index)?\.md$/,"$1");if(!yt.value.cleanUrls&&!U.endsWith("/")&&(U+=".html"),U!==a.pathname&&(a.pathname=U,l=U+a.search+a.hash,history.replaceState({},"",l)),a.hash&&!c){let L=null;try{L=document.getElementById(decodeURIComponent(a.hash).slice(1))}catch(k){console.warn(k)}if(L){ui(L,a.hash);return}}window.scrollTo(0,c)})}}catch(b){if(!/fetch|Page not found/.test(b.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(b),!u)try{const _=await fetch(yt.value.base+"hashmap.json");window.__VP_HASH_MAP__=await _.json(),await o(l,c,!0);return}catch{}if(i===h){i=null,n.path=ge?h:ai(h),n.component=t?xn(t):null;const _=ge?h.replace(/(^|\/)$/,"$1index").replace(/(\.html)?$/,".md").replace(/^\//,""):"404.md";n.data={...Wo,relativePath:_}}}}return ge&&(history.state===null&&history.replaceState({},""),window.addEventListener("click",l=>{if(l.defaultPrevented||!(l.target instanceof Element)||l.target.closest("button")||l.button!==0||l.ctrlKey||l.shiftKey||l.altKey||l.metaKey)return;const c=l.target.closest("a");if(!c||c.closest(".vp-raw")||c.hasAttribute("download")||c.hasAttribute("target"))return;const u=c.getAttribute("href")??(c instanceof SVGAElement?c.getAttribute("xlink:href"):null);if(u==null)return;const{href:a,origin:h,pathname:g,hash:b,search:_}=new URL(u,c.baseURI),E=new URL(location.href);h===E.origin&&yf(g)&&(l.preventDefault(),g===E.pathname&&_===E.search?(b!==E.hash&&(history.pushState({},"",a),window.dispatchEvent(new HashChangeEvent("hashchange",{oldURL:E.href,newURL:a}))),b?ui(c,b,c.classList.contains("header-anchor")):window.scrollTo(0,0)):s(a))},{capture:!0}),window.addEventListener("popstate",async l=>{var c;l.state!==null&&(await o(br(location.href),l.state&&l.state.scrollPosition||0),(c=r.onAfterRouteChanged)==null||c.call(r,location.href))}),window.addEventListener("hashchange",l=>{l.preventDefault()})),r}function Tf(){const e=Mt(Sf);if(!e)throw new Error("useRouter() is called without provider.");return e}function Yo(){return Tf().route}function ui(e,t,n=!1){let r=null;try{r=e.classList.contains("header-anchor")?e:document.getElementById(decodeURIComponent(t).slice(1))}catch(s){console.warn(s)}if(r){let s=function(){!n||Math.abs(o-window.scrollY)>window.innerHeight?window.scrollTo(0,o):window.scrollTo({left:0,top:o,behavior:"smooth"})};const i=parseInt(window.getComputedStyle(r).paddingTop,10),o=window.scrollY+r.getBoundingClientRect().top-Ef()+i;requestAnimationFrame(s)}}function br(e){const t=new URL(e,Go);return t.pathname=t.pathname.replace(/(^|\/)index(\.html)?$/,"$1"),yt.value.cleanUrls?t.pathname=t.pathname.replace(/\.html$/,""):!t.pathname.endsWith("/")&&!t.pathname.endsWith(".html")&&(t.pathname+=".html"),t.pathname+t.search+t.hash}const _r=()=>Rn.forEach(e=>e()),du=ts({name:"VitePressContent",props:{as:{type:[Object,String],default:"div"}},setup(e){const t=Yo(),{site:n}=bf();return()=>Hr(e.as,n.value.contentProps??{style:{position:"relative"}},[t.component?Hr(t.component,{onVnodeMounted:_r,onVnodeUpdated:_r,onVnodeUnmounted:_r}):"404 Page Not Found"])}}),hu=ts({setup(e,{slots:t}){const n=oe(!1);return It(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}});function pu(){ge&&window.addEventListener("click",e=>{var n;const t=e.target;if(t.matches(".vp-code-group input")){const r=(n=t.parentElement)==null?void 0:n.parentElement;if(!r)return;const s=Array.from(r.querySelectorAll("input")).indexOf(t);if(s<0)return;const i=r.querySelector(".blocks");if(!i)return;const o=Array.from(i.children).find(u=>u.classList.contains("active"));if(!o)return;const l=i.children[s];if(!l||o===l)return;o.classList.remove("active"),l.classList.add("active");const c=r==null?void 0:r.querySelector(`label[for="${t.id}"]`);c==null||c.scrollIntoView({block:"nearest"})}})}function gu(){if(ge){const e=new WeakMap;window.addEventListener("click",t=>{var r;const n=t.target;if(n.matches('div[class*="language-"] > button.copy')){const s=n.parentElement,i=(r=n.nextElementSibling)==null?void 0:r.nextElementSibling;if(!s||!i)return;const o=/language-(shellscript|shell|bash|sh|zsh)/.test(s.className),l=[".vp-copy-ignore",".diff.remove"],c=i.cloneNode(!0);c.querySelectorAll(l.join(",")).forEach(a=>a.remove());let u=c.textContent||"";o&&(u=u.replace(/^ *(\$|>) /gm,"").trim()),Cf(u).then(()=>{n.classList.add("copied"),clearTimeout(e.get(n));const a=setTimeout(()=>{n.classList.remove("copied"),n.blur(),e.delete(n)},2e3);e.set(n,a)})}})}}async function Cf(e){try{return navigator.clipboard.writeText(e)}catch{const t=document.createElement("textarea"),n=document.activeElement;t.value=e,t.setAttribute("readonly",""),t.style.contain="strict",t.style.position="absolute",t.style.left="-9999px",t.style.fontSize="12pt";const r=document.getSelection(),s=r?r.rangeCount>0&&r.getRangeAt(0):null;document.body.appendChild(t),t.select(),t.selectionStart=0,t.selectionEnd=e.length,document.execCommand("copy"),document.body.removeChild(t),s&&(r.removeAllRanges(),r.addRange(s)),n&&n.focus()}}function mu(e,t){let n=!0,r=[];const s=i=>{if(n){n=!1,i.forEach(l=>{const c=wr(l);for(const u of document.head.children)if(u.isEqualNode(c)){r.push(u);return}});return}const o=i.map(wr);r.forEach((l,c)=>{const u=o.findIndex(a=>a==null?void 0:a.isEqualNode(l??null));u!==-1?delete o[u]:(l==null||l.remove(),delete r[c])}),o.forEach(l=>l&&document.head.appendChild(l)),r=[...r,...o].filter(Boolean)};ls(()=>{const i=e.data,o=t.value,l=i&&i.description,c=i&&i.frontmatter.head||[],u=Ko(o,i);u!==document.title&&(document.title=u);const a=l||o.description;let h=document.querySelector("meta[name=description]");h?h.getAttribute("content")!==a&&h.setAttribute("content",a):wr(["meta",{name:"description",content:a}]),s(qo(o.head,Rf(c)))})}function wr([e,t,n]){const r=document.createElement(e);for(const s in t)r.setAttribute(s,t[s]);return n&&(r.innerHTML=n),e==="script"&&!t.async&&(r.async=!1),r}function Af(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function Rf(e){return e.filter(t=>!Af(t))}const Er=new Set,Xo=()=>document.createElement("link"),Of=e=>{const t=Xo();t.rel="prefetch",t.href=e,document.head.appendChild(t)},Mf=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let wn;const Pf=ge&&(wn=Xo())&&wn.relList&&wn.relList.supports&&wn.relList.supports("prefetch")?Of:Mf;function yu(){if(!ge||!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 r=()=>{n&&n.disconnect(),n=new IntersectionObserver(i=>{i.forEach(o=>{if(o.isIntersecting){const l=o.target;n.unobserve(l);const{pathname:c}=l;if(!Er.has(c)){Er.add(c);const u=wf(c);u&&Pf(u)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(i=>{const{hostname:o,pathname:l}=new URL(i.href instanceof SVGAnimatedString?i.href.animVal:i.href,i.baseURI),c=l.match(/\.\w+$/);c&&c[0]!==".html"||i.target!=="_blank"&&o===location.hostname&&(l!==location.pathname?n.observe(i):Er.add(l))})})};It(r);const s=Yo();ke(()=>s.path,r),Gn(()=>{n&&n.disconnect()})}export{Qi as $,Ef as A,Ff as B,$f as C,Qr as D,fu as E,Ee as F,le as G,Hf as H,Bo as I,Yo as J,Jc as K,Mt as L,lu as M,kr as N,nu as O,Kn as P,ou as Q,ge as R,Wn as S,Kf as T,Nf as U,Zf as V,su as W,Rc as X,Xf as Y,jf as Z,Qf as _,xo as a,Yf as a0,Vf as a1,If as a2,qf as a3,Bf as a4,mu as a5,Sf as a6,au as a7,vf as a8,du as a9,hu as aa,yt as ab,zf as ac,uu as ad,wf as ae,yu as af,gu as ag,pu as ah,Hr as ai,Do as aj,as as ak,tu as al,iu as am,ru as an,eu as ao,Tf as ap,Pt as aq,Gf as ar,ae as as,Lf as at,xn as au,Jf as av,cu as aw,Nr as b,kf as c,ts as d,Wf as e,yf as f,ai as g,ie as h,ff as i,So as j,$i as k,af as l,jo as m,Br as n,Lr as o,oe as p,ke as q,Df as r,ls as s,fl as t,bf as u,It as v,zl as w,Gn as x,Uf as y,pc as z}; diff --git a/assets/chunks/framework.Dvq0W1Dl.js b/assets/chunks/framework.Dvq0W1Dl.js deleted file mode 100644 index 958b1ea..0000000 --- a/assets/chunks/framework.Dvq0W1Dl.js +++ /dev/null @@ -1,18 +0,0 @@ -/** -* @vue/shared v3.5.5 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**//*! #__NO_SIDE_EFFECTS__ */function Dr(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ee={},Tt=[],Ue=()=>{},zo=()=>!1,Zt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),jr=e=>e.startsWith("onUpdate:"),fe=Object.assign,Vr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Qo=Object.prototype.hasOwnProperty,z=(e,t)=>Qo.call(e,t),W=Array.isArray,Ct=e=>$n(e)==="[object Map]",di=e=>$n(e)==="[object Set]",K=e=>typeof e=="function",se=e=>typeof e=="string",rt=e=>typeof e=="symbol",ne=e=>e!==null&&typeof e=="object",hi=e=>(ne(e)||K(e))&&K(e.then)&&K(e.catch),pi=Object.prototype.toString,$n=e=>pi.call(e),Zo=e=>$n(e).slice(8,-1),gi=e=>$n(e)==="[object Object]",Ur=e=>se(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,At=Dr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Dn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},el=/-(\w)/g,Ne=Dn(e=>e.replace(el,(t,n)=>n?n.toUpperCase():"")),tl=/\B([A-Z])/g,st=Dn(e=>e.replace(tl,"-$1").toLowerCase()),jn=Dn(e=>e.charAt(0).toUpperCase()+e.slice(1)),wn=Dn(e=>e?`on${jn(e)}`:""),tt=(e,t)=>!Object.is(e,t),En=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Sr=e=>{const t=parseFloat(e);return isNaN(t)?e:t},nl=e=>{const t=se(e)?Number(e):NaN;return isNaN(t)?e:t};let ms;const yi=()=>ms||(ms=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Br(e){if(W(e)){const t={};for(let n=0;n{if(n){const r=n.split(sl);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function kr(e){let t="";if(se(e))t=e;else if(W(e))for(let n=0;n!!(e&&e.__v_isRef===!0),al=e=>se(e)?e:e==null?"":W(e)||ne(e)&&(e.toString===pi||!K(e.toString))?bi(e)?al(e.value):JSON.stringify(e,_i,2):String(e),_i=(e,t)=>bi(t)?_i(e,t.value):Ct(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],i)=>(n[tr(r,i)+" =>"]=s,n),{})}:di(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>tr(n))}:rt(t)?tr(t):ne(t)&&!W(t)&&!gi(t)?String(t):t,tr=(e,t="")=>{var n;return rt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** -* @vue/reactivity v3.5.5 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let _e;class fl{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=_e,!t&&_e&&(this.index=(_e.scopes||(_e.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0)return;let e;for(;jt;){let t=jt;for(jt=void 0;t;){const n=t.nextEffect;if(t.nextEffect=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function xi(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ti(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),qr(r),dl(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function xr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&Ci(t.dep.computed)||t.dep.version!==t.version)return!0;return!!e._dirty}function Ci(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Kt))return;e.globalVersion=Kt;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&!xr(e)){e.flags&=-3;return}const n=Z,r=Le;Z=e,Le=!0;try{xi(e);const s=e.fn(e._value);(t.version===0||tt(s,e._value))&&(e._value=s,t.version++)}catch(s){throw t.version++,s}finally{Z=n,Le=r,Ti(e),e.flags&=-3}}function qr(e){const{dep:t,prevSub:n,nextSub:r}=e;if(n&&(n.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=n,e.nextSub=void 0),t.subs===e&&(t.subs=n),!t.subs&&t.computed){t.computed.flags&=-5;for(let s=t.computed.deps;s;s=s.nextDep)qr(s)}}function dl(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Le=!0;const Ai=[];function it(){Ai.push(Le),Le=!1}function ot(){const e=Ai.pop();Le=e===void 0?!0:e}function ys(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Z;Z=void 0;try{t()}finally{Z=n}}}let Kt=0;class hl{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Vn{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0}track(t){if(!Z||!Le||Z===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Z)n=this.activeLink=new hl(Z,this),Z.deps?(n.prevDep=Z.depsTail,Z.depsTail.nextDep=n,Z.depsTail=n):Z.deps=Z.depsTail=n,Z.flags&4&&Ri(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=Z.depsTail,n.nextDep=void 0,Z.depsTail.nextDep=n,Z.depsTail=n,Z.deps===n&&(Z.deps=r)}return n}trigger(t){this.version++,Kt++,this.notify(t)}notify(t){Wr();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()}finally{Kr()}}}function Ri(e){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)Ri(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}const Rn=new WeakMap,ht=Symbol(""),Tr=Symbol(""),qt=Symbol("");function ve(e,t,n){if(Le&&Z){let r=Rn.get(e);r||Rn.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=new Vn),s.track()}}function Ge(e,t,n,r,s,i){const o=Rn.get(e);if(!o){Kt++;return}const l=c=>{c&&c.trigger()};if(Wr(),t==="clear")o.forEach(l);else{const c=W(e),u=c&&Ur(n);if(c&&n==="length"){const a=Number(r);o.forEach((h,g)=>{(g==="length"||g===qt||!rt(g)&&g>=a)&&l(h)})}else switch(n!==void 0&&l(o.get(n)),u&&l(o.get(qt)),t){case"add":c?u&&l(o.get("length")):(l(o.get(ht)),Ct(e)&&l(o.get(Tr)));break;case"delete":c||(l(o.get(ht)),Ct(e)&&l(o.get(Tr)));break;case"set":Ct(e)&&l(o.get(ht));break}}Kr()}function pl(e,t){var n;return(n=Rn.get(e))==null?void 0:n.get(t)}function _t(e){const t=J(e);return t===e?t:(ve(t,"iterate",qt),Pe(e)?t:t.map(me))}function Un(e){return ve(e=J(e),"iterate",qt),e}const gl={__proto__:null,[Symbol.iterator](){return rr(this,Symbol.iterator,me)},concat(...e){return _t(this).concat(...e.map(t=>W(t)?_t(t):t))},entries(){return rr(this,"entries",e=>(e[1]=me(e[1]),e))},every(e,t){return We(this,"every",e,t,void 0,arguments)},filter(e,t){return We(this,"filter",e,t,n=>n.map(me),arguments)},find(e,t){return We(this,"find",e,t,me,arguments)},findIndex(e,t){return We(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return We(this,"findLast",e,t,me,arguments)},findLastIndex(e,t){return We(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return We(this,"forEach",e,t,void 0,arguments)},includes(...e){return sr(this,"includes",e)},indexOf(...e){return sr(this,"indexOf",e)},join(e){return _t(this).join(e)},lastIndexOf(...e){return sr(this,"lastIndexOf",e)},map(e,t){return We(this,"map",e,t,void 0,arguments)},pop(){return Ft(this,"pop")},push(...e){return Ft(this,"push",e)},reduce(e,...t){return vs(this,"reduce",e,t)},reduceRight(e,...t){return vs(this,"reduceRight",e,t)},shift(){return Ft(this,"shift")},some(e,t){return We(this,"some",e,t,void 0,arguments)},splice(...e){return Ft(this,"splice",e)},toReversed(){return _t(this).toReversed()},toSorted(e){return _t(this).toSorted(e)},toSpliced(...e){return _t(this).toSpliced(...e)},unshift(...e){return Ft(this,"unshift",e)},values(){return rr(this,"values",me)}};function rr(e,t,n){const r=Un(e),s=r[t]();return r!==e&&!Pe(e)&&(s._next=s.next,s.next=()=>{const i=s._next();return i.value&&(i.value=n(i.value)),i}),s}const ml=Array.prototype;function We(e,t,n,r,s,i){const o=Un(e),l=o!==e&&!Pe(e),c=o[t];if(c!==ml[t]){const h=c.apply(e,i);return l?me(h):h}let u=n;o!==e&&(l?u=function(h,g){return n.call(this,me(h),g,e)}:n.length>2&&(u=function(h,g){return n.call(this,h,g,e)}));const a=c.call(o,u,r);return l&&s?s(a):a}function vs(e,t,n,r){const s=Un(e);let i=n;return s!==e&&(Pe(e)?n.length>3&&(i=function(o,l,c){return n.call(this,o,l,c,e)}):i=function(o,l,c){return n.call(this,o,me(l),c,e)}),s[t](i,...r)}function sr(e,t,n){const r=J(e);ve(r,"iterate",qt);const s=r[t](...n);return(s===-1||s===!1)&&Jr(n[0])?(n[0]=J(n[0]),r[t](...n)):s}function Ft(e,t,n=[]){it(),Wr();const r=J(e)[t].apply(e,n);return Kr(),ot(),r}const yl=Dr("__proto__,__v_isRef,__isVue"),Oi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(rt));function vl(e){rt(e)||(e=String(e));const t=J(this);return ve(t,"has",e),t.hasOwnProperty(e)}class Mi{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const s=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(s?i?Pl:Ni:i?Li:Ii).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const o=W(t);if(!s){let c;if(o&&(c=gl[n]))return c;if(n==="hasOwnProperty")return vl}const l=Reflect.get(t,n,ae(t)?t:r);return(rt(n)?Oi.has(n):yl(n))||(s||ve(t,"get",n),i)?l:ae(l)?o&&Ur(n)?l:l.value:ne(l)?s?Wn(l):kn(l):l}}class Pi extends Mi{constructor(t=!1){super(!1,t)}set(t,n,r,s){let i=t[n];if(!this._isShallow){const c=vt(i);if(!Pe(r)&&!vt(r)&&(i=J(i),r=J(r)),!W(t)&&ae(i)&&!ae(r))return c?!1:(i.value=r,!0)}const o=W(t)&&Ur(n)?Number(n)e,Bn=e=>Reflect.getPrototypeOf(e);function cn(e,t,n=!1,r=!1){e=e.__v_raw;const s=J(e),i=J(t);n||(tt(t,i)&&ve(s,"get",t),ve(s,"get",i));const{has:o}=Bn(s),l=r?Gr:n?zr:me;if(o.call(s,t))return l(e.get(t));if(o.call(s,i))return l(e.get(i));e!==s&&e.get(t)}function an(e,t=!1){const n=this.__v_raw,r=J(n),s=J(e);return t||(tt(e,s)&&ve(r,"has",e),ve(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function fn(e,t=!1){return e=e.__v_raw,!t&&ve(J(e),"iterate",ht),Reflect.get(e,"size",e)}function bs(e,t=!1){!t&&!Pe(e)&&!vt(e)&&(e=J(e));const n=J(this);return Bn(n).has.call(n,e)||(n.add(e),Ge(n,"add",e,e)),this}function _s(e,t,n=!1){!n&&!Pe(t)&&!vt(t)&&(t=J(t));const r=J(this),{has:s,get:i}=Bn(r);let o=s.call(r,e);o||(e=J(e),o=s.call(r,e));const l=i.call(r,e);return r.set(e,t),o?tt(t,l)&&Ge(r,"set",e,t):Ge(r,"add",e,t),this}function ws(e){const t=J(this),{has:n,get:r}=Bn(t);let s=n.call(t,e);s||(e=J(e),s=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return s&&Ge(t,"delete",e,void 0),i}function Es(){const e=J(this),t=e.size!==0,n=e.clear();return t&&Ge(e,"clear",void 0,void 0),n}function un(e,t){return function(r,s){const i=this,o=i.__v_raw,l=J(o),c=t?Gr:e?zr:me;return!e&&ve(l,"iterate",ht),o.forEach((u,a)=>r.call(s,c(u),c(a),i))}}function dn(e,t,n){return function(...r){const s=this.__v_raw,i=J(s),o=Ct(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,u=s[e](...r),a=n?Gr:t?zr:me;return!t&&ve(i,"iterate",c?Tr:ht),{next(){const{value:h,done:g}=u.next();return g?{value:h,done:g}:{value:l?[a(h[0]),a(h[1])]:a(h),done:g}},[Symbol.iterator](){return this}}}}function Xe(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Sl(){const e={get(i){return cn(this,i)},get size(){return fn(this)},has:an,add:bs,set:_s,delete:ws,clear:Es,forEach:un(!1,!1)},t={get(i){return cn(this,i,!1,!0)},get size(){return fn(this)},has:an,add(i){return bs.call(this,i,!0)},set(i,o){return _s.call(this,i,o,!0)},delete:ws,clear:Es,forEach:un(!1,!0)},n={get(i){return cn(this,i,!0)},get size(){return fn(this,!0)},has(i){return an.call(this,i,!0)},add:Xe("add"),set:Xe("set"),delete:Xe("delete"),clear:Xe("clear"),forEach:un(!0,!1)},r={get(i){return cn(this,i,!0,!0)},get size(){return fn(this,!0)},has(i){return an.call(this,i,!0)},add:Xe("add"),set:Xe("set"),delete:Xe("delete"),clear:Xe("clear"),forEach:un(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=dn(i,!1,!1),n[i]=dn(i,!0,!1),t[i]=dn(i,!1,!0),r[i]=dn(i,!0,!0)}),[e,n,t,r]}const[xl,Tl,Cl,Al]=Sl();function Yr(e,t){const n=t?e?Al:Cl:e?Tl:xl;return(r,s,i)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(z(n,s)&&s in r?n:r,s,i)}const Rl={get:Yr(!1,!1)},Ol={get:Yr(!1,!0)},Ml={get:Yr(!0,!1)};const Ii=new WeakMap,Li=new WeakMap,Ni=new WeakMap,Pl=new WeakMap;function Il(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ll(e){return e.__v_skip||!Object.isExtensible(e)?0:Il(Zo(e))}function kn(e){return vt(e)?e:Xr(e,!1,_l,Rl,Ii)}function Nl(e){return Xr(e,!1,El,Ol,Li)}function Wn(e){return Xr(e,!0,wl,Ml,Ni)}function Xr(e,t,n,r,s){if(!ne(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=s.get(e);if(i)return i;const o=Ll(e);if(o===0)return e;const l=new Proxy(e,o===2?r:n);return s.set(e,l),l}function pt(e){return vt(e)?pt(e.__v_raw):!!(e&&e.__v_isReactive)}function vt(e){return!!(e&&e.__v_isReadonly)}function Pe(e){return!!(e&&e.__v_isShallow)}function Jr(e){return e?!!e.__v_raw:!1}function J(e){const t=e&&e.__v_raw;return t?J(t):e}function Sn(e){return!z(e,"__v_skip")&&Object.isExtensible(e)&&mi(e,"__v_skip",!0),e}const me=e=>ne(e)?kn(e):e,zr=e=>ne(e)?Wn(e):e;function ae(e){return e?e.__v_isRef===!0:!1}function oe(e){return Fi(e,!1)}function Qr(e){return Fi(e,!0)}function Fi(e,t){return ae(e)?e:new Fl(e,t)}class Fl{constructor(t,n){this.dep=new Vn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:J(t),this._value=n?t:me(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Pe(t)||vt(t);t=r?t:J(t),tt(t,n)&&(this._rawValue=t,this._value=r?t:me(t),this.dep.trigger())}}function Hi(e){return ae(e)?e.value:e}const Hl={get:(e,t,n)=>t==="__v_raw"?e:Hi(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return ae(s)&&!ae(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function $i(e){return pt(e)?e:new Proxy(e,Hl)}class $l{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Vn,{get:r,set:s}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=s}get value(){return this._value=this._get()}set value(t){this._set(t)}}function Dl(e){return new $l(e)}class jl{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return pl(J(this._object),this._key)}}class Vl{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Ul(e,t,n){return ae(e)?e:K(e)?new Vl(e):ne(e)&&arguments.length>1?Bl(e,t,n):oe(e)}function Bl(e,t,n){const r=e[t];return ae(r)?r:new jl(e,t,n)}class kl{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Vn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Kt-1,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){this.flags|=16,Z!==this&&this.dep.notify()}get value(){const t=this.dep.track();return Ci(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Wl(e,t,n=!1){let r,s;return K(e)?r=e:(r=e.get,s=e.set),new kl(r,s,n)}const hn={},On=new WeakMap;let ut;function Kl(e,t=!1,n=ut){if(n){let r=On.get(n);r||On.set(n,r=[]),r.push(e)}}function ql(e,t,n=ee){const{immediate:r,deep:s,once:i,scheduler:o,augmentJob:l,call:c}=n,u=m=>s?m:Pe(m)||s===!1||s===0?qe(m,1):qe(m);let a,h,g,b,_=!1,E=!1;if(ae(e)?(h=()=>e.value,_=Pe(e)):pt(e)?(h=()=>u(e),_=!0):W(e)?(E=!0,_=e.some(m=>pt(m)||Pe(m)),h=()=>e.map(m=>{if(ae(m))return m.value;if(pt(m))return u(m);if(K(m))return c?c(m,2):m()})):K(e)?t?h=c?()=>c(e,2):e:h=()=>{if(g){it();try{g()}finally{ot()}}const m=ut;ut=a;try{return c?c(e,3,[b]):e(b)}finally{ut=m}}:h=Ue,t&&s){const m=h,M=s===!0?1/0:s;h=()=>qe(m(),M)}const U=wi(),L=()=>{a.stop(),U&&Vr(U.effects,a)};if(i)if(t){const m=t;t=(...M)=>{m(...M),L()}}else{const m=h;h=()=>{m(),L()}}let B=E?new Array(e.length).fill(hn):hn;const p=m=>{if(!(!(a.flags&1)||!a.dirty&&!m))if(t){const M=a.run();if(s||_||(E?M.some((F,$)=>tt(F,B[$])):tt(M,B))){g&&g();const F=ut;ut=a;try{const $=[M,B===hn?void 0:E&&B[0]===hn?[]:B,b];c?c(t,3,$):t(...$),B=M}finally{ut=F}}}else a.run()};return l&&l(p),a=new Ei(h),a.scheduler=o?()=>o(p,!1):p,b=m=>Kl(m,!1,a),g=a.onStop=()=>{const m=On.get(a);if(m){if(c)c(m,4);else for(const M of m)M();On.delete(a)}},t?r?p(!0):B=a.run():o?o(p.bind(null,!0),!0):a.run(),L.pause=a.pause.bind(a),L.resume=a.resume.bind(a),L.stop=L,L}function qe(e,t=1/0,n){if(t<=0||!ne(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,ae(e))qe(e.value,t,n);else if(W(e))for(let r=0;r{qe(r,t,n)});else if(gi(e)){for(const r in e)qe(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&qe(e[r],t,n)}return e}/** -* @vue/runtime-core v3.5.5 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/function en(e,t,n,r){try{return r?e(...r):e()}catch(s){tn(s,t,n)}}function Fe(e,t,n,r){if(K(e)){const s=en(e,t,n,r);return s&&hi(s)&&s.catch(i=>{tn(i,t,n)}),s}if(W(e)){const s=[];for(let i=0;i>>1,s=we[r],i=Yt(s);i=Yt(n)?we.push(e):we.splice(Yl(t),0,e),e.flags|=1,ji()}}function ji(){!Gt&&!Cr&&(Cr=!0,Zr=Di.then(Vi))}function Xl(e){W(e)?Rt.push(...e):Qe&&e.id===-1?Qe.splice(Et+1,0,e):e.flags&1||(Rt.push(e),e.flags|=1),ji()}function Ss(e,t,n=Gt?je+1:0){for(;nYt(n)-Yt(r));if(Rt.length=0,Qe){Qe.push(...t);return}for(Qe=t,Et=0;Ete.id==null?e.flags&2?-1:1/0:e.id;function Vi(e){Cr=!1,Gt=!0;try{for(je=0;je{r._d&&$s(-1);const i=Pn(t);let o;try{o=e(...s)}finally{Pn(i),r._d&&$s(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function Pf(e,t){if(de===null)return e;const n=zn(de),r=e.dirs||(e.dirs=[]);for(let s=0;se.__isTeleport,Vt=e=>e&&(e.disabled||e.disabled===""),zl=e=>e&&(e.defer||e.defer===""),xs=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Ts=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Ar=(e,t)=>{const n=e&&e.to;return se(n)?t?t(n):null:n},Ql={name:"Teleport",__isTeleport:!0,process(e,t,n,r,s,i,o,l,c,u){const{mc:a,pc:h,pbc:g,o:{insert:b,querySelector:_,createText:E,createComment:U}}=u,L=Vt(t.props);let{shapeFlag:B,children:p,dynamicChildren:m}=t;if(e==null){const M=t.el=E(""),F=t.anchor=E("");b(M,n,r),b(F,n,r);const $=(R,v)=>{B&16&&(s&&s.isCE&&(s.ce._teleportTarget=R),a(p,R,v,s,i,o,l,c))},D=()=>{const R=t.target=Ar(t.props,_),v=Wi(R,t,E,b);R&&(o!=="svg"&&xs(R)?o="svg":o!=="mathml"&&Ts(R)&&(o="mathml"),L||($(R,v),xn(t)))};L&&($(n,F),xn(t)),zl(t.props)?Se(D,i):D()}else{t.el=e.el,t.targetStart=e.targetStart;const M=t.anchor=e.anchor,F=t.target=e.target,$=t.targetAnchor=e.targetAnchor,D=Vt(e.props),R=D?n:F,v=D?M:$;if(o==="svg"||xs(F)?o="svg":(o==="mathml"||Ts(F))&&(o="mathml"),m?(g(e.dynamicChildren,m,R,s,i,o,l),os(e,t,!0)):c||h(e,t,R,v,s,i,o,l,!1),L)D?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):pn(t,n,M,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const N=t.target=Ar(t.props,_);N&&pn(t,N,null,u,0)}else D&&pn(t,F,$,u,1);xn(t)}},remove(e,t,n,{um:r,o:{remove:s}},i){const{shapeFlag:o,children:l,anchor:c,targetStart:u,targetAnchor:a,target:h,props:g}=e;if(h&&(s(u),s(a)),i&&s(c),o&16){const b=i||!Vt(g);for(let _=0;_{e.isMounted=!0}),zi(()=>{e.isUnmounting=!0}),e}const Re=[Function,Array],Ki={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Re,onEnter:Re,onAfterEnter:Re,onEnterCancelled:Re,onBeforeLeave:Re,onLeave:Re,onAfterLeave:Re,onLeaveCancelled:Re,onBeforeAppear:Re,onAppear:Re,onAfterAppear:Re,onAppearCancelled:Re},qi=e=>{const t=e.subTree;return t.component?qi(t.component):t},tc={name:"BaseTransition",props:Ki,setup(e,{slots:t}){const n=Jn(),r=ec();return()=>{const s=t.default&&Xi(t.default(),!0);if(!s||!s.length)return;const i=Gi(s),o=J(e),{mode:l}=o;if(r.isLeaving)return ir(i);const c=Cs(i);if(!c)return ir(i);let u=Rr(c,o,r,n,g=>u=g);c.type!==ye&&Xt(c,u);const a=n.subTree,h=a&&Cs(a);if(h&&h.type!==ye&&!dt(c,h)&&qi(n).type!==ye){const g=Rr(h,o,r,n);if(Xt(h,g),l==="out-in"&&c.type!==ye)return r.isLeaving=!0,g.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete g.afterLeave},ir(i);l==="in-out"&&c.type!==ye&&(g.delayLeave=(b,_,E)=>{const U=Yi(r,h);U[String(h.key)]=h,b[Ze]=()=>{_(),b[Ze]=void 0,delete u.delayedLeave},u.delayedLeave=E})}return i}}};function Gi(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==ye){t=n;break}}return t}const nc=tc;function Yi(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Rr(e,t,n,r,s){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:c,onEnter:u,onAfterEnter:a,onEnterCancelled:h,onBeforeLeave:g,onLeave:b,onAfterLeave:_,onLeaveCancelled:E,onBeforeAppear:U,onAppear:L,onAfterAppear:B,onAppearCancelled:p}=t,m=String(e.key),M=Yi(n,e),F=(R,v)=>{R&&Fe(R,r,9,v)},$=(R,v)=>{const N=v[1];F(R,v),W(R)?R.every(C=>C.length<=1)&&N():R.length<=1&&N()},D={mode:o,persisted:l,beforeEnter(R){let v=c;if(!n.isMounted)if(i)v=U||c;else return;R[Ze]&&R[Ze](!0);const N=M[m];N&&dt(e,N)&&N.el[Ze]&&N.el[Ze](),F(v,[R])},enter(R){let v=u,N=a,C=h;if(!n.isMounted)if(i)v=L||u,N=B||a,C=p||h;else return;let G=!1;const re=R[gn]=ce=>{G||(G=!0,ce?F(C,[R]):F(N,[R]),D.delayedLeave&&D.delayedLeave(),R[gn]=void 0)};v?$(v,[R,re]):re()},leave(R,v){const N=String(e.key);if(R[gn]&&R[gn](!0),n.isUnmounting)return v();F(g,[R]);let C=!1;const G=R[Ze]=re=>{C||(C=!0,v(),re?F(E,[R]):F(_,[R]),R[Ze]=void 0,M[N]===e&&delete M[N])};M[N]=e,b?$(b,[R,G]):G()},clone(R){const v=Rr(R,t,n,r,s);return s&&s(v),v}};return D}function ir(e){if(nn(e))return e=nt(e),e.children=null,e}function Cs(e){if(!nn(e))return ki(e.type)&&e.children?Gi(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&K(n.default))return n.default()}}function Xt(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Xt(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 Xi(e,t=!1,n){let r=[],s=0;for(let i=0;i1)for(let i=0;iIn(_,t&&(W(t)?t[E]:t),n,r,s));return}if(gt(r)&&!s)return;const i=r.shapeFlag&4?zn(r.component):r.el,o=s?null:i,{i:l,r:c}=e,u=t&&t.r,a=l.refs===ee?l.refs={}:l.refs,h=l.setupState,g=J(h),b=h===ee?()=>!1:_=>z(g,_);if(u!=null&&u!==c&&(se(u)?(a[u]=null,b(u)&&(h[u]=null)):ae(u)&&(u.value=null)),K(c))en(c,l,12,[o,a]);else{const _=se(c),E=ae(c);if(_||E){const U=()=>{if(e.f){const L=_?b(c)?h[c]:a[c]:c.value;s?W(L)&&Vr(L,i):W(L)?L.includes(i)||L.push(i):_?(a[c]=[i],b(c)&&(h[c]=a[c])):(c.value=[i],e.k&&(a[e.k]=c.value))}else _?(a[c]=o,b(c)&&(h[c]=o)):E&&(c.value=o,e.k&&(a[e.k]=o))};o?(U.id=-1,Se(U,n)):U()}}}let As=!1;const wt=()=>{As||(console.error("Hydration completed but contains mismatches."),As=!0)},rc=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",sc=e=>e.namespaceURI.includes("MathML"),mn=e=>{if(e.nodeType===1){if(rc(e))return"svg";if(sc(e))return"mathml"}},xt=e=>e.nodeType===8;function ic(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:i,parentNode:o,remove:l,insert:c,createComment:u}}=e,a=(p,m)=>{if(!m.hasChildNodes()){n(null,p,m),Mn(),m._vnode=p;return}h(m.firstChild,p,null,null,null),Mn(),m._vnode=p},h=(p,m,M,F,$,D=!1)=>{D=D||!!m.dynamicChildren;const R=xt(p)&&p.data==="[",v=()=>E(p,m,M,F,$,R),{type:N,ref:C,shapeFlag:G,patchFlag:re}=m;let ce=p.nodeType;m.el=p,re===-2&&(D=!1,m.dynamicChildren=null);let V=null;switch(N){case mt:ce!==3?m.children===""?(c(m.el=s(""),o(p),p),V=p):V=v():(p.data!==m.children&&(wt(),p.data=m.children),V=i(p));break;case ye:B(p)?(V=i(p),L(m.el=p.content.firstChild,p,M)):ce!==8||R?V=v():V=i(p);break;case Bt:if(R&&(p=i(p),ce=p.nodeType),ce===1||ce===3){V=p;const Y=!m.children.length;for(let j=0;j{D=D||!!m.dynamicChildren;const{type:R,props:v,patchFlag:N,shapeFlag:C,dirs:G,transition:re}=m,ce=R==="input"||R==="option";if(ce||N!==-1){G&&Ve(m,null,M,"created");let V=!1;if(B(p)){V=po(F,re)&&M&&M.vnode.props&&M.vnode.props.appear;const j=p.content.firstChild;V&&re.beforeEnter(j),L(j,p,M),m.el=p=j}if(C&16&&!(v&&(v.innerHTML||v.textContent))){let j=b(p.firstChild,m,p,M,F,$,D);for(;j;){yn(p,1)||wt();const he=j;j=j.nextSibling,l(he)}}else if(C&8){let j=m.children;j[0]===` -`&&(p.tagName==="PRE"||p.tagName==="TEXTAREA")&&(j=j.slice(1)),p.textContent!==j&&(yn(p,0)||wt(),p.textContent=m.children)}if(v){if(ce||!D||N&48){const j=p.tagName.includes("-");for(const he in v)(ce&&(he.endsWith("value")||he==="indeterminate")||Zt(he)&&!At(he)||he[0]==="."||j)&&r(p,he,null,v[he],void 0,M)}else if(v.onClick)r(p,"onClick",null,v.onClick,void 0,M);else if(N&4&&pt(v.style))for(const j in v.style)v.style[j]}let Y;(Y=v&&v.onVnodeBeforeMount)&&Oe(Y,M,m),G&&Ve(m,null,M,"beforeMount"),((Y=v&&v.onVnodeMounted)||G||V)&&bo(()=>{Y&&Oe(Y,M,m),V&&re.enter(p),G&&Ve(m,null,M,"mounted")},F)}return p.nextSibling},b=(p,m,M,F,$,D,R)=>{R=R||!!m.dynamicChildren;const v=m.children,N=v.length;for(let C=0;C{const{slotScopeIds:R}=m;R&&($=$?$.concat(R):R);const v=o(p),N=b(i(p),m,v,M,F,$,D);return N&&xt(N)&&N.data==="]"?i(m.anchor=N):(wt(),c(m.anchor=u("]"),v,N),N)},E=(p,m,M,F,$,D)=>{if(yn(p.parentElement,1)||wt(),m.el=null,D){const N=U(p);for(;;){const C=i(p);if(C&&C!==N)l(C);else break}}const R=i(p),v=o(p);return l(p),n(null,m,v,R,M,F,mn(v),$),R},U=(p,m="[",M="]")=>{let F=0;for(;p;)if(p=i(p),p&&xt(p)&&(p.data===m&&F++,p.data===M)){if(F===0)return i(p);F--}return p},L=(p,m,M)=>{const F=m.parentNode;F&&F.replaceChild(p,m);let $=M;for(;$;)$.vnode.el===m&&($.vnode.el=$.subTree.el=p),$=$.parent},B=p=>p.nodeType===1&&p.tagName==="TEMPLATE";return[a,h]}const Rs="data-allow-mismatch",oc={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function yn(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Rs);)e=e.parentElement;const n=e&&e.getAttribute(Rs);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:n.split(",").includes(oc[t])}}function lc(e,t){if(xt(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1)t(r);else if(xt(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const gt=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Lf(e){K(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,hydrate:i,timeout:o,suspensible:l=!0,onError:c}=e;let u=null,a,h=0;const g=()=>(h++,u=null,b()),b=()=>{let _;return u||(_=u=t().catch(E=>{if(E=E instanceof Error?E:new Error(String(E)),c)return new Promise((U,L)=>{c(E,()=>U(g()),()=>L(E),h+1)});throw E}).then(E=>_!==u&&u?u:(E&&(E.__esModule||E[Symbol.toStringTag]==="Module")&&(E=E.default),a=E,E)))};return ts({name:"AsyncComponentWrapper",__asyncLoader:b,__asyncHydrate(_,E,U){const L=i?()=>{const B=i(U,p=>lc(_,p));B&&(E.bum||(E.bum=[])).push(B)}:U;a?L():b().then(()=>!E.isUnmounted&&L())},get __asyncResolved(){return a},setup(){const _=ue;if(ns(_),a)return()=>or(a,_);const E=p=>{u=null,tn(p,_,13,!r)};if(l&&_.suspense||sn)return b().then(p=>()=>or(p,_)).catch(p=>(E(p),()=>r?le(r,{error:p}):null));const U=oe(!1),L=oe(),B=oe(!!s);return s&&setTimeout(()=>{B.value=!1},s),o!=null&&setTimeout(()=>{if(!U.value&&!L.value){const p=new Error(`Async component timed out after ${o}ms.`);E(p),L.value=p}},o),b().then(()=>{U.value=!0,_.parent&&nn(_.parent.vnode)&&_.parent.update()}).catch(p=>{E(p),L.value=p}),()=>{if(U.value&&a)return or(a,_);if(L.value&&r)return le(r,{error:L.value});if(n&&!B.value)return le(n)}}})}function or(e,t){const{ref:n,props:r,children:s,ce:i}=t.vnode,o=le(e,r,s);return o.ref=n,o.ce=i,delete t.vnode.ce,o}const nn=e=>e.type.__isKeepAlive;function cc(e,t){Ji(e,"a",t)}function ac(e,t){Ji(e,"da",t)}function Ji(e,t,n=ue){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(qn(t,r,n),n){let s=n.parent;for(;s&&s.parent;)nn(s.parent.vnode)&&fc(r,t,n,s),s=s.parent}}function fc(e,t,n,r){const s=qn(t,e,r,!0);Gn(()=>{Vr(r[t],s)},n)}function qn(e,t,n=ue,r=!1){if(n){const s=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{it();const l=rn(n),c=Fe(t,n,e,o);return l(),ot(),c});return r?s.unshift(i):s.push(i),i}}const Ye=e=>(t,n=ue)=>{(!sn||e==="sp")&&qn(e,(...r)=>t(...r),n)},uc=Ye("bm"),It=Ye("m"),dc=Ye("bu"),hc=Ye("u"),zi=Ye("bum"),Gn=Ye("um"),pc=Ye("sp"),gc=Ye("rtg"),mc=Ye("rtc");function yc(e,t=ue){qn("ec",e,t)}const rs="components";function Nf(e,t){return Zi(rs,e,!0,t)||e}const Qi=Symbol.for("v-ndc");function Ff(e){return se(e)?Zi(rs,e,!1)||e:e||Qi}function Zi(e,t,n=!0,r=!1){const s=de||ue;if(s){const i=s.type;if(e===rs){const l=na(i,!1);if(l&&(l===t||l===Ne(t)||l===jn(Ne(t))))return i}const o=Os(s[e]||i[e],t)||Os(s.appContext[e],t);return!o&&r?i:o}}function Os(e,t){return e&&(e[t]||e[Ne(t)]||e[jn(Ne(t))])}function Hf(e,t,n,r){let s;const i=n,o=W(e);if(o||se(e)){const l=o&&pt(e);let c=!1;l&&(c=!Pe(e),e=Un(e)),s=new Array(e.length);for(let u=0,a=e.length;ut(l,c,void 0,i));else{const l=Object.keys(e);s=new Array(l.length);for(let c=0,u=l.length;cNn(t)?!(t.type===ye||t.type===Ee&&!eo(t.children)):!0)?e:null}function Df(e,t){const n={};for(const r in e)n[/[A-Z]/.test(r)?`on:${r}`:wn(r)]=e[r];return n}const Or=e=>e?xo(e)?zn(e):Or(e.parent):null,Ut=fe(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=>Or(e.parent),$root:e=>Or(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>ss(e),$forceUpdate:e=>e.f||(e.f=()=>{es(e.update)}),$nextTick:e=>e.n||(e.n=Kn.bind(e.proxy)),$watch:e=>jc.bind(e)}),lr=(e,t)=>e!==ee&&!e.__isScriptSetup&&z(e,t),vc={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:i,accessCache:o,type:l,appContext:c}=e;let u;if(t[0]!=="$"){const b=o[t];if(b!==void 0)switch(b){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return i[t]}else{if(lr(r,t))return o[t]=1,r[t];if(s!==ee&&z(s,t))return o[t]=2,s[t];if((u=e.propsOptions[0])&&z(u,t))return o[t]=3,i[t];if(n!==ee&&z(n,t))return o[t]=4,n[t];Mr&&(o[t]=0)}}const a=Ut[t];let h,g;if(a)return t==="$attrs"&&ve(e.attrs,"get",""),a(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==ee&&z(n,t))return o[t]=4,n[t];if(g=c.config.globalProperties,z(g,t))return g[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:i}=e;return lr(s,t)?(s[t]=n,!0):r!==ee&&z(r,t)?(r[t]=n,!0):z(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:i}},o){let l;return!!n[o]||e!==ee&&z(e,o)||lr(t,o)||(l=i[0])&&z(l,o)||z(r,o)||z(Ut,o)||z(s.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:z(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function jf(){return bc().slots}function bc(){const e=Jn();return e.setupContext||(e.setupContext=Co(e))}function Ms(e){return W(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Mr=!0;function _c(e){const t=ss(e),n=e.proxy,r=e.ctx;Mr=!1,t.beforeCreate&&Ps(t.beforeCreate,e,"bc");const{data:s,computed:i,methods:o,watch:l,provide:c,inject:u,created:a,beforeMount:h,mounted:g,beforeUpdate:b,updated:_,activated:E,deactivated:U,beforeDestroy:L,beforeUnmount:B,destroyed:p,unmounted:m,render:M,renderTracked:F,renderTriggered:$,errorCaptured:D,serverPrefetch:R,expose:v,inheritAttrs:N,components:C,directives:G,filters:re}=t;if(u&&wc(u,r,null),o)for(const Y in o){const j=o[Y];K(j)&&(r[Y]=j.bind(n))}if(s){const Y=s.call(n,n);ne(Y)&&(e.data=kn(Y))}if(Mr=!0,i)for(const Y in i){const j=i[Y],he=K(j)?j.bind(n,n):K(j.get)?j.get.bind(n,n):Ue,on=!K(j)&&K(j.set)?j.set.bind(n):Ue,lt=ie({get:he,set:on});Object.defineProperty(r,Y,{enumerable:!0,configurable:!0,get:()=>lt.value,set:$e=>lt.value=$e})}if(l)for(const Y in l)to(l[Y],r,n,Y);if(c){const Y=K(c)?c.call(n):c;Reflect.ownKeys(Y).forEach(j=>{Ac(j,Y[j])})}a&&Ps(a,e,"c");function V(Y,j){W(j)?j.forEach(he=>Y(he.bind(n))):j&&Y(j.bind(n))}if(V(uc,h),V(It,g),V(dc,b),V(hc,_),V(cc,E),V(ac,U),V(yc,D),V(mc,F),V(gc,$),V(zi,B),V(Gn,m),V(pc,R),W(v))if(v.length){const Y=e.exposed||(e.exposed={});v.forEach(j=>{Object.defineProperty(Y,j,{get:()=>n[j],set:he=>n[j]=he})})}else e.exposed||(e.exposed={});M&&e.render===Ue&&(e.render=M),N!=null&&(e.inheritAttrs=N),C&&(e.components=C),G&&(e.directives=G),R&&ns(e)}function wc(e,t,n=Ue){W(e)&&(e=Pr(e));for(const r in e){const s=e[r];let i;ne(s)?"default"in s?i=Mt(s.from||r,s.default,!0):i=Mt(s.from||r):i=Mt(s),ae(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[r]=i}}function Ps(e,t,n){Fe(W(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function to(e,t,n,r){let s=r.includes(".")?mo(n,r):()=>n[r];if(se(e)){const i=t[e];K(i)&&Be(s,i)}else if(K(e))Be(s,e.bind(n));else if(ne(e))if(W(e))e.forEach(i=>to(i,t,n,r));else{const i=K(e.handler)?e.handler.bind(n):t[e.handler];K(i)&&Be(s,i,e)}}function ss(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!s.length&&!n&&!r?c=t:(c={},s.length&&s.forEach(u=>Ln(c,u,o,!0)),Ln(c,t,o)),ne(t)&&i.set(t,c),c}function Ln(e,t,n,r=!1){const{mixins:s,extends:i}=t;i&&Ln(e,i,n,!0),s&&s.forEach(o=>Ln(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const l=Ec[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const Ec={data:Is,props:Ls,emits:Ls,methods:Dt,computed:Dt,beforeCreate:be,created:be,beforeMount:be,mounted:be,beforeUpdate:be,updated:be,beforeDestroy:be,beforeUnmount:be,destroyed:be,unmounted:be,activated:be,deactivated:be,errorCaptured:be,serverPrefetch:be,components:Dt,directives:Dt,watch:xc,provide:Is,inject:Sc};function Is(e,t){return t?e?function(){return fe(K(e)?e.call(this,this):e,K(t)?t.call(this,this):t)}:t:e}function Sc(e,t){return Dt(Pr(e),Pr(t))}function Pr(e){if(W(e)){const t={};for(let n=0;n1)return n&&K(t)?t.call(r&&r.proxy):t}}const ro={},so=()=>Object.create(ro),io=e=>Object.getPrototypeOf(e)===ro;function Rc(e,t,n,r=!1){const s={},i=so();e.propsDefaults=Object.create(null),oo(e,t,s,i);for(const o in e.propsOptions[0])o in s||(s[o]=void 0);n?e.props=r?s:Nl(s):e.type.props?e.props=s:e.props=i,e.attrs=i}function Oc(e,t,n,r){const{props:s,attrs:i,vnode:{patchFlag:o}}=e,l=J(s),[c]=e.propsOptions;let u=!1;if((r||o>0)&&!(o&16)){if(o&8){const a=e.vnode.dynamicProps;for(let h=0;h{c=!0;const[g,b]=lo(h,t,!0);fe(o,g),b&&l.push(...b)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!i&&!c)return ne(e)&&r.set(e,Tt),Tt;if(W(i))for(let a=0;ae[0]==="_"||e==="$stable",is=e=>W(e)?e.map(Me):[Me(e)],Pc=(e,t,n)=>{if(t._n)return t;const r=Jl((...s)=>is(t(...s)),n);return r._c=!1,r},ao=(e,t,n)=>{const r=e._ctx;for(const s in e){if(co(s))continue;const i=e[s];if(K(i))t[s]=Pc(s,i,r);else if(i!=null){const o=is(i);t[s]=()=>o}}},fo=(e,t)=>{const n=is(t);e.slots.default=()=>n},uo=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},Ic=(e,t,n)=>{const r=e.slots=so();if(e.vnode.shapeFlag&32){const s=t._;s?(uo(r,t,n),n&&mi(r,"_",s,!0)):ao(t,r)}else t&&fo(e,t)},Lc=(e,t,n)=>{const{vnode:r,slots:s}=e;let i=!0,o=ee;if(r.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:uo(s,t,n):(i=!t.$stable,ao(t,s)),o=t}else t&&(fo(e,t),o={default:1});if(i)for(const l in s)!co(l)&&o[l]==null&&delete s[l]},Se=bo;function Nc(e){return ho(e)}function Fc(e){return ho(e,ic)}function ho(e,t){const n=yi();n.__VUE__=!0;const{insert:r,remove:s,patchProp:i,createElement:o,createText:l,createComment:c,setText:u,setElementText:a,parentNode:h,nextSibling:g,setScopeId:b=Ue,insertStaticContent:_}=e,E=(f,d,y,x=null,w=null,S=null,P=void 0,O=null,A=!!d.dynamicChildren)=>{if(f===d)return;f&&!dt(f,d)&&(x=ln(f),$e(f,w,S,!0),f=null),d.patchFlag===-2&&(A=!1,d.dynamicChildren=null);const{type:T,ref:k,shapeFlag:I}=d;switch(T){case mt:U(f,d,y,x);break;case ye:L(f,d,y,x);break;case Bt:f==null&&B(d,y,x,P);break;case Ee:C(f,d,y,x,w,S,P,O,A);break;default:I&1?M(f,d,y,x,w,S,P,O,A):I&6?G(f,d,y,x,w,S,P,O,A):(I&64||I&128)&&T.process(f,d,y,x,w,S,P,O,A,bt)}k!=null&&w&&In(k,f&&f.ref,S,d||f,!d)},U=(f,d,y,x)=>{if(f==null)r(d.el=l(d.children),y,x);else{const w=d.el=f.el;d.children!==f.children&&u(w,d.children)}},L=(f,d,y,x)=>{f==null?r(d.el=c(d.children||""),y,x):d.el=f.el},B=(f,d,y,x)=>{[f.el,f.anchor]=_(f.children,d,y,x,f.el,f.anchor)},p=({el:f,anchor:d},y,x)=>{let w;for(;f&&f!==d;)w=g(f),r(f,y,x),f=w;r(d,y,x)},m=({el:f,anchor:d})=>{let y;for(;f&&f!==d;)y=g(f),s(f),f=y;s(d)},M=(f,d,y,x,w,S,P,O,A)=>{d.type==="svg"?P="svg":d.type==="math"&&(P="mathml"),f==null?F(d,y,x,w,S,P,O,A):R(f,d,w,S,P,O,A)},F=(f,d,y,x,w,S,P,O)=>{let A,T;const{props:k,shapeFlag:I,transition:H,dirs:q}=f;if(A=f.el=o(f.type,S,k&&k.is,k),I&8?a(A,f.children):I&16&&D(f.children,A,null,x,w,cr(f,S),P,O),q&&Ve(f,null,x,"created"),$(A,f,f.scopeId,P,x),k){for(const te in k)te!=="value"&&!At(te)&&i(A,te,null,k[te],S,x);"value"in k&&i(A,"value",null,k.value,S),(T=k.onVnodeBeforeMount)&&Oe(T,x,f)}q&&Ve(f,null,x,"beforeMount");const X=po(w,H);X&&H.beforeEnter(A),r(A,d,y),((T=k&&k.onVnodeMounted)||X||q)&&Se(()=>{T&&Oe(T,x,f),X&&H.enter(A),q&&Ve(f,null,x,"mounted")},w)},$=(f,d,y,x,w)=>{if(y&&b(f,y),x)for(let S=0;S{for(let T=A;T{const O=d.el=f.el;let{patchFlag:A,dynamicChildren:T,dirs:k}=d;A|=f.patchFlag&16;const I=f.props||ee,H=d.props||ee;let q;if(y&&ct(y,!1),(q=H.onVnodeBeforeUpdate)&&Oe(q,y,d,f),k&&Ve(d,f,y,"beforeUpdate"),y&&ct(y,!0),(I.innerHTML&&H.innerHTML==null||I.textContent&&H.textContent==null)&&a(O,""),T?v(f.dynamicChildren,T,O,y,x,cr(d,w),S):P||j(f,d,O,null,y,x,cr(d,w),S,!1),A>0){if(A&16)N(O,I,H,y,w);else if(A&2&&I.class!==H.class&&i(O,"class",null,H.class,w),A&4&&i(O,"style",I.style,H.style,w),A&8){const X=d.dynamicProps;for(let te=0;te{q&&Oe(q,y,d,f),k&&Ve(d,f,y,"updated")},x)},v=(f,d,y,x,w,S,P)=>{for(let O=0;O{if(d!==y){if(d!==ee)for(const S in d)!At(S)&&!(S in y)&&i(f,S,d[S],null,w,x);for(const S in y){if(At(S))continue;const P=y[S],O=d[S];P!==O&&S!=="value"&&i(f,S,O,P,w,x)}"value"in y&&i(f,"value",d.value,y.value,w)}},C=(f,d,y,x,w,S,P,O,A)=>{const T=d.el=f?f.el:l(""),k=d.anchor=f?f.anchor:l("");let{patchFlag:I,dynamicChildren:H,slotScopeIds:q}=d;q&&(O=O?O.concat(q):q),f==null?(r(T,y,x),r(k,y,x),D(d.children||[],y,k,w,S,P,O,A)):I>0&&I&64&&H&&f.dynamicChildren?(v(f.dynamicChildren,H,y,w,S,P,O),(d.key!=null||w&&d===w.subTree)&&os(f,d,!0)):j(f,d,y,k,w,S,P,O,A)},G=(f,d,y,x,w,S,P,O,A)=>{d.slotScopeIds=O,f==null?d.shapeFlag&512?w.ctx.activate(d,y,x,P,A):re(d,y,x,w,S,P,A):ce(f,d,A)},re=(f,d,y,x,w,S,P)=>{const O=f.component=Qc(f,x,w);if(nn(f)&&(O.ctx.renderer=bt),Zc(O,!1,P),O.asyncDep){if(w&&w.registerDep(O,V,P),!f.el){const A=O.subTree=le(ye);L(null,A,d,y)}}else V(O,f,d,y,w,S,P)},ce=(f,d,y)=>{const x=d.component=f.component;if(Wc(f,d,y))if(x.asyncDep&&!x.asyncResolved){Y(x,d,y);return}else x.next=d,x.update();else d.el=f.el,x.vnode=d},V=(f,d,y,x,w,S,P)=>{const O=()=>{if(f.isMounted){let{next:I,bu:H,u:q,parent:X,vnode:te}=f;{const Te=go(f);if(Te){I&&(I.el=te.el,Y(f,I,P)),Te.asyncDep.then(()=>{f.isUnmounted||O()});return}}let Q=I,xe;ct(f,!1),I?(I.el=te.el,Y(f,I,P)):I=te,H&&En(H),(xe=I.props&&I.props.onVnodeBeforeUpdate)&&Oe(xe,X,I,te),ct(f,!0);const pe=ar(f),Ie=f.subTree;f.subTree=pe,E(Ie,pe,h(Ie.el),ln(Ie),f,w,S),I.el=pe.el,Q===null&&Kc(f,pe.el),q&&Se(q,w),(xe=I.props&&I.props.onVnodeUpdated)&&Se(()=>Oe(xe,X,I,te),w)}else{let I;const{el:H,props:q}=d,{bm:X,m:te,parent:Q,root:xe,type:pe}=f,Ie=gt(d);if(ct(f,!1),X&&En(X),!Ie&&(I=q&&q.onVnodeBeforeMount)&&Oe(I,Q,d),ct(f,!0),H&&er){const Te=()=>{f.subTree=ar(f),er(H,f.subTree,f,w,null)};Ie&&pe.__asyncHydrate?pe.__asyncHydrate(H,f,Te):Te()}else{xe.ce&&xe.ce._injectChildStyle(pe);const Te=f.subTree=ar(f);E(null,Te,y,x,f,w,S),d.el=Te.el}if(te&&Se(te,w),!Ie&&(I=q&&q.onVnodeMounted)){const Te=d;Se(()=>Oe(I,Q,Te),w)}(d.shapeFlag&256||Q&>(Q.vnode)&&Q.vnode.shapeFlag&256)&&f.a&&Se(f.a,w),f.isMounted=!0,d=y=x=null}};f.scope.on();const A=f.effect=new Ei(O);f.scope.off();const T=f.update=A.run.bind(A),k=f.job=A.runIfDirty.bind(A);k.i=f,k.id=f.uid,A.scheduler=()=>es(k),ct(f,!0),T()},Y=(f,d,y)=>{d.component=f;const x=f.vnode.props;f.vnode=d,f.next=null,Oc(f,d.props,x,y),Lc(f,d.children,y),it(),Ss(f),ot()},j=(f,d,y,x,w,S,P,O,A=!1)=>{const T=f&&f.children,k=f?f.shapeFlag:0,I=d.children,{patchFlag:H,shapeFlag:q}=d;if(H>0){if(H&128){on(T,I,y,x,w,S,P,O,A);return}else if(H&256){he(T,I,y,x,w,S,P,O,A);return}}q&8?(k&16&&Lt(T,w,S),I!==T&&a(y,I)):k&16?q&16?on(T,I,y,x,w,S,P,O,A):Lt(T,w,S,!0):(k&8&&a(y,""),q&16&&D(I,y,x,w,S,P,O,A))},he=(f,d,y,x,w,S,P,O,A)=>{f=f||Tt,d=d||Tt;const T=f.length,k=d.length,I=Math.min(T,k);let H;for(H=0;Hk?Lt(f,w,S,!0,!1,I):D(d,y,x,w,S,P,O,A,I)},on=(f,d,y,x,w,S,P,O,A)=>{let T=0;const k=d.length;let I=f.length-1,H=k-1;for(;T<=I&&T<=H;){const q=f[T],X=d[T]=A?et(d[T]):Me(d[T]);if(dt(q,X))E(q,X,y,null,w,S,P,O,A);else break;T++}for(;T<=I&&T<=H;){const q=f[I],X=d[H]=A?et(d[H]):Me(d[H]);if(dt(q,X))E(q,X,y,null,w,S,P,O,A);else break;I--,H--}if(T>I){if(T<=H){const q=H+1,X=qH)for(;T<=I;)$e(f[T],w,S,!0),T++;else{const q=T,X=T,te=new Map;for(T=X;T<=H;T++){const Ce=d[T]=A?et(d[T]):Me(d[T]);Ce.key!=null&&te.set(Ce.key,T)}let Q,xe=0;const pe=H-X+1;let Ie=!1,Te=0;const Nt=new Array(pe);for(T=0;T=pe){$e(Ce,w,S,!0);continue}let De;if(Ce.key!=null)De=te.get(Ce.key);else for(Q=X;Q<=H;Q++)if(Nt[Q-X]===0&&dt(Ce,d[Q])){De=Q;break}De===void 0?$e(Ce,w,S,!0):(Nt[De-X]=T+1,De>=Te?Te=De:Ie=!0,E(Ce,d[De],y,null,w,S,P,O,A),xe++)}const ps=Ie?Hc(Nt):Tt;for(Q=ps.length-1,T=pe-1;T>=0;T--){const Ce=X+T,De=d[Ce],gs=Ce+1{const{el:S,type:P,transition:O,children:A,shapeFlag:T}=f;if(T&6){lt(f.component.subTree,d,y,x);return}if(T&128){f.suspense.move(d,y,x);return}if(T&64){P.move(f,d,y,bt);return}if(P===Ee){r(S,d,y);for(let I=0;IO.enter(S),w);else{const{leave:I,delayLeave:H,afterLeave:q}=O,X=()=>r(S,d,y),te=()=>{I(S,()=>{X(),q&&q()})};H?H(S,X,te):te()}else r(S,d,y)},$e=(f,d,y,x=!1,w=!1)=>{const{type:S,props:P,ref:O,children:A,dynamicChildren:T,shapeFlag:k,patchFlag:I,dirs:H,cacheIndex:q}=f;if(I===-2&&(w=!1),O!=null&&In(O,null,y,f,!0),q!=null&&(d.renderCache[q]=void 0),k&256){d.ctx.deactivate(f);return}const X=k&1&&H,te=!gt(f);let Q;if(te&&(Q=P&&P.onVnodeBeforeUnmount)&&Oe(Q,d,f),k&6)Jo(f.component,y,x);else{if(k&128){f.suspense.unmount(y,x);return}X&&Ve(f,null,d,"beforeUnmount"),k&64?f.type.remove(f,d,y,bt,x):T&&!T.hasOnce&&(S!==Ee||I>0&&I&64)?Lt(T,d,y,!1,!0):(S===Ee&&I&384||!w&&k&16)&&Lt(A,d,y),x&&ds(f)}(te&&(Q=P&&P.onVnodeUnmounted)||X)&&Se(()=>{Q&&Oe(Q,d,f),X&&Ve(f,null,d,"unmounted")},y)},ds=f=>{const{type:d,el:y,anchor:x,transition:w}=f;if(d===Ee){Xo(y,x);return}if(d===Bt){m(f);return}const S=()=>{s(y),w&&!w.persisted&&w.afterLeave&&w.afterLeave()};if(f.shapeFlag&1&&w&&!w.persisted){const{leave:P,delayLeave:O}=w,A=()=>P(y,S);O?O(f.el,S,A):A()}else S()},Xo=(f,d)=>{let y;for(;f!==d;)y=g(f),s(f),f=y;s(d)},Jo=(f,d,y)=>{const{bum:x,scope:w,job:S,subTree:P,um:O,m:A,a:T}=f;Fs(A),Fs(T),x&&En(x),w.stop(),S&&(S.flags|=8,$e(P,f,d,y)),O&&Se(O,d),Se(()=>{f.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&f.asyncDep&&!f.asyncResolved&&f.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},Lt=(f,d,y,x=!1,w=!1,S=0)=>{for(let P=S;P{if(f.shapeFlag&6)return ln(f.component.subTree);if(f.shapeFlag&128)return f.suspense.next();const d=g(f.anchor||f.el),y=d&&d[Bi];return y?g(y):d};let Qn=!1;const hs=(f,d,y)=>{f==null?d._vnode&&$e(d._vnode,null,null,!0):E(d._vnode||null,f,d,null,null,null,y),d._vnode=f,Qn||(Qn=!0,Ss(),Mn(),Qn=!1)},bt={p:E,um:$e,m:lt,r:ds,mt:re,mc:D,pc:j,pbc:v,n:ln,o:e};let Zn,er;return t&&([Zn,er]=t(bt)),{render:hs,hydrate:Zn,createApp:Cc(hs,Zn)}}function cr({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function ct({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function po(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function os(e,t,n=!1){const r=e.children,s=t.children;if(W(r)&&W(s))for(let i=0;i>1,e[n[l]]0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function go(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:go(t)}function Fs(e){if(e)for(let t=0;tMt($c);function ls(e,t){return Yn(e,null,t)}function Vf(e,t){return Yn(e,null,{flush:"post"})}function Be(e,t,n){return Yn(e,t,n)}function Yn(e,t,n=ee){const{immediate:r,deep:s,flush:i,once:o}=n,l=fe({},n);let c;if(sn)if(i==="sync"){const g=Dc();c=g.__watcherHandles||(g.__watcherHandles=[])}else if(!t||r)l.once=!0;else return{stop:Ue,resume:Ue,pause:Ue};const u=ue;l.call=(g,b,_)=>Fe(g,u,b,_);let a=!1;i==="post"?l.scheduler=g=>{Se(g,u&&u.suspense)}:i!=="sync"&&(a=!0,l.scheduler=(g,b)=>{b?g():es(g)}),l.augmentJob=g=>{t&&(g.flags|=4),a&&(g.flags|=2,u&&(g.id=u.uid,g.i=u))};const h=ql(e,t,l);return c&&c.push(h),h}function jc(e,t,n){const r=this.proxy,s=se(e)?e.includes(".")?mo(r,e):()=>r[e]:e.bind(r,r);let i;K(t)?i=t:(i=t.handler,n=t);const o=rn(this),l=Yn(s,i.bind(r),n);return o(),l}function mo(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;st==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ne(t)}Modifiers`]||e[`${st(t)}Modifiers`];function Uc(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ee;let s=n;const i=t.startsWith("update:"),o=i&&Vc(r,t.slice(7));o&&(o.trim&&(s=n.map(a=>se(a)?a.trim():a)),o.number&&(s=n.map(Sr)));let l,c=r[l=wn(t)]||r[l=wn(Ne(t))];!c&&i&&(c=r[l=wn(st(t))]),c&&Fe(c,e,6,s);const u=r[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Fe(u,e,6,s)}}function yo(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const i=e.emits;let o={},l=!1;if(!K(e)){const c=u=>{const a=yo(u,t,!0);a&&(l=!0,fe(o,a))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(ne(e)&&r.set(e,null),null):(W(i)?i.forEach(c=>o[c]=null):fe(o,i),ne(e)&&r.set(e,o),o)}function Xn(e,t){return!e||!Zt(t)?!1:(t=t.slice(2).replace(/Once$/,""),z(e,t[0].toLowerCase()+t.slice(1))||z(e,st(t))||z(e,t))}function ar(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[i],slots:o,attrs:l,emit:c,render:u,renderCache:a,props:h,data:g,setupState:b,ctx:_,inheritAttrs:E}=e,U=Pn(e);let L,B;try{if(n.shapeFlag&4){const m=s||r,M=m;L=Me(u.call(M,m,a,h,b,g,_)),B=l}else{const m=t;L=Me(m.length>1?m(h,{attrs:l,slots:o,emit:c}):m(h,null)),B=t.props?l:Bc(l)}}catch(m){kt.length=0,tn(m,e,1),L=le(ye)}let p=L;if(B&&E!==!1){const m=Object.keys(B),{shapeFlag:M}=p;m.length&&M&7&&(i&&m.some(jr)&&(B=kc(B,i)),p=nt(p,B,!1,!0))}return n.dirs&&(p=nt(p,null,!1,!0),p.dirs=p.dirs?p.dirs.concat(n.dirs):n.dirs),n.transition&&Xt(p,n.transition),L=p,Pn(U),L}const Bc=e=>{let t;for(const n in e)(n==="class"||n==="style"||Zt(n))&&((t||(t={}))[n]=e[n]);return t},kc=(e,t)=>{const n={};for(const r in e)(!jr(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Wc(e,t,n){const{props:r,children:s,component:i}=e,{props:o,children:l,patchFlag:c}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?Hs(r,o,u):!!o;if(c&8){const a=t.dynamicProps;for(let h=0;he.__isSuspense;function bo(e,t){t&&t.pendingBranch?W(e)?t.effects.push(...e):t.effects.push(e):Xl(e)}const Ee=Symbol.for("v-fgt"),mt=Symbol.for("v-txt"),ye=Symbol.for("v-cmt"),Bt=Symbol.for("v-stc"),kt=[];let Ae=null;function Lr(e=!1){kt.push(Ae=e?null:[])}function qc(){kt.pop(),Ae=kt[kt.length-1]||null}let Jt=1;function $s(e){Jt+=e,e<0&&Ae&&(Ae.hasOnce=!0)}function _o(e){return e.dynamicChildren=Jt>0?Ae||Tt:null,qc(),Jt>0&&Ae&&Ae.push(e),e}function Uf(e,t,n,r,s,i){return _o(Eo(e,t,n,r,s,i,!0))}function Nr(e,t,n,r,s){return _o(le(e,t,n,r,s,!0))}function Nn(e){return e?e.__v_isVNode===!0:!1}function dt(e,t){return e.type===t.type&&e.key===t.key}const wo=({key:e})=>e??null,Tn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?se(e)||ae(e)||K(e)?{i:de,r:e,k:t,f:!!n}:e:null);function Eo(e,t=null,n=null,r=0,s=null,i=e===Ee?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&wo(t),ref:t&&Tn(t),scopeId:Ui,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:de};return l?(cs(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=se(n)?8:16),Jt>0&&!o&&Ae&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Ae.push(c),c}const le=Gc;function Gc(e,t=null,n=null,r=0,s=null,i=!1){if((!e||e===Qi)&&(e=ye),Nn(e)){const l=nt(e,t,!0);return n&&cs(l,n),Jt>0&&!i&&Ae&&(l.shapeFlag&6?Ae[Ae.indexOf(e)]=l:Ae.push(l)),l.patchFlag=-2,l}if(ra(e)&&(e=e.__vccOpts),t){t=Yc(t);let{class:l,style:c}=t;l&&!se(l)&&(t.class=kr(l)),ne(c)&&(Jr(c)&&!W(c)&&(c=fe({},c)),t.style=Br(c))}const o=se(e)?1:vo(e)?128:ki(e)?64:ne(e)?4:K(e)?2:0;return Eo(e,t,n,r,s,o,i,!0)}function Yc(e){return e?Jr(e)||io(e)?fe({},e):e:null}function nt(e,t,n=!1,r=!1){const{props:s,ref:i,patchFlag:o,children:l,transition:c}=e,u=t?Xc(s||{},t):s,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&wo(u),ref:t&&t.ref?n&&i?W(i)?i.concat(Tn(t)):[i,Tn(t)]:Tn(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ee?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&nt(e.ssContent),ssFallback:e.ssFallback&&nt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&Xt(a,c.clone(a)),a}function So(e=" ",t=0){return le(mt,null,e,t)}function Bf(e,t){const n=le(Bt,null,e);return n.staticCount=t,n}function kf(e="",t=!1){return t?(Lr(),Nr(ye,null,e)):le(ye,null,e)}function Me(e){return e==null||typeof e=="boolean"?le(ye):W(e)?le(Ee,null,e.slice()):typeof e=="object"?et(e):le(mt,null,String(e))}function et(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:nt(e)}function cs(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(W(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),cs(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!io(t)?t._ctx=de:s===3&&de&&(de.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else K(t)?(t={default:t,_ctx:de},n=32):(t=String(t),r&64?(n=16,t=[So(t)]):n=8);e.children=t,e.shapeFlag|=n}function Xc(...e){const t={};for(let n=0;nue||de;let Fn,Fr;{const e=yi(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),i=>{s.length>1?s.forEach(o=>o(i)):s[0](i)}};Fn=t("__VUE_INSTANCE_SETTERS__",n=>ue=n),Fr=t("__VUE_SSR_SETTERS__",n=>sn=n)}const rn=e=>{const t=ue;return Fn(e),e.scope.on(),()=>{e.scope.off(),Fn(t)}},Ds=()=>{ue&&ue.scope.off(),Fn(null)};function xo(e){return e.vnode.shapeFlag&4}let sn=!1;function Zc(e,t=!1,n=!1){t&&Fr(t);const{props:r,children:s}=e.vnode,i=xo(e);Rc(e,r,i,t),Ic(e,s,n);const o=i?ea(e,t):void 0;return t&&Fr(!1),o}function ea(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,vc);const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?Co(e):null,i=rn(e);it();const o=en(r,e,0,[e.props,s]);if(ot(),i(),hi(o)){if(gt(e)||ns(e),o.then(Ds,Ds),t)return o.then(l=>{js(e,l,t)}).catch(l=>{tn(l,e,0)});e.asyncDep=o}else js(e,o,t)}else To(e,t)}function js(e,t,n){K(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ne(t)&&(e.setupState=$i(t)),To(e,n)}let Vs;function To(e,t,n){const r=e.type;if(!e.render){if(!t&&Vs&&!r.render){const s=r.template||ss(e).template;if(s){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:c}=r,u=fe(fe({isCustomElement:i,delimiters:l},o),c);r.render=Vs(s,u)}}e.render=r.render||Ue}{const s=rn(e);it();try{_c(e)}finally{ot(),s()}}}const ta={get(e,t){return ve(e,"get",""),e[t]}};function Co(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,ta),slots:e.slots,emit:e.emit,expose:t}}function zn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy($i(Sn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ut)return Ut[n](e)},has(t,n){return n in t||n in Ut}})):e.proxy}function na(e,t=!0){return K(e)?e.displayName||e.name:e.name||t&&e.__name}function ra(e){return K(e)&&"__vccOpts"in e}const ie=(e,t)=>Wl(e,t,sn);function Hr(e,t,n){const r=arguments.length;return r===2?ne(t)&&!W(t)?Nn(t)?le(e,null,[t]):le(e,t):le(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Nn(n)&&(n=[n]),le(e,t,n))}const sa="3.5.5";/** -* @vue/runtime-dom v3.5.5 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let $r;const Us=typeof window<"u"&&window.trustedTypes;if(Us)try{$r=Us.createPolicy("vue",{createHTML:e=>e})}catch{}const Ao=$r?e=>$r.createHTML(e):e=>e,ia="http://www.w3.org/2000/svg",oa="http://www.w3.org/1998/Math/MathML",Ke=typeof document<"u"?document:null,Bs=Ke&&Ke.createElement("template"),la={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?Ke.createElementNS(ia,e):t==="mathml"?Ke.createElementNS(oa,e):n?Ke.createElement(e,{is:n}):Ke.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>Ke.createTextNode(e),createComment:e=>Ke.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ke.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,i){const o=n?n.previousSibling:t.lastChild;if(s&&(s===i||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===i||!(s=s.nextSibling)););else{Bs.innerHTML=Ao(r==="svg"?`${e}`:r==="mathml"?`${e}`:e);const l=Bs.content;if(r==="svg"||r==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Je="transition",Ht="animation",zt=Symbol("_vtc"),Ro={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},ca=fe({},Ki,Ro),aa=e=>(e.displayName="Transition",e.props=ca,e),Wf=aa((e,{slots:t})=>Hr(nc,fa(e),t)),at=(e,t=[])=>{W(e)?e.forEach(n=>n(...t)):e&&e(...t)},ks=e=>e?W(e)?e.some(t=>t.length>1):e.length>1:!1;function fa(e){const t={};for(const C in e)C in Ro||(t[C]=e[C]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:u=o,appearToClass:a=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:g=`${n}-leave-active`,leaveToClass:b=`${n}-leave-to`}=e,_=ua(s),E=_&&_[0],U=_&&_[1],{onBeforeEnter:L,onEnter:B,onEnterCancelled:p,onLeave:m,onLeaveCancelled:M,onBeforeAppear:F=L,onAppear:$=B,onAppearCancelled:D=p}=t,R=(C,G,re)=>{ft(C,G?a:l),ft(C,G?u:o),re&&re()},v=(C,G)=>{C._isLeaving=!1,ft(C,h),ft(C,b),ft(C,g),G&&G()},N=C=>(G,re)=>{const ce=C?$:B,V=()=>R(G,C,re);at(ce,[G,V]),Ws(()=>{ft(G,C?c:i),ze(G,C?a:l),ks(ce)||Ks(G,r,E,V)})};return fe(t,{onBeforeEnter(C){at(L,[C]),ze(C,i),ze(C,o)},onBeforeAppear(C){at(F,[C]),ze(C,c),ze(C,u)},onEnter:N(!1),onAppear:N(!0),onLeave(C,G){C._isLeaving=!0;const re=()=>v(C,G);ze(C,h),ze(C,g),pa(),Ws(()=>{C._isLeaving&&(ft(C,h),ze(C,b),ks(m)||Ks(C,r,U,re))}),at(m,[C,re])},onEnterCancelled(C){R(C,!1),at(p,[C])},onAppearCancelled(C){R(C,!0),at(D,[C])},onLeaveCancelled(C){v(C),at(M,[C])}})}function ua(e){if(e==null)return null;if(ne(e))return[fr(e.enter),fr(e.leave)];{const t=fr(e);return[t,t]}}function fr(e){return nl(e)}function ze(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[zt]||(e[zt]=new Set)).add(t)}function ft(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[zt];n&&(n.delete(t),n.size||(e[zt]=void 0))}function Ws(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let da=0;function Ks(e,t,n,r){const s=e._endId=++da,i=()=>{s===e._endId&&r()};if(n)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=ha(e,t);if(!o)return r();const u=o+"end";let a=0;const h=()=>{e.removeEventListener(u,g),i()},g=b=>{b.target===e&&++a>=c&&h()};setTimeout(()=>{a(n[_]||"").split(", "),s=r(`${Je}Delay`),i=r(`${Je}Duration`),o=qs(s,i),l=r(`${Ht}Delay`),c=r(`${Ht}Duration`),u=qs(l,c);let a=null,h=0,g=0;t===Je?o>0&&(a=Je,h=o,g=i.length):t===Ht?u>0&&(a=Ht,h=u,g=c.length):(h=Math.max(o,u),a=h>0?o>u?Je:Ht:null,g=a?a===Je?i.length:c.length:0);const b=a===Je&&/\b(transform|all)(,|$)/.test(r(`${Je}Property`).toString());return{type:a,timeout:h,propCount:g,hasTransform:b}}function qs(e,t){for(;e.lengthGs(n)+Gs(e[r])))}function Gs(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function pa(){return document.body.offsetHeight}function ga(e,t,n){const r=e[zt];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Hn=Symbol("_vod"),Oo=Symbol("_vsh"),Kf={beforeMount(e,{value:t},{transition:n}){e[Hn]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):$t(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),$t(e,!0),r.enter(e)):r.leave(e,()=>{$t(e,!1)}):$t(e,t))},beforeUnmount(e,{value:t}){$t(e,t)}};function $t(e,t){e.style.display=t?e[Hn]:"none",e[Oo]=!t}const ma=Symbol(""),ya=/(^|;)\s*display\s*:/;function va(e,t,n){const r=e.style,s=se(n);let i=!1;if(n&&!s){if(t)if(se(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&Cn(r,l,"")}else for(const o in t)n[o]==null&&Cn(r,o,"");for(const o in n)o==="display"&&(i=!0),Cn(r,o,n[o])}else if(s){if(t!==n){const o=r[ma];o&&(n+=";"+o),r.cssText=n,i=ya.test(n)}}else t&&e.removeAttribute("style");Hn in e&&(e[Hn]=i?r.display:"",e[Oo]&&(r.display="none"))}const Ys=/\s*!important$/;function Cn(e,t,n){if(W(n))n.forEach(r=>Cn(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=ba(e,t);Ys.test(n)?e.setProperty(st(r),n.replace(Ys,""),"important"):e[r]=n}}const Xs=["Webkit","Moz","ms"],ur={};function ba(e,t){const n=ur[t];if(n)return n;let r=Ne(t);if(r!=="filter"&&r in e)return ur[t]=r;r=jn(r);for(let s=0;sdr||(xa.then(()=>dr=0),dr=Date.now());function Ca(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Fe(Aa(r,n.value),t,5,[r])};return n.value=e,n.attached=Ta(),n}function Aa(e,t){if(W(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const ei=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Ra=(e,t,n,r,s,i)=>{const o=s==="svg";t==="class"?ga(e,r,o):t==="style"?va(e,n,r):Zt(t)?jr(t)||Ea(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Oa(e,t,r,o))?(_a(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&zs(e,t,r,o,i,t!=="value")):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),zs(e,t,r,o))};function Oa(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&ei(t)&&K(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return ei(t)&&se(n)?!1:!!(t in e||e._isVueCE&&(/[A-Z]/.test(t)||!se(n)))}const ti=e=>{const t=e.props["onUpdate:modelValue"]||!1;return W(t)?n=>En(t,n):t};function Ma(e){e.target.composing=!0}function ni(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const hr=Symbol("_assign"),qf={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[hr]=ti(s);const i=r||s.props&&s.props.type==="number";St(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;n&&(l=l.trim()),i&&(l=Sr(l)),e[hr](l)}),n&&St(e,"change",()=>{e.value=e.value.trim()}),t||(St(e,"compositionstart",Ma),St(e,"compositionend",ni),St(e,"change",ni))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:i}},o){if(e[hr]=ti(o),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?Sr(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||s&&e.value.trim()===c)||(e.value=c))}},Pa=["ctrl","shift","alt","meta"],Ia={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Pa.some(n=>e[`${n}Key`]&&!t.includes(n))},Gf=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(s,...i)=>{for(let o=0;o{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=s=>{if(!("key"in s))return;const i=st(s.key);if(t.some(o=>o===i||La[o]===i))return e(s)})},Mo=fe({patchProp:Ra},la);let Wt,ri=!1;function Na(){return Wt||(Wt=Nc(Mo))}function Fa(){return Wt=ri?Wt:Fc(Mo),ri=!0,Wt}const Xf=(...e)=>{const t=Na().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Io(r);if(!s)return;const i=t._component;!K(i)&&!i.render&&!i.template&&(i.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const o=n(s,!1,Po(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),o},t},Jf=(...e)=>{const t=Fa().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Io(r);if(s)return n(s,!0,Po(s))},t};function Po(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Io(e){return se(e)?document.querySelector(e):e}const zf=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},Ha="modulepreload",$a=function(e){return"/"+e},si={},Qf=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),o=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));s=Promise.all(n.map(l=>{if(l=$a(l),l in si)return;si[l]=!0;const c=l.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${u}`))return;const a=document.createElement("link");if(a.rel=c?"stylesheet":Ha,c||(a.as="script",a.crossOrigin=""),a.href=l,o&&a.setAttribute("nonce",o),document.head.appendChild(a),c)return new Promise((h,g)=>{a.addEventListener("load",h),a.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${l}`)))})}))}return s.then(()=>t()).catch(i=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=i,window.dispatchEvent(o),!o.defaultPrevented)throw i})},Da=window.__VP_SITE_DATA__;function as(e){return wi()?(ul(e),!0):!1}function ke(e){return typeof e=="function"?e():Hi(e)}const Lo=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const ja=Object.prototype.toString,Va=e=>ja.call(e)==="[object Object]",Qt=()=>{},ii=Ua();function Ua(){var e,t;return Lo&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function Ba(e,t){function n(...r){return new Promise((s,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(i)})}return n}const No=e=>e();function ka(e,t={}){let n,r,s=Qt;const i=l=>{clearTimeout(l),s(),s=Qt};return l=>{const c=ke(e),u=ke(t.maxWait);return n&&i(n),c<=0||u!==void 0&&u<=0?(r&&(i(r),r=null),Promise.resolve(l())):new Promise((a,h)=>{s=t.rejectOnCancel?h:a,u&&!r&&(r=setTimeout(()=>{n&&i(n),r=null,a(l())},u)),n=setTimeout(()=>{r&&i(r),r=null,a(l())},c)})}}function Wa(e=No){const t=oe(!0);function n(){t.value=!1}function r(){t.value=!0}const s=(...i)=>{t.value&&e(...i)};return{isActive:Wn(t),pause:n,resume:r,eventFilter:s}}function Ka(e){return Jn()}function Fo(...e){if(e.length!==1)return Ul(...e);const t=e[0];return typeof t=="function"?Wn(Dl(()=>({get:t,set:Qt}))):oe(t)}function Ho(e,t,n={}){const{eventFilter:r=No,...s}=n;return Be(e,Ba(r,t),s)}function qa(e,t,n={}){const{eventFilter:r,...s}=n,{eventFilter:i,pause:o,resume:l,isActive:c}=Wa(r);return{stop:Ho(e,t,{...s,eventFilter:i}),pause:o,resume:l,isActive:c}}function fs(e,t=!0,n){Ka()?It(e,n):t?e():Kn(e)}function Zf(e,t,n={}){const{debounce:r=0,maxWait:s=void 0,...i}=n;return Ho(e,t,{...i,eventFilter:ka(r,{maxWait:s})})}function eu(e,t,n){let r;ae(n)?r={evaluating:n}:r={};const{lazy:s=!1,evaluating:i=void 0,shallow:o=!0,onError:l=Qt}=r,c=oe(!s),u=o?Qr(t):oe(t);let a=0;return ls(async h=>{if(!c.value)return;a++;const g=a;let b=!1;i&&Promise.resolve().then(()=>{i.value=!0});try{const _=await e(E=>{h(()=>{i&&(i.value=!1),b||E()})});g===a&&(u.value=_)}catch(_){l(_)}finally{i&&g===a&&(i.value=!1),b=!0}}),s?ie(()=>(c.value=!0,u.value)):u}function $o(e){var t;const n=ke(e);return(t=n==null?void 0:n.$el)!=null?t:n}const He=Lo?window:void 0;function Pt(...e){let t,n,r,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,s]=e,t=He):[t,n,r,s]=e,!t)return Qt;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const i=[],o=()=>{i.forEach(a=>a()),i.length=0},l=(a,h,g,b)=>(a.addEventListener(h,g,b),()=>a.removeEventListener(h,g,b)),c=Be(()=>[$o(t),ke(s)],([a,h])=>{if(o(),!a)return;const g=Va(h)?{...h}:h;i.push(...n.flatMap(b=>r.map(_=>l(a,b,_,g))))},{immediate:!0,flush:"post"}),u=()=>{c(),o()};return as(u),u}function Ga(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function tu(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:s=He,eventName:i="keydown",passive:o=!1,dedupe:l=!1}=r,c=Ga(t);return Pt(s,i,a=>{a.repeat&&ke(l)||c(a)&&n(a)},o)}function Ya(){const e=oe(!1),t=Jn();return t&&It(()=>{e.value=!0},t),e}function Xa(e){const t=Ya();return ie(()=>(t.value,!!e()))}function Do(e,t={}){const{window:n=He}=t,r=Xa(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let s;const i=oe(!1),o=u=>{i.value=u.matches},l=()=>{s&&("removeEventListener"in s?s.removeEventListener("change",o):s.removeListener(o))},c=ls(()=>{r.value&&(l(),s=n.matchMedia(ke(e)),"addEventListener"in s?s.addEventListener("change",o):s.addListener(o),i.value=s.matches)});return as(()=>{c(),l(),s=void 0}),i}const vn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},bn="__vueuse_ssr_handlers__",Ja=za();function za(){return bn in vn||(vn[bn]=vn[bn]||{}),vn[bn]}function jo(e,t){return Ja[e]||t}function Qa(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const Za={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},oi="vueuse-storage";function us(e,t,n,r={}){var s;const{flush:i="pre",deep:o=!0,listenToStorageChanges:l=!0,writeDefaults:c=!0,mergeDefaults:u=!1,shallow:a,window:h=He,eventFilter:g,onError:b=v=>{console.error(v)},initOnMounted:_}=r,E=(a?Qr:oe)(typeof t=="function"?t():t);if(!n)try{n=jo("getDefaultStorage",()=>{var v;return(v=He)==null?void 0:v.localStorage})()}catch(v){b(v)}if(!n)return E;const U=ke(t),L=Qa(U),B=(s=r.serializer)!=null?s:Za[L],{pause:p,resume:m}=qa(E,()=>F(E.value),{flush:i,deep:o,eventFilter:g});h&&l&&fs(()=>{Pt(h,"storage",D),Pt(h,oi,R),_&&D()}),_||D();function M(v,N){h&&h.dispatchEvent(new CustomEvent(oi,{detail:{key:e,oldValue:v,newValue:N,storageArea:n}}))}function F(v){try{const N=n.getItem(e);if(v==null)M(N,null),n.removeItem(e);else{const C=B.write(v);N!==C&&(n.setItem(e,C),M(N,C))}}catch(N){b(N)}}function $(v){const N=v?v.newValue:n.getItem(e);if(N==null)return c&&U!=null&&n.setItem(e,B.write(U)),U;if(!v&&u){const C=B.read(N);return typeof u=="function"?u(C,U):L==="object"&&!Array.isArray(C)?{...U,...C}:C}else return typeof N!="string"?N:B.read(N)}function D(v){if(!(v&&v.storageArea!==n)){if(v&&v.key==null){E.value=U;return}if(!(v&&v.key!==e)){p();try{(v==null?void 0:v.newValue)!==B.write(E.value)&&(E.value=$(v))}catch(N){b(N)}finally{v?Kn(m):m()}}}}function R(v){D(v.detail)}return E}function Vo(e){return Do("(prefers-color-scheme: dark)",e)}function ef(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:s=He,storage:i,storageKey:o="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:c,emitAuto:u,disableTransition:a=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},g=Vo({window:s}),b=ie(()=>g.value?"dark":"light"),_=c||(o==null?Fo(r):us(o,r,i,{window:s,listenToStorageChanges:l})),E=ie(()=>_.value==="auto"?b.value:_.value),U=jo("updateHTMLAttrs",(m,M,F)=>{const $=typeof m=="string"?s==null?void 0:s.document.querySelector(m):$o(m);if(!$)return;let D;if(a&&(D=s.document.createElement("style"),D.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),s.document.head.appendChild(D)),M==="class"){const R=F.split(/\s/g);Object.values(h).flatMap(v=>(v||"").split(/\s/g)).filter(Boolean).forEach(v=>{R.includes(v)?$.classList.add(v):$.classList.remove(v)})}else $.setAttribute(M,F);a&&(s.getComputedStyle(D).opacity,document.head.removeChild(D))});function L(m){var M;U(t,n,(M=h[m])!=null?M:m)}function B(m){e.onChanged?e.onChanged(m,L):L(m)}Be(E,B,{flush:"post",immediate:!0}),fs(()=>B(E.value));const p=ie({get(){return u?_.value:E.value},set(m){_.value=m}});try{return Object.assign(p,{store:_,system:b,state:E})}catch{return p}}function tf(e={}){const{valueDark:t="dark",valueLight:n="",window:r=He}=e,s=ef({...e,onChanged:(l,c)=>{var u;e.onChanged?(u=e.onChanged)==null||u.call(e,l==="dark",c,l):c(l)},modes:{dark:t,light:n}}),i=ie(()=>s.system?s.system.value:Vo({window:r}).value?"dark":"light");return ie({get(){return s.value==="dark"},set(l){const c=l?"dark":"light";i.value===c?s.value="auto":s.value=c}})}function pr(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function nu(e,t,n={}){const{window:r=He}=n;return us(e,t,r==null?void 0:r.localStorage,n)}function Uo(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth1?!0:(t.preventDefault&&t.preventDefault(),!1)}const gr=new WeakMap;function ru(e,t=!1){const n=oe(t);let r=null,s="";Be(Fo(e),l=>{const c=pr(ke(l));if(c){const u=c;if(gr.get(u)||gr.set(u,u.style.overflow),u.style.overflow!=="hidden"&&(s=u.style.overflow),u.style.overflow==="hidden")return n.value=!0;if(n.value)return u.style.overflow="hidden"}},{immediate:!0});const i=()=>{const l=pr(ke(e));!l||n.value||(ii&&(r=Pt(l,"touchmove",c=>{nf(c)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},o=()=>{const l=pr(ke(e));!l||!n.value||(ii&&(r==null||r()),l.style.overflow=s,gr.delete(l),n.value=!1)};return as(o),ie({get(){return n.value},set(l){l?i():o()}})}function su(e,t,n={}){const{window:r=He}=n;return us(e,t,r==null?void 0:r.sessionStorage,n)}function iu(e={}){const{window:t=He,behavior:n="auto"}=e;if(!t)return{x:oe(0),y:oe(0)};const r=oe(t.scrollX),s=oe(t.scrollY),i=ie({get(){return r.value},set(l){scrollTo({left:l,behavior:n})}}),o=ie({get(){return s.value},set(l){scrollTo({top:l,behavior:n})}});return Pt(t,"scroll",()=>{r.value=t.scrollX,s.value=t.scrollY},{capture:!1,passive:!0}),{x:i,y:o}}function ou(e={}){const{window:t=He,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:s=!0,includeScrollbar:i=!0}=e,o=oe(n),l=oe(r),c=()=>{t&&(i?(o.value=t.innerWidth,l.value=t.innerHeight):(o.value=t.document.documentElement.clientWidth,l.value=t.document.documentElement.clientHeight))};if(c(),fs(c),Pt("resize",c,{passive:!0}),s){const u=Do("(orientation: portrait)");Be(u,()=>c())}return{width:o,height:l}}var mr={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1},yr={};const Bo=/^(?:[a-z]+:|\/\/)/i,rf="vitepress-theme-appearance",sf=/#.*$/,of=/[?#].*$/,lf=/(?:(^|\/)index)?\.(?:md|html)$/,ge=typeof document<"u",ko={relativePath:"404.md",filePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0,isNotFound:!0};function cf(e,t,n=!1){if(t===void 0)return!1;if(e=li(`/${e}`),n)return new RegExp(t).test(e);if(li(t)!==e)return!1;const r=t.match(sf);return r?(ge?location.hash:"")===r[0]:!0}function li(e){return decodeURI(e).replace(of,"").replace(lf,"$1")}function af(e){return Bo.test(e)}function ff(e,t){return Object.keys((e==null?void 0:e.locales)||{}).find(n=>n!=="root"&&!af(n)&&cf(t,`/${n}/`,!0))||"root"}function uf(e,t){var r,s,i,o,l,c,u;const n=ff(e,t);return Object.assign({},e,{localeIndex:n,lang:((r=e.locales[n])==null?void 0:r.lang)??e.lang,dir:((s=e.locales[n])==null?void 0:s.dir)??e.dir,title:((i=e.locales[n])==null?void 0:i.title)??e.title,titleTemplate:((o=e.locales[n])==null?void 0:o.titleTemplate)??e.titleTemplate,description:((l=e.locales[n])==null?void 0:l.description)??e.description,head:Ko(e.head,((c=e.locales[n])==null?void 0:c.head)??[]),themeConfig:{...e.themeConfig,...(u=e.locales[n])==null?void 0:u.themeConfig}})}function Wo(e,t){const n=t.title||e.title,r=t.titleTemplate??e.titleTemplate;if(typeof r=="string"&&r.includes(":title"))return r.replace(/:title/g,n);const s=df(e.title,r);return n===s.slice(3)?n:`${n}${s}`}function df(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function hf(e,t){const[n,r]=t;if(n!=="meta")return!1;const s=Object.entries(r)[0];return s==null?!1:e.some(([i,o])=>i===n&&o[s[0]]===s[1])}function Ko(e,t){return[...e.filter(n=>!hf(t,n)),...t]}const pf=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,gf=/^[a-z]:/i;function ci(e){const t=gf.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(pf,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}const vr=new Set;function mf(e){if(vr.size===0){const n=typeof process=="object"&&(yr==null?void 0:yr.VITE_EXTRA_EXTENSIONS)||(mr==null?void 0:mr.VITE_EXTRA_EXTENSIONS)||"";("3g2,3gp,aac,ai,apng,au,avif,bin,bmp,cer,class,conf,crl,css,csv,dll,doc,eps,epub,exe,gif,gz,ics,ief,jar,jpe,jpeg,jpg,js,json,jsonld,m4a,man,mid,midi,mjs,mov,mp2,mp3,mp4,mpe,mpeg,mpg,mpp,oga,ogg,ogv,ogx,opus,otf,p10,p7c,p7m,p7s,pdf,png,ps,qt,roff,rtf,rtx,ser,svg,t,tif,tiff,tr,ts,tsv,ttf,txt,vtt,wav,weba,webm,webp,woff,woff2,xhtml,xml,yaml,yml,zip"+(n&&typeof n=="string"?","+n:"")).split(",").forEach(r=>vr.add(r))}const t=e.split(".").pop();return t==null||!vr.has(t.toLowerCase())}function lu(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const yf=Symbol(),yt=Qr(Da);function cu(e){const t=ie(()=>uf(yt.value,e.data.relativePath)),n=t.value.appearance,r=n==="force-dark"?oe(!0):n?tf({storageKey:rf,initialValue:()=>n==="dark"?"dark":"auto",...typeof n=="object"?n:{}}):oe(!1),s=oe(ge?location.hash:"");return ge&&window.addEventListener("hashchange",()=>{s.value=location.hash}),Be(()=>e.data,()=>{s.value=ge?location.hash:""}),{site:t,theme:ie(()=>t.value.themeConfig),page:ie(()=>e.data),frontmatter:ie(()=>e.data.frontmatter),params:ie(()=>e.data.params),lang:ie(()=>t.value.lang),dir:ie(()=>e.data.frontmatter.dir||t.value.dir),localeIndex:ie(()=>t.value.localeIndex||"root"),title:ie(()=>Wo(t.value,e.data)),description:ie(()=>e.data.description||t.value.description),isDark:r,hash:ie(()=>s.value)}}function vf(){const e=Mt(yf);if(!e)throw new Error("vitepress data not properly injected in app");return e}function bf(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function ai(e){return Bo.test(e)||!e.startsWith("/")?e:bf(yt.value.base,e)}function _f(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t=t.replace(/\/$/,"/index"),ge){const n="/";t=ci(t.slice(n.length).replace(/\//g,"_")||"index")+".md";let r=__VP_HASH_MAP__[t.toLowerCase()];if(r||(t=t.endsWith("_index.md")?t.slice(0,-9)+".md":t.slice(0,-3)+"_index.md",r=__VP_HASH_MAP__[t.toLowerCase()]),!r)return null;t=`${n}assets/${t}.${r}.js`}else t=`./${ci(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}let An=[];function au(e){An.push(e),Gn(()=>{An=An.filter(t=>t!==e)})}function wf(){let e=yt.value.scrollOffset,t=0,n=24;if(typeof e=="object"&&"padding"in e&&(n=e.padding,e=e.selector),typeof e=="number")t=e;else if(typeof e=="string")t=fi(e,n);else if(Array.isArray(e))for(const r of e){const s=fi(r,n);if(s){t=s;break}}return t}function fi(e,t){const n=document.querySelector(e);if(!n)return 0;const r=n.getBoundingClientRect().bottom;return r<0?0:r+t}const Ef=Symbol(),qo="http://a.com",Sf=()=>({path:"/",component:null,data:ko});function fu(e,t){const n=kn(Sf()),r={route:n,go:s};async function s(l=ge?location.href:"/"){var c,u;l=br(l),await((c=r.onBeforeRouteChange)==null?void 0:c.call(r,l))!==!1&&(ge&&l!==br(location.href)&&(history.replaceState({scrollPosition:window.scrollY},""),history.pushState({},"",l)),await o(l),await((u=r.onAfterRouteChanged)==null?void 0:u.call(r,l)))}let i=null;async function o(l,c=0,u=!1){var g;if(await((g=r.onBeforePageLoad)==null?void 0:g.call(r,l))===!1)return;const a=new URL(l,qo),h=i=a.pathname;try{let b=await e(h);if(!b)throw new Error(`Page not found: ${h}`);if(i===h){i=null;const{default:_,__pageData:E}=b;if(!_)throw new Error(`Invalid route component: ${_}`);n.path=ge?h:ai(h),n.component=Sn(_),n.data=Sn(E),ge&&Kn(()=>{let U=yt.value.base+E.relativePath.replace(/(?:(^|\/)index)?\.md$/,"$1");if(!yt.value.cleanUrls&&!U.endsWith("/")&&(U+=".html"),U!==a.pathname&&(a.pathname=U,l=U+a.search+a.hash,history.replaceState({},"",l)),a.hash&&!c){let L=null;try{L=document.getElementById(decodeURIComponent(a.hash).slice(1))}catch(B){console.warn(B)}if(L){ui(L,a.hash);return}}window.scrollTo(0,c)})}}catch(b){if(!/fetch|Page not found/.test(b.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(b),!u)try{const _=await fetch(yt.value.base+"hashmap.json");window.__VP_HASH_MAP__=await _.json(),await o(l,c,!0);return}catch{}if(i===h){i=null,n.path=ge?h:ai(h),n.component=t?Sn(t):null;const _=ge?h.replace(/(^|\/)$/,"$1index").replace(/(\.html)?$/,".md").replace(/^\//,""):"404.md";n.data={...ko,relativePath:_}}}}return ge&&(history.state===null&&history.replaceState({},""),window.addEventListener("click",l=>{if(l.defaultPrevented||!(l.target instanceof Element)||l.target.closest("button")||l.button!==0||l.ctrlKey||l.shiftKey||l.altKey||l.metaKey)return;const c=l.target.closest("a");if(!c||c.closest(".vp-raw")||c.hasAttribute("download")||c.hasAttribute("target"))return;const u=c.getAttribute("href")??(c instanceof SVGAElement?c.getAttribute("xlink:href"):null);if(u==null)return;const{href:a,origin:h,pathname:g,hash:b,search:_}=new URL(u,c.baseURI),E=new URL(location.href);h===E.origin&&mf(g)&&(l.preventDefault(),g===E.pathname&&_===E.search?(b!==E.hash&&(history.pushState({},"",a),window.dispatchEvent(new HashChangeEvent("hashchange",{oldURL:E.href,newURL:a}))),b?ui(c,b,c.classList.contains("header-anchor")):window.scrollTo(0,0)):s(a))},{capture:!0}),window.addEventListener("popstate",async l=>{var c;l.state!==null&&(await o(br(location.href),l.state&&l.state.scrollPosition||0),(c=r.onAfterRouteChanged)==null||c.call(r,location.href))}),window.addEventListener("hashchange",l=>{l.preventDefault()})),r}function xf(){const e=Mt(Ef);if(!e)throw new Error("useRouter() is called without provider.");return e}function Go(){return xf().route}function ui(e,t,n=!1){let r=null;try{r=e.classList.contains("header-anchor")?e:document.getElementById(decodeURIComponent(t).slice(1))}catch(s){console.warn(s)}if(r){let s=function(){!n||Math.abs(o-window.scrollY)>window.innerHeight?window.scrollTo(0,o):window.scrollTo({left:0,top:o,behavior:"smooth"})};const i=parseInt(window.getComputedStyle(r).paddingTop,10),o=window.scrollY+r.getBoundingClientRect().top-wf()+i;requestAnimationFrame(s)}}function br(e){const t=new URL(e,qo);return t.pathname=t.pathname.replace(/(^|\/)index(\.html)?$/,"$1"),yt.value.cleanUrls?t.pathname=t.pathname.replace(/\.html$/,""):!t.pathname.endsWith("/")&&!t.pathname.endsWith(".html")&&(t.pathname+=".html"),t.pathname+t.search+t.hash}const _r=()=>An.forEach(e=>e()),uu=ts({name:"VitePressContent",props:{as:{type:[Object,String],default:"div"}},setup(e){const t=Go(),{site:n}=vf();return()=>Hr(e.as,n.value.contentProps??{style:{position:"relative"}},[t.component?Hr(t.component,{onVnodeMounted:_r,onVnodeUpdated:_r,onVnodeUnmounted:_r}):"404 Page Not Found"])}}),du=ts({setup(e,{slots:t}){const n=oe(!1);return It(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}});function hu(){ge&&window.addEventListener("click",e=>{var n;const t=e.target;if(t.matches(".vp-code-group input")){const r=(n=t.parentElement)==null?void 0:n.parentElement;if(!r)return;const s=Array.from(r.querySelectorAll("input")).indexOf(t);if(s<0)return;const i=r.querySelector(".blocks");if(!i)return;const o=Array.from(i.children).find(u=>u.classList.contains("active"));if(!o)return;const l=i.children[s];if(!l||o===l)return;o.classList.remove("active"),l.classList.add("active");const c=r==null?void 0:r.querySelector(`label[for="${t.id}"]`);c==null||c.scrollIntoView({block:"nearest"})}})}function pu(){if(ge){const e=new WeakMap;window.addEventListener("click",t=>{var r;const n=t.target;if(n.matches('div[class*="language-"] > button.copy')){const s=n.parentElement,i=(r=n.nextElementSibling)==null?void 0:r.nextElementSibling;if(!s||!i)return;const o=/language-(shellscript|shell|bash|sh|zsh)/.test(s.className),l=[".vp-copy-ignore",".diff.remove"],c=i.cloneNode(!0);c.querySelectorAll(l.join(",")).forEach(a=>a.remove());let u=c.textContent||"";o&&(u=u.replace(/^ *(\$|>) /gm,"").trim()),Tf(u).then(()=>{n.classList.add("copied"),clearTimeout(e.get(n));const a=setTimeout(()=>{n.classList.remove("copied"),n.blur(),e.delete(n)},2e3);e.set(n,a)})}})}}async function Tf(e){try{return navigator.clipboard.writeText(e)}catch{const t=document.createElement("textarea"),n=document.activeElement;t.value=e,t.setAttribute("readonly",""),t.style.contain="strict",t.style.position="absolute",t.style.left="-9999px",t.style.fontSize="12pt";const r=document.getSelection(),s=r?r.rangeCount>0&&r.getRangeAt(0):null;document.body.appendChild(t),t.select(),t.selectionStart=0,t.selectionEnd=e.length,document.execCommand("copy"),document.body.removeChild(t),s&&(r.removeAllRanges(),r.addRange(s)),n&&n.focus()}}function gu(e,t){let n=!0,r=[];const s=i=>{if(n){n=!1,i.forEach(l=>{const c=wr(l);for(const u of document.head.children)if(u.isEqualNode(c)){r.push(u);return}});return}const o=i.map(wr);r.forEach((l,c)=>{const u=o.findIndex(a=>a==null?void 0:a.isEqualNode(l??null));u!==-1?delete o[u]:(l==null||l.remove(),delete r[c])}),o.forEach(l=>l&&document.head.appendChild(l)),r=[...r,...o].filter(Boolean)};ls(()=>{const i=e.data,o=t.value,l=i&&i.description,c=i&&i.frontmatter.head||[],u=Wo(o,i);u!==document.title&&(document.title=u);const a=l||o.description;let h=document.querySelector("meta[name=description]");h?h.getAttribute("content")!==a&&h.setAttribute("content",a):wr(["meta",{name:"description",content:a}]),s(Ko(o.head,Af(c)))})}function wr([e,t,n]){const r=document.createElement(e);for(const s in t)r.setAttribute(s,t[s]);return n&&(r.innerHTML=n),e==="script"&&!t.async&&(r.async=!1),r}function Cf(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function Af(e){return e.filter(t=>!Cf(t))}const Er=new Set,Yo=()=>document.createElement("link"),Rf=e=>{const t=Yo();t.rel="prefetch",t.href=e,document.head.appendChild(t)},Of=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let _n;const Mf=ge&&(_n=Yo())&&_n.relList&&_n.relList.supports&&_n.relList.supports("prefetch")?Rf:Of;function mu(){if(!ge||!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 r=()=>{n&&n.disconnect(),n=new IntersectionObserver(i=>{i.forEach(o=>{if(o.isIntersecting){const l=o.target;n.unobserve(l);const{pathname:c}=l;if(!Er.has(c)){Er.add(c);const u=_f(c);u&&Mf(u)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(i=>{const{hostname:o,pathname:l}=new URL(i.href instanceof SVGAnimatedString?i.href.animVal:i.href,i.baseURI),c=l.match(/\.\w+$/);c&&c[0]!==".html"||i.target!=="_blank"&&o===location.hostname&&(l!==location.pathname?n.observe(i):Er.add(l))})})};It(r);const s=Go();Be(()=>s.path,r),Gn(()=>{n&&n.disconnect()})}export{zi as $,wf as A,Nf as B,Hf as C,Qr as D,au as E,Ee as F,le as G,Ff as H,Bo as I,Go as J,Xc as K,Mt as L,ou as M,Br as N,tu as O,Kn as P,iu as Q,ge as R,Wn as S,Wf as T,Lf as U,Qf as V,ru as W,Ac as X,Yf as Y,Df as Z,zf as _,So as a,Gf as a0,jf as a1,Pf as a2,Kf as a3,Bf as a4,gu as a5,Ef as a6,cu as a7,yf as a8,uu as a9,du as aa,yt as ab,Jf as ac,fu as ad,_f as ae,mu as af,pu as ag,hu as ah,Hr as ai,$o as aj,as as ak,eu as al,su as am,nu as an,Zf as ao,xf as ap,Pt as aq,qf as ar,ae as as,If as at,Sn as au,Xf as av,lu as aw,Nr as b,Uf as c,ts as d,kf as e,mf as f,ai as g,ie as h,af as i,Eo as j,Hi as k,cf as l,Do as m,kr as n,Lr as o,oe as p,Be as q,$f as r,ls as s,al as t,vf as u,It as v,Jl as w,Gn as x,Vf as y,hc as z}; diff --git a/assets/chunks/theme.Bf95lNIB.js b/assets/chunks/theme.Bj7Ju5Lp.js similarity index 99% rename from assets/chunks/theme.Bf95lNIB.js rename to assets/chunks/theme.Bj7Ju5Lp.js index 1f05895..b886e8f 100644 --- a/assets/chunks/theme.Bf95lNIB.js +++ b/assets/chunks/theme.Bj7Ju5Lp.js @@ -1,2 +1,2 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/VPLocalSearchBox.Bu6BkyWY.js","assets/chunks/framework.Dvq0W1Dl.js"])))=>i.map(i=>d[i]); -import{d as b,o as a,c,r as f,n as z,a as x,t as I,b as V,w as p,e as $,T as Ue,_ as P,u as ce,i as $t,f as bt,g as ge,h as N,j as u,k as i,l as fe,m as He,p as E,q as re,s as Te,v as pe,x as Ge,y as We,z as kt,A as yt,B as he,F,C as Y,D as Ye,E as $e,G as g,H as se,I as nt,J as Ne,K as le,L as ye,M as Pt,N as Ie,O as Oe,P as St,Q as st,R as Ce,S as Lt,U as Vt,V as Mt,W as ot,X as Je,Y as wt,Z as Tt,$ as Nt,a0 as It,a1 as Ct,a2 as At,a3 as Dt}from"./framework.Dvq0W1Dl.js";const Bt=b({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(o){return(e,t)=>(a(),c("span",{class:z(["VPBadge",e.type])},[f(e.$slots,"default",{},()=>[x(I(e.text),1)])],2))}}),Ht={key:0,class:"VPBackdrop"},Ot=b({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(o){return(e,t)=>(a(),V(Ue,{name:"fade"},{default:p(()=>[e.show?(a(),c("div",Ht)):$("",!0)]),_:1}))}}),Et=P(Ot,[["__scopeId","data-v-2c6a0c3e"]]),H=ce;function Ft(o,e){let t,n=!1;return()=>{t&&clearTimeout(t),n?t=setTimeout(o,e):(o(),(n=!0)&&setTimeout(()=>n=!1,e))}}function Ee(o){return/^\//.test(o)?o:`/${o}`}function qe(o){const{pathname:e,search:t,hash:n,protocol:s}=new URL(o,"http://a.com");if($t(o)||o.startsWith("#")||!s.startsWith("http")||!bt(e))return o;const{site:r}=H(),l=e.endsWith("/")||e.endsWith(".html")?o:o.replace(/(?:(^\.+)\/)?.*$/,`$1${e.replace(/(\.md)?$/,r.value.cleanUrls?"":".html")}${t}${n}`);return ge(l)}function Pe({correspondingLink:o=!1}={}){const{site:e,localeIndex:t,page:n,theme:s,hash:r}=H(),l=N(()=>{var v,h;return{label:(v=e.value.locales[t.value])==null?void 0:v.label,link:((h=e.value.locales[t.value])==null?void 0:h.link)||(t.value==="root"?"/":`/${t.value}/`)}});return{localeLinks:N(()=>Object.entries(e.value.locales).flatMap(([v,h])=>l.value.label===h.label?[]:{text:h.label,link:zt(h.link||(v==="root"?"/":`/${v}/`),s.value.i18nRouting!==!1&&o,n.value.relativePath.slice(l.value.link.length-1),!e.value.cleanUrls)+r.value})),currentLang:l}}function zt(o,e,t,n){return e?o.replace(/\/$/,"")+Ee(t.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,n?".html":"")):o}const jt={class:"NotFound"},Ut={class:"code"},Gt={class:"title"},Wt={class:"quote"},Yt={class:"action"},Jt=["href","aria-label"],qt=b({__name:"NotFound",setup(o){const{theme:e}=H(),{currentLang:t}=Pe();return(n,s)=>{var r,l,d,v,h;return a(),c("div",jt,[u("p",Ut,I(((r=i(e).notFound)==null?void 0:r.code)??"404"),1),u("h1",Gt,I(((l=i(e).notFound)==null?void 0:l.title)??"PAGE NOT FOUND"),1),s[0]||(s[0]=u("div",{class:"divider"},null,-1)),u("blockquote",Wt,I(((d=i(e).notFound)==null?void 0:d.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),u("div",Yt,[u("a",{class:"link",href:i(ge)(i(t).link),"aria-label":((v=i(e).notFound)==null?void 0:v.linkLabel)??"go to home"},I(((h=i(e).notFound)==null?void 0:h.linkText)??"Take me home"),9,Jt)])])}}}),Kt=P(qt,[["__scopeId","data-v-9b52c046"]]);function at(o,e){if(Array.isArray(o))return Me(o);if(o==null)return[];e=Ee(e);const t=Object.keys(o).sort((s,r)=>r.split("/").length-s.split("/").length).find(s=>e.startsWith(Ee(s))),n=t?o[t]:[];return Array.isArray(n)?Me(n):Me(n.items,n.base)}function Rt(o){const e=[];let t=0;for(const n in o){const s=o[n];if(s.items){t=e.push(s);continue}e[t]||e.push({items:[]}),e[t].items.push(s)}return e}function Zt(o){const e=[];function t(n){for(const s of n)s.text&&s.link&&e.push({text:s.text,link:s.link,docFooterText:s.docFooterText}),s.items&&t(s.items)}return t(o),e}function Fe(o,e){return Array.isArray(e)?e.some(t=>Fe(o,t)):fe(o,e.link)?!0:e.items?Fe(o,e.items):!1}function Me(o,e){return[...o].map(t=>{const n={...t},s=n.base||e;return s&&n.link&&(n.link=s+n.link),n.items&&(n.items=Me(n.items,s)),n})}function ae(){const{frontmatter:o,page:e,theme:t}=H(),n=He("(min-width: 960px)"),s=E(!1),r=N(()=>{const O=t.value.sidebar,L=e.value.relativePath;return O?at(O,L):[]}),l=E(r.value);re(r,(O,L)=>{JSON.stringify(O)!==JSON.stringify(L)&&(l.value=r.value)});const d=N(()=>o.value.sidebar!==!1&&l.value.length>0&&o.value.layout!=="home"),v=N(()=>h?o.value.aside==null?t.value.aside==="left":o.value.aside==="left":!1),h=N(()=>o.value.layout==="home"?!1:o.value.aside!=null?!!o.value.aside:t.value.aside!==!1),M=N(()=>d.value&&n.value),m=N(()=>d.value?Rt(l.value):[]);function T(){s.value=!0}function S(){s.value=!1}function C(){s.value?S():T()}return{isOpen:s,sidebar:l,sidebarGroups:m,hasSidebar:d,hasAside:h,leftAside:v,isSidebarEnabled:M,open:T,close:S,toggle:C}}function Qt(o,e){let t;Te(()=>{t=o.value?document.activeElement:void 0}),pe(()=>{window.addEventListener("keyup",n)}),Ge(()=>{window.removeEventListener("keyup",n)});function n(s){s.key==="Escape"&&o.value&&(e(),t==null||t.focus())}}function Xt(o){const{page:e,hash:t}=H(),n=E(!1),s=N(()=>o.value.collapsed!=null),r=N(()=>!!o.value.link),l=E(!1),d=()=>{l.value=fe(e.value.relativePath,o.value.link)};re([e,o,t],d),pe(d);const v=N(()=>l.value?!0:o.value.items?Fe(e.value.relativePath,o.value.items):!1),h=N(()=>!!(o.value.items&&o.value.items.length));Te(()=>{n.value=!!(s.value&&o.value.collapsed)}),We(()=>{(l.value||v.value)&&(n.value=!1)});function M(){s.value&&(n.value=!n.value)}return{collapsed:n,collapsible:s,isLink:r,isActiveLink:l,hasActiveLink:v,hasChildren:h,toggle:M}}function xt(){const{hasSidebar:o}=ae(),e=He("(min-width: 960px)"),t=He("(min-width: 1280px)");return{isAsideEnabled:N(()=>!t.value&&!e.value?!1:o.value?t.value:e.value)}}const ze=[];function rt(o){return typeof o.outline=="object"&&!Array.isArray(o.outline)&&o.outline.label||o.outlineTitle||"On this page"}function Ke(o){const e=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(t=>t.id&&t.hasChildNodes()).map(t=>{const n=Number(t.tagName[1]);return{element:t,title:en(t),link:"#"+t.id,level:n}});return tn(e,o)}function en(o){let e="";for(const t of o.childNodes)if(t.nodeType===1){if(t.classList.contains("VPBadge")||t.classList.contains("header-anchor")||t.classList.contains("ignore-header"))continue;e+=t.textContent}else t.nodeType===3&&(e+=t.textContent);return e.trim()}function tn(o,e){if(e===!1)return[];const t=(typeof e=="object"&&!Array.isArray(e)?e.level:e)||2,[n,s]=typeof t=="number"?[t,t]:t==="deep"?[2,6]:t;o=o.filter(l=>l.level>=n&&l.level<=s),ze.length=0;for(const{element:l,link:d}of o)ze.push({element:l,link:d});const r=[];e:for(let l=0;l=0;v--){const h=o[v];if(h.level{requestAnimationFrame(r),window.addEventListener("scroll",n)}),kt(()=>{l(location.hash)}),Ge(()=>{window.removeEventListener("scroll",n)});function r(){if(!t.value)return;const d=window.scrollY,v=window.innerHeight,h=document.body.offsetHeight,M=Math.abs(d+v-h)<1,m=ze.map(({element:S,link:C})=>({link:C,top:sn(S)})).filter(({top:S})=>!Number.isNaN(S)).sort((S,C)=>S.top-C.top);if(!m.length){l(null);return}if(d<1){l(null);return}if(M){l(m[m.length-1].link);return}let T=null;for(const{link:S,top:C}of m){if(C>d+yt()+4)break;T=S}l(T)}function l(d){s&&s.classList.remove("active"),d==null?s=null:s=o.value.querySelector(`a[href="${decodeURIComponent(d)}"]`);const v=s;v?(v.classList.add("active"),e.value.style.top=v.offsetTop+39+"px",e.value.style.opacity="1"):(e.value.style.top="33px",e.value.style.opacity="0")}}function sn(o){let e=0;for(;o!==document.body;){if(o===null)return NaN;e+=o.offsetTop,o=o.offsetParent}return e}const on=["href","title"],an=b({__name:"VPDocOutlineItem",props:{headers:{},root:{type:Boolean}},setup(o){function e({target:t}){const n=t.href.split("#")[1],s=document.getElementById(decodeURIComponent(n));s==null||s.focus({preventScroll:!0})}return(t,n)=>{const s=he("VPDocOutlineItem",!0);return a(),c("ul",{class:z(["VPDocOutlineItem",t.root?"root":"nested"])},[(a(!0),c(F,null,Y(t.headers,({children:r,link:l,title:d})=>(a(),c("li",null,[u("a",{class:"outline-link",href:l,onClick:e,title:d},I(d),9,on),r!=null&&r.length?(a(),V(s,{key:0,headers:r},null,8,["headers"])):$("",!0)]))),256))],2)}}}),it=P(an,[["__scopeId","data-v-16e4d5a1"]]),rn={class:"content"},ln={"aria-level":"2",class:"outline-title",id:"doc-outline-aria-label",role:"heading"},cn=b({__name:"VPDocAsideOutline",setup(o){const{frontmatter:e,theme:t}=H(),n=Ye([]);$e(()=>{n.value=Ke(e.value.outline??t.value.outline)});const s=E(),r=E();return nn(s,r),(l,d)=>(a(),c("nav",{"aria-labelledby":"doc-outline-aria-label",class:z(["VPDocAsideOutline",{"has-outline":n.value.length>0}]),ref_key:"container",ref:s},[u("div",rn,[u("div",{class:"outline-marker",ref_key:"marker",ref:r},null,512),u("div",ln,I(i(rt)(i(t))),1),g(it,{headers:n.value,root:!0},null,8,["headers"])])],2))}}),un=P(cn,[["__scopeId","data-v-af96c7f8"]]),dn={class:"VPDocAsideCarbonAds"},vn=b({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(o){const e=()=>null;return(t,n)=>(a(),c("div",dn,[g(i(e),{"carbon-ads":t.carbonAds},null,8,["carbon-ads"])]))}}),fn={class:"VPDocAside"},pn=b({__name:"VPDocAside",setup(o){const{theme:e}=H();return(t,n)=>(a(),c("div",fn,[f(t.$slots,"aside-top",{},void 0,!0),f(t.$slots,"aside-outline-before",{},void 0,!0),g(un),f(t.$slots,"aside-outline-after",{},void 0,!0),n[0]||(n[0]=u("div",{class:"spacer"},null,-1)),f(t.$slots,"aside-ads-before",{},void 0,!0),i(e).carbonAds?(a(),V(vn,{key:0,"carbon-ads":i(e).carbonAds},null,8,["carbon-ads"])):$("",!0),f(t.$slots,"aside-ads-after",{},void 0,!0),f(t.$slots,"aside-bottom",{},void 0,!0)]))}}),hn=P(pn,[["__scopeId","data-v-4d9eb13b"]]);function mn(){const{theme:o,page:e}=H();return N(()=>{const{text:t="Edit this page",pattern:n=""}=o.value.editLink||{};let s;return typeof n=="function"?s=n(e.value):s=n.replace(/:path/g,e.value.filePath),{url:s,text:t}})}function _n(){const{page:o,theme:e,frontmatter:t}=H();return N(()=>{var h,M,m,T,S,C,O,L;const n=at(e.value.sidebar,o.value.relativePath),s=Zt(n),r=gn(s,G=>G.link.replace(/[?#].*$/,"")),l=r.findIndex(G=>fe(o.value.relativePath,G.link)),d=((h=e.value.docFooter)==null?void 0:h.prev)===!1&&!t.value.prev||t.value.prev===!1,v=((M=e.value.docFooter)==null?void 0:M.next)===!1&&!t.value.next||t.value.next===!1;return{prev:d?void 0:{text:(typeof t.value.prev=="string"?t.value.prev:typeof t.value.prev=="object"?t.value.prev.text:void 0)??((m=r[l-1])==null?void 0:m.docFooterText)??((T=r[l-1])==null?void 0:T.text),link:(typeof t.value.prev=="object"?t.value.prev.link:void 0)??((S=r[l-1])==null?void 0:S.link)},next:v?void 0:{text:(typeof t.value.next=="string"?t.value.next:typeof t.value.next=="object"?t.value.next.text:void 0)??((C=r[l+1])==null?void 0:C.docFooterText)??((O=r[l+1])==null?void 0:O.text),link:(typeof t.value.next=="object"?t.value.next.link:void 0)??((L=r[l+1])==null?void 0:L.link)}}})}function gn(o,e){const t=new Set;return o.filter(n=>{const s=e(n);return t.has(s)?!1:t.add(s)})}const oe=b({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(o){const e=o,t=N(()=>e.tag??(e.href?"a":"span")),n=N(()=>e.href&&nt.test(e.href)||e.target==="_blank");return(s,r)=>(a(),V(se(t.value),{class:z(["VPLink",{link:s.href,"vp-external-link-icon":n.value,"no-icon":s.noIcon}]),href:s.href?i(qe)(s.href):void 0,target:s.target??(n.value?"_blank":void 0),rel:s.rel??(n.value?"noreferrer":void 0)},{default:p(()=>[f(s.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),$n={class:"VPLastUpdated"},bn=["datetime"],kn=b({__name:"VPDocFooterLastUpdated",setup(o){const{theme:e,page:t,lang:n}=H(),s=N(()=>new Date(t.value.lastUpdated)),r=N(()=>s.value.toISOString()),l=E("");return pe(()=>{Te(()=>{var d,v,h;l.value=new Intl.DateTimeFormat((v=(d=e.value.lastUpdated)==null?void 0:d.formatOptions)!=null&&v.forceLocale?n.value:void 0,((h=e.value.lastUpdated)==null?void 0:h.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(s.value)})}),(d,v)=>{var h;return a(),c("p",$n,[x(I(((h=i(e).lastUpdated)==null?void 0:h.text)||i(e).lastUpdatedText||"Last updated")+": ",1),u("time",{datetime:r.value},I(l.value),9,bn)])}}}),yn=P(kn,[["__scopeId","data-v-a7debf4c"]]),Pn={key:0,class:"VPDocFooter"},Sn={key:0,class:"edit-info"},Ln={key:0,class:"edit-link"},Vn={key:1,class:"last-updated"},Mn={key:1,class:"prev-next","aria-labelledby":"doc-footer-aria-label"},wn={class:"pager"},Tn=["innerHTML"],Nn=["innerHTML"],In={class:"pager"},Cn=["innerHTML"],An=["innerHTML"],Dn=b({__name:"VPDocFooter",setup(o){const{theme:e,page:t,frontmatter:n}=H(),s=mn(),r=_n(),l=N(()=>e.value.editLink&&n.value.editLink!==!1),d=N(()=>t.value.lastUpdated),v=N(()=>l.value||d.value||r.value.prev||r.value.next);return(h,M)=>{var m,T,S,C;return v.value?(a(),c("footer",Pn,[f(h.$slots,"doc-footer-before",{},void 0,!0),l.value||d.value?(a(),c("div",Sn,[l.value?(a(),c("div",Ln,[g(oe,{class:"edit-link-button",href:i(s).url,"no-icon":!0},{default:p(()=>[M[0]||(M[0]=u("span",{class:"vpi-square-pen edit-link-icon"},null,-1)),x(" "+I(i(s).text),1)]),_:1},8,["href"])])):$("",!0),d.value?(a(),c("div",Vn,[g(yn)])):$("",!0)])):$("",!0),(m=i(r).prev)!=null&&m.link||(T=i(r).next)!=null&&T.link?(a(),c("nav",Mn,[M[1]||(M[1]=u("span",{class:"visually-hidden",id:"doc-footer-aria-label"},"Pager",-1)),u("div",wn,[(S=i(r).prev)!=null&&S.link?(a(),V(oe,{key:0,class:"pager-link prev",href:i(r).prev.link},{default:p(()=>{var O;return[u("span",{class:"desc",innerHTML:((O=i(e).docFooter)==null?void 0:O.prev)||"Previous page"},null,8,Tn),u("span",{class:"title",innerHTML:i(r).prev.text},null,8,Nn)]}),_:1},8,["href"])):$("",!0)]),u("div",In,[(C=i(r).next)!=null&&C.link?(a(),V(oe,{key:0,class:"pager-link next",href:i(r).next.link},{default:p(()=>{var O;return[u("span",{class:"desc",innerHTML:((O=i(e).docFooter)==null?void 0:O.next)||"Next page"},null,8,Cn),u("span",{class:"title",innerHTML:i(r).next.text},null,8,An)]}),_:1},8,["href"])):$("",!0)])])):$("",!0)])):$("",!0)}}}),Bn=P(Dn,[["__scopeId","data-v-4c636c82"]]),Hn={class:"container"},On={class:"aside-container"},En={class:"aside-content"},Fn={class:"content"},zn={class:"content-container"},jn={class:"main"},Un=b({__name:"VPDoc",setup(o){const{theme:e}=H(),t=Ne(),{hasSidebar:n,hasAside:s,leftAside:r}=ae(),l=N(()=>t.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(d,v)=>{const h=he("Content");return a(),c("div",{class:z(["VPDoc",{"has-sidebar":i(n),"has-aside":i(s)}])},[f(d.$slots,"doc-top",{},void 0,!0),u("div",Hn,[i(s)?(a(),c("div",{key:0,class:z(["aside",{"left-aside":i(r)}])},[v[0]||(v[0]=u("div",{class:"aside-curtain"},null,-1)),u("div",On,[u("div",En,[g(hn,null,{"aside-top":p(()=>[f(d.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":p(()=>[f(d.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":p(()=>[f(d.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":p(()=>[f(d.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":p(()=>[f(d.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":p(()=>[f(d.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):$("",!0),u("div",Fn,[u("div",zn,[f(d.$slots,"doc-before",{},void 0,!0),u("main",jn,[g(h,{class:z(["vp-doc",[l.value,i(e).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),g(Bn,null,{"doc-footer-before":p(()=>[f(d.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),f(d.$slots,"doc-after",{},void 0,!0)])])]),f(d.$slots,"doc-bottom",{},void 0,!0)],2)}}}),Gn=P(Un,[["__scopeId","data-v-d850b5e4"]]),Wn=b({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{},target:{},rel:{}},setup(o){const e=o,t=N(()=>e.href&&nt.test(e.href)),n=N(()=>e.tag||e.href?"a":"button");return(s,r)=>(a(),V(se(n.value),{class:z(["VPButton",[s.size,s.theme]]),href:s.href?i(qe)(s.href):void 0,target:e.target??(t.value?"_blank":void 0),rel:e.rel??(t.value?"noreferrer":void 0)},{default:p(()=>[x(I(s.text),1)]),_:1},8,["class","href","target","rel"]))}}),Yn=P(Wn,[["__scopeId","data-v-650b9dfb"]]),Jn=["src","alt"],qn=b({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(o){return(e,t)=>{const n=he("VPImage",!0);return e.image?(a(),c(F,{key:0},[typeof e.image=="string"||"src"in e.image?(a(),c("img",le({key:0,class:"VPImage"},typeof e.image=="string"?e.$attrs:{...e.image,...e.$attrs},{src:i(ge)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,Jn)):(a(),c(F,{key:1},[g(n,le({class:"dark",image:e.image.dark,alt:e.image.alt},e.$attrs),null,16,["image","alt"]),g(n,le({class:"light",image:e.image.light,alt:e.image.alt},e.$attrs),null,16,["image","alt"])],64))],64)):$("",!0)}}}),we=P(qn,[["__scopeId","data-v-50daf791"]]),Kn={class:"container"},Rn={class:"main"},Zn={key:0,class:"name"},Qn=["innerHTML"],Xn=["innerHTML"],xn=["innerHTML"],es={key:0,class:"actions"},ts={key:0,class:"image"},ns={class:"image-container"},ss=b({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(o){const e=ye("hero-image-slot-exists");return(t,n)=>(a(),c("div",{class:z(["VPHero",{"has-image":t.image||i(e)}])},[u("div",Kn,[u("div",Rn,[f(t.$slots,"home-hero-info-before",{},void 0,!0),f(t.$slots,"home-hero-info",{},()=>[t.name?(a(),c("h1",Zn,[u("span",{innerHTML:t.name,class:"clip"},null,8,Qn)])):$("",!0),t.text?(a(),c("p",{key:1,innerHTML:t.text,class:"text"},null,8,Xn)):$("",!0),t.tagline?(a(),c("p",{key:2,innerHTML:t.tagline,class:"tagline"},null,8,xn)):$("",!0)],!0),f(t.$slots,"home-hero-info-after",{},void 0,!0),t.actions?(a(),c("div",es,[(a(!0),c(F,null,Y(t.actions,s=>(a(),c("div",{key:s.link,class:"action"},[g(Yn,{tag:"a",size:"medium",theme:s.theme,text:s.text,href:s.link,target:s.target,rel:s.rel},null,8,["theme","text","href","target","rel"])]))),128))])):$("",!0),f(t.$slots,"home-hero-actions-after",{},void 0,!0)]),t.image||i(e)?(a(),c("div",ts,[u("div",ns,[n[0]||(n[0]=u("div",{class:"image-bg"},null,-1)),f(t.$slots,"home-hero-image",{},()=>[t.image?(a(),V(we,{key:0,class:"image-src",image:t.image},null,8,["image"])):$("",!0)],!0)])])):$("",!0)])],2))}}),os=P(ss,[["__scopeId","data-v-35595421"]]),as=b({__name:"VPHomeHero",setup(o){const{frontmatter:e}=H();return(t,n)=>i(e).hero?(a(),V(os,{key:0,class:"VPHomeHero",name:i(e).hero.name,text:i(e).hero.text,tagline:i(e).hero.tagline,image:i(e).hero.image,actions:i(e).hero.actions},{"home-hero-info-before":p(()=>[f(t.$slots,"home-hero-info-before")]),"home-hero-info":p(()=>[f(t.$slots,"home-hero-info")]),"home-hero-info-after":p(()=>[f(t.$slots,"home-hero-info-after")]),"home-hero-actions-after":p(()=>[f(t.$slots,"home-hero-actions-after")]),"home-hero-image":p(()=>[f(t.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):$("",!0)}}),rs={class:"box"},is={key:0,class:"icon"},ls=["innerHTML"],cs=["innerHTML"],us=["innerHTML"],ds={key:4,class:"link-text"},vs={class:"link-text-value"},fs=b({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(o){return(e,t)=>(a(),V(oe,{class:"VPFeature",href:e.link,rel:e.rel,target:e.target,"no-icon":!0,tag:e.link?"a":"div"},{default:p(()=>[u("article",rs,[typeof e.icon=="object"&&e.icon.wrap?(a(),c("div",is,[g(we,{image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])])):typeof e.icon=="object"?(a(),V(we,{key:1,image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])):e.icon?(a(),c("div",{key:2,class:"icon",innerHTML:e.icon},null,8,ls)):$("",!0),u("h2",{class:"title",innerHTML:e.title},null,8,cs),e.details?(a(),c("p",{key:3,class:"details",innerHTML:e.details},null,8,us)):$("",!0),e.linkText?(a(),c("div",ds,[u("p",vs,[x(I(e.linkText)+" ",1),t[0]||(t[0]=u("span",{class:"vpi-arrow-right link-text-icon"},null,-1))])])):$("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),ps=P(fs,[["__scopeId","data-v-ff0fbafa"]]),hs={key:0,class:"VPFeatures"},ms={class:"container"},_s={class:"items"},gs=b({__name:"VPFeatures",props:{features:{}},setup(o){const e=o,t=N(()=>{const n=e.features.length;if(n){if(n===2)return"grid-2";if(n===3)return"grid-3";if(n%3===0)return"grid-6";if(n>3)return"grid-4"}else return});return(n,s)=>n.features?(a(),c("div",hs,[u("div",ms,[u("div",_s,[(a(!0),c(F,null,Y(n.features,r=>(a(),c("div",{key:r.title,class:z(["item",[t.value]])},[g(ps,{icon:r.icon,title:r.title,details:r.details,link:r.link,"link-text":r.linkText,rel:r.rel,target:r.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])])])):$("",!0)}}),$s=P(gs,[["__scopeId","data-v-16656b2a"]]),bs=b({__name:"VPHomeFeatures",setup(o){const{frontmatter:e}=H();return(t,n)=>i(e).features?(a(),V($s,{key:0,class:"VPHomeFeatures",features:i(e).features},null,8,["features"])):$("",!0)}}),ks=b({__name:"VPHomeContent",setup(o){const{width:e}=Pt({initialWidth:0,includeScrollbar:!1});return(t,n)=>(a(),c("div",{class:"vp-doc container",style:Ie(i(e)?{"--vp-offset":`calc(50% - ${i(e)/2}px)`}:{})},[f(t.$slots,"default",{},void 0,!0)],4))}}),ys=P(ks,[["__scopeId","data-v-840715e8"]]),Ps={class:"VPHome"},Ss=b({__name:"VPHome",setup(o){const{frontmatter:e}=H();return(t,n)=>{const s=he("Content");return a(),c("div",Ps,[f(t.$slots,"home-hero-before",{},void 0,!0),g(as,null,{"home-hero-info-before":p(()=>[f(t.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":p(()=>[f(t.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":p(()=>[f(t.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":p(()=>[f(t.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":p(()=>[f(t.$slots,"home-hero-image",{},void 0,!0)]),_:3}),f(t.$slots,"home-hero-after",{},void 0,!0),f(t.$slots,"home-features-before",{},void 0,!0),g(bs),f(t.$slots,"home-features-after",{},void 0,!0),i(e).markdownStyles!==!1?(a(),V(ys,{key:0},{default:p(()=>[g(s)]),_:1})):(a(),V(s,{key:1}))])}}}),Ls=P(Ss,[["__scopeId","data-v-f94029f7"]]),Vs={},Ms={class:"VPPage"};function ws(o,e){const t=he("Content");return a(),c("div",Ms,[f(o.$slots,"page-top"),g(t),f(o.$slots,"page-bottom")])}const Ts=P(Vs,[["render",ws]]),Ns=b({__name:"VPContent",setup(o){const{page:e,frontmatter:t}=H(),{hasSidebar:n}=ae();return(s,r)=>(a(),c("div",{class:z(["VPContent",{"has-sidebar":i(n),"is-home":i(t).layout==="home"}]),id:"VPContent"},[i(e).isNotFound?f(s.$slots,"not-found",{key:0},()=>[g(Kt)],!0):i(t).layout==="page"?(a(),V(Ts,{key:1},{"page-top":p(()=>[f(s.$slots,"page-top",{},void 0,!0)]),"page-bottom":p(()=>[f(s.$slots,"page-bottom",{},void 0,!0)]),_:3})):i(t).layout==="home"?(a(),V(Ls,{key:2},{"home-hero-before":p(()=>[f(s.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":p(()=>[f(s.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":p(()=>[f(s.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":p(()=>[f(s.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":p(()=>[f(s.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":p(()=>[f(s.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":p(()=>[f(s.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":p(()=>[f(s.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":p(()=>[f(s.$slots,"home-features-after",{},void 0,!0)]),_:3})):i(t).layout&&i(t).layout!=="doc"?(a(),V(se(i(t).layout),{key:3})):(a(),V(Gn,{key:4},{"doc-top":p(()=>[f(s.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":p(()=>[f(s.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":p(()=>[f(s.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":p(()=>[f(s.$slots,"doc-before",{},void 0,!0)]),"doc-after":p(()=>[f(s.$slots,"doc-after",{},void 0,!0)]),"aside-top":p(()=>[f(s.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":p(()=>[f(s.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":p(()=>[f(s.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":p(()=>[f(s.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":p(()=>[f(s.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":p(()=>[f(s.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),Is=P(Ns,[["__scopeId","data-v-ddf31280"]]),Cs={class:"container"},As=["innerHTML"],Ds=["innerHTML"],Bs=b({__name:"VPFooter",setup(o){const{theme:e,frontmatter:t}=H(),{hasSidebar:n}=ae();return(s,r)=>i(e).footer&&i(t).footer!==!1?(a(),c("footer",{key:0,class:z(["VPFooter",{"has-sidebar":i(n)}])},[u("div",Cs,[i(e).footer.message?(a(),c("p",{key:0,class:"message",innerHTML:i(e).footer.message},null,8,As)):$("",!0),i(e).footer.copyright?(a(),c("p",{key:1,class:"copyright",innerHTML:i(e).footer.copyright},null,8,Ds)):$("",!0)])],2)):$("",!0)}}),Hs=P(Bs,[["__scopeId","data-v-c8066796"]]);function Os(){const{theme:o,frontmatter:e}=H(),t=Ye([]),n=N(()=>t.value.length>0);return $e(()=>{t.value=Ke(e.value.outline??o.value.outline)}),{headers:t,hasLocalNav:n}}const Es={class:"menu-text"},Fs={class:"header"},zs={class:"outline"},js=b({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(o){const e=o,{theme:t}=H(),n=E(!1),s=E(0),r=E(),l=E();function d(m){var T;(T=r.value)!=null&&T.contains(m.target)||(n.value=!1)}re(n,m=>{if(m){document.addEventListener("click",d);return}document.removeEventListener("click",d)}),Oe("Escape",()=>{n.value=!1}),$e(()=>{n.value=!1});function v(){n.value=!n.value,s.value=window.innerHeight+Math.min(window.scrollY-e.navHeight,0)}function h(m){m.target.classList.contains("outline-link")&&(l.value&&(l.value.style.transition="none"),St(()=>{n.value=!1}))}function M(){n.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(m,T)=>(a(),c("div",{class:"VPLocalNavOutlineDropdown",style:Ie({"--vp-vh":s.value+"px"}),ref_key:"main",ref:r},[m.headers.length>0?(a(),c("button",{key:0,onClick:v,class:z({open:n.value})},[u("span",Es,I(i(rt)(i(t))),1),T[0]||(T[0]=u("span",{class:"vpi-chevron-right icon"},null,-1))],2)):(a(),c("button",{key:1,onClick:M},I(i(t).returnToTopLabel||"Return to top"),1)),g(Ue,{name:"flyout"},{default:p(()=>[n.value?(a(),c("div",{key:0,ref_key:"items",ref:l,class:"items",onClick:h},[u("div",Fs,[u("a",{class:"top-link",href:"#",onClick:M},I(i(t).returnToTopLabel||"Return to top"),1)]),u("div",zs,[g(it,{headers:m.headers},null,8,["headers"])])],512)):$("",!0)]),_:1})],4))}}),Us=P(js,[["__scopeId","data-v-6d2599c3"]]),Gs={class:"container"},Ws=["aria-expanded"],Ys={class:"menu-text"},Js=b({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(o){const{theme:e,frontmatter:t}=H(),{hasSidebar:n}=ae(),{headers:s}=Os(),{y:r}=st(),l=E(0);pe(()=>{l.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),$e(()=>{s.value=Ke(t.value.outline??e.value.outline)});const d=N(()=>s.value.length===0),v=N(()=>d.value&&!n.value),h=N(()=>({VPLocalNav:!0,"has-sidebar":n.value,empty:d.value,fixed:v.value}));return(M,m)=>i(t).layout!=="home"&&(!v.value||i(r)>=l.value)?(a(),c("div",{key:0,class:z(h.value)},[u("div",Gs,[i(n)?(a(),c("button",{key:0,class:"menu","aria-expanded":M.open,"aria-controls":"VPSidebarNav",onClick:m[0]||(m[0]=T=>M.$emit("open-menu"))},[m[1]||(m[1]=u("span",{class:"vpi-align-left menu-icon"},null,-1)),u("span",Ys,I(i(e).sidebarMenuLabel||"Menu"),1)],8,Ws)):$("",!0),g(Us,{headers:i(s),navHeight:l.value},null,8,["headers","navHeight"])])],2)):$("",!0)}}),qs=P(Js,[["__scopeId","data-v-3f3cc52f"]]);function lt(){const o=E(!1);function e(){o.value=!0,window.addEventListener("resize",s)}function t(){o.value=!1,window.removeEventListener("resize",s)}function n(){o.value?t():e()}function s(){window.outerWidth>=768&&t()}const r=Ne();return re(()=>r.path,t),{isScreenOpen:o,openScreen:e,closeScreen:t,toggleScreen:n}}const Ks={},Rs={class:"VPSwitch",type:"button",role:"switch"},Zs={class:"check"},Qs={key:0,class:"icon"};function Xs(o,e){return a(),c("button",Rs,[u("span",Zs,[o.$slots.default?(a(),c("span",Qs,[f(o.$slots,"default",{},void 0,!0)])):$("",!0)])])}const xs=P(Ks,[["render",Xs],["__scopeId","data-v-3d4793b5"]]),eo=b({__name:"VPSwitchAppearance",setup(o){const{isDark:e,theme:t}=H(),n=ye("toggle-appearance",()=>{e.value=!e.value}),s=E("");return We(()=>{s.value=e.value?t.value.lightModeSwitchTitle||"Switch to light theme":t.value.darkModeSwitchTitle||"Switch to dark theme"}),(r,l)=>(a(),V(xs,{title:s.value,class:"VPSwitchAppearance","aria-checked":i(e),onClick:i(n)},{default:p(()=>l[0]||(l[0]=[u("span",{class:"vpi-sun sun"},null,-1),u("span",{class:"vpi-moon moon"},null,-1)])),_:1},8,["title","aria-checked","onClick"]))}}),Re=P(eo,[["__scopeId","data-v-6e5d13de"]]),to={key:0,class:"VPNavBarAppearance"},no=b({__name:"VPNavBarAppearance",setup(o){const{site:e}=H();return(t,n)=>i(e).appearance&&i(e).appearance!=="force-dark"&&i(e).appearance!=="force-auto"?(a(),c("div",to,[g(Re)])):$("",!0)}}),so=P(no,[["__scopeId","data-v-5572cdc4"]]),Ze=E();let ct=!1,De=0;function oo(o){const e=E(!1);if(Ce){!ct&&ao(),De++;const t=re(Ze,n=>{var s,r,l;n===o.el.value||(s=o.el.value)!=null&&s.contains(n)?(e.value=!0,(r=o.onFocus)==null||r.call(o)):(e.value=!1,(l=o.onBlur)==null||l.call(o))});Ge(()=>{t(),De--,De||ro()})}return Lt(e)}function ao(){document.addEventListener("focusin",ut),ct=!0,Ze.value=document.activeElement}function ro(){document.removeEventListener("focusin",ut)}function ut(){Ze.value=document.activeElement}const io={class:"VPMenuLink"},lo=b({__name:"VPMenuLink",props:{item:{}},setup(o){const{page:e}=H();return(t,n)=>(a(),c("div",io,[g(oe,{class:z({active:i(fe)(i(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel},{default:p(()=>[x(I(t.item.text),1)]),_:1},8,["class","href","target","rel"])]))}}),Ae=P(lo,[["__scopeId","data-v-360ed28f"]]),co={class:"VPMenuGroup"},uo={key:0,class:"title"},vo=b({__name:"VPMenuGroup",props:{text:{},items:{}},setup(o){return(e,t)=>(a(),c("div",co,[e.text?(a(),c("p",uo,I(e.text),1)):$("",!0),(a(!0),c(F,null,Y(e.items,n=>(a(),c(F,null,["link"in n?(a(),V(Ae,{key:0,item:n},null,8,["item"])):$("",!0)],64))),256))]))}}),fo=P(vo,[["__scopeId","data-v-4a5665f4"]]),po={class:"VPMenu"},ho={key:0,class:"items"},mo=b({__name:"VPMenu",props:{items:{}},setup(o){return(e,t)=>(a(),c("div",po,[e.items?(a(),c("div",ho,[(a(!0),c(F,null,Y(e.items,n=>(a(),c(F,{key:JSON.stringify(n)},["link"in n?(a(),V(Ae,{key:0,item:n},null,8,["item"])):"component"in n?(a(),V(se(n.component),le({key:1,ref_for:!0},n.props),null,16)):(a(),V(fo,{key:2,text:n.text,items:n.items},null,8,["text","items"]))],64))),128))])):$("",!0),f(e.$slots,"default",{},void 0,!0)]))}}),_o=P(mo,[["__scopeId","data-v-5f94fd09"]]),go=["aria-expanded","aria-label"],$o={key:0,class:"text"},bo=["innerHTML"],ko={key:1,class:"vpi-more-horizontal icon"},yo={class:"menu"},Po=b({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(o){const e=E(!1),t=E();oo({el:t,onBlur:n});function n(){e.value=!1}return(s,r)=>(a(),c("div",{class:"VPFlyout",ref_key:"el",ref:t,onMouseenter:r[1]||(r[1]=l=>e.value=!0),onMouseleave:r[2]||(r[2]=l=>e.value=!1)},[u("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":e.value,"aria-label":s.label,onClick:r[0]||(r[0]=l=>e.value=!e.value)},[s.button||s.icon?(a(),c("span",$o,[s.icon?(a(),c("span",{key:0,class:z([s.icon,"option-icon"])},null,2)):$("",!0),s.button?(a(),c("span",{key:1,innerHTML:s.button},null,8,bo)):$("",!0),r[3]||(r[3]=u("span",{class:"vpi-chevron-down text-icon"},null,-1))])):(a(),c("span",ko))],8,go),u("div",yo,[g(_o,{items:s.items},{default:p(()=>[f(s.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),Qe=P(Po,[["__scopeId","data-v-d177e59f"]]),So=["href","aria-label","innerHTML"],Lo=b({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(o){const e=o,t=N(()=>typeof e.icon=="object"?e.icon.svg:``);return(n,s)=>(a(),c("a",{class:"VPSocialLink no-icon",href:n.link,"aria-label":n.ariaLabel??(typeof n.icon=="string"?n.icon:""),target:"_blank",rel:"noopener",innerHTML:t.value},null,8,So))}}),Vo=P(Lo,[["__scopeId","data-v-585b8be8"]]),Mo={class:"VPSocialLinks"},wo=b({__name:"VPSocialLinks",props:{links:{}},setup(o){return(e,t)=>(a(),c("div",Mo,[(a(!0),c(F,null,Y(e.links,({link:n,icon:s,ariaLabel:r})=>(a(),V(Vo,{key:n,icon:s,link:n,ariaLabel:r},null,8,["icon","link","ariaLabel"]))),128))]))}}),Xe=P(wo,[["__scopeId","data-v-2696b647"]]),To={key:0,class:"group translations"},No={class:"trans-title"},Io={key:1,class:"group"},Co={class:"item appearance"},Ao={class:"label"},Do={class:"appearance-action"},Bo={key:2,class:"group"},Ho={class:"item social-links"},Oo=b({__name:"VPNavBarExtra",setup(o){const{site:e,theme:t}=H(),{localeLinks:n,currentLang:s}=Pe({correspondingLink:!0}),r=N(()=>n.value.length&&s.value.label||e.value.appearance||t.value.socialLinks);return(l,d)=>r.value?(a(),V(Qe,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:p(()=>[i(n).length&&i(s).label?(a(),c("div",To,[u("p",No,I(i(s).label),1),(a(!0),c(F,null,Y(i(n),v=>(a(),V(Ae,{key:v.link,item:v},null,8,["item"]))),128))])):$("",!0),i(e).appearance&&i(e).appearance!=="force-dark"&&i(e).appearance!=="force-auto"?(a(),c("div",Io,[u("div",Co,[u("p",Ao,I(i(t).darkModeSwitchLabel||"Appearance"),1),u("div",Do,[g(Re)])])])):$("",!0),i(t).socialLinks?(a(),c("div",Bo,[u("div",Ho,[g(Xe,{class:"social-links-list",links:i(t).socialLinks},null,8,["links"])])])):$("",!0)]),_:1})):$("",!0)}}),Eo=P(Oo,[["__scopeId","data-v-9d6cbf6e"]]),Fo=["aria-expanded"],zo=b({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(o){return(e,t)=>(a(),c("button",{type:"button",class:z(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:t[0]||(t[0]=n=>e.$emit("click"))},t[1]||(t[1]=[u("span",{class:"container"},[u("span",{class:"top"}),u("span",{class:"middle"}),u("span",{class:"bottom"})],-1)]),10,Fo))}}),dt=P(zo,[["__scopeId","data-v-92747094"]]),jo=["innerHTML"],Uo=b({__name:"VPNavBarMenuLink",props:{item:{}},setup(o){const{page:e}=H();return(t,n)=>(a(),V(oe,{class:z({VPNavBarMenuLink:!0,active:i(fe)(i(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,noIcon:t.item.noIcon,target:t.item.target,rel:t.item.rel,tabindex:"0"},{default:p(()=>[u("span",{innerHTML:t.item.text},null,8,jo)]),_:1},8,["class","href","noIcon","target","rel"]))}}),Go=P(Uo,[["__scopeId","data-v-2503b11d"]]),Wo=b({__name:"VPNavBarMenuGroup",props:{item:{}},setup(o){const e=o,{page:t}=H(),n=r=>"component"in r?!1:"link"in r?fe(t.value.relativePath,r.link,!!e.item.activeMatch):r.items.some(n),s=N(()=>n(e.item));return(r,l)=>(a(),V(Qe,{class:z({VPNavBarMenuGroup:!0,active:i(fe)(i(t).relativePath,r.item.activeMatch,!!r.item.activeMatch)||s.value}),button:r.item.text,items:r.item.items},null,8,["class","button","items"]))}}),Yo={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},Jo=b({__name:"VPNavBarMenu",setup(o){const{theme:e}=H();return(t,n)=>i(e).nav?(a(),c("nav",Yo,[n[0]||(n[0]=u("span",{id:"main-nav-aria-label",class:"visually-hidden"}," Main Navigation ",-1)),(a(!0),c(F,null,Y(i(e).nav,s=>(a(),c(F,{key:JSON.stringify(s)},["link"in s?(a(),V(Go,{key:0,item:s},null,8,["item"])):"component"in s?(a(),V(se(s.component),le({key:1,ref_for:!0},s.props),null,16)):(a(),V(Wo,{key:2,item:s},null,8,["item"]))],64))),128))])):$("",!0)}}),qo=P(Jo,[["__scopeId","data-v-c48f3ffd"]]);function Ko(o){const{localeIndex:e,theme:t}=H();function n(s){var C,O,L;const r=s.split("."),l=(C=t.value.search)==null?void 0:C.options,d=l&&typeof l=="object",v=d&&((L=(O=l.locales)==null?void 0:O[e.value])==null?void 0:L.translations)||null,h=d&&l.translations||null;let M=v,m=h,T=o;const S=r.pop();for(const G of r){let Z=null;const ee=T==null?void 0:T[G];ee&&(Z=T=ee);const ne=m==null?void 0:m[G];ne&&(Z=m=ne);const J=M==null?void 0:M[G];J&&(Z=M=J),ee||(T=Z),ne||(m=Z),J||(M=Z)}return(M==null?void 0:M[S])??(m==null?void 0:m[S])??(T==null?void 0:T[S])??""}return n}const Ro=["aria-label"],Zo={class:"DocSearch-Button-Container"},Qo={class:"DocSearch-Button-Placeholder"},tt=b({__name:"VPNavBarSearchButton",setup(o){const t=Ko({button:{buttonText:"Search",buttonAriaLabel:"Search"}});return(n,s)=>(a(),c("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":i(t)("button.buttonAriaLabel")},[u("span",Zo,[s[0]||(s[0]=u("span",{class:"vp-icon DocSearch-Search-Icon"},null,-1)),u("span",Qo,I(i(t)("button.buttonText")),1)]),s[1]||(s[1]=u("span",{class:"DocSearch-Button-Keys"},[u("kbd",{class:"DocSearch-Button-Key"}),u("kbd",{class:"DocSearch-Button-Key"},"K")],-1))],8,Ro))}}),Xo={class:"VPNavBarSearch"},xo={id:"local-search"},ea={key:1,id:"docsearch"},vt=b({__name:"VPNavBarSearch",setup(o){const e=Vt(()=>Mt(()=>import("./VPLocalSearchBox.Bu6BkyWY.js"),__vite__mapDeps([0,1]))),t=()=>null,{theme:n}=H(),s=E(!1),r=E(!1);pe(()=>{});function l(){s.value||(s.value=!0,setTimeout(d,16))}function d(){const m=new Event("keydown");m.key="k",m.metaKey=!0,window.dispatchEvent(m),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||d()},16)}function v(m){const T=m.target,S=T.tagName;return T.isContentEditable||S==="INPUT"||S==="SELECT"||S==="TEXTAREA"}const h=E(!1);Oe("k",m=>{(m.ctrlKey||m.metaKey)&&(m.preventDefault(),h.value=!0)}),Oe("/",m=>{v(m)||(m.preventDefault(),h.value=!0)});const M="local";return(m,T)=>{var S;return a(),c("div",Xo,[i(M)==="local"?(a(),c(F,{key:0},[h.value?(a(),V(i(e),{key:0,onClose:T[0]||(T[0]=C=>h.value=!1)})):$("",!0),u("div",xo,[g(tt,{onClick:T[1]||(T[1]=C=>h.value=!0)})])],64)):i(M)==="algolia"?(a(),c(F,{key:1},[s.value?(a(),V(i(t),{key:0,algolia:((S=i(n).search)==null?void 0:S.options)??i(n).algolia,onVnodeBeforeMount:T[2]||(T[2]=C=>r.value=!0)},null,8,["algolia"])):$("",!0),r.value?$("",!0):(a(),c("div",ea,[g(tt,{onClick:l})]))],64)):$("",!0)])}}}),ta=b({__name:"VPNavBarSocialLinks",setup(o){const{theme:e}=H();return(t,n)=>i(e).socialLinks?(a(),V(Xe,{key:0,class:"VPNavBarSocialLinks",links:i(e).socialLinks},null,8,["links"])):$("",!0)}}),xe=P(ta,[["__scopeId","data-v-7bd4ceb4"]]),na=["href","rel","target"],sa={key:1},oa={key:2},aa=b({__name:"VPNavBarTitle",setup(o){const{site:e,theme:t}=H(),{hasSidebar:n}=ae(),{currentLang:s}=Pe(),r=N(()=>{var v;return typeof t.value.logoLink=="string"?t.value.logoLink:(v=t.value.logoLink)==null?void 0:v.link}),l=N(()=>{var v;return typeof t.value.logoLink=="string"||(v=t.value.logoLink)==null?void 0:v.rel}),d=N(()=>{var v;return typeof t.value.logoLink=="string"||(v=t.value.logoLink)==null?void 0:v.target});return(v,h)=>(a(),c("div",{class:z(["VPNavBarTitle",{"has-sidebar":i(n)}])},[u("a",{class:"title",href:r.value??i(qe)(i(s).link),rel:l.value,target:d.value},[f(v.$slots,"nav-bar-title-before",{},void 0,!0),i(t).logo?(a(),V(we,{key:0,class:"logo",image:i(t).logo},null,8,["image"])):$("",!0),i(t).siteTitle?(a(),c("span",sa,I(i(t).siteTitle),1)):i(t).siteTitle===void 0?(a(),c("span",oa,I(i(e).title),1)):$("",!0),f(v.$slots,"nav-bar-title-after",{},void 0,!0)],8,na)],2))}}),ra=P(aa,[["__scopeId","data-v-0ed3c774"]]),ia={class:"items"},la={class:"title"},ca=b({__name:"VPNavBarTranslations",setup(o){const{theme:e}=H(),{localeLinks:t,currentLang:n}=Pe({correspondingLink:!0});return(s,r)=>i(t).length&&i(n).label?(a(),V(Qe,{key:0,class:"VPNavBarTranslations",icon:"vpi-languages",label:i(e).langMenuLabel||"Change language"},{default:p(()=>[u("div",ia,[u("p",la,I(i(n).label),1),(a(!0),c(F,null,Y(i(t),l=>(a(),V(Ae,{key:l.link,item:l},null,8,["item"]))),128))])]),_:1},8,["label"])):$("",!0)}}),ua=P(ca,[["__scopeId","data-v-7a013c26"]]),da={class:"wrapper"},va={class:"container"},fa={class:"title"},pa={class:"content"},ha={class:"content-body"},ma=b({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(o){const e=o,{y:t}=st(),{hasSidebar:n}=ae(),{frontmatter:s}=H(),r=E({});return We(()=>{r.value={"has-sidebar":n.value,home:s.value.layout==="home",top:t.value===0,"screen-open":e.isScreenOpen}}),(l,d)=>(a(),c("div",{class:z(["VPNavBar",r.value])},[u("div",da,[u("div",va,[u("div",fa,[g(ra,null,{"nav-bar-title-before":p(()=>[f(l.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":p(()=>[f(l.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),u("div",pa,[u("div",ha,[f(l.$slots,"nav-bar-content-before",{},void 0,!0),g(vt,{class:"search"}),g(qo,{class:"menu"}),g(ua,{class:"translations"}),g(so,{class:"appearance"}),g(xe,{class:"social-links"}),g(Eo,{class:"extra"}),f(l.$slots,"nav-bar-content-after",{},void 0,!0),g(dt,{class:"hamburger",active:l.isScreenOpen,onClick:d[0]||(d[0]=v=>l.$emit("toggle-screen"))},null,8,["active"])])])])]),d[1]||(d[1]=u("div",{class:"divider"},[u("div",{class:"divider-line"})],-1))],2))}}),_a=P(ma,[["__scopeId","data-v-72a40c91"]]),ga={key:0,class:"VPNavScreenAppearance"},$a={class:"text"},ba=b({__name:"VPNavScreenAppearance",setup(o){const{site:e,theme:t}=H();return(n,s)=>i(e).appearance&&i(e).appearance!=="force-dark"&&i(e).appearance!=="force-auto"?(a(),c("div",ga,[u("p",$a,I(i(t).darkModeSwitchLabel||"Appearance"),1),g(Re)])):$("",!0)}}),ka=P(ba,[["__scopeId","data-v-a7e1a74a"]]),ya=b({__name:"VPNavScreenMenuLink",props:{item:{}},setup(o){const e=ye("close-screen");return(t,n)=>(a(),V(oe,{class:"VPNavScreenMenuLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:i(e),innerHTML:t.item.text},null,8,["href","target","rel","onClick","innerHTML"]))}}),Pa=P(ya,[["__scopeId","data-v-a50c1d42"]]),Sa=b({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(o){const e=ye("close-screen");return(t,n)=>(a(),V(oe,{class:"VPNavScreenMenuGroupLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:i(e)},{default:p(()=>[x(I(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}}),ft=P(Sa,[["__scopeId","data-v-063da60b"]]),La={class:"VPNavScreenMenuGroupSection"},Va={key:0,class:"title"},Ma=b({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(o){return(e,t)=>(a(),c("div",La,[e.text?(a(),c("p",Va,I(e.text),1)):$("",!0),(a(!0),c(F,null,Y(e.items,n=>(a(),V(ft,{key:n.text,item:n},null,8,["item"]))),128))]))}}),wa=P(Ma,[["__scopeId","data-v-4aaeed47"]]),Ta=["aria-controls","aria-expanded"],Na=["innerHTML"],Ia=["id"],Ca={key:0,class:"item"},Aa={key:1,class:"item"},Da={key:2,class:"group"},Ba=b({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(o){const e=o,t=E(!1),n=N(()=>`NavScreenGroup-${e.text.replace(" ","-").toLowerCase()}`);function s(){t.value=!t.value}return(r,l)=>(a(),c("div",{class:z(["VPNavScreenMenuGroup",{open:t.value}])},[u("button",{class:"button","aria-controls":n.value,"aria-expanded":t.value,onClick:s},[u("span",{class:"button-text",innerHTML:r.text},null,8,Na),l[0]||(l[0]=u("span",{class:"vpi-plus button-icon"},null,-1))],8,Ta),u("div",{id:n.value,class:"items"},[(a(!0),c(F,null,Y(r.items,d=>(a(),c(F,{key:JSON.stringify(d)},["link"in d?(a(),c("div",Ca,[g(ft,{item:d},null,8,["item"])])):"component"in d?(a(),c("div",Aa,[(a(),V(se(d.component),le({ref_for:!0},d.props,{"screen-menu":""}),null,16))])):(a(),c("div",Da,[g(wa,{text:d.text,items:d.items},null,8,["text","items"])]))],64))),128))],8,Ia)],2))}}),Ha=P(Ba,[["__scopeId","data-v-d7c1abb6"]]),Oa={key:0,class:"VPNavScreenMenu"},Ea=b({__name:"VPNavScreenMenu",setup(o){const{theme:e}=H();return(t,n)=>i(e).nav?(a(),c("nav",Oa,[(a(!0),c(F,null,Y(i(e).nav,s=>(a(),c(F,{key:JSON.stringify(s)},["link"in s?(a(),V(Pa,{key:0,item:s},null,8,["item"])):"component"in s?(a(),V(se(s.component),le({key:1,ref_for:!0},s.props,{"screen-menu":""}),null,16)):(a(),V(Ha,{key:2,text:s.text||"",items:s.items},null,8,["text","items"]))],64))),128))])):$("",!0)}}),Fa=b({__name:"VPNavScreenSocialLinks",setup(o){const{theme:e}=H();return(t,n)=>i(e).socialLinks?(a(),V(Xe,{key:0,class:"VPNavScreenSocialLinks",links:i(e).socialLinks},null,8,["links"])):$("",!0)}}),za={class:"list"},ja=b({__name:"VPNavScreenTranslations",setup(o){const{localeLinks:e,currentLang:t}=Pe({correspondingLink:!0}),n=E(!1);function s(){n.value=!n.value}return(r,l)=>i(e).length&&i(t).label?(a(),c("div",{key:0,class:z(["VPNavScreenTranslations",{open:n.value}])},[u("button",{class:"title",onClick:s},[l[0]||(l[0]=u("span",{class:"vpi-languages icon lang"},null,-1)),x(" "+I(i(t).label)+" ",1),l[1]||(l[1]=u("span",{class:"vpi-chevron-down icon chevron"},null,-1))]),u("ul",za,[(a(!0),c(F,null,Y(i(e),d=>(a(),c("li",{key:d.link,class:"item"},[g(oe,{class:"link",href:d.link},{default:p(()=>[x(I(d.text),1)]),_:2},1032,["href"])]))),128))])],2)):$("",!0)}}),Ua=P(ja,[["__scopeId","data-v-b09e19a2"]]),Ga={class:"container"},Wa=b({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(o){const e=E(null),t=ot(Ce?document.body:null);return(n,s)=>(a(),V(Ue,{name:"fade",onEnter:s[0]||(s[0]=r=>t.value=!0),onAfterLeave:s[1]||(s[1]=r=>t.value=!1)},{default:p(()=>[n.open?(a(),c("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:e,id:"VPNavScreen"},[u("div",Ga,[f(n.$slots,"nav-screen-content-before",{},void 0,!0),g(Ea,{class:"menu"}),g(Ua,{class:"translations"}),g(ka,{class:"appearance"}),g(Fa,{class:"social-links"}),f(n.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):$("",!0)]),_:3}))}}),pt=P(Wa,[["__scopeId","data-v-0542a797"]]),Ya={key:0,class:"VPNav"},Ja=b({__name:"VPNav",setup(o){const{isScreenOpen:e,closeScreen:t,toggleScreen:n}=lt(),{frontmatter:s}=H(),r=N(()=>s.value.navbar!==!1);return Je("close-screen",t),Te(()=>{Ce&&document.documentElement.classList.toggle("hide-nav",!r.value)}),(l,d)=>r.value?(a(),c("header",Ya,[g(_a,{"is-screen-open":i(e),onToggleScreen:i(n)},{"nav-bar-title-before":p(()=>[f(l.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":p(()=>[f(l.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":p(()=>[f(l.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":p(()=>[f(l.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),g(pt,{open:i(e)},{"nav-screen-content-before":p(()=>[f(l.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":p(()=>[f(l.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):$("",!0)}}),qa=P(Ja,[["__scopeId","data-v-bd7b890f"]]),Ka=["role","tabindex"],Ra={key:1,class:"items"},Za=b({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(o){const e=o,{collapsed:t,collapsible:n,isLink:s,isActiveLink:r,hasActiveLink:l,hasChildren:d,toggle:v}=Xt(N(()=>e.item)),h=N(()=>d.value?"section":"div"),M=N(()=>s.value?"a":"div"),m=N(()=>d.value?e.depth+2===7?"p":`h${e.depth+2}`:"p"),T=N(()=>s.value?void 0:"button"),S=N(()=>[[`level-${e.depth}`],{collapsible:n.value},{collapsed:t.value},{"is-link":s.value},{"is-active":r.value},{"has-active":l.value}]);function C(L){"key"in L&&L.key!=="Enter"||!e.item.link&&v()}function O(){e.item.link&&v()}return(L,G)=>{const Z=he("VPSidebarItem",!0);return a(),V(se(h.value),{class:z(["VPSidebarItem",S.value])},{default:p(()=>[L.item.text?(a(),c("div",le({key:0,class:"item",role:T.value},Tt(L.item.items?{click:C,keydown:C}:{},!0),{tabindex:L.item.items&&0}),[G[1]||(G[1]=u("div",{class:"indicator"},null,-1)),L.item.link?(a(),V(oe,{key:0,tag:M.value,class:"link",href:L.item.link,rel:L.item.rel,target:L.item.target},{default:p(()=>[(a(),V(se(m.value),{class:"text",innerHTML:L.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(a(),V(se(m.value),{key:1,class:"text",innerHTML:L.item.text},null,8,["innerHTML"])),L.item.collapsed!=null&&L.item.items&&L.item.items.length?(a(),c("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:O,onKeydown:wt(O,["enter"]),tabindex:"0"},G[0]||(G[0]=[u("span",{class:"vpi-chevron-right caret-icon"},null,-1)]),32)):$("",!0)],16,Ka)):$("",!0),L.item.items&&L.item.items.length?(a(),c("div",Ra,[L.depth<5?(a(!0),c(F,{key:0},Y(L.item.items,ee=>(a(),V(Z,{key:ee.text,item:ee,depth:L.depth+1},null,8,["item","depth"]))),128)):$("",!0)])):$("",!0)]),_:1},8,["class"])}}}),Qa=P(Za,[["__scopeId","data-v-445ca3af"]]),Xa=b({__name:"VPSidebarGroup",props:{items:{}},setup(o){const e=E(!0);let t=null;return pe(()=>{t=setTimeout(()=>{t=null,e.value=!1},300)}),Nt(()=>{t!=null&&(clearTimeout(t),t=null)}),(n,s)=>(a(!0),c(F,null,Y(n.items,r=>(a(),c("div",{key:r.text,class:z(["group",{"no-transition":e.value}])},[g(Qa,{item:r,depth:0},null,8,["item"])],2))),128))}}),xa=P(Xa,[["__scopeId","data-v-35d61fda"]]),er={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},tr=b({__name:"VPSidebar",props:{open:{type:Boolean}},setup(o){const{sidebarGroups:e,hasSidebar:t}=ae(),n=o,s=E(null),r=ot(Ce?document.body:null);re([n,s],()=>{var d;n.open?(r.value=!0,(d=s.value)==null||d.focus()):r.value=!1},{immediate:!0,flush:"post"});const l=E(0);return re(e,()=>{l.value+=1},{deep:!0}),(d,v)=>i(t)?(a(),c("aside",{key:0,class:z(["VPSidebar",{open:d.open}]),ref_key:"navEl",ref:s,onClick:v[0]||(v[0]=It(()=>{},["stop"]))},[v[2]||(v[2]=u("div",{class:"curtain"},null,-1)),u("nav",er,[v[1]||(v[1]=u("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),f(d.$slots,"sidebar-nav-before",{},void 0,!0),(a(),V(xa,{items:i(e),key:l.value},null,8,["items"])),f(d.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):$("",!0)}}),nr=P(tr,[["__scopeId","data-v-3e8dc4b7"]]),sr=b({__name:"VPSkipLink",setup(o){const e=Ne(),t=E();re(()=>e.path,()=>t.value.focus());function n({target:s}){const r=document.getElementById(decodeURIComponent(s.hash).slice(1));if(r){const l=()=>{r.removeAttribute("tabindex"),r.removeEventListener("blur",l)};r.setAttribute("tabindex","-1"),r.addEventListener("blur",l),r.focus(),window.scrollTo(0,0)}}return(s,r)=>(a(),c(F,null,[u("span",{ref_key:"backToTop",ref:t,tabindex:"-1"},null,512),u("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:n}," Skip to content ")],64))}}),or=P(sr,[["__scopeId","data-v-e7e6f651"]]),ar=b({__name:"Layout",setup(o){const{isOpen:e,open:t,close:n}=ae(),s=Ne();re(()=>s.path,n),Qt(e,n);const{frontmatter:r}=H(),l=Ct(),d=N(()=>!!l["home-hero-image"]);return Je("hero-image-slot-exists",d),(v,h)=>{const M=he("Content");return i(r).layout!==!1?(a(),c("div",{key:0,class:z(["Layout",i(r).pageClass])},[f(v.$slots,"layout-top",{},void 0,!0),g(or),g(Et,{class:"backdrop",show:i(e),onClick:i(n)},null,8,["show","onClick"]),g(qa,null,{"nav-bar-title-before":p(()=>[f(v.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":p(()=>[f(v.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":p(()=>[f(v.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":p(()=>[f(v.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":p(()=>[f(v.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":p(()=>[f(v.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),g(qs,{open:i(e),onOpenMenu:i(t)},null,8,["open","onOpenMenu"]),g(nr,{open:i(e)},{"sidebar-nav-before":p(()=>[f(v.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":p(()=>[f(v.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),g(Is,null,{"page-top":p(()=>[f(v.$slots,"page-top",{},void 0,!0)]),"page-bottom":p(()=>[f(v.$slots,"page-bottom",{},void 0,!0)]),"not-found":p(()=>[f(v.$slots,"not-found",{},void 0,!0)]),"home-hero-before":p(()=>[f(v.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":p(()=>[f(v.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":p(()=>[f(v.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":p(()=>[f(v.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":p(()=>[f(v.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":p(()=>[f(v.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":p(()=>[f(v.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":p(()=>[f(v.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":p(()=>[f(v.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":p(()=>[f(v.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":p(()=>[f(v.$slots,"doc-before",{},void 0,!0)]),"doc-after":p(()=>[f(v.$slots,"doc-after",{},void 0,!0)]),"doc-top":p(()=>[f(v.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":p(()=>[f(v.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":p(()=>[f(v.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":p(()=>[f(v.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":p(()=>[f(v.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":p(()=>[f(v.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":p(()=>[f(v.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":p(()=>[f(v.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),g(Hs),f(v.$slots,"layout-bottom",{},void 0,!0)],2)):(a(),V(M,{key:1}))}}}),rr=P(ar,[["__scopeId","data-v-b2cb9538"]]),je={Layout:rr,enhanceApp:({app:o})=>{o.component("Badge",Bt)}};function ir(o){const e={};for(let t=0;t{e[r]||(e[r]=[]),e[r].push(n)})}return e}function lr(o){const e=[];let t="0",n=-1;for(let s=0;st.id&&t.hasChildNodes()).map(t=>{const n=Number(t.tagName[1]);return{title:ur(t),link:"#"+t.id,level:n}})}function ur(o){let e="";for(const t of o.childNodes)if(t.nodeType===1){if(t.classList.contains("VPBadge")||t.classList.contains("header-anchor"))continue;e+=t.textContent}else t.nodeType===3&&(e+=t.textContent);return e.trim()}const dr={class:"main"},vr={class:"yearItem"},fr={class:"year"},pr=["href"],hr={class:"title"},mr={class:"date"},_r=b({__name:"Archives",setup(o){const{theme:e}=ce(),t=N(()=>lr(e.value.posts));return(n,s)=>(a(),c("div",dr,[(a(!0),c(F,null,Y(t.value,r=>(a(),c("div",vr,[u("div",fr,I(r[0].frontMatter.date.split("-")[0]),1),(a(!0),c(F,null,Y(r,(l,d)=>(a(),c("a",{href:i(ge)(l.regularPath),key:d,class:"article"},[u("div",hr,[s[0]||(s[0]=u("div",{class:"title-o"},null,-1)),x(" "+I(l.frontMatter.title),1)]),u("div",mr,I(l.frontMatter.date.slice(5)),1)],8,pr))),128))]))),256))]))}}),gr=P(_r,[["__scopeId","data-v-69b61450"]]),$r={class:"main"},br={class:"tags"},kr=["onClick"],yr={class:"tag-length"},Pr={class:"header"},Sr={t:"1641783753540",class:"fas-icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1254",style:{width:"20px"}},Lr={class:"header-text"},Vr=["href"],Mr={class:"title"},wr={class:"date"},Tr=b({__name:"Tags",setup(o){const{theme:e}=ce(),t=N(()=>ir(e.value.posts));let n=E("");const s=l=>{n.value=l},r=l=>({fontSize:`${l*.04+.85}em`});return(l,d)=>(a(),c("div",$r,[d[2]||(d[2]=u("h1",{class:"tags-header"},"Tags",-1)),u("div",br,[(a(!0),c(F,null,Y(t.value,(v,h)=>(a(),c("span",{onClick:M=>s(h),class:z(["tag",{activetag:i(n)===h}]),style:Ie(r(t.value[h].length))},[x(I(h)+" ",1),u("span",yr,I(t.value[h].length),1)],14,kr))),256))]),At(u("h4",Pr,[(a(),c("svg",Sr,d[0]||(d[0]=[u("path",{d:"M995.126867 592.38l-360.08 360.08a53.333333 53.333333 0 0 1-71.333334 3.68l356.22-356.22a64 64 0 0 0 0-90.506667L495.8402 85.333333h45.573333a52.986667 52.986667 0 0 1 37.713334 15.62l416 416a53.4 53.4 0 0 1 0 75.426667z m-128 0l-360.08 360.08a53.333333 53.333333 0 0 1-75.426667 0l-416-416A52.986667 52.986667 0 0 1 0.0002 498.746667V138.666667a53.393333 53.393333 0 0 1 53.333333-53.333334h360.08a52.986667 52.986667 0 0 1 37.713334 15.62l416 416a53.4 53.4 0 0 1 0 75.426667zM341.333533 341.333333a85.333333 85.333333 0 1 0-85.333333 85.333334 85.426667 85.426667 0 0 0 85.333333-85.333334z",fill:"var(--vp-c-brand)","p-id":"1255"},null,-1)]))),u("span",Lr,I(i(n)),1)],512),[[Dt,i(n)]]),(a(!0),c(F,null,Y(t.value[i(n)],(v,h)=>(a(),c("a",{href:i(ge)(v.regularPath),key:h,class:"article"},[u("div",Mr,[d[1]||(d[1]=u("div",{class:"title-o"},null,-1)),x(" "+I(v.frontMatter.title),1)]),u("div",wr,I(v.frontMatter.date),1)],8,Vr))),128))]))}}),Nr=P(Tr,[["__scopeId","data-v-6b5bf8a1"]]),Ir={},Cr={viewBox:"0 0 24 24",width:"24",height:"24",class:"darkToggleIcon"};function Ar(o,e){return a(),c("svg",Cr,e[0]||(e[0]=[u("path",{fill:"#93949b",d:"M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"},null,-1)]))}const Dr=P(Ir,[["render",Ar]]),Br={},Hr={viewBox:"0 0 24 24",width:"24",height:"24",class:"lightToggleIcon"};function Or(o,e){return a(),c("svg",Hr,e[0]||(e[0]=[u("path",{fill:"#67676c",d:"M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"},null,-1)]))}const Er=P(Br,[["render",Or]]),Fr={class:"VPNavBar"},zr={class:"container"},jr={class:"content"},Ur={class:"content-body"},Gr={class:"content-body-left"},Wr={href:"/"},Yr={class:"content-body-mid"},Jr={class:"content-body-right"},qr=b({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(o){const{isDark:e}=ce(),t=ye("toggle-appearance",()=>{e.value=!e.value}),{site:n}=ce();return(s,r)=>(a(),c("div",Fr,[u("div",zr,[u("div",jr,[r[1]||(r[1]=u("div",{class:"curtain"},null,-1)),u("div",Ur,[u("div",Gr,[u("a",Wr,I(i(n).title),1)]),u("div",Yr,[g(vt,{class:"search"})]),u("div",Jr,[g(xe,{class:"social-links"}),i(e)?(a(),V(Dr,{key:0,class:"appearance-btn",onClick:i(t)},null,8,["onClick"])):(a(),V(Er,{key:1,class:"appearance-btn",onClick:i(t)},null,8,["onClick"])),g(dt,{class:"hamburger",active:s.isScreenOpen,onClick:r[0]||(r[0]=l=>s.$emit("toggle-screen"))},null,8,["active"])])])])])]))}}),Kr=P(qr,[["__scopeId","data-v-7c1729ca"]]),Rr=b({__name:"Nav",setup(o){const{isScreenOpen:e,closeScreen:t,toggleScreen:n}=lt(),{hasSidebar:s}=ae();return Je("close-screen",t),(r,l)=>(a(),c("header",{class:z(["Nav",{"no-sidebar":!i(s)}])},[g(Kr,{"is-screen-open":i(e),onToggleScreen:i(n)},null,8,["is-screen-open","onToggleScreen"]),g(pt,{open:i(e)},{"nav-screen-content-before":p(()=>[f(r.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":p(()=>[f(r.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])],2))}}),Zr=P(Rr,[["__scopeId","data-v-19dffaed"]]),Qr={class:"footer"},Xr=b({__name:"CopyWright",setup(o){const e=new Date().getFullYear();return(t,n)=>(a(),c("div",Qr,[g(xe),u("footer",null,[n[0]||(n[0]=x(" Powered by ")),n[1]||(n[1]=u("a",{href:"https://github.com/drl990114",target:"_blank",title:"作者"},"drl990114",-1)),x(" | Copyright © 2023-"+I(i(e))+" | MIT License ",1)])]))}}),xr=P(Xr,[["__scopeId","data-v-b0668316"]]),ei={},ti={viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg",class:"pagination__button--next-icon"};function ni(o,e){return a(),c("svg",ti,e[0]||(e[0]=[u("path",{d:"M142.382 16.892l-24.485 24.449c-2.938 2.934-4.897 7.335-4.897 11.246 0 3.912 1.959 8.313 4.897 11.246l192.448 192.168-192.448 192.168c-2.938 2.934-4.897 7.335-4.897 11.246 0 4.401 1.959 8.313 4.897 11.246l24.485 24.449c2.938 2.934 7.345 4.89 11.263 4.89s8.325-1.956 11.263-4.89l228.196-227.864c2.938-2.934 4.897-7.335 4.897-11.246 0-3.912-1.959-8.313-4.897-11.246l-228.196-227.864c-2.938-2.934-7.345-4.89-11.263-4.89s-8.325 1.956-11.263 4.89v.002z"},null,-1)]))}const si=P(ei,[["render",ni]]),oi={},ai={viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg",class:"pagination__button--prev-icon"};function ri(o,e){return a(),c("svg",ai,e[0]||(e[0]=[u("path",{d:"M368.619 16.892l24.485 24.449c2.938 2.934 4.897 7.335 4.897 11.246 0 3.912-1.959 8.313-4.897 11.246l-192.448 192.168 192.448 192.168c2.938 2.934 4.897 7.335 4.897 11.246 0 4.401-1.959 8.313-4.897 11.246l-24.485 24.449c-2.938 2.934-7.345 4.89-11.263 4.89s-8.325-1.956-11.263-4.89l-228.196-227.864c-2.938-2.934-4.897-7.335-4.897-11.246 0-3.912 1.959-8.313 4.897-11.246l228.196-227.864c2.938-2.934 7.345-4.89 11.263-4.89s8.325 1.956 11.263 4.89v.002z"},null,-1)]))}const ii=P(oi,[["render",ri]]),li={class:"blogList"},ci=["href"],ui={class:"title"},di={class:"date"},vi={class:"pagination"},fi={class:"left pageLocation"},pi=b({__name:"Page",setup(o){const{theme:e}=ce();let t=e.value.posts||[],n=e.value.postLength,s=e.value.pageSize,r=n%s===0?n/s:n/s+1;r=parseInt(r.toString());let l=E(1);t=t.filter(S=>S.regularPath.indexOf("index")<0);let d={};for(let S=0;Ss-1&&(v+=1),d[v].push(t[S]);let h=E([]);h.value=d[l.value-1];const M=S=>{l.value=S,h.value=d[l.value-1]},m=S=>{const C=S.split("-");let O=C[0],L="",G=C[2];switch(C[1]){case"1":case"01":L="Jan";break;case"2":case"02":L="Feb";break;case"3":case"03":L="Mar";break;case"4":case"04":L="Apr";break;case"5":case"05":L="May";break;case"6":case"06":L="Jun";break;case"7":case"07":L="Jul";break;case"8":case"08":L="Aug";break;case"9":case"09":L="Sep";break;case"10":L="Oct";break;case"11":L="Nov";break;case"12":L="Dec";break;default:L="Month"}return`${L} ${G}, ${O}`},T=S=>{const C=S%3===2,O=S%3===0,L="1px solid var(--border-color)",G={};return O&&(G["border-right"]=L),C&&(G["border-left"]=L),G};return(S,C)=>(a(),c(F,null,[u("div",li,[(a(!0),c(F,null,Y(i(h),(O,L)=>(a(),c("a",{class:"blog",style:Ie(T(L)),href:i(ge)(O.regularPath)},[u("div",ui,I(O.frontMatter.title),1),u("div",di,I(m(O.frontMatter.date)),1)],12,ci))),256))]),u("div",vi,[u("div",fi,I(`Page: ${i(l)}/${i(r)}`),1),i(l)>1?(a(),c("button",{key:0,class:"left-btn",onClick:C[0]||(C[0]=O=>M(i(l)-1))},[g(ii)])):$("",!0),i(l)M(i(l)+1))},[g(si)])):$("",!0)])],64))}}),hi=P(pi,[["__scopeId","data-v-37cff8cf"]]),mi={key:0,class:"category"},_i={class:"list"},gi={class:"header"},$i=["href"],bi={key:1},ki={class:"header"},yi=["href"],Pi=b({__name:"Category",setup(o){const{frontmatter:e,theme:t}=ce(),n=Ye([]),s=E(!1);return $e(()=>{n.value=cr(e.value.outline??t.value.outline),s.value=n.value.some(r=>r.level===2)}),(r,l)=>n.value.length>0?(a(),c("div",mi,[u("ul",_i,[(a(!0),c(F,null,Y(n.value,d=>(a(),c("li",gi,[d.level===2?(a(),c("a",{key:0,href:d.link,class:"header-h2"},I(d.title),9,$i)):$("",!0),d.level===3?(a(),c("ul",bi,[u("li",ki,[u("a",{href:d.link,class:z(["header-h3",{showIndent:s.value}])},I(d.title),11,yi)])])):$("",!0)]))),256))])])):$("",!0)}}),Si=P(Pi,[["__scopeId","data-v-0f737ab8"]]);var ht=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function mt(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}var _t={exports:{}};(function(o,e){(function(t,n){o.exports=n()})(ht,function(){var t=1e3,n=6e4,s=36e5,r="millisecond",l="second",d="minute",v="hour",h="day",M="week",m="month",T="quarter",S="year",C="date",O="Invalid Date",L=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,G=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,Z={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(A){var y=["th","st","nd","rd"],_=A%100;return"["+A+(y[(_-20)%10]||y[_]||y[0])+"]"}},ee=function(A,y,_){var w=String(A);return!w||w.length>=y?A:""+Array(y+1-w.length).join(_)+A},ne={s:ee,z:function(A){var y=-A.utcOffset(),_=Math.abs(y),w=Math.floor(_/60),k=_%60;return(y<=0?"+":"-")+ee(w,2,"0")+":"+ee(k,2,"0")},m:function A(y,_){if(y.date()<_.date())return-A(_,y);var w=12*(_.year()-y.year())+(_.month()-y.month()),k=y.clone().add(w,m),D=_-k<0,B=y.clone().add(w+(D?-1:1),m);return+(-(w+(_-k)/(D?k-B:B-k))||0)},a:function(A){return A<0?Math.ceil(A)||0:Math.floor(A)},p:function(A){return{M:m,y:S,w:M,d:h,D:C,h:v,m:d,s:l,ms:r,Q:T}[A]||String(A||"").toLowerCase().replace(/s$/,"")},u:function(A){return A===void 0}},J="en",Q={};Q[J]=Z;var me="$isDayjsObject",ue=function(A){return A instanceof Le||!(!A||!A[me])},Se=function A(y,_,w){var k;if(!y)return J;if(typeof y=="string"){var D=y.toLowerCase();Q[D]&&(k=D),_&&(Q[D]=_,k=D);var B=y.split("-");if(!k&&B.length>1)return A(B[0])}else{var U=y.name;Q[U]=y,k=U}return!w&&k&&(J=k),k||!w&&J},q=function(A,y){if(ue(A))return A.clone();var _=typeof y=="object"?y:{};return _.date=A,_.args=arguments,new Le(_)},j=ne;j.l=Se,j.i=ue,j.w=function(A,y){return q(A,{locale:y.$L,utc:y.$u,x:y.$x,$offset:y.$offset})};var Le=function(){function A(_){this.$L=Se(_.locale,null,!0),this.parse(_),this.$x=this.$x||_.x||{},this[me]=!0}var y=A.prototype;return y.parse=function(_){this.$d=function(w){var k=w.date,D=w.utc;if(k===null)return new Date(NaN);if(j.u(k))return new Date;if(k instanceof Date)return new Date(k);if(typeof k=="string"&&!/Z$/i.test(k)){var B=k.match(L);if(B){var U=B[2]-1||0,W=(B[7]||"0").substring(0,3);return D?new Date(Date.UTC(B[1],U,B[3]||1,B[4]||0,B[5]||0,B[6]||0,W)):new Date(B[1],U,B[3]||1,B[4]||0,B[5]||0,B[6]||0,W)}}return new Date(k)}(_),this.init()},y.init=function(){var _=this.$d;this.$y=_.getFullYear(),this.$M=_.getMonth(),this.$D=_.getDate(),this.$W=_.getDay(),this.$H=_.getHours(),this.$m=_.getMinutes(),this.$s=_.getSeconds(),this.$ms=_.getMilliseconds()},y.$utils=function(){return j},y.isValid=function(){return this.$d.toString()!==O},y.isSame=function(_,w){var k=q(_);return this.startOf(w)<=k&&k<=this.endOf(w)},y.isAfter=function(_,w){return q(_)0,Q<=J.r||!J.r){Q<=1&&ne>0&&(J=Z[ne-1]);var me=G[J.l];S&&(Q=S(""+Q)),O=typeof me=="string"?me.replace("%d",Q):me(Q,M,J.l,L);break}}if(M)return O;var ue=L?G.future:G.past;return typeof ue=="function"?ue(O):ue.replace("%s",O)},r.to=function(h,M){return d(h,M,this,!0)},r.from=function(h,M){return d(h,M,this)};var v=function(h){return h.$u?s.utc():s()};r.toNow=function(h){return this.to(v(this),h)},r.fromNow=function(h){return this.from(v(this),h)}}})})(gt);var Vi=gt.exports;const Mi=mt(Vi),wi={class:"title"},Ti={class:"date"},Ni=b({__name:"Title",setup(o){const e=ce().page,t=E("");return Be.extend(Mi),$e(()=>{const{frontmatter:n}=e.value;t.value=Be().to(Be(n.date||Date.now()))}),(n,s)=>(a(),c(F,null,[u("h1",wi,I(i(e).title),1),u("div",Ti,"🕒 Published at: "+I(t.value),1)],64))}}),Ii=P(Ni,[["__scopeId","data-v-ac80d3c4"]]),Ci=b({__name:"MyLayout",setup(o){const{Layout:e}=je,t=()=>{history.back()};return(n,s)=>(a(),c(F,null,[g(Zr),g(i(e),null,{"doc-before":p(()=>[g(Ii),g(Si)]),"doc-after":p(()=>[s[0]||(s[0]=u("div",{class:"done"},"--- Done ---",-1)),u("div",null,[u("button",{onClick:t},"cd ··")])]),"home-features-after":p(()=>[g(hi)]),_:1}),g(xr)],64))}}),Ai=P(Ci,[["__scopeId","data-v-029789cf"]]),Bi={...je,Layout:Ai,enhanceApp(o){je.enhanceApp(o);const{app:e}=o;e.component("Archives",gr),e.component("Tags",Nr)}};export{Bi as R,Ko as c,H as u}; +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/VPLocalSearchBox.CWPdVUyO.js","assets/chunks/framework.CFocJP4i.js"])))=>i.map(i=>d[i]); +import{d as b,o as a,c,r as f,n as z,a as x,t as I,b as V,w as p,e as $,T as Ue,_ as P,u as ce,i as $t,f as bt,g as ge,h as N,j as u,k as i,l as fe,m as He,p as E,q as re,s as Te,v as pe,x as Ge,y as We,z as kt,A as yt,B as he,F,C as Y,D as Ye,E as $e,G as g,H as se,I as nt,J as Ne,K as le,L as ye,M as Pt,N as Ie,O as Oe,P as St,Q as st,R as Ce,S as Lt,U as Vt,V as Mt,W as ot,X as Je,Y as wt,Z as Tt,$ as Nt,a0 as It,a1 as Ct,a2 as At,a3 as Dt}from"./framework.CFocJP4i.js";const Bt=b({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(o){return(e,t)=>(a(),c("span",{class:z(["VPBadge",e.type])},[f(e.$slots,"default",{},()=>[x(I(e.text),1)])],2))}}),Ht={key:0,class:"VPBackdrop"},Ot=b({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(o){return(e,t)=>(a(),V(Ue,{name:"fade"},{default:p(()=>[e.show?(a(),c("div",Ht)):$("",!0)]),_:1}))}}),Et=P(Ot,[["__scopeId","data-v-2c6a0c3e"]]),H=ce;function Ft(o,e){let t,n=!1;return()=>{t&&clearTimeout(t),n?t=setTimeout(o,e):(o(),(n=!0)&&setTimeout(()=>n=!1,e))}}function Ee(o){return/^\//.test(o)?o:`/${o}`}function qe(o){const{pathname:e,search:t,hash:n,protocol:s}=new URL(o,"http://a.com");if($t(o)||o.startsWith("#")||!s.startsWith("http")||!bt(e))return o;const{site:r}=H(),l=e.endsWith("/")||e.endsWith(".html")?o:o.replace(/(?:(^\.+)\/)?.*$/,`$1${e.replace(/(\.md)?$/,r.value.cleanUrls?"":".html")}${t}${n}`);return ge(l)}function Pe({correspondingLink:o=!1}={}){const{site:e,localeIndex:t,page:n,theme:s,hash:r}=H(),l=N(()=>{var v,h;return{label:(v=e.value.locales[t.value])==null?void 0:v.label,link:((h=e.value.locales[t.value])==null?void 0:h.link)||(t.value==="root"?"/":`/${t.value}/`)}});return{localeLinks:N(()=>Object.entries(e.value.locales).flatMap(([v,h])=>l.value.label===h.label?[]:{text:h.label,link:zt(h.link||(v==="root"?"/":`/${v}/`),s.value.i18nRouting!==!1&&o,n.value.relativePath.slice(l.value.link.length-1),!e.value.cleanUrls)+r.value})),currentLang:l}}function zt(o,e,t,n){return e?o.replace(/\/$/,"")+Ee(t.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,n?".html":"")):o}const jt={class:"NotFound"},Ut={class:"code"},Gt={class:"title"},Wt={class:"quote"},Yt={class:"action"},Jt=["href","aria-label"],qt=b({__name:"NotFound",setup(o){const{theme:e}=H(),{currentLang:t}=Pe();return(n,s)=>{var r,l,d,v,h;return a(),c("div",jt,[u("p",Ut,I(((r=i(e).notFound)==null?void 0:r.code)??"404"),1),u("h1",Gt,I(((l=i(e).notFound)==null?void 0:l.title)??"PAGE NOT FOUND"),1),s[0]||(s[0]=u("div",{class:"divider"},null,-1)),u("blockquote",Wt,I(((d=i(e).notFound)==null?void 0:d.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),u("div",Yt,[u("a",{class:"link",href:i(ge)(i(t).link),"aria-label":((v=i(e).notFound)==null?void 0:v.linkLabel)??"go to home"},I(((h=i(e).notFound)==null?void 0:h.linkText)??"Take me home"),9,Jt)])])}}}),Kt=P(qt,[["__scopeId","data-v-9b52c046"]]);function at(o,e){if(Array.isArray(o))return Me(o);if(o==null)return[];e=Ee(e);const t=Object.keys(o).sort((s,r)=>r.split("/").length-s.split("/").length).find(s=>e.startsWith(Ee(s))),n=t?o[t]:[];return Array.isArray(n)?Me(n):Me(n.items,n.base)}function Rt(o){const e=[];let t=0;for(const n in o){const s=o[n];if(s.items){t=e.push(s);continue}e[t]||e.push({items:[]}),e[t].items.push(s)}return e}function Zt(o){const e=[];function t(n){for(const s of n)s.text&&s.link&&e.push({text:s.text,link:s.link,docFooterText:s.docFooterText}),s.items&&t(s.items)}return t(o),e}function Fe(o,e){return Array.isArray(e)?e.some(t=>Fe(o,t)):fe(o,e.link)?!0:e.items?Fe(o,e.items):!1}function Me(o,e){return[...o].map(t=>{const n={...t},s=n.base||e;return s&&n.link&&(n.link=s+n.link),n.items&&(n.items=Me(n.items,s)),n})}function ae(){const{frontmatter:o,page:e,theme:t}=H(),n=He("(min-width: 960px)"),s=E(!1),r=N(()=>{const O=t.value.sidebar,L=e.value.relativePath;return O?at(O,L):[]}),l=E(r.value);re(r,(O,L)=>{JSON.stringify(O)!==JSON.stringify(L)&&(l.value=r.value)});const d=N(()=>o.value.sidebar!==!1&&l.value.length>0&&o.value.layout!=="home"),v=N(()=>h?o.value.aside==null?t.value.aside==="left":o.value.aside==="left":!1),h=N(()=>o.value.layout==="home"?!1:o.value.aside!=null?!!o.value.aside:t.value.aside!==!1),M=N(()=>d.value&&n.value),m=N(()=>d.value?Rt(l.value):[]);function T(){s.value=!0}function S(){s.value=!1}function C(){s.value?S():T()}return{isOpen:s,sidebar:l,sidebarGroups:m,hasSidebar:d,hasAside:h,leftAside:v,isSidebarEnabled:M,open:T,close:S,toggle:C}}function Qt(o,e){let t;Te(()=>{t=o.value?document.activeElement:void 0}),pe(()=>{window.addEventListener("keyup",n)}),Ge(()=>{window.removeEventListener("keyup",n)});function n(s){s.key==="Escape"&&o.value&&(e(),t==null||t.focus())}}function Xt(o){const{page:e,hash:t}=H(),n=E(!1),s=N(()=>o.value.collapsed!=null),r=N(()=>!!o.value.link),l=E(!1),d=()=>{l.value=fe(e.value.relativePath,o.value.link)};re([e,o,t],d),pe(d);const v=N(()=>l.value?!0:o.value.items?Fe(e.value.relativePath,o.value.items):!1),h=N(()=>!!(o.value.items&&o.value.items.length));Te(()=>{n.value=!!(s.value&&o.value.collapsed)}),We(()=>{(l.value||v.value)&&(n.value=!1)});function M(){s.value&&(n.value=!n.value)}return{collapsed:n,collapsible:s,isLink:r,isActiveLink:l,hasActiveLink:v,hasChildren:h,toggle:M}}function xt(){const{hasSidebar:o}=ae(),e=He("(min-width: 960px)"),t=He("(min-width: 1280px)");return{isAsideEnabled:N(()=>!t.value&&!e.value?!1:o.value?t.value:e.value)}}const ze=[];function rt(o){return typeof o.outline=="object"&&!Array.isArray(o.outline)&&o.outline.label||o.outlineTitle||"On this page"}function Ke(o){const e=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(t=>t.id&&t.hasChildNodes()).map(t=>{const n=Number(t.tagName[1]);return{element:t,title:en(t),link:"#"+t.id,level:n}});return tn(e,o)}function en(o){let e="";for(const t of o.childNodes)if(t.nodeType===1){if(t.classList.contains("VPBadge")||t.classList.contains("header-anchor")||t.classList.contains("ignore-header"))continue;e+=t.textContent}else t.nodeType===3&&(e+=t.textContent);return e.trim()}function tn(o,e){if(e===!1)return[];const t=(typeof e=="object"&&!Array.isArray(e)?e.level:e)||2,[n,s]=typeof t=="number"?[t,t]:t==="deep"?[2,6]:t;o=o.filter(l=>l.level>=n&&l.level<=s),ze.length=0;for(const{element:l,link:d}of o)ze.push({element:l,link:d});const r=[];e:for(let l=0;l=0;v--){const h=o[v];if(h.level{requestAnimationFrame(r),window.addEventListener("scroll",n)}),kt(()=>{l(location.hash)}),Ge(()=>{window.removeEventListener("scroll",n)});function r(){if(!t.value)return;const d=window.scrollY,v=window.innerHeight,h=document.body.offsetHeight,M=Math.abs(d+v-h)<1,m=ze.map(({element:S,link:C})=>({link:C,top:sn(S)})).filter(({top:S})=>!Number.isNaN(S)).sort((S,C)=>S.top-C.top);if(!m.length){l(null);return}if(d<1){l(null);return}if(M){l(m[m.length-1].link);return}let T=null;for(const{link:S,top:C}of m){if(C>d+yt()+4)break;T=S}l(T)}function l(d){s&&s.classList.remove("active"),d==null?s=null:s=o.value.querySelector(`a[href="${decodeURIComponent(d)}"]`);const v=s;v?(v.classList.add("active"),e.value.style.top=v.offsetTop+39+"px",e.value.style.opacity="1"):(e.value.style.top="33px",e.value.style.opacity="0")}}function sn(o){let e=0;for(;o!==document.body;){if(o===null)return NaN;e+=o.offsetTop,o=o.offsetParent}return e}const on=["href","title"],an=b({__name:"VPDocOutlineItem",props:{headers:{},root:{type:Boolean}},setup(o){function e({target:t}){const n=t.href.split("#")[1],s=document.getElementById(decodeURIComponent(n));s==null||s.focus({preventScroll:!0})}return(t,n)=>{const s=he("VPDocOutlineItem",!0);return a(),c("ul",{class:z(["VPDocOutlineItem",t.root?"root":"nested"])},[(a(!0),c(F,null,Y(t.headers,({children:r,link:l,title:d})=>(a(),c("li",null,[u("a",{class:"outline-link",href:l,onClick:e,title:d},I(d),9,on),r!=null&&r.length?(a(),V(s,{key:0,headers:r},null,8,["headers"])):$("",!0)]))),256))],2)}}}),it=P(an,[["__scopeId","data-v-16e4d5a1"]]),rn={class:"content"},ln={"aria-level":"2",class:"outline-title",id:"doc-outline-aria-label",role:"heading"},cn=b({__name:"VPDocAsideOutline",setup(o){const{frontmatter:e,theme:t}=H(),n=Ye([]);$e(()=>{n.value=Ke(e.value.outline??t.value.outline)});const s=E(),r=E();return nn(s,r),(l,d)=>(a(),c("nav",{"aria-labelledby":"doc-outline-aria-label",class:z(["VPDocAsideOutline",{"has-outline":n.value.length>0}]),ref_key:"container",ref:s},[u("div",rn,[u("div",{class:"outline-marker",ref_key:"marker",ref:r},null,512),u("div",ln,I(i(rt)(i(t))),1),g(it,{headers:n.value,root:!0},null,8,["headers"])])],2))}}),un=P(cn,[["__scopeId","data-v-af96c7f8"]]),dn={class:"VPDocAsideCarbonAds"},vn=b({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(o){const e=()=>null;return(t,n)=>(a(),c("div",dn,[g(i(e),{"carbon-ads":t.carbonAds},null,8,["carbon-ads"])]))}}),fn={class:"VPDocAside"},pn=b({__name:"VPDocAside",setup(o){const{theme:e}=H();return(t,n)=>(a(),c("div",fn,[f(t.$slots,"aside-top",{},void 0,!0),f(t.$slots,"aside-outline-before",{},void 0,!0),g(un),f(t.$slots,"aside-outline-after",{},void 0,!0),n[0]||(n[0]=u("div",{class:"spacer"},null,-1)),f(t.$slots,"aside-ads-before",{},void 0,!0),i(e).carbonAds?(a(),V(vn,{key:0,"carbon-ads":i(e).carbonAds},null,8,["carbon-ads"])):$("",!0),f(t.$slots,"aside-ads-after",{},void 0,!0),f(t.$slots,"aside-bottom",{},void 0,!0)]))}}),hn=P(pn,[["__scopeId","data-v-4d9eb13b"]]);function mn(){const{theme:o,page:e}=H();return N(()=>{const{text:t="Edit this page",pattern:n=""}=o.value.editLink||{};let s;return typeof n=="function"?s=n(e.value):s=n.replace(/:path/g,e.value.filePath),{url:s,text:t}})}function _n(){const{page:o,theme:e,frontmatter:t}=H();return N(()=>{var h,M,m,T,S,C,O,L;const n=at(e.value.sidebar,o.value.relativePath),s=Zt(n),r=gn(s,G=>G.link.replace(/[?#].*$/,"")),l=r.findIndex(G=>fe(o.value.relativePath,G.link)),d=((h=e.value.docFooter)==null?void 0:h.prev)===!1&&!t.value.prev||t.value.prev===!1,v=((M=e.value.docFooter)==null?void 0:M.next)===!1&&!t.value.next||t.value.next===!1;return{prev:d?void 0:{text:(typeof t.value.prev=="string"?t.value.prev:typeof t.value.prev=="object"?t.value.prev.text:void 0)??((m=r[l-1])==null?void 0:m.docFooterText)??((T=r[l-1])==null?void 0:T.text),link:(typeof t.value.prev=="object"?t.value.prev.link:void 0)??((S=r[l-1])==null?void 0:S.link)},next:v?void 0:{text:(typeof t.value.next=="string"?t.value.next:typeof t.value.next=="object"?t.value.next.text:void 0)??((C=r[l+1])==null?void 0:C.docFooterText)??((O=r[l+1])==null?void 0:O.text),link:(typeof t.value.next=="object"?t.value.next.link:void 0)??((L=r[l+1])==null?void 0:L.link)}}})}function gn(o,e){const t=new Set;return o.filter(n=>{const s=e(n);return t.has(s)?!1:t.add(s)})}const oe=b({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(o){const e=o,t=N(()=>e.tag??(e.href?"a":"span")),n=N(()=>e.href&&nt.test(e.href)||e.target==="_blank");return(s,r)=>(a(),V(se(t.value),{class:z(["VPLink",{link:s.href,"vp-external-link-icon":n.value,"no-icon":s.noIcon}]),href:s.href?i(qe)(s.href):void 0,target:s.target??(n.value?"_blank":void 0),rel:s.rel??(n.value?"noreferrer":void 0)},{default:p(()=>[f(s.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),$n={class:"VPLastUpdated"},bn=["datetime"],kn=b({__name:"VPDocFooterLastUpdated",setup(o){const{theme:e,page:t,lang:n}=H(),s=N(()=>new Date(t.value.lastUpdated)),r=N(()=>s.value.toISOString()),l=E("");return pe(()=>{Te(()=>{var d,v,h;l.value=new Intl.DateTimeFormat((v=(d=e.value.lastUpdated)==null?void 0:d.formatOptions)!=null&&v.forceLocale?n.value:void 0,((h=e.value.lastUpdated)==null?void 0:h.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(s.value)})}),(d,v)=>{var h;return a(),c("p",$n,[x(I(((h=i(e).lastUpdated)==null?void 0:h.text)||i(e).lastUpdatedText||"Last updated")+": ",1),u("time",{datetime:r.value},I(l.value),9,bn)])}}}),yn=P(kn,[["__scopeId","data-v-a7debf4c"]]),Pn={key:0,class:"VPDocFooter"},Sn={key:0,class:"edit-info"},Ln={key:0,class:"edit-link"},Vn={key:1,class:"last-updated"},Mn={key:1,class:"prev-next","aria-labelledby":"doc-footer-aria-label"},wn={class:"pager"},Tn=["innerHTML"],Nn=["innerHTML"],In={class:"pager"},Cn=["innerHTML"],An=["innerHTML"],Dn=b({__name:"VPDocFooter",setup(o){const{theme:e,page:t,frontmatter:n}=H(),s=mn(),r=_n(),l=N(()=>e.value.editLink&&n.value.editLink!==!1),d=N(()=>t.value.lastUpdated),v=N(()=>l.value||d.value||r.value.prev||r.value.next);return(h,M)=>{var m,T,S,C;return v.value?(a(),c("footer",Pn,[f(h.$slots,"doc-footer-before",{},void 0,!0),l.value||d.value?(a(),c("div",Sn,[l.value?(a(),c("div",Ln,[g(oe,{class:"edit-link-button",href:i(s).url,"no-icon":!0},{default:p(()=>[M[0]||(M[0]=u("span",{class:"vpi-square-pen edit-link-icon"},null,-1)),x(" "+I(i(s).text),1)]),_:1},8,["href"])])):$("",!0),d.value?(a(),c("div",Vn,[g(yn)])):$("",!0)])):$("",!0),(m=i(r).prev)!=null&&m.link||(T=i(r).next)!=null&&T.link?(a(),c("nav",Mn,[M[1]||(M[1]=u("span",{class:"visually-hidden",id:"doc-footer-aria-label"},"Pager",-1)),u("div",wn,[(S=i(r).prev)!=null&&S.link?(a(),V(oe,{key:0,class:"pager-link prev",href:i(r).prev.link},{default:p(()=>{var O;return[u("span",{class:"desc",innerHTML:((O=i(e).docFooter)==null?void 0:O.prev)||"Previous page"},null,8,Tn),u("span",{class:"title",innerHTML:i(r).prev.text},null,8,Nn)]}),_:1},8,["href"])):$("",!0)]),u("div",In,[(C=i(r).next)!=null&&C.link?(a(),V(oe,{key:0,class:"pager-link next",href:i(r).next.link},{default:p(()=>{var O;return[u("span",{class:"desc",innerHTML:((O=i(e).docFooter)==null?void 0:O.next)||"Next page"},null,8,Cn),u("span",{class:"title",innerHTML:i(r).next.text},null,8,An)]}),_:1},8,["href"])):$("",!0)])])):$("",!0)])):$("",!0)}}}),Bn=P(Dn,[["__scopeId","data-v-4c636c82"]]),Hn={class:"container"},On={class:"aside-container"},En={class:"aside-content"},Fn={class:"content"},zn={class:"content-container"},jn={class:"main"},Un=b({__name:"VPDoc",setup(o){const{theme:e}=H(),t=Ne(),{hasSidebar:n,hasAside:s,leftAside:r}=ae(),l=N(()=>t.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(d,v)=>{const h=he("Content");return a(),c("div",{class:z(["VPDoc",{"has-sidebar":i(n),"has-aside":i(s)}])},[f(d.$slots,"doc-top",{},void 0,!0),u("div",Hn,[i(s)?(a(),c("div",{key:0,class:z(["aside",{"left-aside":i(r)}])},[v[0]||(v[0]=u("div",{class:"aside-curtain"},null,-1)),u("div",On,[u("div",En,[g(hn,null,{"aside-top":p(()=>[f(d.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":p(()=>[f(d.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":p(()=>[f(d.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":p(()=>[f(d.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":p(()=>[f(d.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":p(()=>[f(d.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):$("",!0),u("div",Fn,[u("div",zn,[f(d.$slots,"doc-before",{},void 0,!0),u("main",jn,[g(h,{class:z(["vp-doc",[l.value,i(e).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),g(Bn,null,{"doc-footer-before":p(()=>[f(d.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),f(d.$slots,"doc-after",{},void 0,!0)])])]),f(d.$slots,"doc-bottom",{},void 0,!0)],2)}}}),Gn=P(Un,[["__scopeId","data-v-d850b5e4"]]),Wn=b({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{},target:{},rel:{}},setup(o){const e=o,t=N(()=>e.href&&nt.test(e.href)),n=N(()=>e.tag||e.href?"a":"button");return(s,r)=>(a(),V(se(n.value),{class:z(["VPButton",[s.size,s.theme]]),href:s.href?i(qe)(s.href):void 0,target:e.target??(t.value?"_blank":void 0),rel:e.rel??(t.value?"noreferrer":void 0)},{default:p(()=>[x(I(s.text),1)]),_:1},8,["class","href","target","rel"]))}}),Yn=P(Wn,[["__scopeId","data-v-650b9dfb"]]),Jn=["src","alt"],qn=b({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(o){return(e,t)=>{const n=he("VPImage",!0);return e.image?(a(),c(F,{key:0},[typeof e.image=="string"||"src"in e.image?(a(),c("img",le({key:0,class:"VPImage"},typeof e.image=="string"?e.$attrs:{...e.image,...e.$attrs},{src:i(ge)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,Jn)):(a(),c(F,{key:1},[g(n,le({class:"dark",image:e.image.dark,alt:e.image.alt},e.$attrs),null,16,["image","alt"]),g(n,le({class:"light",image:e.image.light,alt:e.image.alt},e.$attrs),null,16,["image","alt"])],64))],64)):$("",!0)}}}),we=P(qn,[["__scopeId","data-v-50daf791"]]),Kn={class:"container"},Rn={class:"main"},Zn={key:0,class:"name"},Qn=["innerHTML"],Xn=["innerHTML"],xn=["innerHTML"],es={key:0,class:"actions"},ts={key:0,class:"image"},ns={class:"image-container"},ss=b({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(o){const e=ye("hero-image-slot-exists");return(t,n)=>(a(),c("div",{class:z(["VPHero",{"has-image":t.image||i(e)}])},[u("div",Kn,[u("div",Rn,[f(t.$slots,"home-hero-info-before",{},void 0,!0),f(t.$slots,"home-hero-info",{},()=>[t.name?(a(),c("h1",Zn,[u("span",{innerHTML:t.name,class:"clip"},null,8,Qn)])):$("",!0),t.text?(a(),c("p",{key:1,innerHTML:t.text,class:"text"},null,8,Xn)):$("",!0),t.tagline?(a(),c("p",{key:2,innerHTML:t.tagline,class:"tagline"},null,8,xn)):$("",!0)],!0),f(t.$slots,"home-hero-info-after",{},void 0,!0),t.actions?(a(),c("div",es,[(a(!0),c(F,null,Y(t.actions,s=>(a(),c("div",{key:s.link,class:"action"},[g(Yn,{tag:"a",size:"medium",theme:s.theme,text:s.text,href:s.link,target:s.target,rel:s.rel},null,8,["theme","text","href","target","rel"])]))),128))])):$("",!0),f(t.$slots,"home-hero-actions-after",{},void 0,!0)]),t.image||i(e)?(a(),c("div",ts,[u("div",ns,[n[0]||(n[0]=u("div",{class:"image-bg"},null,-1)),f(t.$slots,"home-hero-image",{},()=>[t.image?(a(),V(we,{key:0,class:"image-src",image:t.image},null,8,["image"])):$("",!0)],!0)])])):$("",!0)])],2))}}),os=P(ss,[["__scopeId","data-v-35595421"]]),as=b({__name:"VPHomeHero",setup(o){const{frontmatter:e}=H();return(t,n)=>i(e).hero?(a(),V(os,{key:0,class:"VPHomeHero",name:i(e).hero.name,text:i(e).hero.text,tagline:i(e).hero.tagline,image:i(e).hero.image,actions:i(e).hero.actions},{"home-hero-info-before":p(()=>[f(t.$slots,"home-hero-info-before")]),"home-hero-info":p(()=>[f(t.$slots,"home-hero-info")]),"home-hero-info-after":p(()=>[f(t.$slots,"home-hero-info-after")]),"home-hero-actions-after":p(()=>[f(t.$slots,"home-hero-actions-after")]),"home-hero-image":p(()=>[f(t.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):$("",!0)}}),rs={class:"box"},is={key:0,class:"icon"},ls=["innerHTML"],cs=["innerHTML"],us=["innerHTML"],ds={key:4,class:"link-text"},vs={class:"link-text-value"},fs=b({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(o){return(e,t)=>(a(),V(oe,{class:"VPFeature",href:e.link,rel:e.rel,target:e.target,"no-icon":!0,tag:e.link?"a":"div"},{default:p(()=>[u("article",rs,[typeof e.icon=="object"&&e.icon.wrap?(a(),c("div",is,[g(we,{image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])])):typeof e.icon=="object"?(a(),V(we,{key:1,image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])):e.icon?(a(),c("div",{key:2,class:"icon",innerHTML:e.icon},null,8,ls)):$("",!0),u("h2",{class:"title",innerHTML:e.title},null,8,cs),e.details?(a(),c("p",{key:3,class:"details",innerHTML:e.details},null,8,us)):$("",!0),e.linkText?(a(),c("div",ds,[u("p",vs,[x(I(e.linkText)+" ",1),t[0]||(t[0]=u("span",{class:"vpi-arrow-right link-text-icon"},null,-1))])])):$("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),ps=P(fs,[["__scopeId","data-v-ff0fbafa"]]),hs={key:0,class:"VPFeatures"},ms={class:"container"},_s={class:"items"},gs=b({__name:"VPFeatures",props:{features:{}},setup(o){const e=o,t=N(()=>{const n=e.features.length;if(n){if(n===2)return"grid-2";if(n===3)return"grid-3";if(n%3===0)return"grid-6";if(n>3)return"grid-4"}else return});return(n,s)=>n.features?(a(),c("div",hs,[u("div",ms,[u("div",_s,[(a(!0),c(F,null,Y(n.features,r=>(a(),c("div",{key:r.title,class:z(["item",[t.value]])},[g(ps,{icon:r.icon,title:r.title,details:r.details,link:r.link,"link-text":r.linkText,rel:r.rel,target:r.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])])])):$("",!0)}}),$s=P(gs,[["__scopeId","data-v-16656b2a"]]),bs=b({__name:"VPHomeFeatures",setup(o){const{frontmatter:e}=H();return(t,n)=>i(e).features?(a(),V($s,{key:0,class:"VPHomeFeatures",features:i(e).features},null,8,["features"])):$("",!0)}}),ks=b({__name:"VPHomeContent",setup(o){const{width:e}=Pt({initialWidth:0,includeScrollbar:!1});return(t,n)=>(a(),c("div",{class:"vp-doc container",style:Ie(i(e)?{"--vp-offset":`calc(50% - ${i(e)/2}px)`}:{})},[f(t.$slots,"default",{},void 0,!0)],4))}}),ys=P(ks,[["__scopeId","data-v-840715e8"]]),Ps={class:"VPHome"},Ss=b({__name:"VPHome",setup(o){const{frontmatter:e}=H();return(t,n)=>{const s=he("Content");return a(),c("div",Ps,[f(t.$slots,"home-hero-before",{},void 0,!0),g(as,null,{"home-hero-info-before":p(()=>[f(t.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":p(()=>[f(t.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":p(()=>[f(t.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":p(()=>[f(t.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":p(()=>[f(t.$slots,"home-hero-image",{},void 0,!0)]),_:3}),f(t.$slots,"home-hero-after",{},void 0,!0),f(t.$slots,"home-features-before",{},void 0,!0),g(bs),f(t.$slots,"home-features-after",{},void 0,!0),i(e).markdownStyles!==!1?(a(),V(ys,{key:0},{default:p(()=>[g(s)]),_:1})):(a(),V(s,{key:1}))])}}}),Ls=P(Ss,[["__scopeId","data-v-f94029f7"]]),Vs={},Ms={class:"VPPage"};function ws(o,e){const t=he("Content");return a(),c("div",Ms,[f(o.$slots,"page-top"),g(t),f(o.$slots,"page-bottom")])}const Ts=P(Vs,[["render",ws]]),Ns=b({__name:"VPContent",setup(o){const{page:e,frontmatter:t}=H(),{hasSidebar:n}=ae();return(s,r)=>(a(),c("div",{class:z(["VPContent",{"has-sidebar":i(n),"is-home":i(t).layout==="home"}]),id:"VPContent"},[i(e).isNotFound?f(s.$slots,"not-found",{key:0},()=>[g(Kt)],!0):i(t).layout==="page"?(a(),V(Ts,{key:1},{"page-top":p(()=>[f(s.$slots,"page-top",{},void 0,!0)]),"page-bottom":p(()=>[f(s.$slots,"page-bottom",{},void 0,!0)]),_:3})):i(t).layout==="home"?(a(),V(Ls,{key:2},{"home-hero-before":p(()=>[f(s.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":p(()=>[f(s.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":p(()=>[f(s.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":p(()=>[f(s.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":p(()=>[f(s.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":p(()=>[f(s.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":p(()=>[f(s.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":p(()=>[f(s.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":p(()=>[f(s.$slots,"home-features-after",{},void 0,!0)]),_:3})):i(t).layout&&i(t).layout!=="doc"?(a(),V(se(i(t).layout),{key:3})):(a(),V(Gn,{key:4},{"doc-top":p(()=>[f(s.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":p(()=>[f(s.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":p(()=>[f(s.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":p(()=>[f(s.$slots,"doc-before",{},void 0,!0)]),"doc-after":p(()=>[f(s.$slots,"doc-after",{},void 0,!0)]),"aside-top":p(()=>[f(s.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":p(()=>[f(s.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":p(()=>[f(s.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":p(()=>[f(s.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":p(()=>[f(s.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":p(()=>[f(s.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),Is=P(Ns,[["__scopeId","data-v-ddf31280"]]),Cs={class:"container"},As=["innerHTML"],Ds=["innerHTML"],Bs=b({__name:"VPFooter",setup(o){const{theme:e,frontmatter:t}=H(),{hasSidebar:n}=ae();return(s,r)=>i(e).footer&&i(t).footer!==!1?(a(),c("footer",{key:0,class:z(["VPFooter",{"has-sidebar":i(n)}])},[u("div",Cs,[i(e).footer.message?(a(),c("p",{key:0,class:"message",innerHTML:i(e).footer.message},null,8,As)):$("",!0),i(e).footer.copyright?(a(),c("p",{key:1,class:"copyright",innerHTML:i(e).footer.copyright},null,8,Ds)):$("",!0)])],2)):$("",!0)}}),Hs=P(Bs,[["__scopeId","data-v-c8066796"]]);function Os(){const{theme:o,frontmatter:e}=H(),t=Ye([]),n=N(()=>t.value.length>0);return $e(()=>{t.value=Ke(e.value.outline??o.value.outline)}),{headers:t,hasLocalNav:n}}const Es={class:"menu-text"},Fs={class:"header"},zs={class:"outline"},js=b({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(o){const e=o,{theme:t}=H(),n=E(!1),s=E(0),r=E(),l=E();function d(m){var T;(T=r.value)!=null&&T.contains(m.target)||(n.value=!1)}re(n,m=>{if(m){document.addEventListener("click",d);return}document.removeEventListener("click",d)}),Oe("Escape",()=>{n.value=!1}),$e(()=>{n.value=!1});function v(){n.value=!n.value,s.value=window.innerHeight+Math.min(window.scrollY-e.navHeight,0)}function h(m){m.target.classList.contains("outline-link")&&(l.value&&(l.value.style.transition="none"),St(()=>{n.value=!1}))}function M(){n.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(m,T)=>(a(),c("div",{class:"VPLocalNavOutlineDropdown",style:Ie({"--vp-vh":s.value+"px"}),ref_key:"main",ref:r},[m.headers.length>0?(a(),c("button",{key:0,onClick:v,class:z({open:n.value})},[u("span",Es,I(i(rt)(i(t))),1),T[0]||(T[0]=u("span",{class:"vpi-chevron-right icon"},null,-1))],2)):(a(),c("button",{key:1,onClick:M},I(i(t).returnToTopLabel||"Return to top"),1)),g(Ue,{name:"flyout"},{default:p(()=>[n.value?(a(),c("div",{key:0,ref_key:"items",ref:l,class:"items",onClick:h},[u("div",Fs,[u("a",{class:"top-link",href:"#",onClick:M},I(i(t).returnToTopLabel||"Return to top"),1)]),u("div",zs,[g(it,{headers:m.headers},null,8,["headers"])])],512)):$("",!0)]),_:1})],4))}}),Us=P(js,[["__scopeId","data-v-6d2599c3"]]),Gs={class:"container"},Ws=["aria-expanded"],Ys={class:"menu-text"},Js=b({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(o){const{theme:e,frontmatter:t}=H(),{hasSidebar:n}=ae(),{headers:s}=Os(),{y:r}=st(),l=E(0);pe(()=>{l.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),$e(()=>{s.value=Ke(t.value.outline??e.value.outline)});const d=N(()=>s.value.length===0),v=N(()=>d.value&&!n.value),h=N(()=>({VPLocalNav:!0,"has-sidebar":n.value,empty:d.value,fixed:v.value}));return(M,m)=>i(t).layout!=="home"&&(!v.value||i(r)>=l.value)?(a(),c("div",{key:0,class:z(h.value)},[u("div",Gs,[i(n)?(a(),c("button",{key:0,class:"menu","aria-expanded":M.open,"aria-controls":"VPSidebarNav",onClick:m[0]||(m[0]=T=>M.$emit("open-menu"))},[m[1]||(m[1]=u("span",{class:"vpi-align-left menu-icon"},null,-1)),u("span",Ys,I(i(e).sidebarMenuLabel||"Menu"),1)],8,Ws)):$("",!0),g(Us,{headers:i(s),navHeight:l.value},null,8,["headers","navHeight"])])],2)):$("",!0)}}),qs=P(Js,[["__scopeId","data-v-3f3cc52f"]]);function lt(){const o=E(!1);function e(){o.value=!0,window.addEventListener("resize",s)}function t(){o.value=!1,window.removeEventListener("resize",s)}function n(){o.value?t():e()}function s(){window.outerWidth>=768&&t()}const r=Ne();return re(()=>r.path,t),{isScreenOpen:o,openScreen:e,closeScreen:t,toggleScreen:n}}const Ks={},Rs={class:"VPSwitch",type:"button",role:"switch"},Zs={class:"check"},Qs={key:0,class:"icon"};function Xs(o,e){return a(),c("button",Rs,[u("span",Zs,[o.$slots.default?(a(),c("span",Qs,[f(o.$slots,"default",{},void 0,!0)])):$("",!0)])])}const xs=P(Ks,[["render",Xs],["__scopeId","data-v-3d4793b5"]]),eo=b({__name:"VPSwitchAppearance",setup(o){const{isDark:e,theme:t}=H(),n=ye("toggle-appearance",()=>{e.value=!e.value}),s=E("");return We(()=>{s.value=e.value?t.value.lightModeSwitchTitle||"Switch to light theme":t.value.darkModeSwitchTitle||"Switch to dark theme"}),(r,l)=>(a(),V(xs,{title:s.value,class:"VPSwitchAppearance","aria-checked":i(e),onClick:i(n)},{default:p(()=>l[0]||(l[0]=[u("span",{class:"vpi-sun sun"},null,-1),u("span",{class:"vpi-moon moon"},null,-1)])),_:1},8,["title","aria-checked","onClick"]))}}),Re=P(eo,[["__scopeId","data-v-6e5d13de"]]),to={key:0,class:"VPNavBarAppearance"},no=b({__name:"VPNavBarAppearance",setup(o){const{site:e}=H();return(t,n)=>i(e).appearance&&i(e).appearance!=="force-dark"&&i(e).appearance!=="force-auto"?(a(),c("div",to,[g(Re)])):$("",!0)}}),so=P(no,[["__scopeId","data-v-5572cdc4"]]),Ze=E();let ct=!1,De=0;function oo(o){const e=E(!1);if(Ce){!ct&&ao(),De++;const t=re(Ze,n=>{var s,r,l;n===o.el.value||(s=o.el.value)!=null&&s.contains(n)?(e.value=!0,(r=o.onFocus)==null||r.call(o)):(e.value=!1,(l=o.onBlur)==null||l.call(o))});Ge(()=>{t(),De--,De||ro()})}return Lt(e)}function ao(){document.addEventListener("focusin",ut),ct=!0,Ze.value=document.activeElement}function ro(){document.removeEventListener("focusin",ut)}function ut(){Ze.value=document.activeElement}const io={class:"VPMenuLink"},lo=b({__name:"VPMenuLink",props:{item:{}},setup(o){const{page:e}=H();return(t,n)=>(a(),c("div",io,[g(oe,{class:z({active:i(fe)(i(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel},{default:p(()=>[x(I(t.item.text),1)]),_:1},8,["class","href","target","rel"])]))}}),Ae=P(lo,[["__scopeId","data-v-360ed28f"]]),co={class:"VPMenuGroup"},uo={key:0,class:"title"},vo=b({__name:"VPMenuGroup",props:{text:{},items:{}},setup(o){return(e,t)=>(a(),c("div",co,[e.text?(a(),c("p",uo,I(e.text),1)):$("",!0),(a(!0),c(F,null,Y(e.items,n=>(a(),c(F,null,["link"in n?(a(),V(Ae,{key:0,item:n},null,8,["item"])):$("",!0)],64))),256))]))}}),fo=P(vo,[["__scopeId","data-v-4a5665f4"]]),po={class:"VPMenu"},ho={key:0,class:"items"},mo=b({__name:"VPMenu",props:{items:{}},setup(o){return(e,t)=>(a(),c("div",po,[e.items?(a(),c("div",ho,[(a(!0),c(F,null,Y(e.items,n=>(a(),c(F,{key:JSON.stringify(n)},["link"in n?(a(),V(Ae,{key:0,item:n},null,8,["item"])):"component"in n?(a(),V(se(n.component),le({key:1,ref_for:!0},n.props),null,16)):(a(),V(fo,{key:2,text:n.text,items:n.items},null,8,["text","items"]))],64))),128))])):$("",!0),f(e.$slots,"default",{},void 0,!0)]))}}),_o=P(mo,[["__scopeId","data-v-5f94fd09"]]),go=["aria-expanded","aria-label"],$o={key:0,class:"text"},bo=["innerHTML"],ko={key:1,class:"vpi-more-horizontal icon"},yo={class:"menu"},Po=b({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(o){const e=E(!1),t=E();oo({el:t,onBlur:n});function n(){e.value=!1}return(s,r)=>(a(),c("div",{class:"VPFlyout",ref_key:"el",ref:t,onMouseenter:r[1]||(r[1]=l=>e.value=!0),onMouseleave:r[2]||(r[2]=l=>e.value=!1)},[u("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":e.value,"aria-label":s.label,onClick:r[0]||(r[0]=l=>e.value=!e.value)},[s.button||s.icon?(a(),c("span",$o,[s.icon?(a(),c("span",{key:0,class:z([s.icon,"option-icon"])},null,2)):$("",!0),s.button?(a(),c("span",{key:1,innerHTML:s.button},null,8,bo)):$("",!0),r[3]||(r[3]=u("span",{class:"vpi-chevron-down text-icon"},null,-1))])):(a(),c("span",ko))],8,go),u("div",yo,[g(_o,{items:s.items},{default:p(()=>[f(s.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),Qe=P(Po,[["__scopeId","data-v-d177e59f"]]),So=["href","aria-label","innerHTML"],Lo=b({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(o){const e=o,t=N(()=>typeof e.icon=="object"?e.icon.svg:``);return(n,s)=>(a(),c("a",{class:"VPSocialLink no-icon",href:n.link,"aria-label":n.ariaLabel??(typeof n.icon=="string"?n.icon:""),target:"_blank",rel:"noopener",innerHTML:t.value},null,8,So))}}),Vo=P(Lo,[["__scopeId","data-v-585b8be8"]]),Mo={class:"VPSocialLinks"},wo=b({__name:"VPSocialLinks",props:{links:{}},setup(o){return(e,t)=>(a(),c("div",Mo,[(a(!0),c(F,null,Y(e.links,({link:n,icon:s,ariaLabel:r})=>(a(),V(Vo,{key:n,icon:s,link:n,ariaLabel:r},null,8,["icon","link","ariaLabel"]))),128))]))}}),Xe=P(wo,[["__scopeId","data-v-2696b647"]]),To={key:0,class:"group translations"},No={class:"trans-title"},Io={key:1,class:"group"},Co={class:"item appearance"},Ao={class:"label"},Do={class:"appearance-action"},Bo={key:2,class:"group"},Ho={class:"item social-links"},Oo=b({__name:"VPNavBarExtra",setup(o){const{site:e,theme:t}=H(),{localeLinks:n,currentLang:s}=Pe({correspondingLink:!0}),r=N(()=>n.value.length&&s.value.label||e.value.appearance||t.value.socialLinks);return(l,d)=>r.value?(a(),V(Qe,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:p(()=>[i(n).length&&i(s).label?(a(),c("div",To,[u("p",No,I(i(s).label),1),(a(!0),c(F,null,Y(i(n),v=>(a(),V(Ae,{key:v.link,item:v},null,8,["item"]))),128))])):$("",!0),i(e).appearance&&i(e).appearance!=="force-dark"&&i(e).appearance!=="force-auto"?(a(),c("div",Io,[u("div",Co,[u("p",Ao,I(i(t).darkModeSwitchLabel||"Appearance"),1),u("div",Do,[g(Re)])])])):$("",!0),i(t).socialLinks?(a(),c("div",Bo,[u("div",Ho,[g(Xe,{class:"social-links-list",links:i(t).socialLinks},null,8,["links"])])])):$("",!0)]),_:1})):$("",!0)}}),Eo=P(Oo,[["__scopeId","data-v-9d6cbf6e"]]),Fo=["aria-expanded"],zo=b({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(o){return(e,t)=>(a(),c("button",{type:"button",class:z(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:t[0]||(t[0]=n=>e.$emit("click"))},t[1]||(t[1]=[u("span",{class:"container"},[u("span",{class:"top"}),u("span",{class:"middle"}),u("span",{class:"bottom"})],-1)]),10,Fo))}}),dt=P(zo,[["__scopeId","data-v-92747094"]]),jo=["innerHTML"],Uo=b({__name:"VPNavBarMenuLink",props:{item:{}},setup(o){const{page:e}=H();return(t,n)=>(a(),V(oe,{class:z({VPNavBarMenuLink:!0,active:i(fe)(i(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,noIcon:t.item.noIcon,target:t.item.target,rel:t.item.rel,tabindex:"0"},{default:p(()=>[u("span",{innerHTML:t.item.text},null,8,jo)]),_:1},8,["class","href","noIcon","target","rel"]))}}),Go=P(Uo,[["__scopeId","data-v-2503b11d"]]),Wo=b({__name:"VPNavBarMenuGroup",props:{item:{}},setup(o){const e=o,{page:t}=H(),n=r=>"component"in r?!1:"link"in r?fe(t.value.relativePath,r.link,!!e.item.activeMatch):r.items.some(n),s=N(()=>n(e.item));return(r,l)=>(a(),V(Qe,{class:z({VPNavBarMenuGroup:!0,active:i(fe)(i(t).relativePath,r.item.activeMatch,!!r.item.activeMatch)||s.value}),button:r.item.text,items:r.item.items},null,8,["class","button","items"]))}}),Yo={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},Jo=b({__name:"VPNavBarMenu",setup(o){const{theme:e}=H();return(t,n)=>i(e).nav?(a(),c("nav",Yo,[n[0]||(n[0]=u("span",{id:"main-nav-aria-label",class:"visually-hidden"}," Main Navigation ",-1)),(a(!0),c(F,null,Y(i(e).nav,s=>(a(),c(F,{key:JSON.stringify(s)},["link"in s?(a(),V(Go,{key:0,item:s},null,8,["item"])):"component"in s?(a(),V(se(s.component),le({key:1,ref_for:!0},s.props),null,16)):(a(),V(Wo,{key:2,item:s},null,8,["item"]))],64))),128))])):$("",!0)}}),qo=P(Jo,[["__scopeId","data-v-c48f3ffd"]]);function Ko(o){const{localeIndex:e,theme:t}=H();function n(s){var C,O,L;const r=s.split("."),l=(C=t.value.search)==null?void 0:C.options,d=l&&typeof l=="object",v=d&&((L=(O=l.locales)==null?void 0:O[e.value])==null?void 0:L.translations)||null,h=d&&l.translations||null;let M=v,m=h,T=o;const S=r.pop();for(const G of r){let Z=null;const ee=T==null?void 0:T[G];ee&&(Z=T=ee);const ne=m==null?void 0:m[G];ne&&(Z=m=ne);const J=M==null?void 0:M[G];J&&(Z=M=J),ee||(T=Z),ne||(m=Z),J||(M=Z)}return(M==null?void 0:M[S])??(m==null?void 0:m[S])??(T==null?void 0:T[S])??""}return n}const Ro=["aria-label"],Zo={class:"DocSearch-Button-Container"},Qo={class:"DocSearch-Button-Placeholder"},tt=b({__name:"VPNavBarSearchButton",setup(o){const t=Ko({button:{buttonText:"Search",buttonAriaLabel:"Search"}});return(n,s)=>(a(),c("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":i(t)("button.buttonAriaLabel")},[u("span",Zo,[s[0]||(s[0]=u("span",{class:"vp-icon DocSearch-Search-Icon"},null,-1)),u("span",Qo,I(i(t)("button.buttonText")),1)]),s[1]||(s[1]=u("span",{class:"DocSearch-Button-Keys"},[u("kbd",{class:"DocSearch-Button-Key"}),u("kbd",{class:"DocSearch-Button-Key"},"K")],-1))],8,Ro))}}),Xo={class:"VPNavBarSearch"},xo={id:"local-search"},ea={key:1,id:"docsearch"},vt=b({__name:"VPNavBarSearch",setup(o){const e=Vt(()=>Mt(()=>import("./VPLocalSearchBox.CWPdVUyO.js"),__vite__mapDeps([0,1]))),t=()=>null,{theme:n}=H(),s=E(!1),r=E(!1);pe(()=>{});function l(){s.value||(s.value=!0,setTimeout(d,16))}function d(){const m=new Event("keydown");m.key="k",m.metaKey=!0,window.dispatchEvent(m),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||d()},16)}function v(m){const T=m.target,S=T.tagName;return T.isContentEditable||S==="INPUT"||S==="SELECT"||S==="TEXTAREA"}const h=E(!1);Oe("k",m=>{(m.ctrlKey||m.metaKey)&&(m.preventDefault(),h.value=!0)}),Oe("/",m=>{v(m)||(m.preventDefault(),h.value=!0)});const M="local";return(m,T)=>{var S;return a(),c("div",Xo,[i(M)==="local"?(a(),c(F,{key:0},[h.value?(a(),V(i(e),{key:0,onClose:T[0]||(T[0]=C=>h.value=!1)})):$("",!0),u("div",xo,[g(tt,{onClick:T[1]||(T[1]=C=>h.value=!0)})])],64)):i(M)==="algolia"?(a(),c(F,{key:1},[s.value?(a(),V(i(t),{key:0,algolia:((S=i(n).search)==null?void 0:S.options)??i(n).algolia,onVnodeBeforeMount:T[2]||(T[2]=C=>r.value=!0)},null,8,["algolia"])):$("",!0),r.value?$("",!0):(a(),c("div",ea,[g(tt,{onClick:l})]))],64)):$("",!0)])}}}),ta=b({__name:"VPNavBarSocialLinks",setup(o){const{theme:e}=H();return(t,n)=>i(e).socialLinks?(a(),V(Xe,{key:0,class:"VPNavBarSocialLinks",links:i(e).socialLinks},null,8,["links"])):$("",!0)}}),xe=P(ta,[["__scopeId","data-v-7bd4ceb4"]]),na=["href","rel","target"],sa={key:1},oa={key:2},aa=b({__name:"VPNavBarTitle",setup(o){const{site:e,theme:t}=H(),{hasSidebar:n}=ae(),{currentLang:s}=Pe(),r=N(()=>{var v;return typeof t.value.logoLink=="string"?t.value.logoLink:(v=t.value.logoLink)==null?void 0:v.link}),l=N(()=>{var v;return typeof t.value.logoLink=="string"||(v=t.value.logoLink)==null?void 0:v.rel}),d=N(()=>{var v;return typeof t.value.logoLink=="string"||(v=t.value.logoLink)==null?void 0:v.target});return(v,h)=>(a(),c("div",{class:z(["VPNavBarTitle",{"has-sidebar":i(n)}])},[u("a",{class:"title",href:r.value??i(qe)(i(s).link),rel:l.value,target:d.value},[f(v.$slots,"nav-bar-title-before",{},void 0,!0),i(t).logo?(a(),V(we,{key:0,class:"logo",image:i(t).logo},null,8,["image"])):$("",!0),i(t).siteTitle?(a(),c("span",sa,I(i(t).siteTitle),1)):i(t).siteTitle===void 0?(a(),c("span",oa,I(i(e).title),1)):$("",!0),f(v.$slots,"nav-bar-title-after",{},void 0,!0)],8,na)],2))}}),ra=P(aa,[["__scopeId","data-v-0ed3c774"]]),ia={class:"items"},la={class:"title"},ca=b({__name:"VPNavBarTranslations",setup(o){const{theme:e}=H(),{localeLinks:t,currentLang:n}=Pe({correspondingLink:!0});return(s,r)=>i(t).length&&i(n).label?(a(),V(Qe,{key:0,class:"VPNavBarTranslations",icon:"vpi-languages",label:i(e).langMenuLabel||"Change language"},{default:p(()=>[u("div",ia,[u("p",la,I(i(n).label),1),(a(!0),c(F,null,Y(i(t),l=>(a(),V(Ae,{key:l.link,item:l},null,8,["item"]))),128))])]),_:1},8,["label"])):$("",!0)}}),ua=P(ca,[["__scopeId","data-v-7a013c26"]]),da={class:"wrapper"},va={class:"container"},fa={class:"title"},pa={class:"content"},ha={class:"content-body"},ma=b({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(o){const e=o,{y:t}=st(),{hasSidebar:n}=ae(),{frontmatter:s}=H(),r=E({});return We(()=>{r.value={"has-sidebar":n.value,home:s.value.layout==="home",top:t.value===0,"screen-open":e.isScreenOpen}}),(l,d)=>(a(),c("div",{class:z(["VPNavBar",r.value])},[u("div",da,[u("div",va,[u("div",fa,[g(ra,null,{"nav-bar-title-before":p(()=>[f(l.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":p(()=>[f(l.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),u("div",pa,[u("div",ha,[f(l.$slots,"nav-bar-content-before",{},void 0,!0),g(vt,{class:"search"}),g(qo,{class:"menu"}),g(ua,{class:"translations"}),g(so,{class:"appearance"}),g(xe,{class:"social-links"}),g(Eo,{class:"extra"}),f(l.$slots,"nav-bar-content-after",{},void 0,!0),g(dt,{class:"hamburger",active:l.isScreenOpen,onClick:d[0]||(d[0]=v=>l.$emit("toggle-screen"))},null,8,["active"])])])])]),d[1]||(d[1]=u("div",{class:"divider"},[u("div",{class:"divider-line"})],-1))],2))}}),_a=P(ma,[["__scopeId","data-v-72a40c91"]]),ga={key:0,class:"VPNavScreenAppearance"},$a={class:"text"},ba=b({__name:"VPNavScreenAppearance",setup(o){const{site:e,theme:t}=H();return(n,s)=>i(e).appearance&&i(e).appearance!=="force-dark"&&i(e).appearance!=="force-auto"?(a(),c("div",ga,[u("p",$a,I(i(t).darkModeSwitchLabel||"Appearance"),1),g(Re)])):$("",!0)}}),ka=P(ba,[["__scopeId","data-v-a7e1a74a"]]),ya=b({__name:"VPNavScreenMenuLink",props:{item:{}},setup(o){const e=ye("close-screen");return(t,n)=>(a(),V(oe,{class:"VPNavScreenMenuLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:i(e),innerHTML:t.item.text},null,8,["href","target","rel","onClick","innerHTML"]))}}),Pa=P(ya,[["__scopeId","data-v-a50c1d42"]]),Sa=b({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(o){const e=ye("close-screen");return(t,n)=>(a(),V(oe,{class:"VPNavScreenMenuGroupLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:i(e)},{default:p(()=>[x(I(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}}),ft=P(Sa,[["__scopeId","data-v-063da60b"]]),La={class:"VPNavScreenMenuGroupSection"},Va={key:0,class:"title"},Ma=b({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(o){return(e,t)=>(a(),c("div",La,[e.text?(a(),c("p",Va,I(e.text),1)):$("",!0),(a(!0),c(F,null,Y(e.items,n=>(a(),V(ft,{key:n.text,item:n},null,8,["item"]))),128))]))}}),wa=P(Ma,[["__scopeId","data-v-4aaeed47"]]),Ta=["aria-controls","aria-expanded"],Na=["innerHTML"],Ia=["id"],Ca={key:0,class:"item"},Aa={key:1,class:"item"},Da={key:2,class:"group"},Ba=b({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(o){const e=o,t=E(!1),n=N(()=>`NavScreenGroup-${e.text.replace(" ","-").toLowerCase()}`);function s(){t.value=!t.value}return(r,l)=>(a(),c("div",{class:z(["VPNavScreenMenuGroup",{open:t.value}])},[u("button",{class:"button","aria-controls":n.value,"aria-expanded":t.value,onClick:s},[u("span",{class:"button-text",innerHTML:r.text},null,8,Na),l[0]||(l[0]=u("span",{class:"vpi-plus button-icon"},null,-1))],8,Ta),u("div",{id:n.value,class:"items"},[(a(!0),c(F,null,Y(r.items,d=>(a(),c(F,{key:JSON.stringify(d)},["link"in d?(a(),c("div",Ca,[g(ft,{item:d},null,8,["item"])])):"component"in d?(a(),c("div",Aa,[(a(),V(se(d.component),le({ref_for:!0},d.props,{"screen-menu":""}),null,16))])):(a(),c("div",Da,[g(wa,{text:d.text,items:d.items},null,8,["text","items"])]))],64))),128))],8,Ia)],2))}}),Ha=P(Ba,[["__scopeId","data-v-d7c1abb6"]]),Oa={key:0,class:"VPNavScreenMenu"},Ea=b({__name:"VPNavScreenMenu",setup(o){const{theme:e}=H();return(t,n)=>i(e).nav?(a(),c("nav",Oa,[(a(!0),c(F,null,Y(i(e).nav,s=>(a(),c(F,{key:JSON.stringify(s)},["link"in s?(a(),V(Pa,{key:0,item:s},null,8,["item"])):"component"in s?(a(),V(se(s.component),le({key:1,ref_for:!0},s.props,{"screen-menu":""}),null,16)):(a(),V(Ha,{key:2,text:s.text||"",items:s.items},null,8,["text","items"]))],64))),128))])):$("",!0)}}),Fa=b({__name:"VPNavScreenSocialLinks",setup(o){const{theme:e}=H();return(t,n)=>i(e).socialLinks?(a(),V(Xe,{key:0,class:"VPNavScreenSocialLinks",links:i(e).socialLinks},null,8,["links"])):$("",!0)}}),za={class:"list"},ja=b({__name:"VPNavScreenTranslations",setup(o){const{localeLinks:e,currentLang:t}=Pe({correspondingLink:!0}),n=E(!1);function s(){n.value=!n.value}return(r,l)=>i(e).length&&i(t).label?(a(),c("div",{key:0,class:z(["VPNavScreenTranslations",{open:n.value}])},[u("button",{class:"title",onClick:s},[l[0]||(l[0]=u("span",{class:"vpi-languages icon lang"},null,-1)),x(" "+I(i(t).label)+" ",1),l[1]||(l[1]=u("span",{class:"vpi-chevron-down icon chevron"},null,-1))]),u("ul",za,[(a(!0),c(F,null,Y(i(e),d=>(a(),c("li",{key:d.link,class:"item"},[g(oe,{class:"link",href:d.link},{default:p(()=>[x(I(d.text),1)]),_:2},1032,["href"])]))),128))])],2)):$("",!0)}}),Ua=P(ja,[["__scopeId","data-v-b09e19a2"]]),Ga={class:"container"},Wa=b({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(o){const e=E(null),t=ot(Ce?document.body:null);return(n,s)=>(a(),V(Ue,{name:"fade",onEnter:s[0]||(s[0]=r=>t.value=!0),onAfterLeave:s[1]||(s[1]=r=>t.value=!1)},{default:p(()=>[n.open?(a(),c("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:e,id:"VPNavScreen"},[u("div",Ga,[f(n.$slots,"nav-screen-content-before",{},void 0,!0),g(Ea,{class:"menu"}),g(Ua,{class:"translations"}),g(ka,{class:"appearance"}),g(Fa,{class:"social-links"}),f(n.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):$("",!0)]),_:3}))}}),pt=P(Wa,[["__scopeId","data-v-0542a797"]]),Ya={key:0,class:"VPNav"},Ja=b({__name:"VPNav",setup(o){const{isScreenOpen:e,closeScreen:t,toggleScreen:n}=lt(),{frontmatter:s}=H(),r=N(()=>s.value.navbar!==!1);return Je("close-screen",t),Te(()=>{Ce&&document.documentElement.classList.toggle("hide-nav",!r.value)}),(l,d)=>r.value?(a(),c("header",Ya,[g(_a,{"is-screen-open":i(e),onToggleScreen:i(n)},{"nav-bar-title-before":p(()=>[f(l.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":p(()=>[f(l.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":p(()=>[f(l.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":p(()=>[f(l.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),g(pt,{open:i(e)},{"nav-screen-content-before":p(()=>[f(l.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":p(()=>[f(l.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):$("",!0)}}),qa=P(Ja,[["__scopeId","data-v-bd7b890f"]]),Ka=["role","tabindex"],Ra={key:1,class:"items"},Za=b({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(o){const e=o,{collapsed:t,collapsible:n,isLink:s,isActiveLink:r,hasActiveLink:l,hasChildren:d,toggle:v}=Xt(N(()=>e.item)),h=N(()=>d.value?"section":"div"),M=N(()=>s.value?"a":"div"),m=N(()=>d.value?e.depth+2===7?"p":`h${e.depth+2}`:"p"),T=N(()=>s.value?void 0:"button"),S=N(()=>[[`level-${e.depth}`],{collapsible:n.value},{collapsed:t.value},{"is-link":s.value},{"is-active":r.value},{"has-active":l.value}]);function C(L){"key"in L&&L.key!=="Enter"||!e.item.link&&v()}function O(){e.item.link&&v()}return(L,G)=>{const Z=he("VPSidebarItem",!0);return a(),V(se(h.value),{class:z(["VPSidebarItem",S.value])},{default:p(()=>[L.item.text?(a(),c("div",le({key:0,class:"item",role:T.value},Tt(L.item.items?{click:C,keydown:C}:{},!0),{tabindex:L.item.items&&0}),[G[1]||(G[1]=u("div",{class:"indicator"},null,-1)),L.item.link?(a(),V(oe,{key:0,tag:M.value,class:"link",href:L.item.link,rel:L.item.rel,target:L.item.target},{default:p(()=>[(a(),V(se(m.value),{class:"text",innerHTML:L.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(a(),V(se(m.value),{key:1,class:"text",innerHTML:L.item.text},null,8,["innerHTML"])),L.item.collapsed!=null&&L.item.items&&L.item.items.length?(a(),c("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:O,onKeydown:wt(O,["enter"]),tabindex:"0"},G[0]||(G[0]=[u("span",{class:"vpi-chevron-right caret-icon"},null,-1)]),32)):$("",!0)],16,Ka)):$("",!0),L.item.items&&L.item.items.length?(a(),c("div",Ra,[L.depth<5?(a(!0),c(F,{key:0},Y(L.item.items,ee=>(a(),V(Z,{key:ee.text,item:ee,depth:L.depth+1},null,8,["item","depth"]))),128)):$("",!0)])):$("",!0)]),_:1},8,["class"])}}}),Qa=P(Za,[["__scopeId","data-v-445ca3af"]]),Xa=b({__name:"VPSidebarGroup",props:{items:{}},setup(o){const e=E(!0);let t=null;return pe(()=>{t=setTimeout(()=>{t=null,e.value=!1},300)}),Nt(()=>{t!=null&&(clearTimeout(t),t=null)}),(n,s)=>(a(!0),c(F,null,Y(n.items,r=>(a(),c("div",{key:r.text,class:z(["group",{"no-transition":e.value}])},[g(Qa,{item:r,depth:0},null,8,["item"])],2))),128))}}),xa=P(Xa,[["__scopeId","data-v-35d61fda"]]),er={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},tr=b({__name:"VPSidebar",props:{open:{type:Boolean}},setup(o){const{sidebarGroups:e,hasSidebar:t}=ae(),n=o,s=E(null),r=ot(Ce?document.body:null);re([n,s],()=>{var d;n.open?(r.value=!0,(d=s.value)==null||d.focus()):r.value=!1},{immediate:!0,flush:"post"});const l=E(0);return re(e,()=>{l.value+=1},{deep:!0}),(d,v)=>i(t)?(a(),c("aside",{key:0,class:z(["VPSidebar",{open:d.open}]),ref_key:"navEl",ref:s,onClick:v[0]||(v[0]=It(()=>{},["stop"]))},[v[2]||(v[2]=u("div",{class:"curtain"},null,-1)),u("nav",er,[v[1]||(v[1]=u("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),f(d.$slots,"sidebar-nav-before",{},void 0,!0),(a(),V(xa,{items:i(e),key:l.value},null,8,["items"])),f(d.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):$("",!0)}}),nr=P(tr,[["__scopeId","data-v-3e8dc4b7"]]),sr=b({__name:"VPSkipLink",setup(o){const e=Ne(),t=E();re(()=>e.path,()=>t.value.focus());function n({target:s}){const r=document.getElementById(decodeURIComponent(s.hash).slice(1));if(r){const l=()=>{r.removeAttribute("tabindex"),r.removeEventListener("blur",l)};r.setAttribute("tabindex","-1"),r.addEventListener("blur",l),r.focus(),window.scrollTo(0,0)}}return(s,r)=>(a(),c(F,null,[u("span",{ref_key:"backToTop",ref:t,tabindex:"-1"},null,512),u("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:n}," Skip to content ")],64))}}),or=P(sr,[["__scopeId","data-v-e7e6f651"]]),ar=b({__name:"Layout",setup(o){const{isOpen:e,open:t,close:n}=ae(),s=Ne();re(()=>s.path,n),Qt(e,n);const{frontmatter:r}=H(),l=Ct(),d=N(()=>!!l["home-hero-image"]);return Je("hero-image-slot-exists",d),(v,h)=>{const M=he("Content");return i(r).layout!==!1?(a(),c("div",{key:0,class:z(["Layout",i(r).pageClass])},[f(v.$slots,"layout-top",{},void 0,!0),g(or),g(Et,{class:"backdrop",show:i(e),onClick:i(n)},null,8,["show","onClick"]),g(qa,null,{"nav-bar-title-before":p(()=>[f(v.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":p(()=>[f(v.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":p(()=>[f(v.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":p(()=>[f(v.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":p(()=>[f(v.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":p(()=>[f(v.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),g(qs,{open:i(e),onOpenMenu:i(t)},null,8,["open","onOpenMenu"]),g(nr,{open:i(e)},{"sidebar-nav-before":p(()=>[f(v.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":p(()=>[f(v.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),g(Is,null,{"page-top":p(()=>[f(v.$slots,"page-top",{},void 0,!0)]),"page-bottom":p(()=>[f(v.$slots,"page-bottom",{},void 0,!0)]),"not-found":p(()=>[f(v.$slots,"not-found",{},void 0,!0)]),"home-hero-before":p(()=>[f(v.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":p(()=>[f(v.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":p(()=>[f(v.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":p(()=>[f(v.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":p(()=>[f(v.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":p(()=>[f(v.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":p(()=>[f(v.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":p(()=>[f(v.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":p(()=>[f(v.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":p(()=>[f(v.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":p(()=>[f(v.$slots,"doc-before",{},void 0,!0)]),"doc-after":p(()=>[f(v.$slots,"doc-after",{},void 0,!0)]),"doc-top":p(()=>[f(v.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":p(()=>[f(v.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":p(()=>[f(v.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":p(()=>[f(v.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":p(()=>[f(v.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":p(()=>[f(v.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":p(()=>[f(v.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":p(()=>[f(v.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),g(Hs),f(v.$slots,"layout-bottom",{},void 0,!0)],2)):(a(),V(M,{key:1}))}}}),rr=P(ar,[["__scopeId","data-v-b2cb9538"]]),je={Layout:rr,enhanceApp:({app:o})=>{o.component("Badge",Bt)}};function ir(o){const e={};for(let t=0;t{e[r]||(e[r]=[]),e[r].push(n)})}return e}function lr(o){const e=[];let t="0",n=-1;for(let s=0;st.id&&t.hasChildNodes()).map(t=>{const n=Number(t.tagName[1]);return{title:ur(t),link:"#"+t.id,level:n}})}function ur(o){let e="";for(const t of o.childNodes)if(t.nodeType===1){if(t.classList.contains("VPBadge")||t.classList.contains("header-anchor"))continue;e+=t.textContent}else t.nodeType===3&&(e+=t.textContent);return e.trim()}const dr={class:"main"},vr={class:"yearItem"},fr={class:"year"},pr=["href"],hr={class:"title"},mr={class:"date"},_r=b({__name:"Archives",setup(o){const{theme:e}=ce(),t=N(()=>lr(e.value.posts));return(n,s)=>(a(),c("div",dr,[(a(!0),c(F,null,Y(t.value,r=>(a(),c("div",vr,[u("div",fr,I(r[0].frontMatter.date.split("-")[0]),1),(a(!0),c(F,null,Y(r,(l,d)=>(a(),c("a",{href:i(ge)(l.regularPath),key:d,class:"article"},[u("div",hr,[s[0]||(s[0]=u("div",{class:"title-o"},null,-1)),x(" "+I(l.frontMatter.title),1)]),u("div",mr,I(l.frontMatter.date.slice(5)),1)],8,pr))),128))]))),256))]))}}),gr=P(_r,[["__scopeId","data-v-69b61450"]]),$r={class:"main"},br={class:"tags"},kr=["onClick"],yr={class:"tag-length"},Pr={class:"header"},Sr={t:"1641783753540",class:"fas-icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1254",style:{width:"20px"}},Lr={class:"header-text"},Vr=["href"],Mr={class:"title"},wr={class:"date"},Tr=b({__name:"Tags",setup(o){const{theme:e}=ce(),t=N(()=>ir(e.value.posts));let n=E("");const s=l=>{n.value=l},r=l=>({fontSize:`${l*.04+.85}em`});return(l,d)=>(a(),c("div",$r,[d[2]||(d[2]=u("h1",{class:"tags-header"},"Tags",-1)),u("div",br,[(a(!0),c(F,null,Y(t.value,(v,h)=>(a(),c("span",{onClick:M=>s(h),class:z(["tag",{activetag:i(n)===h}]),style:Ie(r(t.value[h].length))},[x(I(h)+" ",1),u("span",yr,I(t.value[h].length),1)],14,kr))),256))]),At(u("h4",Pr,[(a(),c("svg",Sr,d[0]||(d[0]=[u("path",{d:"M995.126867 592.38l-360.08 360.08a53.333333 53.333333 0 0 1-71.333334 3.68l356.22-356.22a64 64 0 0 0 0-90.506667L495.8402 85.333333h45.573333a52.986667 52.986667 0 0 1 37.713334 15.62l416 416a53.4 53.4 0 0 1 0 75.426667z m-128 0l-360.08 360.08a53.333333 53.333333 0 0 1-75.426667 0l-416-416A52.986667 52.986667 0 0 1 0.0002 498.746667V138.666667a53.393333 53.393333 0 0 1 53.333333-53.333334h360.08a52.986667 52.986667 0 0 1 37.713334 15.62l416 416a53.4 53.4 0 0 1 0 75.426667zM341.333533 341.333333a85.333333 85.333333 0 1 0-85.333333 85.333334 85.426667 85.426667 0 0 0 85.333333-85.333334z",fill:"var(--vp-c-brand)","p-id":"1255"},null,-1)]))),u("span",Lr,I(i(n)),1)],512),[[Dt,i(n)]]),(a(!0),c(F,null,Y(t.value[i(n)],(v,h)=>(a(),c("a",{href:i(ge)(v.regularPath),key:h,class:"article"},[u("div",Mr,[d[1]||(d[1]=u("div",{class:"title-o"},null,-1)),x(" "+I(v.frontMatter.title),1)]),u("div",wr,I(v.frontMatter.date),1)],8,Vr))),128))]))}}),Nr=P(Tr,[["__scopeId","data-v-6b5bf8a1"]]),Ir={},Cr={viewBox:"0 0 24 24",width:"24",height:"24",class:"darkToggleIcon"};function Ar(o,e){return a(),c("svg",Cr,e[0]||(e[0]=[u("path",{fill:"#93949b",d:"M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"},null,-1)]))}const Dr=P(Ir,[["render",Ar]]),Br={},Hr={viewBox:"0 0 24 24",width:"24",height:"24",class:"lightToggleIcon"};function Or(o,e){return a(),c("svg",Hr,e[0]||(e[0]=[u("path",{fill:"#67676c",d:"M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"},null,-1)]))}const Er=P(Br,[["render",Or]]),Fr={class:"VPNavBar"},zr={class:"container"},jr={class:"content"},Ur={class:"content-body"},Gr={class:"content-body-left"},Wr={href:"/"},Yr={class:"content-body-mid"},Jr={class:"content-body-right"},qr=b({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(o){const{isDark:e}=ce(),t=ye("toggle-appearance",()=>{e.value=!e.value}),{site:n}=ce();return(s,r)=>(a(),c("div",Fr,[u("div",zr,[u("div",jr,[r[1]||(r[1]=u("div",{class:"curtain"},null,-1)),u("div",Ur,[u("div",Gr,[u("a",Wr,I(i(n).title),1)]),u("div",Yr,[g(vt,{class:"search"})]),u("div",Jr,[g(xe,{class:"social-links"}),i(e)?(a(),V(Dr,{key:0,class:"appearance-btn",onClick:i(t)},null,8,["onClick"])):(a(),V(Er,{key:1,class:"appearance-btn",onClick:i(t)},null,8,["onClick"])),g(dt,{class:"hamburger",active:s.isScreenOpen,onClick:r[0]||(r[0]=l=>s.$emit("toggle-screen"))},null,8,["active"])])])])])]))}}),Kr=P(qr,[["__scopeId","data-v-7c1729ca"]]),Rr=b({__name:"Nav",setup(o){const{isScreenOpen:e,closeScreen:t,toggleScreen:n}=lt(),{hasSidebar:s}=ae();return Je("close-screen",t),(r,l)=>(a(),c("header",{class:z(["Nav",{"no-sidebar":!i(s)}])},[g(Kr,{"is-screen-open":i(e),onToggleScreen:i(n)},null,8,["is-screen-open","onToggleScreen"]),g(pt,{open:i(e)},{"nav-screen-content-before":p(()=>[f(r.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":p(()=>[f(r.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])],2))}}),Zr=P(Rr,[["__scopeId","data-v-19dffaed"]]),Qr={class:"footer"},Xr=b({__name:"CopyWright",setup(o){const e=new Date().getFullYear();return(t,n)=>(a(),c("div",Qr,[g(xe),u("footer",null,[n[0]||(n[0]=x(" Powered by ")),n[1]||(n[1]=u("a",{href:"https://github.com/drl990114",target:"_blank",title:"作者"},"drl990114",-1)),x(" | Copyright © 2023-"+I(i(e))+" | MIT License ",1)])]))}}),xr=P(Xr,[["__scopeId","data-v-b0668316"]]),ei={},ti={viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg",class:"pagination__button--next-icon"};function ni(o,e){return a(),c("svg",ti,e[0]||(e[0]=[u("path",{d:"M142.382 16.892l-24.485 24.449c-2.938 2.934-4.897 7.335-4.897 11.246 0 3.912 1.959 8.313 4.897 11.246l192.448 192.168-192.448 192.168c-2.938 2.934-4.897 7.335-4.897 11.246 0 4.401 1.959 8.313 4.897 11.246l24.485 24.449c2.938 2.934 7.345 4.89 11.263 4.89s8.325-1.956 11.263-4.89l228.196-227.864c2.938-2.934 4.897-7.335 4.897-11.246 0-3.912-1.959-8.313-4.897-11.246l-228.196-227.864c-2.938-2.934-7.345-4.89-11.263-4.89s-8.325 1.956-11.263 4.89v.002z"},null,-1)]))}const si=P(ei,[["render",ni]]),oi={},ai={viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg",class:"pagination__button--prev-icon"};function ri(o,e){return a(),c("svg",ai,e[0]||(e[0]=[u("path",{d:"M368.619 16.892l24.485 24.449c2.938 2.934 4.897 7.335 4.897 11.246 0 3.912-1.959 8.313-4.897 11.246l-192.448 192.168 192.448 192.168c2.938 2.934 4.897 7.335 4.897 11.246 0 4.401-1.959 8.313-4.897 11.246l-24.485 24.449c-2.938 2.934-7.345 4.89-11.263 4.89s-8.325-1.956-11.263-4.89l-228.196-227.864c-2.938-2.934-4.897-7.335-4.897-11.246 0-3.912 1.959-8.313 4.897-11.246l228.196-227.864c2.938-2.934 7.345-4.89 11.263-4.89s8.325 1.956 11.263 4.89v.002z"},null,-1)]))}const ii=P(oi,[["render",ri]]),li={class:"blogList"},ci=["href"],ui={class:"title"},di={class:"date"},vi={class:"pagination"},fi={class:"left pageLocation"},pi=b({__name:"Page",setup(o){const{theme:e}=ce();let t=e.value.posts||[],n=e.value.postLength,s=e.value.pageSize,r=n%s===0?n/s:n/s+1;r=parseInt(r.toString());let l=E(1);t=t.filter(S=>S.regularPath.indexOf("index")<0);let d={};for(let S=0;Ss-1&&(v+=1),d[v].push(t[S]);let h=E([]);h.value=d[l.value-1];const M=S=>{l.value=S,h.value=d[l.value-1]},m=S=>{const C=S.split("-");let O=C[0],L="",G=C[2];switch(C[1]){case"1":case"01":L="Jan";break;case"2":case"02":L="Feb";break;case"3":case"03":L="Mar";break;case"4":case"04":L="Apr";break;case"5":case"05":L="May";break;case"6":case"06":L="Jun";break;case"7":case"07":L="Jul";break;case"8":case"08":L="Aug";break;case"9":case"09":L="Sep";break;case"10":L="Oct";break;case"11":L="Nov";break;case"12":L="Dec";break;default:L="Month"}return`${L} ${G}, ${O}`},T=S=>{const C=S%3===2,O=S%3===0,L="1px solid var(--border-color)",G={};return O&&(G["border-right"]=L),C&&(G["border-left"]=L),G};return(S,C)=>(a(),c(F,null,[u("div",li,[(a(!0),c(F,null,Y(i(h),(O,L)=>(a(),c("a",{class:"blog",style:Ie(T(L)),href:i(ge)(O.regularPath)},[u("div",ui,I(O.frontMatter.title),1),u("div",di,I(m(O.frontMatter.date)),1)],12,ci))),256))]),u("div",vi,[u("div",fi,I(`Page: ${i(l)}/${i(r)}`),1),i(l)>1?(a(),c("button",{key:0,class:"left-btn",onClick:C[0]||(C[0]=O=>M(i(l)-1))},[g(ii)])):$("",!0),i(l)M(i(l)+1))},[g(si)])):$("",!0)])],64))}}),hi=P(pi,[["__scopeId","data-v-37cff8cf"]]),mi={key:0,class:"category"},_i={class:"list"},gi={class:"header"},$i=["href"],bi={key:1},ki={class:"header"},yi=["href"],Pi=b({__name:"Category",setup(o){const{frontmatter:e,theme:t}=ce(),n=Ye([]),s=E(!1);return $e(()=>{n.value=cr(e.value.outline??t.value.outline),s.value=n.value.some(r=>r.level===2)}),(r,l)=>n.value.length>0?(a(),c("div",mi,[u("ul",_i,[(a(!0),c(F,null,Y(n.value,d=>(a(),c("li",gi,[d.level===2?(a(),c("a",{key:0,href:d.link,class:"header-h2"},I(d.title),9,$i)):$("",!0),d.level===3?(a(),c("ul",bi,[u("li",ki,[u("a",{href:d.link,class:z(["header-h3",{showIndent:s.value}])},I(d.title),11,yi)])])):$("",!0)]))),256))])])):$("",!0)}}),Si=P(Pi,[["__scopeId","data-v-0f737ab8"]]);var ht=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function mt(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}var _t={exports:{}};(function(o,e){(function(t,n){o.exports=n()})(ht,function(){var t=1e3,n=6e4,s=36e5,r="millisecond",l="second",d="minute",v="hour",h="day",M="week",m="month",T="quarter",S="year",C="date",O="Invalid Date",L=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,G=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,Z={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(A){var y=["th","st","nd","rd"],_=A%100;return"["+A+(y[(_-20)%10]||y[_]||y[0])+"]"}},ee=function(A,y,_){var w=String(A);return!w||w.length>=y?A:""+Array(y+1-w.length).join(_)+A},ne={s:ee,z:function(A){var y=-A.utcOffset(),_=Math.abs(y),w=Math.floor(_/60),k=_%60;return(y<=0?"+":"-")+ee(w,2,"0")+":"+ee(k,2,"0")},m:function A(y,_){if(y.date()<_.date())return-A(_,y);var w=12*(_.year()-y.year())+(_.month()-y.month()),k=y.clone().add(w,m),D=_-k<0,B=y.clone().add(w+(D?-1:1),m);return+(-(w+(_-k)/(D?k-B:B-k))||0)},a:function(A){return A<0?Math.ceil(A)||0:Math.floor(A)},p:function(A){return{M:m,y:S,w:M,d:h,D:C,h:v,m:d,s:l,ms:r,Q:T}[A]||String(A||"").toLowerCase().replace(/s$/,"")},u:function(A){return A===void 0}},J="en",Q={};Q[J]=Z;var me="$isDayjsObject",ue=function(A){return A instanceof Le||!(!A||!A[me])},Se=function A(y,_,w){var k;if(!y)return J;if(typeof y=="string"){var D=y.toLowerCase();Q[D]&&(k=D),_&&(Q[D]=_,k=D);var B=y.split("-");if(!k&&B.length>1)return A(B[0])}else{var U=y.name;Q[U]=y,k=U}return!w&&k&&(J=k),k||!w&&J},q=function(A,y){if(ue(A))return A.clone();var _=typeof y=="object"?y:{};return _.date=A,_.args=arguments,new Le(_)},j=ne;j.l=Se,j.i=ue,j.w=function(A,y){return q(A,{locale:y.$L,utc:y.$u,x:y.$x,$offset:y.$offset})};var Le=function(){function A(_){this.$L=Se(_.locale,null,!0),this.parse(_),this.$x=this.$x||_.x||{},this[me]=!0}var y=A.prototype;return y.parse=function(_){this.$d=function(w){var k=w.date,D=w.utc;if(k===null)return new Date(NaN);if(j.u(k))return new Date;if(k instanceof Date)return new Date(k);if(typeof k=="string"&&!/Z$/i.test(k)){var B=k.match(L);if(B){var U=B[2]-1||0,W=(B[7]||"0").substring(0,3);return D?new Date(Date.UTC(B[1],U,B[3]||1,B[4]||0,B[5]||0,B[6]||0,W)):new Date(B[1],U,B[3]||1,B[4]||0,B[5]||0,B[6]||0,W)}}return new Date(k)}(_),this.init()},y.init=function(){var _=this.$d;this.$y=_.getFullYear(),this.$M=_.getMonth(),this.$D=_.getDate(),this.$W=_.getDay(),this.$H=_.getHours(),this.$m=_.getMinutes(),this.$s=_.getSeconds(),this.$ms=_.getMilliseconds()},y.$utils=function(){return j},y.isValid=function(){return this.$d.toString()!==O},y.isSame=function(_,w){var k=q(_);return this.startOf(w)<=k&&k<=this.endOf(w)},y.isAfter=function(_,w){return q(_)0,Q<=J.r||!J.r){Q<=1&&ne>0&&(J=Z[ne-1]);var me=G[J.l];S&&(Q=S(""+Q)),O=typeof me=="string"?me.replace("%d",Q):me(Q,M,J.l,L);break}}if(M)return O;var ue=L?G.future:G.past;return typeof ue=="function"?ue(O):ue.replace("%s",O)},r.to=function(h,M){return d(h,M,this,!0)},r.from=function(h,M){return d(h,M,this)};var v=function(h){return h.$u?s.utc():s()};r.toNow=function(h){return this.to(v(this),h)},r.fromNow=function(h){return this.from(v(this),h)}}})})(gt);var Vi=gt.exports;const Mi=mt(Vi),wi={class:"title"},Ti={class:"date"},Ni=b({__name:"Title",setup(o){const e=ce().page,t=E("");return Be.extend(Mi),$e(()=>{const{frontmatter:n}=e.value;t.value=Be().to(Be(n.date||Date.now()))}),(n,s)=>(a(),c(F,null,[u("h1",wi,I(i(e).title),1),u("div",Ti,"🕒 Published at: "+I(t.value),1)],64))}}),Ii=P(Ni,[["__scopeId","data-v-ac80d3c4"]]),Ci=b({__name:"MyLayout",setup(o){const{Layout:e}=je,t=()=>{history.back()};return(n,s)=>(a(),c(F,null,[g(Zr),g(i(e),null,{"doc-before":p(()=>[g(Ii),g(Si)]),"doc-after":p(()=>[s[0]||(s[0]=u("div",{class:"done"},"--- Done ---",-1)),u("div",null,[u("button",{onClick:t},"cd ··")])]),"home-features-after":p(()=>[g(hi)]),_:1}),g(xr)],64))}}),Ai=P(Ci,[["__scopeId","data-v-029789cf"]]),Bi={...je,Layout:Ai,enhanceApp(o){je.enhanceApp(o);const{app:e}=o;e.component("Archives",gr),e.component("Tags",Nr)}};export{Bi as R,Ko as c,H as u}; diff --git a/assets/index.md.DKagbBtY.js b/assets/index.md.Yb4PDlrp.js similarity index 83% rename from assets/index.md.DKagbBtY.js rename to assets/index.md.Yb4PDlrp.js index d6155ce..94074ad 100644 --- a/assets/index.md.DKagbBtY.js +++ b/assets/index.md.Yb4PDlrp.js @@ -1 +1 @@ -import{_ as e,c as t,o as a}from"./chunks/framework.Dvq0W1Dl.js";const p=JSON.parse('{"title":"home","description":"","frontmatter":{"layout":"home","title":"home","sidebar":false,"navbar":false},"headers":[],"relativePath":"index.md","filePath":"index.md"}'),o={name:"index.md"};function n(r,s,i,c,d,m){return a(),t("div")}const _=e(o,[["render",n]]);export{p as __pageData,_ as default}; +import{_ as e,c as t,o as a}from"./chunks/framework.CFocJP4i.js";const p=JSON.parse('{"title":"home","description":"","frontmatter":{"layout":"home","title":"home","sidebar":false,"navbar":false},"headers":[],"relativePath":"index.md","filePath":"index.md"}'),o={name:"index.md"};function n(r,s,i,c,d,m){return a(),t("div")}const _=e(o,[["render",n]]);export{p as __pageData,_ as default}; diff --git a/assets/index.md.DKagbBtY.lean.js b/assets/index.md.Yb4PDlrp.lean.js similarity index 83% rename from assets/index.md.DKagbBtY.lean.js rename to assets/index.md.Yb4PDlrp.lean.js index d6155ce..94074ad 100644 --- a/assets/index.md.DKagbBtY.lean.js +++ b/assets/index.md.Yb4PDlrp.lean.js @@ -1 +1 @@ -import{_ as e,c as t,o as a}from"./chunks/framework.Dvq0W1Dl.js";const p=JSON.parse('{"title":"home","description":"","frontmatter":{"layout":"home","title":"home","sidebar":false,"navbar":false},"headers":[],"relativePath":"index.md","filePath":"index.md"}'),o={name:"index.md"};function n(r,s,i,c,d,m){return a(),t("div")}const _=e(o,[["render",n]]);export{p as __pageData,_ as default}; +import{_ as e,c as t,o as a}from"./chunks/framework.CFocJP4i.js";const p=JSON.parse('{"title":"home","description":"","frontmatter":{"layout":"home","title":"home","sidebar":false,"navbar":false},"headers":[],"relativePath":"index.md","filePath":"index.md"}'),o={name:"index.md"};function n(r,s,i,c,d,m){return a(),t("div")}const _=e(o,[["render",n]]);export{p as __pageData,_ as default}; diff --git "a/assets/posts_JavaScript_js\345\256\236\347\216\260\351\223\276\345\274\217\350\260\203\347\224\250.md.BJaAed2d.js" "b/assets/posts_JavaScript_js\345\256\236\347\216\260\351\223\276\345\274\217\350\260\203\347\224\250.md.CzkXN4HL.js" similarity index 98% rename from "assets/posts_JavaScript_js\345\256\236\347\216\260\351\223\276\345\274\217\350\260\203\347\224\250.md.BJaAed2d.js" rename to "assets/posts_JavaScript_js\345\256\236\347\216\260\351\223\276\345\274\217\350\260\203\347\224\250.md.CzkXN4HL.js" index 23de2a7..4163c96 100644 --- "a/assets/posts_JavaScript_js\345\256\236\347\216\260\351\223\276\345\274\217\350\260\203\347\224\250.md.BJaAed2d.js" +++ "b/assets/posts_JavaScript_js\345\256\236\347\216\260\351\223\276\345\274\217\350\260\203\347\224\250.md.CzkXN4HL.js" @@ -1,4 +1,4 @@ -import{_ as i,c as a,a4 as n,o as h}from"./chunks/framework.Dvq0W1Dl.js";const g=JSON.parse('{"title":"js实现链式调用","description":"","frontmatter":{"title":"js实现链式调用","date":"2020-12-26T21:20:34.000Z","author":"RuiLin Dong","categories":["JavaScript"],"tags":["JavaScript"]},"headers":[],"relativePath":"posts/JavaScript/js实现链式调用.md","filePath":"posts/JavaScript/js实现链式调用.md"}'),t={name:"posts/JavaScript/js实现链式调用.md"};function k(p,s,l,e,E,r){return h(),a("div",null,s[0]||(s[0]=[n(`

使用原生的js获取的DOM对象,只能使用一次addEventLisenter方法添加事件,如果要接着添加事件,还得再调用addEventLisenter。

js
var area = document.querySelector('.area');
+import{_ as i,c as a,a4 as n,o as h}from"./chunks/framework.CFocJP4i.js";const g=JSON.parse('{"title":"js实现链式调用","description":"","frontmatter":{"title":"js实现链式调用","date":"2020-12-26T21:20:34.000Z","author":"RuiLin Dong","categories":["JavaScript"],"tags":["JavaScript"]},"headers":[],"relativePath":"posts/JavaScript/js实现链式调用.md","filePath":"posts/JavaScript/js实现链式调用.md"}'),t={name:"posts/JavaScript/js实现链式调用.md"};function k(p,s,l,e,E,r){return h(),a("div",null,s[0]||(s[0]=[n(`

使用原生的js获取的DOM对象,只能使用一次addEventLisenter方法添加事件,如果要接着添加事件,还得再调用addEventLisenter。

js
var area = document.querySelector('.area');
 area.addEventListener('mouseenter', function(){
     console.log( 'mouse enter' );
 });
diff --git "a/assets/posts_JavaScript_js\345\256\236\347\216\260\351\223\276\345\274\217\350\260\203\347\224\250.md.BJaAed2d.lean.js" "b/assets/posts_JavaScript_js\345\256\236\347\216\260\351\223\276\345\274\217\350\260\203\347\224\250.md.CzkXN4HL.lean.js"
similarity index 98%
rename from "assets/posts_JavaScript_js\345\256\236\347\216\260\351\223\276\345\274\217\350\260\203\347\224\250.md.BJaAed2d.lean.js"
rename to "assets/posts_JavaScript_js\345\256\236\347\216\260\351\223\276\345\274\217\350\260\203\347\224\250.md.CzkXN4HL.lean.js"
index 23de2a7..4163c96 100644
--- "a/assets/posts_JavaScript_js\345\256\236\347\216\260\351\223\276\345\274\217\350\260\203\347\224\250.md.BJaAed2d.lean.js"
+++ "b/assets/posts_JavaScript_js\345\256\236\347\216\260\351\223\276\345\274\217\350\260\203\347\224\250.md.CzkXN4HL.lean.js"
@@ -1,4 +1,4 @@
-import{_ as i,c as a,a4 as n,o as h}from"./chunks/framework.Dvq0W1Dl.js";const g=JSON.parse('{"title":"js实现链式调用","description":"","frontmatter":{"title":"js实现链式调用","date":"2020-12-26T21:20:34.000Z","author":"RuiLin Dong","categories":["JavaScript"],"tags":["JavaScript"]},"headers":[],"relativePath":"posts/JavaScript/js实现链式调用.md","filePath":"posts/JavaScript/js实现链式调用.md"}'),t={name:"posts/JavaScript/js实现链式调用.md"};function k(p,s,l,e,E,r){return h(),a("div",null,s[0]||(s[0]=[n(`

使用原生的js获取的DOM对象,只能使用一次addEventLisenter方法添加事件,如果要接着添加事件,还得再调用addEventLisenter。

js
var area = document.querySelector('.area');
+import{_ as i,c as a,a4 as n,o as h}from"./chunks/framework.CFocJP4i.js";const g=JSON.parse('{"title":"js实现链式调用","description":"","frontmatter":{"title":"js实现链式调用","date":"2020-12-26T21:20:34.000Z","author":"RuiLin Dong","categories":["JavaScript"],"tags":["JavaScript"]},"headers":[],"relativePath":"posts/JavaScript/js实现链式调用.md","filePath":"posts/JavaScript/js实现链式调用.md"}'),t={name:"posts/JavaScript/js实现链式调用.md"};function k(p,s,l,e,E,r){return h(),a("div",null,s[0]||(s[0]=[n(`

使用原生的js获取的DOM对象,只能使用一次addEventLisenter方法添加事件,如果要接着添加事件,还得再调用addEventLisenter。

js
var area = document.querySelector('.area');
 area.addEventListener('mouseenter', function(){
     console.log( 'mouse enter' );
 });
diff --git "a/assets/posts_JavaScript_\345\216\237\345\236\213\343\200\201\345\216\237\345\236\213\351\223\276.md.EmosyiRK.js" "b/assets/posts_JavaScript_\345\216\237\345\236\213\343\200\201\345\216\237\345\236\213\351\223\276.md.Cr1K20Lx.js"
similarity index 98%
rename from "assets/posts_JavaScript_\345\216\237\345\236\213\343\200\201\345\216\237\345\236\213\351\223\276.md.EmosyiRK.js"
rename to "assets/posts_JavaScript_\345\216\237\345\236\213\343\200\201\345\216\237\345\236\213\351\223\276.md.Cr1K20Lx.js"
index efa08ee..892dd55 100644
--- "a/assets/posts_JavaScript_\345\216\237\345\236\213\343\200\201\345\216\237\345\236\213\351\223\276.md.EmosyiRK.js"
+++ "b/assets/posts_JavaScript_\345\216\237\345\236\213\343\200\201\345\216\237\345\236\213\351\223\276.md.Cr1K20Lx.js"
@@ -1,4 +1,4 @@
-import{_ as i,c as a,a4 as t,o as p}from"./chunks/framework.Dvq0W1Dl.js";const o=JSON.parse('{"title":"原型原型链","description":"","frontmatter":{"title":"原型原型链","date":"2021-03-16T21:20:34.000Z","author":"RuiLin Dong","categories":["JavaScript"],"tags":["JavaScript"]},"headers":[],"relativePath":"posts/JavaScript/原型、原型链.md","filePath":"posts/JavaScript/原型、原型链.md"}'),n={name:"posts/JavaScript/原型、原型链.md"};function h(l,s,k,e,r,E){return p(),a("div",null,s[0]||(s[0]=[t(`

一、原型prototype和__proto__

  • 每个对象都有一个__proto__属性,并且指向它的构造函数的prototype原型对象。
  • 每个构造函数都有一个prototype原型对象
    • prototype原型对象的constructor指向构造函数本身

对象是引用数据类型,对象中的__proto__属性中实际上是保存的构造函数的prototype的指针地址。

实例对象的__proto__指向构造函数的prototype,从而实现继承。

通过代码来验证:

javascript
function Person(name ,age) {
+import{_ as i,c as a,a4 as t,o as p}from"./chunks/framework.CFocJP4i.js";const o=JSON.parse('{"title":"原型原型链","description":"","frontmatter":{"title":"原型原型链","date":"2021-03-16T21:20:34.000Z","author":"RuiLin Dong","categories":["JavaScript"],"tags":["JavaScript"]},"headers":[],"relativePath":"posts/JavaScript/原型、原型链.md","filePath":"posts/JavaScript/原型、原型链.md"}'),n={name:"posts/JavaScript/原型、原型链.md"};function h(l,s,k,e,r,E){return p(),a("div",null,s[0]||(s[0]=[t(`

一、原型prototype和__proto__

  • 每个对象都有一个__proto__属性,并且指向它的构造函数的prototype原型对象。
  • 每个构造函数都有一个prototype原型对象
    • prototype原型对象的constructor指向构造函数本身

对象是引用数据类型,对象中的__proto__属性中实际上是保存的构造函数的prototype的指针地址。

实例对象的__proto__指向构造函数的prototype,从而实现继承。

通过代码来验证:

javascript
function Person(name ,age) {
     this.name = name
     this.age = age
 }
diff --git "a/assets/posts_JavaScript_\345\216\237\345\236\213\343\200\201\345\216\237\345\236\213\351\223\276.md.EmosyiRK.lean.js" "b/assets/posts_JavaScript_\345\216\237\345\236\213\343\200\201\345\216\237\345\236\213\351\223\276.md.Cr1K20Lx.lean.js"
similarity index 98%
rename from "assets/posts_JavaScript_\345\216\237\345\236\213\343\200\201\345\216\237\345\236\213\351\223\276.md.EmosyiRK.lean.js"
rename to "assets/posts_JavaScript_\345\216\237\345\236\213\343\200\201\345\216\237\345\236\213\351\223\276.md.Cr1K20Lx.lean.js"
index efa08ee..892dd55 100644
--- "a/assets/posts_JavaScript_\345\216\237\345\236\213\343\200\201\345\216\237\345\236\213\351\223\276.md.EmosyiRK.lean.js"
+++ "b/assets/posts_JavaScript_\345\216\237\345\236\213\343\200\201\345\216\237\345\236\213\351\223\276.md.Cr1K20Lx.lean.js"
@@ -1,4 +1,4 @@
-import{_ as i,c as a,a4 as t,o as p}from"./chunks/framework.Dvq0W1Dl.js";const o=JSON.parse('{"title":"原型原型链","description":"","frontmatter":{"title":"原型原型链","date":"2021-03-16T21:20:34.000Z","author":"RuiLin Dong","categories":["JavaScript"],"tags":["JavaScript"]},"headers":[],"relativePath":"posts/JavaScript/原型、原型链.md","filePath":"posts/JavaScript/原型、原型链.md"}'),n={name:"posts/JavaScript/原型、原型链.md"};function h(l,s,k,e,r,E){return p(),a("div",null,s[0]||(s[0]=[t(`

一、原型prototype和__proto__

  • 每个对象都有一个__proto__属性,并且指向它的构造函数的prototype原型对象。
  • 每个构造函数都有一个prototype原型对象
    • prototype原型对象的constructor指向构造函数本身

对象是引用数据类型,对象中的__proto__属性中实际上是保存的构造函数的prototype的指针地址。

实例对象的__proto__指向构造函数的prototype,从而实现继承。

通过代码来验证:

javascript
function Person(name ,age) {
+import{_ as i,c as a,a4 as t,o as p}from"./chunks/framework.CFocJP4i.js";const o=JSON.parse('{"title":"原型原型链","description":"","frontmatter":{"title":"原型原型链","date":"2021-03-16T21:20:34.000Z","author":"RuiLin Dong","categories":["JavaScript"],"tags":["JavaScript"]},"headers":[],"relativePath":"posts/JavaScript/原型、原型链.md","filePath":"posts/JavaScript/原型、原型链.md"}'),n={name:"posts/JavaScript/原型、原型链.md"};function h(l,s,k,e,r,E){return p(),a("div",null,s[0]||(s[0]=[t(`

一、原型prototype和__proto__

  • 每个对象都有一个__proto__属性,并且指向它的构造函数的prototype原型对象。
  • 每个构造函数都有一个prototype原型对象
    • prototype原型对象的constructor指向构造函数本身

对象是引用数据类型,对象中的__proto__属性中实际上是保存的构造函数的prototype的指针地址。

实例对象的__proto__指向构造函数的prototype,从而实现继承。

通过代码来验证:

javascript
function Person(name ,age) {
     this.name = name
     this.age = age
 }
diff --git "a/assets/posts_JavaScript_\345\217\221\345\270\203\350\256\242\351\230\205\344\270\216\350\247\202\345\257\237\350\200\205\346\250\241\345\274\217.md.C4mI_QT8.js" "b/assets/posts_JavaScript_\345\217\221\345\270\203\350\256\242\351\230\205\344\270\216\350\247\202\345\257\237\350\200\205\346\250\241\345\274\217.md.CQYJ_MWi.js"
similarity index 99%
rename from "assets/posts_JavaScript_\345\217\221\345\270\203\350\256\242\351\230\205\344\270\216\350\247\202\345\257\237\350\200\205\346\250\241\345\274\217.md.C4mI_QT8.js"
rename to "assets/posts_JavaScript_\345\217\221\345\270\203\350\256\242\351\230\205\344\270\216\350\247\202\345\257\237\350\200\205\346\250\241\345\274\217.md.CQYJ_MWi.js"
index afefbe8..e15e085 100644
--- "a/assets/posts_JavaScript_\345\217\221\345\270\203\350\256\242\351\230\205\344\270\216\350\247\202\345\257\237\350\200\205\346\250\241\345\274\217.md.C4mI_QT8.js"
+++ "b/assets/posts_JavaScript_\345\217\221\345\270\203\350\256\242\351\230\205\344\270\216\350\247\202\345\257\237\350\200\205\346\250\241\345\274\217.md.CQYJ_MWi.js"
@@ -1,4 +1,4 @@
-import{_ as i,c as a,a4 as n,o as h}from"./chunks/framework.Dvq0W1Dl.js";const g=JSON.parse('{"title":"发布订阅与观察者模式","description":"","frontmatter":{"title":"发布订阅与观察者模式","date":"2021-08-18T19:33:11.000Z","author":"RuiLin Dong","categories":["JavaScript"],"tags":["JavaScript","设计模式"]},"headers":[],"relativePath":"posts/JavaScript/发布订阅与观察者模式.md","filePath":"posts/JavaScript/发布订阅与观察者模式.md"}'),k={name:"posts/JavaScript/发布订阅与观察者模式.md"};function p(l,s,t,E,e,r){return h(),a("div",null,s[0]||(s[0]=[n(`

在当前的 JavaScript 库中,发布订阅和观察者模式是非常常见的两种设计模式。

发布订阅模式

发布订阅模式主要分为两个部分 on (订阅) 与 emit (发布),on会把用户提供的回调函数保存,当 emit 时,执行用户的函数。

js
const e = {
+import{_ as i,c as a,a4 as n,o as h}from"./chunks/framework.CFocJP4i.js";const g=JSON.parse('{"title":"发布订阅与观察者模式","description":"","frontmatter":{"title":"发布订阅与观察者模式","date":"2021-08-18T19:33:11.000Z","author":"RuiLin Dong","categories":["JavaScript"],"tags":["JavaScript","设计模式"]},"headers":[],"relativePath":"posts/JavaScript/发布订阅与观察者模式.md","filePath":"posts/JavaScript/发布订阅与观察者模式.md"}'),k={name:"posts/JavaScript/发布订阅与观察者模式.md"};function p(l,s,t,E,e,r){return h(),a("div",null,s[0]||(s[0]=[n(`

在当前的 JavaScript 库中,发布订阅和观察者模式是非常常见的两种设计模式。

发布订阅模式

发布订阅模式主要分为两个部分 on (订阅) 与 emit (发布),on会把用户提供的回调函数保存,当 emit 时,执行用户的函数。

js
const e = {
     _obj:{},
     _callback:[],
     on(fn){
diff --git "a/assets/posts_JavaScript_\345\217\221\345\270\203\350\256\242\351\230\205\344\270\216\350\247\202\345\257\237\350\200\205\346\250\241\345\274\217.md.C4mI_QT8.lean.js" "b/assets/posts_JavaScript_\345\217\221\345\270\203\350\256\242\351\230\205\344\270\216\350\247\202\345\257\237\350\200\205\346\250\241\345\274\217.md.CQYJ_MWi.lean.js"
similarity index 99%
rename from "assets/posts_JavaScript_\345\217\221\345\270\203\350\256\242\351\230\205\344\270\216\350\247\202\345\257\237\350\200\205\346\250\241\345\274\217.md.C4mI_QT8.lean.js"
rename to "assets/posts_JavaScript_\345\217\221\345\270\203\350\256\242\351\230\205\344\270\216\350\247\202\345\257\237\350\200\205\346\250\241\345\274\217.md.CQYJ_MWi.lean.js"
index afefbe8..e15e085 100644
--- "a/assets/posts_JavaScript_\345\217\221\345\270\203\350\256\242\351\230\205\344\270\216\350\247\202\345\257\237\350\200\205\346\250\241\345\274\217.md.C4mI_QT8.lean.js"
+++ "b/assets/posts_JavaScript_\345\217\221\345\270\203\350\256\242\351\230\205\344\270\216\350\247\202\345\257\237\350\200\205\346\250\241\345\274\217.md.CQYJ_MWi.lean.js"
@@ -1,4 +1,4 @@
-import{_ as i,c as a,a4 as n,o as h}from"./chunks/framework.Dvq0W1Dl.js";const g=JSON.parse('{"title":"发布订阅与观察者模式","description":"","frontmatter":{"title":"发布订阅与观察者模式","date":"2021-08-18T19:33:11.000Z","author":"RuiLin Dong","categories":["JavaScript"],"tags":["JavaScript","设计模式"]},"headers":[],"relativePath":"posts/JavaScript/发布订阅与观察者模式.md","filePath":"posts/JavaScript/发布订阅与观察者模式.md"}'),k={name:"posts/JavaScript/发布订阅与观察者模式.md"};function p(l,s,t,E,e,r){return h(),a("div",null,s[0]||(s[0]=[n(`

在当前的 JavaScript 库中,发布订阅和观察者模式是非常常见的两种设计模式。

发布订阅模式

发布订阅模式主要分为两个部分 on (订阅) 与 emit (发布),on会把用户提供的回调函数保存,当 emit 时,执行用户的函数。

js
const e = {
+import{_ as i,c as a,a4 as n,o as h}from"./chunks/framework.CFocJP4i.js";const g=JSON.parse('{"title":"发布订阅与观察者模式","description":"","frontmatter":{"title":"发布订阅与观察者模式","date":"2021-08-18T19:33:11.000Z","author":"RuiLin Dong","categories":["JavaScript"],"tags":["JavaScript","设计模式"]},"headers":[],"relativePath":"posts/JavaScript/发布订阅与观察者模式.md","filePath":"posts/JavaScript/发布订阅与观察者模式.md"}'),k={name:"posts/JavaScript/发布订阅与观察者模式.md"};function p(l,s,t,E,e,r){return h(),a("div",null,s[0]||(s[0]=[n(`

在当前的 JavaScript 库中,发布订阅和观察者模式是非常常见的两种设计模式。

发布订阅模式

发布订阅模式主要分为两个部分 on (订阅) 与 emit (发布),on会把用户提供的回调函数保存,当 emit 时,执行用户的函数。

js
const e = {
     _obj:{},
     _callback:[],
     on(fn){
diff --git "a/assets/posts_React_\345\246\202\344\275\225\345\260\201\350\243\205\350\207\252\345\267\261\347\232\204react hooks.md.CfWXfK7Z.js" "b/assets/posts_React_\345\246\202\344\275\225\345\260\201\350\243\205\350\207\252\345\267\261\347\232\204react hooks.md.DOgkF2XC.js"
similarity index 99%
rename from "assets/posts_React_\345\246\202\344\275\225\345\260\201\350\243\205\350\207\252\345\267\261\347\232\204react hooks.md.CfWXfK7Z.js"
rename to "assets/posts_React_\345\246\202\344\275\225\345\260\201\350\243\205\350\207\252\345\267\261\347\232\204react hooks.md.DOgkF2XC.js"
index 34dc373..cf689d0 100644
--- "a/assets/posts_React_\345\246\202\344\275\225\345\260\201\350\243\205\350\207\252\345\267\261\347\232\204react hooks.md.CfWXfK7Z.js"	
+++ "b/assets/posts_React_\345\246\202\344\275\225\345\260\201\350\243\205\350\207\252\345\267\261\347\232\204react hooks.md.DOgkF2XC.js"	
@@ -1,4 +1,4 @@
-import{_ as i,c as a,a4 as n,o as t}from"./chunks/framework.Dvq0W1Dl.js";const g=JSON.parse('{"title":"如何封装自己的react hooks","description":"","frontmatter":{"title":"如何封装自己的react hooks","date":"2021-04-19T21:20:34.000Z","permalink":"/read/2021041901","author":"RuiLin Dong","categories":["React"],"tags":["React"]},"headers":[],"relativePath":"posts/React/如何封装自己的react hooks.md","filePath":"posts/React/如何封装自己的react hooks.md"}'),h={name:"posts/React/如何封装自己的react hooks.md"};function k(l,s,p,e,E,r){return t(),a("div",null,s[0]||(s[0]=[n(`

通过自定义 Hook,可以将组件逻辑提取到可重用的函数中。

1、常用的一个hooks

官方中提供了几个内置的钩子,下面做下简单介绍

1.1 useState:状态

使用useState钩子,我们就可以给函数组件添加state了,例如点击按钮一下,count+1的操作:

javascript
const [count , setCount] = useState(0)
+import{_ as i,c as a,a4 as n,o as t}from"./chunks/framework.CFocJP4i.js";const g=JSON.parse('{"title":"如何封装自己的react hooks","description":"","frontmatter":{"title":"如何封装自己的react hooks","date":"2021-04-19T21:20:34.000Z","permalink":"/read/2021041901","author":"RuiLin Dong","categories":["React"],"tags":["React"]},"headers":[],"relativePath":"posts/React/如何封装自己的react hooks.md","filePath":"posts/React/如何封装自己的react hooks.md"}'),h={name:"posts/React/如何封装自己的react hooks.md"};function k(l,s,p,e,E,r){return t(),a("div",null,s[0]||(s[0]=[n(`

通过自定义 Hook,可以将组件逻辑提取到可重用的函数中。

1、常用的一个hooks

官方中提供了几个内置的钩子,下面做下简单介绍

1.1 useState:状态

使用useState钩子,我们就可以给函数组件添加state了,例如点击按钮一下,count+1的操作:

javascript
const [count , setCount] = useState(0)
 
 return (
     <>
diff --git "a/assets/posts_React_\345\246\202\344\275\225\345\260\201\350\243\205\350\207\252\345\267\261\347\232\204react hooks.md.CfWXfK7Z.lean.js" "b/assets/posts_React_\345\246\202\344\275\225\345\260\201\350\243\205\350\207\252\345\267\261\347\232\204react hooks.md.DOgkF2XC.lean.js"
similarity index 99%
rename from "assets/posts_React_\345\246\202\344\275\225\345\260\201\350\243\205\350\207\252\345\267\261\347\232\204react hooks.md.CfWXfK7Z.lean.js"
rename to "assets/posts_React_\345\246\202\344\275\225\345\260\201\350\243\205\350\207\252\345\267\261\347\232\204react hooks.md.DOgkF2XC.lean.js"
index 34dc373..cf689d0 100644
--- "a/assets/posts_React_\345\246\202\344\275\225\345\260\201\350\243\205\350\207\252\345\267\261\347\232\204react hooks.md.CfWXfK7Z.lean.js"	
+++ "b/assets/posts_React_\345\246\202\344\275\225\345\260\201\350\243\205\350\207\252\345\267\261\347\232\204react hooks.md.DOgkF2XC.lean.js"	
@@ -1,4 +1,4 @@
-import{_ as i,c as a,a4 as n,o as t}from"./chunks/framework.Dvq0W1Dl.js";const g=JSON.parse('{"title":"如何封装自己的react hooks","description":"","frontmatter":{"title":"如何封装自己的react hooks","date":"2021-04-19T21:20:34.000Z","permalink":"/read/2021041901","author":"RuiLin Dong","categories":["React"],"tags":["React"]},"headers":[],"relativePath":"posts/React/如何封装自己的react hooks.md","filePath":"posts/React/如何封装自己的react hooks.md"}'),h={name:"posts/React/如何封装自己的react hooks.md"};function k(l,s,p,e,E,r){return t(),a("div",null,s[0]||(s[0]=[n(`

通过自定义 Hook,可以将组件逻辑提取到可重用的函数中。

1、常用的一个hooks

官方中提供了几个内置的钩子,下面做下简单介绍

1.1 useState:状态

使用useState钩子,我们就可以给函数组件添加state了,例如点击按钮一下,count+1的操作:

javascript
const [count , setCount] = useState(0)
+import{_ as i,c as a,a4 as n,o as t}from"./chunks/framework.CFocJP4i.js";const g=JSON.parse('{"title":"如何封装自己的react hooks","description":"","frontmatter":{"title":"如何封装自己的react hooks","date":"2021-04-19T21:20:34.000Z","permalink":"/read/2021041901","author":"RuiLin Dong","categories":["React"],"tags":["React"]},"headers":[],"relativePath":"posts/React/如何封装自己的react hooks.md","filePath":"posts/React/如何封装自己的react hooks.md"}'),h={name:"posts/React/如何封装自己的react hooks.md"};function k(l,s,p,e,E,r){return t(),a("div",null,s[0]||(s[0]=[n(`

通过自定义 Hook,可以将组件逻辑提取到可重用的函数中。

1、常用的一个hooks

官方中提供了几个内置的钩子,下面做下简单介绍

1.1 useState:状态

使用useState钩子,我们就可以给函数组件添加state了,例如点击按钮一下,count+1的操作:

javascript
const [count , setCount] = useState(0)
 
 return (
     <>
diff --git "a/assets/posts_React_\345\256\236\347\216\260react\347\273\204\344\273\266\347\232\204\351\200\222\345\275\222\350\260\203\347\224\250.md.BNLnYpCW.js" "b/assets/posts_React_\345\256\236\347\216\260react\347\273\204\344\273\266\347\232\204\351\200\222\345\275\222\350\260\203\347\224\250.md.BOswUfmV.js"
similarity index 98%
rename from "assets/posts_React_\345\256\236\347\216\260react\347\273\204\344\273\266\347\232\204\351\200\222\345\275\222\350\260\203\347\224\250.md.BNLnYpCW.js"
rename to "assets/posts_React_\345\256\236\347\216\260react\347\273\204\344\273\266\347\232\204\351\200\222\345\275\222\350\260\203\347\224\250.md.BOswUfmV.js"
index a9a9545..c291449 100644
--- "a/assets/posts_React_\345\256\236\347\216\260react\347\273\204\344\273\266\347\232\204\351\200\222\345\275\222\350\260\203\347\224\250.md.BNLnYpCW.js"
+++ "b/assets/posts_React_\345\256\236\347\216\260react\347\273\204\344\273\266\347\232\204\351\200\222\345\275\222\350\260\203\347\224\250.md.BOswUfmV.js"
@@ -1,4 +1,4 @@
-import{_ as i,c as a,a4 as n,o as l}from"./chunks/framework.Dvq0W1Dl.js";const g=JSON.parse('{"title":"实现react组件的递归调用","description":"","frontmatter":{"title":"实现react组件的递归调用","date":"2021-05-14T21:20:34.000Z","permalink":"/read/2021051401","author":"RuiLin Dong","categories":["React"],"tags":["React"]},"headers":[],"relativePath":"posts/React/实现react组件的递归调用.md","filePath":"posts/React/实现react组件的递归调用.md"}'),h={name:"posts/React/实现react组件的递归调用.md"};function p(t,s,k,e,E,r){return l(),a("div",null,s[0]||(s[0]=[n(`

使用React来简单实现下组件的递归。在React可以通过props和children来向子组件传递信息,不过在这里大致的思路都是一样的。我们先定义一下要渲染的json结构:

js
list = [
+import{_ as i,c as a,a4 as n,o as l}from"./chunks/framework.CFocJP4i.js";const g=JSON.parse('{"title":"实现react组件的递归调用","description":"","frontmatter":{"title":"实现react组件的递归调用","date":"2021-05-14T21:20:34.000Z","permalink":"/read/2021051401","author":"RuiLin Dong","categories":["React"],"tags":["React"]},"headers":[],"relativePath":"posts/React/实现react组件的递归调用.md","filePath":"posts/React/实现react组件的递归调用.md"}'),h={name:"posts/React/实现react组件的递归调用.md"};function p(t,s,k,e,E,r){return l(),a("div",null,s[0]||(s[0]=[n(`

使用React来简单实现下组件的递归。在React可以通过props和children来向子组件传递信息,不过在这里大致的思路都是一样的。我们先定义一下要渲染的json结构:

js
list = [
     {
         name: '1',
         children: [
diff --git "a/assets/posts_React_\345\256\236\347\216\260react\347\273\204\344\273\266\347\232\204\351\200\222\345\275\222\350\260\203\347\224\250.md.BNLnYpCW.lean.js" "b/assets/posts_React_\345\256\236\347\216\260react\347\273\204\344\273\266\347\232\204\351\200\222\345\275\222\350\260\203\347\224\250.md.BOswUfmV.lean.js"
similarity index 98%
rename from "assets/posts_React_\345\256\236\347\216\260react\347\273\204\344\273\266\347\232\204\351\200\222\345\275\222\350\260\203\347\224\250.md.BNLnYpCW.lean.js"
rename to "assets/posts_React_\345\256\236\347\216\260react\347\273\204\344\273\266\347\232\204\351\200\222\345\275\222\350\260\203\347\224\250.md.BOswUfmV.lean.js"
index a9a9545..c291449 100644
--- "a/assets/posts_React_\345\256\236\347\216\260react\347\273\204\344\273\266\347\232\204\351\200\222\345\275\222\350\260\203\347\224\250.md.BNLnYpCW.lean.js"
+++ "b/assets/posts_React_\345\256\236\347\216\260react\347\273\204\344\273\266\347\232\204\351\200\222\345\275\222\350\260\203\347\224\250.md.BOswUfmV.lean.js"
@@ -1,4 +1,4 @@
-import{_ as i,c as a,a4 as n,o as l}from"./chunks/framework.Dvq0W1Dl.js";const g=JSON.parse('{"title":"实现react组件的递归调用","description":"","frontmatter":{"title":"实现react组件的递归调用","date":"2021-05-14T21:20:34.000Z","permalink":"/read/2021051401","author":"RuiLin Dong","categories":["React"],"tags":["React"]},"headers":[],"relativePath":"posts/React/实现react组件的递归调用.md","filePath":"posts/React/实现react组件的递归调用.md"}'),h={name:"posts/React/实现react组件的递归调用.md"};function p(t,s,k,e,E,r){return l(),a("div",null,s[0]||(s[0]=[n(`

使用React来简单实现下组件的递归。在React可以通过props和children来向子组件传递信息,不过在这里大致的思路都是一样的。我们先定义一下要渲染的json结构:

js
list = [
+import{_ as i,c as a,a4 as n,o as l}from"./chunks/framework.CFocJP4i.js";const g=JSON.parse('{"title":"实现react组件的递归调用","description":"","frontmatter":{"title":"实现react组件的递归调用","date":"2021-05-14T21:20:34.000Z","permalink":"/read/2021051401","author":"RuiLin Dong","categories":["React"],"tags":["React"]},"headers":[],"relativePath":"posts/React/实现react组件的递归调用.md","filePath":"posts/React/实现react组件的递归调用.md"}'),h={name:"posts/React/实现react组件的递归调用.md"};function p(t,s,k,e,E,r){return l(),a("div",null,s[0]||(s[0]=[n(`

使用React来简单实现下组件的递归。在React可以通过props和children来向子组件传递信息,不过在这里大致的思路都是一样的。我们先定义一下要渲染的json结构:

js
list = [
     {
         name: '1',
         children: [
diff --git "a/assets/posts_TypeScript_TypeScript\344\270\255\347\232\204\351\227\256\345\217\267.md.BTswlqgM.js" "b/assets/posts_TypeScript_TypeScript\344\270\255\347\232\204\351\227\256\345\217\267.md.CQoz3ZKa.js"
similarity index 99%
rename from "assets/posts_TypeScript_TypeScript\344\270\255\347\232\204\351\227\256\345\217\267.md.BTswlqgM.js"
rename to "assets/posts_TypeScript_TypeScript\344\270\255\347\232\204\351\227\256\345\217\267.md.CQoz3ZKa.js"
index 07f6afd..5c644ab 100644
--- "a/assets/posts_TypeScript_TypeScript\344\270\255\347\232\204\351\227\256\345\217\267.md.BTswlqgM.js"
+++ "b/assets/posts_TypeScript_TypeScript\344\270\255\347\232\204\351\227\256\345\217\267.md.CQoz3ZKa.js"
@@ -1,4 +1,4 @@
-import{_ as i,c as a,a4 as n,o as p}from"./chunks/framework.Dvq0W1Dl.js";const E=JSON.parse('{"title":"TypeScript中的问号","description":"","frontmatter":{"title":"TypeScript中的问号","date":"2021-07-11T21:05:38.000Z","author":"RuiLin Dong","permalink":"/read/20210711093729","categories":["TypeScript"],"tags":["TypeScript"]},"headers":[],"relativePath":"posts/TypeScript/TypeScript中的问号.md","filePath":"posts/TypeScript/TypeScript中的问号.md"}'),t={name:"posts/TypeScript/TypeScript中的问号.md"};function l(h,s,k,e,r,d){return p(),a("div",null,s[0]||(s[0]=[n(`

当你链式的去调用对象的某个属性或者方法时,可能经常会见到 属性可能为 undefined 类似的错误。比如:

TypeScript
const x = nav.bar.show();

这里的访问链路上 nav bar show 任何一个为 undefined,程序就停止工作。

使用 ? 修改后:

TypeScript
const x = nav?.bar.show();

这里 ?. 的句法就是 Optional Chaining,在 TypeScript 3.7 中实现,目前 tc39 提案中处于 Stage 4 阶段。

Optional Chaining 在这里表示,如果 foo 是 null 或 undefined,整个语句不继续往后执行,直接返回 undefined。

作用范围 需要注意的是,?. 只作用于左边的对象。

所以可以这样来修正:

TypeScript
const x = nav?.bar?.show();

这样可以保障 nav bar 为空的情况下不报错。这体现了 optional property accesses 的功能。

Opptoinal call 对于方法也同样适用。

TypeScript
async function makeRequest(url: string, log?: (msg: string) => void) {
+import{_ as i,c as a,a4 as n,o as p}from"./chunks/framework.CFocJP4i.js";const E=JSON.parse('{"title":"TypeScript中的问号","description":"","frontmatter":{"title":"TypeScript中的问号","date":"2021-07-11T21:05:38.000Z","author":"RuiLin Dong","permalink":"/read/20210711093729","categories":["TypeScript"],"tags":["TypeScript"]},"headers":[],"relativePath":"posts/TypeScript/TypeScript中的问号.md","filePath":"posts/TypeScript/TypeScript中的问号.md"}'),t={name:"posts/TypeScript/TypeScript中的问号.md"};function l(h,s,k,e,r,d){return p(),a("div",null,s[0]||(s[0]=[n(`

当你链式的去调用对象的某个属性或者方法时,可能经常会见到 属性可能为 undefined 类似的错误。比如:

TypeScript
const x = nav.bar.show();

这里的访问链路上 nav bar show 任何一个为 undefined,程序就停止工作。

使用 ? 修改后:

TypeScript
const x = nav?.bar.show();

这里 ?. 的句法就是 Optional Chaining,在 TypeScript 3.7 中实现,目前 tc39 提案中处于 Stage 4 阶段。

Optional Chaining 在这里表示,如果 foo 是 null 或 undefined,整个语句不继续往后执行,直接返回 undefined。

作用范围 需要注意的是,?. 只作用于左边的对象。

所以可以这样来修正:

TypeScript
const x = nav?.bar?.show();

这样可以保障 nav bar 为空的情况下不报错。这体现了 optional property accesses 的功能。

Opptoinal call 对于方法也同样适用。

TypeScript
async function makeRequest(url: string, log?: (msg: string) => void) {
   log?.(\`Request started at \${new Date().toISOString()}\`);
   // roughly equivalent to
   //   if (log != null) {
diff --git "a/assets/posts_TypeScript_TypeScript\344\270\255\347\232\204\351\227\256\345\217\267.md.BTswlqgM.lean.js" "b/assets/posts_TypeScript_TypeScript\344\270\255\347\232\204\351\227\256\345\217\267.md.CQoz3ZKa.lean.js"
similarity index 99%
rename from "assets/posts_TypeScript_TypeScript\344\270\255\347\232\204\351\227\256\345\217\267.md.BTswlqgM.lean.js"
rename to "assets/posts_TypeScript_TypeScript\344\270\255\347\232\204\351\227\256\345\217\267.md.CQoz3ZKa.lean.js"
index 07f6afd..5c644ab 100644
--- "a/assets/posts_TypeScript_TypeScript\344\270\255\347\232\204\351\227\256\345\217\267.md.BTswlqgM.lean.js"
+++ "b/assets/posts_TypeScript_TypeScript\344\270\255\347\232\204\351\227\256\345\217\267.md.CQoz3ZKa.lean.js"
@@ -1,4 +1,4 @@
-import{_ as i,c as a,a4 as n,o as p}from"./chunks/framework.Dvq0W1Dl.js";const E=JSON.parse('{"title":"TypeScript中的问号","description":"","frontmatter":{"title":"TypeScript中的问号","date":"2021-07-11T21:05:38.000Z","author":"RuiLin Dong","permalink":"/read/20210711093729","categories":["TypeScript"],"tags":["TypeScript"]},"headers":[],"relativePath":"posts/TypeScript/TypeScript中的问号.md","filePath":"posts/TypeScript/TypeScript中的问号.md"}'),t={name:"posts/TypeScript/TypeScript中的问号.md"};function l(h,s,k,e,r,d){return p(),a("div",null,s[0]||(s[0]=[n(`

当你链式的去调用对象的某个属性或者方法时,可能经常会见到 属性可能为 undefined 类似的错误。比如:

TypeScript
const x = nav.bar.show();

这里的访问链路上 nav bar show 任何一个为 undefined,程序就停止工作。

使用 ? 修改后:

TypeScript
const x = nav?.bar.show();

这里 ?. 的句法就是 Optional Chaining,在 TypeScript 3.7 中实现,目前 tc39 提案中处于 Stage 4 阶段。

Optional Chaining 在这里表示,如果 foo 是 null 或 undefined,整个语句不继续往后执行,直接返回 undefined。

作用范围 需要注意的是,?. 只作用于左边的对象。

所以可以这样来修正:

TypeScript
const x = nav?.bar?.show();

这样可以保障 nav bar 为空的情况下不报错。这体现了 optional property accesses 的功能。

Opptoinal call 对于方法也同样适用。

TypeScript
async function makeRequest(url: string, log?: (msg: string) => void) {
+import{_ as i,c as a,a4 as n,o as p}from"./chunks/framework.CFocJP4i.js";const E=JSON.parse('{"title":"TypeScript中的问号","description":"","frontmatter":{"title":"TypeScript中的问号","date":"2021-07-11T21:05:38.000Z","author":"RuiLin Dong","permalink":"/read/20210711093729","categories":["TypeScript"],"tags":["TypeScript"]},"headers":[],"relativePath":"posts/TypeScript/TypeScript中的问号.md","filePath":"posts/TypeScript/TypeScript中的问号.md"}'),t={name:"posts/TypeScript/TypeScript中的问号.md"};function l(h,s,k,e,r,d){return p(),a("div",null,s[0]||(s[0]=[n(`

当你链式的去调用对象的某个属性或者方法时,可能经常会见到 属性可能为 undefined 类似的错误。比如:

TypeScript
const x = nav.bar.show();

这里的访问链路上 nav bar show 任何一个为 undefined,程序就停止工作。

使用 ? 修改后:

TypeScript
const x = nav?.bar.show();

这里 ?. 的句法就是 Optional Chaining,在 TypeScript 3.7 中实现,目前 tc39 提案中处于 Stage 4 阶段。

Optional Chaining 在这里表示,如果 foo 是 null 或 undefined,整个语句不继续往后执行,直接返回 undefined。

作用范围 需要注意的是,?. 只作用于左边的对象。

所以可以这样来修正:

TypeScript
const x = nav?.bar?.show();

这样可以保障 nav bar 为空的情况下不报错。这体现了 optional property accesses 的功能。

Opptoinal call 对于方法也同样适用。

TypeScript
async function makeRequest(url: string, log?: (msg: string) => void) {
   log?.(\`Request started at \${new Date().toISOString()}\`);
   // roughly equivalent to
   //   if (log != null) {
diff --git "a/assets/posts_TypeScript_\343\200\220Training\343\200\221\347\261\273\345\236\213\346\240\207\350\256\260 Pick \344\270\216 Omit.md.rQJzwWT_.js" "b/assets/posts_TypeScript_\343\200\220Training\343\200\221\347\261\273\345\236\213\346\240\207\350\256\260 Pick \344\270\216 Omit.md.D7eJsU2E.js"
similarity index 99%
rename from "assets/posts_TypeScript_\343\200\220Training\343\200\221\347\261\273\345\236\213\346\240\207\350\256\260 Pick \344\270\216 Omit.md.rQJzwWT_.js"
rename to "assets/posts_TypeScript_\343\200\220Training\343\200\221\347\261\273\345\236\213\346\240\207\350\256\260 Pick \344\270\216 Omit.md.D7eJsU2E.js"
index 12ab4ff..c473d81 100644
--- "a/assets/posts_TypeScript_\343\200\220Training\343\200\221\347\261\273\345\236\213\346\240\207\350\256\260 Pick \344\270\216 Omit.md.rQJzwWT_.js"	
+++ "b/assets/posts_TypeScript_\343\200\220Training\343\200\221\347\261\273\345\236\213\346\240\207\350\256\260 Pick \344\270\216 Omit.md.D7eJsU2E.js"	
@@ -1,4 +1,4 @@
-import{_ as i,c as a,a4 as t,o as h}from"./chunks/framework.Dvq0W1Dl.js";const y=JSON.parse('{"title":"类型标记 Pick 与 Omit","description":"","frontmatter":{"title":"类型标记 Pick 与 Omit","date":"2022-01-23T21:19:14.000Z","author":"RuiLin Dong","permalink":"/read/20220123091936","categories":["TypeScript"],"tags":["TypeScript","Training"]},"headers":[],"relativePath":"posts/TypeScript/【Training】类型标记 Pick 与 Omit.md","filePath":"posts/TypeScript/【Training】类型标记 Pick 与 Omit.md"}'),n={name:"posts/TypeScript/【Training】类型标记 Pick 与 Omit.md"};function k(p,s,l,e,r,d){return h(),a("div",null,s[0]||(s[0]=[t(`

Pick 与 Omit

typescript
interface Page {
+import{_ as i,c as a,a4 as t,o as h}from"./chunks/framework.CFocJP4i.js";const y=JSON.parse('{"title":"类型标记 Pick 与 Omit","description":"","frontmatter":{"title":"类型标记 Pick 与 Omit","date":"2022-01-23T21:19:14.000Z","author":"RuiLin Dong","permalink":"/read/20220123091936","categories":["TypeScript"],"tags":["TypeScript","Training"]},"headers":[],"relativePath":"posts/TypeScript/【Training】类型标记 Pick 与 Omit.md","filePath":"posts/TypeScript/【Training】类型标记 Pick 与 Omit.md"}'),n={name:"posts/TypeScript/【Training】类型标记 Pick 与 Omit.md"};function k(p,s,l,e,r,d){return h(),a("div",null,s[0]||(s[0]=[t(`

Pick 与 Omit

typescript
interface Page {
   id: number;
   title: string;
   author: string;
diff --git "a/assets/posts_TypeScript_\343\200\220Training\343\200\221\347\261\273\345\236\213\346\240\207\350\256\260 Pick \344\270\216 Omit.md.rQJzwWT_.lean.js" "b/assets/posts_TypeScript_\343\200\220Training\343\200\221\347\261\273\345\236\213\346\240\207\350\256\260 Pick \344\270\216 Omit.md.D7eJsU2E.lean.js"
similarity index 99%
rename from "assets/posts_TypeScript_\343\200\220Training\343\200\221\347\261\273\345\236\213\346\240\207\350\256\260 Pick \344\270\216 Omit.md.rQJzwWT_.lean.js"
rename to "assets/posts_TypeScript_\343\200\220Training\343\200\221\347\261\273\345\236\213\346\240\207\350\256\260 Pick \344\270\216 Omit.md.D7eJsU2E.lean.js"
index 12ab4ff..c473d81 100644
--- "a/assets/posts_TypeScript_\343\200\220Training\343\200\221\347\261\273\345\236\213\346\240\207\350\256\260 Pick \344\270\216 Omit.md.rQJzwWT_.lean.js"	
+++ "b/assets/posts_TypeScript_\343\200\220Training\343\200\221\347\261\273\345\236\213\346\240\207\350\256\260 Pick \344\270\216 Omit.md.D7eJsU2E.lean.js"	
@@ -1,4 +1,4 @@
-import{_ as i,c as a,a4 as t,o as h}from"./chunks/framework.Dvq0W1Dl.js";const y=JSON.parse('{"title":"类型标记 Pick 与 Omit","description":"","frontmatter":{"title":"类型标记 Pick 与 Omit","date":"2022-01-23T21:19:14.000Z","author":"RuiLin Dong","permalink":"/read/20220123091936","categories":["TypeScript"],"tags":["TypeScript","Training"]},"headers":[],"relativePath":"posts/TypeScript/【Training】类型标记 Pick 与 Omit.md","filePath":"posts/TypeScript/【Training】类型标记 Pick 与 Omit.md"}'),n={name:"posts/TypeScript/【Training】类型标记 Pick 与 Omit.md"};function k(p,s,l,e,r,d){return h(),a("div",null,s[0]||(s[0]=[t(`

Pick 与 Omit

typescript
interface Page {
+import{_ as i,c as a,a4 as t,o as h}from"./chunks/framework.CFocJP4i.js";const y=JSON.parse('{"title":"类型标记 Pick 与 Omit","description":"","frontmatter":{"title":"类型标记 Pick 与 Omit","date":"2022-01-23T21:19:14.000Z","author":"RuiLin Dong","permalink":"/read/20220123091936","categories":["TypeScript"],"tags":["TypeScript","Training"]},"headers":[],"relativePath":"posts/TypeScript/【Training】类型标记 Pick 与 Omit.md","filePath":"posts/TypeScript/【Training】类型标记 Pick 与 Omit.md"}'),n={name:"posts/TypeScript/【Training】类型标记 Pick 与 Omit.md"};function k(p,s,l,e,r,d){return h(),a("div",null,s[0]||(s[0]=[t(`

Pick 与 Omit

typescript
interface Page {
   id: number;
   title: string;
   author: string;
diff --git "a/assets/posts_\345\211\252\350\264\264\346\235\277_\344\273\243\347\240\201\346\225\264\346\264\201\344\271\213\351\201\223.md.BO9Y_rL-.js" "b/assets/posts_\345\211\252\350\264\264\346\235\277_\344\273\243\347\240\201\346\225\264\346\264\201\344\271\213\351\201\223.md.BW5fFnRp.js"
similarity index 99%
rename from "assets/posts_\345\211\252\350\264\264\346\235\277_\344\273\243\347\240\201\346\225\264\346\264\201\344\271\213\351\201\223.md.BO9Y_rL-.js"
rename to "assets/posts_\345\211\252\350\264\264\346\235\277_\344\273\243\347\240\201\346\225\264\346\264\201\344\271\213\351\201\223.md.BW5fFnRp.js"
index 04f1d2f..98c21fd 100644
--- "a/assets/posts_\345\211\252\350\264\264\346\235\277_\344\273\243\347\240\201\346\225\264\346\264\201\344\271\213\351\201\223.md.BO9Y_rL-.js"
+++ "b/assets/posts_\345\211\252\350\264\264\346\235\277_\344\273\243\347\240\201\346\225\264\346\264\201\344\271\213\351\201\223.md.BW5fFnRp.js"
@@ -1,4 +1,4 @@
-import{_ as i,c as a,a4 as n,o as h}from"./chunks/framework.Dvq0W1Dl.js";const g=JSON.parse('{"title":"代码整洁之道","description":"","frontmatter":{"title":"代码整洁之道","date":"2021-07-09T21:26:16.000Z","author":"RuiLin Dong","permalink":"/read/20210709092616","categories":["剪贴板"],"tags":["剪贴板"]},"headers":[],"relativePath":"posts/剪贴板/代码整洁之道.md","filePath":"posts/剪贴板/代码整洁之道.md"}'),k={name:"posts/剪贴板/代码整洁之道.md"};function l(p,s,t,E,e,r){return h(),a("div",null,s[0]||(s[0]=[n(`

本文摘自字节教育 《一名合格前端工程师必备素质:代码整洁之道》

代码整洁有什么用?

  • 思路清晰,降低bug几率
  • 更容易维护,利于团队协作
  • 看起来舒服,提高效率 ...... 软件质量与代码整洁度成正比 --Robert.C.Martin

软件设计3R层次结构: readable, reusable, and refactorable 可读性、可重用性、可重构性 image.png 下面这些原则是作者提出的一些最佳实践,但不是强制约束

关于命名 1.使用有意义且易读的变量名

js
👎 const yyyymmdstr = moment().format("YYYY/MM/DD");
+import{_ as i,c as a,a4 as n,o as h}from"./chunks/framework.CFocJP4i.js";const g=JSON.parse('{"title":"代码整洁之道","description":"","frontmatter":{"title":"代码整洁之道","date":"2021-07-09T21:26:16.000Z","author":"RuiLin Dong","permalink":"/read/20210709092616","categories":["剪贴板"],"tags":["剪贴板"]},"headers":[],"relativePath":"posts/剪贴板/代码整洁之道.md","filePath":"posts/剪贴板/代码整洁之道.md"}'),k={name:"posts/剪贴板/代码整洁之道.md"};function l(p,s,t,E,e,r){return h(),a("div",null,s[0]||(s[0]=[n(`

本文摘自字节教育 《一名合格前端工程师必备素质:代码整洁之道》

代码整洁有什么用?

  • 思路清晰,降低bug几率
  • 更容易维护,利于团队协作
  • 看起来舒服,提高效率 ...... 软件质量与代码整洁度成正比 --Robert.C.Martin

软件设计3R层次结构: readable, reusable, and refactorable 可读性、可重用性、可重构性 image.png 下面这些原则是作者提出的一些最佳实践,但不是强制约束

关于命名 1.使用有意义且易读的变量名

js
👎 const yyyymmdstr = moment().format("YYYY/MM/DD");
 
 👍 const currentDate = moment().format("YYYY/MM/DD");
 复制代码
diff --git "a/assets/posts_\345\211\252\350\264\264\346\235\277_\344\273\243\347\240\201\346\225\264\346\264\201\344\271\213\351\201\223.md.BO9Y_rL-.lean.js" "b/assets/posts_\345\211\252\350\264\264\346\235\277_\344\273\243\347\240\201\346\225\264\346\264\201\344\271\213\351\201\223.md.BW5fFnRp.lean.js"
similarity index 99%
rename from "assets/posts_\345\211\252\350\264\264\346\235\277_\344\273\243\347\240\201\346\225\264\346\264\201\344\271\213\351\201\223.md.BO9Y_rL-.lean.js"
rename to "assets/posts_\345\211\252\350\264\264\346\235\277_\344\273\243\347\240\201\346\225\264\346\264\201\344\271\213\351\201\223.md.BW5fFnRp.lean.js"
index 04f1d2f..98c21fd 100644
--- "a/assets/posts_\345\211\252\350\264\264\346\235\277_\344\273\243\347\240\201\346\225\264\346\264\201\344\271\213\351\201\223.md.BO9Y_rL-.lean.js"
+++ "b/assets/posts_\345\211\252\350\264\264\346\235\277_\344\273\243\347\240\201\346\225\264\346\264\201\344\271\213\351\201\223.md.BW5fFnRp.lean.js"
@@ -1,4 +1,4 @@
-import{_ as i,c as a,a4 as n,o as h}from"./chunks/framework.Dvq0W1Dl.js";const g=JSON.parse('{"title":"代码整洁之道","description":"","frontmatter":{"title":"代码整洁之道","date":"2021-07-09T21:26:16.000Z","author":"RuiLin Dong","permalink":"/read/20210709092616","categories":["剪贴板"],"tags":["剪贴板"]},"headers":[],"relativePath":"posts/剪贴板/代码整洁之道.md","filePath":"posts/剪贴板/代码整洁之道.md"}'),k={name:"posts/剪贴板/代码整洁之道.md"};function l(p,s,t,E,e,r){return h(),a("div",null,s[0]||(s[0]=[n(`

本文摘自字节教育 《一名合格前端工程师必备素质:代码整洁之道》

代码整洁有什么用?

  • 思路清晰,降低bug几率
  • 更容易维护,利于团队协作
  • 看起来舒服,提高效率 ...... 软件质量与代码整洁度成正比 --Robert.C.Martin

软件设计3R层次结构: readable, reusable, and refactorable 可读性、可重用性、可重构性 image.png 下面这些原则是作者提出的一些最佳实践,但不是强制约束

关于命名 1.使用有意义且易读的变量名

js
👎 const yyyymmdstr = moment().format("YYYY/MM/DD");
+import{_ as i,c as a,a4 as n,o as h}from"./chunks/framework.CFocJP4i.js";const g=JSON.parse('{"title":"代码整洁之道","description":"","frontmatter":{"title":"代码整洁之道","date":"2021-07-09T21:26:16.000Z","author":"RuiLin Dong","permalink":"/read/20210709092616","categories":["剪贴板"],"tags":["剪贴板"]},"headers":[],"relativePath":"posts/剪贴板/代码整洁之道.md","filePath":"posts/剪贴板/代码整洁之道.md"}'),k={name:"posts/剪贴板/代码整洁之道.md"};function l(p,s,t,E,e,r){return h(),a("div",null,s[0]||(s[0]=[n(`

本文摘自字节教育 《一名合格前端工程师必备素质:代码整洁之道》

代码整洁有什么用?

  • 思路清晰,降低bug几率
  • 更容易维护,利于团队协作
  • 看起来舒服,提高效率 ...... 软件质量与代码整洁度成正比 --Robert.C.Martin

软件设计3R层次结构: readable, reusable, and refactorable 可读性、可重用性、可重构性 image.png 下面这些原则是作者提出的一些最佳实践,但不是强制约束

关于命名 1.使用有意义且易读的变量名

js
👎 const yyyymmdstr = moment().format("YYYY/MM/DD");
 
 👍 const currentDate = moment().format("YYYY/MM/DD");
 复制代码
diff --git "a/assets/posts_\346\211\223\345\214\205\343\200\201\345\267\245\347\250\213\345\214\226_Webpack\345\267\245\344\275\234\346\265\201.md.SQHBoRZr.js" "b/assets/posts_\346\211\223\345\214\205\343\200\201\345\267\245\347\250\213\345\214\226_Webpack\345\267\245\344\275\234\346\265\201.md.76c3zcAq.js"
similarity index 98%
rename from "assets/posts_\346\211\223\345\214\205\343\200\201\345\267\245\347\250\213\345\214\226_Webpack\345\267\245\344\275\234\346\265\201.md.SQHBoRZr.js"
rename to "assets/posts_\346\211\223\345\214\205\343\200\201\345\267\245\347\250\213\345\214\226_Webpack\345\267\245\344\275\234\346\265\201.md.76c3zcAq.js"
index 66461b7..d968718 100644
--- "a/assets/posts_\346\211\223\345\214\205\343\200\201\345\267\245\347\250\213\345\214\226_Webpack\345\267\245\344\275\234\346\265\201.md.SQHBoRZr.js"
+++ "b/assets/posts_\346\211\223\345\214\205\343\200\201\345\267\245\347\250\213\345\214\226_Webpack\345\267\245\344\275\234\346\265\201.md.76c3zcAq.js"
@@ -1 +1 @@
-import{_ as e,c as i,a4 as a,o}from"./chunks/framework.Dvq0W1Dl.js";const h=JSON.parse('{"title":"Webpack工作流","description":"","frontmatter":{"title":"Webpack工作流","date":"2022-03-16T12:57:18.000Z","author":"RuiLin Dong","permalink":"/read/20220316010320","categories":["打包、工程化"],"tags":["模块化","打包","工程化"]},"headers":[],"relativePath":"posts/打包、工程化/Webpack工作流.md","filePath":"posts/打包、工程化/Webpack工作流.md"}'),t={name:"posts/打包、工程化/Webpack工作流.md"};function r(n,l,d,s,u,c){return o(),i("div",null,l[0]||(l[0]=[a('

Webpack

本质上,webpack 是一个用于现代 JavaScript 应用程序的 静态模块打包工具。当 webpack 处理应用程序时,它会在内部从一个或多个入口点构建一个 依赖图(dependency graph),然后将你项目中所需的每一个模块组合成一个或多个 bundles,它们均为静态资源,用于展示你的内容。

工作流

webpack 构建的核心任务是完成内容转化和资源合并。主要包含以下 3 个阶段:

  • 初始化阶段
    • 初始化参数:从配置文件、配置对象和Shell参数中读取并与默认参数进行合并,组合成最终使用的参数。
    • 创建编译对象:用上一步得到的参数创建 Compiler 对象。
    • 初始化编译环境:包括注入内置插件、注册各种模块工厂、初始化 RuleSet 集合、加载配置的插件等。
  • 构建阶段
    • 开始编译:执行 Compiler 对象的 run 方法,创建 Compilation 对象。
    • 确认编译入口:进入 entryOption 阶段,读取配置的 Entries,递归遍历所有的入口文件,调用 Compilation.addEntry 将入口文件转换为 Dependency 对象。
    • 编译模块: 调用 normalModule 中的 build 开启构建,从 entry 文件开始,调用 loader 对模块进行转译处理,然后调用 JS 解释器(acorn)将内容转化为 AST 对象,然后递归分析依赖,依次处理全部文件。
    • 完成模块编译:在上一步处理好所有模块后,得到模块编译产物和依赖关系图。
  • 生成阶段
    • 输出资源:根据入口和模块之间的依赖关系,组装成多个包含多个模块的 Chunk,再把每个 Chunk 转换成一个 Asset 加入到输出列表,这步是可以修改输出内容的最后机会。
    • 写入文件系统:确定好输出内容后,根据配置的 output 将内容写入文件系统。

深入

初始化阶段

简单说,初始化阶段的任务就是合并配置,并且生成 compiler 实例。

  • 将 process.args + webpack.config.js 合并成用户配置
  • 调用 validateSchema 校验配置
  • 调用 createCompiler 创建 Compiler 对象。
  • 遍历用户定义的 plugins 集合,执行插件的 apply 方法
  • 触发 environment 和 afterEnvironment 上注册的事件。
  • 调用 new WebpackOptionsApply().process 方法,加载各种内置插件
  • 触发 initialize 事件。

构建阶段

  • 在实例化 compiler 之后,执行 compiler.run()。
  • 执行 newCompilation 函数,调用 createCompilation 初始化 Compilation 对象。
  • 执行 _addEntryItem 将入口文件存入 this.entries(map 对象),遍历 this.entries 对象构建 chunk。
  • 执行 handleModuleCreation,开始创建模块实例。
  • 执行 moduleFactory.create 创建模块。
  • 执行 factory.hooks.factorize.call 钩子,然后会调用 ExternalModuleFactoryPlugin 中注册的钩子,用于配置外部文件的模块加载方式。
  • 使用 enhanced-resolve 解析模块和 loader 的真实绝对路径。
  • 执行 new NormalModule()创建 module 实例。
  • 执行 addModule,存储 module。
  • 执行 buildModule,添加模块到模块队列 buildQueue,开始构建模块, 这里会调用 normalModule 中的 build 开启构建。
  • 创建 loader 上下文。
  • 执行 runLoaders,通过 enhanced-resolve 解析得到的模块和 loader 的路径获取函数,执行 loader。
  • 生成模块的 hash。

生成阶段

  • 构建本次编译的 ChunkGraph 对象
  • 遍历 compilation.modules 集合,将 module 按 entry/动态引入 的规则分配给不同的 Chunk 对象
  • compilation.modules 集合遍历完毕后,得到完整的 chunks 集合对象
  • 遍历 module/chunk
  • 触发 seal 回调
',14)]))}const m=e(t,[["render",r]]);export{h as __pageData,m as default}; +import{_ as e,c as i,a4 as a,o}from"./chunks/framework.CFocJP4i.js";const h=JSON.parse('{"title":"Webpack工作流","description":"","frontmatter":{"title":"Webpack工作流","date":"2022-03-16T12:57:18.000Z","author":"RuiLin Dong","permalink":"/read/20220316010320","categories":["打包、工程化"],"tags":["模块化","打包","工程化"]},"headers":[],"relativePath":"posts/打包、工程化/Webpack工作流.md","filePath":"posts/打包、工程化/Webpack工作流.md"}'),t={name:"posts/打包、工程化/Webpack工作流.md"};function r(n,l,d,s,u,c){return o(),i("div",null,l[0]||(l[0]=[a('

Webpack

本质上,webpack 是一个用于现代 JavaScript 应用程序的 静态模块打包工具。当 webpack 处理应用程序时,它会在内部从一个或多个入口点构建一个 依赖图(dependency graph),然后将你项目中所需的每一个模块组合成一个或多个 bundles,它们均为静态资源,用于展示你的内容。

工作流

webpack 构建的核心任务是完成内容转化和资源合并。主要包含以下 3 个阶段:

  • 初始化阶段
    • 初始化参数:从配置文件、配置对象和Shell参数中读取并与默认参数进行合并,组合成最终使用的参数。
    • 创建编译对象:用上一步得到的参数创建 Compiler 对象。
    • 初始化编译环境:包括注入内置插件、注册各种模块工厂、初始化 RuleSet 集合、加载配置的插件等。
  • 构建阶段
    • 开始编译:执行 Compiler 对象的 run 方法,创建 Compilation 对象。
    • 确认编译入口:进入 entryOption 阶段,读取配置的 Entries,递归遍历所有的入口文件,调用 Compilation.addEntry 将入口文件转换为 Dependency 对象。
    • 编译模块: 调用 normalModule 中的 build 开启构建,从 entry 文件开始,调用 loader 对模块进行转译处理,然后调用 JS 解释器(acorn)将内容转化为 AST 对象,然后递归分析依赖,依次处理全部文件。
    • 完成模块编译:在上一步处理好所有模块后,得到模块编译产物和依赖关系图。
  • 生成阶段
    • 输出资源:根据入口和模块之间的依赖关系,组装成多个包含多个模块的 Chunk,再把每个 Chunk 转换成一个 Asset 加入到输出列表,这步是可以修改输出内容的最后机会。
    • 写入文件系统:确定好输出内容后,根据配置的 output 将内容写入文件系统。

深入

初始化阶段

简单说,初始化阶段的任务就是合并配置,并且生成 compiler 实例。

  • 将 process.args + webpack.config.js 合并成用户配置
  • 调用 validateSchema 校验配置
  • 调用 createCompiler 创建 Compiler 对象。
  • 遍历用户定义的 plugins 集合,执行插件的 apply 方法
  • 触发 environment 和 afterEnvironment 上注册的事件。
  • 调用 new WebpackOptionsApply().process 方法,加载各种内置插件
  • 触发 initialize 事件。

构建阶段

  • 在实例化 compiler 之后,执行 compiler.run()。
  • 执行 newCompilation 函数,调用 createCompilation 初始化 Compilation 对象。
  • 执行 _addEntryItem 将入口文件存入 this.entries(map 对象),遍历 this.entries 对象构建 chunk。
  • 执行 handleModuleCreation,开始创建模块实例。
  • 执行 moduleFactory.create 创建模块。
  • 执行 factory.hooks.factorize.call 钩子,然后会调用 ExternalModuleFactoryPlugin 中注册的钩子,用于配置外部文件的模块加载方式。
  • 使用 enhanced-resolve 解析模块和 loader 的真实绝对路径。
  • 执行 new NormalModule()创建 module 实例。
  • 执行 addModule,存储 module。
  • 执行 buildModule,添加模块到模块队列 buildQueue,开始构建模块, 这里会调用 normalModule 中的 build 开启构建。
  • 创建 loader 上下文。
  • 执行 runLoaders,通过 enhanced-resolve 解析得到的模块和 loader 的路径获取函数,执行 loader。
  • 生成模块的 hash。

生成阶段

  • 构建本次编译的 ChunkGraph 对象
  • 遍历 compilation.modules 集合,将 module 按 entry/动态引入 的规则分配给不同的 Chunk 对象
  • compilation.modules 集合遍历完毕后,得到完整的 chunks 集合对象
  • 遍历 module/chunk
  • 触发 seal 回调
',14)]))}const m=e(t,[["render",r]]);export{h as __pageData,m as default}; diff --git "a/assets/posts_\346\211\223\345\214\205\343\200\201\345\267\245\347\250\213\345\214\226_Webpack\345\267\245\344\275\234\346\265\201.md.SQHBoRZr.lean.js" "b/assets/posts_\346\211\223\345\214\205\343\200\201\345\267\245\347\250\213\345\214\226_Webpack\345\267\245\344\275\234\346\265\201.md.76c3zcAq.lean.js" similarity index 98% rename from "assets/posts_\346\211\223\345\214\205\343\200\201\345\267\245\347\250\213\345\214\226_Webpack\345\267\245\344\275\234\346\265\201.md.SQHBoRZr.lean.js" rename to "assets/posts_\346\211\223\345\214\205\343\200\201\345\267\245\347\250\213\345\214\226_Webpack\345\267\245\344\275\234\346\265\201.md.76c3zcAq.lean.js" index 66461b7..d968718 100644 --- "a/assets/posts_\346\211\223\345\214\205\343\200\201\345\267\245\347\250\213\345\214\226_Webpack\345\267\245\344\275\234\346\265\201.md.SQHBoRZr.lean.js" +++ "b/assets/posts_\346\211\223\345\214\205\343\200\201\345\267\245\347\250\213\345\214\226_Webpack\345\267\245\344\275\234\346\265\201.md.76c3zcAq.lean.js" @@ -1 +1 @@ -import{_ as e,c as i,a4 as a,o}from"./chunks/framework.Dvq0W1Dl.js";const h=JSON.parse('{"title":"Webpack工作流","description":"","frontmatter":{"title":"Webpack工作流","date":"2022-03-16T12:57:18.000Z","author":"RuiLin Dong","permalink":"/read/20220316010320","categories":["打包、工程化"],"tags":["模块化","打包","工程化"]},"headers":[],"relativePath":"posts/打包、工程化/Webpack工作流.md","filePath":"posts/打包、工程化/Webpack工作流.md"}'),t={name:"posts/打包、工程化/Webpack工作流.md"};function r(n,l,d,s,u,c){return o(),i("div",null,l[0]||(l[0]=[a('

Webpack

本质上,webpack 是一个用于现代 JavaScript 应用程序的 静态模块打包工具。当 webpack 处理应用程序时,它会在内部从一个或多个入口点构建一个 依赖图(dependency graph),然后将你项目中所需的每一个模块组合成一个或多个 bundles,它们均为静态资源,用于展示你的内容。

工作流

webpack 构建的核心任务是完成内容转化和资源合并。主要包含以下 3 个阶段:

  • 初始化阶段
    • 初始化参数:从配置文件、配置对象和Shell参数中读取并与默认参数进行合并,组合成最终使用的参数。
    • 创建编译对象:用上一步得到的参数创建 Compiler 对象。
    • 初始化编译环境:包括注入内置插件、注册各种模块工厂、初始化 RuleSet 集合、加载配置的插件等。
  • 构建阶段
    • 开始编译:执行 Compiler 对象的 run 方法,创建 Compilation 对象。
    • 确认编译入口:进入 entryOption 阶段,读取配置的 Entries,递归遍历所有的入口文件,调用 Compilation.addEntry 将入口文件转换为 Dependency 对象。
    • 编译模块: 调用 normalModule 中的 build 开启构建,从 entry 文件开始,调用 loader 对模块进行转译处理,然后调用 JS 解释器(acorn)将内容转化为 AST 对象,然后递归分析依赖,依次处理全部文件。
    • 完成模块编译:在上一步处理好所有模块后,得到模块编译产物和依赖关系图。
  • 生成阶段
    • 输出资源:根据入口和模块之间的依赖关系,组装成多个包含多个模块的 Chunk,再把每个 Chunk 转换成一个 Asset 加入到输出列表,这步是可以修改输出内容的最后机会。
    • 写入文件系统:确定好输出内容后,根据配置的 output 将内容写入文件系统。

深入

初始化阶段

简单说,初始化阶段的任务就是合并配置,并且生成 compiler 实例。

  • 将 process.args + webpack.config.js 合并成用户配置
  • 调用 validateSchema 校验配置
  • 调用 createCompiler 创建 Compiler 对象。
  • 遍历用户定义的 plugins 集合,执行插件的 apply 方法
  • 触发 environment 和 afterEnvironment 上注册的事件。
  • 调用 new WebpackOptionsApply().process 方法,加载各种内置插件
  • 触发 initialize 事件。

构建阶段

  • 在实例化 compiler 之后,执行 compiler.run()。
  • 执行 newCompilation 函数,调用 createCompilation 初始化 Compilation 对象。
  • 执行 _addEntryItem 将入口文件存入 this.entries(map 对象),遍历 this.entries 对象构建 chunk。
  • 执行 handleModuleCreation,开始创建模块实例。
  • 执行 moduleFactory.create 创建模块。
  • 执行 factory.hooks.factorize.call 钩子,然后会调用 ExternalModuleFactoryPlugin 中注册的钩子,用于配置外部文件的模块加载方式。
  • 使用 enhanced-resolve 解析模块和 loader 的真实绝对路径。
  • 执行 new NormalModule()创建 module 实例。
  • 执行 addModule,存储 module。
  • 执行 buildModule,添加模块到模块队列 buildQueue,开始构建模块, 这里会调用 normalModule 中的 build 开启构建。
  • 创建 loader 上下文。
  • 执行 runLoaders,通过 enhanced-resolve 解析得到的模块和 loader 的路径获取函数,执行 loader。
  • 生成模块的 hash。

生成阶段

  • 构建本次编译的 ChunkGraph 对象
  • 遍历 compilation.modules 集合,将 module 按 entry/动态引入 的规则分配给不同的 Chunk 对象
  • compilation.modules 集合遍历完毕后,得到完整的 chunks 集合对象
  • 遍历 module/chunk
  • 触发 seal 回调
',14)]))}const m=e(t,[["render",r]]);export{h as __pageData,m as default}; +import{_ as e,c as i,a4 as a,o}from"./chunks/framework.CFocJP4i.js";const h=JSON.parse('{"title":"Webpack工作流","description":"","frontmatter":{"title":"Webpack工作流","date":"2022-03-16T12:57:18.000Z","author":"RuiLin Dong","permalink":"/read/20220316010320","categories":["打包、工程化"],"tags":["模块化","打包","工程化"]},"headers":[],"relativePath":"posts/打包、工程化/Webpack工作流.md","filePath":"posts/打包、工程化/Webpack工作流.md"}'),t={name:"posts/打包、工程化/Webpack工作流.md"};function r(n,l,d,s,u,c){return o(),i("div",null,l[0]||(l[0]=[a('

Webpack

本质上,webpack 是一个用于现代 JavaScript 应用程序的 静态模块打包工具。当 webpack 处理应用程序时,它会在内部从一个或多个入口点构建一个 依赖图(dependency graph),然后将你项目中所需的每一个模块组合成一个或多个 bundles,它们均为静态资源,用于展示你的内容。

工作流

webpack 构建的核心任务是完成内容转化和资源合并。主要包含以下 3 个阶段:

  • 初始化阶段
    • 初始化参数:从配置文件、配置对象和Shell参数中读取并与默认参数进行合并,组合成最终使用的参数。
    • 创建编译对象:用上一步得到的参数创建 Compiler 对象。
    • 初始化编译环境:包括注入内置插件、注册各种模块工厂、初始化 RuleSet 集合、加载配置的插件等。
  • 构建阶段
    • 开始编译:执行 Compiler 对象的 run 方法,创建 Compilation 对象。
    • 确认编译入口:进入 entryOption 阶段,读取配置的 Entries,递归遍历所有的入口文件,调用 Compilation.addEntry 将入口文件转换为 Dependency 对象。
    • 编译模块: 调用 normalModule 中的 build 开启构建,从 entry 文件开始,调用 loader 对模块进行转译处理,然后调用 JS 解释器(acorn)将内容转化为 AST 对象,然后递归分析依赖,依次处理全部文件。
    • 完成模块编译:在上一步处理好所有模块后,得到模块编译产物和依赖关系图。
  • 生成阶段
    • 输出资源:根据入口和模块之间的依赖关系,组装成多个包含多个模块的 Chunk,再把每个 Chunk 转换成一个 Asset 加入到输出列表,这步是可以修改输出内容的最后机会。
    • 写入文件系统:确定好输出内容后,根据配置的 output 将内容写入文件系统。

深入

初始化阶段

简单说,初始化阶段的任务就是合并配置,并且生成 compiler 实例。

  • 将 process.args + webpack.config.js 合并成用户配置
  • 调用 validateSchema 校验配置
  • 调用 createCompiler 创建 Compiler 对象。
  • 遍历用户定义的 plugins 集合,执行插件的 apply 方法
  • 触发 environment 和 afterEnvironment 上注册的事件。
  • 调用 new WebpackOptionsApply().process 方法,加载各种内置插件
  • 触发 initialize 事件。

构建阶段

  • 在实例化 compiler 之后,执行 compiler.run()。
  • 执行 newCompilation 函数,调用 createCompilation 初始化 Compilation 对象。
  • 执行 _addEntryItem 将入口文件存入 this.entries(map 对象),遍历 this.entries 对象构建 chunk。
  • 执行 handleModuleCreation,开始创建模块实例。
  • 执行 moduleFactory.create 创建模块。
  • 执行 factory.hooks.factorize.call 钩子,然后会调用 ExternalModuleFactoryPlugin 中注册的钩子,用于配置外部文件的模块加载方式。
  • 使用 enhanced-resolve 解析模块和 loader 的真实绝对路径。
  • 执行 new NormalModule()创建 module 实例。
  • 执行 addModule,存储 module。
  • 执行 buildModule,添加模块到模块队列 buildQueue,开始构建模块, 这里会调用 normalModule 中的 build 开启构建。
  • 创建 loader 上下文。
  • 执行 runLoaders,通过 enhanced-resolve 解析得到的模块和 loader 的路径获取函数,执行 loader。
  • 生成模块的 hash。

生成阶段

  • 构建本次编译的 ChunkGraph 对象
  • 遍历 compilation.modules 集合,将 module 按 entry/动态引入 的规则分配给不同的 Chunk 对象
  • compilation.modules 集合遍历完毕后,得到完整的 chunks 集合对象
  • 遍历 module/chunk
  • 触发 seal 回调
',14)]))}const m=e(t,[["render",r]]);export{h as __pageData,m as default}; diff --git "a/assets/posts_\347\256\227\346\263\225_\345\270\270\347\224\250\346\225\260\347\273\204\346\216\222\345\272\217.md.f13SWyRn.js" "b/assets/posts_\347\256\227\346\263\225_\345\270\270\347\224\250\346\225\260\347\273\204\346\216\222\345\272\217.md.CuWdOb0C.js" similarity index 99% rename from "assets/posts_\347\256\227\346\263\225_\345\270\270\347\224\250\346\225\260\347\273\204\346\216\222\345\272\217.md.f13SWyRn.js" rename to "assets/posts_\347\256\227\346\263\225_\345\270\270\347\224\250\346\225\260\347\273\204\346\216\222\345\272\217.md.CuWdOb0C.js" index ee7cc38..faffd41 100644 --- "a/assets/posts_\347\256\227\346\263\225_\345\270\270\347\224\250\346\225\260\347\273\204\346\216\222\345\272\217.md.f13SWyRn.js" +++ "b/assets/posts_\347\256\227\346\263\225_\345\270\270\347\224\250\346\225\260\347\273\204\346\216\222\345\272\217.md.CuWdOb0C.js" @@ -1,4 +1,4 @@ -import{_ as i,c as a,a4 as n,o as h}from"./chunks/framework.Dvq0W1Dl.js";const g=JSON.parse('{"title":"常用数组排序","description":"","frontmatter":{"title":"常用数组排序","date":"2021-01-12T21:08:34.000Z","permalink":"/read/2020011206","author":"RuiLin Dong","categories":["算法"],"tags":["排序","JavaScript"]},"headers":[],"relativePath":"posts/算法/常用数组排序.md","filePath":"posts/算法/常用数组排序.md"}'),k={name:"posts/算法/常用数组排序.md"};function l(p,s,t,e,E,r){return h(),a("div",null,s[0]||(s[0]=[n(`

常用数组排序

本文主要汇总一维数组排序相关的方法,以升序为例。

一、冒泡排序

步骤: 1、两个for遍历,使用两个指针,外循环i指针,内循环j指针 2、对比两个指针指向的元素大小,如果i>j,则进行值交换

代码如下:

javascript
let bubbleSort = function (arr) { 
+import{_ as i,c as a,a4 as n,o as h}from"./chunks/framework.CFocJP4i.js";const g=JSON.parse('{"title":"常用数组排序","description":"","frontmatter":{"title":"常用数组排序","date":"2021-01-12T21:08:34.000Z","permalink":"/read/2020011206","author":"RuiLin Dong","categories":["算法"],"tags":["排序","JavaScript"]},"headers":[],"relativePath":"posts/算法/常用数组排序.md","filePath":"posts/算法/常用数组排序.md"}'),k={name:"posts/算法/常用数组排序.md"};function l(p,s,t,e,E,r){return h(),a("div",null,s[0]||(s[0]=[n(`

常用数组排序

本文主要汇总一维数组排序相关的方法,以升序为例。

一、冒泡排序

步骤: 1、两个for遍历,使用两个指针,外循环i指针,内循环j指针 2、对比两个指针指向的元素大小,如果i>j,则进行值交换

代码如下:

javascript
let bubbleSort = function (arr) { 
 
     //双指针
   for(let i = 0; i<arr.length; i++) {
diff --git "a/assets/posts_\347\256\227\346\263\225_\345\270\270\347\224\250\346\225\260\347\273\204\346\216\222\345\272\217.md.f13SWyRn.lean.js" "b/assets/posts_\347\256\227\346\263\225_\345\270\270\347\224\250\346\225\260\347\273\204\346\216\222\345\272\217.md.CuWdOb0C.lean.js"
similarity index 99%
rename from "assets/posts_\347\256\227\346\263\225_\345\270\270\347\224\250\346\225\260\347\273\204\346\216\222\345\272\217.md.f13SWyRn.lean.js"
rename to "assets/posts_\347\256\227\346\263\225_\345\270\270\347\224\250\346\225\260\347\273\204\346\216\222\345\272\217.md.CuWdOb0C.lean.js"
index ee7cc38..faffd41 100644
--- "a/assets/posts_\347\256\227\346\263\225_\345\270\270\347\224\250\346\225\260\347\273\204\346\216\222\345\272\217.md.f13SWyRn.lean.js"
+++ "b/assets/posts_\347\256\227\346\263\225_\345\270\270\347\224\250\346\225\260\347\273\204\346\216\222\345\272\217.md.CuWdOb0C.lean.js"
@@ -1,4 +1,4 @@
-import{_ as i,c as a,a4 as n,o as h}from"./chunks/framework.Dvq0W1Dl.js";const g=JSON.parse('{"title":"常用数组排序","description":"","frontmatter":{"title":"常用数组排序","date":"2021-01-12T21:08:34.000Z","permalink":"/read/2020011206","author":"RuiLin Dong","categories":["算法"],"tags":["排序","JavaScript"]},"headers":[],"relativePath":"posts/算法/常用数组排序.md","filePath":"posts/算法/常用数组排序.md"}'),k={name:"posts/算法/常用数组排序.md"};function l(p,s,t,e,E,r){return h(),a("div",null,s[0]||(s[0]=[n(`

常用数组排序

本文主要汇总一维数组排序相关的方法,以升序为例。

一、冒泡排序

步骤: 1、两个for遍历,使用两个指针,外循环i指针,内循环j指针 2、对比两个指针指向的元素大小,如果i>j,则进行值交换

代码如下:

javascript
let bubbleSort = function (arr) { 
+import{_ as i,c as a,a4 as n,o as h}from"./chunks/framework.CFocJP4i.js";const g=JSON.parse('{"title":"常用数组排序","description":"","frontmatter":{"title":"常用数组排序","date":"2021-01-12T21:08:34.000Z","permalink":"/read/2020011206","author":"RuiLin Dong","categories":["算法"],"tags":["排序","JavaScript"]},"headers":[],"relativePath":"posts/算法/常用数组排序.md","filePath":"posts/算法/常用数组排序.md"}'),k={name:"posts/算法/常用数组排序.md"};function l(p,s,t,e,E,r){return h(),a("div",null,s[0]||(s[0]=[n(`

常用数组排序

本文主要汇总一维数组排序相关的方法,以升序为例。

一、冒泡排序

步骤: 1、两个for遍历,使用两个指针,外循环i指针,内循环j指针 2、对比两个指针指向的元素大小,如果i>j,则进行值交换

代码如下:

javascript
let bubbleSort = function (arr) { 
 
     //双指针
   for(let i = 0; i<arr.length; i++) {
diff --git a/assets/tags.md.zV9eydPo.js b/assets/tags.md.Bs-hwDxa.js
similarity index 83%
rename from assets/tags.md.zV9eydPo.js
rename to assets/tags.md.Bs-hwDxa.js
index 33648ba..fe3b352 100644
--- a/assets/tags.md.zV9eydPo.js
+++ b/assets/tags.md.Bs-hwDxa.js
@@ -1 +1 @@
-import{_ as t,B as a,c as s,G as o,o as n}from"./chunks/framework.Dvq0W1Dl.js";const g=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"page","navbar":false},"headers":[],"relativePath":"tags.md","filePath":"tags.md"}'),r={name:"tags.md"};function c(p,_,l,d,m,i){const e=a("Tags",!0);return n(),s("div",null,[o(e)])}const u=t(r,[["render",c]]);export{g as __pageData,u as default};
+import{_ as t,B as a,c as s,G as o,o as n}from"./chunks/framework.CFocJP4i.js";const g=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"page","navbar":false},"headers":[],"relativePath":"tags.md","filePath":"tags.md"}'),r={name:"tags.md"};function c(p,_,l,d,m,i){const e=a("Tags",!0);return n(),s("div",null,[o(e)])}const u=t(r,[["render",c]]);export{g as __pageData,u as default};
diff --git a/assets/tags.md.zV9eydPo.lean.js b/assets/tags.md.Bs-hwDxa.lean.js
similarity index 83%
rename from assets/tags.md.zV9eydPo.lean.js
rename to assets/tags.md.Bs-hwDxa.lean.js
index 33648ba..fe3b352 100644
--- a/assets/tags.md.zV9eydPo.lean.js
+++ b/assets/tags.md.Bs-hwDxa.lean.js
@@ -1 +1 @@
-import{_ as t,B as a,c as s,G as o,o as n}from"./chunks/framework.Dvq0W1Dl.js";const g=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"page","navbar":false},"headers":[],"relativePath":"tags.md","filePath":"tags.md"}'),r={name:"tags.md"};function c(p,_,l,d,m,i){const e=a("Tags",!0);return n(),s("div",null,[o(e)])}const u=t(r,[["render",c]]);export{g as __pageData,u as default};
+import{_ as t,B as a,c as s,G as o,o as n}from"./chunks/framework.CFocJP4i.js";const g=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"page","navbar":false},"headers":[],"relativePath":"tags.md","filePath":"tags.md"}'),r={name:"tags.md"};function c(p,_,l,d,m,i){const e=a("Tags",!0);return n(),s("div",null,[o(e)])}const u=t(r,[["render",c]]);export{g as __pageData,u as default};
diff --git a/hashmap.json b/hashmap.json
index 088e2e6..39e915c 100644
--- a/hashmap.json
+++ b/hashmap.json
@@ -1 +1 @@
-{"archives.md":"ClTIowZH","index.md":"DKagbBtY","posts_javascript_js实现链式调用.md":"BJaAed2d","posts_javascript_原型、原型链.md":"EmosyiRK","posts_javascript_发布订阅与观察者模式.md":"C4mI_QT8","posts_react_如何封装自己的react hooks.md":"CfWXfK7Z","posts_react_实现react组件的递归调用.md":"BNLnYpCW","posts_typescript_typescript中的问号.md":"BTswlqgM","posts_typescript_【training】类型标记 pick 与 omit.md":"rQJzwWT_","posts_剪贴板_代码整洁之道.md":"BO9Y_rL-","posts_打包、工程化_webpack工作流.md":"SQHBoRZr","posts_算法_常用数组排序.md":"f13SWyRn","readme.md":"v8xSQB6h","tags.md":"zV9eydPo"}
+{"archives.md":"DD4u35Gl","index.md":"Yb4PDlrp","posts_javascript_js实现链式调用.md":"CzkXN4HL","posts_javascript_原型、原型链.md":"Cr1K20Lx","posts_javascript_发布订阅与观察者模式.md":"CQYJ_MWi","posts_react_如何封装自己的react hooks.md":"DOgkF2XC","posts_react_实现react组件的递归调用.md":"BOswUfmV","posts_typescript_typescript中的问号.md":"CQoz3ZKa","posts_typescript_【training】类型标记 pick 与 omit.md":"D7eJsU2E","posts_剪贴板_代码整洁之道.md":"BW5fFnRp","posts_打包、工程化_webpack工作流.md":"76c3zcAq","posts_算法_常用数组排序.md":"CuWdOb0C","readme.md":"CN-s5hGS","tags.md":"Bs-hwDxa"}
diff --git a/index.html b/index.html
index 1996dc9..642f51b 100644
--- a/index.html
+++ b/index.html
@@ -8,11 +8,11 @@
     
     
     
-    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -21,7 +21,7 @@
   
   
     
-    
+    
     
   
 
\ No newline at end of file
diff --git "a/posts/JavaScript/js\345\256\236\347\216\260\351\223\276\345\274\217\350\260\203\347\224\250.html" "b/posts/JavaScript/js\345\256\236\347\216\260\351\223\276\345\274\217\350\260\203\347\224\250.html"
index 4d7a27e..bfc1e56 100644
--- "a/posts/JavaScript/js\345\256\236\347\216\260\351\223\276\345\274\217\350\260\203\347\224\250.html"
+++ "b/posts/JavaScript/js\345\256\236\347\216\260\351\223\276\345\274\217\350\260\203\347\224\250.html"
@@ -8,11 +8,11 @@
     
     
     
-    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -48,7 +48,7 @@
 }).method('click', function(){
     console.log( 'click' );
 })
--- Done ---
- + \ No newline at end of file diff --git "a/posts/JavaScript/\345\216\237\345\236\213\343\200\201\345\216\237\345\236\213\351\223\276.html" "b/posts/JavaScript/\345\216\237\345\236\213\343\200\201\345\216\237\345\236\213\351\223\276.html" index 8226458..7bf4115 100644 --- "a/posts/JavaScript/\345\216\237\345\236\213\343\200\201\345\216\237\345\236\213\351\223\276.html" +++ "b/posts/JavaScript/\345\216\237\345\236\213\343\200\201\345\216\237\345\236\213\351\223\276.html" @@ -8,11 +8,11 @@ - + - - - + + + @@ -42,7 +42,7 @@ arr.__proto__.__proto__ === Object.prototype //true Object.prototype.__proto__ === null //true

查找过程:

arr --> Array.prototype --> Object.prototype  --> null
--- Done ---
- + \ No newline at end of file diff --git "a/posts/JavaScript/\345\217\221\345\270\203\350\256\242\351\230\205\344\270\216\350\247\202\345\257\237\350\200\205\346\250\241\345\274\217.html" "b/posts/JavaScript/\345\217\221\345\270\203\350\256\242\351\230\205\344\270\216\350\247\202\345\257\237\350\200\205\346\250\241\345\274\217.html" index 54a0c5c..c56cd80 100644 --- "a/posts/JavaScript/\345\217\221\345\270\203\350\256\242\351\230\205\344\270\216\350\247\202\345\257\237\350\200\205\346\250\241\345\274\217.html" +++ "b/posts/JavaScript/\345\217\221\345\270\203\350\256\242\351\230\205\344\270\216\350\247\202\345\257\237\350\200\205\346\250\241\345\274\217.html" @@ -8,11 +8,11 @@ - + - - - + + + @@ -78,7 +78,7 @@ // "爸爸,宝宝的心情是不开心" // "妈妈,宝宝的心情是不开心" }, 1000)

观察者模式中,观察者和被观察者之间是有关系的。当被观察者状态发生变化时,会通知所有的观察者。

--- Done ---
- + \ No newline at end of file diff --git "a/posts/React/\345\246\202\344\275\225\345\260\201\350\243\205\350\207\252\345\267\261\347\232\204react hooks.html" "b/posts/React/\345\246\202\344\275\225\345\260\201\350\243\205\350\207\252\345\267\261\347\232\204react hooks.html" index 10253f0..41cad3d 100644 --- "a/posts/React/\345\246\202\344\275\225\345\260\201\350\243\205\350\207\252\345\267\261\347\232\204react hooks.html" +++ "b/posts/React/\345\246\202\344\275\225\345\260\201\350\243\205\350\207\252\345\267\261\347\232\204react hooks.html" @@ -8,11 +8,11 @@ - + - - - + + + @@ -62,7 +62,7 @@ }, []); return size; }

3、总结

使用react hook可以做很多有意思的事情,这里我们也仅仅是举几个简单的例子,可以更好的理解hook的使用和react函数式编程的思想。

--- Done ---
- + \ No newline at end of file diff --git "a/posts/React/\345\256\236\347\216\260react\347\273\204\344\273\266\347\232\204\351\200\222\345\275\222\350\260\203\347\224\250.html" "b/posts/React/\345\256\236\347\216\260react\347\273\204\344\273\266\347\232\204\351\200\222\345\275\222\350\260\203\347\224\250.html" index 3cea559..bfeff41 100644 --- "a/posts/React/\345\256\236\347\216\260react\347\273\204\344\273\266\347\232\204\351\200\222\345\275\222\350\260\203\347\224\250.html" +++ "b/posts/React/\345\256\236\347\216\260react\347\273\204\344\273\266\347\232\204\351\200\222\345\275\222\350\260\203\347\224\250.html" @@ -8,11 +8,11 @@ - + - - - + + + @@ -67,7 +67,7 @@ </div> ) }

最后调用这个组件:

js
<Item>{this.list}</Item>
--- Done ---
- + \ No newline at end of file diff --git "a/posts/TypeScript/TypeScript\344\270\255\347\232\204\351\227\256\345\217\267.html" "b/posts/TypeScript/TypeScript\344\270\255\347\232\204\351\227\256\345\217\267.html" index 65ec94d..2c3a340 100644 --- "a/posts/TypeScript/TypeScript\344\270\255\347\232\204\351\227\256\345\217\267.html" +++ "b/posts/TypeScript/TypeScript\344\270\255\347\232\204\351\227\256\345\217\267.html" @@ -8,11 +8,11 @@ - + - - - + + + @@ -68,7 +68,7 @@ let volume = localStorage.volume || 0.5; // ... }

当 localStorage.volume 为 0,页面会设置为音量 0.5 这是意想不到的。 ?? 避免了一些意外情况 0NaN 以及 "" 被视为falsy值。

参考文献:

--- Done ---
- + \ No newline at end of file diff --git "a/posts/TypeScript/\343\200\220Training\343\200\221\347\261\273\345\236\213\346\240\207\350\256\260 Pick \344\270\216 Omit.html" "b/posts/TypeScript/\343\200\220Training\343\200\221\347\261\273\345\236\213\346\240\207\350\256\260 Pick \344\270\216 Omit.html" index 3fc6493..192533e 100644 --- "a/posts/TypeScript/\343\200\220Training\343\200\221\347\261\273\345\236\213\346\240\207\350\256\260 Pick \344\270\216 Omit.html" +++ "b/posts/TypeScript/\343\200\220Training\343\200\221\347\261\273\345\236\213\346\240\207\350\256\260 Pick \344\270\216 Omit.html" @@ -8,11 +8,11 @@ - + - - - + + + @@ -43,7 +43,7 @@ [P in K]: T[P]; }; type myOmit<T, K extends keyof any> = Pick<T, Exclude<keyof T, K>>;

参考文献

--- Done ---
- + \ No newline at end of file diff --git "a/posts/\345\211\252\350\264\264\346\235\277/\344\273\243\347\240\201\346\225\264\346\264\201\344\271\213\351\201\223.html" "b/posts/\345\211\252\350\264\264\346\235\277/\344\273\243\347\240\201\346\225\264\346\264\201\344\271\213\351\201\223.html" index 9138429..09f4b03 100644 --- "a/posts/\345\211\252\350\264\264\346\235\277/\344\273\243\347\240\201\346\225\264\346\264\201\344\271\213\351\201\223.html" +++ "b/posts/\345\211\252\350\264\264\346\235\277/\344\273\243\347\240\201\346\225\264\346\264\201\344\271\213\351\201\223.html" @@ -8,11 +8,11 @@ - + - - - + + + @@ -538,7 +538,7 @@ ├── Footer.jsx ├── Footer.scss ├── Footer.test.jsx

参考文献:《代码整洁之道》

--- Done ---
- + \ No newline at end of file diff --git "a/posts/\346\211\223\345\214\205\343\200\201\345\267\245\347\250\213\345\214\226/Webpack\345\267\245\344\275\234\346\265\201.html" "b/posts/\346\211\223\345\214\205\343\200\201\345\267\245\347\250\213\345\214\226/Webpack\345\267\245\344\275\234\346\265\201.html" index 27f85b6..d705203 100644 --- "a/posts/\346\211\223\345\214\205\343\200\201\345\267\245\347\250\213\345\214\226/Webpack\345\267\245\344\275\234\346\265\201.html" +++ "b/posts/\346\211\223\345\214\205\343\200\201\345\267\245\347\250\213\345\214\226/Webpack\345\267\245\344\275\234\346\265\201.html" @@ -8,11 +8,11 @@ - + - - - + + + @@ -21,7 +21,7 @@
Skip to content

Webpack工作流

🕒 Published at:

Webpack

本质上,webpack 是一个用于现代 JavaScript 应用程序的 静态模块打包工具。当 webpack 处理应用程序时,它会在内部从一个或多个入口点构建一个 依赖图(dependency graph),然后将你项目中所需的每一个模块组合成一个或多个 bundles,它们均为静态资源,用于展示你的内容。

工作流

webpack 构建的核心任务是完成内容转化和资源合并。主要包含以下 3 个阶段:

  • 初始化阶段
    • 初始化参数:从配置文件、配置对象和Shell参数中读取并与默认参数进行合并,组合成最终使用的参数。
    • 创建编译对象:用上一步得到的参数创建 Compiler 对象。
    • 初始化编译环境:包括注入内置插件、注册各种模块工厂、初始化 RuleSet 集合、加载配置的插件等。
  • 构建阶段
    • 开始编译:执行 Compiler 对象的 run 方法,创建 Compilation 对象。
    • 确认编译入口:进入 entryOption 阶段,读取配置的 Entries,递归遍历所有的入口文件,调用 Compilation.addEntry 将入口文件转换为 Dependency 对象。
    • 编译模块: 调用 normalModule 中的 build 开启构建,从 entry 文件开始,调用 loader 对模块进行转译处理,然后调用 JS 解释器(acorn)将内容转化为 AST 对象,然后递归分析依赖,依次处理全部文件。
    • 完成模块编译:在上一步处理好所有模块后,得到模块编译产物和依赖关系图。
  • 生成阶段
    • 输出资源:根据入口和模块之间的依赖关系,组装成多个包含多个模块的 Chunk,再把每个 Chunk 转换成一个 Asset 加入到输出列表,这步是可以修改输出内容的最后机会。
    • 写入文件系统:确定好输出内容后,根据配置的 output 将内容写入文件系统。

深入

初始化阶段

简单说,初始化阶段的任务就是合并配置,并且生成 compiler 实例。

  • 将 process.args + webpack.config.js 合并成用户配置
  • 调用 validateSchema 校验配置
  • 调用 createCompiler 创建 Compiler 对象。
  • 遍历用户定义的 plugins 集合,执行插件的 apply 方法
  • 触发 environment 和 afterEnvironment 上注册的事件。
  • 调用 new WebpackOptionsApply().process 方法,加载各种内置插件
  • 触发 initialize 事件。

构建阶段

  • 在实例化 compiler 之后,执行 compiler.run()。
  • 执行 newCompilation 函数,调用 createCompilation 初始化 Compilation 对象。
  • 执行 _addEntryItem 将入口文件存入 this.entries(map 对象),遍历 this.entries 对象构建 chunk。
  • 执行 handleModuleCreation,开始创建模块实例。
  • 执行 moduleFactory.create 创建模块。
  • 执行 factory.hooks.factorize.call 钩子,然后会调用 ExternalModuleFactoryPlugin 中注册的钩子,用于配置外部文件的模块加载方式。
  • 使用 enhanced-resolve 解析模块和 loader 的真实绝对路径。
  • 执行 new NormalModule()创建 module 实例。
  • 执行 addModule,存储 module。
  • 执行 buildModule,添加模块到模块队列 buildQueue,开始构建模块, 这里会调用 normalModule 中的 build 开启构建。
  • 创建 loader 上下文。
  • 执行 runLoaders,通过 enhanced-resolve 解析得到的模块和 loader 的路径获取函数,执行 loader。
  • 生成模块的 hash。

生成阶段

  • 构建本次编译的 ChunkGraph 对象
  • 遍历 compilation.modules 集合,将 module 按 entry/动态引入 的规则分配给不同的 Chunk 对象
  • compilation.modules 集合遍历完毕后,得到完整的 chunks 集合对象
  • 遍历 module/chunk
  • 触发 seal 回调
--- Done ---
- + \ No newline at end of file diff --git "a/posts/\347\256\227\346\263\225/\345\270\270\347\224\250\346\225\260\347\273\204\346\216\222\345\272\217.html" "b/posts/\347\256\227\346\263\225/\345\270\270\347\224\250\346\225\260\347\273\204\346\216\222\345\272\217.html" index f54ab72..822e9af 100644 --- "a/posts/\347\256\227\346\263\225/\345\270\270\347\224\250\346\225\260\347\273\204\346\216\222\345\272\217.html" +++ "b/posts/\347\256\227\346\263\225/\345\270\270\347\224\250\346\225\260\347\273\204\346\216\222\345\272\217.html" @@ -8,11 +8,11 @@ - + - - - + + + @@ -74,7 +74,7 @@ return arr.sort((a,b)=>a-b) }
--- Done ---
- + \ No newline at end of file diff --git a/tags.html b/tags.html index 89d1b60..2ae210f 100644 --- a/tags.html +++ b/tags.html @@ -8,11 +8,11 @@ - + - - - + + + @@ -21,7 +21,7 @@
Skip to content

Tags

模块化 1打包 1工程化 1TypeScript 2Training 1JavaScript 4设计模式 1剪贴板 1React 2排序 1
- + \ No newline at end of file