define(["require","exports"],function(t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var o=(e.prototype.start=function(t,i,o){var e,s=this._tickets;void 0!==s&&(this.stop(t),s[t]=function(){s[t]=void 0,clearTimeout(e)},e=setTimeout(function(){s[t]=void 0,o()},i))},e.prototype.repeat=function(t,i,o){var e,s=this._tickets;void 0!==s&&(this.stop(t),s[t]=function(){s[t]=void 0,clearInterval(e)},e=setInterval(o,i))},e.prototype.stop=function(t){var i=this._tickets;void 0===i||void 0!==(t=i[t])&&t()},e.prototype.dispose=function(){var t=this._tickets;if(void 0!==t)for(var i in this._tickets=void 0,t){i=t[i];void 0!==i&&i()}},e);function e(){this._tickets={}}i.TimerManager=o});