1import{b as u,j as e,L as y,s as g,af as v,ag as w,c as S,r as k}from"./index-SF1vOKJG.js";const L=["/","/about","/programs","/projects","/impact","/blog","/events","/contact","/get-involved"],b=a=>a!==void 0&&L.includes(a);function N(a){switch(a){case"innovation-academy":case"elevate-institute":case"showcase-schools":case"nextgen":return`/programs/${a}`;case"ai-skilling":case"canva-education":case"code-clubs":case"experience-ai":return`/projects/${a}`;case"reports":return"/impact";case"publications":return"/impact/publications";case"get-involved":return"/get-involved";case"events":case"partner":case"careers":case"donate":return`/get-involved/${a}`;case"privacy-policy":case"data-protection":case"safeguarding":case"responsible-ai":return`/policies/${a}`;case"media-press":case"success-stories":return"/about";default:return"/contact"}}function f(a){if(b(a.to))return{to:a.to};if(a.slug){const t=N(a.slug),o=t.includes("/programs/");return{to:t,target:o?"_blank":void 0}}return{to:"/contact"}}function i({to:a,className:t,activeClassName:o,onClick:n,target:l,children:c}){return e.jsx(y,{to:a,className:t,activeProps:o?{className:o}:void 0,onClick:n,target:l,rel:l==="_blank"?"noreferrer":void 0,children:c})}const{brand:p,contact:d,footer:m,socialLinks:E}=g,j=g.nav.filter(a=>a.label!=="Home").map(a=>({label:a.label,to:b(a.to)?a.to:N("get-involved"),items:(a.items??[]).map(t=>({label:t.label,...f(t)}))})),h=g.globalCta.cta,$=m.columns.map(a=>({h:a.title,l:a.links.map(t=>({label:t.label,...f(t)}))})),C=m.legalLinks.map(a=>({label:a.label,...f(a)}));function O({children:a,heroUnderlay:t=!1}){const[o,n]=u.useState(!1),[l,c]=u.useState(!1);u.useEffect(()=>{const s=()=>n(window.scrollY>24);return s(),window.addEventListener("scroll",s,{passive:!0}),()=>window.removeEventListener("scroll",s)},[]);const x=t&&!o&&!l;return e.jsxs("div",{className:"min-h-screen overflow-x-clip bg-background text-foreground",children:[e.jsx("a",{href:"#main-content",className:"sr-only focus:not-sr-only focus:fixed focus:top-2 focus:left-2 focus:z-[60] focus:rounded-full focus:bg-secondary focus:px-5 focus:py-2.5 focus:text-secondary-foreground focus:text-sm focus:font-semibold",children:"Skip to content"}),e.jsxs("header",{style:{viewTransitionName:"site-header"},className:`fixed top-0 inset-x-0 z-50 transition-all ${o||l?"bg-background border-b border-border":"bg-transparent"}`,children:[e.jsxs("div",{className:"mx-auto max-w-7xl px-6 lg:px-10 h-20 flex items-center justify-between gap-6",children:[e.jsx(y,{to:"/",className:"flex items-center","aria-label":`${p.name} â home`,children:e.jsx("img",{src:x?v:w,alt:p.name,className:"h-12 w-auto sm:h-14"})}),e.jsx("nav",{className:"hidden lg:flex items-center gap-6 xl:gap-8 text-sm font-medium ml-auto","aria-label":"Main",children:j.map(s=>e.jsxs("div",{className:"relative group",children:[e.jsxs(i,{to:s.to,className:`inline-flex items-center gap-1 py-6 whitespace-nowrap transition-colors ${x?"text-white hover:text-white/75":"text-foreground hover:text-secondary-deep"}`,activeClassName:x?"text-white":"text-secondary-deep",children:[s.label,s.items.length>0&&e.jsx("span",{"aria-hidden":!0,className:"text-[0.6rem] translate-y-px",children:"â¾"})]}),s.items.length>0&&e.jsx("div",{className:"invisible opacity-0 translate-y-1 group-hover:visible group-hover:opacity-100 group-hover:translate-y-0 group-focus-within:visible group-focus-within:opacity-100 group-focus-within:translate-y-0 transition-all absolute left-1/2 -translate-x-1/2 top-full pt-0 min-w-64",children:e.jsx("ul",{className:"rounded-lg bg-card border border-border shadow-lg p-2",children:s.items.map(r=>e.jsx("li",{children:e.jsx(i,{to:r.to,target:r.target,className:"block rounded-md px-4 py-2.5 text-foreground hover:bg-muted hover:text-secondary-deep transition-colors",children:r.label})},r.label))})})]},s.label))}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsxs(i,{to:b(h.to)?h.to:"/contact",className:"hidden sm:inline-flex items-center gap-2 rounded-lg bg-secondary text-secondary-foreground px-5 py-2.5 text-sm font-semibold whitespace-nowrap hover:-translate-y-0.5 transition-transform",children:[h.label," ",e.jsx("span",{"aria-hidden":!0,
1children:"â"})]}),e.jsx("button",{type:"button",className:`lg:hidden inline-flex h-11 w-11 items-center justify-center rounded-full border transition-colors ${x?"border-white/40 bg-white/10 text-white":"border-border bg-card text-foreground"}`,"aria-expanded":l,"aria-controls":"mobile-nav","aria-label":l?"Close menu":"Open menu",onClick:()=>c(s=>!s),children:e.jsx("span",{"aria-hidden":!0,className:"text-lg leading-none",children:l?"â":"â°"})})]})]}),l&&e.jsx("nav",{id:"mobile-nav","aria-label":"Mobile",className:"lg:hidden border-t border-border bg-background max-h-[calc(100vh-5rem)] overflow-y-auto",children:e.jsxs("div",{className:"mx-auto max-w-7xl px-6 py-6 space-y-4",children:[j.map(s=>e.jsxs("div",{children:[e.jsx(i,{to:s.to,className:"block py-2 text-base font-semibold text-foreground",onClick:()=>c(!1),children:s.label}),s.items.length>0&&e.jsx("ul",{className:"mt-1 space-y-1 border-l border-border pl-4",children:s.items.map(r=>e.jsx("li",{children:e.jsx(i,{to:r.to,target:r.target,className:"block py-1.5 text-sm text-muted-foreground hover:text-secondary-deep",onClick:()=>c(!1),children:r.label})},r.label))})]},s.label)),e.jsxs(i,{to:"/contact",className:"inline-flex items-center gap-2 rounded-lg bg-secondary text-secondary-foreground px-6 py-3 text-sm font-semibold",onClick:()=>c(!1),children:[h.label," ",e.jsx("span",{"aria-hidden":!0,children:"â"})]})]})})]}),e.jsx("main",{id:"main-content",className:t?"":"pt-20",children:a}),e.jsx("footer",{className:"text-ink-foreground pt-20 pb-10 bg-[#A01F60]",children:e.jsxs("div",{className:"mx-auto max-w-7xl px-6 lg:px-10",children:[e.jsxs("div",{className:"grid items-start gap-12 lg:grid-cols-12",children:[e.jsxs("div",{className:"lg:col-span-4",children:[e.jsx("div",{className:"flex items-center justify-center gap-3",children:e.jsx("img",{src:v,alt:p.name,className:"h-26 w-auto"})}),e.jsx("p",{className:"mt-6 max-w-sm",children:p.footerLines.join(" ")}),e.jsx("ul",{className:"mt-6 flex flex-wrap gap-3","aria-label":"Social media",children:E.map(s=>e.jsx("li",{children:e.jsx("a",{href:s.href,target:"_blank",rel:"noreferrer",className:"inline-flex items-center rounded-full border border-primary/40 px-4 py-1.5 text-xs font-semibold hover:border-primary hover:text-primary transition-colors",children:s.name})},s.name))})]}),e.jsxs("div",{className:"grid grid-cols-2 items-start gap-8 sm:grid-cols-4 lg:col-span-8",children:[$.map(s=>e.jsxs("div",{children:[e.jsx("div",{className:"text-xs uppercase tracking-[0.2em] text-primary font-bold",children:s.h}),e.jsx("ul",{className:"mt-5 space-y-3 text-sm",children:s.l.map(r=>e.jsx("li",{children:e.jsx(i,{to:r.to,target:r.target,className:"hover:underline",children:r.label})},r.label))})]},s.h)),e.jsxs("div",{children:[e.jsx("div",{className:"text-xs uppercase tracking-[0.2em] text-primary font-bold",children:m.community.title}),e.jsxs("ul",{className:"mt-5 space-y-3 text-sm break-words",children:[e.jsx("li",{children:e.jsx("a",{href:`mailto:${d.email}`,className:"hover:underline",children:d.email})}),e.jsx("li",{children:e.jsx("a",{href:`mailto:${d.hrEmail}`,className:"hover:underline",children:d.hrEmail})}),e.jsx("li",{children:d.location}),e.jsx("li",{children:d.reach})]})]})]})]}),e.jsxs("div",{className:"mt-8 pt-8 border-t border-primary/20 flex flex-wrap items-center justify-between gap-4 text-xs",children:[e.jsx("div",{children:m.copyright}),e.jsx("ul",{className:"flex flex-wrap gap-x-5 gap-y-2","aria-label":"Legal",children:C.map(s=>e.jsx("li",{children:e.jsx(i,{to:s.to,target:s.target,className:"hover:underline",children:s.label})},s.label))}),e.jsx("div",{className:"italic text-primary font-semibold",children:m.strapline})]})]})})]})}function T({eyebrow:a,title:t,subtitle:o,image:n,imageAlt:l}){return e.jsx("section",{className:"relative overflow-clip border-b border-border bg-hampton",children:e.jsxs("div",{className:`scroll-fold-away relative mx-auto max-w-7xl px-6 lg:px-10 py-16 sm:py-24 lg:py-32 ${n?"lg:grid lg:grid-cols-12 lg:items-center lg:gap-12":""}`,children:[e.jsxs("div",{className:n?"lg:col-span-7":"",children:[e.jsx("div",{className:"text-xs uppercase tracking-[0.22em] text-secondary-deep font-semibold",children:a}),e.jsx("h1",{className:"reveal-up mt-5 text-4xl sm:text-5xl lg:text-7xl font-black leading-[1.02] text-balance max-w-4xl",children:t}),o&&e.jsx("p",{className:"mt-6 text-lg lg:text-xl text-muted-foreground max-w-2xl",children:o})]}),n&&e.jsx("div",{className:"mt-10 hidden lg:col-span-5 lg:mt-0 lg:block",children:e.jsx("div",{className:"glass-panel glass-sheen relative overflow-hidden rounded-[28px] p-3",children:e.jsx("img",{src:k(n),srcSet:S(n),sizes:"(min-width: 1024px) 40vw, 100vw",alt:l??"",decoding:"async",className:"aspect-4/3 w-full rounded-[20px] object-cover"})})})]})})}export{T as P,O as S};
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.