(window.webpackJsonp=window.webpackJsonp||[]).push([[326],{2569:function(e,n,t){"use strict";t.r(n);var r=t(5),o=(t(22),t(39),t(13)),l={layout:"houseKeepingLayout",data:function(){return{refreshKey:0}},mounted:function(){var e=this;this._houseKeepingAlertsInterval=setInterval((function(){e.syncHouseKeepingAlerts()}),15e3),window.addEventListener("focus",this.handleResume),document.addEventListener("visibilitychange",this.handleVisibilityChange)},beforeDestroy:function(){clearInterval(this._houseKeepingAlertsInterval),window.removeEventListener("focus",this.handleResume),document.removeEventListener("visibilitychange",this.handleVisibilityChange)},methods:{syncHouseKeepingAlerts:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function n(){var t;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,o.a.syncHouseKeepingReactiveStaffAlerts();case 3:null!=(t=n.sent)&&t.changed&&(e.refreshKey+=1),n.next=10;break;case 7:n.prev=7,n.t0=n.catch(0),console.error("Error syncing house keeping alerts page:",n.t0);case 10:case"end":return n.stop()}}),n,null,[[0,7]])})))()},handleResume:function(){this.syncHouseKeepingAlerts()},handleVisibilityChange:function(){document.hidden||this.syncHouseKeepingAlerts()}}},c=t(10),component=Object(c.a)(l,(function(){var e=this._self._c;return e("div",[e("AlertsPage",{attrs:{isMobile:!0,role:"houseKeeping","refresh-key":this.refreshKey}})],1)}),[],!1,null,null,null);n.default=component.exports;installComponents(component,{AlertsPage:t(82).default})}}]);