import { p as proxyCustomElement, H, h, c as Host } from './p-604af0ee.js';

const DgaSecondNavHeaderItem = /*@__PURE__*/ proxyCustomElement(class DgaSecondNavHeaderItem extends H {
    constructor() {
        super();
        this.__registerHost();
    }
    connectedCallback() {
        this.el.childNodes.forEach((item) => {
            const el = item;
            if (el.tagName === 'DGA-ICON'.toLocaleUpperCase() && el.attributes.getNamedItem('slot') === null) {
                el.setAttribute('slot', 'icon');
            }
        });
    }
    render() {
        return (h(Host, { key: '4d2ca1cf5c638f5647d9f80f47aa505455434576' }, h("slot", { key: '9aaf12cbe019b34b41e8cbed03b508b1c0d01a28', name: 'icon' }), h("slot", { key: 'adccc572b834f22150efdae46405800b5f5b588a', name: 'label' }, this.label)));
    }
    get el() { return this; }
}, [4, "dga-second-nav-header-item", {
        "label": [1]
    }]);
function defineCustomElement() {
    if (typeof customElements === "undefined") {
        return;
    }
    const components = ["dga-second-nav-header-item"];
    components.forEach(tagName => { switch (tagName) {
        case "dga-second-nav-header-item":
            if (!customElements.get(tagName)) {
                customElements.define(tagName, DgaSecondNavHeaderItem);
            }
            break;
    } });
}

export { DgaSecondNavHeaderItem as D, defineCustomElement as d };

//# sourceMappingURL=p-5bada260.js.map