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