PageSourceSearch

https://www.intellicontract.ai/assets/SharedROISnapshot-4XuMIJoG.js

js intellicontract.ai collected 2026-10-05 12:11:29 UTC 3,272 bytes, 1 lines download raw bytes

1import{ab as m,f as u,g as p,r as h,ac as g,j as e,P as f,ad as j,ae as b,af as N,O as o,ag as w}from"./index-CyCBd4px.js";const d=({message:s})=>e.jsxs("main",{className:"min-h-screen flex items-center justify-center bg-background px-6",children:[e.jsxs(o,{children:[e.jsx("title",{children:"Access restricted"}),e.jsx("meta",{name:"robots",content:"noindex"})]}),e.jsxs("div",{className:"text-center max-w-sm",children:[e.jsx("p",{className:"text-xs uppercase tracking-[0.18em] text-muted-foreground mb-3",children:"Access restricted"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:s})]})]}),k=()=>{const{token:s}=m(),{user:c,loading:i}=u(),{currentWorkspace:r,loading:x}=p(),t=h.useMemo(()=>s?g(s):null,[s]);if(i||x)return e.jsx(f,{message:"Verifying access..."});if(!c)return e.jsx(j,{to:`/auth?redirect=${encodeURIComponent(`/share/roi/${s??""}`)}`,replace:!0});if(!t)return e.jsx(d,{message:"This link is invalid."});if(!(r!=null&&r.workspace_id)||r.workspace_id!==t.ws)return e.jsx(d,{message:"You do not have access to this workspace's snapshot."});const n=b(t),l=N(t);return e.jsxs("main",{className:"min-h-screen bg-background flex flex-col items-center justify-center px-6 py-16",children:[e.jsxs(o,{children:[e.jsx("title",{children:"Value snapshot"}),e.jsx("meta",{name:"robots",content:"noindex"})]}),e.jsxs("article",{className:"w-full max-w-2xl bg-card rounded-lg border border-border shadow-sm overflow-hidden",children:[e.jsxs("header",{className:"px-8 pt-8 pb-2",children:[e.jsx("p",{className:"text-xs uppercase tracking-[0.18em] text-muted-foreground font-medium",children:"Value snapshot"}),e.jsxs("p",{className:"text-xs text-muted-foreground/70 mt-1",children:["Generated on ",w(t.ts)]}),e.jsx("p",{className:"text-[11px] text-muted-foreground/60 mt-1",children:"Snapshot reflects data at time of generation."}),e.jsx("p",{className:"text-[10px] uppercase tracking-[0.18em] text-muted-foreground/60 mt-3",children:"Confidential — for internal use only"})]}),l&&e.jsx("div",{className:"mx-8 mt-4 px-4 py-3 rounded-md border border-border bg-muted/40",children:e.jsx("p",{className:"text-xs text-muted-foreground",children:"Data may be outdated — request a fresh snapshot."})}),n.length===0?e.jsx("div",{className:"px-8 py-16 text-center",children:e.jsx("p",{className:"text-base text-muted-foreground",children:"System is learning — metrics will appear as usage grows."})}):e.jsx("div",{className:"divide-y divide-border",children:n.map(a=>e.jsxs("section",{className:"px-8 py-7",children:[e.jsx("p",{className:"text-[11px] uppercase tracking-[0.18em] text-muted-foreground mb-3",children:a.eyebrow}),e.jsxs("p",{className:"text-3xl font-light tracking-tight text-foreground leading-snug",children:[e.jsx("span",{className:"font-semibold",children:a.headlineNumber}),e.jsxs("span",{className:"text-muted-foreground",children:[" ",a.headlineSuffix]})]}),e.jsx("p",{className:"text-xs text-muted-foreground/80 mt-2",children:a.note})]},a.eyebrow))}),e.jsx("div",{className:"px-8 py-5 bg-muted/30 border-t border-border",children:e.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:"All actions are recorded and traceable — no loss of context, no missed commitments."})})]})]})};export{k 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.