1import{D as e,On as t,Zn as n,_ as r,b as i,bt as a,g as o,k as s,mt as c,o as l,v as u}from"./DPmoNEl9.js";import{t as d}from"./CQTtwVOh.js";import{t as f}from"./CWTRR6uG.js";import{t as p}from"./JWLXofi2.js";import{t as m}from"./CQMUKX0L.js";import{t as h}from"./DIpfHLNe2.js";var g={class:`cardDefault group c-white rounded bg-gray/10 aspect-4/5 block select-none relative of-hidden`},_={class:`caption motion-relaxed size-full pointer-events-none relative relative z-2`},v={class:`p-5 text-center flex flex-col gap-y-3.5 size-full items-center justify-end relative`},y=Object.assign(s({__name:`CardDefault`,props:{tag:{},highlighted:{type:Boolean},preTitle:{},title:{},thumbnail:{},link:{},linkTitle:{}},setup(s){let y=s,b=o(()=>y.highlighted?[y.thumbnail[2]??y.thumbnail[0],y.thumbnail[3]??y.thumbnail[1]].filter(Boolean):[y.thumbnail[0],y.thumbnail[1]].filter(Boolean));return(o,y)=>{let x=p,S=h,C=d,w=m,T=f;return c(),i(`article`,g,[(c(!0),i(l,null,a(t(b),(e,t)=>(c(),u(x,{key:e?.id,media:e,alt:s.title||s.preTitle||s.tag,class:n([`media motion-relaxed will-change-transform size-full inset-0 absolute object-cover group-hover-media-mouse:scale-104`,{"z-1 opacity-0 group-hover-media-mouse:opacity-100":t!==0}])},null,8,[`media`,`alt`,`class`]))),128)),e(S,{label:s.tag,class:`m-5 motion-relaxed left-0 top-0 absolute z-1 backdrop-blur-sm group-hover-media-mouse:opacity-0`},null,8,[`label`]),r(`div`,_,[y[0]||=r(`div`,{class:`opacity-0 h-70% w-full pointer-events-none bottom-0 left-0 absolute from-transparent to-black/40 bg-gradient-to-b group-hover-media-mouse:opacity-100`},null,-1),r(`div`,v,[e(C,{text:s.preTitle,class:`typo-body-2 opacity-0 group-hover-media-mouse:opacity-100`},null,8,[`text`]),e(C,{text:s.title,class:`typo-heading-2 opacity-0 group-hover-media-mouse:opacity-100`},null,8,[`text`]),e(w,{to:s.link,title:s.linkTitle,class:`opacity-0 pointer-events-auto group-hover-media-mouse:opacity-100`},null,8,[`to`,`title`])])]),e(T,{tabindex:`-1`,to:s.link,"aria-label":s.title||s.preTitle||s.linkTitle||o.$t(`Open item`),class:`size-full inset-0 absolute z-1`},null,8,[`to`,`aria-label`])])}}}),{__name:`CardDefault`});export{y 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.