PageSourceSearch

https://ait-lab.vercel.app/_next/static/chunks/app/layout-e252f694cc3a6539.js

js ait-lab.vercel.app collected 2026-10-03 06:14:23 UTC 9,660 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7177],{600:(e,t,s)=>{Promise.resolve().then(s.t.bind(s,2619,23)),Promise.resolve().then(s.bind(s,1495)),Promise.resolve().then(s.t.bind(s,3673,23)),Promise.resolve().then(s.t.bind(s,8963,23)),Promise.resolve().then(s.bind(s,5030)),Promise.resolve().then(s.bind(s,1458))},1458:(e,t,s)=>{"use strict";s.d(t,{ThemeProvider:()=>l});var r=s(5155),a=s(5379);function l(e){let{children:t,...s}=e;return(0,r.jsx)(a.N,{...s,children:t})}},3673:()=>{},3998:(e,t,s)=>{"use strict";s.d(t,{$:()=>d,r:()=>o});var r=s(5155),a=s(2115),l=s(7129),i=s(3101),n=s(4269);let o=(0,i.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),d=a.forwardRef((e,t)=>{let{className:s,variant:a,size:i,asChild:d=!1,...c}=e,h=d?l.DX:"button";return(0,r.jsx)(h,{className:(0,n.cn)(o({variant:a,size:i,className:s})),ref:t,...c})});d.displayName="Button"},4269:(e,t,s)=>{"use strict";s.d(t,{cn:()=>l});var r=s(2821),a=s(5889);function l(){for(var e=arguments.length,t=Array(e),s=0;s<e;s++)t[s]=arguments[s];return(0,a.QP)((0,r.$)(t))}},5030:(e,t,s)=>{"use strict";s.d(t,{default:()=>C});var r=s(5155),a=s(2619),l=s.n(a),i=s(63),n=s(2115),o=s(5379),d=s(3998),c=s(5989),h=s(2784);function u(){let{theme:e,setTheme:t}=(0,o.D)(),[s,a]=(0,n.useState)(!1);return((0,n.useEffect)(()=>{a(!0)},[]),s)?(0,r.jsxs)(d.$,{variant:"ghost",size:"icon",onClick:()=>t("dark"===e?"light":"dark"),"aria-label":"Toggle theme",className:"glass-card w-9 h-9 rounded-full",children:[(0,r.jsx)(c.A,{className:"h-4 w-4 rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0"}),(0,r.jsx)(h.A,{className:"absolute h-4 w-4 rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100"})]}):null}var m=s(9007),f=s(2241),x=s(705),b=s(3101),g=s(6615),p=s(4269);let v=x.bL,w=x.l9,j=x.bm,N=x.ZL,y=n.forwardRef((e,t)=>{let{className:s,...a}=e;return(0,r.jsx)(x.hJ,{className:(0,p.cn)("fixed inset-0 z-50 bg-black/80  data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",s),...a,ref:t})});y.displayName=x.hJ.displayName;let k=(0,b.F)("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),E=n.forwardRef((e,t)=>{let{side:s="right",className:a,children:l,...i}=e;return(0,r.jsxs)(N,{children:[(0,r.jsx)(y,{}),(0,r.jsxs)(x.UC,{ref:t,className:(0,p.cn)(k({side:s}),a),...i,children:[(0,r.jsxs)(x.bm,{className:"absolute right-4 top-4 roun
1ded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[(0,r.jsx)(g.A,{className:"h-4 w-4"}),(0,r.jsx)("span",{className:"sr-only",children:"Close"})]}),l]})]})});E.displayName=x.UC.displayName,n.forwardRef((e,t)=>{let{className:s,...a}=e;return(0,r.jsx)(x.hE,{ref:t,className:(0,p.cn)("text-lg font-semibold text-foreground",s),...a})}).displayName=x.hE.displayName,n.forwardRef((e,t)=>{let{className:s,...a}=e;return(0,r.jsx)(x.VY,{ref:t,className:(0,p.cn)("text-sm text-muted-foreground",s),...a})}).displayName=x.VY.displayName;var P=s(5239);let _=[{title:"Home",href:"/"},{title:"Research",children:[{title:"Projects & Grants",href:"/projects"},{title:"Publications",href:"/publications"},{title:"Paper Story",href:"/story"},{title:"Theses & Dissertations",href:"/theses"}]},{title:"Resources",children:[{title:"Tools",href:"/tools"},{title:"Courses",href:"/courses"}]},{title:"Team",href:"/team"},{title:"News",href:"/news"},{title:"Annual Report",children:[{title:"2025",href:"/annual_report/2025.pdf"}]}];function C(){let[e,t]=(0,n.useState)(!1),[s,a]=(0,n.useState)([]),[o,c]=(0,n.useState)(null),[h,x]=(0,n.useState)(null),b=(0,i.usePathname)();(0,n.useEffect)(()=>{let e=()=>{t(window.scrollY>10)};return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[]),(0,n.useEffect)(()=>()=>{h&&clearTimeout(h)},[h]);let g=e=>{h&&(clearTimeout(h),x(null)),c(e)},N=()=>{x(setTimeout(()=>{c(null)},300))},y=e=>!!e.href&&b===e.href||!!e.children&&e.children.some(e=>b===e.href);return(0,r.jsx)("header",{className:(0,p.cn)("fixed top-0 z-50 w-full transition-all duration-300",e?"glass-nav shadow-md":"bg-transparent"),children:(0,r.jsxs)("div",{className:"container flex h-16 items-center justify-between",children:[(0,r.jsx)("div",{className:"flex items-center gap-2",children:(0,r.jsx)(l(),{href:"/",className:"flex items-center gap-2",children:(0,r.jsx)("span",{className:"flex items-center gap-2 font-bold text-xl gradient-text",children:(0,r.jsx)(P.default,{height:50,width:150,src:"/images/ait_blue_logo.png",alt:"AIT Lab Logo"})})})}),(0,r.jsxs)("nav",{className:"hidden lg:flex items-center gap-2",children:[_.map(t=>(t=>{if(t.children){let s=y(t);return(0,r.jsxs)("div",{className:"relative",onMouseEnter:()=>g(t.title),onMouseLeave:N,children:[(0,r.jsxs)("button",{className:(0,p.cn)("flex items-center gap-1 h-9 px-4 py-2 text-sm font-medium transition-colors",s?"text-blue-500":"","/"!==b||e?"hover:text-blue-500":"text-white hover:text-white"),children:[t.title,(0,r.jsx)(m.A,{className:(0,p.cn)("h-3 w-3 transition-transform duration-200",o===t.title?"rotate-180":"")})]}),o===t.title&&(0,r.jsx)("div",{className:"absolute top-full left-0 mt-2 w-max min-w-32 bg-white dark:bg-gray-900 border border-gray-200 dark:border-gray-700 rounded-md shadow-lg z-50 py-1",onMouseEnter:()=>g(t.title),onMouseLeave:N,children:t.children.map(e=>(0,r.jsxs)(l(),{href:e.href,className:"group block px-4 py-2 text-sm text-gray-700 dark:text-gray-200 hover:text-blue-600 dark:hover:text-blue-400 transition-colors relative whitespace-nowrap w-fit",children:[e.title,(0,r.jsx)("span",{className:(0,p.cn)("absolute bottom-1 left-4 right-4 h-0.5 bg-blue-500 transition-all duration-300",b===e.href?"w-[calc(100%-2rem)]":"w-0 group-hover:w-[calc(100%-2rem)]")})]},e.title))})]},t.title)}let s=b===t.href;return(0,r.jsxs)(l(),{href:t.href,className:(0,p.cn)("relative group h-9 px-4 py-2 text-sm font-medium transition-colors flex items-center",s?"text-blue-500":"","/"!==b||e?"hover:text-blue-500":"text-white hover:text-white"),children:[t.title,(0,r.jsx)("span",{className:(0,p.cn)("absolute -bottom-0.5 left-4 right-4 h-0.5 transition-all duration-300",s?"w-[calc(100%-2rem)]":"w-0 group-hover:w-[calc(100%-2rem)]","/"!==b||e?"bg-blue-500":"bg-white")})]},t.title)})(t)),(0,r.jsx)("div",{className:"ml-4",children:(0,r.jsx)(u,{})})]}),(0,r.jsxs)("div",{className:"flex items-center gap-2 lg:hidden",children:[(0,r.jsx)(u,{}),(0,r.jsxs)(v,{children:[(0,r.jsx)(w,{asChild:!0,children:(0,r.jsx)(d.$,{variant:"ghost",size:"icon","aria-label":"Toggle menu",className:"relative",children:(0,r.jsx)(f.A,{className:"h-5 w-5"})})}),(0,r.jsx)(E,{side:"right",className:"w-[240px] sm:w-[300px]",children:(0,r.jsx)("nav",{className:"flex flex-col space-y-4 mt
1-8",children:_.map(e=>(e=>{if(e.children){let t=s.includes(e.title),i=y(e);return(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsxs)("button",{onClick:()=>{var t;return t=e.title,void a(e=>e.includes(t)?e.filter(e=>e!==t):[...e,t])},className:(0,p.cn)("w-full text-left text-sm font-medium transition-colors px-2 py-1 rounded-md hover:bg-accent flex items-center justify-between",i?"text-blue-500 bg-blue-500/10":"hover:text-blue-500"),children:[e.title,(0,r.jsx)(m.A,{className:(0,p.cn)("h-3 w-3 transition-transform",t?"rotate-180":"")})]}),t&&(0,r.jsx)("div",{className:"ml-4 space-y-2",children:e.children.map(e=>(0,r.jsx)(j,{asChild:!0,children:(0,r.jsx)(l(),{href:e.href,className:(0,p.cn)("block text-sm transition-colors px-2 py-1 rounded-md hover:bg-accent",b===e.href?"text-blue-500 bg-blue-500/10":"hover:text-blue-500"),children:e.title})},e.title))})]},e.title)}let t=b===e.href;return(0,r.jsx)(j,{asChild:!0,children:(0,r.jsx)(l(),{href:e.href,className:(0,p.cn)("text-sm font-medium transition-colors px-2 py-1 rounded-md hover:bg-accent",t?"text-blue-500 bg-blue-500/10":"hover:text-blue-500"),children:e.title})},e.title)})(e))})})]})]})]})})}}},e=>{e.O(0,[3723,2978,557,9118,2619,1356,4497,8823,8441,1255,7358],()=>e(e.s=600)),_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.