1import{r as d,Z as m,A as g,j as t,C as x,aJ as r,T as u,ad as f,g as h,Q as y,W as j,V as b}from"./index-B_8ZUqKE.js";import{M as k}from"./index-BE6iqqml.js";import{d as v}from"./LockOpenRounded-CGUH96NS.js";import"./index-Gav6JjkD.js";import"./KeyboardArrowDownRounded-LyaaV3J9.js";import"./Stack-C6LGL1mZ.js";import"./Create-DaZ4Qd76.js";import"./MoreMenuIcon-DovH7euf.js";import"./BurgerMenu-D_jhLzYg.js";import"./Close-DjnUZHa-.js";import"./KeyboardArrowRight-BsJvH_7T.js";import"./index-CghLJ044.js";import"./ExternalButtonLink-BPHGqPHy.js";import"./dark-mode-fAU1DFao.js";import"./Brightness7-CjQ7iZLS.js";const L=j(e=>({root:{position:"absolute",top:0,left:0,right:0,zIndex:1,"& .header-30":{"& .logo-holder":{"& img":{maxHeight:"40px",padding:e.spacing(0,4)}},"& nav":{"& ul":{"& li":{display:"inline-block","& a":{padding:e.spacing("25.34px",4),display:"block",fontWeight:e.typography.fontWeightMedium,color:e.palette.text.formLabelColor,"&.active":{color:e.palette.text.primary,fontWeight:e.typography.fontWeightMedium,padding:e.spacing("25.34px",4),display:"block"}},"& .login-button":{padding:e.spacing("6px",2),minWidth:"120px",display:"inline-flex",justifyContent:"center",alignItems:"center",color:"#fff",borderRadius:e.shape.borderRadius7}}}}},[e.breakpoints.down("lg")]:{display:"none"}}})),A=()=>{const{menu:e,profile:o}=d.useContext(m),p=L(),s=g();window.onscroll=function(){c()};let i="";function c(){let n=`${p.root}`;if(document.body.scrollTop>90||document.documentElement.scrollTop>90){i=`{ 2 position: fixed !important; 3 background: ${s.palette.mode==="light"?"rgba(255, 255, 255, .8)":s.palette.background.cardBgColor}!important; 4 z-index: 9 !important; 5 top: 0; 6 left: 0 !important; 7 right: 0 !important; 8 animation: slideIn 2s; 9 transition: transform 1s ease-in-out 0s; 10 animation-timing-function: ease-out; 11 animation-duration: .7s; 12 backdrop-filter: blur(4px); 13 }`;let a=`@keyframes slideIn { 14 0% { 15 opacity: 0; 16 top: -30px; 17 } 18 100% { 19 opacity: 1; 20 top: 0; 21 } 22 }`;document.getElementById("nav-style").innerHTML="."+n+i+a}else i=`{ 23 }`,document.getElementById("nav-style").innerHTML="."+n+i}return t.jsxs(t.Fragment,{children:[t.jsx(k,{}),t.jsx("header",{className:p.root,children:t.jsxs(x,{className:"header-30",sx:{display:"flex",alignItems:"center",justifyContent:"space-between"},children:[t.jsx("nav",{children:t.jsxs("ul",{children:[t.jsx("li",{children:t.jsx(r,{to:"/",className:({isActive:n})=>n?"active":"",children:"Home"})}),e.map((n,a)=>
23{if(!(a>1))return t.jsx("li",{children:t.jsx(r,{to:`/${n.slug}`,className:({isActive:l})=>l?"active":"",children:n.name})},n.id)})]})}),t.jsx(u,{component:"div",className:"logo-holder",children:t.jsx(f,{to:"/",children:t.jsx("img",{src:h(s.palette.mode==="light"?o.logo:o.whiteLogo,b),alt:o.name})})}),t.jsx("nav",{children:t.jsxs("ul",{children:[e.slice(2).map((n,a)=>t.jsx("li",{children:t.jsx(r,{to:`/${n.slug}`,className:({isActive:l})=>l?"active":"",children:n.name})},n.id)),o.onlineApplicationUrl?t.jsx("li",{style:{paddingLeft:4},children:t.jsxs(y,{component:"a",href:o.onlineApplicationUrl,target:"_blank",variant:"contained",className:"login-button",children:[t.jsx(v,{sx:{mr:1,fontSize:"22px"}}),"Login"]})}):null]})})]})})]})};export{A as default};
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.