1import{r,j as e,L as p,C as m}from"./index-DHwBXtP2.js";import{u as l,R as x,f as h,U as u}from"./whats-new-menu-C77ZKI8y.js";import"./dropdown-menu-HbwjwNig.js";import"./circle-CRPl8R1p.js";import"./scroll-area-BxPWLaYs.js";import"./bell-ame-7qYV.js";import"./arrow-right-Ck7Z4gCN.js";function k(){const{unseen:n,markSeen:i}=l(),c=r.useMemo(()=>new Set(n.map(s=>s.id)),[n]);r.useEffect(()=>{i()},[i]);const d=r.useMemo(()=>{const s=new Map;for(const a of x){const t=a.date.slice(0,7),o=s.get(t)??[];o.push(a),s.set(t,o)}return[...s.entries()]},[]);return e.jsxs("div",{className:"mx-auto max-w-3xl space-y-8",children:[e.jsxs("header",{className:"space-y-1",children:[e.jsx("h1",{className:"text-2xl font-semibold tracking-tight",children:"What's new"}),e.jsxs("p",{className:"text-sm text-muted-foreground",children:["Everything shipped in Brain, newest first. Need setup steps instead?"," ",e.jsx(p,{to:"/help",className:"text-primary hover:underline",children:"Open the Help Center"}),"."]})]}),d.map(([s,a])=>e.jsxs("section",{className:"space-y-3",children:[e.jsx("h2",{className:"text-xs font-semibold uppercase tracking-wide text-muted-foreground",children:h(`${s}-01`).replace(/\s\d+,/,"")}),e.jsx(m,{className:"divide-y divide-border p-0",children:a.map(t=>e.jsx(u,{update:t,isNew:c.has(t.id)},t.id))})]},s))]})}export{k 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.