1import{j as e,L as o}from"./index-iAVlVxvB.js";import{A as p,P as c,L as d,E as x,s as m,a as g,C as r,b as a}from"./primitives-B-PYiOq8.js";import{b as u}from"./usePhaseZero-DYXhC0Em.js";import{A as h}from"./arrow-right-BpZNrPHd.js";import"./Sidebar-BstMbomz.js";function j(){const{data:i,loading:t,error:l}=u();return e.jsxs(p,{title:"Opportunities",loading:t,children:[e.jsx(c,{eyebrow:"Diligence Pipeline",title:"ADC Opportunities",subtitle:"What are we screening? Target-indication opportunities ranked by diligence priority, commercial actionability, evidence quality, and failure-pattern warning."}),t&&e.jsx(d,{label:"Scoring candidates"}),l&&!t&&e.jsx(x,{}),i&&e.jsx("div",{className:"grid grid-cols-1 lg:grid-cols-2 xl:grid-cols-3 gap-5",children:i.map(s=>{const n=m(s.status_color);return e.jsx(o,{to:"/opportunities/$id",params:{id:s.id},className:"block group",children:e.jsxs(g,{className:"h-full transition-colors group-hover:bg-[color:var(--pz-panel-alt)]",children:[e.jsxs("div",{className:"flex items-start justify-between",children:[e.jsxs("div",{children:[e.jsx("div",{className:"font-mono-pz text-[10px] tracking-[0.18em] uppercase text-pz-muted",children:s.id}),e.jsx("h2",{className:"mt-1.5 font-serif-display text-[24px] leading-tight text-pz-text",children:s.name})]}),e.jsxs("div",{className:"text-right",children:[e.jsx("div",{className:"font-serif-display text-[34px] leading-none text-pz-text",children:s.score}),e.jsx("div",{className:"font-mono-pz text-[8.5px] tracking-[0.16em] uppercase text-pz-muted",children:"Priority"})]})]}),e.jsxs("div",{className:"mt-3 flex flex-wrap gap-2",children:[e.jsx(r,{label:s.stage,color:n}),e.jsx(r,{label:s.recommendation})]}),e.jsx("p",{className:"mt-3 text-[12px] leading-relaxed text-pz-soft font-light line-clamp-3",children:s.headline}),e.jsxs("div",{className:"mt-4 flex flex-col gap-2.5 border-t pz-border pt-4",children:[e.jsx(a,{label:"Readiness",value:s.scores.readiness}),e.jsx(a,{label:"Commercial Alpha",value:s.scores.commercial_alpha}),e.jsx(a,{label:"Evidence Quality",value:s.scores.evidence_quality})]}),e.jsxs("div",{className:"mt-4 flex items-center gap-2 text-pz-accent font-mono-pz text-[10px] tracking-[0.18em] uppercase",children:["Open Diligence ",e.jsx(h,{size:12})]})]})},s.id)})})]})}const z=j;export{z as component};
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.