{"ast":null,"code":"require(\"core-js/modules/es.array.push.js\");\nrequire(\"core-js/modules/es.typed-array.to-reversed.js\");\nrequire(\"core-js/modules/es.typed-array.to-sorted.js\");\nrequire(\"core-js/modules/es.typed-array.with.js\");\nrequire(\"core-js/modules/web.dom-exception.stack.js\");\nrequire(\"core-js/modules/es.regexp.flags.js\");\n!function (t, e) {\n \"object\" == typeof exports && \"object\" == typeof module ? module.exports = e() : \"function\" == typeof define && define.amd ? define([], e) : \"object\" == typeof exports ? exports.VueSocketIO = e() : t.VueSocketIO = e();\n}(\"undefined\" != typeof self ? self : this, function () {\n return function (t) {\n var e = {};\n function r(n) {\n if (e[n]) return e[n].exports;\n var o = e[n] = {\n i: n,\n l: !1,\n exports: {}\n };\n return t[n].call(o.exports, o, o.exports, r), o.l = !0, o.exports;\n }\n return r.m = t, r.c = e, r.d = function (t, e, n) {\n r.o(t, e) || Object.defineProperty(t, e, {\n enumerable: !0,\n get: n\n });\n }, r.r = function (t) {\n \"undefined\" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(t, Symbol.toStringTag, {\n value: \"Module\"\n }), Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n }, r.t = function (t, e) {\n if (1 & e && (t = r(t)), 8 & e) return t;\n if (4 & e && \"object\" == typeof t && t && t.__esModule) return t;\n var n = Object.create(null);\n if (r.r(n), Object.defineProperty(n, \"default\", {\n enumerable: !0,\n value: t\n }), 2 & e && \"string\" != typeof t) for (var o in t) r.d(n, o, function (e) {\n return t[e];\n }.bind(null, o));\n return n;\n }, r.n = function (t) {\n var e = t && t.__esModule ? function () {\n return t.default;\n } : function () {\n return t;\n };\n return r.d(e, \"a\", e), e;\n }, r.o = function (t, e) {\n return Object.prototype.hasOwnProperty.call(t, e);\n }, r.p = \"\", r(r.s = 23);\n }([function (t, e, r) {\n (function (n) {\n function o() {\n var t;\n try {\n t = e.storage.debug;\n } catch (t) {}\n return !t && void 0 !== n && \"env\" in n && (t = n.env.DEBUG), t;\n }\n (e = t.exports = r(26)).log = function () {\n return \"object\" == typeof console && console.log && Function.prototype.apply.call(console.log, console, arguments);\n }, e.formatArgs = function (t) {\n var r = this.useColors;\n if (t[0] = (r ? \"%c\" : \"\") + this.namespace + (r ? \" %c\" : \" \") + t[0] + (r ? \"%c \" : \" \") + \"+\" + e.humanize(this.diff), !r) return;\n var n = \"color: \" + this.color;\n t.splice(1, 0, n, \"color: inherit\");\n var o = 0,\n i = 0;\n t[0].replace(/%[a-zA-Z%]/g, function (t) {\n \"%%\" !== t && (o++, \"%c\" === t && (i = o));\n }), t.splice(i, 0, n);\n }, e.save = function (t) {\n try {\n null == t ? e.storage.removeItem(\"debug\") : e.storage.debug = t;\n } catch (t) {}\n }, e.load = o, e.useColors = function () {\n if (\"undefined\" != typeof window && window.process && \"renderer\" === window.process.type) return !0;\n if (\"undefined\" != typeof navigator && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\\/(\\d+)/)) return !1;\n return \"undefined\" != typeof document && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || \"undefined\" != typeof window && window.console && (window.console.firebug || window.console.exception && window.console.table) || \"undefined\" != typeof navigator && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\\/(\\d+)/) && parseInt(RegExp.$1, 10) >= 31 || \"undefined\" != typeof navigator && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\\/(\\d+)/);\n }, e.storage = \"undefined\" != typeof chrome && void 0 !== chrome.storage ? chrome.storage.local : function () {\n try {\n return window.localStorage;\n } catch (t) {}\n }(), e.colors = [\"#0000CC\", \"#0000FF\", \"#0033CC\", \"#0033FF\", \"#0066CC\", \"#0066FF\", \"#0099CC\", \"#0099FF\", \"#00CC00\", \"#00CC33\", \"#00CC66\", \"#00CC99\", \"#00CCCC\", \"#00CCFF\", \"#3300CC\", \"#3300FF\", \"#3333CC\", \"#3333FF\", \"#3366CC\", \"#3366FF\", \"#3399CC\", \"#3399FF\", \"#33CC00\", \"#33CC33\", \"#33CC66\", \"#33CC99\", \"#33CCCC\", \"#33CCFF\", \"#6600CC\", \"#6600FF\", \"#6633CC\", \"#6633FF\", \"#66CC00\", \"#66CC33\", \"#9900CC\", \"#9900FF\", \"#9933CC\", \"#9933FF\", \"#99CC00\", \"#99CC33\", \"#CC0000\", \"#CC0033\", \"#CC0066\", \"#CC0099\", \"#CC00CC\", \"#CC00FF\", \"#CC3300\", \"#CC3333\", \"#CC3366\", \"#CC3399\", \"#CC33CC\", \"#CC33FF\", \"#CC6600\", \"#CC6633\", \"#CC9900\", \"#CC9933\", \"#CCCC00\", \"#CCCC33\", \"#FF0000\", \"#FF0033\", \"#FF0066\", \"#FF0099\", \"#FF00CC\", \"#FF00FF\", \"#FF3300\", \"#FF3333\", \"#FF3366\", \"#FF3399\", \"#FF33CC\", \"#FF33FF\", \"#FF6600\", \"#FF6633\", \"#FF9900\", \"#FF9933\", \"#FFCC00\", \"#FFCC33\"], e.formatters.j = function (t) {\n try {\n return JSON.stringify(t);\n } catch (t) {\n return \"[UnexpectedJSONParseError]: \" + t.message;\n }\n }, e.enable(o());\n }).call(this, r(25));\n }, function (t, e, r) {\n function n(t) {\n if (t) return function (t) {\n for (var e in n.prototype) t[e] = n.prototype[e];\n return t;\n }(t);\n }\n t.exports = n, n.prototype.on = n.prototype.addEventListener = function (t, e) {\n return this._callbacks = this._callbacks || {}, (this._callbacks[\"$\" + t] = this._callbacks[\"$\" + t] || []).push(e), this;\n }, n.prototype.once = function (t, e) {\n function r() {\n this.off(t, r), e.apply(this, arguments);\n }\n return r.fn = e, this.on(t, r), this;\n }, n.prototype.off = n.prototype.removeListener = n.prototype.removeAllListeners = n.prototype.removeEventListener = function (t, e) {\n if (this._callbacks = this._callbacks || {}, 0 == arguments.length) return this._callbacks = {}, this;\n var r,\n n = this._callbacks[\"$\" + t];\n if (!n) return this;\n if (1 == arguments.length) return delete this._callbacks[\"$\" + t], this;\n for (var o = 0; o < n.length; o++) if ((r = n[o]) === e || r.fn === e) {\n n.splice(o, 1);\n break;\n }\n return this;\n }, n.prototype.emit = function (t) {\n this._callbacks = this._callbacks || {};\n var e = [].slice.call(arguments, 1),\n r = this._callbacks[\"$\" + t];\n if (r) for (var n = 0, o = (r = r.slice(0)).length; n < o; ++n) r[n].apply(this, e);\n return this;\n }, n.prototype.listeners = function (t) {\n return this._callbacks = this._callbacks || {}, this._callbacks[\"$\" + t] || [];\n }, n.prototype.hasListeners = function (t) {\n return !!this.listeners(t).length;\n };\n }, function (t, e, r) {\n var n,\n o = r(36),\n i = r(16),\n s = r(37),\n a = r(38),\n c = r(39);\n \"undefined\" != typeof ArrayBuffer && (n = r(40));\n var u = \"undefined\" != typeof navigator && /Android/i.test(navigator.userAgent),\n h = \"undefined\" != typeof navigator && /PhantomJS/i.test(navigator.userAgent),\n f = u || h;\n e.protocol = 3;\n var p = e.packets = {\n open: 0,\n close: 1,\n ping: 2,\n pong: 3,\n message: 4,\n upgrade: 5,\n noop: 6\n },\n l = o(p),\n d = {\n type: \"error\",\n data: \"parser error\"\n },\n y = r(41);\n function g(t, e, r) {\n for (var n = new Array(t.length), o = a(t.length, r), i = function (t, r, o) {\n e(r, function (e, r) {\n n[t] = r, o(e, n);\n });\n }, s = 0; s < t.length; s++) i(s, t[s], o);\n }\n e.encodePacket = function (t, r, n, o) {\n \"function\" == typeof r && (o = r, r = !1), \"function\" == typeof n && (o = n, n = null);\n var i = void 0 === t.data ? void 0 : t.data.buffer || t.data;\n if (\"undefined\" != typeof ArrayBuffer && i instanceof ArrayBuffer) return function (t, r, n) {\n if (!r) return e.encodeBase64Packet(t, n);\n var o = t.data,\n i = new Uint8Array(o),\n s = new Uint8Array(1 + o.byteLength);\n s[0] = p[t.type];\n for (var a = 0; a < i.length; a++) s[a + 1] = i[a];\n return n(s.buffer);\n }(t, r, o);\n if (void 0 !== y && i instanceof y) return function (t, r, n) {\n if (!r) return e.encodeBase64Packet(t, n);\n if (f) return function (t, r, n) {\n if (!r) return e.encodeBase64Packet(t, n);\n var o = new FileReader();\n return o.onload = function () {\n e.encodePacket({\n type: t.type,\n data: o.result\n }, r, !0, n);\n }, o.readAsArrayBuffer(t.data);\n }(t, r, n);\n var o = new Uint8Array(1);\n o[0] = p[t.type];\n var i = new y([o.buffer, t.data]);\n return n(i);\n }(t, r, o);\n if (i && i.base64) return function (t, r) {\n var n = \"b\" + e.packets[t.type] + t.data.data;\n return r(n);\n }(t, o);\n var s = p[t.type];\n return void 0 !== t.data && (s += n ? c.encode(String(t.data), {\n strict: !1\n }) : String(t.data)), o(\"\" + s);\n }, e.encodeBase64Packet = function (t, r) {\n var n,\n o = \"b\" + e.packets[t.type];\n if (void 0 !== y && t.data instanceof y) {\n var i = new FileReader();\n return i.onload = function () {\n var t = i.result.split(\",\")[1];\n r(o + t);\n }, i.readAsDataURL(t.data);\n }\n try {\n n = String.fromCharCode.apply(null, new Uint8Array(t.data));\n } catch (e) {\n for (var s = new Uint8Array(t.data), a = new Array(s.length), c = 0; c < s.length; c++) a[c] = s[c];\n n = String.fromCharCode.apply(null, a);\n }\n return o += btoa(n), r(o);\n }, e.decodePacket = function (t, r, n) {\n if (void 0 === t) return d;\n if (\"string\" == typeof t) {\n if (\"b\" === t.charAt(0)) return e.decodeBase64Packet(t.substr(1), r);\n if (n && !1 === (t = function (t) {\n try {\n t = c.decode(t, {\n strict: !1\n });\n } catch (t) {\n return !1;\n }\n return t;\n }(t))) return d;\n var o = t.charAt(0);\n return Number(o) == o && l[o] ? t.length > 1 ? {\n type: l[o],\n data: t.substring(1)\n } : {\n type: l[o]\n } : d;\n }\n o = new Uint8Array(t)[0];\n var i = s(t, 1);\n return y && \"blob\" === r && (i = new y([i])), {\n type: l[o],\n data: i\n };\n }, e.decodeBase64Packet = function (t, e) {\n var r = l[t.charAt(0)];\n if (!n) return {\n type: r,\n data: {\n base64: !0,\n data: t.substr(1)\n }\n };\n var o = n.decode(t.substr(1));\n return \"blob\" === e && y && (o = new y([o])), {\n type: r,\n data: o\n };\n }, e.encodePayload = function (t, r, n) {\n \"function\" == typeof r && (n = r, r = null);\n var o = i(t);\n if (r && o) return y && !f ? e.encodePayloadAsBlob(t, n) : e.encodePayloadAsArrayBuffer(t, n);\n if (!t.length) return n(\"0:\");\n g(t, function (t, n) {\n e.encodePacket(t, !!o && r, !1, function (t) {\n n(null, function (t) {\n return t.length + \":\" + t;\n }(t));\n });\n }, function (t, e) {\n return n(e.join(\"\"));\n });\n }, e.decodePayload = function (t, r, n) {\n if (\"string\" != typeof t) return e.decodePayloadAsBinary(t, r, n);\n var o;\n if (\"function\" == typeof r && (n = r, r = null), \"\" === t) return n(d, 0, 1);\n for (var i, s, a = \"\", c = 0, u = t.length; c < u; c++) {\n var h = t.charAt(c);\n if (\":\" === h) {\n if (\"\" === a || a != (i = Number(a))) return n(d, 0, 1);\n if (a != (s = t.substr(c + 1, i)).length) return n(d, 0, 1);\n if (s.length) {\n if (o = e.decodePacket(s, r, !1), d.type === o.type && d.data === o.data) return n(d, 0, 1);\n if (!1 === n(o, c + i, u)) return;\n }\n c += i, a = \"\";\n } else a += h;\n }\n return \"\" !== a ? n(d, 0, 1) : void 0;\n }, e.encodePayloadAsArrayBuffer = function (t, r) {\n if (!t.length) return r(new ArrayBuffer(0));\n g(t, function (t, r) {\n e.encodePacket(t, !0, !0, function (t) {\n return r(null, t);\n });\n }, function (t, e) {\n var n = e.reduce(function (t, e) {\n var r;\n return t + (r = \"string\" == typeof e ? e.length : e.byteLength).toString().length + r + 2;\n }, 0),\n o = new Uint8Array(n),\n i = 0;\n return e.forEach(function (t) {\n var e = \"string\" == typeof t,\n r = t;\n if (e) {\n for (var n = new Uint8Array(t.length), s = 0; s < t.length; s++) n[s] = t.charCodeAt(s);\n r = n.buffer;\n }\n o[i++] = e ? 0 : 1;\n var a = r.byteLength.toString();\n for (s = 0; s < a.length; s++) o[i++] = parseInt(a[s]);\n o[i++] = 255;\n for (n = new Uint8Array(r), s = 0; s < n.length; s++) o[i++] = n[s];\n }), r(o.buffer);\n });\n }, e.encodePayloadAsBlob = function (t, r) {\n g(t, function (t, r) {\n e.encodePacket(t, !0, !0, function (t) {\n var e = new Uint8Array(1);\n if (e[0] = 1, \"string\" == typeof t) {\n for (var n = new Uint8Array(t.length), o = 0; o < t.length; o++) n[o] = t.charCodeAt(o);\n t = n.buffer, e[0] = 0;\n }\n var i = (t instanceof ArrayBuffer ? t.byteLength : t.size).toString(),\n s = new Uint8Array(i.length + 1);\n for (o = 0; o < i.length; o++) s[o] = parseInt(i[o]);\n if (s[i.length] = 255, y) {\n var a = new y([e.buffer, s.buffer, t]);\n r(null, a);\n }\n });\n }, function (t, e) {\n return r(new y(e));\n });\n }, e.decodePayloadAsBinary = function (t, r, n) {\n \"function\" == typeof r && (n = r, r = null);\n for (var o = t, i = []; o.byteLength > 0;) {\n for (var a = new Uint8Array(o), c = 0 === a[0], u = \"\", h = 1; 255 !== a[h]; h++) {\n if (u.length > 310) return n(d, 0, 1);\n u += a[h];\n }\n o = s(o, 2 + u.length), u = parseInt(u);\n var f = s(o, 0, u);\n if (c) try {\n f = String.fromCharCode.apply(null, new Uint8Array(f));\n } catch (t) {\n var p = new Uint8Array(f);\n f = \"\";\n for (h = 0; h < p.length; h++) f += String.fromCharCode(p[h]);\n }\n i.push(f), o = s(o, u);\n }\n var l = i.length;\n i.forEach(function (t, o) {\n n(e.decodePacket(t, r, !0), o, l);\n });\n };\n }, function (t, e) {\n e.encode = function (t) {\n var e = \"\";\n for (var r in t) t.hasOwnProperty(r) && (e.length && (e += \"&\"), e += encodeURIComponent(r) + \"=\" + encodeURIComponent(t[r]));\n return e;\n }, e.decode = function (t) {\n for (var e = {}, r = t.split(\"&\"), n = 0, o = r.length; n < o; n++) {\n var i = r[n].split(\"=\");\n e[decodeURIComponent(i[0])] = decodeURIComponent(i[1]);\n }\n return e;\n };\n }, function (t, e) {\n t.exports = function (t, e) {\n var r = function () {};\n r.prototype = e.prototype, t.prototype = new r(), t.prototype.constructor = t;\n };\n }, function (t, e, r) {\n var n = r(0)(\"socket.io-parser\"),\n o = r(1),\n i = r(28),\n s = r(6),\n a = r(11);\n function c() {}\n e.protocol = 4, e.types = [\"CONNECT\", \"DISCONNECT\", \"EVENT\", \"ACK\", \"ERROR\", \"BINARY_EVENT\", \"BINARY_ACK\"], e.CONNECT = 0, e.DISCONNECT = 1, e.EVENT = 2, e.ACK = 3, e.ERROR = 4, e.BINARY_EVENT = 5, e.BINARY_ACK = 6, e.Encoder = c, e.Decoder = f;\n var u = e.ERROR + '\"encode error\"';\n function h(t) {\n var r = \"\" + t.type;\n if (e.BINARY_EVENT !== t.type && e.BINARY_ACK !== t.type || (r += t.attachments + \"-\"), t.nsp && \"/\" !== t.nsp && (r += t.nsp + \",\"), null != t.id && (r += t.id), null != t.data) {\n var o = function (t) {\n try {\n return JSON.stringify(t);\n } catch (t) {\n return !1;\n }\n }(t.data);\n if (!1 === o) return u;\n r += o;\n }\n return n(\"encoded %j as %s\", t, r), r;\n }\n function f() {\n this.reconstructor = null;\n }\n function p(t) {\n this.reconPack = t, this.buffers = [];\n }\n function l(t) {\n return {\n type: e.ERROR,\n data: \"parser error: \" + t\n };\n }\n c.prototype.encode = function (t, r) {\n (n(\"encoding packet %j\", t), e.BINARY_EVENT === t.type || e.BINARY_ACK === t.type) ? function (t, e) {\n i.removeBlobs(t, function (t) {\n var r = i.deconstructPacket(t),\n n = h(r.packet),\n o = r.buffers;\n o.unshift(n), e(o);\n });\n }(t, r) : r([h(t)]);\n }, o(f.prototype), f.prototype.add = function (t) {\n var r;\n if (\"string\" == typeof t) r = function (t) {\n var r = 0,\n o = {\n type: Number(t.charAt(0))\n };\n if (null == e.types[o.type]) return l(\"unknown packet type \" + o.type);\n if (e.BINARY_EVENT === o.type || e.BINARY_ACK === o.type) {\n for (var i = \"\"; \"-\" !== t.charAt(++r) && (i += t.charAt(r), r != t.length););\n if (i != Number(i) || \"-\" !== t.charAt(r)) throw new Error(\"Illegal attachments\");\n o.attachments = Number(i);\n }\n if (\"/\" === t.charAt(r + 1)) for (o.nsp = \"\"; ++r;) {\n var a = t.charAt(r);\n if (\",\" === a) break;\n if (o.nsp += a, r === t.length) break;\n } else o.nsp = \"/\";\n var c = t.charAt(r + 1);\n if (\"\" !== c && Number(c) == c) {\n for (o.id = \"\"; ++r;) {\n var a = t.charAt(r);\n if (null == a || Number(a) != a) {\n --r;\n break;\n }\n if (o.id += t.charAt(r), r === t.length) break;\n }\n o.id = Number(o.id);\n }\n if (t.charAt(++r)) {\n var u = function (t) {\n try {\n return JSON.parse(t);\n } catch (t) {\n return !1;\n }\n }(t.substr(r)),\n h = !1 !== u && (o.type === e.ERROR || s(u));\n if (!h) return l(\"invalid payload\");\n o.data = u;\n }\n return n(\"decoded %s as %j\", t, o), o;\n }(t), e.BINARY_EVENT === r.type || e.BINARY_ACK === r.type ? (this.reconstructor = new p(r), 0 === this.reconstructor.reconPack.attachments && this.emit(\"decoded\", r)) : this.emit(\"decoded\", r);else {\n if (!a(t) && !t.base64) throw new Error(\"Unknown type: \" + t);\n if (!this.reconstructor) throw new Error(\"got binary data when not reconstructing a packet\");\n (r = this.reconstructor.takeBinaryData(t)) && (this.reconstructor = null, this.emit(\"decoded\", r));\n }\n }, f.prototype.destroy = function () {\n this.reconstructor && this.reconstructor.finishedReconstruction();\n }, p.prototype.takeBinaryData = function (t) {\n if (this.buffers.push(t), this.buffers.length === this.reconPack.attachments) {\n var e = i.reconstructPacket(this.reconPack, this.buffers);\n return this.finishedReconstruction(), e;\n }\n return null;\n }, p.prototype.finishedReconstruction = function () {\n this.reconPack = null, this.buffers = [];\n };\n }, function (t, e) {\n var r = {}.toString;\n t.exports = Array.isArray || function (t) {\n return \"[object Array]\" == r.call(t);\n };\n }, function (t, e, r) {\n \"use strict\";\n\n (function (t) {\n /*!\n * The buffer module from node.js, for the browser.\n *\n * @author Feross Aboukhadijeh \n * @license MIT\n */\n var n = r(29),\n o = r(30),\n i = r(31);\n function s() {\n return c.TYPED_ARRAY_SUPPORT ? 2147483647 : 1073741823;\n }\n function a(t, e) {\n if (s() < e) throw new RangeError(\"Invalid typed array length\");\n return c.TYPED_ARRAY_SUPPORT ? (t = new Uint8Array(e)).__proto__ = c.prototype : (null === t && (t = new c(e)), t.length = e), t;\n }\n function c(t, e, r) {\n if (!(c.TYPED_ARRAY_SUPPORT || this instanceof c)) return new c(t, e, r);\n if (\"number\" == typeof t) {\n if (\"string\" == typeof e) throw new Error(\"If encoding is specified then the first argument must be a string\");\n return f(this, t);\n }\n return u(this, t, e, r);\n }\n function u(t, e, r, n) {\n if (\"number\" == typeof e) throw new TypeError('\"value\" argument must not be a number');\n return \"undefined\" != typeof ArrayBuffer && e instanceof ArrayBuffer ? function (t, e, r, n) {\n if (e.byteLength, r < 0 || e.byteLength < r) throw new RangeError(\"'offset' is out of bounds\");\n if (e.byteLength < r + (n || 0)) throw new RangeError(\"'length' is out of bounds\");\n e = void 0 === r && void 0 === n ? new Uint8Array(e) : void 0 === n ? new Uint8Array(e, r) : new Uint8Array(e, r, n);\n c.TYPED_ARRAY_SUPPORT ? (t = e).__proto__ = c.prototype : t = p(t, e);\n return t;\n }(t, e, r, n) : \"string\" == typeof e ? function (t, e, r) {\n \"string\" == typeof r && \"\" !== r || (r = \"utf8\");\n if (!c.isEncoding(r)) throw new TypeError('\"encoding\" must be a valid string encoding');\n var n = 0 | d(e, r),\n o = (t = a(t, n)).write(e, r);\n o !== n && (t = t.slice(0, o));\n return t;\n }(t, e, r) : function (t, e) {\n if (c.isBuffer(e)) {\n var r = 0 | l(e.length);\n return 0 === (t = a(t, r)).length ? t : (e.copy(t, 0, 0, r), t);\n }\n if (e) {\n if (\"undefined\" != typeof ArrayBuffer && e.buffer instanceof ArrayBuffer || \"length\" in e) return \"number\" != typeof e.length || (n = e.length) != n ? a(t, 0) : p(t, e);\n if (\"Buffer\" === e.type && i(e.data)) return p(t, e.data);\n }\n var n;\n throw new TypeError(\"First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.\");\n }(t, e);\n }\n function h(t) {\n if (\"number\" != typeof t) throw new TypeError('\"size\" argument must be a number');\n if (t < 0) throw new RangeError('\"size\" argument must not be negative');\n }\n function f(t, e) {\n if (h(e), t = a(t, e < 0 ? 0 : 0 | l(e)), !c.TYPED_ARRAY_SUPPORT) for (var r = 0; r < e; ++r) t[r] = 0;\n return t;\n }\n function p(t, e) {\n var r = e.length < 0 ? 0 : 0 | l(e.length);\n t = a(t, r);\n for (var n = 0; n < r; n += 1) t[n] = 255 & e[n];\n return t;\n }\n function l(t) {\n if (t >= s()) throw new RangeError(\"Attempt to allocate Buffer larger than maximum size: 0x\" + s().toString(16) + \" bytes\");\n return 0 | t;\n }\n function d(t, e) {\n if (c.isBuffer(t)) return t.length;\n if (\"undefined\" != typeof ArrayBuffer && \"function\" == typeof ArrayBuffer.isView && (ArrayBuffer.isView(t) || t instanceof ArrayBuffer)) return t.byteLength;\n \"string\" != typeof t && (t = \"\" + t);\n var r = t.length;\n if (0 === r) return 0;\n for (var n = !1;;) switch (e) {\n case \"ascii\":\n case \"latin1\":\n case \"binary\":\n return r;\n case \"utf8\":\n case \"utf-8\":\n case void 0:\n return M(t).length;\n case \"ucs2\":\n case \"ucs-2\":\n case \"utf16le\":\n case \"utf-16le\":\n return 2 * r;\n case \"hex\":\n return r >>> 1;\n case \"base64\":\n return q(t).length;\n default:\n if (n) return M(t).length;\n e = (\"\" + e).toLowerCase(), n = !0;\n }\n }\n function y(t, e, r) {\n var n = t[e];\n t[e] = t[r], t[r] = n;\n }\n function g(t, e, r, n, o) {\n if (0 === t.length) return -1;\n if (\"string\" == typeof r ? (n = r, r = 0) : r > 2147483647 ? r = 2147483647 : r < -2147483648 && (r = -2147483648), r = +r, isNaN(r) && (r = o ? 0 : t.length - 1), r < 0 && (r = t.length + r), r >= t.length) {\n if (o) return -1;\n r = t.length - 1;\n } else if (r < 0) {\n if (!o) return -1;\n r = 0;\n }\n if (\"string\" == typeof e && (e = c.from(e, n)), c.isBuffer(e)) return 0 === e.length ? -1 : m(t, e, r, n, o);\n if (\"number\" == typeof e) return e &= 255, c.TYPED_ARRAY_SUPPORT && \"function\" == typeof Uint8Array.prototype.indexOf ? o ? Uint8Array.prototype.indexOf.call(t, e, r) : Uint8Array.prototype.lastIndexOf.call(t, e, r) : m(t, [e], r, n, o);\n throw new TypeError(\"val must be string, number or Buffer\");\n }\n function m(t, e, r, n, o) {\n var i,\n s = 1,\n a = t.length,\n c = e.length;\n if (void 0 !== n && (\"ucs2\" === (n = String(n).toLowerCase()) || \"ucs-2\" === n || \"utf16le\" === n || \"utf-16le\" === n)) {\n if (t.length < 2 || e.length < 2) return -1;\n s = 2, a /= 2, c /= 2, r /= 2;\n }\n function u(t, e) {\n return 1 === s ? t[e] : t.readUInt16BE(e * s);\n }\n if (o) {\n var h = -1;\n for (i = r; i < a; i++) if (u(t, i) === u(e, -1 === h ? 0 : i - h)) {\n if (-1 === h && (h = i), i - h + 1 === c) return h * s;\n } else -1 !== h && (i -= i - h), h = -1;\n } else for (r + c > a && (r = a - c), i = r; i >= 0; i--) {\n for (var f = !0, p = 0; p < c; p++) if (u(t, i + p) !== u(e, p)) {\n f = !1;\n break;\n }\n if (f) return i;\n }\n return -1;\n }\n function v(t, e, r, n) {\n r = Number(r) || 0;\n var o = t.length - r;\n n ? (n = Number(n)) > o && (n = o) : n = o;\n var i = e.length;\n if (i % 2 != 0) throw new TypeError(\"Invalid hex string\");\n n > i / 2 && (n = i / 2);\n for (var s = 0; s < n; ++s) {\n var a = parseInt(e.substr(2 * s, 2), 16);\n if (isNaN(a)) return s;\n t[r + s] = a;\n }\n return s;\n }\n function b(t, e, r, n) {\n return Y(M(e, t.length - r), t, r, n);\n }\n function w(t, e, r, n) {\n return Y(function (t) {\n for (var e = [], r = 0; r < t.length; ++r) e.push(255 & t.charCodeAt(r));\n return e;\n }(e), t, r, n);\n }\n function k(t, e, r, n) {\n return w(t, e, r, n);\n }\n function A(t, e, r, n) {\n return Y(q(e), t, r, n);\n }\n function C(t, e, r, n) {\n return Y(function (t, e) {\n for (var r, n, o, i = [], s = 0; s < t.length && !((e -= 2) < 0); ++s) r = t.charCodeAt(s), n = r >> 8, o = r % 256, i.push(o), i.push(n);\n return i;\n }(e, t.length - r), t, r, n);\n }\n function E(t, e, r) {\n return 0 === e && r === t.length ? n.fromByteArray(t) : n.fromByteArray(t.slice(e, r));\n }\n function B(t, e, r) {\n r = Math.min(t.length, r);\n for (var n = [], o = e; o < r;) {\n var i,\n s,\n a,\n c,\n u = t[o],\n h = null,\n f = u > 239 ? 4 : u > 223 ? 3 : u > 191 ? 2 : 1;\n if (o + f <= r) switch (f) {\n case 1:\n u < 128 && (h = u);\n break;\n case 2:\n 128 == (192 & (i = t[o + 1])) && (c = (31 & u) << 6 | 63 & i) > 127 && (h = c);\n break;\n case 3:\n i = t[o + 1], s = t[o + 2], 128 == (192 & i) && 128 == (192 & s) && (c = (15 & u) << 12 | (63 & i) << 6 | 63 & s) > 2047 && (c < 55296 || c > 57343) && (h = c);\n break;\n case 4:\n i = t[o + 1], s = t[o + 2], a = t[o + 3], 128 == (192 & i) && 128 == (192 & s) && 128 == (192 & a) && (c = (15 & u) << 18 | (63 & i) << 12 | (63 & s) << 6 | 63 & a) > 65535 && c < 1114112 && (h = c);\n }\n null === h ? (h = 65533, f = 1) : h > 65535 && (h -= 65536, n.push(h >>> 10 & 1023 | 55296), h = 56320 | 1023 & h), n.push(h), o += f;\n }\n return function (t) {\n var e = t.length;\n if (e <= x) return String.fromCharCode.apply(String, t);\n var r = \"\",\n n = 0;\n for (; n < e;) r += String.fromCharCode.apply(String, t.slice(n, n += x));\n return r;\n }(n);\n }\n e.Buffer = c, e.SlowBuffer = function (t) {\n +t != t && (t = 0);\n return c.alloc(+t);\n }, e.INSPECT_MAX_BYTES = 50, c.TYPED_ARRAY_SUPPORT = void 0 !== t.TYPED_ARRAY_SUPPORT ? t.TYPED_ARRAY_SUPPORT : function () {\n try {\n var t = new Uint8Array(1);\n return t.__proto__ = {\n __proto__: Uint8Array.prototype,\n foo: function () {\n return 42;\n }\n }, 42 === t.foo() && \"function\" == typeof t.subarray && 0 === t.subarray(1, 1).byteLength;\n } catch (t) {\n return !1;\n }\n }(), e.kMaxLength = s(), c.poolSize = 8192, c._augment = function (t) {\n return t.__proto__ = c.prototype, t;\n }, c.from = function (t, e, r) {\n return u(null, t, e, r);\n }, c.TYPED_ARRAY_SUPPORT && (c.prototype.__proto__ = Uint8Array.prototype, c.__proto__ = Uint8Array, \"undefined\" != typeof Symbol && Symbol.species && c[Symbol.species] === c && Object.defineProperty(c, Symbol.species, {\n value: null,\n configurable: !0\n })), c.alloc = function (t, e, r) {\n return function (t, e, r, n) {\n return h(e), e <= 0 ? a(t, e) : void 0 !== r ? \"string\" == typeof n ? a(t, e).fill(r, n) : a(t, e).fill(r) : a(t, e);\n }(null, t, e, r);\n }, c.allocUnsafe = function (t) {\n return f(null, t);\n }, c.allocUnsafeSlow = function (t) {\n return f(null, t);\n }, c.isBuffer = function (t) {\n return !(null == t || !t._isBuffer);\n }, c.compare = function (t, e) {\n if (!c.isBuffer(t) || !c.isBuffer(e)) throw new TypeError(\"Arguments must be Buffers\");\n if (t === e) return 0;\n for (var r = t.length, n = e.length, o = 0, i = Math.min(r, n); o < i; ++o) if (t[o] !== e[o]) {\n r = t[o], n = e[o];\n break;\n }\n return r < n ? -1 : n < r ? 1 : 0;\n }, c.isEncoding = function (t) {\n switch (String(t).toLowerCase()) {\n case \"hex\":\n case \"utf8\":\n case \"utf-8\":\n case \"ascii\":\n case \"latin1\":\n case \"binary\":\n case \"base64\":\n case \"ucs2\":\n case \"ucs-2\":\n case \"utf16le\":\n case \"utf-16le\":\n return !0;\n default:\n return !1;\n }\n }, c.concat = function (t, e) {\n if (!i(t)) throw new TypeError('\"list\" argument must be an Array of Buffers');\n if (0 === t.length) return c.alloc(0);\n var r;\n if (void 0 === e) for (e = 0, r = 0; r < t.length; ++r) e += t[r].length;\n var n = c.allocUnsafe(e),\n o = 0;\n for (r = 0; r < t.length; ++r) {\n var s = t[r];\n if (!c.isBuffer(s)) throw new TypeError('\"list\" argument must be an Array of Buffers');\n s.copy(n, o), o += s.length;\n }\n return n;\n }, c.byteLength = d, c.prototype._isBuffer = !0, c.prototype.swap16 = function () {\n var t = this.length;\n if (t % 2 != 0) throw new RangeError(\"Buffer size must be a multiple of 16-bits\");\n for (var e = 0; e < t; e += 2) y(this, e, e + 1);\n return this;\n }, c.prototype.swap32 = function () {\n var t = this.length;\n if (t % 4 != 0) throw new RangeError(\"Buffer size must be a multiple of 32-bits\");\n for (var e = 0; e < t; e += 4) y(this, e, e + 3), y(this, e + 1, e + 2);\n return this;\n }, c.prototype.swap64 = function () {\n var t = this.length;\n if (t % 8 != 0) throw new RangeError(\"Buffer size must be a multiple of 64-bits\");\n for (var e = 0; e < t; e += 8) y(this, e, e + 7), y(this, e + 1, e + 6), y(this, e + 2, e + 5), y(this, e + 3, e + 4);\n return this;\n }, c.prototype.toString = function () {\n var t = 0 | this.length;\n return 0 === t ? \"\" : 0 === arguments.length ? B(this, 0, t) : function (t, e, r) {\n var n = !1;\n if ((void 0 === e || e < 0) && (e = 0), e > this.length) return \"\";\n if ((void 0 === r || r > this.length) && (r = this.length), r <= 0) return \"\";\n if ((r >>>= 0) <= (e >>>= 0)) return \"\";\n for (t || (t = \"utf8\");;) switch (t) {\n case \"hex\":\n return T(this, e, r);\n case \"utf8\":\n case \"utf-8\":\n return B(this, e, r);\n case \"ascii\":\n return R(this, e, r);\n case \"latin1\":\n case \"binary\":\n return S(this, e, r);\n case \"base64\":\n return E(this, e, r);\n case \"ucs2\":\n case \"ucs-2\":\n case \"utf16le\":\n case \"utf-16le\":\n return P(this, e, r);\n default:\n if (n) throw new TypeError(\"Unknown encoding: \" + t);\n t = (t + \"\").toLowerCase(), n = !0;\n }\n }.apply(this, arguments);\n }, c.prototype.equals = function (t) {\n if (!c.isBuffer(t)) throw new TypeError(\"Argument must be a Buffer\");\n return this === t || 0 === c.compare(this, t);\n }, c.prototype.inspect = function () {\n var t = \"\",\n r = e.INSPECT_MAX_BYTES;\n return this.length > 0 && (t = this.toString(\"hex\", 0, r).match(/.{2}/g).join(\" \"), this.length > r && (t += \" ... \")), \"\";\n }, c.prototype.compare = function (t, e, r, n, o) {\n if (!c.isBuffer(t)) throw new TypeError(\"Argument must be a Buffer\");\n if (void 0 === e && (e = 0), void 0 === r && (r = t ? t.length : 0), void 0 === n && (n = 0), void 0 === o && (o = this.length), e < 0 || r > t.length || n < 0 || o > this.length) throw new RangeError(\"out of range index\");\n if (n >= o && e >= r) return 0;\n if (n >= o) return -1;\n if (e >= r) return 1;\n if (this === t) return 0;\n for (var i = (o >>>= 0) - (n >>>= 0), s = (r >>>= 0) - (e >>>= 0), a = Math.min(i, s), u = this.slice(n, o), h = t.slice(e, r), f = 0; f < a; ++f) if (u[f] !== h[f]) {\n i = u[f], s = h[f];\n break;\n }\n return i < s ? -1 : s < i ? 1 : 0;\n }, c.prototype.includes = function (t, e, r) {\n return -1 !== this.indexOf(t, e, r);\n }, c.prototype.indexOf = function (t, e, r) {\n return g(this, t, e, r, !0);\n }, c.prototype.lastIndexOf = function (t, e, r) {\n return g(this, t, e, r, !1);\n }, c.prototype.write = function (t, e, r, n) {\n if (void 0 === e) n = \"utf8\", r = this.length, e = 0;else if (void 0 === r && \"string\" == typeof e) n = e, r = this.length, e = 0;else {\n if (!isFinite(e)) throw new Error(\"Buffer.write(string, encoding, offset[, length]) is no longer supported\");\n e |= 0, isFinite(r) ? (r |= 0, void 0 === n && (n = \"utf8\")) : (n = r, r = void 0);\n }\n var o = this.length - e;\n if ((void 0 === r || r > o) && (r = o), t.length > 0 && (r < 0 || e < 0) || e > this.length) throw new RangeError(\"Attempt to write outside buffer bounds\");\n n || (n = \"utf8\");\n for (var i = !1;;) switch (n) {\n case \"hex\":\n return v(this, t, e, r);\n case \"utf8\":\n case \"utf-8\":\n return b(this, t, e, r);\n case \"ascii\":\n return w(this, t, e, r);\n case \"latin1\":\n case \"binary\":\n return k(this, t, e, r);\n case \"base64\":\n return A(this, t, e, r);\n case \"ucs2\":\n case \"ucs-2\":\n case \"utf16le\":\n case \"utf-16le\":\n return C(this, t, e, r);\n default:\n if (i) throw new TypeError(\"Unknown encoding: \" + n);\n n = (\"\" + n).toLowerCase(), i = !0;\n }\n }, c.prototype.toJSON = function () {\n return {\n type: \"Buffer\",\n data: Array.prototype.slice.call(this._arr || this, 0)\n };\n };\n var x = 4096;\n function R(t, e, r) {\n var n = \"\";\n r = Math.min(t.length, r);\n for (var o = e; o < r; ++o) n += String.fromCharCode(127 & t[o]);\n return n;\n }\n function S(t, e, r) {\n var n = \"\";\n r = Math.min(t.length, r);\n for (var o = e; o < r; ++o) n += String.fromCharCode(t[o]);\n return n;\n }\n function T(t, e, r) {\n var n = t.length;\n (!e || e < 0) && (e = 0), (!r || r < 0 || r > n) && (r = n);\n for (var o = \"\", i = e; i < r; ++i) o += j(t[i]);\n return o;\n }\n function P(t, e, r) {\n for (var n = t.slice(e, r), o = \"\", i = 0; i < n.length; i += 2) o += String.fromCharCode(n[i] + 256 * n[i + 1]);\n return o;\n }\n function _(t, e, r) {\n if (t % 1 != 0 || t < 0) throw new RangeError(\"offset is not uint\");\n if (t + e > r) throw new RangeError(\"Trying to access beyond buffer length\");\n }\n function O(t, e, r, n, o, i) {\n if (!c.isBuffer(t)) throw new TypeError('\"buffer\" argument must be a Buffer instance');\n if (e > o || e < i) throw new RangeError('\"value\" argument is out of bounds');\n if (r + n > t.length) throw new RangeError(\"Index out of range\");\n }\n function U(t, e, r, n) {\n e < 0 && (e = 65535 + e + 1);\n for (var o = 0, i = Math.min(t.length - r, 2); o < i; ++o) t[r + o] = (e & 255 << 8 * (n ? o : 1 - o)) >>> 8 * (n ? o : 1 - o);\n }\n function N(t, e, r, n) {\n e < 0 && (e = 4294967295 + e + 1);\n for (var o = 0, i = Math.min(t.length - r, 4); o < i; ++o) t[r + o] = e >>> 8 * (n ? o : 3 - o) & 255;\n }\n function D(t, e, r, n, o, i) {\n if (r + n > t.length) throw new RangeError(\"Index out of range\");\n if (r < 0) throw new RangeError(\"Index out of range\");\n }\n function I(t, e, r, n, i) {\n return i || D(t, 0, r, 4), o.write(t, e, r, n, 23, 4), r + 4;\n }\n function F(t, e, r, n, i) {\n return i || D(t, 0, r, 8), o.write(t, e, r, n, 52, 8), r + 8;\n }\n c.prototype.slice = function (t, e) {\n var r,\n n = this.length;\n if ((t = ~~t) < 0 ? (t += n) < 0 && (t = 0) : t > n && (t = n), (e = void 0 === e ? n : ~~e) < 0 ? (e += n) < 0 && (e = 0) : e > n && (e = n), e < t && (e = t), c.TYPED_ARRAY_SUPPORT) (r = this.subarray(t, e)).__proto__ = c.prototype;else {\n var o = e - t;\n r = new c(o, void 0);\n for (var i = 0; i < o; ++i) r[i] = this[i + t];\n }\n return r;\n }, c.prototype.readUIntLE = function (t, e, r) {\n t |= 0, e |= 0, r || _(t, e, this.length);\n for (var n = this[t], o = 1, i = 0; ++i < e && (o *= 256);) n += this[t + i] * o;\n return n;\n }, c.prototype.readUIntBE = function (t, e, r) {\n t |= 0, e |= 0, r || _(t, e, this.length);\n for (var n = this[t + --e], o = 1; e > 0 && (o *= 256);) n += this[t + --e] * o;\n return n;\n }, c.prototype.readUInt8 = function (t, e) {\n return e || _(t, 1, this.length), this[t];\n }, c.prototype.readUInt16LE = function (t, e) {\n return e || _(t, 2, this.length), this[t] | this[t + 1] << 8;\n }, c.prototype.readUInt16BE = function (t, e) {\n return e || _(t, 2, this.length), this[t] << 8 | this[t + 1];\n }, c.prototype.readUInt32LE = function (t, e) {\n return e || _(t, 4, this.length), (this[t] | this[t + 1] << 8 | this[t + 2] << 16) + 16777216 * this[t + 3];\n }, c.prototype.readUInt32BE = function (t, e) {\n return e || _(t, 4, this.length), 16777216 * this[t] + (this[t + 1] << 16 | this[t + 2] << 8 | this[t + 3]);\n }, c.prototype.readIntLE = function (t, e, r) {\n t |= 0, e |= 0, r || _(t, e, this.length);\n for (var n = this[t], o = 1, i = 0; ++i < e && (o *= 256);) n += this[t + i] * o;\n return n >= (o *= 128) && (n -= Math.pow(2, 8 * e)), n;\n }, c.prototype.readIntBE = function (t, e, r) {\n t |= 0, e |= 0, r || _(t, e, this.length);\n for (var n = e, o = 1, i = this[t + --n]; n > 0 && (o *= 256);) i += this[t + --n] * o;\n return i >= (o *= 128) && (i -= Math.pow(2, 8 * e)), i;\n }, c.prototype.readInt8 = function (t, e) {\n return e || _(t, 1, this.length), 128 & this[t] ? -1 * (255 - this[t] + 1) : this[t];\n }, c.prototype.readInt16LE = function (t, e) {\n e || _(t, 2, this.length);\n var r = this[t] | this[t + 1] << 8;\n return 32768 & r ? 4294901760 | r : r;\n }, c.prototype.readInt16BE = function (t, e) {\n e || _(t, 2, this.length);\n var r = this[t + 1] | this[t] << 8;\n return 32768 & r ? 4294901760 | r : r;\n }, c.prototype.readInt32LE = function (t, e) {\n return e || _(t, 4, this.length), this[t] | this[t + 1] << 8 | this[t + 2] << 16 | this[t + 3] << 24;\n }, c.prototype.readInt32BE = function (t, e) {\n return e || _(t, 4, this.length), this[t] << 24 | this[t + 1] << 16 | this[t + 2] << 8 | this[t + 3];\n }, c.prototype.readFloatLE = function (t, e) {\n return e || _(t, 4, this.length), o.read(this, t, !0, 23, 4);\n }, c.prototype.readFloatBE = function (t, e) {\n return e || _(t, 4, this.length), o.read(this, t, !1, 23, 4);\n }, c.prototype.readDoubleLE = function (t, e) {\n return e || _(t, 8, this.length), o.read(this, t, !0, 52, 8);\n }, c.prototype.readDoubleBE = function (t, e) {\n return e || _(t, 8, this.length), o.read(this, t, !1, 52, 8);\n }, c.prototype.writeUIntLE = function (t, e, r, n) {\n (t = +t, e |= 0, r |= 0, n) || O(this, t, e, r, Math.pow(2, 8 * r) - 1, 0);\n var o = 1,\n i = 0;\n for (this[e] = 255 & t; ++i < r && (o *= 256);) this[e + i] = t / o & 255;\n return e + r;\n }, c.prototype.writeUIntBE = function (t, e, r, n) {\n (t = +t, e |= 0, r |= 0, n) || O(this, t, e, r, Math.pow(2, 8 * r) - 1, 0);\n var o = r - 1,\n i = 1;\n for (this[e + o] = 255 & t; --o >= 0 && (i *= 256);) this[e + o] = t / i & 255;\n return e + r;\n }, c.prototype.writeUInt8 = function (t, e, r) {\n return t = +t, e |= 0, r || O(this, t, e, 1, 255, 0), c.TYPED_ARRAY_SUPPORT || (t = Math.floor(t)), this[e] = 255 & t, e + 1;\n }, c.prototype.writeUInt16LE = function (t, e, r) {\n return t = +t, e |= 0, r || O(this, t, e, 2, 65535, 0), c.TYPED_ARRAY_SUPPORT ? (this[e] = 255 & t, this[e + 1] = t >>> 8) : U(this, t, e, !0), e + 2;\n }, c.prototype.writeUInt16BE = function (t, e, r) {\n return t = +t, e |= 0, r || O(this, t, e, 2, 65535, 0), c.TYPED_ARRAY_SUPPORT ? (this[e] = t >>> 8, this[e + 1] = 255 & t) : U(this, t, e, !1), e + 2;\n }, c.prototype.writeUInt32LE = function (t, e, r) {\n return t = +t, e |= 0, r || O(this, t, e, 4, 4294967295, 0), c.TYPED_ARRAY_SUPPORT ? (this[e + 3] = t >>> 24, this[e + 2] = t >>> 16, this[e + 1] = t >>> 8, this[e] = 255 & t) : N(this, t, e, !0), e + 4;\n }, c.prototype.writeUInt32BE = function (t, e, r) {\n return t = +t, e |= 0, r || O(this, t, e, 4, 4294967295, 0), c.TYPED_ARRAY_SUPPORT ? (this[e] = t >>> 24, this[e + 1] = t >>> 16, this[e + 2] = t >>> 8, this[e + 3] = 255 & t) : N(this, t, e, !1), e + 4;\n }, c.prototype.writeIntLE = function (t, e, r, n) {\n if (t = +t, e |= 0, !n) {\n var o = Math.pow(2, 8 * r - 1);\n O(this, t, e, r, o - 1, -o);\n }\n var i = 0,\n s = 1,\n a = 0;\n for (this[e] = 255 & t; ++i < r && (s *= 256);) t < 0 && 0 === a && 0 !== this[e + i - 1] && (a = 1), this[e + i] = (t / s >> 0) - a & 255;\n return e + r;\n }, c.prototype.writeIntBE = function (t, e, r, n) {\n if (t = +t, e |= 0, !n) {\n var o = Math.pow(2, 8 * r - 1);\n O(this, t, e, r, o - 1, -o);\n }\n var i = r - 1,\n s = 1,\n a = 0;\n for (this[e + i] = 255 & t; --i >= 0 && (s *= 256);) t < 0 && 0 === a && 0 !== this[e + i + 1] && (a = 1), this[e + i] = (t / s >> 0) - a & 255;\n return e + r;\n }, c.prototype.writeInt8 = function (t, e, r) {\n return t = +t, e |= 0, r || O(this, t, e, 1, 127, -128), c.TYPED_ARRAY_SUPPORT || (t = Math.floor(t)), t < 0 && (t = 255 + t + 1), this[e] = 255 & t, e + 1;\n }, c.prototype.writeInt16LE = function (t, e, r) {\n return t = +t, e |= 0, r || O(this, t, e, 2, 32767, -32768), c.TYPED_ARRAY_SUPPORT ? (this[e] = 255 & t, this[e + 1] = t >>> 8) : U(this, t, e, !0), e + 2;\n }, c.prototype.writeInt16BE = function (t, e, r) {\n return t = +t, e |= 0, r || O(this, t, e, 2, 32767, -32768), c.TYPED_ARRAY_SUPPORT ? (this[e] = t >>> 8, this[e + 1] = 255 & t) : U(this, t, e, !1), e + 2;\n }, c.prototype.writeInt32LE = function (t, e, r) {\n return t = +t, e |= 0, r || O(this, t, e, 4, 2147483647, -2147483648), c.TYPED_ARRAY_SUPPORT ? (this[e] = 255 & t, this[e + 1] = t >>> 8, this[e + 2] = t >>> 16, this[e + 3] = t >>> 24) : N(this, t, e, !0), e + 4;\n }, c.prototype.writeInt32BE = function (t, e, r) {\n return t = +t, e |= 0, r || O(this, t, e, 4, 2147483647, -2147483648), t < 0 && (t = 4294967295 + t + 1), c.TYPED_ARRAY_SUPPORT ? (this[e] = t >>> 24, this[e + 1] = t >>> 16, this[e + 2] = t >>> 8, this[e + 3] = 255 & t) : N(this, t, e, !1), e + 4;\n }, c.prototype.writeFloatLE = function (t, e, r) {\n return I(this, t, e, !0, r);\n }, c.prototype.writeFloatBE = function (t, e, r) {\n return I(this, t, e, !1, r);\n }, c.prototype.writeDoubleLE = function (t, e, r) {\n return F(this, t, e, !0, r);\n }, c.prototype.writeDoubleBE = function (t, e, r) {\n return F(this, t, e, !1, r);\n }, c.prototype.copy = function (t, e, r, n) {\n if (r || (r = 0), n || 0 === n || (n = this.length), e >= t.length && (e = t.length), e || (e = 0), n > 0 && n < r && (n = r), n === r) return 0;\n if (0 === t.length || 0 === this.length) return 0;\n if (e < 0) throw new RangeError(\"targetStart out of bounds\");\n if (r < 0 || r >= this.length) throw new RangeError(\"sourceStart out of bounds\");\n if (n < 0) throw new RangeError(\"sourceEnd out of bounds\");\n n > this.length && (n = this.length), t.length - e < n - r && (n = t.length - e + r);\n var o,\n i = n - r;\n if (this === t && r < e && e < n) for (o = i - 1; o >= 0; --o) t[o + e] = this[o + r];else if (i < 1e3 || !c.TYPED_ARRAY_SUPPORT) for (o = 0; o < i; ++o) t[o + e] = this[o + r];else Uint8Array.prototype.set.call(t, this.subarray(r, r + i), e);\n return i;\n }, c.prototype.fill = function (t, e, r, n) {\n if (\"string\" == typeof t) {\n if (\"string\" == typeof e ? (n = e, e = 0, r = this.length) : \"string\" == typeof r && (n = r, r = this.length), 1 === t.length) {\n var o = t.charCodeAt(0);\n o < 256 && (t = o);\n }\n if (void 0 !== n && \"string\" != typeof n) throw new TypeError(\"encoding must be a string\");\n if (\"string\" == typeof n && !c.isEncoding(n)) throw new TypeError(\"Unknown encoding: \" + n);\n } else \"number\" == typeof t && (t &= 255);\n if (e < 0 || this.length < e || this.length < r) throw new RangeError(\"Out of range index\");\n if (r <= e) return this;\n var i;\n if (e >>>= 0, r = void 0 === r ? this.length : r >>> 0, t || (t = 0), \"number\" == typeof t) for (i = e; i < r; ++i) this[i] = t;else {\n var s = c.isBuffer(t) ? t : M(new c(t, n).toString()),\n a = s.length;\n for (i = 0; i < r - e; ++i) this[i + e] = s[i % a];\n }\n return this;\n };\n var L = /[^+\\/0-9A-Za-z-_]/g;\n function j(t) {\n return t < 16 ? \"0\" + t.toString(16) : t.toString(16);\n }\n function M(t, e) {\n var r;\n e = e || 1 / 0;\n for (var n = t.length, o = null, i = [], s = 0; s < n; ++s) {\n if ((r = t.charCodeAt(s)) > 55295 && r < 57344) {\n if (!o) {\n if (r > 56319) {\n (e -= 3) > -1 && i.push(239, 191, 189);\n continue;\n }\n if (s + 1 === n) {\n (e -= 3) > -1 && i.push(239, 191, 189);\n continue;\n }\n o = r;\n continue;\n }\n if (r < 56320) {\n (e -= 3) > -1 && i.push(239, 191, 189), o = r;\n continue;\n }\n r = 65536 + (o - 55296 << 10 | r - 56320);\n } else o && (e -= 3) > -1 && i.push(239, 191, 189);\n if (o = null, r < 128) {\n if ((e -= 1) < 0) break;\n i.push(r);\n } else if (r < 2048) {\n if ((e -= 2) < 0) break;\n i.push(r >> 6 | 192, 63 & r | 128);\n } else if (r < 65536) {\n if ((e -= 3) < 0) break;\n i.push(r >> 12 | 224, r >> 6 & 63 | 128, 63 & r | 128);\n } else {\n if (!(r < 1114112)) throw new Error(\"Invalid code point\");\n if ((e -= 4) < 0) break;\n i.push(r >> 18 | 240, r >> 12 & 63 | 128, r >> 6 & 63 | 128, 63 & r | 128);\n }\n }\n return i;\n }\n function q(t) {\n return n.toByteArray(function (t) {\n if ((t = function (t) {\n return t.trim ? t.trim() : t.replace(/^\\s+|\\s+$/g, \"\");\n }(t).replace(L, \"\")).length < 2) return \"\";\n for (; t.length % 4 != 0;) t += \"=\";\n return t;\n }(t));\n }\n function Y(t, e, r, n) {\n for (var o = 0; o < n && !(o + r >= e.length || o >= t.length); ++o) e[o + r] = t[o];\n return o;\n }\n }).call(this, r(12));\n }, function (t, e, r) {\n var n = r(34);\n t.exports = function (t) {\n var e = t.xdomain,\n r = t.xscheme,\n o = t.enablesXDR;\n try {\n if (\"undefined\" != typeof XMLHttpRequest && (!e || n)) return new XMLHttpRequest();\n } catch (t) {}\n try {\n if (\"undefined\" != typeof XDomainRequest && !r && o) return new XDomainRequest();\n } catch (t) {}\n if (!e) try {\n return new self[[\"Active\"].concat(\"Object\").join(\"X\")](\"Microsoft.XMLHTTP\");\n } catch (t) {}\n };\n }, function (t, e, r) {\n var n = r(2),\n o = r(1);\n function i(t) {\n this.path = t.path, this.hostname = t.hostname, this.port = t.port, this.secure = t.secure, this.query = t.query, this.timestampParam = t.timestampParam, this.timestampRequests = t.timestampRequests, this.readyState = \"\", this.agent = t.agent || !1, this.socket = t.socket, this.enablesXDR = t.enablesXDR, this.pfx = t.pfx, this.key = t.key, this.passphrase = t.passphrase, this.cert = t.cert, this.ca = t.ca, this.ciphers = t.ciphers, this.rejectUnauthorized = t.rejectUnauthorized, this.forceNode = t.forceNode, this.isReactNative = t.isReactNative, this.extraHeaders = t.extraHeaders, this.localAddress = t.localAddress;\n }\n t.exports = i, o(i.prototype), i.prototype.onError = function (t, e) {\n var r = new Error(t);\n return r.type = \"TransportError\", r.description = e, this.emit(\"error\", r), this;\n }, i.prototype.open = function () {\n return \"closed\" !== this.readyState && \"\" !== this.readyState || (this.readyState = \"opening\", this.doOpen()), this;\n }, i.prototype.close = function () {\n return \"opening\" !== this.readyState && \"open\" !== this.readyState || (this.doClose(), this.onClose()), this;\n }, i.prototype.send = function (t) {\n if (\"open\" !== this.readyState) throw new Error(\"Transport not open\");\n this.write(t);\n }, i.prototype.onOpen = function () {\n this.readyState = \"open\", this.writable = !0, this.emit(\"open\");\n }, i.prototype.onData = function (t) {\n var e = n.decodePacket(t, this.socket.binaryType);\n this.onPacket(e);\n }, i.prototype.onPacket = function (t) {\n this.emit(\"packet\", t);\n }, i.prototype.onClose = function () {\n this.readyState = \"closed\", this.emit(\"close\");\n };\n }, function (t, e) {\n var r = /^(?:(?![^:@]+:[^:@\\/]*@)(http|https|ws|wss):\\/\\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\\/?#]*)(?::(\\d*))?)(((\\/(?:[^?#](?![^?#\\/]*\\.[^?#\\/.]+(?:[?#]|$)))*\\/?)?([^?#\\/]*))(?:\\?([^#]*))?(?:#(.*))?)/,\n n = [\"source\", \"protocol\", \"authority\", \"userInfo\", \"user\", \"password\", \"host\", \"port\", \"relative\", \"path\", \"directory\", \"file\", \"query\", \"anchor\"];\n t.exports = function (t) {\n var e = t,\n o = t.indexOf(\"[\"),\n i = t.indexOf(\"]\");\n -1 != o && -1 != i && (t = t.substring(0, o) + t.substring(o, i).replace(/:/g, \";\") + t.substring(i, t.length));\n for (var s = r.exec(t || \"\"), a = {}, c = 14; c--;) a[n[c]] = s[c] || \"\";\n return -1 != o && -1 != i && (a.source = e, a.host = a.host.substring(1, a.host.length - 1).replace(/;/g, \":\"), a.authority = a.authority.replace(\"[\", \"\").replace(\"]\", \"\").replace(/;/g, \":\"), a.ipv6uri = !0), a;\n };\n }, function (t, e, r) {\n (function (e) {\n t.exports = function (t) {\n return r && e.isBuffer(t) || n && (t instanceof ArrayBuffer || o(t));\n };\n var r = \"function\" == typeof e && \"function\" == typeof e.isBuffer,\n n = \"function\" == typeof ArrayBuffer,\n o = function (t) {\n return \"function\" == typeof ArrayBuffer.isView ? ArrayBuffer.isView(t) : t.buffer instanceof ArrayBuffer;\n };\n }).call(this, r(7).Buffer);\n }, function (t, e) {\n var r;\n r = function () {\n return this;\n }();\n try {\n r = r || new Function(\"return this\")();\n } catch (t) {\n \"object\" == typeof window && (r = window);\n }\n t.exports = r;\n }, function (t, e, r) {\n var n = r(32),\n o = r(19),\n i = r(1),\n s = r(5),\n a = r(20),\n c = r(21),\n u = r(0)(\"socket.io-client:manager\"),\n h = r(18),\n f = r(46),\n p = Object.prototype.hasOwnProperty;\n function l(t, e) {\n if (!(this instanceof l)) return new l(t, e);\n t && \"object\" == typeof t && (e = t, t = void 0), (e = e || {}).path = e.path || \"/socket.io\", this.nsps = {}, this.subs = [], this.opts = e, this.reconnection(!1 !== e.reconnection), this.reconnectionAttempts(e.reconnectionAttempts || 1 / 0), this.reconnectionDelay(e.reconnectionDelay || 1e3), this.reconnectionDelayMax(e.reconnectionDelayMax || 5e3), this.randomizationFactor(e.randomizationFactor || .5), this.backoff = new f({\n min: this.reconnectionDelay(),\n max: this.reconnectionDelayMax(),\n jitter: this.randomizationFactor()\n }), this.timeout(null == e.timeout ? 2e4 : e.timeout), this.readyState = \"closed\", this.uri = t, this.connecting = [], this.lastPing = null, this.encoding = !1, this.packetBuffer = [];\n var r = e.parser || s;\n this.encoder = new r.Encoder(), this.decoder = new r.Decoder(), this.autoConnect = !1 !== e.autoConnect, this.autoConnect && this.open();\n }\n t.exports = l, l.prototype.emitAll = function () {\n for (var t in this.emit.apply(this, arguments), this.nsps) p.call(this.nsps, t) && this.nsps[t].emit.apply(this.nsps[t], arguments);\n }, l.prototype.updateSocketIds = function () {\n for (var t in this.nsps) p.call(this.nsps, t) && (this.nsps[t].id = this.generateId(t));\n }, l.prototype.generateId = function (t) {\n return (\"/\" === t ? \"\" : t + \"#\") + this.engine.id;\n }, i(l.prototype), l.prototype.reconnection = function (t) {\n return arguments.length ? (this._reconnection = !!t, this) : this._reconnection;\n }, l.prototype.reconnectionAttempts = function (t) {\n return arguments.length ? (this._reconnectionAttempts = t, this) : this._reconnectionAttempts;\n }, l.prototype.reconnectionDelay = function (t) {\n return arguments.length ? (this._reconnectionDelay = t, this.backoff && this.backoff.setMin(t), this) : this._reconnectionDelay;\n }, l.prototype.randomizationFactor = function (t) {\n return arguments.length ? (this._randomizationFactor = t, this.backoff && this.backoff.setJitter(t), this) : this._randomizationFactor;\n }, l.prototype.reconnectionDelayMax = function (t) {\n return arguments.length ? (this._reconnectionDelayMax = t, this.backoff && this.backoff.setMax(t), this) : this._reconnectionDelayMax;\n }, l.prototype.timeout = function (t) {\n return arguments.length ? (this._timeout = t, this) : this._timeout;\n }, l.prototype.maybeReconnectOnOpen = function () {\n !this.reconnecting && this._reconnection && 0 === this.backoff.attempts && this.reconnect();\n }, l.prototype.open = l.prototype.connect = function (t, e) {\n if (u(\"readyState %s\", this.readyState), ~this.readyState.indexOf(\"open\")) return this;\n u(\"opening %s\", this.uri), this.engine = n(this.uri, this.opts);\n var r = this.engine,\n o = this;\n this.readyState = \"opening\", this.skipReconnect = !1;\n var i = a(r, \"open\", function () {\n o.onopen(), t && t();\n }),\n s = a(r, \"error\", function (e) {\n if (u(\"connect_error\"), o.cleanup(), o.readyState = \"closed\", o.emitAll(\"connect_error\", e), t) {\n var r = new Error(\"Connection error\");\n r.data = e, t(r);\n } else o.maybeReconnectOnOpen();\n });\n if (!1 !== this._timeout) {\n var c = this._timeout;\n u(\"connect attempt will timeout after %d\", c);\n var h = setTimeout(function () {\n u(\"connect attempt timed out after %d\", c), i.destroy(), r.close(), r.emit(\"error\", \"timeout\"), o.emitAll(\"connect_timeout\", c);\n }, c);\n this.subs.push({\n destroy: function () {\n clearTimeout(h);\n }\n });\n }\n return this.subs.push(i), this.subs.push(s), this;\n }, l.prototype.onopen = function () {\n u(\"open\"), this.cleanup(), this.readyState = \"open\", this.emit(\"open\");\n var t = this.engine;\n this.subs.push(a(t, \"data\", c(this, \"ondata\"))), this.subs.push(a(t, \"ping\", c(this, \"onping\"))), this.subs.push(a(t, \"pong\", c(this, \"onpong\"))), this.subs.push(a(t, \"error\", c(this, \"onerror\"))), this.subs.push(a(t, \"close\", c(this, \"onclose\"))), this.subs.push(a(this.decoder, \"decoded\", c(this, \"ondecoded\")));\n }, l.prototype.onping = function () {\n this.lastPing = new Date(), this.emitAll(\"ping\");\n }, l.prototype.onpong = function () {\n this.emitAll(\"pong\", new Date() - this.lastPing);\n }, l.prototype.ondata = function (t) {\n this.decoder.add(t);\n }, l.prototype.ondecoded = function (t) {\n this.emit(\"packet\", t);\n }, l.prototype.onerror = function (t) {\n u(\"error\", t), this.emitAll(\"error\", t);\n }, l.prototype.socket = function (t, e) {\n var r = this.nsps[t];\n if (!r) {\n r = new o(this, t, e), this.nsps[t] = r;\n var n = this;\n r.on(\"connecting\", i), r.on(\"connect\", function () {\n r.id = n.generateId(t);\n }), this.autoConnect && i();\n }\n function i() {\n ~h(n.connecting, r) || n.connecting.push(r);\n }\n return r;\n }, l.prototype.destroy = function (t) {\n var e = h(this.connecting, t);\n ~e && this.connecting.splice(e, 1), this.connecting.length || this.close();\n }, l.prototype.packet = function (t) {\n u(\"writing packet %j\", t);\n var e = this;\n t.query && 0 === t.type && (t.nsp += \"?\" + t.query), e.encoding ? e.packetBuffer.push(t) : (e.encoding = !0, this.encoder.encode(t, function (r) {\n for (var n = 0; n < r.length; n++) e.engine.write(r[n], t.options);\n e.encoding = !1, e.processPacketQueue();\n }));\n }, l.prototype.processPacketQueue = function () {\n if (this.packetBuffer.length > 0 && !this.encoding) {\n var t = this.packetBuffer.shift();\n this.packet(t);\n }\n }, l.prototype.cleanup = function () {\n u(\"cleanup\");\n for (var t = this.subs.length, e = 0; e < t; e++) {\n this.subs.shift().destroy();\n }\n this.packetBuffer = [], this.encoding = !1, this.lastPing = null, this.decoder.destroy();\n }, l.prototype.close = l.prototype.disconnect = function () {\n u(\"disconnect\"), this.skipReconnect = !0, this.reconnecting = !1, \"opening\" === this.readyState && this.cleanup(), this.backoff.reset(), this.readyState = \"closed\", this.engine && this.engine.close();\n }, l.prototype.onclose = function (t) {\n u(\"onclose\"), this.cleanup(), this.backoff.reset(), this.readyState = \"closed\", this.emit(\"close\", t), this._reconnection && !this.skipReconnect && this.reconnect();\n }, l.prototype.reconnect = function () {\n if (this.reconnecting || this.skipReconnect) return this;\n var t = this;\n if (this.backoff.attempts >= this._reconnectionAttempts) u(\"reconnect failed\"), this.backoff.reset(), this.emitAll(\"reconnect_failed\"), this.reconnecting = !1;else {\n var e = this.backoff.duration();\n u(\"will wait %dms before reconnect attempt\", e), this.reconnecting = !0;\n var r = setTimeout(function () {\n t.skipReconnect || (u(\"attempting reconnect\"), t.emitAll(\"reconnect_attempt\", t.backoff.attempts), t.emitAll(\"reconnecting\", t.backoff.attempts), t.skipReconnect || t.open(function (e) {\n e ? (u(\"reconnect attempt error\"), t.reconnecting = !1, t.reconnect(), t.emitAll(\"reconnect_error\", e.data)) : (u(\"reconnect success\"), t.onreconnect());\n }));\n }, e);\n this.subs.push({\n destroy: function () {\n clearTimeout(r);\n }\n });\n }\n }, l.prototype.onreconnect = function () {\n var t = this.backoff.attempts;\n this.reconnecting = !1, this.backoff.reset(), this.updateSocketIds(), this.emitAll(\"reconnect\", t);\n };\n }, function (t, e, r) {\n var n = r(8),\n o = r(35),\n i = r(42),\n s = r(43);\n e.polling = function (t) {\n var e = !1,\n r = !1,\n s = !1 !== t.jsonp;\n if (\"undefined\" != typeof location) {\n var a = \"https:\" === location.protocol,\n c = location.port;\n c || (c = a ? 443 : 80), e = t.hostname !== location.hostname || c !== t.port, r = t.secure !== a;\n }\n if (t.xdomain = e, t.xscheme = r, \"open\" in new n(t) && !t.forceJSONP) return new o(t);\n if (!s) throw new Error(\"JSONP disabled\");\n return new i(t);\n }, e.websocket = s;\n }, function (t, e, r) {\n var n = r(9),\n o = r(3),\n i = r(2),\n s = r(4),\n a = r(17),\n c = r(0)(\"engine.io-client:polling\");\n t.exports = h;\n var u = null != new (r(8))({\n xdomain: !1\n }).responseType;\n function h(t) {\n var e = t && t.forceBase64;\n u && !e || (this.supportsBinary = !1), n.call(this, t);\n }\n s(h, n), h.prototype.name = \"polling\", h.prototype.doOpen = function () {\n this.poll();\n }, h.prototype.pause = function (t) {\n var e = this;\n function r() {\n c(\"paused\"), e.readyState = \"paused\", t();\n }\n if (this.readyState = \"pausing\", this.polling || !this.writable) {\n var n = 0;\n this.polling && (c(\"we are currently polling - waiting to pause\"), n++, this.once(\"pollComplete\", function () {\n c(\"pre-pause polling complete\"), --n || r();\n })), this.writable || (c(\"we are currently writing - waiting to pause\"), n++, this.once(\"drain\", function () {\n c(\"pre-pause writing complete\"), --n || r();\n }));\n } else r();\n }, h.prototype.poll = function () {\n c(\"polling\"), this.polling = !0, this.doPoll(), this.emit(\"poll\");\n }, h.prototype.onData = function (t) {\n var e = this;\n c(\"polling got data %s\", t);\n i.decodePayload(t, this.socket.binaryType, function (t, r, n) {\n if (\"opening\" === e.readyState && e.onOpen(), \"close\" === t.type) return e.onClose(), !1;\n e.onPacket(t);\n }), \"closed\" !== this.readyState && (this.polling = !1, this.emit(\"pollComplete\"), \"open\" === this.readyState ? this.poll() : c('ignoring poll - transport state \"%s\"', this.readyState));\n }, h.prototype.doClose = function () {\n var t = this;\n function e() {\n c(\"writing close packet\"), t.write([{\n type: \"close\"\n }]);\n }\n \"open\" === this.readyState ? (c(\"transport open - closing\"), e()) : (c(\"transport not open - deferring close\"), this.once(\"open\", e));\n }, h.prototype.write = function (t) {\n var e = this;\n this.writable = !1;\n var r = function () {\n e.writable = !0, e.emit(\"drain\");\n };\n i.encodePayload(t, this.supportsBinary, function (t) {\n e.doWrite(t, r);\n });\n }, h.prototype.uri = function () {\n var t = this.query || {},\n e = this.secure ? \"https\" : \"http\",\n r = \"\";\n return !1 !== this.timestampRequests && (t[this.timestampParam] = a()), this.supportsBinary || t.sid || (t.b64 = 1), t = o.encode(t), this.port && (\"https\" === e && 443 !== Number(this.port) || \"http\" === e && 80 !== Number(this.port)) && (r = \":\" + this.port), t.length && (t = \"?\" + t), e + \"://\" + (-1 !== this.hostname.indexOf(\":\") ? \"[\" + this.hostname + \"]\" : this.hostname) + r + this.path + t;\n };\n }, function (t, e, r) {\n (function (e) {\n var n = r(6),\n o = Object.prototype.toString,\n i = \"function\" == typeof Blob || \"undefined\" != typeof Blob && \"[object BlobConstructor]\" === o.call(Blob),\n s = \"function\" == typeof File || \"undefined\" != typeof File && \"[object FileConstructor]\" === o.call(File);\n t.exports = function t(r) {\n if (!r || \"object\" != typeof r) return !1;\n if (n(r)) {\n for (var o = 0, a = r.length; o < a; o++) if (t(r[o])) return !0;\n return !1;\n }\n if (\"function\" == typeof e && e.isBuffer && e.isBuffer(r) || \"function\" == typeof ArrayBuffer && r instanceof ArrayBuffer || i && r instanceof Blob || s && r instanceof File) return !0;\n if (r.toJSON && \"function\" == typeof r.toJSON && 1 === arguments.length) return t(r.toJSON(), !0);\n for (var c in r) if (Object.prototype.hasOwnProperty.call(r, c) && t(r[c])) return !0;\n return !1;\n };\n }).call(this, r(7).Buffer);\n }, function (t, e, r) {\n \"use strict\";\n\n var n,\n o = \"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_\".split(\"\"),\n i = 64,\n s = {},\n a = 0,\n c = 0;\n function u(t) {\n var e = \"\";\n do {\n e = o[t % i] + e, t = Math.floor(t / i);\n } while (t > 0);\n return e;\n }\n function h() {\n var t = u(+new Date());\n return t !== n ? (a = 0, n = t) : t + \".\" + u(a++);\n }\n for (; c < i; c++) s[o[c]] = c;\n h.encode = u, h.decode = function (t) {\n var e = 0;\n for (c = 0; c < t.length; c++) e = e * i + s[t.charAt(c)];\n return e;\n }, t.exports = h;\n }, function (t, e) {\n var r = [].indexOf;\n t.exports = function (t, e) {\n if (r) return t.indexOf(e);\n for (var n = 0; n < t.length; ++n) if (t[n] === e) return n;\n return -1;\n };\n }, function (t, e, r) {\n var n = r(5),\n o = r(1),\n i = r(45),\n s = r(20),\n a = r(21),\n c = r(0)(\"socket.io-client:socket\"),\n u = r(3),\n h = r(16);\n t.exports = l;\n var f = {\n connect: 1,\n connect_error: 1,\n connect_timeout: 1,\n connecting: 1,\n disconnect: 1,\n error: 1,\n reconnect: 1,\n reconnect_attempt: 1,\n reconnect_failed: 1,\n reconnect_error: 1,\n reconnecting: 1,\n ping: 1,\n pong: 1\n },\n p = o.prototype.emit;\n function l(t, e, r) {\n this.io = t, this.nsp = e, this.json = this, this.ids = 0, this.acks = {}, this.receiveBuffer = [], this.sendBuffer = [], this.connected = !1, this.disconnected = !0, this.flags = {}, r && r.query && (this.query = r.query), this.io.autoConnect && this.open();\n }\n o(l.prototype), l.prototype.subEvents = function () {\n if (!this.subs) {\n var t = this.io;\n this.subs = [s(t, \"open\", a(this, \"onopen\")), s(t, \"packet\", a(this, \"onpacket\")), s(t, \"close\", a(this, \"onclose\"))];\n }\n }, l.prototype.open = l.prototype.connect = function () {\n return this.connected ? this : (this.subEvents(), this.io.open(), \"open\" === this.io.readyState && this.onopen(), this.emit(\"connecting\"), this);\n }, l.prototype.send = function () {\n var t = i(arguments);\n return t.unshift(\"message\"), this.emit.apply(this, t), this;\n }, l.prototype.emit = function (t) {\n if (f.hasOwnProperty(t)) return p.apply(this, arguments), this;\n var e = i(arguments),\n r = {\n type: (void 0 !== this.flags.binary ? this.flags.binary : h(e)) ? n.BINARY_EVENT : n.EVENT,\n data: e,\n options: {}\n };\n return r.options.compress = !this.flags || !1 !== this.flags.compress, \"function\" == typeof e[e.length - 1] && (c(\"emitting packet with ack id %d\", this.ids), this.acks[this.ids] = e.pop(), r.id = this.ids++), this.connected ? this.packet(r) : this.sendBuffer.push(r), this.flags = {}, this;\n }, l.prototype.packet = function (t) {\n t.nsp = this.nsp, this.io.packet(t);\n }, l.prototype.onopen = function () {\n if (c(\"transport is open - connecting\"), \"/\" !== this.nsp) if (this.query) {\n var t = \"object\" == typeof this.query ? u.encode(this.query) : this.query;\n c(\"sending connect packet with query %s\", t), this.packet({\n type: n.CONNECT,\n query: t\n });\n } else this.packet({\n type: n.CONNECT\n });\n }, l.prototype.onclose = function (t) {\n c(\"close (%s)\", t), this.connected = !1, this.disconnected = !0, delete this.id, this.emit(\"disconnect\", t);\n }, l.prototype.onpacket = function (t) {\n var e = t.nsp === this.nsp,\n r = t.type === n.ERROR && \"/\" === t.nsp;\n if (e || r) switch (t.type) {\n case n.CONNECT:\n this.onconnect();\n break;\n case n.EVENT:\n case n.BINARY_EVENT:\n this.onevent(t);\n break;\n case n.ACK:\n case n.BINARY_ACK:\n this.onack(t);\n break;\n case n.DISCONNECT:\n this.ondisconnect();\n break;\n case n.ERROR:\n this.emit(\"error\", t.data);\n }\n }, l.prototype.onevent = function (t) {\n var e = t.data || [];\n c(\"emitting event %j\", e), null != t.id && (c(\"attaching ack callback to event\"), e.push(this.ack(t.id))), this.connected ? p.apply(this, e) : this.receiveBuffer.push(e);\n }, l.prototype.ack = function (t) {\n var e = this,\n r = !1;\n return function () {\n if (!r) {\n r = !0;\n var o = i(arguments);\n c(\"sending ack %j\", o), e.packet({\n type: h(o) ? n.BINARY_ACK : n.ACK,\n id: t,\n data: o\n });\n }\n };\n }, l.prototype.onack = function (t) {\n var e = this.acks[t.id];\n \"function\" == typeof e ? (c(\"calling ack %s with %j\", t.id, t.data), e.apply(this, t.data), delete this.acks[t.id]) : c(\"bad ack %s\", t.id);\n }, l.prototype.onconnect = function () {\n this.connected = !0, this.disconnected = !1, this.emit(\"connect\"), this.emitBuffered();\n }, l.prototype.emitBuffered = function () {\n var t;\n for (t = 0; t < this.receiveBuffer.length; t++) p.apply(this, this.receiveBuffer[t]);\n for (this.receiveBuffer = [], t = 0; t < this.sendBuffer.length; t++) this.packet(this.sendBuffer[t]);\n this.sendBuffer = [];\n }, l.prototype.ondisconnect = function () {\n c(\"server disconnect (%s)\", this.nsp), this.destroy(), this.onclose(\"io server disconnect\");\n }, l.prototype.destroy = function () {\n if (this.subs) {\n for (var t = 0; t < this.subs.length; t++) this.subs[t].destroy();\n this.subs = null;\n }\n this.io.destroy(this);\n }, l.prototype.close = l.prototype.disconnect = function () {\n return this.connected && (c(\"performing disconnect (%s)\", this.nsp), this.packet({\n type: n.DISCONNECT\n })), this.destroy(), this.connected && this.onclose(\"io client disconnect\"), this;\n }, l.prototype.compress = function (t) {\n return this.flags.compress = t, this;\n }, l.prototype.binary = function (t) {\n return this.flags.binary = t, this;\n };\n }, function (t, e) {\n t.exports = function (t, e, r) {\n return t.on(e, r), {\n destroy: function () {\n t.removeListener(e, r);\n }\n };\n };\n }, function (t, e) {\n var r = [].slice;\n t.exports = function (t, e) {\n if (\"string\" == typeof e && (e = t[e]), \"function\" != typeof e) throw new Error(\"bind() requires a function\");\n var n = r.call(arguments, 2);\n return function () {\n return e.apply(t, n.concat(r.call(arguments)));\n };\n };\n }, function (t, e, r) {\n var n = r(24),\n o = r(5),\n i = r(13),\n s = r(0)(\"socket.io-client\");\n t.exports = e = c;\n var a = e.managers = {};\n function c(t, e) {\n \"object\" == typeof t && (e = t, t = void 0), e = e || {};\n var r,\n o = n(t),\n c = o.source,\n u = o.id,\n h = o.path,\n f = a[u] && h in a[u].nsps;\n return e.forceNew || e[\"force new connection\"] || !1 === e.multiplex || f ? (s(\"ignoring socket cache for %s\", c), r = i(c, e)) : (a[u] || (s(\"new io instance for %s\", c), a[u] = i(c, e)), r = a[u]), o.query && !e.query && (e.query = o.query), r.socket(o.path, e);\n }\n e.protocol = o.protocol, e.connect = c, e.Manager = r(13), e.Socket = r(19);\n }, function (t, e, r) {\n t.exports = r(47);\n }, function (t, e, r) {\n var n = r(10),\n o = r(0)(\"socket.io-client:url\");\n t.exports = function (t, e) {\n var r = t;\n e = e || \"undefined\" != typeof location && location, null == t && (t = e.protocol + \"//\" + e.host);\n \"string\" == typeof t && (\"/\" === t.charAt(0) && (t = \"/\" === t.charAt(1) ? e.protocol + t : e.host + t), /^(https?|wss?):\\/\\//.test(t) || (o(\"protocol-less url %s\", t), t = void 0 !== e ? e.protocol + \"//\" + t : \"https://\" + t), o(\"parse %s\", t), r = n(t));\n r.port || (/^(http|ws)$/.test(r.protocol) ? r.port = \"80\" : /^(http|ws)s$/.test(r.protocol) && (r.port = \"443\"));\n r.path = r.path || \"/\";\n var i = -1 !== r.host.indexOf(\":\") ? \"[\" + r.host + \"]\" : r.host;\n return r.id = r.protocol + \"://\" + i + \":\" + r.port, r.href = r.protocol + \"://\" + i + (e && e.port === r.port ? \"\" : \":\" + r.port), r;\n };\n }, function (t, e) {\n var r,\n n,\n o = t.exports = {};\n function i() {\n throw new Error(\"setTimeout has not been defined\");\n }\n function s() {\n throw new Error(\"clearTimeout has not been defined\");\n }\n function a(t) {\n if (r === setTimeout) return setTimeout(t, 0);\n if ((r === i || !r) && setTimeout) return r = setTimeout, setTimeout(t, 0);\n try {\n return r(t, 0);\n } catch (e) {\n try {\n return r.call(null, t, 0);\n } catch (e) {\n return r.call(this, t, 0);\n }\n }\n }\n !function () {\n try {\n r = \"function\" == typeof setTimeout ? setTimeout : i;\n } catch (t) {\n r = i;\n }\n try {\n n = \"function\" == typeof clearTimeout ? clearTimeout : s;\n } catch (t) {\n n = s;\n }\n }();\n var c,\n u = [],\n h = !1,\n f = -1;\n function p() {\n h && c && (h = !1, c.length ? u = c.concat(u) : f = -1, u.length && l());\n }\n function l() {\n if (!h) {\n var t = a(p);\n h = !0;\n for (var e = u.length; e;) {\n for (c = u, u = []; ++f < e;) c && c[f].run();\n f = -1, e = u.length;\n }\n c = null, h = !1, function (t) {\n if (n === clearTimeout) return clearTimeout(t);\n if ((n === s || !n) && clearTimeout) return n = clearTimeout, clearTimeout(t);\n try {\n n(t);\n } catch (e) {\n try {\n return n.call(null, t);\n } catch (e) {\n return n.call(this, t);\n }\n }\n }(t);\n }\n }\n function d(t, e) {\n this.fun = t, this.array = e;\n }\n function y() {}\n o.nextTick = function (t) {\n var e = new Array(arguments.length - 1);\n if (arguments.length > 1) for (var r = 1; r < arguments.length; r++) e[r - 1] = arguments[r];\n u.push(new d(t, e)), 1 !== u.length || h || a(l);\n }, d.prototype.run = function () {\n this.fun.apply(null, this.array);\n }, o.title = \"browser\", o.browser = !0, o.env = {}, o.argv = [], o.version = \"\", o.versions = {}, o.on = y, o.addListener = y, o.once = y, o.off = y, o.removeListener = y, o.removeAllListeners = y, o.emit = y, o.prependListener = y, o.prependOnceListener = y, o.listeners = function (t) {\n return [];\n }, o.binding = function (t) {\n throw new Error(\"process.binding is not supported\");\n }, o.cwd = function () {\n return \"/\";\n }, o.chdir = function (t) {\n throw new Error(\"process.chdir is not supported\");\n }, o.umask = function () {\n return 0;\n };\n }, function (t, e, r) {\n function n(t) {\n var r;\n function n() {\n if (n.enabled) {\n var t = n,\n o = +new Date(),\n i = o - (r || o);\n t.diff = i, t.prev = r, t.curr = o, r = o;\n for (var s = new Array(arguments.length), a = 0; a < s.length; a++) s[a] = arguments[a];\n s[0] = e.coerce(s[0]), \"string\" != typeof s[0] && s.unshift(\"%O\");\n var c = 0;\n s[0] = s[0].replace(/%([a-zA-Z%])/g, function (r, n) {\n if (\"%%\" === r) return r;\n c++;\n var o = e.formatters[n];\n if (\"function\" == typeof o) {\n var i = s[c];\n r = o.call(t, i), s.splice(c, 1), c--;\n }\n return r;\n }), e.formatArgs.call(t, s), (n.log || e.log || console.log.bind(console)).apply(t, s);\n }\n }\n return n.namespace = t, n.enabled = e.enabled(t), n.useColors = e.useColors(), n.color = function (t) {\n var r,\n n = 0;\n for (r in t) n = (n << 5) - n + t.charCodeAt(r), n |= 0;\n return e.colors[Math.abs(n) % e.colors.length];\n }(t), n.destroy = o, \"function\" == typeof e.init && e.init(n), e.instances.push(n), n;\n }\n function o() {\n var t = e.instances.indexOf(this);\n return -1 !== t && (e.instances.splice(t, 1), !0);\n }\n (e = t.exports = n.debug = n.default = n).coerce = function (t) {\n return t instanceof Error ? t.stack || t.message : t;\n }, e.disable = function () {\n e.enable(\"\");\n }, e.enable = function (t) {\n var r;\n e.save(t), e.names = [], e.skips = [];\n var n = (\"string\" == typeof t ? t : \"\").split(/[\\s,]+/),\n o = n.length;\n for (r = 0; r < o; r++) n[r] && (\"-\" === (t = n[r].replace(/\\*/g, \".*?\"))[0] ? e.skips.push(new RegExp(\"^\" + t.substr(1) + \"$\")) : e.names.push(new RegExp(\"^\" + t + \"$\")));\n for (r = 0; r < e.instances.length; r++) {\n var i = e.instances[r];\n i.enabled = e.enabled(i.namespace);\n }\n }, e.enabled = function (t) {\n if (\"*\" === t[t.length - 1]) return !0;\n var r, n;\n for (r = 0, n = e.skips.length; r < n; r++) if (e.skips[r].test(t)) return !1;\n for (r = 0, n = e.names.length; r < n; r++) if (e.names[r].test(t)) return !0;\n return !1;\n }, e.humanize = r(27), e.instances = [], e.names = [], e.skips = [], e.formatters = {};\n }, function (t, e) {\n var r = 1e3,\n n = 60 * r,\n o = 60 * n,\n i = 24 * o,\n s = 365.25 * i;\n function a(t, e, r) {\n if (!(t < e)) return t < 1.5 * e ? Math.floor(t / e) + \" \" + r : Math.ceil(t / e) + \" \" + r + \"s\";\n }\n t.exports = function (t, e) {\n e = e || {};\n var c,\n u = typeof t;\n if (\"string\" === u && t.length > 0) return function (t) {\n if ((t = String(t)).length > 100) return;\n var e = /^((?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);\n if (!e) return;\n var a = parseFloat(e[1]);\n switch ((e[2] || \"ms\").toLowerCase()) {\n case \"years\":\n case \"year\":\n case \"yrs\":\n case \"yr\":\n case \"y\":\n return a * s;\n case \"days\":\n case \"day\":\n case \"d\":\n return a * i;\n case \"hours\":\n case \"hour\":\n case \"hrs\":\n case \"hr\":\n case \"h\":\n return a * o;\n case \"minutes\":\n case \"minute\":\n case \"mins\":\n case \"min\":\n case \"m\":\n return a * n;\n case \"seconds\":\n case \"second\":\n case \"secs\":\n case \"sec\":\n case \"s\":\n return a * r;\n case \"milliseconds\":\n case \"millisecond\":\n case \"msecs\":\n case \"msec\":\n case \"ms\":\n return a;\n default:\n return;\n }\n }(t);\n if (\"number\" === u && !1 === isNaN(t)) return e.long ? a(c = t, i, \"day\") || a(c, o, \"hour\") || a(c, n, \"minute\") || a(c, r, \"second\") || c + \" ms\" : function (t) {\n if (t >= i) return Math.round(t / i) + \"d\";\n if (t >= o) return Math.round(t / o) + \"h\";\n if (t >= n) return Math.round(t / n) + \"m\";\n if (t >= r) return Math.round(t / r) + \"s\";\n return t + \"ms\";\n }(t);\n throw new Error(\"val is not a non-empty string or a valid number. val=\" + JSON.stringify(t));\n };\n }, function (t, e, r) {\n var n = r(6),\n o = r(11),\n i = Object.prototype.toString,\n s = \"function\" == typeof Blob || \"undefined\" != typeof Blob && \"[object BlobConstructor]\" === i.call(Blob),\n a = \"function\" == typeof File || \"undefined\" != typeof File && \"[object FileConstructor]\" === i.call(File);\n e.deconstructPacket = function (t) {\n var e = [],\n r = t.data,\n i = t;\n return i.data = function t(e, r) {\n if (!e) return e;\n if (o(e)) {\n var i = {\n _placeholder: !0,\n num: r.length\n };\n return r.push(e), i;\n }\n if (n(e)) {\n for (var s = new Array(e.length), a = 0; a < e.length; a++) s[a] = t(e[a], r);\n return s;\n }\n if (\"object\" == typeof e && !(e instanceof Date)) {\n var s = {};\n for (var c in e) s[c] = t(e[c], r);\n return s;\n }\n return e;\n }(r, e), i.attachments = e.length, {\n packet: i,\n buffers: e\n };\n }, e.reconstructPacket = function (t, e) {\n return t.data = function t(e, r) {\n if (!e) return e;\n if (e && e._placeholder) return r[e.num];\n if (n(e)) for (var o = 0; o < e.length; o++) e[o] = t(e[o], r);else if (\"object\" == typeof e) for (var i in e) e[i] = t(e[i], r);\n return e;\n }(t.data, e), t.attachments = void 0, t;\n }, e.removeBlobs = function (t, e) {\n var r = 0,\n i = t;\n !function t(c, u, h) {\n if (!c) return c;\n if (s && c instanceof Blob || a && c instanceof File) {\n r++;\n var f = new FileReader();\n f.onload = function () {\n h ? h[u] = this.result : i = this.result, --r || e(i);\n }, f.readAsArrayBuffer(c);\n } else if (n(c)) for (var p = 0; p < c.length; p++) t(c[p], p, c);else if (\"object\" == typeof c && !o(c)) for (var l in c) t(c[l], l, c);\n }(i), r || e(i);\n };\n }, function (t, e, r) {\n \"use strict\";\n\n e.byteLength = function (t) {\n var e = u(t),\n r = e[0],\n n = e[1];\n return 3 * (r + n) / 4 - n;\n }, e.toByteArray = function (t) {\n for (var e, r = u(t), n = r[0], s = r[1], a = new i(function (t, e, r) {\n return 3 * (e + r) / 4 - r;\n }(0, n, s)), c = 0, h = s > 0 ? n - 4 : n, f = 0; f < h; f += 4) e = o[t.charCodeAt(f)] << 18 | o[t.charCodeAt(f + 1)] << 12 | o[t.charCodeAt(f + 2)] << 6 | o[t.charCodeAt(f + 3)], a[c++] = e >> 16 & 255, a[c++] = e >> 8 & 255, a[c++] = 255 & e;\n 2 === s && (e = o[t.charCodeAt(f)] << 2 | o[t.charCodeAt(f + 1)] >> 4, a[c++] = 255 & e);\n 1 === s && (e = o[t.charCodeAt(f)] << 10 | o[t.charCodeAt(f + 1)] << 4 | o[t.charCodeAt(f + 2)] >> 2, a[c++] = e >> 8 & 255, a[c++] = 255 & e);\n return a;\n }, e.fromByteArray = function (t) {\n for (var e, r = t.length, o = r % 3, i = [], s = 0, a = r - o; s < a; s += 16383) i.push(h(t, s, s + 16383 > a ? a : s + 16383));\n 1 === o ? (e = t[r - 1], i.push(n[e >> 2] + n[e << 4 & 63] + \"==\")) : 2 === o && (e = (t[r - 2] << 8) + t[r - 1], i.push(n[e >> 10] + n[e >> 4 & 63] + n[e << 2 & 63] + \"=\"));\n return i.join(\"\");\n };\n for (var n = [], o = [], i = \"undefined\" != typeof Uint8Array ? Uint8Array : Array, s = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\", a = 0, c = s.length; a < c; ++a) n[a] = s[a], o[s.charCodeAt(a)] = a;\n function u(t) {\n var e = t.length;\n if (e % 4 > 0) throw new Error(\"Invalid string. Length must be a multiple of 4\");\n var r = t.indexOf(\"=\");\n return -1 === r && (r = e), [r, r === e ? 0 : 4 - r % 4];\n }\n function h(t, e, r) {\n for (var o, i, s = [], a = e; a < r; a += 3) o = (t[a] << 16 & 16711680) + (t[a + 1] << 8 & 65280) + (255 & t[a + 2]), s.push(n[(i = o) >> 18 & 63] + n[i >> 12 & 63] + n[i >> 6 & 63] + n[63 & i]);\n return s.join(\"\");\n }\n o[\"-\".charCodeAt(0)] = 62, o[\"_\".charCodeAt(0)] = 63;\n }, function (t, e) {\n e.read = function (t, e, r, n, o) {\n var i,\n s,\n a = 8 * o - n - 1,\n c = (1 << a) - 1,\n u = c >> 1,\n h = -7,\n f = r ? o - 1 : 0,\n p = r ? -1 : 1,\n l = t[e + f];\n for (f += p, i = l & (1 << -h) - 1, l >>= -h, h += a; h > 0; i = 256 * i + t[e + f], f += p, h -= 8);\n for (s = i & (1 << -h) - 1, i >>= -h, h += n; h > 0; s = 256 * s + t[e + f], f += p, h -= 8);\n if (0 === i) i = 1 - u;else {\n if (i === c) return s ? NaN : 1 / 0 * (l ? -1 : 1);\n s += Math.pow(2, n), i -= u;\n }\n return (l ? -1 : 1) * s * Math.pow(2, i - n);\n }, e.write = function (t, e, r, n, o, i) {\n var s,\n a,\n c,\n u = 8 * i - o - 1,\n h = (1 << u) - 1,\n f = h >> 1,\n p = 23 === o ? Math.pow(2, -24) - Math.pow(2, -77) : 0,\n l = n ? 0 : i - 1,\n d = n ? 1 : -1,\n y = e < 0 || 0 === e && 1 / e < 0 ? 1 : 0;\n for (e = Math.abs(e), isNaN(e) || e === 1 / 0 ? (a = isNaN(e) ? 1 : 0, s = h) : (s = Math.floor(Math.log(e) / Math.LN2), e * (c = Math.pow(2, -s)) < 1 && (s--, c *= 2), (e += s + f >= 1 ? p / c : p * Math.pow(2, 1 - f)) * c >= 2 && (s++, c /= 2), s + f >= h ? (a = 0, s = h) : s + f >= 1 ? (a = (e * c - 1) * Math.pow(2, o), s += f) : (a = e * Math.pow(2, f - 1) * Math.pow(2, o), s = 0)); o >= 8; t[r + l] = 255 & a, l += d, a /= 256, o -= 8);\n for (s = s << o | a, u += o; u > 0; t[r + l] = 255 & s, l += d, s /= 256, u -= 8);\n t[r + l - d] |= 128 * y;\n };\n }, function (t, e) {\n var r = {}.toString;\n t.exports = Array.isArray || function (t) {\n return \"[object Array]\" == r.call(t);\n };\n }, function (t, e, r) {\n t.exports = r(33), t.exports.parser = r(2);\n }, function (t, e, r) {\n var n = r(14),\n o = r(1),\n i = r(0)(\"engine.io-client:socket\"),\n s = r(18),\n a = r(2),\n c = r(10),\n u = r(3);\n function h(t, e) {\n if (!(this instanceof h)) return new h(t, e);\n e = e || {}, t && \"object\" == typeof t && (e = t, t = null), t ? (t = c(t), e.hostname = t.host, e.secure = \"https\" === t.protocol || \"wss\" === t.protocol, e.port = t.port, t.query && (e.query = t.query)) : e.host && (e.hostname = c(e.host).host), this.secure = null != e.secure ? e.secure : \"undefined\" != typeof location && \"https:\" === location.protocol, e.hostname && !e.port && (e.port = this.secure ? \"443\" : \"80\"), this.agent = e.agent || !1, this.hostname = e.hostname || (\"undefined\" != typeof location ? location.hostname : \"localhost\"), this.port = e.port || (\"undefined\" != typeof location && location.port ? location.port : this.secure ? 443 : 80), this.query = e.query || {}, \"string\" == typeof this.query && (this.query = u.decode(this.query)), this.upgrade = !1 !== e.upgrade, this.path = (e.path || \"/engine.io\").replace(/\\/$/, \"\") + \"/\", this.forceJSONP = !!e.forceJSONP, this.jsonp = !1 !== e.jsonp, this.forceBase64 = !!e.forceBase64, this.enablesXDR = !!e.enablesXDR, this.timestampParam = e.timestampParam || \"t\", this.timestampRequests = e.timestampRequests, this.transports = e.transports || [\"polling\", \"websocket\"], this.transportOptions = e.transportOptions || {}, this.readyState = \"\", this.writeBuffer = [], this.prevBufferLen = 0, this.policyPort = e.policyPort || 843, this.rememberUpgrade = e.rememberUpgrade || !1, this.binaryType = null, this.onlyBinaryUpgrades = e.onlyBinaryUpgrades, this.perMessageDeflate = !1 !== e.perMessageDeflate && (e.perMessageDeflate || {}), !0 === this.perMessageDeflate && (this.perMessageDeflate = {}), this.perMessageDeflate && null == this.perMessageDeflate.threshold && (this.perMessageDeflate.threshold = 1024), this.pfx = e.pfx || null, this.key = e.key || null, this.passphrase = e.passphrase || null, this.cert = e.cert || null, this.ca = e.ca || null, this.ciphers = e.ciphers || null, this.rejectUnauthorized = void 0 === e.rejectUnauthorized || e.rejectUnauthorized, this.forceNode = !!e.forceNode, this.isReactNative = \"undefined\" != typeof navigator && \"string\" == typeof navigator.product && \"reactnative\" === navigator.product.toLowerCase(), (\"undefined\" == typeof self || this.isReactNative) && (e.extraHeaders && Object.keys(e.extraHeaders).length > 0 && (this.extraHeaders = e.extraHeaders), e.localAddress && (this.localAddress = e.localAddress)), this.id = null, this.upgrades = null, this.pingInterval = null, this.pingTimeout = null, this.pingIntervalTimer = null, this.pingTimeoutTimer = null, this.open();\n }\n t.exports = h, h.priorWebsocketSuccess = !1, o(h.prototype), h.protocol = a.protocol, h.Socket = h, h.Transport = r(9), h.transports = r(14), h.parser = r(2), h.prototype.createTransport = function (t) {\n i('creating transport \"%s\"', t);\n var e = function (t) {\n var e = {};\n for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]);\n return e;\n }(this.query);\n e.EIO = a.protocol, e.transport = t;\n var r = this.transportOptions[t] || {};\n return this.id && (e.sid = this.id), new n[t]({\n query: e,\n socket: this,\n agent: r.agent || this.agent,\n hostname: r.hostname || this.hostname,\n port: r.port || this.port,\n secure: r.secure || this.secure,\n path: r.path || this.path,\n forceJSONP: r.forceJSONP || this.forceJSONP,\n jsonp: r.jsonp || this.jsonp,\n forceBase64: r.forceBase64 || this.forceBase64,\n enablesXDR: r.enablesXDR || this.enablesXDR,\n timestampRequests: r.timestampRequests || this.timestampRequests,\n timestampParam: r.timestampParam || this.timestampParam,\n policyPort: r.policyPort || this.policyPort,\n pfx: r.pfx || this.pfx,\n key: r.key || this.key,\n passphrase: r.passphrase || this.passphrase,\n cert: r.cert || this.cert,\n ca: r.ca || this.ca,\n ciphers: r.ciphers || this.ciphers,\n rejectUnauthorized: r.rejectUnauthorized || this.rejectUnauthorized,\n perMessageDeflate: r.perMessageDeflate || this.perMessageDeflate,\n extraHeaders: r.extraHeaders || this.extraHeaders,\n forceNode: r.forceNode || this.forceNode,\n localAddress: r.localAddress || this.localAddress,\n requestTimeout: r.requestTimeout || this.requestTimeout,\n protocols: r.protocols || void 0,\n isReactNative: this.isReactNative\n });\n }, h.prototype.open = function () {\n var t;\n if (this.rememberUpgrade && h.priorWebsocketSuccess && -1 !== this.transports.indexOf(\"websocket\")) t = \"websocket\";else {\n if (0 === this.transports.length) {\n var e = this;\n return void setTimeout(function () {\n e.emit(\"error\", \"No transports available\");\n }, 0);\n }\n t = this.transports[0];\n }\n this.readyState = \"opening\";\n try {\n t = this.createTransport(t);\n } catch (t) {\n return this.transports.shift(), void this.open();\n }\n t.open(), this.setTransport(t);\n }, h.prototype.setTransport = function (t) {\n i(\"setting transport %s\", t.name);\n var e = this;\n this.transport && (i(\"clearing existing transport %s\", this.transport.name), this.transport.removeAllListeners()), this.transport = t, t.on(\"drain\", function () {\n e.onDrain();\n }).on(\"packet\", function (t) {\n e.onPacket(t);\n }).on(\"error\", function (t) {\n e.onError(t);\n }).on(\"close\", function () {\n e.onClose(\"transport close\");\n });\n }, h.prototype.probe = function (t) {\n i('probing transport \"%s\"', t);\n var e = this.createTransport(t, {\n probe: 1\n }),\n r = !1,\n n = this;\n function o() {\n if (n.onlyBinaryUpgrades) {\n var o = !this.supportsBinary && n.transport.supportsBinary;\n r = r || o;\n }\n r || (i('probe transport \"%s\" opened', t), e.send([{\n type: \"ping\",\n data: \"probe\"\n }]), e.once(\"packet\", function (o) {\n if (!r) if (\"pong\" === o.type && \"probe\" === o.data) {\n if (i('probe transport \"%s\" pong', t), n.upgrading = !0, n.emit(\"upgrading\", e), !e) return;\n h.priorWebsocketSuccess = \"websocket\" === e.name, i('pausing current transport \"%s\"', n.transport.name), n.transport.pause(function () {\n r || \"closed\" !== n.readyState && (i(\"changing transport and sending upgrade packet\"), p(), n.setTransport(e), e.send([{\n type: \"upgrade\"\n }]), n.emit(\"upgrade\", e), e = null, n.upgrading = !1, n.flush());\n });\n } else {\n i('probe transport \"%s\" failed', t);\n var s = new Error(\"probe error\");\n s.transport = e.name, n.emit(\"upgradeError\", s);\n }\n }));\n }\n function s() {\n r || (r = !0, p(), e.close(), e = null);\n }\n function a(r) {\n var o = new Error(\"probe error: \" + r);\n o.transport = e.name, s(), i('probe transport \"%s\" failed because of error: %s', t, r), n.emit(\"upgradeError\", o);\n }\n function c() {\n a(\"transport closed\");\n }\n function u() {\n a(\"socket closed\");\n }\n function f(t) {\n e && t.name !== e.name && (i('\"%s\" works - aborting \"%s\"', t.name, e.name), s());\n }\n function p() {\n e.removeListener(\"open\", o), e.removeListener(\"error\", a), e.removeListener(\"close\", c), n.removeListener(\"close\", u), n.removeListener(\"upgrading\", f);\n }\n h.priorWebsocketSuccess = !1, e.once(\"open\", o), e.once(\"error\", a), e.once(\"close\", c), this.once(\"close\", u), this.once(\"upgrading\", f), e.open();\n }, h.prototype.onOpen = function () {\n if (i(\"socket open\"), this.readyState = \"open\", h.priorWebsocketSuccess = \"websocket\" === this.transport.name, this.emit(\"open\"), this.flush(), \"open\" === this.readyState && this.upgrade && this.transport.pause) {\n i(\"starting upgrade probes\");\n for (var t = 0, e = this.upgrades.length; t < e; t++) this.probe(this.upgrades[t]);\n }\n }, h.prototype.onPacket = function (t) {\n if (\"opening\" === this.readyState || \"open\" === this.readyState || \"closing\" === this.readyState) switch (i('socket receive: type \"%s\", data \"%s\"', t.type, t.data), this.emit(\"packet\", t), this.emit(\"heartbeat\"), t.type) {\n case \"open\":\n this.onHandshake(JSON.parse(t.data));\n break;\n case \"pong\":\n this.setPing(), this.emit(\"pong\");\n break;\n case \"error\":\n var e = new Error(\"server error\");\n e.code = t.data, this.onError(e);\n break;\n case \"message\":\n this.emit(\"data\", t.data), this.emit(\"message\", t.data);\n } else i('packet received with socket readyState \"%s\"', this.readyState);\n }, h.prototype.onHandshake = function (t) {\n this.emit(\"handshake\", t), this.id = t.sid, this.transport.query.sid = t.sid, this.upgrades = this.filterUpgrades(t.upgrades), this.pingInterval = t.pingInterval, this.pingTimeout = t.pingTimeout, this.onOpen(), \"closed\" !== this.readyState && (this.setPing(), this.removeListener(\"heartbeat\", this.onHeartbeat), this.on(\"heartbeat\", this.onHeartbeat));\n }, h.prototype.onHeartbeat = function (t) {\n clearTimeout(this.pingTimeoutTimer);\n var e = this;\n e.pingTimeoutTimer = setTimeout(function () {\n \"closed\" !== e.readyState && e.onClose(\"ping timeout\");\n }, t || e.pingInterval + e.pingTimeout);\n }, h.prototype.setPing = function () {\n var t = this;\n clearTimeout(t.pingIntervalTimer), t.pingIntervalTimer = setTimeout(function () {\n i(\"writing ping packet - expecting pong within %sms\", t.pingTimeout), t.ping(), t.onHeartbeat(t.pingTimeout);\n }, t.pingInterval);\n }, h.prototype.ping = function () {\n var t = this;\n this.sendPacket(\"ping\", function () {\n t.emit(\"ping\");\n });\n }, h.prototype.onDrain = function () {\n this.writeBuffer.splice(0, this.prevBufferLen), this.prevBufferLen = 0, 0 === this.writeBuffer.length ? this.emit(\"drain\") : this.flush();\n }, h.prototype.flush = function () {\n \"closed\" !== this.readyState && this.transport.writable && !this.upgrading && this.writeBuffer.length && (i(\"flushing %d packets in socket\", this.writeBuffer.length), this.transport.send(this.writeBuffer), this.prevBufferLen = this.writeBuffer.length, this.emit(\"flush\"));\n }, h.prototype.write = h.prototype.send = function (t, e, r) {\n return this.sendPacket(\"message\", t, e, r), this;\n }, h.prototype.sendPacket = function (t, e, r, n) {\n if (\"function\" == typeof e && (n = e, e = void 0), \"function\" == typeof r && (n = r, r = null), \"closing\" !== this.readyState && \"closed\" !== this.readyState) {\n (r = r || {}).compress = !1 !== r.compress;\n var o = {\n type: t,\n data: e,\n options: r\n };\n this.emit(\"packetCreate\", o), this.writeBuffer.push(o), n && this.once(\"flush\", n), this.flush();\n }\n }, h.prototype.close = function () {\n if (\"opening\" === this.readyState || \"open\" === this.readyState) {\n this.readyState = \"closing\";\n var t = this;\n this.writeBuffer.length ? this.once(\"drain\", function () {\n this.upgrading ? n() : e();\n }) : this.upgrading ? n() : e();\n }\n function e() {\n t.onClose(\"forced close\"), i(\"socket closing - telling transport to close\"), t.transport.close();\n }\n function r() {\n t.removeListener(\"upgrade\", r), t.removeListener(\"upgradeError\", r), e();\n }\n function n() {\n t.once(\"upgrade\", r), t.once(\"upgradeError\", r);\n }\n return this;\n }, h.prototype.onError = function (t) {\n i(\"socket error %j\", t), h.priorWebsocketSuccess = !1, this.emit(\"error\", t), this.onClose(\"transport error\", t);\n }, h.prototype.onClose = function (t, e) {\n if (\"opening\" === this.readyState || \"open\" === this.readyState || \"closing\" === this.readyState) {\n i('socket close with reason: \"%s\"', t);\n clearTimeout(this.pingIntervalTimer), clearTimeout(this.pingTimeoutTimer), this.transport.removeAllListeners(\"close\"), this.transport.close(), this.transport.removeAllListeners(), this.readyState = \"closed\", this.id = null, this.emit(\"close\", t, e), this.writeBuffer = [], this.prevBufferLen = 0;\n }\n }, h.prototype.filterUpgrades = function (t) {\n for (var e = [], r = 0, n = t.length; r < n; r++) ~s(this.transports, t[r]) && e.push(t[r]);\n return e;\n };\n }, function (t, e) {\n try {\n t.exports = \"undefined\" != typeof XMLHttpRequest && \"withCredentials\" in new XMLHttpRequest();\n } catch (e) {\n t.exports = !1;\n }\n }, function (t, e, r) {\n var n = r(8),\n o = r(15),\n i = r(1),\n s = r(4),\n a = r(0)(\"engine.io-client:polling-xhr\");\n function c() {}\n function u(t) {\n if (o.call(this, t), this.requestTimeout = t.requestTimeout, this.extraHeaders = t.extraHeaders, \"undefined\" != typeof location) {\n var e = \"https:\" === location.protocol,\n r = location.port;\n r || (r = e ? 443 : 80), this.xd = \"undefined\" != typeof location && t.hostname !== location.hostname || r !== t.port, this.xs = t.secure !== e;\n }\n }\n function h(t) {\n this.method = t.method || \"GET\", this.uri = t.uri, this.xd = !!t.xd, this.xs = !!t.xs, this.async = !1 !== t.async, this.data = void 0 !== t.data ? t.data : null, this.agent = t.agent, this.isBinary = t.isBinary, this.supportsBinary = t.supportsBinary, this.enablesXDR = t.enablesXDR, this.requestTimeout = t.requestTimeout, this.pfx = t.pfx, this.key = t.key, this.passphrase = t.passphrase, this.cert = t.cert, this.ca = t.ca, this.ciphers = t.ciphers, this.rejectUnauthorized = t.rejectUnauthorized, this.extraHeaders = t.extraHeaders, this.create();\n }\n if (t.exports = u, t.exports.Request = h, s(u, o), u.prototype.supportsBinary = !0, u.prototype.request = function (t) {\n return (t = t || {}).uri = this.uri(), t.xd = this.xd, t.xs = this.xs, t.agent = this.agent || !1, t.supportsBinary = this.supportsBinary, t.enablesXDR = this.enablesXDR, t.pfx = this.pfx, t.key = this.key, t.passphrase = this.passphrase, t.cert = this.cert, t.ca = this.ca, t.ciphers = this.ciphers, t.rejectUnauthorized = this.rejectUnauthorized, t.requestTimeout = this.requestTimeout, t.extraHeaders = this.extraHeaders, new h(t);\n }, u.prototype.doWrite = function (t, e) {\n var r = \"string\" != typeof t && void 0 !== t,\n n = this.request({\n method: \"POST\",\n data: t,\n isBinary: r\n }),\n o = this;\n n.on(\"success\", e), n.on(\"error\", function (t) {\n o.onError(\"xhr post error\", t);\n }), this.sendXhr = n;\n }, u.prototype.doPoll = function () {\n a(\"xhr poll\");\n var t = this.request(),\n e = this;\n t.on(\"data\", function (t) {\n e.onData(t);\n }), t.on(\"error\", function (t) {\n e.onError(\"xhr poll error\", t);\n }), this.pollXhr = t;\n }, i(h.prototype), h.prototype.create = function () {\n var t = {\n agent: this.agent,\n xdomain: this.xd,\n xscheme: this.xs,\n enablesXDR: this.enablesXDR\n };\n t.pfx = this.pfx, t.key = this.key, t.passphrase = this.passphrase, t.cert = this.cert, t.ca = this.ca, t.ciphers = this.ciphers, t.rejectUnauthorized = this.rejectUnauthorized;\n var e = this.xhr = new n(t),\n r = this;\n try {\n a(\"xhr open %s: %s\", this.method, this.uri), e.open(this.method, this.uri, this.async);\n try {\n if (this.extraHeaders) for (var o in e.setDisableHeaderCheck && e.setDisableHeaderCheck(!0), this.extraHeaders) this.extraHeaders.hasOwnProperty(o) && e.setRequestHeader(o, this.extraHeaders[o]);\n } catch (t) {}\n if (\"POST\" === this.method) try {\n this.isBinary ? e.setRequestHeader(\"Content-type\", \"application/octet-stream\") : e.setRequestHeader(\"Content-type\", \"text/plain;charset=UTF-8\");\n } catch (t) {}\n try {\n e.setRequestHeader(\"Accept\", \"*/*\");\n } catch (t) {}\n \"withCredentials\" in e && (e.withCredentials = !0), this.requestTimeout && (e.timeout = this.requestTimeout), this.hasXDR() ? (e.onload = function () {\n r.onLoad();\n }, e.onerror = function () {\n r.onError(e.responseText);\n }) : e.onreadystatechange = function () {\n if (2 === e.readyState) try {\n var t = e.getResponseHeader(\"Content-Type\");\n r.supportsBinary && \"application/octet-stream\" === t && (e.responseType = \"arraybuffer\");\n } catch (t) {}\n 4 === e.readyState && (200 === e.status || 1223 === e.status ? r.onLoad() : setTimeout(function () {\n r.onError(e.status);\n }, 0));\n }, a(\"xhr data %s\", this.data), e.send(this.data);\n } catch (t) {\n return void setTimeout(function () {\n r.onError(t);\n }, 0);\n }\n \"undefined\" != typeof document && (this.index = h.requestsCount++, h.requests[this.index] = this);\n }, h.prototype.onSuccess = function () {\n this.emit(\"success\"), this.cleanup();\n }, h.prototype.onData = function (t) {\n this.emit(\"data\", t), this.onSuccess();\n }, h.prototype.onError = function (t) {\n this.emit(\"error\", t), this.cleanup(!0);\n }, h.prototype.cleanup = function (t) {\n if (void 0 !== this.xhr && null !== this.xhr) {\n if (this.hasXDR() ? this.xhr.onload = this.xhr.onerror = c : this.xhr.onreadystatechange = c, t) try {\n this.xhr.abort();\n } catch (t) {}\n \"undefined\" != typeof document && delete h.requests[this.index], this.xhr = null;\n }\n }, h.prototype.onLoad = function () {\n var t;\n try {\n var e;\n try {\n e = this.xhr.getResponseHeader(\"Content-Type\");\n } catch (t) {}\n t = \"application/octet-stream\" === e && this.xhr.response || this.xhr.responseText;\n } catch (t) {\n this.onError(t);\n }\n null != t && this.onData(t);\n }, h.prototype.hasXDR = function () {\n return \"undefined\" != typeof XDomainRequest && !this.xs && this.enablesXDR;\n }, h.prototype.abort = function () {\n this.cleanup();\n }, h.requestsCount = 0, h.requests = {}, \"undefined\" != typeof document) if (\"function\" == typeof attachEvent) attachEvent(\"onunload\", p);else if (\"function\" == typeof addEventListener) {\n var f = \"onpagehide\" in self ? \"pagehide\" : \"unload\";\n addEventListener(f, p, !1);\n }\n function p() {\n for (var t in h.requests) h.requests.hasOwnProperty(t) && h.requests[t].abort();\n }\n }, function (t, e) {\n t.exports = Object.keys || function (t) {\n var e = [],\n r = Object.prototype.hasOwnProperty;\n for (var n in t) r.call(t, n) && e.push(n);\n return e;\n };\n }, function (t, e) {\n t.exports = function (t, e, r) {\n var n = t.byteLength;\n if (e = e || 0, r = r || n, t.slice) return t.slice(e, r);\n if (e < 0 && (e += n), r < 0 && (r += n), r > n && (r = n), e >= n || e >= r || 0 === n) return new ArrayBuffer(0);\n for (var o = new Uint8Array(t), i = new Uint8Array(r - e), s = e, a = 0; s < r; s++, a++) i[a] = o[s];\n return i.buffer;\n };\n }, function (t, e) {\n function r() {}\n t.exports = function (t, e, n) {\n var o = !1;\n return n = n || r, i.count = t, 0 === t ? e() : i;\n function i(t, r) {\n if (i.count <= 0) throw new Error(\"after called too many times\");\n --i.count, t ? (o = !0, e(t), e = n) : 0 !== i.count || o || e(null, r);\n }\n };\n }, function (t, e) {\n /*! https://mths.be/utf8js v2.1.2 by @mathias */\n var r,\n n,\n o,\n i = String.fromCharCode;\n function s(t) {\n for (var e, r, n = [], o = 0, i = t.length; o < i;) (e = t.charCodeAt(o++)) >= 55296 && e <= 56319 && o < i ? 56320 == (64512 & (r = t.charCodeAt(o++))) ? n.push(((1023 & e) << 10) + (1023 & r) + 65536) : (n.push(e), o--) : n.push(e);\n return n;\n }\n function a(t, e) {\n if (t >= 55296 && t <= 57343) {\n if (e) throw Error(\"Lone surrogate U+\" + t.toString(16).toUpperCase() + \" is not a scalar value\");\n return !1;\n }\n return !0;\n }\n function c(t, e) {\n return i(t >> e & 63 | 128);\n }\n function u(t, e) {\n if (0 == (4294967168 & t)) return i(t);\n var r = \"\";\n return 0 == (4294965248 & t) ? r = i(t >> 6 & 31 | 192) : 0 == (4294901760 & t) ? (a(t, e) || (t = 65533), r = i(t >> 12 & 15 | 224), r += c(t, 6)) : 0 == (4292870144 & t) && (r = i(t >> 18 & 7 | 240), r += c(t, 12), r += c(t, 6)), r += i(63 & t | 128);\n }\n function h() {\n if (o >= n) throw Error(\"Invalid byte index\");\n var t = 255 & r[o];\n if (o++, 128 == (192 & t)) return 63 & t;\n throw Error(\"Invalid continuation byte\");\n }\n function f(t) {\n var e, i;\n if (o > n) throw Error(\"Invalid byte index\");\n if (o == n) return !1;\n if (e = 255 & r[o], o++, 0 == (128 & e)) return e;\n if (192 == (224 & e)) {\n if ((i = (31 & e) << 6 | h()) >= 128) return i;\n throw Error(\"Invalid continuation byte\");\n }\n if (224 == (240 & e)) {\n if ((i = (15 & e) << 12 | h() << 6 | h()) >= 2048) return a(i, t) ? i : 65533;\n throw Error(\"Invalid continuation byte\");\n }\n if (240 == (248 & e) && (i = (7 & e) << 18 | h() << 12 | h() << 6 | h()) >= 65536 && i <= 1114111) return i;\n throw Error(\"Invalid UTF-8 detected\");\n }\n t.exports = {\n version: \"2.1.2\",\n encode: function (t, e) {\n for (var r = !1 !== (e = e || {}).strict, n = s(t), o = n.length, i = -1, a = \"\"; ++i < o;) a += u(n[i], r);\n return a;\n },\n decode: function (t, e) {\n var a = !1 !== (e = e || {}).strict;\n r = s(t), n = r.length, o = 0;\n for (var c, u = []; !1 !== (c = f(a));) u.push(c);\n return function (t) {\n for (var e, r = t.length, n = -1, o = \"\"; ++n < r;) (e = t[n]) > 65535 && (o += i((e -= 65536) >>> 10 & 1023 | 55296), e = 56320 | 1023 & e), o += i(e);\n return o;\n }(u);\n }\n };\n }, function (t, e) {\n !function () {\n \"use strict\";\n\n for (var t = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\", r = new Uint8Array(256), n = 0; n < t.length; n++) r[t.charCodeAt(n)] = n;\n e.encode = function (e) {\n var r,\n n = new Uint8Array(e),\n o = n.length,\n i = \"\";\n for (r = 0; r < o; r += 3) i += t[n[r] >> 2], i += t[(3 & n[r]) << 4 | n[r + 1] >> 4], i += t[(15 & n[r + 1]) << 2 | n[r + 2] >> 6], i += t[63 & n[r + 2]];\n return o % 3 == 2 ? i = i.substring(0, i.length - 1) + \"=\" : o % 3 == 1 && (i = i.substring(0, i.length - 2) + \"==\"), i;\n }, e.decode = function (t) {\n var e,\n n,\n o,\n i,\n s,\n a = .75 * t.length,\n c = t.length,\n u = 0;\n \"=\" === t[t.length - 1] && (a--, \"=\" === t[t.length - 2] && a--);\n var h = new ArrayBuffer(a),\n f = new Uint8Array(h);\n for (e = 0; e < c; e += 4) n = r[t.charCodeAt(e)], o = r[t.charCodeAt(e + 1)], i = r[t.charCodeAt(e + 2)], s = r[t.charCodeAt(e + 3)], f[u++] = n << 2 | o >> 4, f[u++] = (15 & o) << 4 | i >> 2, f[u++] = (3 & i) << 6 | 63 & s;\n return h;\n };\n }();\n }, function (t, e) {\n var r = void 0 !== r ? r : \"undefined\" != typeof WebKitBlobBuilder ? WebKitBlobBuilder : \"undefined\" != typeof MSBlobBuilder ? MSBlobBuilder : \"undefined\" != typeof MozBlobBuilder && MozBlobBuilder,\n n = function () {\n try {\n return 2 === new Blob([\"hi\"]).size;\n } catch (t) {\n return !1;\n }\n }(),\n o = n && function () {\n try {\n return 2 === new Blob([new Uint8Array([1, 2])]).size;\n } catch (t) {\n return !1;\n }\n }(),\n i = r && r.prototype.append && r.prototype.getBlob;\n function s(t) {\n return t.map(function (t) {\n if (t.buffer instanceof ArrayBuffer) {\n var e = t.buffer;\n if (t.byteLength !== e.byteLength) {\n var r = new Uint8Array(t.byteLength);\n r.set(new Uint8Array(e, t.byteOffset, t.byteLength)), e = r.buffer;\n }\n return e;\n }\n return t;\n });\n }\n function a(t, e) {\n e = e || {};\n var n = new r();\n return s(t).forEach(function (t) {\n n.append(t);\n }), e.type ? n.getBlob(e.type) : n.getBlob();\n }\n function c(t, e) {\n return new Blob(s(t), e || {});\n }\n \"undefined\" != typeof Blob && (a.prototype = Blob.prototype, c.prototype = Blob.prototype), t.exports = n ? o ? Blob : c : i ? a : void 0;\n }, function (t, e, r) {\n (function (e) {\n var n = r(15),\n o = r(4);\n t.exports = h;\n var i,\n s = /\\n/g,\n a = /\\\\n/g;\n function c() {}\n function u() {\n return \"undefined\" != typeof self ? self : \"undefined\" != typeof window ? window : void 0 !== e ? e : {};\n }\n function h(t) {\n if (n.call(this, t), this.query = this.query || {}, !i) {\n var e = u();\n i = e.___eio = e.___eio || [];\n }\n this.index = i.length;\n var r = this;\n i.push(function (t) {\n r.onData(t);\n }), this.query.j = this.index, \"function\" == typeof addEventListener && addEventListener(\"beforeunload\", function () {\n r.script && (r.script.onerror = c);\n }, !1);\n }\n o(h, n), h.prototype.supportsBinary = !1, h.prototype.doClose = function () {\n this.script && (this.script.parentNode.removeChild(this.script), this.script = null), this.form && (this.form.parentNode.removeChild(this.form), this.form = null, this.iframe = null), n.prototype.doClose.call(this);\n }, h.prototype.doPoll = function () {\n var t = this,\n e = document.createElement(\"script\");\n this.script && (this.script.parentNode.removeChild(this.script), this.script = null), e.async = !0, e.src = this.uri(), e.onerror = function (e) {\n t.onError(\"jsonp poll error\", e);\n };\n var r = document.getElementsByTagName(\"script\")[0];\n r ? r.parentNode.insertBefore(e, r) : (document.head || document.body).appendChild(e), this.script = e, \"undefined\" != typeof navigator && /gecko/i.test(navigator.userAgent) && setTimeout(function () {\n var t = document.createElement(\"iframe\");\n document.body.appendChild(t), document.body.removeChild(t);\n }, 100);\n }, h.prototype.doWrite = function (t, e) {\n var r = this;\n if (!this.form) {\n var n,\n o = document.createElement(\"form\"),\n i = document.createElement(\"textarea\"),\n c = this.iframeId = \"eio_iframe_\" + this.index;\n o.className = \"socketio\", o.style.position = \"absolute\", o.style.top = \"-1000px\", o.style.left = \"-1000px\", o.target = c, o.method = \"POST\", o.setAttribute(\"accept-charset\", \"utf-8\"), i.name = \"d\", o.appendChild(i), document.body.appendChild(o), this.form = o, this.area = i;\n }\n function u() {\n h(), e();\n }\n function h() {\n if (r.iframe) try {\n r.form.removeChild(r.iframe);\n } catch (t) {\n r.onError(\"jsonp polling iframe removal error\", t);\n }\n try {\n var t = '