1import{_ as x,a as w,y as b,b as y,o as h,d as v,e,f as a,j as o,x as s,h as B,g as d,i as k,A as i,m as $,Q as C,B as L,N}from"./entry.87df7caf.js";import R from"./Send.4d1ffef3.js";const T={class:"section-card"},I={class:"wrap-card-home-blog"},P={class:"card-img"},V={class:"wrap-card-img"},A=["src"],H={class:"card-details"},M={class:"container-card-details"},j={class:"excerpt"},S={class:"excerpt"},q={class:"excerpt"},D={class:"excerpt"},E={class:"list-btn"},O=["href"],Q={__name:"CardHomeBlog",props:{data:{type:Object,required:!0}},setup(t){const{locale:_}=w(),l=b();y();const{public:{siteUrl:f}}=$(),m=r=>{let n,c=r.replace(/<\/?[^>]+(>|$)/g,"").split(" ").length;return c>0&&(n=`${Math.ceil(c/400)} min`),n};return(r,p)=>{const n=C,g=L,c=N,u=R;return h(),v("section",T,[e("div",I,[e("div",P,[e("div",V,[e("img",{src:t.data.image,alt:"Image hero"},null,8,A)])]),e("div",H,[e("div",M,[a(n,{font:"font16"},{default:o(()=>[e("span",j,s(t.data.title),1)]),_:1}),a(n,{font:"font14"},{default:o(()=>[e("span",S,s(t.data.excerpt),1)]),_:1}),t.data.category[0]?(h(),B(g,{key:0,to:`${d(l)("/blog-listing")}?category=${t.data.category[0].slug}`},{default:o(()=>[a(n,{font:"font11",color:"orange-1",class:"link-ashtag"},{default:o(()=>[e("div",q,"#"+s(t.data.category[0].name),1)]),_:1})]),_:1},8,["to"])):k("",!0),a(n,{font:"font15"},{default:o(()=>[e("span",D,s(t.data.date),1)]),_:1})]),e("div",E,[a(c,{font:"font14",color:"white",weight:"weight600",bg:"orange-1",to:d(l)(`/${t.data.slugLang[d(_)]}`)},{default:o(()=>[i(s(r.$t("Lire plus")),1)]),_:1},8,["to"]),a(c,{font:"font14",color:"black",weight:"weight600",bg:"gray-2",tag:"span"},{default:o(()=>[i(s(t.data.publication_type[0].name),1)]),_:1}),a(c,{font:"font14",color:"black",weight:"weight600",bg:"gray-2",tag:"span"},{default:o(()=>[i(s(m(t.data.description)),1)]),_:1}),e("a",{href:`https://www.linkedin.com/sharing/share-offsite/?url=${d(f)}${d(l)(`/${t.data.slugLang[d(_)]}`)}`,target:"_blank",title:""},[i(s(t.data.slug)+" ",1),a(u)],8,O)])])])])}}},F=x(Q,[["__scopeId","data-v-de032475"]]);export{F 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.