import{_ as u,o as e,c as i,a as s,l as r,w as n,k as _,F as g,r as m,d as c,t as o,n as p,b as h,e as b}from"./entry.182f7a9e.js";const f={props:{post:{type:Object,required:!0}},computed:{postTitleExcerpt(){return this.post.title.rendered?this.post.title.rendered.length<=45?this.post.title.rendered:this.post.title.rendered.substring(0,45)+"...":""}}},x={class:"blog-single-grid"},k={class:"blog-image"},v=["src","alt"],N={class:"blog-info"},y={key:0,class:"blog-thumb-category"},B={class:"blog-meta"};function V(C,E,t,T,w,d){const l=b;return e(),i("div",x,[s("div",k,[t.post.post_img_thumbnail_large?(e(),r(l,{key:0,to:`/blog/${t.post.slug}`,class:"d-block",title:t.post.title.rendered},{default:n(()=>[s("img",{src:t.post.post_img_thumbnail_large,alt:t.post.title.rendered},null,8,v)]),_:1},8,["to","title"])):_("",!0)]),s("div",N,[t.post.post_categories.length?(e(),i("div",y,[(e(!0),i(g,null,m(t.post.post_categories,a=>(e(),r(l,{key:`post-cat-${a.term_id}`,to:"#",class:p(a.slug)},{default:n(()=>[c(o(a.name),1)]),_:2},1032,["class"]))),128))])):_("",!0),s("h6",null,[h(l,{to:`/blog/${t.post.slug}`,title:t.post.title.rendered},{default:n(()=>[c(o(d.postTitleExcerpt),1)]),_:1},8,["to","title"])]),s("div",B,o(t.post.post_date_formated)+" - "+o(t.post.reading_time)+" Read",1)])])}const L=u(f,[["render",V]]);export{L as _};
