1import{j as t}from"./chunk-LFPYN7LY-BdYBcLxf.js";import{L as o}from"./footer-BnjDm4X6.js";function c(s){const e=s.trim().split(/\s+/).filter(Boolean);if(e.length===0)return"";const a=e[0][0],r=e.length>1?e[e.length-1][0]:"";return`${a}${r}`.toUpperCase()}function m(s){const{name:e,avatarUrl:a}=s;return a?t.jsx("img",{src:a,alt:"",width:80,height:80,loading:"lazy",decoding:"async",className:"size-20 shrink-0 rounded-full object-cover"}):t.jsx("div",{"aria-hidden":"true",className:"flex size-20 shrink-0 select-none items-center justify-center rounded-full bg-gray-100 text-2xl font-semibold text-gray-500",children:c(e)})}function x(s){const{author:e,headingLevel:a="h2",label:r,clampBio:i=!1}=s,l=a,n=e.bio?.trim();return t.jsxs("div",{className:"flex items-start gap-5",children:[t.jsx(m,{name:e.name,avatarUrl:e.avatarUrl}),t.jsxs("div",{className:"flex min-w-0 flex-col items-start gap-3",children:[r&&t.jsx("p",{className:"text-sm uppercase leading-tight",children:r}),t.jsx(l,{className:"text-3xl font-bold leading-tight",children:e.profilePath?t.jsx(o,{to:e.profilePath,className:"transition-colors hover:text-brand",children:e.name}):e.name}),n&&t.jsx("p",{className:`max-w-prose whitespace-pre-line text-base leading-relaxed text-gray-700 ${i?"line-clamp-3":""}`,children:n})]})]})}export{x as A};
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.