import{r as e,h as a,a as s}from"./p-ytAlchvh.js";const c=class{constructor(a){e(this,a),this.active=!1}getClass(){return["ecl-site-header__language-item",`sc-ecl-site-header-${this.theme}`,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 a("li",{key:"cc712a342651fe4d19b6eef32e02c97fa0f1b4d6",class:this.getClass()},a("a",{key:"e796223e3928de6682a3c1e65c4a8d52dab7a568",href:this.path,class:`ecl-link ecl-link--standalone ecl-site-header__language-link sc-ecl-site-header-${this.theme} ${this.active?"ecl-site-header__language-link--active":""}`},a("span",{key:"141369cb1e3dbd616e5c56db3d5a9975c2e1c607",class:`ecl-site-header__language-link-code sc-ecl-site-header-${this.theme}`},this.langCode),a("span",{key:"3455c61e5536b452ef96c31eef3d0d0984b04c05",class:`ecl-site-header__language-link-label sc-ecl-site-header-${this.theme}`},this.language)))}get el(){return s(this)}};export{c as ecl_language_item}