import{r as e,h as t}from"./p-ytAlchvh.js";const s=class{constructor(t){e(this,t),this.styleClass="",this.bannerTitle="",this.image="",this.size="m"}getClass(){return["ecl-carousel__item",this.styleClass].join(" ")}componentWillLoad(){var e;this.theme=null!==(e=document.documentElement.getAttribute("data-ecl-theme"))&&void 0!==e?e:this.theme||"ec"}render(){return t("div",{key:"b2c92f46d4a416c3be02d35a5f66ff327604794d",class:"ecl-carousel__slide",role:"group","aria-label":this.ariaLabel},t("ecl-banner",{key:"7878aa326631a323cc08ad68a46d8027d05a70d9","banner-title":this.bannerTitle,image:this.image,theme:this.theme,"cta-link":this.ctaLink,"cta-label":this.ctaLabel,size:this.size,credit:this.credit},t("slot",{key:"b9a63f8979df37b428796f89d7e9542d50bc46be"})))}};export{s as ecl_carousel_item}