mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-09 20:26:16 -08:00
8 lines
78 KiB
JavaScript
8 lines
78 KiB
JavaScript
import{d as $,o as r,c as d,r as v,n as N,a as j,t as x,_ as k,b as w,w as h,T as Ie,e as b,u as at,i as $t,P as Pt,f as ye,g as L,h as S,j as W,k as _,l,p as R,m as U,q as Vt,s as wt,v as Z,x as be,y as St,z as te,A as ke,B as Ae,C as Be,D as Lt,E as Y,F as B,G as E,H as Ne,I as ae,J as y,K as Q,L as it,M as $e,N as ue,O as He,Q as Mt,R as xt,S as Ct,U as Xe,V as Tt,W as It,X as Je,Y as At,Z as rt,$ as Bt,a0 as Nt,a1 as de,a2 as Ht,a3 as zt,a4 as Et}from"./framework.532b6b18.js";const Dt=$({__name:"VPBadge",props:{text:{},type:{}},setup(e){return(t,n)=>(r(),d("span",{class:N(["VPBadge",t.type??"tip"])},[v(t.$slots,"default",{},()=>[j(x(t.text),1)],!0)],2))}});const Ot=k(Dt,[["__scopeId","data-v-02919808"]]),Ft={key:0,class:"VPBackdrop"},jt=$({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(e){return(t,n)=>(r(),w(Ie,{name:"fade"},{default:h(()=>[t.show?(r(),d("div",Ft)):b("",!0)]),_:1}))}});const Gt=k(jt,[["__scopeId","data-v-c79a1216"]]),C=at;function qt(e,t){let n,s=!1;return()=>{n&&clearTimeout(n),s?n=setTimeout(e,t):(e(),s=!0,setTimeout(()=>{s=!1},t))}}function Me(e){return/^\//.test(e)?e:`/${e}`}function ie(e){if($t(e))return e.replace(Pt,"");const{site:t}=C(),{pathname:n,search:s,hash:o}=new URL(e,"http://a.com"),a=n.endsWith("/")||n.endsWith(".html")?e:e.replace(/(?:(^\.+)\/)?.*$/,`$1${n.replace(/(\.md)?$/,t.value.cleanUrls?"":".html")}${s}${o}`);return ye(a)}function re({removeCurrent:e=!0,correspondingLink:t=!1}={}){const{site:n,localeIndex:s,page:o,theme:a}=C(),i=L(()=>{var u,p;return{label:(u=n.value.locales[s.value])==null?void 0:u.label,link:((p=n.value.locales[s.value])==null?void 0:p.link)||(s.value==="root"?"/":`/${s.value}/`)}});return{localeLinks:L(()=>Object.entries(n.value.locales).flatMap(([u,p])=>e&&i.value.label===p.label?[]:{text:p.label,link:Rt(p.link||(u==="root"?"/":`/${u}/`),a.value.i18nRouting!==!1&&t,o.value.relativePath.slice(i.value.link.length-1),!n.value.cleanUrls)})),currentLang:i}}function Rt(e,t,n,s){return t?e.replace(/\/$/,"")+Me(n.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,s?".html":"")):e}const Ut=e=>(R("data-v-a172abb3"),e=e(),U(),e),Wt={class:"NotFound"},Kt={class:"code"},Yt={class:"title"},Xt=Ut(()=>_("div",{class:"divider"},null,-1)),Jt={class:"quote"},Qt={class:"action"},Zt=["href","aria-label"],en=$({__name:"NotFound",setup(e){const{site:t,theme:n}=C(),{localeLinks:s}=re({removeCurrent:!1}),o=S("/");return W(()=>{var i;const a=window.location.pathname.replace(t.value.base,"").replace(/(^.*?\/).*$/,"/$1");s.value.length&&(o.value=((i=s.value.find(({link:c})=>c.startsWith(a)))==null?void 0:i.link)||s.value[0].link)}),(a,i)=>{var c,u,p,m,f;return r(),d("div",Wt,[_("p",Kt,x(((c=l(n).notFound)==null?void 0:c.code)??"404"),1),_("h1",Yt,x(((u=l(n).notFound)==null?void 0:u.title)??"PAGE NOT FOUND"),1),Xt,_("blockquote",Jt,x(((p=l(n).notFound)==null?void 0:p.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),_("div",Qt,[_("a",{class:"link",href:l(ye)(o.value),"aria-label":((m=l(n).notFound)==null?void 0:m.linkLabel)??"go to home"},x(((f=l(n).notFound)==null?void 0:f.linkText)??"Take me home"),9,Zt)])])}}});const tn=k(en,[["__scopeId","data-v-a172abb3"]]);function lt(e){return Vt()?(wt(e),!0):!1}function ze(e){return typeof e=="function"?e():l(e)}const nn=typeof window<"u"&&typeof document<"u",sn=()=>{};function on(e){const t=ze(e);return(t==null?void 0:t.$el)??t}const Ee=nn?window:void 0;function an(...e){let t,n,s,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,s,o]=e,t=Ee):[t,n,s,o]=e,!t)return sn;Array.isArray(n)||(n=[n]),Array.isArray(s)||(s=[s]);const a=[],i=()=>{a.forEach(m=>m()),a.length=0},c=(m,f,P,g)=>(m.addEventListener(f,P,g),()=>m.removeEventListener(f,P,g)),u=Z(()=>[on(t),ze(o)],([m,f])=>{i(),m&&a.push(...n.flatMap(P=>s.map(g=>c(m,P,g,f))))},{immediate:!0,flush:"post"}),p=()=>{u(),i()};return lt(p),p}function rn(){const e=S(!1);return St()&&W(()=>{e.value=!0}),e}function ln(e){const t=rn();return L(()=>(t.value,!!e()))}function xe(e,t={}){const{window:n=Ee}=t,s=ln(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let o;const a=S(!1),i=p=>{a.value=p.matches},c=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",i):o.removeListener(i))},u=be(()=>{s.value&&(c(),o=n.matchMedia(ze(e)),"addEventListener"in o?o.addEventListener("change",i):o.addListener(i),a.value=o.matches)});return lt(()=>{u(),c(),o=void 0}),a}function ct({window:e=Ee}={}){if(!e)return{x:S(0),y:S(0)};const t=S(e.scrollX),n=S(e.scrollY);return an(e,"scroll",()=>{t.value=e.scrollX,n.value=e.scrollY},{capture:!1,passive:!0}),{x:t,y:n}}function ut(e,t){if(Array.isArray(e))return _e(e);if(e==null)return[];t=Me(t);const n=Object.keys(e).sort((o,a)=>a.split("/").length-o.split("/").length).find(o=>t.startsWith(Me(o))),s=n?e[n]:[];return Array.isArray(s)?_e(s):_e(s.items,s.base)}function cn(e){const t=[];let n=0;for(const s in e){const o=e[s];if(o.items){n=t.push(o);continue}t[n]||t.push({items:[]}),t[n].items.push(o)}return t}function un(e){const t=[];function n(s){for(const o of s)o.text&&o.link&&t.push({text:o.text,link:o.link,docFooterText:o.docFooterText}),o.items&&n(o.items)}return n(e),t}function Ce(e,t){return Array.isArray(t)?t.some(n=>Ce(e,n)):te(e,t.link)?!0:t.items?Ce(e,t.items):!1}function _e(e,t){return[...e].map(n=>{const s={...n},o=s.base||t;return o&&s.link&&(s.link=o+s.link),s.items&&(s.items=_e(s.items,o)),s})}function K(){const{frontmatter:e,page:t,theme:n}=C(),s=xe("(min-width: 960px)"),o=S(!1),a=L(()=>{const V=n.value.sidebar,I=t.value.relativePath;return V?ut(V,I):[]}),i=L(()=>e.value.sidebar!==!1&&a.value.length>0&&e.value.layout!=="home"),c=L(()=>u?e.value.aside==null?n.value.aside==="left":e.value.aside==="left":!1),u=L(()=>e.value.layout==="home"?!1:e.value.aside!=null?!!e.value.aside:n.value.aside!==!1),p=L(()=>i.value&&s.value),m=L(()=>i.value?cn(a.value):[]);function f(){o.value=!0}function P(){o.value=!1}function g(){o.value?P():f()}return{isOpen:o,sidebar:a,sidebarGroups:m,hasSidebar:i,hasAside:u,leftAside:c,isSidebarEnabled:p,open:f,close:P,toggle:g}}function dn(e,t){let n;be(()=>{n=e.value?document.activeElement:void 0}),W(()=>{window.addEventListener("keyup",s)}),Ae(()=>{window.removeEventListener("keyup",s)});function s(o){o.key==="Escape"&&e.value&&(t(),n==null||n.focus())}}const dt=S(ke?location.hash:"");ke&&window.addEventListener("hashchange",()=>{dt.value=location.hash});function _n(e){const{page:t}=C(),n=S(!1),s=L(()=>e.value.collapsed!=null),o=L(()=>!!e.value.link),a=S(!1),i=()=>{a.value=te(t.value.relativePath,e.value.link)};Z([t,e,dt],i),W(i);const c=L(()=>a.value?!0:e.value.items?Ce(t.value.relativePath,e.value.items):!1),u=L(()=>!!(e.value.items&&e.value.items.length));be(()=>{n.value=!!(s.value&&e.value.collapsed)}),Be(()=>{(a.value||c.value)&&(n.value=!1)});function p(){s.value&&(n.value=!n.value)}return{collapsed:n,collapsible:s,isLink:o,isActiveLink:a,hasActiveLink:c,hasChildren:u,toggle:p}}function vn(){const{hasSidebar:e}=K(),t=xe("(min-width: 960px)"),n=xe("(min-width: 1280px)");return{isAsideEnabled:L(()=>!n.value&&!t.value?!1:e.value?n.value:t.value)}}const pn=71;function De(e){return typeof e.outline=="object"&&!Array.isArray(e.outline)&&e.outline.label||e.outlineTitle||"On this page"}function Oe(e){const t=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(n=>n.id&&n.hasChildNodes()).map(n=>{const s=Number(n.tagName[1]);return{title:hn(n),link:"#"+n.id,level:s}});return fn(t,e)}function hn(e){let t="";for(const n of e.childNodes)if(n.nodeType===1){if(n.classList.contains("VPBadge")||n.classList.contains("header-anchor"))continue;t+=n.textContent}else n.nodeType===3&&(t+=n.textContent);return t.trim()}function fn(e,t){if(t===!1)return[];const n=(typeof t=="object"&&!Array.isArray(t)?t.level:t)||2,[s,o]=typeof n=="number"?[n,n]:n==="deep"?[2,6]:n;e=e.filter(i=>i.level>=s&&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 u=i-1;u>=0;u--){const p=e[u];if(p.level<c.level){(p.children||(p.children=[])).push(c);continue e}}a.push(c)}}return a}function mn(e,t){const{isAsideEnabled:n}=vn(),s=qt(a,100);let o=null;W(()=>{requestAnimationFrame(a),window.addEventListener("scroll",s)}),Lt(()=>{i(location.hash)}),Ae(()=>{window.removeEventListener("scroll",s)});function a(){if(!n.value)return;const c=[].slice.call(e.value.querySelectorAll(".outline-link")),u=[].slice.call(document.querySelectorAll(".content .header-anchor")).filter(g=>c.some(V=>V.hash===g.hash&&g.offsetParent!==null)),p=window.scrollY,m=window.innerHeight,f=document.body.offsetHeight,P=Math.abs(p+m-f)<1;if(u.length&&P){i(u[u.length-1].hash);return}for(let g=0;g<u.length;g++){const V=u[g],I=u[g+1],[M,D]=gn(g,V,I);if(M){i(D);return}}}function i(c){o&&o.classList.remove("active"),c==null?o=null:o=e.value.querySelector(`a[href="${decodeURIComponent(c)}"]`);const u=o;u?(u.classList.add("active"),t.value.style.top=u.offsetTop+33+"px",t.value.style.opacity="1"):(t.value.style.top="33px",t.value.style.opacity="0")}}function Qe(e){return e.parentElement.offsetTop-pn}function gn(e,t,n){const s=window.scrollY;return e===0&&s===0?[!0,null]:s<Qe(t)?[!1,null]:!n||s<Qe(n)?[!0,t.hash]:[!1,null]}const yn=["href","title"],bn=$({__name:"VPDocOutlineItem",props:{headers:{},root:{type:Boolean}},setup(e){function t({target:n}){const s=n.href.split("#")[1],o=document.getElementById(decodeURIComponent(s));o==null||o.focus({preventScroll:!0})}return(n,s)=>{const o=Y("VPDocOutlineItem",!0);return r(),d("ul",{class:N(n.root?"root":"nested")},[(r(!0),d(B,null,E(n.headers,({children:a,link:i,title:c})=>(r(),d("li",null,[_("a",{class:"outline-link",href:i,onClick:t,title:c},x(c),9,yn),a!=null&&a.length?(r(),w(o,{key:0,headers:a},null,8,["headers"])):b("",!0)]))),256))],2)}}});const Fe=k(bn,[["__scopeId","data-v-d0ee3533"]]),kn=e=>(R("data-v-ff0f39c8"),e=e(),U(),e),$n={class:"content"},Pn={class:"outline-title"},Vn={"aria-labelledby":"doc-outline-aria-label"},wn=kn(()=>_("span",{class:"visually-hidden",id:"doc-outline-aria-label"}," Table of Contents for current page ",-1)),Sn=$({__name:"VPDocAsideOutline",setup(e){const{frontmatter:t,theme:n}=C(),s=Ne([]);ae(()=>{s.value=Oe(t.value.outline??n.value.outline)});const o=S(),a=S();return mn(o,a),(i,c)=>(r(),d("div",{class:N(["VPDocAsideOutline",{"has-outline":s.value.length>0}]),ref_key:"container",ref:o},[_("div",$n,[_("div",{class:"outline-marker",ref_key:"marker",ref:a},null,512),_("div",Pn,x(l(De)(l(n))),1),_("nav",Vn,[wn,y(Fe,{headers:s.value,root:!0},null,8,["headers"])])])],2))}});const Ln=k(Sn,[["__scopeId","data-v-ff0f39c8"]]),Mn={class:"VPDocAsideCarbonAds"},xn=$({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(e){const t=()=>null;return(n,s)=>(r(),d("div",Mn,[y(l(t),{"carbon-ads":n.carbonAds},null,8,["carbon-ads"])]))}}),Cn=e=>(R("data-v-3f215769"),e=e(),U(),e),Tn={class:"VPDocAside"},In=Cn(()=>_("div",{class:"spacer"},null,-1)),An=$({__name:"VPDocAside",setup(e){const{theme:t}=C();return(n,s)=>(r(),d("div",Tn,[v(n.$slots,"aside-top",{},void 0,!0),v(n.$slots,"aside-outline-before",{},void 0,!0),y(Ln),v(n.$slots,"aside-outline-after",{},void 0,!0),In,v(n.$slots,"aside-ads-before",{},void 0,!0),l(t).carbonAds?(r(),w(xn,{key:0,"carbon-ads":l(t).carbonAds},null,8,["carbon-ads"])):b("",!0),v(n.$slots,"aside-ads-after",{},void 0,!0),v(n.$slots,"aside-bottom",{},void 0,!0)]))}});const Bn=k(An,[["__scopeId","data-v-3f215769"]]);function Nn(){const{theme:e,page:t}=C();return L(()=>{const{text:n="Edit this page",pattern:s=""}=e.value.editLink||{};let o;return typeof s=="function"?o=s(t.value):o=s.replace(/:path/g,t.value.filePath),{url:o,text:n}})}function Hn(){const{page:e,theme:t,frontmatter:n}=C();return L(()=>{var u,p,m,f,P,g,V,I;const s=ut(t.value.sidebar,e.value.relativePath),o=un(s),a=o.findIndex(M=>te(e.value.relativePath,M.link)),i=((u=t.value.docFooter)==null?void 0:u.prev)===!1&&!n.value.prev||n.value.prev===!1,c=((p=t.value.docFooter)==null?void 0:p.next)===!1&&!n.value.next||n.value.next===!1;return{prev:i?void 0:{text:(typeof n.value.prev=="string"?n.value.prev:typeof n.value.prev=="object"?n.value.prev.text:void 0)??((m=o[a-1])==null?void 0:m.docFooterText)??((f=o[a-1])==null?void 0:f.text),link:(typeof n.value.prev=="object"?n.value.prev.link:void 0)??((P=o[a-1])==null?void 0:P.link)},next:c?void 0:{text:(typeof n.value.next=="string"?n.value.next:typeof n.value.next=="object"?n.value.next.text:void 0)??((g=o[a+1])==null?void 0:g.docFooterText)??((V=o[a+1])==null?void 0:V.text),link:(typeof n.value.next=="object"?n.value.next.link:void 0)??((I=o[a+1])==null?void 0:I.link)}}})}const zn={},En={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Dn=_("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),On=_("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),Fn=[Dn,On];function jn(e,t){return r(),d("svg",En,Fn)}const Gn=k(zn,[["render",jn]]),X=$({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(e){const t=e,n=L(()=>t.tag??(t.href?"a":"span")),s=L(()=>t.href&&it.test(t.href));return(o,a)=>(r(),w(Q(n.value),{class:N(["VPLink",{link:o.href,"vp-external-link-icon":s.value,"no-icon":o.noIcon}]),href:o.href?l(ie)(o.href):void 0,target:o.target??(s.value?"_blank":void 0),rel:o.rel??(s.value?"noreferrer":void 0)},{default:h(()=>[v(o.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),qn={class:"VPLastUpdated"},Rn=["datetime"],Un=$({__name:"VPDocFooterLastUpdated",setup(e){const{theme:t,page:n}=C(),s=L(()=>new Date(n.value.lastUpdated)),o=L(()=>s.value.toISOString()),a=S("");return W(()=>{be(()=>{var i;a.value=new Intl.DateTimeFormat(void 0,((i=t.value.lastUpdated)==null?void 0:i.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(s.value)})}),(i,c)=>{var u;return r(),d("p",qn,[j(x(((u=l(t).lastUpdated)==null?void 0:u.text)||l(t).lastUpdatedText||"Last updated")+": ",1),_("time",{datetime:o.value},x(a.value),9,Rn)])}}});const Wn=k(Un,[["__scopeId","data-v-149a99df"]]),Kn={key:0,class:"VPDocFooter"},Yn={key:0,class:"edit-info"},Xn={key:0,class:"edit-link"},Jn={key:1,class:"last-updated"},Qn={key:1,class:"prev-next"},Zn={class:"pager"},es=["href"],ts=["innerHTML"],ns=["innerHTML"],ss={class:"pager"},os=["href"],as=["innerHTML"],is=["innerHTML"],rs=$({__name:"VPDocFooter",setup(e){const{theme:t,page:n,frontmatter:s}=C(),o=Nn(),a=Hn(),i=L(()=>t.value.editLink&&s.value.editLink!==!1),c=L(()=>n.value.lastUpdated&&s.value.lastUpdated!==!1),u=L(()=>i.value||c.value||a.value.prev||a.value.next);return(p,m)=>{var f,P,g,V,I,M;return u.value?(r(),d("footer",Kn,[v(p.$slots,"doc-footer-before",{},void 0,!0),i.value||c.value?(r(),d("div",Yn,[i.value?(r(),d("div",Xn,[y(X,{class:"edit-link-button",href:l(o).url,"no-icon":!0},{default:h(()=>[y(Gn,{class:"edit-link-icon","aria-label":"edit icon"}),j(" "+x(l(o).text),1)]),_:1},8,["href"])])):b("",!0),c.value?(r(),d("div",Jn,[y(Wn)])):b("",!0)])):b("",!0),(f=l(a).prev)!=null&&f.link||(P=l(a).next)!=null&&P.link?(r(),d("nav",Qn,[_("div",Zn,[(g=l(a).prev)!=null&&g.link?(r(),d("a",{key:0,class:"pager-link prev",href:l(ie)(l(a).prev.link)},[_("span",{class:"desc",innerHTML:((V=l(t).docFooter)==null?void 0:V.prev)||"Previous page"},null,8,ts),_("span",{class:"title",innerHTML:l(a).prev.text},null,8,ns)],8,es)):b("",!0)]),_("div",ss,[(I=l(a).next)!=null&&I.link?(r(),d("a",{key:0,class:"pager-link next",href:l(ie)(l(a).next.link)},[_("span",{class:"desc",innerHTML:((M=l(t).docFooter)==null?void 0:M.next)||"Next page"},null,8,as),_("span",{class:"title",innerHTML:l(a).next.text},null,8,is)],8,os)):b("",!0)])])):b("",!0)])):b("",!0)}}});const ls=k(rs,[["__scopeId","data-v-37656e44"]]),cs={},us={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},ds=_("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),_s=[ds];function vs(e,t){return r(),d("svg",us,_s)}const je=k(cs,[["render",vs]]),ps={key:0,class:"VPDocOutlineDropdown"},hs={key:0,class:"items"},fs=$({__name:"VPDocOutlineDropdown",setup(e){const{frontmatter:t,theme:n}=C(),s=S(!1);ae(()=>{s.value=!1});const o=Ne([]);return ae(()=>{o.value=Oe(t.value.outline??n.value.outline)}),(a,i)=>o.value.length>0?(r(),d("div",ps,[_("button",{onClick:i[0]||(i[0]=c=>s.value=!s.value),class:N({open:s.value})},[j(x(l(De)(l(n)))+" ",1),y(je,{class:"icon"})],2),s.value?(r(),d("div",hs,[y(Fe,{headers:o.value},null,8,["headers"])])):b("",!0)])):b("",!0)}});const ms=k(fs,[["__scopeId","data-v-0c1fc463"]]),gs=e=>(R("data-v-6b87e69f"),e=e(),U(),e),ys={class:"container"},bs=gs(()=>_("div",{class:"aside-curtain"},null,-1)),ks={class:"aside-container"},$s={class:"aside-content"},Ps={class:"content"},Vs={class:"content-container"},ws={class:"main"},Ss=$({__name:"VPDoc",setup(e){const{theme:t}=C(),n=$e(),{hasSidebar:s,hasAside:o,leftAside:a}=K(),i=L(()=>n.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(c,u)=>{const p=Y("Content");return r(),d("div",{class:N(["VPDoc",{"has-sidebar":l(s),"has-aside":l(o)}])},[v(c.$slots,"doc-top",{},void 0,!0),_("div",ys,[l(o)?(r(),d("div",{key:0,class:N(["aside",{"left-aside":l(a)}])},[bs,_("div",ks,[_("div",$s,[y(Bn,null,{"aside-top":h(()=>[v(c.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":h(()=>[v(c.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":h(()=>[v(c.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":h(()=>[v(c.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":h(()=>[v(c.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":h(()=>[v(c.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):b("",!0),_("div",Ps,[_("div",Vs,[v(c.$slots,"doc-before",{},void 0,!0),y(ms),_("main",ws,[y(p,{class:N(["vp-doc",[i.value,l(t).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),y(ls,null,{"doc-footer-before":h(()=>[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)}}});const Ls=k(Ss,[["__scopeId","data-v-6b87e69f"]]),Ms=$({__name:"VPButton",props:{tag:{},size:{},theme:{},text:{},href:{}},setup(e){const t=e,n=L(()=>[t.size??"medium",t.theme??"brand"]),s=L(()=>t.href&&it.test(t.href)),o=L(()=>t.tag?t.tag:t.href?"a":"button");return(a,i)=>(r(),w(Q(o.value),{class:N(["VPButton",n.value]),href:a.href?l(ie)(a.href):void 0,target:s.value?"_blank":void 0,rel:s.value?"noreferrer":void 0},{default:h(()=>[j(x(a.text),1)]),_:1},8,["class","href","target","rel"]))}});const xs=k(Ms,[["__scopeId","data-v-567ba664"]]),Cs=["src","alt"],Ts=$({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(e){return(t,n)=>{const s=Y("VPImage",!0);return t.image?(r(),d(B,{key:0},[typeof t.image=="string"||"src"in t.image?(r(),d("img",ue({key:0,class:"VPImage"},typeof t.image=="string"?t.$attrs:{...t.image,...t.$attrs},{src:l(ye)(typeof t.image=="string"?t.image:t.image.src),alt:t.alt??(typeof t.image=="string"?"":t.image.alt||"")}),null,16,Cs)):(r(),d(B,{key:1},[y(s,ue({class:"dark",image:t.image.dark,alt:t.image.alt},t.$attrs),null,16,["image","alt"]),y(s,ue({class:"light",image:t.image.light,alt:t.image.alt},t.$attrs),null,16,["image","alt"])],64))],64)):b("",!0)}}});const Ge=k(Ts,[["__scopeId","data-v-8426fc1a"]]),Is=e=>(R("data-v-da5d1713"),e=e(),U(),e),As={class:"container"},Bs={class:"main"},Ns={key:0,class:"name"},Hs=["innerHTML"],zs=["innerHTML"],Es=["innerHTML"],Ds={key:0,class:"actions"},Os={key:0,class:"image"},Fs={class:"image-container"},js=Is(()=>_("div",{class:"image-bg"},null,-1)),Gs=$({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(e){const t=He("hero-image-slot-exists");return(n,s)=>(r(),d("div",{class:N(["VPHero",{"has-image":n.image||l(t)}])},[_("div",As,[_("div",Bs,[v(n.$slots,"home-hero-info",{},()=>[n.name?(r(),d("h1",Ns,[_("span",{innerHTML:n.name,class:"clip"},null,8,Hs)])):b("",!0),n.text?(r(),d("p",{key:1,innerHTML:n.text,class:"text"},null,8,zs)):b("",!0),n.tagline?(r(),d("p",{key:2,innerHTML:n.tagline,class:"tagline"},null,8,Es)):b("",!0)],!0),n.actions?(r(),d("div",Ds,[(r(!0),d(B,null,E(n.actions,o=>(r(),d("div",{key:o.link,class:"action"},[y(xs,{tag:"a",size:"medium",theme:o.theme,text:o.text,href:o.link},null,8,["theme","text","href"])]))),128))])):b("",!0)]),n.image||l(t)?(r(),d("div",Os,[_("div",Fs,[js,v(n.$slots,"home-hero-image",{},()=>[n.image?(r(),w(Ge,{key:0,class:"image-src",image:n.image},null,8,["image"])):b("",!0)],!0)])])):b("",!0)])],2))}});const qs=k(Gs,[["__scopeId","data-v-da5d1713"]]),Rs=$({__name:"VPHomeHero",setup(e){const{frontmatter:t}=C();return(n,s)=>l(t).hero?(r(),w(qs,{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":h(()=>[v(n.$slots,"home-hero-info")]),"home-hero-image":h(()=>[v(n.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):b("",!0)}}),Us={},Ws={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Ks=_("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),Ys=[Ks];function Xs(e,t){return r(),d("svg",Ws,Ys)}const Js=k(Us,[["render",Xs]]),Qs={class:"box"},Zs=["innerHTML"],eo=["innerHTML"],to=["innerHTML"],no={key:3,class:"link-text"},so={class:"link-text-value"},oo=$({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{}},setup(e){return(t,n)=>(r(),w(X,{class:"VPFeature",href:t.link,rel:t.rel,"no-icon":!0,tag:t.link?"a":"div"},{default:h(()=>[_("article",Qs,[typeof t.icon=="object"?(r(),w(Ge,{key:0,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(),d("div",{key:1,class:"icon",innerHTML:t.icon},null,8,Zs)):b("",!0),_("h2",{class:"title",innerHTML:t.title},null,8,eo),t.details?(r(),d("p",{key:2,class:"details",innerHTML:t.details},null,8,to)):b("",!0),t.linkText?(r(),d("div",no,[_("p",so,[j(x(t.linkText)+" ",1),y(Js,{class:"link-text-icon"})])])):b("",!0)])]),_:1},8,["href","rel","tag"]))}});const ao=k(oo,[["__scopeId","data-v-33086751"]]),io={key:0,class:"VPFeatures"},ro={class:"container"},lo={class:"items"},co=$({__name:"VPFeatures",props:{features:{}},setup(e){const t=e,n=L(()=>{const s=t.features.length;if(s){if(s===2)return"grid-2";if(s===3)return"grid-3";if(s%3===0)return"grid-6";if(s>3)return"grid-4"}else return});return(s,o)=>s.features?(r(),d("div",io,[_("div",ro,[_("div",lo,[(r(!0),d(B,null,E(s.features,a=>(r(),d("div",{key:a.title,class:N(["item",[n.value]])},[y(ao,{icon:a.icon,title:a.title,details:a.details,link:a.link,"link-text":a.linkText,rel:a.rel},null,8,["icon","title","details","link","link-text","rel"])],2))),128))])])])):b("",!0)}});const uo=k(co,[["__scopeId","data-v-39646fad"]]),_o=$({__name:"VPHomeFeatures",setup(e){const{frontmatter:t}=C();return(n,s)=>l(t).features?(r(),w(uo,{key:0,class:"VPHomeFeatures",features:l(t).features},null,8,["features"])):b("",!0)}}),vo={class:"VPHome"},po=$({__name:"VPHome",setup(e){return(t,n)=>{const s=Y("Content");return r(),d("div",vo,[v(t.$slots,"home-hero-before",{},void 0,!0),y(Rs,null,{"home-hero-info":h(()=>[v(t.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":h(()=>[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),y(_o),v(t.$slots,"home-features-after",{},void 0,!0),y(s)])}}});const ho=k(po,[["__scopeId","data-v-d82743a8"]]),fo={},mo={class:"VPPage"};function go(e,t){const n=Y("Content");return r(),d("div",mo,[v(e.$slots,"page-top"),y(n),v(e.$slots,"page-bottom")])}const yo=k(fo,[["render",go]]),bo=$({__name:"VPContent",setup(e){const{page:t,frontmatter:n}=C(),{hasSidebar:s}=K();return(o,a)=>(r(),d("div",{class:N(["VPContent",{"has-sidebar":l(s),"is-home":l(n).layout==="home"}]),id:"VPContent"},[l(t).isNotFound?v(o.$slots,"not-found",{key:0},()=>[y(tn)],!0):l(n).layout==="page"?(r(),w(yo,{key:1},{"page-top":h(()=>[v(o.$slots,"page-top",{},void 0,!0)]),"page-bottom":h(()=>[v(o.$slots,"page-bottom",{},void 0,!0)]),_:3})):l(n).layout==="home"?(r(),w(ho,{key:2},{"home-hero-before":h(()=>[v(o.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info":h(()=>[v(o.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":h(()=>[v(o.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":h(()=>[v(o.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":h(()=>[v(o.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":h(()=>[v(o.$slots,"home-features-after",{},void 0,!0)]),_:3})):l(n).layout&&l(n).layout!=="doc"?(r(),w(Q(l(n).layout),{key:3})):(r(),w(Ls,{key:4},{"doc-top":h(()=>[v(o.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":h(()=>[v(o.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":h(()=>[v(o.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":h(()=>[v(o.$slots,"doc-before",{},void 0,!0)]),"doc-after":h(()=>[v(o.$slots,"doc-after",{},void 0,!0)]),"aside-top":h(()=>[v(o.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":h(()=>[v(o.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":h(()=>[v(o.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":h(()=>[v(o.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":h(()=>[v(o.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":h(()=>[v(o.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}});const ko=k(bo,[["__scopeId","data-v-669faec9"]]),$o={class:"container"},Po=["innerHTML"],Vo=["innerHTML"],wo=$({__name:"VPFooter",setup(e){const{theme:t,frontmatter:n}=C(),{hasSidebar:s}=K();return(o,a)=>l(t).footer&&l(n).footer!==!1?(r(),d("footer",{key:0,class:N(["VPFooter",{"has-sidebar":l(s)}])},[_("div",$o,[l(t).footer.message?(r(),d("p",{key:0,class:"message",innerHTML:l(t).footer.message},null,8,Po)):b("",!0),l(t).footer.copyright?(r(),d("p",{key:1,class:"copyright",innerHTML:l(t).footer.copyright},null,8,Vo)):b("",!0)])],2)):b("",!0)}});const So=k(wo,[["__scopeId","data-v-e03eb2e1"]]),Lo={class:"header"},Mo={class:"outline"},xo=$({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(e){const t=e,{theme:n}=C(),s=S(!1),o=S(0),a=S();ae(()=>{s.value=!1});function i(){s.value=!s.value,o.value=window.innerHeight+Math.min(window.scrollY-t.navHeight,0)}function c(p){p.target.classList.contains("outline-link")&&(a.value&&(a.value.style.transition="none"),xt(()=>{s.value=!1}))}function u(){s.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(p,m)=>(r(),d("div",{class:"VPLocalNavOutlineDropdown",style:Mt({"--vp-vh":o.value+"px"})},[p.headers.length>0?(r(),d("button",{key:0,onClick:i,class:N({open:s.value})},[j(x(l(De)(l(n)))+" ",1),y(je,{class:"icon"})],2)):(r(),d("button",{key:1,onClick:u},x(l(n).returnToTopLabel||"Return to top"),1)),y(Ie,{name:"flyout"},{default:h(()=>[s.value?(r(),d("div",{key:0,ref_key:"items",ref:a,class:"items",onClick:c},[_("div",Lo,[_("a",{class:"top-link",href:"#",onClick:u},x(l(n).returnToTopLabel||"Return to top"),1)]),_("div",Mo,[y(Fe,{headers:p.headers},null,8,["headers"])])],512)):b("",!0)]),_:1})],4))}});const Co=k(xo,[["__scopeId","data-v-18201f51"]]),To={},Io={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Ao=_("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),Bo=_("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),No=_("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),Ho=_("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),zo=[Ao,Bo,No,Ho];function Eo(e,t){return r(),d("svg",Io,zo)}const Do=k(To,[["render",Eo]]),Oo=["aria-expanded"],Fo={class:"menu-text"},jo=$({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(e){const{theme:t,frontmatter:n}=C(),{hasSidebar:s}=K(),{y:o}=ct(),a=Ne([]),i=S(0);W(()=>{i.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),ae(()=>{a.value=Oe(n.value.outline??t.value.outline)});const c=L(()=>a.value.length===0&&!s.value),u=L(()=>({VPLocalNav:!0,fixed:c.value,"reached-top":o.value>=i.value}));return(p,m)=>l(n).layout!=="home"&&(!c.value||l(o)>=i.value)?(r(),d("div",{key:0,class:N(u.value)},[l(s)?(r(),d("button",{key:0,class:"menu","aria-expanded":p.open,"aria-controls":"VPSidebarNav",onClick:m[0]||(m[0]=f=>p.$emit("open-menu"))},[y(Do,{class:"menu-icon"}),_("span",Fo,x(l(t).sidebarMenuLabel||"Menu"),1)],8,Oo)):b("",!0),y(Co,{headers:a.value,navHeight:i.value},null,8,["headers","navHeight"])],2)):b("",!0)}});const Go=k(jo,[["__scopeId","data-v-5cfd5582"]]);function qo(){const e=S(!1);function t(){e.value=!0,window.addEventListener("resize",o)}function n(){e.value=!1,window.removeEventListener("resize",o)}function s(){e.value?n():t()}function o(){window.outerWidth>=768&&n()}const a=$e();return Z(()=>a.path,n),{isScreenOpen:e,openScreen:t,closeScreen:n,toggleScreen:s}}const Ro={},Uo={class:"VPSwitch",type:"button",role:"switch"},Wo={class:"check"},Ko={key:0,class:"icon"};function Yo(e,t){return r(),d("button",Uo,[_("span",Wo,[e.$slots.default?(r(),d("span",Ko,[v(e.$slots,"default",{},void 0,!0)])):b("",!0)])])}const Xo=k(Ro,[["render",Yo],["__scopeId","data-v-f3c41672"]]),Jo={},Qo={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Zo=Ct('<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),ea=[Zo];function ta(e,t){return r(),d("svg",Qo,ea)}const na=k(Jo,[["render",ta]]),sa={},oa={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},aa=_("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),ia=[aa];function ra(e,t){return r(),d("svg",oa,ia)}const la=k(sa,[["render",ra]]),ca=$({__name:"VPSwitchAppearance",setup(e){const{site:t,isDark:n}=C(),s=S(!1),o=ke?a():()=>{};W(()=>{s.value=document.documentElement.classList.contains("dark")});function a(){const i=window.matchMedia("(prefers-color-scheme: dark)"),c=document.documentElement.classList;let u=localStorage.getItem(Xe),p=t.value.appearance==="dark"&&u==null||(u==="auto"||u==null?i.matches:u==="dark");i.onchange=P=>{u==="auto"&&f(p=P.matches)};function m(){f(p=!p),u=p?i.matches?"auto":"dark":i.matches?"light":"auto",localStorage.setItem(Xe,u)}function f(P){const g=document.createElement("style");g.type="text/css",g.appendChild(document.createTextNode(`:not(.VPSwitchAppearance):not(.VPSwitchAppearance *) {
|
|
-webkit-transition: none !important;
|
|
-moz-transition: none !important;
|
|
-o-transition: none !important;
|
|
-ms-transition: none !important;
|
|
transition: none !important;
|
|
}`)),document.head.appendChild(g),s.value=P,c[P?"add":"remove"]("dark"),window.getComputedStyle(g).opacity,document.head.removeChild(g)}return m}return Z(s,i=>{n.value=i}),(i,c)=>(r(),w(Xo,{title:"toggle dark mode",class:"VPSwitchAppearance","aria-checked":s.value,onClick:l(o)},{default:h(()=>[y(na,{class:"sun"}),y(la,{class:"moon"})]),_:1},8,["aria-checked","onClick"]))}});const qe=k(ca,[["__scopeId","data-v-82b282f1"]]),ua={key:0,class:"VPNavBarAppearance"},da=$({__name:"VPNavBarAppearance",setup(e){const{site:t}=C();return(n,s)=>l(t).appearance?(r(),d("div",ua,[y(qe)])):b("",!0)}});const _a=k(da,[["__scopeId","data-v-f6a63727"]]),Re=S();let _t=!1,we=0;function va(e){const t=S(!1);if(ke){!_t&&pa(),we++;const n=Z(Re,s=>{var o,a,i;s===e.el.value||(o=e.el.value)!=null&&o.contains(s)?(t.value=!0,(a=e.onFocus)==null||a.call(e)):(t.value=!1,(i=e.onBlur)==null||i.call(e))});Ae(()=>{n(),we--,we||ha()})}return Tt(t)}function pa(){document.addEventListener("focusin",vt),_t=!0,Re.value=document.activeElement}function ha(){document.removeEventListener("focusin",vt)}function vt(){Re.value=document.activeElement}const fa={},ma={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},ga=_("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),ya=[ga];function ba(e,t){return r(),d("svg",ma,ya)}const pt=k(fa,[["render",ba]]),ka={},$a={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Pa=_("circle",{cx:"12",cy:"12",r:"2"},null,-1),Va=_("circle",{cx:"19",cy:"12",r:"2"},null,-1),wa=_("circle",{cx:"5",cy:"12",r:"2"},null,-1),Sa=[Pa,Va,wa];function La(e,t){return r(),d("svg",$a,Sa)}const Ma=k(ka,[["render",La]]),xa={class:"VPMenuLink"},Ca=$({__name:"VPMenuLink",props:{item:{}},setup(e){const{page:t}=C();return(n,s)=>(r(),d("div",xa,[y(X,{class:N({active:l(te)(l(t).relativePath,n.item.activeMatch||n.item.link,!!n.item.activeMatch)}),href:n.item.link,target:n.item.target,rel:n.item.rel},{default:h(()=>[j(x(n.item.text),1)]),_:1},8,["class","href","target","rel"])]))}});const Pe=k(Ca,[["__scopeId","data-v-2f2cfafc"]]),Ta={class:"VPMenuGroup"},Ia={key:0,class:"title"},Aa=$({__name:"VPMenuGroup",props:{text:{},items:{}},setup(e){return(t,n)=>(r(),d("div",Ta,[t.text?(r(),d("p",Ia,x(t.text),1)):b("",!0),(r(!0),d(B,null,E(t.items,s=>(r(),d(B,null,["link"in s?(r(),w(Pe,{key:0,item:s},null,8,["item"])):b("",!0)],64))),256))]))}});const Ba=k(Aa,[["__scopeId","data-v-69e747b5"]]),Na={class:"VPMenu"},Ha={key:0,class:"items"},za=$({__name:"VPMenu",props:{items:{}},setup(e){return(t,n)=>(r(),d("div",Na,[t.items?(r(),d("div",Ha,[(r(!0),d(B,null,E(t.items,s=>(r(),d(B,{key:s.text},["link"in s?(r(),w(Pe,{key:0,item:s},null,8,["item"])):(r(),w(Ba,{key:1,text:s.text,items:s.items},null,8,["text","items"]))],64))),128))])):b("",!0),v(t.$slots,"default",{},void 0,!0)]))}});const Ea=k(za,[["__scopeId","data-v-e7ea1737"]]),Da=["aria-expanded","aria-label"],Oa={key:0,class:"text"},Fa=["innerHTML"],ja={class:"menu"},Ga=$({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(e){const t=S(!1),n=S();va({el:n,onBlur:s});function s(){t.value=!1}return(o,a)=>(r(),d("div",{class:"VPFlyout",ref_key:"el",ref:n,onMouseenter:a[1]||(a[1]=i=>t.value=!0),onMouseleave:a[2]||(a[2]=i=>t.value=!1)},[_("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(),d("span",Oa,[o.icon?(r(),w(Q(o.icon),{key:0,class:"option-icon"})):b("",!0),o.button?(r(),d("span",{key:1,innerHTML:o.button},null,8,Fa)):b("",!0),y(pt,{class:"text-icon"})])):(r(),w(Ma,{key:1,class:"icon"}))],8,Da),_("div",ja,[y(Ea,{items:o.items},{default:h(()=>[v(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}});const Ue=k(Ga,[["__scopeId","data-v-a7b5672a"]]),qa={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="M23.953 4.57a10 10 0 01-2.825.775 4.958 4.958 0 002.163-2.723c-.951.555-2.005.959-3.127 1.184a4.92 4.92 0 00-8.384 4.482C7.69 8.095 4.067 6.13 1.64 3.162a4.822 4.822 0 00-.666 2.475c0 1.71.87 3.213 2.188 4.096a4.904 4.904 0 01-2.228-.616v.06a4.923 4.923 0 003.946 4.827 4.996 4.996 0 01-2.212.085 4.936 4.936 0 004.604 3.417 9.867 9.867 0 01-6.102 2.105c-.39 0-.779-.023-1.17-.067a13.995 13.995 0 007.557 2.209c9.053 0 13.998-7.496 13.998-13.985 0-.21 0-.42-.015-.63A9.935 9.935 0 0024 4.59z"/></svg>',youtube:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>YouTube</title><path d="M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"/></svg>'},Ra=["href","aria-label","innerHTML"],Ua=$({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(e){const t=e,n=L(()=>typeof t.icon=="object"?t.icon.svg:qa[t.icon]);return(s,o)=>(r(),d("a",{class:"VPSocialLink no-icon",href:s.link,"aria-label":s.ariaLabel??(typeof s.icon=="string"?s.icon:""),target:"_blank",rel:"noopener",innerHTML:n.value},null,8,Ra))}});const Wa=k(Ua,[["__scopeId","data-v-f80f8133"]]),Ka={class:"VPSocialLinks"},Ya=$({__name:"VPSocialLinks",props:{links:{}},setup(e){return(t,n)=>(r(),d("div",Ka,[(r(!0),d(B,null,E(t.links,({link:s,icon:o,ariaLabel:a})=>(r(),w(Wa,{key:s,icon:o,link:s,ariaLabel:a},null,8,["icon","link","ariaLabel"]))),128))]))}});const We=k(Ya,[["__scopeId","data-v-7bc22406"]]),Xa={key:0,class:"group translations"},Ja={class:"trans-title"},Qa={key:1,class:"group"},Za={class:"item appearance"},ei={class:"label"},ti={class:"appearance-action"},ni={key:2,class:"group"},si={class:"item social-links"},oi=$({__name:"VPNavBarExtra",setup(e){const{site:t,theme:n}=C(),{localeLinks:s,currentLang:o}=re({correspondingLink:!0}),a=L(()=>s.value.length&&o.value.label||t.value.appearance||n.value.socialLinks);return(i,c)=>a.value?(r(),w(Ue,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:h(()=>[l(s).length&&l(o).label?(r(),d("div",Xa,[_("p",Ja,x(l(o).label),1),(r(!0),d(B,null,E(l(s),u=>(r(),w(Pe,{key:u.link,item:u},null,8,["item"]))),128))])):b("",!0),l(t).appearance?(r(),d("div",Qa,[_("div",Za,[_("p",ei,x(l(n).darkModeSwitchLabel||"Appearance"),1),_("div",ti,[y(qe)])])])):b("",!0),l(n).socialLinks?(r(),d("div",ni,[_("div",si,[y(We,{class:"social-links-list",links:l(n).socialLinks},null,8,["links"])])])):b("",!0)]),_:1})):b("",!0)}});const ai=k(oi,[["__scopeId","data-v-40855f84"]]),ii=e=>(R("data-v-e5dd9c1c"),e=e(),U(),e),ri=["aria-expanded"],li=ii(()=>_("span",{class:"container"},[_("span",{class:"top"}),_("span",{class:"middle"}),_("span",{class:"bottom"})],-1)),ci=[li],ui=$({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(e){return(t,n)=>(r(),d("button",{type:"button",class:N(["VPNavBarHamburger",{active:t.active}]),"aria-label":"mobile navigation","aria-expanded":t.active,"aria-controls":"VPNavScreen",onClick:n[0]||(n[0]=s=>t.$emit("click"))},ci,10,ri))}});const di=k(ui,[["__scopeId","data-v-e5dd9c1c"]]),_i=["innerHTML"],vi=$({__name:"VPNavBarMenuLink",props:{item:{}},setup(e){const{page:t}=C();return(n,s)=>(r(),w(X,{class:N({VPNavBarMenuLink:!0,active:l(te)(l(t).relativePath,n.item.activeMatch||n.item.link,!!n.item.activeMatch)}),href:n.item.link,target:n.item.target,rel:n.item.rel,tabindex:"0"},{default:h(()=>[_("span",{innerHTML:n.item.text},null,8,_i)]),_:1},8,["class","href","target","rel"]))}});const pi=k(vi,[["__scopeId","data-v-0b525393"]]),hi=$({__name:"VPNavBarMenuGroup",props:{item:{}},setup(e){const{page:t}=C();return(n,s)=>(r(),w(Ue,{class:N({VPNavBarMenuGroup:!0,active:l(te)(l(t).relativePath,n.item.activeMatch,!!n.item.activeMatch)}),button:n.item.text,items:n.item.items},null,8,["class","button","items"]))}}),fi=e=>(R("data-v-7f418b0f"),e=e(),U(),e),mi={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},gi=fi(()=>_("span",{id:"main-nav-aria-label",class:"visually-hidden"},"Main Navigation",-1)),yi=$({__name:"VPNavBarMenu",setup(e){const{theme:t}=C();return(n,s)=>l(t).nav?(r(),d("nav",mi,[gi,(r(!0),d(B,null,E(l(t).nav,o=>(r(),d(B,{key:o.text},["link"in o?(r(),w(pi,{key:0,item:o},null,8,["item"])):(r(),w(hi,{key:1,item:o},null,8,["item"]))],64))),128))])):b("",!0)}});const bi=k(yi,[["__scopeId","data-v-7f418b0f"]]),ki="/document/assets/flex-logo.2489261b.svg";function Se(e,t){return typeof e>"u"?t:e}function Ze(e){const t=Array(e);for(let n=0;n<e;n++)t[n]=F();return t}function $i(e){return Object.keys(e)}function F(){return Object.create(null)}function Pi(e){return[].concat.apply([],e)}function Vi(e,t){return t.length-e.length}function wi(e){return e.constructor===Array}function pe(e){return typeof e=="string"}function Te(e){return typeof e=="object"}function Si(e){return typeof e=="function"}function Li(e,t,n,s){if(e&&(t&&(e=Le(e,t)),this.matcher&&(e=Le(e,this.matcher)),this.stemmer&&1<e.length&&(e=Le(e,this.stemmer)),s&&1<e.length&&(e=Ci(e)),n||n==="")){const o=e.split(n);return this.filter?Ti(o,this.filter):o}return e}const Mi=/[\p{Z}\p{S}\p{P}\p{C}]+/u;function xi(e){const t=F();for(let n=0,s=e.length;n<s;n++)t[e[n]]=1;return t}function et(e,t){const n=$i(e),s=n.length,o=[];let a="",i=0;for(let c,u,p=0;p<s;p++)c=n[p],u=e[c],u?(o[i++]=tt(t?"(?!\\b)"+c+"(\\b|_)":c),o[i++]=u):a+=(a?"|":"")+c;return a&&(o[i++]=tt(t?"(?!\\b)("+a+")(\\b|_)":"("+a+")"),o[i]=""),o}function Le(e,t){for(let n=0,s=t.length;n<s&&(e=e.replace(t[n],t[n+1]),!!e);n+=2);return e}function tt(e){return new RegExp(e,"g")}function Ci(e){let t="",n="";for(let s,o=0,a=e.length;o<a;o++)(s=e[o])!==n&&(t+=n=s);return t}function Ti(e,t){const n=e.length,s=[];for(let o=0,a=0;o<n;o++){const i=e[o];i&&!t[i]&&(s[a++]=i)}return s}function Ii(e){return Li.call(this,(""+e).toLowerCase(),!1,Mi,!1)}const Ai={},Bi={};function Ni(e){ne(e,"add"),ne(e,"append"),ne(e,"search"),ne(e,"update"),ne(e,"remove")}function ne(e,t){e[t+"Async"]=function(){const n=this,s=arguments,o=s[s.length-1];let a;Si(o)&&(a=o,delete s[s.length-1]);const i=new Promise(function(c){setTimeout(function(){n.async=!0;const u=n[t].apply(n,s);n.async=!1,c(u)})});return a?(i.then(a),this):i}}function Hi(e,t,n,s){const o=e.length;let a,i,c=[],u=0;s&&(s=[]);for(let p=o-1;0<=p;p--){const m=e[p],f=m.length,P=F();let g=!a;for(let V=0;V<f;V++){const I=m[V],M=I.length;if(M)for(let D,A,T=0;T<M;T++)if(A=I[T],a){if(a[A]){if(!p){if(n)n--;else if(c[u++]=A,u===t)return c}(p||s)&&(P[A]=1),g=!0}if(s&&(i[A]=(D=i[A])?++D:D=1,D<o)){const H=s[D-2]||(s[D-2]=[]);H[H.length]=A}}else P[A]=1}if(s)a||(i=P);else if(!g)return[];a=P}if(s)for(let p,m,f=s.length-1;0<=f;f--){p=s[f],m=p.length;for(let P,g=0;g<m;g++)if(P=p[g],!a[P]){if(n)n--;else if(c[u++]=P,u===t)return c;a[P]=1}}return c}function ve(e){this.limit=e!==!0&&e,this.cache=F(),this.queue=[]}function zi(e,t,n){Te(e)&&(e=e.query);let s=this.cache.get(e);return s||(s=this.search(e,t,n),this.cache.set(e,s)),s}ve.prototype.set=function(e,t){if(!this.cache[e]){let n=this.queue.length;n===this.limit?delete this.cache[this.queue[n-1]]:n++;for(let s=n-1;0<s;s--)this.queue[s]=this.queue[s-1];this.queue[0]=e}this.cache[e]=t},ve.prototype.get=function(e){const t=this.cache[e];if(this.limit&&t){const n=this.queue.indexOf(e);if(n){const s=this.queue[n-1];this.queue[n-1]=this.queue[n],this.queue[n]=s}}return t},ve.prototype.del=function(e){for(let t,n,s=0;s<this.queue.length;s++)n=this.queue[s],t=this.cache[n],t.indexOf(e)!==-1&&(this.queue.splice(s--,1),delete this.cache[n])};const Ei={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 Di(e){if(pe(e))e=Ei[e];else{const t=e.preset;t&&(e=Object.assign({},t[t],e))}return e}function Oi(e,t,n,s,o,a){setTimeout(function(){const i=e(n,JSON.stringify(a));i&&i.then?i.then(function(){t.export(e,t,n,s,o+1)}):t.export(e,t,n,s,o+1)})}function Fi(e,t,n,s,o){let a,i;switch(o||(o=0)){case 0:if(a="reg",this.fastupdate)for(let c in i=F(),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 Oi(e,t||this,n?n+"."+a:a,s,o,i),!0}function ji(e,t){t&&(pe(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 O(e,t){if(!(this instanceof O))return new O(e);let n,s,o;e?(e=Di(e),n=e.charset,s=e.lang,pe(n)&&(n.indexOf(":")===-1&&(n+=":default"),n=Bi[n]),pe(s)&&(s=Ai[s])):e={};let a,i,c=e.context||{};this.encode=e.encode||n&&n.encode||Ii,this.register=t||F(),this.resolution=a=e.resolution||9,this.tokenize=o=n&&n.tokenize||e.tokenize||"strict",this.depth=o==="strict"&&c.depth,this.bidirectional=Se(c.bidirectional,!0),this.optimize=i=Se(e.optimize,!0),this.fastupdate=Se(e.fastupdate,!0),this.minlength=e.minlength||1,this.boost=e.boost,this.map=i?Ze(a):F(),this.resolution_ctx=a=c.resolution||1,this.ctx=i?Ze(a):F(),this.rtl=n&&n.rtl||e.rtl,this.matcher=(o=e.matcher||s&&s.matcher)&&et(o,!1),this.stemmer=(o=e.stemmer||s&&s.stemmer)&&et(o,!0),this.filter=(o=e.filter||s&&s.filter)&&xi(o),this.cache=(o=e.cache)&&new ve(o)}O.prototype.append=function(e,t){return this.add(e,t,!0)},O.prototype.add=function(e,t,n,s){if(t&&(e||e===0)){if(!s&&!n&&this.register[e])return this.update(e,t);t=this.encode(t);const o=t.length;if(o){const a=F(),i=F(),c=this.depth,u=this.resolution;for(let p=0;p<o;p++){let m=t[this.rtl?o-1-p:p],f=m.length;if(m&&f>=this.minlength&&(c||!i[m])){let P=ce(u,o,p),g="";switch(this.tokenize){case"full":if(3<f){for(let V=0;V<f;V++)for(let I=f;I>V;I--)if(I-V>=this.minlength){const M=ce(u,o,p,f,V);g=m.substring(V,I),this.push_index(i,g,M,e,n)}break}case"reverse":if(2<f){for(let V=f-1;0<V;V--)if(g=m[V]+g,g.length>=this.minlength){const I=ce(u,o,p,f,V);this.push_index(i,g,I,e,n)}g=""}case"forward":if(1<f){for(let V=0;V<f;V++)g+=m[V],g.length>=this.minlength&&this.push_index(i,g,P,e,n);break}default:if(this.boost&&(P=Math.min(0|P/this.boost(t,m,p),u-1)),this.push_index(i,m,P,e,n),c&&1<o&&p<o-1){const V=F(),I=this.resolution_ctx,M=m,D=Math.min(c+1,o-p);V[M]=1;for(let A=1;A<D;A++)if(m=t[this.rtl?o-1-p-A:p+A],m&&m.length>=this.minlength&&!V[m]){V[m]=1;const T=ce(I+(o/2>I?0:1),o,p,D-1,A-1),H=this.bidirectional&&m>M;this.push_index(a,H?M:m,T,e,n,H?m:M)}}}}}this.fastupdate||(this.register[e]=1)}}return this};function ce(e,t,n,s,o){return n&&1<e?t+(s||0)<=e?n+(o||0):0|(e-1)/(t+(s||0))*(n+(o||0))+1:0}O.prototype.push_index=function(e,t,n,s,o,a){let i=a?this.ctx:this.map;if((!e[t]||a&&!e[t][a])&&(this.optimize&&(i=i[n]),a?(e=e[t]||(e[t]=F()),e[a]=1,i=i[a]||(i[a]=F())):e[t]=1,i=i[t]||(i[t]=[]),this.optimize||(i=i[n]||(i[n]=[])),(!o||i.indexOf(s)===-1)&&(i[i.length]=s,this.fastupdate))){const c=this.register[s]||(this.register[s]=[]);c[c.length]=i}},O.prototype.search=function(e,t,n){n||(!t&&Te(e)?(n=e,e=n.query):Te(t)&&(n=t));let s,o,a,i=[],c=0;if(n&&(t=n.limit,c=n.offset||0,o=n.context,a=n.suggest),e&&(e=this.encode(e),s=e.length,1<s)){const f=F(),P=[];for(let g,V=0,I=0;V<s;V++)if(g=e[V],g&&g.length>=this.minlength&&!f[g]){if(!this.optimize&&!a&&!this.map[g])return i;P[I++]=g,f[g]=1}e=P,s=e.length}if(!s)return i;t||(t=100);let u,p=this.depth&&1<s&&o!==!1,m=0;p?(u=e[0],m=1):1<s&&e.sort(Vi);for(let f,P;m<s;m++){if(P=e[m],p?(f=this.add_result(i,a,t,c,s===2,P,u),(!a||f!==!1||!i.length)&&(u=P)):f=this.add_result(i,a,t,c,s===1,P),f)return f;if(a&&m==s-1){let g=i.length;if(!g){if(p){p=0,m=-1;continue}return i}if(g===1)return nt(i[0],t,c)}}return Hi(i,t,c,a)},O.prototype.add_result=function(e,t,n,s,o,a,i){let c=[],u=i?this.ctx:this.map;if(this.optimize||(u=st(u,a,i,this.bidirectional)),u){let p=0;const m=Math.min(u.length,i?this.resolution_ctx:this.resolution);for(let f,P,g=0,V=0;g<m&&(f=u[g],!(f&&(this.optimize&&(f=st(f,a,i,this.bidirectional)),s&&f&&o&&(P=f.length,P<=s?(s-=P,f=null):(f=f.slice(s),s=0)),f&&(c[p++]=f,o&&(V+=f.length,V>=n)))));g++);if(p)return o?nt(c,n,0):void(e[e.length]=c)}return!t&&c};function nt(e,t,n){return e=e.length===1?e[0]:Pi(e),n||e.length>t?e.slice(n,n+t):e}function st(e,t,n,s){if(n){const o=s&&t>n;e=e[o?t:n],e=e&&e[o?n:t]}else e=e[t];return e}O.prototype.contain=function(e){return!!this.register[e]},O.prototype.update=function(e,t){return this.remove(e).add(e,t)},O.prototype.remove=function(e,t){const n=this.register[e];if(n){if(this.fastupdate)for(let s,o=0;o<n.length;o++)s=n[o],s.splice(s.indexOf(e),1);else he(this.map,e,this.resolution,this.optimize),this.depth&&he(this.ctx,e,this.resolution_ctx,this.optimize);t||delete this.register[e],this.cache&&this.cache.del(e)}return this};function he(e,t,n,s,o){let a=0;if(wi(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,n);for(let i,c=0;c<o;c++)i=e[c],i&&(a=he(i,t,n,s,o),!s&&!a&&delete e[c])}else for(let i in e)a=he(e[i],t,n,s,o),a||delete e[i];return a}O.prototype.searchCache=zi,O.prototype.export=Fi,O.prototype.import=ji,Ni(O.prototype);const Gi={class:"VPNavBarSearch"},qi={class:"DocSearch-Form"},Ri=_("label",{class:"DocSearch-MagnifierLabel",for:"docsearch-input",id:"docsearch-label"},[_("svg",{width:"20",height:"20",class:"DocSearch-Search-Icon",viewBox:"0 0 20 20"},[_("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),Ui=["placeholder"],Wi={class:"VPPluginSearch-search-list"},Ki={class:"VPPluginSearch-search-group"},Yi=["href"],Xi={class:"VPPluginSearch-search-item"},Ji={class:"VPPluginSearch-search-item-icon"},Qi={style:{width:"100%"}},Zi=["innerHTML"],er=_("span",{class:"VPPluginSearch-search-item-icon"},"↪",-1),tr=_("img",{class:"VPPluginSearch-flex-logo",src:ki,alt:"flex logo"},null,-1),nr={type:"button",class:"DocSearch DocSearch-Button","aria-label":"Search"},sr={class:"DocSearch-Button-Container"},or=_("svg",{width:"20",height:"20",class:"DocSearch-Search-Icon",viewBox:"0 0 20 20"},[_("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),ar={class:"DocSearch-Button-Placeholder"},ir={class:"DocSearch-Button-Keys"},rr=_("span",{class:"DocSearch-Button-Key"},"K",-1),lr=$({__name:"Search",setup(e){const t=at(),n=t.localeIndex||t.localePath,s=S(),o=S(!1),a=S(),i=S(""),c=S(),u=S(),p=S(),m=S(),f=S(),P=S("Search"),g=S("Search docs"),V=L(()=>{if(a.value){for(var A=f.value.search(a.value,{enrich:!0}),T=[],H=0;H<A.length;H++){var z=A[H],q=p.value[z],G=q.t,le=q.p,Ve=q.l,kt=q.a;Ve=Ve.split(" ").join("-"),T.push({id:H,link:Ve,title:G,preview:le,anchor:kt})}return T}}),I=(A,T)=>!A||!A.length?[]:A.reduce((H,z)=>(H[T(z)]||(H[T(z)]=[]),H[T(z)].push(z),H),{}),M=()=>{setTimeout(()=>{c.value&&c.value.focus()},100),D(),o.value=!0};W(async()=>{var z,q;const A=await It(()=>import("./virtual_search-data.bdabb558.js"),[]);u.value=A.default.INDEX_DATA,p.value=A.default.PREVIEW_LOOKUP,m.value=A.default.Options,i.value=window.location.origin+ye(n.value==="root"?"/":n.value),P.value=((z=m.value)==null?void 0:z.buttonLabel)||P.value,g.value=((q=m.value)==null?void 0:q.placeholder)||g.value;var T=new O(m.value);T.import("reg",u.value.reg),T.import("cfg",u.value.cfg),T.import("map",u.value.map),T.import("ctx",u.value.ctx),f.value=T,s.value.innerHTML=/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?"⌘":"Ctrl";const H=G=>{var le;G.key==="k"&&(G.ctrlKey||G.metaKey)&&(G.preventDefault(),M()),G.key==="Escape"&&((le=a.value)==null?void 0:le.length)==0&&o.value&&(o.value=!1)};window.addEventListener("keydown",H)});function D(){o.value=!1,a.value=""}return(A,T)=>{const H=Y("ClientOnly");return r(),d("div",Gi,[y(H,null,{default:h(()=>[(r(),w(Nt,{to:"body"},[Je(_("div",{class:"VPPluginSearch-modal-back",onClick:T[2]||(T[2]=z=>o.value=!1)},[_("div",{class:"VPPluginSearch-modal",onClick:T[1]||(T[1]=rt(()=>{},["stop"]))},[_("form",qi,[Ri,Je(_("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":T[0]||(T[0]=z=>a.value=z),placeholder:g.value,maxlength:"64",type:"search",ref_key:"input",ref:c},null,8,Ui),[[Bt,a.value]])]),_("div",Wi,[(r(!0),d(B,null,E(I(V.value,z=>z.link.split("/").slice(0,-1).join("-")),(z,q)=>(r(),d("div",{key:q},[_("span",Ki,x(q?q.toString()[0].toUpperCase()+q.toString().slice(1):"Home"),1),(r(!0),d(B,null,E(z,G=>(r(),d("a",{href:i.value+G.link,key:G.id,onClick:D},[_("div",Xi,[_("span",Ji,x(G.link.includes("#")?"#":"▤"),1),_("div",Qi,[_("h3",null,x(G.title),1),_("p",null,[_("div",{innerHTML:G.preview},null,8,Zi)])]),er])],8,Yi))),128))]))),128))]),tr])],512),[[At,o.value]])]))]),_:1}),_("div",{id:"docsearch",onClick:T[3]||(T[3]=z=>M())},[_("button",nr,[_("span",sr,[or,_("span",ar,x(P.value),1)]),_("span",ir,[_("span",{class:"DocSearch-Button-Key",ref_key:"metaKey",ref:s},"Meta",512),rr])])])])}}});const cr=$({__name:"VPNavBarSocialLinks",setup(e){const{theme:t}=C();return(n,s)=>l(t).socialLinks?(r(),w(We,{key:0,class:"VPNavBarSocialLinks",links:l(t).socialLinks},null,8,["links"])):b("",!0)}});const ur=k(cr,[["__scopeId","data-v-0394ad82"]]),dr=["href"],_r=$({__name:"VPNavBarTitle",setup(e){const{site:t,theme:n}=C(),{hasSidebar:s}=K(),{currentLang:o}=re();return(a,i)=>(r(),d("div",{class:N(["VPNavBarTitle",{"has-sidebar":l(s)}])},[_("a",{class:"title",href:l(n).logoLink??l(ie)(l(o).link)},[v(a.$slots,"nav-bar-title-before",{},void 0,!0),l(n).logo?(r(),w(Ge,{key:0,class:"logo",image:l(n).logo},null,8,["image"])):b("",!0),l(n).siteTitle?(r(),d(B,{key:1},[j(x(l(n).siteTitle),1)],64)):l(n).siteTitle===void 0?(r(),d(B,{key:2},[j(x(l(t).title),1)],64)):b("",!0),v(a.$slots,"nav-bar-title-after",{},void 0,!0)],8,dr)],2))}});const vr=k(_r,[["__scopeId","data-v-86d1bed8"]]),pr={},hr={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},fr=_("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1),mr=_("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),gr=[fr,mr];function yr(e,t){return r(),d("svg",hr,gr)}const ht=k(pr,[["render",yr]]),br={class:"items"},kr={class:"title"},$r=$({__name:"VPNavBarTranslations",setup(e){const{theme:t}=C(),{localeLinks:n,currentLang:s}=re({correspondingLink:!0});return(o,a)=>l(n).length&&l(s).label?(r(),w(Ue,{key:0,class:"VPNavBarTranslations",icon:ht,label:l(t).langMenuLabel||"Change language"},{default:h(()=>[_("div",br,[_("p",kr,x(l(s).label),1),(r(!0),d(B,null,E(l(n),i=>(r(),w(Pe,{key:i.link,item:i},null,8,["item"]))),128))])]),_:1},8,["label"])):b("",!0)}});const Pr=k($r,[["__scopeId","data-v-74abcbb9"]]),Vr=e=>(R("data-v-0937f67c"),e=e(),U(),e),wr={class:"container"},Sr={class:"title"},Lr={class:"content"},Mr=Vr(()=>_("div",{class:"curtain"},null,-1)),xr={class:"content-body"},Cr=$({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(e){const{y:t}=ct(),{hasSidebar:n}=K(),{frontmatter:s}=C(),o=S({});return Be(()=>{var a;o.value={"has-sidebar":n.value,top:((a=s.value)==null?void 0:a.layout)==="home"&&t.value===0}}),(a,i)=>(r(),d("div",{class:N(["VPNavBar",o.value])},[_("div",wr,[_("div",Sr,[y(vr,null,{"nav-bar-title-before":h(()=>[v(a.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":h(()=>[v(a.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),_("div",Lr,[Mr,_("div",xr,[v(a.$slots,"nav-bar-content-before",{},void 0,!0),y(lr,{class:"search"}),y(bi,{class:"menu"}),y(Pr,{class:"translations"}),y(_a,{class:"appearance"}),y(ur,{class:"social-links"}),y(ai,{class:"extra"}),v(a.$slots,"nav-bar-content-after",{},void 0,!0),y(di,{class:"hamburger",active:a.isScreenOpen,onClick:i[0]||(i[0]=c=>a.$emit("toggle-screen"))},null,8,["active"])])])])],2))}});const Tr=k(Cr,[["__scopeId","data-v-0937f67c"]]);function Ir(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}else return Array.from(e)}var Ke=!1;if(typeof window<"u"){var ot={get passive(){Ke=!0}};window.addEventListener("testPassive",null,ot),window.removeEventListener("testPassive",null,ot)}var fe=typeof window<"u"&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||window.navigator.platform==="MacIntel"&&window.navigator.maxTouchPoints>1),ee=[],me=!1,Ye=-1,se=void 0,J=void 0,oe=void 0,ft=function(t){return ee.some(function(n){return!!(n.options.allowTouchMove&&n.options.allowTouchMove(t))})},ge=function(t){var n=t||window.event;return ft(n.target)||n.touches.length>1?!0:(n.preventDefault&&n.preventDefault(),!1)},Ar=function(t){if(oe===void 0){var n=!!t&&t.reserveScrollBarGap===!0,s=window.innerWidth-document.documentElement.clientWidth;if(n&&s>0){var o=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right"),10);oe=document.body.style.paddingRight,document.body.style.paddingRight=o+s+"px"}}se===void 0&&(se=document.body.style.overflow,document.body.style.overflow="hidden")},Br=function(){oe!==void 0&&(document.body.style.paddingRight=oe,oe=void 0),se!==void 0&&(document.body.style.overflow=se,se=void 0)},Nr=function(){return window.requestAnimationFrame(function(){if(J===void 0){J={position:document.body.style.position,top:document.body.style.top,left:document.body.style.left};var t=window,n=t.scrollY,s=t.scrollX,o=t.innerHeight;document.body.style.position="fixed",document.body.style.top=-n,document.body.style.left=-s,setTimeout(function(){return window.requestAnimationFrame(function(){var a=o-window.innerHeight;a&&n>=o&&(document.body.style.top=-(n+a))})},300)}})},Hr=function(){if(J!==void 0){var t=-parseInt(document.body.style.top,10),n=-parseInt(document.body.style.left,10);document.body.style.position=J.position,document.body.style.top=J.top,document.body.style.left=J.left,window.scrollTo(n,t),J=void 0}},zr=function(t){return t?t.scrollHeight-t.scrollTop<=t.clientHeight:!1},Er=function(t,n){var s=t.targetTouches[0].clientY-Ye;return ft(t.target)?!1:n&&n.scrollTop===0&&s>0||zr(n)&&s<0?ge(t):(t.stopPropagation(),!0)},mt=function(t,n){if(!t){console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");return}if(!ee.some(function(o){return o.targetElement===t})){var s={targetElement:t,options:n||{}};ee=[].concat(Ir(ee),[s]),fe?Nr():Ar(n),fe&&(t.ontouchstart=function(o){o.targetTouches.length===1&&(Ye=o.targetTouches[0].clientY)},t.ontouchmove=function(o){o.targetTouches.length===1&&Er(o,t)},me||(document.addEventListener("touchmove",ge,Ke?{passive:!1}:void 0),me=!0))}},gt=function(){fe&&(ee.forEach(function(t){t.targetElement.ontouchstart=null,t.targetElement.ontouchmove=null}),me&&(document.removeEventListener("touchmove",ge,Ke?{passive:!1}:void 0),me=!1),Ye=-1),fe?Hr():Br(),ee=[]};const Dr=$({__name:"VPNavScreenMenuLink",props:{item:{}},setup(e){const t=He("close-screen");return(n,s)=>(r(),w(X,{class:"VPNavScreenMenuLink",href:n.item.link,target:n.item.target,rel:n.item.rel,onClick:l(t)},{default:h(()=>[j(x(n.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}});const Or=k(Dr,[["__scopeId","data-v-30be0acb"]]),Fr={},jr={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Gr=_("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),qr=[Gr];function Rr(e,t){return r(),d("svg",jr,qr)}const Ur=k(Fr,[["render",Rr]]),Wr=$({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(e){const t=He("close-screen");return(n,s)=>(r(),w(X,{class:"VPNavScreenMenuGroupLink",href:n.item.link,target:n.item.target,rel:n.item.rel,onClick:l(t)},{default:h(()=>[j(x(n.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}});const yt=k(Wr,[["__scopeId","data-v-6656c42a"]]),Kr={class:"VPNavScreenMenuGroupSection"},Yr={key:0,class:"title"},Xr=$({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(e){return(t,n)=>(r(),d("div",Kr,[t.text?(r(),d("p",Yr,x(t.text),1)):b("",!0),(r(!0),d(B,null,E(t.items,s=>(r(),w(yt,{key:s.text,item:s},null,8,["item"]))),128))]))}});const Jr=k(Xr,[["__scopeId","data-v-8133b170"]]),Qr=["aria-controls","aria-expanded"],Zr={class:"button-text"},el=["id"],tl={key:1,class:"group"},nl=$({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(e){const t=e,n=S(!1),s=L(()=>`NavScreenGroup-${t.text.replace(" ","-").toLowerCase()}`);function o(){n.value=!n.value}return(a,i)=>(r(),d("div",{class:N(["VPNavScreenMenuGroup",{open:n.value}])},[_("button",{class:"button","aria-controls":s.value,"aria-expanded":n.value,onClick:o},[_("span",Zr,x(a.text),1),y(Ur,{class:"button-icon"})],8,Qr),_("div",{id:s.value,class:"items"},[(r(!0),d(B,null,E(a.items,c=>(r(),d(B,{key:c.text},["link"in c?(r(),d("div",{key:c.text,class:"item"},[y(yt,{item:c},null,8,["item"])])):(r(),d("div",tl,[y(Jr,{text:c.text,items:c.items},null,8,["text","items"])]))],64))),128))],8,el)],2))}});const sl=k(nl,[["__scopeId","data-v-338a1689"]]),ol={key:0,class:"VPNavScreenMenu"},al=$({__name:"VPNavScreenMenu",setup(e){const{theme:t}=C();return(n,s)=>l(t).nav?(r(),d("nav",ol,[(r(!0),d(B,null,E(l(t).nav,o=>(r(),d(B,{key:o.text},["link"in o?(r(),w(Or,{key:0,item:o},null,8,["item"])):(r(),w(sl,{key:1,text:o.text||"",items:o.items},null,8,["text","items"]))],64))),128))])):b("",!0)}}),il={key:0,class:"VPNavScreenAppearance"},rl={class:"text"},ll=$({__name:"VPNavScreenAppearance",setup(e){const{site:t,theme:n}=C();return(s,o)=>l(t).appearance?(r(),d("div",il,[_("p",rl,x(l(n).darkModeSwitchLabel||"Appearance"),1),y(qe)])):b("",!0)}});const cl=k(ll,[["__scopeId","data-v-add8f686"]]),ul={class:"list"},dl=$({__name:"VPNavScreenTranslations",setup(e){const{localeLinks:t,currentLang:n}=re({correspondingLink:!0}),s=S(!1);function o(){s.value=!s.value}return(a,i)=>l(t).length&&l(n).label?(r(),d("div",{key:0,class:N(["VPNavScreenTranslations",{open:s.value}])},[_("button",{class:"title",onClick:o},[y(ht,{class:"icon lang"}),j(" "+x(l(n).label)+" ",1),y(pt,{class:"icon chevron"})]),_("ul",ul,[(r(!0),d(B,null,E(l(t),c=>(r(),d("li",{key:c.link,class:"item"},[y(X,{class:"link",href:c.link},{default:h(()=>[j(x(c.text),1)]),_:2},1032,["href"])]))),128))])],2)):b("",!0)}});const _l=k(dl,[["__scopeId","data-v-d72aa483"]]),vl=$({__name:"VPNavScreenSocialLinks",setup(e){const{theme:t}=C();return(n,s)=>l(t).socialLinks?(r(),w(We,{key:0,class:"VPNavScreenSocialLinks",links:l(t).socialLinks},null,8,["links"])):b("",!0)}}),pl={class:"container"},hl=$({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(e){const t=S(null);function n(){mt(t.value,{reserveScrollBarGap:!0})}function s(){gt()}return(o,a)=>(r(),w(Ie,{name:"fade",onEnter:n,onAfterLeave:s},{default:h(()=>[o.open?(r(),d("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:t,id:"VPNavScreen"},[_("div",pl,[v(o.$slots,"nav-screen-content-before",{},void 0,!0),y(al,{class:"menu"}),y(_l,{class:"translations"}),y(cl,{class:"appearance"}),y(vl,{class:"social-links"}),v(o.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):b("",!0)]),_:3}))}});const fl=k(hl,[["__scopeId","data-v-69fcc70f"]]),ml={class:"VPNav"},gl=$({__name:"VPNav",setup(e){const{isScreenOpen:t,closeScreen:n,toggleScreen:s}=qo();return de("close-screen",n),(o,a)=>(r(),d("header",ml,[y(Tr,{"is-screen-open":l(t),onToggleScreen:l(s)},{"nav-bar-title-before":h(()=>[v(o.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":h(()=>[v(o.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":h(()=>[v(o.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":h(()=>[v(o.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),y(fl,{open:l(t)},{"nav-screen-content-before":h(()=>[v(o.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":h(()=>[v(o.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])]))}});const yl=k(gl,[["__scopeId","data-v-7e5bc4a5"]]),bl=e=>(R("data-v-9b797284"),e=e(),U(),e),kl=["role","tabindex"],$l=bl(()=>_("div",{class:"indicator"},null,-1)),Pl=["onKeydown"],Vl={key:1,class:"items"},wl=$({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(e){const t=e,{collapsed:n,collapsible:s,isLink:o,isActiveLink:a,hasActiveLink:i,hasChildren:c,toggle:u}=_n(L(()=>t.item)),p=L(()=>c.value?"section":"div"),m=L(()=>o.value?"a":"div"),f=L(()=>c.value?t.depth+2===7?"p":`h${t.depth+2}`:"p"),P=L(()=>o.value?void 0:"button"),g=L(()=>[[`level-${t.depth}`],{collapsible:s.value},{collapsed:n.value},{"is-link":o.value},{"is-active":a.value},{"has-active":i.value}]);function V(M){"key"in M&&M.key!=="Enter"||!t.item.link&&u()}function I(){t.item.link&&u()}return(M,D)=>{const A=Y("VPSidebarItem",!0);return r(),w(Q(p.value),{class:N(["VPSidebarItem",g.value])},{default:h(()=>[M.item.text?(r(),d("div",ue({key:0,class:"item",role:P.value},zt(M.item.items?{click:V,keydown:V}:{},!0),{tabindex:M.item.items&&0}),[$l,M.item.link?(r(),w(X,{key:0,tag:m.value,class:"link",href:M.item.link},{default:h(()=>[(r(),w(Q(f.value),{class:"text",innerHTML:M.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href"])):(r(),w(Q(f.value),{key:1,class:"text",innerHTML:M.item.text},null,8,["innerHTML"])),M.item.collapsed!=null?(r(),d("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:I,onKeydown:Ht(I,["enter"]),tabindex:"0"},[y(je,{class:"caret-icon"})],40,Pl)):b("",!0)],16,kl)):b("",!0),M.item.items&&M.item.items.length?(r(),d("div",Vl,[M.depth<5?(r(!0),d(B,{key:0},E(M.item.items,T=>(r(),w(A,{key:T.text,item:T,depth:M.depth+1},null,8,["item","depth"]))),128)):b("",!0)])):b("",!0)]),_:1},8,["class"])}}});const Sl=k(wl,[["__scopeId","data-v-9b797284"]]),bt=e=>(R("data-v-845b8fc6"),e=e(),U(),e),Ll=bt(()=>_("div",{class:"curtain"},null,-1)),Ml={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},xl=bt(()=>_("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),Cl=$({__name:"VPSidebar",props:{open:{type:Boolean}},setup(e){const t=e,{sidebarGroups:n,hasSidebar:s}=K();let o=S(null);function a(){mt(o.value,{reserveScrollBarGap:!0})}function i(){gt()}return Be(async()=>{var c;t.open?(a(),(c=o.value)==null||c.focus()):i()}),(c,u)=>l(s)?(r(),d("aside",{key:0,class:N(["VPSidebar",{open:c.open}]),ref_key:"navEl",ref:o,onClick:u[0]||(u[0]=rt(()=>{},["stop"]))},[Ll,_("nav",Ml,[xl,v(c.$slots,"sidebar-nav-before",{},void 0,!0),(r(!0),d(B,null,E(l(n),p=>(r(),d("div",{key:p.text,class:"group"},[y(Sl,{item:p,depth:0},null,8,["item"])]))),128)),v(c.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):b("",!0)}});const Tl=k(Cl,[["__scopeId","data-v-845b8fc6"]]),Il=$({__name:"VPSkipLink",setup(e){const t=$e(),n=S();Z(()=>t.path,()=>n.value.focus());function s({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(),d(B,null,[_("span",{ref_key:"backToTop",ref:n,tabindex:"-1"},null,512),_("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:s}," Skip to content ")],64))}});const Al=k(Il,[["__scopeId","data-v-ae3e3f51"]]),Bl=$({__name:"Layout",setup(e){const{isOpen:t,open:n,close:s}=K(),o=$e();Z(()=>o.path,s),dn(t,s),de("close-sidebar",s),de("is-sidebar-open",t);const{frontmatter:a}=C(),i=Et(),c=L(()=>!!i["home-hero-image"]);return de("hero-image-slot-exists",c),(u,p)=>{const m=Y("Content");return l(a).layout!==!1?(r(),d("div",{key:0,class:N(["Layout",l(a).pageClass])},[v(u.$slots,"layout-top",{},void 0,!0),y(Al),y(Gt,{class:"backdrop",show:l(t),onClick:l(s)},null,8,["show","onClick"]),l(a).navbar!==!1?(r(),w(yl,{key:0},{"nav-bar-title-before":h(()=>[v(u.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":h(()=>[v(u.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":h(()=>[v(u.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":h(()=>[v(u.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":h(()=>[v(u.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":h(()=>[v(u.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3})):b("",!0),y(Go,{open:l(t),onOpenMenu:l(n)},null,8,["open","onOpenMenu"]),y(Tl,{open:l(t)},{"sidebar-nav-before":h(()=>[v(u.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":h(()=>[v(u.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),y(ko,null,{"page-top":h(()=>[v(u.$slots,"page-top",{},void 0,!0)]),"page-bottom":h(()=>[v(u.$slots,"page-bottom",{},void 0,!0)]),"not-found":h(()=>[v(u.$slots,"not-found",{},void 0,!0)]),"home-hero-before":h(()=>[v(u.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info":h(()=>[v(u.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":h(()=>[v(u.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":h(()=>[v(u.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":h(()=>[v(u.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":h(()=>[v(u.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":h(()=>[v(u.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":h(()=>[v(u.$slots,"doc-before",{},void 0,!0)]),"doc-after":h(()=>[v(u.$slots,"doc-after",{},void 0,!0)]),"doc-top":h(()=>[v(u.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":h(()=>[v(u.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":h(()=>[v(u.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":h(()=>[v(u.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":h(()=>[v(u.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":h(()=>[v(u.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":h(()=>[v(u.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":h(()=>[v(u.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),y(So),v(u.$slots,"layout-bottom",{},void 0,!0)],2)):(r(),w(m,{key:1}))}}});const Nl=k(Bl,[["__scopeId","data-v-255ec12d"]]);const zl={Layout:Nl,enhanceApp:({app:e})=>{e.component("Badge",Ot)}};export{zl as t};
|