import{r as t,c as i,h as s,H as a,g as e}from"./p-43e8bc5e.js";import{r as l}from"./p-13ab58cb.js";import{a as n}from"./p-e4c2dcfc.js";const o=class{constructor(s){t(this,s),this.balClick=i(this,"balClick",7),this.inheritAttributes={},this.label="",this.value="meta-value-"+h++,this.link=void 0,this.linkLabel=void 0,this.isTabLink=void 0}componentWillLoad(){this.inheritAttributes=n(this.el)}async getLevelInfo(){const t=await l(this.el,"bal-navigation-level-main");return{type:"meta",value:this.value,label:this.label,link:this.link,linkLabel:this.linkLabel,isTabLink:this.isTabLink,subLevels:t,trackingData:this.inheritAttributes,onClick:t=>this.balClick.emit(t)}}render(){return s(a,null,s("slot",null))}get el(){return e(this)}};let h=0;export{o as bal_navigation_level_meta}