1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[83948],{7380:(e,t,r)=>{r.d(t,{N_:()=>u,Uy:()=>i,_V:()=>c,a8:()=>d,q6:()=>h,rd:()=>s});var a=r(20792),n=r(69140),o=()=>{throw Error("You need to wrap your application inside `FrameworkProvider`.")},l=h("FrameworkContext",{useParams:o,useRouter:o,usePathname:o});function i({Link:e,useRouter:t,useParams:r,usePathname:o,Image:i,children:d}){let s=a.useMemo(()=>({usePathname:o,useRouter:t,Link:e,Image:i,useParams:r}),[e,o,t,r,i]);return(0,n.jsx)(l.Provider,{value:s,children:d})}function d(){return l.use().usePathname()}function s(){return l.use().useRouter()}function c(e){let{Image:t}=l.use();if(!t){let{src:t,alt:r,priority:a,...o}=e;return(0,n.jsx)("img",{alt:r,src:t,fetchPriority:a?"high":"auto",...o})}return(0,n.jsx)(t,{...e})}function u(e){let{Link:t}=l.use();if(!t){let{href:t,prefetch:r,...a}=e;return(0,n.jsx)("a",{href:t,...a})}return(0,n.jsx)(t,{...e})}function h(e,t){let r=a.createContext(t);return{Provider:e=>(0,n.jsx)(r.Provider,{value:e.value,children:e.children}),use:t=>{let n=a.useContext(r);if(!n)throw Error(t??`Provider of ${e} is required but missing.`);return n}}}},39569:(e,t,r)=>{r.r(t),r.d(t,{default:()=>l});var a=r(7380),n=r(20792),o=r(69140),l=(0,n.forwardRef)(({href:e="#",external:t=e.match(/^\w+:/)||e.startsWith("//"),prefetch:r,...n},l)=>t?(0,o.jsx)("a",{ref:l,href:e,rel:"noreferrer noopener",target:"_blank",...n,children:n.children}):(0,o.jsx)(a.N_,{ref:l,href:e,prefetch:r,...n}));l.displayName="Link",r(97940)},54962:(e,t,r)=>{r.d(t,{CodeBlock:()=>M,CodeBlockTab:()=>C,CodeBlockTabs:()=>j,CodeBlockTabsList:()=>N,CodeBlockTabsTrigger:()=>P,Pre:()=>b});var a=r(32812),n=r(20857),o=r(7907),l=r(57505),i=r(69140),d=r(80091),s=r(20792),c=r(48372),u=r(34812),h=r(85519),f=r(60380),p=r(64e3),y=new Map,m=(0,s.createContext)(null),x=f.j7,v=f.Xi;function k(e){var t=e.ref,r=e.groupId,d=e.persist,c=void 0!==d&&d,h=e.updateAnchor,x=void 0!==h&&h,v=e.defaultValue,k=e.value,g=e.onValueChange,w=(0,o._)(e,["ref","groupId","persist","updateAnchor","defaultValue","value","onValueChange"]),b=(0,s.useRef)(null),M=(0,l._)(void 0===k?(0,s.useState)(v):[k,null!=g?g:function(){}],2),_=M[0],j=M[1],N=(0,u.J)(function(e){return j(e)}),P=(0,s.useMemo)(function(){return new Map},[]);return(0,s.useLayoutEffect)(function(){if(r){var e,t,a=c?localStorage.getItem(r):sessionStorage.getItem(r);return a&&N(a),(t=null!=(e=y.get(r))?e:[]).push(N),y.set(r,t),function(){var e,t;t=null!=(e=y.get(r))?e:[],y.set(r,t.filter(function(e){return e!==N}))}}},[r,N,c]),(0,s.useLayoutEffect)(function(){var e=window.location.hash.slice(1);if(e){var t=!0,r=!1,a=void 0;try{for(var n,o=P.entries()[Symbol.iterator]();!(t=(n=o.next()).done);t=!0){var i,d=(0,l._)(n.value,2),s=d[0];if(d[1]===e){N(s),null==(i=b.current)||i.scrollIntoView();break}}}catch(e){r=!0,a=e}finally{try{t||null==o.return||o.return()}finally{if(r)throw a}}}},[N,P]),(0,i.jsx)(f.tU,(0,n._)((0,a._)({ref:(0,p.P)(t,b),value:_,onValueChange:function(e){if(x){var t,a=P.get(e);a&&window.history.replaceState(null,"","#".concat(a))}r?(null==(t=y.get(r))||t.forEach(function(t){t(e)}),c?localStorage.setItem(r,e):sessionStorage.setItem(r,e)):j(e)}},w),{children:(0,i.jsx)(m.Provider,{value:(0,s.useMemo)(function(){return{valueToIdMap:P}},[P]),children:w.children})}))}function g(e){var t=e.value,r=(0,o._)(e,["value"]),l=function(){var e=(0,s.useContext)(m);if(!e)throw Error("You must wrap your component in <Tabs>");return e}().valueToIdMap;return r.id&&l.set(t,r.id),(0,i.jsx)(f.av,(0,n._)((0,a._)({value:t},r),{children:r.children}))}var w=(0,s.createContext)(null);function b(e){return(0,i.jsx)("pre",(0,n._)((0,a._)({},e),{className:(0,c.QP)("min-w-full w-max *:flex *:flex-col",e.className),children:e.children}))}function M(e){var t,r=e.ref,l=e.title,d=e.allowCopy,u=void 0===d||d,h=e.keepBackground,f=e.icon,p=e.viewportProps,y=void 0===p?{}:p,m=e.children,x=e.Actions,v=void 0===x?function(e){return(0,i.jsx)("div",(0,n._)((0,a._)({},e),{className:(0,c.QP)("empty:hidden",e.className)}))}
1:x,k=(0,o._)(e,["ref","title","allowCopy","keepBackground","icon","viewportProps","children","Actions"]),g=null!==(0,s.useContext)(w),b=(0,s.useRef)(null);return(0,i.jsxs)("figure",(0,n._)((0,a._)({ref:r,dir:"ltr"},k),{className:(0,c.QP)(g?"bg-fd-secondary -mx-px -mb-px last:rounded-b-xl":"my-4 bg-fd-card rounded-xl",void 0!==h&&h&&"bg-(--shiki-light-bg) dark:bg-(--shiki-dark-bg)","shiki relative border shadow-sm outline-none not-prose overflow-hidden text-sm",k.className),children:[l?(0,i.jsxs)("div",{className:"flex text-fd-muted-foreground items-center gap-2 h-9.5 border-b px-4",children:["string"==typeof f?(0,i.jsx)("div",{className:"[&_svg]:size-3.5",dangerouslySetInnerHTML:{__html:f}}):f,(0,i.jsx)("figcaption",{className:"flex-1 truncate",children:l}),v({className:"-me-2",children:u&&(0,i.jsx)(_,{containerRef:b})})]}):v({className:"absolute top-2 right-2 z-2 backdrop-blur-lg rounded-lg text-fd-muted-foreground",children:u&&(0,i.jsx)(_,{containerRef:b})}),(0,i.jsx)("div",(0,n._)((0,a._)({ref:b},y),{className:(0,c.QP)("text-[13px] py-3.5 overflow-auto max-h-[600px] fd-scroll-container",y.className),style:(0,a._)({"--padding-right":l?void 0:"calc(var(--spacing) * 8)",counterSet:k["data-line-numbers"]?"line ".concat(Number(null!=(t=k["data-line-numbers-start"])?t:1)-1):void 0},y.style),children:m}))]}))}function _(e){var t,r,f,p,y,m,x=e.className,v=e.containerRef,k=(0,o._)(e,["className","containerRef"]),g=(0,l._)((t=function(){var e,t,r=null==(e=v.current)?void 0:e.getElementsByTagName("pre").item(0);if(r){var a=r.cloneNode(!0);a.querySelectorAll(".nd-copy-ignore").forEach(function(e){e.replaceWith("\n")}),navigator.clipboard.writeText(null!=(t=a.textContent)?t:"")}}
1,f=(r=(0,l._)((0,s.useState)(!1),2))[0],p=r[1],y=(0,s.useRef)(null),m=(0,u.J)(function(){y.current&&window.clearTimeout(y.current),Promise.resolve(t()).then(function(){p(!0),y.current=window.setTimeout(function(){p(!1)},1500)})}),(0,s.useEffect)(function(){return function(){y.current&&window.clearTimeout(y.current)}},[]),[f,m]),2),w=g[0],b=g[1];return(0,i.jsx)("button",(0,n._)((0,a._)({type:"button",className:(0,c.QP)((0,h.r)({className:"hover:text-fd-accent-foreground",size:"icon-xs"}),x),"aria-label":w?"Copied Text":"Copy Text",onClick:b},k),{children:w?(0,i.jsx)(d.Jl,{}):(0,i.jsx)(d.B0,{})}))}function j(e){var t=e.ref,r=(0,o._)(e,["ref"]),l=(0,s.useRef)(null),d=null!==(0,s.useContext)(w);return(0,i.jsx)(k,(0,n._)((0,a._)({ref:(0,p.P)(l,t)},r),{className:(0,c.QP)("bg-fd-card rounded-xl border",!d&&"my-4",r.className),children:(0,i.jsx)(w.Provider,{value:(0,s.useMemo)(function(){return{containerRef:l,nested:d}},[d]),children:r.children})}))}function N(e){return(0,i.jsx)(x,(0,n._)((0,a._)({},e),{className:(0,c.QP)("flex flex-row px-2 overflow-x-auto text-fd-muted-foreground",e.className),children:e.children}))}function P(e){var t=e.children,r=(0,o._)(e,["children"]);return(0,i.jsxs)(v,(0,n._)((0,a._)({},r),{className:(0,c.QP)("relative group inline-flex text-sm font-medium text-nowrap items-center transition-colors gap-2 px-2 py-1.5 hover:text-fd-accent-foreground data-[state=active]:text-fd-primary [&_svg]:size-3.5",r.className),children:[(0,i.jsx)("div",{className:"absolute inset-x-2 bottom-0 h-px group-data-[state=active]:bg-fd-primary"}),t]}))}function C(e){return(0,i.jsx)(g,(0,a._)({},e))}},62243:(e,t,r)=>{r.d(t,{Image:()=>a._V,a8:()=>a.a8,q6:()=>a.q6,rd:()=>a.rd});var a=r(7380);r(97940)},80091:(e,t,r)=>{r.d(t,{$3:()=>y,AX:()=>f,B0:()=>x,Bx:()=>s,Gr:()=>h,JG:()=>w,Jl:()=>m,Ml:()=>c,Vw:()=>k,bd:()=>p,c_:()=>g,iU:()=>v,vj:()=>u,yQ:()=>d});var a=r(69140),n=r(20792),o=r(48372);let l={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"},i=(e,t)=>{let r=(0,n.forwardRef)(({className:e,size:r=24,color:i="currentColor",children:d,...s},c)=>(0,a.jsxs)("svg",{ref:c,...l,width:r,height:r,stroke:i,className:(0,o.QP)("lucide",e),...s,children:[t.map(([e,t])=>(0,n.createElement)(e,t)),d]}));return r.displayName=e,r},d=i("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);i("languages",[["path",{d:"m5 8 6 6",key:"1wu5hv"}],["path",{d:"m4 14 6-6 2-3",key:"1k1g8d"}],["path",{d:"M2 5h12",key:"or177f"}],["path",{d:"M7 2h1",key:"1t2jsx"}],["path",{d:"m22 22-5-10-5 10",key:"don7ne"}],["path",{d:"M14 18h6",key:"1m8k6r"}]]);let s=i("panel-left",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]]),c=i("chevrons-up-down",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]]),u=i("search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]),h=i("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]),f=i("moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]),p=i("sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]),y=i("airplay",[["path",{d:"M5 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-1",key:"ns4c3b"}],["path",{d:"m12 15 5 6H7Z",key:"14qnn2"}]]);i("menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]),i("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),i("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]),i("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]),i("circle-x",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);let m=i("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);i("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]),i("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}
1]]),i("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);let x=i("clipboard",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"1"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"2"}]]),v=i("file-text",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]),k=i("hash",[["line",{x1:"4",x2:"20",y1:"9",y2:"9",key:"4lhtct"}],["line",{x1:"4",x2:"20",y1:"15",y2:"15",key:"vyu0kd"}],["line",{x1:"10",x2:"8",y1:"3",y2:"21",key:"1ggp8o"}],["line",{x1:"16",x2:"14",y1:"3",y2:"21",key:"weycgp"}]]);i("text",[["path",{d:"M15 18H3",key:"olowqp"}],["path",{d:"M17 6H3",key:"16j9eg"}],["path",{d:"M21 12H3",key:"2avoz0"}]]),i("file",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}]]),i("folder",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]]),i("folder-open",[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]]),i("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]),i("link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]]),i("square-pen",[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]]);let g=i("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]),w=i("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);i("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]),i("trash-2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]),i("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]])},85519:(e,t,r)=>{r.d(t,{r:()=>o});var a=r(69231);let n={primary:"bg-fd-primary text-fd-primary-foreground hover:bg-fd-primary/80",outline:"border hover:bg-fd-accent hover:text-fd-accent-foreground",ghost:"hover:bg-fd-accent hover:text-fd-accent-foreground",secondary:"border bg-fd-secondary text-fd-secondary-foreground hover:bg-fd-accent hover:text-fd-accent-foreground"},o=(0,a.F)("inline-flex items-center justify-center rounded-md p-2 text-sm font-medium transition-colors duration-100 disabled:pointer-events-none disabled:opacity-50 focus-visible:outline-none",{variants:{variant:n,color:n,size:{sm:"gap-1 px-2 py-1.5 text-xs",icon:"p-1.5 [&_svg]:size-5","icon-sm":"p-1.5 [&_svg]:size-4.5","icon-xs":"p-1 [&_svg]:size-4"}}})}}]);
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.