@univerjs-pro/collaboration-client-node 0.10.7-nightly.202509090319 → 0.10.7-nightly.202509130640

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- const _0x5aaef6=_0x220c;(function(_0x105fb0,_0x424f0a){const _0x4525b0=_0x220c,_0x3e1d20=_0x105fb0();while(!![]){try{const _0x2bb08d=parseInt(_0x4525b0(0x136))/0x1+parseInt(_0x4525b0(0x184))/0x2+parseInt(_0x4525b0(0x1eb))/0x3*(parseInt(_0x4525b0(0xe0))/0x4)+parseInt(_0x4525b0(0x16f))/0x5*(parseInt(_0x4525b0(0x15a))/0x6)+parseInt(_0x4525b0(0x1f4))/0x7*(parseInt(_0x4525b0(0xfc))/0x8)+-parseInt(_0x4525b0(0x11a))/0x9+-parseInt(_0x4525b0(0x165))/0xa;if(_0x2bb08d===_0x424f0a)break;else _0x3e1d20['push'](_0x3e1d20['shift']());}catch(_0x36de1b){_0x3e1d20['push'](_0x3e1d20['shift']());}}}(_0x5ad4,0x8560d));import{UniverCollaborationClientPlugin as _0x35b408,CollaborationSocketService as _0x55d2ba}from'@univerjs-pro/collaboration-client';import{Disposable as _0x266c6a,DisposableCollection as _0x220f21,toDisposable as _0x25243e,IConfigService as _0x1399b3,DependentOn as _0xbe93ae,ILogService as _0xd1925c,Inject as _0x198c83,Injector as _0x453f88,Plugin as _0x3ff643,registerDependencies as _0x48a310}from'@univerjs/core';import{ISocketService as _0x3b6658,HTTPService as _0x5858a3}from'@univerjs/network';import{Observable as _0x22e704,share as _0x33f2c3}from'rxjs';import _0x51ddbe from'events';import _0x4aa7a1 from'https';import _0x3677ba from'http';import _0x201c46 from'net';import _0xafcc57 from'tls';import _0x738967 from'crypto';import _0xa69c59 from'stream';import _0x1cff91 from'url';import _0x325628 from'zlib';import _0x5a7835 from'buffer';import{ISnapshotServerService as _0x82aad2}from'@univerjs-pro/collaboration';const Be=_0x5aaef6(0x1af),Ft={'customHeaders':{}};function Wt(_0x46040b){const _0x2b5a32=_0x5aaef6;return _0x46040b&&_0x46040b[_0x2b5a32(0x106)]&&Object[_0x2b5a32(0x1bd)][_0x2b5a32(0xf3)][_0x2b5a32(0xd3)](_0x46040b,_0x2b5a32(0x1fd))?_0x46040b[_0x2b5a32(0x1fd)]:_0x46040b;}function ut(_0x25242a){const _0x53723d=_0x5aaef6;if(Object[_0x53723d(0x1bd)]['hasOwnProperty'][_0x53723d(0xd3)](_0x25242a,_0x53723d(0x106)))return _0x25242a;var _0x241909=_0x25242a['default'];if(typeof _0x241909==_0x53723d(0x1c9)){var _0x2f7a4b=function _0x24c637(){const _0x6bbf80=_0x53723d;var _0x578f4e=!0x1;try{_0x578f4e=this instanceof _0x24c637;}catch{}return _0x578f4e?Reflect[_0x6bbf80(0x25f)](_0x241909,arguments,this[_0x6bbf80(0x19e)]):_0x241909['apply'](this,arguments);};_0x2f7a4b[_0x53723d(0x1bd)]=_0x241909[_0x53723d(0x1bd)];}else _0x2f7a4b={};return Object[_0x53723d(0x159)](_0x2f7a4b,_0x53723d(0x106),{'value':!0x0}),Object[_0x53723d(0x246)](_0x25242a)['forEach'](function(_0x55c713){const _0xaf72c9=_0x53723d;var _0x1045d4=Object[_0xaf72c9(0x178)](_0x25242a,_0x55c713);Object[_0xaf72c9(0x159)](_0x2f7a4b,_0x55c713,_0x1045d4[_0xaf72c9(0x23d)]?_0x1045d4:{'enumerable':!0x0,'get':function(){return _0x25242a[_0x55c713];}});}),_0x2f7a4b;}var te={'exports':{}},ge,Ye;function V(){const _0x139e10=_0x5aaef6;if(Ye)return ge;Ye=0x1;const _0x2c523a=[_0x139e10(0x175),_0x139e10(0x1de),_0x139e10(0x104)],_0x5cae26=typeof Blob<'u';return _0x5cae26&&_0x2c523a[_0x139e10(0x20f)](_0x139e10(0x19c)),ge={'BINARY_TYPES':_0x2c523a,'EMPTY_BUFFER':Buffer[_0x139e10(0xdd)](0x0),'GUID':_0x139e10(0x13c),'hasBlob':_0x5cae26,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x139e10(0x141)),'kStatusCode':Symbol(_0x139e10(0x1d4)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0x5aaef6(0x249)](Object[_0x5aaef6(0x159)]({'__proto__':null,'default':jt},Symbol['toStringTag'],{'value':_0x5aaef6(0x23a)})),Vt=ut(Gt);var Ke;function ce(){const _0x164065=_0x5aaef6;if(Ke)return te[_0x164065(0x24c)];Ke=0x1;const {EMPTY_BUFFER:_0x133888}=V(),_0x40c22f=Buffer[Symbol[_0x164065(0x117)]];function _0x2030eb(_0x121a5d,_0x406d50){const _0x5f2a18=_0x164065;if(_0x121a5d[_0x5f2a18(0xcf)]===0x0)return _0x133888;if(_0x121a5d[_0x5f2a18(0xcf)]===0x1)return _0x121a5d[0x0];const _0x50cf7c=Buffer['allocUnsafe'](_0x406d50);let _0x2f50fc=0x0;for(let _0x51b7f3=0x0;_0x51b7f3<_0x121a5d[_0x5f2a18(0xcf)];_0x51b7f3++){const _0x23383b=_0x121a5d[_0x51b7f3];_0x50cf7c[_0x5f2a18(0x10d)](_0x23383b,_0x2f50fc),_0x2f50fc+=_0x23383b[_0x5f2a18(0xcf)];}return _0x2f50fc<_0x406d50?new _0x40c22f(_0x50cf7c[_0x5f2a18(0xfa)],_0x50cf7c['byteOffset'],_0x2f50fc):_0x50cf7c;}function _0x425850(_0x2a7734,_0x5ce29c,_0x517c54,_0x16b87b,_0xe5462a){for(let _0x590612=0x0;_0x590612<_0xe5462a;_0x590612++)_0x517c54[_0x16b87b+_0x590612]=_0x2a7734[_0x590612]^_0x5ce29c[_0x590612&0x3];}function _0x24c2f8(_0x2cf9c4,_0x5c51ff){const _0x389209=_0x164065;for(let _0x24c247=0x0;_0x24c247<_0x2cf9c4[_0x389209(0xcf)];_0x24c247++)_0x2cf9c4[_0x24c247]^=_0x5c51ff[_0x24c247&0x3];}function _0x23cfa9(_0x1ac9a1){const _0x57f427=_0x164065;return _0x1ac9a1[_0x57f427(0xcf)]===_0x1ac9a1[_0x57f427(0xfa)][_0x57f427(0x1a6)]?_0x1ac9a1[_0x57f427(0xfa)]:_0x1ac9a1[_0x57f427(0xfa)]['slice'](_0x1ac9a1[_0x57f427(0x1ab)],_0x1ac9a1[_0x57f427(0x1ab)]+_0x1ac9a1[_0x57f427(0xcf)]);}function _0x54a700(_0x9a06d0){const _0x248e82=_0x164065;if(_0x54a700[_0x248e82(0x1ca)]=!0x0,Buffer[_0x248e82(0xdc)](_0x9a06d0))return _0x9a06d0;let _0x48d612;return _0x9a06d0 instanceof ArrayBuffer?_0x48d612=new _0x40c22f(_0x9a06d0):ArrayBuffer[_0x248e82(0xf1)](_0x9a06d0)?_0x48d612=new _0x40c22f(_0x9a06d0[_0x248e82(0xfa)],_0x9a06d0[_0x248e82(0x1ab)],_0x9a06d0[_0x248e82(0x1a6)]):(_0x48d612=Buffer['from'](_0x9a06d0),_0x54a700[_0x248e82(0x1ca)]=!0x1),_0x48d612;}if(te[_0x164065(0x24c)]={'concat':_0x2030eb,'mask':_0x425850,'toArrayBuffer':_0x23cfa9,'toBuffer':_0x54a700,'unmask':_0x24c2f8},!process[_0x164065(0x109)]['WS_NO_BUFFER_UTIL'])try{const _0x2ed10d=Vt;te['exports'][_0x164065(0x1c8)]=function(_0x46da88,_0x145e8f,_0x369e26,_0x52575a,_0x5a892c){const _0x187ffb=_0x164065;_0x5a892c<0x30?_0x425850(_0x46da88,_0x145e8f,_0x369e26,_0x52575a,_0x5a892c):_0x2ed10d[_0x187ffb(0x1c8)](_0x46da88,_0x145e8f,_0x369e26,_0x52575a,_0x5a892c);},te[_0x164065(0x24c)][_0x164065(0x214)]=function(_0x2e306c,_0x360451){const _0x1d4fa5=_0x164065;_0x2e306c[_0x1d4fa5(0xcf)]<0x20?_0x24c2f8(_0x2e306c,_0x360451):_0x2ed10d[_0x1d4fa5(0x214)](_0x2e306c,_0x360451);};}catch{}return te[_0x164065(0x24c)];}var ye,Xe;function qt(){const _0xd3ab3b=_0x5aaef6;if(Xe)return ye;Xe=0x1;const _0x24bd18=Symbol(_0xd3ab3b(0x189)),_0x14d54d=Symbol(_0xd3ab3b(0x11b));class _0x5e7cbf{constructor(_0x33db2a){const _0x41031f=_0xd3ab3b;this[_0x24bd18]=()=>{const _0x106533=_0x220c;this[_0x106533(0x173)]--,this[_0x14d54d]();},this['concurrency']=_0x33db2a||0x1/0x0,this[_0x41031f(0x1e1)]=[],this[_0x41031f(0x173)]=0x0;}['add'](_0x2a4570){const _0x54be6c=_0xd3ab3b;this['jobs'][_0x54be6c(0x20f)](_0x2a4570),this[_0x14d54d]();}[_0x14d54d](){const _0x58dc5f=_0xd3ab3b;if(this[_0x58dc5f(0x173)]!==this['concurrency']&&this['jobs'][_0x58dc5f(0xcf)]){const _0x3c1b60=this['jobs']['shift']();this['pending']++,_0x3c1b60(this[_0x24bd18]);}}}return ye=_0x5e7cbf,ye;}var ve,Ze;function he(){const _0x5cf87c=_0x5aaef6;if(Ze)return ve;Ze=0x1;const _0x1d579d=_0x325628,_0x30a17e=ce(),_0xdff1ea=qt(),{kStatusCode:_0x2eeb05}=V(),_0x37812a=Buffer[Symbol[_0x5cf87c(0x117)]],_0x2b9c94=Buffer[_0x5cf87c(0x1bf)]([0x0,0x0,0xff,0xff]),_0x5024df=Symbol(_0x5cf87c(0xda)),_0x1e7c94=Symbol(_0x5cf87c(0xd0)),_0x52db79=Symbol(_0x5cf87c(0x1fa)),_0x21642b=Symbol(_0x5cf87c(0x12c)),_0x40543c=Symbol(_0x5cf87c(0xe8));let _0xe9e233;class _0x2f85cc{constructor(_0xc75ff7,_0x58949c,_0x228f07){const _0x4b8c92=_0x5cf87c;if(this[_0x4b8c92(0x146)]=_0x228f07|0x0,this[_0x4b8c92(0xcd)]=_0xc75ff7||{},this[_0x4b8c92(0x210)]=this['_options'][_0x4b8c92(0x195)]!==void 0x0?this[_0x4b8c92(0xcd)][_0x4b8c92(0x195)]:0x400,this['_isServer']=!!_0x58949c,this[_0x4b8c92(0x166)]=null,this[_0x4b8c92(0x1cf)]=null,this['params']=null,!_0xe9e233){const _0x18543f=this['_options']['concurrencyLimit']!==void 0x0?this['_options']['concurrencyLimit']:0xa;_0xe9e233=new _0xdff1ea(_0x18543f);}}static get[_0x5cf87c(0x1f8)](){const _0x2b3c3a=_0x5cf87c;return _0x2b3c3a(0xda);}[_0x5cf87c(0x1ef)](){const _0x5c8898=_0x5cf87c,_0x12fec6={};return this[_0x5c8898(0xcd)][_0x5c8898(0xd1)]&&(_0x12fec6[_0x5c8898(0x1a5)]=!0x0),this['_options']['clientNoContextTakeover']&&(_0x12fec6[_0x5c8898(0x1a8)]=!0x0),this[_0x5c8898(0xcd)][_0x5c8898(0xbc)]&&(_0x12fec6[_0x5c8898(0x148)]=this[_0x5c8898(0xcd)][_0x5c8898(0xbc)]),this[_0x5c8898(0xcd)]['clientMaxWindowBits']?_0x12fec6[_0x5c8898(0x186)]=this['_options'][_0x5c8898(0x217)]:this[_0x5c8898(0xcd)][_0x5c8898(0x217)]==null&&(_0x12fec6[_0x5c8898(0x186)]=!0x0),_0x12fec6;}['accept'](_0x2a66e5){const _0x53fcc6=_0x5cf87c;return _0x2a66e5=this[_0x53fcc6(0x16a)](_0x2a66e5),this[_0x53fcc6(0x1e2)]=this['_isServer']?this[_0x53fcc6(0x153)](_0x2a66e5):this[_0x53fcc6(0x1f2)](_0x2a66e5),this['params'];}[_0x5cf87c(0x180)](){const _0x2133b3=_0x5cf87c;if(this[_0x2133b3(0x1cf)]&&(this['_inflate'][_0x2133b3(0x11d)](),this[_0x2133b3(0x1cf)]=null),this[_0x2133b3(0x166)]){const _0x34a9e7=this[_0x2133b3(0x166)][_0x52db79];this[_0x2133b3(0x166)]['close'](),this[_0x2133b3(0x166)]=null,_0x34a9e7&&_0x34a9e7(new Error(_0x2133b3(0x116)));}}['acceptAsServer'](_0x4e7b33){const _0x4335df=_0x5cf87c,_0x84ec9a=this[_0x4335df(0xcd)],_0x136071=_0x4e7b33[_0x4335df(0x12b)](_0x518069=>!(_0x84ec9a[_0x4335df(0xd1)]===!0x1&&_0x518069['server_no_context_takeover']||_0x518069[_0x4335df(0x148)]&&(_0x84ec9a[_0x4335df(0xbc)]===!0x1||typeof _0x84ec9a['serverMaxWindowBits']==_0x4335df(0x203)&&_0x84ec9a[_0x4335df(0xbc)]>_0x518069[_0x4335df(0x148)])||typeof _0x84ec9a[_0x4335df(0x217)]==_0x4335df(0x203)&&!_0x518069[_0x4335df(0x186)]));if(!_0x136071)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x84ec9a[_0x4335df(0xd1)]&&(_0x136071[_0x4335df(0x1a5)]=!0x0),_0x84ec9a[_0x4335df(0xbd)]&&(_0x136071[_0x4335df(0x1a8)]=!0x0),typeof _0x84ec9a[_0x4335df(0xbc)]==_0x4335df(0x203)&&(_0x136071[_0x4335df(0x148)]=_0x84ec9a[_0x4335df(0xbc)]),typeof _0x84ec9a[_0x4335df(0x217)]==_0x4335df(0x203)?_0x136071[_0x4335df(0x186)]=_0x84ec9a[_0x4335df(0x217)]:(_0x136071[_0x4335df(0x186)]===!0x0||_0x84ec9a[_0x4335df(0x217)]===!0x1)&&delete _0x136071[_0x4335df(0x186)],_0x136071;}[_0x5cf87c(0x1f2)](_0x131f4b){const _0x91ea8d=_0x5cf87c,_0x1acfce=_0x131f4b[0x0];if(this[_0x91ea8d(0xcd)][_0x91ea8d(0xbd)]===!0x1&&_0x1acfce[_0x91ea8d(0x1a8)])throw new Error(_0x91ea8d(0x1c7));if(!_0x1acfce[_0x91ea8d(0x186)])typeof this['_options'][_0x91ea8d(0x217)]==_0x91ea8d(0x203)&&(_0x1acfce[_0x91ea8d(0x186)]=this[_0x91ea8d(0xcd)][_0x91ea8d(0x217)]);else{if(this['_options'][_0x91ea8d(0x217)]===!0x1||typeof this[_0x91ea8d(0xcd)][_0x91ea8d(0x217)]=='number'&&_0x1acfce[_0x91ea8d(0x186)]>this['_options'][_0x91ea8d(0x217)])throw new Error(_0x91ea8d(0x161));}return _0x1acfce;}[_0x5cf87c(0x16a)](_0x5dd893){const _0x259d75=_0x5cf87c;return _0x5dd893[_0x259d75(0x19d)](_0x1c59f3=>{const _0x5c8bf2=_0x259d75;Object[_0x5c8bf2(0x246)](_0x1c59f3)['forEach'](_0x188da2=>{const _0x3d7fe8=_0x5c8bf2;let _0x34a936=_0x1c59f3[_0x188da2];if(_0x34a936[_0x3d7fe8(0xcf)]>0x1)throw new Error(_0x3d7fe8(0x259)+_0x188da2+_0x3d7fe8(0x127));if(_0x34a936=_0x34a936[0x0],_0x188da2===_0x3d7fe8(0x186)){if(_0x34a936!==!0x0){const _0x4c03b0=+_0x34a936;if(!Number[_0x3d7fe8(0x23f)](_0x4c03b0)||_0x4c03b0<0x8||_0x4c03b0>0xf)throw new TypeError(_0x3d7fe8(0xd8)+_0x188da2+_0x3d7fe8(0x1d9)+_0x34a936);_0x34a936=_0x4c03b0;}else{if(!this[_0x3d7fe8(0x233)])throw new TypeError(_0x3d7fe8(0xd8)+_0x188da2+_0x3d7fe8(0x1d9)+_0x34a936);}}else{if(_0x188da2==='server_max_window_bits'){const _0x74ac8d=+_0x34a936;if(!Number[_0x3d7fe8(0x23f)](_0x74ac8d)||_0x74ac8d<0x8||_0x74ac8d>0xf)throw new TypeError(_0x3d7fe8(0xd8)+_0x188da2+_0x3d7fe8(0x1d9)+_0x34a936);_0x34a936=_0x74ac8d;}else{if(_0x188da2===_0x3d7fe8(0x1a8)||_0x188da2===_0x3d7fe8(0x1a5)){if(_0x34a936!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x188da2+_0x3d7fe8(0x1d9)+_0x34a936);}else throw new Error(_0x3d7fe8(0x10b)+_0x188da2+'\x22');}}_0x1c59f3[_0x188da2]=_0x34a936;});}),_0x5dd893;}[_0x5cf87c(0xe1)](_0x337b46,_0xce6cbc,_0x1eec6a){const _0x490f83=_0x5cf87c;_0xe9e233[_0x490f83(0xfe)](_0x2558ee=>{const _0x523e5a=_0x490f83;this[_0x523e5a(0x113)](_0x337b46,_0xce6cbc,(_0x2ca73d,_0x621427)=>{_0x2558ee(),_0x1eec6a(_0x2ca73d,_0x621427);});});}[_0x5cf87c(0x18d)](_0x1077a6,_0x5744e5,_0x148b34){const _0x25eade=_0x5cf87c;_0xe9e233[_0x25eade(0xfe)](_0x15781c=>{const _0x4cdab0=_0x25eade;this[_0x4cdab0(0x12e)](_0x1077a6,_0x5744e5,(_0x3c32df,_0x52a03e)=>{_0x15781c(),_0x148b34(_0x3c32df,_0x52a03e);});});}[_0x5cf87c(0x113)](_0x5bcd32,_0x3f9527,_0x4569d9){const _0x523ecb=_0x5cf87c,_0xde0c29=this[_0x523ecb(0x233)]?_0x523ecb(0xe4):_0x523ecb(0x14b);if(!this['_inflate']){const _0x4662e2=_0xde0c29+'_max_window_bits',_0x149c4d=typeof this[_0x523ecb(0x1e2)][_0x4662e2]!=_0x523ecb(0x203)?_0x1d579d[_0x523ecb(0x1f1)]:this[_0x523ecb(0x1e2)][_0x4662e2];this[_0x523ecb(0x1cf)]=_0x1d579d[_0x523ecb(0xc0)]({...this['_options']['zlibInflateOptions'],'windowBits':_0x149c4d}),this[_0x523ecb(0x1cf)][_0x5024df]=this,this[_0x523ecb(0x1cf)][_0x1e7c94]=0x0,this[_0x523ecb(0x1cf)][_0x21642b]=[],this[_0x523ecb(0x1cf)]['on'](_0x523ecb(0xe8),_0x1bb90c),this[_0x523ecb(0x1cf)]['on'](_0x523ecb(0x17c),_0x3392ca);}this[_0x523ecb(0x1cf)][_0x52db79]=_0x4569d9,this[_0x523ecb(0x1cf)][_0x523ecb(0x147)](_0x5bcd32),_0x3f9527&&this[_0x523ecb(0x1cf)][_0x523ecb(0x147)](_0x2b9c94),this[_0x523ecb(0x1cf)][_0x523ecb(0x171)](()=>{const _0xf4ca90=_0x523ecb,_0x192f33=this['_inflate'][_0x40543c];if(_0x192f33){this['_inflate'][_0xf4ca90(0x11d)](),this[_0xf4ca90(0x1cf)]=null,_0x4569d9(_0x192f33);return;}const _0x1cfa43=_0x30a17e[_0xf4ca90(0x150)](this['_inflate'][_0x21642b],this['_inflate'][_0x1e7c94]);this[_0xf4ca90(0x1cf)][_0xf4ca90(0x13b)][_0xf4ca90(0x1b5)]?(this[_0xf4ca90(0x1cf)][_0xf4ca90(0x11d)](),this['_inflate']=null):(this[_0xf4ca90(0x1cf)][_0x1e7c94]=0x0,this[_0xf4ca90(0x1cf)][_0x21642b]=[],_0x3f9527&&this[_0xf4ca90(0x1e2)][_0xde0c29+'_no_context_takeover']&&this[_0xf4ca90(0x1cf)]['reset']()),_0x4569d9(null,_0x1cfa43);});}[_0x5cf87c(0x12e)](_0xfb27d4,_0x16374d,_0x31ed9e){const _0xdd10dd=_0x5cf87c,_0x40d24e=this[_0xdd10dd(0x233)]?'server':_0xdd10dd(0xe4);if(!this[_0xdd10dd(0x166)]){const _0x24f61d=_0x40d24e+_0xdd10dd(0x247),_0x51103d=typeof this[_0xdd10dd(0x1e2)][_0x24f61d]!=_0xdd10dd(0x203)?_0x1d579d[_0xdd10dd(0x1f1)]:this[_0xdd10dd(0x1e2)][_0x24f61d];this['_deflate']=_0x1d579d[_0xdd10dd(0x181)]({...this['_options'][_0xdd10dd(0xe5)],'windowBits':_0x51103d}),this[_0xdd10dd(0x166)][_0x1e7c94]=0x0,this['_deflate'][_0x21642b]=[],this[_0xdd10dd(0x166)]['on']('data',_0x2d23fb);}this[_0xdd10dd(0x166)][_0x52db79]=_0x31ed9e,this['_deflate'][_0xdd10dd(0x147)](_0xfb27d4),this[_0xdd10dd(0x166)]['flush'](_0x1d579d[_0xdd10dd(0x1f6)],()=>{const _0x494b30=_0xdd10dd;if(!this[_0x494b30(0x166)])return;let _0x47d584=_0x30a17e['concat'](this[_0x494b30(0x166)][_0x21642b],this[_0x494b30(0x166)][_0x1e7c94]);_0x16374d&&(_0x47d584=new _0x37812a(_0x47d584[_0x494b30(0xfa)],_0x47d584[_0x494b30(0x1ab)],_0x47d584[_0x494b30(0xcf)]-0x4)),this[_0x494b30(0x166)][_0x52db79]=null,this[_0x494b30(0x166)][_0x1e7c94]=0x0,this[_0x494b30(0x166)][_0x21642b]=[],_0x16374d&&this[_0x494b30(0x1e2)][_0x40d24e+_0x494b30(0xde)]&&this['_deflate'][_0x494b30(0x204)](),_0x31ed9e(null,_0x47d584);});}}ve=_0x2f85cc;function _0x2d23fb(_0x48bf37){const _0x495c9d=_0x5cf87c;this[_0x21642b][_0x495c9d(0x20f)](_0x48bf37),this[_0x1e7c94]+=_0x48bf37[_0x495c9d(0xcf)];}function _0x3392ca(_0x1274d2){const _0x27799c=_0x5cf87c;if(this[_0x1e7c94]+=_0x1274d2[_0x27799c(0xcf)],this[_0x5024df]['_maxPayload']<0x1||this[_0x1e7c94]<=this[_0x5024df][_0x27799c(0x146)]){this[_0x21642b]['push'](_0x1274d2);return;}this[_0x40543c]=new RangeError(_0x27799c(0x102)),this[_0x40543c][_0x27799c(0xfd)]=_0x27799c(0x120),this[_0x40543c][_0x2eeb05]=0x3f1,this[_0x27799c(0x1cc)](_0x27799c(0x17c),_0x3392ca),this['reset']();}function _0x1bb90c(_0xa88cda){const _0x87c86f=_0x5cf87c;if(this[_0x5024df][_0x87c86f(0x1cf)]=null,this[_0x40543c]){this[_0x52db79](this[_0x40543c]);return;}_0xa88cda[_0x2eeb05]=0x3ef,this[_0x52db79](_0xa88cda);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x5aaef6(0x249)](Object[_0x5aaef6(0x159)]({'__proto__':null,'default':Ht},Symbol[_0x5aaef6(0xfb)],{'value':_0x5aaef6(0x23a)})),Yt=ut(zt);var Qe;function ne(){const _0x2cdf6b=_0x5aaef6;if(Qe)return re['exports'];Qe=0x1;const {isUtf8:_0x1a848b}=_0x5a7835,{hasBlob:_0x5c9fda}=V(),_0x1d60d2=[0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x1,0x1,0x1,0x1,0x1,0x0,0x0,0x1,0x1,0x0,0x1,0x1,0x0,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x0,0x0,0x0,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x0,0x1,0x0,0x1,0x0];function _0x303c73(_0x3dba05){return _0x3dba05>=0x3e8&&_0x3dba05<=0x3f6&&_0x3dba05!==0x3ec&&_0x3dba05!==0x3ed&&_0x3dba05!==0x3ee||_0x3dba05>=0xbb8&&_0x3dba05<=0x1387;}function _0x4823e2(_0x59b4ca){const _0x54f983=_0x220c,_0x4df345=_0x59b4ca[_0x54f983(0xcf)];let _0x47fd8e=0x0;for(;_0x47fd8e<_0x4df345;)if((_0x59b4ca[_0x47fd8e]&0x80)===0x0)_0x47fd8e++;else{if((_0x59b4ca[_0x47fd8e]&0xe0)===0xc0){if(_0x47fd8e+0x1===_0x4df345||(_0x59b4ca[_0x47fd8e+0x1]&0xc0)!==0x80||(_0x59b4ca[_0x47fd8e]&0xfe)===0xc0)return!0x1;_0x47fd8e+=0x2;}else{if((_0x59b4ca[_0x47fd8e]&0xf0)===0xe0){if(_0x47fd8e+0x2>=_0x4df345||(_0x59b4ca[_0x47fd8e+0x1]&0xc0)!==0x80||(_0x59b4ca[_0x47fd8e+0x2]&0xc0)!==0x80||_0x59b4ca[_0x47fd8e]===0xe0&&(_0x59b4ca[_0x47fd8e+0x1]&0xe0)===0x80||_0x59b4ca[_0x47fd8e]===0xed&&(_0x59b4ca[_0x47fd8e+0x1]&0xe0)===0xa0)return!0x1;_0x47fd8e+=0x3;}else{if((_0x59b4ca[_0x47fd8e]&0xf8)===0xf0){if(_0x47fd8e+0x3>=_0x4df345||(_0x59b4ca[_0x47fd8e+0x1]&0xc0)!==0x80||(_0x59b4ca[_0x47fd8e+0x2]&0xc0)!==0x80||(_0x59b4ca[_0x47fd8e+0x3]&0xc0)!==0x80||_0x59b4ca[_0x47fd8e]===0xf0&&(_0x59b4ca[_0x47fd8e+0x1]&0xf0)===0x80||_0x59b4ca[_0x47fd8e]===0xf4&&_0x59b4ca[_0x47fd8e+0x1]>0x8f||_0x59b4ca[_0x47fd8e]>0xf4)return!0x1;_0x47fd8e+=0x4;}else return!0x1;}}}return!0x0;}function _0x2310e4(_0x1016fb){const _0x95c223=_0x220c;return _0x5c9fda&&typeof _0x1016fb==_0x95c223(0xe2)&&typeof _0x1016fb[_0x95c223(0x1b2)]==_0x95c223(0x1c9)&&typeof _0x1016fb[_0x95c223(0x1a2)]==_0x95c223(0x13e)&&typeof _0x1016fb[_0x95c223(0x133)]==_0x95c223(0x1c9)&&(_0x1016fb[Symbol[_0x95c223(0xfb)]]===_0x95c223(0x168)||_0x1016fb[Symbol['toStringTag']]===_0x95c223(0xec));}if(re[_0x2cdf6b(0x24c)]={'isBlob':_0x2310e4,'isValidStatusCode':_0x303c73,'isValidUTF8':_0x4823e2,'tokenChars':_0x1d60d2},_0x1a848b)re[_0x2cdf6b(0x24c)][_0x2cdf6b(0x18e)]=function(_0x27f33d){const _0x53bcd9=_0x2cdf6b;return _0x27f33d[_0x53bcd9(0xcf)]<0x18?_0x4823e2(_0x27f33d):_0x1a848b(_0x27f33d);};else{if(!process[_0x2cdf6b(0x109)][_0x2cdf6b(0xd9)])try{const _0x2d9ff5=Yt;re[_0x2cdf6b(0x24c)]['isValidUTF8']=function(_0x55954e){const _0x360c25=_0x2cdf6b;return _0x55954e[_0x360c25(0xcf)]<0x20?_0x4823e2(_0x55954e):_0x2d9ff5(_0x55954e);};}catch{}}return re[_0x2cdf6b(0x24c)];}var Se,Je;function dt(){const _0x569b1a=_0x5aaef6;if(Je)return Se;Je=0x1;const {Writable:_0x3dd54c}=_0xa69c59,_0xe6e5fe=he(),{BINARY_TYPES:_0x40c154,EMPTY_BUFFER:_0x2413fb,kStatusCode:_0x9b390b,kWebSocket:_0x2b4ef6}=V(),{concat:_0x447e32,toArrayBuffer:_0x4003a7,unmask:_0x3c5a83}=ce(),{isValidStatusCode:_0x227254,isValidUTF8:_0x23be77}=ne(),_0x2148c7=Buffer[Symbol[_0x569b1a(0x117)]],_0x474eae=0x0,_0x217312=0x1,_0x23894f=0x2,_0x1117f7=0x3,_0x29bf01=0x4,_0x11d602=0x5,_0x4d26fd=0x6;class _0x2c66c6 extends _0x3dd54c{constructor(_0x3f10f7={}){const _0x543f0c=_0x569b1a;super(),this[_0x543f0c(0x230)]=_0x3f10f7[_0x543f0c(0x152)]!==void 0x0?_0x3f10f7[_0x543f0c(0x152)]:!0x0,this[_0x543f0c(0x1fb)]=_0x3f10f7['binaryType']||_0x40c154[0x0],this[_0x543f0c(0x1d1)]=_0x3f10f7[_0x543f0c(0x1c0)]||{},this['_isServer']=!!_0x3f10f7['isServer'],this['_maxPayload']=_0x3f10f7[_0x543f0c(0xf9)]|0x0,this[_0x543f0c(0x157)]=!!_0x3f10f7[_0x543f0c(0x205)],this[_0x2b4ef6]=void 0x0,this[_0x543f0c(0x172)]=0x0,this[_0x543f0c(0x132)]=[],this[_0x543f0c(0x11e)]=!0x1,this[_0x543f0c(0x1d8)]=0x0,this['_mask']=void 0x0,this[_0x543f0c(0x20c)]=0x0,this[_0x543f0c(0x16d)]=!0x1,this['_fin']=!0x1,this[_0x543f0c(0x176)]=0x0,this[_0x543f0c(0x1e6)]=0x0,this['_messageLength']=0x0,this[_0x543f0c(0x25c)]=[],this[_0x543f0c(0xff)]=!0x1,this['_loop']=!0x1,this[_0x543f0c(0x257)]=_0x474eae;}['_write'](_0x38c153,_0x3fa416,_0x457f7a){const _0x409ec9=_0x569b1a;if(this[_0x409ec9(0x176)]===0x8&&this[_0x409ec9(0x257)]==_0x474eae)return _0x457f7a();this[_0x409ec9(0x172)]+=_0x38c153[_0x409ec9(0xcf)],this[_0x409ec9(0x132)]['push'](_0x38c153),this[_0x409ec9(0x1e4)](_0x457f7a);}[_0x569b1a(0x10a)](_0xae6709){const _0x103979=_0x569b1a;if(this[_0x103979(0x172)]-=_0xae6709,_0xae6709===this[_0x103979(0x132)][0x0][_0x103979(0xcf)])return this[_0x103979(0x132)]['shift']();if(_0xae6709<this[_0x103979(0x132)][0x0][_0x103979(0xcf)]){const _0x40ab67=this[_0x103979(0x132)][0x0];return this['_buffers'][0x0]=new _0x2148c7(_0x40ab67[_0x103979(0xfa)],_0x40ab67[_0x103979(0x1ab)]+_0xae6709,_0x40ab67[_0x103979(0xcf)]-_0xae6709),new _0x2148c7(_0x40ab67[_0x103979(0xfa)],_0x40ab67[_0x103979(0x1ab)],_0xae6709);}const _0x2c47f3=Buffer[_0x103979(0x206)](_0xae6709);do{const _0x3bb243=this[_0x103979(0x132)][0x0],_0x4c1888=_0x2c47f3[_0x103979(0xcf)]-_0xae6709;_0xae6709>=_0x3bb243[_0x103979(0xcf)]?_0x2c47f3[_0x103979(0x10d)](this[_0x103979(0x132)][_0x103979(0x223)](),_0x4c1888):(_0x2c47f3['set'](new Uint8Array(_0x3bb243[_0x103979(0xfa)],_0x3bb243['byteOffset'],_0xae6709),_0x4c1888),this['_buffers'][0x0]=new _0x2148c7(_0x3bb243[_0x103979(0xfa)],_0x3bb243[_0x103979(0x1ab)]+_0xae6709,_0x3bb243[_0x103979(0xcf)]-_0xae6709)),_0xae6709-=_0x3bb243[_0x103979(0xcf)];}while(_0xae6709>0x0);return _0x2c47f3;}['startLoop'](_0x4ab8f8){const _0x477102=_0x569b1a;this[_0x477102(0x23b)]=!0x0;do switch(this[_0x477102(0x257)]){case _0x474eae:this['getInfo'](_0x4ab8f8);break;case _0x217312:this['getPayloadLength16'](_0x4ab8f8);break;case _0x23894f:this[_0x477102(0x1b8)](_0x4ab8f8);break;case _0x1117f7:this[_0x477102(0x193)]();break;case _0x29bf01:this[_0x477102(0x263)](_0x4ab8f8);break;case _0x11d602:case _0x4d26fd:this[_0x477102(0x23b)]=!0x1;return;}while(this['_loop']);this[_0x477102(0xff)]||_0x4ab8f8();}[_0x569b1a(0x100)](_0x3feb98){const _0x2427e3=_0x569b1a;if(this['_bufferedBytes']<0x2){this[_0x2427e3(0x23b)]=!0x1;return;}const _0x5b125f=this[_0x2427e3(0x10a)](0x2);if((_0x5b125f[0x0]&0x30)!==0x0){const _0x1bc840=this[_0x2427e3(0x17f)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x3feb98(_0x1bc840);return;}const _0x599128=(_0x5b125f[0x0]&0x40)===0x40;if(_0x599128&&!this[_0x2427e3(0x1d1)][_0xe6e5fe['extensionName']]){const _0x4543d5=this[_0x2427e3(0x17f)](RangeError,_0x2427e3(0x15e),!0x0,0x3ea,_0x2427e3(0x1b9));_0x3feb98(_0x4543d5);return;}if(this['_fin']=(_0x5b125f[0x0]&0x80)===0x80,this[_0x2427e3(0x176)]=_0x5b125f[0x0]&0xf,this[_0x2427e3(0x1d8)]=_0x5b125f[0x1]&0x7f,this[_0x2427e3(0x176)]===0x0){if(_0x599128){const _0x317679=this[_0x2427e3(0x17f)](RangeError,_0x2427e3(0x15e),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x3feb98(_0x317679);return;}if(!this[_0x2427e3(0x20c)]){const _0x25b0d5=this[_0x2427e3(0x17f)](RangeError,_0x2427e3(0x23e),!0x0,0x3ea,_0x2427e3(0x19f));_0x3feb98(_0x25b0d5);return;}this['_opcode']=this[_0x2427e3(0x20c)];}else{if(this[_0x2427e3(0x176)]===0x1||this[_0x2427e3(0x176)]===0x2){if(this['_fragmented']){const _0x1f439b=this[_0x2427e3(0x17f)](RangeError,_0x2427e3(0x253)+this[_0x2427e3(0x176)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x3feb98(_0x1f439b);return;}this[_0x2427e3(0x11e)]=_0x599128;}else{if(this['_opcode']>0x7&&this[_0x2427e3(0x176)]<0xb){if(!this['_fin']){const _0x14826c=this[_0x2427e3(0x17f)](RangeError,_0x2427e3(0x192),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x3feb98(_0x14826c);return;}if(_0x599128){const _0x2a5aa5=this[_0x2427e3(0x17f)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x2427e3(0x1b9));_0x3feb98(_0x2a5aa5);return;}if(this['_payloadLength']>0x7d||this[_0x2427e3(0x176)]===0x8&&this[_0x2427e3(0x1d8)]===0x1){const _0x2bdb2d=this['createError'](RangeError,_0x2427e3(0x22c)+this[_0x2427e3(0x1d8)],!0x0,0x3ea,_0x2427e3(0x1e8));_0x3feb98(_0x2bdb2d);return;}}else{const _0x36ac19=this[_0x2427e3(0x17f)](RangeError,_0x2427e3(0x253)+this[_0x2427e3(0x176)],!0x0,0x3ea,_0x2427e3(0x19f));_0x3feb98(_0x36ac19);return;}}}if(!this[_0x2427e3(0x16c)]&&!this[_0x2427e3(0x20c)]&&(this[_0x2427e3(0x20c)]=this['_opcode']),this[_0x2427e3(0x16d)]=(_0x5b125f[0x1]&0x80)===0x80,this[_0x2427e3(0x233)]){if(!this[_0x2427e3(0x16d)]){const _0x233910=this[_0x2427e3(0x17f)](RangeError,_0x2427e3(0x11c),!0x0,0x3ea,_0x2427e3(0x103));_0x3feb98(_0x233910);return;}}else{if(this[_0x2427e3(0x16d)]){const _0x4b7320=this[_0x2427e3(0x17f)](RangeError,_0x2427e3(0xf8),!0x0,0x3ea,_0x2427e3(0x126));_0x3feb98(_0x4b7320);return;}}this[_0x2427e3(0x1d8)]===0x7e?this[_0x2427e3(0x257)]=_0x217312:this[_0x2427e3(0x1d8)]===0x7f?this[_0x2427e3(0x257)]=_0x23894f:this[_0x2427e3(0xf0)](_0x3feb98);}['getPayloadLength16'](_0x44c531){const _0x4b1a29=_0x569b1a;if(this[_0x4b1a29(0x172)]<0x2){this[_0x4b1a29(0x23b)]=!0x1;return;}this[_0x4b1a29(0x1d8)]=this[_0x4b1a29(0x10a)](0x2)['readUInt16BE'](0x0),this[_0x4b1a29(0xf0)](_0x44c531);}[_0x569b1a(0x1b8)](_0x4c9da9){const _0x1cffc8=_0x569b1a;if(this[_0x1cffc8(0x172)]<0x8){this[_0x1cffc8(0x23b)]=!0x1;return;}const _0x3143d8=this[_0x1cffc8(0x10a)](0x8),_0x140415=_0x3143d8[_0x1cffc8(0x1be)](0x0);if(_0x140415>Math[_0x1cffc8(0xd2)](0x2,0x15)-0x1){const _0x1c239c=this[_0x1cffc8(0x17f)](RangeError,_0x1cffc8(0x260),!0x1,0x3f1,_0x1cffc8(0x10f));_0x4c9da9(_0x1c239c);return;}this[_0x1cffc8(0x1d8)]=_0x140415*Math[_0x1cffc8(0xd2)](0x2,0x20)+_0x3143d8['readUInt32BE'](0x4),this[_0x1cffc8(0xf0)](_0x4c9da9);}[_0x569b1a(0xf0)](_0x32942a){const _0x1c9917=_0x569b1a;if(this[_0x1c9917(0x1d8)]&&this[_0x1c9917(0x176)]<0x8&&(this[_0x1c9917(0x1e6)]+=this[_0x1c9917(0x1d8)],this[_0x1c9917(0x1e6)]>this[_0x1c9917(0x146)]&&this[_0x1c9917(0x146)]>0x0)){const _0x135da6=this[_0x1c9917(0x17f)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x1c9917(0x120));_0x32942a(_0x135da6);return;}this[_0x1c9917(0x16d)]?this[_0x1c9917(0x257)]=_0x1117f7:this[_0x1c9917(0x257)]=_0x29bf01;}[_0x569b1a(0x193)](){const _0x57442f=_0x569b1a;if(this['_bufferedBytes']<0x4){this[_0x57442f(0x23b)]=!0x1;return;}this['_mask']=this[_0x57442f(0x10a)](0x4),this['_state']=_0x29bf01;}['getData'](_0x551e08){const _0x1687f5=_0x569b1a;let _0x4fa75f=_0x2413fb;if(this['_payloadLength']){if(this[_0x1687f5(0x172)]<this['_payloadLength']){this[_0x1687f5(0x23b)]=!0x1;return;}_0x4fa75f=this['consume'](this[_0x1687f5(0x1d8)]),this['_masked']&&(this[_0x1687f5(0x137)][0x0]|this[_0x1687f5(0x137)][0x1]|this[_0x1687f5(0x137)][0x2]|this[_0x1687f5(0x137)][0x3])!==0x0&&_0x3c5a83(_0x4fa75f,this[_0x1687f5(0x137)]);}if(this[_0x1687f5(0x176)]>0x7){this[_0x1687f5(0x135)](_0x4fa75f,_0x551e08);return;}if(this[_0x1687f5(0x11e)]){this[_0x1687f5(0x257)]=_0x11d602,this['decompress'](_0x4fa75f,_0x551e08);return;}_0x4fa75f[_0x1687f5(0xcf)]&&(this[_0x1687f5(0x227)]=this['_totalPayloadLength'],this['_fragments'][_0x1687f5(0x20f)](_0x4fa75f)),this[_0x1687f5(0x1a7)](_0x551e08);}['decompress'](_0x45cd03,_0xc5c70a){const _0x38db55=_0x569b1a;this[_0x38db55(0x1d1)][_0xe6e5fe['extensionName']][_0x38db55(0xe1)](_0x45cd03,this[_0x38db55(0x16c)],(_0x5e05eb,_0x11bd81)=>{const _0xf3c818=_0x38db55;if(_0x5e05eb)return _0xc5c70a(_0x5e05eb);if(_0x11bd81[_0xf3c818(0xcf)]){if(this[_0xf3c818(0x227)]+=_0x11bd81[_0xf3c818(0xcf)],this['_messageLength']>this[_0xf3c818(0x146)]&&this[_0xf3c818(0x146)]>0x0){const _0x37a439=this[_0xf3c818(0x17f)](RangeError,_0xf3c818(0x102),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0xc5c70a(_0x37a439);return;}this[_0xf3c818(0x25c)][_0xf3c818(0x20f)](_0x11bd81);}this['dataMessage'](_0xc5c70a),this[_0xf3c818(0x257)]===_0x474eae&&this[_0xf3c818(0x1e4)](_0xc5c70a);});}['dataMessage'](_0x3fdd1c){const _0x3b86b3=_0x569b1a;if(!this['_fin']){this[_0x3b86b3(0x257)]=_0x474eae;return;}const _0x2b8231=this['_messageLength'],_0x20f257=this[_0x3b86b3(0x25c)];if(this['_totalPayloadLength']=0x0,this[_0x3b86b3(0x227)]=0x0,this[_0x3b86b3(0x20c)]=0x0,this[_0x3b86b3(0x25c)]=[],this[_0x3b86b3(0x176)]===0x2){let _0x18932a;this['_binaryType']===_0x3b86b3(0x175)?_0x18932a=_0x447e32(_0x20f257,_0x2b8231):this[_0x3b86b3(0x1fb)]===_0x3b86b3(0x1de)?_0x18932a=_0x4003a7(_0x447e32(_0x20f257,_0x2b8231)):this[_0x3b86b3(0x1fb)]===_0x3b86b3(0x19c)?_0x18932a=new Blob(_0x20f257):_0x18932a=_0x20f257,this['_allowSynchronousEvents']?(this[_0x3b86b3(0x170)](_0x3b86b3(0x14c),_0x18932a,!0x0),this[_0x3b86b3(0x257)]=_0x474eae):(this[_0x3b86b3(0x257)]=_0x4d26fd,setImmediate(()=>{const _0x171a93=_0x3b86b3;this[_0x171a93(0x170)](_0x171a93(0x14c),_0x18932a,!0x0),this[_0x171a93(0x257)]=_0x474eae,this[_0x171a93(0x1e4)](_0x3fdd1c);}));}else{const _0x229d67=_0x447e32(_0x20f257,_0x2b8231);if(!this[_0x3b86b3(0x157)]&&!_0x23be77(_0x229d67)){const _0x2c9bce=this[_0x3b86b3(0x17f)](Error,_0x3b86b3(0x123),!0x0,0x3ef,_0x3b86b3(0x144));_0x3fdd1c(_0x2c9bce);return;}this['_state']===_0x11d602||this[_0x3b86b3(0x230)]?(this['emit']('message',_0x229d67,!0x1),this[_0x3b86b3(0x257)]=_0x474eae):(this['_state']=_0x4d26fd,setImmediate(()=>{const _0x40e25b=_0x3b86b3;this[_0x40e25b(0x170)](_0x40e25b(0x14c),_0x229d67,!0x1),this[_0x40e25b(0x257)]=_0x474eae,this[_0x40e25b(0x1e4)](_0x3fdd1c);}));}}[_0x569b1a(0x135)](_0x59b404,_0x1ca9eb){const _0x2acf8f=_0x569b1a;if(this[_0x2acf8f(0x176)]===0x8){if(_0x59b404[_0x2acf8f(0xcf)]===0x0)this['_loop']=!0x1,this[_0x2acf8f(0x170)](_0x2acf8f(0x209),0x3ed,_0x2413fb),this['end']();else{const _0x31ee90=_0x59b404[_0x2acf8f(0x15b)](0x0);if(!_0x227254(_0x31ee90)){const _0xfe6922=this['createError'](RangeError,'invalid\x20status\x20code\x20'+_0x31ee90,!0x0,0x3ea,_0x2acf8f(0x1c2));_0x1ca9eb(_0xfe6922);return;}const _0x2c091d=new _0x2148c7(_0x59b404[_0x2acf8f(0xfa)],_0x59b404[_0x2acf8f(0x1ab)]+0x2,_0x59b404['length']-0x2);if(!this[_0x2acf8f(0x157)]&&!_0x23be77(_0x2c091d)){const _0x64b379=this[_0x2acf8f(0x17f)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x2acf8f(0x144));_0x1ca9eb(_0x64b379);return;}this[_0x2acf8f(0x23b)]=!0x1,this[_0x2acf8f(0x170)]('conclude',_0x31ee90,_0x2c091d),this[_0x2acf8f(0x111)]();}this[_0x2acf8f(0x257)]=_0x474eae;return;}this[_0x2acf8f(0x230)]?(this[_0x2acf8f(0x170)](this[_0x2acf8f(0x176)]===0x9?_0x2acf8f(0x110):_0x2acf8f(0xc7),_0x59b404),this[_0x2acf8f(0x257)]=_0x474eae):(this['_state']=_0x4d26fd,setImmediate(()=>{const _0x2c3e65=_0x2acf8f;this['emit'](this[_0x2c3e65(0x176)]===0x9?'ping':_0x2c3e65(0xc7),_0x59b404),this[_0x2c3e65(0x257)]=_0x474eae,this['startLoop'](_0x1ca9eb);}));}[_0x569b1a(0x17f)](_0x59f6c3,_0x3e2b9c,_0x55ee35,_0x43b3c3,_0x104da4){const _0x3076da=_0x569b1a;this[_0x3076da(0x23b)]=!0x1,this['_errored']=!0x0;const _0x335d06=new _0x59f6c3(_0x55ee35?_0x3076da(0x1b7)+_0x3e2b9c:_0x3e2b9c);return Error[_0x3076da(0xc8)](_0x335d06,this[_0x3076da(0x17f)]),_0x335d06[_0x3076da(0xfd)]=_0x104da4,_0x335d06[_0x9b390b]=_0x43b3c3,_0x335d06;}}return Se=_0x2c66c6,Se;}var Ee,et;function _t(){const _0x492279=_0x5aaef6;if(et)return Ee;et=0x1;const {Duplex:_0x2671b6}=_0xa69c59,{randomFillSync:_0x3b149c}=_0x738967,_0x2be933=he(),{EMPTY_BUFFER:_0x464d2f,kWebSocket:_0x54827c,NOOP:_0x509016}=V(),{isBlob:_0x830059,isValidStatusCode:_0x4a4073}=ne(),{mask:_0x55d5e5,toBuffer:_0x284196}=ce(),_0x14bf8e=Symbol('kByteLength'),_0x3468c6=Buffer[_0x492279(0xdd)](0x4),_0x4895cb=0x8*0x400;let _0x3dc190,_0x3cb0af=_0x4895cb;const _0x1d36c6=0x0,_0x249486=0x1,_0x5cd6cb=0x2;class _0x803a31{constructor(_0x4a9acb,_0x43617b,_0x2cc0ea){const _0x12e85d=_0x492279;this[_0x12e85d(0x1d1)]=_0x43617b||{},_0x2cc0ea&&(this['_generateMask']=_0x2cc0ea,this[_0x12e85d(0x1cb)]=Buffer['alloc'](0x4)),this[_0x12e85d(0x190)]=_0x4a9acb,this[_0x12e85d(0x169)]=!0x0,this[_0x12e85d(0x12e)]=!0x1,this['_bufferedBytes']=0x0,this[_0x12e85d(0x1f3)]=[],this['_state']=_0x1d36c6,this[_0x12e85d(0x216)]=_0x509016,this[_0x54827c]=void 0x0;}static[_0x492279(0x15c)](_0x5a5212,_0x8cfc1d){const _0x4298fc=_0x492279;let _0x5251b4,_0x21a296=!0x1,_0x274aa0=0x2,_0x1d5eb0=!0x1;_0x8cfc1d[_0x4298fc(0x1c8)]&&(_0x5251b4=_0x8cfc1d[_0x4298fc(0x188)]||_0x3468c6,_0x8cfc1d[_0x4298fc(0x108)]?_0x8cfc1d[_0x4298fc(0x108)](_0x5251b4):(_0x3cb0af===_0x4895cb&&(_0x3dc190===void 0x0&&(_0x3dc190=Buffer[_0x4298fc(0xdd)](_0x4895cb)),_0x3b149c(_0x3dc190,0x0,_0x4895cb),_0x3cb0af=0x0),_0x5251b4[0x0]=_0x3dc190[_0x3cb0af++],_0x5251b4[0x1]=_0x3dc190[_0x3cb0af++],_0x5251b4[0x2]=_0x3dc190[_0x3cb0af++],_0x5251b4[0x3]=_0x3dc190[_0x3cb0af++]),_0x1d5eb0=(_0x5251b4[0x0]|_0x5251b4[0x1]|_0x5251b4[0x2]|_0x5251b4[0x3])===0x0,_0x274aa0=0x6);let _0xdc4f9a;typeof _0x5a5212==_0x4298fc(0x13e)?(!_0x8cfc1d[_0x4298fc(0x1c8)]||_0x1d5eb0)&&_0x8cfc1d[_0x14bf8e]!==void 0x0?_0xdc4f9a=_0x8cfc1d[_0x14bf8e]:(_0x5a5212=Buffer['from'](_0x5a5212),_0xdc4f9a=_0x5a5212[_0x4298fc(0xcf)]):(_0xdc4f9a=_0x5a5212['length'],_0x21a296=_0x8cfc1d[_0x4298fc(0x1c8)]&&_0x8cfc1d[_0x4298fc(0x1ca)]&&!_0x1d5eb0);let _0x48a2ee=_0xdc4f9a;_0xdc4f9a>=0x10000?(_0x274aa0+=0x8,_0x48a2ee=0x7f):_0xdc4f9a>0x7d&&(_0x274aa0+=0x2,_0x48a2ee=0x7e);const _0x531231=Buffer['allocUnsafe'](_0x21a296?_0xdc4f9a+_0x274aa0:_0x274aa0);return _0x531231[0x0]=_0x8cfc1d[_0x4298fc(0x1d0)]?_0x8cfc1d[_0x4298fc(0x191)]|0x80:_0x8cfc1d[_0x4298fc(0x191)],_0x8cfc1d['rsv1']&&(_0x531231[0x0]|=0x40),_0x531231[0x1]=_0x48a2ee,_0x48a2ee===0x7e?_0x531231[_0x4298fc(0x174)](_0xdc4f9a,0x2):_0x48a2ee===0x7f&&(_0x531231[0x2]=_0x531231[0x3]=0x0,_0x531231[_0x4298fc(0x20b)](_0xdc4f9a,0x4,0x6)),_0x8cfc1d[_0x4298fc(0x1c8)]?(_0x531231[0x1]|=0x80,_0x531231[_0x274aa0-0x4]=_0x5251b4[0x0],_0x531231[_0x274aa0-0x3]=_0x5251b4[0x1],_0x531231[_0x274aa0-0x2]=_0x5251b4[0x2],_0x531231[_0x274aa0-0x1]=_0x5251b4[0x3],_0x1d5eb0?[_0x531231,_0x5a5212]:_0x21a296?(_0x55d5e5(_0x5a5212,_0x5251b4,_0x531231,_0x274aa0,_0xdc4f9a),[_0x531231]):(_0x55d5e5(_0x5a5212,_0x5251b4,_0x5a5212,0x0,_0xdc4f9a),[_0x531231,_0x5a5212])):[_0x531231,_0x5a5212];}[_0x492279(0x11d)](_0x4908f6,_0x203a57,_0x3bc470,_0x2bba4e){const _0x3a7ab9=_0x492279;let _0xd6be5a;if(_0x4908f6===void 0x0)_0xd6be5a=_0x464d2f;else{if(typeof _0x4908f6!=_0x3a7ab9(0x203)||!_0x4a4073(_0x4908f6))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x203a57===void 0x0||!_0x203a57['length'])_0xd6be5a=Buffer[_0x3a7ab9(0x206)](0x2),_0xd6be5a['writeUInt16BE'](_0x4908f6,0x0);else{const _0x59e01c=Buffer[_0x3a7ab9(0x1a6)](_0x203a57);if(_0x59e01c>0x7b)throw new RangeError(_0x3a7ab9(0x115));_0xd6be5a=Buffer['allocUnsafe'](0x2+_0x59e01c),_0xd6be5a['writeUInt16BE'](_0x4908f6,0x0),typeof _0x203a57==_0x3a7ab9(0x13e)?_0xd6be5a[_0x3a7ab9(0x147)](_0x203a57,0x2):_0xd6be5a[_0x3a7ab9(0x10d)](_0x203a57,0x2);}}const _0x3349fa={[_0x14bf8e]:_0xd6be5a['length'],'fin':!0x0,'generateMask':this[_0x3a7ab9(0x1ff)],'mask':_0x3bc470,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x3a7ab9(0x257)]!==_0x1d36c6?this[_0x3a7ab9(0x222)]([this['dispatch'],_0xd6be5a,!0x1,_0x3349fa,_0x2bba4e]):this[_0x3a7ab9(0x17b)](_0x803a31[_0x3a7ab9(0x15c)](_0xd6be5a,_0x3349fa),_0x2bba4e);}['ping'](_0x356103,_0x369b05,_0x2f7566){const _0x50e502=_0x492279;let _0x3fc31b,_0x5d323e;if(typeof _0x356103==_0x50e502(0x13e)?(_0x3fc31b=Buffer[_0x50e502(0x1a6)](_0x356103),_0x5d323e=!0x1):_0x830059(_0x356103)?(_0x3fc31b=_0x356103['size'],_0x5d323e=!0x1):(_0x356103=_0x284196(_0x356103),_0x3fc31b=_0x356103[_0x50e502(0xcf)],_0x5d323e=_0x284196['readOnly']),_0x3fc31b>0x7d)throw new RangeError(_0x50e502(0x1fc));const _0x444eae={[_0x14bf8e]:_0x3fc31b,'fin':!0x0,'generateMask':this[_0x50e502(0x1ff)],'mask':_0x369b05,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x5d323e,'rsv1':!0x1};_0x830059(_0x356103)?this['_state']!==_0x1d36c6?this[_0x50e502(0x222)]([this['getBlobData'],_0x356103,!0x1,_0x444eae,_0x2f7566]):this[_0x50e502(0x1ec)](_0x356103,!0x1,_0x444eae,_0x2f7566):this[_0x50e502(0x257)]!==_0x1d36c6?this['enqueue']([this['dispatch'],_0x356103,!0x1,_0x444eae,_0x2f7566]):this[_0x50e502(0x17b)](_0x803a31['frame'](_0x356103,_0x444eae),_0x2f7566);}['pong'](_0x851d84,_0x3f8345,_0x385a1f){const _0x34f67b=_0x492279;let _0x5ac1d5,_0x38f3b4;if(typeof _0x851d84==_0x34f67b(0x13e)?(_0x5ac1d5=Buffer[_0x34f67b(0x1a6)](_0x851d84),_0x38f3b4=!0x1):_0x830059(_0x851d84)?(_0x5ac1d5=_0x851d84[_0x34f67b(0x1bc)],_0x38f3b4=!0x1):(_0x851d84=_0x284196(_0x851d84),_0x5ac1d5=_0x851d84['length'],_0x38f3b4=_0x284196[_0x34f67b(0x1ca)]),_0x5ac1d5>0x7d)throw new RangeError(_0x34f67b(0x1fc));const _0x53a455={[_0x14bf8e]:_0x5ac1d5,'fin':!0x0,'generateMask':this[_0x34f67b(0x1ff)],'mask':_0x3f8345,'maskBuffer':this[_0x34f67b(0x1cb)],'opcode':0xa,'readOnly':_0x38f3b4,'rsv1':!0x1};_0x830059(_0x851d84)?this['_state']!==_0x1d36c6?this[_0x34f67b(0x222)]([this[_0x34f67b(0x1ec)],_0x851d84,!0x1,_0x53a455,_0x385a1f]):this[_0x34f67b(0x1ec)](_0x851d84,!0x1,_0x53a455,_0x385a1f):this[_0x34f67b(0x257)]!==_0x1d36c6?this[_0x34f67b(0x222)]([this[_0x34f67b(0x21a)],_0x851d84,!0x1,_0x53a455,_0x385a1f]):this['sendFrame'](_0x803a31[_0x34f67b(0x15c)](_0x851d84,_0x53a455),_0x385a1f);}[_0x492279(0x1f5)](_0x5bc64b,_0x3b60a4,_0x53ffcf){const _0xe33ad7=_0x492279,_0x4cd400=this[_0xe33ad7(0x1d1)][_0x2be933[_0xe33ad7(0x1f8)]];let _0x402a2e=_0x3b60a4['binary']?0x2:0x1,_0x27ffa7=_0x3b60a4[_0xe33ad7(0x18d)],_0x588b61,_0xf0294e;typeof _0x5bc64b=='string'?(_0x588b61=Buffer['byteLength'](_0x5bc64b),_0xf0294e=!0x1):_0x830059(_0x5bc64b)?(_0x588b61=_0x5bc64b[_0xe33ad7(0x1bc)],_0xf0294e=!0x1):(_0x5bc64b=_0x284196(_0x5bc64b),_0x588b61=_0x5bc64b[_0xe33ad7(0xcf)],_0xf0294e=_0x284196[_0xe33ad7(0x1ca)]),this[_0xe33ad7(0x169)]?(this[_0xe33ad7(0x169)]=!0x1,_0x27ffa7&&_0x4cd400&&_0x4cd400[_0xe33ad7(0x1e2)][_0x4cd400['_isServer']?'server_no_context_takeover':_0xe33ad7(0x1a8)]&&(_0x27ffa7=_0x588b61>=_0x4cd400[_0xe33ad7(0x210)]),this[_0xe33ad7(0x12e)]=_0x27ffa7):(_0x27ffa7=!0x1,_0x402a2e=0x0),_0x3b60a4[_0xe33ad7(0x1d0)]&&(this['_firstFragment']=!0x0);const _0x4babe8={[_0x14bf8e]:_0x588b61,'fin':_0x3b60a4[_0xe33ad7(0x1d0)],'generateMask':this[_0xe33ad7(0x1ff)],'mask':_0x3b60a4[_0xe33ad7(0x1c8)],'maskBuffer':this[_0xe33ad7(0x1cb)],'opcode':_0x402a2e,'readOnly':_0xf0294e,'rsv1':_0x27ffa7};_0x830059(_0x5bc64b)?this[_0xe33ad7(0x257)]!==_0x1d36c6?this['enqueue']([this[_0xe33ad7(0x1ec)],_0x5bc64b,this[_0xe33ad7(0x12e)],_0x4babe8,_0x53ffcf]):this['getBlobData'](_0x5bc64b,this[_0xe33ad7(0x12e)],_0x4babe8,_0x53ffcf):this[_0xe33ad7(0x257)]!==_0x1d36c6?this[_0xe33ad7(0x222)]([this['dispatch'],_0x5bc64b,this['_compress'],_0x4babe8,_0x53ffcf]):this[_0xe33ad7(0x21a)](_0x5bc64b,this['_compress'],_0x4babe8,_0x53ffcf);}[_0x492279(0x1ec)](_0x343334,_0x3d2807,_0x19973a,_0xfe3147){const _0x42a3f6=_0x492279;this[_0x42a3f6(0x172)]+=_0x19973a[_0x14bf8e],this['_state']=_0x5cd6cb,_0x343334[_0x42a3f6(0x1b2)]()[_0x42a3f6(0x243)](_0x333b7e=>{const _0x105d71=_0x42a3f6;if(this[_0x105d71(0x190)][_0x105d71(0x1b3)]){const _0xb2401a=new Error(_0x105d71(0x17e));process[_0x105d71(0x12f)](_0x5eb3f3,this,_0xb2401a,_0xfe3147);return;}this[_0x105d71(0x172)]-=_0x19973a[_0x14bf8e];const _0x28abf5=_0x284196(_0x333b7e);_0x3d2807?this[_0x105d71(0x21a)](_0x28abf5,_0x3d2807,_0x19973a,_0xfe3147):(this['_state']=_0x1d36c6,this['sendFrame'](_0x803a31[_0x105d71(0x15c)](_0x28abf5,_0x19973a),_0xfe3147),this['dequeue']());})[_0x42a3f6(0xee)](_0x493a60=>{process['nextTick'](_0x52cf71,this,_0x493a60,_0xfe3147);});}[_0x492279(0x21a)](_0x7f0859,_0xc2cd75,_0x4f8cde,_0x590863){const _0x13382c=_0x492279;if(!_0xc2cd75){this['sendFrame'](_0x803a31['frame'](_0x7f0859,_0x4f8cde),_0x590863);return;}const _0x58c2b8=this[_0x13382c(0x1d1)][_0x2be933[_0x13382c(0x1f8)]];this[_0x13382c(0x172)]+=_0x4f8cde[_0x14bf8e],this[_0x13382c(0x257)]=_0x249486,_0x58c2b8[_0x13382c(0x18d)](_0x7f0859,_0x4f8cde['fin'],(_0x3df639,_0x7dc4ad)=>{const _0xc4c71=_0x13382c;if(this[_0xc4c71(0x190)][_0xc4c71(0x1b3)]){const _0x49ac18=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x5eb3f3(this,_0x49ac18,_0x590863);return;}this['_bufferedBytes']-=_0x4f8cde[_0x14bf8e],this[_0xc4c71(0x257)]=_0x1d36c6,_0x4f8cde[_0xc4c71(0x1ca)]=!0x1,this[_0xc4c71(0x17b)](_0x803a31[_0xc4c71(0x15c)](_0x7dc4ad,_0x4f8cde),_0x590863),this['dequeue']();});}[_0x492279(0x196)](){const _0x1276a8=_0x492279;for(;this[_0x1276a8(0x257)]===_0x1d36c6&&this[_0x1276a8(0x1f3)][_0x1276a8(0xcf)];){const _0x3653c2=this[_0x1276a8(0x1f3)][_0x1276a8(0x223)]();this[_0x1276a8(0x172)]-=_0x3653c2[0x3][_0x14bf8e],Reflect[_0x1276a8(0x237)](_0x3653c2[0x0],this,_0x3653c2[_0x1276a8(0x207)](0x1));}}[_0x492279(0x222)](_0x3d1c06){const _0x5772a5=_0x492279;this[_0x5772a5(0x172)]+=_0x3d1c06[0x3][_0x14bf8e],this[_0x5772a5(0x1f3)][_0x5772a5(0x20f)](_0x3d1c06);}[_0x492279(0x17b)](_0x2ae693,_0x2bfc92){const _0x6f0906=_0x492279;_0x2ae693[_0x6f0906(0xcf)]===0x2?(this[_0x6f0906(0x190)][_0x6f0906(0x125)](),this[_0x6f0906(0x190)][_0x6f0906(0x147)](_0x2ae693[0x0]),this[_0x6f0906(0x190)][_0x6f0906(0x147)](_0x2ae693[0x1],_0x2bfc92),this[_0x6f0906(0x190)][_0x6f0906(0x200)]()):this['_socket']['write'](_0x2ae693[0x0],_0x2bfc92);}}Ee=_0x803a31;function _0x5eb3f3(_0x2f864e,_0x396aef,_0x4347d9){const _0x45aee9=_0x492279;typeof _0x4347d9==_0x45aee9(0x1c9)&&_0x4347d9(_0x396aef);for(let _0x36c0ea=0x0;_0x36c0ea<_0x2f864e[_0x45aee9(0x1f3)][_0x45aee9(0xcf)];_0x36c0ea++){const _0x3d3459=_0x2f864e[_0x45aee9(0x1f3)][_0x36c0ea],_0x51eafc=_0x3d3459[_0x3d3459['length']-0x1];typeof _0x51eafc==_0x45aee9(0x1c9)&&_0x51eafc(_0x396aef);}}function _0x52cf71(_0x1be2bc,_0x193e92,_0x1cf9fb){const _0x37609f=_0x492279;_0x5eb3f3(_0x1be2bc,_0x193e92,_0x1cf9fb),_0x1be2bc[_0x37609f(0x216)](_0x193e92);}return Ee;}var xe,tt;function Kt(){const _0x45c704=_0x5aaef6;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x515ce5,kListener:_0x28b388}=V(),_0x3133dd=Symbol('kCode'),_0x13ad5b=Symbol('kData'),_0x54336a=Symbol(_0x45c704(0x1b1)),_0x508f82=Symbol(_0x45c704(0x1ee)),_0x4a6aa1=Symbol(_0x45c704(0x212)),_0x475168=Symbol(_0x45c704(0xc2)),_0x4855df=Symbol('kType'),_0x5acda8=Symbol(_0x45c704(0xcc));class _0x5c0e16{constructor(_0x3b0c2a){this[_0x475168]=null,this[_0x4855df]=_0x3b0c2a;}get[_0x45c704(0x23c)](){return this[_0x475168];}get['type'](){return this[_0x4855df];}}Object['defineProperty'](_0x5c0e16['prototype'],_0x45c704(0x23c),{'enumerable':!0x0}),Object['defineProperty'](_0x5c0e16[_0x45c704(0x1bd)],_0x45c704(0x1a2),{'enumerable':!0x0});class _0x15d2ee extends _0x5c0e16{constructor(_0x154ab1,_0x2cd19d={}){const _0x1ba86b=_0x45c704;super(_0x154ab1),this[_0x3133dd]=_0x2cd19d[_0x1ba86b(0xfd)]===void 0x0?0x0:_0x2cd19d[_0x1ba86b(0xfd)],this[_0x4a6aa1]=_0x2cd19d['reason']===void 0x0?'':_0x2cd19d[_0x1ba86b(0x1f7)],this[_0x5acda8]=_0x2cd19d[_0x1ba86b(0x183)]===void 0x0?!0x1:_0x2cd19d[_0x1ba86b(0x183)];}get[_0x45c704(0xfd)](){return this[_0x3133dd];}get[_0x45c704(0x1f7)](){return this[_0x4a6aa1];}get[_0x45c704(0x183)](){return this[_0x5acda8];}}Object[_0x45c704(0x159)](_0x15d2ee[_0x45c704(0x1bd)],'code',{'enumerable':!0x0}),Object[_0x45c704(0x159)](_0x15d2ee[_0x45c704(0x1bd)],_0x45c704(0x1f7),{'enumerable':!0x0}),Object[_0x45c704(0x159)](_0x15d2ee[_0x45c704(0x1bd)],'wasClean',{'enumerable':!0x0});class _0x4e3338 extends _0x5c0e16{constructor(_0x1e0abc,_0x840ea4={}){const _0x54bbf1=_0x45c704;super(_0x1e0abc),this[_0x54336a]=_0x840ea4['error']===void 0x0?null:_0x840ea4[_0x54bbf1(0xe8)],this[_0x508f82]=_0x840ea4['message']===void 0x0?'':_0x840ea4[_0x54bbf1(0x14c)];}get[_0x45c704(0xe8)](){return this[_0x54336a];}get['message'](){return this[_0x508f82];}}Object[_0x45c704(0x159)](_0x4e3338[_0x45c704(0x1bd)],_0x45c704(0xe8),{'enumerable':!0x0}),Object[_0x45c704(0x159)](_0x4e3338['prototype'],_0x45c704(0x14c),{'enumerable':!0x0});class _0x2a0bd1 extends _0x5c0e16{constructor(_0x36eab4,_0x2acfd9={}){const _0x8f8839=_0x45c704;super(_0x36eab4),this[_0x13ad5b]=_0x2acfd9[_0x8f8839(0x17c)]===void 0x0?null:_0x2acfd9[_0x8f8839(0x17c)];}get[_0x45c704(0x17c)](){return this[_0x13ad5b];}}Object['defineProperty'](_0x2a0bd1['prototype'],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x15d2ee,'ErrorEvent':_0x4e3338,'Event':_0x5c0e16,'EventTarget':{'addEventListener'(_0x1f08a,_0x4207f3,_0x223876={}){const _0x45391c=_0x45c704;for(const _0x5a7a13 of this[_0x45391c(0x201)](_0x1f08a))if(!_0x223876[_0x515ce5]&&_0x5a7a13[_0x28b388]===_0x4207f3&&!_0x5a7a13[_0x515ce5])return;let _0x4e0b9e;if(_0x1f08a===_0x45391c(0x14c))_0x4e0b9e=function(_0x4e29ba,_0x138bef){const _0xe7000d=_0x45391c,_0xaf2d0c=new _0x2a0bd1(_0xe7000d(0x14c),{'data':_0x138bef?_0x4e29ba:_0x4e29ba['toString']()});_0xaf2d0c[_0x475168]=this,_0x2e1b55(_0x4207f3,this,_0xaf2d0c);};else{if(_0x1f08a===_0x45391c(0x11d))_0x4e0b9e=function(_0x3853e0,_0x501d85){const _0x5bae23=_0x45391c,_0x2188ec=new _0x15d2ee(_0x5bae23(0x11d),{'code':_0x3853e0,'reason':_0x501d85['toString'](),'wasClean':this[_0x5bae23(0xc9)]&&this['_closeFrameSent']});_0x2188ec[_0x475168]=this,_0x2e1b55(_0x4207f3,this,_0x2188ec);};else{if(_0x1f08a===_0x45391c(0xe8))_0x4e0b9e=function(_0xe9c8a4){const _0x1131f5=_0x45391c,_0x1eb3ac=new _0x4e3338(_0x1131f5(0xe8),{'error':_0xe9c8a4,'message':_0xe9c8a4[_0x1131f5(0x14c)]});_0x1eb3ac[_0x475168]=this,_0x2e1b55(_0x4207f3,this,_0x1eb3ac);};else{if(_0x1f08a==='open')_0x4e0b9e=function(){const _0xc13a21=_0x45391c,_0x3eac8c=new _0x5c0e16(_0xc13a21(0x218));_0x3eac8c[_0x475168]=this,_0x2e1b55(_0x4207f3,this,_0x3eac8c);};else return;}}}_0x4e0b9e[_0x515ce5]=!!_0x223876[_0x515ce5],_0x4e0b9e[_0x28b388]=_0x4207f3,_0x223876[_0x45391c(0x18c)]?this[_0x45391c(0x18c)](_0x1f08a,_0x4e0b9e):this['on'](_0x1f08a,_0x4e0b9e);},'removeEventListener'(_0x483180,_0x5a4e90){const _0xc53e27=_0x45c704;for(const _0x594a1e of this[_0xc53e27(0x201)](_0x483180))if(_0x594a1e[_0x28b388]===_0x5a4e90&&!_0x594a1e[_0x515ce5]){this[_0xc53e27(0x1cc)](_0x483180,_0x594a1e);break;}}},'MessageEvent':_0x2a0bd1};function _0x2e1b55(_0x4a7db4,_0x102ca7,_0x481d50){const _0xe50c3=_0x45c704;typeof _0x4a7db4==_0xe50c3(0xe2)&&_0x4a7db4[_0xe50c3(0xe7)]?_0x4a7db4['handleEvent'][_0xe50c3(0xd3)](_0x4a7db4,_0x481d50):_0x4a7db4[_0xe50c3(0xd3)](_0x102ca7,_0x481d50);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x594953}=ne();function _0x4d67fb(_0x295112,_0x27789e,_0x1e8b18){const _0x1192a6=_0x220c;_0x295112[_0x27789e]===void 0x0?_0x295112[_0x27789e]=[_0x1e8b18]:_0x295112[_0x27789e][_0x1192a6(0x20f)](_0x1e8b18);}function _0x41ee1b(_0x58a13a){const _0x454588=_0x220c,_0x338d3f=Object[_0x454588(0x154)](null);let _0xeb93f0=Object['create'](null),_0x308d2e=!0x1,_0x4ea54d=!0x1,_0x129e6e=!0x1,_0x10f317,_0x1d75c9,_0x552671=-0x1,_0x49c2d4=-0x1,_0x1f98d7=-0x1,_0x5ad3d1=0x0;for(;_0x5ad3d1<_0x58a13a[_0x454588(0xcf)];_0x5ad3d1++)if(_0x49c2d4=_0x58a13a[_0x454588(0x197)](_0x5ad3d1),_0x10f317===void 0x0){if(_0x1f98d7===-0x1&&_0x594953[_0x49c2d4]===0x1)_0x552671===-0x1&&(_0x552671=_0x5ad3d1);else{if(_0x5ad3d1!==0x0&&(_0x49c2d4===0x20||_0x49c2d4===0x9))_0x1f98d7===-0x1&&_0x552671!==-0x1&&(_0x1f98d7=_0x5ad3d1);else{if(_0x49c2d4===0x3b||_0x49c2d4===0x2c){if(_0x552671===-0x1)throw new SyntaxError(_0x454588(0x1ac)+_0x5ad3d1);_0x1f98d7===-0x1&&(_0x1f98d7=_0x5ad3d1);const _0x1b009d=_0x58a13a[_0x454588(0x207)](_0x552671,_0x1f98d7);_0x49c2d4===0x2c?(_0x4d67fb(_0x338d3f,_0x1b009d,_0xeb93f0),_0xeb93f0=Object[_0x454588(0x154)](null)):_0x10f317=_0x1b009d,_0x552671=_0x1f98d7=-0x1;}else throw new SyntaxError(_0x454588(0x1ac)+_0x5ad3d1);}}}else{if(_0x1d75c9===void 0x0){if(_0x1f98d7===-0x1&&_0x594953[_0x49c2d4]===0x1)_0x552671===-0x1&&(_0x552671=_0x5ad3d1);else{if(_0x49c2d4===0x20||_0x49c2d4===0x9)_0x1f98d7===-0x1&&_0x552671!==-0x1&&(_0x1f98d7=_0x5ad3d1);else{if(_0x49c2d4===0x3b||_0x49c2d4===0x2c){if(_0x552671===-0x1)throw new SyntaxError(_0x454588(0x1ac)+_0x5ad3d1);_0x1f98d7===-0x1&&(_0x1f98d7=_0x5ad3d1),_0x4d67fb(_0xeb93f0,_0x58a13a[_0x454588(0x207)](_0x552671,_0x1f98d7),!0x0),_0x49c2d4===0x2c&&(_0x4d67fb(_0x338d3f,_0x10f317,_0xeb93f0),_0xeb93f0=Object['create'](null),_0x10f317=void 0x0),_0x552671=_0x1f98d7=-0x1;}else{if(_0x49c2d4===0x3d&&_0x552671!==-0x1&&_0x1f98d7===-0x1)_0x1d75c9=_0x58a13a[_0x454588(0x207)](_0x552671,_0x5ad3d1),_0x552671=_0x1f98d7=-0x1;else throw new SyntaxError(_0x454588(0x1ac)+_0x5ad3d1);}}}}else{if(_0x4ea54d){if(_0x594953[_0x49c2d4]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x5ad3d1);_0x552671===-0x1?_0x552671=_0x5ad3d1:_0x308d2e||(_0x308d2e=!0x0),_0x4ea54d=!0x1;}else{if(_0x129e6e){if(_0x594953[_0x49c2d4]===0x1)_0x552671===-0x1&&(_0x552671=_0x5ad3d1);else{if(_0x49c2d4===0x22&&_0x552671!==-0x1)_0x129e6e=!0x1,_0x1f98d7=_0x5ad3d1;else{if(_0x49c2d4===0x5c)_0x4ea54d=!0x0;else throw new SyntaxError(_0x454588(0x1ac)+_0x5ad3d1);}}}else{if(_0x49c2d4===0x22&&_0x58a13a[_0x454588(0x197)](_0x5ad3d1-0x1)===0x3d)_0x129e6e=!0x0;else{if(_0x1f98d7===-0x1&&_0x594953[_0x49c2d4]===0x1)_0x552671===-0x1&&(_0x552671=_0x5ad3d1);else{if(_0x552671!==-0x1&&(_0x49c2d4===0x20||_0x49c2d4===0x9))_0x1f98d7===-0x1&&(_0x1f98d7=_0x5ad3d1);else{if(_0x49c2d4===0x3b||_0x49c2d4===0x2c){if(_0x552671===-0x1)throw new SyntaxError(_0x454588(0x1ac)+_0x5ad3d1);_0x1f98d7===-0x1&&(_0x1f98d7=_0x5ad3d1);let _0x1b691a=_0x58a13a[_0x454588(0x207)](_0x552671,_0x1f98d7);_0x308d2e&&(_0x1b691a=_0x1b691a[_0x454588(0x224)](/\\/g,''),_0x308d2e=!0x1),_0x4d67fb(_0xeb93f0,_0x1d75c9,_0x1b691a),_0x49c2d4===0x2c&&(_0x4d67fb(_0x338d3f,_0x10f317,_0xeb93f0),_0xeb93f0=Object[_0x454588(0x154)](null),_0x10f317=void 0x0),_0x1d75c9=void 0x0,_0x552671=_0x1f98d7=-0x1;}else throw new SyntaxError(_0x454588(0x1ac)+_0x5ad3d1);}}}}}}}if(_0x552671===-0x1||_0x129e6e||_0x49c2d4===0x20||_0x49c2d4===0x9)throw new SyntaxError(_0x454588(0x1d5));_0x1f98d7===-0x1&&(_0x1f98d7=_0x5ad3d1);const _0x238b49=_0x58a13a[_0x454588(0x207)](_0x552671,_0x1f98d7);return _0x10f317===void 0x0?_0x4d67fb(_0x338d3f,_0x238b49,_0xeb93f0):(_0x1d75c9===void 0x0?_0x4d67fb(_0xeb93f0,_0x238b49,!0x0):_0x308d2e?_0x4d67fb(_0xeb93f0,_0x1d75c9,_0x238b49[_0x454588(0x224)](/\\/g,'')):_0x4d67fb(_0xeb93f0,_0x1d75c9,_0x238b49),_0x4d67fb(_0x338d3f,_0x10f317,_0xeb93f0)),_0x338d3f;}function _0x44b537(_0x339aff){const _0x20d995=_0x220c;return Object[_0x20d995(0x246)](_0x339aff)[_0x20d995(0x112)](_0x5b0af3=>{const _0x3a3ce1=_0x20d995;let _0x155b80=_0x339aff[_0x5b0af3];return Array[_0x3a3ce1(0x164)](_0x155b80)||(_0x155b80=[_0x155b80]),_0x155b80[_0x3a3ce1(0x112)](_0x262b2a=>[_0x5b0af3][_0x3a3ce1(0x150)](Object['keys'](_0x262b2a)['map'](_0x24e902=>{const _0x58a085=_0x3a3ce1;let _0xec863e=_0x262b2a[_0x24e902];return Array['isArray'](_0xec863e)||(_0xec863e=[_0xec863e]),_0xec863e[_0x58a085(0x112)](_0x5e5710=>_0x5e5710===!0x0?_0x24e902:_0x24e902+'='+_0x5e5710)['join'](';\x20');}))[_0x3a3ce1(0x219)](';\x20'))[_0x3a3ce1(0x219)](',\x20');})[_0x20d995(0x219)](',\x20');}return be={'format':_0x44b537,'parse':_0x41ee1b},be;}var we,st;function Ie(){const _0x47a370=_0x5aaef6;if(st)return we;st=0x1;const _0x2808d7=_0x51ddbe,_0x4e548b=_0x4aa7a1,_0x58f08a=_0x3677ba,_0x2e1d4c=_0x201c46,_0x5598d8=_0xafcc57,{randomBytes:_0x479e0,createHash:_0x56ea51}=_0x738967,{Duplex:_0x1bb26d,Readable:_0x4dc5a3}=_0xa69c59,{URL:_0x30724b}=_0x1cff91,_0x472902=he(),_0x587935=dt(),_0x257bac=_t(),{isBlob:_0x40c7b2}=ne(),{BINARY_TYPES:_0x3c46d0,EMPTY_BUFFER:_0x5b9a4e,GUID:_0x1cbf05,kForOnEventAttribute:_0x3bac05,kListener:_0x45954c,kStatusCode:_0x56f83b,kWebSocket:_0x2c3719,NOOP:_0x11b3cf}=V(),{EventTarget:{addEventListener:_0x3f7111,removeEventListener:_0x86880a}}=Kt(),{format:_0x45fbf5,parse:_0x5dcf0e}=pt(),{toBuffer:_0x6d9770}=ce(),_0x380359=0x1e*0x3e8,_0x352833=Symbol(_0x47a370(0xef)),_0x3e8bee=[0x8,0xd],_0x37d70d=[_0x47a370(0x10c),'OPEN',_0x47a370(0x198),_0x47a370(0xd5)],_0x2934cf=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x7a0cb1 extends _0x2808d7{constructor(_0x5806c3,_0xdb3152,_0x509ebe){const _0x11aae8=_0x47a370;super(),this[_0x11aae8(0x1fb)]=_0x3c46d0[0x0],this[_0x11aae8(0x1b0)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x11aae8(0x24e)]=!0x1,this['_closeMessage']=_0x5b9a4e,this[_0x11aae8(0x1a0)]=null,this[_0x11aae8(0x1c5)]=!0x1,this['_extensions']={},this[_0x11aae8(0x1b4)]=!0x1,this['_protocol']='',this['_readyState']=_0x7a0cb1[_0x11aae8(0x10c)],this['_receiver']=null,this[_0x11aae8(0xea)]=null,this[_0x11aae8(0x190)]=null,_0x5806c3!==null?(this[_0x11aae8(0x1a3)]=0x0,this['_isServer']=!0x1,this[_0x11aae8(0x1dd)]=0x0,_0xdb3152===void 0x0?_0xdb3152=[]:Array[_0x11aae8(0x164)](_0xdb3152)||(typeof _0xdb3152==_0x11aae8(0xe2)&&_0xdb3152!==null?(_0x509ebe=_0xdb3152,_0xdb3152=[]):_0xdb3152=[_0xdb3152]),_0x2b9c62(this,_0x5806c3,_0xdb3152,_0x509ebe)):(this[_0x11aae8(0x1c6)]=_0x509ebe[_0x11aae8(0x239)],this[_0x11aae8(0x233)]=!0x0);}get['binaryType'](){return this['_binaryType'];}set[_0x47a370(0x14d)](_0x4932a4){const _0x58d3ed=_0x47a370;_0x3c46d0[_0x58d3ed(0x208)](_0x4932a4)&&(this[_0x58d3ed(0x1fb)]=_0x4932a4,this[_0x58d3ed(0x13d)]&&(this['_receiver'][_0x58d3ed(0x1fb)]=_0x4932a4));}get[_0x47a370(0x1ed)](){const _0x4aba9a=_0x47a370;return this['_socket']?this[_0x4aba9a(0x190)]['_writableState'][_0x4aba9a(0xcf)]+this[_0x4aba9a(0xea)][_0x4aba9a(0x172)]:this[_0x4aba9a(0x1a3)];}get['extensions'](){const _0x11f048=_0x47a370;return Object['keys'](this[_0x11f048(0x1d1)])[_0x11f048(0x219)]();}get['isPaused'](){const _0x3e63f6=_0x47a370;return this[_0x3e63f6(0x1b4)];}get['onclose'](){return null;}get[_0x47a370(0x216)](){return null;}get[_0x47a370(0x202)](){return null;}get['onmessage'](){return null;}get[_0x47a370(0x1db)](){const _0x5661f0=_0x47a370;return this[_0x5661f0(0x1e9)];}get[_0x47a370(0x140)](){const _0x2da1c4=_0x47a370;return this[_0x2da1c4(0x1f9)];}get[_0x47a370(0x19b)](){const _0x264497=_0x47a370;return this[_0x264497(0xb8)];}['setSocket'](_0x12c863,_0x25d427,_0x34d6ca){const _0x5f0c2f=_0x47a370,_0x2c1c88=new _0x587935({'allowSynchronousEvents':_0x34d6ca[_0x5f0c2f(0x152)],'binaryType':this['binaryType'],'extensions':this[_0x5f0c2f(0x1d1)],'isServer':this[_0x5f0c2f(0x233)],'maxPayload':_0x34d6ca[_0x5f0c2f(0xf9)],'skipUTF8Validation':_0x34d6ca[_0x5f0c2f(0x205)]}),_0xdbdcdf=new _0x257bac(_0x12c863,this['_extensions'],_0x34d6ca[_0x5f0c2f(0x108)]);this[_0x5f0c2f(0x13d)]=_0x2c1c88,this[_0x5f0c2f(0xea)]=_0xdbdcdf,this[_0x5f0c2f(0x190)]=_0x12c863,_0x2c1c88[_0x2c3719]=this,_0xdbdcdf[_0x2c3719]=this,_0x12c863[_0x2c3719]=this,_0x2c1c88['on'](_0x5f0c2f(0x209),_0x379871),_0x2c1c88['on'](_0x5f0c2f(0x1a4),_0x4fc0a6),_0x2c1c88['on']('error',_0xadbc94),_0x2c1c88['on'](_0x5f0c2f(0x14c),_0x556272),_0x2c1c88['on']('ping',_0x108b7d),_0x2c1c88['on'](_0x5f0c2f(0xc7),_0xe4a429),_0xdbdcdf[_0x5f0c2f(0x216)]=_0x1508d6,_0x12c863[_0x5f0c2f(0x261)]&&_0x12c863[_0x5f0c2f(0x261)](0x0),_0x12c863[_0x5f0c2f(0x1d2)]&&_0x12c863[_0x5f0c2f(0x1d2)](),_0x25d427['length']>0x0&&_0x12c863['unshift'](_0x25d427),_0x12c863['on'](_0x5f0c2f(0x11d),_0x33526f),_0x12c863['on'](_0x5f0c2f(0x17c),_0x48ec66),_0x12c863['on'](_0x5f0c2f(0x111),_0x55e187),_0x12c863['on'](_0x5f0c2f(0xe8),_0x1fdce1),this[_0x5f0c2f(0x1f9)]=_0x7a0cb1[_0x5f0c2f(0xc5)],this[_0x5f0c2f(0x170)](_0x5f0c2f(0x218));}[_0x47a370(0x20e)](){const _0x5a227f=_0x47a370;if(!this[_0x5a227f(0x190)]){this[_0x5a227f(0x1f9)]=_0x7a0cb1[_0x5a227f(0xd5)],this[_0x5a227f(0x170)]('close',this[_0x5a227f(0x1b0)],this['_closeMessage']);return;}this[_0x5a227f(0x1d1)][_0x472902['extensionName']]&&this['_extensions'][_0x472902['extensionName']]['cleanup'](),this[_0x5a227f(0x13d)][_0x5a227f(0x1df)](),this[_0x5a227f(0x1f9)]=_0x7a0cb1[_0x5a227f(0xd5)],this['emit']('close',this[_0x5a227f(0x1b0)],this[_0x5a227f(0x235)]);}[_0x47a370(0x11d)](_0x4c014c,_0x5a7b44){const _0x10df39=_0x47a370;if(this[_0x10df39(0x140)]!==_0x7a0cb1[_0x10df39(0xd5)]){if(this[_0x10df39(0x140)]===_0x7a0cb1[_0x10df39(0x10c)]){_0x1d3316(this,this[_0x10df39(0x151)],_0x10df39(0x1ba));return;}if(this['readyState']===_0x7a0cb1[_0x10df39(0x198)]){this[_0x10df39(0x24e)]&&(this[_0x10df39(0xc9)]||this[_0x10df39(0x13d)][_0x10df39(0x1ad)]['errorEmitted'])&&this['_socket']['end']();return;}this[_0x10df39(0x1f9)]=_0x7a0cb1[_0x10df39(0x198)],this[_0x10df39(0xea)]['close'](_0x4c014c,_0x5a7b44,!this[_0x10df39(0x233)],_0x382722=>{const _0x52cb90=_0x10df39;_0x382722||(this[_0x52cb90(0x24e)]=!0x0,(this[_0x52cb90(0xc9)]||this[_0x52cb90(0x13d)]['_writableState']['errorEmitted'])&&this[_0x52cb90(0x190)]['end']());}),_0x2e4698(this);}}[_0x47a370(0x14f)](){const _0x16462e=_0x47a370;this[_0x16462e(0x140)]===_0x7a0cb1['CONNECTING']||this['readyState']===_0x7a0cb1[_0x16462e(0xd5)]||(this['_paused']=!0x0,this[_0x16462e(0x190)][_0x16462e(0x14f)]());}[_0x47a370(0x110)](_0x436c98,_0xe8703f,_0x1daef3){const _0x791c05=_0x47a370;if(this[_0x791c05(0x140)]===_0x7a0cb1['CONNECTING'])throw new Error(_0x791c05(0x1e0));if(typeof _0x436c98==_0x791c05(0x1c9)?(_0x1daef3=_0x436c98,_0x436c98=_0xe8703f=void 0x0):typeof _0xe8703f==_0x791c05(0x1c9)&&(_0x1daef3=_0xe8703f,_0xe8703f=void 0x0),typeof _0x436c98=='number'&&(_0x436c98=_0x436c98[_0x791c05(0xdf)]()),this[_0x791c05(0x140)]!==_0x7a0cb1[_0x791c05(0xc5)]){_0x1afb4b(this,_0x436c98,_0x1daef3);return;}_0xe8703f===void 0x0&&(_0xe8703f=!this[_0x791c05(0x233)]),this['_sender'][_0x791c05(0x110)](_0x436c98||_0x5b9a4e,_0xe8703f,_0x1daef3);}[_0x47a370(0xc7)](_0x210323,_0x2ea193,_0x56378d){const _0x15bb43=_0x47a370;if(this[_0x15bb43(0x140)]===_0x7a0cb1[_0x15bb43(0x10c)])throw new Error(_0x15bb43(0x1e0));if(typeof _0x210323==_0x15bb43(0x1c9)?(_0x56378d=_0x210323,_0x210323=_0x2ea193=void 0x0):typeof _0x2ea193=='function'&&(_0x56378d=_0x2ea193,_0x2ea193=void 0x0),typeof _0x210323==_0x15bb43(0x203)&&(_0x210323=_0x210323[_0x15bb43(0xdf)]()),this[_0x15bb43(0x140)]!==_0x7a0cb1[_0x15bb43(0xc5)]){_0x1afb4b(this,_0x210323,_0x56378d);return;}_0x2ea193===void 0x0&&(_0x2ea193=!this['_isServer']),this[_0x15bb43(0xea)][_0x15bb43(0xc7)](_0x210323||_0x5b9a4e,_0x2ea193,_0x56378d);}['resume'](){const _0x5a51f3=_0x47a370;this[_0x5a51f3(0x140)]===_0x7a0cb1['CONNECTING']||this['readyState']===_0x7a0cb1[_0x5a51f3(0xd5)]||(this[_0x5a51f3(0x1b4)]=!0x1,this[_0x5a51f3(0x13d)][_0x5a51f3(0x1ad)][_0x5a51f3(0x128)]||this[_0x5a51f3(0x190)]['resume']());}['send'](_0x39d4fd,_0x462020,_0x1136d3){const _0x422cf3=_0x47a370;if(this[_0x422cf3(0x140)]===_0x7a0cb1['CONNECTING'])throw new Error(_0x422cf3(0x1e0));if(typeof _0x462020==_0x422cf3(0x1c9)&&(_0x1136d3=_0x462020,_0x462020={}),typeof _0x39d4fd==_0x422cf3(0x203)&&(_0x39d4fd=_0x39d4fd[_0x422cf3(0xdf)]()),this[_0x422cf3(0x140)]!==_0x7a0cb1[_0x422cf3(0xc5)]){_0x1afb4b(this,_0x39d4fd,_0x1136d3);return;}const _0x5a9b13={'binary':typeof _0x39d4fd!=_0x422cf3(0x13e),'mask':!this[_0x422cf3(0x233)],'compress':!0x0,'fin':!0x0,..._0x462020};this[_0x422cf3(0x1d1)][_0x472902['extensionName']]||(_0x5a9b13[_0x422cf3(0x18d)]=!0x1),this[_0x422cf3(0xea)][_0x422cf3(0x1f5)](_0x39d4fd||_0x5b9a4e,_0x5a9b13,_0x1136d3);}['terminate'](){const _0x5ecc74=_0x47a370;if(this[_0x5ecc74(0x140)]!==_0x7a0cb1[_0x5ecc74(0xd5)]){if(this[_0x5ecc74(0x140)]===_0x7a0cb1['CONNECTING']){_0x1d3316(this,this['_req'],_0x5ecc74(0x1ba));return;}this[_0x5ecc74(0x190)]&&(this[_0x5ecc74(0x1f9)]=_0x7a0cb1[_0x5ecc74(0x198)],this['_socket'][_0x5ecc74(0x221)]());}}}Object['defineProperty'](_0x7a0cb1,_0x47a370(0x10c),{'enumerable':!0x0,'value':_0x37d70d[_0x47a370(0x252)]('CONNECTING')}),Object[_0x47a370(0x159)](_0x7a0cb1[_0x47a370(0x1bd)],_0x47a370(0x10c),{'enumerable':!0x0,'value':_0x37d70d[_0x47a370(0x252)](_0x47a370(0x10c))}),Object['defineProperty'](_0x7a0cb1,'OPEN',{'enumerable':!0x0,'value':_0x37d70d[_0x47a370(0x252)](_0x47a370(0xc5))}),Object['defineProperty'](_0x7a0cb1[_0x47a370(0x1bd)],_0x47a370(0xc5),{'enumerable':!0x0,'value':_0x37d70d['indexOf'](_0x47a370(0xc5))}),Object[_0x47a370(0x159)](_0x7a0cb1,'CLOSING',{'enumerable':!0x0,'value':_0x37d70d[_0x47a370(0x252)](_0x47a370(0x198))}),Object[_0x47a370(0x159)](_0x7a0cb1[_0x47a370(0x1bd)],_0x47a370(0x198),{'enumerable':!0x0,'value':_0x37d70d[_0x47a370(0x252)](_0x47a370(0x198))}),Object[_0x47a370(0x159)](_0x7a0cb1,_0x47a370(0xd5),{'enumerable':!0x0,'value':_0x37d70d['indexOf']('CLOSED')}),Object[_0x47a370(0x159)](_0x7a0cb1[_0x47a370(0x1bd)],'CLOSED',{'enumerable':!0x0,'value':_0x37d70d[_0x47a370(0x252)](_0x47a370(0xd5))}),[_0x47a370(0x14d),'bufferedAmount','extensions',_0x47a370(0x130),'protocol',_0x47a370(0x140),_0x47a370(0x19b)][_0x47a370(0x19d)](_0x256d47=>{const _0x1225aa=_0x47a370;Object[_0x1225aa(0x159)](_0x7a0cb1['prototype'],_0x256d47,{'enumerable':!0x0});}),[_0x47a370(0x218),_0x47a370(0xe8),_0x47a370(0x11d),_0x47a370(0x14c)]['forEach'](_0xe6b06d=>{const _0x3b7fb0=_0x47a370;Object[_0x3b7fb0(0x159)](_0x7a0cb1[_0x3b7fb0(0x1bd)],'on'+_0xe6b06d,{'enumerable':!0x0,'get'(){const _0x426313=_0x3b7fb0;for(const _0x3a8b74 of this[_0x426313(0x201)](_0xe6b06d))if(_0x3a8b74[_0x3bac05])return _0x3a8b74[_0x45954c];return null;},'set'(_0x4c9436){const _0x34f685=_0x3b7fb0;for(const _0x23d478 of this[_0x34f685(0x201)](_0xe6b06d))if(_0x23d478[_0x3bac05]){this[_0x34f685(0x1cc)](_0xe6b06d,_0x23d478);break;}typeof _0x4c9436==_0x34f685(0x1c9)&&this['addEventListener'](_0xe6b06d,_0x4c9436,{[_0x3bac05]:!0x0});}});}),_0x7a0cb1[_0x47a370(0x1bd)][_0x47a370(0xdb)]=_0x3f7111,_0x7a0cb1[_0x47a370(0x1bd)]['removeEventListener']=_0x86880a,we=_0x7a0cb1;function _0x2b9c62(_0xd5a9f7,_0x29a122,_0x7f4bc4,_0x2b3020){const _0x204c93=_0x47a370,_0x167e2d={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x3e8bee[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x2b3020,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0xd5a9f7[_0x204c93(0x1c6)]=_0x167e2d[_0x204c93(0x239)],!_0x3e8bee[_0x204c93(0x208)](_0x167e2d[_0x204c93(0x1c4)]))throw new RangeError(_0x204c93(0x1c3)+_0x167e2d[_0x204c93(0x1c4)]+_0x204c93(0x215)+_0x3e8bee['join'](',\x20')+')');let _0x1b69af;if(_0x29a122 instanceof _0x30724b)_0x1b69af=_0x29a122;else try{_0x1b69af=new _0x30724b(_0x29a122);}catch{throw new SyntaxError(_0x204c93(0x21e)+_0x29a122);}_0x1b69af[_0x204c93(0x1db)]==='http:'?_0x1b69af['protocol']=_0x204c93(0x25a):_0x1b69af['protocol']==='https:'&&(_0x1b69af['protocol']=_0x204c93(0xf7)),_0xd5a9f7['_url']=_0x1b69af[_0x204c93(0x15f)];const _0x3dafee=_0x1b69af['protocol']===_0x204c93(0xf7),_0x3a65b8=_0x1b69af[_0x204c93(0x1db)]===_0x204c93(0x21b);let _0xd0306d;if(_0x1b69af['protocol']!==_0x204c93(0x25a)&&!_0x3dafee&&!_0x3a65b8?_0xd0306d='The\x20URL\x27s\x20protocol\x20must\x20be\x20one\x20of\x20\x22ws:\x22,\x20\x22wss:\x22,\x20\x22http:\x22,\x20\x22https:\x22,\x20or\x20\x22ws+unix:\x22':_0x3a65b8&&!_0x1b69af[_0x204c93(0x134)]?_0xd0306d='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x1b69af[_0x204c93(0x1e3)]&&(_0xd0306d=_0x204c93(0x20d)),_0xd0306d){const _0x4b9e91=new SyntaxError(_0xd0306d);if(_0xd5a9f7['_redirects']===0x0)throw _0x4b9e91;_0x1d26aa(_0xd5a9f7,_0x4b9e91);return;}const _0x603277=_0x3dafee?0x1bb:0x50,_0x3c06dd=_0x479e0(0x10)[_0x204c93(0xdf)]('base64'),_0x2e0c01=_0x3dafee?_0x4e548b['request']:_0x58f08a['request'],_0x222f02=new Set();let _0xac1b5;if(_0x167e2d[_0x204c93(0x238)]=_0x167e2d[_0x204c93(0x238)]||(_0x3dafee?_0x2346df:_0x13b108),_0x167e2d[_0x204c93(0xd6)]=_0x167e2d[_0x204c93(0xd6)]||_0x603277,_0x167e2d[_0x204c93(0x1a1)]=_0x1b69af[_0x204c93(0x1a1)]||_0x603277,_0x167e2d[_0x204c93(0x15d)]=_0x1b69af['hostname']['startsWith']('[')?_0x1b69af['hostname'][_0x204c93(0x207)](0x1,-0x1):_0x1b69af[_0x204c93(0x232)],_0x167e2d['headers']={..._0x167e2d[_0x204c93(0x229)],'Sec-WebSocket-Version':_0x167e2d['protocolVersion'],'Sec-WebSocket-Key':_0x3c06dd,'Connection':'Upgrade','Upgrade':_0x204c93(0x121)},_0x167e2d[_0x204c93(0x220)]=_0x1b69af[_0x204c93(0x134)]+_0x1b69af[_0x204c93(0x162)],_0x167e2d[_0x204c93(0x1f0)]=_0x167e2d[_0x204c93(0x160)],_0x167e2d['perMessageDeflate']&&(_0xac1b5=new _0x472902(_0x167e2d[_0x204c93(0x129)]!==!0x0?_0x167e2d['perMessageDeflate']:{},!0x1,_0x167e2d[_0x204c93(0xf9)]),_0x167e2d[_0x204c93(0x229)]['Sec-WebSocket-Extensions']=_0x45fbf5({[_0x472902[_0x204c93(0x1f8)]]:_0xac1b5[_0x204c93(0x1ef)]()})),_0x7f4bc4[_0x204c93(0xcf)]){for(const _0x4bea80 of _0x7f4bc4){if(typeof _0x4bea80!='string'||!_0x2934cf[_0x204c93(0x185)](_0x4bea80)||_0x222f02[_0x204c93(0x1ea)](_0x4bea80))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x222f02['add'](_0x4bea80);}_0x167e2d[_0x204c93(0x229)][_0x204c93(0x211)]=_0x7f4bc4[_0x204c93(0x219)](',');}if(_0x167e2d['origin']&&(_0x167e2d[_0x204c93(0x1c4)]<0xd?_0x167e2d['headers'][_0x204c93(0x101)]=_0x167e2d['origin']:_0x167e2d[_0x204c93(0x229)]['Origin']=_0x167e2d[_0x204c93(0x1bb)]),(_0x1b69af[_0x204c93(0x11f)]||_0x1b69af[_0x204c93(0x236)])&&(_0x167e2d[_0x204c93(0xcb)]=_0x1b69af[_0x204c93(0x11f)]+':'+_0x1b69af[_0x204c93(0x236)]),_0x3a65b8){const _0x1af6ba=_0x167e2d['path'][_0x204c93(0x1e5)](':');_0x167e2d[_0x204c93(0x25b)]=_0x1af6ba[0x0],_0x167e2d[_0x204c93(0x220)]=_0x1af6ba[0x1];}let _0x493bfb;if(_0x167e2d['followRedirects']){if(_0xd5a9f7['_redirects']===0x0){_0xd5a9f7[_0x204c93(0xc6)]=_0x3a65b8,_0xd5a9f7[_0x204c93(0x1ce)]=_0x3dafee,_0xd5a9f7[_0x204c93(0x20a)]=_0x3a65b8?_0x167e2d[_0x204c93(0x25b)]:_0x1b69af[_0x204c93(0x15d)];const _0x4f634b=_0x2b3020&&_0x2b3020['headers'];if(_0x2b3020={..._0x2b3020,'headers':{}},_0x4f634b){for(const [_0x650b41,_0x1ee913]of Object[_0x204c93(0xf4)](_0x4f634b))_0x2b3020['headers'][_0x650b41[_0x204c93(0x155)]()]=_0x1ee913;}}else{if(_0xd5a9f7[_0x204c93(0x254)](_0x204c93(0x13a))===0x0){const _0x4d3289=_0x3a65b8?_0xd5a9f7[_0x204c93(0xc6)]?_0x167e2d[_0x204c93(0x25b)]===_0xd5a9f7[_0x204c93(0x20a)]:!0x1:_0xd5a9f7['_originalIpc']?!0x1:_0x1b69af[_0x204c93(0x15d)]===_0xd5a9f7[_0x204c93(0x20a)];(!_0x4d3289||_0xd5a9f7[_0x204c93(0x1ce)]&&!_0x3dafee)&&(delete _0x167e2d[_0x204c93(0x229)]['authorization'],delete _0x167e2d[_0x204c93(0x229)][_0x204c93(0x12a)],_0x4d3289||delete _0x167e2d[_0x204c93(0x229)][_0x204c93(0x15d)],_0x167e2d['auth']=void 0x0);}}_0x167e2d[_0x204c93(0xcb)]&&!_0x2b3020[_0x204c93(0x229)]['authorization']&&(_0x2b3020['headers'][_0x204c93(0x12d)]=_0x204c93(0x22e)+Buffer[_0x204c93(0x1bf)](_0x167e2d[_0x204c93(0xcb)])[_0x204c93(0xdf)]('base64')),_0x493bfb=_0xd5a9f7['_req']=_0x2e0c01(_0x167e2d),_0xd5a9f7[_0x204c93(0x1dd)]&&_0xd5a9f7[_0x204c93(0x170)](_0x204c93(0x13a),_0xd5a9f7[_0x204c93(0x19b)],_0x493bfb);}else _0x493bfb=_0xd5a9f7['_req']=_0x2e0c01(_0x167e2d);_0x167e2d[_0x204c93(0x1f0)]&&_0x493bfb['on'](_0x204c93(0x1f0),()=>{const _0x3dbfc2=_0x204c93;_0x1d3316(_0xd5a9f7,_0x493bfb,_0x3dbfc2(0x182));}),_0x493bfb['on'](_0x204c93(0xe8),_0x841dab=>{const _0x4b6fd9=_0x204c93;_0x493bfb===null||_0x493bfb[_0x352833]||(_0x493bfb=_0xd5a9f7[_0x4b6fd9(0x151)]=null,_0x1d26aa(_0xd5a9f7,_0x841dab));}),_0x493bfb['on'](_0x204c93(0x264),_0x504b9b=>{const _0x1ce67a=_0x204c93,_0x5b8676=_0x504b9b[_0x1ce67a(0x229)][_0x1ce67a(0x149)],_0x2f4a17=_0x504b9b[_0x1ce67a(0x167)];if(_0x5b8676&&_0x167e2d[_0x1ce67a(0x258)]&&_0x2f4a17>=0x12c&&_0x2f4a17<0x190){if(++_0xd5a9f7[_0x1ce67a(0x1dd)]>_0x167e2d[_0x1ce67a(0xb7)]){_0x1d3316(_0xd5a9f7,_0x493bfb,_0x1ce67a(0x256));return;}_0x493bfb[_0x1ce67a(0x22b)]();let _0x47c8f6;try{_0x47c8f6=new _0x30724b(_0x5b8676,_0x29a122);}catch{const _0x5e555b=new SyntaxError(_0x1ce67a(0x21e)+_0x5b8676);_0x1d26aa(_0xd5a9f7,_0x5e555b);return;}_0x2b9c62(_0xd5a9f7,_0x47c8f6,_0x7f4bc4,_0x2b3020);}else _0xd5a9f7[_0x1ce67a(0x170)]('unexpected-response',_0x493bfb,_0x504b9b)||_0x1d3316(_0xd5a9f7,_0x493bfb,_0x1ce67a(0x199)+_0x504b9b[_0x1ce67a(0x167)]);}),_0x493bfb['on'](_0x204c93(0x105),(_0x15f811,_0x3243fa,_0x285eb7)=>{const _0x28be64=_0x204c93;if(_0xd5a9f7['emit'](_0x28be64(0x105),_0x15f811),_0xd5a9f7[_0x28be64(0x140)]!==_0x7a0cb1['CONNECTING'])return;_0x493bfb=_0xd5a9f7[_0x28be64(0x151)]=null;const _0x375bcd=_0x15f811[_0x28be64(0x229)][_0x28be64(0x105)];if(_0x375bcd===void 0x0||_0x375bcd[_0x28be64(0x155)]()!==_0x28be64(0x121)){_0x1d3316(_0xd5a9f7,_0x3243fa,'Invalid\x20Upgrade\x20header');return;}const _0x5928bf=_0x56ea51(_0x28be64(0x22f))[_0x28be64(0x16b)](_0x3c06dd+_0x1cbf05)[_0x28be64(0x14a)](_0x28be64(0xeb));if(_0x15f811[_0x28be64(0x229)]['sec-websocket-accept']!==_0x5928bf){_0x1d3316(_0xd5a9f7,_0x3243fa,_0x28be64(0x18b));return;}const _0x2db1c8=_0x15f811[_0x28be64(0x229)][_0x28be64(0xf5)];let _0x3e6653;if(_0x2db1c8!==void 0x0?_0x222f02['size']?_0x222f02['has'](_0x2db1c8)||(_0x3e6653=_0x28be64(0x21f)):_0x3e6653=_0x28be64(0x14e):_0x222f02[_0x28be64(0x1bc)]&&(_0x3e6653='Server\x20sent\x20no\x20subprotocol'),_0x3e6653){_0x1d3316(_0xd5a9f7,_0x3243fa,_0x3e6653);return;}_0x2db1c8&&(_0xd5a9f7[_0x28be64(0x1e9)]=_0x2db1c8);const _0x25cd71=_0x15f811[_0x28be64(0x229)]['sec-websocket-extensions'];if(_0x25cd71!==void 0x0){if(!_0xac1b5){_0x1d3316(_0xd5a9f7,_0x3243fa,_0x28be64(0x255));return;}let _0x5d03a4;try{_0x5d03a4=_0x5dcf0e(_0x25cd71);}catch{_0x1d3316(_0xd5a9f7,_0x3243fa,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x32293f=Object[_0x28be64(0x246)](_0x5d03a4);if(_0x32293f[_0x28be64(0xcf)]!==0x1||_0x32293f[0x0]!==_0x472902[_0x28be64(0x1f8)]){_0x1d3316(_0xd5a9f7,_0x3243fa,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0xac1b5[_0x28be64(0xca)](_0x5d03a4[_0x472902[_0x28be64(0x1f8)]]);}catch{_0x1d3316(_0xd5a9f7,_0x3243fa,_0x28be64(0x18a));return;}_0xd5a9f7[_0x28be64(0x1d1)][_0x472902[_0x28be64(0x1f8)]]=_0xac1b5;}_0xd5a9f7[_0x28be64(0x16e)](_0x3243fa,_0x285eb7,{'allowSynchronousEvents':_0x167e2d['allowSynchronousEvents'],'generateMask':_0x167e2d[_0x28be64(0x108)],'maxPayload':_0x167e2d['maxPayload'],'skipUTF8Validation':_0x167e2d[_0x28be64(0x205)]});}),_0x167e2d['finishRequest']?_0x167e2d[_0x204c93(0x24d)](_0x493bfb,_0xd5a9f7):_0x493bfb[_0x204c93(0x111)]();}function _0x1d26aa(_0x24c030,_0x4701b1){const _0x45eeef=_0x47a370;_0x24c030['_readyState']=_0x7a0cb1['CLOSING'],_0x24c030[_0x45eeef(0x1c5)]=!0x0,_0x24c030[_0x45eeef(0x170)](_0x45eeef(0xe8),_0x4701b1),_0x24c030[_0x45eeef(0x20e)]();}function _0x13b108(_0x3ed3e9){const _0x5b63a9=_0x47a370;return _0x3ed3e9[_0x5b63a9(0x220)]=_0x3ed3e9[_0x5b63a9(0x25b)],_0x2e1d4c['connect'](_0x3ed3e9);}function _0x2346df(_0x2b24a1){const _0x32b6ea=_0x47a370;return _0x2b24a1[_0x32b6ea(0x220)]=void 0x0,!_0x2b24a1[_0x32b6ea(0xbf)]&&_0x2b24a1['servername']!==''&&(_0x2b24a1[_0x32b6ea(0xbf)]=_0x2e1d4c['isIP'](_0x2b24a1[_0x32b6ea(0x15d)])?'':_0x2b24a1[_0x32b6ea(0x15d)]),_0x5598d8[_0x32b6ea(0x145)](_0x2b24a1);}function _0x1d3316(_0x9b8ff6,_0x127f81,_0x1fecaa){const _0x1e86a6=_0x47a370;_0x9b8ff6[_0x1e86a6(0x1f9)]=_0x7a0cb1[_0x1e86a6(0x198)];const _0x325a9c=new Error(_0x1fecaa);Error['captureStackTrace'](_0x325a9c,_0x1d3316),_0x127f81[_0x1e86a6(0x1ae)]?(_0x127f81[_0x352833]=!0x0,_0x127f81[_0x1e86a6(0x22b)](),_0x127f81[_0x1e86a6(0x18f)]&&!_0x127f81['socket'][_0x1e86a6(0x1b3)]&&_0x127f81[_0x1e86a6(0x18f)][_0x1e86a6(0x221)](),process['nextTick'](_0x1d26aa,_0x9b8ff6,_0x325a9c)):(_0x127f81['destroy'](_0x325a9c),_0x127f81[_0x1e86a6(0x18c)]('error',_0x9b8ff6[_0x1e86a6(0x170)][_0x1e86a6(0xb9)](_0x9b8ff6,_0x1e86a6(0xe8))),_0x127f81['once'](_0x1e86a6(0x11d),_0x9b8ff6[_0x1e86a6(0x20e)]['bind'](_0x9b8ff6)));}function _0x1afb4b(_0x658ec4,_0x921286,_0x1c000e){const _0x3be3fe=_0x47a370;if(_0x921286){const _0x573f98=_0x40c7b2(_0x921286)?_0x921286['size']:_0x6d9770(_0x921286)['length'];_0x658ec4['_socket']?_0x658ec4['_sender'][_0x3be3fe(0x172)]+=_0x573f98:_0x658ec4[_0x3be3fe(0x1a3)]+=_0x573f98;}if(_0x1c000e){const _0x21f4ca=new Error(_0x3be3fe(0xc1)+_0x658ec4[_0x3be3fe(0x140)]+'\x20('+_0x37d70d[_0x658ec4['readyState']]+')');process[_0x3be3fe(0x12f)](_0x1c000e,_0x21f4ca);}}function _0x379871(_0x362eed,_0x409eba){const _0x72be61=_0x47a370,_0x549039=this[_0x2c3719];_0x549039[_0x72be61(0xc9)]=!0x0,_0x549039[_0x72be61(0x235)]=_0x409eba,_0x549039[_0x72be61(0x1b0)]=_0x362eed,_0x549039['_socket'][_0x2c3719]!==void 0x0&&(_0x549039[_0x72be61(0x190)][_0x72be61(0x1cc)](_0x72be61(0x17c),_0x48ec66),process[_0x72be61(0x12f)](_0xe63e83,_0x549039[_0x72be61(0x190)]),_0x362eed===0x3ed?_0x549039['close']():_0x549039[_0x72be61(0x11d)](_0x362eed,_0x409eba));}function _0x4fc0a6(){const _0x4e3b11=_0x47a370,_0x3b81b6=this[_0x2c3719];_0x3b81b6[_0x4e3b11(0x130)]||_0x3b81b6[_0x4e3b11(0x190)][_0x4e3b11(0x234)]();}function _0xadbc94(_0x239c00){const _0x21ec1c=_0x47a370,_0x2645a2=this[_0x2c3719];_0x2645a2[_0x21ec1c(0x190)][_0x2c3719]!==void 0x0&&(_0x2645a2[_0x21ec1c(0x190)][_0x21ec1c(0x1cc)]('data',_0x48ec66),process[_0x21ec1c(0x12f)](_0xe63e83,_0x2645a2[_0x21ec1c(0x190)]),_0x2645a2[_0x21ec1c(0x11d)](_0x239c00[_0x56f83b])),_0x2645a2[_0x21ec1c(0x1c5)]||(_0x2645a2[_0x21ec1c(0x1c5)]=!0x0,_0x2645a2[_0x21ec1c(0x170)]('error',_0x239c00));}function _0x4d91c8(){const _0x4e3e78=_0x47a370;this[_0x2c3719][_0x4e3e78(0x20e)]();}function _0x556272(_0x29facd,_0x396abf){const _0x73ef51=_0x47a370;this[_0x2c3719][_0x73ef51(0x170)](_0x73ef51(0x14c),_0x29facd,_0x396abf);}function _0x108b7d(_0x4fd6e2){const _0x28258c=_0x47a370,_0x3bb3af=this[_0x2c3719];_0x3bb3af[_0x28258c(0x1c6)]&&_0x3bb3af['pong'](_0x4fd6e2,!this[_0x28258c(0x233)],_0x11b3cf),_0x3bb3af[_0x28258c(0x170)](_0x28258c(0x110),_0x4fd6e2);}function _0xe4a429(_0x3daaa7){const _0x3386c1=_0x47a370;this[_0x2c3719]['emit'](_0x3386c1(0xc7),_0x3daaa7);}function _0xe63e83(_0x5863b4){_0x5863b4['resume']();}function _0x1508d6(_0x978269){const _0x2e4e11=_0x47a370,_0x558a53=this[_0x2c3719];_0x558a53[_0x2e4e11(0x140)]!==_0x7a0cb1['CLOSED']&&(_0x558a53[_0x2e4e11(0x140)]===_0x7a0cb1[_0x2e4e11(0xc5)]&&(_0x558a53['_readyState']=_0x7a0cb1['CLOSING'],_0x2e4698(_0x558a53)),this[_0x2e4e11(0x190)]['end'](),_0x558a53[_0x2e4e11(0x1c5)]||(_0x558a53[_0x2e4e11(0x1c5)]=!0x0,_0x558a53['emit'](_0x2e4e11(0xe8),_0x978269)));}function _0x2e4698(_0x5e1334){const _0x2cd7fb=_0x47a370;_0x5e1334['_closeTimer']=setTimeout(_0x5e1334[_0x2cd7fb(0x190)]['destroy']['bind'](_0x5e1334[_0x2cd7fb(0x190)]),_0x380359);}function _0x33526f(){const _0x2ec379=_0x47a370,_0x8f864f=this[_0x2c3719];this[_0x2ec379(0x1cc)]('close',_0x33526f),this[_0x2ec379(0x1cc)]('data',_0x48ec66),this['removeListener'](_0x2ec379(0x111),_0x55e187),_0x8f864f[_0x2ec379(0x1f9)]=_0x7a0cb1['CLOSING'];let _0x5efd8b;!this[_0x2ec379(0x13b)][_0x2ec379(0x1b5)]&&!_0x8f864f[_0x2ec379(0xc9)]&&!_0x8f864f[_0x2ec379(0x13d)][_0x2ec379(0x1ad)][_0x2ec379(0x24b)]&&(_0x5efd8b=_0x8f864f[_0x2ec379(0x190)][_0x2ec379(0x213)]())!==null&&_0x8f864f[_0x2ec379(0x13d)]['write'](_0x5efd8b),_0x8f864f[_0x2ec379(0x13d)]['end'](),this[_0x2c3719]=void 0x0,clearTimeout(_0x8f864f[_0x2ec379(0x1a0)]),_0x8f864f['_receiver'][_0x2ec379(0x1ad)][_0x2ec379(0x114)]||_0x8f864f['_receiver'][_0x2ec379(0x1ad)][_0x2ec379(0x24b)]?_0x8f864f[_0x2ec379(0x20e)]():(_0x8f864f[_0x2ec379(0x13d)]['on'](_0x2ec379(0xe8),_0x4d91c8),_0x8f864f[_0x2ec379(0x13d)]['on'](_0x2ec379(0x17a),_0x4d91c8));}function _0x48ec66(_0x45de86){const _0x1d25ae=_0x47a370;this[_0x2c3719][_0x1d25ae(0x13d)][_0x1d25ae(0x147)](_0x45de86)||this[_0x1d25ae(0x14f)]();}function _0x55e187(){const _0x48d398=_0x47a370,_0x40fc3a=this[_0x2c3719];_0x40fc3a[_0x48d398(0x1f9)]=_0x7a0cb1[_0x48d398(0x198)],_0x40fc3a[_0x48d398(0x13d)]['end'](),this['end']();}function _0x1fdce1(){const _0x376071=_0x47a370,_0x43f784=this[_0x2c3719];this[_0x376071(0x1cc)](_0x376071(0xe8),_0x1fdce1),this['on']('error',_0x11b3cf),_0x43f784&&(_0x43f784[_0x376071(0x1f9)]=_0x7a0cb1['CLOSING'],this[_0x376071(0x221)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x3923bb}=_0xa69c59;function _0x197053(_0x3fb486){const _0x499f53=_0x220c;_0x3fb486[_0x499f53(0x170)](_0x499f53(0x11d));}function _0x184966(){const _0x3a5c7e=_0x220c;!this[_0x3a5c7e(0x1b3)]&&this[_0x3a5c7e(0x1ad)][_0x3a5c7e(0x114)]&&this[_0x3a5c7e(0x221)]();}function _0x55ee98(_0x4aaef9){const _0x3d9771=_0x220c;this[_0x3d9771(0x1cc)](_0x3d9771(0xe8),_0x55ee98),this[_0x3d9771(0x221)](),this['listenerCount'](_0x3d9771(0xe8))===0x0&&this[_0x3d9771(0x170)](_0x3d9771(0xe8),_0x4aaef9);}function _0x48ef3d(_0xd3aeef,_0x19a5c9){const _0x21a667=_0x220c;let _0x105af4=!0x0;const _0x1f1327=new _0x3923bb({..._0x19a5c9,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0xd3aeef['on'](_0x21a667(0x14c),function(_0x3454c6,_0x28a9ba){const _0x53e017=_0x21a667,_0x1ad7f4=!_0x28a9ba&&_0x1f1327[_0x53e017(0x13b)][_0x53e017(0x25d)]?_0x3454c6[_0x53e017(0xdf)]():_0x3454c6;_0x1f1327[_0x53e017(0x20f)](_0x1ad7f4)||_0xd3aeef['pause']();}),_0xd3aeef['once']('error',function(_0x4ba3e9){const _0x3d8058=_0x21a667;_0x1f1327[_0x3d8058(0x1b3)]||(_0x105af4=!0x1,_0x1f1327[_0x3d8058(0x221)](_0x4ba3e9));}),_0xd3aeef[_0x21a667(0x18c)](_0x21a667(0x11d),function(){const _0x168b4e=_0x21a667;_0x1f1327[_0x168b4e(0x1b3)]||_0x1f1327['push'](null);}),_0x1f1327[_0x21a667(0x1d7)]=function(_0x187e28,_0xa02d9c){const _0x36336f=_0x21a667;if(_0xd3aeef[_0x36336f(0x140)]===_0xd3aeef[_0x36336f(0xd5)]){_0xa02d9c(_0x187e28),process[_0x36336f(0x12f)](_0x197053,_0x1f1327);return;}let _0x577c97=!0x1;_0xd3aeef[_0x36336f(0x18c)](_0x36336f(0xe8),function(_0x33ebd0){_0x577c97=!0x0,_0xa02d9c(_0x33ebd0);}),_0xd3aeef[_0x36336f(0x18c)](_0x36336f(0x11d),function(){const _0x290aa0=_0x36336f;_0x577c97||_0xa02d9c(_0x187e28),process[_0x290aa0(0x12f)](_0x197053,_0x1f1327);}),_0x105af4&&_0xd3aeef[_0x36336f(0x241)]();},_0x1f1327['_final']=function(_0x5b8e26){const _0x40bae6=_0x21a667;if(_0xd3aeef[_0x40bae6(0x140)]===_0xd3aeef['CONNECTING']){_0xd3aeef[_0x40bae6(0x18c)](_0x40bae6(0x218),function(){_0x1f1327['_final'](_0x5b8e26);});return;}_0xd3aeef[_0x40bae6(0x190)]!==null&&(_0xd3aeef[_0x40bae6(0x190)][_0x40bae6(0x1ad)]['finished']?(_0x5b8e26(),_0x1f1327[_0x40bae6(0x13b)][_0x40bae6(0x1b5)]&&_0x1f1327['destroy']()):(_0xd3aeef[_0x40bae6(0x190)][_0x40bae6(0x18c)](_0x40bae6(0x17a),function(){_0x5b8e26();}),_0xd3aeef[_0x40bae6(0x11d)]()));},_0x1f1327[_0x21a667(0x225)]=function(){const _0x4fa30c=_0x21a667;_0xd3aeef['isPaused']&&_0xd3aeef[_0x4fa30c(0x234)]();},_0x1f1327[_0x21a667(0x1aa)]=function(_0x55bd16,_0x3813c7,_0x2d3bb4){const _0xead350=_0x21a667;if(_0xd3aeef[_0xead350(0x140)]===_0xd3aeef[_0xead350(0x10c)]){_0xd3aeef['once'](_0xead350(0x218),function(){const _0x1dffe9=_0xead350;_0x1f1327[_0x1dffe9(0x1aa)](_0x55bd16,_0x3813c7,_0x2d3bb4);});return;}_0xd3aeef['send'](_0x55bd16,_0x2d3bb4);},_0x1f1327['on']('end',_0x184966),_0x1f1327['on'](_0x21a667(0xe8),_0x55ee98),_0x1f1327;}return Oe=_0x48ef3d,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function _0x5ad4(){const _0x144a57=['setConfig','Invalid\x20value\x20for\x20parameter\x20\x22','WS_NO_UTF_8_VALIDATE','permessage-deflate','addEventListener','isBuffer','alloc','_no_context_takeover','toString','404EVSUCg','decompress','object','pipe','client','zlibDeflateOptions','listening','handleEvent','error','Cookie','_sender','base64','File','Sec-WebSocket-Extensions:\x20','catch','kAborted','haveLength','isView','Invalid\x20HTTP\x20method','hasOwnProperty','entries','sec-websocket-protocol','next','wss:','MASK\x20must\x20be\x20clear','maxPayload','buffer','toStringTag','520jRBbeu','code','add','_errored','getInfo','Sec-WebSocket-Origin','Max\x20payload\x20size\x20exceeded','WS_ERR_EXPECTED_MASK','fragments','upgrade','__esModule','encrypted','generateMask','env','consume','Unknown\x20parameter\x20\x22','CONNECTING','set','getConfig','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','ping','end','map','_decompress','finished','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','species','readable','sec-websocket-version','531630lQOaHq','kRun','MASK\x20must\x20be\x20set','close','_compressed','username','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','websocket','completeUpgrade','invalid\x20UTF-8\x20sequence','authorized','cork','WS_ERR_UNEXPECTED_MASK','\x22\x20must\x20have\x20only\x20a\x20single\x20value','needDrain','perMessageDeflate','cookie','find','buffers','authorization','_compress','nextTick','isPaused','The\x20\x22','_buffers','stream','pathname','controlMessage','944845AHcvzL','_mask','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','Invalid\x20Upgrade\x20header','redirect','_readableState','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','_receiver','string','registerHTTPInterceptor','readyState','kListener','wsClientError','dispose','WS_ERR_INVALID_UTF8','connect','_maxPayload','write','server_max_window_bits','location','digest','server','message','binaryType','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','pause','concat','_req','allowSynchronousEvents','acceptAsServer','create','toLowerCase','Invalid\x20Sec-WebSocket-Protocol\x20header','_skipUTF8Validation','The\x20server\x20is\x20not\x20running','defineProperty','490164PqyVKo','readUInt16BE','frame','host','RSV1\x20must\x20be\x20clear','href','handshakeTimeout','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','search','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','isArray','22106520tSqxUM','_deflate','statusCode','Blob','_firstFragment','normalizeParams','update','_fin','_masked','setSocket','25Fowuht','emit','flush','_bufferedBytes','pending','writeUInt16BE','nodebuffer','_opcode','shouldHandle','getOwnPropertyDescriptor','WebSocket','finish','sendFrame','data','clients','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','createError','cleanup','createDeflateRaw','Opening\x20handshake\x20has\x20timed\x20out','wasClean','654904BcgfxF','test','client_max_window_bits','sec-websocket-origin','maskBuffer','kDone','Invalid\x20Sec-WebSocket-Extensions\x20header','Invalid\x20Sec-WebSocket-Accept\x20header','once','compress','isValidUTF8','socket','_socket','opcode','FIN\x20must\x20be\x20set','getMask','address','threshold','dequeue','charCodeAt','CLOSING','Unexpected\x20server\x20response:\x20','text/plain','url','blob','forEach','constructor','WS_ERR_INVALID_OPCODE','_closeTimer','port','type','_bufferedAmount','drain','server_no_context_takeover','byteLength','dataMessage','client_no_context_takeover','_shouldEmitClose','_write','byteOffset','Unexpected\x20character\x20at\x20index\x20','_writableState','setHeader','collaboration-client-node.config','_closeCode','kError','arrayBuffer','destroyed','_paused','endEmitted','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','Invalid\x20WebSocket\x20frame:\x20','getPayloadLength64','WS_ERR_UNEXPECTED_RSV_1','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','origin','size','prototype','readUInt32BE','from','extensions','_removeListeners','WS_ERR_INVALID_CLOSE_CODE','Unsupported\x20protocol\x20version:\x20','protocolVersion','_errorEmitted','_autoPong','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','mask','function','readOnly','_maskBuffer','removeListener','createSocket','_originalSecure','_inflate','fin','_extensions','setNoDelay','format','status-code','Unexpected\x20end\x20of\x20input','clientTracking','_destroy','_payloadLength','\x22:\x20','removeEventListener','protocol','handleProtocols','_redirects','arraybuffer','removeAllListeners','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','jobs','params','hash','startLoop','split','_totalPayloadLength','verifyClient','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','_protocol','has','9651flgfoC','getBlobData','bufferedAmount','kMessage','offer','timeout','Z_DEFAULT_WINDOWBITS','acceptAsClient','_queue','87269AAqmqS','send','Z_SYNC_FLUSH','reason','extensionName','_readyState','callback','_binaryType','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','default','value','_generateMask','uncork','listeners','onopen','number','reset','skipUTF8Validation','allocUnsafe','slice','includes','conclude','_originalHostOrSocketPath','writeUIntBE','_fragmented','The\x20URL\x20contains\x20a\x20fragment\x20identifier','emitClose','push','_threshold','Sec-WebSocket-Protocol','kReason','read','unmask','\x20(supported\x20versions:\x20','onerror','clientMaxWindowBits','open','join','dispatch','ws+unix:','HTTP/1.1\x20','sec-websocket-key','Invalid\x20URL:\x20','Server\x20sent\x20an\x20invalid\x20subprotocol','path','destroy','enqueue','shift','replace','_read','_httpService','_messageLength','_doCreateSocket','headers','connection','abort','invalid\x20payload\x20length\x20','listen','Basic\x20','sha1','_allowSynchronousEvents','Sec-WebSocket-Protocol:\x20','hostname','_isServer','resume','_closeMessage','password','apply','createConnection','autoPong','Module','_loop','target','get','invalid\x20opcode\x200','isInteger','text/html','terminate','\x22\x20subprotocol\x20is\x20duplicated','then','Sec-WebSocket-Accept:\x20','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','keys','_max_window_bits','noServer','freeze','_configService','errorEmitted','exports','finishRequest','_closeFrameSent','onStarting','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','STATUS_CODES','indexOf','invalid\x20opcode\x20','listenerCount','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','Maximum\x20redirects\x20exceeded','_state','followRedirects','Parameter\x20\x22','ws:','socketPath','_fragments','objectMode','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','construct','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','setTimeout','HTTP/1.1\x20101\x20Switching\x20Protocols','getData','response','_registerDependencies','maxRedirects','_url','bind','_server','parse','serverMaxWindowBits','clientNoContextTakeover','options','servername','createInflateRaw','WebSocket\x20is\x20not\x20open:\x20readyState\x20','kTarget','pluginName','_injector','OPEN','_originalIpc','pong','captureStackTrace','_closeFrameReceived','accept','auth','kWasClean','_options','handleUpgrade','length','total-length','serverNoContextTakeover','pow','call','customHeaders','CLOSED','defaultPort'];_0x5ad4=function(){return _0x144a57;};return _0x5ad4();}function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x287ca1}=ne();function _0x15a78e(_0x525fb4){const _0x47da3c=_0x220c,_0x327c83=new Set();let _0x2ee171=-0x1,_0x341842=-0x1,_0x446218=0x0;for(_0x446218;_0x446218<_0x525fb4[_0x47da3c(0xcf)];_0x446218++){const _0x1b2378=_0x525fb4[_0x47da3c(0x197)](_0x446218);if(_0x341842===-0x1&&_0x287ca1[_0x1b2378]===0x1)_0x2ee171===-0x1&&(_0x2ee171=_0x446218);else{if(_0x446218!==0x0&&(_0x1b2378===0x20||_0x1b2378===0x9))_0x341842===-0x1&&_0x2ee171!==-0x1&&(_0x341842=_0x446218);else{if(_0x1b2378===0x2c){if(_0x2ee171===-0x1)throw new SyntaxError(_0x47da3c(0x1ac)+_0x446218);_0x341842===-0x1&&(_0x341842=_0x446218);const _0x4b6e7d=_0x525fb4[_0x47da3c(0x207)](_0x2ee171,_0x341842);if(_0x327c83[_0x47da3c(0x1ea)](_0x4b6e7d))throw new SyntaxError(_0x47da3c(0x131)+_0x4b6e7d+'\x22\x20subprotocol\x20is\x20duplicated');_0x327c83['add'](_0x4b6e7d),_0x2ee171=_0x341842=-0x1;}else throw new SyntaxError(_0x47da3c(0x1ac)+_0x446218);}}}if(_0x2ee171===-0x1||_0x341842!==-0x1)throw new SyntaxError(_0x47da3c(0x1d5));const _0xb17a06=_0x525fb4['slice'](_0x2ee171,_0x446218);if(_0x327c83[_0x47da3c(0x1ea)](_0xb17a06))throw new SyntaxError(_0x47da3c(0x131)+_0xb17a06+_0x47da3c(0x242));return _0x327c83['add'](_0xb17a06),_0x327c83;}return Ce={'parse':_0x15a78e},Ce;}var Te,ot;function er(){const _0xc4b15b=_0x5aaef6;if(ot)return Te;ot=0x1;const _0x44416c=_0x51ddbe,_0x56fe93=_0x3677ba,{Duplex:_0xc49cb2}=_0xa69c59,{createHash:_0x38d140}=_0x738967,_0x59ddea=pt(),_0x13f35e=he(),_0x2a9e33=Jt(),_0x1348c3=Ie(),{GUID:_0x109baa,kWebSocket:_0x29cbb3}=V(),_0x1ed03d=/^[+/0-9A-Za-z]{22}==$/,_0x1d6c3d=0x0,_0x32d58e=0x1,_0x302489=0x2;class _0x24bf30 extends _0x44416c{constructor(_0x4560f5,_0x224a42){const _0x1441eb=_0x220c;if(super(),_0x4560f5={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'maxPayload':0x64*0x400*0x400,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x1,'handleProtocols':null,'clientTracking':!0x0,'verifyClient':null,'noServer':!0x1,'backlog':null,'server':null,'host':null,'path':null,'port':null,'WebSocket':_0x1348c3,..._0x4560f5},_0x4560f5[_0x1441eb(0x1a1)]==null&&!_0x4560f5[_0x1441eb(0x14b)]&&!_0x4560f5[_0x1441eb(0x248)]||_0x4560f5[_0x1441eb(0x1a1)]!=null&&(_0x4560f5[_0x1441eb(0x14b)]||_0x4560f5[_0x1441eb(0x248)])||_0x4560f5[_0x1441eb(0x14b)]&&_0x4560f5['noServer'])throw new TypeError(_0x1441eb(0x163));if(_0x4560f5['port']!=null?(this[_0x1441eb(0xba)]=_0x56fe93['createServer']((_0x55ab36,_0xe3377d)=>{const _0x1cf231=_0x1441eb,_0x1214ec=_0x56fe93[_0x1cf231(0x251)][0x1aa];_0xe3377d['writeHead'](0x1aa,{'Content-Length':_0x1214ec[_0x1cf231(0xcf)],'Content-Type':_0x1cf231(0x19a)}),_0xe3377d['end'](_0x1214ec);}),this[_0x1441eb(0xba)][_0x1441eb(0x22d)](_0x4560f5[_0x1441eb(0x1a1)],_0x4560f5['host'],_0x4560f5['backlog'],_0x224a42)):_0x4560f5[_0x1441eb(0x14b)]&&(this[_0x1441eb(0xba)]=_0x4560f5['server']),this[_0x1441eb(0xba)]){const _0xea9676=this[_0x1441eb(0x170)][_0x1441eb(0xb9)](this,_0x1441eb(0x22a));this[_0x1441eb(0x1c1)]=_0x16d15f(this[_0x1441eb(0xba)],{'listening':this[_0x1441eb(0x170)][_0x1441eb(0xb9)](this,_0x1441eb(0xe6)),'error':this[_0x1441eb(0x170)][_0x1441eb(0xb9)](this,'error'),'upgrade':(_0x1dc8d2,_0x1c22d7,_0x570ba0)=>{const _0x1fad91=_0x1441eb;this[_0x1fad91(0xce)](_0x1dc8d2,_0x1c22d7,_0x570ba0,_0xea9676);}});}_0x4560f5[_0x1441eb(0x129)]===!0x0&&(_0x4560f5['perMessageDeflate']={}),_0x4560f5[_0x1441eb(0x1d6)]&&(this[_0x1441eb(0x17d)]=new Set(),this['_shouldEmitClose']=!0x1),this['options']=_0x4560f5,this['_state']=_0x1d6c3d;}[_0xc4b15b(0x194)](){const _0x430d16=_0xc4b15b;if(this[_0x430d16(0xbe)][_0x430d16(0x248)])throw new Error(_0x430d16(0x1b6));return this[_0x430d16(0xba)]?this[_0x430d16(0xba)][_0x430d16(0x194)]():null;}[_0xc4b15b(0x11d)](_0x4d4591){const _0x348f96=_0xc4b15b;if(this[_0x348f96(0x257)]===_0x302489){_0x4d4591&&this['once'](_0x348f96(0x11d),()=>{const _0x5020ba=_0x348f96;_0x4d4591(new Error(_0x5020ba(0x158)));}),process['nextTick'](_0x99d2c7,this);return;}if(_0x4d4591&&this[_0x348f96(0x18c)](_0x348f96(0x11d),_0x4d4591),this[_0x348f96(0x257)]!==_0x32d58e){if(this[_0x348f96(0x257)]=_0x32d58e,this[_0x348f96(0xbe)]['noServer']||this[_0x348f96(0xbe)][_0x348f96(0x14b)])this['_server']&&(this[_0x348f96(0x1c1)](),this[_0x348f96(0x1c1)]=this[_0x348f96(0xba)]=null),this[_0x348f96(0x17d)]?this[_0x348f96(0x17d)][_0x348f96(0x1bc)]?this['_shouldEmitClose']=!0x0:process['nextTick'](_0x99d2c7,this):process[_0x348f96(0x12f)](_0x99d2c7,this);else{const _0x5daa46=this[_0x348f96(0xba)];this['_removeListeners'](),this[_0x348f96(0x1c1)]=this[_0x348f96(0xba)]=null,_0x5daa46['close'](()=>{_0x99d2c7(this);});}}}['shouldHandle'](_0x5bca92){const _0x132795=_0xc4b15b;if(this[_0x132795(0xbe)][_0x132795(0x220)]){const _0x494250=_0x5bca92[_0x132795(0x19b)][_0x132795(0x252)]('?');if((_0x494250!==-0x1?_0x5bca92[_0x132795(0x19b)]['slice'](0x0,_0x494250):_0x5bca92[_0x132795(0x19b)])!==this[_0x132795(0xbe)][_0x132795(0x220)])return!0x1;}return!0x0;}['handleUpgrade'](_0x611d8a,_0xf6e3f7,_0x1a10cc,_0xf21c2d){const _0x119d98=_0xc4b15b;_0xf6e3f7['on'](_0x119d98(0xe8),_0x1ddaff);const _0x1f9e8e=_0x611d8a[_0x119d98(0x229)][_0x119d98(0x21d)],_0x414463=_0x611d8a[_0x119d98(0x229)][_0x119d98(0x105)],_0x580304=+_0x611d8a['headers'][_0x119d98(0x119)];if(_0x611d8a['method']!=='GET'){_0x2add88(this,_0x611d8a,_0xf6e3f7,0x195,_0x119d98(0xf2));return;}if(_0x414463===void 0x0||_0x414463[_0x119d98(0x155)]()!==_0x119d98(0x121)){_0x2add88(this,_0x611d8a,_0xf6e3f7,0x190,_0x119d98(0x139));return;}if(_0x1f9e8e===void 0x0||!_0x1ed03d[_0x119d98(0x185)](_0x1f9e8e)){_0x2add88(this,_0x611d8a,_0xf6e3f7,0x190,_0x119d98(0x250));return;}if(_0x580304!==0xd&&_0x580304!==0x8){_0x2add88(this,_0x611d8a,_0xf6e3f7,0x190,_0x119d98(0x138),{'Sec-WebSocket-Version':'13,\x208'});return;}if(!this[_0x119d98(0x177)](_0x611d8a)){_0x51f95f(_0xf6e3f7,0x190);return;}const _0x392405=_0x611d8a[_0x119d98(0x229)][_0x119d98(0xf5)];let _0x445d67=new Set();if(_0x392405!==void 0x0)try{_0x445d67=_0x2a9e33[_0x119d98(0xbb)](_0x392405);}catch{_0x2add88(this,_0x611d8a,_0xf6e3f7,0x190,_0x119d98(0x156));return;}const _0x1baaf6=_0x611d8a[_0x119d98(0x229)]['sec-websocket-extensions'],_0x2ed35e={};if(this[_0x119d98(0xbe)][_0x119d98(0x129)]&&_0x1baaf6!==void 0x0){const _0x555a34=new _0x13f35e(this[_0x119d98(0xbe)]['perMessageDeflate'],!0x0,this[_0x119d98(0xbe)]['maxPayload']);try{const _0x169ca8=_0x59ddea['parse'](_0x1baaf6);_0x169ca8[_0x13f35e[_0x119d98(0x1f8)]]&&(_0x555a34['accept'](_0x169ca8[_0x13f35e[_0x119d98(0x1f8)]]),_0x2ed35e[_0x13f35e['extensionName']]=_0x555a34);}catch{_0x2add88(this,_0x611d8a,_0xf6e3f7,0x190,_0x119d98(0x245));return;}}if(this[_0x119d98(0xbe)][_0x119d98(0x1e7)]){const _0x3eea76={'origin':_0x611d8a[_0x119d98(0x229)][''+(_0x580304===0x8?_0x119d98(0x187):'origin')],'secure':!!(_0x611d8a[_0x119d98(0x18f)][_0x119d98(0x124)]||_0x611d8a[_0x119d98(0x18f)][_0x119d98(0x107)]),'req':_0x611d8a};if(this[_0x119d98(0xbe)]['verifyClient'][_0x119d98(0xcf)]===0x2){this[_0x119d98(0xbe)][_0x119d98(0x1e7)](_0x3eea76,(_0x38ad96,_0x4cb80d,_0x143a69,_0x535960)=>{if(!_0x38ad96)return _0x51f95f(_0xf6e3f7,_0x4cb80d||0x191,_0x143a69,_0x535960);this['completeUpgrade'](_0x2ed35e,_0x1f9e8e,_0x445d67,_0x611d8a,_0xf6e3f7,_0x1a10cc,_0xf21c2d);});return;}if(!this[_0x119d98(0xbe)]['verifyClient'](_0x3eea76))return _0x51f95f(_0xf6e3f7,0x191);}this[_0x119d98(0x122)](_0x2ed35e,_0x1f9e8e,_0x445d67,_0x611d8a,_0xf6e3f7,_0x1a10cc,_0xf21c2d);}[_0xc4b15b(0x122)](_0x18515c,_0x47fc6b,_0x4f06e2,_0x472866,_0x414f12,_0x2c8c95,_0x4e5a28){const _0x3b4eec=_0xc4b15b;if(!_0x414f12[_0x3b4eec(0x118)]||!_0x414f12['writable'])return _0x414f12[_0x3b4eec(0x221)]();if(_0x414f12[_0x29cbb3])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x3b4eec(0x257)]>_0x1d6c3d)return _0x51f95f(_0x414f12,0x1f7);const _0x16e95e=[_0x3b4eec(0x262),'Upgrade:\x20websocket','Connection:\x20Upgrade',_0x3b4eec(0x244)+_0x38d140(_0x3b4eec(0x22f))[_0x3b4eec(0x16b)](_0x47fc6b+_0x109baa)[_0x3b4eec(0x14a)](_0x3b4eec(0xeb))],_0x5d3fdb=new this[(_0x3b4eec(0xbe))][(_0x3b4eec(0x179))](null,void 0x0,this['options']);if(_0x4f06e2[_0x3b4eec(0x1bc)]){const _0x20e78d=this[_0x3b4eec(0xbe)][_0x3b4eec(0x1dc)]?this[_0x3b4eec(0xbe)][_0x3b4eec(0x1dc)](_0x4f06e2,_0x472866):_0x4f06e2['values']()['next']()[_0x3b4eec(0x1fe)];_0x20e78d&&(_0x16e95e[_0x3b4eec(0x20f)](_0x3b4eec(0x231)+_0x20e78d),_0x5d3fdb[_0x3b4eec(0x1e9)]=_0x20e78d);}if(_0x18515c[_0x13f35e[_0x3b4eec(0x1f8)]]){const _0x5ab66b=_0x18515c[_0x13f35e[_0x3b4eec(0x1f8)]][_0x3b4eec(0x1e2)],_0x554496=_0x59ddea[_0x3b4eec(0x1d3)]({[_0x13f35e['extensionName']]:[_0x5ab66b]});_0x16e95e['push'](_0x3b4eec(0xed)+_0x554496),_0x5d3fdb[_0x3b4eec(0x1d1)]=_0x18515c;}this[_0x3b4eec(0x170)](_0x3b4eec(0x229),_0x16e95e,_0x472866),_0x414f12['write'](_0x16e95e[_0x3b4eec(0x150)]('\x0d\x0a')[_0x3b4eec(0x219)]('\x0d\x0a')),_0x414f12[_0x3b4eec(0x1cc)](_0x3b4eec(0xe8),_0x1ddaff),_0x5d3fdb[_0x3b4eec(0x16e)](_0x414f12,_0x2c8c95,{'allowSynchronousEvents':this[_0x3b4eec(0xbe)]['allowSynchronousEvents'],'maxPayload':this['options'][_0x3b4eec(0xf9)],'skipUTF8Validation':this[_0x3b4eec(0xbe)][_0x3b4eec(0x205)]}),this['clients']&&(this['clients'][_0x3b4eec(0xfe)](_0x5d3fdb),_0x5d3fdb['on'](_0x3b4eec(0x11d),()=>{const _0x2b4163=_0x3b4eec;this[_0x2b4163(0x17d)]['delete'](_0x5d3fdb),this[_0x2b4163(0x1a9)]&&!this[_0x2b4163(0x17d)][_0x2b4163(0x1bc)]&&process[_0x2b4163(0x12f)](_0x99d2c7,this);})),_0x4e5a28(_0x5d3fdb,_0x472866);}}Te=_0x24bf30;function _0x16d15f(_0x1dac1f,_0x393d13){const _0x1469e4=_0xc4b15b;for(const _0x39c2ec of Object[_0x1469e4(0x246)](_0x393d13))_0x1dac1f['on'](_0x39c2ec,_0x393d13[_0x39c2ec]);return function(){const _0x4118fa=_0x1469e4;for(const _0x4e1284 of Object[_0x4118fa(0x246)](_0x393d13))_0x1dac1f[_0x4118fa(0x1cc)](_0x4e1284,_0x393d13[_0x4e1284]);};}function _0x99d2c7(_0x24e607){const _0x46231b=_0xc4b15b;_0x24e607[_0x46231b(0x257)]=_0x302489,_0x24e607[_0x46231b(0x170)]('close');}function _0x1ddaff(){const _0x1af281=_0xc4b15b;this[_0x1af281(0x221)]();}function _0x51f95f(_0x3727c0,_0x4f3ba2,_0x1cf91a,_0x5f27a1){const _0x1aefcb=_0xc4b15b;_0x1cf91a=_0x1cf91a||_0x56fe93[_0x1aefcb(0x251)][_0x4f3ba2],_0x5f27a1={'Connection':_0x1aefcb(0x11d),'Content-Type':_0x1aefcb(0x240),'Content-Length':Buffer[_0x1aefcb(0x1a6)](_0x1cf91a),..._0x5f27a1},_0x3727c0[_0x1aefcb(0x18c)](_0x1aefcb(0x17a),_0x3727c0[_0x1aefcb(0x221)]),_0x3727c0[_0x1aefcb(0x111)](_0x1aefcb(0x21c)+_0x4f3ba2+'\x20'+_0x56fe93[_0x1aefcb(0x251)][_0x4f3ba2]+'\x0d\x0a'+Object[_0x1aefcb(0x246)](_0x5f27a1)[_0x1aefcb(0x112)](_0x5ce49d=>_0x5ce49d+':\x20'+_0x5f27a1[_0x5ce49d])[_0x1aefcb(0x219)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x1cf91a);}function _0x2add88(_0x50759b,_0x19d6f8,_0xe47f72,_0x3f71a0,_0xd84187,_0x52c8d3){const _0x4d2aab=_0xc4b15b;if(_0x50759b[_0x4d2aab(0x254)](_0x4d2aab(0x142))){const _0x3adbae=new Error(_0xd84187);Error['captureStackTrace'](_0x3adbae,_0x2add88),_0x50759b[_0x4d2aab(0x170)](_0x4d2aab(0x142),_0x3adbae,_0xe47f72,_0x19d6f8);}else _0x51f95f(_0xe47f72,_0x3f71a0,_0xd84187,_0x52c8d3);}return Te;}er();var tr=Object[_0x5aaef6(0x178)],rr=(_0xf47611,_0x202845,_0x137996,_0x38907b)=>{const _0x4e1d6c=_0x5aaef6;for(var _0x3d9e7c=_0x38907b>0x1?void 0x0:_0x38907b?tr(_0x202845,_0x137996):_0x202845,_0x363c9f=_0xf47611[_0x4e1d6c(0xcf)]-0x1,_0x3b06a3;_0x363c9f>=0x0;_0x363c9f--)(_0x3b06a3=_0xf47611[_0x363c9f])&&(_0x3d9e7c=_0x3b06a3(_0x3d9e7c)||_0x3d9e7c);return _0x3d9e7c;},sr=(_0x3d5c47,_0x2068d3)=>(_0x450142,_0x1f6beb)=>_0x2068d3(_0x450142,_0x1f6beb,_0x3d5c47);let Ne=class extends _0x266c6a{constructor(_0xe6e519){const _0xc4b59=_0x5aaef6;super(),this[_0xc4b59(0x24a)]=_0xe6e519;}[_0x5aaef6(0x1cd)](_0x489558){const _0x4666c5=_0x5aaef6;var _0x57c80b;const _0x4ab785=(_0x57c80b=this[_0x4666c5(0x24a)][_0x4666c5(0x10e)](Be))==null?void 0x0:_0x57c80b['customHeaders'];try{const _0x1fb261=new Qt(_0x489558,{'headers':{..._0x4ab785}}),_0x5085f9=new _0x220f21();return{'URL':_0x489558,'close':(_0x3cc7f5,_0x2133ad)=>{const _0x2be68f=_0x4666c5;_0x1fb261[_0x2be68f(0x11d)](_0x3cc7f5,_0x2133ad),_0x5085f9[_0x2be68f(0x143)]();},'send':_0x4d99cb=>{const _0x133ccb=_0x4666c5;_0x1fb261[_0x133ccb(0x1f5)](_0x4d99cb);},'open$':new _0x22e704(_0x162239=>{const _0x5f01da=_0x4666c5,_0x343648=_0x38c6e4=>_0x162239[_0x5f01da(0xf6)](_0x38c6e4);_0x1fb261[_0x5f01da(0xdb)]('open',_0x343648),_0x5085f9[_0x5f01da(0xfe)](_0x25243e(()=>_0x1fb261[_0x5f01da(0x1da)](_0x5f01da(0x218),_0x343648)));})[_0x4666c5(0xe3)](_0x33f2c3()),'close$':new _0x22e704(_0x5de4eb=>{const _0x15d0cd=_0x4666c5,_0x4973d5=_0x49e63d=>_0x5de4eb[_0x15d0cd(0xf6)](_0x49e63d);_0x1fb261[_0x15d0cd(0xdb)](_0x15d0cd(0x11d),_0x4973d5),_0x5085f9[_0x15d0cd(0xfe)](_0x25243e(()=>_0x1fb261['removeEventListener']('close',_0x4973d5)));})[_0x4666c5(0xe3)](_0x33f2c3()),'error$':new _0x22e704(_0x594b1e=>{const _0x21e7ea=_0x4666c5,_0x3036a0=_0x5f541a=>_0x594b1e['next'](_0x5f541a);_0x1fb261['addEventListener']('error',_0x3036a0),_0x5085f9[_0x21e7ea(0xfe)](_0x25243e(()=>_0x1fb261[_0x21e7ea(0x1da)](_0x21e7ea(0xe8),_0x3036a0)));})['pipe'](_0x33f2c3()),'message$':new _0x22e704(_0xe4c8f1=>{const _0x13e3ef=_0x4666c5,_0x53cb8b=_0x3eb472=>_0xe4c8f1[_0x13e3ef(0xf6)](_0x3eb472);_0x1fb261[_0x13e3ef(0xdb)](_0x13e3ef(0x14c),_0x53cb8b),_0x5085f9['add'](_0x25243e(()=>_0x1fb261['removeEventListener'](_0x13e3ef(0x14c),_0x53cb8b)));})[_0x4666c5(0xe3)](_0x33f2c3())};}catch(_0x699e56){return console[_0x4666c5(0xe8)](_0x699e56),null;}}};Ne=rr([sr(0x0,_0x1399b3)],Ne);var ir=Object[_0x5aaef6(0x159)],nr=Object[_0x5aaef6(0x178)],or=(_0xd65697,_0x46ee6b,_0xf58f47)=>_0x46ee6b in _0xd65697?ir(_0xd65697,_0x46ee6b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xf58f47}):_0xd65697[_0x46ee6b]=_0xf58f47,ar=(_0xea6aa5,_0x2fa5fa,_0x54b8fb,_0x385fd1)=>{for(var _0x688b68=_0x385fd1>0x1?void 0x0:_0x385fd1?nr(_0x2fa5fa,_0x54b8fb):_0x2fa5fa,_0x323cd2=_0xea6aa5['length']-0x1,_0x125741;_0x323cd2>=0x0;_0x323cd2--)(_0x125741=_0xea6aa5[_0x323cd2])&&(_0x688b68=_0x125741(_0x688b68)||_0x688b68);return _0x688b68;},ke=(_0x345b46,_0x308d52)=>(_0x4089a0,_0x18eb5c)=>_0x308d52(_0x4089a0,_0x18eb5c,_0x345b46),lr=(_0x525454,_0x3b6de4,_0x35fa6a)=>or(_0x525454,_0x3b6de4+'',_0x35fa6a);let Pe=class extends _0x3ff643{constructor(_0x4d1304=Ft,_0x3ab7e9,_0x175c2f,_0x53b315){const _0x52b692=_0x5aaef6;_0x4d1304['customHeaders']||_0x3ab7e9['warn']('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x52b692(0x24a)]=_0x175c2f,this[_0x52b692(0xc4)]=_0x53b315,this[_0x52b692(0x24a)][_0x52b692(0xd7)](Be,_0x4d1304);}[_0x5aaef6(0x24f)](){const _0x57be79=_0x5aaef6;this[_0x57be79(0x265)]();}[_0x5aaef6(0x265)](){const _0x27d50b=_0x5aaef6;_0x48a310(this[_0x27d50b(0xc4)],[[_0x3b6658,{'useClass':Ne}]]);}};lr(Pe,_0x5aaef6(0xc3),_0x5aaef6(0x25e)),Pe=ar([_0xbe93ae(_0x35b408),ke(0x1,_0xd1925c),ke(0x2,_0x1399b3),ke(0x3,_0x198c83(_0x453f88))],Pe);var fr=Object[_0x5aaef6(0x178)],cr=(_0x58ee3a,_0x299c99,_0x71e342,_0x43fdeb)=>{const _0x67811a=_0x5aaef6;for(var _0x1e1cf3=_0x43fdeb>0x1?void 0x0:_0x43fdeb?fr(_0x299c99,_0x71e342):_0x299c99,_0x47c7ea=_0x58ee3a[_0x67811a(0xcf)]-0x1,_0xc662e;_0x47c7ea>=0x0;_0x47c7ea--)(_0xc662e=_0x58ee3a[_0x47c7ea])&&(_0x1e1cf3=_0xc662e(_0x1e1cf3)||_0x1e1cf3);return _0x1e1cf3;},se=(_0x50c788,_0x468cfa)=>(_0x45e19c,_0x21d13d)=>_0x468cfa(_0x45e19c,_0x21d13d,_0x50c788);let at=class extends _0x55d2ba{constructor(_0x3dc246,_0x347f02,_0x4e7568,_0x3fdecd,_0x410edd){const _0x381446=_0x5aaef6;super(_0x3dc246,_0x347f02,_0x4e7568,_0x3fdecd,_0x410edd);const _0x34e1c1=this[_0x381446(0x24a)][_0x381446(0x10e)](Be);this[_0x381446(0x226)][_0x381446(0x13f)]({'interceptor':(_0x36addc,_0x1c2dff)=>{const _0x31a87a=_0x381446;var _0x5ed5c9;const _0x281764=_0x36addc[_0x31a87a(0x229)];return(_0x5ed5c9=_0x34e1c1==null?void 0x0:_0x34e1c1[_0x31a87a(0xd4)])!=null&&_0x5ed5c9[_0x31a87a(0x12a)]&&_0x281764[_0x31a87a(0x10d)](_0x31a87a(0xe9),_0x34e1c1['customHeaders'][_0x31a87a(0x12a)]),_0x1c2dff(_0x36addc);}});}async['createSocket'](_0x2291af){const _0xcd65a=_0x5aaef6;return this[_0xcd65a(0x228)](_0x2291af);}};function _0x220c(_0x449e73,_0x41f542){const _0x5ad402=_0x5ad4();return _0x220c=function(_0x220c6a,_0x4bd65e){_0x220c6a=_0x220c6a-0xb7;let _0x46273d=_0x5ad402[_0x220c6a];return _0x46273d;},_0x220c(_0x449e73,_0x41f542);}at=cr([se(0x0,_0x198c83(_0x453f88)),se(0x1,_0x198c83(_0x5858a3)),se(0x2,_0x1399b3),se(0x3,_0xd1925c),se(0x4,_0x82aad2)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
1
+ const _0x4a8798=_0x2c80;(function(_0x141627,_0x200289){const _0x1797dd=_0x2c80,_0x38a44a=_0x141627();while(!![]){try{const _0xf74c21=parseInt(_0x1797dd(0xab))/0x1*(-parseInt(_0x1797dd(0x135))/0x2)+-parseInt(_0x1797dd(0x115))/0x3+parseInt(_0x1797dd(0x19d))/0x4+-parseInt(_0x1797dd(0x158))/0x5+-parseInt(_0x1797dd(0x1c1))/0x6*(parseInt(_0x1797dd(0xd9))/0x7)+parseInt(_0x1797dd(0x230))/0x8*(-parseInt(_0x1797dd(0x130))/0x9)+-parseInt(_0x1797dd(0x220))/0xa*(-parseInt(_0x1797dd(0x117))/0xb);if(_0xf74c21===_0x200289)break;else _0x38a44a['push'](_0x38a44a['shift']());}catch(_0x26738f){_0x38a44a['push'](_0x38a44a['shift']());}}}(_0x3b46,0xa2f20));import{UniverCollaborationClientPlugin as _0x3fbefe,CollaborationSocketService as _0x1183c4}from'@univerjs-pro/collaboration-client';import{Disposable as _0x2229fd,DisposableCollection as _0x1c0e39,toDisposable as _0x208b1,IConfigService as _0x394cde,DependentOn as _0x1fb60f,ILogService as _0x3f2986,Inject as _0x5b8dd8,Injector as _0x31ef33,Plugin as _0x1ec056,registerDependencies as _0x1f5797}from'@univerjs/core';function _0x2c80(_0x1be226,_0x45471){const _0x3b4667=_0x3b46();return _0x2c80=function(_0x2c80a0,_0x141a87){_0x2c80a0=_0x2c80a0-0x91;let _0x12aa3e=_0x3b4667[_0x2c80a0];return _0x12aa3e;},_0x2c80(_0x1be226,_0x45471);}import{ISocketService as _0x439c29,HTTPService as _0x104112}from'@univerjs/network';import{Observable as _0x5a28b9,share as _0xb4c0a4}from'rxjs';import _0x231509 from'events';import _0x4dae9a from'https';import _0x4a0f23 from'http';import _0x21f3c7 from'net';import _0x43a5ca from'tls';import _0x172c9a from'crypto';import _0x48895b from'stream';import _0x2fd073 from'url';import _0x202920 from'zlib';import _0x201063 from'buffer';import{ISnapshotServerService as _0x19289f}from'@univerjs-pro/collaboration';const Be=_0x4a8798(0x106),Ft={'customHeaders':{}};function Wt(_0x15558b){const _0x2ac7c0=_0x4a8798;return _0x15558b&&_0x15558b[_0x2ac7c0(0xfa)]&&Object[_0x2ac7c0(0x10b)][_0x2ac7c0(0xd6)][_0x2ac7c0(0x184)](_0x15558b,_0x2ac7c0(0x12f))?_0x15558b[_0x2ac7c0(0x12f)]:_0x15558b;}function _0x3b46(){const _0x2dc464=['maskBuffer','createSocket','hasOwnProperty','WS_ERR_UNEXPECTED_MASK','_writableState','130809wEkwiX','protocol','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','object','_compressed','setConfig','dispatch','perMessageDeflate','The\x20server\x20is\x20not\x20running','authorization','_closeMessage','noServer','Invalid\x20value\x20for\x20parameter\x20\x22','permessage-deflate','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','upgrade','onclose','host','_bufferedAmount','_opcode','_originalIpc','sha1','dataMessage','cork','_mask','writeUIntBE','replace','error','sec-websocket-accept','forEach','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','Max\x20payload\x20size\x20exceeded','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','__esModule','freeze','_binaryType','endEmitted','Invalid\x20URL:\x20','authorized','\x22:\x20','charCodeAt','socket','encrypted','buffers','verifyClient','collaboration-client-node.config','\x0d\x0a\x0d\x0a','wss:','type','zlibDeflateOptions','prototype','finished','rsv1','sec-websocket-origin','_closeCode','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','serverNoContextTakeover','Blob','isValidUTF8','The\x20URL\x27s\x20protocol\x20must\x20be\x20one\x20of\x20\x22ws:\x22,\x20\x22wss:\x22,\x20\x22http:\x22,\x20\x22https:\x22,\x20or\x20\x22ws+unix:\x22','930021JBrkOO','listening','28690706zjWOtL','pong','kReason','ws+unix:','invalid\x20UTF-8\x20sequence','writeUInt16BE','createConnection','_fragments','Upgrade','_loop','Sec-WebSocket-Extensions:\x20','MASK\x20must\x20be\x20set','allowSynchronousEvents','listenerCount','size','threshold','emit','arrayBuffer','onerror','ws:','Invalid\x20WebSocket\x20frame:\x20','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','unexpected-response','isServer','default','36FWzHcJ','_max_window_bits','Invalid\x20Upgrade\x20header','client_max_window_bits','skipUTF8Validation','18OQcKjK','cookie','Unexpected\x20character\x20at\x20index\x20','Origin','statusCode','_fin','server','concat','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','origin','_errored','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','allocUnsafe','WebSocket','code','next','sec-websocket-extensions','alloc','\x22\x20subprotocol\x20is\x20duplicated','apply','drain','delete','_extensions','defaultPort','stream','CLOSING','timeout','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','Parameter\x20\x22','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','update','kWasClean','digest','kIsForOnEventAttribute','_removeListeners','1202085xcGZBR','resume','hostname','hash','CLOSED','completeUpgrade','Maximum\x20redirects\x20exceeded','species','_server','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','add','_protocol','unshift','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','Z_SYNC_FLUSH','Unexpected\x20end\x20of\x20input','removeAllListeners','decompress','The\x20URL\x20contains\x20a\x20fragment\x20identifier','construct','from','address','cleanup','reset','status-code','getMask','\x22\x20must\x20have\x20only\x20a\x20single\x20value','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','_maskBuffer','acceptAsServer','map','isView','normalizeParams','find','WS_NO_UTF_8_VALIDATE','length','flush','slice','handleProtocols','handleUpgrade','setNoDelay','pause','_sender','server_max_window_bits','call','_firstFragment','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','open','socketPath','_errorEmitted','Invalid\x20HTTP\x20method','terminate','auth','pow','destroyed','_isServer','_injector','clientNoContextTakeover','message','base64','websocket','entries','wasClean','sec-websocket-version','WS_ERR_UNEXPECTED_RSV_2_3','indexOf','clientTracking','Cookie','url','1470256XCOkNN','https:','FIN\x20must\x20be\x20set','isBuffer','number','_allowSynchronousEvents','location','ping','RSV1\x20must\x20be\x20clear','parse','shift','_paused','protocolVersion','getData','createError','client','_receiver','_payloadLength','redirect','text/html','options','clients','function','extensionName','handshakeTimeout','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','_req','pathname','_originalHostOrSocketPath','dequeue','_closeFrameSent','WS_ERR_UNEXPECTED_RSV_1','OPEN','mask','The\x20\x22','_buffers','96HNejMB','CONNECTING','once','isArray','_write','invalid\x20opcode\x200','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','finishRequest','compress','_readableState','_maxPayload','kAborted','arraybuffer','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','connect','_redirects','_originalSecure','fin','catch','has','setHeader','followRedirects','params','maxPayload','Basic\x20','toLowerCase','target','password','writeHead','File','_no_context_takeover','total-length','split','string','Unknown\x20parameter\x20\x22','sec-websocket-protocol','reason','_masked','kRun','listen','HTTP/1.1\x20','Invalid\x20Sec-WebSocket-Extensions\x20header','read','Unsupported\x20protocol\x20version:\x20','_final','pluginName','Sec-WebSocket-Accept:\x20','_skipUTF8Validation','setSocket','removeEventListener','_autoPong','unmask','http:','jobs','destroy','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','getInfo','kTarget','format','isIP','_decompress','close','captureStackTrace','port','addEventListener','create','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','_fragmented','sendFrame','abort','MASK\x20must\x20be\x20clear','Module','includes','defineProperty','_totalPayloadLength','end','WS_ERR_INVALID_UTF8','controlMessage','_queue','value','method','binaryType','offer','errorEmitted','frame','getBlobData','finish','text/plain','emitClose','getPayloadLength64','send','STATUS_CODES','clientMaxWindowBits','response','getOwnPropertyDescriptor','10XkTgSJ','client_no_context_takeover','readOnly','isPaused','buffer','Sec-WebSocket-Extensions','_registerDependencies','keys','setTimeout','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','_readyState','kByteLength','haveLength','_socket','HTTP/1.1\x20101\x20Switching\x20Protocols','1436648DGHBWn','bind','customHeaders','toStringTag','_shouldEmitClose','_closeFrameReceived','_configService','pending','push','servername','callback','_messageLength','enqueue','pipe','WS_ERR_EXPECTED_FIN','join','readUInt32BE','acceptAsClient','conclude','_generateMask','createServer','removeListener','opcode','isInteger','handleEvent','warn','_options','Sec-WebSocket-Protocol:\x20','data','objectMode','extensions','_deflate','needDrain','username','consume','onopen','write','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','exports','_compress','accept','test','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','serverMaxWindowBits','\x20(supported\x20versions:\x20','82294upCWEK','_httpService','byteLength','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','connection','listeners','WS_ERR_INVALID_OPCODE','readUInt16BE','nodebuffer','readyState','createDeflateRaw','_closeTimer','_bufferedBytes','Z_DEFAULT_WINDOWBITS','invalid\x20opcode\x20','toString','WS_ERR_INVALID_CLOSE_CODE','Sec-WebSocket-Protocol','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','headers','byteOffset','request','server_no_context_takeover','set','kListener','_threshold','startLoop','_inflate','constructor','kData','backlog','path','kError','generateMask','wsClientError','concurrency','_state','env','get','writable','nextTick'];_0x3b46=function(){return _0x2dc464;};return _0x3b46();}function ut(_0x399854){const _0x25725b=_0x4a8798;if(Object['prototype']['hasOwnProperty'][_0x25725b(0x184)](_0x399854,_0x25725b(0xfa)))return _0x399854;var _0x127bb3=_0x399854['default'];if(typeof _0x127bb3==_0x25725b(0x1b3)){var _0x2df57f=function _0x54cf30(){const _0x11b622=_0x25725b;var _0x58b4d3=!0x1;try{_0x58b4d3=this instanceof _0x54cf30;}catch{}return _0x58b4d3?Reflect[_0x11b622(0x16b)](_0x127bb3,arguments,this[_0x11b622(0xc7)]):_0x127bb3[_0x11b622(0x148)](this,arguments);};_0x2df57f['prototype']=_0x127bb3[_0x25725b(0x10b)];}else _0x2df57f={};return Object[_0x25725b(0x20a)](_0x2df57f,'__esModule',{'value':!0x0}),Object['keys'](_0x399854)[_0x25725b(0xf6)](function(_0x83ba02){const _0x4099db=_0x25725b;var _0x3e92e6=Object['getOwnPropertyDescriptor'](_0x399854,_0x83ba02);Object['defineProperty'](_0x2df57f,_0x83ba02,_0x3e92e6[_0x4099db(0xd1)]?_0x3e92e6:{'enumerable':!0x0,'get':function(){return _0x399854[_0x83ba02];}});}),_0x2df57f;}var te={'exports':{}},ge,Ye;function V(){const _0x4faf4f=_0x4a8798;if(Ye)return ge;Ye=0x1;const _0x416885=[_0x4faf4f(0xb3),_0x4faf4f(0x1cd),'fragments'],_0x5b3411=typeof Blob<'u';return _0x5b3411&&_0x416885['push']('blob'),ge={'BINARY_TYPES':_0x416885,'EMPTY_BUFFER':Buffer[_0x4faf4f(0x146)](0x0),'GUID':_0x4faf4f(0x1ce),'hasBlob':_0x5b3411,'kForOnEventAttribute':Symbol(_0x4faf4f(0x156)),'kListener':Symbol(_0x4faf4f(0xc3)),'kStatusCode':Symbol(_0x4faf4f(0x170)),'kWebSocket':Symbol(_0x4faf4f(0x194)),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0x4a8798(0xfb)](Object[_0x4a8798(0x20a)]({'__proto__':null,'default':jt},Symbol['toStringTag'],{'value':'Module'})),Vt=ut(Gt);var Ke;function ce(){const _0x2169b0=_0x4a8798;if(Ke)return te[_0x2169b0(0xa4)];Ke=0x1;const {EMPTY_BUFFER:_0x469e54}=V(),_0x38cdae=Buffer[Symbol[_0x2169b0(0x15f)]];function _0x4542dc(_0x2ad2fa,_0x390c87){const _0x5b9311=_0x2169b0;if(_0x2ad2fa[_0x5b9311(0x17b)]===0x0)return _0x469e54;if(_0x2ad2fa[_0x5b9311(0x17b)]===0x1)return _0x2ad2fa[0x0];const _0x4119a1=Buffer[_0x5b9311(0x141)](_0x390c87);let _0x48e2c8=0x0;for(let _0x59adfb=0x0;_0x59adfb<_0x2ad2fa[_0x5b9311(0x17b)];_0x59adfb++){const _0x25723e=_0x2ad2fa[_0x59adfb];_0x4119a1[_0x5b9311(0xc2)](_0x25723e,_0x48e2c8),_0x48e2c8+=_0x25723e[_0x5b9311(0x17b)];}return _0x48e2c8<_0x390c87?new _0x38cdae(_0x4119a1[_0x5b9311(0x224)],_0x4119a1[_0x5b9311(0xbf)],_0x48e2c8):_0x4119a1;}function _0xb9765c(_0x15e871,_0x2cd376,_0x10037d,_0x5d9e8e,_0x16b4a0){for(let _0x3e4b66=0x0;_0x3e4b66<_0x16b4a0;_0x3e4b66++)_0x10037d[_0x5d9e8e+_0x3e4b66]=_0x15e871[_0x3e4b66]^_0x2cd376[_0x3e4b66&0x3];}function _0x164d1b(_0x496e02,_0xdef146){const _0x21cbdd=_0x2169b0;for(let _0x40571d=0x0;_0x40571d<_0x496e02[_0x21cbdd(0x17b)];_0x40571d++)_0x496e02[_0x40571d]^=_0xdef146[_0x40571d&0x3];}function _0x4ba164(_0x1b2f40){const _0x169508=_0x2169b0;return _0x1b2f40[_0x169508(0x17b)]===_0x1b2f40['buffer'][_0x169508(0xad)]?_0x1b2f40['buffer']:_0x1b2f40[_0x169508(0x224)][_0x169508(0x17d)](_0x1b2f40[_0x169508(0xbf)],_0x1b2f40[_0x169508(0xbf)]+_0x1b2f40['length']);}function _0x236d08(_0x26a5c8){const _0x4ca387=_0x2169b0;if(_0x236d08[_0x4ca387(0x222)]=!0x0,Buffer[_0x4ca387(0x1a0)](_0x26a5c8))return _0x26a5c8;let _0x3ce4ad;return _0x26a5c8 instanceof ArrayBuffer?_0x3ce4ad=new _0x38cdae(_0x26a5c8):ArrayBuffer[_0x4ca387(0x177)](_0x26a5c8)?_0x3ce4ad=new _0x38cdae(_0x26a5c8[_0x4ca387(0x224)],_0x26a5c8['byteOffset'],_0x26a5c8['byteLength']):(_0x3ce4ad=Buffer[_0x4ca387(0x16c)](_0x26a5c8),_0x236d08[_0x4ca387(0x222)]=!0x1),_0x3ce4ad;}if(te[_0x2169b0(0xa4)]={'concat':_0x4542dc,'mask':_0xb9765c,'toArrayBuffer':_0x4ba164,'toBuffer':_0x236d08,'unmask':_0x164d1b},!process['env']['WS_NO_BUFFER_UTIL'])try{const _0x5e5de5=Vt;te['exports']['mask']=function(_0x24327a,_0x1ea8a2,_0xfd72e5,_0x15cceb,_0x181aa8){const _0x2037d2=_0x2169b0;_0x181aa8<0x30?_0xb9765c(_0x24327a,_0x1ea8a2,_0xfd72e5,_0x15cceb,_0x181aa8):_0x5e5de5[_0x2037d2(0x1be)](_0x24327a,_0x1ea8a2,_0xfd72e5,_0x15cceb,_0x181aa8);},te[_0x2169b0(0xa4)][_0x2169b0(0x1f4)]=function(_0x3de1c4,_0x5599ac){const _0x274d61=_0x2169b0;_0x3de1c4[_0x274d61(0x17b)]<0x20?_0x164d1b(_0x3de1c4,_0x5599ac):_0x5e5de5[_0x274d61(0x1f4)](_0x3de1c4,_0x5599ac);};}catch{}return te[_0x2169b0(0xa4)];}var ye,Xe;function qt(){const _0x36099f=_0x4a8798;if(Xe)return ye;Xe=0x1;const _0x5d1bf1=Symbol('kDone'),_0x826e42=Symbol(_0x36099f(0x1e7));class _0x104284{constructor(_0x28f0f6){const _0x2b1b24=_0x36099f;this[_0x5d1bf1]=()=>{const _0x50817c=_0x2c80;this[_0x50817c(0x237)]--,this[_0x826e42]();},this[_0x2b1b24(0xce)]=_0x28f0f6||0x1/0x0,this[_0x2b1b24(0x1f6)]=[],this[_0x2b1b24(0x237)]=0x0;}[_0x36099f(0x162)](_0x4d3079){const _0x2873fc=_0x36099f;this[_0x2873fc(0x1f6)]['push'](_0x4d3079),this[_0x826e42]();}[_0x826e42](){const _0x568892=_0x36099f;if(this[_0x568892(0x237)]!==this['concurrency']&&this[_0x568892(0x1f6)]['length']){const _0x1a8534=this['jobs'][_0x568892(0x1a7)]();this[_0x568892(0x237)]++,_0x1a8534(this[_0x5d1bf1]);}}}return ye=_0x104284,ye;}var ve,Ze;function he(){const _0x58932b=_0x4a8798;if(Ze)return ve;Ze=0x1;const _0x5255b8=_0x202920,_0x41c229=ce(),_0xfa2044=qt(),{kStatusCode:_0xa8fcc0}=V(),_0x1ec74c=Buffer[Symbol[_0x58932b(0x15f)]],_0x3b01da=Buffer['from']([0x0,0x0,0xff,0xff]),_0x2a512b=Symbol(_0x58932b(0xe6)),_0xcdd015=Symbol(_0x58932b(0x1e0)),_0x186a5f=Symbol(_0x58932b(0x23a)),_0x17b2ad=Symbol(_0x58932b(0x104)),_0xcc218b=Symbol(_0x58932b(0xf4));let _0x3edb75;class _0x487ac0{constructor(_0x674e8f,_0x296042,_0xa5b367){const _0x147e1c=_0x58932b;if(this[_0x147e1c(0x1cb)]=_0xa5b367|0x0,this[_0x147e1c(0x98)]=_0x674e8f||{},this['_threshold']=this[_0x147e1c(0x98)][_0x147e1c(0x126)]!==void 0x0?this['_options'][_0x147e1c(0x126)]:0x400,this[_0x147e1c(0x18f)]=!!_0x296042,this[_0x147e1c(0x9d)]=null,this[_0x147e1c(0xc6)]=null,this[_0x147e1c(0x1d7)]=null,!_0x3edb75){const _0x5035fb=this[_0x147e1c(0x98)]['concurrencyLimit']!==void 0x0?this[_0x147e1c(0x98)]['concurrencyLimit']:0xa;_0x3edb75=new _0xfa2044(_0x5035fb);}}static get[_0x58932b(0x1b4)](){const _0x522540=_0x58932b;return _0x522540(0xe6);}[_0x58932b(0x213)](){const _0x5de5a5=_0x58932b,_0x5ab504={};return this[_0x5de5a5(0x98)][_0x5de5a5(0x111)]&&(_0x5ab504[_0x5de5a5(0xc1)]=!0x0),this[_0x5de5a5(0x98)][_0x5de5a5(0x191)]&&(_0x5ab504['client_no_context_takeover']=!0x0),this[_0x5de5a5(0x98)][_0x5de5a5(0xa9)]&&(_0x5ab504['server_max_window_bits']=this[_0x5de5a5(0x98)][_0x5de5a5(0xa9)]),this['_options'][_0x5de5a5(0x21d)]?_0x5ab504[_0x5de5a5(0x133)]=this[_0x5de5a5(0x98)][_0x5de5a5(0x21d)]:this[_0x5de5a5(0x98)]['clientMaxWindowBits']==null&&(_0x5ab504[_0x5de5a5(0x133)]=!0x0),_0x5ab504;}[_0x58932b(0xa6)](_0x118995){const _0x1bb492=_0x58932b;return _0x118995=this[_0x1bb492(0x178)](_0x118995),this[_0x1bb492(0x1d7)]=this[_0x1bb492(0x18f)]?this[_0x1bb492(0x175)](_0x118995):this[_0x1bb492(0x241)](_0x118995),this[_0x1bb492(0x1d7)];}[_0x58932b(0x16e)](){const _0x53713c=_0x58932b;if(this['_inflate']&&(this[_0x53713c(0xc6)]['close'](),this['_inflate']=null),this[_0x53713c(0x9d)]){const _0x115572=this[_0x53713c(0x9d)][_0x186a5f];this[_0x53713c(0x9d)][_0x53713c(0x1fe)](),this['_deflate']=null,_0x115572&&_0x115572(new Error(_0x53713c(0x1c7)));}}['acceptAsServer'](_0x5af9f0){const _0x28c3b3=_0x58932b,_0x2441ba=this['_options'],_0x49d3d3=_0x5af9f0[_0x28c3b3(0x179)](_0x5815ef=>!(_0x2441ba[_0x28c3b3(0x111)]===!0x1&&_0x5815ef[_0x28c3b3(0xc1)]||_0x5815ef['server_max_window_bits']&&(_0x2441ba[_0x28c3b3(0xa9)]===!0x1||typeof _0x2441ba[_0x28c3b3(0xa9)]==_0x28c3b3(0x1a1)&&_0x2441ba['serverMaxWindowBits']>_0x5815ef[_0x28c3b3(0x183)])||typeof _0x2441ba[_0x28c3b3(0x21d)]==_0x28c3b3(0x1a1)&&!_0x5815ef[_0x28c3b3(0x133)]));if(!_0x49d3d3)throw new Error(_0x28c3b3(0xa8));return _0x2441ba[_0x28c3b3(0x111)]&&(_0x49d3d3[_0x28c3b3(0xc1)]=!0x0),_0x2441ba[_0x28c3b3(0x191)]&&(_0x49d3d3[_0x28c3b3(0x221)]=!0x0),typeof _0x2441ba['serverMaxWindowBits']==_0x28c3b3(0x1a1)&&(_0x49d3d3[_0x28c3b3(0x183)]=_0x2441ba[_0x28c3b3(0xa9)]),typeof _0x2441ba[_0x28c3b3(0x21d)]==_0x28c3b3(0x1a1)?_0x49d3d3[_0x28c3b3(0x133)]=_0x2441ba[_0x28c3b3(0x21d)]:(_0x49d3d3[_0x28c3b3(0x133)]===!0x0||_0x2441ba[_0x28c3b3(0x21d)]===!0x1)&&delete _0x49d3d3['client_max_window_bits'],_0x49d3d3;}[_0x58932b(0x241)](_0x18c4c1){const _0x49500f=_0x58932b,_0x59a626=_0x18c4c1[0x0];if(this['_options'][_0x49500f(0x191)]===!0x1&&_0x59a626['client_no_context_takeover'])throw new Error(_0x49500f(0xf9));if(!_0x59a626[_0x49500f(0x133)])typeof this[_0x49500f(0x98)][_0x49500f(0x21d)]=='number'&&(_0x59a626[_0x49500f(0x133)]=this[_0x49500f(0x98)][_0x49500f(0x21d)]);else{if(this[_0x49500f(0x98)][_0x49500f(0x21d)]===!0x1||typeof this[_0x49500f(0x98)][_0x49500f(0x21d)]==_0x49500f(0x1a1)&&_0x59a626[_0x49500f(0x133)]>this['_options'][_0x49500f(0x21d)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x59a626;}[_0x58932b(0x178)](_0x1a449b){const _0x536873=_0x58932b;return _0x1a449b[_0x536873(0xf6)](_0x34c657=>{const _0x4b315f=_0x536873;Object[_0x4b315f(0x227)](_0x34c657)[_0x4b315f(0xf6)](_0x39c68f=>{const _0x26f9a8=_0x4b315f;let _0x567aac=_0x34c657[_0x39c68f];if(_0x567aac[_0x26f9a8(0x17b)]>0x1)throw new Error(_0x26f9a8(0x151)+_0x39c68f+_0x26f9a8(0x172));if(_0x567aac=_0x567aac[0x0],_0x39c68f==='client_max_window_bits'){if(_0x567aac!==!0x0){const _0x103772=+_0x567aac;if(!Number[_0x26f9a8(0x95)](_0x103772)||_0x103772<0x8||_0x103772>0xf)throw new TypeError(_0x26f9a8(0xe5)+_0x39c68f+_0x26f9a8(0x100)+_0x567aac);_0x567aac=_0x103772;}else{if(!this[_0x26f9a8(0x18f)])throw new TypeError(_0x26f9a8(0xe5)+_0x39c68f+_0x26f9a8(0x100)+_0x567aac);}}else{if(_0x39c68f===_0x26f9a8(0x183)){const _0x162f99=+_0x567aac;if(!Number[_0x26f9a8(0x95)](_0x162f99)||_0x162f99<0x8||_0x162f99>0xf)throw new TypeError(_0x26f9a8(0xe5)+_0x39c68f+_0x26f9a8(0x100)+_0x567aac);_0x567aac=_0x162f99;}else{if(_0x39c68f==='client_no_context_takeover'||_0x39c68f===_0x26f9a8(0xc1)){if(_0x567aac!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x39c68f+_0x26f9a8(0x100)+_0x567aac);}else throw new Error(_0x26f9a8(0x1e3)+_0x39c68f+'\x22');}}_0x34c657[_0x39c68f]=_0x567aac;});}),_0x1a449b;}[_0x58932b(0x169)](_0x2e810a,_0x1a6749,_0x364d29){const _0x1e766b=_0x58932b;_0x3edb75[_0x1e766b(0x162)](_0x52d4f9=>{const _0x2b801b=_0x1e766b;this[_0x2b801b(0x1fd)](_0x2e810a,_0x1a6749,(_0x493246,_0x40e3fa)=>{_0x52d4f9(),_0x364d29(_0x493246,_0x40e3fa);});});}['compress'](_0x2f7049,_0x5a63ab,_0x5c6215){const _0x546e88=_0x58932b;_0x3edb75[_0x546e88(0x162)](_0xe8e80c=>{const _0x3b4e3d=_0x546e88;this[_0x3b4e3d(0xa5)](_0x2f7049,_0x5a63ab,(_0xadc59,_0x1f91a8)=>{_0xe8e80c(),_0x5c6215(_0xadc59,_0x1f91a8);});});}[_0x58932b(0x1fd)](_0x240498,_0x5a927b,_0x3d8b28){const _0x176365=_0x58932b,_0x32675e=this[_0x176365(0x18f)]?_0x176365(0x1ac):_0x176365(0x13b);if(!this['_inflate']){const _0x43847f=_0x32675e+_0x176365(0x131),_0x325875=typeof this['params'][_0x43847f]!=_0x176365(0x1a1)?_0x5255b8[_0x176365(0xb8)]:this['params'][_0x43847f];this[_0x176365(0xc6)]=_0x5255b8['createInflateRaw']({...this['_options']['zlibInflateOptions'],'windowBits':_0x325875}),this[_0x176365(0xc6)][_0x2a512b]=this,this[_0x176365(0xc6)][_0xcdd015]=0x0,this['_inflate'][_0x17b2ad]=[],this[_0x176365(0xc6)]['on']('error',_0x357df3),this[_0x176365(0xc6)]['on'](_0x176365(0x9a),_0x10580e);}this['_inflate'][_0x186a5f]=_0x3d8b28,this[_0x176365(0xc6)][_0x176365(0xa2)](_0x240498),_0x5a927b&&this['_inflate']['write'](_0x3b01da),this[_0x176365(0xc6)][_0x176365(0x17c)](()=>{const _0x2b3214=_0x176365,_0x5c3aa0=this[_0x2b3214(0xc6)][_0xcc218b];if(_0x5c3aa0){this[_0x2b3214(0xc6)]['close'](),this[_0x2b3214(0xc6)]=null,_0x3d8b28(_0x5c3aa0);return;}const _0x1678bf=_0x41c229[_0x2b3214(0x13c)](this['_inflate'][_0x17b2ad],this['_inflate'][_0xcdd015]);this[_0x2b3214(0xc6)][_0x2b3214(0x1ca)][_0x2b3214(0xfd)]?(this[_0x2b3214(0xc6)][_0x2b3214(0x1fe)](),this[_0x2b3214(0xc6)]=null):(this['_inflate'][_0xcdd015]=0x0,this[_0x2b3214(0xc6)][_0x17b2ad]=[],_0x5a927b&&this[_0x2b3214(0x1d7)][_0x32675e+_0x2b3214(0x1df)]&&this[_0x2b3214(0xc6)][_0x2b3214(0x16f)]()),_0x3d8b28(null,_0x1678bf);});}[_0x58932b(0xa5)](_0x4a25c2,_0x15b6a4,_0x34172b){const _0x48056f=_0x58932b,_0x15ca8d=this[_0x48056f(0x18f)]?_0x48056f(0x13b):_0x48056f(0x1ac);if(!this[_0x48056f(0x9d)]){const _0x2cbbd8=_0x15ca8d+_0x48056f(0x131),_0x39d570=typeof this[_0x48056f(0x1d7)][_0x2cbbd8]!=_0x48056f(0x1a1)?_0x5255b8[_0x48056f(0xb8)]:this[_0x48056f(0x1d7)][_0x2cbbd8];this[_0x48056f(0x9d)]=_0x5255b8[_0x48056f(0xb5)]({...this[_0x48056f(0x98)][_0x48056f(0x10a)],'windowBits':_0x39d570}),this['_deflate'][_0xcdd015]=0x0,this['_deflate'][_0x17b2ad]=[],this[_0x48056f(0x9d)]['on']('data',_0x109c3e);}this[_0x48056f(0x9d)][_0x186a5f]=_0x34172b,this[_0x48056f(0x9d)][_0x48056f(0xa2)](_0x4a25c2),this['_deflate'][_0x48056f(0x17c)](_0x5255b8[_0x48056f(0x166)],()=>{const _0x2f6782=_0x48056f;if(!this['_deflate'])return;let _0x134210=_0x41c229[_0x2f6782(0x13c)](this['_deflate'][_0x17b2ad],this[_0x2f6782(0x9d)][_0xcdd015]);_0x15b6a4&&(_0x134210=new _0x1ec74c(_0x134210[_0x2f6782(0x224)],_0x134210[_0x2f6782(0xbf)],_0x134210[_0x2f6782(0x17b)]-0x4)),this[_0x2f6782(0x9d)][_0x186a5f]=null,this[_0x2f6782(0x9d)][_0xcdd015]=0x0,this[_0x2f6782(0x9d)][_0x17b2ad]=[],_0x15b6a4&&this[_0x2f6782(0x1d7)][_0x15ca8d+'_no_context_takeover']&&this['_deflate']['reset'](),_0x34172b(null,_0x134210);});}}ve=_0x487ac0;function _0x109c3e(_0x27ff5d){const _0x24e354=_0x58932b;this[_0x17b2ad][_0x24e354(0x238)](_0x27ff5d),this[_0xcdd015]+=_0x27ff5d[_0x24e354(0x17b)];}function _0x10580e(_0x3b6dde){const _0x54b9ee=_0x58932b;if(this[_0xcdd015]+=_0x3b6dde['length'],this[_0x2a512b][_0x54b9ee(0x1cb)]<0x1||this[_0xcdd015]<=this[_0x2a512b][_0x54b9ee(0x1cb)]){this[_0x17b2ad][_0x54b9ee(0x238)](_0x3b6dde);return;}this[_0xcc218b]=new RangeError(_0x54b9ee(0xf8)),this[_0xcc218b][_0x54b9ee(0x143)]=_0x54b9ee(0xa3),this[_0xcc218b][_0xa8fcc0]=0x3f1,this[_0x54b9ee(0x93)](_0x54b9ee(0x9a),_0x10580e),this[_0x54b9ee(0x16f)]();}function _0x357df3(_0x355899){if(this[_0x2a512b]['_inflate']=null,this[_0xcc218b]){this[_0x186a5f](this[_0xcc218b]);return;}_0x355899[_0xa8fcc0]=0x3ef,this[_0x186a5f](_0x355899);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x4a8798(0xfb)](Object[_0x4a8798(0x20a)]({'__proto__':null,'default':Ht},Symbol[_0x4a8798(0x233)],{'value':_0x4a8798(0x208)})),Yt=ut(zt);var Qe;function ne(){const _0x338bc5=_0x4a8798;if(Qe)return re[_0x338bc5(0xa4)];Qe=0x1;const {isUtf8:_0x519fb8}=_0x201063,{hasBlob:_0x51616a}=V(),_0x3cb4dc=[0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x1,0x1,0x1,0x1,0x1,0x0,0x0,0x1,0x1,0x0,0x1,0x1,0x0,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x0,0x0,0x0,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x0,0x1,0x0,0x1,0x0];function _0x2d299e(_0x37e0bc){return _0x37e0bc>=0x3e8&&_0x37e0bc<=0x3f6&&_0x37e0bc!==0x3ec&&_0x37e0bc!==0x3ed&&_0x37e0bc!==0x3ee||_0x37e0bc>=0xbb8&&_0x37e0bc<=0x1387;}function _0x4f696f(_0xa8df0a){const _0x1ff08e=_0x338bc5,_0x390930=_0xa8df0a[_0x1ff08e(0x17b)];let _0xb512bd=0x0;for(;_0xb512bd<_0x390930;)if((_0xa8df0a[_0xb512bd]&0x80)===0x0)_0xb512bd++;else{if((_0xa8df0a[_0xb512bd]&0xe0)===0xc0){if(_0xb512bd+0x1===_0x390930||(_0xa8df0a[_0xb512bd+0x1]&0xc0)!==0x80||(_0xa8df0a[_0xb512bd]&0xfe)===0xc0)return!0x1;_0xb512bd+=0x2;}else{if((_0xa8df0a[_0xb512bd]&0xf0)===0xe0){if(_0xb512bd+0x2>=_0x390930||(_0xa8df0a[_0xb512bd+0x1]&0xc0)!==0x80||(_0xa8df0a[_0xb512bd+0x2]&0xc0)!==0x80||_0xa8df0a[_0xb512bd]===0xe0&&(_0xa8df0a[_0xb512bd+0x1]&0xe0)===0x80||_0xa8df0a[_0xb512bd]===0xed&&(_0xa8df0a[_0xb512bd+0x1]&0xe0)===0xa0)return!0x1;_0xb512bd+=0x3;}else{if((_0xa8df0a[_0xb512bd]&0xf8)===0xf0){if(_0xb512bd+0x3>=_0x390930||(_0xa8df0a[_0xb512bd+0x1]&0xc0)!==0x80||(_0xa8df0a[_0xb512bd+0x2]&0xc0)!==0x80||(_0xa8df0a[_0xb512bd+0x3]&0xc0)!==0x80||_0xa8df0a[_0xb512bd]===0xf0&&(_0xa8df0a[_0xb512bd+0x1]&0xf0)===0x80||_0xa8df0a[_0xb512bd]===0xf4&&_0xa8df0a[_0xb512bd+0x1]>0x8f||_0xa8df0a[_0xb512bd]>0xf4)return!0x1;_0xb512bd+=0x4;}else return!0x1;}}}return!0x0;}function _0x559051(_0x5185f9){const _0xd6ddf1=_0x338bc5;return _0x51616a&&typeof _0x5185f9=='object'&&typeof _0x5185f9['arrayBuffer']=='function'&&typeof _0x5185f9[_0xd6ddf1(0x109)]=='string'&&typeof _0x5185f9[_0xd6ddf1(0x14d)]==_0xd6ddf1(0x1b3)&&(_0x5185f9[Symbol[_0xd6ddf1(0x233)]]===_0xd6ddf1(0x112)||_0x5185f9[Symbol[_0xd6ddf1(0x233)]]===_0xd6ddf1(0x1de));}if(re['exports']={'isBlob':_0x559051,'isValidStatusCode':_0x2d299e,'isValidUTF8':_0x4f696f,'tokenChars':_0x3cb4dc},_0x519fb8)re[_0x338bc5(0xa4)][_0x338bc5(0x113)]=function(_0x38c1f1){return _0x38c1f1['length']<0x18?_0x4f696f(_0x38c1f1):_0x519fb8(_0x38c1f1);};else{if(!process[_0x338bc5(0xd0)][_0x338bc5(0x17a)])try{const _0x41e7de=Yt;re[_0x338bc5(0xa4)]['isValidUTF8']=function(_0x4d4f62){const _0x1ecc81=_0x338bc5;return _0x4d4f62[_0x1ecc81(0x17b)]<0x20?_0x4f696f(_0x4d4f62):_0x41e7de(_0x4d4f62);};}catch{}}return re[_0x338bc5(0xa4)];}var Se,Je;function dt(){const _0x319094=_0x4a8798;if(Je)return Se;Je=0x1;const {Writable:_0x4a1cfe}=_0x48895b,_0x34c2dd=he(),{BINARY_TYPES:_0x1483b2,EMPTY_BUFFER:_0x27fb7a,kStatusCode:_0x4e53d6,kWebSocket:_0x3dfd9b}=V(),{concat:_0x4de0bb,toArrayBuffer:_0x150f83,unmask:_0x4d2931}=ce(),{isValidStatusCode:_0x2ed073,isValidUTF8:_0x47fec8}=ne(),_0x165f41=Buffer[Symbol[_0x319094(0x15f)]],_0x54a155=0x0,_0x2d1c10=0x1,_0x432e2a=0x2,_0x1ab8db=0x3,_0x26db80=0x4,_0x4383db=0x5,_0x53b3ec=0x6;class _0x49aa81 extends _0x4a1cfe{constructor(_0x454ab0={}){const _0x2bbb2b=_0x319094;super(),this[_0x2bbb2b(0x1a2)]=_0x454ab0[_0x2bbb2b(0x123)]!==void 0x0?_0x454ab0[_0x2bbb2b(0x123)]:!0x0,this[_0x2bbb2b(0xfc)]=_0x454ab0[_0x2bbb2b(0x212)]||_0x1483b2[0x0],this['_extensions']=_0x454ab0['extensions']||{},this['_isServer']=!!_0x454ab0[_0x2bbb2b(0x12e)],this[_0x2bbb2b(0x1cb)]=_0x454ab0[_0x2bbb2b(0x1d8)]|0x0,this[_0x2bbb2b(0x1f0)]=!!_0x454ab0[_0x2bbb2b(0x134)],this[_0x3dfd9b]=void 0x0,this['_bufferedBytes']=0x0,this[_0x2bbb2b(0x1c0)]=[],this[_0x2bbb2b(0xdd)]=!0x1,this[_0x2bbb2b(0x1ae)]=0x0,this[_0x2bbb2b(0xf1)]=void 0x0,this[_0x2bbb2b(0x204)]=0x0,this[_0x2bbb2b(0x1e6)]=!0x1,this[_0x2bbb2b(0x13a)]=!0x1,this[_0x2bbb2b(0xec)]=0x0,this['_totalPayloadLength']=0x0,this[_0x2bbb2b(0x23b)]=0x0,this[_0x2bbb2b(0x11e)]=[],this['_errored']=!0x1,this[_0x2bbb2b(0x120)]=!0x1,this[_0x2bbb2b(0xcf)]=_0x54a155;}[_0x319094(0x1c5)](_0x21d609,_0x3516d5,_0x10f4ef){const _0x319481=_0x319094;if(this['_opcode']===0x8&&this[_0x319481(0xcf)]==_0x54a155)return _0x10f4ef();this['_bufferedBytes']+=_0x21d609[_0x319481(0x17b)],this[_0x319481(0x1c0)][_0x319481(0x238)](_0x21d609),this[_0x319481(0xc5)](_0x10f4ef);}[_0x319094(0xa0)](_0x41f5e1){const _0x216bda=_0x319094;if(this['_bufferedBytes']-=_0x41f5e1,_0x41f5e1===this[_0x216bda(0x1c0)][0x0]['length'])return this[_0x216bda(0x1c0)]['shift']();if(_0x41f5e1<this[_0x216bda(0x1c0)][0x0][_0x216bda(0x17b)]){const _0x237f20=this['_buffers'][0x0];return this['_buffers'][0x0]=new _0x165f41(_0x237f20[_0x216bda(0x224)],_0x237f20[_0x216bda(0xbf)]+_0x41f5e1,_0x237f20[_0x216bda(0x17b)]-_0x41f5e1),new _0x165f41(_0x237f20[_0x216bda(0x224)],_0x237f20['byteOffset'],_0x41f5e1);}const _0xaa43b4=Buffer[_0x216bda(0x141)](_0x41f5e1);do{const _0x58d6d9=this[_0x216bda(0x1c0)][0x0],_0x1ed729=_0xaa43b4[_0x216bda(0x17b)]-_0x41f5e1;_0x41f5e1>=_0x58d6d9[_0x216bda(0x17b)]?_0xaa43b4[_0x216bda(0xc2)](this[_0x216bda(0x1c0)]['shift'](),_0x1ed729):(_0xaa43b4[_0x216bda(0xc2)](new Uint8Array(_0x58d6d9[_0x216bda(0x224)],_0x58d6d9[_0x216bda(0xbf)],_0x41f5e1),_0x1ed729),this[_0x216bda(0x1c0)][0x0]=new _0x165f41(_0x58d6d9[_0x216bda(0x224)],_0x58d6d9[_0x216bda(0xbf)]+_0x41f5e1,_0x58d6d9['length']-_0x41f5e1)),_0x41f5e1-=_0x58d6d9[_0x216bda(0x17b)];}while(_0x41f5e1>0x0);return _0xaa43b4;}[_0x319094(0xc5)](_0x59d17d){const _0x57e01e=_0x319094;this[_0x57e01e(0x120)]=!0x0;do switch(this[_0x57e01e(0xcf)]){case _0x54a155:this[_0x57e01e(0x1f9)](_0x59d17d);break;case _0x2d1c10:this['getPayloadLength16'](_0x59d17d);break;case _0x432e2a:this[_0x57e01e(0x21a)](_0x59d17d);break;case _0x1ab8db:this['getMask']();break;case _0x26db80:this['getData'](_0x59d17d);break;case _0x4383db:case _0x53b3ec:this[_0x57e01e(0x120)]=!0x1;return;}while(this[_0x57e01e(0x120)]);this[_0x57e01e(0x13f)]||_0x59d17d();}[_0x319094(0x1f9)](_0x3468d9){const _0x1ba4a9=_0x319094;if(this['_bufferedBytes']<0x2){this[_0x1ba4a9(0x120)]=!0x1;return;}const _0x8a0727=this[_0x1ba4a9(0xa0)](0x2);if((_0x8a0727[0x0]&0x30)!==0x0){const _0x17b9be=this[_0x1ba4a9(0x1ab)](RangeError,_0x1ba4a9(0x186),!0x0,0x3ea,_0x1ba4a9(0x198));_0x3468d9(_0x17b9be);return;}const _0x2a3f95=(_0x8a0727[0x0]&0x40)===0x40;if(_0x2a3f95&&!this[_0x1ba4a9(0x14b)][_0x34c2dd[_0x1ba4a9(0x1b4)]]){const _0x2ca7db=this[_0x1ba4a9(0x1ab)](RangeError,_0x1ba4a9(0x1a5),!0x0,0x3ea,_0x1ba4a9(0x1bc));_0x3468d9(_0x2ca7db);return;}if(this['_fin']=(_0x8a0727[0x0]&0x80)===0x80,this[_0x1ba4a9(0xec)]=_0x8a0727[0x0]&0xf,this[_0x1ba4a9(0x1ae)]=_0x8a0727[0x1]&0x7f,this[_0x1ba4a9(0xec)]===0x0){if(_0x2a3f95){const _0x2a1a97=this[_0x1ba4a9(0x1ab)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x1ba4a9(0x1bc));_0x3468d9(_0x2a1a97);return;}if(!this['_fragmented']){const _0x4eb2f9=this[_0x1ba4a9(0x1ab)](RangeError,_0x1ba4a9(0x1c6),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x3468d9(_0x4eb2f9);return;}this[_0x1ba4a9(0xec)]=this[_0x1ba4a9(0x204)];}else{if(this['_opcode']===0x1||this[_0x1ba4a9(0xec)]===0x2){if(this['_fragmented']){const _0x2f2170=this[_0x1ba4a9(0x1ab)](RangeError,_0x1ba4a9(0xb9)+this['_opcode'],!0x0,0x3ea,_0x1ba4a9(0xb1));_0x3468d9(_0x2f2170);return;}this[_0x1ba4a9(0xdd)]=_0x2a3f95;}else{if(this[_0x1ba4a9(0xec)]>0x7&&this[_0x1ba4a9(0xec)]<0xb){if(!this['_fin']){const _0x8384b3=this[_0x1ba4a9(0x1ab)](RangeError,_0x1ba4a9(0x19f),!0x0,0x3ea,_0x1ba4a9(0x23e));_0x3468d9(_0x8384b3);return;}if(_0x2a3f95){const _0x356135=this['createError'](RangeError,_0x1ba4a9(0x1a5),!0x0,0x3ea,_0x1ba4a9(0x1bc));_0x3468d9(_0x356135);return;}if(this[_0x1ba4a9(0x1ae)]>0x7d||this[_0x1ba4a9(0xec)]===0x8&&this['_payloadLength']===0x1){const _0x125431=this[_0x1ba4a9(0x1ab)](RangeError,'invalid\x20payload\x20length\x20'+this[_0x1ba4a9(0x1ae)],!0x0,0x3ea,_0x1ba4a9(0x165));_0x3468d9(_0x125431);return;}}else{const _0xd4126b=this[_0x1ba4a9(0x1ab)](RangeError,_0x1ba4a9(0xb9)+this[_0x1ba4a9(0xec)],!0x0,0x3ea,_0x1ba4a9(0xb1));_0x3468d9(_0xd4126b);return;}}}if(!this[_0x1ba4a9(0x13a)]&&!this[_0x1ba4a9(0x204)]&&(this[_0x1ba4a9(0x204)]=this[_0x1ba4a9(0xec)]),this[_0x1ba4a9(0x1e6)]=(_0x8a0727[0x1]&0x80)===0x80,this[_0x1ba4a9(0x18f)]){if(!this[_0x1ba4a9(0x1e6)]){const _0x4d52e3=this[_0x1ba4a9(0x1ab)](RangeError,_0x1ba4a9(0x122),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x3468d9(_0x4d52e3);return;}}else{if(this[_0x1ba4a9(0x1e6)]){const _0x261199=this['createError'](RangeError,_0x1ba4a9(0x207),!0x0,0x3ea,_0x1ba4a9(0xd7));_0x3468d9(_0x261199);return;}}this[_0x1ba4a9(0x1ae)]===0x7e?this[_0x1ba4a9(0xcf)]=_0x2d1c10:this[_0x1ba4a9(0x1ae)]===0x7f?this[_0x1ba4a9(0xcf)]=_0x432e2a:this[_0x1ba4a9(0x22d)](_0x3468d9);}['getPayloadLength16'](_0x28343a){const _0x5ae180=_0x319094;if(this[_0x5ae180(0xb7)]<0x2){this['_loop']=!0x1;return;}this[_0x5ae180(0x1ae)]=this[_0x5ae180(0xa0)](0x2)['readUInt16BE'](0x0),this[_0x5ae180(0x22d)](_0x28343a);}[_0x319094(0x21a)](_0x4f3f98){const _0x59a963=_0x319094;if(this[_0x59a963(0xb7)]<0x8){this[_0x59a963(0x120)]=!0x1;return;}const _0xa51e2a=this['consume'](0x8),_0x237451=_0xa51e2a[_0x59a963(0x240)](0x0);if(_0x237451>Math['pow'](0x2,0x15)-0x1){const _0xa03eaf=this[_0x59a963(0x1ab)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x59a963(0xe7));_0x4f3f98(_0xa03eaf);return;}this['_payloadLength']=_0x237451*Math[_0x59a963(0x18d)](0x2,0x20)+_0xa51e2a['readUInt32BE'](0x4),this['haveLength'](_0x4f3f98);}[_0x319094(0x22d)](_0xf6f1cd){const _0x35eed8=_0x319094;if(this['_payloadLength']&&this['_opcode']<0x8&&(this[_0x35eed8(0x20b)]+=this[_0x35eed8(0x1ae)],this[_0x35eed8(0x20b)]>this[_0x35eed8(0x1cb)]&&this['_maxPayload']>0x0)){const _0x4d3442=this[_0x35eed8(0x1ab)](RangeError,_0x35eed8(0xf8),!0x1,0x3f1,_0x35eed8(0xa3));_0xf6f1cd(_0x4d3442);return;}this[_0x35eed8(0x1e6)]?this[_0x35eed8(0xcf)]=_0x1ab8db:this[_0x35eed8(0xcf)]=_0x26db80;}[_0x319094(0x171)](){const _0xea99ba=_0x319094;if(this['_bufferedBytes']<0x4){this['_loop']=!0x1;return;}this['_mask']=this[_0xea99ba(0xa0)](0x4),this[_0xea99ba(0xcf)]=_0x26db80;}[_0x319094(0x1aa)](_0x44b4e3){const _0x355c6a=_0x319094;let _0x50406d=_0x27fb7a;if(this[_0x355c6a(0x1ae)]){if(this[_0x355c6a(0xb7)]<this['_payloadLength']){this[_0x355c6a(0x120)]=!0x1;return;}_0x50406d=this[_0x355c6a(0xa0)](this['_payloadLength']),this[_0x355c6a(0x1e6)]&&(this[_0x355c6a(0xf1)][0x0]|this[_0x355c6a(0xf1)][0x1]|this[_0x355c6a(0xf1)][0x2]|this[_0x355c6a(0xf1)][0x3])!==0x0&&_0x4d2931(_0x50406d,this[_0x355c6a(0xf1)]);}if(this['_opcode']>0x7){this[_0x355c6a(0x20e)](_0x50406d,_0x44b4e3);return;}if(this[_0x355c6a(0xdd)]){this[_0x355c6a(0xcf)]=_0x4383db,this[_0x355c6a(0x169)](_0x50406d,_0x44b4e3);return;}_0x50406d['length']&&(this[_0x355c6a(0x23b)]=this[_0x355c6a(0x20b)],this[_0x355c6a(0x11e)][_0x355c6a(0x238)](_0x50406d)),this[_0x355c6a(0xef)](_0x44b4e3);}[_0x319094(0x169)](_0x202c85,_0x5e8b41){const _0x48cc97=_0x319094;this[_0x48cc97(0x14b)][_0x34c2dd[_0x48cc97(0x1b4)]][_0x48cc97(0x169)](_0x202c85,this[_0x48cc97(0x13a)],(_0x68151c,_0x208ff0)=>{const _0x1cb2cd=_0x48cc97;if(_0x68151c)return _0x5e8b41(_0x68151c);if(_0x208ff0[_0x1cb2cd(0x17b)]){if(this[_0x1cb2cd(0x23b)]+=_0x208ff0['length'],this[_0x1cb2cd(0x23b)]>this['_maxPayload']&&this[_0x1cb2cd(0x1cb)]>0x0){const _0x15c8b6=this[_0x1cb2cd(0x1ab)](RangeError,_0x1cb2cd(0xf8),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x5e8b41(_0x15c8b6);return;}this['_fragments']['push'](_0x208ff0);}this[_0x1cb2cd(0xef)](_0x5e8b41),this[_0x1cb2cd(0xcf)]===_0x54a155&&this[_0x1cb2cd(0xc5)](_0x5e8b41);});}[_0x319094(0xef)](_0x566cbd){const _0x4a3d73=_0x319094;if(!this[_0x4a3d73(0x13a)]){this[_0x4a3d73(0xcf)]=_0x54a155;return;}const _0x6c9772=this['_messageLength'],_0x38bfb9=this['_fragments'];if(this[_0x4a3d73(0x20b)]=0x0,this[_0x4a3d73(0x23b)]=0x0,this[_0x4a3d73(0x204)]=0x0,this['_fragments']=[],this['_opcode']===0x2){let _0x4504ce;this[_0x4a3d73(0xfc)]===_0x4a3d73(0xb3)?_0x4504ce=_0x4de0bb(_0x38bfb9,_0x6c9772):this[_0x4a3d73(0xfc)]===_0x4a3d73(0x1cd)?_0x4504ce=_0x150f83(_0x4de0bb(_0x38bfb9,_0x6c9772)):this[_0x4a3d73(0xfc)]==='blob'?_0x4504ce=new Blob(_0x38bfb9):_0x4504ce=_0x38bfb9,this[_0x4a3d73(0x1a2)]?(this[_0x4a3d73(0x127)](_0x4a3d73(0x192),_0x4504ce,!0x0),this[_0x4a3d73(0xcf)]=_0x54a155):(this[_0x4a3d73(0xcf)]=_0x53b3ec,setImmediate(()=>{const _0x51114c=_0x4a3d73;this[_0x51114c(0x127)](_0x51114c(0x192),_0x4504ce,!0x0),this['_state']=_0x54a155,this['startLoop'](_0x566cbd);}));}else{const _0x37e411=_0x4de0bb(_0x38bfb9,_0x6c9772);if(!this[_0x4a3d73(0x1f0)]&&!_0x47fec8(_0x37e411)){const _0x369b45=this['createError'](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x4a3d73(0x20d));_0x566cbd(_0x369b45);return;}this['_state']===_0x4383db||this[_0x4a3d73(0x1a2)]?(this['emit'](_0x4a3d73(0x192),_0x37e411,!0x1),this[_0x4a3d73(0xcf)]=_0x54a155):(this[_0x4a3d73(0xcf)]=_0x53b3ec,setImmediate(()=>{const _0x510151=_0x4a3d73;this[_0x510151(0x127)](_0x510151(0x192),_0x37e411,!0x1),this['_state']=_0x54a155,this['startLoop'](_0x566cbd);}));}}[_0x319094(0x20e)](_0x25b4bf,_0x2a1040){const _0x180a75=_0x319094;if(this['_opcode']===0x8){if(_0x25b4bf['length']===0x0)this[_0x180a75(0x120)]=!0x1,this[_0x180a75(0x127)](_0x180a75(0x242),0x3ed,_0x27fb7a),this[_0x180a75(0x20c)]();else{const _0x1ed0c4=_0x25b4bf[_0x180a75(0xb2)](0x0);if(!_0x2ed073(_0x1ed0c4)){const _0x3f1f17=this[_0x180a75(0x1ab)](RangeError,'invalid\x20status\x20code\x20'+_0x1ed0c4,!0x0,0x3ea,_0x180a75(0xbb));_0x2a1040(_0x3f1f17);return;}const _0x3a2aa4=new _0x165f41(_0x25b4bf[_0x180a75(0x224)],_0x25b4bf[_0x180a75(0xbf)]+0x2,_0x25b4bf['length']-0x2);if(!this[_0x180a75(0x1f0)]&&!_0x47fec8(_0x3a2aa4)){const _0x1c7ce5=this[_0x180a75(0x1ab)](Error,_0x180a75(0x11b),!0x0,0x3ef,_0x180a75(0x20d));_0x2a1040(_0x1c7ce5);return;}this['_loop']=!0x1,this[_0x180a75(0x127)](_0x180a75(0x242),_0x1ed0c4,_0x3a2aa4),this[_0x180a75(0x20c)]();}this['_state']=_0x54a155;return;}this[_0x180a75(0x1a2)]?(this[_0x180a75(0x127)](this['_opcode']===0x9?_0x180a75(0x1a4):_0x180a75(0x118),_0x25b4bf),this['_state']=_0x54a155):(this[_0x180a75(0xcf)]=_0x53b3ec,setImmediate(()=>{const _0x2d95ea=_0x180a75;this[_0x2d95ea(0x127)](this[_0x2d95ea(0xec)]===0x9?_0x2d95ea(0x1a4):_0x2d95ea(0x118),_0x25b4bf),this['_state']=_0x54a155,this[_0x2d95ea(0xc5)](_0x2a1040);}));}[_0x319094(0x1ab)](_0xc36b72,_0x6ae52e,_0x2ca35c,_0x2d23ac,_0x1040c8){const _0x460261=_0x319094;this[_0x460261(0x120)]=!0x1,this['_errored']=!0x0;const _0x4e06ee=new _0xc36b72(_0x2ca35c?_0x460261(0x12b)+_0x6ae52e:_0x6ae52e);return Error[_0x460261(0x1ff)](_0x4e06ee,this[_0x460261(0x1ab)]),_0x4e06ee[_0x460261(0x143)]=_0x1040c8,_0x4e06ee[_0x4e53d6]=_0x2d23ac,_0x4e06ee;}}return Se=_0x49aa81,Se;}var Ee,et;function _t(){const _0x423c6b=_0x4a8798;if(et)return Ee;et=0x1;const {Duplex:_0x3341ac}=_0x48895b,{randomFillSync:_0xb04486}=_0x172c9a,_0x46e0be=he(),{EMPTY_BUFFER:_0x58fb1b,kWebSocket:_0x14d19c,NOOP:_0x38cb03}=V(),{isBlob:_0x5657cf,isValidStatusCode:_0xf1c2b1}=ne(),{mask:_0xd969aa,toBuffer:_0x40a916}=ce(),_0x4bd989=Symbol(_0x423c6b(0x22c)),_0x179208=Buffer[_0x423c6b(0x146)](0x4),_0x5d4ccc=0x8*0x400;let _0x5901b0,_0x35d1b8=_0x5d4ccc;const _0x1990c0=0x0,_0x86bd6e=0x1,_0x4291ca=0x2;class _0x3023e7{constructor(_0x4431d3,_0x196908,_0x2217e1){const _0x166f5f=_0x423c6b;this[_0x166f5f(0x14b)]=_0x196908||{},_0x2217e1&&(this[_0x166f5f(0x91)]=_0x2217e1,this['_maskBuffer']=Buffer[_0x166f5f(0x146)](0x4)),this[_0x166f5f(0x22e)]=_0x4431d3,this[_0x166f5f(0x185)]=!0x0,this['_compress']=!0x1,this['_bufferedBytes']=0x0,this[_0x166f5f(0x20f)]=[],this[_0x166f5f(0xcf)]=_0x1990c0,this[_0x166f5f(0x129)]=_0x38cb03,this[_0x14d19c]=void 0x0;}static['frame'](_0x5276d4,_0x71a70f){const _0x518440=_0x423c6b;let _0x1d5f18,_0x27bfa=!0x1,_0x5bf2f2=0x2,_0x5710ef=!0x1;_0x71a70f[_0x518440(0x1be)]&&(_0x1d5f18=_0x71a70f[_0x518440(0xd4)]||_0x179208,_0x71a70f['generateMask']?_0x71a70f[_0x518440(0xcc)](_0x1d5f18):(_0x35d1b8===_0x5d4ccc&&(_0x5901b0===void 0x0&&(_0x5901b0=Buffer[_0x518440(0x146)](_0x5d4ccc)),_0xb04486(_0x5901b0,0x0,_0x5d4ccc),_0x35d1b8=0x0),_0x1d5f18[0x0]=_0x5901b0[_0x35d1b8++],_0x1d5f18[0x1]=_0x5901b0[_0x35d1b8++],_0x1d5f18[0x2]=_0x5901b0[_0x35d1b8++],_0x1d5f18[0x3]=_0x5901b0[_0x35d1b8++]),_0x5710ef=(_0x1d5f18[0x0]|_0x1d5f18[0x1]|_0x1d5f18[0x2]|_0x1d5f18[0x3])===0x0,_0x5bf2f2=0x6);let _0x17538d;typeof _0x5276d4==_0x518440(0x1e2)?(!_0x71a70f[_0x518440(0x1be)]||_0x5710ef)&&_0x71a70f[_0x4bd989]!==void 0x0?_0x17538d=_0x71a70f[_0x4bd989]:(_0x5276d4=Buffer[_0x518440(0x16c)](_0x5276d4),_0x17538d=_0x5276d4[_0x518440(0x17b)]):(_0x17538d=_0x5276d4[_0x518440(0x17b)],_0x27bfa=_0x71a70f['mask']&&_0x71a70f[_0x518440(0x222)]&&!_0x5710ef);let _0x57af80=_0x17538d;_0x17538d>=0x10000?(_0x5bf2f2+=0x8,_0x57af80=0x7f):_0x17538d>0x7d&&(_0x5bf2f2+=0x2,_0x57af80=0x7e);const _0x1b35dd=Buffer[_0x518440(0x141)](_0x27bfa?_0x17538d+_0x5bf2f2:_0x5bf2f2);return _0x1b35dd[0x0]=_0x71a70f[_0x518440(0x1d2)]?_0x71a70f[_0x518440(0x94)]|0x80:_0x71a70f[_0x518440(0x94)],_0x71a70f[_0x518440(0x10d)]&&(_0x1b35dd[0x0]|=0x40),_0x1b35dd[0x1]=_0x57af80,_0x57af80===0x7e?_0x1b35dd[_0x518440(0x11c)](_0x17538d,0x2):_0x57af80===0x7f&&(_0x1b35dd[0x2]=_0x1b35dd[0x3]=0x0,_0x1b35dd[_0x518440(0xf2)](_0x17538d,0x4,0x6)),_0x71a70f[_0x518440(0x1be)]?(_0x1b35dd[0x1]|=0x80,_0x1b35dd[_0x5bf2f2-0x4]=_0x1d5f18[0x0],_0x1b35dd[_0x5bf2f2-0x3]=_0x1d5f18[0x1],_0x1b35dd[_0x5bf2f2-0x2]=_0x1d5f18[0x2],_0x1b35dd[_0x5bf2f2-0x1]=_0x1d5f18[0x3],_0x5710ef?[_0x1b35dd,_0x5276d4]:_0x27bfa?(_0xd969aa(_0x5276d4,_0x1d5f18,_0x1b35dd,_0x5bf2f2,_0x17538d),[_0x1b35dd]):(_0xd969aa(_0x5276d4,_0x1d5f18,_0x5276d4,0x0,_0x17538d),[_0x1b35dd,_0x5276d4])):[_0x1b35dd,_0x5276d4];}['close'](_0x38cb78,_0x48b832,_0x3afad9,_0x217bd8){const _0x52bfc7=_0x423c6b;let _0x2e6bcc;if(_0x38cb78===void 0x0)_0x2e6bcc=_0x58fb1b;else{if(typeof _0x38cb78!='number'||!_0xf1c2b1(_0x38cb78))throw new TypeError(_0x52bfc7(0x150));if(_0x48b832===void 0x0||!_0x48b832[_0x52bfc7(0x17b)])_0x2e6bcc=Buffer['allocUnsafe'](0x2),_0x2e6bcc['writeUInt16BE'](_0x38cb78,0x0);else{const _0x2b7994=Buffer[_0x52bfc7(0xad)](_0x48b832);if(_0x2b7994>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x2e6bcc=Buffer[_0x52bfc7(0x141)](0x2+_0x2b7994),_0x2e6bcc[_0x52bfc7(0x11c)](_0x38cb78,0x0),typeof _0x48b832==_0x52bfc7(0x1e2)?_0x2e6bcc[_0x52bfc7(0xa2)](_0x48b832,0x2):_0x2e6bcc[_0x52bfc7(0xc2)](_0x48b832,0x2);}}const _0x47b416={[_0x4bd989]:_0x2e6bcc[_0x52bfc7(0x17b)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x3afad9,'maskBuffer':this[_0x52bfc7(0x174)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x52bfc7(0xcf)]!==_0x1990c0?this['enqueue']([this[_0x52bfc7(0xdf)],_0x2e6bcc,!0x1,_0x47b416,_0x217bd8]):this[_0x52bfc7(0x205)](_0x3023e7[_0x52bfc7(0x215)](_0x2e6bcc,_0x47b416),_0x217bd8);}[_0x423c6b(0x1a4)](_0x5756c1,_0x3c8a97,_0x2b295e){const _0x43abf=_0x423c6b;let _0x403547,_0x4a8cd6;if(typeof _0x5756c1==_0x43abf(0x1e2)?(_0x403547=Buffer[_0x43abf(0xad)](_0x5756c1),_0x4a8cd6=!0x1):_0x5657cf(_0x5756c1)?(_0x403547=_0x5756c1[_0x43abf(0x125)],_0x4a8cd6=!0x1):(_0x5756c1=_0x40a916(_0x5756c1),_0x403547=_0x5756c1['length'],_0x4a8cd6=_0x40a916['readOnly']),_0x403547>0x7d)throw new RangeError(_0x43abf(0x161));const _0x4a4f7d={[_0x4bd989]:_0x403547,'fin':!0x0,'generateMask':this[_0x43abf(0x91)],'mask':_0x3c8a97,'maskBuffer':this[_0x43abf(0x174)],'opcode':0x9,'readOnly':_0x4a8cd6,'rsv1':!0x1};_0x5657cf(_0x5756c1)?this[_0x43abf(0xcf)]!==_0x1990c0?this[_0x43abf(0x23c)]([this[_0x43abf(0x216)],_0x5756c1,!0x1,_0x4a4f7d,_0x2b295e]):this[_0x43abf(0x216)](_0x5756c1,!0x1,_0x4a4f7d,_0x2b295e):this[_0x43abf(0xcf)]!==_0x1990c0?this[_0x43abf(0x23c)]([this[_0x43abf(0xdf)],_0x5756c1,!0x1,_0x4a4f7d,_0x2b295e]):this[_0x43abf(0x205)](_0x3023e7[_0x43abf(0x215)](_0x5756c1,_0x4a4f7d),_0x2b295e);}['pong'](_0x5a5006,_0x241082,_0x2150ef){const _0x116748=_0x423c6b;let _0x1044f1,_0x1da6aa;if(typeof _0x5a5006=='string'?(_0x1044f1=Buffer['byteLength'](_0x5a5006),_0x1da6aa=!0x1):_0x5657cf(_0x5a5006)?(_0x1044f1=_0x5a5006[_0x116748(0x125)],_0x1da6aa=!0x1):(_0x5a5006=_0x40a916(_0x5a5006),_0x1044f1=_0x5a5006[_0x116748(0x17b)],_0x1da6aa=_0x40a916[_0x116748(0x222)]),_0x1044f1>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x4d82c7={[_0x4bd989]:_0x1044f1,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x241082,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x1da6aa,'rsv1':!0x1};_0x5657cf(_0x5a5006)?this[_0x116748(0xcf)]!==_0x1990c0?this[_0x116748(0x23c)]([this[_0x116748(0x216)],_0x5a5006,!0x1,_0x4d82c7,_0x2150ef]):this[_0x116748(0x216)](_0x5a5006,!0x1,_0x4d82c7,_0x2150ef):this[_0x116748(0xcf)]!==_0x1990c0?this['enqueue']([this[_0x116748(0xdf)],_0x5a5006,!0x1,_0x4d82c7,_0x2150ef]):this['sendFrame'](_0x3023e7[_0x116748(0x215)](_0x5a5006,_0x4d82c7),_0x2150ef);}[_0x423c6b(0x21b)](_0x3764f3,_0x5ae9ae,_0x580803){const _0xfc5c2f=_0x423c6b,_0x3a8ba5=this['_extensions'][_0x46e0be['extensionName']];let _0x200b36=_0x5ae9ae['binary']?0x2:0x1,_0x10a38e=_0x5ae9ae[_0xfc5c2f(0x1c9)],_0x475274,_0x1250fe;typeof _0x3764f3=='string'?(_0x475274=Buffer[_0xfc5c2f(0xad)](_0x3764f3),_0x1250fe=!0x1):_0x5657cf(_0x3764f3)?(_0x475274=_0x3764f3[_0xfc5c2f(0x125)],_0x1250fe=!0x1):(_0x3764f3=_0x40a916(_0x3764f3),_0x475274=_0x3764f3['length'],_0x1250fe=_0x40a916['readOnly']),this['_firstFragment']?(this[_0xfc5c2f(0x185)]=!0x1,_0x10a38e&&_0x3a8ba5&&_0x3a8ba5[_0xfc5c2f(0x1d7)][_0x3a8ba5[_0xfc5c2f(0x18f)]?_0xfc5c2f(0xc1):_0xfc5c2f(0x221)]&&(_0x10a38e=_0x475274>=_0x3a8ba5[_0xfc5c2f(0xc4)]),this['_compress']=_0x10a38e):(_0x10a38e=!0x1,_0x200b36=0x0),_0x5ae9ae[_0xfc5c2f(0x1d2)]&&(this[_0xfc5c2f(0x185)]=!0x0);const _0x56357f={[_0x4bd989]:_0x475274,'fin':_0x5ae9ae[_0xfc5c2f(0x1d2)],'generateMask':this[_0xfc5c2f(0x91)],'mask':_0x5ae9ae['mask'],'maskBuffer':this[_0xfc5c2f(0x174)],'opcode':_0x200b36,'readOnly':_0x1250fe,'rsv1':_0x10a38e};_0x5657cf(_0x3764f3)?this[_0xfc5c2f(0xcf)]!==_0x1990c0?this[_0xfc5c2f(0x23c)]([this[_0xfc5c2f(0x216)],_0x3764f3,this[_0xfc5c2f(0xa5)],_0x56357f,_0x580803]):this[_0xfc5c2f(0x216)](_0x3764f3,this[_0xfc5c2f(0xa5)],_0x56357f,_0x580803):this['_state']!==_0x1990c0?this[_0xfc5c2f(0x23c)]([this[_0xfc5c2f(0xdf)],_0x3764f3,this[_0xfc5c2f(0xa5)],_0x56357f,_0x580803]):this['dispatch'](_0x3764f3,this['_compress'],_0x56357f,_0x580803);}[_0x423c6b(0x216)](_0x372901,_0x26823b,_0x7bbc17,_0x14b5ba){const _0x441262=_0x423c6b;this[_0x441262(0xb7)]+=_0x7bbc17[_0x4bd989],this[_0x441262(0xcf)]=_0x4291ca,_0x372901[_0x441262(0x128)]()['then'](_0x5dc1be=>{const _0x232ae2=_0x441262;if(this[_0x232ae2(0x22e)][_0x232ae2(0x18e)]){const _0x3cb493=new Error(_0x232ae2(0x110));process[_0x232ae2(0xd3)](_0x5bc2d7,this,_0x3cb493,_0x14b5ba);return;}this[_0x232ae2(0xb7)]-=_0x7bbc17[_0x4bd989];const _0x5036d6=_0x40a916(_0x5dc1be);_0x26823b?this[_0x232ae2(0xdf)](_0x5036d6,_0x26823b,_0x7bbc17,_0x14b5ba):(this[_0x232ae2(0xcf)]=_0x1990c0,this[_0x232ae2(0x205)](_0x3023e7[_0x232ae2(0x215)](_0x5036d6,_0x7bbc17),_0x14b5ba),this['dequeue']());})[_0x441262(0x1d3)](_0x31b608=>{const _0x54d87a=_0x441262;process[_0x54d87a(0xd3)](_0xcd082c,this,_0x31b608,_0x14b5ba);});}[_0x423c6b(0xdf)](_0x463c98,_0x1ee26a,_0x20f800,_0x100cb1){const _0x1f56f1=_0x423c6b;if(!_0x1ee26a){this[_0x1f56f1(0x205)](_0x3023e7[_0x1f56f1(0x215)](_0x463c98,_0x20f800),_0x100cb1);return;}const _0x15bb35=this[_0x1f56f1(0x14b)][_0x46e0be[_0x1f56f1(0x1b4)]];this[_0x1f56f1(0xb7)]+=_0x20f800[_0x4bd989],this[_0x1f56f1(0xcf)]=_0x86bd6e,_0x15bb35[_0x1f56f1(0x1c9)](_0x463c98,_0x20f800[_0x1f56f1(0x1d2)],(_0x5c43c6,_0x2247f4)=>{const _0x357324=_0x1f56f1;if(this[_0x357324(0x22e)][_0x357324(0x18e)]){const _0x5d03ef=new Error(_0x357324(0x22a));_0x5bc2d7(this,_0x5d03ef,_0x100cb1);return;}this[_0x357324(0xb7)]-=_0x20f800[_0x4bd989],this['_state']=_0x1990c0,_0x20f800['readOnly']=!0x1,this[_0x357324(0x205)](_0x3023e7['frame'](_0x2247f4,_0x20f800),_0x100cb1),this[_0x357324(0x1ba)]();});}[_0x423c6b(0x1ba)](){const _0x5e798d=_0x423c6b;for(;this[_0x5e798d(0xcf)]===_0x1990c0&&this[_0x5e798d(0x20f)]['length'];){const _0x5a0ad6=this['_queue'][_0x5e798d(0x1a7)]();this[_0x5e798d(0xb7)]-=_0x5a0ad6[0x3][_0x4bd989],Reflect[_0x5e798d(0x148)](_0x5a0ad6[0x0],this,_0x5a0ad6[_0x5e798d(0x17d)](0x1));}}[_0x423c6b(0x23c)](_0x12211f){const _0xc2a8db=_0x423c6b;this[_0xc2a8db(0xb7)]+=_0x12211f[0x3][_0x4bd989],this[_0xc2a8db(0x20f)][_0xc2a8db(0x238)](_0x12211f);}['sendFrame'](_0x4ad2cf,_0x1c67af){const _0x15736b=_0x423c6b;_0x4ad2cf[_0x15736b(0x17b)]===0x2?(this[_0x15736b(0x22e)][_0x15736b(0xf0)](),this[_0x15736b(0x22e)][_0x15736b(0xa2)](_0x4ad2cf[0x0]),this[_0x15736b(0x22e)]['write'](_0x4ad2cf[0x1],_0x1c67af),this['_socket']['uncork']()):this['_socket']['write'](_0x4ad2cf[0x0],_0x1c67af);}}Ee=_0x3023e7;function _0x5bc2d7(_0x44103c,_0x39bdb9,_0x3c1d00){const _0x597ad8=_0x423c6b;typeof _0x3c1d00==_0x597ad8(0x1b3)&&_0x3c1d00(_0x39bdb9);for(let _0xf7e2dc=0x0;_0xf7e2dc<_0x44103c[_0x597ad8(0x20f)][_0x597ad8(0x17b)];_0xf7e2dc++){const _0x14e18f=_0x44103c['_queue'][_0xf7e2dc],_0x3bd571=_0x14e18f[_0x14e18f[_0x597ad8(0x17b)]-0x1];typeof _0x3bd571==_0x597ad8(0x1b3)&&_0x3bd571(_0x39bdb9);}}function _0xcd082c(_0xbdb0e0,_0x255af2,_0x3d42dd){_0x5bc2d7(_0xbdb0e0,_0x255af2,_0x3d42dd),_0xbdb0e0['onerror'](_0x255af2);}return Ee;}var xe,tt;function Kt(){const _0x2950fc=_0x4a8798;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x54db25,kListener:_0x2801f0}=V(),_0x16be4b=Symbol('kCode'),_0x12bd03=Symbol(_0x2950fc(0xc8)),_0x223619=Symbol(_0x2950fc(0xcb)),_0x3c6aa5=Symbol('kMessage'),_0x6a22e2=Symbol(_0x2950fc(0x119)),_0x22adfd=Symbol(_0x2950fc(0x1fa)),_0xcf99a8=Symbol('kType'),_0x1436a3=Symbol(_0x2950fc(0x154));class _0x254d5d{constructor(_0xce90d9){this[_0x22adfd]=null,this[_0xcf99a8]=_0xce90d9;}get[_0x2950fc(0x1db)](){return this[_0x22adfd];}get[_0x2950fc(0x109)](){return this[_0xcf99a8];}}Object[_0x2950fc(0x20a)](_0x254d5d['prototype'],_0x2950fc(0x1db),{'enumerable':!0x0}),Object['defineProperty'](_0x254d5d[_0x2950fc(0x10b)],_0x2950fc(0x109),{'enumerable':!0x0});class _0x297cb6 extends _0x254d5d{constructor(_0x4584e0,_0x3bb473={}){const _0x243ef9=_0x2950fc;super(_0x4584e0),this[_0x16be4b]=_0x3bb473[_0x243ef9(0x143)]===void 0x0?0x0:_0x3bb473['code'],this[_0x6a22e2]=_0x3bb473[_0x243ef9(0x1e5)]===void 0x0?'':_0x3bb473['reason'],this[_0x1436a3]=_0x3bb473[_0x243ef9(0x196)]===void 0x0?!0x1:_0x3bb473[_0x243ef9(0x196)];}get['code'](){return this[_0x16be4b];}get['reason'](){return this[_0x6a22e2];}get['wasClean'](){return this[_0x1436a3];}}Object[_0x2950fc(0x20a)](_0x297cb6[_0x2950fc(0x10b)],_0x2950fc(0x143),{'enumerable':!0x0}),Object[_0x2950fc(0x20a)](_0x297cb6[_0x2950fc(0x10b)],_0x2950fc(0x1e5),{'enumerable':!0x0}),Object[_0x2950fc(0x20a)](_0x297cb6[_0x2950fc(0x10b)],_0x2950fc(0x196),{'enumerable':!0x0});class _0x4ee457 extends _0x254d5d{constructor(_0x309290,_0xa33de9={}){const _0x2161f7=_0x2950fc;super(_0x309290),this[_0x223619]=_0xa33de9['error']===void 0x0?null:_0xa33de9[_0x2161f7(0xf4)],this[_0x3c6aa5]=_0xa33de9[_0x2161f7(0x192)]===void 0x0?'':_0xa33de9[_0x2161f7(0x192)];}get[_0x2950fc(0xf4)](){return this[_0x223619];}get[_0x2950fc(0x192)](){return this[_0x3c6aa5];}}Object[_0x2950fc(0x20a)](_0x4ee457[_0x2950fc(0x10b)],_0x2950fc(0xf4),{'enumerable':!0x0}),Object[_0x2950fc(0x20a)](_0x4ee457[_0x2950fc(0x10b)],_0x2950fc(0x192),{'enumerable':!0x0});class _0x128192 extends _0x254d5d{constructor(_0x1ac847,_0x408bae={}){const _0x356f0c=_0x2950fc;super(_0x1ac847),this[_0x12bd03]=_0x408bae['data']===void 0x0?null:_0x408bae[_0x356f0c(0x9a)];}get[_0x2950fc(0x9a)](){return this[_0x12bd03];}}Object[_0x2950fc(0x20a)](_0x128192[_0x2950fc(0x10b)],_0x2950fc(0x9a),{'enumerable':!0x0}),xe={'CloseEvent':_0x297cb6,'ErrorEvent':_0x4ee457,'Event':_0x254d5d,'EventTarget':{'addEventListener'(_0x481ae4,_0x8e3b43,_0x1e2aad={}){const _0x2249de=_0x2950fc;for(const _0x1421e4 of this[_0x2249de(0xb0)](_0x481ae4))if(!_0x1e2aad[_0x54db25]&&_0x1421e4[_0x2801f0]===_0x8e3b43&&!_0x1421e4[_0x54db25])return;let _0x2d1612;if(_0x481ae4===_0x2249de(0x192))_0x2d1612=function(_0x338f40,_0x23dd91){const _0x4b1074=_0x2249de,_0x5398af=new _0x128192(_0x4b1074(0x192),{'data':_0x23dd91?_0x338f40:_0x338f40['toString']()});_0x5398af[_0x22adfd]=this,_0x211ea4(_0x8e3b43,this,_0x5398af);};else{if(_0x481ae4===_0x2249de(0x1fe))_0x2d1612=function(_0x39fbfc,_0x3954ab){const _0xd0cba5=_0x2249de,_0x177091=new _0x297cb6(_0xd0cba5(0x1fe),{'code':_0x39fbfc,'reason':_0x3954ab[_0xd0cba5(0xba)](),'wasClean':this[_0xd0cba5(0x235)]&&this[_0xd0cba5(0x1bb)]});_0x177091[_0x22adfd]=this,_0x211ea4(_0x8e3b43,this,_0x177091);};else{if(_0x481ae4===_0x2249de(0xf4))_0x2d1612=function(_0x4c1985){const _0x81366b=_0x2249de,_0x5f24c8=new _0x4ee457('error',{'error':_0x4c1985,'message':_0x4c1985[_0x81366b(0x192)]});_0x5f24c8[_0x22adfd]=this,_0x211ea4(_0x8e3b43,this,_0x5f24c8);};else{if(_0x481ae4==='open')_0x2d1612=function(){const _0x4f7851=_0x2249de,_0x3b629c=new _0x254d5d(_0x4f7851(0x187));_0x3b629c[_0x22adfd]=this,_0x211ea4(_0x8e3b43,this,_0x3b629c);};else return;}}}_0x2d1612[_0x54db25]=!!_0x1e2aad[_0x54db25],_0x2d1612[_0x2801f0]=_0x8e3b43,_0x1e2aad['once']?this[_0x2249de(0x1c3)](_0x481ae4,_0x2d1612):this['on'](_0x481ae4,_0x2d1612);},'removeEventListener'(_0x2f0382,_0x5c8935){const _0x5e3dae=_0x2950fc;for(const _0xa37b59 of this[_0x5e3dae(0xb0)](_0x2f0382))if(_0xa37b59[_0x2801f0]===_0x5c8935&&!_0xa37b59[_0x54db25]){this[_0x5e3dae(0x93)](_0x2f0382,_0xa37b59);break;}}},'MessageEvent':_0x128192};function _0x211ea4(_0x53cbc6,_0x3d01de,_0x1ad730){const _0x2728a2=_0x2950fc;typeof _0x53cbc6==_0x2728a2(0xdc)&&_0x53cbc6['handleEvent']?_0x53cbc6[_0x2728a2(0x96)][_0x2728a2(0x184)](_0x53cbc6,_0x1ad730):_0x53cbc6[_0x2728a2(0x184)](_0x3d01de,_0x1ad730);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x5698fb}=ne();function _0x5ac1ba(_0x39a4ef,_0x548890,_0x4fd774){_0x39a4ef[_0x548890]===void 0x0?_0x39a4ef[_0x548890]=[_0x4fd774]:_0x39a4ef[_0x548890]['push'](_0x4fd774);}function _0x473daf(_0xf62657){const _0x15a1ae=_0x2c80,_0x137a0d=Object[_0x15a1ae(0x202)](null);let _0x2c8179=Object[_0x15a1ae(0x202)](null),_0x11e7f4=!0x1,_0x3df6c2=!0x1,_0x49b5ec=!0x1,_0x174f05,_0x32c246,_0x50630a=-0x1,_0xe211e5=-0x1,_0x305db0=-0x1,_0x21a599=0x0;for(;_0x21a599<_0xf62657[_0x15a1ae(0x17b)];_0x21a599++)if(_0xe211e5=_0xf62657[_0x15a1ae(0x101)](_0x21a599),_0x174f05===void 0x0){if(_0x305db0===-0x1&&_0x5698fb[_0xe211e5]===0x1)_0x50630a===-0x1&&(_0x50630a=_0x21a599);else{if(_0x21a599!==0x0&&(_0xe211e5===0x20||_0xe211e5===0x9))_0x305db0===-0x1&&_0x50630a!==-0x1&&(_0x305db0=_0x21a599);else{if(_0xe211e5===0x3b||_0xe211e5===0x2c){if(_0x50630a===-0x1)throw new SyntaxError(_0x15a1ae(0x137)+_0x21a599);_0x305db0===-0x1&&(_0x305db0=_0x21a599);const _0x377805=_0xf62657['slice'](_0x50630a,_0x305db0);_0xe211e5===0x2c?(_0x5ac1ba(_0x137a0d,_0x377805,_0x2c8179),_0x2c8179=Object[_0x15a1ae(0x202)](null)):_0x174f05=_0x377805,_0x50630a=_0x305db0=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x21a599);}}}else{if(_0x32c246===void 0x0){if(_0x305db0===-0x1&&_0x5698fb[_0xe211e5]===0x1)_0x50630a===-0x1&&(_0x50630a=_0x21a599);else{if(_0xe211e5===0x20||_0xe211e5===0x9)_0x305db0===-0x1&&_0x50630a!==-0x1&&(_0x305db0=_0x21a599);else{if(_0xe211e5===0x3b||_0xe211e5===0x2c){if(_0x50630a===-0x1)throw new SyntaxError(_0x15a1ae(0x137)+_0x21a599);_0x305db0===-0x1&&(_0x305db0=_0x21a599),_0x5ac1ba(_0x2c8179,_0xf62657[_0x15a1ae(0x17d)](_0x50630a,_0x305db0),!0x0),_0xe211e5===0x2c&&(_0x5ac1ba(_0x137a0d,_0x174f05,_0x2c8179),_0x2c8179=Object[_0x15a1ae(0x202)](null),_0x174f05=void 0x0),_0x50630a=_0x305db0=-0x1;}else{if(_0xe211e5===0x3d&&_0x50630a!==-0x1&&_0x305db0===-0x1)_0x32c246=_0xf62657['slice'](_0x50630a,_0x21a599),_0x50630a=_0x305db0=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x21a599);}}}}else{if(_0x3df6c2){if(_0x5698fb[_0xe211e5]!==0x1)throw new SyntaxError(_0x15a1ae(0x137)+_0x21a599);_0x50630a===-0x1?_0x50630a=_0x21a599:_0x11e7f4||(_0x11e7f4=!0x0),_0x3df6c2=!0x1;}else{if(_0x49b5ec){if(_0x5698fb[_0xe211e5]===0x1)_0x50630a===-0x1&&(_0x50630a=_0x21a599);else{if(_0xe211e5===0x22&&_0x50630a!==-0x1)_0x49b5ec=!0x1,_0x305db0=_0x21a599;else{if(_0xe211e5===0x5c)_0x3df6c2=!0x0;else throw new SyntaxError(_0x15a1ae(0x137)+_0x21a599);}}}else{if(_0xe211e5===0x22&&_0xf62657[_0x15a1ae(0x101)](_0x21a599-0x1)===0x3d)_0x49b5ec=!0x0;else{if(_0x305db0===-0x1&&_0x5698fb[_0xe211e5]===0x1)_0x50630a===-0x1&&(_0x50630a=_0x21a599);else{if(_0x50630a!==-0x1&&(_0xe211e5===0x20||_0xe211e5===0x9))_0x305db0===-0x1&&(_0x305db0=_0x21a599);else{if(_0xe211e5===0x3b||_0xe211e5===0x2c){if(_0x50630a===-0x1)throw new SyntaxError(_0x15a1ae(0x137)+_0x21a599);_0x305db0===-0x1&&(_0x305db0=_0x21a599);let _0x3246b6=_0xf62657[_0x15a1ae(0x17d)](_0x50630a,_0x305db0);_0x11e7f4&&(_0x3246b6=_0x3246b6[_0x15a1ae(0xf3)](/\\/g,''),_0x11e7f4=!0x1),_0x5ac1ba(_0x2c8179,_0x32c246,_0x3246b6),_0xe211e5===0x2c&&(_0x5ac1ba(_0x137a0d,_0x174f05,_0x2c8179),_0x2c8179=Object['create'](null),_0x174f05=void 0x0),_0x32c246=void 0x0,_0x50630a=_0x305db0=-0x1;}else throw new SyntaxError(_0x15a1ae(0x137)+_0x21a599);}}}}}}}if(_0x50630a===-0x1||_0x49b5ec||_0xe211e5===0x20||_0xe211e5===0x9)throw new SyntaxError(_0x15a1ae(0x167));_0x305db0===-0x1&&(_0x305db0=_0x21a599);const _0xd8945e=_0xf62657[_0x15a1ae(0x17d)](_0x50630a,_0x305db0);return _0x174f05===void 0x0?_0x5ac1ba(_0x137a0d,_0xd8945e,_0x2c8179):(_0x32c246===void 0x0?_0x5ac1ba(_0x2c8179,_0xd8945e,!0x0):_0x11e7f4?_0x5ac1ba(_0x2c8179,_0x32c246,_0xd8945e[_0x15a1ae(0xf3)](/\\/g,'')):_0x5ac1ba(_0x2c8179,_0x32c246,_0xd8945e),_0x5ac1ba(_0x137a0d,_0x174f05,_0x2c8179)),_0x137a0d;}function _0x1ef22a(_0x8bf012){const _0xf5680b=_0x2c80;return Object[_0xf5680b(0x227)](_0x8bf012)[_0xf5680b(0x176)](_0x171fe3=>{const _0x23f3f0=_0xf5680b;let _0x368a89=_0x8bf012[_0x171fe3];return Array[_0x23f3f0(0x1c4)](_0x368a89)||(_0x368a89=[_0x368a89]),_0x368a89[_0x23f3f0(0x176)](_0x2d6d9b=>[_0x171fe3][_0x23f3f0(0x13c)](Object[_0x23f3f0(0x227)](_0x2d6d9b)[_0x23f3f0(0x176)](_0x59ef74=>{const _0x31c4cb=_0x23f3f0;let _0x51452a=_0x2d6d9b[_0x59ef74];return Array[_0x31c4cb(0x1c4)](_0x51452a)||(_0x51452a=[_0x51452a]),_0x51452a[_0x31c4cb(0x176)](_0x5dda43=>_0x5dda43===!0x0?_0x59ef74:_0x59ef74+'='+_0x5dda43)['join'](';\x20');}))['join'](';\x20'))['join'](',\x20');})[_0xf5680b(0x23f)](',\x20');}return be={'format':_0x1ef22a,'parse':_0x473daf},be;}var we,st;function Ie(){const _0xce97eb=_0x4a8798;if(st)return we;st=0x1;const _0x11ceef=_0x231509,_0xe2894b=_0x4dae9a,_0x93ed94=_0x4a0f23,_0x4a0724=_0x21f3c7,_0x225d35=_0x43a5ca,{randomBytes:_0xb2d502,createHash:_0x3cb774}=_0x172c9a,{Duplex:_0x1f4f28,Readable:_0x3fc39a}=_0x48895b,{URL:_0x2cd11f}=_0x2fd073,_0x5c3f83=he(),_0x5d8509=dt(),_0x4c2608=_t(),{isBlob:_0x3df230}=ne(),{BINARY_TYPES:_0x457f20,EMPTY_BUFFER:_0x4c679d,GUID:_0x37ed48,kForOnEventAttribute:_0x3d58ff,kListener:_0x2a7d4a,kStatusCode:_0x8cf8,kWebSocket:_0x1faf90,NOOP:_0x51cf4a}=V(),{EventTarget:{addEventListener:_0x268ca4,removeEventListener:_0x330b2a}}=Kt(),{format:_0x29dd62,parse:_0x4c8f93}=pt(),{toBuffer:_0x356a1f}=ce(),_0x4bb2f0=0x1e*0x3e8,_0x137c87=Symbol(_0xce97eb(0x1cc)),_0x46f8fd=[0x8,0xd],_0x1500b3=[_0xce97eb(0x1c2),_0xce97eb(0x1bd),'CLOSING','CLOSED'],_0x249a5d=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x3c4e8c extends _0x11ceef{constructor(_0x5e022c,_0x139830,_0x39b94f){const _0x2dc1ca=_0xce97eb;super(),this['_binaryType']=_0x457f20[0x0],this['_closeCode']=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x2dc1ca(0x1bb)]=!0x1,this['_closeMessage']=_0x4c679d,this[_0x2dc1ca(0xb6)]=null,this['_errorEmitted']=!0x1,this['_extensions']={},this['_paused']=!0x1,this['_protocol']='',this[_0x2dc1ca(0x22b)]=_0x3c4e8c[_0x2dc1ca(0x1c2)],this[_0x2dc1ca(0x1ad)]=null,this[_0x2dc1ca(0x182)]=null,this[_0x2dc1ca(0x22e)]=null,_0x5e022c!==null?(this[_0x2dc1ca(0xeb)]=0x0,this[_0x2dc1ca(0x18f)]=!0x1,this[_0x2dc1ca(0x1d0)]=0x0,_0x139830===void 0x0?_0x139830=[]:Array[_0x2dc1ca(0x1c4)](_0x139830)||(typeof _0x139830==_0x2dc1ca(0xdc)&&_0x139830!==null?(_0x39b94f=_0x139830,_0x139830=[]):_0x139830=[_0x139830]),_0xcd0feb(this,_0x5e022c,_0x139830,_0x39b94f)):(this[_0x2dc1ca(0x1f3)]=_0x39b94f['autoPong'],this[_0x2dc1ca(0x18f)]=!0x0);}get[_0xce97eb(0x212)](){const _0x592892=_0xce97eb;return this[_0x592892(0xfc)];}set[_0xce97eb(0x212)](_0x207817){const _0x59b015=_0xce97eb;_0x457f20[_0x59b015(0x209)](_0x207817)&&(this['_binaryType']=_0x207817,this[_0x59b015(0x1ad)]&&(this[_0x59b015(0x1ad)]['_binaryType']=_0x207817));}get['bufferedAmount'](){const _0x406b38=_0xce97eb;return this[_0x406b38(0x22e)]?this[_0x406b38(0x22e)]['_writableState'][_0x406b38(0x17b)]+this[_0x406b38(0x182)][_0x406b38(0xb7)]:this[_0x406b38(0xeb)];}get[_0xce97eb(0x9c)](){const _0x639de=_0xce97eb;return Object[_0x639de(0x227)](this[_0x639de(0x14b)])['join']();}get[_0xce97eb(0x223)](){const _0x5e8fc3=_0xce97eb;return this[_0x5e8fc3(0x1a8)];}get[_0xce97eb(0xe9)](){return null;}get[_0xce97eb(0x129)](){return null;}get[_0xce97eb(0xa1)](){return null;}get['onmessage'](){return null;}get[_0xce97eb(0xda)](){const _0x2072b6=_0xce97eb;return this[_0x2072b6(0x163)];}get[_0xce97eb(0xb4)](){return this['_readyState'];}get[_0xce97eb(0x19c)](){return this['_url'];}['setSocket'](_0x2101f1,_0x50a0d6,_0x1beaca){const _0x7d36b3=_0xce97eb,_0x5f2c78=new _0x5d8509({'allowSynchronousEvents':_0x1beaca[_0x7d36b3(0x123)],'binaryType':this[_0x7d36b3(0x212)],'extensions':this[_0x7d36b3(0x14b)],'isServer':this[_0x7d36b3(0x18f)],'maxPayload':_0x1beaca['maxPayload'],'skipUTF8Validation':_0x1beaca['skipUTF8Validation']}),_0x1078ad=new _0x4c2608(_0x2101f1,this[_0x7d36b3(0x14b)],_0x1beaca[_0x7d36b3(0xcc)]);this[_0x7d36b3(0x1ad)]=_0x5f2c78,this[_0x7d36b3(0x182)]=_0x1078ad,this['_socket']=_0x2101f1,_0x5f2c78[_0x1faf90]=this,_0x1078ad[_0x1faf90]=this,_0x2101f1[_0x1faf90]=this,_0x5f2c78['on'](_0x7d36b3(0x242),_0xccf8ca),_0x5f2c78['on'](_0x7d36b3(0x149),_0x31f829),_0x5f2c78['on'](_0x7d36b3(0xf4),_0x4c8be2),_0x5f2c78['on'](_0x7d36b3(0x192),_0x4624df),_0x5f2c78['on'](_0x7d36b3(0x1a4),_0x53bc2d),_0x5f2c78['on'](_0x7d36b3(0x118),_0x150f51),_0x1078ad[_0x7d36b3(0x129)]=_0x38288c,_0x2101f1[_0x7d36b3(0x228)]&&_0x2101f1[_0x7d36b3(0x228)](0x0),_0x2101f1[_0x7d36b3(0x180)]&&_0x2101f1[_0x7d36b3(0x180)](),_0x50a0d6[_0x7d36b3(0x17b)]>0x0&&_0x2101f1[_0x7d36b3(0x164)](_0x50a0d6),_0x2101f1['on'](_0x7d36b3(0x1fe),_0x53c52b),_0x2101f1['on'](_0x7d36b3(0x9a),_0x53eba8),_0x2101f1['on'](_0x7d36b3(0x20c),_0x4a79bf),_0x2101f1['on'](_0x7d36b3(0xf4),_0xd50172),this[_0x7d36b3(0x22b)]=_0x3c4e8c['OPEN'],this[_0x7d36b3(0x127)](_0x7d36b3(0x187));}[_0xce97eb(0x219)](){const _0x433d79=_0xce97eb;if(!this[_0x433d79(0x22e)]){this[_0x433d79(0x22b)]=_0x3c4e8c[_0x433d79(0x15c)],this[_0x433d79(0x127)](_0x433d79(0x1fe),this[_0x433d79(0x10f)],this[_0x433d79(0xe3)]);return;}this[_0x433d79(0x14b)][_0x5c3f83[_0x433d79(0x1b4)]]&&this[_0x433d79(0x14b)][_0x5c3f83[_0x433d79(0x1b4)]][_0x433d79(0x16e)](),this[_0x433d79(0x1ad)][_0x433d79(0x168)](),this[_0x433d79(0x22b)]=_0x3c4e8c[_0x433d79(0x15c)],this[_0x433d79(0x127)](_0x433d79(0x1fe),this['_closeCode'],this[_0x433d79(0xe3)]);}[_0xce97eb(0x1fe)](_0x873765,_0x14f831){const _0x2d13c1=_0xce97eb;if(this[_0x2d13c1(0xb4)]!==_0x3c4e8c[_0x2d13c1(0x15c)]){if(this['readyState']===_0x3c4e8c[_0x2d13c1(0x1c2)]){_0x4d3204(this,this['_req'],_0x2d13c1(0x140));return;}if(this['readyState']===_0x3c4e8c['CLOSING']){this[_0x2d13c1(0x1bb)]&&(this[_0x2d13c1(0x235)]||this[_0x2d13c1(0x1ad)][_0x2d13c1(0xd8)][_0x2d13c1(0x214)])&&this[_0x2d13c1(0x22e)][_0x2d13c1(0x20c)]();return;}this[_0x2d13c1(0x22b)]=_0x3c4e8c[_0x2d13c1(0x14e)],this[_0x2d13c1(0x182)][_0x2d13c1(0x1fe)](_0x873765,_0x14f831,!this[_0x2d13c1(0x18f)],_0x225d21=>{const _0x380447=_0x2d13c1;_0x225d21||(this[_0x380447(0x1bb)]=!0x0,(this[_0x380447(0x235)]||this[_0x380447(0x1ad)][_0x380447(0xd8)][_0x380447(0x214)])&&this[_0x380447(0x22e)][_0x380447(0x20c)]());}),_0x36c12a(this);}}[_0xce97eb(0x181)](){const _0x33e171=_0xce97eb;this[_0x33e171(0xb4)]===_0x3c4e8c[_0x33e171(0x1c2)]||this[_0x33e171(0xb4)]===_0x3c4e8c['CLOSED']||(this[_0x33e171(0x1a8)]=!0x0,this[_0x33e171(0x22e)][_0x33e171(0x181)]());}[_0xce97eb(0x1a4)](_0x33ac90,_0x48ee81,_0x411d30){const _0x31cf32=_0xce97eb;if(this[_0x31cf32(0xb4)]===_0x3c4e8c[_0x31cf32(0x1c2)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x33ac90==_0x31cf32(0x1b3)?(_0x411d30=_0x33ac90,_0x33ac90=_0x48ee81=void 0x0):typeof _0x48ee81=='function'&&(_0x411d30=_0x48ee81,_0x48ee81=void 0x0),typeof _0x33ac90==_0x31cf32(0x1a1)&&(_0x33ac90=_0x33ac90['toString']()),this['readyState']!==_0x3c4e8c[_0x31cf32(0x1bd)]){_0x5c9d27(this,_0x33ac90,_0x411d30);return;}_0x48ee81===void 0x0&&(_0x48ee81=!this[_0x31cf32(0x18f)]),this['_sender'][_0x31cf32(0x1a4)](_0x33ac90||_0x4c679d,_0x48ee81,_0x411d30);}[_0xce97eb(0x118)](_0x4ec5f0,_0x3d66d6,_0x4ac056){const _0x26bf3a=_0xce97eb;if(this[_0x26bf3a(0xb4)]===_0x3c4e8c['CONNECTING'])throw new Error(_0x26bf3a(0x1b6));if(typeof _0x4ec5f0==_0x26bf3a(0x1b3)?(_0x4ac056=_0x4ec5f0,_0x4ec5f0=_0x3d66d6=void 0x0):typeof _0x3d66d6==_0x26bf3a(0x1b3)&&(_0x4ac056=_0x3d66d6,_0x3d66d6=void 0x0),typeof _0x4ec5f0==_0x26bf3a(0x1a1)&&(_0x4ec5f0=_0x4ec5f0[_0x26bf3a(0xba)]()),this['readyState']!==_0x3c4e8c['OPEN']){_0x5c9d27(this,_0x4ec5f0,_0x4ac056);return;}_0x3d66d6===void 0x0&&(_0x3d66d6=!this['_isServer']),this['_sender'][_0x26bf3a(0x118)](_0x4ec5f0||_0x4c679d,_0x3d66d6,_0x4ac056);}[_0xce97eb(0x159)](){const _0x267a53=_0xce97eb;this[_0x267a53(0xb4)]===_0x3c4e8c[_0x267a53(0x1c2)]||this[_0x267a53(0xb4)]===_0x3c4e8c[_0x267a53(0x15c)]||(this[_0x267a53(0x1a8)]=!0x1,this[_0x267a53(0x1ad)][_0x267a53(0xd8)][_0x267a53(0x9e)]||this[_0x267a53(0x22e)][_0x267a53(0x159)]());}[_0xce97eb(0x21b)](_0x56ea04,_0x4b3bc2,_0x5bd1c2){const _0x31c7d9=_0xce97eb;if(this[_0x31c7d9(0xb4)]===_0x3c4e8c[_0x31c7d9(0x1c2)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x4b3bc2=='function'&&(_0x5bd1c2=_0x4b3bc2,_0x4b3bc2={}),typeof _0x56ea04==_0x31c7d9(0x1a1)&&(_0x56ea04=_0x56ea04[_0x31c7d9(0xba)]()),this[_0x31c7d9(0xb4)]!==_0x3c4e8c[_0x31c7d9(0x1bd)]){_0x5c9d27(this,_0x56ea04,_0x5bd1c2);return;}const _0x5411ba={'binary':typeof _0x56ea04!=_0x31c7d9(0x1e2),'mask':!this[_0x31c7d9(0x18f)],'compress':!0x0,'fin':!0x0,..._0x4b3bc2};this[_0x31c7d9(0x14b)][_0x5c3f83[_0x31c7d9(0x1b4)]]||(_0x5411ba[_0x31c7d9(0x1c9)]=!0x1),this[_0x31c7d9(0x182)][_0x31c7d9(0x21b)](_0x56ea04||_0x4c679d,_0x5411ba,_0x5bd1c2);}['terminate'](){const _0x54939a=_0xce97eb;if(this[_0x54939a(0xb4)]!==_0x3c4e8c[_0x54939a(0x15c)]){if(this[_0x54939a(0xb4)]===_0x3c4e8c[_0x54939a(0x1c2)]){_0x4d3204(this,this['_req'],_0x54939a(0x140));return;}this['_socket']&&(this[_0x54939a(0x22b)]=_0x3c4e8c[_0x54939a(0x14e)],this['_socket'][_0x54939a(0x1f7)]());}}}Object[_0xce97eb(0x20a)](_0x3c4e8c,_0xce97eb(0x1c2),{'enumerable':!0x0,'value':_0x1500b3[_0xce97eb(0x199)](_0xce97eb(0x1c2))}),Object[_0xce97eb(0x20a)](_0x3c4e8c['prototype'],_0xce97eb(0x1c2),{'enumerable':!0x0,'value':_0x1500b3[_0xce97eb(0x199)](_0xce97eb(0x1c2))}),Object['defineProperty'](_0x3c4e8c,_0xce97eb(0x1bd),{'enumerable':!0x0,'value':_0x1500b3[_0xce97eb(0x199)](_0xce97eb(0x1bd))}),Object['defineProperty'](_0x3c4e8c['prototype'],'OPEN',{'enumerable':!0x0,'value':_0x1500b3[_0xce97eb(0x199)](_0xce97eb(0x1bd))}),Object[_0xce97eb(0x20a)](_0x3c4e8c,_0xce97eb(0x14e),{'enumerable':!0x0,'value':_0x1500b3[_0xce97eb(0x199)](_0xce97eb(0x14e))}),Object[_0xce97eb(0x20a)](_0x3c4e8c['prototype'],'CLOSING',{'enumerable':!0x0,'value':_0x1500b3['indexOf']('CLOSING')}),Object[_0xce97eb(0x20a)](_0x3c4e8c,_0xce97eb(0x15c),{'enumerable':!0x0,'value':_0x1500b3['indexOf'](_0xce97eb(0x15c))}),Object[_0xce97eb(0x20a)](_0x3c4e8c[_0xce97eb(0x10b)],_0xce97eb(0x15c),{'enumerable':!0x0,'value':_0x1500b3['indexOf'](_0xce97eb(0x15c))}),['binaryType','bufferedAmount',_0xce97eb(0x9c),_0xce97eb(0x223),'protocol',_0xce97eb(0xb4),_0xce97eb(0x19c)]['forEach'](_0x3f8d2f=>{const _0x11a683=_0xce97eb;Object[_0x11a683(0x20a)](_0x3c4e8c[_0x11a683(0x10b)],_0x3f8d2f,{'enumerable':!0x0});}),['open',_0xce97eb(0xf4),_0xce97eb(0x1fe),_0xce97eb(0x192)][_0xce97eb(0xf6)](_0x57ebc2=>{const _0x573136=_0xce97eb;Object[_0x573136(0x20a)](_0x3c4e8c[_0x573136(0x10b)],'on'+_0x57ebc2,{'enumerable':!0x0,'get'(){const _0x37c844=_0x573136;for(const _0xade7df of this[_0x37c844(0xb0)](_0x57ebc2))if(_0xade7df[_0x3d58ff])return _0xade7df[_0x2a7d4a];return null;},'set'(_0x2552e4){const _0x59697a=_0x573136;for(const _0x31dfb0 of this[_0x59697a(0xb0)](_0x57ebc2))if(_0x31dfb0[_0x3d58ff]){this[_0x59697a(0x93)](_0x57ebc2,_0x31dfb0);break;}typeof _0x2552e4==_0x59697a(0x1b3)&&this[_0x59697a(0x201)](_0x57ebc2,_0x2552e4,{[_0x3d58ff]:!0x0});}});}),_0x3c4e8c[_0xce97eb(0x10b)][_0xce97eb(0x201)]=_0x268ca4,_0x3c4e8c[_0xce97eb(0x10b)][_0xce97eb(0x1f2)]=_0x330b2a,we=_0x3c4e8c;function _0xcd0feb(_0x9b8a4,_0x12ae62,_0x31a688,_0x1dfcc6){const _0x2d7add=_0xce97eb,_0x438b35={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x46f8fd[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x1dfcc6,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x9b8a4['_autoPong']=_0x438b35['autoPong'],!_0x46f8fd[_0x2d7add(0x209)](_0x438b35[_0x2d7add(0x1a9)]))throw new RangeError(_0x2d7add(0x1ec)+_0x438b35[_0x2d7add(0x1a9)]+_0x2d7add(0xaa)+_0x46f8fd[_0x2d7add(0x23f)](',\x20')+')');let _0x3cd316;if(_0x12ae62 instanceof _0x2cd11f)_0x3cd316=_0x12ae62;else try{_0x3cd316=new _0x2cd11f(_0x12ae62);}catch{throw new SyntaxError(_0x2d7add(0xfe)+_0x12ae62);}_0x3cd316[_0x2d7add(0xda)]===_0x2d7add(0x1f5)?_0x3cd316[_0x2d7add(0xda)]='ws:':_0x3cd316[_0x2d7add(0xda)]===_0x2d7add(0x19e)&&(_0x3cd316[_0x2d7add(0xda)]=_0x2d7add(0x108)),_0x9b8a4['_url']=_0x3cd316['href'];const _0x4e46c0=_0x3cd316[_0x2d7add(0xda)]==='wss:',_0x2bbfdc=_0x3cd316[_0x2d7add(0xda)]===_0x2d7add(0x11a);let _0x2cffef;if(_0x3cd316['protocol']!==_0x2d7add(0x12a)&&!_0x4e46c0&&!_0x2bbfdc?_0x2cffef=_0x2d7add(0x114):_0x2bbfdc&&!_0x3cd316['pathname']?_0x2cffef='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x3cd316[_0x2d7add(0x15b)]&&(_0x2cffef=_0x2d7add(0x16a)),_0x2cffef){const _0x267837=new SyntaxError(_0x2cffef);if(_0x9b8a4[_0x2d7add(0x1d0)]===0x0)throw _0x267837;_0x4bb976(_0x9b8a4,_0x267837);return;}const _0x5ec62a=_0x4e46c0?0x1bb:0x50,_0x5e51e9=_0xb2d502(0x10)[_0x2d7add(0xba)](_0x2d7add(0x193)),_0x4829aa=_0x4e46c0?_0xe2894b[_0x2d7add(0xc0)]:_0x93ed94[_0x2d7add(0xc0)],_0x1f44aa=new Set();let _0x5ee8f9;if(_0x438b35[_0x2d7add(0x11d)]=_0x438b35[_0x2d7add(0x11d)]||(_0x4e46c0?_0x24936c:_0x160fc9),_0x438b35[_0x2d7add(0x14c)]=_0x438b35['defaultPort']||_0x5ec62a,_0x438b35[_0x2d7add(0x200)]=_0x3cd316[_0x2d7add(0x200)]||_0x5ec62a,_0x438b35[_0x2d7add(0xea)]=_0x3cd316[_0x2d7add(0x15a)]['startsWith']('[')?_0x3cd316[_0x2d7add(0x15a)][_0x2d7add(0x17d)](0x1,-0x1):_0x3cd316[_0x2d7add(0x15a)],_0x438b35[_0x2d7add(0xbe)]={..._0x438b35[_0x2d7add(0xbe)],'Sec-WebSocket-Version':_0x438b35['protocolVersion'],'Sec-WebSocket-Key':_0x5e51e9,'Connection':_0x2d7add(0x11f),'Upgrade':_0x2d7add(0x194)},_0x438b35['path']=_0x3cd316[_0x2d7add(0x1b8)]+_0x3cd316['search'],_0x438b35[_0x2d7add(0x14f)]=_0x438b35[_0x2d7add(0x1b5)],_0x438b35['perMessageDeflate']&&(_0x5ee8f9=new _0x5c3f83(_0x438b35[_0x2d7add(0xe0)]!==!0x0?_0x438b35['perMessageDeflate']:{},!0x1,_0x438b35[_0x2d7add(0x1d8)]),_0x438b35[_0x2d7add(0xbe)][_0x2d7add(0x225)]=_0x29dd62({[_0x5c3f83[_0x2d7add(0x1b4)]]:_0x5ee8f9[_0x2d7add(0x213)]()})),_0x31a688['length']){for(const _0x216cd7 of _0x31a688){if(typeof _0x216cd7!='string'||!_0x249a5d[_0x2d7add(0xa7)](_0x216cd7)||_0x1f44aa[_0x2d7add(0x1d4)](_0x216cd7))throw new SyntaxError(_0x2d7add(0x173));_0x1f44aa[_0x2d7add(0x162)](_0x216cd7);}_0x438b35[_0x2d7add(0xbe)][_0x2d7add(0xbc)]=_0x31a688[_0x2d7add(0x23f)](',');}if(_0x438b35[_0x2d7add(0x13e)]&&(_0x438b35[_0x2d7add(0x1a9)]<0xd?_0x438b35[_0x2d7add(0xbe)]['Sec-WebSocket-Origin']=_0x438b35['origin']:_0x438b35[_0x2d7add(0xbe)][_0x2d7add(0x138)]=_0x438b35['origin']),(_0x3cd316[_0x2d7add(0x9f)]||_0x3cd316[_0x2d7add(0x1dc)])&&(_0x438b35[_0x2d7add(0x18c)]=_0x3cd316[_0x2d7add(0x9f)]+':'+_0x3cd316[_0x2d7add(0x1dc)]),_0x2bbfdc){const _0x2436cd=_0x438b35['path'][_0x2d7add(0x1e1)](':');_0x438b35[_0x2d7add(0x188)]=_0x2436cd[0x0],_0x438b35['path']=_0x2436cd[0x1];}let _0x3060af;if(_0x438b35[_0x2d7add(0x1d6)]){if(_0x9b8a4['_redirects']===0x0){_0x9b8a4[_0x2d7add(0xed)]=_0x2bbfdc,_0x9b8a4[_0x2d7add(0x1d1)]=_0x4e46c0,_0x9b8a4['_originalHostOrSocketPath']=_0x2bbfdc?_0x438b35[_0x2d7add(0x188)]:_0x3cd316[_0x2d7add(0xea)];const _0x1b219a=_0x1dfcc6&&_0x1dfcc6[_0x2d7add(0xbe)];if(_0x1dfcc6={..._0x1dfcc6,'headers':{}},_0x1b219a){for(const [_0x53e68d,_0x1f561a]of Object[_0x2d7add(0x195)](_0x1b219a))_0x1dfcc6['headers'][_0x53e68d['toLowerCase']()]=_0x1f561a;}}else{if(_0x9b8a4[_0x2d7add(0x124)](_0x2d7add(0x1af))===0x0){const _0x1baa59=_0x2bbfdc?_0x9b8a4[_0x2d7add(0xed)]?_0x438b35[_0x2d7add(0x188)]===_0x9b8a4[_0x2d7add(0x1b9)]:!0x1:_0x9b8a4[_0x2d7add(0xed)]?!0x1:_0x3cd316[_0x2d7add(0xea)]===_0x9b8a4['_originalHostOrSocketPath'];(!_0x1baa59||_0x9b8a4[_0x2d7add(0x1d1)]&&!_0x4e46c0)&&(delete _0x438b35[_0x2d7add(0xbe)][_0x2d7add(0xe2)],delete _0x438b35['headers'][_0x2d7add(0x136)],_0x1baa59||delete _0x438b35[_0x2d7add(0xbe)]['host'],_0x438b35['auth']=void 0x0);}}_0x438b35['auth']&&!_0x1dfcc6['headers']['authorization']&&(_0x1dfcc6[_0x2d7add(0xbe)]['authorization']=_0x2d7add(0x1d9)+Buffer['from'](_0x438b35[_0x2d7add(0x18c)])[_0x2d7add(0xba)](_0x2d7add(0x193))),_0x3060af=_0x9b8a4[_0x2d7add(0x1b7)]=_0x4829aa(_0x438b35),_0x9b8a4[_0x2d7add(0x1d0)]&&_0x9b8a4[_0x2d7add(0x127)]('redirect',_0x9b8a4[_0x2d7add(0x19c)],_0x3060af);}else _0x3060af=_0x9b8a4[_0x2d7add(0x1b7)]=_0x4829aa(_0x438b35);_0x438b35[_0x2d7add(0x14f)]&&_0x3060af['on']('timeout',()=>{_0x4d3204(_0x9b8a4,_0x3060af,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x3060af['on'](_0x2d7add(0xf4),_0x42f711=>{const _0x28c7b7=_0x2d7add;_0x3060af===null||_0x3060af[_0x137c87]||(_0x3060af=_0x9b8a4[_0x28c7b7(0x1b7)]=null,_0x4bb976(_0x9b8a4,_0x42f711));}),_0x3060af['on'](_0x2d7add(0x21e),_0x2bd553=>{const _0x1ac653=_0x2d7add,_0x2b8353=_0x2bd553[_0x1ac653(0xbe)][_0x1ac653(0x1a3)],_0x2ddb41=_0x2bd553['statusCode'];if(_0x2b8353&&_0x438b35[_0x1ac653(0x1d6)]&&_0x2ddb41>=0x12c&&_0x2ddb41<0x190){if(++_0x9b8a4['_redirects']>_0x438b35['maxRedirects']){_0x4d3204(_0x9b8a4,_0x3060af,_0x1ac653(0x15e));return;}_0x3060af[_0x1ac653(0x206)]();let _0xe72eeb;try{_0xe72eeb=new _0x2cd11f(_0x2b8353,_0x12ae62);}catch{const _0x10d62c=new SyntaxError(_0x1ac653(0xfe)+_0x2b8353);_0x4bb976(_0x9b8a4,_0x10d62c);return;}_0xcd0feb(_0x9b8a4,_0xe72eeb,_0x31a688,_0x1dfcc6);}else _0x9b8a4[_0x1ac653(0x127)](_0x1ac653(0x12d),_0x3060af,_0x2bd553)||_0x4d3204(_0x9b8a4,_0x3060af,'Unexpected\x20server\x20response:\x20'+_0x2bd553[_0x1ac653(0x139)]);}),_0x3060af['on'](_0x2d7add(0xe8),(_0x8206b3,_0x3db88f,_0x496773)=>{const _0x2ec8bf=_0x2d7add;if(_0x9b8a4[_0x2ec8bf(0x127)](_0x2ec8bf(0xe8),_0x8206b3),_0x9b8a4['readyState']!==_0x3c4e8c[_0x2ec8bf(0x1c2)])return;_0x3060af=_0x9b8a4[_0x2ec8bf(0x1b7)]=null;const _0x3935c7=_0x8206b3[_0x2ec8bf(0xbe)][_0x2ec8bf(0xe8)];if(_0x3935c7===void 0x0||_0x3935c7[_0x2ec8bf(0x1da)]()!==_0x2ec8bf(0x194)){_0x4d3204(_0x9b8a4,_0x3db88f,_0x2ec8bf(0x132));return;}const _0x2acc48=_0x3cb774(_0x2ec8bf(0xee))[_0x2ec8bf(0x153)](_0x5e51e9+_0x37ed48)[_0x2ec8bf(0x155)]('base64');if(_0x8206b3['headers'][_0x2ec8bf(0xf5)]!==_0x2acc48){_0x4d3204(_0x9b8a4,_0x3db88f,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x13c02e=_0x8206b3[_0x2ec8bf(0xbe)][_0x2ec8bf(0x1e4)];let _0x24af81;if(_0x13c02e!==void 0x0?_0x1f44aa[_0x2ec8bf(0x125)]?_0x1f44aa[_0x2ec8bf(0x1d4)](_0x13c02e)||(_0x24af81='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x24af81=_0x2ec8bf(0x229):_0x1f44aa[_0x2ec8bf(0x125)]&&(_0x24af81='Server\x20sent\x20no\x20subprotocol'),_0x24af81){_0x4d3204(_0x9b8a4,_0x3db88f,_0x24af81);return;}_0x13c02e&&(_0x9b8a4['_protocol']=_0x13c02e);const _0x520e83=_0x8206b3[_0x2ec8bf(0xbe)][_0x2ec8bf(0x145)];if(_0x520e83!==void 0x0){if(!_0x5ee8f9){_0x4d3204(_0x9b8a4,_0x3db88f,_0x2ec8bf(0x1f8));return;}let _0x533007;try{_0x533007=_0x4c8f93(_0x520e83);}catch{_0x4d3204(_0x9b8a4,_0x3db88f,_0x2ec8bf(0x1ea));return;}const _0x3403ef=Object[_0x2ec8bf(0x227)](_0x533007);if(_0x3403ef[_0x2ec8bf(0x17b)]!==0x1||_0x3403ef[0x0]!==_0x5c3f83['extensionName']){_0x4d3204(_0x9b8a4,_0x3db88f,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x5ee8f9[_0x2ec8bf(0xa6)](_0x533007[_0x5c3f83[_0x2ec8bf(0x1b4)]]);}catch{_0x4d3204(_0x9b8a4,_0x3db88f,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x9b8a4['_extensions'][_0x5c3f83['extensionName']]=_0x5ee8f9;}_0x9b8a4['setSocket'](_0x3db88f,_0x496773,{'allowSynchronousEvents':_0x438b35[_0x2ec8bf(0x123)],'generateMask':_0x438b35[_0x2ec8bf(0xcc)],'maxPayload':_0x438b35[_0x2ec8bf(0x1d8)],'skipUTF8Validation':_0x438b35[_0x2ec8bf(0x134)]});}),_0x438b35[_0x2d7add(0x1c8)]?_0x438b35[_0x2d7add(0x1c8)](_0x3060af,_0x9b8a4):_0x3060af[_0x2d7add(0x20c)]();}function _0x4bb976(_0x2fb566,_0x505f71){const _0x29f030=_0xce97eb;_0x2fb566[_0x29f030(0x22b)]=_0x3c4e8c['CLOSING'],_0x2fb566[_0x29f030(0x189)]=!0x0,_0x2fb566[_0x29f030(0x127)](_0x29f030(0xf4),_0x505f71),_0x2fb566[_0x29f030(0x219)]();}function _0x160fc9(_0x1e0fa8){const _0x2fd49a=_0xce97eb;return _0x1e0fa8['path']=_0x1e0fa8[_0x2fd49a(0x188)],_0x4a0724[_0x2fd49a(0x1cf)](_0x1e0fa8);}function _0x24936c(_0xbea238){const _0x18b6b1=_0xce97eb;return _0xbea238['path']=void 0x0,!_0xbea238[_0x18b6b1(0x239)]&&_0xbea238['servername']!==''&&(_0xbea238['servername']=_0x4a0724[_0x18b6b1(0x1fc)](_0xbea238[_0x18b6b1(0xea)])?'':_0xbea238['host']),_0x225d35[_0x18b6b1(0x1cf)](_0xbea238);}function _0x4d3204(_0x4432ff,_0x2c9d04,_0x90ee77){const _0x7fbc98=_0xce97eb;_0x4432ff[_0x7fbc98(0x22b)]=_0x3c4e8c['CLOSING'];const _0x3a2ea8=new Error(_0x90ee77);Error[_0x7fbc98(0x1ff)](_0x3a2ea8,_0x4d3204),_0x2c9d04[_0x7fbc98(0x1d5)]?(_0x2c9d04[_0x137c87]=!0x0,_0x2c9d04['abort'](),_0x2c9d04[_0x7fbc98(0x102)]&&!_0x2c9d04['socket'][_0x7fbc98(0x18e)]&&_0x2c9d04[_0x7fbc98(0x102)]['destroy'](),process[_0x7fbc98(0xd3)](_0x4bb976,_0x4432ff,_0x3a2ea8)):(_0x2c9d04[_0x7fbc98(0x1f7)](_0x3a2ea8),_0x2c9d04[_0x7fbc98(0x1c3)](_0x7fbc98(0xf4),_0x4432ff[_0x7fbc98(0x127)]['bind'](_0x4432ff,'error')),_0x2c9d04[_0x7fbc98(0x1c3)](_0x7fbc98(0x1fe),_0x4432ff['emitClose']['bind'](_0x4432ff)));}function _0x5c9d27(_0x1bb86d,_0x445ca7,_0x400233){const _0x127b96=_0xce97eb;if(_0x445ca7){const _0xe1bb4b=_0x3df230(_0x445ca7)?_0x445ca7[_0x127b96(0x125)]:_0x356a1f(_0x445ca7)[_0x127b96(0x17b)];_0x1bb86d[_0x127b96(0x22e)]?_0x1bb86d[_0x127b96(0x182)][_0x127b96(0xb7)]+=_0xe1bb4b:_0x1bb86d[_0x127b96(0xeb)]+=_0xe1bb4b;}if(_0x400233){const _0x1a62b2=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x1bb86d['readyState']+'\x20('+_0x1500b3[_0x1bb86d[_0x127b96(0xb4)]]+')');process[_0x127b96(0xd3)](_0x400233,_0x1a62b2);}}function _0xccf8ca(_0x5a95f2,_0x23a3fd){const _0x3cb2df=_0xce97eb,_0x389a25=this[_0x1faf90];_0x389a25[_0x3cb2df(0x235)]=!0x0,_0x389a25[_0x3cb2df(0xe3)]=_0x23a3fd,_0x389a25[_0x3cb2df(0x10f)]=_0x5a95f2,_0x389a25[_0x3cb2df(0x22e)][_0x1faf90]!==void 0x0&&(_0x389a25[_0x3cb2df(0x22e)]['removeListener'](_0x3cb2df(0x9a),_0x53eba8),process[_0x3cb2df(0xd3)](_0x330b78,_0x389a25[_0x3cb2df(0x22e)]),_0x5a95f2===0x3ed?_0x389a25[_0x3cb2df(0x1fe)]():_0x389a25[_0x3cb2df(0x1fe)](_0x5a95f2,_0x23a3fd));}function _0x31f829(){const _0x52861a=_0xce97eb,_0x542c29=this[_0x1faf90];_0x542c29[_0x52861a(0x223)]||_0x542c29['_socket'][_0x52861a(0x159)]();}function _0x4c8be2(_0x234d95){const _0xa1a50c=_0xce97eb,_0x39a364=this[_0x1faf90];_0x39a364[_0xa1a50c(0x22e)][_0x1faf90]!==void 0x0&&(_0x39a364[_0xa1a50c(0x22e)][_0xa1a50c(0x93)](_0xa1a50c(0x9a),_0x53eba8),process[_0xa1a50c(0xd3)](_0x330b78,_0x39a364[_0xa1a50c(0x22e)]),_0x39a364[_0xa1a50c(0x1fe)](_0x234d95[_0x8cf8])),_0x39a364[_0xa1a50c(0x189)]||(_0x39a364[_0xa1a50c(0x189)]=!0x0,_0x39a364[_0xa1a50c(0x127)](_0xa1a50c(0xf4),_0x234d95));}function _0x5e8a95(){const _0x4cc5aa=_0xce97eb;this[_0x1faf90][_0x4cc5aa(0x219)]();}function _0x4624df(_0x431001,_0x4fdea5){const _0xed50d8=_0xce97eb;this[_0x1faf90][_0xed50d8(0x127)](_0xed50d8(0x192),_0x431001,_0x4fdea5);}function _0x53bc2d(_0x6e1eb8){const _0x449697=_0xce97eb,_0x4bc013=this[_0x1faf90];_0x4bc013[_0x449697(0x1f3)]&&_0x4bc013[_0x449697(0x118)](_0x6e1eb8,!this['_isServer'],_0x51cf4a),_0x4bc013[_0x449697(0x127)](_0x449697(0x1a4),_0x6e1eb8);}function _0x150f51(_0x1efeb6){const _0x40fa84=_0xce97eb;this[_0x1faf90][_0x40fa84(0x127)](_0x40fa84(0x118),_0x1efeb6);}function _0x330b78(_0x4cdd6c){const _0xae488=_0xce97eb;_0x4cdd6c[_0xae488(0x159)]();}function _0x38288c(_0x142729){const _0x318f84=_0xce97eb,_0x5c03b5=this[_0x1faf90];_0x5c03b5[_0x318f84(0xb4)]!==_0x3c4e8c[_0x318f84(0x15c)]&&(_0x5c03b5[_0x318f84(0xb4)]===_0x3c4e8c[_0x318f84(0x1bd)]&&(_0x5c03b5[_0x318f84(0x22b)]=_0x3c4e8c[_0x318f84(0x14e)],_0x36c12a(_0x5c03b5)),this[_0x318f84(0x22e)][_0x318f84(0x20c)](),_0x5c03b5[_0x318f84(0x189)]||(_0x5c03b5['_errorEmitted']=!0x0,_0x5c03b5['emit'](_0x318f84(0xf4),_0x142729)));}function _0x36c12a(_0x3f0e11){const _0x3e7f36=_0xce97eb;_0x3f0e11['_closeTimer']=setTimeout(_0x3f0e11[_0x3e7f36(0x22e)][_0x3e7f36(0x1f7)][_0x3e7f36(0x231)](_0x3f0e11[_0x3e7f36(0x22e)]),_0x4bb2f0);}function _0x53c52b(){const _0xb027d5=_0xce97eb,_0x3cc979=this[_0x1faf90];this[_0xb027d5(0x93)](_0xb027d5(0x1fe),_0x53c52b),this[_0xb027d5(0x93)]('data',_0x53eba8),this['removeListener'](_0xb027d5(0x20c),_0x4a79bf),_0x3cc979[_0xb027d5(0x22b)]=_0x3c4e8c[_0xb027d5(0x14e)];let _0x4a4629;!this[_0xb027d5(0x1ca)][_0xb027d5(0xfd)]&&!_0x3cc979['_closeFrameReceived']&&!_0x3cc979[_0xb027d5(0x1ad)]['_writableState'][_0xb027d5(0x214)]&&(_0x4a4629=_0x3cc979[_0xb027d5(0x22e)][_0xb027d5(0x1eb)]())!==null&&_0x3cc979[_0xb027d5(0x1ad)][_0xb027d5(0xa2)](_0x4a4629),_0x3cc979[_0xb027d5(0x1ad)][_0xb027d5(0x20c)](),this[_0x1faf90]=void 0x0,clearTimeout(_0x3cc979[_0xb027d5(0xb6)]),_0x3cc979[_0xb027d5(0x1ad)][_0xb027d5(0xd8)]['finished']||_0x3cc979[_0xb027d5(0x1ad)][_0xb027d5(0xd8)][_0xb027d5(0x214)]?_0x3cc979[_0xb027d5(0x219)]():(_0x3cc979[_0xb027d5(0x1ad)]['on'](_0xb027d5(0xf4),_0x5e8a95),_0x3cc979[_0xb027d5(0x1ad)]['on']('finish',_0x5e8a95));}function _0x53eba8(_0x541968){const _0x542b99=_0xce97eb;this[_0x1faf90]['_receiver']['write'](_0x541968)||this[_0x542b99(0x181)]();}function _0x4a79bf(){const _0x467487=_0xce97eb,_0x4b8f2d=this[_0x1faf90];_0x4b8f2d['_readyState']=_0x3c4e8c[_0x467487(0x14e)],_0x4b8f2d[_0x467487(0x1ad)][_0x467487(0x20c)](),this['end']();}function _0xd50172(){const _0x5e6900=_0xce97eb,_0x1a63d6=this[_0x1faf90];this['removeListener'](_0x5e6900(0xf4),_0xd50172),this['on'](_0x5e6900(0xf4),_0x51cf4a),_0x1a63d6&&(_0x1a63d6[_0x5e6900(0x22b)]=_0x3c4e8c['CLOSING'],this[_0x5e6900(0x1f7)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x27454e}=_0x48895b;function _0x39a643(_0x11a05d){const _0xa1884b=_0x2c80;_0x11a05d[_0xa1884b(0x127)](_0xa1884b(0x1fe));}function _0x446221(){const _0x3342f3=_0x2c80;!this[_0x3342f3(0x18e)]&&this[_0x3342f3(0xd8)]['finished']&&this[_0x3342f3(0x1f7)]();}function _0x2ffc39(_0x4df750){const _0x1f5122=_0x2c80;this[_0x1f5122(0x93)]('error',_0x2ffc39),this[_0x1f5122(0x1f7)](),this[_0x1f5122(0x124)](_0x1f5122(0xf4))===0x0&&this[_0x1f5122(0x127)]('error',_0x4df750);}function _0x3a3571(_0x1d108e,_0x472e0d){const _0xb0dbbe=_0x2c80;let _0x216b4c=!0x0;const _0x4a7a2c=new _0x27454e({..._0x472e0d,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x1d108e['on'](_0xb0dbbe(0x192),function(_0x528f5b,_0x283620){const _0x26ad4a=_0xb0dbbe,_0x1ca7ca=!_0x283620&&_0x4a7a2c[_0x26ad4a(0x1ca)][_0x26ad4a(0x9b)]?_0x528f5b[_0x26ad4a(0xba)]():_0x528f5b;_0x4a7a2c[_0x26ad4a(0x238)](_0x1ca7ca)||_0x1d108e[_0x26ad4a(0x181)]();}),_0x1d108e[_0xb0dbbe(0x1c3)]('error',function(_0x7f9812){const _0x550ad4=_0xb0dbbe;_0x4a7a2c[_0x550ad4(0x18e)]||(_0x216b4c=!0x1,_0x4a7a2c[_0x550ad4(0x1f7)](_0x7f9812));}),_0x1d108e['once'](_0xb0dbbe(0x1fe),function(){const _0x33cfd8=_0xb0dbbe;_0x4a7a2c[_0x33cfd8(0x18e)]||_0x4a7a2c['push'](null);}),_0x4a7a2c['_destroy']=function(_0x3a11f7,_0x4739a){const _0x5b2bae=_0xb0dbbe;if(_0x1d108e['readyState']===_0x1d108e[_0x5b2bae(0x15c)]){_0x4739a(_0x3a11f7),process[_0x5b2bae(0xd3)](_0x39a643,_0x4a7a2c);return;}let _0x405acb=!0x1;_0x1d108e[_0x5b2bae(0x1c3)]('error',function(_0x17e503){_0x405acb=!0x0,_0x4739a(_0x17e503);}),_0x1d108e[_0x5b2bae(0x1c3)]('close',function(){const _0xed65ca=_0x5b2bae;_0x405acb||_0x4739a(_0x3a11f7),process[_0xed65ca(0xd3)](_0x39a643,_0x4a7a2c);}),_0x216b4c&&_0x1d108e[_0x5b2bae(0x18b)]();},_0x4a7a2c[_0xb0dbbe(0x1ed)]=function(_0x4401c3){const _0x2fa7cf=_0xb0dbbe;if(_0x1d108e[_0x2fa7cf(0xb4)]===_0x1d108e['CONNECTING']){_0x1d108e[_0x2fa7cf(0x1c3)]('open',function(){const _0x26c6ee=_0x2fa7cf;_0x4a7a2c[_0x26c6ee(0x1ed)](_0x4401c3);});return;}_0x1d108e[_0x2fa7cf(0x22e)]!==null&&(_0x1d108e[_0x2fa7cf(0x22e)][_0x2fa7cf(0xd8)][_0x2fa7cf(0x10c)]?(_0x4401c3(),_0x4a7a2c[_0x2fa7cf(0x1ca)]['endEmitted']&&_0x4a7a2c[_0x2fa7cf(0x1f7)]()):(_0x1d108e[_0x2fa7cf(0x22e)][_0x2fa7cf(0x1c3)](_0x2fa7cf(0x217),function(){_0x4401c3();}),_0x1d108e[_0x2fa7cf(0x1fe)]()));},_0x4a7a2c['_read']=function(){const _0x490760=_0xb0dbbe;_0x1d108e[_0x490760(0x223)]&&_0x1d108e[_0x490760(0x159)]();},_0x4a7a2c['_write']=function(_0x1403aa,_0x56f1b0,_0x58e756){const _0x4dd89c=_0xb0dbbe;if(_0x1d108e[_0x4dd89c(0xb4)]===_0x1d108e[_0x4dd89c(0x1c2)]){_0x1d108e[_0x4dd89c(0x1c3)](_0x4dd89c(0x187),function(){const _0x5e9f1e=_0x4dd89c;_0x4a7a2c[_0x5e9f1e(0x1c5)](_0x1403aa,_0x56f1b0,_0x58e756);});return;}_0x1d108e[_0x4dd89c(0x21b)](_0x1403aa,_0x58e756);},_0x4a7a2c['on'](_0xb0dbbe(0x20c),_0x446221),_0x4a7a2c['on'](_0xb0dbbe(0xf4),_0x2ffc39),_0x4a7a2c;}return Oe=_0x3a3571,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x219343}=ne();function _0x98c0d3(_0x2bead6){const _0x37d0a4=_0x2c80,_0x9daf1=new Set();let _0x2c2e02=-0x1,_0x4d545b=-0x1,_0x589cb9=0x0;for(_0x589cb9;_0x589cb9<_0x2bead6['length'];_0x589cb9++){const _0x392d24=_0x2bead6['charCodeAt'](_0x589cb9);if(_0x4d545b===-0x1&&_0x219343[_0x392d24]===0x1)_0x2c2e02===-0x1&&(_0x2c2e02=_0x589cb9);else{if(_0x589cb9!==0x0&&(_0x392d24===0x20||_0x392d24===0x9))_0x4d545b===-0x1&&_0x2c2e02!==-0x1&&(_0x4d545b=_0x589cb9);else{if(_0x392d24===0x2c){if(_0x2c2e02===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x589cb9);_0x4d545b===-0x1&&(_0x4d545b=_0x589cb9);const _0x50f792=_0x2bead6[_0x37d0a4(0x17d)](_0x2c2e02,_0x4d545b);if(_0x9daf1[_0x37d0a4(0x1d4)](_0x50f792))throw new SyntaxError('The\x20\x22'+_0x50f792+'\x22\x20subprotocol\x20is\x20duplicated');_0x9daf1[_0x37d0a4(0x162)](_0x50f792),_0x2c2e02=_0x4d545b=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x589cb9);}}}if(_0x2c2e02===-0x1||_0x4d545b!==-0x1)throw new SyntaxError(_0x37d0a4(0x167));const _0x22c61c=_0x2bead6[_0x37d0a4(0x17d)](_0x2c2e02,_0x589cb9);if(_0x9daf1[_0x37d0a4(0x1d4)](_0x22c61c))throw new SyntaxError(_0x37d0a4(0x1bf)+_0x22c61c+_0x37d0a4(0x147));return _0x9daf1['add'](_0x22c61c),_0x9daf1;}return Ce={'parse':_0x98c0d3},Ce;}var Te,ot;function er(){const _0x2ba26b=_0x4a8798;if(ot)return Te;ot=0x1;const _0x44a23f=_0x231509,_0x5ac13d=_0x4a0f23,{Duplex:_0x4e1571}=_0x48895b,{createHash:_0x5a5350}=_0x172c9a,_0x39ad8f=pt(),_0xcbe9ce=he(),_0x532789=Jt(),_0x5544e4=Ie(),{GUID:_0x3fff7e,kWebSocket:_0x42fdbd}=V(),_0x179ea2=/^[+/0-9A-Za-z]{22}==$/,_0x49c675=0x0,_0x376ff1=0x1,_0x14dcf8=0x2;class _0x2b7de4 extends _0x44a23f{constructor(_0x26293d,_0x58b23a){const _0x2f7161=_0x2c80;if(super(),_0x26293d={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'maxPayload':0x64*0x400*0x400,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x1,'handleProtocols':null,'clientTracking':!0x0,'verifyClient':null,'noServer':!0x1,'backlog':null,'server':null,'host':null,'path':null,'port':null,'WebSocket':_0x5544e4,..._0x26293d},_0x26293d['port']==null&&!_0x26293d[_0x2f7161(0x13b)]&&!_0x26293d['noServer']||_0x26293d[_0x2f7161(0x200)]!=null&&(_0x26293d[_0x2f7161(0x13b)]||_0x26293d[_0x2f7161(0xe4)])||_0x26293d[_0x2f7161(0x13b)]&&_0x26293d[_0x2f7161(0xe4)])throw new TypeError(_0x2f7161(0x12c));if(_0x26293d[_0x2f7161(0x200)]!=null?(this[_0x2f7161(0x160)]=_0x5ac13d[_0x2f7161(0x92)]((_0x118bb2,_0x46abc1)=>{const _0x46848d=_0x2f7161,_0x1df9e7=_0x5ac13d[_0x46848d(0x21c)][0x1aa];_0x46abc1[_0x46848d(0x1dd)](0x1aa,{'Content-Length':_0x1df9e7[_0x46848d(0x17b)],'Content-Type':_0x46848d(0x218)}),_0x46abc1[_0x46848d(0x20c)](_0x1df9e7);}),this[_0x2f7161(0x160)][_0x2f7161(0x1e8)](_0x26293d['port'],_0x26293d[_0x2f7161(0xea)],_0x26293d[_0x2f7161(0xc9)],_0x58b23a)):_0x26293d[_0x2f7161(0x13b)]&&(this[_0x2f7161(0x160)]=_0x26293d[_0x2f7161(0x13b)]),this[_0x2f7161(0x160)]){const _0x315871=this[_0x2f7161(0x127)][_0x2f7161(0x231)](this,_0x2f7161(0xaf));this[_0x2f7161(0x157)]=_0x2c44be(this[_0x2f7161(0x160)],{'listening':this[_0x2f7161(0x127)][_0x2f7161(0x231)](this,_0x2f7161(0x116)),'error':this['emit'][_0x2f7161(0x231)](this,_0x2f7161(0xf4)),'upgrade':(_0x3ade9e,_0xd1cdc,_0x21cc81)=>{this['handleUpgrade'](_0x3ade9e,_0xd1cdc,_0x21cc81,_0x315871);}});}_0x26293d[_0x2f7161(0xe0)]===!0x0&&(_0x26293d[_0x2f7161(0xe0)]={}),_0x26293d[_0x2f7161(0x19a)]&&(this['clients']=new Set(),this[_0x2f7161(0x234)]=!0x1),this['options']=_0x26293d,this['_state']=_0x49c675;}[_0x2ba26b(0x16d)](){const _0x5aa2f5=_0x2ba26b;if(this['options'][_0x5aa2f5(0xe4)])throw new Error(_0x5aa2f5(0x152));return this[_0x5aa2f5(0x160)]?this['_server'][_0x5aa2f5(0x16d)]():null;}[_0x2ba26b(0x1fe)](_0x12269f){const _0x3789de=_0x2ba26b;if(this[_0x3789de(0xcf)]===_0x14dcf8){_0x12269f&&this[_0x3789de(0x1c3)]('close',()=>{const _0x22e40c=_0x3789de;_0x12269f(new Error(_0x22e40c(0xe1)));}),process[_0x3789de(0xd3)](_0x7a0ba4,this);return;}if(_0x12269f&&this[_0x3789de(0x1c3)]('close',_0x12269f),this[_0x3789de(0xcf)]!==_0x376ff1){if(this['_state']=_0x376ff1,this[_0x3789de(0x1b1)][_0x3789de(0xe4)]||this[_0x3789de(0x1b1)][_0x3789de(0x13b)])this[_0x3789de(0x160)]&&(this[_0x3789de(0x157)](),this['_removeListeners']=this[_0x3789de(0x160)]=null),this[_0x3789de(0x1b2)]?this['clients'][_0x3789de(0x125)]?this['_shouldEmitClose']=!0x0:process['nextTick'](_0x7a0ba4,this):process[_0x3789de(0xd3)](_0x7a0ba4,this);else{const _0x5f33e6=this[_0x3789de(0x160)];this[_0x3789de(0x157)](),this['_removeListeners']=this[_0x3789de(0x160)]=null,_0x5f33e6['close'](()=>{_0x7a0ba4(this);});}}}['shouldHandle'](_0x5896ba){const _0x1ccb99=_0x2ba26b;if(this['options'][_0x1ccb99(0xca)]){const _0x439259=_0x5896ba[_0x1ccb99(0x19c)][_0x1ccb99(0x199)]('?');if((_0x439259!==-0x1?_0x5896ba[_0x1ccb99(0x19c)][_0x1ccb99(0x17d)](0x0,_0x439259):_0x5896ba[_0x1ccb99(0x19c)])!==this[_0x1ccb99(0x1b1)][_0x1ccb99(0xca)])return!0x1;}return!0x0;}[_0x2ba26b(0x17f)](_0x2a8317,_0x3d92a9,_0x28a727,_0x427148){const _0x1b7b61=_0x2ba26b;_0x3d92a9['on'](_0x1b7b61(0xf4),_0x2ac1df);const _0x486843=_0x2a8317[_0x1b7b61(0xbe)]['sec-websocket-key'],_0x5b73a9=_0x2a8317[_0x1b7b61(0xbe)][_0x1b7b61(0xe8)],_0x3324f3=+_0x2a8317[_0x1b7b61(0xbe)][_0x1b7b61(0x197)];if(_0x2a8317[_0x1b7b61(0x211)]!=='GET'){_0x5c737(this,_0x2a8317,_0x3d92a9,0x195,_0x1b7b61(0x18a));return;}if(_0x5b73a9===void 0x0||_0x5b73a9[_0x1b7b61(0x1da)]()!==_0x1b7b61(0x194)){_0x5c737(this,_0x2a8317,_0x3d92a9,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x486843===void 0x0||!_0x179ea2[_0x1b7b61(0xa7)](_0x486843)){_0x5c737(this,_0x2a8317,_0x3d92a9,0x190,_0x1b7b61(0xae));return;}if(_0x3324f3!==0xd&&_0x3324f3!==0x8){_0x5c737(this,_0x2a8317,_0x3d92a9,0x190,_0x1b7b61(0xbd),{'Sec-WebSocket-Version':'13,\x208'});return;}if(!this['shouldHandle'](_0x2a8317)){_0x210eec(_0x3d92a9,0x190);return;}const _0x2391fe=_0x2a8317[_0x1b7b61(0xbe)][_0x1b7b61(0x1e4)];let _0x5c2e0f=new Set();if(_0x2391fe!==void 0x0)try{_0x5c2e0f=_0x532789[_0x1b7b61(0x1a6)](_0x2391fe);}catch{_0x5c737(this,_0x2a8317,_0x3d92a9,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0xf5bc09=_0x2a8317[_0x1b7b61(0xbe)][_0x1b7b61(0x145)],_0x13c5f9={};if(this['options']['perMessageDeflate']&&_0xf5bc09!==void 0x0){const _0x497341=new _0xcbe9ce(this[_0x1b7b61(0x1b1)]['perMessageDeflate'],!0x0,this['options'][_0x1b7b61(0x1d8)]);try{const _0x19abcb=_0x39ad8f[_0x1b7b61(0x1a6)](_0xf5bc09);_0x19abcb[_0xcbe9ce[_0x1b7b61(0x1b4)]]&&(_0x497341[_0x1b7b61(0xa6)](_0x19abcb[_0xcbe9ce['extensionName']]),_0x13c5f9[_0xcbe9ce['extensionName']]=_0x497341);}catch{_0x5c737(this,_0x2a8317,_0x3d92a9,0x190,_0x1b7b61(0x13d));return;}}if(this[_0x1b7b61(0x1b1)][_0x1b7b61(0x105)]){const _0x30a255={'origin':_0x2a8317[_0x1b7b61(0xbe)][''+(_0x3324f3===0x8?_0x1b7b61(0x10e):'origin')],'secure':!!(_0x2a8317[_0x1b7b61(0x102)][_0x1b7b61(0xff)]||_0x2a8317[_0x1b7b61(0x102)][_0x1b7b61(0x103)]),'req':_0x2a8317};if(this[_0x1b7b61(0x1b1)]['verifyClient'][_0x1b7b61(0x17b)]===0x2){this[_0x1b7b61(0x1b1)][_0x1b7b61(0x105)](_0x30a255,(_0x34a09a,_0x555793,_0x383a07,_0x7932d)=>{const _0x1d21ab=_0x1b7b61;if(!_0x34a09a)return _0x210eec(_0x3d92a9,_0x555793||0x191,_0x383a07,_0x7932d);this[_0x1d21ab(0x15d)](_0x13c5f9,_0x486843,_0x5c2e0f,_0x2a8317,_0x3d92a9,_0x28a727,_0x427148);});return;}if(!this['options'][_0x1b7b61(0x105)](_0x30a255))return _0x210eec(_0x3d92a9,0x191);}this[_0x1b7b61(0x15d)](_0x13c5f9,_0x486843,_0x5c2e0f,_0x2a8317,_0x3d92a9,_0x28a727,_0x427148);}[_0x2ba26b(0x15d)](_0x4e472a,_0x429b38,_0x5244bb,_0x1e8a4e,_0x1514c6,_0x2f16c4,_0x475d01){const _0x1a4de7=_0x2ba26b;if(!_0x1514c6['readable']||!_0x1514c6[_0x1a4de7(0xd2)])return _0x1514c6[_0x1a4de7(0x1f7)]();if(_0x1514c6[_0x42fdbd])throw new Error(_0x1a4de7(0xdb));if(this[_0x1a4de7(0xcf)]>_0x49c675)return _0x210eec(_0x1514c6,0x1f7);const _0x2b4408=[_0x1a4de7(0x22f),'Upgrade:\x20websocket','Connection:\x20Upgrade',_0x1a4de7(0x1ef)+_0x5a5350(_0x1a4de7(0xee))[_0x1a4de7(0x153)](_0x429b38+_0x3fff7e)['digest'](_0x1a4de7(0x193))],_0x55060c=new this[(_0x1a4de7(0x1b1))][(_0x1a4de7(0x142))](null,void 0x0,this[_0x1a4de7(0x1b1)]);if(_0x5244bb[_0x1a4de7(0x125)]){const _0x5d7f67=this[_0x1a4de7(0x1b1)][_0x1a4de7(0x17e)]?this[_0x1a4de7(0x1b1)][_0x1a4de7(0x17e)](_0x5244bb,_0x1e8a4e):_0x5244bb['values']()[_0x1a4de7(0x144)]()[_0x1a4de7(0x210)];_0x5d7f67&&(_0x2b4408['push'](_0x1a4de7(0x99)+_0x5d7f67),_0x55060c[_0x1a4de7(0x163)]=_0x5d7f67);}if(_0x4e472a[_0xcbe9ce[_0x1a4de7(0x1b4)]]){const _0xbb1841=_0x4e472a[_0xcbe9ce[_0x1a4de7(0x1b4)]][_0x1a4de7(0x1d7)],_0x5e2196=_0x39ad8f[_0x1a4de7(0x1fb)]({[_0xcbe9ce['extensionName']]:[_0xbb1841]});_0x2b4408[_0x1a4de7(0x238)](_0x1a4de7(0x121)+_0x5e2196),_0x55060c[_0x1a4de7(0x14b)]=_0x4e472a;}this['emit'](_0x1a4de7(0xbe),_0x2b4408,_0x1e8a4e),_0x1514c6[_0x1a4de7(0xa2)](_0x2b4408[_0x1a4de7(0x13c)]('\x0d\x0a')['join']('\x0d\x0a')),_0x1514c6['removeListener'](_0x1a4de7(0xf4),_0x2ac1df),_0x55060c[_0x1a4de7(0x1f1)](_0x1514c6,_0x2f16c4,{'allowSynchronousEvents':this[_0x1a4de7(0x1b1)]['allowSynchronousEvents'],'maxPayload':this[_0x1a4de7(0x1b1)][_0x1a4de7(0x1d8)],'skipUTF8Validation':this[_0x1a4de7(0x1b1)][_0x1a4de7(0x134)]}),this[_0x1a4de7(0x1b2)]&&(this[_0x1a4de7(0x1b2)]['add'](_0x55060c),_0x55060c['on'](_0x1a4de7(0x1fe),()=>{const _0x3665ac=_0x1a4de7;this[_0x3665ac(0x1b2)][_0x3665ac(0x14a)](_0x55060c),this[_0x3665ac(0x234)]&&!this[_0x3665ac(0x1b2)][_0x3665ac(0x125)]&&process['nextTick'](_0x7a0ba4,this);})),_0x475d01(_0x55060c,_0x1e8a4e);}}Te=_0x2b7de4;function _0x2c44be(_0x1ac4f5,_0xc60be9){const _0x4273b3=_0x2ba26b;for(const _0x48536c of Object[_0x4273b3(0x227)](_0xc60be9))_0x1ac4f5['on'](_0x48536c,_0xc60be9[_0x48536c]);return function(){const _0xaa1e75=_0x4273b3;for(const _0x1797cd of Object[_0xaa1e75(0x227)](_0xc60be9))_0x1ac4f5['removeListener'](_0x1797cd,_0xc60be9[_0x1797cd]);};}function _0x7a0ba4(_0x2eadf5){const _0x4c7f0f=_0x2ba26b;_0x2eadf5[_0x4c7f0f(0xcf)]=_0x14dcf8,_0x2eadf5[_0x4c7f0f(0x127)](_0x4c7f0f(0x1fe));}function _0x2ac1df(){const _0x516880=_0x2ba26b;this[_0x516880(0x1f7)]();}function _0x210eec(_0x8d5ec3,_0x54b10b,_0x157b3,_0x3be1ce){const _0x291334=_0x2ba26b;_0x157b3=_0x157b3||_0x5ac13d[_0x291334(0x21c)][_0x54b10b],_0x3be1ce={'Connection':_0x291334(0x1fe),'Content-Type':_0x291334(0x1b0),'Content-Length':Buffer[_0x291334(0xad)](_0x157b3),..._0x3be1ce},_0x8d5ec3[_0x291334(0x1c3)](_0x291334(0x217),_0x8d5ec3[_0x291334(0x1f7)]),_0x8d5ec3[_0x291334(0x20c)](_0x291334(0x1e9)+_0x54b10b+'\x20'+_0x5ac13d[_0x291334(0x21c)][_0x54b10b]+'\x0d\x0a'+Object[_0x291334(0x227)](_0x3be1ce)['map'](_0x3c5c74=>_0x3c5c74+':\x20'+_0x3be1ce[_0x3c5c74])[_0x291334(0x23f)]('\x0d\x0a')+_0x291334(0x107)+_0x157b3);}function _0x5c737(_0x1d1798,_0x389f28,_0x18678d,_0x59c42e,_0x370cd5,_0xfe1740){const _0x21515f=_0x2ba26b;if(_0x1d1798[_0x21515f(0x124)](_0x21515f(0xcd))){const _0x41fa32=new Error(_0x370cd5);Error[_0x21515f(0x1ff)](_0x41fa32,_0x5c737),_0x1d1798[_0x21515f(0x127)](_0x21515f(0xcd),_0x41fa32,_0x18678d,_0x389f28);}else _0x210eec(_0x18678d,_0x59c42e,_0x370cd5,_0xfe1740);}return Te;}er();var tr=Object[_0x4a8798(0x21f)],rr=(_0x4bb283,_0x1dbf5e,_0x44929c,_0x266789)=>{const _0x5e8a09=_0x4a8798;for(var _0x335194=_0x266789>0x1?void 0x0:_0x266789?tr(_0x1dbf5e,_0x44929c):_0x1dbf5e,_0x5d0916=_0x4bb283[_0x5e8a09(0x17b)]-0x1,_0x881d74;_0x5d0916>=0x0;_0x5d0916--)(_0x881d74=_0x4bb283[_0x5d0916])&&(_0x335194=_0x881d74(_0x335194)||_0x335194);return _0x335194;},sr=(_0x5f197a,_0x4f0ee9)=>(_0x468574,_0x241105)=>_0x4f0ee9(_0x468574,_0x241105,_0x5f197a);let Ne=class extends _0x2229fd{constructor(_0x240230){const _0x18dd99=_0x4a8798;super(),this[_0x18dd99(0x236)]=_0x240230;}['createSocket'](_0xd5daa4){const _0x2e5ec3=_0x4a8798;var _0x42ad39;const _0x3cb780=(_0x42ad39=this['_configService']['getConfig'](Be))==null?void 0x0:_0x42ad39[_0x2e5ec3(0x232)];try{const _0x43becd=new Qt(_0xd5daa4,{'headers':{..._0x3cb780}}),_0x5ac06c=new _0x1c0e39();return{'URL':_0xd5daa4,'close':(_0x1e050a,_0x33b4fc)=>{_0x43becd['close'](_0x1e050a,_0x33b4fc),_0x5ac06c['dispose']();},'send':_0x93993a=>{const _0x3bc885=_0x2e5ec3;_0x43becd[_0x3bc885(0x21b)](_0x93993a);},'open$':new _0x5a28b9(_0x3d1d1c=>{const _0x216b04=_0x2e5ec3,_0x36ec33=_0x1844cb=>_0x3d1d1c[_0x216b04(0x144)](_0x1844cb);_0x43becd['addEventListener'](_0x216b04(0x187),_0x36ec33),_0x5ac06c[_0x216b04(0x162)](_0x208b1(()=>_0x43becd[_0x216b04(0x1f2)](_0x216b04(0x187),_0x36ec33)));})['pipe'](_0xb4c0a4()),'close$':new _0x5a28b9(_0x258439=>{const _0x284c88=_0x2e5ec3,_0x5c510f=_0x33653f=>_0x258439['next'](_0x33653f);_0x43becd[_0x284c88(0x201)](_0x284c88(0x1fe),_0x5c510f),_0x5ac06c[_0x284c88(0x162)](_0x208b1(()=>_0x43becd[_0x284c88(0x1f2)](_0x284c88(0x1fe),_0x5c510f)));})[_0x2e5ec3(0x23d)](_0xb4c0a4()),'error$':new _0x5a28b9(_0x2be33a=>{const _0x5edf0b=_0x2e5ec3,_0x467b6d=_0x2febb0=>_0x2be33a[_0x5edf0b(0x144)](_0x2febb0);_0x43becd['addEventListener'](_0x5edf0b(0xf4),_0x467b6d),_0x5ac06c['add'](_0x208b1(()=>_0x43becd[_0x5edf0b(0x1f2)](_0x5edf0b(0xf4),_0x467b6d)));})[_0x2e5ec3(0x23d)](_0xb4c0a4()),'message$':new _0x5a28b9(_0x259bbc=>{const _0x14e1c7=_0x2e5ec3,_0x88ec5c=_0x29aee6=>_0x259bbc['next'](_0x29aee6);_0x43becd[_0x14e1c7(0x201)](_0x14e1c7(0x192),_0x88ec5c),_0x5ac06c[_0x14e1c7(0x162)](_0x208b1(()=>_0x43becd['removeEventListener'](_0x14e1c7(0x192),_0x88ec5c)));})[_0x2e5ec3(0x23d)](_0xb4c0a4())};}catch(_0x2404b3){return console['error'](_0x2404b3),null;}}};Ne=rr([sr(0x0,_0x394cde)],Ne);var ir=Object[_0x4a8798(0x20a)],nr=Object[_0x4a8798(0x21f)],or=(_0x225937,_0x53bd98,_0x36eba4)=>_0x53bd98 in _0x225937?ir(_0x225937,_0x53bd98,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x36eba4}):_0x225937[_0x53bd98]=_0x36eba4,ar=(_0x2f3a86,_0x13cc02,_0x2f1154,_0x3364a6)=>{for(var _0x5e9466=_0x3364a6>0x1?void 0x0:_0x3364a6?nr(_0x13cc02,_0x2f1154):_0x13cc02,_0x50b9d3=_0x2f3a86['length']-0x1,_0x54e194;_0x50b9d3>=0x0;_0x50b9d3--)(_0x54e194=_0x2f3a86[_0x50b9d3])&&(_0x5e9466=_0x54e194(_0x5e9466)||_0x5e9466);return _0x5e9466;},ke=(_0xd3f46d,_0x4ac17e)=>(_0xb2e59c,_0x3073ca)=>_0x4ac17e(_0xb2e59c,_0x3073ca,_0xd3f46d),lr=(_0x17eda2,_0x4a5de2,_0x1d6941)=>or(_0x17eda2,_0x4a5de2+'',_0x1d6941);let Pe=class extends _0x1ec056{constructor(_0x3da418=Ft,_0x5bf1c0,_0x14ac67,_0x384f1c){const _0x1a6f31=_0x4a8798;_0x3da418[_0x1a6f31(0x232)]||_0x5bf1c0[_0x1a6f31(0x97)](_0x1a6f31(0x203)),super(),this[_0x1a6f31(0x236)]=_0x14ac67,this['_injector']=_0x384f1c,this[_0x1a6f31(0x236)][_0x1a6f31(0xde)](Be,_0x3da418);}['onStarting'](){this['_registerDependencies']();}[_0x4a8798(0x226)](){const _0x454dd8=_0x4a8798;_0x1f5797(this[_0x454dd8(0x190)],[[_0x439c29,{'useClass':Ne}]]);}};lr(Pe,_0x4a8798(0x1ee),_0x4a8798(0xf7)),Pe=ar([_0x1fb60f(_0x3fbefe),ke(0x1,_0x3f2986),ke(0x2,_0x394cde),ke(0x3,_0x5b8dd8(_0x31ef33))],Pe);var fr=Object[_0x4a8798(0x21f)],cr=(_0x3723af,_0x20c418,_0xebc714,_0x2c8348)=>{const _0x509434=_0x4a8798;for(var _0x48c3fd=_0x2c8348>0x1?void 0x0:_0x2c8348?fr(_0x20c418,_0xebc714):_0x20c418,_0x58c300=_0x3723af[_0x509434(0x17b)]-0x1,_0x152996;_0x58c300>=0x0;_0x58c300--)(_0x152996=_0x3723af[_0x58c300])&&(_0x48c3fd=_0x152996(_0x48c3fd)||_0x48c3fd);return _0x48c3fd;},se=(_0x4f73bf,_0x5b130e)=>(_0x122428,_0x1d98b1)=>_0x5b130e(_0x122428,_0x1d98b1,_0x4f73bf);let at=class extends _0x1183c4{constructor(_0x25d186,_0x36c230,_0x38905e,_0x53ee80,_0x10c389){const _0x428b8a=_0x4a8798;super(_0x25d186,_0x36c230,_0x38905e,_0x53ee80,_0x10c389);const _0x52647c=this['_configService']['getConfig'](Be);this[_0x428b8a(0xac)]['registerHTTPInterceptor']({'interceptor':(_0x2c16b4,_0x1815ca)=>{const _0x3bda9e=_0x428b8a;var _0x515001;const _0x3f326b=_0x2c16b4[_0x3bda9e(0xbe)];return(_0x515001=_0x52647c==null?void 0x0:_0x52647c[_0x3bda9e(0x232)])!=null&&_0x515001['cookie']&&_0x3f326b[_0x3bda9e(0xc2)](_0x3bda9e(0x19b),_0x52647c[_0x3bda9e(0x232)][_0x3bda9e(0x136)]),_0x1815ca(_0x2c16b4);}});}async[_0x4a8798(0xd5)](_0x1c9281){return this['_doCreateSocket'](_0x1c9281);}};at=cr([se(0x0,_0x5b8dd8(_0x31ef33)),se(0x1,_0x5b8dd8(_0x104112)),se(0x2,_0x394cde),se(0x3,_0x3f2986),se(0x4,_0x19289f)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};