1import{c as ee,r as l,E as u,U as se,j as e,S as ae,N as re,m as j,b as p,d as g,H as f,C as N,a as v,I as te,A as b,g as t,w as z,v as ie,h as F,F as le}from"./index-CLtGP32Z.js";import{B as i}from"./badge-BKvD35-V.js";import{S as w,a as y,b as C,c as S,d as c}from"./select-Bq2l4yDN.js";import{u as ne}from"./usePublications-ZTTLGDzh.js";import{c as R,Q as E}from"./bibtex-oZ81ZAzw.js";import{S as ce}from"./search-CW3eO2GS.js";import{D as O}from"./download-0Cc2Blf3.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 V=ee("Award",[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]]),B=10,fe=()=>{const[o,D]=l.useState(),[A,M]=l.useState(),[_,$]=l.useState(),[d,Q]=l.useState(""),[x,H]=l.useState("desc"),[m,X]=l.useState(B),{data:a,isLoading:Y}=ne({year:o,type:A,area:_}),k=l.useMemo(()=>{let s=(a==null?void 0:a.filter(r=>{var T;if(!d)return!0;const n=d.toLowerCase();return r.title.toLowerCase().includes(n)||r.authors.some(K=>K.toLowerCase().includes(n))||((T=r.abstract)==null?void 0:T.toLowerCase().includes(n))}))||[];return s=[...s].sort((r,n)=>x==="desc"?n.year-r.year:r.year-n.year),s},[a,d,x]),L=k.filter(s=>s.is_featured)||[],h=k.filter(s=>!s.is_featured)||[],P=h.slice(0,m),q=m<h.length,U=(a==null?void 0:a.reduce((s,r)=>s+(r.citations||0),0))||0,Z=new Set((a==null?void 0:a.flatMap(s=>s.authors))||[]).size,G=Array.from(new Set((a==null?void 0:a.map(s=>s.year))||[])).sort((s,r)=>r-s),W=Array.from(new Set((a==null?void 0:a.map(s=>s.publication_type))||[])),I=Array.from(new Set((a==null?void 0:a.flatMap(s=>s.research_area||[]))||[])),J=[{label:"Total Publications",value:`${(a==null?void 0:a.length)||0}`,icon:V},{label:"Citations",value:`${U}+`,icon:u},{label:"Research Areas",value:`${I.length}`,icon:V},{label:"Collaborators",value:`${Z}+`,icon:se}];return e.jsxs(e.Fragment,{children:[e.jsx(ae,{title:"Publications",description:"Peer-reviewed publications, research papers, and academic contributions from the Zero Point Labs research team.",keywords:"AI publications, research papers, machine learning papers, academic research, peer-reviewed",url:"https://zeropointlabs.ai/publications"}),e.jsxs("div",{className:"min-h-screen",children:[e.jsx(re,{}),e.jsxs("main",{className:"pt-16",children:[e.jsx("section",{className:"py-20 bg-gradient-hero overflow-hidden",children:e.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:[e.jsx(j.h1,{className:"text-5xl font-bold text-white mb-6",initial:{opacity:0,y:40},animate:{opacity:1,y:0},transition:{duration:.7,ease:[.25,.1,.25,1]},children:"Publications & Research"}),e.jsx(j.p,{className:"text-xl text-white/80 mb-8 max-w-3xl mx-auto",initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.7,delay:.15,ease:[.25,.1,.25,1]},children:"Peer-reviewed publications, research papers, and academic contributions from the Zero Point Labs research team."}),e.jsxs(j.div,{className:"flex flex-wrap justify-center gap-4",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.7,delay:.3,ease:[.25,.1,.25,1]},children:[e.jsx(i,{className:"bg-white/20 text-white border-white/30",children:"Peer Reviewed"}),e.jsx(i,{className:"bg-white/20 text-white border-white/30",children:"Open Access"}),e.jsx(i,{className:"bg-white/20 text-white border-white/30",children:"High Impact"})]})]})}),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.jsx(p,{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-6",children:J.map((s,r)=>e.jsx(g,{children:e.jsx(f,{children:e.jsx(N,{className:"text-center h-full",children:e.jsxs(v,{className:"p-6",children:[e.jsx("div",{className:"inline-flex items-center justify-center w-12 h-12 bg-gradient-primary rounded-lg mb-4",children:e.jsx(s.icon,{className:"h-6 w-6 text-primary-foreground"})}),e.jsx("div",{className:"text-3xl font-bold text-primary mb-2",children:s.value}),e.jsx("div",{className:"text-muted-foreground",children:s.label})]})})})},r))})})}),e.jsx("section",{className:"py-8 bg-card border-b border-border",children:e.jsx("div",{className:"max-w-6xl mx-auto px-4 sm:px-6 lg:px-8",children:e.jsxs("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-4",children:[e.jsxs("div",{className:"relative",children:[e.jsx(ce,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 h-4 w-4 text-muted-foreground"}),e.jsx(te,{placeholder:"Search publications...",className:"pl-10",value:d,onChange:s=>Q(s.target.value)})]}),e.jsxs(w,{value:A||"all",onValueChange:s=>M(s==="all"?void 0:s),children:[e.jsx(y,{children:e.jsx(C,{placeholder:"Publication Type"})}),e.jsxs(S,{children:[e.jsx(c,{value:"all",children:"All Types"}),W.map(s=>e.jsx(c,{value:s,children:s},s))]})]}),e.jsxs(w,{value:_||"all",onValueChange:s=>$(s==="all"?void 0:s),children:[e.jsx(y,{children:e.jsx(C,{placeholder:"Research Area"})}),e.jsxs(S,{children:[e.jsx(c,{value:"all",children:"All Areas"}),I.map(s=>e.jsx(c,{value:s,children:s},s))]})]}),e.jsxs(w,{value:(o==null?void 0:o.toString())||"all",onValueChange:s=>D(s==="all"?void 0:parseInt(s)),children:[e.jsx(y,{children:e.jsx(C,{placeholder:"Year"})}),e.jsxs(S,{children:[e.jsx(c,{value:"all",children:"All Years"}),G.map(s=>e.jsx(c,{value:s.toString(),children:s},s))]})]})]})})}),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:Y?e.jsx("div",{className:"text-center py-12",children:e.jsx("div",{className:"animate-pulse",children:"Loading publications..."})}):e.jsxs(e.Fragment,{children:[e.jsxs(b,{className:"text-center mb-12",children:[e.jsx("h2",{className:"text-4xl font-bold text-foreground mb-4",children:"Featured Publications"}),e.jsx("p",{className:"text-muted-foreground text-lg max-w-3xl mx-auto",children:"Our most impactful and recent research contributions to the scientific community."})]}),L.length>0?e.jsx(p,{className:"space-y-8",children:L.map(s=>e.jsx(g,{children:e.jsx(f,{children:e.jsx(N,{className:"gradient-border",children:e.jsxs(v,{className:"p-8",children:[e.jsxs("div",{className:"flex flex-wrap items-start justify-between mb-4",children:[e.jsxs("div",{className:"flex flex-wrap gap-2 mb-4",children:[e.jsx(i,{className:"bg-primary text-primary-foreground",children:"Featured"}),e.jsx(i,{variant:"outline",children:s.publication_type}),e.jsx(i,{variant:"outline",children:s.year})]}),e.jsx("div",{className:"text-right text-sm text-muted-foreground",children:e.jsx("div",{className:"flex items-center space-x-2",children:e.jsxs("span",{children:[s.citations," citations"]})})})]}),e.jsx("h3",{className:"text-2xl font-bold text-foreground mb-3",children:s.title}),e.jsxs("div",{className:"text-muted-foreground mb-3",children:[e.jsx("span",{className:"font-medium",children:"Authors: "}
6),s.authors.join(", ")]}),e.jsxs("div",{className:"text-muted-foreground mb-4",children:[e.jsx("span",{className:"font-medium",children:"Published in: "}),s.journal," (",s.year,")"]}),s.abstract&&e.jsx("p",{className:"text-muted-foreground mb-6 leading-relaxed",children:s.abstract}),e.jsxs("div",{className:"flex flex-wrap gap-3",children:[s.pdf_url&&e.jsx(t,{asChild:!0,children:e.jsxs("a",{href:s.pdf_url,target:"_blank",rel:"noopener noreferrer",children:[e.jsx(O,{className:"h-4 w-4 mr-2"}),"Download PDF"]})}),s.doi&&e.jsx(t,{variant:"outline",asChild:!0,children:e.jsxs("a",{href:`https://doi.org/${s.doi}`,target:"_blank",rel:"noopener noreferrer",children:[e.jsx(u,{className:"h-4 w-4 mr-2"}),"View on Publisher"]})}),e.jsxs(t,{variant:"outline",onClick:()=>{R(s).then(()=>{z.success("BibTeX copied to clipboard")})},children:[e.jsx(E,{className:"h-4 w-4 mr-2"}),"Cite"]})]})]})})})},s.id))}):e.jsx("div",{className:"text-center text-muted-foreground",children:"No featured publications found."})]})})}),e.jsx("section",{className:"py-16 bg-card",children:e.jsxs("div",{className:"max-w-6xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs(b,{className:"flex items-center justify-between mb-8",children:[e.jsx("h2",{className:"text-3xl font-bold text-foreground",children:"All Publications"}),e.jsxs(t,{variant:"outline",size:"sm",onClick:()=>H(s=>s==="desc"?"asc":"desc"),children:[e.jsx(ie,{className:"h-4 w-4 mr-2"}),x==="desc"?"Newest First":"Oldest First"]})]}),P.length>0?e.jsx(p,{className:"space-y-4",children:P.map(s=>e.jsx(g,{children:e.jsx(f,{children:e.jsx(N,{className:"hover:shadow-lg transition-all duration-300",children:e.jsx(v,{className:"p-6",children:e.jsxs("div",{className:"flex flex-col lg:flex-row lg:items-center justify-between",children:[e.jsxs("div",{className:"flex-1 mb-4 lg:mb-0",children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-2 mb-2",children:[e.jsx(i,{variant:"outline",children:s.publication_type}),e.jsx(i,{variant:"outline",children:s.year}),e.jsxs("span",{className:"text-sm text-muted-foreground",children:[s.citations," citations"]})]}),e.jsx("h3",{className:"text-lg font-semibold text-foreground mb-2",children:s.title}),e.jsxs("div",{className:"text-muted-foreground text-sm mb-1",children:[e.jsx("span",{className:"font-medium",children:"Authors: "}),s.authors.join(", ")]}),s.journal&&e.jsxs("div",{className:"text-muted-foreground text-sm",children:[e.jsx("span",{className:"font-medium",children:"Published in: "}),s.journal," (",s.year,")"]})]}),e.jsxs("div",{className:"flex flex-wrap gap-2",children:[s.pdf_url&&e.jsx(t,{variant:"outline",size:"sm",asChild:!0,children:e.jsxs("a",{href:s.pdf_url,target:"_blank",rel:"noopener noreferrer",children:[e.jsx(O,{className:"h-4 w-4 mr-1"}),"PDF"]})}),s.doi&&e.jsx(t,{variant:"ghost",size:"sm",asChild:!0,children:e.jsxs("a",{href:`https://doi.org/${s.doi}`,target:"_blank",rel:"noopener noreferrer",children:[e.jsx(u,{className:"h-4 w-4 mr-1"}),"DOI"]})}),e.jsxs(t,{variant:"ghost",size:"sm",onClick:()=>{R(s).then(()=>{z.success("BibTeX copied to clipboard")})},children:[e.jsx(E,{className:"h-4 w-4 mr-1"}),"Cite"]})]})]})})})})},s.id))}):e.jsx("div",{className:"text-center text-muted-foreground py-8",children:"No publications found."}),q&&e.jsx("div",{className:"text-center mt-12",children:e.jsxs(t,{size:"lg",onClick:()=>X(s=>s+B),children:["Load More Publications (",h.length-m," remaining)"]})})]})}),e.jsx("section",{className:"py-16 bg-gradient-subtle",children:e.jsxs(b,{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:[e.jsx("h2",{className:"text-4xl font-bold text-foreground mb-6",children:"Research Collaboration"}),e.jsx("p",{className:"text-muted-foreground text-lg mb-8 max-w-3xl mx-auto",children:"Interested in collaborating on research? We welcome partnerships with academic institutions, industry researchers, and government organizations."}),e.jsxs("div",{className:"flex flex-wrap justify-center gap-4",children:[e.jsx(t,{size:"lg",asChild:!0,children:e.jsx(F,{to:"/contact",children:"Propose Collaboration"})}),e.jsx(t,{variant:"outline",size:"lg",asChild:!0,children:e.jsx(F,{to:"/research",children:"View Research Areas"})})]})]})})]}),e.jsx(le,{})]})]})};export{fe 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.