1import{b as x,a as B,_ as C}from"./TAv26hBc.js";import{j as L,B as s,J as N,F as $,D as t,C as r,O as w,L as j,M as D,R as o,u as F}from"./CQ86KhXY.js";const R={class:"w-full h-0 pb-[69%] overflow-hidden relative bg-vp--main"},V=["srcset","width","height","src"],z={class:"card bg-vp--main py-2.5 lg:py-5 px-5 lg:px-10 lg:left-1/2 relative lg:bottom-20 font-bold"},A={key:0,class:"card-inner relative -top-5 -left-5 lg:-left-10 py-5 bg-black text-white overflow-hidden"},E={class:"w-[650%] lg:w-[900%] xl:w-[750%] flex top-2 animate-slide absolute top-0 left-0 h-20 py-1 lg:py-0"},I={class:"text-xl xl:text-2xl uppercase font-bold block"},J={class:"block xl:py-2.5 first-letter:uppercase font-normal"},M=L({__name:"ArticleThumbnail",props:{article:{},categories:{}},setup(O){const b=x(),k=(e,a)=>{if(!(!e||!a))return e.find(l=>l.id===a).title};return(e,a)=>{var i,c;const l=B;return s(),N(l,{class:"block relative w-full",to:`/${(i=e.article)==null?void 0:i.id}`,"aria-current":F(b).path.startsWith(`/${(c=e.article)==null?void 0:c.id}`)?"page":void 0},{default:$(()=>{var n,p,d,u,h,f,_,v;return[t("figure",R,[e.article.cover?(s(),r("img",{key:0,class:"w-full h-full object-cover top-0 left-0 absolute hover:scale-105 transition-all",srcset:(n=e.article.cover)==null?void 0:n.srcset,width:(p=e.article.cover)==null?void 0:p.width,height:(d=e.article.cover)==null?void 0:d.height,src:(u=e.article.cover)==null?void 0:u.url,sizes:`(min-width: 900px) 33vw, 2 (min-width: 600px) 25vw, 3 100vw`},null,8,V)):w("",!0)]),t("div",z,[(f=(h=e.article)==null?void 0:h.dates)!=null&&f.length?(s(),r("div",A,[t("div",E,[(s(),r(j,null,D(10,y=>{var m,g;return t("span",{key:y,class:"uppercase block w-fit pr-5 relative"},o((g=(m=e.article)==null?void 0:m.dates[0])==null?void 0:g.date),1)}),64))])])):w("",!0),t("h2",I,o((_=e.article)==null?void 0:_.title),1),t("span",J,o(k(e.categories,(v=e.article)==null?void 0:v.category)),1)])]}),_:1},8,["to","aria-current"])}}}),W=C(M,[["__scopeId","data-v-16719597"]]);export{W 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.