1import{_ as c}from"./BJNvnALV.js";import{u as n}from"./BtvKMRAp.js";import{D as r,E as l,F as e,R as s,u as i,N as d,P as m,Q as f}from"./BzqdGKr5.js";const _={class:"flex justify-between mb-6 last:mb-0 sm:items-center"},h={class:"flex-[0_0_25%] sm:flex-[0_0_40%]"},u=["href"],p=["src"],x={class:"pl-6 py-4 flex flex-col justify-between flex-1 sm:pl-4"},y=["href"],g={class:"text-league-secondary-900 text-cn-heading-6 font-bold sm:line-clamp-2 sm:text-cn-paragraph-lg"},b={class:"flex items-center justify-between mt-auto border-t border-league-secondary-200 pt-4"},j={class:"text-league-secondary-900 text-en-paragraph-md"},B={__name:"PostListItem",props:{post:{type:Object,required:!0}},setup(t){const a=n();return(w,v)=>{const o=c;return r(),l("div",_,[e("div",h,[e("a",{href:`/news/${t.post.id}`},[e("img",{src:t.post.thumbnail,alt:"article",class:"w-full aspect-[1/1] object-cover"},null,8,p)],8,u)]),e("div",x,[e("a",{href:`/news/${t.post.id}`,class:"mb-2"},[e("h4",g,s(t.post.title),1)],8,y),e("div",b,[e("span",j,s(i(a)(t.post.published_at).format("YYYY-MM-DD")),1),d(o,{category:t.post.category},{default:m(()=>[f(s(t.post.category?.title),1)]),_:1},8,["category"])])])])}}};export{B as _};
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.