(function(t,u,o){"use strict";functionc(e,n){if(!(einstanceofn))thrownewTypeError("Cannot call a class as a function")}functionf(e,n){for(varl=0;l<n.length;l++){vara=n[l];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"ina&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}functionr(e,n,l){returnn&&f(e.prototype,n),l&&f(e,l),e}leti;varg=new(function(){functione(){c(this,e)}returnr(e,[{key:"onLoad",value:function(){u.logger.log("Starting NoIdle..."),i=u.patcher.before("dispatch",o.FluxDispatcher,function(n){let[{type:l}]=n;if(l==="IDLE")return[{type:"IDLE",idle:!1}]})}},{key:"onUnload",value:function(){u.logger.log("Disabling NoIdle.."),i?.()}}]),e}());returnt.default=g,Object.defineProperty(t,"__esModule",{value:!0}),t})({},vendetta,vendetta.metro.common);