import{_ as l,m as u,o as d,c as n,n as s,v as c,a as t,q as m,t as a,u as v}from"./index.86346b70.js";import{t as _}from"./tools.c7b44144.js";const f={class:"research-img"},y=["src"],g={key:0,class:"featured"},S={class:"research-info"},C={class:"research-nav"},R={class:"research-author"},x={class:"research-date"},B=["innerHTML"],M={class:"research-content"},k={class:"research-nav"},D={class:"research-author"},b={__name:"ResearchCom",props:{type:String,data:Object,isMid:Boolean,isSma:Boolean},setup(e){const r=u(),h=i=>{r.push({path:"/ContentPages",query:{contentId:i}})};return(i,o)=>(d(),n("div",{class:"research-module flex",onClick:o[0]||(o[0]=T=>h(e.data.id))},[s(t("div",f,[t("img",{src:e.data.cover_image,alt:"The image cannot be displayed properly"},null,8,y),e.data.id<3?(d(),n("div",g," Featured ")):m("",!0)],512),[[c,!(e.isSma&&e.type==="searchResult")]]),t("div",S,[s(t("div",C,[t("div",R,a(e.data.author),1),t("div",x,a(v(_)(e.data.publishedtime)),1)],512),[[c,!e.isMid&&!e.isSma]]),t("div",{class:"research-title",innerHTML:e.data.title},null,8,B),t("div",M,a(e.data.description),1),s(t("div",k,[t("div",D,a(e.data.author),1)],512),[[c,e.isMid||e.isSma]])])]))}},w=l(b,[["__scopeId","data-v-fc35cd75"]]);export{w as R};