import { p as proxyCustomElement, H, h } from './p-604af0ee.js';
import { g as guid } from './p-97e3e910.js';
import { d as defineCustomElement$5 } from './p-115ed7c3.js';
import { d as defineCustomElement$4 } from './p-42103fc2.js';
import { d as defineCustomElement$3 } from './p-9efe8fae.js';
import { d as defineCustomElement$2 } from './p-1702d2da.js';
import { d as defineCustomElement$1 } from './p-66861708.js';

const SidePanelMenu = /*@__PURE__*/ proxyCustomElement(class SidePanelMenu extends H {
    constructor() {
        super();
        this.__registerHost();
        this.routes = [];
    }
    render() {
        return (h("ul", { key: '1074d36ee2279a6aa4c415bfac4edcada5f98567', class: "sidepanel__menu-list" }, this.routes.map((route, index) => (h("li", { key: guid() }, h("tab-component", { route: route }), index < this.routes.length - 1 && (h("div", { class: "sidepanel__menu-tab-divider" })))))));
    }
}, [0, "side-panel-menu", {
        "routes": [16]
    }]);
function defineCustomElement() {
    if (typeof customElements === "undefined") {
        return;
    }
    const components = ["side-panel-menu", "dga-icon-v2", "dga-tag", "submenu-component", "tab-component", "tab-link"];
    components.forEach(tagName => { switch (tagName) {
        case "side-panel-menu":
            if (!customElements.get(tagName)) {
                customElements.define(tagName, SidePanelMenu);
            }
            break;
        case "dga-icon-v2":
            if (!customElements.get(tagName)) {
                defineCustomElement$5();
            }
            break;
        case "dga-tag":
            if (!customElements.get(tagName)) {
                defineCustomElement$4();
            }
            break;
        case "submenu-component":
            if (!customElements.get(tagName)) {
                defineCustomElement$3();
            }
            break;
        case "tab-component":
            if (!customElements.get(tagName)) {
                defineCustomElement$2();
            }
            break;
        case "tab-link":
            if (!customElements.get(tagName)) {
                defineCustomElement$1();
            }
            break;
    } });
}

export { SidePanelMenu as S, defineCustomElement as d };

//# sourceMappingURL=p-63321048.js.map