1import{_}from"./D5N6BOOH.js";import{_ as f}from"./DJndJcHT.js";import{n as h,o as n,d as b,J as g,q as r,k as y,s as e,j as C,K as l,L as R,l as S,N as k,P as B,a1 as P}from"./B40qZeQV.js";import{u as x}from"./BrSw5YsW.js";import"./CJn-Rygv.js";import"./ChgO7pBI.js";import"./CEnH1N1g.js";const N={key:0},T=h({__name:"TidePublicationSearchResultCard",props:{result:{},displayImage:{type:Boolean,default:!0},displayMeta:{type:Boolean,default:!0}},setup(t){const o=t,{title:i,url:c,summary:u,image:m}=x(o.result),s=k(()=>{const a=B(o.result,"field_publication_date");return a?P(a,{month:"long"}):""});return(a,V)=>{const p=_,d=f;return n(),b(d,{class:"tide-publication-search-result-card",image:t.displayImage?e(m):void 0,title:e(i),url:e(c),"data-component":"publication-search-card"},g({default:r(()=>[S("p",null,l(e(u)),1)]),_:2},[t.displayMeta?{name:"meta",fn:r(()=>[y(p,{label:"Publication",variant:"neutral"}),e(s)?(n(),C("span",N,l(e(s)),1)):R("",!0)]),key:"0"}:void 0]),1032,["image","title","url"])}}}),E=Object.assign(T,{__name:"TidePublicationSearchResultCard"});export{E as default};
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.