!function(t,e){"object"==typeofexports&&"object"==typeofmodule?module.exports=e():"function"==typeofdefine&&define.amd?define([],e):"object"==typeofexports?exports.io=e():t.io=e()}(self,(function(){returnfunction(t){vare={};functionn(r){if(e[r])returne[r].exports;varo=e[r]={i:r,l:!1,exports:{}};returnt[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}returnn.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeofSymbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)returnt;if(4&e&&"object"==typeoft&&t&&t.__esModule)returnt;varr=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeoft)for(varoint)n.d(r,o,function(e){returnt[e]}.bind(null,o));returnr},n.n=function(t){vare=t&&t.__esModule?function(){returnt.default}:function(){returnt};returnn.d(e,"a",e),e},n.o=function(t,e){returnObject.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=17)}([function(t,e,n){functionr(t){if(t)returnfunction(t){for(vareinr.prototype)t[e]=r.prototype[e];returnt}(t)}t.exports=r,r.prototype.on=r.prototype.addEventListener=function(t,e){returnthis._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this},r.prototype.once=function(t,e){functionn(){this.off(t,n),e.apply(this,arguments)}returnn.fn=e,this.on(t,n),this},r.prototype.off=r.prototype.removeListener=r.prototype.removeAllListeners=r.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)returnthis._callbacks={},this;varn,r=this._callbacks["$"+t];if(!r)returnthis;if(1==arguments.length)returndeletethis._callbacks["$"+t],this;for(varo=0;o<r.length;o++)if((n=r[o])===e||n.fn===e){r.splice(o,1);break}return0===r.length&&deletethis._callbacks["$"+t],this},r.prototype.emit=function(t){this._callbacks=this._callbacks||{};for(vare=newArray(arguments.length-1),n=this._callbacks["$"+t],r=1;r<arguments.length;r++)e[r-1]=arguments[r];if(n){r=0;for(varo=(n=n.slice(0)).length;r<o;++r)n[r].apply(this,e)}returnthis},r.prototype.listeners=function(t){returnthis._callbacks=this._callbacks||{},this._callbacks["$"+t]||[]},r.prototype.hasListeners=function(t){return!!this.listeners(t).length}},function(t,e,n){varr=n(23),o=n(24),i=String.fromCharCode(30);t.exports={protocol:4,encodePacket:r,encodePayload:function(t,e){varn=t.length,o=newArray(n),s=0;t.forEach((function(t,c){r(t,!1,(function(t){o[c]=t,++s===n&&e(o.join(i))}))}))},decodePacket:o,decodePayload:function(t,e){for(varn=t.split(i),r=[],s=0;s<n.length;s++){varc=o(n[s],e);if(r.push(c),"error"===c.type)break}returnr}}},function(t,e){t.exports="undefined"!=typeofself?self:"undefined"!=typeofwindow?window:Function("return this")()},function(t,e,n){functionr(t){return(r="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(t){returntypeoft}:function(t){returnt&&"function"==typeofSymbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeoft})(t)}functiono(t,e){for(varn=0;n<e.length;n++){varr=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}functioni(t,e){return(i=Object.setPrototypeOf||function(t,e){returnt.__proto__=e,t})(t,e)}functions(t){vare=function(){if("undefined"==typeofReflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeofProxy)return!0;try{returnDate.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();returnfunction(){varn,r=a(t);if(e){varo=a(this).constructor;n=Reflect.construct(r,arguments,o)}elsen=r.apply(this,arguments);returnc(this,n)}}functionc(t,e){return!e||"object"!==r(e)&&"function"!=typeofe?function(t){if(void0===t)thrownewReferenceError("this hasn't been initialised - super() hasn't been called");returnt}(t):e}functiona(t){return(a=Object.setPrototypeOf?Obj