PageSourceSearch

https://www.nimiqhub.com/_next/static/chunks/app/(nimiqhub)/layout-8f05baf3d07ea1bc.js

js nimiqhub.com collected 2026-10-05 07:19:14 UTC 23,239 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[48],{57139:(e,t,r)=>{Promise.resolve().then(r.bind(r,96178)),Promise.resolve().then(r.t.bind(r,60698,23)),Promise.resolve().then(r.bind(r,49764)),Promise.resolve().then(r.bind(r,41804)),Promise.resolve().then(r.bind(r,69019)),Promise.resolve().then(r.bind(r,16093)),Promise.resolve().then(r.bind(r,79701)),Promise.resolve().then(r.bind(r,56315)),Promise.resolve().then(r.bind(r,67630)),Promise.resolve().then(r.bind(r,2327)),Promise.resolve().then(r.bind(r,36116)),Promise.resolve().then(r.bind(r,2241))},98453:(e,t,r)=>{"use strict";r.d(t,{v:()=>l});var n=r(57596),a=r(79791),o=r(8097);let s=e=>btoa(String.fromCharCode(...e)),i=e=>{let t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",r="",n=window.crypto.getRandomValues(new Uint8Array(e));for(let a=0;a<e;a++)r+=t.charAt(n[a]%t.length);return r},l=()=>{let e="https://hub.nimiq.com/",[t,l]=(0,n.useState)(!1),{session:d,setSession:c}=(0,o.w)(),u=(0,a.useRouter)(),[f,h]=(0,n.useState)(null);return{signAndVerifyMessage:(0,n.useCallback)(async()=>{if(!t){l(!0),h(null);try{let[t]=await Promise.all([r.e(6154).then(r.bind(r,16154)).then(e=>e.default)]),a=i(36),o=new t(e),l=await o.signMessage({appName:"NimiqHub",message:"Welcome to NimiqHub!\n\nClick to sign in and proceed.\nThis action verifies your identity and does not trigger a blockchain transaction or cost any gas fees.\n\n\nNonce: "+a}),d=s(l.signature),f=s(l.signerPublicKey),m="".concat(a,":").concat(f,":").concat(d),v=new TextEncoder().encode(m),g=s(v),x=await fetch("https://api.nimiqhub.com/login",{method:"POST",headers:{"Content-Type":"application/json"},credentials:"include",body:JSON.stringify({password:g})});if(x.ok){var n;let{user:e,session:t}=await x.json();if(!e||!t)throw Error("Invalid response data from server");let r={...e,created:new Date(e.created),updated:new Date(e.updated),verifiedAt:e.verifiedAt?new Date(e.verifiedAt):null,lastIp:e.lastIp&&{...e.lastIp,created:new Date(e.lastIp.created),updated:new Date(e.lastIp.updated),lastUsed:new Date(e.lastIp.lastUsed)},lastDevice:e.lastDevice&&{...e.lastDevice,created:new Date(e.lastDevice.created),updated:new Date(e.lastDevice.updated),lastUsed:new Date(e.lastDevice.lastUsed)},socialLinks:(null===(n=e.socialLinks)||void 0===n?void 0:n.map(e=>({...e,created:new Date(e.created),updated:new Date(e.updated)})))||[]},a={...t,expiresAt:new Date(t.expiresAt)};await c({user:r,session:a}),setTimeout(()=>{u.refresh()},0)}else{let e=await x.json();console.error("Sign-in failed:",e),h(e.error)}}catch(e){console.error("Failed to sign in:",e),h(e.message||"Failed to sign in. Please try again.")}finally{l(!1)}}},[e,c,u]),disconnect:(0,n.useCallback)(async()=>{l(!0);try{let e=await fetch("https://api.nimiqhub.com/logout",{method:"DELETE",headers:{"X-Session-ID":(null==d?void 0:d.session.nonce)||""},credentials:"include"});if(e.ok){let t=await e.json();c(null),console.log("Sign-out successful:",t.message),u.refresh()}else{let t=await e.json();console.error("Sign-out failed:",t),h(t.message||t.error||"Failed to sign out")}}catch(e){console.error("Error during sign-out:",e),h(e.message||"Failed to sign out. Please try again.")}finally{l(!1)}},[c,u,null==d?void 0:d.session.nonce]),loading:t,error:f,session:d}}},49764:(e,t,r)=>{"use strict";r.d(t,{ConnectButton:()=>c});var n=r(25872);r(57596);var a=r(60698),o=r.n(a),s=r(55915),i=r(72661),l=r(98453),d=r(8097);function c(){let{signAndVerifyMessage:e,loading:t}=(0,l.v)(),{session:r}=(0,d.w)();return(null==r?void 0:r.user)?(0,n.jsx)(o(),{href:"/settings",children:(0,n.jsx)(s.A,{src:null==r?void 0:r.user.wallet,alt:"Identicon of ".concat(null==r?void 0:r.user.wallet)})}):(0,n.jsx)("div",{className:"flex items-center justify-center",children:(0,n.jsx)(i.t,{onClick:e,disabled:t,className:"text-base h-8",children:"Connect"})})}},41804:(e,t,r)=>{"use strict";r.d(t,{LayoutProvider:()=>a});var n=r(57596);function a(e){let{children:t}=e,[r,a]=(0,n.useState)(!1);return((0,n.useEffect)(()=>a(!0),[]),r)?t:null}},8097:(e,t,r)=>{"use strict";r.d(t,{SessionProvider:()=>s,w:()=>i});var n=r(25872),a=r(57596);let o=(0,a.createContext)(null);function s(e){let{children:t,session:r}=e,[s,i]=(0,a.useState)(r);return(0,n.jsx)(o.Provider,{value:{session:s,setSession:i},children:t})}function i(){let e=(0,a.useContext)(o);if(!e)throw Error("useSession must be used within a SessionProvider");return e}},55915:(e,t,r)=>{"use strict";r.d(t,{A:()=>v});var n=r(25872),a=r(57596),o=r(7438),s=r(79791),i=r(84669),l=r(69019),d=r
1(94170),c=r(46333),u=r(99521);let f=new Map,h=async(e,t)=>{let r="".concat(e,"-").concat(t);if(f.has(r))return f.get(r);let n=await (0,i.qC)(e);return f.set(r,n),n},m=a.memo(e=>{let{src:t,alt:r="",size:i=35,animate:f=!0,link:m=!1,label:v="",sizeTooltip:g="sm",onClick:x}=e,{deviceSize:b,screenSize:p}=(0,d.z)(),w=(0,s.useRouter)(),y=(0,a.useRef)(null),[N,j]=(0,a.useState)(0),{validatorData:k}=(0,u.d)(),C=k.data.find(e=>e.address===t),P=(0,a.useMemo)(()=>c.A.ICONS[t]||(null==C?void 0:C.logo),[t]),S=(0,a.useMemo)(()=>i||("large"===b||"medium"===b?35:28),[i,b]),L=(0,a.useCallback)(e=>{e.preventDefault(),x?x(e):m&&w.push("/wallet/".concat(t))},[x,m,w,t]),T=(0,a.useCallback)(()=>{m&&w.prefetch("/wallet/".concat(t))},[m,w,t]);(0,a.useEffect)(()=>{if(P)return;let e=y.current;e&&h(t,S).then(t=>{e.innerHTML=t;let r=e.querySelector("svg");r?(r.setAttribute("width",S.toString()),r.setAttribute("height",S.toString())):j(e=>e+1)})},[t,S,b,p.width,P]);let A=(0,a.useCallback)(()=>{let e=c.A.ICONS[t];return(null==C?void 0:C.logo)!==void 0?(console.log(C.name),(0,n.jsx)("div",{style:{width:S,height:S,position:"relative"},children:(0,n.jsx)(o.default,{src:null==C?void 0:C.logo,alt:"".concat(C.name," validator icon"),fill:!0,sizes:"".concat(S,"px"),title:C.name,role:"img",loading:"lazy",style:{objectFit:"contain"}})})):e?(console.log(e),(0,n.jsx)(o.default,{src:e,alt:"".concat(v||"Account"," identicon"),width:S,height:S,title:v||"Account identicon",role:"img",loading:"lazy",style:{minWidth:S,minHeight:S}})):(0,n.jsx)("div",{ref:y,style:{height:S,width:S},title:v||"Account identicon",role:"img","aria-label":v||"Account identicon"})},[t,S,v]),D=(0,a.useMemo)(()=>{var e;return(null!==(e=p.width)&&void 0!==e?e:0)>=1536?"text-base":"text-sm"},[p.width]),E=(0,n.jsx)("div",{...m?{onClick:L,onMouseEnter:T,title:"View wallet details for ".concat(v||t),role:"button","aria-label":"View wallet details for ".concat(v||t)}:{},className:"".concat(f?"transform transition duration-200 ease-in-out block hover:scale-110":""," ").concat(m?"cursor-pointer":""),children:A()},P?void 0:N);return m&&v&&p.width&&!(p.width<768)?(0,n.jsx)(l.TooltipProvider,{children:(0,n.jsxs)(l.m_,{delayDuration:300,children:[(0,n.jsx)(l.k$,{asChild:!0,children:E}),(0,n.jsx)(l.ZI,{side:"bottom",className:"font-bold ".concat(D),children:v})]})}):E});m.displayName="Identicon";let v=m},72661:(e,t,r)=>{"use strict";r.d(t,{t:()=>o});var n=r(25872);r(57596);var a=r(56519);function o(e){let{children:t,className:r,...o}=e;return(0,n.jsx)("button",{className:(0,a.cn)("group relative inline-flex h-11 animate-rainbow cursor-pointer items-center justify-center rounded-xl border-0 bg-[length:200%] px-8 py-2 font-medium text-primary-foreground transition-colors [background-clip:padding-box,border-box,border-box] [background-origin:border-box] [border:calc(0.08*1rem)_solid_transparent] focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50","before:absolute before:bottom-[-20%] before:left-1/2 before:z-0 before:h-1/5 before:w-3/5 before:-translate-x-1/2 before:animate-rainbow before:bg-[linear-gradient(90deg,hsl(var(--color-1)),hsl(var(--color-5)),hsl(var(--color-3)),hsl(var(--color-4)),hsl(var(--color-2)))] before:bg-[length:200%] before:[filter:blur(calc(0.8*1rem))]","bg-[linear-gradient(#121213,#121213),linear-gradient(#121213_50%,rgba(18,18,19,0.6)_80%,rgba(18,18,19,0)),linear-gradient(90deg,hsl(var(--color-1)),hsl(var(--color-5)),hsl(var(--color-3)),hsl(var(--color-4)),hsl(var(--color-2)))]","dark:bg-[linear-gradient(#fff,#fff),linear-gradient(#fff_50%,rgba(255,255,255,0.6)_80%,rgba(0,0,0,0)),linear-gradient(90deg,hsl(var(--color-1)),hsl(var(--color-5)),hsl(var(--color-3)),hsl(var(--color-4)),hsl(var(--color-2)))]",r),...o,children:t})}},69019:(e,t,r)=>{"use strict";r.d(t,{TooltipProvider:()=>i,ZI:()=>c,k$:()=>d,m_:()=>l});var n=r(25872),a=r(57596),o=r(28466),s=r(99697);let i=o.Kq,l=o.bL,d=o.l9;o.ZL;let c=a.forwardRef((e,t)=>{let{className:r,sideOffset:a=4,...i}=e;return(0,n.jsx)(o.UC,{ref:t,sideOffset:a,className:(0,s.cn)("z-[99999] font-bold overflow-hidden rounded-md text-secondary bg-primary px-3 py-1.5 text-sm shadow-md animate-in fade-in-50 data-[side=bottom]:slide-in-from-top-1 data-[side=left]:slide-in-from-right-1 data-[side=right]:sli
1de-in-from-left-1 data-[side=top]:slide-in-from-bottom-1",r),...i})});c.displayName=o.UC.displayName},99521:(e,t,r)=>{"use strict";r.d(t,{ValidatorProvider:()=>l,d:()=>d});var n=r(25872),a=r(57596),o=r(46333),s=function(e){return e.None="none",e.Restake="restake",e.Payout="payout",e}(s||{});let i=(0,a.createContext)(void 0),l=e=>{let{children:t,initialData:r}=e,[s,l]=(0,a.useState)(r),[d,c]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{s&&(0,o.X)(s)},[s]),(0,n.jsx)(i.Provider,{value:{validatorData:s,isLoading:d},children:t})};function d(){let e=(0,a.useContext)(i);if(void 0===e)throw Error("useValidators must be used within a ValidatorProvider");return e}},16093:(e,t,r)=>{"use strict";r.d(t,{LanguageToggle:()=>l,LanguageToggleText:()=>d});var n=r(25872),a=r(9669),o=r(52241),s=r(56519),i=r(98626);function l(e){let t=(0,a.s)();if(!t.locales)throw Error("Missing `<I18nProvider />`");return(0,n.jsxs)(o.AM,{children:[(0,n.jsx)(o.Wv,{"aria-label":t.text.chooseLanguage,...e,className:(0,s.cn)((0,i.r)({color:"ghost",className:"gap-1.5 p-1.5"}),e.className),children:e.children}),(0,n.jsxs)(o.hl,{className:"flex flex-col overflow-hidden p-0",children:[(0,n.jsx)("p",{className:"mb-1 p-2 text-xs font-medium text-fd-muted-foreground",children:t.text.chooseLanguage}),t.locales.map(e=>(0,n.jsx)("button",{type:"button",className:(0,s.cn)("p-2 text-start text-sm",e.locale===t.locale?"bg-fd-primary/10 font-medium text-fd-
1primary":"hover:bg-fd-accent hover:text-fd-accent-foreground"),onClick:()=>{var r;null===(r=t.onChange)||void 0===r||r.call(t,e.locale)},children:e.name},e.locale))]})]})}function d(e){var t,r;let o=(0,a.s)(),s=null===(r=o.locales)||void 0===r?void 0:null===(t=r.find(e=>e.locale===o.locale))||void 0===t?void 0:t.name;return(0,n.jsx)("span",{...e,children:s})}},79701:(e,t,r)=>{"use strict";r.d(t,{NavProvider:()=>d,Title:()=>u,h:()=>c});var n=r(25872),a=r(74452),o=r(57596),s=r(56519),i=r(9669);let l=(0,o.createContext)({isTransparent:!1});function d(e){let{transparentMode:t="none",children:r}=e,[a,s]=(0,o.useState)("none"!==t);return(0,o.useEffect)(()=>{if("top"!==t)return;let e=()=>{s(window.scrollY<10)};return e(),window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[t]),(0,n.jsx)(l.Provider,{value:{isTransparent:a},children:r})}function c(){return(0,o.useContext)(l)}function u(e){let{title:t,url:r,...o}=e,{locale:l}=(0,i.s)();return(0,n.jsx)(a.A,{href:null!=r?r:l?"/".concat(l):"/",...o,className:(0,s.cn)("inline-flex items-center gap-2.5 font-semibold",o.className),children:t})}},56315:(e,t,r)=>{"use strict";r.d(t,{LargeSearchToggle:()=>c,SearchToggle:()=>d});var n=r(25872),a=r(1592),o=r(30461),s=r(9669),i=r(56519),l=r(98626);function d(e){let{setOpenSearch:t}=(0,o.$)();return(0,n.jsx)("button",{type:"button",className:(0,i.cn)((0,l.r)({size:"icon",color:"ghost",className:e.className})),"data-search":"","aria-label":"Open Search",onClick:()=>{t(!0)},children:(0,n.jsx)(a.A,{})})}function c(e){let{hotKey:t,setOpenSearch:r}=(0,o.$)(),{text:l}=(0,s.s)();return(0,n.jsxs)("button",{type:"button","data-search-full":"",...e,className:(0,i.cn)("inline-flex items-center gap-2 rounded-full border bg-fd-secondary/50 p-1.5 text-sm text-fd-muted-foreground transition-colors hover:bg-fd-accent hover:text-fd-accent-foreground",e.className),onClick:()=>{r(!0)},children:[(0,n.jsx)(a.A,{className:"ms-1 size-4"}),l.search,(0,n.jsx)("div",{className:"ms-auto inline-flex gap-0.5",children:t.map((e,t)=>(0,n.jsx)("kbd",{className:"rounded-md border bg-fd-background px-1.5",children:e.display},t))})]})}},67630:(e,t,r)=>{"use strict";r.d(t,{ThemeToggle:()=>c});var n=r(25872),a=r(18131),o=r(3014),s=r(38881),i=r(54458),l=r(56519);let d=(0,a.F)("size-7 rounded-full p-1.5 text-fd-muted-foreground",{variants:{dark:{true:"dark:bg-fd-accent dark:text-fd-accent-foreground",false:"bg-fd-accent text-fd-accent-foreground dark:bg-transparent dark:text-fd-muted-foreground"}}});function c(e){let{className:t,...r}=e,{setTheme:a,resolvedTheme:c}=(0,i.D)();return(0,n.jsxs)("button",{type:"button",className:(0,l.cn)("inline-flex items-center rounded-full border p-[3px]",t),"data-theme-toggle":"","aria-label":"Toggle Theme",onClick:()=>{a("dark"===c?"light":"dark")},...r,children:[(0,n.jsx)(o.A,{className:(0,l.cn)(d({dark:!1}))}),(0,n.jsx)(s.A,{className:(0,l.cn)(d({dark:!0}))})]})}},98626:(e,t,r)=>{"use strict";r.d(t,{r:()=>n});let n=(0,r(18131).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",{variants:{color:{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"},size:{sm:"gap-1 p-0.5 text-xs",icon:"p-1.5 [&_svg]:size-5"}}})},43812:(e,t,r)=>{"use strict";r.d(t,{JD:()=>l,KS:()=>i,QW:()=>f,Ws:()=>u,hA:()=>c,wd:()=>d});var n=r(25872),a=r(57596),o=r(96178),s=r(56519);let i=o.Root;o.List;let l=o.Item,d=a.forwardRef((e,t)=>{let{className:r,children:a,...i}=e;return(0,n.jsx)(o.Trigger,{ref:t,className:(0,s.cn)("data-[state=open]:bg-fd-accent/50",r),...i,children:a})});d.displayName=o.Trigger.displayName;let c=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)(o.Content,{ref:t,className:(0,s.cn)("absolute inset-x-0 top-0 data-[motion=from-end]:animate-fd-enterFromRight data-[motion=from-start]:animate-fd-enterFromLeft data-[motion=to-end]:animate-fd-exitToRight data-[motion=to-start]:animate-fd-exitToLeft",r),...a})});c.displayName=o.Content.displayName;
1let u=o.Link,f=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{ref:t,className:"flex w-full justify-center",children:(0,n.jsx)(o.Viewport,{...a,className:(0,s.cn)("relative h-[var(--radix-navigation-menu-viewport-height)] w-full origin-[top_center] overflow-hidden text-fd-popover-foreground transition-[width,height] duration-300 data-[state=closed]:animate-fd-nav-menu-out data-[state=open]:animate-fd-nav-menu-in",r)})})});f.displayName=o.Viewport.displayName},52241:(e,t,r)=>{"use strict";r.d(t,{AM:()=>i,Wv:()=>l,hl:()=>d});var n=r(25872),a=r(43792),o=r(57596),s=r(56519);let i=a.bL,l=a.l9,d=o.forwardRef((e,t)=>{let{className:r,align:o="center",sideOffset:i=4,...l}=e;return(0,n.jsx)(a.ZL,{children:(0,n.jsx)(a.UC,{ref:t,align:o,sideOffset:i,side:"bottom",className:(0,s.cn)("z-50 min-w-[220px] max-w-[98vw] rounded-lg border bg-fd-popover p-2 text-sm text-fd-popover-foreground shadow-md focus-visible:outline-none data-[state=closed]:animate-fd-popover-out data-[state=open]:animate-fd-popover-in",r),...l})})});d.displayName=a.UC.displayName,a.iN},9669:(e,t,r)=>{"use strict";r.d(t,{I18nLabel:()=>o,s:()=>s});var n=r(57596);let a=(0,n.createContext)({text:{search:"Search",searchNoResult:"No results found",toc:"On this page",tocNoHeadings:"No Headings",lastUpdate:"Last updated on",chooseLanguage:"Choose a language",nextPage:"Next",previousPage:"Previous",chooseTheme:"Theme",editOnGithub:"Edit on GitHub"}});function o(e){let{text:t}=s();return t[e.label]}function s(){return(0,n.useContext)(a)}},30461:(e,t,r)=>{"use strict";r.d(t,{$:()=>s,SearchOnly:()=>d,Y:()=>l});var n=r(25872),a=r(57596);let o=(0,a.createContext)({enabled:!1,hotKey:[],setOpenSearch:()=>void 0});function s(){return(0,a.useContext)(o)}function i(){let[e,t]=(0,a.useState)("⌘");return(0,a.useEffect)(()=>{window.navigator.userAgent.includes("Windows")&&t("Ctrl")},[]),e}function l(e){let{SearchDialog:t,children:r,preload:s=!0,options:l,hotKey:d=[{key:e=>e.metaKey||e.ctrlKey,display:(0,n.jsx)(i,{})},{key:"k",display:"K"}],links:c}=e,[u,f]=(0,a.useState)(!s&&void 0);return(0,a.useEffect)(()=>{let e=e=>{d.every(t=>"string"==typeof t.key?e.key===t.key:t.key(e))&&(f(!0),e.preventDefault())};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},[d]),(0,n.jsxs)(o.Provider,{value:(0,a.useMemo)(()=>({enabled:!0,hotKey:d,setOpenSearch:f}),[d]),children:[void 0!==u&&(0,n.jsx)(t,{open:u,onOpenChange:f,links:c,...l}),r]})}function d(e){let{children:t}=e;if(s().enabled)return t}},57319:(e,t,r)=>{"use strict";r.d(t,{G:()=>c,c:()=>d});var n=r(25872),a=r(57596),o=r(79791),s=r(25355),i=r(26683);let l=(0,a.createContext)(void 0);function d(){let e=(0,a.useContext)(l);if(!e)throw Error("Missing root provider");return e}function c(e){let{children:t}=e,r=(0,a.useRef)(!0),[d,c]=(0,a.useState)(!1),[u,f]=(0,a.useState)(!1),h=(0,o.usePathname)();return(0,i.T)(h,()=>{r.current&&c(!1),r.current=!0}),(0,n.jsx)(l.Provider,{value:(0,a.useMemo)(()=>({open:d,setOpen:c,collapsed:u,setCollapsed:f,closeOnRedirect:r}),[d,u]),children:(0,n.jsx)(s.GB,{open:d,onOpenChange:c,children:t})})}},83745:(e,t,r)=>{"use strict";r.d(t,{L:()=>c,TreeContextProvider:()=>d,t:()=>u});var n=r(25872),a=r(79791),o=r(57596),s=r(98836);let i=(0,o.createContext)(void 0),l=(0,o.createContext)([]);function d(e){var t;let{children:r,tree:d}=e,c=(0,a.usePathname)(),u=(0,o.useMemo)(()=>{var e;return null!==(e=(0,s.oe)(d.children,c))&&void 0!==e?e:[]},[c,d]),f=null!==(t=u.findLast(e=>"folder"===e.type&&e.root))&&void 0!==t?t:d;return(0,o.useRef)(c).current=c,(0,n.jsx)(i.Provider,{value:(0,o.useMemo)(()=>({root:f}),[f]),children:(0,n.jsx)(l.Provider,{value:u,children:r})})}function c(){return(0,o.useContext)(l)}function u(){let e=(0,o.useContext)(i);if(!e)throw Error("You must wrap this component under <DocsLayout />");return e}},2327:(e,t,r)=>{"use strict";r.d(t,{MenuLinkItem:()=>u});var n=r(25872),a=r(98693),o=r(56519),s=r(43812),i=r(74452),l=r(18131),d=r(98626);let c=(0,l.F)("",{variants:{variant:{main:"inline-flex items-center gap-2 py-1.5 transition-colors hover:text-fd-popover-foreground
1/50 data-[active=true]:font-medium data-[active=true]:text-fd-primary [&_svg]:size-4",icon:(0,d.r)({size:"icon",color:"ghost"}),button:(0,d.r)({color:"secondary",className:"gap-1.5 [&_svg]:size-4"})}},defaultVariants:{variant:"main"}});function u(e){let{item:t,...r}=e;return"custom"===t.type?(0,n.jsx)("div",{className:(0,o.cn)("grid",r.className),children:t.children}):"menu"===t.type?(0,n.jsxs)("div",{className:(0,o.cn)("mb-4 flex flex-col",r.className),children:[(0,n.jsx)("p",{className:"mb-1 text-sm text-fd-muted-foreground",children:t.url?(0,n.jsx)(s.Ws,{asChild:!0,children:(0,n.jsxs)(i.A,{href:t.url,children:[t.icon,t.text]})}):(0,n.jsxs)(n.Fragment,{children:[t.icon,t.text]})}),t.items.map((e,t)=>(0,n.jsx)(u,{item:e},t))]}):(0,n.jsx)(s.Ws,{asChild:!0,children:(0,n.jsxs)(a.BaseLinkItem,{item:t,className:(0,o.cn)(c({variant:t.type}),r.className),"aria-label":"icon"===t.type?t.label:void 0,children:[t.icon,"icon"===t.type?void 0:t.text]})})}},36116:(e,t,r)=>{"use strict";r.d(t,{Navbar:()=>h,NavbarLink:()=>b,NavbarMenu:()=>m,NavbarMenuContent:()=>v,NavbarMenuItem:()=>p,NavbarMenuTrigger:()=>g});var n=r(25872),a=r(57596),o=r(18131),s=r(74452),i=r(56519),l=r(98693),d=r(43812),c=r(79701),u=r(98626);let f=(0,o.F)("inline-flex items-center gap-1 p-2 text-fd-muted-foreground transition-colors hover:text-fd-accent-foreground data-[active=true]:text-fd-primary [&_svg]:size-4");function h(e){let[t,r]=(0,a.useState)(""),{isTransparent:o}=(0,c.h)();return(0,n.jsx)(d.KS,{value:t,onValueChange:r,asChild:!0,children:(0,n.jsxs)("header",{id:"nd-nav",...e,className:(0,i.cn)("fixed left-1/2 top-[var(--fd-banner-height)] z-40 w-full max-w-fd-container -translate-x-1/2 border-b border-fd-foreground/10 transition-colors lg:mt-2 lg:w-[calc(100%-1rem)] lg:rounded-2xl lg:border",t.length>0?"shadow-lg":"shadow-sm",(!o||t.length>0)&&"bg-fd-background/80 backdrop-blur-lg",e.className),children:[(0,n.jsx)("nav",{className:"flex h-14 w-full flex-row items-center gap-6 px-4 lg:h-12",children:e.children}),(0,n.jsx)(d.QW,{})]})})}let m=d.JD;function v(e){return(0,n.jsx)(d.hA,{...e,className:(0,i.cn)("grid grid-cols-1 gap-3 px-4 pb-4 md:grid-cols-2 lg:grid-cols-3",e.className),children:e.children})}function g(e){return(0,n.jsx)(d.wd,{...e,className:(0,i.cn)(f(),"rounded-md",e.className),children:e.children})}let x=(0,o.F)(void 0,{variants:{variant:{main:f(),button:(0,u.r)({color:"secondary",className:"gap-1.5 [&_svg]:size-4"}),icon:(0,u.r)({color:"ghost",size:"icon"})}},defaultVariants:{variant:"main"}});function b(e){let{item:t,variant:r,...a}=e;return(0,n.jsx)(d.JD,{className:"list-none",children:(0,n.jsx)(d.Ws,{asChild:!0,children:(0,n.jsx)(l.BaseLinkItem,{...a,item:t,className:(0,i.cn)(x({variant:r}),a.className),children:a.children})})})}function p(e){return(0,n.jsx)(d.Ws,{asChild:!0,children:(0,n.jsx)(s.A,{...e,className:(0,i.cn)("flex flex-col gap-2 rounded-lg border bg-fd-card p-3 transition-colors hover:bg-fd-accent/80 hover:text-fd-accent-foreground",e.className)})})}},98693:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BaseLinkItem:()=>l});var n=r(25872),a=r(74452),o=r(79791),s=r(57596),i=r(69891);let l=(0,s.forwardRef)((e,t)=>{var r;let{item:s,...l}=e,d=(0,o.usePathname)(),c=null!==(r=s.active)&&void 0!==r?r:"url",u="none"!==c&&(0,i.$)(s.url,d,"nested-url"===c);return(0,n.jsx)(a.A,{ref:t,href:s.url,external:s.external,...l,"data-active":u,children:l.children})});l.displayName="BaseLinkItem"},2241:(e,t,r)=>{"use strict";r.d(t,{RootProvider:()=>c,SearchOnly:()=>l.SearchOnly});var n=r(25872),a=r(54458),o=r(17300),s=r(18780),i=r(57319),l=r(30461);r(9669),r(83745);let d=(0,o.default)(()=>Promise.all([r.e(1415),r.e(8310),r.e(3491),r.e(8466),r.e(16),r.e(1608),r.e(1444)]).then(r.bind(r,1444)),{loadableGenerated:{webpack:()=>[1444]},ssr:!1});function c(e){let{children:t,dir:r,theme:{enabled:o=!0,...c}={},search:u}=e,f=t;return(null==u?void 0:u.enabled)!==!1&&(f=(0,n.jsx)(l.Y,{SearchDialog:d,...u,children:f})),o&&(f=(0,n.jsx)(a.ThemeProvider,{attribute:"class",defaultTheme:"system",enableSystem:!0,disableTransitionOnChange:!0,...c,children:f})),(0,n.jsx)(s.FX,{dir:null!=r?r:"ltr",children:(0,n.jsx)(i.G,{children:f})})}},69891:(e,t,r)=>{"use strict";function n(e,t){let r=!(arguments.length>2)||void 0===arguments[2]||arguments[2];return e===t||r&&t.startsWith("".concat(e,"/"))}r.d(t,{$:()=>n})},99697:(e,t,r)=>{"use strict";r.d(t,{cn:()=>o});var n=r(78651),a=r(81826);function o(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,a.QP)((0,n.$)(t))}}},e=>{var t=t=>e(e.s=t);e.O(0,[1888,1415,8310,698,3491,8466,1890,16,511,391,6766,7278,9475,7358],()=>t(57139)),_N_E=e.O()}]);

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.