@univerjs-pro/collaboration-client-node 0.6.10-nightly.202504151606 → 0.6.10-nightly.202504171607

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 _0x33df0b=_0x59bf;(function(_0x471e14,_0x1a7ef1){const _0xff613b=_0x59bf,_0x59f226=_0x471e14();while(!![]){try{const _0xf8c76c=parseInt(_0xff613b(0x244))/0x1+parseInt(_0xff613b(0x104))/0x2*(parseInt(_0xff613b(0x25d))/0x3)+parseInt(_0xff613b(0x21f))/0x4+-parseInt(_0xff613b(0x218))/0x5*(parseInt(_0xff613b(0x28d))/0x6)+parseInt(_0xff613b(0x1bd))/0x7*(parseInt(_0xff613b(0x149))/0x8)+-parseInt(_0xff613b(0x222))/0x9*(parseInt(_0xff613b(0x136))/0xa)+-parseInt(_0xff613b(0x28a))/0xb;if(_0xf8c76c===_0x1a7ef1)break;else _0x59f226['push'](_0x59f226['shift']());}catch(_0x5771d9){_0x59f226['push'](_0x59f226['shift']());}}}(_0x4cd2,0xa499d));import{UniverCollaborationClientPlugin as _0x5e60c4,CollaborationSocketService as _0x49266f}from'@univerjs-pro/collaboration-client';import{Disposable as _0x151b2e,DisposableCollection as _0x35eeb8,toDisposable as _0x175fb8,IConfigService as _0x55e6a4,DependentOn as _0x591db1,ILogService as _0x1ef59f,Inject as _0x5e37b3,Injector as _0x559f36,Plugin as _0x2b6ee8,registerDependencies as _0x192d32}from'@univerjs/core';import{ISocketService as _0x221e9c,HTTPService as _0x2a7087}from'@univerjs/network';import{Observable as _0x13a9a4,share as _0x3f6c3a}from'rxjs';import _0x270560 from'events';import _0x564069 from'https';import _0x22e837 from'http';import _0x20ac66 from'net';import _0x38be72 from'tls';import _0x50de3c from'crypto';import _0x5a4a29 from'stream';import _0x3742e5 from'url';import _0x59de5c from'zlib';import _0x4c5b95 from'buffer';function _0x59bf(_0x1de38c,_0x53e0fb){const _0x4cd259=_0x4cd2();return _0x59bf=function(_0x59bf9f,_0x51814d){_0x59bf9f=_0x59bf9f-0xea;let _0x317e3a=_0x4cd259[_0x59bf9f];return _0x317e3a;},_0x59bf(_0x1de38c,_0x53e0fb);}import{ISnapshotServerService as _0x8a3bb7}from'@univerjs-pro/collaboration';const Be='collaboration-client-node.config',Ft={'customHeaders':{}};function jt(_0x3ab3c3){const _0x137276=_0x59bf;return _0x3ab3c3&&_0x3ab3c3[_0x137276(0x23e)]&&Object[_0x137276(0x210)][_0x137276(0x280)][_0x137276(0x267)](_0x3ab3c3,'default')?_0x3ab3c3['default']:_0x3ab3c3;}function ut(_0x849b72){const _0x378c4b=_0x59bf;if(Object['prototype'][_0x378c4b(0x280)][_0x378c4b(0x267)](_0x849b72,'__esModule'))return _0x849b72;var _0x37206a=_0x849b72[_0x378c4b(0x22d)];if(typeof _0x37206a==_0x378c4b(0x206)){var _0x32d963=function _0x52e440(){const _0x2b6ef1=_0x378c4b;return this instanceof _0x52e440?Reflect['construct'](_0x37206a,arguments,this['constructor']):_0x37206a[_0x2b6ef1(0xfe)](this,arguments);};_0x32d963[_0x378c4b(0x210)]=_0x37206a['prototype'];}else _0x32d963={};return Object['defineProperty'](_0x32d963,_0x378c4b(0x23e),{'value':!0x0}),Object[_0x378c4b(0x1f3)](_0x849b72)[_0x378c4b(0x1c9)](function(_0x1706b7){const _0x43b374=_0x378c4b;var _0x500912=Object[_0x43b374(0x14c)](_0x849b72,_0x1706b7);Object[_0x43b374(0x27a)](_0x32d963,_0x1706b7,_0x500912[_0x43b374(0x1f5)]?_0x500912:{'enumerable':!0x0,'get':function(){return _0x849b72[_0x1706b7];}});}),_0x32d963;}var te={'exports':{}},ge,Ye;function V(){const _0x3c327d=_0x59bf;if(Ye)return ge;Ye=0x1;const _0x397abf=[_0x3c327d(0x21c),_0x3c327d(0x24f),'fragments'],_0x5d37b2=typeof Blob<'u';return _0x5d37b2&&_0x397abf[_0x3c327d(0x18d)]('blob'),ge={'BINARY_TYPES':_0x397abf,'EMPTY_BUFFER':Buffer[_0x3c327d(0x134)](0x0),'GUID':_0x3c327d(0xf1),'hasBlob':_0x5d37b2,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x3c327d(0xf0)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0x3c327d(0x12c)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x33df0b(0x139)](Object[_0x33df0b(0x27a)]({'__proto__':null,'default':Wt},Symbol[_0x33df0b(0x15a)],{'value':'Module'})),Vt=ut(Gt);var Ke;function ce(){const _0xc7924a=_0x33df0b;if(Ke)return te[_0xc7924a(0x209)];Ke=0x1;const {EMPTY_BUFFER:_0x7316b7}=V(),_0x55c7b0=Buffer[Symbol['species']];function _0x257faf(_0x4baf69,_0x52088f){const _0x145aba=_0xc7924a;if(_0x4baf69[_0x145aba(0x24a)]===0x0)return _0x7316b7;if(_0x4baf69['length']===0x1)return _0x4baf69[0x0];const _0x5446bf=Buffer[_0x145aba(0x10c)](_0x52088f);let _0x133db0=0x0;for(let _0x35e48d=0x0;_0x35e48d<_0x4baf69[_0x145aba(0x24a)];_0x35e48d++){const _0x37e537=_0x4baf69[_0x35e48d];_0x5446bf['set'](_0x37e537,_0x133db0),_0x133db0+=_0x37e537[_0x145aba(0x24a)];}return _0x133db0<_0x52088f?new _0x55c7b0(_0x5446bf[_0x145aba(0x25c)],_0x5446bf[_0x145aba(0x12f)],_0x133db0):_0x5446bf;}function _0x22f0f6(_0x41941b,_0x62da50,_0x4b6047,_0x4d0ccd,_0x1260c2){for(let _0x4b27f3=0x0;_0x4b27f3<_0x1260c2;_0x4b27f3++)_0x4b6047[_0x4d0ccd+_0x4b27f3]=_0x41941b[_0x4b27f3]^_0x62da50[_0x4b27f3&0x3];}function _0x5f1507(_0x4d8438,_0x27818f){const _0x1c0352=_0xc7924a;for(let _0x49a7b2=0x0;_0x49a7b2<_0x4d8438[_0x1c0352(0x24a)];_0x49a7b2++)_0x4d8438[_0x49a7b2]^=_0x27818f[_0x49a7b2&0x3];}function _0x5c5ae4(_0x395be4){const _0x50760a=_0xc7924a;return _0x395be4[_0x50760a(0x24a)]===_0x395be4['buffer'][_0x50760a(0x197)]?_0x395be4[_0x50760a(0x25c)]:_0x395be4[_0x50760a(0x25c)][_0x50760a(0x117)](_0x395be4[_0x50760a(0x12f)],_0x395be4[_0x50760a(0x12f)]+_0x395be4[_0x50760a(0x24a)]);}function _0x4972cf(_0x3b5738){const _0x11abb2=_0xc7924a;if(_0x4972cf[_0x11abb2(0x26a)]=!0x0,Buffer['isBuffer'](_0x3b5738))return _0x3b5738;let _0x318915;return _0x3b5738 instanceof ArrayBuffer?_0x318915=new _0x55c7b0(_0x3b5738):ArrayBuffer['isView'](_0x3b5738)?_0x318915=new _0x55c7b0(_0x3b5738[_0x11abb2(0x25c)],_0x3b5738['byteOffset'],_0x3b5738[_0x11abb2(0x197)]):(_0x318915=Buffer['from'](_0x3b5738),_0x4972cf[_0x11abb2(0x26a)]=!0x1),_0x318915;}if(te[_0xc7924a(0x209)]={'concat':_0x257faf,'mask':_0x22f0f6,'toArrayBuffer':_0x5c5ae4,'toBuffer':_0x4972cf,'unmask':_0x5f1507},!process[_0xc7924a(0x11f)][_0xc7924a(0x245)])try{const _0x5425e2=Vt;te[_0xc7924a(0x209)][_0xc7924a(0x1b2)]=function(_0x49b4b7,_0x312838,_0x143d0d,_0x59ee02,_0x44698a){const _0x9822d2=_0xc7924a;_0x44698a<0x30?_0x22f0f6(_0x49b4b7,_0x312838,_0x143d0d,_0x59ee02,_0x44698a):_0x5425e2[_0x9822d2(0x1b2)](_0x49b4b7,_0x312838,_0x143d0d,_0x59ee02,_0x44698a);},te[_0xc7924a(0x209)][_0xc7924a(0x264)]=function(_0x37d1d9,_0x9acf1){const _0x24a19e=_0xc7924a;_0x37d1d9[_0x24a19e(0x24a)]<0x20?_0x5f1507(_0x37d1d9,_0x9acf1):_0x5425e2['unmask'](_0x37d1d9,_0x9acf1);};}catch{}return te[_0xc7924a(0x209)];}var ye,Xe;function qt(){const _0x6ae5cd=_0x33df0b;if(Xe)return ye;Xe=0x1;const _0x4d0493=Symbol('kDone'),_0x5ca19b=Symbol('kRun');class _0x47bf59{constructor(_0x3935bf){const _0x5a03ee=_0x59bf;this[_0x4d0493]=()=>{this['pending']--,this[_0x5ca19b]();},this['concurrency']=_0x3935bf||0x1/0x0,this[_0x5a03ee(0x118)]=[],this[_0x5a03ee(0x288)]=0x0;}[_0x6ae5cd(0x186)](_0x30297c){const _0x5bfa04=_0x6ae5cd;this['jobs'][_0x5bfa04(0x18d)](_0x30297c),this[_0x5ca19b]();}[_0x5ca19b](){const _0x277eb0=_0x6ae5cd;if(this['pending']!==this['concurrency']&&this[_0x277eb0(0x118)][_0x277eb0(0x24a)]){const _0x4b5a4f=this['jobs']['shift']();this[_0x277eb0(0x288)]++,_0x4b5a4f(this[_0x4d0493]);}}}return ye=_0x47bf59,ye;}var ve,Ze;function he(){const _0x1aefd5=_0x33df0b;if(Ze)return ve;Ze=0x1;const _0xe8292a=_0x59de5c,_0x3ae1f7=ce(),_0x545f95=qt(),{kStatusCode:_0x4d294f}=V(),_0x2b2122=Buffer[Symbol[_0x1aefd5(0x235)]],_0xfbe4be=Buffer[_0x1aefd5(0x238)]([0x0,0x0,0xff,0xff]),_0x102384=Symbol(_0x1aefd5(0x1db)),_0xf03d2b=Symbol(_0x1aefd5(0x217)),_0x48ef9b=Symbol(_0x1aefd5(0x1ea)),_0x368cc3=Symbol(_0x1aefd5(0x115)),_0x5d63de=Symbol('error');let _0x47c787;class _0x392bfb{constructor(_0x33d4a8,_0x171f42,_0x2e5358){const _0x23853d=_0x1aefd5;if(this[_0x23853d(0x20f)]=_0x2e5358|0x0,this['_options']=_0x33d4a8||{},this[_0x23853d(0x234)]=this[_0x23853d(0x22a)]['threshold']!==void 0x0?this[_0x23853d(0x22a)]['threshold']:0x400,this['_isServer']=!!_0x171f42,this[_0x23853d(0xfb)]=null,this[_0x23853d(0x232)]=null,this[_0x23853d(0x183)]=null,!_0x47c787){const _0x418318=this['_options']['concurrencyLimit']!==void 0x0?this[_0x23853d(0x22a)][_0x23853d(0x126)]:0xa;_0x47c787=new _0x545f95(_0x418318);}}static get[_0x1aefd5(0x23a)](){const _0x56ccd6=_0x1aefd5;return _0x56ccd6(0x1db);}[_0x1aefd5(0x28f)](){const _0x565170=_0x1aefd5,_0x3ba8a3={};return this[_0x565170(0x22a)][_0x565170(0x192)]&&(_0x3ba8a3[_0x565170(0x19b)]=!0x0),this[_0x565170(0x22a)]['clientNoContextTakeover']&&(_0x3ba8a3[_0x565170(0x259)]=!0x0),this[_0x565170(0x22a)][_0x565170(0xf5)]&&(_0x3ba8a3['server_max_window_bits']=this[_0x565170(0x22a)][_0x565170(0xf5)]),this[_0x565170(0x22a)][_0x565170(0x12b)]?_0x3ba8a3[_0x565170(0x278)]=this['_options'][_0x565170(0x12b)]:this[_0x565170(0x22a)]['clientMaxWindowBits']==null&&(_0x3ba8a3[_0x565170(0x278)]=!0x0),_0x3ba8a3;}['accept'](_0x11b557){const _0xe0d2fe=_0x1aefd5;return _0x11b557=this['normalizeParams'](_0x11b557),this[_0xe0d2fe(0x183)]=this[_0xe0d2fe(0x189)]?this[_0xe0d2fe(0x270)](_0x11b557):this[_0xe0d2fe(0x10b)](_0x11b557),this[_0xe0d2fe(0x183)];}[_0x1aefd5(0x16a)](){const _0x5ae012=_0x1aefd5;if(this['_inflate']&&(this['_inflate'][_0x5ae012(0xf3)](),this[_0x5ae012(0x232)]=null),this[_0x5ae012(0xfb)]){const _0x2604c4=this[_0x5ae012(0xfb)][_0x48ef9b];this[_0x5ae012(0xfb)][_0x5ae012(0xf3)](),this['_deflate']=null,_0x2604c4&&_0x2604c4(new Error(_0x5ae012(0x15c)));}}[_0x1aefd5(0x270)](_0x28ab0a){const _0x3312ae=_0x1aefd5,_0x4587e2=this[_0x3312ae(0x22a)],_0x45dc77=_0x28ab0a[_0x3312ae(0x27b)](_0xd6c78=>!(_0x4587e2[_0x3312ae(0x192)]===!0x1&&_0xd6c78[_0x3312ae(0x19b)]||_0xd6c78[_0x3312ae(0x28e)]&&(_0x4587e2[_0x3312ae(0xf5)]===!0x1||typeof _0x4587e2['serverMaxWindowBits']==_0x3312ae(0x1fd)&&_0x4587e2[_0x3312ae(0xf5)]>_0xd6c78['server_max_window_bits'])||typeof _0x4587e2['clientMaxWindowBits']==_0x3312ae(0x1fd)&&!_0xd6c78[_0x3312ae(0x278)]));if(!_0x45dc77)throw new Error(_0x3312ae(0x12d));return _0x4587e2['serverNoContextTakeover']&&(_0x45dc77[_0x3312ae(0x19b)]=!0x0),_0x4587e2[_0x3312ae(0x1fc)]&&(_0x45dc77['client_no_context_takeover']=!0x0),typeof _0x4587e2['serverMaxWindowBits']==_0x3312ae(0x1fd)&&(_0x45dc77[_0x3312ae(0x28e)]=_0x4587e2[_0x3312ae(0xf5)]),typeof _0x4587e2[_0x3312ae(0x12b)]=='number'?_0x45dc77[_0x3312ae(0x278)]=_0x4587e2[_0x3312ae(0x12b)]:(_0x45dc77[_0x3312ae(0x278)]===!0x0||_0x4587e2[_0x3312ae(0x12b)]===!0x1)&&delete _0x45dc77['client_max_window_bits'],_0x45dc77;}[_0x1aefd5(0x10b)](_0x4b9c3a){const _0x57c5b9=_0x1aefd5,_0x3db2e1=_0x4b9c3a[0x0];if(this['_options']['clientNoContextTakeover']===!0x1&&_0x3db2e1['client_no_context_takeover'])throw new Error(_0x57c5b9(0x172));if(!_0x3db2e1[_0x57c5b9(0x278)])typeof this[_0x57c5b9(0x22a)][_0x57c5b9(0x12b)]==_0x57c5b9(0x1fd)&&(_0x3db2e1[_0x57c5b9(0x278)]=this['_options'][_0x57c5b9(0x12b)]);else{if(this[_0x57c5b9(0x22a)][_0x57c5b9(0x12b)]===!0x1||typeof this[_0x57c5b9(0x22a)][_0x57c5b9(0x12b)]==_0x57c5b9(0x1fd)&&_0x3db2e1[_0x57c5b9(0x278)]>this[_0x57c5b9(0x22a)][_0x57c5b9(0x12b)])throw new Error(_0x57c5b9(0x28b));}return _0x3db2e1;}[_0x1aefd5(0x103)](_0x30a983){const _0x3e5312=_0x1aefd5;return _0x30a983[_0x3e5312(0x1c9)](_0x38d64d=>{const _0x592e62=_0x3e5312;Object[_0x592e62(0x1f3)](_0x38d64d)[_0x592e62(0x1c9)](_0x1bd41e=>{const _0x2c34b1=_0x592e62;let _0x3df826=_0x38d64d[_0x1bd41e];if(_0x3df826[_0x2c34b1(0x24a)]>0x1)throw new Error(_0x2c34b1(0x21a)+_0x1bd41e+_0x2c34b1(0x1ee));if(_0x3df826=_0x3df826[0x0],_0x1bd41e===_0x2c34b1(0x278)){if(_0x3df826!==!0x0){const _0x556e42=+_0x3df826;if(!Number[_0x2c34b1(0x162)](_0x556e42)||_0x556e42<0x8||_0x556e42>0xf)throw new TypeError(_0x2c34b1(0x258)+_0x1bd41e+_0x2c34b1(0x239)+_0x3df826);_0x3df826=_0x556e42;}else{if(!this[_0x2c34b1(0x189)])throw new TypeError(_0x2c34b1(0x258)+_0x1bd41e+'\x22:\x20'+_0x3df826);}}else{if(_0x1bd41e==='server_max_window_bits'){const _0x8e0e1e=+_0x3df826;if(!Number[_0x2c34b1(0x162)](_0x8e0e1e)||_0x8e0e1e<0x8||_0x8e0e1e>0xf)throw new TypeError(_0x2c34b1(0x258)+_0x1bd41e+_0x2c34b1(0x239)+_0x3df826);_0x3df826=_0x8e0e1e;}else{if(_0x1bd41e==='client_no_context_takeover'||_0x1bd41e==='server_no_context_takeover'){if(_0x3df826!==!0x0)throw new TypeError(_0x2c34b1(0x258)+_0x1bd41e+_0x2c34b1(0x239)+_0x3df826);}else throw new Error(_0x2c34b1(0x182)+_0x1bd41e+'\x22');}}_0x38d64d[_0x1bd41e]=_0x3df826;});}),_0x30a983;}[_0x1aefd5(0x10e)](_0x5c9e49,_0x2e58c9,_0x404f58){const _0x304d47=_0x1aefd5;_0x47c787[_0x304d47(0x186)](_0x2335b3=>{const _0x219410=_0x304d47;this[_0x219410(0x28c)](_0x5c9e49,_0x2e58c9,(_0x4255a2,_0x2d7bad)=>{_0x2335b3(),_0x404f58(_0x4255a2,_0x2d7bad);});});}[_0x1aefd5(0x248)](_0x447557,_0x17ccd0,_0x36b756){_0x47c787['add'](_0x2e7522=>{const _0x21ec3c=_0x59bf;this[_0x21ec3c(0x223)](_0x447557,_0x17ccd0,(_0x5c0d18,_0x27dabe)=>{_0x2e7522(),_0x36b756(_0x5c0d18,_0x27dabe);});});}[_0x1aefd5(0x28c)](_0x19e760,_0x25f82c,_0x38dd7c){const _0x3d18e1=_0x1aefd5,_0x13ddcb=this['_isServer']?_0x3d18e1(0x1f6):_0x3d18e1(0x213);if(!this[_0x3d18e1(0x232)]){const _0x34b438=_0x13ddcb+_0x3d18e1(0x211),_0xccd178=typeof this[_0x3d18e1(0x183)][_0x34b438]!=_0x3d18e1(0x1fd)?_0xe8292a[_0x3d18e1(0x1ac)]:this[_0x3d18e1(0x183)][_0x34b438];this[_0x3d18e1(0x232)]=_0xe8292a[_0x3d18e1(0x1d2)]({...this[_0x3d18e1(0x22a)][_0x3d18e1(0x200)],'windowBits':_0xccd178}),this['_inflate'][_0x102384]=this,this[_0x3d18e1(0x232)][_0xf03d2b]=0x0,this['_inflate'][_0x368cc3]=[],this[_0x3d18e1(0x232)]['on'](_0x3d18e1(0x18a),_0x180eeb),this[_0x3d18e1(0x232)]['on'](_0x3d18e1(0x1b4),_0x170a1a);}this[_0x3d18e1(0x232)][_0x48ef9b]=_0x38dd7c,this[_0x3d18e1(0x232)][_0x3d18e1(0x261)](_0x19e760),_0x25f82c&&this[_0x3d18e1(0x232)]['write'](_0xfbe4be),this[_0x3d18e1(0x232)][_0x3d18e1(0x123)](()=>{const _0x24d345=_0x3d18e1,_0x52dbb3=this[_0x24d345(0x232)][_0x5d63de];if(_0x52dbb3){this[_0x24d345(0x232)]['close'](),this[_0x24d345(0x232)]=null,_0x38dd7c(_0x52dbb3);return;}const _0x570dc1=_0x3ae1f7[_0x24d345(0xf4)](this['_inflate'][_0x368cc3],this[_0x24d345(0x232)][_0xf03d2b]);this[_0x24d345(0x232)][_0x24d345(0x18c)][_0x24d345(0x282)]?(this['_inflate'][_0x24d345(0xf3)](),this['_inflate']=null):(this[_0x24d345(0x232)][_0xf03d2b]=0x0,this[_0x24d345(0x232)][_0x368cc3]=[],_0x25f82c&&this['params'][_0x13ddcb+_0x24d345(0x23f)]&&this['_inflate'][_0x24d345(0x1af)]()),_0x38dd7c(null,_0x570dc1);});}[_0x1aefd5(0x223)](_0x4879d7,_0xd2a38e,_0x438c83){const _0x3025f3=_0x1aefd5,_0x37a7b0=this[_0x3025f3(0x189)]?_0x3025f3(0x213):_0x3025f3(0x1f6);if(!this[_0x3025f3(0xfb)]){const _0x3aa894=_0x37a7b0+_0x3025f3(0x211),_0x8e5c9a=typeof this['params'][_0x3aa894]!=_0x3025f3(0x1fd)?_0xe8292a[_0x3025f3(0x1ac)]:this['params'][_0x3aa894];this[_0x3025f3(0xfb)]=_0xe8292a[_0x3025f3(0x215)]({...this['_options'][_0x3025f3(0x279)],'windowBits':_0x8e5c9a}),this[_0x3025f3(0xfb)][_0xf03d2b]=0x0,this[_0x3025f3(0xfb)][_0x368cc3]=[],this[_0x3025f3(0xfb)]['on'](_0x3025f3(0x1b4),_0x5025ce);}this[_0x3025f3(0xfb)][_0x48ef9b]=_0x438c83,this[_0x3025f3(0xfb)][_0x3025f3(0x261)](_0x4879d7),this['_deflate']['flush'](_0xe8292a[_0x3025f3(0x1b8)],()=>{const _0x495f36=_0x3025f3;if(!this['_deflate'])return;let _0x419622=_0x3ae1f7[_0x495f36(0xf4)](this[_0x495f36(0xfb)][_0x368cc3],this[_0x495f36(0xfb)][_0xf03d2b]);_0xd2a38e&&(_0x419622=new _0x2b2122(_0x419622[_0x495f36(0x25c)],_0x419622[_0x495f36(0x12f)],_0x419622[_0x495f36(0x24a)]-0x4)),this[_0x495f36(0xfb)][_0x48ef9b]=null,this['_deflate'][_0xf03d2b]=0x0,this['_deflate'][_0x368cc3]=[],_0xd2a38e&&this['params'][_0x37a7b0+_0x495f36(0x23f)]&&this[_0x495f36(0xfb)][_0x495f36(0x1af)](),_0x438c83(null,_0x419622);});}}ve=_0x392bfb;function _0x5025ce(_0xc6895c){const _0x2b94a4=_0x1aefd5;this[_0x368cc3][_0x2b94a4(0x18d)](_0xc6895c),this[_0xf03d2b]+=_0xc6895c['length'];}function _0x170a1a(_0x56215d){const _0x41e7c1=_0x1aefd5;if(this[_0xf03d2b]+=_0x56215d[_0x41e7c1(0x24a)],this[_0x102384]['_maxPayload']<0x1||this[_0xf03d2b]<=this[_0x102384][_0x41e7c1(0x20f)]){this[_0x368cc3][_0x41e7c1(0x18d)](_0x56215d);return;}this[_0x5d63de]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x5d63de][_0x41e7c1(0x216)]=_0x41e7c1(0x178),this[_0x5d63de][_0x4d294f]=0x3f1,this[_0x41e7c1(0x27e)](_0x41e7c1(0x1b4),_0x170a1a),this[_0x41e7c1(0x1af)]();}function _0x180eeb(_0x2217a5){const _0x53ae62=_0x1aefd5;this[_0x102384][_0x53ae62(0x232)]=null,_0x2217a5[_0x4d294f]=0x3ef,this[_0x48ef9b](_0x2217a5);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x33df0b(0x139)](Object[_0x33df0b(0x27a)]({'__proto__':null,'default':Ht},Symbol[_0x33df0b(0x15a)],{'value':_0x33df0b(0x1fb)})),Yt=ut(zt);var Qe;function ne(){const _0x4ecf60=_0x33df0b;if(Qe)return re[_0x4ecf60(0x209)];Qe=0x1;const {isUtf8:_0x3b8d05}=_0x4c5b95,{hasBlob:_0x2d8bd6}=V(),_0x375438=[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 _0x259f73(_0x101b77){return _0x101b77>=0x3e8&&_0x101b77<=0x3f6&&_0x101b77!==0x3ec&&_0x101b77!==0x3ed&&_0x101b77!==0x3ee||_0x101b77>=0xbb8&&_0x101b77<=0x1387;}function _0x1b8efa(_0x1eaee5){const _0x3d81a1=_0x1eaee5['length'];let _0x2b3020=0x0;for(;_0x2b3020<_0x3d81a1;)if((_0x1eaee5[_0x2b3020]&0x80)===0x0)_0x2b3020++;else{if((_0x1eaee5[_0x2b3020]&0xe0)===0xc0){if(_0x2b3020+0x1===_0x3d81a1||(_0x1eaee5[_0x2b3020+0x1]&0xc0)!==0x80||(_0x1eaee5[_0x2b3020]&0xfe)===0xc0)return!0x1;_0x2b3020+=0x2;}else{if((_0x1eaee5[_0x2b3020]&0xf0)===0xe0){if(_0x2b3020+0x2>=_0x3d81a1||(_0x1eaee5[_0x2b3020+0x1]&0xc0)!==0x80||(_0x1eaee5[_0x2b3020+0x2]&0xc0)!==0x80||_0x1eaee5[_0x2b3020]===0xe0&&(_0x1eaee5[_0x2b3020+0x1]&0xe0)===0x80||_0x1eaee5[_0x2b3020]===0xed&&(_0x1eaee5[_0x2b3020+0x1]&0xe0)===0xa0)return!0x1;_0x2b3020+=0x3;}else{if((_0x1eaee5[_0x2b3020]&0xf8)===0xf0){if(_0x2b3020+0x3>=_0x3d81a1||(_0x1eaee5[_0x2b3020+0x1]&0xc0)!==0x80||(_0x1eaee5[_0x2b3020+0x2]&0xc0)!==0x80||(_0x1eaee5[_0x2b3020+0x3]&0xc0)!==0x80||_0x1eaee5[_0x2b3020]===0xf0&&(_0x1eaee5[_0x2b3020+0x1]&0xf0)===0x80||_0x1eaee5[_0x2b3020]===0xf4&&_0x1eaee5[_0x2b3020+0x1]>0x8f||_0x1eaee5[_0x2b3020]>0xf4)return!0x1;_0x2b3020+=0x4;}else return!0x1;}}}return!0x0;}function _0x4e4f75(_0x5e109a){const _0x369850=_0x4ecf60;return _0x2d8bd6&&typeof _0x5e109a==_0x369850(0x257)&&typeof _0x5e109a[_0x369850(0x18e)]==_0x369850(0x206)&&typeof _0x5e109a[_0x369850(0x121)]==_0x369850(0x187)&&typeof _0x5e109a[_0x369850(0x101)]==_0x369850(0x206)&&(_0x5e109a[Symbol['toStringTag']]===_0x369850(0x1de)||_0x5e109a[Symbol[_0x369850(0x15a)]]===_0x369850(0x16d));}if(re[_0x4ecf60(0x209)]={'isBlob':_0x4e4f75,'isValidStatusCode':_0x259f73,'isValidUTF8':_0x1b8efa,'tokenChars':_0x375438},_0x3b8d05)re[_0x4ecf60(0x209)][_0x4ecf60(0x27f)]=function(_0x4f296d){const _0x21b575=_0x4ecf60;return _0x4f296d[_0x21b575(0x24a)]<0x18?_0x1b8efa(_0x4f296d):_0x3b8d05(_0x4f296d);};else{if(!process[_0x4ecf60(0x11f)]['WS_NO_UTF_8_VALIDATE'])try{const _0x4b43e9=Yt;re['exports'][_0x4ecf60(0x27f)]=function(_0x22c29c){const _0xd12af5=_0x4ecf60;return _0x22c29c[_0xd12af5(0x24a)]<0x20?_0x1b8efa(_0x22c29c):_0x4b43e9(_0x22c29c);};}catch{}}return re[_0x4ecf60(0x209)];}var Se,Je;function dt(){const _0x3d39e1=_0x33df0b;if(Je)return Se;Je=0x1;const {Writable:_0x435d0c}=_0x5a4a29,_0x550659=he(),{BINARY_TYPES:_0x287b53,EMPTY_BUFFER:_0x4ce504,kStatusCode:_0x216e1e,kWebSocket:_0x2f0cef}=V(),{concat:_0x497fe,toArrayBuffer:_0x168c49,unmask:_0x2f9068}=ce(),{isValidStatusCode:_0xb07471,isValidUTF8:_0x5cde33}=ne(),_0x5a3849=Buffer[Symbol[_0x3d39e1(0x235)]],_0x24dd69=0x0,_0x493e07=0x1,_0x538681=0x2,_0x511fa1=0x3,_0x2639da=0x4,_0x1b63e2=0x5,_0x5cb8ab=0x6;class _0x121f5e extends _0x435d0c{constructor(_0xae28e0={}){const _0xce1107=_0x3d39e1;super(),this[_0xce1107(0x1a7)]=_0xae28e0[_0xce1107(0x116)]!==void 0x0?_0xae28e0[_0xce1107(0x116)]:!0x0,this['_binaryType']=_0xae28e0[_0xce1107(0xff)]||_0x287b53[0x0],this[_0xce1107(0x263)]=_0xae28e0[_0xce1107(0x164)]||{},this['_isServer']=!!_0xae28e0[_0xce1107(0x137)],this[_0xce1107(0x20f)]=_0xae28e0[_0xce1107(0x269)]|0x0,this[_0xce1107(0x260)]=!!_0xae28e0[_0xce1107(0x14e)],this[_0x2f0cef]=void 0x0,this['_bufferedBytes']=0x0,this[_0xce1107(0x22f)]=[],this[_0xce1107(0x177)]=!0x1,this[_0xce1107(0x171)]=0x0,this[_0xce1107(0x221)]=void 0x0,this[_0xce1107(0x14d)]=0x0,this['_masked']=!0x1,this[_0xce1107(0x10f)]=!0x1,this[_0xce1107(0x227)]=0x0,this[_0xce1107(0x287)]=0x0,this[_0xce1107(0x266)]=0x0,this['_fragments']=[],this['_errored']=!0x1,this[_0xce1107(0x167)]=!0x1,this[_0xce1107(0x16b)]=_0x24dd69;}[_0x3d39e1(0x290)](_0x34f05e,_0x1a2860,_0x2daf77){const _0x182af3=_0x3d39e1;if(this[_0x182af3(0x227)]===0x8&&this[_0x182af3(0x16b)]==_0x24dd69)return _0x2daf77();this['_bufferedBytes']+=_0x34f05e[_0x182af3(0x24a)],this[_0x182af3(0x22f)][_0x182af3(0x18d)](_0x34f05e),this[_0x182af3(0xf9)](_0x2daf77);}[_0x3d39e1(0x1f0)](_0x3b4af3){const _0x13c768=_0x3d39e1;if(this[_0x13c768(0x26c)]-=_0x3b4af3,_0x3b4af3===this['_buffers'][0x0][_0x13c768(0x24a)])return this[_0x13c768(0x22f)][_0x13c768(0x147)]();if(_0x3b4af3<this[_0x13c768(0x22f)][0x0][_0x13c768(0x24a)]){const _0x174f8a=this[_0x13c768(0x22f)][0x0];return this[_0x13c768(0x22f)][0x0]=new _0x5a3849(_0x174f8a[_0x13c768(0x25c)],_0x174f8a[_0x13c768(0x12f)]+_0x3b4af3,_0x174f8a[_0x13c768(0x24a)]-_0x3b4af3),new _0x5a3849(_0x174f8a[_0x13c768(0x25c)],_0x174f8a[_0x13c768(0x12f)],_0x3b4af3);}const _0x7ec68f=Buffer['allocUnsafe'](_0x3b4af3);do{const _0x2fc38c=this[_0x13c768(0x22f)][0x0],_0x2f3a5c=_0x7ec68f[_0x13c768(0x24a)]-_0x3b4af3;_0x3b4af3>=_0x2fc38c[_0x13c768(0x24a)]?_0x7ec68f[_0x13c768(0xfa)](this[_0x13c768(0x22f)][_0x13c768(0x147)](),_0x2f3a5c):(_0x7ec68f[_0x13c768(0xfa)](new Uint8Array(_0x2fc38c[_0x13c768(0x25c)],_0x2fc38c['byteOffset'],_0x3b4af3),_0x2f3a5c),this['_buffers'][0x0]=new _0x5a3849(_0x2fc38c[_0x13c768(0x25c)],_0x2fc38c[_0x13c768(0x12f)]+_0x3b4af3,_0x2fc38c[_0x13c768(0x24a)]-_0x3b4af3)),_0x3b4af3-=_0x2fc38c[_0x13c768(0x24a)];}while(_0x3b4af3>0x0);return _0x7ec68f;}[_0x3d39e1(0xf9)](_0x31e7c2){const _0x580673=_0x3d39e1;this[_0x580673(0x167)]=!0x0;do switch(this['_state']){case _0x24dd69:this[_0x580673(0x15d)](_0x31e7c2);break;case _0x493e07:this[_0x580673(0x132)](_0x31e7c2);break;case _0x538681:this[_0x580673(0x161)](_0x31e7c2);break;case _0x511fa1:this[_0x580673(0x21b)]();break;case _0x2639da:this[_0x580673(0x1b3)](_0x31e7c2);break;case _0x1b63e2:case _0x5cb8ab:this[_0x580673(0x167)]=!0x1;return;}while(this[_0x580673(0x167)]);this[_0x580673(0x231)]||_0x31e7c2();}[_0x3d39e1(0x15d)](_0x1367b5){const _0x3bd213=_0x3d39e1;if(this['_bufferedBytes']<0x2){this[_0x3bd213(0x167)]=!0x1;return;}const _0x11ee6d=this['consume'](0x2);if((_0x11ee6d[0x0]&0x30)!==0x0){const _0x4c32f6=this[_0x3bd213(0x16e)](RangeError,_0x3bd213(0x1f7),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x1367b5(_0x4c32f6);return;}const _0x332f51=(_0x11ee6d[0x0]&0x40)===0x40;if(_0x332f51&&!this['_extensions'][_0x550659['extensionName']]){const _0x30dbb0=this[_0x3bd213(0x16e)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x3bd213(0x24b));_0x1367b5(_0x30dbb0);return;}if(this[_0x3bd213(0x10f)]=(_0x11ee6d[0x0]&0x80)===0x80,this['_opcode']=_0x11ee6d[0x0]&0xf,this[_0x3bd213(0x171)]=_0x11ee6d[0x1]&0x7f,this[_0x3bd213(0x227)]===0x0){if(_0x332f51){const _0x6f7ba1=this[_0x3bd213(0x16e)](RangeError,_0x3bd213(0x21e),!0x0,0x3ea,_0x3bd213(0x24b));_0x1367b5(_0x6f7ba1);return;}if(!this['_fragmented']){const _0x3a3cff=this[_0x3bd213(0x16e)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x3bd213(0x212));_0x1367b5(_0x3a3cff);return;}this[_0x3bd213(0x227)]=this[_0x3bd213(0x14d)];}else{if(this[_0x3bd213(0x227)]===0x1||this[_0x3bd213(0x227)]===0x2){if(this['_fragmented']){const _0xf18235=this[_0x3bd213(0x16e)](RangeError,_0x3bd213(0x165)+this[_0x3bd213(0x227)],!0x0,0x3ea,_0x3bd213(0x212));_0x1367b5(_0xf18235);return;}this['_compressed']=_0x332f51;}else{if(this['_opcode']>0x7&&this['_opcode']<0xb){if(!this[_0x3bd213(0x10f)]){const _0x35238f=this[_0x3bd213(0x16e)](RangeError,_0x3bd213(0x25a),!0x0,0x3ea,_0x3bd213(0x130));_0x1367b5(_0x35238f);return;}if(_0x332f51){const _0x2db148=this[_0x3bd213(0x16e)](RangeError,_0x3bd213(0x21e),!0x0,0x3ea,_0x3bd213(0x24b));_0x1367b5(_0x2db148);return;}if(this[_0x3bd213(0x171)]>0x7d||this[_0x3bd213(0x227)]===0x8&&this['_payloadLength']===0x1){const _0x1b5845=this['createError'](RangeError,_0x3bd213(0xf6)+this[_0x3bd213(0x171)],!0x0,0x3ea,_0x3bd213(0x255));_0x1367b5(_0x1b5845);return;}}else{const _0x4ab379=this[_0x3bd213(0x16e)](RangeError,_0x3bd213(0x165)+this['_opcode'],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x1367b5(_0x4ab379);return;}}}if(!this[_0x3bd213(0x10f)]&&!this[_0x3bd213(0x14d)]&&(this[_0x3bd213(0x14d)]=this['_opcode']),this[_0x3bd213(0x1e1)]=(_0x11ee6d[0x1]&0x80)===0x80,this[_0x3bd213(0x189)]){if(!this['_masked']){const _0x1ce5dd=this[_0x3bd213(0x16e)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x1367b5(_0x1ce5dd);return;}}else{if(this[_0x3bd213(0x1e1)]){const _0x4b3e90=this['createError'](RangeError,_0x3bd213(0x25b),!0x0,0x3ea,_0x3bd213(0x24c));_0x1367b5(_0x4b3e90);return;}}this[_0x3bd213(0x171)]===0x7e?this[_0x3bd213(0x16b)]=_0x493e07:this[_0x3bd213(0x171)]===0x7f?this['_state']=_0x538681:this[_0x3bd213(0x191)](_0x1367b5);}[_0x3d39e1(0x132)](_0x54c6e9){const _0x8550ff=_0x3d39e1;if(this[_0x8550ff(0x26c)]<0x2){this[_0x8550ff(0x167)]=!0x1;return;}this[_0x8550ff(0x171)]=this[_0x8550ff(0x1f0)](0x2)[_0x8550ff(0x168)](0x0),this[_0x8550ff(0x191)](_0x54c6e9);}[_0x3d39e1(0x161)](_0x598427){const _0x3b8330=_0x3d39e1;if(this['_bufferedBytes']<0x8){this[_0x3b8330(0x167)]=!0x1;return;}const _0x154208=this[_0x3b8330(0x1f0)](0x8),_0x1cb98b=_0x154208[_0x3b8330(0x105)](0x0);if(_0x1cb98b>Math[_0x3b8330(0x169)](0x2,0x15)-0x1){const _0x5f57ba=this[_0x3b8330(0x16e)](RangeError,_0x3b8330(0x229),!0x1,0x3f1,_0x3b8330(0x17b));_0x598427(_0x5f57ba);return;}this[_0x3b8330(0x171)]=_0x1cb98b*Math[_0x3b8330(0x169)](0x2,0x20)+_0x154208['readUInt32BE'](0x4),this[_0x3b8330(0x191)](_0x598427);}['haveLength'](_0x24af5a){const _0x78999a=_0x3d39e1;if(this[_0x78999a(0x171)]&&this['_opcode']<0x8&&(this['_totalPayloadLength']+=this['_payloadLength'],this['_totalPayloadLength']>this['_maxPayload']&&this[_0x78999a(0x20f)]>0x0)){const _0x5aabbd=this[_0x78999a(0x16e)](RangeError,_0x78999a(0x26e),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x24af5a(_0x5aabbd);return;}this[_0x78999a(0x1e1)]?this[_0x78999a(0x16b)]=_0x511fa1:this['_state']=_0x2639da;}[_0x3d39e1(0x21b)](){const _0x10262d=_0x3d39e1;if(this[_0x10262d(0x26c)]<0x4){this[_0x10262d(0x167)]=!0x1;return;}this['_mask']=this[_0x10262d(0x1f0)](0x4),this['_state']=_0x2639da;}[_0x3d39e1(0x1b3)](_0x506a7d){const _0x526d98=_0x3d39e1;let _0x9b8760=_0x4ce504;if(this[_0x526d98(0x171)]){if(this[_0x526d98(0x26c)]<this[_0x526d98(0x171)]){this[_0x526d98(0x167)]=!0x1;return;}_0x9b8760=this[_0x526d98(0x1f0)](this[_0x526d98(0x171)]),this[_0x526d98(0x1e1)]&&(this[_0x526d98(0x221)][0x0]|this[_0x526d98(0x221)][0x1]|this['_mask'][0x2]|this['_mask'][0x3])!==0x0&&_0x2f9068(_0x9b8760,this['_mask']);}if(this[_0x526d98(0x227)]>0x7){this[_0x526d98(0x23c)](_0x9b8760,_0x506a7d);return;}if(this[_0x526d98(0x177)]){this[_0x526d98(0x16b)]=_0x1b63e2,this[_0x526d98(0x10e)](_0x9b8760,_0x506a7d);return;}_0x9b8760['length']&&(this['_messageLength']=this[_0x526d98(0x287)],this[_0x526d98(0x1ef)][_0x526d98(0x18d)](_0x9b8760)),this[_0x526d98(0x154)](_0x506a7d);}[_0x3d39e1(0x10e)](_0x336a8b,_0x1077e6){const _0x209370=_0x3d39e1;this[_0x209370(0x263)][_0x550659[_0x209370(0x23a)]][_0x209370(0x10e)](_0x336a8b,this['_fin'],(_0x1f717a,_0x1c46fb)=>{const _0x426ec8=_0x209370;if(_0x1f717a)return _0x1077e6(_0x1f717a);if(_0x1c46fb['length']){if(this[_0x426ec8(0x266)]+=_0x1c46fb[_0x426ec8(0x24a)],this[_0x426ec8(0x266)]>this[_0x426ec8(0x20f)]&&this[_0x426ec8(0x20f)]>0x0){const _0x49b98e=this['createError'](RangeError,_0x426ec8(0x26e),!0x1,0x3f1,_0x426ec8(0x178));_0x1077e6(_0x49b98e);return;}this['_fragments']['push'](_0x1c46fb);}this[_0x426ec8(0x154)](_0x1077e6),this[_0x426ec8(0x16b)]===_0x24dd69&&this[_0x426ec8(0xf9)](_0x1077e6);});}['dataMessage'](_0x3022a5){const _0x50d7bf=_0x3d39e1;if(!this[_0x50d7bf(0x10f)]){this[_0x50d7bf(0x16b)]=_0x24dd69;return;}const _0x132d88=this['_messageLength'],_0x2dc6cf=this[_0x50d7bf(0x1ef)];if(this[_0x50d7bf(0x287)]=0x0,this[_0x50d7bf(0x266)]=0x0,this['_fragmented']=0x0,this['_fragments']=[],this['_opcode']===0x2){let _0x4d47dc;this['_binaryType']===_0x50d7bf(0x21c)?_0x4d47dc=_0x497fe(_0x2dc6cf,_0x132d88):this[_0x50d7bf(0x143)]===_0x50d7bf(0x24f)?_0x4d47dc=_0x168c49(_0x497fe(_0x2dc6cf,_0x132d88)):this[_0x50d7bf(0x143)]==='blob'?_0x4d47dc=new Blob(_0x2dc6cf):_0x4d47dc=_0x2dc6cf,this[_0x50d7bf(0x1a7)]?(this[_0x50d7bf(0x102)](_0x50d7bf(0x1cc),_0x4d47dc,!0x0),this['_state']=_0x24dd69):(this[_0x50d7bf(0x16b)]=_0x5cb8ab,setImmediate(()=>{const _0x581606=_0x50d7bf;this['emit'](_0x581606(0x1cc),_0x4d47dc,!0x0),this[_0x581606(0x16b)]=_0x24dd69,this['startLoop'](_0x3022a5);}));}else{const _0x18aa0e=_0x497fe(_0x2dc6cf,_0x132d88);if(!this[_0x50d7bf(0x260)]&&!_0x5cde33(_0x18aa0e)){const _0x1f8ad9=this['createError'](Error,_0x50d7bf(0x286),!0x0,0x3ef,_0x50d7bf(0x181));_0x3022a5(_0x1f8ad9);return;}this['_state']===_0x1b63e2||this['_allowSynchronousEvents']?(this[_0x50d7bf(0x102)]('message',_0x18aa0e,!0x1),this[_0x50d7bf(0x16b)]=_0x24dd69):(this[_0x50d7bf(0x16b)]=_0x5cb8ab,setImmediate(()=>{const _0x26e57a=_0x50d7bf;this[_0x26e57a(0x102)]('message',_0x18aa0e,!0x1),this[_0x26e57a(0x16b)]=_0x24dd69,this[_0x26e57a(0xf9)](_0x3022a5);}));}}[_0x3d39e1(0x23c)](_0x504196,_0x1c82e2){const _0x35cfb4=_0x3d39e1;if(this[_0x35cfb4(0x227)]===0x8){if(_0x504196[_0x35cfb4(0x24a)]===0x0)this['_loop']=!0x1,this[_0x35cfb4(0x102)](_0x35cfb4(0x243),0x3ed,_0x4ce504),this[_0x35cfb4(0xfc)]();else{const _0x41fe3d=_0x504196[_0x35cfb4(0x168)](0x0);if(!_0xb07471(_0x41fe3d)){const _0x52deb1=this[_0x35cfb4(0x16e)](RangeError,_0x35cfb4(0x271)+_0x41fe3d,!0x0,0x3ea,_0x35cfb4(0x237));_0x1c82e2(_0x52deb1);return;}const _0x4c91da=new _0x5a3849(_0x504196[_0x35cfb4(0x25c)],_0x504196[_0x35cfb4(0x12f)]+0x2,_0x504196[_0x35cfb4(0x24a)]-0x2);if(!this[_0x35cfb4(0x260)]&&!_0x5cde33(_0x4c91da)){const _0x52508c=this[_0x35cfb4(0x16e)](Error,_0x35cfb4(0x286),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x1c82e2(_0x52508c);return;}this['_loop']=!0x1,this[_0x35cfb4(0x102)](_0x35cfb4(0x243),_0x41fe3d,_0x4c91da),this[_0x35cfb4(0xfc)]();}this['_state']=_0x24dd69;return;}this[_0x35cfb4(0x1a7)]?(this[_0x35cfb4(0x102)](this[_0x35cfb4(0x227)]===0x9?'ping':_0x35cfb4(0x195),_0x504196),this['_state']=_0x24dd69):(this[_0x35cfb4(0x16b)]=_0x5cb8ab,setImmediate(()=>{const _0x4e411d=_0x35cfb4;this[_0x4e411d(0x102)](this[_0x4e411d(0x227)]===0x9?_0x4e411d(0x1b6):_0x4e411d(0x195),_0x504196),this[_0x4e411d(0x16b)]=_0x24dd69,this[_0x4e411d(0xf9)](_0x1c82e2);}));}[_0x3d39e1(0x16e)](_0x2a6d93,_0x1f42b2,_0x2ce31c,_0x581000,_0x140161){const _0x3f2b55=_0x3d39e1;this[_0x3f2b55(0x167)]=!0x1,this[_0x3f2b55(0x231)]=!0x0;const _0x51007b=new _0x2a6d93(_0x2ce31c?'Invalid\x20WebSocket\x20frame:\x20'+_0x1f42b2:_0x1f42b2);return Error[_0x3f2b55(0x193)](_0x51007b,this['createError']),_0x51007b[_0x3f2b55(0x216)]=_0x140161,_0x51007b[_0x216e1e]=_0x581000,_0x51007b;}}return Se=_0x121f5e,Se;}var Ee,et;function _t(){const _0x4c41d7=_0x33df0b;if(et)return Ee;et=0x1;const {Duplex:_0x255417}=_0x5a4a29,{randomFillSync:_0x59f6c4}=_0x50de3c,_0x1f6842=he(),{EMPTY_BUFFER:_0x108edc,kWebSocket:_0xa5429c,NOOP:_0x44a800}=V(),{isBlob:_0x150f2a,isValidStatusCode:_0x9b2a8a}=ne(),{mask:_0x4d39e2,toBuffer:_0x3babf2}=ce(),_0x32dd7e=Symbol('kByteLength'),_0xb71855=Buffer[_0x4c41d7(0x134)](0x4),_0x1c1e31=0x8*0x400;let _0x26dab6,_0x4e06e1=_0x1c1e31;const _0x243c57=0x0,_0x313c15=0x1,_0x165d37=0x2;class _0xc114de{constructor(_0x3c3a71,_0x3a1b85,_0x461a26){const _0x44d88c=_0x4c41d7;this['_extensions']=_0x3a1b85||{},_0x461a26&&(this[_0x44d88c(0x199)]=_0x461a26,this[_0x44d88c(0xf2)]=Buffer['alloc'](0x4)),this[_0x44d88c(0x26f)]=_0x3c3a71,this['_firstFragment']=!0x0,this[_0x44d88c(0x223)]=!0x1,this[_0x44d88c(0x26c)]=0x0,this['_queue']=[],this[_0x44d88c(0x16b)]=_0x243c57,this[_0x44d88c(0x106)]=_0x44a800,this[_0xa5429c]=void 0x0;}static[_0x4c41d7(0x20b)](_0x442b1a,_0x39e7ba){const _0x270412=_0x4c41d7;let _0x57271c,_0x32c204=!0x1,_0x3bb1b2=0x2,_0x35241e=!0x1;_0x39e7ba[_0x270412(0x1b2)]&&(_0x57271c=_0x39e7ba['maskBuffer']||_0xb71855,_0x39e7ba[_0x270412(0x144)]?_0x39e7ba[_0x270412(0x144)](_0x57271c):(_0x4e06e1===_0x1c1e31&&(_0x26dab6===void 0x0&&(_0x26dab6=Buffer[_0x270412(0x134)](_0x1c1e31)),_0x59f6c4(_0x26dab6,0x0,_0x1c1e31),_0x4e06e1=0x0),_0x57271c[0x0]=_0x26dab6[_0x4e06e1++],_0x57271c[0x1]=_0x26dab6[_0x4e06e1++],_0x57271c[0x2]=_0x26dab6[_0x4e06e1++],_0x57271c[0x3]=_0x26dab6[_0x4e06e1++]),_0x35241e=(_0x57271c[0x0]|_0x57271c[0x1]|_0x57271c[0x2]|_0x57271c[0x3])===0x0,_0x3bb1b2=0x6);let _0xf50661;typeof _0x442b1a==_0x270412(0x187)?(!_0x39e7ba[_0x270412(0x1b2)]||_0x35241e)&&_0x39e7ba[_0x32dd7e]!==void 0x0?_0xf50661=_0x39e7ba[_0x32dd7e]:(_0x442b1a=Buffer[_0x270412(0x238)](_0x442b1a),_0xf50661=_0x442b1a[_0x270412(0x24a)]):(_0xf50661=_0x442b1a['length'],_0x32c204=_0x39e7ba['mask']&&_0x39e7ba[_0x270412(0x26a)]&&!_0x35241e);let _0xc657c9=_0xf50661;_0xf50661>=0x10000?(_0x3bb1b2+=0x8,_0xc657c9=0x7f):_0xf50661>0x7d&&(_0x3bb1b2+=0x2,_0xc657c9=0x7e);const _0x5159fb=Buffer[_0x270412(0x10c)](_0x32c204?_0xf50661+_0x3bb1b2:_0x3bb1b2);return _0x5159fb[0x0]=_0x39e7ba[_0x270412(0x214)]?_0x39e7ba[_0x270412(0x1cb)]|0x80:_0x39e7ba[_0x270412(0x1cb)],_0x39e7ba[_0x270412(0x1e4)]&&(_0x5159fb[0x0]|=0x40),_0x5159fb[0x1]=_0xc657c9,_0xc657c9===0x7e?_0x5159fb['writeUInt16BE'](_0xf50661,0x2):_0xc657c9===0x7f&&(_0x5159fb[0x2]=_0x5159fb[0x3]=0x0,_0x5159fb[_0x270412(0x23b)](_0xf50661,0x4,0x6)),_0x39e7ba[_0x270412(0x1b2)]?(_0x5159fb[0x1]|=0x80,_0x5159fb[_0x3bb1b2-0x4]=_0x57271c[0x0],_0x5159fb[_0x3bb1b2-0x3]=_0x57271c[0x1],_0x5159fb[_0x3bb1b2-0x2]=_0x57271c[0x2],_0x5159fb[_0x3bb1b2-0x1]=_0x57271c[0x3],_0x35241e?[_0x5159fb,_0x442b1a]:_0x32c204?(_0x4d39e2(_0x442b1a,_0x57271c,_0x5159fb,_0x3bb1b2,_0xf50661),[_0x5159fb]):(_0x4d39e2(_0x442b1a,_0x57271c,_0x442b1a,0x0,_0xf50661),[_0x5159fb,_0x442b1a])):[_0x5159fb,_0x442b1a];}['close'](_0x4cd8b6,_0x44228e,_0x2937e3,_0x110e12){const _0xc6258e=_0x4c41d7;let _0x4d9e17;if(_0x4cd8b6===void 0x0)_0x4d9e17=_0x108edc;else{if(typeof _0x4cd8b6!=_0xc6258e(0x1fd)||!_0x9b2a8a(_0x4cd8b6))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x44228e===void 0x0||!_0x44228e[_0xc6258e(0x24a)])_0x4d9e17=Buffer[_0xc6258e(0x10c)](0x2),_0x4d9e17[_0xc6258e(0x1bf)](_0x4cd8b6,0x0);else{const _0x42e07e=Buffer[_0xc6258e(0x197)](_0x44228e);if(_0x42e07e>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x4d9e17=Buffer[_0xc6258e(0x10c)](0x2+_0x42e07e),_0x4d9e17[_0xc6258e(0x1bf)](_0x4cd8b6,0x0),typeof _0x44228e==_0xc6258e(0x187)?_0x4d9e17[_0xc6258e(0x261)](_0x44228e,0x2):_0x4d9e17[_0xc6258e(0xfa)](_0x44228e,0x2);}}const _0x4338f7={[_0x32dd7e]:_0x4d9e17[_0xc6258e(0x24a)],'fin':!0x0,'generateMask':this[_0xc6258e(0x199)],'mask':_0x2937e3,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0xc6258e(0x16b)]!==_0x243c57?this['enqueue']([this[_0xc6258e(0x166)],_0x4d9e17,!0x1,_0x4338f7,_0x110e12]):this[_0xc6258e(0x1a2)](_0xc114de[_0xc6258e(0x20b)](_0x4d9e17,_0x4338f7),_0x110e12);}['ping'](_0x44358e,_0x4fd139,_0x54da0c){const _0x353540=_0x4c41d7;let _0x2b702b,_0x1979f0;if(typeof _0x44358e==_0x353540(0x187)?(_0x2b702b=Buffer['byteLength'](_0x44358e),_0x1979f0=!0x1):_0x150f2a(_0x44358e)?(_0x2b702b=_0x44358e[_0x353540(0x163)],_0x1979f0=!0x1):(_0x44358e=_0x3babf2(_0x44358e),_0x2b702b=_0x44358e[_0x353540(0x24a)],_0x1979f0=_0x3babf2[_0x353540(0x26a)]),_0x2b702b>0x7d)throw new RangeError(_0x353540(0x13d));const _0x3d5d9c={[_0x32dd7e]:_0x2b702b,'fin':!0x0,'generateMask':this[_0x353540(0x199)],'mask':_0x4fd139,'maskBuffer':this[_0x353540(0xf2)],'opcode':0x9,'readOnly':_0x1979f0,'rsv1':!0x1};_0x150f2a(_0x44358e)?this[_0x353540(0x16b)]!==_0x243c57?this[_0x353540(0x17c)]([this[_0x353540(0x1e5)],_0x44358e,!0x1,_0x3d5d9c,_0x54da0c]):this[_0x353540(0x1e5)](_0x44358e,!0x1,_0x3d5d9c,_0x54da0c):this[_0x353540(0x16b)]!==_0x243c57?this['enqueue']([this[_0x353540(0x166)],_0x44358e,!0x1,_0x3d5d9c,_0x54da0c]):this[_0x353540(0x1a2)](_0xc114de[_0x353540(0x20b)](_0x44358e,_0x3d5d9c),_0x54da0c);}[_0x4c41d7(0x195)](_0x5523c2,_0x3ef874,_0xf4f099){const _0x5835fc=_0x4c41d7;let _0x1f4c3d,_0x1bccd8;if(typeof _0x5523c2==_0x5835fc(0x187)?(_0x1f4c3d=Buffer[_0x5835fc(0x197)](_0x5523c2),_0x1bccd8=!0x1):_0x150f2a(_0x5523c2)?(_0x1f4c3d=_0x5523c2['size'],_0x1bccd8=!0x1):(_0x5523c2=_0x3babf2(_0x5523c2),_0x1f4c3d=_0x5523c2['length'],_0x1bccd8=_0x3babf2[_0x5835fc(0x26a)]),_0x1f4c3d>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x337bb4={[_0x32dd7e]:_0x1f4c3d,'fin':!0x0,'generateMask':this[_0x5835fc(0x199)],'mask':_0x3ef874,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x1bccd8,'rsv1':!0x1};_0x150f2a(_0x5523c2)?this[_0x5835fc(0x16b)]!==_0x243c57?this[_0x5835fc(0x17c)]([this[_0x5835fc(0x1e5)],_0x5523c2,!0x1,_0x337bb4,_0xf4f099]):this[_0x5835fc(0x1e5)](_0x5523c2,!0x1,_0x337bb4,_0xf4f099):this[_0x5835fc(0x16b)]!==_0x243c57?this['enqueue']([this['dispatch'],_0x5523c2,!0x1,_0x337bb4,_0xf4f099]):this[_0x5835fc(0x1a2)](_0xc114de[_0x5835fc(0x20b)](_0x5523c2,_0x337bb4),_0xf4f099);}['send'](_0x3fb308,_0x2dc9d3,_0x274a38){const _0x283c0e=_0x4c41d7,_0x271fc2=this[_0x283c0e(0x263)][_0x1f6842['extensionName']];let _0x27c732=_0x2dc9d3[_0x283c0e(0x112)]?0x2:0x1,_0x2b2f5d=_0x2dc9d3['compress'],_0x2bdc0a,_0x36e42;typeof _0x3fb308=='string'?(_0x2bdc0a=Buffer[_0x283c0e(0x197)](_0x3fb308),_0x36e42=!0x1):_0x150f2a(_0x3fb308)?(_0x2bdc0a=_0x3fb308[_0x283c0e(0x163)],_0x36e42=!0x1):(_0x3fb308=_0x3babf2(_0x3fb308),_0x2bdc0a=_0x3fb308[_0x283c0e(0x24a)],_0x36e42=_0x3babf2[_0x283c0e(0x26a)]),this[_0x283c0e(0xed)]?(this['_firstFragment']=!0x1,_0x2b2f5d&&_0x271fc2&&_0x271fc2[_0x283c0e(0x183)][_0x271fc2[_0x283c0e(0x189)]?_0x283c0e(0x19b):_0x283c0e(0x259)]&&(_0x2b2f5d=_0x2bdc0a>=_0x271fc2[_0x283c0e(0x234)]),this['_compress']=_0x2b2f5d):(_0x2b2f5d=!0x1,_0x27c732=0x0),_0x2dc9d3[_0x283c0e(0x214)]&&(this['_firstFragment']=!0x0);const _0x463978={[_0x32dd7e]:_0x2bdc0a,'fin':_0x2dc9d3[_0x283c0e(0x214)],'generateMask':this[_0x283c0e(0x199)],'mask':_0x2dc9d3[_0x283c0e(0x1b2)],'maskBuffer':this[_0x283c0e(0xf2)],'opcode':_0x27c732,'readOnly':_0x36e42,'rsv1':_0x2b2f5d};_0x150f2a(_0x3fb308)?this[_0x283c0e(0x16b)]!==_0x243c57?this[_0x283c0e(0x17c)]([this['getBlobData'],_0x3fb308,this[_0x283c0e(0x223)],_0x463978,_0x274a38]):this['getBlobData'](_0x3fb308,this[_0x283c0e(0x223)],_0x463978,_0x274a38):this[_0x283c0e(0x16b)]!==_0x243c57?this[_0x283c0e(0x17c)]([this['dispatch'],_0x3fb308,this['_compress'],_0x463978,_0x274a38]):this[_0x283c0e(0x166)](_0x3fb308,this[_0x283c0e(0x223)],_0x463978,_0x274a38);}[_0x4c41d7(0x1e5)](_0x1bfd21,_0xfb7e79,_0x542d5d,_0x2b9a92){const _0x3bc91c=_0x4c41d7;this[_0x3bc91c(0x26c)]+=_0x542d5d[_0x32dd7e],this[_0x3bc91c(0x16b)]=_0x165d37,_0x1bfd21[_0x3bc91c(0x18e)]()['then'](_0x441236=>{const _0x645dd8=_0x3bc91c;if(this[_0x645dd8(0x26f)][_0x645dd8(0x1aa)]){const _0x5db9e0=new Error(_0x645dd8(0x157));process['nextTick'](_0x53224c,this,_0x5db9e0,_0x2b9a92);return;}this['_bufferedBytes']-=_0x542d5d[_0x32dd7e];const _0x43dc65=_0x3babf2(_0x441236);_0xfb7e79?this[_0x645dd8(0x166)](_0x43dc65,_0xfb7e79,_0x542d5d,_0x2b9a92):(this[_0x645dd8(0x16b)]=_0x243c57,this[_0x645dd8(0x1a2)](_0xc114de[_0x645dd8(0x20b)](_0x43dc65,_0x542d5d),_0x2b9a92),this[_0x645dd8(0x289)]());})[_0x3bc91c(0x20c)](_0x350d7d=>{process['nextTick'](_0x1df944,this,_0x350d7d,_0x2b9a92);});}[_0x4c41d7(0x166)](_0x12b847,_0x220f91,_0x1d9e70,_0x43d60a){const _0x2e227e=_0x4c41d7;if(!_0x220f91){this[_0x2e227e(0x1a2)](_0xc114de['frame'](_0x12b847,_0x1d9e70),_0x43d60a);return;}const _0x282ad0=this[_0x2e227e(0x263)][_0x1f6842['extensionName']];this[_0x2e227e(0x26c)]+=_0x1d9e70[_0x32dd7e],this[_0x2e227e(0x16b)]=_0x313c15,_0x282ad0[_0x2e227e(0x248)](_0x12b847,_0x1d9e70[_0x2e227e(0x214)],(_0x48bc07,_0x16738a)=>{const _0x33b638=_0x2e227e;if(this[_0x33b638(0x26f)][_0x33b638(0x1aa)]){const _0x56c312=new Error(_0x33b638(0x12e));_0x53224c(this,_0x56c312,_0x43d60a);return;}this[_0x33b638(0x26c)]-=_0x1d9e70[_0x32dd7e],this[_0x33b638(0x16b)]=_0x243c57,_0x1d9e70[_0x33b638(0x26a)]=!0x1,this['sendFrame'](_0xc114de['frame'](_0x16738a,_0x1d9e70),_0x43d60a),this['dequeue']();});}[_0x4c41d7(0x289)](){const _0xdb11b7=_0x4c41d7;for(;this['_state']===_0x243c57&&this[_0xdb11b7(0x240)][_0xdb11b7(0x24a)];){const _0x178c0e=this[_0xdb11b7(0x240)][_0xdb11b7(0x147)]();this['_bufferedBytes']-=_0x178c0e[0x3][_0x32dd7e],Reflect['apply'](_0x178c0e[0x0],this,_0x178c0e[_0xdb11b7(0x117)](0x1));}}[_0x4c41d7(0x17c)](_0x38c626){const _0x4be274=_0x4c41d7;this[_0x4be274(0x26c)]+=_0x38c626[0x3][_0x32dd7e],this[_0x4be274(0x240)][_0x4be274(0x18d)](_0x38c626);}[_0x4c41d7(0x1a2)](_0x559105,_0x181a0d){const _0x4d3c1d=_0x4c41d7;_0x559105[_0x4d3c1d(0x24a)]===0x2?(this['_socket'][_0x4d3c1d(0x1a4)](),this[_0x4d3c1d(0x26f)]['write'](_0x559105[0x0]),this[_0x4d3c1d(0x26f)][_0x4d3c1d(0x261)](_0x559105[0x1],_0x181a0d),this[_0x4d3c1d(0x26f)][_0x4d3c1d(0x241)]()):this[_0x4d3c1d(0x26f)][_0x4d3c1d(0x261)](_0x559105[0x0],_0x181a0d);}}Ee=_0xc114de;function _0x53224c(_0x507e6e,_0xb7f028,_0x4a4bec){const _0x22cd78=_0x4c41d7;typeof _0x4a4bec==_0x22cd78(0x206)&&_0x4a4bec(_0xb7f028);for(let _0x25d1ad=0x0;_0x25d1ad<_0x507e6e[_0x22cd78(0x240)][_0x22cd78(0x24a)];_0x25d1ad++){const _0x16d463=_0x507e6e[_0x22cd78(0x240)][_0x25d1ad],_0x2cc379=_0x16d463[_0x16d463[_0x22cd78(0x24a)]-0x1];typeof _0x2cc379==_0x22cd78(0x206)&&_0x2cc379(_0xb7f028);}}function _0x1df944(_0x17ee42,_0x2963f9,_0x55854a){const _0x1906e7=_0x4c41d7;_0x53224c(_0x17ee42,_0x2963f9,_0x55854a),_0x17ee42[_0x1906e7(0x106)](_0x2963f9);}return Ee;}var xe,tt;function Kt(){const _0x299304=_0x33df0b;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x335f99,kListener:_0x39983e}=V(),_0xd69827=Symbol(_0x299304(0x1ba)),_0x75f43f=Symbol(_0x299304(0x24e)),_0x1be079=Symbol(_0x299304(0x176)),_0x28e3a9=Symbol(_0x299304(0x1d3)),_0x5a1b05=Symbol('kReason'),_0x7fb626=Symbol('kTarget'),_0x5ca864=Symbol(_0x299304(0x11c)),_0x52fd9e=Symbol('kWasClean');class _0x51c4ad{constructor(_0x5472ec){this[_0x7fb626]=null,this[_0x5ca864]=_0x5472ec;}get[_0x299304(0x179)](){return this[_0x7fb626];}get['type'](){return this[_0x5ca864];}}Object[_0x299304(0x27a)](_0x51c4ad[_0x299304(0x210)],_0x299304(0x179),{'enumerable':!0x0}),Object['defineProperty'](_0x51c4ad['prototype'],_0x299304(0x121),{'enumerable':!0x0});class _0x290693 extends _0x51c4ad{constructor(_0x25ec48,_0x3f5d52={}){const _0x290db4=_0x299304;super(_0x25ec48),this[_0xd69827]=_0x3f5d52[_0x290db4(0x216)]===void 0x0?0x0:_0x3f5d52[_0x290db4(0x216)],this[_0x5a1b05]=_0x3f5d52['reason']===void 0x0?'':_0x3f5d52[_0x290db4(0xf7)],this[_0x52fd9e]=_0x3f5d52[_0x290db4(0x198)]===void 0x0?!0x1:_0x3f5d52[_0x290db4(0x198)];}get['code'](){return this[_0xd69827];}get[_0x299304(0xf7)](){return this[_0x5a1b05];}get[_0x299304(0x198)](){return this[_0x52fd9e];}}Object['defineProperty'](_0x290693['prototype'],_0x299304(0x216),{'enumerable':!0x0}),Object['defineProperty'](_0x290693[_0x299304(0x210)],_0x299304(0xf7),{'enumerable':!0x0}),Object[_0x299304(0x27a)](_0x290693['prototype'],_0x299304(0x198),{'enumerable':!0x0});class _0x56ac9f extends _0x51c4ad{constructor(_0x9a259a,_0x24a024={}){const _0x102d70=_0x299304;super(_0x9a259a),this[_0x1be079]=_0x24a024['error']===void 0x0?null:_0x24a024[_0x102d70(0x18a)],this[_0x28e3a9]=_0x24a024['message']===void 0x0?'':_0x24a024[_0x102d70(0x1cc)];}get['error'](){return this[_0x1be079];}get['message'](){return this[_0x28e3a9];}}Object[_0x299304(0x27a)](_0x56ac9f['prototype'],_0x299304(0x18a),{'enumerable':!0x0}),Object[_0x299304(0x27a)](_0x56ac9f[_0x299304(0x210)],_0x299304(0x1cc),{'enumerable':!0x0});class _0x4aa353 extends _0x51c4ad{constructor(_0x888c38,_0x1ca058={}){super(_0x888c38),this[_0x75f43f]=_0x1ca058['data']===void 0x0?null:_0x1ca058['data'];}get[_0x299304(0x1b4)](){return this[_0x75f43f];}}Object[_0x299304(0x27a)](_0x4aa353[_0x299304(0x210)],_0x299304(0x1b4),{'enumerable':!0x0}),xe={'CloseEvent':_0x290693,'ErrorEvent':_0x56ac9f,'Event':_0x51c4ad,'EventTarget':{'addEventListener'(_0x295131,_0x5eabc8,_0x7bdab3={}){const _0x496988=_0x299304;for(const _0x3acac3 of this[_0x496988(0x1e8)](_0x295131))if(!_0x7bdab3[_0x335f99]&&_0x3acac3[_0x39983e]===_0x5eabc8&&!_0x3acac3[_0x335f99])return;let _0x4a665d;if(_0x295131===_0x496988(0x1cc))_0x4a665d=function(_0x2f2e28,_0x55a551){const _0x5c3a35=_0x496988,_0x5e0661=new _0x4aa353(_0x5c3a35(0x1cc),{'data':_0x55a551?_0x2f2e28:_0x2f2e28[_0x5c3a35(0x11b)]()});_0x5e0661[_0x7fb626]=this,_0x2d2857(_0x5eabc8,this,_0x5e0661);};else{if(_0x295131==='close')_0x4a665d=function(_0xce0b82,_0xcc1bfd){const _0x45cba4=_0x496988,_0x4abc23=new _0x290693(_0x45cba4(0xf3),{'code':_0xce0b82,'reason':_0xcc1bfd['toString'](),'wasClean':this[_0x45cba4(0x236)]&&this[_0x45cba4(0x133)]});_0x4abc23[_0x7fb626]=this,_0x2d2857(_0x5eabc8,this,_0x4abc23);};else{if(_0x295131===_0x496988(0x18a))_0x4a665d=function(_0x302bf4){const _0x10da93=_0x496988,_0x598f59=new _0x56ac9f(_0x10da93(0x18a),{'error':_0x302bf4,'message':_0x302bf4[_0x10da93(0x1cc)]});_0x598f59[_0x7fb626]=this,_0x2d2857(_0x5eabc8,this,_0x598f59);};else{if(_0x295131==='open')_0x4a665d=function(){const _0xcbec0a=new _0x51c4ad('open');_0xcbec0a[_0x7fb626]=this,_0x2d2857(_0x5eabc8,this,_0xcbec0a);};else return;}}}_0x4a665d[_0x335f99]=!!_0x7bdab3[_0x335f99],_0x4a665d[_0x39983e]=_0x5eabc8,_0x7bdab3[_0x496988(0x18f)]?this[_0x496988(0x18f)](_0x295131,_0x4a665d):this['on'](_0x295131,_0x4a665d);},'removeEventListener'(_0x5848a5,_0x26e484){const _0x19eb86=_0x299304;for(const _0x5bd415 of this[_0x19eb86(0x1e8)](_0x5848a5))if(_0x5bd415[_0x39983e]===_0x26e484&&!_0x5bd415[_0x335f99]){this[_0x19eb86(0x27e)](_0x5848a5,_0x5bd415);break;}}},'MessageEvent':_0x4aa353};function _0x2d2857(_0x495482,_0x5cf449,_0x379f53){const _0x5cbbd9=_0x299304;typeof _0x495482=='object'&&_0x495482[_0x5cbbd9(0xea)]?_0x495482[_0x5cbbd9(0xea)][_0x5cbbd9(0x267)](_0x495482,_0x379f53):_0x495482[_0x5cbbd9(0x267)](_0x5cf449,_0x379f53);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x327c42}=ne();function _0x2a0e4d(_0x3e2d52,_0x350107,_0x4a11b5){_0x3e2d52[_0x350107]===void 0x0?_0x3e2d52[_0x350107]=[_0x4a11b5]:_0x3e2d52[_0x350107]['push'](_0x4a11b5);}function _0x24a552(_0xb79a81){const _0x488ad3=_0x59bf,_0x4aec85=Object[_0x488ad3(0x1da)](null);let _0x473868=Object[_0x488ad3(0x1da)](null),_0x5dcb71=!0x1,_0x5b17f8=!0x1,_0xbb3984=!0x1,_0xe0d773,_0x21a222,_0x26cc70=-0x1,_0x6cf4e8=-0x1,_0x461621=-0x1,_0x59101b=0x0;for(;_0x59101b<_0xb79a81[_0x488ad3(0x24a)];_0x59101b++)if(_0x6cf4e8=_0xb79a81['charCodeAt'](_0x59101b),_0xe0d773===void 0x0){if(_0x461621===-0x1&&_0x327c42[_0x6cf4e8]===0x1)_0x26cc70===-0x1&&(_0x26cc70=_0x59101b);else{if(_0x59101b!==0x0&&(_0x6cf4e8===0x20||_0x6cf4e8===0x9))_0x461621===-0x1&&_0x26cc70!==-0x1&&(_0x461621=_0x59101b);else{if(_0x6cf4e8===0x3b||_0x6cf4e8===0x2c){if(_0x26cc70===-0x1)throw new SyntaxError(_0x488ad3(0x128)+_0x59101b);_0x461621===-0x1&&(_0x461621=_0x59101b);const _0x42a1bf=_0xb79a81[_0x488ad3(0x117)](_0x26cc70,_0x461621);_0x6cf4e8===0x2c?(_0x2a0e4d(_0x4aec85,_0x42a1bf,_0x473868),_0x473868=Object[_0x488ad3(0x1da)](null)):_0xe0d773=_0x42a1bf,_0x26cc70=_0x461621=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x59101b);}}}else{if(_0x21a222===void 0x0){if(_0x461621===-0x1&&_0x327c42[_0x6cf4e8]===0x1)_0x26cc70===-0x1&&(_0x26cc70=_0x59101b);else{if(_0x6cf4e8===0x20||_0x6cf4e8===0x9)_0x461621===-0x1&&_0x26cc70!==-0x1&&(_0x461621=_0x59101b);else{if(_0x6cf4e8===0x3b||_0x6cf4e8===0x2c){if(_0x26cc70===-0x1)throw new SyntaxError(_0x488ad3(0x128)+_0x59101b);_0x461621===-0x1&&(_0x461621=_0x59101b),_0x2a0e4d(_0x473868,_0xb79a81[_0x488ad3(0x117)](_0x26cc70,_0x461621),!0x0),_0x6cf4e8===0x2c&&(_0x2a0e4d(_0x4aec85,_0xe0d773,_0x473868),_0x473868=Object['create'](null),_0xe0d773=void 0x0),_0x26cc70=_0x461621=-0x1;}else{if(_0x6cf4e8===0x3d&&_0x26cc70!==-0x1&&_0x461621===-0x1)_0x21a222=_0xb79a81[_0x488ad3(0x117)](_0x26cc70,_0x59101b),_0x26cc70=_0x461621=-0x1;else throw new SyntaxError(_0x488ad3(0x128)+_0x59101b);}}}}else{if(_0x5b17f8){if(_0x327c42[_0x6cf4e8]!==0x1)throw new SyntaxError(_0x488ad3(0x128)+_0x59101b);_0x26cc70===-0x1?_0x26cc70=_0x59101b:_0x5dcb71||(_0x5dcb71=!0x0),_0x5b17f8=!0x1;}else{if(_0xbb3984){if(_0x327c42[_0x6cf4e8]===0x1)_0x26cc70===-0x1&&(_0x26cc70=_0x59101b);else{if(_0x6cf4e8===0x22&&_0x26cc70!==-0x1)_0xbb3984=!0x1,_0x461621=_0x59101b;else{if(_0x6cf4e8===0x5c)_0x5b17f8=!0x0;else throw new SyntaxError(_0x488ad3(0x128)+_0x59101b);}}}else{if(_0x6cf4e8===0x22&&_0xb79a81['charCodeAt'](_0x59101b-0x1)===0x3d)_0xbb3984=!0x0;else{if(_0x461621===-0x1&&_0x327c42[_0x6cf4e8]===0x1)_0x26cc70===-0x1&&(_0x26cc70=_0x59101b);else{if(_0x26cc70!==-0x1&&(_0x6cf4e8===0x20||_0x6cf4e8===0x9))_0x461621===-0x1&&(_0x461621=_0x59101b);else{if(_0x6cf4e8===0x3b||_0x6cf4e8===0x2c){if(_0x26cc70===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x59101b);_0x461621===-0x1&&(_0x461621=_0x59101b);let _0x5305b7=_0xb79a81[_0x488ad3(0x117)](_0x26cc70,_0x461621);_0x5dcb71&&(_0x5305b7=_0x5305b7[_0x488ad3(0x127)](/\\/g,''),_0x5dcb71=!0x1),_0x2a0e4d(_0x473868,_0x21a222,_0x5305b7),_0x6cf4e8===0x2c&&(_0x2a0e4d(_0x4aec85,_0xe0d773,_0x473868),_0x473868=Object[_0x488ad3(0x1da)](null),_0xe0d773=void 0x0),_0x21a222=void 0x0,_0x26cc70=_0x461621=-0x1;}else throw new SyntaxError(_0x488ad3(0x128)+_0x59101b);}}}}}}}if(_0x26cc70===-0x1||_0xbb3984||_0x6cf4e8===0x20||_0x6cf4e8===0x9)throw new SyntaxError(_0x488ad3(0x175));_0x461621===-0x1&&(_0x461621=_0x59101b);const _0x5160f4=_0xb79a81[_0x488ad3(0x117)](_0x26cc70,_0x461621);return _0xe0d773===void 0x0?_0x2a0e4d(_0x4aec85,_0x5160f4,_0x473868):(_0x21a222===void 0x0?_0x2a0e4d(_0x473868,_0x5160f4,!0x0):_0x5dcb71?_0x2a0e4d(_0x473868,_0x21a222,_0x5160f4[_0x488ad3(0x127)](/\\/g,'')):_0x2a0e4d(_0x473868,_0x21a222,_0x5160f4),_0x2a0e4d(_0x4aec85,_0xe0d773,_0x473868)),_0x4aec85;}function _0x2a24b8(_0x292ee2){const _0x5a067c=_0x59bf;return Object[_0x5a067c(0x1f3)](_0x292ee2)[_0x5a067c(0x1d4)](_0x4e34a3=>{const _0x9e3462=_0x5a067c;let _0xeae230=_0x292ee2[_0x4e34a3];return Array[_0x9e3462(0x1dd)](_0xeae230)||(_0xeae230=[_0xeae230]),_0xeae230['map'](_0x3387a2=>[_0x4e34a3][_0x9e3462(0xf4)](Object[_0x9e3462(0x1f3)](_0x3387a2)[_0x9e3462(0x1d4)](_0x1f7470=>{const _0x264dc2=_0x9e3462;let _0x5577f7=_0x3387a2[_0x1f7470];return Array[_0x264dc2(0x1dd)](_0x5577f7)||(_0x5577f7=[_0x5577f7]),_0x5577f7[_0x264dc2(0x1d4)](_0x46c2a4=>_0x46c2a4===!0x0?_0x1f7470:_0x1f7470+'='+_0x46c2a4)['join'](';\x20');}))['join'](';\x20'))[_0x9e3462(0x22b)](',\x20');})[_0x5a067c(0x22b)](',\x20');}return be={'format':_0x2a24b8,'parse':_0x24a552},be;}var we,st;function Ie(){const _0x3c8d5a=_0x33df0b;if(st)return we;st=0x1;const _0x87e818=_0x270560,_0x7ff941=_0x564069,_0x22fa07=_0x22e837,_0x3d51c6=_0x20ac66,_0x15d7db=_0x38be72,{randomBytes:_0x38cff6,createHash:_0x48fbc7}=_0x50de3c,{Duplex:_0xd9c94a,Readable:_0x476000}=_0x5a4a29,{URL:_0x383791}=_0x3742e5,_0x5c0d91=he(),_0x267e7c=dt(),_0x12895e=_t(),{isBlob:_0x7b0074}=ne(),{BINARY_TYPES:_0x309f85,EMPTY_BUFFER:_0x4a2e0a,GUID:_0x6a7426,kForOnEventAttribute:_0x3670a0,kListener:_0x42d75e,kStatusCode:_0x3db3cd,kWebSocket:_0x353dd3,NOOP:_0x4aa55d}=V(),{EventTarget:{addEventListener:_0x1de0cd,removeEventListener:_0x9f53f9}}=Kt(),{format:_0x21e6b6,parse:_0x464f3b}=pt(),{toBuffer:_0x10115f}=ce(),_0x2971b8=0x1e*0x3e8,_0x23e035=Symbol(_0x3c8d5a(0x1a6)),_0x40a218=[0x8,0xd],_0x4eefab=[_0x3c8d5a(0x1b0),_0x3c8d5a(0x1fe),_0x3c8d5a(0x13a),_0x3c8d5a(0x120)],_0x38424d=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x3a3ec5 extends _0x87e818{constructor(_0x4eeb25,_0x17f96e,_0x294b54){const _0x23995f=_0x3c8d5a;super(),this['_binaryType']=_0x309f85[0x0],this[_0x23995f(0x1c5)]=0x3ee,this[_0x23995f(0x236)]=!0x1,this['_closeFrameSent']=!0x1,this['_closeMessage']=_0x4a2e0a,this[_0x23995f(0x185)]=null,this[_0x23995f(0x14b)]=!0x1,this[_0x23995f(0x263)]={},this['_paused']=!0x1,this['_protocol']='',this[_0x23995f(0x107)]=_0x3a3ec5[_0x23995f(0x1b0)],this['_receiver']=null,this[_0x23995f(0x10d)]=null,this[_0x23995f(0x26f)]=null,_0x4eeb25!==null?(this[_0x23995f(0x18b)]=0x0,this[_0x23995f(0x189)]=!0x1,this[_0x23995f(0xf8)]=0x0,_0x17f96e===void 0x0?_0x17f96e=[]:Array['isArray'](_0x17f96e)||(typeof _0x17f96e=='object'&&_0x17f96e!==null?(_0x294b54=_0x17f96e,_0x17f96e=[]):_0x17f96e=[_0x17f96e]),_0x51ea28(this,_0x4eeb25,_0x17f96e,_0x294b54)):(this['_autoPong']=_0x294b54['autoPong'],this[_0x23995f(0x189)]=!0x0);}get[_0x3c8d5a(0xff)](){const _0x59e8ea=_0x3c8d5a;return this[_0x59e8ea(0x143)];}set[_0x3c8d5a(0xff)](_0x16ba90){const _0xe3cb28=_0x3c8d5a;_0x309f85[_0xe3cb28(0x24d)](_0x16ba90)&&(this[_0xe3cb28(0x143)]=_0x16ba90,this['_receiver']&&(this[_0xe3cb28(0xfd)][_0xe3cb28(0x143)]=_0x16ba90));}get[_0x3c8d5a(0x1a3)](){const _0x16be3b=_0x3c8d5a;return this['_socket']?this[_0x16be3b(0x26f)][_0x16be3b(0x19e)][_0x16be3b(0x24a)]+this[_0x16be3b(0x10d)][_0x16be3b(0x26c)]:this[_0x16be3b(0x18b)];}get[_0x3c8d5a(0x164)](){const _0x402684=_0x3c8d5a;return Object[_0x402684(0x1f3)](this[_0x402684(0x263)])[_0x402684(0x22b)]();}get['isPaused'](){return this['_paused'];}get[_0x3c8d5a(0x145)](){return null;}get['onerror'](){return null;}get['onopen'](){return null;}get[_0x3c8d5a(0x148)](){return null;}get[_0x3c8d5a(0x1b7)](){const _0x24bb2e=_0x3c8d5a;return this[_0x24bb2e(0x19a)];}get['readyState'](){const _0x5cb017=_0x3c8d5a;return this[_0x5cb017(0x107)];}get[_0x3c8d5a(0x1d8)](){const _0x3270ca=_0x3c8d5a;return this[_0x3270ca(0x1e2)];}['setSocket'](_0x25bb51,_0x33d195,_0x5e53b2){const _0x3d912d=_0x3c8d5a,_0x1db0ab=new _0x267e7c({'allowSynchronousEvents':_0x5e53b2[_0x3d912d(0x116)],'binaryType':this[_0x3d912d(0xff)],'extensions':this[_0x3d912d(0x263)],'isServer':this[_0x3d912d(0x189)],'maxPayload':_0x5e53b2[_0x3d912d(0x269)],'skipUTF8Validation':_0x5e53b2[_0x3d912d(0x14e)]}),_0x4893b4=new _0x12895e(_0x25bb51,this[_0x3d912d(0x263)],_0x5e53b2['generateMask']);this[_0x3d912d(0xfd)]=_0x1db0ab,this[_0x3d912d(0x10d)]=_0x4893b4,this[_0x3d912d(0x26f)]=_0x25bb51,_0x1db0ab[_0x353dd3]=this,_0x4893b4[_0x353dd3]=this,_0x25bb51[_0x353dd3]=this,_0x1db0ab['on'](_0x3d912d(0x243),_0x479350),_0x1db0ab['on'](_0x3d912d(0x1a5),_0x3df0aa),_0x1db0ab['on']('error',_0x5c823b),_0x1db0ab['on']('message',_0x4f5c22),_0x1db0ab['on'](_0x3d912d(0x1b6),_0x156d85),_0x1db0ab['on'](_0x3d912d(0x195),_0x8c4731),_0x4893b4[_0x3d912d(0x106)]=_0x13b6f8,_0x25bb51[_0x3d912d(0x111)]&&_0x25bb51[_0x3d912d(0x111)](0x0),_0x25bb51['setNoDelay']&&_0x25bb51['setNoDelay'](),_0x33d195[_0x3d912d(0x24a)]>0x0&&_0x25bb51[_0x3d912d(0x254)](_0x33d195),_0x25bb51['on']('close',_0x3dfb08),_0x25bb51['on']('data',_0x47d387),_0x25bb51['on'](_0x3d912d(0xfc),_0x3efcd8),_0x25bb51['on'](_0x3d912d(0x18a),_0x595a3c),this['_readyState']=_0x3a3ec5[_0x3d912d(0x1fe)],this[_0x3d912d(0x102)](_0x3d912d(0x1c7));}[_0x3c8d5a(0x250)](){const _0x2ac23e=_0x3c8d5a;if(!this[_0x2ac23e(0x26f)]){this[_0x2ac23e(0x107)]=_0x3a3ec5[_0x2ac23e(0x120)],this[_0x2ac23e(0x102)](_0x2ac23e(0xf3),this[_0x2ac23e(0x1c5)],this[_0x2ac23e(0x15b)]);return;}this[_0x2ac23e(0x263)][_0x5c0d91[_0x2ac23e(0x23a)]]&&this['_extensions'][_0x5c0d91[_0x2ac23e(0x23a)]][_0x2ac23e(0x16a)](),this[_0x2ac23e(0xfd)]['removeAllListeners'](),this['_readyState']=_0x3a3ec5['CLOSED'],this[_0x2ac23e(0x102)](_0x2ac23e(0xf3),this['_closeCode'],this['_closeMessage']);}[_0x3c8d5a(0xf3)](_0x6da9aa,_0x5e6132){const _0x3539ad=_0x3c8d5a;if(this['readyState']!==_0x3a3ec5[_0x3539ad(0x120)]){if(this[_0x3539ad(0x201)]===_0x3a3ec5['CONNECTING']){_0x5a10d2(this,this[_0x3539ad(0x22c)],_0x3539ad(0x285));return;}if(this[_0x3539ad(0x201)]===_0x3a3ec5[_0x3539ad(0x13a)]){this[_0x3539ad(0x133)]&&(this[_0x3539ad(0x236)]||this[_0x3539ad(0xfd)][_0x3539ad(0x19e)]['errorEmitted'])&&this[_0x3539ad(0x26f)][_0x3539ad(0xfc)]();return;}this[_0x3539ad(0x107)]=_0x3a3ec5[_0x3539ad(0x13a)],this[_0x3539ad(0x10d)][_0x3539ad(0xf3)](_0x6da9aa,_0x5e6132,!this[_0x3539ad(0x189)],_0x2ad919=>{const _0x231857=_0x3539ad;_0x2ad919||(this[_0x231857(0x133)]=!0x0,(this[_0x231857(0x236)]||this[_0x231857(0xfd)][_0x231857(0x19e)]['errorEmitted'])&&this[_0x231857(0x26f)][_0x231857(0xfc)]());}),_0x1a9132(this);}}[_0x3c8d5a(0x253)](){const _0x513892=_0x3c8d5a;this['readyState']===_0x3a3ec5['CONNECTING']||this[_0x513892(0x201)]===_0x3a3ec5[_0x513892(0x120)]||(this[_0x513892(0xec)]=!0x0,this[_0x513892(0x26f)]['pause']());}[_0x3c8d5a(0x1b6)](_0x41377c,_0x48f31e,_0x53f178){const _0x5beda4=_0x3c8d5a;if(this[_0x5beda4(0x201)]===_0x3a3ec5['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x41377c==_0x5beda4(0x206)?(_0x53f178=_0x41377c,_0x41377c=_0x48f31e=void 0x0):typeof _0x48f31e=='function'&&(_0x53f178=_0x48f31e,_0x48f31e=void 0x0),typeof _0x41377c==_0x5beda4(0x1fd)&&(_0x41377c=_0x41377c[_0x5beda4(0x11b)]()),this[_0x5beda4(0x201)]!==_0x3a3ec5[_0x5beda4(0x1fe)]){_0xb7dd06(this,_0x41377c,_0x53f178);return;}_0x48f31e===void 0x0&&(_0x48f31e=!this[_0x5beda4(0x189)]),this[_0x5beda4(0x10d)][_0x5beda4(0x1b6)](_0x41377c||_0x4a2e0a,_0x48f31e,_0x53f178);}[_0x3c8d5a(0x195)](_0x3dfbb8,_0x5a1cda,_0x50b5cf){const _0x12dae6=_0x3c8d5a;if(this[_0x12dae6(0x201)]===_0x3a3ec5[_0x12dae6(0x1b0)])throw new Error(_0x12dae6(0x291));if(typeof _0x3dfbb8==_0x12dae6(0x206)?(_0x50b5cf=_0x3dfbb8,_0x3dfbb8=_0x5a1cda=void 0x0):typeof _0x5a1cda=='function'&&(_0x50b5cf=_0x5a1cda,_0x5a1cda=void 0x0),typeof _0x3dfbb8=='number'&&(_0x3dfbb8=_0x3dfbb8[_0x12dae6(0x11b)]()),this[_0x12dae6(0x201)]!==_0x3a3ec5['OPEN']){_0xb7dd06(this,_0x3dfbb8,_0x50b5cf);return;}_0x5a1cda===void 0x0&&(_0x5a1cda=!this[_0x12dae6(0x189)]),this[_0x12dae6(0x10d)][_0x12dae6(0x195)](_0x3dfbb8||_0x4a2e0a,_0x5a1cda,_0x50b5cf);}[_0x3c8d5a(0x249)](){const _0x3a3b23=_0x3c8d5a;this['readyState']===_0x3a3ec5[_0x3a3b23(0x1b0)]||this[_0x3a3b23(0x201)]===_0x3a3ec5[_0x3a3b23(0x120)]||(this['_paused']=!0x1,this['_receiver'][_0x3a3b23(0x19e)][_0x3a3b23(0x1dc)]||this[_0x3a3b23(0x26f)][_0x3a3b23(0x249)]());}[_0x3c8d5a(0x140)](_0x3d28bd,_0x3c1f61,_0x379ea3){const _0x15991e=_0x3c8d5a;if(this[_0x15991e(0x201)]===_0x3a3ec5[_0x15991e(0x1b0)])throw new Error(_0x15991e(0x291));if(typeof _0x3c1f61==_0x15991e(0x206)&&(_0x379ea3=_0x3c1f61,_0x3c1f61={}),typeof _0x3d28bd==_0x15991e(0x1fd)&&(_0x3d28bd=_0x3d28bd[_0x15991e(0x11b)]()),this[_0x15991e(0x201)]!==_0x3a3ec5[_0x15991e(0x1fe)]){_0xb7dd06(this,_0x3d28bd,_0x379ea3);return;}const _0x4f0610={'binary':typeof _0x3d28bd!=_0x15991e(0x187),'mask':!this[_0x15991e(0x189)],'compress':!0x0,'fin':!0x0,..._0x3c1f61};this[_0x15991e(0x263)][_0x5c0d91[_0x15991e(0x23a)]]||(_0x4f0610['compress']=!0x1),this[_0x15991e(0x10d)]['send'](_0x3d28bd||_0x4a2e0a,_0x4f0610,_0x379ea3);}[_0x3c8d5a(0x21d)](){const _0x3b395f=_0x3c8d5a;if(this['readyState']!==_0x3a3ec5[_0x3b395f(0x120)]){if(this[_0x3b395f(0x201)]===_0x3a3ec5[_0x3b395f(0x1b0)]){_0x5a10d2(this,this[_0x3b395f(0x22c)],_0x3b395f(0x285));return;}this['_socket']&&(this[_0x3b395f(0x107)]=_0x3a3ec5[_0x3b395f(0x13a)],this['_socket'][_0x3b395f(0x22e)]());}}}Object[_0x3c8d5a(0x27a)](_0x3a3ec5,_0x3c8d5a(0x1b0),{'enumerable':!0x0,'value':_0x4eefab[_0x3c8d5a(0x26d)](_0x3c8d5a(0x1b0))}),Object[_0x3c8d5a(0x27a)](_0x3a3ec5[_0x3c8d5a(0x210)],'CONNECTING',{'enumerable':!0x0,'value':_0x4eefab['indexOf'](_0x3c8d5a(0x1b0))}),Object[_0x3c8d5a(0x27a)](_0x3a3ec5,_0x3c8d5a(0x1fe),{'enumerable':!0x0,'value':_0x4eefab[_0x3c8d5a(0x26d)](_0x3c8d5a(0x1fe))}),Object[_0x3c8d5a(0x27a)](_0x3a3ec5['prototype'],_0x3c8d5a(0x1fe),{'enumerable':!0x0,'value':_0x4eefab[_0x3c8d5a(0x26d)]('OPEN')}),Object[_0x3c8d5a(0x27a)](_0x3a3ec5,'CLOSING',{'enumerable':!0x0,'value':_0x4eefab['indexOf'](_0x3c8d5a(0x13a))}),Object[_0x3c8d5a(0x27a)](_0x3a3ec5[_0x3c8d5a(0x210)],'CLOSING',{'enumerable':!0x0,'value':_0x4eefab['indexOf']('CLOSING')}),Object[_0x3c8d5a(0x27a)](_0x3a3ec5,'CLOSED',{'enumerable':!0x0,'value':_0x4eefab['indexOf'](_0x3c8d5a(0x120))}),Object[_0x3c8d5a(0x27a)](_0x3a3ec5['prototype'],_0x3c8d5a(0x120),{'enumerable':!0x0,'value':_0x4eefab[_0x3c8d5a(0x26d)](_0x3c8d5a(0x120))}),[_0x3c8d5a(0xff),'bufferedAmount','extensions',_0x3c8d5a(0x1e9),_0x3c8d5a(0x1b7),_0x3c8d5a(0x201),_0x3c8d5a(0x1d8)]['forEach'](_0x4a5657=>{const _0x250869=_0x3c8d5a;Object[_0x250869(0x27a)](_0x3a3ec5['prototype'],_0x4a5657,{'enumerable':!0x0});}),[_0x3c8d5a(0x1c7),_0x3c8d5a(0x18a),_0x3c8d5a(0xf3),_0x3c8d5a(0x1cc)][_0x3c8d5a(0x1c9)](_0x5c37c4=>{const _0x469041=_0x3c8d5a;Object['defineProperty'](_0x3a3ec5[_0x469041(0x210)],'on'+_0x5c37c4,{'enumerable':!0x0,'get'(){const _0x66fc42=_0x469041;for(const _0x3e5786 of this[_0x66fc42(0x1e8)](_0x5c37c4))if(_0x3e5786[_0x3670a0])return _0x3e5786[_0x42d75e];return null;},'set'(_0xba7c16){const _0xa3c539=_0x469041;for(const _0x2df756 of this[_0xa3c539(0x1e8)](_0x5c37c4))if(_0x2df756[_0x3670a0]){this[_0xa3c539(0x27e)](_0x5c37c4,_0x2df756);break;}typeof _0xba7c16==_0xa3c539(0x206)&&this[_0xa3c539(0x122)](_0x5c37c4,_0xba7c16,{[_0x3670a0]:!0x0});}});}),_0x3a3ec5['prototype'][_0x3c8d5a(0x122)]=_0x1de0cd,_0x3a3ec5[_0x3c8d5a(0x210)][_0x3c8d5a(0x1d5)]=_0x9f53f9,we=_0x3a3ec5;function _0x51ea28(_0x2d11a5,_0x2e1a9c,_0x4e9698,_0x13f52b){const _0x27a4a7=_0x3c8d5a,_0x7fb772={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x40a218[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x13f52b,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x27a4a7(0x196),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x2d11a5['_autoPong']=_0x7fb772['autoPong'],!_0x40a218[_0x27a4a7(0x24d)](_0x7fb772[_0x27a4a7(0x15e)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x7fb772[_0x27a4a7(0x15e)]+_0x27a4a7(0x16c)+_0x40a218['join'](',\x20')+')');let _0x551b03;if(_0x2e1a9c instanceof _0x383791)_0x551b03=_0x2e1a9c;else try{_0x551b03=new _0x383791(_0x2e1a9c);}catch{throw new SyntaxError(_0x27a4a7(0x1e3)+_0x2e1a9c);}_0x551b03[_0x27a4a7(0x1b7)]==='http:'?_0x551b03[_0x27a4a7(0x1b7)]=_0x27a4a7(0x17f):_0x551b03[_0x27a4a7(0x1b7)]===_0x27a4a7(0x17a)&&(_0x551b03[_0x27a4a7(0x1b7)]=_0x27a4a7(0x274)),_0x2d11a5[_0x27a4a7(0x1e2)]=_0x551b03[_0x27a4a7(0x1ec)];const _0x7839f5=_0x551b03[_0x27a4a7(0x1b7)]==='wss:',_0x8fea=_0x551b03[_0x27a4a7(0x1b7)]===_0x27a4a7(0x1e0);let _0x15300d;if(_0x551b03[_0x27a4a7(0x1b7)]!==_0x27a4a7(0x17f)&&!_0x7839f5&&!_0x8fea?_0x15300d=_0x27a4a7(0x1b5):_0x8fea&&!_0x551b03[_0x27a4a7(0x1ed)]?_0x15300d='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x551b03['hash']&&(_0x15300d='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x15300d){const _0x185ea8=new SyntaxError(_0x15300d);if(_0x2d11a5[_0x27a4a7(0xf8)]===0x0)throw _0x185ea8;_0x3aa49b(_0x2d11a5,_0x185ea8);return;}const _0x450b3e=_0x7839f5?0x1bb:0x50,_0x1538cc=_0x38cff6(0x10)[_0x27a4a7(0x11b)](_0x27a4a7(0x268)),_0x50d774=_0x7839f5?_0x7ff941[_0x27a4a7(0x10a)]:_0x22fa07['request'],_0x45755d=new Set();let _0x7a8f46;if(_0x7fb772['createConnection']=_0x7fb772[_0x27a4a7(0x19d)]||(_0x7839f5?_0x2150fc:_0x306894),_0x7fb772[_0x27a4a7(0x292)]=_0x7fb772[_0x27a4a7(0x292)]||_0x450b3e,_0x7fb772['port']=_0x551b03[_0x27a4a7(0x262)]||_0x450b3e,_0x7fb772[_0x27a4a7(0x228)]=_0x551b03[_0x27a4a7(0x284)][_0x27a4a7(0x108)]('[')?_0x551b03['hostname'][_0x27a4a7(0x117)](0x1,-0x1):_0x551b03[_0x27a4a7(0x284)],_0x7fb772['headers']={..._0x7fb772[_0x27a4a7(0x23d)],'Sec-WebSocket-Version':_0x7fb772[_0x27a4a7(0x15e)],'Sec-WebSocket-Key':_0x1538cc,'Connection':_0x27a4a7(0x184),'Upgrade':'websocket'},_0x7fb772[_0x27a4a7(0x180)]=_0x551b03[_0x27a4a7(0x1ed)]+_0x551b03[_0x27a4a7(0x1ab)],_0x7fb772['timeout']=_0x7fb772[_0x27a4a7(0x194)],_0x7fb772[_0x27a4a7(0x11d)]&&(_0x7a8f46=new _0x5c0d91(_0x7fb772['perMessageDeflate']!==!0x0?_0x7fb772[_0x27a4a7(0x11d)]:{},!0x1,_0x7fb772[_0x27a4a7(0x269)]),_0x7fb772['headers'][_0x27a4a7(0x25e)]=_0x21e6b6({[_0x5c0d91['extensionName']]:_0x7a8f46[_0x27a4a7(0x28f)]()})),_0x4e9698['length']){for(const _0x4817da of _0x4e9698){if(typeof _0x4817da!='string'||!_0x38424d['test'](_0x4817da)||_0x45755d[_0x27a4a7(0x142)](_0x4817da))throw new SyntaxError(_0x27a4a7(0x114));_0x45755d[_0x27a4a7(0x186)](_0x4817da);}_0x7fb772['headers']['Sec-WebSocket-Protocol']=_0x4e9698['join'](',');}if(_0x7fb772['origin']&&(_0x7fb772[_0x27a4a7(0x15e)]<0xd?_0x7fb772[_0x27a4a7(0x23d)][_0x27a4a7(0x277)]=_0x7fb772['origin']:_0x7fb772['headers'][_0x27a4a7(0x113)]=_0x7fb772[_0x27a4a7(0x1bb)]),(_0x551b03[_0x27a4a7(0x1ff)]||_0x551b03['password'])&&(_0x7fb772[_0x27a4a7(0x1c1)]=_0x551b03['username']+':'+_0x551b03['password']),_0x8fea){const _0x3da677=_0x7fb772[_0x27a4a7(0x180)][_0x27a4a7(0x190)](':');_0x7fb772[_0x27a4a7(0x110)]=_0x3da677[0x0],_0x7fb772[_0x27a4a7(0x180)]=_0x3da677[0x1];}let _0x39d756;if(_0x7fb772[_0x27a4a7(0x1cf)]){if(_0x2d11a5[_0x27a4a7(0xf8)]===0x0){_0x2d11a5[_0x27a4a7(0x11e)]=_0x8fea,_0x2d11a5['_originalSecure']=_0x7839f5,_0x2d11a5[_0x27a4a7(0x160)]=_0x8fea?_0x7fb772[_0x27a4a7(0x110)]:_0x551b03[_0x27a4a7(0x228)];const _0x1a5363=_0x13f52b&&_0x13f52b[_0x27a4a7(0x23d)];if(_0x13f52b={..._0x13f52b,'headers':{}},_0x1a5363){for(const [_0xec5b28,_0x475437]of Object[_0x27a4a7(0x1e6)](_0x1a5363))_0x13f52b[_0x27a4a7(0x23d)][_0xec5b28[_0x27a4a7(0x1b9)]()]=_0x475437;}}else{if(_0x2d11a5[_0x27a4a7(0x247)](_0x27a4a7(0x1df))===0x0){const _0x34d03a=_0x8fea?_0x2d11a5[_0x27a4a7(0x11e)]?_0x7fb772[_0x27a4a7(0x110)]===_0x2d11a5[_0x27a4a7(0x160)]:!0x1:_0x2d11a5[_0x27a4a7(0x11e)]?!0x1:_0x551b03['host']===_0x2d11a5[_0x27a4a7(0x160)];(!_0x34d03a||_0x2d11a5['_originalSecure']&&!_0x7839f5)&&(delete _0x7fb772[_0x27a4a7(0x23d)][_0x27a4a7(0x202)],delete _0x7fb772[_0x27a4a7(0x23d)][_0x27a4a7(0x15f)],_0x34d03a||delete _0x7fb772[_0x27a4a7(0x23d)][_0x27a4a7(0x228)],_0x7fb772['auth']=void 0x0);}}_0x7fb772['auth']&&!_0x13f52b[_0x27a4a7(0x23d)][_0x27a4a7(0x202)]&&(_0x13f52b['headers'][_0x27a4a7(0x202)]=_0x27a4a7(0x1eb)+Buffer[_0x27a4a7(0x238)](_0x7fb772[_0x27a4a7(0x1c1)])[_0x27a4a7(0x11b)]('base64')),_0x39d756=_0x2d11a5[_0x27a4a7(0x22c)]=_0x50d774(_0x7fb772),_0x2d11a5[_0x27a4a7(0xf8)]&&_0x2d11a5[_0x27a4a7(0x102)](_0x27a4a7(0x1df),_0x2d11a5[_0x27a4a7(0x1d8)],_0x39d756);}else _0x39d756=_0x2d11a5[_0x27a4a7(0x22c)]=_0x50d774(_0x7fb772);_0x7fb772[_0x27a4a7(0x203)]&&_0x39d756['on'](_0x27a4a7(0x203),()=>{const _0x3a8296=_0x27a4a7;_0x5a10d2(_0x2d11a5,_0x39d756,_0x3a8296(0x1be));}),_0x39d756['on']('error',_0x1e1d44=>{const _0x3baa3c=_0x27a4a7;_0x39d756===null||_0x39d756[_0x23e035]||(_0x39d756=_0x2d11a5[_0x3baa3c(0x22c)]=null,_0x3aa49b(_0x2d11a5,_0x1e1d44));}),_0x39d756['on'](_0x27a4a7(0x1d6),_0xfe192d=>{const _0xb79f4b=_0x27a4a7,_0x3da24d=_0xfe192d[_0xb79f4b(0x23d)][_0xb79f4b(0x150)],_0x28d013=_0xfe192d[_0xb79f4b(0x19c)];if(_0x3da24d&&_0x7fb772[_0xb79f4b(0x1cf)]&&_0x28d013>=0x12c&&_0x28d013<0x190){if(++_0x2d11a5[_0xb79f4b(0xf8)]>_0x7fb772[_0xb79f4b(0x152)]){_0x5a10d2(_0x2d11a5,_0x39d756,_0xb79f4b(0x283));return;}_0x39d756[_0xb79f4b(0x135)]();let _0x29a31d;try{_0x29a31d=new _0x383791(_0x3da24d,_0x2e1a9c);}catch{const _0x5cd937=new SyntaxError(_0xb79f4b(0x1e3)+_0x3da24d);_0x3aa49b(_0x2d11a5,_0x5cd937);return;}_0x51ea28(_0x2d11a5,_0x29a31d,_0x4e9698,_0x13f52b);}else _0x2d11a5[_0xb79f4b(0x102)](_0xb79f4b(0xeb),_0x39d756,_0xfe192d)||_0x5a10d2(_0x2d11a5,_0x39d756,'Unexpected\x20server\x20response:\x20'+_0xfe192d[_0xb79f4b(0x19c)]);}),_0x39d756['on'](_0x27a4a7(0x207),(_0x4717e5,_0x579aa6,_0x19965d)=>{const _0xa9b7cf=_0x27a4a7;if(_0x2d11a5['emit'](_0xa9b7cf(0x207),_0x4717e5),_0x2d11a5[_0xa9b7cf(0x201)]!==_0x3a3ec5['CONNECTING'])return;_0x39d756=_0x2d11a5[_0xa9b7cf(0x22c)]=null;const _0x2424f0=_0x4717e5['headers']['upgrade'];if(_0x2424f0===void 0x0||_0x2424f0[_0xa9b7cf(0x1b9)]()!==_0xa9b7cf(0x12c)){_0x5a10d2(_0x2d11a5,_0x579aa6,'Invalid\x20Upgrade\x20header');return;}const _0x58d45b=_0x48fbc7(_0xa9b7cf(0x252))[_0xa9b7cf(0x1a8)](_0x1538cc+_0x6a7426)[_0xa9b7cf(0x275)]('base64');if(_0x4717e5[_0xa9b7cf(0x23d)][_0xa9b7cf(0x158)]!==_0x58d45b){_0x5a10d2(_0x2d11a5,_0x579aa6,_0xa9b7cf(0x1d1));return;}const _0x21c8c8=_0x4717e5['headers'][_0xa9b7cf(0x11a)];let _0x4c7e23;if(_0x21c8c8!==void 0x0?_0x45755d[_0xa9b7cf(0x163)]?_0x45755d['has'](_0x21c8c8)||(_0x4c7e23='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x4c7e23=_0xa9b7cf(0x225):_0x45755d[_0xa9b7cf(0x163)]&&(_0x4c7e23=_0xa9b7cf(0x138)),_0x4c7e23){_0x5a10d2(_0x2d11a5,_0x579aa6,_0x4c7e23);return;}_0x21c8c8&&(_0x2d11a5[_0xa9b7cf(0x19a)]=_0x21c8c8);const _0x438a72=_0x4717e5[_0xa9b7cf(0x23d)]['sec-websocket-extensions'];if(_0x438a72!==void 0x0){if(!_0x7a8f46){_0x5a10d2(_0x2d11a5,_0x579aa6,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x2a42a0;try{_0x2a42a0=_0x464f3b(_0x438a72);}catch{_0x5a10d2(_0x2d11a5,_0x579aa6,_0xa9b7cf(0x13b));return;}const _0x5119c2=Object[_0xa9b7cf(0x1f3)](_0x2a42a0);if(_0x5119c2[_0xa9b7cf(0x24a)]!==0x1||_0x5119c2[0x0]!==_0x5c0d91[_0xa9b7cf(0x23a)]){_0x5a10d2(_0x2d11a5,_0x579aa6,_0xa9b7cf(0x265));return;}try{_0x7a8f46[_0xa9b7cf(0x1c3)](_0x2a42a0[_0x5c0d91[_0xa9b7cf(0x23a)]]);}catch{_0x5a10d2(_0x2d11a5,_0x579aa6,_0xa9b7cf(0x13b));return;}_0x2d11a5['_extensions'][_0x5c0d91['extensionName']]=_0x7a8f46;}_0x2d11a5['setSocket'](_0x579aa6,_0x19965d,{'allowSynchronousEvents':_0x7fb772[_0xa9b7cf(0x116)],'generateMask':_0x7fb772[_0xa9b7cf(0x144)],'maxPayload':_0x7fb772[_0xa9b7cf(0x269)],'skipUTF8Validation':_0x7fb772['skipUTF8Validation']});}),_0x7fb772['finishRequest']?_0x7fb772[_0x27a4a7(0x1f8)](_0x39d756,_0x2d11a5):_0x39d756[_0x27a4a7(0xfc)]();}function _0x3aa49b(_0x227a72,_0x387638){const _0x4c0428=_0x3c8d5a;_0x227a72[_0x4c0428(0x107)]=_0x3a3ec5['CLOSING'],_0x227a72[_0x4c0428(0x14b)]=!0x0,_0x227a72['emit'](_0x4c0428(0x18a),_0x387638),_0x227a72[_0x4c0428(0x250)]();}function _0x306894(_0x520a3d){const _0x144061=_0x3c8d5a;return _0x520a3d[_0x144061(0x180)]=_0x520a3d[_0x144061(0x110)],_0x3d51c6['connect'](_0x520a3d);}function _0x2150fc(_0x14f2e7){const _0x2be3c6=_0x3c8d5a;return _0x14f2e7[_0x2be3c6(0x180)]=void 0x0,!_0x14f2e7[_0x2be3c6(0x100)]&&_0x14f2e7[_0x2be3c6(0x100)]!==''&&(_0x14f2e7['servername']=_0x3d51c6[_0x2be3c6(0x1b1)](_0x14f2e7[_0x2be3c6(0x228)])?'':_0x14f2e7[_0x2be3c6(0x228)]),_0x15d7db[_0x2be3c6(0x1c4)](_0x14f2e7);}function _0x5a10d2(_0x5ab44f,_0xb4fafc,_0x2103d6){const _0x88d744=_0x3c8d5a;_0x5ab44f[_0x88d744(0x107)]=_0x3a3ec5[_0x88d744(0x13a)];const _0x2fc88d=new Error(_0x2103d6);Error['captureStackTrace'](_0x2fc88d,_0x5a10d2),_0xb4fafc[_0x88d744(0x119)]?(_0xb4fafc[_0x23e035]=!0x0,_0xb4fafc[_0x88d744(0x135)](),_0xb4fafc[_0x88d744(0x174)]&&!_0xb4fafc[_0x88d744(0x174)][_0x88d744(0x1aa)]&&_0xb4fafc[_0x88d744(0x174)]['destroy'](),process[_0x88d744(0x151)](_0x3aa49b,_0x5ab44f,_0x2fc88d)):(_0xb4fafc[_0x88d744(0x22e)](_0x2fc88d),_0xb4fafc[_0x88d744(0x18f)](_0x88d744(0x18a),_0x5ab44f['emit'][_0x88d744(0x13c)](_0x5ab44f,'error')),_0xb4fafc[_0x88d744(0x18f)](_0x88d744(0xf3),_0x5ab44f[_0x88d744(0x250)][_0x88d744(0x13c)](_0x5ab44f)));}function _0xb7dd06(_0x38a5ca,_0xaee810,_0x1aaec7){const _0x45aae2=_0x3c8d5a;if(_0xaee810){const _0x56146c=_0x7b0074(_0xaee810)?_0xaee810['size']:_0x10115f(_0xaee810)['length'];_0x38a5ca[_0x45aae2(0x26f)]?_0x38a5ca[_0x45aae2(0x10d)][_0x45aae2(0x26c)]+=_0x56146c:_0x38a5ca['_bufferedAmount']+=_0x56146c;}if(_0x1aaec7){const _0xec2d44=new Error(_0x45aae2(0x220)+_0x38a5ca[_0x45aae2(0x201)]+'\x20('+_0x4eefab[_0x38a5ca[_0x45aae2(0x201)]]+')');process['nextTick'](_0x1aaec7,_0xec2d44);}}function _0x479350(_0x355d7a,_0x4e6a2c){const _0x4513a1=_0x3c8d5a,_0xb77ca0=this[_0x353dd3];_0xb77ca0[_0x4513a1(0x236)]=!0x0,_0xb77ca0['_closeMessage']=_0x4e6a2c,_0xb77ca0['_closeCode']=_0x355d7a,_0xb77ca0[_0x4513a1(0x26f)][_0x353dd3]!==void 0x0&&(_0xb77ca0[_0x4513a1(0x26f)][_0x4513a1(0x27e)](_0x4513a1(0x1b4),_0x47d387),process[_0x4513a1(0x151)](_0x23cc54,_0xb77ca0['_socket']),_0x355d7a===0x3ed?_0xb77ca0[_0x4513a1(0xf3)]():_0xb77ca0[_0x4513a1(0xf3)](_0x355d7a,_0x4e6a2c));}function _0x3df0aa(){const _0x383b66=_0x3c8d5a,_0x3029c5=this[_0x353dd3];_0x3029c5[_0x383b66(0x1e9)]||_0x3029c5['_socket'][_0x383b66(0x249)]();}function _0x5c823b(_0x1dea86){const _0x269dbc=_0x3c8d5a,_0xa63766=this[_0x353dd3];_0xa63766[_0x269dbc(0x26f)][_0x353dd3]!==void 0x0&&(_0xa63766[_0x269dbc(0x26f)][_0x269dbc(0x27e)](_0x269dbc(0x1b4),_0x47d387),process[_0x269dbc(0x151)](_0x23cc54,_0xa63766[_0x269dbc(0x26f)]),_0xa63766[_0x269dbc(0xf3)](_0x1dea86[_0x3db3cd])),_0xa63766['_errorEmitted']||(_0xa63766[_0x269dbc(0x14b)]=!0x0,_0xa63766[_0x269dbc(0x102)](_0x269dbc(0x18a),_0x1dea86));}function _0x2c2566(){const _0x31beee=_0x3c8d5a;this[_0x353dd3][_0x31beee(0x250)]();}function _0x4f5c22(_0x47673f,_0x9e8eac){const _0x124ba0=_0x3c8d5a;this[_0x353dd3]['emit'](_0x124ba0(0x1cc),_0x47673f,_0x9e8eac);}function _0x156d85(_0x3c6bf1){const _0x2d443b=_0x3c8d5a,_0x32ea8e=this[_0x353dd3];_0x32ea8e[_0x2d443b(0x226)]&&_0x32ea8e[_0x2d443b(0x195)](_0x3c6bf1,!this[_0x2d443b(0x189)],_0x4aa55d),_0x32ea8e[_0x2d443b(0x102)](_0x2d443b(0x1b6),_0x3c6bf1);}function _0x8c4731(_0x1edaf9){const _0x5d456b=_0x3c8d5a;this[_0x353dd3][_0x5d456b(0x102)](_0x5d456b(0x195),_0x1edaf9);}function _0x23cc54(_0xc633db){_0xc633db['resume']();}function _0x13b6f8(_0x324a22){const _0x231d55=_0x3c8d5a,_0x2a1ef3=this[_0x353dd3];_0x2a1ef3[_0x231d55(0x201)]!==_0x3a3ec5[_0x231d55(0x120)]&&(_0x2a1ef3['readyState']===_0x3a3ec5[_0x231d55(0x1fe)]&&(_0x2a1ef3[_0x231d55(0x107)]=_0x3a3ec5[_0x231d55(0x13a)],_0x1a9132(_0x2a1ef3)),this[_0x231d55(0x26f)][_0x231d55(0xfc)](),_0x2a1ef3[_0x231d55(0x14b)]||(_0x2a1ef3[_0x231d55(0x14b)]=!0x0,_0x2a1ef3[_0x231d55(0x102)](_0x231d55(0x18a),_0x324a22)));}function _0x1a9132(_0x54f139){const _0x302623=_0x3c8d5a;_0x54f139[_0x302623(0x185)]=setTimeout(_0x54f139['_socket']['destroy'][_0x302623(0x13c)](_0x54f139[_0x302623(0x26f)]),_0x2971b8);}function _0x3dfb08(){const _0x558cd0=_0x3c8d5a,_0x3ae46a=this[_0x353dd3];this[_0x558cd0(0x27e)](_0x558cd0(0xf3),_0x3dfb08),this[_0x558cd0(0x27e)]('data',_0x47d387),this['removeListener'](_0x558cd0(0xfc),_0x3efcd8),_0x3ae46a[_0x558cd0(0x107)]=_0x3a3ec5[_0x558cd0(0x13a)];let _0xd34021;!this[_0x558cd0(0x18c)][_0x558cd0(0x282)]&&!_0x3ae46a[_0x558cd0(0x236)]&&!_0x3ae46a['_receiver']['_writableState']['errorEmitted']&&(_0xd34021=_0x3ae46a[_0x558cd0(0x26f)][_0x558cd0(0x188)]())!==null&&_0x3ae46a[_0x558cd0(0xfd)]['write'](_0xd34021),_0x3ae46a[_0x558cd0(0xfd)][_0x558cd0(0xfc)](),this[_0x353dd3]=void 0x0,clearTimeout(_0x3ae46a[_0x558cd0(0x185)]),_0x3ae46a[_0x558cd0(0xfd)][_0x558cd0(0x19e)][_0x558cd0(0x173)]||_0x3ae46a[_0x558cd0(0xfd)]['_writableState'][_0x558cd0(0x159)]?_0x3ae46a[_0x558cd0(0x250)]():(_0x3ae46a[_0x558cd0(0xfd)]['on'](_0x558cd0(0x18a),_0x2c2566),_0x3ae46a[_0x558cd0(0xfd)]['on'](_0x558cd0(0x256),_0x2c2566));}function _0x47d387(_0x5debb4){const _0x42e5af=_0x3c8d5a;this[_0x353dd3][_0x42e5af(0xfd)][_0x42e5af(0x261)](_0x5debb4)||this[_0x42e5af(0x253)]();}function _0x3efcd8(){const _0x1b285d=_0x3c8d5a,_0x374144=this[_0x353dd3];_0x374144[_0x1b285d(0x107)]=_0x3a3ec5[_0x1b285d(0x13a)],_0x374144['_receiver'][_0x1b285d(0xfc)](),this[_0x1b285d(0xfc)]();}function _0x595a3c(){const _0x1d8726=_0x3c8d5a,_0x3f32c4=this[_0x353dd3];this[_0x1d8726(0x27e)]('error',_0x595a3c),this['on'](_0x1d8726(0x18a),_0x4aa55d),_0x3f32c4&&(_0x3f32c4['_readyState']=_0x3a3ec5['CLOSING'],this[_0x1d8726(0x22e)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x38ecbb}=_0x5a4a29;function _0x1df45e(_0x3d8a72){const _0x31eb5f=_0x59bf;_0x3d8a72[_0x31eb5f(0x102)]('close');}function _0x308151(){const _0x4abe06=_0x59bf;!this[_0x4abe06(0x1aa)]&&this[_0x4abe06(0x19e)]['finished']&&this[_0x4abe06(0x22e)]();}function _0x1e3daf(_0x5825f6){const _0x477503=_0x59bf;this[_0x477503(0x27e)](_0x477503(0x18a),_0x1e3daf),this[_0x477503(0x22e)](),this[_0x477503(0x247)]('error')===0x0&&this[_0x477503(0x102)](_0x477503(0x18a),_0x5825f6);}function _0x233b80(_0x1fa6d8,_0x103900){const _0xb2a2de=_0x59bf;let _0x1d0b45=!0x0;const _0x3710f8=new _0x38ecbb({..._0x103900,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x1fa6d8['on'](_0xb2a2de(0x1cc),function(_0x52292c,_0x29d7e6){const _0x2048a4=_0xb2a2de,_0x116b75=!_0x29d7e6&&_0x3710f8[_0x2048a4(0x18c)][_0x2048a4(0x1c0)]?_0x52292c[_0x2048a4(0x11b)]():_0x52292c;_0x3710f8[_0x2048a4(0x18d)](_0x116b75)||_0x1fa6d8[_0x2048a4(0x253)]();}),_0x1fa6d8[_0xb2a2de(0x18f)](_0xb2a2de(0x18a),function(_0x4f9772){const _0x2e9631=_0xb2a2de;_0x3710f8[_0x2e9631(0x1aa)]||(_0x1d0b45=!0x1,_0x3710f8[_0x2e9631(0x22e)](_0x4f9772));}),_0x1fa6d8[_0xb2a2de(0x18f)](_0xb2a2de(0xf3),function(){const _0x4ac0d2=_0xb2a2de;_0x3710f8[_0x4ac0d2(0x1aa)]||_0x3710f8[_0x4ac0d2(0x18d)](null);}),_0x3710f8['_destroy']=function(_0x5e0034,_0x172ea2){const _0x16c96f=_0xb2a2de;if(_0x1fa6d8['readyState']===_0x1fa6d8[_0x16c96f(0x120)]){_0x172ea2(_0x5e0034),process['nextTick'](_0x1df45e,_0x3710f8);return;}let _0x365190=!0x1;_0x1fa6d8['once'](_0x16c96f(0x18a),function(_0xd93276){_0x365190=!0x0,_0x172ea2(_0xd93276);}),_0x1fa6d8[_0x16c96f(0x18f)]('close',function(){const _0x51fe20=_0x16c96f;_0x365190||_0x172ea2(_0x5e0034),process[_0x51fe20(0x151)](_0x1df45e,_0x3710f8);}),_0x1d0b45&&_0x1fa6d8[_0x16c96f(0x21d)]();},_0x3710f8['_final']=function(_0x5a5c49){const _0x421ead=_0xb2a2de;if(_0x1fa6d8['readyState']===_0x1fa6d8[_0x421ead(0x1b0)]){_0x1fa6d8['once'](_0x421ead(0x1c7),function(){const _0x3d20f1=_0x421ead;_0x3710f8[_0x3d20f1(0x205)](_0x5a5c49);});return;}_0x1fa6d8['_socket']!==null&&(_0x1fa6d8['_socket'][_0x421ead(0x19e)][_0x421ead(0x173)]?(_0x5a5c49(),_0x3710f8[_0x421ead(0x18c)]['endEmitted']&&_0x3710f8[_0x421ead(0x22e)]()):(_0x1fa6d8[_0x421ead(0x26f)][_0x421ead(0x18f)](_0x421ead(0x256),function(){_0x5a5c49();}),_0x1fa6d8[_0x421ead(0xf3)]()));},_0x3710f8[_0xb2a2de(0xee)]=function(){const _0x3b2753=_0xb2a2de;_0x1fa6d8['isPaused']&&_0x1fa6d8[_0x3b2753(0x249)]();},_0x3710f8[_0xb2a2de(0x290)]=function(_0x1f8356,_0x308536,_0x2e6c10){const _0x35c88a=_0xb2a2de;if(_0x1fa6d8[_0x35c88a(0x201)]===_0x1fa6d8[_0x35c88a(0x1b0)]){_0x1fa6d8[_0x35c88a(0x18f)](_0x35c88a(0x1c7),function(){const _0xd5276a=_0x35c88a;_0x3710f8[_0xd5276a(0x290)](_0x1f8356,_0x308536,_0x2e6c10);});return;}_0x1fa6d8[_0x35c88a(0x140)](_0x1f8356,_0x2e6c10);},_0x3710f8['on']('end',_0x308151),_0x3710f8['on']('error',_0x1e3daf),_0x3710f8;}return Oe=_0x233b80,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x417416}=ne();function _0x528eb5(_0xa279a8){const _0x47e75e=_0x59bf,_0x49520d=new Set();let _0x298a7a=-0x1,_0x32b4ef=-0x1,_0x1210a6=0x0;for(_0x1210a6;_0x1210a6<_0xa279a8[_0x47e75e(0x24a)];_0x1210a6++){const _0x3dc5e7=_0xa279a8['charCodeAt'](_0x1210a6);if(_0x32b4ef===-0x1&&_0x417416[_0x3dc5e7]===0x1)_0x298a7a===-0x1&&(_0x298a7a=_0x1210a6);else{if(_0x1210a6!==0x0&&(_0x3dc5e7===0x20||_0x3dc5e7===0x9))_0x32b4ef===-0x1&&_0x298a7a!==-0x1&&(_0x32b4ef=_0x1210a6);else{if(_0x3dc5e7===0x2c){if(_0x298a7a===-0x1)throw new SyntaxError(_0x47e75e(0x128)+_0x1210a6);_0x32b4ef===-0x1&&(_0x32b4ef=_0x1210a6);const _0x25915c=_0xa279a8[_0x47e75e(0x117)](_0x298a7a,_0x32b4ef);if(_0x49520d[_0x47e75e(0x142)](_0x25915c))throw new SyntaxError(_0x47e75e(0x131)+_0x25915c+_0x47e75e(0x1f4));_0x49520d[_0x47e75e(0x186)](_0x25915c),_0x298a7a=_0x32b4ef=-0x1;}else throw new SyntaxError(_0x47e75e(0x128)+_0x1210a6);}}}if(_0x298a7a===-0x1||_0x32b4ef!==-0x1)throw new SyntaxError(_0x47e75e(0x175));const _0x42a947=_0xa279a8[_0x47e75e(0x117)](_0x298a7a,_0x1210a6);if(_0x49520d[_0x47e75e(0x142)](_0x42a947))throw new SyntaxError('The\x20\x22'+_0x42a947+'\x22\x20subprotocol\x20is\x20duplicated');return _0x49520d['add'](_0x42a947),_0x49520d;}return Ce={'parse':_0x528eb5},Ce;}var Te,ot;function er(){const _0x961ef4=_0x33df0b;if(ot)return Te;ot=0x1;const _0x16a135=_0x270560,_0x444ec2=_0x22e837,{Duplex:_0x22088d}=_0x5a4a29,{createHash:_0x49efd4}=_0x50de3c,_0x38276b=pt(),_0x59f0f4=he(),_0x2c9496=Jt(),_0x4704ee=Ie(),{GUID:_0x2fd03f,kWebSocket:_0x267961}=V(),_0x2517dc=/^[+/0-9A-Za-z]{22}==$/,_0x52d45a=0x0,_0x287555=0x1,_0x59dde5=0x2;class _0xd340b0 extends _0x16a135{constructor(_0x2399ca,_0x4a1d56){const _0x2e9b2e=_0x59bf;if(super(),_0x2399ca={'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':_0x4704ee,..._0x2399ca},_0x2399ca[_0x2e9b2e(0x262)]==null&&!_0x2399ca[_0x2e9b2e(0x213)]&&!_0x2399ca[_0x2e9b2e(0x1d0)]||_0x2399ca[_0x2e9b2e(0x262)]!=null&&(_0x2399ca[_0x2e9b2e(0x213)]||_0x2399ca[_0x2e9b2e(0x1d0)])||_0x2399ca[_0x2e9b2e(0x213)]&&_0x2399ca[_0x2e9b2e(0x1d0)])throw new TypeError(_0x2e9b2e(0x20e));if(_0x2399ca[_0x2e9b2e(0x262)]!=null?(this[_0x2e9b2e(0x14f)]=_0x444ec2[_0x2e9b2e(0x1f9)]((_0x34f84c,_0x3478f9)=>{const _0x56d750=_0x2e9b2e,_0x2d32d=_0x444ec2['STATUS_CODES'][0x1aa];_0x3478f9[_0x56d750(0x219)](0x1aa,{'Content-Length':_0x2d32d[_0x56d750(0x24a)],'Content-Type':'text/plain'}),_0x3478f9[_0x56d750(0xfc)](_0x2d32d);}),this[_0x2e9b2e(0x14f)]['listen'](_0x2399ca[_0x2e9b2e(0x262)],_0x2399ca['host'],_0x2399ca[_0x2e9b2e(0x281)],_0x4a1d56)):_0x2399ca[_0x2e9b2e(0x213)]&&(this[_0x2e9b2e(0x14f)]=_0x2399ca[_0x2e9b2e(0x213)]),this[_0x2e9b2e(0x14f)]){const _0x337894=this['emit'][_0x2e9b2e(0x13c)](this,_0x2e9b2e(0x1a9));this[_0x2e9b2e(0x12a)]=_0x77866e(this[_0x2e9b2e(0x14f)],{'listening':this['emit'][_0x2e9b2e(0x13c)](this,_0x2e9b2e(0x1ce)),'error':this[_0x2e9b2e(0x102)]['bind'](this,_0x2e9b2e(0x18a)),'upgrade':(_0x242366,_0x778308,_0x272357)=>{this['handleUpgrade'](_0x242366,_0x778308,_0x272357,_0x337894);}});}_0x2399ca['perMessageDeflate']===!0x0&&(_0x2399ca[_0x2e9b2e(0x11d)]={}),_0x2399ca[_0x2e9b2e(0x1fa)]&&(this[_0x2e9b2e(0x153)]=new Set(),this[_0x2e9b2e(0x1a0)]=!0x1),this['options']=_0x2399ca,this['_state']=_0x52d45a;}[_0x961ef4(0x27c)](){const _0x53080c=_0x961ef4;if(this[_0x53080c(0x1c8)][_0x53080c(0x1d0)])throw new Error(_0x53080c(0x19f));return this[_0x53080c(0x14f)]?this[_0x53080c(0x14f)][_0x53080c(0x27c)]():null;}['close'](_0x143b3c){const _0x282617=_0x961ef4;if(this[_0x282617(0x16b)]===_0x59dde5){_0x143b3c&&this['once'](_0x282617(0xf3),()=>{const _0x2b5463=_0x282617;_0x143b3c(new Error(_0x2b5463(0x16f)));}),process[_0x282617(0x151)](_0x2aff3c,this);return;}if(_0x143b3c&&this[_0x282617(0x18f)](_0x282617(0xf3),_0x143b3c),this[_0x282617(0x16b)]!==_0x287555){if(this[_0x282617(0x16b)]=_0x287555,this['options'][_0x282617(0x1d0)]||this['options'][_0x282617(0x213)])this[_0x282617(0x14f)]&&(this[_0x282617(0x12a)](),this['_removeListeners']=this[_0x282617(0x14f)]=null),this[_0x282617(0x153)]?this[_0x282617(0x153)][_0x282617(0x163)]?this[_0x282617(0x1a0)]=!0x0:process[_0x282617(0x151)](_0x2aff3c,this):process['nextTick'](_0x2aff3c,this);else{const _0x31ada8=this['_server'];this[_0x282617(0x12a)](),this[_0x282617(0x12a)]=this['_server']=null,_0x31ada8[_0x282617(0xf3)](()=>{_0x2aff3c(this);});}}}[_0x961ef4(0x20a)](_0x276fdb){const _0x4aacd3=_0x961ef4;if(this[_0x4aacd3(0x1c8)][_0x4aacd3(0x180)]){const _0x56b42f=_0x276fdb[_0x4aacd3(0x1d8)][_0x4aacd3(0x26d)]('?');if((_0x56b42f!==-0x1?_0x276fdb[_0x4aacd3(0x1d8)][_0x4aacd3(0x117)](0x0,_0x56b42f):_0x276fdb[_0x4aacd3(0x1d8)])!==this[_0x4aacd3(0x1c8)][_0x4aacd3(0x180)])return!0x1;}return!0x0;}['handleUpgrade'](_0x276474,_0x559b1e,_0x1afa6d,_0x3b05e7){const _0x5e91bf=_0x961ef4;_0x559b1e['on'](_0x5e91bf(0x18a),_0x115785);const _0x4ddf0a=_0x276474[_0x5e91bf(0x23d)]['sec-websocket-key'],_0x42c175=_0x276474[_0x5e91bf(0x23d)][_0x5e91bf(0x207)],_0x53aa2c=+_0x276474[_0x5e91bf(0x23d)][_0x5e91bf(0x17e)];if(_0x276474[_0x5e91bf(0x224)]!==_0x5e91bf(0x196)){_0x23ff41(this,_0x276474,_0x559b1e,0x195,_0x5e91bf(0x1bc));return;}if(_0x42c175===void 0x0||_0x42c175['toLowerCase']()!==_0x5e91bf(0x12c)){_0x23ff41(this,_0x276474,_0x559b1e,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x4ddf0a===void 0x0||!_0x2517dc[_0x5e91bf(0x125)](_0x4ddf0a)){_0x23ff41(this,_0x276474,_0x559b1e,0x190,_0x5e91bf(0x273));return;}if(_0x53aa2c!==0x8&&_0x53aa2c!==0xd){_0x23ff41(this,_0x276474,_0x559b1e,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this[_0x5e91bf(0x20a)](_0x276474)){_0x129154(_0x559b1e,0x190);return;}const _0x32ba55=_0x276474[_0x5e91bf(0x23d)][_0x5e91bf(0x11a)];let _0x3696e7=new Set();if(_0x32ba55!==void 0x0)try{_0x3696e7=_0x2c9496[_0x5e91bf(0x1d7)](_0x32ba55);}catch{_0x23ff41(this,_0x276474,_0x559b1e,0x190,_0x5e91bf(0x242));return;}const _0x2dc8ce=_0x276474[_0x5e91bf(0x23d)]['sec-websocket-extensions'],_0xb56e2e={};if(this[_0x5e91bf(0x1c8)][_0x5e91bf(0x11d)]&&_0x2dc8ce!==void 0x0){const _0x38dde1=new _0x59f0f4(this['options'][_0x5e91bf(0x11d)],!0x0,this['options'][_0x5e91bf(0x269)]);try{const _0xbebea9=_0x38276b[_0x5e91bf(0x1d7)](_0x2dc8ce);_0xbebea9[_0x59f0f4['extensionName']]&&(_0x38dde1[_0x5e91bf(0x1c3)](_0xbebea9[_0x59f0f4['extensionName']]),_0xb56e2e[_0x59f0f4[_0x5e91bf(0x23a)]]=_0x38dde1);}catch{_0x23ff41(this,_0x276474,_0x559b1e,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this['options'][_0x5e91bf(0x1c2)]){const _0x3d387e={'origin':_0x276474[_0x5e91bf(0x23d)][''+(_0x53aa2c===0x8?'sec-websocket-origin':_0x5e91bf(0x1bb))],'secure':!!(_0x276474[_0x5e91bf(0x174)][_0x5e91bf(0x13f)]||_0x276474[_0x5e91bf(0x174)]['encrypted']),'req':_0x276474};if(this[_0x5e91bf(0x1c8)][_0x5e91bf(0x1c2)][_0x5e91bf(0x24a)]===0x2){this[_0x5e91bf(0x1c8)][_0x5e91bf(0x1c2)](_0x3d387e,(_0x3d320f,_0x351dea,_0x476e69,_0x582261)=>{const _0x4d958d=_0x5e91bf;if(!_0x3d320f)return _0x129154(_0x559b1e,_0x351dea||0x191,_0x476e69,_0x582261);this[_0x4d958d(0x1a1)](_0xb56e2e,_0x4ddf0a,_0x3696e7,_0x276474,_0x559b1e,_0x1afa6d,_0x3b05e7);});return;}if(!this[_0x5e91bf(0x1c8)][_0x5e91bf(0x1c2)](_0x3d387e))return _0x129154(_0x559b1e,0x191);}this[_0x5e91bf(0x1a1)](_0xb56e2e,_0x4ddf0a,_0x3696e7,_0x276474,_0x559b1e,_0x1afa6d,_0x3b05e7);}['completeUpgrade'](_0x2463ca,_0x244a29,_0x6de796,_0x2582bb,_0x5c5d38,_0x1c4106,_0x36abee){const _0x30d6ca=_0x961ef4;if(!_0x5c5d38[_0x30d6ca(0x272)]||!_0x5c5d38[_0x30d6ca(0x1c6)])return _0x5c5d38[_0x30d6ca(0x22e)]();if(_0x5c5d38[_0x267961])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x30d6ca(0x16b)]>_0x52d45a)return _0x129154(_0x5c5d38,0x1f7);const _0x10d5ef=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x30d6ca(0x14a),_0x30d6ca(0x1f1),_0x30d6ca(0x276)+_0x49efd4(_0x30d6ca(0x252))[_0x30d6ca(0x1a8)](_0x244a29+_0x2fd03f)['digest'](_0x30d6ca(0x268))],_0x293fdb=new this[(_0x30d6ca(0x1c8))][(_0x30d6ca(0x20d))](null,void 0x0,this[_0x30d6ca(0x1c8)]);if(_0x6de796[_0x30d6ca(0x163)]){const _0x32354f=this['options']['handleProtocols']?this[_0x30d6ca(0x1c8)][_0x30d6ca(0x233)](_0x6de796,_0x2582bb):_0x6de796['values']()[_0x30d6ca(0x156)]()[_0x30d6ca(0x25f)];_0x32354f&&(_0x10d5ef[_0x30d6ca(0x18d)](_0x30d6ca(0x26b)+_0x32354f),_0x293fdb['_protocol']=_0x32354f);}if(_0x2463ca[_0x59f0f4[_0x30d6ca(0x23a)]]){const _0x4f7648=_0x2463ca[_0x59f0f4[_0x30d6ca(0x23a)]]['params'],_0x5c0a01=_0x38276b[_0x30d6ca(0x204)]({[_0x59f0f4[_0x30d6ca(0x23a)]]:[_0x4f7648]});_0x10d5ef[_0x30d6ca(0x18d)](_0x30d6ca(0x129)+_0x5c0a01),_0x293fdb[_0x30d6ca(0x263)]=_0x2463ca;}this[_0x30d6ca(0x102)]('headers',_0x10d5ef,_0x2582bb),_0x5c5d38[_0x30d6ca(0x261)](_0x10d5ef[_0x30d6ca(0xf4)]('\x0d\x0a')[_0x30d6ca(0x22b)]('\x0d\x0a')),_0x5c5d38['removeListener'](_0x30d6ca(0x18a),_0x115785),_0x293fdb[_0x30d6ca(0x1e7)](_0x5c5d38,_0x1c4106,{'allowSynchronousEvents':this[_0x30d6ca(0x1c8)][_0x30d6ca(0x116)],'maxPayload':this[_0x30d6ca(0x1c8)][_0x30d6ca(0x269)],'skipUTF8Validation':this['options'][_0x30d6ca(0x14e)]}),this[_0x30d6ca(0x153)]&&(this[_0x30d6ca(0x153)]['add'](_0x293fdb),_0x293fdb['on'](_0x30d6ca(0xf3),()=>{const _0x2dd14f=_0x30d6ca;this[_0x2dd14f(0x153)][_0x2dd14f(0x17d)](_0x293fdb),this[_0x2dd14f(0x1a0)]&&!this[_0x2dd14f(0x153)][_0x2dd14f(0x163)]&&process[_0x2dd14f(0x151)](_0x2aff3c,this);})),_0x36abee(_0x293fdb,_0x2582bb);}}Te=_0xd340b0;function _0x77866e(_0x29a71c,_0x418ae6){for(const _0x34fcfd of Object['keys'](_0x418ae6))_0x29a71c['on'](_0x34fcfd,_0x418ae6[_0x34fcfd]);return function(){const _0x596bb2=_0x59bf;for(const _0x45eedc of Object[_0x596bb2(0x1f3)](_0x418ae6))_0x29a71c[_0x596bb2(0x27e)](_0x45eedc,_0x418ae6[_0x45eedc]);};}function _0x2aff3c(_0x32bbbc){const _0x5ae5ab=_0x961ef4;_0x32bbbc[_0x5ae5ab(0x16b)]=_0x59dde5,_0x32bbbc[_0x5ae5ab(0x102)]('close');}function _0x115785(){this['destroy']();}function _0x129154(_0x3727ac,_0x3256e5,_0x47dca8,_0x1c2cca){const _0x3769ac=_0x961ef4;_0x47dca8=_0x47dca8||_0x444ec2[_0x3769ac(0x208)][_0x3256e5],_0x1c2cca={'Connection':_0x3769ac(0xf3),'Content-Type':'text/html','Content-Length':Buffer[_0x3769ac(0x197)](_0x47dca8),..._0x1c2cca},_0x3727ac[_0x3769ac(0x18f)](_0x3769ac(0x256),_0x3727ac['destroy']),_0x3727ac['end'](_0x3769ac(0x230)+_0x3256e5+'\x20'+_0x444ec2['STATUS_CODES'][_0x3256e5]+'\x0d\x0a'+Object[_0x3769ac(0x1f3)](_0x1c2cca)[_0x3769ac(0x1d4)](_0xbb1613=>_0xbb1613+':\x20'+_0x1c2cca[_0xbb1613])['join']('\x0d\x0a')+_0x3769ac(0x141)+_0x47dca8);}function _0x23ff41(_0x412581,_0x196474,_0x1b679f,_0x4b2104,_0x191792){const _0x5029f4=_0x961ef4;if(_0x412581[_0x5029f4(0x247)]('wsClientError')){const _0x572464=new Error(_0x191792);Error[_0x5029f4(0x193)](_0x572464,_0x23ff41),_0x412581['emit'](_0x5029f4(0x1cd),_0x572464,_0x1b679f,_0x196474);}else _0x129154(_0x1b679f,_0x4b2104,_0x191792);}return Te;}function _0x4cd2(){const _0x39e4b5=['pow','cleanup','_state','\x20(supported\x20versions:\x20','File','createError','The\x20server\x20is\x20not\x20running','_httpService','_payloadLength','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','finished','socket','Unexpected\x20end\x20of\x20input','kError','_compressed','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','target','https:','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','enqueue','delete','sec-websocket-version','ws:','path','WS_ERR_INVALID_UTF8','Unknown\x20parameter\x20\x22','params','Upgrade','_closeTimer','add','string','read','_isServer','error','_bufferedAmount','_readableState','push','arrayBuffer','once','split','haveLength','serverNoContextTakeover','captureStackTrace','handshakeTimeout','pong','GET','byteLength','wasClean','_generateMask','_protocol','server_no_context_takeover','statusCode','createConnection','_writableState','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','_shouldEmitClose','completeUpgrade','sendFrame','bufferedAmount','cork','drain','kAborted','_allowSynchronousEvents','update','connection','destroyed','search','Z_DEFAULT_WINDOWBITS','getConfig','_injector','reset','CONNECTING','isIP','mask','getData','data','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','ping','protocol','Z_SYNC_FLUSH','toLowerCase','kCode','origin','Invalid\x20HTTP\x20method','18137VORKfB','Opening\x20handshake\x20has\x20timed\x20out','writeUInt16BE','objectMode','auth','verifyClient','accept','connect','_closeCode','writable','open','options','forEach','onStarting','opcode','message','wsClientError','listening','followRedirects','noServer','Invalid\x20Sec-WebSocket-Accept\x20header','createInflateRaw','kMessage','map','removeEventListener','response','parse','url','setConfig','create','permessage-deflate','needDrain','isArray','Blob','redirect','ws+unix:','_masked','_url','Invalid\x20URL:\x20','rsv1','getBlobData','entries','setSocket','listeners','isPaused','callback','Basic\x20','href','pathname','\x22\x20must\x20have\x20only\x20a\x20single\x20value','_fragments','consume','Connection:\x20Upgrade','pluginName','keys','\x22\x20subprotocol\x20is\x20duplicated','get','client','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','finishRequest','createServer','clientTracking','Module','clientNoContextTakeover','number','OPEN','username','zlibInflateOptions','readyState','authorization','timeout','format','_final','function','upgrade','STATUS_CODES','exports','shouldHandle','frame','catch','WebSocket','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','_maxPayload','prototype','_max_window_bits','WS_ERR_INVALID_OPCODE','server','fin','createDeflateRaw','code','total-length','15rTjMEC','writeHead','Parameter\x20\x22','getMask','nodebuffer','terminate','RSV1\x20must\x20be\x20clear','2560160lDLvAz','WebSocket\x20is\x20not\x20open:\x20readyState\x20','_mask','108iPQZZT','_compress','method','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','_autoPong','_opcode','host','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','_options','join','_req','default','destroy','_buffers','HTTP/1.1\x20','_errored','_inflate','handleProtocols','_threshold','species','_closeFrameReceived','WS_ERR_INVALID_CLOSE_CODE','from','\x22:\x20','extensionName','writeUIntBE','controlMessage','headers','__esModule','_no_context_takeover','_queue','uncork','Invalid\x20Sec-WebSocket-Protocol\x20header','conclude','80861vUoIsE','WS_NO_BUFFER_UTIL','_registerDependencies','listenerCount','compress','resume','length','WS_ERR_UNEXPECTED_RSV_1','WS_ERR_UNEXPECTED_MASK','includes','kData','arraybuffer','emitClose','pipe','sha1','pause','unshift','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','finish','object','Invalid\x20value\x20for\x20parameter\x20\x22','client_no_context_takeover','FIN\x20must\x20be\x20set','MASK\x20must\x20be\x20clear','buffer','33525jrCLYQ','Sec-WebSocket-Extensions','value','_skipUTF8Validation','write','port','_extensions','unmask','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','_messageLength','call','base64','maxPayload','readOnly','Sec-WebSocket-Protocol:\x20','_bufferedBytes','indexOf','Max\x20payload\x20size\x20exceeded','_socket','acceptAsServer','invalid\x20status\x20code\x20','readable','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','wss:','digest','Sec-WebSocket-Accept:\x20','Sec-WebSocket-Origin','client_max_window_bits','zlibDeflateOptions','defineProperty','find','address','dispose','removeListener','isValidUTF8','hasOwnProperty','backlog','endEmitted','Maximum\x20redirects\x20exceeded','hostname','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','invalid\x20UTF-8\x20sequence','_totalPayloadLength','pending','dequeue','8890420HgILdn','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','_decompress','563928LvTYLj','server_max_window_bits','offer','_write','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','defaultPort','handleEvent','unexpected-response','_paused','_firstFragment','_read','_configService','kListener','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','_maskBuffer','close','concat','serverMaxWindowBits','invalid\x20payload\x20length\x20','reason','_redirects','startLoop','set','_deflate','end','_receiver','apply','binaryType','servername','stream','emit','normalizeParams','168qzPFab','readUInt32BE','onerror','_readyState','startsWith','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','request','acceptAsClient','allocUnsafe','_sender','decompress','_fin','socketPath','setTimeout','binary','Origin','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','buffers','allowSynchronousEvents','slice','jobs','setHeader','sec-websocket-protocol','toString','kType','perMessageDeflate','_originalIpc','env','CLOSED','type','addEventListener','flush','Cookie','test','concurrencyLimit','replace','Unexpected\x20character\x20at\x20index\x20','Sec-WebSocket-Extensions:\x20','_removeListeners','clientMaxWindowBits','websocket','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','byteOffset','WS_ERR_EXPECTED_FIN','The\x20\x22','getPayloadLength16','_closeFrameSent','alloc','abort','266780xgqRPu','isServer','Server\x20sent\x20no\x20subprotocol','freeze','CLOSING','Invalid\x20Sec-WebSocket-Extensions\x20header','bind','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','warn','authorized','send','\x0d\x0a\x0d\x0a','has','_binaryType','generateMask','onclose','createSocket','shift','onmessage','1312OPoIBd','Upgrade:\x20websocket','_errorEmitted','getOwnPropertyDescriptor','_fragmented','skipUTF8Validation','_server','location','nextTick','maxRedirects','clients','dataMessage','customHeaders','next','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','sec-websocket-accept','errorEmitted','toStringTag','_closeMessage','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','getInfo','protocolVersion','cookie','_originalHostOrSocketPath','getPayloadLength64','isInteger','size','extensions','invalid\x20opcode\x20','dispatch','_loop','readUInt16BE'];_0x4cd2=function(){return _0x39e4b5;};return _0x4cd2();}er();var tr=Object['getOwnPropertyDescriptor'],rr=(_0x1048ab,_0x1d967a,_0x38a04b,_0x49ee76)=>{for(var _0x38dd75=_0x49ee76>0x1?void 0x0:_0x49ee76?tr(_0x1d967a,_0x38a04b):_0x1d967a,_0x1bfd64=_0x1048ab['length']-0x1,_0x435f6e;_0x1bfd64>=0x0;_0x1bfd64--)(_0x435f6e=_0x1048ab[_0x1bfd64])&&(_0x38dd75=_0x435f6e(_0x38dd75)||_0x38dd75);return _0x38dd75;},sr=(_0x45b9a2,_0x2a252d)=>(_0x569df4,_0x2a136c)=>_0x2a252d(_0x569df4,_0x2a136c,_0x45b9a2);let Ne=class extends _0x151b2e{constructor(_0x54c1f1){const _0xae377=_0x33df0b;super(),this[_0xae377(0xef)]=_0x54c1f1;}[_0x33df0b(0x146)](_0x3a8dfb){const _0x4c13b6=_0x33df0b;var _0x159001;const _0x1190b4=(_0x159001=this[_0x4c13b6(0xef)][_0x4c13b6(0x1ad)](Be))==null?void 0x0:_0x159001[_0x4c13b6(0x155)];try{const _0x5242d5=new Qt(_0x3a8dfb,{'headers':{..._0x1190b4}}),_0x7fb8ce=new _0x35eeb8();return{'URL':_0x3a8dfb,'close':(_0x24f5ba,_0x47f222)=>{const _0x4ab50b=_0x4c13b6;_0x5242d5[_0x4ab50b(0xf3)](_0x24f5ba,_0x47f222),_0x7fb8ce[_0x4ab50b(0x27d)]();},'send':_0x5ce1ad=>{const _0x407508=_0x4c13b6;_0x5242d5[_0x407508(0x140)](_0x5ce1ad);},'open$':new _0x13a9a4(_0x58f0d0=>{const _0x4526b7=_0x4c13b6,_0x292133=_0x284b43=>_0x58f0d0['next'](_0x284b43);_0x5242d5['addEventListener']('open',_0x292133),_0x7fb8ce['add'](_0x175fb8(()=>_0x5242d5[_0x4526b7(0x1d5)]('open',_0x292133)));})[_0x4c13b6(0x251)](_0x3f6c3a()),'close$':new _0x13a9a4(_0x58a648=>{const _0x35dc2c=_0x4c13b6,_0x5429ec=_0xab2586=>_0x58a648[_0x35dc2c(0x156)](_0xab2586);_0x5242d5['addEventListener'](_0x35dc2c(0xf3),_0x5429ec),_0x7fb8ce[_0x35dc2c(0x186)](_0x175fb8(()=>_0x5242d5[_0x35dc2c(0x1d5)](_0x35dc2c(0xf3),_0x5429ec)));})[_0x4c13b6(0x251)](_0x3f6c3a()),'error$':new _0x13a9a4(_0x53dbde=>{const _0x1c5897=_0x4c13b6,_0x2a2930=_0x40da23=>_0x53dbde['next'](_0x40da23);_0x5242d5[_0x1c5897(0x122)]('error',_0x2a2930),_0x7fb8ce[_0x1c5897(0x186)](_0x175fb8(()=>_0x5242d5[_0x1c5897(0x1d5)](_0x1c5897(0x18a),_0x2a2930)));})[_0x4c13b6(0x251)](_0x3f6c3a()),'message$':new _0x13a9a4(_0x3db39e=>{const _0x372f69=_0x4c13b6,_0x43fe6d=_0xf5dbee=>_0x3db39e[_0x372f69(0x156)](_0xf5dbee);_0x5242d5['addEventListener'](_0x372f69(0x1cc),_0x43fe6d),_0x7fb8ce['add'](_0x175fb8(()=>_0x5242d5[_0x372f69(0x1d5)](_0x372f69(0x1cc),_0x43fe6d)));})[_0x4c13b6(0x251)](_0x3f6c3a())};}catch(_0xe05824){return console[_0x4c13b6(0x18a)](_0xe05824),null;}}};Ne=rr([sr(0x0,_0x55e6a4)],Ne);var ir=Object[_0x33df0b(0x27a)],nr=Object['getOwnPropertyDescriptor'],or=(_0x645ba0,_0xccb4a,_0x1eb60e)=>_0xccb4a in _0x645ba0?ir(_0x645ba0,_0xccb4a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1eb60e}):_0x645ba0[_0xccb4a]=_0x1eb60e,ar=(_0xcc103c,_0x34231e,_0x1053c1,_0x2ce3b3)=>{const _0x1d1031=_0x33df0b;for(var _0x4527ea=_0x2ce3b3>0x1?void 0x0:_0x2ce3b3?nr(_0x34231e,_0x1053c1):_0x34231e,_0x2cea8c=_0xcc103c[_0x1d1031(0x24a)]-0x1,_0x46c17f;_0x2cea8c>=0x0;_0x2cea8c--)(_0x46c17f=_0xcc103c[_0x2cea8c])&&(_0x4527ea=_0x46c17f(_0x4527ea)||_0x4527ea);return _0x4527ea;},ke=(_0x5ccb40,_0x5a8eeb)=>(_0x2162f8,_0x32b2c1)=>_0x5a8eeb(_0x2162f8,_0x32b2c1,_0x5ccb40),lr=(_0x4529e6,_0x279d54,_0x4fedc9)=>or(_0x4529e6,_0x279d54+'',_0x4fedc9);let Pe=class extends _0x2b6ee8{constructor(_0x36b112=Ft,_0x517ee8,_0xbed3a7,_0x165655){const _0x118a4c=_0x33df0b;_0x36b112[_0x118a4c(0x155)]||_0x517ee8[_0x118a4c(0x13e)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x118a4c(0xef)]=_0xbed3a7,this[_0x118a4c(0x1ae)]=_0x165655,this[_0x118a4c(0xef)][_0x118a4c(0x1d9)](Be,_0x36b112);}[_0x33df0b(0x1ca)](){const _0x19b141=_0x33df0b;this[_0x19b141(0x246)]();}[_0x33df0b(0x246)](){const _0x138f97=_0x33df0b;_0x192d32(this[_0x138f97(0x1ae)],[[_0x221e9c,{'useClass':Ne}]]);}};lr(Pe,_0x33df0b(0x1f2),_0x33df0b(0x109)),Pe=ar([_0x591db1(_0x5e60c4),ke(0x1,_0x1ef59f),ke(0x2,_0x55e6a4),ke(0x3,_0x5e37b3(_0x559f36))],Pe);var fr=Object[_0x33df0b(0x14c)],cr=(_0x19b4ee,_0x500ca1,_0x19f519,_0x3fec47)=>{for(var _0x33f243=_0x3fec47>0x1?void 0x0:_0x3fec47?fr(_0x500ca1,_0x19f519):_0x500ca1,_0x47ecc5=_0x19b4ee['length']-0x1,_0x174586;_0x47ecc5>=0x0;_0x47ecc5--)(_0x174586=_0x19b4ee[_0x47ecc5])&&(_0x33f243=_0x174586(_0x33f243)||_0x33f243);return _0x33f243;},se=(_0x58dedd,_0x281112)=>(_0x1c9974,_0x3e5e9b)=>_0x281112(_0x1c9974,_0x3e5e9b,_0x58dedd);let at=class extends _0x49266f{constructor(_0x3f57e7,_0x39bdd9,_0x45db93,_0x44201a,_0x53c183){const _0x943f0e=_0x33df0b;super(_0x3f57e7,_0x39bdd9,_0x45db93,_0x44201a,_0x53c183);const _0x2f78c0=this[_0x943f0e(0xef)][_0x943f0e(0x1ad)](Be);this[_0x943f0e(0x170)]['registerHTTPInterceptor']({'interceptor':(_0x1b218b,_0x3203a1)=>{const _0x576dfa=_0x943f0e;var _0x738a05;const _0x2c08d4=_0x1b218b[_0x576dfa(0x23d)];return(_0x738a05=_0x2f78c0==null?void 0x0:_0x2f78c0['customHeaders'])!=null&&_0x738a05[_0x576dfa(0x15f)]&&_0x2c08d4[_0x576dfa(0xfa)](_0x576dfa(0x124),_0x2f78c0[_0x576dfa(0x155)][_0x576dfa(0x15f)]),_0x3203a1(_0x1b218b);}});}async[_0x33df0b(0x146)](_0x28d5be){return this['_doCreateSocket'](_0x28d5be);}};at=cr([se(0x0,_0x5e37b3(_0x559f36)),se(0x1,_0x5e37b3(_0x2a7087)),se(0x2,_0x55e6a4),se(0x3,_0x1ef59f),se(0x4,_0x8a3bb7)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
1
+ const _0x31da81=_0x3ec1;(function(_0x21e259,_0x49a0f7){const _0x5b43d5=_0x3ec1,_0x2d3bf4=_0x21e259();while(!![]){try{const _0x4c6142=-parseInt(_0x5b43d5(0x2bb))/0x1*(parseInt(_0x5b43d5(0x269))/0x2)+parseInt(_0x5b43d5(0x254))/0x3+parseInt(_0x5b43d5(0x1d6))/0x4+-parseInt(_0x5b43d5(0x29e))/0x5*(parseInt(_0x5b43d5(0x224))/0x6)+-parseInt(_0x5b43d5(0x2e0))/0x7+parseInt(_0x5b43d5(0x221))/0x8*(-parseInt(_0x5b43d5(0x297))/0x9)+parseInt(_0x5b43d5(0x17c))/0xa*(parseInt(_0x5b43d5(0x1b2))/0xb);if(_0x4c6142===_0x49a0f7)break;else _0x2d3bf4['push'](_0x2d3bf4['shift']());}catch(_0x1abd5a){_0x2d3bf4['push'](_0x2d3bf4['shift']());}}}(_0x41e1,0xea910));import{UniverCollaborationClientPlugin as _0x56a588,CollaborationSocketService as _0x351a2a}from'@univerjs-pro/collaboration-client';import{Disposable as _0x13795b,DisposableCollection as _0x166a18,toDisposable as _0xad6817,IConfigService as _0x421e0e,DependentOn as _0x33ebee,ILogService as _0x4454ef,Inject as _0x173be1,Injector as _0x12eae9,Plugin as _0x5bf9d2,registerDependencies as _0x2f150f}from'@univerjs/core';import{ISocketService as _0x33c413,HTTPService as _0x433452}from'@univerjs/network';import{Observable as _0x29e2bc,share as _0x112638}from'rxjs';import _0x3c1c3f from'events';import _0x4b9bb3 from'https';import _0x44e3a9 from'http';import _0xc9059a from'net';import _0x707792 from'tls';import _0x1aeef7 from'crypto';function _0x41e1(){const _0x1483ca=['sec-websocket-key','mask','onopen','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','createSocket','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','_payloadLength','_req','default','Parameter\x20\x22','_removeListeners','finish','nextTick','_readableState','_receiver','target','addEventListener','Sec-WebSocket-Protocol:\x20','consume','kReason','threshold','noServer','objectMode','wsClientError','Upgrade:\x20websocket','has','maskBuffer','_final','charCodeAt','server_max_window_bits','_max_window_bits','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','allocUnsafe','replace','_originalIpc','includes','authorization','concurrencyLimit','serverMaxWindowBits','_bufferedBytes','base64','_mask','180PehjOX','reset','length','GET','end','servername','Max\x20payload\x20size\x20exceeded','1201485erKhaR','_bufferedAmount','readUInt32BE','concat','acceptAsClient','search','Invalid\x20value\x20for\x20parameter\x20\x22','protocolVersion','sec-websocket-extensions','_sender','cleanup','_errorEmitted','href','pow','_socket','\x22:\x20','address','kListener','_protocol','data','frame','createError','\x22\x20must\x20have\x20only\x20a\x20single\x20value','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','_fragmented','delete','sha1','kType','The\x20\x22','2FhoXPz','split','size','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','collaboration-client-node.config','createConnection','_loop','clientTracking','invalid\x20opcode\x20','customHeaders','_state','once','_destroy','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','_inflate','Invalid\x20URL:\x20','followRedirects','removeListener','_server','message','removeAllListeners','toLowerCase','Invalid\x20HTTP\x20method','_opcode','send','invalid\x20opcode\x200','freeze','finished','_autoPong','isValidUTF8','uncork','_closeCode','acceptAsServer','unshift','normalizeParams','startsWith','STATUS_CODES','8820084lcSaHI','emitClose','redirect','_read','sec-websocket-version','Invalid\x20Sec-WebSocket-Protocol\x20header','createDeflateRaw','origin','WS_NO_BUFFER_UTIL','indexOf','params','kCode','kWasClean','sec-websocket-protocol','_no_context_takeover','_errored','finishRequest','WS_ERR_EXPECTED_MASK','Sec-WebSocket-Accept:\x20','abort','setNoDelay','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','pathname','The\x20URL\x27s\x20pathname\x20is\x20empty','Invalid\x20Upgrade\x20header','_compressed','WS_NO_UTF_8_VALIDATE','push','total-length','hash','writeUInt16BE','isArray','binaryType','getInfo','captureStackTrace','connection','forEach','setHeader','species','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','call','_skipUTF8Validation','parse','_redirects','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','ws:','authorized','onerror','error','url','_messageLength','_closeFrameSent','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','keys','_registerDependencies','_writableState','maxPayload','_compress','path','from','WS_ERR_UNEXPECTED_RSV_1','drain','env','_allowSynchronousEvents','connect','password','File','_queue','code','_closeMessage','Unexpected\x20end\x20of\x20input','_threshold','blob','prototype','handleEvent','verifyClient','listening','haveLength','setConfig','Sec-WebSocket-Origin','string','RSV1\x20must\x20be\x20clear','_decompress','fin','16960vjFOLu','sendFrame','The\x20server\x20is\x20not\x20running','_closeFrameReceived','WS_ERR_UNEXPECTED_MASK','_write','getPayloadLength64','type','_fin','kTarget','accept','read','concurrency','allowSynchronousEvents','Maximum\x20redirects\x20exceeded','client','Module','Connection:\x20Upgrade','Unknown\x20parameter\x20\x22','pause','protocol','Invalid\x20Sec-WebSocket-Accept\x20header','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','username','setTimeout','compress','_httpService','create','_paused','_originalHostOrSocketPath','getOwnPropertyDescriptor','Unexpected\x20character\x20at\x20index\x20','kRun','terminate','_closeTimer','isPaused','pipe','_injector','update','ws+unix:','catch','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','cork','_isServer','_maskBuffer','auth','Blob','Unexpected\x20server\x20response:\x20','skipUTF8Validation','byteLength','hasOwnProperty','listeners','HTTP/1.1\x20','object','23397TDTidN','number','Z_DEFAULT_WINDOWBITS','Upgrade','readable','hostname','Sec-WebSocket-Extensions','reason','method','errorEmitted','_totalPayloadLength','registerHTTPInterceptor','add','_fragments','WS_ERR_INVALID_OPCODE','clientNoContextTakeover','port','dispatch','zlibDeflateOptions','extensionName','buffer','_url','byteOffset','client_no_context_takeover','maxRedirects','socketPath','arraybuffer','_shouldEmitClose','_binaryType','toStringTag','location','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','status-code','getBlobData','isBuffer','timeout','2914064CQLhIB','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','enqueue','endEmitted','resume','CLOSING','exports','listen','function','unmask','clientMaxWindowBits','text/html','pending','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','getPayloadLength16','unexpected-response','Cookie','controlMessage','WS_ERR_INVALID_UTF8','handshakeTimeout','next','apply','server_no_context_takeover','destroyed','CLOSED','_readyState','arrayBuffer','onclose','websocket','server','perMessageDeflate','bind','toString','cookie','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','autoPong','kMessage','request','close','isServer','alloc','invalid\x20UTF-8\x20sequence','ping','readyState','nodebuffer','__esModule','bufferedAmount','digest','flush','decompress','_doCreateSocket','defaultPort','needDrain','setSocket','getData','conclude','WebSocket\x20is\x20not\x20open:\x20readyState\x20','Sec-WebSocket-Extensions:\x20','_buffers','isInteger','callback','options','Z_SYNC_FLUSH','rsv1','write','handleUpgrade','_originalSecure','WS_ERR_UNEXPECTED_RSV_2_3','invalid\x20status\x20code\x20','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','Invalid\x20Sec-WebSocket-Extensions\x20header','getConfig','pong','shift','CONNECTING','637624BQOGlL','jobs','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','18vvQGvY','writeUIntBE','response','buffers','map','warn','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','open','socket','MASK\x20must\x20be\x20clear','_configService','readOnly','generateMask','\x22\x20subprotocol\x20is\x20duplicated','extensions','_maxPayload','stream','isView','upgrade','value','_options','handleProtocols','wasClean','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','removeEventListener','getMask','invalid\x20payload\x20length\x20','Server\x20sent\x20no\x20subprotocol','isIP','set','join','destroy','host','dequeue','Server\x20sent\x20an\x20invalid\x20subprotocol','headers','_deflate','emit','shouldHandle','completeUpgrade','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','slice','kData','_masked','startLoop','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','encrypted','dataMessage','614535qJIqZY','WebSocket','then','OPEN','Basic\x20','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','defineProperty','serverNoContextTakeover','statusCode','_generateMask','kDone','listenerCount','kIsForOnEventAttribute','_extensions','client_max_window_bits','FIN\x20must\x20be\x20set','wss:','clients','zlibInflateOptions','format','_firstFragment','5006HLYUlO','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','fragments'];_0x41e1=function(){return _0x1483ca;};return _0x41e1();}import _0x51a6cf from'stream';import _0x58e814 from'url';import _0x45f9b7 from'zlib';import _0x5d063d from'buffer';import{ISnapshotServerService as _0x5a6efc}from'@univerjs-pro/collaboration';const Be=_0x31da81(0x2bf),Ft={'customHeaders':{}};function jt(_0x5d7cc0){const _0x4bb62e=_0x31da81;return _0x5d7cc0&&_0x5d7cc0[_0x4bb62e(0x203)]&&Object[_0x4bb62e(0x171)][_0x4bb62e(0x1ae)][_0x4bb62e(0x308)](_0x5d7cc0,_0x4bb62e(0x275))?_0x5d7cc0[_0x4bb62e(0x275)]:_0x5d7cc0;}function ut(_0x3eaa2a){const _0x92fed9=_0x31da81;if(Object[_0x92fed9(0x171)][_0x92fed9(0x1ae)][_0x92fed9(0x308)](_0x3eaa2a,'__esModule'))return _0x3eaa2a;var _0x43a3c2=_0x3eaa2a[_0x92fed9(0x275)];if(typeof _0x43a3c2==_0x92fed9(0x1de)){var _0x4b2609=function _0x34ae2d(){const _0x211cf5=_0x92fed9;return this instanceof _0x34ae2d?Reflect['construct'](_0x43a3c2,arguments,this['constructor']):_0x43a3c2[_0x211cf5(0x1eb)](this,arguments);};_0x4b2609[_0x92fed9(0x171)]=_0x43a3c2[_0x92fed9(0x171)];}else _0x4b2609={};return Object[_0x92fed9(0x25a)](_0x4b2609,_0x92fed9(0x203),{'value':!0x0}),Object[_0x92fed9(0x15d)](_0x3eaa2a)['forEach'](function(_0x10ad69){const _0x57500b=_0x92fed9;var _0x464cc6=Object[_0x57500b(0x19a)](_0x3eaa2a,_0x10ad69);Object[_0x57500b(0x25a)](_0x4b2609,_0x10ad69,_0x464cc6['get']?_0x464cc6:{'enumerable':!0x0,'get':function(){return _0x3eaa2a[_0x10ad69];}});}),_0x4b2609;}var te={'exports':{}},ge,Ye;function V(){const _0x423e42=_0x31da81;if(Ye)return ge;Ye=0x1;const _0x3dfdda=[_0x423e42(0x202),_0x423e42(0x1cc),_0x423e42(0x26c)],_0x4ff80b=typeof Blob<'u';return _0x4ff80b&&_0x3dfdda[_0x423e42(0x2fb)]('blob'),ge={'BINARY_TYPES':_0x3dfdda,'EMPTY_BUFFER':Buffer[_0x423e42(0x1fe)](0x0),'GUID':_0x423e42(0x223),'hasBlob':_0x4ff80b,'kForOnEventAttribute':Symbol(_0x423e42(0x260)),'kListener':Symbol(_0x423e42(0x2af)),'kStatusCode':Symbol(_0x423e42(0x1d2)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x31da81(0x2d5)](Object[_0x31da81(0x25a)]({'__proto__':null,'default':Wt},Symbol[_0x31da81(0x1cf)],{'value':_0x31da81(0x18c)})),Vt=ut(Gt);var Ke;function ce(){const _0x189a35=_0x31da81;if(Ke)return te[_0x189a35(0x1dc)];Ke=0x1;const {EMPTY_BUFFER:_0x487960}=V(),_0x6f28e9=Buffer[Symbol['species']];function _0x5a48f6(_0x339a3c,_0x417649){const _0x3a9de1=_0x189a35;if(_0x339a3c[_0x3a9de1(0x299)]===0x0)return _0x487960;if(_0x339a3c[_0x3a9de1(0x299)]===0x1)return _0x339a3c[0x0];const _0x336fb3=Buffer['allocUnsafe'](_0x417649);let _0x5a61c9=0x0;for(let _0x2109a3=0x0;_0x2109a3<_0x339a3c[_0x3a9de1(0x299)];_0x2109a3++){const _0x1bdbcd=_0x339a3c[_0x2109a3];_0x336fb3[_0x3a9de1(0x241)](_0x1bdbcd,_0x5a61c9),_0x5a61c9+=_0x1bdbcd[_0x3a9de1(0x299)];}return _0x5a61c9<_0x417649?new _0x6f28e9(_0x336fb3[_0x3a9de1(0x1c6)],_0x336fb3[_0x3a9de1(0x1c8)],_0x5a61c9):_0x336fb3;}function _0x8acdc1(_0x187050,_0x737f0c,_0x44c7bc,_0x5e7dbd,_0x4d73c4){for(let _0x409d70=0x0;_0x409d70<_0x4d73c4;_0x409d70++)_0x44c7bc[_0x5e7dbd+_0x409d70]=_0x187050[_0x409d70]^_0x737f0c[_0x409d70&0x3];}function _0x49ec87(_0x396d69,_0x290f43){const _0x3af43c=_0x189a35;for(let _0x959d79=0x0;_0x959d79<_0x396d69[_0x3af43c(0x299)];_0x959d79++)_0x396d69[_0x959d79]^=_0x290f43[_0x959d79&0x3];}function _0x3be42a(_0x6b2e2d){const _0xd56c77=_0x189a35;return _0x6b2e2d[_0xd56c77(0x299)]===_0x6b2e2d[_0xd56c77(0x1c6)][_0xd56c77(0x1ad)]?_0x6b2e2d[_0xd56c77(0x1c6)]:_0x6b2e2d['buffer']['slice'](_0x6b2e2d[_0xd56c77(0x1c8)],_0x6b2e2d[_0xd56c77(0x1c8)]+_0x6b2e2d[_0xd56c77(0x299)]);}function _0x213caa(_0x1123e6){const _0x47ea18=_0x189a35;if(_0x213caa[_0x47ea18(0x22f)]=!0x0,Buffer[_0x47ea18(0x1d4)](_0x1123e6))return _0x1123e6;let _0x1ba233;return _0x1123e6 instanceof ArrayBuffer?_0x1ba233=new _0x6f28e9(_0x1123e6):ArrayBuffer[_0x47ea18(0x235)](_0x1123e6)?_0x1ba233=new _0x6f28e9(_0x1123e6['buffer'],_0x1123e6[_0x47ea18(0x1c8)],_0x1123e6['byteLength']):(_0x1ba233=Buffer['from'](_0x1123e6),_0x213caa[_0x47ea18(0x22f)]=!0x1),_0x1ba233;}if(te[_0x189a35(0x1dc)]={'concat':_0x5a48f6,'mask':_0x8acdc1,'toArrayBuffer':_0x3be42a,'toBuffer':_0x213caa,'unmask':_0x49ec87},!process[_0x189a35(0x166)][_0x189a35(0x2e8)])try{const _0x1320ce=Vt;te['exports']['mask']=function(_0x1f76c9,_0x18c9de,_0x133a8a,_0x3f831d,_0x179911){const _0x5dce73=_0x189a35;_0x179911<0x30?_0x8acdc1(_0x1f76c9,_0x18c9de,_0x133a8a,_0x3f831d,_0x179911):_0x1320ce[_0x5dce73(0x26e)](_0x1f76c9,_0x18c9de,_0x133a8a,_0x3f831d,_0x179911);},te['exports']['unmask']=function(_0x2f76ab,_0x71f387){const _0x2d8fd6=_0x189a35;_0x2f76ab['length']<0x20?_0x49ec87(_0x2f76ab,_0x71f387):_0x1320ce[_0x2d8fd6(0x1df)](_0x2f76ab,_0x71f387);};}catch{}return te[_0x189a35(0x1dc)];}var ye,Xe;function qt(){const _0x1f4079=_0x31da81;if(Xe)return ye;Xe=0x1;const _0x143a5e=Symbol(_0x1f4079(0x25e)),_0x2148a6=Symbol(_0x1f4079(0x19c));class _0x152abb{constructor(_0x4303a3){const _0x6864db=_0x1f4079;this[_0x143a5e]=()=>{const _0x10bde2=_0x3ec1;this[_0x10bde2(0x1e2)]--,this[_0x2148a6]();},this[_0x6864db(0x188)]=_0x4303a3||0x1/0x0,this[_0x6864db(0x222)]=[],this['pending']=0x0;}[_0x1f4079(0x1be)](_0x58c8be){const _0xfed4a2=_0x1f4079;this[_0xfed4a2(0x222)][_0xfed4a2(0x2fb)](_0x58c8be),this[_0x2148a6]();}[_0x2148a6](){const _0x431485=_0x1f4079;if(this[_0x431485(0x1e2)]!==this[_0x431485(0x188)]&&this[_0x431485(0x222)][_0x431485(0x299)]){const _0x4f46df=this[_0x431485(0x222)]['shift']();this[_0x431485(0x1e2)]++,_0x4f46df(this[_0x143a5e]);}}}return ye=_0x152abb,ye;}var ve,Ze;function he(){const _0x399b82=_0x31da81;if(Ze)return ve;Ze=0x1;const _0x3aa095=_0x45f9b7,_0x25df25=ce(),_0x1354cd=qt(),{kStatusCode:_0xfe283a}=V(),_0x33a817=Buffer[Symbol[_0x399b82(0x306)]],_0x55bc6d=Buffer[_0x399b82(0x163)]([0x0,0x0,0xff,0xff]),_0x479910=Symbol('permessage-deflate'),_0x5d958d=Symbol(_0x399b82(0x2fc)),_0x49e3b8=Symbol(_0x399b82(0x212)),_0x4d05e3=Symbol(_0x399b82(0x227)),_0xb5d7e8=Symbol(_0x399b82(0x158));let _0x3ec53f;class _0xf5050b{constructor(_0xfdc807,_0x58a71d,_0x1462a9){const _0x26e99d=_0x399b82;if(this[_0x26e99d(0x233)]=_0x1462a9|0x0,this['_options']=_0xfdc807||{},this[_0x26e99d(0x16f)]=this[_0x26e99d(0x238)][_0x26e99d(0x281)]!==void 0x0?this[_0x26e99d(0x238)][_0x26e99d(0x281)]:0x400,this[_0x26e99d(0x1a7)]=!!_0x58a71d,this[_0x26e99d(0x248)]=null,this['_inflate']=null,this['params']=null,!_0x3ec53f){const _0x458c47=this['_options'][_0x26e99d(0x292)]!==void 0x0?this[_0x26e99d(0x238)][_0x26e99d(0x292)]:0xa;_0x3ec53f=new _0x1354cd(_0x458c47);}}static get['extensionName'](){return'permessage-deflate';}['offer'](){const _0x13ec36=_0x399b82,_0x411277={};return this[_0x13ec36(0x238)][_0x13ec36(0x25b)]&&(_0x411277['server_no_context_takeover']=!0x0),this['_options']['clientNoContextTakeover']&&(_0x411277[_0x13ec36(0x1c9)]=!0x0),this['_options'][_0x13ec36(0x293)]&&(_0x411277[_0x13ec36(0x28a)]=this[_0x13ec36(0x238)][_0x13ec36(0x293)]),this[_0x13ec36(0x238)][_0x13ec36(0x1e0)]?_0x411277[_0x13ec36(0x262)]=this[_0x13ec36(0x238)][_0x13ec36(0x1e0)]:this[_0x13ec36(0x238)][_0x13ec36(0x1e0)]==null&&(_0x411277[_0x13ec36(0x262)]=!0x0),_0x411277;}[_0x399b82(0x186)](_0x55bfa0){const _0x1822db=_0x399b82;return _0x55bfa0=this[_0x1822db(0x2dd)](_0x55bfa0),this[_0x1822db(0x2ea)]=this[_0x1822db(0x1a7)]?this[_0x1822db(0x2db)](_0x55bfa0):this['acceptAsClient'](_0x55bfa0),this[_0x1822db(0x2ea)];}[_0x399b82(0x2a8)](){const _0x178056=_0x399b82;if(this[_0x178056(0x2c9)]&&(this[_0x178056(0x2c9)][_0x178056(0x1fc)](),this['_inflate']=null),this['_deflate']){const _0x11e263=this[_0x178056(0x248)][_0x49e3b8];this[_0x178056(0x248)]['close'](),this['_deflate']=null,_0x11e263&&_0x11e263(new Error(_0x178056(0x2be)));}}[_0x399b82(0x2db)](_0x23b2ff){const _0x2fa2a5=_0x399b82,_0x28b4ee=this[_0x2fa2a5(0x238)],_0x1e4fce=_0x23b2ff['find'](_0x287cc6=>!(_0x28b4ee[_0x2fa2a5(0x25b)]===!0x1&&_0x287cc6[_0x2fa2a5(0x1ec)]||_0x287cc6[_0x2fa2a5(0x28a)]&&(_0x28b4ee[_0x2fa2a5(0x293)]===!0x1||typeof _0x28b4ee[_0x2fa2a5(0x293)]==_0x2fa2a5(0x1b3)&&_0x28b4ee[_0x2fa2a5(0x293)]>_0x287cc6['server_max_window_bits'])||typeof _0x28b4ee['clientMaxWindowBits']==_0x2fa2a5(0x1b3)&&!_0x287cc6[_0x2fa2a5(0x262)]));if(!_0x1e4fce)throw new Error(_0x2fa2a5(0x21b));return _0x28b4ee[_0x2fa2a5(0x25b)]&&(_0x1e4fce[_0x2fa2a5(0x1ec)]=!0x0),_0x28b4ee[_0x2fa2a5(0x1c1)]&&(_0x1e4fce[_0x2fa2a5(0x1c9)]=!0x0),typeof _0x28b4ee[_0x2fa2a5(0x293)]==_0x2fa2a5(0x1b3)&&(_0x1e4fce[_0x2fa2a5(0x28a)]=_0x28b4ee[_0x2fa2a5(0x293)]),typeof _0x28b4ee[_0x2fa2a5(0x1e0)]==_0x2fa2a5(0x1b3)?_0x1e4fce[_0x2fa2a5(0x262)]=_0x28b4ee[_0x2fa2a5(0x1e0)]:(_0x1e4fce[_0x2fa2a5(0x262)]===!0x0||_0x28b4ee[_0x2fa2a5(0x1e0)]===!0x1)&&delete _0x1e4fce[_0x2fa2a5(0x262)],_0x1e4fce;}[_0x399b82(0x2a2)](_0x5d62fc){const _0x1b598b=_0x399b82,_0x181b3c=_0x5d62fc[0x0];if(this[_0x1b598b(0x238)]['clientNoContextTakeover']===!0x1&&_0x181b3c[_0x1b598b(0x1c9)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x181b3c[_0x1b598b(0x262)])typeof this['_options']['clientMaxWindowBits']==_0x1b598b(0x1b3)&&(_0x181b3c[_0x1b598b(0x262)]=this[_0x1b598b(0x238)][_0x1b598b(0x1e0)]);else{if(this[_0x1b598b(0x238)][_0x1b598b(0x1e0)]===!0x1||typeof this['_options'][_0x1b598b(0x1e0)]==_0x1b598b(0x1b3)&&_0x181b3c[_0x1b598b(0x262)]>this['_options'][_0x1b598b(0x1e0)])throw new Error(_0x1b598b(0x154));}return _0x181b3c;}[_0x399b82(0x2dd)](_0x52ad4d){return _0x52ad4d['forEach'](_0x2bc54d=>{const _0x1d92f0=_0x3ec1;Object[_0x1d92f0(0x15d)](_0x2bc54d)[_0x1d92f0(0x304)](_0xa1cb0c=>{const _0x28ee42=_0x1d92f0;let _0x185e38=_0x2bc54d[_0xa1cb0c];if(_0x185e38[_0x28ee42(0x299)]>0x1)throw new Error(_0x28ee42(0x276)+_0xa1cb0c+_0x28ee42(0x2b4));if(_0x185e38=_0x185e38[0x0],_0xa1cb0c===_0x28ee42(0x262)){if(_0x185e38!==!0x0){const _0x11b5a1=+_0x185e38;if(!Number['isInteger'](_0x11b5a1)||_0x11b5a1<0x8||_0x11b5a1>0xf)throw new TypeError(_0x28ee42(0x2a4)+_0xa1cb0c+_0x28ee42(0x2ad)+_0x185e38);_0x185e38=_0x11b5a1;}else{if(!this['_isServer'])throw new TypeError(_0x28ee42(0x2a4)+_0xa1cb0c+_0x28ee42(0x2ad)+_0x185e38);}}else{if(_0xa1cb0c==='server_max_window_bits'){const _0x4875ec=+_0x185e38;if(!Number[_0x28ee42(0x211)](_0x4875ec)||_0x4875ec<0x8||_0x4875ec>0xf)throw new TypeError(_0x28ee42(0x2a4)+_0xa1cb0c+_0x28ee42(0x2ad)+_0x185e38);_0x185e38=_0x4875ec;}else{if(_0xa1cb0c==='client_no_context_takeover'||_0xa1cb0c===_0x28ee42(0x1ec)){if(_0x185e38!==!0x0)throw new TypeError(_0x28ee42(0x2a4)+_0xa1cb0c+'\x22:\x20'+_0x185e38);}else throw new Error(_0x28ee42(0x18e)+_0xa1cb0c+'\x22');}}_0x2bc54d[_0xa1cb0c]=_0x185e38;});}),_0x52ad4d;}['decompress'](_0x20a2f0,_0x5eb8f4,_0x3b4839){const _0x2a7c96=_0x399b82;_0x3ec53f[_0x2a7c96(0x1be)](_0x5b6353=>{const _0x1a08c4=_0x2a7c96;this[_0x1a08c4(0x17a)](_0x20a2f0,_0x5eb8f4,(_0x5c44a4,_0x369ed3)=>{_0x5b6353(),_0x3b4839(_0x5c44a4,_0x369ed3);});});}[_0x399b82(0x195)](_0xfdc3af,_0x442173,_0x3793a0){const _0x144eb6=_0x399b82;_0x3ec53f[_0x144eb6(0x1be)](_0x1ec73d=>{const _0xd41cf5=_0x144eb6;this[_0xd41cf5(0x161)](_0xfdc3af,_0x442173,(_0x5ddf9f,_0x35758f)=>{_0x1ec73d(),_0x3793a0(_0x5ddf9f,_0x35758f);});});}[_0x399b82(0x17a)](_0x1804f3,_0x2dce1e,_0x5dc70f){const _0x231b62=_0x399b82,_0x286cc9=this['_isServer']?_0x231b62(0x18b):_0x231b62(0x1f3);if(!this[_0x231b62(0x2c9)]){const _0x9d828b=_0x286cc9+'_max_window_bits',_0x4a312a=typeof this[_0x231b62(0x2ea)][_0x9d828b]!=_0x231b62(0x1b3)?_0x3aa095[_0x231b62(0x1b4)]:this['params'][_0x9d828b];this[_0x231b62(0x2c9)]=_0x3aa095['createInflateRaw']({...this[_0x231b62(0x238)][_0x231b62(0x266)],'windowBits':_0x4a312a}),this['_inflate'][_0x479910]=this,this['_inflate'][_0x5d958d]=0x0,this[_0x231b62(0x2c9)][_0x4d05e3]=[],this[_0x231b62(0x2c9)]['on'](_0x231b62(0x158),_0x41a1ea),this['_inflate']['on'](_0x231b62(0x2b1),_0x56b45e);}this[_0x231b62(0x2c9)][_0x49e3b8]=_0x5dc70f,this[_0x231b62(0x2c9)][_0x231b62(0x216)](_0x1804f3),_0x2dce1e&&this[_0x231b62(0x2c9)]['write'](_0x55bc6d),this[_0x231b62(0x2c9)][_0x231b62(0x206)](()=>{const _0x3c2385=_0x231b62,_0x48f113=this[_0x3c2385(0x2c9)][_0xb5d7e8];if(_0x48f113){this['_inflate']['close'](),this[_0x3c2385(0x2c9)]=null,_0x5dc70f(_0x48f113);return;}const _0x5436f0=_0x25df25['concat'](this[_0x3c2385(0x2c9)][_0x4d05e3],this[_0x3c2385(0x2c9)][_0x5d958d]);this[_0x3c2385(0x2c9)]['_readableState'][_0x3c2385(0x1d9)]?(this[_0x3c2385(0x2c9)][_0x3c2385(0x1fc)](),this[_0x3c2385(0x2c9)]=null):(this['_inflate'][_0x5d958d]=0x0,this[_0x3c2385(0x2c9)][_0x4d05e3]=[],_0x2dce1e&&this['params'][_0x286cc9+_0x3c2385(0x2ee)]&&this[_0x3c2385(0x2c9)]['reset']()),_0x5dc70f(null,_0x5436f0);});}[_0x399b82(0x161)](_0x1f0a33,_0x1a2e53,_0x13ede9){const _0x2af6ec=_0x399b82,_0x240bf9=this['_isServer']?_0x2af6ec(0x1f3):'client';if(!this[_0x2af6ec(0x248)]){const _0x54a8a7=_0x240bf9+_0x2af6ec(0x28b),_0x23e63d=typeof this[_0x2af6ec(0x2ea)][_0x54a8a7]!=_0x2af6ec(0x1b3)?_0x3aa095['Z_DEFAULT_WINDOWBITS']:this['params'][_0x54a8a7];this[_0x2af6ec(0x248)]=_0x3aa095[_0x2af6ec(0x2e6)]({...this['_options'][_0x2af6ec(0x1c4)],'windowBits':_0x23e63d}),this['_deflate'][_0x5d958d]=0x0,this[_0x2af6ec(0x248)][_0x4d05e3]=[],this[_0x2af6ec(0x248)]['on'](_0x2af6ec(0x2b1),_0x348c7b);}this[_0x2af6ec(0x248)][_0x49e3b8]=_0x13ede9,this['_deflate'][_0x2af6ec(0x216)](_0x1f0a33),this['_deflate']['flush'](_0x3aa095[_0x2af6ec(0x214)],()=>{const _0x585a3c=_0x2af6ec;if(!this[_0x585a3c(0x248)])return;let _0x40434b=_0x25df25['concat'](this['_deflate'][_0x4d05e3],this['_deflate'][_0x5d958d]);_0x1a2e53&&(_0x40434b=new _0x33a817(_0x40434b[_0x585a3c(0x1c6)],_0x40434b[_0x585a3c(0x1c8)],_0x40434b[_0x585a3c(0x299)]-0x4)),this[_0x585a3c(0x248)][_0x49e3b8]=null,this[_0x585a3c(0x248)][_0x5d958d]=0x0,this['_deflate'][_0x4d05e3]=[],_0x1a2e53&&this[_0x585a3c(0x2ea)][_0x240bf9+_0x585a3c(0x2ee)]&&this['_deflate'][_0x585a3c(0x298)](),_0x13ede9(null,_0x40434b);});}}ve=_0xf5050b;function _0x348c7b(_0x164695){const _0x3d1f99=_0x399b82;this[_0x4d05e3][_0x3d1f99(0x2fb)](_0x164695),this[_0x5d958d]+=_0x164695['length'];}function _0x56b45e(_0x1abe03){const _0xef1f93=_0x399b82;if(this[_0x5d958d]+=_0x1abe03[_0xef1f93(0x299)],this[_0x479910][_0xef1f93(0x233)]<0x1||this[_0x5d958d]<=this[_0x479910][_0xef1f93(0x233)]){this[_0x4d05e3][_0xef1f93(0x2fb)](_0x1abe03);return;}this[_0xb5d7e8]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0xb5d7e8][_0xef1f93(0x16c)]=_0xef1f93(0x23b),this[_0xb5d7e8][_0xfe283a]=0x3f1,this[_0xef1f93(0x2cc)](_0xef1f93(0x2b1),_0x56b45e),this[_0xef1f93(0x298)]();}function _0x41a1ea(_0x582565){const _0x16901f=_0x399b82;this[_0x479910][_0x16901f(0x2c9)]=null,_0x582565[_0xfe283a]=0x3ef,this[_0x49e3b8](_0x582565);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x31da81(0x2d5)](Object[_0x31da81(0x25a)]({'__proto__':null,'default':Ht},Symbol[_0x31da81(0x1cf)],{'value':_0x31da81(0x18c)})),Yt=ut(zt);var Qe;function _0x3ec1(_0x26cb14,_0x1b0266){const _0x41e174=_0x41e1();return _0x3ec1=function(_0x3ec17f,_0x465fa8){_0x3ec17f=_0x3ec17f-0x154;let _0x509af5=_0x41e174[_0x3ec17f];return _0x509af5;},_0x3ec1(_0x26cb14,_0x1b0266);}function ne(){const _0x48731a=_0x31da81;if(Qe)return re[_0x48731a(0x1dc)];Qe=0x1;const {isUtf8:_0x10fc11}=_0x5d063d,{hasBlob:_0x1dc4b7}=V(),_0xb60843=[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 _0x9ceecd(_0x2f1d28){return _0x2f1d28>=0x3e8&&_0x2f1d28<=0x3f6&&_0x2f1d28!==0x3ec&&_0x2f1d28!==0x3ed&&_0x2f1d28!==0x3ee||_0x2f1d28>=0xbb8&&_0x2f1d28<=0x1387;}function _0x1ce5ad(_0x24efa2){const _0xc0260b=_0x48731a,_0x423159=_0x24efa2[_0xc0260b(0x299)];let _0x275c2a=0x0;for(;_0x275c2a<_0x423159;)if((_0x24efa2[_0x275c2a]&0x80)===0x0)_0x275c2a++;else{if((_0x24efa2[_0x275c2a]&0xe0)===0xc0){if(_0x275c2a+0x1===_0x423159||(_0x24efa2[_0x275c2a+0x1]&0xc0)!==0x80||(_0x24efa2[_0x275c2a]&0xfe)===0xc0)return!0x1;_0x275c2a+=0x2;}else{if((_0x24efa2[_0x275c2a]&0xf0)===0xe0){if(_0x275c2a+0x2>=_0x423159||(_0x24efa2[_0x275c2a+0x1]&0xc0)!==0x80||(_0x24efa2[_0x275c2a+0x2]&0xc0)!==0x80||_0x24efa2[_0x275c2a]===0xe0&&(_0x24efa2[_0x275c2a+0x1]&0xe0)===0x80||_0x24efa2[_0x275c2a]===0xed&&(_0x24efa2[_0x275c2a+0x1]&0xe0)===0xa0)return!0x1;_0x275c2a+=0x3;}else{if((_0x24efa2[_0x275c2a]&0xf8)===0xf0){if(_0x275c2a+0x3>=_0x423159||(_0x24efa2[_0x275c2a+0x1]&0xc0)!==0x80||(_0x24efa2[_0x275c2a+0x2]&0xc0)!==0x80||(_0x24efa2[_0x275c2a+0x3]&0xc0)!==0x80||_0x24efa2[_0x275c2a]===0xf0&&(_0x24efa2[_0x275c2a+0x1]&0xf0)===0x80||_0x24efa2[_0x275c2a]===0xf4&&_0x24efa2[_0x275c2a+0x1]>0x8f||_0x24efa2[_0x275c2a]>0xf4)return!0x1;_0x275c2a+=0x4;}else return!0x1;}}}return!0x0;}function _0x5be022(_0x1c193b){const _0x2a6bf2=_0x48731a;return _0x1dc4b7&&typeof _0x1c193b==_0x2a6bf2(0x1b1)&&typeof _0x1c193b[_0x2a6bf2(0x1f0)]==_0x2a6bf2(0x1de)&&typeof _0x1c193b[_0x2a6bf2(0x183)]==_0x2a6bf2(0x178)&&typeof _0x1c193b[_0x2a6bf2(0x234)]=='function'&&(_0x1c193b[Symbol[_0x2a6bf2(0x1cf)]]===_0x2a6bf2(0x1aa)||_0x1c193b[Symbol[_0x2a6bf2(0x1cf)]]===_0x2a6bf2(0x16a));}if(re[_0x48731a(0x1dc)]={'isBlob':_0x5be022,'isValidStatusCode':_0x9ceecd,'isValidUTF8':_0x1ce5ad,'tokenChars':_0xb60843},_0x10fc11)re[_0x48731a(0x1dc)][_0x48731a(0x2d8)]=function(_0x54c96b){const _0x28d3c2=_0x48731a;return _0x54c96b[_0x28d3c2(0x299)]<0x18?_0x1ce5ad(_0x54c96b):_0x10fc11(_0x54c96b);};else{if(!process[_0x48731a(0x166)][_0x48731a(0x2fa)])try{const _0x39b7f9=Yt;re[_0x48731a(0x1dc)][_0x48731a(0x2d8)]=function(_0x4f5540){const _0x165b88=_0x48731a;return _0x4f5540[_0x165b88(0x299)]<0x20?_0x1ce5ad(_0x4f5540):_0x39b7f9(_0x4f5540);};}catch{}}return re[_0x48731a(0x1dc)];}var Se,Je;function dt(){const _0x454076=_0x31da81;if(Je)return Se;Je=0x1;const {Writable:_0x18277a}=_0x51a6cf,_0x37f376=he(),{BINARY_TYPES:_0xac0dbb,EMPTY_BUFFER:_0x2c8dc9,kStatusCode:_0x5ed91b,kWebSocket:_0x565a1e}=V(),{concat:_0x55cc0b,toArrayBuffer:_0x59b53e,unmask:_0x4be9db}=ce(),{isValidStatusCode:_0x486285,isValidUTF8:_0x4c2149}=ne(),_0x2cc0da=Buffer[Symbol[_0x454076(0x306)]],_0x15bbe8=0x0,_0x52f36d=0x1,_0x39a486=0x2,_0x20b975=0x3,_0x1c840e=0x4,_0xa6f743=0x5,_0x32d003=0x6;class _0x38057e extends _0x18277a{constructor(_0x4bed9c={}){const _0x3414c2=_0x454076;super(),this[_0x3414c2(0x167)]=_0x4bed9c[_0x3414c2(0x189)]!==void 0x0?_0x4bed9c[_0x3414c2(0x189)]:!0x0,this['_binaryType']=_0x4bed9c[_0x3414c2(0x300)]||_0xac0dbb[0x0],this[_0x3414c2(0x261)]=_0x4bed9c[_0x3414c2(0x232)]||{},this['_isServer']=!!_0x4bed9c[_0x3414c2(0x1fd)],this[_0x3414c2(0x233)]=_0x4bed9c[_0x3414c2(0x160)]|0x0,this[_0x3414c2(0x309)]=!!_0x4bed9c[_0x3414c2(0x1ac)],this[_0x565a1e]=void 0x0,this[_0x3414c2(0x294)]=0x0,this['_buffers']=[],this[_0x3414c2(0x2f9)]=!0x1,this[_0x3414c2(0x273)]=0x0,this[_0x3414c2(0x296)]=void 0x0,this[_0x3414c2(0x2b6)]=0x0,this[_0x3414c2(0x24f)]=!0x1,this[_0x3414c2(0x184)]=!0x1,this[_0x3414c2(0x2d2)]=0x0,this['_totalPayloadLength']=0x0,this[_0x3414c2(0x15a)]=0x0,this[_0x3414c2(0x1bf)]=[],this[_0x3414c2(0x2ef)]=!0x1,this[_0x3414c2(0x2c1)]=!0x1,this[_0x3414c2(0x2c5)]=_0x15bbe8;}[_0x454076(0x181)](_0x462f47,_0x4ceae2,_0x39bb6f){const _0x32af48=_0x454076;if(this[_0x32af48(0x2d2)]===0x8&&this['_state']==_0x15bbe8)return _0x39bb6f();this['_bufferedBytes']+=_0x462f47[_0x32af48(0x299)],this['_buffers'][_0x32af48(0x2fb)](_0x462f47),this['startLoop'](_0x39bb6f);}[_0x454076(0x27f)](_0x546bf6){const _0x1e0830=_0x454076;if(this[_0x1e0830(0x294)]-=_0x546bf6,_0x546bf6===this[_0x1e0830(0x210)][0x0][_0x1e0830(0x299)])return this['_buffers'][_0x1e0830(0x21f)]();if(_0x546bf6<this['_buffers'][0x0][_0x1e0830(0x299)]){const _0x583341=this['_buffers'][0x0];return this['_buffers'][0x0]=new _0x2cc0da(_0x583341[_0x1e0830(0x1c6)],_0x583341['byteOffset']+_0x546bf6,_0x583341[_0x1e0830(0x299)]-_0x546bf6),new _0x2cc0da(_0x583341[_0x1e0830(0x1c6)],_0x583341[_0x1e0830(0x1c8)],_0x546bf6);}const _0x11ae76=Buffer[_0x1e0830(0x28d)](_0x546bf6);do{const _0x126750=this['_buffers'][0x0],_0x2e8e6a=_0x11ae76['length']-_0x546bf6;_0x546bf6>=_0x126750[_0x1e0830(0x299)]?_0x11ae76[_0x1e0830(0x241)](this['_buffers'][_0x1e0830(0x21f)](),_0x2e8e6a):(_0x11ae76['set'](new Uint8Array(_0x126750[_0x1e0830(0x1c6)],_0x126750[_0x1e0830(0x1c8)],_0x546bf6),_0x2e8e6a),this[_0x1e0830(0x210)][0x0]=new _0x2cc0da(_0x126750[_0x1e0830(0x1c6)],_0x126750['byteOffset']+_0x546bf6,_0x126750['length']-_0x546bf6)),_0x546bf6-=_0x126750['length'];}while(_0x546bf6>0x0);return _0x11ae76;}['startLoop'](_0x470d50){const _0xd0f0fc=_0x454076;this[_0xd0f0fc(0x2c1)]=!0x0;do switch(this['_state']){case _0x15bbe8:this[_0xd0f0fc(0x301)](_0x470d50);break;case _0x52f36d:this['getPayloadLength16'](_0x470d50);break;case _0x39a486:this['getPayloadLength64'](_0x470d50);break;case _0x20b975:this['getMask']();break;case _0x1c840e:this[_0xd0f0fc(0x20c)](_0x470d50);break;case _0xa6f743:case _0x32d003:this[_0xd0f0fc(0x2c1)]=!0x1;return;}while(this[_0xd0f0fc(0x2c1)]);this[_0xd0f0fc(0x2ef)]||_0x470d50();}[_0x454076(0x301)](_0x41f859){const _0x3d842c=_0x454076;if(this['_bufferedBytes']<0x2){this[_0x3d842c(0x2c1)]=!0x1;return;}const _0x4a2ab1=this['consume'](0x2);if((_0x4a2ab1[0x0]&0x30)!==0x0){const _0x115b69=this[_0x3d842c(0x2b3)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x3d842c(0x219));_0x41f859(_0x115b69);return;}const _0x1c9ec8=(_0x4a2ab1[0x0]&0x40)===0x40;if(_0x1c9ec8&&!this[_0x3d842c(0x261)][_0x37f376[_0x3d842c(0x1c5)]]){const _0x440827=this['createError'](RangeError,_0x3d842c(0x179),!0x0,0x3ea,_0x3d842c(0x164));_0x41f859(_0x440827);return;}if(this[_0x3d842c(0x184)]=(_0x4a2ab1[0x0]&0x80)===0x80,this['_opcode']=_0x4a2ab1[0x0]&0xf,this['_payloadLength']=_0x4a2ab1[0x1]&0x7f,this[_0x3d842c(0x2d2)]===0x0){if(_0x1c9ec8){const _0x1560c2=this[_0x3d842c(0x2b3)](RangeError,_0x3d842c(0x179),!0x0,0x3ea,_0x3d842c(0x164));_0x41f859(_0x1560c2);return;}if(!this[_0x3d842c(0x2b6)]){const _0x95e869=this['createError'](RangeError,_0x3d842c(0x2d4),!0x0,0x3ea,_0x3d842c(0x1c0));_0x41f859(_0x95e869);return;}this[_0x3d842c(0x2d2)]=this[_0x3d842c(0x2b6)];}else{if(this[_0x3d842c(0x2d2)]===0x1||this[_0x3d842c(0x2d2)]===0x2){if(this[_0x3d842c(0x2b6)]){const _0x11a5e5=this[_0x3d842c(0x2b3)](RangeError,_0x3d842c(0x2c3)+this[_0x3d842c(0x2d2)],!0x0,0x3ea,_0x3d842c(0x1c0));_0x41f859(_0x11a5e5);return;}this[_0x3d842c(0x2f9)]=_0x1c9ec8;}else{if(this['_opcode']>0x7&&this['_opcode']<0xb){if(!this[_0x3d842c(0x184)]){const _0x159f78=this[_0x3d842c(0x2b3)](RangeError,_0x3d842c(0x263),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x41f859(_0x159f78);return;}if(_0x1c9ec8){const _0x324b9b=this[_0x3d842c(0x2b3)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x3d842c(0x164));_0x41f859(_0x324b9b);return;}if(this[_0x3d842c(0x273)]>0x7d||this[_0x3d842c(0x2d2)]===0x8&&this['_payloadLength']===0x1){const _0xb3cc06=this[_0x3d842c(0x2b3)](RangeError,_0x3d842c(0x23e)+this[_0x3d842c(0x273)],!0x0,0x3ea,_0x3d842c(0x251));_0x41f859(_0xb3cc06);return;}}else{const _0x1ebffa=this[_0x3d842c(0x2b3)](RangeError,_0x3d842c(0x2c3)+this[_0x3d842c(0x2d2)],!0x0,0x3ea,_0x3d842c(0x1c0));_0x41f859(_0x1ebffa);return;}}}if(!this['_fin']&&!this[_0x3d842c(0x2b6)]&&(this['_fragmented']=this[_0x3d842c(0x2d2)]),this['_masked']=(_0x4a2ab1[0x1]&0x80)===0x80,this[_0x3d842c(0x1a7)]){if(!this[_0x3d842c(0x24f)]){const _0x2f9fca=this[_0x3d842c(0x2b3)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x3d842c(0x2f1));_0x41f859(_0x2f9fca);return;}}else{if(this[_0x3d842c(0x24f)]){const _0x408844=this[_0x3d842c(0x2b3)](RangeError,_0x3d842c(0x22d),!0x0,0x3ea,_0x3d842c(0x180));_0x41f859(_0x408844);return;}}this[_0x3d842c(0x273)]===0x7e?this['_state']=_0x52f36d:this[_0x3d842c(0x273)]===0x7f?this[_0x3d842c(0x2c5)]=_0x39a486:this['haveLength'](_0x41f859);}[_0x454076(0x1e4)](_0xfdfd8f){const _0x598800=_0x454076;if(this['_bufferedBytes']<0x2){this[_0x598800(0x2c1)]=!0x1;return;}this[_0x598800(0x273)]=this[_0x598800(0x27f)](0x2)['readUInt16BE'](0x0),this[_0x598800(0x175)](_0xfdfd8f);}[_0x454076(0x182)](_0xb0ea38){const _0x1f47e3=_0x454076;if(this[_0x1f47e3(0x294)]<0x8){this['_loop']=!0x1;return;}const _0x57e7df=this['consume'](0x8),_0x57bb6e=_0x57e7df[_0x1f47e3(0x2a0)](0x0);if(_0x57bb6e>Math[_0x1f47e3(0x2ab)](0x2,0x15)-0x1){const _0x469fcf=this['createError'](RangeError,_0x1f47e3(0x24c),!0x1,0x3f1,_0x1f47e3(0x1e3));_0xb0ea38(_0x469fcf);return;}this[_0x1f47e3(0x273)]=_0x57bb6e*Math['pow'](0x2,0x20)+_0x57e7df[_0x1f47e3(0x2a0)](0x4),this['haveLength'](_0xb0ea38);}[_0x454076(0x175)](_0x3c612d){const _0x15975c=_0x454076;if(this[_0x15975c(0x273)]&&this[_0x15975c(0x2d2)]<0x8&&(this[_0x15975c(0x1bc)]+=this[_0x15975c(0x273)],this[_0x15975c(0x1bc)]>this[_0x15975c(0x233)]&&this[_0x15975c(0x233)]>0x0)){const _0x4c8f58=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x15975c(0x23b));_0x3c612d(_0x4c8f58);return;}this[_0x15975c(0x24f)]?this[_0x15975c(0x2c5)]=_0x20b975:this[_0x15975c(0x2c5)]=_0x1c840e;}[_0x454076(0x23d)](){const _0x1ed71b=_0x454076;if(this[_0x1ed71b(0x294)]<0x4){this[_0x1ed71b(0x2c1)]=!0x1;return;}this['_mask']=this[_0x1ed71b(0x27f)](0x4),this[_0x1ed71b(0x2c5)]=_0x1c840e;}[_0x454076(0x20c)](_0x27d29f){const _0x55f05d=_0x454076;let _0x3d9d16=_0x2c8dc9;if(this[_0x55f05d(0x273)]){if(this[_0x55f05d(0x294)]<this[_0x55f05d(0x273)]){this[_0x55f05d(0x2c1)]=!0x1;return;}_0x3d9d16=this[_0x55f05d(0x27f)](this[_0x55f05d(0x273)]),this[_0x55f05d(0x24f)]&&(this['_mask'][0x0]|this['_mask'][0x1]|this['_mask'][0x2]|this[_0x55f05d(0x296)][0x3])!==0x0&&_0x4be9db(_0x3d9d16,this[_0x55f05d(0x296)]);}if(this[_0x55f05d(0x2d2)]>0x7){this[_0x55f05d(0x1e7)](_0x3d9d16,_0x27d29f);return;}if(this[_0x55f05d(0x2f9)]){this[_0x55f05d(0x2c5)]=_0xa6f743,this[_0x55f05d(0x207)](_0x3d9d16,_0x27d29f);return;}_0x3d9d16[_0x55f05d(0x299)]&&(this[_0x55f05d(0x15a)]=this[_0x55f05d(0x1bc)],this[_0x55f05d(0x1bf)][_0x55f05d(0x2fb)](_0x3d9d16)),this[_0x55f05d(0x253)](_0x27d29f);}[_0x454076(0x207)](_0x21024e,_0x463984){const _0xf242ed=_0x454076;this[_0xf242ed(0x261)][_0x37f376['extensionName']][_0xf242ed(0x207)](_0x21024e,this[_0xf242ed(0x184)],(_0x2029cc,_0x1cf107)=>{const _0x2c4c16=_0xf242ed;if(_0x2029cc)return _0x463984(_0x2029cc);if(_0x1cf107[_0x2c4c16(0x299)]){if(this[_0x2c4c16(0x15a)]+=_0x1cf107[_0x2c4c16(0x299)],this[_0x2c4c16(0x15a)]>this['_maxPayload']&&this[_0x2c4c16(0x233)]>0x0){const _0xfeecbc=this['createError'](RangeError,_0x2c4c16(0x29d),!0x1,0x3f1,_0x2c4c16(0x23b));_0x463984(_0xfeecbc);return;}this[_0x2c4c16(0x1bf)][_0x2c4c16(0x2fb)](_0x1cf107);}this['dataMessage'](_0x463984),this[_0x2c4c16(0x2c5)]===_0x15bbe8&&this[_0x2c4c16(0x250)](_0x463984);});}[_0x454076(0x253)](_0x511f31){const _0x150582=_0x454076;if(!this[_0x150582(0x184)]){this[_0x150582(0x2c5)]=_0x15bbe8;return;}const _0x5a2f0b=this[_0x150582(0x15a)],_0x2d9f26=this['_fragments'];if(this['_totalPayloadLength']=0x0,this[_0x150582(0x15a)]=0x0,this[_0x150582(0x2b6)]=0x0,this[_0x150582(0x1bf)]=[],this['_opcode']===0x2){let _0x50f68c;this[_0x150582(0x1ce)]==='nodebuffer'?_0x50f68c=_0x55cc0b(_0x2d9f26,_0x5a2f0b):this['_binaryType']===_0x150582(0x1cc)?_0x50f68c=_0x59b53e(_0x55cc0b(_0x2d9f26,_0x5a2f0b)):this['_binaryType']===_0x150582(0x170)?_0x50f68c=new Blob(_0x2d9f26):_0x50f68c=_0x2d9f26,this['_allowSynchronousEvents']?(this[_0x150582(0x249)](_0x150582(0x2ce),_0x50f68c,!0x0),this['_state']=_0x15bbe8):(this[_0x150582(0x2c5)]=_0x32d003,setImmediate(()=>{const _0x4da4a5=_0x150582;this[_0x4da4a5(0x249)](_0x4da4a5(0x2ce),_0x50f68c,!0x0),this['_state']=_0x15bbe8,this['startLoop'](_0x511f31);}));}else{const _0x3c8976=_0x55cc0b(_0x2d9f26,_0x5a2f0b);if(!this['_skipUTF8Validation']&&!_0x4c2149(_0x3c8976)){const _0x343fee=this[_0x150582(0x2b3)](Error,_0x150582(0x1ff),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x511f31(_0x343fee);return;}this[_0x150582(0x2c5)]===_0xa6f743||this['_allowSynchronousEvents']?(this[_0x150582(0x249)](_0x150582(0x2ce),_0x3c8976,!0x1),this['_state']=_0x15bbe8):(this['_state']=_0x32d003,setImmediate(()=>{const _0x531206=_0x150582;this[_0x531206(0x249)]('message',_0x3c8976,!0x1),this[_0x531206(0x2c5)]=_0x15bbe8,this[_0x531206(0x250)](_0x511f31);}));}}[_0x454076(0x1e7)](_0x4f6f30,_0x2a5859){const _0x596b83=_0x454076;if(this[_0x596b83(0x2d2)]===0x8){if(_0x4f6f30[_0x596b83(0x299)]===0x0)this['_loop']=!0x1,this[_0x596b83(0x249)](_0x596b83(0x20d),0x3ed,_0x2c8dc9),this[_0x596b83(0x29b)]();else{const _0x5e2e1b=_0x4f6f30['readUInt16BE'](0x0);if(!_0x486285(_0x5e2e1b)){const _0x2f9dc8=this[_0x596b83(0x2b3)](RangeError,_0x596b83(0x21a)+_0x5e2e1b,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x2a5859(_0x2f9dc8);return;}const _0x31279f=new _0x2cc0da(_0x4f6f30[_0x596b83(0x1c6)],_0x4f6f30[_0x596b83(0x1c8)]+0x2,_0x4f6f30[_0x596b83(0x299)]-0x2);if(!this[_0x596b83(0x309)]&&!_0x4c2149(_0x31279f)){const _0x1cc197=this[_0x596b83(0x2b3)](Error,_0x596b83(0x1ff),!0x0,0x3ef,_0x596b83(0x1e8));_0x2a5859(_0x1cc197);return;}this[_0x596b83(0x2c1)]=!0x1,this[_0x596b83(0x249)]('conclude',_0x5e2e1b,_0x31279f),this[_0x596b83(0x29b)]();}this[_0x596b83(0x2c5)]=_0x15bbe8;return;}this[_0x596b83(0x167)]?(this[_0x596b83(0x249)](this[_0x596b83(0x2d2)]===0x9?_0x596b83(0x200):_0x596b83(0x21e),_0x4f6f30),this[_0x596b83(0x2c5)]=_0x15bbe8):(this['_state']=_0x32d003,setImmediate(()=>{const _0x6c38be=_0x596b83;this['emit'](this['_opcode']===0x9?_0x6c38be(0x200):_0x6c38be(0x21e),_0x4f6f30),this[_0x6c38be(0x2c5)]=_0x15bbe8,this[_0x6c38be(0x250)](_0x2a5859);}));}[_0x454076(0x2b3)](_0x8599a3,_0x2c0f1c,_0x100d47,_0x3b305b,_0xef4b69){const _0x2dfbe7=_0x454076;this[_0x2dfbe7(0x2c1)]=!0x1,this[_0x2dfbe7(0x2ef)]=!0x0;const _0x355602=new _0x8599a3(_0x100d47?'Invalid\x20WebSocket\x20frame:\x20'+_0x2c0f1c:_0x2c0f1c);return Error[_0x2dfbe7(0x302)](_0x355602,this[_0x2dfbe7(0x2b3)]),_0x355602[_0x2dfbe7(0x16c)]=_0xef4b69,_0x355602[_0x5ed91b]=_0x3b305b,_0x355602;}}return Se=_0x38057e,Se;}var Ee,et;function _t(){const _0x1721c5=_0x31da81;if(et)return Ee;et=0x1;const {Duplex:_0x142066}=_0x51a6cf,{randomFillSync:_0x55a0da}=_0x1aeef7,_0x874105=he(),{EMPTY_BUFFER:_0x3ca127,kWebSocket:_0x42518c,NOOP:_0x270165}=V(),{isBlob:_0x2ada19,isValidStatusCode:_0x1de2b0}=ne(),{mask:_0x3bc4ea,toBuffer:_0x49f58a}=ce(),_0x63536c=Symbol('kByteLength'),_0x36586a=Buffer['alloc'](0x4),_0x4f533e=0x8*0x400;let _0x29bf60,_0x3fd740=_0x4f533e;const _0x184295=0x0,_0x4a6ce2=0x1,_0x5f0667=0x2;class _0x4230a7{constructor(_0x112b8f,_0x466a9e,_0x28341f){const _0x4ed47c=_0x3ec1;this[_0x4ed47c(0x261)]=_0x466a9e||{},_0x28341f&&(this[_0x4ed47c(0x25d)]=_0x28341f,this[_0x4ed47c(0x1a8)]=Buffer[_0x4ed47c(0x1fe)](0x4)),this[_0x4ed47c(0x2ac)]=_0x112b8f,this['_firstFragment']=!0x0,this[_0x4ed47c(0x161)]=!0x1,this[_0x4ed47c(0x294)]=0x0,this[_0x4ed47c(0x16b)]=[],this[_0x4ed47c(0x2c5)]=_0x184295,this[_0x4ed47c(0x157)]=_0x270165,this[_0x42518c]=void 0x0;}static[_0x1721c5(0x2b2)](_0x2e60cb,_0xe92389){const _0xfb8162=_0x1721c5;let _0x2daa88,_0x5e9552=!0x1,_0x125cff=0x2,_0x59800c=!0x1;_0xe92389[_0xfb8162(0x26e)]&&(_0x2daa88=_0xe92389[_0xfb8162(0x287)]||_0x36586a,_0xe92389['generateMask']?_0xe92389[_0xfb8162(0x230)](_0x2daa88):(_0x3fd740===_0x4f533e&&(_0x29bf60===void 0x0&&(_0x29bf60=Buffer['alloc'](_0x4f533e)),_0x55a0da(_0x29bf60,0x0,_0x4f533e),_0x3fd740=0x0),_0x2daa88[0x0]=_0x29bf60[_0x3fd740++],_0x2daa88[0x1]=_0x29bf60[_0x3fd740++],_0x2daa88[0x2]=_0x29bf60[_0x3fd740++],_0x2daa88[0x3]=_0x29bf60[_0x3fd740++]),_0x59800c=(_0x2daa88[0x0]|_0x2daa88[0x1]|_0x2daa88[0x2]|_0x2daa88[0x3])===0x0,_0x125cff=0x6);let _0x24d27f;typeof _0x2e60cb==_0xfb8162(0x178)?(!_0xe92389['mask']||_0x59800c)&&_0xe92389[_0x63536c]!==void 0x0?_0x24d27f=_0xe92389[_0x63536c]:(_0x2e60cb=Buffer[_0xfb8162(0x163)](_0x2e60cb),_0x24d27f=_0x2e60cb['length']):(_0x24d27f=_0x2e60cb[_0xfb8162(0x299)],_0x5e9552=_0xe92389['mask']&&_0xe92389[_0xfb8162(0x22f)]&&!_0x59800c);let _0x2ac96d=_0x24d27f;_0x24d27f>=0x10000?(_0x125cff+=0x8,_0x2ac96d=0x7f):_0x24d27f>0x7d&&(_0x125cff+=0x2,_0x2ac96d=0x7e);const _0xcd3067=Buffer[_0xfb8162(0x28d)](_0x5e9552?_0x24d27f+_0x125cff:_0x125cff);return _0xcd3067[0x0]=_0xe92389[_0xfb8162(0x17b)]?_0xe92389['opcode']|0x80:_0xe92389['opcode'],_0xe92389[_0xfb8162(0x215)]&&(_0xcd3067[0x0]|=0x40),_0xcd3067[0x1]=_0x2ac96d,_0x2ac96d===0x7e?_0xcd3067['writeUInt16BE'](_0x24d27f,0x2):_0x2ac96d===0x7f&&(_0xcd3067[0x2]=_0xcd3067[0x3]=0x0,_0xcd3067[_0xfb8162(0x225)](_0x24d27f,0x4,0x6)),_0xe92389[_0xfb8162(0x26e)]?(_0xcd3067[0x1]|=0x80,_0xcd3067[_0x125cff-0x4]=_0x2daa88[0x0],_0xcd3067[_0x125cff-0x3]=_0x2daa88[0x1],_0xcd3067[_0x125cff-0x2]=_0x2daa88[0x2],_0xcd3067[_0x125cff-0x1]=_0x2daa88[0x3],_0x59800c?[_0xcd3067,_0x2e60cb]:_0x5e9552?(_0x3bc4ea(_0x2e60cb,_0x2daa88,_0xcd3067,_0x125cff,_0x24d27f),[_0xcd3067]):(_0x3bc4ea(_0x2e60cb,_0x2daa88,_0x2e60cb,0x0,_0x24d27f),[_0xcd3067,_0x2e60cb])):[_0xcd3067,_0x2e60cb];}[_0x1721c5(0x1fc)](_0x37c828,_0x2d7a83,_0xfb5bbc,_0x44b91c){const _0x21cf2a=_0x1721c5;let _0x3f28fd;if(_0x37c828===void 0x0)_0x3f28fd=_0x3ca127;else{if(typeof _0x37c828!=_0x21cf2a(0x1b3)||!_0x1de2b0(_0x37c828))throw new TypeError(_0x21cf2a(0x15c));if(_0x2d7a83===void 0x0||!_0x2d7a83[_0x21cf2a(0x299)])_0x3f28fd=Buffer[_0x21cf2a(0x28d)](0x2),_0x3f28fd[_0x21cf2a(0x2fe)](_0x37c828,0x0);else{const _0x3092cc=Buffer[_0x21cf2a(0x1ad)](_0x2d7a83);if(_0x3092cc>0x7b)throw new RangeError(_0x21cf2a(0x192));_0x3f28fd=Buffer[_0x21cf2a(0x28d)](0x2+_0x3092cc),_0x3f28fd['writeUInt16BE'](_0x37c828,0x0),typeof _0x2d7a83==_0x21cf2a(0x178)?_0x3f28fd[_0x21cf2a(0x216)](_0x2d7a83,0x2):_0x3f28fd[_0x21cf2a(0x241)](_0x2d7a83,0x2);}}const _0x21d68b={[_0x63536c]:_0x3f28fd['length'],'fin':!0x0,'generateMask':this[_0x21cf2a(0x25d)],'mask':_0xfb5bbc,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x184295?this[_0x21cf2a(0x1d8)]([this[_0x21cf2a(0x1c3)],_0x3f28fd,!0x1,_0x21d68b,_0x44b91c]):this['sendFrame'](_0x4230a7[_0x21cf2a(0x2b2)](_0x3f28fd,_0x21d68b),_0x44b91c);}[_0x1721c5(0x200)](_0x486c17,_0x36f526,_0x5682f3){const _0x17e42d=_0x1721c5;let _0x6c941c,_0x4bd4e9;if(typeof _0x486c17==_0x17e42d(0x178)?(_0x6c941c=Buffer[_0x17e42d(0x1ad)](_0x486c17),_0x4bd4e9=!0x1):_0x2ada19(_0x486c17)?(_0x6c941c=_0x486c17[_0x17e42d(0x2bd)],_0x4bd4e9=!0x1):(_0x486c17=_0x49f58a(_0x486c17),_0x6c941c=_0x486c17[_0x17e42d(0x299)],_0x4bd4e9=_0x49f58a[_0x17e42d(0x22f)]),_0x6c941c>0x7d)throw new RangeError(_0x17e42d(0x1d1));const _0x1129f9={[_0x63536c]:_0x6c941c,'fin':!0x0,'generateMask':this[_0x17e42d(0x25d)],'mask':_0x36f526,'maskBuffer':this[_0x17e42d(0x1a8)],'opcode':0x9,'readOnly':_0x4bd4e9,'rsv1':!0x1};_0x2ada19(_0x486c17)?this[_0x17e42d(0x2c5)]!==_0x184295?this[_0x17e42d(0x1d8)]([this[_0x17e42d(0x1d3)],_0x486c17,!0x1,_0x1129f9,_0x5682f3]):this[_0x17e42d(0x1d3)](_0x486c17,!0x1,_0x1129f9,_0x5682f3):this[_0x17e42d(0x2c5)]!==_0x184295?this[_0x17e42d(0x1d8)]([this[_0x17e42d(0x1c3)],_0x486c17,!0x1,_0x1129f9,_0x5682f3]):this['sendFrame'](_0x4230a7[_0x17e42d(0x2b2)](_0x486c17,_0x1129f9),_0x5682f3);}[_0x1721c5(0x21e)](_0x303623,_0x16cd95,_0x1c3932){const _0x4a014a=_0x1721c5;let _0x192bb3,_0x38002c;if(typeof _0x303623=='string'?(_0x192bb3=Buffer['byteLength'](_0x303623),_0x38002c=!0x1):_0x2ada19(_0x303623)?(_0x192bb3=_0x303623['size'],_0x38002c=!0x1):(_0x303623=_0x49f58a(_0x303623),_0x192bb3=_0x303623['length'],_0x38002c=_0x49f58a[_0x4a014a(0x22f)]),_0x192bb3>0x7d)throw new RangeError(_0x4a014a(0x1d1));const _0x5cae61={[_0x63536c]:_0x192bb3,'fin':!0x0,'generateMask':this[_0x4a014a(0x25d)],'mask':_0x16cd95,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x38002c,'rsv1':!0x1};_0x2ada19(_0x303623)?this[_0x4a014a(0x2c5)]!==_0x184295?this[_0x4a014a(0x1d8)]([this[_0x4a014a(0x1d3)],_0x303623,!0x1,_0x5cae61,_0x1c3932]):this['getBlobData'](_0x303623,!0x1,_0x5cae61,_0x1c3932):this[_0x4a014a(0x2c5)]!==_0x184295?this['enqueue']([this[_0x4a014a(0x1c3)],_0x303623,!0x1,_0x5cae61,_0x1c3932]):this[_0x4a014a(0x17d)](_0x4230a7[_0x4a014a(0x2b2)](_0x303623,_0x5cae61),_0x1c3932);}['send'](_0x374fdf,_0x3a12de,_0x2e8662){const _0x5181b8=_0x1721c5,_0x1c5882=this[_0x5181b8(0x261)][_0x874105[_0x5181b8(0x1c5)]];let _0x21da6f=_0x3a12de['binary']?0x2:0x1,_0xebd9cc=_0x3a12de['compress'],_0x131991,_0x3866c9;typeof _0x374fdf==_0x5181b8(0x178)?(_0x131991=Buffer[_0x5181b8(0x1ad)](_0x374fdf),_0x3866c9=!0x1):_0x2ada19(_0x374fdf)?(_0x131991=_0x374fdf[_0x5181b8(0x2bd)],_0x3866c9=!0x1):(_0x374fdf=_0x49f58a(_0x374fdf),_0x131991=_0x374fdf[_0x5181b8(0x299)],_0x3866c9=_0x49f58a[_0x5181b8(0x22f)]),this[_0x5181b8(0x268)]?(this[_0x5181b8(0x268)]=!0x1,_0xebd9cc&&_0x1c5882&&_0x1c5882[_0x5181b8(0x2ea)][_0x1c5882[_0x5181b8(0x1a7)]?_0x5181b8(0x1ec):'client_no_context_takeover']&&(_0xebd9cc=_0x131991>=_0x1c5882[_0x5181b8(0x16f)]),this[_0x5181b8(0x161)]=_0xebd9cc):(_0xebd9cc=!0x1,_0x21da6f=0x0),_0x3a12de['fin']&&(this[_0x5181b8(0x268)]=!0x0);const _0x2e919a={[_0x63536c]:_0x131991,'fin':_0x3a12de['fin'],'generateMask':this['_generateMask'],'mask':_0x3a12de[_0x5181b8(0x26e)],'maskBuffer':this[_0x5181b8(0x1a8)],'opcode':_0x21da6f,'readOnly':_0x3866c9,'rsv1':_0xebd9cc};_0x2ada19(_0x374fdf)?this[_0x5181b8(0x2c5)]!==_0x184295?this['enqueue']([this['getBlobData'],_0x374fdf,this['_compress'],_0x2e919a,_0x2e8662]):this[_0x5181b8(0x1d3)](_0x374fdf,this['_compress'],_0x2e919a,_0x2e8662):this['_state']!==_0x184295?this[_0x5181b8(0x1d8)]([this[_0x5181b8(0x1c3)],_0x374fdf,this[_0x5181b8(0x161)],_0x2e919a,_0x2e8662]):this['dispatch'](_0x374fdf,this['_compress'],_0x2e919a,_0x2e8662);}[_0x1721c5(0x1d3)](_0x557da5,_0x241f3f,_0x1e2ad6,_0x55acce){const _0x43f7b7=_0x1721c5;this[_0x43f7b7(0x294)]+=_0x1e2ad6[_0x63536c],this['_state']=_0x5f0667,_0x557da5[_0x43f7b7(0x1f0)]()[_0x43f7b7(0x256)](_0x29f0e9=>{const _0x9d2f0d=_0x43f7b7;if(this['_socket'][_0x9d2f0d(0x1ed)]){const _0x1a6be4=new Error(_0x9d2f0d(0x270));process[_0x9d2f0d(0x279)](_0x1a63dc,this,_0x1a6be4,_0x55acce);return;}this['_bufferedBytes']-=_0x1e2ad6[_0x63536c];const _0x2c9d41=_0x49f58a(_0x29f0e9);_0x241f3f?this[_0x9d2f0d(0x1c3)](_0x2c9d41,_0x241f3f,_0x1e2ad6,_0x55acce):(this[_0x9d2f0d(0x2c5)]=_0x184295,this['sendFrame'](_0x4230a7['frame'](_0x2c9d41,_0x1e2ad6),_0x55acce),this[_0x9d2f0d(0x245)]());})[_0x43f7b7(0x1a4)](_0x5eb5c4=>{process['nextTick'](_0x879675,this,_0x5eb5c4,_0x55acce);});}['dispatch'](_0x73b0df,_0x5c31f7,_0x103c1d,_0x449d71){const _0x619835=_0x1721c5;if(!_0x5c31f7){this['sendFrame'](_0x4230a7[_0x619835(0x2b2)](_0x73b0df,_0x103c1d),_0x449d71);return;}const _0x4adbb0=this[_0x619835(0x261)][_0x874105[_0x619835(0x1c5)]];this['_bufferedBytes']+=_0x103c1d[_0x63536c],this['_state']=_0x4a6ce2,_0x4adbb0[_0x619835(0x195)](_0x73b0df,_0x103c1d[_0x619835(0x17b)],(_0x30f66d,_0xe11465)=>{const _0x4c991c=_0x619835;if(this[_0x4c991c(0x2ac)][_0x4c991c(0x1ed)]){const _0x223011=new Error(_0x4c991c(0x1d7));_0x1a63dc(this,_0x223011,_0x449d71);return;}this[_0x4c991c(0x294)]-=_0x103c1d[_0x63536c],this['_state']=_0x184295,_0x103c1d[_0x4c991c(0x22f)]=!0x1,this['sendFrame'](_0x4230a7['frame'](_0xe11465,_0x103c1d),_0x449d71),this[_0x4c991c(0x245)]();});}[_0x1721c5(0x245)](){const _0xd97c0=_0x1721c5;for(;this[_0xd97c0(0x2c5)]===_0x184295&&this[_0xd97c0(0x16b)][_0xd97c0(0x299)];){const _0x5520c7=this[_0xd97c0(0x16b)][_0xd97c0(0x21f)]();this[_0xd97c0(0x294)]-=_0x5520c7[0x3][_0x63536c],Reflect['apply'](_0x5520c7[0x0],this,_0x5520c7['slice'](0x1));}}[_0x1721c5(0x1d8)](_0x5ca283){const _0x1e468a=_0x1721c5;this[_0x1e468a(0x294)]+=_0x5ca283[0x3][_0x63536c],this[_0x1e468a(0x16b)][_0x1e468a(0x2fb)](_0x5ca283);}[_0x1721c5(0x17d)](_0xeffac4,_0x107d70){const _0x29ec95=_0x1721c5;_0xeffac4[_0x29ec95(0x299)]===0x2?(this[_0x29ec95(0x2ac)][_0x29ec95(0x1a6)](),this[_0x29ec95(0x2ac)][_0x29ec95(0x216)](_0xeffac4[0x0]),this['_socket'][_0x29ec95(0x216)](_0xeffac4[0x1],_0x107d70),this[_0x29ec95(0x2ac)][_0x29ec95(0x2d9)]()):this[_0x29ec95(0x2ac)][_0x29ec95(0x216)](_0xeffac4[0x0],_0x107d70);}}Ee=_0x4230a7;function _0x1a63dc(_0x13ab01,_0x4d6cb1,_0x54921a){const _0x4e18b9=_0x1721c5;typeof _0x54921a==_0x4e18b9(0x1de)&&_0x54921a(_0x4d6cb1);for(let _0x2d9628=0x0;_0x2d9628<_0x13ab01[_0x4e18b9(0x16b)]['length'];_0x2d9628++){const _0x12d310=_0x13ab01['_queue'][_0x2d9628],_0x5753ef=_0x12d310[_0x12d310[_0x4e18b9(0x299)]-0x1];typeof _0x5753ef==_0x4e18b9(0x1de)&&_0x5753ef(_0x4d6cb1);}}function _0x879675(_0x59b861,_0x4d271d,_0x5d4c21){const _0x4a7a68=_0x1721c5;_0x1a63dc(_0x59b861,_0x4d271d,_0x5d4c21),_0x59b861[_0x4a7a68(0x157)](_0x4d271d);}return Ee;}var xe,tt;function Kt(){const _0x1f972a=_0x31da81;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x2359d7,kListener:_0x5aa76c}=V(),_0x24f50c=Symbol(_0x1f972a(0x2eb)),_0x3e6de4=Symbol(_0x1f972a(0x24e)),_0x56f51c=Symbol('kError'),_0x340a3e=Symbol(_0x1f972a(0x1fa)),_0x3e2e23=Symbol(_0x1f972a(0x280)),_0x5c74dc=Symbol(_0x1f972a(0x185)),_0x21a146=Symbol(_0x1f972a(0x2b9)),_0x37f961=Symbol(_0x1f972a(0x2ec));class _0x23a201{constructor(_0x548e53){this[_0x5c74dc]=null,this[_0x21a146]=_0x548e53;}get['target'](){return this[_0x5c74dc];}get[_0x1f972a(0x183)](){return this[_0x21a146];}}Object[_0x1f972a(0x25a)](_0x23a201[_0x1f972a(0x171)],_0x1f972a(0x27c),{'enumerable':!0x0}),Object[_0x1f972a(0x25a)](_0x23a201[_0x1f972a(0x171)],_0x1f972a(0x183),{'enumerable':!0x0});class _0x59cc63 extends _0x23a201{constructor(_0x48855b,_0x57fed7={}){const _0x97e6af=_0x1f972a;super(_0x48855b),this[_0x24f50c]=_0x57fed7[_0x97e6af(0x16c)]===void 0x0?0x0:_0x57fed7[_0x97e6af(0x16c)],this[_0x3e2e23]=_0x57fed7[_0x97e6af(0x1b9)]===void 0x0?'':_0x57fed7[_0x97e6af(0x1b9)],this[_0x37f961]=_0x57fed7['wasClean']===void 0x0?!0x1:_0x57fed7[_0x97e6af(0x23a)];}get[_0x1f972a(0x16c)](){return this[_0x24f50c];}get[_0x1f972a(0x1b9)](){return this[_0x3e2e23];}get[_0x1f972a(0x23a)](){return this[_0x37f961];}}Object['defineProperty'](_0x59cc63[_0x1f972a(0x171)],_0x1f972a(0x16c),{'enumerable':!0x0}),Object[_0x1f972a(0x25a)](_0x59cc63[_0x1f972a(0x171)],'reason',{'enumerable':!0x0}),Object[_0x1f972a(0x25a)](_0x59cc63['prototype'],'wasClean',{'enumerable':!0x0});class _0x2a52be extends _0x23a201{constructor(_0x4b3cb7,_0x3e644b={}){const _0x142463=_0x1f972a;super(_0x4b3cb7),this[_0x56f51c]=_0x3e644b[_0x142463(0x158)]===void 0x0?null:_0x3e644b[_0x142463(0x158)],this[_0x340a3e]=_0x3e644b['message']===void 0x0?'':_0x3e644b[_0x142463(0x2ce)];}get['error'](){return this[_0x56f51c];}get['message'](){return this[_0x340a3e];}}Object[_0x1f972a(0x25a)](_0x2a52be[_0x1f972a(0x171)],_0x1f972a(0x158),{'enumerable':!0x0}),Object[_0x1f972a(0x25a)](_0x2a52be['prototype'],_0x1f972a(0x2ce),{'enumerable':!0x0});class _0x1db5f2 extends _0x23a201{constructor(_0x2c2f59,_0x3647d2={}){const _0x48cd2f=_0x1f972a;super(_0x2c2f59),this[_0x3e6de4]=_0x3647d2['data']===void 0x0?null:_0x3647d2[_0x48cd2f(0x2b1)];}get[_0x1f972a(0x2b1)](){return this[_0x3e6de4];}}Object[_0x1f972a(0x25a)](_0x1db5f2[_0x1f972a(0x171)],_0x1f972a(0x2b1),{'enumerable':!0x0}),xe={'CloseEvent':_0x59cc63,'ErrorEvent':_0x2a52be,'Event':_0x23a201,'EventTarget':{'addEventListener'(_0x305b98,_0x1ff153,_0x1eb2a0={}){const _0xe54bc9=_0x1f972a;for(const _0x45108f of this[_0xe54bc9(0x1af)](_0x305b98))if(!_0x1eb2a0[_0x2359d7]&&_0x45108f[_0x5aa76c]===_0x1ff153&&!_0x45108f[_0x2359d7])return;let _0x238408;if(_0x305b98==='message')_0x238408=function(_0x45492d,_0x57162d){const _0x3b82df=_0xe54bc9,_0x3f3f96=new _0x1db5f2('message',{'data':_0x57162d?_0x45492d:_0x45492d[_0x3b82df(0x1f6)]()});_0x3f3f96[_0x5c74dc]=this,_0x97ca54(_0x1ff153,this,_0x3f3f96);};else{if(_0x305b98===_0xe54bc9(0x1fc))_0x238408=function(_0x4c79cf,_0x595b87){const _0x4363cd=_0xe54bc9,_0x1bd4cb=new _0x59cc63(_0x4363cd(0x1fc),{'code':_0x4c79cf,'reason':_0x595b87[_0x4363cd(0x1f6)](),'wasClean':this[_0x4363cd(0x17f)]&&this['_closeFrameSent']});_0x1bd4cb[_0x5c74dc]=this,_0x97ca54(_0x1ff153,this,_0x1bd4cb);};else{if(_0x305b98===_0xe54bc9(0x158))_0x238408=function(_0x2e4d1b){const _0x34fa6b=_0xe54bc9,_0x38d119=new _0x2a52be(_0x34fa6b(0x158),{'error':_0x2e4d1b,'message':_0x2e4d1b[_0x34fa6b(0x2ce)]});_0x38d119[_0x5c74dc]=this,_0x97ca54(_0x1ff153,this,_0x38d119);};else{if(_0x305b98===_0xe54bc9(0x22b))_0x238408=function(){const _0x4ff693=_0xe54bc9,_0x3ec8dd=new _0x23a201(_0x4ff693(0x22b));_0x3ec8dd[_0x5c74dc]=this,_0x97ca54(_0x1ff153,this,_0x3ec8dd);};else return;}}}_0x238408[_0x2359d7]=!!_0x1eb2a0[_0x2359d7],_0x238408[_0x5aa76c]=_0x1ff153,_0x1eb2a0[_0xe54bc9(0x2c6)]?this['once'](_0x305b98,_0x238408):this['on'](_0x305b98,_0x238408);},'removeEventListener'(_0x476721,_0x33382e){const _0x5469a6=_0x1f972a;for(const _0x2de406 of this[_0x5469a6(0x1af)](_0x476721))if(_0x2de406[_0x5aa76c]===_0x33382e&&!_0x2de406[_0x2359d7]){this['removeListener'](_0x476721,_0x2de406);break;}}},'MessageEvent':_0x1db5f2};function _0x97ca54(_0x17d185,_0x5554fd,_0x84ff4){const _0x2e6789=_0x1f972a;typeof _0x17d185==_0x2e6789(0x1b1)&&_0x17d185[_0x2e6789(0x172)]?_0x17d185[_0x2e6789(0x172)][_0x2e6789(0x308)](_0x17d185,_0x84ff4):_0x17d185[_0x2e6789(0x308)](_0x5554fd,_0x84ff4);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x5027d3}=ne();function _0xe94e5c(_0x3fe87a,_0x245622,_0x46a37f){const _0x548012=_0x3ec1;_0x3fe87a[_0x245622]===void 0x0?_0x3fe87a[_0x245622]=[_0x46a37f]:_0x3fe87a[_0x245622][_0x548012(0x2fb)](_0x46a37f);}function _0x40cec4(_0x314753){const _0x5d25d1=_0x3ec1,_0x1b5fcd=Object[_0x5d25d1(0x197)](null);let _0x3c006b=Object[_0x5d25d1(0x197)](null),_0x36c74b=!0x1,_0x8952e2=!0x1,_0x35e5d9=!0x1,_0x52817a,_0x3a132a,_0x3fa526=-0x1,_0xba9d1f=-0x1,_0x49b9a8=-0x1,_0x3b12c4=0x0;for(;_0x3b12c4<_0x314753[_0x5d25d1(0x299)];_0x3b12c4++)if(_0xba9d1f=_0x314753[_0x5d25d1(0x289)](_0x3b12c4),_0x52817a===void 0x0){if(_0x49b9a8===-0x1&&_0x5027d3[_0xba9d1f]===0x1)_0x3fa526===-0x1&&(_0x3fa526=_0x3b12c4);else{if(_0x3b12c4!==0x0&&(_0xba9d1f===0x20||_0xba9d1f===0x9))_0x49b9a8===-0x1&&_0x3fa526!==-0x1&&(_0x49b9a8=_0x3b12c4);else{if(_0xba9d1f===0x3b||_0xba9d1f===0x2c){if(_0x3fa526===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3b12c4);_0x49b9a8===-0x1&&(_0x49b9a8=_0x3b12c4);const _0x2f0d63=_0x314753[_0x5d25d1(0x24d)](_0x3fa526,_0x49b9a8);_0xba9d1f===0x2c?(_0xe94e5c(_0x1b5fcd,_0x2f0d63,_0x3c006b),_0x3c006b=Object[_0x5d25d1(0x197)](null)):_0x52817a=_0x2f0d63,_0x3fa526=_0x49b9a8=-0x1;}else throw new SyntaxError(_0x5d25d1(0x19b)+_0x3b12c4);}}}else{if(_0x3a132a===void 0x0){if(_0x49b9a8===-0x1&&_0x5027d3[_0xba9d1f]===0x1)_0x3fa526===-0x1&&(_0x3fa526=_0x3b12c4);else{if(_0xba9d1f===0x20||_0xba9d1f===0x9)_0x49b9a8===-0x1&&_0x3fa526!==-0x1&&(_0x49b9a8=_0x3b12c4);else{if(_0xba9d1f===0x3b||_0xba9d1f===0x2c){if(_0x3fa526===-0x1)throw new SyntaxError(_0x5d25d1(0x19b)+_0x3b12c4);_0x49b9a8===-0x1&&(_0x49b9a8=_0x3b12c4),_0xe94e5c(_0x3c006b,_0x314753[_0x5d25d1(0x24d)](_0x3fa526,_0x49b9a8),!0x0),_0xba9d1f===0x2c&&(_0xe94e5c(_0x1b5fcd,_0x52817a,_0x3c006b),_0x3c006b=Object[_0x5d25d1(0x197)](null),_0x52817a=void 0x0),_0x3fa526=_0x49b9a8=-0x1;}else{if(_0xba9d1f===0x3d&&_0x3fa526!==-0x1&&_0x49b9a8===-0x1)_0x3a132a=_0x314753[_0x5d25d1(0x24d)](_0x3fa526,_0x3b12c4),_0x3fa526=_0x49b9a8=-0x1;else throw new SyntaxError(_0x5d25d1(0x19b)+_0x3b12c4);}}}}else{if(_0x8952e2){if(_0x5027d3[_0xba9d1f]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3b12c4);_0x3fa526===-0x1?_0x3fa526=_0x3b12c4:_0x36c74b||(_0x36c74b=!0x0),_0x8952e2=!0x1;}else{if(_0x35e5d9){if(_0x5027d3[_0xba9d1f]===0x1)_0x3fa526===-0x1&&(_0x3fa526=_0x3b12c4);else{if(_0xba9d1f===0x22&&_0x3fa526!==-0x1)_0x35e5d9=!0x1,_0x49b9a8=_0x3b12c4;else{if(_0xba9d1f===0x5c)_0x8952e2=!0x0;else throw new SyntaxError(_0x5d25d1(0x19b)+_0x3b12c4);}}}else{if(_0xba9d1f===0x22&&_0x314753[_0x5d25d1(0x289)](_0x3b12c4-0x1)===0x3d)_0x35e5d9=!0x0;else{if(_0x49b9a8===-0x1&&_0x5027d3[_0xba9d1f]===0x1)_0x3fa526===-0x1&&(_0x3fa526=_0x3b12c4);else{if(_0x3fa526!==-0x1&&(_0xba9d1f===0x20||_0xba9d1f===0x9))_0x49b9a8===-0x1&&(_0x49b9a8=_0x3b12c4);else{if(_0xba9d1f===0x3b||_0xba9d1f===0x2c){if(_0x3fa526===-0x1)throw new SyntaxError(_0x5d25d1(0x19b)+_0x3b12c4);_0x49b9a8===-0x1&&(_0x49b9a8=_0x3b12c4);let _0x17a954=_0x314753[_0x5d25d1(0x24d)](_0x3fa526,_0x49b9a8);_0x36c74b&&(_0x17a954=_0x17a954[_0x5d25d1(0x28e)](/\\/g,''),_0x36c74b=!0x1),_0xe94e5c(_0x3c006b,_0x3a132a,_0x17a954),_0xba9d1f===0x2c&&(_0xe94e5c(_0x1b5fcd,_0x52817a,_0x3c006b),_0x3c006b=Object[_0x5d25d1(0x197)](null),_0x52817a=void 0x0),_0x3a132a=void 0x0,_0x3fa526=_0x49b9a8=-0x1;}else throw new SyntaxError(_0x5d25d1(0x19b)+_0x3b12c4);}}}}}}}if(_0x3fa526===-0x1||_0x35e5d9||_0xba9d1f===0x20||_0xba9d1f===0x9)throw new SyntaxError(_0x5d25d1(0x16e));_0x49b9a8===-0x1&&(_0x49b9a8=_0x3b12c4);const _0x56875d=_0x314753['slice'](_0x3fa526,_0x49b9a8);return _0x52817a===void 0x0?_0xe94e5c(_0x1b5fcd,_0x56875d,_0x3c006b):(_0x3a132a===void 0x0?_0xe94e5c(_0x3c006b,_0x56875d,!0x0):_0x36c74b?_0xe94e5c(_0x3c006b,_0x3a132a,_0x56875d['replace'](/\\/g,'')):_0xe94e5c(_0x3c006b,_0x3a132a,_0x56875d),_0xe94e5c(_0x1b5fcd,_0x52817a,_0x3c006b)),_0x1b5fcd;}function _0x504a1b(_0x4e075b){const _0x54bd60=_0x3ec1;return Object[_0x54bd60(0x15d)](_0x4e075b)['map'](_0x6e9a33=>{const _0x344acd=_0x54bd60;let _0x3eda50=_0x4e075b[_0x6e9a33];return Array[_0x344acd(0x2ff)](_0x3eda50)||(_0x3eda50=[_0x3eda50]),_0x3eda50['map'](_0x4278fa=>[_0x6e9a33]['concat'](Object[_0x344acd(0x15d)](_0x4278fa)['map'](_0x46c2aa=>{const _0x16771d=_0x344acd;let _0x2d339a=_0x4278fa[_0x46c2aa];return Array[_0x16771d(0x2ff)](_0x2d339a)||(_0x2d339a=[_0x2d339a]),_0x2d339a[_0x16771d(0x228)](_0x13d930=>_0x13d930===!0x0?_0x46c2aa:_0x46c2aa+'='+_0x13d930)['join'](';\x20');}))[_0x344acd(0x242)](';\x20'))[_0x344acd(0x242)](',\x20');})[_0x54bd60(0x242)](',\x20');}return be={'format':_0x504a1b,'parse':_0x40cec4},be;}var we,st;function Ie(){const _0x476d60=_0x31da81;if(st)return we;st=0x1;const _0xbe4c8d=_0x3c1c3f,_0x4c1916=_0x4b9bb3,_0x218282=_0x44e3a9,_0x26d906=_0xc9059a,_0x27b172=_0x707792,{randomBytes:_0x1e6ede,createHash:_0x4e105f}=_0x1aeef7,{Duplex:_0x2b0473,Readable:_0x3d6e78}=_0x51a6cf,{URL:_0x117c06}=_0x58e814,_0x169d57=he(),_0x40854c=dt(),_0x28689e=_t(),{isBlob:_0x333216}=ne(),{BINARY_TYPES:_0x16c39a,EMPTY_BUFFER:_0x47d072,GUID:_0x3979d5,kForOnEventAttribute:_0x3069a5,kListener:_0x56ee52,kStatusCode:_0x29ac05,kWebSocket:_0x353df2,NOOP:_0x5dcaa8}=V(),{EventTarget:{addEventListener:_0x2d12f8,removeEventListener:_0x23bc5a}}=Kt(),{format:_0x2c00ee,parse:_0x174e2a}=pt(),{toBuffer:_0x484e9f}=ce(),_0xa801a7=0x1e*0x3e8,_0x454fc9=Symbol('kAborted'),_0x24d217=[0x8,0xd],_0x7f11e9=['CONNECTING',_0x476d60(0x257),_0x476d60(0x1db),'CLOSED'],_0xc5ce3f=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x3739b6 extends _0xbe4c8d{constructor(_0x1eb1ca,_0x1ada46,_0x26bf3d){const _0x1ea138=_0x476d60;super(),this[_0x1ea138(0x1ce)]=_0x16c39a[0x0],this[_0x1ea138(0x2da)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x1ea138(0x15b)]=!0x1,this[_0x1ea138(0x16d)]=_0x47d072,this['_closeTimer']=null,this[_0x1ea138(0x2a9)]=!0x1,this[_0x1ea138(0x261)]={},this[_0x1ea138(0x198)]=!0x1,this[_0x1ea138(0x2b0)]='',this[_0x1ea138(0x1ef)]=_0x3739b6[_0x1ea138(0x220)],this[_0x1ea138(0x27b)]=null,this[_0x1ea138(0x2a7)]=null,this['_socket']=null,_0x1eb1ca!==null?(this['_bufferedAmount']=0x0,this['_isServer']=!0x1,this[_0x1ea138(0x30b)]=0x0,_0x1ada46===void 0x0?_0x1ada46=[]:Array['isArray'](_0x1ada46)||(typeof _0x1ada46==_0x1ea138(0x1b1)&&_0x1ada46!==null?(_0x26bf3d=_0x1ada46,_0x1ada46=[]):_0x1ada46=[_0x1ada46]),_0x27f77a(this,_0x1eb1ca,_0x1ada46,_0x26bf3d)):(this[_0x1ea138(0x2d7)]=_0x26bf3d[_0x1ea138(0x1f9)],this[_0x1ea138(0x1a7)]=!0x0);}get['binaryType'](){const _0x4bccab=_0x476d60;return this[_0x4bccab(0x1ce)];}set[_0x476d60(0x300)](_0x5c3257){const _0x4ad728=_0x476d60;_0x16c39a[_0x4ad728(0x290)](_0x5c3257)&&(this[_0x4ad728(0x1ce)]=_0x5c3257,this['_receiver']&&(this[_0x4ad728(0x27b)][_0x4ad728(0x1ce)]=_0x5c3257));}get[_0x476d60(0x204)](){const _0x54da1e=_0x476d60;return this['_socket']?this['_socket'][_0x54da1e(0x15f)][_0x54da1e(0x299)]+this[_0x54da1e(0x2a7)]['_bufferedBytes']:this['_bufferedAmount'];}get[_0x476d60(0x232)](){const _0x131704=_0x476d60;return Object['keys'](this[_0x131704(0x261)])[_0x131704(0x242)]();}get[_0x476d60(0x19f)](){const _0x4f2bd6=_0x476d60;return this[_0x4f2bd6(0x198)];}get[_0x476d60(0x1f1)](){return null;}get['onerror'](){return null;}get[_0x476d60(0x26f)](){return null;}get['onmessage'](){return null;}get[_0x476d60(0x190)](){const _0x10cc7b=_0x476d60;return this[_0x10cc7b(0x2b0)];}get['readyState'](){const _0x43e99d=_0x476d60;return this[_0x43e99d(0x1ef)];}get[_0x476d60(0x159)](){const _0x3f0587=_0x476d60;return this[_0x3f0587(0x1c7)];}[_0x476d60(0x20b)](_0xe27de6,_0xdfcf4e,_0x2416de){const _0xf41a94=_0x476d60,_0x3b8c62=new _0x40854c({'allowSynchronousEvents':_0x2416de[_0xf41a94(0x189)],'binaryType':this['binaryType'],'extensions':this[_0xf41a94(0x261)],'isServer':this[_0xf41a94(0x1a7)],'maxPayload':_0x2416de[_0xf41a94(0x160)],'skipUTF8Validation':_0x2416de['skipUTF8Validation']}),_0xb3c709=new _0x28689e(_0xe27de6,this['_extensions'],_0x2416de[_0xf41a94(0x230)]);this[_0xf41a94(0x27b)]=_0x3b8c62,this['_sender']=_0xb3c709,this[_0xf41a94(0x2ac)]=_0xe27de6,_0x3b8c62[_0x353df2]=this,_0xb3c709[_0x353df2]=this,_0xe27de6[_0x353df2]=this,_0x3b8c62['on'](_0xf41a94(0x20d),_0x3c02c2),_0x3b8c62['on'](_0xf41a94(0x165),_0xf8294b),_0x3b8c62['on'](_0xf41a94(0x158),_0x1ecc95),_0x3b8c62['on']('message',_0x160672),_0x3b8c62['on'](_0xf41a94(0x200),_0xcb7864),_0x3b8c62['on'](_0xf41a94(0x21e),_0x5085ee),_0xb3c709['onerror']=_0x364fcf,_0xe27de6[_0xf41a94(0x194)]&&_0xe27de6['setTimeout'](0x0),_0xe27de6[_0xf41a94(0x2f4)]&&_0xe27de6[_0xf41a94(0x2f4)](),_0xdfcf4e[_0xf41a94(0x299)]>0x0&&_0xe27de6[_0xf41a94(0x2dc)](_0xdfcf4e),_0xe27de6['on']('close',_0x136323),_0xe27de6['on'](_0xf41a94(0x2b1),_0x3c5372),_0xe27de6['on'](_0xf41a94(0x29b),_0x1387b6),_0xe27de6['on'](_0xf41a94(0x158),_0x3fba09),this[_0xf41a94(0x1ef)]=_0x3739b6[_0xf41a94(0x257)],this[_0xf41a94(0x249)](_0xf41a94(0x22b));}['emitClose'](){const _0x23af26=_0x476d60;if(!this[_0x23af26(0x2ac)]){this[_0x23af26(0x1ef)]=_0x3739b6[_0x23af26(0x1ee)],this[_0x23af26(0x249)]('close',this['_closeCode'],this[_0x23af26(0x16d)]);return;}this[_0x23af26(0x261)][_0x169d57[_0x23af26(0x1c5)]]&&this[_0x23af26(0x261)][_0x169d57[_0x23af26(0x1c5)]][_0x23af26(0x2a8)](),this[_0x23af26(0x27b)][_0x23af26(0x2cf)](),this[_0x23af26(0x1ef)]=_0x3739b6[_0x23af26(0x1ee)],this['emit'](_0x23af26(0x1fc),this['_closeCode'],this[_0x23af26(0x16d)]);}['close'](_0x545b31,_0x30ecbd){const _0x365e99=_0x476d60;if(this[_0x365e99(0x201)]!==_0x3739b6['CLOSED']){if(this['readyState']===_0x3739b6[_0x365e99(0x220)]){_0x150b02(this,this['_req'],_0x365e99(0x272));return;}if(this[_0x365e99(0x201)]===_0x3739b6['CLOSING']){this['_closeFrameSent']&&(this[_0x365e99(0x17f)]||this[_0x365e99(0x27b)]['_writableState'][_0x365e99(0x1bb)])&&this[_0x365e99(0x2ac)][_0x365e99(0x29b)]();return;}this['_readyState']=_0x3739b6[_0x365e99(0x1db)],this['_sender'][_0x365e99(0x1fc)](_0x545b31,_0x30ecbd,!this[_0x365e99(0x1a7)],_0x2a5988=>{const _0x87a746=_0x365e99;_0x2a5988||(this['_closeFrameSent']=!0x0,(this[_0x87a746(0x17f)]||this[_0x87a746(0x27b)]['_writableState'][_0x87a746(0x1bb)])&&this['_socket'][_0x87a746(0x29b)]());}),_0x493358(this);}}[_0x476d60(0x18f)](){const _0x1f2987=_0x476d60;this[_0x1f2987(0x201)]===_0x3739b6['CONNECTING']||this['readyState']===_0x3739b6[_0x1f2987(0x1ee)]||(this['_paused']=!0x0,this[_0x1f2987(0x2ac)][_0x1f2987(0x18f)]());}[_0x476d60(0x200)](_0x4ec3ac,_0x22091f,_0x4613d9){const _0x3d7002=_0x476d60;if(this[_0x3d7002(0x201)]===_0x3739b6[_0x3d7002(0x220)])throw new Error(_0x3d7002(0x1f8));if(typeof _0x4ec3ac==_0x3d7002(0x1de)?(_0x4613d9=_0x4ec3ac,_0x4ec3ac=_0x22091f=void 0x0):typeof _0x22091f==_0x3d7002(0x1de)&&(_0x4613d9=_0x22091f,_0x22091f=void 0x0),typeof _0x4ec3ac=='number'&&(_0x4ec3ac=_0x4ec3ac['toString']()),this['readyState']!==_0x3739b6[_0x3d7002(0x257)]){_0x336721(this,_0x4ec3ac,_0x4613d9);return;}_0x22091f===void 0x0&&(_0x22091f=!this[_0x3d7002(0x1a7)]),this[_0x3d7002(0x2a7)]['ping'](_0x4ec3ac||_0x47d072,_0x22091f,_0x4613d9);}['pong'](_0x552901,_0x1935d0,_0x2b61a7){const _0x1ba093=_0x476d60;if(this['readyState']===_0x3739b6[_0x1ba093(0x220)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x552901==_0x1ba093(0x1de)?(_0x2b61a7=_0x552901,_0x552901=_0x1935d0=void 0x0):typeof _0x1935d0==_0x1ba093(0x1de)&&(_0x2b61a7=_0x1935d0,_0x1935d0=void 0x0),typeof _0x552901==_0x1ba093(0x1b3)&&(_0x552901=_0x552901[_0x1ba093(0x1f6)]()),this[_0x1ba093(0x201)]!==_0x3739b6['OPEN']){_0x336721(this,_0x552901,_0x2b61a7);return;}_0x1935d0===void 0x0&&(_0x1935d0=!this[_0x1ba093(0x1a7)]),this['_sender']['pong'](_0x552901||_0x47d072,_0x1935d0,_0x2b61a7);}[_0x476d60(0x1da)](){const _0x4c24ac=_0x476d60;this[_0x4c24ac(0x201)]===_0x3739b6[_0x4c24ac(0x220)]||this[_0x4c24ac(0x201)]===_0x3739b6[_0x4c24ac(0x1ee)]||(this['_paused']=!0x1,this['_receiver']['_writableState'][_0x4c24ac(0x20a)]||this['_socket']['resume']());}['send'](_0x531a0b,_0x4a1edc,_0x4832f6){const _0x5d435e=_0x476d60;if(this[_0x5d435e(0x201)]===_0x3739b6[_0x5d435e(0x220)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x4a1edc==_0x5d435e(0x1de)&&(_0x4832f6=_0x4a1edc,_0x4a1edc={}),typeof _0x531a0b==_0x5d435e(0x1b3)&&(_0x531a0b=_0x531a0b['toString']()),this[_0x5d435e(0x201)]!==_0x3739b6[_0x5d435e(0x257)]){_0x336721(this,_0x531a0b,_0x4832f6);return;}const _0x1f535f={'binary':typeof _0x531a0b!=_0x5d435e(0x178),'mask':!this[_0x5d435e(0x1a7)],'compress':!0x0,'fin':!0x0,..._0x4a1edc};this[_0x5d435e(0x261)][_0x169d57[_0x5d435e(0x1c5)]]||(_0x1f535f[_0x5d435e(0x195)]=!0x1),this[_0x5d435e(0x2a7)][_0x5d435e(0x2d3)](_0x531a0b||_0x47d072,_0x1f535f,_0x4832f6);}[_0x476d60(0x19d)](){const _0x24572f=_0x476d60;if(this[_0x24572f(0x201)]!==_0x3739b6[_0x24572f(0x1ee)]){if(this[_0x24572f(0x201)]===_0x3739b6['CONNECTING']){_0x150b02(this,this[_0x24572f(0x274)],_0x24572f(0x272));return;}this['_socket']&&(this[_0x24572f(0x1ef)]=_0x3739b6[_0x24572f(0x1db)],this['_socket'][_0x24572f(0x243)]());}}}Object['defineProperty'](_0x3739b6,_0x476d60(0x220),{'enumerable':!0x0,'value':_0x7f11e9[_0x476d60(0x2e9)]('CONNECTING')}),Object[_0x476d60(0x25a)](_0x3739b6['prototype'],'CONNECTING',{'enumerable':!0x0,'value':_0x7f11e9[_0x476d60(0x2e9)](_0x476d60(0x220))}),Object[_0x476d60(0x25a)](_0x3739b6,_0x476d60(0x257),{'enumerable':!0x0,'value':_0x7f11e9[_0x476d60(0x2e9)]('OPEN')}),Object[_0x476d60(0x25a)](_0x3739b6[_0x476d60(0x171)],_0x476d60(0x257),{'enumerable':!0x0,'value':_0x7f11e9[_0x476d60(0x2e9)](_0x476d60(0x257))}),Object[_0x476d60(0x25a)](_0x3739b6,_0x476d60(0x1db),{'enumerable':!0x0,'value':_0x7f11e9['indexOf'](_0x476d60(0x1db))}),Object['defineProperty'](_0x3739b6[_0x476d60(0x171)],_0x476d60(0x1db),{'enumerable':!0x0,'value':_0x7f11e9[_0x476d60(0x2e9)](_0x476d60(0x1db))}),Object['defineProperty'](_0x3739b6,_0x476d60(0x1ee),{'enumerable':!0x0,'value':_0x7f11e9['indexOf']('CLOSED')}),Object[_0x476d60(0x25a)](_0x3739b6[_0x476d60(0x171)],_0x476d60(0x1ee),{'enumerable':!0x0,'value':_0x7f11e9[_0x476d60(0x2e9)](_0x476d60(0x1ee))}),[_0x476d60(0x300),_0x476d60(0x204),'extensions','isPaused',_0x476d60(0x190),_0x476d60(0x201),_0x476d60(0x159)][_0x476d60(0x304)](_0x577ee5=>{const _0x112696=_0x476d60;Object['defineProperty'](_0x3739b6[_0x112696(0x171)],_0x577ee5,{'enumerable':!0x0});}),[_0x476d60(0x22b),_0x476d60(0x158),_0x476d60(0x1fc),_0x476d60(0x2ce)][_0x476d60(0x304)](_0x9dbf72=>{const _0x457af4=_0x476d60;Object[_0x457af4(0x25a)](_0x3739b6[_0x457af4(0x171)],'on'+_0x9dbf72,{'enumerable':!0x0,'get'(){const _0x31ac9b=_0x457af4;for(const _0x362a30 of this[_0x31ac9b(0x1af)](_0x9dbf72))if(_0x362a30[_0x3069a5])return _0x362a30[_0x56ee52];return null;},'set'(_0x2bddbe){const _0x55ce21=_0x457af4;for(const _0x43c8dd of this[_0x55ce21(0x1af)](_0x9dbf72))if(_0x43c8dd[_0x3069a5]){this['removeListener'](_0x9dbf72,_0x43c8dd);break;}typeof _0x2bddbe==_0x55ce21(0x1de)&&this[_0x55ce21(0x27d)](_0x9dbf72,_0x2bddbe,{[_0x3069a5]:!0x0});}});}),_0x3739b6[_0x476d60(0x171)][_0x476d60(0x27d)]=_0x2d12f8,_0x3739b6[_0x476d60(0x171)][_0x476d60(0x23c)]=_0x23bc5a,we=_0x3739b6;function _0x27f77a(_0xfebeec,_0x1e77d8,_0x28ac36,_0x30a926){const _0x1ecda5=_0x476d60,_0x5185d5={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x24d217[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x30a926,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x1ecda5(0x29a),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0xfebeec[_0x1ecda5(0x2d7)]=_0x5185d5['autoPong'],!_0x24d217[_0x1ecda5(0x290)](_0x5185d5[_0x1ecda5(0x2a5)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x5185d5['protocolVersion']+'\x20(supported\x20versions:\x20'+_0x24d217[_0x1ecda5(0x242)](',\x20')+')');let _0x335396;if(_0x1e77d8 instanceof _0x117c06)_0x335396=_0x1e77d8;else try{_0x335396=new _0x117c06(_0x1e77d8);}catch{throw new SyntaxError(_0x1ecda5(0x2ca)+_0x1e77d8);}_0x335396[_0x1ecda5(0x190)]==='http:'?_0x335396['protocol']=_0x1ecda5(0x155):_0x335396[_0x1ecda5(0x190)]==='https:'&&(_0x335396['protocol']=_0x1ecda5(0x264)),_0xfebeec['_url']=_0x335396[_0x1ecda5(0x2aa)];const _0x246aec=_0x335396['protocol']==='wss:',_0xcc2019=_0x335396[_0x1ecda5(0x190)]===_0x1ecda5(0x1a3);let _0x5e0da8;if(_0x335396[_0x1ecda5(0x190)]!==_0x1ecda5(0x155)&&!_0x246aec&&!_0xcc2019?_0x5e0da8='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':_0xcc2019&&!_0x335396[_0x1ecda5(0x2f6)]?_0x5e0da8=_0x1ecda5(0x2f7):_0x335396[_0x1ecda5(0x2fd)]&&(_0x5e0da8='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x5e0da8){const _0x4910f0=new SyntaxError(_0x5e0da8);if(_0xfebeec[_0x1ecda5(0x30b)]===0x0)throw _0x4910f0;_0x46e321(_0xfebeec,_0x4910f0);return;}const _0x31959e=_0x246aec?0x1bb:0x50,_0x4f8668=_0x1e6ede(0x10)[_0x1ecda5(0x1f6)](_0x1ecda5(0x295)),_0x36a1be=_0x246aec?_0x4c1916[_0x1ecda5(0x1fb)]:_0x218282[_0x1ecda5(0x1fb)],_0x2dc19f=new Set();let _0x1c7242;if(_0x5185d5[_0x1ecda5(0x2c0)]=_0x5185d5[_0x1ecda5(0x2c0)]||(_0x246aec?_0x303dd8:_0x13cb07),_0x5185d5[_0x1ecda5(0x209)]=_0x5185d5[_0x1ecda5(0x209)]||_0x31959e,_0x5185d5['port']=_0x335396[_0x1ecda5(0x1c2)]||_0x31959e,_0x5185d5['host']=_0x335396[_0x1ecda5(0x1b7)][_0x1ecda5(0x2de)]('[')?_0x335396[_0x1ecda5(0x1b7)]['slice'](0x1,-0x1):_0x335396[_0x1ecda5(0x1b7)],_0x5185d5[_0x1ecda5(0x247)]={..._0x5185d5[_0x1ecda5(0x247)],'Sec-WebSocket-Version':_0x5185d5[_0x1ecda5(0x2a5)],'Sec-WebSocket-Key':_0x4f8668,'Connection':_0x1ecda5(0x1b5),'Upgrade':_0x1ecda5(0x1f2)},_0x5185d5[_0x1ecda5(0x162)]=_0x335396['pathname']+_0x335396[_0x1ecda5(0x2a3)],_0x5185d5[_0x1ecda5(0x1d5)]=_0x5185d5[_0x1ecda5(0x1e9)],_0x5185d5[_0x1ecda5(0x1f4)]&&(_0x1c7242=new _0x169d57(_0x5185d5[_0x1ecda5(0x1f4)]!==!0x0?_0x5185d5[_0x1ecda5(0x1f4)]:{},!0x1,_0x5185d5[_0x1ecda5(0x160)]),_0x5185d5[_0x1ecda5(0x247)][_0x1ecda5(0x1b8)]=_0x2c00ee({[_0x169d57[_0x1ecda5(0x1c5)]]:_0x1c7242['offer']()})),_0x28ac36[_0x1ecda5(0x299)]){for(const _0x3f081f of _0x28ac36){if(typeof _0x3f081f!=_0x1ecda5(0x178)||!_0xc5ce3f['test'](_0x3f081f)||_0x2dc19f['has'](_0x3f081f))throw new SyntaxError(_0x1ecda5(0x307));_0x2dc19f['add'](_0x3f081f);}_0x5185d5[_0x1ecda5(0x247)]['Sec-WebSocket-Protocol']=_0x28ac36[_0x1ecda5(0x242)](',');}if(_0x5185d5['origin']&&(_0x5185d5[_0x1ecda5(0x2a5)]<0xd?_0x5185d5['headers'][_0x1ecda5(0x177)]=_0x5185d5[_0x1ecda5(0x2e7)]:_0x5185d5[_0x1ecda5(0x247)]['Origin']=_0x5185d5[_0x1ecda5(0x2e7)]),(_0x335396[_0x1ecda5(0x193)]||_0x335396[_0x1ecda5(0x169)])&&(_0x5185d5[_0x1ecda5(0x1a9)]=_0x335396[_0x1ecda5(0x193)]+':'+_0x335396[_0x1ecda5(0x169)]),_0xcc2019){const _0x2da936=_0x5185d5[_0x1ecda5(0x162)][_0x1ecda5(0x2bc)](':');_0x5185d5['socketPath']=_0x2da936[0x0],_0x5185d5[_0x1ecda5(0x162)]=_0x2da936[0x1];}let _0x52609b;if(_0x5185d5[_0x1ecda5(0x2cb)]){if(_0xfebeec['_redirects']===0x0){_0xfebeec[_0x1ecda5(0x28f)]=_0xcc2019,_0xfebeec['_originalSecure']=_0x246aec,_0xfebeec[_0x1ecda5(0x199)]=_0xcc2019?_0x5185d5[_0x1ecda5(0x1cb)]:_0x335396['host'];const _0x2d8717=_0x30a926&&_0x30a926[_0x1ecda5(0x247)];if(_0x30a926={..._0x30a926,'headers':{}},_0x2d8717){for(const [_0x119e5a,_0x5ba926]of Object['entries'](_0x2d8717))_0x30a926[_0x1ecda5(0x247)][_0x119e5a[_0x1ecda5(0x2d0)]()]=_0x5ba926;}}else{if(_0xfebeec['listenerCount'](_0x1ecda5(0x2e2))===0x0){const _0x36bb27=_0xcc2019?_0xfebeec[_0x1ecda5(0x28f)]?_0x5185d5[_0x1ecda5(0x1cb)]===_0xfebeec[_0x1ecda5(0x199)]:!0x1:_0xfebeec[_0x1ecda5(0x28f)]?!0x1:_0x335396['host']===_0xfebeec[_0x1ecda5(0x199)];(!_0x36bb27||_0xfebeec[_0x1ecda5(0x218)]&&!_0x246aec)&&(delete _0x5185d5['headers']['authorization'],delete _0x5185d5[_0x1ecda5(0x247)]['cookie'],_0x36bb27||delete _0x5185d5[_0x1ecda5(0x247)][_0x1ecda5(0x244)],_0x5185d5['auth']=void 0x0);}}_0x5185d5['auth']&&!_0x30a926['headers'][_0x1ecda5(0x291)]&&(_0x30a926['headers']['authorization']=_0x1ecda5(0x258)+Buffer['from'](_0x5185d5[_0x1ecda5(0x1a9)])[_0x1ecda5(0x1f6)](_0x1ecda5(0x295))),_0x52609b=_0xfebeec[_0x1ecda5(0x274)]=_0x36a1be(_0x5185d5),_0xfebeec['_redirects']&&_0xfebeec[_0x1ecda5(0x249)](_0x1ecda5(0x2e2),_0xfebeec[_0x1ecda5(0x159)],_0x52609b);}else _0x52609b=_0xfebeec[_0x1ecda5(0x274)]=_0x36a1be(_0x5185d5);_0x5185d5['timeout']&&_0x52609b['on'](_0x1ecda5(0x1d5),()=>{_0x150b02(_0xfebeec,_0x52609b,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x52609b['on'](_0x1ecda5(0x158),_0x3af78a=>{const _0x3015ab=_0x1ecda5;_0x52609b===null||_0x52609b[_0x454fc9]||(_0x52609b=_0xfebeec[_0x3015ab(0x274)]=null,_0x46e321(_0xfebeec,_0x3af78a));}),_0x52609b['on'](_0x1ecda5(0x226),_0x23fa13=>{const _0x57c5c1=_0x1ecda5,_0x1142f6=_0x23fa13[_0x57c5c1(0x247)][_0x57c5c1(0x1d0)],_0x10c7a2=_0x23fa13[_0x57c5c1(0x25c)];if(_0x1142f6&&_0x5185d5['followRedirects']&&_0x10c7a2>=0x12c&&_0x10c7a2<0x190){if(++_0xfebeec[_0x57c5c1(0x30b)]>_0x5185d5[_0x57c5c1(0x1ca)]){_0x150b02(_0xfebeec,_0x52609b,_0x57c5c1(0x18a));return;}_0x52609b[_0x57c5c1(0x2f3)]();let _0x7f5e63;try{_0x7f5e63=new _0x117c06(_0x1142f6,_0x1e77d8);}catch{const _0x367605=new SyntaxError(_0x57c5c1(0x2ca)+_0x1142f6);_0x46e321(_0xfebeec,_0x367605);return;}_0x27f77a(_0xfebeec,_0x7f5e63,_0x28ac36,_0x30a926);}else _0xfebeec['emit'](_0x57c5c1(0x1e5),_0x52609b,_0x23fa13)||_0x150b02(_0xfebeec,_0x52609b,_0x57c5c1(0x1ab)+_0x23fa13[_0x57c5c1(0x25c)]);}),_0x52609b['on'](_0x1ecda5(0x236),(_0x13f7bd,_0x56e3d9,_0x50b8e2)=>{const _0x3b41f2=_0x1ecda5;if(_0xfebeec[_0x3b41f2(0x249)](_0x3b41f2(0x236),_0x13f7bd),_0xfebeec['readyState']!==_0x3739b6[_0x3b41f2(0x220)])return;_0x52609b=_0xfebeec[_0x3b41f2(0x274)]=null;const _0x1ca891=_0x13f7bd[_0x3b41f2(0x247)]['upgrade'];if(_0x1ca891===void 0x0||_0x1ca891[_0x3b41f2(0x2d0)]()!=='websocket'){_0x150b02(_0xfebeec,_0x56e3d9,_0x3b41f2(0x2f8));return;}const _0xcab736=_0x4e105f(_0x3b41f2(0x2b8))[_0x3b41f2(0x1a2)](_0x4f8668+_0x3979d5)[_0x3b41f2(0x205)](_0x3b41f2(0x295));if(_0x13f7bd['headers']['sec-websocket-accept']!==_0xcab736){_0x150b02(_0xfebeec,_0x56e3d9,_0x3b41f2(0x191));return;}const _0x30ebb5=_0x13f7bd[_0x3b41f2(0x247)]['sec-websocket-protocol'];let _0x5d0fd6;if(_0x30ebb5!==void 0x0?_0x2dc19f[_0x3b41f2(0x2bd)]?_0x2dc19f[_0x3b41f2(0x286)](_0x30ebb5)||(_0x5d0fd6=_0x3b41f2(0x246)):_0x5d0fd6=_0x3b41f2(0x26b):_0x2dc19f[_0x3b41f2(0x2bd)]&&(_0x5d0fd6=_0x3b41f2(0x23f)),_0x5d0fd6){_0x150b02(_0xfebeec,_0x56e3d9,_0x5d0fd6);return;}_0x30ebb5&&(_0xfebeec[_0x3b41f2(0x2b0)]=_0x30ebb5);const _0xaec8fc=_0x13f7bd[_0x3b41f2(0x247)]['sec-websocket-extensions'];if(_0xaec8fc!==void 0x0){if(!_0x1c7242){_0x150b02(_0xfebeec,_0x56e3d9,_0x3b41f2(0x26a));return;}let _0x4a0f3c;try{_0x4a0f3c=_0x174e2a(_0xaec8fc);}catch{_0x150b02(_0xfebeec,_0x56e3d9,_0x3b41f2(0x21c));return;}const _0x1aca42=Object[_0x3b41f2(0x15d)](_0x4a0f3c);if(_0x1aca42[_0x3b41f2(0x299)]!==0x1||_0x1aca42[0x0]!==_0x169d57[_0x3b41f2(0x1c5)]){_0x150b02(_0xfebeec,_0x56e3d9,_0x3b41f2(0x2b5));return;}try{_0x1c7242[_0x3b41f2(0x186)](_0x4a0f3c[_0x169d57[_0x3b41f2(0x1c5)]]);}catch{_0x150b02(_0xfebeec,_0x56e3d9,_0x3b41f2(0x21c));return;}_0xfebeec['_extensions'][_0x169d57[_0x3b41f2(0x1c5)]]=_0x1c7242;}_0xfebeec[_0x3b41f2(0x20b)](_0x56e3d9,_0x50b8e2,{'allowSynchronousEvents':_0x5185d5[_0x3b41f2(0x189)],'generateMask':_0x5185d5[_0x3b41f2(0x230)],'maxPayload':_0x5185d5[_0x3b41f2(0x160)],'skipUTF8Validation':_0x5185d5[_0x3b41f2(0x1ac)]});}),_0x5185d5[_0x1ecda5(0x2f0)]?_0x5185d5[_0x1ecda5(0x2f0)](_0x52609b,_0xfebeec):_0x52609b[_0x1ecda5(0x29b)]();}function _0x46e321(_0x44068d,_0x1c2e5a){const _0x1d757d=_0x476d60;_0x44068d[_0x1d757d(0x1ef)]=_0x3739b6['CLOSING'],_0x44068d[_0x1d757d(0x2a9)]=!0x0,_0x44068d[_0x1d757d(0x249)](_0x1d757d(0x158),_0x1c2e5a),_0x44068d[_0x1d757d(0x2e1)]();}function _0x13cb07(_0x55f9aa){const _0x19fb3b=_0x476d60;return _0x55f9aa[_0x19fb3b(0x162)]=_0x55f9aa[_0x19fb3b(0x1cb)],_0x26d906[_0x19fb3b(0x168)](_0x55f9aa);}function _0x303dd8(_0x38e940){const _0x563ad2=_0x476d60;return _0x38e940[_0x563ad2(0x162)]=void 0x0,!_0x38e940[_0x563ad2(0x29c)]&&_0x38e940[_0x563ad2(0x29c)]!==''&&(_0x38e940[_0x563ad2(0x29c)]=_0x26d906[_0x563ad2(0x240)](_0x38e940[_0x563ad2(0x244)])?'':_0x38e940['host']),_0x27b172[_0x563ad2(0x168)](_0x38e940);}function _0x150b02(_0x584f12,_0x274f7b,_0x19e854){const _0x105d6a=_0x476d60;_0x584f12['_readyState']=_0x3739b6[_0x105d6a(0x1db)];const _0x513acb=new Error(_0x19e854);Error[_0x105d6a(0x302)](_0x513acb,_0x150b02),_0x274f7b[_0x105d6a(0x305)]?(_0x274f7b[_0x454fc9]=!0x0,_0x274f7b[_0x105d6a(0x2f3)](),_0x274f7b[_0x105d6a(0x22c)]&&!_0x274f7b['socket']['destroyed']&&_0x274f7b['socket'][_0x105d6a(0x243)](),process['nextTick'](_0x46e321,_0x584f12,_0x513acb)):(_0x274f7b['destroy'](_0x513acb),_0x274f7b[_0x105d6a(0x2c6)](_0x105d6a(0x158),_0x584f12[_0x105d6a(0x249)][_0x105d6a(0x1f5)](_0x584f12,_0x105d6a(0x158))),_0x274f7b[_0x105d6a(0x2c6)](_0x105d6a(0x1fc),_0x584f12[_0x105d6a(0x2e1)]['bind'](_0x584f12)));}function _0x336721(_0x48d985,_0x2785e4,_0x415bf4){const _0x35ffbc=_0x476d60;if(_0x2785e4){const _0x104100=_0x333216(_0x2785e4)?_0x2785e4[_0x35ffbc(0x2bd)]:_0x484e9f(_0x2785e4)['length'];_0x48d985[_0x35ffbc(0x2ac)]?_0x48d985[_0x35ffbc(0x2a7)][_0x35ffbc(0x294)]+=_0x104100:_0x48d985[_0x35ffbc(0x29f)]+=_0x104100;}if(_0x415bf4){const _0xdb3fb8=new Error(_0x35ffbc(0x20e)+_0x48d985['readyState']+'\x20('+_0x7f11e9[_0x48d985['readyState']]+')');process['nextTick'](_0x415bf4,_0xdb3fb8);}}function _0x3c02c2(_0x19b7ea,_0x8ad30){const _0x1b81e4=_0x476d60,_0x17518c=this[_0x353df2];_0x17518c['_closeFrameReceived']=!0x0,_0x17518c[_0x1b81e4(0x16d)]=_0x8ad30,_0x17518c[_0x1b81e4(0x2da)]=_0x19b7ea,_0x17518c[_0x1b81e4(0x2ac)][_0x353df2]!==void 0x0&&(_0x17518c['_socket']['removeListener']('data',_0x3c5372),process[_0x1b81e4(0x279)](_0x5109f3,_0x17518c['_socket']),_0x19b7ea===0x3ed?_0x17518c['close']():_0x17518c['close'](_0x19b7ea,_0x8ad30));}function _0xf8294b(){const _0x4e25d6=_0x476d60,_0x403d36=this[_0x353df2];_0x403d36[_0x4e25d6(0x19f)]||_0x403d36['_socket'][_0x4e25d6(0x1da)]();}function _0x1ecc95(_0x189a6d){const _0x3c2e22=_0x476d60,_0x2bc047=this[_0x353df2];_0x2bc047['_socket'][_0x353df2]!==void 0x0&&(_0x2bc047[_0x3c2e22(0x2ac)]['removeListener']('data',_0x3c5372),process['nextTick'](_0x5109f3,_0x2bc047[_0x3c2e22(0x2ac)]),_0x2bc047['close'](_0x189a6d[_0x29ac05])),_0x2bc047[_0x3c2e22(0x2a9)]||(_0x2bc047[_0x3c2e22(0x2a9)]=!0x0,_0x2bc047['emit'](_0x3c2e22(0x158),_0x189a6d));}function _0x54394d(){const _0x5cacd4=_0x476d60;this[_0x353df2][_0x5cacd4(0x2e1)]();}function _0x160672(_0x2ef536,_0x46d32b){const _0x192bca=_0x476d60;this[_0x353df2][_0x192bca(0x249)](_0x192bca(0x2ce),_0x2ef536,_0x46d32b);}function _0xcb7864(_0x59a929){const _0x2e6d0d=_0x476d60,_0x1158f3=this[_0x353df2];_0x1158f3['_autoPong']&&_0x1158f3[_0x2e6d0d(0x21e)](_0x59a929,!this[_0x2e6d0d(0x1a7)],_0x5dcaa8),_0x1158f3[_0x2e6d0d(0x249)](_0x2e6d0d(0x200),_0x59a929);}function _0x5085ee(_0x17fd30){const _0xe3cd01=_0x476d60;this[_0x353df2]['emit'](_0xe3cd01(0x21e),_0x17fd30);}function _0x5109f3(_0x1fcf74){const _0x28f7dc=_0x476d60;_0x1fcf74[_0x28f7dc(0x1da)]();}function _0x364fcf(_0xe45c8){const _0xc0599=_0x476d60,_0x3d8908=this[_0x353df2];_0x3d8908['readyState']!==_0x3739b6[_0xc0599(0x1ee)]&&(_0x3d8908[_0xc0599(0x201)]===_0x3739b6[_0xc0599(0x257)]&&(_0x3d8908[_0xc0599(0x1ef)]=_0x3739b6['CLOSING'],_0x493358(_0x3d8908)),this[_0xc0599(0x2ac)][_0xc0599(0x29b)](),_0x3d8908[_0xc0599(0x2a9)]||(_0x3d8908[_0xc0599(0x2a9)]=!0x0,_0x3d8908['emit'](_0xc0599(0x158),_0xe45c8)));}function _0x493358(_0x5be727){const _0x146499=_0x476d60;_0x5be727[_0x146499(0x19e)]=setTimeout(_0x5be727['_socket'][_0x146499(0x243)][_0x146499(0x1f5)](_0x5be727[_0x146499(0x2ac)]),_0xa801a7);}function _0x136323(){const _0x382462=_0x476d60,_0x285d06=this[_0x353df2];this[_0x382462(0x2cc)](_0x382462(0x1fc),_0x136323),this[_0x382462(0x2cc)](_0x382462(0x2b1),_0x3c5372),this[_0x382462(0x2cc)](_0x382462(0x29b),_0x1387b6),_0x285d06[_0x382462(0x1ef)]=_0x3739b6[_0x382462(0x1db)];let _0x1eb6de;!this[_0x382462(0x27a)][_0x382462(0x1d9)]&&!_0x285d06[_0x382462(0x17f)]&&!_0x285d06[_0x382462(0x27b)]['_writableState'][_0x382462(0x1bb)]&&(_0x1eb6de=_0x285d06[_0x382462(0x2ac)][_0x382462(0x187)]())!==null&&_0x285d06[_0x382462(0x27b)][_0x382462(0x216)](_0x1eb6de),_0x285d06[_0x382462(0x27b)][_0x382462(0x29b)](),this[_0x353df2]=void 0x0,clearTimeout(_0x285d06[_0x382462(0x19e)]),_0x285d06[_0x382462(0x27b)][_0x382462(0x15f)][_0x382462(0x2d6)]||_0x285d06[_0x382462(0x27b)][_0x382462(0x15f)][_0x382462(0x1bb)]?_0x285d06['emitClose']():(_0x285d06['_receiver']['on'](_0x382462(0x158),_0x54394d),_0x285d06['_receiver']['on']('finish',_0x54394d));}function _0x3c5372(_0x1ccb8){const _0x60f0c3=_0x476d60;this[_0x353df2][_0x60f0c3(0x27b)][_0x60f0c3(0x216)](_0x1ccb8)||this[_0x60f0c3(0x18f)]();}function _0x1387b6(){const _0x2f328a=_0x476d60,_0x46568f=this[_0x353df2];_0x46568f['_readyState']=_0x3739b6[_0x2f328a(0x1db)],_0x46568f['_receiver'][_0x2f328a(0x29b)](),this['end']();}function _0x3fba09(){const _0x3cca5a=_0x476d60,_0x316ec9=this[_0x353df2];this[_0x3cca5a(0x2cc)](_0x3cca5a(0x158),_0x3fba09),this['on']('error',_0x5dcaa8),_0x316ec9&&(_0x316ec9[_0x3cca5a(0x1ef)]=_0x3739b6[_0x3cca5a(0x1db)],this[_0x3cca5a(0x243)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x136ef7}=_0x51a6cf;function _0x21fb91(_0x2c0cd9){const _0xfcca3c=_0x3ec1;_0x2c0cd9[_0xfcca3c(0x249)](_0xfcca3c(0x1fc));}function _0x39c53e(){const _0x2a4750=_0x3ec1;!this['destroyed']&&this[_0x2a4750(0x15f)]['finished']&&this[_0x2a4750(0x243)]();}function _0x24e368(_0x3e617b){const _0x1de708=_0x3ec1;this[_0x1de708(0x2cc)]('error',_0x24e368),this[_0x1de708(0x243)](),this['listenerCount']('error')===0x0&&this[_0x1de708(0x249)](_0x1de708(0x158),_0x3e617b);}function _0x376fac(_0x372abe,_0xd2355){const _0x12d65d=_0x3ec1;let _0x1f90e0=!0x0;const _0xb25e75=new _0x136ef7({..._0xd2355,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x372abe['on'](_0x12d65d(0x2ce),function(_0xa3c87c,_0x411f12){const _0x281876=_0x12d65d,_0x34f3fa=!_0x411f12&&_0xb25e75[_0x281876(0x27a)][_0x281876(0x283)]?_0xa3c87c[_0x281876(0x1f6)]():_0xa3c87c;_0xb25e75[_0x281876(0x2fb)](_0x34f3fa)||_0x372abe[_0x281876(0x18f)]();}),_0x372abe['once']('error',function(_0x2cc1eb){const _0x359fcc=_0x12d65d;_0xb25e75[_0x359fcc(0x1ed)]||(_0x1f90e0=!0x1,_0xb25e75['destroy'](_0x2cc1eb));}),_0x372abe['once'](_0x12d65d(0x1fc),function(){const _0x4f5b53=_0x12d65d;_0xb25e75[_0x4f5b53(0x1ed)]||_0xb25e75[_0x4f5b53(0x2fb)](null);}),_0xb25e75[_0x12d65d(0x2c7)]=function(_0x122e71,_0x12e78d){const _0x280dbd=_0x12d65d;if(_0x372abe['readyState']===_0x372abe[_0x280dbd(0x1ee)]){_0x12e78d(_0x122e71),process[_0x280dbd(0x279)](_0x21fb91,_0xb25e75);return;}let _0x4a97c6=!0x1;_0x372abe[_0x280dbd(0x2c6)](_0x280dbd(0x158),function(_0x1112bd){_0x4a97c6=!0x0,_0x12e78d(_0x1112bd);}),_0x372abe[_0x280dbd(0x2c6)](_0x280dbd(0x1fc),function(){const _0x2d29c1=_0x280dbd;_0x4a97c6||_0x12e78d(_0x122e71),process[_0x2d29c1(0x279)](_0x21fb91,_0xb25e75);}),_0x1f90e0&&_0x372abe[_0x280dbd(0x19d)]();},_0xb25e75[_0x12d65d(0x288)]=function(_0x465dfe){const _0x2faade=_0x12d65d;if(_0x372abe[_0x2faade(0x201)]===_0x372abe[_0x2faade(0x220)]){_0x372abe['once'](_0x2faade(0x22b),function(){const _0x38c4e5=_0x2faade;_0xb25e75[_0x38c4e5(0x288)](_0x465dfe);});return;}_0x372abe[_0x2faade(0x2ac)]!==null&&(_0x372abe[_0x2faade(0x2ac)][_0x2faade(0x15f)][_0x2faade(0x2d6)]?(_0x465dfe(),_0xb25e75[_0x2faade(0x27a)][_0x2faade(0x1d9)]&&_0xb25e75['destroy']()):(_0x372abe[_0x2faade(0x2ac)][_0x2faade(0x2c6)](_0x2faade(0x278),function(){_0x465dfe();}),_0x372abe['close']()));},_0xb25e75[_0x12d65d(0x2e3)]=function(){const _0x27dda4=_0x12d65d;_0x372abe[_0x27dda4(0x19f)]&&_0x372abe[_0x27dda4(0x1da)]();},_0xb25e75[_0x12d65d(0x181)]=function(_0x2373b5,_0x1ead4c,_0x336f9b){const _0x4c4a7a=_0x12d65d;if(_0x372abe[_0x4c4a7a(0x201)]===_0x372abe['CONNECTING']){_0x372abe[_0x4c4a7a(0x2c6)](_0x4c4a7a(0x22b),function(){_0xb25e75['_write'](_0x2373b5,_0x1ead4c,_0x336f9b);});return;}_0x372abe[_0x4c4a7a(0x2d3)](_0x2373b5,_0x336f9b);},_0xb25e75['on'](_0x12d65d(0x29b),_0x39c53e),_0xb25e75['on'](_0x12d65d(0x158),_0x24e368),_0xb25e75;}return Oe=_0x376fac,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x11c4db}=ne();function _0x30b55c(_0x4495f6){const _0x1268ed=_0x3ec1,_0x37959f=new Set();let _0x310544=-0x1,_0x9210cc=-0x1,_0x41fee2=0x0;for(_0x41fee2;_0x41fee2<_0x4495f6[_0x1268ed(0x299)];_0x41fee2++){const _0x165c8d=_0x4495f6['charCodeAt'](_0x41fee2);if(_0x9210cc===-0x1&&_0x11c4db[_0x165c8d]===0x1)_0x310544===-0x1&&(_0x310544=_0x41fee2);else{if(_0x41fee2!==0x0&&(_0x165c8d===0x20||_0x165c8d===0x9))_0x9210cc===-0x1&&_0x310544!==-0x1&&(_0x9210cc=_0x41fee2);else{if(_0x165c8d===0x2c){if(_0x310544===-0x1)throw new SyntaxError(_0x1268ed(0x19b)+_0x41fee2);_0x9210cc===-0x1&&(_0x9210cc=_0x41fee2);const _0x22a987=_0x4495f6[_0x1268ed(0x24d)](_0x310544,_0x9210cc);if(_0x37959f[_0x1268ed(0x286)](_0x22a987))throw new SyntaxError(_0x1268ed(0x2ba)+_0x22a987+_0x1268ed(0x231));_0x37959f[_0x1268ed(0x1be)](_0x22a987),_0x310544=_0x9210cc=-0x1;}else throw new SyntaxError(_0x1268ed(0x19b)+_0x41fee2);}}}if(_0x310544===-0x1||_0x9210cc!==-0x1)throw new SyntaxError(_0x1268ed(0x16e));const _0x4a797e=_0x4495f6[_0x1268ed(0x24d)](_0x310544,_0x41fee2);if(_0x37959f[_0x1268ed(0x286)](_0x4a797e))throw new SyntaxError(_0x1268ed(0x2ba)+_0x4a797e+_0x1268ed(0x231));return _0x37959f[_0x1268ed(0x1be)](_0x4a797e),_0x37959f;}return Ce={'parse':_0x30b55c},Ce;}var Te,ot;function er(){const _0x3db401=_0x31da81;if(ot)return Te;ot=0x1;const _0x2dd31f=_0x3c1c3f,_0x4fd0f3=_0x44e3a9,{Duplex:_0x28c6dd}=_0x51a6cf,{createHash:_0x3faff4}=_0x1aeef7,_0x51dc70=pt(),_0x346098=he(),_0x1d50ce=Jt(),_0x28e360=Ie(),{GUID:_0x1c92d5,kWebSocket:_0x48af22}=V(),_0xa4ea4f=/^[+/0-9A-Za-z]{22}==$/,_0x37786f=0x0,_0x585ce5=0x1,_0x5df5a9=0x2;class _0xea8000 extends _0x2dd31f{constructor(_0x28e628,_0x271b5d){const _0x2ee35c=_0x3ec1;if(super(),_0x28e628={'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':_0x28e360,..._0x28e628},_0x28e628[_0x2ee35c(0x1c2)]==null&&!_0x28e628[_0x2ee35c(0x1f3)]&&!_0x28e628[_0x2ee35c(0x282)]||_0x28e628[_0x2ee35c(0x1c2)]!=null&&(_0x28e628[_0x2ee35c(0x1f3)]||_0x28e628[_0x2ee35c(0x282)])||_0x28e628[_0x2ee35c(0x1f3)]&&_0x28e628[_0x2ee35c(0x282)])throw new TypeError(_0x2ee35c(0x28c));if(_0x28e628[_0x2ee35c(0x1c2)]!=null?(this[_0x2ee35c(0x2cd)]=_0x4fd0f3['createServer']((_0xcc9b7d,_0x3b817b)=>{const _0x55006e=_0x2ee35c,_0x26d2b2=_0x4fd0f3['STATUS_CODES'][0x1aa];_0x3b817b['writeHead'](0x1aa,{'Content-Length':_0x26d2b2['length'],'Content-Type':'text/plain'}),_0x3b817b[_0x55006e(0x29b)](_0x26d2b2);}),this[_0x2ee35c(0x2cd)][_0x2ee35c(0x1dd)](_0x28e628[_0x2ee35c(0x1c2)],_0x28e628['host'],_0x28e628['backlog'],_0x271b5d)):_0x28e628[_0x2ee35c(0x1f3)]&&(this[_0x2ee35c(0x2cd)]=_0x28e628['server']),this[_0x2ee35c(0x2cd)]){const _0x23e3d4=this[_0x2ee35c(0x249)][_0x2ee35c(0x1f5)](this,_0x2ee35c(0x303));this[_0x2ee35c(0x277)]=_0xb0c9da(this['_server'],{'listening':this[_0x2ee35c(0x249)][_0x2ee35c(0x1f5)](this,_0x2ee35c(0x174)),'error':this[_0x2ee35c(0x249)][_0x2ee35c(0x1f5)](this,_0x2ee35c(0x158)),'upgrade':(_0x118ede,_0x2cdd80,_0xfeb56)=>{const _0x526708=_0x2ee35c;this[_0x526708(0x217)](_0x118ede,_0x2cdd80,_0xfeb56,_0x23e3d4);}});}_0x28e628[_0x2ee35c(0x1f4)]===!0x0&&(_0x28e628[_0x2ee35c(0x1f4)]={}),_0x28e628[_0x2ee35c(0x2c2)]&&(this[_0x2ee35c(0x265)]=new Set(),this[_0x2ee35c(0x1cd)]=!0x1),this['options']=_0x28e628,this[_0x2ee35c(0x2c5)]=_0x37786f;}[_0x3db401(0x2ae)](){const _0x41780e=_0x3db401;if(this['options'][_0x41780e(0x282)])throw new Error(_0x41780e(0x1a5));return this[_0x41780e(0x2cd)]?this[_0x41780e(0x2cd)][_0x41780e(0x2ae)]():null;}[_0x3db401(0x1fc)](_0x19ed88){const _0x5483bf=_0x3db401;if(this['_state']===_0x5df5a9){_0x19ed88&&this[_0x5483bf(0x2c6)](_0x5483bf(0x1fc),()=>{const _0x348fc4=_0x5483bf;_0x19ed88(new Error(_0x348fc4(0x17e)));}),process[_0x5483bf(0x279)](_0x3f8491,this);return;}if(_0x19ed88&&this[_0x5483bf(0x2c6)](_0x5483bf(0x1fc),_0x19ed88),this['_state']!==_0x585ce5){if(this[_0x5483bf(0x2c5)]=_0x585ce5,this['options'][_0x5483bf(0x282)]||this[_0x5483bf(0x213)][_0x5483bf(0x1f3)])this[_0x5483bf(0x2cd)]&&(this[_0x5483bf(0x277)](),this['_removeListeners']=this[_0x5483bf(0x2cd)]=null),this[_0x5483bf(0x265)]?this[_0x5483bf(0x265)][_0x5483bf(0x2bd)]?this['_shouldEmitClose']=!0x0:process['nextTick'](_0x3f8491,this):process[_0x5483bf(0x279)](_0x3f8491,this);else{const _0x3eec14=this[_0x5483bf(0x2cd)];this['_removeListeners'](),this[_0x5483bf(0x277)]=this[_0x5483bf(0x2cd)]=null,_0x3eec14[_0x5483bf(0x1fc)](()=>{_0x3f8491(this);});}}}[_0x3db401(0x24a)](_0x20d604){const _0x7c5db4=_0x3db401;if(this[_0x7c5db4(0x213)][_0x7c5db4(0x162)]){const _0x4e3664=_0x20d604[_0x7c5db4(0x159)][_0x7c5db4(0x2e9)]('?');if((_0x4e3664!==-0x1?_0x20d604[_0x7c5db4(0x159)][_0x7c5db4(0x24d)](0x0,_0x4e3664):_0x20d604['url'])!==this[_0x7c5db4(0x213)][_0x7c5db4(0x162)])return!0x1;}return!0x0;}[_0x3db401(0x217)](_0x1b13f2,_0x50d6a6,_0x20a385,_0x1c2b00){const _0x22e8f4=_0x3db401;_0x50d6a6['on'](_0x22e8f4(0x158),_0xfedb79);const _0x1c651f=_0x1b13f2[_0x22e8f4(0x247)][_0x22e8f4(0x26d)],_0x5a277d=_0x1b13f2[_0x22e8f4(0x247)]['upgrade'],_0x42f784=+_0x1b13f2[_0x22e8f4(0x247)][_0x22e8f4(0x2e4)];if(_0x1b13f2[_0x22e8f4(0x1ba)]!=='GET'){_0x200091(this,_0x1b13f2,_0x50d6a6,0x195,_0x22e8f4(0x2d1));return;}if(_0x5a277d===void 0x0||_0x5a277d[_0x22e8f4(0x2d0)]()!==_0x22e8f4(0x1f2)){_0x200091(this,_0x1b13f2,_0x50d6a6,0x190,_0x22e8f4(0x2f8));return;}if(_0x1c651f===void 0x0||!_0xa4ea4f['test'](_0x1c651f)){_0x200091(this,_0x1b13f2,_0x50d6a6,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x42f784!==0x8&&_0x42f784!==0xd){_0x200091(this,_0x1b13f2,_0x50d6a6,0x190,_0x22e8f4(0x2c8));return;}if(!this[_0x22e8f4(0x24a)](_0x1b13f2)){_0x14b093(_0x50d6a6,0x190);return;}const _0x49894d=_0x1b13f2[_0x22e8f4(0x247)][_0x22e8f4(0x2ed)];let _0x4eed4c=new Set();if(_0x49894d!==void 0x0)try{_0x4eed4c=_0x1d50ce[_0x22e8f4(0x30a)](_0x49894d);}catch{_0x200091(this,_0x1b13f2,_0x50d6a6,0x190,_0x22e8f4(0x2e5));return;}const _0x53d983=_0x1b13f2[_0x22e8f4(0x247)][_0x22e8f4(0x2a6)],_0x36e209={};if(this[_0x22e8f4(0x213)]['perMessageDeflate']&&_0x53d983!==void 0x0){const _0x1ba97c=new _0x346098(this[_0x22e8f4(0x213)][_0x22e8f4(0x1f4)],!0x0,this[_0x22e8f4(0x213)]['maxPayload']);try{const _0x1af3bd=_0x51dc70[_0x22e8f4(0x30a)](_0x53d983);_0x1af3bd[_0x346098[_0x22e8f4(0x1c5)]]&&(_0x1ba97c['accept'](_0x1af3bd[_0x346098[_0x22e8f4(0x1c5)]]),_0x36e209[_0x346098[_0x22e8f4(0x1c5)]]=_0x1ba97c);}catch{_0x200091(this,_0x1b13f2,_0x50d6a6,0x190,_0x22e8f4(0x22a));return;}}if(this[_0x22e8f4(0x213)][_0x22e8f4(0x173)]){const _0x3b3c12={'origin':_0x1b13f2[_0x22e8f4(0x247)][''+(_0x42f784===0x8?'sec-websocket-origin':'origin')],'secure':!!(_0x1b13f2[_0x22e8f4(0x22c)][_0x22e8f4(0x156)]||_0x1b13f2[_0x22e8f4(0x22c)][_0x22e8f4(0x252)]),'req':_0x1b13f2};if(this[_0x22e8f4(0x213)][_0x22e8f4(0x173)][_0x22e8f4(0x299)]===0x2){this[_0x22e8f4(0x213)][_0x22e8f4(0x173)](_0x3b3c12,(_0x2dcd37,_0x5bdd38,_0x4082bf,_0x438623)=>{const _0xe43c1=_0x22e8f4;if(!_0x2dcd37)return _0x14b093(_0x50d6a6,_0x5bdd38||0x191,_0x4082bf,_0x438623);this[_0xe43c1(0x24b)](_0x36e209,_0x1c651f,_0x4eed4c,_0x1b13f2,_0x50d6a6,_0x20a385,_0x1c2b00);});return;}if(!this[_0x22e8f4(0x213)]['verifyClient'](_0x3b3c12))return _0x14b093(_0x50d6a6,0x191);}this[_0x22e8f4(0x24b)](_0x36e209,_0x1c651f,_0x4eed4c,_0x1b13f2,_0x50d6a6,_0x20a385,_0x1c2b00);}[_0x3db401(0x24b)](_0x57488b,_0x165b6d,_0x334b24,_0x5f45c0,_0x3f8d25,_0x4fa08e,_0x52ccd5){const _0x25f05b=_0x3db401;if(!_0x3f8d25[_0x25f05b(0x1b6)]||!_0x3f8d25['writable'])return _0x3f8d25[_0x25f05b(0x243)]();if(_0x3f8d25[_0x48af22])throw new Error(_0x25f05b(0x259));if(this[_0x25f05b(0x2c5)]>_0x37786f)return _0x14b093(_0x3f8d25,0x1f7);const _0x451f3b=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x25f05b(0x285),_0x25f05b(0x18d),_0x25f05b(0x2f2)+_0x3faff4(_0x25f05b(0x2b8))[_0x25f05b(0x1a2)](_0x165b6d+_0x1c92d5)[_0x25f05b(0x205)](_0x25f05b(0x295))],_0x31aad9=new this['options'][(_0x25f05b(0x255))](null,void 0x0,this[_0x25f05b(0x213)]);if(_0x334b24[_0x25f05b(0x2bd)]){const _0x4a63da=this[_0x25f05b(0x213)][_0x25f05b(0x239)]?this[_0x25f05b(0x213)]['handleProtocols'](_0x334b24,_0x5f45c0):_0x334b24['values']()[_0x25f05b(0x1ea)]()[_0x25f05b(0x237)];_0x4a63da&&(_0x451f3b[_0x25f05b(0x2fb)](_0x25f05b(0x27e)+_0x4a63da),_0x31aad9[_0x25f05b(0x2b0)]=_0x4a63da);}if(_0x57488b[_0x346098[_0x25f05b(0x1c5)]]){const _0x2e682d=_0x57488b[_0x346098['extensionName']]['params'],_0x22e863=_0x51dc70[_0x25f05b(0x267)]({[_0x346098[_0x25f05b(0x1c5)]]:[_0x2e682d]});_0x451f3b[_0x25f05b(0x2fb)](_0x25f05b(0x20f)+_0x22e863),_0x31aad9[_0x25f05b(0x261)]=_0x57488b;}this[_0x25f05b(0x249)]('headers',_0x451f3b,_0x5f45c0),_0x3f8d25[_0x25f05b(0x216)](_0x451f3b[_0x25f05b(0x2a1)]('\x0d\x0a')[_0x25f05b(0x242)]('\x0d\x0a')),_0x3f8d25['removeListener'](_0x25f05b(0x158),_0xfedb79),_0x31aad9[_0x25f05b(0x20b)](_0x3f8d25,_0x4fa08e,{'allowSynchronousEvents':this[_0x25f05b(0x213)]['allowSynchronousEvents'],'maxPayload':this['options']['maxPayload'],'skipUTF8Validation':this[_0x25f05b(0x213)][_0x25f05b(0x1ac)]}),this['clients']&&(this[_0x25f05b(0x265)][_0x25f05b(0x1be)](_0x31aad9),_0x31aad9['on']('close',()=>{const _0x1848bf=_0x25f05b;this[_0x1848bf(0x265)][_0x1848bf(0x2b7)](_0x31aad9),this[_0x1848bf(0x1cd)]&&!this['clients']['size']&&process['nextTick'](_0x3f8491,this);})),_0x52ccd5(_0x31aad9,_0x5f45c0);}}Te=_0xea8000;function _0xb0c9da(_0x3d64f5,_0x14aa86){const _0xfa78a4=_0x3db401;for(const _0x21cf15 of Object[_0xfa78a4(0x15d)](_0x14aa86))_0x3d64f5['on'](_0x21cf15,_0x14aa86[_0x21cf15]);return function(){const _0x39864c=_0xfa78a4;for(const _0x2e7d3e of Object[_0x39864c(0x15d)](_0x14aa86))_0x3d64f5[_0x39864c(0x2cc)](_0x2e7d3e,_0x14aa86[_0x2e7d3e]);};}function _0x3f8491(_0x10fc8a){const _0x503379=_0x3db401;_0x10fc8a[_0x503379(0x2c5)]=_0x5df5a9,_0x10fc8a[_0x503379(0x249)](_0x503379(0x1fc));}function _0xfedb79(){const _0x34c106=_0x3db401;this[_0x34c106(0x243)]();}function _0x14b093(_0x1eae08,_0x99963,_0x3f38ed,_0x47c97d){const _0x23830b=_0x3db401;_0x3f38ed=_0x3f38ed||_0x4fd0f3['STATUS_CODES'][_0x99963],_0x47c97d={'Connection':_0x23830b(0x1fc),'Content-Type':_0x23830b(0x1e1),'Content-Length':Buffer['byteLength'](_0x3f38ed),..._0x47c97d},_0x1eae08[_0x23830b(0x2c6)]('finish',_0x1eae08[_0x23830b(0x243)]),_0x1eae08['end'](_0x23830b(0x1b0)+_0x99963+'\x20'+_0x4fd0f3[_0x23830b(0x2df)][_0x99963]+'\x0d\x0a'+Object[_0x23830b(0x15d)](_0x47c97d)[_0x23830b(0x228)](_0x4c2cec=>_0x4c2cec+':\x20'+_0x47c97d[_0x4c2cec])[_0x23830b(0x242)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x3f38ed);}function _0x200091(_0x1d6497,_0x2a3042,_0x508875,_0x1a5a49,_0x4e585a){const _0x313e0f=_0x3db401;if(_0x1d6497[_0x313e0f(0x25f)](_0x313e0f(0x284))){const _0x28d3e9=new Error(_0x4e585a);Error[_0x313e0f(0x302)](_0x28d3e9,_0x200091),_0x1d6497[_0x313e0f(0x249)]('wsClientError',_0x28d3e9,_0x508875,_0x2a3042);}else _0x14b093(_0x508875,_0x1a5a49,_0x4e585a);}return Te;}er();var tr=Object['getOwnPropertyDescriptor'],rr=(_0x3974cf,_0x35f92c,_0x1c066d,_0x17a36a)=>{const _0x52773f=_0x31da81;for(var _0x430b94=_0x17a36a>0x1?void 0x0:_0x17a36a?tr(_0x35f92c,_0x1c066d):_0x35f92c,_0x562099=_0x3974cf[_0x52773f(0x299)]-0x1,_0xec792f;_0x562099>=0x0;_0x562099--)(_0xec792f=_0x3974cf[_0x562099])&&(_0x430b94=_0xec792f(_0x430b94)||_0x430b94);return _0x430b94;},sr=(_0x1d20f2,_0x47c1bb)=>(_0x3d5bf3,_0x32b875)=>_0x47c1bb(_0x3d5bf3,_0x32b875,_0x1d20f2);let Ne=class extends _0x13795b{constructor(_0x3ae5b1){const _0x505467=_0x31da81;super(),this[_0x505467(0x22e)]=_0x3ae5b1;}[_0x31da81(0x271)](_0x111166){const _0x1f53cf=_0x31da81;var _0x461608;const _0x595150=(_0x461608=this[_0x1f53cf(0x22e)][_0x1f53cf(0x21d)](Be))==null?void 0x0:_0x461608[_0x1f53cf(0x2c4)];try{const _0x10bab4=new Qt(_0x111166,{'headers':{..._0x595150}}),_0x423537=new _0x166a18();return{'URL':_0x111166,'close':(_0x3d7493,_0x3d8426)=>{const _0x182900=_0x1f53cf;_0x10bab4[_0x182900(0x1fc)](_0x3d7493,_0x3d8426),_0x423537['dispose']();},'send':_0x497403=>{const _0x55d7e3=_0x1f53cf;_0x10bab4[_0x55d7e3(0x2d3)](_0x497403);},'open$':new _0x29e2bc(_0x379bab=>{const _0x173640=_0x1f53cf,_0x1161fe=_0x1e9fac=>_0x379bab[_0x173640(0x1ea)](_0x1e9fac);_0x10bab4[_0x173640(0x27d)]('open',_0x1161fe),_0x423537['add'](_0xad6817(()=>_0x10bab4[_0x173640(0x23c)](_0x173640(0x22b),_0x1161fe)));})['pipe'](_0x112638()),'close$':new _0x29e2bc(_0x409a8b=>{const _0xc932bb=_0x1f53cf,_0x3442c0=_0x1bcdef=>_0x409a8b[_0xc932bb(0x1ea)](_0x1bcdef);_0x10bab4[_0xc932bb(0x27d)](_0xc932bb(0x1fc),_0x3442c0),_0x423537[_0xc932bb(0x1be)](_0xad6817(()=>_0x10bab4[_0xc932bb(0x23c)](_0xc932bb(0x1fc),_0x3442c0)));})[_0x1f53cf(0x1a0)](_0x112638()),'error$':new _0x29e2bc(_0x1cd088=>{const _0x3e616e=_0x1f53cf,_0x4dca0c=_0x1d6e13=>_0x1cd088['next'](_0x1d6e13);_0x10bab4[_0x3e616e(0x27d)](_0x3e616e(0x158),_0x4dca0c),_0x423537[_0x3e616e(0x1be)](_0xad6817(()=>_0x10bab4[_0x3e616e(0x23c)](_0x3e616e(0x158),_0x4dca0c)));})[_0x1f53cf(0x1a0)](_0x112638()),'message$':new _0x29e2bc(_0x18a31e=>{const _0x3fa2b0=_0x1f53cf,_0x5ea7aa=_0x223775=>_0x18a31e[_0x3fa2b0(0x1ea)](_0x223775);_0x10bab4[_0x3fa2b0(0x27d)](_0x3fa2b0(0x2ce),_0x5ea7aa),_0x423537[_0x3fa2b0(0x1be)](_0xad6817(()=>_0x10bab4[_0x3fa2b0(0x23c)](_0x3fa2b0(0x2ce),_0x5ea7aa)));})[_0x1f53cf(0x1a0)](_0x112638())};}catch(_0x1d0b8b){return console[_0x1f53cf(0x158)](_0x1d0b8b),null;}}};Ne=rr([sr(0x0,_0x421e0e)],Ne);var ir=Object[_0x31da81(0x25a)],nr=Object[_0x31da81(0x19a)],or=(_0x4ab3ad,_0x55548b,_0x1ff1f7)=>_0x55548b in _0x4ab3ad?ir(_0x4ab3ad,_0x55548b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1ff1f7}):_0x4ab3ad[_0x55548b]=_0x1ff1f7,ar=(_0x1c7aad,_0x2c2f92,_0x28e032,_0x401159)=>{for(var _0xccc065=_0x401159>0x1?void 0x0:_0x401159?nr(_0x2c2f92,_0x28e032):_0x2c2f92,_0x411a02=_0x1c7aad['length']-0x1,_0x3c3a71;_0x411a02>=0x0;_0x411a02--)(_0x3c3a71=_0x1c7aad[_0x411a02])&&(_0xccc065=_0x3c3a71(_0xccc065)||_0xccc065);return _0xccc065;},ke=(_0x44026e,_0x23aced)=>(_0x50ba26,_0x40946e)=>_0x23aced(_0x50ba26,_0x40946e,_0x44026e),lr=(_0x3e2cac,_0x1920a1,_0x3d68f4)=>or(_0x3e2cac,_0x1920a1+'',_0x3d68f4);let Pe=class extends _0x5bf9d2{constructor(_0x44547b=Ft,_0x36056f,_0xf35ef9,_0x5f5aaf){const _0xa72213=_0x31da81;_0x44547b[_0xa72213(0x2c4)]||_0x36056f[_0xa72213(0x229)](_0xa72213(0x2f5)),super(),this[_0xa72213(0x22e)]=_0xf35ef9,this[_0xa72213(0x1a1)]=_0x5f5aaf,this[_0xa72213(0x22e)][_0xa72213(0x176)](Be,_0x44547b);}['onStarting'](){const _0x46df94=_0x31da81;this[_0x46df94(0x15e)]();}[_0x31da81(0x15e)](){const _0x37c691=_0x31da81;_0x2f150f(this[_0x37c691(0x1a1)],[[_0x33c413,{'useClass':Ne}]]);}};lr(Pe,'pluginName','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),Pe=ar([_0x33ebee(_0x56a588),ke(0x1,_0x4454ef),ke(0x2,_0x421e0e),ke(0x3,_0x173be1(_0x12eae9))],Pe);var fr=Object['getOwnPropertyDescriptor'],cr=(_0x18f96e,_0x2d0b1f,_0xc17189,_0x1d0bbc)=>{for(var _0x5f08ad=_0x1d0bbc>0x1?void 0x0:_0x1d0bbc?fr(_0x2d0b1f,_0xc17189):_0x2d0b1f,_0x3e88b3=_0x18f96e['length']-0x1,_0x3e1901;_0x3e88b3>=0x0;_0x3e88b3--)(_0x3e1901=_0x18f96e[_0x3e88b3])&&(_0x5f08ad=_0x3e1901(_0x5f08ad)||_0x5f08ad);return _0x5f08ad;},se=(_0x480ec4,_0x1ac74c)=>(_0x1fc1a4,_0xa4f6ad)=>_0x1ac74c(_0x1fc1a4,_0xa4f6ad,_0x480ec4);let at=class extends _0x351a2a{constructor(_0x43ab31,_0x4d5fdd,_0x1d5515,_0x29bb88,_0x30e9d4){const _0xcb9a07=_0x31da81;super(_0x43ab31,_0x4d5fdd,_0x1d5515,_0x29bb88,_0x30e9d4);const _0x3bcf1f=this[_0xcb9a07(0x22e)]['getConfig'](Be);this[_0xcb9a07(0x196)][_0xcb9a07(0x1bd)]({'interceptor':(_0x3a821d,_0x21d6d6)=>{const _0x567e58=_0xcb9a07;var _0x2ee4f3;const _0x5e3b6a=_0x3a821d[_0x567e58(0x247)];return(_0x2ee4f3=_0x3bcf1f==null?void 0x0:_0x3bcf1f[_0x567e58(0x2c4)])!=null&&_0x2ee4f3[_0x567e58(0x1f7)]&&_0x5e3b6a[_0x567e58(0x241)](_0x567e58(0x1e6),_0x3bcf1f[_0x567e58(0x2c4)][_0x567e58(0x1f7)]),_0x21d6d6(_0x3a821d);}});}async[_0x31da81(0x271)](_0x59da63){const _0x55981f=_0x31da81;return this[_0x55981f(0x208)](_0x59da63);}};at=cr([se(0x0,_0x173be1(_0x12eae9)),se(0x1,_0x173be1(_0x433452)),se(0x2,_0x421e0e),se(0x3,_0x4454ef),se(0x4,_0x5a6efc)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};