import{r as i,h as t,H as e}from"./p-90108212.js";import{B as s}from"./p-ae86d0a0.js";const r=class{constructor(t){i(this,t),this.linkHref=void 0,this.linkName=void 0,this.target="_self",this.elements=[],this.tracking={}}render(){const i=s.block("nav").element("menu");return t(e,{class:Object.assign({},i.class())},this.linkHref&&this.linkName&&t("div",{class:Object.assign({},i.element("link").class())},t("a",Object.assign({href:this.linkHref,target:this.target},this.tracking),this.linkName," ➞")),this.elements&&t("div",{style:{overflow:"hidden"}},t("div",{class:Object.assign({"columns is-multiline":!0},i.element("wrapper").class())},this.elements.some((i=>"white"===i.color))&&t("div",{class:{"bal-nav__menu__white-list__wrapper column is-full is-6-desktop is-two-thirds-widescreen":!0}},t("div",{class:Object.assign({},i.element("white-list").class())},this.elements.filter((i=>"white"===i.color)).map((i=>{var e;return i&&t("bal-navigation-menu-list",{headline:i.label,href:i.link,target:i.target,tracking:i.trackingData},t("div",{slot:"links"},null===(e=i.subLevels)||void 0===e?void 0:e.map((i=>t("bal-navigation-menu-list-item",{href:i.link,target:i.target,tracking:i.trackingData},i.label)))))})))),this.elements.some((i=>"grey"===i.color||"yellow"===i.color||"red"===i.color||"purple"===i.color||"green"===i.color))&&t("div",{class:Object.assign({"column is-full is-6-desktop is-one-third-widescreen":!0},i.element("grey-list").class())},this.elements.filter((i=>"grey"===i.color||"yellow"===i.color||"red"===i.color||"purple"===i.color||"green"===i.color)).map((i=>{var e;return t("bal-navigation-menu-list",{headline:i.label,href:i.link,color:i.color,target:i.target,tracking:i.trackingData},t("div",{slot:"links"},null===(e=i.subLevels)||void 0===e?void 0:e.map((i=>t("bal-navigation-menu-list-item",{href:i.link,target:i.target,tracking:i.trackingData},i.label)))))}))))))}};export{r as bal_navigation_menu}