var __awaiter=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function l(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){e.done?o(e.value):new n(function(t){t(e.value)}).then(l,a)}u((r=r.apply(e,t||[])).next())})},__generator=this&&this.__generator||function(e,t){var n,r,o,i,l={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;l;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return l.label++,{value:i[1],done:!1};case 5:l.label++,r=i[1],i=[0];continue;case 7:i=l.ops.pop(),l.trys.pop();continue;default:if(!(o=(o=l.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){l=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){l.label=i[1];break}if(6===i[0]&&l.label<o[1]){l.label=o[1],o=i;break}if(o&&l.label<o[2]){l.label=o[2],l.ops.push(i);break}o[2]&&l.ops.pop(),l.trys.pop();continue}i=t.call(e,l)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}};webmapgl.loadBundle("q4eox7cs",["exports","./chunk-b06c5cf8.js"],function(e,t){var n=window.webmapgl.h,r=function(){function e(){this.label=t._t("webmapgl.table-column-visibility.label")}return e.prototype.openModal=function(e){return __awaiter(this,void 0,void 0,function(){var t,n;return __generator(this,function(r){switch(r.label){case 0:return t={component:document.createElement("gl-table-column-visibility"),componentOptions:{tableId:this.tableId},event:e},[4,this.modalCtrl.create(t)];case 1:return[4,(n=r.sent()).present()];case 2:return r.sent(),[2,n]}})})},e.prototype.render=function(){var e=this;return n("ion-button",{onClick:function(t){return e.openModal(t)}},this.label)},Object.defineProperty(e,"is",{get:function(){return"gl-table-column-visibility-button"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"properties",{get:function(){return{label:{type:String,attr:"label"},modalCtrl:{connect:"ion-modal-controller"},tableId:{type:String,attr:"table-id"}}},enumerable:!0,configurable:!0}),e}();e.GlTableColumnVisibilityButton=r,Object.defineProperty(e,"__esModule",{value:!0})});