import{p as e,H as s,h as a,t as l}from"./p-BHHBMN0G.js";const t=e(class extends s{constructor(e){super(),!1!==e&&this.__registerHost(),this.active=!1}getClass(){return["ecl-splash-page__language-item","sc-ecl-splash-page-"+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:"daf9f4642b4b1bbd3928dd0d566094ddac6884ee",class:this.getClass()},a("a",{key:"10f9e759ec98366abf4144f59e3871d988bfc6d3",href:this.path,class:`ecl-link ecl-link--standalone ecl-splash-page__language-link sc-ecl-splash-page-${this.theme} ${this.active?"ecl-splash-page__language-link--active":""}`},a("span",{key:"ac5badb84b4f02f2d3abefb77c55664b8733be30",class:"ecl-splash-page__language-link-code sc-ecl-splash-page-"+this.theme},this.langCode),a("span",{key:"d6a5f456274977711ca8edf4c6c136510b830c30",class:"ecl-splash-page__language-link-label sc-ecl-splash-page-"+this.theme},this.language)))}get el(){return this}},[0,"ecl-splash-page-language-item",{theme:[1025],styleClass:[1,"style-class"],path:[1],langCode:[1,"lang-code"],language:[1],active:[4]}]),c=t,n=function(){"undefined"!=typeof customElements&&["ecl-splash-page-language-item"].forEach((e=>{"ecl-splash-page-language-item"===e&&(customElements.get(l(e))||customElements.define(l(e),t))}))};export{c as EclSplashPageLanguageItem,n as defineCustomElement}