1import{h as b,o as r,b as n,d as m,q as _,s as h,u as i,p as c,a as e,w as p,t as o,F as v,r as g,c as w,e as y,v as x,l as k,f as B}from"./app-C7gtE0Xd.js";const C={class:"post-item__wrapper"},N={class:"post-item__content pt-5 pl-5 pr-5 pb-3"},V={class:"post-item__meta"},F={class:"post-item__date mr-5"},q={class:"heading--md mt-4"},z={class:"mb-2 mt-4"},A={key:0,class:"px-4 py-3 border-t border-black border-opacity-10"},E={class:"tags"},S={__name:"PostItem",props:["fullwidth","post"],setup(t){const a=t,d=k(!1);b(()=>{requestAnimationFrame(()=>{d.value=!0})});const f=B(()=>{const u=a.post.url.split("").reduce((l,s)=>s.charCodeAt(0)+((l<<5)-l),0);return Math.abs(u)%5+1});return(u,l)=>(r(),n("div",{class:h(["post-item",[`post-item__style${f.value}`,{"post-item__fullwidth":a.fullwidth,"col-span-1 lg:col-span-3":a.fullwidth,"post-item--entered":d.value}]])},[m(i(c),{href:t.post.url,"aria-label":t.post.label,class:h(["post-item__thumbnail",{"w-full lg:w-1/2":a.fullwidth}]),style:_(`background-image: url('${a.fullwidth?t.post.cover:t.post.cover_thumb}')`)},null,8,["href","aria-label","class","style"]),e("div",C,[m(i(c),{href:t.post.url,"aria-label":t.post.label,class:"flex flex-col h-full"},{default:p(()=>[e("div",N,[e("div",V,[e("span",F,o(t.post.published_date),1)]),e("h3",q,o(t.post.label),1),e("p",z,o(t.post.excerpt),1)]),l[0]||(l[0]=e("div",{class:"px-5 pb-3"},[e("span",{class:"btn btn__link"}," Read more ")],-1))]),_:1},8,["href","aria-label"]),t.post.artists&&t.post.artists.length?(r(),n("div",A,[e("span",E,[(r(!0),n(v,null,g(t.post.artists,s=>(r(),w(i(c),{key:s.slug,href:s.url,class:"tags__item !my-0.5"},{default:p(()=>[y(o(s.first_name)+" "+o(s.last_name),1)]),_:2},1032,["href"]))),128))])])):x("",!0)])],2))}};export{S 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.