Cube(581,[],function(a){function b(a,b,c){this.fn=a,this.context=b,this.once=c||!1}function c(){}var d=Object.prototype.hasOwnProperty,e="function"!==typeof Object.create&&"~";return c.prototype._events=void 0,c.prototype.eventNames=function(){var a,b=this._events,c=[];if(!b)return c;for(a in b)d.call(b,a)&&c.push(e?a.slice(1):a);return Object.getOwnPropertySymbols?c.concat(Object.getOwnPropertySymbols(b)):c},c.prototype.listeners=function(a,b){var c=e?e+a:a,d=this._events&&this._events[c];if(b)return!!d;if(!d)return[];if(d.fn)return[d.fn];for(var f=0,g=d.length,h=Array(g);f<g;f++)h[f]=d[f].fn;return h},c.prototype.emit=function(a,b,c,d,f,g){var h=e?e+a:a;if(!this._events||!this._events[h])return!1;var k,l,i=this._events[h],m=arguments.length;if("function"===typeof i.fn){switch(i.once&&this.removeListener(a,i.fn,void 0,!0),m){case 1:return i.fn.call(i.context),!0;case 2:return i.fn.call(i.context,b),!0;case 3:return i.fn.call(i.context,b,c),!0;case 4:return i.fn.call(i.context,b,c,d),!0;case 5:return i.fn.call(i.context,b,c,d,f),!0;case 6:return i.fn.call(i.context,b,c,d,f,g),!0;}for(l=1,k=Array(m-1);l<m;l++)k[l-1]=arguments[l];i.fn.apply(i.context,k)}else{var n,j=i.length;for(l=0;l<j;l++)switch(i[l].once&&this.removeListener(a,i[l].fn,void 0,!0),m){case 1:i[l].fn.call(i[l].context);break;case 2:i[l].fn.call(i[l].context,b);break;case 3:i[l].fn.call(i[l].context,b,c);break;default:if(!k)for(n=1,k=Array(m-1);n<m;n++)k[n-1]=arguments[n];i[l].fn.apply(i[l].context,k);}}return!0},c.prototype.on=function(a,c,d){var f=new b(c,d||this),g=e?e+a:a;return this._events||(this._events=e?{}:Object.create(null)),this._events[g]?this._events[g].fn?this._events[g]=[this._events[g],f]:this._events[g].push(f):this._events[g]=f,this},c.prototype.once=function(a,c,d){var f=new b(c,d||this,!0),g=e?e+a:a;return this._events||(this._events=e?{}:Object.create(null)),this._events[g]?this._events[g].fn?this._events[g]=[this._events[g],f]:this._events[g].push(f):this._events[g]=f,this},c.prototype.removeListener=function(a,b,c,d){var f=e?e+a:a;if(!this._events||!this._events[f])return this;var g=this._events[f],h=[];if(b)if(g.fn)(g.fn!==b||d&&!g.once||c&&g.context!==c)&&h.push(g);else for(var j=0,i=g.length;j<i;j++)(g[j].fn!==b||d&&!g[j].once||c&&g[j].context!==c)&&h.push(g[j]);return h.length?this._events[f]=1===h.length?h[0]:h:delete this._events[f],this},c.prototype.removeAllListeners=function(a){return this._events?(a?delete this._events[e?e+a:a]:this._events=e?{}:Object.create(null),this):this},c.prototype.off=c.prototype.removeListener,c.prototype.addListener=c.prototype.on,c.prototype.setMaxListeners=function(){return this},c.prefixed=e,"undefined"!==typeof a&&(a.exports=c),a.exports});
Cube("static:/391.js",[],function(a,b,c){function d(a){var b="undefined"===typeof a?"undefined":g(a);return"function"===b||"object"===b&&!!a}function e(a){return"object"===("undefined"===typeof a?"undefined":g(a))&&"callee"in a&&"number"===typeof a.length}var f="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"===typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a};Object.defineProperty(b,"__esModule",{value:!0});var g="function"===typeof Symbol&&"symbol"===f(Symbol.iterator)?function(a){return"undefined"===typeof a?"undefined":f(a)}:function(a){return a&&"function"===typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":"undefined"===typeof a?"undefined":f(a)};return b.capitalize=function(a){return a.charAt(0).toUpperCase()+a.slice(1)},b.callbackName=function(a,c){return c=c||"on",c+b.capitalize(a)},b.isObject=d,b.extend=function(a){if(!d(a))return a;for(var b,c,e,f=1,g=arguments.length;f<g;f++){b=arguments[f],c=Object.keys(b);for(var h=0;h<c.length;h++)if(e=c[h],Object.getOwnPropertyDescriptor&&Object.defineProperty){var i=Object.getOwnPropertyDescriptor(b,e);Object.defineProperty(a,e,i)}else a[e]=b[e]}return a},b.isFunction=function(a){return"function"===typeof a},b.nextTick=function(a){setTimeout(a,0)},b.object=function(a,b){for(var c={},d=0;d<a.length;d++)c[a[d]]=b[d];return c},b.isArguments=e,b.throwIf=function(a,b){if(a)throw Error(b||a)},b.EventEmitter=c(581),a.exports});