import{r as i,h as t}from"./p-5bf73c0f.js";const s=class{constructor(t){i(this,t);this.theme="ec";this.image=undefined;this.imageAlt=undefined;this.styleClass=undefined;this.border=true}getClass(){const i=[`sc-ecl-navigation-list-${this.theme}`,`ecl-navigation-list__item`,this.styleClass];if(!this.border){i.push("ecl-navigation-list__item--no-border")}return i.join(" ")}getImgClass(){const i=[`sc-ecl-navigation-list-${this.theme}`,`ecl-navigation-list__image`];return i.join(" ")}render(){return t("div",{class:this.getClass()},this.image?t("ecl-picture",{styleClass:`ecl-navigation-list__picture sc-ecl-navigation-list-${this.theme}`,image:this.image,imgClass:this.getImgClass(),imageAlt:this.imageAlt},t("slot",{name:"sources"})):"",t("slot",null))}};export{s as ecl_navigation_list_item};
//# sourceMappingURL=p-5201bee3.entry.js.map