import{r as t,h as s,H as e}from"./p-43e8bc5e.js";import{B as i}from"./p-ae86d0a0.js";import{b as a}from"./p-ba7ce81f.js";import{L as c}from"./p-fac18760.js";import"./p-4f82c566.js";import"./p-e680e7e4.js";import"./p-73aabc9d.js";import"./p-ba041fc5.js";import"./p-da187899.js";import"./p-ab217a42.js";import"./p-06d9cc63.js";const r=class{constructor(s){t(this,s),this.setHeadingLevel=()=>{this.headingLevel=a.isTouch?"h5":"h3"},this.color="white",this.headline=void 0,this.href=void 0,this.target="_self",this.tracking={},this.headingLevel=void 0}breakpointListener(t){this.setHeadingLevel()}connectedCallback(){this.setHeadingLevel()}render(){const t=i.block("nav").element("menu").element("list");return s(e,{class:Object.assign(Object.assign({},t.class()),t.modifier(`context-${this.color}`).class())},s("bal-card",{class:Object.assign({},t.element("card").class()),flat:!0,color:"grey"===this.color||"yellow"===this.color||"red"===this.color||"purple"===this.color||"green"===this.color?this.color:""},s("bal-card-content",null,this.href?s("a",Object.assign({href:this.href,target:this.target},this.tracking),s("bal-heading",{class:Object.assign({},t.element("card").element("heading").class()),level:this.headingLevel,space:"none"},this.headline)):s("bal-heading",{class:Object.assign({},t.element("card").element("heading").class()),level:this.headingLevel,space:"none"},this.headline),s("slot",{name:"links"}))))}};!function(t,s,e,i){var a,c=arguments.length,r=c<3?s:null===i?i=Object.getOwnPropertyDescriptor(s,e):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,s,e,i);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(r=(c<3?a(r):c>3?a(s,e,r):a(s,e))||r);c>3&&r&&Object.defineProperty(s,e,r)}([c()],r.prototype,"breakpointListener",null);const n=class{constructor(s){t(this,s),this.href=void 0,this.tracking={},this.target="_self"}render(){const t=i.block("nav").element("menu").element("list").element("item");return s(e,{class:Object.assign({},t.class())},s("a",Object.assign({class:Object.assign({},t.element("link").class()),href:this.href,target:this.target},this.tracking),s("slot",null)))}};export{r as bal_navigation_menu_list,n as bal_navigation_menu_list_item}