1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1916],{2560:(e,t,n)=>{n.d(t,{J:()=>l});var r=n(73464),o=n(39574);function l(e,t,i,a=100,s=!1,d){let{delayMs:u=a??100,allowEmpty:c=s??!1,...f}=e;f.tag??=i,f.locale??=t;let[p,h]=(0,o.useState)(""),[g,m]=(0,o.useState)("empty"),[v,b]=(0,o.useState)(),[x,w]=(0,o.useState)(!1),y=function(e,t=1e3){let[n,r]=(0,o.useState)(e),l=(0,o.useRef)(void 0);if(0===t)return e;if(e!==n&&l.current?.value!==e){l.current&&clearTimeout(l.current.handler);let n=window.setTimeout(()=>{r(e)},t);l.current={value:e,handler:n}}return n}(p,u),j=(0,o.useRef)(void 0);return(0,r.T)([f,y],()=>{j.current&&(j.current(),j.current=void 0),w(!0);let e=!1;j.current=()=>{e=!0},(async function(){if(0===y.length&&!c)return"empty";if("fetch"===f.type){let{fetchDocs:e}=await n.e(9809).then(n.bind(n,69809));return e(y,f)}if("algolia"===f.type){let{searchDocs:e}=await n.e(129).then(n.bind(n,129));return e(y,f)}if("orama-cloud"===f.type){let{searchDocs:e}=await n.e(5790).then(n.bind(n,35790));return e(y,f)}if("static"===f.type){let{search:e}=await n.e(719).then(n.bind(n,30719));return e(y,f)}throw Error("unknown search client")})().then(t=>{e||(b(void 0),m(t))}).catch(e=>{b(e)}).finally(()=>{w(!1)})},function e(t,n){if(Array.isArray(t)&&Array.isArray(n))return n.length!==t.length||t.some((t,r)=>e(t,n[r]));if("object"==typeof t&&t&&"object"==typeof n&&n){let r=Object.keys(t),o=Object.keys(n);return r.length!==o.length||r.some(r=>e(t[r],n[r]))}return t!==n}),{search:p,setSearch:h,query:{isLoading:x,data:g,error:v}}}},61871:(e,t,n)=>{n.d(t,{Rc:()=>$,hx:()=>en,Ct:()=>el,iz:()=>er,i:()=>ee,y:()=>ed,vo:()=>et,FI:()=>ei,Xq:()=>eo,Sk:()=>ec,dZ:()=>ef});var r=n(73590),o=n(17707),l=n(39574),i=n(23616),a=n(97556),s=n(80671),d=n(73894),u=n(97487),c=n(93825),f=n(55176),p=n(85699),h=n(91049),g=n(62876),m=n(37977),v=n(45615),b=n(88906),x=n(44002),w=n(40839),y=n(66310),j=n(28059),C=Object.defineProperty,D=(e,t)=>C(e,"name",{value:t,configurable:!0}),N="Dialog",[R,k]=(0,c.A)(N),[P,M]=R(N),E=D(e=>{let{__scopeDialog:t,children:n,open:o,defaultOpen:i,onOpenChange:a,modal:s=!0}=e,d=l.useRef(null),u=l.useRef(null),{nodes:c,registry:h}=(0,g.Rd)(),[m,v]=(0,p.i)({prop:o,defaultProp:null!=i&&i,onChange:a,caller:N}),[b,x]=l.useState(0),[w,y]=l.useState(0);return(0,r.jsx)(P,{scope:t,triggerRef:d,contentRef:u,contentId:(0,f.B)(),titleId:(0,f.B)(),descriptionId:(0,f.B)(),titlePresent:b>0,descriptionPresent:w>0,setTitleCount:x,setDescriptionCount:y,open:m,onOpenChange:v,onOpenToggle:l.useCallback(()=>v(e=>!e),[v]),modal:s,branchNodes:c,branchRegistry:h,children:n})},"Dialog"),[O,F]=R("DialogPortal",{forceMount:void 0}),I="DialogOverlay",S=l.forwardRef(D(function(e,t){let n=F(I,e.__scopeDialog),{forceMount:o=n.forceMount,...l}=e,i=M(I,e.__scopeDialog);return i.modal?(0,r.jsx)(m.C,{present:o||i.open,children:(0,r.jsx)(W,{...l,ref:t})}):null},"DialogOverlay")),A=(0,j.TL)("DialogOverlay.RemoveScroll"),W=l.forwardRef(D(function(e,t){let{__scopeDialog:n,...o}=e,i=M(I,n),a=(0,h.e0)(),s=(0,u.s)(t,a);return(0,r.jsx)(w.A,{as:A,allowPinchZoom:!0,shards:l.useMemo(()=>[i.contentRef,...i.branchNodes.map(e=>({current:e}))],[i.contentRef,i.branchNodes]),children:(0,r.jsx)(v.sG.div,{"data-state":V(i.open),...o,ref:s,style:{pointerEvents:"auto",...o.style}})})},"DialogOverlayImpl")),_="DialogContent",T=l.forwardRef(D(function(e,t){let n=F(_,e.__scopeDialog),{forceMount:o=n.forceMount,...l}=e,i=M(_,e.__scopeDialog);return(0,r.jsx)(m.C,{present:o||i.open,children:i.modal?(0,r.jsx)(H,{...l,ref:t}):(0,r.jsx)(Q,{...l,ref:t})})},"DialogContent")),H=l.forwardRef(D(function(e,t){let n=M(_,e.__scopeDialog),o=l.useRef(null),i=(0,u.s)(t,n.contentRef,o);return l.useEffect(()=>{let e=o.current;if(e)return(0,y.Eq)(e)},[]),(0,r.jsx)(L,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:n.open,onCloseAutoFocus:(0,d.mK)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null==(t=n.triggerRef.current)||t.focus()}),onPointerDownOutside:(0,d.mK)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,d.mK)(e.onFocusOutside,e=>e.preventDefault())})},"DialogContentModal")),Q=l.forwardRef(D(function(e,t){let n=M(_,e.__scopeDialog),o=l.useRef(!1),i=l.useRef(!1);return(0,r.jsx)(L,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var r,l;null==(r=e.onCloseAutoFocus)||r.call(e,t),t.defaultPrevented||(o.current||null==(l=n.triggerRef.current)||l.focus(),t.preventDefault()),o.current=!1,i.current=!1},onInteractOutside:t=>{var r,l;null==(r=e.onInteractOutside)||r.call(e,t),t.defaultPrevented||(o.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));let a=t.target;(null==(l=n.triggerRef.current)?void 0:l.contains(a))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})},"DialogContentNonModal")),L=l.forwardRef(D(function(e,t){let{__scopeDialog:n,trapFocus:o,onOpenAutoFocus:l,onCloseAutoFocus:i,"aria-describedby":a,children:s,...d}=e,u=M(_,n);return(0,b.Oh)(),(0,r.jsx)(g.UF,{registry:u.branchRegistry,children:(0,r.jsx)(g.n1,{asChild:!0,loop:!0,trapped:o,branches:u.branchNodes,onMountAutoFocus:l,onUnmountAutoFocus:i,children:(0,r.jsx)(h.qW,{role:"dialog",id:u.contentId,"aria-labelledby":u.titlePresent?u.titleId:void 0,"aria-describedby":u.descriptionPresent?B(a,u.descriptionId):a,"data-state":V(u.open),...d,ref:t,deferPointerDownOutside:!0,onDismiss:()=>u.onOpenChange(!1),children:s})})})},"DialogContentImpl")),z=l.forwardRef(D(function(e,t){let{__scopeDialog:n,...o}=e,l=M("DialogTitle",n),{setTitleCount:i}=l;return(0,x.N)(()=>(i(e=>e+1),()=>i(e=>e-1)),[i]),(0,r.jsx)(v.sG.h2,{id:l.titleId,...o,ref:t})},"DialogTitle"));function B(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let r=new Set;for(let e of t)if("string"==typeof e)for(let t of String(e).trim().split(/\s+/))t&&r.add(t);return r.size>0?Array.from(r).join(" "):void 0}function V(e){return e?"open":"closed"}D(B,"concatAriaDescribedby"),D(V,"getState");var q=n(35572),K=n(14218),U=n(2981),X=n(57946),G=n(62294);let J=(0,l.createContext)(null),Y=(0,l.createContext)(null),Z=(0,l.createContext)(null);function $(e){let{open:t,onOpenChange:n,search:o,onSearchChange:i,isLoading:a=!1,children:s}=e,[d,u]=(0,l.useState)(null);return(0,r.jsx)(E,{open:t,onOpenChange:n,children:(0,r.jsx)(J.Provider,{value:(0,l.useMemo)(()=>({open:t,onOpenChange:n,search:o,onSearchChange:i,active:d,setActive:u,isLoading:a}),[d,a,n,i,t,o]),children:s})})}function ee(e){return(0,r.jsx)("div",{...e,className:(0,a.QP)("flex flex-row items-center gap-2 p-3 pb-2",e.className)})}function et(e){let{text:t}=(0,i.useI18n)(),{search:n,onSearchChange:o}=ep();return(0,r.jsx)("input",{...e,value:n,onChange:e=>o(e.target.value),placeholder:t.search,className:"w-0 flex-1 bg-transparent text-lg placeholder:text-fd-muted-foreground focus-visible:outline-none"})}function en(e){let{children:t="ESC",className:n,...o}=e,{onOpenChange:l}=ep();return(0,r.jsx)("button",{type:"button",onClick:()=>l(!1),className:(0,a.QP)((0,s.r)({color:"outline",size:"sm",className:"font-mono text-fd-muted-foreground"}),n),...o,children:t})}function er(e){return(0,r.jsx)("div",{...e,className:(0,a.QP)("bg-fd-secondary/50 p-3 empty:hidden",e.className)})}function eo(e){return(0,r.jsx)(S,{...e,className:(0,a.QP)("fixed inset-0 z-50 max-md:backdrop-blur-xs data-[state=open]:animate-fd-fade-in data-[state=closed]:animate-fd-fade-out",e.className)})}function el(e){let{children:t,...n}=e,{text:o}=(0,i.useI18n)();return(0,r.jsxs)(T,{"aria-describedby":void 0,...n,className:(0,a.QP)("fixed divide-y divide-fd-border left-1/2 top-4 md:top-[calc(50%-250px)] z-50 w-[calc(100%-2*var(--spacing))] max-w-screen-sm -translate-x-1/2 roun
1ded-2xl border bg-fd-popover/60 backdrop-blur-xl text-fd-popover-foreground shadow-2xl shadow-black/40 overflow-hidden data-[state=closed]:animate-fd-dialog-out data-[state=open]:animate-fd-dialog-in",n.className),children:[(0,r.jsx)(z,{className:"hidden",children:o.search}),t]})}function ei(e){let{items:t=null,Empty:n=()=>(0,r.jsx)("div",{className:"py-12 text-center text-sm text-fd-muted-foreground",children:(0,r.jsx)(i.I18nLabel,{label:"searchNoResult"})}),Item:o=e=>(0,r.jsx)(es,{...e}),...s}=e,d=(0,l.useRef)(null),[u,c]=(0,l.useState)(()=>t&&t.length>0?t[0].id:null),{onOpenChange:f}=ep(),p=(0,U.rd)(),h=e=>{var t;let{external:n,url:r}=e;n?null==(t=window.open(r,"_blank"))||t.focus():p.push(r),f(!1)},g=(0,K.J)(e=>{if(t){if("ArrowDown"===e.key||"ArrowUp"==e.key){var n,r;let o=t.findIndex(e=>e.id===u);-1===o?o=0:"ArrowDown"===e.key?o++:o--,c(null!=(r=null==(n=t.at(o%t.length))?void 0:n.id)?r:null),e.preventDefault()}if("Enter"===e.key){let n=t.find(e=>e.id===u);n&&h(n),e.preventDefault()}}});return(0,l.useEffect)(()=>{let e=d.current;if(!e)return;let t=new ResizeObserver(()=>{let t=e.firstElementChild;e.style.setProperty("--fd-animated-height","".concat(t.clientHeight,"px"))}),n=e.firstElementChild;return n&&t.observe(n),window.addEventListener("keydown",g),()=>{t.disconnect(),window.removeEventListener("keydown",g)}},[g]),(0,X.T)(t,()=>{t&&t.length>0&&c(t[0].id)}),(0,r.jsx)("div",{...s,ref:d,className:(0,a.QP)("overflow-hidden h-(--fd-animated-height) transition-[height]",!t&&"border-b-0",s.className),children:(0,r.jsx)("div",{className:(0,a.QP)("w-full flex flex-col overflow-y-auto max-h-[460px] p-1",!t&&"hidden"),children:(0,r.jsxs)(Y.Provider,{value:(0,l.useMemo)(()=>({active:u,setActive:c}),[u]),children:[(null==t?void 0:t.length)===0&&n(),null==t?void 0:t.map(e=>(0,r.jsx)(l.Fragment,{children:o({item:e,onClick:()=>h(e)})},e.id))]})})})}let ea={text:null,heading:(0,r.jsx)(o.Vw,{className:"size-4 shrink-0 text-fd-muted-foreground"}),page:(0,r.jsx)(o.iU,{className:"size-6 text-fd-muted-foreground bg-fd-muted border p-0.5 rounded-sm shadow-sm shrink-0"})};function es(e){let{item:t,className:n,children:o,...i}=e,{active:s,setActive:d}=function(){let e=(0,l.useContext)(Y);if(!e)throw Error("Missing <SearchDialogList />");return e}(),u=t.id===s;return(0,r.jsx)("button",{type:"button",ref:(0,l.useCallback)(e=>{u&&e&&(0,G.A)(e,{scrollMode:"if-needed",block:"nearest",boundary:e.parentElement})},[u]),"aria-selected":u,className:(0,a.QP)("relative flex select-none flex-row items-center gap-2 p-2 text-start text-sm rounded-lg","page"!==t.type&&"ps-8","page"===t.type||"heading"===t.type?"font-medium":"text-fd-popover-foreground
1/80",u&&"bg-fd-accent text-fd-accent-foreground",n),onPointerMove:()=>d(t.id),...i,children:null!=o?o:(0,r.jsxs)(r.Fragment,{children:["page"!==t.type&&(0,r.jsx)("div",{role:"none",className:"absolute start-4.5 inset-y-0 w-px bg-fd-border"}),ea[t.type],(0,r.jsx)("p",{className:"min-w-0 truncate",children:t.content})]})})}function ed(e){let{isLoading:t}=ep();return(0,r.jsx)(o.vj,{...e,className:(0,a.QP)("size-5 text-fd-muted-foreground",t&&"animate-pulse duration-400",e.className)})}let eu=(0,q.F)("rounded-md border px-2 py-0.5 text-xs font-medium text-fd-muted-foreground transition-colors",{variants:{active:{true:"bg-fd-accent text-fd-accent-foreground"}}});function ec(e){let{tag:t,onTagChange:n,allowClear:o=!1,...i}=e;return(0,r.jsx)("div",{...i,className:(0,a.QP)("flex items-center gap-1 flex-wrap",i.className),children:(0,r.jsx)(Z.Provider,{value:(0,l.useMemo)(()=>({value:t,onValueChange:n,allowClear:o}),[o,n,t]),children:i.children})})}function ef(e){let{value:t,className:n,...o}=e,{onValueChange:i,value:s,allowClear:d}=function(){let e=(0,l.useContext)(Z);if(!e)throw Error("Missing <TagsList />");return e}(),u=t===s;return(0,r.jsx)("button",{type:"button","data-active":u,className:(0,a.QP)(eu({active:u,className:n})),onClick:()=>{i(u&&d?void 0:t)},tabIndex:-1,...o,children:o.children})}function ep(){let e=(0,l.useContext)(J);if(!e)throw Error("Missing <SearchDialog />");return e}},62294:(e,t,n)=>{n.d(t,{A:()=>d});let r=e=>"object"==typeof e&&null!=e&&1===e.nodeType,o=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,l=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){let n=getComputedStyle(e,null);return o(n.overflowY,t)||o(n.overflowX,t)||(e=>{let t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)})(e)}return!1},i=(e,t,n,r,o,l,i,a)=>l<e&&i>t||l>e&&i<t?0:l<=e&&a<=n||i>=t&&a>=n?l-e-r:i>t&&a<n||l<e&&a>n?i-t+o:0,a=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},s=(e,t)=>{var n,o,s,d;if("undefined"==typeof document)return[];let{scrollMode:u,block:c,inline:f,boundary:p,skipOverflowHiddenElements:h}=t,g="function"==typeof p?p:e=>e!==p;if(!r(e))throw TypeError("Invalid target");let m=document.scrollingElement||document.documentElement,v=[],b=e;for(;r(b)&&g(b);){if((b=a(b))===m){v.push(b);break}null!=b&&b===document.body&&l(b)&&!l(document.documentElement)||null!=b&&l(b,h)&&v.push(b)}let x=null!=(o=null==(n=window.visualViewport)?void 0:n.width)?o:innerWidth,w=null!=(d=null==(s=window.visualViewport)?void 0:s.height)?d:innerHeight,{scrollX:y,scrollY:j}=window,{height:C,width:D,top:N,right:R,bottom:k,left:P}=e.getBoundingClientRect(),{top:M,right:E,bottom:O,left:F}=(e=>{let t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e),I="start"===c||"nearest"===c?N-M:"end"===c?k+O:N+C/2-M+O,S="center"===f?P+D/2-F+E:"end"===f?R+E:P-F,A=[];for(let e=0;e<v.length;e++){let t=v[e],{height:n,width:r,top:o,right:a,bottom:s,left:d}=t.getBoundingClientRect();if("if-needed"===u&&N>=0&&P>=0&&k<=w&&R<=x&&(t===m&&!l(t)||N>=o&&k<=s&&P>=d&&R<=a))break;let p=getComputedStyle(t),h=parseInt(p.borderLeftWidth,10),g=parseInt(p.borderTopWidth,10),b=parseInt(p.borderRightWidth,10),M=parseInt(p.borderBottomWidth,10),E=0,O=0,F="offsetWidth"in t?t.offsetWidth-t.clientWidth-h-b:0,W="offsetHeight"in t?t.offsetHeight-t.clientHeight-g-M:0,_="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,T="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(m===t)E="start"===c?I:"end"===c?I-w:"nearest"===c?i(j,j+w,w,g,M,j+I,j+I+C,C):I-w/2,O="start"===f?S:"center"===f?S-x/2:"end"===f?S-x:i(y,y+x,x,h,b,y+S,y+S+D,D),E=Math.max(0,E+j),O=Math.max(0,O+y);else{E="start"===c?I-o-g:"end"===c?I-s+M+W:"nearest"===c?i(o,s,n,g,M+W,I,I+C,C):I-(o+n/2)+W/2,O="start"===f?S-d-h:"center"===f?S-(d+r/2)+F/2:"end"===f?S-a+b+F:i(d,a,r,h,b+F,S,S+D,D);let{scrollLeft:e,scrollTop:l}=t;E=0===T?0:Math.max(0,Math.min(l+E/T,t.scrollHeight-n/T+W)),O=0===_?0:Math.max(0,Math.min(e+O/_,t.scrollWidth-r/_+F)),I+=l-E,S+=e-O}A.push({el:t,top:E,left:O})}return A};function d(e,t){if(!e.isConnected||!(e=>{let t=e;for(;t&&t.parentNode;){if(t.parentNode===document)return!0;t=t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}return!1})(e))return;let n=(e=>{let t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||
10,left:parseFloat(t.scrollMarginLeft)||0}})(e);if("object"==typeof t&&"function"==typeof t.behavior)return t.behavior(s(e,t));let r="boolean"==typeof t||null==t?void 0:t.behavior;for(let{el:o,top:l,left:i}of s(e,!1===t?{block:"end",inline:"nearest"}:t===Object(t)&&0!==Object.keys(t).length?t:{block:"start",inline:"nearest"})){let e=l-n.top+n.bottom,t=i-n.left+n.right;o.scroll({top:e,left:t,behavior:r})}}}}]);
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.