PageSourceSearch

https://zeropointlabs.ai/assets/TeamMember-GgJSOGsV.js

js zeropointlabs.ai collected 2026-10-05 15:19:27 UTC 14,988 bytes, 11 lines download raw bytes

1import{c as V,p as G,q as K,r as o,j as e,N as A,F as L,g as m,h as F,t as P,S as W,C as i,a as n,v as E,I as ee,E as se,w as te,l as ae}from"./index-CLtGP32Z.js";import{B as h}from"./badge-BKvD35-V.js";import{c as re,Q as le}from"./bibtex-oZ81ZAzw.js";import{u as ie,S as ne}from"./usePublicationsByAuthor-D3uJ4xDn.js";import{S as f,a as N,b,c as y,d}from"./select-Bq2l4yDN.js";import{S as O}from"./search-CW3eO2GS.js";import{F as ce}from"./file-text-BL-ZejJn.js";import"./mail-BrhL5Kus.js";import"./github-BlT9urZP.js";import"./index-CMZ90543.js";import"./index-DAJOau0q.js";/**
2 * @license lucide-react v0.462.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */const I=V("ArrowUpDown",[["path",{d:"m21 16-4 4-4-4",key:"f6ql7i"}],["path",{d:"M17 20V4",key:"1ejh1v"}],["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}]]);/**
7 * @license lucide-react v0.462.0 - ISC
8 *
9 * This source code is licensed under the ISC license.
10 * See the LICENSE file in the root directory of this source tree.
11 */const oe=V("Filter",[["polygon",{points:"22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3",key:"1yg77f"}]]),ye=()=>{const{memberSlug:v}=G(),{data:t,isLoading:Y,error:$}=K(v||""),{data:r,isLoading:D}=ie((t==null?void 0:t.full_name)||""),[g,Q]=o.useState("year"),[w,R]=o.useState("desc"),[u,k]=o.useState("all"),[j,C]=o.useState("all"),[x,S]=o.useState(""),q=o.useMemo(()=>{if(!r)return[];const s=new Set(r.map(a=>a.publication_type));return Array.from(s).sort()},[r]),J=o.useMemo(()=>{if(!r)return[];const s=new Set(r.map(a=>a.year));return Array.from(s).sort((a,l)=>l-a)},[r]),p=o.useMemo(()=>{if(!r)return[];let s=[...r];if(x.trim()){const a=x.toLowerCase();s=s.filter(l=>{var z,M,B;const c=l.title.toLowerCase().includes(a),X=(z=l.abstract)==null?void 0:z.toLowerCase().includes(a),Z=(M=l.tags)==null?void 0:M.some(_=>_.toLowerCase().includes(a)),H=(B=l.research_area)==null?void 0:B.some(_=>_.toLowerCase().includes(a));return c||X||Z||H})}return u!=="all"&&(s=s.filter(a=>a.publication_type===u)),j!=="all"&&(s=s.filter(a=>a.year===parseInt(j))),s.sort((a,l)=>{let c=0;return g==="year"?c=a.year-l.year:g==="citations"&&(c=a.citations-l.citations),w==="asc"?c:-c}),s},[r,g,w,u,j,x]);if(Y)return e.jsxs("div",{className:"min-h-screen",children:[e.jsx(A,{}),e.jsx("main",{className:"pt-16",children:e.jsx("div",{className:"flex items-center justify-center h-96",children:e.jsx("div",{className:"animate-pulse text-xl text-muted-foreground",children:"Loading..."})})}),e.jsx(L,{})]});if($||!t)return e.jsxs("div",{className:"min-h-screen",children:[e.jsx(A,{}),e.jsx("main",{className:"pt-16",children:e.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 py-20 text-center",children:[e.jsx("h1",{className:"text-4xl font-bold text-foreground mb-4",children:"Team Member Not Found"}),e.jsx("p",{className:"text-muted-foreground mb-8",children:"The team member you're looking for doesn't exist."}),e.jsx(m,{asChild:!0,children:e.jsxs(F,{to:"/team",children:[e.jsx(P,{className:"mr-2 h-4 w-4"}),"Back to Team"]})})]})}),e.jsx(L,{})]});const T=t.bio?t.bio.substring(0,155)+(t.bio.length>155?"...":""):`${t.full_name} - ${t.title} at Zero Point Labs.`,U={"@context":"https://schema.org","@type":"Person",name:t.full_name,jobTitle:t.title,description:T,image:t.image_url||void 0,url:`https://zeropointlabs.ai/team/${v}`,worksFor:{"@type":"Organization",name:"Zero Point Labs",url:"https://zeropointlabs.ai"},...t.linkedin&&{sameAs:[t.linkedin]}};return e.jsxs("div",{className:"min-h-screen",children:[e.jsx(A,{}),e.jsx(W,{title:t.full_name,description:T,url:`https://zeropointlabs.ai/team/${v}`,image:t.image_url||void 0,jsonLd:U}),e.jsxs("main",{className:"pt-16",children:[e.jsx("section",{className:"py-20 bg-gradient-hero",children:e.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsx(m,{variant:"ghost",className:"text-white hover:bg-white/10 mb-8",asChild:!0,children:e.jsxs(F,{to:"/team",children:[e.jsx(P,{className:"mr-2 h-4 w-4"}),"Back to Team"]})}),e.jsxs("div",{className:"text-center",children:[t.image_url?e.jsx("img",{src:t.image_url,alt:t.full_name,className:"w-48 h-48 rounded-full mx-auto mb-8 object-cover border-4 border-white/20"}):e.jsx("div",{className:"w-48 h-48 rounded-full mx-auto mb-8 bg-gradient-primary flex items-center justify-center text-5xl font-bold text-primary-foreground border-4 border-white/20",children:t.full_name.split(" ").map(s=>s[0]).join("")}),e.jsx("h1",{className:"text-5xl font-bold text-white mb-4",children:t.full_name}),e.jsx("p",{className:"text-2xl text-white/80 mb-6",children:t.title}),t.bio&&e.jsxs("p",{className:"text-xl text-white/90 max-w-3xl mx-auto italic",children:['"',t.bio,'"']})]})]})}),e.jsx("section",{className:"py-16 bg-background",children:e.jsx("div",{className:"max-w-6xl mx-auto px-4 sm:px-6 lg:px-8",children:e.jsxs("div",{className:"grid lg:grid-cols-3 gap-12",children:[e.jsxs("div",{className:"lg:col-span-2 space-y-8",children:[t.bio&&e.jsx(i,{children:e.jsxs(n,{className:"p-8",children:[e.jsx("h2",{className:"text-3xl font-bold text-foreground mb-6",children:"About"}),e.jsx("p",{className:"text-muted-foreground leading-relaxed text-lg",children:t.bio})]})}),t.research_interests&&t.research_interests.length>0&&e.jsx(i,{children:e.jsxs(n,{className:"p-8",children:[e.jsx("h2",{className:"text-3xl font-bold text-foreground mb-6",children:"Research Interests"}),e.jsx("div",{className:"flex flex-wrap gap-3",children:t.research_interests.map((s,a)=>e.jsx(h,{variant:"outline",className:"text-sm py-2 px-4",children:s},a))})]})}),t.expertise&&t.expertise.length>0&&e.jsx(i,{children:e.jsxs(n,{className:"p-8",children:[e.jsx("h2",{className:"text-3xl font-bold text-foreground mb-6",children:"Expertise"}),e.jsx("div",{className:"flex flex-wrap gap-3",children:t.expertise.map((s,a)=>e.jsx(h,{variant:"secondary",className:"text-sm py-2 px-4",children:s},a))})]})}),t.career_history&&e.jsx(i,{children:e.jsxs(n,{className:"p-8",children:[e.jsx("h2",{className:"text-3xl font-bold text-foreground mb-6",children:"Career History"}),e.jsx("div",{className:"space-y-4",children:Array.isArray(t.career_history)?t.career_history.map((s,a)=>e.jsxs("div",{className:"flex items-start",children:[e.jsx(E,{className:"h-5 w-5 text-primary mt-0.5 mr-3 flex-shrink-0"}),e.jsxs("div",{children:[e.jsx("p",{className:"font-medium text-foreground",children:s.title||s}),s.organization&&e.jsx("p",{className:"text-sm text-muted-foreground",children:s.organization}),s.period&&e.jsx("p",{className:"text-xs text-muted-foreground",children:s.period})]})]},a)):e.jsx("p",{className:"text-muted-foreground",children:JSON.stringify(t.career_history)})})]})}),e.jsx(i,{children:e.jsxs(n,{className:"p-8",children:[e.jsxs("div",{className:"flex items-center justify-between mb-6",children:[e.jsx("h2",{className:"text-3xl font-bold text-foreground",children:"Publications"}),r&&r.length>0&&e.jsxs(h,{variant:"secondary",className:"text-sm",children:[p.length," of ",r.length]})]}),D?e.jsx("div",{className:"text-center py-8",children:e.jsx("div",{className:"animate-pulse text-muted-foreground",children:"Loading publications..."})}):r&&r.length>0?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"mb-6",children:[e.jsxs("div",{className:"relative",children:[e.jsx(O,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 h-4 w-4 text-muted-foreground"}),e.jsx(ee,{type:"text",placeholder:"Search by title, abstract, keywords, or research area...",value:x,onChange:s=>S(s.target.value),className:"pl-10"})]}),x&&e.jsxs("p",{className:"text-xs text-muted-foreground mt-2",children:["Found ",p.length," publication",p.length!==1?"s":"",' matching "',x,'"']})]}),e.jsxs("div",{className:"mb-6 p-4 bg-muted/30 rounded-lg border border-border",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsxs("label",{className:"text-xs font-medium text-muted-foreground flex items-center gap-2",children:[e.jsx(oe,{className:"h-3 w-3"}),"Publication Type"]}),e.jsxs(f,{value:u,onValueChange:k,children:[e.jsx(N,{className:"bg-background",children:e.jsx(b,{placeholder:"All types"})}),e.jsxs(y,{className:"bg-background z-50",children:[e.jsx(d,{value:"all",children:"All Types"}),q.map(s=>e.jsx(d,{value:s,children:s},s))]})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs("label",{className:"text-xs font-medium text-muted-foreground flex items-center gap-2",children:[e.jsx(E,{className:"h-3 w-3"}),"Year"]}),e.jsxs(f,{value:j,onValueChange:C,children:[e.jsx(N,{className:"bg-background",children:e.jsx(b,{placeholder:"All years"})}),e.jsxs(y,{className:"bg-background z-50",children:[e.jsx(d,{value:"all",children:"All Years"}),J.map(s=>e.jsx(d,{value:s.toString(),children:s},s))]})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs("label",{className:"text-xs font-medium text-muted-foreground flex items-center gap-2",children:[e.jsx(I,{className:"h-3 w-3"}),"Sort By"]}),e.jsxs(f,{value:g,onValueChange:s=>Q(s),children:[e.jsx(N,{className:"bg-background",children:e.jsx(b,{})}),e.jsxs(y,{className:"bg-background z-50",children:[e.jsx(d,{value:"year",children:"Year"}),e.jsx(d,{value:"citations",children:"Citations"})]})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs("label",{className:"text-xs font-medium text-muted-foreground flex items-center gap-2",children:[e.jsx(I,{className:"h-3 w-3"}),"Order"]}),e.jsxs(f,{value:w,onValueChange:s=>R(s),children:[e.jsx(N,{className:"bg-background",children:e.jsx(b,{})}),e.jsxs(y,{className:"bg-background z-50",children:[e.jsx(d,{value:"desc",children:"Descending"}),e.jsx(d,{value:"asc",children:"Ascending"})]})]})]})]}),(u!=="all"||j!=="all"||x.trim())&&e.jsx("div",{className:"mt-4 flex items-center gap-2",children:e.jsx(m,{variant:"ghost",size:"sm",onClick:()=>{k("all"),C("all"),S("")},children:"Clear All Filters"})})]}),p.length>0?e.jsx("div",{className:"space-y-6",children:p.map(s=>{var a;return e.jsx("div",{className:"pb-6 border-b border-border last:border-0 last:pb-0",children:e.jsxs("div",{className:"flex items-start justify-between gap-4",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx("h3",{className:"text-lg font-semibold text-foreground mb-2 hover:text-primary transition-colors",children:e.jsx(F,{to:`/publications#${s.slug}`,children:s.title})}),e.jsx("p",{className:"text-sm text-muted-foreground mb-2",children:s.authors.join(", ")}),e.jsxs("div",{className:"flex flex-wrap gap-2 items-center text-sm text-muted-foreground mb-3",children:[s.journal&&e.jsx("span",{className:"italic",children:s.journal}),e.jsx("span",{children:"•"}),e.jsx("span",{children:s.year}),s.publication_type&&e.jsxs(e.Fragment,{children:[e.jsx("span",{children:"•"}),e.jsx(h,{variant:"outline",className:"text-xs",children:s.publication_type})]}),s.citations>0&&e.jsxs(e.Fragment,{children:[e.jsx("span",{children:"•"}),e.jsxs("span",{className:"text-primary font-medium",children:[s.citations," citations"]})]})]}),s.abstract&&e.jsx("p",{className:"text-sm text-muted-foreground line-clamp-2 mb-3",children:s.abstract}),e.jsx("div",{className:"flex flex-wrap gap-2",children:(a=s.research_area)==null?void 0:a.map((l,c)=>e.jsx(h,{variant:"secondary",className:"text-xs",children:l},c))})]}),e.jsxs("div",{className:"flex flex-col gap-2",children:[s.pdf_url&&e.jsx(m,{size:"sm",variant:"outline",asChild:!0,children:e.jsxs("a",{href:s.pdf_url,target:"_blank",rel:"noopener noreferrer",children:[e.jsx(ce,{className:"h-3 w-3 mr-1"}),"PDF"]})}),s.doi&&e.jsx(m,{size:"sm",variant:"ghost",asChild:!0,children:e.jsxs("a",{href:`https://doi.org/${s.doi}`,target:"_blank",rel:"noopener noreferrer",children:[e.jsx(se,{className:"h-3 w-3 mr-1"}),"DOI"]})}),e.jsxs(m,{size:"sm",variant:"ghost",onClick:()=>{re(s).then(()=>{te.success("BibTeX copied to clipboard")})},children:[e.jsx(le,{className:"h-3 w-3 mr-1"}),"Cite"]})]})]})},s.id)})}):e.jsxs("div",{className:"text-center py-8",children:[e.jsx(O,{className:"h-12 w-12 text-muted-foreground mx-auto mb-3 opacity-50"}),e.jsx("p",{className:"text-muted-foreground mb-2",children:"No publications match your search and filters."}),e.jsx(m,{variant:"ghost",size:"sm",className:"mt-2",onClick:()=>{k("all"),C("all"),S("")},children:"Clear All Filters"})]})]}):e.jsxs("div",{className:"text-center py-8",children:[e.jsx(ae,{className:"h-12 w-12 text-muted-foreground mx-auto mb-3 opacity-50"}),e.jsx("p",{className:"text-muted-foreground",children:"No publications foun
11d for this team member."})]})]})})]}),e.jsxs("div",{className:"space-y-6",children:[e.jsx(i,{children:e.jsxs(n,{className:"p-6",children:[e.jsx("h3",{className:"text-xl font-bold text-foreground mb-4",children:"Connect"}),e.jsx("div",{className:"space-y-4",children:e.jsx(ne,{member:t,showLabels:!0})})]})}),t.education&&e.jsx(i,{children:e.jsxs(n,{className:"p-6",children:[e.jsx("h3",{className:"text-xl font-bold text-foreground mb-4",children:"Education"}),e.jsx("div",{className:"space-y-3",children:Array.isArray(t.education)?t.education.map((s,a)=>e.jsxs("div",{className:"text-sm",children:[e.jsx("p",{className:"font-medium text-foreground",children:s.degree||s}),s.institution&&e.jsx("p",{className:"text-muted-foreground",children:s.institution}),s.year&&e.jsx("p",{className:"text-xs text-muted-foreground",children:s.year})]},a)):typeof t.education=="object"?e.jsxs("div",{className:"text-sm",children:[e.jsx("p",{className:"font-medium text-foreground",children:t.education.degree}),t.education.institution&&e.jsx("p",{className:"text-muted-foreground",children:t.education.institution}),t.education.publications&&e.jsxs("div",{className:"mt-3 text-center",children:[e.jsx("p",{className:"text-2xl font-bold text-primary",children:t.education.publications}),e.jsx("p",{className:"text-xs text-muted-foreground",children:"Publications"})]})]}):e.jsx("p",{className:"text-sm text-muted-foreground",children:t.education})})]})}),r&&r.length>0&&e.jsx(i,{children:e.jsxs(n,{className:"p-6",children:[e.jsx("h3",{className:"text-xl font-bold text-foreground mb-4",children:"Research Metrics"}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"text-center",children:[e.jsx("p",{className:"text-3xl font-bold text-primary",children:r.length}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Publications"})]}),r.reduce((s,a)=>s+a.citations,0)>0&&e.jsxs("div",{className:"text-center",children:[e.jsx("p",{className:"text-3xl font-bold text-primary",children:r.reduce((s,a)=>s+a.citations,0)}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Total Citations"})]})]})]})}),e.jsx(i,{children:e.jsxs(n,{className:"p-6",children:[e.jsx("h3",{className:"text-xl font-bold text-foreground mb-4",children:"Role"}),e.jsx(h,{variant:"outline",className:"text-sm py-2 px-4",children:t.role})]})})]})]})})})]}),e.jsx(L,{})]})};export{ye 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.