1import m from"./Ge-tCLVo.js";import{g as s,j as g,w as u,u as o,c as p,f as c,i as e,l as n,p as r,t as i}from"./CvG0wzej.js";const b=["href"],f={class:"blog-card__image-wrapper spacing--is-mb-xsmall"},y=["src","alt"],_={key:0,class:"blog-card__copy spacing--is-mt-small spacing--is-mb-xxsmall"},h={class:"blog-card__button-wrapper"},k=["href"],w={__name:"CoterieBlogCard",props:{title:{type:String},copy:{type:String},ctaText:{type:String,default:"Read More"},ctaLink:{type:String,default:"#"},image:{type:Object,default:()=>({})},isFeatured:{type:Boolean,default:!1},publishedDate:{type:String,default:""},category:{type:String,default:""}},setup(t){const d=t,l=p(()=>{let a=d.ctaLink.split("/");return a.shift(),"/"+a.join("/")});return(a,x)=>(c(),s("a",{href:o(l),class:"blog-card-link"},[g(m,{className:"blog-card",wrapperClassName:"blog-card__content"},{default:u(()=>[e("div",f,[Object.keys(t.image).length>0?(c(),s("img",{key:0,class:"blog-card__image",src:t.image.source,alt:t.image.alt},null,8,y)):n("",!0)]),e("div",{class:r(["blog-card__text-content",{"spacing--is-mb-medium":!t.copy}])},[e("p",{class:r(["blog-card__title",{"spacing--is-mb-medium":!t.copy}])},i(t.title),3),t.copy?(c(),s("h5",_,i(t.copy),1)):n("",!0)],2),e("div",h,[e("a",{href:o(l),class:"button button--is-primary button--is-outlined"},i(t.ctaText),9,k)])]),_:1})],8,b))}};export{w 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.