Files
ArtPlayer/docs/document/assets/chunks/theme.t8lW09mq.js
T
2024-01-10 09:58:31 +08:00

8 lines
75 KiB
JavaScript

import{d as y,o as r,c as u,r as v,n as A,a as G,t as T,_ as k,b as w,w as p,T as Ie,e as g,u as Je,i as vt,l as pt,f as me,g as V,h as M,j as te,k as d,m as l,p as W,q as J,s as ee,v as ae,x as Ve,y as se,z as ge,A as Ce,B as Ye,C as ft,D as Z,F as N,E as D,G as Te,H as re,I as _,J as Q,K as Xe,L as ke,M as de,N as $e,O as _t,P as Ze,Q as Qe,R as mt,S as gt,U as kt,V as $t,W as je,X as bt,Y as et,Z as yt,$ as Pt,a0 as tt,a1 as st,a2 as wt,a3 as Vt,a4 as Lt}from"./framework.0i_P4VHR.js";const St=y({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(e){return(t,s)=>(r(),u("span",{class:A(["VPBadge",t.type])},[v(t.$slots,"default",{},()=>[G(T(t.text),1)],!0)],2))}}),Mt=k(St,[["__scopeId","data-v-57f18589"]]),It={key:0,class:"VPBackdrop"},Ct=y({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(e){return(t,s)=>(r(),w(Ie,{name:"fade"},{default:p(()=>[t.show?(r(),u("div",It)):g("",!0)]),_:1}))}}),Tt=k(Ct,[["__scopeId","data-v-b30612d7"]]),C=Je;function At(e,t){let s,n=!1;return()=>{s&&clearTimeout(s),n?s=setTimeout(e,t):(e(),(n=!0)&&setTimeout(()=>n=!1,t))}}function Le(e){return/^\//.test(e)?e:`/${e}`}function Ae(e){const{pathname:t,search:s,hash:n,protocol:o}=new URL(e,"http://a.com");if(vt(e)||e.startsWith("#")||!o.startsWith("http")||/\.(?!html|md)\w+($|\?)/i.test(e)&&pt(e))return e;const{site:a}=C(),i=t.endsWith("/")||t.endsWith(".html")?e:e.replace(/(?:(^\.+)\/)?.*$/,`$1${t.replace(/(\.md)?$/,a.value.cleanUrls?"":".html")}${s}${n}`);return me(i)}function le({removeCurrent:e=!0,correspondingLink:t=!1}={}){const{site:s,localeIndex:n,page:o,theme:a}=C(),i=V(()=>{var h,f;return{label:(h=s.value.locales[n.value])==null?void 0:h.label,link:((f=s.value.locales[n.value])==null?void 0:f.link)||(n.value==="root"?"/":`/${n.value}/`)}});return{localeLinks:V(()=>Object.entries(s.value.locales).flatMap(([h,f])=>e&&i.value.label===f.label?[]:{text:f.label,link:Nt(f.link||(h==="root"?"/":`/${h}/`),a.value.i18nRouting!==!1&&t,o.value.relativePath.slice(i.value.link.length-1),!s.value.cleanUrls)})),currentLang:i}}function Nt(e,t,s,n){return t?e.replace(/\/$/,"")+Le(s.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,n?".html":"")):e}const Bt=e=>(W("data-v-56f8922b"),e=e(),J(),e),Ht={class:"NotFound"},zt={class:"code"},xt={class:"title"},Et=Bt(()=>d("div",{class:"divider"},null,-1)),Dt={class:"quote"},Ot={class:"action"},Ft=["href","aria-label"],jt=y({__name:"NotFound",setup(e){const{site:t,theme:s}=C(),{localeLinks:n}=le({removeCurrent:!1}),o=M("/");return te(()=>{var i;const a=window.location.pathname.replace(t.value.base,"").replace(/(^.*?\/).*$/,"/$1");n.value.length&&(o.value=((i=n.value.find(({link:c})=>c.startsWith(a)))==null?void 0:i.link)||n.value[0].link)}),(a,i)=>{var c,h,f,m,$;return r(),u("div",Ht,[d("p",zt,T(((c=l(s).notFound)==null?void 0:c.code)??"404"),1),d("h1",xt,T(((h=l(s).notFound)==null?void 0:h.title)??"PAGE NOT FOUND"),1),Et,d("blockquote",Dt,T(((f=l(s).notFound)==null?void 0:f.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),d("div",Ot,[d("a",{class:"link",href:l(me)(o.value),"aria-label":((m=l(s).notFound)==null?void 0:m.linkLabel)??"go to home"},T((($=l(s).notFound)==null?void 0:$.linkText)??"Take me home"),9,Ft)])])}}}),Ut=k(jt,[["__scopeId","data-v-56f8922b"]]);function nt(e,t){if(Array.isArray(e))return he(e);if(e==null)return[];t=Le(t);const s=Object.keys(e).sort((o,a)=>a.split("/").length-o.split("/").length).find(o=>t.startsWith(Le(o))),n=s?e[s]:[];return Array.isArray(n)?he(n):he(n.items,n.base)}function qt(e){const t=[];let s=0;for(const n in e){const o=e[n];if(o.items){s=t.push(o);continue}t[s]||t.push({items:[]}),t[s].items.push(o)}return t}function Gt(e){const t=[];function s(n){for(const o of n)o.text&&o.link&&t.push({text:o.text,link:o.link,docFooterText:o.docFooterText}),o.items&&s(o.items)}return s(e),t}function Se(e,t){return Array.isArray(t)?t.some(s=>Se(e,s)):ee(e,t.link)?!0:t.items?Se(e,t.items):!1}function he(e,t){return[...e].map(s=>{const n={...s},o=n.base||t;return o&&n.link&&(n.link=o+n.link),n.items&&(n.items=he(n.items,o)),n})}function Y(){const{frontmatter:e,page:t,theme:s}=C(),n=Ve("(min-width: 960px)"),o=M(!1),a=V(()=>{const I=s.value.sidebar,S=t.value.relativePath;return I?nt(I,S):[]}),i=M(a.value);se(a,(I,S)=>{JSON.stringify(I)!==JSON.stringify(S)&&(i.value=a.value)});const c=V(()=>e.value.sidebar!==!1&&i.value.length>0&&e.value.layout!=="home"),h=V(()=>f?e.value.aside==null?s.value.aside==="left":e.value.aside==="left":!1),f=V(()=>e.value.layout==="home"?!1:e.value.aside!=null?!!e.value.aside:s.value.aside!==!1),m=V(()=>c.value&&n.value),$=V(()=>c.value?qt(i.value):[]);function L(){o.value=!0}function b(){o.value=!1}function P(){o.value?b():L()}return{isOpen:o,sidebar:i,sidebarGroups:$,hasSidebar:c,hasAside:f,leftAside:h,isSidebarEnabled:m,open:L,close:b,toggle:P}}function Rt(e,t){let s;ge(()=>{s=e.value?document.activeElement:void 0}),te(()=>{window.addEventListener("keyup",n)}),Ce(()=>{window.removeEventListener("keyup",n)});function n(o){o.key==="Escape"&&e.value&&(t(),s==null||s.focus())}}const ot=M(ae?location.hash:"");ae&&window.addEventListener("hashchange",()=>{ot.value=location.hash});function Kt(e){const{page:t}=C(),s=M(!1),n=V(()=>e.value.collapsed!=null),o=V(()=>!!e.value.link),a=M(!1),i=()=>{a.value=ee(t.value.relativePath,e.value.link)};se([t,e,ot],i),te(i);const c=V(()=>a.value?!0:e.value.items?Se(t.value.relativePath,e.value.items):!1),h=V(()=>!!(e.value.items&&e.value.items.length));ge(()=>{s.value=!!(n.value&&e.value.collapsed)}),Ye(()=>{(a.value||c.value)&&(s.value=!1)});function f(){n.value&&(s.value=!s.value)}return{collapsed:s,collapsible:n,isLink:o,isActiveLink:a,hasActiveLink:c,hasChildren:h,toggle:f}}function Wt(){const{hasSidebar:e}=Y(),t=Ve("(min-width: 960px)"),s=Ve("(min-width: 1280px)");return{isAsideEnabled:V(()=>!s.value&&!t.value?!1:e.value?s.value:t.value)}}const Jt=71;function Ne(e){return typeof e.outline=="object"&&!Array.isArray(e.outline)&&e.outline.label||e.outlineTitle||"On this page"}function Be(e){const t=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(s=>s.id&&s.hasChildNodes()).map(s=>{const n=Number(s.tagName[1]);return{title:Yt(s),link:"#"+s.id,level:n}});return Xt(t,e)}function Yt(e){let t="";for(const s of e.childNodes)if(s.nodeType===1){if(s.classList.contains("VPBadge")||s.classList.contains("header-anchor"))continue;t+=s.textContent}else s.nodeType===3&&(t+=s.textContent);return t.trim()}function Xt(e,t){if(t===!1)return[];const s=(typeof t=="object"&&!Array.isArray(t)?t.level:t)||2,[n,o]=typeof s=="number"?[s,s]:s==="deep"?[2,6]:s;e=e.filter(i=>i.level>=n&&i.level<=o);const a=[];e:for(let i=0;i<e.length;i++){const c=e[i];if(i===0)a.push(c);else{for(let h=i-1;h>=0;h--){const f=e[h];if(f.level<c.level){(f.children||(f.children=[])).push(c);continue e}}a.push(c)}}return a}function Zt(e,t){const{isAsideEnabled:s}=Wt(),n=At(a,100);let o=null;te(()=>{requestAnimationFrame(a),window.addEventListener("scroll",n)}),ft(()=>{i(location.hash)}),Ce(()=>{window.removeEventListener("scroll",n)});function a(){if(!s.value)return;const c=[].slice.call(e.value.querySelectorAll(".outline-link")),h=[].slice.call(document.querySelectorAll(".content .header-anchor")).filter(b=>c.some(P=>P.hash===b.hash&&b.offsetParent!==null)),f=window.scrollY,m=window.innerHeight,$=document.body.offsetHeight,L=Math.abs(f+m-$)<1;if(h.length&&L){i(h[h.length-1].hash);return}for(let b=0;b<h.length;b++){const P=h[b],I=h[b+1],[S,U]=Qt(b,P,I);if(S){i(U);return}}}function i(c){o&&o.classList.remove("active"),c==null?o=null:o=e.value.querySelector(`a[href="${decodeURIComponent(c)}"]`);const h=o;h?(h.classList.add("active"),t.value.style.top=h.offsetTop+33+"px",t.value.style.opacity="1"):(t.value.style.top="33px",t.value.style.opacity="0")}}function Ue(e){return e.parentElement.offsetTop-Jt}function Qt(e,t,s){const n=window.scrollY;return e===0&&n===0?[!0,null]:n<Ue(t)?[!1,null]:!s||n<Ue(s)?[!0,t.hash]:[!1,null]}const es=["href","title"],ts=y({__name:"VPDocOutlineItem",props:{headers:{},root:{type:Boolean}},setup(e){function t({target:s}){const n=s.href.split("#")[1],o=document.getElementById(decodeURIComponent(n));o==null||o.focus({preventScroll:!0})}return(s,n)=>{const o=Z("VPDocOutlineItem",!0);return r(),u("ul",{class:A(s.root?"root":"nested")},[(r(!0),u(N,null,D(s.headers,({children:a,link:i,title:c})=>(r(),u("li",null,[d("a",{class:"outline-link",href:i,onClick:t,title:c},T(c),9,es),a!=null&&a.length?(r(),w(o,{key:0,headers:a},null,8,["headers"])):g("",!0)]))),256))],2)}}}),He=k(ts,[["__scopeId","data-v-42243c90"]]),ss=e=>(W("data-v-986658a7"),e=e(),J(),e),ns={class:"content"},os={class:"outline-title",role:"heading","aria-level":"2"},as={"aria-labelledby":"doc-outline-aria-label"},is=ss(()=>d("span",{class:"visually-hidden",id:"doc-outline-aria-label"}," Table of Contents for current page ",-1)),rs=y({__name:"VPDocAsideOutline",setup(e){const{frontmatter:t,theme:s}=C(),n=Te([]);re(()=>{n.value=Be(t.value.outline??s.value.outline)});const o=M(),a=M();return Zt(o,a),(i,c)=>(r(),u("div",{class:A(["VPDocAsideOutline",{"has-outline":n.value.length>0}]),ref_key:"container",ref:o,role:"navigation"},[d("div",ns,[d("div",{class:"outline-marker",ref_key:"marker",ref:a},null,512),d("div",os,T(l(Ne)(l(s))),1),d("nav",as,[is,_(He,{headers:n.value,root:!0},null,8,["headers"])])])],2))}}),ls=k(rs,[["__scopeId","data-v-986658a7"]]),cs={class:"VPDocAsideCarbonAds"},us=y({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(e){const t=()=>null;return(s,n)=>(r(),u("div",cs,[_(l(t),{"carbon-ads":s.carbonAds},null,8,["carbon-ads"])]))}}),ds=e=>(W("data-v-872cba46"),e=e(),J(),e),hs={class:"VPDocAside"},vs=ds(()=>d("div",{class:"spacer"},null,-1)),ps=y({__name:"VPDocAside",setup(e){const{theme:t}=C();return(s,n)=>(r(),u("div",hs,[v(s.$slots,"aside-top",{},void 0,!0),v(s.$slots,"aside-outline-before",{},void 0,!0),_(ls),v(s.$slots,"aside-outline-after",{},void 0,!0),vs,v(s.$slots,"aside-ads-before",{},void 0,!0),l(t).carbonAds?(r(),w(us,{key:0,"carbon-ads":l(t).carbonAds},null,8,["carbon-ads"])):g("",!0),v(s.$slots,"aside-ads-after",{},void 0,!0),v(s.$slots,"aside-bottom",{},void 0,!0)]))}}),fs=k(ps,[["__scopeId","data-v-872cba46"]]);function _s(){const{theme:e,page:t}=C();return V(()=>{const{text:s="Edit this page",pattern:n=""}=e.value.editLink||{};let o;return typeof n=="function"?o=n(t.value):o=n.replace(/:path/g,t.value.filePath),{url:o,text:s}})}function ms(){const{page:e,theme:t,frontmatter:s}=C();return V(()=>{var h,f,m,$,L,b,P,I;const n=nt(t.value.sidebar,e.value.relativePath),o=Gt(n),a=o.findIndex(S=>ee(e.value.relativePath,S.link)),i=((h=t.value.docFooter)==null?void 0:h.prev)===!1&&!s.value.prev||s.value.prev===!1,c=((f=t.value.docFooter)==null?void 0:f.next)===!1&&!s.value.next||s.value.next===!1;return{prev:i?void 0:{text:(typeof s.value.prev=="string"?s.value.prev:typeof s.value.prev=="object"?s.value.prev.text:void 0)??((m=o[a-1])==null?void 0:m.docFooterText)??(($=o[a-1])==null?void 0:$.text),link:(typeof s.value.prev=="object"?s.value.prev.link:void 0)??((L=o[a-1])==null?void 0:L.link)},next:c?void 0:{text:(typeof s.value.next=="string"?s.value.next:typeof s.value.next=="object"?s.value.next.text:void 0)??((b=o[a+1])==null?void 0:b.docFooterText)??((P=o[a+1])==null?void 0:P.text),link:(typeof s.value.next=="object"?s.value.next.link:void 0)??((I=o[a+1])==null?void 0:I.link)}}})}const gs={},ks={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},$s=d("path",{d:"M18,23H4c-1.7,0-3-1.3-3-3V6c0-1.7,1.3-3,3-3h7c0.6,0,1,0.4,1,1s-0.4,1-1,1H4C3.4,5,3,5.4,3,6v14c0,0.6,0.4,1,1,1h14c0.6,0,1-0.4,1-1v-7c0-0.6,0.4-1,1-1s1,0.4,1,1v7C21,21.7,19.7,23,18,23z"},null,-1),bs=d("path",{d:"M8,17c-0.3,0-0.5-0.1-0.7-0.3C7,16.5,6.9,16.1,7,15.8l1-4c0-0.2,0.1-0.3,0.3-0.5l9.5-9.5c1.2-1.2,3.2-1.2,4.4,0c1.2,1.2,1.2,3.2,0,4.4l-9.5,9.5c-0.1,0.1-0.3,0.2-0.5,0.3l-4,1C8.2,17,8.1,17,8,17zM9.9,12.5l-0.5,2.1l2.1-0.5l9.3-9.3c0.4-0.4,0.4-1.1,0-1.6c-0.4-0.4-1.2-0.4-1.6,0l0,0L9.9,12.5z M18.5,2.5L18.5,2.5L18.5,2.5z"},null,-1),ys=[$s,bs];function Ps(e,t){return r(),u("svg",ks,ys)}const ws=k(gs,[["render",Ps]]),K=y({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(e){const t=e,s=V(()=>t.tag??(t.href?"a":"span")),n=V(()=>t.href&&Xe.test(t.href));return(o,a)=>(r(),w(Q(s.value),{class:A(["VPLink",{link:o.href,"vp-external-link-icon":n.value,"no-icon":o.noIcon}]),href:o.href?l(Ae)(o.href):void 0,target:o.target??(n.value?"_blank":void 0),rel:o.rel??(n.value?"noreferrer":void 0)},{default:p(()=>[v(o.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),Vs={class:"VPLastUpdated"},Ls=["datetime"],Ss=y({__name:"VPDocFooterLastUpdated",setup(e){const{theme:t,page:s,frontmatter:n,lang:o}=C(),a=V(()=>new Date(n.value.lastUpdated??s.value.lastUpdated)),i=V(()=>a.value.toISOString()),c=M("");return te(()=>{ge(()=>{var h,f,m;c.value=new Intl.DateTimeFormat((f=(h=t.value.lastUpdated)==null?void 0:h.formatOptions)!=null&&f.forceLocale?o.value:void 0,((m=t.value.lastUpdated)==null?void 0:m.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(a.value)})}),(h,f)=>{var m;return r(),u("p",Vs,[G(T(((m=l(t).lastUpdated)==null?void 0:m.text)||l(t).lastUpdatedText||"Last updated")+": ",1),d("time",{datetime:i.value},T(c.value),9,Ls)])}}}),Ms=k(Ss,[["__scopeId","data-v-f0eb8be1"]]),Is={key:0,class:"VPDocFooter"},Cs={key:0,class:"edit-info"},Ts={key:0,class:"edit-link"},As={key:1,class:"last-updated"},Ns={key:1,class:"prev-next"},Bs={class:"pager"},Hs=["innerHTML"],zs=["innerHTML"],xs={class:"pager"},Es=["innerHTML"],Ds=["innerHTML"],Os=y({__name:"VPDocFooter",setup(e){const{theme:t,page:s,frontmatter:n}=C(),o=_s(),a=ms(),i=V(()=>t.value.editLink&&n.value.editLink!==!1),c=V(()=>s.value.lastUpdated&&n.value.lastUpdated!==!1),h=V(()=>i.value||c.value||a.value.prev||a.value.next);return(f,m)=>{var $,L,b,P;return h.value?(r(),u("footer",Is,[v(f.$slots,"doc-footer-before",{},void 0,!0),i.value||c.value?(r(),u("div",Cs,[i.value?(r(),u("div",Ts,[_(K,{class:"edit-link-button",href:l(o).url,"no-icon":!0},{default:p(()=>[_(ws,{class:"edit-link-icon","aria-label":"edit icon"}),G(" "+T(l(o).text),1)]),_:1},8,["href"])])):g("",!0),c.value?(r(),u("div",As,[_(Ms)])):g("",!0)])):g("",!0),($=l(a).prev)!=null&&$.link||(L=l(a).next)!=null&&L.link?(r(),u("nav",Ns,[d("div",Bs,[(b=l(a).prev)!=null&&b.link?(r(),w(K,{key:0,class:"pager-link prev",href:l(a).prev.link},{default:p(()=>{var I;return[d("span",{class:"desc",innerHTML:((I=l(t).docFooter)==null?void 0:I.prev)||"Previous page"},null,8,Hs),d("span",{class:"title",innerHTML:l(a).prev.text},null,8,zs)]}),_:1},8,["href"])):g("",!0)]),d("div",xs,[(P=l(a).next)!=null&&P.link?(r(),w(K,{key:0,class:"pager-link next",href:l(a).next.link},{default:p(()=>{var I;return[d("span",{class:"desc",innerHTML:((I=l(t).docFooter)==null?void 0:I.next)||"Next page"},null,8,Es),d("span",{class:"title",innerHTML:l(a).next.text},null,8,Ds)]}),_:1},8,["href"])):g("",!0)])])):g("",!0)])):g("",!0)}}}),Fs=k(Os,[["__scopeId","data-v-72d7bc68"]]),js={},Us={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},qs=d("path",{d:"M9,19c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l5.3-5.3L8.3,6.7c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l6,6c0.4,0.4,0.4,1,0,1.4l-6,6C9.5,18.9,9.3,19,9,19z"},null,-1),Gs=[qs];function Rs(e,t){return r(),u("svg",Us,Gs)}const ze=k(js,[["render",Rs]]),Ks={key:0,class:"VPDocOutlineDropdown"},Ws={key:0,class:"items"},Js=y({__name:"VPDocOutlineDropdown",setup(e){const{frontmatter:t,theme:s}=C(),n=M(!1);re(()=>{n.value=!1});const o=Te([]);return re(()=>{o.value=Be(t.value.outline??s.value.outline)}),(a,i)=>o.value.length>0?(r(),u("div",Ks,[d("button",{onClick:i[0]||(i[0]=c=>n.value=!n.value),class:A({open:n.value})},[G(T(l(Ne)(l(s)))+" ",1),_(ze,{class:"icon"})],2),n.value?(r(),u("div",Ws,[_(He,{headers:o.value},null,8,["headers"])])):g("",!0)])):g("",!0)}}),Ys=k(Js,[["__scopeId","data-v-47981750"]]),Xs=e=>(W("data-v-e2d7a8eb"),e=e(),J(),e),Zs={class:"container"},Qs=Xs(()=>d("div",{class:"aside-curtain"},null,-1)),en={class:"aside-container"},tn={class:"aside-content"},sn={class:"content"},nn={class:"content-container"},on={class:"main"},an=y({__name:"VPDoc",setup(e){const{theme:t}=C(),s=ke(),{hasSidebar:n,hasAside:o,leftAside:a}=Y(),i=V(()=>s.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(c,h)=>{const f=Z("Content");return r(),u("div",{class:A(["VPDoc",{"has-sidebar":l(n),"has-aside":l(o)}])},[v(c.$slots,"doc-top",{},void 0,!0),d("div",Zs,[l(o)?(r(),u("div",{key:0,class:A(["aside",{"left-aside":l(a)}])},[Qs,d("div",en,[d("div",tn,[_(fs,null,{"aside-top":p(()=>[v(c.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":p(()=>[v(c.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":p(()=>[v(c.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":p(()=>[v(c.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":p(()=>[v(c.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":p(()=>[v(c.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):g("",!0),d("div",sn,[d("div",nn,[v(c.$slots,"doc-before",{},void 0,!0),_(Ys),d("main",on,[_(f,{class:A(["vp-doc",[i.value,l(t).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),_(Fs,null,{"doc-footer-before":p(()=>[v(c.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),v(c.$slots,"doc-after",{},void 0,!0)])])]),v(c.$slots,"doc-bottom",{},void 0,!0)],2)}}}),rn=k(an,[["__scopeId","data-v-e2d7a8eb"]]),ln=y({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{}},setup(e){const t=e,s=V(()=>t.href&&Xe.test(t.href)),n=V(()=>t.tag||t.href?"a":"button");return(o,a)=>(r(),w(Q(n.value),{class:A(["VPButton",[o.size,o.theme]]),href:o.href?l(Ae)(o.href):void 0,target:s.value?"_blank":void 0,rel:s.value?"noreferrer":void 0},{default:p(()=>[G(T(o.text),1)]),_:1},8,["class","href","target","rel"]))}}),cn=k(ln,[["__scopeId","data-v-33603068"]]),un=["src","alt"],dn=y({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(e){return(t,s)=>{const n=Z("VPImage",!0);return t.image?(r(),u(N,{key:0},[typeof t.image=="string"||"src"in t.image?(r(),u("img",de({key:0,class:"VPImage"},typeof t.image=="string"?t.$attrs:{...t.image,...t.$attrs},{src:l(me)(typeof t.image=="string"?t.image:t.image.src),alt:t.alt??(typeof t.image=="string"?"":t.image.alt||"")}),null,16,un)):(r(),u(N,{key:1},[_(n,de({class:"dark",image:t.image.dark,alt:t.image.alt},t.$attrs),null,16,["image","alt"]),_(n,de({class:"light",image:t.image.light,alt:t.image.alt},t.$attrs),null,16,["image","alt"])],64))],64)):g("",!0)}}}),pe=k(dn,[["__scopeId","data-v-57d5aa95"]]),hn=e=>(W("data-v-96363d7a"),e=e(),J(),e),vn={class:"container"},pn={class:"main"},fn={key:0,class:"name"},_n=["innerHTML"],mn=["innerHTML"],gn=["innerHTML"],kn={key:0,class:"actions"},$n={key:0,class:"image"},bn={class:"image-container"},yn=hn(()=>d("div",{class:"image-bg"},null,-1)),Pn=y({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(e){const t=$e("hero-image-slot-exists");return(s,n)=>(r(),u("div",{class:A(["VPHero",{"has-image":s.image||l(t)}])},[d("div",vn,[d("div",pn,[v(s.$slots,"home-hero-info",{},()=>[s.name?(r(),u("h1",fn,[d("span",{innerHTML:s.name,class:"clip"},null,8,_n)])):g("",!0),s.text?(r(),u("p",{key:1,innerHTML:s.text,class:"text"},null,8,mn)):g("",!0),s.tagline?(r(),u("p",{key:2,innerHTML:s.tagline,class:"tagline"},null,8,gn)):g("",!0)],!0),s.actions?(r(),u("div",kn,[(r(!0),u(N,null,D(s.actions,o=>(r(),u("div",{key:o.link,class:"action"},[_(cn,{tag:"a",size:"medium",theme:o.theme,text:o.text,href:o.link},null,8,["theme","text","href"])]))),128))])):g("",!0)]),s.image||l(t)?(r(),u("div",$n,[d("div",bn,[yn,v(s.$slots,"home-hero-image",{},()=>[s.image?(r(),w(pe,{key:0,class:"image-src",image:s.image},null,8,["image"])):g("",!0)],!0)])])):g("",!0)])],2))}}),wn=k(Pn,[["__scopeId","data-v-96363d7a"]]),Vn=y({__name:"VPHomeHero",setup(e){const{frontmatter:t}=C();return(s,n)=>l(t).hero?(r(),w(wn,{key:0,class:"VPHomeHero",name:l(t).hero.name,text:l(t).hero.text,tagline:l(t).hero.tagline,image:l(t).hero.image,actions:l(t).hero.actions},{"home-hero-info":p(()=>[v(s.$slots,"home-hero-info")]),"home-hero-image":p(()=>[v(s.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):g("",!0)}}),Ln={},Sn={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Mn=d("path",{d:"M19.9,12.4c0.1-0.2,0.1-0.5,0-0.8c-0.1-0.1-0.1-0.2-0.2-0.3l-7-7c-0.4-0.4-1-0.4-1.4,0s-0.4,1,0,1.4l5.3,5.3H5c-0.6,0-1,0.4-1,1s0.4,1,1,1h11.6l-5.3,5.3c-0.4,0.4-0.4,1,0,1.4c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3l7-7C19.8,12.6,19.9,12.5,19.9,12.4z"},null,-1),In=[Mn];function Cn(e,t){return r(),u("svg",Sn,In)}const Tn=k(Ln,[["render",Cn]]),An={class:"box"},Nn={key:0,class:"icon"},Bn=["innerHTML"],Hn=["innerHTML"],zn=["innerHTML"],xn={key:4,class:"link-text"},En={class:"link-text-value"},Dn=y({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(e){return(t,s)=>(r(),w(K,{class:"VPFeature",href:t.link,rel:t.rel,target:t.target,"no-icon":!0,tag:t.link?"a":"div"},{default:p(()=>[d("article",An,[typeof t.icon=="object"&&t.icon.wrap?(r(),u("div",Nn,[_(pe,{image:t.icon,alt:t.icon.alt,height:t.icon.height||48,width:t.icon.width||48},null,8,["image","alt","height","width"])])):typeof t.icon=="object"?(r(),w(pe,{key:1,image:t.icon,alt:t.icon.alt,height:t.icon.height||48,width:t.icon.width||48},null,8,["image","alt","height","width"])):t.icon?(r(),u("div",{key:2,class:"icon",innerHTML:t.icon},null,8,Bn)):g("",!0),d("h2",{class:"title",innerHTML:t.title},null,8,Hn),t.details?(r(),u("p",{key:3,class:"details",innerHTML:t.details},null,8,zn)):g("",!0),t.linkText?(r(),u("div",xn,[d("p",En,[G(T(t.linkText)+" ",1),_(Tn,{class:"link-text-icon"})])])):g("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),On=k(Dn,[["__scopeId","data-v-dc571927"]]),Fn={key:0,class:"VPFeatures"},jn={class:"container"},Un={class:"items"},qn=y({__name:"VPFeatures",props:{features:{}},setup(e){const t=e,s=V(()=>{const n=t.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,o)=>n.features?(r(),u("div",Fn,[d("div",jn,[d("div",Un,[(r(!0),u(N,null,D(n.features,a=>(r(),u("div",{key:a.title,class:A(["item",[s.value]])},[_(On,{icon:a.icon,title:a.title,details:a.details,link:a.link,"link-text":a.linkText,rel:a.rel,target:a.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])])])):g("",!0)}}),Gn=k(qn,[["__scopeId","data-v-7fdf4b60"]]),Rn=y({__name:"VPHomeFeatures",setup(e){const{frontmatter:t}=C();return(s,n)=>l(t).features?(r(),w(Gn,{key:0,class:"VPHomeFeatures",features:l(t).features},null,8,["features"])):g("",!0)}}),Kn={class:"VPHome"},Wn=y({__name:"VPHome",setup(e){return(t,s)=>{const n=Z("Content");return r(),u("div",Kn,[v(t.$slots,"home-hero-before",{},void 0,!0),_(Vn,null,{"home-hero-info":p(()=>[v(t.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":p(()=>[v(t.$slots,"home-hero-image",{},void 0,!0)]),_:3}),v(t.$slots,"home-hero-after",{},void 0,!0),v(t.$slots,"home-features-before",{},void 0,!0),_(Rn),v(t.$slots,"home-features-after",{},void 0,!0),_(n)])}}}),Jn=k(Wn,[["__scopeId","data-v-4b752bfa"]]),Yn={},Xn={class:"VPPage"};function Zn(e,t){const s=Z("Content");return r(),u("div",Xn,[v(e.$slots,"page-top"),_(s),v(e.$slots,"page-bottom")])}const Qn=k(Yn,[["render",Zn]]),eo=y({__name:"VPContent",setup(e){const{page:t,frontmatter:s}=C(),{hasSidebar:n}=Y();return(o,a)=>(r(),u("div",{class:A(["VPContent",{"has-sidebar":l(n),"is-home":l(s).layout==="home"}]),id:"VPContent"},[l(t).isNotFound?v(o.$slots,"not-found",{key:0},()=>[_(Ut)],!0):l(s).layout==="page"?(r(),w(Qn,{key:1},{"page-top":p(()=>[v(o.$slots,"page-top",{},void 0,!0)]),"page-bottom":p(()=>[v(o.$slots,"page-bottom",{},void 0,!0)]),_:3})):l(s).layout==="home"?(r(),w(Jn,{key:2},{"home-hero-before":p(()=>[v(o.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info":p(()=>[v(o.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":p(()=>[v(o.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":p(()=>[v(o.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":p(()=>[v(o.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":p(()=>[v(o.$slots,"home-features-after",{},void 0,!0)]),_:3})):l(s).layout&&l(s).layout!=="doc"?(r(),w(Q(l(s).layout),{key:3})):(r(),w(rn,{key:4},{"doc-top":p(()=>[v(o.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":p(()=>[v(o.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":p(()=>[v(o.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":p(()=>[v(o.$slots,"doc-before",{},void 0,!0)]),"doc-after":p(()=>[v(o.$slots,"doc-after",{},void 0,!0)]),"aside-top":p(()=>[v(o.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":p(()=>[v(o.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":p(()=>[v(o.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":p(()=>[v(o.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":p(()=>[v(o.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":p(()=>[v(o.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),to=k(eo,[["__scopeId","data-v-e84d086a"]]),so={class:"container"},no=["innerHTML"],oo=["innerHTML"],ao=y({__name:"VPFooter",setup(e){const{theme:t,frontmatter:s}=C(),{hasSidebar:n}=Y();return(o,a)=>l(t).footer&&l(s).footer!==!1?(r(),u("footer",{key:0,class:A(["VPFooter",{"has-sidebar":l(n)}])},[d("div",so,[l(t).footer.message?(r(),u("p",{key:0,class:"message",innerHTML:l(t).footer.message},null,8,no)):g("",!0),l(t).footer.copyright?(r(),u("p",{key:1,class:"copyright",innerHTML:l(t).footer.copyright},null,8,oo)):g("",!0)])],2)):g("",!0)}}),io=k(ao,[["__scopeId","data-v-c4442a57"]]),ro={class:"header"},lo={class:"outline"},co=y({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(e){const t=e,{theme:s}=C(),n=M(!1),o=M(0),a=M();re(()=>{n.value=!1});function i(){n.value=!n.value,o.value=window.innerHeight+Math.min(window.scrollY-t.navHeight,0)}function c(f){f.target.classList.contains("outline-link")&&(a.value&&(a.value.style.transition="none"),Ze(()=>{n.value=!1}))}function h(){n.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(f,m)=>(r(),u("div",{class:"VPLocalNavOutlineDropdown",style:_t({"--vp-vh":o.value+"px"})},[f.headers.length>0?(r(),u("button",{key:0,onClick:i,class:A({open:n.value})},[G(T(l(Ne)(l(s)))+" ",1),_(ze,{class:"icon"})],2)):(r(),u("button",{key:1,onClick:h},T(l(s).returnToTopLabel||"Return to top"),1)),_(Ie,{name:"flyout"},{default:p(()=>[n.value?(r(),u("div",{key:0,ref_key:"items",ref:a,class:"items",onClick:c},[d("div",ro,[d("a",{class:"top-link",href:"#",onClick:h},T(l(s).returnToTopLabel||"Return to top"),1)]),d("div",lo,[_(He,{headers:f.headers},null,8,["headers"])])],512)):g("",!0)]),_:1})],4))}}),uo=k(co,[["__scopeId","data-v-be609a8b"]]),ho={},vo={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},po=d("path",{d:"M17,11H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h14c0.6,0,1,0.4,1,1S17.6,11,17,11z"},null,-1),fo=d("path",{d:"M21,7H3C2.4,7,2,6.6,2,6s0.4-1,1-1h18c0.6,0,1,0.4,1,1S21.6,7,21,7z"},null,-1),_o=d("path",{d:"M21,15H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h18c0.6,0,1,0.4,1,1S21.6,15,21,15z"},null,-1),mo=d("path",{d:"M17,19H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h14c0.6,0,1,0.4,1,1S17.6,19,17,19z"},null,-1),go=[po,fo,_o,mo];function ko(e,t){return r(),u("svg",vo,go)}const $o=k(ho,[["render",ko]]),bo=["aria-expanded"],yo={class:"menu-text"},Po=y({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(e){const{theme:t,frontmatter:s}=C(),{hasSidebar:n}=Y(),{y:o}=Qe(),a=Te([]),i=M(0);te(()=>{i.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),re(()=>{a.value=Be(s.value.outline??t.value.outline)});const c=V(()=>a.value.length===0&&!n.value),h=V(()=>({VPLocalNav:!0,fixed:c.value,"reached-top":o.value>=i.value}));return(f,m)=>l(s).layout!=="home"&&(!c.value||l(o)>=i.value)?(r(),u("div",{key:0,class:A(h.value)},[l(n)?(r(),u("button",{key:0,class:"menu","aria-expanded":f.open,"aria-controls":"VPSidebarNav",onClick:m[0]||(m[0]=$=>f.$emit("open-menu"))},[_($o,{class:"menu-icon"}),d("span",yo,T(l(t).sidebarMenuLabel||"Menu"),1)],8,bo)):g("",!0),_(uo,{headers:a.value,navHeight:i.value},null,8,["headers","navHeight"])],2)):g("",!0)}}),wo=k(Po,[["__scopeId","data-v-49954ad8"]]);function Vo(){const e=M(!1);function t(){e.value=!0,window.addEventListener("resize",o)}function s(){e.value=!1,window.removeEventListener("resize",o)}function n(){e.value?s():t()}function o(){window.outerWidth>=768&&s()}const a=ke();return se(()=>a.path,s),{isScreenOpen:e,openScreen:t,closeScreen:s,toggleScreen:n}}const Lo={},So={class:"VPSwitch",type:"button",role:"switch"},Mo={class:"check"},Io={key:0,class:"icon"};function Co(e,t){return r(),u("button",So,[d("span",Mo,[e.$slots.default?(r(),u("span",Io,[v(e.$slots,"default",{},void 0,!0)])):g("",!0)])])}const To=k(Lo,[["render",Co],["__scopeId","data-v-37264fd4"]]),Ao={},No={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Bo=d("path",{d:"M12.1,22c-0.3,0-0.6,0-0.9,0c-5.5-0.5-9.5-5.4-9-10.9c0.4-4.8,4.2-8.6,9-9c0.4,0,0.8,0.2,1,0.5c0.2,0.3,0.2,0.8-0.1,1.1c-2,2.7-1.4,6.4,1.3,8.4c2.1,1.6,5,1.6,7.1,0c0.3-0.2,0.7-0.3,1.1-0.1c0.3,0.2,0.5,0.6,0.5,1c-0.2,2.7-1.5,5.1-3.6,6.8C16.6,21.2,14.4,22,12.1,22zM9.3,4.4c-2.9,1-5,3.6-5.2,6.8c-0.4,4.4,2.8,8.3,7.2,8.7c2.1,0.2,4.2-0.4,5.8-1.8c1.1-0.9,1.9-2.1,2.4-3.4c-2.5,0.9-5.3,0.5-7.5-1.1C9.2,11.4,8.1,7.7,9.3,4.4z"},null,-1),Ho=[Bo];function zo(e,t){return r(),u("svg",No,Ho)}const xo=k(Ao,[["render",zo]]),Eo={},Do={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Oo=mt('<path d="M12,18c-3.3,0-6-2.7-6-6s2.7-6,6-6s6,2.7,6,6S15.3,18,12,18zM12,8c-2.2,0-4,1.8-4,4c0,2.2,1.8,4,4,4c2.2,0,4-1.8,4-4C16,9.8,14.2,8,12,8z"></path><path d="M12,4c-0.6,0-1-0.4-1-1V1c0-0.6,0.4-1,1-1s1,0.4,1,1v2C13,3.6,12.6,4,12,4z"></path><path d="M12,24c-0.6,0-1-0.4-1-1v-2c0-0.6,0.4-1,1-1s1,0.4,1,1v2C13,23.6,12.6,24,12,24z"></path><path d="M5.6,6.6c-0.3,0-0.5-0.1-0.7-0.3L3.5,4.9c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l1.4,1.4c0.4,0.4,0.4,1,0,1.4C6.2,6.5,5.9,6.6,5.6,6.6z"></path><path d="M19.8,20.8c-0.3,0-0.5-0.1-0.7-0.3l-1.4-1.4c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l1.4,1.4c0.4,0.4,0.4,1,0,1.4C20.3,20.7,20,20.8,19.8,20.8z"></path><path d="M3,13H1c-0.6,0-1-0.4-1-1s0.4-1,1-1h2c0.6,0,1,0.4,1,1S3.6,13,3,13z"></path><path d="M23,13h-2c-0.6,0-1-0.4-1-1s0.4-1,1-1h2c0.6,0,1,0.4,1,1S23.6,13,23,13z"></path><path d="M4.2,20.8c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l1.4-1.4c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-1.4,1.4C4.7,20.7,4.5,20.8,4.2,20.8z"></path><path d="M18.4,6.6c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l1.4-1.4c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-1.4,1.4C18.9,6.5,18.6,6.6,18.4,6.6z"></path>',9),Fo=[Oo];function jo(e,t){return r(),u("svg",Do,Fo)}const Uo=k(Eo,[["render",jo]]),qo=y({__name:"VPSwitchAppearance",setup(e){const{isDark:t}=C(),s=$e("toggle-appearance",()=>{t.value=!t.value}),n=V(()=>t.value?"Switch to light theme":"Switch to dark theme");return(o,a)=>(r(),w(To,{title:n.value,class:"VPSwitchAppearance","aria-checked":l(t),onClick:l(s)},{default:p(()=>[_(Uo,{class:"sun"}),_(xo,{class:"moon"})]),_:1},8,["title","aria-checked","onClick"]))}}),xe=k(qo,[["__scopeId","data-v-35fbcff7"]]),Go={key:0,class:"VPNavBarAppearance"},Ro=y({__name:"VPNavBarAppearance",setup(e){const{site:t}=C();return(s,n)=>l(t).appearance&&l(t).appearance!=="force-dark"?(r(),u("div",Go,[_(xe)])):g("",!0)}}),Ko=k(Ro,[["__scopeId","data-v-09531cc8"]]),Ee=M();let at=!1,ye=0;function Wo(e){const t=M(!1);if(ae){!at&&Jo(),ye++;const s=se(Ee,n=>{var o,a,i;n===e.el.value||(o=e.el.value)!=null&&o.contains(n)?(t.value=!0,(a=e.onFocus)==null||a.call(e)):(t.value=!1,(i=e.onBlur)==null||i.call(e))});Ce(()=>{s(),ye--,ye||Yo()})}return gt(t)}function Jo(){document.addEventListener("focusin",it),at=!0,Ee.value=document.activeElement}function Yo(){document.removeEventListener("focusin",it)}function it(){Ee.value=document.activeElement}const Xo={},Zo={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Qo=d("path",{d:"M12,16c-0.3,0-0.5-0.1-0.7-0.3l-6-6c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l5.3,5.3l5.3-5.3c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-6,6C12.5,15.9,12.3,16,12,16z"},null,-1),ea=[Qo];function ta(e,t){return r(),u("svg",Zo,ea)}const rt=k(Xo,[["render",ta]]),sa={},na={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},oa=d("circle",{cx:"12",cy:"12",r:"2"},null,-1),aa=d("circle",{cx:"19",cy:"12",r:"2"},null,-1),ia=d("circle",{cx:"5",cy:"12",r:"2"},null,-1),ra=[oa,aa,ia];function la(e,t){return r(),u("svg",na,ra)}const ca=k(sa,[["render",la]]),ua={class:"VPMenuLink"},da=y({__name:"VPMenuLink",props:{item:{}},setup(e){const{page:t}=C();return(s,n)=>(r(),u("div",ua,[_(K,{class:A({active:l(ee)(l(t).relativePath,s.item.activeMatch||s.item.link,!!s.item.activeMatch)}),href:s.item.link,target:s.item.target,rel:s.item.rel},{default:p(()=>[G(T(s.item.text),1)]),_:1},8,["class","href","target","rel"])]))}}),be=k(da,[["__scopeId","data-v-97be8de0"]]),ha={class:"VPMenuGroup"},va={key:0,class:"title"},pa=y({__name:"VPMenuGroup",props:{text:{},items:{}},setup(e){return(t,s)=>(r(),u("div",ha,[t.text?(r(),u("p",va,T(t.text),1)):g("",!0),(r(!0),u(N,null,D(t.items,n=>(r(),u(N,null,["link"in n?(r(),w(be,{key:0,item:n},null,8,["item"])):g("",!0)],64))),256))]))}}),fa=k(pa,[["__scopeId","data-v-7e01b81c"]]),_a={class:"VPMenu"},ma={key:0,class:"items"},ga=y({__name:"VPMenu",props:{items:{}},setup(e){return(t,s)=>(r(),u("div",_a,[t.items?(r(),u("div",ma,[(r(!0),u(N,null,D(t.items,n=>(r(),u(N,{key:n.text},["link"in n?(r(),w(be,{key:0,item:n},null,8,["item"])):(r(),w(fa,{key:1,text:n.text,items:n.items},null,8,["text","items"]))],64))),128))])):g("",!0),v(t.$slots,"default",{},void 0,!0)]))}}),ka=k(ga,[["__scopeId","data-v-6e39bf37"]]),$a=["aria-expanded","aria-label"],ba={key:0,class:"text"},ya=["innerHTML"],Pa={class:"menu"},wa=y({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(e){const t=M(!1),s=M();Wo({el:s,onBlur:n});function n(){t.value=!1}return(o,a)=>(r(),u("div",{class:"VPFlyout",ref_key:"el",ref:s,onMouseenter:a[1]||(a[1]=i=>t.value=!0),onMouseleave:a[2]||(a[2]=i=>t.value=!1)},[d("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":t.value,"aria-label":o.label,onClick:a[0]||(a[0]=i=>t.value=!t.value)},[o.button||o.icon?(r(),u("span",ba,[o.icon?(r(),w(Q(o.icon),{key:0,class:"option-icon"})):g("",!0),o.button?(r(),u("span",{key:1,innerHTML:o.button},null,8,ya)):g("",!0),_(rt,{class:"text-icon"})])):(r(),w(ca,{key:1,class:"icon"}))],8,$a),d("div",Pa,[_(ka,{items:o.items},{default:p(()=>[v(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),De=k(wa,[["__scopeId","data-v-4f176a56"]]),Va={discord:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Discord</title><path d="M20.317 4.3698a19.7913 19.7913 0 00-4.8851-1.5152.0741.0741 0 00-.0785.0371c-.211.3753-.4447.8648-.6083 1.2495-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077 0 00-.0785-.037 19.7363 19.7363 0 00-4.8852 1.515.0699.0699 0 00-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 00.0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 00.0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 00-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 01-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 01.0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 01.0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 01-.0066.1276 12.2986 12.2986 0 01-1.873.8914.0766.0766 0 00-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 00.0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 00.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061 0 00-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.9555 2.4189-2.1569 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.946 2.4189-2.1568 2.4189Z"/></svg>',facebook:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Facebook</title><path d="M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"/></svg>',github:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>GitHub</title><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg>',instagram:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Instagram</title><path d="M12 0C8.74 0 8.333.015 7.053.072 5.775.132 4.905.333 4.14.63c-.789.306-1.459.717-2.126 1.384S.935 3.35.63 4.14C.333 4.905.131 5.775.072 7.053.012 8.333 0 8.74 0 12s.015 3.667.072 4.947c.06 1.277.261 2.148.558 2.913.306.788.717 1.459 1.384 2.126.667.666 1.336 1.079 2.126 1.384.766.296 1.636.499 2.913.558C8.333 23.988 8.74 24 12 24s3.667-.015 4.947-.072c1.277-.06 2.148-.262 2.913-.558.788-.306 1.459-.718 2.126-1.384.666-.667 1.079-1.335 1.384-2.126.296-.765.499-1.636.558-2.913.06-1.28.072-1.687.072-4.947s-.015-3.667-.072-4.947c-.06-1.277-.262-2.149-.558-2.913-.306-.789-.718-1.459-1.384-2.126C21.319 1.347 20.651.935 19.86.63c-.765-.297-1.636-.499-2.913-.558C15.667.012 15.26 0 12 0zm0 2.16c3.203 0 3.585.016 4.85.071 1.17.055 1.805.249 2.227.415.562.217.96.477 1.382.896.419.42.679.819.896 1.381.164.422.36 1.057.413 2.227.057 1.266.07 1.646.07 4.85s-.015 3.585-.074 4.85c-.061 1.17-.256 1.805-.421 2.227-.224.562-.479.96-.899 1.382-.419.419-.824.679-1.38.896-.42.164-1.065.36-2.235.413-1.274.057-1.649.07-4.859.07-3.211 0-3.586-.015-4.859-.074-1.171-.061-1.816-.256-2.236-.421-.569-.224-.96-.479-1.379-.899-.421-.419-.69-.824-.9-1.38-.165-.42-.359-1.065-.42-2.235-.045-1.26-.061-1.649-.061-4.844 0-3.196.016-3.586.061-4.861.061-1.17.255-1.814.42-2.234.21-.57.479-.96.9-1.381.419-.419.81-.689 1.379-.898.42-.166 1.051-.361 2.221-.421 1.275-.045 1.65-.06 4.859-.06l.045.03zm0 3.678c-3.405 0-6.162 2.76-6.162 6.162 0 3.405 2.76 6.162 6.162 6.162 3.405 0 6.162-2.76 6.162-6.162 0-3.405-2.76-6.162-6.162-6.162zM12 16c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4zm7.846-10.405c0 .795-.646 1.44-1.44 1.44-.795 0-1.44-.646-1.44-1.44 0-.794.646-1.439 1.44-1.439.793-.001 1.44.645 1.44 1.439z"/></svg>',linkedin:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>LinkedIn</title><path d="M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"/></svg>',mastodon:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Mastodon</title><path d="M23.268 5.313c-.35-2.578-2.617-4.61-5.304-5.004C17.51.242 15.792 0 11.813 0h-.03c-3.98 0-4.835.242-5.288.309C3.882.692 1.496 2.518.917 5.127.64 6.412.61 7.837.661 9.143c.074 1.874.088 3.745.26 5.611.118 1.24.325 2.47.62 3.68.55 2.237 2.777 4.098 4.96 4.857 2.336.792 4.849.923 7.256.38.265-.061.527-.132.786-.213.585-.184 1.27-.39 1.774-.753a.057.057 0 0 0 .023-.043v-1.809a.052.052 0 0 0-.02-.041.053.053 0 0 0-.046-.01 20.282 20.282 0 0 1-4.709.545c-2.73 0-3.463-1.284-3.674-1.818a5.593 5.593 0 0 1-.319-1.433.053.053 0 0 1 .066-.054c1.517.363 3.072.546 4.632.546.376 0 .75 0 1.125-.01 1.57-.044 3.224-.124 4.768-.422.038-.008.077-.015.11-.024 2.435-.464 4.753-1.92 4.989-5.604.008-.145.03-1.52.03-1.67.002-.512.167-3.63-.024-5.545zm-3.748 9.195h-2.561V8.29c0-1.309-.55-1.976-1.67-1.976-1.23 0-1.846.79-1.846 2.35v3.403h-2.546V8.663c0-1.56-.617-2.35-1.848-2.35-1.112 0-1.668.668-1.67 1.977v6.218H4.822V8.102c0-1.31.337-2.35 1.011-3.12.696-.77 1.608-1.164 2.74-1.164 1.311 0 2.302.5 2.962 1.498l.638 1.06.638-1.06c.66-.999 1.65-1.498 2.96-1.498 1.13 0 2.043.395 2.74 1.164.675.77 1.012 1.81 1.012 3.12z"/></svg>',slack:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Slack</title><path d="M5.042 15.165a2.528 2.528 0 0 1-2.52 2.523A2.528 2.528 0 0 1 0 15.165a2.527 2.527 0 0 1 2.522-2.52h2.52v2.52zM6.313 15.165a2.527 2.527 0 0 1 2.521-2.52 2.527 2.527 0 0 1 2.521 2.52v6.313A2.528 2.528 0 0 1 8.834 24a2.528 2.528 0 0 1-2.521-2.522v-6.313zM8.834 5.042a2.528 2.528 0 0 1-2.521-2.52A2.528 2.528 0 0 1 8.834 0a2.528 2.528 0 0 1 2.521 2.522v2.52H8.834zM8.834 6.313a2.528 2.528 0 0 1 2.521 2.521 2.528 2.528 0 0 1-2.521 2.521H2.522A2.528 2.528 0 0 1 0 8.834a2.528 2.528 0 0 1 2.522-2.521h6.312zM18.956 8.834a2.528 2.528 0 0 1 2.522-2.521A2.528 2.528 0 0 1 24 8.834a2.528 2.528 0 0 1-2.522 2.521h-2.522V8.834zM17.688 8.834a2.528 2.528 0 0 1-2.523 2.521 2.527 2.527 0 0 1-2.52-2.521V2.522A2.527 2.527 0 0 1 15.165 0a2.528 2.528 0 0 1 2.523 2.522v6.312zM15.165 18.956a2.528 2.528 0 0 1 2.523 2.522A2.528 2.528 0 0 1 15.165 24a2.527 2.527 0 0 1-2.52-2.522v-2.522h2.52zM15.165 17.688a2.527 2.527 0 0 1-2.52-2.523 2.526 2.526 0 0 1 2.52-2.52h6.313A2.527 2.527 0 0 1 24 15.165a2.528 2.528 0 0 1-2.522 2.523h-6.313z"/></svg>',twitter:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Twitter</title><path d="M21.543 7.104c.015.211.015.423.015.636 0 6.507-4.954 14.01-14.01 14.01v-.003A13.94 13.94 0 0 1 0 19.539a9.88 9.88 0 0 0 7.287-2.041 4.93 4.93 0 0 1-4.6-3.42 4.916 4.916 0 0 0 2.223-.084A4.926 4.926 0 0 1 .96 9.167v-.062a4.887 4.887 0 0 0 2.235.616A4.928 4.928 0 0 1 1.67 3.148 13.98 13.98 0 0 0 11.82 8.292a4.929 4.929 0 0 1 8.39-4.49 9.868 9.868 0 0 0 3.128-1.196 4.941 4.941 0 0 1-2.165 2.724A9.828 9.828 0 0 0 24 4.555a10.019 10.019 0 0 1-2.457 2.549z"/></svg>',x:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>X</title><path d="M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z"/></svg>',youtube:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>YouTube</title><path d="M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"/></svg>'},La=["href","aria-label","innerHTML"],Sa=y({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(e){const t=e,s=V(()=>typeof t.icon=="object"?t.icon.svg:Va[t.icon]);return(n,o)=>(r(),u("a",{class:"VPSocialLink no-icon",href:n.link,"aria-label":n.ariaLabel??(typeof n.icon=="string"?n.icon:""),target:"_blank",rel:"noopener",innerHTML:s.value},null,8,La))}}),Ma=k(Sa,[["__scopeId","data-v-1feba81e"]]),Ia={class:"VPSocialLinks"},Ca=y({__name:"VPSocialLinks",props:{links:{}},setup(e){return(t,s)=>(r(),u("div",Ia,[(r(!0),u(N,null,D(t.links,({link:n,icon:o,ariaLabel:a})=>(r(),w(Ma,{key:n,icon:o,link:n,ariaLabel:a},null,8,["icon","link","ariaLabel"]))),128))]))}}),Oe=k(Ca,[["__scopeId","data-v-ef495ef8"]]),Ta={key:0,class:"group translations"},Aa={class:"trans-title"},Na={key:1,class:"group"},Ba={class:"item appearance"},Ha={class:"label"},za={class:"appearance-action"},xa={key:2,class:"group"},Ea={class:"item social-links"},Da=y({__name:"VPNavBarExtra",setup(e){const{site:t,theme:s}=C(),{localeLinks:n,currentLang:o}=le({correspondingLink:!0}),a=V(()=>n.value.length&&o.value.label||t.value.appearance||s.value.socialLinks);return(i,c)=>a.value?(r(),w(De,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:p(()=>[l(n).length&&l(o).label?(r(),u("div",Ta,[d("p",Aa,T(l(o).label),1),(r(!0),u(N,null,D(l(n),h=>(r(),w(be,{key:h.link,item:h},null,8,["item"]))),128))])):g("",!0),l(t).appearance&&l(t).appearance!=="force-dark"?(r(),u("div",Na,[d("div",Ba,[d("p",Ha,T(l(s).darkModeSwitchLabel||"Appearance"),1),d("div",za,[_(xe)])])])):g("",!0),l(s).socialLinks?(r(),u("div",xa,[d("div",Ea,[_(Oe,{class:"social-links-list",links:l(s).socialLinks},null,8,["links"])])])):g("",!0)]),_:1})):g("",!0)}}),Oa=k(Da,[["__scopeId","data-v-e4296c54"]]),Fa=e=>(W("data-v-38d1bd19"),e=e(),J(),e),ja=["aria-expanded"],Ua=Fa(()=>d("span",{class:"container"},[d("span",{class:"top"}),d("span",{class:"middle"}),d("span",{class:"bottom"})],-1)),qa=[Ua],Ga=y({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(e){return(t,s)=>(r(),u("button",{type:"button",class:A(["VPNavBarHamburger",{active:t.active}]),"aria-label":"mobile navigation","aria-expanded":t.active,"aria-controls":"VPNavScreen",onClick:s[0]||(s[0]=n=>t.$emit("click"))},qa,10,ja))}}),Ra=k(Ga,[["__scopeId","data-v-38d1bd19"]]),Ka=["innerHTML"],Wa=y({__name:"VPNavBarMenuLink",props:{item:{}},setup(e){const{page:t}=C();return(s,n)=>(r(),w(K,{class:A({VPNavBarMenuLink:!0,active:l(ee)(l(t).relativePath,s.item.activeMatch||s.item.link,!!s.item.activeMatch)}),href:s.item.link,target:s.item.target,rel:s.item.rel,tabindex:"0"},{default:p(()=>[d("span",{innerHTML:s.item.text},null,8,Ka)]),_:1},8,["class","href","target","rel"]))}}),Ja=k(Wa,[["__scopeId","data-v-12d14006"]]),Ya=y({__name:"VPNavBarMenuGroup",props:{item:{}},setup(e){const t=e,{page:s}=C(),n=a=>"link"in a?ee(s.value.relativePath,a.link,!!t.item.activeMatch):a.items.some(n),o=V(()=>n(t.item));return(a,i)=>(r(),w(De,{class:A({VPNavBarMenuGroup:!0,active:l(ee)(l(s).relativePath,a.item.activeMatch,!!a.item.activeMatch)||o.value}),button:a.item.text,items:a.item.items},null,8,["class","button","items"]))}}),Xa=e=>(W("data-v-09e66f57"),e=e(),J(),e),Za={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},Qa=Xa(()=>d("span",{id:"main-nav-aria-label",class:"visually-hidden"},"Main Navigation",-1)),ei=y({__name:"VPNavBarMenu",setup(e){const{theme:t}=C();return(s,n)=>l(t).nav?(r(),u("nav",Za,[Qa,(r(!0),u(N,null,D(l(t).nav,o=>(r(),u(N,{key:o.text},["link"in o?(r(),w(Ja,{key:0,item:o},null,8,["item"])):(r(),w(Ya,{key:1,item:o},null,8,["item"]))],64))),128))])):g("",!0)}}),ti=k(ei,[["__scopeId","data-v-09e66f57"]]),si="/document/assets/flex-logo.SQNie4Vp.svg";function Pe(e,t){return typeof e>"u"?t:e}function qe(e){const t=Array(e);for(let s=0;s<e;s++)t[s]=q();return t}function ni(e){return Object.keys(e)}function q(){return Object.create(null)}function oi(e){return[].concat.apply([],e)}function ai(e,t){return t.length-e.length}function ii(e){return e.constructor===Array}function fe(e){return typeof e=="string"}function Me(e){return typeof e=="object"}function ri(e){return typeof e=="function"}function li(e,t,s,n){if(e&&(t&&(e=we(e,t)),this.matcher&&(e=we(e,this.matcher)),this.stemmer&&1<e.length&&(e=we(e,this.stemmer)),n&&1<e.length&&(e=di(e)),s||s==="")){const o=e.split(s);return this.filter?hi(o,this.filter):o}return e}const ci=/[\p{Z}\p{S}\p{P}\p{C}]+/u;function ui(e){const t=q();for(let s=0,n=e.length;s<n;s++)t[e[s]]=1;return t}function Ge(e,t){const s=ni(e),n=s.length,o=[];let a="",i=0;for(let c,h,f=0;f<n;f++)c=s[f],h=e[c],h?(o[i++]=Re(t?"(?!\\b)"+c+"(\\b|_)":c),o[i++]=h):a+=(a?"|":"")+c;return a&&(o[i++]=Re(t?"(?!\\b)("+a+")(\\b|_)":"("+a+")"),o[i]=""),o}function we(e,t){for(let s=0,n=t.length;s<n&&(e=e.replace(t[s],t[s+1]),!!e);s+=2);return e}function Re(e){return new RegExp(e,"g")}function di(e){let t="",s="";for(let n,o=0,a=e.length;o<a;o++)(n=e[o])!==s&&(t+=s=n);return t}function hi(e,t){const s=e.length,n=[];for(let o=0,a=0;o<s;o++){const i=e[o];i&&!t[i]&&(n[a++]=i)}return n}function vi(e){return li.call(this,(""+e).toLowerCase(),!1,ci,!1)}const pi={},fi={};function _i(e){ie(e,"add"),ie(e,"append"),ie(e,"search"),ie(e,"update"),ie(e,"remove")}function ie(e,t){e[t+"Async"]=function(){const s=this,n=arguments,o=n[n.length-1];let a;ri(o)&&(a=o,delete n[n.length-1]);const i=new Promise(function(c){setTimeout(function(){s.async=!0;const h=s[t].apply(s,n);s.async=!1,c(h)})});return a?(i.then(a),this):i}}function mi(e,t,s,n){const o=e.length;let a,i,c=[],h=0;n&&(n=[]);for(let f=o-1;0<=f;f--){const m=e[f],$=m.length,L=q();let b=!a;for(let P=0;P<$;P++){const I=m[P],S=I.length;if(S)for(let U,E,R=0;R<S;R++)if(E=I[R],a){if(a[E]){if(!f){if(s)s--;else if(c[h++]=E,h===t)return c}(f||n)&&(L[E]=1),b=!0}if(n&&(i[E]=(U=i[E])?++U:U=1,U<o)){const X=n[U-2]||(n[U-2]=[]);X[X.length]=E}}else L[E]=1}if(n)a||(i=L);else if(!b)return[];a=L}if(n)for(let f,m,$=n.length-1;0<=$;$--){f=n[$],m=f.length;for(let L,b=0;b<m;b++)if(L=f[b],!a[L]){if(s)s--;else if(c[h++]=L,h===t)return c;a[L]=1}}return c}function ve(e){this.limit=e!==!0&&e,this.cache=q(),this.queue=[]}function gi(e,t,s){Me(e)&&(e=e.query);let n=this.cache.get(e);return n||(n=this.search(e,t,s),this.cache.set(e,n)),n}ve.prototype.set=function(e,t){if(!this.cache[e]){let s=this.queue.length;s===this.limit?delete this.cache[this.queue[s-1]]:s++;for(let n=s-1;0<n;n--)this.queue[n]=this.queue[n-1];this.queue[0]=e}this.cache[e]=t},ve.prototype.get=function(e){const t=this.cache[e];if(this.limit&&t){const s=this.queue.indexOf(e);if(s){const n=this.queue[s-1];this.queue[s-1]=this.queue[s],this.queue[s]=n}}return t},ve.prototype.del=function(e){for(let t,s,n=0;n<this.queue.length;n++)s=this.queue[n],t=this.cache[s],t.indexOf(e)!==-1&&(this.queue.splice(n--,1),delete this.cache[s])};const ki={memory:{charset:"latin:extra",resolution:3,minlength:4,fastupdate:!1},performance:{resolution:3,minlength:3,optimize:!1,context:{depth:2,resolution:1}},match:{charset:"latin:extra",tokenize:"reverse"},score:{charset:"latin:advanced",resolution:20,minlength:3,context:{depth:3,resolution:9}},default:{}};function $i(e){if(fe(e))e=ki[e];else{const t=e.preset;t&&(e=Object.assign({},t[t],e))}return e}function bi(e,t,s,n,o,a){setTimeout(function(){const i=e(s,JSON.stringify(a));i&&i.then?i.then(function(){t.export(e,t,s,n,o+1)}):t.export(e,t,s,n,o+1)})}function yi(e,t,s,n,o){let a,i;switch(o||(o=0)){case 0:if(a="reg",this.fastupdate)for(let c in i=q(),this.register)i[c]=1;else i=this.register;break;case 1:a="cfg",i={doc:0,opt:this.optimize?1:0};break;case 2:a="map",i=this.map;break;case 3:a="ctx",i=this.ctx;break;default:return}return bi(e,t||this,s?s+"."+a:a,n,o,i),!0}function Pi(e,t){t&&(fe(t)&&(t=JSON.parse(t)),e==="cfg"?this.optimize=!!t.opt:e==="reg"?(this.fastupdate=!1,this.register=t):e==="map"?this.map=t:e==="ctx"&&(this.ctx=t))}function j(e,t){if(!(this instanceof j))return new j(e);let s,n,o;e?(e=$i(e),s=e.charset,n=e.lang,fe(s)&&(s.indexOf(":")===-1&&(s+=":default"),s=fi[s]),fe(n)&&(n=pi[n])):e={};let a,i,c=e.context||{};this.encode=e.encode||s&&s.encode||vi,this.register=t||q(),this.resolution=a=e.resolution||9,this.tokenize=o=s&&s.tokenize||e.tokenize||"strict",this.depth=o==="strict"&&c.depth,this.bidirectional=Pe(c.bidirectional,!0),this.optimize=i=Pe(e.optimize,!0),this.fastupdate=Pe(e.fastupdate,!0),this.minlength=e.minlength||1,this.boost=e.boost,this.map=i?qe(a):q(),this.resolution_ctx=a=c.resolution||1,this.ctx=i?qe(a):q(),this.rtl=s&&s.rtl||e.rtl,this.matcher=(o=e.matcher||n&&n.matcher)&&Ge(o,!1),this.stemmer=(o=e.stemmer||n&&n.stemmer)&&Ge(o,!0),this.filter=(o=e.filter||n&&n.filter)&&ui(o),this.cache=(o=e.cache)&&new ve(o)}j.prototype.append=function(e,t){return this.add(e,t,!0)},j.prototype.add=function(e,t,s,n){if(t&&(e||e===0)){if(!n&&!s&&this.register[e])return this.update(e,t);t=this.encode(t);const o=t.length;if(o){const a=q(),i=q(),c=this.depth,h=this.resolution;for(let f=0;f<o;f++){let m=t[this.rtl?o-1-f:f],$=m.length;if(m&&$>=this.minlength&&(c||!i[m])){let L=ue(h,o,f),b="";switch(this.tokenize){case"full":if(3<$){for(let P=0;P<$;P++)for(let I=$;I>P;I--)if(I-P>=this.minlength){const S=ue(h,o,f,$,P);b=m.substring(P,I),this.push_index(i,b,S,e,s)}break}case"reverse":if(2<$){for(let P=$-1;0<P;P--)if(b=m[P]+b,b.length>=this.minlength){const I=ue(h,o,f,$,P);this.push_index(i,b,I,e,s)}b=""}case"forward":if(1<$){for(let P=0;P<$;P++)b+=m[P],b.length>=this.minlength&&this.push_index(i,b,L,e,s);break}default:if(this.boost&&(L=Math.min(0|L/this.boost(t,m,f),h-1)),this.push_index(i,m,L,e,s),c&&1<o&&f<o-1){const P=q(),I=this.resolution_ctx,S=m,U=Math.min(c+1,o-f);P[S]=1;for(let E=1;E<U;E++)if(m=t[this.rtl?o-1-f-E:f+E],m&&m.length>=this.minlength&&!P[m]){P[m]=1;const R=ue(I+(o/2>I?0:1),o,f,U-1,E-1),X=this.bidirectional&&m>S;this.push_index(a,X?S:m,R,e,s,X?m:S)}}}}}this.fastupdate||(this.register[e]=1)}}return this};function ue(e,t,s,n,o){return s&&1<e?t+(n||0)<=e?s+(o||0):0|(e-1)/(t+(n||0))*(s+(o||0))+1:0}j.prototype.push_index=function(e,t,s,n,o,a){let i=a?this.ctx:this.map;if((!e[t]||a&&!e[t][a])&&(this.optimize&&(i=i[s]),a?(e=e[t]||(e[t]=q()),e[a]=1,i=i[a]||(i[a]=q())):e[t]=1,i=i[t]||(i[t]=[]),this.optimize||(i=i[s]||(i[s]=[])),(!o||i.indexOf(n)===-1)&&(i[i.length]=n,this.fastupdate))){const c=this.register[n]||(this.register[n]=[]);c[c.length]=i}},j.prototype.search=function(e,t,s){s||(!t&&Me(e)?(s=e,e=s.query):Me(t)&&(s=t));let n,o,a,i=[],c=0;if(s&&(t=s.limit,c=s.offset||0,o=s.context,a=s.suggest),e&&(e=this.encode(e),n=e.length,1<n)){const $=q(),L=[];for(let b,P=0,I=0;P<n;P++)if(b=e[P],b&&b.length>=this.minlength&&!$[b]){if(!this.optimize&&!a&&!this.map[b])return i;L[I++]=b,$[b]=1}e=L,n=e.length}if(!n)return i;t||(t=100);let h,f=this.depth&&1<n&&o!==!1,m=0;f?(h=e[0],m=1):1<n&&e.sort(ai);for(let $,L;m<n;m++){if(L=e[m],f?($=this.add_result(i,a,t,c,n===2,L,h),(!a||$!==!1||!i.length)&&(h=L)):$=this.add_result(i,a,t,c,n===1,L),$)return $;if(a&&m==n-1){let b=i.length;if(!b){if(f){f=0,m=-1;continue}return i}if(b===1)return Ke(i[0],t,c)}}return mi(i,t,c,a)},j.prototype.add_result=function(e,t,s,n,o,a,i){let c=[],h=i?this.ctx:this.map;if(this.optimize||(h=We(h,a,i,this.bidirectional)),h){let f=0;const m=Math.min(h.length,i?this.resolution_ctx:this.resolution);for(let $,L,b=0,P=0;b<m&&($=h[b],!($&&(this.optimize&&($=We($,a,i,this.bidirectional)),n&&$&&o&&(L=$.length,L<=n?(n-=L,$=null):($=$.slice(n),n=0)),$&&(c[f++]=$,o&&(P+=$.length,P>=s)))));b++);if(f)return o?Ke(c,s,0):void(e[e.length]=c)}return!t&&c};function Ke(e,t,s){return e=e.length===1?e[0]:oi(e),s||e.length>t?e.slice(s,s+t):e}function We(e,t,s,n){if(s){const o=n&&t>s;e=e[o?t:s],e=e&&e[o?s:t]}else e=e[t];return e}j.prototype.contain=function(e){return!!this.register[e]},j.prototype.update=function(e,t){return this.remove(e).add(e,t)},j.prototype.remove=function(e,t){const s=this.register[e];if(s){if(this.fastupdate)for(let n,o=0;o<s.length;o++)n=s[o],n.splice(n.indexOf(e),1);else _e(this.map,e,this.resolution,this.optimize),this.depth&&_e(this.ctx,e,this.resolution_ctx,this.optimize);t||delete this.register[e],this.cache&&this.cache.del(e)}return this};function _e(e,t,s,n,o){let a=0;if(ii(e))if(o){const i=e.indexOf(t);i===-1?a++:1<e.length&&(e.splice(i,1),a++)}else{o=Math.min(e.length,s);for(let i,c=0;c<o;c++)i=e[c],i&&(a=_e(i,t,s,n,o),!n&&!a&&delete e[c])}else for(let i in e)a=_e(e[i],t,s,n,o),a||delete e[i];return a}j.prototype.searchCache=gi,j.prototype.export=yi,j.prototype.import=Pi,_i(j.prototype);const wi={class:"VPNavBarSearch"},Vi={class:"DocSearch-Form"},Li=d("label",{class:"DocSearch-MagnifierLabel",for:"docsearch-input",id:"docsearch-label"},[d("svg",{width:"20",height:"20",class:"DocSearch-Search-Icon",viewBox:"0 0 20 20"},[d("path",{d:"M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z",stroke:"currentColor",fill:"none","fill-rule":"evenodd","stroke-linecap":"round","stroke-linejoin":"round"})])],-1),Si=["placeholder"],Mi={class:"VPPluginSearch-search-list"},Ii={class:"VPPluginSearch-search-group"},Ci=["href","onMouseenter","id"],Ti={class:"VPPluginSearch-search-item"},Ai={class:"VPPluginSearch-search-item-icon"},Ni={style:{width:"100%"}},Bi=["innerHTML"],Hi=d("span",{class:"VPPluginSearch-search-item-icon"},"↪",-1),zi=d("img",{class:"VPPluginSearch-flex-logo",src:si,alt:"flex logo"},null,-1),xi={type:"button",class:"DocSearch DocSearch-Button","aria-label":"Search"},Ei={class:"DocSearch-Button-Container"},Di=d("svg",{width:"20",height:"20",class:"DocSearch-Search-Icon",viewBox:"0 0 20 20"},[d("path",{d:"M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z",stroke:"currentColor",fill:"none","fill-rule":"evenodd","stroke-linecap":"round","stroke-linejoin":"round"})],-1),Oi={class:"DocSearch-Button-Placeholder"},Fi={class:"DocSearch-Button-Keys"},ji=d("span",{class:"DocSearch-Button-Key"},"K",-1),Ui=y({__name:"Search",setup(e){const t=Je(),s=t.localeIndex||t.localePath,n=M(),o=M(!1),a=M(),i=M(""),c=M(),h=M(),f=M(),m=M(),$=M(),L=M("Search"),b=M("Search docs"),P=M(0),I=M(),S=kt(),U=V(()=>{if(a.value){for(var H=$.value.search(a.value,{enrich:!0}),B=[],O=0;O<H.length;O++){var z=H[O],x=f.value[z],F=x.t,oe=x.p,ce=x.l,ht=x.a;ce=ce.split(" ").join("-"),B.push({id:O,link:ce,title:F,preview:oe,anchor:ht})}return B}}),E=(H,B)=>!H||!H.length?[]:H.reduce((O,z)=>(O[B(z)]||(O[B(z)]=[]),O[B(z)].push(z),O),{}),R=()=>{setTimeout(()=>{c.value&&c.value.focus()},100),Fe(),o.value=!0};te(async()=>{var z,x;const H=await $t(()=>import("./virtual_search-data.FK9W8Fwo.js"),__vite__mapDeps([]));h.value=H.default.INDEX_DATA,f.value=H.default.PREVIEW_LOOKUP,m.value=H.default.Options,i.value=window.location.origin+me(s.value==="root"?"/":s.value),L.value=((z=m.value)==null?void 0:z.buttonLabel)||L.value,b.value=((x=m.value)==null?void 0:x.placeholder)||b.value;var B=new j(m.value);B.import("reg",h.value.reg),B.import("cfg",h.value.cfg),B.import("map",h.value.map),B.import("ctx",h.value.ctx),$.value=B,n.value.innerHTML=/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?"⌘":"Ctrl";const O=F=>{var oe;F.key==="k"&&(F.ctrlKey||F.metaKey)&&(F.preventDefault(),R()),F.key==="Escape"&&((oe=a.value)==null?void 0:oe.length)==0&&o.value&&(o.value=!1)};window.addEventListener("keydown",O)});const X=V(()=>E(U.value,H=>H.link.split("/").slice(0,-1).join("-"))),ne=V(()=>Object.values(X.value).flat().map(H=>H.id));function Fe(){o.value=!1,a.value=""}const dt=H=>{var B,O;if(document.getElementsByClassName("search-group")[0]){if(H.key=="ArrowUp"||H.key=="ArrowDown"){const z=ne.value.indexOf(P.value);if(H.key=="ArrowUp"){const x=z==0?ne.value.length-1:z-1;P.value=ne.value[x]}if(H.key=="ArrowDown"){const x=z>ne.value.length-2?0:z+1;P.value=ne.value[x]}if(z<5){const x=I.value.getElementsByClassName("VPPluginSearch-search-group")[0];x==null||x.scrollIntoView(!0)}else(B=document.getElementById(ne.value[P.value]))==null||B.scrollIntoView(!0);Ze()}H.key=="Enter"&&S.go(t.site.value.base+((O=I.value.getElementsByClassName("link-focused")[0].getAttribute("href"))==null?void 0:O.replace(i.value,"")))}};return(H,B)=>{const O=Z("ClientOnly");return r(),u("div",wi,[_(O,null,{default:p(()=>[(r(),w(Pt,{to:"body"},[je(d("div",{class:"VPPluginSearch-modal-back",onClick:B[2]||(B[2]=z=>o.value=!1),onKeydown:dt},[d("div",{class:"VPPluginSearch-modal",onClick:B[1]||(B[1]=et(()=>{},["stop"])),ref_key:"modal",ref:I},[d("form",Vi,[Li,je(d("input",{class:"DocSearch-Input","aria-autocomplete":"both","aria-labelledby":"docsearch-label",id:"docsearch-input",autocomplete:"off",autocorrect:"off",autocapitalize:"off",enterkeyhint:"search",spellcheck:"false",autofocus:"true","onUpdate:modelValue":B[0]||(B[0]=z=>a.value=z),placeholder:b.value,maxlength:"64",type:"search",ref_key:"input",ref:c},null,8,Si),[[yt,a.value]])]),d("div",Mi,[(r(!0),u(N,null,D(X.value,(z,x)=>(r(),u("div",{class:"search-group",key:x},[d("span",Ii,T(x?x.toString()[0].toUpperCase()+x.toString().slice(1):"Home"),1),(r(!0),u(N,null,D(z,(F,oe)=>(r(),u("a",{href:i.value+F.link,key:F.id,onClick:Fe,onMouseenter:ce=>P.value=F.id,class:A({"link-focused":P.value==F.id}),id:oe.toString()},[d("div",Ti,[d("span",Ai,T(F.link.includes("#")?"#":"▤"),1),d("div",Ni,[d("h3",null,T(F.title),1),d("p",null,[d("div",{innerHTML:F.preview},null,8,Bi)])]),Hi])],42,Ci))),128))]))),128))]),zi],512)],544),[[bt,o.value]])]))]),_:1}),d("div",{id:"docsearch",onClick:B[3]||(B[3]=z=>R())},[d("button",xi,[d("span",Ei,[Di,d("span",Oi,T(L.value),1)]),d("span",Fi,[d("span",{class:"DocSearch-Button-Key",ref_key:"metaKey",ref:n},"Meta",512),ji])])])])}}}),qi=y({__name:"VPNavBarSocialLinks",setup(e){const{theme:t}=C();return(s,n)=>l(t).socialLinks?(r(),w(Oe,{key:0,class:"VPNavBarSocialLinks",links:l(t).socialLinks},null,8,["links"])):g("",!0)}}),Gi=k(qi,[["__scopeId","data-v-d8e1041f"]]),Ri=["href"],Ki=y({__name:"VPNavBarTitle",setup(e){const{site:t,theme:s}=C(),{hasSidebar:n}=Y(),{currentLang:o}=le();return(a,i)=>(r(),u("div",{class:A(["VPNavBarTitle",{"has-sidebar":l(n)}])},[d("a",{class:"title",href:l(s).logoLink??l(Ae)(l(o).link)},[v(a.$slots,"nav-bar-title-before",{},void 0,!0),l(s).logo?(r(),w(pe,{key:0,class:"logo",image:l(s).logo},null,8,["image"])):g("",!0),l(s).siteTitle?(r(),u(N,{key:1},[G(T(l(s).siteTitle),1)],64)):l(s).siteTitle===void 0?(r(),u(N,{key:2},[G(T(l(t).title),1)],64)):g("",!0),v(a.$slots,"nav-bar-title-after",{},void 0,!0)],8,Ri)],2))}}),Wi=k(Ki,[["__scopeId","data-v-5606815e"]]),Ji={},Yi={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Xi=d("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1),Zi=d("path",{d:" M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z ",class:"css-c4d79v"},null,-1),Qi=[Xi,Zi];function er(e,t){return r(),u("svg",Yi,Qi)}const lt=k(Ji,[["render",er]]),tr={class:"items"},sr={class:"title"},nr=y({__name:"VPNavBarTranslations",setup(e){const{theme:t}=C(),{localeLinks:s,currentLang:n}=le({correspondingLink:!0});return(o,a)=>l(s).length&&l(n).label?(r(),w(De,{key:0,class:"VPNavBarTranslations",icon:lt,label:l(t).langMenuLabel||"Change language"},{default:p(()=>[d("div",tr,[d("p",sr,T(l(n).label),1),(r(!0),u(N,null,D(l(s),i=>(r(),w(be,{key:i.link,item:i},null,8,["item"]))),128))])]),_:1},8,["label"])):g("",!0)}}),or=k(nr,[["__scopeId","data-v-97e27cc0"]]),ar=e=>(W("data-v-80433010"),e=e(),J(),e),ir={class:"container"},rr={class:"title"},lr={class:"content"},cr=ar(()=>d("div",{class:"curtain"},null,-1)),ur={class:"content-body"},dr=y({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(e){const{y:t}=Qe(),{hasSidebar:s}=Y(),{frontmatter:n}=C(),o=M({});return Ye(()=>{o.value={"has-sidebar":s.value,top:n.value.layout==="home"&&t.value===0}}),(a,i)=>(r(),u("div",{class:A(["VPNavBar",o.value])},[d("div",ir,[d("div",rr,[_(Wi,null,{"nav-bar-title-before":p(()=>[v(a.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":p(()=>[v(a.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),d("div",lr,[cr,d("div",ur,[v(a.$slots,"nav-bar-content-before",{},void 0,!0),_(Ui,{class:"search"}),_(ti,{class:"menu"}),_(or,{class:"translations"}),_(Ko,{class:"appearance"}),_(Gi,{class:"social-links"}),_(Oa,{class:"extra"}),v(a.$slots,"nav-bar-content-after",{},void 0,!0),_(Ra,{class:"hamburger",active:a.isScreenOpen,onClick:i[0]||(i[0]=c=>a.$emit("toggle-screen"))},null,8,["active"])])])])],2))}}),hr=k(dr,[["__scopeId","data-v-80433010"]]),vr={key:0,class:"VPNavScreenAppearance"},pr={class:"text"},fr=y({__name:"VPNavScreenAppearance",setup(e){const{site:t,theme:s}=C();return(n,o)=>l(t).appearance&&l(t).appearance!=="force-dark"?(r(),u("div",vr,[d("p",pr,T(l(s).darkModeSwitchLabel||"Appearance"),1),_(xe)])):g("",!0)}}),_r=k(fr,[["__scopeId","data-v-6e00bd7a"]]),mr=y({__name:"VPNavScreenMenuLink",props:{item:{}},setup(e){const t=$e("close-screen");return(s,n)=>(r(),w(K,{class:"VPNavScreenMenuLink",href:s.item.link,target:s.item.target,rel:s.item.rel,onClick:l(t)},{default:p(()=>[G(T(s.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}}),gr=k(mr,[["__scopeId","data-v-f1dc5061"]]),kr={},$r={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},br=d("path",{d:"M18.9,10.9h-6v-6c0-0.6-0.4-1-1-1s-1,0.4-1,1v6h-6c-0.6,0-1,0.4-1,1s0.4,1,1,1h6v6c0,0.6,0.4,1,1,1s1-0.4,1-1v-6h6c0.6,0,1-0.4,1-1S19.5,10.9,18.9,10.9z"},null,-1),yr=[br];function Pr(e,t){return r(),u("svg",$r,yr)}const wr=k(kr,[["render",Pr]]),Vr=y({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(e){const t=$e("close-screen");return(s,n)=>(r(),w(K,{class:"VPNavScreenMenuGroupLink",href:s.item.link,target:s.item.target,rel:s.item.rel,onClick:l(t)},{default:p(()=>[G(T(s.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}}),ct=k(Vr,[["__scopeId","data-v-5fa73bc4"]]),Lr={class:"VPNavScreenMenuGroupSection"},Sr={key:0,class:"title"},Mr=y({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(e){return(t,s)=>(r(),u("div",Lr,[t.text?(r(),u("p",Sr,T(t.text),1)):g("",!0),(r(!0),u(N,null,D(t.items,n=>(r(),w(ct,{key:n.text,item:n},null,8,["item"]))),128))]))}}),Ir=k(Mr,[["__scopeId","data-v-78554050"]]),Cr=["aria-controls","aria-expanded"],Tr=["innerHTML"],Ar=["id"],Nr={key:1,class:"group"},Br=y({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(e){const t=e,s=M(!1),n=V(()=>`NavScreenGroup-${t.text.replace(" ","-").toLowerCase()}`);function o(){s.value=!s.value}return(a,i)=>(r(),u("div",{class:A(["VPNavScreenMenuGroup",{open:s.value}])},[d("button",{class:"button","aria-controls":n.value,"aria-expanded":s.value,onClick:o},[d("span",{class:"button-text",innerHTML:a.text},null,8,Tr),_(wr,{class:"button-icon"})],8,Cr),d("div",{id:n.value,class:"items"},[(r(!0),u(N,null,D(a.items,c=>(r(),u(N,{key:c.text},["link"in c?(r(),u("div",{key:c.text,class:"item"},[_(ct,{item:c},null,8,["item"])])):(r(),u("div",Nr,[_(Ir,{text:c.text,items:c.items},null,8,["text","items"])]))],64))),128))],8,Ar)],2))}}),Hr=k(Br,[["__scopeId","data-v-71478f73"]]),zr={key:0,class:"VPNavScreenMenu"},xr=y({__name:"VPNavScreenMenu",setup(e){const{theme:t}=C();return(s,n)=>l(t).nav?(r(),u("nav",zr,[(r(!0),u(N,null,D(l(t).nav,o=>(r(),u(N,{key:o.text},["link"in o?(r(),w(gr,{key:0,item:o},null,8,["item"])):(r(),w(Hr,{key:1,text:o.text||"",items:o.items},null,8,["text","items"]))],64))),128))])):g("",!0)}}),Er=y({__name:"VPNavScreenSocialLinks",setup(e){const{theme:t}=C();return(s,n)=>l(t).socialLinks?(r(),w(Oe,{key:0,class:"VPNavScreenSocialLinks",links:l(t).socialLinks},null,8,["links"])):g("",!0)}}),Dr={class:"list"},Or=y({__name:"VPNavScreenTranslations",setup(e){const{localeLinks:t,currentLang:s}=le({correspondingLink:!0}),n=M(!1);function o(){n.value=!n.value}return(a,i)=>l(t).length&&l(s).label?(r(),u("div",{key:0,class:A(["VPNavScreenTranslations",{open:n.value}])},[d("button",{class:"title",onClick:o},[_(lt,{class:"icon lang"}),G(" "+T(l(s).label)+" ",1),_(rt,{class:"icon chevron"})]),d("ul",Dr,[(r(!0),u(N,null,D(l(t),c=>(r(),u("li",{key:c.link,class:"item"},[_(K,{class:"link",href:c.link},{default:p(()=>[G(T(c.text),1)]),_:2},1032,["href"])]))),128))])],2)):g("",!0)}}),Fr=k(Or,[["__scopeId","data-v-3dee8c57"]]),jr={class:"container"},Ur=y({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(e){const t=M(null),s=tt(ae?document.body:null);return(n,o)=>(r(),w(Ie,{name:"fade",onEnter:o[0]||(o[0]=a=>s.value=!0),onAfterLeave:o[1]||(o[1]=a=>s.value=!1)},{default:p(()=>[n.open?(r(),u("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:t,id:"VPNavScreen"},[d("div",jr,[v(n.$slots,"nav-screen-content-before",{},void 0,!0),_(xr,{class:"menu"}),_(Fr,{class:"translations"}),_(_r,{class:"appearance"}),_(Er,{class:"social-links"}),v(n.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):g("",!0)]),_:3}))}}),qr=k(Ur,[["__scopeId","data-v-05ed51bf"]]),Gr={key:0,class:"VPNav"},Rr=y({__name:"VPNav",setup(e){const{isScreenOpen:t,closeScreen:s,toggleScreen:n}=Vo(),{frontmatter:o}=C(),a=V(()=>o.value.navbar!==!1);return st("close-screen",s),ge(()=>{ae&&document.documentElement.classList.toggle("hide-nav",!a.value)}),(i,c)=>a.value?(r(),u("header",Gr,[_(hr,{"is-screen-open":l(t),onToggleScreen:l(n)},{"nav-bar-title-before":p(()=>[v(i.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":p(()=>[v(i.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":p(()=>[v(i.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":p(()=>[v(i.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),_(qr,{open:l(t)},{"nav-screen-content-before":p(()=>[v(i.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":p(()=>[v(i.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):g("",!0)}}),Kr=k(Rr,[["__scopeId","data-v-ebb023b0"]]),Wr=e=>(W("data-v-cf728725"),e=e(),J(),e),Jr=["role","tabindex"],Yr=Wr(()=>d("div",{class:"indicator"},null,-1)),Xr={key:1,class:"items"},Zr=y({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(e){const t=e,{collapsed:s,collapsible:n,isLink:o,isActiveLink:a,hasActiveLink:i,hasChildren:c,toggle:h}=Kt(V(()=>t.item)),f=V(()=>c.value?"section":"div"),m=V(()=>o.value?"a":"div"),$=V(()=>c.value?t.depth+2===7?"p":`h${t.depth+2}`:"p"),L=V(()=>o.value?void 0:"button"),b=V(()=>[[`level-${t.depth}`],{collapsible:n.value},{collapsed:s.value},{"is-link":o.value},{"is-active":a.value},{"has-active":i.value}]);function P(S){"key"in S&&S.key!=="Enter"||!t.item.link&&h()}function I(){t.item.link&&h()}return(S,U)=>{const E=Z("VPSidebarItem",!0);return r(),w(Q(f.value),{class:A(["VPSidebarItem",b.value])},{default:p(()=>[S.item.text?(r(),u("div",de({key:0,class:"item",role:L.value},Vt(S.item.items?{click:P,keydown:P}:{},!0),{tabindex:S.item.items&&0}),[Yr,S.item.link?(r(),w(K,{key:0,tag:m.value,class:"link",href:S.item.link,rel:S.item.rel,target:S.item.target},{default:p(()=>[(r(),w(Q($.value),{class:"text",innerHTML:S.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(r(),w(Q($.value),{key:1,class:"text",innerHTML:S.item.text},null,8,["innerHTML"])),S.item.collapsed!=null?(r(),u("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:I,onKeydown:wt(I,["enter"]),tabindex:"0"},[_(ze,{class:"caret-icon"})],32)):g("",!0)],16,Jr)):g("",!0),S.item.items&&S.item.items.length?(r(),u("div",Xr,[S.depth<5?(r(!0),u(N,{key:0},D(S.item.items,R=>(r(),w(E,{key:R.text,item:R,depth:S.depth+1},null,8,["item","depth"]))),128)):g("",!0)])):g("",!0)]),_:1},8,["class"])}}}),Qr=k(Zr,[["__scopeId","data-v-cf728725"]]),ut=e=>(W("data-v-4dca7019"),e=e(),J(),e),el=ut(()=>d("div",{class:"curtain"},null,-1)),tl={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},sl=ut(()=>d("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),nl=y({__name:"VPSidebar",props:{open:{type:Boolean}},setup(e){const{sidebarGroups:t,hasSidebar:s}=Y(),n=e,o=M(null),a=tt(ae?document.body:null);return se([n,o],()=>{var i;n.open?(a.value=!0,(i=o.value)==null||i.focus()):a.value=!1},{immediate:!0,flush:"post"}),(i,c)=>l(s)?(r(),u("aside",{key:0,class:A(["VPSidebar",{open:i.open}]),ref_key:"navEl",ref:o,onClick:c[0]||(c[0]=et(()=>{},["stop"]))},[el,d("nav",tl,[sl,v(i.$slots,"sidebar-nav-before",{},void 0,!0),(r(!0),u(N,null,D(l(t),h=>(r(),u("div",{key:h.text,class:"group"},[_(Qr,{item:h,depth:0},null,8,["item"])]))),128)),v(i.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):g("",!0)}}),ol=k(nl,[["__scopeId","data-v-4dca7019"]]),al=y({__name:"VPSkipLink",setup(e){const t=ke(),s=M();se(()=>t.path,()=>s.value.focus());function n({target:o}){const a=document.getElementById(decodeURIComponent(o.hash).slice(1));if(a){const i=()=>{a.removeAttribute("tabindex"),a.removeEventListener("blur",i)};a.setAttribute("tabindex","-1"),a.addEventListener("blur",i),a.focus(),window.scrollTo(0,0)}}return(o,a)=>(r(),u(N,null,[d("span",{ref_key:"backToTop",ref:s,tabindex:"-1"},null,512),d("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:n}," Skip to content ")],64))}}),il=k(al,[["__scopeId","data-v-6972e190"]]),rl=y({__name:"Layout",setup(e){const{isOpen:t,open:s,close:n}=Y(),o=ke();se(()=>o.path,n),Rt(t,n);const{frontmatter:a}=C(),i=Lt(),c=V(()=>!!i["home-hero-image"]);return st("hero-image-slot-exists",c),(h,f)=>{const m=Z("Content");return l(a).layout!==!1?(r(),u("div",{key:0,class:A(["Layout",l(a).pageClass])},[v(h.$slots,"layout-top",{},void 0,!0),_(il),_(Tt,{class:"backdrop",show:l(t),onClick:l(n)},null,8,["show","onClick"]),_(Kr,null,{"nav-bar-title-before":p(()=>[v(h.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":p(()=>[v(h.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":p(()=>[v(h.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":p(()=>[v(h.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":p(()=>[v(h.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":p(()=>[v(h.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),_(wo,{open:l(t),onOpenMenu:l(s)},null,8,["open","onOpenMenu"]),_(ol,{open:l(t)},{"sidebar-nav-before":p(()=>[v(h.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":p(()=>[v(h.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),_(to,null,{"page-top":p(()=>[v(h.$slots,"page-top",{},void 0,!0)]),"page-bottom":p(()=>[v(h.$slots,"page-bottom",{},void 0,!0)]),"not-found":p(()=>[v(h.$slots,"not-found",{},void 0,!0)]),"home-hero-before":p(()=>[v(h.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info":p(()=>[v(h.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":p(()=>[v(h.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":p(()=>[v(h.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":p(()=>[v(h.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":p(()=>[v(h.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":p(()=>[v(h.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":p(()=>[v(h.$slots,"doc-before",{},void 0,!0)]),"doc-after":p(()=>[v(h.$slots,"doc-after",{},void 0,!0)]),"doc-top":p(()=>[v(h.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":p(()=>[v(h.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":p(()=>[v(h.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":p(()=>[v(h.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":p(()=>[v(h.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":p(()=>[v(h.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":p(()=>[v(h.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":p(()=>[v(h.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),_(io),v(h.$slots,"layout-bottom",{},void 0,!0)],2)):(r(),w(m,{key:1}))}}}),ll=k(rl,[["__scopeId","data-v-7694a090"]]),ul={Layout:ll,enhanceApp:({app:e})=>{e.component("Badge",Mt)}};export{ul as t};
function __vite__mapDeps(indexes) {
if (!__vite__mapDeps.viteFileDeps) {
__vite__mapDeps.viteFileDeps = []
}
return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
}