PageSourceSearch

https://flaq.ai/_next/static/chunks/18296-88707764e74adc8b.js?dpl=v0_1_0-20260926-59b909b4

js flaq.ai collected 2026-10-04 13:29:26 UTC 24,245 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[18296],{13889:(e,t,r)=>{"use strict";r.d(t,{c:()=>l,k:()=>n});var o=r(32886);function s(e,t){return(...e)=>{try{return t(...e)}catch{throw Error(void 0)}}}let l=s(0,o.c3),n=s(0,o.kc)},14403:(e,t,r)=>{"use strict";r.d(t,{default:()=>i});var o=r(2193),s={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},l=r(87736);let n=(0,o.createContext)({}),i=(0,o.forwardRef)(({color:e,size:t,strokeWidth:r,absoluteStrokeWidth:i,className:a="",children:c,iconNode:d,...h},p)=>{let{size:u=24,strokeWidth:x=2,absoluteStrokeWidth:m=!1,color:b="currentColor",className:f=""}=(0,o.useContext)(n)??{},g=i??m?24*Number(r??x)/Number(t??u):r??x;return(0,o.createElement)("svg",{ref:p,...s,width:t??u??s.width,height:t??u??s.height,stroke:e??b,strokeWidth:g,className:(0,l.z)("lucide",f,a),...!c&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(h)&&{"aria-hidden":"true"},...h},[...d.map(([e,t])=>(0,o.createElement)(e,t)),...Array.isArray(c)?c:[c]])})},18296:(e,t,r)=>{"use strict";r.d(t,{default:()=>C});var o=r(47477),s=r(2193),l=r(40643),n=r(13889),i=r(32886),a=r(37267),c=r(87188),d=r(47386),h=r(76601);let p=(0,r(61133).A)("circle-arrow-up",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16 12-4-4-4 4",key:"177agl"}],["path",{d:"M12 16V8",key:"1sbj14"}]]);var u=r(15938),x=r(11529),m=r(64244),b=r(26926);let f={};function g(e){let t=e||f,r=this.data(),o=r.micromarkExtensions||(r.micromarkExtensions=[]),s=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),l=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);o.push((0,b.T)(t)),s.push((0,m.C)()),l.push((0,m.H)(t))}var j=r(77436),w=r.n(j);function v({inline:e,className:t,children:r,node:l,...i}){let a=(0,n.c)("Docs"),[c,d]=(0,s.useState)(!1),h=/language-(\w+)/.exec(t||""),p=h?h[1]:"",u=e||!t&&"string"==typeof r&&!r.includes("\n"),x=async()=>{let e=t=>"string"==typeof t?t:"number"==typeof t?String(t):Array.isArray(t)?t.map(e).join(""):t&&"object"==typeof t&&"props"in t?e(t.props.children):"",t=e(r).replace(/\n$/,"");try{await navigator.clipboard.writeText(t),d(!0),setTimeout(()=>d(!1),2e3)}catch(e){}};return u?(0,o.jsx)("code",{className:t,...i,children:r}):p?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("div",{className:"flex items-center justify-between border-b border-color-b1 bg-color-1 px-3 py-1.5 text-xs md:px-4",children:[(0,o.jsx)("span",{className:"font-medium text-color-40",children:p}),(0,o.jsx)("button",{onClick:x,className:"flex items-center gap-1.5 rounded px-2 py-1 text-color-70 transition-colors hover:bg-color-3 hover:text-white",children:c?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,o.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})}),(0,o.jsx)("span",{className:"hidden sm:inline",children:a("copied")})]}):(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,o.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"})}),(0,o.jsx)("span",{className:"hidden sm:inline",children:a("copy")})]})})]}),(0,o.jsx)("div",{className:"custom-scrollbar overflow-x-auto !bg-color-bg",children:(0,o.jsx)("code",{className:`${t} block w-fit min-w-full !bg-color-bg px-3 py-3 text-color-70 md:px-4 md:py-4`,...i,children:r})})]}):(0,o.jsx)("code",{className:`${t||""} block !bg-color-bg !px-5 !py-4 text-color-70`,...i,children:r})}r(47961);var k=r(63169),y=r(56839);let N={"ai-canvas":[{href:"/ai-canvas",labelKey:"InfiniteCanvas.docs.backToLanding",variant:"secondary"},{href:"/ai-canvas/projects",labelKey:"InfiniteCanvas.docs.openDashboard",variant:"primary"}]},z=e=>e.groupKey||e.group||"";function C({initialContent:e,initialPage:t,initialRestrictedFallback:r=!1,navigation:m,hideNavigation:b=!1,basePath:f="/docs",apiPath:j="/api/docs"}){let L,E=(0,a.rd)(),_=(0,l.useSearchParams)(),S=(0,n.c)(),$=(0,i.Ym)(),A=(0,y.A)(e=>e.auth?.access_token),T=(0,y.A)(e=>e.userInfo?.restricted),M=(0,y.A)(e=>
1e.hasHydrated),[I,V]=(0,s.useState)(e),[B,P]=(0,s.useState)(t),[K,R]=(0,s.useState)(r),[W,F]=(0,s.useState)(""),[D,U]=(0,s.useState)([]),[q,H]=(0,s.useState)(!1),[O,Y]=(0,s.useState)(""),[X,J]=(0,s.useState)(()=>new Set(m.filter(e=>{let r=e.items.some(e=>e.path===t);return e.defaultCollapsed&&!r}).map(z))),[Z,G]=(0,s.useState)(!1),Q=(0,s.useRef)(""),ee=N[B]||[],et=(0,s.useMemo)(()=>m.map(e=>({...e,items:e.items.filter(e=>!e.hidden)})).filter(e=>e.items.length>0),[m]),er=e=>e.groupKey?S(e.groupKey):e.group||"",eo=e=>e.titleKey?S(e.titleKey):e.title||"",es=O.trim().toLowerCase(),el=es.length>0,en=(0,s.useMemo)(()=>el?et.map(e=>({...e,items:e.items.filter(e=>(e.titleKey?S(e.titleKey):e.title||"").toLowerCase().includes(es))})).filter(e=>e.items.length>0):et,[et,el,es,S]),ei=en.length>0,ea=(0,s.useMemo)(()=>{let e=I.split("\n"),t=new Map,r=[];return e.forEach(e=>{let o=e.match(/^##\s+(.+)$/),s=e.match(/^###\s+(.+)$/);if(o||s){let e=(o||s)[1],l=e.toLowerCase().trim().replace(/\s+/g,"-").replace(/[^\u4e00-\u9fa5a-z0-9-]/gi,""),n=t.get(l)||0;t.set(l,n+1);let i=0===n?l:`${l}-${n}`,a=o?"##":"###";r.push(`${a} ${e} {#${i}}`)}else r.push(e)}),r.join("\n")},[I]);(0,s.useEffect)(()=>{if(b||!M)return;let e=_.get("page")||"introduction",t=[e,$,A||"anonymous",T??"unknown"].join(":");t!==Q.current&&(Q.current=t,fetch(`${j}?page=${e}&locale=${$}`).then(t=>{if(!t.ok)throw Error(`Failed to load docs page: ${e}`);return t.json()}).then(t=>{let r=e!==B;V(t.content||""),R(!0===t.restrictedFallback),P(e),r&&window.scrollTo({top:0,behavior:"auto"})}).catch(console.error))},[_,B,$,b,j,A,T,M]),(0,s.useEffect)(()=>{let e=setTimeout(()=>{let e=document.querySelectorAll("h2[id], h3[id]"),t=[];e.forEach(e=>{t.push({id:e.id,text:e.textContent||"",level:"H2"===e.tagName?2:3})}),U(t);let r=window.location.hash.slice(1);r&&setTimeout(()=>{let e=document.getElementById(r);if(e){let t=e.getBoundingClientRect().top+window.pageYOffset-100;window.scrollTo({top:t,behavior:"smooth"})}},200)},100);return()=>clearTimeout(e)},[ea]),(0,s.useEffect)(()=>{let e=()=>{let e=document.querySelectorAll("h2[id], h3[id]"),t="";if(H(window.scrollY>350),window.scrollY<200){let r=e[0];r&&(t=r.id)}else e.forEach(e=>{e.getBoundingClientRect().top<=150&&(t=e.id)});F(t)};return window.addEventListener("scroll",e),e(),()=>window.removeEventListener("scroll",e)},[ea]);let ec=(e,t)=>{if(t){E.push(t),G(!1);return}e&&(E.push(`${f}?page=${e}`),G(!1))},ed=e=>{J(t=>{let r=new Set(t);return r.has(e)?r.delete(e):r.add(e),r})},eh=(L=et.find(e=>e.items.some(e=>e.path===B)))?z(L):"",ep=et.flatMap(e=>e.items).find(e=>e.path===B),eu=ep?eo(ep):S("docs.title"),ex=e=>0===ee.length?null:(0,o.jsx)("hero"===e?"span":"div",{className:(0,k.cn)("hero"===e?"not-prose mt-3 flex flex-wrap gap-2":"mb-6 space-y-2 border-b border-zinc-800 pb-6"),children:ee.map(t=>(0,o.jsx)(a.N_,{href:t.href,className:(0,k.cn)("inline-flex items-center justify-center rounded-lg text-sm font-medium transition-colors","hero"===e?"h-10 px-5":"h-9 w-full px-3","primary"===t.variant?"bg-indigo-600 text-white hover:bg-indigo-500":"border border-zinc-800 bg-zinc-950 text-zinc-300 hover:border-zinc-700 hover:bg-zinc-900 hover:text-white"),children:S(t.labelKey)},`${t.href}-${t.variant}`))}),em=()=>(0,o.jsxs)("label",{className:"relative mb-5 block",children:[(0,o.jsx)(c.A,{className:"absolute top-1/2 left-3 h-4 w-4 -translate-y-1/2 text-zinc-500","aria-hidden":"true"}),(0,o.jsx)("input",{type:"search",value:O,onChange:e=>Y(e.target.value),placeholder:S("docs.searchPlaceholder"),"aria-label":S("docs.searchPlaceholder"),className:"h-10 w-full rounded-lg border border-color-b1 bg-color-bg0 pr-9 pl-9 text-sm text-zinc-200 outline-none transition-colors placeholder:text-zinc-600 focus:border-indigo-500/70"}),O&&(0,o.jsx)("button",{type:"button",onClick:()=>Y(""),className:"absolute top-1/2 right-3 flex h-4 w-4 -translate-y-1/2 items-center justify-center text-zinc-500 transition-colors hover:text-zinc-300","aria-label":S("docs.clearSearch"),children:(0,o.jsx)(d.A,{className:"h-4 w-4","aria-hidden":"true"})})]});return(0,o.jsxs)("div",{className:"min-h-screen bg-black",children:[!b&&(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)("div",{className:"sticky top-[var(--app-header-height)] z-40 flex items-center justify-between border-b border-zinc-800 bg-black px-4 py-3 lg:hidden",children:[(0,o.jsx)("p",{className:"text-sm font-semibold text-white",children:S("docs.navigation.documentation")}),(0,o.jsx)("button",{onClick:()=>G(!Z),className:"rounded-lg p-2 text-zinc-400 transition-colors hover:bg-zinc-900 hover:text-white","aria-label":"Toggle navigation",children:Z?(0,o.jsx)("svg",{className:"h-6 w-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,o.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})}):(0,o.jsx)("svg",{className:"h-6 w-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,o.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 6h16M4 12h16M4 18h16"})})})]})}),!b&&Z&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{className:"fixed inset-x-0 bottom-0 top-[calc(var(--app-header-height)+
157px)] z-30 bg-black/50 lg:hidden",onClick:()=>G(!1)}),(0,o.jsxs)("aside",{className:"fixed top-[calc(var(--app-header-height)+57px)] left-0 z-40 flex h-[calc(100dvh-var(--app-header-height)-57px)] w-64 flex-col border-r border-zinc-800 bg-black lg:hidden",children:[(0,o.jsx)("div",{className:"px-6 pt-6",children:em()}),(0,o.jsx)("div",{className:"custom-scrollbar min-h-0 flex-1 overflow-y-auto px-6 pb-6",children:(0,o.jsxs)("nav",{className:"space-y-6",children:[en.map(e=>{let t=z(e),r=er(e),s=t===eh,l=!el&&X.has(t),n=!1!==e.collapsible&&!el;return(0,o.jsxs)("div",{children:[n?(0,o.jsxs)("button",{onClick:()=>ed(t),className:(0,k.cn)("mb-3 flex w-full items-center justify-between text-xs font-semibold tracking-wider uppercase transition-colors hover:text-zinc-300",s?"text-zinc-300":"text-zinc-500"),children:[r,(0,o.jsx)("svg",{className:`h-4 w-4 transition-transform ${l?"":"rotate-180"}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,o.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]}):(0,o.jsx)("p",{className:"mb-3 text-xs font-semibold tracking-wider text-zinc-500 uppercase",children:r}),!l&&(0,o.jsx)("ul",{className:"space-y-1 border-l border-zinc-800 pl-3",children:e.items.map(e=>{let t=eo(e),r=e.path===B,s=!!e.link;return(0,o.jsx)("li",{children:(0,o.jsxs)("button",{onClick:()=>ec(e.path,e.link),className:(0,k.cn)("relative w-full rounded-lg px-3 py-2 text-left text-sm transition-colors",r?"bg-indigo-950/70 font-medium text-indigo-200":"text-zinc-400 hover:bg-zinc-900 hover:text-white"),children:[r&&(0,o.jsx)("span",{className:"absolute top-2 bottom-2 -left-[13px] w-0.5 rounded-full bg-indigo-500"}),(0,o.jsxs)("span",{className:"flex items-center justify-between",children:[t,s&&(0,o.jsx)("svg",{className:"h-3 w-3",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,o.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"})})]})]})},t)})})]},t||r)}),!ei&&(0,o.jsx)("p",{className:"text-sm leading-6 text-zinc-500",children:S("docs.noSearchResults")})]})})]})]}),(0,o.jsxs)("div",{className:"mx-auto flex max-w-[1600px]",children:[!b&&(0,o.jsxs)("aside",{className:"sticky top-20 hidden h-[calc(100vh-5rem)] w-64 flex-shrink-0 flex-col border-r border-zinc-800 lg:flex",children:[(0,o.jsxs)("div",{className:"px-4 pt-6",children:[em(),(0,o.jsx)("p",{className:"text-lg font-semibold text-white",children:S("docs.navigation.documentation")})]}),(0,o.jsx)("div",{className:"custom-scrollbar min-h-0 flex-1 overflow-y-auto px-4 pt-0 pb-6",children:(0,o.jsxs)("nav",{className:"space-y-6",children:[en.map(e=>{let t=z(e),r=er(e),s=t===eh,l=!el&&X.has(t),n=!1!==e.collapsible&&!el;return(0,o.jsxs)("div",{children:[n?(0,o.jsxs)("button",{onClick:()=>ed(t),className:(0,k.cn)("mb-3 flex w-full items-center justify-between text-xs font-semibold tracking-wider uppercase transition-colors hover:text-zinc-300",s?"text-zinc-300":"text-zinc-500"),children:[r,(0,o.jsx)("svg",{className:`h-4 w-4 transition-transform ${l?"":"rotate-180"}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,o.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]}):(0,o.jsx)("p",{className:"mb-3 text-xs font-semibold tracking-wider text-zinc-500 uppercase",children:r}),!l&&(0,o.jsx)("ul",{className:"space-y-1 border-l border-zinc-800 pl-3",children:e.items.map(e=>{let t=eo(e),r=e.path===B,s=!!e.link;return(0,o.jsx)("li",{children:(0,o.jsxs)("button",{onClick:()=>ec(e.path,e.link),className:(0,k.cn)("relative w-full rounded-lg px-3 py-2 text-left text-sm transition-colors",r?"bg-indigo-950/70 font-medium text-indigo-200":"text-zinc-400 hover:bg-zinc-900 hover:text-white"),children:[r&&(0,o.jsx)("span",{className:"absolute top-2 bottom-2 -left-[13px] w-0.5 rounded-full bg-indigo-500"}),(0,o.jsxs)("span",{className:"flex items-center justify-between",children:[t,s&&(0,o.jsx)("svg",{className:"h-3 w-3",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,o.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"})})]})]})},t)})})]},t||r)}),!ei&&(0,o.jsx)("p",{className:"text-sm leading-6 text-zinc-500",children:S("docs.noSearchResults")})]})})]}),(0,o.jsx)("main",{className:"min-w-0 flex-1 px-4 py-8 md:px-6 md:pt-8 md:pb-12 lg:px-8",children:(0,o.jsx)("article",{className:(0,k.cn)("prose prose-invert mx-auto w-full max-w-[800px]","prose-headings:scroll-mt-24","prose-h1:mb-3 prose-h1:text-2xl prose-h1:font-bold prose-h1:text-white","md:prose-h1:mb-4 md:prose-h1:text-4xl","prose-h2:mb-3 prose-h2:mt-8 prose-h2:border-t prose-h2:border-zinc-800 prose-h2:pt-6 prose-h2:text-xl prose-h2:font-semibold prose-h2:text-white","md:prose-h2:mb-4 md:prose-h2:mt-12 md:prose-h2:pt-8 md:prose-h2:text-2xl","prose-h3:mb-2 prose-h3:mt-6 prose-h3:text-lg prose-h3:font-semibold prose-h3:text-white","md:prose-h3:mb-3 md:prose-h3:mt-8 md:prose-h3:text-xl","prose-p:text-sm prose-p:leading-7 prose-p:text-zinc-400 prose-p:break-words md:prose-p:text-base","[&_blockquote_p:first-of-type::before]:content-none [&_blockquote_p:last-of-type::after]:content-none","prose-a:text-indigo-400 prose-a:no-underline prose-a:break-words hover:prose-a:underline","prose-strong:font-semibold prose-strong:text-white prose-strong:break-words","prose-code:rounded prose-code:bg-zinc-900 prose-code:px-2 prose-code:py-1 prose-code:text-xs prose-code:text-pink-400 prose-code:break-words prose-code:before:content-none prose-code:after:content-none md:prose-code:text-sm","prose-pre:!bg-color-bg prose-pre:!p-0 prose-pre:!m-0 prose-pre:max-w-full prose-pre:overflow-hidden prose-pre:rounded-lg prose-pre:border prose-pre:border-color-b1 prose-pre:text-xs prose-pre:text-color-70 md:prose-pre:text-sm","[&_code.hljs]:!bg-color-bg [&_.hljs]:!bg-color-bg [&_.hljs]:text-color-70","[&_.hljs-attr]:text-color-blue [&_.hljs-attribute]:text-color-blue [&_.hljs-name]:text-color-blue [&_.hljs-property]:text-color-blue","[&_.hljs-string]:text-main-green [&_.hljs-regexp]:text-main-green [&_.hljs-symbol]:text-main-green","[&_.hljs-number]:text-color-orange [&_.hljs-literal]:text-color-orange [&_.hljs-variable]:text-color-orange","[&_.hljs-keyword]:text-color-pink [&_.hljs-selector-tag]:text-color-pink [&_.hljs-built_in]:text-color-pink","[&_.hljs-comment]:text-color-40 [&_.hljs-quote]:text-color-40 [&_.hljs-punctuation]:text-white/45","prose-table:w-full prose-table:max-w-full prose-table:text-xs md:prose-table:text-sm","prose-th:border prose-th:border-zinc-800 prose-th:bg-zinc-900 prose-th:px-2 prose-th:py-1.5 prose-th:text-left prose-th:font-semibold prose-th:text-white md:prose-th:px-4 md:prose-th:py-2","prose-td:border prose-td:border-zinc-800 prose-td:px-2 prose-td:py-1.5 prose-td:text-zinc-400 prose-td:break-words md:prose-td:px-4 md:prose-td:py-2","prose-hr:border-zinc-800","prose-ul:text-sm prose-ul:text-zinc-400 md:prose-ul:text-base","prose-li:text-zinc-400 prose-li:break-words","prose-img:max-w-full"),children:K?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("h1",{children:eu}),(0,o.jsx)("div",{className:"not-prose mt-8 rounded-lg border border-yellow-500/30 bg-yellow-500/10 p-4 text-yellow-100",children:(0,o.jsxs)("div",{className:"flex gap-3",children:[(0,o.jsx)(h.A,{className:"mt-0.5 h-5 w-5 shrink-0 text-yellow-300","aria-hidden":"true"}),(0,o.jsxs)("div",{children:[(0,o.jsx)("p",{className:"text-sm font-semibold text-yellow-100",children:S("docs.restricted.title")}),(0,o.jsx)("p",{className:"mt-1 text-sm leading-6 text-yellow-100/75",children:S("docs.restricted.description")})]})]})})]}):(0,o.jsx)(u.oz,{remarkPlugins:[g,w()],rehypePlugins:[x.A],components:{code:v,h6:({children:e})=>"ai-canvas"===B?(0,o.jsx)("p",{className:"not-prose mb-3 text-sm font-medium tracking-[0.2em] text-indigo-400 uppercase",children:e}):(0,o.jsx)("h6",{children:e}),a:({children:e,href:t,title:r})=>"docs-actions"===r?ex("hero"):(0,o.jsx)("a",{href:t,children:e}),table:({children:e})=>(0,o.jsx)("div",{className:"custom-scrollbar w-full overflow-x-auto",children:(0,o.jsx)("table",{children:e})})},children:ea})})}),(0,o.jsx)("aside",{className:"custom-scrollbar sticky top-20 hidden h-[calc(100vh-5rem)] w-64 flex-shrink-0 overflow-y-auto border-l border-zinc-800 xl:block",children:(0,o.jsxs)("div",{className:"px-4 py-6",children:[ex("sidebar"),(0,o.jsxs)("nav",{children:[(0,o.jsx)("ul",{className:"space-y-2 text-sm",children:D.map((e,t)=>{let r=e.id===W;return(0,o.jsx)("li",{className:3===e.level?"ml-4":"",children:(0,o.jsx)("button",{onClick:()=>(e=>{let t=document.getElementById(e);if(t){let r=t.getBoundingClientRect().top+window.pageYOffset-100;window.scrollTo({top:r,behavior:"smooth"});let o=new URL(window.location.href);o.hash=e,window.history.pushState({},"",o.toString())}})(e.id),className:`block w-full text-left transition-colors ${r?"font-medium text-indigo-400":"text-zinc-500 hover:text-zinc-300"}`,children:e.text})},`${e.id}-${t}`)})}),q&&(0,o.jsx)("div",{className:"mt-6 border-t border-zinc-800 pt-4",children:(0,o.jsxs)("button",{type:"button",onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})},className:"flex items-center gap-1.5 text-sm text-zinc-500 transition-colors hover:text-zinc-300",children:[(0,o.jsx)("span",{children:S("docs.scrollToTop")}),(0,o.jsx)(p,{className:"h-4 w-4","aria-hidden":"true"})]})})]})]})})]})]})}},28804:(e,t,r)=>
1{let o=r(55913),s=e=>e.map(e=>o.isEmpty(e.value)?e.children&&e.children.length>0?s(e.children):"":e.value).join(" "),l=e=>o.kebabCase(e.replaceAll(/\\s+/g," ").trim());e.exports={extractText:s,getDefaultId:e=>l(s(e)),formatDefaultId:l,setNodeId:(e,t)=>{e.data||(e.data={}),e.data.hProperties||(e.data.hProperties={}),e.data.id=e.data.hProperties.id=t}}},33648:e=>{"use strict";function t(){return!0}e.exports=function e(r){if("string"==typeof r){var o;return o=r,function(e){return!!(e&&e.type===o)}}if(null==r)return t;if("object"==typeof r)return("length"in r?function(t){var r=function(t){for(var r=[],o=t.length,s=-1;++s<o;)r[s]=e(t[s]);return r}(t),o=r.length;return function(){for(var e=-1;++e<o;)if(r[e].apply(this,arguments))return!0;return!1}}:function(e){return function(t){var r;for(r in e)if(t[r]!==e[r])return!1;return!0}})(r);if("function"==typeof r)return r;throw Error("Expected function, string, or object as test")}},37267:(e,t,r)=>{"use strict";r.d(t,{N_:()=>l,a8:()=>i,rd:()=>a});var o=r(48522),s=r(64937);let{Link:l,redirect:n,usePathname:i,useRouter:a,getPathname:c}=(0,o.A)(s.DT)},47386:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});let o=(0,r(61133).A)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},61133:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var o=r(2193),s=r(87736);let l=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var n=r(14403);let i=(e,t)=>{let r=(0,o.forwardRef)(({className:r,...i},a)=>(0,o.createElement)(n.default,{ref:a,iconNode:t,className:(0,s.z)(`lucide-${l(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,r),...i}));return r.displayName=l(e),r}},63169:(e,t,r)=>{"use strict";r.d(t,{cn:()=>l});var o=r(40505),s=r(5819);function l(...e){return(0,s.QP)((0,o.$)(e))}},64937:(e,t,r)=>{"use strict";r.d(t,{DT:()=>n,eo:()=>l,q:()=>s});var o=r(60199);let s="en",l=[{code:"en-US",lang:"en",backendValue:"en",label:"English"},{code:"ja-JP",lang:"ja",backendValue:"ja",label:"日本語",englishLabel:"Japanese"},{code:"id-ID",lang:"id",backendValue:"id",label:"Bahasa Indonesia",englishLabel:"Indonesian"},{code:"it-IT",lang:"it",backendValue:"it",label:"Italiano",englishLabel:"Italian"},{code:"pt-BR",lang:"pt",backendValue:"pt",label:"Portugu\xeas",englishLabel:"Portuguese"},{code:"es-ES",lang:"es",backendValue:"es",label:"Espa\xf1ol",englishLabel:"Spanish"},{code:"de-DE",lang:"de",backendValue:"de",label:"Deutsch",englishLabel:"German"},{code:"ru-RU",lang:"ru",backendValue:"ru",label:"Русский",englishLabel:"Russian"},{code:"fr-FR",lang:"fr",backendValue:"fr",label:"Fran\xe7ais",englishLabel:"French"},{code:"zh-CN",lang:"zh",backendValue:"zh",label:"简体中文",englishLabel:"Simplified Chinese"},{code:"zh-TW",lang:"tw",backendValue:"tw",label:"繁體中文",englishLabel:"Traditional Chinese"},{code:"ko-KR",lang:"ko",backendValue:"ko",label:"한국어",englishLabel:"Korean"},{code:"th-TH",lang:"th",backendValue:"th",label:"ไทย",englishLabel:"Thai"},{code:"vi-VN",shortCode:"vi",lang:"vi",backendValue:"vi",label:"Tiếng Việt",englishLabel:"Vietnamese"},{code:"ar-SA",lang:"ar",backendValue:"ar",label:"العربية",englishLabel:"Arabic"}],n=(0,o.A)({locales:l.map(({lang:e})=>e),defaultLocale:s,localePrefix:"as-needed",localeDetection:!1})},76601:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});let o=(0,r(61133).A)("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]])},77436:(e,t,r)=>{let o=r(86162),{setNodeId:s,getDefaultId:l}=r(28804);e.exports=function(e={defaults:!1}){return function(t){o(t,"heading",t=>{let r=t.children[t.children.length-1];if(r&&"text"===r.type){let e=r.value.replace(/ +$/,""),o=e.match(/ {#([^]+?)}$/);if(o){let l=o[1];if(l.length){s(t,l),r.value=e=e.substring(0,o.index);return}}}e.defaults&&s(t,l(t.children))})}}},86162:(e,t,r)=>{"use strict";e.exports=i;var o=r(86793),s=o.CONTINUE,l=o.SKIP,n=o.EXIT;function i(e,t,r,s){"function"==typeof t&&"function"!=typeof r&&(s=r,r=t,t=null),o(e,t,function(e,t){var o=t[t.length-1],s=o?o.children.indexOf(e):null;return r(e,s,o)},s)}i.CONTINUE=s,i.SKIP=l,i.EXIT=n},86793:(e,t,r)=>{"use strict";e.exports=l;var o=r(33648),s="skip";function l(e,t,r,l){var i;"function"==typeof t&&"function"!=typeof r&&(l=r,r=t,t=null),i=o(t),function e(o,a,c){var d,h=[];return(!t||i(o,a,c[c.length-1]||null))&&!1===(h=n(r(o,c)))[0]?h:o.children&&h[0]!==s&&!1===(d=n(function(t,r){for(var o,s=l?-1:1,n=(l?t.length:-1)+s;n>-1&&n<t.length;){if(!1===(o=e(t[n],n,r))[0])return o;n="number"==typeof o[1]?o[1]:n+s}}(o.children,c.concat(o))))[0]?d:h}(e,null,[])}function n(e){return null!==e&&"object"==typeof e&&"length"in e?e:"number"==typeof e?[!0,e]:[e]}l.CONTINUE=!0,l.SKIP=s,l.EXIT=!1},87188:(e,t,r)=>{"use strict";r.d(t,{A:()=>
1o});let o=(0,r(61133).A)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]])},87736:(e,t,r)=>{"use strict";r.d(t,{z:()=>o});let o=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim()}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.