import{p as e,H as s,h as t,t as c}from"./p-BHHBMN0G.js";import{d as a}from"./p-C1DHlsEo.js";const l=e(class extends s{constructor(e){super(),!1!==e&&this.__registerHost(),this.styleClass="",this.icon=""}getClass(){return["ecl-page-header__meta-item","sc-ecl-page-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 t("li",{key:"ec6783998e775726aecb12483b278ff4580870e3",class:this.getClass()},this.icon&&t("ecl-icon",{key:"6f082441396f226291c9b4e01f7ebe55d093c37d",icon:this.icon,size:"2xs",styleClass:"ecl-page-header__meta-icon"}),t("slot",{key:"766fe91f4d94ed153f37ee62ecb6506df55663f4"}))}},[260,"ecl-page-header-meta-item",{styleClass:[1,"style-class"],theme:[1025],icon:[1]}]),i=l,o=function(){"undefined"!=typeof customElements&&["ecl-page-header-meta-item","ecl-icon"].forEach((e=>{switch(e){case"ecl-page-header-meta-item":customElements.get(c(e))||customElements.define(c(e),l);break;case"ecl-icon":customElements.get(c(e))||a()}}))};export{i as EclPageHeaderMetaItem,o as defineCustomElement}