vue-office/examples/docs/assets/chunks/theme.3c6138c2.js
2023-03-22 22:03:51 +08:00

8 lines
66 KiB
JavaScript

import{d as g,o as a,c as i,r as u,n as M,a as C,t as P,_ as p,u as Ze,b as et,e as tt,f as nt,g as G,w as st,h as ot,i as at,P as ct,j as ve,k as q,l as X,m as I,p as b,q as ne,s as K,v as ce,x as J,y as r,F as L,z as y,A as v,T as fe,B as m,C as ee,D as c,E as h,G as R,H as lt,I as U,J as ze,K as it,L as rt,M as B,N as E,O as H,Q as ut,R as Ie,S as he,U as te,V as dt,W as pe,X as _t,Y as vt,Z as ft,$ as ht,a0 as pt,a1 as mt,a2 as gt,a3 as yt}from"./framework.3816f80c.js";const bt=g({__name:"VPBadge",props:{text:null,type:null},setup(e){return(t,n)=>(a(),i("span",{class:M(["VPBadge",e.type??"tip"])},[u(t.$slots,"default",{},()=>[C(P(e.text),1)],!0)],2))}});const kt=p(bt,[["__scopeId","data-v-350d3852"]]),w=Ze;var Ce;const De=typeof window<"u",$t=e=>typeof e=="string",Pt=()=>{};De&&((Ce=window==null?void 0:window.navigator)!=null&&Ce.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Fe(e){return typeof e=="function"?e():tt(e)}function wt(e){return e}function Vt(e){return typeof e=="function"?nt(e):G(e)}function xt(e,t=!0){t?e():et(e)}function St(e){var t;const n=Fe(e);return(t=n==null?void 0:n.$el)!=null?t:n}const me=De?window:void 0;function Lt(...e){let t,n,s,o;if($t(e[0])||Array.isArray(e[0])?([n,s,o]=e,t=me):[t,n,s,o]=e,!t)return Pt;Array.isArray(n)||(n=[n]),Array.isArray(s)||(s=[s]);const l=[],_=()=>{l.forEach($=>$()),l.length=0},f=($,S,V,x)=>($.addEventListener(S,V,x),()=>$.removeEventListener(S,V,x)),d=st(()=>[St(t),Fe(o)],([$,S])=>{_(),$&&l.push(...n.flatMap(V=>s.map(x=>f($,V,x,S))))},{immediate:!0,flush:"post"});return()=>{d(),_()}}function Mt(e,t=!1){const n=G(),s=()=>n.value=!!e();return s(),xt(s,t),n}function ue(e,t={}){const{window:n=me}=t,s=Mt(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let o;const l=G(!1),_=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",f):o.removeListener(f))},f=()=>{s.value&&(_(),o=n.matchMedia(Vt(e).value),l.value=o.matches,"addEventListener"in o?o.addEventListener("change",f):o.addListener(f))};return ot(f),l}const Be=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ne="__vueuse_ssr_handlers__";Be[Ne]=Be[Ne]||{};var Te;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(Te||(Te={}));var It=Object.defineProperty,Ae=Object.getOwnPropertySymbols,Ct=Object.prototype.hasOwnProperty,Bt=Object.prototype.propertyIsEnumerable,Ee=(e,t,n)=>t in e?It(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Nt=(e,t)=>{for(var n in t||(t={}))Ct.call(t,n)&&Ee(e,n,t[n]);if(Ae)for(var n of Ae(t))Bt.call(t,n)&&Ee(e,n,t[n]);return e};const Tt={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};Nt({linear:wt},Tt);function At({window:e=me}={}){if(!e)return{x:G(0),y:G(0)};const t=G(e.scrollX),n=G(e.scrollY);return Lt(e,"scroll",()=>{t.value=e.scrollX,n.value=e.scrollY},{capture:!1,passive:!0}),{x:t,y:n}}function Et(e,t){let n,s=!1;return()=>{n&&clearTimeout(n),s?n=setTimeout(e,t):(e(),s=!0,setTimeout(()=>{s=!1},t))}}function de(e){return/^\//.test(e)?e:`/${e}`}function Y(e){if(at(e))return e.replace(ct,"");const{site:t}=w(),{pathname:n,search:s,hash:o}=new URL(e,"http://example.com"),l=n.endsWith("/")||n.endsWith(".html")?e:e.replace(/(?:(^\.+)\/)?.*$/,`$1${n.replace(/(\.md)?$/,t.value.cleanUrls?"":".html")}${s}${o}`);return ve(l)}function Ge(e,t){if(Array.isArray(e))return e;if(e==null)return[];t=de(t);const n=Object.keys(e).sort((s,o)=>o.split("/").length-s.split("/").length).find(s=>t.startsWith(de(s)));return n?e[n]:[]}function Ht(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 Ot(e){const t=[];function n(s){for(const o of s)o.text&&o.link&&t.push({text:o.text,link:o.link}),o.items&&n(o.items)}return n(e),t}function _e(e,t){return Array.isArray(t)?t.some(n=>_e(e,n)):q(e,t.link)?!0:t.items?_e(e,t.items):!1}function O(){const e=X(),{theme:t,frontmatter:n}=w(),s=ue("(min-width: 960px)"),o=I(!1),l=b(()=>{const x=t.value.sidebar,N=e.data.relativePath;return x?Ge(x,N):[]}),_=b(()=>n.value.sidebar!==!1&&l.value.length>0&&n.value.layout!=="home"),f=b(()=>n.value.layout==="home"?!1:n.value.aside!=null?!!n.value.aside:t.value.aside!==!1),d=b(()=>_.value&&s.value),k=b(()=>_.value?Ht(l.value):[]);function $(){o.value=!0}function S(){o.value=!1}function V(){o.value?S():$()}return{isOpen:o,sidebar:l,sidebarGroups:k,hasSidebar:_,hasAside:f,isSidebarEnabled:d,open:$,close:S,toggle:V}}function zt(e,t){let n;ne(()=>{n=e.value?document.activeElement:void 0}),K(()=>{window.addEventListener("keyup",s)}),ce(()=>{window.removeEventListener("keyup",s)});function s(o){o.key==="Escape"&&e.value&&(t(),n==null||n.focus())}}function Dt(e){const{page:t}=w(),n=I(!1),s=b(()=>e.value.collapsed!=null),o=b(()=>!!e.value.link),l=b(()=>q(t.value.relativePath,e.value.link)),_=b(()=>l.value?!0:e.value.items?_e(t.value.relativePath,e.value.items):!1),f=b(()=>!!(e.value.items&&e.value.items.length));ne(()=>{n.value=!!(s.value&&e.value.collapsed)}),ne(()=>{(l.value||_.value)&&(n.value=!1)});function d(){s.value&&(n.value=!n.value)}return{collapsed:n,collapsible:s,isLink:o,isActiveLink:l,hasActiveLink:_,hasChildren:f,toggle:d}}const Ft=g({__name:"VPSkipLink",setup(e){const t=X(),n=I();J(()=>t.path,()=>n.value.focus());function s({target:o}){const l=document.querySelector(decodeURIComponent(o.hash));if(l){const _=()=>{l.removeAttribute("tabindex"),l.removeEventListener("blur",_)};l.setAttribute("tabindex","-1"),l.addEventListener("blur",_),l.focus(),window.scrollTo(0,0)}}return(o,l)=>(a(),i(L,null,[r("span",{ref_key:"backToTop",ref:n,tabindex:"-1"},null,512),r("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:s}," Skip to content ")],64))}});const Gt=p(Ft,[["__scopeId","data-v-c8616af1"]]),Rt={key:0,class:"VPBackdrop"},Ut=g({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(e){return(t,n)=>(a(),y(fe,{name:"fade"},{default:v(()=>[e.show?(a(),i("div",Rt)):m("",!0)]),_:1}))}});const jt=p(Ut,[["__scopeId","data-v-c79a1216"]]);function qt(){const e=I(!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 l=X();return J(()=>l.path,n),{isScreenOpen:e,openScreen:t,closeScreen:n,toggleScreen:s}}function Z({removeCurrent:e=!0,correspondingLink:t=!1}={}){const{site:n,localeIndex:s,page:o,theme:l}=w(),_=b(()=>{var d,k;return{label:(d=n.value.locales[s.value])==null?void 0:d.label,link:((k=n.value.locales[s.value])==null?void 0:k.link)||(s.value==="root"?"/":`/${s.value}/`)}});return{localeLinks:b(()=>Object.entries(n.value.locales).flatMap(([d,k])=>e&&_.value.label===k.label?[]:{text:k.label,link:Kt(k.link||(d==="root"?"/":`/${d}/`),l.value.i18nRouting!==!1&&t,o.value.relativePath.slice(_.value.link.length-1),!n.value.cleanUrls)})),currentLang:_}}function Kt(e,t,n,s){return t?e.replace(/\/$/,"")+de(n.replace(/(^|\/)?index.md$/,"$1").replace(/\.md$/,s?".html":"")):e}const Wt=["src","alt"],Qt={inheritAttrs:!1},Yt=g({...Qt,__name:"VPImage",props:{image:null,alt:null},setup(e){return(t,n)=>{const s=R("VPImage",!0);return e.image?(a(),i(L,{key:0},[typeof e.image=="string"||"src"in e.image?(a(),i("img",ee({key:0,class:"VPImage"},typeof e.image=="string"?t.$attrs:{...e.image,...t.$attrs},{src:c(ve)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,Wt)):(a(),i(L,{key:1},[h(s,ee({class:"dark",image:e.image.dark,alt:e.image.alt},t.$attrs),null,16,["image","alt"]),h(s,ee({class:"light",image:e.image.light,alt:e.image.alt},t.$attrs),null,16,["image","alt"])],64))],64)):m("",!0)}}});const ge=p(Yt,[["__scopeId","data-v-6db2186b"]]),Xt=["href"],Jt=g({__name:"VPNavBarTitle",setup(e){const{site:t,theme:n}=w(),{hasSidebar:s}=O(),{currentLang:o}=Z();return(l,_)=>(a(),i("div",{class:M(["VPNavBarTitle",{"has-sidebar":c(s)}])},[r("a",{class:"title",href:c(Y)(c(o).link)},[u(l.$slots,"nav-bar-title-before",{},void 0,!0),c(n).logo?(a(),y(ge,{key:0,class:"logo",image:c(n).logo},null,8,["image"])):m("",!0),c(n).siteTitle?(a(),i(L,{key:1},[C(P(c(n).siteTitle),1)],64)):c(n).siteTitle===void 0?(a(),i(L,{key:2},[C(P(c(t).title),1)],64)):m("",!0),u(l.$slots,"nav-bar-title-after",{},void 0,!0)],8,Xt)],2))}});const Zt=p(Jt,[["__scopeId","data-v-f4ef19a3"]]);const en={key:0,class:"VPNavBarSearch"},tn={key:1,id:"docsearch"},nn={class:"DocSearch-Button-Container"},sn=r("svg",{class:"DocSearch-Search-Icon",width:"20",height:"20",viewBox:"0 0 20 20","aria-label":"search icon"},[r("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),on={class:"DocSearch-Button-Placeholder"},an=r("span",{class:"DocSearch-Button-Keys"},[r("kbd",{class:"DocSearch-Button-Key"}),r("kbd",{class:"DocSearch-Button-Key"},"K")],-1),cn=g({__name:"VPNavBarSearch",setup(e){lt($=>({"7fe983ec":l.value}));const t=()=>null,{theme:n,localeIndex:s}=w(),o=I(!1),l=I("'Meta'"),_=b(()=>{var $,S,V,x,N,A,T,z;return((N=(x=(V=(S=($=n.value.algolia)==null?void 0:$.locales)==null?void 0:S[s.value])==null?void 0:V.translations)==null?void 0:x.button)==null?void 0:N.buttonText)||((z=(T=(A=n.value.algolia)==null?void 0:A.translations)==null?void 0:T.button)==null?void 0:z.buttonText)||"Search"}),f=()=>{const $="VPAlgoliaPreconnect";(window.requestIdleCallback||setTimeout)(()=>{const V=document.createElement("link");V.id=$,V.rel="preconnect",V.href=`https://${n.value.algolia.appId}-dsn.algolia.net`,V.crossOrigin="",document.head.appendChild(V)})};K(()=>{if(!n.value.algolia)return;f(),l.value=/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?"'⌘'":"'Ctrl'";const $=V=>{V.key==="k"&&(V.ctrlKey||V.metaKey)&&(V.preventDefault(),d(),S())},S=()=>{window.removeEventListener("keydown",$)};window.addEventListener("keydown",$),ce(S)});function d(){o.value||(o.value=!0,setTimeout(k,16))}function k(){const $=new Event("keydown");$.key="k",$.metaKey=!0,window.dispatchEvent($),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||k()},16)}return($,S)=>c(n).algolia?(a(),i("div",en,[o.value?(a(),y(c(t),{key:0,algolia:c(n).algolia},null,8,["algolia"])):(a(),i("div",tn,[r("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":"Search",onClick:d},[r("span",nn,[sn,r("span",on,P(c(_)),1)]),an])]))])):m("",!0)}});const ln={},rn={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",height:"24px",viewBox:"0 0 24 24",width:"24px"},un=r("path",{d:"M0 0h24v24H0V0z",fill:"none"},null,-1),dn=r("path",{d:"M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5H9z"},null,-1),_n=[un,dn];function vn(e,t){return a(),i("svg",rn,_n)}const fn=p(ln,[["render",vn]]),hn=g({__name:"VPLink",props:{tag:null,href:null,noIcon:{type:Boolean},target:null,rel:null},setup(e){const t=e,n=b(()=>t.tag??t.href?"a":"span"),s=b(()=>t.href&&ze.test(t.href));return(o,l)=>(a(),y(U(c(n)),{class:M(["VPLink",{link:e.href}]),href:e.href?c(Y)(e.href):void 0,target:e.target||(c(s)?"_blank":void 0),rel:e.rel||(c(s)?"noreferrer":void 0)},{default:v(()=>[u(o.$slots,"default",{},void 0,!0),c(s)&&!e.noIcon?(a(),y(fn,{key:0,class:"icon"})):m("",!0)]),_:3},8,["class","href","target","rel"]))}});const D=p(hn,[["__scopeId","data-v-8f4dc553"]]),pn=g({__name:"VPNavBarMenuLink",props:{item:null},setup(e){const{page:t}=w();return(n,s)=>(a(),y(D,{class:M({VPNavBarMenuLink:!0,active:c(q)(c(t).relativePath,e.item.activeMatch||e.item.link,!!e.item.activeMatch)}),href:e.item.link,target:e.item.target,rel:e.item.rel,tabindex:"0"},{default:v(()=>[C(P(e.item.text),1)]),_:1},8,["class","href","target","rel"]))}});const mn=p(pn,[["__scopeId","data-v-37adc828"]]),ye=I();let Re=!1,re=0;function gn(e){const t=I(!1);if(it){!Re&&yn(),re++;const n=J(ye,s=>{var o,l,_;s===e.el.value||(o=e.el.value)!=null&&o.contains(s)?(t.value=!0,(l=e.onFocus)==null||l.call(e)):(t.value=!1,(_=e.onBlur)==null||_.call(e))});ce(()=>{n(),re--,re||bn()})}return rt(t)}function yn(){document.addEventListener("focusin",Ue),Re=!0,ye.value=document.activeElement}function bn(){document.removeEventListener("focusin",Ue)}function Ue(){ye.value=document.activeElement}const kn={},$n={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Pn=r("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),wn=[Pn];function Vn(e,t){return a(),i("svg",$n,wn)}const je=p(kn,[["render",Vn]]),xn={},Sn={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Ln=r("circle",{cx:"12",cy:"12",r:"2"},null,-1),Mn=r("circle",{cx:"19",cy:"12",r:"2"},null,-1),In=r("circle",{cx:"5",cy:"12",r:"2"},null,-1),Cn=[Ln,Mn,In];function Bn(e,t){return a(),i("svg",Sn,Cn)}const Nn=p(xn,[["render",Bn]]),Tn={class:"VPMenuLink"},An=g({__name:"VPMenuLink",props:{item:null},setup(e){const{page:t}=w();return(n,s)=>(a(),i("div",Tn,[h(D,{class:M({active:c(q)(c(t).relativePath,e.item.activeMatch||e.item.link,!!e.item.activeMatch)}),href:e.item.link,target:e.item.target,rel:e.item.rel},{default:v(()=>[C(P(e.item.text),1)]),_:1},8,["class","href","target","rel"])]))}});const le=p(An,[["__scopeId","data-v-d2c93bab"]]),En={class:"VPMenuGroup"},Hn={key:0,class:"title"},On=g({__name:"VPMenuGroup",props:{text:null,items:null},setup(e){return(t,n)=>(a(),i("div",En,[e.text?(a(),i("p",Hn,P(e.text),1)):m("",!0),(a(!0),i(L,null,B(e.items,s=>(a(),i(L,null,["link"in s?(a(),y(le,{key:0,item:s},null,8,["item"])):m("",!0)],64))),256))]))}});const zn=p(On,[["__scopeId","data-v-69e747b5"]]),Dn={class:"VPMenu"},Fn={key:0,class:"items"},Gn=g({__name:"VPMenu",props:{items:null},setup(e){return(t,n)=>(a(),i("div",Dn,[e.items?(a(),i("div",Fn,[(a(!0),i(L,null,B(e.items,s=>(a(),i(L,{key:s.text},["link"in s?(a(),y(le,{key:0,item:s},null,8,["item"])):(a(),y(zn,{key:1,text:s.text,items:s.items},null,8,["text","items"]))],64))),128))])):m("",!0),u(t.$slots,"default",{},void 0,!0)]))}});const Rn=p(Gn,[["__scopeId","data-v-e7ea1737"]]),Un=["aria-expanded","aria-label"],jn={key:0,class:"text"},qn={class:"menu"},Kn=g({__name:"VPFlyout",props:{icon:null,button:null,label:null,items:null},setup(e){const t=I(!1),n=I();gn({el:n,onBlur:s});function s(){t.value=!1}return(o,l)=>(a(),i("div",{class:"VPFlyout",ref_key:"el",ref:n,onMouseenter:l[1]||(l[1]=_=>t.value=!0),onMouseleave:l[2]||(l[2]=_=>t.value=!1)},[r("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":t.value,"aria-label":e.label,onClick:l[0]||(l[0]=_=>t.value=!t.value)},[e.button||e.icon?(a(),i("span",jn,[e.icon?(a(),y(U(e.icon),{key:0,class:"option-icon"})):m("",!0),C(" "+P(e.button)+" ",1),h(je,{class:"text-icon"})])):(a(),y(Nn,{key:1,class:"icon"}))],8,Un),r("div",qn,[h(Rn,{items:e.items},{default:v(()=>[u(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}});const be=p(Kn,[["__scopeId","data-v-764effdf"]]),Wn=g({__name:"VPNavBarMenuGroup",props:{item:null},setup(e){const{page:t}=w();return(n,s)=>(a(),y(be,{class:M({VPNavBarMenuGroup:!0,active:c(q)(c(t).relativePath,e.item.activeMatch,!!e.item.activeMatch)}),button:e.item.text,items:e.item.items},null,8,["class","button","items"]))}}),Qn=e=>(E("data-v-7f418b0f"),e=e(),H(),e),Yn={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},Xn=Qn(()=>r("span",{id:"main-nav-aria-label",class:"visually-hidden"},"Main Navigation",-1)),Jn=g({__name:"VPNavBarMenu",setup(e){const{theme:t}=w();return(n,s)=>c(t).nav?(a(),i("nav",Yn,[Xn,(a(!0),i(L,null,B(c(t).nav,o=>(a(),i(L,{key:o.text},["link"in o?(a(),y(mn,{key:0,item:o},null,8,["item"])):(a(),y(Wn,{key:1,item:o},null,8,["item"]))],64))),128))])):m("",!0)}});const Zn=p(Jn,[["__scopeId","data-v-7f418b0f"]]),es={},ts={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},ns=r("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1),ss=r("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),os=[ns,ss];function as(e,t){return a(),i("svg",ts,os)}const qe=p(es,[["render",as]]),cs={class:"items"},ls={class:"title"},is=g({__name:"VPNavBarTranslations",setup(e){const{theme:t}=w(),{localeLinks:n,currentLang:s}=Z({correspondingLink:!0});return(o,l)=>c(n).length&&c(s).label?(a(),y(be,{key:0,class:"VPNavBarTranslations",icon:qe,label:c(t).langMenuLabel||"Change language"},{default:v(()=>[r("div",cs,[r("p",ls,P(c(s).label),1),(a(!0),i(L,null,B(c(n),_=>(a(),y(le,{key:_.link,item:_},null,8,["item"]))),128))])]),_:1},8,["label"])):m("",!0)}});const rs=p(is,[["__scopeId","data-v-74abcbb9"]]);const us={},ds={class:"VPSwitch",type:"button",role:"switch"},_s={class:"check"},vs={key:0,class:"icon"};function fs(e,t){return a(),i("button",ds,[r("span",_s,[e.$slots.default?(a(),i("span",vs,[u(e.$slots,"default",{},void 0,!0)])):m("",!0)])])}const hs=p(us,[["render",fs],["__scopeId","data-v-f3c41672"]]),ps={},ms={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},gs=ut('<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),ys=[gs];function bs(e,t){return a(),i("svg",ms,ys)}const ks=p(ps,[["render",bs]]),$s={},Ps={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},ws=r("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),Vs=[ws];function xs(e,t){return a(),i("svg",Ps,Vs)}const Ss=p($s,[["render",xs]]),Ls={title:"toggle dark mode"},Ms=g({__name:"VPSwitchAppearance",setup(e){const{site:t,isDark:n}=w(),s=I(!1),o=typeof localStorage<"u"?l():()=>{};K(()=>{s.value=document.documentElement.classList.contains("dark")});function l(){const _=window.matchMedia("(prefers-color-scheme: dark)"),f=document.documentElement.classList;let d=localStorage.getItem(Ie),k=t.value.appearance==="dark"&&d==null||(d==="auto"||d==null?_.matches:d==="dark");_.onchange=V=>{d==="auto"&&S(k=V.matches)};function $(){S(k=!k),d=k?_.matches?"auto":"dark":_.matches?"light":"auto",localStorage.setItem(Ie,d)}function S(V){const x=document.createElement("style");x.type="text/css",x.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(x),s.value=V,f[V?"add":"remove"]("dark"),window.getComputedStyle(x).opacity,document.head.removeChild(x)}return $}return J(s,_=>{n.value=_}),(_,f)=>(a(),i("label",Ls,[h(hs,{class:"VPSwitchAppearance","aria-checked":s.value,onClick:c(o)},{default:v(()=>[h(ks,{class:"sun"}),h(Ss,{class:"moon"})]),_:1},8,["aria-checked","onClick"])]))}});const ke=p(Ms,[["__scopeId","data-v-a9c8afb8"]]),Is={key:0,class:"VPNavBarAppearance"},Cs=g({__name:"VPNavBarAppearance",setup(e){const{site:t}=w();return(n,s)=>c(t).appearance?(a(),i("div",Is,[h(ke)])):m("",!0)}});const Bs=p(Cs,[["__scopeId","data-v-f6a63727"]]),Ns={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>'},Ts=["href","aria-label","innerHTML"],As=g({__name:"VPSocialLink",props:{icon:null,link:null},setup(e){const t=e,n=b(()=>typeof t.icon=="object"?t.icon.svg:Ns[t.icon]);return(s,o)=>(a(),i("a",{class:"VPSocialLink",href:e.link,"aria-label":typeof e.icon=="string"?e.icon:"",target:"_blank",rel:"noopener",innerHTML:c(n)},null,8,Ts))}});const Es=p(As,[["__scopeId","data-v-c530cc0a"]]),Hs={class:"VPSocialLinks"},Os=g({__name:"VPSocialLinks",props:{links:null},setup(e){return(t,n)=>(a(),i("div",Hs,[(a(!0),i(L,null,B(e.links,({link:s,icon:o})=>(a(),y(Es,{key:s,icon:o,link:s},null,8,["icon","link"]))),128))]))}});const $e=p(Os,[["__scopeId","data-v-f6988cfb"]]),zs=g({__name:"VPNavBarSocialLinks",setup(e){const{theme:t}=w();return(n,s)=>c(t).socialLinks?(a(),y($e,{key:0,class:"VPNavBarSocialLinks",links:c(t).socialLinks},null,8,["links"])):m("",!0)}});const Ds=p(zs,[["__scopeId","data-v-0394ad82"]]),Fs={key:0,class:"group translations"},Gs={class:"trans-title"},Rs={key:1,class:"group"},Us={class:"item appearance"},js={class:"label"},qs={class:"appearance-action"},Ks={key:2,class:"group"},Ws={class:"item social-links"},Qs=g({__name:"VPNavBarExtra",setup(e){const{site:t,theme:n}=w(),{localeLinks:s,currentLang:o}=Z({correspondingLink:!0}),l=b(()=>s.value.length&&o.value.label||t.value.appearance||n.value.socialLinks);return(_,f)=>c(l)?(a(),y(be,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:v(()=>[c(s).length&&c(o).label?(a(),i("div",Fs,[r("p",Gs,P(c(o).label),1),(a(!0),i(L,null,B(c(s),d=>(a(),y(le,{key:d.link,item:d},null,8,["item"]))),128))])):m("",!0),c(t).appearance?(a(),i("div",Rs,[r("div",Us,[r("p",js,P(c(n).darkModeSwitchLabel||"Appearance"),1),r("div",qs,[h(ke)])])])):m("",!0),c(n).socialLinks?(a(),i("div",Ks,[r("div",Ws,[h($e,{class:"social-links-list",links:c(n).socialLinks},null,8,["links"])])])):m("",!0)]),_:1})):m("",!0)}});const Ys=p(Qs,[["__scopeId","data-v-40855f84"]]),Xs=e=>(E("data-v-e5dd9c1c"),e=e(),H(),e),Js=["aria-expanded"],Zs=Xs(()=>r("span",{class:"container"},[r("span",{class:"top"}),r("span",{class:"middle"}),r("span",{class:"bottom"})],-1)),eo=[Zs],to=g({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(e){return(t,n)=>(a(),i("button",{type:"button",class:M(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:n[0]||(n[0]=s=>t.$emit("click"))},eo,10,Js))}});const no=p(to,[["__scopeId","data-v-e5dd9c1c"]]),so=e=>(E("data-v-1d30fa41"),e=e(),H(),e),oo={class:"container"},ao={class:"title"},co={class:"content"},lo=so(()=>r("div",{class:"curtain"},null,-1)),io={class:"content-body"},ro=g({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(e){const{y:t}=At(),{hasSidebar:n}=O(),s=b(()=>({"has-sidebar":n.value,fill:t.value>0}));return(o,l)=>(a(),i("div",{class:M(["VPNavBar",c(s)])},[r("div",oo,[r("div",ao,[h(Zt,null,{"nav-bar-title-before":v(()=>[u(o.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[u(o.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),r("div",co,[lo,r("div",io,[u(o.$slots,"nav-bar-content-before",{},void 0,!0),h(cn,{class:"search"}),h(Zn,{class:"menu"}),h(rs,{class:"translations"}),h(Bs,{class:"appearance"}),h(Ds,{class:"social-links"}),h(Ys,{class:"extra"}),u(o.$slots,"nav-bar-content-after",{},void 0,!0),h(no,{class:"hamburger",active:e.isScreenOpen,onClick:l[0]||(l[0]=_=>o.$emit("toggle-screen"))},null,8,["active"])])])])],2))}});const uo=p(ro,[["__scopeId","data-v-1d30fa41"]]);function _o(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 Pe=!1;if(typeof window<"u"){var He={get passive(){Pe=!0}};window.addEventListener("testPassive",null,He),window.removeEventListener("testPassive",null,He)}var se=typeof window<"u"&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||window.navigator.platform==="MacIntel"&&window.navigator.maxTouchPoints>1),j=[],oe=!1,we=-1,W=void 0,F=void 0,Q=void 0,Ke=function(t){return j.some(function(n){return!!(n.options.allowTouchMove&&n.options.allowTouchMove(t))})},ae=function(t){var n=t||window.event;return Ke(n.target)||n.touches.length>1?!0:(n.preventDefault&&n.preventDefault(),!1)},vo=function(t){if(Q===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);Q=document.body.style.paddingRight,document.body.style.paddingRight=o+s+"px"}}W===void 0&&(W=document.body.style.overflow,document.body.style.overflow="hidden")},fo=function(){Q!==void 0&&(document.body.style.paddingRight=Q,Q=void 0),W!==void 0&&(document.body.style.overflow=W,W=void 0)},ho=function(){return window.requestAnimationFrame(function(){if(F===void 0){F={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 l=o-window.innerHeight;l&&n>=o&&(document.body.style.top=-(n+l))})},300)}})},po=function(){if(F!==void 0){var t=-parseInt(document.body.style.top,10),n=-parseInt(document.body.style.left,10);document.body.style.position=F.position,document.body.style.top=F.top,document.body.style.left=F.left,window.scrollTo(n,t),F=void 0}},mo=function(t){return t?t.scrollHeight-t.scrollTop<=t.clientHeight:!1},go=function(t,n){var s=t.targetTouches[0].clientY-we;return Ke(t.target)?!1:n&&n.scrollTop===0&&s>0||mo(n)&&s<0?ae(t):(t.stopPropagation(),!0)},We=function(t,n){if(!t){console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");return}if(!j.some(function(o){return o.targetElement===t})){var s={targetElement:t,options:n||{}};j=[].concat(_o(j),[s]),se?ho():vo(n),se&&(t.ontouchstart=function(o){o.targetTouches.length===1&&(we=o.targetTouches[0].clientY)},t.ontouchmove=function(o){o.targetTouches.length===1&&go(o,t)},oe||(document.addEventListener("touchmove",ae,Pe?{passive:!1}:void 0),oe=!0))}},Qe=function(){se&&(j.forEach(function(t){t.targetElement.ontouchstart=null,t.targetElement.ontouchmove=null}),oe&&(document.removeEventListener("touchmove",ae,Pe?{passive:!1}:void 0),oe=!1),we=-1),se?po():fo(),j=[]};const yo=g({__name:"VPNavScreenMenuLink",props:{text:null,link:null},setup(e){const t=he("close-screen");return(n,s)=>(a(),y(D,{class:"VPNavScreenMenuLink",href:e.link,onClick:c(t)},{default:v(()=>[C(P(e.text),1)]),_:1},8,["href","onClick"]))}});const bo=p(yo,[["__scopeId","data-v-c328f34f"]]),ko={},$o={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Po=r("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),wo=[Po];function Vo(e,t){return a(),i("svg",$o,wo)}const xo=p(ko,[["render",Vo]]),So=g({__name:"VPNavScreenMenuGroupLink",props:{text:null,link:null},setup(e){const t=he("close-screen");return(n,s)=>(a(),y(D,{class:"VPNavScreenMenuGroupLink",href:e.link,onClick:c(t)},{default:v(()=>[C(P(e.text),1)]),_:1},8,["href","onClick"]))}});const Ye=p(So,[["__scopeId","data-v-3d20956d"]]),Lo={class:"VPNavScreenMenuGroupSection"},Mo={key:0,class:"title"},Io=g({__name:"VPNavScreenMenuGroupSection",props:{text:null,items:null},setup(e){return(t,n)=>(a(),i("div",Lo,[e.text?(a(),i("p",Mo,P(e.text),1)):m("",!0),(a(!0),i(L,null,B(e.items,s=>(a(),y(Ye,{key:s.text,text:s.text,link:s.link},null,8,["text","link"]))),128))]))}});const Co=p(Io,[["__scopeId","data-v-7478538b"]]),Bo=["aria-controls","aria-expanded"],No={class:"button-text"},To=["id"],Ao={key:1,class:"group"},Eo=g({__name:"VPNavScreenMenuGroup",props:{text:null,items:null},setup(e){const t=e,n=I(!1),s=b(()=>`NavScreenGroup-${t.text.replace(" ","-").toLowerCase()}`);function o(){n.value=!n.value}return(l,_)=>(a(),i("div",{class:M(["VPNavScreenMenuGroup",{open:n.value}])},[r("button",{class:"button","aria-controls":c(s),"aria-expanded":n.value,onClick:o},[r("span",No,P(e.text),1),h(xo,{class:"button-icon"})],8,Bo),r("div",{id:c(s),class:"items"},[(a(!0),i(L,null,B(e.items,f=>(a(),i(L,{key:f.text},["link"in f?(a(),i("div",{key:f.text,class:"item"},[h(Ye,{text:f.text,link:f.link},null,8,["text","link"])])):(a(),i("div",Ao,[h(Co,{text:f.text,items:f.items},null,8,["text","items"])]))],64))),128))],8,To)],2))}});const Ho=p(Eo,[["__scopeId","data-v-a9a19324"]]),Oo={key:0,class:"VPNavScreenMenu"},zo=g({__name:"VPNavScreenMenu",setup(e){const{theme:t}=w();return(n,s)=>c(t).nav?(a(),i("nav",Oo,[(a(!0),i(L,null,B(c(t).nav,o=>(a(),i(L,{key:o.text},["link"in o?(a(),y(bo,{key:0,text:o.text,link:o.link},null,8,["text","link"])):(a(),y(Ho,{key:1,text:o.text||"",items:o.items},null,8,["text","items"]))],64))),128))])):m("",!0)}}),Do={key:0,class:"VPNavScreenAppearance"},Fo={class:"text"},Go=g({__name:"VPNavScreenAppearance",setup(e){const{site:t,theme:n}=w();return(s,o)=>c(t).appearance?(a(),i("div",Do,[r("p",Fo,P(c(n).darkModeSwitchLabel||"Appearance"),1),h(ke)])):m("",!0)}});const Ro=p(Go,[["__scopeId","data-v-add8f686"]]),Uo={class:"list"},jo=g({__name:"VPNavScreenTranslations",setup(e){const{localeLinks:t,currentLang:n}=Z({correspondingLink:!0}),s=I(!1);function o(){s.value=!s.value}return(l,_)=>c(t).length&&c(n).label?(a(),i("div",{key:0,class:M(["VPNavScreenTranslations",{open:s.value}])},[r("button",{class:"title",onClick:o},[h(qe,{class:"icon lang"}),C(" "+P(c(n).label)+" ",1),h(je,{class:"icon chevron"})]),r("ul",Uo,[(a(!0),i(L,null,B(c(t),f=>(a(),i("li",{key:f.link,class:"item"},[h(D,{class:"link",href:f.link},{default:v(()=>[C(P(f.text),1)]),_:2},1032,["href"])]))),128))])],2)):m("",!0)}});const qo=p(jo,[["__scopeId","data-v-d72aa483"]]),Ko=g({__name:"VPNavScreenSocialLinks",setup(e){const{theme:t}=w();return(n,s)=>c(t).socialLinks?(a(),y($e,{key:0,class:"VPNavScreenSocialLinks",links:c(t).socialLinks},null,8,["links"])):m("",!0)}}),Wo={class:"container"},Qo=g({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(e){const t=I(null);function n(){We(t.value,{reserveScrollBarGap:!0})}function s(){Qe()}return(o,l)=>(a(),y(fe,{name:"fade",onEnter:n,onAfterLeave:s},{default:v(()=>[e.open?(a(),i("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:t},[r("div",Wo,[u(o.$slots,"nav-screen-content-before",{},void 0,!0),h(zo,{class:"menu"}),h(qo,{class:"translations"}),h(Ro,{class:"appearance"}),h(Ko,{class:"social-links"}),u(o.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):m("",!0)]),_:3}))}});const Yo=p(Qo,[["__scopeId","data-v-724636ae"]]),Xo={class:"VPNav"},Jo=g({__name:"VPNav",setup(e){const{isScreenOpen:t,closeScreen:n,toggleScreen:s}=qt();return te("close-screen",n),(o,l)=>(a(),i("header",Xo,[h(uo,{"is-screen-open":c(t),onToggleScreen:c(s)},{"nav-bar-title-before":v(()=>[u(o.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[u(o.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":v(()=>[u(o.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":v(()=>[u(o.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),h(Yo,{open:c(t)},{"nav-screen-content-before":v(()=>[u(o.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":v(()=>[u(o.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])]))}});const Zo=p(Jo,[["__scopeId","data-v-7e5bc4a5"]]),ea={},ta={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},na=r("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),sa=r("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),oa=r("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),aa=r("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),ca=[na,sa,oa,aa];function la(e,t){return a(),i("svg",ta,ca)}const ia=p(ea,[["render",la]]);function ra(){const{hasSidebar:e}=O(),t=ue("(min-width: 960px)"),n=ue("(min-width: 1280px)");return{isAsideEnabled:b(()=>!n.value&&!t.value?!1:e.value?n.value:t.value)}}const ua=71;function Ve(e){return typeof e.outline=="object"&&!Array.isArray(e.outline)&&e.outline.label||e.outlineTitle||"On this page"}function xe(e){const t=[...document.querySelectorAll(".VPDoc h2,h3,h4,h5,h6")].filter(n=>n.id&&n.hasChildNodes()).map(n=>{const s=Number(n.tagName[1]);return{title:da(n),link:"#"+n.id,level:s}});return _a(t,e)}function da(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 _a(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(_=>_.level>=s&&_.level<=o);const l=[];e:for(let _=0;_<e.length;_++){const f=e[_];if(_===0)l.push(f);else{for(let d=_-1;d>=0;d--){const k=e[d];if(k.level<f.level){(k.children||(k.children=[])).push(f);continue e}}l.push(f)}}return l}function va(e,t){const{isAsideEnabled:n}=ra(),s=Et(l,100);let o=null;K(()=>{requestAnimationFrame(l),window.addEventListener("scroll",s)}),dt(()=>{_(location.hash)}),ce(()=>{window.removeEventListener("scroll",s)});function l(){if(!n.value)return;const f=[].slice.call(e.value.querySelectorAll(".outline-link")),d=[].slice.call(document.querySelectorAll(".content .header-anchor")).filter(x=>f.some(N=>N.hash===x.hash&&x.offsetParent!==null)),k=window.scrollY,$=window.innerHeight,S=document.body.offsetHeight,V=Math.abs(k+$-S)<1;if(d.length&&V){_(d[d.length-1].hash);return}for(let x=0;x<d.length;x++){const N=d[x],A=d[x+1],[T,z]=fa(x,N,A);if(T){_(z);return}}}function _(f){o&&o.classList.remove("active"),f!==null&&(o=e.value.querySelector(`a[href="${decodeURIComponent(f)}"]`));const d=o;d?(d.classList.add("active"),t.value.style.top=d.offsetTop+33+"px",t.value.style.opacity="1"):(t.value.style.top="33px",t.value.style.opacity="0")}}function Oe(e){return e.parentElement.offsetTop-ua}function fa(e,t,n){const s=window.scrollY;return e===0&&s===0?[!0,null]:s<Oe(t)?[!1,null]:!n||s<Oe(n)?[!0,t.hash]:[!1,null]}const ha=["href"],pa=g({__name:"VPDocOutlineItem",props:{headers:null,root:{type:Boolean}},setup(e){function t({target:n}){const s="#"+n.href.split("#")[1],o=document.querySelector(decodeURIComponent(s));o==null||o.focus()}return(n,s)=>{const o=R("VPDocOutlineItem",!0);return a(),i("ul",{class:M(e.root?"root":"nested")},[(a(!0),i(L,null,B(e.headers,({children:l,link:_,title:f})=>(a(),i("li",null,[r("a",{class:"outline-link",href:_,onClick:t},P(f),9,ha),l!=null&&l.length?(a(),y(o,{key:0,headers:l},null,8,["headers"])):m("",!0)]))),256))],2)}}});const Se=p(pa,[["__scopeId","data-v-8f12e865"]]),ma={},ga={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},ya=r("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),ba=[ya];function ka(e,t){return a(),i("svg",ga,ba)}const Le=p(ma,[["render",ka]]),$a=g({__name:"VPLocalNavOutlineDropdown",setup(e){const{frontmatter:t,theme:n}=w(),s=I(!1),o=I(0),l=I();pe(()=>{s.value=!1});function _(){s.value=!s.value,o.value=window.innerHeight+Math.min(window.scrollY-64,0)}function f(k){k.target.classList.contains("outline-link")&&(l.value&&(l.value.style.transition="none"),vt(()=>{s.value=!1}))}function d(){s.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(k,$)=>(a(),i("div",{class:"VPLocalNavOutlineDropdown",style:_t({"--vp-vh":o.value+"px"})},[r("button",{onClick:_,class:M({open:s.value})},[C(P(c(Ve)(c(n)))+" ",1),h(Le,{class:"icon"})],2),h(fe,{name:"flyout"},{default:v(()=>[s.value?(a(),i("div",{key:0,ref_key:"items",ref:l,class:"items",onClick:f},[r("a",{class:"top-link",href:"#",onClick:d},P(c(n).returnToTopLabel||"Return to top"),1),h(Se,{headers:c(xe)(c(t).outline??c(n).outline)},null,8,["headers"])],512)):m("",!0)]),_:1})],4))}});const Pa=p($a,[["__scopeId","data-v-5b59f8f7"]]),wa={key:0,class:"VPLocalNav"},Va=["aria-expanded"],xa={class:"menu-text"},Sa=g({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(e){const{theme:t}=w(),{hasSidebar:n}=O();return(s,o)=>c(n)?(a(),i("div",wa,[r("button",{class:"menu","aria-expanded":e.open,"aria-controls":"VPSidebarNav",onClick:o[0]||(o[0]=l=>s.$emit("open-menu"))},[h(ia,{class:"menu-icon"}),r("span",xa,P(c(t).sidebarMenuLabel||"Menu"),1)],8,Va),h(Pa)])):m("",!0)}});const La=p(Sa,[["__scopeId","data-v-f5a2ca58"]]),Ma=e=>(E("data-v-c4656e6d"),e=e(),H(),e),Ia=["role","tabindex"],Ca=Ma(()=>r("div",{class:"indicator"},null,-1)),Ba=["onKeydown"],Na={key:1,class:"items"},Ta=g({__name:"VPSidebarItem",props:{item:null,depth:null},setup(e){const t=e,{collapsed:n,collapsible:s,isLink:o,isActiveLink:l,hasActiveLink:_,hasChildren:f,toggle:d}=Dt(b(()=>t.item)),k=b(()=>f.value?"section":"div"),$=b(()=>o.value?"a":"div"),S=b(()=>f.value?t.depth+2===7?"p":`h${t.depth+2}`:"p"),V=b(()=>o.value?void 0:"button"),x=b(()=>[[`level-${t.depth}`],{collapsible:s.value},{collapsed:n.value},{"is-link":o.value},{"is-active":l.value},{"has-active":_.value}]);function N(T){"key"in T&&T.key!=="Enter"||!t.item.link&&d()}function A(){t.item.link&&d()}return(T,z)=>{const Je=R("VPSidebarItem",!0);return a(),y(U(c(k)),{class:M(["VPSidebarItem",c(x)])},{default:v(()=>[e.item.text?(a(),i("div",ee({key:0,class:"item",role:c(V)},ht(e.item.items?{click:N,keydown:N}:{},!0),{tabindex:e.item.items&&0}),[Ca,e.item.link?(a(),y(D,{key:0,tag:c($),class:"link",href:e.item.link},{default:v(()=>[(a(),y(U(c(S)),{class:"text",innerHTML:e.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href"])):(a(),y(U(c(S)),{key:1,class:"text",innerHTML:e.item.text},null,8,["innerHTML"])),e.item.collapsed!=null?(a(),i("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:A,onKeydown:ft(A,["enter"]),tabindex:"0"},[h(Le,{class:"caret-icon"})],40,Ba)):m("",!0)],16,Ia)):m("",!0),e.item.items&&e.item.items.length?(a(),i("div",Na,[e.depth<5?(a(!0),i(L,{key:0},B(e.item.items,Me=>(a(),y(Je,{key:Me.text,item:Me,depth:e.depth+1},null,8,["item","depth"]))),128)):m("",!0)])):m("",!0)]),_:1},8,["class"])}}});const Aa=p(Ta,[["__scopeId","data-v-c4656e6d"]]),Xe=e=>(E("data-v-139a1f1d"),e=e(),H(),e),Ea=Xe(()=>r("div",{class:"curtain"},null,-1)),Ha={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},Oa=Xe(()=>r("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),za=g({__name:"VPSidebar",props:{open:{type:Boolean}},setup(e){const t=e,{sidebarGroups:n,hasSidebar:s}=O();let o=I(null);function l(){We(o.value,{reserveScrollBarGap:!0})}function _(){Qe()}return pt(async()=>{var f;t.open?(l(),(f=o.value)==null||f.focus()):_()}),(f,d)=>c(s)?(a(),i("aside",{key:0,class:M(["VPSidebar",{open:e.open}]),ref_key:"navEl",ref:o,onClick:d[0]||(d[0]=mt(()=>{},["stop"]))},[Ea,r("nav",Ha,[Oa,u(f.$slots,"sidebar-nav-before",{},void 0,!0),(a(!0),i(L,null,B(c(n),k=>(a(),i("div",{key:k.text,class:"group"},[h(Aa,{item:k,depth:0},null,8,["item"])]))),128)),u(f.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):m("",!0)}});const Da=p(za,[["__scopeId","data-v-139a1f1d"]]),Fa={},Ga={class:"VPPage"};function Ra(e,t){const n=R("Content");return a(),i("div",Ga,[h(n)])}const Ua=p(Fa,[["render",Ra]]),ja=g({__name:"VPButton",props:{tag:null,size:null,theme:null,text:null,href:null},setup(e){const t=e,n=b(()=>[t.size??"medium",t.theme??"brand"]),s=b(()=>t.href&&ze.test(t.href)),o=b(()=>t.tag?t.tag:t.href?"a":"button");return(l,_)=>(a(),y(U(c(o)),{class:M(["VPButton",c(n)]),href:e.href?c(Y)(e.href):void 0,target:c(s)?"_blank":void 0,rel:c(s)?"noreferrer":void 0},{default:v(()=>[C(P(e.text),1)]),_:1},8,["class","href","target","rel"]))}});const qa=p(ja,[["__scopeId","data-v-567ba664"]]),Ka=e=>(E("data-v-fd2650d5"),e=e(),H(),e),Wa={class:"container"},Qa={class:"main"},Ya={key:0,class:"name"},Xa={class:"clip"},Ja={key:1,class:"text"},Za={key:2,class:"tagline"},ec={key:0,class:"actions"},tc={key:0,class:"image"},nc={class:"image-container"},sc=Ka(()=>r("div",{class:"image-bg"},null,-1)),oc=g({__name:"VPHero",props:{name:null,text:null,tagline:null,image:null,actions:null},setup(e){const t=he("hero-image-slot-exists");return(n,s)=>(a(),i("div",{class:M(["VPHero",{"has-image":e.image||c(t)}])},[r("div",Wa,[r("div",Qa,[u(n.$slots,"home-hero-info",{},()=>[e.name?(a(),i("h1",Ya,[r("span",Xa,P(e.name),1)])):m("",!0),e.text?(a(),i("p",Ja,P(e.text),1)):m("",!0),e.tagline?(a(),i("p",Za,P(e.tagline),1)):m("",!0)],!0),e.actions?(a(),i("div",ec,[(a(!0),i(L,null,B(e.actions,o=>(a(),i("div",{key:o.link,class:"action"},[h(qa,{tag:"a",size:"medium",theme:o.theme,text:o.text,href:o.link},null,8,["theme","text","href"])]))),128))])):m("",!0)]),e.image||c(t)?(a(),i("div",tc,[r("div",nc,[sc,u(n.$slots,"home-hero-image",{},()=>[e.image?(a(),y(ge,{key:0,class:"image-src",image:e.image},null,8,["image"])):m("",!0)],!0)])])):m("",!0)])],2))}});const ac=p(oc,[["__scopeId","data-v-fd2650d5"]]),cc=g({__name:"VPHomeHero",setup(e){const{frontmatter:t}=w();return(n,s)=>c(t).hero?(a(),y(ac,{key:0,class:"VPHomeHero",name:c(t).hero.name,text:c(t).hero.text,tagline:c(t).hero.tagline,image:c(t).hero.image,actions:c(t).hero.actions},{"home-hero-info":v(()=>[u(n.$slots,"home-hero-info")]),"home-hero-image":v(()=>[u(n.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):m("",!0)}}),lc={},ic={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},rc=r("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),uc=[rc];function dc(e,t){return a(),i("svg",ic,uc)}const _c=p(lc,[["render",dc]]),vc={class:"box"},fc={key:1,class:"icon"},hc=["innerHTML"],pc=["innerHTML"],mc={key:3,class:"link-text"},gc={class:"link-text-value"},yc=g({__name:"VPFeature",props:{icon:null,title:null,details:null,link:null,linkText:null},setup(e){return(t,n)=>(a(),y(D,{class:"VPFeature",href:e.link,"no-icon":!0},{default:v(()=>[r("article",vc,[typeof e.icon=="object"?(a(),y(ge,{key:0,image:e.icon,alt:e.icon.alt,height:e.icon.height,width:e.icon.width},null,8,["image","alt","height","width"])):e.icon?(a(),i("div",fc,P(e.icon),1)):m("",!0),r("h2",{class:"title",innerHTML:e.title},null,8,hc),e.details?(a(),i("p",{key:2,class:"details",innerHTML:e.details},null,8,pc)):m("",!0),e.linkText?(a(),i("div",mc,[r("p",gc,[C(P(e.linkText)+" ",1),h(_c,{class:"link-text-icon"})])])):m("",!0)])]),_:1},8,["href"]))}});const bc=p(yc,[["__scopeId","data-v-209f3307"]]),kc={key:0,class:"VPFeatures"},$c={class:"container"},Pc={class:"items"},wc=g({__name:"VPFeatures",props:{features:null},setup(e){const t=e,n=b(()=>{const s=t.features.length;if(s){if(s===2)return"grid-2";if(s===3)return"grid-3";if(s%3===0)return"grid-6";if(s%2===0)return"grid-4"}else return});return(s,o)=>e.features?(a(),i("div",kc,[r("div",$c,[r("div",Pc,[(a(!0),i(L,null,B(e.features,l=>(a(),i("div",{key:l.title,class:M(["item",[c(n)]])},[h(bc,{icon:l.icon,title:l.title,details:l.details,link:l.link,"link-text":l.linkText},null,8,["icon","title","details","link","link-text"])],2))),128))])])])):m("",!0)}});const Vc=p(wc,[["__scopeId","data-v-6816157f"]]),xc=g({__name:"VPHomeFeatures",setup(e){const{frontmatter:t}=w();return(n,s)=>c(t).features?(a(),y(Vc,{key:0,class:"VPHomeFeatures",features:c(t).features},null,8,["features"])):m("",!0)}}),Sc={class:"VPHome"},Lc=g({__name:"VPHome",setup(e){return(t,n)=>{const s=R("Content");return a(),i("div",Sc,[u(t.$slots,"home-hero-before",{},void 0,!0),h(cc,null,{"home-hero-info":v(()=>[u(t.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":v(()=>[u(t.$slots,"home-hero-image",{},void 0,!0)]),_:3}),u(t.$slots,"home-hero-after",{},void 0,!0),u(t.$slots,"home-features-before",{},void 0,!0),h(xc),u(t.$slots,"home-features-after",{},void 0,!0),h(s)])}}});const Mc=p(Lc,[["__scopeId","data-v-d82743a8"]]),Ic=e=>(E("data-v-ff0f39c8"),e=e(),H(),e),Cc={class:"content"},Bc={class:"outline-title"},Nc={"aria-labelledby":"doc-outline-aria-label"},Tc=Ic(()=>r("span",{class:"visually-hidden",id:"doc-outline-aria-label"}," Table of Contents for current page ",-1)),Ac=g({__name:"VPDocAsideOutline",setup(e){const{frontmatter:t,theme:n}=w(),s=gt([]);pe(()=>{s.value=xe(t.value.outline??n.value.outline)});const o=I(),l=I();return va(o,l),(_,f)=>(a(),i("div",{class:M(["VPDocAsideOutline",{"has-outline":c(s).length>0}]),ref_key:"container",ref:o},[r("div",Cc,[r("div",{class:"outline-marker",ref_key:"marker",ref:l},null,512),r("div",Bc,P(c(Ve)(c(n))),1),r("nav",Nc,[Tc,h(Se,{headers:c(s),root:!0},null,8,["headers"])])])],2))}});const Ec=p(Ac,[["__scopeId","data-v-ff0f39c8"]]),Hc={class:"VPDocAsideCarbonAds"},Oc=g({__name:"VPDocAsideCarbonAds",props:{carbonAds:null},setup(e){const t=()=>null;return(n,s)=>(a(),i("div",Hc,[h(c(t),{"carbon-ads":e.carbonAds},null,8,["carbon-ads"])]))}}),zc=e=>(E("data-v-3f215769"),e=e(),H(),e),Dc={class:"VPDocAside"},Fc=zc(()=>r("div",{class:"spacer"},null,-1)),Gc=g({__name:"VPDocAside",setup(e){const{theme:t}=w();return(n,s)=>(a(),i("div",Dc,[u(n.$slots,"aside-top",{},void 0,!0),u(n.$slots,"aside-outline-before",{},void 0,!0),h(Ec),u(n.$slots,"aside-outline-after",{},void 0,!0),Fc,u(n.$slots,"aside-ads-before",{},void 0,!0),c(t).carbonAds?(a(),y(Oc,{key:0,"carbon-ads":c(t).carbonAds},null,8,["carbon-ads"])):m("",!0),u(n.$slots,"aside-ads-after",{},void 0,!0),u(n.$slots,"aside-bottom",{},void 0,!0)]))}});const Rc=p(Gc,[["__scopeId","data-v-3f215769"]]);function Uc(){const{theme:e,page:t}=w();return b(()=>{const{text:n="Edit this page",pattern:s=""}=e.value.editLink||{},{relativePath:o}=t.value;let l;return typeof s=="function"?l=s({relativePath:o}):l=s.replace(/:path/g,o),{url:l,text:n}})}function jc(){const{page:e,theme:t,frontmatter:n}=w();return b(()=>{var _,f,d,k;const s=Ge(t.value.sidebar,e.value.relativePath),o=Ot(s),l=o.findIndex($=>q(e.value.relativePath,$.link));return{prev:n.value.prev===!1?void 0:{text:(typeof n.value.prev=="string"?n.value.prev:typeof n.value.prev=="object"?n.value.prev.text:void 0)??((_=o[l-1])==null?void 0:_.text),link:(typeof n.value.prev=="object"?n.value.prev.link:void 0)??((f=o[l-1])==null?void 0:f.link)},next:n.value.next===!1?void 0:{text:(typeof n.value.next=="string"?n.value.next:typeof n.value.next=="object"?n.value.next.text:void 0)??((d=o[l+1])==null?void 0:d.text),link:(typeof n.value.next=="object"?n.value.next.link:void 0)??((k=o[l+1])==null?void 0:k.link)}}})}const qc={},Kc={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Wc=r("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),Qc=r("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),Yc=[Wc,Qc];function Xc(e,t){return a(),i("svg",Kc,Yc)}const Jc=p(qc,[["render",Xc]]),Zc={class:"VPLastUpdated"},el=["datetime"],tl=g({__name:"VPDocFooterLastUpdated",setup(e){const{theme:t,page:n}=w(),s=b(()=>new Date(n.value.lastUpdated)),o=b(()=>s.value.toISOString()),l=I("");return K(()=>{ne(()=>{l.value=s.value.toLocaleString(window.navigator.language)})}),(_,f)=>(a(),i("p",Zc,[C(P(c(t).lastUpdatedText||"Last updated")+": ",1),r("time",{datetime:c(o)},P(l.value),9,el)]))}});const nl=p(tl,[["__scopeId","data-v-4f2140b8"]]),sl={key:0,class:"VPDocFooter"},ol={key:0,class:"edit-info"},al={key:0,class:"edit-link"},cl={key:1,class:"last-updated"},ll={key:1,class:"prev-next"},il={class:"pager"},rl=["href"],ul=["innerHTML"],dl=["innerHTML"],_l=["href"],vl=["innerHTML"],fl=["innerHTML"],hl=g({__name:"VPDocFooter",setup(e){const{theme:t,page:n,frontmatter:s}=w(),o=Uc(),l=jc(),_=b(()=>t.value.editLink&&s.value.editLink!==!1),f=b(()=>n.value.lastUpdated&&s.value.lastUpdated!==!1),d=b(()=>_.value||f.value||l.value.prev||l.value.next);return(k,$)=>{var S,V,x,N,A,T,z;return c(d)?(a(),i("footer",sl,[u(k.$slots,"doc-footer-before",{},void 0,!0),c(_)||c(f)?(a(),i("div",ol,[c(_)?(a(),i("div",al,[h(D,{class:"edit-link-button",href:c(o).url,"no-icon":!0},{default:v(()=>[h(Jc,{class:"edit-link-icon","aria-label":"edit icon"}),C(" "+P(c(o).text),1)]),_:1},8,["href"])])):m("",!0),c(f)?(a(),i("div",cl,[h(nl)])):m("",!0)])):m("",!0),(S=c(l).prev)!=null&&S.link||(V=c(l).next)!=null&&V.link?(a(),i("div",ll,[r("div",il,[(x=c(l).prev)!=null&&x.link?(a(),i("a",{key:0,class:"pager-link prev",href:c(Y)(c(l).prev.link)},[r("span",{class:"desc",innerHTML:((N=c(t).docFooter)==null?void 0:N.prev)||"Previous page"},null,8,ul),r("span",{class:"title",innerHTML:c(l).prev.text},null,8,dl)],8,rl)):m("",!0)]),r("div",{class:M(["pager",{"has-prev":(A=c(l).prev)==null?void 0:A.link}])},[(T=c(l).next)!=null&&T.link?(a(),i("a",{key:0,class:"pager-link next",href:c(Y)(c(l).next.link)},[r("span",{class:"desc",innerHTML:((z=c(t).docFooter)==null?void 0:z.next)||"Next page"},null,8,vl),r("span",{class:"title",innerHTML:c(l).next.text},null,8,fl)],8,_l)):m("",!0)],2)])):m("",!0)])):m("",!0)}}});const pl=p(hl,[["__scopeId","data-v-face870a"]]),ml={class:"VPDocOutlineDropdown"},gl={key:0,class:"items"},yl=g({__name:"VPDocOutlineDropdown",setup(e){const{frontmatter:t,theme:n}=w(),s=I(!1);return pe(()=>{s.value=!1}),(o,l)=>(a(),i("div",ml,[r("button",{onClick:l[0]||(l[0]=_=>s.value=!s.value),class:M({open:s.value})},[C(P(c(Ve)(c(n)))+" ",1),h(Le,{class:"icon"})],2),s.value?(a(),i("div",gl,[h(Se,{headers:c(xe)(c(t).outline??c(n).outline)},null,8,["headers"])])):m("",!0)]))}});const bl=p(yl,[["__scopeId","data-v-049da7cc"]]),kl=e=>(E("data-v-577a912e"),e=e(),H(),e),$l={class:"container"},Pl={key:0,class:"aside"},wl=kl(()=>r("div",{class:"aside-curtain"},null,-1)),Vl={class:"aside-container"},xl={class:"aside-content"},Sl={class:"content"},Ll={class:"content-container"},Ml={class:"main"},Il=g({__name:"VPDoc",setup(e){const t=X(),{hasSidebar:n,hasAside:s}=O(),o=b(()=>t.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(l,_)=>{const f=R("Content");return a(),i("div",{class:M(["VPDoc",{"has-sidebar":c(n),"has-aside":c(s)}])},[r("div",$l,[c(s)?(a(),i("div",Pl,[wl,r("div",Vl,[r("div",xl,[h(Rc,null,{"aside-top":v(()=>[u(l.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":v(()=>[u(l.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":v(()=>[u(l.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[u(l.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[u(l.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[u(l.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])])):m("",!0),r("div",Sl,[r("div",Ll,[u(l.$slots,"doc-before",{},void 0,!0),h(bl),r("main",Ml,[h(f,{class:M(["vp-doc",c(o)])},null,8,["class"])]),h(pl,null,{"doc-footer-before":v(()=>[u(l.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),u(l.$slots,"doc-after",{},void 0,!0)])])])],2)}}});const Cl=p(Il,[["__scopeId","data-v-577a912e"]]),ie=e=>(E("data-v-c70503b8"),e=e(),H(),e),Bl={class:"NotFound"},Nl=ie(()=>r("p",{class:"code"},"404",-1)),Tl=ie(()=>r("h1",{class:"title"},"PAGE NOT FOUND",-1)),Al=ie(()=>r("div",{class:"divider"},null,-1)),El=ie(()=>r("blockquote",{class:"quote"}," But if you don't change your direction, and if you keep looking, you may end up where you are heading. ",-1)),Hl={class:"action"},Ol=["href"],zl=g({__name:"NotFound",setup(e){const{site:t}=w(),{localeLinks:n}=Z({removeCurrent:!1}),s=I("/");return K(()=>{var l;const o=window.location.pathname.replace(t.value.base,"").replace(/(^.*?\/).*$/,"/$1");n.value.length&&(s.value=((l=n.value.find(({link:_})=>_.startsWith(o)))==null?void 0:l.link)||n.value[0].link)}),(o,l)=>(a(),i("div",Bl,[Nl,Tl,Al,El,r("div",Hl,[r("a",{class:"link",href:c(ve)(s.value),"aria-label":"go to home"}," Take me home ",8,Ol)])]))}});const Dl=p(zl,[["__scopeId","data-v-c70503b8"]]),Fl=g({__name:"VPContent",setup(e){const{page:t,frontmatter:n}=w(),{hasSidebar:s}=O();return(o,l)=>(a(),i("div",{class:M(["VPContent",{"has-sidebar":c(s),"is-home":c(n).layout==="home"}]),id:"VPContent"},[c(t).isNotFound?u(o.$slots,"not-found",{key:0},()=>[h(Dl)],!0):c(n).layout==="page"?(a(),y(Ua,{key:1})):c(n).layout==="home"?(a(),y(Mc,{key:2},{"home-hero-before":v(()=>[u(o.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info":v(()=>[u(o.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":v(()=>[u(o.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":v(()=>[u(o.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":v(()=>[u(o.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":v(()=>[u(o.$slots,"home-features-after",{},void 0,!0)]),_:3})):(a(),y(Cl,{key:3},{"doc-footer-before":v(()=>[u(o.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":v(()=>[u(o.$slots,"doc-before",{},void 0,!0)]),"doc-after":v(()=>[u(o.$slots,"doc-after",{},void 0,!0)]),"aside-top":v(()=>[u(o.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":v(()=>[u(o.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[u(o.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[u(o.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[u(o.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":v(()=>[u(o.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}});const Gl=p(Fl,[["__scopeId","data-v-bcaf6df5"]]),Rl={class:"container"},Ul=["innerHTML"],jl=["innerHTML"],ql=g({__name:"VPFooter",setup(e){const{theme:t}=w(),{hasSidebar:n}=O();return(s,o)=>c(t).footer?(a(),i("footer",{key:0,class:M(["VPFooter",{"has-sidebar":c(n)}])},[r("div",Rl,[c(t).footer.message?(a(),i("p",{key:0,class:"message",innerHTML:c(t).footer.message},null,8,Ul)):m("",!0),c(t).footer.copyright?(a(),i("p",{key:1,class:"copyright",innerHTML:c(t).footer.copyright},null,8,jl)):m("",!0)])],2)):m("",!0)}});const Kl=p(ql,[["__scopeId","data-v-2f86ebd2"]]),Wl={key:0,class:"Layout"},Ql=g({__name:"Layout",setup(e){const{isOpen:t,open:n,close:s}=O(),o=X();J(()=>o.path,s),zt(t,s),te("close-sidebar",s),te("is-sidebar-open",t);const{frontmatter:l}=w(),_=yt(),f=b(()=>!!_["home-hero-image"]);return te("hero-image-slot-exists",f),(d,k)=>{const $=R("Content");return c(l).layout!==!1?(a(),i("div",Wl,[u(d.$slots,"layout-top",{},void 0,!0),h(Gt),h(jt,{class:"backdrop",show:c(t),onClick:c(s)},null,8,["show","onClick"]),h(Zo,null,{"nav-bar-title-before":v(()=>[u(d.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[u(d.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":v(()=>[u(d.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":v(()=>[u(d.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":v(()=>[u(d.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":v(()=>[u(d.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),h(La,{open:c(t),onOpenMenu:c(n)},null,8,["open","onOpenMenu"]),h(Da,{open:c(t)},{"sidebar-nav-before":v(()=>[u(d.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":v(()=>[u(d.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),h(Gl,null,{"not-found":v(()=>[u(d.$slots,"not-found",{},void 0,!0)]),"home-hero-before":v(()=>[u(d.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info":v(()=>[u(d.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":v(()=>[u(d.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":v(()=>[u(d.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":v(()=>[u(d.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":v(()=>[u(d.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":v(()=>[u(d.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":v(()=>[u(d.$slots,"doc-before",{},void 0,!0)]),"doc-after":v(()=>[u(d.$slots,"doc-after",{},void 0,!0)]),"aside-top":v(()=>[u(d.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":v(()=>[u(d.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":v(()=>[u(d.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[u(d.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[u(d.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[u(d.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),h(Kl),u(d.$slots,"layout-bottom",{},void 0,!0)])):(a(),y($,{key:1}))}}});const Yl=p(Ql,[["__scopeId","data-v-410c024d"]]);const Jl={Layout:Yl,enhanceApp:({app:e})=>{e.component("Badge",kt)}};export{Jl as t};