PageSourceSearch

https://solana.org/_next/static/chunks/4542.b87b154b3c915e05.js

js solana.org collected 2026-09-24 10:20:29 UTC 4,156 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4542],{72414:e=>{e.exports={"theme-switch":"ThemeSwitch_theme-switch__pxAxO"}},74542:(e,a,s)=>{"use strict";s.r(a),s.d(a,{default:()=>N});var t=s(6029),n=s(55729),i=s(82203),r=s.n(i),l=s(8588),m=s.n(l),o=s(57687),d=s(98802),h=s(50212),u=s(71543),c=s(72414),_=s.n(c),p=s(76319);let g=({style:e,id:a,setTheme:s})=>{let{toggleTheme:n,usingDarkTheme:i,theme:r}=(0,p.DP)(),l=`Turn on ${"theme-dark"===r?"light":"dark"} theme`;return(0,t.jsx)(u.A,{defaultChecked:i()??void 0,type:"switch",id:`theme-switch-${a}`,label:l,"aria-label":l,style:e||{},onClick:()=>{s(n())},className:_()["theme-switch"]})};var b=s(91280),k=s.n(b),x=s(81278);let v=({children:e,activeClassName:a,className:s="",...n})=>{let{asPath:i,isReady:l}=(0,x.useRouter)(),m=e=>e.split("?")[0].split("#")[0],o=m(String(n.as||n.href||"")),d=m(String(i||"")),h=[s,l&&o===d?a:""].filter(Boolean).join(" ");return(0,t.jsx)(r(),{...n,className:h||void 0,children:e})};var j=s(12206);let w="/pages/branding/logotype/logo-wordmark-light.svg",f=[{path:"about",key:"about"},{path:"delegation-program",key:"delegationProgram",subLinks:[{path:"delegation-program",key:"overview"},{path:"validators-search",key:"participantStatuses"},{path:"delegation-criteria",key:"delegationCriteria"},{path:"delegation-dashboard",key:"delegationDashboard"},{path:"faq",key:"faq"}]},{path:"grants-funding",key:"grantsFunding"}];function N({className:e}){let{t:a}=(0,d.Bd)("common"),{theme:s}
1=(0,j.A)(),[i,l]=(0,n.useState)(s),[u,c]=(0,n.useState)(w),[_,p]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{c("theme-dark"===i?w:"/pages/branding/logotype/logo.svg")},[i]),(0,t.jsxs)("header",{className:(0,h.$)(k().header,e),children:[(0,t.jsx)(r(),{href:"/",className:k()["logo-container"],children:(0,t.jsx)(m(),{alt:"Solana Foundation",src:u,height:40,width:250,loading:"eager"})}),(0,t.jsxs)("nav",{children:[(0,t.jsxs)(o.A,{className:k()["mobile-menu-wrapper"],children:[(0,t.jsx)(o.A.Toggle,{bsPrefix:"sol-dropdown-toggle",childBsPrefix:"sol-btn",className:k()["mobile-menu-toggle"],id:"button-nav-menu",children:"☰"}),(0,t.jsxs)(o.A.Menu,{as:"ul",className:`${k()["main-menu"]} ${k()["desktop-menu"]}`,align:"end",renderOnMount:!0,children:[f.map(({path:e,key:s,subLinks:i})=>(0,t.jsxs)(n.Fragment,{children:[(0,t.jsx)(o.A.Item,{as:"li",className:k()["mobile-menu-item"],children:(0,t.jsx)(v,{href:`/${e}`,activeClassName:k().active,children:a(`navbar.${s}`)})}),i&&(0,t.jsx)("ul",{className:k()["mobile-submenu"],children:i.map(e=>(0,t.jsx)(o.A.Item,{as:"li",children:(0,t.jsx)(v,{href:`/${e.path}`,activeClassName:k().active,children:a(`navbar.${e.key}`)})},e.key))})]},s)),(0,t.jsx)(o.A.Item,{as:"li",children:(0,t.jsx)(g,{setTheme:l,style:{fontSize:"2em"},id:"mobile"})})]})]}),(0,t.jsxs)("ul",{className:`${k()["main-menu"]} ${k()["desktop-menu"]}`,children:[f.map(({path:e,key:s,subLinks:n})=>(0,t.jsxs)("li",{onMouseEnter:()=>!!n&&p(!0),onMouseLeave:()=>!!n&&p(!1),children:[(0,t.jsx)(v,{href:`/${e}`,activeClassName:k().active,children:a(`navbar.${s}`)}),n&&(0,t.jsx)("ul",{className:`${k()["desktop-submenu"]} ${_?k()["desktop-submenu--open"]:""}`,children:n.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(v,{href:`/${e.path}`,activeClassName:k().active,children:a(`navbar.${e.key}`)})},e.key))})]},s)),(0,t.jsx)("li",{className:k()["theme-switch"],children:(0,t.jsx)(g,{setTheme:l,style:{fontSize:"1.5em",marginTop:"-0.125em"},id:"desktop"})})]})]})]})}},91280:e=>{e.exports={header:"Header_header__NnOSM","main-menu":"Header_main-menu__Kw2wq","form-switch":"Header_form-switch__kKKni",active:"Header_active__Ou1eJ","mobile-menu-wrapper":"Header_mobile-menu-wrapper__Lu2u_","mobile-menu-toggle":"Header_mobile-menu-toggle__qPN_9","mobile-menu":"Header_mobile-menu__3_NOM","mobile-menu-item":"Header_mobile-menu-item__G7nU1","mobile-submenu":"Header_mobile-submenu__NZl7w","desktop-menu":"Header_desktop-menu__tmnoR","desktop-submenu":"Header_desktop-submenu__3baMh","desktop-submenu--open":"Header_desktop-submenu--open__uuZuX","theme-switch":"Header_theme-switch__i56yd","logo-container":"Header_logo-container__LJ5rj",letters:"Header_letters__v0wqa"}}}]);

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.