PageSourceSearch

https://getcor.ai/assets/HqProspectPagePreview-D5bElTV0.js

js getcor.ai collected 2026-10-05 12:01:01 UTC 1,650 bytes, 1 lines download raw bytes

1import{a as i,j as e}from"./vendor-react-Bz_ZsvSD.js";import p from"./ProspectOverviewV2-BQ0OPaMQ.js";import{o as c}from"./prospectApi-D4A8U2bY.js";import"./index-CnUkSChN.js";import"./vendor-wouter-B0CVBZTb.js";import"./vendor-framer-Be2PyxnT.js";import"./dialog-CEVUed-M.js";import"./vendor-radix-CWyxWYha.js";import"./button-CjzOfrkz.js";import"./input-Cd4jSc8k.js";import"./textarea-DO5P6xBg.js";import"./label-CuGIYSbR.js";import"./select-DscTKAVq.js";import"./check-O8WqXZMB.js";import"./prospectUi-BIm6hZFE.js";import"./pencil-BrNWn8AU.js";import"./prospectV2-CspovCNv.js";import"./stat-source-n_2Diy9r.js";function C({id:o}){const[r,a]=i.useState(null),[s,m]=i.useState("");return i.useEffect(()=>{const n=new AbortController;return c(o,n.signal).then(a).catch(t=>{t instanceof Error&&t.name==="AbortError"||m(t instanceof Error?t.message:"Could not load draft preview")}),()=>n.abort()},[o]),s?e.jsxs("main",{className:"mx-auto max-w-3xl p-10",children:[e.jsx("h1",{className:"text-2xl font-semibold",children:"Preview unavailable"}),e.jsx("p",{className:"mt-2 text-zinc-600",children:s})]}):r?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"fixed bottom-4 left-4 z-[60] rounded-full border border-zinc-200 bg-white/95 px-3 py-1.5 text-xs font-medium text-zinc-700 shadow-sm backdrop-blur","data-testid":"preview-content-version",children:["Draft preview · ",r.contentVersion==="v2"?"V2 five-section brief":"V1 current business case"]}),e.jsx(p,{slug:typeof r.slug=="string"?r.slug:o,previewData:r})]}):e.jsx("main",{className:"mx-auto max-w-3xl p-10 text-sm text-zinc-500",children:"Loading draft preview..."})}export{C 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.