PageSourceSearch

https://iqpitch.com/assets/FullReportView-FH4KAgIk.js

js iqpitch.com collected 2026-10-08 03:19:06 UTC 10,098 bytes, 1 lines download raw bytes

1import{j as e,L as g}from"./index-BNsNbdQX.js";import{L as k}from"./Logo-DJATBESn.js";import{B as v}from"./button-Bq_4pBJg.js";import{A as w}from"./arrow-left-CtizaA-k.js";import{T as M}from"./trending-up-Dx71NPv2.js";import{T as b}from"./triangle-alert-tzvphBsb.js";import{T as _}from"./target-noAdFrUU.js";import{c as f}from"./createLucideIcon-BEZEpUvV.js";import{S}from"./sparkles-ByfZRYNb.js";import{C as B}from"./circle-check-BUoPvtiV.js";const C=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],I=f("file-exclamation-point",C);const P=[["path",{d:"M13 5h8",key:"a7qcls"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 19h8",key:"c3s6r1"}],["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"m3 7 2 2 4-4",key:"1obspn"}]],F=f("list-checks",P);function H({children:r,backTo:s="/dashboard",backLabel:a="Dashboard"}){return e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsx("header",{className:"sticky top-0 z-40 border-b border-border/60 bg-background/70 backdrop-blur-xl",children:e.jsxs("div",{className:"mx-auto flex h-16 max-w-7xl items-center justify-between px-6",children:[e.jsx(g,{to:"/",children:e.jsx(k,{})}),e.jsx(g,{to:s,children:e.jsxs(v,{variant:"ghost",size:"sm",children:[e.jsx(w,{className:"h-4 w-4 mr-1.5"})," ",a]})})]})}),e.jsx("main",{className:"mx-auto max-w-7xl px-6 py-10",children:r})]})}function Q({report:r,filename:s,tier:a,overall:t,verdict:n,action:o}){return e.jsxs("section",{className:"rounded-2xl border border-border/60 bg-card/40 backdrop-blur-xl p-8",children:[e.jsxs("div",{className:"flex flex-wrap items-start justify-between gap-6",children:[e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:"text-xs uppercase tracking-[0.22em] text-muted-foreground mono",children:"IQ Pitch · Investor Brief"}),e.jsx("h1",{className:"mt-2 font-display text-3xl font-semibold tracking-tight",children:r.company_name??s??"Deck"}),r.one_liner&&e.jsx("p",{className:"mt-2 text-muted-foreground max-w-2xl",children:r.one_liner}),e.jsxs("div",{className:"mt-3 flex flex-wrap gap-2 text-[10px] uppercase tracking-widest font-semibold",children:[r.stage&&e.jsx(p,{children:r.stage}),r.sector&&e.jsx(p,{children:r.sector}),a&&e.jsxs(p,{children:[a," tier"]})]})]}),e.jsxs("div",{className:"flex flex-col items-center gap-3 shrink-0",children:[e.jsx(L,{value:t}),o]})]}),n&&e.jsxs("div",{className:"mt-6 rounded-xl border border-primary/30 bg-primary/5 p-5",children:[e.jsx("p",{className:"text-[10px] uppercase tracking-[0.22em] text-primary mono font-semibold",children:"Investor Verdict"}),e.jsx("p",{className:"mt-2 text-sm leading-relaxed",children:n})]})]})}function G({report:r}){const s=r??{},a=s.dimensions??[];return e.jsxs(e.Fragment,{children:[(s.thesis||s.anti_thesis)&&e.jsxs("section",{className:"mt-6 grid md:grid-cols-2 gap-4",children:[s.thesis&&e.jsx(x,{icon:e.jsx(M,{className:"h-4 w-4 text-emerald-400"}),label:"Bull Thesis",tone:"emerald",children:e.jsx("p",{className:"text-sm leading-relaxed",children:s.thesis})}),s.anti_thesis&&e.jsx(x,{icon:e.jsx(b,{className:"h-4 w-4 text-amber-400"}),label:"Bear Case",tone:"amber",children:e.jsx("p",{className:"text-sm leading-relaxed",children:s.anti_thesis})})]}),e.jsxs("section",{className:"mt-6 grid md:grid-cols-5 gap-6",children:[e.jsxs("div",{className:"md:col-span-2 rounded-2xl border border-border/60 bg-card/40 backdrop-blur-xl p-6",children:[e.jsx("p",{className:"text-[10px] uppercase tracking-[0.22em] text-muted-foreground mono",children:"Dimensional Radar"}),e.jsx("div",{className:"mt-2",children:e.jsx($,{dims:a})})]}),e.jsxs("div",{className:"md:col-span-3 rounded-2xl border border-border/60 bg-card/40 backdrop-blur-xl p-6",children:[e.jsx("p",{className:"text-[10px] uppercase tracking-[0.22em] text-muted-foreground mono",children:"Score Matrix"}),e.jsx("div",{className:"mt-3 divide-y divide-border/60",children:a.map(t=>e.jsxs("div",{className:"py-3 flex items-center gap-4",children:[e.jsx("div",{className:"w-32 text-sm font-medium truncate",children:t.label}),e.jsx("div",{className:"flex-1 h-2 rounded bg-muted overflow-hidden",children:e.jsx("div",{className:"h-full bg-primary",style:{width:`${Math.min(100,t.score/10*100)}%`}})}),e.jsx("div",{className:"w-12 text-right mono text-sm font-semibold",children:t.score?.toFixed(1)})]},t.key))})]})]}),e.jsx("section",{className:"mt-6 grid md:grid-cols-2 gap-4",children:a.map(t=>e.jsxs("div",{className:"rounded-2xl border border-border/60 bg-card/40 backdrop-blur-xl p-6",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("h3",{className:"font-display text-lg font-semibold",children:t.label}),e.jsxs("span",{className:"mono text-sm font-semibold text-primary",children:[t.score?.toFixed(1),"/10"]})]}),e.jsx("p",{className:"mt-2 text-sm text-muted-foreground",children:t.summary}),e.jsxs("div",{className:"mt-4 grid grid-cols-1 gap-3",children:[e.jsx(u,{title:"Strengths",tone:"emerald",items:t.strengths}),e.jsx(u,{title:"Weaknesses",tone:"amber",items:t.weaknesses}),e.jsx(u,{title:"Path to 10",tone:"primary",icon:e.jsx(_,{className:"h-3.5 w-3.5"}),items:t.path_to_ten})]})]},t.key))}),e.jsxs("section",{className:"mt-6 grid md:grid-cols-2 gap-4",children:[s.red_flags&&s.red_flags.length>0&&e.jsx(x,{icon:e.jsx(b,{className:"h-4 w-4 text-destructive"}),label:"Red Flags",tone:"destructive",children:e.jsx(h,{items:s.red_flags})}),s.missing_slides&&s.missing_slides.length>0&&e.jsx(x,{icon:e.jsx(I,{className:"h-4 w-4 text-amber-400"}),label:"Missing Slides",tone:"amber",children:e.jsx(h,{items:s.missing_slides})}),s.vc_questions&&s.vc_questions.length>0&&e.jsx(x,{icon:e.jsx(F,{className:"h-4 w-4 text-primary"}),label:"Hardest VC Questions",tone:"primary",children:e.jsx(h,{items:s.vc_questions,ordered:!0}
1)}),s.next_steps&&s.next_steps.length>0&&e.jsx(x,{icon:e.jsx(S,{className:"h-4 w-4 text-primary"}),label:"Next 30 Days",tone:"primary",children:e.jsx(h,{items:s.next_steps,ordered:!0})})]})]})}function p({children:r}){return e.jsx("span",{className:"rounded border border-border/70 bg-muted/40 px-2 py-1 text-muted-foreground",children:r})}function L({value:r}){const s=Math.max(0,Math.min(10,r)),a=s/10*100,t=s>=8?"text-emerald-400":s>=6?"text-primary":s>=4?"text-amber-400":"text-destructive";return e.jsxs("div",{className:"relative h-32 w-32 shrink-0",children:[e.jsxs("svg",{viewBox:"0 0 36 36",className:"h-full w-full -rotate-90",children:[e.jsx("circle",{cx:"18",cy:"18",r:"15.9155",fill:"none",stroke:"oklch(0.28 0.012 250)",strokeWidth:"3"}),e.jsx("circle",{cx:"18",cy:"18",r:"15.9155",fill:"none",stroke:"currentColor",strokeWidth:"3",strokeDasharray:`${a}, 100`,className:t,strokeLinecap:"round"})]}),e.jsxs("div",{className:"absolute inset-0 flex flex-col items-center justify-center",children:[e.jsx("span",{className:`mono text-3xl font-semibold ${t}`,children:s.toFixed(1)}),e.jsx("span",{className:"text-[9px] uppercase tracking-[0.22em] text-muted-foreground mono",children:"Overall"})]})]})}function x({icon:r,label:s,tone:a,children:t}){const n=a==="destructive"?"border-destructive/30 bg-destructive/5":a==="amber"?"border-amber-500/30 bg-amber-500/5":a==="emerald"?"border-emerald-500/30 bg-emerald-500/5":"border-primary/30 bg-primary/5";return e.jsxs("div",{className:`rounded-2xl border ${n} backdrop-blur-xl p-5`,children:[e.jsxs("div",{className:"flex items-center gap-2",children:[r,e.jsx("p",{className:"text-[10px] uppercase tracking-[0.22em] mono font-semibold",children:s})]}),e.jsx("div",{className:"mt-3",children:t})]})}function u({title:r,items:s,tone:a,icon:t}){if(!s||s.length===0)return null;const n=a==="emerald"?"text-emerald-400":a==="amber"?"text-amber-400":"text-primary";return e.jsxs("div",{children:[e.jsxs("p",{className:`flex items-center gap-1.5 text-[10px] uppercase tracking-[0.22em] mono font-semibold ${n}`,children:[t," ",r]}),e.jsx("ul",{className:"mt-1.5 space-y-1",children:s.map((o,m)=>e.jsxs("li",{className:"text-sm text-foreground/90 flex gap-2",children:[e.jsx(B,{className:`h-3.5 w-3.5 mt-0.5 shrink-0 ${n}`})," ",e.jsx("span",{children:o})]},m))})]})}function h({items:r,ordered:s}){return e.jsx("ol",{className:"space-y-2",children:r.map((a,t)=>e.jsxs("li",{className:"text-sm flex gap-3",children:[s&&e.jsx("span",{className:"mono text-xs text-muted-foreground w-5 shrink-0",children:String(t+1).padStart(2,"0")}),e.jsx("span",{children:a})]},t))})}function $({dims:r}){const s=r.length?r.map(l=>({label:l.label,value:l.score})):[];if(!s.length)return e.jsx("div",{className:"text-sm text-muted-foreground",children:"No dimensions returned."});const a=280,t=a/2,n=a/2,o=100,m=s.length,j=(l,i)=>{const c=Math.PI*2*l/m-Math.PI/2,d=Math.max(0,Math.min(10,i))/10*o;return[t+Math.cos(c)*d,n+Math.sin(c)*d]},N=s.map((l,i)=>j(i,l.value).join(",")).join(" ");return e.jsxs("svg",{viewBox:`0 0 ${a} ${a}`,className:"w-full",children:[e.jsx("defs",{children:e.jsxs("radialGradient",{id:"rg",cx:"50%",cy:"50%",r:"50%",children:[e.jsx("stop",{offset:"0%",stopColor:"oklch(0.71 0.19 45)",stopOpacity:"0.5"}),e.jsx("stop",{offset:"100%",stopColor:"oklch(0.71 0.19 45)",stopOpacity:"0.08"})]})}),[.25,.5,.75,1].map(l=>e.jsx("polygon",{fill:"none",stroke:"oklch(0.28 0.012 250)",strokeWidth:l===1?1:.5,points:Array.from({length:m}).map((i,c)=>{const d=Math.PI*2*c/m-Math.PI/2;return[t+Math.cos(d)*o*l,n+Math.sin(d)*o*l].join(",")}).join(" ")},l)),e.jsx("polygon",{points:N,fill:"url(#rg)",stroke:"oklch(0.71 0.19 45)",strokeWidth:1.5}),s.map((l,i)=>{const[c,d]=j(i,l.value);return e.jsx("circle",{cx:c,cy:d,r:3,fill:"oklch(0.71 0.19 45)"},i)}),s.map((l,i)=>{const c=Math.PI*2*i/m-Math.PI/2,d=t+Math.cos(c)*(o+22),y=n+Math.sin(c)*(o+22);return e.jsx("text",{x:d,y,textAnchor:"middle",dominantBaseline:"central",fontSize:9,fill:"oklch(0.68 0.012 250)",style:{letterSpacing:"0.1em",textTransform:"uppercase",fontFamily:"JetBrains Mono, monospace"},children:l.label},i)})]})}export{p as C,H as F,Q as R,L as S,G as a,I as b};

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.