var __awaiter=this&&this.__awaiter||function(t,e,n,r){return new(n||(n=Promise))(function(i,a){function o(t){try{s(r.next(t))}catch(t){a(t)}}function c(t){try{s(r["throw"](t))}catch(t){a(t)}}function s(t){t.done?i(t.value):new n(function(e){e(t.value)}).then(o,c)}s((r=r.apply(t,e||[])).next())})};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,a,o;return o={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function c(t){return function(e){return s([t,e])}}function s(o){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,i&&(a=o[0]&2?i["return"]:o[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,o[1])).done)return a;if(i=0,a)o=[o[0]&2,a.value];switch(o[0]){case 0:case 1:a=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;i=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){n.label=o[1];break}if(o[0]===6&&n.label<a[1]){n.label=a[1];a=o;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(o);break}if(a[2])n.ops.pop();n.trys.pop();continue}o=e.call(t,n)}catch(t){o=[6,t];i=0}finally{r=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-48e53d14.system.js"],function(t){"use strict";var e,n;return{setters:[function(t){e=t.r;n=t.h}],execute:function(){var r=function(){function t(t){e(this,t);this.indicatorType="underline"}t.prototype.getIndicatorClasses=function(){return{"mdc-tab-indicator__content":true,"mdc-tab-indicator__content--icon":this.indicatorType==="icon","mdc-tab-indicator__content--underline":this.indicatorType==="underline","material-icons":this.indicatorType==="icon"}};t.prototype.getTabClasses=function(){return{"mdc-tab":true,"mdc-tab--active":this.active,"mdc-tab--min-width":this.minWidth}};t.prototype.renderHtml=function(){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(t){return[2,Promise.resolve(n("button",{class:this.getTabClasses(),role:"tab","aria-selected":"true",tabindex:this.active?"0":"-1"},n("span",{class:"mdc-tab__content"},this.icon&&n("span",{class:"mdc-tab__icon material-icons","aria-hidden":"true"},this.icon),n("span",{class:"mdc-tab__text-label"},this.label?this.label:n("slot",null))),n("span",{class:{"mdc-tab-indicator":true,"mdc-tab-indicator--active":this.active}},n("span",{class:this.getIndicatorClasses()},this.indicatorType==="icon"&&"star")),n("span",{class:"mdc-tab__ripple"})))]})})};t.prototype.render=function(){return};Object.defineProperty(t,"style",{get:function(){return""},enumerable:true,configurable:true});return t}();t("materials_tab",r)}}});