!function(e){"object"==typeof module&&"object"==typeof module.exports?e(require,exports):"function"==typeof define&&define.amd&&define(["require","exports","tslib","./deps/bluebird_fork"],e)}(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=e("tslib").__importDefault(e("./deps/bluebird_fork")),e=(o.prototype.activate=function(e){for(var t=0,o=this.factories;t<o.length;t++){var r=(0,o[t])(e.type);if(void 0!==r)return i.default.resolve(r)}return i.default.resolve(e)},o);function o(){this.factories=[]}t.Activator=e});