(()=>{function n(n,e,l,o,s,t){var i=this;_.assign(i,{$onInit:function(){i.configs=i.configs||[]},add:function(){s({templateUrl:":::PLUGIN_PATH:::/alarmsEventsTimelinesConfig/alarmsEventsTimelineConfig.modal.html",controller:"c8yAlarmsEventsTimelineConfigModalController",controllerAs:"vm",keyboard:!1,resolve:{config:function(){return{allowOnlyContextMo:i.allowAlarmsEventsFromContextMoOnly}}}}).then(function(n){i.configs=i.configs.concat(n)})},remove:function(n){_.pull(i.configs,n)},timelineTypes:t.TIMELINE_TYPES.values()})}n.$inject=["$q","c8yBase","c8yAlarms","c8yEvents","c8yModal","c8yAlarmsEventsTimelinesChartService"],angular.module("c8y.alarmsEventsExplorer").component("c8yAlarmsEventsTimelinesConfig",{bindings:{configs:"=",allowAlarmsEventsFromContextMoOnly:"<"},templateUrl:":::PLUGIN_PATH:::/alarmsEventsTimelinesConfig/alarmsEventsTimelinesConfig.html",controller:n,controllerAs:"vm"})})();