import{r as e,h as r}from"./p-5bf73c0f.js";const c=".ecl-card.sc-ecl-card-ec{background-color:#f5f5f5;border:1px solid #cfcfcf;border-radius:0;box-shadow:none;box-sizing:border-box;margin:0;overflow:hidden;overflow-wrap:break-word;width:100%}.ecl-card__image.sc-ecl-card-ec{aspect-ratio:3/2;border:1px solid #cfcfcf;display:block;height:auto;margin-inline-end:1rem;margin-inline-start:1rem;margin-top:1rem;-o-object-fit:cover;object-fit:cover;width:calc(100% - 2rem - 2px)}.ecl-card__body.sc-ecl-card-ec{padding:1rem;position:relative}";const o='.ecl-card.sc-ecl-card-eu{background-color:#fff;border:0;border-radius:8px;box-shadow:0 2px 4px rgba(9,49,142,.08),0 0 10px rgba(9,49,142,.04),0 4px 5px rgba(9,49,142,.04),0 -4px 4px rgba(9,49,142,.04);box-sizing:border-box;margin:0;overflow:hidden;overflow-wrap:break-word;width:100%}.ecl-card__image.sc-ecl-card-eu{aspect-ratio:3/2;border:0 solid #cfdaf5;display:block;height:auto;margin-inline-end:0;margin-inline-start:0;margin-top:0;-o-object-fit:cover;object-fit:cover;width:100%}.ecl-card__body.sc-ecl-card-eu{padding:1.5rem;position:relative}.ecl-card__body.sc-ecl-card-eu:before{background-color:#fc0;border-bottom-left-radius:2px;border-bottom-right-radius:2px;content:"";height:4px;left:1.5rem;position:absolute;top:0;width:32px}';const i=class{constructor(r){e(this,r);this.styleClass="";this.theme="ec";this.image=undefined;this.imageAlt=undefined}getClass(){return[`ecl-card`,this.styleClass].join(" ")}render(){return r("article",{class:this.getClass()},r("ecl-picture",{image:this.image,imageAlt:this.imageAlt,imgClass:`ecl-card__image sc-ecl-card-${this.theme}`,styleClass:`ecl-card__picture sc-ecl-picture-${this.theme}`,"data-ecl-picture-link":true},r("slot",{name:"sources"})),r("div",{class:"ecl-card__body"},r("slot",null)))}};i.style={ec:c,eu:o};export{i as ecl_card};
//# sourceMappingURL=p-419b9432.entry.js.map