(window.webpackJsonp=window.webpackJsonp||[]).push([[79],{"./monitors/controllers/MonitorActivityDetailsController.js":function(t,e,i){"use strict";i.r(e),i.d(e,"default",(function(){return a}));var o=i("./monitors/stores/domain/MonitorActivityDetailsStore.js"),r=i("./monitors/stores/domain/MonitorConfigurationStore.js"),n=i("./monitors/stores/domain/MasterMonitorStore.js"),s=i("./js/services/NavigationService.js");class a{didCreate(){this.monitorActivityDetailsStore=new o.default,this.masterMonitorStore=new n.default;const t=s.default.getCurrentRouteParams("build.monitor").monitorPath.split("~").pop();this.store=new r.default({monitorId:t})}didActivate(){this.monitorActivityDetailsStore=new o.default,this.masterMonitorStore=new n.default;const t=s.default.getCurrentRouteParams("build.monitor").monitorPath.split("~").pop();this.store=new r.default({monitorId:t}),this.monitorActivityDetailsStore.setIsOpen(!0)}didDeactivate(){this.monitorActivityDetailsStore.setIsOpen(!1)}}},"./monitors/stores/domain/MonitorActivityDetailsStore.js":function(t,e,i){"use strict";i.r(e),i.d(e,"default",(function(){return c}));var o,r,n,s=i("../../node_modules/mobx/lib/mobx.module.js"),a=i("./monitors/stores/domain/MasterMonitorStore.js");function l(t,e,i,o){i&&Object.defineProperty(t,e,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(o):void 0})}function u(t,e,i,o,r){var n={};return Object.keys(o).forEach((function(t){n[t]=o[t]})),n.enumerable=!!n.enumerable,n.configurable=!!n.configurable,("value"in n||n.initializer)&&(n.writable=!0),n=i.slice().reverse().reduce((function(i,o){return o(t,e,i)||i}),n),r&&void 0!==n.initializer&&(n.value=n.initializer?n.initializer.call(r):void 0,n.initializer=void 0),void 0===n.initializer&&(Object.defineProperty(t,e,n),n=null),n}let c=(r=u((o=class{constructor(){l(this,"isOpen",r,this),l(this,"error",n,this),this.masterMonitorStore=new a.default}get isOffline(){return this.masterMonitorStore.isOffline}setIsOpen(t){this.isOpen=t}}).prototype,"isOpen",[s.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),n=u(o.prototype,"error",[s.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),u(o.prototype,"isOffline",[s.computed],Object.getOwnPropertyDescriptor(o.prototype,"isOffline"),o.prototype),u(o.prototype,"setIsOpen",[s.action],Object.getOwnPropertyDescriptor(o.prototype,"setIsOpen"),o.prototype),o)}}]);