From bffe50c3f0bfdc015fdec4c33d14ad3901a6137a Mon Sep 17 00:00:00 2001 From: clbenoit Date: Mon, 5 Feb 2024 19:59:04 +0000 Subject: [PATCH] deploy: 114525e8c4932f261d295eb952820c17a4db4008 --- assets/{gsea-y71olmfi.js => gsea-dtyTpzUk.js} | 2 +- assets/index-3u8UHlXK.js | 4 ++++ assets/{index-kRAGv2oN.js => index-E1NXSbeB.js} | 2 +- assets/{index-nbfTX0V9.js => index-I4kVRDhD.js} | 4 ++-- assets/{index-T-AAo6NI.js => index-QbmQW5FQ.js} | 2 +- assets/index-XO0v8I_d.js | 2 -- assets/{index-hGOEVByQ.js => index-lJCbH7DK.js} | 2 +- ...{react-timeline-ih9CFvSy.js => react-timeline-4oB-cdeB.js} | 2 +- assets/{somavardb-FN_ecsZ4.js => somavardb-5HCvrsDZ.js} | 2 +- index.html | 2 +- 10 files changed, 13 insertions(+), 11 deletions(-) rename assets/{gsea-y71olmfi.js => gsea-dtyTpzUk.js} (98%) create mode 100644 assets/index-3u8UHlXK.js rename assets/{index-kRAGv2oN.js => index-E1NXSbeB.js} (57%) rename assets/{index-nbfTX0V9.js => index-I4kVRDhD.js} (91%) rename assets/{index-T-AAo6NI.js => index-QbmQW5FQ.js} (96%) delete mode 100644 assets/index-XO0v8I_d.js rename assets/{index-hGOEVByQ.js => index-lJCbH7DK.js} (89%) rename assets/{react-timeline-ih9CFvSy.js => react-timeline-4oB-cdeB.js} (99%) rename assets/{somavardb-FN_ecsZ4.js => somavardb-5HCvrsDZ.js} (90%) diff --git a/assets/gsea-y71olmfi.js b/assets/gsea-dtyTpzUk.js similarity index 98% rename from assets/gsea-y71olmfi.js rename to assets/gsea-dtyTpzUk.js index 1630dbb..5d43073 100644 --- a/assets/gsea-y71olmfi.js +++ b/assets/gsea-dtyTpzUk.js @@ -1,4 +1,4 @@ -import{d as s,j as e}from"./index-nbfTX0V9.js";const r={layout:"minimal",authors:["[cbenoit](www.linkedin.com/in/clement-benoit)"],date:"2024-02-15",title:"A quick overview of GSEA analysis",description:"undefined"};function t(i){const n={a:"a",div:"div",em:"em",h1:"h1",h2:"h2",header:"header",li:"li",ol:"ol",p:"p",section:"section",strong:"strong",sup:"sup",...s(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx(n.header,{children:e.jsxs(n.h1,{id:"a-quick-overview-of-gsea-analysis",children:["A quick overview of GSEA analysis",e.jsx(n.a,{"aria-hidden":"true",tabIndex:"-1",href:"#a-quick-overview-of-gsea-analysis",children:e.jsx(n.div,{"data-autolink-icon":!0})})]})}),` +import{d as s,j as e}from"./index-I4kVRDhD.js";const r={layout:"minimal",authors:["[cbenoit](www.linkedin.com/in/clement-benoit)"],date:"2024-02-15",title:"A quick overview of GSEA analysis",description:"undefined"};function t(i){const n={a:"a",div:"div",em:"em",h1:"h1",h2:"h2",header:"header",li:"li",ol:"ol",p:"p",section:"section",strong:"strong",sup:"sup",...s(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx(n.header,{children:e.jsxs(n.h1,{id:"a-quick-overview-of-gsea-analysis",children:["A quick overview of GSEA analysis",e.jsx(n.a,{"aria-hidden":"true",tabIndex:"-1",href:"#a-quick-overview-of-gsea-analysis",children:e.jsx(n.div,{"data-autolink-icon":!0})})]})}),` `,e.jsxs(n.h2,{id:"why-gsea-analysis-",children:["Why GSEA Analysis ?",e.jsx(n.a,{"aria-hidden":"true",tabIndex:"-1",href:"#why-gsea-analysis-",children:e.jsx(n.div,{"data-autolink-icon":!0})})]}),` `,e.jsxs(n.p,{children:[`Genome wide expression analysis has become become a mainstay of genomics research. However, there is still a wide range of tools for interpreting these gene expression profiles. They all have their advantages and disadvantages, and are still evolving. This, coupled with the fact that these studies rely on the testing of a large number of hypotheses and relatively small sample sizes, lead that whole-genome expression studies in particular, to be often not reproducible. This is why reproducibility is one of the major challenges facing studies involving whole-genome expression data. `,e.jsx(n.sup,{children:e.jsx(n.a,{href:"#user-content-fn-1",id:"user-content-fnref-1","data-footnote-ref":!0,"aria-describedby":"footnote-label",children:"1"})}),", ",e.jsx(n.sup,{children:e.jsx(n.a,{href:"#user-content-fn-2",id:"user-content-fnref-2","data-footnote-ref":!0,"aria-describedby":"footnote-label",children:"2"})}),", ",e.jsx(n.sup,{children:e.jsx(n.a,{href:"#user-content-fn-3",id:"user-content-fnref-3","data-footnote-ref":!0,"aria-describedby":"footnote-label",children:"3"})})]}),` diff --git a/assets/index-3u8UHlXK.js b/assets/index-3u8UHlXK.js new file mode 100644 index 0000000..31b0ae2 --- /dev/null +++ b/assets/index-3u8UHlXK.js @@ -0,0 +1,4 @@ +import{j as e,L as p,c as s,u as v,a as b,R as f,b as _,T as r,C as l,d as h}from"./index-I4kVRDhD.js";var N="vocs_Button_button",H="vocs_Button_button_accent";function P({children:n,className:t,href:i,variant:j}){return e.jsx(p,{className:s(t,N,j==="accent"&&H),href:i,variant:"styleless",children:n})}var y="vocs_HomePage_button",k="vocs_HomePage_buttons",C="vocs_HomePage_description",L="vocs_HomePage_logo",c="vocs_HomePage_packageManager",B="vocs_HomePage",M="vocs_HomePage_tabs",m="vocs_HomePage_tabsContent",R="vocs_HomePage_tabsList",T="vocs_HomePage_tagline",w="vocs_HomePage_title";function u({children:n,className:t}){return e.jsx("div",{className:s(t,B),children:n})}function I({className:n}){const{logoUrl:t,title:i}=v();return t?e.jsx("div",{className:s(n,L),children:e.jsx(b,{})}):e.jsx("h1",{className:s(n,w),children:i})}function d({children:n,className:t}){return e.jsx("div",{className:s(t,T),children:n})}function $({children:n,className:t}){return e.jsx("div",{className:s(t,C),children:n})}function x({children:n,className:t}){return e.jsx("div",{className:s(t,k),children:n})}function o(n){return e.jsx(P,{...n,className:s(y,n.className)})}function D({name:n,type:t="install"}){return e.jsxs(f,{className:M,defaultValue:"npm",children:[e.jsxs(_,{className:R,children:[e.jsx(r,{value:"npm",children:"npm"}),e.jsx(r,{value:"pnpm",children:"pnpm"}),e.jsx(r,{value:"yarn",children:"yarn"})]}),e.jsxs(l,{className:m,value:"npm",children:[e.jsx("span",{className:c,children:"npm"})," ",t==="init"?"init":"install"," ",n]}),e.jsxs(l,{className:m,value:"pnpm",children:[e.jsx("span",{className:c,children:"pnpm"})," ",t==="init"?"create":"install"," ",n]}),e.jsxs(l,{className:m,value:"yarn",children:[e.jsx("span",{className:c,children:"yarn"})," ",t==="init"?"create":"install"," ",n]})]})}const E=Object.freeze(Object.defineProperty({__proto__:null,Button:o,Buttons:x,Description:$,InstallPackage:D,Logo:I,Root:u,Tagline:d},Symbol.toStringTag,{value:"Module"})),S={layout:"landing"};function g(n){const t={a:"a",p:"p",...h(),...n.components};return E||a("HomePage",!1),o||a("HomePage.Button",!0),x||a("HomePage.Buttons",!0),u||a("HomePage.Root",!0),d||a("HomePage.Tagline",!0),e.jsxs(u,{children:[e.jsxs(d,{children:[e.jsx("h1",{style:{fontSize:"32px"},children:"I'm Clement BENOIT"}),e.jsx("br",{}),e.jsxs(t.p,{children:["I'm a Grenoble based ",e.jsx("b",{children:"data engineer with a specialty in omics bioinformatics "}),`, currently working +at `,e.jsx("b",{children:"Grenoble Alpes University Hospital (CHUGA)"}),", helping build tools to leverage health data for clinical diagnosis.",e.jsx("br",{}),e.jsx("br",{})]}),e.jsx("p",{className:"prose-sm text-stone-200 sm:prose-base lg:prose-lg",children:e.jsxs(t.p,{children:["In my free time time, you can catch me training in ",e.jsx("strong",{className:"text-stone-100",children:"skateboard"}),`, +looking after my `,e.jsx("strong",{className:"text-stone-100",children:"plants"}),", or exploring the beautiful"," ",` +`,e.jsx("strong",{className:"text-stone-100",children:"alpine mountains"}),"."]})}),e.jsx("br",{})]}),e.jsxs(x,{children:[e.jsx(o,{href:"/projects",variant:"accent",children:"See my projects"}),e.jsx(o,{href:"https://github.com/clbenoit",children:"GitHub"}),e.jsx(o,{href:"https://linkedin.com/in/clement-benoit",children:"Linkedin"})]}),e.jsx("br",{}),e.jsx("h2",{href:"mailto:your@email.com",variant:"email-link",children:e.jsx(t.a,{href:"mailto:benoitclement.sand@gmail.com",children:"benoitclement.sand@gmail.com"})})]})}function O(n={}){const{wrapper:t}={...h(),...n.components};return t?e.jsx(t,{...n,children:e.jsx(g,{...n})}):g(n)}function a(n,t){throw new Error("Expected "+(t?"component":"object")+" `"+n+"` to be defined: you likely forgot to import, pass, or provide it.")}export{O as default,S as frontmatter}; diff --git a/assets/index-kRAGv2oN.js b/assets/index-E1NXSbeB.js similarity index 57% rename from assets/index-kRAGv2oN.js rename to assets/index-E1NXSbeB.js index e74569b..a73f13c 100644 --- a/assets/index-kRAGv2oN.js +++ b/assets/index-E1NXSbeB.js @@ -1 +1 @@ -import{d as r,j as n}from"./index-nbfTX0V9.js";import s from"./react-timeline-ih9CFvSy.js";const m={layout:"default"};function o(t){return n.jsx(s,{})}function i(t={}){const{wrapper:e}={...r(),...t.components};return e?n.jsx(e,{...t,children:n.jsx(o,{...t})}):o()}export{i as default,m as frontmatter}; +import{d as r,j as n}from"./index-I4kVRDhD.js";import s from"./react-timeline-4oB-cdeB.js";const m={layout:"default"};function o(t){return n.jsx(s,{})}function i(t={}){const{wrapper:e}={...r(),...t.components};return e?n.jsx(e,{...t,children:n.jsx(o,{...t})}):o()}export{i as default,m as frontmatter}; diff --git a/assets/index-nbfTX0V9.js b/assets/index-I4kVRDhD.js similarity index 91% rename from assets/index-nbfTX0V9.js rename to assets/index-I4kVRDhD.js index ab1018f..300d1de 100644 --- a/assets/index-nbfTX0V9.js +++ b/assets/index-I4kVRDhD.js @@ -65,7 +65,7 @@ Error generating stack: `+i.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function wo(){return wo=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[o]=e[o]);return n}function q3(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function ex(e,t){return e.button===0&&(!t||t==="_self")&&!q3(e)}const tx=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"];function nx(e,t){return C3({basename:t==null?void 0:t.basename,future:wo({},t==null?void 0:t.future,{v7_prependBasename:!0}),history:Ww({window:t==null?void 0:t.window}),hydrationData:(t==null?void 0:t.hydrationData)||rx(),routes:e,mapRouteProperties:X3,window:t==null?void 0:t.window}).initialize()}function rx(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=wo({},t,{errors:ox(t.errors)})),t}function ox(e){if(!e)return null;let t=Object.entries(e),n={};for(let[r,o]of t)if(o&&o.__type==="RouteErrorResponse")n[r]=new Lf(o.status,o.statusText,o.data,o.internal===!0);else if(o&&o.__type==="Error"){if(o.__subType){let i=window[o.__subType];if(typeof i=="function")try{let a=new i(o.message);a.stack="",n[r]=a}catch{}}if(n[r]==null){let i=new Error(o.message);i.stack="",n[r]=i}}else n[r]=o;return n}const ix=h.createContext({isTransitioning:!1}),ax=h.createContext(new Map),lx="startTransition",Uh=Sl[lx],sx="flushSync",Hh=Vw[sx];function cx(e){Uh?Uh(e):e()}function Vo(e){Hh?Hh(e):e()}class ux{constructor(){this.status="pending",this.promise=new Promise((t,n)=>{this.resolve=r=>{this.status==="pending"&&(this.status="resolved",t(r))},this.reject=r=>{this.status==="pending"&&(this.status="rejected",n(r))}})}}function fx(e){let{fallbackElement:t,router:n,future:r}=e,[o,i]=h.useState(n.state),[a,l]=h.useState(),[s,u]=h.useState({isTransitioning:!1}),[f,c]=h.useState(),[d,p]=h.useState(),[y,g]=h.useState(),C=h.useRef(new Map),{v7_startTransition:v}=r||{},m=h.useCallback(b=>{v?cx(b):b()},[v]),x=h.useCallback((b,$)=>{let{deletedFetchers:R,unstable_flushSync:P,unstable_viewTransitionOpts:j}=$;R.forEach(D=>C.current.delete(D)),b.fetchers.forEach((D,N)=>{D.data!==void 0&&C.current.set(N,D.data)});let I=n.window==null||typeof n.window.document.startViewTransition!="function";if(!j||I){P?Vo(()=>i(b)):m(()=>i(b));return}if(P){Vo(()=>{d&&(f&&f.resolve(),d.skipTransition()),u({isTransitioning:!0,flushSync:!0,currentLocation:j.currentLocation,nextLocation:j.nextLocation})});let D=n.window.document.startViewTransition(()=>{Vo(()=>i(b))});D.finished.finally(()=>{Vo(()=>{c(void 0),p(void 0),l(void 0),u({isTransitioning:!1})})}),Vo(()=>p(D));return}d?(f&&f.resolve(),d.skipTransition(),g({state:b,currentLocation:j.currentLocation,nextLocation:j.nextLocation})):(l(b),u({isTransitioning:!0,flushSync:!1,currentLocation:j.currentLocation,nextLocation:j.nextLocation}))},[n.window,d,f,C,m]);h.useLayoutEffect(()=>n.subscribe(x),[n,x]),h.useEffect(()=>{s.isTransitioning&&!s.flushSync&&c(new ux)},[s]),h.useEffect(()=>{if(f&&a&&n.window){let b=a,$=f.promise,R=n.window.document.startViewTransition(async()=>{m(()=>i(b)),await $});R.finished.finally(()=>{c(void 0),p(void 0),l(void 0),u({isTransitioning:!1})}),p(R)}},[m,a,f,n.window]),h.useEffect(()=>{f&&a&&o.location.key===a.location.key&&f.resolve()},[f,d,o.location,a]),h.useEffect(()=>{!s.isTransitioning&&y&&(l(y.state),u({isTransitioning:!0,flushSync:!1,currentLocation:y.currentLocation,nextLocation:y.nextLocation}),g(void 0))},[s.isTransitioning,y]),h.useEffect(()=>{},[]);let E=h.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:b=>n.navigate(b),push:(b,$,R)=>n.navigate(b,{state:$,preventScrollReset:R==null?void 0:R.preventScrollReset}),replace:(b,$,R)=>n.navigate(b,{replace:!0,state:$,preventScrollReset:R==null?void 0:R.preventScrollReset})}),[n]),_=n.basename||"/",S=h.useMemo(()=>({router:n,navigator:E,static:!1,basename:_}),[n,E,_]);return h.createElement(h.Fragment,null,h.createElement(zi.Provider,{value:S},h.createElement(Mf.Provider,{value:o},h.createElement(ax.Provider,{value:C.current},h.createElement(ix.Provider,{value:s},h.createElement(Z3,{basename:_,location:o.location,navigationType:o.historyAction,navigator:E,future:{v7_relativeSplatPath:n.future.v7_relativeSplatPath}},o.initialized||n.future.v7_partialHydration?h.createElement(dx,{routes:n.routes,future:n.future,state:o}):t))))),null)}function dx(e){let{routes:t,future:n,state:r}=e;return j3(t,void 0,r,n)}const hx=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",px=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,O0=h.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:i,replace:a,state:l,target:s,to:u,preventScrollReset:f,unstable_viewTransition:c}=t,d=J3(t,tx),{basename:p}=h.useContext(tr),y,g=!1;if(typeof u=="string"&&px.test(u)&&(y=u,hx))try{let x=new URL(window.location.href),E=u.startsWith("//")?new URL(x.protocol+u):new URL(u),_=$r(E.pathname,p);E.origin===x.origin&&_!=null?u=_+E.search+E.hash:g=!0}catch{}let C=L3(u,{relative:o}),v=yx(u,{replace:a,state:l,target:s,preventScrollReset:f,relative:o,unstable_viewTransition:c});function m(x){r&&r(x),x.defaultPrevented||v(x)}return h.createElement("a",wo({},d,{href:y||C,onClick:g||i?r:m,ref:n,target:s}))});function vx(e){let{getKey:t,storageKey:n}=e;return wx({getKey:t,storageKey:n}),null}var ru;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(ru||(ru={}));var ou;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(ou||(ou={}));function mx(e){let t=h.useContext(zi);return t||te(!1),t}function gx(e){let t=h.useContext(Mf);return t||te(!1),t}function yx(e,t){let{target:n,replace:r,state:o,preventScrollReset:i,relative:a,unstable_viewTransition:l}=t===void 0?{}:t,s=jf(),u=ke(),f=N0(e,{relative:a});return h.useCallback(c=>{if(ex(c,n)){c.preventDefault();let d=r!==void 0?r:Cr(u)===Cr(f);s(e,{replace:d,state:o,preventScrollReset:i,relative:a,unstable_viewTransition:l})}},[u,s,f,r,o,n,e,i,a,l])}const Vh="react-router-scroll-positions";let ha={};function wx(e){let{getKey:t,storageKey:n}=e===void 0?{}:e,{router:r}=mx(ru.UseScrollRestoration),{restoreScrollPosition:o,preventScrollReset:i}=gx(ou.UseScrollRestoration),{basename:a}=h.useContext(tr),l=ke(),s=K3(),u=W3();h.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),xx(h.useCallback(()=>{if(u.state==="idle"){let f=(t?t(l,s):null)||l.key;ha[f]=window.scrollY}try{sessionStorage.setItem(n||Vh,JSON.stringify(ha))}catch{}window.history.scrollRestoration="auto"},[n,t,u.state,l,s])),typeof document<"u"&&(h.useLayoutEffect(()=>{try{let f=sessionStorage.getItem(n||Vh);f&&(ha=JSON.parse(f))}catch{}},[n]),h.useLayoutEffect(()=>{let f=t&&a!=="/"?(d,p)=>t(wo({},d,{pathname:$r(d.pathname,a)||d.pathname}),p):t,c=r==null?void 0:r.enableScrollRestoration(ha,()=>window.scrollY,f);return()=>c&&c()},[r,a,t]),h.useLayoutEffect(()=>{if(o!==!1){if(typeof o=="number"){window.scrollTo(0,o);return}if(l.hash){let f=document.getElementById(decodeURIComponent(l.hash.slice(1)));if(f){f.scrollIntoView();return}}i!==!0&&window.scrollTo(0,0)}},[l,o,i]))}function xx(e,t){let{capture:n}=t||{};h.useEffect(()=>{let r=n!=null?{capture:n}:void 0;return window.addEventListener("pagehide",e,r),()=>{window.removeEventListener("pagehide",e,r)}},[e,n])}const L0={blogDir:"./pages/blog",rootDir:"docs",title:"Home",titleTemplate:"%s – Home",topNav:[{text:"CV",link:"/CV",id:48,items:[]},{text:"Blog",link:"/blog",id:49,items:[]}],sidebar:[{text:"Projects",link:"/projects"},{text:"SomaVarDB",link:"/projects/somavardb"}],markdown:{code:{keepBackground:!1,theme:{dark:"github-dark-dimmed",light:"github-light"}}},socials:[],theme:{}},I0=h.createContext(L0);function Cx({children:e,config:t}){const[n,r]=h.useState(()=>t||(typeof window<"u",L0));return h.useEffect(()=>{},[]),h.useEffect(()=>{typeof window<"u"},[n]),w.jsx(I0.Provider,{value:n,children:e})}function It(){return h.useContext(I0)}const Ex="modulepreload",Sx=function(e){return"/"+e},Wh={},gt=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){const i=document.getElementsByTagName("link");o=Promise.all(n.map(a=>{if(a=Sx(a),a in Wh)return;Wh[a]=!0;const l=a.endsWith(".css"),s=l?'[rel="stylesheet"]':"";if(!!r)for(let c=i.length-1;c>=0;c--){const d=i[c];if(d.href===a&&(!l||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${s}`))return;const f=document.createElement("link");if(f.rel=l?"stylesheet":Ex,l||(f.as="script",f.crossOrigin=""),f.href=a,document.head.appendChild(f),l)return new Promise((c,d)=>{f.addEventListener("load",c),f.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${a}`)))})}))}return o.then(()=>t()).catch(i=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i})},Ff=[{lazy:()=>gt(()=>import("./index-XO0v8I_d.js"),__vite__mapDeps([])),path:"/",type:"mdx",filePath:"index.mdx",lastUpdatedAt:170716155e4},{lazy:()=>gt(()=>import("./index-kRAGv2oN.js"),__vite__mapDeps([0,1])),path:"/CV",type:"mdx",filePath:"CV/index.mdx",lastUpdatedAt:170716155e4},{lazy:()=>gt(()=>import("./index-kRAGv2oN.js"),__vite__mapDeps([0,1])),path:"/CV.html",type:"mdx",filePath:"CV/index.mdx",lastUpdatedAt:170716155e4},{lazy:()=>gt(()=>import("./react-timeline-ih9CFvSy.js"),__vite__mapDeps([])),path:"/CV/react-timeline",type:"jsx",filePath:"CV/react-timeline.jsx",lastUpdatedAt:170716155e4},{lazy:()=>gt(()=>import("./react-timeline-ih9CFvSy.js"),__vite__mapDeps([])),path:"/CV/react-timeline.html",type:"jsx",filePath:"CV/react-timeline.jsx",lastUpdatedAt:170716155e4},{lazy:()=>gt(()=>import("./gsea-y71olmfi.js"),__vite__mapDeps([])),path:"/blog/gsea",type:"mdx",filePath:"blog/gsea.mdx",lastUpdatedAt:170716155e4},{lazy:()=>gt(()=>import("./gsea-y71olmfi.js"),__vite__mapDeps([])),path:"/blog/gsea.html",type:"mdx",filePath:"blog/gsea.mdx",lastUpdatedAt:170716155e4},{lazy:()=>gt(()=>import("./index-hGOEVByQ.js"),__vite__mapDeps([])),path:"/blog",type:"mdx",filePath:"blog/index.mdx",lastUpdatedAt:170716155e4},{lazy:()=>gt(()=>import("./index-hGOEVByQ.js"),__vite__mapDeps([])),path:"/blog.html",type:"mdx",filePath:"blog/index.mdx",lastUpdatedAt:170716155e4},{lazy:()=>gt(()=>import("./index-T-AAo6NI.js"),__vite__mapDeps([])),path:"/projects",type:"mdx",filePath:"projects/index.mdx",lastUpdatedAt:170716155e4},{lazy:()=>gt(()=>import("./index-T-AAo6NI.js"),__vite__mapDeps([])),path:"/projects.html",type:"mdx",filePath:"projects/index.mdx",lastUpdatedAt:170716155e4},{lazy:()=>gt(()=>import("./somavardb-FN_ecsZ4.js"),__vite__mapDeps([])),path:"/projects/somavardb",type:"mdx",filePath:"projects/somavardb.mdx",lastUpdatedAt:170716155e4},{lazy:()=>gt(()=>import("./somavardb-FN_ecsZ4.js"),__vite__mapDeps([])),path:"/projects/somavardb.html",type:"mdx",filePath:"projects/somavardb.mdx",lastUpdatedAt:170716155e4}];var Is={horizontalPadding:"var(--vocs-content_horizontalPadding)",verticalPadding:"var(--vocs-content_verticalPadding)",width:"var(--vocs-content_width)"},_x={default:"system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif",mono:'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace'},bx={default:"var(--vocs-fontFamily_default)",mono:"var(--vocs-fontFamily_mono)"},Kh={white:"var(--vocs-color_white)",black:"var(--vocs-color_black)",background:"var(--vocs-color_background)",background2:"var(--vocs-color_background2)",background3:"var(--vocs-color_background3)",background4:"var(--vocs-color_background4)",background5:"var(--vocs-color_background5)",backgroundAccent:"var(--vocs-color_backgroundAccent)",backgroundAccentHover:"var(--vocs-color_backgroundAccentHover)",backgroundAccentText:"var(--vocs-color_backgroundAccentText)",backgroundBlueTint:"var(--vocs-color_backgroundBlueTint)",backgroundDark:"var(--vocs-color_backgroundDark)",backgroundGreenTint:"var(--vocs-color_backgroundGreenTint)",backgroundGreenTint2:"var(--vocs-color_backgroundGreenTint2)",backgroundIrisTint:"var(--vocs-color_backgroundIrisTint)",backgroundRedTint:"var(--vocs-color_backgroundRedTint)",backgroundRedTint2:"var(--vocs-color_backgroundRedTint2)",backgroundYellowTint:"var(--vocs-color_backgroundYellowTint)",border:"var(--vocs-color_border)",border2:"var(--vocs-color_border2)",borderAccent:"var(--vocs-color_borderAccent)",borderBlue:"var(--vocs-color_borderBlue)",borderGreen:"var(--vocs-color_borderGreen)",borderIris:"var(--vocs-color_borderIris)",borderRed:"var(--vocs-color_borderRed)",borderYellow:"var(--vocs-color_borderYellow)",heading:"var(--vocs-color_heading)",inverted:"var(--vocs-color_inverted)",shadow:"var(--vocs-color_shadow)",shadow2:"var(--vocs-color_shadow2)",text:"var(--vocs-color_text)",text2:"var(--vocs-color_text2)",text3:"var(--vocs-color_text3)",text4:"var(--vocs-color_text4)",textAccent:"var(--vocs-color_textAccent)",textAccentHover:"var(--vocs-color_textAccentHover)",textBlue:"var(--vocs-color_textBlue)",textBlueHover:"var(--vocs-color_textBlueHover)",textGreen:"var(--vocs-color_textGreen)",textGreenHover:"var(--vocs-color_textGreenHover)",textIris:"var(--vocs-color_textIris)",textIrisHover:"var(--vocs-color_textIrisHover)",textRed:"var(--vocs-color_textRed)",textRedHover:"var(--vocs-color_textRedHover)",textYellow:"var(--vocs-color_textYellow)",textYellowHover:"var(--vocs-color_textYellowHover)",title:"var(--vocs-color_title)"},Ms={0:"var(--vocs-space_0)",1:"var(--vocs-space_1)",2:"var(--vocs-space_2)",3:"var(--vocs-space_3)",4:"var(--vocs-space_4)",6:"var(--vocs-space_6)",8:"var(--vocs-space_8)",12:"var(--vocs-space_12)",14:"var(--vocs-space_14)",16:"var(--vocs-space_16)",18:"var(--vocs-space_18)",20:"var(--vocs-space_20)",22:"var(--vocs-space_22)",24:"var(--vocs-space_24)",28:"var(--vocs-space_28)",32:"var(--vocs-space_32)",36:"var(--vocs-space_36)",40:"var(--vocs-space_40)",44:"var(--vocs-space_44)",48:"var(--vocs-space_48)",56:"var(--vocs-space_56)",64:"var(--vocs-space_64)",72:"var(--vocs-space_72)",80:"var(--vocs-space_80)"};function M0(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;tw.jsx("a",{ref:i,className:L(e,n||typeof t!="string"?void 0:$x),href:r,target:"_blank",rel:"noopener noreferrer",...o,children:t}));var Yh="vocs_Link_accent_underlined",Gh="vocs_Link",Qh="vocs_Link_styleless",iu=new Map,pa=new WeakMap,Zh=0,Rx=void 0;function kx(e){return e?(pa.has(e)||(Zh+=1,pa.set(e,Zh.toString())),pa.get(e)):"0"}function Nx(e){return Object.keys(e).sort().filter(t=>e[t]!==void 0).map(t=>`${t}_${t==="root"?kx(e.root):e[t]}`).toString()}function Px(e){let t=Nx(e),n=iu.get(t);if(!n){const r=new Map;let o;const i=new IntersectionObserver(a=>{a.forEach(l=>{var s;const u=l.isIntersecting&&o.some(f=>l.intersectionRatio>=f);e.trackVisibility&&typeof l.isVisible>"u"&&(l.isVisible=u),(s=r.get(l.target))==null||s.forEach(f=>{f(u,l)})})},e);o=i.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:i,elements:r},iu.set(t,n)}return n}function Ax(e,t,n={},r=Rx){if(typeof window.IntersectionObserver>"u"&&r!==void 0){const s=e.getBoundingClientRect();return t(r,{isIntersecting:r,target:e,intersectionRatio:typeof n.threshold=="number"?n.threshold:0,time:0,boundingClientRect:s,intersectionRect:s,rootBounds:s}),()=>{}}const{id:o,observer:i,elements:a}=Px(n);let l=a.get(e)||[];return a.has(e)||a.set(e,l),l.push(t),i.observe(e),function(){l.splice(l.indexOf(t),1),l.length===0&&(a.delete(e),i.unobserve(e)),a.size===0&&(i.disconnect(),iu.delete(o))}}function j0({threshold:e,delay:t,trackVisibility:n,rootMargin:r,root:o,triggerOnce:i,skip:a,initialInView:l,fallbackInView:s,onChange:u}={}){var f;const[c,d]=h.useState(null),p=h.useRef(),[y,g]=h.useState({inView:!!l,entry:void 0});p.current=u,h.useEffect(()=>{if(a||!c)return;let x;return x=Ax(c,(E,_)=>{g({inView:E,entry:_}),p.current&&p.current(E,_),_.isIntersecting&&i&&x&&(x(),x=void 0)},{root:o,rootMargin:r,threshold:e,trackVisibility:n,delay:t},s),()=>{x&&x()}},[Array.isArray(e)?e.toString():e,c,o,r,i,a,n,s,t]);const C=(f=y.entry)==null?void 0:f.target,v=h.useRef();!c&&C&&!i&&!a&&v.current!==C&&(v.current=C,g({inView:!!l,entry:void 0}));const m=[d,y.inView,y.entry];return m.ref=m[0],m.inView=m[1],m.entry=m[2],m}function Ox(...e){return t=>{Lx(t,...e)}}function Lx(e,...t){t.forEach(n=>{typeof n=="function"?n(e):n!=null&&(n.current=e)})}const Yn=h.forwardRef((e,t)=>{const n=()=>{var i;return(i=Ff.find(a=>a.path===e.to))==null?void 0:i.lazy()},{ref:r,inView:o}=j0();return h.useEffect(()=>{o&&n()},[o,n]),w.jsx(O0,{ref:Ox(t,r),...e})}),tn=h.forwardRef((e,t)=>{const{href:n,variant:r="accent underlined"}=e,{pathname:o}=ke();if(n!=null&&n.match(/^(www|https?)/))return w.jsx(Tx,{...e,ref:t,className:L(e.className,Gh,r==="accent underlined"&&Yh,r==="styleless"&&Qh),hideExternalIcon:e.hideExternalIcon});const[i,a]=(n||"").split("#"),l=`${i||o}${a?`#${a}`:""}`;return w.jsx(Yn,{...e,ref:t,className:L(e.className,Gh,r==="accent underlined"&&Yh,r==="styleless"&&Qh),to:l})});var Ix="vocs_NotFound_divider",Mx="vocs_NotFound",jx="vocs_H1",D0="vocs_Heading",F0="vocs_Heading_slugTarget";function To({level:e,...t}){const n=`h${e}`;return w.jsxs(n,{...t,id:void 0,className:L(t.className,D0),children:[w.jsx("div",{id:t.id,className:F0}),t.children]})}function z0(e){return w.jsx(To,{...e,className:L(e.className,jx),level:1})}var Dx="vocs_Paragraph";function B0(e){return w.jsx("p",{...e,className:L(e.className,Dx)})}function Fx(){return w.jsxs("div",{className:Mx,children:[w.jsx(z0,{children:"Page Not Found"}),w.jsx("div",{style:{height:Ms[24]}}),w.jsx("hr",{className:Ix}),w.jsx("div",{style:{height:Ms[24]}}),w.jsx(B0,{children:"The page you were looking for could not be found."}),w.jsx("div",{style:{height:Ms[8]}}),w.jsx(tn,{href:"/",children:"Go to Home Page"})]})}function Xh(e){var t=e.match(/^var\((.*)\)$/);return t?t[1]:e}function zx(e,t){var n=e;for(var r of t){if(!(r in n))throw new Error("Path ".concat(t.join(" -> ")," does not exist in object"));n=n[r]}return n}function U0(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],r=e.constructor();for(var o in e){var i=e[o],a=[...n,o];typeof i=="string"||typeof i=="number"||i==null?r[o]=t(i,a):typeof i=="object"&&!Array.isArray(i)?r[o]=U0(i,t,a):console.warn('Skipping invalid key "'.concat(a.join("."),'". Should be a string, number, null or object. Received: "').concat(Array.isArray(i)?"Array":typeof i,'"'))}return r}function Er(e,t){var n={};if(typeof t=="object"){var r=e;U0(t,(l,s)=>{if(l!=null){var u=zx(r,s);n[Xh(u)]=String(l)}})}else{var o=e;for(var i in o){var a=o[i];a!=null&&(n[Xh(i)]=a)}}return Object.defineProperty(n,"toString",{value:function(){return Object.keys(this).map(s=>"".concat(s,":").concat(this[s])).join(";")},writable:!1}),n}var Bx="var(--vocs_Banner_bannerBackgroundColor)",Ux="var(--vocs_Banner_bannerHeight)",Hx="var(--vocs_Banner_bannerTextColor)",Vx="vocs_Banner_closeButton",Wx="vocs_Banner_content",Kx="vocs_Banner_inner",Yx="vocs_Banner";const Gx=Object.getPrototypeOf(Qx).constructor;async function Qx(e,t){return new Gx(String(e))(t)}function Zx(e,t){return new Function(String(e))(t)}function Rr(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i=0)&&(n[o]=e[o]);return n}var Xx=["color"],Jx=h.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Rr(e,Xx);return h.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),h.createElement("path",{d:"M6.85355 3.14645C7.04882 3.34171 7.04882 3.65829 6.85355 3.85355L3.70711 7H12.5C12.7761 7 13 7.22386 13 7.5C13 7.77614 12.7761 8 12.5 8H3.70711L6.85355 11.1464C7.04882 11.3417 7.04882 11.6583 6.85355 11.8536C6.65829 12.0488 6.34171 12.0488 6.14645 11.8536L2.14645 7.85355C1.95118 7.65829 1.95118 7.34171 2.14645 7.14645L6.14645 3.14645C6.34171 2.95118 6.65829 2.95118 6.85355 3.14645Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),qx=["color"],e5=h.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Rr(e,qx);return h.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),h.createElement("path",{d:"M6.1584 3.13508C6.35985 2.94621 6.67627 2.95642 6.86514 3.15788L10.6151 7.15788C10.7954 7.3502 10.7954 7.64949 10.6151 7.84182L6.86514 11.8418C6.67627 12.0433 6.35985 12.0535 6.1584 11.8646C5.95694 11.6757 5.94673 11.3593 6.1356 11.1579L9.565 7.49985L6.1356 3.84182C5.94673 3.64036 5.95694 3.32394 6.1584 3.13508Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),t5=["color"],n5=h.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Rr(e,t5);return h.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),h.createElement("path",{d:"M12.8536 2.85355C13.0488 2.65829 13.0488 2.34171 12.8536 2.14645C12.6583 1.95118 12.3417 1.95118 12.1464 2.14645L7.5 6.79289L2.85355 2.14645C2.65829 1.95118 2.34171 1.95118 2.14645 2.14645C1.95118 2.34171 1.95118 2.65829 2.14645 2.85355L6.79289 7.5L2.14645 12.1464C1.95118 12.3417 1.95118 12.6583 2.14645 12.8536C2.34171 13.0488 2.65829 13.0488 2.85355 12.8536L7.5 8.20711L12.1464 12.8536C12.3417 13.0488 12.6583 13.0488 12.8536 12.8536C13.0488 12.6583 13.0488 12.3417 12.8536 12.1464L8.20711 7.5L12.8536 2.85355Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),r5=["color"],o5=h.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Rr(e,r5);return h.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),h.createElement("path",{d:"M3.5 2C3.22386 2 3 2.22386 3 2.5V12.5C3 12.7761 3.22386 13 3.5 13H11.5C11.7761 13 12 12.7761 12 12.5V6H8.5C8.22386 6 8 5.77614 8 5.5V2H3.5ZM9 2.70711L11.2929 5H9V2.70711ZM2 2.5C2 1.67157 2.67157 1 3.5 1H8.5C8.63261 1 8.75979 1.05268 8.85355 1.14645L12.8536 5.14645C12.9473 5.24021 13 5.36739 13 5.5V12.5C13 13.3284 12.3284 14 11.5 14H3.5C2.67157 14 2 13.3284 2 12.5V2.5Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),i5=["color"],a5=h.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Rr(e,i5);return h.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),h.createElement("path",{d:"M1.5 5.25C1.91421 5.25 2.25 4.91421 2.25 4.5C2.25 4.08579 1.91421 3.75 1.5 3.75C1.08579 3.75 0.75 4.08579 0.75 4.5C0.75 4.91421 1.08579 5.25 1.5 5.25ZM4 4.5C4 4.22386 4.22386 4 4.5 4H13.5C13.7761 4 14 4.22386 14 4.5C14 4.77614 13.7761 5 13.5 5H4.5C4.22386 5 4 4.77614 4 4.5ZM4.5 7C4.22386 7 4 7.22386 4 7.5C4 7.77614 4.22386 8 4.5 8H13.5C13.7761 8 14 7.77614 14 7.5C14 7.22386 13.7761 7 13.5 7H4.5ZM4.5 10C4.22386 10 4 10.2239 4 10.5C4 10.7761 4.22386 11 4.5 11H13.5C13.7761 11 14 10.7761 14 10.5C14 10.2239 13.7761 10 13.5 10H4.5ZM2.25 7.5C2.25 7.91421 1.91421 8.25 1.5 8.25C1.08579 8.25 0.75 7.91421 0.75 7.5C0.75 7.08579 1.08579 6.75 1.5 6.75C1.91421 6.75 2.25 7.08579 2.25 7.5ZM1.5 11.25C1.91421 11.25 2.25 10.9142 2.25 10.5C2.25 10.0858 1.91421 9.75 1.5 9.75C1.08579 9.75 0.75 10.0858 0.75 10.5C0.75 10.9142 1.08579 11.25 1.5 11.25Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),l5=["color"],zf=h.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Rr(e,l5);return h.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),h.createElement("path",{d:"M10 6.5C10 8.433 8.433 10 6.5 10C4.567 10 3 8.433 3 6.5C3 4.567 4.567 3 6.5 3C8.433 3 10 4.567 10 6.5ZM9.30884 10.0159C8.53901 10.6318 7.56251 11 6.5 11C4.01472 11 2 8.98528 2 6.5C2 4.01472 4.01472 2 6.5 2C8.98528 2 11 4.01472 11 6.5C11 7.56251 10.6318 8.53901 10.0159 9.30884L12.8536 12.1464C13.0488 12.3417 13.0488 12.6583 12.8536 12.8536C12.6583 13.0488 12.3417 13.0488 12.1464 12.8536L9.30884 10.0159Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),s5=["color"],c5=h.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Rr(e,s5);return h.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),h.createElement("path",{d:"M12.1464 1.14645C12.3417 0.951184 12.6583 0.951184 12.8535 1.14645L14.8535 3.14645C15.0488 3.34171 15.0488 3.65829 14.8535 3.85355L10.9109 7.79618C10.8349 7.87218 10.7471 7.93543 10.651 7.9835L6.72359 9.94721C6.53109 10.0435 6.29861 10.0057 6.14643 9.85355C5.99425 9.70137 5.95652 9.46889 6.05277 9.27639L8.01648 5.34897C8.06455 5.25283 8.1278 5.16507 8.2038 5.08907L12.1464 1.14645ZM12.5 2.20711L8.91091 5.79618L7.87266 7.87267L8.12731 8.12732L10.2038 7.08907L13.7929 3.5L12.5 2.20711ZM9.99998 2L8.99998 3H4.9C4.47171 3 4.18056 3.00039 3.95552 3.01877C3.73631 3.03668 3.62421 3.06915 3.54601 3.10899C3.35785 3.20487 3.20487 3.35785 3.10899 3.54601C3.06915 3.62421 3.03669 3.73631 3.01878 3.95552C3.00039 4.18056 3 4.47171 3 4.9V11.1C3 11.5283 3.00039 11.8194 3.01878 12.0445C3.03669 12.2637 3.06915 12.3758 3.10899 12.454C3.20487 12.6422 3.35785 12.7951 3.54601 12.891C3.62421 12.9309 3.73631 12.9633 3.95552 12.9812C4.18056 12.9996 4.47171 13 4.9 13H11.1C11.5283 13 11.8194 12.9996 12.0445 12.9812C12.2637 12.9633 12.3758 12.9309 12.454 12.891C12.6422 12.7951 12.7951 12.6422 12.891 12.454C12.9309 12.3758 12.9633 12.2637 12.9812 12.0445C12.9996 11.8194 13 11.5283 13 11.1V6.99998L14 5.99998V11.1V11.1207C14 11.5231 14 11.8553 13.9779 12.1259C13.9549 12.407 13.9057 12.6653 13.782 12.908C13.5903 13.2843 13.2843 13.5903 12.908 13.782C12.6653 13.9057 12.407 13.9549 12.1259 13.9779C11.8553 14 11.5231 14 11.1207 14H11.1H4.9H4.87934C4.47686 14 4.14468 14 3.87409 13.9779C3.59304 13.9549 3.33469 13.9057 3.09202 13.782C2.7157 13.5903 2.40973 13.2843 2.21799 12.908C2.09434 12.6653 2.04506 12.407 2.0221 12.1259C1.99999 11.8553 1.99999 11.5231 2 11.1207V11.1206V11.1V4.9V4.87935V4.87932V4.87931C1.99999 4.47685 1.99999 4.14468 2.0221 3.87409C2.04506 3.59304 2.09434 3.33469 2.21799 3.09202C2.40973 2.71569 2.7157 2.40973 3.09202 2.21799C3.33469 2.09434 3.59304 2.04506 3.87409 2.0221C4.14468 1.99999 4.47685 1.99999 4.87932 2H4.87935H4.9H9.99998Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))});function au(e,t){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map((r,o)=>au(r,o));const n=e.props.children?{...e.props,children:au(e.props.children)}:e.props;return Q.createElement(e.type,{...n,key:t})}function u5({hide:e}){const{banner:t}=It(),n=h.useMemo(()=>{const r=(t==null?void 0:t.content)??"";if(!r)return null;if(typeof r!="string")return()=>au(r);const{default:o}=Zx(r,{...zy,Fragment:h.Fragment});return o},[t]);return n?w.jsx("div",{className:L(Yx),style:Er({[Bx]:t==null?void 0:t.backgroundColor,[Hx]:t==null?void 0:t.textColor}),children:w.jsxs("div",{className:L(Kx),children:[w.jsx("div",{className:L(Wx),children:w.jsx(n,{})}),(t==null?void 0:t.dismissable)!=="false"&&w.jsx("button",{className:L(Vx),onClick:e,type:"button",children:w.jsx(n5,{width:14,height:14})})]})}):null}var f5="vocs_Content";function H0({children:e,className:t}){return w.jsx("article",{className:L(t,f5),children:e})}function V0({items:e,pathname:t}){const n=t.replace(/\.html$/,""),r=[];for(const o of e)(o.link&&n.startsWith(o.match||o.link)||o.items&&V0({items:o.items,pathname:t}).length>0)&&r.push(o.id);return r}function Bi({items:e,pathname:t}){return h.useMemo(()=>V0({items:e,pathname:t}),[e,t])}function kr(){const e=h.useContext(W0);if(!e)throw new Error("`usePageData` must be used within `PageDataContext.Provider`.");return e}const W0=h.createContext(void 0);function Bl(){const{pathname:e}=ke(),t=It(),{sidebar:n}=t;if(!n)return{items:[]};if(Array.isArray(n))return{items:n};const r=h.useMemo(()=>{const o=Object.keys(n).filter(i=>e.startsWith(i));return o[o.length-1]},[n,e]);return r?Array.isArray(n[r])?{key:r,items:n[r]}:{...n[r],key:r}:{items:[]}}function Nr(){const e=Bl(),{frontmatter:t}=kr(),{layout:n,showLogo:r,showOutline:o,showSidebar:i,showTopNav:a}=t||{},l=n??"docs";return{layout:l,get showLogo(){return typeof r<"u"?r:!0},get showOutline(){return typeof o<"u"?o:l==="docs"},get showSidebar(){return e.items.length===0?!1:typeof i<"u"?i:!(l==="minimal"||l==="landing")},get showTopNav(){return typeof a<"u"?a:!0}}}function d5(){const[e,t]=h.useState(()=>{if(!(typeof window>"u")){if(localStorage.getItem("vocs.theme")){const n=localStorage.getItem("vocs.theme");if(n)return n}return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}});return h.useEffect(()=>{e&&localStorage.setItem("vocs.theme",e),e==="dark"?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark")},[e]),{theme:e,toggle(){t(n=>n==="light"?"dark":"light")}}}var h5="vocs_utils_visibleDark",p5="vocs_utils_visibleLight",K0="vocs_utils_visuallyHidden";function Y(){return Y=Object.assign?Object.assign.bind():function(e){for(var t=1;te.forEach(n=>v5(n,t))}function ze(...e){return h.useCallback(Y0(...e),e)}function Cn(e,t=[]){let n=[];function r(i,a){const l=h.createContext(a),s=n.length;n=[...n,a];function u(c){const{scope:d,children:p,...y}=c,g=(d==null?void 0:d[e][s])||l,C=h.useMemo(()=>y,Object.values(y));return h.createElement(g.Provider,{value:C},p)}function f(c,d){const p=(d==null?void 0:d[e][s])||l,y=h.useContext(p);if(y)return y;if(a!==void 0)return a;throw new Error(`\`${c}\` must be used within \`${i}\``)}return u.displayName=i+"Provider",[u,f]}const o=()=>{const i=n.map(a=>h.createContext(a));return function(l){const s=(l==null?void 0:l[e])||i;return h.useMemo(()=>({[`__scope${e}`]:{...l,[e]:s}}),[l,s])}};return o.scopeName=e,[r,m5(o,...t)]}function m5(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const a=r.reduce((l,{useScope:s,scopeName:u})=>{const c=s(i)[`__scope${u}`];return{...l,...c}},{});return h.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}const mn=globalThis!=null&&globalThis.document?h.useLayoutEffect:()=>{},g5=Sl.useId||(()=>{});let y5=0;function nn(e){const[t,n]=h.useState(g5());return mn(()=>{e||n(r=>r??String(y5++))},[e]),e||(t?`radix-${t}`:"")}function ot(e){const t=h.useRef(e);return h.useEffect(()=>{t.current=e}),h.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function nr({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=w5({defaultProp:t,onChange:n}),i=e!==void 0,a=i?e:r,l=ot(n),s=h.useCallback(u=>{if(i){const c=typeof u=="function"?u(e):u;c!==e&&l(c)}else o(u)},[i,e,o,l]);return[a,s]}function w5({defaultProp:e,onChange:t}){const n=h.useState(e),[r]=n,o=h.useRef(r),i=ot(t);return h.useEffect(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}const xo=h.forwardRef((e,t)=>{const{children:n,...r}=e,o=h.Children.toArray(n),i=o.find(C5);if(i){const a=i.props.children,l=o.map(s=>s===i?h.Children.count(a)>1?h.Children.only(null):h.isValidElement(a)?a.props.children:null:s);return h.createElement(lu,Y({},r,{ref:t}),h.isValidElement(a)?h.cloneElement(a,void 0,l):null)}return h.createElement(lu,Y({},r,{ref:t}),n)});xo.displayName="Slot";const lu=h.forwardRef((e,t)=>{const{children:n,...r}=e;return h.isValidElement(n)?h.cloneElement(n,{...E5(r,n.props),ref:t?Y0(t,n.ref):n.ref}):h.Children.count(n)>1?h.Children.only(null):null});lu.displayName="SlotClone";const x5=({children:e})=>h.createElement(h.Fragment,null,e);function C5(e){return h.isValidElement(e)&&e.type===x5}function E5(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...l)=>{i(...l),o(...l)}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}const S5=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],ue=S5.reduce((e,t)=>{const n=h.forwardRef((r,o)=>{const{asChild:i,...a}=r,l=i?xo:t;return h.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),h.createElement(l,Y({},a,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function su(e,t){e&&bo.flushSync(()=>e.dispatchEvent(t))}function _5(e,t=globalThis==null?void 0:globalThis.document){const n=ot(e);h.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const cu="dismissableLayer.update",b5="dismissableLayer.pointerDownOutside",$5="dismissableLayer.focusOutside";let Jh;const T5=h.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Bf=h.forwardRef((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:l,onDismiss:s,...u}=e,f=h.useContext(T5),[c,d]=h.useState(null),p=(n=c==null?void 0:c.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,y]=h.useState({}),g=ze(t,$=>d($)),C=Array.from(f.layers),[v]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),m=C.indexOf(v),x=c?C.indexOf(c):-1,E=f.layersWithOutsidePointerEventsDisabled.size>0,_=x>=m,S=R5($=>{const R=$.target,P=[...f.branches].some(j=>j.contains(R));!_||P||(i==null||i($),l==null||l($),$.defaultPrevented||s==null||s())},p),b=k5($=>{const R=$.target;[...f.branches].some(j=>j.contains(R))||(a==null||a($),l==null||l($),$.defaultPrevented||s==null||s())},p);return _5($=>{x===f.layers.size-1&&(o==null||o($),!$.defaultPrevented&&s&&($.preventDefault(),s()))},p),h.useEffect(()=>{if(c)return r&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(Jh=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(c)),f.layers.add(c),qh(),()=>{r&&f.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=Jh)}},[c,p,r,f]),h.useEffect(()=>()=>{c&&(f.layers.delete(c),f.layersWithOutsidePointerEventsDisabled.delete(c),qh())},[c,f]),h.useEffect(()=>{const $=()=>y({});return document.addEventListener(cu,$),()=>document.removeEventListener(cu,$)},[]),h.createElement(ue.div,Y({},u,{ref:g,style:{pointerEvents:E?_?"auto":"none":void 0,...e.style},onFocusCapture:ae(e.onFocusCapture,b.onFocusCapture),onBlurCapture:ae(e.onBlurCapture,b.onBlurCapture),onPointerDownCapture:ae(e.onPointerDownCapture,S.onPointerDownCapture)}))});function R5(e,t=globalThis==null?void 0:globalThis.document){const n=ot(e),r=h.useRef(!1),o=h.useRef(()=>{});return h.useEffect(()=>{const i=l=>{if(l.target&&!r.current){let u=function(){G0(b5,n,s,{discrete:!0})};const s={originalEvent:l};l.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=u,t.addEventListener("click",o.current,{once:!0})):u()}else t.removeEventListener("click",o.current);r.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function k5(e,t=globalThis==null?void 0:globalThis.document){const n=ot(e),r=h.useRef(!1);return h.useEffect(()=>{const o=i=>{i.target&&!r.current&&G0($5,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function qh(){const e=new CustomEvent(cu);document.dispatchEvent(e)}function G0(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?su(o,i):o.dispatchEvent(i)}const js="focusScope.autoFocusOnMount",Ds="focusScope.autoFocusOnUnmount",ep={bubbles:!1,cancelable:!0},Q0=h.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[l,s]=h.useState(null),u=ot(o),f=ot(i),c=h.useRef(null),d=ze(t,g=>s(g)),p=h.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;h.useEffect(()=>{if(r){let g=function(x){if(p.paused||!l)return;const E=x.target;l.contains(E)?c.current=E:Nn(c.current,{select:!0})},C=function(x){if(p.paused||!l)return;const E=x.relatedTarget;E!==null&&(l.contains(E)||Nn(c.current,{select:!0}))},v=function(x){if(document.activeElement===document.body)for(const _ of x)_.removedNodes.length>0&&Nn(l)};document.addEventListener("focusin",g),document.addEventListener("focusout",C);const m=new MutationObserver(v);return l&&m.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",C),m.disconnect()}}},[r,l,p.paused]),h.useEffect(()=>{if(l){np.add(p);const g=document.activeElement;if(!l.contains(g)){const v=new CustomEvent(js,ep);l.addEventListener(js,u),l.dispatchEvent(v),v.defaultPrevented||(N5(I5(Z0(l)),{select:!0}),document.activeElement===g&&Nn(l))}return()=>{l.removeEventListener(js,u),setTimeout(()=>{const v=new CustomEvent(Ds,ep);l.addEventListener(Ds,f),l.dispatchEvent(v),v.defaultPrevented||Nn(g??document.body,{select:!0}),l.removeEventListener(Ds,f),np.remove(p)},0)}}},[l,u,f,p]);const y=h.useCallback(g=>{if(!n&&!r||p.paused)return;const C=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,v=document.activeElement;if(C&&v){const m=g.currentTarget,[x,E]=P5(m);x&&E?!g.shiftKey&&v===E?(g.preventDefault(),n&&Nn(x,{select:!0})):g.shiftKey&&v===x&&(g.preventDefault(),n&&Nn(E,{select:!0})):v===m&&g.preventDefault()}},[n,r,p.paused]);return h.createElement(ue.div,Y({tabIndex:-1},a,{ref:d,onKeyDown:y}))});function N5(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Nn(r,{select:t}),document.activeElement!==n)return}function P5(e){const t=Z0(e),n=tp(t,e),r=tp(t.reverse(),e);return[n,r]}function Z0(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function tp(e,t){for(const n of e)if(!A5(n,{upTo:t}))return n}function A5(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function O5(e){return e instanceof HTMLInputElement&&"select"in e}function Nn(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&O5(e)&&t&&e.select()}}const np=L5();function L5(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=rp(e,t),e.unshift(t)},remove(t){var n;e=rp(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function rp(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function I5(e){return e.filter(t=>t.tagName!=="A")}const X0=h.forwardRef((e,t)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=e;return r?v0.createPortal(h.createElement(ue.div,Y({},o,{ref:t})),r):null});function M5(e,t){return h.useReducer((n,r)=>{const o=t[n][r];return o??n},e)}const En=e=>{const{present:t,children:n}=e,r=j5(t),o=typeof n=="function"?n({present:r.isPresent}):h.Children.only(n),i=ze(r.ref,o.ref);return typeof n=="function"||r.isPresent?h.cloneElement(o,{ref:i}):null};En.displayName="Presence";function j5(e){const[t,n]=h.useState(),r=h.useRef({}),o=h.useRef(e),i=h.useRef("none"),a=e?"mounted":"unmounted",[l,s]=M5(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return h.useEffect(()=>{const u=va(r.current);i.current=l==="mounted"?u:"none"},[l]),mn(()=>{const u=r.current,f=o.current;if(f!==e){const d=i.current,p=va(u);e?s("MOUNT"):p==="none"||(u==null?void 0:u.display)==="none"?s("UNMOUNT"):s(f&&d!==p?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,s]),mn(()=>{if(t){const u=c=>{const p=va(r.current).includes(c.animationName);c.target===t&&p&&bo.flushSync(()=>s("ANIMATION_END"))},f=c=>{c.target===t&&(i.current=va(r.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else s("ANIMATION_END")},[t,s]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:h.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function va(e){return(e==null?void 0:e.animationName)||"none"}let Fs=0;function J0(){h.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:op()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:op()),Fs++,()=>{Fs===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),Fs--}},[])}function op(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var Jt=function(){return Jt=Object.assign||function(t){for(var n,r=1,o=arguments.length;r"u")return q5;var t=e4(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},n4=ng(),r4=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,l=e.gap;return n===void 0&&(n="margin"),` + */function wo(){return wo=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[o]=e[o]);return n}function q3(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function ex(e,t){return e.button===0&&(!t||t==="_self")&&!q3(e)}const tx=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"];function nx(e,t){return C3({basename:t==null?void 0:t.basename,future:wo({},t==null?void 0:t.future,{v7_prependBasename:!0}),history:Ww({window:t==null?void 0:t.window}),hydrationData:(t==null?void 0:t.hydrationData)||rx(),routes:e,mapRouteProperties:X3,window:t==null?void 0:t.window}).initialize()}function rx(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=wo({},t,{errors:ox(t.errors)})),t}function ox(e){if(!e)return null;let t=Object.entries(e),n={};for(let[r,o]of t)if(o&&o.__type==="RouteErrorResponse")n[r]=new Lf(o.status,o.statusText,o.data,o.internal===!0);else if(o&&o.__type==="Error"){if(o.__subType){let i=window[o.__subType];if(typeof i=="function")try{let a=new i(o.message);a.stack="",n[r]=a}catch{}}if(n[r]==null){let i=new Error(o.message);i.stack="",n[r]=i}}else n[r]=o;return n}const ix=h.createContext({isTransitioning:!1}),ax=h.createContext(new Map),lx="startTransition",Uh=Sl[lx],sx="flushSync",Hh=Vw[sx];function cx(e){Uh?Uh(e):e()}function Vo(e){Hh?Hh(e):e()}class ux{constructor(){this.status="pending",this.promise=new Promise((t,n)=>{this.resolve=r=>{this.status==="pending"&&(this.status="resolved",t(r))},this.reject=r=>{this.status==="pending"&&(this.status="rejected",n(r))}})}}function fx(e){let{fallbackElement:t,router:n,future:r}=e,[o,i]=h.useState(n.state),[a,l]=h.useState(),[s,u]=h.useState({isTransitioning:!1}),[f,c]=h.useState(),[d,p]=h.useState(),[y,g]=h.useState(),C=h.useRef(new Map),{v7_startTransition:v}=r||{},m=h.useCallback(b=>{v?cx(b):b()},[v]),x=h.useCallback((b,$)=>{let{deletedFetchers:R,unstable_flushSync:P,unstable_viewTransitionOpts:j}=$;R.forEach(D=>C.current.delete(D)),b.fetchers.forEach((D,N)=>{D.data!==void 0&&C.current.set(N,D.data)});let I=n.window==null||typeof n.window.document.startViewTransition!="function";if(!j||I){P?Vo(()=>i(b)):m(()=>i(b));return}if(P){Vo(()=>{d&&(f&&f.resolve(),d.skipTransition()),u({isTransitioning:!0,flushSync:!0,currentLocation:j.currentLocation,nextLocation:j.nextLocation})});let D=n.window.document.startViewTransition(()=>{Vo(()=>i(b))});D.finished.finally(()=>{Vo(()=>{c(void 0),p(void 0),l(void 0),u({isTransitioning:!1})})}),Vo(()=>p(D));return}d?(f&&f.resolve(),d.skipTransition(),g({state:b,currentLocation:j.currentLocation,nextLocation:j.nextLocation})):(l(b),u({isTransitioning:!0,flushSync:!1,currentLocation:j.currentLocation,nextLocation:j.nextLocation}))},[n.window,d,f,C,m]);h.useLayoutEffect(()=>n.subscribe(x),[n,x]),h.useEffect(()=>{s.isTransitioning&&!s.flushSync&&c(new ux)},[s]),h.useEffect(()=>{if(f&&a&&n.window){let b=a,$=f.promise,R=n.window.document.startViewTransition(async()=>{m(()=>i(b)),await $});R.finished.finally(()=>{c(void 0),p(void 0),l(void 0),u({isTransitioning:!1})}),p(R)}},[m,a,f,n.window]),h.useEffect(()=>{f&&a&&o.location.key===a.location.key&&f.resolve()},[f,d,o.location,a]),h.useEffect(()=>{!s.isTransitioning&&y&&(l(y.state),u({isTransitioning:!0,flushSync:!1,currentLocation:y.currentLocation,nextLocation:y.nextLocation}),g(void 0))},[s.isTransitioning,y]),h.useEffect(()=>{},[]);let E=h.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:b=>n.navigate(b),push:(b,$,R)=>n.navigate(b,{state:$,preventScrollReset:R==null?void 0:R.preventScrollReset}),replace:(b,$,R)=>n.navigate(b,{replace:!0,state:$,preventScrollReset:R==null?void 0:R.preventScrollReset})}),[n]),_=n.basename||"/",S=h.useMemo(()=>({router:n,navigator:E,static:!1,basename:_}),[n,E,_]);return h.createElement(h.Fragment,null,h.createElement(zi.Provider,{value:S},h.createElement(Mf.Provider,{value:o},h.createElement(ax.Provider,{value:C.current},h.createElement(ix.Provider,{value:s},h.createElement(Z3,{basename:_,location:o.location,navigationType:o.historyAction,navigator:E,future:{v7_relativeSplatPath:n.future.v7_relativeSplatPath}},o.initialized||n.future.v7_partialHydration?h.createElement(dx,{routes:n.routes,future:n.future,state:o}):t))))),null)}function dx(e){let{routes:t,future:n,state:r}=e;return j3(t,void 0,r,n)}const hx=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",px=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,O0=h.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:i,replace:a,state:l,target:s,to:u,preventScrollReset:f,unstable_viewTransition:c}=t,d=J3(t,tx),{basename:p}=h.useContext(tr),y,g=!1;if(typeof u=="string"&&px.test(u)&&(y=u,hx))try{let x=new URL(window.location.href),E=u.startsWith("//")?new URL(x.protocol+u):new URL(u),_=$r(E.pathname,p);E.origin===x.origin&&_!=null?u=_+E.search+E.hash:g=!0}catch{}let C=L3(u,{relative:o}),v=yx(u,{replace:a,state:l,target:s,preventScrollReset:f,relative:o,unstable_viewTransition:c});function m(x){r&&r(x),x.defaultPrevented||v(x)}return h.createElement("a",wo({},d,{href:y||C,onClick:g||i?r:m,ref:n,target:s}))});function vx(e){let{getKey:t,storageKey:n}=e;return wx({getKey:t,storageKey:n}),null}var ru;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(ru||(ru={}));var ou;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(ou||(ou={}));function mx(e){let t=h.useContext(zi);return t||te(!1),t}function gx(e){let t=h.useContext(Mf);return t||te(!1),t}function yx(e,t){let{target:n,replace:r,state:o,preventScrollReset:i,relative:a,unstable_viewTransition:l}=t===void 0?{}:t,s=jf(),u=ke(),f=N0(e,{relative:a});return h.useCallback(c=>{if(ex(c,n)){c.preventDefault();let d=r!==void 0?r:Cr(u)===Cr(f);s(e,{replace:d,state:o,preventScrollReset:i,relative:a,unstable_viewTransition:l})}},[u,s,f,r,o,n,e,i,a,l])}const Vh="react-router-scroll-positions";let ha={};function wx(e){let{getKey:t,storageKey:n}=e===void 0?{}:e,{router:r}=mx(ru.UseScrollRestoration),{restoreScrollPosition:o,preventScrollReset:i}=gx(ou.UseScrollRestoration),{basename:a}=h.useContext(tr),l=ke(),s=K3(),u=W3();h.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),xx(h.useCallback(()=>{if(u.state==="idle"){let f=(t?t(l,s):null)||l.key;ha[f]=window.scrollY}try{sessionStorage.setItem(n||Vh,JSON.stringify(ha))}catch{}window.history.scrollRestoration="auto"},[n,t,u.state,l,s])),typeof document<"u"&&(h.useLayoutEffect(()=>{try{let f=sessionStorage.getItem(n||Vh);f&&(ha=JSON.parse(f))}catch{}},[n]),h.useLayoutEffect(()=>{let f=t&&a!=="/"?(d,p)=>t(wo({},d,{pathname:$r(d.pathname,a)||d.pathname}),p):t,c=r==null?void 0:r.enableScrollRestoration(ha,()=>window.scrollY,f);return()=>c&&c()},[r,a,t]),h.useLayoutEffect(()=>{if(o!==!1){if(typeof o=="number"){window.scrollTo(0,o);return}if(l.hash){let f=document.getElementById(decodeURIComponent(l.hash.slice(1)));if(f){f.scrollIntoView();return}}i!==!0&&window.scrollTo(0,0)}},[l,o,i]))}function xx(e,t){let{capture:n}=t||{};h.useEffect(()=>{let r=n!=null?{capture:n}:void 0;return window.addEventListener("pagehide",e,r),()=>{window.removeEventListener("pagehide",e,r)}},[e,n])}const L0={blogDir:"./pages/blog",rootDir:"docs",title:"Home",titleTemplate:"%s – Home",topNav:[{text:"CV",link:"/CV",id:44,items:[]},{text:"Blog",link:"/blog",id:45,items:[]}],sidebar:[{text:"Projects",link:"/projects"},{text:"SomaVarDB",link:"/projects/somavardb"}],markdown:{code:{keepBackground:!1,theme:{dark:"github-dark-dimmed",light:"github-light"}}},socials:[],theme:{}},I0=h.createContext(L0);function Cx({children:e,config:t}){const[n,r]=h.useState(()=>t||(typeof window<"u",L0));return h.useEffect(()=>{},[]),h.useEffect(()=>{typeof window<"u"},[n]),w.jsx(I0.Provider,{value:n,children:e})}function It(){return h.useContext(I0)}const Ex="modulepreload",Sx=function(e){return"/"+e},Wh={},gt=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){const i=document.getElementsByTagName("link");o=Promise.all(n.map(a=>{if(a=Sx(a),a in Wh)return;Wh[a]=!0;const l=a.endsWith(".css"),s=l?'[rel="stylesheet"]':"";if(!!r)for(let c=i.length-1;c>=0;c--){const d=i[c];if(d.href===a&&(!l||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${s}`))return;const f=document.createElement("link");if(f.rel=l?"stylesheet":Ex,l||(f.as="script",f.crossOrigin=""),f.href=a,document.head.appendChild(f),l)return new Promise((c,d)=>{f.addEventListener("load",c),f.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${a}`)))})}))}return o.then(()=>t()).catch(i=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i})},Ff=[{lazy:()=>gt(()=>import("./index-3u8UHlXK.js"),__vite__mapDeps([])),path:"/",type:"mdx",filePath:"index.mdx",lastUpdatedAt:1707163112e3},{lazy:()=>gt(()=>import("./index-E1NXSbeB.js"),__vite__mapDeps([0,1])),path:"/CV",type:"mdx",filePath:"CV/index.mdx",lastUpdatedAt:1707163112e3},{lazy:()=>gt(()=>import("./index-E1NXSbeB.js"),__vite__mapDeps([0,1])),path:"/CV.html",type:"mdx",filePath:"CV/index.mdx",lastUpdatedAt:1707163112e3},{lazy:()=>gt(()=>import("./react-timeline-4oB-cdeB.js"),__vite__mapDeps([])),path:"/CV/react-timeline",type:"jsx",filePath:"CV/react-timeline.jsx",lastUpdatedAt:1707163112e3},{lazy:()=>gt(()=>import("./react-timeline-4oB-cdeB.js"),__vite__mapDeps([])),path:"/CV/react-timeline.html",type:"jsx",filePath:"CV/react-timeline.jsx",lastUpdatedAt:1707163112e3},{lazy:()=>gt(()=>import("./gsea-dtyTpzUk.js"),__vite__mapDeps([])),path:"/blog/gsea",type:"mdx",filePath:"blog/gsea.mdx",lastUpdatedAt:1707163112e3},{lazy:()=>gt(()=>import("./gsea-dtyTpzUk.js"),__vite__mapDeps([])),path:"/blog/gsea.html",type:"mdx",filePath:"blog/gsea.mdx",lastUpdatedAt:1707163112e3},{lazy:()=>gt(()=>import("./index-lJCbH7DK.js"),__vite__mapDeps([])),path:"/blog",type:"mdx",filePath:"blog/index.mdx",lastUpdatedAt:1707163112e3},{lazy:()=>gt(()=>import("./index-lJCbH7DK.js"),__vite__mapDeps([])),path:"/blog.html",type:"mdx",filePath:"blog/index.mdx",lastUpdatedAt:1707163112e3},{lazy:()=>gt(()=>import("./index-QbmQW5FQ.js"),__vite__mapDeps([])),path:"/projects",type:"mdx",filePath:"projects/index.mdx",lastUpdatedAt:1707163112e3},{lazy:()=>gt(()=>import("./index-QbmQW5FQ.js"),__vite__mapDeps([])),path:"/projects.html",type:"mdx",filePath:"projects/index.mdx",lastUpdatedAt:1707163112e3},{lazy:()=>gt(()=>import("./somavardb-5HCvrsDZ.js"),__vite__mapDeps([])),path:"/projects/somavardb",type:"mdx",filePath:"projects/somavardb.mdx",lastUpdatedAt:1707163112e3},{lazy:()=>gt(()=>import("./somavardb-5HCvrsDZ.js"),__vite__mapDeps([])),path:"/projects/somavardb.html",type:"mdx",filePath:"projects/somavardb.mdx",lastUpdatedAt:1707163112e3}];var Is={horizontalPadding:"var(--vocs-content_horizontalPadding)",verticalPadding:"var(--vocs-content_verticalPadding)",width:"var(--vocs-content_width)"},_x={default:"system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif",mono:'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace'},bx={default:"var(--vocs-fontFamily_default)",mono:"var(--vocs-fontFamily_mono)"},Kh={white:"var(--vocs-color_white)",black:"var(--vocs-color_black)",background:"var(--vocs-color_background)",background2:"var(--vocs-color_background2)",background3:"var(--vocs-color_background3)",background4:"var(--vocs-color_background4)",background5:"var(--vocs-color_background5)",backgroundAccent:"var(--vocs-color_backgroundAccent)",backgroundAccentHover:"var(--vocs-color_backgroundAccentHover)",backgroundAccentText:"var(--vocs-color_backgroundAccentText)",backgroundBlueTint:"var(--vocs-color_backgroundBlueTint)",backgroundDark:"var(--vocs-color_backgroundDark)",backgroundGreenTint:"var(--vocs-color_backgroundGreenTint)",backgroundGreenTint2:"var(--vocs-color_backgroundGreenTint2)",backgroundIrisTint:"var(--vocs-color_backgroundIrisTint)",backgroundRedTint:"var(--vocs-color_backgroundRedTint)",backgroundRedTint2:"var(--vocs-color_backgroundRedTint2)",backgroundYellowTint:"var(--vocs-color_backgroundYellowTint)",border:"var(--vocs-color_border)",border2:"var(--vocs-color_border2)",borderAccent:"var(--vocs-color_borderAccent)",borderBlue:"var(--vocs-color_borderBlue)",borderGreen:"var(--vocs-color_borderGreen)",borderIris:"var(--vocs-color_borderIris)",borderRed:"var(--vocs-color_borderRed)",borderYellow:"var(--vocs-color_borderYellow)",heading:"var(--vocs-color_heading)",inverted:"var(--vocs-color_inverted)",shadow:"var(--vocs-color_shadow)",shadow2:"var(--vocs-color_shadow2)",text:"var(--vocs-color_text)",text2:"var(--vocs-color_text2)",text3:"var(--vocs-color_text3)",text4:"var(--vocs-color_text4)",textAccent:"var(--vocs-color_textAccent)",textAccentHover:"var(--vocs-color_textAccentHover)",textBlue:"var(--vocs-color_textBlue)",textBlueHover:"var(--vocs-color_textBlueHover)",textGreen:"var(--vocs-color_textGreen)",textGreenHover:"var(--vocs-color_textGreenHover)",textIris:"var(--vocs-color_textIris)",textIrisHover:"var(--vocs-color_textIrisHover)",textRed:"var(--vocs-color_textRed)",textRedHover:"var(--vocs-color_textRedHover)",textYellow:"var(--vocs-color_textYellow)",textYellowHover:"var(--vocs-color_textYellowHover)",title:"var(--vocs-color_title)"},Ms={0:"var(--vocs-space_0)",1:"var(--vocs-space_1)",2:"var(--vocs-space_2)",3:"var(--vocs-space_3)",4:"var(--vocs-space_4)",6:"var(--vocs-space_6)",8:"var(--vocs-space_8)",12:"var(--vocs-space_12)",14:"var(--vocs-space_14)",16:"var(--vocs-space_16)",18:"var(--vocs-space_18)",20:"var(--vocs-space_20)",22:"var(--vocs-space_22)",24:"var(--vocs-space_24)",28:"var(--vocs-space_28)",32:"var(--vocs-space_32)",36:"var(--vocs-space_36)",40:"var(--vocs-space_40)",44:"var(--vocs-space_44)",48:"var(--vocs-space_48)",56:"var(--vocs-space_56)",64:"var(--vocs-space_64)",72:"var(--vocs-space_72)",80:"var(--vocs-space_80)"};function M0(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;tw.jsx("a",{ref:i,className:L(e,n||typeof t!="string"?void 0:$x),href:r,target:"_blank",rel:"noopener noreferrer",...o,children:t}));var Yh="vocs_Link_accent_underlined",Gh="vocs_Link",Qh="vocs_Link_styleless",iu=new Map,pa=new WeakMap,Zh=0,Rx=void 0;function kx(e){return e?(pa.has(e)||(Zh+=1,pa.set(e,Zh.toString())),pa.get(e)):"0"}function Nx(e){return Object.keys(e).sort().filter(t=>e[t]!==void 0).map(t=>`${t}_${t==="root"?kx(e.root):e[t]}`).toString()}function Px(e){let t=Nx(e),n=iu.get(t);if(!n){const r=new Map;let o;const i=new IntersectionObserver(a=>{a.forEach(l=>{var s;const u=l.isIntersecting&&o.some(f=>l.intersectionRatio>=f);e.trackVisibility&&typeof l.isVisible>"u"&&(l.isVisible=u),(s=r.get(l.target))==null||s.forEach(f=>{f(u,l)})})},e);o=i.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:i,elements:r},iu.set(t,n)}return n}function Ax(e,t,n={},r=Rx){if(typeof window.IntersectionObserver>"u"&&r!==void 0){const s=e.getBoundingClientRect();return t(r,{isIntersecting:r,target:e,intersectionRatio:typeof n.threshold=="number"?n.threshold:0,time:0,boundingClientRect:s,intersectionRect:s,rootBounds:s}),()=>{}}const{id:o,observer:i,elements:a}=Px(n);let l=a.get(e)||[];return a.has(e)||a.set(e,l),l.push(t),i.observe(e),function(){l.splice(l.indexOf(t),1),l.length===0&&(a.delete(e),i.unobserve(e)),a.size===0&&(i.disconnect(),iu.delete(o))}}function j0({threshold:e,delay:t,trackVisibility:n,rootMargin:r,root:o,triggerOnce:i,skip:a,initialInView:l,fallbackInView:s,onChange:u}={}){var f;const[c,d]=h.useState(null),p=h.useRef(),[y,g]=h.useState({inView:!!l,entry:void 0});p.current=u,h.useEffect(()=>{if(a||!c)return;let x;return x=Ax(c,(E,_)=>{g({inView:E,entry:_}),p.current&&p.current(E,_),_.isIntersecting&&i&&x&&(x(),x=void 0)},{root:o,rootMargin:r,threshold:e,trackVisibility:n,delay:t},s),()=>{x&&x()}},[Array.isArray(e)?e.toString():e,c,o,r,i,a,n,s,t]);const C=(f=y.entry)==null?void 0:f.target,v=h.useRef();!c&&C&&!i&&!a&&v.current!==C&&(v.current=C,g({inView:!!l,entry:void 0}));const m=[d,y.inView,y.entry];return m.ref=m[0],m.inView=m[1],m.entry=m[2],m}function Ox(...e){return t=>{Lx(t,...e)}}function Lx(e,...t){t.forEach(n=>{typeof n=="function"?n(e):n!=null&&(n.current=e)})}const Yn=h.forwardRef((e,t)=>{const n=()=>{var i;return(i=Ff.find(a=>a.path===e.to))==null?void 0:i.lazy()},{ref:r,inView:o}=j0();return h.useEffect(()=>{o&&n()},[o,n]),w.jsx(O0,{ref:Ox(t,r),...e})}),tn=h.forwardRef((e,t)=>{const{href:n,variant:r="accent underlined"}=e,{pathname:o}=ke();if(n!=null&&n.match(/^(www|https?)/))return w.jsx(Tx,{...e,ref:t,className:L(e.className,Gh,r==="accent underlined"&&Yh,r==="styleless"&&Qh),hideExternalIcon:e.hideExternalIcon});const[i,a]=(n||"").split("#"),l=`${i||o}${a?`#${a}`:""}`;return w.jsx(Yn,{...e,ref:t,className:L(e.className,Gh,r==="accent underlined"&&Yh,r==="styleless"&&Qh),to:l})});var Ix="vocs_NotFound_divider",Mx="vocs_NotFound",jx="vocs_H1",D0="vocs_Heading",F0="vocs_Heading_slugTarget";function To({level:e,...t}){const n=`h${e}`;return w.jsxs(n,{...t,id:void 0,className:L(t.className,D0),children:[w.jsx("div",{id:t.id,className:F0}),t.children]})}function z0(e){return w.jsx(To,{...e,className:L(e.className,jx),level:1})}var Dx="vocs_Paragraph";function B0(e){return w.jsx("p",{...e,className:L(e.className,Dx)})}function Fx(){return w.jsxs("div",{className:Mx,children:[w.jsx(z0,{children:"Page Not Found"}),w.jsx("div",{style:{height:Ms[24]}}),w.jsx("hr",{className:Ix}),w.jsx("div",{style:{height:Ms[24]}}),w.jsx(B0,{children:"The page you were looking for could not be found."}),w.jsx("div",{style:{height:Ms[8]}}),w.jsx(tn,{href:"/",children:"Go to Home Page"})]})}function Xh(e){var t=e.match(/^var\((.*)\)$/);return t?t[1]:e}function zx(e,t){var n=e;for(var r of t){if(!(r in n))throw new Error("Path ".concat(t.join(" -> ")," does not exist in object"));n=n[r]}return n}function U0(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],r=e.constructor();for(var o in e){var i=e[o],a=[...n,o];typeof i=="string"||typeof i=="number"||i==null?r[o]=t(i,a):typeof i=="object"&&!Array.isArray(i)?r[o]=U0(i,t,a):console.warn('Skipping invalid key "'.concat(a.join("."),'". Should be a string, number, null or object. Received: "').concat(Array.isArray(i)?"Array":typeof i,'"'))}return r}function Er(e,t){var n={};if(typeof t=="object"){var r=e;U0(t,(l,s)=>{if(l!=null){var u=zx(r,s);n[Xh(u)]=String(l)}})}else{var o=e;for(var i in o){var a=o[i];a!=null&&(n[Xh(i)]=a)}}return Object.defineProperty(n,"toString",{value:function(){return Object.keys(this).map(s=>"".concat(s,":").concat(this[s])).join(";")},writable:!1}),n}var Bx="var(--vocs_Banner_bannerBackgroundColor)",Ux="var(--vocs_Banner_bannerHeight)",Hx="var(--vocs_Banner_bannerTextColor)",Vx="vocs_Banner_closeButton",Wx="vocs_Banner_content",Kx="vocs_Banner_inner",Yx="vocs_Banner";const Gx=Object.getPrototypeOf(Qx).constructor;async function Qx(e,t){return new Gx(String(e))(t)}function Zx(e,t){return new Function(String(e))(t)}function Rr(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i=0)&&(n[o]=e[o]);return n}var Xx=["color"],Jx=h.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Rr(e,Xx);return h.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),h.createElement("path",{d:"M6.85355 3.14645C7.04882 3.34171 7.04882 3.65829 6.85355 3.85355L3.70711 7H12.5C12.7761 7 13 7.22386 13 7.5C13 7.77614 12.7761 8 12.5 8H3.70711L6.85355 11.1464C7.04882 11.3417 7.04882 11.6583 6.85355 11.8536C6.65829 12.0488 6.34171 12.0488 6.14645 11.8536L2.14645 7.85355C1.95118 7.65829 1.95118 7.34171 2.14645 7.14645L6.14645 3.14645C6.34171 2.95118 6.65829 2.95118 6.85355 3.14645Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),qx=["color"],e5=h.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Rr(e,qx);return h.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),h.createElement("path",{d:"M6.1584 3.13508C6.35985 2.94621 6.67627 2.95642 6.86514 3.15788L10.6151 7.15788C10.7954 7.3502 10.7954 7.64949 10.6151 7.84182L6.86514 11.8418C6.67627 12.0433 6.35985 12.0535 6.1584 11.8646C5.95694 11.6757 5.94673 11.3593 6.1356 11.1579L9.565 7.49985L6.1356 3.84182C5.94673 3.64036 5.95694 3.32394 6.1584 3.13508Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),t5=["color"],n5=h.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Rr(e,t5);return h.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),h.createElement("path",{d:"M12.8536 2.85355C13.0488 2.65829 13.0488 2.34171 12.8536 2.14645C12.6583 1.95118 12.3417 1.95118 12.1464 2.14645L7.5 6.79289L2.85355 2.14645C2.65829 1.95118 2.34171 1.95118 2.14645 2.14645C1.95118 2.34171 1.95118 2.65829 2.14645 2.85355L6.79289 7.5L2.14645 12.1464C1.95118 12.3417 1.95118 12.6583 2.14645 12.8536C2.34171 13.0488 2.65829 13.0488 2.85355 12.8536L7.5 8.20711L12.1464 12.8536C12.3417 13.0488 12.6583 13.0488 12.8536 12.8536C13.0488 12.6583 13.0488 12.3417 12.8536 12.1464L8.20711 7.5L12.8536 2.85355Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),r5=["color"],o5=h.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Rr(e,r5);return h.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),h.createElement("path",{d:"M3.5 2C3.22386 2 3 2.22386 3 2.5V12.5C3 12.7761 3.22386 13 3.5 13H11.5C11.7761 13 12 12.7761 12 12.5V6H8.5C8.22386 6 8 5.77614 8 5.5V2H3.5ZM9 2.70711L11.2929 5H9V2.70711ZM2 2.5C2 1.67157 2.67157 1 3.5 1H8.5C8.63261 1 8.75979 1.05268 8.85355 1.14645L12.8536 5.14645C12.9473 5.24021 13 5.36739 13 5.5V12.5C13 13.3284 12.3284 14 11.5 14H3.5C2.67157 14 2 13.3284 2 12.5V2.5Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),i5=["color"],a5=h.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Rr(e,i5);return h.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),h.createElement("path",{d:"M1.5 5.25C1.91421 5.25 2.25 4.91421 2.25 4.5C2.25 4.08579 1.91421 3.75 1.5 3.75C1.08579 3.75 0.75 4.08579 0.75 4.5C0.75 4.91421 1.08579 5.25 1.5 5.25ZM4 4.5C4 4.22386 4.22386 4 4.5 4H13.5C13.7761 4 14 4.22386 14 4.5C14 4.77614 13.7761 5 13.5 5H4.5C4.22386 5 4 4.77614 4 4.5ZM4.5 7C4.22386 7 4 7.22386 4 7.5C4 7.77614 4.22386 8 4.5 8H13.5C13.7761 8 14 7.77614 14 7.5C14 7.22386 13.7761 7 13.5 7H4.5ZM4.5 10C4.22386 10 4 10.2239 4 10.5C4 10.7761 4.22386 11 4.5 11H13.5C13.7761 11 14 10.7761 14 10.5C14 10.2239 13.7761 10 13.5 10H4.5ZM2.25 7.5C2.25 7.91421 1.91421 8.25 1.5 8.25C1.08579 8.25 0.75 7.91421 0.75 7.5C0.75 7.08579 1.08579 6.75 1.5 6.75C1.91421 6.75 2.25 7.08579 2.25 7.5ZM1.5 11.25C1.91421 11.25 2.25 10.9142 2.25 10.5C2.25 10.0858 1.91421 9.75 1.5 9.75C1.08579 9.75 0.75 10.0858 0.75 10.5C0.75 10.9142 1.08579 11.25 1.5 11.25Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),l5=["color"],zf=h.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Rr(e,l5);return h.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),h.createElement("path",{d:"M10 6.5C10 8.433 8.433 10 6.5 10C4.567 10 3 8.433 3 6.5C3 4.567 4.567 3 6.5 3C8.433 3 10 4.567 10 6.5ZM9.30884 10.0159C8.53901 10.6318 7.56251 11 6.5 11C4.01472 11 2 8.98528 2 6.5C2 4.01472 4.01472 2 6.5 2C8.98528 2 11 4.01472 11 6.5C11 7.56251 10.6318 8.53901 10.0159 9.30884L12.8536 12.1464C13.0488 12.3417 13.0488 12.6583 12.8536 12.8536C12.6583 13.0488 12.3417 13.0488 12.1464 12.8536L9.30884 10.0159Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),s5=["color"],c5=h.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Rr(e,s5);return h.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),h.createElement("path",{d:"M12.1464 1.14645C12.3417 0.951184 12.6583 0.951184 12.8535 1.14645L14.8535 3.14645C15.0488 3.34171 15.0488 3.65829 14.8535 3.85355L10.9109 7.79618C10.8349 7.87218 10.7471 7.93543 10.651 7.9835L6.72359 9.94721C6.53109 10.0435 6.29861 10.0057 6.14643 9.85355C5.99425 9.70137 5.95652 9.46889 6.05277 9.27639L8.01648 5.34897C8.06455 5.25283 8.1278 5.16507 8.2038 5.08907L12.1464 1.14645ZM12.5 2.20711L8.91091 5.79618L7.87266 7.87267L8.12731 8.12732L10.2038 7.08907L13.7929 3.5L12.5 2.20711ZM9.99998 2L8.99998 3H4.9C4.47171 3 4.18056 3.00039 3.95552 3.01877C3.73631 3.03668 3.62421 3.06915 3.54601 3.10899C3.35785 3.20487 3.20487 3.35785 3.10899 3.54601C3.06915 3.62421 3.03669 3.73631 3.01878 3.95552C3.00039 4.18056 3 4.47171 3 4.9V11.1C3 11.5283 3.00039 11.8194 3.01878 12.0445C3.03669 12.2637 3.06915 12.3758 3.10899 12.454C3.20487 12.6422 3.35785 12.7951 3.54601 12.891C3.62421 12.9309 3.73631 12.9633 3.95552 12.9812C4.18056 12.9996 4.47171 13 4.9 13H11.1C11.5283 13 11.8194 12.9996 12.0445 12.9812C12.2637 12.9633 12.3758 12.9309 12.454 12.891C12.6422 12.7951 12.7951 12.6422 12.891 12.454C12.9309 12.3758 12.9633 12.2637 12.9812 12.0445C12.9996 11.8194 13 11.5283 13 11.1V6.99998L14 5.99998V11.1V11.1207C14 11.5231 14 11.8553 13.9779 12.1259C13.9549 12.407 13.9057 12.6653 13.782 12.908C13.5903 13.2843 13.2843 13.5903 12.908 13.782C12.6653 13.9057 12.407 13.9549 12.1259 13.9779C11.8553 14 11.5231 14 11.1207 14H11.1H4.9H4.87934C4.47686 14 4.14468 14 3.87409 13.9779C3.59304 13.9549 3.33469 13.9057 3.09202 13.782C2.7157 13.5903 2.40973 13.2843 2.21799 12.908C2.09434 12.6653 2.04506 12.407 2.0221 12.1259C1.99999 11.8553 1.99999 11.5231 2 11.1207V11.1206V11.1V4.9V4.87935V4.87932V4.87931C1.99999 4.47685 1.99999 4.14468 2.0221 3.87409C2.04506 3.59304 2.09434 3.33469 2.21799 3.09202C2.40973 2.71569 2.7157 2.40973 3.09202 2.21799C3.33469 2.09434 3.59304 2.04506 3.87409 2.0221C4.14468 1.99999 4.47685 1.99999 4.87932 2H4.87935H4.9H9.99998Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))});function au(e,t){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map((r,o)=>au(r,o));const n=e.props.children?{...e.props,children:au(e.props.children)}:e.props;return Q.createElement(e.type,{...n,key:t})}function u5({hide:e}){const{banner:t}=It(),n=h.useMemo(()=>{const r=(t==null?void 0:t.content)??"";if(!r)return null;if(typeof r!="string")return()=>au(r);const{default:o}=Zx(r,{...zy,Fragment:h.Fragment});return o},[t]);return n?w.jsx("div",{className:L(Yx),style:Er({[Bx]:t==null?void 0:t.backgroundColor,[Hx]:t==null?void 0:t.textColor}),children:w.jsxs("div",{className:L(Kx),children:[w.jsx("div",{className:L(Wx),children:w.jsx(n,{})}),(t==null?void 0:t.dismissable)!=="false"&&w.jsx("button",{className:L(Vx),onClick:e,type:"button",children:w.jsx(n5,{width:14,height:14})})]})}):null}var f5="vocs_Content";function H0({children:e,className:t}){return w.jsx("article",{className:L(t,f5),children:e})}function V0({items:e,pathname:t}){const n=t.replace(/\.html$/,""),r=[];for(const o of e)(o.link&&n.startsWith(o.match||o.link)||o.items&&V0({items:o.items,pathname:t}).length>0)&&r.push(o.id);return r}function Bi({items:e,pathname:t}){return h.useMemo(()=>V0({items:e,pathname:t}),[e,t])}function kr(){const e=h.useContext(W0);if(!e)throw new Error("`usePageData` must be used within `PageDataContext.Provider`.");return e}const W0=h.createContext(void 0);function Bl(){const{pathname:e}=ke(),t=It(),{sidebar:n}=t;if(!n)return{items:[]};if(Array.isArray(n))return{items:n};const r=h.useMemo(()=>{const o=Object.keys(n).filter(i=>e.startsWith(i));return o[o.length-1]},[n,e]);return r?Array.isArray(n[r])?{key:r,items:n[r]}:{...n[r],key:r}:{items:[]}}function Nr(){const e=Bl(),{frontmatter:t}=kr(),{layout:n,showLogo:r,showOutline:o,showSidebar:i,showTopNav:a}=t||{},l=n??"docs";return{layout:l,get showLogo(){return typeof r<"u"?r:!0},get showOutline(){return typeof o<"u"?o:l==="docs"},get showSidebar(){return e.items.length===0?!1:typeof i<"u"?i:!(l==="minimal"||l==="landing")},get showTopNav(){return typeof a<"u"?a:!0}}}function d5(){const[e,t]=h.useState(()=>{if(!(typeof window>"u")){if(localStorage.getItem("vocs.theme")){const n=localStorage.getItem("vocs.theme");if(n)return n}return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}});return h.useEffect(()=>{e&&localStorage.setItem("vocs.theme",e),e==="dark"?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark")},[e]),{theme:e,toggle(){t(n=>n==="light"?"dark":"light")}}}var h5="vocs_utils_visibleDark",p5="vocs_utils_visibleLight",K0="vocs_utils_visuallyHidden";function Y(){return Y=Object.assign?Object.assign.bind():function(e){for(var t=1;te.forEach(n=>v5(n,t))}function ze(...e){return h.useCallback(Y0(...e),e)}function Cn(e,t=[]){let n=[];function r(i,a){const l=h.createContext(a),s=n.length;n=[...n,a];function u(c){const{scope:d,children:p,...y}=c,g=(d==null?void 0:d[e][s])||l,C=h.useMemo(()=>y,Object.values(y));return h.createElement(g.Provider,{value:C},p)}function f(c,d){const p=(d==null?void 0:d[e][s])||l,y=h.useContext(p);if(y)return y;if(a!==void 0)return a;throw new Error(`\`${c}\` must be used within \`${i}\``)}return u.displayName=i+"Provider",[u,f]}const o=()=>{const i=n.map(a=>h.createContext(a));return function(l){const s=(l==null?void 0:l[e])||i;return h.useMemo(()=>({[`__scope${e}`]:{...l,[e]:s}}),[l,s])}};return o.scopeName=e,[r,m5(o,...t)]}function m5(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const a=r.reduce((l,{useScope:s,scopeName:u})=>{const c=s(i)[`__scope${u}`];return{...l,...c}},{});return h.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}const mn=globalThis!=null&&globalThis.document?h.useLayoutEffect:()=>{},g5=Sl.useId||(()=>{});let y5=0;function nn(e){const[t,n]=h.useState(g5());return mn(()=>{e||n(r=>r??String(y5++))},[e]),e||(t?`radix-${t}`:"")}function ot(e){const t=h.useRef(e);return h.useEffect(()=>{t.current=e}),h.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function nr({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=w5({defaultProp:t,onChange:n}),i=e!==void 0,a=i?e:r,l=ot(n),s=h.useCallback(u=>{if(i){const c=typeof u=="function"?u(e):u;c!==e&&l(c)}else o(u)},[i,e,o,l]);return[a,s]}function w5({defaultProp:e,onChange:t}){const n=h.useState(e),[r]=n,o=h.useRef(r),i=ot(t);return h.useEffect(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}const xo=h.forwardRef((e,t)=>{const{children:n,...r}=e,o=h.Children.toArray(n),i=o.find(C5);if(i){const a=i.props.children,l=o.map(s=>s===i?h.Children.count(a)>1?h.Children.only(null):h.isValidElement(a)?a.props.children:null:s);return h.createElement(lu,Y({},r,{ref:t}),h.isValidElement(a)?h.cloneElement(a,void 0,l):null)}return h.createElement(lu,Y({},r,{ref:t}),n)});xo.displayName="Slot";const lu=h.forwardRef((e,t)=>{const{children:n,...r}=e;return h.isValidElement(n)?h.cloneElement(n,{...E5(r,n.props),ref:t?Y0(t,n.ref):n.ref}):h.Children.count(n)>1?h.Children.only(null):null});lu.displayName="SlotClone";const x5=({children:e})=>h.createElement(h.Fragment,null,e);function C5(e){return h.isValidElement(e)&&e.type===x5}function E5(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...l)=>{i(...l),o(...l)}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}const S5=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],ue=S5.reduce((e,t)=>{const n=h.forwardRef((r,o)=>{const{asChild:i,...a}=r,l=i?xo:t;return h.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),h.createElement(l,Y({},a,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function su(e,t){e&&bo.flushSync(()=>e.dispatchEvent(t))}function _5(e,t=globalThis==null?void 0:globalThis.document){const n=ot(e);h.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const cu="dismissableLayer.update",b5="dismissableLayer.pointerDownOutside",$5="dismissableLayer.focusOutside";let Jh;const T5=h.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Bf=h.forwardRef((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:l,onDismiss:s,...u}=e,f=h.useContext(T5),[c,d]=h.useState(null),p=(n=c==null?void 0:c.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,y]=h.useState({}),g=ze(t,$=>d($)),C=Array.from(f.layers),[v]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),m=C.indexOf(v),x=c?C.indexOf(c):-1,E=f.layersWithOutsidePointerEventsDisabled.size>0,_=x>=m,S=R5($=>{const R=$.target,P=[...f.branches].some(j=>j.contains(R));!_||P||(i==null||i($),l==null||l($),$.defaultPrevented||s==null||s())},p),b=k5($=>{const R=$.target;[...f.branches].some(j=>j.contains(R))||(a==null||a($),l==null||l($),$.defaultPrevented||s==null||s())},p);return _5($=>{x===f.layers.size-1&&(o==null||o($),!$.defaultPrevented&&s&&($.preventDefault(),s()))},p),h.useEffect(()=>{if(c)return r&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(Jh=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(c)),f.layers.add(c),qh(),()=>{r&&f.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=Jh)}},[c,p,r,f]),h.useEffect(()=>()=>{c&&(f.layers.delete(c),f.layersWithOutsidePointerEventsDisabled.delete(c),qh())},[c,f]),h.useEffect(()=>{const $=()=>y({});return document.addEventListener(cu,$),()=>document.removeEventListener(cu,$)},[]),h.createElement(ue.div,Y({},u,{ref:g,style:{pointerEvents:E?_?"auto":"none":void 0,...e.style},onFocusCapture:ae(e.onFocusCapture,b.onFocusCapture),onBlurCapture:ae(e.onBlurCapture,b.onBlurCapture),onPointerDownCapture:ae(e.onPointerDownCapture,S.onPointerDownCapture)}))});function R5(e,t=globalThis==null?void 0:globalThis.document){const n=ot(e),r=h.useRef(!1),o=h.useRef(()=>{});return h.useEffect(()=>{const i=l=>{if(l.target&&!r.current){let u=function(){G0(b5,n,s,{discrete:!0})};const s={originalEvent:l};l.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=u,t.addEventListener("click",o.current,{once:!0})):u()}else t.removeEventListener("click",o.current);r.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function k5(e,t=globalThis==null?void 0:globalThis.document){const n=ot(e),r=h.useRef(!1);return h.useEffect(()=>{const o=i=>{i.target&&!r.current&&G0($5,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function qh(){const e=new CustomEvent(cu);document.dispatchEvent(e)}function G0(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?su(o,i):o.dispatchEvent(i)}const js="focusScope.autoFocusOnMount",Ds="focusScope.autoFocusOnUnmount",ep={bubbles:!1,cancelable:!0},Q0=h.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[l,s]=h.useState(null),u=ot(o),f=ot(i),c=h.useRef(null),d=ze(t,g=>s(g)),p=h.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;h.useEffect(()=>{if(r){let g=function(x){if(p.paused||!l)return;const E=x.target;l.contains(E)?c.current=E:Nn(c.current,{select:!0})},C=function(x){if(p.paused||!l)return;const E=x.relatedTarget;E!==null&&(l.contains(E)||Nn(c.current,{select:!0}))},v=function(x){if(document.activeElement===document.body)for(const _ of x)_.removedNodes.length>0&&Nn(l)};document.addEventListener("focusin",g),document.addEventListener("focusout",C);const m=new MutationObserver(v);return l&&m.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",C),m.disconnect()}}},[r,l,p.paused]),h.useEffect(()=>{if(l){np.add(p);const g=document.activeElement;if(!l.contains(g)){const v=new CustomEvent(js,ep);l.addEventListener(js,u),l.dispatchEvent(v),v.defaultPrevented||(N5(I5(Z0(l)),{select:!0}),document.activeElement===g&&Nn(l))}return()=>{l.removeEventListener(js,u),setTimeout(()=>{const v=new CustomEvent(Ds,ep);l.addEventListener(Ds,f),l.dispatchEvent(v),v.defaultPrevented||Nn(g??document.body,{select:!0}),l.removeEventListener(Ds,f),np.remove(p)},0)}}},[l,u,f,p]);const y=h.useCallback(g=>{if(!n&&!r||p.paused)return;const C=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,v=document.activeElement;if(C&&v){const m=g.currentTarget,[x,E]=P5(m);x&&E?!g.shiftKey&&v===E?(g.preventDefault(),n&&Nn(x,{select:!0})):g.shiftKey&&v===x&&(g.preventDefault(),n&&Nn(E,{select:!0})):v===m&&g.preventDefault()}},[n,r,p.paused]);return h.createElement(ue.div,Y({tabIndex:-1},a,{ref:d,onKeyDown:y}))});function N5(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Nn(r,{select:t}),document.activeElement!==n)return}function P5(e){const t=Z0(e),n=tp(t,e),r=tp(t.reverse(),e);return[n,r]}function Z0(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function tp(e,t){for(const n of e)if(!A5(n,{upTo:t}))return n}function A5(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function O5(e){return e instanceof HTMLInputElement&&"select"in e}function Nn(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&O5(e)&&t&&e.select()}}const np=L5();function L5(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=rp(e,t),e.unshift(t)},remove(t){var n;e=rp(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function rp(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function I5(e){return e.filter(t=>t.tagName!=="A")}const X0=h.forwardRef((e,t)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=e;return r?v0.createPortal(h.createElement(ue.div,Y({},o,{ref:t})),r):null});function M5(e,t){return h.useReducer((n,r)=>{const o=t[n][r];return o??n},e)}const En=e=>{const{present:t,children:n}=e,r=j5(t),o=typeof n=="function"?n({present:r.isPresent}):h.Children.only(n),i=ze(r.ref,o.ref);return typeof n=="function"||r.isPresent?h.cloneElement(o,{ref:i}):null};En.displayName="Presence";function j5(e){const[t,n]=h.useState(),r=h.useRef({}),o=h.useRef(e),i=h.useRef("none"),a=e?"mounted":"unmounted",[l,s]=M5(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return h.useEffect(()=>{const u=va(r.current);i.current=l==="mounted"?u:"none"},[l]),mn(()=>{const u=r.current,f=o.current;if(f!==e){const d=i.current,p=va(u);e?s("MOUNT"):p==="none"||(u==null?void 0:u.display)==="none"?s("UNMOUNT"):s(f&&d!==p?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,s]),mn(()=>{if(t){const u=c=>{const p=va(r.current).includes(c.animationName);c.target===t&&p&&bo.flushSync(()=>s("ANIMATION_END"))},f=c=>{c.target===t&&(i.current=va(r.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else s("ANIMATION_END")},[t,s]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:h.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function va(e){return(e==null?void 0:e.animationName)||"none"}let Fs=0;function J0(){h.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:op()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:op()),Fs++,()=>{Fs===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),Fs--}},[])}function op(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var Jt=function(){return Jt=Object.assign||function(t){for(var n,r=1,o=arguments.length;r"u")return q5;var t=e4(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},n4=ng(),r4=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,l=e.gap;return n===void 0&&(n="margin"),` .`.concat(F5,` { overflow: hidden `).concat(r,`; padding-right: `).concat(l,"px ").concat(r,`; @@ -117,7 +117,7 @@ object-assign */var Fp=Object.getOwnPropertySymbols,sS=Object.prototype.hasOwnProperty,cS=Object.prototype.propertyIsEnumerable;function uS(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function fS(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(i){return t[i]});if(r.join("")!=="0123456789")return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(i){o[i]=i}),Object.keys(Object.assign({},o)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var dS=fS()?Object.assign:function(e,t){for(var n,r=uS(e),o,i=1;i=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},xS=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e},ku=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return n===!1?String(t):String(t).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")},CS=function(t){var n=co(t,q.TITLE),r=co(t,Oi.TITLE_TEMPLATE);if(r&&n)return r.replace(/%s/g,function(){return Array.isArray(n)?n.join(""):n});var o=co(t,Oi.DEFAULT_TITLE);return n||o||void 0},ES=function(t){return co(t,Oi.ON_CHANGE_CLIENT_STATE)||function(){}},ec=function(t,n){return n.filter(function(r){return typeof r[t]<"u"}).map(function(r){return r[t]}).reduce(function(r,o){return ut({},r,o)},{})},SS=function(t,n){return n.filter(function(r){return typeof r[q.BASE]<"u"}).map(function(r){return r[q.BASE]}).reverse().reduce(function(r,o){if(!r.length)for(var i=Object.keys(o),a=0;a=0;r--){var o=t[r];if(o.hasOwnProperty(n))return o[n]}return null},_S=function(t){return{baseTag:SS([Ee.HREF,Ee.TARGET],t),bodyAttributes:ec(pr.BODY,t),defer:co(t,Oi.DEFER),encode:co(t,Oi.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:ec(pr.HTML,t),linkTags:Yo(q.LINK,[Ee.REL,Ee.HREF],t),metaTags:Yo(q.META,[Ee.NAME,Ee.CHARSET,Ee.HTTPEQUIV,Ee.PROPERTY,Ee.ITEM_PROP],t),noscriptTags:Yo(q.NOSCRIPT,[Ee.INNER_HTML],t),onChangeClientState:ES(t),scriptTags:Yo(q.SCRIPT,[Ee.SRC,Ee.INNER_HTML],t),styleTags:Yo(q.STYLE,[Ee.CSS_TEXT],t),title:CS(t),titleAttributes:ec(pr.TITLE,t)}},Nu=function(){var e=Date.now();return function(t){var n=Date.now();n-e>16?(e=n,t(n)):setTimeout(function(){Nu(t)},0)}}(),Bp=function(t){return clearTimeout(t)},bS=typeof window<"u"?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||Nu:global.requestAnimationFrame||Nu,$S=typeof window<"u"?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||Bp:global.cancelAnimationFrame||Bp,TS=function(t){return console&&typeof console.warn=="function"&&console.warn(t)},Go=null,RS=function(t){Go&&$S(Go),t.defer?Go=bS(function(){Up(t,function(){Go=null})}):(Up(t),Go=null)},Up=function(t,n){var r=t.baseTag,o=t.bodyAttributes,i=t.htmlAttributes,a=t.linkTags,l=t.metaTags,s=t.noscriptTags,u=t.onChangeClientState,f=t.scriptTags,c=t.styleTags,d=t.title,p=t.titleAttributes;Pu(q.BODY,o),Pu(q.HTML,i),kS(d,p);var y={baseTag:Br(q.BASE,r),linkTags:Br(q.LINK,a),metaTags:Br(q.META,l),noscriptTags:Br(q.NOSCRIPT,s),scriptTags:Br(q.SCRIPT,f),styleTags:Br(q.STYLE,c)},g={},C={};Object.keys(y).forEach(function(v){var m=y[v],x=m.newTags,E=m.oldTags;x.length&&(g[v]=x),E.length&&(C[v]=y[v].oldTags)}),n&&n(),u(t,g,C)},U1=function(t){return Array.isArray(t)?t.join(""):t},kS=function(t,n){typeof t<"u"&&document.title!==t&&(document.title=U1(t)),Pu(q.TITLE,n)},Pu=function(t,n){var r=document.getElementsByTagName(t)[0];if(r){for(var o=r.getAttribute(Ht),i=o?o.split(","):[],a=[].concat(i),l=Object.keys(n),s=0;s=0;d--)r.removeAttribute(a[d]);i.length===a.length?r.removeAttribute(Ht):r.getAttribute(Ht)!==l.join(",")&&r.setAttribute(Ht,l.join(","))}},Br=function(t,n){var r=document.head||document.querySelector(q.HEAD),o=r.querySelectorAll(t+"["+Ht+"]"),i=Array.prototype.slice.call(o),a=[],l=void 0;return n&&n.length&&n.forEach(function(s){var u=document.createElement(t);for(var f in s)if(s.hasOwnProperty(f))if(f===Ee.INNER_HTML)u.innerHTML=s.innerHTML;else if(f===Ee.CSS_TEXT)u.styleSheet?u.styleSheet.cssText=s.cssText:u.appendChild(document.createTextNode(s.cssText));else{var c=typeof s[f]>"u"?"":s[f];u.setAttribute(f,c)}u.setAttribute(Ht,"true"),i.some(function(d,p){return l=p,u.isEqualNode(d)})?i.splice(l,1):a.push(u)}),i.forEach(function(s){return s.parentNode.removeChild(s)}),a.forEach(function(s){return r.appendChild(s)}),{oldTags:i,newTags:a}},H1=function(t){return Object.keys(t).reduce(function(n,r){var o=typeof t[r]<"u"?r+'="'+t[r]+'"':""+r;return n?n+" "+o:o},"")},NS=function(t,n,r,o){var i=H1(r),a=U1(n);return i?"<"+t+" "+Ht+'="true" '+i+">"+ku(a,o)+"":"<"+t+" "+Ht+'="true">'+ku(a,o)+""},PS=function(t,n,r){return n.reduce(function(o,i){var a=Object.keys(i).filter(function(u){return!(u===Ee.INNER_HTML||u===Ee.CSS_TEXT)}).reduce(function(u,f){var c=typeof i[f]>"u"?f:f+'="'+ku(i[f],r)+'"';return u?u+" "+c:c},""),l=i.innerHTML||i.cssText||"",s=vS.indexOf(t)===-1;return o+"<"+t+" "+Ht+'="true" '+a+(s?"/>":">"+l+"")},"")},V1=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(t).reduce(function(r,o){return r[Cl[o]||o]=t[o],r},n)},AS=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(t).reduce(function(r,o){return r[pS[o]||o]=t[o],r},n)},OS=function(t,n,r){var o,i=(o={key:n},o[Ht]=!0,o),a=V1(r,i);return[Q.createElement(q.TITLE,a,n)]},LS=function(t,n){return n.map(function(r,o){var i,a=(i={key:o},i[Ht]=!0,i);return Object.keys(r).forEach(function(l){var s=Cl[l]||l;if(s===Ee.INNER_HTML||s===Ee.CSS_TEXT){var u=r.innerHTML||r.cssText;a.dangerouslySetInnerHTML={__html:u}}else a[s]=r[l]}),Q.createElement(t,a)})},on=function(t,n,r){switch(t){case q.TITLE:return{toComponent:function(){return OS(t,n.title,n.titleAttributes)},toString:function(){return NS(t,n.title,n.titleAttributes,r)}};case pr.BODY:case pr.HTML:return{toComponent:function(){return V1(n)},toString:function(){return H1(n)}};default:return{toComponent:function(){return LS(t,n)},toString:function(){return PS(t,n,r)}}}},W1=function(t){var n=t.baseTag,r=t.bodyAttributes,o=t.encode,i=t.htmlAttributes,a=t.linkTags,l=t.metaTags,s=t.noscriptTags,u=t.scriptTags,f=t.styleTags,c=t.title,d=c===void 0?"":c,p=t.titleAttributes;return{base:on(q.BASE,n,o),bodyAttributes:on(pr.BODY,r,o),htmlAttributes:on(pr.HTML,i,o),link:on(q.LINK,a,o),meta:on(q.META,l,o),noscript:on(q.NOSCRIPT,s,o),script:on(q.SCRIPT,u,o),style:on(q.STYLE,f,o),title:on(q.TITLE,{title:d,titleAttributes:p},o)}},IS=function(t){var n,r;return r=n=function(o){wS(i,o);function i(){return gS(this,i),xS(this,o.apply(this,arguments))}return i.prototype.shouldComponentUpdate=function(l){return!lS(this.props,l)},i.prototype.mapNestedChildrenToProps=function(l,s){if(!s)return null;switch(l.type){case q.SCRIPT:case q.NOSCRIPT:return{innerHTML:s};case q.STYLE:return{cssText:s}}throw new Error("<"+l.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},i.prototype.flattenArrayTypeChildren=function(l){var s,u=l.child,f=l.arrayTypeChildren,c=l.newChildProps,d=l.nestedChildren;return ut({},f,(s={},s[u.type]=[].concat(f[u.type]||[],[ut({},c,this.mapNestedChildrenToProps(u,d))]),s))},i.prototype.mapObjectTypeChildren=function(l){var s,u,f=l.child,c=l.newProps,d=l.newChildProps,p=l.nestedChildren;switch(f.type){case q.TITLE:return ut({},c,(s={},s[f.type]=p,s.titleAttributes=ut({},d),s));case q.BODY:return ut({},c,{bodyAttributes:ut({},d)});case q.HTML:return ut({},c,{htmlAttributes:ut({},d)})}return ut({},c,(u={},u[f.type]=ut({},d),u))},i.prototype.mapArrayTypeChildrenToProps=function(l,s){var u=ut({},s);return Object.keys(l).forEach(function(f){var c;u=ut({},u,(c={},c[f]=l[f],c))}),u},i.prototype.warnOnInvalidChildren=function(l,s){return!0},i.prototype.mapChildrenToProps=function(l,s){var u=this,f={};return Q.Children.forEach(l,function(c){if(!(!c||!c.props)){var d=c.props,p=d.children,y=zp(d,["children"]),g=AS(y);switch(u.warnOnInvalidChildren(c,p),c.type){case q.LINK:case q.META:case q.NOSCRIPT:case q.SCRIPT:case q.STYLE:f=u.flattenArrayTypeChildren({child:c,arrayTypeChildren:f,newChildProps:g,nestedChildren:p});break;default:s=u.mapObjectTypeChildren({child:c,newProps:s,newChildProps:g,nestedChildren:p});break}}}),s=this.mapArrayTypeChildrenToProps(f,s),s},i.prototype.render=function(){var l=this.props,s=l.children,u=zp(l,["children"]),f=ut({},u);return s&&(f=this.mapChildrenToProps(s,f)),Q.createElement(t,f)},yS(i,null,[{key:"canUseDOM",set:function(l){t.canUseDOM=l}}]),i}(Q.Component),n.propTypes={base:Ce.object,bodyAttributes:Ce.object,children:Ce.oneOfType([Ce.arrayOf(Ce.node),Ce.node]),defaultTitle:Ce.string,defer:Ce.bool,encodeSpecialCharacters:Ce.bool,htmlAttributes:Ce.object,link:Ce.arrayOf(Ce.object),meta:Ce.arrayOf(Ce.object),noscript:Ce.arrayOf(Ce.object),onChangeClientState:Ce.func,script:Ce.arrayOf(Ce.object),style:Ce.arrayOf(Ce.object),title:Ce.string,titleAttributes:Ce.object,titleTemplate:Ce.string},n.defaultProps={defer:!0,encodeSpecialCharacters:!0},n.peek=t.peek,n.rewind=function(){var o=t.rewind();return o||(o=W1({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),o},r},MS=function(){return null},jS=tS(_S,RS,W1)(MS),Au=IS(jS);Au.renderStatic=Au.rewind;var tc="vocs_Anchor",DS="vocs_Autolink";function FS(e){const{pathname:t}=ke();return w.jsx("a",{...e,className:L(e.className,DS),href:`${t}${e.href}`})}function zS(e){const{children:t,href:n}=e,{pathname:r}=ke();return t&&typeof t=="object"&&"props"in t&&t.props["data-autolink-icon"]?w.jsx(FS,{className:L(e.className,tc),...e}):n!=null&&n.match(/^#/)?w.jsx("a",{className:L(e.className,tc),...e,href:`${r}${n}`}):w.jsx(tn,{className:L(e.className,tc),...e})}var BS="vocs_Callout_danger",US="vocs_Callout_info",HS="vocs_Callout_note",K1="vocs_Callout",VS="vocs_Callout_success",WS="vocs_Callout_tip",KS="vocs_Callout_warning";const YS=Object.freeze(Object.defineProperty({__proto__:null,danger:BS,info:US,note:HS,root:K1,success:VS,tip:WS,warning:KS},Symbol.toStringTag,{value:"Module"}));function GS({className:e,children:t,type:n}){return w.jsx("aside",{className:L(e,K1,YS[n]),children:t})}var QS="vocs_Aside";function ZS(e){const t=L(e.className,QS);return"data-callout"in e?w.jsx(GS,{className:t,type:e["data-callout"],children:e.children}):w.jsx("aside",{...e,className:t})}var XS="vocs_Blockquote";function JS(e){return w.jsx("blockquote",{...e,className:L(e.className,XS)})}var qS="vocs_Code";function e_(e){const t=t_(e.children);return w.jsx("code",{...e,className:L(e.className,qS),children:t})}function t_(e){return Array.isArray(e)?e.map((t,n)=>{var r,o,i;return t.props&&"data-line"in t.props&&typeof t.props.children=="string"&&t.props.children.trim()===""&&((i=(o=(r=e[n+1])==null?void 0:r.props)==null?void 0:o.className)!=null&&i.includes("twoslash-tag-line"))?null:t}).filter(Boolean):e}var n_="vocs_Details";function r_(e){return w.jsx("details",{...e,className:L(e.className,n_)})}var o_="vocs_Authors_authors",i_="vocs_Authors_link",a_="vocs_Authors",Hp="vocs_Authors_separator";function Y1(e){const{frontmatter:t}=kr(),{authors:n=t==null?void 0:t.authors,date:r=t==null?void 0:t.date}=e,o=h.useMemo(()=>{if(n)return Array.isArray(n)?n:n.split(",").map(a=>a.trim())},[n]),i=h.useMemo(()=>r?new Date(r).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}):null,[r]);return w.jsxs("div",{className:a_,children:[i,o&&(i?" by ":"By "),w.jsx("span",{className:o_,children:o==null?void 0:o.map((a,l)=>{const{text:s,url:u}=l_(a);return w.jsxs(h.Fragment,{children:[u?w.jsx("a",{className:i_,href:u,target:"_blank",rel:"noopener noreferrer",children:s}):s,lw.jsxs(h.Fragment,{children:[w.jsx("div",{className:u_,children:w.jsxs(Yn,{to:e.path,children:[w.jsx("h2",{className:h_,children:e.title}),w.jsx(Y1,{authors:e.authors,date:e.date}),w.jsxs("p",{className:s_,children:[e.description," ",w.jsx("span",{className:f_,children:"[→]"})]})]})}),tw.jsxs(h.Fragment,{children:[w.jsx("div",{className:E_,children:t.name}),t.items.map((r,o)=>{var i;return w.jsx("div",{className:x_,style:Er({[m_]:r.length.toString(),[g_]:`${((i=t.height)==null?void 0:i.toString())??"40"}px`}),children:r.map((a,l)=>w.jsx(tn,{className:L(v_,a?C_:void 0),hideExternalIcon:!0,href:a==null?void 0:a.link,variant:"styleless",children:w.jsx("img",{className:y_,src:a==null?void 0:a.image,alt:a==null?void 0:a.name})},l))},o)})]},n))})}var __="vocs_AutolinkIcon";function b_(e){return w.jsx("div",{...e,className:L(e.className,__)})}const nc="rovingFocusGroup.onEntryFocus",$_={bubbles:!1,cancelable:!0},ld="RovingFocusGroup",[Ou,G1,T_]=Vl(ld),[R_,Q1]=Cn(ld,[T_]),[k_,N_]=R_(ld),P_=h.forwardRef((e,t)=>h.createElement(Ou.Provider,{scope:e.__scopeRovingFocusGroup},h.createElement(Ou.Slot,{scope:e.__scopeRovingFocusGroup},h.createElement(A_,Y({},e,{ref:t}))))),A_=h.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:i,currentTabStopId:a,defaultCurrentTabStopId:l,onCurrentTabStopIdChange:s,onEntryFocus:u,...f}=e,c=h.useRef(null),d=ze(t,c),p=Hl(i),[y=null,g]=nr({prop:a,defaultProp:l,onChange:s}),[C,v]=h.useState(!1),m=ot(u),x=G1(n),E=h.useRef(!1),[_,S]=h.useState(0);return h.useEffect(()=>{const b=c.current;if(b)return b.addEventListener(nc,m),()=>b.removeEventListener(nc,m)},[m]),h.createElement(k_,{scope:n,orientation:r,dir:p,loop:o,currentTabStopId:y,onItemFocus:h.useCallback(b=>g(b),[g]),onItemShiftTab:h.useCallback(()=>v(!0),[]),onFocusableItemAdd:h.useCallback(()=>S(b=>b+1),[]),onFocusableItemRemove:h.useCallback(()=>S(b=>b-1),[])},h.createElement(ue.div,Y({tabIndex:C||_===0?-1:0,"data-orientation":r},f,{ref:d,style:{outline:"none",...e.style},onMouseDown:ae(e.onMouseDown,()=>{E.current=!0}),onFocus:ae(e.onFocus,b=>{const $=!E.current;if(b.target===b.currentTarget&&$&&!C){const R=new CustomEvent(nc,$_);if(b.currentTarget.dispatchEvent(R),!R.defaultPrevented){const P=x().filter(z=>z.focusable),j=P.find(z=>z.active),I=P.find(z=>z.id===y),N=[j,I,...P].filter(Boolean).map(z=>z.ref.current);Z1(N)}}E.current=!1}),onBlur:ae(e.onBlur,()=>v(!1))})))}),O_="RovingFocusGroupItem",L_=h.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:i,...a}=e,l=nn(),s=i||l,u=N_(O_,n),f=u.currentTabStopId===s,c=G1(n),{onFocusableItemAdd:d,onFocusableItemRemove:p}=u;return h.useEffect(()=>{if(r)return d(),()=>p()},[r,d,p]),h.createElement(Ou.ItemSlot,{scope:n,id:s,focusable:r,active:o},h.createElement(ue.span,Y({tabIndex:f?0:-1,"data-orientation":u.orientation},a,{ref:t,onMouseDown:ae(e.onMouseDown,y=>{r?u.onItemFocus(s):y.preventDefault()}),onFocus:ae(e.onFocus,()=>u.onItemFocus(s)),onKeyDown:ae(e.onKeyDown,y=>{if(y.key==="Tab"&&y.shiftKey){u.onItemShiftTab();return}if(y.target!==y.currentTarget)return;const g=j_(y,u.orientation,u.dir);if(g!==void 0){y.preventDefault();let v=c().filter(m=>m.focusable).map(m=>m.ref.current);if(g==="last")v.reverse();else if(g==="prev"||g==="next"){g==="prev"&&v.reverse();const m=v.indexOf(y.currentTarget);v=u.loop?D_(v,m+1):v.slice(m+1)}setTimeout(()=>Z1(v))}})})))}),I_={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function M_(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function j_(e,t,n){const r=M_(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return I_[r]}function Z1(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function D_(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const F_=P_,z_=L_,X1="Tabs",[B_,G9]=Cn(X1,[Q1]),J1=Q1(),[U_,sd]=B_(X1),H_=h.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:o,defaultValue:i,orientation:a="horizontal",dir:l,activationMode:s="automatic",...u}=e,f=Hl(l),[c,d]=nr({prop:r,onChange:o,defaultProp:i});return h.createElement(U_,{scope:n,baseId:nn(),value:c,onValueChange:d,orientation:a,dir:f,activationMode:s},h.createElement(ue.div,Y({dir:f,"data-orientation":a},u,{ref:t})))}),V_="TabsList",W_=h.forwardRef((e,t)=>{const{__scopeTabs:n,loop:r=!0,...o}=e,i=sd(V_,n),a=J1(n);return h.createElement(F_,Y({asChild:!0},a,{orientation:i.orientation,dir:i.dir,loop:r}),h.createElement(ue.div,Y({role:"tablist","aria-orientation":i.orientation},o,{ref:t})))}),K_="TabsTrigger",Y_=h.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,disabled:o=!1,...i}=e,a=sd(K_,n),l=J1(n),s=q1(a.baseId,r),u=ey(a.baseId,r),f=r===a.value;return h.createElement(z_,Y({asChild:!0},l,{focusable:!o,active:f}),h.createElement(ue.button,Y({type:"button",role:"tab","aria-selected":f,"aria-controls":u,"data-state":f?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:s},i,{ref:t,onMouseDown:ae(e.onMouseDown,c=>{!o&&c.button===0&&c.ctrlKey===!1?a.onValueChange(r):c.preventDefault()}),onKeyDown:ae(e.onKeyDown,c=>{[" ","Enter"].includes(c.key)&&a.onValueChange(r)}),onFocus:ae(e.onFocus,()=>{const c=a.activationMode!=="manual";!f&&!o&&c&&a.onValueChange(r)})})))}),G_="TabsContent",Q_=h.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,forceMount:o,children:i,...a}=e,l=sd(G_,n),s=q1(l.baseId,r),u=ey(l.baseId,r),f=r===l.value,c=h.useRef(f);return h.useEffect(()=>{const d=requestAnimationFrame(()=>c.current=!1);return()=>cancelAnimationFrame(d)},[]),h.createElement(En,{present:o||f},({present:d})=>h.createElement(ue.div,Y({"data-state":f?"active":"inactive","data-orientation":l.orientation,role:"tabpanel","aria-labelledby":s,hidden:!d,id:u,tabIndex:0},a,{ref:t,style:{...e.style,animationDuration:c.current?"0s":void 0}}),d&&i))});function q1(e,t){return`${e}-trigger-${t}`}function ey(e,t){return`${e}-content-${t}`}const Z_=H_,X_=W_,J_=Y_,q_=Q_;var eb="vocs_Tabs_content",tb="vocs_Tabs_list",nb="vocs_Tabs",rb="vocs_Tabs_trigger";function ob(e){return w.jsx(Z_,{...e,className:L(e.className,nb)})}function ib(e){return w.jsx(X_,{...e,className:L(e.className,tb)})}function ab(e){return w.jsx(J_,{...e,className:L(e.className,rb)})}function lb(e){return w.jsx(q_,{...e,className:L(e.className,eb)})}var sb="vocs_CodeGroup";function cb({children:e}){const t=e.map(n=>{const r=n.props["data-title"]?n:n.props.children,{props:o}=r,i=o["data-title"],a=o.children;return{title:i,content:a}});return w.jsxs(ob,{className:sb,defaultValue:t[0].title,children:[w.jsx(ib,{"aria-label":"Code group",children:t.map(({title:n},r)=>w.jsx(ab,{value:n||r.toString(),children:n},n||r.toString()))}),t.map(({title:n,content:r},o)=>{const i=r.props&&"data-rehype-pretty-code-figure"in r.props;return w.jsx(lb,{"data-pretty-code":i,value:n||o.toString(),children:r},n||o.toString())})]})}var ub="vocs_Div",fb="vocs_Step_content",db="vocs_Step",ty="vocs_Step_title",hb="vocs_H2";function ny(e){return w.jsx(To,{...e,className:L(e.className,hb),level:2})}var pb="vocs_H3";function ry(e){return w.jsx(To,{...e,className:L(e.className,pb),level:3})}var vb="vocs_H4";function oy(e){return w.jsx(To,{...e,className:L(e.className,vb),level:4})}var mb="vocs_H5";function iy(e){return w.jsx(To,{...e,className:L(e.className,mb),level:5})}var gb="vocs_H6";function ay(e){return w.jsx(To,{...e,className:L(e.className,gb),level:6})}function yb({children:e,className:t,title:n,titleLevel:r=2}){const o=(()=>{if(r===2)return ny;if(r===3)return ry;if(r===4)return oy;if(r===5)return iy;if(r===6)return ay;throw new Error("Invalid.")})();return w.jsxs("div",{className:L(t,db),children:[typeof n=="string"?w.jsx(o,{className:ty,children:n}):n,w.jsx("div",{className:fb,children:e})]})}var wb="vocs_Steps";function xb({children:e,className:t}){return w.jsx("div",{className:L(t,wb),children:e})}function Cb({children:e}){return Array.isArray(e)?w.jsx(xb,{children:e.map(({props:t},n)=>{const[r,...o]=Array.isArray(t.children)?t.children:[t.children];return w.jsx(yb,{title:h.cloneElement(r,{className:ty}),children:o},n)})}):null}var Eb="vocs_Subtitle";function Sb({children:e}){return w.jsx("div",{className:Eb,role:"doc-subtitle",children:e})}function _b(e){const{layout:t}=Nr(),n=L(e.className,ub);return e.className==="code-group"?w.jsx(cb,{...e,className:n}):"data-authors"in e?w.jsx(Y1,{}):"data-blog-posts"in e?w.jsx(p_,{}):"data-sponsors"in e?w.jsx(S_,{}):"data-autolink-icon"in e&&t==="docs"?w.jsx(b_,{...e,className:n}):"data-vocs-steps"in e?w.jsx(Cb,{...e,className:n}):e.role==="doc-subtitle"?w.jsx(Sb,{...e}):w.jsx("div",{...e,className:n})}function bb(){return w.jsxs("svg",{width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 94 99",fill:"none",children:[w.jsx("title",{children:"File"}),w.jsx("rect",{width:"77px",height:"89px",x:"8px",y:"3px",stroke:"currentColor",strokeWidth:"6px",rx:"7px"}),w.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:"6px",d:"M25 22h43M25 35h43M25 48h22"})]})}function $b(){return w.jsxs("svg",{width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 79 95",fill:"none",children:[w.jsx("title",{children:"Terminal"}),w.jsx("path",{fill:"currentColor",d:"M38.281 34.033c0-1.074-.39-2.05-1.22-2.88L6.885 1.171C6.152.39 5.175 0 4.053 0 1.758 0 0 1.709 0 4.004c0 1.074.488 2.1 1.172 2.88l27.295 27.15L1.172 61.181C.488 61.962 0 62.939 0 64.062c0 2.295 1.758 4.004 4.053 4.004 1.123 0 2.1-.39 2.832-1.172l30.176-29.98c.83-.83 1.22-1.807 1.22-2.88Z"}),w.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:"8px",d:"M36 75h55"})]})}var Tb="vocs_CodeTitle";function Rb({children:e,className:t,...n}){const r="data-language"in n?n["data-language"]:void 0;return w.jsxs("div",{...n,className:L(t,Tb),children:[r==="bash"?w.jsx(at,{label:"Terminal",size:"14px",icon:$b,style:{marginTop:3}}):e.match(/\.(.*)$/)?w.jsx(at,{label:"File",size:"14px",icon:bb,style:{marginTop:1}}):null,e]})}var kb="vocs_Figcaption";function Nb(e){const t=L(e.className,kb);return"data-rehype-pretty-code-title"in e?w.jsx(Rb,{...e,className:t}):w.jsx("figcaption",{...e,className:t})}var Pb="vocs_CodeBlock";function Ab(e){return w.jsx("div",{...e,className:L(e.className,Pb)})}var Ob="vocs_Figure";function Lb(e){const t=L(e.className,Ob);return"data-rehype-pretty-code-figure"in e?w.jsx(Ab,{...e,className:t}):w.jsx("figure",{...e,className:t})}var Ib="vocs_Header";function Mb(e){return w.jsx("header",{...e,className:L(e.className,Ib)})}var jb="vocs_HorizontalRule";function Db(e){return w.jsx("hr",{...e,className:L(e.className,jb)})}var Fb="vocs_List_ordered",zb="vocs_List",Bb="vocs_List_unordered";function Wp({ordered:e,...t}){const n=e?"ol":"ul";return w.jsx(n,{...t,className:L(t.className,zb,e?Fb:Bb)})}var Ub="vocs_ListItem";function Hb(e){return w.jsx("li",{...e,className:L(e.className,Ub)})}function Vb(){const e=h.useRef(null),[t,n]=h.useState(!1);h.useEffect(()=>{if(!t)return;const o=setTimeout(()=>n(!1),1e3);return()=>clearTimeout(o)},[t]);function r(){var a;n(!0);const o=(a=e.current)==null?void 0:a.cloneNode(!0),i=o==null?void 0:o.querySelectorAll("button,[data-line].diff.remove,.twoslash-popup-info-hover,.twoslash-popup-info,.twoslash-meta-line,.twoslash-tag-line");for(const l of i??[])l.remove();navigator.clipboard.writeText(o==null?void 0:o.textContent)}return{copied:t,copy:r,ref:e}}var Wb="vocs_CopyButton";function Kb(){return w.jsxs("svg",{width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 68 67",children:[w.jsx("title",{children:"Checkmark"}),w.jsx("path",{fill:"currentColor",d:"M26.175 66.121c1.904 0 3.418-.83 4.492-2.49L66.263 7.332c.83-1.27 1.123-2.295 1.123-3.32 0-2.393-1.563-4.004-4.004-4.004-1.758 0-2.734.586-3.809 2.295L25.98 56.209 8.304 32.381c-1.123-1.514-2.198-2.149-3.809-2.149-2.441 0-4.2 1.71-4.2 4.15 0 1.026.44 2.15 1.27 3.224l19.971 25.927c1.367 1.758 2.734 2.588 4.639 2.588Z"})]})}function Yb(){return w.jsxs("svg",{width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 82 82",children:[w.jsx("title",{children:"Copy"}),w.jsx("path",{fill:"currentColor",d:"M12.451 63.281h38.38c8.3 0 12.45-4.053 12.45-12.256v-38.77C63.281 4.054 59.131 0 50.831 0H12.45C4.101 0 0 4.053 0 12.256v38.77C0 59.227 4.102 63.28 12.451 63.28Zm.098-7.031c-3.516 0-5.518-1.904-5.518-5.615V12.647c0-3.711 2.002-5.616 5.518-5.616h38.183c3.516 0 5.518 1.905 5.518 5.615v37.989c0 3.71-2.002 5.615-5.518 5.615H12.55Z"}),w.jsx("path",{stroke:"currentColor",strokeWidth:"6.75px",d:"M69.385 78.266h-38.38c-3.679 0-5.782-.894-6.987-2.081-1.196-1.178-2.088-3.219-2.088-6.8v-38.77c0-3.581.892-5.622 2.088-6.8 1.205-1.187 3.308-2.08 6.988-2.08h38.379c3.65 0 5.758.89 6.973 2.084 1.203 1.182 2.103 3.225 2.103 6.796v38.77c0 3.57-.9 5.614-2.103 6.796-1.215 1.193-3.323 2.085-6.973 2.085Z"})]})}function Gb({copy:e,copied:t}){return w.jsx("button",{className:Wb,onClick:e,type:"button",children:t?w.jsx(at,{label:"Copied",size:"14px",icon:Kb}):w.jsx(at,{label:"Copy",size:"18px",icon:Yb})})}var Qb="vocs_Pre",Zb="vocs_Pre_wrapper";function Xb({children:e,...t}){const{copied:n,copy:r,ref:o}=Vb();function i(l){return!l||typeof l!="object"?l:"props"in l?{...l,props:{...l.props,children:Array.isArray(l.props.children)?l.props.children.map(i):i(l.props.children)}}:l}const a=h.useMemo(()=>i(e),[e]);return w.jsx("div",{className:L(Zb),children:w.jsxs("pre",{ref:o,...t,className:L(t.className,Qb),children:["data-language"in t&&w.jsx(Gb,{copied:n,copy:r}),a]})})}var Jb="vocs_Footnotes";function qb(e){return w.jsx("section",{...e,className:L(e.className,Jb)})}var Kp="vocs_Section";function e9(e){return"data-footnotes"in e?w.jsx(qb,{...e,className:L(e.className,Kp)}):w.jsx("section",{...e,className:L(e.className,Kp)})}var Yp="vocs_Span";function Ha(e,t){if(!e||!t)return!1;const n=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&bu(n)){let r=t;for(;r;){if(e===r)return!0;r=r.parentNode||r.host}}return!1}function ly(e,t){const n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function ba(e){return(e==null?void 0:e.ownerDocument)||document}function t9(e){return"composedPath"in e?e.composedPath()[0]:e.target}const n9=Sl.useInsertionEffect,r9=n9||(e=>e());function o9(e){const t=h.useRef(()=>{});return r9(()=>{t.current=e}),h.useCallback(function(){for(var n=arguments.length,r=new Array(n),o=0;o"floating-ui-"+i9++;function a9(){const[e,t]=h.useState(()=>rc?Gp():void 0);return Li(()=>{e==null&&t(Gp())},[]),h.useEffect(()=>{rc||(rc=!0)},[]),e}const l9=Sl.useId,sy=l9||a9,s9=h.forwardRef(function(t,n){let{context:{placement:r,elements:{floating:o},middlewareData:{arrow:i}},width:a=14,height:l=7,tipRadius:s=0,strokeWidth:u=0,staticOffset:f,stroke:c,d,style:{transform:p,...y}={},...g}=t;const C=sy();if(!o)return null;u*=2;const v=u/2,m=a/2*(s/-8+1),x=l/2*s/4,[E,_]=r.split("-"),S=h1.isRTL(o),b=!!d,$=E==="top"||E==="bottom",R=f&&_==="end"?"bottom":"top";let P=f&&_==="end"?"right":"left";f&&S&&(P=_==="end"?"left":"right");const j=(i==null?void 0:i.x)!=null?f||i.x:"",I=(i==null?void 0:i.y)!=null?f||i.y:"",D=d||"M0,0"+(" H"+a)+(" L"+(a-m)+","+(l-x))+(" Q"+a/2+","+l+" "+m+","+(l-x))+" Z",N={top:b?"rotate(180deg)":"",left:b?"rotate(90deg)":"rotate(-90deg)",bottom:b?"":"rotate(180deg)",right:b?"rotate(-90deg)":"rotate(90deg)"}[E];return h.createElement("svg",Lu({},g,{"aria-hidden":!0,ref:n,width:b?a:a+u,height:a,viewBox:"0 0 "+a+" "+(l>a?l:a),style:{position:"absolute",pointerEvents:"none",[P]:j,[R]:I,[E]:$||b?"100%":"calc(100% - "+u/2+"px)",transform:""+N+(p??""),...y}}),u>0&&h.createElement("path",{clipPath:"url(#"+C+")",fill:"none",stroke:c,strokeWidth:u+(d?0:1),d:D}),h.createElement("path",{stroke:u&&!d?g.fill:"none",d:D}),h.createElement("clipPath",{id:C},h.createElement("rect",{x:-v,y:v*(b?-1:1),width:a+u,height:a})))});function c9(){const e=new Map;return{emit(t,n){var r;(r=e.get(t))==null||r.forEach(o=>o(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,((r=e.get(t))==null?void 0:r.filter(o=>o!==n))||[])}}}const u9=h.createContext(null),f9=h.createContext(null),cy=()=>{var e;return((e=h.useContext(u9))==null?void 0:e.id)||null},uy=()=>h.useContext(f9);function d9(e){return"data-floating-ui-"+e}function Qp(e){const t=h.useRef(e);return Li(()=>{t.current=e}),t}const Zp=d9("safe-polygon");function oc(e,t,n){return n&&!ly(n)?0:typeof e=="number"?e:e==null?void 0:e[t]}function h9(e,t){t===void 0&&(t={});const{open:n,onOpenChange:r,dataRef:o,events:i,elements:{domReference:a,floating:l},refs:s}=e,{enabled:u=!0,delay:f=0,handleClose:c=null,mouseOnly:d=!1,restMs:p=0,move:y=!0}=t,g=uy(),C=cy(),v=Qp(c),m=Qp(f),x=h.useRef(),E=h.useRef(),_=h.useRef(),S=h.useRef(),b=h.useRef(!0),$=h.useRef(!1),R=h.useRef(()=>{}),P=h.useCallback(()=>{var N;const z=(N=o.current.openEvent)==null?void 0:N.type;return(z==null?void 0:z.includes("mouse"))&&z!=="mousedown"},[o]);h.useEffect(()=>{if(!u)return;function N(z){let{open:V}=z;V||(clearTimeout(E.current),clearTimeout(S.current),b.current=!0)}return i.on("openchange",N),()=>{i.off("openchange",N)}},[u,i]),h.useEffect(()=>{if(!u||!v.current||!n)return;function N(V){P()&&r(!1,V,"hover")}const z=ba(l).documentElement;return z.addEventListener("mouseleave",N),()=>{z.removeEventListener("mouseleave",N)}},[l,n,r,u,v,P]);const j=h.useCallback(function(N,z,V){z===void 0&&(z=!0),V===void 0&&(V="hover");const B=oc(m.current,"close",x.current);B&&!_.current?(clearTimeout(E.current),E.current=setTimeout(()=>r(!1,N,V),B)):z&&(clearTimeout(E.current),r(!1,N,V))},[m,r]),I=h.useCallback(()=>{R.current(),_.current=void 0},[]),D=h.useCallback(()=>{if($.current){const N=ba(s.floating.current).body;N.style.pointerEvents="",N.removeAttribute(Zp),$.current=!1}},[s]);return h.useEffect(()=>{if(!u)return;function N(){return o.current.openEvent?["click","mousedown"].includes(o.current.openEvent.type):!1}function z(O){if(clearTimeout(E.current),b.current=!1,d&&!ly(x.current)||p>0&&oc(m.current,"open")===0)return;const F=oc(m.current,"open",x.current);F?E.current=setTimeout(()=>{r(!0,O,"hover")},F):r(!0,O,"hover")}function V(O){if(N())return;R.current();const F=ba(l);if(clearTimeout(S.current),v.current){n||clearTimeout(E.current),_.current=v.current({...e,tree:g,x:O.clientX,y:O.clientY,onClose(){D(),I(),j(O,!0,"safe-polygon")}});const J=_.current;F.addEventListener("mousemove",J),R.current=()=>{F.removeEventListener("mousemove",J)};return}(x.current==="touch"?!Ha(l,O.relatedTarget):!0)&&j(O)}function B(O){N()||v.current==null||v.current({...e,tree:g,x:O.clientX,y:O.clientY,onClose(){D(),I(),j(O)}})(O)}if(tt(a)){const O=a;return n&&O.addEventListener("mouseleave",B),l==null||l.addEventListener("mouseleave",B),y&&O.addEventListener("mousemove",z,{once:!0}),O.addEventListener("mouseenter",z),O.addEventListener("mouseleave",V),()=>{n&&O.removeEventListener("mouseleave",B),l==null||l.removeEventListener("mouseleave",B),y&&O.removeEventListener("mousemove",z),O.removeEventListener("mouseenter",z),O.removeEventListener("mouseleave",V)}}},[a,l,u,e,d,p,y,j,I,D,r,n,g,m,v,o]),Li(()=>{var N;if(u&&n&&(N=v.current)!=null&&N.__options.blockPointerEvents&&P()){const V=ba(l).body;if(V.setAttribute(Zp,""),V.style.pointerEvents="none",$.current=!0,tt(a)&&l){var z;const B=a,O=g==null||(z=g.nodesRef.current.find(F=>F.id===C))==null||(z=z.context)==null?void 0:z.elements.floating;return O&&(O.style.pointerEvents=""),B.style.pointerEvents="auto",l.style.pointerEvents="auto",()=>{B.style.pointerEvents="",l.style.pointerEvents=""}}}},[u,n,C,l,a,g,v,P]),Li(()=>{n||(x.current=void 0,I(),D())},[n,I,D]),h.useEffect(()=>()=>{I(),clearTimeout(E.current),clearTimeout(S.current),D()},[u,a,I,D]),h.useMemo(()=>{if(!u)return{};function N(z){x.current=z.pointerType}return{reference:{onPointerDown:N,onPointerEnter:N,onMouseMove(z){n||p===0||(clearTimeout(S.current),S.current=setTimeout(()=>{b.current||r(!0,z.nativeEvent,"hover")},p))}},floating:{onMouseEnter(){clearTimeout(E.current)},onMouseLeave(z){j(z.nativeEvent,!1)}}}},[u,p,n,r,j])}function p9(e,t){let n=e.filter(o=>{var i;return o.parentId===t&&((i=o.context)==null?void 0:i.open)}),r=n;for(;r.length;)r=e.filter(o=>{var i;return(i=r)==null?void 0:i.some(a=>{var l;return o.parentId===a.id&&((l=o.context)==null?void 0:l.open)})}),n=n.concat(r);return n}function v9(e){var t;e===void 0&&(e={});const{open:n=!1,onOpenChange:r,nodeId:o}=e,[i,a]=h.useState(null),l=((t=e.elements)==null?void 0:t.reference)||i,s=g1(e),u=uy(),f=cy()!=null,c=o9((_,S,b)=>{_&&(p.current.openEvent=S),y.emit("openchange",{open:_,event:S,reason:b,nested:f}),r==null||r(_,S,b)}),d=h.useRef(null),p=h.useRef({}),y=h.useState(()=>c9())[0],g=sy(),C=h.useCallback(_=>{const S=tt(_)?{getBoundingClientRect:()=>_.getBoundingClientRect(),contextElement:_}:_;s.refs.setReference(S)},[s.refs]),v=h.useCallback(_=>{(tt(_)||_===null)&&(d.current=_,a(_)),(tt(s.refs.reference.current)||s.refs.reference.current===null||_!==null&&!tt(_))&&s.refs.setReference(_)},[s.refs]),m=h.useMemo(()=>({...s.refs,setReference:v,setPositionReference:C,domReference:d}),[s.refs,v,C]),x=h.useMemo(()=>({...s.elements,domReference:l}),[s.elements,l]),E=h.useMemo(()=>({...s,refs:m,elements:x,dataRef:p,nodeId:o,floatingId:g,events:y,open:n,onOpenChange:c}),[s,o,g,y,n,c,m,x]);return Li(()=>{const _=u==null?void 0:u.nodesRef.current.find(S=>S.id===o);_&&(_.context=E)}),h.useMemo(()=>({...s,context:E,refs:m,elements:x}),[s,m,x,E])}const Xp="active",Jp="selected";function ic(e,t,n){const r=new Map,o=n==="item";let i=e;if(o&&e){const{[Xp]:a,[Jp]:l,...s}=e;i=s}return{...n==="floating"&&{tabIndex:-1},...i,...t.map(a=>{const l=a?a[n]:null;return typeof l=="function"?e?l(e):null:l}).concat(e).reduce((a,l)=>(l&&Object.entries(l).forEach(s=>{let[u,f]=s;if(!(o&&[Xp,Jp].includes(u)))if(u.indexOf("on")===0){if(r.has(u)||r.set(u,[]),typeof f=="function"){var c;(c=r.get(u))==null||c.push(f),a[u]=function(){for(var d,p=arguments.length,y=new Array(p),g=0;gC(...y)).find(C=>C!==void 0)}}}else a[u]=f}),a),{})}}function m9(e){e===void 0&&(e=[]);const t=e,n=h.useCallback(i=>ic(i,e,"reference"),t),r=h.useCallback(i=>ic(i,e,"floating"),t),o=h.useCallback(i=>ic(i,e,"item"),e.map(i=>i==null?void 0:i.item));return h.useMemo(()=>({getReferenceProps:n,getFloatingProps:r,getItemProps:o}),[n,r,o])}function qp(e,t){const[n,r]=e;let o=!1;const i=t.length;for(let a=0,l=i-1;a=r!=c>=r&&n<=(f-s)*(r-u)/(c-u)+s&&(o=!o)}return o}function g9(e,t){return e[0]>=t.x&&e[0]<=t.x+t.width&&e[1]>=t.y&&e[1]<=t.y+t.height}function y9(e){e===void 0&&(e={});const{buffer:t=.5,blockPointerEvents:n=!1,requireIntent:r=!0}=e;let o,i=!1,a=null,l=null,s=performance.now();function u(c,d){const p=performance.now(),y=p-s;if(a===null||l===null||y===0)return a=c,l=d,s=p,null;const g=c-a,C=d-l,m=Math.sqrt(g*g+C*C)/y;return a=c,l=d,s=p,m}const f=c=>{let{x:d,y:p,placement:y,elements:g,onClose:C,nodeId:v,tree:m}=c;return function(E){function _(){clearTimeout(o),C()}if(clearTimeout(o),!g.domReference||!g.floating||y==null||d==null||p==null)return;const{clientX:S,clientY:b}=E,$=[S,b],R=t9(E),P=E.type==="mouseleave",j=Ha(g.floating,R),I=Ha(g.domReference,R),D=g.domReference.getBoundingClientRect(),N=g.floating.getBoundingClientRect(),z=y.split("-")[0],V=d>N.right-N.width/2,B=p>N.bottom-N.height/2,O=g9($,D),F=N.width>D.width,W=N.height>D.height,J=(F?D:N).left,se=(F?D:N).right,Be=(W?D:N).top,ge=(W?D:N).bottom;if(j&&(i=!0,!P))return;if(I&&(i=!1),I&&!P){i=!0;return}if(P&&tt(E.relatedTarget)&&Ha(g.floating,E.relatedTarget)||m&&p9(m.nodesRef.current,v).some(Ue=>{let{context:we}=Ue;return we==null?void 0:we.open}))return;if(z==="top"&&p>=D.bottom-1||z==="bottom"&&p<=D.top+1||z==="left"&&d>=D.right-1||z==="right"&&d<=D.left+1)return _();let Ne=[];switch(z){case"top":Ne=[[J,D.top+1],[J,N.bottom-1],[se,N.bottom-1],[se,D.top+1]];break;case"bottom":Ne=[[J,N.top+1],[J,D.bottom-1],[se,D.bottom-1],[se,N.top+1]];break;case"left":Ne=[[N.right-1,ge],[N.right-1,Be],[D.left+1,Be],[D.left+1,ge]];break;case"right":Ne=[[D.right-1,ge],[D.right-1,Be],[N.left+1,Be],[N.left+1,ge]];break}function ye(Ue){let[we,_e]=Ue;switch(z){case"top":{const Mt=[F?we+t/2:V?we+t*4:we-t*4,_e+t+1],be=[F?we-t/2:V?we+t*4:we-t*4,_e+t+1],ct=[[N.left,V||F?N.bottom-t:N.top],[N.right,V?F?N.bottom-t:N.top:N.bottom-t]];return[Mt,be,...ct]}case"bottom":{const Mt=[F?we+t/2:V?we+t*4:we-t*4,_e-t],be=[F?we-t/2:V?we+t*4:we-t*4,_e-t],ct=[[N.left,V||F?N.top+t:N.bottom],[N.right,V?F?N.top+t:N.bottom:N.top+t]];return[Mt,be,...ct]}case"left":{const Mt=[we+t+1,W?_e+t/2:B?_e+t*4:_e-t*4],be=[we+t+1,W?_e-t/2:B?_e+t*4:_e-t*4];return[...[[B||W?N.right-t:N.left,N.top],[B?W?N.right-t:N.left:N.right-t,N.bottom]],Mt,be]}case"right":{const Mt=[we-t,W?_e+t/2:B?_e+t*4:_e-t*4],be=[we-t,W?_e-t/2:B?_e+t*4:_e-t*4],ct=[[B||W?N.left+t:N.right,N.top],[B?W?N.left+t:N.right:N.left+t,N.bottom]];return[Mt,be,...ct]}}}if(!qp([S,b],Ne)){if(i&&!O)return _();if(!P&&r){const Ue=u(E.clientX,E.clientY);if(Ue!==null&&Ue<.1)return _()}qp([S,b],ye([d,p]))?!i&&r&&(o=window.setTimeout(_,40)):_()}}};return f.__options={blockPointerEvents:n},f}function w9({children:e,...t}){const[n,r]=e,o=h.useRef(null),[i,a]=h.useState(!1),{context:l,refs:s,floatingStyles:u}=v9({middleware:[v1({element:o}),r1(8),p1()],open:i,onOpenChange:a,placement:"bottom-start"}),f=h9(l,{handleClose:y9()}),{getReferenceProps:c,getFloatingProps:d}=m9([f]),p=r.props.children,y=n.props.children;return w.jsxs("span",{...t,children:[w.jsx("span",{className:"twoslash-target",ref:s.setReference,...c(),children:p}),i&&w.jsxs("div",{className:"twoslash-popup-info-hover",ref:s.setFloating,style:u,...d(),children:[w.jsx(s9,{ref:o,context:l,fill:Kh.background5,height:3,stroke:Kh.border2,strokeWidth:1,width:7}),w.jsx("div",{className:"twoslash-popup-scroll-container",children:y})]})]})}function x9(e){var n;const t=L(e.className,Yp);return(n=e.className)!=null&&n.includes("twoslash-hover")?w.jsx(w9,{...e,className:t}):w.jsx("span",{...e,className:L(e.className,Yp)})}var C9="vocs_CalloutTitle";function E9({className:e,children:t}){return w.jsx("strong",{className:L(e,C9),children:t})}var ev="vocs_Strong";function S9(e){return"data-callout-title"in e&&typeof e.children=="string"?w.jsx(E9,{...e,className:L(e.className,ev),children:e.children}):w.jsx("strong",{...e,className:L(e.className,ev)})}var _9="vocs_Summary";function b9(e){return w.jsx("summary",{...e,className:L(e.className,_9)})}var $9="vocs_Table";function T9(e){return w.jsx("table",{...e,className:L(e.className,$9)})}var R9="vocs_TableCell";function k9(e){return w.jsx("td",{...e,className:L(e.className,R9)})}var N9="vocs_TableHeader";function P9(e){return w.jsx("th",{...e,className:L(e.className,N9)})}var A9="vocs_TableRow";function O9(e){return w.jsx("tr",{...e,className:L(e.className,A9)})}const L9={a:zS,aside:ZS,blockquote:JS,code:e_,details:r_,div:_b,pre:Xb,header:Mb,figcaption:Nb,figure:Lb,h1:z0,h2:ny,h3:ry,h4:oy,h5:iy,h6:ay,hr:Db,kd:bg,li:Hb,ol:e=>w.jsx(Wp,{ordered:!0,...e}),p:B0,section:e9,span:x9,strong:S9,summary:b9,table:T9,td:k9,th:P9,tr:O9,ul:e=>w.jsx(Wp,{ordered:!1,...e})};function I9(){const{pathname:e}=ke(),t=It(),{ogImageUrl:n}=t;if(!n)return;if(typeof n=="string")return n;const r=h.useMemo(()=>{const o=Object.keys(n).filter(i=>e.startsWith(i));return o[o.length-1]},[n,e]);if(r)return n[r]}function Iu(e){const{children:t,filePath:n,frontmatter:r,lastUpdatedAt:o,path:i}=e,{pathname:a}=ke(),l=h.useRef();return h.useEffect(()=>{l.current=a}),w.jsxs(w.Fragment,{children:[w.jsx(M9,{frontmatter:r}),typeof window<"u"&&w.jsx(vx,{}),w.jsx(HE,{components:L9,children:w.jsx(R7,{frontmatter:r,path:i,children:w.jsx(W0.Provider,{value:{filePath:n,frontmatter:r,lastUpdatedAt:o,previousPath:l.current},children:t})})})]})}function M9({frontmatter:e}){const t=It(),n=I9(),{baseUrl:r,font:o,iconUrl:i,logoUrl:a}=t,l=(e==null?void 0:e.title)??t.title,s=(e==null?void 0:e.description)??t.description,u=t.title&&!l.includes(t.title);return w.jsxs(Au,{defaultTitle:t.title,titleTemplate:u?t.titleTemplate:void 0,children:[l&&w.jsx("title",{children:l}),r&&!0&&w.jsx("base",{href:r}),s!=="undefined"&&w.jsx("meta",{name:"description",content:s}),i&&typeof i=="string"&&w.jsx("link",{rel:"icon",href:i,type:ac(i)}),i&&typeof i!="string"&&w.jsx("link",{rel:"icon",href:i.light,type:ac(i.light)}),i&&typeof i!="string"&&w.jsx("link",{rel:"icon",href:i.dark,type:ac(i.dark),media:"(prefers-color-scheme: dark)"}),w.jsx("meta",{property:"og:type",content:"website"}),w.jsx("meta",{property:"og:title",content:l||t.title}),r&&w.jsx("meta",{property:"og:url",content:r}),s!=="undefined"&&w.jsx("meta",{property:"og:description",content:s}),n&&w.jsx("meta",{property:"og:image",content:n.replace("%logo",`${r||""}${typeof a=="string"?a:(a==null?void 0:a.dark)||""}`).replace("%title",l||"").replace("%description",(s!=="undefined"?s:"")||"")}),(o==null?void 0:o.google)&&w.jsx("link",{rel:"preconnect",href:"https://fonts.googleapis.com"}),(o==null?void 0:o.google)&&w.jsx("link",{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:""}),(o==null?void 0:o.google)&&w.jsx("link",{href:`https://fonts.googleapis.com/css2?family=${o.google}:wght@300;400;500&display=swap`,rel:"stylesheet"}),w.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),n&&w.jsx("meta",{property:"twitter:image",content:n.replace("%logo",`${r||""}${typeof a=="string"?a:(a==null?void 0:a.dark)||""}`).replace("%title",l||"").replace("%description",(s!=="undefined"?s:"")||"")})]})}function ac(e){if(e.endsWith(".svg"))return"image/svg+xml";if(e.endsWith(".png"))return"image/png";if(e.endsWith(".jpg"))return"image/jpeg";if(e.endsWith(".ico"))return"image/x-icon";if(e.endsWith(".webp"))return"image/webp"}const j9=(()=>{const e=Ff.find(({path:t})=>t==="*");return e?{path:e.path,lazy:async()=>{const{frontmatter:t,...n}=await e.lazy();return{...n,element:w.jsx(Iu,{frontmatter:t,path:e.path,children:w.jsx(Tu,{children:w.jsx(n.default,{})})})}}}:{path:"*",lazy:void 0,element:w.jsx(Iu,{frontmatter:{layout:"minimal"},path:"*",children:w.jsx(Tu,{children:w.jsx(Fx,{})})})}})(),tv=[...Ff.filter(({path:e})=>e!=="*").map(e=>({path:e.path,lazy:async()=>{const{frontmatter:t,...n}=await e.lazy();return{...n,element:w.jsx(Iu,{filePath:e.filePath,frontmatter:t,lastUpdatedAt:e.lastUpdatedAt,path:e.path,children:w.jsx(Tu,{children:w.jsx(n.default,{})})})}}})),j9];async function D9(e){var n;const t=(n=cr(e,window.location))==null?void 0:n.filter(r=>r.route.lazy);t&&(t==null?void 0:t.length)>0&&await Promise.all(t.map(async r=>{const o=await r.route.lazy();Object.assign(r.route,{...o,lazy:void 0})}))}function F9(){const e=document.querySelectorAll('style[data-vocs-temp-style="true"]');for(const t of e)t.remove()}z9();async function z9(){await D9(tv),F9();const e=nx(tv);m0(document.getElementById("app"),w.jsx(Cx,{children:w.jsx(fx,{router:e})}))}export{lb as C,tn as L,ob as R,ab as T,O6 as a,ib as b,L as c,UE as d,Xn as e,B9 as g,w as j,GE as p,h as r,It as u}; function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/index-kRAGv2oN.js","assets/react-timeline-ih9CFvSy.js"] + __vite__mapDeps.viteFileDeps = ["assets/index-E1NXSbeB.js","assets/react-timeline-4oB-cdeB.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } diff --git a/assets/index-T-AAo6NI.js b/assets/index-QbmQW5FQ.js similarity index 96% rename from assets/index-T-AAo6NI.js rename to assets/index-QbmQW5FQ.js index 21bf3c8..a0a38e1 100644 --- a/assets/index-T-AAo6NI.js +++ b/assets/index-QbmQW5FQ.js @@ -1,4 +1,4 @@ -import{d as t,j as e}from"./index-nbfTX0V9.js";const s={layout:"deafult",title:"Here are my projects",description:"undefined"};function n(a){const r={a:"a",div:"div",h1:"h1",h2:"h2",h3:"h3",header:"header",p:"p",...t(),...a.components};return e.jsxs(e.Fragment,{children:[e.jsx(r.header,{children:e.jsxs(r.h1,{id:"here-are-my-projects",children:["Here are my projects",e.jsx(r.a,{"aria-hidden":"true",tabIndex:"-1",href:"#here-are-my-projects",children:e.jsx(r.div,{"data-autolink-icon":!0})})]})}),` +import{d as t,j as e}from"./index-I4kVRDhD.js";const s={layout:"deafult",title:"Here are my projects",description:"undefined"};function n(a){const r={a:"a",div:"div",h1:"h1",h2:"h2",h3:"h3",header:"header",p:"p",...t(),...a.components};return e.jsxs(e.Fragment,{children:[e.jsx(r.header,{children:e.jsxs(r.h1,{id:"here-are-my-projects",children:["Here are my projects",e.jsx(r.a,{"aria-hidden":"true",tabIndex:"-1",href:"#here-are-my-projects",children:e.jsx(r.div,{"data-autolink-icon":!0})})]})}),` `,e.jsxs(r.h2,{id:"omicsverse",children:["OmicsVerse",e.jsx(r.a,{"aria-hidden":"true",tabIndex:"-1",href:"#omicsverse",children:e.jsx(r.div,{"data-autolink-icon":!0})})]}),` `,e.jsxs(r.p,{children:["The initial aim of the ",e.jsx(r.a,{href:"https://omicsverse.fr",children:"OmicsVerse portal"})," is to host demo versions of the various data applications I create."]}),` `,e.jsxs(r.p,{children:["Application source code and documentation for administrators can be found on my ",e.jsx(r.a,{href:"https://github.com/clbenoit",children:"github"}),"."]}),` diff --git a/assets/index-XO0v8I_d.js b/assets/index-XO0v8I_d.js deleted file mode 100644 index b7d20c0..0000000 --- a/assets/index-XO0v8I_d.js +++ /dev/null @@ -1,2 +0,0 @@ -import{j as e,L as j,c as a,u as p,a as f,R as b,b as _,T as r,C as c,d as v}from"./index-nbfTX0V9.js";var H="vocs_Button_button",P="vocs_Button_button_accent";function N({children:n,className:t,href:i,variant:x}){return e.jsx(j,{className:a(t,H,x==="accent"&&P),href:i,variant:"styleless",children:n})}var y="vocs_HomePage_button",C="vocs_HomePage_buttons",k="vocs_HomePage_description",L="vocs_HomePage_logo",l="vocs_HomePage_packageManager",B="vocs_HomePage",M="vocs_HomePage_tabs",m="vocs_HomePage_tabsContent",R="vocs_HomePage_tabsList",T="vocs_HomePage_tagline",w="vocs_HomePage_title";function u({children:n,className:t}){return e.jsx("div",{className:a(t,B),children:n})}function $({className:n}){const{logoUrl:t,title:i}=p();return t?e.jsx("div",{className:a(n,L),children:e.jsx(f,{})}):e.jsx("h1",{className:a(n,w),children:i})}function d({children:n,className:t}){return e.jsx("div",{className:a(t,T),children:n})}function D({children:n,className:t}){return e.jsx("div",{className:a(t,k),children:n})}function h({children:n,className:t}){return e.jsx("div",{className:a(t,C),children:n})}function o(n){return e.jsx(N,{...n,className:a(y,n.className)})}function E({name:n,type:t="install"}){return e.jsxs(b,{className:M,defaultValue:"npm",children:[e.jsxs(_,{className:R,children:[e.jsx(r,{value:"npm",children:"npm"}),e.jsx(r,{value:"pnpm",children:"pnpm"}),e.jsx(r,{value:"yarn",children:"yarn"})]}),e.jsxs(c,{className:m,value:"npm",children:[e.jsx("span",{className:l,children:"npm"})," ",t==="init"?"init":"install"," ",n]}),e.jsxs(c,{className:m,value:"pnpm",children:[e.jsx("span",{className:l,children:"pnpm"})," ",t==="init"?"create":"install"," ",n]}),e.jsxs(c,{className:m,value:"yarn",children:[e.jsx("span",{className:l,children:"yarn"})," ",t==="init"?"create":"install"," ",n]})]})}const G=Object.freeze(Object.defineProperty({__proto__:null,Button:o,Buttons:h,Description:D,InstallPackage:E,Logo:$,Root:u,Tagline:d},Symbol.toStringTag,{value:"Module"})),S={layout:"landing"};function g(n){const t={a:"a",p:"p",...v(),...n.components};return G||s("HomePage",!1),o||s("HomePage.Button",!0),h||s("HomePage.Buttons",!0),u||s("HomePage.Root",!0),d||s("HomePage.Tagline",!0),e.jsxs(u,{children:[e.jsxs(d,{children:[e.jsx("h1",{style:{fontSize:"32px"},children:"I'm Clement BENOIT"}),e.jsx("br",{}),e.jsxs(t.p,{children:["I'm a Grenoble based ",e.jsx("b",{children:"data engineer with a specialty in omics bioinformatics "}),`, currently working -at `,e.jsx("b",{children:"Grenoble Alpes University Hospital (CHUGA)"}),", helping build tools to leverage health data for clinical diagnosis."]})]}),e.jsxs(h,{children:[e.jsx(o,{href:"/projects",variant:"accent",children:"See my projects"}),e.jsx(o,{href:"https://github.com/clbenoit",children:"GitHub"}),e.jsx(o,{href:"https://linkedin.com/in/clement-benoit",children:"Linkedin"})]}),e.jsx("h2",{href:"mailto:your@email.com",variant:"email-link",children:e.jsx(t.a,{href:"mailto:benoitclement.sand@gmail.com",children:"benoitclement.sand@gmail.com"})})]})}function O(n={}){const{wrapper:t}={...v(),...n.components};return t?e.jsx(t,{...n,children:e.jsx(g,{...n})}):g(n)}function s(n,t){throw new Error("Expected "+(t?"component":"object")+" `"+n+"` to be defined: you likely forgot to import, pass, or provide it.")}export{O as default,S as frontmatter}; diff --git a/assets/index-hGOEVByQ.js b/assets/index-lJCbH7DK.js similarity index 89% rename from assets/index-hGOEVByQ.js rename to assets/index-lJCbH7DK.js index 2d9600d..0217499 100644 --- a/assets/index-hGOEVByQ.js +++ b/assets/index-lJCbH7DK.js @@ -1,2 +1,2 @@ -import{d as a,j as e}from"./index-nbfTX0V9.js";const d={layout:"minimal",title:"Blog",description:"undefined"};function o(t){const n={a:"a",div:"div",h1:"h1",header:"header",...a(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx(n.header,{children:e.jsxs(n.h1,{id:"blog",children:["Blog",e.jsx(n.a,{"aria-hidden":"true",tabIndex:"-1",href:"#blog",children:e.jsx(n.div,{"data-autolink-icon":!0})})]})}),` +import{d as a,j as e}from"./index-I4kVRDhD.js";const d={layout:"minimal",title:"Blog",description:"undefined"};function o(t){const n={a:"a",div:"div",h1:"h1",header:"header",...a(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx(n.header,{children:e.jsxs(n.h1,{id:"blog",children:["Blog",e.jsx(n.a,{"aria-hidden":"true",tabIndex:"-1",href:"#blog",children:e.jsx(n.div,{"data-autolink-icon":!0})})]})}),` `,e.jsx(n.div,{"data-blog-posts":!0})]})}function i(t={}){const{wrapper:n}={...a(),...t.components};return n?e.jsx(n,{...t,children:e.jsx(o,{...t})}):o(t)}export{i as default,d as frontmatter}; diff --git a/assets/react-timeline-ih9CFvSy.js b/assets/react-timeline-4oB-cdeB.js similarity index 99% rename from assets/react-timeline-ih9CFvSy.js rename to assets/react-timeline-4oB-cdeB.js index 750ad07..b5b655b 100644 --- a/assets/react-timeline-ih9CFvSy.js +++ b/assets/react-timeline-4oB-cdeB.js @@ -1,4 +1,4 @@ -import{r as b,p as U,g as z,e as K,j as a}from"./index-nbfTX0V9.js";var w={},P={exports:{}};/*! +import{r as b,p as U,g as z,e as K,j as a}from"./index-I4kVRDhD.js";var w={},P={exports:{}};/*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames diff --git a/assets/somavardb-FN_ecsZ4.js b/assets/somavardb-5HCvrsDZ.js similarity index 90% rename from assets/somavardb-FN_ecsZ4.js rename to assets/somavardb-5HCvrsDZ.js index 6beaf08..83f90ee 100644 --- a/assets/somavardb-FN_ecsZ4.js +++ b/assets/somavardb-5HCvrsDZ.js @@ -1,2 +1,2 @@ -import{d as a,j as e}from"./index-nbfTX0V9.js";const d={layout:"deafult",title:"SomaVarDB",description:"undefined"};function r(t){const n={a:"a",div:"div",h1:"h1",header:"header",p:"p",...a(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx(n.header,{children:e.jsxs(n.h1,{id:"somavardb",children:["SomaVarDB",e.jsx(n.a,{"aria-hidden":"true",tabIndex:"-1",href:"#somavardb",children:e.jsx(n.div,{"data-autolink-icon":!0})})]})}),` +import{d as a,j as e}from"./index-I4kVRDhD.js";const d={layout:"deafult",title:"SomaVarDB",description:"undefined"};function r(t){const n={a:"a",div:"div",h1:"h1",header:"header",p:"p",...a(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx(n.header,{children:e.jsxs(n.h1,{id:"somavardb",children:["SomaVarDB",e.jsx(n.a,{"aria-hidden":"true",tabIndex:"-1",href:"#somavardb",children:e.jsx(n.div,{"data-autolink-icon":!0})})]})}),` `,e.jsx(n.p,{children:"Voilà l'exemple d'un premier projet"})]})}function i(t={}){const{wrapper:n}={...a(),...t.components};return n?e.jsx(n,{...t,children:e.jsx(r,{...t})}):r(t)}export{i as default,d as frontmatter}; diff --git a/index.html b/index.html index c89d8c8..f00fee3 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,7 @@ - +