1import{i as y,s as A,_ as k}from"./B8ZeSKCj.js";import{_ as $}from"./DnyOcqUd.js";import{u as h}from"./B6cBWuNM.js";import{g as N}from"./B5q9wg_P.js";import{y as S,F as T,W as L,Z as l,M as a,z as n,a0 as c,S as d,X as f,Y as u}from"./D8GgcCdU.js";const P={class:"flex cursor-pointer transition-opacity hover:opacity-90 items-center"},E={class:"flex-1"},I={class:"px-3 flex-1 flex flex-col justify-center"},z=S({__name:"Small",props:{article:{},textColor:{default:()=>"text-darkMain dark:text-grayLight"},eventActionType:{},eventActionPage:{}},setup(v){const t=v,{saveEventAction:_}=h(),{findPrimaryNavigation:g}=N(),s=g(t.article),C=y(t.article.Attachments[0],!0),p=A(t.article,s.name),i=e=>{t.eventActionType&&t.eventActionPage&&_({event:`${t.eventActionType}_${e}`,group:t.eventActionPage})};return(e,o)=>{const x=k,r=$;return L(),T("div",P,[l("div",E,[a(r,{to:n(p),onClick:o[0]||(o[0]=m=>i("CLICK"))},{default:c(()=>[a(x,{src:n(C),alt:e.article.Attachments[0].description},null,8,["src","alt"])]),_:1},8,["to"])]),l("div",I,[a(r,{to:n(s).url,class:d([`${e.textColor}`,"text-smallP font-bold uppercase leading-5 hover:opacity-75"]),onClick:o[1]||(o[1]=m=>i("CATEGORY_CLICK"))},{default:c(()=>[f(u(n(s).name),1)]),_:1},8,["to","class"]),l("h3",null,[a(r,{to:n(p),class:d([`${e.textColor}`,"line-clamp-3 text-p leading-[22px] hover:opacity-75"]),title:e.article.title,onClick:o[2]||(o[2]=m=>i("CLICK"))},{default:c(()=>[f(u(e.article.title),1)]),_:1},8,["to","class","title"])])])])}}});export{z 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.