PageSourceSearch

https://solana.org/_next/static/chunks/pages/grants-funding-4401609b9921412d.js

js solana.org collected 2026-09-24 10:19:27 UTC 11,448 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[593],{10691:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n=r(6029),s=r(55729),i=r(22754),o=r.n(i),l=r(82225);let a=(e,t)=>e.map(({id:e,header:r,children:s,collapse:i})=>[r?(0,n.jsx)("li",{className:((...e)=>e.filter(e=>e).join(" "))(e===t&&"current"),children:(0,n.jsx)("a",{href:`#${e}`,children:r})},e):void 0,s&&!i?(0,n.jsx)("ul",{children:a(s,t)},`${e}-children`):void 0]),c=({title:e,sections:t,children:r,backToTop:i=!0})=>{let[c,d]=(0,s.useState)(),h=(0,s.useRef)(),p=(0,s.useRef)({});(0,s.useEffect)(()=>{let e=function e(t){let r=[];for(let n of t)n.id&&r.push(n.id),n.children&&!n.collapse&&(r=r.concat(e(n.children)));return r}(t),r=new Map;h.current=new IntersectionObserver(e=>{for(let t of e)t.isIntersecting?r.set(t.target,!0):r.delete(t.target)});let n=document.querySelector(`.${o()["toc-main-content"]}`);(n?Array.from(n.querySelectorAll("[id]")).filter(t=>e.includes(t.id)):[]).forEach(e=>{h.current?.observe(e)});let s=()=>{(()=>{let t,r,n=document.querySelector(`.${o()["toc-main-content"]}`),s=n?Array.from(n.querySelectorAll("[id]")).filter(t=>e.includes(t.id)):[];for(let e of s){let n=e.getBoundingClientRect();if(n.top<=100){let s=Math.abs(n.top);(void 0===r||s<r)&&(t=e,r=s)}}!t&&s.length>0&&(t=s[0]),d(t?.id)})()};return document.addEventListener("scroll",s,{passive:!0}),s(),()=>{h.current?.disconnect(),document.removeEventListener("scroll",s)}},[t]);let u=e=>s.Children.map(e,e=>s.isValidElement(e)&&e.props&&e.props.id&&"string"==typeof e.type?s.cloneElement(e,{ref:t=>{p.current[e.props.id]=t}}):s.isValidElement(e)&&e.props&&e.props.children?s.cloneElement(e,void 0,u(e.props.children)):e);return(0,n.jsxs)("div",{className:o()["toc-wrapper"],children:[(0,n.jsxs)("aside",{className:o()["toc-sidebar"],children:[e&&(0,n.jsx)("h3",{children:e}),(0,n.jsx)("ul",{children:a(t,c)})]}),(0,n.jsx)("div",{className:o()["toc-main-content"],children:u(r)}),i&&(0,n.jsx)(l.A,{stickyToParent:!0,className:o()["back-to-top"]})]})}},21740:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/grants-funding",function(){return r(38394)}])},22754:e=>{e.exports={"toc-wrapper":"toc_toc-wrapper__zfeLp","toc-sidebar":"toc_toc-sidebar__lZhoh",current:"toc_current__KuCAv","toc-main-content":"toc_toc-main-content__yvZnR","back-to-top":"toc_back-to-top__G4RUF"}},32009:(e,t,r)=>{"use strict";r.d(t,{j:()=>a});var n=r(6029),s=r(81590),i=r(55729);let o=e=>{if(Array.isArray(e))return e.map(e=>o(e));if(!i.isValidElement(e))return e;let{i18nIsDynamicList:t,children:r,...n}=e.props,s=void 0===r?r:o(r);return i.cloneElement(e,n,s)},l=e=>(0,n.jsx)(({i18nIsDynamicList:t,...r})=>{let n=o(r.children);return i.createElement(e,r,n)},{}),a={b:l("b"),p:l("p"),div:l("div"),h1:l("h1"),h2:l("h2"),h3:l("h3"),h4:l("h4"),a:l("a"),ul:l("ul"),ol:l("ol"),li:l("li"),code:l("code"),pre:l("pre"),span:l("span"),br:l("br"),em:l("em"),strong:l("strong"),u:l("u"),Link:(0,n.jsx)(s.A,{}),LessThan:(0,n.jsx)(n.Fragment,{children:"<"}),GreaterThan:(0,n.jsx)(n.Fragment,{children:">"}),table:l("table"),thead:l("thead"),tbody:l("tbody"),tr:l("tr"),th:l("th"),td:l("td")}},37302:e=>{e.exports={"main-override":"grants_main-override__VZupG",hero:"grants_hero__9s3fP","hero-subtitle":"grants_hero-subtitle__QYeap","hero-image":"grants_hero-image__pjWCq",animate:"grants_animate__71bxZ",show:"grants_show__TaK41","hero-buttons":"grants_hero-buttons__67ulR","hero-figures":"grants_hero-figures__F6JGk","slide-in":"grants_slide-in__4101H","body-wrapper":"grants_body-wrapper___Wt3U",hide:"grants_hide__P25fl",collapsible:"grants_collapsible___h_OC","collapse-item":"grants_collapse-item__fjmG8","collapse-icon":"grants_collapse-icon__qogmU","collapse-body":"grants_collapse-body___FYem",open:"grants_open__6T_gU","collapse-header":"grants_collapse-header__TvApH","body-section":"grants_body-section__IhY3H","body-section-condensed":"grants_body-section-condensed__mPpnQ","body-card-section":"grants_body-card-section__ExTia","super-team-list":"grants_super-team-list__Po_Fd","monke-list":"grants_monke-list__pHwr3","island-list":"grants_island-list__mZiI9",footer:"grants_footer__N_2oP"}},38394:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__N_SSG:()=>k,default:()=>E});var n=r(6029),s=r(55729),i=r(95669),o=r.n(i),l=r(8588),a=r.n(l),c=r(37302),d=r.n(c),h=r(98802),p=r(32009),u=r(81590),m=r(45379),_=r(1542);
1function g({width:e="12",height:t="10",...r}){return(0,n.jsx)("svg",{...r,width:e,height:t,viewBox:"0 0 12 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M0.981079 4.775C0.649708 4.775 0.381079 5.04363 0.381079 5.375C0.381079 5.70637 0.649708 5.975 0.981079 5.975V4.775ZM11.4383 5.79926C11.6726 5.56495 11.6726 5.18505 11.4383 4.95074L7.61992 1.13236C7.38561 0.898045 7.00571 0.898045 6.77139 1.13236C6.53708 1.36667 6.53708 1.74657 6.77139 1.98089L10.1655 5.375L6.77139 8.76911C6.53708 9.00343 6.53708 9.38333 6.77139 9.61764C7.00571 9.85196 7.38561 9.85196 7.61992 9.61764L11.4383 5.79926ZM0.981079 5.975H11.014V4.775H0.981079V5.975Z",fill:"white"})})}var f=r(10691);let j=(...e)=>e.filter(e=>e).join(" "),b=["h2","h3","h4","h5","h6"],x=({id:e,header:t,body:r,collapse:i,children:o},l=b,a,c=!1)=>{let[h,...p]=l,u=p.length>0?p:["h6"],m=(o??[]).map(e=>x(e,u,void 0,c||i)),_=c||!t?void 0:(0,s.useRef)(null);return(0,n.jsxs)("section",{ref:_,id:e,className:d()[["ecosystem_grants_programs"].includes(e)?"body-card-section":c?"body-section-condensed":"body-section"],children:[(0,n.jsx)(h??"h6",{children:t}),(r??[]).map((e,t)=>(0,n.jsx)(s.Fragment,{children:(0,n.jsx)(y,{children:e})},t)),m]},e)},v=e=>{let t=e.href??"";return(0,n.jsx)(u.A,{...e,...t.startsWith("/")||t.includes("//")?{target:"_blank",rel:"noopener noreferrer"}:{}})},w={...p.j,Link:(0,n.jsx)(v,{}),Collapsible:(0,n.jsx)(({children:e})=>(0,n.jsx)("ul",{className:d().collapsible,children:e}),{}),CI:(0,n.jsx)(({id:e,title:t,children:r})=>
1{let[i,o]=(0,s.useState)(!1),[l,a]=(0,s.useState)(0),c=(0,s.useRef)(null);return(0,s.useEffect)(()=>{let e,t=()=>{let e=c.current;e&&a(e.getBoundingClientRect().height)},r=()=>{e&&clearTimeout(e),e=setTimeout(t,50)};return window.addEventListener("resize",r,{passive:!0}),t(),()=>{e&&clearTimeout(e),window.removeEventListener("resize",r)}},[c]),(0,n.jsxs)("li",{className:j(d()["collapse-item"],i&&d().open),children:[(0,n.jsxs)("span",{className:d()["collapse-icon"],children:[(0,n.jsx)("input",{type:"checkbox",id:e,onChange:e=>o(e.target.checked)}),(0,n.jsxs)("label",{htmlFor:e,children:[(0,n.jsx)(m.A,{}),(0,n.jsx)(_.A,{className:d().open})]})]}),(0,n.jsx)("label",{htmlFor:e,className:d()["collapse-header"],children:t}),(0,n.jsx)("div",{className:d()["collapse-body"],style:{height:`${i?l:0}px`},children:(0,n.jsx)("p",{ref:c,children:r})})]})},{}),SuperteamLi:(0,n.jsx)(({i18nIsDynamicList:e,...t})=>(0,n.jsx)("li",{className:d()["super-team-list"],...t}),{}),SuperteamImage:(0,n.jsx)(({i18nIsDynamicList:e,...t})=>(0,n.jsx)(a(),{src:"/grants/superteam.svg",alt:"Superteam",width:284,height:268,...t}),{}),LinkArrow:(0,n.jsx)(({i18nIsDynamicList:e})=>(0,n.jsx)(g,{}),{})},y=e=>(0,n.jsx)(h.x6,{components:w,...e});var k=!0;let E=()=>{let{t:e}=(0,h.Bd)("common"),t=(0,s.useMemo)(()=>e("grants.body",{returnObjects:!0}),[e]),r=e("grants.hero.figures",{returnObjects:!0}),i=e("grants.hero.buttons",{returnObjects:!0}),[l,c]=(0,s.useState)(!1),[p,u]=(0,s.useState)(!1),m=(0,s.useRef)(null);return(0,s.useEffect)(()=>{let e=e=>{let t=location.hash.startsWith("#")?location.hash.substring(1):"";if(!t)return;let r=document.getElementById(t);r&&(e.preventDefault(),r.scrollIntoView({behavior:"smooth",block:"center",inline:"center"}))},t=()=>{let e=m.current;if(!e)return;let t=e.getBoundingClientRect();c(window.scrollY<100&&t.top>.5*window.innerHeight),window&&requestAnimationFrame(()=>u(!0))};return window.addEventListener("hashchange",e),document.addEventListener("scroll",t,{passive:!0}),t(),()=>{window.removeEventListener("hashchange",e),document.removeEventListener("scroll",t)}},[]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(o(),{children:[(0,n.jsx)("title",{children:`${e("grants.title")} | ${e("main.title")}`}),(0,n.jsx)("meta",{name:"description",content:e("grants.metaDescription")})]}),(0,n.jsxs)("header",{className:d().hero,children:[(0,n.jsx)("h1",{children:e("grants.hero.title")}),(0,n.jsx)("p",{className:d()["hero-subtitle"],children:(0,n.jsx)(y,{i18nKey:"grants.hero.subtitle"})}),(0,n.jsx)("div",{className:d()["hero-buttons"],children:i.map(({text:e,href:t},r)=>(0,n.jsx)(v,{href:t,className:"button primary with-arrow",children:e},r))}),(0,n.jsx)("div",{className:d()["hero-figures"],children:r.map(({number:e,caption:t},r)=>(0,n.jsxs)("li",{children:[(0,n.jsx)("strong",{children:e}),(0,n.jsx)("span",{children:t})]},r))}),(0,n.jsx)("div",{className:j(d()["hero-image"],l&&d().show,p&&d().animate),children:(0,n.jsx)(a(),{src:"/foundation/grants-rings.png",alt:e("grants.imageAlt"),width:694,height:773,sizes:"50vw",loading:"eager"})})]}),(0,n.jsx)("section",{ref:m,className:j(d()["body-wrapper"],l&&d().hide,p&&d().animate),children:(0,n.jsx)(f.A,{title:e("grants.tableOfContents"),sections:t,children:t.map(e=>x(e,b,void 0))})}),(0,n.jsx)("footer",{className:d().footer,children:(0,n.jsx)("p",{children:(0,n.jsx)("em",{children:(0,n.jsx)(y,{i18nKey:"grants.footer"})})})})]})}},45379:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(55729),s=r(56121),i=r.n(s);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var l=(0,n.forwardRef)(function(e,t){var r=e.color,s=e.size,i=void 0===s?24:s,l=function(e,t){if(null==e)return{};var r,n,s=function(e,t){if(null==e)return{};var r,n,s={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(s[r]=e[r]);return s}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(s[r]=e[r])}return s}(e,["color","size"]);return n.createElement("svg",o({ref:t,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:void 0===r?"currentColor":r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},l),n.createElement("polyline",{points:"6 9 12 15 18 9"}))});
1l.propTypes={color:i().string,size:i().oneOfType([i().string,i().number])},l.displayName="ChevronDown";let a=l},60003:e=>{e.exports={"back-to-top":"back-to-top_back-to-top__4cwY_",hidden:"back-to-top_hidden__vE9cS",sticky:"back-to-top_sticky__YHNNM"}},81590:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(6029),s=r(82203),i=r.n(s);r(55729);let o=({href:e,children:t="",i18nIsDynamicList:r,...s})=>(0,n.jsx)(i(),{href:e||"",...s,children:t})},82225:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var n=r(6029),s=r(55729),i=r(1542),o=r(60003),l=r.n(o),a=r(50212),c=r(18128);let d=({stickyToParent:e=!1,className:t=""})=>{let[r,o]=(0,s.useState)(!1),d=(0,s.useCallback)((0,c.A)(()=>{o(window.scrollY>500)},100),[]);return(0,s.useEffect)(()=>(window.addEventListener("scroll",d,{passive:!0}),d(),()=>{window.removeEventListener("scroll",d),d.cancel()}),[d]),(0,n.jsx)("button",{className:(0,a.A)(l()["back-to-top"],e&&l().sticky,!r&&l().hidden,t),onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),"aria-label":"Back to top",children:(0,n.jsx)(i.A,{})})}}},e=>{e.O(0,[8587,636,6593,8792],()=>e(e.s=21740)),_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.