mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-08 19:06:15 -08:00
8 lines
76 KiB
JavaScript
8 lines
76 KiB
JavaScript
import{d as $,o as c,c as r,r as h,n as B,a as O,t as L,_ as g,u as nt,b as l,e as bt,f as st,g as kt,h as S,i as $t,j as Pt,w as ee,k as ae,l as w,m as xt,p as J,q as Vt,P as wt,s as be,v as te,x as le,y as Ie,z as u,F as T,A as V,B as v,T as Te,C as k,D as _e,E as p,G as W,H as St,I as Ke,J as Lt,K as ot,L as Mt,M as D,N as Ct,O as Q,Q as at,R as It,S as R,U,V as Tt,W as We,X as Ae,Y as he,Z as At,$ as ie,a0 as Be,a1 as Bt,a2 as Nt,a3 as zt,a4 as Ht,a5 as Et,a6 as Dt}from"./framework.f7d2e3c3.js";const Ot=$({__name:"VPBadge",props:{text:null,type:null},setup(e){return(t,n)=>(c(),r("span",{class:B(["VPBadge",e.type??"tip"])},[h(t.$slots,"default",{},()=>[O(L(e.text),1)],!0)],2))}});const Ft=g(Ot,[["__scopeId","data-v-e233384c"]]),M=nt;function it(e){return $t()?(Pt(e),!0):!1}function ct(e){return typeof e=="function"?e():l(e)}const jt=typeof window<"u",lt=()=>{};function qt(...e){if(e.length!==1)return bt(...e);const t=e[0];return typeof t=="function"?st(kt(()=>({get:t,set:lt}))):S(t)}function Gt(e){var t;const n=ct(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Ne=jt?window:void 0;function Rt(...e){let t,n,s,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,s,o]=e,t=Ne):[t,n,s,o]=e,!t)return lt;Array.isArray(n)||(n=[n]),Array.isArray(s)||(s=[s]);const a=[],i=()=>{a.forEach(y=>y()),a.length=0},_=(y,b,P,m)=>(y.addEventListener(b,P,m),()=>y.removeEventListener(b,P,m)),d=ee(()=>[Gt(t),ct(o)],([y,b])=>{i(),y&&a.push(...n.flatMap(P=>s.map(m=>_(y,P,m,b))))},{immediate:!0,flush:"post"}),f=()=>{d(),i()};return it(f),f}function Ut(){const e=S(!1);return xt()&&J(()=>{e.value=!0}),e}function Kt(e){const t=Ut();return w(()=>(t.value,!!e()))}function Se(e,t={}){const{window:n=Ne}=t,s=Kt(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let o;const a=S(!1),i=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",_):o.removeListener(_))},_=()=>{s.value&&(i(),o=n.matchMedia(qt(e).value),a.value=!!(o!=null&&o.matches),o&&("addEventListener"in o?o.addEventListener("change",_):o.addListener(_)))};return ae(_),it(()=>i()),a}function Wt({window:e=Ne}={}){if(!e)return{x:S(0),y:S(0)};const t=S(e.scrollX),n=S(e.scrollY);return Rt(e,"scroll",()=>{t.value=e.scrollX,n.value=e.scrollY},{capture:!1,passive:!0}),{x:t,y:n}}function Yt(e,t){let n,s=!1;return()=>{n&&clearTimeout(n),s?n=setTimeout(e,t):(e(),s=!0,setTimeout(()=>{s=!1},t))}}function Le(e){return/^\//.test(e)?e:`/${e}`}function ce(e){if(Vt(e))return e.replace(wt,"");const{site:t}=M(),{pathname:n,search:s,hash:o}=new URL(e,"http://example.com"),a=n.endsWith("/")||n.endsWith(".html")?e:e.replace(/(?:(^\.+)\/)?.*$/,`$1${n.replace(/(\.md)?$/,t.value.cleanUrls?"":".html")}${s}${o}`);return be(a)}function rt(e,t){if(Array.isArray(e))return e;if(e==null)return[];t=Le(t);const n=Object.keys(e).sort((s,o)=>o.split("/").length-s.split("/").length).find(s=>t.startsWith(Le(s)));return n?e[n]:[]}function Xt(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 Jt(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 Me(e,t){return Array.isArray(t)?t.some(n=>Me(e,n)):te(e,t.link)?!0:t.items?Me(e,t.items):!1}function K(){const e=le(),{theme:t,frontmatter:n}=M(),s=Se("(min-width: 960px)"),o=S(!1),a=w(()=>{const x=t.value.sidebar,A=e.data.relativePath;return x?rt(x,A):[]}),i=w(()=>n.value.sidebar!==!1&&a.value.length>0&&n.value.layout!=="home"),_=w(()=>d?n.value.aside==null?t.value.aside==="left":n.value.aside==="left":!1),d=w(()=>n.value.layout==="home"?!1:n.value.aside!=null?!!n.value.aside:t.value.aside!==!1),f=w(()=>i.value&&s.value),y=w(()=>i.value?Xt(a.value):[]);function b(){o.value=!0}function P(){o.value=!1}function m(){o.value?P():b()}return{isOpen:o,sidebar:a,sidebarGroups:y,hasSidebar:i,hasAside:d,leftAside:_,isSidebarEnabled:f,open:b,close:P,toggle:m}}function Qt(e,t){let n;ae(()=>{n=e.value?document.activeElement:void 0}),J(()=>{window.addEventListener("keyup",s)}),Ie(()=>{window.removeEventListener("keyup",s)});function s(o){o.key==="Escape"&&e.value&&(t(),n==null||n.focus())}}function Zt(e){const{page:t}=M(),n=S(!1),s=w(()=>e.value.collapsed!=null),o=w(()=>!!e.value.link),a=w(()=>te(t.value.relativePath,e.value.link)),i=w(()=>a.value?!0:e.value.items?Me(t.value.relativePath,e.value.items):!1),_=w(()=>!!(e.value.items&&e.value.items.length));ae(()=>{n.value=!!(s.value&&e.value.collapsed)}),ae(()=>{(a.value||i.value)&&(n.value=!1)});function d(){s.value&&(n.value=!n.value)}return{collapsed:n,collapsible:s,isLink:o,isActiveLink:a,hasActiveLink:i,hasChildren:_,toggle:d}}const en=$({__name:"VPSkipLink",setup(e){const t=le(),n=S();ee(()=>t.path,()=>n.value.focus());function s({target:o}){const a=document.querySelector(decodeURIComponent(o.hash));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)=>(c(),r(T,null,[u("span",{ref_key:"backToTop",ref:n,tabindex:"-1"},null,512),u("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:s}," Skip to content ")],64))}});const tn=g(en,[["__scopeId","data-v-994b33bc"]]),nn={key:0,class:"VPBackdrop"},sn=$({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(e){return(t,n)=>(c(),V(Te,{name:"fade"},{default:v(()=>[e.show?(c(),r("div",nn)):k("",!0)]),_:1}))}});const on=g(sn,[["__scopeId","data-v-b2600058"]]);function an(){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=le();return ee(()=>a.path,n),{isScreenOpen:e,openScreen:t,closeScreen:n,toggleScreen:s}}function re({removeCurrent:e=!0,correspondingLink:t=!1}={}){const{site:n,localeIndex:s,page:o,theme:a}=M(),i=w(()=>{var d,f;return{label:(d=n.value.locales[s.value])==null?void 0:d.label,link:((f=n.value.locales[s.value])==null?void 0:f.link)||(s.value==="root"?"/":`/${s.value}/`)}});return{localeLinks:w(()=>Object.entries(n.value.locales).flatMap(([d,f])=>e&&i.value.label===f.label?[]:{text:f.label,link:cn(f.link||(d==="root"?"/":`/${d}/`),a.value.i18nRouting!==!1&&t,o.value.relativePath.slice(i.value.link.length-1),!n.value.cleanUrls)})),currentLang:i}}function cn(e,t,n,s){return t?e.replace(/\/$/,"")+Le(n.replace(/(^|\/)?index.md$/,"$1").replace(/\.md$/,s?".html":"")):e}const ln=["src","alt"],rn={inheritAttrs:!1},un=$({...rn,__name:"VPImage",props:{image:null,alt:null},setup(e){return(t,n)=>{const s=W("VPImage",!0);return e.image?(c(),r(T,{key:0},[typeof e.image=="string"||"src"in e.image?(c(),r("img",_e({key:0,class:"VPImage"},typeof e.image=="string"?t.$attrs:{...e.image,...t.$attrs},{src:l(be)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,ln)):(c(),r(T,{key:1},[p(s,_e({class:"dark",image:e.image.dark,alt:e.image.alt},t.$attrs),null,16,["image","alt"]),p(s,_e({class:"light",image:e.image.light,alt:e.image.alt},t.$attrs),null,16,["image","alt"])],64))],64)):k("",!0)}}});const ze=g(un,[["__scopeId","data-v-74766fef"]]),dn=["href"],_n=$({__name:"VPNavBarTitle",setup(e){const{site:t,theme:n}=M(),{hasSidebar:s}=K(),{currentLang:o}=re();return(a,i)=>(c(),r("div",{class:B(["VPNavBarTitle",{"has-sidebar":l(s)}])},[u("a",{class:"title",href:l(ce)(l(o).link)},[h(a.$slots,"nav-bar-title-before",{},void 0,!0),l(n).logo?(c(),V(ze,{key:0,class:"logo",image:l(n).logo},null,8,["image"])):k("",!0),l(n).siteTitle?(c(),r(T,{key:1},[O(L(l(n).siteTitle),1)],64)):l(n).siteTitle===void 0?(c(),r(T,{key:2},[O(L(l(t).title),1)],64)):k("",!0),h(a.$slots,"nav-bar-title-after",{},void 0,!0)],8,dn)],2))}});const hn=g(_n,[["__scopeId","data-v-bd15f18e"]]),vn="/document/assets/flex-logo.2489261b.svg";function xe(e,t){return typeof e>"u"?t:e}function Ye(e){const t=Array(e);for(let n=0;n<e;n++)t[n]=j();return t}function fn(e){return Object.keys(e)}function j(){return Object.create(null)}function pn(e){return[].concat.apply([],e)}function mn(e,t){return t.length-e.length}function gn(e){return e.constructor===Array}function fe(e){return typeof e=="string"}function Ce(e){return typeof e=="object"}function yn(e){return typeof e=="function"}function bn(e,t,n,s){if(e&&(t&&(e=Ve(e,t)),this.matcher&&(e=Ve(e,this.matcher)),this.stemmer&&1<e.length&&(e=Ve(e,this.stemmer)),s&&1<e.length&&(e=Pn(e)),n||n==="")){const o=e.split(n);return this.filter?xn(o,this.filter):o}return e}const kn=/[\p{Z}\p{S}\p{P}\p{C}]+/u;function $n(e){const t=j();for(let n=0,s=e.length;n<s;n++)t[e[n]]=1;return t}function Xe(e,t){const n=fn(e),s=n.length,o=[];let a="",i=0;for(let _,d,f=0;f<s;f++)_=n[f],d=e[_],d?(o[i++]=Je(t?"(?!\\b)"+_+"(\\b|_)":_),o[i++]=d):a+=(a?"|":"")+_;return a&&(o[i++]=Je(t?"(?!\\b)("+a+")(\\b|_)":"("+a+")"),o[i]=""),o}function Ve(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 Je(e){return new RegExp(e,"g")}function Pn(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 xn(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 Vn(e){return bn.call(this,(""+e).toLowerCase(),!1,kn,!1)}const wn={},Sn={};function Ln(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;yn(o)&&(a=o,delete s[s.length-1]);const i=new Promise(function(_){setTimeout(function(){n.async=!0;const d=n[t].apply(n,s);n.async=!1,_(d)})});return a?(i.then(a),this):i}}function Mn(e,t,n,s){const o=e.length;let a,i,_=[],d=0;s&&(s=[]);for(let f=o-1;0<=f;f--){const y=e[f],b=y.length,P=j();let m=!a;for(let x=0;x<b;x++){const A=y[x],N=A.length;if(N)for(let H,I,C=0;C<N;C++)if(I=A[C],a){if(a[I]){if(!f){if(n)n--;else if(_[d++]=I,d===t)return _}(f||s)&&(P[I]=1),m=!0}if(s&&(i[I]=(H=i[I])?++H:H=1,H<o)){const z=s[H-2]||(s[H-2]=[]);z[z.length]=I}}else P[I]=1}if(s)a||(i=P);else if(!m)return[];a=P}if(s)for(let f,y,b=s.length-1;0<=b;b--){f=s[b],y=f.length;for(let P,m=0;m<y;m++)if(P=f[m],!a[P]){if(n)n--;else if(_[d++]=P,d===t)return _;a[P]=1}}return _}function ve(e){this.limit=e!==!0&&e,this.cache=j(),this.queue=[]}function Cn(e,t,n){Ce(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 In={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 Tn(e){if(fe(e))e=In[e];else{const t=e.preset;t&&(e=Object.assign({},t[t],e))}return e}function An(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 Bn(e,t,n,s,o){let a,i;switch(o||(o=0)){case 0:if(a="reg",this.fastupdate)for(let _ in i=j(),this.register)i[_]=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 An(e,t||this,n?n+"."+a:a,s,o,i),!0}function Nn(e,t){t&&(fe(t)&&(t=JSON.parse(t)),e==="cfg"?this.optimize=!!t.opt:e==="reg"?(this.fastupdate=!1,this.register=t):e==="map"?this.map=t:e==="ctx"&&(this.ctx=t))}function F(e,t){if(!(this instanceof F))return new F(e);let n,s,o;e?(e=Tn(e),n=e.charset,s=e.lang,fe(n)&&(n.indexOf(":")===-1&&(n+=":default"),n=Sn[n]),fe(s)&&(s=wn[s])):e={};let a,i,_=e.context||{};this.encode=e.encode||n&&n.encode||Vn,this.register=t||j(),this.resolution=a=e.resolution||9,this.tokenize=o=n&&n.tokenize||e.tokenize||"strict",this.depth=o==="strict"&&_.depth,this.bidirectional=xe(_.bidirectional,!0),this.optimize=i=xe(e.optimize,!0),this.fastupdate=xe(e.fastupdate,!0),this.minlength=e.minlength||1,this.boost=e.boost,this.map=i?Ye(a):j(),this.resolution_ctx=a=_.resolution||1,this.ctx=i?Ye(a):j(),this.rtl=n&&n.rtl||e.rtl,this.matcher=(o=e.matcher||s&&s.matcher)&&Xe(o,!1),this.stemmer=(o=e.stemmer||s&&s.stemmer)&&Xe(o,!0),this.filter=(o=e.filter||s&&s.filter)&&$n(o),this.cache=(o=e.cache)&&new ve(o)}F.prototype.append=function(e,t){return this.add(e,t,!0)},F.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=j(),i=j(),_=this.depth,d=this.resolution;for(let f=0;f<o;f++){let y=t[this.rtl?o-1-f:f],b=y.length;if(y&&b>=this.minlength&&(_||!i[y])){let P=de(d,o,f),m="";switch(this.tokenize){case"full":if(3<b){for(let x=0;x<b;x++)for(let A=b;A>x;A--)if(A-x>=this.minlength){const N=de(d,o,f,b,x);m=y.substring(x,A),this.push_index(i,m,N,e,n)}break}case"reverse":if(2<b){for(let x=b-1;0<x;x--)if(m=y[x]+m,m.length>=this.minlength){const A=de(d,o,f,b,x);this.push_index(i,m,A,e,n)}m=""}case"forward":if(1<b){for(let x=0;x<b;x++)m+=y[x],m.length>=this.minlength&&this.push_index(i,m,P,e,n);break}default:if(this.boost&&(P=Math.min(0|P/this.boost(t,y,f),d-1)),this.push_index(i,y,P,e,n),_&&1<o&&f<o-1){const x=j(),A=this.resolution_ctx,N=y,H=Math.min(_+1,o-f);x[N]=1;for(let I=1;I<H;I++)if(y=t[this.rtl?o-1-f-I:f+I],y&&y.length>=this.minlength&&!x[y]){x[y]=1;const C=de(A+(o/2>A?0:1),o,f,H-1,I-1),z=this.bidirectional&&y>N;this.push_index(a,z?N:y,C,e,n,z?y:N)}}}}}this.fastupdate||(this.register[e]=1)}}return this};function de(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}F.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]=j()),e[a]=1,i=i[a]||(i[a]=j())):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 _=this.register[s]||(this.register[s]=[]);_[_.length]=i}},F.prototype.search=function(e,t,n){n||(!t&&Ce(e)?(n=e,e=n.query):Ce(t)&&(n=t));let s,o,a,i=[],_=0;if(n&&(t=n.limit,_=n.offset||0,o=n.context,a=n.suggest),e&&(e=this.encode(e),s=e.length,1<s)){const b=j(),P=[];for(let m,x=0,A=0;x<s;x++)if(m=e[x],m&&m.length>=this.minlength&&!b[m]){if(!this.optimize&&!a&&!this.map[m])return i;P[A++]=m,b[m]=1}e=P,s=e.length}if(!s)return i;t||(t=100);let d,f=this.depth&&1<s&&o!==!1,y=0;f?(d=e[0],y=1):1<s&&e.sort(mn);for(let b,P;y<s;y++){if(P=e[y],f?(b=this.add_result(i,a,t,_,s===2,P,d),(!a||b!==!1||!i.length)&&(d=P)):b=this.add_result(i,a,t,_,s===1,P),b)return b;if(a&&y==s-1){let m=i.length;if(!m){if(f){f=0,y=-1;continue}return i}if(m===1)return Qe(i[0],t,_)}}return Mn(i,t,_,a)},F.prototype.add_result=function(e,t,n,s,o,a,i){let _=[],d=i?this.ctx:this.map;if(this.optimize||(d=Ze(d,a,i,this.bidirectional)),d){let f=0;const y=Math.min(d.length,i?this.resolution_ctx:this.resolution);for(let b,P,m=0,x=0;m<y&&(b=d[m],!(b&&(this.optimize&&(b=Ze(b,a,i,this.bidirectional)),s&&b&&o&&(P=b.length,P<=s?(s-=P,b=null):(b=b.slice(s),s=0)),b&&(_[f++]=b,o&&(x+=b.length,x>=n)))));m++);if(f)return o?Qe(_,n,0):void(e[e.length]=_)}return!t&&_};function Qe(e,t,n){return e=e.length===1?e[0]:pn(e),n||e.length>t?e.slice(n,n+t):e}function Ze(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}F.prototype.contain=function(e){return!!this.register[e]},F.prototype.update=function(e,t){return this.remove(e).add(e,t)},F.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 pe(this.map,e,this.resolution,this.optimize),this.depth&&pe(this.ctx,e,this.resolution_ctx,this.optimize);t||delete this.register[e],this.cache&&this.cache.del(e)}return this};function pe(e,t,n,s,o){let a=0;if(gn(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,_=0;_<o;_++)i=e[_],i&&(a=pe(i,t,n,s,o),!s&&!a&&delete e[_])}else for(let i in e)a=pe(e[i],t,n,s,o),a||delete e[i];return a}F.prototype.searchCache=Cn,F.prototype.export=Bn,F.prototype.import=Nn,Ln(F.prototype);const zn={class:"VPNavBarSearch"},Hn={class:"DocSearch-Form"},En=u("label",{class:"DocSearch-MagnifierLabel",for:"docsearch-input",id:"docsearch-label"},[u("svg",{width:"20",height:"20",class:"DocSearch-Search-Icon",viewBox:"0 0 20 20"},[u("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),Dn=["placeholder"],On={class:"VPPluginSearch-search-list"},Fn={class:"VPPluginSearch-search-group"},jn=["href"],qn={class:"VPPluginSearch-search-item"},Gn={class:"VPPluginSearch-search-item-icon"},Rn={style:{width:"100%"}},Un=["innerHTML"],Kn=u("span",{class:"VPPluginSearch-search-item-icon"},"↪",-1),Wn=u("img",{class:"VPPluginSearch-flex-logo",src:vn,alt:"flex logo"},null,-1),Yn={type:"button",class:"DocSearch DocSearch-Button","aria-label":"Search"},Xn={class:"DocSearch-Button-Container"},Jn=u("svg",{width:"20",height:"20",class:"DocSearch-Search-Icon",viewBox:"0 0 20 20"},[u("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),Qn={class:"DocSearch-Button-Placeholder"},Zn={class:"DocSearch-Button-Keys"},es=u("span",{class:"DocSearch-Button-Key"},"K",-1),ts=$({__name:"Search",setup(e){const t=nt(),n=t.localeIndex||t.localePath,s=S(),o=S(!1),a=S(),i=S(""),_=S(),d=S(),f=S(),y=S(),b=S(),P=S("Search"),m=S("Search docs"),x=w(()=>{if(a.value){for(var I=b.value.search(a.value,{enrich:!0}),C=[],z=0;z<I.length;z++){var E=I[z],G=f.value[E],q=G.t,ue=G.p,Pe=G.l,yt=G.a;Pe=Pe.split(" ").join("-"),C.push({id:z,link:Pe,title:q,preview:ue,anchor:yt})}return C}}),A=(I,C)=>!I||!I.length?[]:I.reduce((z,E)=>(z[C(E)]||(z[C(E)]=[]),z[C(E)].push(E),z),{}),N=()=>{setTimeout(()=>{_.value&&_.value.focus()},100),H(),o.value=!0};J(async()=>{var E,G;const I=await St(()=>import("./virtual_search-data.25d9e286.js"),[]);d.value=I.default.INDEX_DATA,f.value=I.default.PREVIEW_LOOKUP,y.value=I.default.Options,i.value=window.location.origin+be(n.value==="root"?"/":n.value),P.value=((E=y.value)==null?void 0:E.buttonLabel)||P.value,m.value=((G=y.value)==null?void 0:G.placeholder)||m.value;var C=new F(y.value);C.import("reg",d.value.reg),C.import("cfg",d.value.cfg),C.import("map",d.value.map),C.import("ctx",d.value.ctx),b.value=C,s.value.innerHTML=/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?"⌘":"Ctrl";const z=q=>{var ue;q.key==="k"&&(q.ctrlKey||q.metaKey)&&(q.preventDefault(),N()),q.key==="Escape"&&((ue=a.value)==null?void 0:ue.length)==0&&o.value&&(o.value=!1)};window.addEventListener("keydown",z)});function H(){o.value=!1,a.value=""}return(I,C)=>{const z=W("ClientOnly");return c(),r("div",zn,[p(z,null,{default:v(()=>[(c(),V(Ct,{to:"body"},[Ke(u("div",{class:"VPPluginSearch-modal-back",onClick:C[2]||(C[2]=E=>o.value=!1)},[u("div",{class:"VPPluginSearch-modal",onClick:C[1]||(C[1]=ot(()=>{},["stop"]))},[u("form",Hn,[En,Ke(u("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":C[0]||(C[0]=E=>a.value=E),placeholder:m.value,maxlength:"64",type:"search",ref_key:"input",ref:_},null,8,Dn),[[Mt,a.value]])]),u("div",On,[(c(!0),r(T,null,D(A(l(x),E=>E.link.split("/").slice(0,-1).join("-")),(E,G)=>(c(),r("div",{key:G},[u("span",Fn,L(G?G.toString()[0].toUpperCase()+G.toString().slice(1):"Home"),1),(c(!0),r(T,null,D(E,q=>(c(),r("a",{href:i.value+q.link,key:q.id,onClick:H},[u("div",qn,[u("span",Gn,L(q.link.includes("#")?"#":"▤"),1),u("div",Rn,[u("h3",null,L(q.title),1),u("p",null,[u("div",{innerHTML:q.preview},null,8,Un)])]),Kn])],8,jn))),128))]))),128))]),Wn])],512),[[Lt,o.value]])]))]),_:1}),u("div",{id:"docsearch",onClick:C[3]||(C[3]=E=>N())},[u("button",Yn,[u("span",Xn,[Jn,u("span",Qn,L(P.value),1)]),u("span",Zn,[u("span",{class:"DocSearch-Button-Key",ref_key:"metaKey",ref:s},"Meta",512),es])])])])}}});const ns={},ss={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",height:"24px",viewBox:"0 0 24 24",width:"24px"},os=u("path",{d:"M0 0h24v24H0V0z",fill:"none"},null,-1),as=u("path",{d:"M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5H9z"},null,-1),is=[os,as];function cs(e,t){return c(),r("svg",ss,is)}const ls=g(ns,[["render",cs]]),rs=$({__name:"VPLink",props:{tag:null,href:null,noIcon:{type:Boolean},target:null,rel:null},setup(e){const t=e,n=w(()=>t.tag??t.href?"a":"span"),s=w(()=>t.href&&at.test(t.href));return(o,a)=>(c(),V(Q(l(n)),{class:B(["VPLink",{link:e.href}]),href:e.href?l(ce)(e.href):void 0,target:e.target||(l(s)?"_blank":void 0),rel:e.rel||(l(s)?"noreferrer":void 0)},{default:v(()=>[h(o.$slots,"default",{},void 0,!0),l(s)&&!e.noIcon?(c(),V(ls,{key:0,class:"icon"})):k("",!0)]),_:3},8,["class","href","target","rel"]))}});const Y=g(rs,[["__scopeId","data-v-87683ad2"]]),us=$({__name:"VPNavBarMenuLink",props:{item:null},setup(e){const{page:t}=M();return(n,s)=>(c(),V(Y,{class:B({VPNavBarMenuLink:!0,active:l(te)(l(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(()=>[O(L(e.item.text),1)]),_:1},8,["class","href","target","rel"]))}});const ds=g(us,[["__scopeId","data-v-6dd6d312"]]),He=S();let ut=!1,we=0;function _s(e){const t=S(!1);if(It){!ut&&hs(),we++;const n=ee(He,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))});Ie(()=>{n(),we--,we||vs()})}return st(t)}function hs(){document.addEventListener("focusin",dt),ut=!0,He.value=document.activeElement}function vs(){document.removeEventListener("focusin",dt)}function dt(){He.value=document.activeElement}const fs={},ps={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},ms=u("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),gs=[ms];function ys(e,t){return c(),r("svg",ps,gs)}const _t=g(fs,[["render",ys]]),bs={},ks={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},$s=u("circle",{cx:"12",cy:"12",r:"2"},null,-1),Ps=u("circle",{cx:"19",cy:"12",r:"2"},null,-1),xs=u("circle",{cx:"5",cy:"12",r:"2"},null,-1),Vs=[$s,Ps,xs];function ws(e,t){return c(),r("svg",ks,Vs)}const Ss=g(bs,[["render",ws]]),Ls={class:"VPMenuLink"},Ms=$({__name:"VPMenuLink",props:{item:null},setup(e){const{page:t}=M();return(n,s)=>(c(),r("div",Ls,[p(Y,{class:B({active:l(te)(l(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(()=>[O(L(e.item.text),1)]),_:1},8,["class","href","target","rel"])]))}});const ke=g(Ms,[["__scopeId","data-v-b9520bf2"]]),Cs={class:"VPMenuGroup"},Is={key:0,class:"title"},Ts=$({__name:"VPMenuGroup",props:{text:null,items:null},setup(e){return(t,n)=>(c(),r("div",Cs,[e.text?(c(),r("p",Is,L(e.text),1)):k("",!0),(c(!0),r(T,null,D(e.items,s=>(c(),r(T,null,["link"in s?(c(),V(ke,{key:0,item:s},null,8,["item"])):k("",!0)],64))),256))]))}});const As=g(Ts,[["__scopeId","data-v-2bec9359"]]),Bs={class:"VPMenu"},Ns={key:0,class:"items"},zs=$({__name:"VPMenu",props:{items:null},setup(e){return(t,n)=>(c(),r("div",Bs,[e.items?(c(),r("div",Ns,[(c(!0),r(T,null,D(e.items,s=>(c(),r(T,{key:s.text},["link"in s?(c(),V(ke,{key:0,item:s},null,8,["item"])):(c(),V(As,{key:1,text:s.text,items:s.items},null,8,["text","items"]))],64))),128))])):k("",!0),h(t.$slots,"default",{},void 0,!0)]))}});const Hs=g(zs,[["__scopeId","data-v-7bffa9cd"]]),Es=["aria-expanded","aria-label"],Ds={key:0,class:"text"},Os={class:"menu"},Fs=$({__name:"VPFlyout",props:{icon:null,button:null,label:null,items:null},setup(e){const t=S(!1),n=S();_s({el:n,onBlur:s});function s(){t.value=!1}return(o,a)=>(c(),r("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)},[u("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":t.value,"aria-label":e.label,onClick:a[0]||(a[0]=i=>t.value=!t.value)},[e.button||e.icon?(c(),r("span",Ds,[e.icon?(c(),V(Q(e.icon),{key:0,class:"option-icon"})):k("",!0),O(" "+L(e.button)+" ",1),p(_t,{class:"text-icon"})])):(c(),V(Ss,{key:1,class:"icon"}))],8,Es),u("div",Os,[p(Hs,{items:e.items},{default:v(()=>[h(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}});const Ee=g(Fs,[["__scopeId","data-v-64c29883"]]),js=$({__name:"VPNavBarMenuGroup",props:{item:null},setup(e){const{page:t}=M();return(n,s)=>(c(),V(Ee,{class:B({VPNavBarMenuGroup:!0,active:l(te)(l(t).relativePath,e.item.activeMatch,!!e.item.activeMatch)}),button:e.item.text,items:e.item.items},null,8,["class","button","items"]))}}),qs=e=>(R("data-v-c6c3e6d4"),e=e(),U(),e),Gs={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},Rs=qs(()=>u("span",{id:"main-nav-aria-label",class:"visually-hidden"},"Main Navigation",-1)),Us=$({__name:"VPNavBarMenu",setup(e){const{theme:t}=M();return(n,s)=>l(t).nav?(c(),r("nav",Gs,[Rs,(c(!0),r(T,null,D(l(t).nav,o=>(c(),r(T,{key:o.text},["link"in o?(c(),V(ds,{key:0,item:o},null,8,["item"])):(c(),V(js,{key:1,item:o},null,8,["item"]))],64))),128))])):k("",!0)}});const Ks=g(Us,[["__scopeId","data-v-c6c3e6d4"]]),Ws={},Ys={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Xs=u("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1),Js=u("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),Qs=[Xs,Js];function Zs(e,t){return c(),r("svg",Ys,Qs)}const ht=g(Ws,[["render",Zs]]),eo={class:"items"},to={class:"title"},no=$({__name:"VPNavBarTranslations",setup(e){const{theme:t}=M(),{localeLinks:n,currentLang:s}=re({correspondingLink:!0});return(o,a)=>l(n).length&&l(s).label?(c(),V(Ee,{key:0,class:"VPNavBarTranslations",icon:ht,label:l(t).langMenuLabel||"Change language"},{default:v(()=>[u("div",eo,[u("p",to,L(l(s).label),1),(c(!0),r(T,null,D(l(n),i=>(c(),V(ke,{key:i.link,item:i},null,8,["item"]))),128))])]),_:1},8,["label"])):k("",!0)}});const so=g(no,[["__scopeId","data-v-3bf1c934"]]);const oo={},ao={class:"VPSwitch",type:"button",role:"switch"},io={class:"check"},co={key:0,class:"icon"};function lo(e,t){return c(),r("button",ao,[u("span",io,[e.$slots.default?(c(),r("span",co,[h(e.$slots,"default",{},void 0,!0)])):k("",!0)])])}const ro=g(oo,[["render",lo],["__scopeId","data-v-0a2eba70"]]),uo={},_o={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},ho=Tt('<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),vo=[ho];function fo(e,t){return c(),r("svg",_o,vo)}const po=g(uo,[["render",fo]]),mo={},go={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},yo=u("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),bo=[yo];function ko(e,t){return c(),r("svg",go,bo)}const $o=g(mo,[["render",ko]]),Po={title:"toggle dark mode"},xo=$({__name:"VPSwitchAppearance",setup(e){const{site:t,isDark:n}=M(),s=S(!1),o=typeof localStorage<"u"?a():()=>{};J(()=>{s.value=document.documentElement.classList.contains("dark")});function a(){const i=window.matchMedia("(prefers-color-scheme: dark)"),_=document.documentElement.classList;let d=localStorage.getItem(We),f=t.value.appearance==="dark"&&d==null||(d==="auto"||d==null?i.matches:d==="dark");i.onchange=P=>{d==="auto"&&b(f=P.matches)};function y(){b(f=!f),d=f?i.matches?"auto":"dark":i.matches?"light":"auto",localStorage.setItem(We,d)}function b(P){const m=document.createElement("style");m.type="text/css",m.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(m),s.value=P,_[P?"add":"remove"]("dark"),window.getComputedStyle(m).opacity,document.head.removeChild(m)}return y}return ee(s,i=>{n.value=i}),(i,_)=>(c(),r("label",Po,[p(ro,{class:"VPSwitchAppearance","aria-checked":s.value,onClick:l(o)},{default:v(()=>[p(po,{class:"sun"}),p($o,{class:"moon"})]),_:1},8,["aria-checked","onClick"])]))}});const De=g(xo,[["__scopeId","data-v-f37e294f"]]),Vo={key:0,class:"VPNavBarAppearance"},wo=$({__name:"VPNavBarAppearance",setup(e){const{site:t}=M();return(n,s)=>l(t).appearance?(c(),r("div",Vo,[p(De)])):k("",!0)}});const So=g(wo,[["__scopeId","data-v-88042fc7"]]),Lo={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>'},Mo=["href","aria-label","innerHTML"],Co=$({__name:"VPSocialLink",props:{icon:null,link:null},setup(e){const t=e,n=w(()=>typeof t.icon=="object"?t.icon.svg:Lo[t.icon]);return(s,o)=>(c(),r("a",{class:"VPSocialLink",href:e.link,"aria-label":typeof e.icon=="string"?e.icon:"",target:"_blank",rel:"noopener",innerHTML:l(n)},null,8,Mo))}});const Io=g(Co,[["__scopeId","data-v-ca994af5"]]),To={class:"VPSocialLinks"},Ao=$({__name:"VPSocialLinks",props:{links:null},setup(e){return(t,n)=>(c(),r("div",To,[(c(!0),r(T,null,D(e.links,({link:s,icon:o})=>(c(),V(Io,{key:s,icon:o,link:s},null,8,["icon","link"]))),128))]))}});const Oe=g(Ao,[["__scopeId","data-v-de2bf516"]]),Bo=$({__name:"VPNavBarSocialLinks",setup(e){const{theme:t}=M();return(n,s)=>l(t).socialLinks?(c(),V(Oe,{key:0,class:"VPNavBarSocialLinks",links:l(t).socialLinks},null,8,["links"])):k("",!0)}});const No=g(Bo,[["__scopeId","data-v-08b35e6f"]]),zo={key:0,class:"group translations"},Ho={class:"trans-title"},Eo={key:1,class:"group"},Do={class:"item appearance"},Oo={class:"label"},Fo={class:"appearance-action"},jo={key:2,class:"group"},qo={class:"item social-links"},Go=$({__name:"VPNavBarExtra",setup(e){const{site:t,theme:n}=M(),{localeLinks:s,currentLang:o}=re({correspondingLink:!0}),a=w(()=>s.value.length&&o.value.label||t.value.appearance||n.value.socialLinks);return(i,_)=>l(a)?(c(),V(Ee,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:v(()=>[l(s).length&&l(o).label?(c(),r("div",zo,[u("p",Ho,L(l(o).label),1),(c(!0),r(T,null,D(l(s),d=>(c(),V(ke,{key:d.link,item:d},null,8,["item"]))),128))])):k("",!0),l(t).appearance?(c(),r("div",Eo,[u("div",Do,[u("p",Oo,L(l(n).darkModeSwitchLabel||"Appearance"),1),u("div",Fo,[p(De)])])])):k("",!0),l(n).socialLinks?(c(),r("div",jo,[u("div",qo,[p(Oe,{class:"social-links-list",links:l(n).socialLinks},null,8,["links"])])])):k("",!0)]),_:1})):k("",!0)}});const Ro=g(Go,[["__scopeId","data-v-47bb42ad"]]),Uo=e=>(R("data-v-670493dd"),e=e(),U(),e),Ko=["aria-expanded"],Wo=Uo(()=>u("span",{class:"container"},[u("span",{class:"top"}),u("span",{class:"middle"}),u("span",{class:"bottom"})],-1)),Yo=[Wo],Xo=$({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(e){return(t,n)=>(c(),r("button",{type:"button",class:B(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:n[0]||(n[0]=s=>t.$emit("click"))},Yo,10,Ko))}});const Jo=g(Xo,[["__scopeId","data-v-670493dd"]]),Qo=e=>(R("data-v-82c325fa"),e=e(),U(),e),Zo={class:"container"},ea={class:"title"},ta={class:"content"},na=Qo(()=>u("div",{class:"curtain"},null,-1)),sa={class:"content-body"},oa=$({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(e){const{y:t}=Wt(),{hasSidebar:n}=K(),s=w(()=>({"has-sidebar":n.value,fill:t.value>0}));return(o,a)=>(c(),r("div",{class:B(["VPNavBar",l(s)])},[u("div",Zo,[u("div",ea,[p(hn,null,{"nav-bar-title-before":v(()=>[h(o.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[h(o.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),u("div",ta,[na,u("div",sa,[h(o.$slots,"nav-bar-content-before",{},void 0,!0),p(ts,{class:"search"}),p(Ks,{class:"menu"}),p(so,{class:"translations"}),p(So,{class:"appearance"}),p(No,{class:"social-links"}),p(Ro,{class:"extra"}),h(o.$slots,"nav-bar-content-after",{},void 0,!0),p(Jo,{class:"hamburger",active:e.isScreenOpen,onClick:a[0]||(a[0]=i=>o.$emit("toggle-screen"))},null,8,["active"])])])])],2))}});const aa=g(oa,[["__scopeId","data-v-82c325fa"]]);function ia(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 Fe=!1;if(typeof window<"u"){var et={get passive(){Fe=!0}};window.addEventListener("testPassive",null,et),window.removeEventListener("testPassive",null,et)}var me=typeof window<"u"&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||window.navigator.platform==="MacIntel"&&window.navigator.maxTouchPoints>1),Z=[],ge=!1,je=-1,se=void 0,X=void 0,oe=void 0,vt=function(t){return Z.some(function(n){return!!(n.options.allowTouchMove&&n.options.allowTouchMove(t))})},ye=function(t){var n=t||window.event;return vt(n.target)||n.touches.length>1?!0:(n.preventDefault&&n.preventDefault(),!1)},ca=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")},la=function(){oe!==void 0&&(document.body.style.paddingRight=oe,oe=void 0),se!==void 0&&(document.body.style.overflow=se,se=void 0)},ra=function(){return window.requestAnimationFrame(function(){if(X===void 0){X={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)}})},ua=function(){if(X!==void 0){var t=-parseInt(document.body.style.top,10),n=-parseInt(document.body.style.left,10);document.body.style.position=X.position,document.body.style.top=X.top,document.body.style.left=X.left,window.scrollTo(n,t),X=void 0}},da=function(t){return t?t.scrollHeight-t.scrollTop<=t.clientHeight:!1},_a=function(t,n){var s=t.targetTouches[0].clientY-je;return vt(t.target)?!1:n&&n.scrollTop===0&&s>0||da(n)&&s<0?ye(t):(t.stopPropagation(),!0)},ft=function(t,n){if(!t){console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");return}if(!Z.some(function(o){return o.targetElement===t})){var s={targetElement:t,options:n||{}};Z=[].concat(ia(Z),[s]),me?ra():ca(n),me&&(t.ontouchstart=function(o){o.targetTouches.length===1&&(je=o.targetTouches[0].clientY)},t.ontouchmove=function(o){o.targetTouches.length===1&&_a(o,t)},ge||(document.addEventListener("touchmove",ye,Fe?{passive:!1}:void 0),ge=!0))}},pt=function(){me&&(Z.forEach(function(t){t.targetElement.ontouchstart=null,t.targetElement.ontouchmove=null}),ge&&(document.removeEventListener("touchmove",ye,Fe?{passive:!1}:void 0),ge=!1),je=-1),me?ua():la(),Z=[]};const ha=$({__name:"VPNavScreenMenuLink",props:{text:null,link:null},setup(e){const t=Ae("close-screen");return(n,s)=>(c(),V(Y,{class:"VPNavScreenMenuLink",href:e.link,onClick:l(t)},{default:v(()=>[O(L(e.text),1)]),_:1},8,["href","onClick"]))}});const va=g(ha,[["__scopeId","data-v-0162d08e"]]),fa={},pa={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},ma=u("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),ga=[ma];function ya(e,t){return c(),r("svg",pa,ga)}const ba=g(fa,[["render",ya]]),ka=$({__name:"VPNavScreenMenuGroupLink",props:{text:null,link:null},setup(e){const t=Ae("close-screen");return(n,s)=>(c(),V(Y,{class:"VPNavScreenMenuGroupLink",href:e.link,onClick:l(t)},{default:v(()=>[O(L(e.text),1)]),_:1},8,["href","onClick"]))}});const mt=g(ka,[["__scopeId","data-v-7fd086c3"]]),$a={class:"VPNavScreenMenuGroupSection"},Pa={key:0,class:"title"},xa=$({__name:"VPNavScreenMenuGroupSection",props:{text:null,items:null},setup(e){return(t,n)=>(c(),r("div",$a,[e.text?(c(),r("p",Pa,L(e.text),1)):k("",!0),(c(!0),r(T,null,D(e.items,s=>(c(),V(mt,{key:s.text,text:s.text,link:s.link},null,8,["text","link"]))),128))]))}});const Va=g(xa,[["__scopeId","data-v-eb049aaa"]]),wa=["aria-controls","aria-expanded"],Sa={class:"button-text"},La=["id"],Ma={key:1,class:"group"},Ca=$({__name:"VPNavScreenMenuGroup",props:{text:null,items:null},setup(e){const t=e,n=S(!1),s=w(()=>`NavScreenGroup-${t.text.replace(" ","-").toLowerCase()}`);function o(){n.value=!n.value}return(a,i)=>(c(),r("div",{class:B(["VPNavScreenMenuGroup",{open:n.value}])},[u("button",{class:"button","aria-controls":l(s),"aria-expanded":n.value,onClick:o},[u("span",Sa,L(e.text),1),p(ba,{class:"button-icon"})],8,wa),u("div",{id:l(s),class:"items"},[(c(!0),r(T,null,D(e.items,_=>(c(),r(T,{key:_.text},["link"in _?(c(),r("div",{key:_.text,class:"item"},[p(mt,{text:_.text,link:_.link},null,8,["text","link"])])):(c(),r("div",Ma,[p(Va,{text:_.text,items:_.items},null,8,["text","items"])]))],64))),128))],8,La)],2))}});const Ia=g(Ca,[["__scopeId","data-v-48a8b068"]]),Ta={key:0,class:"VPNavScreenMenu"},Aa=$({__name:"VPNavScreenMenu",setup(e){const{theme:t}=M();return(n,s)=>l(t).nav?(c(),r("nav",Ta,[(c(!0),r(T,null,D(l(t).nav,o=>(c(),r(T,{key:o.text},["link"in o?(c(),V(va,{key:0,text:o.text,link:o.link},null,8,["text","link"])):(c(),V(Ia,{key:1,text:o.text||"",items:o.items},null,8,["text","items"]))],64))),128))])):k("",!0)}}),Ba={key:0,class:"VPNavScreenAppearance"},Na={class:"text"},za=$({__name:"VPNavScreenAppearance",setup(e){const{site:t,theme:n}=M();return(s,o)=>l(t).appearance?(c(),r("div",Ba,[u("p",Na,L(l(n).darkModeSwitchLabel||"Appearance"),1),p(De)])):k("",!0)}});const Ha=g(za,[["__scopeId","data-v-8d2d8cf1"]]),Ea={class:"list"},Da=$({__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?(c(),r("div",{key:0,class:B(["VPNavScreenTranslations",{open:s.value}])},[u("button",{class:"title",onClick:o},[p(ht,{class:"icon lang"}),O(" "+L(l(n).label)+" ",1),p(_t,{class:"icon chevron"})]),u("ul",Ea,[(c(!0),r(T,null,D(l(t),_=>(c(),r("li",{key:_.link,class:"item"},[p(Y,{class:"link",href:_.link},{default:v(()=>[O(L(_.text),1)]),_:2},1032,["href"])]))),128))])],2)):k("",!0)}});const Oa=g(Da,[["__scopeId","data-v-b72581fd"]]),Fa=$({__name:"VPNavScreenSocialLinks",setup(e){const{theme:t}=M();return(n,s)=>l(t).socialLinks?(c(),V(Oe,{key:0,class:"VPNavScreenSocialLinks",links:l(t).socialLinks},null,8,["links"])):k("",!0)}}),ja={class:"container"},qa=$({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(e){const t=S(null);function n(){ft(t.value,{reserveScrollBarGap:!0})}function s(){pt()}return(o,a)=>(c(),V(Te,{name:"fade",onEnter:n,onAfterLeave:s},{default:v(()=>[e.open?(c(),r("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:t},[u("div",ja,[h(o.$slots,"nav-screen-content-before",{},void 0,!0),p(Aa,{class:"menu"}),p(Oa,{class:"translations"}),p(Ha,{class:"appearance"}),p(Fa,{class:"social-links"}),h(o.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):k("",!0)]),_:3}))}});const Ga=g(qa,[["__scopeId","data-v-ea8d6f65"]]),Ra={class:"VPNav"},Ua=$({__name:"VPNav",setup(e){const{isScreenOpen:t,closeScreen:n,toggleScreen:s}=an();return he("close-screen",n),(o,a)=>(c(),r("header",Ra,[p(aa,{"is-screen-open":l(t),onToggleScreen:l(s)},{"nav-bar-title-before":v(()=>[h(o.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[h(o.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":v(()=>[h(o.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":v(()=>[h(o.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),p(Ga,{open:l(t)},{"nav-screen-content-before":v(()=>[h(o.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":v(()=>[h(o.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])]))}});const Ka=g(Ua,[["__scopeId","data-v-b1949460"]]),Wa={},Ya={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Xa=u("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),Ja=u("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),Qa=u("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),Za=u("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),ei=[Xa,Ja,Qa,Za];function ti(e,t){return c(),r("svg",Ya,ei)}const ni=g(Wa,[["render",ti]]);function si(){const{hasSidebar:e}=K(),t=Se("(min-width: 960px)"),n=Se("(min-width: 1280px)");return{isAsideEnabled:w(()=>!n.value&&!t.value?!1:e.value?n.value:t.value)}}const oi=71;function qe(e){return typeof e.outline=="object"&&!Array.isArray(e.outline)&&e.outline.label||e.outlineTitle||"On this page"}function Ge(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:ai(n),link:"#"+n.id,level:s}});return ii(t,e)}function ai(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 ii(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 _=e[i];if(i===0)a.push(_);else{for(let d=i-1;d>=0;d--){const f=e[d];if(f.level<_.level){(f.children||(f.children=[])).push(_);continue e}}a.push(_)}}return a}function ci(e,t){const{isAsideEnabled:n}=si(),s=Yt(a,100);let o=null;J(()=>{requestAnimationFrame(a),window.addEventListener("scroll",s)}),At(()=>{i(location.hash)}),Ie(()=>{window.removeEventListener("scroll",s)});function a(){if(!n.value)return;const _=[].slice.call(e.value.querySelectorAll(".outline-link")),d=[].slice.call(document.querySelectorAll(".content .header-anchor")).filter(m=>_.some(x=>x.hash===m.hash&&m.offsetParent!==null)),f=window.scrollY,y=window.innerHeight,b=document.body.offsetHeight,P=Math.abs(f+y-b)<1;if(d.length&&P){i(d[d.length-1].hash);return}for(let m=0;m<d.length;m++){const x=d[m],A=d[m+1],[N,H]=li(m,x,A);if(N){i(H);return}}}function i(_){o&&o.classList.remove("active"),_!==null&&(o=e.value.querySelector(`a[href="${decodeURIComponent(_)}"]`));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 tt(e){return e.parentElement.offsetTop-oi}function li(e,t,n){const s=window.scrollY;return e===0&&s===0?[!0,null]:s<tt(t)?[!1,null]:!n||s<tt(n)?[!0,t.hash]:[!1,null]}const ri=["href","title"],ui=$({__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=W("VPDocOutlineItem",!0);return c(),r("ul",{class:B(e.root?"root":"nested")},[(c(!0),r(T,null,D(e.headers,({children:a,link:i,title:_})=>(c(),r("li",null,[u("a",{class:"outline-link",href:i,onClick:t,title:_},L(_),9,ri),a!=null&&a.length?(c(),V(o,{key:0,headers:a},null,8,["headers"])):k("",!0)]))),256))],2)}}});const Re=g(ui,[["__scopeId","data-v-efc119ee"]]),di={},_i={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},hi=u("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),vi=[hi];function fi(e,t){return c(),r("svg",_i,vi)}const Ue=g(di,[["render",fi]]),pi=$({__name:"VPLocalNavOutlineDropdown",setup(e){const{frontmatter:t,theme:n}=M(),s=S(!1),o=S(0),a=S();ie(()=>{s.value=!1});function i(){s.value=!s.value,o.value=window.innerHeight+Math.min(window.scrollY-64,0)}function _(y){y.target.classList.contains("outline-link")&&(a.value&&(a.value.style.transition="none"),Nt(()=>{s.value=!1}))}function d(){s.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}const f=Be([]);return ie(()=>{f.value=Ge(t.value.outline??n.value.outline)}),(y,b)=>(c(),r("div",{class:"VPLocalNavOutlineDropdown",style:Bt({"--vp-vh":o.value+"px"})},[l(f).length>0?(c(),r("button",{key:0,onClick:i,class:B({open:s.value})},[O(L(l(qe)(l(n)))+" ",1),p(Ue,{class:"icon"})],2)):(c(),r("button",{key:1,onClick:d},L(l(n).returnToTopLabel||"Return to top"),1)),p(Te,{name:"flyout"},{default:v(()=>[s.value?(c(),r("div",{key:0,ref_key:"items",ref:a,class:"items",onClick:_},[u("a",{class:"top-link",href:"#",onClick:d},L(l(n).returnToTopLabel||"Return to top"),1),p(Re,{headers:l(f)},null,8,["headers"])],512)):k("",!0)]),_:1})],4))}});const mi=g(pi,[["__scopeId","data-v-07aca99e"]]),gi={key:0,class:"VPLocalNav"},yi=["aria-expanded"],bi={class:"menu-text"},ki=$({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(e){const{theme:t}=M(),{hasSidebar:n}=K();return(s,o)=>l(n)?(c(),r("div",gi,[u("button",{class:"menu","aria-expanded":e.open,"aria-controls":"VPSidebarNav",onClick:o[0]||(o[0]=a=>s.$emit("open-menu"))},[p(ni,{class:"menu-icon"}),u("span",bi,L(l(t).sidebarMenuLabel||"Menu"),1)],8,yi),p(mi)])):k("",!0)}});const $i=g(ki,[["__scopeId","data-v-018d8a44"]]),Pi=e=>(R("data-v-77d7a963"),e=e(),U(),e),xi=["role","tabindex"],Vi=Pi(()=>u("div",{class:"indicator"},null,-1)),wi=["onKeydown"],Si={key:1,class:"items"},Li=$({__name:"VPSidebarItem",props:{item:null,depth:null},setup(e){const t=e,{collapsed:n,collapsible:s,isLink:o,isActiveLink:a,hasActiveLink:i,hasChildren:_,toggle:d}=Zt(w(()=>t.item)),f=w(()=>_.value?"section":"div"),y=w(()=>o.value?"a":"div"),b=w(()=>_.value?t.depth+2===7?"p":`h${t.depth+2}`:"p"),P=w(()=>o.value?void 0:"button"),m=w(()=>[[`level-${t.depth}`],{collapsible:s.value},{collapsed:n.value},{"is-link":o.value},{"is-active":a.value},{"has-active":i.value}]);function x(N){"key"in N&&N.key!=="Enter"||!t.item.link&&d()}function A(){t.item.link&&d()}return(N,H)=>{const I=W("VPSidebarItem",!0);return c(),V(Q(l(f)),{class:B(["VPSidebarItem",l(m)])},{default:v(()=>[e.item.text?(c(),r("div",_e({key:0,class:"item",role:l(P)},Ht(e.item.items?{click:x,keydown:x}:{},!0),{tabindex:e.item.items&&0}),[Vi,e.item.link?(c(),V(Y,{key:0,tag:l(y),class:"link",href:e.item.link},{default:v(()=>[(c(),V(Q(l(b)),{class:"text",innerHTML:e.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href"])):(c(),V(Q(l(b)),{key:1,class:"text",innerHTML:e.item.text},null,8,["innerHTML"])),e.item.collapsed!=null?(c(),r("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:A,onKeydown:zt(A,["enter"]),tabindex:"0"},[p(Ue,{class:"caret-icon"})],40,wi)):k("",!0)],16,xi)):k("",!0),e.item.items&&e.item.items.length?(c(),r("div",Si,[e.depth<5?(c(!0),r(T,{key:0},D(e.item.items,C=>(c(),V(I,{key:C.text,item:C,depth:e.depth+1},null,8,["item","depth"]))),128)):k("",!0)])):k("",!0)]),_:1},8,["class"])}}});const Mi=g(Li,[["__scopeId","data-v-77d7a963"]]),gt=e=>(R("data-v-a2c0de1b"),e=e(),U(),e),Ci=gt(()=>u("div",{class:"curtain"},null,-1)),Ii={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},Ti=gt(()=>u("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),Ai=$({__name:"VPSidebar",props:{open:{type:Boolean}},setup(e){const t=e,{sidebarGroups:n,hasSidebar:s}=K();let o=S(null);function a(){ft(o.value,{reserveScrollBarGap:!0})}function i(){pt()}return Et(async()=>{var _;t.open?(a(),(_=o.value)==null||_.focus()):i()}),(_,d)=>l(s)?(c(),r("aside",{key:0,class:B(["VPSidebar",{open:e.open}]),ref_key:"navEl",ref:o,onClick:d[0]||(d[0]=ot(()=>{},["stop"]))},[Ci,u("nav",Ii,[Ti,h(_.$slots,"sidebar-nav-before",{},void 0,!0),(c(!0),r(T,null,D(l(n),f=>(c(),r("div",{key:f.text,class:"group"},[p(Mi,{item:f,depth:0},null,8,["item"])]))),128)),h(_.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):k("",!0)}});const Bi=g(Ai,[["__scopeId","data-v-a2c0de1b"]]),Ni={},zi={class:"VPPage"};function Hi(e,t){const n=W("Content");return c(),r("div",zi,[h(e.$slots,"page-top"),p(n),h(e.$slots,"page-bottom")])}const Ei=g(Ni,[["render",Hi]]),Di=$({__name:"VPButton",props:{tag:null,size:null,theme:null,text:null,href:null},setup(e){const t=e,n=w(()=>[t.size??"medium",t.theme??"brand"]),s=w(()=>t.href&&at.test(t.href)),o=w(()=>t.tag?t.tag:t.href?"a":"button");return(a,i)=>(c(),V(Q(l(o)),{class:B(["VPButton",l(n)]),href:e.href?l(ce)(e.href):void 0,target:l(s)?"_blank":void 0,rel:l(s)?"noreferrer":void 0},{default:v(()=>[O(L(e.text),1)]),_:1},8,["class","href","target","rel"]))}});const Oi=g(Di,[["__scopeId","data-v-a4b757f0"]]),Fi=e=>(R("data-v-3b95c4f3"),e=e(),U(),e),ji={class:"container"},qi={class:"main"},Gi={key:0,class:"name"},Ri={class:"clip"},Ui={key:1,class:"text"},Ki={key:2,class:"tagline"},Wi={key:0,class:"actions"},Yi={key:0,class:"image"},Xi={class:"image-container"},Ji=Fi(()=>u("div",{class:"image-bg"},null,-1)),Qi=$({__name:"VPHero",props:{name:null,text:null,tagline:null,image:null,actions:null},setup(e){const t=Ae("hero-image-slot-exists");return(n,s)=>(c(),r("div",{class:B(["VPHero",{"has-image":e.image||l(t)}])},[u("div",ji,[u("div",qi,[h(n.$slots,"home-hero-info",{},()=>[e.name?(c(),r("h1",Gi,[u("span",Ri,L(e.name),1)])):k("",!0),e.text?(c(),r("p",Ui,L(e.text),1)):k("",!0),e.tagline?(c(),r("p",Ki,L(e.tagline),1)):k("",!0)],!0),e.actions?(c(),r("div",Wi,[(c(!0),r(T,null,D(e.actions,o=>(c(),r("div",{key:o.link,class:"action"},[p(Oi,{tag:"a",size:"medium",theme:o.theme,text:o.text,href:o.link},null,8,["theme","text","href"])]))),128))])):k("",!0)]),e.image||l(t)?(c(),r("div",Yi,[u("div",Xi,[Ji,h(n.$slots,"home-hero-image",{},()=>[e.image?(c(),V(ze,{key:0,class:"image-src",image:e.image},null,8,["image"])):k("",!0)],!0)])])):k("",!0)])],2))}});const Zi=g(Qi,[["__scopeId","data-v-3b95c4f3"]]),ec=$({__name:"VPHomeHero",setup(e){const{frontmatter:t}=M();return(n,s)=>l(t).hero?(c(),V(Zi,{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":v(()=>[h(n.$slots,"home-hero-info")]),"home-hero-image":v(()=>[h(n.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):k("",!0)}}),tc={},nc={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},sc=u("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),oc=[sc];function ac(e,t){return c(),r("svg",nc,oc)}const ic=g(tc,[["render",ac]]),cc={class:"box"},lc=["innerHTML"],rc=["innerHTML"],uc=["innerHTML"],dc={key:3,class:"link-text"},_c={class:"link-text-value"},hc=$({__name:"VPFeature",props:{icon:null,title:null,details:null,link:null,linkText:null},setup(e){return(t,n)=>(c(),V(Y,{class:"VPFeature",href:e.link,"no-icon":!0},{default:v(()=>[u("article",cc,[typeof e.icon=="object"?(c(),V(ze,{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?(c(),r("div",{key:1,class:"icon",innerHTML:e.icon},null,8,lc)):k("",!0),u("h2",{class:"title",innerHTML:e.title},null,8,rc),e.details?(c(),r("p",{key:2,class:"details",innerHTML:e.details},null,8,uc)):k("",!0),e.linkText?(c(),r("div",dc,[u("p",_c,[O(L(e.linkText)+" ",1),p(ic,{class:"link-text-icon"})])])):k("",!0)])]),_:1},8,["href"]))}});const vc=g(hc,[["__scopeId","data-v-fdb307a3"]]),fc={key:0,class:"VPFeatures"},pc={class:"container"},mc={class:"items"},gc=$({__name:"VPFeatures",props:{features:null},setup(e){const t=e,n=w(()=>{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?(c(),r("div",fc,[u("div",pc,[u("div",mc,[(c(!0),r(T,null,D(e.features,a=>(c(),r("div",{key:a.title,class:B(["item",[l(n)]])},[p(vc,{icon:a.icon,title:a.title,details:a.details,link:a.link,"link-text":a.linkText},null,8,["icon","title","details","link","link-text"])],2))),128))])])])):k("",!0)}});const yc=g(gc,[["__scopeId","data-v-5e2470ab"]]),bc=$({__name:"VPHomeFeatures",setup(e){const{frontmatter:t}=M();return(n,s)=>l(t).features?(c(),V(yc,{key:0,class:"VPHomeFeatures",features:l(t).features},null,8,["features"])):k("",!0)}}),kc={class:"VPHome"},$c=$({__name:"VPHome",setup(e){return(t,n)=>{const s=W("Content");return c(),r("div",kc,[h(t.$slots,"home-hero-before",{},void 0,!0),p(ec,null,{"home-hero-info":v(()=>[h(t.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":v(()=>[h(t.$slots,"home-hero-image",{},void 0,!0)]),_:3}),h(t.$slots,"home-hero-after",{},void 0,!0),h(t.$slots,"home-features-before",{},void 0,!0),p(bc),h(t.$slots,"home-features-after",{},void 0,!0),p(s)])}}});const Pc=g($c,[["__scopeId","data-v-8ebac4ee"]]),xc=e=>(R("data-v-c3ff47cc"),e=e(),U(),e),Vc={class:"content"},wc={class:"outline-title"},Sc={"aria-labelledby":"doc-outline-aria-label"},Lc=xc(()=>u("span",{class:"visually-hidden",id:"doc-outline-aria-label"}," Table of Contents for current page ",-1)),Mc=$({__name:"VPDocAsideOutline",setup(e){const{frontmatter:t,theme:n}=M(),s=Be([]);ie(()=>{s.value=Ge(t.value.outline??n.value.outline)});const o=S(),a=S();return ci(o,a),(i,_)=>(c(),r("div",{class:B(["VPDocAsideOutline",{"has-outline":l(s).length>0}]),ref_key:"container",ref:o},[u("div",Vc,[u("div",{class:"outline-marker",ref_key:"marker",ref:a},null,512),u("div",wc,L(l(qe)(l(n))),1),u("nav",Sc,[Lc,p(Re,{headers:l(s),root:!0},null,8,["headers"])])])],2))}});const Cc=g(Mc,[["__scopeId","data-v-c3ff47cc"]]),Ic={class:"VPDocAsideCarbonAds"},Tc=$({__name:"VPDocAsideCarbonAds",props:{carbonAds:null},setup(e){const t=()=>null;return(n,s)=>(c(),r("div",Ic,[p(l(t),{"carbon-ads":e.carbonAds},null,8,["carbon-ads"])]))}}),Ac=e=>(R("data-v-79cae1a0"),e=e(),U(),e),Bc={class:"VPDocAside"},Nc=Ac(()=>u("div",{class:"spacer"},null,-1)),zc=$({__name:"VPDocAside",setup(e){const{theme:t}=M();return(n,s)=>(c(),r("div",Bc,[h(n.$slots,"aside-top",{},void 0,!0),h(n.$slots,"aside-outline-before",{},void 0,!0),p(Cc),h(n.$slots,"aside-outline-after",{},void 0,!0),Nc,h(n.$slots,"aside-ads-before",{},void 0,!0),l(t).carbonAds?(c(),V(Tc,{key:0,"carbon-ads":l(t).carbonAds},null,8,["carbon-ads"])):k("",!0),h(n.$slots,"aside-ads-after",{},void 0,!0),h(n.$slots,"aside-bottom",{},void 0,!0)]))}});const Hc=g(zc,[["__scopeId","data-v-79cae1a0"]]);function Ec(){const{theme:e,page:t}=M();return w(()=>{const{text:n="Edit this page",pattern:s=""}=e.value.editLink||{},{relativePath:o}=t.value;let a;return typeof s=="function"?a=s({relativePath:o}):a=s.replace(/:path/g,o),{url:a,text:n}})}function Dc(){const{page:e,theme:t,frontmatter:n}=M();return w(()=>{var i,_,d,f;const s=rt(t.value.sidebar,e.value.relativePath),o=Jt(s),a=o.findIndex(y=>te(e.value.relativePath,y.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)??((i=o[a-1])==null?void 0:i.text),link:(typeof n.value.prev=="object"?n.value.prev.link:void 0)??((_=o[a-1])==null?void 0:_.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[a+1])==null?void 0:d.text),link:(typeof n.value.next=="object"?n.value.next.link:void 0)??((f=o[a+1])==null?void 0:f.link)}}})}const Oc={},Fc={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},jc=u("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=u("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),Gc=[jc,qc];function Rc(e,t){return c(),r("svg",Fc,Gc)}const Uc=g(Oc,[["render",Rc]]),Kc={class:"VPLastUpdated"},Wc=["datetime"],Yc=$({__name:"VPDocFooterLastUpdated",setup(e){const{theme:t,page:n,lang:s}=M(),o=w(()=>new Date(n.value.lastUpdated)),a=w(()=>o.value.toISOString()),i=S("");return J(()=>{ae(()=>{i.value=o.value.toLocaleString(s.value)})}),(_,d)=>(c(),r("p",Kc,[O(L(l(t).lastUpdatedText||"Last updated")+": ",1),u("time",{datetime:l(a)},L(i.value),9,Wc)]))}});const Xc=g(Yc,[["__scopeId","data-v-f00606ba"]]),Jc={key:0,class:"VPDocFooter"},Qc={key:0,class:"edit-info"},Zc={key:0,class:"edit-link"},el={key:1,class:"last-updated"},tl={key:1,class:"prev-next"},nl={class:"pager"},sl=["href"],ol=["innerHTML"],al=["innerHTML"],il=["href"],cl=["innerHTML"],ll=["innerHTML"],rl=$({__name:"VPDocFooter",setup(e){const{theme:t,page:n,frontmatter:s}=M(),o=Ec(),a=Dc(),i=w(()=>t.value.editLink&&s.value.editLink!==!1),_=w(()=>n.value.lastUpdated&&s.value.lastUpdated!==!1),d=w(()=>i.value||_.value||a.value.prev||a.value.next);return(f,y)=>{var b,P,m,x,A,N,H;return l(d)?(c(),r("footer",Jc,[h(f.$slots,"doc-footer-before",{},void 0,!0),l(i)||l(_)?(c(),r("div",Qc,[l(i)?(c(),r("div",Zc,[p(Y,{class:"edit-link-button",href:l(o).url,"no-icon":!0},{default:v(()=>[p(Uc,{class:"edit-link-icon","aria-label":"edit icon"}),O(" "+L(l(o).text),1)]),_:1},8,["href"])])):k("",!0),l(_)?(c(),r("div",el,[p(Xc)])):k("",!0)])):k("",!0),(b=l(a).prev)!=null&&b.link||(P=l(a).next)!=null&&P.link?(c(),r("div",tl,[u("div",nl,[(m=l(a).prev)!=null&&m.link?(c(),r("a",{key:0,class:"pager-link prev",href:l(ce)(l(a).prev.link)},[u("span",{class:"desc",innerHTML:((x=l(t).docFooter)==null?void 0:x.prev)||"Previous page"},null,8,ol),u("span",{class:"title",innerHTML:l(a).prev.text},null,8,al)],8,sl)):k("",!0)]),u("div",{class:B(["pager",{"has-prev":(A=l(a).prev)==null?void 0:A.link}])},[(N=l(a).next)!=null&&N.link?(c(),r("a",{key:0,class:"pager-link next",href:l(ce)(l(a).next.link)},[u("span",{class:"desc",innerHTML:((H=l(t).docFooter)==null?void 0:H.next)||"Next page"},null,8,cl),u("span",{class:"title",innerHTML:l(a).next.text},null,8,ll)],8,il)):k("",!0)],2)])):k("",!0)])):k("",!0)}}});const ul=g(rl,[["__scopeId","data-v-31cb5067"]]),dl={key:0,class:"VPDocOutlineDropdown"},_l={key:0,class:"items"},hl=$({__name:"VPDocOutlineDropdown",setup(e){const{frontmatter:t,theme:n}=M(),s=S(!1);ie(()=>{s.value=!1});const o=Be([]);return ie(()=>{o.value=Ge(t.value.outline??n.value.outline)}),(a,i)=>l(o).length>0?(c(),r("div",dl,[u("button",{onClick:i[0]||(i[0]=_=>s.value=!s.value),class:B({open:s.value})},[O(L(l(qe)(l(n)))+" ",1),p(Ue,{class:"icon"})],2),s.value?(c(),r("div",_l,[p(Re,{headers:l(o)},null,8,["headers"])])):k("",!0)])):k("",!0)}});const vl=g(hl,[["__scopeId","data-v-f751778e"]]),fl=e=>(R("data-v-5aafa2ac"),e=e(),U(),e),pl={class:"container"},ml=fl(()=>u("div",{class:"aside-curtain"},null,-1)),gl={class:"aside-container"},yl={class:"aside-content"},bl={class:"content"},kl={class:"content-container"},$l={class:"main"},Pl=$({__name:"VPDoc",setup(e){const t=le(),{hasSidebar:n,hasAside:s,leftAside:o}=K(),a=w(()=>t.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(i,_)=>{const d=W("Content");return c(),r("div",{class:B(["VPDoc",{"has-sidebar":l(n),"has-aside":l(s)}])},[h(i.$slots,"doc-top",{},void 0,!0),u("div",pl,[l(s)?(c(),r("div",{key:0,class:B(["aside",{"left-aside":l(o)}])},[ml,u("div",gl,[u("div",yl,[p(Hc,null,{"aside-top":v(()=>[h(i.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":v(()=>[h(i.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":v(()=>[h(i.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[h(i.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[h(i.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[h(i.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):k("",!0),u("div",bl,[u("div",kl,[h(i.$slots,"doc-before",{},void 0,!0),p(vl),u("main",$l,[p(d,{class:B(["vp-doc",l(a)])},null,8,["class"])]),p(ul,null,{"doc-footer-before":v(()=>[h(i.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),h(i.$slots,"doc-after",{},void 0,!0)])])]),h(i.$slots,"doc-bottom",{},void 0,!0)],2)}}});const xl=g(Pl,[["__scopeId","data-v-5aafa2ac"]]),$e=e=>(R("data-v-42c0c3ae"),e=e(),U(),e),Vl={class:"NotFound"},wl=$e(()=>u("p",{class:"code"},"404",-1)),Sl=$e(()=>u("h1",{class:"title"},"PAGE NOT FOUND",-1)),Ll=$e(()=>u("div",{class:"divider"},null,-1)),Ml=$e(()=>u("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)),Cl={class:"action"},Il=["href"],Tl=$({__name:"NotFound",setup(e){const{site:t}=M(),{localeLinks:n}=re({removeCurrent:!1}),s=S("/");return J(()=>{var a;const o=window.location.pathname.replace(t.value.base,"").replace(/(^.*?\/).*$/,"/$1");n.value.length&&(s.value=((a=n.value.find(({link:i})=>i.startsWith(o)))==null?void 0:a.link)||n.value[0].link)}),(o,a)=>(c(),r("div",Vl,[wl,Sl,Ll,Ml,u("div",Cl,[u("a",{class:"link",href:l(be)(s.value),"aria-label":"go to home"}," Take me home ",8,Il)])]))}});const Al=g(Tl,[["__scopeId","data-v-42c0c3ae"]]),Bl=$({__name:"VPContent",setup(e){const{page:t,frontmatter:n}=M(),{hasSidebar:s}=K();return(o,a)=>(c(),r("div",{class:B(["VPContent",{"has-sidebar":l(s),"is-home":l(n).layout==="home"}]),id:"VPContent"},[l(t).isNotFound?h(o.$slots,"not-found",{key:0},()=>[p(Al)],!0):l(n).layout==="page"?(c(),V(Ei,{key:1},{"page-top":v(()=>[h(o.$slots,"page-top",{},void 0,!0)]),"page-bottom":v(()=>[h(o.$slots,"page-bottom",{},void 0,!0)]),_:3})):l(n).layout==="home"?(c(),V(Pc,{key:2},{"home-hero-before":v(()=>[h(o.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info":v(()=>[h(o.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":v(()=>[h(o.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":v(()=>[h(o.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":v(()=>[h(o.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":v(()=>[h(o.$slots,"home-features-after",{},void 0,!0)]),_:3})):(c(),V(xl,{key:3},{"doc-top":v(()=>[h(o.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":v(()=>[h(o.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":v(()=>[h(o.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":v(()=>[h(o.$slots,"doc-before",{},void 0,!0)]),"doc-after":v(()=>[h(o.$slots,"doc-after",{},void 0,!0)]),"aside-top":v(()=>[h(o.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":v(()=>[h(o.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[h(o.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[h(o.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[h(o.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":v(()=>[h(o.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}});const Nl=g(Bl,[["__scopeId","data-v-7f38fbbe"]]),zl={class:"container"},Hl=["innerHTML"],El=["innerHTML"],Dl=$({__name:"VPFooter",setup(e){const{theme:t}=M(),{hasSidebar:n}=K();return(s,o)=>l(t).footer?(c(),r("footer",{key:0,class:B(["VPFooter",{"has-sidebar":l(n)}])},[u("div",zl,[l(t).footer.message?(c(),r("p",{key:0,class:"message",innerHTML:l(t).footer.message},null,8,Hl)):k("",!0),l(t).footer.copyright?(c(),r("p",{key:1,class:"copyright",innerHTML:l(t).footer.copyright},null,8,El)):k("",!0)])],2)):k("",!0)}});const Ol=g(Dl,[["__scopeId","data-v-2425ede7"]]),Fl={key:0,class:"Layout"},jl=$({__name:"Layout",setup(e){const{isOpen:t,open:n,close:s}=K(),o=le();ee(()=>o.path,s),Qt(t,s),he("close-sidebar",s),he("is-sidebar-open",t);const{frontmatter:a}=M(),i=Dt(),_=w(()=>!!i["home-hero-image"]);return he("hero-image-slot-exists",_),(d,f)=>{const y=W("Content");return l(a).layout!==!1?(c(),r("div",Fl,[h(d.$slots,"layout-top",{},void 0,!0),p(tn),p(on,{class:"backdrop",show:l(t),onClick:l(s)},null,8,["show","onClick"]),p(Ka,null,{"nav-bar-title-before":v(()=>[h(d.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[h(d.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":v(()=>[h(d.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":v(()=>[h(d.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":v(()=>[h(d.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":v(()=>[h(d.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),p($i,{open:l(t),onOpenMenu:l(n)},null,8,["open","onOpenMenu"]),p(Bi,{open:l(t)},{"sidebar-nav-before":v(()=>[h(d.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":v(()=>[h(d.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),p(Nl,null,{"page-top":v(()=>[h(d.$slots,"page-top",{},void 0,!0)]),"page-bottom":v(()=>[h(d.$slots,"page-bottom",{},void 0,!0)]),"not-found":v(()=>[h(d.$slots,"not-found",{},void 0,!0)]),"home-hero-before":v(()=>[h(d.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info":v(()=>[h(d.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":v(()=>[h(d.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":v(()=>[h(d.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":v(()=>[h(d.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":v(()=>[h(d.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":v(()=>[h(d.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":v(()=>[h(d.$slots,"doc-before",{},void 0,!0)]),"doc-after":v(()=>[h(d.$slots,"doc-after",{},void 0,!0)]),"doc-top":v(()=>[h(d.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":v(()=>[h(d.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":v(()=>[h(d.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":v(()=>[h(d.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":v(()=>[h(d.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[h(d.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[h(d.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[h(d.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),p(Ol),h(d.$slots,"layout-bottom",{},void 0,!0)])):(c(),V(y,{key:1}))}}});const ql=g(jl,[["__scopeId","data-v-bd8710d4"]]);const Rl={Layout:ql,enhanceApp:({app:e})=>{e.component("Badge",Ft)}};export{Rl as t};
|