module.exports = "(function(t,n,i){var e=i(5894),s=i(4810),o=i(7152);function c(t){this.windowLength=t,this.count=0,this.listeners={},this.isIncrementingTick=!1}c.prototype.countCurrentTick=function(){this.isIncrementingTick||(this.isIncrementingTick=!0,this.increment(),o.setTimeout(e.bind((function(){this.isIncrementingTick=!1}),this),0))},c.prototype.increment=function(){this.count+=1,e.forEach(this.listeners[String(this.count)],(function(t){t()})),o.setTimeout(e.bind(this.decrement,this),this.windowLength)},c.prototype.decrement=function(){this.count-=1,this.count<0&&(s.warn(\"Decremented down to negative count: \",this.count),this.count=0)},c.prototype.addListener=function(t,n){this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push(n)},t.exports=c})";