var __awaiter=this&&this.__awaiter||function(t,n,e,i){function r(t){return t instanceof e?t:new e((function(n){n(t)}))}return new(e||(e=Promise))((function(e,u){function a(t){try{c(i.next(t))}catch(t){u(t)}}function s(t){try{c(i["throw"](t))}catch(t){u(t)}}function c(t){t.done?e(t.value):r(t.value).then(a,s)}c((i=i.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var e={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},i,r,u,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(t){return function(n){return c([t,n])}}function c(s){if(i)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(e=0)),e)try{if(i=1,r&&(u=s[0]&2?r["return"]:s[0]?r["throw"]||((u=r["return"])&&u.call(r),0):r.next)&&!(u=u.call(r,s[1])).done)return u;if(r=0,u)s=[s[0]&2,u.value];switch(s[0]){case 0:case 1:u=s;break;case 4:e.label++;return{value:s[1],done:false};case 5:e.label++;r=s[1];s=[0];continue;case 7:s=e.ops.pop();e.trys.pop();continue;default:if(!(u=e.trys,u=u.length>0&&u[u.length-1])&&(s[0]===6||s[0]===2)){e=0;continue}if(s[0]===3&&(!u||s[1]>u[0]&&s[1]<u[3])){e.label=s[1];break}if(s[0]===6&&e.label<u[1]){e.label=u[1];u=s;break}if(u&&e.label<u[2]){e.label=u[2];e.ops.push(s);break}if(u[2])e.ops.pop();e.trys.pop();continue}s=n.call(t,e)}catch(t){s=[6,t];r=0}finally{i=u=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-432920d7.system.js","./p-6a7d2a93.system.js","./p-f5f6ecfe.system.js"],(function(t){"use strict";var n,e,i,r,u,a,s;return{setters:[function(t){n=t.r;e=t.c;i=t.h;r=t.H;u=t.g},function(t){a=t.r},function(t){s=t.a}],execute:function(){var c=t("bal_navigation_level_meta",function(){function t(t){n(this,t);this.balClick=e(this,"balClick",7);this.inheritAttributes={};this.label="";this.value="meta-value-".concat(o++);this.link=undefined;this.linkLabel=undefined;this.isTabLink=undefined}t.prototype.componentWillLoad=function(){this.inheritAttributes=s(this.el)};t.prototype.getLevelInfo=function(){return __awaiter(this,void 0,void 0,(function(){var t;var n=this;return __generator(this,(function(e){switch(e.label){case 0:return[4,a(this.el,"bal-navigation-level-main")];case 1:t=e.sent();return[2,{type:"meta",value:this.value,label:this.label,link:this.link,linkLabel:this.linkLabel,isTabLink:this.isTabLink,subLevels:t,trackingData:this.inheritAttributes,onClick:function(t){return n.balClick.emit(t)}}]}}))}))};t.prototype.render=function(){return i(r,null,i("slot",null))};Object.defineProperty(t.prototype,"el",{get:function(){return u(this)},enumerable:false,configurable:true});return t}());var o=0}}}));