@univerjs-pro/collaboration-client-node 0.12.3-experimental.20251205-71d07c3 → 0.12.3-experimental.20251205-8c9a6bf
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/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +7 -7
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x43e910=_0x2164;(function(_0x3126ff,_0x4340de){const _0x38d723=_0x2164,_0x145c63=_0x3126ff();while(!![]){try{const _0x420dc8=parseInt(_0x38d723(0xc4))/0x1+-parseInt(_0x38d723(0x1d3))/0x2+parseInt(_0x38d723(0x1b0))/0x3*(-parseInt(_0x38d723(0xe7))/0x4)+parseInt(_0x38d723(0x1bd))/0x5*(-parseInt(_0x38d723(0x160))/0x6)+-parseInt(_0x38d723(0x1c1))/0x7+-parseInt(_0x38d723(0x1a3))/0x8*(-parseInt(_0x38d723(0x1d0))/0x9)+-parseInt(_0x38d723(0xb2))/0xa*(-parseInt(_0x38d723(0x17f))/0xb);if(_0x420dc8===_0x4340de)break;else _0x145c63['push'](_0x145c63['shift']());}catch(_0x28b987){_0x145c63['push'](_0x145c63['shift']());}}}(_0x877d,0xce03e));import{UniverCollaborationClientPlugin as _0x2cd25c,CollaborationSocketService as _0x2adc87}from'@univerjs-pro/collaboration-client';import{Disposable as _0x59fd99,DisposableCollection as _0x246e67,toDisposable as _0x3456c6,IConfigService as _0x3170ef,DependentOn as _0x2cbb5d,ILogService as _0x3c9dc0,Inject as _0x53361d,Injector as _0x2c7cec,Plugin as _0x5df74e,registerDependencies as _0x475674}from'@univerjs/core';import{ISocketService as _0x1f8d2e,HTTPService as _0x56fa19}from'@univerjs/network';import{Observable as _0x3096d9,share as _0x2b47bf}from'rxjs';import _0x4ded73 from'events';import _0x56ca03 from'https';import _0xf64680 from'http';import _0x10bf4a from'net';function _0x2164(_0x30da16,_0x5aad7b){_0x30da16=_0x30da16-0x9b;const _0x877de9=_0x877d();let _0x216458=_0x877de9[_0x30da16];return _0x216458;}import _0x2580cb from'tls';import _0x303447 from'crypto';import _0x2e27c2 from'stream';import _0x17a9e4 from'url';import _0x561142 from'zlib';import _0x500487 from'buffer';import{ISnapshotServerService as _0x1d2590}from'@univerjs-pro/collaboration';const Be='collaboration-client-node.config',Ft={'customHeaders':{}};function Wt(_0x318bda){const _0x38791a=_0x2164;return _0x318bda&&_0x318bda[_0x38791a(0xd9)]&&Object[_0x38791a(0x14a)][_0x38791a(0x108)][_0x38791a(0x1c2)](_0x318bda,_0x38791a(0x143))?_0x318bda[_0x38791a(0x143)]:_0x318bda;}function ut(_0x141d32){const _0x7cfd82=_0x2164;if(Object[_0x7cfd82(0x14a)]['hasOwnProperty']['call'](_0x141d32,'__esModule'))return _0x141d32;var _0x21b938=_0x141d32[_0x7cfd82(0x143)];if(typeof _0x21b938==_0x7cfd82(0x1a5)){var _0x3b1bd8=function _0x43c964(){const _0x6f3271=_0x7cfd82;var _0x3485af=!0x1;try{_0x3485af=this instanceof _0x43c964;}catch{}return _0x3485af?Reflect[_0x6f3271(0x1f4)](_0x21b938,arguments,this[_0x6f3271(0xeb)]):_0x21b938[_0x6f3271(0x21c)](this,arguments);};_0x3b1bd8[_0x7cfd82(0x14a)]=_0x21b938[_0x7cfd82(0x14a)];}else _0x3b1bd8={};return Object[_0x7cfd82(0x222)](_0x3b1bd8,_0x7cfd82(0xd9),{'value':!0x0}),Object[_0x7cfd82(0x133)](_0x141d32)[_0x7cfd82(0x1d2)](function(_0x135a6c){const _0x11f6e0=_0x7cfd82;var _0x172982=Object[_0x11f6e0(0xd1)](_0x141d32,_0x135a6c);Object[_0x11f6e0(0x222)](_0x3b1bd8,_0x135a6c,_0x172982[_0x11f6e0(0x229)]?_0x172982:{'enumerable':!0x0,'get':function(){return _0x141d32[_0x135a6c];}});}),_0x3b1bd8;}var te={'exports':{}},ge,Ye;function V(){const _0xf268f7=_0x2164;if(Ye)return ge;Ye=0x1;const _0x3f93e6=[_0xf268f7(0x192),_0xf268f7(0xd5),_0xf268f7(0x1f3)],_0x269600=typeof Blob<'u';return _0x269600&&_0x3f93e6['push'](_0xf268f7(0x173)),ge={'BINARY_TYPES':_0x3f93e6,'EMPTY_BUFFER':Buffer[_0xf268f7(0x9c)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x269600,'kForOnEventAttribute':Symbol(_0xf268f7(0x182)),'kListener':Symbol(_0xf268f7(0x1ab)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0x43e910(0xa9)](Object[_0x43e910(0x222)]({'__proto__':null,'default':jt},Symbol[_0x43e910(0x123)],{'value':'Module'})),Vt=ut(Gt);var Ke;function ce(){const _0x2087ed=_0x43e910;if(Ke)return te[_0x2087ed(0x21d)];Ke=0x1;const {EMPTY_BUFFER:_0x240a51}=V(),_0x29d9c0=Buffer[Symbol[_0x2087ed(0x155)]];function _0x3d7f12(_0x4fb3ae,_0x26c5b6){const _0x5ec79c=_0x2087ed;if(_0x4fb3ae['length']===0x0)return _0x240a51;if(_0x4fb3ae[_0x5ec79c(0xf1)]===0x1)return _0x4fb3ae[0x0];const _0x3a7980=Buffer[_0x5ec79c(0x1d9)](_0x26c5b6);let _0x507066=0x0;for(let _0x3d10d4=0x0;_0x3d10d4<_0x4fb3ae[_0x5ec79c(0xf1)];_0x3d10d4++){const _0x582a54=_0x4fb3ae[_0x3d10d4];_0x3a7980[_0x5ec79c(0x12b)](_0x582a54,_0x507066),_0x507066+=_0x582a54[_0x5ec79c(0xf1)];}return _0x507066<_0x26c5b6?new _0x29d9c0(_0x3a7980[_0x5ec79c(0xc9)],_0x3a7980['byteOffset'],_0x507066):_0x3a7980;}function _0x84018c(_0x3b59b5,_0x4f16be,_0x15254,_0x37b41f,_0xc73dca){for(let _0x4776bd=0x0;_0x4776bd<_0xc73dca;_0x4776bd++)_0x15254[_0x37b41f+_0x4776bd]=_0x3b59b5[_0x4776bd]^_0x4f16be[_0x4776bd&0x3];}function _0xd6c2da(_0x561e4f,_0x47d212){for(let _0x1972ca=0x0;_0x1972ca<_0x561e4f['length'];_0x1972ca++)_0x561e4f[_0x1972ca]^=_0x47d212[_0x1972ca&0x3];}function _0x1b33e6(_0x484030){const _0x2ab1ce=_0x2087ed;return _0x484030['length']===_0x484030[_0x2ab1ce(0xc9)][_0x2ab1ce(0x156)]?_0x484030[_0x2ab1ce(0xc9)]:_0x484030['buffer'][_0x2ab1ce(0xc2)](_0x484030[_0x2ab1ce(0x215)],_0x484030[_0x2ab1ce(0x215)]+_0x484030[_0x2ab1ce(0xf1)]);}function _0x3961a2(_0x2e1b06){const _0x2f0ba7=_0x2087ed;if(_0x3961a2['readOnly']=!0x0,Buffer[_0x2f0ba7(0x21b)](_0x2e1b06))return _0x2e1b06;let _0x1e865f;return _0x2e1b06 instanceof ArrayBuffer?_0x1e865f=new _0x29d9c0(_0x2e1b06):ArrayBuffer[_0x2f0ba7(0xdf)](_0x2e1b06)?_0x1e865f=new _0x29d9c0(_0x2e1b06[_0x2f0ba7(0xc9)],_0x2e1b06['byteOffset'],_0x2e1b06['byteLength']):(_0x1e865f=Buffer[_0x2f0ba7(0x15e)](_0x2e1b06),_0x3961a2[_0x2f0ba7(0x11e)]=!0x1),_0x1e865f;}if(te[_0x2087ed(0x21d)]={'concat':_0x3d7f12,'mask':_0x84018c,'toArrayBuffer':_0x1b33e6,'toBuffer':_0x3961a2,'unmask':_0xd6c2da},!process['env'][_0x2087ed(0x14f)])try{const _0x125a4b=Vt;te['exports'][_0x2087ed(0x147)]=function(_0x121df1,_0x368280,_0x5df205,_0x1f9496,_0x3247f4){_0x3247f4<0x30?_0x84018c(_0x121df1,_0x368280,_0x5df205,_0x1f9496,_0x3247f4):_0x125a4b['mask'](_0x121df1,_0x368280,_0x5df205,_0x1f9496,_0x3247f4);},te[_0x2087ed(0x21d)]['unmask']=function(_0x1b576c,_0x233463){const _0x36eac1=_0x2087ed;_0x1b576c[_0x36eac1(0xf1)]<0x20?_0xd6c2da(_0x1b576c,_0x233463):_0x125a4b[_0x36eac1(0x9f)](_0x1b576c,_0x233463);};}catch{}return te['exports'];}var ye,Xe;function qt(){const _0x449a7e=_0x43e910;if(Xe)return ye;Xe=0x1;const _0x32a1cc=Symbol('kDone'),_0xe83b70=Symbol('kRun');class _0x1bfbfb{constructor(_0x1c634c){const _0x18fccc=_0x2164;this[_0x32a1cc]=()=>{const _0x3524f4=_0x2164;this[_0x3524f4(0x162)]--,this[_0xe83b70]();},this[_0x18fccc(0xf0)]=_0x1c634c||0x1/0x0,this[_0x18fccc(0x176)]=[],this['pending']=0x0;}[_0x449a7e(0x228)](_0x56e7f9){const _0x73c08e=_0x449a7e;this[_0x73c08e(0x176)]['push'](_0x56e7f9),this[_0xe83b70]();}[_0xe83b70](){const _0x4274e4=_0x449a7e;if(this['pending']!==this[_0x4274e4(0xf0)]&&this[_0x4274e4(0x176)]['length']){const _0x3a2e85=this['jobs'][_0x4274e4(0x217)]();this[_0x4274e4(0x162)]++,_0x3a2e85(this[_0x32a1cc]);}}}return ye=_0x1bfbfb,ye;}var ve,Ze;function he(){const _0x5ec658=_0x43e910;if(Ze)return ve;Ze=0x1;const _0x41d944=_0x561142,_0x1f1163=ce(),_0x3d4d17=qt(),{kStatusCode:_0x742d3c}=V(),_0x1b1336=Buffer[Symbol[_0x5ec658(0x155)]],_0x4cd9b6=Buffer[_0x5ec658(0x15e)]([0x0,0x0,0xff,0xff]),_0x25c7fb=Symbol(_0x5ec658(0x121)),_0x421098=Symbol(_0x5ec658(0x1b5)),_0x2904bb=Symbol('callback'),_0x37783c=Symbol(_0x5ec658(0x149)),_0x47cc00=Symbol(_0x5ec658(0x174));let _0x16aca2;class _0x2f4ab4{constructor(_0x42bef2,_0x1a91ec,_0x1cc836){const _0x2762ea=_0x5ec658;if(this[_0x2762ea(0x142)]=_0x1cc836|0x0,this[_0x2762ea(0x129)]=_0x42bef2||{},this[_0x2762ea(0x18e)]=this['_options']['threshold']!==void 0x0?this[_0x2762ea(0x129)][_0x2762ea(0x20c)]:0x400,this[_0x2762ea(0x22b)]=!!_0x1a91ec,this[_0x2762ea(0xb0)]=null,this[_0x2762ea(0x180)]=null,this[_0x2762ea(0xb8)]=null,!_0x16aca2){const _0x25d656=this[_0x2762ea(0x129)][_0x2762ea(0x23e)]!==void 0x0?this['_options'][_0x2762ea(0x23e)]:0xa;_0x16aca2=new _0x3d4d17(_0x25d656);}}static get[_0x5ec658(0x219)](){return'permessage-deflate';}['offer'](){const _0x3839bf=_0x5ec658,_0x56af14={};return this[_0x3839bf(0x129)][_0x3839bf(0xf4)]&&(_0x56af14['server_no_context_takeover']=!0x0),this[_0x3839bf(0x129)][_0x3839bf(0xd2)]&&(_0x56af14[_0x3839bf(0x240)]=!0x0),this[_0x3839bf(0x129)][_0x3839bf(0x200)]&&(_0x56af14[_0x3839bf(0xd0)]=this[_0x3839bf(0x129)][_0x3839bf(0x200)]),this[_0x3839bf(0x129)]['clientMaxWindowBits']?_0x56af14[_0x3839bf(0x170)]=this['_options'][_0x3839bf(0x1cf)]:this[_0x3839bf(0x129)]['clientMaxWindowBits']==null&&(_0x56af14['client_max_window_bits']=!0x0),_0x56af14;}['accept'](_0x53c2db){const _0xe94618=_0x5ec658;return _0x53c2db=this['normalizeParams'](_0x53c2db),this[_0xe94618(0xb8)]=this['_isServer']?this[_0xe94618(0xda)](_0x53c2db):this[_0xe94618(0x242)](_0x53c2db),this[_0xe94618(0xb8)];}[_0x5ec658(0xb1)](){const _0x5395a0=_0x5ec658;if(this[_0x5395a0(0x180)]&&(this[_0x5395a0(0x180)][_0x5395a0(0x1ec)](),this['_inflate']=null),this['_deflate']){const _0x4ed7f7=this['_deflate'][_0x2904bb];this[_0x5395a0(0xb0)][_0x5395a0(0x1ec)](),this[_0x5395a0(0xb0)]=null,_0x4ed7f7&&_0x4ed7f7(new Error(_0x5395a0(0x161)));}}['acceptAsServer'](_0x2de21b){const _0x3ba29d=_0x5ec658,_0x44b2fd=this[_0x3ba29d(0x129)],_0x4e3fcb=_0x2de21b['find'](_0x322070=>!(_0x44b2fd[_0x3ba29d(0xf4)]===!0x1&&_0x322070[_0x3ba29d(0x132)]||_0x322070['server_max_window_bits']&&(_0x44b2fd[_0x3ba29d(0x200)]===!0x1||typeof _0x44b2fd[_0x3ba29d(0x200)]==_0x3ba29d(0xba)&&_0x44b2fd[_0x3ba29d(0x200)]>_0x322070['server_max_window_bits'])||typeof _0x44b2fd[_0x3ba29d(0x1cf)]==_0x3ba29d(0xba)&&!_0x322070[_0x3ba29d(0x170)]));if(!_0x4e3fcb)throw new Error(_0x3ba29d(0x17d));return _0x44b2fd[_0x3ba29d(0xf4)]&&(_0x4e3fcb[_0x3ba29d(0x132)]=!0x0),_0x44b2fd[_0x3ba29d(0xd2)]&&(_0x4e3fcb[_0x3ba29d(0x240)]=!0x0),typeof _0x44b2fd[_0x3ba29d(0x200)]==_0x3ba29d(0xba)&&(_0x4e3fcb['server_max_window_bits']=_0x44b2fd['serverMaxWindowBits']),typeof _0x44b2fd[_0x3ba29d(0x1cf)]=='number'?_0x4e3fcb['client_max_window_bits']=_0x44b2fd[_0x3ba29d(0x1cf)]:(_0x4e3fcb['client_max_window_bits']===!0x0||_0x44b2fd[_0x3ba29d(0x1cf)]===!0x1)&&delete _0x4e3fcb['client_max_window_bits'],_0x4e3fcb;}[_0x5ec658(0x242)](_0x4d7bde){const _0xc3398c=_0x5ec658,_0x2abb21=_0x4d7bde[0x0];if(this['_options'][_0xc3398c(0xd2)]===!0x1&&_0x2abb21[_0xc3398c(0x240)])throw new Error(_0xc3398c(0xde));if(!_0x2abb21['client_max_window_bits'])typeof this[_0xc3398c(0x129)][_0xc3398c(0x1cf)]==_0xc3398c(0xba)&&(_0x2abb21['client_max_window_bits']=this[_0xc3398c(0x129)][_0xc3398c(0x1cf)]);else{if(this[_0xc3398c(0x129)][_0xc3398c(0x1cf)]===!0x1||typeof this[_0xc3398c(0x129)]['clientMaxWindowBits']==_0xc3398c(0xba)&&_0x2abb21[_0xc3398c(0x170)]>this[_0xc3398c(0x129)][_0xc3398c(0x1cf)])throw new Error(_0xc3398c(0x1e6));}return _0x2abb21;}[_0x5ec658(0x109)](_0x321f75){const _0x30923d=_0x5ec658;return _0x321f75[_0x30923d(0x1d2)](_0x3511de=>{const _0x169520=_0x30923d;Object[_0x169520(0x133)](_0x3511de)[_0x169520(0x1d2)](_0x299f0a=>{const _0x11b18c=_0x169520;let _0x3d3c92=_0x3511de[_0x299f0a];if(_0x3d3c92[_0x11b18c(0xf1)]>0x1)throw new Error('Parameter\x20\x22'+_0x299f0a+_0x11b18c(0x128));if(_0x3d3c92=_0x3d3c92[0x0],_0x299f0a==='client_max_window_bits'){if(_0x3d3c92!==!0x0){const _0x1000ff=+_0x3d3c92;if(!Number[_0x11b18c(0xbb)](_0x1000ff)||_0x1000ff<0x8||_0x1000ff>0xf)throw new TypeError(_0x11b18c(0x14d)+_0x299f0a+'\x22:\x20'+_0x3d3c92);_0x3d3c92=_0x1000ff;}else{if(!this[_0x11b18c(0x22b)])throw new TypeError(_0x11b18c(0x14d)+_0x299f0a+_0x11b18c(0x106)+_0x3d3c92);}}else{if(_0x299f0a===_0x11b18c(0xd0)){const _0x9e4624=+_0x3d3c92;if(!Number[_0x11b18c(0xbb)](_0x9e4624)||_0x9e4624<0x8||_0x9e4624>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x299f0a+_0x11b18c(0x106)+_0x3d3c92);_0x3d3c92=_0x9e4624;}else{if(_0x299f0a===_0x11b18c(0x240)||_0x299f0a==='server_no_context_takeover'){if(_0x3d3c92!==!0x0)throw new TypeError(_0x11b18c(0x14d)+_0x299f0a+_0x11b18c(0x106)+_0x3d3c92);}else throw new Error(_0x11b18c(0x1f5)+_0x299f0a+'\x22');}}_0x3511de[_0x299f0a]=_0x3d3c92;});}),_0x321f75;}[_0x5ec658(0xbf)](_0x307336,_0x5d1a41,_0x51a493){const _0x59a0ec=_0x5ec658;_0x16aca2[_0x59a0ec(0x228)](_0x4e7693=>{const _0x3f0475=_0x59a0ec;this[_0x3f0475(0xf7)](_0x307336,_0x5d1a41,(_0xf5f9f9,_0x179fd4)=>{_0x4e7693(),_0x51a493(_0xf5f9f9,_0x179fd4);});});}[_0x5ec658(0x119)](_0x44e2ef,_0x54950f,_0x2dc37c){const _0x372edc=_0x5ec658;_0x16aca2[_0x372edc(0x228)](_0x19adf4=>{const _0x1dcb42=_0x372edc;this[_0x1dcb42(0x13a)](_0x44e2ef,_0x54950f,(_0xcda486,_0xaa3564)=>{_0x19adf4(),_0x2dc37c(_0xcda486,_0xaa3564);});});}[_0x5ec658(0xf7)](_0x4766f8,_0x47bc3c,_0x4faa0f){const _0x4fa6ea=_0x5ec658,_0x46f20c=this[_0x4fa6ea(0x22b)]?'client':'server';if(!this['_inflate']){const _0x2eadcf=_0x46f20c+'_max_window_bits',_0x25a0a7=typeof this[_0x4fa6ea(0xb8)][_0x2eadcf]!=_0x4fa6ea(0xba)?_0x41d944[_0x4fa6ea(0x186)]:this[_0x4fa6ea(0xb8)][_0x2eadcf];this[_0x4fa6ea(0x180)]=_0x41d944[_0x4fa6ea(0x19a)]({...this[_0x4fa6ea(0x129)][_0x4fa6ea(0x105)],'windowBits':_0x25a0a7}),this['_inflate'][_0x25c7fb]=this,this['_inflate'][_0x421098]=0x0,this[_0x4fa6ea(0x180)][_0x37783c]=[],this[_0x4fa6ea(0x180)]['on'](_0x4fa6ea(0x174),_0x539cb2),this[_0x4fa6ea(0x180)]['on']('data',_0x47339c);}this[_0x4fa6ea(0x180)][_0x2904bb]=_0x4faa0f,this['_inflate'][_0x4fa6ea(0x13e)](_0x4766f8),_0x47bc3c&&this[_0x4fa6ea(0x180)][_0x4fa6ea(0x13e)](_0x4cd9b6),this[_0x4fa6ea(0x180)]['flush'](()=>{const _0x53116c=_0x4fa6ea,_0x5201c4=this[_0x53116c(0x180)][_0x47cc00];if(_0x5201c4){this[_0x53116c(0x180)][_0x53116c(0x1ec)](),this[_0x53116c(0x180)]=null,_0x4faa0f(_0x5201c4);return;}const _0xd48a4a=_0x1f1163[_0x53116c(0x208)](this['_inflate'][_0x37783c],this[_0x53116c(0x180)][_0x421098]);this[_0x53116c(0x180)][_0x53116c(0xc3)]['endEmitted']?(this[_0x53116c(0x180)]['close'](),this[_0x53116c(0x180)]=null):(this[_0x53116c(0x180)][_0x421098]=0x0,this[_0x53116c(0x180)][_0x37783c]=[],_0x47bc3c&&this[_0x53116c(0xb8)][_0x46f20c+_0x53116c(0x20a)]&&this[_0x53116c(0x180)][_0x53116c(0x171)]()),_0x4faa0f(null,_0xd48a4a);});}[_0x5ec658(0x13a)](_0x25332e,_0x5d8945,_0x205e45){const _0x3a18f7=_0x5ec658,_0x24af6f=this[_0x3a18f7(0x22b)]?_0x3a18f7(0x1d4):'client';if(!this[_0x3a18f7(0xb0)]){const _0x25fc80=_0x24af6f+'_max_window_bits',_0xafea8e=typeof this['params'][_0x25fc80]!=_0x3a18f7(0xba)?_0x41d944[_0x3a18f7(0x186)]:this[_0x3a18f7(0xb8)][_0x25fc80];this['_deflate']=_0x41d944[_0x3a18f7(0x175)]({...this[_0x3a18f7(0x129)]['zlibDeflateOptions'],'windowBits':_0xafea8e}),this['_deflate'][_0x421098]=0x0,this[_0x3a18f7(0xb0)][_0x37783c]=[],this['_deflate']['on'](_0x3a18f7(0x135),_0x62b7ea);}this[_0x3a18f7(0xb0)][_0x2904bb]=_0x205e45,this[_0x3a18f7(0xb0)]['write'](_0x25332e),this[_0x3a18f7(0xb0)]['flush'](_0x41d944['Z_SYNC_FLUSH'],()=>{const _0x105a71=_0x3a18f7;if(!this['_deflate'])return;let _0x312cb1=_0x1f1163[_0x105a71(0x208)](this[_0x105a71(0xb0)][_0x37783c],this[_0x105a71(0xb0)][_0x421098]);_0x5d8945&&(_0x312cb1=new _0x1b1336(_0x312cb1[_0x105a71(0xc9)],_0x312cb1[_0x105a71(0x215)],_0x312cb1[_0x105a71(0xf1)]-0x4)),this['_deflate'][_0x2904bb]=null,this[_0x105a71(0xb0)][_0x421098]=0x0,this[_0x105a71(0xb0)][_0x37783c]=[],_0x5d8945&&this['params'][_0x24af6f+'_no_context_takeover']&&this[_0x105a71(0xb0)][_0x105a71(0x171)](),_0x205e45(null,_0x312cb1);});}}ve=_0x2f4ab4;function _0x62b7ea(_0x2dcc4f){const _0x7ec29=_0x5ec658;this[_0x37783c][_0x7ec29(0xf6)](_0x2dcc4f),this[_0x421098]+=_0x2dcc4f[_0x7ec29(0xf1)];}function _0x47339c(_0x44bd1f){const _0x46678d=_0x5ec658;if(this[_0x421098]+=_0x44bd1f[_0x46678d(0xf1)],this[_0x25c7fb][_0x46678d(0x142)]<0x1||this[_0x421098]<=this[_0x25c7fb]['_maxPayload']){this[_0x37783c][_0x46678d(0xf6)](_0x44bd1f);return;}this[_0x47cc00]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x47cc00][_0x46678d(0x234)]=_0x46678d(0x1c4),this[_0x47cc00][_0x742d3c]=0x3f1,this[_0x46678d(0x1fe)]('data',_0x47339c),this[_0x46678d(0x171)]();}function _0x539cb2(_0x5234ae){const _0x45621b=_0x5ec658;if(this[_0x25c7fb][_0x45621b(0x180)]=null,this[_0x47cc00]){this[_0x2904bb](this[_0x47cc00]);return;}_0x5234ae[_0x742d3c]=0x3ef,this[_0x2904bb](_0x5234ae);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x43e910(0xa9)](Object['defineProperty']({'__proto__':null,'default':Ht},Symbol[_0x43e910(0x123)],{'value':'Module'})),Yt=ut(zt);var Qe;function ne(){const _0x20035f=_0x43e910;if(Qe)return re[_0x20035f(0x21d)];Qe=0x1;const {isUtf8:_0x4de332}=_0x500487,{hasBlob:_0x2a2fd7}=V(),_0x26bbac=[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 _0x3f9c96(_0x495b04){return _0x495b04>=0x3e8&&_0x495b04<=0x3f6&&_0x495b04!==0x3ec&&_0x495b04!==0x3ed&&_0x495b04!==0x3ee||_0x495b04>=0xbb8&&_0x495b04<=0x1387;}function _0x1bc157(_0x1d2b72){const _0x3bbfcf=_0x20035f,_0x3ae9e6=_0x1d2b72[_0x3bbfcf(0xf1)];let _0x5159fb=0x0;for(;_0x5159fb<_0x3ae9e6;)if((_0x1d2b72[_0x5159fb]&0x80)===0x0)_0x5159fb++;else{if((_0x1d2b72[_0x5159fb]&0xe0)===0xc0){if(_0x5159fb+0x1===_0x3ae9e6||(_0x1d2b72[_0x5159fb+0x1]&0xc0)!==0x80||(_0x1d2b72[_0x5159fb]&0xfe)===0xc0)return!0x1;_0x5159fb+=0x2;}else{if((_0x1d2b72[_0x5159fb]&0xf0)===0xe0){if(_0x5159fb+0x2>=_0x3ae9e6||(_0x1d2b72[_0x5159fb+0x1]&0xc0)!==0x80||(_0x1d2b72[_0x5159fb+0x2]&0xc0)!==0x80||_0x1d2b72[_0x5159fb]===0xe0&&(_0x1d2b72[_0x5159fb+0x1]&0xe0)===0x80||_0x1d2b72[_0x5159fb]===0xed&&(_0x1d2b72[_0x5159fb+0x1]&0xe0)===0xa0)return!0x1;_0x5159fb+=0x3;}else{if((_0x1d2b72[_0x5159fb]&0xf8)===0xf0){if(_0x5159fb+0x3>=_0x3ae9e6||(_0x1d2b72[_0x5159fb+0x1]&0xc0)!==0x80||(_0x1d2b72[_0x5159fb+0x2]&0xc0)!==0x80||(_0x1d2b72[_0x5159fb+0x3]&0xc0)!==0x80||_0x1d2b72[_0x5159fb]===0xf0&&(_0x1d2b72[_0x5159fb+0x1]&0xf0)===0x80||_0x1d2b72[_0x5159fb]===0xf4&&_0x1d2b72[_0x5159fb+0x1]>0x8f||_0x1d2b72[_0x5159fb]>0xf4)return!0x1;_0x5159fb+=0x4;}else return!0x1;}}}return!0x0;}function _0x49426b(_0x26b767){const _0x1f0da2=_0x20035f;return _0x2a2fd7&&typeof _0x26b767==_0x1f0da2(0xb5)&&typeof _0x26b767[_0x1f0da2(0x1ef)]==_0x1f0da2(0x1a5)&&typeof _0x26b767['type']==_0x1f0da2(0xe2)&&typeof _0x26b767[_0x1f0da2(0xa0)]=='function'&&(_0x26b767[Symbol['toStringTag']]==='Blob'||_0x26b767[Symbol[_0x1f0da2(0x123)]]===_0x1f0da2(0x184));}if(re['exports']={'isBlob':_0x49426b,'isValidStatusCode':_0x3f9c96,'isValidUTF8':_0x1bc157,'tokenChars':_0x26bbac},_0x4de332)re[_0x20035f(0x21d)][_0x20035f(0x1b8)]=function(_0x27f63a){const _0x27ce6a=_0x20035f;return _0x27f63a[_0x27ce6a(0xf1)]<0x18?_0x1bc157(_0x27f63a):_0x4de332(_0x27f63a);};else{if(!process[_0x20035f(0x11b)]['WS_NO_UTF_8_VALIDATE'])try{const _0x5523eb=Yt;re[_0x20035f(0x21d)]['isValidUTF8']=function(_0x6a2a26){const _0x48f236=_0x20035f;return _0x6a2a26[_0x48f236(0xf1)]<0x20?_0x1bc157(_0x6a2a26):_0x5523eb(_0x6a2a26);};}catch{}}return re[_0x20035f(0x21d)];}var Se,Je;function dt(){const _0x55bb02=_0x43e910;if(Je)return Se;Je=0x1;const {Writable:_0x3a2768}=_0x2e27c2,_0xeb04e1=he(),{BINARY_TYPES:_0x46fee4,EMPTY_BUFFER:_0x4290c6,kStatusCode:_0x1389e4,kWebSocket:_0x11977b}=V(),{concat:_0x4f400b,toArrayBuffer:_0x5c70c6,unmask:_0x391815}=ce(),{isValidStatusCode:_0x2ac50d,isValidUTF8:_0x21604c}=ne(),_0x43b38a=Buffer[Symbol[_0x55bb02(0x155)]],_0xe15be=0x0,_0x1221c0=0x1,_0x15b802=0x2,_0x2a139e=0x3,_0x17f7b7=0x4,_0x16855c=0x5,_0x5bb216=0x6;class _0x2911eb extends _0x3a2768{constructor(_0x258e6b={}){const _0x57e500=_0x55bb02;super(),this[_0x57e500(0x126)]=_0x258e6b[_0x57e500(0x13b)]!==void 0x0?_0x258e6b[_0x57e500(0x13b)]:!0x0,this[_0x57e500(0x139)]=_0x258e6b[_0x57e500(0x23d)]||_0x46fee4[0x0],this[_0x57e500(0xa7)]=_0x258e6b[_0x57e500(0x159)]||{},this['_isServer']=!!_0x258e6b['isServer'],this[_0x57e500(0x142)]=_0x258e6b[_0x57e500(0x1f2)]|0x0,this[_0x57e500(0xd3)]=!!_0x258e6b[_0x57e500(0x10c)],this[_0x11977b]=void 0x0,this[_0x57e500(0x22e)]=0x0,this[_0x57e500(0x223)]=[],this[_0x57e500(0x1c6)]=!0x1,this['_payloadLength']=0x0,this[_0x57e500(0xe5)]=void 0x0,this['_fragmented']=0x0,this[_0x57e500(0x154)]=!0x1,this[_0x57e500(0x146)]=!0x1,this['_opcode']=0x0,this[_0x57e500(0xd7)]=0x0,this[_0x57e500(0xff)]=0x0,this[_0x57e500(0x163)]=[],this[_0x57e500(0x13f)]=!0x1,this[_0x57e500(0x1da)]=!0x1,this['_state']=_0xe15be;}['_write'](_0x3794f5,_0x54386f,_0x4c0dfa){const _0xa56d05=_0x55bb02;if(this[_0xa56d05(0x1ac)]===0x8&&this['_state']==_0xe15be)return _0x4c0dfa();this[_0xa56d05(0x22e)]+=_0x3794f5[_0xa56d05(0xf1)],this['_buffers'][_0xa56d05(0xf6)](_0x3794f5),this[_0xa56d05(0x202)](_0x4c0dfa);}['consume'](_0xe9dd){const _0x98ea3c=_0x55bb02;if(this['_bufferedBytes']-=_0xe9dd,_0xe9dd===this[_0x98ea3c(0x223)][0x0][_0x98ea3c(0xf1)])return this[_0x98ea3c(0x223)][_0x98ea3c(0x217)]();if(_0xe9dd<this[_0x98ea3c(0x223)][0x0][_0x98ea3c(0xf1)]){const _0x31cab6=this['_buffers'][0x0];return this[_0x98ea3c(0x223)][0x0]=new _0x43b38a(_0x31cab6[_0x98ea3c(0xc9)],_0x31cab6[_0x98ea3c(0x215)]+_0xe9dd,_0x31cab6[_0x98ea3c(0xf1)]-_0xe9dd),new _0x43b38a(_0x31cab6[_0x98ea3c(0xc9)],_0x31cab6['byteOffset'],_0xe9dd);}const _0x1bf527=Buffer['allocUnsafe'](_0xe9dd);do{const _0x3bebb3=this[_0x98ea3c(0x223)][0x0],_0x257863=_0x1bf527[_0x98ea3c(0xf1)]-_0xe9dd;_0xe9dd>=_0x3bebb3[_0x98ea3c(0xf1)]?_0x1bf527[_0x98ea3c(0x12b)](this[_0x98ea3c(0x223)][_0x98ea3c(0x217)](),_0x257863):(_0x1bf527[_0x98ea3c(0x12b)](new Uint8Array(_0x3bebb3[_0x98ea3c(0xc9)],_0x3bebb3['byteOffset'],_0xe9dd),_0x257863),this[_0x98ea3c(0x223)][0x0]=new _0x43b38a(_0x3bebb3[_0x98ea3c(0xc9)],_0x3bebb3[_0x98ea3c(0x215)]+_0xe9dd,_0x3bebb3[_0x98ea3c(0xf1)]-_0xe9dd)),_0xe9dd-=_0x3bebb3[_0x98ea3c(0xf1)];}while(_0xe9dd>0x0);return _0x1bf527;}[_0x55bb02(0x202)](_0x2f9924){const _0x4f9602=_0x55bb02;this[_0x4f9602(0x1da)]=!0x0;do switch(this[_0x4f9602(0xfc)]){case _0xe15be:this['getInfo'](_0x2f9924);break;case _0x1221c0:this[_0x4f9602(0x10a)](_0x2f9924);break;case _0x15b802:this[_0x4f9602(0x141)](_0x2f9924);break;case _0x2a139e:this['getMask']();break;case _0x17f7b7:this[_0x4f9602(0xaf)](_0x2f9924);break;case _0x16855c:case _0x5bb216:this[_0x4f9602(0x1da)]=!0x1;return;}while(this[_0x4f9602(0x1da)]);this['_errored']||_0x2f9924();}[_0x55bb02(0x13d)](_0x246333){const _0x1825b1=_0x55bb02;if(this[_0x1825b1(0x22e)]<0x2){this[_0x1825b1(0x1da)]=!0x1;return;}const _0x3f3b3c=this[_0x1825b1(0x1dd)](0x2);if((_0x3f3b3c[0x0]&0x30)!==0x0){const _0x5c7b75=this[_0x1825b1(0x18c)](RangeError,_0x1825b1(0x20b),!0x0,0x3ea,_0x1825b1(0x1ae));_0x246333(_0x5c7b75);return;}const _0x2d415a=(_0x3f3b3c[0x0]&0x40)===0x40;if(_0x2d415a&&!this[_0x1825b1(0xa7)][_0xeb04e1[_0x1825b1(0x219)]]){const _0x54efef=this[_0x1825b1(0x18c)](RangeError,_0x1825b1(0xa8),!0x0,0x3ea,_0x1825b1(0x19b));_0x246333(_0x54efef);return;}if(this[_0x1825b1(0x146)]=(_0x3f3b3c[0x0]&0x80)===0x80,this['_opcode']=_0x3f3b3c[0x0]&0xf,this[_0x1825b1(0x1e8)]=_0x3f3b3c[0x1]&0x7f,this[_0x1825b1(0x1ac)]===0x0){if(_0x2d415a){const _0x46d5c1=this[_0x1825b1(0x18c)](RangeError,_0x1825b1(0xa8),!0x0,0x3ea,_0x1825b1(0x19b));_0x246333(_0x46d5c1);return;}if(!this[_0x1825b1(0x197)]){const _0x334231=this[_0x1825b1(0x18c)](RangeError,_0x1825b1(0x23b),!0x0,0x3ea,_0x1825b1(0xe3));_0x246333(_0x334231);return;}this['_opcode']=this['_fragmented'];}else{if(this[_0x1825b1(0x1ac)]===0x1||this['_opcode']===0x2){if(this[_0x1825b1(0x197)]){const _0x400ced=this[_0x1825b1(0x18c)](RangeError,_0x1825b1(0x1ba)+this[_0x1825b1(0x1ac)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x246333(_0x400ced);return;}this['_compressed']=_0x2d415a;}else{if(this['_opcode']>0x7&&this['_opcode']<0xb){if(!this['_fin']){const _0x146ec6=this[_0x1825b1(0x18c)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x1825b1(0x1de));_0x246333(_0x146ec6);return;}if(_0x2d415a){const _0x2fc946=this[_0x1825b1(0x18c)](RangeError,_0x1825b1(0xa8),!0x0,0x3ea,_0x1825b1(0x19b));_0x246333(_0x2fc946);return;}if(this['_payloadLength']>0x7d||this[_0x1825b1(0x1ac)]===0x8&&this[_0x1825b1(0x1e8)]===0x1){const _0x4d9e12=this['createError'](RangeError,_0x1825b1(0xa2)+this[_0x1825b1(0x1e8)],!0x0,0x3ea,_0x1825b1(0x1b9));_0x246333(_0x4d9e12);return;}}else{const _0x1949b5=this[_0x1825b1(0x18c)](RangeError,_0x1825b1(0x1ba)+this['_opcode'],!0x0,0x3ea,_0x1825b1(0xe3));_0x246333(_0x1949b5);return;}}}if(!this['_fin']&&!this['_fragmented']&&(this['_fragmented']=this[_0x1825b1(0x1ac)]),this[_0x1825b1(0x154)]=(_0x3f3b3c[0x1]&0x80)===0x80,this[_0x1825b1(0x22b)]){if(!this[_0x1825b1(0x154)]){const _0x2e149c=this[_0x1825b1(0x18c)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x1825b1(0x1b7));_0x246333(_0x2e149c);return;}}else{if(this['_masked']){const _0x4b9fa8=this['createError'](RangeError,_0x1825b1(0x1c5),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x246333(_0x4b9fa8);return;}}this[_0x1825b1(0x1e8)]===0x7e?this[_0x1825b1(0xfc)]=_0x1221c0:this['_payloadLength']===0x7f?this[_0x1825b1(0xfc)]=_0x15b802:this['haveLength'](_0x246333);}[_0x55bb02(0x10a)](_0x206a29){const _0x4a30c8=_0x55bb02;if(this[_0x4a30c8(0x22e)]<0x2){this[_0x4a30c8(0x1da)]=!0x1;return;}this[_0x4a30c8(0x1e8)]=this[_0x4a30c8(0x1dd)](0x2)[_0x4a30c8(0xf8)](0x0),this[_0x4a30c8(0x1a9)](_0x206a29);}[_0x55bb02(0x141)](_0x226bf7){const _0x257ce2=_0x55bb02;if(this['_bufferedBytes']<0x8){this[_0x257ce2(0x1da)]=!0x1;return;}const _0x4d0599=this['consume'](0x8),_0x2bb140=_0x4d0599[_0x257ce2(0x18a)](0x0);if(_0x2bb140>Math[_0x257ce2(0x201)](0x2,0x15)-0x1){const _0x2d6c88=this[_0x257ce2(0x18c)](RangeError,_0x257ce2(0xee),!0x1,0x3f1,_0x257ce2(0xac));_0x226bf7(_0x2d6c88);return;}this[_0x257ce2(0x1e8)]=_0x2bb140*Math[_0x257ce2(0x201)](0x2,0x20)+_0x4d0599[_0x257ce2(0x18a)](0x4),this[_0x257ce2(0x1a9)](_0x226bf7);}[_0x55bb02(0x1a9)](_0x59d3c0){const _0x192696=_0x55bb02;if(this['_payloadLength']&&this['_opcode']<0x8&&(this[_0x192696(0xd7)]+=this[_0x192696(0x1e8)],this[_0x192696(0xd7)]>this[_0x192696(0x142)]&&this[_0x192696(0x142)]>0x0)){const _0x19c4ba=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x192696(0x1c4));_0x59d3c0(_0x19c4ba);return;}this[_0x192696(0x154)]?this[_0x192696(0xfc)]=_0x2a139e:this[_0x192696(0xfc)]=_0x17f7b7;}[_0x55bb02(0xef)](){const _0x36a1df=_0x55bb02;if(this[_0x36a1df(0x22e)]<0x4){this[_0x36a1df(0x1da)]=!0x1;return;}this[_0x36a1df(0xe5)]=this[_0x36a1df(0x1dd)](0x4),this[_0x36a1df(0xfc)]=_0x17f7b7;}['getData'](_0x765f59){const _0x162c28=_0x55bb02;let _0x2cbba4=_0x4290c6;if(this[_0x162c28(0x1e8)]){if(this[_0x162c28(0x22e)]<this[_0x162c28(0x1e8)]){this['_loop']=!0x1;return;}_0x2cbba4=this['consume'](this[_0x162c28(0x1e8)]),this[_0x162c28(0x154)]&&(this[_0x162c28(0xe5)][0x0]|this[_0x162c28(0xe5)][0x1]|this[_0x162c28(0xe5)][0x2]|this[_0x162c28(0xe5)][0x3])!==0x0&&_0x391815(_0x2cbba4,this['_mask']);}if(this[_0x162c28(0x1ac)]>0x7){this[_0x162c28(0x11f)](_0x2cbba4,_0x765f59);return;}if(this['_compressed']){this['_state']=_0x16855c,this[_0x162c28(0xbf)](_0x2cbba4,_0x765f59);return;}_0x2cbba4[_0x162c28(0xf1)]&&(this[_0x162c28(0xff)]=this[_0x162c28(0xd7)],this[_0x162c28(0x163)][_0x162c28(0xf6)](_0x2cbba4)),this['dataMessage'](_0x765f59);}[_0x55bb02(0xbf)](_0x4c4fa7,_0x11ac03){const _0x4ea993=_0x55bb02;this['_extensions'][_0xeb04e1[_0x4ea993(0x219)]][_0x4ea993(0xbf)](_0x4c4fa7,this[_0x4ea993(0x146)],(_0x3c4e31,_0x547194)=>{const _0x290aad=_0x4ea993;if(_0x3c4e31)return _0x11ac03(_0x3c4e31);if(_0x547194[_0x290aad(0xf1)]){if(this['_messageLength']+=_0x547194[_0x290aad(0xf1)],this[_0x290aad(0xff)]>this[_0x290aad(0x142)]&&this[_0x290aad(0x142)]>0x0){const _0x544df2=this[_0x290aad(0x18c)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x290aad(0x1c4));_0x11ac03(_0x544df2);return;}this[_0x290aad(0x163)]['push'](_0x547194);}this[_0x290aad(0x172)](_0x11ac03),this[_0x290aad(0xfc)]===_0xe15be&&this['startLoop'](_0x11ac03);});}['dataMessage'](_0x4b40b3){const _0x5c2f87=_0x55bb02;if(!this[_0x5c2f87(0x146)]){this[_0x5c2f87(0xfc)]=_0xe15be;return;}const _0x10e5a5=this[_0x5c2f87(0xff)],_0x3c65ed=this[_0x5c2f87(0x163)];if(this['_totalPayloadLength']=0x0,this[_0x5c2f87(0xff)]=0x0,this[_0x5c2f87(0x197)]=0x0,this[_0x5c2f87(0x163)]=[],this[_0x5c2f87(0x1ac)]===0x2){let _0x20c2b7;this['_binaryType']===_0x5c2f87(0x192)?_0x20c2b7=_0x4f400b(_0x3c65ed,_0x10e5a5):this[_0x5c2f87(0x139)]==='arraybuffer'?_0x20c2b7=_0x5c70c6(_0x4f400b(_0x3c65ed,_0x10e5a5)):this['_binaryType']===_0x5c2f87(0x173)?_0x20c2b7=new Blob(_0x3c65ed):_0x20c2b7=_0x3c65ed,this['_allowSynchronousEvents']?(this[_0x5c2f87(0x1b6)](_0x5c2f87(0x220),_0x20c2b7,!0x0),this['_state']=_0xe15be):(this[_0x5c2f87(0xfc)]=_0x5bb216,setImmediate(()=>{const _0x4bed6d=_0x5c2f87;this[_0x4bed6d(0x1b6)](_0x4bed6d(0x220),_0x20c2b7,!0x0),this[_0x4bed6d(0xfc)]=_0xe15be,this['startLoop'](_0x4b40b3);}));}else{const _0x4212ab=_0x4f400b(_0x3c65ed,_0x10e5a5);if(!this[_0x5c2f87(0xd3)]&&!_0x21604c(_0x4212ab)){const _0x3fc430=this[_0x5c2f87(0x18c)](Error,_0x5c2f87(0x150),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x4b40b3(_0x3fc430);return;}this[_0x5c2f87(0xfc)]===_0x16855c||this[_0x5c2f87(0x126)]?(this['emit']('message',_0x4212ab,!0x1),this[_0x5c2f87(0xfc)]=_0xe15be):(this['_state']=_0x5bb216,setImmediate(()=>{const _0x2b30cd=_0x5c2f87;this['emit'](_0x2b30cd(0x220),_0x4212ab,!0x1),this[_0x2b30cd(0xfc)]=_0xe15be,this[_0x2b30cd(0x202)](_0x4b40b3);}));}}['controlMessage'](_0x2586f2,_0x184134){const _0x1806bb=_0x55bb02;if(this['_opcode']===0x8){if(_0x2586f2['length']===0x0)this[_0x1806bb(0x1da)]=!0x1,this[_0x1806bb(0x1b6)](_0x1806bb(0xbc),0x3ed,_0x4290c6),this[_0x1806bb(0x1c0)]();else{const _0x366272=_0x2586f2['readUInt16BE'](0x0);if(!_0x2ac50d(_0x366272)){const _0x28e540=this[_0x1806bb(0x18c)](RangeError,'invalid\x20status\x20code\x20'+_0x366272,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x184134(_0x28e540);return;}const _0x404cab=new _0x43b38a(_0x2586f2[_0x1806bb(0xc9)],_0x2586f2[_0x1806bb(0x215)]+0x2,_0x2586f2[_0x1806bb(0xf1)]-0x2);if(!this[_0x1806bb(0xd3)]&&!_0x21604c(_0x404cab)){const _0x4381d6=this[_0x1806bb(0x18c)](Error,_0x1806bb(0x150),!0x0,0x3ef,_0x1806bb(0x199));_0x184134(_0x4381d6);return;}this['_loop']=!0x1,this[_0x1806bb(0x1b6)](_0x1806bb(0xbc),_0x366272,_0x404cab),this['end']();}this[_0x1806bb(0xfc)]=_0xe15be;return;}this[_0x1806bb(0x126)]?(this[_0x1806bb(0x1b6)](this[_0x1806bb(0x1ac)]===0x9?_0x1806bb(0x1cb):_0x1806bb(0x158),_0x2586f2),this[_0x1806bb(0xfc)]=_0xe15be):(this[_0x1806bb(0xfc)]=_0x5bb216,setImmediate(()=>{const _0x192daa=_0x1806bb;this[_0x192daa(0x1b6)](this[_0x192daa(0x1ac)]===0x9?'ping':_0x192daa(0x158),_0x2586f2),this[_0x192daa(0xfc)]=_0xe15be,this[_0x192daa(0x202)](_0x184134);}));}[_0x55bb02(0x18c)](_0x1220c0,_0x6e9bf4,_0x50b923,_0x5f2952,_0x394014){const _0x83c65b=_0x55bb02;this[_0x83c65b(0x1da)]=!0x1,this['_errored']=!0x0;const _0x3dee7e=new _0x1220c0(_0x50b923?_0x83c65b(0xc6)+_0x6e9bf4:_0x6e9bf4);return Error[_0x83c65b(0x124)](_0x3dee7e,this[_0x83c65b(0x18c)]),_0x3dee7e[_0x83c65b(0x234)]=_0x394014,_0x3dee7e[_0x1389e4]=_0x5f2952,_0x3dee7e;}}return Se=_0x2911eb,Se;}var Ee,et;function _t(){const _0x487c12=_0x43e910;if(et)return Ee;et=0x1;const {Duplex:_0x52117b}=_0x2e27c2,{randomFillSync:_0x5b5326}=_0x303447,_0x32eb1a=he(),{EMPTY_BUFFER:_0x2876c5,kWebSocket:_0x48f4bc,NOOP:_0x875d12}=V(),{isBlob:_0x34cf73,isValidStatusCode:_0x3282e1}=ne(),{mask:_0x29f128,toBuffer:_0xd88888}=ce(),_0x43b4e0=Symbol(_0x487c12(0x12a)),_0x5dfce3=Buffer['alloc'](0x4),_0x705905=0x8*0x400;let _0x102280,_0x4a19ec=_0x705905;const _0x5de524=0x0,_0x4e089c=0x1,_0x24c28e=0x2;class _0x5a844b{constructor(_0x1c4f12,_0x4aa0f5,_0x593276){const _0x3e923e=_0x487c12;this[_0x3e923e(0xa7)]=_0x4aa0f5||{},_0x593276&&(this[_0x3e923e(0xbd)]=_0x593276,this[_0x3e923e(0x241)]=Buffer[_0x3e923e(0x9c)](0x4)),this['_socket']=_0x1c4f12,this[_0x3e923e(0x1db)]=!0x0,this['_compress']=!0x1,this['_bufferedBytes']=0x0,this[_0x3e923e(0x14b)]=[],this[_0x3e923e(0xfc)]=_0x5de524,this[_0x3e923e(0x164)]=_0x875d12,this[_0x48f4bc]=void 0x0;}static[_0x487c12(0x231)](_0x533722,_0x17f25b){const _0x14abcf=_0x487c12;let _0x28a328,_0x163766=!0x1,_0x326d33=0x2,_0x5c61fc=!0x1;_0x17f25b[_0x14abcf(0x147)]&&(_0x28a328=_0x17f25b[_0x14abcf(0x190)]||_0x5dfce3,_0x17f25b[_0x14abcf(0xf5)]?_0x17f25b[_0x14abcf(0xf5)](_0x28a328):(_0x4a19ec===_0x705905&&(_0x102280===void 0x0&&(_0x102280=Buffer[_0x14abcf(0x9c)](_0x705905)),_0x5b5326(_0x102280,0x0,_0x705905),_0x4a19ec=0x0),_0x28a328[0x0]=_0x102280[_0x4a19ec++],_0x28a328[0x1]=_0x102280[_0x4a19ec++],_0x28a328[0x2]=_0x102280[_0x4a19ec++],_0x28a328[0x3]=_0x102280[_0x4a19ec++]),_0x5c61fc=(_0x28a328[0x0]|_0x28a328[0x1]|_0x28a328[0x2]|_0x28a328[0x3])===0x0,_0x326d33=0x6);let _0x5696c1;typeof _0x533722==_0x14abcf(0xe2)?(!_0x17f25b['mask']||_0x5c61fc)&&_0x17f25b[_0x43b4e0]!==void 0x0?_0x5696c1=_0x17f25b[_0x43b4e0]:(_0x533722=Buffer[_0x14abcf(0x15e)](_0x533722),_0x5696c1=_0x533722['length']):(_0x5696c1=_0x533722[_0x14abcf(0xf1)],_0x163766=_0x17f25b[_0x14abcf(0x147)]&&_0x17f25b[_0x14abcf(0x11e)]&&!_0x5c61fc);let _0x63f12b=_0x5696c1;_0x5696c1>=0x10000?(_0x326d33+=0x8,_0x63f12b=0x7f):_0x5696c1>0x7d&&(_0x326d33+=0x2,_0x63f12b=0x7e);const _0x335864=Buffer[_0x14abcf(0x1d9)](_0x163766?_0x5696c1+_0x326d33:_0x326d33);return _0x335864[0x0]=_0x17f25b[_0x14abcf(0x22a)]?_0x17f25b[_0x14abcf(0x157)]|0x80:_0x17f25b[_0x14abcf(0x157)],_0x17f25b['rsv1']&&(_0x335864[0x0]|=0x40),_0x335864[0x1]=_0x63f12b,_0x63f12b===0x7e?_0x335864[_0x14abcf(0x144)](_0x5696c1,0x2):_0x63f12b===0x7f&&(_0x335864[0x2]=_0x335864[0x3]=0x0,_0x335864[_0x14abcf(0xc8)](_0x5696c1,0x4,0x6)),_0x17f25b[_0x14abcf(0x147)]?(_0x335864[0x1]|=0x80,_0x335864[_0x326d33-0x4]=_0x28a328[0x0],_0x335864[_0x326d33-0x3]=_0x28a328[0x1],_0x335864[_0x326d33-0x2]=_0x28a328[0x2],_0x335864[_0x326d33-0x1]=_0x28a328[0x3],_0x5c61fc?[_0x335864,_0x533722]:_0x163766?(_0x29f128(_0x533722,_0x28a328,_0x335864,_0x326d33,_0x5696c1),[_0x335864]):(_0x29f128(_0x533722,_0x28a328,_0x533722,0x0,_0x5696c1),[_0x335864,_0x533722])):[_0x335864,_0x533722];}['close'](_0x3ea033,_0x30e32a,_0x24cb19,_0x8720cd){const _0x27ce14=_0x487c12;let _0x2e5e86;if(_0x3ea033===void 0x0)_0x2e5e86=_0x2876c5;else{if(typeof _0x3ea033!=_0x27ce14(0xba)||!_0x3282e1(_0x3ea033))throw new TypeError(_0x27ce14(0x1d1));if(_0x30e32a===void 0x0||!_0x30e32a[_0x27ce14(0xf1)])_0x2e5e86=Buffer[_0x27ce14(0x1d9)](0x2),_0x2e5e86[_0x27ce14(0x144)](_0x3ea033,0x0);else{const _0x7b9fa=Buffer[_0x27ce14(0x156)](_0x30e32a);if(_0x7b9fa>0x7b)throw new RangeError(_0x27ce14(0xc1));_0x2e5e86=Buffer[_0x27ce14(0x1d9)](0x2+_0x7b9fa),_0x2e5e86[_0x27ce14(0x144)](_0x3ea033,0x0),typeof _0x30e32a==_0x27ce14(0xe2)?_0x2e5e86['write'](_0x30e32a,0x2):_0x2e5e86['set'](_0x30e32a,0x2);}}const _0x464f34={[_0x43b4e0]:_0x2e5e86['length'],'fin':!0x0,'generateMask':this[_0x27ce14(0xbd)],'mask':_0x24cb19,'maskBuffer':this[_0x27ce14(0x241)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x27ce14(0xfc)]!==_0x5de524?this[_0x27ce14(0xcc)]([this['dispatch'],_0x2e5e86,!0x1,_0x464f34,_0x8720cd]):this[_0x27ce14(0xb9)](_0x5a844b[_0x27ce14(0x231)](_0x2e5e86,_0x464f34),_0x8720cd);}[_0x487c12(0x1cb)](_0x4ce37d,_0x3b66e4,_0x2884b5){const _0x3eb4b0=_0x487c12;let _0x3422a3,_0x242b8c;if(typeof _0x4ce37d==_0x3eb4b0(0xe2)?(_0x3422a3=Buffer[_0x3eb4b0(0x156)](_0x4ce37d),_0x242b8c=!0x1):_0x34cf73(_0x4ce37d)?(_0x3422a3=_0x4ce37d[_0x3eb4b0(0x18f)],_0x242b8c=!0x1):(_0x4ce37d=_0xd88888(_0x4ce37d),_0x3422a3=_0x4ce37d['length'],_0x242b8c=_0xd88888[_0x3eb4b0(0x11e)]),_0x3422a3>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x2c8d4b={[_0x43b4e0]:_0x3422a3,'fin':!0x0,'generateMask':this[_0x3eb4b0(0xbd)],'mask':_0x3b66e4,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x242b8c,'rsv1':!0x1};_0x34cf73(_0x4ce37d)?this['_state']!==_0x5de524?this[_0x3eb4b0(0xcc)]([this[_0x3eb4b0(0xcb)],_0x4ce37d,!0x1,_0x2c8d4b,_0x2884b5]):this['getBlobData'](_0x4ce37d,!0x1,_0x2c8d4b,_0x2884b5):this[_0x3eb4b0(0xfc)]!==_0x5de524?this[_0x3eb4b0(0xcc)]([this[_0x3eb4b0(0x137)],_0x4ce37d,!0x1,_0x2c8d4b,_0x2884b5]):this[_0x3eb4b0(0xb9)](_0x5a844b[_0x3eb4b0(0x231)](_0x4ce37d,_0x2c8d4b),_0x2884b5);}[_0x487c12(0x158)](_0x4d4df9,_0x577712,_0x574420){const _0x1eb065=_0x487c12;let _0x57211e,_0x494c4c;if(typeof _0x4d4df9=='string'?(_0x57211e=Buffer[_0x1eb065(0x156)](_0x4d4df9),_0x494c4c=!0x1):_0x34cf73(_0x4d4df9)?(_0x57211e=_0x4d4df9[_0x1eb065(0x18f)],_0x494c4c=!0x1):(_0x4d4df9=_0xd88888(_0x4d4df9),_0x57211e=_0x4d4df9[_0x1eb065(0xf1)],_0x494c4c=_0xd88888['readOnly']),_0x57211e>0x7d)throw new RangeError(_0x1eb065(0x1e0));const _0x2d9d14={[_0x43b4e0]:_0x57211e,'fin':!0x0,'generateMask':this[_0x1eb065(0xbd)],'mask':_0x577712,'maskBuffer':this[_0x1eb065(0x241)],'opcode':0xa,'readOnly':_0x494c4c,'rsv1':!0x1};_0x34cf73(_0x4d4df9)?this['_state']!==_0x5de524?this[_0x1eb065(0xcc)]([this[_0x1eb065(0xcb)],_0x4d4df9,!0x1,_0x2d9d14,_0x574420]):this[_0x1eb065(0xcb)](_0x4d4df9,!0x1,_0x2d9d14,_0x574420):this[_0x1eb065(0xfc)]!==_0x5de524?this['enqueue']([this[_0x1eb065(0x137)],_0x4d4df9,!0x1,_0x2d9d14,_0x574420]):this[_0x1eb065(0xb9)](_0x5a844b[_0x1eb065(0x231)](_0x4d4df9,_0x2d9d14),_0x574420);}['send'](_0x3f77b9,_0x27219e,_0x2df509){const _0x1c758f=_0x487c12,_0x4d447f=this[_0x1c758f(0xa7)][_0x32eb1a[_0x1c758f(0x219)]];let _0xc9f20d=_0x27219e[_0x1c758f(0xab)]?0x2:0x1,_0x435a8f=_0x27219e['compress'],_0x6a81f0,_0x27e84a;typeof _0x3f77b9=='string'?(_0x6a81f0=Buffer[_0x1c758f(0x156)](_0x3f77b9),_0x27e84a=!0x1):_0x34cf73(_0x3f77b9)?(_0x6a81f0=_0x3f77b9[_0x1c758f(0x18f)],_0x27e84a=!0x1):(_0x3f77b9=_0xd88888(_0x3f77b9),_0x6a81f0=_0x3f77b9[_0x1c758f(0xf1)],_0x27e84a=_0xd88888[_0x1c758f(0x11e)]),this[_0x1c758f(0x1db)]?(this[_0x1c758f(0x1db)]=!0x1,_0x435a8f&&_0x4d447f&&_0x4d447f[_0x1c758f(0xb8)][_0x4d447f[_0x1c758f(0x22b)]?_0x1c758f(0x132):_0x1c758f(0x240)]&&(_0x435a8f=_0x6a81f0>=_0x4d447f[_0x1c758f(0x18e)]),this[_0x1c758f(0x13a)]=_0x435a8f):(_0x435a8f=!0x1,_0xc9f20d=0x0),_0x27219e[_0x1c758f(0x22a)]&&(this['_firstFragment']=!0x0);const _0x250c4d={[_0x43b4e0]:_0x6a81f0,'fin':_0x27219e[_0x1c758f(0x22a)],'generateMask':this[_0x1c758f(0xbd)],'mask':_0x27219e[_0x1c758f(0x147)],'maskBuffer':this[_0x1c758f(0x241)],'opcode':_0xc9f20d,'readOnly':_0x27e84a,'rsv1':_0x435a8f};_0x34cf73(_0x3f77b9)?this['_state']!==_0x5de524?this['enqueue']([this['getBlobData'],_0x3f77b9,this[_0x1c758f(0x13a)],_0x250c4d,_0x2df509]):this[_0x1c758f(0xcb)](_0x3f77b9,this[_0x1c758f(0x13a)],_0x250c4d,_0x2df509):this['_state']!==_0x5de524?this[_0x1c758f(0xcc)]([this['dispatch'],_0x3f77b9,this[_0x1c758f(0x13a)],_0x250c4d,_0x2df509]):this['dispatch'](_0x3f77b9,this[_0x1c758f(0x13a)],_0x250c4d,_0x2df509);}[_0x487c12(0xcb)](_0x3be09e,_0x171dfe,_0xd197e7,_0x1b95eb){const _0x14b39e=_0x487c12;this[_0x14b39e(0x22e)]+=_0xd197e7[_0x43b4e0],this[_0x14b39e(0xfc)]=_0x24c28e,_0x3be09e[_0x14b39e(0x1ef)]()[_0x14b39e(0x204)](_0xb1bc46=>{const _0x481f63=_0x14b39e;if(this[_0x481f63(0xd6)]['destroyed']){const _0xf02e34=new Error(_0x481f63(0x177));process['nextTick'](_0x42c587,this,_0xf02e34,_0x1b95eb);return;}this[_0x481f63(0x22e)]-=_0xd197e7[_0x43b4e0];const _0x4e9d04=_0xd88888(_0xb1bc46);_0x171dfe?this['dispatch'](_0x4e9d04,_0x171dfe,_0xd197e7,_0x1b95eb):(this[_0x481f63(0xfc)]=_0x5de524,this[_0x481f63(0xb9)](_0x5a844b[_0x481f63(0x231)](_0x4e9d04,_0xd197e7),_0x1b95eb),this['dequeue']());})[_0x14b39e(0x212)](_0x1fe516=>{const _0x3c79ca=_0x14b39e;process[_0x3c79ca(0x235)](_0x5670c9,this,_0x1fe516,_0x1b95eb);});}['dispatch'](_0x5233db,_0x43dfac,_0x1d299f,_0x26abac){const _0x4c0bf5=_0x487c12;if(!_0x43dfac){this[_0x4c0bf5(0xb9)](_0x5a844b[_0x4c0bf5(0x231)](_0x5233db,_0x1d299f),_0x26abac);return;}const _0x5df5a7=this[_0x4c0bf5(0xa7)][_0x32eb1a[_0x4c0bf5(0x219)]];this[_0x4c0bf5(0x22e)]+=_0x1d299f[_0x43b4e0],this[_0x4c0bf5(0xfc)]=_0x4e089c,_0x5df5a7['compress'](_0x5233db,_0x1d299f['fin'],(_0x10e84f,_0x1a7da3)=>{const _0x2b0011=_0x4c0bf5;if(this[_0x2b0011(0xd6)][_0x2b0011(0x11d)]){const _0x4b805e=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x42c587(this,_0x4b805e,_0x26abac);return;}this[_0x2b0011(0x22e)]-=_0x1d299f[_0x43b4e0],this[_0x2b0011(0xfc)]=_0x5de524,_0x1d299f['readOnly']=!0x1,this['sendFrame'](_0x5a844b[_0x2b0011(0x231)](_0x1a7da3,_0x1d299f),_0x26abac),this[_0x2b0011(0x23c)]();});}['dequeue'](){const _0x1b5203=_0x487c12;for(;this['_state']===_0x5de524&&this[_0x1b5203(0x14b)][_0x1b5203(0xf1)];){const _0x4fb030=this[_0x1b5203(0x14b)][_0x1b5203(0x217)]();this['_bufferedBytes']-=_0x4fb030[0x3][_0x43b4e0],Reflect[_0x1b5203(0x21c)](_0x4fb030[0x0],this,_0x4fb030['slice'](0x1));}}[_0x487c12(0xcc)](_0x7fb6fe){const _0x234043=_0x487c12;this['_bufferedBytes']+=_0x7fb6fe[0x3][_0x43b4e0],this[_0x234043(0x14b)]['push'](_0x7fb6fe);}[_0x487c12(0xb9)](_0x182a3c,_0xe01c42){const _0x140390=_0x487c12;_0x182a3c[_0x140390(0xf1)]===0x2?(this['_socket']['cork'](),this[_0x140390(0xd6)]['write'](_0x182a3c[0x0]),this[_0x140390(0xd6)][_0x140390(0x13e)](_0x182a3c[0x1],_0xe01c42),this[_0x140390(0xd6)][_0x140390(0x214)]()):this[_0x140390(0xd6)][_0x140390(0x13e)](_0x182a3c[0x0],_0xe01c42);}}Ee=_0x5a844b;function _0x42c587(_0x5a819e,_0xab8b10,_0x1e41f8){const _0xf87149=_0x487c12;typeof _0x1e41f8==_0xf87149(0x1a5)&&_0x1e41f8(_0xab8b10);for(let _0x281222=0x0;_0x281222<_0x5a819e['_queue'][_0xf87149(0xf1)];_0x281222++){const _0x3b4a8f=_0x5a819e[_0xf87149(0x14b)][_0x281222],_0x3cba0b=_0x3b4a8f[_0x3b4a8f[_0xf87149(0xf1)]-0x1];typeof _0x3cba0b==_0xf87149(0x1a5)&&_0x3cba0b(_0xab8b10);}}function _0x5670c9(_0x517827,_0x1f5a6f,_0x461a9f){const _0x5b214b=_0x487c12;_0x42c587(_0x517827,_0x1f5a6f,_0x461a9f),_0x517827[_0x5b214b(0x164)](_0x1f5a6f);}return Ee;}var xe,tt;function Kt(){const _0x311ff6=_0x43e910;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x3a88f8,kListener:_0x233b0d}=V(),_0x318d9a=Symbol('kCode'),_0x357123=Symbol(_0x311ff6(0x22d)),_0xc6a90c=Symbol(_0x311ff6(0x1d5)),_0x1c1d7a=Symbol(_0x311ff6(0xfd)),_0xd4bcef=Symbol('kReason'),_0x235716=Symbol(_0x311ff6(0x1b1)),_0x4620b3=Symbol(_0x311ff6(0x224)),_0x17fbf4=Symbol('kWasClean');class _0x40afc1{constructor(_0x41a369){this[_0x235716]=null,this[_0x4620b3]=_0x41a369;}get[_0x311ff6(0x1fb)](){return this[_0x235716];}get[_0x311ff6(0x17e)](){return this[_0x4620b3];}}Object['defineProperty'](_0x40afc1['prototype'],_0x311ff6(0x1fb),{'enumerable':!0x0}),Object['defineProperty'](_0x40afc1[_0x311ff6(0x14a)],_0x311ff6(0x17e),{'enumerable':!0x0});class _0x1e6d18 extends _0x40afc1{constructor(_0x1167d5,_0x3f73ff={}){const _0x446c28=_0x311ff6;super(_0x1167d5),this[_0x318d9a]=_0x3f73ff[_0x446c28(0x234)]===void 0x0?0x0:_0x3f73ff[_0x446c28(0x234)],this[_0xd4bcef]=_0x3f73ff[_0x446c28(0x187)]===void 0x0?'':_0x3f73ff[_0x446c28(0x187)],this[_0x17fbf4]=_0x3f73ff[_0x446c28(0xc7)]===void 0x0?!0x1:_0x3f73ff['wasClean'];}get[_0x311ff6(0x234)](){return this[_0x318d9a];}get[_0x311ff6(0x187)](){return this[_0xd4bcef];}get[_0x311ff6(0xc7)](){return this[_0x17fbf4];}}Object[_0x311ff6(0x222)](_0x1e6d18['prototype'],'code',{'enumerable':!0x0}),Object[_0x311ff6(0x222)](_0x1e6d18['prototype'],'reason',{'enumerable':!0x0}),Object[_0x311ff6(0x222)](_0x1e6d18['prototype'],_0x311ff6(0xc7),{'enumerable':!0x0});class _0x3a99fa extends _0x40afc1{constructor(_0x5faa3f,_0x4f5bd7={}){const _0x5f78e8=_0x311ff6;super(_0x5faa3f),this[_0xc6a90c]=_0x4f5bd7[_0x5f78e8(0x174)]===void 0x0?null:_0x4f5bd7[_0x5f78e8(0x174)],this[_0x1c1d7a]=_0x4f5bd7[_0x5f78e8(0x220)]===void 0x0?'':_0x4f5bd7[_0x5f78e8(0x220)];}get[_0x311ff6(0x174)](){return this[_0xc6a90c];}get['message'](){return this[_0x1c1d7a];}}Object['defineProperty'](_0x3a99fa['prototype'],_0x311ff6(0x174),{'enumerable':!0x0}),Object['defineProperty'](_0x3a99fa[_0x311ff6(0x14a)],_0x311ff6(0x220),{'enumerable':!0x0});class _0x1d192e extends _0x40afc1{constructor(_0x18383c,_0x2751ca={}){const _0x5b321b=_0x311ff6;super(_0x18383c),this[_0x357123]=_0x2751ca[_0x5b321b(0x135)]===void 0x0?null:_0x2751ca[_0x5b321b(0x135)];}get[_0x311ff6(0x135)](){return this[_0x357123];}}Object['defineProperty'](_0x1d192e[_0x311ff6(0x14a)],_0x311ff6(0x135),{'enumerable':!0x0}),xe={'CloseEvent':_0x1e6d18,'ErrorEvent':_0x3a99fa,'Event':_0x40afc1,'EventTarget':{'addEventListener'(_0x10a2de,_0x4df5bb,_0x5e5edc={}){const _0x43eb08=_0x311ff6;for(const _0x5f3c8d of this[_0x43eb08(0x17a)](_0x10a2de))if(!_0x5e5edc[_0x3a88f8]&&_0x5f3c8d[_0x233b0d]===_0x4df5bb&&!_0x5f3c8d[_0x3a88f8])return;let _0x133c97;if(_0x10a2de===_0x43eb08(0x220))_0x133c97=function(_0x9c71ea,_0x414c29){const _0x46e1dc=_0x43eb08,_0x462b04=new _0x1d192e(_0x46e1dc(0x220),{'data':_0x414c29?_0x9c71ea:_0x9c71ea[_0x46e1dc(0x1f0)]()});_0x462b04[_0x235716]=this,_0x55fe54(_0x4df5bb,this,_0x462b04);};else{if(_0x10a2de===_0x43eb08(0x1ec))_0x133c97=function(_0x141406,_0x144ac7){const _0x419dc9=_0x43eb08,_0x2874e1=new _0x1e6d18(_0x419dc9(0x1ec),{'code':_0x141406,'reason':_0x144ac7[_0x419dc9(0x1f0)](),'wasClean':this['_closeFrameReceived']&&this[_0x419dc9(0xa1)]});_0x2874e1[_0x235716]=this,_0x55fe54(_0x4df5bb,this,_0x2874e1);};else{if(_0x10a2de===_0x43eb08(0x174))_0x133c97=function(_0x12c921){const _0x3dc5b1=_0x43eb08,_0xdeda5f=new _0x3a99fa(_0x3dc5b1(0x174),{'error':_0x12c921,'message':_0x12c921['message']});_0xdeda5f[_0x235716]=this,_0x55fe54(_0x4df5bb,this,_0xdeda5f);};else{if(_0x10a2de===_0x43eb08(0x1bf))_0x133c97=function(){const _0x14481d=new _0x40afc1('open');_0x14481d[_0x235716]=this,_0x55fe54(_0x4df5bb,this,_0x14481d);};else return;}}}_0x133c97[_0x3a88f8]=!!_0x5e5edc[_0x3a88f8],_0x133c97[_0x233b0d]=_0x4df5bb,_0x5e5edc['once']?this['once'](_0x10a2de,_0x133c97):this['on'](_0x10a2de,_0x133c97);},'removeEventListener'(_0x14d279,_0x34e344){const _0x5498e4=_0x311ff6;for(const _0x5827e4 of this[_0x5498e4(0x17a)](_0x14d279))if(_0x5827e4[_0x233b0d]===_0x34e344&&!_0x5827e4[_0x3a88f8]){this[_0x5498e4(0x1fe)](_0x14d279,_0x5827e4);break;}}},'MessageEvent':_0x1d192e};function _0x55fe54(_0x1cb645,_0x5efcf7,_0x503cae){const _0x3f93fc=_0x311ff6;typeof _0x1cb645=='object'&&_0x1cb645[_0x3f93fc(0xcd)]?_0x1cb645['handleEvent'][_0x3f93fc(0x1c2)](_0x1cb645,_0x503cae):_0x1cb645['call'](_0x5efcf7,_0x503cae);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x1e62a5}=ne();function _0x5e1cda(_0x311718,_0x4677bb,_0x40ce1c){const _0x4da3a2=_0x2164;_0x311718[_0x4677bb]===void 0x0?_0x311718[_0x4677bb]=[_0x40ce1c]:_0x311718[_0x4677bb][_0x4da3a2(0xf6)](_0x40ce1c);}function _0x55bb27(_0x37e374){const _0x447557=_0x2164,_0x50a725=Object[_0x447557(0x1a6)](null);let _0x2023a8=Object['create'](null),_0x29ab97=!0x1,_0x54af7c=!0x1,_0x115d9f=!0x1,_0x1abcb1,_0x583cb0,_0x50e3fc=-0x1,_0x39793a=-0x1,_0x34b891=-0x1,_0x52ab99=0x0;for(;_0x52ab99<_0x37e374[_0x447557(0xf1)];_0x52ab99++)if(_0x39793a=_0x37e374[_0x447557(0xb3)](_0x52ab99),_0x1abcb1===void 0x0){if(_0x34b891===-0x1&&_0x1e62a5[_0x39793a]===0x1)_0x50e3fc===-0x1&&(_0x50e3fc=_0x52ab99);else{if(_0x52ab99!==0x0&&(_0x39793a===0x20||_0x39793a===0x9))_0x34b891===-0x1&&_0x50e3fc!==-0x1&&(_0x34b891=_0x52ab99);else{if(_0x39793a===0x3b||_0x39793a===0x2c){if(_0x50e3fc===-0x1)throw new SyntaxError(_0x447557(0x1ff)+_0x52ab99);_0x34b891===-0x1&&(_0x34b891=_0x52ab99);const _0x2af6ae=_0x37e374[_0x447557(0xc2)](_0x50e3fc,_0x34b891);_0x39793a===0x2c?(_0x5e1cda(_0x50a725,_0x2af6ae,_0x2023a8),_0x2023a8=Object[_0x447557(0x1a6)](null)):_0x1abcb1=_0x2af6ae,_0x50e3fc=_0x34b891=-0x1;}else throw new SyntaxError(_0x447557(0x1ff)+_0x52ab99);}}}else{if(_0x583cb0===void 0x0){if(_0x34b891===-0x1&&_0x1e62a5[_0x39793a]===0x1)_0x50e3fc===-0x1&&(_0x50e3fc=_0x52ab99);else{if(_0x39793a===0x20||_0x39793a===0x9)_0x34b891===-0x1&&_0x50e3fc!==-0x1&&(_0x34b891=_0x52ab99);else{if(_0x39793a===0x3b||_0x39793a===0x2c){if(_0x50e3fc===-0x1)throw new SyntaxError(_0x447557(0x1ff)+_0x52ab99);_0x34b891===-0x1&&(_0x34b891=_0x52ab99),_0x5e1cda(_0x2023a8,_0x37e374[_0x447557(0xc2)](_0x50e3fc,_0x34b891),!0x0),_0x39793a===0x2c&&(_0x5e1cda(_0x50a725,_0x1abcb1,_0x2023a8),_0x2023a8=Object[_0x447557(0x1a6)](null),_0x1abcb1=void 0x0),_0x50e3fc=_0x34b891=-0x1;}else{if(_0x39793a===0x3d&&_0x50e3fc!==-0x1&&_0x34b891===-0x1)_0x583cb0=_0x37e374[_0x447557(0xc2)](_0x50e3fc,_0x52ab99),_0x50e3fc=_0x34b891=-0x1;else throw new SyntaxError(_0x447557(0x1ff)+_0x52ab99);}}}}else{if(_0x54af7c){if(_0x1e62a5[_0x39793a]!==0x1)throw new SyntaxError(_0x447557(0x1ff)+_0x52ab99);_0x50e3fc===-0x1?_0x50e3fc=_0x52ab99:_0x29ab97||(_0x29ab97=!0x0),_0x54af7c=!0x1;}else{if(_0x115d9f){if(_0x1e62a5[_0x39793a]===0x1)_0x50e3fc===-0x1&&(_0x50e3fc=_0x52ab99);else{if(_0x39793a===0x22&&_0x50e3fc!==-0x1)_0x115d9f=!0x1,_0x34b891=_0x52ab99;else{if(_0x39793a===0x5c)_0x54af7c=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x52ab99);}}}else{if(_0x39793a===0x22&&_0x37e374[_0x447557(0xb3)](_0x52ab99-0x1)===0x3d)_0x115d9f=!0x0;else{if(_0x34b891===-0x1&&_0x1e62a5[_0x39793a]===0x1)_0x50e3fc===-0x1&&(_0x50e3fc=_0x52ab99);else{if(_0x50e3fc!==-0x1&&(_0x39793a===0x20||_0x39793a===0x9))_0x34b891===-0x1&&(_0x34b891=_0x52ab99);else{if(_0x39793a===0x3b||_0x39793a===0x2c){if(_0x50e3fc===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x52ab99);_0x34b891===-0x1&&(_0x34b891=_0x52ab99);let _0x411b4d=_0x37e374['slice'](_0x50e3fc,_0x34b891);_0x29ab97&&(_0x411b4d=_0x411b4d[_0x447557(0x120)](/\\/g,''),_0x29ab97=!0x1),_0x5e1cda(_0x2023a8,_0x583cb0,_0x411b4d),_0x39793a===0x2c&&(_0x5e1cda(_0x50a725,_0x1abcb1,_0x2023a8),_0x2023a8=Object[_0x447557(0x1a6)](null),_0x1abcb1=void 0x0),_0x583cb0=void 0x0,_0x50e3fc=_0x34b891=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x52ab99);}}}}}}}if(_0x50e3fc===-0x1||_0x115d9f||_0x39793a===0x20||_0x39793a===0x9)throw new SyntaxError(_0x447557(0x203));_0x34b891===-0x1&&(_0x34b891=_0x52ab99);const _0x2754b7=_0x37e374[_0x447557(0xc2)](_0x50e3fc,_0x34b891);return _0x1abcb1===void 0x0?_0x5e1cda(_0x50a725,_0x2754b7,_0x2023a8):(_0x583cb0===void 0x0?_0x5e1cda(_0x2023a8,_0x2754b7,!0x0):_0x29ab97?_0x5e1cda(_0x2023a8,_0x583cb0,_0x2754b7[_0x447557(0x120)](/\\/g,'')):_0x5e1cda(_0x2023a8,_0x583cb0,_0x2754b7),_0x5e1cda(_0x50a725,_0x1abcb1,_0x2023a8)),_0x50a725;}function _0x5f1f94(_0x5b3167){const _0x48e76c=_0x2164;return Object['keys'](_0x5b3167)[_0x48e76c(0x232)](_0x201956=>{const _0x34f90f=_0x48e76c;let _0x5c2264=_0x5b3167[_0x201956];return Array[_0x34f90f(0xf9)](_0x5c2264)||(_0x5c2264=[_0x5c2264]),_0x5c2264[_0x34f90f(0x232)](_0x280b13=>[_0x201956][_0x34f90f(0x208)](Object[_0x34f90f(0x133)](_0x280b13)['map'](_0x3d023e=>{const _0x1e6412=_0x34f90f;let _0x451d9b=_0x280b13[_0x3d023e];return Array[_0x1e6412(0xf9)](_0x451d9b)||(_0x451d9b=[_0x451d9b]),_0x451d9b['map'](_0x5832de=>_0x5832de===!0x0?_0x3d023e:_0x3d023e+'='+_0x5832de)[_0x1e6412(0x10d)](';\x20');}))[_0x34f90f(0x10d)](';\x20'))[_0x34f90f(0x10d)](',\x20');})[_0x48e76c(0x10d)](',\x20');}return be={'format':_0x5f1f94,'parse':_0x55bb27},be;}var we,st;function Ie(){const _0x3c3b8c=_0x43e910;if(st)return we;st=0x1;const _0x2004b4=_0x4ded73,_0xb6c3d6=_0x56ca03,_0x3f518d=_0xf64680,_0x5be295=_0x10bf4a,_0x44c83b=_0x2580cb,{randomBytes:_0x496f33,createHash:_0x422fa7}=_0x303447,{Duplex:_0x9fb476,Readable:_0x5dda48}=_0x2e27c2,{URL:_0x1a330c}=_0x17a9e4,_0x86ce6e=he(),_0x319d65=dt(),_0x5ed04a=_t(),{isBlob:_0x1fa1cb}=ne(),{BINARY_TYPES:_0x538136,EMPTY_BUFFER:_0xbb248c,GUID:_0x19c213,kForOnEventAttribute:_0x4aa916,kListener:_0x5c911f,kStatusCode:_0x50be35,kWebSocket:_0x4c3987,NOOP:_0x485e94}=V(),{EventTarget:{addEventListener:_0x27ac53,removeEventListener:_0x22ea0e}}=Kt(),{format:_0x12b475,parse:_0x483475}=pt(),{toBuffer:_0x5b70b1}=ce(),_0x39c23e=0x1e*0x3e8,_0x35fd51=Symbol('kAborted'),_0x22ae36=[0x8,0xd],_0x1c3a2d=[_0x3c3b8c(0x226),'OPEN',_0x3c3b8c(0x12c),_0x3c3b8c(0x1ad)],_0x13f755=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x1984c3 extends _0x2004b4{constructor(_0x5bfb91,_0x127dab,_0x422411){const _0x198b5d=_0x3c3b8c;super(),this[_0x198b5d(0x139)]=_0x538136[0x0],this['_closeCode']=0x3ee,this[_0x198b5d(0x1dc)]=!0x1,this['_closeFrameSent']=!0x1,this['_closeMessage']=_0xbb248c,this[_0x198b5d(0x11a)]=null,this[_0x198b5d(0x102)]=!0x1,this['_extensions']={},this[_0x198b5d(0x233)]=!0x1,this['_protocol']='',this[_0x198b5d(0x1a8)]=_0x1984c3[_0x198b5d(0x226)],this[_0x198b5d(0xed)]=null,this[_0x198b5d(0x210)]=null,this[_0x198b5d(0xd6)]=null,_0x5bfb91!==null?(this[_0x198b5d(0x1e5)]=0x0,this[_0x198b5d(0x22b)]=!0x1,this[_0x198b5d(0x1e9)]=0x0,_0x127dab===void 0x0?_0x127dab=[]:Array[_0x198b5d(0xf9)](_0x127dab)||(typeof _0x127dab==_0x198b5d(0xb5)&&_0x127dab!==null?(_0x422411=_0x127dab,_0x127dab=[]):_0x127dab=[_0x127dab]),_0x37be8a(this,_0x5bfb91,_0x127dab,_0x422411)):(this['_autoPong']=_0x422411[_0x198b5d(0xf2)],this[_0x198b5d(0x22b)]=!0x0);}get['binaryType'](){const _0x30d548=_0x3c3b8c;return this[_0x30d548(0x139)];}set['binaryType'](_0x49b19d){const _0x40692d=_0x3c3b8c;_0x538136['includes'](_0x49b19d)&&(this[_0x40692d(0x139)]=_0x49b19d,this['_receiver']&&(this[_0x40692d(0xed)][_0x40692d(0x139)]=_0x49b19d));}get[_0x3c3b8c(0x19c)](){const _0x168bd7=_0x3c3b8c;return this[_0x168bd7(0xd6)]?this[_0x168bd7(0xd6)][_0x168bd7(0x113)][_0x168bd7(0xf1)]+this[_0x168bd7(0x210)][_0x168bd7(0x22e)]:this[_0x168bd7(0x1e5)];}get[_0x3c3b8c(0x159)](){const _0x1cb463=_0x3c3b8c;return Object[_0x1cb463(0x133)](this['_extensions'])[_0x1cb463(0x10d)]();}get[_0x3c3b8c(0x117)](){const _0x48e3c3=_0x3c3b8c;return this[_0x48e3c3(0x233)];}get[_0x3c3b8c(0x188)](){return null;}get[_0x3c3b8c(0x164)](){return null;}get[_0x3c3b8c(0x138)](){return null;}get[_0x3c3b8c(0x1d8)](){return null;}get[_0x3c3b8c(0x20d)](){const _0x59a973=_0x3c3b8c;return this[_0x59a973(0x130)];}get['readyState'](){const _0x3131f2=_0x3c3b8c;return this[_0x3131f2(0x1a8)];}get['url'](){const _0x154bad=_0x3c3b8c;return this[_0x154bad(0xf3)];}[_0x3c3b8c(0xca)](_0xff5395,_0x364b26,_0x51852d){const _0x3bda82=_0x3c3b8c,_0x4a2103=new _0x319d65({'allowSynchronousEvents':_0x51852d['allowSynchronousEvents'],'binaryType':this[_0x3bda82(0x23d)],'extensions':this['_extensions'],'isServer':this['_isServer'],'maxPayload':_0x51852d[_0x3bda82(0x1f2)],'skipUTF8Validation':_0x51852d[_0x3bda82(0x10c)]}),_0x431691=new _0x5ed04a(_0xff5395,this[_0x3bda82(0xa7)],_0x51852d[_0x3bda82(0xf5)]);this[_0x3bda82(0xed)]=_0x4a2103,this['_sender']=_0x431691,this[_0x3bda82(0xd6)]=_0xff5395,_0x4a2103[_0x4c3987]=this,_0x431691[_0x4c3987]=this,_0xff5395[_0x4c3987]=this,_0x4a2103['on'](_0x3bda82(0xbc),_0x16c8ff),_0x4a2103['on']('drain',_0x3d1f0c),_0x4a2103['on'](_0x3bda82(0x174),_0x4facf9),_0x4a2103['on'](_0x3bda82(0x220),_0x11414e),_0x4a2103['on'](_0x3bda82(0x1cb),_0x229566),_0x4a2103['on']('pong',_0x469746),_0x431691[_0x3bda82(0x164)]=_0x64395f,_0xff5395[_0x3bda82(0x230)]&&_0xff5395[_0x3bda82(0x230)](0x0),_0xff5395[_0x3bda82(0x148)]&&_0xff5395[_0x3bda82(0x148)](),_0x364b26[_0x3bda82(0xf1)]>0x0&&_0xff5395[_0x3bda82(0xfe)](_0x364b26),_0xff5395['on'](_0x3bda82(0x1ec),_0x28a2cb),_0xff5395['on'](_0x3bda82(0x135),_0x3f5798),_0xff5395['on'](_0x3bda82(0x1c0),_0xbeebe6),_0xff5395['on']('error',_0x377df2),this[_0x3bda82(0x1a8)]=_0x1984c3[_0x3bda82(0x14e)],this['emit'](_0x3bda82(0x1bf));}[_0x3c3b8c(0x107)](){const _0x582167=_0x3c3b8c;if(!this[_0x582167(0xd6)]){this['_readyState']=_0x1984c3[_0x582167(0x1ad)],this[_0x582167(0x1b6)](_0x582167(0x1ec),this[_0x582167(0x112)],this[_0x582167(0xe6)]);return;}this[_0x582167(0xa7)][_0x86ce6e[_0x582167(0x219)]]&&this[_0x582167(0xa7)][_0x86ce6e[_0x582167(0x219)]][_0x582167(0xb1)](),this[_0x582167(0xed)][_0x582167(0x166)](),this[_0x582167(0x1a8)]=_0x1984c3[_0x582167(0x1ad)],this['emit'](_0x582167(0x1ec),this[_0x582167(0x112)],this['_closeMessage']);}['close'](_0x1b793a,_0x2f4242){const _0xebae2a=_0x3c3b8c;if(this[_0xebae2a(0x153)]!==_0x1984c3[_0xebae2a(0x1ad)]){if(this[_0xebae2a(0x153)]===_0x1984c3[_0xebae2a(0x226)]){_0x37c1df(this,this[_0xebae2a(0x116)],_0xebae2a(0xd4));return;}if(this['readyState']===_0x1984c3[_0xebae2a(0x12c)]){this[_0xebae2a(0xa1)]&&(this[_0xebae2a(0x1dc)]||this[_0xebae2a(0xed)][_0xebae2a(0x113)][_0xebae2a(0x134)])&&this[_0xebae2a(0xd6)][_0xebae2a(0x1c0)]();return;}this[_0xebae2a(0x1a8)]=_0x1984c3[_0xebae2a(0x12c)],this[_0xebae2a(0x210)]['close'](_0x1b793a,_0x2f4242,!this[_0xebae2a(0x22b)],_0xea6ed2=>{const _0x3940c7=_0xebae2a;_0xea6ed2||(this[_0x3940c7(0xa1)]=!0x0,(this['_closeFrameReceived']||this[_0x3940c7(0xed)][_0x3940c7(0x113)][_0x3940c7(0x134)])&&this['_socket']['end']());}),_0x12abe9(this);}}[_0x3c3b8c(0x1b3)](){const _0x14eeaf=_0x3c3b8c;this[_0x14eeaf(0x153)]===_0x1984c3['CONNECTING']||this['readyState']===_0x1984c3[_0x14eeaf(0x1ad)]||(this['_paused']=!0x0,this['_socket']['pause']());}[_0x3c3b8c(0x1cb)](_0x58a486,_0x568b53,_0x27cde1){const _0x34d34c=_0x3c3b8c;if(this[_0x34d34c(0x153)]===_0x1984c3[_0x34d34c(0x226)])throw new Error(_0x34d34c(0x22c));if(typeof _0x58a486==_0x34d34c(0x1a5)?(_0x27cde1=_0x58a486,_0x58a486=_0x568b53=void 0x0):typeof _0x568b53==_0x34d34c(0x1a5)&&(_0x27cde1=_0x568b53,_0x568b53=void 0x0),typeof _0x58a486==_0x34d34c(0xba)&&(_0x58a486=_0x58a486['toString']()),this[_0x34d34c(0x153)]!==_0x1984c3[_0x34d34c(0x14e)]){_0x3ee9f5(this,_0x58a486,_0x27cde1);return;}_0x568b53===void 0x0&&(_0x568b53=!this[_0x34d34c(0x22b)]),this['_sender']['ping'](_0x58a486||_0xbb248c,_0x568b53,_0x27cde1);}[_0x3c3b8c(0x158)](_0x4818ba,_0x219034,_0x22b67c){const _0x1899ed=_0x3c3b8c;if(this[_0x1899ed(0x153)]===_0x1984c3[_0x1899ed(0x226)])throw new Error(_0x1899ed(0x22c));if(typeof _0x4818ba==_0x1899ed(0x1a5)?(_0x22b67c=_0x4818ba,_0x4818ba=_0x219034=void 0x0):typeof _0x219034==_0x1899ed(0x1a5)&&(_0x22b67c=_0x219034,_0x219034=void 0x0),typeof _0x4818ba==_0x1899ed(0xba)&&(_0x4818ba=_0x4818ba[_0x1899ed(0x1f0)]()),this[_0x1899ed(0x153)]!==_0x1984c3[_0x1899ed(0x14e)]){_0x3ee9f5(this,_0x4818ba,_0x22b67c);return;}_0x219034===void 0x0&&(_0x219034=!this[_0x1899ed(0x22b)]),this[_0x1899ed(0x210)]['pong'](_0x4818ba||_0xbb248c,_0x219034,_0x22b67c);}['resume'](){const _0x493757=_0x3c3b8c;this['readyState']===_0x1984c3[_0x493757(0x226)]||this[_0x493757(0x153)]===_0x1984c3[_0x493757(0x1ad)]||(this['_paused']=!0x1,this[_0x493757(0xed)][_0x493757(0x113)][_0x493757(0xad)]||this['_socket'][_0x493757(0x1ea)]());}['send'](_0x374b9b,_0x3ffb77,_0x4f627c){const _0x262a07=_0x3c3b8c;if(this[_0x262a07(0x153)]===_0x1984c3[_0x262a07(0x226)])throw new Error(_0x262a07(0x22c));if(typeof _0x3ffb77==_0x262a07(0x1a5)&&(_0x4f627c=_0x3ffb77,_0x3ffb77={}),typeof _0x374b9b=='number'&&(_0x374b9b=_0x374b9b['toString']()),this[_0x262a07(0x153)]!==_0x1984c3[_0x262a07(0x14e)]){_0x3ee9f5(this,_0x374b9b,_0x4f627c);return;}const _0x552c6a={'binary':typeof _0x374b9b!=_0x262a07(0xe2),'mask':!this[_0x262a07(0x22b)],'compress':!0x0,'fin':!0x0,..._0x3ffb77};this[_0x262a07(0xa7)][_0x86ce6e[_0x262a07(0x219)]]||(_0x552c6a[_0x262a07(0x119)]=!0x1),this[_0x262a07(0x210)][_0x262a07(0x239)](_0x374b9b||_0xbb248c,_0x552c6a,_0x4f627c);}[_0x3c3b8c(0xe1)](){const _0x2fb7ea=_0x3c3b8c;if(this[_0x2fb7ea(0x153)]!==_0x1984c3[_0x2fb7ea(0x1ad)]){if(this[_0x2fb7ea(0x153)]===_0x1984c3[_0x2fb7ea(0x226)]){_0x37c1df(this,this[_0x2fb7ea(0x116)],_0x2fb7ea(0xd4));return;}this[_0x2fb7ea(0xd6)]&&(this['_readyState']=_0x1984c3[_0x2fb7ea(0x12c)],this[_0x2fb7ea(0xd6)][_0x2fb7ea(0xfa)]());}}}Object[_0x3c3b8c(0x222)](_0x1984c3,_0x3c3b8c(0x226),{'enumerable':!0x0,'value':_0x1c3a2d[_0x3c3b8c(0x10f)](_0x3c3b8c(0x226))}),Object['defineProperty'](_0x1984c3[_0x3c3b8c(0x14a)],_0x3c3b8c(0x226),{'enumerable':!0x0,'value':_0x1c3a2d['indexOf']('CONNECTING')}),Object['defineProperty'](_0x1984c3,_0x3c3b8c(0x14e),{'enumerable':!0x0,'value':_0x1c3a2d[_0x3c3b8c(0x10f)]('OPEN')}),Object[_0x3c3b8c(0x222)](_0x1984c3[_0x3c3b8c(0x14a)],_0x3c3b8c(0x14e),{'enumerable':!0x0,'value':_0x1c3a2d['indexOf'](_0x3c3b8c(0x14e))}),Object[_0x3c3b8c(0x222)](_0x1984c3,_0x3c3b8c(0x12c),{'enumerable':!0x0,'value':_0x1c3a2d['indexOf'](_0x3c3b8c(0x12c))}),Object[_0x3c3b8c(0x222)](_0x1984c3[_0x3c3b8c(0x14a)],'CLOSING',{'enumerable':!0x0,'value':_0x1c3a2d['indexOf']('CLOSING')}),Object['defineProperty'](_0x1984c3,_0x3c3b8c(0x1ad),{'enumerable':!0x0,'value':_0x1c3a2d[_0x3c3b8c(0x10f)](_0x3c3b8c(0x1ad))}),Object[_0x3c3b8c(0x222)](_0x1984c3['prototype'],_0x3c3b8c(0x1ad),{'enumerable':!0x0,'value':_0x1c3a2d[_0x3c3b8c(0x10f)](_0x3c3b8c(0x1ad))}),['binaryType',_0x3c3b8c(0x19c),'extensions',_0x3c3b8c(0x117),'protocol',_0x3c3b8c(0x153),_0x3c3b8c(0x101)]['forEach'](_0x2dacee=>{const _0x224435=_0x3c3b8c;Object[_0x224435(0x222)](_0x1984c3[_0x224435(0x14a)],_0x2dacee,{'enumerable':!0x0});}),[_0x3c3b8c(0x1bf),_0x3c3b8c(0x174),_0x3c3b8c(0x1ec),_0x3c3b8c(0x220)][_0x3c3b8c(0x1d2)](_0x3be419=>{const _0x5918e5=_0x3c3b8c;Object[_0x5918e5(0x222)](_0x1984c3[_0x5918e5(0x14a)],'on'+_0x3be419,{'enumerable':!0x0,'get'(){const _0x419b75=_0x5918e5;for(const _0x51006a of this[_0x419b75(0x17a)](_0x3be419))if(_0x51006a[_0x4aa916])return _0x51006a[_0x5c911f];return null;},'set'(_0x32c48e){const _0x30e1b2=_0x5918e5;for(const _0x3b2ae4 of this['listeners'](_0x3be419))if(_0x3b2ae4[_0x4aa916]){this['removeListener'](_0x3be419,_0x3b2ae4);break;}typeof _0x32c48e==_0x30e1b2(0x1a5)&&this['addEventListener'](_0x3be419,_0x32c48e,{[_0x4aa916]:!0x0});}});}),_0x1984c3[_0x3c3b8c(0x14a)]['addEventListener']=_0x27ac53,_0x1984c3[_0x3c3b8c(0x14a)][_0x3c3b8c(0x1fd)]=_0x22ea0e,we=_0x1984c3;function _0x37be8a(_0x6575e9,_0x29e601,_0x5d250b,_0x4ab944){const _0x3b0703=_0x3c3b8c,_0x216d46={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x22ae36[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x4ab944,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x3b0703(0x167),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x6575e9[_0x3b0703(0x236)]=_0x216d46['autoPong'],!_0x22ae36[_0x3b0703(0xae)](_0x216d46[_0x3b0703(0x1ce)]))throw new RangeError(_0x3b0703(0x1aa)+_0x216d46[_0x3b0703(0x1ce)]+'\x20(supported\x20versions:\x20'+_0x22ae36[_0x3b0703(0x10d)](',\x20')+')');let _0x439424;if(_0x29e601 instanceof _0x1a330c)_0x439424=_0x29e601;else try{_0x439424=new _0x1a330c(_0x29e601);}catch{throw new SyntaxError(_0x3b0703(0x12e)+_0x29e601);}_0x439424[_0x3b0703(0x20d)]==='http:'?_0x439424[_0x3b0703(0x20d)]=_0x3b0703(0x1e2):_0x439424['protocol']==='https:'&&(_0x439424[_0x3b0703(0x20d)]=_0x3b0703(0x1cc)),_0x6575e9[_0x3b0703(0xf3)]=_0x439424[_0x3b0703(0x207)];const _0x3cb945=_0x439424[_0x3b0703(0x20d)]===_0x3b0703(0x1cc),_0x1087dd=_0x439424[_0x3b0703(0x20d)]===_0x3b0703(0x19e);let _0x1bf995;if(_0x439424['protocol']!==_0x3b0703(0x1e2)&&!_0x3cb945&&!_0x1087dd?_0x1bf995=_0x3b0703(0x194):_0x1087dd&&!_0x439424[_0x3b0703(0x227)]?_0x1bf995='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x439424[_0x3b0703(0x15f)]&&(_0x1bf995='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x1bf995){const _0x347626=new SyntaxError(_0x1bf995);if(_0x6575e9[_0x3b0703(0x1e9)]===0x0)throw _0x347626;_0x3a1faa(_0x6575e9,_0x347626);return;}const _0x91ebee=_0x3cb945?0x1bb:0x50,_0x28a938=_0x496f33(0x10)[_0x3b0703(0x1f0)]('base64'),_0x53a46e=_0x3cb945?_0xb6c3d6[_0x3b0703(0x1e4)]:_0x3f518d[_0x3b0703(0x1e4)],_0x211a85=new Set();let _0x955340;if(_0x216d46['createConnection']=_0x216d46['createConnection']||(_0x3cb945?_0xeba4c0:_0x3b6145),_0x216d46[_0x3b0703(0x181)]=_0x216d46[_0x3b0703(0x181)]||_0x91ebee,_0x216d46[_0x3b0703(0x1b4)]=_0x439424[_0x3b0703(0x1b4)]||_0x91ebee,_0x216d46[_0x3b0703(0x1c3)]=_0x439424['hostname'][_0x3b0703(0x21f)]('[')?_0x439424[_0x3b0703(0xb4)][_0x3b0703(0xc2)](0x1,-0x1):_0x439424[_0x3b0703(0xb4)],_0x216d46[_0x3b0703(0x14c)]={..._0x216d46[_0x3b0703(0x14c)],'Sec-WebSocket-Version':_0x216d46[_0x3b0703(0x1ce)],'Sec-WebSocket-Key':_0x28a938,'Connection':_0x3b0703(0xa3),'Upgrade':'websocket'},_0x216d46['path']=_0x439424[_0x3b0703(0x227)]+_0x439424['search'],_0x216d46['timeout']=_0x216d46[_0x3b0703(0x20f)],_0x216d46[_0x3b0703(0x16a)]&&(_0x955340=new _0x86ce6e(_0x216d46[_0x3b0703(0x16a)]!==!0x0?_0x216d46['perMessageDeflate']:{},!0x1,_0x216d46[_0x3b0703(0x1f2)]),_0x216d46[_0x3b0703(0x14c)][_0x3b0703(0x114)]=_0x12b475({[_0x86ce6e['extensionName']]:_0x955340[_0x3b0703(0x165)]()})),_0x5d250b[_0x3b0703(0xf1)]){for(const _0x19d84b of _0x5d250b){if(typeof _0x19d84b!=_0x3b0703(0xe2)||!_0x13f755[_0x3b0703(0x179)](_0x19d84b)||_0x211a85[_0x3b0703(0x1fc)](_0x19d84b))throw new SyntaxError(_0x3b0703(0x1eb));_0x211a85[_0x3b0703(0x228)](_0x19d84b);}_0x216d46[_0x3b0703(0x14c)][_0x3b0703(0x178)]=_0x5d250b['join'](',');}if(_0x216d46[_0x3b0703(0x10e)]&&(_0x216d46[_0x3b0703(0x1ce)]<0xd?_0x216d46[_0x3b0703(0x14c)][_0x3b0703(0x221)]=_0x216d46[_0x3b0703(0x10e)]:_0x216d46[_0x3b0703(0x14c)][_0x3b0703(0x218)]=_0x216d46[_0x3b0703(0x10e)]),(_0x439424[_0x3b0703(0xfb)]||_0x439424[_0x3b0703(0x104)])&&(_0x216d46[_0x3b0703(0xcf)]=_0x439424[_0x3b0703(0xfb)]+':'+_0x439424[_0x3b0703(0x104)]),_0x1087dd){const _0x43f02f=_0x216d46[_0x3b0703(0x1f9)][_0x3b0703(0x20e)](':');_0x216d46['socketPath']=_0x43f02f[0x0],_0x216d46['path']=_0x43f02f[0x1];}let _0x1fec6c;if(_0x216d46[_0x3b0703(0x1be)]){if(_0x6575e9[_0x3b0703(0x1e9)]===0x0){_0x6575e9[_0x3b0703(0x209)]=_0x1087dd,_0x6575e9[_0x3b0703(0x21a)]=_0x3cb945,_0x6575e9[_0x3b0703(0x198)]=_0x1087dd?_0x216d46[_0x3b0703(0xd8)]:_0x439424['host'];const _0x300ec6=_0x4ab944&&_0x4ab944[_0x3b0703(0x14c)];if(_0x4ab944={..._0x4ab944,'headers':{}},_0x300ec6){for(const [_0x3cc1b0,_0x5c24c9]of Object['entries'](_0x300ec6))_0x4ab944['headers'][_0x3cc1b0[_0x3b0703(0x1d6)]()]=_0x5c24c9;}}else{if(_0x6575e9[_0x3b0703(0x1c9)](_0x3b0703(0x195))===0x0){const _0x2044e5=_0x1087dd?_0x6575e9[_0x3b0703(0x209)]?_0x216d46[_0x3b0703(0xd8)]===_0x6575e9[_0x3b0703(0x198)]:!0x1:_0x6575e9['_originalIpc']?!0x1:_0x439424['host']===_0x6575e9[_0x3b0703(0x198)];(!_0x2044e5||_0x6575e9[_0x3b0703(0x21a)]&&!_0x3cb945)&&(delete _0x216d46[_0x3b0703(0x14c)]['authorization'],delete _0x216d46['headers']['cookie'],_0x2044e5||delete _0x216d46['headers'][_0x3b0703(0x1c3)],_0x216d46[_0x3b0703(0xcf)]=void 0x0);}}_0x216d46[_0x3b0703(0xcf)]&&!_0x4ab944[_0x3b0703(0x14c)]['authorization']&&(_0x4ab944[_0x3b0703(0x14c)][_0x3b0703(0x16f)]=_0x3b0703(0x15a)+Buffer[_0x3b0703(0x15e)](_0x216d46['auth'])[_0x3b0703(0x1f0)](_0x3b0703(0x193))),_0x1fec6c=_0x6575e9[_0x3b0703(0x116)]=_0x53a46e(_0x216d46),_0x6575e9[_0x3b0703(0x1e9)]&&_0x6575e9[_0x3b0703(0x1b6)]('redirect',_0x6575e9[_0x3b0703(0x101)],_0x1fec6c);}else _0x1fec6c=_0x6575e9[_0x3b0703(0x116)]=_0x53a46e(_0x216d46);_0x216d46[_0x3b0703(0x10b)]&&_0x1fec6c['on']('timeout',()=>{_0x37c1df(_0x6575e9,_0x1fec6c,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x1fec6c['on']('error',_0x46fe0f=>{_0x1fec6c===null||_0x1fec6c[_0x35fd51]||(_0x1fec6c=_0x6575e9['_req']=null,_0x3a1faa(_0x6575e9,_0x46fe0f));}),_0x1fec6c['on'](_0x3b0703(0x127),_0x43227b=>{const _0x277191=_0x3b0703,_0x379e83=_0x43227b[_0x277191(0x14c)]['location'],_0x416e95=_0x43227b[_0x277191(0x16b)];if(_0x379e83&&_0x216d46[_0x277191(0x1be)]&&_0x416e95>=0x12c&&_0x416e95<0x190){if(++_0x6575e9[_0x277191(0x1e9)]>_0x216d46[_0x277191(0x169)]){_0x37c1df(_0x6575e9,_0x1fec6c,_0x277191(0x1e1));return;}_0x1fec6c['abort']();let _0x18c320;try{_0x18c320=new _0x1a330c(_0x379e83,_0x29e601);}catch{const _0x22a049=new SyntaxError(_0x277191(0x12e)+_0x379e83);_0x3a1faa(_0x6575e9,_0x22a049);return;}_0x37be8a(_0x6575e9,_0x18c320,_0x5d250b,_0x4ab944);}else _0x6575e9['emit'](_0x277191(0x237),_0x1fec6c,_0x43227b)||_0x37c1df(_0x6575e9,_0x1fec6c,'Unexpected\x20server\x20response:\x20'+_0x43227b['statusCode']);}),_0x1fec6c['on'](_0x3b0703(0x13c),(_0x2acd45,_0x2c422f,_0x4d4297)=>{const _0x4f2ffc=_0x3b0703;if(_0x6575e9[_0x4f2ffc(0x1b6)](_0x4f2ffc(0x13c),_0x2acd45),_0x6575e9[_0x4f2ffc(0x153)]!==_0x1984c3[_0x4f2ffc(0x226)])return;_0x1fec6c=_0x6575e9[_0x4f2ffc(0x116)]=null;const _0x236e2e=_0x2acd45[_0x4f2ffc(0x14c)]['upgrade'];if(_0x236e2e===void 0x0||_0x236e2e[_0x4f2ffc(0x1d6)]()!==_0x4f2ffc(0x145)){_0x37c1df(_0x6575e9,_0x2c422f,_0x4f2ffc(0x1f7));return;}const _0x4c6cef=_0x422fa7(_0x4f2ffc(0x1e7))[_0x4f2ffc(0x206)](_0x28a938+_0x19c213)['digest']('base64');if(_0x2acd45['headers'][_0x4f2ffc(0x213)]!==_0x4c6cef){_0x37c1df(_0x6575e9,_0x2c422f,_0x4f2ffc(0x23f));return;}const _0xbf3360=_0x2acd45['headers'][_0x4f2ffc(0x9d)];let _0x3e83dc;if(_0xbf3360!==void 0x0?_0x211a85['size']?_0x211a85[_0x4f2ffc(0x1fc)](_0xbf3360)||(_0x3e83dc=_0x4f2ffc(0xb6)):_0x3e83dc=_0x4f2ffc(0x9e):_0x211a85[_0x4f2ffc(0x18f)]&&(_0x3e83dc=_0x4f2ffc(0x1bb)),_0x3e83dc){_0x37c1df(_0x6575e9,_0x2c422f,_0x3e83dc);return;}_0xbf3360&&(_0x6575e9[_0x4f2ffc(0x130)]=_0xbf3360);const _0x22c6ae=_0x2acd45[_0x4f2ffc(0x14c)][_0x4f2ffc(0x1a7)];if(_0x22c6ae!==void 0x0){if(!_0x955340){_0x37c1df(_0x6575e9,_0x2c422f,_0x4f2ffc(0x211));return;}let _0x1a4437;try{_0x1a4437=_0x483475(_0x22c6ae);}catch{_0x37c1df(_0x6575e9,_0x2c422f,_0x4f2ffc(0x16c));return;}const _0x4518a3=Object['keys'](_0x1a4437);if(_0x4518a3[_0x4f2ffc(0xf1)]!==0x1||_0x4518a3[0x0]!==_0x86ce6e[_0x4f2ffc(0x219)]){_0x37c1df(_0x6575e9,_0x2c422f,_0x4f2ffc(0x152));return;}try{_0x955340['accept'](_0x1a4437[_0x86ce6e[_0x4f2ffc(0x219)]]);}catch{_0x37c1df(_0x6575e9,_0x2c422f,_0x4f2ffc(0x16c));return;}_0x6575e9['_extensions'][_0x86ce6e[_0x4f2ffc(0x219)]]=_0x955340;}_0x6575e9['setSocket'](_0x2c422f,_0x4d4297,{'allowSynchronousEvents':_0x216d46[_0x4f2ffc(0x13b)],'generateMask':_0x216d46[_0x4f2ffc(0xf5)],'maxPayload':_0x216d46['maxPayload'],'skipUTF8Validation':_0x216d46['skipUTF8Validation']});}),_0x216d46[_0x3b0703(0x1bc)]?_0x216d46['finishRequest'](_0x1fec6c,_0x6575e9):_0x1fec6c[_0x3b0703(0x1c0)]();}function _0x3a1faa(_0x414ac8,_0x1c4d9a){const _0x33ca1a=_0x3c3b8c;_0x414ac8[_0x33ca1a(0x1a8)]=_0x1984c3[_0x33ca1a(0x12c)],_0x414ac8['_errorEmitted']=!0x0,_0x414ac8[_0x33ca1a(0x1b6)](_0x33ca1a(0x174),_0x1c4d9a),_0x414ac8['emitClose']();}function _0x3b6145(_0x50496d){const _0x100f14=_0x3c3b8c;return _0x50496d[_0x100f14(0x1f9)]=_0x50496d[_0x100f14(0xd8)],_0x5be295[_0x100f14(0x1cd)](_0x50496d);}function _0xeba4c0(_0x4bc564){const _0x466863=_0x3c3b8c;return _0x4bc564['path']=void 0x0,!_0x4bc564[_0x466863(0x140)]&&_0x4bc564[_0x466863(0x140)]!==''&&(_0x4bc564['servername']=_0x5be295['isIP'](_0x4bc564[_0x466863(0x1c3)])?'':_0x4bc564[_0x466863(0x1c3)]),_0x44c83b[_0x466863(0x1cd)](_0x4bc564);}function _0x37c1df(_0x343fc5,_0x8ddf99,_0x38ac11){const _0x378d8a=_0x3c3b8c;_0x343fc5['_readyState']=_0x1984c3[_0x378d8a(0x12c)];const _0xc2b41d=new Error(_0x38ac11);Error[_0x378d8a(0x124)](_0xc2b41d,_0x37c1df),_0x8ddf99[_0x378d8a(0x243)]?(_0x8ddf99[_0x35fd51]=!0x0,_0x8ddf99[_0x378d8a(0xce)](),_0x8ddf99[_0x378d8a(0xdc)]&&!_0x8ddf99['socket'][_0x378d8a(0x11d)]&&_0x8ddf99[_0x378d8a(0xdc)][_0x378d8a(0xfa)](),process[_0x378d8a(0x235)](_0x3a1faa,_0x343fc5,_0xc2b41d)):(_0x8ddf99[_0x378d8a(0xfa)](_0xc2b41d),_0x8ddf99[_0x378d8a(0x111)](_0x378d8a(0x174),_0x343fc5[_0x378d8a(0x1b6)][_0x378d8a(0xb7)](_0x343fc5,_0x378d8a(0x174))),_0x8ddf99[_0x378d8a(0x111)](_0x378d8a(0x1ec),_0x343fc5[_0x378d8a(0x107)][_0x378d8a(0xb7)](_0x343fc5)));}function _0x3ee9f5(_0x1df331,_0x5783a0,_0x5a1f52){const _0x4b296b=_0x3c3b8c;if(_0x5783a0){const _0x44901e=_0x1fa1cb(_0x5783a0)?_0x5783a0[_0x4b296b(0x18f)]:_0x5b70b1(_0x5783a0)[_0x4b296b(0xf1)];_0x1df331[_0x4b296b(0xd6)]?_0x1df331['_sender'][_0x4b296b(0x22e)]+=_0x44901e:_0x1df331[_0x4b296b(0x1e5)]+=_0x44901e;}if(_0x5a1f52){const _0x2ac11b=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x1df331[_0x4b296b(0x153)]+'\x20('+_0x1c3a2d[_0x1df331[_0x4b296b(0x153)]]+')');process['nextTick'](_0x5a1f52,_0x2ac11b);}}function _0x16c8ff(_0x23d990,_0x6f5006){const _0x5c89a8=_0x3c3b8c,_0x565784=this[_0x4c3987];_0x565784[_0x5c89a8(0x1dc)]=!0x0,_0x565784[_0x5c89a8(0xe6)]=_0x6f5006,_0x565784['_closeCode']=_0x23d990,_0x565784['_socket'][_0x4c3987]!==void 0x0&&(_0x565784['_socket'][_0x5c89a8(0x1fe)](_0x5c89a8(0x135),_0x3f5798),process[_0x5c89a8(0x235)](_0x751f86,_0x565784[_0x5c89a8(0xd6)]),_0x23d990===0x3ed?_0x565784[_0x5c89a8(0x1ec)]():_0x565784[_0x5c89a8(0x1ec)](_0x23d990,_0x6f5006));}function _0x3d1f0c(){const _0x2f2242=_0x3c3b8c,_0x4c6cea=this[_0x4c3987];_0x4c6cea[_0x2f2242(0x117)]||_0x4c6cea[_0x2f2242(0xd6)]['resume']();}function _0x4facf9(_0x4715dc){const _0x495e80=_0x3c3b8c,_0x5a26a7=this[_0x4c3987];_0x5a26a7[_0x495e80(0xd6)][_0x4c3987]!==void 0x0&&(_0x5a26a7[_0x495e80(0xd6)]['removeListener'](_0x495e80(0x135),_0x3f5798),process['nextTick'](_0x751f86,_0x5a26a7['_socket']),_0x5a26a7['close'](_0x4715dc[_0x50be35])),_0x5a26a7[_0x495e80(0x102)]||(_0x5a26a7['_errorEmitted']=!0x0,_0x5a26a7[_0x495e80(0x1b6)](_0x495e80(0x174),_0x4715dc));}function _0x18c2fc(){const _0x470995=_0x3c3b8c;this[_0x4c3987][_0x470995(0x107)]();}function _0x11414e(_0x131b44,_0x5c0781){const _0x19147a=_0x3c3b8c;this[_0x4c3987]['emit'](_0x19147a(0x220),_0x131b44,_0x5c0781);}function _0x229566(_0xc12d5f){const _0x34825f=_0x3c3b8c,_0x7edfd5=this[_0x4c3987];_0x7edfd5[_0x34825f(0x236)]&&_0x7edfd5[_0x34825f(0x158)](_0xc12d5f,!this[_0x34825f(0x22b)],_0x485e94),_0x7edfd5[_0x34825f(0x1b6)](_0x34825f(0x1cb),_0xc12d5f);}function _0x469746(_0x5ab16a){const _0x491fb6=_0x3c3b8c;this[_0x4c3987][_0x491fb6(0x1b6)]('pong',_0x5ab16a);}function _0x751f86(_0x57dc29){const _0x1d4c00=_0x3c3b8c;_0x57dc29[_0x1d4c00(0x1ea)]();}function _0x64395f(_0x57ff01){const _0x2699b0=_0x3c3b8c,_0x46b412=this[_0x4c3987];_0x46b412[_0x2699b0(0x153)]!==_0x1984c3['CLOSED']&&(_0x46b412['readyState']===_0x1984c3[_0x2699b0(0x14e)]&&(_0x46b412[_0x2699b0(0x1a8)]=_0x1984c3['CLOSING'],_0x12abe9(_0x46b412)),this[_0x2699b0(0xd6)][_0x2699b0(0x1c0)](),_0x46b412[_0x2699b0(0x102)]||(_0x46b412['_errorEmitted']=!0x0,_0x46b412[_0x2699b0(0x1b6)](_0x2699b0(0x174),_0x57ff01)));}function _0x12abe9(_0x1470dd){const _0x47f5c3=_0x3c3b8c;_0x1470dd['_closeTimer']=setTimeout(_0x1470dd[_0x47f5c3(0xd6)][_0x47f5c3(0xfa)][_0x47f5c3(0xb7)](_0x1470dd['_socket']),_0x39c23e);}function _0x28a2cb(){const _0x5a2107=_0x3c3b8c,_0x1f7211=this[_0x4c3987];this['removeListener'](_0x5a2107(0x1ec),_0x28a2cb),this[_0x5a2107(0x1fe)](_0x5a2107(0x135),_0x3f5798),this[_0x5a2107(0x1fe)](_0x5a2107(0x1c0),_0xbeebe6),_0x1f7211['_readyState']=_0x1984c3[_0x5a2107(0x12c)];let _0x561cf2;!this[_0x5a2107(0xc3)][_0x5a2107(0x12d)]&&!_0x1f7211[_0x5a2107(0x1dc)]&&!_0x1f7211[_0x5a2107(0xed)][_0x5a2107(0x113)][_0x5a2107(0x134)]&&(_0x561cf2=_0x1f7211[_0x5a2107(0xd6)][_0x5a2107(0x205)]())!==null&&_0x1f7211[_0x5a2107(0xed)][_0x5a2107(0x13e)](_0x561cf2),_0x1f7211['_receiver'][_0x5a2107(0x1c0)](),this[_0x4c3987]=void 0x0,clearTimeout(_0x1f7211[_0x5a2107(0x11a)]),_0x1f7211[_0x5a2107(0xed)][_0x5a2107(0x113)][_0x5a2107(0x1a2)]||_0x1f7211[_0x5a2107(0xed)][_0x5a2107(0x113)][_0x5a2107(0x134)]?_0x1f7211[_0x5a2107(0x107)]():(_0x1f7211['_receiver']['on'](_0x5a2107(0x174),_0x18c2fc),_0x1f7211[_0x5a2107(0xed)]['on'](_0x5a2107(0x122),_0x18c2fc));}function _0x3f5798(_0xd6ab63){const _0x5d2cf0=_0x3c3b8c;this[_0x4c3987][_0x5d2cf0(0xed)][_0x5d2cf0(0x13e)](_0xd6ab63)||this[_0x5d2cf0(0x1b3)]();}function _0xbeebe6(){const _0x21b0b2=_0x3c3b8c,_0x1f986f=this[_0x4c3987];_0x1f986f[_0x21b0b2(0x1a8)]=_0x1984c3['CLOSING'],_0x1f986f['_receiver'][_0x21b0b2(0x1c0)](),this[_0x21b0b2(0x1c0)]();}function _0x377df2(){const _0x34a9bf=_0x3c3b8c,_0x1b0d9f=this[_0x4c3987];this[_0x34a9bf(0x1fe)](_0x34a9bf(0x174),_0x377df2),this['on'](_0x34a9bf(0x174),_0x485e94),_0x1b0d9f&&(_0x1b0d9f[_0x34a9bf(0x1a8)]=_0x1984c3[_0x34a9bf(0x12c)],this[_0x34a9bf(0xfa)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x548fdc}=_0x2e27c2;function _0x580981(_0x1a722c){const _0x54dca5=_0x2164;_0x1a722c[_0x54dca5(0x1b6)](_0x54dca5(0x1ec));}function _0x5ce515(){const _0x5a7fe2=_0x2164;!this[_0x5a7fe2(0x11d)]&&this[_0x5a7fe2(0x113)][_0x5a7fe2(0x1a2)]&&this[_0x5a7fe2(0xfa)]();}function _0x423999(_0x41129a){const _0x11a513=_0x2164;this[_0x11a513(0x1fe)](_0x11a513(0x174),_0x423999),this[_0x11a513(0xfa)](),this['listenerCount'](_0x11a513(0x174))===0x0&&this['emit'](_0x11a513(0x174),_0x41129a);}function _0x24ec71(_0x5c11a0,_0x57858f){const _0x3bcb9f=_0x2164;let _0x1e8191=!0x0;const _0x510b0c=new _0x548fdc({..._0x57858f,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x5c11a0['on'](_0x3bcb9f(0x220),function(_0x16f102,_0x262f3a){const _0x546dfd=_0x3bcb9f,_0x2cdc5e=!_0x262f3a&&_0x510b0c[_0x546dfd(0xc3)]['objectMode']?_0x16f102['toString']():_0x16f102;_0x510b0c[_0x546dfd(0xf6)](_0x2cdc5e)||_0x5c11a0[_0x546dfd(0x1b3)]();}),_0x5c11a0[_0x3bcb9f(0x111)](_0x3bcb9f(0x174),function(_0x1793fa){const _0x317d0b=_0x3bcb9f;_0x510b0c[_0x317d0b(0x11d)]||(_0x1e8191=!0x1,_0x510b0c[_0x317d0b(0xfa)](_0x1793fa));}),_0x5c11a0[_0x3bcb9f(0x111)](_0x3bcb9f(0x1ec),function(){const _0x4086c4=_0x3bcb9f;_0x510b0c[_0x4086c4(0x11d)]||_0x510b0c['push'](null);}),_0x510b0c['_destroy']=function(_0x5307ac,_0x516a71){const _0x23adf1=_0x3bcb9f;if(_0x5c11a0[_0x23adf1(0x153)]===_0x5c11a0[_0x23adf1(0x1ad)]){_0x516a71(_0x5307ac),process['nextTick'](_0x580981,_0x510b0c);return;}let _0x417b7e=!0x1;_0x5c11a0[_0x23adf1(0x111)](_0x23adf1(0x174),function(_0x4fe040){_0x417b7e=!0x0,_0x516a71(_0x4fe040);}),_0x5c11a0[_0x23adf1(0x111)]('close',function(){const _0x465a03=_0x23adf1;_0x417b7e||_0x516a71(_0x5307ac),process[_0x465a03(0x235)](_0x580981,_0x510b0c);}),_0x1e8191&&_0x5c11a0[_0x23adf1(0xe1)]();},_0x510b0c[_0x3bcb9f(0x1c7)]=function(_0x598c2a){const _0x506f19=_0x3bcb9f;if(_0x5c11a0[_0x506f19(0x153)]===_0x5c11a0['CONNECTING']){_0x5c11a0[_0x506f19(0x111)](_0x506f19(0x1bf),function(){const _0x532ed6=_0x506f19;_0x510b0c[_0x532ed6(0x1c7)](_0x598c2a);});return;}_0x5c11a0[_0x506f19(0xd6)]!==null&&(_0x5c11a0['_socket']['_writableState'][_0x506f19(0x1a2)]?(_0x598c2a(),_0x510b0c[_0x506f19(0xc3)][_0x506f19(0x12d)]&&_0x510b0c['destroy']()):(_0x5c11a0['_socket'][_0x506f19(0x111)](_0x506f19(0x122),function(){_0x598c2a();}),_0x5c11a0[_0x506f19(0x1ec)]()));},_0x510b0c[_0x3bcb9f(0xa4)]=function(){const _0x30ef4e=_0x3bcb9f;_0x5c11a0[_0x30ef4e(0x117)]&&_0x5c11a0['resume']();},_0x510b0c[_0x3bcb9f(0x131)]=function(_0x3818ab,_0x2cadf8,_0x589482){const _0x14b050=_0x3bcb9f;if(_0x5c11a0[_0x14b050(0x153)]===_0x5c11a0[_0x14b050(0x226)]){_0x5c11a0[_0x14b050(0x111)](_0x14b050(0x1bf),function(){_0x510b0c['_write'](_0x3818ab,_0x2cadf8,_0x589482);});return;}_0x5c11a0[_0x14b050(0x239)](_0x3818ab,_0x589482);},_0x510b0c['on'](_0x3bcb9f(0x1c0),_0x5ce515),_0x510b0c['on'](_0x3bcb9f(0x174),_0x423999),_0x510b0c;}return Oe=_0x24ec71,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function _0x877d(){const _0x26dd25=['pause','port','total-length','emit','WS_ERR_EXPECTED_MASK','isValidUTF8','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','invalid\x20opcode\x20','Server\x20sent\x20no\x20subprotocol','finishRequest','405lZFsxg','followRedirects','open','end','6866902QpNLRz','call','host','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','MASK\x20must\x20be\x20clear','_compressed','_final','clients','listenerCount','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','ping','wss:','connect','protocolVersion','clientMaxWindowBits','10879866chAxKa','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','forEach','2867342orioEw','server','kError','toLowerCase','addEventListener','onmessage','allocUnsafe','_loop','_firstFragment','_closeFrameReceived','consume','WS_ERR_EXPECTED_FIN','method','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','Maximum\x20redirects\x20exceeded','ws:','WebSocket','request','_bufferedAmount','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','sha1','_payloadLength','_redirects','resume','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','close','_injector','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','arrayBuffer','toString','_removeListeners','maxPayload','fragments','construct','Unknown\x20parameter\x20\x22','_server','Invalid\x20Upgrade\x20header','_httpService','path','Cookie','target','has','removeEventListener','removeListener','Unexpected\x20character\x20at\x20index\x20','serverMaxWindowBits','pow','startLoop','Unexpected\x20end\x20of\x20input','then','read','update','href','concat','_originalIpc','_no_context_takeover','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','threshold','protocol','split','handshakeTimeout','_sender','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','catch','sec-websocket-accept','uncork','byteOffset','text/plain','shift','Origin','extensionName','_originalSecure','isBuffer','apply','exports','completeUpgrade','startsWith','message','Sec-WebSocket-Origin','defineProperty','_buffers','kType','handleUpgrade','CONNECTING','pathname','add','get','fin','_isServer','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','kData','_bufferedBytes','HTTP/1.1\x20101\x20Switching\x20Protocols','setTimeout','frame','map','_paused','code','nextTick','_autoPong','unexpected-response','Invalid\x20HTTP\x20method','send','noServer','invalid\x20opcode\x200','dequeue','binaryType','concurrencyLimit','Invalid\x20Sec-WebSocket-Accept\x20header','client_no_context_takeover','_maskBuffer','acceptAsClient','setHeader','writeHead','alloc','sec-websocket-protocol','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','unmask','stream','_closeFrameSent','invalid\x20payload\x20length\x20','Upgrade','_read','writable','registerHTTPInterceptor','_extensions','RSV1\x20must\x20be\x20clear','freeze','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','binary','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','needDrain','includes','getData','_deflate','cleanup','30000AWHiNs','charCodeAt','hostname','object','Server\x20sent\x20an\x20invalid\x20subprotocol','bind','params','sendFrame','number','isInteger','conclude','_generateMask','_registerDependencies','decompress','_shouldEmitClose','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','slice','_readableState','802302goSTkN','listening','Invalid\x20WebSocket\x20frame:\x20','wasClean','writeUIntBE','buffer','setSocket','getBlobData','enqueue','handleEvent','abort','auth','server_max_window_bits','getOwnPropertyDescriptor','clientNoContextTakeover','_skipUTF8Validation','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','arraybuffer','_socket','_totalPayloadLength','socketPath','__esModule','acceptAsServer','onStarting','socket','getConfig','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','isView','13,\x208','terminate','string','WS_ERR_INVALID_OPCODE','warn','_mask','_closeMessage','1128RoVqPu','cookie','sec-websocket-version','Connection:\x20Upgrade','constructor','createSocket','_receiver','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','getMask','concurrency','length','autoPong','_url','serverNoContextTakeover','generateMask','push','_decompress','readUInt16BE','isArray','destroy','username','_state','kMessage','unshift','_messageLength','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','url','_errorEmitted','sec-websocket-key','password','zlibInflateOptions','\x22:\x20','emitClose','hasOwnProperty','normalizeParams','getPayloadLength16','timeout','skipUTF8Validation','join','origin','indexOf','format','once','_closeCode','_writableState','Sec-WebSocket-Extensions','text/html','_req','isPaused','address','compress','_closeTimer','env','_doCreateSocket','destroyed','readOnly','controlMessage','replace','permessage-deflate','finish','toStringTag','captureStackTrace','listen','_allowSynchronousEvents','response','\x22\x20must\x20have\x20only\x20a\x20single\x20value','_options','kByteLength','set','CLOSING','endEmitted','Invalid\x20URL:\x20','sec-websocket-origin','_protocol','_write','server_no_context_takeover','keys','errorEmitted','data','_configService','dispatch','onopen','_binaryType','_compress','allowSynchronousEvents','upgrade','getInfo','write','_errored','servername','getPayloadLength64','_maxPayload','default','writeUInt16BE','websocket','_fin','mask','setNoDelay','buffers','prototype','_queue','headers','Invalid\x20value\x20for\x20parameter\x20\x22','OPEN','WS_NO_BUFFER_UTIL','invalid\x20UTF-8\x20sequence','encrypted','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','readyState','_masked','species','byteLength','opcode','pong','extensions','Basic\x20','next','setConfig','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','from','hash','121854hlLuXw','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','pending','_fragments','onerror','offer','removeAllListeners','GET','customHeaders','maxRedirects','perMessageDeflate','statusCode','Invalid\x20Sec-WebSocket-Extensions\x20header','shouldHandle','Sec-WebSocket-Accept:\x20','authorization','client_max_window_bits','reset','dataMessage','blob','error','createDeflateRaw','jobs','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','Sec-WebSocket-Protocol','test','listeners','wsClientError','options','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','type','13486wFeJqP','_inflate','defaultPort','kIsForOnEventAttribute','delete','File','values','Z_DEFAULT_WINDOWBITS','reason','onclose','Sec-WebSocket-Extensions:\x20','readUInt32BE','pipe','createError','\x22\x20subprotocol\x20is\x20duplicated','_threshold','size','maskBuffer','verifyClient','nodebuffer','base64','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','redirect','STATUS_CODES','_fragmented','_originalHostOrSocketPath','WS_ERR_INVALID_UTF8','createInflateRaw','WS_ERR_UNEXPECTED_RSV_1','bufferedAmount','The\x20server\x20is\x20not\x20running','ws+unix:','value','HTTP/1.1\x20','handleProtocols','finished','8RCJnHZ','The\x20\x22','function','create','sec-websocket-extensions','_readyState','haveLength','Unsupported\x20protocol\x20version:\x20','kListener','_opcode','CLOSED','WS_ERR_UNEXPECTED_RSV_2_3','parse','8358IcCBDt','kTarget','dispose'];_0x877d=function(){return _0x26dd25;};return _0x877d();}function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x238c97}=ne();function _0x119ac8(_0x35a07d){const _0x37c7bb=_0x2164,_0x29dc98=new Set();let _0x317017=-0x1,_0x1be5f8=-0x1,_0x2856b5=0x0;for(_0x2856b5;_0x2856b5<_0x35a07d[_0x37c7bb(0xf1)];_0x2856b5++){const _0x31836b=_0x35a07d[_0x37c7bb(0xb3)](_0x2856b5);if(_0x1be5f8===-0x1&&_0x238c97[_0x31836b]===0x1)_0x317017===-0x1&&(_0x317017=_0x2856b5);else{if(_0x2856b5!==0x0&&(_0x31836b===0x20||_0x31836b===0x9))_0x1be5f8===-0x1&&_0x317017!==-0x1&&(_0x1be5f8=_0x2856b5);else{if(_0x31836b===0x2c){if(_0x317017===-0x1)throw new SyntaxError(_0x37c7bb(0x1ff)+_0x2856b5);_0x1be5f8===-0x1&&(_0x1be5f8=_0x2856b5);const _0x5c0f3c=_0x35a07d[_0x37c7bb(0xc2)](_0x317017,_0x1be5f8);if(_0x29dc98['has'](_0x5c0f3c))throw new SyntaxError('The\x20\x22'+_0x5c0f3c+'\x22\x20subprotocol\x20is\x20duplicated');_0x29dc98[_0x37c7bb(0x228)](_0x5c0f3c),_0x317017=_0x1be5f8=-0x1;}else throw new SyntaxError(_0x37c7bb(0x1ff)+_0x2856b5);}}}if(_0x317017===-0x1||_0x1be5f8!==-0x1)throw new SyntaxError(_0x37c7bb(0x203));const _0x3bd07c=_0x35a07d[_0x37c7bb(0xc2)](_0x317017,_0x2856b5);if(_0x29dc98[_0x37c7bb(0x1fc)](_0x3bd07c))throw new SyntaxError(_0x37c7bb(0x1a4)+_0x3bd07c+_0x37c7bb(0x18d));return _0x29dc98[_0x37c7bb(0x228)](_0x3bd07c),_0x29dc98;}return Ce={'parse':_0x119ac8},Ce;}var Te,ot;function er(){const _0xe3a3c4=_0x43e910;if(ot)return Te;ot=0x1;const _0xc074e=_0x4ded73,_0x5a5da9=_0xf64680,{Duplex:_0x38928c}=_0x2e27c2,{createHash:_0x2d1031}=_0x303447,_0x49e4b4=pt(),_0x1d4f0b=he(),_0x20c6d7=Jt(),_0x27484f=Ie(),{GUID:_0x1ffc9b,kWebSocket:_0x47083c}=V(),_0x3d1b22=/^[+/0-9A-Za-z]{22}==$/,_0x5037fb=0x0,_0x49091a=0x1,_0x48130b=0x2;class _0x22b954 extends _0xc074e{constructor(_0x24b3b6,_0x1ffc2c){const _0x190e42=_0x2164;if(super(),_0x24b3b6={'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':_0x27484f,..._0x24b3b6},_0x24b3b6[_0x190e42(0x1b4)]==null&&!_0x24b3b6[_0x190e42(0x1d4)]&&!_0x24b3b6[_0x190e42(0x23a)]||_0x24b3b6[_0x190e42(0x1b4)]!=null&&(_0x24b3b6[_0x190e42(0x1d4)]||_0x24b3b6[_0x190e42(0x23a)])||_0x24b3b6[_0x190e42(0x1d4)]&&_0x24b3b6[_0x190e42(0x23a)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x24b3b6[_0x190e42(0x1b4)]!=null?(this[_0x190e42(0x1f6)]=_0x5a5da9['createServer']((_0x3440fd,_0x5e6aec)=>{const _0xbaa1b=_0x190e42,_0x471132=_0x5a5da9[_0xbaa1b(0x196)][0x1aa];_0x5e6aec[_0xbaa1b(0x9b)](0x1aa,{'Content-Length':_0x471132[_0xbaa1b(0xf1)],'Content-Type':_0xbaa1b(0x216)}),_0x5e6aec[_0xbaa1b(0x1c0)](_0x471132);}),this['_server'][_0x190e42(0x125)](_0x24b3b6[_0x190e42(0x1b4)],_0x24b3b6[_0x190e42(0x1c3)],_0x24b3b6['backlog'],_0x1ffc2c)):_0x24b3b6['server']&&(this[_0x190e42(0x1f6)]=_0x24b3b6['server']),this[_0x190e42(0x1f6)]){const _0x377daf=this['emit'][_0x190e42(0xb7)](this,'connection');this[_0x190e42(0x1f1)]=_0x2a1e4b(this[_0x190e42(0x1f6)],{'listening':this[_0x190e42(0x1b6)][_0x190e42(0xb7)](this,_0x190e42(0xc5)),'error':this[_0x190e42(0x1b6)][_0x190e42(0xb7)](this,_0x190e42(0x174)),'upgrade':(_0x2f5ddb,_0xfccbb4,_0x2958a4)=>{this['handleUpgrade'](_0x2f5ddb,_0xfccbb4,_0x2958a4,_0x377daf);}});}_0x24b3b6[_0x190e42(0x16a)]===!0x0&&(_0x24b3b6['perMessageDeflate']={}),_0x24b3b6['clientTracking']&&(this[_0x190e42(0x1c8)]=new Set(),this[_0x190e42(0xc0)]=!0x1),this[_0x190e42(0x17c)]=_0x24b3b6,this['_state']=_0x5037fb;}[_0xe3a3c4(0x118)](){const _0x14d868=_0xe3a3c4;if(this['options']['noServer'])throw new Error(_0x14d868(0x1ca));return this[_0x14d868(0x1f6)]?this[_0x14d868(0x1f6)][_0x14d868(0x118)]():null;}[_0xe3a3c4(0x1ec)](_0x37d7f6){const _0x29048c=_0xe3a3c4;if(this['_state']===_0x48130b){_0x37d7f6&&this[_0x29048c(0x111)](_0x29048c(0x1ec),()=>{const _0x92f333=_0x29048c;_0x37d7f6(new Error(_0x92f333(0x19d)));}),process[_0x29048c(0x235)](_0x98a187,this);return;}if(_0x37d7f6&&this[_0x29048c(0x111)](_0x29048c(0x1ec),_0x37d7f6),this['_state']!==_0x49091a){if(this[_0x29048c(0xfc)]=_0x49091a,this['options'][_0x29048c(0x23a)]||this[_0x29048c(0x17c)][_0x29048c(0x1d4)])this['_server']&&(this[_0x29048c(0x1f1)](),this[_0x29048c(0x1f1)]=this['_server']=null),this['clients']?this[_0x29048c(0x1c8)]['size']?this['_shouldEmitClose']=!0x0:process[_0x29048c(0x235)](_0x98a187,this):process[_0x29048c(0x235)](_0x98a187,this);else{const _0x2823f1=this['_server'];this[_0x29048c(0x1f1)](),this[_0x29048c(0x1f1)]=this['_server']=null,_0x2823f1[_0x29048c(0x1ec)](()=>{_0x98a187(this);});}}}[_0xe3a3c4(0x16d)](_0x21165a){const _0x3fdbe3=_0xe3a3c4;if(this[_0x3fdbe3(0x17c)][_0x3fdbe3(0x1f9)]){const _0x6ff230=_0x21165a[_0x3fdbe3(0x101)][_0x3fdbe3(0x10f)]('?');if((_0x6ff230!==-0x1?_0x21165a['url'][_0x3fdbe3(0xc2)](0x0,_0x6ff230):_0x21165a[_0x3fdbe3(0x101)])!==this['options'][_0x3fdbe3(0x1f9)])return!0x1;}return!0x0;}[_0xe3a3c4(0x225)](_0x4b3e36,_0x3201b5,_0xa5b65e,_0x175b04){const _0x138ba2=_0xe3a3c4;_0x3201b5['on'](_0x138ba2(0x174),_0x52ae42);const _0x3a129a=_0x4b3e36[_0x138ba2(0x14c)][_0x138ba2(0x103)],_0x1fb4cc=_0x4b3e36[_0x138ba2(0x14c)][_0x138ba2(0x13c)],_0x330422=+_0x4b3e36[_0x138ba2(0x14c)][_0x138ba2(0xe9)];if(_0x4b3e36[_0x138ba2(0x1df)]!==_0x138ba2(0x167)){_0x2a7cfd(this,_0x4b3e36,_0x3201b5,0x195,_0x138ba2(0x238));return;}if(_0x1fb4cc===void 0x0||_0x1fb4cc[_0x138ba2(0x1d6)]()!==_0x138ba2(0x145)){_0x2a7cfd(this,_0x4b3e36,_0x3201b5,0x190,_0x138ba2(0x1f7));return;}if(_0x3a129a===void 0x0||!_0x3d1b22[_0x138ba2(0x179)](_0x3a129a)){_0x2a7cfd(this,_0x4b3e36,_0x3201b5,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x330422!==0xd&&_0x330422!==0x8){_0x2a7cfd(this,_0x4b3e36,_0x3201b5,0x190,_0x138ba2(0x1ee),{'Sec-WebSocket-Version':_0x138ba2(0xe0)});return;}if(!this[_0x138ba2(0x16d)](_0x4b3e36)){_0x3672c0(_0x3201b5,0x190);return;}const _0x3a6791=_0x4b3e36[_0x138ba2(0x14c)]['sec-websocket-protocol'];let _0x17f67b=new Set();if(_0x3a6791!==void 0x0)try{_0x17f67b=_0x20c6d7[_0x138ba2(0x1af)](_0x3a6791);}catch{_0x2a7cfd(this,_0x4b3e36,_0x3201b5,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x2abb3d=_0x4b3e36[_0x138ba2(0x14c)][_0x138ba2(0x1a7)],_0x2f4fd0={};if(this['options'][_0x138ba2(0x16a)]&&_0x2abb3d!==void 0x0){const _0x1bed07=new _0x1d4f0b(this[_0x138ba2(0x17c)][_0x138ba2(0x16a)],!0x0,this[_0x138ba2(0x17c)]['maxPayload']);try{const _0x7e65ab=_0x49e4b4['parse'](_0x2abb3d);_0x7e65ab[_0x1d4f0b['extensionName']]&&(_0x1bed07['accept'](_0x7e65ab[_0x1d4f0b[_0x138ba2(0x219)]]),_0x2f4fd0[_0x1d4f0b[_0x138ba2(0x219)]]=_0x1bed07);}catch{_0x2a7cfd(this,_0x4b3e36,_0x3201b5,0x190,_0x138ba2(0x100));return;}}if(this[_0x138ba2(0x17c)][_0x138ba2(0x191)]){const _0x5c41de={'origin':_0x4b3e36['headers'][''+(_0x330422===0x8?_0x138ba2(0x12f):_0x138ba2(0x10e))],'secure':!!(_0x4b3e36['socket']['authorized']||_0x4b3e36[_0x138ba2(0xdc)][_0x138ba2(0x151)]),'req':_0x4b3e36};if(this['options'][_0x138ba2(0x191)][_0x138ba2(0xf1)]===0x2){this[_0x138ba2(0x17c)][_0x138ba2(0x191)](_0x5c41de,(_0x18d5ec,_0x34582d,_0x5dca17,_0x55aaff)=>{if(!_0x18d5ec)return _0x3672c0(_0x3201b5,_0x34582d||0x191,_0x5dca17,_0x55aaff);this['completeUpgrade'](_0x2f4fd0,_0x3a129a,_0x17f67b,_0x4b3e36,_0x3201b5,_0xa5b65e,_0x175b04);});return;}if(!this['options'][_0x138ba2(0x191)](_0x5c41de))return _0x3672c0(_0x3201b5,0x191);}this['completeUpgrade'](_0x2f4fd0,_0x3a129a,_0x17f67b,_0x4b3e36,_0x3201b5,_0xa5b65e,_0x175b04);}[_0xe3a3c4(0x21e)](_0x1ca310,_0x4053f0,_0x24bd97,_0x5451b6,_0x44522e,_0x3f9b1a,_0x146cb7){const _0x14f2d0=_0xe3a3c4;if(!_0x44522e['readable']||!_0x44522e[_0x14f2d0(0xa5)])return _0x44522e[_0x14f2d0(0xfa)]();if(_0x44522e[_0x47083c])throw new Error(_0x14f2d0(0xaa));if(this[_0x14f2d0(0xfc)]>_0x5037fb)return _0x3672c0(_0x44522e,0x1f7);const _0x581a6b=[_0x14f2d0(0x22f),'Upgrade:\x20websocket',_0x14f2d0(0xea),_0x14f2d0(0x16e)+_0x2d1031(_0x14f2d0(0x1e7))[_0x14f2d0(0x206)](_0x4053f0+_0x1ffc9b)['digest'](_0x14f2d0(0x193))],_0x3c7c45=new this[(_0x14f2d0(0x17c))][(_0x14f2d0(0x1e3))](null,void 0x0,this[_0x14f2d0(0x17c)]);if(_0x24bd97[_0x14f2d0(0x18f)]){const _0x54fb6b=this[_0x14f2d0(0x17c)]['handleProtocols']?this[_0x14f2d0(0x17c)][_0x14f2d0(0x1a1)](_0x24bd97,_0x5451b6):_0x24bd97[_0x14f2d0(0x185)]()[_0x14f2d0(0x15b)]()[_0x14f2d0(0x19f)];_0x54fb6b&&(_0x581a6b[_0x14f2d0(0xf6)]('Sec-WebSocket-Protocol:\x20'+_0x54fb6b),_0x3c7c45[_0x14f2d0(0x130)]=_0x54fb6b);}if(_0x1ca310[_0x1d4f0b[_0x14f2d0(0x219)]]){const _0x124978=_0x1ca310[_0x1d4f0b[_0x14f2d0(0x219)]][_0x14f2d0(0xb8)],_0x9787a2=_0x49e4b4[_0x14f2d0(0x110)]({[_0x1d4f0b[_0x14f2d0(0x219)]]:[_0x124978]});_0x581a6b[_0x14f2d0(0xf6)](_0x14f2d0(0x189)+_0x9787a2),_0x3c7c45[_0x14f2d0(0xa7)]=_0x1ca310;}this[_0x14f2d0(0x1b6)]('headers',_0x581a6b,_0x5451b6),_0x44522e[_0x14f2d0(0x13e)](_0x581a6b[_0x14f2d0(0x208)]('\x0d\x0a')[_0x14f2d0(0x10d)]('\x0d\x0a')),_0x44522e['removeListener'](_0x14f2d0(0x174),_0x52ae42),_0x3c7c45[_0x14f2d0(0xca)](_0x44522e,_0x3f9b1a,{'allowSynchronousEvents':this[_0x14f2d0(0x17c)][_0x14f2d0(0x13b)],'maxPayload':this[_0x14f2d0(0x17c)]['maxPayload'],'skipUTF8Validation':this[_0x14f2d0(0x17c)]['skipUTF8Validation']}),this[_0x14f2d0(0x1c8)]&&(this[_0x14f2d0(0x1c8)][_0x14f2d0(0x228)](_0x3c7c45),_0x3c7c45['on'](_0x14f2d0(0x1ec),()=>{const _0x3cc38a=_0x14f2d0;this['clients'][_0x3cc38a(0x183)](_0x3c7c45),this['_shouldEmitClose']&&!this[_0x3cc38a(0x1c8)][_0x3cc38a(0x18f)]&&process[_0x3cc38a(0x235)](_0x98a187,this);})),_0x146cb7(_0x3c7c45,_0x5451b6);}}Te=_0x22b954;function _0x2a1e4b(_0x2d7566,_0x4db3fb){const _0x2afd37=_0xe3a3c4;for(const _0x3561b9 of Object[_0x2afd37(0x133)](_0x4db3fb))_0x2d7566['on'](_0x3561b9,_0x4db3fb[_0x3561b9]);return function(){const _0x90b10a=_0x2afd37;for(const _0x1801b5 of Object['keys'](_0x4db3fb))_0x2d7566[_0x90b10a(0x1fe)](_0x1801b5,_0x4db3fb[_0x1801b5]);};}function _0x98a187(_0x433e8a){const _0x8202f8=_0xe3a3c4;_0x433e8a[_0x8202f8(0xfc)]=_0x48130b,_0x433e8a[_0x8202f8(0x1b6)](_0x8202f8(0x1ec));}function _0x52ae42(){const _0x3af844=_0xe3a3c4;this[_0x3af844(0xfa)]();}function _0x3672c0(_0x5db179,_0x544cc2,_0x51ca3b,_0x4e62c6){const _0xb75774=_0xe3a3c4;_0x51ca3b=_0x51ca3b||_0x5a5da9[_0xb75774(0x196)][_0x544cc2],_0x4e62c6={'Connection':'close','Content-Type':_0xb75774(0x115),'Content-Length':Buffer['byteLength'](_0x51ca3b),..._0x4e62c6},_0x5db179[_0xb75774(0x111)](_0xb75774(0x122),_0x5db179[_0xb75774(0xfa)]),_0x5db179['end'](_0xb75774(0x1a0)+_0x544cc2+'\x20'+_0x5a5da9[_0xb75774(0x196)][_0x544cc2]+'\x0d\x0a'+Object[_0xb75774(0x133)](_0x4e62c6)[_0xb75774(0x232)](_0x5621cb=>_0x5621cb+':\x20'+_0x4e62c6[_0x5621cb])[_0xb75774(0x10d)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x51ca3b);}function _0x2a7cfd(_0x2296f4,_0x5d5bb9,_0x208887,_0x101ac2,_0x47480f,_0xb63236){const _0x1bca60=_0xe3a3c4;if(_0x2296f4[_0x1bca60(0x1c9)](_0x1bca60(0x17b))){const _0xee73d0=new Error(_0x47480f);Error[_0x1bca60(0x124)](_0xee73d0,_0x2a7cfd),_0x2296f4[_0x1bca60(0x1b6)](_0x1bca60(0x17b),_0xee73d0,_0x208887,_0x5d5bb9);}else _0x3672c0(_0x208887,_0x101ac2,_0x47480f,_0xb63236);}return Te;}er();var tr=Object['getOwnPropertyDescriptor'],rr=(_0x49e57e,_0x57c056,_0x531286,_0x353b21)=>{const _0x37d66f=_0x43e910;for(var _0x1079e7=_0x353b21>0x1?void 0x0:_0x353b21?tr(_0x57c056,_0x531286):_0x57c056,_0x46bfd7=_0x49e57e[_0x37d66f(0xf1)]-0x1,_0x1c9c73;_0x46bfd7>=0x0;_0x46bfd7--)(_0x1c9c73=_0x49e57e[_0x46bfd7])&&(_0x1079e7=_0x1c9c73(_0x1079e7)||_0x1079e7);return _0x1079e7;},sr=(_0x121cba,_0x25c6b3)=>(_0x34cf04,_0xff2569)=>_0x25c6b3(_0x34cf04,_0xff2569,_0x121cba);let Ne=class extends _0x59fd99{constructor(_0x5b2767){const _0x566b38=_0x43e910;super(),this[_0x566b38(0x136)]=_0x5b2767;}[_0x43e910(0xec)](_0x109cee){const _0x2941e4=_0x43e910;var _0x3d79bf;const _0x6db7f=(_0x3d79bf=this['_configService'][_0x2941e4(0xdd)](Be))==null?void 0x0:_0x3d79bf['customHeaders'];try{const _0x58a2fd=new Qt(_0x109cee,{'headers':{..._0x6db7f}}),_0x5a51b4=new _0x246e67();return{'URL':_0x109cee,'close':(_0x5eb2d1,_0x365cc6)=>{const _0x25fc70=_0x2941e4;_0x58a2fd['close'](_0x5eb2d1,_0x365cc6),_0x5a51b4[_0x25fc70(0x1b2)]();},'send':_0x56c3b0=>{_0x58a2fd['send'](_0x56c3b0);},'open$':new _0x3096d9(_0x28ae9c=>{const _0x31de82=_0x2941e4,_0x15f38d=_0x583c68=>_0x28ae9c[_0x31de82(0x15b)](_0x583c68);_0x58a2fd[_0x31de82(0x1d7)](_0x31de82(0x1bf),_0x15f38d),_0x5a51b4['add'](_0x3456c6(()=>_0x58a2fd[_0x31de82(0x1fd)](_0x31de82(0x1bf),_0x15f38d)));})[_0x2941e4(0x18b)](_0x2b47bf()),'close$':new _0x3096d9(_0x19538b=>{const _0x2c6e51=_0x2941e4,_0x328670=_0x2b7691=>_0x19538b[_0x2c6e51(0x15b)](_0x2b7691);_0x58a2fd[_0x2c6e51(0x1d7)](_0x2c6e51(0x1ec),_0x328670),_0x5a51b4[_0x2c6e51(0x228)](_0x3456c6(()=>_0x58a2fd[_0x2c6e51(0x1fd)](_0x2c6e51(0x1ec),_0x328670)));})[_0x2941e4(0x18b)](_0x2b47bf()),'error$':new _0x3096d9(_0x566495=>{const _0x41719f=_0x2941e4,_0xa04984=_0x7ba192=>_0x566495[_0x41719f(0x15b)](_0x7ba192);_0x58a2fd[_0x41719f(0x1d7)]('error',_0xa04984),_0x5a51b4[_0x41719f(0x228)](_0x3456c6(()=>_0x58a2fd[_0x41719f(0x1fd)]('error',_0xa04984)));})[_0x2941e4(0x18b)](_0x2b47bf()),'message$':new _0x3096d9(_0x41c9ac=>{const _0x2d9eb=_0x2941e4,_0x38f94b=_0x95076c=>_0x41c9ac['next'](_0x95076c);_0x58a2fd[_0x2d9eb(0x1d7)](_0x2d9eb(0x220),_0x38f94b),_0x5a51b4[_0x2d9eb(0x228)](_0x3456c6(()=>_0x58a2fd[_0x2d9eb(0x1fd)]('message',_0x38f94b)));})['pipe'](_0x2b47bf())};}catch(_0x205690){return console[_0x2941e4(0x174)](_0x205690),null;}}};Ne=rr([sr(0x0,_0x3170ef)],Ne);var ir=Object[_0x43e910(0x222)],nr=Object[_0x43e910(0xd1)],or=(_0x2155cb,_0x46b271,_0x538e51)=>_0x46b271 in _0x2155cb?ir(_0x2155cb,_0x46b271,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x538e51}):_0x2155cb[_0x46b271]=_0x538e51,ar=(_0x172de8,_0x1b13e9,_0x3fb256,_0x499a1a)=>{const _0x29d165=_0x43e910;for(var _0x23cbde=_0x499a1a>0x1?void 0x0:_0x499a1a?nr(_0x1b13e9,_0x3fb256):_0x1b13e9,_0x12ca0a=_0x172de8[_0x29d165(0xf1)]-0x1,_0x1671cb;_0x12ca0a>=0x0;_0x12ca0a--)(_0x1671cb=_0x172de8[_0x12ca0a])&&(_0x23cbde=_0x1671cb(_0x23cbde)||_0x23cbde);return _0x23cbde;},ke=(_0x36192e,_0x427a2e)=>(_0x48e9fc,_0x150a40)=>_0x427a2e(_0x48e9fc,_0x150a40,_0x36192e),lr=(_0x32ba57,_0x3615bd,_0x4e7b03)=>or(_0x32ba57,_0x3615bd+'',_0x4e7b03);let Pe=class extends _0x5df74e{constructor(_0x3d9f58=Ft,_0xe9019d,_0x3dcd68,_0x3494fb){const _0x5a62a8=_0x43e910;_0x3d9f58[_0x5a62a8(0x168)]||_0xe9019d[_0x5a62a8(0xe4)](_0x5a62a8(0x15d)),super(),this[_0x5a62a8(0x136)]=_0x3dcd68,this[_0x5a62a8(0x1ed)]=_0x3494fb,this['_configService'][_0x5a62a8(0x15c)](Be,_0x3d9f58);}[_0x43e910(0xdb)](){this['_registerDependencies']();}[_0x43e910(0xbe)](){const _0x2b4614=_0x43e910;_0x475674(this[_0x2b4614(0x1ed)],[[_0x1f8d2e,{'useClass':Ne}]]);}};lr(Pe,'pluginName','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),Pe=ar([_0x2cbb5d(_0x2cd25c),ke(0x1,_0x3c9dc0),ke(0x2,_0x3170ef),ke(0x3,_0x53361d(_0x2c7cec))],Pe);var fr=Object[_0x43e910(0xd1)],cr=(_0x59cb1e,_0x42ba97,_0x2227ac,_0x654cf4)=>{const _0x515633=_0x43e910;for(var _0x48faa6=_0x654cf4>0x1?void 0x0:_0x654cf4?fr(_0x42ba97,_0x2227ac):_0x42ba97,_0x15946a=_0x59cb1e[_0x515633(0xf1)]-0x1,_0x29aaf0;_0x15946a>=0x0;_0x15946a--)(_0x29aaf0=_0x59cb1e[_0x15946a])&&(_0x48faa6=_0x29aaf0(_0x48faa6)||_0x48faa6);return _0x48faa6;},se=(_0x1797f5,_0x1fb3d5)=>(_0x484f5d,_0x10efc2)=>_0x1fb3d5(_0x484f5d,_0x10efc2,_0x1797f5);let at=class extends _0x2adc87{constructor(_0x43e25f,_0xb6a62e,_0x3103cb,_0x5d6fd8,_0x107995){const _0x311e77=_0x43e910;super(_0x43e25f,_0xb6a62e,_0x3103cb,_0x5d6fd8,_0x107995);const _0x426fd9=this['_configService'][_0x311e77(0xdd)](Be);this[_0x311e77(0x1f8)][_0x311e77(0xa6)]({'interceptor':(_0x34cd86,_0x4ba06f)=>{const _0x3c6592=_0x311e77;var _0x3e375c;const _0x337512=_0x34cd86[_0x3c6592(0x14c)];return(_0x3e375c=_0x426fd9==null?void 0x0:_0x426fd9[_0x3c6592(0x168)])!=null&&_0x3e375c[_0x3c6592(0xe8)]&&_0x337512[_0x3c6592(0x12b)](_0x3c6592(0x1fa),_0x426fd9[_0x3c6592(0x168)][_0x3c6592(0xe8)]),_0x4ba06f(_0x34cd86);}});}async['createSocket'](_0x370324){const _0x41d1b7=_0x43e910;return this[_0x41d1b7(0x11c)](_0x370324);}};at=cr([se(0x0,_0x53361d(_0x2c7cec)),se(0x1,_0x53361d(_0x56fa19)),se(0x2,_0x3170ef),se(0x3,_0x3c9dc0),se(0x4,_0x1d2590)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|
|
1
|
+
const _0x28e367=_0x2a0f;(function(_0x18e135,_0x1cc05b){const _0x56621a=_0x2a0f,_0x4febe3=_0x18e135();while(!![]){try{const _0x10f697=parseInt(_0x56621a(0x133))/0x1+parseInt(_0x56621a(0x280))/0x2*(-parseInt(_0x56621a(0x180))/0x3)+parseInt(_0x56621a(0x1eb))/0x4*(-parseInt(_0x56621a(0x22c))/0x5)+parseInt(_0x56621a(0x2a2))/0x6+parseInt(_0x56621a(0x233))/0x7+parseInt(_0x56621a(0x219))/0x8*(parseInt(_0x56621a(0x1ee))/0x9)+-parseInt(_0x56621a(0x27f))/0xa*(-parseInt(_0x56621a(0x172))/0xb);if(_0x10f697===_0x1cc05b)break;else _0x4febe3['push'](_0x4febe3['shift']());}catch(_0xd16018){_0x4febe3['push'](_0x4febe3['shift']());}}}(_0x2341,0x98763));import{UniverCollaborationClientPlugin as _0xcb19d4,CollaborationSocketService as _0x45fd0b}from'@univerjs-pro/collaboration-client';import{Disposable as _0x281b24,DisposableCollection as _0x5c6dab,toDisposable as _0x4b5925,IConfigService as _0x45f3b3,DependentOn as _0xba02a8,ILogService as _0x141a25,Inject as _0x186489,Injector as _0x4b24c5,Plugin as _0x59e6da,registerDependencies as _0x5f1960}from'@univerjs/core';import{ISocketService as _0x334058,HTTPService as _0x1fc5b1}from'@univerjs/network';import{Observable as _0x305d0a,share as _0x4e0ccf}from'rxjs';import _0xf4ab10 from'events';import _0x5327a0 from'https';import _0x137d48 from'http';import _0x38b550 from'net';import _0xa21b2e from'tls';import _0xf1bddb from'crypto';import _0x22181d from'stream';import _0x2d4f24 from'url';import _0x532961 from'zlib';import _0x3f1356 from'buffer';import{ISnapshotServerService as _0x77e347}from'@univerjs-pro/collaboration';const Be='collaboration-client-node.config',Ft={'customHeaders':{}};function Wt(_0xbbf7b3){const _0x4f8eb1=_0x2a0f;return _0xbbf7b3&&_0xbbf7b3[_0x4f8eb1(0x231)]&&Object['prototype']['hasOwnProperty']['call'](_0xbbf7b3,_0x4f8eb1(0x1e1))?_0xbbf7b3['default']:_0xbbf7b3;}function _0x2a0f(_0x11be1b,_0x8bee60){_0x11be1b=_0x11be1b-0xf6;const _0x234180=_0x2341();let _0x2a0fa0=_0x234180[_0x11be1b];return _0x2a0fa0;}function ut(_0x2df6f7){const _0x48ab75=_0x2a0f;if(Object[_0x48ab75(0x29c)][_0x48ab75(0x255)][_0x48ab75(0x1a2)](_0x2df6f7,_0x48ab75(0x231)))return _0x2df6f7;var _0x422062=_0x2df6f7[_0x48ab75(0x1e1)];if(typeof _0x422062==_0x48ab75(0x1a9)){var _0x2c6b2b=function _0xfa27a3(){const _0x503ae9=_0x48ab75;var _0xb15760=!0x1;try{_0xb15760=this instanceof _0xfa27a3;}catch{}return _0xb15760?Reflect[_0x503ae9(0x21d)](_0x422062,arguments,this[_0x503ae9(0x265)]):_0x422062[_0x503ae9(0x25b)](this,arguments);};_0x2c6b2b['prototype']=_0x422062[_0x48ab75(0x29c)];}else _0x2c6b2b={};return Object[_0x48ab75(0x185)](_0x2c6b2b,'__esModule',{'value':!0x0}),Object['keys'](_0x2df6f7)[_0x48ab75(0x157)](function(_0x4406ad){const _0x3deb30=_0x48ab75;var _0x2b1bb2=Object[_0x3deb30(0x105)](_0x2df6f7,_0x4406ad);Object[_0x3deb30(0x185)](_0x2c6b2b,_0x4406ad,_0x2b1bb2[_0x3deb30(0x1c7)]?_0x2b1bb2:{'enumerable':!0x0,'get':function(){return _0x2df6f7[_0x4406ad];}});}),_0x2c6b2b;}var te={'exports':{}},ge,Ye;function V(){const _0x24d619=_0x2a0f;if(Ye)return ge;Ye=0x1;const _0x3afdc5=[_0x24d619(0x1e9),_0x24d619(0x11e),_0x24d619(0x145)],_0x20eff7=typeof Blob<'u';return _0x20eff7&&_0x3afdc5['push'](_0x24d619(0x29e)),ge={'BINARY_TYPES':_0x3afdc5,'EMPTY_BUFFER':Buffer[_0x24d619(0x211)](0x0),'GUID':_0x24d619(0x1b0),'hasBlob':_0x20eff7,'kForOnEventAttribute':Symbol(_0x24d619(0x29d)),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x24d619(0x112)),'kWebSocket':Symbol(_0x24d619(0x16d)),'NOOP':()=>{}},ge;}const jt={},Gt=Object['freeze'](Object[_0x28e367(0x185)]({'__proto__':null,'default':jt},Symbol[_0x28e367(0x11b)],{'value':_0x28e367(0x215)})),Vt=ut(Gt);var Ke;function ce(){const _0x36fbf7=_0x28e367;if(Ke)return te[_0x36fbf7(0x28f)];Ke=0x1;const {EMPTY_BUFFER:_0x263121}=V(),_0x3a0fce=Buffer[Symbol[_0x36fbf7(0x1cd)]];function _0x5ef1bf(_0x32f887,_0x6e2071){const _0x48c1ed=_0x36fbf7;if(_0x32f887[_0x48c1ed(0x264)]===0x0)return _0x263121;if(_0x32f887['length']===0x1)return _0x32f887[0x0];const _0x4c75c1=Buffer['allocUnsafe'](_0x6e2071);let _0x4c13b5=0x0;for(let _0x4b932d=0x0;_0x4b932d<_0x32f887[_0x48c1ed(0x264)];_0x4b932d++){const _0x3d4282=_0x32f887[_0x4b932d];_0x4c75c1['set'](_0x3d4282,_0x4c13b5),_0x4c13b5+=_0x3d4282[_0x48c1ed(0x264)];}return _0x4c13b5<_0x6e2071?new _0x3a0fce(_0x4c75c1[_0x48c1ed(0x262)],_0x4c75c1[_0x48c1ed(0x1be)],_0x4c13b5):_0x4c75c1;}function _0x10e437(_0x35cf8e,_0x83759a,_0x19e99a,_0x34b83f,_0x29a1ee){for(let _0x22418a=0x0;_0x22418a<_0x29a1ee;_0x22418a++)_0x19e99a[_0x34b83f+_0x22418a]=_0x35cf8e[_0x22418a]^_0x83759a[_0x22418a&0x3];}function _0x56f535(_0x543e5f,_0x2fa1ef){const _0x2eb8d3=_0x36fbf7;for(let _0x42a4b7=0x0;_0x42a4b7<_0x543e5f[_0x2eb8d3(0x264)];_0x42a4b7++)_0x543e5f[_0x42a4b7]^=_0x2fa1ef[_0x42a4b7&0x3];}function _0x6595cf(_0x5cd96b){const _0x47959e=_0x36fbf7;return _0x5cd96b['length']===_0x5cd96b[_0x47959e(0x262)][_0x47959e(0x139)]?_0x5cd96b[_0x47959e(0x262)]:_0x5cd96b['buffer'][_0x47959e(0x1fb)](_0x5cd96b[_0x47959e(0x1be)],_0x5cd96b[_0x47959e(0x1be)]+_0x5cd96b[_0x47959e(0x264)]);}function _0x2df063(_0x43c8dc){const _0x59e28a=_0x36fbf7;if(_0x2df063['readOnly']=!0x0,Buffer['isBuffer'](_0x43c8dc))return _0x43c8dc;let _0x2c1948;return _0x43c8dc instanceof ArrayBuffer?_0x2c1948=new _0x3a0fce(_0x43c8dc):ArrayBuffer[_0x59e28a(0x242)](_0x43c8dc)?_0x2c1948=new _0x3a0fce(_0x43c8dc[_0x59e28a(0x262)],_0x43c8dc['byteOffset'],_0x43c8dc[_0x59e28a(0x139)]):(_0x2c1948=Buffer['from'](_0x43c8dc),_0x2df063['readOnly']=!0x1),_0x2c1948;}if(te[_0x36fbf7(0x28f)]={'concat':_0x5ef1bf,'mask':_0x10e437,'toArrayBuffer':_0x6595cf,'toBuffer':_0x2df063,'unmask':_0x56f535},!process[_0x36fbf7(0x27d)][_0x36fbf7(0x1e6)])try{const _0x528c51=Vt;te['exports']['mask']=function(_0x2490ae,_0x46c874,_0x2f53a9,_0x4413b5,_0x5ae391){const _0x146ad9=_0x36fbf7;_0x5ae391<0x30?_0x10e437(_0x2490ae,_0x46c874,_0x2f53a9,_0x4413b5,_0x5ae391):_0x528c51[_0x146ad9(0x23c)](_0x2490ae,_0x46c874,_0x2f53a9,_0x4413b5,_0x5ae391);},te[_0x36fbf7(0x28f)][_0x36fbf7(0x17c)]=function(_0x5497da,_0x39d28d){const _0x289bed=_0x36fbf7;_0x5497da[_0x289bed(0x264)]<0x20?_0x56f535(_0x5497da,_0x39d28d):_0x528c51[_0x289bed(0x17c)](_0x5497da,_0x39d28d);};}catch{}return te[_0x36fbf7(0x28f)];}var ye,Xe;function qt(){const _0x5801fb=_0x28e367;if(Xe)return ye;Xe=0x1;const _0x1c4e01=Symbol(_0x5801fb(0x141)),_0x4435ac=Symbol(_0x5801fb(0x1cf));class _0x5ea318{constructor(_0x3fe71){const _0x4771e6=_0x5801fb;this[_0x1c4e01]=()=>{const _0x42f265=_0x2a0f;this[_0x42f265(0x12c)]--,this[_0x4435ac]();},this[_0x4771e6(0x226)]=_0x3fe71||0x1/0x0,this[_0x4771e6(0x167)]=[],this[_0x4771e6(0x12c)]=0x0;}[_0x5801fb(0x163)](_0x573fff){const _0x506857=_0x5801fb;this[_0x506857(0x167)][_0x506857(0x1fe)](_0x573fff),this[_0x4435ac]();}[_0x4435ac](){const _0x2b5d3e=_0x5801fb;if(this[_0x2b5d3e(0x12c)]!==this[_0x2b5d3e(0x226)]&&this[_0x2b5d3e(0x167)][_0x2b5d3e(0x264)]){const _0x1e6c4c=this[_0x2b5d3e(0x167)][_0x2b5d3e(0x1e4)]();this[_0x2b5d3e(0x12c)]++,_0x1e6c4c(this[_0x1c4e01]);}}}return ye=_0x5ea318,ye;}var ve,Ze;function _0x2341(){const _0x423e94=['isIP','verifyClient','data','_generateMask','call','next','handleUpgrade','response','serverMaxWindowBits','_originalHostOrSocketPath','finishRequest','function','Basic\x20','concat','catch','error','offer','_autoPong','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','captureStackTrace','STATUS_CODES','_req','unexpected-response','pathname','removeEventListener','createError','delete','WebSocket\x20is\x20not\x20open:\x20readyState\x20','\x22\x20must\x20have\x20only\x20a\x20single\x20value','keys','dequeue','_firstFragment','byteOffset','_httpService','path','open','reason','ping','bind','Sec-WebSocket-Accept:\x20','_closeMessage','get','autoPong','terminate','controlMessage','options','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','species','shouldHandle','kRun','The\x20\x22','resume','threshold','getData','binary','Blob','read','decompress','_originalIpc','_closeCode','wsClientError','kCode','hash','_final','timeout','handleEvent','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','default','charCodeAt','has','shift','13,\x208','WS_NO_BUFFER_UTIL','sec-websocket-extensions','number','nodebuffer','emitClose','92KBvPqg','FIN\x20must\x20be\x20set','_server','616338rzRhpv','HTTP/1.1\x20101\x20Switching\x20Protocols','maxPayload','text/plain','sec-websocket-key','getInfo','Server\x20sent\x20an\x20invalid\x20subprotocol','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','removeListener','username','isArray','kType','clientNoContextTakeover','slice','_writableState','freeze','push','errorEmitted','then','fin','GET','OPEN','Sec-WebSocket-Protocol:\x20','_readableState','_opcode','The\x20URL\x27s\x20pathname\x20is\x20empty','readyState','Max\x20payload\x20size\x20exceeded','Invalid\x20Sec-WebSocket-Extensions\x20header','_originalSecure','File','total-length','write','_no_context_takeover','Invalid\x20HTTP\x20method','alloc','invalid\x20payload\x20length\x20','Invalid\x20Sec-WebSocket-Protocol\x20header','cleanup','Module','setSocket','_binaryType','createInflateRaw','16XQBXEo','size','method','nextTick','construct','normalizeParams','sec-websocket-accept','_redirects','getMask','haveLength','consume','_buffers','dispatch','concurrency','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','_injector','clientMaxWindowBits','skipUTF8Validation','hostname','238535UjUsZt','startsWith','_closeFrameSent','destroy','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','__esModule','Unknown\x20parameter\x20\x22','2065042iEHxDK','_sender','_messageLength','Opening\x20handshake\x20has\x20timed\x20out','string','getPayloadLength16','readUInt32BE','pipe','MASK\x20must\x20be\x20set','mask','kByteLength','_threshold','origin','_bufferedBytes','server','isView','sec-websocket-version','createConnection','kTarget','message','_configService','uncork','Sec-WebSocket-Protocol','unshift','Sec-WebSocket-Extensions','onStarting','_socket','authorization','connection','WS_ERR_INVALID_UTF8','_decompress','Connection:\x20Upgrade','Invalid\x20URL:\x20','WS_ERR_UNEXPECTED_RSV_1','hasOwnProperty','connect','_removeListeners','upgrade','base64','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','apply','WS_ERR_UNEXPECTED_RSV_2_3','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','CLOSED','getBlobData','getPayloadLength64','invalid\x20status\x20code\x20','buffer','Invalid\x20Upgrade\x20header','length','constructor','protocol','cookie','servername','indexOf','_fragments','opcode','setHeader','_closeTimer','reset','serverNoContextTakeover','extensionName','kAborted','_url','set','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','type','_protocol','isServer','params','replace','Invalid\x20value\x20for\x20parameter\x20\x22','CLOSING','pluginName','env','perMessageDeflate','1571970GJOpJD','1268EqBVFv','_skipUTF8Validation','Z_DEFAULT_WINDOWBITS','emit','end','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','Unexpected\x20end\x20of\x20input','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_mask','RSV1\x20must\x20be\x20clear','send','Invalid\x20WebSocket\x20frame:\x20','addEventListener','address','port','exports','host','isValidUTF8','stream','Upgrade','create','from','find','writeHead','_loop','Invalid\x20Sec-WebSocket-Accept\x20header','listeners','object','prototype','kIsForOnEventAttribute','blob','parse','map','_readyState','4079976kHhJlR','pow','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','binaryType','_paused','headers','generateMask','HTTP/1.1\x20','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','_compressed','socketPath','compress','listenerCount','client_no_context_takeover','sec-websocket-origin','createSocket','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','_maxPayload','getOwnPropertyDescriptor','_totalPayloadLength','readOnly','_fin','_registerDependencies','wasClean','sha1','kWasClean','dataMessage','isInteger','ws+unix:','close','bufferedAmount','status-code','toLowerCase','_allowSynchronousEvents','listen','allocUnsafe','_payloadLength','server_no_context_takeover','The\x20server\x20is\x20not\x20running','_state','toStringTag','endEmitted','writeUInt16BE','arraybuffer','_closeFrameReceived','Unexpected\x20character\x20at\x20index\x20','onopen','test','acceptAsClient','entries','needDrain','Cookie','Upgrade:\x20websocket','_bufferedAmount','kReason','onerror','isPaused','pending','acceptAsServer','redirect','_maskBuffer','_errored','cork','onclose','1149382ZUVGbL','url','rsv1','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','removeAllListeners','sendFrame','byteLength','password','arrayBuffer','\x22:\x20','pong','_shouldEmitClose','registerHTTPInterceptor','allowSynchronousEvents','kDone','_inflate','noServer','conclude','fragments','_deflate','_fragmented','completeUpgrade','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','abort','finished','_masked','pause','_receiver','createDeflateRaw','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','CONNECTING','wss:','destroyed','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','_compress','server_max_window_bits','forEach','customHeaders','socket','extensions','startLoop','maxRedirects','enqueue','_options','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','clients','WS_ERR_INVALID_OPCODE','invalid\x20UTF-8\x20sequence','add','The\x20URL\x20contains\x20a\x20fragment\x20identifier','WS_ERR_EXPECTED_FIN','accept','jobs','getConfig','clientTracking','_queue','_extensions','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','websocket','Z_SYNC_FLUSH','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','auth','handleProtocols','22syIMnW','backlog','code','setNoDelay','once','zlibDeflateOptions','_errorEmitted','update','setTimeout','_write','unmask','_isServer','MASK\x20must\x20be\x20clear','_read','4041JDstQC','kData','followRedirects','invalid\x20opcode\x20','authorized','defineProperty','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','encrypted','defaultPort','callback','_max_window_bits','href','readUInt16BE','toString','digest','finish','Server\x20sent\x20no\x20subprotocol','join','buffers','sec-websocket-protocol','protocolVersion','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','client','ws:','concurrencyLimit','client_max_window_bits','\x22\x20subprotocol\x20is\x20duplicated','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','location','frame'];_0x2341=function(){return _0x423e94;};return _0x2341();}function he(){const _0x523e83=_0x28e367;if(Ze)return ve;Ze=0x1;const _0x3fbc57=_0x532961,_0x203907=ce(),_0x17e37d=qt(),{kStatusCode:_0x26e58a}=V(),_0x166600=Buffer[Symbol[_0x523e83(0x1cd)]],_0x3626ba=Buffer[_0x523e83(0x295)]([0x0,0x0,0xff,0xff]),_0x3f7457=Symbol('permessage-deflate'),_0x26b1f9=Symbol(_0x523e83(0x20d)),_0x1d006b=Symbol(_0x523e83(0x189)),_0x4d2346=Symbol(_0x523e83(0x192)),_0x13e04a=Symbol(_0x523e83(0x1ad));let _0x3b0cc9;class _0x66d1e7{constructor(_0x51a6f1,_0x7b548b,_0xd37dd6){const _0x2d4ce6=_0x523e83;if(this[_0x2d4ce6(0x104)]=_0xd37dd6|0x0,this[_0x2d4ce6(0x15e)]=_0x51a6f1||{},this['_threshold']=this[_0x2d4ce6(0x15e)][_0x2d4ce6(0x1d2)]!==void 0x0?this['_options'][_0x2d4ce6(0x1d2)]:0x400,this['_isServer']=!!_0x7b548b,this[_0x2d4ce6(0x146)]=null,this[_0x2d4ce6(0x142)]=null,this[_0x2d4ce6(0x278)]=null,!_0x3b0cc9){const _0x103757=this[_0x2d4ce6(0x15e)][_0x2d4ce6(0x198)]!==void 0x0?this[_0x2d4ce6(0x15e)][_0x2d4ce6(0x198)]:0xa;_0x3b0cc9=new _0x17e37d(_0x103757);}}static get[_0x523e83(0x270)](){return'permessage-deflate';}[_0x523e83(0x1ae)](){const _0x5b301b=_0x523e83,_0x3405d4={};return this[_0x5b301b(0x15e)][_0x5b301b(0x26f)]&&(_0x3405d4[_0x5b301b(0x118)]=!0x0),this['_options'][_0x5b301b(0x1fa)]&&(_0x3405d4['client_no_context_takeover']=!0x0),this[_0x5b301b(0x15e)]['serverMaxWindowBits']&&(_0x3405d4[_0x5b301b(0x156)]=this[_0x5b301b(0x15e)][_0x5b301b(0x1a6)]),this['_options'][_0x5b301b(0x229)]?_0x3405d4['client_max_window_bits']=this['_options'][_0x5b301b(0x229)]:this[_0x5b301b(0x15e)][_0x5b301b(0x229)]==null&&(_0x3405d4['client_max_window_bits']=!0x0),_0x3405d4;}[_0x523e83(0x166)](_0x53811b){const _0x332eea=_0x523e83;return _0x53811b=this['normalizeParams'](_0x53811b),this[_0x332eea(0x278)]=this[_0x332eea(0x17d)]?this[_0x332eea(0x12d)](_0x53811b):this[_0x332eea(0x123)](_0x53811b),this[_0x332eea(0x278)];}[_0x523e83(0x214)](){const _0x418d44=_0x523e83;if(this[_0x418d44(0x142)]&&(this[_0x418d44(0x142)][_0x418d44(0x110)](),this[_0x418d44(0x142)]=null),this[_0x418d44(0x146)]){const _0x4bd545=this[_0x418d44(0x146)][_0x1d006b];this[_0x418d44(0x146)]['close'](),this[_0x418d44(0x146)]=null,_0x4bd545&&_0x4bd545(new Error(_0x418d44(0x154)));}}[_0x523e83(0x12d)](_0x1ca328){const _0x339938=_0x523e83,_0xc618a0=this[_0x339938(0x15e)],_0x2e6b1b=_0x1ca328[_0x339938(0x296)](_0x3001d1=>!(_0xc618a0[_0x339938(0x26f)]===!0x1&&_0x3001d1[_0x339938(0x118)]||_0x3001d1[_0x339938(0x156)]&&(_0xc618a0['serverMaxWindowBits']===!0x1||typeof _0xc618a0[_0x339938(0x1a6)]=='number'&&_0xc618a0[_0x339938(0x1a6)]>_0x3001d1['server_max_window_bits'])||typeof _0xc618a0[_0x339938(0x229)]==_0x339938(0x1e8)&&!_0x3001d1[_0x339938(0x199)]));if(!_0x2e6b1b)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0xc618a0[_0x339938(0x26f)]&&(_0x2e6b1b[_0x339938(0x118)]=!0x0),_0xc618a0[_0x339938(0x1fa)]&&(_0x2e6b1b['client_no_context_takeover']=!0x0),typeof _0xc618a0[_0x339938(0x1a6)]==_0x339938(0x1e8)&&(_0x2e6b1b[_0x339938(0x156)]=_0xc618a0['serverMaxWindowBits']),typeof _0xc618a0[_0x339938(0x229)]==_0x339938(0x1e8)?_0x2e6b1b[_0x339938(0x199)]=_0xc618a0[_0x339938(0x229)]:(_0x2e6b1b[_0x339938(0x199)]===!0x0||_0xc618a0['clientMaxWindowBits']===!0x1)&&delete _0x2e6b1b[_0x339938(0x199)],_0x2e6b1b;}[_0x523e83(0x123)](_0x2e6818){const _0x71ac8d=_0x523e83,_0x2e0926=_0x2e6818[0x0];if(this[_0x71ac8d(0x15e)][_0x71ac8d(0x1fa)]===!0x1&&_0x2e0926[_0x71ac8d(0x100)])throw new Error(_0x71ac8d(0x2a4));if(!_0x2e0926[_0x71ac8d(0x199)])typeof this[_0x71ac8d(0x15e)][_0x71ac8d(0x229)]==_0x71ac8d(0x1e8)&&(_0x2e0926[_0x71ac8d(0x199)]=this['_options'][_0x71ac8d(0x229)]);else{if(this['_options']['clientMaxWindowBits']===!0x1||typeof this[_0x71ac8d(0x15e)][_0x71ac8d(0x229)]=='number'&&_0x2e0926['client_max_window_bits']>this[_0x71ac8d(0x15e)][_0x71ac8d(0x229)])throw new Error(_0x71ac8d(0x16f));}return _0x2e0926;}[_0x523e83(0x21e)](_0x1ae5bc){return _0x1ae5bc['forEach'](_0x2e63f8=>{const _0x53daf2=_0x2a0f;Object[_0x53daf2(0x1bb)](_0x2e63f8)[_0x53daf2(0x157)](_0x22b042=>{const _0x3817e2=_0x53daf2;let _0x56a1ff=_0x2e63f8[_0x22b042];if(_0x56a1ff['length']>0x1)throw new Error('Parameter\x20\x22'+_0x22b042+_0x3817e2(0x1ba));if(_0x56a1ff=_0x56a1ff[0x0],_0x22b042===_0x3817e2(0x199)){if(_0x56a1ff!==!0x0){const _0x5d7d6e=+_0x56a1ff;if(!Number[_0x3817e2(0x10e)](_0x5d7d6e)||_0x5d7d6e<0x8||_0x5d7d6e>0xf)throw new TypeError(_0x3817e2(0x27a)+_0x22b042+_0x3817e2(0x13c)+_0x56a1ff);_0x56a1ff=_0x5d7d6e;}else{if(!this[_0x3817e2(0x17d)])throw new TypeError(_0x3817e2(0x27a)+_0x22b042+_0x3817e2(0x13c)+_0x56a1ff);}}else{if(_0x22b042===_0x3817e2(0x156)){const _0x26cd8e=+_0x56a1ff;if(!Number['isInteger'](_0x26cd8e)||_0x26cd8e<0x8||_0x26cd8e>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x22b042+_0x3817e2(0x13c)+_0x56a1ff);_0x56a1ff=_0x26cd8e;}else{if(_0x22b042===_0x3817e2(0x100)||_0x22b042===_0x3817e2(0x118)){if(_0x56a1ff!==!0x0)throw new TypeError(_0x3817e2(0x27a)+_0x22b042+_0x3817e2(0x13c)+_0x56a1ff);}else throw new Error(_0x3817e2(0x232)+_0x22b042+'\x22');}}_0x2e63f8[_0x22b042]=_0x56a1ff;});}),_0x1ae5bc;}[_0x523e83(0x1d7)](_0x3b0b8c,_0x268f5e,_0x3d7d69){const _0x42f43e=_0x523e83;_0x3b0cc9[_0x42f43e(0x163)](_0x5431b6=>{const _0x1871b5=_0x42f43e;this[_0x1871b5(0x251)](_0x3b0b8c,_0x268f5e,(_0x180e3f,_0x456630)=>{_0x5431b6(),_0x3d7d69(_0x180e3f,_0x456630);});});}['compress'](_0x2a7ac1,_0x6acfd,_0x3afdb6){const _0x412f07=_0x523e83;_0x3b0cc9[_0x412f07(0x163)](_0x594678=>{const _0x7881f7=_0x412f07;this[_0x7881f7(0x155)](_0x2a7ac1,_0x6acfd,(_0x28f40f,_0x5a67a4)=>{_0x594678(),_0x3afdb6(_0x28f40f,_0x5a67a4);});});}['_decompress'](_0x394362,_0x2af025,_0x4ab888){const _0xc4abcf=_0x523e83,_0x4c786f=this[_0xc4abcf(0x17d)]?_0xc4abcf(0x196):_0xc4abcf(0x241);if(!this[_0xc4abcf(0x142)]){const _0x598f9d=_0x4c786f+_0xc4abcf(0x18a),_0x3fec2e=typeof this['params'][_0x598f9d]!=_0xc4abcf(0x1e8)?_0x3fbc57[_0xc4abcf(0x282)]:this[_0xc4abcf(0x278)][_0x598f9d];this[_0xc4abcf(0x142)]=_0x3fbc57[_0xc4abcf(0x218)]({...this[_0xc4abcf(0x15e)]['zlibInflateOptions'],'windowBits':_0x3fec2e}),this[_0xc4abcf(0x142)][_0x3f7457]=this,this[_0xc4abcf(0x142)][_0x26b1f9]=0x0,this['_inflate'][_0x4d2346]=[],this[_0xc4abcf(0x142)]['on'](_0xc4abcf(0x1ad),_0x68909e),this[_0xc4abcf(0x142)]['on']('data',_0x55050b);}this[_0xc4abcf(0x142)][_0x1d006b]=_0x4ab888,this[_0xc4abcf(0x142)][_0xc4abcf(0x20e)](_0x394362),_0x2af025&&this[_0xc4abcf(0x142)]['write'](_0x3626ba),this['_inflate']['flush'](()=>{const _0x216a30=_0xc4abcf,_0x1d8ea9=this[_0x216a30(0x142)][_0x13e04a];if(_0x1d8ea9){this['_inflate']['close'](),this[_0x216a30(0x142)]=null,_0x4ab888(_0x1d8ea9);return;}const _0x2a9732=_0x203907[_0x216a30(0x1ab)](this[_0x216a30(0x142)][_0x4d2346],this[_0x216a30(0x142)][_0x26b1f9]);this[_0x216a30(0x142)][_0x216a30(0x205)][_0x216a30(0x11c)]?(this[_0x216a30(0x142)]['close'](),this[_0x216a30(0x142)]=null):(this[_0x216a30(0x142)][_0x26b1f9]=0x0,this[_0x216a30(0x142)][_0x4d2346]=[],_0x2af025&&this['params'][_0x4c786f+_0x216a30(0x20f)]&&this[_0x216a30(0x142)]['reset']()),_0x4ab888(null,_0x2a9732);});}[_0x523e83(0x155)](_0x2e27a8,_0x14f52d,_0x526950){const _0x5146de=_0x523e83,_0x1a6c01=this['_isServer']?'server':'client';if(!this['_deflate']){const _0x149e60=_0x1a6c01+_0x5146de(0x18a),_0x52df89=typeof this[_0x5146de(0x278)][_0x149e60]!=_0x5146de(0x1e8)?_0x3fbc57[_0x5146de(0x282)]:this[_0x5146de(0x278)][_0x149e60];this[_0x5146de(0x146)]=_0x3fbc57[_0x5146de(0x14f)]({...this[_0x5146de(0x15e)][_0x5146de(0x177)],'windowBits':_0x52df89}),this[_0x5146de(0x146)][_0x26b1f9]=0x0,this['_deflate'][_0x4d2346]=[],this['_deflate']['on']('data',_0x3287bd);}this[_0x5146de(0x146)][_0x1d006b]=_0x526950,this[_0x5146de(0x146)]['write'](_0x2e27a8),this[_0x5146de(0x146)]['flush'](_0x3fbc57[_0x5146de(0x16e)],()=>{const _0xe80e83=_0x5146de;if(!this[_0xe80e83(0x146)])return;let _0x12e834=_0x203907['concat'](this[_0xe80e83(0x146)][_0x4d2346],this[_0xe80e83(0x146)][_0x26b1f9]);_0x14f52d&&(_0x12e834=new _0x166600(_0x12e834[_0xe80e83(0x262)],_0x12e834[_0xe80e83(0x1be)],_0x12e834[_0xe80e83(0x264)]-0x4)),this[_0xe80e83(0x146)][_0x1d006b]=null,this[_0xe80e83(0x146)][_0x26b1f9]=0x0,this[_0xe80e83(0x146)][_0x4d2346]=[],_0x14f52d&&this['params'][_0x1a6c01+_0xe80e83(0x20f)]&&this[_0xe80e83(0x146)][_0xe80e83(0x26e)](),_0x526950(null,_0x12e834);});}}ve=_0x66d1e7;function _0x3287bd(_0x3a21bb){const _0x4ae1ed=_0x523e83;this[_0x4d2346]['push'](_0x3a21bb),this[_0x26b1f9]+=_0x3a21bb[_0x4ae1ed(0x264)];}function _0x55050b(_0x4905db){const _0x52e86e=_0x523e83;if(this[_0x26b1f9]+=_0x4905db[_0x52e86e(0x264)],this[_0x3f7457][_0x52e86e(0x104)]<0x1||this[_0x26b1f9]<=this[_0x3f7457][_0x52e86e(0x104)]){this[_0x4d2346][_0x52e86e(0x1fe)](_0x4905db);return;}this[_0x13e04a]=new RangeError(_0x52e86e(0x209)),this[_0x13e04a]['code']=_0x52e86e(0x287),this[_0x13e04a][_0x26e58a]=0x3f1,this[_0x52e86e(0x1f6)](_0x52e86e(0x1a0),_0x55050b),this[_0x52e86e(0x26e)]();}function _0x68909e(_0x102f25){const _0x26103a=_0x523e83;if(this[_0x3f7457][_0x26103a(0x142)]=null,this[_0x13e04a]){this[_0x1d006b](this[_0x13e04a]);return;}_0x102f25[_0x26e58a]=0x3ef,this[_0x1d006b](_0x102f25);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x28e367(0x1fd)](Object['defineProperty']({'__proto__':null,'default':Ht},Symbol[_0x28e367(0x11b)],{'value':'Module'})),Yt=ut(zt);var Qe;function ne(){const _0x18cde4=_0x28e367;if(Qe)return re[_0x18cde4(0x28f)];Qe=0x1;const {isUtf8:_0xb787a}=_0x3f1356,{hasBlob:_0x7f7418}=V(),_0x4aa407=[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 _0x259459(_0x58e95f){return _0x58e95f>=0x3e8&&_0x58e95f<=0x3f6&&_0x58e95f!==0x3ec&&_0x58e95f!==0x3ed&&_0x58e95f!==0x3ee||_0x58e95f>=0xbb8&&_0x58e95f<=0x1387;}function _0x3bda93(_0x467c16){const _0x1cd65=_0x18cde4,_0x1c53c5=_0x467c16[_0x1cd65(0x264)];let _0x1cc32f=0x0;for(;_0x1cc32f<_0x1c53c5;)if((_0x467c16[_0x1cc32f]&0x80)===0x0)_0x1cc32f++;else{if((_0x467c16[_0x1cc32f]&0xe0)===0xc0){if(_0x1cc32f+0x1===_0x1c53c5||(_0x467c16[_0x1cc32f+0x1]&0xc0)!==0x80||(_0x467c16[_0x1cc32f]&0xfe)===0xc0)return!0x1;_0x1cc32f+=0x2;}else{if((_0x467c16[_0x1cc32f]&0xf0)===0xe0){if(_0x1cc32f+0x2>=_0x1c53c5||(_0x467c16[_0x1cc32f+0x1]&0xc0)!==0x80||(_0x467c16[_0x1cc32f+0x2]&0xc0)!==0x80||_0x467c16[_0x1cc32f]===0xe0&&(_0x467c16[_0x1cc32f+0x1]&0xe0)===0x80||_0x467c16[_0x1cc32f]===0xed&&(_0x467c16[_0x1cc32f+0x1]&0xe0)===0xa0)return!0x1;_0x1cc32f+=0x3;}else{if((_0x467c16[_0x1cc32f]&0xf8)===0xf0){if(_0x1cc32f+0x3>=_0x1c53c5||(_0x467c16[_0x1cc32f+0x1]&0xc0)!==0x80||(_0x467c16[_0x1cc32f+0x2]&0xc0)!==0x80||(_0x467c16[_0x1cc32f+0x3]&0xc0)!==0x80||_0x467c16[_0x1cc32f]===0xf0&&(_0x467c16[_0x1cc32f+0x1]&0xf0)===0x80||_0x467c16[_0x1cc32f]===0xf4&&_0x467c16[_0x1cc32f+0x1]>0x8f||_0x467c16[_0x1cc32f]>0xf4)return!0x1;_0x1cc32f+=0x4;}else return!0x1;}}}return!0x0;}function _0x456b3c(_0x2b5576){const _0x309c04=_0x18cde4;return _0x7f7418&&typeof _0x2b5576==_0x309c04(0x29b)&&typeof _0x2b5576['arrayBuffer']==_0x309c04(0x1a9)&&typeof _0x2b5576[_0x309c04(0x275)]==_0x309c04(0x237)&&typeof _0x2b5576[_0x309c04(0x292)]==_0x309c04(0x1a9)&&(_0x2b5576[Symbol[_0x309c04(0x11b)]]===_0x309c04(0x1d5)||_0x2b5576[Symbol[_0x309c04(0x11b)]]===_0x309c04(0x20c));}if(re[_0x18cde4(0x28f)]={'isBlob':_0x456b3c,'isValidStatusCode':_0x259459,'isValidUTF8':_0x3bda93,'tokenChars':_0x4aa407},_0xb787a)re['exports'][_0x18cde4(0x291)]=function(_0x1c2ee1){const _0x38faff=_0x18cde4;return _0x1c2ee1[_0x38faff(0x264)]<0x18?_0x3bda93(_0x1c2ee1):_0xb787a(_0x1c2ee1);};else{if(!process[_0x18cde4(0x27d)]['WS_NO_UTF_8_VALIDATE'])try{const _0x1e220c=Yt;re['exports'][_0x18cde4(0x291)]=function(_0x36b558){const _0xc686ae=_0x18cde4;return _0x36b558[_0xc686ae(0x264)]<0x20?_0x3bda93(_0x36b558):_0x1e220c(_0x36b558);};}catch{}}return re[_0x18cde4(0x28f)];}var Se,Je;function dt(){const _0x18763b=_0x28e367;if(Je)return Se;Je=0x1;const {Writable:_0x5c4767}=_0x22181d,_0x1b3f4d=he(),{BINARY_TYPES:_0x520334,EMPTY_BUFFER:_0x32b736,kStatusCode:_0x1ddcd3,kWebSocket:_0x41d1d4}=V(),{concat:_0x25c015,toArrayBuffer:_0x1da751,unmask:_0x616ba4}=ce(),{isValidStatusCode:_0x517340,isValidUTF8:_0x1d74c5}=ne(),_0x290f00=Buffer[Symbol['species']],_0x31771f=0x0,_0xf91847=0x1,_0xe07b54=0x2,_0x3d6bc4=0x3,_0x5bbb7f=0x4,_0xe6f52a=0x5,_0x26903b=0x6;class _0x29d926 extends _0x5c4767{constructor(_0xebe95f={}){const _0x32d889=_0x2a0f;super(),this[_0x32d889(0x114)]=_0xebe95f['allowSynchronousEvents']!==void 0x0?_0xebe95f['allowSynchronousEvents']:!0x0,this[_0x32d889(0x217)]=_0xebe95f[_0x32d889(0xf6)]||_0x520334[0x0],this[_0x32d889(0x16b)]=_0xebe95f['extensions']||{},this[_0x32d889(0x17d)]=!!_0xebe95f[_0x32d889(0x277)],this[_0x32d889(0x104)]=_0xebe95f[_0x32d889(0x1f0)]|0x0,this[_0x32d889(0x281)]=!!_0xebe95f[_0x32d889(0x22a)],this[_0x41d1d4]=void 0x0,this['_bufferedBytes']=0x0,this[_0x32d889(0x224)]=[],this[_0x32d889(0xfc)]=!0x1,this['_payloadLength']=0x0,this[_0x32d889(0x288)]=void 0x0,this[_0x32d889(0x147)]=0x0,this[_0x32d889(0x14c)]=!0x1,this[_0x32d889(0x108)]=!0x1,this['_opcode']=0x0,this[_0x32d889(0x106)]=0x0,this[_0x32d889(0x235)]=0x0,this[_0x32d889(0x26a)]=[],this[_0x32d889(0x130)]=!0x1,this['_loop']=!0x1,this[_0x32d889(0x11a)]=_0x31771f;}[_0x18763b(0x17b)](_0x2bbf6b,_0x4671bf,_0x5c256a){const _0x15a82a=_0x18763b;if(this[_0x15a82a(0x206)]===0x8&&this[_0x15a82a(0x11a)]==_0x31771f)return _0x5c256a();this[_0x15a82a(0x240)]+=_0x2bbf6b[_0x15a82a(0x264)],this[_0x15a82a(0x224)][_0x15a82a(0x1fe)](_0x2bbf6b),this[_0x15a82a(0x15b)](_0x5c256a);}[_0x18763b(0x223)](_0x2a968c){const _0x46e2e8=_0x18763b;if(this[_0x46e2e8(0x240)]-=_0x2a968c,_0x2a968c===this[_0x46e2e8(0x224)][0x0][_0x46e2e8(0x264)])return this['_buffers']['shift']();if(_0x2a968c<this['_buffers'][0x0][_0x46e2e8(0x264)]){const _0x560041=this['_buffers'][0x0];return this[_0x46e2e8(0x224)][0x0]=new _0x290f00(_0x560041[_0x46e2e8(0x262)],_0x560041['byteOffset']+_0x2a968c,_0x560041[_0x46e2e8(0x264)]-_0x2a968c),new _0x290f00(_0x560041[_0x46e2e8(0x262)],_0x560041[_0x46e2e8(0x1be)],_0x2a968c);}const _0x73634c=Buffer['allocUnsafe'](_0x2a968c);do{const _0x10f5d9=this[_0x46e2e8(0x224)][0x0],_0x5c885a=_0x73634c[_0x46e2e8(0x264)]-_0x2a968c;_0x2a968c>=_0x10f5d9['length']?_0x73634c[_0x46e2e8(0x273)](this[_0x46e2e8(0x224)]['shift'](),_0x5c885a):(_0x73634c[_0x46e2e8(0x273)](new Uint8Array(_0x10f5d9[_0x46e2e8(0x262)],_0x10f5d9[_0x46e2e8(0x1be)],_0x2a968c),_0x5c885a),this[_0x46e2e8(0x224)][0x0]=new _0x290f00(_0x10f5d9[_0x46e2e8(0x262)],_0x10f5d9['byteOffset']+_0x2a968c,_0x10f5d9[_0x46e2e8(0x264)]-_0x2a968c)),_0x2a968c-=_0x10f5d9['length'];}while(_0x2a968c>0x0);return _0x73634c;}[_0x18763b(0x15b)](_0x4c5905){const _0x49a014=_0x18763b;this[_0x49a014(0x298)]=!0x0;do switch(this[_0x49a014(0x11a)]){case _0x31771f:this[_0x49a014(0x1f3)](_0x4c5905);break;case _0xf91847:this[_0x49a014(0x238)](_0x4c5905);break;case _0xe07b54:this['getPayloadLength64'](_0x4c5905);break;case _0x3d6bc4:this[_0x49a014(0x221)]();break;case _0x5bbb7f:this['getData'](_0x4c5905);break;case _0xe6f52a:case _0x26903b:this[_0x49a014(0x298)]=!0x1;return;}while(this[_0x49a014(0x298)]);this['_errored']||_0x4c5905();}[_0x18763b(0x1f3)](_0x33367b){const _0x1ecc62=_0x18763b;if(this[_0x1ecc62(0x240)]<0x2){this['_loop']=!0x1;return;}const _0x110e2e=this[_0x1ecc62(0x223)](0x2);if((_0x110e2e[0x0]&0x30)!==0x0){const _0x3e4046=this['createError'](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x1ecc62(0x25c));_0x33367b(_0x3e4046);return;}const _0x35eaa0=(_0x110e2e[0x0]&0x40)===0x40;if(_0x35eaa0&&!this['_extensions'][_0x1b3f4d[_0x1ecc62(0x270)]]){const _0x11fc59=this['createError'](RangeError,_0x1ecc62(0x289),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x33367b(_0x11fc59);return;}if(this[_0x1ecc62(0x108)]=(_0x110e2e[0x0]&0x80)===0x80,this[_0x1ecc62(0x206)]=_0x110e2e[0x0]&0xf,this[_0x1ecc62(0x117)]=_0x110e2e[0x1]&0x7f,this[_0x1ecc62(0x206)]===0x0){if(_0x35eaa0){const _0x13b9a6=this[_0x1ecc62(0x1b7)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x1ecc62(0x254));_0x33367b(_0x13b9a6);return;}if(!this[_0x1ecc62(0x147)]){const _0x52ff2c=this[_0x1ecc62(0x1b7)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x1ecc62(0x161));_0x33367b(_0x52ff2c);return;}this[_0x1ecc62(0x206)]=this[_0x1ecc62(0x147)];}else{if(this[_0x1ecc62(0x206)]===0x1||this[_0x1ecc62(0x206)]===0x2){if(this[_0x1ecc62(0x147)]){const _0x3fe06b=this['createError'](RangeError,_0x1ecc62(0x183)+this['_opcode'],!0x0,0x3ea,_0x1ecc62(0x161));_0x33367b(_0x3fe06b);return;}this['_compressed']=_0x35eaa0;}else{if(this[_0x1ecc62(0x206)]>0x7&&this[_0x1ecc62(0x206)]<0xb){if(!this[_0x1ecc62(0x108)]){const _0x2ba0e2=this[_0x1ecc62(0x1b7)](RangeError,_0x1ecc62(0x1ec),!0x0,0x3ea,_0x1ecc62(0x165));_0x33367b(_0x2ba0e2);return;}if(_0x35eaa0){const _0x5b1fa9=this['createError'](RangeError,_0x1ecc62(0x289),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x33367b(_0x5b1fa9);return;}if(this[_0x1ecc62(0x117)]>0x7d||this[_0x1ecc62(0x206)]===0x8&&this['_payloadLength']===0x1){const _0x5c3b98=this[_0x1ecc62(0x1b7)](RangeError,_0x1ecc62(0x212)+this[_0x1ecc62(0x117)],!0x0,0x3ea,_0x1ecc62(0x227));_0x33367b(_0x5c3b98);return;}}else{const _0xd11dd2=this['createError'](RangeError,_0x1ecc62(0x183)+this['_opcode'],!0x0,0x3ea,_0x1ecc62(0x161));_0x33367b(_0xd11dd2);return;}}}if(!this[_0x1ecc62(0x108)]&&!this[_0x1ecc62(0x147)]&&(this[_0x1ecc62(0x147)]=this[_0x1ecc62(0x206)]),this['_masked']=(_0x110e2e[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x1ecc62(0x14c)]){const _0x13272=this[_0x1ecc62(0x1b7)](RangeError,_0x1ecc62(0x23b),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x33367b(_0x13272);return;}}else{if(this[_0x1ecc62(0x14c)]){const _0x1680ff=this[_0x1ecc62(0x1b7)](RangeError,_0x1ecc62(0x17e),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x33367b(_0x1680ff);return;}}this[_0x1ecc62(0x117)]===0x7e?this['_state']=_0xf91847:this[_0x1ecc62(0x117)]===0x7f?this['_state']=_0xe07b54:this[_0x1ecc62(0x222)](_0x33367b);}[_0x18763b(0x238)](_0x4f2e46){const _0x3d452a=_0x18763b;if(this[_0x3d452a(0x240)]<0x2){this[_0x3d452a(0x298)]=!0x1;return;}this[_0x3d452a(0x117)]=this[_0x3d452a(0x223)](0x2)['readUInt16BE'](0x0),this[_0x3d452a(0x222)](_0x4f2e46);}[_0x18763b(0x260)](_0x42c52e){const _0x1c5e45=_0x18763b;if(this['_bufferedBytes']<0x8){this[_0x1c5e45(0x298)]=!0x1;return;}const _0x2f39de=this[_0x1c5e45(0x223)](0x8),_0x25fa77=_0x2f39de[_0x1c5e45(0x239)](0x0);if(_0x25fa77>Math[_0x1c5e45(0x2a3)](0x2,0x15)-0x1){const _0x1ca35c=this['createError'](RangeError,_0x1c5e45(0x16c),!0x1,0x3f1,_0x1c5e45(0x150));_0x42c52e(_0x1ca35c);return;}this['_payloadLength']=_0x25fa77*Math['pow'](0x2,0x20)+_0x2f39de['readUInt32BE'](0x4),this[_0x1c5e45(0x222)](_0x42c52e);}[_0x18763b(0x222)](_0x3f651c){const _0xef51ff=_0x18763b;if(this[_0xef51ff(0x117)]&&this[_0xef51ff(0x206)]<0x8&&(this['_totalPayloadLength']+=this[_0xef51ff(0x117)],this['_totalPayloadLength']>this[_0xef51ff(0x104)]&&this['_maxPayload']>0x0)){const _0x4065cf=this[_0xef51ff(0x1b7)](RangeError,_0xef51ff(0x209),!0x1,0x3f1,_0xef51ff(0x287));_0x3f651c(_0x4065cf);return;}this[_0xef51ff(0x14c)]?this[_0xef51ff(0x11a)]=_0x3d6bc4:this[_0xef51ff(0x11a)]=_0x5bbb7f;}[_0x18763b(0x221)](){const _0x46e95b=_0x18763b;if(this[_0x46e95b(0x240)]<0x4){this[_0x46e95b(0x298)]=!0x1;return;}this['_mask']=this['consume'](0x4),this[_0x46e95b(0x11a)]=_0x5bbb7f;}[_0x18763b(0x1d3)](_0x5905e4){const _0x5a4c6d=_0x18763b;let _0x18fcf4=_0x32b736;if(this[_0x5a4c6d(0x117)]){if(this[_0x5a4c6d(0x240)]<this[_0x5a4c6d(0x117)]){this['_loop']=!0x1;return;}_0x18fcf4=this['consume'](this[_0x5a4c6d(0x117)]),this['_masked']&&(this[_0x5a4c6d(0x288)][0x0]|this[_0x5a4c6d(0x288)][0x1]|this[_0x5a4c6d(0x288)][0x2]|this[_0x5a4c6d(0x288)][0x3])!==0x0&&_0x616ba4(_0x18fcf4,this[_0x5a4c6d(0x288)]);}if(this[_0x5a4c6d(0x206)]>0x7){this[_0x5a4c6d(0x1ca)](_0x18fcf4,_0x5905e4);return;}if(this[_0x5a4c6d(0xfc)]){this[_0x5a4c6d(0x11a)]=_0xe6f52a,this[_0x5a4c6d(0x1d7)](_0x18fcf4,_0x5905e4);return;}_0x18fcf4[_0x5a4c6d(0x264)]&&(this[_0x5a4c6d(0x235)]=this[_0x5a4c6d(0x106)],this[_0x5a4c6d(0x26a)][_0x5a4c6d(0x1fe)](_0x18fcf4)),this[_0x5a4c6d(0x10d)](_0x5905e4);}[_0x18763b(0x1d7)](_0x52f479,_0xc6e731){const _0x5bb535=_0x18763b;this[_0x5bb535(0x16b)][_0x1b3f4d['extensionName']]['decompress'](_0x52f479,this[_0x5bb535(0x108)],(_0x588367,_0xf02e72)=>{const _0x3cd1e3=_0x5bb535;if(_0x588367)return _0xc6e731(_0x588367);if(_0xf02e72[_0x3cd1e3(0x264)]){if(this[_0x3cd1e3(0x235)]+=_0xf02e72[_0x3cd1e3(0x264)],this[_0x3cd1e3(0x235)]>this[_0x3cd1e3(0x104)]&&this[_0x3cd1e3(0x104)]>0x0){const _0x138088=this[_0x3cd1e3(0x1b7)](RangeError,_0x3cd1e3(0x209),!0x1,0x3f1,_0x3cd1e3(0x287));_0xc6e731(_0x138088);return;}this[_0x3cd1e3(0x26a)][_0x3cd1e3(0x1fe)](_0xf02e72);}this[_0x3cd1e3(0x10d)](_0xc6e731),this[_0x3cd1e3(0x11a)]===_0x31771f&&this['startLoop'](_0xc6e731);});}[_0x18763b(0x10d)](_0x32f642){const _0x1c60ba=_0x18763b;if(!this[_0x1c60ba(0x108)]){this[_0x1c60ba(0x11a)]=_0x31771f;return;}const _0x791d0d=this[_0x1c60ba(0x235)],_0x2d3741=this['_fragments'];if(this[_0x1c60ba(0x106)]=0x0,this['_messageLength']=0x0,this['_fragmented']=0x0,this['_fragments']=[],this[_0x1c60ba(0x206)]===0x2){let _0x2a0844;this[_0x1c60ba(0x217)]===_0x1c60ba(0x1e9)?_0x2a0844=_0x25c015(_0x2d3741,_0x791d0d):this[_0x1c60ba(0x217)]===_0x1c60ba(0x11e)?_0x2a0844=_0x1da751(_0x25c015(_0x2d3741,_0x791d0d)):this[_0x1c60ba(0x217)]==='blob'?_0x2a0844=new Blob(_0x2d3741):_0x2a0844=_0x2d3741,this[_0x1c60ba(0x114)]?(this['emit'](_0x1c60ba(0x246),_0x2a0844,!0x0),this['_state']=_0x31771f):(this[_0x1c60ba(0x11a)]=_0x26903b,setImmediate(()=>{const _0x313750=_0x1c60ba;this[_0x313750(0x283)]('message',_0x2a0844,!0x0),this[_0x313750(0x11a)]=_0x31771f,this[_0x313750(0x15b)](_0x32f642);}));}else{const _0x421a99=_0x25c015(_0x2d3741,_0x791d0d);if(!this[_0x1c60ba(0x281)]&&!_0x1d74c5(_0x421a99)){const _0x4d75b0=this[_0x1c60ba(0x1b7)](Error,_0x1c60ba(0x162),!0x0,0x3ef,_0x1c60ba(0x250));_0x32f642(_0x4d75b0);return;}this[_0x1c60ba(0x11a)]===_0xe6f52a||this['_allowSynchronousEvents']?(this[_0x1c60ba(0x283)](_0x1c60ba(0x246),_0x421a99,!0x1),this['_state']=_0x31771f):(this[_0x1c60ba(0x11a)]=_0x26903b,setImmediate(()=>{const _0x2b8e59=_0x1c60ba;this['emit']('message',_0x421a99,!0x1),this[_0x2b8e59(0x11a)]=_0x31771f,this[_0x2b8e59(0x15b)](_0x32f642);}));}}[_0x18763b(0x1ca)](_0x68cc70,_0x16c6c9){const _0x175439=_0x18763b;if(this[_0x175439(0x206)]===0x8){if(_0x68cc70[_0x175439(0x264)]===0x0)this['_loop']=!0x1,this['emit'](_0x175439(0x144),0x3ed,_0x32b736),this[_0x175439(0x284)]();else{const _0x2a995b=_0x68cc70[_0x175439(0x18c)](0x0);if(!_0x517340(_0x2a995b)){const _0x4649c1=this[_0x175439(0x1b7)](RangeError,_0x175439(0x261)+_0x2a995b,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x16c6c9(_0x4649c1);return;}const _0x5c713d=new _0x290f00(_0x68cc70[_0x175439(0x262)],_0x68cc70['byteOffset']+0x2,_0x68cc70[_0x175439(0x264)]-0x2);if(!this[_0x175439(0x281)]&&!_0x1d74c5(_0x5c713d)){const _0x51fad0=this[_0x175439(0x1b7)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x175439(0x250));_0x16c6c9(_0x51fad0);return;}this[_0x175439(0x298)]=!0x1,this[_0x175439(0x283)](_0x175439(0x144),_0x2a995b,_0x5c713d),this[_0x175439(0x284)]();}this['_state']=_0x31771f;return;}this[_0x175439(0x114)]?(this[_0x175439(0x283)](this[_0x175439(0x206)]===0x9?_0x175439(0x1c3):_0x175439(0x13d),_0x68cc70),this[_0x175439(0x11a)]=_0x31771f):(this[_0x175439(0x11a)]=_0x26903b,setImmediate(()=>{const _0x22c41f=_0x175439;this[_0x22c41f(0x283)](this[_0x22c41f(0x206)]===0x9?'ping':_0x22c41f(0x13d),_0x68cc70),this[_0x22c41f(0x11a)]=_0x31771f,this[_0x22c41f(0x15b)](_0x16c6c9);}));}[_0x18763b(0x1b7)](_0x3f60d8,_0x3bc647,_0x177701,_0x3751e1,_0x32b5a2){const _0x50e708=_0x18763b;this[_0x50e708(0x298)]=!0x1,this[_0x50e708(0x130)]=!0x0;const _0x1d4ef8=new _0x3f60d8(_0x177701?_0x50e708(0x28b)+_0x3bc647:_0x3bc647);return Error[_0x50e708(0x1b1)](_0x1d4ef8,this[_0x50e708(0x1b7)]),_0x1d4ef8['code']=_0x32b5a2,_0x1d4ef8[_0x1ddcd3]=_0x3751e1,_0x1d4ef8;}}return Se=_0x29d926,Se;}var Ee,et;function _t(){const _0x1d67cb=_0x28e367;if(et)return Ee;et=0x1;const {Duplex:_0x3b3336}=_0x22181d,{randomFillSync:_0x9289ba}=_0xf1bddb,_0x4baed9=he(),{EMPTY_BUFFER:_0x620dbc,kWebSocket:_0x2cd5f2,NOOP:_0x1d414e}=V(),{isBlob:_0x5623b6,isValidStatusCode:_0x14531f}=ne(),{mask:_0x386673,toBuffer:_0x471356}=ce(),_0x11fefd=Symbol(_0x1d67cb(0x23d)),_0x402221=Buffer[_0x1d67cb(0x211)](0x4),_0x73771d=0x8*0x400;let _0x307dc4,_0xbc29dd=_0x73771d;const _0xd6da9f=0x0,_0x1244d7=0x1,_0x198324=0x2;class _0x5b20e6{constructor(_0x3896fe,_0xea126d,_0x28c00c){const _0x2890c6=_0x1d67cb;this[_0x2890c6(0x16b)]=_0xea126d||{},_0x28c00c&&(this[_0x2890c6(0x1a1)]=_0x28c00c,this[_0x2890c6(0x12f)]=Buffer['alloc'](0x4)),this['_socket']=_0x3896fe,this[_0x2890c6(0x1bd)]=!0x0,this[_0x2890c6(0x155)]=!0x1,this[_0x2890c6(0x240)]=0x0,this[_0x2890c6(0x16a)]=[],this[_0x2890c6(0x11a)]=_0xd6da9f,this[_0x2890c6(0x12a)]=_0x1d414e,this[_0x2cd5f2]=void 0x0;}static[_0x1d67cb(0x19d)](_0x5072cc,_0x2b4346){const _0x50955e=_0x1d67cb;let _0x5f0a81,_0x113d85=!0x1,_0x361b0a=0x2,_0x577b62=!0x1;_0x2b4346[_0x50955e(0x23c)]&&(_0x5f0a81=_0x2b4346['maskBuffer']||_0x402221,_0x2b4346[_0x50955e(0xf9)]?_0x2b4346['generateMask'](_0x5f0a81):(_0xbc29dd===_0x73771d&&(_0x307dc4===void 0x0&&(_0x307dc4=Buffer[_0x50955e(0x211)](_0x73771d)),_0x9289ba(_0x307dc4,0x0,_0x73771d),_0xbc29dd=0x0),_0x5f0a81[0x0]=_0x307dc4[_0xbc29dd++],_0x5f0a81[0x1]=_0x307dc4[_0xbc29dd++],_0x5f0a81[0x2]=_0x307dc4[_0xbc29dd++],_0x5f0a81[0x3]=_0x307dc4[_0xbc29dd++]),_0x577b62=(_0x5f0a81[0x0]|_0x5f0a81[0x1]|_0x5f0a81[0x2]|_0x5f0a81[0x3])===0x0,_0x361b0a=0x6);let _0x48804d;typeof _0x5072cc==_0x50955e(0x237)?(!_0x2b4346[_0x50955e(0x23c)]||_0x577b62)&&_0x2b4346[_0x11fefd]!==void 0x0?_0x48804d=_0x2b4346[_0x11fefd]:(_0x5072cc=Buffer[_0x50955e(0x295)](_0x5072cc),_0x48804d=_0x5072cc[_0x50955e(0x264)]):(_0x48804d=_0x5072cc[_0x50955e(0x264)],_0x113d85=_0x2b4346['mask']&&_0x2b4346[_0x50955e(0x107)]&&!_0x577b62);let _0x5e5c48=_0x48804d;_0x48804d>=0x10000?(_0x361b0a+=0x8,_0x5e5c48=0x7f):_0x48804d>0x7d&&(_0x361b0a+=0x2,_0x5e5c48=0x7e);const _0x5881fc=Buffer[_0x50955e(0x116)](_0x113d85?_0x48804d+_0x361b0a:_0x361b0a);return _0x5881fc[0x0]=_0x2b4346[_0x50955e(0x201)]?_0x2b4346[_0x50955e(0x26b)]|0x80:_0x2b4346[_0x50955e(0x26b)],_0x2b4346[_0x50955e(0x135)]&&(_0x5881fc[0x0]|=0x40),_0x5881fc[0x1]=_0x5e5c48,_0x5e5c48===0x7e?_0x5881fc[_0x50955e(0x11d)](_0x48804d,0x2):_0x5e5c48===0x7f&&(_0x5881fc[0x2]=_0x5881fc[0x3]=0x0,_0x5881fc['writeUIntBE'](_0x48804d,0x4,0x6)),_0x2b4346['mask']?(_0x5881fc[0x1]|=0x80,_0x5881fc[_0x361b0a-0x4]=_0x5f0a81[0x0],_0x5881fc[_0x361b0a-0x3]=_0x5f0a81[0x1],_0x5881fc[_0x361b0a-0x2]=_0x5f0a81[0x2],_0x5881fc[_0x361b0a-0x1]=_0x5f0a81[0x3],_0x577b62?[_0x5881fc,_0x5072cc]:_0x113d85?(_0x386673(_0x5072cc,_0x5f0a81,_0x5881fc,_0x361b0a,_0x48804d),[_0x5881fc]):(_0x386673(_0x5072cc,_0x5f0a81,_0x5072cc,0x0,_0x48804d),[_0x5881fc,_0x5072cc])):[_0x5881fc,_0x5072cc];}['close'](_0x724411,_0x15c5a8,_0x5c4e8a,_0x3fb9e8){const _0x55e4ab=_0x1d67cb;let _0x308410;if(_0x724411===void 0x0)_0x308410=_0x620dbc;else{if(typeof _0x724411!=_0x55e4ab(0x1e8)||!_0x14531f(_0x724411))throw new TypeError(_0x55e4ab(0x25a));if(_0x15c5a8===void 0x0||!_0x15c5a8[_0x55e4ab(0x264)])_0x308410=Buffer['allocUnsafe'](0x2),_0x308410[_0x55e4ab(0x11d)](_0x724411,0x0);else{const _0x5f1b50=Buffer[_0x55e4ab(0x139)](_0x15c5a8);if(_0x5f1b50>0x7b)throw new RangeError(_0x55e4ab(0xfb));_0x308410=Buffer[_0x55e4ab(0x116)](0x2+_0x5f1b50),_0x308410[_0x55e4ab(0x11d)](_0x724411,0x0),typeof _0x15c5a8=='string'?_0x308410[_0x55e4ab(0x20e)](_0x15c5a8,0x2):_0x308410[_0x55e4ab(0x273)](_0x15c5a8,0x2);}}const _0x3f6e02={[_0x11fefd]:_0x308410[_0x55e4ab(0x264)],'fin':!0x0,'generateMask':this[_0x55e4ab(0x1a1)],'mask':_0x5c4e8a,'maskBuffer':this[_0x55e4ab(0x12f)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x55e4ab(0x11a)]!==_0xd6da9f?this[_0x55e4ab(0x15d)]([this[_0x55e4ab(0x225)],_0x308410,!0x1,_0x3f6e02,_0x3fb9e8]):this[_0x55e4ab(0x138)](_0x5b20e6[_0x55e4ab(0x19d)](_0x308410,_0x3f6e02),_0x3fb9e8);}[_0x1d67cb(0x1c3)](_0x221bb8,_0x108f31,_0x37a5c5){const _0x53c6a1=_0x1d67cb;let _0x5d5738,_0x245424;if(typeof _0x221bb8==_0x53c6a1(0x237)?(_0x5d5738=Buffer[_0x53c6a1(0x139)](_0x221bb8),_0x245424=!0x1):_0x5623b6(_0x221bb8)?(_0x5d5738=_0x221bb8[_0x53c6a1(0x21a)],_0x245424=!0x1):(_0x221bb8=_0x471356(_0x221bb8),_0x5d5738=_0x221bb8[_0x53c6a1(0x264)],_0x245424=_0x471356[_0x53c6a1(0x107)]),_0x5d5738>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x4871d0={[_0x11fefd]:_0x5d5738,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x108f31,'maskBuffer':this[_0x53c6a1(0x12f)],'opcode':0x9,'readOnly':_0x245424,'rsv1':!0x1};_0x5623b6(_0x221bb8)?this[_0x53c6a1(0x11a)]!==_0xd6da9f?this[_0x53c6a1(0x15d)]([this[_0x53c6a1(0x25f)],_0x221bb8,!0x1,_0x4871d0,_0x37a5c5]):this[_0x53c6a1(0x25f)](_0x221bb8,!0x1,_0x4871d0,_0x37a5c5):this[_0x53c6a1(0x11a)]!==_0xd6da9f?this[_0x53c6a1(0x15d)]([this[_0x53c6a1(0x225)],_0x221bb8,!0x1,_0x4871d0,_0x37a5c5]):this[_0x53c6a1(0x138)](_0x5b20e6[_0x53c6a1(0x19d)](_0x221bb8,_0x4871d0),_0x37a5c5);}[_0x1d67cb(0x13d)](_0x1bbf64,_0xb42a8d,_0x5a80e9){const _0x31f900=_0x1d67cb;let _0x60622a,_0x1f2c34;if(typeof _0x1bbf64==_0x31f900(0x237)?(_0x60622a=Buffer['byteLength'](_0x1bbf64),_0x1f2c34=!0x1):_0x5623b6(_0x1bbf64)?(_0x60622a=_0x1bbf64[_0x31f900(0x21a)],_0x1f2c34=!0x1):(_0x1bbf64=_0x471356(_0x1bbf64),_0x60622a=_0x1bbf64['length'],_0x1f2c34=_0x471356[_0x31f900(0x107)]),_0x60622a>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x1393b6={[_0x11fefd]:_0x60622a,'fin':!0x0,'generateMask':this[_0x31f900(0x1a1)],'mask':_0xb42a8d,'maskBuffer':this[_0x31f900(0x12f)],'opcode':0xa,'readOnly':_0x1f2c34,'rsv1':!0x1};_0x5623b6(_0x1bbf64)?this[_0x31f900(0x11a)]!==_0xd6da9f?this[_0x31f900(0x15d)]([this['getBlobData'],_0x1bbf64,!0x1,_0x1393b6,_0x5a80e9]):this['getBlobData'](_0x1bbf64,!0x1,_0x1393b6,_0x5a80e9):this[_0x31f900(0x11a)]!==_0xd6da9f?this[_0x31f900(0x15d)]([this[_0x31f900(0x225)],_0x1bbf64,!0x1,_0x1393b6,_0x5a80e9]):this[_0x31f900(0x138)](_0x5b20e6[_0x31f900(0x19d)](_0x1bbf64,_0x1393b6),_0x5a80e9);}[_0x1d67cb(0x28a)](_0x20ebf9,_0x27bda8,_0x53ee42){const _0x94f2f1=_0x1d67cb,_0x463fbd=this[_0x94f2f1(0x16b)][_0x4baed9[_0x94f2f1(0x270)]];let _0x7067d6=_0x27bda8[_0x94f2f1(0x1d4)]?0x2:0x1,_0x5022ad=_0x27bda8[_0x94f2f1(0xfe)],_0x193751,_0x4a318b;typeof _0x20ebf9=='string'?(_0x193751=Buffer['byteLength'](_0x20ebf9),_0x4a318b=!0x1):_0x5623b6(_0x20ebf9)?(_0x193751=_0x20ebf9['size'],_0x4a318b=!0x1):(_0x20ebf9=_0x471356(_0x20ebf9),_0x193751=_0x20ebf9[_0x94f2f1(0x264)],_0x4a318b=_0x471356[_0x94f2f1(0x107)]),this[_0x94f2f1(0x1bd)]?(this[_0x94f2f1(0x1bd)]=!0x1,_0x5022ad&&_0x463fbd&&_0x463fbd['params'][_0x463fbd[_0x94f2f1(0x17d)]?_0x94f2f1(0x118):'client_no_context_takeover']&&(_0x5022ad=_0x193751>=_0x463fbd[_0x94f2f1(0x23e)]),this[_0x94f2f1(0x155)]=_0x5022ad):(_0x5022ad=!0x1,_0x7067d6=0x0),_0x27bda8[_0x94f2f1(0x201)]&&(this['_firstFragment']=!0x0);const _0x58e5f8={[_0x11fefd]:_0x193751,'fin':_0x27bda8[_0x94f2f1(0x201)],'generateMask':this[_0x94f2f1(0x1a1)],'mask':_0x27bda8[_0x94f2f1(0x23c)],'maskBuffer':this['_maskBuffer'],'opcode':_0x7067d6,'readOnly':_0x4a318b,'rsv1':_0x5022ad};_0x5623b6(_0x20ebf9)?this[_0x94f2f1(0x11a)]!==_0xd6da9f?this[_0x94f2f1(0x15d)]([this[_0x94f2f1(0x25f)],_0x20ebf9,this[_0x94f2f1(0x155)],_0x58e5f8,_0x53ee42]):this[_0x94f2f1(0x25f)](_0x20ebf9,this[_0x94f2f1(0x155)],_0x58e5f8,_0x53ee42):this[_0x94f2f1(0x11a)]!==_0xd6da9f?this['enqueue']([this['dispatch'],_0x20ebf9,this[_0x94f2f1(0x155)],_0x58e5f8,_0x53ee42]):this[_0x94f2f1(0x225)](_0x20ebf9,this[_0x94f2f1(0x155)],_0x58e5f8,_0x53ee42);}[_0x1d67cb(0x25f)](_0x572c7f,_0x2a3a88,_0x48d5e9,_0x355387){const _0x2d294e=_0x1d67cb;this['_bufferedBytes']+=_0x48d5e9[_0x11fefd],this[_0x2d294e(0x11a)]=_0x198324,_0x572c7f[_0x2d294e(0x13b)]()[_0x2d294e(0x200)](_0x5ba19c=>{const _0x199692=_0x2d294e;if(this[_0x199692(0x24d)][_0x199692(0x153)]){const _0xa5d0f8=new Error(_0x199692(0x15f));process['nextTick'](_0x1f4fe5,this,_0xa5d0f8,_0x355387);return;}this[_0x199692(0x240)]-=_0x48d5e9[_0x11fefd];const _0x5b19ea=_0x471356(_0x5ba19c);_0x2a3a88?this[_0x199692(0x225)](_0x5b19ea,_0x2a3a88,_0x48d5e9,_0x355387):(this[_0x199692(0x11a)]=_0xd6da9f,this['sendFrame'](_0x5b20e6[_0x199692(0x19d)](_0x5b19ea,_0x48d5e9),_0x355387),this[_0x199692(0x1bc)]());})[_0x2d294e(0x1ac)](_0x8bf137=>{process['nextTick'](_0x4f8dd5,this,_0x8bf137,_0x355387);});}[_0x1d67cb(0x225)](_0x489a39,_0x2c60fa,_0x3bab62,_0x2a2ad9){const _0x314cbf=_0x1d67cb;if(!_0x2c60fa){this[_0x314cbf(0x138)](_0x5b20e6[_0x314cbf(0x19d)](_0x489a39,_0x3bab62),_0x2a2ad9);return;}const _0x4897bd=this['_extensions'][_0x4baed9[_0x314cbf(0x270)]];this['_bufferedBytes']+=_0x3bab62[_0x11fefd],this[_0x314cbf(0x11a)]=_0x1244d7,_0x4897bd['compress'](_0x489a39,_0x3bab62[_0x314cbf(0x201)],(_0x5bfdab,_0x4e8ddd)=>{const _0x3ca75a=_0x314cbf;if(this[_0x3ca75a(0x24d)]['destroyed']){const _0x90dc09=new Error(_0x3ca75a(0x186));_0x1f4fe5(this,_0x90dc09,_0x2a2ad9);return;}this['_bufferedBytes']-=_0x3bab62[_0x11fefd],this[_0x3ca75a(0x11a)]=_0xd6da9f,_0x3bab62[_0x3ca75a(0x107)]=!0x1,this[_0x3ca75a(0x138)](_0x5b20e6[_0x3ca75a(0x19d)](_0x4e8ddd,_0x3bab62),_0x2a2ad9),this[_0x3ca75a(0x1bc)]();});}[_0x1d67cb(0x1bc)](){const _0x3590bc=_0x1d67cb;for(;this['_state']===_0xd6da9f&&this[_0x3590bc(0x16a)][_0x3590bc(0x264)];){const _0x494df3=this['_queue']['shift']();this[_0x3590bc(0x240)]-=_0x494df3[0x3][_0x11fefd],Reflect[_0x3590bc(0x25b)](_0x494df3[0x0],this,_0x494df3['slice'](0x1));}}[_0x1d67cb(0x15d)](_0x1f5a98){const _0x375a5c=_0x1d67cb;this[_0x375a5c(0x240)]+=_0x1f5a98[0x3][_0x11fefd],this[_0x375a5c(0x16a)][_0x375a5c(0x1fe)](_0x1f5a98);}['sendFrame'](_0x8e9dc4,_0x595b19){const _0x4006b4=_0x1d67cb;_0x8e9dc4[_0x4006b4(0x264)]===0x2?(this[_0x4006b4(0x24d)][_0x4006b4(0x131)](),this['_socket'][_0x4006b4(0x20e)](_0x8e9dc4[0x0]),this[_0x4006b4(0x24d)][_0x4006b4(0x20e)](_0x8e9dc4[0x1],_0x595b19),this[_0x4006b4(0x24d)][_0x4006b4(0x248)]()):this[_0x4006b4(0x24d)]['write'](_0x8e9dc4[0x0],_0x595b19);}}Ee=_0x5b20e6;function _0x1f4fe5(_0x4c642d,_0x15faf2,_0x2da70){const _0x49bf1d=_0x1d67cb;typeof _0x2da70=='function'&&_0x2da70(_0x15faf2);for(let _0x57122a=0x0;_0x57122a<_0x4c642d[_0x49bf1d(0x16a)][_0x49bf1d(0x264)];_0x57122a++){const _0x51788b=_0x4c642d[_0x49bf1d(0x16a)][_0x57122a],_0x521b07=_0x51788b[_0x51788b[_0x49bf1d(0x264)]-0x1];typeof _0x521b07==_0x49bf1d(0x1a9)&&_0x521b07(_0x15faf2);}}function _0x4f8dd5(_0x8151a0,_0x532911,_0x17c912){const _0x15320a=_0x1d67cb;_0x1f4fe5(_0x8151a0,_0x532911,_0x17c912),_0x8151a0[_0x15320a(0x12a)](_0x532911);}return Ee;}var xe,tt;function Kt(){const _0x217986=_0x28e367;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x554ba9,kListener:_0x2e5d95}=V(),_0x30e68e=Symbol(_0x217986(0x1db)),_0x2a2d38=Symbol(_0x217986(0x181)),_0x101af1=Symbol('kError'),_0x33bf3a=Symbol('kMessage'),_0x31ea9d=Symbol(_0x217986(0x129)),_0x5b3c9b=Symbol(_0x217986(0x245)),_0x2a08d0=Symbol(_0x217986(0x1f9)),_0x5994a0=Symbol(_0x217986(0x10c));class _0x2500dd{constructor(_0xaba42c){this[_0x5b3c9b]=null,this[_0x2a08d0]=_0xaba42c;}get['target'](){return this[_0x5b3c9b];}get[_0x217986(0x275)](){return this[_0x2a08d0];}}Object[_0x217986(0x185)](_0x2500dd[_0x217986(0x29c)],'target',{'enumerable':!0x0}),Object[_0x217986(0x185)](_0x2500dd[_0x217986(0x29c)],'type',{'enumerable':!0x0});class _0x2fae66 extends _0x2500dd{constructor(_0x4817ea,_0x39cbeb={}){const _0x166318=_0x217986;super(_0x4817ea),this[_0x30e68e]=_0x39cbeb[_0x166318(0x174)]===void 0x0?0x0:_0x39cbeb['code'],this[_0x31ea9d]=_0x39cbeb[_0x166318(0x1c2)]===void 0x0?'':_0x39cbeb[_0x166318(0x1c2)],this[_0x5994a0]=_0x39cbeb[_0x166318(0x10a)]===void 0x0?!0x1:_0x39cbeb[_0x166318(0x10a)];}get[_0x217986(0x174)](){return this[_0x30e68e];}get[_0x217986(0x1c2)](){return this[_0x31ea9d];}get['wasClean'](){return this[_0x5994a0];}}Object[_0x217986(0x185)](_0x2fae66[_0x217986(0x29c)],_0x217986(0x174),{'enumerable':!0x0}),Object[_0x217986(0x185)](_0x2fae66[_0x217986(0x29c)],'reason',{'enumerable':!0x0}),Object[_0x217986(0x185)](_0x2fae66['prototype'],_0x217986(0x10a),{'enumerable':!0x0});class _0x517ba0 extends _0x2500dd{constructor(_0x17c706,_0x3e3535={}){const _0x5c5f5d=_0x217986;super(_0x17c706),this[_0x101af1]=_0x3e3535[_0x5c5f5d(0x1ad)]===void 0x0?null:_0x3e3535[_0x5c5f5d(0x1ad)],this[_0x33bf3a]=_0x3e3535['message']===void 0x0?'':_0x3e3535[_0x5c5f5d(0x246)];}get[_0x217986(0x1ad)](){return this[_0x101af1];}get[_0x217986(0x246)](){return this[_0x33bf3a];}}Object[_0x217986(0x185)](_0x517ba0['prototype'],_0x217986(0x1ad),{'enumerable':!0x0}),Object['defineProperty'](_0x517ba0['prototype'],_0x217986(0x246),{'enumerable':!0x0});class _0x20b603 extends _0x2500dd{constructor(_0x14555c,_0x2ce432={}){const _0x5b559c=_0x217986;super(_0x14555c),this[_0x2a2d38]=_0x2ce432[_0x5b559c(0x1a0)]===void 0x0?null:_0x2ce432['data'];}get[_0x217986(0x1a0)](){return this[_0x2a2d38];}}Object[_0x217986(0x185)](_0x20b603[_0x217986(0x29c)],_0x217986(0x1a0),{'enumerable':!0x0}),xe={'CloseEvent':_0x2fae66,'ErrorEvent':_0x517ba0,'Event':_0x2500dd,'EventTarget':{'addEventListener'(_0x27e390,_0x4e79cc,_0x597865={}){const _0x57dd23=_0x217986;for(const _0x322827 of this[_0x57dd23(0x29a)](_0x27e390))if(!_0x597865[_0x554ba9]&&_0x322827[_0x2e5d95]===_0x4e79cc&&!_0x322827[_0x554ba9])return;let _0x521b00;if(_0x27e390===_0x57dd23(0x246))_0x521b00=function(_0xa078c9,_0x23b068){const _0x5a6c9d=_0x57dd23,_0x3a0b1b=new _0x20b603(_0x5a6c9d(0x246),{'data':_0x23b068?_0xa078c9:_0xa078c9[_0x5a6c9d(0x18d)]()});_0x3a0b1b[_0x5b3c9b]=this,_0x21b250(_0x4e79cc,this,_0x3a0b1b);};else{if(_0x27e390===_0x57dd23(0x110))_0x521b00=function(_0x3243f9,_0x5e2dc2){const _0xcedb9e=_0x57dd23,_0x3b8dca=new _0x2fae66(_0xcedb9e(0x110),{'code':_0x3243f9,'reason':_0x5e2dc2['toString'](),'wasClean':this[_0xcedb9e(0x11f)]&&this[_0xcedb9e(0x22e)]});_0x3b8dca[_0x5b3c9b]=this,_0x21b250(_0x4e79cc,this,_0x3b8dca);};else{if(_0x27e390===_0x57dd23(0x1ad))_0x521b00=function(_0x28a188){const _0x33170f=_0x57dd23,_0xce6404=new _0x517ba0('error',{'error':_0x28a188,'message':_0x28a188[_0x33170f(0x246)]});_0xce6404[_0x5b3c9b]=this,_0x21b250(_0x4e79cc,this,_0xce6404);};else{if(_0x27e390===_0x57dd23(0x1c1))_0x521b00=function(){const _0x2f80fa=_0x57dd23,_0x11137f=new _0x2500dd(_0x2f80fa(0x1c1));_0x11137f[_0x5b3c9b]=this,_0x21b250(_0x4e79cc,this,_0x11137f);};else return;}}}_0x521b00[_0x554ba9]=!!_0x597865[_0x554ba9],_0x521b00[_0x2e5d95]=_0x4e79cc,_0x597865[_0x57dd23(0x176)]?this[_0x57dd23(0x176)](_0x27e390,_0x521b00):this['on'](_0x27e390,_0x521b00);},'removeEventListener'(_0x37b0ea,_0x2b2250){const _0x4aa650=_0x217986;for(const _0x49c946 of this[_0x4aa650(0x29a)](_0x37b0ea))if(_0x49c946[_0x2e5d95]===_0x2b2250&&!_0x49c946[_0x554ba9]){this[_0x4aa650(0x1f6)](_0x37b0ea,_0x49c946);break;}}},'MessageEvent':_0x20b603};function _0x21b250(_0x101550,_0x52e745,_0x38c08d){const _0xb48894=_0x217986;typeof _0x101550=='object'&&_0x101550[_0xb48894(0x1df)]?_0x101550[_0xb48894(0x1df)][_0xb48894(0x1a2)](_0x101550,_0x38c08d):_0x101550[_0xb48894(0x1a2)](_0x52e745,_0x38c08d);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x3df1ab}=ne();function _0x5023ce(_0x1194f0,_0x268ae9,_0x11415f){const _0x569a32=_0x2a0f;_0x1194f0[_0x268ae9]===void 0x0?_0x1194f0[_0x268ae9]=[_0x11415f]:_0x1194f0[_0x268ae9][_0x569a32(0x1fe)](_0x11415f);}function _0x14c77a(_0x9a1021){const _0x102514=_0x2a0f,_0xafd14a=Object[_0x102514(0x294)](null);let _0x176911=Object[_0x102514(0x294)](null),_0x5584bf=!0x1,_0x3e9135=!0x1,_0x589f42=!0x1,_0xbc2bf5,_0x313493,_0x5e8d59=-0x1,_0x33ab0e=-0x1,_0x1a37f0=-0x1,_0x51df67=0x0;for(;_0x51df67<_0x9a1021[_0x102514(0x264)];_0x51df67++)if(_0x33ab0e=_0x9a1021[_0x102514(0x1e2)](_0x51df67),_0xbc2bf5===void 0x0){if(_0x1a37f0===-0x1&&_0x3df1ab[_0x33ab0e]===0x1)_0x5e8d59===-0x1&&(_0x5e8d59=_0x51df67);else{if(_0x51df67!==0x0&&(_0x33ab0e===0x20||_0x33ab0e===0x9))_0x1a37f0===-0x1&&_0x5e8d59!==-0x1&&(_0x1a37f0=_0x51df67);else{if(_0x33ab0e===0x3b||_0x33ab0e===0x2c){if(_0x5e8d59===-0x1)throw new SyntaxError(_0x102514(0x120)+_0x51df67);_0x1a37f0===-0x1&&(_0x1a37f0=_0x51df67);const _0x51dc2a=_0x9a1021[_0x102514(0x1fb)](_0x5e8d59,_0x1a37f0);_0x33ab0e===0x2c?(_0x5023ce(_0xafd14a,_0x51dc2a,_0x176911),_0x176911=Object['create'](null)):_0xbc2bf5=_0x51dc2a,_0x5e8d59=_0x1a37f0=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x51df67);}}}else{if(_0x313493===void 0x0){if(_0x1a37f0===-0x1&&_0x3df1ab[_0x33ab0e]===0x1)_0x5e8d59===-0x1&&(_0x5e8d59=_0x51df67);else{if(_0x33ab0e===0x20||_0x33ab0e===0x9)_0x1a37f0===-0x1&&_0x5e8d59!==-0x1&&(_0x1a37f0=_0x51df67);else{if(_0x33ab0e===0x3b||_0x33ab0e===0x2c){if(_0x5e8d59===-0x1)throw new SyntaxError(_0x102514(0x120)+_0x51df67);_0x1a37f0===-0x1&&(_0x1a37f0=_0x51df67),_0x5023ce(_0x176911,_0x9a1021[_0x102514(0x1fb)](_0x5e8d59,_0x1a37f0),!0x0),_0x33ab0e===0x2c&&(_0x5023ce(_0xafd14a,_0xbc2bf5,_0x176911),_0x176911=Object['create'](null),_0xbc2bf5=void 0x0),_0x5e8d59=_0x1a37f0=-0x1;}else{if(_0x33ab0e===0x3d&&_0x5e8d59!==-0x1&&_0x1a37f0===-0x1)_0x313493=_0x9a1021[_0x102514(0x1fb)](_0x5e8d59,_0x51df67),_0x5e8d59=_0x1a37f0=-0x1;else throw new SyntaxError(_0x102514(0x120)+_0x51df67);}}}}else{if(_0x3e9135){if(_0x3df1ab[_0x33ab0e]!==0x1)throw new SyntaxError(_0x102514(0x120)+_0x51df67);_0x5e8d59===-0x1?_0x5e8d59=_0x51df67:_0x5584bf||(_0x5584bf=!0x0),_0x3e9135=!0x1;}else{if(_0x589f42){if(_0x3df1ab[_0x33ab0e]===0x1)_0x5e8d59===-0x1&&(_0x5e8d59=_0x51df67);else{if(_0x33ab0e===0x22&&_0x5e8d59!==-0x1)_0x589f42=!0x1,_0x1a37f0=_0x51df67;else{if(_0x33ab0e===0x5c)_0x3e9135=!0x0;else throw new SyntaxError(_0x102514(0x120)+_0x51df67);}}}else{if(_0x33ab0e===0x22&&_0x9a1021[_0x102514(0x1e2)](_0x51df67-0x1)===0x3d)_0x589f42=!0x0;else{if(_0x1a37f0===-0x1&&_0x3df1ab[_0x33ab0e]===0x1)_0x5e8d59===-0x1&&(_0x5e8d59=_0x51df67);else{if(_0x5e8d59!==-0x1&&(_0x33ab0e===0x20||_0x33ab0e===0x9))_0x1a37f0===-0x1&&(_0x1a37f0=_0x51df67);else{if(_0x33ab0e===0x3b||_0x33ab0e===0x2c){if(_0x5e8d59===-0x1)throw new SyntaxError(_0x102514(0x120)+_0x51df67);_0x1a37f0===-0x1&&(_0x1a37f0=_0x51df67);let _0x19ce57=_0x9a1021[_0x102514(0x1fb)](_0x5e8d59,_0x1a37f0);_0x5584bf&&(_0x19ce57=_0x19ce57[_0x102514(0x279)](/\\/g,''),_0x5584bf=!0x1),_0x5023ce(_0x176911,_0x313493,_0x19ce57),_0x33ab0e===0x2c&&(_0x5023ce(_0xafd14a,_0xbc2bf5,_0x176911),_0x176911=Object[_0x102514(0x294)](null),_0xbc2bf5=void 0x0),_0x313493=void 0x0,_0x5e8d59=_0x1a37f0=-0x1;}else throw new SyntaxError(_0x102514(0x120)+_0x51df67);}}}}}}}if(_0x5e8d59===-0x1||_0x589f42||_0x33ab0e===0x20||_0x33ab0e===0x9)throw new SyntaxError(_0x102514(0x286));_0x1a37f0===-0x1&&(_0x1a37f0=_0x51df67);const _0x4ac787=_0x9a1021['slice'](_0x5e8d59,_0x1a37f0);return _0xbc2bf5===void 0x0?_0x5023ce(_0xafd14a,_0x4ac787,_0x176911):(_0x313493===void 0x0?_0x5023ce(_0x176911,_0x4ac787,!0x0):_0x5584bf?_0x5023ce(_0x176911,_0x313493,_0x4ac787[_0x102514(0x279)](/\\/g,'')):_0x5023ce(_0x176911,_0x313493,_0x4ac787),_0x5023ce(_0xafd14a,_0xbc2bf5,_0x176911)),_0xafd14a;}function _0x3f9db2(_0x1b7c22){const _0x4e90e8=_0x2a0f;return Object[_0x4e90e8(0x1bb)](_0x1b7c22)['map'](_0x8ad094=>{const _0x521c8f=_0x4e90e8;let _0x5a6a66=_0x1b7c22[_0x8ad094];return Array['isArray'](_0x5a6a66)||(_0x5a6a66=[_0x5a6a66]),_0x5a6a66['map'](_0x1e9485=>[_0x8ad094][_0x521c8f(0x1ab)](Object[_0x521c8f(0x1bb)](_0x1e9485)[_0x521c8f(0x2a0)](_0x1057ed=>{const _0x531393=_0x521c8f;let _0x1288ba=_0x1e9485[_0x1057ed];return Array[_0x531393(0x1f8)](_0x1288ba)||(_0x1288ba=[_0x1288ba]),_0x1288ba[_0x531393(0x2a0)](_0x2c8f6f=>_0x2c8f6f===!0x0?_0x1057ed:_0x1057ed+'='+_0x2c8f6f)[_0x531393(0x191)](';\x20');}))[_0x521c8f(0x191)](';\x20'))[_0x521c8f(0x191)](',\x20');})[_0x4e90e8(0x191)](',\x20');}return be={'format':_0x3f9db2,'parse':_0x14c77a},be;}var we,st;function Ie(){const _0x1d77be=_0x28e367;if(st)return we;st=0x1;const _0x451e87=_0xf4ab10,_0x2bd1f1=_0x5327a0,_0x52bf29=_0x137d48,_0x3ae417=_0x38b550,_0x31988e=_0xa21b2e,{randomBytes:_0x1f8b88,createHash:_0x5d1a40}=_0xf1bddb,{Duplex:_0x227013,Readable:_0x58b8d0}=_0x22181d,{URL:_0x2ab88b}=_0x2d4f24,_0x423fb6=he(),_0x52024a=dt(),_0x10885d=_t(),{isBlob:_0x295b46}=ne(),{BINARY_TYPES:_0x5c14c1,EMPTY_BUFFER:_0x5b623e,GUID:_0x8354da,kForOnEventAttribute:_0x582079,kListener:_0x425d85,kStatusCode:_0x7e7503,kWebSocket:_0x214363,NOOP:_0x5e7b1d}=V(),{EventTarget:{addEventListener:_0x1d4c9d,removeEventListener:_0x361210}}=Kt(),{format:_0x2a8f83,parse:_0x261e2d}=pt(),{toBuffer:_0x5c0a2d}=ce(),_0xd95190=0x1e*0x3e8,_0x5159ab=Symbol(_0x1d77be(0x271)),_0x1d104f=[0x8,0xd],_0x59b935=[_0x1d77be(0x151),_0x1d77be(0x203),_0x1d77be(0x27b),_0x1d77be(0x25e)],_0x47ad00=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x311328 extends _0x451e87{constructor(_0x5daff1,_0x561280,_0x38aa15){const _0xfff70d=_0x1d77be;super(),this[_0xfff70d(0x217)]=_0x5c14c1[0x0],this[_0xfff70d(0x1d9)]=0x3ee,this[_0xfff70d(0x11f)]=!0x1,this[_0xfff70d(0x22e)]=!0x1,this[_0xfff70d(0x1c6)]=_0x5b623e,this[_0xfff70d(0x26d)]=null,this[_0xfff70d(0x178)]=!0x1,this[_0xfff70d(0x16b)]={},this['_paused']=!0x1,this[_0xfff70d(0x276)]='',this[_0xfff70d(0x2a1)]=_0x311328['CONNECTING'],this[_0xfff70d(0x14e)]=null,this[_0xfff70d(0x234)]=null,this['_socket']=null,_0x5daff1!==null?(this[_0xfff70d(0x128)]=0x0,this[_0xfff70d(0x17d)]=!0x1,this[_0xfff70d(0x220)]=0x0,_0x561280===void 0x0?_0x561280=[]:Array[_0xfff70d(0x1f8)](_0x561280)||(typeof _0x561280=='object'&&_0x561280!==null?(_0x38aa15=_0x561280,_0x561280=[]):_0x561280=[_0x561280]),_0x236523(this,_0x5daff1,_0x561280,_0x38aa15)):(this[_0xfff70d(0x1af)]=_0x38aa15[_0xfff70d(0x1c8)],this['_isServer']=!0x0);}get[_0x1d77be(0xf6)](){const _0x2f8869=_0x1d77be;return this[_0x2f8869(0x217)];}set[_0x1d77be(0xf6)](_0x1bee7a){const _0x3e4986=_0x1d77be;_0x5c14c1['includes'](_0x1bee7a)&&(this[_0x3e4986(0x217)]=_0x1bee7a,this[_0x3e4986(0x14e)]&&(this[_0x3e4986(0x14e)][_0x3e4986(0x217)]=_0x1bee7a));}get[_0x1d77be(0x111)](){const _0x2a38f0=_0x1d77be;return this['_socket']?this['_socket'][_0x2a38f0(0x1fc)][_0x2a38f0(0x264)]+this[_0x2a38f0(0x234)][_0x2a38f0(0x240)]:this[_0x2a38f0(0x128)];}get[_0x1d77be(0x15a)](){const _0x4c4626=_0x1d77be;return Object['keys'](this[_0x4c4626(0x16b)])[_0x4c4626(0x191)]();}get[_0x1d77be(0x12b)](){return this['_paused'];}get[_0x1d77be(0x132)](){return null;}get[_0x1d77be(0x12a)](){return null;}get[_0x1d77be(0x121)](){return null;}get['onmessage'](){return null;}get[_0x1d77be(0x266)](){const _0x289469=_0x1d77be;return this[_0x289469(0x276)];}get['readyState'](){const _0x268e40=_0x1d77be;return this[_0x268e40(0x2a1)];}get[_0x1d77be(0x134)](){const _0x8929ca=_0x1d77be;return this[_0x8929ca(0x272)];}['setSocket'](_0x52ddcf,_0x59de68,_0x245550){const _0x475ea7=_0x1d77be,_0x2291b2=new _0x52024a({'allowSynchronousEvents':_0x245550[_0x475ea7(0x140)],'binaryType':this[_0x475ea7(0xf6)],'extensions':this[_0x475ea7(0x16b)],'isServer':this[_0x475ea7(0x17d)],'maxPayload':_0x245550[_0x475ea7(0x1f0)],'skipUTF8Validation':_0x245550[_0x475ea7(0x22a)]}),_0xf6ade0=new _0x10885d(_0x52ddcf,this['_extensions'],_0x245550[_0x475ea7(0xf9)]);this[_0x475ea7(0x14e)]=_0x2291b2,this['_sender']=_0xf6ade0,this[_0x475ea7(0x24d)]=_0x52ddcf,_0x2291b2[_0x214363]=this,_0xf6ade0[_0x214363]=this,_0x52ddcf[_0x214363]=this,_0x2291b2['on'](_0x475ea7(0x144),_0x24c894),_0x2291b2['on']('drain',_0x15c52e),_0x2291b2['on'](_0x475ea7(0x1ad),_0x968299),_0x2291b2['on']('message',_0x29dbac),_0x2291b2['on'](_0x475ea7(0x1c3),_0x57dc88),_0x2291b2['on'](_0x475ea7(0x13d),_0x2414b7),_0xf6ade0[_0x475ea7(0x12a)]=_0x5ea355,_0x52ddcf[_0x475ea7(0x17a)]&&_0x52ddcf[_0x475ea7(0x17a)](0x0),_0x52ddcf['setNoDelay']&&_0x52ddcf[_0x475ea7(0x175)](),_0x59de68[_0x475ea7(0x264)]>0x0&&_0x52ddcf[_0x475ea7(0x24a)](_0x59de68),_0x52ddcf['on'](_0x475ea7(0x110),_0x4e5da3),_0x52ddcf['on']('data',_0x423414),_0x52ddcf['on'](_0x475ea7(0x284),_0x5a046c),_0x52ddcf['on'](_0x475ea7(0x1ad),_0x562ee7),this[_0x475ea7(0x2a1)]=_0x311328[_0x475ea7(0x203)],this[_0x475ea7(0x283)](_0x475ea7(0x1c1));}['emitClose'](){const _0x2520d5=_0x1d77be;if(!this[_0x2520d5(0x24d)]){this['_readyState']=_0x311328['CLOSED'],this['emit']('close',this[_0x2520d5(0x1d9)],this[_0x2520d5(0x1c6)]);return;}this[_0x2520d5(0x16b)][_0x423fb6['extensionName']]&&this[_0x2520d5(0x16b)][_0x423fb6['extensionName']][_0x2520d5(0x214)](),this[_0x2520d5(0x14e)][_0x2520d5(0x137)](),this[_0x2520d5(0x2a1)]=_0x311328[_0x2520d5(0x25e)],this[_0x2520d5(0x283)](_0x2520d5(0x110),this[_0x2520d5(0x1d9)],this['_closeMessage']);}[_0x1d77be(0x110)](_0x16174a,_0x337d2b){const _0x5ba876=_0x1d77be;if(this[_0x5ba876(0x208)]!==_0x311328[_0x5ba876(0x25e)]){if(this[_0x5ba876(0x208)]===_0x311328[_0x5ba876(0x151)]){_0x1420f7(this,this[_0x5ba876(0x1b3)],_0x5ba876(0x136));return;}if(this['readyState']===_0x311328[_0x5ba876(0x27b)]){this[_0x5ba876(0x22e)]&&(this[_0x5ba876(0x11f)]||this[_0x5ba876(0x14e)][_0x5ba876(0x1fc)][_0x5ba876(0x1ff)])&&this[_0x5ba876(0x24d)]['end']();return;}this[_0x5ba876(0x2a1)]=_0x311328[_0x5ba876(0x27b)],this['_sender'][_0x5ba876(0x110)](_0x16174a,_0x337d2b,!this[_0x5ba876(0x17d)],_0x4cc13c=>{const _0x49d7fe=_0x5ba876;_0x4cc13c||(this[_0x49d7fe(0x22e)]=!0x0,(this['_closeFrameReceived']||this[_0x49d7fe(0x14e)][_0x49d7fe(0x1fc)]['errorEmitted'])&&this['_socket'][_0x49d7fe(0x284)]());}),_0x44d6d2(this);}}[_0x1d77be(0x14d)](){const _0x8a4880=_0x1d77be;this[_0x8a4880(0x208)]===_0x311328[_0x8a4880(0x151)]||this[_0x8a4880(0x208)]===_0x311328['CLOSED']||(this[_0x8a4880(0xf7)]=!0x0,this[_0x8a4880(0x24d)][_0x8a4880(0x14d)]());}[_0x1d77be(0x1c3)](_0x129aee,_0x2dc8a1,_0x4fdb91){const _0x5c2bf3=_0x1d77be;if(this[_0x5c2bf3(0x208)]===_0x311328[_0x5c2bf3(0x151)])throw new Error(_0x5c2bf3(0x1cc));if(typeof _0x129aee=='function'?(_0x4fdb91=_0x129aee,_0x129aee=_0x2dc8a1=void 0x0):typeof _0x2dc8a1=='function'&&(_0x4fdb91=_0x2dc8a1,_0x2dc8a1=void 0x0),typeof _0x129aee==_0x5c2bf3(0x1e8)&&(_0x129aee=_0x129aee['toString']()),this[_0x5c2bf3(0x208)]!==_0x311328[_0x5c2bf3(0x203)]){_0x1c048c(this,_0x129aee,_0x4fdb91);return;}_0x2dc8a1===void 0x0&&(_0x2dc8a1=!this['_isServer']),this[_0x5c2bf3(0x234)][_0x5c2bf3(0x1c3)](_0x129aee||_0x5b623e,_0x2dc8a1,_0x4fdb91);}['pong'](_0x4041eb,_0x21d0b1,_0x372258){const _0x3f1818=_0x1d77be;if(this['readyState']===_0x311328[_0x3f1818(0x151)])throw new Error(_0x3f1818(0x1cc));if(typeof _0x4041eb==_0x3f1818(0x1a9)?(_0x372258=_0x4041eb,_0x4041eb=_0x21d0b1=void 0x0):typeof _0x21d0b1==_0x3f1818(0x1a9)&&(_0x372258=_0x21d0b1,_0x21d0b1=void 0x0),typeof _0x4041eb==_0x3f1818(0x1e8)&&(_0x4041eb=_0x4041eb[_0x3f1818(0x18d)]()),this[_0x3f1818(0x208)]!==_0x311328[_0x3f1818(0x203)]){_0x1c048c(this,_0x4041eb,_0x372258);return;}_0x21d0b1===void 0x0&&(_0x21d0b1=!this['_isServer']),this['_sender'][_0x3f1818(0x13d)](_0x4041eb||_0x5b623e,_0x21d0b1,_0x372258);}[_0x1d77be(0x1d1)](){const _0x2a0cc4=_0x1d77be;this['readyState']===_0x311328['CONNECTING']||this[_0x2a0cc4(0x208)]===_0x311328['CLOSED']||(this[_0x2a0cc4(0xf7)]=!0x1,this['_receiver'][_0x2a0cc4(0x1fc)][_0x2a0cc4(0x125)]||this[_0x2a0cc4(0x24d)]['resume']());}[_0x1d77be(0x28a)](_0x5c390b,_0x16c4bf,_0x3f1103){const _0x409d39=_0x1d77be;if(this[_0x409d39(0x208)]===_0x311328[_0x409d39(0x151)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x16c4bf==_0x409d39(0x1a9)&&(_0x3f1103=_0x16c4bf,_0x16c4bf={}),typeof _0x5c390b==_0x409d39(0x1e8)&&(_0x5c390b=_0x5c390b[_0x409d39(0x18d)]()),this['readyState']!==_0x311328['OPEN']){_0x1c048c(this,_0x5c390b,_0x3f1103);return;}const _0x356fb9={'binary':typeof _0x5c390b!=_0x409d39(0x237),'mask':!this[_0x409d39(0x17d)],'compress':!0x0,'fin':!0x0,..._0x16c4bf};this[_0x409d39(0x16b)][_0x423fb6[_0x409d39(0x270)]]||(_0x356fb9[_0x409d39(0xfe)]=!0x1),this[_0x409d39(0x234)][_0x409d39(0x28a)](_0x5c390b||_0x5b623e,_0x356fb9,_0x3f1103);}[_0x1d77be(0x1c9)](){const _0x3cad8a=_0x1d77be;if(this['readyState']!==_0x311328['CLOSED']){if(this['readyState']===_0x311328[_0x3cad8a(0x151)]){_0x1420f7(this,this[_0x3cad8a(0x1b3)],_0x3cad8a(0x136));return;}this[_0x3cad8a(0x24d)]&&(this['_readyState']=_0x311328[_0x3cad8a(0x27b)],this[_0x3cad8a(0x24d)][_0x3cad8a(0x22f)]());}}}Object['defineProperty'](_0x311328,_0x1d77be(0x151),{'enumerable':!0x0,'value':_0x59b935[_0x1d77be(0x269)]('CONNECTING')}),Object[_0x1d77be(0x185)](_0x311328[_0x1d77be(0x29c)],_0x1d77be(0x151),{'enumerable':!0x0,'value':_0x59b935[_0x1d77be(0x269)](_0x1d77be(0x151))}),Object['defineProperty'](_0x311328,'OPEN',{'enumerable':!0x0,'value':_0x59b935[_0x1d77be(0x269)](_0x1d77be(0x203))}),Object[_0x1d77be(0x185)](_0x311328[_0x1d77be(0x29c)],_0x1d77be(0x203),{'enumerable':!0x0,'value':_0x59b935['indexOf'](_0x1d77be(0x203))}),Object[_0x1d77be(0x185)](_0x311328,_0x1d77be(0x27b),{'enumerable':!0x0,'value':_0x59b935[_0x1d77be(0x269)](_0x1d77be(0x27b))}),Object['defineProperty'](_0x311328[_0x1d77be(0x29c)],_0x1d77be(0x27b),{'enumerable':!0x0,'value':_0x59b935[_0x1d77be(0x269)]('CLOSING')}),Object[_0x1d77be(0x185)](_0x311328,'CLOSED',{'enumerable':!0x0,'value':_0x59b935[_0x1d77be(0x269)](_0x1d77be(0x25e))}),Object['defineProperty'](_0x311328[_0x1d77be(0x29c)],_0x1d77be(0x25e),{'enumerable':!0x0,'value':_0x59b935[_0x1d77be(0x269)](_0x1d77be(0x25e))}),[_0x1d77be(0xf6),'bufferedAmount',_0x1d77be(0x15a),_0x1d77be(0x12b),_0x1d77be(0x266),_0x1d77be(0x208),_0x1d77be(0x134)][_0x1d77be(0x157)](_0x173771=>{const _0x3dbcd8=_0x1d77be;Object[_0x3dbcd8(0x185)](_0x311328[_0x3dbcd8(0x29c)],_0x173771,{'enumerable':!0x0});}),[_0x1d77be(0x1c1),'error',_0x1d77be(0x110),'message']['forEach'](_0x3ab095=>{const _0x3d826d=_0x1d77be;Object['defineProperty'](_0x311328[_0x3d826d(0x29c)],'on'+_0x3ab095,{'enumerable':!0x0,'get'(){const _0x4090b8=_0x3d826d;for(const _0x5e73e4 of this[_0x4090b8(0x29a)](_0x3ab095))if(_0x5e73e4[_0x582079])return _0x5e73e4[_0x425d85];return null;},'set'(_0x48be3d){const _0x5eabe9=_0x3d826d;for(const _0x53ac6a of this[_0x5eabe9(0x29a)](_0x3ab095))if(_0x53ac6a[_0x582079]){this['removeListener'](_0x3ab095,_0x53ac6a);break;}typeof _0x48be3d==_0x5eabe9(0x1a9)&&this[_0x5eabe9(0x28c)](_0x3ab095,_0x48be3d,{[_0x582079]:!0x0});}});}),_0x311328[_0x1d77be(0x29c)][_0x1d77be(0x28c)]=_0x1d4c9d,_0x311328['prototype'][_0x1d77be(0x1b6)]=_0x361210,we=_0x311328;function _0x236523(_0x204afb,_0x8a67c5,_0xd8b5a7,_0x138cd5){const _0x18221c=_0x1d77be,_0x35d3d3={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x1d104f[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x138cd5,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x18221c(0x202),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x204afb[_0x18221c(0x1af)]=_0x35d3d3[_0x18221c(0x1c8)],!_0x1d104f['includes'](_0x35d3d3[_0x18221c(0x194)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x35d3d3['protocolVersion']+'\x20(supported\x20versions:\x20'+_0x1d104f['join'](',\x20')+')');let _0x17ee7d;if(_0x8a67c5 instanceof _0x2ab88b)_0x17ee7d=_0x8a67c5;else try{_0x17ee7d=new _0x2ab88b(_0x8a67c5);}catch{throw new SyntaxError(_0x18221c(0x253)+_0x8a67c5);}_0x17ee7d[_0x18221c(0x266)]==='http:'?_0x17ee7d[_0x18221c(0x266)]=_0x18221c(0x197):_0x17ee7d[_0x18221c(0x266)]==='https:'&&(_0x17ee7d['protocol']='wss:'),_0x204afb[_0x18221c(0x272)]=_0x17ee7d[_0x18221c(0x18b)];const _0x431973=_0x17ee7d[_0x18221c(0x266)]===_0x18221c(0x152),_0x3c0b24=_0x17ee7d['protocol']===_0x18221c(0x10f);let _0xdb1c25;if(_0x17ee7d[_0x18221c(0x266)]!==_0x18221c(0x197)&&!_0x431973&&!_0x3c0b24?_0xdb1c25='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':_0x3c0b24&&!_0x17ee7d['pathname']?_0xdb1c25=_0x18221c(0x207):_0x17ee7d[_0x18221c(0x1dc)]&&(_0xdb1c25=_0x18221c(0x164)),_0xdb1c25){const _0x33978d=new SyntaxError(_0xdb1c25);if(_0x204afb[_0x18221c(0x220)]===0x0)throw _0x33978d;_0x731136(_0x204afb,_0x33978d);return;}const _0x41706e=_0x431973?0x1bb:0x50,_0x50b860=_0x1f8b88(0x10)[_0x18221c(0x18d)]('base64'),_0x8c707b=_0x431973?_0x2bd1f1['request']:_0x52bf29['request'],_0x1db754=new Set();let _0x428243;if(_0x35d3d3[_0x18221c(0x244)]=_0x35d3d3[_0x18221c(0x244)]||(_0x431973?_0x59934b:_0xfd748c),_0x35d3d3[_0x18221c(0x188)]=_0x35d3d3['defaultPort']||_0x41706e,_0x35d3d3['port']=_0x17ee7d['port']||_0x41706e,_0x35d3d3[_0x18221c(0x290)]=_0x17ee7d[_0x18221c(0x22b)][_0x18221c(0x22d)]('[')?_0x17ee7d[_0x18221c(0x22b)][_0x18221c(0x1fb)](0x1,-0x1):_0x17ee7d[_0x18221c(0x22b)],_0x35d3d3['headers']={..._0x35d3d3[_0x18221c(0xf8)],'Sec-WebSocket-Version':_0x35d3d3['protocolVersion'],'Sec-WebSocket-Key':_0x50b860,'Connection':_0x18221c(0x293),'Upgrade':_0x18221c(0x16d)},_0x35d3d3['path']=_0x17ee7d[_0x18221c(0x1b5)]+_0x17ee7d['search'],_0x35d3d3[_0x18221c(0x1de)]=_0x35d3d3['handshakeTimeout'],_0x35d3d3[_0x18221c(0x27e)]&&(_0x428243=new _0x423fb6(_0x35d3d3[_0x18221c(0x27e)]!==!0x0?_0x35d3d3[_0x18221c(0x27e)]:{},!0x1,_0x35d3d3[_0x18221c(0x1f0)]),_0x35d3d3['headers'][_0x18221c(0x24b)]=_0x2a8f83({[_0x423fb6[_0x18221c(0x270)]]:_0x428243[_0x18221c(0x1ae)]()})),_0xd8b5a7['length']){for(const _0x35ea2a of _0xd8b5a7){if(typeof _0x35ea2a!='string'||!_0x47ad00['test'](_0x35ea2a)||_0x1db754[_0x18221c(0x1e3)](_0x35ea2a))throw new SyntaxError(_0x18221c(0x230));_0x1db754[_0x18221c(0x163)](_0x35ea2a);}_0x35d3d3[_0x18221c(0xf8)][_0x18221c(0x249)]=_0xd8b5a7[_0x18221c(0x191)](',');}if(_0x35d3d3['origin']&&(_0x35d3d3[_0x18221c(0x194)]<0xd?_0x35d3d3['headers']['Sec-WebSocket-Origin']=_0x35d3d3[_0x18221c(0x23f)]:_0x35d3d3[_0x18221c(0xf8)]['Origin']=_0x35d3d3[_0x18221c(0x23f)]),(_0x17ee7d['username']||_0x17ee7d['password'])&&(_0x35d3d3[_0x18221c(0x170)]=_0x17ee7d[_0x18221c(0x1f7)]+':'+_0x17ee7d[_0x18221c(0x13a)]),_0x3c0b24){const _0x6f09a6=_0x35d3d3[_0x18221c(0x1c0)]['split'](':');_0x35d3d3['socketPath']=_0x6f09a6[0x0],_0x35d3d3[_0x18221c(0x1c0)]=_0x6f09a6[0x1];}let _0x3460a4;if(_0x35d3d3[_0x18221c(0x182)]){if(_0x204afb[_0x18221c(0x220)]===0x0){_0x204afb['_originalIpc']=_0x3c0b24,_0x204afb['_originalSecure']=_0x431973,_0x204afb['_originalHostOrSocketPath']=_0x3c0b24?_0x35d3d3[_0x18221c(0xfd)]:_0x17ee7d[_0x18221c(0x290)];const _0x38746b=_0x138cd5&&_0x138cd5['headers'];if(_0x138cd5={..._0x138cd5,'headers':{}},_0x38746b){for(const [_0x52706e,_0x1e7004]of Object[_0x18221c(0x124)](_0x38746b))_0x138cd5[_0x18221c(0xf8)][_0x52706e['toLowerCase']()]=_0x1e7004;}}else{if(_0x204afb[_0x18221c(0xff)]('redirect')===0x0){const _0x192e9a=_0x3c0b24?_0x204afb['_originalIpc']?_0x35d3d3['socketPath']===_0x204afb[_0x18221c(0x1a7)]:!0x1:_0x204afb[_0x18221c(0x1d8)]?!0x1:_0x17ee7d[_0x18221c(0x290)]===_0x204afb[_0x18221c(0x1a7)];(!_0x192e9a||_0x204afb[_0x18221c(0x20b)]&&!_0x431973)&&(delete _0x35d3d3['headers']['authorization'],delete _0x35d3d3[_0x18221c(0xf8)][_0x18221c(0x267)],_0x192e9a||delete _0x35d3d3[_0x18221c(0xf8)]['host'],_0x35d3d3[_0x18221c(0x170)]=void 0x0);}}_0x35d3d3[_0x18221c(0x170)]&&!_0x138cd5[_0x18221c(0xf8)][_0x18221c(0x24e)]&&(_0x138cd5[_0x18221c(0xf8)][_0x18221c(0x24e)]=_0x18221c(0x1aa)+Buffer['from'](_0x35d3d3['auth'])[_0x18221c(0x18d)](_0x18221c(0x259))),_0x3460a4=_0x204afb['_req']=_0x8c707b(_0x35d3d3),_0x204afb[_0x18221c(0x220)]&&_0x204afb['emit'](_0x18221c(0x12e),_0x204afb['url'],_0x3460a4);}else _0x3460a4=_0x204afb[_0x18221c(0x1b3)]=_0x8c707b(_0x35d3d3);_0x35d3d3[_0x18221c(0x1de)]&&_0x3460a4['on']('timeout',()=>{const _0x2d22af=_0x18221c;_0x1420f7(_0x204afb,_0x3460a4,_0x2d22af(0x236));}),_0x3460a4['on'](_0x18221c(0x1ad),_0x44d2ac=>{_0x3460a4===null||_0x3460a4[_0x5159ab]||(_0x3460a4=_0x204afb['_req']=null,_0x731136(_0x204afb,_0x44d2ac));}),_0x3460a4['on'](_0x18221c(0x1a5),_0x5f2920=>{const _0x582a87=_0x18221c,_0x5118c5=_0x5f2920[_0x582a87(0xf8)][_0x582a87(0x19c)],_0x1059d0=_0x5f2920['statusCode'];if(_0x5118c5&&_0x35d3d3[_0x582a87(0x182)]&&_0x1059d0>=0x12c&&_0x1059d0<0x190){if(++_0x204afb['_redirects']>_0x35d3d3[_0x582a87(0x15c)]){_0x1420f7(_0x204afb,_0x3460a4,'Maximum\x20redirects\x20exceeded');return;}_0x3460a4[_0x582a87(0x14a)]();let _0x18b259;try{_0x18b259=new _0x2ab88b(_0x5118c5,_0x8a67c5);}catch{const _0x8c7559=new SyntaxError(_0x582a87(0x253)+_0x5118c5);_0x731136(_0x204afb,_0x8c7559);return;}_0x236523(_0x204afb,_0x18b259,_0xd8b5a7,_0x138cd5);}else _0x204afb['emit'](_0x582a87(0x1b4),_0x3460a4,_0x5f2920)||_0x1420f7(_0x204afb,_0x3460a4,'Unexpected\x20server\x20response:\x20'+_0x5f2920['statusCode']);}),_0x3460a4['on'](_0x18221c(0x258),(_0x43efd4,_0x401cc3,_0x4e09c3)=>{const _0x10059d=_0x18221c;if(_0x204afb[_0x10059d(0x283)](_0x10059d(0x258),_0x43efd4),_0x204afb[_0x10059d(0x208)]!==_0x311328[_0x10059d(0x151)])return;_0x3460a4=_0x204afb[_0x10059d(0x1b3)]=null;const _0xe9b764=_0x43efd4[_0x10059d(0xf8)][_0x10059d(0x258)];if(_0xe9b764===void 0x0||_0xe9b764[_0x10059d(0x113)]()!=='websocket'){_0x1420f7(_0x204afb,_0x401cc3,_0x10059d(0x263));return;}const _0x4c310c=_0x5d1a40(_0x10059d(0x10b))[_0x10059d(0x179)](_0x50b860+_0x8354da)[_0x10059d(0x18e)](_0x10059d(0x259));if(_0x43efd4[_0x10059d(0xf8)][_0x10059d(0x21f)]!==_0x4c310c){_0x1420f7(_0x204afb,_0x401cc3,_0x10059d(0x299));return;}const _0x5446dc=_0x43efd4['headers'][_0x10059d(0x193)];let _0x27dd27;if(_0x5446dc!==void 0x0?_0x1db754[_0x10059d(0x21a)]?_0x1db754[_0x10059d(0x1e3)](_0x5446dc)||(_0x27dd27=_0x10059d(0x1f4)):_0x27dd27='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x1db754['size']&&(_0x27dd27=_0x10059d(0x190)),_0x27dd27){_0x1420f7(_0x204afb,_0x401cc3,_0x27dd27);return;}_0x5446dc&&(_0x204afb['_protocol']=_0x5446dc);const _0x25d184=_0x43efd4[_0x10059d(0xf8)][_0x10059d(0x1e7)];if(_0x25d184!==void 0x0){if(!_0x428243){_0x1420f7(_0x204afb,_0x401cc3,_0x10059d(0x285));return;}let _0x2bb5ac;try{_0x2bb5ac=_0x261e2d(_0x25d184);}catch{_0x1420f7(_0x204afb,_0x401cc3,_0x10059d(0x20a));return;}const _0x510c24=Object[_0x10059d(0x1bb)](_0x2bb5ac);if(_0x510c24[_0x10059d(0x264)]!==0x1||_0x510c24[0x0]!==_0x423fb6[_0x10059d(0x270)]){_0x1420f7(_0x204afb,_0x401cc3,_0x10059d(0x103));return;}try{_0x428243[_0x10059d(0x166)](_0x2bb5ac[_0x423fb6[_0x10059d(0x270)]]);}catch{_0x1420f7(_0x204afb,_0x401cc3,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x204afb[_0x10059d(0x16b)][_0x423fb6[_0x10059d(0x270)]]=_0x428243;}_0x204afb[_0x10059d(0x216)](_0x401cc3,_0x4e09c3,{'allowSynchronousEvents':_0x35d3d3[_0x10059d(0x140)],'generateMask':_0x35d3d3[_0x10059d(0xf9)],'maxPayload':_0x35d3d3['maxPayload'],'skipUTF8Validation':_0x35d3d3[_0x10059d(0x22a)]});}),_0x35d3d3[_0x18221c(0x1a8)]?_0x35d3d3[_0x18221c(0x1a8)](_0x3460a4,_0x204afb):_0x3460a4[_0x18221c(0x284)]();}function _0x731136(_0x5e2589,_0x3abb88){const _0x288e1d=_0x1d77be;_0x5e2589[_0x288e1d(0x2a1)]=_0x311328['CLOSING'],_0x5e2589[_0x288e1d(0x178)]=!0x0,_0x5e2589[_0x288e1d(0x283)]('error',_0x3abb88),_0x5e2589[_0x288e1d(0x1ea)]();}function _0xfd748c(_0x2d30aa){const _0x1e9e75=_0x1d77be;return _0x2d30aa[_0x1e9e75(0x1c0)]=_0x2d30aa[_0x1e9e75(0xfd)],_0x3ae417[_0x1e9e75(0x256)](_0x2d30aa);}function _0x59934b(_0x21e504){const _0x4b9273=_0x1d77be;return _0x21e504[_0x4b9273(0x1c0)]=void 0x0,!_0x21e504[_0x4b9273(0x268)]&&_0x21e504[_0x4b9273(0x268)]!==''&&(_0x21e504[_0x4b9273(0x268)]=_0x3ae417[_0x4b9273(0x19e)](_0x21e504['host'])?'':_0x21e504[_0x4b9273(0x290)]),_0x31988e['connect'](_0x21e504);}function _0x1420f7(_0x4d6fb0,_0x2e261e,_0x5c9175){const _0x34bf5f=_0x1d77be;_0x4d6fb0[_0x34bf5f(0x2a1)]=_0x311328['CLOSING'];const _0x3639bf=new Error(_0x5c9175);Error['captureStackTrace'](_0x3639bf,_0x1420f7),_0x2e261e[_0x34bf5f(0x26c)]?(_0x2e261e[_0x5159ab]=!0x0,_0x2e261e['abort'](),_0x2e261e[_0x34bf5f(0x159)]&&!_0x2e261e['socket'][_0x34bf5f(0x153)]&&_0x2e261e['socket']['destroy'](),process['nextTick'](_0x731136,_0x4d6fb0,_0x3639bf)):(_0x2e261e['destroy'](_0x3639bf),_0x2e261e[_0x34bf5f(0x176)](_0x34bf5f(0x1ad),_0x4d6fb0[_0x34bf5f(0x283)][_0x34bf5f(0x1c4)](_0x4d6fb0,_0x34bf5f(0x1ad))),_0x2e261e[_0x34bf5f(0x176)]('close',_0x4d6fb0[_0x34bf5f(0x1ea)]['bind'](_0x4d6fb0)));}function _0x1c048c(_0x1132be,_0x579abc,_0x4aeaa3){const _0x30b238=_0x1d77be;if(_0x579abc){const _0x2d595f=_0x295b46(_0x579abc)?_0x579abc[_0x30b238(0x21a)]:_0x5c0a2d(_0x579abc)[_0x30b238(0x264)];_0x1132be[_0x30b238(0x24d)]?_0x1132be[_0x30b238(0x234)][_0x30b238(0x240)]+=_0x2d595f:_0x1132be['_bufferedAmount']+=_0x2d595f;}if(_0x4aeaa3){const _0x1dba61=new Error(_0x30b238(0x1b9)+_0x1132be[_0x30b238(0x208)]+'\x20('+_0x59b935[_0x1132be['readyState']]+')');process[_0x30b238(0x21c)](_0x4aeaa3,_0x1dba61);}}function _0x24c894(_0x2ee3be,_0x4defad){const _0x261d13=_0x1d77be,_0x2107d4=this[_0x214363];_0x2107d4[_0x261d13(0x11f)]=!0x0,_0x2107d4[_0x261d13(0x1c6)]=_0x4defad,_0x2107d4[_0x261d13(0x1d9)]=_0x2ee3be,_0x2107d4['_socket'][_0x214363]!==void 0x0&&(_0x2107d4['_socket'][_0x261d13(0x1f6)](_0x261d13(0x1a0),_0x423414),process[_0x261d13(0x21c)](_0x1f94af,_0x2107d4[_0x261d13(0x24d)]),_0x2ee3be===0x3ed?_0x2107d4[_0x261d13(0x110)]():_0x2107d4[_0x261d13(0x110)](_0x2ee3be,_0x4defad));}function _0x15c52e(){const _0x6a2d96=_0x1d77be,_0x4d561a=this[_0x214363];_0x4d561a['isPaused']||_0x4d561a[_0x6a2d96(0x24d)][_0x6a2d96(0x1d1)]();}function _0x968299(_0x44ceb3){const _0x55aa3b=_0x1d77be,_0x5b04dc=this[_0x214363];_0x5b04dc[_0x55aa3b(0x24d)][_0x214363]!==void 0x0&&(_0x5b04dc[_0x55aa3b(0x24d)][_0x55aa3b(0x1f6)](_0x55aa3b(0x1a0),_0x423414),process[_0x55aa3b(0x21c)](_0x1f94af,_0x5b04dc[_0x55aa3b(0x24d)]),_0x5b04dc['close'](_0x44ceb3[_0x7e7503])),_0x5b04dc[_0x55aa3b(0x178)]||(_0x5b04dc[_0x55aa3b(0x178)]=!0x0,_0x5b04dc['emit'](_0x55aa3b(0x1ad),_0x44ceb3));}function _0x1a8c15(){const _0x209765=_0x1d77be;this[_0x214363][_0x209765(0x1ea)]();}function _0x29dbac(_0x58a160,_0x28ca5f){const _0x15558=_0x1d77be;this[_0x214363][_0x15558(0x283)](_0x15558(0x246),_0x58a160,_0x28ca5f);}function _0x57dc88(_0x53ae96){const _0x4085ae=_0x1d77be,_0x2a53c6=this[_0x214363];_0x2a53c6[_0x4085ae(0x1af)]&&_0x2a53c6['pong'](_0x53ae96,!this[_0x4085ae(0x17d)],_0x5e7b1d),_0x2a53c6[_0x4085ae(0x283)](_0x4085ae(0x1c3),_0x53ae96);}function _0x2414b7(_0x590a05){const _0x12bf3e=_0x1d77be;this[_0x214363][_0x12bf3e(0x283)](_0x12bf3e(0x13d),_0x590a05);}function _0x1f94af(_0x32c8c5){_0x32c8c5['resume']();}function _0x5ea355(_0x239c47){const _0x597308=_0x1d77be,_0x3362d7=this[_0x214363];_0x3362d7[_0x597308(0x208)]!==_0x311328[_0x597308(0x25e)]&&(_0x3362d7[_0x597308(0x208)]===_0x311328[_0x597308(0x203)]&&(_0x3362d7['_readyState']=_0x311328[_0x597308(0x27b)],_0x44d6d2(_0x3362d7)),this[_0x597308(0x24d)][_0x597308(0x284)](),_0x3362d7[_0x597308(0x178)]||(_0x3362d7[_0x597308(0x178)]=!0x0,_0x3362d7[_0x597308(0x283)](_0x597308(0x1ad),_0x239c47)));}function _0x44d6d2(_0x38bc30){const _0x4f590e=_0x1d77be;_0x38bc30['_closeTimer']=setTimeout(_0x38bc30[_0x4f590e(0x24d)][_0x4f590e(0x22f)]['bind'](_0x38bc30[_0x4f590e(0x24d)]),_0xd95190);}function _0x4e5da3(){const _0x39ae05=_0x1d77be,_0x556248=this[_0x214363];this[_0x39ae05(0x1f6)](_0x39ae05(0x110),_0x4e5da3),this['removeListener']('data',_0x423414),this[_0x39ae05(0x1f6)](_0x39ae05(0x284),_0x5a046c),_0x556248['_readyState']=_0x311328[_0x39ae05(0x27b)];let _0x51d0d7;!this[_0x39ae05(0x205)][_0x39ae05(0x11c)]&&!_0x556248[_0x39ae05(0x11f)]&&!_0x556248[_0x39ae05(0x14e)][_0x39ae05(0x1fc)][_0x39ae05(0x1ff)]&&(_0x51d0d7=_0x556248[_0x39ae05(0x24d)][_0x39ae05(0x1d6)]())!==null&&_0x556248[_0x39ae05(0x14e)][_0x39ae05(0x20e)](_0x51d0d7),_0x556248[_0x39ae05(0x14e)]['end'](),this[_0x214363]=void 0x0,clearTimeout(_0x556248[_0x39ae05(0x26d)]),_0x556248[_0x39ae05(0x14e)][_0x39ae05(0x1fc)][_0x39ae05(0x14b)]||_0x556248['_receiver']['_writableState'][_0x39ae05(0x1ff)]?_0x556248[_0x39ae05(0x1ea)]():(_0x556248['_receiver']['on'](_0x39ae05(0x1ad),_0x1a8c15),_0x556248[_0x39ae05(0x14e)]['on'](_0x39ae05(0x18f),_0x1a8c15));}function _0x423414(_0x710b7b){const _0x51b906=_0x1d77be;this[_0x214363][_0x51b906(0x14e)][_0x51b906(0x20e)](_0x710b7b)||this[_0x51b906(0x14d)]();}function _0x5a046c(){const _0x248997=_0x1d77be,_0x1043dd=this[_0x214363];_0x1043dd[_0x248997(0x2a1)]=_0x311328['CLOSING'],_0x1043dd[_0x248997(0x14e)][_0x248997(0x284)](),this['end']();}function _0x562ee7(){const _0x2e443d=_0x1d77be,_0x2b842b=this[_0x214363];this[_0x2e443d(0x1f6)](_0x2e443d(0x1ad),_0x562ee7),this['on'](_0x2e443d(0x1ad),_0x5e7b1d),_0x2b842b&&(_0x2b842b['_readyState']=_0x311328[_0x2e443d(0x27b)],this[_0x2e443d(0x22f)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x2bbd8a}=_0x22181d;function _0x54e251(_0x2318fd){const _0x274868=_0x2a0f;_0x2318fd[_0x274868(0x283)](_0x274868(0x110));}function _0x1aa971(){const _0x2fc792=_0x2a0f;!this[_0x2fc792(0x153)]&&this[_0x2fc792(0x1fc)][_0x2fc792(0x14b)]&&this[_0x2fc792(0x22f)]();}function _0x5cfeda(_0x1e5af6){const _0x212e9c=_0x2a0f;this[_0x212e9c(0x1f6)](_0x212e9c(0x1ad),_0x5cfeda),this['destroy'](),this[_0x212e9c(0xff)](_0x212e9c(0x1ad))===0x0&&this[_0x212e9c(0x283)]('error',_0x1e5af6);}function _0x28c1da(_0x4a1806,_0x487d4f){const _0x3454fe=_0x2a0f;let _0x269431=!0x0;const _0x139f88=new _0x2bbd8a({..._0x487d4f,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x4a1806['on']('message',function(_0xc19862,_0x19e448){const _0x2f49c1=_0x2a0f,_0x19e859=!_0x19e448&&_0x139f88[_0x2f49c1(0x205)]['objectMode']?_0xc19862[_0x2f49c1(0x18d)]():_0xc19862;_0x139f88[_0x2f49c1(0x1fe)](_0x19e859)||_0x4a1806[_0x2f49c1(0x14d)]();}),_0x4a1806[_0x3454fe(0x176)](_0x3454fe(0x1ad),function(_0x95e8e7){const _0x12fa0f=_0x3454fe;_0x139f88[_0x12fa0f(0x153)]||(_0x269431=!0x1,_0x139f88[_0x12fa0f(0x22f)](_0x95e8e7));}),_0x4a1806['once'](_0x3454fe(0x110),function(){const _0x268c9f=_0x3454fe;_0x139f88[_0x268c9f(0x153)]||_0x139f88['push'](null);}),_0x139f88['_destroy']=function(_0x36ff37,_0x3c8088){const _0x2f3309=_0x3454fe;if(_0x4a1806[_0x2f3309(0x208)]===_0x4a1806[_0x2f3309(0x25e)]){_0x3c8088(_0x36ff37),process[_0x2f3309(0x21c)](_0x54e251,_0x139f88);return;}let _0x369925=!0x1;_0x4a1806['once']('error',function(_0x1a10b4){_0x369925=!0x0,_0x3c8088(_0x1a10b4);}),_0x4a1806['once'](_0x2f3309(0x110),function(){const _0x3593c1=_0x2f3309;_0x369925||_0x3c8088(_0x36ff37),process[_0x3593c1(0x21c)](_0x54e251,_0x139f88);}),_0x269431&&_0x4a1806[_0x2f3309(0x1c9)]();},_0x139f88[_0x3454fe(0x1dd)]=function(_0xd5c0ab){const _0x17ed06=_0x3454fe;if(_0x4a1806[_0x17ed06(0x208)]===_0x4a1806[_0x17ed06(0x151)]){_0x4a1806['once'](_0x17ed06(0x1c1),function(){const _0x14ed89=_0x17ed06;_0x139f88[_0x14ed89(0x1dd)](_0xd5c0ab);});return;}_0x4a1806[_0x17ed06(0x24d)]!==null&&(_0x4a1806[_0x17ed06(0x24d)]['_writableState'][_0x17ed06(0x14b)]?(_0xd5c0ab(),_0x139f88['_readableState'][_0x17ed06(0x11c)]&&_0x139f88[_0x17ed06(0x22f)]()):(_0x4a1806[_0x17ed06(0x24d)][_0x17ed06(0x176)](_0x17ed06(0x18f),function(){_0xd5c0ab();}),_0x4a1806[_0x17ed06(0x110)]()));},_0x139f88[_0x3454fe(0x17f)]=function(){const _0x1745aa=_0x3454fe;_0x4a1806[_0x1745aa(0x12b)]&&_0x4a1806[_0x1745aa(0x1d1)]();},_0x139f88[_0x3454fe(0x17b)]=function(_0xa3f649,_0x2527ab,_0xae3b10){const _0x11d94d=_0x3454fe;if(_0x4a1806[_0x11d94d(0x208)]===_0x4a1806[_0x11d94d(0x151)]){_0x4a1806['once'](_0x11d94d(0x1c1),function(){const _0x4a91e5=_0x11d94d;_0x139f88[_0x4a91e5(0x17b)](_0xa3f649,_0x2527ab,_0xae3b10);});return;}_0x4a1806[_0x11d94d(0x28a)](_0xa3f649,_0xae3b10);},_0x139f88['on'](_0x3454fe(0x284),_0x1aa971),_0x139f88['on'](_0x3454fe(0x1ad),_0x5cfeda),_0x139f88;}return Oe=_0x28c1da,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x1bfaf8}=ne();function _0x413bb0(_0x564a12){const _0x869b4d=_0x2a0f,_0x95caed=new Set();let _0xc96dee=-0x1,_0x2a13fa=-0x1,_0x45040d=0x0;for(_0x45040d;_0x45040d<_0x564a12['length'];_0x45040d++){const _0x304422=_0x564a12[_0x869b4d(0x1e2)](_0x45040d);if(_0x2a13fa===-0x1&&_0x1bfaf8[_0x304422]===0x1)_0xc96dee===-0x1&&(_0xc96dee=_0x45040d);else{if(_0x45040d!==0x0&&(_0x304422===0x20||_0x304422===0x9))_0x2a13fa===-0x1&&_0xc96dee!==-0x1&&(_0x2a13fa=_0x45040d);else{if(_0x304422===0x2c){if(_0xc96dee===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x45040d);_0x2a13fa===-0x1&&(_0x2a13fa=_0x45040d);const _0x3f731f=_0x564a12['slice'](_0xc96dee,_0x2a13fa);if(_0x95caed[_0x869b4d(0x1e3)](_0x3f731f))throw new SyntaxError(_0x869b4d(0x1d0)+_0x3f731f+_0x869b4d(0x19a));_0x95caed[_0x869b4d(0x163)](_0x3f731f),_0xc96dee=_0x2a13fa=-0x1;}else throw new SyntaxError(_0x869b4d(0x120)+_0x45040d);}}}if(_0xc96dee===-0x1||_0x2a13fa!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x2dfb24=_0x564a12['slice'](_0xc96dee,_0x45040d);if(_0x95caed[_0x869b4d(0x1e3)](_0x2dfb24))throw new SyntaxError('The\x20\x22'+_0x2dfb24+_0x869b4d(0x19a));return _0x95caed[_0x869b4d(0x163)](_0x2dfb24),_0x95caed;}return Ce={'parse':_0x413bb0},Ce;}var Te,ot;function er(){const _0x3063ca=_0x28e367;if(ot)return Te;ot=0x1;const _0x2df9ee=_0xf4ab10,_0x42eda3=_0x137d48,{Duplex:_0x3469b7}=_0x22181d,{createHash:_0x1abf1a}=_0xf1bddb,_0x3081e7=pt(),_0x26f7ae=he(),_0x291df6=Jt(),_0x113fd8=Ie(),{GUID:_0x18e53f,kWebSocket:_0x414bf0}=V(),_0x486b30=/^[+/0-9A-Za-z]{22}==$/,_0x1211e1=0x0,_0xd73a23=0x1,_0x25e683=0x2;class _0x320fe2 extends _0x2df9ee{constructor(_0x1893a7,_0x55d1a5){const _0x1fcfd9=_0x2a0f;if(super(),_0x1893a7={'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':_0x113fd8,..._0x1893a7},_0x1893a7[_0x1fcfd9(0x28e)]==null&&!_0x1893a7['server']&&!_0x1893a7[_0x1fcfd9(0x143)]||_0x1893a7['port']!=null&&(_0x1893a7[_0x1fcfd9(0x241)]||_0x1893a7[_0x1fcfd9(0x143)])||_0x1893a7['server']&&_0x1893a7[_0x1fcfd9(0x143)])throw new TypeError(_0x1fcfd9(0x1f5));if(_0x1893a7[_0x1fcfd9(0x28e)]!=null?(this[_0x1fcfd9(0x1ed)]=_0x42eda3['createServer']((_0x42fbae,_0x1ef522)=>{const _0x4fcd4e=_0x1fcfd9,_0x43aea0=_0x42eda3[_0x4fcd4e(0x1b2)][0x1aa];_0x1ef522[_0x4fcd4e(0x297)](0x1aa,{'Content-Length':_0x43aea0[_0x4fcd4e(0x264)],'Content-Type':_0x4fcd4e(0x1f1)}),_0x1ef522[_0x4fcd4e(0x284)](_0x43aea0);}),this['_server'][_0x1fcfd9(0x115)](_0x1893a7['port'],_0x1893a7[_0x1fcfd9(0x290)],_0x1893a7[_0x1fcfd9(0x173)],_0x55d1a5)):_0x1893a7[_0x1fcfd9(0x241)]&&(this[_0x1fcfd9(0x1ed)]=_0x1893a7[_0x1fcfd9(0x241)]),this[_0x1fcfd9(0x1ed)]){const _0x25a966=this[_0x1fcfd9(0x283)]['bind'](this,_0x1fcfd9(0x24f));this[_0x1fcfd9(0x257)]=_0x2b7858(this['_server'],{'listening':this['emit']['bind'](this,'listening'),'error':this[_0x1fcfd9(0x283)][_0x1fcfd9(0x1c4)](this,_0x1fcfd9(0x1ad)),'upgrade':(_0x3d6649,_0x119355,_0x23ebad)=>{const _0x48966b=_0x1fcfd9;this[_0x48966b(0x1a4)](_0x3d6649,_0x119355,_0x23ebad,_0x25a966);}});}_0x1893a7[_0x1fcfd9(0x27e)]===!0x0&&(_0x1893a7['perMessageDeflate']={}),_0x1893a7[_0x1fcfd9(0x169)]&&(this[_0x1fcfd9(0x160)]=new Set(),this[_0x1fcfd9(0x13e)]=!0x1),this[_0x1fcfd9(0x1cb)]=_0x1893a7,this[_0x1fcfd9(0x11a)]=_0x1211e1;}[_0x3063ca(0x28d)](){const _0x238af4=_0x3063ca;if(this['options'][_0x238af4(0x143)])throw new Error(_0x238af4(0x1e0));return this[_0x238af4(0x1ed)]?this[_0x238af4(0x1ed)][_0x238af4(0x28d)]():null;}[_0x3063ca(0x110)](_0xce9aa1){const _0x1a4031=_0x3063ca;if(this[_0x1a4031(0x11a)]===_0x25e683){_0xce9aa1&&this['once'](_0x1a4031(0x110),()=>{const _0x258e70=_0x1a4031;_0xce9aa1(new Error(_0x258e70(0x119)));}),process[_0x1a4031(0x21c)](_0x422159,this);return;}if(_0xce9aa1&&this[_0x1a4031(0x176)](_0x1a4031(0x110),_0xce9aa1),this[_0x1a4031(0x11a)]!==_0xd73a23){if(this[_0x1a4031(0x11a)]=_0xd73a23,this['options'][_0x1a4031(0x143)]||this[_0x1a4031(0x1cb)][_0x1a4031(0x241)])this['_server']&&(this[_0x1a4031(0x257)](),this[_0x1a4031(0x257)]=this[_0x1a4031(0x1ed)]=null),this[_0x1a4031(0x160)]?this['clients']['size']?this[_0x1a4031(0x13e)]=!0x0:process[_0x1a4031(0x21c)](_0x422159,this):process[_0x1a4031(0x21c)](_0x422159,this);else{const _0x3eb136=this[_0x1a4031(0x1ed)];this[_0x1a4031(0x257)](),this['_removeListeners']=this[_0x1a4031(0x1ed)]=null,_0x3eb136[_0x1a4031(0x110)](()=>{_0x422159(this);});}}}[_0x3063ca(0x1ce)](_0x11d191){const _0x381180=_0x3063ca;if(this['options'][_0x381180(0x1c0)]){const _0x668718=_0x11d191[_0x381180(0x134)][_0x381180(0x269)]('?');if((_0x668718!==-0x1?_0x11d191[_0x381180(0x134)]['slice'](0x0,_0x668718):_0x11d191[_0x381180(0x134)])!==this[_0x381180(0x1cb)][_0x381180(0x1c0)])return!0x1;}return!0x0;}[_0x3063ca(0x1a4)](_0x5bd413,_0x41cdf4,_0x2b1f0e,_0x2248e7){const _0x55e5b2=_0x3063ca;_0x41cdf4['on'](_0x55e5b2(0x1ad),_0x400b1c);const _0x3afe41=_0x5bd413[_0x55e5b2(0xf8)][_0x55e5b2(0x1f2)],_0x2d8237=_0x5bd413[_0x55e5b2(0xf8)][_0x55e5b2(0x258)],_0x5b280a=+_0x5bd413[_0x55e5b2(0xf8)][_0x55e5b2(0x243)];if(_0x5bd413[_0x55e5b2(0x21b)]!==_0x55e5b2(0x202)){_0x43c1a9(this,_0x5bd413,_0x41cdf4,0x195,_0x55e5b2(0x210));return;}if(_0x2d8237===void 0x0||_0x2d8237[_0x55e5b2(0x113)]()!==_0x55e5b2(0x16d)){_0x43c1a9(this,_0x5bd413,_0x41cdf4,0x190,_0x55e5b2(0x263));return;}if(_0x3afe41===void 0x0||!_0x486b30[_0x55e5b2(0x122)](_0x3afe41)){_0x43c1a9(this,_0x5bd413,_0x41cdf4,0x190,_0x55e5b2(0x25d));return;}if(_0x5b280a!==0xd&&_0x5b280a!==0x8){_0x43c1a9(this,_0x5bd413,_0x41cdf4,0x190,_0x55e5b2(0x149),{'Sec-WebSocket-Version':_0x55e5b2(0x1e5)});return;}if(!this[_0x55e5b2(0x1ce)](_0x5bd413)){_0x3f36b8(_0x41cdf4,0x190);return;}const _0x3db2f7=_0x5bd413['headers'][_0x55e5b2(0x193)];let _0x344da5=new Set();if(_0x3db2f7!==void 0x0)try{_0x344da5=_0x291df6[_0x55e5b2(0x29f)](_0x3db2f7);}catch{_0x43c1a9(this,_0x5bd413,_0x41cdf4,0x190,_0x55e5b2(0x213));return;}const _0x3996ab=_0x5bd413[_0x55e5b2(0xf8)][_0x55e5b2(0x1e7)],_0x27ffdc={};if(this[_0x55e5b2(0x1cb)][_0x55e5b2(0x27e)]&&_0x3996ab!==void 0x0){const _0x18408c=new _0x26f7ae(this[_0x55e5b2(0x1cb)][_0x55e5b2(0x27e)],!0x0,this['options'][_0x55e5b2(0x1f0)]);try{const _0x1d7a4e=_0x3081e7[_0x55e5b2(0x29f)](_0x3996ab);_0x1d7a4e[_0x26f7ae[_0x55e5b2(0x270)]]&&(_0x18408c['accept'](_0x1d7a4e[_0x26f7ae[_0x55e5b2(0x270)]]),_0x27ffdc[_0x26f7ae[_0x55e5b2(0x270)]]=_0x18408c);}catch{_0x43c1a9(this,_0x5bd413,_0x41cdf4,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x55e5b2(0x1cb)][_0x55e5b2(0x19f)]){const _0x3f6a48={'origin':_0x5bd413['headers'][''+(_0x5b280a===0x8?_0x55e5b2(0x101):_0x55e5b2(0x23f))],'secure':!!(_0x5bd413['socket'][_0x55e5b2(0x184)]||_0x5bd413[_0x55e5b2(0x159)][_0x55e5b2(0x187)]),'req':_0x5bd413};if(this[_0x55e5b2(0x1cb)][_0x55e5b2(0x19f)]['length']===0x2){this[_0x55e5b2(0x1cb)][_0x55e5b2(0x19f)](_0x3f6a48,(_0x437d23,_0x507719,_0xb2a58,_0x2c94ef)=>{if(!_0x437d23)return _0x3f36b8(_0x41cdf4,_0x507719||0x191,_0xb2a58,_0x2c94ef);this['completeUpgrade'](_0x27ffdc,_0x3afe41,_0x344da5,_0x5bd413,_0x41cdf4,_0x2b1f0e,_0x2248e7);});return;}if(!this[_0x55e5b2(0x1cb)][_0x55e5b2(0x19f)](_0x3f6a48))return _0x3f36b8(_0x41cdf4,0x191);}this[_0x55e5b2(0x148)](_0x27ffdc,_0x3afe41,_0x344da5,_0x5bd413,_0x41cdf4,_0x2b1f0e,_0x2248e7);}['completeUpgrade'](_0x2cc7bd,_0x2a59f6,_0x3c8837,_0x170b66,_0x1ccaf5,_0x565d3f,_0x14c9c3){const _0x4d6959=_0x3063ca;if(!_0x1ccaf5['readable']||!_0x1ccaf5['writable'])return _0x1ccaf5[_0x4d6959(0x22f)]();if(_0x1ccaf5[_0x414bf0])throw new Error(_0x4d6959(0x195));if(this[_0x4d6959(0x11a)]>_0x1211e1)return _0x3f36b8(_0x1ccaf5,0x1f7);const _0x4f0c9f=[_0x4d6959(0x1ef),_0x4d6959(0x127),_0x4d6959(0x252),_0x4d6959(0x1c5)+_0x1abf1a(_0x4d6959(0x10b))[_0x4d6959(0x179)](_0x2a59f6+_0x18e53f)[_0x4d6959(0x18e)](_0x4d6959(0x259))],_0x5d998c=new this[(_0x4d6959(0x1cb))]['WebSocket'](null,void 0x0,this[_0x4d6959(0x1cb)]);if(_0x3c8837[_0x4d6959(0x21a)]){const _0x357e12=this[_0x4d6959(0x1cb)][_0x4d6959(0x171)]?this[_0x4d6959(0x1cb)][_0x4d6959(0x171)](_0x3c8837,_0x170b66):_0x3c8837['values']()[_0x4d6959(0x1a3)]()['value'];_0x357e12&&(_0x4f0c9f[_0x4d6959(0x1fe)](_0x4d6959(0x204)+_0x357e12),_0x5d998c['_protocol']=_0x357e12);}if(_0x2cc7bd[_0x26f7ae['extensionName']]){const _0xe6c28a=_0x2cc7bd[_0x26f7ae['extensionName']]['params'],_0x76aa74=_0x3081e7['format']({[_0x26f7ae[_0x4d6959(0x270)]]:[_0xe6c28a]});_0x4f0c9f['push']('Sec-WebSocket-Extensions:\x20'+_0x76aa74),_0x5d998c[_0x4d6959(0x16b)]=_0x2cc7bd;}this['emit'](_0x4d6959(0xf8),_0x4f0c9f,_0x170b66),_0x1ccaf5[_0x4d6959(0x20e)](_0x4f0c9f[_0x4d6959(0x1ab)]('\x0d\x0a')[_0x4d6959(0x191)]('\x0d\x0a')),_0x1ccaf5[_0x4d6959(0x1f6)](_0x4d6959(0x1ad),_0x400b1c),_0x5d998c[_0x4d6959(0x216)](_0x1ccaf5,_0x565d3f,{'allowSynchronousEvents':this['options'][_0x4d6959(0x140)],'maxPayload':this[_0x4d6959(0x1cb)]['maxPayload'],'skipUTF8Validation':this[_0x4d6959(0x1cb)]['skipUTF8Validation']}),this['clients']&&(this[_0x4d6959(0x160)][_0x4d6959(0x163)](_0x5d998c),_0x5d998c['on'](_0x4d6959(0x110),()=>{const _0x1726f4=_0x4d6959;this[_0x1726f4(0x160)][_0x1726f4(0x1b8)](_0x5d998c),this[_0x1726f4(0x13e)]&&!this['clients'][_0x1726f4(0x21a)]&&process['nextTick'](_0x422159,this);})),_0x14c9c3(_0x5d998c,_0x170b66);}}Te=_0x320fe2;function _0x2b7858(_0x1a24c5,_0x11c554){const _0xa89f3c=_0x3063ca;for(const _0x52db18 of Object[_0xa89f3c(0x1bb)](_0x11c554))_0x1a24c5['on'](_0x52db18,_0x11c554[_0x52db18]);return function(){const _0x377220=_0xa89f3c;for(const _0x25096e of Object[_0x377220(0x1bb)](_0x11c554))_0x1a24c5[_0x377220(0x1f6)](_0x25096e,_0x11c554[_0x25096e]);};}function _0x422159(_0x1b39a3){const _0x40beb5=_0x3063ca;_0x1b39a3[_0x40beb5(0x11a)]=_0x25e683,_0x1b39a3[_0x40beb5(0x283)](_0x40beb5(0x110));}function _0x400b1c(){this['destroy']();}function _0x3f36b8(_0x678de8,_0x11fb31,_0x15c8c6,_0x55d0b7){const _0x55119d=_0x3063ca;_0x15c8c6=_0x15c8c6||_0x42eda3[_0x55119d(0x1b2)][_0x11fb31],_0x55d0b7={'Connection':'close','Content-Type':'text/html','Content-Length':Buffer['byteLength'](_0x15c8c6),..._0x55d0b7},_0x678de8[_0x55119d(0x176)](_0x55119d(0x18f),_0x678de8['destroy']),_0x678de8[_0x55119d(0x284)](_0x55119d(0xfa)+_0x11fb31+'\x20'+_0x42eda3[_0x55119d(0x1b2)][_0x11fb31]+'\x0d\x0a'+Object['keys'](_0x55d0b7)[_0x55119d(0x2a0)](_0x1f4195=>_0x1f4195+':\x20'+_0x55d0b7[_0x1f4195])[_0x55119d(0x191)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x15c8c6);}function _0x43c1a9(_0xf23d30,_0x216d89,_0x5a71b3,_0x2f4053,_0x5268dc,_0x29fd3a){const _0x5a17c8=_0x3063ca;if(_0xf23d30['listenerCount'](_0x5a17c8(0x1da))){const _0x30cc09=new Error(_0x5268dc);Error[_0x5a17c8(0x1b1)](_0x30cc09,_0x43c1a9),_0xf23d30[_0x5a17c8(0x283)](_0x5a17c8(0x1da),_0x30cc09,_0x5a71b3,_0x216d89);}else _0x3f36b8(_0x5a71b3,_0x2f4053,_0x5268dc,_0x29fd3a);}return Te;}er();var tr=Object[_0x28e367(0x105)],rr=(_0x24d46b,_0x707f2f,_0x25f883,_0x2efc3e)=>{const _0x11c3e2=_0x28e367;for(var _0xf9f11d=_0x2efc3e>0x1?void 0x0:_0x2efc3e?tr(_0x707f2f,_0x25f883):_0x707f2f,_0x1dc912=_0x24d46b[_0x11c3e2(0x264)]-0x1,_0x203575;_0x1dc912>=0x0;_0x1dc912--)(_0x203575=_0x24d46b[_0x1dc912])&&(_0xf9f11d=_0x203575(_0xf9f11d)||_0xf9f11d);return _0xf9f11d;},sr=(_0x2cd0df,_0x4c0663)=>(_0x4df457,_0x1c4f2f)=>_0x4c0663(_0x4df457,_0x1c4f2f,_0x2cd0df);let Ne=class extends _0x281b24{constructor(_0x871cc6){const _0x260eaf=_0x28e367;super(),this[_0x260eaf(0x247)]=_0x871cc6;}[_0x28e367(0x102)](_0x238ac1){const _0x5812ff=_0x28e367;var _0x3e12f1;const _0x41ae4b=(_0x3e12f1=this[_0x5812ff(0x247)][_0x5812ff(0x168)](Be))==null?void 0x0:_0x3e12f1['customHeaders'];try{const _0x519fbc=new Qt(_0x238ac1,{'headers':{..._0x41ae4b}}),_0x540e3e=new _0x5c6dab();return{'URL':_0x238ac1,'close':(_0x5ad27b,_0x4fd900)=>{const _0x4a63a1=_0x5812ff;_0x519fbc[_0x4a63a1(0x110)](_0x5ad27b,_0x4fd900),_0x540e3e['dispose']();},'send':_0x4bb978=>{const _0xcf2849=_0x5812ff;_0x519fbc[_0xcf2849(0x28a)](_0x4bb978);},'open$':new _0x305d0a(_0x534d54=>{const _0x25c4ab=_0x5812ff,_0x4a0605=_0x2e4cbf=>_0x534d54[_0x25c4ab(0x1a3)](_0x2e4cbf);_0x519fbc[_0x25c4ab(0x28c)]('open',_0x4a0605),_0x540e3e[_0x25c4ab(0x163)](_0x4b5925(()=>_0x519fbc['removeEventListener']('open',_0x4a0605)));})[_0x5812ff(0x23a)](_0x4e0ccf()),'close$':new _0x305d0a(_0x37b802=>{const _0x4abc92=_0x5812ff,_0x49197b=_0x3f7c08=>_0x37b802['next'](_0x3f7c08);_0x519fbc[_0x4abc92(0x28c)](_0x4abc92(0x110),_0x49197b),_0x540e3e[_0x4abc92(0x163)](_0x4b5925(()=>_0x519fbc[_0x4abc92(0x1b6)](_0x4abc92(0x110),_0x49197b)));})[_0x5812ff(0x23a)](_0x4e0ccf()),'error$':new _0x305d0a(_0x565ebb=>{const _0x1fdae5=_0x5812ff,_0x84316d=_0x21f69d=>_0x565ebb[_0x1fdae5(0x1a3)](_0x21f69d);_0x519fbc[_0x1fdae5(0x28c)](_0x1fdae5(0x1ad),_0x84316d),_0x540e3e[_0x1fdae5(0x163)](_0x4b5925(()=>_0x519fbc['removeEventListener']('error',_0x84316d)));})[_0x5812ff(0x23a)](_0x4e0ccf()),'message$':new _0x305d0a(_0x401b99=>{const _0xcc0fd2=_0x5812ff,_0x3bf579=_0x17686f=>_0x401b99['next'](_0x17686f);_0x519fbc['addEventListener']('message',_0x3bf579),_0x540e3e['add'](_0x4b5925(()=>_0x519fbc[_0xcc0fd2(0x1b6)](_0xcc0fd2(0x246),_0x3bf579)));})['pipe'](_0x4e0ccf())};}catch(_0x277c73){return console[_0x5812ff(0x1ad)](_0x277c73),null;}}};Ne=rr([sr(0x0,_0x45f3b3)],Ne);var ir=Object['defineProperty'],nr=Object[_0x28e367(0x105)],or=(_0x3330a8,_0x1f3f20,_0x5476a9)=>_0x1f3f20 in _0x3330a8?ir(_0x3330a8,_0x1f3f20,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5476a9}):_0x3330a8[_0x1f3f20]=_0x5476a9,ar=(_0x39f8e7,_0x31ddbe,_0x177d43,_0x215b39)=>{const _0x49949e=_0x28e367;for(var _0x485178=_0x215b39>0x1?void 0x0:_0x215b39?nr(_0x31ddbe,_0x177d43):_0x31ddbe,_0x1945c9=_0x39f8e7[_0x49949e(0x264)]-0x1,_0x28c2c6;_0x1945c9>=0x0;_0x1945c9--)(_0x28c2c6=_0x39f8e7[_0x1945c9])&&(_0x485178=_0x28c2c6(_0x485178)||_0x485178);return _0x485178;},ke=(_0x34c7ee,_0x2f95c8)=>(_0x3cc64c,_0x332b9a)=>_0x2f95c8(_0x3cc64c,_0x332b9a,_0x34c7ee),lr=(_0x4277be,_0x10d6fc,_0x9daf8c)=>or(_0x4277be,_0x10d6fc+'',_0x9daf8c);let Pe=class extends _0x59e6da{constructor(_0x4e3974=Ft,_0x3e0814,_0x54b949,_0x534469){const _0x59360d=_0x28e367;_0x4e3974[_0x59360d(0x158)]||_0x3e0814['warn'](_0x59360d(0x19b)),super(),this['_configService']=_0x54b949,this[_0x59360d(0x228)]=_0x534469,this[_0x59360d(0x247)]['setConfig'](Be,_0x4e3974);}[_0x28e367(0x24c)](){const _0x18078f=_0x28e367;this[_0x18078f(0x109)]();}[_0x28e367(0x109)](){const _0x95e6d3=_0x28e367;_0x5f1960(this[_0x95e6d3(0x228)],[[_0x334058,{'useClass':Ne}]]);}};lr(Pe,_0x28e367(0x27c),_0x28e367(0x274)),Pe=ar([_0xba02a8(_0xcb19d4),ke(0x1,_0x141a25),ke(0x2,_0x45f3b3),ke(0x3,_0x186489(_0x4b24c5))],Pe);var fr=Object[_0x28e367(0x105)],cr=(_0x4061b0,_0x265adf,_0x23efb5,_0x276a21)=>{const _0x29e0a3=_0x28e367;for(var _0x463671=_0x276a21>0x1?void 0x0:_0x276a21?fr(_0x265adf,_0x23efb5):_0x265adf,_0x1cd25c=_0x4061b0[_0x29e0a3(0x264)]-0x1,_0x3b909e;_0x1cd25c>=0x0;_0x1cd25c--)(_0x3b909e=_0x4061b0[_0x1cd25c])&&(_0x463671=_0x3b909e(_0x463671)||_0x463671);return _0x463671;},se=(_0x307639,_0x488315)=>(_0x1b592a,_0x2a800c)=>_0x488315(_0x1b592a,_0x2a800c,_0x307639);let at=class extends _0x45fd0b{constructor(_0x9a8566,_0x3ad01e,_0x333c23,_0x5bcb32,_0x222b64){const _0x36fd1b=_0x28e367;super(_0x9a8566,_0x3ad01e,_0x333c23,_0x5bcb32,_0x222b64);const _0x4ac5bc=this['_configService']['getConfig'](Be);this[_0x36fd1b(0x1bf)][_0x36fd1b(0x13f)]({'interceptor':(_0x5985d5,_0x294a86)=>{const _0x762eb6=_0x36fd1b;var _0x1235e4;const _0x2c5b0f=_0x5985d5[_0x762eb6(0xf8)];return(_0x1235e4=_0x4ac5bc==null?void 0x0:_0x4ac5bc[_0x762eb6(0x158)])!=null&&_0x1235e4['cookie']&&_0x2c5b0f['set'](_0x762eb6(0x126),_0x4ac5bc[_0x762eb6(0x158)][_0x762eb6(0x267)]),_0x294a86(_0x5985d5);}});}async[_0x28e367(0x102)](_0x2b7255){return this['_doCreateSocket'](_0x2b7255);}};at=cr([se(0x0,_0x186489(_0x4b24c5)),se(0x1,_0x186489(_0x1fc5b1)),se(0x2,_0x45f3b3),se(0x3,_0x141a25),se(0x4,_0x77e347)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|