1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[177],{835:(e,t,s)=>{Promise.resolve().then(s.t.bind(s,2619,23)),Promise.resolve().then(s.t.bind(s,1402,23)),Promise.resolve().then(s.t.bind(s,3673,23)),Promise.resolve().then(s.t.bind(s,5228,23)),Promise.resolve().then(s.t.bind(s,1405,23)),Promise.resolve().then(s.bind(s,5e3)),Promise.resolve().then(s.bind(s,4447)),Promise.resolve().then(s.bind(s,8516)),Promise.resolve().then(s.t.bind(s,6299,23))},3673:()=>{},3998:(e,t,s)=>{"use strict";s.d(t,{$:()=>d});var r=s(5155),a=s(2115),i=s(7129),n=s(3101),o=s(4269);let l=(0,n.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 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 hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),d=a.forwardRef((e,t)=>{let{className:s,variant:a,size:n,asChild:d=!1,...c}=e,u=d?i.DX:"button";return(0,r.jsx)(u,{className:(0,o.cn)(l({variant:a,size:n,className:s})),ref:t,...c})});d.displayName="Button"},4269:(e,t,s)=>{"use strict";s.d(t,{cn:()=>i});var r=s(2821),a=s(5889);function i(){for(var e=arguments.length,t=Array(e),s=0;s<e;s++)t[s]=arguments[s];return(0,a.QP)((0,r.$)(t))}},4447:(e,t,s)=>{"use strict";s.d(t,{Logo:()=>o});var r=s(5155),a=s(2619),i=s.n(a),n=s(4269);let o=e=>{let{isScrolled:t,onClick:s}=e;return(0,r.jsx)(i(),{href:"/",className:"flex items-center","aria-label":"BioSA Biologically-inspired Sensors and Actuators Laboratory",onClick:s,children:(0,r.jsxs)("div",{className:"text-center",children:[(0,r.jsxs)("div",{className:"transition-all duration-300",children:[(0,r.jsx)("span",{className:(0,n.cn)("font-headline italic font-light transition-[font-size] duration-300",t?"text-foreground":"text-white",t?"text-2xl":"text-[30px]"),children:"Bio"}),(0,r.jsx)("span",{className:(0,n.cn)("font-headline font-black italic text-destructive transition-[font-size] duration-300",t?"text-[26px]":"text-[32px]"),children:"SA"})]}),(0,r.jsx)("div",{className:(0,n.cn)("text-center leading-tight text-white/90",t?"hidden":"block"),children:(0,r.jsxs)("div",{className:"font-script text-sm",children:[(0,r.jsx)("p",{children:"Biologically-inspired"}),(0,r.jsx)("p",{children:"Sensors and Actuators Laboratory"})]})})]})})}},5e3:(e,t,s)=>{"use strict";s.d(t,{default:()=>C});var r=s(5155),a=s(2115),i=s(63),n=s(4269),o=s(6615),l=s(109),d=s(2619),c=s.n(d),u=s(5142),f=s(3998);function x(e){let{isOpen:t,onClose:s}=e,[n,d]=(0,a.useState)(""),x=(0,i.useRouter)();return((0,a.useEffect)(()=>{t||d("")},[t]),t)?(0,r.jsxs)("div",{className:"fixed inset-0 z-[100] bg-primary/95 text-primary-foreground backdrop-blur-sm animate-in fade-in-50",role:"dialog","aria-modal":"true","aria-labelledby":"search-overlay-title",children:[(0,r.jsx)("h2",{id:"search-overlay-title",className:"sr-only",children:"Search Site"}),(0,r.jsxs)("div",{className:"container mx-auto flex h-full max-h-[75vh] flex-col",children:[(0,r.jsxs)("header",{className:"flex h-28 flex-shrink-0 items-center",children:[(0,r.jsx)(c(),{href:"/",onClick:s,className:"flex items-center",children:(0,r.jsx)("div",{className:"text-center",children:(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:"font-headline italic font-light text-primary-foreground text-[30px]",children:"Bio"}),(0,r.jsx)("span",{className:"font-headline font-black italic text-destructive text-[32px]",children:"SA"})]})})}),(0,r.jsxs)(f.$,{variant:"ghost",size:"icon",onClick:s,className:"ml-auto h-10 w-10 text-primary-foreground hover:bg-white/10 hover:text-primary-foreground",children:[(0,r.jsx)(o.A,{className:"h-6 w-6"}),(0,r.jsx)("span",{className:"sr-only",children:"Close search"})]})]}),(0,r.jsxs)("div",{className:"mt-8 flex flex-1 flex-col items-center overflow-hidden pb-12",children:[(0,r.jsx)("form",{onSubmit:e=>{e.preventDefault(),n.trim()&&(x.push("/search?q=".concat(encodeURIComponent(n.trim()))),s())},className:"w-full max-w-2xl",children:(0,r.jsxs)("div",{className:"relative w-full flex-shrink-0",children:[(0,r.jsx)(u.p,{autoFocus:!0,t
1ype:"search",value:n,onChange:e=>d(e.target.value),placeholder:"Search News, People, and Publications",className:"w-full border-0 border-b-2 border-destructive bg-transparent h-14 pl-2 pr-10 text-2xl text-primary-foreground placeholder:text-primary-foreground/60 focus-visible:ring-0 focus-visible:ring-offset-0 focus-visible:border-destructive"}),(0,r.jsxs)("button",{type:"submit",className:"absolute right-0 top-1/2 -translate-y-1/2 p-2",children:[(0,r.jsx)(l.A,{className:"h-6 w-6 text-primary-foreground/80"}),(0,r.jsx)("span",{className:"sr-only",children:"Search"})]})]})}),(0,r.jsx)("div",{className:"mt-8 w-full max-w-4xl flex-1",children:(0,r.jsx)("div",{className:"pt-8 text-center text-lg text-primary-foreground/80",children:(0,r.jsx)("p",{children:"Start typing and press Enter to search across the entire site."})})})]})]})]}):null}var m=s(2241),h=s(7283),p=s(3101);let g=h.bL,b=h.l9;h.bm;let v=h.ZL,j=a.forwardRef((e,t)=>{let{className:s,...a}=e;return(0,r.jsx)(h.hJ,{className:(0,n.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})});j.displayName=h.hJ.displayName;let N=(0,p.F)("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{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"}}),y=a.forwardRef((e,t)=>{let{side:s="right",className:a,children:i,...l}=e;return(0,r.jsxs)(v,{children:[(0,r.jsx)(j,{}),(0,r.jsxs)(h.UC,{ref:t,className:(0,n.cn)(N({side:s}),a),...l,children:[i,(0,r.jsxs)(h.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)(o.A,{className:"h-4 w-4"}),(0,r.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});y.displayName=h.UC.displayName;let w=e=>{let{className:t,...s}=e;return(0,r.jsx)("div",{className:(0,n.cn)("flex flex-col space-y-2 text-center sm:text-left",t),...s})};w.displayName="SheetHeader";let S=a.forwardRef((e,t)=>{let{className:s,...a}=e;return(0,r.jsx)(h.hE,{ref:t,className:(0,n.cn)("text-lg font-semibold text-foreground",s),...a})});S.displayName=h.hE.displayName,a.forwardRef((e,t)=>{let{className:s,...a}=e;return(0,r.jsx)(h.VY,{ref:t,className:(0,n.cn)("text-sm text-muted-foreground",s),...a})}).displayName=h.VY.displayName;let k=[{href:"/",label:"Home"},{href:"/projects",label:"Projects"},{href:"/publications",label:"Publications"},{href:"/team",label:"Team"},{href:"/news",label:"News"},{href:"/contact",label:"Contact"}],A=e=>{let{href:t,label:s,className:a,onClick:o,isScrolled:l}=e,d=(0,i.usePathname)()===t;return(0,r.jsx)(c(),{href:t,className:(0,n.cn)("rounded-md px-3 py-2 text-sm font-medium transition-colors",l?d?"text-primary font-semibold":"text-muted-foreground hover:text-primary":d?"text-white font-semibold":"text-white/80 hover:text-white",a),onClick:o,children:(0,r.jsx)("span",{children:s})})},T=e=>{let{isScrolled:t,onSearchClick:s}=e,[i,o]=(0,a.useState)(!1);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("nav",{className:"ml-auto hidden items-center gap-1 md:flex",children:[k.filter(e=>"/"!==e.href).map(e=>(0,r.jsx)(A,{...e,isScrolled:t},e.href)),(0,r.jsxs)(f.$,{variant:"ghost",size:"icon",onClick:s,className:(0,n.cn)(t?"text-foreground":"text-white hover:bg-white/10 hover:text-white"),children:[(0,r.jsx)(l.A,{className:"h-5 w-5"}),(0,r.jsx)("span",{className:"sr-only",children:"Open search"})]})]}),(0,r.jsxs)("div",{className:"ml-auto flex items-center md:hidden",children:[(0,r.jsxs)(f.$,{variant:"ghost",size:"icon",onClick:s,className:(0,n.cn)(t?"text-foreground":"text-white hover:bg-white/10 hover:text-white"),children:[(0,r.jsx)(l.A,{className:"h-5 w-5"}),(0,r.jsx)("span",{className:"sr-only",children:"Open search"})]}),(0,r.jsxs)(g,{open:i,onOpenChange:o,children:[(0,r.jsx)(b,{asChild:!0,children:(0,r.jsxs)(f.$,{variant:"ghost",size:"icon",className:(0,n.cn)(t?"text-foreground":"text-white hover:bg-white/10 hover:text-white"),children:[(0,r.jsx)(m.A,{className:"h-6 w-6"}),(0,r.jsx)("span",{className:"sr-only",children:"Toggle Menu"})]})}),(0,r.jsxs)(y,{side:"left",className:"w-[240px] pr-0",children:[(0,r.jsx)(w,{children:(0,r.jsx)(S,{className:"sr-only",children:"Navigation Menu"})}),(0,r.jsx)(c(),{href:"/",className:"mb-6 flex justify-center px-4",onClick:()=>o(!1),children:(0,r.jsxs)("div",{className:"text-center",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:"font-headline italic font-light text-foreground text-[30px]",children:"Bio"}),(0,r.jsx)("span",{className:"font-headline font-black italic text-destructive text-[32px]",children:"SA"})]}),(0,r.jsx)("div",{className:"text-center leading-tight",children:(0,r.jsxs)("div",{className:"font-script text-sm",children:[(0,r.jsx)("p",{children:"Biologically-inspired"}),(0,r.jsx)("p",{children:"Sensors and Actuators Laboratory"})]})})]})}),(0,r.jsx)("div",{className:"flex flex-col",children:k.map(e=>"/"===e.href?null:(0,r.jsx)(A,{...e,isScrolled:!0,className:"w-full justify-start px-4 py-2 text-base",onClick:()=>o(!1)},"mobile-".concat(e.href)))})]})]})]})]})};var E=s(4447);let C=()=>{let[e,t]=(0,a.useState)(!1),[s,o]=(0,a.useState)(!1),l=(0,i.usePathname)();(0,a.useEffect)(()=>{let e=()=>{o(window.scrollY>10)};return window.addEventListener("scroll",e),e(),()=>{window.removeEventListener("scroll",e)}},[]);let d=["/","/team","/news","/contact","/search"].includes(l)||l.startsWith("/projects")||l.startsWith("/publications"),c=s||!d;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("header",{className:(0,n.cn)("fixed top-0 z-50 w-full",c?"border-b border-border/40 bg-background shadow-sm":"border-b border-transparent"),children:(0,r.jsxs)("div",{className:(0,n.cn)("container mx-auto flex max-w-6xl items-center px-6 transition-[height] duration-300 md:px-8",c?"h-16":"h-28"),children:[(0,r.jsx)(E.Logo,{isScrolled:c}),(0,r.jsx)(T,{isScrolled:c,onSearchClick:()=>t(!0)})]})}),(0,r.jsx)(x,{isOpen:e,onClose:()=>t(!1)})]})}},5142:(e,t,s)=>{"use strict";s.d(t,{p:()=>n});var r=s(5155),a=s(2115),i=s(4269);let n=a.forwardRef((e,t)=>
1{let{className:s,type:a,...n}=e;return(0,r.jsx)("input",{type:a,className:(0,i.cn)("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",s),ref:t,...n})});n.displayName="Input"},5894:(e,t,s)=>{"use strict";s.d(t,{dj:()=>u});var r=s(2115);let a=0,i=new Map,n=e=>{if(i.has(e))return;let t=setTimeout(()=>{i.delete(e),d({type:"REMOVE_TOAST",toastId:e})},1e6);i.set(e,t)},o=[],l={toasts:[]};function d(e){l=((e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:s}=t;return s?n(s):e.toasts.forEach(e=>{n(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===s||void 0===s?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}})(l,e),o.forEach(e=>{e(l)})}function c(e){let{...t}=e,s=(a=(a+1)%Number.MAX_SAFE_INTEGER).toString(),r=()=>d({type:"DISMISS_TOAST",toastId:s});return d({type:"ADD_TOAST",toast:{...t,id:s,open:!0,onOpenChange:e=>{e||r()}}}),{id:s,dismiss:r,update:e=>d({type:"UPDATE_TOAST",toast:{...e,id:s}})}}function u(){let[e,t]=r.useState(l);return r.useEffect(()=>(o.push(t),()=>{let e=o.indexOf(t);e>-1&&o.splice(e,1)}),[e]),{...e,toast:c,dismiss:e=>d({type:"DISMISS_TOAST",toastId:e})}}},6299:()=>{},8516:(e,t,s)=>{"use strict";s.d(t,{Toaster:()=>g});var r=s(5155),a=s(5894),i=s(2115),n=s(4679),o=s(3101),l=s(6615),d=s(4269);let c=n.Kq,u=i.forwardRef((e,t)=>{let{className:s,...a}=e;return(0,r.jsx)(n.LM,{ref:t,className:(0,d.cn)("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",s),...a})});u.displayName=n.LM.displayName;let f=(0,o.F)("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),x=i.forwardRef((e,t)=>{let{className:s,variant:a,...i}=e;return(0,r.jsx)(n.bL,{ref:t,className:(0,d.cn)(f({variant:a}),s),...i})});x.displayName=n.bL.displayName,i.forwardRef((e,t)=>{let{className:s,...a}=e;return(0,r.jsx)(n.rc,{ref:t,className:(0,d.cn)("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",s),...a})}).displayName=n.rc.displayName;let m=i.forwardRef((e,t)=>{let{className:s,...a}=e;return(0,r.jsx)(n.bm,{ref:t,className:(0,d.cn)("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",s),"toast-close":"",...a,children:(0,r.jsx)(l.A,{className:"h-4 w-4"})})});m.displayName=n.bm.displayName;let h=i.forwardRef((e,t)=>
1{let{className:s,...a}=e;return(0,r.jsx)(n.hE,{ref:t,className:(0,d.cn)("text-sm font-semibold",s),...a})});h.displayName=n.hE.displayName;let p=i.forwardRef((e,t)=>{let{className:s,...a}=e;return(0,r.jsx)(n.VY,{ref:t,className:(0,d.cn)("text-sm opacity-90",s),...a})});function g(){let{toasts:e}=(0,a.dj)();return(0,r.jsxs)(c,{children:[e.map(function(e){let{id:t,title:s,description:a,action:i,...n}=e;return(0,r.jsxs)(x,{...n,children:[(0,r.jsxs)("div",{className:"grid gap-1",children:[s&&(0,r.jsx)(h,{children:s}),a&&(0,r.jsx)(p,{children:a})]}),i,(0,r.jsx)(m,{})]},t)}),(0,r.jsx)(u,{})]})}p.displayName=n.VY.displayName}},e=>{e.O(0,[396,619,830,11,226,512,441,255,358],()=>e(e.s=835)),_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.