From 5f3749266bf0998fc4ee5c459568393f9f03b93d Mon Sep 17 00:00:00 2001 From: Dan Popescu Date: Wed, 18 Sep 2024 00:30:15 +0300 Subject: [PATCH] deploy --- 404.html | 4 ++-- assets/{app.DVNr6HNH.js => app.BMNpzzu-.js} | 2 +- ....BW3N6tEc.js => VPLocalSearchBox.D8QlY0hJ.js} | 2 +- ...lt.js => autofocus-on-activation.CBWcV5Kg.js} | 2 +- ...BDUIApR.js => autofocus-on-mount.DCTd3kcH.js} | 2 +- .../{index.CvKYGdcN.js => index.DKdczPIS.js} | 2 +- ...-grid.DI3VOdyh.js => roving-grid.DAiIvS-1.js} | 2 +- ...l.CyPyOgH3.js => roving-gridcell.CTdAOTXO.js} | 2 +- ...ted.7vZYhyNO.js => roving-nested.C5MlsWyg.js} | 2 +- ...ng-rtl.DZlhYBiA.js => roving-rtl.CMZkkIFW.js} | 2 +- ...ple.D8cDuv3n.js => roving-simple.DAjW2hE1.js} | 2 +- .../{theme.BoXNYxtW.js => theme.BCyvVktI.js} | 6 +++--- ...its.B82GvAJ0.js => trap-escexits.BBYYBbap.js} | 2 +- ...s.BLjhNL5J.js => trap-escrefocus.CxamOw6k.js} | 2 +- ...trap-rtl.nNPp_wo8.js => trap-rtl.oJx0SXGD.js} | 2 +- ...imple.JYrTMZl2.js => trap-simple.CIWxEYMV.js} | 2 +- ...md.Ck_uh76-.js => guide_index.md.PQCJgZYD.js} | 8 ++++---- ...-.lean.js => guide_index.md.PQCJgZYD.lean.js} | 8 ++++---- examples/index.html | 6 +++--- guide/index.html | 16 ++++++++-------- hashmap.json | 2 +- index.html | 6 +++--- links/index.html | 6 +++--- 23 files changed, 45 insertions(+), 45 deletions(-) rename assets/{app.DVNr6HNH.js => app.BMNpzzu-.js} (95%) rename assets/chunks/{VPLocalSearchBox.BW3N6tEc.js => VPLocalSearchBox.D8QlY0hJ.js} (99%) rename assets/chunks/{autofocus-on-activation.CQ4EX6lt.js => autofocus-on-activation.CBWcV5Kg.js} (92%) rename assets/chunks/{autofocus-on-mount.BBDUIApR.js => autofocus-on-mount.DCTd3kcH.js} (92%) rename assets/chunks/{index.CvKYGdcN.js => index.DKdczPIS.js} (66%) rename assets/chunks/{roving-grid.DI3VOdyh.js => roving-grid.DAiIvS-1.js} (92%) rename assets/chunks/{roving-gridcell.CyPyOgH3.js => roving-gridcell.CTdAOTXO.js} (96%) rename assets/chunks/{roving-nested.7vZYhyNO.js => roving-nested.C5MlsWyg.js} (93%) rename assets/chunks/{roving-rtl.DZlhYBiA.js => roving-rtl.CMZkkIFW.js} (95%) rename assets/chunks/{roving-simple.D8cDuv3n.js => roving-simple.DAjW2hE1.js} (92%) rename assets/chunks/{theme.BoXNYxtW.js => theme.BCyvVktI.js} (97%) rename assets/chunks/{trap-escexits.B82GvAJ0.js => trap-escexits.BBYYBbap.js} (94%) rename assets/chunks/{trap-escrefocus.BLjhNL5J.js => trap-escrefocus.CxamOw6k.js} (94%) rename assets/chunks/{trap-rtl.nNPp_wo8.js => trap-rtl.oJx0SXGD.js} (95%) rename assets/chunks/{trap-simple.JYrTMZl2.js => trap-simple.CIWxEYMV.js} (88%) rename assets/{guide_index.md.Ck_uh76-.js => guide_index.md.PQCJgZYD.js} (98%) rename assets/{guide_index.md.Ck_uh76-.lean.js => guide_index.md.PQCJgZYD.lean.js} (98%) diff --git a/404.html b/404.html index a0b4d4c..efdf565 100644 --- a/404.html +++ b/404.html @@ -8,7 +8,7 @@ - + @@ -32,7 +32,7 @@
- + \ No newline at end of file diff --git a/assets/app.DVNr6HNH.js b/assets/app.BMNpzzu-.js similarity index 95% rename from assets/app.DVNr6HNH.js rename to assets/app.BMNpzzu-.js index 28315cd..2a552d2 100644 --- a/assets/app.DVNr6HNH.js +++ b/assets/app.BMNpzzu-.js @@ -1 +1 @@ -import{R as p}from"./chunks/theme.BoXNYxtW.js";import{R as o,a6 as u,a7 as c,a8 as l,a9 as f,aa as d,ab as m,ac as h,ad as g,ae as A,af as v,d as P,u as R,v as w,s as y,ag as C,ah as b,ai as E,aj as S}from"./chunks/framework.DzdlaPMj.js";function i(e){if(e.extends){const a=i(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const s=i(p),T=P({name:"VitePressApp",setup(){const{site:e,lang:a,dir:t}=R();return w(()=>{y(()=>{document.documentElement.lang=a.value,document.documentElement.dir=t.value})}),e.value.router.prefetchLinks&&C(),b(),E(),s.setup&&s.setup(),()=>S(s.Layout)}});async function j(){globalThis.__VITEPRESS__=!0;const e=_(),a=D();a.provide(c,e);const t=l(e.route);return a.provide(f,t),a.component("Content",d),a.component("ClientOnly",m),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),s.enhanceApp&&await s.enhanceApp({app:a,router:e,siteData:h}),{app:a,router:e,data:t}}function D(){return g(T)}function _(){let e=o,a;return A(t=>{let n=v(t),r=null;return n&&(e&&(a=n),(e||a===n)&&(n=n.replace(/\.js$/,".lean.js")),r=import(n)),o&&(e=!1),r},s.NotFound)}o&&j().then(({app:e,router:a,data:t})=>{a.go().then(()=>{u(a.route,t.site),e.mount("#app")})});export{j as createApp}; +import{R as p}from"./chunks/theme.BCyvVktI.js";import{R as o,a6 as u,a7 as c,a8 as l,a9 as f,aa as d,ab as m,ac as h,ad as g,ae as A,af as v,d as P,u as R,v as w,s as y,ag as C,ah as b,ai as E,aj as S}from"./chunks/framework.DzdlaPMj.js";function i(e){if(e.extends){const a=i(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const s=i(p),T=P({name:"VitePressApp",setup(){const{site:e,lang:a,dir:t}=R();return w(()=>{y(()=>{document.documentElement.lang=a.value,document.documentElement.dir=t.value})}),e.value.router.prefetchLinks&&C(),b(),E(),s.setup&&s.setup(),()=>S(s.Layout)}});async function j(){globalThis.__VITEPRESS__=!0;const e=_(),a=D();a.provide(c,e);const t=l(e.route);return a.provide(f,t),a.component("Content",d),a.component("ClientOnly",m),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),s.enhanceApp&&await s.enhanceApp({app:a,router:e,siteData:h}),{app:a,router:e,data:t}}function D(){return g(T)}function _(){let e=o,a;return A(t=>{let n=v(t),r=null;return n&&(e&&(a=n),(e||a===n)&&(n=n.replace(/\.js$/,".lean.js")),r=import(n)),o&&(e=!1),r},s.NotFound)}o&&j().then(({app:e,router:a,data:t})=>{a.go().then(()=>{u(a.route,t.site),e.mount("#app")})});export{j as createApp}; diff --git a/assets/chunks/VPLocalSearchBox.BW3N6tEc.js b/assets/chunks/VPLocalSearchBox.D8QlY0hJ.js similarity index 99% rename from assets/chunks/VPLocalSearchBox.BW3N6tEc.js rename to assets/chunks/VPLocalSearchBox.D8QlY0hJ.js index 66698a4..4aa65fc 100644 --- a/assets/chunks/VPLocalSearchBox.BW3N6tEc.js +++ b/assets/chunks/VPLocalSearchBox.D8QlY0hJ.js @@ -1,4 +1,4 @@ -var kt=Object.defineProperty;var Ft=(a,e,t)=>e in a?kt(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t;var Re=(a,e,t)=>Ft(a,typeof e!="symbol"?e+"":e,t);import{V as Ot,p as se,h as pe,am as Xe,an as Rt,ao as Ct,q as Ve,ap as Mt,d as At,D as be,aq as et,ar as Lt,as as Dt,s as zt,at as Pt,v as Ce,P as ue,O as ye,au as Vt,av as jt,W as $t,R as Bt,$ as Wt,o as G,b as Kt,j as S,a0 as Jt,k as D,a3 as Ut,aw as qt,ax as Gt,c as Y,n as tt,e as we,C as st,F as nt,a as de,t as he,ay as Ht,a2 as it,az as Qt,a9 as Yt,af as Zt,aA as Xt,_ as es}from"./framework.DzdlaPMj.js";import{u as ts,c as ss}from"./theme.BoXNYxtW.js";const ns={root:()=>Ot(()=>import("./@localSearchIndexroot.RONwFbCU.js"),[])};/*! +var kt=Object.defineProperty;var Ft=(a,e,t)=>e in a?kt(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t;var Re=(a,e,t)=>Ft(a,typeof e!="symbol"?e+"":e,t);import{V as Ot,p as se,h as pe,am as Xe,an as Rt,ao as Ct,q as Ve,ap as Mt,d as At,D as be,aq as et,ar as Lt,as as Dt,s as zt,at as Pt,v as Ce,P as ue,O as ye,au as Vt,av as jt,W as $t,R as Bt,$ as Wt,o as G,b as Kt,j as S,a0 as Jt,k as D,a3 as Ut,aw as qt,ax as Gt,c as Y,n as tt,e as we,C as st,F as nt,a as de,t as he,ay as Ht,a2 as it,az as Qt,a9 as Yt,af as Zt,aA as Xt,_ as es}from"./framework.DzdlaPMj.js";import{u as ts,c as ss}from"./theme.BCyvVktI.js";const ns={root:()=>Ot(()=>import("./@localSearchIndexroot.RONwFbCU.js"),[])};/*! * tabbable 6.2.0 * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE */var vt=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],Te=vt.join(","),mt=typeof Element>"u",ie=mt?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Ie=!mt&&Element.prototype.getRootNode?function(a){var e;return a==null||(e=a.getRootNode)===null||e===void 0?void 0:e.call(a)}:function(a){return a==null?void 0:a.ownerDocument},Ne=function a(e,t){var s;t===void 0&&(t=!0);var n=e==null||(s=e.getAttribute)===null||s===void 0?void 0:s.call(e,"inert"),r=n===""||n==="true",i=r||t&&e&&a(e.parentNode);return i},is=function(e){var t,s=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return s===""||s==="true"},gt=function(e,t,s){if(Ne(e))return[];var n=Array.prototype.slice.apply(e.querySelectorAll(Te));return t&&ie.call(e,Te)&&n.unshift(e),n=n.filter(s),n},bt=function a(e,t,s){for(var n=[],r=Array.from(e);r.length;){var i=r.shift();if(!Ne(i,!1))if(i.tagName==="SLOT"){var o=i.assignedElements(),l=o.length?o:i.children,c=a(l,!0,s);s.flatten?n.push.apply(n,c):n.push({scopeParent:i,candidates:c})}else{var h=ie.call(i,Te);h&&s.filter(i)&&(t||!e.includes(i))&&n.push(i);var m=i.shadowRoot||typeof s.getShadowRoot=="function"&&s.getShadowRoot(i),f=!Ne(m,!1)&&(!s.shadowRootFilter||s.shadowRootFilter(i));if(m&&f){var b=a(m===!0?i.children:m.children,!0,s);s.flatten?n.push.apply(n,b):n.push({scopeParent:i,candidates:b})}else r.unshift.apply(r,i.children)}}return n},yt=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},ne=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||is(e))&&!yt(e)?0:e.tabIndex},rs=function(e,t){var s=ne(e);return s<0&&t&&!yt(e)?0:s},as=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},wt=function(e){return e.tagName==="INPUT"},os=function(e){return wt(e)&&e.type==="hidden"},ls=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(s){return s.tagName==="SUMMARY"});return t},cs=function(e,t){for(var s=0;ssummary:first-of-type"),i=r?e.parentElement:e;if(ie.call(i,"details:not([open]) *"))return!0;if(!s||s==="full"||s==="legacy-full"){if(typeof n=="function"){for(var o=e;e;){var l=e.parentElement,c=Ie(e);if(l&&!l.shadowRoot&&n(l)===!0)return rt(e);e.assignedSlot?e=e.assignedSlot:!l&&c!==e.ownerDocument?e=c.host:e=l}e=o}if(fs(e))return!e.getClientRects().length;if(s!=="legacy-full")return!0}else if(s==="non-zero-area")return rt(e);return!1},vs=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var s=0;s=0)},gs=function a(e){var t=[],s=[];return e.forEach(function(n,r){var i=!!n.scopeParent,o=i?n.scopeParent:n,l=rs(o,i),c=i?a(n.candidates):o;l===0?i?t.push.apply(t,c):t.push(o):s.push({documentOrder:r,tabIndex:l,item:n,isScope:i,content:c})}),s.sort(as).reduce(function(n,r){return r.isScope?n.push.apply(n,r.content):n.push(r.content),n},[]).concat(t)},bs=function(e,t){t=t||{};var s;return t.getShadowRoot?s=bt([e],t.includeContainer,{filter:je.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:ms}):s=gt(e,t.includeContainer,je.bind(null,t)),gs(s)},ys=function(e,t){t=t||{};var s;return t.getShadowRoot?s=bt([e],t.includeContainer,{filter:ke.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):s=gt(e,t.includeContainer,ke.bind(null,t)),s},re=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return ie.call(e,Te)===!1?!1:je(t,e)},ws=vt.concat("iframe").join(","),Me=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return ie.call(e,ws)===!1?!1:ke(t,e)};/*! diff --git a/assets/chunks/autofocus-on-activation.CQ4EX6lt.js b/assets/chunks/autofocus-on-activation.CBWcV5Kg.js similarity index 92% rename from assets/chunks/autofocus-on-activation.CQ4EX6lt.js rename to assets/chunks/autofocus-on-activation.CBWcV5Kg.js index 58f7520..b77bd8b 100644 --- a/assets/chunks/autofocus-on-activation.CQ4EX6lt.js +++ b/assets/chunks/autofocus-on-activation.CBWcV5Kg.js @@ -1 +1 @@ -import{V as d}from"./index.CvKYGdcN.js";import{_ as n,p as v,ak as p,o,c as s,j as r,t as l,a3 as u}from"./framework.DzdlaPMj.js";const f={directives:{KbdTrap:d().directive},setup(){const e=v(!1);return{trapActive:e,toggleTrapActive:()=>{e.value=e.value!==!0}}}},_={class:"test"};function A(e,t,g,a,b,k){const i=p("kbd-trap");return o(),s("div",null,[r("button",{onClick:t[0]||(t[0]=(...c)=>a.toggleTrapActive&&a.toggleTrapActive(...c))},l(a.trapActive===!0?"Deactivate trap":"Activate trap"),1),u((o(),s("div",_,t[1]||(t[1]=[r("div",{class:"test",tabindex:"0"},"First",-1),r("div",{class:"test",tabindex:"0"},"Second",-1),r("div",{class:"test",tabindex:"0","data-autofocus":""},"Autofocus",-1)]))),[[i,a.trapActive,void 0,{autofocus:!0}]])])}const T=n(f,[["render",A],["__scopeId","data-v-6e744aaa"]]);export{T as default}; +import{V as d}from"./index.DKdczPIS.js";import{_ as n,p as v,ak as p,o,c as s,j as r,t as l,a3 as u}from"./framework.DzdlaPMj.js";const f={directives:{KbdTrap:d().directive},setup(){const e=v(!1);return{trapActive:e,toggleTrapActive:()=>{e.value=e.value!==!0}}}},_={class:"test"};function A(e,t,g,a,b,k){const i=p("kbd-trap");return o(),s("div",null,[r("button",{onClick:t[0]||(t[0]=(...c)=>a.toggleTrapActive&&a.toggleTrapActive(...c))},l(a.trapActive===!0?"Deactivate trap":"Activate trap"),1),u((o(),s("div",_,t[1]||(t[1]=[r("div",{class:"test",tabindex:"0"},"First",-1),r("div",{class:"test",tabindex:"0"},"Second",-1),r("div",{class:"test",tabindex:"0","data-autofocus":""},"Autofocus",-1)]))),[[i,a.trapActive,void 0,{autofocus:!0}]])])}const T=n(f,[["render",A],["__scopeId","data-v-6e744aaa"]]);export{T as default}; diff --git a/assets/chunks/autofocus-on-mount.BBDUIApR.js b/assets/chunks/autofocus-on-mount.DCTd3kcH.js similarity index 92% rename from assets/chunks/autofocus-on-mount.BBDUIApR.js rename to assets/chunks/autofocus-on-mount.DCTd3kcH.js index 1671a38..6118d92 100644 --- a/assets/chunks/autofocus-on-mount.BBDUIApR.js +++ b/assets/chunks/autofocus-on-mount.DCTd3kcH.js @@ -1 +1 @@ -import{V as c}from"./index.CvKYGdcN.js";import{_ as d,p as l,ak as u,o as n,c as a,j as s,t as v,a3 as f,e as p}from"./framework.DzdlaPMj.js";const _={directives:{KbdTrap:c().directive},setup(){const e=l(!1);return{showContent:e,toggleShowContent:()=>{e.value=e.value!==!0}}}},g={key:0,class:"test"};function w(e,t,C,o,b,m){const r=u("kbd-trap");return n(),a("div",null,[s("button",{onClick:t[0]||(t[0]=(...i)=>o.toggleShowContent&&o.toggleShowContent(...i))},v(o.showContent===!0?"Hide content":"Show content"),1),o.showContent?f((n(),a("div",g,t[1]||(t[1]=[s("div",{class:"test",tabindex:"0"},"First",-1),s("div",{class:"test",tabindex:"0"},"Second",-1),s("div",{class:"test",tabindex:"0","data-autofocus":""},"Autofocus",-1)]))),[[r,void 0,void 0,{autofocus:!0}]]):p("",!0)])}const S=d(_,[["render",w],["__scopeId","data-v-96dcef55"]]);export{S as default}; +import{V as c}from"./index.DKdczPIS.js";import{_ as d,p as l,ak as u,o as n,c as a,j as s,t as v,a3 as f,e as p}from"./framework.DzdlaPMj.js";const _={directives:{KbdTrap:c().directive},setup(){const e=l(!1);return{showContent:e,toggleShowContent:()=>{e.value=e.value!==!0}}}},g={key:0,class:"test"};function w(e,t,C,o,b,m){const r=u("kbd-trap");return n(),a("div",null,[s("button",{onClick:t[0]||(t[0]=(...i)=>o.toggleShowContent&&o.toggleShowContent(...i))},v(o.showContent===!0?"Hide content":"Show content"),1),o.showContent?f((n(),a("div",g,t[1]||(t[1]=[s("div",{class:"test",tabindex:"0"},"First",-1),s("div",{class:"test",tabindex:"0"},"Second",-1),s("div",{class:"test",tabindex:"0","data-autofocus":""},"Autofocus",-1)]))),[[r,void 0,void 0,{autofocus:!0}]]):p("",!0)])}const S=d(_,[["render",w],["__scopeId","data-v-96dcef55"]]);export{S as default}; diff --git a/assets/chunks/index.CvKYGdcN.js b/assets/chunks/index.DKdczPIS.js similarity index 66% rename from assets/chunks/index.CvKYGdcN.js rename to assets/chunks/index.DKdczPIS.js index 3b26d0e..471de4f 100644 --- a/assets/chunks/index.CvKYGdcN.js +++ b/assets/chunks/index.DKdczPIS.js @@ -1 +1 @@ -import{al as V}from"./framework.DzdlaPMj.js";function D(o){const r={name:"kbd-trap",focusableSelector:[":focus"].concat(["a[href]","area[href]","audio[controls]","video[controls]","iframe","[tabindex]:not(slot)",'[contenteditable]:not([contenteditable="false"])',"details > summary:first-of-type"].map(i=>`${i}:not([tabindex^="-"])`)).concat(['input:not([type="hidden"]):not(fieldset[disabled] input)',"select:not(fieldset[disabled] select)","textarea:not(fieldset[disabled] textarea)","button:not(fieldset[disabled] button)",'[class*="focusable"]'].map(i=>`${i}:not([disabled]):not([tabindex^="-"])`)).concat(['input:not([type="hidden"])',"select","textarea","button"].map(i=>`fieldset[disabled]:not(fieldset[disabled] fieldset) > legend ${i}:not([disabled]):not([tabindex^="-"])`)).join(","),rovingSkipSelector:['input:not([disabled]):not([type="button"]):not([type="checkbox"]):not([type="file"]):not([type="image"]):not([type="radio"]):not([type="reset"]):not([type="submit"])',"select:not([disabled])","select:not([disabled]) *","textarea:not([disabled])",'[contenteditable]:not([contenteditable="false"])','[contenteditable]:not([contenteditable="false"]) *'].join(","),gridSkipSelector:[":not([disabled])",':not([tabindex^="-"])'].join(""),autofocusSelector:['[autofocus]:not([autofocus="false"])','[data-autofocus]:not([data-autofocus="false"])'].map(i=>`${i}:not([disabled])`).join(","),trapTabIndex:-9999,...o},a=r.name.toLocaleLowerCase().split(/[^a-z0-9]+/).filter(i=>i.length>0).map(i=>`${i[0].toLocaleUpperCase()}${i.slice(1)}`).join("");if(r.datasetName===void 0&&(r.datasetName=`v${a}`),r.datasetNameActive=`${r.datasetName}Active`,r.datasetNamePreventRefocus=`${r.datasetName}PreventRefocus`,typeof window>"u")return r;const b=document.createElement("span");b.dataset[r.datasetName]="";const l=b.getAttributeNames()[0];return r.datasetNameSelector=`[${l}]`,r.datasetNameSelectorRovingHorizontal=`[${l}~="roving"][${l}~="horizontal"],[${l}~="roving"]:not([${l}~="vertical"])`,r.datasetNameSelectorRovingVertical=`[${l}~="roving"][${l}~="vertical"],[${l}~="roving"]:not([${l}~="horizontal"])`,r.datasetNameRow=`${r.datasetName}Row`,r.datasetNameRowSelector=i=>`:focus,[${l}-row~="${i}"]${r.gridSkipSelector},[${l}-row~="*"]${r.gridSkipSelector}`,r.datasetNameCol=`${r.datasetName}Col`,r.datasetNameColSelector=i=>`:focus,[${l}-col~="${i}"]${r.gridSkipSelector},[${l}-col~="*"]${r.gridSkipSelector}`,r}function U(){return!0}function j(o,r=!1){const{left:a,top:b}=o.getBoundingClientRect(),l=document.elementFromPoint(a,b);if(o.contains(l)===!0)return!0;if(r===!0||typeof o.scrollIntoView!="function")return l===null;const i=[];let e=o.parentElement;for(;e!==null;)i.push([e,e.scrollLeft,e.scrollTop]),e=e.parentElement;o.scrollIntoView();const w=j(o,!0);for(let v=i.length-1;v>=0;v-=1){const[t,s,n]=i[v];t.scrollLeft=s,t.scrollTop=n}return w}function x(o,r=U){return o===null||typeof o.focus!="function"||r(o)!==!0?!1:(o.focus(),o===document.activeElement)}const W=/(\d+)/;function I(o){const r=W.exec(o);return r===null?"":r[1]}function M(o,r){const a=(o&&o!==r&&o.parentElement||r).closest('[dir="rtl"],[dir="ltr"]');return a&&a.matches('[dir="rtl"]')}let p=null;function S(o,r){p!==o&&(o!==null&&(o.dataset[r.datasetNameActive]="",o.__vKbdTrapActiveClean=()=>{delete o.dataset[r.datasetNameActive],o.__vKbdTrapActiveClean=void 0}),p!==null&&typeof p.__vKbdTrapActiveClean=="function"&&p.__vKbdTrapActiveClean(),p=o)}function z(o){const r=(o||{}).__vKbdTrap;return r===Object(r)?r:null}function P(o,r,a,b){r===!0?(delete o.dataset[b.datasetName],o.tabIndex===b.trapTabIndex&&o.removeAttribute("tabindex")):(o.dataset[b.datasetName]=Object.keys(a.modifiers).filter(l=>a.modifiers[l]===!0).join(" "),o.tabIndex<0&&o.getAttribute("tabindex")===null&&o.matches("dialog")===!1&&o.matches("[popover]")===!1&&(o.tabIndex=b.trapTabIndex))}function H(o,r){const a=D(o),b=(e,{value:w,modifiers:v})=>{const t={disable:w===!1,modifiers:v,focusTarget:null,relatedFocusTarget:null,bind(){e.__vKbdTrap=t,e.addEventListener("keydown",t.trap),e.addEventListener("focusin",t.activate),e.addEventListener("focusout",t.deactivate),e.addEventListener("pointerdown",t.overwiteFocusTarget,{passive:!0}),t.disable===!1&&P(e,t.disable,t,a)},unbind(){delete e.__vKbdTrap,e.removeEventListener("keydown",t.trap),e.removeEventListener("focusin",t.activate),e.removeEventListener("focusout",t.deactivate),e.removeEventListener("pointerdown",t.overwiteFocusTarget),P(e,!0,t,a)},activate(s){if(t.disable===!0||s.__vKbdTrap===!0)return;s.__vKbdTrap=!0;const n=s.relatedTarget;p!==e&&(n===null||n.closest(a.datasetNameSelector)!==e)&&(S(e,a),t.relatedFocusTarget=n,(n===null||n.dataset[a.datasetNamePreventRefocus]===void 0||e.contains(n)===!1)&&requestAnimationFrame(()=>{t.refocus(t.modifiers.roving!==!0)}))},deactivate(s){if(t.disable===!0||s.__vKbdTrap===!0)return;s.__vKbdTrap=!0;const n=s.relatedTarget;p===e&&(n===null||n.closest(a.datasetNameSelector)!==e)&&(t.focusTarget=s.target,S(null,a))},trap(s){if(t.disable===!0||s.__vKbdTrap===!0)return;const{code:n,shiftKey:T}=s,{activeElement:g}=document;if(n==="Escape"){if(s.__vKbdTrap=!0,p===e){if(t.focusTarget=g,T===!0)s.preventDefault();else{if(t.modifiers.escexits===!0){S(e.parentElement===null?null:e.parentElement.closest(a.datasetNameSelector),a);const c=z(p);c!==null&&c.refocus();return}if(t.modifiers.escrefocus===!0&&x(t.relatedFocusTarget)===!0)return}const u=e.parentElement&&e.parentElement.closest(a.datasetNameSelector);S(u||null,a)}else S(e,a);return}if(p!==e)return;s.__vKbdTrap=!0;let f=0,h=u=>u,y=!1,N=!1;if(t.modifiers.roving===!0){const u=g.matches(a.rovingSkipSelector);if(n!=="Tab"&&u===!0)return;if(n==="Tab")u===!1&&t.modifiers.tabinside!==!0?(y=e.parentElement.closest(a.datasetNameSelector),y!==null&&(s.__vKbdTrap=void 0),T===!0?(f=1,h=(c,d)=>d):(f=-1,h=()=>0)):f=T===!0?-1:1;else if(n==="Home")f=1,h=(c,d)=>d;else if(n==="End")f=-1,h=()=>0;else if(e.parentElement!==null&&(t.modifiers.vertical===!0&&t.modifiers.horizontal!==!0&&(n==="ArrowLeft"||n==="ArrowRight")||t.modifiers.horizontal===!0&&t.modifiers.vertical!==!0&&(n==="ArrowUp"||n==="ArrowDown"))){const c=e.parentElement.closest(t.modifiers.vertical===!0?a.datasetNameSelectorRovingHorizontal:a.datasetNameSelectorRovingVertical);c!==null&&(y=c,s.__vKbdTrap=void 0,n===(M(g,e)===!0?"ArrowRight":"ArrowLeft")||n==="ArrowUp"?(f=1,h=(d,A)=>A):(f=-1,h=()=>0))}else(t.modifiers.vertical===!0||t.modifiers.horizontal!==!0)&&(n==="ArrowUp"?(f=-1,N="v"):n==="ArrowDown"&&(f=1,N="v")),(t.modifiers.vertical!==!0||t.modifiers.horizontal===!0)&&(n==="ArrowLeft"?(f=-1,N="h"):n==="ArrowRight"&&(f=1,N="h"),f!==0&&N==="h"&&M(g,e)===!0&&(f*=-1))}else n==="Tab"&&(f=T===!0?-1:1);if(f===0)return;y===!1?s.preventDefault():(t.focusTarget=g,t.focusTarget.dataset[a.datasetNamePreventRefocus]="",requestAnimationFrame(()=>{t.focusTarget&&delete t.focusTarget.dataset[a.datasetNamePreventRefocus]}));let m=[];if(N!==!1){let u;if(t.modifiers.grid===!0){const c=I(g.dataset[a.datasetNameRow]),d=I(g.dataset[a.datasetNameCol]),A=N==="v"?a.datasetNameColSelector(d):a.datasetNameRowSelector(c);m=Array.from(e.querySelectorAll(A)),u=new WeakMap(m.map(R=>{const _=I(R.dataset[a.datasetNameRow]),E=I(R.dataset[a.datasetNameCol]);let C;return N==="v"?(_!==c||E===d)&&(C=1e3*_+1*E):(E!==d||_===c)&&(C=1e3*E+1*_),[R,C]}))}else if(e.matches('[role="grid"]')===!0&&g.matches('[role="row"] [role="gridcell"]')){const c=Array.from(e.querySelectorAll('[role="row"]')),d=new WeakMap,A=c.map((F,q)=>{const k=Array.from(F.querySelectorAll('[role="gridcell"]'));return k.forEach((K,O)=>{d.set(K,[q+1,O+1])}),k}),R=g.closest('[role="row"]'),_=c.indexOf(R)+1,E=A[_-1].indexOf(g)+1,{focusableSelector:C}=a;m=Array.from(e.querySelectorAll(C)),u=new WeakMap(m.map(F=>{const[q,k]=d.get(F)||[null,null];let K;return N==="v"?k===E&&(K=1*q):q===_&&(K=1*k),[F,K]}))}u!==void 0&&(m=m.filter(c=>u.get(c)!==void 0),m.sort((c,d)=>u.get(c)-u.get(d)))}if(m.length===0){const{focusableSelector:u}=a;if(m=Array.from(e.querySelectorAll(u)),v.indexorder===!0){const c=new WeakMap(m.map(d=>[d,Math.max(d.tabIndex||0,0)]));m.sort((d,A)=>c.get(d)-c.get(A))}e.matches(u)&&m.unshift(e)}const L=m.length-1;let $=h(m.indexOf(g),L);for(let u=0;uL&&($=0),x(m[$])===!0){y!==!1&&S(y,a);return}},overwiteFocusTarget(s){t.disable===!1&&s.__vKbdTrap!==!0&&(s.__vKbdTrap=!0,t.focusTarget=s.target)},refocus(s){if(t.disable===!1&&p===e&&t.focusTarget){let n=t.focusTarget.closest(a.datasetNameSelector);for(;n&&n!==e;){const T=z(n);if(T!==null&&T.disable===!1&&T.focusTarget)return S(n,a),T.refocus(s!==void 0?T.modifiers.roving!==!0:void 0);n=n.parentElement&&n.parentElement.closest(a.datasetNameSelector)}return t.focusTarget.tabIndex===a.trapTabIndex||t.focusTarget.matches("dialog")===!0||t.focusTarget.matches("[popover]")===!0?t.modifiers.autofocus===!0&&x(e.querySelector(a.autofocusSelector))===!0||x(e.querySelector(a.focusableSelector))===!0||x(t.focusTarget)===!0:s===!0?!1:x(t.focusTarget)===!0||x(e.querySelector(a.focusableSelector))===!0}return!1},autofocus(){requestAnimationFrame(()=>{t.disable===!1&&x(e.querySelector(a.autofocusSelector),j)===!1&&x(e.querySelector(a.focusableSelector),j)})}};t.bind(),v.autofocus===!0&&t.autofocus()},l=(e,{value:w,modifiers:v})=>{const t=z(e);if(t!==null){const s=w===!1;t.modifiers=v,P(e,s,t,a),p===e&&(s===!0?S(null,a):e.dataset[a.datasetNameActive]=""),t.disable!==s&&(t.disable=s,v.autofocus===!0?t.autofocus():s===!1&&p!==e&&e.contains(document.activeElement)===!0&&S(e,a))}else r!==void 0?b(e,{value:w,modifiers:v}):p===e&&S(null,a)},i=e=>{const w=z(e);w!==null&&w.unbind(),p===e&&S(null,a)};return r!==void 0?r({name:a.name,directive:{beforeMount:b,updated:l,unmounted:i,getSSRProps(){}}}):{name:a.name,directive:{bind:b,update:l,unbind:i}}}const{markRaw:B,version:G}=V,J=G.indexOf("2.")===0?void 0:B,X=o=>H(o,J);export{X as V}; +import{al as V}from"./framework.DzdlaPMj.js";function D(o){const r={name:"kbd-trap",focusableSelector:[":focus"].concat(["a[href]","area[href]","audio[controls]","video[controls]","iframe","[tabindex]:not(slot)",'[contenteditable]:not([contenteditable="false"])',"details > summary:first-of-type"].map(i=>`${i}:not([tabindex^="-"])`)).concat(['input:not([type="hidden"]):not(fieldset[disabled] input)',"select:not(fieldset[disabled] select)","textarea:not(fieldset[disabled] textarea)","button:not(fieldset[disabled] button)",'[class*="focusable"]'].map(i=>`${i}:not([disabled]):not([tabindex^="-"])`)).concat(['input:not([type="hidden"])',"select","textarea","button"].map(i=>`fieldset[disabled]:not(fieldset[disabled] fieldset) > legend ${i}:not([disabled]):not([tabindex^="-"])`)).join(","),rovingSkipSelector:['input:not([disabled]):not([type="button"]):not([type="checkbox"]):not([type="file"]):not([type="image"]):not([type="radio"]):not([type="reset"]):not([type="submit"])',"select:not([disabled])","select:not([disabled]) *","textarea:not([disabled])",'[contenteditable]:not([contenteditable="false"])','[contenteditable]:not([contenteditable="false"]) *'].join(","),gridSkipSelector:[":not([disabled])",':not([tabindex^="-"])'].join(""),autofocusSelector:['[autofocus]:not([autofocus="false"])','[data-autofocus]:not([data-autofocus="false"])'].map(i=>`${i}:not([disabled])`).join(","),trapTabIndex:-9999,...o},a=r.name.toLocaleLowerCase().split(/[^a-z0-9]+/).filter(i=>i.length>0).map(i=>`${i[0].toLocaleUpperCase()}${i.slice(1)}`).join("");if(r.datasetName===void 0&&(r.datasetName=`v${a}`),r.datasetNameActive=`${r.datasetName}Active`,r.datasetNamePreventRefocus=`${r.datasetName}PreventRefocus`,typeof window>"u")return r;const b=document.createElement("span");b.dataset[r.datasetName]="";const l=b.getAttributeNames()[0];return r.datasetNameSelector=`[${l}]`,r.datasetNameSelectorRovingHorizontal=`[${l}~="roving"][${l}~="horizontal"],[${l}~="roving"]:not([${l}~="vertical"])`,r.datasetNameSelectorRovingVertical=`[${l}~="roving"][${l}~="vertical"],[${l}~="roving"]:not([${l}~="horizontal"])`,r.datasetNameRow=`${r.datasetName}Row`,r.datasetNameRowSelector=i=>`:focus,[${l}-row~="${i}"]${r.gridSkipSelector},[${l}-row~="*"]${r.gridSkipSelector}`,r.datasetNameCol=`${r.datasetName}Col`,r.datasetNameColSelector=i=>`:focus,[${l}-col~="${i}"]${r.gridSkipSelector},[${l}-col~="*"]${r.gridSkipSelector}`,r}function U(){return!0}function j(o,r=!1){const{left:a,top:b}=o.getBoundingClientRect(),l=document.elementFromPoint(a,b);if(o.contains(l)===!0)return!0;if(r===!0||typeof o.scrollIntoView!="function")return l===null;const i=[];let e=o.parentElement;for(;e!==null;)i.push([e,e.scrollLeft,e.scrollTop]),e=e.parentElement;o.scrollIntoView();const v=j(o,!0);for(let g=i.length-1;g>=0;g-=1){const[t,s,n]=i[g];t.scrollLeft=s,t.scrollTop=n}return v}function N(o,r=U){return o===null||typeof o.focus!="function"||r(o)!==!0?!1:(o.focus(),o===document.activeElement)}const W=/(\d+)/;function I(o){const r=W.exec(o);return r===null?"":r[1]}function M(o,r){const a=(o&&o!==r&&o.parentElement||r).closest('[dir="rtl"],[dir="ltr"]');return a&&a.matches('[dir="rtl"]')}let p=null;function T(o,r){p!==o&&(o!==null&&(o.dataset[r.datasetNameActive]="",o.__vKbdTrapActiveClean=()=>{delete o.dataset[r.datasetNameActive],o.__vKbdTrapActiveClean=void 0}),p!==null&&typeof p.__vKbdTrapActiveClean=="function"&&p.__vKbdTrapActiveClean(),p=o)}function z(o){const r=(o||{}).__vKbdTrap;return r===Object(r)?r:null}function P(o,r,a,b){r===!0?(delete o.dataset[b.datasetName],o.tabIndex===b.trapTabIndex&&o.removeAttribute("tabindex")):(o.dataset[b.datasetName]=Object.keys(a.modifiers).filter(l=>a.modifiers[l]===!0).join(" "),o.tabIndex<0&&o.getAttribute("tabindex")===null&&o.matches("dialog")===!1&&o.matches("[popover]")===!1&&(o.tabIndex=b.trapTabIndex))}function H(o,r){const a=D(o),b=(e,{value:v,modifiers:g})=>{const t={disable:v===!1,modifiers:g,focusTarget:null,relatedFocusTarget:null,bind(){e.__vKbdTrap=t,e.addEventListener("keydown",t.trap),e.addEventListener("focusin",t.activate),e.addEventListener("focusout",t.deactivate),e.addEventListener("pointerdown",t.overwiteFocusTarget,{passive:!0}),t.disable===!1&&P(e,t.disable,t,a)},unbind(){delete e.__vKbdTrap,e.removeEventListener("keydown",t.trap),e.removeEventListener("focusin",t.activate),e.removeEventListener("focusout",t.deactivate),e.removeEventListener("pointerdown",t.overwiteFocusTarget),P(e,!0,t,a)},activate(s){if(t.disable===!0||s.__vKbdTrap===!0)return;s.__vKbdTrap=!0;const n=s.relatedTarget;p!==e&&(n===null||n.closest(a.datasetNameSelector)!==e)&&(T(e,a),t.relatedFocusTarget=n,(n===null||n.dataset[a.datasetNamePreventRefocus]===void 0||e.contains(n)===!1)&&requestAnimationFrame(()=>{t.refocus(t.modifiers.roving!==!0)}))},deactivate(s){if(t.disable===!0||s.__vKbdTrap===!0)return;s.__vKbdTrap=!0;const n=s.relatedTarget;p===e&&(n===null||n.closest(a.datasetNameSelector)!==e)&&(t.focusTarget=s.target,T(null,a))},trap(s){if(t.disable===!0||s.__vKbdTrap===!0)return;const{code:n,shiftKey:w}=s,{activeElement:S}=document;if(n==="Escape"){if(s.__vKbdTrap=!0,p===e){if(t.focusTarget=S,w===!0)s.preventDefault();else{if(t.modifiers.escexits===!0){T(e.parentElement===null?null:e.parentElement.closest(a.datasetNameSelector),a);const c=z(p);c!==null&&c.refocus();return}if(t.modifiers.escrefocus===!0&&N(t.relatedFocusTarget)===!0)return}const u=e.parentElement&&e.parentElement.closest(a.datasetNameSelector);T(u||null,a)}else T(e,a);return}if(p!==e)return;s.__vKbdTrap=!0;let f=0,h=u=>u,y=!1,x=!1;if(t.modifiers.roving===!0){const u=S.matches(a.rovingSkipSelector);if(n!=="Tab"&&u===!0)return;if(n==="Tab")u===!1&&t.modifiers.tabinside!==!0?(y=e.parentElement.closest(a.datasetNameSelector),y!==null&&(s.__vKbdTrap=void 0),w===!0?(f=1,h=(c,d)=>d):(f=-1,h=()=>0)):f=w===!0?-1:1;else if(n==="Home")f=1,h=(c,d)=>d;else if(n==="End")f=-1,h=()=>0;else if(e.parentElement!==null&&(t.modifiers.vertical===!0&&t.modifiers.horizontal!==!0&&(n==="ArrowLeft"||n==="ArrowRight")||t.modifiers.horizontal===!0&&t.modifiers.vertical!==!0&&(n==="ArrowUp"||n==="ArrowDown"))){const c=e.parentElement.closest(t.modifiers.vertical===!0?a.datasetNameSelectorRovingHorizontal:a.datasetNameSelectorRovingVertical);c!==null&&(y=c,s.__vKbdTrap=void 0,n===(M(S,e)===!0?"ArrowRight":"ArrowLeft")||n==="ArrowUp"?(f=1,h=(d,A)=>A):(f=-1,h=()=>0))}else(t.modifiers.vertical===!0||t.modifiers.horizontal!==!0)&&(n==="ArrowUp"?(f=-1,x="v"):n==="ArrowDown"&&(f=1,x="v")),(t.modifiers.vertical!==!0||t.modifiers.horizontal===!0)&&(n==="ArrowLeft"?(f=-1,x="h"):n==="ArrowRight"&&(f=1,x="h"),f!==0&&x==="h"&&M(S,e)===!0&&(f*=-1))}else n==="Tab"&&(f=w===!0?-1:1);if(f===0)return;y===!1?s.preventDefault():(t.focusTarget=S,t.focusTarget.dataset[a.datasetNamePreventRefocus]="",requestAnimationFrame(()=>{t.focusTarget&&delete t.focusTarget.dataset[a.datasetNamePreventRefocus]}));let m=[];if(x!==!1){let u;if(t.modifiers.grid===!0){const c=I(S.dataset[a.datasetNameRow]),d=I(S.dataset[a.datasetNameCol]),A=x==="v"?a.datasetNameColSelector(d):a.datasetNameRowSelector(c);m=Array.from(e.querySelectorAll(A)),u=new WeakMap(m.map(R=>{const _=I(R.dataset[a.datasetNameRow]),E=I(R.dataset[a.datasetNameCol]);let C;return x==="v"?(_!==c||E===d)&&(C=1e3*_+1*E):(E!==d||_===c)&&(C=1e3*E+1*_),[R,C]}))}else if(e.matches('[role="grid"]')===!0&&S.matches('[role="row"] [role="gridcell"]')){const c=Array.from(e.querySelectorAll('[role="row"]')),d=new WeakMap,A=c.map((F,q)=>{const k=Array.from(F.querySelectorAll('[role="gridcell"]'));return k.forEach((K,O)=>{d.set(K,[q+1,O+1])}),k}),R=S.closest('[role="row"]'),_=c.indexOf(R)+1,E=A[_-1].indexOf(S)+1,{focusableSelector:C}=a;m=Array.from(e.querySelectorAll(C)),u=new WeakMap(m.map(F=>{const[q,k]=d.get(F)||[null,null];let K;return x==="v"?k===E&&(K=1*q):q===_&&(K=1*k),[F,K]}))}u!==void 0&&(m=m.filter(c=>u.get(c)!==void 0),m.sort((c,d)=>u.get(c)-u.get(d)))}if(m.length===0){const{focusableSelector:u}=a;if(m=Array.from(e.querySelectorAll(u)),g.indexorder===!0){const c=new WeakMap(m.map(d=>[d,Math.max(d.tabIndex||0,0)]));m.sort((d,A)=>c.get(d)-c.get(A))}e.matches(u)&&m.unshift(e)}const L=m.length-1;let $=h(m.indexOf(S),L);for(let u=0;uL&&($=0),N(m[$])===!0){y!==!1&&T(y,a);return}},overwiteFocusTarget(s){t.disable===!1&&s.__vKbdTrap!==!0&&(s.__vKbdTrap=!0,t.focusTarget=s.target)},refocus(s){if(t.disable===!1&&p===e&&t.focusTarget){let n=t.focusTarget.closest(a.datasetNameSelector);for(;n&&n!==e;){const w=z(n);if(w!==null&&w.disable===!1&&w.focusTarget)return T(n,a),w.refocus(s!==void 0?w.modifiers.roving!==!0:void 0);n=n.parentElement&&n.parentElement.closest(a.datasetNameSelector)}return t.focusTarget.tabIndex===a.trapTabIndex||t.focusTarget.matches("dialog")===!0||t.focusTarget.matches("[popover]")===!0?t.modifiers.autofocus===!0&&N(e.querySelector(a.autofocusSelector))===!0||N(e.querySelector(a.focusableSelector))===!0||N(t.focusTarget)===!0:s===!0?!1:N(t.focusTarget)===!0||N(e.querySelector(a.focusableSelector))===!0}return!1},autofocus(){requestAnimationFrame(()=>{t.disable===!1&&N(e.querySelector(a.autofocusSelector),j)===!1&&N(e.querySelector(a.focusableSelector),j)})}};t.bind(),g.autofocus===!0&&t.autofocus()},l=(e,{value:v,modifiers:g})=>{const t=z(e);if(t!==null){const s=v===!1;t.modifiers=g,P(e,s,t,a),p===e&&(s===!0?T(null,a):e.dataset[a.datasetNameActive]=""),t.disable!==s&&(t.disable=s,g.autofocus===!0?t.autofocus():s===!1&&p!==e&&e.contains(document.activeElement)===!0&&T(e,a))}else r!==void 0?b(e,{value:v,modifiers:g}):p===e&&T(null,a)},i=e=>{const v=z(e);v!==null&&v.unbind(),p===e&&(v.relatedFocusTarget&&N(v.relatedFocusTarget),T(null,a))};return r!==void 0?r({name:a.name,directive:{beforeMount:b,updated:l,unmounted:i,getSSRProps(){}}}):{name:a.name,directive:{bind:b,update:l,unbind:i}}}const{markRaw:B,version:G}=V,J=G.indexOf("2.")===0?void 0:B,X=o=>H(o,J);export{X as V}; diff --git a/assets/chunks/roving-grid.DI3VOdyh.js b/assets/chunks/roving-grid.DAiIvS-1.js similarity index 92% rename from assets/chunks/roving-grid.DI3VOdyh.js rename to assets/chunks/roving-grid.DAiIvS-1.js index bd25e4e..38e5bb9 100644 --- a/assets/chunks/roving-grid.DI3VOdyh.js +++ b/assets/chunks/roving-grid.DAiIvS-1.js @@ -1 +1 @@ -import{V as l}from"./index.CvKYGdcN.js";import{_ as p,ak as _,a3 as i,o as a,c as s,j as d,F as n,C as c,t as v}from"./framework.DzdlaPMj.js";const b={directives:{KbdTrap:l().directive}},u={class:"test"},k={class:"test"},f=["data-v-kbd-trap-row","data-v-kbd-trap-col","tabindex"];function m(x,r,$,g,y,w){const o=_("kbd-trap");return i((a(),s("div",u,[r[0]||(r[0]=d("div",{class:"test",tabindex:"0"},"Before",-1)),i((a(),s("div",k,[(a(),s(n,null,c(5,t=>d("div",{key:t,class:"row"},[(a(),s(n,null,c(5,e=>d("div",{key:t*100+e,class:"test col","data-v-kbd-trap-row":e===3?t:`${t} *`,"data-v-kbd-trap-col":t===3?e:`${e} *`,tabindex:t!==3&&e!==3?(t+e)%2===0?null:-1:0}," R:"+v(t+1)+"/C:"+v(e+1),9,f)),64))])),64))])),[[o,void 0,void 0,{roving:!0,grid:!0}]]),r[1]||(r[1]=d("div",{class:"test",tabindex:"0"},"After",-1))])),[[o]])}const F=p(b,[["render",m],["__scopeId","data-v-ad7e0d90"]]);export{F as default}; +import{V as l}from"./index.DKdczPIS.js";import{_ as p,ak as _,a3 as i,o as a,c as s,j as d,F as n,C as c,t as v}from"./framework.DzdlaPMj.js";const b={directives:{KbdTrap:l().directive}},u={class:"test"},k={class:"test"},f=["data-v-kbd-trap-row","data-v-kbd-trap-col","tabindex"];function m(x,r,$,g,y,w){const o=_("kbd-trap");return i((a(),s("div",u,[r[0]||(r[0]=d("div",{class:"test",tabindex:"0"},"Before",-1)),i((a(),s("div",k,[(a(),s(n,null,c(5,t=>d("div",{key:t,class:"row"},[(a(),s(n,null,c(5,e=>d("div",{key:t*100+e,class:"test col","data-v-kbd-trap-row":e===3?t:`${t} *`,"data-v-kbd-trap-col":t===3?e:`${e} *`,tabindex:t!==3&&e!==3?(t+e)%2===0?null:-1:0}," R:"+v(t+1)+"/C:"+v(e+1),9,f)),64))])),64))])),[[o,void 0,void 0,{roving:!0,grid:!0}]]),r[1]||(r[1]=d("div",{class:"test",tabindex:"0"},"After",-1))])),[[o]])}const F=p(b,[["render",m],["__scopeId","data-v-ad7e0d90"]]);export{F as default}; diff --git a/assets/chunks/roving-gridcell.CyPyOgH3.js b/assets/chunks/roving-gridcell.CTdAOTXO.js similarity index 96% rename from assets/chunks/roving-gridcell.CyPyOgH3.js rename to assets/chunks/roving-gridcell.CTdAOTXO.js index e749c27..66102e5 100644 --- a/assets/chunks/roving-gridcell.CyPyOgH3.js +++ b/assets/chunks/roving-gridcell.CTdAOTXO.js @@ -1 +1 @@ -import{V as u}from"./index.CvKYGdcN.js";import{_ as b,ak as h,a3 as i,o as a,c as l,j as e,F as s,C as n,t as c}from"./framework.DzdlaPMj.js";const p={directives:{KbdTrap:u().directive}},v={class:"test"},g={class:"test"},y={class:"calendar",role:"grid","aria-labelledby":"calendarheader"},_={role:"rowgroup"},m={scope:"row",role:"rowheader"};function w(f,r,k,x,T,F){const t=h("kbd-trap");return i((a(),l("div",v,[r[3]||(r[3]=e("div",{class:"test",tabindex:"0"},"Before",-1)),e("div",g,[i((a(),l("table",y,[r[1]||(r[1]=e("caption",{id:"calendarheader"},"April 2022",-1)),r[2]||(r[2]=e("thead",{role:"rowgroup"},[e("tr",{role:"row"},[e("th",{role:"columnheader","aria-label":"Week"},"Wk."),e("th",{role:"columnheader","aria-label":"Sunday"},"Su"),e("th",{role:"columnheader","aria-label":"Monday"},"Mo"),e("th",{role:"columnheader","aria-label":"Tuesday"},"Tu"),e("th",{role:"columnheader","aria-label":"Wednesday"},"We"),e("th",{role:"columnheader","aria-label":"Thursday"},"Th"),e("th",{role:"columnheader","aria-label":"Friday"},"Fr"),e("th",{role:"columnheader","aria-label":"Saturday"},"Sa")])],-1)),e("tbody",_,[r[0]||(r[0]=e("tr",{role:"row"},[e("th",{scope:"row",role:"rowheader"},"13"),e("td",{role:"gridcell",tabindex:"-1"},"27"),e("td",{role:"gridcell"},"28"),e("td",{role:"gridcell"},"29"),e("td",{role:"gridcell"},"30"),e("td",{role:"gridcell"},"31"),e("td",{role:"gridcell",tabindex:"0"},"1"),e("td",{role:"gridcell",tabindex:"0"},"2")],-1)),(a(),l(s,null,n(4,o=>e("tr",{key:o,role:"row"},[e("th",m,c(13+o),1),(a(),l(s,null,n(7,d=>e("td",{key:d,role:"gridcell",tabindex:"0"},c(2+(o-1)*7+d),1)),64))])),64))])])),[[t,void 0,void 0,{roving:!0}]])]),r[4]||(r[4]=e("div",{class:"test",tabindex:"0"},"After",-1))])),[[t]])}const D=b(p,[["render",w],["__scopeId","data-v-6304dae3"]]);export{D as default}; +import{V as u}from"./index.DKdczPIS.js";import{_ as b,ak as h,a3 as i,o as a,c as l,j as e,F as s,C as n,t as c}from"./framework.DzdlaPMj.js";const p={directives:{KbdTrap:u().directive}},v={class:"test"},g={class:"test"},y={class:"calendar",role:"grid","aria-labelledby":"calendarheader"},_={role:"rowgroup"},m={scope:"row",role:"rowheader"};function w(f,r,k,x,T,F){const t=h("kbd-trap");return i((a(),l("div",v,[r[3]||(r[3]=e("div",{class:"test",tabindex:"0"},"Before",-1)),e("div",g,[i((a(),l("table",y,[r[1]||(r[1]=e("caption",{id:"calendarheader"},"April 2022",-1)),r[2]||(r[2]=e("thead",{role:"rowgroup"},[e("tr",{role:"row"},[e("th",{role:"columnheader","aria-label":"Week"},"Wk."),e("th",{role:"columnheader","aria-label":"Sunday"},"Su"),e("th",{role:"columnheader","aria-label":"Monday"},"Mo"),e("th",{role:"columnheader","aria-label":"Tuesday"},"Tu"),e("th",{role:"columnheader","aria-label":"Wednesday"},"We"),e("th",{role:"columnheader","aria-label":"Thursday"},"Th"),e("th",{role:"columnheader","aria-label":"Friday"},"Fr"),e("th",{role:"columnheader","aria-label":"Saturday"},"Sa")])],-1)),e("tbody",_,[r[0]||(r[0]=e("tr",{role:"row"},[e("th",{scope:"row",role:"rowheader"},"13"),e("td",{role:"gridcell",tabindex:"-1"},"27"),e("td",{role:"gridcell"},"28"),e("td",{role:"gridcell"},"29"),e("td",{role:"gridcell"},"30"),e("td",{role:"gridcell"},"31"),e("td",{role:"gridcell",tabindex:"0"},"1"),e("td",{role:"gridcell",tabindex:"0"},"2")],-1)),(a(),l(s,null,n(4,o=>e("tr",{key:o,role:"row"},[e("th",m,c(13+o),1),(a(),l(s,null,n(7,d=>e("td",{key:d,role:"gridcell",tabindex:"0"},c(2+(o-1)*7+d),1)),64))])),64))])])),[[t,void 0,void 0,{roving:!0}]])]),r[4]||(r[4]=e("div",{class:"test",tabindex:"0"},"After",-1))])),[[t]])}const D=b(p,[["render",w],["__scopeId","data-v-6304dae3"]]);export{D as default}; diff --git a/assets/chunks/roving-nested.7vZYhyNO.js b/assets/chunks/roving-nested.C5MlsWyg.js similarity index 93% rename from assets/chunks/roving-nested.7vZYhyNO.js rename to assets/chunks/roving-nested.C5MlsWyg.js index 14f7242..b9abe92 100644 --- a/assets/chunks/roving-nested.7vZYhyNO.js +++ b/assets/chunks/roving-nested.C5MlsWyg.js @@ -1 +1 @@ -import{V as v}from"./index.CvKYGdcN.js";import{_ as l,ak as p,a3 as a,o as e,c as s,j as r,F as d,C as n,t as c}from"./framework.DzdlaPMj.js";const u={directives:{KbdTrap:v().directive}},_={class:"test"},b={class:"test"},f={class:"test row"};function k(x,o,m,y,g,B){const i=p("kbd-trap");return a((e(),s("div",_,[o[0]||(o[0]=r("div",{class:"test",tabindex:"0"},"Before",-1)),a((e(),s("div",b,[(e(),s(d,null,n(2,t=>r("div",{class:"test",key:t,tabindex:"0"}," Group 1 / "+c(t),1)),64)),a((e(),s("div",f,[(e(),s(d,null,n(3,t=>r("div",{class:"test col",key:t,tabindex:"0"}," Group 2 / "+c(t),1)),64))])),[[i,void 0,void 0,{roving:!0,horizontal:!0}]]),(e(),s(d,null,n(2,t=>r("div",{class:"test",key:t,tabindex:"0"}," Group 1 / "+c(t+2),1)),64))])),[[i,void 0,void 0,{roving:!0,vertical:!0}]]),o[1]||(o[1]=r("div",{class:"test",tabindex:"0"},"After",-1))])),[[i]])}const F=l(u,[["render",k],["__scopeId","data-v-4286b03f"]]);export{F as default}; +import{V as v}from"./index.DKdczPIS.js";import{_ as l,ak as p,a3 as a,o as e,c as s,j as r,F as d,C as n,t as c}from"./framework.DzdlaPMj.js";const u={directives:{KbdTrap:v().directive}},_={class:"test"},b={class:"test"},f={class:"test row"};function k(x,o,m,y,g,B){const i=p("kbd-trap");return a((e(),s("div",_,[o[0]||(o[0]=r("div",{class:"test",tabindex:"0"},"Before",-1)),a((e(),s("div",b,[(e(),s(d,null,n(2,t=>r("div",{class:"test",key:t,tabindex:"0"}," Group 1 / "+c(t),1)),64)),a((e(),s("div",f,[(e(),s(d,null,n(3,t=>r("div",{class:"test col",key:t,tabindex:"0"}," Group 2 / "+c(t),1)),64))])),[[i,void 0,void 0,{roving:!0,horizontal:!0}]]),(e(),s(d,null,n(2,t=>r("div",{class:"test",key:t,tabindex:"0"}," Group 1 / "+c(t+2),1)),64))])),[[i,void 0,void 0,{roving:!0,vertical:!0}]]),o[1]||(o[1]=r("div",{class:"test",tabindex:"0"},"After",-1))])),[[i]])}const F=l(u,[["render",k],["__scopeId","data-v-4286b03f"]]);export{F as default}; diff --git a/assets/chunks/roving-rtl.DZlhYBiA.js b/assets/chunks/roving-rtl.CMZkkIFW.js similarity index 95% rename from assets/chunks/roving-rtl.DZlhYBiA.js rename to assets/chunks/roving-rtl.CMZkkIFW.js index 93e4f31..260adb7 100644 --- a/assets/chunks/roving-rtl.DZlhYBiA.js +++ b/assets/chunks/roving-rtl.CMZkkIFW.js @@ -1 +1 @@ -import{V as v}from"./index.CvKYGdcN.js";import{_ as c,p as u,ak as g,o,c as i,j as s,t as a,a3 as d}from"./framework.DzdlaPMj.js";const b={directives:{KbdTrap:v().directive},setup(){const r=u(!1);return{rtl:r,toggleRtl:()=>{r.value=r.value!==!0}}}},R=["dir"],p={class:"test row",dir:"rtl"},x={class:"test row",dir:"ltr"},T={class:"test row"};function _(r,t,f,e,w,L){const l=g("kbd-trap");return o(),i("div",null,[s("button",{onClick:t[0]||(t[0]=(...n)=>e.toggleRtl&&e.toggleRtl(...n))},a(e.rtl===!0?"RTL - switch to LTR":"LTR - switch to RTL"),1),d((o(),i("div",{class:"test",dir:e.rtl===!0?"rtl":"ltr"},[d((o(),i("div",p,t[1]||(t[1]=[s("legend",null,"RTL Always",-1),s("div",{class:"test col",tabindex:"0"},"1",-1),s("div",{class:"test col",tabindex:"0"},"2",-1),s("div",{class:"test col",tabindex:"0"},"3",-1)]))),[[l,void 0,void 0,{roving:!0,horizontal:!0}]]),d((o(),i("div",x,t[2]||(t[2]=[s("legend",null,"LTR Always",-1),s("div",{class:"test col",tabindex:"0"},"1",-1),s("div",{class:"test col",tabindex:"0"},"2",-1),s("div",{class:"test col",tabindex:"0"},"3",-1)]))),[[l,void 0,void 0,{roving:!0,horizontal:!0}]]),d((o(),i("div",T,[s("legend",null,a(e.rtl===!0?"RTL":"LTR"),1),t[3]||(t[3]=s("div",{class:"test col",tabindex:"0"},"1",-1)),t[4]||(t[4]=s("div",{class:"test col",tabindex:"0"},"2",-1)),t[5]||(t[5]=s("div",{class:"test col",tabindex:"0"},"3",-1))])),[[l,void 0,void 0,{roving:!0,horizontal:!0}]])],8,R)),[[l,void 0,void 0,{roving:!0,vertical:!0}]])])}const y=c(b,[["render",_],["__scopeId","data-v-abd55470"]]);export{y as default}; +import{V as v}from"./index.DKdczPIS.js";import{_ as c,p as u,ak as g,o,c as i,j as s,t as a,a3 as d}from"./framework.DzdlaPMj.js";const b={directives:{KbdTrap:v().directive},setup(){const r=u(!1);return{rtl:r,toggleRtl:()=>{r.value=r.value!==!0}}}},R=["dir"],p={class:"test row",dir:"rtl"},x={class:"test row",dir:"ltr"},T={class:"test row"};function _(r,t,f,e,w,L){const l=g("kbd-trap");return o(),i("div",null,[s("button",{onClick:t[0]||(t[0]=(...n)=>e.toggleRtl&&e.toggleRtl(...n))},a(e.rtl===!0?"RTL - switch to LTR":"LTR - switch to RTL"),1),d((o(),i("div",{class:"test",dir:e.rtl===!0?"rtl":"ltr"},[d((o(),i("div",p,t[1]||(t[1]=[s("legend",null,"RTL Always",-1),s("div",{class:"test col",tabindex:"0"},"1",-1),s("div",{class:"test col",tabindex:"0"},"2",-1),s("div",{class:"test col",tabindex:"0"},"3",-1)]))),[[l,void 0,void 0,{roving:!0,horizontal:!0}]]),d((o(),i("div",x,t[2]||(t[2]=[s("legend",null,"LTR Always",-1),s("div",{class:"test col",tabindex:"0"},"1",-1),s("div",{class:"test col",tabindex:"0"},"2",-1),s("div",{class:"test col",tabindex:"0"},"3",-1)]))),[[l,void 0,void 0,{roving:!0,horizontal:!0}]]),d((o(),i("div",T,[s("legend",null,a(e.rtl===!0?"RTL":"LTR"),1),t[3]||(t[3]=s("div",{class:"test col",tabindex:"0"},"1",-1)),t[4]||(t[4]=s("div",{class:"test col",tabindex:"0"},"2",-1)),t[5]||(t[5]=s("div",{class:"test col",tabindex:"0"},"3",-1))])),[[l,void 0,void 0,{roving:!0,horizontal:!0}]])],8,R)),[[l,void 0,void 0,{roving:!0,vertical:!0}]])])}const y=c(b,[["render",_],["__scopeId","data-v-abd55470"]]);export{y as default}; diff --git a/assets/chunks/roving-simple.D8cDuv3n.js b/assets/chunks/roving-simple.DAjW2hE1.js similarity index 92% rename from assets/chunks/roving-simple.D8cDuv3n.js rename to assets/chunks/roving-simple.DAjW2hE1.js index 17695a2..716531c 100644 --- a/assets/chunks/roving-simple.D8cDuv3n.js +++ b/assets/chunks/roving-simple.DAjW2hE1.js @@ -1 +1 @@ -import{V as v}from"./index.CvKYGdcN.js";import{_ as l,ak as p,a3 as a,o as e,c as s,j as i,F as d,C as n,t as c}from"./framework.DzdlaPMj.js";const _={directives:{KbdTrap:v().directive}},u={class:"test"},f={class:"test"},b={class:"test row"};function m(k,r,x,g,y,B){const o=p("kbd-trap");return a((e(),s("div",u,[r[0]||(r[0]=i("div",{class:"test",tabindex:"0"},"Before",-1)),a((e(),s("div",f,[(e(),s(d,null,n(3,t=>i("div",{class:"test",key:t,tabindex:"0"}," Group 1 / "+c(t),1)),64))])),[[o,void 0,void 0,{roving:!0}]]),a((e(),s("div",b,[(e(),s(d,null,n(3,t=>i("div",{class:"test col",key:t,tabindex:"0"}," Group 2 / "+c(t),1)),64))])),[[o,void 0,void 0,{roving:!0}]]),r[1]||(r[1]=i("div",{class:"test",tabindex:"0"},"After",-1))])),[[o]])}const F=l(_,[["render",m],["__scopeId","data-v-023672d4"]]);export{F as default}; +import{V as v}from"./index.DKdczPIS.js";import{_ as l,ak as p,a3 as a,o as e,c as s,j as i,F as d,C as n,t as c}from"./framework.DzdlaPMj.js";const _={directives:{KbdTrap:v().directive}},u={class:"test"},f={class:"test"},b={class:"test row"};function m(k,r,x,g,y,B){const o=p("kbd-trap");return a((e(),s("div",u,[r[0]||(r[0]=i("div",{class:"test",tabindex:"0"},"Before",-1)),a((e(),s("div",f,[(e(),s(d,null,n(3,t=>i("div",{class:"test",key:t,tabindex:"0"}," Group 1 / "+c(t),1)),64))])),[[o,void 0,void 0,{roving:!0}]]),a((e(),s("div",b,[(e(),s(d,null,n(3,t=>i("div",{class:"test col",key:t,tabindex:"0"}," Group 2 / "+c(t),1)),64))])),[[o,void 0,void 0,{roving:!0}]]),r[1]||(r[1]=i("div",{class:"test",tabindex:"0"},"After",-1))])),[[o]])}const F=l(_,[["render",m],["__scopeId","data-v-023672d4"]]);export{F as default}; diff --git a/assets/chunks/theme.BoXNYxtW.js b/assets/chunks/theme.BCyvVktI.js similarity index 97% rename from assets/chunks/theme.BoXNYxtW.js rename to assets/chunks/theme.BCyvVktI.js index 60f893e..ccc901f 100644 --- a/assets/chunks/theme.BoXNYxtW.js +++ b/assets/chunks/theme.BCyvVktI.js @@ -1,5 +1,5 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/VPLocalSearchBox.BW3N6tEc.js","assets/chunks/framework.DzdlaPMj.js","assets/chunks/autofocus-on-activation.CQ4EX6lt.js","assets/chunks/index.CvKYGdcN.js","assets/chunks/autofocus-on-mount.BBDUIApR.js","assets/chunks/roving-grid.DI3VOdyh.js","assets/chunks/roving-gridcell.CyPyOgH3.js","assets/chunks/roving-nested.7vZYhyNO.js","assets/chunks/roving-rtl.DZlhYBiA.js","assets/chunks/roving-simple.D8cDuv3n.js","assets/chunks/trap-escexits.B82GvAJ0.js","assets/chunks/trap-escrefocus.BLjhNL5J.js","assets/chunks/trap-rtl.nNPp_wo8.js","assets/chunks/trap-simple.JYrTMZl2.js"])))=>i.map(i=>d[i]); -import{d as k,o as a,c as u,r as c,a as R,t as A,n as N,b,w as f,e as _,T as pe,_ as y,u as Fe,i as Re,f as je,g as ve,h as V,j as v,k as i,l as q,m as ie,p as E,q as j,s as Q,v as K,x as fe,y as me,z as Ue,A as Ge,B as z,F as w,C as B,D as Se,E as x,G as $,H as O,I as Te,J as Z,K as F,L as ee,M as ze,N as Ee,O as le,P as Ie,Q as Ae,R as te,S as qe,U as Ke,V as C,W as Ne,X as Me,Y as We,Z as Je,$ as Ye,a0 as Xe,a1 as Qe,a2 as xe,a3 as ye,a4 as Pe}from"./framework.DzdlaPMj.js";const Ze=k({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(s){return(e,t)=>(a(),u("span",{class:N(["VPBadge",e.type])},[c(e.$slots,"default",{},()=>[R(A(e.text),1)])],2))}}),et={key:0,class:"VPBackdrop"},tt=k({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(s){return(e,t)=>(a(),b(pe,{name:"fade"},{default:f(()=>[e.show?(a(),u("div",et)):_("",!0)]),_:1}))}}),nt=y(tt,[["__scopeId","data-v-b43ee955"]]),T=Fe;function ot(s,e){let t,o=!1;return()=>{t&&clearTimeout(t),o?t=setTimeout(s,e):(s(),(o=!0)&&setTimeout(()=>o=!1,e))}}function ce(s){return/^\//.test(s)?s:`/${s}`}function _e(s){const{pathname:e,search:t,hash:o,protocol:n}=new URL(s,"http://a.com");if(Re(s)||s.startsWith("#")||!n.startsWith("http")||!je(e))return s;const{site:r}=T(),l=e.endsWith("/")||e.endsWith(".html")?s:s.replace(/(?:(^\.+)\/)?.*$/,`$1${e.replace(/(\.md)?$/,r.value.cleanUrls?"":".html")}${t}${o}`);return ve(l)}function J({correspondingLink:s=!1}={}){const{site:e,localeIndex:t,page:o,theme:n,hash:r}=T(),l=V(()=>{var d,h;return{label:(d=e.value.locales[t.value])==null?void 0:d.label,link:((h=e.value.locales[t.value])==null?void 0:h.link)||(t.value==="root"?"/":`/${t.value}/`)}});return{localeLinks:V(()=>Object.entries(e.value.locales).flatMap(([d,h])=>l.value.label===h.label?[]:{text:h.label,link:st(h.link||(d==="root"?"/":`/${d}/`),n.value.i18nRouting!==!1&&s,o.value.relativePath.slice(l.value.link.length-1),!e.value.cleanUrls)+r.value})),currentLang:l}}function st(s,e,t,o){return e?s.replace(/\/$/,"")+ce(t.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,o?".html":"")):s}const at={class:"NotFound"},rt={class:"code"},it={class:"title"},lt={class:"quote"},ct={class:"action"},ut=["href","aria-label"],dt=k({__name:"NotFound",setup(s){const{theme:e}=T(),{currentLang:t}=J();return(o,n)=>{var r,l,p,d,h;return a(),u("div",at,[v("p",rt,A(((r=i(e).notFound)==null?void 0:r.code)??"404"),1),v("h1",it,A(((l=i(e).notFound)==null?void 0:l.title)??"PAGE NOT FOUND"),1),n[0]||(n[0]=v("div",{class:"divider"},null,-1)),v("blockquote",lt,A(((p=i(e).notFound)==null?void 0:p.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),v("div",ct,[v("a",{class:"link",href:i(ve)(i(t).link),"aria-label":((d=i(e).notFound)==null?void 0:d.linkLabel)??"go to home"},A(((h=i(e).notFound)==null?void 0:h.linkText)??"Take me home"),9,ut)])])}}}),pt=y(dt,[["__scopeId","data-v-cfa99a8c"]]);function we(s,e){if(Array.isArray(s))return Y(s);if(s==null)return[];e=ce(e);const t=Object.keys(s).sort((n,r)=>r.split("/").length-n.split("/").length).find(n=>e.startsWith(ce(n))),o=t?s[t]:[];return Array.isArray(o)?Y(o):Y(o.items,o.base)}function vt(s){const e=[];let t=0;for(const o in s){const n=s[o];if(n.items){t=e.push(n);continue}e[t]||e.push({items:[]}),e[t].items.push(n)}return e}function ft(s){const e=[];function t(o){for(const n of o)n.text&&n.link&&e.push({text:n.text,link:n.link,docFooterText:n.docFooterText}),n.items&&t(n.items)}return t(s),e}function ue(s,e){return Array.isArray(e)?e.some(t=>ue(s,t)):q(s,e.link)?!0:e.items?ue(s,e.items):!1}function Y(s,e){return[...s].map(t=>{const o={...t},n=o.base||e;return n&&o.link&&(o.link=n+o.link),o.items&&(o.items=Y(o.items,n)),o})}function U(){const{frontmatter:s,page:e,theme:t}=T(),o=ie("(min-width: 960px)"),n=E(!1),r=V(()=>{const M=t.value.sidebar,S=e.value.relativePath;return M?we(M,S):[]}),l=E(r.value);j(r,(M,S)=>{JSON.stringify(M)!==JSON.stringify(S)&&(l.value=r.value)});const p=V(()=>s.value.sidebar!==!1&&l.value.length>0&&s.value.layout!=="home"),d=V(()=>h?s.value.aside==null?t.value.aside==="left":s.value.aside==="left":!1),h=V(()=>s.value.layout==="home"?!1:s.value.aside!=null?!!s.value.aside:t.value.aside!==!1),P=V(()=>p.value&&o.value),m=V(()=>p.value?vt(l.value):[]);function L(){n.value=!0}function I(){n.value=!1}function g(){n.value?I():L()}return{isOpen:n,sidebar:l,sidebarGroups:m,hasSidebar:p,hasAside:h,leftAside:d,isSidebarEnabled:P,open:L,close:I,toggle:g}}function mt(s,e){let t;Q(()=>{t=s.value?document.activeElement:void 0}),K(()=>{window.addEventListener("keyup",o)}),fe(()=>{window.removeEventListener("keyup",o)});function o(n){n.key==="Escape"&&s.value&&(e(),t==null||t.focus())}}function _t(s){const{page:e,hash:t}=T(),o=E(!1),n=V(()=>s.value.collapsed!=null),r=V(()=>!!s.value.link),l=E(!1),p=()=>{l.value=q(e.value.relativePath,s.value.link)};j([e,s,t],p),K(p);const d=V(()=>l.value?!0:s.value.items?ue(e.value.relativePath,s.value.items):!1),h=V(()=>!!(s.value.items&&s.value.items.length));Q(()=>{o.value=!!(n.value&&s.value.collapsed)}),me(()=>{(l.value||d.value)&&(o.value=!1)});function P(){n.value&&(o.value=!o.value)}return{collapsed:o,collapsible:n,isLink:r,isActiveLink:l,hasActiveLink:d,hasChildren:h,toggle:P}}function ht(){const{hasSidebar:s}=U(),e=ie("(min-width: 960px)"),t=ie("(min-width: 1280px)");return{isAsideEnabled:V(()=>!t.value&&!e.value?!1:s.value?t.value:e.value)}}const de=[];function Ce(s){return typeof s.outline=="object"&&!Array.isArray(s.outline)&&s.outline.label||s.outlineTitle||"On this page"}function he(s){const e=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(t=>t.id&&t.hasChildNodes()).map(t=>{const o=Number(t.tagName[1]);return{element:t,title:gt(t),link:"#"+t.id,level:o}});return kt(e,s)}function gt(s){let e="";for(const t of s.childNodes)if(t.nodeType===1){if(t.classList.contains("VPBadge")||t.classList.contains("header-anchor")||t.classList.contains("ignore-header"))continue;e+=t.textContent}else t.nodeType===3&&(e+=t.textContent);return e.trim()}function kt(s,e){if(e===!1)return[];const t=(typeof e=="object"&&!Array.isArray(e)?e.level:e)||2,[o,n]=typeof t=="number"?[t,t]:t==="deep"?[2,6]:t;s=s.filter(l=>l.level>=o&&l.level<=n),de.length=0;for(const{element:l,link:p}of s)de.push({element:l,link:p});const r=[];e:for(let l=0;l=0;d--){const h=s[d];if(h.level{requestAnimationFrame(r),window.addEventListener("scroll",o)}),Ue(()=>{l(location.hash)}),fe(()=>{window.removeEventListener("scroll",o)});function r(){if(!t.value)return;const p=window.scrollY,d=window.innerHeight,h=document.body.offsetHeight,P=Math.abs(p+d-h)<1,m=de.map(({element:I,link:g})=>({link:g,top:$t(I)})).filter(({top:I})=>!Number.isNaN(I)).sort((I,g)=>I.top-g.top);if(!m.length){l(null);return}if(p<1){l(null);return}if(P){l(m[m.length-1].link);return}let L=null;for(const{link:I,top:g}of m){if(g>p+Ge()+4)break;L=I}l(L)}function l(p){n&&n.classList.remove("active"),p==null?n=null:n=s.value.querySelector(`a[href="${decodeURIComponent(p)}"]`);const d=n;d?(d.classList.add("active"),e.value.style.top=d.offsetTop+39+"px",e.value.style.opacity="1"):(e.value.style.top="33px",e.value.style.opacity="0")}}function $t(s){let e=0;for(;s!==document.body;){if(s===null)return NaN;e+=s.offsetTop,s=s.offsetParent}return e}const yt=["href","title"],Pt=k({__name:"VPDocOutlineItem",props:{headers:{},root:{type:Boolean}},setup(s){function e({target:t}){const o=t.href.split("#")[1],n=document.getElementById(decodeURIComponent(o));n==null||n.focus({preventScroll:!0})}return(t,o)=>{const n=z("VPDocOutlineItem",!0);return a(),u("ul",{class:N(["VPDocOutlineItem",t.root?"root":"nested"])},[(a(!0),u(w,null,B(t.headers,({children:r,link:l,title:p})=>(a(),u("li",null,[v("a",{class:"outline-link",href:l,onClick:e,title:p},A(p),9,yt),r!=null&&r.length?(a(),b(n,{key:0,headers:r},null,8,["headers"])):_("",!0)]))),256))],2)}}}),Be=y(Pt,[["__scopeId","data-v-076efddb"]]),Lt={class:"content"},Vt={"aria-level":"2",class:"outline-title",id:"doc-outline-aria-label",role:"heading"},St=k({__name:"VPDocAsideOutline",setup(s){const{frontmatter:e,theme:t}=T(),o=Se([]);x(()=>{o.value=he(e.value.outline??t.value.outline)});const n=E(),r=E();return bt(n,r),(l,p)=>(a(),u("nav",{"aria-labelledby":"doc-outline-aria-label",class:N(["VPDocAsideOutline",{"has-outline":o.value.length>0}]),ref_key:"container",ref:n},[v("div",Lt,[v("div",{class:"outline-marker",ref_key:"marker",ref:r},null,512),v("div",Vt,A(i(Ce)(i(t))),1),$(Be,{headers:o.value,root:!0},null,8,["headers"])])],2))}}),Tt=y(St,[["__scopeId","data-v-851a00ba"]]),Et={class:"VPDocAsideCarbonAds"},It=k({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(s){const e=()=>null;return(t,o)=>(a(),u("div",Et,[$(i(e),{"carbon-ads":t.carbonAds},null,8,["carbon-ads"])]))}}),At={class:"VPDocAside"},Nt=k({__name:"VPDocAside",setup(s){const{theme:e}=T();return(t,o)=>(a(),u("div",At,[c(t.$slots,"aside-top",{},void 0,!0),c(t.$slots,"aside-outline-before",{},void 0,!0),$(Tt),c(t.$slots,"aside-outline-after",{},void 0,!0),o[0]||(o[0]=v("div",{class:"spacer"},null,-1)),c(t.$slots,"aside-ads-before",{},void 0,!0),i(e).carbonAds?(a(),b(It,{key:0,"carbon-ads":i(e).carbonAds},null,8,["carbon-ads"])):_("",!0),c(t.$slots,"aside-ads-after",{},void 0,!0),c(t.$slots,"aside-bottom",{},void 0,!0)]))}}),Mt=y(Nt,[["__scopeId","data-v-c4239d74"]]);function wt(){const{theme:s,page:e}=T();return V(()=>{const{text:t="Edit this page",pattern:o=""}=s.value.editLink||{};let n;return typeof o=="function"?n=o(e.value):n=o.replace(/:path/g,e.value.filePath),{url:n,text:t}})}function Ct(){const{page:s,theme:e,frontmatter:t}=T();return V(()=>{var h,P,m,L,I,g,M,S;const o=we(e.value.sidebar,s.value.relativePath),n=ft(o),r=Bt(n,H=>H.link.replace(/[?#].*$/,"")),l=r.findIndex(H=>q(s.value.relativePath,H.link)),p=((h=e.value.docFooter)==null?void 0:h.prev)===!1&&!t.value.prev||t.value.prev===!1,d=((P=e.value.docFooter)==null?void 0:P.next)===!1&&!t.value.next||t.value.next===!1;return{prev:p?void 0:{text:(typeof t.value.prev=="string"?t.value.prev:typeof t.value.prev=="object"?t.value.prev.text:void 0)??((m=r[l-1])==null?void 0:m.docFooterText)??((L=r[l-1])==null?void 0:L.text),link:(typeof t.value.prev=="object"?t.value.prev.link:void 0)??((I=r[l-1])==null?void 0:I.link)},next:d?void 0:{text:(typeof t.value.next=="string"?t.value.next:typeof t.value.next=="object"?t.value.next.text:void 0)??((g=r[l+1])==null?void 0:g.docFooterText)??((M=r[l+1])==null?void 0:M.text),link:(typeof t.value.next=="object"?t.value.next.link:void 0)??((S=r[l+1])==null?void 0:S.link)}}})}function Bt(s,e){const t=new Set;return s.filter(o=>{const n=e(o);return t.has(n)?!1:t.add(n)})}const D=k({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(s){const e=s,t=V(()=>e.tag??(e.href?"a":"span")),o=V(()=>e.href&&Te.test(e.href)||e.target==="_blank");return(n,r)=>(a(),b(O(t.value),{class:N(["VPLink",{link:n.href,"vp-external-link-icon":o.value,"no-icon":n.noIcon}]),href:n.href?i(_e)(n.href):void 0,target:n.target??(o.value?"_blank":void 0),rel:n.rel??(o.value?"noreferrer":void 0)},{default:f(()=>[c(n.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),Ht={class:"VPLastUpdated"},Ot=["datetime"],Dt=k({__name:"VPDocFooterLastUpdated",setup(s){const{theme:e,page:t,lang:o}=T(),n=V(()=>new Date(t.value.lastUpdated)),r=V(()=>n.value.toISOString()),l=E("");return K(()=>{Q(()=>{var p,d,h;l.value=new Intl.DateTimeFormat((d=(p=e.value.lastUpdated)==null?void 0:p.formatOptions)!=null&&d.forceLocale?o.value:void 0,((h=e.value.lastUpdated)==null?void 0:h.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(n.value)})}),(p,d)=>{var h;return a(),u("p",Ht,[R(A(((h=i(e).lastUpdated)==null?void 0:h.text)||i(e).lastUpdatedText||"Last updated")+": ",1),v("time",{datetime:r.value},A(l.value),9,Ot)])}}}),Ft=y(Dt,[["__scopeId","data-v-6f34bb20"]]),Rt={key:0,class:"VPDocFooter"},jt={key:0,class:"edit-info"},Ut={key:0,class:"edit-link"},Gt={key:1,class:"last-updated"},zt={key:1,class:"prev-next","aria-labelledby":"doc-footer-aria-label"},qt={class:"pager"},Kt=["innerHTML"],Wt=["innerHTML"],Jt={class:"pager"},Yt=["innerHTML"],Xt=["innerHTML"],Qt=k({__name:"VPDocFooter",setup(s){const{theme:e,page:t,frontmatter:o}=T(),n=wt(),r=Ct(),l=V(()=>e.value.editLink&&o.value.editLink!==!1),p=V(()=>t.value.lastUpdated),d=V(()=>l.value||p.value||r.value.prev||r.value.next);return(h,P)=>{var m,L,I,g;return d.value?(a(),u("footer",Rt,[c(h.$slots,"doc-footer-before",{},void 0,!0),l.value||p.value?(a(),u("div",jt,[l.value?(a(),u("div",Ut,[$(D,{class:"edit-link-button",href:i(n).url,"no-icon":!0},{default:f(()=>[P[0]||(P[0]=v("span",{class:"vpi-square-pen edit-link-icon"},null,-1)),R(" "+A(i(n).text),1)]),_:1},8,["href"])])):_("",!0),p.value?(a(),u("div",Gt,[$(Ft)])):_("",!0)])):_("",!0),(m=i(r).prev)!=null&&m.link||(L=i(r).next)!=null&&L.link?(a(),u("nav",zt,[P[1]||(P[1]=v("span",{class:"visually-hidden",id:"doc-footer-aria-label"},"Pager",-1)),v("div",qt,[(I=i(r).prev)!=null&&I.link?(a(),b(D,{key:0,class:"pager-link prev",href:i(r).prev.link},{default:f(()=>{var M;return[v("span",{class:"desc",innerHTML:((M=i(e).docFooter)==null?void 0:M.prev)||"Previous page"},null,8,Kt),v("span",{class:"title",innerHTML:i(r).prev.text},null,8,Wt)]}),_:1},8,["href"])):_("",!0)]),v("div",Jt,[(g=i(r).next)!=null&&g.link?(a(),b(D,{key:0,class:"pager-link next",href:i(r).next.link},{default:f(()=>{var M;return[v("span",{class:"desc",innerHTML:((M=i(e).docFooter)==null?void 0:M.next)||"Next page"},null,8,Yt),v("span",{class:"title",innerHTML:i(r).next.text},null,8,Xt)]}),_:1},8,["href"])):_("",!0)])])):_("",!0)])):_("",!0)}}}),xt=y(Qt,[["__scopeId","data-v-0a8829af"]]),Zt={class:"container"},en={class:"aside-container"},tn={class:"aside-content"},nn={class:"content"},on={class:"content-container"},sn={class:"main"},an=k({__name:"VPDoc",setup(s){const{theme:e}=T(),t=Z(),{hasSidebar:o,hasAside:n,leftAside:r}=U(),l=V(()=>t.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(p,d)=>{const h=z("Content");return a(),u("div",{class:N(["VPDoc",{"has-sidebar":i(o),"has-aside":i(n)}])},[c(p.$slots,"doc-top",{},void 0,!0),v("div",Zt,[i(n)?(a(),u("div",{key:0,class:N(["aside",{"left-aside":i(r)}])},[d[0]||(d[0]=v("div",{class:"aside-curtain"},null,-1)),v("div",en,[v("div",tn,[$(Mt,null,{"aside-top":f(()=>[c(p.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":f(()=>[c(p.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":f(()=>[c(p.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":f(()=>[c(p.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":f(()=>[c(p.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":f(()=>[c(p.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):_("",!0),v("div",nn,[v("div",on,[c(p.$slots,"doc-before",{},void 0,!0),v("main",sn,[$(h,{class:N(["vp-doc",[l.value,i(e).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),$(xt,null,{"doc-footer-before":f(()=>[c(p.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),c(p.$slots,"doc-after",{},void 0,!0)])])]),c(p.$slots,"doc-bottom",{},void 0,!0)],2)}}}),rn=y(an,[["__scopeId","data-v-e3464618"]]),ln=k({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{},target:{},rel:{}},setup(s){const e=s,t=V(()=>e.href&&Te.test(e.href)),o=V(()=>e.tag||e.href?"a":"button");return(n,r)=>(a(),b(O(o.value),{class:N(["VPButton",[n.size,n.theme]]),href:n.href?i(_e)(n.href):void 0,target:e.target??(t.value?"_blank":void 0),rel:e.rel??(t.value?"noreferrer":void 0)},{default:f(()=>[R(A(n.text),1)]),_:1},8,["class","href","target","rel"]))}}),cn=y(ln,[["__scopeId","data-v-536b8894"]]),un=["src","alt"],dn=k({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(s){return(e,t)=>{const o=z("VPImage",!0);return e.image?(a(),u(w,{key:0},[typeof e.image=="string"||"src"in e.image?(a(),u("img",F({key:0,class:"VPImage"},typeof e.image=="string"?e.$attrs:{...e.image,...e.$attrs},{src:i(ve)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,un)):(a(),u(w,{key:1},[$(o,F({class:"dark",image:e.image.dark,alt:e.image.alt},e.$attrs),null,16,["image","alt"]),$(o,F({class:"light",image:e.image.light,alt:e.image.alt},e.$attrs),null,16,["image","alt"])],64))],64)):_("",!0)}}}),X=y(dn,[["__scopeId","data-v-eff9a227"]]),pn={class:"container"},vn={class:"main"},fn={key:0,class:"name"},mn=["innerHTML"],_n=["innerHTML"],hn=["innerHTML"],gn={key:0,class:"actions"},kn={key:0,class:"image"},bn={class:"image-container"},$n=k({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(s){const e=ee("hero-image-slot-exists");return(t,o)=>(a(),u("div",{class:N(["VPHero",{"has-image":t.image||i(e)}])},[v("div",pn,[v("div",vn,[c(t.$slots,"home-hero-info-before",{},void 0,!0),c(t.$slots,"home-hero-info",{},()=>[t.name?(a(),u("h1",fn,[v("span",{innerHTML:t.name,class:"clip"},null,8,mn)])):_("",!0),t.text?(a(),u("p",{key:1,innerHTML:t.text,class:"text"},null,8,_n)):_("",!0),t.tagline?(a(),u("p",{key:2,innerHTML:t.tagline,class:"tagline"},null,8,hn)):_("",!0)],!0),c(t.$slots,"home-hero-info-after",{},void 0,!0),t.actions?(a(),u("div",gn,[(a(!0),u(w,null,B(t.actions,n=>(a(),u("div",{key:n.link,class:"action"},[$(cn,{tag:"a",size:"medium",theme:n.theme,text:n.text,href:n.link,target:n.target,rel:n.rel},null,8,["theme","text","href","target","rel"])]))),128))])):_("",!0),c(t.$slots,"home-hero-actions-after",{},void 0,!0)]),t.image||i(e)?(a(),u("div",kn,[v("div",bn,[o[0]||(o[0]=v("div",{class:"image-bg"},null,-1)),c(t.$slots,"home-hero-image",{},()=>[t.image?(a(),b(X,{key:0,class:"image-src",image:t.image},null,8,["image"])):_("",!0)],!0)])])):_("",!0)])],2))}}),yn=y($n,[["__scopeId","data-v-d44839e5"]]),Pn=k({__name:"VPHomeHero",setup(s){const{frontmatter:e}=T();return(t,o)=>i(e).hero?(a(),b(yn,{key:0,class:"VPHomeHero",name:i(e).hero.name,text:i(e).hero.text,tagline:i(e).hero.tagline,image:i(e).hero.image,actions:i(e).hero.actions},{"home-hero-info-before":f(()=>[c(t.$slots,"home-hero-info-before")]),"home-hero-info":f(()=>[c(t.$slots,"home-hero-info")]),"home-hero-info-after":f(()=>[c(t.$slots,"home-hero-info-after")]),"home-hero-actions-after":f(()=>[c(t.$slots,"home-hero-actions-after")]),"home-hero-image":f(()=>[c(t.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):_("",!0)}}),Ln={class:"box"},Vn={key:0,class:"icon"},Sn=["innerHTML"],Tn=["innerHTML"],En=["innerHTML"],In={key:4,class:"link-text"},An={class:"link-text-value"},Nn=k({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(s){return(e,t)=>(a(),b(D,{class:"VPFeature",href:e.link,rel:e.rel,target:e.target,"no-icon":!0,tag:e.link?"a":"div"},{default:f(()=>[v("article",Ln,[typeof e.icon=="object"&&e.icon.wrap?(a(),u("div",Vn,[$(X,{image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])])):typeof e.icon=="object"?(a(),b(X,{key:1,image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])):e.icon?(a(),u("div",{key:2,class:"icon",innerHTML:e.icon},null,8,Sn)):_("",!0),v("h2",{class:"title",innerHTML:e.title},null,8,Tn),e.details?(a(),u("p",{key:3,class:"details",innerHTML:e.details},null,8,En)):_("",!0),e.linkText?(a(),u("div",In,[v("p",An,[R(A(e.linkText)+" ",1),t[0]||(t[0]=v("span",{class:"vpi-arrow-right link-text-icon"},null,-1))])])):_("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),Mn=y(Nn,[["__scopeId","data-v-3f51b5aa"]]),wn={key:0,class:"VPFeatures"},Cn={class:"container"},Bn={class:"items"},Hn=k({__name:"VPFeatures",props:{features:{}},setup(s){const e=s,t=V(()=>{const o=e.features.length;if(o){if(o===2)return"grid-2";if(o===3)return"grid-3";if(o%3===0)return"grid-6";if(o>3)return"grid-4"}else return});return(o,n)=>o.features?(a(),u("div",wn,[v("div",Cn,[v("div",Bn,[(a(!0),u(w,null,B(o.features,r=>(a(),u("div",{key:r.title,class:N(["item",[t.value]])},[$(Mn,{icon:r.icon,title:r.title,details:r.details,link:r.link,"link-text":r.linkText,rel:r.rel,target:r.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])])])):_("",!0)}}),On=y(Hn,[["__scopeId","data-v-25a62ee0"]]),Dn=k({__name:"VPHomeFeatures",setup(s){const{frontmatter:e}=T();return(t,o)=>i(e).features?(a(),b(On,{key:0,class:"VPHomeFeatures",features:i(e).features},null,8,["features"])):_("",!0)}}),Fn=k({__name:"VPHomeContent",setup(s){const{width:e}=ze({initialWidth:0,includeScrollbar:!1});return(t,o)=>(a(),u("div",{class:"vp-doc container",style:Ee(i(e)?{"--vp-offset":`calc(50% - ${i(e)/2}px)`}:{})},[c(t.$slots,"default",{},void 0,!0)],4))}}),Rn=y(Fn,[["__scopeId","data-v-fb779cd3"]]),jn={class:"VPHome"},Un=k({__name:"VPHome",setup(s){const{frontmatter:e}=T();return(t,o)=>{const n=z("Content");return a(),u("div",jn,[c(t.$slots,"home-hero-before",{},void 0,!0),$(Pn,null,{"home-hero-info-before":f(()=>[c(t.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":f(()=>[c(t.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":f(()=>[c(t.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":f(()=>[c(t.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":f(()=>[c(t.$slots,"home-hero-image",{},void 0,!0)]),_:3}),c(t.$slots,"home-hero-after",{},void 0,!0),c(t.$slots,"home-features-before",{},void 0,!0),$(Dn),c(t.$slots,"home-features-after",{},void 0,!0),i(e).markdownStyles!==!1?(a(),b(Rn,{key:0},{default:f(()=>[$(n)]),_:1})):(a(),b(n,{key:1}))])}}}),Gn=y(Un,[["__scopeId","data-v-fdcbd4d0"]]),zn={},qn={class:"VPPage"};function Kn(s,e){const t=z("Content");return a(),u("div",qn,[c(s.$slots,"page-top"),$(t),c(s.$slots,"page-bottom")])}const Wn=y(zn,[["render",Kn]]),Jn=k({__name:"VPContent",setup(s){const{page:e,frontmatter:t}=T(),{hasSidebar:o}=U();return(n,r)=>(a(),u("div",{class:N(["VPContent",{"has-sidebar":i(o),"is-home":i(t).layout==="home"}]),id:"VPContent"},[i(e).isNotFound?c(n.$slots,"not-found",{key:0},()=>[$(pt)],!0):i(t).layout==="page"?(a(),b(Wn,{key:1},{"page-top":f(()=>[c(n.$slots,"page-top",{},void 0,!0)]),"page-bottom":f(()=>[c(n.$slots,"page-bottom",{},void 0,!0)]),_:3})):i(t).layout==="home"?(a(),b(Gn,{key:2},{"home-hero-before":f(()=>[c(n.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":f(()=>[c(n.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":f(()=>[c(n.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":f(()=>[c(n.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":f(()=>[c(n.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":f(()=>[c(n.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":f(()=>[c(n.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":f(()=>[c(n.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":f(()=>[c(n.$slots,"home-features-after",{},void 0,!0)]),_:3})):i(t).layout&&i(t).layout!=="doc"?(a(),b(O(i(t).layout),{key:3})):(a(),b(rn,{key:4},{"doc-top":f(()=>[c(n.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":f(()=>[c(n.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":f(()=>[c(n.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":f(()=>[c(n.$slots,"doc-before",{},void 0,!0)]),"doc-after":f(()=>[c(n.$slots,"doc-after",{},void 0,!0)]),"aside-top":f(()=>[c(n.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":f(()=>[c(n.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":f(()=>[c(n.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":f(()=>[c(n.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":f(()=>[c(n.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":f(()=>[c(n.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),Yn=y(Jn,[["__scopeId","data-v-f0eceeca"]]),Xn={class:"container"},Qn=["innerHTML"],xn=["innerHTML"],Zn=k({__name:"VPFooter",setup(s){const{theme:e,frontmatter:t}=T(),{hasSidebar:o}=U();return(n,r)=>i(e).footer&&i(t).footer!==!1?(a(),u("footer",{key:0,class:N(["VPFooter",{"has-sidebar":i(o)}])},[v("div",Xn,[i(e).footer.message?(a(),u("p",{key:0,class:"message",innerHTML:i(e).footer.message},null,8,Qn)):_("",!0),i(e).footer.copyright?(a(),u("p",{key:1,class:"copyright",innerHTML:i(e).footer.copyright},null,8,xn)):_("",!0)])],2)):_("",!0)}}),eo=y(Zn,[["__scopeId","data-v-319c6211"]]);function to(){const{theme:s,frontmatter:e}=T(),t=Se([]),o=V(()=>t.value.length>0);return x(()=>{t.value=he(e.value.outline??s.value.outline)}),{headers:t,hasLocalNav:o}}const no={class:"menu-text"},oo={class:"header"},so={class:"outline"},ao=k({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(s){const e=s,{theme:t}=T(),o=E(!1),n=E(0),r=E(),l=E();function p(m){var L;(L=r.value)!=null&&L.contains(m.target)||(o.value=!1)}j(o,m=>{if(m){document.addEventListener("click",p);return}document.removeEventListener("click",p)}),le("Escape",()=>{o.value=!1}),x(()=>{o.value=!1});function d(){o.value=!o.value,n.value=window.innerHeight+Math.min(window.scrollY-e.navHeight,0)}function h(m){m.target.classList.contains("outline-link")&&(l.value&&(l.value.style.transition="none"),Ie(()=>{o.value=!1}))}function P(){o.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(m,L)=>(a(),u("div",{class:"VPLocalNavOutlineDropdown",style:Ee({"--vp-vh":n.value+"px"}),ref_key:"main",ref:r},[m.headers.length>0?(a(),u("button",{key:0,onClick:d,class:N({open:o.value})},[v("span",no,A(i(Ce)(i(t))),1),L[0]||(L[0]=v("span",{class:"vpi-chevron-right icon"},null,-1))],2)):(a(),u("button",{key:1,onClick:P},A(i(t).returnToTopLabel||"Return to top"),1)),$(pe,{name:"flyout"},{default:f(()=>[o.value?(a(),u("div",{key:0,ref_key:"items",ref:l,class:"items",onClick:h},[v("div",oo,[v("a",{class:"top-link",href:"#",onClick:P},A(i(t).returnToTopLabel||"Return to top"),1)]),v("div",so,[$(Be,{headers:m.headers},null,8,["headers"])])],512)):_("",!0)]),_:1})],4))}}),ro=y(ao,[["__scopeId","data-v-f4a1c559"]]),io={class:"container"},lo=["aria-expanded"],co={class:"menu-text"},uo=k({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(s){const{theme:e,frontmatter:t}=T(),{hasSidebar:o}=U(),{headers:n}=to(),{y:r}=Ae(),l=E(0);K(()=>{l.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),x(()=>{n.value=he(t.value.outline??e.value.outline)});const p=V(()=>n.value.length===0),d=V(()=>p.value&&!o.value),h=V(()=>({VPLocalNav:!0,"has-sidebar":o.value,empty:p.value,fixed:d.value}));return(P,m)=>i(t).layout!=="home"&&(!d.value||i(r)>=l.value)?(a(),u("div",{key:0,class:N(h.value)},[v("div",io,[i(o)?(a(),u("button",{key:0,class:"menu","aria-expanded":P.open,"aria-controls":"VPSidebarNav",onClick:m[0]||(m[0]=L=>P.$emit("open-menu"))},[m[1]||(m[1]=v("span",{class:"vpi-align-left menu-icon"},null,-1)),v("span",co,A(i(e).sidebarMenuLabel||"Menu"),1)],8,lo)):_("",!0),$(ro,{headers:i(n),navHeight:l.value},null,8,["headers","navHeight"])])],2)):_("",!0)}}),po=y(uo,[["__scopeId","data-v-f5c9fb7a"]]);function vo(){const s=E(!1);function e(){s.value=!0,window.addEventListener("resize",n)}function t(){s.value=!1,window.removeEventListener("resize",n)}function o(){s.value?t():e()}function n(){window.outerWidth>=768&&t()}const r=Z();return j(()=>r.path,t),{isScreenOpen:s,openScreen:e,closeScreen:t,toggleScreen:o}}const fo={},mo={class:"VPSwitch",type:"button",role:"switch"},_o={class:"check"},ho={key:0,class:"icon"};function go(s,e){return a(),u("button",mo,[v("span",_o,[s.$slots.default?(a(),u("span",ho,[c(s.$slots,"default",{},void 0,!0)])):_("",!0)])])}const ko=y(fo,[["render",go],["__scopeId","data-v-15c0676b"]]),bo=k({__name:"VPSwitchAppearance",setup(s){const{isDark:e,theme:t}=T(),o=ee("toggle-appearance",()=>{e.value=!e.value}),n=E("");return me(()=>{n.value=e.value?t.value.lightModeSwitchTitle||"Switch to light theme":t.value.darkModeSwitchTitle||"Switch to dark theme"}),(r,l)=>(a(),b(ko,{title:n.value,class:"VPSwitchAppearance","aria-checked":i(e),onClick:i(o)},{default:f(()=>l[0]||(l[0]=[v("span",{class:"vpi-sun sun"},null,-1),v("span",{class:"vpi-moon moon"},null,-1)])),_:1},8,["title","aria-checked","onClick"]))}}),ge=y(bo,[["__scopeId","data-v-9f268e68"]]),$o={key:0,class:"VPNavBarAppearance"},yo=k({__name:"VPNavBarAppearance",setup(s){const{site:e}=T();return(t,o)=>i(e).appearance&&i(e).appearance!=="force-dark"&&i(e).appearance!=="force-auto"?(a(),u("div",$o,[$(ge)])):_("",!0)}}),Po=y(yo,[["__scopeId","data-v-7c2cada4"]]),ke=E();let He=!1,ae=0;function Lo(s){const e=E(!1);if(te){!He&&Vo(),ae++;const t=j(ke,o=>{var n,r,l;o===s.el.value||(n=s.el.value)!=null&&n.contains(o)?(e.value=!0,(r=s.onFocus)==null||r.call(s)):(e.value=!1,(l=s.onBlur)==null||l.call(s))});fe(()=>{t(),ae--,ae||So()})}return qe(e)}function Vo(){document.addEventListener("focusin",Oe),He=!0,ke.value=document.activeElement}function So(){document.removeEventListener("focusin",Oe)}function Oe(){ke.value=document.activeElement}const To={class:"VPMenuLink"},Eo=k({__name:"VPMenuLink",props:{item:{}},setup(s){const{page:e}=T();return(t,o)=>(a(),u("div",To,[$(D,{class:N({active:i(q)(i(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel},{default:f(()=>[R(A(t.item.text),1)]),_:1},8,["class","href","target","rel"])]))}}),ne=y(Eo,[["__scopeId","data-v-2a1b9392"]]),Io={class:"VPMenuGroup"},Ao={key:0,class:"title"},No=k({__name:"VPMenuGroup",props:{text:{},items:{}},setup(s){return(e,t)=>(a(),u("div",Io,[e.text?(a(),u("p",Ao,A(e.text),1)):_("",!0),(a(!0),u(w,null,B(e.items,o=>(a(),u(w,null,["link"in o?(a(),b(ne,{key:0,item:o},null,8,["item"])):_("",!0)],64))),256))]))}}),Mo=y(No,[["__scopeId","data-v-ffdb94e9"]]),wo={class:"VPMenu"},Co={key:0,class:"items"},Bo=k({__name:"VPMenu",props:{items:{}},setup(s){return(e,t)=>(a(),u("div",wo,[e.items?(a(),u("div",Co,[(a(!0),u(w,null,B(e.items,o=>(a(),u(w,{key:JSON.stringify(o)},["link"in o?(a(),b(ne,{key:0,item:o},null,8,["item"])):"component"in o?(a(),b(O(o.component),F({key:1,ref_for:!0},o.props),null,16)):(a(),b(Mo,{key:2,text:o.text,items:o.items},null,8,["text","items"]))],64))),128))])):_("",!0),c(e.$slots,"default",{},void 0,!0)]))}}),Ho=y(Bo,[["__scopeId","data-v-16385bbb"]]),Oo=["aria-expanded","aria-label"],Do={key:0,class:"text"},Fo=["innerHTML"],Ro={key:1,class:"vpi-more-horizontal icon"},jo={class:"menu"},Uo=k({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(s){const e=E(!1),t=E();Lo({el:t,onBlur:o});function o(){e.value=!1}return(n,r)=>(a(),u("div",{class:"VPFlyout",ref_key:"el",ref:t,onMouseenter:r[1]||(r[1]=l=>e.value=!0),onMouseleave:r[2]||(r[2]=l=>e.value=!1)},[v("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":e.value,"aria-label":n.label,onClick:r[0]||(r[0]=l=>e.value=!e.value)},[n.button||n.icon?(a(),u("span",Do,[n.icon?(a(),u("span",{key:0,class:N([n.icon,"option-icon"])},null,2)):_("",!0),n.button?(a(),u("span",{key:1,innerHTML:n.button},null,8,Fo)):_("",!0),r[3]||(r[3]=v("span",{class:"vpi-chevron-down text-icon"},null,-1))])):(a(),u("span",Ro))],8,Oo),v("div",jo,[$(Ho,{items:n.items},{default:f(()=>[c(n.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),be=y(Uo,[["__scopeId","data-v-7eb29b17"]]),Go=["href","aria-label","innerHTML"],zo=k({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(s){const e=s,t=V(()=>typeof e.icon=="object"?e.icon.svg:``);return(o,n)=>(a(),u("a",{class:"VPSocialLink no-icon",href:o.link,"aria-label":o.ariaLabel??(typeof o.icon=="string"?o.icon:""),target:"_blank",rel:"noopener",innerHTML:t.value},null,8,Go))}}),qo=y(zo,[["__scopeId","data-v-8616b379"]]),Ko={class:"VPSocialLinks"},Wo=k({__name:"VPSocialLinks",props:{links:{}},setup(s){return(e,t)=>(a(),u("div",Ko,[(a(!0),u(w,null,B(e.links,({link:o,icon:n,ariaLabel:r})=>(a(),b(qo,{key:o,icon:n,link:o,ariaLabel:r},null,8,["icon","link","ariaLabel"]))),128))]))}}),$e=y(Wo,[["__scopeId","data-v-fa8c4154"]]),Jo={key:0,class:"group translations"},Yo={class:"trans-title"},Xo={key:1,class:"group"},Qo={class:"item appearance"},xo={class:"label"},Zo={class:"appearance-action"},es={key:2,class:"group"},ts={class:"item social-links"},ns=k({__name:"VPNavBarExtra",setup(s){const{site:e,theme:t}=T(),{localeLinks:o,currentLang:n}=J({correspondingLink:!0}),r=V(()=>o.value.length&&n.value.label||e.value.appearance||t.value.socialLinks);return(l,p)=>r.value?(a(),b(be,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:f(()=>[i(o).length&&i(n).label?(a(),u("div",Jo,[v("p",Yo,A(i(n).label),1),(a(!0),u(w,null,B(i(o),d=>(a(),b(ne,{key:d.link,item:d},null,8,["item"]))),128))])):_("",!0),i(e).appearance&&i(e).appearance!=="force-dark"&&i(e).appearance!=="force-auto"?(a(),u("div",Xo,[v("div",Qo,[v("p",xo,A(i(t).darkModeSwitchLabel||"Appearance"),1),v("div",Zo,[$(ge)])])])):_("",!0),i(t).socialLinks?(a(),u("div",es,[v("div",ts,[$($e,{class:"social-links-list",links:i(t).socialLinks},null,8,["links"])])])):_("",!0)]),_:1})):_("",!0)}}),os=y(ns,[["__scopeId","data-v-75a9a7a1"]]),ss=["aria-expanded"],as=k({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(s){return(e,t)=>(a(),u("button",{type:"button",class:N(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:t[0]||(t[0]=o=>e.$emit("click"))},t[1]||(t[1]=[v("span",{class:"container"},[v("span",{class:"top"}),v("span",{class:"middle"}),v("span",{class:"bottom"})],-1)]),10,ss))}}),rs=y(as,[["__scopeId","data-v-c6e72263"]]),is=["innerHTML"],ls=k({__name:"VPNavBarMenuLink",props:{item:{}},setup(s){const{page:e}=T();return(t,o)=>(a(),b(D,{class:N({VPNavBarMenuLink:!0,active:i(q)(i(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,noIcon:t.item.noIcon,target:t.item.target,rel:t.item.rel,tabindex:"0"},{default:f(()=>[v("span",{innerHTML:t.item.text},null,8,is)]),_:1},8,["class","href","noIcon","target","rel"]))}}),cs=y(ls,[["__scopeId","data-v-75a19517"]]),us=k({__name:"VPNavBarMenuGroup",props:{item:{}},setup(s){const e=s,{page:t}=T(),o=r=>"component"in r?!1:"link"in r?q(t.value.relativePath,r.link,!!e.item.activeMatch):r.items.some(o),n=V(()=>o(e.item));return(r,l)=>(a(),b(be,{class:N({VPNavBarMenuGroup:!0,active:i(q)(i(t).relativePath,r.item.activeMatch,!!r.item.activeMatch)||n.value}),button:r.item.text,items:r.item.items},null,8,["class","button","items"]))}}),ds={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},ps=k({__name:"VPNavBarMenu",setup(s){const{theme:e}=T();return(t,o)=>i(e).nav?(a(),u("nav",ds,[o[0]||(o[0]=v("span",{id:"main-nav-aria-label",class:"visually-hidden"}," Main Navigation ",-1)),(a(!0),u(w,null,B(i(e).nav,n=>(a(),u(w,{key:JSON.stringify(n)},["link"in n?(a(),b(cs,{key:0,item:n},null,8,["item"])):"component"in n?(a(),b(O(n.component),F({key:1,ref_for:!0},n.props),null,16)):(a(),b(us,{key:2,item:n},null,8,["item"]))],64))),128))])):_("",!0)}}),vs=y(ps,[["__scopeId","data-v-4709699b"]]);function fs(s){const{localeIndex:e,theme:t}=T();function o(n){var g,M,S;const r=n.split("."),l=(g=t.value.search)==null?void 0:g.options,p=l&&typeof l=="object",d=p&&((S=(M=l.locales)==null?void 0:M[e.value])==null?void 0:S.translations)||null,h=p&&l.translations||null;let P=d,m=h,L=s;const I=r.pop();for(const H of r){let G=null;const W=L==null?void 0:L[H];W&&(G=L=W);const oe=m==null?void 0:m[H];oe&&(G=m=oe);const se=P==null?void 0:P[H];se&&(G=P=se),W||(L=G),oe||(m=G),se||(P=G)}return(P==null?void 0:P[I])??(m==null?void 0:m[I])??(L==null?void 0:L[I])??""}return o}const ms=["aria-label"],_s={class:"DocSearch-Button-Container"},hs={class:"DocSearch-Button-Placeholder"},Le=k({__name:"VPNavBarSearchButton",setup(s){const t=fs({button:{buttonText:"Search",buttonAriaLabel:"Search"}});return(o,n)=>(a(),u("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":i(t)("button.buttonAriaLabel")},[v("span",_s,[n[0]||(n[0]=v("span",{class:"vp-icon DocSearch-Search-Icon"},null,-1)),v("span",hs,A(i(t)("button.buttonText")),1)]),n[1]||(n[1]=v("span",{class:"DocSearch-Button-Keys"},[v("kbd",{class:"DocSearch-Button-Key"}),v("kbd",{class:"DocSearch-Button-Key"},"K")],-1))],8,ms))}}),gs={class:"VPNavBarSearch"},ks={id:"local-search"},bs={key:1,id:"docsearch"},$s=k({__name:"VPNavBarSearch",setup(s){const e=Ke(()=>C(()=>import("./VPLocalSearchBox.BW3N6tEc.js"),__vite__mapDeps([0,1]))),t=()=>null,{theme:o}=T(),n=E(!1),r=E(!1);K(()=>{});function l(){n.value||(n.value=!0,setTimeout(p,16))}function p(){const m=new Event("keydown");m.key="k",m.metaKey=!0,window.dispatchEvent(m),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||p()},16)}function d(m){const L=m.target,I=L.tagName;return L.isContentEditable||I==="INPUT"||I==="SELECT"||I==="TEXTAREA"}const h=E(!1);le("k",m=>{(m.ctrlKey||m.metaKey)&&(m.preventDefault(),h.value=!0)}),le("/",m=>{d(m)||(m.preventDefault(),h.value=!0)});const P="local";return(m,L)=>{var I;return a(),u("div",gs,[i(P)==="local"?(a(),u(w,{key:0},[h.value?(a(),b(i(e),{key:0,onClose:L[0]||(L[0]=g=>h.value=!1)})):_("",!0),v("div",ks,[$(Le,{onClick:L[1]||(L[1]=g=>h.value=!0)})])],64)):i(P)==="algolia"?(a(),u(w,{key:1},[n.value?(a(),b(i(t),{key:0,algolia:((I=i(o).search)==null?void 0:I.options)??i(o).algolia,onVnodeBeforeMount:L[2]||(L[2]=g=>r.value=!0)},null,8,["algolia"])):_("",!0),r.value?_("",!0):(a(),u("div",bs,[$(Le,{onClick:l})]))],64)):_("",!0)])}}}),ys=k({__name:"VPNavBarSocialLinks",setup(s){const{theme:e}=T();return(t,o)=>i(e).socialLinks?(a(),b($e,{key:0,class:"VPNavBarSocialLinks",links:i(e).socialLinks},null,8,["links"])):_("",!0)}}),Ps=y(ys,[["__scopeId","data-v-7019b06f"]]),Ls=["href","rel","target"],Vs={key:1},Ss={key:2},Ts=k({__name:"VPNavBarTitle",setup(s){const{site:e,theme:t}=T(),{hasSidebar:o}=U(),{currentLang:n}=J(),r=V(()=>{var d;return typeof t.value.logoLink=="string"?t.value.logoLink:(d=t.value.logoLink)==null?void 0:d.link}),l=V(()=>{var d;return typeof t.value.logoLink=="string"||(d=t.value.logoLink)==null?void 0:d.rel}),p=V(()=>{var d;return typeof t.value.logoLink=="string"||(d=t.value.logoLink)==null?void 0:d.target});return(d,h)=>(a(),u("div",{class:N(["VPNavBarTitle",{"has-sidebar":i(o)}])},[v("a",{class:"title",href:r.value??i(_e)(i(n).link),rel:l.value,target:p.value},[c(d.$slots,"nav-bar-title-before",{},void 0,!0),i(t).logo?(a(),b(X,{key:0,class:"logo",image:i(t).logo},null,8,["image"])):_("",!0),i(t).siteTitle?(a(),u("span",Vs,A(i(t).siteTitle),1)):i(t).siteTitle===void 0?(a(),u("span",Ss,A(i(e).title),1)):_("",!0),c(d.$slots,"nav-bar-title-after",{},void 0,!0)],8,Ls)],2))}}),Es=y(Ts,[["__scopeId","data-v-dbb7d654"]]),Is={class:"items"},As={class:"title"},Ns=k({__name:"VPNavBarTranslations",setup(s){const{theme:e}=T(),{localeLinks:t,currentLang:o}=J({correspondingLink:!0});return(n,r)=>i(t).length&&i(o).label?(a(),b(be,{key:0,class:"VPNavBarTranslations",icon:"vpi-languages",label:i(e).langMenuLabel||"Change language"},{default:f(()=>[v("div",Is,[v("p",As,A(i(o).label),1),(a(!0),u(w,null,B(i(t),l=>(a(),b(ne,{key:l.link,item:l},null,8,["item"]))),128))])]),_:1},8,["label"])):_("",!0)}}),Ms=y(Ns,[["__scopeId","data-v-37d5eaa7"]]),ws={class:"wrapper"},Cs={class:"container"},Bs={class:"title"},Hs={class:"content"},Os={class:"content-body"},Ds=k({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(s){const e=s,{y:t}=Ae(),{hasSidebar:o}=U(),{frontmatter:n}=T(),r=E({});return me(()=>{r.value={"has-sidebar":o.value,home:n.value.layout==="home",top:t.value===0,"screen-open":e.isScreenOpen}}),(l,p)=>(a(),u("div",{class:N(["VPNavBar",r.value])},[v("div",ws,[v("div",Cs,[v("div",Bs,[$(Es,null,{"nav-bar-title-before":f(()=>[c(l.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":f(()=>[c(l.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),v("div",Hs,[v("div",Os,[c(l.$slots,"nav-bar-content-before",{},void 0,!0),$($s,{class:"search"}),$(vs,{class:"menu"}),$(Ms,{class:"translations"}),$(Po,{class:"appearance"}),$(Ps,{class:"social-links"}),$(os,{class:"extra"}),c(l.$slots,"nav-bar-content-after",{},void 0,!0),$(rs,{class:"hamburger",active:l.isScreenOpen,onClick:p[0]||(p[0]=d=>l.$emit("toggle-screen"))},null,8,["active"])])])])]),p[1]||(p[1]=v("div",{class:"divider"},[v("div",{class:"divider-line"})],-1))],2))}}),Fs=y(Ds,[["__scopeId","data-v-79d9e818"]]),Rs={key:0,class:"VPNavScreenAppearance"},js={class:"text"},Us=k({__name:"VPNavScreenAppearance",setup(s){const{site:e,theme:t}=T();return(o,n)=>i(e).appearance&&i(e).appearance!=="force-dark"&&i(e).appearance!=="force-auto"?(a(),u("div",Rs,[v("p",js,A(i(t).darkModeSwitchLabel||"Appearance"),1),$(ge)])):_("",!0)}}),Gs=y(Us,[["__scopeId","data-v-3a599dd6"]]),zs=k({__name:"VPNavScreenMenuLink",props:{item:{}},setup(s){const e=ee("close-screen");return(t,o)=>(a(),b(D,{class:"VPNavScreenMenuLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:i(e),innerHTML:t.item.text},null,8,["href","target","rel","onClick","innerHTML"]))}}),qs=y(zs,[["__scopeId","data-v-157ed9ea"]]),Ks=k({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(s){const e=ee("close-screen");return(t,o)=>(a(),b(D,{class:"VPNavScreenMenuGroupLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:i(e)},{default:f(()=>[R(A(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}}),De=y(Ks,[["__scopeId","data-v-7cb3c0ae"]]),Ws={class:"VPNavScreenMenuGroupSection"},Js={key:0,class:"title"},Ys=k({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(s){return(e,t)=>(a(),u("div",Ws,[e.text?(a(),u("p",Js,A(e.text),1)):_("",!0),(a(!0),u(w,null,B(e.items,o=>(a(),b(De,{key:o.text,item:o},null,8,["item"]))),128))]))}}),Xs=y(Ys,[["__scopeId","data-v-b89d5e2e"]]),Qs=["aria-controls","aria-expanded"],xs=["innerHTML"],Zs=["id"],ea={key:0,class:"item"},ta={key:1,class:"item"},na={key:2,class:"group"},oa=k({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(s){const e=s,t=E(!1),o=V(()=>`NavScreenGroup-${e.text.replace(" ","-").toLowerCase()}`);function n(){t.value=!t.value}return(r,l)=>(a(),u("div",{class:N(["VPNavScreenMenuGroup",{open:t.value}])},[v("button",{class:"button","aria-controls":o.value,"aria-expanded":t.value,onClick:n},[v("span",{class:"button-text",innerHTML:r.text},null,8,xs),l[0]||(l[0]=v("span",{class:"vpi-plus button-icon"},null,-1))],8,Qs),v("div",{id:o.value,class:"items"},[(a(!0),u(w,null,B(r.items,p=>(a(),u(w,{key:JSON.stringify(p)},["link"in p?(a(),u("div",ea,[$(De,{item:p},null,8,["item"])])):"component"in p?(a(),u("div",ta,[(a(),b(O(p.component),F({ref_for:!0},p.props,{"screen-menu":""}),null,16))])):(a(),u("div",na,[$(Xs,{text:p.text,items:p.items},null,8,["text","items"])]))],64))),128))],8,Zs)],2))}}),sa=y(oa,[["__scopeId","data-v-aae031ec"]]),aa={key:0,class:"VPNavScreenMenu"},ra=k({__name:"VPNavScreenMenu",setup(s){const{theme:e}=T();return(t,o)=>i(e).nav?(a(),u("nav",aa,[(a(!0),u(w,null,B(i(e).nav,n=>(a(),u(w,{key:JSON.stringify(n)},["link"in n?(a(),b(qs,{key:0,item:n},null,8,["item"])):"component"in n?(a(),b(O(n.component),F({key:1,ref_for:!0},n.props,{"screen-menu":""}),null,16)):(a(),b(sa,{key:2,text:n.text||"",items:n.items},null,8,["text","items"]))],64))),128))])):_("",!0)}}),ia=k({__name:"VPNavScreenSocialLinks",setup(s){const{theme:e}=T();return(t,o)=>i(e).socialLinks?(a(),b($e,{key:0,class:"VPNavScreenSocialLinks",links:i(e).socialLinks},null,8,["links"])):_("",!0)}}),la={class:"list"},ca=k({__name:"VPNavScreenTranslations",setup(s){const{localeLinks:e,currentLang:t}=J({correspondingLink:!0}),o=E(!1);function n(){o.value=!o.value}return(r,l)=>i(e).length&&i(t).label?(a(),u("div",{key:0,class:N(["VPNavScreenTranslations",{open:o.value}])},[v("button",{class:"title",onClick:n},[l[0]||(l[0]=v("span",{class:"vpi-languages icon lang"},null,-1)),R(" "+A(i(t).label)+" ",1),l[1]||(l[1]=v("span",{class:"vpi-chevron-down icon chevron"},null,-1))]),v("ul",la,[(a(!0),u(w,null,B(i(e),p=>(a(),u("li",{key:p.link,class:"item"},[$(D,{class:"link",href:p.link},{default:f(()=>[R(A(p.text),1)]),_:2},1032,["href"])]))),128))])],2)):_("",!0)}}),ua=y(ca,[["__scopeId","data-v-59345f52"]]),da={class:"container"},pa=k({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(s){const e=E(null),t=Ne(te?document.body:null);return(o,n)=>(a(),b(pe,{name:"fade",onEnter:n[0]||(n[0]=r=>t.value=!0),onAfterLeave:n[1]||(n[1]=r=>t.value=!1)},{default:f(()=>[o.open?(a(),u("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:e,id:"VPNavScreen"},[v("div",da,[c(o.$slots,"nav-screen-content-before",{},void 0,!0),$(ra,{class:"menu"}),$(ua,{class:"translations"}),$(Gs,{class:"appearance"}),$(ia,{class:"social-links"}),c(o.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):_("",!0)]),_:3}))}}),va=y(pa,[["__scopeId","data-v-1a4ea16f"]]),fa={key:0,class:"VPNav"},ma=k({__name:"VPNav",setup(s){const{isScreenOpen:e,closeScreen:t,toggleScreen:o}=vo(),{frontmatter:n}=T(),r=V(()=>n.value.navbar!==!1);return Me("close-screen",t),Q(()=>{te&&document.documentElement.classList.toggle("hide-nav",!r.value)}),(l,p)=>r.value?(a(),u("header",fa,[$(Fs,{"is-screen-open":i(e),onToggleScreen:i(o)},{"nav-bar-title-before":f(()=>[c(l.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":f(()=>[c(l.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":f(()=>[c(l.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":f(()=>[c(l.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),$(va,{open:i(e)},{"nav-screen-content-before":f(()=>[c(l.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":f(()=>[c(l.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):_("",!0)}}),_a=y(ma,[["__scopeId","data-v-507e0876"]]),ha=["role","tabindex"],ga={key:1,class:"items"},ka=k({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(s){const e=s,{collapsed:t,collapsible:o,isLink:n,isActiveLink:r,hasActiveLink:l,hasChildren:p,toggle:d}=_t(V(()=>e.item)),h=V(()=>p.value?"section":"div"),P=V(()=>n.value?"a":"div"),m=V(()=>p.value?e.depth+2===7?"p":`h${e.depth+2}`:"p"),L=V(()=>n.value?void 0:"button"),I=V(()=>[[`level-${e.depth}`],{collapsible:o.value},{collapsed:t.value},{"is-link":n.value},{"is-active":r.value},{"has-active":l.value}]);function g(S){"key"in S&&S.key!=="Enter"||!e.item.link&&d()}function M(){e.item.link&&d()}return(S,H)=>{const G=z("VPSidebarItem",!0);return a(),b(O(h.value),{class:N(["VPSidebarItem",I.value])},{default:f(()=>[S.item.text?(a(),u("div",F({key:0,class:"item",role:L.value},We(S.item.items?{click:g,keydown:g}:{},!0),{tabindex:S.item.items&&0}),[H[1]||(H[1]=v("div",{class:"indicator"},null,-1)),S.item.link?(a(),b(D,{key:0,tag:P.value,class:"link",href:S.item.link,rel:S.item.rel,target:S.item.target},{default:f(()=>[(a(),b(O(m.value),{class:"text",innerHTML:S.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(a(),b(O(m.value),{key:1,class:"text",innerHTML:S.item.text},null,8,["innerHTML"])),S.item.collapsed!=null&&S.item.items&&S.item.items.length?(a(),u("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:M,onKeydown:Je(M,["enter"]),tabindex:"0"},H[0]||(H[0]=[v("span",{class:"vpi-chevron-right caret-icon"},null,-1)]),32)):_("",!0)],16,ha)):_("",!0),S.item.items&&S.item.items.length?(a(),u("div",ga,[S.depth<5?(a(!0),u(w,{key:0},B(S.item.items,W=>(a(),b(G,{key:W.text,item:W,depth:S.depth+1},null,8,["item","depth"]))),128)):_("",!0)])):_("",!0)]),_:1},8,["class"])}}}),ba=y(ka,[["__scopeId","data-v-d34bf39b"]]),$a=k({__name:"VPSidebarGroup",props:{items:{}},setup(s){const e=E(!0);let t=null;return K(()=>{t=setTimeout(()=>{t=null,e.value=!1},300)}),Ye(()=>{t!=null&&(clearTimeout(t),t=null)}),(o,n)=>(a(!0),u(w,null,B(o.items,r=>(a(),u("div",{key:r.text,class:N(["group",{"no-transition":e.value}])},[$(ba,{item:r,depth:0},null,8,["item"])],2))),128))}}),ya=y($a,[["__scopeId","data-v-abbb7f12"]]),Pa={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},La=k({__name:"VPSidebar",props:{open:{type:Boolean}},setup(s){const{sidebarGroups:e,hasSidebar:t}=U(),o=s,n=E(null),r=Ne(te?document.body:null);j([o,n],()=>{var p;o.open?(r.value=!0,(p=n.value)==null||p.focus()):r.value=!1},{immediate:!0,flush:"post"});const l=E(0);return j(e,()=>{l.value+=1},{deep:!0}),(p,d)=>i(t)?(a(),u("aside",{key:0,class:N(["VPSidebar",{open:p.open}]),ref_key:"navEl",ref:n,onClick:d[0]||(d[0]=Xe(()=>{},["stop"]))},[d[2]||(d[2]=v("div",{class:"curtain"},null,-1)),v("nav",Pa,[d[1]||(d[1]=v("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),c(p.$slots,"sidebar-nav-before",{},void 0,!0),(a(),b(ya,{items:i(e),key:l.value},null,8,["items"])),c(p.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):_("",!0)}}),Va=y(La,[["__scopeId","data-v-a19ffbfa"]]),Sa=k({__name:"VPSkipLink",setup(s){const e=Z(),t=E();j(()=>e.path,()=>t.value.focus());function o({target:n}){const r=document.getElementById(decodeURIComponent(n.hash).slice(1));if(r){const l=()=>{r.removeAttribute("tabindex"),r.removeEventListener("blur",l)};r.setAttribute("tabindex","-1"),r.addEventListener("blur",l),r.focus(),window.scrollTo(0,0)}}return(n,r)=>(a(),u(w,null,[v("span",{ref_key:"backToTop",ref:t,tabindex:"-1"},null,512),v("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:o}," Skip to content ")],64))}}),Ta=y(Sa,[["__scopeId","data-v-0e2efa42"]]),Ea=k({__name:"Layout",setup(s){const{isOpen:e,open:t,close:o}=U(),n=Z();j(()=>n.path,o),mt(e,o);const{frontmatter:r}=T(),l=Qe(),p=V(()=>!!l["home-hero-image"]);return Me("hero-image-slot-exists",p),(d,h)=>{const P=z("Content");return i(r).layout!==!1?(a(),u("div",{key:0,class:N(["Layout",i(r).pageClass])},[c(d.$slots,"layout-top",{},void 0,!0),$(Ta),$(nt,{class:"backdrop",show:i(e),onClick:i(o)},null,8,["show","onClick"]),$(_a,null,{"nav-bar-title-before":f(()=>[c(d.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":f(()=>[c(d.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":f(()=>[c(d.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":f(()=>[c(d.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":f(()=>[c(d.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":f(()=>[c(d.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),$(po,{open:i(e),onOpenMenu:i(t)},null,8,["open","onOpenMenu"]),$(Va,{open:i(e)},{"sidebar-nav-before":f(()=>[c(d.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":f(()=>[c(d.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),$(Yn,null,{"page-top":f(()=>[c(d.$slots,"page-top",{},void 0,!0)]),"page-bottom":f(()=>[c(d.$slots,"page-bottom",{},void 0,!0)]),"not-found":f(()=>[c(d.$slots,"not-found",{},void 0,!0)]),"home-hero-before":f(()=>[c(d.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":f(()=>[c(d.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":f(()=>[c(d.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":f(()=>[c(d.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":f(()=>[c(d.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":f(()=>[c(d.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":f(()=>[c(d.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":f(()=>[c(d.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":f(()=>[c(d.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":f(()=>[c(d.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":f(()=>[c(d.$slots,"doc-before",{},void 0,!0)]),"doc-after":f(()=>[c(d.$slots,"doc-after",{},void 0,!0)]),"doc-top":f(()=>[c(d.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":f(()=>[c(d.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":f(()=>[c(d.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":f(()=>[c(d.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":f(()=>[c(d.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":f(()=>[c(d.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":f(()=>[c(d.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":f(()=>[c(d.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),$(eo),c(d.$slots,"layout-bottom",{},void 0,!0)],2)):(a(),b(P,{key:1}))}}}),Ia=y(Ea,[["__scopeId","data-v-552d4608"]]),Aa={Layout:Ia,enhanceApp:({app:s})=>{s.component("Badge",Ze)}},Na=/(?:^|[\n\r]+)]*?(?:\s+lang="([^"]+)")?[^>]*?>[\r\n]*(.*?)[\r\n]*<\/template>/is,Ma=/(?:^|[\n\r]+)]*?(?:\s+lang="([^"]+)")?[^>]*?>[\r\n](.*?)[\r\n]<\/style>/is,wa=/(?:^|[\n\r]+)]*?(?:\s+lang="([^"]+)")?[^>]*?>[\r\n](.*?)[\r\n]<\/script>/is,Ca=/(^|[\n\r]+)import(?:\s+(.*?)\s+from)?\s+(['"])(.+?)\3(;)?(?:\s*\/\/\s*asGlobal=(['"])(.+?)\6)?/isg,Ba=/(?:^|[\n\r]+)\s*\/\/\s*external(js|css)=(['"])(.+?)\2/isg,Ve="https://cdn.jsdelivr.net/npm/vue@3/dist/vue.global.prod.js";function re(s,e){const t=e.exec(s);return t===null?{type:"none",code:""}:{type:t[1]||"none",code:t[2]||""}}function Ha(s,e,t,o,n,r,l,p){if(typeof t!="string"||t.length===0)return"";if(typeof p=="string"&&p.length>0)return`${e}const ${t} = ${p}${r}`;const d=/^(?:@[^/]+\/)?([^@]+)$/i.exec(n);if(d===null)return"";const h=d[1].split("/").map(P=>P.split(/[^a-z0-9]+/i).filter(m=>m.length>0).map(m=>`${m[0].toLocaleUpperCase()}${m.slice(1).toLocaleLowerCase()}`).join("")).join(".");return`${e}const ${t} = ${h}${r||""}`}function Oa({title:s,text:e,externalCss:t,externalJs:o}){const n=re(e,Na),r=re(e,Ma),l=re(e,wa),p=Array.isArray(t)===!0?t:typeof t=="string"&&t.length>0?[t]:[],d=Array.isArray(o)===!0?o:typeof o=="string"&&o.length>0?[o]:[];d.indexOf(Ve)===-1&&d.unshift(Ve),l.code=l.code.replace(Ba,(I,g,M,S)=>(g.toLowerCase()==="js"?d.indexOf(S)===-1&&d.push(S):p.indexOf(S)===-1&&p.push(S),"")),l.code=l.code.replaceAll(Ca,Ha);let h=n.code.replace(/(