import{r as t,h as i}from"./p-ytAlchvh.js";const s=class{constructor(i){t(this,i),this.theme="ec",this.border=!0}getClass(){const t=[`sc-ecl-navigation-list-${this.theme}`,"ecl-navigation-list__item",this.styleClass];return this.border||t.push("ecl-navigation-list__item--no-border"),this.variant&&t.push(`ecl-navigation-list__item--${this.variant}`),this.colorMode&&t.push(`ecl-color-mode--${this.colorMode}`),t.join(" ")}getImgClass(){return[`sc-ecl-navigation-list-${this.theme}`,"ecl-navigation-list__image"].join(" ")}render(){return i("div",{key:"787c18e9207527d9e8c939716b42630f9358fb73",class:this.getClass()},this.image?i("ecl-picture",{styleClass:`ecl-navigation-list__picture sc-ecl-navigation-list-${this.theme}`,image:this.image,imgClass:this.getImgClass(),imageAlt:this.imageAlt},i("slot",{name:"sources"})):"",i("slot",{key:"783e46298fe324204c441a4e4e7995b435669754"}))}};export{s as ecl_navigation_list_item}