1import{j as t,al as r}from"./index-Dlc_Xpwz.js";const m={primary:{bg:"bg-primary/10",text:"text-primary"},amber:{bg:"bg-amber-500/10",text:"text-amber-600"},red:{bg:"bg-red-500/10",text:"text-red-600"},emerald:{bg:"bg-emerald-500/10",text:"text-emerald-600"},sky:{bg:"bg-sky-500/10",text:"text-sky-600"},violet:{bg:"bg-violet-500/10",text:"text-violet-600"},muted:{bg:"bg-muted",text:"text-muted-foreground"},rose:{bg:"bg-rose-500/10",text:"text-rose-600"},indigo:{bg:"bg-indigo-500/10",text:"text-indigo-600"}};function c({icon:s,tone:x="primary",value:e,label:d,compact:a,className:n,onClick:i,title:g}){const o=m[x],b=!!i;return t.jsxs("div",{onClick:i,className:r("rounded-xl border border-border/40 bg-card/80 p-4 transition-colors min-w-0",b&&"cursor-pointer hover:border-primary/40 hover:bg-card",n),children:[s&&t.jsx("div",{className:r("h-8 w-8 rounded-lg flex items-center justify-center mb-2",o.bg),children:t.jsx(s,{className:r("h-4 w-4",o.text)})}),t.jsx("p",{title:g??(typeof e=="string"?e:String(e)),className:r("font-extrabold font-heading truncate tabular-nums leading-tight",a?"text-sm sm:text-base":"text-lg sm:text-xl"),children:e}),t.jsx("p",{className:"text-[11px] text-muted-foreground font-medium",children:d})]})}export{c as S};
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.