Cube("static:/394.js",["static:/391.js"],function(a,b,c){Object.defineProperty(b,"__esModule",{value:!0}),b.deferWith=b.triggerAsync=b.trigger=b.listen=b.shouldEmit=b.preEmit=void 0;var d=c("static:/391.js"),e=function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);return b.default=a,b}(d),f=b.preEmit=function(){},g=b.shouldEmit=function(){return!0},h=b.listen=function(a,b){b=b||this;var c=function(c){e||a.apply(b,c)},d=this,e=!1;return this.emitter.addListener(this.eventLabel,c),function(){e=!0,d.emitter.removeListener(d.eventLabel,c)}},i=b.trigger=function(){var a=arguments,b=this.preEmit.apply(this,a);a=b===void 0?a:e.isArguments(b)?b:[].concat(b),this.shouldEmit.apply(this,a)&&this.emitter.emit(this.eventLabel,a)},j=b.triggerAsync=function(){var a=arguments,b=this;e.nextTick(function(){b.trigger.apply(b,a)})},k=b.deferWith=function(a){var b=this.trigger,c=this,d=function(){b.apply(c,arguments)};this.trigger=function(){a.apply(c,[d].concat([].splice.call(arguments,0)))}};return a.exports});