diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 00000000..e69de29b diff --git a/api/polkadot_api/index.html b/api/polkadot_api/index.html index e055880d..8cc9c2a8 100644 --- a/api/polkadot_api/index.html +++ b/api/polkadot_api/index.html @@ -12,8 +12,8 @@ - - + +
diff --git a/assets/codegen-DJ176Jx7.js b/assets/codegen-CnbYZc7w.js similarity index 99% rename from assets/codegen-DJ176Jx7.js rename to assets/codegen-CnbYZc7w.js index 0d03ecc5..a63a8e59 100644 --- a/assets/codegen-DJ176Jx7.js +++ b/assets/codegen-CnbYZc7w.js @@ -1,4 +1,4 @@ -import{u as l,j as s}from"./index-CbNDQPNV.js";const r={title:"Codegen",description:"undefined"};function n(i){const e={a:"a",aside:"aside",code:"code",div:"div",h1:"h1",h2:"h2",header:"header",li:"li",p:"p",pre:"pre",span:"span",ul:"ul",...l(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsx(e.header,{children:s.jsxs(e.h1,{id:"codegen",children:["Codegen",s.jsx(e.a,{"aria-hidden":"true",tabIndex:"-1",href:"#codegen",children:s.jsx(e.div,{"data-autolink-icon":!0})})]})}),` +import{u as l,j as s}from"./index-O67QIW1D.js";const r={title:"Codegen",description:"undefined"};function n(i){const e={a:"a",aside:"aside",code:"code",div:"div",h1:"h1",h2:"h2",header:"header",li:"li",p:"p",pre:"pre",span:"span",ul:"ul",...l(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsx(e.header,{children:s.jsxs(e.h1,{id:"codegen",children:["Codegen",s.jsx(e.a,{"aria-hidden":"true",tabIndex:"-1",href:"#codegen",children:s.jsx(e.div,{"data-autolink-icon":!0})})]})}),` `,s.jsx(e.p,{children:"Technically, to connect to a chain, all you need is just the provider. But to interact with it, you need to know the list of storage, runtime, and transaction calls and their types."}),` `,s.jsx(e.p,{children:"During runtime, the library can request the metadata for the chain it's connected to, and from this, it generates all the codecs to interact with it. But as a developer, you need to get that information beforehand."}),` `,s.jsx(e.p,{children:"Polkadot-API has a CLI that downloads the metadata for a chain and then uses that metadata to generate all the type descriptors."}),` diff --git a/assets/example-ChyiHpHm.js b/assets/example-BQvU0spJ.js similarity index 89% rename from assets/example-ChyiHpHm.js rename to assets/example-BQvU0spJ.js index b58906d4..31514064 100644 --- a/assets/example-ChyiHpHm.js +++ b/assets/example-BQvU0spJ.js @@ -1,2 +1,2 @@ -import{u as r,j as e}from"./index-CbNDQPNV.js";const i={title:"Example",description:"undefined"};function a(t){const n={a:"a",div:"div",h1:"h1",header:"header",p:"p",...r(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx(n.header,{children:e.jsxs(n.h1,{id:"example",children:["Example",e.jsx(n.a,{"aria-hidden":"true",tabIndex:"-1",href:"#example",children:e.jsx(n.div,{"data-autolink-icon":!0})})]})}),` +import{u as r,j as e}from"./index-O67QIW1D.js";const i={title:"Example",description:"undefined"};function a(t){const n={a:"a",div:"div",h1:"h1",header:"header",p:"p",...r(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx(n.header,{children:e.jsxs(n.h1,{id:"example",children:["Example",e.jsx(n.a,{"aria-hidden":"true",tabIndex:"-1",href:"#example",children:e.jsx(n.div,{"data-autolink-icon":!0})})]})}),` `,e.jsx(n.p,{children:"Example"})]})}function o(t={}){const{wrapper:n}={...r(),...t.components};return n?e.jsx(n,{...t,children:e.jsx(a,{...t})}):a(t)}export{o as default,i as frontmatter}; diff --git a/assets/getting-started-BcKh1cP5.js b/assets/getting-started-DF8MU59x.js similarity index 99% rename from assets/getting-started-BcKh1cP5.js rename to assets/getting-started-DF8MU59x.js index 3a11820a..1c4ebd67 100644 --- a/assets/getting-started-BcKh1cP5.js +++ b/assets/getting-started-DF8MU59x.js @@ -1,4 +1,4 @@ -import{j as s,$ as t,a as h,b as k,c as p,u as o}from"./index-CbNDQPNV.js";const a=({options:i,children:e})=>s.jsxs(t,{className:"Tabs__root border rounded bg-[--vocs-color_codeBlockBackground] border-[--vocs-color_codeInlineBorder]",defaultValue:Object.keys(i)[0],children:[s.jsx(h,{className:"Tabs__list flex flex-wrap px-2 bg-[--vocs-color_codeTitleBackground]",children:Object.entries(i).map(([r,d])=>s.jsx(k,{className:"text-sm p-3 pb-2 text-[--vocs-color_text3] border-b border-transparent hover:text-[--vocs-color_text] [&[data-state='active']]:text-[--vocs-color_text] [&[data-state='active']]:border-[--vocs-color_borderAccent]",value:r,children:d},r))}),e]}),l=i=>s.jsx(p,{...i}),x=Object.freeze(Object.defineProperty({__proto__:null,Content:l,Root:a},Symbol.toStringTag,{value:"Module"})),y={title:"Getting Started",description:"undefined"};function c(i){const e={a:"a",aside:"aside",code:"code",div:"div",h1:"h1",header:"header",p:"p",pre:"pre",span:"span",...o(),...i.components};return x||n("Tabs",!1),l||n("Tabs.Content",!0),a||n("Tabs.Root",!0),s.jsxs(s.Fragment,{children:[s.jsx(e.header,{children:s.jsxs(e.h1,{id:"getting-started",children:["Getting Started",s.jsx(e.a,{"aria-hidden":"true",tabIndex:"-1",href:"#getting-started",children:s.jsx(e.div,{"data-autolink-icon":!0})})]})}),` +import{j as s,$ as t,a as h,b as k,c as p,u as o}from"./index-O67QIW1D.js";const a=({options:i,children:e})=>s.jsxs(t,{className:"Tabs__root border rounded bg-[--vocs-color_codeBlockBackground] border-[--vocs-color_codeInlineBorder]",defaultValue:Object.keys(i)[0],children:[s.jsx(h,{className:"Tabs__list flex flex-wrap px-2 bg-[--vocs-color_codeTitleBackground]",children:Object.entries(i).map(([r,d])=>s.jsx(k,{className:"text-sm p-3 pb-2 text-[--vocs-color_text3] border-b border-transparent hover:text-[--vocs-color_text] [&[data-state='active']]:text-[--vocs-color_text] [&[data-state='active']]:border-[--vocs-color_borderAccent]",value:r,children:d},r))}),e]}),l=i=>s.jsx(p,{...i}),x=Object.freeze(Object.defineProperty({__proto__:null,Content:l,Root:a},Symbol.toStringTag,{value:"Module"})),y={title:"Getting Started",description:"undefined"};function c(i){const e={a:"a",aside:"aside",code:"code",div:"div",h1:"h1",header:"header",p:"p",pre:"pre",span:"span",...o(),...i.components};return x||n("Tabs",!1),l||n("Tabs.Content",!0),a||n("Tabs.Root",!0),s.jsxs(s.Fragment,{children:[s.jsx(e.header,{children:s.jsxs(e.h1,{id:"getting-started",children:["Getting Started",s.jsx(e.a,{"aria-hidden":"true",tabIndex:"-1",href:"#getting-started",children:s.jsx(e.div,{"data-autolink-icon":!0})})]})}),` `,s.jsxs(e.p,{children:["Start by installing ",s.jsx(e.code,{children:"polkadot-api"})," and ",s.jsx(e.code,{children:"@polkadot-api/descriptors"})]}),` `,s.jsx(e.pre,{className:"shiki shiki-themes github-light github-dark-dimmed",style:{backgroundColor:"#fff","--shiki-dark-bg":"#22272e",color:"#24292e","--shiki-dark":"#adbac7"},tabIndex:"0",children:s.jsx(e.code,{children:s.jsxs(e.span,{className:"line",children:[s.jsx(e.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"npm"}),s.jsx(e.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:" i"}),s.jsx(e.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:" polkadot-api"}),s.jsx(e.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:" @polkadot-api/descriptors"})]})})}),` `,s.jsx(e.p,{children:"Next, download the latest metadata from the chain you want to connect to and generate the types:"}),` diff --git a/assets/index-CbNDQPNV.js b/assets/index-O67QIW1D.js similarity index 97% rename from assets/index-CbNDQPNV.js rename to assets/index-O67QIW1D.js index c38ad948..58b66907 100644 --- a/assets/index-CbNDQPNV.js +++ b/assets/index-O67QIW1D.js @@ -65,7 +65,7 @@ Error generating stack: `+i.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function xo(){return xo=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[o]=e[o]);return n}function rx(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function ox(e,t){return e.button===0&&(!t||t==="_self")&&!rx(e)}const ix=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],ax="6";try{window.__reactRouterVersion=ax}catch{}function lx(e,t){return bw({basename:t==null?void 0:t.basename,future:xo({},t==null?void 0:t.future,{v7_prependBasename:!0}),history:Z3({window:t==null?void 0:t.window}),hydrationData:(t==null?void 0:t.hydrationData)||sx(),routes:e,mapRouteProperties:tx,window:t==null?void 0:t.window}).initialize()}function sx(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=xo({},t,{errors:cx(t.errors)})),t}function cx(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 ux=h.createContext({isTransitioning:!1}),fx=h.createContext(new Map),dx="startTransition",Hh=Bu[dx],hx="flushSync",Vh=Q3[hx];function px(e){Hh?Hh(e):e()}function Yo(e){Vh?Vh(e):e()}class vx{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 mx(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?px(b):b()},[v]),x=h.useCallback((b,$)=>{let{deletedFetchers:T,unstable_flushSync:P,unstable_viewTransitionOpts:j}=$;T.forEach(D=>C.current.delete(D)),b.fetchers.forEach((D,N)=>{D.data!==void 0&&C.current.set(N,D.data)});let L=n.window==null||typeof n.window.document.startViewTransition!="function";if(!j||L){P?Yo(()=>i(b)):m(()=>i(b));return}if(P){Yo(()=>{d&&(f&&f.resolve(),d.skipTransition()),u({isTransitioning:!0,flushSync:!0,currentLocation:j.currentLocation,nextLocation:j.nextLocation})});let D=n.window.document.startViewTransition(()=>{Yo(()=>i(b))});D.finished.finally(()=>{Yo(()=>{c(void 0),p(void 0),l(void 0),u({isTransitioning:!1})})}),Yo(()=>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 vx)},[s]),h.useEffect(()=>{if(f&&a&&n.window){let b=a,$=f.promise,T=n.window.document.startViewTransition(async()=>{m(()=>i(b)),await $});T.finished.finally(()=>{c(void 0),p(void 0),l(void 0),u({isTransitioning:!1})}),p(T)}},[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,$,T)=>n.navigate(b,{state:$,preventScrollReset:T==null?void 0:T.preventScrollReset}),replace:(b,$,T)=>n.navigate(b,{replace:!0,state:$,preventScrollReset:T==null?void 0:T.preventScrollReset})}),[n]),S=n.basename||"/",_=h.useMemo(()=>({router:n,navigator:E,static:!1,basename:S}),[n,E,S]);return h.createElement(h.Fragment,null,h.createElement(Ui.Provider,{value:_},h.createElement(jf.Provider,{value:o},h.createElement(fx.Provider,{value:C.current},h.createElement(ux.Provider,{value:s},h.createElement(ex,{basename:S,location:o.location,navigationType:o.historyAction,navigator:E,future:{v7_relativeSplatPath:n.future.v7_relativeSplatPath}},o.initialized||n.future.v7_partialHydration?h.createElement(gx,{routes:n.routes,future:n.future,state:o}):t))))),null)}function gx(e){let{routes:t,future:n,state:r}=e;return Bw(t,void 0,r,n)}const yx=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",wx=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,M0=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=nx(t,ix),{basename:p}=h.useContext(nr),y,g=!1;if(typeof u=="string"&&wx.test(u)&&(y=u,yx))try{let x=new URL(window.location.href),E=u.startsWith("//")?new URL(x.protocol+u):new URL(u),S=br(E.pathname,p);E.origin===x.origin&&S!=null?u=S+E.search+E.hash:g=!0}catch{}let C=Dw(u,{relative:o}),v=_x(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",xo({},d,{href:y||C,onClick:g||i?r:m,ref:n,target:s}))});function xx(e){let{getKey:t,storageKey:n}=e;return Sx({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 Cx(e){let t=h.useContext(Ui);return t||te(!1),t}function Ex(e){let t=h.useContext(jf);return t||te(!1),t}function _x(e,t){let{target:n,replace:r,state:o,preventScrollReset:i,relative:a,unstable_viewTransition:l}=t===void 0?{}:t,s=Df(),u=Re(),f=O0(e,{relative:a});return h.useCallback(c=>{if(ox(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 Wh="react-router-scroll-positions";let va={};function Sx(e){let{getKey:t,storageKey:n}=e===void 0?{}:e,{router:r}=Cx(ru.UseScrollRestoration),{restoreScrollPosition:o,preventScrollReset:i}=Ex(ou.UseScrollRestoration),{basename:a}=h.useContext(nr),l=Re(),s=Zw(),u=Qw();h.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),bx(h.useCallback(()=>{if(u.state==="idle"){let f=(t?t(l,s):null)||l.key;va[f]=window.scrollY}try{sessionStorage.setItem(n||Wh,JSON.stringify(va))}catch{}window.history.scrollRestoration="auto"},[n,t,u.state,l,s])),typeof document<"u"&&(h.useLayoutEffect(()=>{try{let f=sessionStorage.getItem(n||Wh);f&&(va=JSON.parse(f))}catch{}},[n]),h.useLayoutEffect(()=>{let f=t&&a!=="/"?(d,p)=>t(xo({},d,{pathname:br(d.pathname,a)||d.pathname}),p):t,c=r==null?void 0:r.enableScrollRestoration(va,()=>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 bx(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 j0={blogDir:"./pages/blog",rootDir:"docs",title:"Polkadot-API",titleTemplate:"%s – Polkadot-API",description:"Typescript API to interact with polkadot chains",basePath:"/polkadot-api-docs",sidebar:[{text:"Getting Started",link:"/getting-started"},{text:"Providers",link:"/providers"},{text:"Codegen",link:"/codegen"},{text:"Types",link:"/types"},{text:"Signers",link:"/signers"},{text:"API",collapsed:!0,items:[{text:"Polkadot-API",link:"/api/polkadot_api"}]},{text:"Examples",collapsed:!0,items:[{text:"Example",link:"/examples/example"}]}],socials:[{icon:"github",link:"https://github.com/polkadot-api/polkadot-api",label:"GitHub",type:"github"}],markdown:{code:{themes:{dark:"github-dark-dimmed",light:"github-light"}}},topNav:[],theme:{},vite:{base:"/polkadot-api-docs"}},D0=h.createContext(j0);function F0(){return typeof window<"u",j0}function $x({children:e,config:t}){const[n,r]=h.useState(()=>t||F0());return h.useEffect(()=>{},[]),h.useEffect(()=>{typeof window<"u"},[n]),w.jsx(D0.Provider,{value:n,children:e})}function Je(){return h.useContext(D0)}const Tx="modulepreload",kx=function(e){return"/polkadot-api-docs/"+e},Kh={},ot=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){const i=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),l=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));o=Promise.all(n.map(s=>{if(s=kx(s),s in Kh)return;Kh[s]=!0;const u=s.endsWith(".css"),f=u?'[rel="stylesheet"]':"";if(!!r)for(let p=i.length-1;p>=0;p--){const y=i[p];if(y.href===s&&(!u||y.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${s}"]${f}`))return;const d=document.createElement("link");if(d.rel=u?"stylesheet":Tx,u||(d.as="script",d.crossOrigin=""),d.href=s,l&&d.setAttribute("nonce",l),document.head.appendChild(d),u)return new Promise((p,y)=>{d.addEventListener("load",p),d.addEventListener("error",()=>y(new Error(`Unable to preload CSS for ${s}`)))})}))}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})},zf=[{lazy:()=>ot(()=>import("./codegen-DJ176Jx7.js"),[]),path:"/codegen",type:"mdx",filePath:"codegen.md",lastUpdatedAt:1713171983e3},{lazy:()=>ot(()=>import("./codegen-DJ176Jx7.js"),[]),path:"/codegen.html",type:"mdx",filePath:"codegen.md",lastUpdatedAt:1713171983e3},{lazy:()=>ot(()=>import("./getting-started-BcKh1cP5.js"),[]),path:"/getting-started",type:"mdx",filePath:"getting-started.mdx",lastUpdatedAt:1713171983e3},{lazy:()=>ot(()=>import("./getting-started-BcKh1cP5.js"),[]),path:"/getting-started.html",type:"mdx",filePath:"getting-started.mdx",lastUpdatedAt:1713171983e3},{lazy:()=>ot(()=>import("./index-D48-5nCh.js"),[]),path:"/",type:"mdx",filePath:"index.mdx",lastUpdatedAt:1713171983e3},{lazy:()=>ot(()=>import("./providers-C_6uDEij.js"),[]),path:"/providers",type:"mdx",filePath:"providers.md",lastUpdatedAt:1713171983e3},{lazy:()=>ot(()=>import("./providers-C_6uDEij.js"),[]),path:"/providers.html",type:"mdx",filePath:"providers.md",lastUpdatedAt:1713171983e3},{lazy:()=>ot(()=>import("./signers-DKF12Gy3.js"),[]),path:"/signers",type:"mdx",filePath:"signers.md",lastUpdatedAt:1713171983e3},{lazy:()=>ot(()=>import("./signers-DKF12Gy3.js"),[]),path:"/signers.html",type:"mdx",filePath:"signers.md",lastUpdatedAt:1713171983e3},{lazy:()=>ot(()=>import("./types-SDO4BfIb.js"),[]),path:"/types",type:"mdx",filePath:"types.mdx",lastUpdatedAt:1713171983e3},{lazy:()=>ot(()=>import("./types-SDO4BfIb.js"),[]),path:"/types.html",type:"mdx",filePath:"types.mdx",lastUpdatedAt:1713171983e3},{lazy:()=>ot(()=>import("./polkadot_api-Dk3sjqrm.js"),[]),path:"/api/polkadot_api",type:"mdx",filePath:"api/polkadot_api.mdx",lastUpdatedAt:1713171983e3},{lazy:()=>ot(()=>import("./polkadot_api-Dk3sjqrm.js"),[]),path:"/api/polkadot_api.html",type:"mdx",filePath:"api/polkadot_api.mdx",lastUpdatedAt:1713171983e3},{lazy:()=>ot(()=>import("./example-ChyiHpHm.js"),[]),path:"/examples/example",type:"mdx",filePath:"examples/example.mdx",lastUpdatedAt:1713171983e3},{lazy:()=>ot(()=>import("./example-ChyiHpHm.js"),[]),path:"/examples/example.html",type:"mdx",filePath:"examples/example.mdx",lastUpdatedAt:1713171983e3}];var Ms={horizontalPadding:"var(--vocs-content_horizontalPadding)",verticalPadding:"var(--vocs-content_verticalPadding)",width:"var(--vocs-content_width)"},Rx={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'},Nx={default:"var(--vocs-fontFamily_default)",mono:"var(--vocs-fontFamily_mono)"},Yh={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)"},js={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 z0(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;t ")," does not exist in object"));n=n[r]}return n}function B0(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],r={};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]=B0(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 Gt(e,t){var n={};if(typeof t=="object"){var r=e;B0(t,(l,s)=>{if(l!=null){var u=Px(r,s);n[Gh(u)]=String(l)}})}else{var o=e;for(var i in o){var a=o[i];a!=null&&(n[Gh(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 Ax="var(--vocs_ExternalLink_iconUrl)",Ox="vocs_ExternalLink";const Ix=h.forwardRef(({className:e,children:t,hideExternalIcon:n,href:r,...o},i)=>{const{basePath:a}=Je(),l=a;return w.jsx("a",{ref:i,className:I(e,n||typeof t!="string"?void 0:Ox),href:r,target:"_blank",rel:"noopener noreferrer",style:Gt({[Ax]:`url(${l}/.vocs/icons/arrow-diagonal.svg)`}),...o,children:t})});var Qh="vocs_Link_accent_underlined",Zh="vocs_Link",Xh="vocs_Link_styleless",iu=new Map,ma=new WeakMap,Jh=0,Lx=void 0;function Mx(e){return e?(ma.has(e)||(Jh+=1,ma.set(e,Jh.toString())),ma.get(e)):"0"}function jx(e){return Object.keys(e).sort().filter(t=>e[t]!==void 0).map(t=>`${t}_${t==="root"?Mx(e.root):e[t]}`).toString()}function Dx(e){const t=jx(e);let 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 Fx(e,t,n={},r=Lx){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}=Dx(n),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 U0({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=Fx(c,(E,S)=>{g({inView:E,entry:S}),p.current&&p.current(E,S),S.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 zx(...e){return t=>{Bx(t,...e)}}function Bx(e,...t){t.forEach(n=>{typeof n=="function"?n(e):n!=null&&(n.current=e)})}const Gn=h.forwardRef((e,t)=>{const n=()=>{var i;return(i=zf.find(a=>a.path===e.to))==null?void 0:i.lazy()},{ref:r,inView:o}=U0();return h.useEffect(()=>{o&&n()},[o,n]),w.jsx(M0,{ref:zx(t,r),...e})}),nn=h.forwardRef((e,t)=>{const{href:n,variant:r="accent underlined"}=e,{pathname:o}=Re();if(n!=null&&n.match(/^(www|https?)/))return w.jsx(Ix,{...e,ref:t,className:I(e.className,Zh,r==="accent underlined"&&Qh,r==="styleless"&&Xh),hideExternalIcon:e.hideExternalIcon});const[i,a]=(n||"").split("#"),l=`${i||o}${a?`#${a}`:""}`;return w.jsx(Gn,{...e,ref:t,className:I(e.className,Zh,r==="accent underlined"&&Qh,r==="styleless"&&Xh),to:l})});var Ux="vocs_NotFound_divider",Hx="vocs_NotFound",Vx="vocs_H1",H0="vocs_Heading",V0="vocs_Heading_slugTarget";function Ro({level:e,...t}){const n=`h${e}`;return w.jsxs(n,{...t,id:void 0,className:I(t.className,H0),children:[w.jsx("div",{id:t.id,className:V0}),t.children]})}function W0(e){return w.jsx(Ro,{...e,className:I(e.className,Vx),level:1})}var Wx="vocs_Paragraph";function K0(e){return w.jsx("p",{...e,className:I(e.className,Wx)})}function Kx(){return w.jsxs("div",{className:Hx,children:[w.jsx(W0,{children:"Page Not Found"}),w.jsx("div",{style:{height:js[24]}}),w.jsx("hr",{className:Ux}),w.jsx("div",{style:{height:js[24]}}),w.jsx(K0,{children:"The page you were looking for could not be found."}),w.jsx("div",{style:{height:js[8]}}),w.jsx(nn,{href:"/",children:"Go to Home Page"})]})}var Yx="var(--vocs_Banner_bannerBackgroundColor)",Gx="var(--vocs_Banner_bannerHeight)",Qx="var(--vocs_Banner_bannerTextColor)",Zx="vocs_Banner_closeButton",Xx="vocs_Banner_content",Jx="vocs_Banner_inner",qx="vocs_Banner";const e5=Object.getPrototypeOf(t5).constructor;async function t5(e,t){return new e5(String(e))(t)}function n5(e,t){return new Function(String(e))(t)}function Tr(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 r5=["color"],o5=h.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Tr(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:"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"}))}),i5=["color"],a5=h.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Tr(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:"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"}))}),l5=["color"],s5=h.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Tr(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:"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"}))}),c5=["color"],u5=h.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Tr(e,c5);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"}))}),f5=["color"],d5=h.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Tr(e,f5);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"}))}),h5=["color"],Bf=h.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Tr(e,h5);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"}))}),p5=["color"],v5=h.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Tr(e,p5);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 ml(e,t){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map((r,o)=>ml(r,o));const n=e.props.children?{...e.props,children:ml(e.props.children)}:e.props;return Z.createElement(e.type,{...n,key:t})}function m5({hide:e}){const{banner:t}=Je(),n=h.useMemo(()=>{const r=(t==null?void 0:t.content)??"";if(!r)return null;if(typeof r!="string")return()=>ml(r);const{default:o}=n5(r,{...Wy,Fragment:h.Fragment});return o},[t]);return n?w.jsx("div",{className:I(qx),style:Gt({[Yx]:t==null?void 0:t.backgroundColor,[Qx]:t==null?void 0:t.textColor}),children:w.jsxs("div",{className:I(Jx),children:[w.jsx("div",{className:I(Xx),children:w.jsx(n,{})}),(t==null?void 0:t.dismissable)!=="false"&&w.jsx("button",{className:I(Zx),onClick:e,type:"button",children:w.jsx(s5,{width:14,height:14})})]})}):null}var g5="vocs_Content";function Y0({children:e,className:t}){return w.jsx("article",{className:I(t,g5),children:e})}function G0({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&&G0({items:o.items,pathname:t}).length>0)&&r.push(o.id);return r}function Hi({items:e,pathname:t}){return h.useMemo(()=>G0({items:e,pathname:t}),[e,t])}function kr(){const e=h.useContext(Q0);if(!e)throw new Error("`usePageData` must be used within `PageDataContext.Provider`.");return e}const Q0=h.createContext(void 0);function Hl(){const{pathname:e}=Re(),t=Je(),{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 Rr(){const e=Hl(),{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 y5(){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 w5="vocs_utils_visibleDark",x5="vocs_utils_visibleLight",Z0="vocs_utils_visuallyHidden";function Y(){return Y=Object.assign?Object.assign.bind():function(e){for(var t=1;te.forEach(n=>C5(n,t))}function ze(...e){return h.useCallback(X0(...e),e)}function En(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,E5(o,...t)]}function E5(...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 gn=globalThis!=null&&globalThis.document?h.useLayoutEffect:()=>{},_5=Bu.useId||(()=>{});let S5=0;function rn(e){const[t,n]=h.useState(_5());return gn(()=>{e||n(r=>r??String(S5++))},[e]),e||(t?`radix-${t}`:"")}function at(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 rr({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=b5({defaultProp:t,onChange:n}),i=e!==void 0,a=i?e:r,l=at(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 b5({defaultProp:e,onChange:t}){const n=h.useState(e),[r]=n,o=h.useRef(r),i=at(t);return h.useEffect(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}const Co=h.forwardRef((e,t)=>{const{children:n,...r}=e,o=h.Children.toArray(n),i=o.find(T5);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(au,Y({},r,{ref:t}),h.isValidElement(a)?h.cloneElement(a,void 0,l):null)}return h.createElement(au,Y({},r,{ref:t}),n)});Co.displayName="Slot";const au=h.forwardRef((e,t)=>{const{children:n,...r}=e;return h.isValidElement(n)?h.cloneElement(n,{...k5(r,n.props),ref:t?X0(t,n.ref):n.ref}):h.Children.count(n)>1?h.Children.only(null):null});au.displayName="SlotClone";const $5=({children:e})=>h.createElement(h.Fragment,null,e);function T5(e){return h.isValidElement(e)&&e.type===$5}function k5(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 R5=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],fe=R5.reduce((e,t)=>{const n=h.forwardRef((r,o)=>{const{asChild:i,...a}=r,l=i?Co: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 lu(e,t){e&&To.flushSync(()=>e.dispatchEvent(t))}function N5(e,t=globalThis==null?void 0:globalThis.document){const n=at(e);h.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const su="dismissableLayer.update",P5="dismissableLayer.pointerDownOutside",A5="dismissableLayer.focusOutside";let qh;const O5=h.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Uf=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(O5),[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,S=x>=m,_=I5($=>{const T=$.target,P=[...f.branches].some(j=>j.contains(T));!S||P||(i==null||i($),l==null||l($),$.defaultPrevented||s==null||s())},p),b=L5($=>{const T=$.target;[...f.branches].some(j=>j.contains(T))||(a==null||a($),l==null||l($),$.defaultPrevented||s==null||s())},p);return N5($=>{x===f.layers.size-1&&(o==null||o($),!$.defaultPrevented&&s&&($.preventDefault(),s()))},p),h.useEffect(()=>{if(c)return r&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(qh=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(c)),f.layers.add(c),ep(),()=>{r&&f.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=qh)}},[c,p,r,f]),h.useEffect(()=>()=>{c&&(f.layers.delete(c),f.layersWithOutsidePointerEventsDisabled.delete(c),ep())},[c,f]),h.useEffect(()=>{const $=()=>y({});return document.addEventListener(su,$),()=>document.removeEventListener(su,$)},[]),h.createElement(fe.div,Y({},u,{ref:g,style:{pointerEvents:E?S?"auto":"none":void 0,...e.style},onFocusCapture:ae(e.onFocusCapture,b.onFocusCapture),onBlurCapture:ae(e.onBlurCapture,b.onBlurCapture),onPointerDownCapture:ae(e.onPointerDownCapture,_.onPointerDownCapture)}))});function I5(e,t=globalThis==null?void 0:globalThis.document){const n=at(e),r=h.useRef(!1),o=h.useRef(()=>{});return h.useEffect(()=>{const i=l=>{if(l.target&&!r.current){let u=function(){J0(P5,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 L5(e,t=globalThis==null?void 0:globalThis.document){const n=at(e),r=h.useRef(!1);return h.useEffect(()=>{const o=i=>{i.target&&!r.current&&J0(A5,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 ep(){const e=new CustomEvent(su);document.dispatchEvent(e)}function J0(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?lu(o,i):o.dispatchEvent(i)}const Ds="focusScope.autoFocusOnMount",Fs="focusScope.autoFocusOnUnmount",tp={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=at(o),f=at(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:Pn(c.current,{select:!0})},C=function(x){if(p.paused||!l)return;const E=x.relatedTarget;E!==null&&(l.contains(E)||Pn(c.current,{select:!0}))},v=function(x){if(document.activeElement===document.body)for(const S of x)S.removedNodes.length>0&&Pn(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){rp.add(p);const g=document.activeElement;if(!l.contains(g)){const v=new CustomEvent(Ds,tp);l.addEventListener(Ds,u),l.dispatchEvent(v),v.defaultPrevented||(M5(B5(eg(l)),{select:!0}),document.activeElement===g&&Pn(l))}return()=>{l.removeEventListener(Ds,u),setTimeout(()=>{const v=new CustomEvent(Fs,tp);l.addEventListener(Fs,f),l.dispatchEvent(v),v.defaultPrevented||Pn(g??document.body,{select:!0}),l.removeEventListener(Fs,f),rp.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]=j5(m);x&&E?!g.shiftKey&&v===E?(g.preventDefault(),n&&Pn(x,{select:!0})):g.shiftKey&&v===x&&(g.preventDefault(),n&&Pn(E,{select:!0})):v===m&&g.preventDefault()}},[n,r,p.paused]);return h.createElement(fe.div,Y({tabIndex:-1},a,{ref:d,onKeyDown:y}))});function M5(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Pn(r,{select:t}),document.activeElement!==n)return}function j5(e){const t=eg(e),n=np(t,e),r=np(t.reverse(),e);return[n,r]}function eg(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 np(e,t){for(const n of e)if(!D5(n,{upTo:t}))return n}function D5(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 F5(e){return e instanceof HTMLInputElement&&"select"in e}function Pn(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&F5(e)&&t&&e.select()}}const rp=z5();function z5(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=op(e,t),e.unshift(t)},remove(t){var n;e=op(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function op(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function B5(e){return e.filter(t=>t.tagName!=="A")}const tg=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?y0.createPortal(h.createElement(fe.div,Y({},o,{ref:t})),r):null});function U5(e,t){return h.useReducer((n,r)=>{const o=t[n][r];return o??n},e)}const _n=e=>{const{present:t,children:n}=e,r=H5(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};_n.displayName="Presence";function H5(e){const[t,n]=h.useState(),r=h.useRef({}),o=h.useRef(e),i=h.useRef("none"),a=e?"mounted":"unmounted",[l,s]=U5(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return h.useEffect(()=>{const u=ga(r.current);i.current=l==="mounted"?u:"none"},[l]),gn(()=>{const u=r.current,f=o.current;if(f!==e){const d=i.current,p=ga(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]),gn(()=>{if(t){const u=c=>{const p=ga(r.current).includes(c.animationName);c.target===t&&p&&To.flushSync(()=>s("ANIMATION_END"))},f=c=>{c.target===t&&(i.current=ga(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 ga(e){return(e==null?void 0:e.animationName)||"none"}let zs=0;function ng(){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:ip()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:ip()),zs++,()=>{zs===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),zs--}},[])}function ip(){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 qt=function(){return qt=Object.assign||function(t){for(var n,r=1,o=arguments.length;r"u")return a4;var t=l4(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])}},c4=ag(),lo="data-scroll-locked",u4=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 xo(){return xo=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[o]=e[o]);return n}function rx(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function ox(e,t){return e.button===0&&(!t||t==="_self")&&!rx(e)}const ix=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],ax="6";try{window.__reactRouterVersion=ax}catch{}function lx(e,t){return bw({basename:t==null?void 0:t.basename,future:xo({},t==null?void 0:t.future,{v7_prependBasename:!0}),history:Z3({window:t==null?void 0:t.window}),hydrationData:(t==null?void 0:t.hydrationData)||sx(),routes:e,mapRouteProperties:tx,window:t==null?void 0:t.window}).initialize()}function sx(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=xo({},t,{errors:cx(t.errors)})),t}function cx(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 ux=h.createContext({isTransitioning:!1}),fx=h.createContext(new Map),dx="startTransition",Hh=Bu[dx],hx="flushSync",Vh=Q3[hx];function px(e){Hh?Hh(e):e()}function Yo(e){Vh?Vh(e):e()}class vx{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 mx(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?px(b):b()},[v]),x=h.useCallback((b,$)=>{let{deletedFetchers:T,unstable_flushSync:P,unstable_viewTransitionOpts:j}=$;T.forEach(D=>C.current.delete(D)),b.fetchers.forEach((D,N)=>{D.data!==void 0&&C.current.set(N,D.data)});let L=n.window==null||typeof n.window.document.startViewTransition!="function";if(!j||L){P?Yo(()=>i(b)):m(()=>i(b));return}if(P){Yo(()=>{d&&(f&&f.resolve(),d.skipTransition()),u({isTransitioning:!0,flushSync:!0,currentLocation:j.currentLocation,nextLocation:j.nextLocation})});let D=n.window.document.startViewTransition(()=>{Yo(()=>i(b))});D.finished.finally(()=>{Yo(()=>{c(void 0),p(void 0),l(void 0),u({isTransitioning:!1})})}),Yo(()=>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 vx)},[s]),h.useEffect(()=>{if(f&&a&&n.window){let b=a,$=f.promise,T=n.window.document.startViewTransition(async()=>{m(()=>i(b)),await $});T.finished.finally(()=>{c(void 0),p(void 0),l(void 0),u({isTransitioning:!1})}),p(T)}},[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,$,T)=>n.navigate(b,{state:$,preventScrollReset:T==null?void 0:T.preventScrollReset}),replace:(b,$,T)=>n.navigate(b,{replace:!0,state:$,preventScrollReset:T==null?void 0:T.preventScrollReset})}),[n]),S=n.basename||"/",_=h.useMemo(()=>({router:n,navigator:E,static:!1,basename:S}),[n,E,S]);return h.createElement(h.Fragment,null,h.createElement(Ui.Provider,{value:_},h.createElement(jf.Provider,{value:o},h.createElement(fx.Provider,{value:C.current},h.createElement(ux.Provider,{value:s},h.createElement(ex,{basename:S,location:o.location,navigationType:o.historyAction,navigator:E,future:{v7_relativeSplatPath:n.future.v7_relativeSplatPath}},o.initialized||n.future.v7_partialHydration?h.createElement(gx,{routes:n.routes,future:n.future,state:o}):t))))),null)}function gx(e){let{routes:t,future:n,state:r}=e;return Bw(t,void 0,r,n)}const yx=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",wx=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,M0=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=nx(t,ix),{basename:p}=h.useContext(nr),y,g=!1;if(typeof u=="string"&&wx.test(u)&&(y=u,yx))try{let x=new URL(window.location.href),E=u.startsWith("//")?new URL(x.protocol+u):new URL(u),S=br(E.pathname,p);E.origin===x.origin&&S!=null?u=S+E.search+E.hash:g=!0}catch{}let C=Dw(u,{relative:o}),v=_x(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",xo({},d,{href:y||C,onClick:g||i?r:m,ref:n,target:s}))});function xx(e){let{getKey:t,storageKey:n}=e;return Sx({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 Cx(e){let t=h.useContext(Ui);return t||te(!1),t}function Ex(e){let t=h.useContext(jf);return t||te(!1),t}function _x(e,t){let{target:n,replace:r,state:o,preventScrollReset:i,relative:a,unstable_viewTransition:l}=t===void 0?{}:t,s=Df(),u=Re(),f=O0(e,{relative:a});return h.useCallback(c=>{if(ox(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 Wh="react-router-scroll-positions";let va={};function Sx(e){let{getKey:t,storageKey:n}=e===void 0?{}:e,{router:r}=Cx(ru.UseScrollRestoration),{restoreScrollPosition:o,preventScrollReset:i}=Ex(ou.UseScrollRestoration),{basename:a}=h.useContext(nr),l=Re(),s=Zw(),u=Qw();h.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),bx(h.useCallback(()=>{if(u.state==="idle"){let f=(t?t(l,s):null)||l.key;va[f]=window.scrollY}try{sessionStorage.setItem(n||Wh,JSON.stringify(va))}catch{}window.history.scrollRestoration="auto"},[n,t,u.state,l,s])),typeof document<"u"&&(h.useLayoutEffect(()=>{try{let f=sessionStorage.getItem(n||Wh);f&&(va=JSON.parse(f))}catch{}},[n]),h.useLayoutEffect(()=>{let f=t&&a!=="/"?(d,p)=>t(xo({},d,{pathname:br(d.pathname,a)||d.pathname}),p):t,c=r==null?void 0:r.enableScrollRestoration(va,()=>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 bx(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 j0={blogDir:"./pages/blog",rootDir:"docs",title:"Polkadot-API",titleTemplate:"%s – Polkadot-API",description:"Typescript API to interact with polkadot chains",basePath:"/polkadot-api-docs",sidebar:[{text:"Getting Started",link:"/getting-started"},{text:"Providers",link:"/providers"},{text:"Codegen",link:"/codegen"},{text:"Types",link:"/types"},{text:"Signers",link:"/signers"},{text:"API",collapsed:!0,items:[{text:"Polkadot-API",link:"/api/polkadot_api"}]},{text:"Examples",collapsed:!0,items:[{text:"Example",link:"/examples/example"}]}],socials:[{icon:"github",link:"https://github.com/polkadot-api/polkadot-api",label:"GitHub",type:"github"}],markdown:{code:{themes:{dark:"github-dark-dimmed",light:"github-light"}}},topNav:[],theme:{},vite:{base:"/polkadot-api-docs"}},D0=h.createContext(j0);function F0(){return typeof window<"u",j0}function $x({children:e,config:t}){const[n,r]=h.useState(()=>t||F0());return h.useEffect(()=>{},[]),h.useEffect(()=>{typeof window<"u"},[n]),w.jsx(D0.Provider,{value:n,children:e})}function Je(){return h.useContext(D0)}const Tx="modulepreload",kx=function(e){return"/polkadot-api-docs/"+e},Kh={},ot=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){const i=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),l=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));o=Promise.all(n.map(s=>{if(s=kx(s),s in Kh)return;Kh[s]=!0;const u=s.endsWith(".css"),f=u?'[rel="stylesheet"]':"";if(!!r)for(let p=i.length-1;p>=0;p--){const y=i[p];if(y.href===s&&(!u||y.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${s}"]${f}`))return;const d=document.createElement("link");if(d.rel=u?"stylesheet":Tx,u||(d.as="script",d.crossOrigin=""),d.href=s,l&&d.setAttribute("nonce",l),document.head.appendChild(d),u)return new Promise((p,y)=>{d.addEventListener("load",p),d.addEventListener("error",()=>y(new Error(`Unable to preload CSS for ${s}`)))})}))}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})},zf=[{lazy:()=>ot(()=>import("./codegen-CnbYZc7w.js"),[]),path:"/codegen",type:"mdx",filePath:"codegen.md",lastUpdatedAt:1713173559e3},{lazy:()=>ot(()=>import("./codegen-CnbYZc7w.js"),[]),path:"/codegen.html",type:"mdx",filePath:"codegen.md",lastUpdatedAt:1713173559e3},{lazy:()=>ot(()=>import("./getting-started-DF8MU59x.js"),[]),path:"/getting-started",type:"mdx",filePath:"getting-started.mdx",lastUpdatedAt:1713173559e3},{lazy:()=>ot(()=>import("./getting-started-DF8MU59x.js"),[]),path:"/getting-started.html",type:"mdx",filePath:"getting-started.mdx",lastUpdatedAt:1713173559e3},{lazy:()=>ot(()=>import("./index-x2CuOhNl.js"),[]),path:"/",type:"mdx",filePath:"index.mdx",lastUpdatedAt:1713173559e3},{lazy:()=>ot(()=>import("./providers-BIDLrsp-.js"),[]),path:"/providers",type:"mdx",filePath:"providers.md",lastUpdatedAt:1713173559e3},{lazy:()=>ot(()=>import("./providers-BIDLrsp-.js"),[]),path:"/providers.html",type:"mdx",filePath:"providers.md",lastUpdatedAt:1713173559e3},{lazy:()=>ot(()=>import("./signers-WdyFE5Xg.js"),[]),path:"/signers",type:"mdx",filePath:"signers.md",lastUpdatedAt:1713173559e3},{lazy:()=>ot(()=>import("./signers-WdyFE5Xg.js"),[]),path:"/signers.html",type:"mdx",filePath:"signers.md",lastUpdatedAt:1713173559e3},{lazy:()=>ot(()=>import("./types-C0RxJ6XT.js"),[]),path:"/types",type:"mdx",filePath:"types.mdx",lastUpdatedAt:1713173559e3},{lazy:()=>ot(()=>import("./types-C0RxJ6XT.js"),[]),path:"/types.html",type:"mdx",filePath:"types.mdx",lastUpdatedAt:1713173559e3},{lazy:()=>ot(()=>import("./polkadot_api-BdReTaME.js"),[]),path:"/api/polkadot_api",type:"mdx",filePath:"api/polkadot_api.mdx",lastUpdatedAt:1713173559e3},{lazy:()=>ot(()=>import("./polkadot_api-BdReTaME.js"),[]),path:"/api/polkadot_api.html",type:"mdx",filePath:"api/polkadot_api.mdx",lastUpdatedAt:1713173559e3},{lazy:()=>ot(()=>import("./example-BQvU0spJ.js"),[]),path:"/examples/example",type:"mdx",filePath:"examples/example.mdx",lastUpdatedAt:1713173559e3},{lazy:()=>ot(()=>import("./example-BQvU0spJ.js"),[]),path:"/examples/example.html",type:"mdx",filePath:"examples/example.mdx",lastUpdatedAt:1713173559e3}];var Ms={horizontalPadding:"var(--vocs-content_horizontalPadding)",verticalPadding:"var(--vocs-content_verticalPadding)",width:"var(--vocs-content_width)"},Rx={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'},Nx={default:"var(--vocs-fontFamily_default)",mono:"var(--vocs-fontFamily_mono)"},Yh={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)"},js={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 z0(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;t ")," does not exist in object"));n=n[r]}return n}function B0(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],r={};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]=B0(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 Gt(e,t){var n={};if(typeof t=="object"){var r=e;B0(t,(l,s)=>{if(l!=null){var u=Px(r,s);n[Gh(u)]=String(l)}})}else{var o=e;for(var i in o){var a=o[i];a!=null&&(n[Gh(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 Ax="var(--vocs_ExternalLink_iconUrl)",Ox="vocs_ExternalLink";const Ix=h.forwardRef(({className:e,children:t,hideExternalIcon:n,href:r,...o},i)=>{const{basePath:a}=Je(),l=a;return w.jsx("a",{ref:i,className:I(e,n||typeof t!="string"?void 0:Ox),href:r,target:"_blank",rel:"noopener noreferrer",style:Gt({[Ax]:`url(${l}/.vocs/icons/arrow-diagonal.svg)`}),...o,children:t})});var Qh="vocs_Link_accent_underlined",Zh="vocs_Link",Xh="vocs_Link_styleless",iu=new Map,ma=new WeakMap,Jh=0,Lx=void 0;function Mx(e){return e?(ma.has(e)||(Jh+=1,ma.set(e,Jh.toString())),ma.get(e)):"0"}function jx(e){return Object.keys(e).sort().filter(t=>e[t]!==void 0).map(t=>`${t}_${t==="root"?Mx(e.root):e[t]}`).toString()}function Dx(e){const t=jx(e);let 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 Fx(e,t,n={},r=Lx){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}=Dx(n),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 U0({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=Fx(c,(E,S)=>{g({inView:E,entry:S}),p.current&&p.current(E,S),S.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 zx(...e){return t=>{Bx(t,...e)}}function Bx(e,...t){t.forEach(n=>{typeof n=="function"?n(e):n!=null&&(n.current=e)})}const Gn=h.forwardRef((e,t)=>{const n=()=>{var i;return(i=zf.find(a=>a.path===e.to))==null?void 0:i.lazy()},{ref:r,inView:o}=U0();return h.useEffect(()=>{o&&n()},[o,n]),w.jsx(M0,{ref:zx(t,r),...e})}),nn=h.forwardRef((e,t)=>{const{href:n,variant:r="accent underlined"}=e,{pathname:o}=Re();if(n!=null&&n.match(/^(www|https?)/))return w.jsx(Ix,{...e,ref:t,className:I(e.className,Zh,r==="accent underlined"&&Qh,r==="styleless"&&Xh),hideExternalIcon:e.hideExternalIcon});const[i,a]=(n||"").split("#"),l=`${i||o}${a?`#${a}`:""}`;return w.jsx(Gn,{...e,ref:t,className:I(e.className,Zh,r==="accent underlined"&&Qh,r==="styleless"&&Xh),to:l})});var Ux="vocs_NotFound_divider",Hx="vocs_NotFound",Vx="vocs_H1",H0="vocs_Heading",V0="vocs_Heading_slugTarget";function Ro({level:e,...t}){const n=`h${e}`;return w.jsxs(n,{...t,id:void 0,className:I(t.className,H0),children:[w.jsx("div",{id:t.id,className:V0}),t.children]})}function W0(e){return w.jsx(Ro,{...e,className:I(e.className,Vx),level:1})}var Wx="vocs_Paragraph";function K0(e){return w.jsx("p",{...e,className:I(e.className,Wx)})}function Kx(){return w.jsxs("div",{className:Hx,children:[w.jsx(W0,{children:"Page Not Found"}),w.jsx("div",{style:{height:js[24]}}),w.jsx("hr",{className:Ux}),w.jsx("div",{style:{height:js[24]}}),w.jsx(K0,{children:"The page you were looking for could not be found."}),w.jsx("div",{style:{height:js[8]}}),w.jsx(nn,{href:"/",children:"Go to Home Page"})]})}var Yx="var(--vocs_Banner_bannerBackgroundColor)",Gx="var(--vocs_Banner_bannerHeight)",Qx="var(--vocs_Banner_bannerTextColor)",Zx="vocs_Banner_closeButton",Xx="vocs_Banner_content",Jx="vocs_Banner_inner",qx="vocs_Banner";const e5=Object.getPrototypeOf(t5).constructor;async function t5(e,t){return new e5(String(e))(t)}function n5(e,t){return new Function(String(e))(t)}function Tr(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 r5=["color"],o5=h.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Tr(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:"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"}))}),i5=["color"],a5=h.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Tr(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:"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"}))}),l5=["color"],s5=h.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Tr(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:"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"}))}),c5=["color"],u5=h.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Tr(e,c5);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"}))}),f5=["color"],d5=h.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Tr(e,f5);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"}))}),h5=["color"],Bf=h.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Tr(e,h5);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"}))}),p5=["color"],v5=h.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Tr(e,p5);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 ml(e,t){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map((r,o)=>ml(r,o));const n=e.props.children?{...e.props,children:ml(e.props.children)}:e.props;return Z.createElement(e.type,{...n,key:t})}function m5({hide:e}){const{banner:t}=Je(),n=h.useMemo(()=>{const r=(t==null?void 0:t.content)??"";if(!r)return null;if(typeof r!="string")return()=>ml(r);const{default:o}=n5(r,{...Wy,Fragment:h.Fragment});return o},[t]);return n?w.jsx("div",{className:I(qx),style:Gt({[Yx]:t==null?void 0:t.backgroundColor,[Qx]:t==null?void 0:t.textColor}),children:w.jsxs("div",{className:I(Jx),children:[w.jsx("div",{className:I(Xx),children:w.jsx(n,{})}),(t==null?void 0:t.dismissable)!=="false"&&w.jsx("button",{className:I(Zx),onClick:e,type:"button",children:w.jsx(s5,{width:14,height:14})})]})}):null}var g5="vocs_Content";function Y0({children:e,className:t}){return w.jsx("article",{className:I(t,g5),children:e})}function G0({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&&G0({items:o.items,pathname:t}).length>0)&&r.push(o.id);return r}function Hi({items:e,pathname:t}){return h.useMemo(()=>G0({items:e,pathname:t}),[e,t])}function kr(){const e=h.useContext(Q0);if(!e)throw new Error("`usePageData` must be used within `PageDataContext.Provider`.");return e}const Q0=h.createContext(void 0);function Hl(){const{pathname:e}=Re(),t=Je(),{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 Rr(){const e=Hl(),{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 y5(){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 w5="vocs_utils_visibleDark",x5="vocs_utils_visibleLight",Z0="vocs_utils_visuallyHidden";function Y(){return Y=Object.assign?Object.assign.bind():function(e){for(var t=1;te.forEach(n=>C5(n,t))}function ze(...e){return h.useCallback(X0(...e),e)}function En(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,E5(o,...t)]}function E5(...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 gn=globalThis!=null&&globalThis.document?h.useLayoutEffect:()=>{},_5=Bu.useId||(()=>{});let S5=0;function rn(e){const[t,n]=h.useState(_5());return gn(()=>{e||n(r=>r??String(S5++))},[e]),e||(t?`radix-${t}`:"")}function at(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 rr({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=b5({defaultProp:t,onChange:n}),i=e!==void 0,a=i?e:r,l=at(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 b5({defaultProp:e,onChange:t}){const n=h.useState(e),[r]=n,o=h.useRef(r),i=at(t);return h.useEffect(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}const Co=h.forwardRef((e,t)=>{const{children:n,...r}=e,o=h.Children.toArray(n),i=o.find(T5);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(au,Y({},r,{ref:t}),h.isValidElement(a)?h.cloneElement(a,void 0,l):null)}return h.createElement(au,Y({},r,{ref:t}),n)});Co.displayName="Slot";const au=h.forwardRef((e,t)=>{const{children:n,...r}=e;return h.isValidElement(n)?h.cloneElement(n,{...k5(r,n.props),ref:t?X0(t,n.ref):n.ref}):h.Children.count(n)>1?h.Children.only(null):null});au.displayName="SlotClone";const $5=({children:e})=>h.createElement(h.Fragment,null,e);function T5(e){return h.isValidElement(e)&&e.type===$5}function k5(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 R5=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],fe=R5.reduce((e,t)=>{const n=h.forwardRef((r,o)=>{const{asChild:i,...a}=r,l=i?Co: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 lu(e,t){e&&To.flushSync(()=>e.dispatchEvent(t))}function N5(e,t=globalThis==null?void 0:globalThis.document){const n=at(e);h.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const su="dismissableLayer.update",P5="dismissableLayer.pointerDownOutside",A5="dismissableLayer.focusOutside";let qh;const O5=h.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Uf=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(O5),[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,S=x>=m,_=I5($=>{const T=$.target,P=[...f.branches].some(j=>j.contains(T));!S||P||(i==null||i($),l==null||l($),$.defaultPrevented||s==null||s())},p),b=L5($=>{const T=$.target;[...f.branches].some(j=>j.contains(T))||(a==null||a($),l==null||l($),$.defaultPrevented||s==null||s())},p);return N5($=>{x===f.layers.size-1&&(o==null||o($),!$.defaultPrevented&&s&&($.preventDefault(),s()))},p),h.useEffect(()=>{if(c)return r&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(qh=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(c)),f.layers.add(c),ep(),()=>{r&&f.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=qh)}},[c,p,r,f]),h.useEffect(()=>()=>{c&&(f.layers.delete(c),f.layersWithOutsidePointerEventsDisabled.delete(c),ep())},[c,f]),h.useEffect(()=>{const $=()=>y({});return document.addEventListener(su,$),()=>document.removeEventListener(su,$)},[]),h.createElement(fe.div,Y({},u,{ref:g,style:{pointerEvents:E?S?"auto":"none":void 0,...e.style},onFocusCapture:ae(e.onFocusCapture,b.onFocusCapture),onBlurCapture:ae(e.onBlurCapture,b.onBlurCapture),onPointerDownCapture:ae(e.onPointerDownCapture,_.onPointerDownCapture)}))});function I5(e,t=globalThis==null?void 0:globalThis.document){const n=at(e),r=h.useRef(!1),o=h.useRef(()=>{});return h.useEffect(()=>{const i=l=>{if(l.target&&!r.current){let u=function(){J0(P5,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 L5(e,t=globalThis==null?void 0:globalThis.document){const n=at(e),r=h.useRef(!1);return h.useEffect(()=>{const o=i=>{i.target&&!r.current&&J0(A5,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 ep(){const e=new CustomEvent(su);document.dispatchEvent(e)}function J0(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?lu(o,i):o.dispatchEvent(i)}const Ds="focusScope.autoFocusOnMount",Fs="focusScope.autoFocusOnUnmount",tp={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=at(o),f=at(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:Pn(c.current,{select:!0})},C=function(x){if(p.paused||!l)return;const E=x.relatedTarget;E!==null&&(l.contains(E)||Pn(c.current,{select:!0}))},v=function(x){if(document.activeElement===document.body)for(const S of x)S.removedNodes.length>0&&Pn(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){rp.add(p);const g=document.activeElement;if(!l.contains(g)){const v=new CustomEvent(Ds,tp);l.addEventListener(Ds,u),l.dispatchEvent(v),v.defaultPrevented||(M5(B5(eg(l)),{select:!0}),document.activeElement===g&&Pn(l))}return()=>{l.removeEventListener(Ds,u),setTimeout(()=>{const v=new CustomEvent(Fs,tp);l.addEventListener(Fs,f),l.dispatchEvent(v),v.defaultPrevented||Pn(g??document.body,{select:!0}),l.removeEventListener(Fs,f),rp.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]=j5(m);x&&E?!g.shiftKey&&v===E?(g.preventDefault(),n&&Pn(x,{select:!0})):g.shiftKey&&v===x&&(g.preventDefault(),n&&Pn(E,{select:!0})):v===m&&g.preventDefault()}},[n,r,p.paused]);return h.createElement(fe.div,Y({tabIndex:-1},a,{ref:d,onKeyDown:y}))});function M5(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Pn(r,{select:t}),document.activeElement!==n)return}function j5(e){const t=eg(e),n=np(t,e),r=np(t.reverse(),e);return[n,r]}function eg(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 np(e,t){for(const n of e)if(!D5(n,{upTo:t}))return n}function D5(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 F5(e){return e instanceof HTMLInputElement&&"select"in e}function Pn(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&F5(e)&&t&&e.select()}}const rp=z5();function z5(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=op(e,t),e.unshift(t)},remove(t){var n;e=op(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function op(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function B5(e){return e.filter(t=>t.tagName!=="A")}const tg=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?y0.createPortal(h.createElement(fe.div,Y({},o,{ref:t})),r):null});function U5(e,t){return h.useReducer((n,r)=>{const o=t[n][r];return o??n},e)}const _n=e=>{const{present:t,children:n}=e,r=H5(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};_n.displayName="Presence";function H5(e){const[t,n]=h.useState(),r=h.useRef({}),o=h.useRef(e),i=h.useRef("none"),a=e?"mounted":"unmounted",[l,s]=U5(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return h.useEffect(()=>{const u=ga(r.current);i.current=l==="mounted"?u:"none"},[l]),gn(()=>{const u=r.current,f=o.current;if(f!==e){const d=i.current,p=ga(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]),gn(()=>{if(t){const u=c=>{const p=ga(r.current).includes(c.animationName);c.target===t&&p&&To.flushSync(()=>s("ANIMATION_END"))},f=c=>{c.target===t&&(i.current=ga(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 ga(e){return(e==null?void 0:e.animationName)||"none"}let zs=0;function ng(){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:ip()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:ip()),zs++,()=>{zs===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),zs--}},[])}function ip(){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 qt=function(){return qt=Object.assign||function(t){for(var n,r=1,o=arguments.length;r"u")return a4;var t=l4(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])}},c4=ag(),lo="data-scroll-locked",u4=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(W5,` { overflow: hidden `).concat(r,`; padding-right: `).concat(l,"px ").concat(r,`; @@ -110,8 +110,8 @@ Error generating stack: `+i.message+` * https://markjs.io/ * Copyright (c) 2014–2018, Julian Kühnel * Released under the MIT license https://git.io/vwTVl -*****************************************************/(function(e,t){(function(n,r){e.exports=r()})(Ey,function(){var n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(u){return typeof u}:function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},r=function(u,f){if(!(u instanceof f))throw new TypeError("Cannot call a class as a function")},o=function(){function u(f,c){for(var d=0;d1&&arguments[1]!==void 0?arguments[1]:!0,d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],p=arguments.length>3&&arguments[3]!==void 0?arguments[3]:5e3;r(this,u),this.ctx=f,this.iframes=c,this.exclude=d,this.iframesTimeout=p}return o(u,[{key:"getContexts",value:function(){var c=void 0,d=[];return typeof this.ctx>"u"||!this.ctx?c=[]:NodeList.prototype.isPrototypeOf(this.ctx)?c=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?c=this.ctx:typeof this.ctx=="string"?c=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):c=[this.ctx],c.forEach(function(p){var y=d.filter(function(g){return g.contains(p)}).length>0;d.indexOf(p)===-1&&!y&&d.push(p)}),d}},{key:"getIframeContents",value:function(c,d){var p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){},y=void 0;try{var g=c.contentWindow;if(y=g.document,!g||!y)throw new Error("iframe inaccessible")}catch{p()}y&&d(y)}},{key:"isIframeBlank",value:function(c){var d="about:blank",p=c.getAttribute("src").trim(),y=c.contentWindow.location.href;return y===d&&p!==d&&p}},{key:"observeIframeLoad",value:function(c,d,p){var y=this,g=!1,C=null,v=function m(){if(!g){g=!0,clearTimeout(C);try{y.isIframeBlank(c)||(c.removeEventListener("load",m),y.getIframeContents(c,d,p))}catch{p()}}};c.addEventListener("load",v),C=setTimeout(v,this.iframesTimeout)}},{key:"onIframeReady",value:function(c,d,p){try{c.contentWindow.document.readyState==="complete"?this.isIframeBlank(c)?this.observeIframeLoad(c,d,p):this.getIframeContents(c,d,p):this.observeIframeLoad(c,d,p)}catch{p()}}},{key:"waitForIframes",value:function(c,d){var p=this,y=0;this.forEachIframe(c,function(){return!0},function(g){y++,p.waitForIframes(g.querySelector("html"),function(){--y||d()})},function(g){g||d()})}},{key:"forEachIframe",value:function(c,d,p){var y=this,g=arguments.length>3&&arguments[3]!==void 0?arguments[3]:function(){},C=c.querySelectorAll("iframe"),v=C.length,m=0;C=Array.prototype.slice.call(C);var x=function(){--v<=0&&g(m)};v||x(),C.forEach(function(E){u.matches(E,y.exclude)?x():y.onIframeReady(E,function(S){d(E)&&(m++,p(S)),x()},x)})}},{key:"createIterator",value:function(c,d,p){return document.createNodeIterator(c,d,p,!1)}},{key:"createInstanceOnIframe",value:function(c){return new u(c.querySelector("html"),this.iframes)}},{key:"compareNodeIframe",value:function(c,d,p){var y=c.compareDocumentPosition(p),g=Node.DOCUMENT_POSITION_PRECEDING;if(y&g)if(d!==null){var C=d.compareDocumentPosition(p),v=Node.DOCUMENT_POSITION_FOLLOWING;if(C&v)return!0}else return!0;return!1}},{key:"getIteratorNode",value:function(c){var d=c.previousNode(),p=void 0;return d===null?p=c.nextNode():p=c.nextNode()&&c.nextNode(),{prevNode:d,node:p}}},{key:"checkIframeFilter",value:function(c,d,p,y){var g=!1,C=!1;return y.forEach(function(v,m){v.val===p&&(g=m,C=v.handled)}),this.compareNodeIframe(c,d,p)?(g===!1&&!C?y.push({val:p,handled:!0}):g!==!1&&!C&&(y[g].handled=!0),!0):(g===!1&&y.push({val:p,handled:!1}),!1)}},{key:"handleOpenIframes",value:function(c,d,p,y){var g=this;c.forEach(function(C){C.handled||g.getIframeContents(C.val,function(v){g.createInstanceOnIframe(v).forEachNode(d,p,y)})})}},{key:"iterateThroughNodes",value:function(c,d,p,y,g){for(var C=this,v=this.createIterator(d,c,y),m=[],x=[],E=void 0,S=void 0,_=function(){var $=C.getIteratorNode(v);return S=$.prevNode,E=$.node,E};_();)this.iframes&&this.forEachIframe(d,function(b){return C.checkIframeFilter(E,S,b,m)},function(b){C.createInstanceOnIframe(b).forEachNode(c,function($){return x.push($)},y)}),x.push(E);x.forEach(function(b){p(b)}),this.iframes&&this.handleOpenIframes(m,c,p,y),g()}},{key:"forEachNode",value:function(c,d,p){var y=this,g=arguments.length>3&&arguments[3]!==void 0?arguments[3]:function(){},C=this.getContexts(),v=C.length;v||g(),C.forEach(function(m){var x=function(){y.iterateThroughNodes(c,m,d,p,function(){--v<=0&&g()})};y.iframes?y.waitForIframes(m,x):x()})}}],[{key:"matches",value:function(c,d){var p=typeof d=="string"?[d]:d,y=c.matches||c.matchesSelector||c.msMatchesSelector||c.mozMatchesSelector||c.oMatchesSelector||c.webkitMatchesSelector;if(y){var g=!1;return p.every(function(C){return y.call(c,C)?(g=!0,!1):!0}),g}else return!1}}]),u}(),l=function(){function u(f){r(this,u),this.ctx=f,this.ie=!1;var c=window.navigator.userAgent;(c.indexOf("MSIE")>-1||c.indexOf("Trident")>-1)&&(this.ie=!0)}return o(u,[{key:"log",value:function(c){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"debug",p=this.opt.log;this.opt.debug&&(typeof p>"u"?"undefined":n(p))==="object"&&typeof p[d]=="function"&&p[d]("mark.js: "+c)}},{key:"escapeStr",value:function(c){return c.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}},{key:"createRegExp",value:function(c){return this.opt.wildcards!=="disabled"&&(c=this.setupWildcardsRegExp(c)),c=this.escapeStr(c),Object.keys(this.opt.synonyms).length&&(c=this.createSynonymsRegExp(c)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(c=this.setupIgnoreJoinersRegExp(c)),this.opt.diacritics&&(c=this.createDiacriticsRegExp(c)),c=this.createMergedBlanksRegExp(c),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(c=this.createJoinersRegExp(c)),this.opt.wildcards!=="disabled"&&(c=this.createWildcardsRegExp(c)),c=this.createAccuracyRegExp(c),c}},{key:"createSynonymsRegExp",value:function(c){var d=this.opt.synonyms,p=this.opt.caseSensitive?"":"i",y=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(var g in d)if(d.hasOwnProperty(g)){var C=d[g],v=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(g):this.escapeStr(g),m=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(C):this.escapeStr(C);v!==""&&m!==""&&(c=c.replace(new RegExp("("+this.escapeStr(v)+"|"+this.escapeStr(m)+")","gm"+p),y+("("+this.processSynomyms(v)+"|")+(this.processSynomyms(m)+")")+y))}return c}},{key:"processSynomyms",value:function(c){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(c=this.setupIgnoreJoinersRegExp(c)),c}},{key:"setupWildcardsRegExp",value:function(c){return c=c.replace(/(?:\\)*\?/g,function(d){return d.charAt(0)==="\\"?"?":""}),c.replace(/(?:\\)*\*/g,function(d){return d.charAt(0)==="\\"?"*":""})}},{key:"createWildcardsRegExp",value:function(c){var d=this.opt.wildcards==="withSpaces";return c.replace(/\u0001/g,d?"[\\S\\s]?":"\\S?").replace(/\u0002/g,d?"[\\S\\s]*?":"\\S*")}},{key:"setupIgnoreJoinersRegExp",value:function(c){return c.replace(/[^(|)\\]/g,function(d,p,y){var g=y.charAt(p+1);return/[(|)\\]/.test(g)||g===""?d:d+"\0"})}},{key:"createJoinersRegExp",value:function(c){var d=[],p=this.opt.ignorePunctuation;return Array.isArray(p)&&p.length&&d.push(this.escapeStr(p.join(""))),this.opt.ignoreJoiners&&d.push("\\u00ad\\u200b\\u200c\\u200d"),d.length?c.split(/\u0000+/).join("["+d.join("")+"]*"):c}},{key:"createDiacriticsRegExp",value:function(c){var d=this.opt.caseSensitive?"":"i",p=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"],y=[];return c.split("").forEach(function(g){p.every(function(C){if(C.indexOf(g)!==-1){if(y.indexOf(C)>-1)return!1;c=c.replace(new RegExp("["+C+"]","gm"+d),"["+C+"]"),y.push(C)}return!0})}),c}},{key:"createMergedBlanksRegExp",value:function(c){return c.replace(/[\s]+/gmi,"[\\s]+")}},{key:"createAccuracyRegExp",value:function(c){var d=this,p="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿",y=this.opt.accuracy,g=typeof y=="string"?y:y.value,C=typeof y=="string"?[]:y.limiters,v="";switch(C.forEach(function(m){v+="|"+d.escapeStr(m)}),g){case"partially":default:return"()("+c+")";case"complementary":return v="\\s"+(v||this.escapeStr(p)),"()([^"+v+"]*"+c+"[^"+v+"]*)";case"exactly":return"(^|\\s"+v+")("+c+")(?=$|\\s"+v+")"}}},{key:"getSeparatedKeywords",value:function(c){var d=this,p=[];return c.forEach(function(y){d.opt.separateWordSearch?y.split(" ").forEach(function(g){g.trim()&&p.indexOf(g)===-1&&p.push(g)}):y.trim()&&p.indexOf(y)===-1&&p.push(y)}),{keywords:p.sort(function(y,g){return g.length-y.length}),length:p.length}}},{key:"isNumeric",value:function(c){return Number(parseFloat(c))==c}},{key:"checkRanges",value:function(c){var d=this;if(!Array.isArray(c)||Object.prototype.toString.call(c[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(c),[];var p=[],y=0;return c.sort(function(g,C){return g.start-C.start}).forEach(function(g){var C=d.callNoMatchOnInvalidRanges(g,y),v=C.start,m=C.end,x=C.valid;x&&(g.start=v,g.length=m-v,p.push(g),y=m)}),p}},{key:"callNoMatchOnInvalidRanges",value:function(c,d){var p=void 0,y=void 0,g=!1;return c&&typeof c.start<"u"?(p=parseInt(c.start,10),y=p+parseInt(c.length,10),this.isNumeric(c.start)&&this.isNumeric(c.length)&&y-d>0&&y-p>0?g=!0:(this.log("Ignoring invalid or overlapping range: "+(""+JSON.stringify(c))),this.opt.noMatch(c))):(this.log("Ignoring invalid range: "+JSON.stringify(c)),this.opt.noMatch(c)),{start:p,end:y,valid:g}}},{key:"checkWhitespaceRanges",value:function(c,d,p){var y=void 0,g=!0,C=p.length,v=d-C,m=parseInt(c.start,10)-v;return m=m>C?C:m,y=m+parseInt(c.length,10),y>C&&(y=C,this.log("End range automatically set to the max value of "+C)),m<0||y-m<0||m>C||y>C?(g=!1,this.log("Invalid range: "+JSON.stringify(c)),this.opt.noMatch(c)):p.substring(m,y).replace(/\s+/g,"")===""&&(g=!1,this.log("Skipping whitespace only range: "+JSON.stringify(c)),this.opt.noMatch(c)),{start:m,end:y,valid:g}}},{key:"getTextNodes",value:function(c){var d=this,p="",y=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,function(g){y.push({start:p.length,end:(p+=g.textContent).length,node:g})},function(g){return d.matchesExclude(g.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},function(){c({value:p,nodes:y})})}},{key:"matchesExclude",value:function(c){return a.matches(c,this.opt.exclude.concat(["script","style","title","head","html"]))}},{key:"wrapRangeInTextNode",value:function(c,d,p){var y=this.opt.element?this.opt.element:"mark",g=c.splitText(d),C=g.splitText(p-d),v=document.createElement(y);return v.setAttribute("data-markjs","true"),this.opt.className&&v.setAttribute("class",this.opt.className),v.textContent=g.textContent,g.parentNode.replaceChild(v,g),C}},{key:"wrapRangeInMappedTextNode",value:function(c,d,p,y,g){var C=this;c.nodes.every(function(v,m){var x=c.nodes[m+1];if(typeof x>"u"||x.start>d){if(!y(v.node))return!1;var E=d-v.start,S=(p>v.end?v.end:p)-v.start,_=c.value.substr(0,v.start),b=c.value.substr(S+v.start);if(v.node=C.wrapRangeInTextNode(v.node,E,S),c.value=_+b,c.nodes.forEach(function($,T){T>=m&&(c.nodes[T].start>0&&T!==m&&(c.nodes[T].start-=S),c.nodes[T].end-=S)}),p-=S,g(v.node.previousSibling,v.start),p>v.end)d=v.end;else return!1}return!0})}},{key:"wrapMatches",value:function(c,d,p,y,g){var C=this,v=d===0?0:d+1;this.getTextNodes(function(m){m.nodes.forEach(function(x){x=x.node;for(var E=void 0;(E=c.exec(x.textContent))!==null&&E[v]!=="";)if(p(E[v],x)){var S=E.index;if(v!==0)for(var _=1;_{const o=setTimeout(()=>r(e),t||500);return()=>{clearTimeout(o)}},[e,t]),n}function pu(e,t){const[n,r]=h.useState();h.useEffect(()=>{const i=h7(e);r(typeof i>"u"||i===null?typeof t=="function"?t():t:i)},[t,e]);const o=h.useCallback(i=>{r(a=>{let l;typeof i=="function"?l=i(a):l=i;try{localStorage.setItem(e,JSON.stringify(l))}catch{}return l})},[e]);return[n,o]}function h7(e){try{const t=localStorage.getItem(e);return typeof t=="string"?JSON.parse(t):void 0}catch{return}}var p7="vocs_Kbd";function Rg(e){return w.jsx("kbd",{...e,className:I(e.className,p7)})}var v7="vocs_KeyboardShortcut_kbdGroup",m7="vocs_KeyboardShortcut";function eo(e){const{description:t,keys:n}=e;return w.jsxs("span",{className:m7,children:[t,w.jsx("span",{className:v7,children:n.map(r=>w.jsx(Rg,{children:r},r))})]})}var g7="vocs_SearchDialog_content",vp="vocs_SearchDialog_excerpt",y7="vocs_SearchDialog_overlay",w7="vocs_SearchDialog_result",mp="vocs_SearchDialog_resultIcon",x7="vocs_SearchDialog_resultSelected",C7="vocs_SearchDialog_results",E7="vocs_SearchDialog",_7="vocs_SearchDialog_searchBox",S7="vocs_SearchDialog_searchInput",_a="vocs_SearchDialog_searchInputIcon",b7="vocs_SearchDialog_searchInputIconDesktop",$7="vocs_SearchDialog_searchInputIconMobile",T7="vocs_SearchDialog_searchShortcuts",gp="vocs_SearchDialog_title",k7="vocs_SearchDialog_titleIcon",R7="vocs_SearchDialog_titles";function Ng(e){const t=Df(),n=h.useRef(null),r=h.useRef(null),[o,i]=pu("filterText",""),a=d7(o,200),l=Tg(),[s,u]=h.useState(-1),[f,c]=h.useState(!1),[d,p]=pu("showDetailView",!0),y=h.useMemo(()=>l?a?(u(0),l.search(a).slice(0,16)):(u(-1),[]):[],[l,a]),g=y.length,C=y[s],v=h.useCallback(()=>{var S,_,b;if(!r.current)return;const m=new Set;for(const $ of y)for(const T in $.match)m.add(T);const x=new f7(r.current);x.unmark({done(){x==null||x.markRegExp(N7(m))}});const E=r.current.querySelectorAll(`.${vp}`);for(const $ of E)(S=$.querySelector('mark[data-markjs="true"]'))==null||S.scrollIntoView({block:"center"});(b=(_=r.current)==null?void 0:_.firstElementChild)==null||b.scrollIntoView({block:"start"})},[y]);return h.useEffect(()=>{if(!e.open)return;function m(x){var E;switch(x.key){case"ArrowDown":{x.preventDefault(),u(S=>{var $;let _=S+1;_>=g&&(_=0);const b=($=r.current)==null?void 0:$.children[_];return b==null||b.scrollIntoView({block:"nearest"}),_}),c(!0);break}case"ArrowUp":{x.preventDefault(),u(S=>{var $;let _=S-1;_<0&&(_=g-1);const b=($=r.current)==null?void 0:$.children[_];return b==null||b.scrollIntoView({block:"nearest"}),_}),c(!0);break}case"Backspace":{if(!x.metaKey)return;x.preventDefault(),i(""),(E=n.current)==null||E.focus();break}case"Enter":{if(x.target instanceof HTMLButtonElement&&x.target.type!=="submit"||!C)return;x.preventDefault(),t(C.href),e.onClose();break}}}return window.addEventListener("keydown",m),()=>{window.removeEventListener("keydown",m)}},[t,g,i,C,e.open,e.onClose]),h.useEffect(()=>{a!==""&&r.current&&v()},[v,a]),w.jsxs(B4,{children:[w.jsx(U4,{className:y7}),w.jsxs(H4,{onOpenAutoFocus:m=>{n.current&&(m.preventDefault(),n.current.focus()),v()},onCloseAutoFocus:()=>{u(0)},className:E7,"aria-describedby":void 0,children:[w.jsx(V4,{className:Z0,children:"Search"}),w.jsxs("form",{className:_7,children:[w.jsx("button",{"aria-label":"Close search dialog",type:"button",onClick:()=>e.onClose(),className:$7,children:w.jsx(o5,{className:_a,height:20,width:20})}),w.jsx(c7,{htmlFor:"search-input",children:w.jsx(Bf,{"aria-label":"Search",className:I(_a,b7),height:20,width:20})}),w.jsx("input",{ref:n,tabIndex:0,className:S7,id:"search-input",onChange:m=>i(m.target.value),placeholder:"Search",type:"search",value:o}),w.jsx("button",{"aria-label":"Toggle detail view",type:"button",onClick:()=>p(m=>!m),children:w.jsx(d5,{className:_a,height:20,width:20})}),w.jsx("button",{"aria-label":"Reset search",type:"button",className:_a,onClick:()=>{var m;i(""),(m=n.current)==null||m.focus()},children:"⌫"})]}),w.jsxs("ul",{className:C7,role:y.length?"listbox":void 0,onMouseMove:()=>c(!1),ref:r,children:[a&&y.length===0&&w.jsxs("li",{children:['No results for "',w.jsx("span",{children:a}),'"']}),y.map((m,x)=>{var E;return w.jsx("li",{role:"option",className:I(w7,x===s&&x7),"aria-selected":x===s,"aria-label":[...m.titles.filter(S=>!!S),m.title].join(" > "),children:w.jsxs(M0,{to:m.href,onClick:S=>{S.metaKey||e.onClose()},onMouseEnter:()=>!f&&u(x),onFocus:()=>u(x),children:[w.jsxs("div",{className:R7,children:[m.isPage?w.jsx(u5,{className:mp}):w.jsx("span",{className:mp,children:"#"}),m.titles.filter(S=>!!S).map(S=>w.jsxs("span",{className:gp,children:[w.jsx("span",{dangerouslySetInnerHTML:{__html:S}}),w.jsx(a5,{className:k7})]},S)),w.jsx("span",{className:gp,children:w.jsx("span",{dangerouslySetInnerHTML:{__html:m.title}})})]}),d&&((E=m.text)==null?void 0:E.trim())&&w.jsx("div",{className:vp,children:w.jsx(Y0,{className:g7,children:w.jsx("div",{dangerouslySetInnerHTML:{__html:m.html}})})})]})},m.id)})]}),w.jsxs("div",{className:T7,children:[w.jsx(eo,{description:"Navigate",keys:["↑","↓"]}),w.jsx(eo,{description:"Select",keys:["enter"]}),w.jsx(eo,{description:"Close",keys:["esc"]}),w.jsx(eo,{description:"Reset",keys:["⌘","⌫"]})]})]})]})}function N7(e){return new RegExp([...e].sort((t,n)=>n.length-t.length).map(t=>`(${t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")})`).join("|"),"gi")}function P7(){Tg();const[e,t]=h.useState(!1);return h.useEffect(()=>{function n(r){const o=document.activeElement instanceof HTMLElement&&(["input","select","textarea"].includes(document.activeElement.tagName.toLowerCase())||document.activeElement.isContentEditable);r.key==="/"&&!e&&!o?(r.preventDefault(),t(!0)):r.metaKey===!0&&r.key==="k"&&(r.preventDefault(),t(i=>!i))}return window.addEventListener("keydown",n),()=>{window.removeEventListener("keydown",n)}},[e]),w.jsxs(wg,{open:e,onOpenChange:t,children:[w.jsx(xg,{asChild:!0,children:w.jsxs("button",{className:a7,type:"button",children:[w.jsx(Bf,{style:{marginTop:2}}),"Search",w.jsx("div",{className:l7,children:w.jsx("div",{style:{background:"currentColor",transform:"rotate(45deg)",width:1.5,borderRadius:2,height:"100%"}})})]})}),w.jsx(Ng,{open:e,onClose:()=>t(!1)})]})}var Pg="vocs_DesktopTopNav_button",A7="vocs_DesktopTopNav_content",O7="vocs_DesktopTopNav_curtain",yp="vocs_DesktopTopNav_divider",Js="vocs_DesktopTopNav_group",Sa="vocs_DesktopTopNav_hideCompact",vu="vocs_DesktopTopNav_icon",yl="vocs_DesktopTopNav_item",I7="vocs_DesktopTopNav_logo",L7="vocs_DesktopTopNav_logoWrapper",M7="vocs_DesktopTopNav",wp="vocs_DesktopTopNav_section",j7="vocs_DesktopTopNav_withLogo",D7="vocs_Icon",mu="var(--vocs_Icon_size)";function st({className:e,label:t,icon:n,size:r,style:o}){return w.jsx("div",{"aria-label":t,className:I(D7,e),role:"img",style:{...o,...Gt({[mu]:r})},children:w.jsx(n,{height:r,width:r})})}var F7="vocs_Logo_logoDark",z7="vocs_Logo_logoLight",qs="vocs_Logo";function B7({className:e}){const{logoUrl:t}=Je();return t?w.jsx(w.Fragment,{children:typeof t=="string"?w.jsx("img",{alt:"Logo",className:I(e,qs),src:t}):w.jsxs(w.Fragment,{children:[w.jsx("img",{alt:"Logo",className:I(e,qs,F7),src:t.dark}),w.jsx("img",{alt:"Logo",className:I(e,qs,z7),src:t.light})]})}):null}var U7="vocs_NavLogo_logoImage",H7="vocs_NavLogo_title";function Kf(){const e=Je();return e.logoUrl?w.jsx(B7,{className:U7}):w.jsx("div",{className:H7,children:e.title})}const V7=h.createContext(void 0);function Wl(e){const t=h.useContext(V7);return e||t||"ltr"}function Kl(e){const t=e+"CollectionProvider",[n,r]=En(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=p=>{const{scope:y,children:g}=p,C=Z.useRef(null),v=Z.useRef(new Map).current;return Z.createElement(o,{scope:y,itemMap:v,collectionRef:C},g)},l=e+"CollectionSlot",s=Z.forwardRef((p,y)=>{const{scope:g,children:C}=p,v=i(l,g),m=ze(y,v.collectionRef);return Z.createElement(Co,{ref:m},C)}),u=e+"CollectionItemSlot",f="data-radix-collection-item",c=Z.forwardRef((p,y)=>{const{scope:g,children:C,...v}=p,m=Z.useRef(null),x=ze(y,m),E=i(u,g);return Z.useEffect(()=>(E.itemMap.set(m,{ref:m,...v}),()=>void E.itemMap.delete(m))),Z.createElement(Co,{[f]:"",ref:x},C)});function d(p){const y=i(e+"CollectionConsumer",p);return Z.useCallback(()=>{const C=y.collectionRef.current;if(!C)return[];const v=Array.from(C.querySelectorAll(`[${f}]`));return Array.from(y.itemMap.values()).sort((E,S)=>v.indexOf(E.ref.current)-v.indexOf(S.ref.current))},[y.collectionRef,y.itemMap])}return[{Provider:a,Slot:s,ItemSlot:c},d,r]}function W7(e){const t=h.useRef({value:e,previous:e});return h.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}const K7=h.forwardRef((e,t)=>h.createElement(fe.span,Y({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),Y7=K7,Vi="NavigationMenu",[Yf,G7,Q7]=Kl(Vi),[gu,Z7,X7]=Kl(Vi),[Gf,t$]=En(Vi,[Q7,X7]),[J7,Nr]=Gf(Vi),[q7,n$]=Gf(Vi),e8=h.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,value:r,onValueChange:o,defaultValue:i,delayDuration:a=200,skipDelayDuration:l=300,orientation:s="horizontal",dir:u,...f}=e,[c,d]=h.useState(null),p=ze(t,T=>d(T)),y=Wl(u),g=h.useRef(0),C=h.useRef(0),v=h.useRef(0),[m,x]=h.useState(!0),[E="",S]=rr({prop:r,onChange:T=>{const P=T!=="",j=l>0;P?(window.clearTimeout(v.current),j&&x(!1)):(window.clearTimeout(v.current),v.current=window.setTimeout(()=>x(!0),l)),o==null||o(T)},defaultProp:i}),_=h.useCallback(()=>{window.clearTimeout(C.current),C.current=window.setTimeout(()=>S(""),150)},[S]),b=h.useCallback(T=>{window.clearTimeout(C.current),S(T)},[S]),$=h.useCallback(T=>{E===T?window.clearTimeout(C.current):g.current=window.setTimeout(()=>{window.clearTimeout(C.current),S(T)},a)},[E,S,a]);return h.useEffect(()=>()=>{window.clearTimeout(g.current),window.clearTimeout(C.current),window.clearTimeout(v.current)},[]),h.createElement(t8,{scope:n,isRootMenu:!0,value:E,dir:y,orientation:s,rootNavigationMenu:c,onTriggerEnter:T=>{window.clearTimeout(g.current),m?$(T):b(T)},onTriggerLeave:()=>{window.clearTimeout(g.current),_()},onContentEnter:()=>window.clearTimeout(C.current),onContentLeave:_,onItemSelect:T=>{S(P=>P===T?"":T)},onItemDismiss:()=>S("")},h.createElement(fe.nav,Y({"aria-label":"Main","data-orientation":s,dir:y},f,{ref:p})))}),t8=e=>{const{scope:t,isRootMenu:n,rootNavigationMenu:r,dir:o,orientation:i,children:a,value:l,onItemSelect:s,onItemDismiss:u,onTriggerEnter:f,onTriggerLeave:c,onContentEnter:d,onContentLeave:p}=e,[y,g]=h.useState(null),[C,v]=h.useState(new Map),[m,x]=h.useState(null);return h.createElement(J7,{scope:t,isRootMenu:n,rootNavigationMenu:r,value:l,previousValue:W7(l),baseId:rn(),dir:o,orientation:i,viewport:y,onViewportChange:g,indicatorTrack:m,onIndicatorTrackChange:x,onTriggerEnter:at(f),onTriggerLeave:at(c),onContentEnter:at(d),onContentLeave:at(p),onItemSelect:at(s),onItemDismiss:at(u),onViewportContentChange:h.useCallback((E,S)=>{v(_=>(_.set(E,S),new Map(_)))},[]),onViewportContentRemove:h.useCallback(E=>{v(S=>S.has(E)?(S.delete(E),new Map(S)):S)},[])},h.createElement(Yf.Provider,{scope:t},h.createElement(q7,{scope:t,items:C},a)))},n8="NavigationMenuList",r8=h.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,...r}=e,o=Nr(n8,n),i=h.createElement(fe.ul,Y({"data-orientation":o.orientation},r,{ref:t}));return h.createElement(fe.div,{style:{position:"relative"},ref:o.onIndicatorTrackChange},h.createElement(Yf.Slot,{scope:n},o.isRootMenu?h.createElement(Og,{asChild:!0},i):i))}),o8="NavigationMenuItem",[i8,Ag]=Gf(o8),a8=h.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,value:r,...o}=e,i=rn(),a=r||i||"LEGACY_REACT_AUTO_VALUE",l=h.useRef(null),s=h.useRef(null),u=h.useRef(null),f=h.useRef(()=>{}),c=h.useRef(!1),d=h.useCallback((y="start")=>{if(l.current){f.current();const g=yu(l.current);g.length&&Qf(y==="start"?g:g.reverse())}},[]),p=h.useCallback(()=>{if(l.current){const y=yu(l.current);y.length&&(f.current=p8(y))}},[]);return h.createElement(i8,{scope:n,value:a,triggerRef:s,contentRef:l,focusProxyRef:u,wasEscapeCloseRef:c,onEntryKeyDown:d,onFocusProxyEnter:d,onRootContentClose:p,onContentFocusOutside:p},h.createElement(fe.li,Y({},o,{ref:t})))}),xp="NavigationMenuTrigger",l8=h.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,disabled:r,...o}=e,i=Nr(xp,e.__scopeNavigationMenu),a=Ag(xp,e.__scopeNavigationMenu),l=h.useRef(null),s=ze(l,a.triggerRef,t),u=Mg(i.baseId,a.value),f=jg(i.baseId,a.value),c=h.useRef(!1),d=h.useRef(!1),p=a.value===i.value;return h.createElement(h.Fragment,null,h.createElement(Yf.ItemSlot,{scope:n,value:a.value},h.createElement(Ig,{asChild:!0},h.createElement(fe.button,Y({id:u,disabled:r,"data-disabled":r?"":void 0,"data-state":Lg(p),"aria-expanded":p,"aria-controls":f},o,{ref:s,onPointerEnter:ae(e.onPointerEnter,()=>{d.current=!1,a.wasEscapeCloseRef.current=!1}),onPointerMove:ae(e.onPointerMove,wu(()=>{r||d.current||a.wasEscapeCloseRef.current||c.current||(i.onTriggerEnter(a.value),c.current=!0)})),onPointerLeave:ae(e.onPointerLeave,wu(()=>{r||(i.onTriggerLeave(),c.current=!1)})),onClick:ae(e.onClick,()=>{i.onItemSelect(a.value),d.current=p}),onKeyDown:ae(e.onKeyDown,y=>{const C={horizontal:"ArrowDown",vertical:i.dir==="rtl"?"ArrowLeft":"ArrowRight"}[i.orientation];p&&y.key===C&&(a.onEntryKeyDown(),y.preventDefault())})})))),p&&h.createElement(h.Fragment,null,h.createElement(Y7,{"aria-hidden":!0,tabIndex:0,ref:a.focusProxyRef,onFocus:y=>{const g=a.contentRef.current,C=y.relatedTarget,v=C===l.current,m=g==null?void 0:g.contains(C);(v||!m)&&a.onFocusProxyEnter(v?"start":"end")}}),i.viewport&&h.createElement("span",{"aria-owns":f})))}),Cp="navigationMenu.linkSelect",s8=h.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,active:r,onSelect:o,...i}=e;return h.createElement(Ig,{asChild:!0},h.createElement(fe.a,Y({"data-active":r?"":void 0,"aria-current":r?"page":void 0},i,{ref:t,onClick:ae(e.onClick,a=>{const l=a.target,s=new CustomEvent(Cp,{bubbles:!0,cancelable:!0});if(l.addEventListener(Cp,u=>o==null?void 0:o(u),{once:!0}),lu(l,s),!s.defaultPrevented&&!a.metaKey){const u=new CustomEvent(Ua,{bubbles:!0,cancelable:!0});lu(l,u)}},{checkForDefaultPrevented:!1})})))}),wl="NavigationMenuContent",c8=h.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=Nr(wl,e.__scopeNavigationMenu),i=Ag(wl,e.__scopeNavigationMenu),a=ze(i.contentRef,t),l=i.value===o.value,s={value:i.value,triggerRef:i.triggerRef,focusProxyRef:i.focusProxyRef,wasEscapeCloseRef:i.wasEscapeCloseRef,onContentFocusOutside:i.onContentFocusOutside,onRootContentClose:i.onRootContentClose,...r};return o.viewport?h.createElement(u8,Y({forceMount:n},s,{ref:a})):h.createElement(_n,{present:n||l},h.createElement(f8,Y({"data-state":Lg(l)},s,{ref:a,onPointerEnter:ae(e.onPointerEnter,o.onContentEnter),onPointerLeave:ae(e.onPointerLeave,wu(o.onContentLeave)),style:{pointerEvents:!l&&o.isRootMenu?"none":void 0,...s.style}})))}),u8=h.forwardRef((e,t)=>{const n=Nr(wl,e.__scopeNavigationMenu),{onViewportContentChange:r,onViewportContentRemove:o}=n;return gn(()=>{r(e.value,{ref:t,...e})},[e,t,r]),gn(()=>()=>o(e.value),[e.value,o]),null}),Ua="navigationMenu.rootContentDismiss",f8=h.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,value:r,triggerRef:o,focusProxyRef:i,wasEscapeCloseRef:a,onRootContentClose:l,onContentFocusOutside:s,...u}=e,f=Nr(wl,n),c=h.useRef(null),d=ze(c,t),p=Mg(f.baseId,r),y=jg(f.baseId,r),g=G7(n),C=h.useRef(null),{onItemDismiss:v}=f;h.useEffect(()=>{const x=c.current;if(f.isRootMenu&&x){const E=()=>{var S;v(),l(),x.contains(document.activeElement)&&((S=o.current)===null||S===void 0||S.focus())};return x.addEventListener(Ua,E),()=>x.removeEventListener(Ua,E)}},[f.isRootMenu,e.value,o,v,l]);const m=h.useMemo(()=>{const E=g().map(P=>P.value);f.dir==="rtl"&&E.reverse();const S=E.indexOf(f.value),_=E.indexOf(f.previousValue),b=r===f.value,$=_===E.indexOf(r);if(!b&&!$)return C.current;const T=(()=>{if(S!==_){if(b&&_!==-1)return S>_?"from-end":"from-start";if($&&S!==-1)return S>_?"to-start":"to-end"}return null})();return C.current=T,T},[f.previousValue,f.value,f.dir,g,r]);return h.createElement(Og,{asChild:!0},h.createElement(Uf,Y({id:y,"aria-labelledby":p,"data-motion":m,"data-orientation":f.orientation},u,{ref:d,onDismiss:()=>{var x;const E=new Event(Ua,{bubbles:!0,cancelable:!0});(x=c.current)===null||x===void 0||x.dispatchEvent(E)},onFocusOutside:ae(e.onFocusOutside,x=>{var E;s();const S=x.target;(E=f.rootNavigationMenu)!==null&&E!==void 0&&E.contains(S)&&x.preventDefault()}),onPointerDownOutside:ae(e.onPointerDownOutside,x=>{var E;const S=x.target,_=g().some($=>{var T;return(T=$.ref.current)===null||T===void 0?void 0:T.contains(S)}),b=f.isRootMenu&&((E=f.viewport)===null||E===void 0?void 0:E.contains(S));(_||b||!f.isRootMenu)&&x.preventDefault()}),onKeyDown:ae(e.onKeyDown,x=>{const E=x.altKey||x.ctrlKey||x.metaKey;if(x.key==="Tab"&&!E){const b=yu(x.currentTarget),$=document.activeElement,T=b.findIndex(L=>L===$),j=x.shiftKey?b.slice(0,T).reverse():b.slice(T+1,b.length);if(Qf(j))x.preventDefault();else{var _;(_=i.current)===null||_===void 0||_.focus()}}}),onEscapeKeyDown:ae(e.onEscapeKeyDown,x=>{a.current=!0})})))}),d8="FocusGroup",Og=h.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,...r}=e,o=Nr(d8,n);return h.createElement(gu.Provider,{scope:n},h.createElement(gu.Slot,{scope:n},h.createElement(fe.div,Y({dir:o.dir},r,{ref:t}))))}),Ep=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown"],h8="FocusGroupItem",Ig=h.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,...r}=e,o=Z7(n),i=Nr(h8,n);return h.createElement(gu.ItemSlot,{scope:n},h.createElement(fe.button,Y({},r,{ref:t,onKeyDown:ae(e.onKeyDown,a=>{if(["Home","End",...Ep].includes(a.key)){let s=o().map(c=>c.ref.current);if([i.dir==="rtl"?"ArrowRight":"ArrowLeft","ArrowUp","End"].includes(a.key)&&s.reverse(),Ep.includes(a.key)){const c=s.indexOf(a.currentTarget);s=s.slice(c+1)}setTimeout(()=>Qf(s)),a.preventDefault()}})})))});function yu(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 Qf(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}function p8(e){return e.forEach(t=>{t.dataset.tabindex=t.getAttribute("tabindex")||"",t.setAttribute("tabindex","-1")}),()=>{e.forEach(t=>{const n=t.dataset.tabindex;t.setAttribute("tabindex",n)})}}function Lg(e){return e?"open":"closed"}function Mg(e,t){return`${e}-trigger-${t}`}function jg(e,t){return`${e}-content-${t}`}function wu(e){return t=>t.pointerType==="mouse"?e(t):void 0}const v8=e8,m8=r8,g8=a8,y8=l8,w8=s8,x8=c8;var C8="var(--vocs_NavigationMenu_chevronDownIcon)",E8="vocs_NavigationMenu_content",_8="vocs_NavigationMenu_item",S8="vocs_NavigationMenu_link",b8="vocs_NavigationMenu_list",$8="vocs_NavigationMenu",T8="vocs_NavigationMenu_trigger vocs_NavigationMenu_link";const Dg=e=>w.jsx(v8,{...e,className:I(e.className,$8)}),Fg=e=>w.jsx(m8,{...e,className:I(e.className,b8)}),Yl=({active:e,children:t,className:n,href:r})=>w.jsx(w8,{asChild:!0,children:w.jsx(nn,{"data-active":e,className:I(n,S8),href:r,variant:"styleless",children:t})}),zg=e=>w.jsx(g8,{...e,className:I(e.className,_8)}),Bg=({active:e,className:t,...n})=>{const{basePath:r}=Je(),o=r;return w.jsx(y8,{...n,"data-active":e,className:I(t,T8),style:Gt({[C8]:`url(${o}/.vocs/icons/chevron-down.svg)`})})},Ug=e=>w.jsx(x8,{...e,className:I(e.className,E8)});function Hg(){return w.jsxs("svg",{width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 127.14 96.36",children:[w.jsx("title",{children:"Discord"}),w.jsx("g",{id:"图层_2","data-name":"图层 2",children:w.jsx("g",{id:"Discord_Logos","data-name":"Discord Logos",children:w.jsx("g",{id:"Discord_Logo_-_Large_-_White","data-name":"Discord Logo - Large - White",children:w.jsx("path",{d:"M107.7,8.07A105.15,105.15,0,0,0,81.47,0a72.06,72.06,0,0,0-3.36,6.83A97.68,97.68,0,0,0,49,6.83,72.37,72.37,0,0,0,45.64,0,105.89,105.89,0,0,0,19.39,8.09C2.79,32.65-1.71,56.6.54,80.21h0A105.73,105.73,0,0,0,32.71,96.36,77.7,77.7,0,0,0,39.6,85.25a68.42,68.42,0,0,1-10.85-5.18c.91-.66,1.8-1.34,2.66-2a75.57,75.57,0,0,0,64.32,0c.87.71,1.76,1.39,2.66,2a68.68,68.68,0,0,1-10.87,5.19,77,77,0,0,0,6.89,11.1A105.25,105.25,0,0,0,126.6,80.22h0C129.24,52.84,122.09,29.11,107.7,8.07ZM42.45,65.69C36.18,65.69,31,60,31,53s5-12.74,11.43-12.74S54,46,53.89,53,48.84,65.69,42.45,65.69Zm42.24,0C78.41,65.69,73.25,60,73.25,53s5-12.74,11.44-12.74S96.23,46,96.12,53,91.08,65.69,84.69,65.69Z",fill:"currentColor"})})})})]})}function Vg(){return w.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 98 96",xmlns:"http://www.w3.org/2000/svg",children:[w.jsx("title",{children:"GitHub"}),w.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0 1 12.214-1.63c4.125 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z",fill:"currentColor"})]})}function k8(){return w.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 78 82",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[w.jsx("title",{children:"Moon"}),w.jsx("path",{d:"M62.8455 45.9668C63.6268 45.9668 64.2127 45.3809 64.3104 44.5508C65.4334 34.3457 66.0682 33.9551 76.4197 32.3438C77.3963 32.1973 77.9334 31.7578 77.9334 30.8789C77.9334 30.0977 77.3963 29.5605 76.6151 29.4629C66.1658 27.4609 65.4334 27.4609 64.3104 17.2559C64.2127 16.377 63.6268 15.8398 62.8455 15.8398C62.0154 15.8398 61.4783 16.377 61.3807 17.207C60.1111 27.6074 59.6229 28.0957 49.0272 29.4629C48.2947 29.5117 47.7088 30.0977 47.7088 30.8789C47.7088 31.709 48.2947 32.1973 49.0272 32.3438C59.6229 34.3457 60.0623 34.4434 61.3807 44.6484C61.4783 45.3809 62.0154 45.9668 62.8455 45.9668ZM44.535 19.5508C45.0233 19.5508 45.3162 19.2578 45.4139 18.7695C46.6834 12.4707 46.5369 12.373 53.1287 11.0547C53.5682 10.957 53.91 10.7129 53.91 10.1758C53.91 9.63868 53.5682 9.39448 53.1287 9.29688C46.5369 7.97848 46.6834 7.88089 45.4139 1.58199C45.3162 1.09379 45.0233 0.800781 44.535 0.800781C43.9979 0.800781 43.7049 1.09379 43.6072 1.58199C42.3377 7.88089 42.4842 7.97848 35.9412 9.29688C35.4529 9.39448 35.1111 9.63868 35.1111 10.1758C35.1111 10.7129 35.4529 10.957 35.9412 11.0547C42.4842 12.373 42.3865 12.4707 43.6072 18.7695C43.7049 19.2578 43.9979 19.5508 44.535 19.5508Z",fill:"currentColor"}),w.jsx("path",{d:"M34.3298 81.2696C48.49 81.2696 59.9157 74.043 65.0915 61.7872C65.8239 59.9806 65.5798 58.6134 64.7497 57.7833C64.0173 57.0509 62.7478 56.9044 61.3318 57.4903C58.4509 58.6134 54.9353 59.2481 50.6384 59.2481C33.695 59.2481 22.7575 48.6036 22.7575 32.2462C22.7575 27.4122 23.6853 22.6759 24.7595 20.5763C25.5407 18.9161 25.4919 17.5001 24.8083 16.67C24.0271 15.7423 22.6599 15.4005 20.7068 16.1329C8.64624 20.7716 0.345459 33.4181 0.345459 47.8712C0.345459 66.8165 14.5056 81.2696 34.3298 81.2696ZM34.4275 74.5801C18.4607 74.5801 7.03494 62.9591 7.03494 47.3341C7.03494 38.2521 10.9411 30.0489 17.6306 24.629C16.8005 27.0704 16.361 30.6837 16.361 34.1505C16.361 52.8517 29.5446 65.6935 48.8806 65.6935C52.0544 65.6935 54.9841 65.3517 56.4001 64.9122C51.615 70.918 43.4607 74.5801 34.4275 74.5801Z",fill:"currentColor"})]})}function R8(){return w.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 84 84",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[w.jsx("title",{children:"Sun"}),w.jsx("path",{d:"M41.8675 15.5254C43.9183 15.5254 45.6273 13.7676 45.6273 11.7168V3.80658C45.6273 1.75588 43.9183 0.046875 41.8675 0.046875C39.7679 0.046875 38.0589 1.75588 38.0589 3.80658V11.7168C38.0589 13.7676 39.7679 15.5254 41.8675 15.5254ZM60.3246 23.2402C61.7895 24.7051 64.2309 24.7539 65.7446 23.2402L71.3598 17.6738C72.7758 16.209 72.7758 13.7188 71.3598 12.2539C69.8949 10.7891 67.4535 10.7891 65.9887 12.2539L60.3246 17.918C58.9086 19.3828 58.9086 21.7754 60.3246 23.2402ZM67.9906 41.7461C67.9906 43.7969 69.7485 45.5547 71.7992 45.5547H79.6117C81.7113 45.5547 83.4202 43.7969 83.4202 41.7461C83.4202 39.6953 81.7113 37.9375 79.6117 37.9375H71.7992C69.7485 37.9375 67.9906 39.6953 67.9906 41.7461ZM60.3246 60.3008C58.9086 61.7656 58.9086 64.1582 60.3246 65.623L65.9887 71.2871C67.4535 72.7519 69.8949 72.7031 71.3598 71.2383C72.7758 69.7734 72.7758 67.332 71.3598 65.8672L65.6957 60.3008C64.2309 58.8359 61.7895 58.8359 60.3246 60.3008ZM41.8675 67.9668C39.7679 67.9668 38.0589 69.7246 38.0589 71.7754V79.6855C38.0589 81.7363 39.7679 83.4453 41.8675 83.4453C43.9183 83.4453 45.6273 81.7363 45.6273 79.6855V71.7754C45.6273 69.7246 43.9183 67.9668 41.8675 67.9668ZM23.3617 60.3008C21.8969 58.8359 19.4067 58.8359 17.9418 60.3008L12.3754 65.8184C10.9106 67.2832 10.9106 69.7246 12.3266 71.1894C13.7914 72.6543 16.2328 72.7031 17.6977 71.2383L23.3129 65.623C24.7778 64.1582 24.7778 61.7656 23.3617 60.3008ZM15.6957 41.7461C15.6957 39.6953 13.9867 37.9375 11.8871 37.9375H4.07455C1.97497 37.9375 0.265991 39.6953 0.265991 41.7461C0.265991 43.7969 1.97497 45.5547 4.07455 45.5547H11.8871C13.9867 45.5547 15.6957 43.7969 15.6957 41.7461ZM23.3129 23.2402C24.7778 21.8242 24.7778 19.334 23.3617 17.918L17.7465 12.2539C16.3305 10.8379 13.8403 10.7891 12.4242 12.2539C10.9594 13.7188 10.9594 16.209 12.3754 17.625L17.9418 23.2402C19.4067 24.7051 21.8481 24.7051 23.3129 23.2402Z",fill:"currentColor"}),w.jsx("path",{d:"M41.8675 61.668C52.7073 61.668 61.7405 52.6836 61.7405 41.7461C61.7405 30.8086 52.7073 21.8242 41.8675 21.8242C30.9788 21.8242 21.9456 30.8086 21.9456 41.7461C21.9456 52.6836 30.9788 61.668 41.8675 61.668ZM41.8675 55.0273C34.5921 55.0273 28.5862 48.9727 28.5862 41.7461C28.5862 34.5195 34.5921 28.4648 41.8675 28.4648C49.0941 28.4648 55.0999 34.5195 55.0999 41.7461C55.0999 48.9727 49.0941 55.0273 41.8675 55.0273Z",fill:"currentColor"})]})}function Wg(){return w.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 50 50",children:[w.jsx("title",{children:"Telegram"}),w.jsx("path",{d:"M25 2c12.703 0 23 10.297 23 23S37.703 48 25 48 2 37.703 2 25 12.297 2 25 2zm7.934 32.375c.423-1.298 2.405-14.234 2.65-16.783.074-.772-.17-1.285-.648-1.514-.578-.278-1.434-.139-2.427.219-1.362.491-18.774 7.884-19.78 8.312-.954.405-1.856.847-1.856 1.487 0 .45.267.703 1.003.966.766.273 2.695.858 3.834 1.172 1.097.303 2.346.04 3.046-.395.742-.461 9.305-6.191 9.92-6.693.614-.502 1.104.141.602.644-.502.502-6.38 6.207-7.155 6.997-.941.959-.273 1.953.358 2.351.721.454 5.906 3.932 6.687 4.49.781.558 1.573.811 2.298.811.725 0 1.107-.955 1.468-2.064z",fill:"currentColor"})]})}function Kg(){return w.jsxs("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[w.jsx("title",{children:"Warpcast"}),w.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.92028 31.9901H24.0698C28.4371 31.9901 31.9901 28.4373 31.9901 24.0699V7.92053C31.9901 3.55319 28.4371 0.000137329 24.0698 0.000137329H7.92028C3.55304 0.000137329 0 3.55319 0 7.92053V24.0699C0 28.4373 3.55304 31.9901 7.92028 31.9901ZM19.4134 16.048L20.9908 10.124H25.1383L21.2924 23.2218H17.7062L15.9951 17.1397L14.284 23.2218H10.7055L6.85115 10.124H10.999L12.5915 16.0916L14.1891 10.124H17.8309L19.4134 16.048Z",fill:"currentColor"})]})}function Yg(){return w.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 1200 1227",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[w.jsx("title",{children:"X"}),w.jsx("path",{d:"M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z",fill:"currentColor"})]})}xu.Curtain=N8;function xu(){var r,o,i,a;const e=Je(),{showLogo:t,showSidebar:n}=Rr();return w.jsxs("div",{className:I(M7,t&&!n&&j7),children:[w.jsx(P7,{}),t&&w.jsx("div",{className:L7,children:w.jsx("div",{className:I7,children:w.jsx(Gn,{to:"/",style:{alignItems:"center",display:"flex",height:"56px",marginTop:"4px"},children:w.jsx(Kf,{})})})}),w.jsx("div",{className:wp}),w.jsxs("div",{className:wp,children:[(((r=e.topNav)==null?void 0:r.length)||0)>0&&w.jsxs(w.Fragment,{children:[w.jsx("div",{className:Js,children:w.jsx(P8,{})}),w.jsx("div",{className:I(yp,Sa)})]}),e.socials&&((o=e.socials)==null?void 0:o.length)>0&&w.jsxs(w.Fragment,{children:[w.jsx("div",{className:I(Js,Sa),style:{marginLeft:"-8px",marginRight:"-8px"},children:e.socials.map((l,s)=>w.jsx("div",{className:yl,children:w.jsx(M8,{...l})},s))}),!((i=e.theme)!=null&&i.colorScheme)&&w.jsx("div",{className:I(yp,Sa)})]}),!((a=e.theme)!=null&&a.colorScheme)&&w.jsx("div",{className:I(Js,Sa),style:{marginLeft:"-8px",marginRight:"-8px"},children:w.jsx("div",{className:yl,children:w.jsx(O8,{})})})]})]})}function N8(){return w.jsx("div",{className:O7})}function P8(){const{topNav:e}=Je();if(!e)return null;const{pathname:t}=Re(),n=Hi({pathname:t,items:e});return w.jsx(Dg,{delayDuration:0,children:w.jsx(Fg,{children:e.map((r,o)=>r.link?w.jsx(Yl,{active:n.includes(r.id),className:yl,href:r.link,children:r.text},o):r.items?w.jsxs(zg,{className:yl,children:[w.jsx(Bg,{active:n.includes(r.id),children:r.text}),w.jsx(Ug,{className:A7,children:w.jsx(A8,{items:r.items})})]},o):null)})})}function A8({items:e}){const{pathname:t}=Re(),n=Hi({pathname:t,items:e});return w.jsx("ul",{children:e==null?void 0:e.map((r,o)=>w.jsx(Yl,{active:n.includes(r.id),href:r.link,children:r.text},o))})}function O8(){const{toggle:e}=y5();return w.jsxs("button",{className:Pg,onClick:e,type:"button",children:[w.jsx(st,{className:I(vu,w5),size:"20px",label:"Light",icon:R8}),w.jsx(st,{className:I(vu,x5),size:"20px",label:"Dark",icon:k8,style:{marginTop:"-2px"}})]})}const I8={discord:Hg,github:Vg,telegram:Wg,warpcast:Kg,x:Yg},L8={discord:"23px",github:"20px",telegram:"21px",warpcast:"20px",x:"18px"};function M8({icon:e,label:t,link:n}){return w.jsx("a",{className:Pg,href:n,target:"_blank",rel:"noopener noreferrer",children:w.jsx(st,{className:vu,label:t,icon:I8[e],size:L8[e]||"20px"})})}const j8=({children:e})=>e,D8=({children:e})=>e;function F8(){const e=kr(),t=Je();return h.useMemo(()=>{const{pattern:n="",text:r="Edit page"}=t.editLink??{};let o="";return typeof n=="function"?o="":e.filePath&&(o=n.replace(/:path/g,e.filePath)),{url:o,text:r}},[t.editLink,e.filePath])}function Gg(){const[e,t]=h.useState(!1);return h.useEffect(()=>{t(!0)},[]),e}var z8="vocs_Footer_container",B8="vocs_Footer_editLink",U8="vocs_Footer_lastUpdated",H8="vocs_Footer_navigation",_p="vocs_Footer_navigationIcon",V8="vocs_Footer_navigationIcon_left",W8="vocs_Footer_navigationIcon_right",Sp="vocs_Footer_navigationItem",K8="vocs_Footer_navigationItem_left",Y8="vocs_Footer_navigationItem_right",bp="vocs_Footer_navigationText",$p="vocs_Footer_navigationTextInner",G8="vocs_Footer";function Q8(){return w.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 72 60",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[w.jsx("title",{children:"Arrow Left"}),w.jsx("path",{d:"M0.325684 29.7461C0.325684 30.8203 0.813963 31.8457 1.69286 32.6758L26.8882 57.8223C27.7671 58.6524 28.7437 59.043 29.7691 59.043C31.9175 59.043 33.5777 57.4317 33.5777 55.2344C33.5777 54.209 33.2359 53.1836 32.5035 52.5L25.7652 45.5176L9.26126 30.6738L8.38236 32.7734L21.3706 33.7012H67.4644C69.7593 33.7012 71.3706 32.041 71.3706 29.7461C71.3706 27.4512 69.7593 25.791 67.4644 25.791H21.3706L8.38236 26.7188L9.26126 28.8672L25.7652 13.9746L32.5035 6.99221C33.2359 6.30861 33.5777 5.28322 33.5777 4.25782C33.5777 2.06052 31.9175 0.449219 29.7691 0.449219C28.7437 0.449219 27.7671 0.839814 26.8882 1.66991L1.69286 26.8164C0.813963 27.6465 0.325684 28.6719 0.325684 29.7461Z",fill:"currentColor"})]})}function Z8(){return w.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 72 60",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[w.jsx("title",{children:"Arrow Right"}),w.jsx("path",{d:"M71.3706 29.7461C71.3706 28.6719 70.8824 27.6465 70.0035 26.8164L44.8081 1.66991C43.9292 0.839814 42.9527 0.449219 41.9273 0.449219C39.7789 0.449219 38.1187 2.06052 38.1187 4.25782C38.1187 5.28322 38.4605 6.30861 39.1929 6.99221L45.9312 13.9746L62.4351 28.8672L63.314 26.7188L50.3257 25.791H4.23196C1.93706 25.791 0.325684 27.4512 0.325684 29.7461C0.325684 32.041 1.93706 33.7012 4.23196 33.7012H50.3257L63.314 32.7734L62.4351 30.6738L45.9312 45.5176L39.1929 52.5C38.4605 53.1836 38.1187 54.209 38.1187 55.2344C38.1187 57.4317 39.7789 59.043 41.9273 59.043C42.9527 59.043 43.9292 58.6524 44.8081 57.8223L70.0035 32.6758C70.8824 31.8457 71.3706 30.8203 71.3706 29.7461Z",fill:"currentColor"})]})}function X8(){const{layout:e}=Rr(),t=Gg(),n=kr(),r=h.useMemo(()=>n.lastUpdatedAt?new Date(n.lastUpdatedAt):void 0,[n.lastUpdatedAt]),o=h.useMemo(()=>r==null?void 0:r.toISOString(),[r]);return w.jsxs("footer",{className:G8,children:[e==="docs"&&w.jsxs(w.Fragment,{children:[w.jsxs("div",{className:z8,children:[w.jsx(J8,{}),t&&n.lastUpdatedAt&&w.jsxs("div",{className:U8,children:["Last updated:"," ",w.jsx("time",{dateTime:o,children:new Intl.DateTimeFormat(void 0,{dateStyle:"short",timeStyle:"short"}).format(r)})]})]}),w.jsx(q8,{})]}),w.jsx(D8,{})]})}function J8(){const e=F8();return e.url?w.jsx("div",{children:w.jsxs(nn,{className:B8,href:e.url,children:[w.jsx(v5,{})," ",e.text]})}):null}function q8(){const e=Gg(),t=Hl(),{pathname:n}=Re(),r=h.useMemo(()=>Qg(t.items||[]).filter(s=>s.link),[t]),o=h.useMemo(()=>r.findIndex(s=>s.link===n),[r,n]),[i,a]=h.useMemo(()=>o<0?[]:o===0?[null,r[o+1]]:o===r.length-1?[r[o-1],null]:[r[o-1],r[o+1]],[o,r]),l=Df();return h.useEffect(()=>{let s=o,u=!1;const f=d=>{if(d.code==="ShiftLeft"&&(u=!0),u){const p=r[s+1],y=r[s-1];d.code==="ArrowRight"&&(p!=null&&p.link)&&(l(p.link),s++),d.code==="ArrowLeft"&&(y!=null&&y.link)&&(l(y.link),s--)}},c=d=>{d.code==="ShiftLeft"&&(u=!1)};return window.addEventListener("keydown",f),window.addEventListener("keyup",c),()=>{window.removeEventListener("keydown",f),window.removeEventListener("keyup",c)}},[]),e?w.jsxs("div",{className:H8,children:[i?w.jsxs(nn,{className:I(Sp,K8),href:i.link,variant:"styleless",children:[w.jsxs("div",{className:bp,children:[w.jsx("div",{className:I(_p,V8),style:Gt({[mu]:"0.75em"}),children:w.jsx(st,{label:"Previous",icon:Q8})}),w.jsx("div",{className:$p,children:i.text})]}),w.jsx(eo,{description:"Previous",keys:["shift","←"]})]}):w.jsx("div",{}),a?w.jsxs(nn,{className:I(Sp,Y8),href:a.link,variant:"styleless",children:[w.jsxs("div",{className:bp,children:[w.jsx("div",{className:$p,style:{textAlign:"right"},children:a.text}),w.jsx("div",{className:I(_p,W8),style:Gt({[mu]:"0.75em"}),children:w.jsx(st,{label:"Next",icon:Z8})})]}),w.jsx(eo,{description:"Next",keys:["shift","→"]})]}):w.jsx("div",{})]}):null}function Qg(e){const t=[];for(const n of e){if(n.items){t.push(...Qg(n.items));continue}t.push(n)}return t}const Zg="Collapsible",[e6,Xg]=En(Zg),[t6,Zf]=e6(Zg),n6=h.forwardRef((e,t)=>{const{__scopeCollapsible:n,open:r,defaultOpen:o,disabled:i,onOpenChange:a,...l}=e,[s=!1,u]=rr({prop:r,defaultProp:o,onChange:a});return h.createElement(t6,{scope:n,disabled:i,contentId:rn(),open:s,onOpenToggle:h.useCallback(()=>u(f=>!f),[u])},h.createElement(fe.div,Y({"data-state":Xf(s),"data-disabled":i?"":void 0},l,{ref:t})))}),r6="CollapsibleTrigger",o6=h.forwardRef((e,t)=>{const{__scopeCollapsible:n,...r}=e,o=Zf(r6,n);return h.createElement(fe.button,Y({type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":Xf(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled},r,{ref:t,onClick:ae(e.onClick,o.onOpenToggle)}))}),Jg="CollapsibleContent",i6=h.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=Zf(Jg,e.__scopeCollapsible);return h.createElement(_n,{present:n||o.open},({present:i})=>h.createElement(a6,Y({},r,{ref:t,present:i})))}),a6=h.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:r,children:o,...i}=e,a=Zf(Jg,n),[l,s]=h.useState(r),u=h.useRef(null),f=ze(t,u),c=h.useRef(0),d=c.current,p=h.useRef(0),y=p.current,g=a.open||l,C=h.useRef(g),v=h.useRef();return h.useEffect(()=>{const m=requestAnimationFrame(()=>C.current=!1);return()=>cancelAnimationFrame(m)},[]),gn(()=>{const m=u.current;if(m){v.current=v.current||{transitionDuration:m.style.transitionDuration,animationName:m.style.animationName},m.style.transitionDuration="0s",m.style.animationName="none";const x=m.getBoundingClientRect();c.current=x.height,p.current=x.width,C.current||(m.style.transitionDuration=v.current.transitionDuration,m.style.animationName=v.current.animationName),s(r)}},[a.open,r]),h.createElement(fe.div,Y({"data-state":Xf(a.open),"data-disabled":a.disabled?"":void 0,id:a.contentId,hidden:!g},i,{ref:f,style:{"--radix-collapsible-content-height":d?`${d}px`:void 0,"--radix-collapsible-content-width":y?`${y}px`:void 0,...e.style}}),g&&o)});function Xf(e){return e?"open":"closed"}const l6=n6,s6=o6,c6=i6,Pr="Accordion",u6=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[Jf,f6,d6]=Kl(Pr),[Gl,r$]=En(Pr,[d6,Xg]),qf=Xg(),qg=Z.forwardRef((e,t)=>{const{type:n,...r}=e,o=r,i=r;return Z.createElement(Jf.Provider,{scope:e.__scopeAccordion},n==="multiple"?Z.createElement(m6,Y({},i,{ref:t})):Z.createElement(v6,Y({},o,{ref:t})))});qg.propTypes={type(e){const t=e.value||e.defaultValue;return e.type&&!["single","multiple"].includes(e.type)?new Error("Invalid prop `type` supplied to `Accordion`. Expected one of `single | multiple`."):e.type==="multiple"&&typeof t=="string"?new Error("Invalid prop `type` supplied to `Accordion`. Expected `single` when `defaultValue` or `value` is type `string`."):e.type==="single"&&Array.isArray(t)?new Error("Invalid prop `type` supplied to `Accordion`. Expected `multiple` when `defaultValue` or `value` is type `string[]`."):null}};const[e1,h6]=Gl(Pr),[t1,p6]=Gl(Pr,{collapsible:!1}),v6=Z.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},collapsible:i=!1,...a}=e,[l,s]=rr({prop:n,defaultProp:r,onChange:o});return Z.createElement(e1,{scope:e.__scopeAccordion,value:l?[l]:[],onItemOpen:s,onItemClose:Z.useCallback(()=>i&&s(""),[i,s])},Z.createElement(t1,{scope:e.__scopeAccordion,collapsible:i},Z.createElement(n1,Y({},a,{ref:t}))))}),m6=Z.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},...i}=e,[a=[],l]=rr({prop:n,defaultProp:r,onChange:o}),s=Z.useCallback(f=>l((c=[])=>[...c,f]),[l]),u=Z.useCallback(f=>l((c=[])=>c.filter(d=>d!==f)),[l]);return Z.createElement(e1,{scope:e.__scopeAccordion,value:a,onItemOpen:s,onItemClose:u},Z.createElement(t1,{scope:e.__scopeAccordion,collapsible:!0},Z.createElement(n1,Y({},i,{ref:t}))))}),[g6,ed]=Gl(Pr),n1=Z.forwardRef((e,t)=>{const{__scopeAccordion:n,disabled:r,dir:o,orientation:i="vertical",...a}=e,l=Z.useRef(null),s=ze(l,t),u=f6(n),c=Wl(o)==="ltr",d=ae(e.onKeyDown,p=>{var y;if(!u6.includes(p.key))return;const g=p.target,C=u().filter(T=>{var P;return!((P=T.ref.current)!==null&&P!==void 0&&P.disabled)}),v=C.findIndex(T=>T.ref.current===g),m=C.length;if(v===-1)return;p.preventDefault();let x=v;const E=0,S=m-1,_=()=>{x=v+1,x>S&&(x=E)},b=()=>{x=v-1,x{const{__scopeAccordion:n,value:r,...o}=e,i=ed(Cu,n),a=h6(Cu,n),l=qf(n),s=rn(),u=r&&a.value.includes(r)||!1,f=i.disabled||e.disabled;return Z.createElement(y6,{scope:n,open:u,disabled:f,triggerId:s},Z.createElement(l6,Y({"data-orientation":i.orientation,"data-state":_6(u)},l,o,{ref:t,disabled:f,open:u,onOpenChange:c=>{c?a.onItemOpen(r):a.onItemClose(r)}})))}),Tp="AccordionTrigger",x6=Z.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=ed(Pr,n),i=r1(Tp,n),a=p6(Tp,n),l=qf(n);return Z.createElement(Jf.ItemSlot,{scope:n},Z.createElement(s6,Y({"aria-disabled":i.open&&!a.collapsible||void 0,"data-orientation":o.orientation,id:i.triggerId},l,r,{ref:t})))}),C6="AccordionContent",E6=Z.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=ed(Pr,n),i=r1(C6,n),a=qf(n);return Z.createElement(c6,Y({role:"region","aria-labelledby":i.triggerId,"data-orientation":o.orientation},a,r,{ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}}))});function _6(e){return e?"open":"closed"}const S6=qg,b6=w6,$6=x6,T6=E6;var k6="vocs_MobileSearch_searchButton";function R6(){const[e,t]=h.useState(!1);return w.jsxs(wg,{open:e,onOpenChange:t,children:[w.jsx(xg,{asChild:!0,children:w.jsx("button",{className:k6,type:"button","aria-label":"Search",children:w.jsx(Bf,{height:21,width:21})})}),w.jsx(Ng,{open:e,onClose:()=>t(!1)})]})}var N6="vocs_MobileTopNav_button",P6="var(--vocs_MobileTopNav_chevronDownIcon)",A6="var(--vocs_MobileTopNav_chevronUpIcon)",O6="vocs_MobileTopNav_content",I6="vocs_MobileTopNav_curtain",kp="vocs_MobileTopNav_curtainGroup",ec="vocs_MobileTopNav_curtainItem",L6="vocs_MobileTopNav_divider",ba="vocs_MobileTopNav_group",M6="vocs_MobileTopNav_icon",j6="vocs_MobileTopNav_item",D6="vocs_MobileTopNav_logo",F6="vocs_MobileTopNav_menuTitle",o1="vocs_MobileTopNav_menuTrigger",i1="vocs_MobileTopNav_navigation",z6="vocs_MobileTopNav_navigationContent",Qo="vocs_MobileTopNav_navigationItem",B6="vocs_MobileTopNav_trigger",U6="vocs_MobileTopNav_navigation_compact",H6="vocs_MobileTopNav_outlinePopover",Rp="vocs_MobileTopNav_outlineTrigger",V6="vocs_MobileTopNav",Np="vocs_MobileTopNav_section",W6="vocs_MobileTopNav_separator",K6="vocs_MobileTopNav_sidebarPopover",Y6="vocs_MobileTopNav_topNavPopover";function G6(e,t){let n=!1;return()=>{n=!0,setTimeout(()=>{n&&e(),n=!1},t)}}var Q6="vocs_Outline_heading",Z6="vocs_Outline_item",X6="vocs_Outline_items",J6="vocs_Outline_link",q6="vocs_Outline_nav",eC="vocs_Outline";function a1({minLevel:e=2,maxLevel:t=3,highlightActive:n=!0,onClickItem:r,showTitle:o=!0}={}){const{outlineFooter:i}=Je(),{showOutline:a}=Rr(),l=typeof a=="number"?e+a-1:t,s=h.useRef(!0),{pathname:u,hash:f}=Re(),[c,d]=h.useState([]);h.useEffect(()=>{if(typeof window>"u")return;const v=Array.from(document.querySelectorAll(`.${H0}`));d(v)},[u]);const p=h.useMemo(()=>c?c.map(v=>{const m=v.querySelector(`.${V0}`);if(!m)return null;const x=m.getBoundingClientRect(),E=m.id,S=Number(v.tagName[1]),_=v.textContent,b=window.scrollY+x.top;return Sl?null:{id:E,level:S,slugTargetElement:m,text:_,topOffset:b}}).filter(Boolean):[],[c,l,e]),[y,g]=h.useState(f.replace("#",""));if(h.useEffect(()=>{if(typeof window>"u")return;const v=new IntersectionObserver(([m])=>{var E;if(!s.current)return;const x=m.target.id;if(m.isIntersecting)g(x);else{if(!(m.target.getBoundingClientRect().top>0))return;const b=p.findIndex(T=>T.id===y),$=(E=p[b-1])==null?void 0:E.id;g($)}},{rootMargin:"0px 0px -95% 0px"});for(const m of p)v.observe(m.slugTargetElement);return()=>v.disconnect()},[y,p]),h.useEffect(()=>{if(typeof window>"u")return;const v=new IntersectionObserver(([m])=>{var E;if(!s.current)return;const x=(E=p[p.length-1])==null?void 0:E.id;m.isIntersecting?g(x):y===x&&g(p[p.length-2].id)});return v.observe(document.querySelector("[data-bottom-observer]")),()=>v.disconnect()},[y,p]),h.useEffect(()=>{if(typeof window>"u")return;const v=G6(()=>{var m,x,E;if(s.current){if(window.scrollY===0){g((m=p[0])==null?void 0:m.id);return}if(window.scrollY+document.documentElement.clientHeight>=document.documentElement.scrollHeight){g((x=p[p.length-1])==null?void 0:x.id);return}for(let S=0;Swindow.removeEventListener("scroll",v)},[p]),p.length===0)return null;const C=p.filter(v=>v.level===e);return w.jsxs("aside",{className:eC,children:[w.jsxs("nav",{className:q6,children:[o&&w.jsx("h2",{className:Q6,children:"On this page"}),w.jsx(l1,{activeId:n?y:null,items:p,onClickItem:()=>{r==null||r(),s.current=!1,setTimeout(()=>{s.current=!0},500)},levelItems:C,setActiveId:g})]}),ml(i)]})}function l1({activeId:e,items:t,levelItems:n,onClickItem:r,setActiveId:o}){const{pathname:i}=Re();return w.jsx("ul",{className:X6,children:n.map(({id:a,level:l,text:s})=>{const u=`#${a}`,f=e===a,c=(()=>{var C;const p=t.findIndex(v=>v.id===a)+1,y=(C=t[p])==null?void 0:C.level;if(y<=l)return null;const g=[];for(let v=p;v{r==null||r(),o(a)},className:J6,children:s})}),c&&w.jsx(l1,{activeId:e,levelItems:c,items:t,onClickItem:r,setActiveId:o})]},a)})})}const tC=["top","right","bottom","left"],Qn=Math.min,Et=Math.max,xl=Math.round,$a=Math.floor,Zn=e=>({x:e,y:e}),nC={left:"right",right:"left",bottom:"top",top:"bottom"},rC={start:"end",end:"start"};function Eu(e,t,n){return Et(e,Qn(t,n))}function yn(e,t){return typeof e=="function"?e(t):e}function wn(e){return e.split("-")[0]}function No(e){return e.split("-")[1]}function td(e){return e==="x"?"y":"x"}function nd(e){return e==="y"?"height":"width"}function Po(e){return["top","bottom"].includes(wn(e))?"y":"x"}function rd(e){return td(Po(e))}function oC(e,t,n){n===void 0&&(n=!1);const r=No(e),o=rd(e),i=nd(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=Cl(a)),[a,Cl(a)]}function iC(e){const t=Cl(e);return[_u(e),t,_u(t)]}function _u(e){return e.replace(/start|end/g,t=>rC[t])}function aC(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:a;default:return[]}}function lC(e,t,n,r){const o=No(e);let i=aC(wn(e),n==="start",r);return o&&(i=i.map(a=>a+"-"+o),t&&(i=i.concat(i.map(_u)))),i}function Cl(e){return e.replace(/left|right|bottom|top/g,t=>nC[t])}function sC(e){return{top:0,right:0,bottom:0,left:0,...e}}function s1(e){return typeof e!="number"?sC(e):{top:e,right:e,bottom:e,left:e}}function El(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Pp(e,t,n){let{reference:r,floating:o}=e;const i=Po(t),a=rd(t),l=nd(a),s=wn(t),u=i==="y",f=r.x+r.width/2-o.width/2,c=r.y+r.height/2-o.height/2,d=r[l]/2-o[l]/2;let p;switch(s){case"top":p={x:f,y:r.y-o.height};break;case"bottom":p={x:f,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:c};break;case"left":p={x:r.x-o.width,y:c};break;default:p={x:r.x,y:r.y}}switch(No(t)){case"start":p[a]-=d*(n&&u?-1:1);break;case"end":p[a]+=d*(n&&u?-1:1);break}return p}const cC=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,l=i.filter(Boolean),s=await(a.isRTL==null?void 0:a.isRTL(t));let u=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:f,y:c}=Pp(u,r,s),d=r,p={},y=0;for(let g=0;g({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:a,elements:l,middlewareData:s}=t,{element:u,padding:f=0}=yn(e,t)||{};if(u==null)return{};const c=s1(f),d={x:n,y:r},p=rd(o),y=nd(p),g=await a.getDimensions(u),C=p==="y",v=C?"top":"left",m=C?"bottom":"right",x=C?"clientHeight":"clientWidth",E=i.reference[y]+i.reference[p]-d[p]-i.floating[y],S=d[p]-i.reference[p],_=await(a.getOffsetParent==null?void 0:a.getOffsetParent(u));let b=_?_[x]:0;(!b||!await(a.isElement==null?void 0:a.isElement(_)))&&(b=l.floating[x]||i.floating[y]);const $=E/2-S/2,T=b/2-g[y]/2-1,P=Qn(c[v],T),j=Qn(c[m],T),L=P,D=b-g[y]-j,N=b/2-g[y]/2+$,z=Eu(L,N,D),V=!s.arrow&&No(o)!=null&&N!==z&&i.reference[y]/2-(NL<=0)){var T,P;const L=(((T=i.flip)==null?void 0:T.index)||0)+1,D=S[L];if(D)return{data:{index:L,overflows:$},reset:{placement:D}};let N=(P=$.filter(z=>z.overflows[0]<=0).sort((z,V)=>z.overflows[1]-V.overflows[1])[0])==null?void 0:P.placement;if(!N)switch(p){case"bestFit":{var j;const z=(j=$.map(V=>[V.placement,V.overflows.filter(U=>U>0).reduce((U,O)=>U+O,0)]).sort((V,U)=>V[1]-U[1])[0])==null?void 0:j[0];z&&(N=z);break}case"initialPlacement":N=l;break}if(o!==N)return{reset:{placement:N}}}return{}}}};function Ap(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Op(e){return tC.some(t=>e[t]>=0)}const dC=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=yn(e,t);switch(r){case"referenceHidden":{const i=await Oi(t,{...o,elementContext:"reference"}),a=Ap(i,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:Op(a)}}}case"escaped":{const i=await Oi(t,{...o,altBoundary:!0}),a=Ap(i,n.floating);return{data:{escapedOffsets:a,escaped:Op(a)}}}default:return{}}}}};async function hC(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=wn(n),l=No(n),s=Po(n)==="y",u=["left","top"].includes(a)?-1:1,f=i&&s?-1:1,c=yn(t,e);let{mainAxis:d,crossAxis:p,alignmentAxis:y}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...c};return l&&typeof y=="number"&&(p=l==="end"?y*-1:y),s?{x:p*f,y:d*u}:{x:d*u,y:p*f}}const c1=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:a,middlewareData:l}=t,s=await hC(t,e);return a===((n=l.offset)==null?void 0:n.placement)&&(r=l.arrow)!=null&&r.alignmentOffset?{}:{x:o+s.x,y:i+s.y,data:{...s,placement:a}}}}},pC=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:l={fn:C=>{let{x:v,y:m}=C;return{x:v,y:m}}},...s}=yn(e,t),u={x:n,y:r},f=await Oi(t,s),c=Po(wn(o)),d=td(c);let p=u[d],y=u[c];if(i){const C=d==="y"?"top":"left",v=d==="y"?"bottom":"right",m=p+f[C],x=p-f[v];p=Eu(m,p,x)}if(a){const C=c==="y"?"top":"left",v=c==="y"?"bottom":"right",m=y+f[C],x=y-f[v];y=Eu(m,y,x)}const g=l.fn({...t,[d]:p,[c]:y});return{...g,data:{x:g.x-n,y:g.y-r}}}}},vC=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:a}=t,{offset:l=0,mainAxis:s=!0,crossAxis:u=!0}=yn(e,t),f={x:n,y:r},c=Po(o),d=td(c);let p=f[d],y=f[c];const g=yn(l,t),C=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(s){const x=d==="y"?"height":"width",E=i.reference[d]-i.floating[x]+C.mainAxis,S=i.reference[d]+i.reference[x]-C.mainAxis;pS&&(p=S)}if(u){var v,m;const x=d==="y"?"width":"height",E=["top","left"].includes(wn(o)),S=i.reference[c]-i.floating[x]+(E&&((v=a.offset)==null?void 0:v[c])||0)+(E?0:C.crossAxis),_=i.reference[c]+i.reference[x]+(E?0:((m=a.offset)==null?void 0:m[c])||0)-(E?C.crossAxis:0);y_&&(y=_)}return{[d]:p,[c]:y}}}},mC=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:i}=t,{apply:a=()=>{},...l}=yn(e,t),s=await Oi(t,l),u=wn(n),f=No(n),c=Po(n)==="y",{width:d,height:p}=r.floating;let y,g;u==="top"||u==="bottom"?(y=u,g=f===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(g=u,y=f==="end"?"top":"bottom");const C=p-s[y],v=d-s[g],m=!t.middlewareData.shift;let x=C,E=v;if(c){const _=d-s.left-s.right;E=f||m?Qn(v,_):_}else{const _=p-s.top-s.bottom;x=f||m?Qn(C,_):_}if(m&&!f){const _=Et(s.left,0),b=Et(s.right,0),$=Et(s.top,0),T=Et(s.bottom,0);c?E=d-2*(_!==0||b!==0?_+b:Et(s.left,s.right)):x=p-2*($!==0||T!==0?$+T:Et(s.top,s.bottom))}await a({...t,availableWidth:E,availableHeight:x});const S=await o.getDimensions(i.floating);return d!==S.width||p!==S.height?{reset:{rects:!0}}:{}}}};function Xn(e){return u1(e)?(e.nodeName||"").toLowerCase():"#document"}function bt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function bn(e){var t;return(t=(u1(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function u1(e){return e instanceof Node||e instanceof bt(e).Node}function nt(e){return e instanceof Element||e instanceof bt(e).Element}function on(e){return e instanceof HTMLElement||e instanceof bt(e).HTMLElement}function Su(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof bt(e).ShadowRoot}function Wi(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Mt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function gC(e){return["table","td","th"].includes(Xn(e))}function od(e){const t=id(),n=Mt(e);return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function yC(e){let t=Eo(e);for(;on(t)&&!Ql(t);){if(od(t))return t;t=Eo(t)}return null}function id(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Ql(e){return["html","body","#document"].includes(Xn(e))}function Mt(e){return bt(e).getComputedStyle(e)}function Zl(e){return nt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Eo(e){if(Xn(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Su(e)&&e.host||bn(e);return Su(t)?t.host:t}function f1(e){const t=Eo(e);return Ql(t)?e.ownerDocument?e.ownerDocument.body:e.body:on(t)&&Wi(t)?t:f1(t)}function Ii(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=f1(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),a=bt(o);return i?t.concat(a,a.visualViewport||[],Wi(o)?o:[],a.frameElement&&n?Ii(a.frameElement):[]):t.concat(o,Ii(o,[],n))}function d1(e){const t=Mt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=on(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,l=xl(n)!==i||xl(r)!==a;return l&&(n=i,r=a),{width:n,height:r,$:l}}function ad(e){return nt(e)?e:e.contextElement}function so(e){const t=ad(e);if(!on(t))return Zn(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=d1(t);let a=(i?xl(n.width):n.width)/r,l=(i?xl(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!l||!Number.isFinite(l))&&(l=1),{x:a,y:l}}const wC=Zn(0);function h1(e){const t=bt(e);return!id()||!t.visualViewport?wC:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function xC(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==bt(e)?!1:t}function Er(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=ad(e);let a=Zn(1);t&&(r?nt(r)&&(a=so(r)):a=so(e));const l=xC(i,n,r)?h1(i):Zn(0);let s=(o.left+l.x)/a.x,u=(o.top+l.y)/a.y,f=o.width/a.x,c=o.height/a.y;if(i){const d=bt(i),p=r&&nt(r)?bt(r):r;let y=d,g=y.frameElement;for(;g&&r&&p!==y;){const C=so(g),v=g.getBoundingClientRect(),m=Mt(g),x=v.left+(g.clientLeft+parseFloat(m.paddingLeft))*C.x,E=v.top+(g.clientTop+parseFloat(m.paddingTop))*C.y;s*=C.x,u*=C.y,f*=C.x,c*=C.y,s+=x,u+=E,y=bt(g),g=y.frameElement}}return El({width:f,height:c,x:s,y:u})}const CC=[":popover-open",":modal"];function p1(e){return CC.some(t=>{try{return e.matches(t)}catch{return!1}})}function EC(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",a=bn(r),l=t?p1(t.floating):!1;if(r===a||l&&i)return n;let s={scrollLeft:0,scrollTop:0},u=Zn(1);const f=Zn(0),c=on(r);if((c||!c&&!i)&&((Xn(r)!=="body"||Wi(a))&&(s=Zl(r)),on(r))){const d=Er(r);u=so(r),f.x=d.x+r.clientLeft,f.y=d.y+r.clientTop}return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-s.scrollLeft*u.x+f.x,y:n.y*u.y-s.scrollTop*u.y+f.y}}function _C(e){return Array.from(e.getClientRects())}function v1(e){return Er(bn(e)).left+Zl(e).scrollLeft}function SC(e){const t=bn(e),n=Zl(e),r=e.ownerDocument.body,o=Et(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=Et(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+v1(e);const l=-n.scrollTop;return Mt(r).direction==="rtl"&&(a+=Et(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:l}}function bC(e,t){const n=bt(e),r=bn(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,l=0,s=0;if(o){i=o.width,a=o.height;const u=id();(!u||u&&t==="fixed")&&(l=o.offsetLeft,s=o.offsetTop)}return{width:i,height:a,x:l,y:s}}function $C(e,t){const n=Er(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=on(e)?so(e):Zn(1),a=e.clientWidth*i.x,l=e.clientHeight*i.y,s=o*i.x,u=r*i.y;return{width:a,height:l,x:s,y:u}}function Ip(e,t,n){let r;if(t==="viewport")r=bC(e,n);else if(t==="document")r=SC(bn(e));else if(nt(t))r=$C(t,n);else{const o=h1(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return El(r)}function m1(e,t){const n=Eo(e);return n===t||!nt(n)||Ql(n)?!1:Mt(n).position==="fixed"||m1(n,t)}function TC(e,t){const n=t.get(e);if(n)return n;let r=Ii(e,[],!1).filter(l=>nt(l)&&Xn(l)!=="body"),o=null;const i=Mt(e).position==="fixed";let a=i?Eo(e):e;for(;nt(a)&&!Ql(a);){const l=Mt(a),s=od(a);!s&&l.position==="fixed"&&(o=null),(i?!s&&!o:!s&&l.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||Wi(a)&&!s&&m1(e,a))?r=r.filter(f=>f!==a):o=l,a=Eo(a)}return t.set(e,r),r}function kC(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a=[...n==="clippingAncestors"?TC(t,this._c):[].concat(n),r],l=a[0],s=a.reduce((u,f)=>{const c=Ip(t,f,o);return u.top=Et(c.top,u.top),u.right=Qn(c.right,u.right),u.bottom=Qn(c.bottom,u.bottom),u.left=Et(c.left,u.left),u},Ip(t,l,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function RC(e){const{width:t,height:n}=d1(e);return{width:t,height:n}}function NC(e,t,n){const r=on(t),o=bn(t),i=n==="fixed",a=Er(e,!0,i,t);let l={scrollLeft:0,scrollTop:0};const s=Zn(0);if(r||!r&&!i)if((Xn(t)!=="body"||Wi(o))&&(l=Zl(t)),r){const c=Er(t,!0,i,t);s.x=c.x+t.clientLeft,s.y=c.y+t.clientTop}else o&&(s.x=v1(o));const u=a.left+l.scrollLeft-s.x,f=a.top+l.scrollTop-s.y;return{x:u,y:f,width:a.width,height:a.height}}function Lp(e,t){return!on(e)||Mt(e).position==="fixed"?null:t?t(e):e.offsetParent}function g1(e,t){const n=bt(e);if(!on(e)||p1(e))return n;let r=Lp(e,t);for(;r&&gC(r)&&Mt(r).position==="static";)r=Lp(r,t);return r&&(Xn(r)==="html"||Xn(r)==="body"&&Mt(r).position==="static"&&!od(r))?n:r||yC(e)||n}const PC=async function(e){const t=this.getOffsetParent||g1,n=this.getDimensions;return{reference:NC(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,...await n(e.floating)}}};function AC(e){return Mt(e).direction==="rtl"}const y1={convertOffsetParentRelativeRectToViewportRelativeRect:EC,getDocumentElement:bn,getClippingRect:kC,getOffsetParent:g1,getElementRects:PC,getClientRects:_C,getDimensions:RC,getScale:so,isElement:nt,isRTL:AC};function OC(e,t){let n=null,r;const o=bn(e);function i(){var l;clearTimeout(r),(l=n)==null||l.disconnect(),n=null}function a(l,s){l===void 0&&(l=!1),s===void 0&&(s=1),i();const{left:u,top:f,width:c,height:d}=e.getBoundingClientRect();if(l||t(),!c||!d)return;const p=$a(f),y=$a(o.clientWidth-(u+c)),g=$a(o.clientHeight-(f+d)),C=$a(u),m={rootMargin:-p+"px "+-y+"px "+-g+"px "+-C+"px",threshold:Et(0,Qn(1,s))||1};let x=!0;function E(S){const _=S[0].intersectionRatio;if(_!==s){if(!x)return a();_?a(!1,_):r=setTimeout(()=>{a(!1,1e-7)},100)}x=!1}try{n=new IntersectionObserver(E,{...m,root:o.ownerDocument})}catch{n=new IntersectionObserver(E,m)}n.observe(e)}return a(!0),i}function IC(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:s=!1}=r,u=ad(e),f=o||i?[...u?Ii(u):[],...Ii(t)]:[];f.forEach(v=>{o&&v.addEventListener("scroll",n,{passive:!0}),i&&v.addEventListener("resize",n)});const c=u&&l?OC(u,n):null;let d=-1,p=null;a&&(p=new ResizeObserver(v=>{let[m]=v;m&&m.target===u&&p&&(p.unobserve(t),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var x;(x=p)==null||x.observe(t)})),n()}),u&&!s&&p.observe(u),p.observe(t));let y,g=s?Er(e):null;s&&C();function C(){const v=Er(e);g&&(v.x!==g.x||v.y!==g.y||v.width!==g.width||v.height!==g.height)&&n(),g=v,y=requestAnimationFrame(C)}return n(),()=>{var v;f.forEach(m=>{o&&m.removeEventListener("scroll",n),i&&m.removeEventListener("resize",n)}),c==null||c(),(v=p)==null||v.disconnect(),p=null,s&&cancelAnimationFrame(y)}}const w1=pC,LC=fC,MC=mC,jC=dC,Mp=uC,DC=vC,FC=(e,t,n)=>{const r=new Map,o={platform:y1,...n},i={...o.platform,_c:r};return cC(e,t,{...o,platform:i})},x1=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?Mp({element:r.current,padding:o}).fn(n):{}:r?Mp({element:r,padding:o}).fn(n):{}}}};var Ha=typeof document<"u"?h.useLayoutEffect:h.useEffect;function _l(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!_l(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!_l(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function C1(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function jp(e,t){const n=C1(e);return Math.round(t*n)/n}function Dp(e){const t=h.useRef(e);return Ha(()=>{t.current=e}),t}function E1(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:l=!0,whileElementsMounted:s,open:u}=e,[f,c]=h.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[d,p]=h.useState(r);_l(d,r)||p(r);const[y,g]=h.useState(null),[C,v]=h.useState(null),m=h.useCallback(U=>{U!==_.current&&(_.current=U,g(U))},[]),x=h.useCallback(U=>{U!==b.current&&(b.current=U,v(U))},[]),E=i||y,S=a||C,_=h.useRef(null),b=h.useRef(null),$=h.useRef(f),T=s!=null,P=Dp(s),j=Dp(o),L=h.useCallback(()=>{if(!_.current||!b.current)return;const U={placement:t,strategy:n,middleware:d};j.current&&(U.platform=j.current),FC(_.current,b.current,U).then(O=>{const F={...O,isPositioned:!0};D.current&&!_l($.current,F)&&($.current=F,To.flushSync(()=>{c(F)}))})},[d,t,n,j]);Ha(()=>{u===!1&&$.current.isPositioned&&($.current.isPositioned=!1,c(U=>({...U,isPositioned:!1})))},[u]);const D=h.useRef(!1);Ha(()=>(D.current=!0,()=>{D.current=!1}),[]),Ha(()=>{if(E&&(_.current=E),S&&(b.current=S),E&&S){if(P.current)return P.current(E,S,L);L()}},[E,S,L,P,T]);const N=h.useMemo(()=>({reference:_,floating:b,setReference:m,setFloating:x}),[m,x]),z=h.useMemo(()=>({reference:E,floating:S}),[E,S]),V=h.useMemo(()=>{const U={position:n,left:0,top:0};if(!z.floating)return U;const O=jp(z.floating,f.x),F=jp(z.floating,f.y);return l?{...U,transform:"translate("+O+"px, "+F+"px)",...C1(z.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:O,top:F}},[n,l,z.floating,f.x,f.y]);return h.useMemo(()=>({...f,update:L,refs:N,elements:z,floatingStyles:V}),[f,L,N,z,V])}function zC(e){const[t,n]=h.useState(void 0);return gn(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let a,l;if("borderBoxSize"in i){const s=i.borderBoxSize,u=Array.isArray(s)?s[0]:s;a=u.inlineSize,l=u.blockSize}else a=e.offsetWidth,l=e.offsetHeight;n({width:a,height:l})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}const _1="Popper",[S1,b1]=En(_1),[BC,$1]=S1(_1),UC=e=>{const{__scopePopper:t,children:n}=e,[r,o]=h.useState(null);return h.createElement(BC,{scope:t,anchor:r,onAnchorChange:o},n)},HC="PopperAnchor",VC=h.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=$1(HC,n),a=h.useRef(null),l=ze(t,a);return h.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:h.createElement(fe.div,Y({},o,{ref:l}))}),T1="PopperContent",[WC,o$]=S1(T1),KC=h.forwardRef((e,t)=>{var n,r,o,i,a,l,s,u;const{__scopePopper:f,side:c="bottom",sideOffset:d=0,align:p="center",alignOffset:y=0,arrowPadding:g=0,avoidCollisions:C=!0,collisionBoundary:v=[],collisionPadding:m=0,sticky:x="partial",hideWhenDetached:E=!1,updatePositionStrategy:S="optimized",onPlaced:_,...b}=e,$=$1(T1,f),[T,P]=h.useState(null),j=ze(t,wt=>P(wt)),[L,D]=h.useState(null),N=zC(L),z=(n=N==null?void 0:N.width)!==null&&n!==void 0?n:0,V=(r=N==null?void 0:N.height)!==null&&r!==void 0?r:0,U=c+(p!=="center"?"-"+p:""),O=typeof m=="number"?m:{top:0,right:0,bottom:0,left:0,...m},F=Array.isArray(v)?v:[v],K=F.length>0,J={padding:O,boundary:F.filter(YC),altBoundary:K},{refs:se,floatingStyles:Be,placement:ye,isPositioned:Ne,middlewareData:we}=E1({strategy:"fixed",placement:U,whileElementsMounted:(...wt)=>IC(...wt,{animationFrame:S==="always"}),elements:{reference:$.anchor},middleware:[c1({mainAxis:d+V,alignmentAxis:y}),C&&w1({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?DC():void 0,...J}),C&&LC({...J}),MC({...J,apply:({elements:wt,rects:Yi,availableWidth:Jl,availableHeight:ql})=>{const{width:es,height:ts}=Yi.reference,Qt=wt.floating.style;Qt.setProperty("--radix-popper-available-width",`${Jl}px`),Qt.setProperty("--radix-popper-available-height",`${ql}px`),Qt.setProperty("--radix-popper-anchor-width",`${es}px`),Qt.setProperty("--radix-popper-anchor-height",`${ts}px`)}}),L&&x1({element:L,padding:g}),GC({arrowWidth:z,arrowHeight:V}),E&&jC({strategy:"referenceHidden",...J})]}),[Ue,xe]=k1(ye),Se=at(_);gn(()=>{Ne&&(Se==null||Se())},[Ne,Se]);const jt=(o=we.arrow)===null||o===void 0?void 0:o.x,be=(i=we.arrow)===null||i===void 0?void 0:i.y,ft=((a=we.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[Ki,Xl]=h.useState();return gn(()=>{T&&Xl(window.getComputedStyle(T).zIndex)},[T]),h.createElement("div",{ref:se.setFloating,"data-radix-popper-content-wrapper":"",style:{...Be,transform:Ne?Be.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Ki,"--radix-popper-transform-origin":[(l=we.transformOrigin)===null||l===void 0?void 0:l.x,(s=we.transformOrigin)===null||s===void 0?void 0:s.y].join(" ")},dir:e.dir},h.createElement(WC,{scope:f,placedSide:Ue,onArrowChange:D,arrowX:jt,arrowY:be,shouldHideArrow:ft},h.createElement(fe.div,Y({"data-side":Ue,"data-align":xe},b,{ref:j,style:{...b.style,animation:Ne?void 0:"none",opacity:(u=we.hide)!==null&&u!==void 0&&u.referenceHidden?0:void 0}}))))});function YC(e){return e!==null}const GC=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a;const{placement:l,rects:s,middlewareData:u}=t,c=((n=u.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,d=c?0:e.arrowWidth,p=c?0:e.arrowHeight,[y,g]=k1(l),C={start:"0%",center:"50%",end:"100%"}[g],v=((r=(o=u.arrow)===null||o===void 0?void 0:o.x)!==null&&r!==void 0?r:0)+d/2,m=((i=(a=u.arrow)===null||a===void 0?void 0:a.y)!==null&&i!==void 0?i:0)+p/2;let x="",E="";return y==="bottom"?(x=c?C:`${v}px`,E=`${-p}px`):y==="top"?(x=c?C:`${v}px`,E=`${s.floating.height+p}px`):y==="right"?(x=`${-p}px`,E=c?C:`${m}px`):y==="left"&&(x=`${s.floating.width+p}px`,E=c?C:`${m}px`),{data:{x,y:E}}}});function k1(e){const[t,n="center"]=e.split("-");return[t,n]}const QC=UC,ZC=VC,XC=KC,R1="Popover",[N1,i$]=En(R1,[b1]),ld=b1(),[JC,Ao]=N1(R1),qC=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!1}=e,l=ld(t),s=h.useRef(null),[u,f]=h.useState(!1),[c=!1,d]=rr({prop:r,defaultProp:o,onChange:i});return h.createElement(QC,l,h.createElement(JC,{scope:t,contentId:rn(),triggerRef:s,open:c,onOpenChange:d,onOpenToggle:h.useCallback(()=>d(p=>!p),[d]),hasCustomAnchor:u,onCustomAnchorAdd:h.useCallback(()=>f(!0),[]),onCustomAnchorRemove:h.useCallback(()=>f(!1),[]),modal:a},n))},eE="PopoverTrigger",tE=h.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=Ao(eE,n),i=ld(n),a=ze(t,o.triggerRef),l=h.createElement(fe.button,Y({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":O1(o.open)},r,{ref:a,onClick:ae(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?l:h.createElement(ZC,Y({asChild:!0},i),l)}),P1="PopoverPortal",[nE,rE]=N1(P1,{forceMount:void 0}),oE=e=>{const{__scopePopover:t,forceMount:n,children:r,container:o}=e,i=Ao(P1,t);return h.createElement(nE,{scope:t,forceMount:n},h.createElement(_n,{present:n||i.open},h.createElement(tg,{asChild:!0,container:o},r)))},Li="PopoverContent",iE=h.forwardRef((e,t)=>{const n=rE(Li,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,i=Ao(Li,e.__scopePopover);return h.createElement(_n,{present:r||i.open},i.modal?h.createElement(aE,Y({},o,{ref:t})):h.createElement(lE,Y({},o,{ref:t})))}),aE=h.forwardRef((e,t)=>{const n=Ao(Li,e.__scopePopover),r=h.useRef(null),o=ze(t,r),i=h.useRef(!1);return h.useEffect(()=>{const a=r.current;if(a)return hg(a)},[]),h.createElement(fg,{as:Co,allowPinchZoom:!0},h.createElement(A1,Y({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:ae(e.onCloseAutoFocus,a=>{var l;a.preventDefault(),i.current||(l=n.triggerRef.current)===null||l===void 0||l.focus()}),onPointerDownOutside:ae(e.onPointerDownOutside,a=>{const l=a.detail.originalEvent,s=l.button===0&&l.ctrlKey===!0,u=l.button===2||s;i.current=u},{checkForDefaultPrevented:!1}),onFocusOutside:ae(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})))}),lE=h.forwardRef((e,t)=>{const n=Ao(Li,e.__scopePopover),r=h.useRef(!1),o=h.useRef(!1);return h.createElement(A1,Y({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var a;if((a=e.onCloseAutoFocus)===null||a===void 0||a.call(e,i),!i.defaultPrevented){var l;r.current||(l=n.triggerRef.current)===null||l===void 0||l.focus(),i.preventDefault()}r.current=!1,o.current=!1},onInteractOutside:i=>{var a,l;(a=e.onInteractOutside)===null||a===void 0||a.call(e,i),i.defaultPrevented||(r.current=!0,i.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const s=i.target;((l=n.triggerRef.current)===null||l===void 0?void 0:l.contains(s))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&o.current&&i.preventDefault()}}))}),A1=h.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:l,onPointerDownOutside:s,onFocusOutside:u,onInteractOutside:f,...c}=e,d=Ao(Li,n),p=ld(n);return ng(),h.createElement(q0,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},h.createElement(Uf,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:f,onEscapeKeyDown:l,onPointerDownOutside:s,onFocusOutside:u,onDismiss:()=>d.onOpenChange(!1)},h.createElement(XC,Y({"data-state":O1(d.open),role:"dialog",id:d.contentId},p,c,{ref:t,style:{...c.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}))))});function O1(e){return e?"open":"closed"}const sE=qC,cE=tE,uE=oE,fE=iE;var dE="vocs_Popover";Ht.Root=sE;Ht.Trigger=cE;function Ht({children:e,className:t}){return w.jsx(uE,{children:w.jsx(fE,{className:I(dE,t),sideOffset:12,children:e})})}var hE="vocs_Sidebar_backLink",pE="vocs_Sidebar_divider",vE="vocs_Sidebar_group",ni="vocs_Sidebar_item",I1="vocs_Sidebar_items",mE="vocs_Sidebar_level",gE="vocs_Sidebar_levelCollapsed",yE="vocs_Sidebar_levelInset",wE="vocs_Sidebar_logo",xE="vocs_Sidebar_logoWrapper",CE="vocs_Sidebar_navigation",EE="vocs_Sidebar",L1="vocs_Sidebar_section",_E="vocs_Sidebar_sectionCollapse",SE="vocs_Sidebar_sectionCollapseActive",bE="vocs_Sidebar_sectionHeader",$E="vocs_Sidebar_sectionHeaderActive",Fp="vocs_Sidebar_sectionTitle";function M1(){return w.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 39 69",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[w.jsx("title",{children:"Chevron Right"}),w.jsx("path",{d:"M38.8697 34.7461C38.8697 33.6719 38.4791 32.6953 37.649 31.8652L7.47318 1.8848C6.74078 1.1035 5.76418 0.712891 4.64118 0.712891C2.34618 0.712891 0.588379 2.42189 0.588379 4.71679C0.588379 5.79099 1.07668 6.81639 1.76028 7.59769L29.0552 34.7461L1.76028 61.8945C1.07668 62.6758 0.588379 63.6523 0.588379 64.7754C0.588379 67.0703 2.34618 68.7793 4.64118 68.7793C5.76418 68.7793 6.74078 68.3887 7.47318 67.6074L37.649 37.627C38.4791 36.7969 38.8697 35.8203 38.8697 34.7461Z",fill:"currentColor"})]})}function j1(e){var u;const{className:t,onClickItem:n}=e,{previousPath:r}=kr(),o=h.useRef(null),i=Hl(),[a,l]=h.useState("/");if(h.useEffect(()=>{typeof window>"u"||r&&l(r)},[i.key,i.backLink]),!i)return null;const s=TE(i.items);return w.jsxs("aside",{ref:o,className:I(EE,t),children:[w.jsxs("div",{className:xE,children:[w.jsx("div",{className:wE,children:w.jsx(Gn,{to:"/",style:{alignItems:"center",display:"flex",height:"100%"},children:w.jsx(Kf,{})})}),w.jsx("div",{className:pE})]}),w.jsx("nav",{className:CE,children:w.jsxs("div",{className:vE,children:[i.backLink&&w.jsx("section",{className:L1,children:w.jsx("div",{className:I1,children:w.jsxs(Gn,{className:I(ni,hE),to:a,children:["←"," ",typeof history<"u"&&((u=history.state)!=null&&u.key)&&a!=="/"?"Back":"Home"]})})}),s.map((f,c)=>w.jsx(F1,{depth:0,item:f,onClick:n,sidebarRef:o},`${f.text}${c}`))]})})]},i.key)}function TE(e){const t=[];let n=0;for(const r of e){if(r.items){n=t.push(r);continue}t[n]?t[n].items.push(r):t.push({text:"",items:[r]})}return t}function D1(e,t){return e.find(n=>Bl(t,n.link??"")||n.link===t?!0:n.items?D1(n.items,t):!1)}function F1(e){const{depth:t,item:n,onClick:r,sidebarRef:o}=e,i=h.useRef(null),{pathname:a}=Re(),l=Fw(n.link??""),s=h.useMemo(()=>n.items?!!D1(n.items,a):!1,[n.items,a]),[u,f]=h.useState(()=>l||!n.items||s?!1:!!n.collapsed),c=n.collapsed!==void 0&&n.items!==void 0,d=h.useCallback(g=>{"key"in g&&g.key!=="Enter"||n.link||f(C=>!C)},[n.link]),p=h.useCallback(g=>{"key"in g&&g.key!=="Enter"||n.link&&f(C=>!C)},[n.link]),y=h.useRef(!0);return h.useEffect(()=>{!y.current||(y.current=!1,!Bl(a,n.link??""))||requestAnimationFrame(()=>{var m,x,E;const C=((m=i.current)==null?void 0:m.offsetTop)??0,v=((x=o==null?void 0:o.current)==null?void 0:x.clientHeight)??0;C0&&t<5&&n.items.map((g,C)=>w.jsx(F1,{depth:t+1,item:g,onClick:r,sidebarRef:o},`${g.text}${C}`))})]}):w.jsx(w.Fragment,{children:n.link?w.jsx(Gn,{ref:i,"data-active":!!l,onClick:r,className:ni,to:n.link,children:n.text}):w.jsx("div",{className:ni,children:n.text})})}function kE(){return w.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 69 39",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[w.jsx("title",{children:"Chevron Down"}),w.jsx("path",{d:"M34.8677 38.8398C35.9419 38.8398 37.0161 38.4492 37.7485 37.6191L67.729 7.44339C68.4614 6.71089 68.9009 5.73439 68.9009 4.61129C68.9009 2.31639 67.1919 0.558594 64.897 0.558594C63.8227 0.558594 62.7485 1.04689 62.0161 1.73049L32.5727 31.2715H37.1138L7.67042 1.73049C6.93802 1.04689 5.96142 0.558594 4.83842 0.558594C2.54342 0.558594 0.785645 2.31639 0.785645 4.61129C0.785645 5.73439 1.22512 6.71089 1.95752 7.44339L31.9868 37.6191C32.768 38.4492 33.7446 38.8398 34.8677 38.8398Z",fill:"currentColor"})]})}function RE(){return w.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 69 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[w.jsx("title",{children:"Chevron Up"}),w.jsx("path",{d:"M1.95752 32.2441C1.22512 32.9277 0.785645 33.9531 0.785645 35.0762C0.785645 37.3711 2.54342 39.1289 4.83842 39.1289C5.96142 39.1289 6.98682 38.6895 7.67042 37.957L37.1138 8.36716H32.5727L62.0161 37.957C62.6997 38.6895 63.8227 39.1289 64.897 39.1289C67.1919 39.1289 68.9009 37.3711 68.9009 35.0762C68.9009 33.9531 68.4614 32.9277 67.729 32.2441L37.7485 2.06836C37.0161 1.23826 35.9419 0.847656 34.8677 0.847656C33.7446 0.847656 32.7192 1.23826 31.9868 2.06836L1.95752 32.2441Z",fill:"currentColor"})]})}function NE(){return w.jsxs("svg",{width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 79 48",fill:"none",children:[w.jsx("title",{children:"Menu"}),w.jsx("path",{fill:"currentColor",d:"M19.528 47.232h40.87c1.952 0 3.515-1.562 3.515-3.564a3.5 3.5 0 0 0-3.516-3.516H19.528a3.501 3.501 0 0 0-3.515 3.516c0 2.002 1.562 3.564 3.515 3.564ZM12.057 27.262h55.81a3.501 3.501 0 0 0 3.516-3.516 3.501 3.501 0 0 0-3.515-3.515h-55.81a3.501 3.501 0 0 0-3.516 3.515 3.501 3.501 0 0 0 3.515 3.516ZM4.391 7.34H75.29c2.002 0 3.515-1.563 3.515-3.516 0-2.002-1.513-3.564-3.515-3.564H4.39C2.438.26.876 1.822.876 3.824A3.501 3.501 0 0 0 4.39 7.34Z"})]})}bu.Curtain=jE;function bu(){var n,r;const e=Je(),{showLogo:t}=Rr();return w.jsxs("div",{className:V6,children:[w.jsxs("div",{className:Np,children:[t&&w.jsx("div",{className:ba,children:w.jsx("div",{className:D6,children:w.jsx(Gn,{to:"/",style:{alignItems:"center",display:"flex",height:"100%"},children:w.jsx(Kf,{})})})}),e.topNav&&w.jsx(w.Fragment,{children:w.jsxs("div",{className:ba,children:[w.jsx(PE,{items:e.topNav}),w.jsx(OE,{items:e.topNav})]})})]}),w.jsxs("div",{className:Np,children:[w.jsx("div",{className:ba,style:{marginRight:"-8px"},children:w.jsx(R6,{})}),e.socials&&((n=e.socials)==null?void 0:n.length)>0&&w.jsxs(w.Fragment,{children:[w.jsx("div",{className:L6}),w.jsx("div",{className:ba,style:{marginLeft:"-8px"},children:(r=e.socials)==null?void 0:r.map((o,i)=>w.jsx(ME,{...o},i))})]})]})]})}function PE({items:e}){const{pathname:t}=Re(),n=Hi({pathname:t,items:e});return w.jsx(Dg,{className:i1,children:w.jsx(Fg,{children:e.map((r,o)=>r!=null&&r.link?w.jsx(Yl,{active:n==null?void 0:n.includes(r.id),href:r.link,children:r.text},o):w.jsxs(zg,{className:j6,children:[w.jsx(Bg,{active:n==null?void 0:n.includes(r.id),children:r.text}),w.jsx(Ug,{className:O6,children:w.jsx(AE,{items:r.items||[]})})]},o))})})}function AE({items:e}){const{pathname:t}=Re(),n=Hi({pathname:t,items:e});return w.jsx("ul",{children:e==null?void 0:e.map((r,o)=>w.jsx(Yl,{active:n.includes(r.id),href:r.link,children:r.text},o))})}function OE({items:e}){var s;const[t,n]=h.useState(!1),{pathname:r}=Re(),o=Hi({pathname:r,items:e}),i=e.filter(u=>u.id===o[0])[0],{basePath:a}=Je(),l=a;return w.jsx("div",{className:I(i1,U6),children:i?w.jsxs(Ht.Root,{modal:!0,open:t,onOpenChange:n,children:[w.jsxs(Ht.Trigger,{className:I(o1,Qo),children:[i.text,w.jsx(st,{label:"Menu",icon:kE,size:"11px"})]}),w.jsx(Ht,{className:Y6,children:w.jsx(S6,{type:"single",collapsible:!0,style:{display:"flex",flexDirection:"column"},children:e.map((u,f)=>{var c;return u!=null&&u.link?w.jsx(nn,{"data-active":o.includes(u.id),className:Qo,href:u.link,onClick:()=>n(!1),variant:"styleless",children:u.text},f):w.jsxs(b6,{value:f.toString(),children:[w.jsx($6,{className:I(Qo,B6),"data-active":o.includes(u.id),style:Gt({[P6]:`url(${l}/.vocs/icons/chevron-down.svg)`,[A6]:`url(${l}/.vocs/icons/chevron-up.svg)`}),children:u.text}),w.jsx(T6,{className:z6,children:(c=u.items)==null?void 0:c.map((d,p)=>w.jsx(nn,{className:Qo,href:d.link,onClick:()=>n(!1),variant:"styleless",children:d.text},p))})]},f)})})})]}):(s=e[0])!=null&&s.link?w.jsx(nn,{className:Qo,href:e[0].link,variant:"styleless",children:e[0].text}):null})}const IE={discord:Hg,github:Vg,telegram:Wg,warpcast:Kg,x:Yg},LE={discord:"21px",github:"18px",telegram:"21px",warpcast:"18px",x:"16px"};function ME({icon:e,label:t,link:n,type:r}){return w.jsx("a",{className:N6,href:n,target:"_blank",rel:"noopener noreferrer",children:w.jsx(st,{className:M6,label:t,icon:IE[e],size:LE[r]||"18px"})})}function jE({enableScrollToTop:e}){const{pathname:t}=Re(),{layout:n,showSidebar:r}=Rr(),{frontmatter:o={}}=kr(),i=Hl(),[a,l]=h.useState(!1),[s,u]=h.useState(!1),f=h.useMemo(()=>{if(!i||n==="minimal")return;const p=z1({sidebarItems:i.items,pathname:t});return p==null?void 0:p.text},[n,t,i]),c=h.useMemo(()=>{var p;if(!(typeof window>"u"))return(p=document.querySelector(".vocs_Content h1"))==null?void 0:p.textContent},[]),d=f||o.title||c;return w.jsxs("div",{className:I6,children:[w.jsx("div",{className:kp,children:w.jsx("div",{className:ec,children:r?w.jsxs(Ht.Root,{modal:!0,open:s,onOpenChange:u,children:[w.jsxs(Ht.Trigger,{className:o1,children:[w.jsx(st,{label:"Menu",icon:NE,size:"13px"}),w.jsx("div",{className:F6,children:d})]}),w.jsx(Ht,{className:K6,children:w.jsx(j1,{onClickItem:()=>u(!1)})})]}):d})}),w.jsxs("div",{className:kp,children:[e&&w.jsxs(w.Fragment,{children:[w.jsx("div",{className:ec,children:w.jsxs("button",{className:Rp,onClick:()=>window.scrollTo({behavior:"smooth",top:0}),type:"button",children:["Top",w.jsx(st,{label:"Scroll to top",icon:RE,size:"10px"})]})}),w.jsx("div",{className:W6})]}),n==="docs"&&w.jsx("div",{className:ec,children:w.jsxs(Ht.Root,{modal:!0,open:a,onOpenChange:l,children:[w.jsxs(Ht.Trigger,{className:Rp,children:["On this page",w.jsx(st,{label:"On this page",icon:M1,size:"10px"})]}),w.jsx(Ht,{className:H6,children:w.jsx(a1,{onClickItem:()=>l(!1),showTitle:!1})})]})})]})]})}function z1({sidebarItems:e,pathname:t}){const n=t.replace(/(.+)\/$/,"$1");for(const r of e){if((r==null?void 0:r.link)===n)return r;if(r.items){const o=z1({sidebarItems:r.items,pathname:n});if(o)return o}}}var DE="vocs_SkipLink";const B1="vocs-content";function FE(){const{pathname:e}=Re();return w.jsx("a",{className:I(DE,Z0),href:`${e}#${B1}`,children:"Skip to content"})}var zE="vocs_DocsLayout_content",BE="vocs_DocsLayout_content_withSidebar",UE="vocs_DocsLayout_content_withTopNav",HE="vocs_DocsLayout_gutterLeft",VE="vocs_DocsLayout_gutterRight",WE="vocs_DocsLayout_gutterRight_withSidebar",KE="vocs_DocsLayout_gutterTop",YE="vocs_DocsLayout_gutterTopCurtain",GE="vocs_DocsLayout_gutterTopCurtain_hidden",QE="vocs_DocsLayout_gutterTopCurtain_withSidebar",ZE="vocs_DocsLayout_gutterTop_offsetLeftGutter",XE="vocs_DocsLayout_gutterTop_sticky",JE="vocs_DocsLayout",qE="vocs_DocsLayout_sidebar";function $u({children:e}){const{banner:t,font:n}=Je(),{frontmatter:r={}}=kr(),{content:o}=r,{layout:i,showOutline:a,showSidebar:l,showTopNav:s}=Rr(),{ref:u,inView:f}=U0({initialInView:!0,rootMargin:"100px 0px 0px 0px"}),[c,d]=pu("banner",!0);return w.jsxs("div",{className:JE,"data-layout":i,style:Gt({[Gx]:c?t==null?void 0:t.height:void 0,[Nx.default]:n!=null&&n.google?`${n.google}, ${Rx.default}`:void 0}),children:[w.jsx(FE,{}),c&&w.jsx(m5,{hide:()=>d(!1)}),l&&w.jsx("div",{className:HE,children:w.jsx(j1,{className:qE})}),s&&w.jsxs(w.Fragment,{children:[w.jsxs("div",{ref:u,className:I(KE,l&&ZE,(i==="minimal"||i==="landing")&&XE),children:[w.jsx(xu,{}),w.jsx(bu,{})]}),w.jsxs("div",{className:I(YE,l&&QE,(i==="minimal"||i==="landing")&&GE),children:[w.jsx(xu.Curtain,{}),w.jsx(bu.Curtain,{enableScrollToTop:!f})]})]}),a&&w.jsx("div",{className:I(VE,l&&WE),children:w.jsx(a1,{})}),w.jsxs("div",{id:B1,className:I(zE,l&&BE,s&&UE),style:Gt({[Ms.horizontalPadding]:o==null?void 0:o.horizontalPadding,[Ms.width]:o==null?void 0:o.width,[Ms.verticalPadding]:o==null?void 0:o.verticalPadding}),children:[w.jsx(Y0,{children:e}),w.jsx(X8,{})]}),w.jsx("div",{"data-bottom-observer":!0})]})}const Tu={},U1=Z.createContext(Tu);function e_(e){const t=Z.useContext(U1);return Z.useMemo(function(){return typeof e=="function"?e(t):{...t,...e}},[t,e])}function t_(e){let t;return e.disableParentContext?t=typeof e.components=="function"?e.components(Tu):e.components||Tu:t=e_(e.components),Z.createElement(U1.Provider,{value:t},e.children)}var H1={exports:{}},n_="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",r_=n_,o_=r_;function V1(){}function W1(){}W1.resetWarningCache=V1;var i_=function(){function e(r,o,i,a,l,s){if(s!==o_){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:W1,resetWarningCache:V1};return n.PropTypes=n,n};H1.exports=i_();var a_=H1.exports;const Ce=Jn(a_);function l_(e){return e&&typeof e=="object"&&"default"in e?e.default:e}var K1=h,s_=l_(K1);function zp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c_(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var u_=!!(typeof window<"u"&&window.document&&window.document.createElement);function f_(e,t,n){if(typeof e!="function")throw new Error("Expected reducePropsToState to be a function.");if(typeof t!="function")throw new Error("Expected handleStateChangeOnClient to be a function.");if(typeof n<"u"&&typeof n!="function")throw new Error("Expected mapStateOnServer to either be undefined or a function.");function r(o){return o.displayName||o.name||"Component"}return function(i){if(typeof i!="function")throw new Error("Expected WrappedComponent to be a React component.");var a=[],l;function s(){l=e(a.map(function(f){return f.props})),u.canUseDOM?t(l):n&&(l=n(l))}var u=function(f){c_(c,f);function c(){return f.apply(this,arguments)||this}c.peek=function(){return l},c.rewind=function(){if(c.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var y=l;return l=void 0,a=[],y};var d=c.prototype;return d.UNSAFE_componentWillMount=function(){a.push(this),s()},d.componentDidUpdate=function(){s()},d.componentWillUnmount=function(){var y=a.indexOf(this);a.splice(y,1),s()},d.render=function(){return s_.createElement(i,this.props)},c}(K1.PureComponent);return zp(u,"displayName","SideEffect("+r(i)+")"),zp(u,"canUseDOM",u_),u}}var d_=f_;const h_=Jn(d_);var p_=typeof Element<"u",v_=typeof Map=="function",m_=typeof Set=="function",g_=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function Va(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,o;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!Va(e[r],t[r]))return!1;return!0}var i;if(v_&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;for(i=e.entries();!(r=i.next()).done;)if(!Va(r.value[1],t.get(r.value[0])))return!1;return!0}if(m_&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(g_&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;if(p_&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((o[r]==="_owner"||o[r]==="__v"||o[r]==="__o")&&e.$$typeof)&&!Va(e[o[r]],t[o[r]]))return!1;return!0}return e!==e&&t!==t}var y_=function(t,n){try{return Va(t,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}};const w_=Jn(y_);/* +*****************************************************/(function(e,t){(function(n,r){e.exports=r()})(Ey,function(){var n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(u){return typeof u}:function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},r=function(u,f){if(!(u instanceof f))throw new TypeError("Cannot call a class as a function")},o=function(){function u(f,c){for(var d=0;d1&&arguments[1]!==void 0?arguments[1]:!0,d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],p=arguments.length>3&&arguments[3]!==void 0?arguments[3]:5e3;r(this,u),this.ctx=f,this.iframes=c,this.exclude=d,this.iframesTimeout=p}return o(u,[{key:"getContexts",value:function(){var c=void 0,d=[];return typeof this.ctx>"u"||!this.ctx?c=[]:NodeList.prototype.isPrototypeOf(this.ctx)?c=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?c=this.ctx:typeof this.ctx=="string"?c=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):c=[this.ctx],c.forEach(function(p){var y=d.filter(function(g){return g.contains(p)}).length>0;d.indexOf(p)===-1&&!y&&d.push(p)}),d}},{key:"getIframeContents",value:function(c,d){var p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){},y=void 0;try{var g=c.contentWindow;if(y=g.document,!g||!y)throw new Error("iframe inaccessible")}catch{p()}y&&d(y)}},{key:"isIframeBlank",value:function(c){var d="about:blank",p=c.getAttribute("src").trim(),y=c.contentWindow.location.href;return y===d&&p!==d&&p}},{key:"observeIframeLoad",value:function(c,d,p){var y=this,g=!1,C=null,v=function m(){if(!g){g=!0,clearTimeout(C);try{y.isIframeBlank(c)||(c.removeEventListener("load",m),y.getIframeContents(c,d,p))}catch{p()}}};c.addEventListener("load",v),C=setTimeout(v,this.iframesTimeout)}},{key:"onIframeReady",value:function(c,d,p){try{c.contentWindow.document.readyState==="complete"?this.isIframeBlank(c)?this.observeIframeLoad(c,d,p):this.getIframeContents(c,d,p):this.observeIframeLoad(c,d,p)}catch{p()}}},{key:"waitForIframes",value:function(c,d){var p=this,y=0;this.forEachIframe(c,function(){return!0},function(g){y++,p.waitForIframes(g.querySelector("html"),function(){--y||d()})},function(g){g||d()})}},{key:"forEachIframe",value:function(c,d,p){var y=this,g=arguments.length>3&&arguments[3]!==void 0?arguments[3]:function(){},C=c.querySelectorAll("iframe"),v=C.length,m=0;C=Array.prototype.slice.call(C);var x=function(){--v<=0&&g(m)};v||x(),C.forEach(function(E){u.matches(E,y.exclude)?x():y.onIframeReady(E,function(S){d(E)&&(m++,p(S)),x()},x)})}},{key:"createIterator",value:function(c,d,p){return document.createNodeIterator(c,d,p,!1)}},{key:"createInstanceOnIframe",value:function(c){return new u(c.querySelector("html"),this.iframes)}},{key:"compareNodeIframe",value:function(c,d,p){var y=c.compareDocumentPosition(p),g=Node.DOCUMENT_POSITION_PRECEDING;if(y&g)if(d!==null){var C=d.compareDocumentPosition(p),v=Node.DOCUMENT_POSITION_FOLLOWING;if(C&v)return!0}else return!0;return!1}},{key:"getIteratorNode",value:function(c){var d=c.previousNode(),p=void 0;return d===null?p=c.nextNode():p=c.nextNode()&&c.nextNode(),{prevNode:d,node:p}}},{key:"checkIframeFilter",value:function(c,d,p,y){var g=!1,C=!1;return y.forEach(function(v,m){v.val===p&&(g=m,C=v.handled)}),this.compareNodeIframe(c,d,p)?(g===!1&&!C?y.push({val:p,handled:!0}):g!==!1&&!C&&(y[g].handled=!0),!0):(g===!1&&y.push({val:p,handled:!1}),!1)}},{key:"handleOpenIframes",value:function(c,d,p,y){var g=this;c.forEach(function(C){C.handled||g.getIframeContents(C.val,function(v){g.createInstanceOnIframe(v).forEachNode(d,p,y)})})}},{key:"iterateThroughNodes",value:function(c,d,p,y,g){for(var C=this,v=this.createIterator(d,c,y),m=[],x=[],E=void 0,S=void 0,_=function(){var $=C.getIteratorNode(v);return S=$.prevNode,E=$.node,E};_();)this.iframes&&this.forEachIframe(d,function(b){return C.checkIframeFilter(E,S,b,m)},function(b){C.createInstanceOnIframe(b).forEachNode(c,function($){return x.push($)},y)}),x.push(E);x.forEach(function(b){p(b)}),this.iframes&&this.handleOpenIframes(m,c,p,y),g()}},{key:"forEachNode",value:function(c,d,p){var y=this,g=arguments.length>3&&arguments[3]!==void 0?arguments[3]:function(){},C=this.getContexts(),v=C.length;v||g(),C.forEach(function(m){var x=function(){y.iterateThroughNodes(c,m,d,p,function(){--v<=0&&g()})};y.iframes?y.waitForIframes(m,x):x()})}}],[{key:"matches",value:function(c,d){var p=typeof d=="string"?[d]:d,y=c.matches||c.matchesSelector||c.msMatchesSelector||c.mozMatchesSelector||c.oMatchesSelector||c.webkitMatchesSelector;if(y){var g=!1;return p.every(function(C){return y.call(c,C)?(g=!0,!1):!0}),g}else return!1}}]),u}(),l=function(){function u(f){r(this,u),this.ctx=f,this.ie=!1;var c=window.navigator.userAgent;(c.indexOf("MSIE")>-1||c.indexOf("Trident")>-1)&&(this.ie=!0)}return o(u,[{key:"log",value:function(c){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"debug",p=this.opt.log;this.opt.debug&&(typeof p>"u"?"undefined":n(p))==="object"&&typeof p[d]=="function"&&p[d]("mark.js: "+c)}},{key:"escapeStr",value:function(c){return c.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}},{key:"createRegExp",value:function(c){return this.opt.wildcards!=="disabled"&&(c=this.setupWildcardsRegExp(c)),c=this.escapeStr(c),Object.keys(this.opt.synonyms).length&&(c=this.createSynonymsRegExp(c)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(c=this.setupIgnoreJoinersRegExp(c)),this.opt.diacritics&&(c=this.createDiacriticsRegExp(c)),c=this.createMergedBlanksRegExp(c),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(c=this.createJoinersRegExp(c)),this.opt.wildcards!=="disabled"&&(c=this.createWildcardsRegExp(c)),c=this.createAccuracyRegExp(c),c}},{key:"createSynonymsRegExp",value:function(c){var d=this.opt.synonyms,p=this.opt.caseSensitive?"":"i",y=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(var g in d)if(d.hasOwnProperty(g)){var C=d[g],v=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(g):this.escapeStr(g),m=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(C):this.escapeStr(C);v!==""&&m!==""&&(c=c.replace(new RegExp("("+this.escapeStr(v)+"|"+this.escapeStr(m)+")","gm"+p),y+("("+this.processSynomyms(v)+"|")+(this.processSynomyms(m)+")")+y))}return c}},{key:"processSynomyms",value:function(c){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(c=this.setupIgnoreJoinersRegExp(c)),c}},{key:"setupWildcardsRegExp",value:function(c){return c=c.replace(/(?:\\)*\?/g,function(d){return d.charAt(0)==="\\"?"?":""}),c.replace(/(?:\\)*\*/g,function(d){return d.charAt(0)==="\\"?"*":""})}},{key:"createWildcardsRegExp",value:function(c){var d=this.opt.wildcards==="withSpaces";return c.replace(/\u0001/g,d?"[\\S\\s]?":"\\S?").replace(/\u0002/g,d?"[\\S\\s]*?":"\\S*")}},{key:"setupIgnoreJoinersRegExp",value:function(c){return c.replace(/[^(|)\\]/g,function(d,p,y){var g=y.charAt(p+1);return/[(|)\\]/.test(g)||g===""?d:d+"\0"})}},{key:"createJoinersRegExp",value:function(c){var d=[],p=this.opt.ignorePunctuation;return Array.isArray(p)&&p.length&&d.push(this.escapeStr(p.join(""))),this.opt.ignoreJoiners&&d.push("\\u00ad\\u200b\\u200c\\u200d"),d.length?c.split(/\u0000+/).join("["+d.join("")+"]*"):c}},{key:"createDiacriticsRegExp",value:function(c){var d=this.opt.caseSensitive?"":"i",p=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"],y=[];return c.split("").forEach(function(g){p.every(function(C){if(C.indexOf(g)!==-1){if(y.indexOf(C)>-1)return!1;c=c.replace(new RegExp("["+C+"]","gm"+d),"["+C+"]"),y.push(C)}return!0})}),c}},{key:"createMergedBlanksRegExp",value:function(c){return c.replace(/[\s]+/gmi,"[\\s]+")}},{key:"createAccuracyRegExp",value:function(c){var d=this,p="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿",y=this.opt.accuracy,g=typeof y=="string"?y:y.value,C=typeof y=="string"?[]:y.limiters,v="";switch(C.forEach(function(m){v+="|"+d.escapeStr(m)}),g){case"partially":default:return"()("+c+")";case"complementary":return v="\\s"+(v||this.escapeStr(p)),"()([^"+v+"]*"+c+"[^"+v+"]*)";case"exactly":return"(^|\\s"+v+")("+c+")(?=$|\\s"+v+")"}}},{key:"getSeparatedKeywords",value:function(c){var d=this,p=[];return c.forEach(function(y){d.opt.separateWordSearch?y.split(" ").forEach(function(g){g.trim()&&p.indexOf(g)===-1&&p.push(g)}):y.trim()&&p.indexOf(y)===-1&&p.push(y)}),{keywords:p.sort(function(y,g){return g.length-y.length}),length:p.length}}},{key:"isNumeric",value:function(c){return Number(parseFloat(c))==c}},{key:"checkRanges",value:function(c){var d=this;if(!Array.isArray(c)||Object.prototype.toString.call(c[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(c),[];var p=[],y=0;return c.sort(function(g,C){return g.start-C.start}).forEach(function(g){var C=d.callNoMatchOnInvalidRanges(g,y),v=C.start,m=C.end,x=C.valid;x&&(g.start=v,g.length=m-v,p.push(g),y=m)}),p}},{key:"callNoMatchOnInvalidRanges",value:function(c,d){var p=void 0,y=void 0,g=!1;return c&&typeof c.start<"u"?(p=parseInt(c.start,10),y=p+parseInt(c.length,10),this.isNumeric(c.start)&&this.isNumeric(c.length)&&y-d>0&&y-p>0?g=!0:(this.log("Ignoring invalid or overlapping range: "+(""+JSON.stringify(c))),this.opt.noMatch(c))):(this.log("Ignoring invalid range: "+JSON.stringify(c)),this.opt.noMatch(c)),{start:p,end:y,valid:g}}},{key:"checkWhitespaceRanges",value:function(c,d,p){var y=void 0,g=!0,C=p.length,v=d-C,m=parseInt(c.start,10)-v;return m=m>C?C:m,y=m+parseInt(c.length,10),y>C&&(y=C,this.log("End range automatically set to the max value of "+C)),m<0||y-m<0||m>C||y>C?(g=!1,this.log("Invalid range: "+JSON.stringify(c)),this.opt.noMatch(c)):p.substring(m,y).replace(/\s+/g,"")===""&&(g=!1,this.log("Skipping whitespace only range: "+JSON.stringify(c)),this.opt.noMatch(c)),{start:m,end:y,valid:g}}},{key:"getTextNodes",value:function(c){var d=this,p="",y=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,function(g){y.push({start:p.length,end:(p+=g.textContent).length,node:g})},function(g){return d.matchesExclude(g.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},function(){c({value:p,nodes:y})})}},{key:"matchesExclude",value:function(c){return a.matches(c,this.opt.exclude.concat(["script","style","title","head","html"]))}},{key:"wrapRangeInTextNode",value:function(c,d,p){var y=this.opt.element?this.opt.element:"mark",g=c.splitText(d),C=g.splitText(p-d),v=document.createElement(y);return v.setAttribute("data-markjs","true"),this.opt.className&&v.setAttribute("class",this.opt.className),v.textContent=g.textContent,g.parentNode.replaceChild(v,g),C}},{key:"wrapRangeInMappedTextNode",value:function(c,d,p,y,g){var C=this;c.nodes.every(function(v,m){var x=c.nodes[m+1];if(typeof x>"u"||x.start>d){if(!y(v.node))return!1;var E=d-v.start,S=(p>v.end?v.end:p)-v.start,_=c.value.substr(0,v.start),b=c.value.substr(S+v.start);if(v.node=C.wrapRangeInTextNode(v.node,E,S),c.value=_+b,c.nodes.forEach(function($,T){T>=m&&(c.nodes[T].start>0&&T!==m&&(c.nodes[T].start-=S),c.nodes[T].end-=S)}),p-=S,g(v.node.previousSibling,v.start),p>v.end)d=v.end;else return!1}return!0})}},{key:"wrapMatches",value:function(c,d,p,y,g){var C=this,v=d===0?0:d+1;this.getTextNodes(function(m){m.nodes.forEach(function(x){x=x.node;for(var E=void 0;(E=c.exec(x.textContent))!==null&&E[v]!=="";)if(p(E[v],x)){var S=E.index;if(v!==0)for(var _=1;_{const o=setTimeout(()=>r(e),t||500);return()=>{clearTimeout(o)}},[e,t]),n}function pu(e,t){const[n,r]=h.useState();h.useEffect(()=>{const i=h7(e);r(typeof i>"u"||i===null?typeof t=="function"?t():t:i)},[t,e]);const o=h.useCallback(i=>{r(a=>{let l;typeof i=="function"?l=i(a):l=i;try{localStorage.setItem(e,JSON.stringify(l))}catch{}return l})},[e]);return[n,o]}function h7(e){try{const t=localStorage.getItem(e);return typeof t=="string"?JSON.parse(t):void 0}catch{return}}var p7="vocs_Kbd";function Rg(e){return w.jsx("kbd",{...e,className:I(e.className,p7)})}var v7="vocs_KeyboardShortcut_kbdGroup",m7="vocs_KeyboardShortcut";function eo(e){const{description:t,keys:n}=e;return w.jsxs("span",{className:m7,children:[t,w.jsx("span",{className:v7,children:n.map(r=>w.jsx(Rg,{children:r},r))})]})}var g7="vocs_SearchDialog_content",vp="vocs_SearchDialog_excerpt",y7="vocs_SearchDialog_overlay",w7="vocs_SearchDialog_result",mp="vocs_SearchDialog_resultIcon",x7="vocs_SearchDialog_resultSelected",C7="vocs_SearchDialog_results",E7="vocs_SearchDialog",_7="vocs_SearchDialog_searchBox",S7="vocs_SearchDialog_searchInput",_a="vocs_SearchDialog_searchInputIcon",b7="vocs_SearchDialog_searchInputIconDesktop",$7="vocs_SearchDialog_searchInputIconMobile",T7="vocs_SearchDialog_searchShortcuts",gp="vocs_SearchDialog_title",k7="vocs_SearchDialog_titleIcon",R7="vocs_SearchDialog_titles";function Ng(e){const t=Df(),n=h.useRef(null),r=h.useRef(null),[o,i]=pu("filterText",""),a=d7(o,200),l=Tg(),[s,u]=h.useState(-1),[f,c]=h.useState(!1),[d,p]=pu("showDetailView",!0),y=h.useMemo(()=>l?a?(u(0),l.search(a).slice(0,16)):(u(-1),[]):[],[l,a]),g=y.length,C=y[s],v=h.useCallback(()=>{var S,_,b;if(!r.current)return;const m=new Set;for(const $ of y)for(const T in $.match)m.add(T);const x=new f7(r.current);x.unmark({done(){x==null||x.markRegExp(N7(m))}});const E=r.current.querySelectorAll(`.${vp}`);for(const $ of E)(S=$.querySelector('mark[data-markjs="true"]'))==null||S.scrollIntoView({block:"center"});(b=(_=r.current)==null?void 0:_.firstElementChild)==null||b.scrollIntoView({block:"start"})},[y]);return h.useEffect(()=>{if(!e.open)return;function m(x){var E;switch(x.key){case"ArrowDown":{x.preventDefault(),u(S=>{var $;let _=S+1;_>=g&&(_=0);const b=($=r.current)==null?void 0:$.children[_];return b==null||b.scrollIntoView({block:"nearest"}),_}),c(!0);break}case"ArrowUp":{x.preventDefault(),u(S=>{var $;let _=S-1;_<0&&(_=g-1);const b=($=r.current)==null?void 0:$.children[_];return b==null||b.scrollIntoView({block:"nearest"}),_}),c(!0);break}case"Backspace":{if(!x.metaKey)return;x.preventDefault(),i(""),(E=n.current)==null||E.focus();break}case"Enter":{if(x.target instanceof HTMLButtonElement&&x.target.type!=="submit"||!C)return;x.preventDefault(),t(C.href),e.onClose();break}}}return window.addEventListener("keydown",m),()=>{window.removeEventListener("keydown",m)}},[t,g,i,C,e.open,e.onClose]),h.useEffect(()=>{a!==""&&r.current&&v()},[v,a]),w.jsxs(B4,{children:[w.jsx(U4,{className:y7}),w.jsxs(H4,{onOpenAutoFocus:m=>{n.current&&(m.preventDefault(),n.current.focus()),v()},onCloseAutoFocus:()=>{u(0)},className:E7,"aria-describedby":void 0,children:[w.jsx(V4,{className:Z0,children:"Search"}),w.jsxs("form",{className:_7,children:[w.jsx("button",{"aria-label":"Close search dialog",type:"button",onClick:()=>e.onClose(),className:$7,children:w.jsx(o5,{className:_a,height:20,width:20})}),w.jsx(c7,{htmlFor:"search-input",children:w.jsx(Bf,{"aria-label":"Search",className:I(_a,b7),height:20,width:20})}),w.jsx("input",{ref:n,tabIndex:0,className:S7,id:"search-input",onChange:m=>i(m.target.value),placeholder:"Search",type:"search",value:o}),w.jsx("button",{"aria-label":"Toggle detail view",type:"button",onClick:()=>p(m=>!m),children:w.jsx(d5,{className:_a,height:20,width:20})}),w.jsx("button",{"aria-label":"Reset search",type:"button",className:_a,onClick:()=>{var m;i(""),(m=n.current)==null||m.focus()},children:"⌫"})]}),w.jsxs("ul",{className:C7,role:y.length?"listbox":void 0,onMouseMove:()=>c(!1),ref:r,children:[a&&y.length===0&&w.jsxs("li",{children:['No results for "',w.jsx("span",{children:a}),'"']}),y.map((m,x)=>{var E;return w.jsx("li",{role:"option",className:I(w7,x===s&&x7),"aria-selected":x===s,"aria-label":[...m.titles.filter(S=>!!S),m.title].join(" > "),children:w.jsxs(M0,{to:m.href,onClick:S=>{S.metaKey||e.onClose()},onMouseEnter:()=>!f&&u(x),onFocus:()=>u(x),children:[w.jsxs("div",{className:R7,children:[m.isPage?w.jsx(u5,{className:mp}):w.jsx("span",{className:mp,children:"#"}),m.titles.filter(S=>!!S).map(S=>w.jsxs("span",{className:gp,children:[w.jsx("span",{dangerouslySetInnerHTML:{__html:S}}),w.jsx(a5,{className:k7})]},S)),w.jsx("span",{className:gp,children:w.jsx("span",{dangerouslySetInnerHTML:{__html:m.title}})})]}),d&&((E=m.text)==null?void 0:E.trim())&&w.jsx("div",{className:vp,children:w.jsx(Y0,{className:g7,children:w.jsx("div",{dangerouslySetInnerHTML:{__html:m.html}})})})]})},m.id)})]}),w.jsxs("div",{className:T7,children:[w.jsx(eo,{description:"Navigate",keys:["↑","↓"]}),w.jsx(eo,{description:"Select",keys:["enter"]}),w.jsx(eo,{description:"Close",keys:["esc"]}),w.jsx(eo,{description:"Reset",keys:["⌘","⌫"]})]})]})]})}function N7(e){return new RegExp([...e].sort((t,n)=>n.length-t.length).map(t=>`(${t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")})`).join("|"),"gi")}function P7(){Tg();const[e,t]=h.useState(!1);return h.useEffect(()=>{function n(r){const o=document.activeElement instanceof HTMLElement&&(["input","select","textarea"].includes(document.activeElement.tagName.toLowerCase())||document.activeElement.isContentEditable);r.key==="/"&&!e&&!o?(r.preventDefault(),t(!0)):r.metaKey===!0&&r.key==="k"&&(r.preventDefault(),t(i=>!i))}return window.addEventListener("keydown",n),()=>{window.removeEventListener("keydown",n)}},[e]),w.jsxs(wg,{open:e,onOpenChange:t,children:[w.jsx(xg,{asChild:!0,children:w.jsxs("button",{className:a7,type:"button",children:[w.jsx(Bf,{style:{marginTop:2}}),"Search",w.jsx("div",{className:l7,children:w.jsx("div",{style:{background:"currentColor",transform:"rotate(45deg)",width:1.5,borderRadius:2,height:"100%"}})})]})}),w.jsx(Ng,{open:e,onClose:()=>t(!1)})]})}var Pg="vocs_DesktopTopNav_button",A7="vocs_DesktopTopNav_content",O7="vocs_DesktopTopNav_curtain",yp="vocs_DesktopTopNav_divider",Js="vocs_DesktopTopNav_group",Sa="vocs_DesktopTopNav_hideCompact",vu="vocs_DesktopTopNav_icon",yl="vocs_DesktopTopNav_item",I7="vocs_DesktopTopNav_logo",L7="vocs_DesktopTopNav_logoWrapper",M7="vocs_DesktopTopNav",wp="vocs_DesktopTopNav_section",j7="vocs_DesktopTopNav_withLogo",D7="vocs_Icon",mu="var(--vocs_Icon_size)";function st({className:e,label:t,icon:n,size:r,style:o}){return w.jsx("div",{"aria-label":t,className:I(D7,e),role:"img",style:{...o,...Gt({[mu]:r})},children:w.jsx(n,{height:r,width:r})})}var F7="vocs_Logo_logoDark",z7="vocs_Logo_logoLight",qs="vocs_Logo";function B7({className:e}){const{logoUrl:t}=Je();return t?w.jsx(w.Fragment,{children:typeof t=="string"?w.jsx("img",{alt:"Logo",className:I(e,qs),src:t}):w.jsxs(w.Fragment,{children:[w.jsx("img",{alt:"Logo",className:I(e,qs,F7),src:t.dark}),w.jsx("img",{alt:"Logo",className:I(e,qs,z7),src:t.light})]})}):null}var U7="vocs_NavLogo_logoImage",H7="vocs_NavLogo_title";function Kf(){const e=Je();return e.logoUrl?w.jsx(B7,{className:U7}):w.jsx("div",{className:H7,children:e.title})}const V7=h.createContext(void 0);function Wl(e){const t=h.useContext(V7);return e||t||"ltr"}function Kl(e){const t=e+"CollectionProvider",[n,r]=En(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=p=>{const{scope:y,children:g}=p,C=Z.useRef(null),v=Z.useRef(new Map).current;return Z.createElement(o,{scope:y,itemMap:v,collectionRef:C},g)},l=e+"CollectionSlot",s=Z.forwardRef((p,y)=>{const{scope:g,children:C}=p,v=i(l,g),m=ze(y,v.collectionRef);return Z.createElement(Co,{ref:m},C)}),u=e+"CollectionItemSlot",f="data-radix-collection-item",c=Z.forwardRef((p,y)=>{const{scope:g,children:C,...v}=p,m=Z.useRef(null),x=ze(y,m),E=i(u,g);return Z.useEffect(()=>(E.itemMap.set(m,{ref:m,...v}),()=>void E.itemMap.delete(m))),Z.createElement(Co,{[f]:"",ref:x},C)});function d(p){const y=i(e+"CollectionConsumer",p);return Z.useCallback(()=>{const C=y.collectionRef.current;if(!C)return[];const v=Array.from(C.querySelectorAll(`[${f}]`));return Array.from(y.itemMap.values()).sort((E,S)=>v.indexOf(E.ref.current)-v.indexOf(S.ref.current))},[y.collectionRef,y.itemMap])}return[{Provider:a,Slot:s,ItemSlot:c},d,r]}function W7(e){const t=h.useRef({value:e,previous:e});return h.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}const K7=h.forwardRef((e,t)=>h.createElement(fe.span,Y({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),Y7=K7,Vi="NavigationMenu",[Yf,G7,Q7]=Kl(Vi),[gu,Z7,X7]=Kl(Vi),[Gf,t$]=En(Vi,[Q7,X7]),[J7,Nr]=Gf(Vi),[q7,n$]=Gf(Vi),e6=h.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,value:r,onValueChange:o,defaultValue:i,delayDuration:a=200,skipDelayDuration:l=300,orientation:s="horizontal",dir:u,...f}=e,[c,d]=h.useState(null),p=ze(t,T=>d(T)),y=Wl(u),g=h.useRef(0),C=h.useRef(0),v=h.useRef(0),[m,x]=h.useState(!0),[E="",S]=rr({prop:r,onChange:T=>{const P=T!=="",j=l>0;P?(window.clearTimeout(v.current),j&&x(!1)):(window.clearTimeout(v.current),v.current=window.setTimeout(()=>x(!0),l)),o==null||o(T)},defaultProp:i}),_=h.useCallback(()=>{window.clearTimeout(C.current),C.current=window.setTimeout(()=>S(""),150)},[S]),b=h.useCallback(T=>{window.clearTimeout(C.current),S(T)},[S]),$=h.useCallback(T=>{E===T?window.clearTimeout(C.current):g.current=window.setTimeout(()=>{window.clearTimeout(C.current),S(T)},a)},[E,S,a]);return h.useEffect(()=>()=>{window.clearTimeout(g.current),window.clearTimeout(C.current),window.clearTimeout(v.current)},[]),h.createElement(t6,{scope:n,isRootMenu:!0,value:E,dir:y,orientation:s,rootNavigationMenu:c,onTriggerEnter:T=>{window.clearTimeout(g.current),m?$(T):b(T)},onTriggerLeave:()=>{window.clearTimeout(g.current),_()},onContentEnter:()=>window.clearTimeout(C.current),onContentLeave:_,onItemSelect:T=>{S(P=>P===T?"":T)},onItemDismiss:()=>S("")},h.createElement(fe.nav,Y({"aria-label":"Main","data-orientation":s,dir:y},f,{ref:p})))}),t6=e=>{const{scope:t,isRootMenu:n,rootNavigationMenu:r,dir:o,orientation:i,children:a,value:l,onItemSelect:s,onItemDismiss:u,onTriggerEnter:f,onTriggerLeave:c,onContentEnter:d,onContentLeave:p}=e,[y,g]=h.useState(null),[C,v]=h.useState(new Map),[m,x]=h.useState(null);return h.createElement(J7,{scope:t,isRootMenu:n,rootNavigationMenu:r,value:l,previousValue:W7(l),baseId:rn(),dir:o,orientation:i,viewport:y,onViewportChange:g,indicatorTrack:m,onIndicatorTrackChange:x,onTriggerEnter:at(f),onTriggerLeave:at(c),onContentEnter:at(d),onContentLeave:at(p),onItemSelect:at(s),onItemDismiss:at(u),onViewportContentChange:h.useCallback((E,S)=>{v(_=>(_.set(E,S),new Map(_)))},[]),onViewportContentRemove:h.useCallback(E=>{v(S=>S.has(E)?(S.delete(E),new Map(S)):S)},[])},h.createElement(Yf.Provider,{scope:t},h.createElement(q7,{scope:t,items:C},a)))},n6="NavigationMenuList",r6=h.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,...r}=e,o=Nr(n6,n),i=h.createElement(fe.ul,Y({"data-orientation":o.orientation},r,{ref:t}));return h.createElement(fe.div,{style:{position:"relative"},ref:o.onIndicatorTrackChange},h.createElement(Yf.Slot,{scope:n},o.isRootMenu?h.createElement(Og,{asChild:!0},i):i))}),o6="NavigationMenuItem",[i6,Ag]=Gf(o6),a6=h.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,value:r,...o}=e,i=rn(),a=r||i||"LEGACY_REACT_AUTO_VALUE",l=h.useRef(null),s=h.useRef(null),u=h.useRef(null),f=h.useRef(()=>{}),c=h.useRef(!1),d=h.useCallback((y="start")=>{if(l.current){f.current();const g=yu(l.current);g.length&&Qf(y==="start"?g:g.reverse())}},[]),p=h.useCallback(()=>{if(l.current){const y=yu(l.current);y.length&&(f.current=p6(y))}},[]);return h.createElement(i6,{scope:n,value:a,triggerRef:s,contentRef:l,focusProxyRef:u,wasEscapeCloseRef:c,onEntryKeyDown:d,onFocusProxyEnter:d,onRootContentClose:p,onContentFocusOutside:p},h.createElement(fe.li,Y({},o,{ref:t})))}),xp="NavigationMenuTrigger",l6=h.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,disabled:r,...o}=e,i=Nr(xp,e.__scopeNavigationMenu),a=Ag(xp,e.__scopeNavigationMenu),l=h.useRef(null),s=ze(l,a.triggerRef,t),u=Mg(i.baseId,a.value),f=jg(i.baseId,a.value),c=h.useRef(!1),d=h.useRef(!1),p=a.value===i.value;return h.createElement(h.Fragment,null,h.createElement(Yf.ItemSlot,{scope:n,value:a.value},h.createElement(Ig,{asChild:!0},h.createElement(fe.button,Y({id:u,disabled:r,"data-disabled":r?"":void 0,"data-state":Lg(p),"aria-expanded":p,"aria-controls":f},o,{ref:s,onPointerEnter:ae(e.onPointerEnter,()=>{d.current=!1,a.wasEscapeCloseRef.current=!1}),onPointerMove:ae(e.onPointerMove,wu(()=>{r||d.current||a.wasEscapeCloseRef.current||c.current||(i.onTriggerEnter(a.value),c.current=!0)})),onPointerLeave:ae(e.onPointerLeave,wu(()=>{r||(i.onTriggerLeave(),c.current=!1)})),onClick:ae(e.onClick,()=>{i.onItemSelect(a.value),d.current=p}),onKeyDown:ae(e.onKeyDown,y=>{const C={horizontal:"ArrowDown",vertical:i.dir==="rtl"?"ArrowLeft":"ArrowRight"}[i.orientation];p&&y.key===C&&(a.onEntryKeyDown(),y.preventDefault())})})))),p&&h.createElement(h.Fragment,null,h.createElement(Y7,{"aria-hidden":!0,tabIndex:0,ref:a.focusProxyRef,onFocus:y=>{const g=a.contentRef.current,C=y.relatedTarget,v=C===l.current,m=g==null?void 0:g.contains(C);(v||!m)&&a.onFocusProxyEnter(v?"start":"end")}}),i.viewport&&h.createElement("span",{"aria-owns":f})))}),Cp="navigationMenu.linkSelect",s6=h.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,active:r,onSelect:o,...i}=e;return h.createElement(Ig,{asChild:!0},h.createElement(fe.a,Y({"data-active":r?"":void 0,"aria-current":r?"page":void 0},i,{ref:t,onClick:ae(e.onClick,a=>{const l=a.target,s=new CustomEvent(Cp,{bubbles:!0,cancelable:!0});if(l.addEventListener(Cp,u=>o==null?void 0:o(u),{once:!0}),lu(l,s),!s.defaultPrevented&&!a.metaKey){const u=new CustomEvent(Ua,{bubbles:!0,cancelable:!0});lu(l,u)}},{checkForDefaultPrevented:!1})})))}),wl="NavigationMenuContent",c6=h.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=Nr(wl,e.__scopeNavigationMenu),i=Ag(wl,e.__scopeNavigationMenu),a=ze(i.contentRef,t),l=i.value===o.value,s={value:i.value,triggerRef:i.triggerRef,focusProxyRef:i.focusProxyRef,wasEscapeCloseRef:i.wasEscapeCloseRef,onContentFocusOutside:i.onContentFocusOutside,onRootContentClose:i.onRootContentClose,...r};return o.viewport?h.createElement(u6,Y({forceMount:n},s,{ref:a})):h.createElement(_n,{present:n||l},h.createElement(f6,Y({"data-state":Lg(l)},s,{ref:a,onPointerEnter:ae(e.onPointerEnter,o.onContentEnter),onPointerLeave:ae(e.onPointerLeave,wu(o.onContentLeave)),style:{pointerEvents:!l&&o.isRootMenu?"none":void 0,...s.style}})))}),u6=h.forwardRef((e,t)=>{const n=Nr(wl,e.__scopeNavigationMenu),{onViewportContentChange:r,onViewportContentRemove:o}=n;return gn(()=>{r(e.value,{ref:t,...e})},[e,t,r]),gn(()=>()=>o(e.value),[e.value,o]),null}),Ua="navigationMenu.rootContentDismiss",f6=h.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,value:r,triggerRef:o,focusProxyRef:i,wasEscapeCloseRef:a,onRootContentClose:l,onContentFocusOutside:s,...u}=e,f=Nr(wl,n),c=h.useRef(null),d=ze(c,t),p=Mg(f.baseId,r),y=jg(f.baseId,r),g=G7(n),C=h.useRef(null),{onItemDismiss:v}=f;h.useEffect(()=>{const x=c.current;if(f.isRootMenu&&x){const E=()=>{var S;v(),l(),x.contains(document.activeElement)&&((S=o.current)===null||S===void 0||S.focus())};return x.addEventListener(Ua,E),()=>x.removeEventListener(Ua,E)}},[f.isRootMenu,e.value,o,v,l]);const m=h.useMemo(()=>{const E=g().map(P=>P.value);f.dir==="rtl"&&E.reverse();const S=E.indexOf(f.value),_=E.indexOf(f.previousValue),b=r===f.value,$=_===E.indexOf(r);if(!b&&!$)return C.current;const T=(()=>{if(S!==_){if(b&&_!==-1)return S>_?"from-end":"from-start";if($&&S!==-1)return S>_?"to-start":"to-end"}return null})();return C.current=T,T},[f.previousValue,f.value,f.dir,g,r]);return h.createElement(Og,{asChild:!0},h.createElement(Uf,Y({id:y,"aria-labelledby":p,"data-motion":m,"data-orientation":f.orientation},u,{ref:d,onDismiss:()=>{var x;const E=new Event(Ua,{bubbles:!0,cancelable:!0});(x=c.current)===null||x===void 0||x.dispatchEvent(E)},onFocusOutside:ae(e.onFocusOutside,x=>{var E;s();const S=x.target;(E=f.rootNavigationMenu)!==null&&E!==void 0&&E.contains(S)&&x.preventDefault()}),onPointerDownOutside:ae(e.onPointerDownOutside,x=>{var E;const S=x.target,_=g().some($=>{var T;return(T=$.ref.current)===null||T===void 0?void 0:T.contains(S)}),b=f.isRootMenu&&((E=f.viewport)===null||E===void 0?void 0:E.contains(S));(_||b||!f.isRootMenu)&&x.preventDefault()}),onKeyDown:ae(e.onKeyDown,x=>{const E=x.altKey||x.ctrlKey||x.metaKey;if(x.key==="Tab"&&!E){const b=yu(x.currentTarget),$=document.activeElement,T=b.findIndex(L=>L===$),j=x.shiftKey?b.slice(0,T).reverse():b.slice(T+1,b.length);if(Qf(j))x.preventDefault();else{var _;(_=i.current)===null||_===void 0||_.focus()}}}),onEscapeKeyDown:ae(e.onEscapeKeyDown,x=>{a.current=!0})})))}),d6="FocusGroup",Og=h.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,...r}=e,o=Nr(d6,n);return h.createElement(gu.Provider,{scope:n},h.createElement(gu.Slot,{scope:n},h.createElement(fe.div,Y({dir:o.dir},r,{ref:t}))))}),Ep=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown"],h6="FocusGroupItem",Ig=h.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,...r}=e,o=Z7(n),i=Nr(h6,n);return h.createElement(gu.ItemSlot,{scope:n},h.createElement(fe.button,Y({},r,{ref:t,onKeyDown:ae(e.onKeyDown,a=>{if(["Home","End",...Ep].includes(a.key)){let s=o().map(c=>c.ref.current);if([i.dir==="rtl"?"ArrowRight":"ArrowLeft","ArrowUp","End"].includes(a.key)&&s.reverse(),Ep.includes(a.key)){const c=s.indexOf(a.currentTarget);s=s.slice(c+1)}setTimeout(()=>Qf(s)),a.preventDefault()}})})))});function yu(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 Qf(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}function p6(e){return e.forEach(t=>{t.dataset.tabindex=t.getAttribute("tabindex")||"",t.setAttribute("tabindex","-1")}),()=>{e.forEach(t=>{const n=t.dataset.tabindex;t.setAttribute("tabindex",n)})}}function Lg(e){return e?"open":"closed"}function Mg(e,t){return`${e}-trigger-${t}`}function jg(e,t){return`${e}-content-${t}`}function wu(e){return t=>t.pointerType==="mouse"?e(t):void 0}const v6=e6,m6=r6,g6=a6,y6=l6,w6=s6,x6=c6;var C6="var(--vocs_NavigationMenu_chevronDownIcon)",E6="vocs_NavigationMenu_content",_6="vocs_NavigationMenu_item",S6="vocs_NavigationMenu_link",b6="vocs_NavigationMenu_list",$6="vocs_NavigationMenu",T6="vocs_NavigationMenu_trigger vocs_NavigationMenu_link";const Dg=e=>w.jsx(v6,{...e,className:I(e.className,$6)}),Fg=e=>w.jsx(m6,{...e,className:I(e.className,b6)}),Yl=({active:e,children:t,className:n,href:r})=>w.jsx(w6,{asChild:!0,children:w.jsx(nn,{"data-active":e,className:I(n,S6),href:r,variant:"styleless",children:t})}),zg=e=>w.jsx(g6,{...e,className:I(e.className,_6)}),Bg=({active:e,className:t,...n})=>{const{basePath:r}=Je(),o=r;return w.jsx(y6,{...n,"data-active":e,className:I(t,T6),style:Gt({[C6]:`url(${o}/.vocs/icons/chevron-down.svg)`})})},Ug=e=>w.jsx(x6,{...e,className:I(e.className,E6)});function Hg(){return w.jsxs("svg",{width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 127.14 96.36",children:[w.jsx("title",{children:"Discord"}),w.jsx("g",{id:"图层_2","data-name":"图层 2",children:w.jsx("g",{id:"Discord_Logos","data-name":"Discord Logos",children:w.jsx("g",{id:"Discord_Logo_-_Large_-_White","data-name":"Discord Logo - Large - White",children:w.jsx("path",{d:"M107.7,8.07A105.15,105.15,0,0,0,81.47,0a72.06,72.06,0,0,0-3.36,6.83A97.68,97.68,0,0,0,49,6.83,72.37,72.37,0,0,0,45.64,0,105.89,105.89,0,0,0,19.39,8.09C2.79,32.65-1.71,56.6.54,80.21h0A105.73,105.73,0,0,0,32.71,96.36,77.7,77.7,0,0,0,39.6,85.25a68.42,68.42,0,0,1-10.85-5.18c.91-.66,1.8-1.34,2.66-2a75.57,75.57,0,0,0,64.32,0c.87.71,1.76,1.39,2.66,2a68.68,68.68,0,0,1-10.87,5.19,77,77,0,0,0,6.89,11.1A105.25,105.25,0,0,0,126.6,80.22h0C129.24,52.84,122.09,29.11,107.7,8.07ZM42.45,65.69C36.18,65.69,31,60,31,53s5-12.74,11.43-12.74S54,46,53.89,53,48.84,65.69,42.45,65.69Zm42.24,0C78.41,65.69,73.25,60,73.25,53s5-12.74,11.44-12.74S96.23,46,96.12,53,91.08,65.69,84.69,65.69Z",fill:"currentColor"})})})})]})}function Vg(){return w.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 98 96",xmlns:"http://www.w3.org/2000/svg",children:[w.jsx("title",{children:"GitHub"}),w.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0 1 12.214-1.63c4.125 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z",fill:"currentColor"})]})}function k6(){return w.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 78 82",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[w.jsx("title",{children:"Moon"}),w.jsx("path",{d:"M62.8455 45.9668C63.6268 45.9668 64.2127 45.3809 64.3104 44.5508C65.4334 34.3457 66.0682 33.9551 76.4197 32.3438C77.3963 32.1973 77.9334 31.7578 77.9334 30.8789C77.9334 30.0977 77.3963 29.5605 76.6151 29.4629C66.1658 27.4609 65.4334 27.4609 64.3104 17.2559C64.2127 16.377 63.6268 15.8398 62.8455 15.8398C62.0154 15.8398 61.4783 16.377 61.3807 17.207C60.1111 27.6074 59.6229 28.0957 49.0272 29.4629C48.2947 29.5117 47.7088 30.0977 47.7088 30.8789C47.7088 31.709 48.2947 32.1973 49.0272 32.3438C59.6229 34.3457 60.0623 34.4434 61.3807 44.6484C61.4783 45.3809 62.0154 45.9668 62.8455 45.9668ZM44.535 19.5508C45.0233 19.5508 45.3162 19.2578 45.4139 18.7695C46.6834 12.4707 46.5369 12.373 53.1287 11.0547C53.5682 10.957 53.91 10.7129 53.91 10.1758C53.91 9.63868 53.5682 9.39448 53.1287 9.29688C46.5369 7.97848 46.6834 7.88089 45.4139 1.58199C45.3162 1.09379 45.0233 0.800781 44.535 0.800781C43.9979 0.800781 43.7049 1.09379 43.6072 1.58199C42.3377 7.88089 42.4842 7.97848 35.9412 9.29688C35.4529 9.39448 35.1111 9.63868 35.1111 10.1758C35.1111 10.7129 35.4529 10.957 35.9412 11.0547C42.4842 12.373 42.3865 12.4707 43.6072 18.7695C43.7049 19.2578 43.9979 19.5508 44.535 19.5508Z",fill:"currentColor"}),w.jsx("path",{d:"M34.3298 81.2696C48.49 81.2696 59.9157 74.043 65.0915 61.7872C65.8239 59.9806 65.5798 58.6134 64.7497 57.7833C64.0173 57.0509 62.7478 56.9044 61.3318 57.4903C58.4509 58.6134 54.9353 59.2481 50.6384 59.2481C33.695 59.2481 22.7575 48.6036 22.7575 32.2462C22.7575 27.4122 23.6853 22.6759 24.7595 20.5763C25.5407 18.9161 25.4919 17.5001 24.8083 16.67C24.0271 15.7423 22.6599 15.4005 20.7068 16.1329C8.64624 20.7716 0.345459 33.4181 0.345459 47.8712C0.345459 66.8165 14.5056 81.2696 34.3298 81.2696ZM34.4275 74.5801C18.4607 74.5801 7.03494 62.9591 7.03494 47.3341C7.03494 38.2521 10.9411 30.0489 17.6306 24.629C16.8005 27.0704 16.361 30.6837 16.361 34.1505C16.361 52.8517 29.5446 65.6935 48.8806 65.6935C52.0544 65.6935 54.9841 65.3517 56.4001 64.9122C51.615 70.918 43.4607 74.5801 34.4275 74.5801Z",fill:"currentColor"})]})}function R6(){return w.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 84 84",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[w.jsx("title",{children:"Sun"}),w.jsx("path",{d:"M41.8675 15.5254C43.9183 15.5254 45.6273 13.7676 45.6273 11.7168V3.80658C45.6273 1.75588 43.9183 0.046875 41.8675 0.046875C39.7679 0.046875 38.0589 1.75588 38.0589 3.80658V11.7168C38.0589 13.7676 39.7679 15.5254 41.8675 15.5254ZM60.3246 23.2402C61.7895 24.7051 64.2309 24.7539 65.7446 23.2402L71.3598 17.6738C72.7758 16.209 72.7758 13.7188 71.3598 12.2539C69.8949 10.7891 67.4535 10.7891 65.9887 12.2539L60.3246 17.918C58.9086 19.3828 58.9086 21.7754 60.3246 23.2402ZM67.9906 41.7461C67.9906 43.7969 69.7485 45.5547 71.7992 45.5547H79.6117C81.7113 45.5547 83.4202 43.7969 83.4202 41.7461C83.4202 39.6953 81.7113 37.9375 79.6117 37.9375H71.7992C69.7485 37.9375 67.9906 39.6953 67.9906 41.7461ZM60.3246 60.3008C58.9086 61.7656 58.9086 64.1582 60.3246 65.623L65.9887 71.2871C67.4535 72.7519 69.8949 72.7031 71.3598 71.2383C72.7758 69.7734 72.7758 67.332 71.3598 65.8672L65.6957 60.3008C64.2309 58.8359 61.7895 58.8359 60.3246 60.3008ZM41.8675 67.9668C39.7679 67.9668 38.0589 69.7246 38.0589 71.7754V79.6855C38.0589 81.7363 39.7679 83.4453 41.8675 83.4453C43.9183 83.4453 45.6273 81.7363 45.6273 79.6855V71.7754C45.6273 69.7246 43.9183 67.9668 41.8675 67.9668ZM23.3617 60.3008C21.8969 58.8359 19.4067 58.8359 17.9418 60.3008L12.3754 65.8184C10.9106 67.2832 10.9106 69.7246 12.3266 71.1894C13.7914 72.6543 16.2328 72.7031 17.6977 71.2383L23.3129 65.623C24.7778 64.1582 24.7778 61.7656 23.3617 60.3008ZM15.6957 41.7461C15.6957 39.6953 13.9867 37.9375 11.8871 37.9375H4.07455C1.97497 37.9375 0.265991 39.6953 0.265991 41.7461C0.265991 43.7969 1.97497 45.5547 4.07455 45.5547H11.8871C13.9867 45.5547 15.6957 43.7969 15.6957 41.7461ZM23.3129 23.2402C24.7778 21.8242 24.7778 19.334 23.3617 17.918L17.7465 12.2539C16.3305 10.8379 13.8403 10.7891 12.4242 12.2539C10.9594 13.7188 10.9594 16.209 12.3754 17.625L17.9418 23.2402C19.4067 24.7051 21.8481 24.7051 23.3129 23.2402Z",fill:"currentColor"}),w.jsx("path",{d:"M41.8675 61.668C52.7073 61.668 61.7405 52.6836 61.7405 41.7461C61.7405 30.8086 52.7073 21.8242 41.8675 21.8242C30.9788 21.8242 21.9456 30.8086 21.9456 41.7461C21.9456 52.6836 30.9788 61.668 41.8675 61.668ZM41.8675 55.0273C34.5921 55.0273 28.5862 48.9727 28.5862 41.7461C28.5862 34.5195 34.5921 28.4648 41.8675 28.4648C49.0941 28.4648 55.0999 34.5195 55.0999 41.7461C55.0999 48.9727 49.0941 55.0273 41.8675 55.0273Z",fill:"currentColor"})]})}function Wg(){return w.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 50 50",children:[w.jsx("title",{children:"Telegram"}),w.jsx("path",{d:"M25 2c12.703 0 23 10.297 23 23S37.703 48 25 48 2 37.703 2 25 12.297 2 25 2zm7.934 32.375c.423-1.298 2.405-14.234 2.65-16.783.074-.772-.17-1.285-.648-1.514-.578-.278-1.434-.139-2.427.219-1.362.491-18.774 7.884-19.78 8.312-.954.405-1.856.847-1.856 1.487 0 .45.267.703 1.003.966.766.273 2.695.858 3.834 1.172 1.097.303 2.346.04 3.046-.395.742-.461 9.305-6.191 9.92-6.693.614-.502 1.104.141.602.644-.502.502-6.38 6.207-7.155 6.997-.941.959-.273 1.953.358 2.351.721.454 5.906 3.932 6.687 4.49.781.558 1.573.811 2.298.811.725 0 1.107-.955 1.468-2.064z",fill:"currentColor"})]})}function Kg(){return w.jsxs("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[w.jsx("title",{children:"Warpcast"}),w.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.92028 31.9901H24.0698C28.4371 31.9901 31.9901 28.4373 31.9901 24.0699V7.92053C31.9901 3.55319 28.4371 0.000137329 24.0698 0.000137329H7.92028C3.55304 0.000137329 0 3.55319 0 7.92053V24.0699C0 28.4373 3.55304 31.9901 7.92028 31.9901ZM19.4134 16.048L20.9908 10.124H25.1383L21.2924 23.2218H17.7062L15.9951 17.1397L14.284 23.2218H10.7055L6.85115 10.124H10.999L12.5915 16.0916L14.1891 10.124H17.8309L19.4134 16.048Z",fill:"currentColor"})]})}function Yg(){return w.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 1200 1227",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[w.jsx("title",{children:"X"}),w.jsx("path",{d:"M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z",fill:"currentColor"})]})}xu.Curtain=N6;function xu(){var r,o,i,a;const e=Je(),{showLogo:t,showSidebar:n}=Rr();return w.jsxs("div",{className:I(M7,t&&!n&&j7),children:[w.jsx(P7,{}),t&&w.jsx("div",{className:L7,children:w.jsx("div",{className:I7,children:w.jsx(Gn,{to:"/",style:{alignItems:"center",display:"flex",height:"56px",marginTop:"4px"},children:w.jsx(Kf,{})})})}),w.jsx("div",{className:wp}),w.jsxs("div",{className:wp,children:[(((r=e.topNav)==null?void 0:r.length)||0)>0&&w.jsxs(w.Fragment,{children:[w.jsx("div",{className:Js,children:w.jsx(P6,{})}),w.jsx("div",{className:I(yp,Sa)})]}),e.socials&&((o=e.socials)==null?void 0:o.length)>0&&w.jsxs(w.Fragment,{children:[w.jsx("div",{className:I(Js,Sa),style:{marginLeft:"-8px",marginRight:"-8px"},children:e.socials.map((l,s)=>w.jsx("div",{className:yl,children:w.jsx(M6,{...l})},s))}),!((i=e.theme)!=null&&i.colorScheme)&&w.jsx("div",{className:I(yp,Sa)})]}),!((a=e.theme)!=null&&a.colorScheme)&&w.jsx("div",{className:I(Js,Sa),style:{marginLeft:"-8px",marginRight:"-8px"},children:w.jsx("div",{className:yl,children:w.jsx(O6,{})})})]})]})}function N6(){return w.jsx("div",{className:O7})}function P6(){const{topNav:e}=Je();if(!e)return null;const{pathname:t}=Re(),n=Hi({pathname:t,items:e});return w.jsx(Dg,{delayDuration:0,children:w.jsx(Fg,{children:e.map((r,o)=>r.link?w.jsx(Yl,{active:n.includes(r.id),className:yl,href:r.link,children:r.text},o):r.items?w.jsxs(zg,{className:yl,children:[w.jsx(Bg,{active:n.includes(r.id),children:r.text}),w.jsx(Ug,{className:A7,children:w.jsx(A6,{items:r.items})})]},o):null)})})}function A6({items:e}){const{pathname:t}=Re(),n=Hi({pathname:t,items:e});return w.jsx("ul",{children:e==null?void 0:e.map((r,o)=>w.jsx(Yl,{active:n.includes(r.id),href:r.link,children:r.text},o))})}function O6(){const{toggle:e}=y5();return w.jsxs("button",{className:Pg,onClick:e,type:"button",children:[w.jsx(st,{className:I(vu,w5),size:"20px",label:"Light",icon:R6}),w.jsx(st,{className:I(vu,x5),size:"20px",label:"Dark",icon:k6,style:{marginTop:"-2px"}})]})}const I6={discord:Hg,github:Vg,telegram:Wg,warpcast:Kg,x:Yg},L6={discord:"23px",github:"20px",telegram:"21px",warpcast:"20px",x:"18px"};function M6({icon:e,label:t,link:n}){return w.jsx("a",{className:Pg,href:n,target:"_blank",rel:"noopener noreferrer",children:w.jsx(st,{className:vu,label:t,icon:I6[e],size:L6[e]||"20px"})})}const j6=({children:e})=>e,D6=({children:e})=>e;function F6(){const e=kr(),t=Je();return h.useMemo(()=>{const{pattern:n="",text:r="Edit page"}=t.editLink??{};let o="";return typeof n=="function"?o="":e.filePath&&(o=n.replace(/:path/g,e.filePath)),{url:o,text:r}},[t.editLink,e.filePath])}function Gg(){const[e,t]=h.useState(!1);return h.useEffect(()=>{t(!0)},[]),e}var z6="vocs_Footer_container",B6="vocs_Footer_editLink",U6="vocs_Footer_lastUpdated",H6="vocs_Footer_navigation",_p="vocs_Footer_navigationIcon",V6="vocs_Footer_navigationIcon_left",W6="vocs_Footer_navigationIcon_right",Sp="vocs_Footer_navigationItem",K6="vocs_Footer_navigationItem_left",Y6="vocs_Footer_navigationItem_right",bp="vocs_Footer_navigationText",$p="vocs_Footer_navigationTextInner",G6="vocs_Footer";function Q6(){return w.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 72 60",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[w.jsx("title",{children:"Arrow Left"}),w.jsx("path",{d:"M0.325684 29.7461C0.325684 30.8203 0.813963 31.8457 1.69286 32.6758L26.8882 57.8223C27.7671 58.6524 28.7437 59.043 29.7691 59.043C31.9175 59.043 33.5777 57.4317 33.5777 55.2344C33.5777 54.209 33.2359 53.1836 32.5035 52.5L25.7652 45.5176L9.26126 30.6738L8.38236 32.7734L21.3706 33.7012H67.4644C69.7593 33.7012 71.3706 32.041 71.3706 29.7461C71.3706 27.4512 69.7593 25.791 67.4644 25.791H21.3706L8.38236 26.7188L9.26126 28.8672L25.7652 13.9746L32.5035 6.99221C33.2359 6.30861 33.5777 5.28322 33.5777 4.25782C33.5777 2.06052 31.9175 0.449219 29.7691 0.449219C28.7437 0.449219 27.7671 0.839814 26.8882 1.66991L1.69286 26.8164C0.813963 27.6465 0.325684 28.6719 0.325684 29.7461Z",fill:"currentColor"})]})}function Z6(){return w.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 72 60",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[w.jsx("title",{children:"Arrow Right"}),w.jsx("path",{d:"M71.3706 29.7461C71.3706 28.6719 70.8824 27.6465 70.0035 26.8164L44.8081 1.66991C43.9292 0.839814 42.9527 0.449219 41.9273 0.449219C39.7789 0.449219 38.1187 2.06052 38.1187 4.25782C38.1187 5.28322 38.4605 6.30861 39.1929 6.99221L45.9312 13.9746L62.4351 28.8672L63.314 26.7188L50.3257 25.791H4.23196C1.93706 25.791 0.325684 27.4512 0.325684 29.7461C0.325684 32.041 1.93706 33.7012 4.23196 33.7012H50.3257L63.314 32.7734L62.4351 30.6738L45.9312 45.5176L39.1929 52.5C38.4605 53.1836 38.1187 54.209 38.1187 55.2344C38.1187 57.4317 39.7789 59.043 41.9273 59.043C42.9527 59.043 43.9292 58.6524 44.8081 57.8223L70.0035 32.6758C70.8824 31.8457 71.3706 30.8203 71.3706 29.7461Z",fill:"currentColor"})]})}function X6(){const{layout:e}=Rr(),t=Gg(),n=kr(),r=h.useMemo(()=>n.lastUpdatedAt?new Date(n.lastUpdatedAt):void 0,[n.lastUpdatedAt]),o=h.useMemo(()=>r==null?void 0:r.toISOString(),[r]);return w.jsxs("footer",{className:G6,children:[e==="docs"&&w.jsxs(w.Fragment,{children:[w.jsxs("div",{className:z6,children:[w.jsx(J6,{}),t&&n.lastUpdatedAt&&w.jsxs("div",{className:U6,children:["Last updated:"," ",w.jsx("time",{dateTime:o,children:new Intl.DateTimeFormat(void 0,{dateStyle:"short",timeStyle:"short"}).format(r)})]})]}),w.jsx(q6,{})]}),w.jsx(D6,{})]})}function J6(){const e=F6();return e.url?w.jsx("div",{children:w.jsxs(nn,{className:B6,href:e.url,children:[w.jsx(v5,{})," ",e.text]})}):null}function q6(){const e=Gg(),t=Hl(),{pathname:n}=Re(),r=h.useMemo(()=>Qg(t.items||[]).filter(s=>s.link),[t]),o=h.useMemo(()=>r.findIndex(s=>s.link===n),[r,n]),[i,a]=h.useMemo(()=>o<0?[]:o===0?[null,r[o+1]]:o===r.length-1?[r[o-1],null]:[r[o-1],r[o+1]],[o,r]),l=Df();return h.useEffect(()=>{let s=o,u=!1;const f=d=>{if(d.code==="ShiftLeft"&&(u=!0),u){const p=r[s+1],y=r[s-1];d.code==="ArrowRight"&&(p!=null&&p.link)&&(l(p.link),s++),d.code==="ArrowLeft"&&(y!=null&&y.link)&&(l(y.link),s--)}},c=d=>{d.code==="ShiftLeft"&&(u=!1)};return window.addEventListener("keydown",f),window.addEventListener("keyup",c),()=>{window.removeEventListener("keydown",f),window.removeEventListener("keyup",c)}},[]),e?w.jsxs("div",{className:H6,children:[i?w.jsxs(nn,{className:I(Sp,K6),href:i.link,variant:"styleless",children:[w.jsxs("div",{className:bp,children:[w.jsx("div",{className:I(_p,V6),style:Gt({[mu]:"0.75em"}),children:w.jsx(st,{label:"Previous",icon:Q6})}),w.jsx("div",{className:$p,children:i.text})]}),w.jsx(eo,{description:"Previous",keys:["shift","←"]})]}):w.jsx("div",{}),a?w.jsxs(nn,{className:I(Sp,Y6),href:a.link,variant:"styleless",children:[w.jsxs("div",{className:bp,children:[w.jsx("div",{className:$p,style:{textAlign:"right"},children:a.text}),w.jsx("div",{className:I(_p,W6),style:Gt({[mu]:"0.75em"}),children:w.jsx(st,{label:"Next",icon:Z6})})]}),w.jsx(eo,{description:"Next",keys:["shift","→"]})]}):w.jsx("div",{})]}):null}function Qg(e){const t=[];for(const n of e){if(n.items){t.push(...Qg(n.items));continue}t.push(n)}return t}const Zg="Collapsible",[e8,Xg]=En(Zg),[t8,Zf]=e8(Zg),n8=h.forwardRef((e,t)=>{const{__scopeCollapsible:n,open:r,defaultOpen:o,disabled:i,onOpenChange:a,...l}=e,[s=!1,u]=rr({prop:r,defaultProp:o,onChange:a});return h.createElement(t8,{scope:n,disabled:i,contentId:rn(),open:s,onOpenToggle:h.useCallback(()=>u(f=>!f),[u])},h.createElement(fe.div,Y({"data-state":Xf(s),"data-disabled":i?"":void 0},l,{ref:t})))}),r8="CollapsibleTrigger",o8=h.forwardRef((e,t)=>{const{__scopeCollapsible:n,...r}=e,o=Zf(r8,n);return h.createElement(fe.button,Y({type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":Xf(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled},r,{ref:t,onClick:ae(e.onClick,o.onOpenToggle)}))}),Jg="CollapsibleContent",i8=h.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=Zf(Jg,e.__scopeCollapsible);return h.createElement(_n,{present:n||o.open},({present:i})=>h.createElement(a8,Y({},r,{ref:t,present:i})))}),a8=h.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:r,children:o,...i}=e,a=Zf(Jg,n),[l,s]=h.useState(r),u=h.useRef(null),f=ze(t,u),c=h.useRef(0),d=c.current,p=h.useRef(0),y=p.current,g=a.open||l,C=h.useRef(g),v=h.useRef();return h.useEffect(()=>{const m=requestAnimationFrame(()=>C.current=!1);return()=>cancelAnimationFrame(m)},[]),gn(()=>{const m=u.current;if(m){v.current=v.current||{transitionDuration:m.style.transitionDuration,animationName:m.style.animationName},m.style.transitionDuration="0s",m.style.animationName="none";const x=m.getBoundingClientRect();c.current=x.height,p.current=x.width,C.current||(m.style.transitionDuration=v.current.transitionDuration,m.style.animationName=v.current.animationName),s(r)}},[a.open,r]),h.createElement(fe.div,Y({"data-state":Xf(a.open),"data-disabled":a.disabled?"":void 0,id:a.contentId,hidden:!g},i,{ref:f,style:{"--radix-collapsible-content-height":d?`${d}px`:void 0,"--radix-collapsible-content-width":y?`${y}px`:void 0,...e.style}}),g&&o)});function Xf(e){return e?"open":"closed"}const l8=n8,s8=o8,c8=i8,Pr="Accordion",u8=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[Jf,f8,d8]=Kl(Pr),[Gl,r$]=En(Pr,[d8,Xg]),qf=Xg(),qg=Z.forwardRef((e,t)=>{const{type:n,...r}=e,o=r,i=r;return Z.createElement(Jf.Provider,{scope:e.__scopeAccordion},n==="multiple"?Z.createElement(m8,Y({},i,{ref:t})):Z.createElement(v8,Y({},o,{ref:t})))});qg.propTypes={type(e){const t=e.value||e.defaultValue;return e.type&&!["single","multiple"].includes(e.type)?new Error("Invalid prop `type` supplied to `Accordion`. Expected one of `single | multiple`."):e.type==="multiple"&&typeof t=="string"?new Error("Invalid prop `type` supplied to `Accordion`. Expected `single` when `defaultValue` or `value` is type `string`."):e.type==="single"&&Array.isArray(t)?new Error("Invalid prop `type` supplied to `Accordion`. Expected `multiple` when `defaultValue` or `value` is type `string[]`."):null}};const[e1,h8]=Gl(Pr),[t1,p8]=Gl(Pr,{collapsible:!1}),v8=Z.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},collapsible:i=!1,...a}=e,[l,s]=rr({prop:n,defaultProp:r,onChange:o});return Z.createElement(e1,{scope:e.__scopeAccordion,value:l?[l]:[],onItemOpen:s,onItemClose:Z.useCallback(()=>i&&s(""),[i,s])},Z.createElement(t1,{scope:e.__scopeAccordion,collapsible:i},Z.createElement(n1,Y({},a,{ref:t}))))}),m8=Z.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},...i}=e,[a=[],l]=rr({prop:n,defaultProp:r,onChange:o}),s=Z.useCallback(f=>l((c=[])=>[...c,f]),[l]),u=Z.useCallback(f=>l((c=[])=>c.filter(d=>d!==f)),[l]);return Z.createElement(e1,{scope:e.__scopeAccordion,value:a,onItemOpen:s,onItemClose:u},Z.createElement(t1,{scope:e.__scopeAccordion,collapsible:!0},Z.createElement(n1,Y({},i,{ref:t}))))}),[g8,ed]=Gl(Pr),n1=Z.forwardRef((e,t)=>{const{__scopeAccordion:n,disabled:r,dir:o,orientation:i="vertical",...a}=e,l=Z.useRef(null),s=ze(l,t),u=f8(n),c=Wl(o)==="ltr",d=ae(e.onKeyDown,p=>{var y;if(!u8.includes(p.key))return;const g=p.target,C=u().filter(T=>{var P;return!((P=T.ref.current)!==null&&P!==void 0&&P.disabled)}),v=C.findIndex(T=>T.ref.current===g),m=C.length;if(v===-1)return;p.preventDefault();let x=v;const E=0,S=m-1,_=()=>{x=v+1,x>S&&(x=E)},b=()=>{x=v-1,x{const{__scopeAccordion:n,value:r,...o}=e,i=ed(Cu,n),a=h8(Cu,n),l=qf(n),s=rn(),u=r&&a.value.includes(r)||!1,f=i.disabled||e.disabled;return Z.createElement(y8,{scope:n,open:u,disabled:f,triggerId:s},Z.createElement(l8,Y({"data-orientation":i.orientation,"data-state":_8(u)},l,o,{ref:t,disabled:f,open:u,onOpenChange:c=>{c?a.onItemOpen(r):a.onItemClose(r)}})))}),Tp="AccordionTrigger",x8=Z.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=ed(Pr,n),i=r1(Tp,n),a=p8(Tp,n),l=qf(n);return Z.createElement(Jf.ItemSlot,{scope:n},Z.createElement(s8,Y({"aria-disabled":i.open&&!a.collapsible||void 0,"data-orientation":o.orientation,id:i.triggerId},l,r,{ref:t})))}),C8="AccordionContent",E8=Z.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=ed(Pr,n),i=r1(C8,n),a=qf(n);return Z.createElement(c8,Y({role:"region","aria-labelledby":i.triggerId,"data-orientation":o.orientation},a,r,{ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}}))});function _8(e){return e?"open":"closed"}const S8=qg,b8=w8,$8=x8,T8=E8;var k8="vocs_MobileSearch_searchButton";function R8(){const[e,t]=h.useState(!1);return w.jsxs(wg,{open:e,onOpenChange:t,children:[w.jsx(xg,{asChild:!0,children:w.jsx("button",{className:k8,type:"button","aria-label":"Search",children:w.jsx(Bf,{height:21,width:21})})}),w.jsx(Ng,{open:e,onClose:()=>t(!1)})]})}var N8="vocs_MobileTopNav_button",P8="var(--vocs_MobileTopNav_chevronDownIcon)",A8="var(--vocs_MobileTopNav_chevronUpIcon)",O8="vocs_MobileTopNav_content",I8="vocs_MobileTopNav_curtain",kp="vocs_MobileTopNav_curtainGroup",ec="vocs_MobileTopNav_curtainItem",L8="vocs_MobileTopNav_divider",ba="vocs_MobileTopNav_group",M8="vocs_MobileTopNav_icon",j8="vocs_MobileTopNav_item",D8="vocs_MobileTopNav_logo",F8="vocs_MobileTopNav_menuTitle",o1="vocs_MobileTopNav_menuTrigger",i1="vocs_MobileTopNav_navigation",z8="vocs_MobileTopNav_navigationContent",Qo="vocs_MobileTopNav_navigationItem",B8="vocs_MobileTopNav_trigger",U8="vocs_MobileTopNav_navigation_compact",H8="vocs_MobileTopNav_outlinePopover",Rp="vocs_MobileTopNav_outlineTrigger",V8="vocs_MobileTopNav",Np="vocs_MobileTopNav_section",W8="vocs_MobileTopNav_separator",K8="vocs_MobileTopNav_sidebarPopover",Y8="vocs_MobileTopNav_topNavPopover";function G8(e,t){let n=!1;return()=>{n=!0,setTimeout(()=>{n&&e(),n=!1},t)}}var Q8="vocs_Outline_heading",Z8="vocs_Outline_item",X8="vocs_Outline_items",J8="vocs_Outline_link",q8="vocs_Outline_nav",eC="vocs_Outline";function a1({minLevel:e=2,maxLevel:t=3,highlightActive:n=!0,onClickItem:r,showTitle:o=!0}={}){const{outlineFooter:i}=Je(),{showOutline:a}=Rr(),l=typeof a=="number"?e+a-1:t,s=h.useRef(!0),{pathname:u,hash:f}=Re(),[c,d]=h.useState([]);h.useEffect(()=>{if(typeof window>"u")return;const v=Array.from(document.querySelectorAll(`.${H0}`));d(v)},[u]);const p=h.useMemo(()=>c?c.map(v=>{const m=v.querySelector(`.${V0}`);if(!m)return null;const x=m.getBoundingClientRect(),E=m.id,S=Number(v.tagName[1]),_=v.textContent,b=window.scrollY+x.top;return Sl?null:{id:E,level:S,slugTargetElement:m,text:_,topOffset:b}}).filter(Boolean):[],[c,l,e]),[y,g]=h.useState(f.replace("#",""));if(h.useEffect(()=>{if(typeof window>"u")return;const v=new IntersectionObserver(([m])=>{var E;if(!s.current)return;const x=m.target.id;if(m.isIntersecting)g(x);else{if(!(m.target.getBoundingClientRect().top>0))return;const b=p.findIndex(T=>T.id===y),$=(E=p[b-1])==null?void 0:E.id;g($)}},{rootMargin:"0px 0px -95% 0px"});for(const m of p)v.observe(m.slugTargetElement);return()=>v.disconnect()},[y,p]),h.useEffect(()=>{if(typeof window>"u")return;const v=new IntersectionObserver(([m])=>{var E;if(!s.current)return;const x=(E=p[p.length-1])==null?void 0:E.id;m.isIntersecting?g(x):y===x&&g(p[p.length-2].id)});return v.observe(document.querySelector("[data-bottom-observer]")),()=>v.disconnect()},[y,p]),h.useEffect(()=>{if(typeof window>"u")return;const v=G8(()=>{var m,x,E;if(s.current){if(window.scrollY===0){g((m=p[0])==null?void 0:m.id);return}if(window.scrollY+document.documentElement.clientHeight>=document.documentElement.scrollHeight){g((x=p[p.length-1])==null?void 0:x.id);return}for(let S=0;Swindow.removeEventListener("scroll",v)},[p]),p.length===0)return null;const C=p.filter(v=>v.level===e);return w.jsxs("aside",{className:eC,children:[w.jsxs("nav",{className:q8,children:[o&&w.jsx("h2",{className:Q8,children:"On this page"}),w.jsx(l1,{activeId:n?y:null,items:p,onClickItem:()=>{r==null||r(),s.current=!1,setTimeout(()=>{s.current=!0},500)},levelItems:C,setActiveId:g})]}),ml(i)]})}function l1({activeId:e,items:t,levelItems:n,onClickItem:r,setActiveId:o}){const{pathname:i}=Re();return w.jsx("ul",{className:X8,children:n.map(({id:a,level:l,text:s})=>{const u=`#${a}`,f=e===a,c=(()=>{var C;const p=t.findIndex(v=>v.id===a)+1,y=(C=t[p])==null?void 0:C.level;if(y<=l)return null;const g=[];for(let v=p;v{r==null||r(),o(a)},className:J8,children:s})}),c&&w.jsx(l1,{activeId:e,levelItems:c,items:t,onClickItem:r,setActiveId:o})]},a)})})}const tC=["top","right","bottom","left"],Qn=Math.min,Et=Math.max,xl=Math.round,$a=Math.floor,Zn=e=>({x:e,y:e}),nC={left:"right",right:"left",bottom:"top",top:"bottom"},rC={start:"end",end:"start"};function Eu(e,t,n){return Et(e,Qn(t,n))}function yn(e,t){return typeof e=="function"?e(t):e}function wn(e){return e.split("-")[0]}function No(e){return e.split("-")[1]}function td(e){return e==="x"?"y":"x"}function nd(e){return e==="y"?"height":"width"}function Po(e){return["top","bottom"].includes(wn(e))?"y":"x"}function rd(e){return td(Po(e))}function oC(e,t,n){n===void 0&&(n=!1);const r=No(e),o=rd(e),i=nd(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=Cl(a)),[a,Cl(a)]}function iC(e){const t=Cl(e);return[_u(e),t,_u(t)]}function _u(e){return e.replace(/start|end/g,t=>rC[t])}function aC(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:a;default:return[]}}function lC(e,t,n,r){const o=No(e);let i=aC(wn(e),n==="start",r);return o&&(i=i.map(a=>a+"-"+o),t&&(i=i.concat(i.map(_u)))),i}function Cl(e){return e.replace(/left|right|bottom|top/g,t=>nC[t])}function sC(e){return{top:0,right:0,bottom:0,left:0,...e}}function s1(e){return typeof e!="number"?sC(e):{top:e,right:e,bottom:e,left:e}}function El(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Pp(e,t,n){let{reference:r,floating:o}=e;const i=Po(t),a=rd(t),l=nd(a),s=wn(t),u=i==="y",f=r.x+r.width/2-o.width/2,c=r.y+r.height/2-o.height/2,d=r[l]/2-o[l]/2;let p;switch(s){case"top":p={x:f,y:r.y-o.height};break;case"bottom":p={x:f,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:c};break;case"left":p={x:r.x-o.width,y:c};break;default:p={x:r.x,y:r.y}}switch(No(t)){case"start":p[a]-=d*(n&&u?-1:1);break;case"end":p[a]+=d*(n&&u?-1:1);break}return p}const cC=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,l=i.filter(Boolean),s=await(a.isRTL==null?void 0:a.isRTL(t));let u=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:f,y:c}=Pp(u,r,s),d=r,p={},y=0;for(let g=0;g({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:a,elements:l,middlewareData:s}=t,{element:u,padding:f=0}=yn(e,t)||{};if(u==null)return{};const c=s1(f),d={x:n,y:r},p=rd(o),y=nd(p),g=await a.getDimensions(u),C=p==="y",v=C?"top":"left",m=C?"bottom":"right",x=C?"clientHeight":"clientWidth",E=i.reference[y]+i.reference[p]-d[p]-i.floating[y],S=d[p]-i.reference[p],_=await(a.getOffsetParent==null?void 0:a.getOffsetParent(u));let b=_?_[x]:0;(!b||!await(a.isElement==null?void 0:a.isElement(_)))&&(b=l.floating[x]||i.floating[y]);const $=E/2-S/2,T=b/2-g[y]/2-1,P=Qn(c[v],T),j=Qn(c[m],T),L=P,D=b-g[y]-j,N=b/2-g[y]/2+$,z=Eu(L,N,D),V=!s.arrow&&No(o)!=null&&N!==z&&i.reference[y]/2-(NL<=0)){var T,P;const L=(((T=i.flip)==null?void 0:T.index)||0)+1,D=S[L];if(D)return{data:{index:L,overflows:$},reset:{placement:D}};let N=(P=$.filter(z=>z.overflows[0]<=0).sort((z,V)=>z.overflows[1]-V.overflows[1])[0])==null?void 0:P.placement;if(!N)switch(p){case"bestFit":{var j;const z=(j=$.map(V=>[V.placement,V.overflows.filter(U=>U>0).reduce((U,O)=>U+O,0)]).sort((V,U)=>V[1]-U[1])[0])==null?void 0:j[0];z&&(N=z);break}case"initialPlacement":N=l;break}if(o!==N)return{reset:{placement:N}}}return{}}}};function Ap(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Op(e){return tC.some(t=>e[t]>=0)}const dC=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=yn(e,t);switch(r){case"referenceHidden":{const i=await Oi(t,{...o,elementContext:"reference"}),a=Ap(i,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:Op(a)}}}case"escaped":{const i=await Oi(t,{...o,altBoundary:!0}),a=Ap(i,n.floating);return{data:{escapedOffsets:a,escaped:Op(a)}}}default:return{}}}}};async function hC(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=wn(n),l=No(n),s=Po(n)==="y",u=["left","top"].includes(a)?-1:1,f=i&&s?-1:1,c=yn(t,e);let{mainAxis:d,crossAxis:p,alignmentAxis:y}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...c};return l&&typeof y=="number"&&(p=l==="end"?y*-1:y),s?{x:p*f,y:d*u}:{x:d*u,y:p*f}}const c1=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:a,middlewareData:l}=t,s=await hC(t,e);return a===((n=l.offset)==null?void 0:n.placement)&&(r=l.arrow)!=null&&r.alignmentOffset?{}:{x:o+s.x,y:i+s.y,data:{...s,placement:a}}}}},pC=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:l={fn:C=>{let{x:v,y:m}=C;return{x:v,y:m}}},...s}=yn(e,t),u={x:n,y:r},f=await Oi(t,s),c=Po(wn(o)),d=td(c);let p=u[d],y=u[c];if(i){const C=d==="y"?"top":"left",v=d==="y"?"bottom":"right",m=p+f[C],x=p-f[v];p=Eu(m,p,x)}if(a){const C=c==="y"?"top":"left",v=c==="y"?"bottom":"right",m=y+f[C],x=y-f[v];y=Eu(m,y,x)}const g=l.fn({...t,[d]:p,[c]:y});return{...g,data:{x:g.x-n,y:g.y-r}}}}},vC=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:a}=t,{offset:l=0,mainAxis:s=!0,crossAxis:u=!0}=yn(e,t),f={x:n,y:r},c=Po(o),d=td(c);let p=f[d],y=f[c];const g=yn(l,t),C=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(s){const x=d==="y"?"height":"width",E=i.reference[d]-i.floating[x]+C.mainAxis,S=i.reference[d]+i.reference[x]-C.mainAxis;pS&&(p=S)}if(u){var v,m;const x=d==="y"?"width":"height",E=["top","left"].includes(wn(o)),S=i.reference[c]-i.floating[x]+(E&&((v=a.offset)==null?void 0:v[c])||0)+(E?0:C.crossAxis),_=i.reference[c]+i.reference[x]+(E?0:((m=a.offset)==null?void 0:m[c])||0)-(E?C.crossAxis:0);y_&&(y=_)}return{[d]:p,[c]:y}}}},mC=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:i}=t,{apply:a=()=>{},...l}=yn(e,t),s=await Oi(t,l),u=wn(n),f=No(n),c=Po(n)==="y",{width:d,height:p}=r.floating;let y,g;u==="top"||u==="bottom"?(y=u,g=f===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(g=u,y=f==="end"?"top":"bottom");const C=p-s[y],v=d-s[g],m=!t.middlewareData.shift;let x=C,E=v;if(c){const _=d-s.left-s.right;E=f||m?Qn(v,_):_}else{const _=p-s.top-s.bottom;x=f||m?Qn(C,_):_}if(m&&!f){const _=Et(s.left,0),b=Et(s.right,0),$=Et(s.top,0),T=Et(s.bottom,0);c?E=d-2*(_!==0||b!==0?_+b:Et(s.left,s.right)):x=p-2*($!==0||T!==0?$+T:Et(s.top,s.bottom))}await a({...t,availableWidth:E,availableHeight:x});const S=await o.getDimensions(i.floating);return d!==S.width||p!==S.height?{reset:{rects:!0}}:{}}}};function Xn(e){return u1(e)?(e.nodeName||"").toLowerCase():"#document"}function bt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function bn(e){var t;return(t=(u1(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function u1(e){return e instanceof Node||e instanceof bt(e).Node}function nt(e){return e instanceof Element||e instanceof bt(e).Element}function on(e){return e instanceof HTMLElement||e instanceof bt(e).HTMLElement}function Su(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof bt(e).ShadowRoot}function Wi(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Mt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function gC(e){return["table","td","th"].includes(Xn(e))}function od(e){const t=id(),n=Mt(e);return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function yC(e){let t=Eo(e);for(;on(t)&&!Ql(t);){if(od(t))return t;t=Eo(t)}return null}function id(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Ql(e){return["html","body","#document"].includes(Xn(e))}function Mt(e){return bt(e).getComputedStyle(e)}function Zl(e){return nt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Eo(e){if(Xn(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Su(e)&&e.host||bn(e);return Su(t)?t.host:t}function f1(e){const t=Eo(e);return Ql(t)?e.ownerDocument?e.ownerDocument.body:e.body:on(t)&&Wi(t)?t:f1(t)}function Ii(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=f1(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),a=bt(o);return i?t.concat(a,a.visualViewport||[],Wi(o)?o:[],a.frameElement&&n?Ii(a.frameElement):[]):t.concat(o,Ii(o,[],n))}function d1(e){const t=Mt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=on(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,l=xl(n)!==i||xl(r)!==a;return l&&(n=i,r=a),{width:n,height:r,$:l}}function ad(e){return nt(e)?e:e.contextElement}function so(e){const t=ad(e);if(!on(t))return Zn(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=d1(t);let a=(i?xl(n.width):n.width)/r,l=(i?xl(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!l||!Number.isFinite(l))&&(l=1),{x:a,y:l}}const wC=Zn(0);function h1(e){const t=bt(e);return!id()||!t.visualViewport?wC:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function xC(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==bt(e)?!1:t}function Er(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=ad(e);let a=Zn(1);t&&(r?nt(r)&&(a=so(r)):a=so(e));const l=xC(i,n,r)?h1(i):Zn(0);let s=(o.left+l.x)/a.x,u=(o.top+l.y)/a.y,f=o.width/a.x,c=o.height/a.y;if(i){const d=bt(i),p=r&&nt(r)?bt(r):r;let y=d,g=y.frameElement;for(;g&&r&&p!==y;){const C=so(g),v=g.getBoundingClientRect(),m=Mt(g),x=v.left+(g.clientLeft+parseFloat(m.paddingLeft))*C.x,E=v.top+(g.clientTop+parseFloat(m.paddingTop))*C.y;s*=C.x,u*=C.y,f*=C.x,c*=C.y,s+=x,u+=E,y=bt(g),g=y.frameElement}}return El({width:f,height:c,x:s,y:u})}const CC=[":popover-open",":modal"];function p1(e){return CC.some(t=>{try{return e.matches(t)}catch{return!1}})}function EC(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",a=bn(r),l=t?p1(t.floating):!1;if(r===a||l&&i)return n;let s={scrollLeft:0,scrollTop:0},u=Zn(1);const f=Zn(0),c=on(r);if((c||!c&&!i)&&((Xn(r)!=="body"||Wi(a))&&(s=Zl(r)),on(r))){const d=Er(r);u=so(r),f.x=d.x+r.clientLeft,f.y=d.y+r.clientTop}return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-s.scrollLeft*u.x+f.x,y:n.y*u.y-s.scrollTop*u.y+f.y}}function _C(e){return Array.from(e.getClientRects())}function v1(e){return Er(bn(e)).left+Zl(e).scrollLeft}function SC(e){const t=bn(e),n=Zl(e),r=e.ownerDocument.body,o=Et(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=Et(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+v1(e);const l=-n.scrollTop;return Mt(r).direction==="rtl"&&(a+=Et(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:l}}function bC(e,t){const n=bt(e),r=bn(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,l=0,s=0;if(o){i=o.width,a=o.height;const u=id();(!u||u&&t==="fixed")&&(l=o.offsetLeft,s=o.offsetTop)}return{width:i,height:a,x:l,y:s}}function $C(e,t){const n=Er(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=on(e)?so(e):Zn(1),a=e.clientWidth*i.x,l=e.clientHeight*i.y,s=o*i.x,u=r*i.y;return{width:a,height:l,x:s,y:u}}function Ip(e,t,n){let r;if(t==="viewport")r=bC(e,n);else if(t==="document")r=SC(bn(e));else if(nt(t))r=$C(t,n);else{const o=h1(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return El(r)}function m1(e,t){const n=Eo(e);return n===t||!nt(n)||Ql(n)?!1:Mt(n).position==="fixed"||m1(n,t)}function TC(e,t){const n=t.get(e);if(n)return n;let r=Ii(e,[],!1).filter(l=>nt(l)&&Xn(l)!=="body"),o=null;const i=Mt(e).position==="fixed";let a=i?Eo(e):e;for(;nt(a)&&!Ql(a);){const l=Mt(a),s=od(a);!s&&l.position==="fixed"&&(o=null),(i?!s&&!o:!s&&l.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||Wi(a)&&!s&&m1(e,a))?r=r.filter(f=>f!==a):o=l,a=Eo(a)}return t.set(e,r),r}function kC(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a=[...n==="clippingAncestors"?TC(t,this._c):[].concat(n),r],l=a[0],s=a.reduce((u,f)=>{const c=Ip(t,f,o);return u.top=Et(c.top,u.top),u.right=Qn(c.right,u.right),u.bottom=Qn(c.bottom,u.bottom),u.left=Et(c.left,u.left),u},Ip(t,l,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function RC(e){const{width:t,height:n}=d1(e);return{width:t,height:n}}function NC(e,t,n){const r=on(t),o=bn(t),i=n==="fixed",a=Er(e,!0,i,t);let l={scrollLeft:0,scrollTop:0};const s=Zn(0);if(r||!r&&!i)if((Xn(t)!=="body"||Wi(o))&&(l=Zl(t)),r){const c=Er(t,!0,i,t);s.x=c.x+t.clientLeft,s.y=c.y+t.clientTop}else o&&(s.x=v1(o));const u=a.left+l.scrollLeft-s.x,f=a.top+l.scrollTop-s.y;return{x:u,y:f,width:a.width,height:a.height}}function Lp(e,t){return!on(e)||Mt(e).position==="fixed"?null:t?t(e):e.offsetParent}function g1(e,t){const n=bt(e);if(!on(e)||p1(e))return n;let r=Lp(e,t);for(;r&&gC(r)&&Mt(r).position==="static";)r=Lp(r,t);return r&&(Xn(r)==="html"||Xn(r)==="body"&&Mt(r).position==="static"&&!od(r))?n:r||yC(e)||n}const PC=async function(e){const t=this.getOffsetParent||g1,n=this.getDimensions;return{reference:NC(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,...await n(e.floating)}}};function AC(e){return Mt(e).direction==="rtl"}const y1={convertOffsetParentRelativeRectToViewportRelativeRect:EC,getDocumentElement:bn,getClippingRect:kC,getOffsetParent:g1,getElementRects:PC,getClientRects:_C,getDimensions:RC,getScale:so,isElement:nt,isRTL:AC};function OC(e,t){let n=null,r;const o=bn(e);function i(){var l;clearTimeout(r),(l=n)==null||l.disconnect(),n=null}function a(l,s){l===void 0&&(l=!1),s===void 0&&(s=1),i();const{left:u,top:f,width:c,height:d}=e.getBoundingClientRect();if(l||t(),!c||!d)return;const p=$a(f),y=$a(o.clientWidth-(u+c)),g=$a(o.clientHeight-(f+d)),C=$a(u),m={rootMargin:-p+"px "+-y+"px "+-g+"px "+-C+"px",threshold:Et(0,Qn(1,s))||1};let x=!0;function E(S){const _=S[0].intersectionRatio;if(_!==s){if(!x)return a();_?a(!1,_):r=setTimeout(()=>{a(!1,1e-7)},100)}x=!1}try{n=new IntersectionObserver(E,{...m,root:o.ownerDocument})}catch{n=new IntersectionObserver(E,m)}n.observe(e)}return a(!0),i}function IC(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:s=!1}=r,u=ad(e),f=o||i?[...u?Ii(u):[],...Ii(t)]:[];f.forEach(v=>{o&&v.addEventListener("scroll",n,{passive:!0}),i&&v.addEventListener("resize",n)});const c=u&&l?OC(u,n):null;let d=-1,p=null;a&&(p=new ResizeObserver(v=>{let[m]=v;m&&m.target===u&&p&&(p.unobserve(t),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var x;(x=p)==null||x.observe(t)})),n()}),u&&!s&&p.observe(u),p.observe(t));let y,g=s?Er(e):null;s&&C();function C(){const v=Er(e);g&&(v.x!==g.x||v.y!==g.y||v.width!==g.width||v.height!==g.height)&&n(),g=v,y=requestAnimationFrame(C)}return n(),()=>{var v;f.forEach(m=>{o&&m.removeEventListener("scroll",n),i&&m.removeEventListener("resize",n)}),c==null||c(),(v=p)==null||v.disconnect(),p=null,s&&cancelAnimationFrame(y)}}const w1=pC,LC=fC,MC=mC,jC=dC,Mp=uC,DC=vC,FC=(e,t,n)=>{const r=new Map,o={platform:y1,...n},i={...o.platform,_c:r};return cC(e,t,{...o,platform:i})},x1=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?Mp({element:r.current,padding:o}).fn(n):{}:r?Mp({element:r,padding:o}).fn(n):{}}}};var Ha=typeof document<"u"?h.useLayoutEffect:h.useEffect;function _l(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!_l(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!_l(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function C1(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function jp(e,t){const n=C1(e);return Math.round(t*n)/n}function Dp(e){const t=h.useRef(e);return Ha(()=>{t.current=e}),t}function E1(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:l=!0,whileElementsMounted:s,open:u}=e,[f,c]=h.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[d,p]=h.useState(r);_l(d,r)||p(r);const[y,g]=h.useState(null),[C,v]=h.useState(null),m=h.useCallback(U=>{U!==_.current&&(_.current=U,g(U))},[]),x=h.useCallback(U=>{U!==b.current&&(b.current=U,v(U))},[]),E=i||y,S=a||C,_=h.useRef(null),b=h.useRef(null),$=h.useRef(f),T=s!=null,P=Dp(s),j=Dp(o),L=h.useCallback(()=>{if(!_.current||!b.current)return;const U={placement:t,strategy:n,middleware:d};j.current&&(U.platform=j.current),FC(_.current,b.current,U).then(O=>{const F={...O,isPositioned:!0};D.current&&!_l($.current,F)&&($.current=F,To.flushSync(()=>{c(F)}))})},[d,t,n,j]);Ha(()=>{u===!1&&$.current.isPositioned&&($.current.isPositioned=!1,c(U=>({...U,isPositioned:!1})))},[u]);const D=h.useRef(!1);Ha(()=>(D.current=!0,()=>{D.current=!1}),[]),Ha(()=>{if(E&&(_.current=E),S&&(b.current=S),E&&S){if(P.current)return P.current(E,S,L);L()}},[E,S,L,P,T]);const N=h.useMemo(()=>({reference:_,floating:b,setReference:m,setFloating:x}),[m,x]),z=h.useMemo(()=>({reference:E,floating:S}),[E,S]),V=h.useMemo(()=>{const U={position:n,left:0,top:0};if(!z.floating)return U;const O=jp(z.floating,f.x),F=jp(z.floating,f.y);return l?{...U,transform:"translate("+O+"px, "+F+"px)",...C1(z.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:O,top:F}},[n,l,z.floating,f.x,f.y]);return h.useMemo(()=>({...f,update:L,refs:N,elements:z,floatingStyles:V}),[f,L,N,z,V])}function zC(e){const[t,n]=h.useState(void 0);return gn(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let a,l;if("borderBoxSize"in i){const s=i.borderBoxSize,u=Array.isArray(s)?s[0]:s;a=u.inlineSize,l=u.blockSize}else a=e.offsetWidth,l=e.offsetHeight;n({width:a,height:l})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}const _1="Popper",[S1,b1]=En(_1),[BC,$1]=S1(_1),UC=e=>{const{__scopePopper:t,children:n}=e,[r,o]=h.useState(null);return h.createElement(BC,{scope:t,anchor:r,onAnchorChange:o},n)},HC="PopperAnchor",VC=h.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=$1(HC,n),a=h.useRef(null),l=ze(t,a);return h.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:h.createElement(fe.div,Y({},o,{ref:l}))}),T1="PopperContent",[WC,o$]=S1(T1),KC=h.forwardRef((e,t)=>{var n,r,o,i,a,l,s,u;const{__scopePopper:f,side:c="bottom",sideOffset:d=0,align:p="center",alignOffset:y=0,arrowPadding:g=0,avoidCollisions:C=!0,collisionBoundary:v=[],collisionPadding:m=0,sticky:x="partial",hideWhenDetached:E=!1,updatePositionStrategy:S="optimized",onPlaced:_,...b}=e,$=$1(T1,f),[T,P]=h.useState(null),j=ze(t,wt=>P(wt)),[L,D]=h.useState(null),N=zC(L),z=(n=N==null?void 0:N.width)!==null&&n!==void 0?n:0,V=(r=N==null?void 0:N.height)!==null&&r!==void 0?r:0,U=c+(p!=="center"?"-"+p:""),O=typeof m=="number"?m:{top:0,right:0,bottom:0,left:0,...m},F=Array.isArray(v)?v:[v],K=F.length>0,J={padding:O,boundary:F.filter(YC),altBoundary:K},{refs:se,floatingStyles:Be,placement:ye,isPositioned:Ne,middlewareData:we}=E1({strategy:"fixed",placement:U,whileElementsMounted:(...wt)=>IC(...wt,{animationFrame:S==="always"}),elements:{reference:$.anchor},middleware:[c1({mainAxis:d+V,alignmentAxis:y}),C&&w1({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?DC():void 0,...J}),C&&LC({...J}),MC({...J,apply:({elements:wt,rects:Yi,availableWidth:Jl,availableHeight:ql})=>{const{width:es,height:ts}=Yi.reference,Qt=wt.floating.style;Qt.setProperty("--radix-popper-available-width",`${Jl}px`),Qt.setProperty("--radix-popper-available-height",`${ql}px`),Qt.setProperty("--radix-popper-anchor-width",`${es}px`),Qt.setProperty("--radix-popper-anchor-height",`${ts}px`)}}),L&&x1({element:L,padding:g}),GC({arrowWidth:z,arrowHeight:V}),E&&jC({strategy:"referenceHidden",...J})]}),[Ue,xe]=k1(ye),Se=at(_);gn(()=>{Ne&&(Se==null||Se())},[Ne,Se]);const jt=(o=we.arrow)===null||o===void 0?void 0:o.x,be=(i=we.arrow)===null||i===void 0?void 0:i.y,ft=((a=we.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[Ki,Xl]=h.useState();return gn(()=>{T&&Xl(window.getComputedStyle(T).zIndex)},[T]),h.createElement("div",{ref:se.setFloating,"data-radix-popper-content-wrapper":"",style:{...Be,transform:Ne?Be.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Ki,"--radix-popper-transform-origin":[(l=we.transformOrigin)===null||l===void 0?void 0:l.x,(s=we.transformOrigin)===null||s===void 0?void 0:s.y].join(" ")},dir:e.dir},h.createElement(WC,{scope:f,placedSide:Ue,onArrowChange:D,arrowX:jt,arrowY:be,shouldHideArrow:ft},h.createElement(fe.div,Y({"data-side":Ue,"data-align":xe},b,{ref:j,style:{...b.style,animation:Ne?void 0:"none",opacity:(u=we.hide)!==null&&u!==void 0&&u.referenceHidden?0:void 0}}))))});function YC(e){return e!==null}const GC=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a;const{placement:l,rects:s,middlewareData:u}=t,c=((n=u.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,d=c?0:e.arrowWidth,p=c?0:e.arrowHeight,[y,g]=k1(l),C={start:"0%",center:"50%",end:"100%"}[g],v=((r=(o=u.arrow)===null||o===void 0?void 0:o.x)!==null&&r!==void 0?r:0)+d/2,m=((i=(a=u.arrow)===null||a===void 0?void 0:a.y)!==null&&i!==void 0?i:0)+p/2;let x="",E="";return y==="bottom"?(x=c?C:`${v}px`,E=`${-p}px`):y==="top"?(x=c?C:`${v}px`,E=`${s.floating.height+p}px`):y==="right"?(x=`${-p}px`,E=c?C:`${m}px`):y==="left"&&(x=`${s.floating.width+p}px`,E=c?C:`${m}px`),{data:{x,y:E}}}});function k1(e){const[t,n="center"]=e.split("-");return[t,n]}const QC=UC,ZC=VC,XC=KC,R1="Popover",[N1,i$]=En(R1,[b1]),ld=b1(),[JC,Ao]=N1(R1),qC=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!1}=e,l=ld(t),s=h.useRef(null),[u,f]=h.useState(!1),[c=!1,d]=rr({prop:r,defaultProp:o,onChange:i});return h.createElement(QC,l,h.createElement(JC,{scope:t,contentId:rn(),triggerRef:s,open:c,onOpenChange:d,onOpenToggle:h.useCallback(()=>d(p=>!p),[d]),hasCustomAnchor:u,onCustomAnchorAdd:h.useCallback(()=>f(!0),[]),onCustomAnchorRemove:h.useCallback(()=>f(!1),[]),modal:a},n))},eE="PopoverTrigger",tE=h.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=Ao(eE,n),i=ld(n),a=ze(t,o.triggerRef),l=h.createElement(fe.button,Y({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":O1(o.open)},r,{ref:a,onClick:ae(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?l:h.createElement(ZC,Y({asChild:!0},i),l)}),P1="PopoverPortal",[nE,rE]=N1(P1,{forceMount:void 0}),oE=e=>{const{__scopePopover:t,forceMount:n,children:r,container:o}=e,i=Ao(P1,t);return h.createElement(nE,{scope:t,forceMount:n},h.createElement(_n,{present:n||i.open},h.createElement(tg,{asChild:!0,container:o},r)))},Li="PopoverContent",iE=h.forwardRef((e,t)=>{const n=rE(Li,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,i=Ao(Li,e.__scopePopover);return h.createElement(_n,{present:r||i.open},i.modal?h.createElement(aE,Y({},o,{ref:t})):h.createElement(lE,Y({},o,{ref:t})))}),aE=h.forwardRef((e,t)=>{const n=Ao(Li,e.__scopePopover),r=h.useRef(null),o=ze(t,r),i=h.useRef(!1);return h.useEffect(()=>{const a=r.current;if(a)return hg(a)},[]),h.createElement(fg,{as:Co,allowPinchZoom:!0},h.createElement(A1,Y({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:ae(e.onCloseAutoFocus,a=>{var l;a.preventDefault(),i.current||(l=n.triggerRef.current)===null||l===void 0||l.focus()}),onPointerDownOutside:ae(e.onPointerDownOutside,a=>{const l=a.detail.originalEvent,s=l.button===0&&l.ctrlKey===!0,u=l.button===2||s;i.current=u},{checkForDefaultPrevented:!1}),onFocusOutside:ae(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})))}),lE=h.forwardRef((e,t)=>{const n=Ao(Li,e.__scopePopover),r=h.useRef(!1),o=h.useRef(!1);return h.createElement(A1,Y({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var a;if((a=e.onCloseAutoFocus)===null||a===void 0||a.call(e,i),!i.defaultPrevented){var l;r.current||(l=n.triggerRef.current)===null||l===void 0||l.focus(),i.preventDefault()}r.current=!1,o.current=!1},onInteractOutside:i=>{var a,l;(a=e.onInteractOutside)===null||a===void 0||a.call(e,i),i.defaultPrevented||(r.current=!0,i.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const s=i.target;((l=n.triggerRef.current)===null||l===void 0?void 0:l.contains(s))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&o.current&&i.preventDefault()}}))}),A1=h.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:l,onPointerDownOutside:s,onFocusOutside:u,onInteractOutside:f,...c}=e,d=Ao(Li,n),p=ld(n);return ng(),h.createElement(q0,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},h.createElement(Uf,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:f,onEscapeKeyDown:l,onPointerDownOutside:s,onFocusOutside:u,onDismiss:()=>d.onOpenChange(!1)},h.createElement(XC,Y({"data-state":O1(d.open),role:"dialog",id:d.contentId},p,c,{ref:t,style:{...c.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}))))});function O1(e){return e?"open":"closed"}const sE=qC,cE=tE,uE=oE,fE=iE;var dE="vocs_Popover";Ht.Root=sE;Ht.Trigger=cE;function Ht({children:e,className:t}){return w.jsx(uE,{children:w.jsx(fE,{className:I(dE,t),sideOffset:12,children:e})})}var hE="vocs_Sidebar_backLink",pE="vocs_Sidebar_divider",vE="vocs_Sidebar_group",ni="vocs_Sidebar_item",I1="vocs_Sidebar_items",mE="vocs_Sidebar_level",gE="vocs_Sidebar_levelCollapsed",yE="vocs_Sidebar_levelInset",wE="vocs_Sidebar_logo",xE="vocs_Sidebar_logoWrapper",CE="vocs_Sidebar_navigation",EE="vocs_Sidebar",L1="vocs_Sidebar_section",_E="vocs_Sidebar_sectionCollapse",SE="vocs_Sidebar_sectionCollapseActive",bE="vocs_Sidebar_sectionHeader",$E="vocs_Sidebar_sectionHeaderActive",Fp="vocs_Sidebar_sectionTitle";function M1(){return w.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 39 69",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[w.jsx("title",{children:"Chevron Right"}),w.jsx("path",{d:"M38.8697 34.7461C38.8697 33.6719 38.4791 32.6953 37.649 31.8652L7.47318 1.8848C6.74078 1.1035 5.76418 0.712891 4.64118 0.712891C2.34618 0.712891 0.588379 2.42189 0.588379 4.71679C0.588379 5.79099 1.07668 6.81639 1.76028 7.59769L29.0552 34.7461L1.76028 61.8945C1.07668 62.6758 0.588379 63.6523 0.588379 64.7754C0.588379 67.0703 2.34618 68.7793 4.64118 68.7793C5.76418 68.7793 6.74078 68.3887 7.47318 67.6074L37.649 37.627C38.4791 36.7969 38.8697 35.8203 38.8697 34.7461Z",fill:"currentColor"})]})}function j1(e){var u;const{className:t,onClickItem:n}=e,{previousPath:r}=kr(),o=h.useRef(null),i=Hl(),[a,l]=h.useState("/");if(h.useEffect(()=>{typeof window>"u"||r&&l(r)},[i.key,i.backLink]),!i)return null;const s=TE(i.items);return w.jsxs("aside",{ref:o,className:I(EE,t),children:[w.jsxs("div",{className:xE,children:[w.jsx("div",{className:wE,children:w.jsx(Gn,{to:"/",style:{alignItems:"center",display:"flex",height:"100%"},children:w.jsx(Kf,{})})}),w.jsx("div",{className:pE})]}),w.jsx("nav",{className:CE,children:w.jsxs("div",{className:vE,children:[i.backLink&&w.jsx("section",{className:L1,children:w.jsx("div",{className:I1,children:w.jsxs(Gn,{className:I(ni,hE),to:a,children:["←"," ",typeof history<"u"&&((u=history.state)!=null&&u.key)&&a!=="/"?"Back":"Home"]})})}),s.map((f,c)=>w.jsx(F1,{depth:0,item:f,onClick:n,sidebarRef:o},`${f.text}${c}`))]})})]},i.key)}function TE(e){const t=[];let n=0;for(const r of e){if(r.items){n=t.push(r);continue}t[n]?t[n].items.push(r):t.push({text:"",items:[r]})}return t}function D1(e,t){return e.find(n=>Bl(t,n.link??"")||n.link===t?!0:n.items?D1(n.items,t):!1)}function F1(e){const{depth:t,item:n,onClick:r,sidebarRef:o}=e,i=h.useRef(null),{pathname:a}=Re(),l=Fw(n.link??""),s=h.useMemo(()=>n.items?!!D1(n.items,a):!1,[n.items,a]),[u,f]=h.useState(()=>l||!n.items||s?!1:!!n.collapsed),c=n.collapsed!==void 0&&n.items!==void 0,d=h.useCallback(g=>{"key"in g&&g.key!=="Enter"||n.link||f(C=>!C)},[n.link]),p=h.useCallback(g=>{"key"in g&&g.key!=="Enter"||n.link&&f(C=>!C)},[n.link]),y=h.useRef(!0);return h.useEffect(()=>{!y.current||(y.current=!1,!Bl(a,n.link??""))||requestAnimationFrame(()=>{var m,x,E;const C=((m=i.current)==null?void 0:m.offsetTop)??0,v=((x=o==null?void 0:o.current)==null?void 0:x.clientHeight)??0;C0&&t<5&&n.items.map((g,C)=>w.jsx(F1,{depth:t+1,item:g,onClick:r,sidebarRef:o},`${g.text}${C}`))})]}):w.jsx(w.Fragment,{children:n.link?w.jsx(Gn,{ref:i,"data-active":!!l,onClick:r,className:ni,to:n.link,children:n.text}):w.jsx("div",{className:ni,children:n.text})})}function kE(){return w.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 69 39",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[w.jsx("title",{children:"Chevron Down"}),w.jsx("path",{d:"M34.8677 38.8398C35.9419 38.8398 37.0161 38.4492 37.7485 37.6191L67.729 7.44339C68.4614 6.71089 68.9009 5.73439 68.9009 4.61129C68.9009 2.31639 67.1919 0.558594 64.897 0.558594C63.8227 0.558594 62.7485 1.04689 62.0161 1.73049L32.5727 31.2715H37.1138L7.67042 1.73049C6.93802 1.04689 5.96142 0.558594 4.83842 0.558594C2.54342 0.558594 0.785645 2.31639 0.785645 4.61129C0.785645 5.73439 1.22512 6.71089 1.95752 7.44339L31.9868 37.6191C32.768 38.4492 33.7446 38.8398 34.8677 38.8398Z",fill:"currentColor"})]})}function RE(){return w.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 69 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[w.jsx("title",{children:"Chevron Up"}),w.jsx("path",{d:"M1.95752 32.2441C1.22512 32.9277 0.785645 33.9531 0.785645 35.0762C0.785645 37.3711 2.54342 39.1289 4.83842 39.1289C5.96142 39.1289 6.98682 38.6895 7.67042 37.957L37.1138 8.36716H32.5727L62.0161 37.957C62.6997 38.6895 63.8227 39.1289 64.897 39.1289C67.1919 39.1289 68.9009 37.3711 68.9009 35.0762C68.9009 33.9531 68.4614 32.9277 67.729 32.2441L37.7485 2.06836C37.0161 1.23826 35.9419 0.847656 34.8677 0.847656C33.7446 0.847656 32.7192 1.23826 31.9868 2.06836L1.95752 32.2441Z",fill:"currentColor"})]})}function NE(){return w.jsxs("svg",{width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 79 48",fill:"none",children:[w.jsx("title",{children:"Menu"}),w.jsx("path",{fill:"currentColor",d:"M19.528 47.232h40.87c1.952 0 3.515-1.562 3.515-3.564a3.5 3.5 0 0 0-3.516-3.516H19.528a3.501 3.501 0 0 0-3.515 3.516c0 2.002 1.562 3.564 3.515 3.564ZM12.057 27.262h55.81a3.501 3.501 0 0 0 3.516-3.516 3.501 3.501 0 0 0-3.515-3.515h-55.81a3.501 3.501 0 0 0-3.516 3.515 3.501 3.501 0 0 0 3.515 3.516ZM4.391 7.34H75.29c2.002 0 3.515-1.563 3.515-3.516 0-2.002-1.513-3.564-3.515-3.564H4.39C2.438.26.876 1.822.876 3.824A3.501 3.501 0 0 0 4.39 7.34Z"})]})}bu.Curtain=jE;function bu(){var n,r;const e=Je(),{showLogo:t}=Rr();return w.jsxs("div",{className:V8,children:[w.jsxs("div",{className:Np,children:[t&&w.jsx("div",{className:ba,children:w.jsx("div",{className:D8,children:w.jsx(Gn,{to:"/",style:{alignItems:"center",display:"flex",height:"100%"},children:w.jsx(Kf,{})})})}),e.topNav&&w.jsx(w.Fragment,{children:w.jsxs("div",{className:ba,children:[w.jsx(PE,{items:e.topNav}),w.jsx(OE,{items:e.topNav})]})})]}),w.jsxs("div",{className:Np,children:[w.jsx("div",{className:ba,style:{marginRight:"-8px"},children:w.jsx(R8,{})}),e.socials&&((n=e.socials)==null?void 0:n.length)>0&&w.jsxs(w.Fragment,{children:[w.jsx("div",{className:L8}),w.jsx("div",{className:ba,style:{marginLeft:"-8px"},children:(r=e.socials)==null?void 0:r.map((o,i)=>w.jsx(ME,{...o},i))})]})]})]})}function PE({items:e}){const{pathname:t}=Re(),n=Hi({pathname:t,items:e});return w.jsx(Dg,{className:i1,children:w.jsx(Fg,{children:e.map((r,o)=>r!=null&&r.link?w.jsx(Yl,{active:n==null?void 0:n.includes(r.id),href:r.link,children:r.text},o):w.jsxs(zg,{className:j8,children:[w.jsx(Bg,{active:n==null?void 0:n.includes(r.id),children:r.text}),w.jsx(Ug,{className:O8,children:w.jsx(AE,{items:r.items||[]})})]},o))})})}function AE({items:e}){const{pathname:t}=Re(),n=Hi({pathname:t,items:e});return w.jsx("ul",{children:e==null?void 0:e.map((r,o)=>w.jsx(Yl,{active:n.includes(r.id),href:r.link,children:r.text},o))})}function OE({items:e}){var s;const[t,n]=h.useState(!1),{pathname:r}=Re(),o=Hi({pathname:r,items:e}),i=e.filter(u=>u.id===o[0])[0],{basePath:a}=Je(),l=a;return w.jsx("div",{className:I(i1,U8),children:i?w.jsxs(Ht.Root,{modal:!0,open:t,onOpenChange:n,children:[w.jsxs(Ht.Trigger,{className:I(o1,Qo),children:[i.text,w.jsx(st,{label:"Menu",icon:kE,size:"11px"})]}),w.jsx(Ht,{className:Y8,children:w.jsx(S8,{type:"single",collapsible:!0,style:{display:"flex",flexDirection:"column"},children:e.map((u,f)=>{var c;return u!=null&&u.link?w.jsx(nn,{"data-active":o.includes(u.id),className:Qo,href:u.link,onClick:()=>n(!1),variant:"styleless",children:u.text},f):w.jsxs(b8,{value:f.toString(),children:[w.jsx($8,{className:I(Qo,B8),"data-active":o.includes(u.id),style:Gt({[P8]:`url(${l}/.vocs/icons/chevron-down.svg)`,[A8]:`url(${l}/.vocs/icons/chevron-up.svg)`}),children:u.text}),w.jsx(T8,{className:z8,children:(c=u.items)==null?void 0:c.map((d,p)=>w.jsx(nn,{className:Qo,href:d.link,onClick:()=>n(!1),variant:"styleless",children:d.text},p))})]},f)})})})]}):(s=e[0])!=null&&s.link?w.jsx(nn,{className:Qo,href:e[0].link,variant:"styleless",children:e[0].text}):null})}const IE={discord:Hg,github:Vg,telegram:Wg,warpcast:Kg,x:Yg},LE={discord:"21px",github:"18px",telegram:"21px",warpcast:"18px",x:"16px"};function ME({icon:e,label:t,link:n,type:r}){return w.jsx("a",{className:N8,href:n,target:"_blank",rel:"noopener noreferrer",children:w.jsx(st,{className:M8,label:t,icon:IE[e],size:LE[r]||"18px"})})}function jE({enableScrollToTop:e}){const{pathname:t}=Re(),{layout:n,showSidebar:r}=Rr(),{frontmatter:o={}}=kr(),i=Hl(),[a,l]=h.useState(!1),[s,u]=h.useState(!1),f=h.useMemo(()=>{if(!i||n==="minimal")return;const p=z1({sidebarItems:i.items,pathname:t});return p==null?void 0:p.text},[n,t,i]),c=h.useMemo(()=>{var p;if(!(typeof window>"u"))return(p=document.querySelector(".vocs_Content h1"))==null?void 0:p.textContent},[]),d=f||o.title||c;return w.jsxs("div",{className:I8,children:[w.jsx("div",{className:kp,children:w.jsx("div",{className:ec,children:r?w.jsxs(Ht.Root,{modal:!0,open:s,onOpenChange:u,children:[w.jsxs(Ht.Trigger,{className:o1,children:[w.jsx(st,{label:"Menu",icon:NE,size:"13px"}),w.jsx("div",{className:F8,children:d})]}),w.jsx(Ht,{className:K8,children:w.jsx(j1,{onClickItem:()=>u(!1)})})]}):d})}),w.jsxs("div",{className:kp,children:[e&&w.jsxs(w.Fragment,{children:[w.jsx("div",{className:ec,children:w.jsxs("button",{className:Rp,onClick:()=>window.scrollTo({behavior:"smooth",top:0}),type:"button",children:["Top",w.jsx(st,{label:"Scroll to top",icon:RE,size:"10px"})]})}),w.jsx("div",{className:W8})]}),n==="docs"&&w.jsx("div",{className:ec,children:w.jsxs(Ht.Root,{modal:!0,open:a,onOpenChange:l,children:[w.jsxs(Ht.Trigger,{className:Rp,children:["On this page",w.jsx(st,{label:"On this page",icon:M1,size:"10px"})]}),w.jsx(Ht,{className:H8,children:w.jsx(a1,{onClickItem:()=>l(!1),showTitle:!1})})]})})]})]})}function z1({sidebarItems:e,pathname:t}){const n=t.replace(/(.+)\/$/,"$1");for(const r of e){if((r==null?void 0:r.link)===n)return r;if(r.items){const o=z1({sidebarItems:r.items,pathname:n});if(o)return o}}}var DE="vocs_SkipLink";const B1="vocs-content";function FE(){const{pathname:e}=Re();return w.jsx("a",{className:I(DE,Z0),href:`${e}#${B1}`,children:"Skip to content"})}var zE="vocs_DocsLayout_content",BE="vocs_DocsLayout_content_withSidebar",UE="vocs_DocsLayout_content_withTopNav",HE="vocs_DocsLayout_gutterLeft",VE="vocs_DocsLayout_gutterRight",WE="vocs_DocsLayout_gutterRight_withSidebar",KE="vocs_DocsLayout_gutterTop",YE="vocs_DocsLayout_gutterTopCurtain",GE="vocs_DocsLayout_gutterTopCurtain_hidden",QE="vocs_DocsLayout_gutterTopCurtain_withSidebar",ZE="vocs_DocsLayout_gutterTop_offsetLeftGutter",XE="vocs_DocsLayout_gutterTop_sticky",JE="vocs_DocsLayout",qE="vocs_DocsLayout_sidebar";function $u({children:e}){const{banner:t,font:n}=Je(),{frontmatter:r={}}=kr(),{content:o}=r,{layout:i,showOutline:a,showSidebar:l,showTopNav:s}=Rr(),{ref:u,inView:f}=U0({initialInView:!0,rootMargin:"100px 0px 0px 0px"}),[c,d]=pu("banner",!0);return w.jsxs("div",{className:JE,"data-layout":i,style:Gt({[Gx]:c?t==null?void 0:t.height:void 0,[Nx.default]:n!=null&&n.google?`${n.google}, ${Rx.default}`:void 0}),children:[w.jsx(FE,{}),c&&w.jsx(m5,{hide:()=>d(!1)}),l&&w.jsx("div",{className:HE,children:w.jsx(j1,{className:qE})}),s&&w.jsxs(w.Fragment,{children:[w.jsxs("div",{ref:u,className:I(KE,l&&ZE,(i==="minimal"||i==="landing")&&XE),children:[w.jsx(xu,{}),w.jsx(bu,{})]}),w.jsxs("div",{className:I(YE,l&&QE,(i==="minimal"||i==="landing")&&GE),children:[w.jsx(xu.Curtain,{}),w.jsx(bu.Curtain,{enableScrollToTop:!f})]})]}),a&&w.jsx("div",{className:I(VE,l&&WE),children:w.jsx(a1,{})}),w.jsxs("div",{id:B1,className:I(zE,l&&BE,s&&UE),style:Gt({[Ms.horizontalPadding]:o==null?void 0:o.horizontalPadding,[Ms.width]:o==null?void 0:o.width,[Ms.verticalPadding]:o==null?void 0:o.verticalPadding}),children:[w.jsx(Y0,{children:e}),w.jsx(X6,{})]}),w.jsx("div",{"data-bottom-observer":!0})]})}const Tu={},U1=Z.createContext(Tu);function e_(e){const t=Z.useContext(U1);return Z.useMemo(function(){return typeof e=="function"?e(t):{...t,...e}},[t,e])}function t_(e){let t;return e.disableParentContext?t=typeof e.components=="function"?e.components(Tu):e.components||Tu:t=e_(e.components),Z.createElement(U1.Provider,{value:t},e.children)}var H1={exports:{}},n_="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",r_=n_,o_=r_;function V1(){}function W1(){}W1.resetWarningCache=V1;var i_=function(){function e(r,o,i,a,l,s){if(s!==o_){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:W1,resetWarningCache:V1};return n.PropTypes=n,n};H1.exports=i_();var a_=H1.exports;const Ce=Jn(a_);function l_(e){return e&&typeof e=="object"&&"default"in e?e.default:e}var K1=h,s_=l_(K1);function zp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c_(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var u_=!!(typeof window<"u"&&window.document&&window.document.createElement);function f_(e,t,n){if(typeof e!="function")throw new Error("Expected reducePropsToState to be a function.");if(typeof t!="function")throw new Error("Expected handleStateChangeOnClient to be a function.");if(typeof n<"u"&&typeof n!="function")throw new Error("Expected mapStateOnServer to either be undefined or a function.");function r(o){return o.displayName||o.name||"Component"}return function(i){if(typeof i!="function")throw new Error("Expected WrappedComponent to be a React component.");var a=[],l;function s(){l=e(a.map(function(f){return f.props})),u.canUseDOM?t(l):n&&(l=n(l))}var u=function(f){c_(c,f);function c(){return f.apply(this,arguments)||this}c.peek=function(){return l},c.rewind=function(){if(c.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var y=l;return l=void 0,a=[],y};var d=c.prototype;return d.UNSAFE_componentWillMount=function(){a.push(this),s()},d.componentDidUpdate=function(){s()},d.componentWillUnmount=function(){var y=a.indexOf(this);a.splice(y,1),s()},d.render=function(){return s_.createElement(i,this.props)},c}(K1.PureComponent);return zp(u,"displayName","SideEffect("+r(i)+")"),zp(u,"canUseDOM",u_),u}}var d_=f_;const h_=Jn(d_);var p_=typeof Element<"u",v_=typeof Map=="function",m_=typeof Set=="function",g_=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function Va(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,o;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!Va(e[r],t[r]))return!1;return!0}var i;if(v_&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;for(i=e.entries();!(r=i.next()).done;)if(!Va(r.value[1],t.get(r.value[0])))return!1;return!0}if(m_&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(g_&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;if(p_&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((o[r]==="_owner"||o[r]==="__v"||o[r]==="__o")&&e.$$typeof)&&!Va(e[o[r]],t[o[r]]))return!1;return!0}return e!==e&&t!==t}var y_=function(t,n){try{return Va(t,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}};const w_=Jn(y_);/* object-assign (c) Sindre Sorhus @license MIT -*/var Bp=Object.getOwnPropertySymbols,x_=Object.prototype.hasOwnProperty,C_=Object.prototype.propertyIsEnumerable;function E_(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function __(){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 S_=__()?Object.assign:function(e,t){for(var n,r=E_(e),o,i=1;i=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},A_=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,"'")},O_=function(t){var n=co(t,q.TITLE),r=co(t,Mi.TITLE_TEMPLATE);if(r&&n)return r.replace(/%s/g,function(){return Array.isArray(n)?n.join(""):n});var o=co(t,Mi.DEFAULT_TITLE);return n||o||void 0},I_=function(t){return co(t,Mi.ON_CHANGE_CLIENT_STATE)||function(){}},tc=function(t,n){return n.filter(function(r){return typeof r[t]<"u"}).map(function(r){return r[t]}).reduce(function(r,o){return ht({},r,o)},{})},L_=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},M_=function(t){return{baseTag:L_([Ee.HREF,Ee.TARGET],t),bodyAttributes:tc(vr.BODY,t),defer:co(t,Mi.DEFER),encode:co(t,Mi.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:tc(vr.HTML,t),linkTags:Zo(q.LINK,[Ee.REL,Ee.HREF],t),metaTags:Zo(q.META,[Ee.NAME,Ee.CHARSET,Ee.HTTPEQUIV,Ee.PROPERTY,Ee.ITEM_PROP],t),noscriptTags:Zo(q.NOSCRIPT,[Ee.INNER_HTML],t),onChangeClientState:I_(t),scriptTags:Zo(q.SCRIPT,[Ee.SRC,Ee.INNER_HTML],t),styleTags:Zo(q.STYLE,[Ee.CSS_TEXT],t),title:O_(t),titleAttributes:tc(vr.TITLE,t)}},Ru=function(){var e=Date.now();return function(t){var n=Date.now();n-e>16?(e=n,t(n)):setTimeout(function(){Ru(t)},0)}}(),Hp=function(t){return clearTimeout(t)},j_=typeof window<"u"?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||Ru:global.requestAnimationFrame||Ru,D_=typeof window<"u"?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||Hp:global.cancelAnimationFrame||Hp,F_=function(t){return console&&typeof console.warn=="function"&&console.warn(t)},Xo=null,z_=function(t){Xo&&D_(Xo),t.defer?Xo=j_(function(){Vp(t,function(){Xo=null})}):(Vp(t),Xo=null)},Vp=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;Nu(q.BODY,o),Nu(q.HTML,i),B_(d,p);var y={baseTag:zr(q.BASE,r),linkTags:zr(q.LINK,a),metaTags:zr(q.META,l),noscriptTags:zr(q.NOSCRIPT,s),scriptTags:zr(q.SCRIPT,f),styleTags:zr(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)},Y1=function(t){return Array.isArray(t)?t.join(""):t},B_=function(t,n){typeof t<"u"&&document.title!==t&&(document.title=Y1(t)),Nu(q.TITLE,n)},Nu=function(t,n){var r=document.getElementsByTagName(t)[0];if(r){for(var o=r.getAttribute(Vt),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(Vt):r.getAttribute(Vt)!==l.join(",")&&r.setAttribute(Vt,l.join(","))}},zr=function(t,n){var r=document.head||document.querySelector(q.HEAD),o=r.querySelectorAll(t+"["+Vt+"]"),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(Vt,"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}},G1=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},"")},U_=function(t,n,r,o){var i=G1(r),a=Y1(n);return i?"<"+t+" "+Vt+'="true" '+i+">"+ku(a,o)+"":"<"+t+" "+Vt+'="true">'+ku(a,o)+""},H_=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=T_.indexOf(t)===-1;return o+"<"+t+" "+Vt+'="true" '+a+(s?"/>":">"+l+"")},"")},Q1=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(t).reduce(function(r,o){return r[Sl[o]||o]=t[o],r},n)},V_=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(t).reduce(function(r,o){return r[$_[o]||o]=t[o],r},n)},W_=function(t,n,r){var o,i=(o={key:n},o[Vt]=!0,o),a=Q1(r,i);return[Z.createElement(q.TITLE,a,n)]},K_=function(t,n){return n.map(function(r,o){var i,a=(i={key:o},i[Vt]=!0,i);return Object.keys(r).forEach(function(l){var s=Sl[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]}),Z.createElement(t,a)})},an=function(t,n,r){switch(t){case q.TITLE:return{toComponent:function(){return W_(t,n.title,n.titleAttributes)},toString:function(){return U_(t,n.title,n.titleAttributes,r)}};case vr.BODY:case vr.HTML:return{toComponent:function(){return Q1(n)},toString:function(){return G1(n)}};default:return{toComponent:function(){return K_(t,n)},toString:function(){return H_(t,n,r)}}}},Z1=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:an(q.BASE,n,o),bodyAttributes:an(vr.BODY,r,o),htmlAttributes:an(vr.HTML,i,o),link:an(q.LINK,a,o),meta:an(q.META,l,o),noscript:an(q.NOSCRIPT,s,o),script:an(q.SCRIPT,u,o),style:an(q.STYLE,f,o),title:an(q.TITLE,{title:d,titleAttributes:p},o)}},Y_=function(t){var n,r;return r=n=function(o){P_(i,o);function i(){return R_(this,i),A_(this,o.apply(this,arguments))}return i.prototype.shouldComponentUpdate=function(l){return!w_(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 ht({},f,(s={},s[u.type]=[].concat(f[u.type]||[],[ht({},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 ht({},c,(s={},s[f.type]=p,s.titleAttributes=ht({},d),s));case q.BODY:return ht({},c,{bodyAttributes:ht({},d)});case q.HTML:return ht({},c,{htmlAttributes:ht({},d)})}return ht({},c,(u={},u[f.type]=ht({},d),u))},i.prototype.mapArrayTypeChildrenToProps=function(l,s){var u=ht({},s);return Object.keys(l).forEach(function(f){var c;u=ht({},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 Z.Children.forEach(l,function(c){if(!(!c||!c.props)){var d=c.props,p=d.children,y=Up(d,["children"]),g=V_(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=Up(l,["children"]),f=ht({},u);return s&&(f=this.mapChildrenToProps(s,f)),Z.createElement(t,f)},N_(i,null,[{key:"canUseDOM",set:function(l){t.canUseDOM=l}}]),i}(Z.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=Z1({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),o},r},G_=function(){return null},Q_=h_(M_,z_,Z1)(G_),Pu=Y_(Q_);Pu.renderStatic=Pu.rewind;var nc="vocs_Anchor",Z_="vocs_Autolink";function X_(e){const{pathname:t}=Re();return w.jsx("a",{...e,className:I(e.className,Z_),href:`${t}${e.href}`})}function J_(e){const{children:t,href:n}=e,{pathname:r}=Re();return t&&typeof t=="object"&&"props"in t&&t.props["data-autolink-icon"]?w.jsx(X_,{className:I(e.className,nc),...e}):n!=null&&n.match(/^#/)?w.jsx("a",{className:I(e.className,nc),...e,href:`${r}${n}`}):w.jsx(nn,{className:I(e.className,nc),...e})}var q_="vocs_Callout_danger",eS="vocs_Callout_info",tS="vocs_Callout_note",X1="vocs_Callout",nS="vocs_Callout_success",rS="vocs_Callout_tip",oS="vocs_Callout_warning";const iS=Object.freeze(Object.defineProperty({__proto__:null,danger:q_,info:eS,note:tS,root:X1,success:nS,tip:rS,warning:oS},Symbol.toStringTag,{value:"Module"}));function aS({className:e,children:t,type:n}){return w.jsx("aside",{className:I(e,X1,iS[n]),children:t})}var lS="vocs_Aside";function sS(e){const t=I(e.className,lS);return"data-callout"in e?w.jsx(aS,{className:t,type:e["data-callout"],children:e.children}):w.jsx("aside",{...e,className:t})}var cS="vocs_Blockquote";function uS(e){return w.jsx("blockquote",{...e,className:I(e.className,cS)})}var fS="vocs_Code";function dS(e){const t=hS(e.children);return w.jsx("code",{...e,className:I(e.className,fS),children:t})}function hS(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 pS="vocs_Details";function vS(e){return w.jsx("details",{...e,className:I(e.className,pS)})}var mS="vocs_Authors_authors",gS="vocs_Authors_link",yS="vocs_Authors",Wp="vocs_Authors_separator";function J1(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:yS,children:[i,o&&(i?" by ":"By "),w.jsx("span",{className:mS,children:o==null?void 0:o.map((a,l)=>{const{text:s,url:u}=wS(a);return w.jsxs(h.Fragment,{children:[u?w.jsx("a",{className:gS,href:u,target:"_blank",rel:"noopener noreferrer",children:s}):s,lw.jsxs(h.Fragment,{children:[w.jsx("div",{className:ES,children:w.jsxs(Gn,{to:e.path,children:[w.jsx("h2",{className:bS,children:e.title}),w.jsx(J1,{authors:e.authors,date:e.date}),w.jsxs("p",{className:xS,children:[e.description," ",w.jsx("span",{className:_S,children:"[→]"})]})]})}),tw.jsxs(h.Fragment,{children:[w.jsx("div",{className:IS,children:t.name}),t.items.map((r,o)=>{var i;return w.jsx("div",{className:AS,style:Gt({[kS]:r.length.toString(),[RS]:`${((i=t.height)==null?void 0:i.toString())??"40"}px`}),children:r.map((a,l)=>w.jsx(nn,{className:I(TS,a?OS:void 0),hideExternalIcon:!0,href:a==null?void 0:a.link,variant:"styleless",children:w.jsx("img",{className:NS,src:a==null?void 0:a.image,alt:a==null?void 0:a.name})},l))},o)})]},n))})}var MS="var(--vocs_AutolinkIcon_iconUrl)",jS="vocs_AutolinkIcon";function DS(e){const{basePath:t}=Je(),n=t;return w.jsx("div",{...e,className:I(e.className,jS),style:Gt({[MS]:`url(${n}/.vocs/icons/link.svg)`})})}const rc="rovingFocusGroup.onEntryFocus",FS={bubbles:!1,cancelable:!0},sd="RovingFocusGroup",[Au,q1,zS]=Kl(sd),[BS,ey]=En(sd,[zS]),[US,HS]=BS(sd),VS=h.forwardRef((e,t)=>h.createElement(Au.Provider,{scope:e.__scopeRovingFocusGroup},h.createElement(Au.Slot,{scope:e.__scopeRovingFocusGroup},h.createElement(WS,Y({},e,{ref:t}))))),WS=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=Wl(i),[y=null,g]=rr({prop:a,defaultProp:l,onChange:s}),[C,v]=h.useState(!1),m=at(u),x=q1(n),E=h.useRef(!1),[S,_]=h.useState(0);return h.useEffect(()=>{const b=c.current;if(b)return b.addEventListener(rc,m),()=>b.removeEventListener(rc,m)},[m]),h.createElement(US,{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(()=>_(b=>b+1),[]),onFocusableItemRemove:h.useCallback(()=>_(b=>b-1),[])},h.createElement(fe.div,Y({tabIndex:C||S===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 T=new CustomEvent(rc,FS);if(b.currentTarget.dispatchEvent(T),!T.defaultPrevented){const P=x().filter(z=>z.focusable),j=P.find(z=>z.active),L=P.find(z=>z.id===y),N=[j,L,...P].filter(Boolean).map(z=>z.ref.current);ty(N)}}E.current=!1}),onBlur:ae(e.onBlur,()=>v(!1))})))}),KS="RovingFocusGroupItem",YS=h.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:i,...a}=e,l=rn(),s=i||l,u=HS(KS,n),f=u.currentTabStopId===s,c=q1(n),{onFocusableItemAdd:d,onFocusableItemRemove:p}=u;return h.useEffect(()=>{if(r)return d(),()=>p()},[r,d,p]),h.createElement(Au.ItemSlot,{scope:n,id:s,focusable:r,active:o},h.createElement(fe.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=ZS(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?XS(v,m+1):v.slice(m+1)}setTimeout(()=>ty(v))}})})))}),GS={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function QS(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function ZS(e,t,n){const r=QS(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return GS[r]}function ty(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function XS(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const JS=VS,qS=YS,ny="Tabs",[e9,a$]=En(ny,[ey]),ry=ey(),[t9,cd]=e9(ny),n9=h.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:o,defaultValue:i,orientation:a="horizontal",dir:l,activationMode:s="automatic",...u}=e,f=Wl(l),[c,d]=rr({prop:r,onChange:o,defaultProp:i});return h.createElement(t9,{scope:n,baseId:rn(),value:c,onValueChange:d,orientation:a,dir:f,activationMode:s},h.createElement(fe.div,Y({dir:f,"data-orientation":a},u,{ref:t})))}),r9="TabsList",o9=h.forwardRef((e,t)=>{const{__scopeTabs:n,loop:r=!0,...o}=e,i=cd(r9,n),a=ry(n);return h.createElement(JS,Y({asChild:!0},a,{orientation:i.orientation,dir:i.dir,loop:r}),h.createElement(fe.div,Y({role:"tablist","aria-orientation":i.orientation},o,{ref:t})))}),i9="TabsTrigger",a9=h.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,disabled:o=!1,...i}=e,a=cd(i9,n),l=ry(n),s=oy(a.baseId,r),u=iy(a.baseId,r),f=r===a.value;return h.createElement(qS,Y({asChild:!0},l,{focusable:!o,active:f}),h.createElement(fe.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)})})))}),l9="TabsContent",s9=h.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,forceMount:o,children:i,...a}=e,l=cd(l9,n),s=oy(l.baseId,r),u=iy(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(_n,{present:o||f},({present:d})=>h.createElement(fe.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 oy(e,t){return`${e}-trigger-${t}`}function iy(e,t){return`${e}-content-${t}`}const c9=n9,u9=o9,f9=a9,d9=s9;var h9="vocs_Tabs_content",p9="vocs_Tabs_list",v9="vocs_Tabs",m9="vocs_Tabs_trigger";function g9(e){return w.jsx(c9,{...e,className:I(e.className,v9)})}function y9(e){return w.jsx(u9,{...e,className:I(e.className,p9)})}function w9(e){return w.jsx(f9,{...e,className:I(e.className,m9)})}function x9(e){return w.jsx(d9,{...e,className:I(e.className,h9)})}var C9="vocs_CodeGroup";function E9({children:e}){if(!Array.isArray(e))return null;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(g9,{className:C9,defaultValue:t[0].title,children:[w.jsx(y9,{"aria-label":"Code group",children:t.map(({title:n},r)=>w.jsx(w9,{value:n||r.toString(),children:n},n||r.toString()))}),t.map(({title:n,content:r},o)=>{var a,l;const i=(l=(a=r.props)==null?void 0:a.className)==null?void 0:l.includes("shiki");return w.jsx(x9,{"data-shiki":i,value:n||o.toString(),children:r},n||o.toString())})]})}var _9="vocs_Div",S9="vocs_Step_content",b9="vocs_Step",ay="vocs_Step_title",$9="vocs_H2";function ly(e){return w.jsx(Ro,{...e,className:I(e.className,$9),level:2})}var T9="vocs_H3";function sy(e){return w.jsx(Ro,{...e,className:I(e.className,T9),level:3})}var k9="vocs_H4";function cy(e){return w.jsx(Ro,{...e,className:I(e.className,k9),level:4})}var R9="vocs_H5";function uy(e){return w.jsx(Ro,{...e,className:I(e.className,R9),level:5})}var N9="vocs_H6";function fy(e){return w.jsx(Ro,{...e,className:I(e.className,N9),level:6})}function P9({children:e,className:t,title:n,titleLevel:r=2}){const o=(()=>{if(r===2)return ly;if(r===3)return sy;if(r===4)return cy;if(r===5)return uy;if(r===6)return fy;throw new Error("Invalid.")})();return w.jsxs("div",{className:I(t,b9),children:[typeof n=="string"?w.jsx(o,{className:ay,children:n}):n,w.jsx("div",{className:S9,children:e})]})}var A9="vocs_Steps";function O9({children:e,className:t}){return w.jsx("div",{className:I(t,A9),children:e})}function I9({children:e}){return Array.isArray(e)?w.jsx(O9,{children:e.map(({props:t},n)=>{const[r,...o]=Array.isArray(t.children)?t.children:[t.children];return w.jsx(P9,{title:h.cloneElement(r,{className:ay}),children:o},n)})}):null}var L9="vocs_Subtitle";function M9({children:e}){return w.jsx("div",{className:L9,role:"doc-subtitle",children:e})}function j9(e){const{layout:t}=Rr(),n=I(e.className,_9);return e.className==="code-group"?w.jsx(E9,{...e,className:n}):"data-authors"in e?w.jsx(J1,{}):"data-blog-posts"in e?w.jsx($S,{}):"data-sponsors"in e?w.jsx(LS,{}):"data-autolink-icon"in e&&t==="docs"?w.jsx(DS,{...e,className:n}):"data-vocs-steps"in e?w.jsx(I9,{...e,className:n}):e.role==="doc-subtitle"?w.jsx(M9,{...e}):w.jsx("div",{...e,className:n})}var D9="vocs_Figcaption";function F9(e){const t=I(e.className,D9);return w.jsx("figcaption",{...e,className:t})}var z9="vocs_Figure";function B9(e){const t=I(e.className,z9);return w.jsx("figure",{...e,className:t})}var U9="vocs_Header";function H9(e){return w.jsx("header",{...e,className:I(e.className,U9)})}var V9="vocs_HorizontalRule";function W9(e){return w.jsx("hr",{...e,className:I(e.className,V9)})}var K9="vocs_List_ordered",Y9="vocs_List",G9="vocs_List_unordered";function Yp({ordered:e,...t}){const n=e?"ol":"ul";return w.jsx(n,{...t,className:I(t.className,Y9,e?K9:G9)})}var Q9="vocs_ListItem";function Z9(e){return w.jsx("li",{...e,className:I(e.className,Q9)})}function X9(){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,.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 J9="vocs_CopyButton";function q9(){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 eb(){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 tb({copy:e,copied:t}){return w.jsx("button",{className:J9,onClick:e,type:"button",children:t?w.jsx(st,{label:"Copied",size:"14px",icon:q9}):w.jsx(st,{label:"Copy",size:"18px",icon:eb})})}var nb="vocs_CodeBlock";function rb(e){return w.jsx("div",{...e,className:I(e.className,nb)})}function ob(){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 ib(){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 ab="vocs_CodeTitle";function lb({children:e,className:t,language:n,...r}){return w.jsxs("div",{...r,className:I(t,ab),children:[n==="bash"?w.jsx(st,{label:"Terminal",size:"14px",icon:ib,style:{marginTop:3}}):e.match(/\.(.*)$/)?w.jsx(st,{label:"File",size:"14px",icon:ob,style:{marginTop:1}}):null,e]})}var sb="vocs_Pre",cb="vocs_Pre_wrapper";function ub({children:e,className:t,...n}){const{copied:r,copy:o,ref:i}=X9();function a(u){return!u||typeof u!="object"?u:"props"in u?{...u,props:{...u.props,children:Array.isArray(u.props.children)?u.props.children.map(a):a(u.props.children)}}:u}const l=h.useMemo(()=>a(e),[e]);return(u=>t!=null&&t.includes("shiki")?w.jsxs(rb,{children:[n["data-title"]&&w.jsx(lb,{language:n["data-lang"],children:n["data-title"]}),u]}):u)(w.jsx("div",{className:I(cb),children:w.jsxs("pre",{ref:i,...n,className:I(t,sb),children:["data-language"in n&&w.jsx(tb,{copied:r,copy:o}),l]})}))}var fb="vocs_Footnotes";function db(e){return w.jsx("section",{...e,className:I(e.className,fb)})}var Gp="vocs_Section";function hb(e){return"data-footnotes"in e?w.jsx(db,{...e,className:I(e.className,Gp)}):w.jsx("section",{...e,className:I(e.className,Gp)})}var Qp="vocs_Span";function Wa(e,t){if(!e||!t)return!1;const n=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&Su(n)){let r=t;for(;r;){if(e===r)return!0;r=r.parentNode||r.host}}return!1}function Ou(e,t){const n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function Ta(e){return(e==null?void 0:e.ownerDocument)||document}function pb(e){return"composedPath"in e?e.composedPath()[0]:e.target}const dy={...Bu},vb=dy.useInsertionEffect,mb=vb||(e=>e());function gb(e){const t=h.useRef(()=>{});return mb(()=>{t.current=e}),h.useCallback(function(){for(var n=arguments.length,r=new Array(n),o=0;o"floating-ui-"+Math.random().toString(36).slice(2,6)+yb++;function wb(){const[e,t]=h.useState(()=>Zp?Xp():void 0);return _o(()=>{e==null&&t(Xp())},[]),h.useEffect(()=>{Zp=!0},[]),e}const xb=dy.useId,hy=xb||wb,Cb=h.forwardRef(function(t,n){const{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,C=hy();if(!o)return null;const v=u*2,m=v/2,x=a/2*(s/-8+1),E=l/2*s/4,[S,_]=r.split("-"),b=y1.isRTL(o),$=!!d,T=S==="top"||S==="bottom",P=f&&_==="end"?"bottom":"top";let j=f&&_==="end"?"right":"left";f&&b&&(j=_==="end"?"left":"right");const L=(i==null?void 0:i.x)!=null?f||i.x:"",D=(i==null?void 0:i.y)!=null?f||i.y:"",N=d||"M0,0"+(" H"+a)+(" L"+(a-x)+","+(l-E))+(" Q"+a/2+","+l+" "+x+","+(l-E))+" Z",z={top:$?"rotate(180deg)":"",left:$?"rotate(90deg)":"rotate(-90deg)",bottom:$?"":"rotate(180deg)",right:$?"rotate(-90deg)":"rotate(90deg)"}[S];return h.createElement("svg",Iu({},g,{"aria-hidden":!0,ref:n,width:$?a:a+v,height:a,viewBox:"0 0 "+a+" "+(l>a?l:a),style:{position:"absolute",pointerEvents:"none",[j]:L,[P]:D,[S]:T||$?"100%":"calc(100% - "+v/2+"px)",transform:""+z+(p??""),...y}}),v>0&&h.createElement("path",{clipPath:"url(#"+C+")",fill:"none",stroke:c,strokeWidth:v+(d?0:1),d:N}),h.createElement("path",{stroke:v&&!d?g.fill:"none",d:N}),h.createElement("clipPath",{id:C},h.createElement("rect",{x:-m,y:m*($?-1:1),width:a+v,height:a})))});function Eb(){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 _b=h.createContext(null),Sb=h.createContext(null),py=()=>{var e;return((e=h.useContext(_b))==null?void 0:e.id)||null},vy=()=>h.useContext(Sb);function bb(e){return"data-floating-ui-"+e}function Jp(e){const t=h.useRef(e);return _o(()=>{t.current=e}),t}const qp=bb("safe-polygon");function oc(e,t,n){return n&&!Ou(n)?0:typeof e=="number"?e:e==null?void 0:e[t]}function $b(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=vy(),C=py(),v=Jp(c),m=Jp(f),x=h.useRef(),E=h.useRef(),S=h.useRef(),_=h.useRef(),b=h.useRef(!0),$=h.useRef(!1),T=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(_.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=Ta(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 U=oc(m.current,"close",x.current);U&&!S.current?(clearTimeout(E.current),E.current=setTimeout(()=>r(!1,N,V),U)):z&&(clearTimeout(E.current),r(!1,N,V))},[m,r]),L=h.useCallback(()=>{T.current(),S.current=void 0},[]),D=h.useCallback(()=>{if($.current){const N=Ta(s.floating.current).body;N.style.pointerEvents="",N.removeAttribute(qp),$.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&&!Ou(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;T.current();const F=Ta(l);if(clearTimeout(_.current),v.current){n||clearTimeout(E.current),S.current=v.current({...e,tree:g,x:O.clientX,y:O.clientY,onClose(){D(),L(),j(O,!0,"safe-polygon")}});const J=S.current;F.addEventListener("mousemove",J),T.current=()=>{F.removeEventListener("mousemove",J)};return}(x.current==="touch"?!Wa(l,O.relatedTarget):!0)&&j(O)}function U(O){N()||v.current==null||v.current({...e,tree:g,x:O.clientX,y:O.clientY,onClose(){D(),L(),j(O)}})(O)}if(nt(a)){const O=a;return n&&O.addEventListener("mouseleave",U),l==null||l.addEventListener("mouseleave",U),y&&O.addEventListener("mousemove",z,{once:!0}),O.addEventListener("mouseenter",z),O.addEventListener("mouseleave",V),()=>{n&&O.removeEventListener("mouseleave",U),l==null||l.removeEventListener("mouseleave",U),y&&O.removeEventListener("mousemove",z),O.removeEventListener("mouseenter",z),O.removeEventListener("mouseleave",V)}}},[a,l,u,e,d,p,y,j,L,D,r,n,g,m,v,o]),_o(()=>{var N;if(u&&n&&(N=v.current)!=null&&N.__options.blockPointerEvents&&P()){const V=Ta(l).body;if(V.setAttribute(qp,""),V.style.pointerEvents="none",$.current=!0,nt(a)&&l){var z;const U=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=""),U.style.pointerEvents="auto",l.style.pointerEvents="auto",()=>{U.style.pointerEvents="",l.style.pointerEvents=""}}}},[u,n,C,l,a,g,v,P]),_o(()=>{n||(x.current=void 0,L(),D())},[n,L,D]),h.useEffect(()=>()=>{L(),clearTimeout(E.current),clearTimeout(_.current),D()},[u,a,L,D]),h.useMemo(()=>{if(!u)return{};function N(z){x.current=z.pointerType}return{reference:{onPointerDown:N,onPointerEnter:N,onMouseMove(z){function V(){b.current||r(!0,z.nativeEvent,"hover")}d&&!Ou(x.current)||n||p===0||(clearTimeout(_.current),x.current==="touch"?V():_.current=setTimeout(V,p))}},floating:{onMouseEnter(){clearTimeout(E.current)},onMouseLeave(z){j(z.nativeEvent,!1)}}}},[u,d,n,p,r,j])}function Tb(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 kb(e){var t;e===void 0&&(e={});const{open:n=!1,onOpenChange:r,nodeId:o}=e,[i,a]=h.useState(null),[l,s]=h.useState(null),f=((t=e.elements)==null?void 0:t.reference)||i;_o(()=>{f&&(g.current=f)},[f]);const c=E1({...e,elements:{...e.elements,...l&&{reference:l}}}),d=vy(),p=py()!=null,y=gb(($,T,P)=>{C.current.openEvent=$?T:void 0,v.emit("openchange",{open:$,event:T,reason:P,nested:p}),r==null||r($,T,P)}),g=h.useRef(null),C=h.useRef({}),v=h.useState(()=>Eb())[0],m=hy(),x=h.useCallback($=>{const T=nt($)?{getBoundingClientRect:()=>$.getBoundingClientRect(),contextElement:$}:$;s(T),c.refs.setReference(T)},[c.refs]),E=h.useCallback($=>{(nt($)||$===null)&&(g.current=$,a($)),(nt(c.refs.reference.current)||c.refs.reference.current===null||$!==null&&!nt($))&&c.refs.setReference($)},[c.refs]),S=h.useMemo(()=>({...c.refs,setReference:E,setPositionReference:x,domReference:g}),[c.refs,E,x]),_=h.useMemo(()=>({...c.elements,domReference:f}),[c.elements,f]),b=h.useMemo(()=>({...c,refs:S,elements:_,dataRef:C,nodeId:o,floatingId:m,events:v,open:n,onOpenChange:y}),[c,o,m,v,n,y,S,_]);return _o(()=>{const $=d==null?void 0:d.nodesRef.current.find(T=>T.id===o);$&&($.context=b)}),h.useMemo(()=>({...c,context:b,refs:S,elements:_}),[c,S,_,b])}const ev="active",tv="selected";function ic(e,t,n){const r=new Map,o=n==="item";let i=e;if(o&&e){const{[ev]:a,[tv]: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&&[ev,tv].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 Rb(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 nv(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 Nb(e,t){return e[0]>=t.x&&e[0]<=t.x+t.width&&e[1]>=t.y&&e[1]<=t.y+t.height}function Pb(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 S(){clearTimeout(o),C()}if(clearTimeout(o),!g.domReference||!g.floating||y==null||d==null||p==null)return;const{clientX:_,clientY:b}=E,$=[_,b],T=pb(E),P=E.type==="mouseleave",j=Wa(g.floating,T),L=Wa(g.domReference,T),D=g.domReference.getBoundingClientRect(),N=g.floating.getBoundingClientRect(),z=y.split("-")[0],V=d>N.right-N.width/2,U=p>N.bottom-N.height/2,O=Nb($,D),F=N.width>D.width,K=N.height>D.height,J=(F?D:N).left,se=(F?D:N).right,Be=(K?D:N).top,ye=(K?D:N).bottom;if(j&&(i=!0,!P))return;if(L&&(i=!1),L&&!P){i=!0;return}if(P&&nt(E.relatedTarget)&&Wa(g.floating,E.relatedTarget)||m&&Tb(m.nodesRef.current,v).some(Ue=>{let{context:xe}=Ue;return xe==null?void 0:xe.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 S();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,ye],[N.right-1,Be],[D.left+1,Be],[D.left+1,ye]];break;case"right":Ne=[[D.right-1,ye],[D.right-1,Be],[N.left+1,Be],[N.left+1,ye]];break}function we(Ue){let[xe,Se]=Ue;switch(z){case"top":{const jt=[F?xe+t/2:V?xe+t*4:xe-t*4,Se+t+1],be=[F?xe-t/2:V?xe+t*4:xe-t*4,Se+t+1],ft=[[N.left,V||F?N.bottom-t:N.top],[N.right,V?F?N.bottom-t:N.top:N.bottom-t]];return[jt,be,...ft]}case"bottom":{const jt=[F?xe+t/2:V?xe+t*4:xe-t*4,Se-t],be=[F?xe-t/2:V?xe+t*4:xe-t*4,Se-t],ft=[[N.left,V||F?N.top+t:N.bottom],[N.right,V?F?N.top+t:N.bottom:N.top+t]];return[jt,be,...ft]}case"left":{const jt=[xe+t+1,K?Se+t/2:U?Se+t*4:Se-t*4],be=[xe+t+1,K?Se-t/2:U?Se+t*4:Se-t*4];return[...[[U||K?N.right-t:N.left,N.top],[U?K?N.right-t:N.left:N.right-t,N.bottom]],jt,be]}case"right":{const jt=[xe-t,K?Se+t/2:U?Se+t*4:Se-t*4],be=[xe-t,K?Se-t/2:U?Se+t*4:Se-t*4],ft=[[U||K?N.left+t:N.right,N.top],[U?K?N.left+t:N.right:N.left+t,N.bottom]];return[jt,be,...ft]}}}if(!nv([_,b],Ne)){if(i&&!O)return S();if(!P&&r){const Ue=u(E.clientX,E.clientY);if(Ue!==null&&Ue<.1)return S()}nv([_,b],we([d,p]))?!i&&r&&(o=window.setTimeout(S,40)):S()}}};return f.__options={blockPointerEvents:n},f}function Ab({children:e,...t}){const[n,r]=e,o=h.useRef(null),[i,a]=h.useState(!1),{context:l,refs:s,floatingStyles:u}=kb({middleware:[x1({element:o}),c1(8),w1()],open:i,onOpenChange:a,placement:"bottom-start"}),f=$b(l,{handleClose:Pb()}),{getReferenceProps:c,getFloatingProps:d}=Rb([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(Cb,{ref:o,context:l,fill:Yh.background5,height:3,stroke:Yh.border2,strokeWidth:1,width:7}),w.jsx("div",{className:"twoslash-popup-scroll-container",children:y})]})]})}function Ob(e){var n;const t=I(e.className,Qp);return(n=e.className)!=null&&n.includes("twoslash-hover")?w.jsx(Ab,{...e,className:t}):w.jsx("span",{...e,className:I(e.className,Qp)})}var Ib="vocs_CalloutTitle";function Lb({className:e,children:t}){return w.jsx("strong",{className:I(e,Ib),children:t})}var rv="vocs_Strong";function Mb(e){return"data-callout-title"in e&&typeof e.children=="string"?w.jsx(Lb,{...e,className:I(e.className,rv),children:e.children}):w.jsx("strong",{...e,className:I(e.className,rv)})}var jb="vocs_Summary";function Db(e){return w.jsx("summary",{...e,className:I(e.className,jb)})}var Fb="vocs_Table";function zb(e){return w.jsx("table",{...e,className:I(e.className,Fb)})}var Bb="vocs_TableCell";function Ub(e){return w.jsx("td",{...e,className:I(e.className,Bb)})}var Hb="vocs_TableHeader";function Vb(e){return w.jsx("th",{...e,className:I(e.className,Hb)})}var Wb="vocs_TableRow";function Kb(e){return w.jsx("tr",{...e,className:I(e.className,Wb)})}const Yb={a:J_,aside:sS,blockquote:uS,code:dS,details:vS,div:j9,pre:ub,header:H9,figcaption:F9,figure:B9,h1:W0,h2:ly,h3:sy,h4:cy,h5:uy,h6:fy,hr:W9,kd:Rg,li:Z9,ol:e=>w.jsx(Yp,{ordered:!0,...e}),p:K0,section:hb,span:Ob,strong:Mb,summary:Db,table:zb,td:Ub,th:Vb,tr:Kb,ul:e=>w.jsx(Yp,{ordered:!1,...e})};function Gb(){const{pathname:e}=Re(),t=Je(),{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 Lu(e){const{children:t,filePath:n,frontmatter:r,lastUpdatedAt:o,path:i}=e,{pathname:a}=Re(),l=h.useRef();return h.useEffect(()=>{l.current=a}),w.jsxs(w.Fragment,{children:[w.jsx(Qb,{frontmatter:r}),typeof window<"u"&&w.jsx(xx,{}),w.jsx(t_,{components:Yb,children:w.jsx(j8,{frontmatter:r,path:i,children:w.jsx(Q0.Provider,{value:{filePath:n,frontmatter:r,lastUpdatedAt:o,previousPath:l.current},children:t})})})]})}function Qb({frontmatter:e}){const t=Je(),n=Gb(),{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),f=typeof window<"u"&&window.location.hostname==="localhost";return w.jsxs(Pu,{defaultTitle:t.title,titleTemplate:u?t.titleTemplate:void 0,children:[l&&w.jsx("title",{children:l}),r&&!0&&!f&&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 Zb=(()=>{const e=zf.find(({path:t})=>t==="*");return e?{path:e.path,lazy:async()=>{const{frontmatter:t,...n}=await e.lazy();return{...n,element:w.jsx(Lu,{frontmatter:t,path:e.path,children:w.jsx($u,{children:w.jsx(n.default,{})})})}}}:{path:"*",lazy:void 0,element:w.jsx(Lu,{frontmatter:{layout:"minimal"},path:"*",children:w.jsx($u,{children:w.jsx(Kx,{})})})}})(),ov=[...zf.filter(({path:e})=>e!=="*").map(e=>({path:e.path,lazy:async()=>{const{frontmatter:t,...n}=await e.lazy();return{...n,element:w.jsx(Lu,{filePath:e.filePath,frontmatter:t,lastUpdatedAt:e.lastUpdatedAt,path:e.path,children:w.jsx($u,{children:w.jsx(n.default,{})})})}}})),Zb];async function Xb(e,t){var r;const n=(r=ur(e,window.location,t))==null?void 0:r.filter(o=>o.route.lazy);n&&(n==null?void 0:n.length)>0&&await Promise.all(n.map(async o=>{const i=await o.route.lazy();Object.assign(o.route,{...i,lazy:void 0})}))}function Jb(){const e=document.querySelectorAll('style[data-vocs-temp-style="true"]');for(const t of e)t.remove()}qb();async function qb(){const e=F0().basePath;await Xb(ov,e),Jb();const t=lx(ov,{basename:e});w0(document.getElementById("app"),w.jsx($x,{children:w.jsx(mx,{router:t})}))}export{c9 as $,x9 as C,nn as L,g9 as R,w9 as T,u9 as a,f9 as b,d9 as c,I as d,Je as e,B7 as f,y9 as g,w as j,e_ as u}; +*/var Bp=Object.getOwnPropertySymbols,x_=Object.prototype.hasOwnProperty,C_=Object.prototype.propertyIsEnumerable;function E_(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function __(){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 S_=__()?Object.assign:function(e,t){for(var n,r=E_(e),o,i=1;i=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},A_=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,"'")},O_=function(t){var n=co(t,q.TITLE),r=co(t,Mi.TITLE_TEMPLATE);if(r&&n)return r.replace(/%s/g,function(){return Array.isArray(n)?n.join(""):n});var o=co(t,Mi.DEFAULT_TITLE);return n||o||void 0},I_=function(t){return co(t,Mi.ON_CHANGE_CLIENT_STATE)||function(){}},tc=function(t,n){return n.filter(function(r){return typeof r[t]<"u"}).map(function(r){return r[t]}).reduce(function(r,o){return ht({},r,o)},{})},L_=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},M_=function(t){return{baseTag:L_([Ee.HREF,Ee.TARGET],t),bodyAttributes:tc(vr.BODY,t),defer:co(t,Mi.DEFER),encode:co(t,Mi.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:tc(vr.HTML,t),linkTags:Zo(q.LINK,[Ee.REL,Ee.HREF],t),metaTags:Zo(q.META,[Ee.NAME,Ee.CHARSET,Ee.HTTPEQUIV,Ee.PROPERTY,Ee.ITEM_PROP],t),noscriptTags:Zo(q.NOSCRIPT,[Ee.INNER_HTML],t),onChangeClientState:I_(t),scriptTags:Zo(q.SCRIPT,[Ee.SRC,Ee.INNER_HTML],t),styleTags:Zo(q.STYLE,[Ee.CSS_TEXT],t),title:O_(t),titleAttributes:tc(vr.TITLE,t)}},Ru=function(){var e=Date.now();return function(t){var n=Date.now();n-e>16?(e=n,t(n)):setTimeout(function(){Ru(t)},0)}}(),Hp=function(t){return clearTimeout(t)},j_=typeof window<"u"?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||Ru:global.requestAnimationFrame||Ru,D_=typeof window<"u"?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||Hp:global.cancelAnimationFrame||Hp,F_=function(t){return console&&typeof console.warn=="function"&&console.warn(t)},Xo=null,z_=function(t){Xo&&D_(Xo),t.defer?Xo=j_(function(){Vp(t,function(){Xo=null})}):(Vp(t),Xo=null)},Vp=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;Nu(q.BODY,o),Nu(q.HTML,i),B_(d,p);var y={baseTag:zr(q.BASE,r),linkTags:zr(q.LINK,a),metaTags:zr(q.META,l),noscriptTags:zr(q.NOSCRIPT,s),scriptTags:zr(q.SCRIPT,f),styleTags:zr(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)},Y1=function(t){return Array.isArray(t)?t.join(""):t},B_=function(t,n){typeof t<"u"&&document.title!==t&&(document.title=Y1(t)),Nu(q.TITLE,n)},Nu=function(t,n){var r=document.getElementsByTagName(t)[0];if(r){for(var o=r.getAttribute(Vt),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(Vt):r.getAttribute(Vt)!==l.join(",")&&r.setAttribute(Vt,l.join(","))}},zr=function(t,n){var r=document.head||document.querySelector(q.HEAD),o=r.querySelectorAll(t+"["+Vt+"]"),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(Vt,"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}},G1=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},"")},U_=function(t,n,r,o){var i=G1(r),a=Y1(n);return i?"<"+t+" "+Vt+'="true" '+i+">"+ku(a,o)+"":"<"+t+" "+Vt+'="true">'+ku(a,o)+""},H_=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=T_.indexOf(t)===-1;return o+"<"+t+" "+Vt+'="true" '+a+(s?"/>":">"+l+"")},"")},Q1=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(t).reduce(function(r,o){return r[Sl[o]||o]=t[o],r},n)},V_=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(t).reduce(function(r,o){return r[$_[o]||o]=t[o],r},n)},W_=function(t,n,r){var o,i=(o={key:n},o[Vt]=!0,o),a=Q1(r,i);return[Z.createElement(q.TITLE,a,n)]},K_=function(t,n){return n.map(function(r,o){var i,a=(i={key:o},i[Vt]=!0,i);return Object.keys(r).forEach(function(l){var s=Sl[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]}),Z.createElement(t,a)})},an=function(t,n,r){switch(t){case q.TITLE:return{toComponent:function(){return W_(t,n.title,n.titleAttributes)},toString:function(){return U_(t,n.title,n.titleAttributes,r)}};case vr.BODY:case vr.HTML:return{toComponent:function(){return Q1(n)},toString:function(){return G1(n)}};default:return{toComponent:function(){return K_(t,n)},toString:function(){return H_(t,n,r)}}}},Z1=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:an(q.BASE,n,o),bodyAttributes:an(vr.BODY,r,o),htmlAttributes:an(vr.HTML,i,o),link:an(q.LINK,a,o),meta:an(q.META,l,o),noscript:an(q.NOSCRIPT,s,o),script:an(q.SCRIPT,u,o),style:an(q.STYLE,f,o),title:an(q.TITLE,{title:d,titleAttributes:p},o)}},Y_=function(t){var n,r;return r=n=function(o){P_(i,o);function i(){return R_(this,i),A_(this,o.apply(this,arguments))}return i.prototype.shouldComponentUpdate=function(l){return!w_(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 ht({},f,(s={},s[u.type]=[].concat(f[u.type]||[],[ht({},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 ht({},c,(s={},s[f.type]=p,s.titleAttributes=ht({},d),s));case q.BODY:return ht({},c,{bodyAttributes:ht({},d)});case q.HTML:return ht({},c,{htmlAttributes:ht({},d)})}return ht({},c,(u={},u[f.type]=ht({},d),u))},i.prototype.mapArrayTypeChildrenToProps=function(l,s){var u=ht({},s);return Object.keys(l).forEach(function(f){var c;u=ht({},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 Z.Children.forEach(l,function(c){if(!(!c||!c.props)){var d=c.props,p=d.children,y=Up(d,["children"]),g=V_(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=Up(l,["children"]),f=ht({},u);return s&&(f=this.mapChildrenToProps(s,f)),Z.createElement(t,f)},N_(i,null,[{key:"canUseDOM",set:function(l){t.canUseDOM=l}}]),i}(Z.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=Z1({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),o},r},G_=function(){return null},Q_=h_(M_,z_,Z1)(G_),Pu=Y_(Q_);Pu.renderStatic=Pu.rewind;var nc="vocs_Anchor",Z_="vocs_Autolink";function X_(e){const{pathname:t}=Re();return w.jsx("a",{...e,className:I(e.className,Z_),href:`${t}${e.href}`})}function J_(e){const{children:t,href:n}=e,{pathname:r}=Re();return t&&typeof t=="object"&&"props"in t&&t.props["data-autolink-icon"]?w.jsx(X_,{className:I(e.className,nc),...e}):n!=null&&n.match(/^#/)?w.jsx("a",{className:I(e.className,nc),...e,href:`${r}${n}`}):w.jsx(nn,{className:I(e.className,nc),...e})}var q_="vocs_Callout_danger",eS="vocs_Callout_info",tS="vocs_Callout_note",X1="vocs_Callout",nS="vocs_Callout_success",rS="vocs_Callout_tip",oS="vocs_Callout_warning";const iS=Object.freeze(Object.defineProperty({__proto__:null,danger:q_,info:eS,note:tS,root:X1,success:nS,tip:rS,warning:oS},Symbol.toStringTag,{value:"Module"}));function aS({className:e,children:t,type:n}){return w.jsx("aside",{className:I(e,X1,iS[n]),children:t})}var lS="vocs_Aside";function sS(e){const t=I(e.className,lS);return"data-callout"in e?w.jsx(aS,{className:t,type:e["data-callout"],children:e.children}):w.jsx("aside",{...e,className:t})}var cS="vocs_Blockquote";function uS(e){return w.jsx("blockquote",{...e,className:I(e.className,cS)})}var fS="vocs_Code";function dS(e){const t=hS(e.children);return w.jsx("code",{...e,className:I(e.className,fS),children:t})}function hS(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 pS="vocs_Details";function vS(e){return w.jsx("details",{...e,className:I(e.className,pS)})}var mS="vocs_Authors_authors",gS="vocs_Authors_link",yS="vocs_Authors",Wp="vocs_Authors_separator";function J1(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:yS,children:[i,o&&(i?" by ":"By "),w.jsx("span",{className:mS,children:o==null?void 0:o.map((a,l)=>{const{text:s,url:u}=wS(a);return w.jsxs(h.Fragment,{children:[u?w.jsx("a",{className:gS,href:u,target:"_blank",rel:"noopener noreferrer",children:s}):s,lw.jsxs(h.Fragment,{children:[w.jsx("div",{className:ES,children:w.jsxs(Gn,{to:e.path,children:[w.jsx("h2",{className:bS,children:e.title}),w.jsx(J1,{authors:e.authors,date:e.date}),w.jsxs("p",{className:xS,children:[e.description," ",w.jsx("span",{className:_S,children:"[→]"})]})]})}),tw.jsxs(h.Fragment,{children:[w.jsx("div",{className:IS,children:t.name}),t.items.map((r,o)=>{var i;return w.jsx("div",{className:AS,style:Gt({[kS]:r.length.toString(),[RS]:`${((i=t.height)==null?void 0:i.toString())??"40"}px`}),children:r.map((a,l)=>w.jsx(nn,{className:I(TS,a?OS:void 0),hideExternalIcon:!0,href:a==null?void 0:a.link,variant:"styleless",children:w.jsx("img",{className:NS,src:a==null?void 0:a.image,alt:a==null?void 0:a.name})},l))},o)})]},n))})}var MS="var(--vocs_AutolinkIcon_iconUrl)",jS="vocs_AutolinkIcon";function DS(e){const{basePath:t}=Je(),n=t;return w.jsx("div",{...e,className:I(e.className,jS),style:Gt({[MS]:`url(${n}/.vocs/icons/link.svg)`})})}const rc="rovingFocusGroup.onEntryFocus",FS={bubbles:!1,cancelable:!0},sd="RovingFocusGroup",[Au,q1,zS]=Kl(sd),[BS,ey]=En(sd,[zS]),[US,HS]=BS(sd),VS=h.forwardRef((e,t)=>h.createElement(Au.Provider,{scope:e.__scopeRovingFocusGroup},h.createElement(Au.Slot,{scope:e.__scopeRovingFocusGroup},h.createElement(WS,Y({},e,{ref:t}))))),WS=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=Wl(i),[y=null,g]=rr({prop:a,defaultProp:l,onChange:s}),[C,v]=h.useState(!1),m=at(u),x=q1(n),E=h.useRef(!1),[S,_]=h.useState(0);return h.useEffect(()=>{const b=c.current;if(b)return b.addEventListener(rc,m),()=>b.removeEventListener(rc,m)},[m]),h.createElement(US,{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(()=>_(b=>b+1),[]),onFocusableItemRemove:h.useCallback(()=>_(b=>b-1),[])},h.createElement(fe.div,Y({tabIndex:C||S===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 T=new CustomEvent(rc,FS);if(b.currentTarget.dispatchEvent(T),!T.defaultPrevented){const P=x().filter(z=>z.focusable),j=P.find(z=>z.active),L=P.find(z=>z.id===y),N=[j,L,...P].filter(Boolean).map(z=>z.ref.current);ty(N)}}E.current=!1}),onBlur:ae(e.onBlur,()=>v(!1))})))}),KS="RovingFocusGroupItem",YS=h.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:i,...a}=e,l=rn(),s=i||l,u=HS(KS,n),f=u.currentTabStopId===s,c=q1(n),{onFocusableItemAdd:d,onFocusableItemRemove:p}=u;return h.useEffect(()=>{if(r)return d(),()=>p()},[r,d,p]),h.createElement(Au.ItemSlot,{scope:n,id:s,focusable:r,active:o},h.createElement(fe.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=ZS(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?XS(v,m+1):v.slice(m+1)}setTimeout(()=>ty(v))}})})))}),GS={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function QS(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function ZS(e,t,n){const r=QS(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return GS[r]}function ty(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function XS(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const JS=VS,qS=YS,ny="Tabs",[e9,a$]=En(ny,[ey]),ry=ey(),[t9,cd]=e9(ny),n9=h.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:o,defaultValue:i,orientation:a="horizontal",dir:l,activationMode:s="automatic",...u}=e,f=Wl(l),[c,d]=rr({prop:r,onChange:o,defaultProp:i});return h.createElement(t9,{scope:n,baseId:rn(),value:c,onValueChange:d,orientation:a,dir:f,activationMode:s},h.createElement(fe.div,Y({dir:f,"data-orientation":a},u,{ref:t})))}),r9="TabsList",o9=h.forwardRef((e,t)=>{const{__scopeTabs:n,loop:r=!0,...o}=e,i=cd(r9,n),a=ry(n);return h.createElement(JS,Y({asChild:!0},a,{orientation:i.orientation,dir:i.dir,loop:r}),h.createElement(fe.div,Y({role:"tablist","aria-orientation":i.orientation},o,{ref:t})))}),i9="TabsTrigger",a9=h.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,disabled:o=!1,...i}=e,a=cd(i9,n),l=ry(n),s=oy(a.baseId,r),u=iy(a.baseId,r),f=r===a.value;return h.createElement(qS,Y({asChild:!0},l,{focusable:!o,active:f}),h.createElement(fe.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)})})))}),l9="TabsContent",s9=h.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,forceMount:o,children:i,...a}=e,l=cd(l9,n),s=oy(l.baseId,r),u=iy(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(_n,{present:o||f},({present:d})=>h.createElement(fe.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 oy(e,t){return`${e}-trigger-${t}`}function iy(e,t){return`${e}-content-${t}`}const c9=n9,u9=o9,f9=a9,d9=s9;var h9="vocs_Tabs_content",p9="vocs_Tabs_list",v9="vocs_Tabs",m9="vocs_Tabs_trigger";function g9(e){return w.jsx(c9,{...e,className:I(e.className,v9)})}function y9(e){return w.jsx(u9,{...e,className:I(e.className,p9)})}function w9(e){return w.jsx(f9,{...e,className:I(e.className,m9)})}function x9(e){return w.jsx(d9,{...e,className:I(e.className,h9)})}var C9="vocs_CodeGroup";function E9({children:e}){if(!Array.isArray(e))return null;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(g9,{className:C9,defaultValue:t[0].title,children:[w.jsx(y9,{"aria-label":"Code group",children:t.map(({title:n},r)=>w.jsx(w9,{value:n||r.toString(),children:n},n||r.toString()))}),t.map(({title:n,content:r},o)=>{var a,l;const i=(l=(a=r.props)==null?void 0:a.className)==null?void 0:l.includes("shiki");return w.jsx(x9,{"data-shiki":i,value:n||o.toString(),children:r},n||o.toString())})]})}var _9="vocs_Div",S9="vocs_Step_content",b9="vocs_Step",ay="vocs_Step_title",$9="vocs_H2";function ly(e){return w.jsx(Ro,{...e,className:I(e.className,$9),level:2})}var T9="vocs_H3";function sy(e){return w.jsx(Ro,{...e,className:I(e.className,T9),level:3})}var k9="vocs_H4";function cy(e){return w.jsx(Ro,{...e,className:I(e.className,k9),level:4})}var R9="vocs_H5";function uy(e){return w.jsx(Ro,{...e,className:I(e.className,R9),level:5})}var N9="vocs_H6";function fy(e){return w.jsx(Ro,{...e,className:I(e.className,N9),level:6})}function P9({children:e,className:t,title:n,titleLevel:r=2}){const o=(()=>{if(r===2)return ly;if(r===3)return sy;if(r===4)return cy;if(r===5)return uy;if(r===6)return fy;throw new Error("Invalid.")})();return w.jsxs("div",{className:I(t,b9),children:[typeof n=="string"?w.jsx(o,{className:ay,children:n}):n,w.jsx("div",{className:S9,children:e})]})}var A9="vocs_Steps";function O9({children:e,className:t}){return w.jsx("div",{className:I(t,A9),children:e})}function I9({children:e}){return Array.isArray(e)?w.jsx(O9,{children:e.map(({props:t},n)=>{const[r,...o]=Array.isArray(t.children)?t.children:[t.children];return w.jsx(P9,{title:h.cloneElement(r,{className:ay}),children:o},n)})}):null}var L9="vocs_Subtitle";function M9({children:e}){return w.jsx("div",{className:L9,role:"doc-subtitle",children:e})}function j9(e){const{layout:t}=Rr(),n=I(e.className,_9);return e.className==="code-group"?w.jsx(E9,{...e,className:n}):"data-authors"in e?w.jsx(J1,{}):"data-blog-posts"in e?w.jsx($S,{}):"data-sponsors"in e?w.jsx(LS,{}):"data-autolink-icon"in e&&t==="docs"?w.jsx(DS,{...e,className:n}):"data-vocs-steps"in e?w.jsx(I9,{...e,className:n}):e.role==="doc-subtitle"?w.jsx(M9,{...e}):w.jsx("div",{...e,className:n})}var D9="vocs_Figcaption";function F9(e){const t=I(e.className,D9);return w.jsx("figcaption",{...e,className:t})}var z9="vocs_Figure";function B9(e){const t=I(e.className,z9);return w.jsx("figure",{...e,className:t})}var U9="vocs_Header";function H9(e){return w.jsx("header",{...e,className:I(e.className,U9)})}var V9="vocs_HorizontalRule";function W9(e){return w.jsx("hr",{...e,className:I(e.className,V9)})}var K9="vocs_List_ordered",Y9="vocs_List",G9="vocs_List_unordered";function Yp({ordered:e,...t}){const n=e?"ol":"ul";return w.jsx(n,{...t,className:I(t.className,Y9,e?K9:G9)})}var Q9="vocs_ListItem";function Z9(e){return w.jsx("li",{...e,className:I(e.className,Q9)})}function X9(){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,.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 J9="vocs_CopyButton";function q9(){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 eb(){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 tb({copy:e,copied:t}){return w.jsx("button",{className:J9,onClick:e,type:"button",children:t?w.jsx(st,{label:"Copied",size:"14px",icon:q9}):w.jsx(st,{label:"Copy",size:"18px",icon:eb})})}var nb="vocs_CodeBlock";function rb(e){return w.jsx("div",{...e,className:I(e.className,nb)})}function ob(){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 ib(){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 ab="vocs_CodeTitle";function lb({children:e,className:t,language:n,...r}){return w.jsxs("div",{...r,className:I(t,ab),children:[n==="bash"?w.jsx(st,{label:"Terminal",size:"14px",icon:ib,style:{marginTop:3}}):e.match(/\.(.*)$/)?w.jsx(st,{label:"File",size:"14px",icon:ob,style:{marginTop:1}}):null,e]})}var sb="vocs_Pre",cb="vocs_Pre_wrapper";function ub({children:e,className:t,...n}){const{copied:r,copy:o,ref:i}=X9();function a(u){return!u||typeof u!="object"?u:"props"in u?{...u,props:{...u.props,children:Array.isArray(u.props.children)?u.props.children.map(a):a(u.props.children)}}:u}const l=h.useMemo(()=>a(e),[e]);return(u=>t!=null&&t.includes("shiki")?w.jsxs(rb,{children:[n["data-title"]&&w.jsx(lb,{language:n["data-lang"],children:n["data-title"]}),u]}):u)(w.jsx("div",{className:I(cb),children:w.jsxs("pre",{ref:i,...n,className:I(t,sb),children:["data-language"in n&&w.jsx(tb,{copied:r,copy:o}),l]})}))}var fb="vocs_Footnotes";function db(e){return w.jsx("section",{...e,className:I(e.className,fb)})}var Gp="vocs_Section";function hb(e){return"data-footnotes"in e?w.jsx(db,{...e,className:I(e.className,Gp)}):w.jsx("section",{...e,className:I(e.className,Gp)})}var Qp="vocs_Span";function Wa(e,t){if(!e||!t)return!1;const n=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&Su(n)){let r=t;for(;r;){if(e===r)return!0;r=r.parentNode||r.host}}return!1}function Ou(e,t){const n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function Ta(e){return(e==null?void 0:e.ownerDocument)||document}function pb(e){return"composedPath"in e?e.composedPath()[0]:e.target}const dy={...Bu},vb=dy.useInsertionEffect,mb=vb||(e=>e());function gb(e){const t=h.useRef(()=>{});return mb(()=>{t.current=e}),h.useCallback(function(){for(var n=arguments.length,r=new Array(n),o=0;o"floating-ui-"+Math.random().toString(36).slice(2,6)+yb++;function wb(){const[e,t]=h.useState(()=>Zp?Xp():void 0);return _o(()=>{e==null&&t(Xp())},[]),h.useEffect(()=>{Zp=!0},[]),e}const xb=dy.useId,hy=xb||wb,Cb=h.forwardRef(function(t,n){const{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,C=hy();if(!o)return null;const v=u*2,m=v/2,x=a/2*(s/-8+1),E=l/2*s/4,[S,_]=r.split("-"),b=y1.isRTL(o),$=!!d,T=S==="top"||S==="bottom",P=f&&_==="end"?"bottom":"top";let j=f&&_==="end"?"right":"left";f&&b&&(j=_==="end"?"left":"right");const L=(i==null?void 0:i.x)!=null?f||i.x:"",D=(i==null?void 0:i.y)!=null?f||i.y:"",N=d||"M0,0"+(" H"+a)+(" L"+(a-x)+","+(l-E))+(" Q"+a/2+","+l+" "+x+","+(l-E))+" Z",z={top:$?"rotate(180deg)":"",left:$?"rotate(90deg)":"rotate(-90deg)",bottom:$?"":"rotate(180deg)",right:$?"rotate(-90deg)":"rotate(90deg)"}[S];return h.createElement("svg",Iu({},g,{"aria-hidden":!0,ref:n,width:$?a:a+v,height:a,viewBox:"0 0 "+a+" "+(l>a?l:a),style:{position:"absolute",pointerEvents:"none",[j]:L,[P]:D,[S]:T||$?"100%":"calc(100% - "+v/2+"px)",transform:""+z+(p??""),...y}}),v>0&&h.createElement("path",{clipPath:"url(#"+C+")",fill:"none",stroke:c,strokeWidth:v+(d?0:1),d:N}),h.createElement("path",{stroke:v&&!d?g.fill:"none",d:N}),h.createElement("clipPath",{id:C},h.createElement("rect",{x:-m,y:m*($?-1:1),width:a+v,height:a})))});function Eb(){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 _b=h.createContext(null),Sb=h.createContext(null),py=()=>{var e;return((e=h.useContext(_b))==null?void 0:e.id)||null},vy=()=>h.useContext(Sb);function bb(e){return"data-floating-ui-"+e}function Jp(e){const t=h.useRef(e);return _o(()=>{t.current=e}),t}const qp=bb("safe-polygon");function oc(e,t,n){return n&&!Ou(n)?0:typeof e=="number"?e:e==null?void 0:e[t]}function $b(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=vy(),C=py(),v=Jp(c),m=Jp(f),x=h.useRef(),E=h.useRef(),S=h.useRef(),_=h.useRef(),b=h.useRef(!0),$=h.useRef(!1),T=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(_.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=Ta(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 U=oc(m.current,"close",x.current);U&&!S.current?(clearTimeout(E.current),E.current=setTimeout(()=>r(!1,N,V),U)):z&&(clearTimeout(E.current),r(!1,N,V))},[m,r]),L=h.useCallback(()=>{T.current(),S.current=void 0},[]),D=h.useCallback(()=>{if($.current){const N=Ta(s.floating.current).body;N.style.pointerEvents="",N.removeAttribute(qp),$.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&&!Ou(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;T.current();const F=Ta(l);if(clearTimeout(_.current),v.current){n||clearTimeout(E.current),S.current=v.current({...e,tree:g,x:O.clientX,y:O.clientY,onClose(){D(),L(),j(O,!0,"safe-polygon")}});const J=S.current;F.addEventListener("mousemove",J),T.current=()=>{F.removeEventListener("mousemove",J)};return}(x.current==="touch"?!Wa(l,O.relatedTarget):!0)&&j(O)}function U(O){N()||v.current==null||v.current({...e,tree:g,x:O.clientX,y:O.clientY,onClose(){D(),L(),j(O)}})(O)}if(nt(a)){const O=a;return n&&O.addEventListener("mouseleave",U),l==null||l.addEventListener("mouseleave",U),y&&O.addEventListener("mousemove",z,{once:!0}),O.addEventListener("mouseenter",z),O.addEventListener("mouseleave",V),()=>{n&&O.removeEventListener("mouseleave",U),l==null||l.removeEventListener("mouseleave",U),y&&O.removeEventListener("mousemove",z),O.removeEventListener("mouseenter",z),O.removeEventListener("mouseleave",V)}}},[a,l,u,e,d,p,y,j,L,D,r,n,g,m,v,o]),_o(()=>{var N;if(u&&n&&(N=v.current)!=null&&N.__options.blockPointerEvents&&P()){const V=Ta(l).body;if(V.setAttribute(qp,""),V.style.pointerEvents="none",$.current=!0,nt(a)&&l){var z;const U=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=""),U.style.pointerEvents="auto",l.style.pointerEvents="auto",()=>{U.style.pointerEvents="",l.style.pointerEvents=""}}}},[u,n,C,l,a,g,v,P]),_o(()=>{n||(x.current=void 0,L(),D())},[n,L,D]),h.useEffect(()=>()=>{L(),clearTimeout(E.current),clearTimeout(_.current),D()},[u,a,L,D]),h.useMemo(()=>{if(!u)return{};function N(z){x.current=z.pointerType}return{reference:{onPointerDown:N,onPointerEnter:N,onMouseMove(z){function V(){b.current||r(!0,z.nativeEvent,"hover")}d&&!Ou(x.current)||n||p===0||(clearTimeout(_.current),x.current==="touch"?V():_.current=setTimeout(V,p))}},floating:{onMouseEnter(){clearTimeout(E.current)},onMouseLeave(z){j(z.nativeEvent,!1)}}}},[u,d,n,p,r,j])}function Tb(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 kb(e){var t;e===void 0&&(e={});const{open:n=!1,onOpenChange:r,nodeId:o}=e,[i,a]=h.useState(null),[l,s]=h.useState(null),f=((t=e.elements)==null?void 0:t.reference)||i;_o(()=>{f&&(g.current=f)},[f]);const c=E1({...e,elements:{...e.elements,...l&&{reference:l}}}),d=vy(),p=py()!=null,y=gb(($,T,P)=>{C.current.openEvent=$?T:void 0,v.emit("openchange",{open:$,event:T,reason:P,nested:p}),r==null||r($,T,P)}),g=h.useRef(null),C=h.useRef({}),v=h.useState(()=>Eb())[0],m=hy(),x=h.useCallback($=>{const T=nt($)?{getBoundingClientRect:()=>$.getBoundingClientRect(),contextElement:$}:$;s(T),c.refs.setReference(T)},[c.refs]),E=h.useCallback($=>{(nt($)||$===null)&&(g.current=$,a($)),(nt(c.refs.reference.current)||c.refs.reference.current===null||$!==null&&!nt($))&&c.refs.setReference($)},[c.refs]),S=h.useMemo(()=>({...c.refs,setReference:E,setPositionReference:x,domReference:g}),[c.refs,E,x]),_=h.useMemo(()=>({...c.elements,domReference:f}),[c.elements,f]),b=h.useMemo(()=>({...c,refs:S,elements:_,dataRef:C,nodeId:o,floatingId:m,events:v,open:n,onOpenChange:y}),[c,o,m,v,n,y,S,_]);return _o(()=>{const $=d==null?void 0:d.nodesRef.current.find(T=>T.id===o);$&&($.context=b)}),h.useMemo(()=>({...c,context:b,refs:S,elements:_}),[c,S,_,b])}const ev="active",tv="selected";function ic(e,t,n){const r=new Map,o=n==="item";let i=e;if(o&&e){const{[ev]:a,[tv]: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&&[ev,tv].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 Rb(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 nv(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 Nb(e,t){return e[0]>=t.x&&e[0]<=t.x+t.width&&e[1]>=t.y&&e[1]<=t.y+t.height}function Pb(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 S(){clearTimeout(o),C()}if(clearTimeout(o),!g.domReference||!g.floating||y==null||d==null||p==null)return;const{clientX:_,clientY:b}=E,$=[_,b],T=pb(E),P=E.type==="mouseleave",j=Wa(g.floating,T),L=Wa(g.domReference,T),D=g.domReference.getBoundingClientRect(),N=g.floating.getBoundingClientRect(),z=y.split("-")[0],V=d>N.right-N.width/2,U=p>N.bottom-N.height/2,O=Nb($,D),F=N.width>D.width,K=N.height>D.height,J=(F?D:N).left,se=(F?D:N).right,Be=(K?D:N).top,ye=(K?D:N).bottom;if(j&&(i=!0,!P))return;if(L&&(i=!1),L&&!P){i=!0;return}if(P&&nt(E.relatedTarget)&&Wa(g.floating,E.relatedTarget)||m&&Tb(m.nodesRef.current,v).some(Ue=>{let{context:xe}=Ue;return xe==null?void 0:xe.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 S();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,ye],[N.right-1,Be],[D.left+1,Be],[D.left+1,ye]];break;case"right":Ne=[[D.right-1,ye],[D.right-1,Be],[N.left+1,Be],[N.left+1,ye]];break}function we(Ue){let[xe,Se]=Ue;switch(z){case"top":{const jt=[F?xe+t/2:V?xe+t*4:xe-t*4,Se+t+1],be=[F?xe-t/2:V?xe+t*4:xe-t*4,Se+t+1],ft=[[N.left,V||F?N.bottom-t:N.top],[N.right,V?F?N.bottom-t:N.top:N.bottom-t]];return[jt,be,...ft]}case"bottom":{const jt=[F?xe+t/2:V?xe+t*4:xe-t*4,Se-t],be=[F?xe-t/2:V?xe+t*4:xe-t*4,Se-t],ft=[[N.left,V||F?N.top+t:N.bottom],[N.right,V?F?N.top+t:N.bottom:N.top+t]];return[jt,be,...ft]}case"left":{const jt=[xe+t+1,K?Se+t/2:U?Se+t*4:Se-t*4],be=[xe+t+1,K?Se-t/2:U?Se+t*4:Se-t*4];return[...[[U||K?N.right-t:N.left,N.top],[U?K?N.right-t:N.left:N.right-t,N.bottom]],jt,be]}case"right":{const jt=[xe-t,K?Se+t/2:U?Se+t*4:Se-t*4],be=[xe-t,K?Se-t/2:U?Se+t*4:Se-t*4],ft=[[U||K?N.left+t:N.right,N.top],[U?K?N.left+t:N.right:N.left+t,N.bottom]];return[jt,be,...ft]}}}if(!nv([_,b],Ne)){if(i&&!O)return S();if(!P&&r){const Ue=u(E.clientX,E.clientY);if(Ue!==null&&Ue<.1)return S()}nv([_,b],we([d,p]))?!i&&r&&(o=window.setTimeout(S,40)):S()}}};return f.__options={blockPointerEvents:n},f}function Ab({children:e,...t}){const[n,r]=e,o=h.useRef(null),[i,a]=h.useState(!1),{context:l,refs:s,floatingStyles:u}=kb({middleware:[x1({element:o}),c1(8),w1()],open:i,onOpenChange:a,placement:"bottom-start"}),f=$b(l,{handleClose:Pb()}),{getReferenceProps:c,getFloatingProps:d}=Rb([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(Cb,{ref:o,context:l,fill:Yh.background5,height:3,stroke:Yh.border2,strokeWidth:1,width:7}),w.jsx("div",{className:"twoslash-popup-scroll-container",children:y})]})]})}function Ob(e){var n;const t=I(e.className,Qp);return(n=e.className)!=null&&n.includes("twoslash-hover")?w.jsx(Ab,{...e,className:t}):w.jsx("span",{...e,className:I(e.className,Qp)})}var Ib="vocs_CalloutTitle";function Lb({className:e,children:t}){return w.jsx("strong",{className:I(e,Ib),children:t})}var rv="vocs_Strong";function Mb(e){return"data-callout-title"in e&&typeof e.children=="string"?w.jsx(Lb,{...e,className:I(e.className,rv),children:e.children}):w.jsx("strong",{...e,className:I(e.className,rv)})}var jb="vocs_Summary";function Db(e){return w.jsx("summary",{...e,className:I(e.className,jb)})}var Fb="vocs_Table";function zb(e){return w.jsx("table",{...e,className:I(e.className,Fb)})}var Bb="vocs_TableCell";function Ub(e){return w.jsx("td",{...e,className:I(e.className,Bb)})}var Hb="vocs_TableHeader";function Vb(e){return w.jsx("th",{...e,className:I(e.className,Hb)})}var Wb="vocs_TableRow";function Kb(e){return w.jsx("tr",{...e,className:I(e.className,Wb)})}const Yb={a:J_,aside:sS,blockquote:uS,code:dS,details:vS,div:j9,pre:ub,header:H9,figcaption:F9,figure:B9,h1:W0,h2:ly,h3:sy,h4:cy,h5:uy,h6:fy,hr:W9,kd:Rg,li:Z9,ol:e=>w.jsx(Yp,{ordered:!0,...e}),p:K0,section:hb,span:Ob,strong:Mb,summary:Db,table:zb,td:Ub,th:Vb,tr:Kb,ul:e=>w.jsx(Yp,{ordered:!1,...e})};function Gb(){const{pathname:e}=Re(),t=Je(),{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 Lu(e){const{children:t,filePath:n,frontmatter:r,lastUpdatedAt:o,path:i}=e,{pathname:a}=Re(),l=h.useRef();return h.useEffect(()=>{l.current=a}),w.jsxs(w.Fragment,{children:[w.jsx(Qb,{frontmatter:r}),typeof window<"u"&&w.jsx(xx,{}),w.jsx(t_,{components:Yb,children:w.jsx(j6,{frontmatter:r,path:i,children:w.jsx(Q0.Provider,{value:{filePath:n,frontmatter:r,lastUpdatedAt:o,previousPath:l.current},children:t})})})]})}function Qb({frontmatter:e}){const t=Je(),n=Gb(),{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),f=typeof window<"u"&&window.location.hostname==="localhost";return w.jsxs(Pu,{defaultTitle:t.title,titleTemplate:u?t.titleTemplate:void 0,children:[l&&w.jsx("title",{children:l}),r&&!0&&!f&&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 Zb=(()=>{const e=zf.find(({path:t})=>t==="*");return e?{path:e.path,lazy:async()=>{const{frontmatter:t,...n}=await e.lazy();return{...n,element:w.jsx(Lu,{frontmatter:t,path:e.path,children:w.jsx($u,{children:w.jsx(n.default,{})})})}}}:{path:"*",lazy:void 0,element:w.jsx(Lu,{frontmatter:{layout:"minimal"},path:"*",children:w.jsx($u,{children:w.jsx(Kx,{})})})}})(),ov=[...zf.filter(({path:e})=>e!=="*").map(e=>({path:e.path,lazy:async()=>{const{frontmatter:t,...n}=await e.lazy();return{...n,element:w.jsx(Lu,{filePath:e.filePath,frontmatter:t,lastUpdatedAt:e.lastUpdatedAt,path:e.path,children:w.jsx($u,{children:w.jsx(n.default,{})})})}}})),Zb];async function Xb(e,t){var r;const n=(r=ur(e,window.location,t))==null?void 0:r.filter(o=>o.route.lazy);n&&(n==null?void 0:n.length)>0&&await Promise.all(n.map(async o=>{const i=await o.route.lazy();Object.assign(o.route,{...i,lazy:void 0})}))}function Jb(){const e=document.querySelectorAll('style[data-vocs-temp-style="true"]');for(const t of e)t.remove()}qb();async function qb(){const e=F0().basePath;await Xb(ov,e),Jb();const t=lx(ov,{basename:e});w0(document.getElementById("app"),w.jsx($x,{children:w.jsx(mx,{router:t})}))}export{c9 as $,x9 as C,nn as L,g9 as R,w9 as T,u9 as a,f9 as b,d9 as c,I as d,Je as e,B7 as f,y9 as g,w as j,e_ as u}; diff --git a/assets/index-D48-5nCh.js b/assets/index-x2CuOhNl.js similarity index 98% rename from assets/index-D48-5nCh.js rename to assets/index-x2CuOhNl.js index 2be8bccb..cb34f7c6 100644 --- a/assets/index-D48-5nCh.js +++ b/assets/index-x2CuOhNl.js @@ -1 +1 @@ -import{j as e,L as b,d as s,e as _,f as P,R as y,g as N,T as r,C as l,u as j}from"./index-CbNDQPNV.js";var H="vocs_Button_button",w="vocs_Button_button_accent";function k({children:t,className:n,href:i,variant:v}){return e.jsx(b,{className:s(n,H,v==="accent"&&w),href:i,variant:"styleless",children:t})}var L="vocs_HomePage_button",C="vocs_HomePage_buttons",M="vocs_HomePage_description",B="vocs_HomePage_logo",c="vocs_HomePage_packageManager",I="vocs_HomePage",D="vocs_HomePage_tabs",d="vocs_HomePage_tabsContent",R="vocs_HomePage_tabsList",T="vocs_HomePage_tagline",$="vocs_HomePage_title";function m({children:t,className:n}){return e.jsx("div",{className:s(n,I),children:t})}function h({className:t}){const{logoUrl:n,title:i}=_();return n?e.jsx("div",{className:s(t,B),children:e.jsx(P,{})}):e.jsx("h1",{className:s(t,$),children:i})}function A({children:t,className:n}){return e.jsx("div",{className:s(n,T),children:t})}function x({children:t,className:n}){return e.jsx("div",{className:s(n,M),children:t})}function g({children:t,className:n}){return e.jsx("div",{className:s(n,C),children:t})}function o(t){return e.jsx(k,{...t,className:s(L,t.className)})}function f({name:t,type:n="install"}){return e.jsxs(y,{className:D,defaultValue:"npm",children:[e.jsxs(N,{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:d,value:"npm",children:[e.jsx("span",{className:c,children:"npm"})," ",n==="init"?"init":"install"," ",t]}),e.jsxs(l,{className:d,value:"pnpm",children:[e.jsx("span",{className:c,children:"pnpm"})," ",n==="init"?"create":"install"," ",t]}),e.jsxs(l,{className:d,value:"yarn",children:[e.jsx("span",{className:c,children:"yarn"})," ",n==="init"?"create":"install"," ",t]})]})}const E=Object.freeze(Object.defineProperty({__proto__:null,Button:o,Buttons:g,Description:x,InstallPackage:f,Logo:h,Root:m,Tagline:A},Symbol.toStringTag,{value:"Module"})),u=({title:t,children:n})=>e.jsxs("div",{className:"w-full border rounded border-gray-500 p-4 text-left",children:[e.jsx("div",{className:"text-[--vocs-color_heading] text-lg py-2 font-bold",children:t}),e.jsx("div",{children:n})]}),O={layout:"landing",content:{width:"60rem"}};function p(t){const n={p:"p",...j(),...t.components};return E||a("HomePage",!1),o||a("HomePage.Button",!0),g||a("HomePage.Buttons",!0),x||a("HomePage.Description",!0),f||a("HomePage.InstallPackage",!0),h||a("HomePage.Logo",!0),m||a("HomePage.Root",!0),e.jsxs(m,{children:[e.jsxs("div",{className:"flex justify-between w-full flex-col md:flex-row gap-4",children:[e.jsxs("div",{className:"flex flex-col text-left",children:[e.jsx(h,{}),e.jsx(x,{children:"Typescript API to interact with Polkadot chains."}),e.jsxs(g,{className:"py-2",children:[e.jsx(o,{href:"/getting-started",variant:"accent",children:"Get started"}),e.jsx(o,{href:"https://github.com/polkadot-api/polkadot-api",children:"GitHub"})]})]}),e.jsx(f,{name:"polkadot-api",type:"i"})]}),e.jsxs("div",{className:"flex gap-2 flex-col md:flex-row mt-8",children:[e.jsx(u,{title:"Light client first",children:e.jsx(n.p,{children:"Built from the ground up for the light client, allowing the running of a node from the browser."})}),e.jsx(u,{title:"Fully typed API",children:e.jsx(n.p,{children:"IDEs show all the type information for every operation of a chain."})}),e.jsx(u,{title:"Lightweight",children:e.jsx(n.p,{children:"Minimal impact on the main bundle (under 50kB)."})})]}),e.jsxs("div",{className:"text-left w-full max-w-2xl p-2",children:[e.jsx("h2",{className:"text-[--vocs-color_heading] text-3xl py-4 border-b border-gray-500 mb-4",children:"Features"}),e.jsxs("ul",{className:"list-disc pl-5",children:[e.jsx("li",{children:"Connect to the chain through a light client, a WebSocket connection, or an extension."}),e.jsx("li",{children:"Perform storage queries or runtime calls."}),e.jsx("li",{children:"Generate the types of a chain through its current metadata."}),e.jsx("li",{children:"Compatibility checks."}),e.jsx("li",{children:"Multiple connections to different chains."}),e.jsx("li",{children:"Transaction API in read-only and read/write mode."}),e.jsx("li",{children:"Promise-based or Observable-based API for your needs."})]})]})]})}function S(t={}){const{wrapper:n}={...j(),...t.components};return n?e.jsx(n,{...t,children:e.jsx(p,{...t})}):p(t)}function a(t,n){throw new Error("Expected "+(n?"component":"object")+" `"+t+"` to be defined: you likely forgot to import, pass, or provide it.")}export{S as default,O as frontmatter}; +import{j as e,L as b,d as s,e as _,f as P,R as y,g as N,T as r,C as l,u as j}from"./index-O67QIW1D.js";var H="vocs_Button_button",w="vocs_Button_button_accent";function k({children:t,className:n,href:i,variant:v}){return e.jsx(b,{className:s(n,H,v==="accent"&&w),href:i,variant:"styleless",children:t})}var L="vocs_HomePage_button",C="vocs_HomePage_buttons",M="vocs_HomePage_description",B="vocs_HomePage_logo",c="vocs_HomePage_packageManager",I="vocs_HomePage",D="vocs_HomePage_tabs",d="vocs_HomePage_tabsContent",R="vocs_HomePage_tabsList",T="vocs_HomePage_tagline",$="vocs_HomePage_title";function m({children:t,className:n}){return e.jsx("div",{className:s(n,I),children:t})}function h({className:t}){const{logoUrl:n,title:i}=_();return n?e.jsx("div",{className:s(t,B),children:e.jsx(P,{})}):e.jsx("h1",{className:s(t,$),children:i})}function A({children:t,className:n}){return e.jsx("div",{className:s(n,T),children:t})}function x({children:t,className:n}){return e.jsx("div",{className:s(n,M),children:t})}function g({children:t,className:n}){return e.jsx("div",{className:s(n,C),children:t})}function o(t){return e.jsx(k,{...t,className:s(L,t.className)})}function f({name:t,type:n="install"}){return e.jsxs(y,{className:D,defaultValue:"npm",children:[e.jsxs(N,{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:d,value:"npm",children:[e.jsx("span",{className:c,children:"npm"})," ",n==="init"?"init":"install"," ",t]}),e.jsxs(l,{className:d,value:"pnpm",children:[e.jsx("span",{className:c,children:"pnpm"})," ",n==="init"?"create":"install"," ",t]}),e.jsxs(l,{className:d,value:"yarn",children:[e.jsx("span",{className:c,children:"yarn"})," ",n==="init"?"create":"install"," ",t]})]})}const E=Object.freeze(Object.defineProperty({__proto__:null,Button:o,Buttons:g,Description:x,InstallPackage:f,Logo:h,Root:m,Tagline:A},Symbol.toStringTag,{value:"Module"})),u=({title:t,children:n})=>e.jsxs("div",{className:"w-full border rounded border-gray-500 p-4 text-left",children:[e.jsx("div",{className:"text-[--vocs-color_heading] text-lg py-2 font-bold",children:t}),e.jsx("div",{children:n})]}),O={layout:"landing",content:{width:"60rem"}};function p(t){const n={p:"p",...j(),...t.components};return E||a("HomePage",!1),o||a("HomePage.Button",!0),g||a("HomePage.Buttons",!0),x||a("HomePage.Description",!0),f||a("HomePage.InstallPackage",!0),h||a("HomePage.Logo",!0),m||a("HomePage.Root",!0),e.jsxs(m,{children:[e.jsxs("div",{className:"flex justify-between w-full flex-col md:flex-row gap-4",children:[e.jsxs("div",{className:"flex flex-col text-left",children:[e.jsx(h,{}),e.jsx(x,{children:"Typescript API to interact with Polkadot chains."}),e.jsxs(g,{className:"py-2",children:[e.jsx(o,{href:"/getting-started",variant:"accent",children:"Get started"}),e.jsx(o,{href:"https://github.com/polkadot-api/polkadot-api",children:"GitHub"})]})]}),e.jsx(f,{name:"polkadot-api",type:"i"})]}),e.jsxs("div",{className:"flex gap-2 flex-col md:flex-row mt-8",children:[e.jsx(u,{title:"Light client first",children:e.jsx(n.p,{children:"Built from the ground up for the light client, allowing the running of a node from the browser."})}),e.jsx(u,{title:"Fully typed API",children:e.jsx(n.p,{children:"IDEs show all the type information for every operation of a chain."})}),e.jsx(u,{title:"Lightweight",children:e.jsx(n.p,{children:"Minimal impact on the main bundle (under 50kB)."})})]}),e.jsxs("div",{className:"text-left w-full max-w-2xl p-2",children:[e.jsx("h2",{className:"text-[--vocs-color_heading] text-3xl py-4 border-b border-gray-500 mb-4",children:"Features"}),e.jsxs("ul",{className:"list-disc pl-5",children:[e.jsx("li",{children:"Connect to the chain through a light client, a WebSocket connection, or an extension."}),e.jsx("li",{children:"Perform storage queries or runtime calls."}),e.jsx("li",{children:"Generate the types of a chain through its current metadata."}),e.jsx("li",{children:"Compatibility checks."}),e.jsx("li",{children:"Multiple connections to different chains."}),e.jsx("li",{children:"Transaction API in read-only and read/write mode."}),e.jsx("li",{children:"Promise-based or Observable-based API for your needs."})]})]})]})}function S(t={}){const{wrapper:n}={...j(),...t.components};return n?e.jsx(n,{...t,children:e.jsx(p,{...t})}):p(t)}function a(t,n){throw new Error("Expected "+(n?"component":"object")+" `"+t+"` to be defined: you likely forgot to import, pass, or provide it.")}export{S as default,O as frontmatter}; diff --git a/assets/polkadot_api-Dk3sjqrm.js b/assets/polkadot_api-BdReTaME.js similarity index 89% rename from assets/polkadot_api-Dk3sjqrm.js rename to assets/polkadot_api-BdReTaME.js index c7112fff..f7505a91 100644 --- a/assets/polkadot_api-Dk3sjqrm.js +++ b/assets/polkadot_api-BdReTaME.js @@ -1,2 +1,2 @@ -import{u as a,j as t}from"./index-CbNDQPNV.js";const i={title:"Polkadot-API",description:"undefined"};function o(n){const e={a:"a",div:"div",h1:"h1",header:"header",p:"p",...a(),...n.components};return t.jsxs(t.Fragment,{children:[t.jsx(e.header,{children:t.jsxs(e.h1,{id:"polkadot-api",children:["Polkadot-API",t.jsx(e.a,{"aria-hidden":"true",tabIndex:"-1",href:"#polkadot-api",children:t.jsx(e.div,{"data-autolink-icon":!0})})]})}),` +import{u as a,j as t}from"./index-O67QIW1D.js";const i={title:"Polkadot-API",description:"undefined"};function o(n){const e={a:"a",div:"div",h1:"h1",header:"header",p:"p",...a(),...n.components};return t.jsxs(t.Fragment,{children:[t.jsx(e.header,{children:t.jsxs(e.h1,{id:"polkadot-api",children:["Polkadot-API",t.jsx(e.a,{"aria-hidden":"true",tabIndex:"-1",href:"#polkadot-api",children:t.jsx(e.div,{"data-autolink-icon":!0})})]})}),` `,t.jsx(e.p,{children:"polkadot-api"})]})}function r(n={}){const{wrapper:e}={...a(),...n.components};return e?t.jsx(e,{...n,children:t.jsx(o,{...n})}):o(n)}export{r as default,i as frontmatter}; diff --git a/assets/providers-C_6uDEij.js b/assets/providers-BIDLrsp-.js similarity index 99% rename from assets/providers-C_6uDEij.js rename to assets/providers-BIDLrsp-.js index a829fbcb..37ea9cfb 100644 --- a/assets/providers-C_6uDEij.js +++ b/assets/providers-BIDLrsp-.js @@ -1,4 +1,4 @@ -import{u as l,j as s}from"./index-CbNDQPNV.js";const o={title:"Providers",description:"undefined"};function r(i){const e={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",header:"header",li:"li",p:"p",pre:"pre",span:"span",ul:"ul",...l(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsx(e.header,{children:s.jsxs(e.h1,{id:"providers",children:["Providers",s.jsx(e.a,{"aria-hidden":"true",tabIndex:"-1",href:"#providers",children:s.jsx(e.div,{"data-autolink-icon":!0})})]})}),` +import{u as l,j as s}from"./index-O67QIW1D.js";const o={title:"Providers",description:"undefined"};function r(i){const e={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",header:"header",li:"li",p:"p",pre:"pre",span:"span",ul:"ul",...l(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsx(e.header,{children:s.jsxs(e.h1,{id:"providers",children:["Providers",s.jsx(e.a,{"aria-hidden":"true",tabIndex:"-1",href:"#providers",children:s.jsx(e.div,{"data-autolink-icon":!0})})]})}),` `,s.jsxs(e.p,{children:["The entry point of Polkadot-API, ",s.jsx(e.code,{children:"createClient(provider)"})," requires one ",s.jsx(e.code,{children:"JsonRpcProvider"}),", which lets Polkadot-API communicate with a node. It's a function with the following shape:"]}),` `,s.jsx(e.pre,{className:"shiki shiki-themes github-light github-dark-dimmed",style:{backgroundColor:"#fff","--shiki-dark-bg":"#22272e",color:"#24292e","--shiki-dark":"#adbac7"},tabIndex:"0",children:s.jsxs(e.code,{children:[s.jsxs(e.span,{className:"line",children:[s.jsx(e.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"interface"}),s.jsx(e.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" JsonRpcProvider"}),s.jsx(e.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),` `,s.jsxs(e.span,{className:"line",children:[s.jsx(e.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" ("}),s.jsx(e.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"onMessage"}),s.jsx(e.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(e.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" ("}),s.jsx(e.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:"message"}),s.jsx(e.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(e.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" string"}),s.jsx(e.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:") "}),s.jsx(e.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"=>"}),s.jsx(e.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" void"}),s.jsx(e.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:") "}),s.jsx(e.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"=>"}),s.jsx(e.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" JsonRpcConnection"}),s.jsx(e.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),` diff --git a/assets/signers-DKF12Gy3.js b/assets/signers-WdyFE5Xg.js similarity index 99% rename from assets/signers-DKF12Gy3.js rename to assets/signers-WdyFE5Xg.js index 2e925118..1d697831 100644 --- a/assets/signers-DKF12Gy3.js +++ b/assets/signers-WdyFE5Xg.js @@ -1,4 +1,4 @@ -import{u as r,j as s}from"./index-CbNDQPNV.js";const a={title:"Signers",description:"undefined"};function n(e){const i={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",header:"header",p:"p",pre:"pre",span:"span",...r(),...e.components};return s.jsxs(s.Fragment,{children:[s.jsx(i.header,{children:s.jsxs(i.h1,{id:"signers",children:["Signers",s.jsx(i.a,{"aria-hidden":"true",tabIndex:"-1",href:"#signers",children:s.jsx(i.div,{"data-autolink-icon":!0})})]})}),` +import{u as r,j as s}from"./index-O67QIW1D.js";const a={title:"Signers",description:"undefined"};function n(e){const i={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",header:"header",p:"p",pre:"pre",span:"span",...r(),...e.components};return s.jsxs(s.Fragment,{children:[s.jsx(i.header,{children:s.jsxs(i.h1,{id:"signers",children:["Signers",s.jsx(i.a,{"aria-hidden":"true",tabIndex:"-1",href:"#signers",children:s.jsx(i.div,{"data-autolink-icon":!0})})]})}),` `,s.jsx(i.p,{children:"For transactions, the generated descriptors and its corresponding typed API are needed to create the transaction extrinsics, but for these transactions to be signed, we also need a signer, which is the responsible of taking it the call data and signing it."}),` `,s.jsx(i.p,{children:"Every method on Polkadot-API that needs to sign something, takes in a signer with the following interface:"}),` `,s.jsx(i.pre,{className:"shiki shiki-themes github-light github-dark-dimmed",style:{backgroundColor:"#fff","--shiki-dark-bg":"#22272e",color:"#24292e","--shiki-dark":"#adbac7"},tabIndex:"0",children:s.jsxs(i.code,{children:[s.jsxs(i.span,{className:"line",children:[s.jsx(i.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"interface"}),s.jsx(i.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" PolkadotSigner"}),s.jsx(i.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),` diff --git a/assets/style-DGBvpM25.css b/assets/style-DGBvpM25.css new file mode 100644 index 00000000..63b92b38 --- /dev/null +++ b/assets/style-DGBvpM25.css @@ -0,0 +1 @@ +@layer vocs_preflight;:root{--vocs-color_white: rgba(255 255 255 / 100%);--vocs-color_black: rgba(0 0 0 / 100%);--vocs-color_background: rgba(255 255 255 / 100%);--vocs-color_background2: #f9f9f9;--vocs-color_background3: #f6f6f6;--vocs-color_background4: #f0f0f0;--vocs-color_background5: #e8e8e8;--vocs-color_backgroundAccent: #5b5bd6;--vocs-color_backgroundAccentHover: #5151cd;--vocs-color_backgroundAccentText: rgba(255 255 255 / 100%);--vocs-color_backgroundBlueTint: #008cff0b;--vocs-color_backgroundDark: #f9f9f9;--vocs-color_backgroundGreenTint: #00a32f0b;--vocs-color_backgroundGreenTint2: #00a43319;--vocs-color_backgroundIrisTint: #0000ff07;--vocs-color_backgroundRedTint: #ff000008;--vocs-color_backgroundRedTint2: #f3000d14;--vocs-color_backgroundYellowTint: #f4dd0016;--vocs-color_border: #ececec;--vocs-color_border2: #cecece;--vocs-color_borderAccent: #5753c6;--vocs-color_borderBlue: #009eff2a;--vocs-color_borderGreen: #019c393b;--vocs-color_borderIris: #dadcff;--vocs-color_borderRed: #ff000824;--vocs-color_borderYellow: #ffd5008f;--vocs-color_heading: #202020;--vocs-color_inverted: rgba(0 0 0 / 100%);--vocs-color_shadow: #0000000f;--vocs-color_shadow2: #00000006;--vocs-color_text: #4c4c4c;--vocs-color_text2: #646464;--vocs-color_text3: #838383;--vocs-color_text4: #bbbbbb;--vocs-color_textAccent: #5753c6;--vocs-color_textAccentHover: #272962;--vocs-color_textBlue: #0d74ce;--vocs-color_textBlueHover: #113264;--vocs-color_textGreen: #218358;--vocs-color_textGreenHover: #193b2d;--vocs-color_textIris: #5753c6;--vocs-color_textIrisHover: #272962;--vocs-color_textRed: #ce2c31;--vocs-color_textRedHover: #641723;--vocs-color_textYellow: #9e6c00;--vocs-color_textYellowHover: #473b1f;--vocs-color_title: #202020}:root.dark{--vocs-color_white: rgba(255 255 255 / 100%);--vocs-color_black: rgba(0 0 0 / 100%);--vocs-color_background: #232225;--vocs-color_background2: #2b292d;--vocs-color_background3: #2e2c31;--vocs-color_background4: #323035;--vocs-color_background5: #3c393f;--vocs-color_backgroundAccent: #5b5bd6;--vocs-color_backgroundAccentHover: #5753c6;--vocs-color_backgroundAccentText: rgba(255 255 255 / 100%);--vocs-color_backgroundBlueTint: #008ff519;--vocs-color_backgroundDark: #1e1d1f;--vocs-color_backgroundGreenTint: #00a43319;--vocs-color_backgroundGreenTint2: #00a83829;--vocs-color_backgroundIrisTint: #000bff19;--vocs-color_backgroundRedTint: #f3000d14;--vocs-color_backgroundRedTint2: #ff000824;--vocs-color_backgroundYellowTint: #f4dd0016;--vocs-color_border: #3c393f;--vocs-color_border2: #6f6d78;--vocs-color_borderAccent: #6e6ade;--vocs-color_borderBlue: #009eff2a;--vocs-color_borderGreen: #019c393b;--vocs-color_borderIris: #303374;--vocs-color_borderRed: #ff000824;--vocs-color_borderYellow: #f4dd0016;--vocs-color_heading: #e9e9ea;--vocs-color_inverted: rgba(255 255 255 / 100%);--vocs-color_shadow: #00000000;--vocs-color_shadow2: rgba(0, 0, 0, .05);--vocs-color_text: #cfcfcf;--vocs-color_text2: #bdbdbe;--vocs-color_text3: #a7a7a8;--vocs-color_text4: #656567;--vocs-color_textAccent: #b1a9ff;--vocs-color_textAccentHover: #6e6ade;--vocs-color_textBlue: #70b8ff;--vocs-color_textBlueHover: #3b9eff;--vocs-color_textGreen: #3dd68c;--vocs-color_textGreenHover: #33b074;--vocs-color_textIris: #b1a9ff;--vocs-color_textIrisHover: #6e6ade;--vocs-color_textRed: #ff9592;--vocs-color_textRedHover: #ec5d5e;--vocs-color_textYellow: #f5e147;--vocs-color_textYellowHover: #e2a336;--vocs-color_title: rgba(255 255 255 / 100%)}:root{--vocs-color_blockquoteBorder: var(--vocs-color_border);--vocs-color_blockquoteText: var(--vocs-color_text3);--vocs-color_dangerBackground: var(--vocs-color_backgroundRedTint);--vocs-color_dangerBorder: var(--vocs-color_borderRed);--vocs-color_dangerText: var(--vocs-color_textRed);--vocs-color_dangerTextHover: var(--vocs-color_textRedHover);--vocs-color_infoBackground: var(--vocs-color_backgroundBlueTint);--vocs-color_infoBorder: var(--vocs-color_borderBlue);--vocs-color_infoText: var(--vocs-color_textBlue);--vocs-color_infoTextHover: var(--vocs-color_textBlueHover);--vocs-color_noteBackground: var(--vocs-color_background2);--vocs-color_noteBorder: var(--vocs-color_border);--vocs-color_noteText: var(--vocs-color_text2);--vocs-color_successBackground: var(--vocs-color_backgroundGreenTint);--vocs-color_successBorder: var(--vocs-color_borderGreen);--vocs-color_successText: var(--vocs-color_textGreen);--vocs-color_successTextHover: var(--vocs-color_textGreenHover);--vocs-color_tipBackground: var(--vocs-color_backgroundIrisTint);--vocs-color_tipBorder: var(--vocs-color_borderIris);--vocs-color_tipText: var(--vocs-color_textIris);--vocs-color_tipTextHover: var(--vocs-color_textIrisHover);--vocs-color_warningBackground: var(--vocs-color_backgroundYellowTint);--vocs-color_warningBorder: var(--vocs-color_borderYellow);--vocs-color_warningText: var(--vocs-color_textYellow);--vocs-color_warningTextHover: var(--vocs-color_textYellowHover);--vocs-color_codeBlockBackground: var(--vocs-color_background2);--vocs-color_codeCharacterHighlightBackground: var(--vocs-color_background5);--vocs-color_codeHighlightBackground: var(--vocs-color_background4);--vocs-color_codeHighlightBorder: var(--vocs-color_border2);--vocs-color_codeInlineBackground: var(--vocs-color_background4);--vocs-color_codeInlineBorder: var(--vocs-color_border);--vocs-color_codeInlineText: var(--vocs-color_textAccent);--vocs-color_codeTitleBackground: var(--vocs-color_background4);--vocs-color_lineNumber: var(--vocs-color_text4);--vocs-color_hr: var(--vocs-color_border);--vocs-color_link: var(--vocs-color_textAccent);--vocs-color_linkHover: var(--vocs-color_textAccentHover);--vocs-color_searchHighlightBackground: var(--vocs-color_borderAccent);--vocs-color_searchHighlightText: var(--vocs-color_background);--vocs-color_tableBorder: var(--vocs-color_border);--vocs-color_tableHeaderBackground: var(--vocs-color_background2);--vocs-color_tableHeaderText: var(--vocs-color_text2);--vocs-borderRadius_0: 0;--vocs-borderRadius_2: 2px;--vocs-borderRadius_3: 3px;--vocs-borderRadius_4: 4px;--vocs-borderRadius_6: 6px;--vocs-borderRadius_8: 8px;--vocs-fontFamily_default: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;--vocs-fontFamily_mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--vocs-fontSize_9: .5625rem;--vocs-fontSize_11: .6875rem;--vocs-fontSize_12: .75rem;--vocs-fontSize_13: .8125rem;--vocs-fontSize_14: .875rem;--vocs-fontSize_15: .9375rem;--vocs-fontSize_16: 1rem;--vocs-fontSize_18: 1.125rem;--vocs-fontSize_20: 1.25rem;--vocs-fontSize_24: 1.5rem;--vocs-fontSize_32: 2rem;--vocs-fontSize_64: 3rem;--vocs-fontSize_root: 16px;--vocs-fontSize_h1: var(--vocs-fontSize_32);--vocs-fontSize_h2: var(--vocs-fontSize_24);--vocs-fontSize_h3: var(--vocs-fontSize_20);--vocs-fontSize_h4: var(--vocs-fontSize_18);--vocs-fontSize_h5: var(--vocs-fontSize_16);--vocs-fontSize_h6: var(--vocs-fontSize_16);--vocs-fontSize_calloutCodeBlock: .8em;--vocs-fontSize_code: .875em;--vocs-fontSize_codeBlock: var(--vocs-fontSize_14);--vocs-fontSize_lineNumber: var(--vocs-fontSize_15);--vocs-fontSize_subtitle: var(--vocs-fontSize_20);--vocs-fontSize_th: var(--vocs-fontSize_14);--vocs-fontSize_td: var(--vocs-fontSize_14);--vocs-fontWeight_regular: 300;--vocs-fontWeight_medium: 400;--vocs-fontWeight_semibold: 500;--vocs-lineHeight_code: 1.75em;--vocs-lineHeight_heading: 1.5em;--vocs-lineHeight_listItem: 1.5em;--vocs-lineHeight_outlineItem: 1em;--vocs-lineHeight_paragraph: 1.75em;--vocs-lineHeight_sidebarItem: 1.375em;--vocs-space_0: 0px;--vocs-space_1: 1px;--vocs-space_2: .125rem;--vocs-space_3: .1875rem;--vocs-space_4: .25rem;--vocs-space_6: .375rem;--vocs-space_8: .5rem;--vocs-space_12: .75rem;--vocs-space_14: .875rem;--vocs-space_16: 1rem;--vocs-space_18: 1.125rem;--vocs-space_20: 1.25rem;--vocs-space_22: 1.375rem;--vocs-space_24: 1.5rem;--vocs-space_28: 1.75rem;--vocs-space_32: 2rem;--vocs-space_36: 2.25rem;--vocs-space_40: 2.5rem;--vocs-space_44: 2.75rem;--vocs-space_48: 3rem;--vocs-space_56: 3.5rem;--vocs-space_64: 4rem;--vocs-space_72: 4.5rem;--vocs-space_80: 5rem;--vocs-zIndex_backdrop: 69420;--vocs-zIndex_drawer: 69421;--vocs-zIndex_gutterRight: 11;--vocs-zIndex_gutterLeft: 14;--vocs-zIndex_gutterTop: 13;--vocs-zIndex_gutterTopCurtain: 12;--vocs-zIndex_popover: 69422;--vocs-zIndex_surface: 10;--vocs-content_horizontalPadding: var(--vocs-space_48);--vocs-content_verticalPadding: var(--vocs-space_32);--vocs-content_width: calc(70ch + (var(--vocs-content_horizontalPadding) * 2));--vocs-outline_width: 280px;--vocs-sidebar_horizontalPadding: var(--vocs-space_24);--vocs-sidebar_verticalPadding: var(--vocs-space_0);--vocs-sidebar_width: 300px;--vocs-topNav_height: 60px;--vocs-topNav_horizontalPadding: var(--vocs-content_horizontalPadding);--vocs-topNav_curtainHeight: 40px}@media screen and (max-width: 1080px){:root{--vocs-content_verticalPadding: var(--vocs-space_48);--vocs-content_horizontalPadding: var(--vocs-space_24);--vocs-sidebar_horizontalPadding: var(--vocs-space_16);--vocs-sidebar_verticalPadding: var(--vocs-space_16);--vocs-sidebar_width: 300px;--vocs-topNav_height: 48px}}@media screen and (max-width: 720px){:root{--vocs-content_horizontalPadding: var(--vocs-space_16);--vocs-content_verticalPadding: var(--vocs-space_32)}}.vocs_Banner{background-color:var(--vocs_Banner_bannerBackgroundColor, var(--vocs-color_backgroundAccent));border-bottom:1px solid var(--vocs_Banner_bannerBackgroundColor, var(--vocs-color_borderAccent));color:var(--vocs_Banner_bannerTextColor, var(--vocs-color_backgroundAccentText));height:var(--vocs_Banner_bannerHeight, 36px);position:fixed;top:0;width:100%;z-index:var(--vocs-zIndex_gutterTop)}.vocs_Banner_content{font-size:var(--vocs-fontSize_14);overflow-x:scroll;padding-left:var(--vocs-space_8);padding-right:var(--vocs-space_8);margin-right:var(--vocs-space_24);-ms-overflow-style:none;scrollbar-width:none;white-space:pre}.vocs_Banner_content::-webkit-scrollbar{display:none}.vocs_Banner_inner{align-items:center;display:flex;height:100%;justify-content:center;position:relative;width:100%}.vocs_Banner_closeButton{align-items:center;background-color:var(--vocs_Banner_bannerBackgroundColor, var(--vocs-color_backgroundAccent));display:flex;justify-content:center;height:100%;position:absolute;right:0;width:var(--vocs-space_24)}.vocs_Banner_content a{font-weight:400;text-underline-offset:2px;text-decoration:underline}@media screen and (max-width: 1080px){.vocs_Banner{position:initial}}.vocs_DocsLayout{--vocs_DocsLayout_leftGutterWidth: max(calc((100vw - var(--vocs-content_width)) / 2), var(--vocs-sidebar_width))}.vocs_DocsLayout_content{background-color:var(--vocs-color_background);margin-left:auto;margin-right:auto;max-width:var(--vocs-content_width);min-height:100vh}.vocs_DocsLayout_content_withSidebar{margin-left:var(--vocs_DocsLayout_leftGutterWidth);margin-right:unset}.vocs_DocsLayout_gutterLeft{background-color:var(--vocs-color_backgroundDark);justify-content:flex-end;display:flex;height:100vh;position:fixed;top:var(--vocs_Banner_bannerHeight, 0px);width:var(--vocs_DocsLayout_leftGutterWidth);z-index:var(--vocs-zIndex_gutterLeft)}.vocs_DocsLayout_gutterTop{align-items:center;background-color:color-mix(in srgb,var(--vocs-color_background) 98%,transparent);height:var(--vocs-topNav_height);width:100vw;z-index:var(--vocs-zIndex_gutterTop)}.vocs_DocsLayout_gutterTopCurtain{display:flex;height:var(--vocs-topNav_curtainHeight);width:100vw;z-index:var(--vocs-zIndex_gutterTopCurtain)}.vocs_DocsLayout_gutterTopCurtain_hidden{background:unset;display:none}.vocs_DocsLayout_gutterRight{display:flex;height:100vh;overflow-y:auto;padding:calc(var(--vocs-content_verticalPadding) + var(--vocs-topNav_height) + var(--vocs-space_8)) var(--vocs-space_24) 0 0;position:fixed;top:var(--vocs_Banner_bannerHeight, 0px);right:0;width:calc((100vw - var(--vocs-content_width)) / 2);z-index:var(--vocs-zIndex_gutterRight)}.vocs_DocsLayout_gutterRight::-webkit-scrollbar{display:none}.vocs_DocsLayout_gutterRight_withSidebar{width:calc(100vw - var(--vocs-content_width) - var(--vocs_DocsLayout_leftGutterWidth))}.vocs_DocsLayout_outlinePopover{display:none;overflow-y:auto;height:calc(100vh - var(--vocs-topNav_height) - var(--vocs-topNav_curtainHeight))}.vocs_DocsLayout_sidebar{padding:var(--vocs-space_0) var(--vocs-sidebar_horizontalPadding) var(--vocs-space_24) var(--vocs-sidebar_horizontalPadding)}.vocs_DocsLayout_sidebarDrawer{display:none}@media screen and (max-width: 720px){.vocs_DocsLayout_content{overflow-x:hidden}}@media screen and (min-width: 1081px){.vocs_DocsLayout_content_withTopNav{padding-top:calc(var(--vocs-topNav_height) + var(--vocs_Banner_bannerHeight, 0px))}.vocs_DocsLayout_gutterTop{padding-left:calc(var(--vocs_DocsLayout_leftGutterWidth) - var(--vocs-sidebar_width));padding-right:calc(var(--vocs_DocsLayout_leftGutterWidth) - var(--vocs-sidebar_width));position:fixed;top:var(--vocs_Banner_bannerHeight, 0px)}.vocs_DocsLayout_gutterTop_offsetLeftGutter{padding-left:var(--vocs_DocsLayout_leftGutterWidth)}.vocs_DocsLayout_gutterTopCurtain{position:fixed;top:calc(var(--vocs-topNav_height) + var(--vocs_Banner_bannerHeight, 0px))}.vocs_DocsLayout_gutterTopCurtain_withSidebar{margin-left:var(--vocs_DocsLayout_leftGutterWidth)}}@media screen and (max-width: 1080px){.vocs_DocsLayout_content{margin-left:auto;margin-right:auto}.vocs_DocsLayout_gutterLeft{display:none}.vocs_DocsLayout_gutterTop{position:initial}.vocs_DocsLayout_gutterTop_sticky,.vocs_DocsLayout_gutterTopCurtain{position:sticky;top:0}.vocs_DocsLayout_outlinePopover,.vocs_DocsLayout_sidebarDrawer{display:block}}@media screen and (max-width: 1280px){.vocs_DocsLayout_gutterRight{display:none}}@layer vocs_reset_reset;html,body,.vocs_DocsLayout{font-family:var(--vocs-fontFamily_default);font-feature-settings:"rlig" 1,"calt" 1;font-size:var(--vocs-fontSize_root)}button,select{text-transform:none;-webkit-appearance:button;-moz-appearance:button;appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{outline:auto}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none;-moz-appearance:none;appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;-moz-appearance:button;appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1}input::placeholder,textarea::placeholder{opacity:1}button,[role=button]{cursor:pointer}:disabled{overflow:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}@layer vocs_reset_reset{*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid}*:focus-visible{outline:2px solid var(--vocs-color_borderAccent);outline-offset:2px;outline-style:dashed}html,body{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;line-height:inherit;margin:0;padding:0;border:0;text-rendering:optimizeLegibility}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit;text-wrap:balance}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--vocs-fontFamily_mono);font-size:var(--vocs-fontSize_root)}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-color:inherit;border-collapse:collapse;text-indent:0}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}}.vocs_Tabs{background-color:var(--vocs-color_codeBlockBackground);border:1px solid var(--vocs-color_codeInlineBorder);border-radius:var(--vocs-borderRadius_4)}.vocs_Tabs_list{background-color:var(--vocs-color_codeTitleBackground);border-bottom:1px solid var(--vocs-color_border);border-top-left-radius:var(--vocs-borderRadius_4);border-top-right-radius:var(--vocs-borderRadius_4);display:flex;padding:var(--vocs-space_0) var(--vocs-space_14)}.vocs_Tabs_trigger{border-bottom:2px solid transparent;color:var(--vocs-color_text3);font-size:var(--vocs-fontSize_14);font-weight:var(--vocs-fontWeight_medium);padding:var(--vocs-space_8) var(--vocs-space_8) var(--vocs-space_6) var(--vocs-space_8);transition:color .1s}.vocs_Tabs_trigger:hover{color:var(--vocs-color_text)}.vocs_Tabs_trigger[data-state=active]{border-bottom:2px solid var(--vocs-color_borderAccent);color:var(--vocs-color_text)}.vocs_Tabs_content{background-color:var(--vocs-color_codeBlockBackground)}.vocs_Tabs_content:not([data-shiki=true]){padding:var(--vocs-space_20) var(--vocs-space_22)}.vocs_Tabs pre{margin-bottom:var(--vocs-space_0)}@media screen and (max-width: 720px){.vocs_Tabs_list{border-radius:0;padding:var(--vocs-space_0) var(--vocs-space_8)}.vocs_Tabs_content:not([data-shiki=true]){padding:var(--vocs-space_20) var(--vocs-space_16)}.vocs_Tabs pre{margin:unset}}.vocs_CodeBlock{border:1px solid var(--vocs-color_codeInlineBorder);border-radius:var(--vocs-borderRadius_4)}.vocs_Tabs .vocs_CodeBlock,undefined .vocs_CodeBlock{border:none;margin-left:unset;margin-right:unset}.vocs_CodeBlock code{display:grid;font-size:var(--vocs-fontSize_codeBlock)}undefined .vocs_CodeBlock code{font-size:var(--vocs-fontSize_calloutCodeBlock)}.vocs_CodeBlock pre{background-color:var(--vocs-color_codeBlockBackground);border-radius:var(--vocs-borderRadius_4);overflow-x:auto;padding:var(--vocs-space_20) var(--vocs-space_0)}undefined .vocs_CodeBlock pre{background-color:color-mix(in srgb,var(--vocs-color_codeBlockBackground) 65%,transparent)!important;border:1px solid var(--vocs-color_codeInlineBorder);border-radius:var(--vocs-borderRadius_4);padding:var(--vocs-space_12) var(--vocs-space_0)}.vocs_CodeBlock .line{border-left:2px solid transparent;padding:var(--vocs-space_0) var(--vocs-space_22);line-height:var(--vocs-lineHeight_code)}undefined .vocs_CodeBlock .line{padding:var(--vocs-space_0) var(--vocs-space_12)}.vocs_CodeBlock .twoslash-popup-info .line{padding:var(--vocs-space_0) var(--vocs-space_4)}.vocs_CodeBlock .twoslash-popup-info-hover .line{display:inline-block;padding:var(--vocs-space_0) var(--vocs-space_8)}.vocs_CodeBlock .twoslash-error-line,.vocs_CodeBlock .twoslash-tag-line{padding:var(--vocs-space_0) var(--vocs-space_22)}.vocs_CodeBlock [data-line-numbers]{counter-reset:line}.vocs_CodeBlock [data-line-numbers]>.line{padding:var(--vocs-space_0) var(--vocs-space_16)}.vocs_CodeBlock [data-line-numbers]>.line:before{content:counter(line);color:var(--vocs-color_lineNumber);display:inline-block;font-size:var(--vocs-fontSize_lineNumber);margin-right:var(--vocs-space_16);text-align:right;width:1rem}.vocs_CodeBlock [data-line-numbers]>.line:not(.diff.remove+.diff.add):before{counter-increment:line}.vocs_CodeBlock [data-line-numbers]>.line.diff:after{margin-left:calc(-1 * var(--vocs-space_4))}.vocs_CodeBlock .highlighted{background-color:var(--vocs-color_codeHighlightBackground);border-left:2px solid var(--vocs-color_codeHighlightBorder);box-sizing:content-box}.vocs_CodeBlock .highlighted-word{border-radius:var(--vocs-borderRadius_2);background-color:var(--vocs-color_codeCharacterHighlightBackground)!important;box-shadow:0 0 0 4px var(--vocs-color_codeCharacterHighlightBackground)}.vocs_CodeBlock .has-diff{position:relative}.vocs_CodeBlock .line.diff:after{position:absolute;left:var(--vocs-space_8)}.vocs_CodeBlock .line.diff.add{background-color:var(--vocs-color_backgroundGreenTint2)}.vocs_CodeBlock .line.diff.add:after{content:"+";color:var(--vocs-color_textGreen)}.vocs_CodeBlock .line.diff.remove{background-color:var(--vocs-color_backgroundRedTint2);opacity:.6}.vocs_CodeBlock .line.diff.remove>span{filter:grayscale(1)}.vocs_CodeBlock .line.diff.remove:after{content:"-";color:var(--vocs-color_textRed)}.vocs_CodeBlock .has-focused>code>.line:not(.focused),.vocs_CodeBlock .has-focused>code>.twoslash-meta-line:not(.focused){opacity:.3;transition:opacity .2s}.vocs_CodeBlock:hover .has-focused .line:not(.focused),.vocs_CodeBlock:hover .has-focused .twoslash-meta-line:not(.focused){opacity:1;transition:opacity .2s}@media screen and (max-width: 720px){.vocs_CodeBlock{border-radius:0;border-right:none;border-left:none;margin-left:calc(-1 * var(--vocs-space_16));margin-right:calc(-1 * var(--vocs-space_16))}.vocs_CodeBlock pre{border-radius:0}.vocs_CodeBlock .line,.vocs_CodeBlock .twoslash-error-line,.vocs_CodeBlock .twoslash-tag-line{padding:0 var(--vocs-space_16)}.vocs_CodeBlock .line.diff:after{left:var(--vocs-space_6)}}.vocs_Header{border-bottom:1px solid var(--vocs-color_border)}.vocs_Header:not(:last-child){margin-bottom:var(--vocs-space_28);padding-bottom:var(--vocs-space_28)}[data-layout=landing] .vocs_Header{padding-bottom:var(--vocs-space_16)}[data-layout=landing] .vocs_Header:not(:first-child){padding-top:var(--vocs-space_36)}.vocs_H2{font-size:var(--vocs-fontSize_h2);letter-spacing:-.02em}.vocs_H2.vocs_H2:not(:last-child){margin-bottom:var(--vocs-space_24)}:not(.vocs_Header)+.vocs_H2:not(:only-child){border-top:1px solid var(--vocs-color_border);margin-top:var(--vocs-space_56);padding-top:var(--vocs-space_24)}[data-layout=landing] .vocs_H2.vocs_H2{border-top:none;margin-top:var(--vocs-space_24);padding-top:0}.vocs_H3{font-size:var(--vocs-fontSize_h3)}.vocs_H3:not(:first-child){margin-top:var(--vocs-space_18);padding-top:var(--vocs-space_18)}.vocs_H3.vocs_H3:not(:last-child){margin-bottom:var(--vocs-space_24)}.vocs_H2+.vocs_H3{padding-top:var(--vocs-space_0)}.vocs_H4{font-size:var(--vocs-fontSize_h4)}.vocs_H4:not(:first-child){margin-top:var(--vocs-space_18);padding-top:var(--vocs-space_12)}.vocs_H4.vocs_H4:not(:last-child){margin-bottom:var(--vocs-space_24)}.vocs_H3+.vocs_H4{padding-top:var(--vocs-space_0)}.vocs_H5{font-size:var(--vocs-fontSize_h5)}.vocs_H5:not(:first-child){margin-top:var(--vocs-space_16)}.vocs_H5.vocs_H5:not(:last-child){margin-bottom:var(--vocs-space_24)}.vocs_H4+.vocs_H5{padding-top:var(--vocs-space_0)}.vocs_H6{font-size:var(--vocs-fontSize_h6)}.vocs_H6:not(:first-child){margin-top:var(--vocs-space_16)}.vocs_H6.vocs_H6:not(:last-child){margin-bottom:var(--vocs-space_24)}.vocs_H5+.vocs_H6{padding-top:var(--vocs-space_0)}.vocs_Step:not(:last-child){margin-bottom:var(--vocs-space_24)}.vocs_Step_title{margin-bottom:var(--vocs-space_8);position:relative}.vocs_Step_title:before{content:counter(step);align-items:center;background-color:var(--vocs-color_background5);border-radius:100%;border:.5em solid var(--vocs-color_background);box-sizing:content-box;color:var(--vocs-color_text2);counter-increment:step;display:flex;font-size:.625em;font-weight:var(--vocs-fontWeight_regular);height:2em;justify-content:center;left:calc(-25.125px - 1.45em);position:absolute;top:-.25em;width:2em}.vocs_H2+.vocs_Step_content,.vocs_H3+.vocs_Step_content,.vocs_H4+.vocs_Step_content,.vocs_H5+.vocs_Step_content,.vocs_H6+.vocs_Step_content{margin-top:calc(var(--vocs-space_8) * -1)}.vocs_Step_content>*:not(:last-child){margin-bottom:var(--vocs-space_16)}.vocs_Step_content>*:last-child{margin-bottom:var(--vocs-space_0)}@media screen and (max-width: 720px){.vocs_Step_content>.vocs_Tabs,.vocs_Step_content>.vocs_CodeBlock{outline:6px solid var(--vocs-color_background);margin-left:calc(-1 * var(--vocs-space_44) - 2px);margin-right:calc(-1 * var(--vocs-space_16))}.vocs_Step_content .vocs_Tabs pre.shiki{border-top:none}}.vocs_Callout{border-radius:var(--vocs-borderRadius_4);font-size:var(--vocs-fontSize_14);padding:var(--vocs-space_16) var(--vocs-space_20);margin-bottom:var(--vocs-space_16)}.vocs_Callout_note{background-color:var(--vocs-color_noteBackground);border:1px solid var(--vocs-color_noteBorder);color:var(--vocs-color_noteText)}.vocs_Callout_info{background-color:var(--vocs-color_infoBackground);border:1px solid var(--vocs-color_infoBorder);color:var(--vocs-color_infoText)}.vocs_Callout_warning{background-color:var(--vocs-color_warningBackground);border:1px solid var(--vocs-color_warningBorder);color:var(--vocs-color_warningText)}.vocs_Callout_danger{background-color:var(--vocs-color_dangerBackground);border:1px solid var(--vocs-color_dangerBorder);color:var(--vocs-color_dangerText)}.vocs_Callout_tip{background-color:var(--vocs-color_tipBackground);border:1px solid var(--vocs-color_tipBorder);color:var(--vocs-color_tipText)}.vocs_Callout_success{background-color:var(--vocs-color_successBackground);border:1px solid var(--vocs-color_successBorder);color:var(--vocs-color_successText)}@media screen and (max-width: 720px){:not(.vocs_Step_content)>.vocs_Callout{border-radius:0;border-left-width:0;border-right-width:0;margin-left:calc(-1 * var(--vocs-space_16));margin-right:calc(-1 * var(--vocs-space_16))}}.vocs_Content{background-color:var(--vocs-color_background);max-width:var(--vocs-content_width);padding:var(--vocs-content_verticalPadding) var(--vocs-content_horizontalPadding);width:100%}.vocs_Callout>*+.vocs_Details{margin-top:-8px}@layer vocs_global_global;:root.dark{color-scheme:dark}:root.dark pre.shiki span:not(.line),:root.dark :not(pre.shiki) .line span{color:var(--shiki-dark)!important}pre.shiki{background-color:var(--vocs-color_codeBlockBackground)!important}.vocs_Content>*:not(:last-child),.vocs_Details>*:not(:last-child){margin-bottom:var(--vocs-space_24)}.vocs_Callout>*:not(:last-child),.vocs_Callout>.vocs_Details>*:not(:last-child){margin-bottom:var(--vocs-space_16)}.vocs_Content>*:last-child,.vocs_Callout>*:last-child,.vocs_Details>*:last-child{margin-bottom:var(--vocs-space_0)}#app[aria-hidden=true]{background:var(--vocs-color_background)}@layer vocs_global_global{:root{background-color:var(--vocs-color_background);color:var(--vocs-color_text);line-height:var(--vocs-lineHeight_paragraph);font-size:var(--vocs-fontSize_root);font-weight:var(--vocs-fontWeight_regular)}}@media screen and (max-width: 720px){:root{background-color:var(--vocs-color_backgroundDark)}}:root{--vocs-twoslash_borderColor: var(--vocs-color_border2);--vocs-twoslash_underlineColor: currentColor;--vocs-twoslash_popupBackground: var(--vocs-color_background2);--vocs-twoslash_popupShadow: rgba(0, 0, 0, .08) 0px 1px 4px;--vocs-twoslash_matchedColor: inherit;--vocs-twoslash_unmatchedColor: #888;--vocs-twoslash_cursorColor: #8888;--vocs-twoslash_errorColor: var(--vocs-color_textRed);--vocs-twoslash_errorBackground: var(--vocs-color_backgroundRedTint2);--vocs-twoslash_highlightedBackground: var(--vocs-color_background);--vocs-twoslash_highlightedBorder: var(--vocs-color_background);--vocs-twoslash_tagColor: var(--vocs-color_textBlue);--vocs-twoslash_tagBackground: var(--vocs-color_backgroundBlueTint);--vocs-twoslash_tagWarnColor: var(--vocs-color_textYellow);--vocs-twoslash_tagWarnBackground: var(--vocs-color_backgroundYellowTint);--vocs-twoslash_tagAnnotateColor: var(--vocs-color_textGreen);--vocs-twoslash_tagAnnotateBackground: var(--vocs-color_backgroundGreenTint2)}:root.dark{--vocs-twoslash_borderColor: var(--vocs-color_border2);--vocs-twoslash_underlineColor: currentColor;--vocs-twoslash_popupBackground: var(--vocs-color_background5);--vocs-twoslash_popupShadow: rgba(0, 0, 0, .08) 0px 1px 4px;--vocs-twoslash_matchedColor: inherit;--vocs-twoslash_unmatchedColor: #888;--vocs-twoslash_cursorColor: #8888;--vocs-twoslash_errorColor: var(--vocs-color_textRed);--vocs-twoslash_errorBackground: var(--vocs-color_backgroundRedTint2);--vocs-twoslash_highlightedBackground: var(--vocs-color_background);--vocs-twoslash_highlightedBorder: var(--vocs-color_background);--vocs-twoslash_tagColor: var(--vocs-color_textBlue);--vocs-twoslash_tagBackground: var(--vocs-color_backgroundBlueTint);--vocs-twoslash_tagWarnColor: var(--vocs-color_textYellow);--vocs-twoslash_tagWarnBackground: var(--vocs-color_backgroundYellowTint);--vocs-twoslash_tagAnnotateColor: var(--vocs-color_textGreen);--vocs-twoslash_tagAnnotateBackground: var(--vocs-color_backgroundGreenTint2)}:root .twoslash-popup-info-hover,:root .twoslash-popup-info{--shiki-light-bg: var(--vocs-color_background2)}:root .twoslash-popup-info{width:-moz-max-content;width:max-content}:root.dark .twoslash-popup-info,:root.dark .twoslash-popup-info-hover{--shiki-dark-bg: var(--vocs-color_background5)}.twoslash-query-persisted>.twoslash-popup-info{z-index:1}:not(.twoslash-query-persisted)>.twoslash-popup-info{z-index:2}.twoslash:hover .twoslash-hover{border-color:var(--vocs-twoslash_underlineColor)}.twoslash .twoslash-hover{border-bottom:1px dotted transparent;transition-timing-function:ease;transition:border-color .3s}.twoslash-query-persisted{position:relative}.twoslash .twoslash-popup-info{position:absolute;top:0;left:0;opacity:0;display:inline-block;transform:translateY(1.1em);background:var(--vocs-twoslash_popupBackground);border:1px solid var(--vocs-twoslash_borderColor);transition:opacity .3s;border-radius:4px;max-width:540px;padding:4px 6px;pointer-events:none;text-align:left;z-index:20;white-space:pre-wrap;-webkit-user-select:none;-moz-user-select:none;user-select:none;box-shadow:var(--vocs-twoslash_popupShadow)}.twoslash .twoslash-popup-info-hover{background:var(--vocs-twoslash_popupBackground);border:1px solid var(--vocs-twoslash_borderColor);border-radius:4px;box-shadow:var(--vocs-twoslash_popupShadow);display:inline-block;max-width:500px;pointer-events:auto;position:fixed;opacity:1;transition:opacity .3s;white-space:pre-wrap;-webkit-user-select:none;-moz-user-select:none;user-select:none;z-index:20}.twoslash .twoslash-popup-scroll-container{max-height:300px;padding:4px 0;overflow-y:auto;-ms-overflow-style:none;scrollbar-width:none}.twoslash-popup-arrow{position:absolute;top:-4px;left:1em;border-top:1px solid var(--vocs-twoslash_borderColor);border-right:1px solid var(--vocs-twoslash_borderColor);background:var(--vocs-twoslash_popupBackground);transform:rotate(-45deg);width:6px;height:6px;pointer-events:none}.twoslash .twoslash-popup-scroll-container::-webkit-scrollbar{display:none}.twoslash .twoslash-popup-jsdoc{border-top:1px solid var(--vocs-color_border2);color:var(--vocs-color_text);font-family:sans-serif;font-weight:500;margin-top:4px;padding:4px 10px 0}.twoslash-tag-line+.twoslash-tag-line{margin-top:-.2em}.twoslash-query-persisted .twoslash-popup-info{z-index:9;transform:translateY(1.5em)}.twoslash-hover:hover .twoslash-popup-info,.twoslash-query-persisted .twoslash-popup-info{opacity:1;pointer-events:auto}.twoslash-popup-info:hover,.twoslash-popup-info-hover:hover{-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}.twoslash-error-line{position:relative;background-color:var(--vocs-twoslash_errorBackground);border-left:2px solid var(--vocs-twoslash_errorColor);color:var(--vocs-twoslash_errorColor);margin:.2em 0}.twoslash-error{background:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%206%203'%20enable-background%3D'new%200%200%206%203'%20height%3D'3'%20width%3D'6'%3E%3Cg%20fill%3D'%23c94824'%3E%3Cpolygon%20points%3D'5.5%2C0%202.5%2C3%201.1%2C3%204.1%2C0'%2F%3E%3Cpolygon%20points%3D'4%2C0%206%2C2%206%2C0.6%205.4%2C0'%2F%3E%3Cpolygon%20points%3D'0%2C2%201%2C3%202.4%2C3%200%2C0.6'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") repeat-x bottom left;padding-bottom:2px}.twoslash-completion-cursor{position:relative}.twoslash-completion-cursor .twoslash-completion-list{-webkit-user-select:none;-moz-user-select:none;user-select:none;position:absolute;top:0;left:0;transform:translateY(1.2em);margin:3px 0 0 -1px;z-index:8;box-shadow:var(--vocs-twoslash_popupShadow);background:var(--vocs-twoslash_popupBackground);border:1px solid var(--vocs-twoslash_borderColor)}.twoslash-completion-list{border-radius:4px;font-size:.8rem;padding:4px;display:flex;flex-direction:column;gap:4px;width:240px}.twoslash-completion-list:hover{-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}.twoslash-completion-list:before{content:" ";background-color:var(--vocs-twoslash_cursorColor);width:2px;position:absolute;top:-1.6em;height:1.4em;left:-1px}.twoslash-completion-list .twoslash-completion-list-item{overflow:hidden;display:flex;align-items:center;gap:.5em;line-height:1em}.twoslash-completion-list .twoslash-completion-list-item span.twoslash-completions-unmatched.twoslash-completions-unmatched.twoslash-completions-unmatched{color:var(--vocs-twoslash_unmatchedColor)!important}.twoslash-completion-list .deprecated{text-decoration:line-through;opacity:.5}.twoslash-completion-list .twoslash-completion-list-item span.twoslash-completions-matched.twoslash-completions-unmatched.twoslash-completions-unmatched{color:var(--vocs-twoslash_matchedColor)!important}.twoslash-tag-line{position:relative;background-color:var(--vocs-twoslash_tagBackground);border-left:2px solid var(--vocs-twoslash_tagColor);color:var(--vocs-twoslash_tagColor);margin:.2em 0;display:flex;align-items:center;gap:.3em}.twoslash-tag-line+.line[data-empty-line]+.twoslash-tag-line{margin-top:-1.95em}.twoslash-tag-line .twoslash-tag-icon{width:1.1em;color:inherit}.twoslash-tag-line.twoslash-tag-error-line{background-color:var(--vocs-twoslash_errorBackground);border-left:2px solid var(--vocs-twoslash_errorColor);color:var(--vocs-twoslash_errorColor)}.twoslash-tag-line.twoslash-tag-warn-line{background-color:var(--vocs-twoslash_tagWarnBackground);border-left:2px solid var(--vocs-twoslash_tagWarnColor);color:var(--vocs-twoslash_tagWarnColor)}.twoslash-tag-line.twoslash-tag-annotate-line{background-color:var(--vocs-twoslash_tagAnnotateBackground);border-left:2px solid var(--vocs-twoslash_tagAnnotateColor);color:var(--vocs-twoslash_tagAnnotateColor)}.twoslash-highlighted{border-radius:var(--vocs-borderRadius_2);background-color:var(--vocs-color_codeCharacterHighlightBackground)!important;box-shadow:0 0 0 4px var(--vocs-color_codeCharacterHighlightBackground)}@media (prefers-reduced-motion: reduce){.twoslash *{transition:none!important}}.vocs_ExternalLink:after{content:"";background-color:currentColor;color:var(--vocs_ExternalLink_arrowColor);display:inline-block;height:.5em;margin-left:.325em;margin-right:.25em;width:.5em;-webkit-mask:var(--vocs_ExternalLink_iconUrl) no-repeat center / contain;mask:var(--vocs_ExternalLink_iconUrl) no-repeat center / contain}.vocs_Link_accent_underlined{color:var(--vocs-color_link);font-weight:var(--vocs-fontWeight_medium);text-underline-offset:var(--vocs-space_2);text-decoration:underline;transition:color .1s}.vocs_Link_accent_underlined:hover{color:var(--vocs-color_linkHover)}.vocs_Link_styleless{--vocs_ExternalLink_arrowColor: var(--vocs-color_text3)}.vocs_NotFound{align-items:center;display:flex;flex-direction:column;max-width:400px;margin:0 auto;padding-top:var(--vocs-space_64)}.vocs_NotFound_divider{border-color:var(--vocs-color_border);width:50%}.vocs_H1{font-size:var(--vocs-fontSize_h1);letter-spacing:-.02em}.vocs_Heading{align-items:center;color:var(--vocs-color_heading);font-weight:var(--vocs-fontWeight_semibold);gap:.25em;line-height:var(--vocs-lineHeight_heading);position:relative}.vocs_Heading_slugTarget{position:absolute;top:0;visibility:hidden}@media screen and (min-width: 1081px){.vocs_Heading_slugTarget{top:calc(-1 * (var(--vocs-topNav_height)))}.vocs_Header .vocs_Heading_slugTarget,.vocs_Step_title .vocs_Heading_slugTarget,.vocs_Header+.vocs_Heading .vocs_Heading_slugTarget{top:calc(-1 * (var(--vocs-topNav_height) + var(--vocs-space_24)))}}@media screen and (max-width: 1080px){.vocs_Heading_slugTarget{top:calc(-1 * var(--vocs-topNav_curtainHeight))}.vocs_Header .vocs_Heading_slugTarget,.vocs_Header+.vocs_Heading .vocs_Heading_slugTarget{top:calc(-1 * calc(var(--vocs-topNav_curtainHeight) + var(--vocs-space_24)))}}.vocs_Blockquote{border-left:2px solid var(--vocs-color_blockquoteBorder);padding-left:var(--vocs-space_16);margin-bottom:var(--vocs-space_16)}.vocs_H2+.vocs_List,.vocs_H3+.vocs_List,.vocs_H4+.vocs_List,.vocs_H5+.vocs_List,.vocs_H6+.vocs_List{margin-top:calc(var(--vocs-space_8) * -1)}.vocs_Paragraph+.vocs_List{margin-top:calc(-1 * var(--vocs-space_8))}.vocs_List_ordered{list-style:decimal;padding-left:var(--vocs-space_20);margin-bottom:var(--vocs-space_16)}.vocs_List_ordered .vocs_List_ordered{list-style:lower-alpha}.vocs_List_ordered .vocs_List_ordered .vocs_List_ordered{list-style:lower-roman}.vocs_List_unordered{list-style:disc;padding-left:var(--vocs-space_24);margin-bottom:var(--vocs-space_16)}.vocs_List_unordered .vocs_List_unordered{list-style:circle}.vocs_List_ordered .vocs_List_ordered,.vocs_List_unordered .vocs_List_unordered,.vocs_List_ordered .vocs_List_unordered,.vocs_List_unordered .vocs_List_ordered{margin-bottom:var(--vocs-space_0);padding-top:var(--vocs-space_8);padding-left:var(--vocs-space_16);padding-bottom:var(--vocs-space_0)}.vocs_List_unordered.contains-task-list{list-style:none;padding-left:var(--vocs-space_12)}.vocs_Paragraph{line-height:var(--vocs-lineHeight_paragraph)}.vocs_Blockquote>.vocs_Paragraph{color:var(--vocs-color_blockquoteText);margin-bottom:var(--vocs-space_8)}.vocs_H2+.vocs_Paragraph,.vocs_H3+.vocs_Paragraph,.vocs_H4+.vocs_Paragraph,.vocs_H5+.vocs_Paragraph,.vocs_H6+.vocs_Paragraph,.vocs_List+.vocs_Paragraph{margin-top:calc(var(--vocs-space_8) * -1)}.vocs_Paragraph+.vocs_Paragraph{margin-top:calc(-1 * var(--vocs-space_8))}:root:not(.dark) .vocs_utils_visibleDark{display:none}:root.dark .vocs_utils_visibleLight{display:none}.vocs_utils_visuallyHidden{clip:rect(0 0 0 0);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.vocs_DesktopSearch_search{align-items:center;background-color:var(--vocs-color_backgroundDark);border:1px solid var(--vocs-color_backgroundDark);border-radius:var(--vocs-borderRadius_8);color:var(--vocs-color_text2);display:flex;font-size:var(--vocs-fontSize_14);font-weight:var(--vocs-fontWeight_medium);gap:var(--vocs-space_6);height:var(--vocs-space_40);max-width:15.5rem;padding-left:var(--vocs-space_12);padding-right:var(--vocs-space_12);position:relative;width:100%;transition:color .1s,border-color .1s}.vocs_DesktopSearch_search:hover{color:var(--vocs-color_text);border-color:var(--vocs-color_text3)}.vocs_DesktopSearch_searchCommand{align-items:center;border:1.5px solid var(--vocs-color_text3);border-radius:var(--vocs-borderRadius_4);color:var(--vocs-color_text3);display:flex;height:var(--vocs-space_12);justify-content:center;margin-left:auto;margin-top:var(--vocs-space_1);padding:var(--vocs-space_1);width:var(--vocs-space_12)}.vocs_Kbd{color:var(--vocs-color_text2);display:inline-block;border-radius:var(--vocs-borderRadius_3);font-size:var(--vocs-fontSize_11);font-family:var(--vocs-fontFamily_default);font-feature-settings:cv08;line-height:105%;min-width:20px;padding:var(--vocs-space_3);padding-left:var(--vocs-space_4);padding-right:var(--vocs-space_4);padding-top:var(--vocs-space_3);text-align:center;text-transform:capitalize;vertical-align:baseline;border:.5px solid var(--vocs-color_border);background-color:var(--vocs-color_background3);box-shadow:var(--vocs-color_shadow2) 0 2px 0 0}.vocs_KeyboardShortcut{align-items:center;display:inline-flex;gap:var(--vocs-space_6);font-size:var(--vocs-fontSize_12)}.vocs_KeyboardShortcut_kbdGroup{align-items:center;display:inline-flex;gap:var(--vocs-space_3)}@media screen and (max-width: 720px){.vocs_KeyboardShortcut{display:none}}@keyframes vocs_SearchDialog_fadeIn{0%{opacity:0}to{opacity:1}}@keyframes vocs_SearchDialog_fadeAndSlideIn{0%{opacity:0;transform:translate(-50%,-5%) scale(.96)}to{opacity:1;transform:translate(-50%) scale(1)}}.vocs_SearchDialog{animation:vocs_SearchDialog_fadeAndSlideIn .1s ease-in-out;background:var(--vocs-color_background);border-radius:var(--vocs-borderRadius_6);display:flex;flex-direction:column;gap:var(--vocs-space_8);height:-moz-min-content;height:min-content;left:50%;margin:64px auto;max-height:min(100vh - 128px,900px);padding:var(--vocs-space_12);padding-bottom:var(--vocs-space_8);position:fixed;top:0;transform:translate(-50%);width:min(100vw - 60px,775px);z-index:var(--vocs-zIndex_backdrop)}.vocs_SearchDialog_overlay{animation:vocs_SearchDialog_fadeIn .1s ease-in-out;background:#0009;position:fixed;top:0;right:0;bottom:0;left:0;z-index:var(--vocs-zIndex_backdrop)}.vocs_SearchDialog_searchBox{align-items:center;border:1px solid var(--vocs-color_border);border-radius:var(--vocs-borderRadius_4);display:flex;gap:var(--vocs-space_8);padding-left:var(--vocs-space_8);padding-right:var(--vocs-space_8);margin-bottom:var(--vocs-space_8);width:100%}.vocs_SearchDialog_searchBox:focus-within{border-color:var(--vocs-color_borderAccent)}.vocs_SearchDialog_searchInput{background:transparent;display:flex;font-size:var(--vocs-fontSize_16);height:var(--vocs-space_40);width:100%}.vocs_SearchDialog_searchInput:focus{outline:none}.vocs_SearchDialog_searchInput::-moz-placeholder{color:var(--vocs-color_text4)}.vocs_SearchDialog_searchInput::placeholder{color:var(--vocs-color_text4)}.vocs_SearchDialog_searchInputIcon{color:var(--vocs-color_text3)}.vocs_SearchDialog_searchInputIconMobile{display:none}.vocs_SearchDialog_results{display:flex;flex-direction:column;gap:var(--vocs-space_8);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;width:100%}.vocs_SearchDialog_result{border:1.5px solid var(--vocs-color_border);border-radius:var(--vocs-borderRadius_4);width:100%}.vocs_SearchDialog_result:focus-within{border-color:var(--vocs-color_borderAccent)}.vocs_SearchDialog_result>a{display:flex;flex-direction:column;gap:var(--vocs-space_8);min-height:var(--vocs-space_36);outline:none;justify-content:center;padding:var(--vocs-space_12);width:100%}.vocs_SearchDialog_resultSelected{border-color:var(--vocs-color_borderAccent)}.vocs_SearchDialog_resultIcon{color:var(--vocs-color_textAccent);margin-right:1px;width:15px}.vocs_SearchDialog_titles{align-items:center;display:flex;flex-wrap:wrap;font-weight:var(--vocs-fontWeight_medium);gap:var(--vocs-space_4);line-height:22px}.vocs_SearchDialog_title{align-items:center;display:flex;gap:var(--vocs-space_4);white-space:nowrap}.vocs_SearchDialog_titleIcon{color:var(--vocs-color_text);display:inline-block;opacity:.5}.vocs_SearchDialog_resultSelected .vocs_SearchDialog_title,.vocs_SearchDialog_resultSelected .vocs_SearchDialog_titleIcon{color:var(--vocs-color_textAccent)}.vocs_SearchDialog_content{padding:0}.vocs_SearchDialog_excerpt{max-height:8.75rem;overflow:hidden;opacity:.5;position:relative}.vocs_SearchDialog_excerpt:before{content:"";position:absolute;top:-1px;left:0;width:100%;height:8px;background:linear-gradient(var(--vocs-color_background),transparent);z-index:1000}.vocs_SearchDialog_excerpt:after{content:"";position:absolute;bottom:-1px;left:0;width:100%;height:12px;background:linear-gradient(transparent,var(--vocs-color_background));z-index:1000}.vocs_SearchDialog_title mark,.vocs_SearchDialog_excerpt mark{background-color:var(--vocs-color_searchHighlightBackground);color:var(--vocs-color_searchHighlightText);border-radius:var(--vocs-borderRadius_2);padding-bottom:0;padding-left:var(--vocs-space_2);padding-right:var(--vocs-space_2);padding-top:0}.vocs_SearchDialog_resultSelected .vocs_SearchDialog_excerpt{opacity:1}.vocs_SearchDialog_searchShortcuts{align-items:center;color:var(--vocs-color_text2);display:flex;gap:var(--vocs-space_20);font-size:var(--vocs-fontSize_14)}.vocs_SearchDialog_searchShortcutsGroup{align-items:center;display:inline-flex;gap:var(--vocs-space_3);margin-right:var(--vocs-space_6)}@media screen and (max-width: 720px){.vocs_SearchDialog{border-radius:0;height:calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));margin:0;max-height:unset;width:100vw}.vocs_SearchDialog_searchInputIconDesktop{display:none}.vocs_SearchDialog_searchInputIconMobile{display:block}.vocs_SearchDialog_excerpt{opacity:1}.vocs_SearchDialog_searchShortcuts{display:none}}.vocs_DesktopTopNav{align-items:center;display:flex;justify-content:space-between;padding:0 var(--vocs-topNav_horizontalPadding);height:var(--vocs-topNav_height)}.vocs_DesktopTopNav_withLogo{padding-left:calc(((100% - var(--vocs-content_width)) / 2) + var(--vocs-topNav_horizontalPadding))}.vocs_DesktopTopNav_button{border-radius:var(--vocs-borderRadius_4);padding:var(--vocs-space_8)}.vocs_DesktopTopNav_content{right:calc(-1 * var(--vocs-space_24))}.vocs_DesktopTopNav_curtain{background:linear-gradient(var(--vocs-color_background),transparent 70%);height:30px;opacity:.98;width:100%}.vocs_DesktopTopNav_divider{background-color:var(--vocs-color_border);height:35%;width:1px}.vocs_DesktopTopNav_group{align-items:center;display:flex}.vocs_DesktopTopNav_icon{color:var(--vocs-color_text2);transition:color .1s}.vocs_DesktopTopNav_button:hover .vocs_DesktopTopNav_icon{color:var(--vocs-color_text)}.vocs_DesktopTopNav_item{align-items:center;display:flex;height:100%;position:relative}.vocs_DesktopTopNav_logo{padding-left:var(--vocs-sidebar_horizontalPadding);padding-right:var(--vocs-sidebar_horizontalPadding);width:var(--vocs-sidebar_width)}.vocs_DesktopTopNav_logoWrapper{display:flex;height:100%;justify-content:flex-end;left:0;position:absolute;width:var(--vocs_DocsLayout_leftGutterWidth)}.vocs_DesktopTopNav_section{align-items:center;display:flex;height:100%;gap:var(--vocs-space_24)}@media screen and (max-width: 1080px){.vocs_DesktopTopNav,.vocs_DesktopTopNav_curtain{display:none}}@media screen and (max-width: 1280px){.vocs_DesktopTopNav_hideCompact{display:none}}.vocs_Icon{align-items:center;display:flex;height:var(--vocs_Icon_size);width:var(--vocs_Icon_size)}:root:not(.dark) .vocs_Logo_logoDark{display:none}:root.dark .vocs_Logo_logoLight{display:none}.vocs_NavLogo_logoImage{height:50%;width:auto}.vocs_NavLogo_title{font-size:var(--vocs-fontSize_18);font-weight:var(--vocs-fontWeight_semibold);line-height:var(--vocs-lineHeight_heading)}@keyframes vocs_NavigationMenu_fadeIn{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}.vocs_NavigationMenu_list{display:flex;gap:var(--vocs-space_20)}.vocs_NavigationMenu_link{align-items:center;display:flex;font-size:var(--vocs-fontSize_14);font-weight:var(--vocs-fontWeight_medium);height:100%}.vocs_NavigationMenu_link:hover,.vocs_NavigationMenu_link[data-active=true]{color:var(--vocs-color_textAccent)}.vocs_NavigationMenu_trigger:after{content:"";background-color:currentColor;color:var(--vocs-color_text3);display:inline-block;height:.625em;margin-left:.325em;width:.625em;-webkit-mask:var(--vocs_NavigationMenu_chevronDownIcon) no-repeat center / contain;mask:var(--vocs_NavigationMenu_chevronDownIcon) no-repeat center / contain}.vocs_NavigationMenu_content{background-color:var(--vocs-color_background2);border:1px solid var(--vocs-color_border);border-radius:var(--vocs-borderRadius_4);box-shadow:0 3px 10px var(--vocs-color_shadow);display:flex;flex-direction:column;padding:var(--vocs-space_12) var(--vocs-space_16);position:absolute;top:calc(100% + var(--vocs-space_8));min-width:200px;z-index:var(--vocs-zIndex_popover);animation:vocs_NavigationMenu_fadeIn .5s cubic-bezier(.16,1,.3,1)}.vocs_Footer{--vocs_Footer_iconWidth: 24px;display:flex;flex-direction:column;gap:var(--vocs-space_32);max-width:var(--vocs-content_width);overflow-x:hidden;padding:var(--vocs-space_28) var(--vocs-content_horizontalPadding) var(--vocs-space_48)}.vocs_Footer_container{border-bottom:1px solid var(--vocs-color_border);display:flex;justify-content:space-between;padding-bottom:var(--vocs-space_16)}.vocs_Footer_editLink{align-items:center;display:flex;font-size:var(--vocs-fontSize_14);gap:var(--vocs-space_8);text-decoration:none}.vocs_Footer_lastUpdated{color:var(--vocs-color_text3);font-size:var(--vocs-fontSize_14)}.vocs_Footer_navigation{display:flex;justify-content:space-between}.vocs_Footer_navigationIcon{width:var(--vocs_Footer_iconWidth)}.vocs_Footer_navigationIcon_left{display:flex}.vocs_Footer_navigationIcon_right{display:flex;justify-content:flex-end}.vocs_Footer_navigationItem{display:flex;flex-direction:column;gap:var(--vocs-space_4)}.vocs_Footer_navigationItem_right{align-items:flex-end}.vocs_Footer_navigationText{align-items:center;display:flex;font-size:var(--vocs-fontSize_18);font-weight:var(--vocs-fontWeight_medium)}.vocs_Footer_navigationTextInner{overflow:hidden;text-overflow:ellipsis;width:26ch;white-space:pre}@media screen and (max-width: 720px){.vocs_Footer_navigationIcon_left,.vocs_Footer_navigationIcon_right{justify-content:center}.vocs_Footer_navigationText{font-size:var(--vocs-fontSize_12)}}@media screen and (max-width: 480px){.vocs_Footer_navigationTextInner{width:20ch}}.vocs_MobileSearch_searchButton{align-items:center;display:flex;color:var(--vocs-color_text);height:var(--vocs-space_28);justify-content:center;width:var(--vocs-space_28)}@keyframes vocs_MobileTopNav_fadeIn{0%{opacity:0}to{opacity:1}}.vocs_MobileTopNav{align-items:center;background-color:var(--vocs-color_backgroundDark);border-bottom:1px solid var(--vocs-color_border);display:none;height:100%;justify-content:space-between;padding:var(--vocs-space_0) var(--vocs-content_horizontalPadding);width:100%}.vocs_MobileTopNav_button{border-radius:var(--vocs-borderRadius_4);padding:var(--vocs-space_8)}.vocs_MobileTopNav_content{left:calc(-1 * var(--vocs-space_24))}.vocs_MobileTopNav_curtain{align-items:center;background-color:var(--vocs-color_backgroundDark);border-bottom:1px solid var(--vocs-color_border);display:none;justify-content:space-between;font-size:var(--vocs-fontSize_13);font-weight:var(--vocs-fontWeight_medium);height:100%;padding:var(--vocs-space_0) var(--vocs-content_horizontalPadding);width:100%}.vocs_MobileTopNav_curtainGroup{align-items:center;display:flex;gap:var(--vocs-space_12)}.vocs_MobileTopNav_divider{background-color:var(--vocs-color_border);height:35%;width:1px}.vocs_MobileTopNav_group{align-items:center;display:flex;height:100%}.vocs_MobileTopNav_icon{color:var(--vocs-color_text2);transition:color .1s}.vocs_MobileTopNav_button:hover .vocs_MobileTopNav_icon{color:var(--vocs-color_text)}.vocs_MobileTopNav_item{position:relative}.vocs_MobileTopNav_logo{align-items:center;display:flex;height:var(--vocs-topNav_height)}.vocs_MobileTopNav_logoImage{height:30%}.vocs_MobileTopNav_menuTrigger{align-items:center;display:flex;gap:var(--vocs-space_8)}.vocs_MobileTopNav_menuTitle{max-width:22ch;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:pre}.vocs_MobileTopNav_navigation{margin-left:var(--vocs-space_8)}.vocs_MobileTopNav_navigationContent{display:flex;flex-direction:column;margin-left:var(--vocs-space_8)}.vocs_MobileTopNav_navigationItem{align-items:center;display:flex;justify-content:flex-start;font-size:var(--vocs-fontSize_14);font-weight:var(--vocs-fontWeight_medium);width:100%}.vocs_MobileTopNav_navigationItem:hover,.vocs_MobileTopNav_navigationItem[data-active=true],.vocs_MobileTopNav_navigationItem[data-state=open]{color:var(--vocs-color_textAccent)}.vocs_MobileTopNav_trigger:after{content:"";background-color:currentColor;display:inline-block;height:.625em;margin-left:.325em;width:.625em;-webkit-mask:var(--vocs_MobileTopNav_chevronDownIcon) no-repeat center / contain;mask:var(--vocs_MobileTopNav_chevronDownIcon) no-repeat center / contain}.vocs_MobileTopNav_trigger[data-state=open]:after{-webkit-mask:var(--vocs_MobileTopNav_chevronUpIcon) no-repeat center / contain;mask:var(--vocs_MobileTopNav_chevronUpIcon) no-repeat center / contain}.vocs_MobileTopNav_outlineTrigger{animation:vocs_MobileTopNav_fadeIn .5s cubic-bezier(.16,1,.3,1);align-items:center;color:var(--vocs-color_text2);display:flex;gap:var(--vocs-space_6)}.vocs_MobileTopNav_outlineTrigger[data-state=open]{color:var(--vocs-color_textAccent)}.vocs_MobileTopNav_outlinePopover{display:none;overflow-y:scroll;padding:var(--vocs-space_16);max-height:80vh}.vocs_MobileTopNav_section{align-items:center;display:flex;height:100%;gap:var(--vocs-space_16)}.vocs_MobileTopNav_separator{background-color:var(--vocs-color_border);height:1.75em;width:1px}.vocs_MobileTopNav_sidebarPopover{display:none;overflow-y:scroll;padding:0 var(--vocs-sidebar_horizontalPadding);max-height:80vh;width:var(--vocs-sidebar_width)}.vocs_MobileTopNav_title{font-size:var(--vocs-fontSize_18);font-weight:var(--vocs-fontWeight_semibold);line-height:var(--vocs-lineHeight_heading)}.vocs_MobileTopNav_topNavPopover{display:none;overflow-y:scroll;padding:var(--vocs-sidebar_verticalPadding) var(--vocs-sidebar_horizontalPadding);max-height:80vh;width:var(--vocs-sidebar_width)}@media screen and (max-width: 1080px){.vocs_MobileTopNav,.vocs_MobileTopNav_curtain{display:flex}.vocs_MobileTopNav_outlinePopover{display:block;max-width:300px}.vocs_MobileTopNav_sidebarPopover{display:block}.vocs_MobileTopNav_topNavPopover{display:flex;flex-direction:column}}@media screen and (max-width: 720px){.vocs_MobileTopNav_navigation:not(.vocs_MobileTopNav_navigation_compact){display:none}}@media screen and (min-width: 721px){.vocs_MobileTopNav_navigation.vocs_MobileTopNav_navigation_compact{display:none}}.vocs_Outline{width:100%}.vocs_Outline_nav{display:flex;flex-direction:column;gap:var(--vocs-space_8)}.vocs_DocsLayout_gutterRight .vocs_Outline_nav{border-left:1px solid var(--vocs-color_border);padding-left:var(--vocs-space_16)}.vocs_Outline_heading{color:var(--vocs-color_title);font-size:var(--vocs-fontSize_13);font-weight:var(--vocs-fontWeight_semibold);line-height:var(--vocs-lineHeight_heading);letter-spacing:.025em}.vocs_Outline_items .vocs_Outline_items{padding-left:var(--vocs-space_12)}.vocs_Outline_item{line-height:var(--vocs-lineHeight_outlineItem);margin-bottom:var(--vocs-space_8);overflow:hidden;text-overflow:ellipsis;text-wrap:nowrap}.vocs_Outline_link{color:var(--vocs-color_text2);font-weight:var(--vocs-fontWeight_medium);font-size:var(--vocs-fontSize_13);transition:color .1s}.vocs_Outline_link[data-active=true]{color:var(--vocs-color_textAccent)}.vocs_Outline_link[data-active=true]:hover{color:var(--vocs-color_textAccentHover)}.vocs_Outline_link:hover{color:var(--vocs-color_text)}.vocs_Popover{background-color:var(--vocs-color_background2);border:1px solid var(--vocs-color_border);border-radius:var(--vocs-borderRadius_4);margin:0 var(--vocs-space_6);z-index:var(--vocs-zIndex_popover)}.vocs_Sidebar{display:flex;flex-direction:column;font-size:var(--vocs-fontSize_14);overflow-y:auto;width:var(--vocs-sidebar_width)}.vocs_Sidebar_backLink{text-align:left}.vocs_Sidebar_divider{background-color:var(--vocs-color_border);width:100%;height:1px}.vocs_Sidebar_navigation{outline:0}.vocs_Sidebar_navigation:first-child{padding-top:var(--vocs-space_16)}.vocs_Sidebar_group{display:flex;flex-direction:column}.vocs_Sidebar_logo{align-items:center;display:flex;height:var(--vocs-topNav_height);padding-top:var(--vocs-space_4)}.vocs_Sidebar_logoWrapper{background-color:var(--vocs-color_backgroundDark);position:sticky;top:0;z-index:var(--vocs-zIndex_gutterTopCurtain)}.vocs_Sidebar_section{display:flex;flex-direction:column;font-size:1em}.vocs_Sidebar_navigation>.vocs_Sidebar_group>.vocs_Sidebar_section+.vocs_Sidebar_section{border-top:1px solid var(--vocs-color_border)}.vocs_Sidebar_levelCollapsed{gap:var(--vocs-space_4);padding-bottom:var(--vocs-space_12)}.vocs_Sidebar_levelInset{border-left:1px solid var(--vocs-color_border);font-size:var(--vocs-fontSize_13);margin-top:var(--vocs-space_8);padding-left:var(--vocs-space_12)}.vocs_Sidebar_levelInset.vocs_Sidebar_levelInset.vocs_Sidebar_levelInset{font-weight:var(--vocs-fontWeight_regular);padding-top:0;padding-bottom:0}.vocs_Sidebar_items{display:flex;flex-direction:column;gap:.625em;padding-top:var(--vocs-space_16);padding-bottom:var(--vocs-space_16);font-weight:var(--vocs-fontWeight_medium)}.vocs_Sidebar_level .vocs_Sidebar_items{padding-top:var(--vocs-space_6)}.vocs_Sidebar_item{color:var(--vocs-color_text3);letter-spacing:.25px;line-height:var(--vocs-lineHeight_sidebarItem);width:100%;transition:color .1s}.vocs_Sidebar_item:hover{color:var(--vocs-color_text)}.vocs_Sidebar_item[data-active=true]{color:var(--vocs-color_textAccent)}.vocs_Sidebar_sectionHeader{align-items:center;display:flex;justify-content:space-between}.vocs_Sidebar_level>.vocs_Sidebar_sectionHeader{padding-top:var(--vocs-space_12)}.vocs_Sidebar_sectionHeaderActive{color:var(--vocs-color_text)}.vocs_Sidebar_sectionTitle{color:var(--vocs-color_title);font-size:var(--vocs-fontSize_14);font-weight:var(--vocs-fontWeight_semibold);letter-spacing:.25px;width:100%}.vocs_Sidebar_sectionCollapse{color:var(--vocs-color_text3);transform:rotate(90deg);transition:transform .25s}.vocs_Sidebar_sectionCollapseActive{transform:rotate(0)}@media screen and (max-width: 1080px){.vocs_Sidebar{width:100%}.vocs_Sidebar_logoWrapper{display:none}}.vocs_SkipLink{background:var(--vocs-color_background);border-radius:var(--vocs-borderRadius_4);color:var(--vocs-color_link);font-size:var(--vocs-fontSize_14);font-weight:var(--vocs-fontWeight_semibold);left:var(--vocs-space_8);padding:var(--vocs-space_8) var(--vocs-space_16);position:fixed;text-decoration:none;top:var(--vocs-space_8);z-index:999}.vocs_SkipLink:focus{clip:auto;-webkit-clip-path:none;clip-path:none;height:auto;width:auto}@layer vocs_preflight{*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }}.mb-4{margin-bottom:1rem}.mt-8{margin-top:2rem}.flex{display:flex}.w-full{width:100%}.max-w-2xl{max-width:42rem}.list-disc{list-style-type:disc}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-4{gap:1rem}.rounded{border-radius:.25rem}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-\[--vocs-color_codeInlineBorder\]{border-color:var(--vocs-color_codeInlineBorder)}.border-gray-500{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.bg-\[--vocs-color_codeBlockBackground\]{background-color:var(--vocs-color_codeBlockBackground)}.bg-\[--vocs-color_codeTitleBackground\]{background-color:var(--vocs-color_codeTitleBackground)}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.px-2{padding-left:.5rem;padding-right:.5rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-2{padding-bottom:.5rem}.pl-5{padding-left:1.25rem}.text-left{text-align:left}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.text-\[--vocs-color_heading\]{color:var(--vocs-color_heading)}.text-\[--vocs-color_text3\]{color:var(--vocs-color_text3)}.hover\:text-\[--vocs-color_text\]:hover{color:var(--vocs-color_text)}@media (min-width: 768px){.md\:flex-row{flex-direction:row}}.\[\&\[data-state\=\'active\'\]\]\:border-\[--vocs-color_borderAccent\][data-state=active]{border-color:var(--vocs-color_borderAccent)}.\[\&\[data-state\=\'active\'\]\]\:text-\[--vocs-color_text\][data-state=active]{color:var(--vocs-color_text)}.vocs_Section{border-top:1px solid var(--vocs-color_border);margin-top:var(--vocs-space_56);padding-top:var(--vocs-space_24)}.vocs_Anchor{color:var(--vocs-color_link);font-weight:var(--vocs-fontWeight_medium);text-underline-offset:var(--vocs-space_2);text-decoration:underline;transition:color .1s}.vocs_Callout_danger .vocs_Anchor{color:var(--vocs-color_dangerText)}.vocs_Callout_danger .vocs_Anchor:hover{color:var(--vocs-color_dangerTextHover)}.vocs_Callout_info .vocs_Anchor{color:var(--vocs-color_infoText)}.vocs_Callout_info .vocs_Anchor:hover{color:var(--vocs-color_infoTextHover)}.vocs_Callout_success .vocs_Anchor{color:var(--vocs-color_successText)}.vocs_Callout_success .vocs_Anchor:hover{color:var(--vocs-color_successTextHover)}.vocs_Callout_tip .vocs_Anchor{color:var(--vocs-color_tipText)}.vocs_Callout_tip .vocs_Anchor:hover{color:var(--vocs-color_tipTextHover)}.vocs_Callout_warning .vocs_Anchor{color:var(--vocs-color_warningText)}.vocs_Callout_warning .vocs_Anchor:hover{color:var(--vocs-color_warningTextHover)}.vocs_Anchor:hover{color:var(--vocs-color_linkHover)}.vocs_Section a.data-footnote-backref{color:var(--vocs-color_link);font-weight:var(--vocs-fontWeight_medium);text-underline-offset:var(--vocs-space_2);text-decoration:underline}.vocs_Section a.data-footnote-backref:hover{color:var(--vocs-color_linkHover)}.vocs_Autolink{opacity:0;margin-top:.1em;position:absolute;transition:opacity .1s,transform .1s;transform:translate(-2px) scale(.98)}.vocs_Heading:hover .vocs_Autolink{opacity:1;transform:translate(0) scale(1)}.vocs_Pre_wrapper{position:relative}.vocs_Code{transition:color .1s}:not(.vocs_Pre)>.vocs_Code{background-color:var(--vocs-color_codeInlineBackground);border:1px solid var(--vocs-color_codeInlineBorder);border-radius:var(--vocs-borderRadius_4);color:var(--vocs-color_codeInlineText);font-size:var(--vocs-fontSize_code);padding:var(--vocs-space_3) var(--vocs-space_6)}.vocs_Anchor>.vocs_Code{color:var(--vocs-color_link);text-decoration:underline;text-underline-offset:var(--vocs-space_2)}.vocs_Anchor:hover>.vocs_Code{color:var(--vocs-color_linkHover)}.vocs_Callout_danger .vocs_Code{color:var(--vocs-color_dangerText)}.vocs_Callout_info .vocs_Code{color:var(--vocs-color_infoText)}.vocs_Callout_success .vocs_Code{color:var(--vocs-color_successText)}.vocs_Callout_tip .vocs_Code{color:var(--vocs-color_tipText)}.vocs_Callout_warning .vocs_Code{color:var(--vocs-color_warningText)}.vocs_Heading .vocs_Code{color:inherit}.twoslash-popup-info-hover>.vocs_Code{background-color:inherit;padding:0;text-wrap:wrap}.twoslash-popup-jsdoc .vocs_Code{display:inline}.vocs_Authors{color:var(--vocs-color_text3);font-size:var(--vocs-fontSize_14)}.vocs_Authors_authors{color:var(--vocs-color_text)}.vocs_Authors_link{text-decoration:underline;text-underline-offset:2px}.vocs_Authors_link:hover{color:var(--vocs-color_text2)}.vocs_Authors_separator{color:var(--vocs-color_text3)}.vocs_BlogPosts{display:flex;flex-direction:column;gap:var(--vocs-space_32)}.vocs_BlogPosts_description{margin-top:var(--vocs-space_16)}.vocs_BlogPosts_divider{border-color:var(--vocs-color_background4)}.vocs_BlogPosts_post:hover .vocs_BlogPosts_readMore{color:var(--vocs-color_textAccent)}.vocs_BlogPosts_title{font-size:var(--vocs-fontSize_h2);font-weight:var(--vocs-fontWeight_semibold)}.vocs_Sponsors{border-radius:var(--vocs-borderRadius_8);display:flex;flex-direction:column;gap:var(--vocs-space_4);overflow:hidden}.vocs_Sponsors_title{background-color:var(--vocs-color_background3);color:var(--vocs-color_text3);font-size:var(--vocs-fontSize_13);font-weight:var(--vocs-fontWeight_medium);padding:var(--vocs-space_4) 0;text-align:center}.vocs_Sponsors_row{display:flex;flex-direction:row;gap:var(--vocs-space_4)}.vocs_Sponsors_column{align-items:center;background-color:var(--vocs-color_background3);display:flex;justify-content:center;padding:var(--vocs-space_32);width:calc(var(--vocs_Sponsors_columns) * 100%)}.vocs_Sponsors_sponsor{transition:background-color .1s}.vocs_Sponsors_sponsor:hover{background-color:var(--vocs-color_background5)}.dark .vocs_Sponsors_sponsor:hover{background-color:var(--vocs-color_white)}.vocs_Sponsors_image{filter:grayscale(1);height:var(--vocs_Sponsors_height);transition:filter .1s}.dark .vocs_Sponsors_image{filter:grayscale(1) invert(1)}.vocs_Sponsors_column:hover .vocs_Sponsors_image{filter:none}.vocs_AutolinkIcon{background-color:var(--vocs-color_textAccent);display:inline-block;margin-left:.25em;height:.8em;width:.8em;-webkit-mask:var(--vocs_AutolinkIcon_iconUrl) no-repeat center / contain;mask:var(--vocs_AutolinkIcon_iconUrl) no-repeat center / contain;transition:background-color .1s}.vocs_Autolink:hover .vocs_AutolinkIcon{background-color:var(--vocs-color_textAccentHover)}@media screen and (max-width: 720px){.vocs_CodeGroup{border-radius:0;border-right:none;border-left:none;margin-left:calc(-1 * var(--vocs-space_16));margin-right:calc(-1 * var(--vocs-space_16))}}.vocs_Steps{border-left:1.5px solid var(--vocs-color_border);counter-reset:step;padding-left:var(--vocs-space_24);margin-left:var(--vocs-space_12);margin-top:var(--vocs-space_24)}@media screen and (max-width: 720px){.vocs_Steps{margin-left:var(--vocs-space_4)}}.vocs_Subtitle{color:var(--vocs-color_text2);font-size:var(--vocs-fontSize_subtitle);font-weight:var(--vocs-fontWeight_regular);letter-spacing:-.02em;line-height:var(--vocs-lineHeight_heading);margin-top:var(--vocs-space_4);text-wrap:balance}.vocs_HorizontalRule{border-top:1px solid var(--vocs-color_hr);margin-bottom:var(--vocs-space_16)}.vocs_ListItem{line-height:var(--vocs-lineHeight_listItem)}.vocs_ListItem:not(:last-child){margin-bottom:.5em}.vocs_CopyButton{align-items:center;background-color:color-mix(in srgb,var(--vocs-color_background2) 75%,transparent);-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);border:1px solid var(--vocs-color_border);border-radius:var(--vocs-borderRadius_4);color:var(--vocs-color_text3);display:flex;justify-content:center;position:absolute;right:var(--vocs-space_18);top:var(--vocs-space_18);opacity:0;height:32px;width:32px;transition:background-color .15s,opacity .15s;z-index:var(--vocs-zIndex_surface)}.vocs_CopyButton:hover{background-color:var(--vocs-color_background4);transition:background-color .05s}.vocs_CopyButton:focus-visible{background-color:var(--vocs-color_background4);opacity:1;transition:background-color .05s}.vocs_CopyButton:hover:active{background-color:var(--vocs-color_background2)}.vocs_Pre:hover .vocs_CopyButton{opacity:1}.vocs_CodeTitle{align-items:center;background-color:var(--vocs-color_codeTitleBackground);border-bottom:1px solid var(--vocs-color_border);color:var(--vocs-color_text3);display:flex;font-size:var(--vocs-fontSize_14);font-weight:var(--vocs-fontWeight_medium);gap:var(--vocs-space_6);padding:var(--vocs-space_8) var(--vocs-space_24)}.vocs_CodeGroup .vocs_CodeTitle{display:none}@media screen and (max-width: 720px){.vocs_CodeTitle{border-radius:0;padding-left:var(--vocs-space_16);padding-right:var(--vocs-space_16)}}.vocs_CalloutTitle{font-size:var(--vocs-fontSize_12);letter-spacing:.02em;text-transform:uppercase}.vocs_Strong{font-weight:var(--vocs-fontWeight_semibold)}.vocs_Content>.vocs_Strong{display:block}.vocs_Callout>.vocs_Strong{display:block;margin-bottom:var(--vocs-space_4)}.vocs_Summary{cursor:pointer}.vocs_Summary.vocs_Summary:hover{text-decoration:underline}.vocs_Details[open] .vocs_Summary{margin-bottom:var(--vocs-space_4)}.vocs_Callout .vocs_Summary{font-weight:var(--vocs-fontWeight_medium)}.vocs_Details .vocs_Summary.vocs_Summary{margin-bottom:0}.vocs_Table{display:block;border-collapse:collapse;overflow-x:auto;margin-bottom:var(--vocs-space_24)}.vocs_TableCell{border:1px solid var(--vocs-color_tableBorder);font-size:var(--vocs-fontSize_td);padding:var(--vocs-space_8) var(--vocs-space_12)}.vocs_TableHeader{border:1px solid var(--vocs-color_tableBorder);background-color:var(--vocs-color_tableHeaderBackground);color:var(--vocs-color_tableHeaderText);font-size:var(--vocs-fontSize_th);font-weight:var(--vocs-fontWeight_medium);padding:var(--vocs-space_8) var(--vocs-space_12);text-align:left}.vocs_TableHeader[align=center]{text-align:center}.vocs_TableHeader[align=right]{text-align:right}.vocs_TableRow{border-top:1px solid var(--vocs-color_tableBorder)}.vocs_TableRow:nth-child(2n){background-color:var(--vocs-color_background2)}@media screen and (max-width: 720px){.Tabs__root{border-radius:0;margin-left:calc(-1* var(--vocs-space_16));margin-right:calc(-1* var(--vocs-space_16));padding-left:var(--vocs-space_16);padding-right:var(--vocs-space_16)}.Tabs__list{margin-left:calc(-1* var(--vocs-space_16));margin-right:calc(-1* var(--vocs-space_16))}}.vocs_Button_button{align-items:center;background:var(--vocs-color_background4);border:1px solid var(--vocs-color_border);border-radius:var(--vocs-borderRadius_4);color:var(--vocs-color_text);display:flex;font-size:var(--vocs-fontSize_14);font-weight:var(--vocs-fontWeight_medium);height:36px;padding:0 var(--vocs-space_16);transition:background .1s;white-space:pre;width:-moz-fit-content;width:fit-content}.vocs_Button_button:hover{background:var(--vocs-color_background3)}.vocs_Button_button_accent{background:var(--vocs-color_backgroundAccent);color:var(--vocs-color_backgroundAccentText);border:1px solid var(--vocs-color_borderAccent)}.vocs_Button_button_accent:hover{background:var(--vocs-color_backgroundAccentHover)}.vocs_HomePage{align-items:center;display:flex;flex-direction:column;padding-top:var(--vocs-space_64);text-align:center;gap:var(--vocs-space_32)}.vocs_HomePage_logo{display:flex;justify-content:center;height:48px}.vocs_HomePage_title{font-size:var(--vocs-fontSize_64);font-weight:var(--vocs-fontWeight_semibold);line-height:1em}.vocs_HomePage_tagline{color:var(--vocs-color_text2);font-size:var(--vocs-fontSize_20);font-weight:var(--vocs-fontWeight_medium);line-height:1.5em}.vocs_HomePage_title+.vocs_HomePage_tagline{margin-top:calc(-1 * var(--vocs-space_8))}.vocs_HomePage_description{color:var(--vocs-color_text);font-size:var(--vocs-fontSize_16);font-weight:var(--vocs-fontWeight_regular);line-height:var(--vocs-lineHeight_paragraph)}.vocs_HomePage_tagline+.vocs_HomePage_description{margin-top:calc(-1 * var(--vocs-space_8))}.vocs_HomePage_buttons{display:flex;gap:var(--vocs-space_16)}.vocs_HomePage_tabs{min-width:300px}.vocs_HomePage_tabsList{display:flex;justify-content:center}.vocs_HomePage_tabsContent{color:var(--vocs-color_text2);font-family:var(--vocs-fontFamily_mono)}.vocs_HomePage_packageManager{color:var(--vocs-color_textAccent)}@media screen and (max-width: 720px){.vocs_HomePage{padding-top:var(--vocs-space_32)}.vocs_HomePage_logo{height:36px}} diff --git a/assets/style-DHsLeCom.css b/assets/style-DHsLeCom.css deleted file mode 100644 index 127e23d4..00000000 --- a/assets/style-DHsLeCom.css +++ /dev/null @@ -1 +0,0 @@ -@layer vocs_preflight;:root{--vocs-color_white: rgba(255 255 255 / 100%);--vocs-color_black: rgba(0 0 0 / 100%);--vocs-color_background: rgba(255 255 255 / 100%);--vocs-color_background2: #f9f9f9;--vocs-color_background3: #f6f6f6;--vocs-color_background4: #f0f0f0;--vocs-color_background5: #e8e8e8;--vocs-color_backgroundAccent: #5b5bd6;--vocs-color_backgroundAccentHover: #5151cd;--vocs-color_backgroundAccentText: rgba(255 255 255 / 100%);--vocs-color_backgroundBlueTint: #008cff0b;--vocs-color_backgroundDark: #f9f9f9;--vocs-color_backgroundGreenTint: #00a32f0b;--vocs-color_backgroundGreenTint2: #00a43319;--vocs-color_backgroundIrisTint: #0000ff07;--vocs-color_backgroundRedTint: #ff000008;--vocs-color_backgroundRedTint2: #f3000d14;--vocs-color_backgroundYellowTint: #f4dd0016;--vocs-color_border: #ececec;--vocs-color_border2: #cecece;--vocs-color_borderAccent: #5753c6;--vocs-color_borderBlue: #009eff2a;--vocs-color_borderGreen: #019c393b;--vocs-color_borderIris: #dadcff;--vocs-color_borderRed: #ff000824;--vocs-color_borderYellow: #ffd5008f;--vocs-color_heading: #202020;--vocs-color_inverted: rgba(0 0 0 / 100%);--vocs-color_shadow: #0000000f;--vocs-color_shadow2: #00000006;--vocs-color_text: #4c4c4c;--vocs-color_text2: #646464;--vocs-color_text3: #838383;--vocs-color_text4: #bbbbbb;--vocs-color_textAccent: #5753c6;--vocs-color_textAccentHover: #272962;--vocs-color_textBlue: #0d74ce;--vocs-color_textBlueHover: #113264;--vocs-color_textGreen: #218358;--vocs-color_textGreenHover: #193b2d;--vocs-color_textIris: #5753c6;--vocs-color_textIrisHover: #272962;--vocs-color_textRed: #ce2c31;--vocs-color_textRedHover: #641723;--vocs-color_textYellow: #9e6c00;--vocs-color_textYellowHover: #473b1f;--vocs-color_title: #202020}:root.dark{--vocs-color_white: rgba(255 255 255 / 100%);--vocs-color_black: rgba(0 0 0 / 100%);--vocs-color_background: #232225;--vocs-color_background2: #2b292d;--vocs-color_background3: #2e2c31;--vocs-color_background4: #323035;--vocs-color_background5: #3c393f;--vocs-color_backgroundAccent: #5b5bd6;--vocs-color_backgroundAccentHover: #5753c6;--vocs-color_backgroundAccentText: rgba(255 255 255 / 100%);--vocs-color_backgroundBlueTint: #008ff519;--vocs-color_backgroundDark: #1e1d1f;--vocs-color_backgroundGreenTint: #00a43319;--vocs-color_backgroundGreenTint2: #00a83829;--vocs-color_backgroundIrisTint: #000bff19;--vocs-color_backgroundRedTint: #f3000d14;--vocs-color_backgroundRedTint2: #ff000824;--vocs-color_backgroundYellowTint: #f4dd0016;--vocs-color_border: #3c393f;--vocs-color_border2: #6f6d78;--vocs-color_borderAccent: #6e6ade;--vocs-color_borderBlue: #009eff2a;--vocs-color_borderGreen: #019c393b;--vocs-color_borderIris: #303374;--vocs-color_borderRed: #ff000824;--vocs-color_borderYellow: #f4dd0016;--vocs-color_heading: #e9e9ea;--vocs-color_inverted: rgba(255 255 255 / 100%);--vocs-color_shadow: #00000000;--vocs-color_shadow2: rgba(0, 0, 0, .05);--vocs-color_text: #cfcfcf;--vocs-color_text2: #bdbdbe;--vocs-color_text3: #a7a7a8;--vocs-color_text4: #656567;--vocs-color_textAccent: #b1a9ff;--vocs-color_textAccentHover: #6e6ade;--vocs-color_textBlue: #70b8ff;--vocs-color_textBlueHover: #3b9eff;--vocs-color_textGreen: #3dd68c;--vocs-color_textGreenHover: #33b074;--vocs-color_textIris: #b1a9ff;--vocs-color_textIrisHover: #6e6ade;--vocs-color_textRed: #ff9592;--vocs-color_textRedHover: #ec5d5e;--vocs-color_textYellow: #f5e147;--vocs-color_textYellowHover: #e2a336;--vocs-color_title: rgba(255 255 255 / 100%)}:root{--vocs-color_blockquoteBorder: var(--vocs-color_border);--vocs-color_blockquoteText: var(--vocs-color_text3);--vocs-color_dangerBackground: var(--vocs-color_backgroundRedTint);--vocs-color_dangerBorder: var(--vocs-color_borderRed);--vocs-color_dangerText: var(--vocs-color_textRed);--vocs-color_dangerTextHover: var(--vocs-color_textRedHover);--vocs-color_infoBackground: var(--vocs-color_backgroundBlueTint);--vocs-color_infoBorder: var(--vocs-color_borderBlue);--vocs-color_infoText: var(--vocs-color_textBlue);--vocs-color_infoTextHover: var(--vocs-color_textBlueHover);--vocs-color_noteBackground: var(--vocs-color_background2);--vocs-color_noteBorder: var(--vocs-color_border);--vocs-color_noteText: var(--vocs-color_text2);--vocs-color_successBackground: var(--vocs-color_backgroundGreenTint);--vocs-color_successBorder: var(--vocs-color_borderGreen);--vocs-color_successText: var(--vocs-color_textGreen);--vocs-color_successTextHover: var(--vocs-color_textGreenHover);--vocs-color_tipBackground: var(--vocs-color_backgroundIrisTint);--vocs-color_tipBorder: var(--vocs-color_borderIris);--vocs-color_tipText: var(--vocs-color_textIris);--vocs-color_tipTextHover: var(--vocs-color_textIrisHover);--vocs-color_warningBackground: var(--vocs-color_backgroundYellowTint);--vocs-color_warningBorder: var(--vocs-color_borderYellow);--vocs-color_warningText: var(--vocs-color_textYellow);--vocs-color_warningTextHover: var(--vocs-color_textYellowHover);--vocs-color_codeBlockBackground: var(--vocs-color_background2);--vocs-color_codeCharacterHighlightBackground: var(--vocs-color_background5);--vocs-color_codeHighlightBackground: var(--vocs-color_background4);--vocs-color_codeHighlightBorder: var(--vocs-color_border2);--vocs-color_codeInlineBackground: var(--vocs-color_background4);--vocs-color_codeInlineBorder: var(--vocs-color_border);--vocs-color_codeInlineText: var(--vocs-color_textAccent);--vocs-color_codeTitleBackground: var(--vocs-color_background4);--vocs-color_lineNumber: var(--vocs-color_text4);--vocs-color_hr: var(--vocs-color_border);--vocs-color_link: var(--vocs-color_textAccent);--vocs-color_linkHover: var(--vocs-color_textAccentHover);--vocs-color_searchHighlightBackground: var(--vocs-color_borderAccent);--vocs-color_searchHighlightText: var(--vocs-color_background);--vocs-color_tableBorder: var(--vocs-color_border);--vocs-color_tableHeaderBackground: var(--vocs-color_background2);--vocs-color_tableHeaderText: var(--vocs-color_text2);--vocs-borderRadius_0: 0;--vocs-borderRadius_2: 2px;--vocs-borderRadius_3: 3px;--vocs-borderRadius_4: 4px;--vocs-borderRadius_6: 6px;--vocs-borderRadius_8: 8px;--vocs-fontFamily_default: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;--vocs-fontFamily_mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--vocs-fontSize_9: .5625rem;--vocs-fontSize_11: .6875rem;--vocs-fontSize_12: .75rem;--vocs-fontSize_13: .8125rem;--vocs-fontSize_14: .875rem;--vocs-fontSize_15: .9375rem;--vocs-fontSize_16: 1rem;--vocs-fontSize_18: 1.125rem;--vocs-fontSize_20: 1.25rem;--vocs-fontSize_24: 1.5rem;--vocs-fontSize_32: 2rem;--vocs-fontSize_64: 3rem;--vocs-fontSize_root: 16px;--vocs-fontSize_h1: var(--vocs-fontSize_32);--vocs-fontSize_h2: var(--vocs-fontSize_24);--vocs-fontSize_h3: var(--vocs-fontSize_20);--vocs-fontSize_h4: var(--vocs-fontSize_18);--vocs-fontSize_h5: var(--vocs-fontSize_16);--vocs-fontSize_h6: var(--vocs-fontSize_16);--vocs-fontSize_calloutCodeBlock: .8em;--vocs-fontSize_code: .875em;--vocs-fontSize_codeBlock: var(--vocs-fontSize_14);--vocs-fontSize_lineNumber: var(--vocs-fontSize_15);--vocs-fontSize_subtitle: var(--vocs-fontSize_20);--vocs-fontSize_th: var(--vocs-fontSize_14);--vocs-fontSize_td: var(--vocs-fontSize_14);--vocs-fontWeight_regular: 300;--vocs-fontWeight_medium: 400;--vocs-fontWeight_semibold: 500;--vocs-lineHeight_code: 1.75em;--vocs-lineHeight_heading: 1.5em;--vocs-lineHeight_listItem: 1.5em;--vocs-lineHeight_outlineItem: 1em;--vocs-lineHeight_paragraph: 1.75em;--vocs-lineHeight_sidebarItem: 1.375em;--vocs-space_0: 0px;--vocs-space_1: 1px;--vocs-space_2: .125rem;--vocs-space_3: .1875rem;--vocs-space_4: .25rem;--vocs-space_6: .375rem;--vocs-space_8: .5rem;--vocs-space_12: .75rem;--vocs-space_14: .875rem;--vocs-space_16: 1rem;--vocs-space_18: 1.125rem;--vocs-space_20: 1.25rem;--vocs-space_22: 1.375rem;--vocs-space_24: 1.5rem;--vocs-space_28: 1.75rem;--vocs-space_32: 2rem;--vocs-space_36: 2.25rem;--vocs-space_40: 2.5rem;--vocs-space_44: 2.75rem;--vocs-space_48: 3rem;--vocs-space_56: 3.5rem;--vocs-space_64: 4rem;--vocs-space_72: 4.5rem;--vocs-space_80: 5rem;--vocs-zIndex_backdrop: 69420;--vocs-zIndex_drawer: 69421;--vocs-zIndex_gutterRight: 11;--vocs-zIndex_gutterLeft: 14;--vocs-zIndex_gutterTop: 13;--vocs-zIndex_gutterTopCurtain: 12;--vocs-zIndex_popover: 69422;--vocs-zIndex_surface: 10;--vocs-content_horizontalPadding: var(--vocs-space_48);--vocs-content_verticalPadding: var(--vocs-space_32);--vocs-content_width: calc(70ch + (var(--vocs-content_horizontalPadding) * 2));--vocs-outline_width: 280px;--vocs-sidebar_horizontalPadding: var(--vocs-space_24);--vocs-sidebar_verticalPadding: var(--vocs-space_0);--vocs-sidebar_width: 300px;--vocs-topNav_height: 60px;--vocs-topNav_horizontalPadding: var(--vocs-content_horizontalPadding);--vocs-topNav_curtainHeight: 40px}@media screen and (max-width: 1080px){:root{--vocs-content_verticalPadding: var(--vocs-space_48);--vocs-content_horizontalPadding: var(--vocs-space_24);--vocs-sidebar_horizontalPadding: var(--vocs-space_16);--vocs-sidebar_verticalPadding: var(--vocs-space_16);--vocs-sidebar_width: 300px;--vocs-topNav_height: 48px}}@media screen and (max-width: 720px){:root{--vocs-content_horizontalPadding: var(--vocs-space_16);--vocs-content_verticalPadding: var(--vocs-space_32)}}.vocs_Banner{background-color:var(--vocs_Banner_bannerBackgroundColor, var(--vocs-color_backgroundAccent));border-bottom:1px solid var(--vocs_Banner_bannerBackgroundColor, var(--vocs-color_borderAccent));color:var(--vocs_Banner_bannerTextColor, var(--vocs-color_backgroundAccentText));height:var(--vocs_Banner_bannerHeight, 36px);position:fixed;top:0;width:100%;z-index:var(--vocs-zIndex_gutterTop)}.vocs_Banner_content{font-size:var(--vocs-fontSize_14);overflow-x:scroll;padding-left:var(--vocs-space_8);padding-right:var(--vocs-space_8);margin-right:var(--vocs-space_24);-ms-overflow-style:none;scrollbar-width:none;white-space:pre}.vocs_Banner_content::-webkit-scrollbar{display:none}.vocs_Banner_inner{align-items:center;display:flex;height:100%;justify-content:center;position:relative;width:100%}.vocs_Banner_closeButton{align-items:center;background-color:var(--vocs_Banner_bannerBackgroundColor, var(--vocs-color_backgroundAccent));display:flex;justify-content:center;height:100%;position:absolute;right:0;width:var(--vocs-space_24)}.vocs_Banner_content a{font-weight:400;text-underline-offset:2px;text-decoration:underline}@media screen and (max-width: 1080px){.vocs_Banner{position:initial}}.vocs_DocsLayout{--vocs_DocsLayout_leftGutterWidth: max(calc((100vw - var(--vocs-content_width)) / 2), var(--vocs-sidebar_width))}.vocs_DocsLayout_content{background-color:var(--vocs-color_background);margin-left:auto;margin-right:auto;max-width:var(--vocs-content_width);min-height:100vh}.vocs_DocsLayout_content_withSidebar{margin-left:var(--vocs_DocsLayout_leftGutterWidth);margin-right:unset}.vocs_DocsLayout_gutterLeft{background-color:var(--vocs-color_backgroundDark);justify-content:flex-end;display:flex;height:100vh;position:fixed;top:var(--vocs_Banner_bannerHeight, 0px);width:var(--vocs_DocsLayout_leftGutterWidth);z-index:var(--vocs-zIndex_gutterLeft)}.vocs_DocsLayout_gutterTop{align-items:center;background-color:color-mix(in srgb,var(--vocs-color_background) 98%,transparent);height:var(--vocs-topNav_height);width:100vw;z-index:var(--vocs-zIndex_gutterTop)}.vocs_DocsLayout_gutterTopCurtain{display:flex;height:var(--vocs-topNav_curtainHeight);width:100vw;z-index:var(--vocs-zIndex_gutterTopCurtain)}.vocs_DocsLayout_gutterTopCurtain_hidden{background:unset;display:none}.vocs_DocsLayout_gutterRight{display:flex;height:100vh;overflow-y:auto;padding:calc(var(--vocs-content_verticalPadding) + var(--vocs-topNav_height) + var(--vocs-space_8)) var(--vocs-space_24) 0 0;position:fixed;top:var(--vocs_Banner_bannerHeight, 0px);right:0;width:calc((100vw - var(--vocs-content_width)) / 2);z-index:var(--vocs-zIndex_gutterRight)}.vocs_DocsLayout_gutterRight::-webkit-scrollbar{display:none}.vocs_DocsLayout_gutterRight_withSidebar{width:calc(100vw - var(--vocs-content_width) - var(--vocs_DocsLayout_leftGutterWidth))}.vocs_DocsLayout_outlinePopover{display:none;overflow-y:auto;height:calc(100vh - var(--vocs-topNav_height) - var(--vocs-topNav_curtainHeight))}.vocs_DocsLayout_sidebar{padding:var(--vocs-space_0) var(--vocs-sidebar_horizontalPadding) var(--vocs-space_24) var(--vocs-sidebar_horizontalPadding)}.vocs_DocsLayout_sidebarDrawer{display:none}@media screen and (max-width: 720px){.vocs_DocsLayout_content{overflow-x:hidden}}@media screen and (min-width: 1081px){.vocs_DocsLayout_content_withTopNav{padding-top:calc(var(--vocs-topNav_height) + var(--vocs_Banner_bannerHeight, 0px))}.vocs_DocsLayout_gutterTop{padding-left:calc(var(--vocs_DocsLayout_leftGutterWidth) - var(--vocs-sidebar_width));padding-right:calc(var(--vocs_DocsLayout_leftGutterWidth) - var(--vocs-sidebar_width));position:fixed;top:var(--vocs_Banner_bannerHeight, 0px)}.vocs_DocsLayout_gutterTop_offsetLeftGutter{padding-left:var(--vocs_DocsLayout_leftGutterWidth)}.vocs_DocsLayout_gutterTopCurtain{position:fixed;top:calc(var(--vocs-topNav_height) + var(--vocs_Banner_bannerHeight, 0px))}.vocs_DocsLayout_gutterTopCurtain_withSidebar{margin-left:var(--vocs_DocsLayout_leftGutterWidth)}}@media screen and (max-width: 1080px){.vocs_DocsLayout_content{margin-left:auto;margin-right:auto}.vocs_DocsLayout_gutterLeft{display:none}.vocs_DocsLayout_gutterTop{position:initial}.vocs_DocsLayout_gutterTop_sticky,.vocs_DocsLayout_gutterTopCurtain{position:sticky;top:0}.vocs_DocsLayout_outlinePopover,.vocs_DocsLayout_sidebarDrawer{display:block}}@media screen and (max-width: 1280px){.vocs_DocsLayout_gutterRight{display:none}}@layer vocs_reset_reset;html,body,.vocs_DocsLayout{font-family:var(--vocs-fontFamily_default);font-feature-settings:"rlig" 1,"calt" 1;font-size:var(--vocs-fontSize_root)}button,select{text-transform:none;-webkit-appearance:button;-moz-appearance:button;appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{outline:auto}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none;-moz-appearance:none;appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;-moz-appearance:button;appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1}input::placeholder,textarea::placeholder{opacity:1}button,[role=button]{cursor:pointer}:disabled{overflow:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}@layer vocs_reset_reset{*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid}*:focus-visible{outline:2px solid var(--vocs-color_borderAccent);outline-offset:2px;outline-style:dashed}html,body{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;line-height:inherit;margin:0;padding:0;border:0;text-rendering:optimizeLegibility}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit;text-wrap:balance}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--vocs-fontFamily_mono);font-size:var(--vocs-fontSize_root)}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-color:inherit;border-collapse:collapse;text-indent:0}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}}.vocs_Tabs{background-color:var(--vocs-color_codeBlockBackground);border:1px solid var(--vocs-color_codeInlineBorder);border-radius:var(--vocs-borderRadius_4)}.vocs_Tabs_list{background-color:var(--vocs-color_codeTitleBackground);border-bottom:1px solid var(--vocs-color_border);border-top-left-radius:var(--vocs-borderRadius_4);border-top-right-radius:var(--vocs-borderRadius_4);display:flex;padding:var(--vocs-space_0) var(--vocs-space_14)}.vocs_Tabs_trigger{border-bottom:2px solid transparent;color:var(--vocs-color_text3);font-size:var(--vocs-fontSize_14);font-weight:var(--vocs-fontWeight_medium);padding:var(--vocs-space_8) var(--vocs-space_8) var(--vocs-space_6) var(--vocs-space_8);transition:color .1s}.vocs_Tabs_trigger:hover{color:var(--vocs-color_text)}.vocs_Tabs_trigger[data-state=active]{border-bottom:2px solid var(--vocs-color_borderAccent);color:var(--vocs-color_text)}.vocs_Tabs_content{background-color:var(--vocs-color_codeBlockBackground)}.vocs_Tabs_content:not([data-shiki=true]){padding:var(--vocs-space_20) var(--vocs-space_22)}.vocs_Tabs pre{margin-bottom:var(--vocs-space_0)}@media screen and (max-width: 720px){.vocs_Tabs_list{border-radius:0;padding:var(--vocs-space_0) var(--vocs-space_8)}.vocs_Tabs_content:not([data-shiki=true]){padding:var(--vocs-space_20) var(--vocs-space_16)}.vocs_Tabs pre{margin:unset}}.vocs_CodeBlock{border:1px solid var(--vocs-color_codeInlineBorder);border-radius:var(--vocs-borderRadius_4)}.vocs_Tabs .vocs_CodeBlock,.vocs_Callout .vocs_CodeBlock{border:none;margin-left:unset;margin-right:unset}.vocs_CodeBlock code{display:grid;font-size:var(--vocs-fontSize_codeBlock)}.vocs_Callout .vocs_CodeBlock code{font-size:var(--vocs-fontSize_calloutCodeBlock)}.vocs_CodeBlock pre{background-color:var(--vocs-color_codeBlockBackground);border-radius:var(--vocs-borderRadius_4);overflow-x:auto;padding:var(--vocs-space_20) var(--vocs-space_0)}.vocs_Callout .vocs_CodeBlock pre{background-color:color-mix(in srgb,var(--vocs-color_codeBlockBackground) 65%,transparent)!important;border:1px solid var(--vocs-color_codeInlineBorder);border-radius:var(--vocs-borderRadius_4);padding:var(--vocs-space_12) var(--vocs-space_0)}.vocs_CodeBlock .line{border-left:2px solid transparent;padding:var(--vocs-space_0) var(--vocs-space_22);line-height:var(--vocs-lineHeight_code)}.vocs_Callout .vocs_CodeBlock .line{padding:var(--vocs-space_0) var(--vocs-space_12)}.vocs_CodeBlock .twoslash-popup-info .line{padding:var(--vocs-space_0) var(--vocs-space_4)}.vocs_CodeBlock .twoslash-popup-info-hover .line{display:inline-block;padding:var(--vocs-space_0) var(--vocs-space_8)}.vocs_CodeBlock .twoslash-error-line,.vocs_CodeBlock .twoslash-tag-line{padding:var(--vocs-space_0) var(--vocs-space_22)}.vocs_CodeBlock [data-line-numbers]{counter-reset:line}.vocs_CodeBlock [data-line-numbers]>.line{padding:var(--vocs-space_0) var(--vocs-space_16)}.vocs_CodeBlock [data-line-numbers]>.line:before{content:counter(line);color:var(--vocs-color_lineNumber);display:inline-block;font-size:var(--vocs-fontSize_lineNumber);margin-right:var(--vocs-space_16);text-align:right;width:1rem}.vocs_CodeBlock [data-line-numbers]>.line:not(.diff.remove+.diff.add):before{counter-increment:line}.vocs_CodeBlock [data-line-numbers]>.line.diff:after{margin-left:calc(-1 * var(--vocs-space_4))}.vocs_CodeBlock .highlighted{background-color:var(--vocs-color_codeHighlightBackground);border-left:2px solid var(--vocs-color_codeHighlightBorder);box-sizing:content-box}.vocs_CodeBlock .highlighted-word{border-radius:var(--vocs-borderRadius_2);background-color:var(--vocs-color_codeCharacterHighlightBackground)!important;box-shadow:0 0 0 4px var(--vocs-color_codeCharacterHighlightBackground)}.vocs_CodeBlock .has-diff{position:relative}.vocs_CodeBlock .line.diff:after{position:absolute;left:var(--vocs-space_8)}.vocs_CodeBlock .line.diff.add{background-color:var(--vocs-color_backgroundGreenTint2)}.vocs_CodeBlock .line.diff.add:after{content:"+";color:var(--vocs-color_textGreen)}.vocs_CodeBlock .line.diff.remove{background-color:var(--vocs-color_backgroundRedTint2);opacity:.6}.vocs_CodeBlock .line.diff.remove>span{filter:grayscale(1)}.vocs_CodeBlock .line.diff.remove:after{content:"-";color:var(--vocs-color_textRed)}.vocs_CodeBlock .has-focused>code>.line:not(.focused),.vocs_CodeBlock .has-focused>code>.twoslash-meta-line:not(.focused){opacity:.3;transition:opacity .2s}.vocs_CodeBlock:hover .has-focused .line:not(.focused),.vocs_CodeBlock:hover .has-focused .twoslash-meta-line:not(.focused){opacity:1;transition:opacity .2s}@media screen and (max-width: 720px){.vocs_CodeBlock{border-radius:0;border-right:none;border-left:none;margin-left:calc(-1 * var(--vocs-space_16));margin-right:calc(-1 * var(--vocs-space_16))}.vocs_CodeBlock pre{border-radius:0}.vocs_CodeBlock .line,.vocs_CodeBlock .twoslash-error-line,.vocs_CodeBlock .twoslash-tag-line{padding:0 var(--vocs-space_16)}.vocs_CodeBlock .line.diff:after{left:var(--vocs-space_6)}}.vocs_Header{border-bottom:1px solid var(--vocs-color_border)}.vocs_Header:not(:last-child){margin-bottom:var(--vocs-space_28);padding-bottom:var(--vocs-space_28)}[data-layout=landing] .vocs_Header{padding-bottom:var(--vocs-space_16)}[data-layout=landing] .vocs_Header:not(:first-child){padding-top:var(--vocs-space_36)}.vocs_H2{font-size:var(--vocs-fontSize_h2);letter-spacing:-.02em}.vocs_H2.vocs_H2:not(:last-child){margin-bottom:var(--vocs-space_24)}:not(.vocs_Header)+.vocs_H2:not(:only-child){border-top:1px solid var(--vocs-color_border);margin-top:var(--vocs-space_56);padding-top:var(--vocs-space_24)}[data-layout=landing] .vocs_H2.vocs_H2{border-top:none;margin-top:var(--vocs-space_24);padding-top:0}.vocs_H3{font-size:var(--vocs-fontSize_h3)}.vocs_H3:not(:first-child){margin-top:var(--vocs-space_18);padding-top:var(--vocs-space_18)}.vocs_H3.vocs_H3:not(:last-child){margin-bottom:var(--vocs-space_24)}.vocs_H2+.vocs_H3{padding-top:var(--vocs-space_0)}.vocs_H4{font-size:var(--vocs-fontSize_h4)}.vocs_H4:not(:first-child){margin-top:var(--vocs-space_18);padding-top:var(--vocs-space_12)}.vocs_H4.vocs_H4:not(:last-child){margin-bottom:var(--vocs-space_24)}.vocs_H3+.vocs_H4{padding-top:var(--vocs-space_0)}.vocs_H5{font-size:var(--vocs-fontSize_h5)}.vocs_H5:not(:first-child){margin-top:var(--vocs-space_16)}.vocs_H5.vocs_H5:not(:last-child){margin-bottom:var(--vocs-space_24)}.vocs_H4+.vocs_H5{padding-top:var(--vocs-space_0)}.vocs_H6{font-size:var(--vocs-fontSize_h6)}.vocs_H6:not(:first-child){margin-top:var(--vocs-space_16)}.vocs_H6.vocs_H6:not(:last-child){margin-bottom:var(--vocs-space_24)}.vocs_H5+.vocs_H6{padding-top:var(--vocs-space_0)}.vocs_Step:not(:last-child){margin-bottom:var(--vocs-space_24)}.vocs_Step_title{margin-bottom:var(--vocs-space_8);position:relative}.vocs_Step_title:before{content:counter(step);align-items:center;background-color:var(--vocs-color_background5);border-radius:100%;border:.5em solid var(--vocs-color_background);box-sizing:content-box;color:var(--vocs-color_text2);counter-increment:step;display:flex;font-size:.625em;font-weight:var(--vocs-fontWeight_regular);height:2em;justify-content:center;left:calc(-25.125px - 1.45em);position:absolute;top:-.25em;width:2em}.vocs_H2+.vocs_Step_content,.vocs_H3+.vocs_Step_content,.vocs_H4+.vocs_Step_content,.vocs_H5+.vocs_Step_content,.vocs_H6+.vocs_Step_content{margin-top:calc(var(--vocs-space_8) * -1)}.vocs_Step_content>*:not(:last-child){margin-bottom:var(--vocs-space_16)}.vocs_Step_content>*:last-child{margin-bottom:var(--vocs-space_0)}@media screen and (max-width: 720px){.vocs_Step_content>.vocs_Tabs,.vocs_Step_content>.vocs_CodeBlock{outline:6px solid var(--vocs-color_background);margin-left:calc(-1 * var(--vocs-space_44) - 2px);margin-right:calc(-1 * var(--vocs-space_16))}.vocs_Step_content .vocs_Tabs pre.shiki{border-top:none}}.vocs_Callout{border-radius:var(--vocs-borderRadius_4);font-size:var(--vocs-fontSize_14);padding:var(--vocs-space_16) var(--vocs-space_20);margin-bottom:var(--vocs-space_16)}.vocs_Callout_note{background-color:var(--vocs-color_noteBackground);border:1px solid var(--vocs-color_noteBorder);color:var(--vocs-color_noteText)}.vocs_Callout_info{background-color:var(--vocs-color_infoBackground);border:1px solid var(--vocs-color_infoBorder);color:var(--vocs-color_infoText)}.vocs_Callout_warning{background-color:var(--vocs-color_warningBackground);border:1px solid var(--vocs-color_warningBorder);color:var(--vocs-color_warningText)}.vocs_Callout_danger{background-color:var(--vocs-color_dangerBackground);border:1px solid var(--vocs-color_dangerBorder);color:var(--vocs-color_dangerText)}.vocs_Callout_tip{background-color:var(--vocs-color_tipBackground);border:1px solid var(--vocs-color_tipBorder);color:var(--vocs-color_tipText)}.vocs_Callout_success{background-color:var(--vocs-color_successBackground);border:1px solid var(--vocs-color_successBorder);color:var(--vocs-color_successText)}@media screen and (max-width: 720px){:not(undefined)>.vocs_Callout{border-radius:0;border-left-width:0;border-right-width:0;margin-left:calc(-1 * var(--vocs-space_16));margin-right:calc(-1 * var(--vocs-space_16))}}.vocs_Content{background-color:var(--vocs-color_background);max-width:var(--vocs-content_width);padding:var(--vocs-content_verticalPadding) var(--vocs-content_horizontalPadding);width:100%}.vocs_Callout>*+.vocs_Details{margin-top:-8px}@layer vocs_global_global;:root.dark{color-scheme:dark}:root.dark pre.shiki span:not(.line),:root.dark :not(pre.shiki) .line span{color:var(--shiki-dark)!important}pre.shiki{background-color:var(--vocs-color_codeBlockBackground)!important}.vocs_Content>*:not(:last-child),.vocs_Details>*:not(:last-child){margin-bottom:var(--vocs-space_24)}.vocs_Callout>*:not(:last-child),.vocs_Callout>.vocs_Details>*:not(:last-child){margin-bottom:var(--vocs-space_16)}.vocs_Content>*:last-child,.vocs_Callout>*:last-child,.vocs_Details>*:last-child{margin-bottom:var(--vocs-space_0)}#app[aria-hidden=true]{background:var(--vocs-color_background)}@layer vocs_global_global{:root{background-color:var(--vocs-color_background);color:var(--vocs-color_text);line-height:var(--vocs-lineHeight_paragraph);font-size:var(--vocs-fontSize_root);font-weight:var(--vocs-fontWeight_regular)}}@media screen and (max-width: 720px){:root{background-color:var(--vocs-color_backgroundDark)}}:root{--vocs-twoslash_borderColor: var(--vocs-color_border2);--vocs-twoslash_underlineColor: currentColor;--vocs-twoslash_popupBackground: var(--vocs-color_background2);--vocs-twoslash_popupShadow: rgba(0, 0, 0, .08) 0px 1px 4px;--vocs-twoslash_matchedColor: inherit;--vocs-twoslash_unmatchedColor: #888;--vocs-twoslash_cursorColor: #8888;--vocs-twoslash_errorColor: var(--vocs-color_textRed);--vocs-twoslash_errorBackground: var(--vocs-color_backgroundRedTint2);--vocs-twoslash_highlightedBackground: var(--vocs-color_background);--vocs-twoslash_highlightedBorder: var(--vocs-color_background);--vocs-twoslash_tagColor: var(--vocs-color_textBlue);--vocs-twoslash_tagBackground: var(--vocs-color_backgroundBlueTint);--vocs-twoslash_tagWarnColor: var(--vocs-color_textYellow);--vocs-twoslash_tagWarnBackground: var(--vocs-color_backgroundYellowTint);--vocs-twoslash_tagAnnotateColor: var(--vocs-color_textGreen);--vocs-twoslash_tagAnnotateBackground: var(--vocs-color_backgroundGreenTint2)}:root.dark{--vocs-twoslash_borderColor: var(--vocs-color_border2);--vocs-twoslash_underlineColor: currentColor;--vocs-twoslash_popupBackground: var(--vocs-color_background5);--vocs-twoslash_popupShadow: rgba(0, 0, 0, .08) 0px 1px 4px;--vocs-twoslash_matchedColor: inherit;--vocs-twoslash_unmatchedColor: #888;--vocs-twoslash_cursorColor: #8888;--vocs-twoslash_errorColor: var(--vocs-color_textRed);--vocs-twoslash_errorBackground: var(--vocs-color_backgroundRedTint2);--vocs-twoslash_highlightedBackground: var(--vocs-color_background);--vocs-twoslash_highlightedBorder: var(--vocs-color_background);--vocs-twoslash_tagColor: var(--vocs-color_textBlue);--vocs-twoslash_tagBackground: var(--vocs-color_backgroundBlueTint);--vocs-twoslash_tagWarnColor: var(--vocs-color_textYellow);--vocs-twoslash_tagWarnBackground: var(--vocs-color_backgroundYellowTint);--vocs-twoslash_tagAnnotateColor: var(--vocs-color_textGreen);--vocs-twoslash_tagAnnotateBackground: var(--vocs-color_backgroundGreenTint2)}:root .twoslash-popup-info-hover,:root .twoslash-popup-info{--shiki-light-bg: var(--vocs-color_background2)}:root .twoslash-popup-info{width:-moz-max-content;width:max-content}:root.dark .twoslash-popup-info,:root.dark .twoslash-popup-info-hover{--shiki-dark-bg: var(--vocs-color_background5)}.twoslash-query-persisted>.twoslash-popup-info{z-index:1}:not(.twoslash-query-persisted)>.twoslash-popup-info{z-index:2}.twoslash:hover .twoslash-hover{border-color:var(--vocs-twoslash_underlineColor)}.twoslash .twoslash-hover{border-bottom:1px dotted transparent;transition-timing-function:ease;transition:border-color .3s}.twoslash-query-persisted{position:relative}.twoslash .twoslash-popup-info{position:absolute;top:0;left:0;opacity:0;display:inline-block;transform:translateY(1.1em);background:var(--vocs-twoslash_popupBackground);border:1px solid var(--vocs-twoslash_borderColor);transition:opacity .3s;border-radius:4px;max-width:540px;padding:4px 6px;pointer-events:none;text-align:left;z-index:20;white-space:pre-wrap;-webkit-user-select:none;-moz-user-select:none;user-select:none;box-shadow:var(--vocs-twoslash_popupShadow)}.twoslash .twoslash-popup-info-hover{background:var(--vocs-twoslash_popupBackground);border:1px solid var(--vocs-twoslash_borderColor);border-radius:4px;box-shadow:var(--vocs-twoslash_popupShadow);display:inline-block;max-width:500px;pointer-events:auto;position:fixed;opacity:1;transition:opacity .3s;white-space:pre-wrap;-webkit-user-select:none;-moz-user-select:none;user-select:none;z-index:20}.twoslash .twoslash-popup-scroll-container{max-height:300px;padding:4px 0;overflow-y:auto;-ms-overflow-style:none;scrollbar-width:none}.twoslash-popup-arrow{position:absolute;top:-4px;left:1em;border-top:1px solid var(--vocs-twoslash_borderColor);border-right:1px solid var(--vocs-twoslash_borderColor);background:var(--vocs-twoslash_popupBackground);transform:rotate(-45deg);width:6px;height:6px;pointer-events:none}.twoslash .twoslash-popup-scroll-container::-webkit-scrollbar{display:none}.twoslash .twoslash-popup-jsdoc{border-top:1px solid var(--vocs-color_border2);color:var(--vocs-color_text);font-family:sans-serif;font-weight:500;margin-top:4px;padding:4px 10px 0}.twoslash-tag-line+.twoslash-tag-line{margin-top:-.2em}.twoslash-query-persisted .twoslash-popup-info{z-index:9;transform:translateY(1.5em)}.twoslash-hover:hover .twoslash-popup-info,.twoslash-query-persisted .twoslash-popup-info{opacity:1;pointer-events:auto}.twoslash-popup-info:hover,.twoslash-popup-info-hover:hover{-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}.twoslash-error-line{position:relative;background-color:var(--vocs-twoslash_errorBackground);border-left:2px solid var(--vocs-twoslash_errorColor);color:var(--vocs-twoslash_errorColor);margin:.2em 0}.twoslash-error{background:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%206%203'%20enable-background%3D'new%200%200%206%203'%20height%3D'3'%20width%3D'6'%3E%3Cg%20fill%3D'%23c94824'%3E%3Cpolygon%20points%3D'5.5%2C0%202.5%2C3%201.1%2C3%204.1%2C0'%2F%3E%3Cpolygon%20points%3D'4%2C0%206%2C2%206%2C0.6%205.4%2C0'%2F%3E%3Cpolygon%20points%3D'0%2C2%201%2C3%202.4%2C3%200%2C0.6'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") repeat-x bottom left;padding-bottom:2px}.twoslash-completion-cursor{position:relative}.twoslash-completion-cursor .twoslash-completion-list{-webkit-user-select:none;-moz-user-select:none;user-select:none;position:absolute;top:0;left:0;transform:translateY(1.2em);margin:3px 0 0 -1px;z-index:8;box-shadow:var(--vocs-twoslash_popupShadow);background:var(--vocs-twoslash_popupBackground);border:1px solid var(--vocs-twoslash_borderColor)}.twoslash-completion-list{border-radius:4px;font-size:.8rem;padding:4px;display:flex;flex-direction:column;gap:4px;width:240px}.twoslash-completion-list:hover{-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}.twoslash-completion-list:before{content:" ";background-color:var(--vocs-twoslash_cursorColor);width:2px;position:absolute;top:-1.6em;height:1.4em;left:-1px}.twoslash-completion-list .twoslash-completion-list-item{overflow:hidden;display:flex;align-items:center;gap:.5em;line-height:1em}.twoslash-completion-list .twoslash-completion-list-item span.twoslash-completions-unmatched.twoslash-completions-unmatched.twoslash-completions-unmatched{color:var(--vocs-twoslash_unmatchedColor)!important}.twoslash-completion-list .deprecated{text-decoration:line-through;opacity:.5}.twoslash-completion-list .twoslash-completion-list-item span.twoslash-completions-matched.twoslash-completions-unmatched.twoslash-completions-unmatched{color:var(--vocs-twoslash_matchedColor)!important}.twoslash-tag-line{position:relative;background-color:var(--vocs-twoslash_tagBackground);border-left:2px solid var(--vocs-twoslash_tagColor);color:var(--vocs-twoslash_tagColor);margin:.2em 0;display:flex;align-items:center;gap:.3em}.twoslash-tag-line+.line[data-empty-line]+.twoslash-tag-line{margin-top:-1.95em}.twoslash-tag-line .twoslash-tag-icon{width:1.1em;color:inherit}.twoslash-tag-line.twoslash-tag-error-line{background-color:var(--vocs-twoslash_errorBackground);border-left:2px solid var(--vocs-twoslash_errorColor);color:var(--vocs-twoslash_errorColor)}.twoslash-tag-line.twoslash-tag-warn-line{background-color:var(--vocs-twoslash_tagWarnBackground);border-left:2px solid var(--vocs-twoslash_tagWarnColor);color:var(--vocs-twoslash_tagWarnColor)}.twoslash-tag-line.twoslash-tag-annotate-line{background-color:var(--vocs-twoslash_tagAnnotateBackground);border-left:2px solid var(--vocs-twoslash_tagAnnotateColor);color:var(--vocs-twoslash_tagAnnotateColor)}.twoslash-highlighted{border-radius:var(--vocs-borderRadius_2);background-color:var(--vocs-color_codeCharacterHighlightBackground)!important;box-shadow:0 0 0 4px var(--vocs-color_codeCharacterHighlightBackground)}@media (prefers-reduced-motion: reduce){.twoslash *{transition:none!important}}.vocs_ExternalLink:after{content:"";background-color:currentColor;color:var(--vocs_ExternalLink_arrowColor);display:inline-block;height:.5em;margin-left:.325em;margin-right:.25em;width:.5em;-webkit-mask:var(--vocs_ExternalLink_iconUrl) no-repeat center / contain;mask:var(--vocs_ExternalLink_iconUrl) no-repeat center / contain}.vocs_Link_accent_underlined{color:var(--vocs-color_link);font-weight:var(--vocs-fontWeight_medium);text-underline-offset:var(--vocs-space_2);text-decoration:underline;transition:color .1s}.vocs_Link_accent_underlined:hover{color:var(--vocs-color_linkHover)}.vocs_Link_styleless{--vocs_ExternalLink_arrowColor: var(--vocs-color_text3)}.vocs_NotFound{align-items:center;display:flex;flex-direction:column;max-width:400px;margin:0 auto;padding-top:var(--vocs-space_64)}.vocs_NotFound_divider{border-color:var(--vocs-color_border);width:50%}.vocs_H1{font-size:var(--vocs-fontSize_h1);letter-spacing:-.02em}.vocs_Heading{align-items:center;color:var(--vocs-color_heading);font-weight:var(--vocs-fontWeight_semibold);gap:.25em;line-height:var(--vocs-lineHeight_heading);position:relative}.vocs_Heading_slugTarget{position:absolute;top:0;visibility:hidden}@media screen and (min-width: 1081px){.vocs_Heading_slugTarget{top:calc(-1 * (var(--vocs-topNav_height)))}.vocs_Header .vocs_Heading_slugTarget,.vocs_Step_title .vocs_Heading_slugTarget,.vocs_Header+.vocs_Heading .vocs_Heading_slugTarget{top:calc(-1 * (var(--vocs-topNav_height) + var(--vocs-space_24)))}}@media screen and (max-width: 1080px){.vocs_Heading_slugTarget{top:calc(-1 * var(--vocs-topNav_curtainHeight))}.vocs_Header .vocs_Heading_slugTarget,.vocs_Header+.vocs_Heading .vocs_Heading_slugTarget{top:calc(-1 * calc(var(--vocs-topNav_curtainHeight) + var(--vocs-space_24)))}}.vocs_Blockquote{border-left:2px solid var(--vocs-color_blockquoteBorder);padding-left:var(--vocs-space_16);margin-bottom:var(--vocs-space_16)}.vocs_H2+.vocs_List,.vocs_H3+.vocs_List,.vocs_H4+.vocs_List,.vocs_H5+.vocs_List,.vocs_H6+.vocs_List{margin-top:calc(var(--vocs-space_8) * -1)}.vocs_Paragraph+.vocs_List{margin-top:calc(-1 * var(--vocs-space_8))}.vocs_List_ordered{list-style:decimal;padding-left:var(--vocs-space_20);margin-bottom:var(--vocs-space_16)}.vocs_List_ordered .vocs_List_ordered{list-style:lower-alpha}.vocs_List_ordered .vocs_List_ordered .vocs_List_ordered{list-style:lower-roman}.vocs_List_unordered{list-style:disc;padding-left:var(--vocs-space_24);margin-bottom:var(--vocs-space_16)}.vocs_List_unordered .vocs_List_unordered{list-style:circle}.vocs_List_ordered .vocs_List_ordered,.vocs_List_unordered .vocs_List_unordered,.vocs_List_ordered .vocs_List_unordered,.vocs_List_unordered .vocs_List_ordered{margin-bottom:var(--vocs-space_0);padding-top:var(--vocs-space_8);padding-left:var(--vocs-space_16);padding-bottom:var(--vocs-space_0)}.vocs_List_unordered.contains-task-list{list-style:none;padding-left:var(--vocs-space_12)}.vocs_Paragraph{line-height:var(--vocs-lineHeight_paragraph)}.vocs_Blockquote>.vocs_Paragraph{color:var(--vocs-color_blockquoteText);margin-bottom:var(--vocs-space_8)}.vocs_H2+.vocs_Paragraph,.vocs_H3+.vocs_Paragraph,.vocs_H4+.vocs_Paragraph,.vocs_H5+.vocs_Paragraph,.vocs_H6+.vocs_Paragraph,.vocs_List+.vocs_Paragraph{margin-top:calc(var(--vocs-space_8) * -1)}.vocs_Paragraph+.vocs_Paragraph{margin-top:calc(-1 * var(--vocs-space_8))}:root:not(.dark) .vocs_utils_visibleDark{display:none}:root.dark .vocs_utils_visibleLight{display:none}.vocs_utils_visuallyHidden{clip:rect(0 0 0 0);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.vocs_DesktopSearch_search{align-items:center;background-color:var(--vocs-color_backgroundDark);border:1px solid var(--vocs-color_backgroundDark);border-radius:var(--vocs-borderRadius_8);color:var(--vocs-color_text2);display:flex;font-size:var(--vocs-fontSize_14);font-weight:var(--vocs-fontWeight_medium);gap:var(--vocs-space_6);height:var(--vocs-space_40);max-width:15.5rem;padding-left:var(--vocs-space_12);padding-right:var(--vocs-space_12);position:relative;width:100%;transition:color .1s,border-color .1s}.vocs_DesktopSearch_search:hover{color:var(--vocs-color_text);border-color:var(--vocs-color_text3)}.vocs_DesktopSearch_searchCommand{align-items:center;border:1.5px solid var(--vocs-color_text3);border-radius:var(--vocs-borderRadius_4);color:var(--vocs-color_text3);display:flex;height:var(--vocs-space_12);justify-content:center;margin-left:auto;margin-top:var(--vocs-space_1);padding:var(--vocs-space_1);width:var(--vocs-space_12)}.vocs_Kbd{color:var(--vocs-color_text2);display:inline-block;border-radius:var(--vocs-borderRadius_3);font-size:var(--vocs-fontSize_11);font-family:var(--vocs-fontFamily_default);font-feature-settings:cv08;line-height:105%;min-width:20px;padding:var(--vocs-space_3);padding-left:var(--vocs-space_4);padding-right:var(--vocs-space_4);padding-top:var(--vocs-space_3);text-align:center;text-transform:capitalize;vertical-align:baseline;border:.5px solid var(--vocs-color_border);background-color:var(--vocs-color_background3);box-shadow:var(--vocs-color_shadow2) 0 2px 0 0}.vocs_KeyboardShortcut{align-items:center;display:inline-flex;gap:var(--vocs-space_6);font-size:var(--vocs-fontSize_12)}.vocs_KeyboardShortcut_kbdGroup{align-items:center;display:inline-flex;gap:var(--vocs-space_3)}@media screen and (max-width: 720px){.vocs_KeyboardShortcut{display:none}}@keyframes vocs_SearchDialog_fadeIn{0%{opacity:0}to{opacity:1}}@keyframes vocs_SearchDialog_fadeAndSlideIn{0%{opacity:0;transform:translate(-50%,-5%) scale(.96)}to{opacity:1;transform:translate(-50%) scale(1)}}.vocs_SearchDialog{animation:vocs_SearchDialog_fadeAndSlideIn .1s ease-in-out;background:var(--vocs-color_background);border-radius:var(--vocs-borderRadius_6);display:flex;flex-direction:column;gap:var(--vocs-space_8);height:-moz-min-content;height:min-content;left:50%;margin:64px auto;max-height:min(100vh - 128px,900px);padding:var(--vocs-space_12);padding-bottom:var(--vocs-space_8);position:fixed;top:0;transform:translate(-50%);width:min(100vw - 60px,775px);z-index:var(--vocs-zIndex_backdrop)}.vocs_SearchDialog_overlay{animation:vocs_SearchDialog_fadeIn .1s ease-in-out;background:#0009;position:fixed;top:0;right:0;bottom:0;left:0;z-index:var(--vocs-zIndex_backdrop)}.vocs_SearchDialog_searchBox{align-items:center;border:1px solid var(--vocs-color_border);border-radius:var(--vocs-borderRadius_4);display:flex;gap:var(--vocs-space_8);padding-left:var(--vocs-space_8);padding-right:var(--vocs-space_8);margin-bottom:var(--vocs-space_8);width:100%}.vocs_SearchDialog_searchBox:focus-within{border-color:var(--vocs-color_borderAccent)}.vocs_SearchDialog_searchInput{background:transparent;display:flex;font-size:var(--vocs-fontSize_16);height:var(--vocs-space_40);width:100%}.vocs_SearchDialog_searchInput:focus{outline:none}.vocs_SearchDialog_searchInput::-moz-placeholder{color:var(--vocs-color_text4)}.vocs_SearchDialog_searchInput::placeholder{color:var(--vocs-color_text4)}.vocs_SearchDialog_searchInputIcon{color:var(--vocs-color_text3)}.vocs_SearchDialog_searchInputIconMobile{display:none}.vocs_SearchDialog_results{display:flex;flex-direction:column;gap:var(--vocs-space_8);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;width:100%}.vocs_SearchDialog_result{border:1.5px solid var(--vocs-color_border);border-radius:var(--vocs-borderRadius_4);width:100%}.vocs_SearchDialog_result:focus-within{border-color:var(--vocs-color_borderAccent)}.vocs_SearchDialog_result>a{display:flex;flex-direction:column;gap:var(--vocs-space_8);min-height:var(--vocs-space_36);outline:none;justify-content:center;padding:var(--vocs-space_12);width:100%}.vocs_SearchDialog_resultSelected{border-color:var(--vocs-color_borderAccent)}.vocs_SearchDialog_resultIcon{color:var(--vocs-color_textAccent);margin-right:1px;width:15px}.vocs_SearchDialog_titles{align-items:center;display:flex;flex-wrap:wrap;font-weight:var(--vocs-fontWeight_medium);gap:var(--vocs-space_4);line-height:22px}.vocs_SearchDialog_title{align-items:center;display:flex;gap:var(--vocs-space_4);white-space:nowrap}.vocs_SearchDialog_titleIcon{color:var(--vocs-color_text);display:inline-block;opacity:.5}.vocs_SearchDialog_resultSelected .vocs_SearchDialog_title,.vocs_SearchDialog_resultSelected .vocs_SearchDialog_titleIcon{color:var(--vocs-color_textAccent)}.vocs_SearchDialog_content{padding:0}.vocs_SearchDialog_excerpt{max-height:8.75rem;overflow:hidden;opacity:.5;position:relative}.vocs_SearchDialog_excerpt:before{content:"";position:absolute;top:-1px;left:0;width:100%;height:8px;background:linear-gradient(var(--vocs-color_background),transparent);z-index:1000}.vocs_SearchDialog_excerpt:after{content:"";position:absolute;bottom:-1px;left:0;width:100%;height:12px;background:linear-gradient(transparent,var(--vocs-color_background));z-index:1000}.vocs_SearchDialog_title mark,.vocs_SearchDialog_excerpt mark{background-color:var(--vocs-color_searchHighlightBackground);color:var(--vocs-color_searchHighlightText);border-radius:var(--vocs-borderRadius_2);padding-bottom:0;padding-left:var(--vocs-space_2);padding-right:var(--vocs-space_2);padding-top:0}.vocs_SearchDialog_resultSelected .vocs_SearchDialog_excerpt{opacity:1}.vocs_SearchDialog_searchShortcuts{align-items:center;color:var(--vocs-color_text2);display:flex;gap:var(--vocs-space_20);font-size:var(--vocs-fontSize_14)}.vocs_SearchDialog_searchShortcutsGroup{align-items:center;display:inline-flex;gap:var(--vocs-space_3);margin-right:var(--vocs-space_6)}@media screen and (max-width: 720px){.vocs_SearchDialog{border-radius:0;height:calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));margin:0;max-height:unset;width:100vw}.vocs_SearchDialog_searchInputIconDesktop{display:none}.vocs_SearchDialog_searchInputIconMobile{display:block}.vocs_SearchDialog_excerpt{opacity:1}.vocs_SearchDialog_searchShortcuts{display:none}}.vocs_DesktopTopNav{align-items:center;display:flex;justify-content:space-between;padding:0 var(--vocs-topNav_horizontalPadding);height:var(--vocs-topNav_height)}.vocs_DesktopTopNav_withLogo{padding-left:calc(((100% - var(--vocs-content_width)) / 2) + var(--vocs-topNav_horizontalPadding))}.vocs_DesktopTopNav_button{border-radius:var(--vocs-borderRadius_4);padding:var(--vocs-space_8)}.vocs_DesktopTopNav_content{right:calc(-1 * var(--vocs-space_24))}.vocs_DesktopTopNav_curtain{background:linear-gradient(var(--vocs-color_background),transparent 70%);height:30px;opacity:.98;width:100%}.vocs_DesktopTopNav_divider{background-color:var(--vocs-color_border);height:35%;width:1px}.vocs_DesktopTopNav_group{align-items:center;display:flex}.vocs_DesktopTopNav_icon{color:var(--vocs-color_text2);transition:color .1s}.vocs_DesktopTopNav_button:hover .vocs_DesktopTopNav_icon{color:var(--vocs-color_text)}.vocs_DesktopTopNav_item{align-items:center;display:flex;height:100%;position:relative}.vocs_DesktopTopNav_logo{padding-left:var(--vocs-sidebar_horizontalPadding);padding-right:var(--vocs-sidebar_horizontalPadding);width:var(--vocs-sidebar_width)}.vocs_DesktopTopNav_logoWrapper{display:flex;height:100%;justify-content:flex-end;left:0;position:absolute;width:var(--vocs_DocsLayout_leftGutterWidth)}.vocs_DesktopTopNav_section{align-items:center;display:flex;height:100%;gap:var(--vocs-space_24)}@media screen and (max-width: 1080px){.vocs_DesktopTopNav,.vocs_DesktopTopNav_curtain{display:none}}@media screen and (max-width: 1280px){.vocs_DesktopTopNav_hideCompact{display:none}}.vocs_Icon{align-items:center;display:flex;height:var(--vocs_Icon_size);width:var(--vocs_Icon_size)}:root:not(.dark) .vocs_Logo_logoDark{display:none}:root.dark .vocs_Logo_logoLight{display:none}.vocs_NavLogo_logoImage{height:50%;width:auto}.vocs_NavLogo_title{font-size:var(--vocs-fontSize_18);font-weight:var(--vocs-fontWeight_semibold);line-height:var(--vocs-lineHeight_heading)}@keyframes vocs_NavigationMenu_fadeIn{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}.vocs_NavigationMenu_list{display:flex;gap:var(--vocs-space_20)}.vocs_NavigationMenu_link{align-items:center;display:flex;font-size:var(--vocs-fontSize_14);font-weight:var(--vocs-fontWeight_medium);height:100%}.vocs_NavigationMenu_link:hover,.vocs_NavigationMenu_link[data-active=true]{color:var(--vocs-color_textAccent)}.vocs_NavigationMenu_trigger:after{content:"";background-color:currentColor;color:var(--vocs-color_text3);display:inline-block;height:.625em;margin-left:.325em;width:.625em;-webkit-mask:var(--vocs_NavigationMenu_chevronDownIcon) no-repeat center / contain;mask:var(--vocs_NavigationMenu_chevronDownIcon) no-repeat center / contain}.vocs_NavigationMenu_content{background-color:var(--vocs-color_background2);border:1px solid var(--vocs-color_border);border-radius:var(--vocs-borderRadius_4);box-shadow:0 3px 10px var(--vocs-color_shadow);display:flex;flex-direction:column;padding:var(--vocs-space_12) var(--vocs-space_16);position:absolute;top:calc(100% + var(--vocs-space_8));min-width:200px;z-index:var(--vocs-zIndex_popover);animation:vocs_NavigationMenu_fadeIn .5s cubic-bezier(.16,1,.3,1)}.vocs_Footer{--vocs_Footer_iconWidth: 24px;display:flex;flex-direction:column;gap:var(--vocs-space_32);max-width:var(--vocs-content_width);overflow-x:hidden;padding:var(--vocs-space_28) var(--vocs-content_horizontalPadding) var(--vocs-space_48)}.vocs_Footer_container{border-bottom:1px solid var(--vocs-color_border);display:flex;justify-content:space-between;padding-bottom:var(--vocs-space_16)}.vocs_Footer_editLink{align-items:center;display:flex;font-size:var(--vocs-fontSize_14);gap:var(--vocs-space_8);text-decoration:none}.vocs_Footer_lastUpdated{color:var(--vocs-color_text3);font-size:var(--vocs-fontSize_14)}.vocs_Footer_navigation{display:flex;justify-content:space-between}.vocs_Footer_navigationIcon{width:var(--vocs_Footer_iconWidth)}.vocs_Footer_navigationIcon_left{display:flex}.vocs_Footer_navigationIcon_right{display:flex;justify-content:flex-end}.vocs_Footer_navigationItem{display:flex;flex-direction:column;gap:var(--vocs-space_4)}.vocs_Footer_navigationItem_right{align-items:flex-end}.vocs_Footer_navigationText{align-items:center;display:flex;font-size:var(--vocs-fontSize_18);font-weight:var(--vocs-fontWeight_medium)}.vocs_Footer_navigationTextInner{overflow:hidden;text-overflow:ellipsis;width:26ch;white-space:pre}@media screen and (max-width: 720px){.vocs_Footer_navigationIcon_left,.vocs_Footer_navigationIcon_right{justify-content:center}.vocs_Footer_navigationText{font-size:var(--vocs-fontSize_12)}}@media screen and (max-width: 480px){.vocs_Footer_navigationTextInner{width:20ch}}.vocs_MobileSearch_searchButton{align-items:center;display:flex;color:var(--vocs-color_text);height:var(--vocs-space_28);justify-content:center;width:var(--vocs-space_28)}@keyframes vocs_MobileTopNav_fadeIn{0%{opacity:0}to{opacity:1}}.vocs_MobileTopNav{align-items:center;background-color:var(--vocs-color_backgroundDark);border-bottom:1px solid var(--vocs-color_border);display:none;height:100%;justify-content:space-between;padding:var(--vocs-space_0) var(--vocs-content_horizontalPadding);width:100%}.vocs_MobileTopNav_button{border-radius:var(--vocs-borderRadius_4);padding:var(--vocs-space_8)}.vocs_MobileTopNav_content{left:calc(-1 * var(--vocs-space_24))}.vocs_MobileTopNav_curtain{align-items:center;background-color:var(--vocs-color_backgroundDark);border-bottom:1px solid var(--vocs-color_border);display:none;justify-content:space-between;font-size:var(--vocs-fontSize_13);font-weight:var(--vocs-fontWeight_medium);height:100%;padding:var(--vocs-space_0) var(--vocs-content_horizontalPadding);width:100%}.vocs_MobileTopNav_curtainGroup{align-items:center;display:flex;gap:var(--vocs-space_12)}.vocs_MobileTopNav_divider{background-color:var(--vocs-color_border);height:35%;width:1px}.vocs_MobileTopNav_group{align-items:center;display:flex;height:100%}.vocs_MobileTopNav_icon{color:var(--vocs-color_text2);transition:color .1s}.vocs_MobileTopNav_button:hover .vocs_MobileTopNav_icon{color:var(--vocs-color_text)}.vocs_MobileTopNav_item{position:relative}.vocs_MobileTopNav_logo{align-items:center;display:flex;height:var(--vocs-topNav_height)}.vocs_MobileTopNav_logoImage{height:30%}.vocs_MobileTopNav_menuTrigger{align-items:center;display:flex;gap:var(--vocs-space_8)}.vocs_MobileTopNav_menuTitle{max-width:22ch;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:pre}.vocs_MobileTopNav_navigation{margin-left:var(--vocs-space_8)}.vocs_MobileTopNav_navigationContent{display:flex;flex-direction:column;margin-left:var(--vocs-space_8)}.vocs_MobileTopNav_navigationItem{align-items:center;display:flex;justify-content:flex-start;font-size:var(--vocs-fontSize_14);font-weight:var(--vocs-fontWeight_medium);width:100%}.vocs_MobileTopNav_navigationItem:hover,.vocs_MobileTopNav_navigationItem[data-active=true],.vocs_MobileTopNav_navigationItem[data-state=open]{color:var(--vocs-color_textAccent)}.vocs_MobileTopNav_trigger:after{content:"";background-color:currentColor;display:inline-block;height:.625em;margin-left:.325em;width:.625em;-webkit-mask:var(--vocs_MobileTopNav_chevronDownIcon) no-repeat center / contain;mask:var(--vocs_MobileTopNav_chevronDownIcon) no-repeat center / contain}.vocs_MobileTopNav_trigger[data-state=open]:after{-webkit-mask:var(--vocs_MobileTopNav_chevronUpIcon) no-repeat center / contain;mask:var(--vocs_MobileTopNav_chevronUpIcon) no-repeat center / contain}.vocs_MobileTopNav_outlineTrigger{animation:vocs_MobileTopNav_fadeIn .5s cubic-bezier(.16,1,.3,1);align-items:center;color:var(--vocs-color_text2);display:flex;gap:var(--vocs-space_6)}.vocs_MobileTopNav_outlineTrigger[data-state=open]{color:var(--vocs-color_textAccent)}.vocs_MobileTopNav_outlinePopover{display:none;overflow-y:scroll;padding:var(--vocs-space_16);max-height:80vh}.vocs_MobileTopNav_section{align-items:center;display:flex;height:100%;gap:var(--vocs-space_16)}.vocs_MobileTopNav_separator{background-color:var(--vocs-color_border);height:1.75em;width:1px}.vocs_MobileTopNav_sidebarPopover{display:none;overflow-y:scroll;padding:0 var(--vocs-sidebar_horizontalPadding);max-height:80vh;width:var(--vocs-sidebar_width)}.vocs_MobileTopNav_title{font-size:var(--vocs-fontSize_18);font-weight:var(--vocs-fontWeight_semibold);line-height:var(--vocs-lineHeight_heading)}.vocs_MobileTopNav_topNavPopover{display:none;overflow-y:scroll;padding:var(--vocs-sidebar_verticalPadding) var(--vocs-sidebar_horizontalPadding);max-height:80vh;width:var(--vocs-sidebar_width)}@media screen and (max-width: 1080px){.vocs_MobileTopNav,.vocs_MobileTopNav_curtain{display:flex}.vocs_MobileTopNav_outlinePopover{display:block;max-width:300px}.vocs_MobileTopNav_sidebarPopover{display:block}.vocs_MobileTopNav_topNavPopover{display:flex;flex-direction:column}}@media screen and (max-width: 720px){.vocs_MobileTopNav_navigation:not(.vocs_MobileTopNav_navigation_compact){display:none}}@media screen and (min-width: 721px){.vocs_MobileTopNav_navigation.vocs_MobileTopNav_navigation_compact{display:none}}.vocs_Outline{width:100%}.vocs_Outline_nav{display:flex;flex-direction:column;gap:var(--vocs-space_8)}.vocs_DocsLayout_gutterRight .vocs_Outline_nav{border-left:1px solid var(--vocs-color_border);padding-left:var(--vocs-space_16)}.vocs_Outline_heading{color:var(--vocs-color_title);font-size:var(--vocs-fontSize_13);font-weight:var(--vocs-fontWeight_semibold);line-height:var(--vocs-lineHeight_heading);letter-spacing:.025em}.vocs_Outline_items .vocs_Outline_items{padding-left:var(--vocs-space_12)}.vocs_Outline_item{line-height:var(--vocs-lineHeight_outlineItem);margin-bottom:var(--vocs-space_8);overflow:hidden;text-overflow:ellipsis;text-wrap:nowrap}.vocs_Outline_link{color:var(--vocs-color_text2);font-weight:var(--vocs-fontWeight_medium);font-size:var(--vocs-fontSize_13);transition:color .1s}.vocs_Outline_link[data-active=true]{color:var(--vocs-color_textAccent)}.vocs_Outline_link[data-active=true]:hover{color:var(--vocs-color_textAccentHover)}.vocs_Outline_link:hover{color:var(--vocs-color_text)}.vocs_Popover{background-color:var(--vocs-color_background2);border:1px solid var(--vocs-color_border);border-radius:var(--vocs-borderRadius_4);margin:0 var(--vocs-space_6);z-index:var(--vocs-zIndex_popover)}.vocs_Sidebar{display:flex;flex-direction:column;font-size:var(--vocs-fontSize_14);overflow-y:auto;width:var(--vocs-sidebar_width)}.vocs_Sidebar_backLink{text-align:left}.vocs_Sidebar_divider{background-color:var(--vocs-color_border);width:100%;height:1px}.vocs_Sidebar_navigation{outline:0}.vocs_Sidebar_navigation:first-child{padding-top:var(--vocs-space_16)}.vocs_Sidebar_group{display:flex;flex-direction:column}.vocs_Sidebar_logo{align-items:center;display:flex;height:var(--vocs-topNav_height);padding-top:var(--vocs-space_4)}.vocs_Sidebar_logoWrapper{background-color:var(--vocs-color_backgroundDark);position:sticky;top:0;z-index:var(--vocs-zIndex_gutterTopCurtain)}.vocs_Sidebar_section{display:flex;flex-direction:column;font-size:1em}.vocs_Sidebar_navigation>.vocs_Sidebar_group>.vocs_Sidebar_section+.vocs_Sidebar_section{border-top:1px solid var(--vocs-color_border)}.vocs_Sidebar_levelCollapsed{gap:var(--vocs-space_4);padding-bottom:var(--vocs-space_12)}.vocs_Sidebar_levelInset{border-left:1px solid var(--vocs-color_border);font-size:var(--vocs-fontSize_13);margin-top:var(--vocs-space_8);padding-left:var(--vocs-space_12)}.vocs_Sidebar_levelInset.vocs_Sidebar_levelInset.vocs_Sidebar_levelInset{font-weight:var(--vocs-fontWeight_regular);padding-top:0;padding-bottom:0}.vocs_Sidebar_items{display:flex;flex-direction:column;gap:.625em;padding-top:var(--vocs-space_16);padding-bottom:var(--vocs-space_16);font-weight:var(--vocs-fontWeight_medium)}.vocs_Sidebar_level .vocs_Sidebar_items{padding-top:var(--vocs-space_6)}.vocs_Sidebar_item{color:var(--vocs-color_text3);letter-spacing:.25px;line-height:var(--vocs-lineHeight_sidebarItem);width:100%;transition:color .1s}.vocs_Sidebar_item:hover{color:var(--vocs-color_text)}.vocs_Sidebar_item[data-active=true]{color:var(--vocs-color_textAccent)}.vocs_Sidebar_sectionHeader{align-items:center;display:flex;justify-content:space-between}.vocs_Sidebar_level>.vocs_Sidebar_sectionHeader{padding-top:var(--vocs-space_12)}.vocs_Sidebar_sectionHeaderActive{color:var(--vocs-color_text)}.vocs_Sidebar_sectionTitle{color:var(--vocs-color_title);font-size:var(--vocs-fontSize_14);font-weight:var(--vocs-fontWeight_semibold);letter-spacing:.25px;width:100%}.vocs_Sidebar_sectionCollapse{color:var(--vocs-color_text3);transform:rotate(90deg);transition:transform .25s}.vocs_Sidebar_sectionCollapseActive{transform:rotate(0)}@media screen and (max-width: 1080px){.vocs_Sidebar{width:100%}.vocs_Sidebar_logoWrapper{display:none}}.vocs_SkipLink{background:var(--vocs-color_background);border-radius:var(--vocs-borderRadius_4);color:var(--vocs-color_link);font-size:var(--vocs-fontSize_14);font-weight:var(--vocs-fontWeight_semibold);left:var(--vocs-space_8);padding:var(--vocs-space_8) var(--vocs-space_16);position:fixed;text-decoration:none;top:var(--vocs-space_8);z-index:999}.vocs_SkipLink:focus{clip:auto;-webkit-clip-path:none;clip-path:none;height:auto;width:auto}@layer vocs_preflight{*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }}.mb-4{margin-bottom:1rem}.mt-8{margin-top:2rem}.flex{display:flex}.w-full{width:100%}.max-w-2xl{max-width:42rem}.list-disc{list-style-type:disc}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-4{gap:1rem}.rounded{border-radius:.25rem}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-\[--vocs-color_codeInlineBorder\]{border-color:var(--vocs-color_codeInlineBorder)}.border-gray-500{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.bg-\[--vocs-color_codeBlockBackground\]{background-color:var(--vocs-color_codeBlockBackground)}.bg-\[--vocs-color_codeTitleBackground\]{background-color:var(--vocs-color_codeTitleBackground)}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.px-2{padding-left:.5rem;padding-right:.5rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-2{padding-bottom:.5rem}.pl-5{padding-left:1.25rem}.text-left{text-align:left}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.text-\[--vocs-color_heading\]{color:var(--vocs-color_heading)}.text-\[--vocs-color_text3\]{color:var(--vocs-color_text3)}.hover\:text-\[--vocs-color_text\]:hover{color:var(--vocs-color_text)}@media (min-width: 768px){.md\:flex-row{flex-direction:row}}.\[\&\[data-state\=\'active\'\]\]\:border-\[--vocs-color_borderAccent\][data-state=active]{border-color:var(--vocs-color_borderAccent)}.\[\&\[data-state\=\'active\'\]\]\:text-\[--vocs-color_text\][data-state=active]{color:var(--vocs-color_text)}.vocs_Section{border-top:1px solid var(--vocs-color_border);margin-top:var(--vocs-space_56);padding-top:var(--vocs-space_24)}.vocs_Anchor{color:var(--vocs-color_link);font-weight:var(--vocs-fontWeight_medium);text-underline-offset:var(--vocs-space_2);text-decoration:underline;transition:color .1s}.vocs_Callout_danger .vocs_Anchor{color:var(--vocs-color_dangerText)}.vocs_Callout_danger .vocs_Anchor:hover{color:var(--vocs-color_dangerTextHover)}.vocs_Callout_info .vocs_Anchor{color:var(--vocs-color_infoText)}.vocs_Callout_info .vocs_Anchor:hover{color:var(--vocs-color_infoTextHover)}.vocs_Callout_success .vocs_Anchor{color:var(--vocs-color_successText)}.vocs_Callout_success .vocs_Anchor:hover{color:var(--vocs-color_successTextHover)}.vocs_Callout_tip .vocs_Anchor{color:var(--vocs-color_tipText)}.vocs_Callout_tip .vocs_Anchor:hover{color:var(--vocs-color_tipTextHover)}.vocs_Callout_warning .vocs_Anchor{color:var(--vocs-color_warningText)}.vocs_Callout_warning .vocs_Anchor:hover{color:var(--vocs-color_warningTextHover)}.vocs_Anchor:hover{color:var(--vocs-color_linkHover)}.vocs_Section a.data-footnote-backref{color:var(--vocs-color_link);font-weight:var(--vocs-fontWeight_medium);text-underline-offset:var(--vocs-space_2);text-decoration:underline}.vocs_Section a.data-footnote-backref:hover{color:var(--vocs-color_linkHover)}.vocs_Autolink{opacity:0;margin-top:.1em;position:absolute;transition:opacity .1s,transform .1s;transform:translate(-2px) scale(.98)}.vocs_Heading:hover .vocs_Autolink{opacity:1;transform:translate(0) scale(1)}.vocs_Pre_wrapper{position:relative}.vocs_Code{transition:color .1s}:not(.vocs_Pre)>.vocs_Code{background-color:var(--vocs-color_codeInlineBackground);border:1px solid var(--vocs-color_codeInlineBorder);border-radius:var(--vocs-borderRadius_4);color:var(--vocs-color_codeInlineText);font-size:var(--vocs-fontSize_code);padding:var(--vocs-space_3) var(--vocs-space_6)}.vocs_Anchor>.vocs_Code{color:var(--vocs-color_link);text-decoration:underline;text-underline-offset:var(--vocs-space_2)}.vocs_Anchor:hover>.vocs_Code{color:var(--vocs-color_linkHover)}.vocs_Callout_danger .vocs_Code{color:var(--vocs-color_dangerText)}.vocs_Callout_info .vocs_Code{color:var(--vocs-color_infoText)}.vocs_Callout_success .vocs_Code{color:var(--vocs-color_successText)}.vocs_Callout_tip .vocs_Code{color:var(--vocs-color_tipText)}.vocs_Callout_warning .vocs_Code{color:var(--vocs-color_warningText)}.vocs_Heading .vocs_Code{color:inherit}.twoslash-popup-info-hover>.vocs_Code{background-color:inherit;padding:0;text-wrap:wrap}.twoslash-popup-jsdoc .vocs_Code{display:inline}.vocs_Authors{color:var(--vocs-color_text3);font-size:var(--vocs-fontSize_14)}.vocs_Authors_authors{color:var(--vocs-color_text)}.vocs_Authors_link{text-decoration:underline;text-underline-offset:2px}.vocs_Authors_link:hover{color:var(--vocs-color_text2)}.vocs_Authors_separator{color:var(--vocs-color_text3)}.vocs_BlogPosts{display:flex;flex-direction:column;gap:var(--vocs-space_32)}.vocs_BlogPosts_description{margin-top:var(--vocs-space_16)}.vocs_BlogPosts_divider{border-color:var(--vocs-color_background4)}.vocs_BlogPosts_post:hover .vocs_BlogPosts_readMore{color:var(--vocs-color_textAccent)}.vocs_BlogPosts_title{font-size:var(--vocs-fontSize_h2);font-weight:var(--vocs-fontWeight_semibold)}.vocs_Sponsors{border-radius:var(--vocs-borderRadius_8);display:flex;flex-direction:column;gap:var(--vocs-space_4);overflow:hidden}.vocs_Sponsors_title{background-color:var(--vocs-color_background3);color:var(--vocs-color_text3);font-size:var(--vocs-fontSize_13);font-weight:var(--vocs-fontWeight_medium);padding:var(--vocs-space_4) 0;text-align:center}.vocs_Sponsors_row{display:flex;flex-direction:row;gap:var(--vocs-space_4)}.vocs_Sponsors_column{align-items:center;background-color:var(--vocs-color_background3);display:flex;justify-content:center;padding:var(--vocs-space_32);width:calc(var(--vocs_Sponsors_columns) * 100%)}.vocs_Sponsors_sponsor{transition:background-color .1s}.vocs_Sponsors_sponsor:hover{background-color:var(--vocs-color_background5)}.dark .vocs_Sponsors_sponsor:hover{background-color:var(--vocs-color_white)}.vocs_Sponsors_image{filter:grayscale(1);height:var(--vocs_Sponsors_height);transition:filter .1s}.dark .vocs_Sponsors_image{filter:grayscale(1) invert(1)}.vocs_Sponsors_column:hover .vocs_Sponsors_image{filter:none}.vocs_AutolinkIcon{background-color:var(--vocs-color_textAccent);display:inline-block;margin-left:.25em;height:.8em;width:.8em;-webkit-mask:var(--vocs_AutolinkIcon_iconUrl) no-repeat center / contain;mask:var(--vocs_AutolinkIcon_iconUrl) no-repeat center / contain;transition:background-color .1s}.vocs_Autolink:hover .vocs_AutolinkIcon{background-color:var(--vocs-color_textAccentHover)}@media screen and (max-width: 720px){.vocs_CodeGroup{border-radius:0;border-right:none;border-left:none;margin-left:calc(-1 * var(--vocs-space_16));margin-right:calc(-1 * var(--vocs-space_16))}}.vocs_Steps{border-left:1.5px solid var(--vocs-color_border);counter-reset:step;padding-left:var(--vocs-space_24);margin-left:var(--vocs-space_12);margin-top:var(--vocs-space_24)}@media screen and (max-width: 720px){.vocs_Steps{margin-left:var(--vocs-space_4)}}.vocs_Subtitle{color:var(--vocs-color_text2);font-size:var(--vocs-fontSize_subtitle);font-weight:var(--vocs-fontWeight_regular);letter-spacing:-.02em;line-height:var(--vocs-lineHeight_heading);margin-top:var(--vocs-space_4);text-wrap:balance}.vocs_HorizontalRule{border-top:1px solid var(--vocs-color_hr);margin-bottom:var(--vocs-space_16)}.vocs_ListItem{line-height:var(--vocs-lineHeight_listItem)}.vocs_ListItem:not(:last-child){margin-bottom:.5em}.vocs_CopyButton{align-items:center;background-color:color-mix(in srgb,var(--vocs-color_background2) 75%,transparent);-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);border:1px solid var(--vocs-color_border);border-radius:var(--vocs-borderRadius_4);color:var(--vocs-color_text3);display:flex;justify-content:center;position:absolute;right:var(--vocs-space_18);top:var(--vocs-space_18);opacity:0;height:32px;width:32px;transition:background-color .15s,opacity .15s;z-index:var(--vocs-zIndex_surface)}.vocs_CopyButton:hover{background-color:var(--vocs-color_background4);transition:background-color .05s}.vocs_CopyButton:focus-visible{background-color:var(--vocs-color_background4);opacity:1;transition:background-color .05s}.vocs_CopyButton:hover:active{background-color:var(--vocs-color_background2)}.vocs_Pre:hover .vocs_CopyButton{opacity:1}.vocs_CodeTitle{align-items:center;background-color:var(--vocs-color_codeTitleBackground);border-bottom:1px solid var(--vocs-color_border);color:var(--vocs-color_text3);display:flex;font-size:var(--vocs-fontSize_14);font-weight:var(--vocs-fontWeight_medium);gap:var(--vocs-space_6);padding:var(--vocs-space_8) var(--vocs-space_24)}.vocs_CodeGroup .vocs_CodeTitle{display:none}@media screen and (max-width: 720px){.vocs_CodeTitle{border-radius:0;padding-left:var(--vocs-space_16);padding-right:var(--vocs-space_16)}}.vocs_CalloutTitle{font-size:var(--vocs-fontSize_12);letter-spacing:.02em;text-transform:uppercase}.vocs_Strong{font-weight:var(--vocs-fontWeight_semibold)}.vocs_Content>.vocs_Strong{display:block}.vocs_Callout>.vocs_Strong{display:block;margin-bottom:var(--vocs-space_4)}.vocs_Summary{cursor:pointer}.vocs_Summary.vocs_Summary:hover{text-decoration:underline}.vocs_Details[open] .vocs_Summary{margin-bottom:var(--vocs-space_4)}.vocs_Callout .vocs_Summary{font-weight:var(--vocs-fontWeight_medium)}.vocs_Details .vocs_Summary.vocs_Summary{margin-bottom:0}.vocs_Table{display:block;border-collapse:collapse;overflow-x:auto;margin-bottom:var(--vocs-space_24)}.vocs_TableCell{border:1px solid var(--vocs-color_tableBorder);font-size:var(--vocs-fontSize_td);padding:var(--vocs-space_8) var(--vocs-space_12)}.vocs_TableHeader{border:1px solid var(--vocs-color_tableBorder);background-color:var(--vocs-color_tableHeaderBackground);color:var(--vocs-color_tableHeaderText);font-size:var(--vocs-fontSize_th);font-weight:var(--vocs-fontWeight_medium);padding:var(--vocs-space_8) var(--vocs-space_12);text-align:left}.vocs_TableHeader[align=center]{text-align:center}.vocs_TableHeader[align=right]{text-align:right}.vocs_TableRow{border-top:1px solid var(--vocs-color_tableBorder)}.vocs_TableRow:nth-child(2n){background-color:var(--vocs-color_background2)}@media screen and (max-width: 720px){.Tabs__root{border-radius:0;margin-left:calc(-1* var(--vocs-space_16));margin-right:calc(-1* var(--vocs-space_16));padding-left:var(--vocs-space_16);padding-right:var(--vocs-space_16)}.Tabs__list{margin-left:calc(-1* var(--vocs-space_16));margin-right:calc(-1* var(--vocs-space_16))}}.vocs_Button_button{align-items:center;background:var(--vocs-color_background4);border:1px solid var(--vocs-color_border);border-radius:var(--vocs-borderRadius_4);color:var(--vocs-color_text);display:flex;font-size:var(--vocs-fontSize_14);font-weight:var(--vocs-fontWeight_medium);height:36px;padding:0 var(--vocs-space_16);transition:background .1s;white-space:pre;width:-moz-fit-content;width:fit-content}.vocs_Button_button:hover{background:var(--vocs-color_background3)}.vocs_Button_button_accent{background:var(--vocs-color_backgroundAccent);color:var(--vocs-color_backgroundAccentText);border:1px solid var(--vocs-color_borderAccent)}.vocs_Button_button_accent:hover{background:var(--vocs-color_backgroundAccentHover)}.vocs_HomePage{align-items:center;display:flex;flex-direction:column;padding-top:var(--vocs-space_64);text-align:center;gap:var(--vocs-space_32)}.vocs_HomePage_logo{display:flex;justify-content:center;height:48px}.vocs_HomePage_title{font-size:var(--vocs-fontSize_64);font-weight:var(--vocs-fontWeight_semibold);line-height:1em}.vocs_HomePage_tagline{color:var(--vocs-color_text2);font-size:var(--vocs-fontSize_20);font-weight:var(--vocs-fontWeight_medium);line-height:1.5em}.vocs_HomePage_title+.vocs_HomePage_tagline{margin-top:calc(-1 * var(--vocs-space_8))}.vocs_HomePage_description{color:var(--vocs-color_text);font-size:var(--vocs-fontSize_16);font-weight:var(--vocs-fontWeight_regular);line-height:var(--vocs-lineHeight_paragraph)}.vocs_HomePage_tagline+.vocs_HomePage_description{margin-top:calc(-1 * var(--vocs-space_8))}.vocs_HomePage_buttons{display:flex;gap:var(--vocs-space_16)}.vocs_HomePage_tabs{min-width:300px}.vocs_HomePage_tabsList{display:flex;justify-content:center}.vocs_HomePage_tabsContent{color:var(--vocs-color_text2);font-family:var(--vocs-fontFamily_mono)}.vocs_HomePage_packageManager{color:var(--vocs-color_textAccent)}@media screen and (max-width: 720px){.vocs_HomePage{padding-top:var(--vocs-space_32)}.vocs_HomePage_logo{height:36px}} diff --git a/assets/types-SDO4BfIb.js b/assets/types-C0RxJ6XT.js similarity index 99% rename from assets/types-SDO4BfIb.js rename to assets/types-C0RxJ6XT.js index 85175c4b..14b0ecf7 100644 --- a/assets/types-SDO4BfIb.js +++ b/assets/types-C0RxJ6XT.js @@ -1,4 +1,4 @@ -import{u as n,j as s}from"./index-CbNDQPNV.js";const a={title:"Types",description:"undefined"};function l(i){const e={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",header:"header",p:"p",pre:"pre",span:"span",...n(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsx(e.header,{children:s.jsxs(e.h1,{id:"types",children:["Types",s.jsx(e.a,{"aria-hidden":"true",tabIndex:"-1",href:"#types",children:s.jsx(e.div,{"data-autolink-icon":!0})})]})}),` +import{u as n,j as s}from"./index-O67QIW1D.js";const a={title:"Types",description:"undefined"};function l(i){const e={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",header:"header",p:"p",pre:"pre",span:"span",...n(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsx(e.header,{children:s.jsxs(e.h1,{id:"types",children:["Types",s.jsx(e.a,{"aria-hidden":"true",tabIndex:"-1",href:"#types",children:s.jsx(e.div,{"data-autolink-icon":!0})})]})}),` `,s.jsx(e.p,{children:"All the types defined in the metadata of a chain are anonymous: They represent the structure of the data, down to the primitive types."}),` `,s.jsx(e.p,{children:"Polkadot-API has some types defined that make it easier working with chain data."}),` `,s.jsxs(e.h2,{id:"ss58string",children:["SS58String",s.jsx(e.a,{"aria-hidden":"true",tabIndex:"-1",href:"#ss58string",children:s.jsx(e.div,{"data-autolink-icon":!0})})]}),` diff --git a/codegen/index.html b/codegen/index.html index e055880d..8cc9c2a8 100644 --- a/codegen/index.html +++ b/codegen/index.html @@ -12,8 +12,8 @@ - - + +
diff --git a/examples/example/index.html b/examples/example/index.html index e055880d..8cc9c2a8 100644 --- a/examples/example/index.html +++ b/examples/example/index.html @@ -12,8 +12,8 @@ - - + +
diff --git a/getting-started/index.html b/getting-started/index.html index e055880d..8cc9c2a8 100644 --- a/getting-started/index.html +++ b/getting-started/index.html @@ -12,8 +12,8 @@ - - + +
diff --git a/index.html b/index.html index e055880d..8cc9c2a8 100644 --- a/index.html +++ b/index.html @@ -12,8 +12,8 @@ - - + +
diff --git a/providers/index.html b/providers/index.html index e055880d..8cc9c2a8 100644 --- a/providers/index.html +++ b/providers/index.html @@ -12,8 +12,8 @@ - - + +
diff --git a/signers/index.html b/signers/index.html index e055880d..8cc9c2a8 100644 --- a/signers/index.html +++ b/signers/index.html @@ -12,8 +12,8 @@ - - + +
diff --git a/types/index.html b/types/index.html index e055880d..8cc9c2a8 100644 --- a/types/index.html +++ b/types/index.html @@ -12,8 +12,8 @@ - - + +