1import{c as e}from"./useStore-IFFnP4Vt.js";import{H as t}from"./index-q7dLgUo4.js";import{i as n,t as r}from"./useColumnists-D3n7lGQn.js";var i=e(),a=`flex flex-wrap justify-center gap-x-6 gap-y-8 items-stretch`,o=`flex-1 basis-[calc(50%-0.75rem)] sm:basis-[calc(33.333%-1rem)] lg:basis-[calc(20%-1.2rem)] min-w-[150px] max-w-[240px]`,s=()=>{let{data:e=[],isLoading:s}=n();return s?(0,i.jsxs)(`section`,{className:`bg-card py-8 px-4 rounded-xs`,children:[(0,i.jsx)(`h2`,{className:`text-2xl font-bold mb-6 text-card-foreground`,children:`Colunistas`}),(0,i.jsx)(`div`,{className:a,children:Array.from({length:5}).map((e,t)=>(0,i.jsxs)(`div`,{className:`${o} flex flex-col items-center text-center animate-pulse`,children:[(0,i.jsx)(`div`,{className:`w-24 h-24 rounded-full bg-muted mb-3`}),(0,i.jsx)(`div`,{className:`h-3 w-20 bg-muted rounded-sm mb-2`}),(0,i.jsx)(`div`,{className:`h-2 w-16 bg-muted rounded-sm`})]},t))})]}):e.length===0?null:(0,i.jsxs)(`section`,{className:`bg-card py-8 px-4 rounded-xs`,children:[(0,i.jsx)(`h2`,{className:`text-2xl font-bold mb-6 text-card-foreground`,children:`Colunistas`}),(0,i.jsx)(`div`,{className:a,children:e.map(e=>(0,i.jsx)(t,{to:`/colunistas/${e.slug}`,className:`group ${o}`,children:(0,i.jsxs)(`article`,{className:`flex h-full flex-col items-center text-center`,children:[e.photo_url?(0,i.jsx)(`img`,{src:r(e.photo_url),alt:e.name,loading:`lazy`,className:`w-24 h-24 rounded-full object-cover mb-3 ring-2 ring-border group-hover:ring-accent transition-all`}):(0,i.jsx)(`div`,{className:`w-24 h-24 rounded-full bg-muted mb-3`}),(0,i.jsx)(`h3`,{className:`font-bold text-card-foreground mb-1 min-h-[3rem] flex items-center justify-center line-clamp-2`,children:e.name}),(0,i.jsx)(`p`,{className:`text-xs font-semibold text-accent mb-2 min-h-[1rem] line-clamp-1`,children:e.column_title||``}),(0,i.jsx)(`p`,{className:`text-sm text-muted-foreground group-hover:text-accent transition-colors line-clamp-2 min-h-[2.5rem]`,children:e.short_description||``})]})},e.id))})]})};export{s as t};
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.