@univerjs-pro/collaboration-client-node 0.10.10-experimental.20251010-3f807c5 → 0.10.10-nightly.202510170942
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 +9 -9
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x374957=_0x2f80;(function(_0x462509,_0x3d8245){const _0x42dac6=_0x2f80,_0x5614e6=_0x462509();while(!![]){try{const _0x3d282f=-parseInt(_0x42dac6(0x249))/0x1+-parseInt(_0x42dac6(0x2e9))/0x2+parseInt(_0x42dac6(0x37e))/0x3+parseInt(_0x42dac6(0x2a4))/0x4*(-parseInt(_0x42dac6(0x20f))/0x5)+-parseInt(_0x42dac6(0x276))/0x6*(parseInt(_0x42dac6(0x2ff))/0x7)+parseInt(_0x42dac6(0x31f))/0x8+parseInt(_0x42dac6(0x397))/0x9;if(_0x3d282f===_0x3d8245)break;else _0x5614e6['push'](_0x5614e6['shift']());}catch(_0x8ed020){_0x5614e6['push'](_0x5614e6['shift']());}}}(_0x41f4,0x3f687));import{UniverCollaborationClientPlugin as _0x94a5cf,CollaborationSocketService as _0x595e77}from'@univerjs-pro/collaboration-client';import{Disposable as _0x529da3,DisposableCollection as _0x14d140,toDisposable as _0x51f2a3,IConfigService as _0x1b1d96,DependentOn as _0x2ad880,ILogService as _0x21463b,Inject as _0x233579,Injector as _0x41e164,Plugin as _0x3d7a1f,registerDependencies as _0x474173}from'@univerjs/core';import{ISocketService as _0x315535,HTTPService as _0x5b756c}from'@univerjs/network';import{Observable as _0x33871b,share as _0x186291}from'rxjs';import _0x74a247 from'events';function _0x2f80(_0x1cc9d9,_0x5831e0){const _0x41f442=_0x41f4();return _0x2f80=function(_0x2f8057,_0x130dbd){_0x2f8057=_0x2f8057-0x1f4;let _0x42d578=_0x41f442[_0x2f8057];return _0x42d578;},_0x2f80(_0x1cc9d9,_0x5831e0);}import _0x586745 from'https';import _0x42d105 from'http';import _0x2457fe from'net';function _0x41f4(){const _0x4ce810=['socketPath','_removeListeners','base64','options','username','read','Server\x20sent\x20an\x20invalid\x20subprotocol','update','call','type','657552SRdQOq','get','_socket','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','_configService','invalid\x20payload\x20length\x20','wsClientError','Module','_closeMessage','concurrency','OPEN','Invalid\x20URL:\x20','_deflate','serverMaxWindowBits','Z_DEFAULT_WINDOWBITS','server_no_context_takeover','open','end','decompress','https:','then','construct','_skipUTF8Validation','WS_ERR_UNEXPECTED_RSV_2_3','hasOwnProperty','resume','length','WebSocket','auth','removeAllListeners','HTTP/1.1\x20101\x20Switching\x20Protocols','_shouldEmitClose','frame','nextTick','handleEvent','kError','getInfo','removeListener','onerror','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','_paused','_fin','handleUpgrade','protocolVersion','_req','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','perMessageDeflate','extensionName','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','defaultPort','nodebuffer','text/plain','unexpected-response','byteLength','map','hostname','concurrencyLimit','url','_maxPayload','unmask','WS_NO_UTF_8_VALIDATE','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','WS_ERR_INVALID_OPCODE','drain','emit','sec-websocket-extensions','sha1','allocUnsafe','_fragments','number','kAborted','\x22\x20subprotocol\x20is\x20duplicated','_doCreateSocket','value','_closeCode','Blob','socket','forEach','pong','string','Invalid\x20Upgrade\x20header','WS_ERR_EXPECTED_FIN','removeEventListener','isServer','_write','_errored','address','startsWith','\x22\x20must\x20have\x20only\x20a\x20single\x20value','createConnection','Invalid\x20Sec-WebSocket-Accept\x20header','_errorEmitted','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','captureStackTrace','accept','1088496UJCAro','text/html','next','invalid\x20opcode\x200','objectMode','websocket','zlibInflateOptions','handshakeTimeout','_closeTimer','cork','_loop','pause','ping','port','Sec-WebSocket-Protocol','invalid\x20opcode\x20','delete','opcode','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','_closeFrameSent','kWasClean','authorized','alloc','_totalPayloadLength','finished','2211507idnGdp','Parameter\x20\x22','acceptAsServer','\x0d\x0a\x0d\x0a','parse','Sec-WebSocket-Accept:\x20','_sender','readOnly','Sec-WebSocket-Origin','server','catch','completeUpgrade','terminate','_injector','_bufferedAmount','startLoop','Invalid\x20value\x20for\x20parameter\x20\x22','\x22:\x20','haveLength','wasClean','timeout','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','kCode','byteOffset','servername','_fragmented','controlMessage','binaryType','finish','_writableState','indexOf','_opcode','stream','clientMaxWindowBits','WS_NO_BUFFER_UTIL','_decompress','_originalSecure','readUInt32BE','Opening\x20handshake\x20has\x20timed\x20out','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','849835jmgJMX','Unsupported\x20protocol\x20version:\x20','_mask','WS_ERR_UNEXPECTED_RSV_1','freeze','Sec-WebSocket-Extensions:\x20','pow','once','_originalHostOrSocketPath','host','skipUTF8Validation','arraybuffer','flush','target','pipe','_originalIpc','onopen','writeHead','warn','getBlobData','has','password','The\x20\x22','sec-websocket-origin','create','charCodeAt','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','method','_messageLength','listeners','exports','createInflateRaw','getMask','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','default','sec-websocket-version','readUInt16BE','dequeue','location','species','kType','cookie','_extensions','_maskBuffer','WS_ERR_INVALID_UTF8','extensions','autoPong','search','Server\x20sent\x20no\x20subprotocol','WS_ERR_INVALID_CLOSE_CODE','client','_readableState','isArray','enqueue','getOwnPropertyDescriptor','href','consume','_bufferedBytes','106055ldzWXl','invalid\x20UTF-8\x20sequence','sendFrame','getConfig','kData','CONNECTING','entries','clientNoContextTakeover','buffer','createError','includes','_queue','Unknown\x20parameter\x20\x22','isBuffer','find','origin','_readyState','listen','_compressed','The\x20URL\x20contains\x20a\x20fragment\x20identifier','compress','arrayBuffer','endEmitted','defineProperty','protocol','setTimeout','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','request','abort','push','CLOSING','code','ws+unix:','listenerCount','followRedirects','pathname','WS_ERR_EXPECTED_MASK','bind','onStarting','_buffers','kRun','_isServer','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','mask','_binaryType','516zSikCW','_max_window_bits','addEventListener','_protocol','readable','headers','handleProtocols','Unexpected\x20character\x20at\x20index\x20','createSocket','CLOSED','Origin','onmessage','http:','shift','getPayloadLength64','_server','reason','data','offer','_no_context_takeover','invalid\x20status\x20code\x20','setHeader','sec-websocket-accept','_payloadLength','slice','Unexpected\x20end\x20of\x20input','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','digest','writeUInt16BE','RSV1\x20must\x20be\x20clear','clientTracking','pluginName','blob','error','serverNoContextTakeover','from','emitClose','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','join','_masked','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','params','close','isValidUTF8','backlog','client_max_window_bits','4vVrBMt','permessage-deflate','message','Unexpected\x20server\x20response:\x20','__esModule','client_no_context_takeover','concat','errorEmitted','shouldHandle','getPayloadLength16','_allowSynchronousEvents','Sec-WebSocket-Extensions','unshift','GET','_destroy','jobs','STATUS_CODES','readyState','dispatch','add','set','connect','destroyed','toStringTag','kDone','upgrade','kMessage','_receiver','generateMask','onclose','Max\x20payload\x20size\x20exceeded','clients','customHeaders','isView','dataMessage','maxPayload','object','redirect','destroy','Invalid\x20Sec-WebSocket-Extensions\x20header','total-length','createServer','_firstFragment','function','kByteLength','verifyClient','encrypted','Upgrade','finishRequest','acceptAsClient','_closeFrameReceived','env','_httpService','write','_threshold','size','writable','connection','WS_ERR_UNEXPECTED_MASK','server_max_window_bits','fin','_inflate','_options','MASK\x20must\x20be\x20clear','getData','wss:','_compress','Invalid\x20Sec-WebSocket-Protocol\x20header','HTTP/1.1\x20','307092OGCbjD','Invalid\x20WebSocket\x20frame:\x20','callback','threshold','maskBuffer','statusCode','13,\x208','cleanup','setNoDelay','response','conclude','bufferedAmount','keys','path','maxRedirects','Basic\x20','kListener','test','reset','The\x20server\x20is\x20not\x20running','toLowerCase','_redirects','119iFzDQP','isInteger','_generateMask','_state','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','sec-websocket-key','allowSynchronousEvents','send','pending','File','Upgrade:\x20websocket','toString','setSocket','sec-websocket-protocol','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','isPaused','noServer','replace','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','prototype','format','_url'];_0x41f4=function(){return _0x4ce810;};return _0x41f4();}import _0x5a29df from'tls';import _0x4d189e from'crypto';import _0x3d2ecc from'stream';import _0x5f2f41 from'url';import _0x31b263 from'zlib';import _0x2cfa2a from'buffer';import{ISnapshotServerService as _0x428826}from'@univerjs-pro/collaboration';const Be='collaboration-client-node.config',Ft={'customHeaders':{}};function Wt(_0x533cf9){const _0x36c681=_0x2f80;return _0x533cf9&&_0x533cf9[_0x36c681(0x2a8)]&&Object[_0x36c681(0x312)][_0x36c681(0x337)][_0x36c681(0x31d)](_0x533cf9,_0x36c681(0x231))?_0x533cf9[_0x36c681(0x231)]:_0x533cf9;}function ut(_0x1c6d5f){const _0x57695d=_0x2f80;if(Object[_0x57695d(0x312)][_0x57695d(0x337)][_0x57695d(0x31d)](_0x1c6d5f,'__esModule'))return _0x1c6d5f;var _0x5878ef=_0x1c6d5f[_0x57695d(0x231)];if(typeof _0x5878ef=='function'){var _0x4ed6f7=function _0x47ed38(){const _0x5e3252=_0x57695d;var _0x34d807=!0x1;try{_0x34d807=this instanceof _0x47ed38;}catch{}return _0x34d807?Reflect[_0x5e3252(0x334)](_0x5878ef,arguments,this['constructor']):_0x5878ef['apply'](this,arguments);};_0x4ed6f7[_0x57695d(0x312)]=_0x5878ef[_0x57695d(0x312)];}else _0x4ed6f7={};return Object[_0x57695d(0x260)](_0x4ed6f7,_0x57695d(0x2a8),{'value':!0x0}),Object['keys'](_0x1c6d5f)[_0x57695d(0x36c)](function(_0x6ca4e7){const _0x50808b=_0x57695d;var _0x333961=Object[_0x50808b(0x245)](_0x1c6d5f,_0x6ca4e7);Object[_0x50808b(0x260)](_0x4ed6f7,_0x6ca4e7,_0x333961[_0x50808b(0x320)]?_0x333961:{'enumerable':!0x0,'get':function(){return _0x1c6d5f[_0x6ca4e7];}});}),_0x4ed6f7;}var te={'exports':{}},ge,Ye;function V(){const _0x49412b=_0x2f80;if(Ye)return ge;Ye=0x1;const _0x538027=[_0x49412b(0x351),_0x49412b(0x21a),'fragments'],_0x36ef60=typeof Blob<'u';return _0x36ef60&&_0x538027[_0x49412b(0x266)](_0x49412b(0x296)),ge={'BINARY_TYPES':_0x538027,'EMPTY_BUFFER':Buffer[_0x49412b(0x394)](0x0),'GUID':_0x49412b(0x322),'hasBlob':_0x36ef60,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x49412b(0x2f9)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0x49412b(0x383)),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0x374957(0x213)](Object[_0x374957(0x260)]({'__proto__':null,'default':jt},Symbol['toStringTag'],{'value':_0x374957(0x326)})),Vt=ut(Gt);var Ke;function ce(){const _0xfaae2=_0x374957;if(Ke)return te['exports'];Ke=0x1;const {EMPTY_BUFFER:_0x36117e}=V(),_0x52e280=Buffer[Symbol[_0xfaae2(0x236)]];function _0x266c8d(_0xc79dc7,_0x308b39){const _0xa5e5ee=_0xfaae2;if(_0xc79dc7['length']===0x0)return _0x36117e;if(_0xc79dc7[_0xa5e5ee(0x339)]===0x1)return _0xc79dc7[0x0];const _0x231f0d=Buffer[_0xa5e5ee(0x362)](_0x308b39);let _0x5f442d=0x0;for(let _0x39b102=0x0;_0x39b102<_0xc79dc7[_0xa5e5ee(0x339)];_0x39b102++){const _0x1ab624=_0xc79dc7[_0x39b102];_0x231f0d[_0xa5e5ee(0x2b8)](_0x1ab624,_0x5f442d),_0x5f442d+=_0x1ab624[_0xa5e5ee(0x339)];}return _0x5f442d<_0x308b39?new _0x52e280(_0x231f0d[_0xa5e5ee(0x251)],_0x231f0d[_0xa5e5ee(0x1fe)],_0x5f442d):_0x231f0d;}function _0x12a54d(_0x45edda,_0x8092e6,_0x4a1c9f,_0x5d2872,_0x2b8adb){for(let _0x68e015=0x0;_0x68e015<_0x2b8adb;_0x68e015++)_0x4a1c9f[_0x5d2872+_0x68e015]=_0x45edda[_0x68e015]^_0x8092e6[_0x68e015&0x3];}function _0x38d8d4(_0x1d030f,_0x1497e8){const _0x23197e=_0xfaae2;for(let _0x58ca09=0x0;_0x58ca09<_0x1d030f[_0x23197e(0x339)];_0x58ca09++)_0x1d030f[_0x58ca09]^=_0x1497e8[_0x58ca09&0x3];}function _0x4e312a(_0x17bfa0){const _0xac23db=_0xfaae2;return _0x17bfa0[_0xac23db(0x339)]===_0x17bfa0[_0xac23db(0x251)][_0xac23db(0x354)]?_0x17bfa0[_0xac23db(0x251)]:_0x17bfa0['buffer'][_0xac23db(0x28e)](_0x17bfa0[_0xac23db(0x1fe)],_0x17bfa0[_0xac23db(0x1fe)]+_0x17bfa0[_0xac23db(0x339)]);}function _0x277934(_0xbc9490){const _0x9aa548=_0xfaae2;if(_0x277934[_0x9aa548(0x39e)]=!0x0,Buffer[_0x9aa548(0x256)](_0xbc9490))return _0xbc9490;let _0x47f947;return _0xbc9490 instanceof ArrayBuffer?_0x47f947=new _0x52e280(_0xbc9490):ArrayBuffer[_0x9aa548(0x2c5)](_0xbc9490)?_0x47f947=new _0x52e280(_0xbc9490[_0x9aa548(0x251)],_0xbc9490[_0x9aa548(0x1fe)],_0xbc9490['byteLength']):(_0x47f947=Buffer[_0x9aa548(0x299)](_0xbc9490),_0x277934[_0x9aa548(0x39e)]=!0x1),_0x47f947;}if(te[_0xfaae2(0x22d)]={'concat':_0x266c8d,'mask':_0x12a54d,'toArrayBuffer':_0x4e312a,'toBuffer':_0x277934,'unmask':_0x38d8d4},!process[_0xfaae2(0x2d7)][_0xfaae2(0x209)])try{const _0xe90bea=Vt;te[_0xfaae2(0x22d)]['mask']=function(_0xa2c5c1,_0x202412,_0x526d6b,_0x52c331,_0x2f33cd){const _0x13d5a7=_0xfaae2;_0x2f33cd<0x30?_0x12a54d(_0xa2c5c1,_0x202412,_0x526d6b,_0x52c331,_0x2f33cd):_0xe90bea[_0x13d5a7(0x274)](_0xa2c5c1,_0x202412,_0x526d6b,_0x52c331,_0x2f33cd);},te[_0xfaae2(0x22d)]['unmask']=function(_0x36758c,_0x31a1dc){const _0xa295a5=_0xfaae2;_0x36758c['length']<0x20?_0x38d8d4(_0x36758c,_0x31a1dc):_0xe90bea[_0xa295a5(0x35a)](_0x36758c,_0x31a1dc);};}catch{}return te[_0xfaae2(0x22d)];}var ye,Xe;function qt(){const _0x4b4fcb=_0x374957;if(Xe)return ye;Xe=0x1;const _0x17e63c=Symbol(_0x4b4fcb(0x2bc)),_0x840d89=Symbol(_0x4b4fcb(0x271));class _0x501778{constructor(_0x3ee7c7){const _0x528054=_0x4b4fcb;this[_0x17e63c]=()=>{const _0x35b0ce=_0x2f80;this[_0x35b0ce(0x307)]--,this[_0x840d89]();},this[_0x528054(0x328)]=_0x3ee7c7||0x1/0x0,this[_0x528054(0x2b3)]=[],this[_0x528054(0x307)]=0x0;}['add'](_0x16e299){const _0x2f864f=_0x4b4fcb;this[_0x2f864f(0x2b3)][_0x2f864f(0x266)](_0x16e299),this[_0x840d89]();}[_0x840d89](){const _0x1b5bb3=_0x4b4fcb;if(this[_0x1b5bb3(0x307)]!==this[_0x1b5bb3(0x328)]&&this[_0x1b5bb3(0x2b3)][_0x1b5bb3(0x339)]){const _0x27db42=this[_0x1b5bb3(0x2b3)][_0x1b5bb3(0x283)]();this[_0x1b5bb3(0x307)]++,_0x27db42(this[_0x17e63c]);}}}return ye=_0x501778,ye;}var ve,Ze;function he(){const _0x322e01=_0x374957;if(Ze)return ve;Ze=0x1;const _0x4f8aa6=_0x31b263,_0x22f317=ce(),_0x52681b=qt(),{kStatusCode:_0xa4a28f}=V(),_0x5e2ac1=Buffer[Symbol[_0x322e01(0x236)]],_0x559d8b=Buffer[_0x322e01(0x299)]([0x0,0x0,0xff,0xff]),_0x3c66c7=Symbol(_0x322e01(0x2a5)),_0x1fa3fe=Symbol(_0x322e01(0x2cc)),_0x2d16ed=Symbol(_0x322e01(0x2eb)),_0x5375b8=Symbol('buffers'),_0x4b3032=Symbol('error');let _0xc1d14a;class _0x551e72{constructor(_0x5bf3f9,_0x319a83,_0x36fac5){const _0x260926=_0x322e01;if(this[_0x260926(0x359)]=_0x36fac5|0x0,this[_0x260926(0x2e2)]=_0x5bf3f9||{},this[_0x260926(0x2da)]=this['_options'][_0x260926(0x2ec)]!==void 0x0?this[_0x260926(0x2e2)][_0x260926(0x2ec)]:0x400,this[_0x260926(0x272)]=!!_0x319a83,this[_0x260926(0x32b)]=null,this['_inflate']=null,this[_0x260926(0x29f)]=null,!_0xc1d14a){const _0x212a3c=this[_0x260926(0x2e2)][_0x260926(0x357)]!==void 0x0?this[_0x260926(0x2e2)]['concurrencyLimit']:0xa;_0xc1d14a=new _0x52681b(_0x212a3c);}}static get[_0x322e01(0x34e)](){const _0x52830e=_0x322e01;return _0x52830e(0x2a5);}[_0x322e01(0x288)](){const _0x1c860c=_0x322e01,_0x3d240b={};return this[_0x1c860c(0x2e2)]['serverNoContextTakeover']&&(_0x3d240b[_0x1c860c(0x32e)]=!0x0),this[_0x1c860c(0x2e2)][_0x1c860c(0x250)]&&(_0x3d240b[_0x1c860c(0x2a9)]=!0x0),this[_0x1c860c(0x2e2)][_0x1c860c(0x32c)]&&(_0x3d240b[_0x1c860c(0x2df)]=this[_0x1c860c(0x2e2)][_0x1c860c(0x32c)]),this[_0x1c860c(0x2e2)][_0x1c860c(0x208)]?_0x3d240b['client_max_window_bits']=this['_options']['clientMaxWindowBits']:this[_0x1c860c(0x2e2)][_0x1c860c(0x208)]==null&&(_0x3d240b['client_max_window_bits']=!0x0),_0x3d240b;}[_0x322e01(0x37d)](_0x1de88e){const _0x54d082=_0x322e01;return _0x1de88e=this['normalizeParams'](_0x1de88e),this[_0x54d082(0x29f)]=this[_0x54d082(0x272)]?this[_0x54d082(0x399)](_0x1de88e):this[_0x54d082(0x2d5)](_0x1de88e),this[_0x54d082(0x29f)];}[_0x322e01(0x2f0)](){const _0x5aa9eb=_0x322e01;if(this[_0x5aa9eb(0x2e1)]&&(this['_inflate'][_0x5aa9eb(0x2a0)](),this[_0x5aa9eb(0x2e1)]=null),this[_0x5aa9eb(0x32b)]){const _0x205022=this[_0x5aa9eb(0x32b)][_0x2d16ed];this[_0x5aa9eb(0x32b)][_0x5aa9eb(0x2a0)](),this['_deflate']=null,_0x205022&&_0x205022(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x322e01(0x399)](_0x3c70c0){const _0x4dd72b=_0x322e01,_0x14738b=this[_0x4dd72b(0x2e2)],_0x5726c6=_0x3c70c0[_0x4dd72b(0x257)](_0x4a2fd7=>!(_0x14738b[_0x4dd72b(0x298)]===!0x1&&_0x4a2fd7[_0x4dd72b(0x32e)]||_0x4a2fd7['server_max_window_bits']&&(_0x14738b[_0x4dd72b(0x32c)]===!0x1||typeof _0x14738b[_0x4dd72b(0x32c)]==_0x4dd72b(0x364)&&_0x14738b[_0x4dd72b(0x32c)]>_0x4a2fd7[_0x4dd72b(0x2df)])||typeof _0x14738b['clientMaxWindowBits']=='number'&&!_0x4a2fd7['client_max_window_bits']));if(!_0x5726c6)throw new Error(_0x4dd72b(0x34c));return _0x14738b[_0x4dd72b(0x298)]&&(_0x5726c6[_0x4dd72b(0x32e)]=!0x0),_0x14738b[_0x4dd72b(0x250)]&&(_0x5726c6[_0x4dd72b(0x2a9)]=!0x0),typeof _0x14738b['serverMaxWindowBits']=='number'&&(_0x5726c6[_0x4dd72b(0x2df)]=_0x14738b['serverMaxWindowBits']),typeof _0x14738b[_0x4dd72b(0x208)]=='number'?_0x5726c6['client_max_window_bits']=_0x14738b['clientMaxWindowBits']:(_0x5726c6[_0x4dd72b(0x2a3)]===!0x0||_0x14738b['clientMaxWindowBits']===!0x1)&&delete _0x5726c6[_0x4dd72b(0x2a3)],_0x5726c6;}[_0x322e01(0x2d5)](_0x42fa23){const _0x2aaae4=_0x322e01,_0x5318ea=_0x42fa23[0x0];if(this['_options']['clientNoContextTakeover']===!0x1&&_0x5318ea[_0x2aaae4(0x2a9)])throw new Error(_0x2aaae4(0x229));if(!_0x5318ea[_0x2aaae4(0x2a3)])typeof this[_0x2aaae4(0x2e2)][_0x2aaae4(0x208)]==_0x2aaae4(0x364)&&(_0x5318ea[_0x2aaae4(0x2a3)]=this['_options'][_0x2aaae4(0x208)]);else{if(this[_0x2aaae4(0x2e2)][_0x2aaae4(0x208)]===!0x1||typeof this['_options'][_0x2aaae4(0x208)]==_0x2aaae4(0x364)&&_0x5318ea[_0x2aaae4(0x2a3)]>this[_0x2aaae4(0x2e2)][_0x2aaae4(0x208)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x5318ea;}['normalizeParams'](_0x51f283){const _0x5163cf=_0x322e01;return _0x51f283[_0x5163cf(0x36c)](_0x59c776=>{const _0x57c1ea=_0x5163cf;Object[_0x57c1ea(0x2f5)](_0x59c776)[_0x57c1ea(0x36c)](_0x33969f=>{const _0x36564d=_0x57c1ea;let _0x59654d=_0x59c776[_0x33969f];if(_0x59654d['length']>0x1)throw new Error(_0x36564d(0x398)+_0x33969f+_0x36564d(0x377));if(_0x59654d=_0x59654d[0x0],_0x33969f===_0x36564d(0x2a3)){if(_0x59654d!==!0x0){const _0x3da8a6=+_0x59654d;if(!Number['isInteger'](_0x3da8a6)||_0x3da8a6<0x8||_0x3da8a6>0xf)throw new TypeError(_0x36564d(0x1f7)+_0x33969f+_0x36564d(0x1f8)+_0x59654d);_0x59654d=_0x3da8a6;}else{if(!this[_0x36564d(0x272)])throw new TypeError(_0x36564d(0x1f7)+_0x33969f+'\x22:\x20'+_0x59654d);}}else{if(_0x33969f===_0x36564d(0x2df)){const _0x14565e=+_0x59654d;if(!Number[_0x36564d(0x300)](_0x14565e)||_0x14565e<0x8||_0x14565e>0xf)throw new TypeError(_0x36564d(0x1f7)+_0x33969f+'\x22:\x20'+_0x59654d);_0x59654d=_0x14565e;}else{if(_0x33969f===_0x36564d(0x2a9)||_0x33969f==='server_no_context_takeover'){if(_0x59654d!==!0x0)throw new TypeError(_0x36564d(0x1f7)+_0x33969f+_0x36564d(0x1f8)+_0x59654d);}else throw new Error(_0x36564d(0x255)+_0x33969f+'\x22');}}_0x59c776[_0x33969f]=_0x59654d;});}),_0x51f283;}[_0x322e01(0x331)](_0x16a52b,_0xc9f1e7,_0x4b2658){const _0x56b409=_0x322e01;_0xc1d14a[_0x56b409(0x2b7)](_0x3f2952=>{this['_decompress'](_0x16a52b,_0xc9f1e7,(_0x12269a,_0x38789c)=>{_0x3f2952(),_0x4b2658(_0x12269a,_0x38789c);});});}[_0x322e01(0x25d)](_0x23020f,_0x2bd568,_0x264924){_0xc1d14a['add'](_0x2ec233=>{const _0x50e712=_0x2f80;this[_0x50e712(0x2e6)](_0x23020f,_0x2bd568,(_0x2c82fe,_0x687f93)=>{_0x2ec233(),_0x264924(_0x2c82fe,_0x687f93);});});}[_0x322e01(0x20a)](_0xbc31b7,_0x1f30ca,_0x2368d5){const _0x3ed2d7=_0x322e01,_0x193d9b=this[_0x3ed2d7(0x272)]?_0x3ed2d7(0x241):'server';if(!this[_0x3ed2d7(0x2e1)]){const _0x3099aa=_0x193d9b+_0x3ed2d7(0x277),_0x5bc1cf=typeof this[_0x3ed2d7(0x29f)][_0x3099aa]!='number'?_0x4f8aa6[_0x3ed2d7(0x32d)]:this[_0x3ed2d7(0x29f)][_0x3099aa];this[_0x3ed2d7(0x2e1)]=_0x4f8aa6[_0x3ed2d7(0x22e)]({...this['_options'][_0x3ed2d7(0x384)],'windowBits':_0x5bc1cf}),this[_0x3ed2d7(0x2e1)][_0x3c66c7]=this,this[_0x3ed2d7(0x2e1)][_0x1fa3fe]=0x0,this[_0x3ed2d7(0x2e1)][_0x5375b8]=[],this[_0x3ed2d7(0x2e1)]['on']('error',_0x2fa626),this['_inflate']['on'](_0x3ed2d7(0x287),_0x418ec9);}this[_0x3ed2d7(0x2e1)][_0x2d16ed]=_0x2368d5,this[_0x3ed2d7(0x2e1)][_0x3ed2d7(0x2d9)](_0xbc31b7),_0x1f30ca&&this[_0x3ed2d7(0x2e1)][_0x3ed2d7(0x2d9)](_0x559d8b),this[_0x3ed2d7(0x2e1)][_0x3ed2d7(0x21b)](()=>{const _0x1f1570=_0x3ed2d7,_0x44dc6a=this['_inflate'][_0x4b3032];if(_0x44dc6a){this['_inflate'][_0x1f1570(0x2a0)](),this['_inflate']=null,_0x2368d5(_0x44dc6a);return;}const _0x3e8eca=_0x22f317['concat'](this[_0x1f1570(0x2e1)][_0x5375b8],this[_0x1f1570(0x2e1)][_0x1fa3fe]);this[_0x1f1570(0x2e1)][_0x1f1570(0x242)]['endEmitted']?(this['_inflate'][_0x1f1570(0x2a0)](),this[_0x1f1570(0x2e1)]=null):(this[_0x1f1570(0x2e1)][_0x1fa3fe]=0x0,this[_0x1f1570(0x2e1)][_0x5375b8]=[],_0x1f30ca&&this['params'][_0x193d9b+_0x1f1570(0x289)]&&this['_inflate']['reset']()),_0x2368d5(null,_0x3e8eca);});}['_compress'](_0x31f6d9,_0x275642,_0x367714){const _0x3c6e2c=_0x322e01,_0x5022d8=this[_0x3c6e2c(0x272)]?_0x3c6e2c(0x3a0):'client';if(!this[_0x3c6e2c(0x32b)]){const _0x1fd601=_0x5022d8+_0x3c6e2c(0x277),_0x500acc=typeof this[_0x3c6e2c(0x29f)][_0x1fd601]!=_0x3c6e2c(0x364)?_0x4f8aa6[_0x3c6e2c(0x32d)]:this[_0x3c6e2c(0x29f)][_0x1fd601];this[_0x3c6e2c(0x32b)]=_0x4f8aa6['createDeflateRaw']({...this[_0x3c6e2c(0x2e2)]['zlibDeflateOptions'],'windowBits':_0x500acc}),this['_deflate'][_0x1fa3fe]=0x0,this[_0x3c6e2c(0x32b)][_0x5375b8]=[],this[_0x3c6e2c(0x32b)]['on'](_0x3c6e2c(0x287),_0x3a2946);}this[_0x3c6e2c(0x32b)][_0x2d16ed]=_0x367714,this['_deflate']['write'](_0x31f6d9),this[_0x3c6e2c(0x32b)]['flush'](_0x4f8aa6['Z_SYNC_FLUSH'],()=>{const _0x2ac96d=_0x3c6e2c;if(!this[_0x2ac96d(0x32b)])return;let _0x3327ab=_0x22f317[_0x2ac96d(0x2aa)](this['_deflate'][_0x5375b8],this[_0x2ac96d(0x32b)][_0x1fa3fe]);_0x275642&&(_0x3327ab=new _0x5e2ac1(_0x3327ab['buffer'],_0x3327ab[_0x2ac96d(0x1fe)],_0x3327ab['length']-0x4)),this[_0x2ac96d(0x32b)][_0x2d16ed]=null,this[_0x2ac96d(0x32b)][_0x1fa3fe]=0x0,this[_0x2ac96d(0x32b)][_0x5375b8]=[],_0x275642&&this[_0x2ac96d(0x29f)][_0x5022d8+'_no_context_takeover']&&this[_0x2ac96d(0x32b)][_0x2ac96d(0x2fb)](),_0x367714(null,_0x3327ab);});}}ve=_0x551e72;function _0x3a2946(_0x116597){const _0x1551b2=_0x322e01;this[_0x5375b8]['push'](_0x116597),this[_0x1fa3fe]+=_0x116597[_0x1551b2(0x339)];}function _0x418ec9(_0x24137e){const _0x5b0555=_0x322e01;if(this[_0x1fa3fe]+=_0x24137e[_0x5b0555(0x339)],this[_0x3c66c7][_0x5b0555(0x359)]<0x1||this[_0x1fa3fe]<=this[_0x3c66c7][_0x5b0555(0x359)]){this[_0x5375b8][_0x5b0555(0x266)](_0x24137e);return;}this[_0x4b3032]=new RangeError(_0x5b0555(0x2c2)),this[_0x4b3032][_0x5b0555(0x268)]=_0x5b0555(0x35c),this[_0x4b3032][_0xa4a28f]=0x3f1,this['removeListener'](_0x5b0555(0x287),_0x418ec9),this['reset']();}function _0x2fa626(_0x1034ab){if(this[_0x3c66c7]['_inflate']=null,this[_0x4b3032]){this[_0x2d16ed](this[_0x4b3032]);return;}_0x1034ab[_0xa4a28f]=0x3ef,this[_0x2d16ed](_0x1034ab);}return ve;}var re={'exports':{}};const Ht={},zt=Object['freeze'](Object['defineProperty']({'__proto__':null,'default':Ht},Symbol[_0x374957(0x2bb)],{'value':'Module'})),Yt=ut(zt);var Qe;function ne(){const _0x311948=_0x374957;if(Qe)return re[_0x311948(0x22d)];Qe=0x1;const {isUtf8:_0x1da320}=_0x2cfa2a,{hasBlob:_0x31d723}=V(),_0x449c99=[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 _0x423914(_0x40494b){return _0x40494b>=0x3e8&&_0x40494b<=0x3f6&&_0x40494b!==0x3ec&&_0x40494b!==0x3ed&&_0x40494b!==0x3ee||_0x40494b>=0xbb8&&_0x40494b<=0x1387;}function _0x6fc218(_0x2bb385){const _0x4a2173=_0x2bb385['length'];let _0x30fd5e=0x0;for(;_0x30fd5e<_0x4a2173;)if((_0x2bb385[_0x30fd5e]&0x80)===0x0)_0x30fd5e++;else{if((_0x2bb385[_0x30fd5e]&0xe0)===0xc0){if(_0x30fd5e+0x1===_0x4a2173||(_0x2bb385[_0x30fd5e+0x1]&0xc0)!==0x80||(_0x2bb385[_0x30fd5e]&0xfe)===0xc0)return!0x1;_0x30fd5e+=0x2;}else{if((_0x2bb385[_0x30fd5e]&0xf0)===0xe0){if(_0x30fd5e+0x2>=_0x4a2173||(_0x2bb385[_0x30fd5e+0x1]&0xc0)!==0x80||(_0x2bb385[_0x30fd5e+0x2]&0xc0)!==0x80||_0x2bb385[_0x30fd5e]===0xe0&&(_0x2bb385[_0x30fd5e+0x1]&0xe0)===0x80||_0x2bb385[_0x30fd5e]===0xed&&(_0x2bb385[_0x30fd5e+0x1]&0xe0)===0xa0)return!0x1;_0x30fd5e+=0x3;}else{if((_0x2bb385[_0x30fd5e]&0xf8)===0xf0){if(_0x30fd5e+0x3>=_0x4a2173||(_0x2bb385[_0x30fd5e+0x1]&0xc0)!==0x80||(_0x2bb385[_0x30fd5e+0x2]&0xc0)!==0x80||(_0x2bb385[_0x30fd5e+0x3]&0xc0)!==0x80||_0x2bb385[_0x30fd5e]===0xf0&&(_0x2bb385[_0x30fd5e+0x1]&0xf0)===0x80||_0x2bb385[_0x30fd5e]===0xf4&&_0x2bb385[_0x30fd5e+0x1]>0x8f||_0x2bb385[_0x30fd5e]>0xf4)return!0x1;_0x30fd5e+=0x4;}else return!0x1;}}}return!0x0;}function _0x5579d0(_0x4a1568){const _0x8369b7=_0x311948;return _0x31d723&&typeof _0x4a1568=='object'&&typeof _0x4a1568[_0x8369b7(0x25e)]==_0x8369b7(0x2cf)&&typeof _0x4a1568[_0x8369b7(0x31e)]==_0x8369b7(0x36e)&&typeof _0x4a1568[_0x8369b7(0x207)]==_0x8369b7(0x2cf)&&(_0x4a1568[Symbol[_0x8369b7(0x2bb)]]===_0x8369b7(0x36a)||_0x4a1568[Symbol[_0x8369b7(0x2bb)]]===_0x8369b7(0x308));}if(re[_0x311948(0x22d)]={'isBlob':_0x5579d0,'isValidStatusCode':_0x423914,'isValidUTF8':_0x6fc218,'tokenChars':_0x449c99},_0x1da320)re[_0x311948(0x22d)][_0x311948(0x2a1)]=function(_0x5df2d5){const _0x3e8909=_0x311948;return _0x5df2d5[_0x3e8909(0x339)]<0x18?_0x6fc218(_0x5df2d5):_0x1da320(_0x5df2d5);};else{if(!process['env'][_0x311948(0x35b)])try{const _0x5afd67=Yt;re[_0x311948(0x22d)][_0x311948(0x2a1)]=function(_0x32650c){const _0xa908d=_0x311948;return _0x32650c[_0xa908d(0x339)]<0x20?_0x6fc218(_0x32650c):_0x5afd67(_0x32650c);};}catch{}}return re[_0x311948(0x22d)];}var Se,Je;function dt(){const _0x560e36=_0x374957;if(Je)return Se;Je=0x1;const {Writable:_0xac6d56}=_0x3d2ecc,_0x5d276d=he(),{BINARY_TYPES:_0x22c7da,EMPTY_BUFFER:_0x4e8f1b,kStatusCode:_0x38018f,kWebSocket:_0x445fc8}=V(),{concat:_0x3306ff,toArrayBuffer:_0x1d0b7b,unmask:_0x33ac9b}=ce(),{isValidStatusCode:_0x1f4791,isValidUTF8:_0x210b10}=ne(),_0x2c40d2=Buffer[Symbol['species']],_0x80f9e1=0x0,_0xf065ee=0x1,_0x5cc680=0x2,_0x14e9f4=0x3,_0x979456=0x4,_0x4babeb=0x5,_0x4b1816=0x6;class _0x161f81 extends _0xac6d56{constructor(_0x13a73a={}){const _0xcc621f=_0x2f80;super(),this[_0xcc621f(0x2ae)]=_0x13a73a[_0xcc621f(0x305)]!==void 0x0?_0x13a73a['allowSynchronousEvents']:!0x0,this[_0xcc621f(0x275)]=_0x13a73a['binaryType']||_0x22c7da[0x0],this[_0xcc621f(0x239)]=_0x13a73a[_0xcc621f(0x23c)]||{},this[_0xcc621f(0x272)]=!!_0x13a73a[_0xcc621f(0x372)],this[_0xcc621f(0x359)]=_0x13a73a[_0xcc621f(0x2c7)]|0x0,this[_0xcc621f(0x335)]=!!_0x13a73a[_0xcc621f(0x219)],this[_0x445fc8]=void 0x0,this[_0xcc621f(0x248)]=0x0,this[_0xcc621f(0x270)]=[],this[_0xcc621f(0x25b)]=!0x1,this[_0xcc621f(0x28d)]=0x0,this[_0xcc621f(0x211)]=void 0x0,this[_0xcc621f(0x200)]=0x0,this[_0xcc621f(0x29d)]=!0x1,this[_0xcc621f(0x348)]=!0x1,this[_0xcc621f(0x206)]=0x0,this[_0xcc621f(0x395)]=0x0,this[_0xcc621f(0x22b)]=0x0,this[_0xcc621f(0x363)]=[],this[_0xcc621f(0x374)]=!0x1,this[_0xcc621f(0x388)]=!0x1,this[_0xcc621f(0x302)]=_0x80f9e1;}['_write'](_0x3a5307,_0x436d4d,_0x4074c3){const _0x5251eb=_0x2f80;if(this[_0x5251eb(0x206)]===0x8&&this[_0x5251eb(0x302)]==_0x80f9e1)return _0x4074c3();this['_bufferedBytes']+=_0x3a5307['length'],this[_0x5251eb(0x270)][_0x5251eb(0x266)](_0x3a5307),this[_0x5251eb(0x1f6)](_0x4074c3);}[_0x560e36(0x247)](_0x2494a2){const _0x1651c1=_0x560e36;if(this[_0x1651c1(0x248)]-=_0x2494a2,_0x2494a2===this[_0x1651c1(0x270)][0x0]['length'])return this['_buffers'][_0x1651c1(0x283)]();if(_0x2494a2<this['_buffers'][0x0][_0x1651c1(0x339)]){const _0x841fdc=this['_buffers'][0x0];return this[_0x1651c1(0x270)][0x0]=new _0x2c40d2(_0x841fdc[_0x1651c1(0x251)],_0x841fdc[_0x1651c1(0x1fe)]+_0x2494a2,_0x841fdc['length']-_0x2494a2),new _0x2c40d2(_0x841fdc[_0x1651c1(0x251)],_0x841fdc['byteOffset'],_0x2494a2);}const _0x279d86=Buffer[_0x1651c1(0x362)](_0x2494a2);do{const _0x186d3a=this[_0x1651c1(0x270)][0x0],_0x3bc6d2=_0x279d86['length']-_0x2494a2;_0x2494a2>=_0x186d3a[_0x1651c1(0x339)]?_0x279d86['set'](this[_0x1651c1(0x270)][_0x1651c1(0x283)](),_0x3bc6d2):(_0x279d86[_0x1651c1(0x2b8)](new Uint8Array(_0x186d3a[_0x1651c1(0x251)],_0x186d3a['byteOffset'],_0x2494a2),_0x3bc6d2),this[_0x1651c1(0x270)][0x0]=new _0x2c40d2(_0x186d3a[_0x1651c1(0x251)],_0x186d3a[_0x1651c1(0x1fe)]+_0x2494a2,_0x186d3a['length']-_0x2494a2)),_0x2494a2-=_0x186d3a['length'];}while(_0x2494a2>0x0);return _0x279d86;}[_0x560e36(0x1f6)](_0x352de0){const _0x35606b=_0x560e36;this[_0x35606b(0x388)]=!0x0;do switch(this[_0x35606b(0x302)]){case _0x80f9e1:this[_0x35606b(0x343)](_0x352de0);break;case _0xf065ee:this[_0x35606b(0x2ad)](_0x352de0);break;case _0x5cc680:this[_0x35606b(0x284)](_0x352de0);break;case _0x14e9f4:this[_0x35606b(0x22f)]();break;case _0x979456:this['getData'](_0x352de0);break;case _0x4babeb:case _0x4b1816:this[_0x35606b(0x388)]=!0x1;return;}while(this[_0x35606b(0x388)]);this[_0x35606b(0x374)]||_0x352de0();}[_0x560e36(0x343)](_0x33872e){const _0x50e783=_0x560e36;if(this[_0x50e783(0x248)]<0x2){this[_0x50e783(0x388)]=!0x1;return;}const _0x5405ec=this['consume'](0x2);if((_0x5405ec[0x0]&0x30)!==0x0){const _0x2165bf=this['createError'](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x50e783(0x336));_0x33872e(_0x2165bf);return;}const _0x55a3fc=(_0x5405ec[0x0]&0x40)===0x40;if(_0x55a3fc&&!this[_0x50e783(0x239)][_0x5d276d[_0x50e783(0x34e)]]){const _0x2073f0=this[_0x50e783(0x252)](RangeError,_0x50e783(0x293),!0x0,0x3ea,_0x50e783(0x212));_0x33872e(_0x2073f0);return;}if(this[_0x50e783(0x348)]=(_0x5405ec[0x0]&0x80)===0x80,this[_0x50e783(0x206)]=_0x5405ec[0x0]&0xf,this[_0x50e783(0x28d)]=_0x5405ec[0x1]&0x7f,this[_0x50e783(0x206)]===0x0){if(_0x55a3fc){const _0x37d895=this['createError'](RangeError,_0x50e783(0x293),!0x0,0x3ea,_0x50e783(0x212));_0x33872e(_0x37d895);return;}if(!this[_0x50e783(0x200)]){const _0x248884=this['createError'](RangeError,_0x50e783(0x381),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x33872e(_0x248884);return;}this[_0x50e783(0x206)]=this[_0x50e783(0x200)];}else{if(this[_0x50e783(0x206)]===0x1||this['_opcode']===0x2){if(this[_0x50e783(0x200)]){const _0xeede8a=this['createError'](RangeError,'invalid\x20opcode\x20'+this[_0x50e783(0x206)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x33872e(_0xeede8a);return;}this[_0x50e783(0x25b)]=_0x55a3fc;}else{if(this[_0x50e783(0x206)]>0x7&&this[_0x50e783(0x206)]<0xb){if(!this[_0x50e783(0x348)]){const _0x122597=this[_0x50e783(0x252)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x50e783(0x370));_0x33872e(_0x122597);return;}if(_0x55a3fc){const _0x21690f=this['createError'](RangeError,_0x50e783(0x293),!0x0,0x3ea,_0x50e783(0x212));_0x33872e(_0x21690f);return;}if(this[_0x50e783(0x28d)]>0x7d||this[_0x50e783(0x206)]===0x8&&this[_0x50e783(0x28d)]===0x1){const _0x36c778=this[_0x50e783(0x252)](RangeError,_0x50e783(0x324)+this[_0x50e783(0x28d)],!0x0,0x3ea,_0x50e783(0x311));_0x33872e(_0x36c778);return;}}else{const _0x346873=this['createError'](RangeError,_0x50e783(0x38d)+this[_0x50e783(0x206)],!0x0,0x3ea,_0x50e783(0x35d));_0x33872e(_0x346873);return;}}}if(!this[_0x50e783(0x348)]&&!this[_0x50e783(0x200)]&&(this[_0x50e783(0x200)]=this[_0x50e783(0x206)]),this[_0x50e783(0x29d)]=(_0x5405ec[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x50e783(0x29d)]){const _0x1fdb0d=this[_0x50e783(0x252)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x50e783(0x26d));_0x33872e(_0x1fdb0d);return;}}else{if(this[_0x50e783(0x29d)]){const _0x52c2de=this[_0x50e783(0x252)](RangeError,_0x50e783(0x2e3),!0x0,0x3ea,_0x50e783(0x2de));_0x33872e(_0x52c2de);return;}}this['_payloadLength']===0x7e?this['_state']=_0xf065ee:this[_0x50e783(0x28d)]===0x7f?this['_state']=_0x5cc680:this['haveLength'](_0x33872e);}[_0x560e36(0x2ad)](_0x2c914c){const _0x12f72d=_0x560e36;if(this[_0x12f72d(0x248)]<0x2){this[_0x12f72d(0x388)]=!0x1;return;}this['_payloadLength']=this[_0x12f72d(0x247)](0x2)['readUInt16BE'](0x0),this['haveLength'](_0x2c914c);}[_0x560e36(0x284)](_0x27852e){const _0x2de03a=_0x560e36;if(this[_0x2de03a(0x248)]<0x8){this[_0x2de03a(0x388)]=!0x1;return;}const _0x2c0aae=this[_0x2de03a(0x247)](0x8),_0x43d762=_0x2c0aae[_0x2de03a(0x20c)](0x0);if(_0x43d762>Math[_0x2de03a(0x215)](0x2,0x15)-0x1){const _0x589848=this[_0x2de03a(0x252)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x27852e(_0x589848);return;}this[_0x2de03a(0x28d)]=_0x43d762*Math[_0x2de03a(0x215)](0x2,0x20)+_0x2c0aae[_0x2de03a(0x20c)](0x4),this[_0x2de03a(0x1f9)](_0x27852e);}[_0x560e36(0x1f9)](_0x3a7003){const _0x279ff9=_0x560e36;if(this[_0x279ff9(0x28d)]&&this[_0x279ff9(0x206)]<0x8&&(this[_0x279ff9(0x395)]+=this[_0x279ff9(0x28d)],this[_0x279ff9(0x395)]>this['_maxPayload']&&this[_0x279ff9(0x359)]>0x0)){const _0x262c66=this['createError'](RangeError,_0x279ff9(0x2c2),!0x1,0x3f1,_0x279ff9(0x35c));_0x3a7003(_0x262c66);return;}this[_0x279ff9(0x29d)]?this['_state']=_0x14e9f4:this[_0x279ff9(0x302)]=_0x979456;}['getMask'](){const _0x177847=_0x560e36;if(this[_0x177847(0x248)]<0x4){this[_0x177847(0x388)]=!0x1;return;}this[_0x177847(0x211)]=this['consume'](0x4),this[_0x177847(0x302)]=_0x979456;}[_0x560e36(0x2e4)](_0x2c8a46){const _0x4edbd9=_0x560e36;let _0x7671c=_0x4e8f1b;if(this['_payloadLength']){if(this[_0x4edbd9(0x248)]<this['_payloadLength']){this[_0x4edbd9(0x388)]=!0x1;return;}_0x7671c=this['consume'](this[_0x4edbd9(0x28d)]),this['_masked']&&(this['_mask'][0x0]|this[_0x4edbd9(0x211)][0x1]|this[_0x4edbd9(0x211)][0x2]|this[_0x4edbd9(0x211)][0x3])!==0x0&&_0x33ac9b(_0x7671c,this[_0x4edbd9(0x211)]);}if(this['_opcode']>0x7){this[_0x4edbd9(0x201)](_0x7671c,_0x2c8a46);return;}if(this[_0x4edbd9(0x25b)]){this[_0x4edbd9(0x302)]=_0x4babeb,this[_0x4edbd9(0x331)](_0x7671c,_0x2c8a46);return;}_0x7671c[_0x4edbd9(0x339)]&&(this[_0x4edbd9(0x22b)]=this[_0x4edbd9(0x395)],this['_fragments'][_0x4edbd9(0x266)](_0x7671c)),this[_0x4edbd9(0x2c6)](_0x2c8a46);}['decompress'](_0x44a5ef,_0x55838f){const _0x2ef333=_0x560e36;this[_0x2ef333(0x239)][_0x5d276d[_0x2ef333(0x34e)]][_0x2ef333(0x331)](_0x44a5ef,this[_0x2ef333(0x348)],(_0x596ba7,_0x522770)=>{const _0x1bc614=_0x2ef333;if(_0x596ba7)return _0x55838f(_0x596ba7);if(_0x522770[_0x1bc614(0x339)]){if(this[_0x1bc614(0x22b)]+=_0x522770[_0x1bc614(0x339)],this[_0x1bc614(0x22b)]>this['_maxPayload']&&this[_0x1bc614(0x359)]>0x0){const _0x5c4607=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x1bc614(0x35c));_0x55838f(_0x5c4607);return;}this[_0x1bc614(0x363)]['push'](_0x522770);}this[_0x1bc614(0x2c6)](_0x55838f),this[_0x1bc614(0x302)]===_0x80f9e1&&this[_0x1bc614(0x1f6)](_0x55838f);});}['dataMessage'](_0x2c84a3){const _0x45e2d3=_0x560e36;if(!this['_fin']){this[_0x45e2d3(0x302)]=_0x80f9e1;return;}const _0x53af53=this[_0x45e2d3(0x22b)],_0x4f16cf=this[_0x45e2d3(0x363)];if(this[_0x45e2d3(0x395)]=0x0,this[_0x45e2d3(0x22b)]=0x0,this[_0x45e2d3(0x200)]=0x0,this['_fragments']=[],this[_0x45e2d3(0x206)]===0x2){let _0x19c35b;this[_0x45e2d3(0x275)]===_0x45e2d3(0x351)?_0x19c35b=_0x3306ff(_0x4f16cf,_0x53af53):this[_0x45e2d3(0x275)]===_0x45e2d3(0x21a)?_0x19c35b=_0x1d0b7b(_0x3306ff(_0x4f16cf,_0x53af53)):this[_0x45e2d3(0x275)]===_0x45e2d3(0x296)?_0x19c35b=new Blob(_0x4f16cf):_0x19c35b=_0x4f16cf,this[_0x45e2d3(0x2ae)]?(this[_0x45e2d3(0x35f)](_0x45e2d3(0x2a6),_0x19c35b,!0x0),this[_0x45e2d3(0x302)]=_0x80f9e1):(this[_0x45e2d3(0x302)]=_0x4b1816,setImmediate(()=>{const _0x1b4cb7=_0x45e2d3;this['emit'](_0x1b4cb7(0x2a6),_0x19c35b,!0x0),this[_0x1b4cb7(0x302)]=_0x80f9e1,this['startLoop'](_0x2c84a3);}));}else{const _0x3daece=_0x3306ff(_0x4f16cf,_0x53af53);if(!this[_0x45e2d3(0x335)]&&!_0x210b10(_0x3daece)){const _0x7ee105=this[_0x45e2d3(0x252)](Error,_0x45e2d3(0x24a),!0x0,0x3ef,_0x45e2d3(0x23b));_0x2c84a3(_0x7ee105);return;}this[_0x45e2d3(0x302)]===_0x4babeb||this[_0x45e2d3(0x2ae)]?(this[_0x45e2d3(0x35f)]('message',_0x3daece,!0x1),this[_0x45e2d3(0x302)]=_0x80f9e1):(this['_state']=_0x4b1816,setImmediate(()=>{const _0x2a0e4a=_0x45e2d3;this[_0x2a0e4a(0x35f)]('message',_0x3daece,!0x1),this[_0x2a0e4a(0x302)]=_0x80f9e1,this[_0x2a0e4a(0x1f6)](_0x2c84a3);}));}}['controlMessage'](_0x1c5e13,_0x297094){const _0x3a7a7a=_0x560e36;if(this['_opcode']===0x8){if(_0x1c5e13['length']===0x0)this[_0x3a7a7a(0x388)]=!0x1,this[_0x3a7a7a(0x35f)](_0x3a7a7a(0x2f3),0x3ed,_0x4e8f1b),this[_0x3a7a7a(0x330)]();else{const _0x18a109=_0x1c5e13[_0x3a7a7a(0x233)](0x0);if(!_0x1f4791(_0x18a109)){const _0x1e1092=this[_0x3a7a7a(0x252)](RangeError,_0x3a7a7a(0x28a)+_0x18a109,!0x0,0x3ea,_0x3a7a7a(0x240));_0x297094(_0x1e1092);return;}const _0x1ae2c2=new _0x2c40d2(_0x1c5e13[_0x3a7a7a(0x251)],_0x1c5e13['byteOffset']+0x2,_0x1c5e13['length']-0x2);if(!this[_0x3a7a7a(0x335)]&&!_0x210b10(_0x1ae2c2)){const _0x5b3182=this[_0x3a7a7a(0x252)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x3a7a7a(0x23b));_0x297094(_0x5b3182);return;}this[_0x3a7a7a(0x388)]=!0x1,this['emit']('conclude',_0x18a109,_0x1ae2c2),this[_0x3a7a7a(0x330)]();}this[_0x3a7a7a(0x302)]=_0x80f9e1;return;}this['_allowSynchronousEvents']?(this[_0x3a7a7a(0x35f)](this[_0x3a7a7a(0x206)]===0x9?_0x3a7a7a(0x38a):'pong',_0x1c5e13),this[_0x3a7a7a(0x302)]=_0x80f9e1):(this[_0x3a7a7a(0x302)]=_0x4b1816,setImmediate(()=>{const _0x2a4430=_0x3a7a7a;this[_0x2a4430(0x35f)](this['_opcode']===0x9?'ping':_0x2a4430(0x36d),_0x1c5e13),this[_0x2a4430(0x302)]=_0x80f9e1,this[_0x2a4430(0x1f6)](_0x297094);}));}[_0x560e36(0x252)](_0x5362b8,_0x169303,_0x11be59,_0x582c1c,_0x3a9c7f){const _0xbb4355=_0x560e36;this[_0xbb4355(0x388)]=!0x1,this[_0xbb4355(0x374)]=!0x0;const _0x197fae=new _0x5362b8(_0x11be59?_0xbb4355(0x2ea)+_0x169303:_0x169303);return Error[_0xbb4355(0x37c)](_0x197fae,this[_0xbb4355(0x252)]),_0x197fae[_0xbb4355(0x268)]=_0x3a9c7f,_0x197fae[_0x38018f]=_0x582c1c,_0x197fae;}}return Se=_0x161f81,Se;}var Ee,et;function _t(){const _0xdf2b74=_0x374957;if(et)return Ee;et=0x1;const {Duplex:_0x5d5e27}=_0x3d2ecc,{randomFillSync:_0x25ade2}=_0x4d189e,_0x3f8247=he(),{EMPTY_BUFFER:_0x59ea62,kWebSocket:_0x3098ee,NOOP:_0x24d866}=V(),{isBlob:_0x570fb1,isValidStatusCode:_0x513e77}=ne(),{mask:_0x4f6521,toBuffer:_0x398c35}=ce(),_0x70693f=Symbol(_0xdf2b74(0x2d0)),_0x52b22a=Buffer[_0xdf2b74(0x394)](0x4),_0x2c57c2=0x8*0x400;let _0x5693d3,_0x44e9c3=_0x2c57c2;const _0x253446=0x0,_0x498274=0x1,_0x58031c=0x2;class _0x80a036{constructor(_0x540e24,_0x5b9305,_0x3036a4){const _0x93f699=_0xdf2b74;this[_0x93f699(0x239)]=_0x5b9305||{},_0x3036a4&&(this[_0x93f699(0x301)]=_0x3036a4,this[_0x93f699(0x23a)]=Buffer[_0x93f699(0x394)](0x4)),this[_0x93f699(0x321)]=_0x540e24,this[_0x93f699(0x2ce)]=!0x0,this[_0x93f699(0x2e6)]=!0x1,this['_bufferedBytes']=0x0,this[_0x93f699(0x254)]=[],this['_state']=_0x253446,this[_0x93f699(0x345)]=_0x24d866,this[_0x3098ee]=void 0x0;}static['frame'](_0xca708e,_0x1b5bdc){const _0x1e426e=_0xdf2b74;let _0x55367f,_0x6732b7=!0x1,_0x23fe1e=0x2,_0x49fab6=!0x1;_0x1b5bdc[_0x1e426e(0x274)]&&(_0x55367f=_0x1b5bdc[_0x1e426e(0x2ed)]||_0x52b22a,_0x1b5bdc[_0x1e426e(0x2c0)]?_0x1b5bdc[_0x1e426e(0x2c0)](_0x55367f):(_0x44e9c3===_0x2c57c2&&(_0x5693d3===void 0x0&&(_0x5693d3=Buffer[_0x1e426e(0x394)](_0x2c57c2)),_0x25ade2(_0x5693d3,0x0,_0x2c57c2),_0x44e9c3=0x0),_0x55367f[0x0]=_0x5693d3[_0x44e9c3++],_0x55367f[0x1]=_0x5693d3[_0x44e9c3++],_0x55367f[0x2]=_0x5693d3[_0x44e9c3++],_0x55367f[0x3]=_0x5693d3[_0x44e9c3++]),_0x49fab6=(_0x55367f[0x0]|_0x55367f[0x1]|_0x55367f[0x2]|_0x55367f[0x3])===0x0,_0x23fe1e=0x6);let _0x11d444;typeof _0xca708e==_0x1e426e(0x36e)?(!_0x1b5bdc[_0x1e426e(0x274)]||_0x49fab6)&&_0x1b5bdc[_0x70693f]!==void 0x0?_0x11d444=_0x1b5bdc[_0x70693f]:(_0xca708e=Buffer[_0x1e426e(0x299)](_0xca708e),_0x11d444=_0xca708e['length']):(_0x11d444=_0xca708e[_0x1e426e(0x339)],_0x6732b7=_0x1b5bdc['mask']&&_0x1b5bdc[_0x1e426e(0x39e)]&&!_0x49fab6);let _0x1f2468=_0x11d444;_0x11d444>=0x10000?(_0x23fe1e+=0x8,_0x1f2468=0x7f):_0x11d444>0x7d&&(_0x23fe1e+=0x2,_0x1f2468=0x7e);const _0x3e474b=Buffer['allocUnsafe'](_0x6732b7?_0x11d444+_0x23fe1e:_0x23fe1e);return _0x3e474b[0x0]=_0x1b5bdc[_0x1e426e(0x2e0)]?_0x1b5bdc[_0x1e426e(0x38f)]|0x80:_0x1b5bdc[_0x1e426e(0x38f)],_0x1b5bdc['rsv1']&&(_0x3e474b[0x0]|=0x40),_0x3e474b[0x1]=_0x1f2468,_0x1f2468===0x7e?_0x3e474b[_0x1e426e(0x292)](_0x11d444,0x2):_0x1f2468===0x7f&&(_0x3e474b[0x2]=_0x3e474b[0x3]=0x0,_0x3e474b['writeUIntBE'](_0x11d444,0x4,0x6)),_0x1b5bdc[_0x1e426e(0x274)]?(_0x3e474b[0x1]|=0x80,_0x3e474b[_0x23fe1e-0x4]=_0x55367f[0x0],_0x3e474b[_0x23fe1e-0x3]=_0x55367f[0x1],_0x3e474b[_0x23fe1e-0x2]=_0x55367f[0x2],_0x3e474b[_0x23fe1e-0x1]=_0x55367f[0x3],_0x49fab6?[_0x3e474b,_0xca708e]:_0x6732b7?(_0x4f6521(_0xca708e,_0x55367f,_0x3e474b,_0x23fe1e,_0x11d444),[_0x3e474b]):(_0x4f6521(_0xca708e,_0x55367f,_0xca708e,0x0,_0x11d444),[_0x3e474b,_0xca708e])):[_0x3e474b,_0xca708e];}[_0xdf2b74(0x2a0)](_0x5b7bdb,_0x53acad,_0xb42db5,_0x1c462c){const _0xc781fa=_0xdf2b74;let _0x211fe3;if(_0x5b7bdb===void 0x0)_0x211fe3=_0x59ea62;else{if(typeof _0x5b7bdb!=_0xc781fa(0x364)||!_0x513e77(_0x5b7bdb))throw new TypeError(_0xc781fa(0x30d));if(_0x53acad===void 0x0||!_0x53acad[_0xc781fa(0x339)])_0x211fe3=Buffer[_0xc781fa(0x362)](0x2),_0x211fe3[_0xc781fa(0x292)](_0x5b7bdb,0x0);else{const _0x46d836=Buffer['byteLength'](_0x53acad);if(_0x46d836>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x211fe3=Buffer[_0xc781fa(0x362)](0x2+_0x46d836),_0x211fe3[_0xc781fa(0x292)](_0x5b7bdb,0x0),typeof _0x53acad==_0xc781fa(0x36e)?_0x211fe3[_0xc781fa(0x2d9)](_0x53acad,0x2):_0x211fe3[_0xc781fa(0x2b8)](_0x53acad,0x2);}}const _0x544c10={[_0x70693f]:_0x211fe3[_0xc781fa(0x339)],'fin':!0x0,'generateMask':this[_0xc781fa(0x301)],'mask':_0xb42db5,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x253446?this[_0xc781fa(0x244)]([this[_0xc781fa(0x2b6)],_0x211fe3,!0x1,_0x544c10,_0x1c462c]):this[_0xc781fa(0x24b)](_0x80a036[_0xc781fa(0x33f)](_0x211fe3,_0x544c10),_0x1c462c);}[_0xdf2b74(0x38a)](_0x36ec32,_0x2865e6,_0x2bb02c){const _0x681a2c=_0xdf2b74;let _0x48fa7f,_0x28d50f;if(typeof _0x36ec32==_0x681a2c(0x36e)?(_0x48fa7f=Buffer[_0x681a2c(0x354)](_0x36ec32),_0x28d50f=!0x1):_0x570fb1(_0x36ec32)?(_0x48fa7f=_0x36ec32['size'],_0x28d50f=!0x1):(_0x36ec32=_0x398c35(_0x36ec32),_0x48fa7f=_0x36ec32['length'],_0x28d50f=_0x398c35[_0x681a2c(0x39e)]),_0x48fa7f>0x7d)throw new RangeError(_0x681a2c(0x346));const _0x28e7c5={[_0x70693f]:_0x48fa7f,'fin':!0x0,'generateMask':this[_0x681a2c(0x301)],'mask':_0x2865e6,'maskBuffer':this[_0x681a2c(0x23a)],'opcode':0x9,'readOnly':_0x28d50f,'rsv1':!0x1};_0x570fb1(_0x36ec32)?this[_0x681a2c(0x302)]!==_0x253446?this[_0x681a2c(0x244)]([this[_0x681a2c(0x222)],_0x36ec32,!0x1,_0x28e7c5,_0x2bb02c]):this[_0x681a2c(0x222)](_0x36ec32,!0x1,_0x28e7c5,_0x2bb02c):this['_state']!==_0x253446?this['enqueue']([this['dispatch'],_0x36ec32,!0x1,_0x28e7c5,_0x2bb02c]):this[_0x681a2c(0x24b)](_0x80a036['frame'](_0x36ec32,_0x28e7c5),_0x2bb02c);}[_0xdf2b74(0x36d)](_0x235ee5,_0x1efb54,_0x36781e){const _0x2c1253=_0xdf2b74;let _0x87d2a5,_0x32d9ec;if(typeof _0x235ee5=='string'?(_0x87d2a5=Buffer[_0x2c1253(0x354)](_0x235ee5),_0x32d9ec=!0x1):_0x570fb1(_0x235ee5)?(_0x87d2a5=_0x235ee5[_0x2c1253(0x2db)],_0x32d9ec=!0x1):(_0x235ee5=_0x398c35(_0x235ee5),_0x87d2a5=_0x235ee5['length'],_0x32d9ec=_0x398c35['readOnly']),_0x87d2a5>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x1e7e40={[_0x70693f]:_0x87d2a5,'fin':!0x0,'generateMask':this[_0x2c1253(0x301)],'mask':_0x1efb54,'maskBuffer':this[_0x2c1253(0x23a)],'opcode':0xa,'readOnly':_0x32d9ec,'rsv1':!0x1};_0x570fb1(_0x235ee5)?this[_0x2c1253(0x302)]!==_0x253446?this[_0x2c1253(0x244)]([this[_0x2c1253(0x222)],_0x235ee5,!0x1,_0x1e7e40,_0x36781e]):this[_0x2c1253(0x222)](_0x235ee5,!0x1,_0x1e7e40,_0x36781e):this[_0x2c1253(0x302)]!==_0x253446?this[_0x2c1253(0x244)]([this[_0x2c1253(0x2b6)],_0x235ee5,!0x1,_0x1e7e40,_0x36781e]):this['sendFrame'](_0x80a036[_0x2c1253(0x33f)](_0x235ee5,_0x1e7e40),_0x36781e);}['send'](_0x22cacd,_0xabe2b8,_0x588bea){const _0x37c0a2=_0xdf2b74,_0x2921cb=this[_0x37c0a2(0x239)][_0x3f8247['extensionName']];let _0x5536a2=_0xabe2b8['binary']?0x2:0x1,_0x5b73ce=_0xabe2b8[_0x37c0a2(0x25d)],_0x4213d8,_0x58f242;typeof _0x22cacd==_0x37c0a2(0x36e)?(_0x4213d8=Buffer['byteLength'](_0x22cacd),_0x58f242=!0x1):_0x570fb1(_0x22cacd)?(_0x4213d8=_0x22cacd[_0x37c0a2(0x2db)],_0x58f242=!0x1):(_0x22cacd=_0x398c35(_0x22cacd),_0x4213d8=_0x22cacd[_0x37c0a2(0x339)],_0x58f242=_0x398c35[_0x37c0a2(0x39e)]),this[_0x37c0a2(0x2ce)]?(this[_0x37c0a2(0x2ce)]=!0x1,_0x5b73ce&&_0x2921cb&&_0x2921cb['params'][_0x2921cb[_0x37c0a2(0x272)]?_0x37c0a2(0x32e):_0x37c0a2(0x2a9)]&&(_0x5b73ce=_0x4213d8>=_0x2921cb[_0x37c0a2(0x2da)]),this[_0x37c0a2(0x2e6)]=_0x5b73ce):(_0x5b73ce=!0x1,_0x5536a2=0x0),_0xabe2b8['fin']&&(this[_0x37c0a2(0x2ce)]=!0x0);const _0x41cb75={[_0x70693f]:_0x4213d8,'fin':_0xabe2b8['fin'],'generateMask':this[_0x37c0a2(0x301)],'mask':_0xabe2b8[_0x37c0a2(0x274)],'maskBuffer':this[_0x37c0a2(0x23a)],'opcode':_0x5536a2,'readOnly':_0x58f242,'rsv1':_0x5b73ce};_0x570fb1(_0x22cacd)?this['_state']!==_0x253446?this[_0x37c0a2(0x244)]([this[_0x37c0a2(0x222)],_0x22cacd,this[_0x37c0a2(0x2e6)],_0x41cb75,_0x588bea]):this[_0x37c0a2(0x222)](_0x22cacd,this[_0x37c0a2(0x2e6)],_0x41cb75,_0x588bea):this[_0x37c0a2(0x302)]!==_0x253446?this[_0x37c0a2(0x244)]([this[_0x37c0a2(0x2b6)],_0x22cacd,this[_0x37c0a2(0x2e6)],_0x41cb75,_0x588bea]):this[_0x37c0a2(0x2b6)](_0x22cacd,this[_0x37c0a2(0x2e6)],_0x41cb75,_0x588bea);}[_0xdf2b74(0x222)](_0x3a8e91,_0x4166e5,_0x485ead,_0x1fd556){const _0x2bb015=_0xdf2b74;this[_0x2bb015(0x248)]+=_0x485ead[_0x70693f],this[_0x2bb015(0x302)]=_0x58031c,_0x3a8e91['arrayBuffer']()[_0x2bb015(0x333)](_0x19b739=>{const _0x4a3cb9=_0x2bb015;if(this[_0x4a3cb9(0x321)][_0x4a3cb9(0x2ba)]){const _0x54478f=new Error(_0x4a3cb9(0x230));process[_0x4a3cb9(0x340)](_0x52bcb7,this,_0x54478f,_0x1fd556);return;}this[_0x4a3cb9(0x248)]-=_0x485ead[_0x70693f];const _0x4a2b9a=_0x398c35(_0x19b739);_0x4166e5?this[_0x4a3cb9(0x2b6)](_0x4a2b9a,_0x4166e5,_0x485ead,_0x1fd556):(this['_state']=_0x253446,this[_0x4a3cb9(0x24b)](_0x80a036[_0x4a3cb9(0x33f)](_0x4a2b9a,_0x485ead),_0x1fd556),this[_0x4a3cb9(0x234)]());})[_0x2bb015(0x3a1)](_0x557def=>{const _0x553116=_0x2bb015;process[_0x553116(0x340)](_0x2e719b,this,_0x557def,_0x1fd556);});}[_0xdf2b74(0x2b6)](_0x43f32f,_0x5b1bdd,_0x45eeb6,_0x30e663){const _0x407ffc=_0xdf2b74;if(!_0x5b1bdd){this[_0x407ffc(0x24b)](_0x80a036[_0x407ffc(0x33f)](_0x43f32f,_0x45eeb6),_0x30e663);return;}const _0x165641=this[_0x407ffc(0x239)][_0x3f8247[_0x407ffc(0x34e)]];this['_bufferedBytes']+=_0x45eeb6[_0x70693f],this[_0x407ffc(0x302)]=_0x498274,_0x165641[_0x407ffc(0x25d)](_0x43f32f,_0x45eeb6['fin'],(_0x55708b,_0x39a6e2)=>{const _0x291175=_0x407ffc;if(this[_0x291175(0x321)][_0x291175(0x2ba)]){const _0x42ea7a=new Error(_0x291175(0x29e));_0x52bcb7(this,_0x42ea7a,_0x30e663);return;}this[_0x291175(0x248)]-=_0x45eeb6[_0x70693f],this[_0x291175(0x302)]=_0x253446,_0x45eeb6[_0x291175(0x39e)]=!0x1,this[_0x291175(0x24b)](_0x80a036[_0x291175(0x33f)](_0x39a6e2,_0x45eeb6),_0x30e663),this[_0x291175(0x234)]();});}[_0xdf2b74(0x234)](){const _0x5b5a51=_0xdf2b74;for(;this[_0x5b5a51(0x302)]===_0x253446&&this[_0x5b5a51(0x254)][_0x5b5a51(0x339)];){const _0x4ffec6=this[_0x5b5a51(0x254)][_0x5b5a51(0x283)]();this['_bufferedBytes']-=_0x4ffec6[0x3][_0x70693f],Reflect['apply'](_0x4ffec6[0x0],this,_0x4ffec6[_0x5b5a51(0x28e)](0x1));}}[_0xdf2b74(0x244)](_0x56581d){const _0x51d3fb=_0xdf2b74;this['_bufferedBytes']+=_0x56581d[0x3][_0x70693f],this[_0x51d3fb(0x254)][_0x51d3fb(0x266)](_0x56581d);}[_0xdf2b74(0x24b)](_0x15c3dc,_0x5f1ca0){const _0x21c724=_0xdf2b74;_0x15c3dc[_0x21c724(0x339)]===0x2?(this[_0x21c724(0x321)][_0x21c724(0x387)](),this[_0x21c724(0x321)][_0x21c724(0x2d9)](_0x15c3dc[0x0]),this['_socket'][_0x21c724(0x2d9)](_0x15c3dc[0x1],_0x5f1ca0),this[_0x21c724(0x321)]['uncork']()):this['_socket']['write'](_0x15c3dc[0x0],_0x5f1ca0);}}Ee=_0x80a036;function _0x52bcb7(_0x461768,_0x2b04ec,_0x228281){const _0x594a56=_0xdf2b74;typeof _0x228281=='function'&&_0x228281(_0x2b04ec);for(let _0xbf80d=0x0;_0xbf80d<_0x461768['_queue'][_0x594a56(0x339)];_0xbf80d++){const _0x4e3858=_0x461768[_0x594a56(0x254)][_0xbf80d],_0x52fe1e=_0x4e3858[_0x4e3858['length']-0x1];typeof _0x52fe1e=='function'&&_0x52fe1e(_0x2b04ec);}}function _0x2e719b(_0x31b4a6,_0x1f722c,_0x5f2103){const _0x11fb98=_0xdf2b74;_0x52bcb7(_0x31b4a6,_0x1f722c,_0x5f2103),_0x31b4a6[_0x11fb98(0x345)](_0x1f722c);}return Ee;}var xe,tt;function Kt(){const _0x3e2990=_0x374957;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x5bd4dd,kListener:_0x27ad9f}=V(),_0x4d80a0=Symbol(_0x3e2990(0x1fd)),_0x270601=Symbol(_0x3e2990(0x24d)),_0x331714=Symbol(_0x3e2990(0x342)),_0x2f9835=Symbol(_0x3e2990(0x2be)),_0x33ac79=Symbol('kReason'),_0x1e6848=Symbol('kTarget'),_0x5c0309=Symbol(_0x3e2990(0x237)),_0x4235d9=Symbol(_0x3e2990(0x392));class _0x234e1d{constructor(_0x1fd964){this[_0x1e6848]=null,this[_0x5c0309]=_0x1fd964;}get[_0x3e2990(0x21c)](){return this[_0x1e6848];}get[_0x3e2990(0x31e)](){return this[_0x5c0309];}}Object[_0x3e2990(0x260)](_0x234e1d[_0x3e2990(0x312)],'target',{'enumerable':!0x0}),Object[_0x3e2990(0x260)](_0x234e1d['prototype'],_0x3e2990(0x31e),{'enumerable':!0x0});class _0x58a331 extends _0x234e1d{constructor(_0x2c3279,_0x1c8343={}){const _0xdfcb0e=_0x3e2990;super(_0x2c3279),this[_0x4d80a0]=_0x1c8343[_0xdfcb0e(0x268)]===void 0x0?0x0:_0x1c8343[_0xdfcb0e(0x268)],this[_0x33ac79]=_0x1c8343[_0xdfcb0e(0x286)]===void 0x0?'':_0x1c8343[_0xdfcb0e(0x286)],this[_0x4235d9]=_0x1c8343[_0xdfcb0e(0x1fa)]===void 0x0?!0x1:_0x1c8343[_0xdfcb0e(0x1fa)];}get[_0x3e2990(0x268)](){return this[_0x4d80a0];}get['reason'](){return this[_0x33ac79];}get[_0x3e2990(0x1fa)](){return this[_0x4235d9];}}Object[_0x3e2990(0x260)](_0x58a331[_0x3e2990(0x312)],_0x3e2990(0x268),{'enumerable':!0x0}),Object[_0x3e2990(0x260)](_0x58a331[_0x3e2990(0x312)],_0x3e2990(0x286),{'enumerable':!0x0}),Object[_0x3e2990(0x260)](_0x58a331[_0x3e2990(0x312)],_0x3e2990(0x1fa),{'enumerable':!0x0});class _0x14dab8 extends _0x234e1d{constructor(_0x3a4b07,_0x597a1a={}){const _0x101b57=_0x3e2990;super(_0x3a4b07),this[_0x331714]=_0x597a1a['error']===void 0x0?null:_0x597a1a[_0x101b57(0x297)],this[_0x2f9835]=_0x597a1a[_0x101b57(0x2a6)]===void 0x0?'':_0x597a1a[_0x101b57(0x2a6)];}get[_0x3e2990(0x297)](){return this[_0x331714];}get[_0x3e2990(0x2a6)](){return this[_0x2f9835];}}Object['defineProperty'](_0x14dab8[_0x3e2990(0x312)],_0x3e2990(0x297),{'enumerable':!0x0}),Object[_0x3e2990(0x260)](_0x14dab8['prototype'],_0x3e2990(0x2a6),{'enumerable':!0x0});class _0x5747d8 extends _0x234e1d{constructor(_0x52dee4,_0x298565={}){const _0xaec33d=_0x3e2990;super(_0x52dee4),this[_0x270601]=_0x298565[_0xaec33d(0x287)]===void 0x0?null:_0x298565[_0xaec33d(0x287)];}get[_0x3e2990(0x287)](){return this[_0x270601];}}Object['defineProperty'](_0x5747d8[_0x3e2990(0x312)],_0x3e2990(0x287),{'enumerable':!0x0}),xe={'CloseEvent':_0x58a331,'ErrorEvent':_0x14dab8,'Event':_0x234e1d,'EventTarget':{'addEventListener'(_0x42673b,_0x118fc0,_0xacf244={}){const _0x52826b=_0x3e2990;for(const _0x44db1a of this[_0x52826b(0x22c)](_0x42673b))if(!_0xacf244[_0x5bd4dd]&&_0x44db1a[_0x27ad9f]===_0x118fc0&&!_0x44db1a[_0x5bd4dd])return;let _0x24f0f5;if(_0x42673b===_0x52826b(0x2a6))_0x24f0f5=function(_0x4f1681,_0x1b26aa){const _0xb35018=_0x52826b,_0x365711=new _0x5747d8(_0xb35018(0x2a6),{'data':_0x1b26aa?_0x4f1681:_0x4f1681['toString']()});_0x365711[_0x1e6848]=this,_0x3234e8(_0x118fc0,this,_0x365711);};else{if(_0x42673b===_0x52826b(0x2a0))_0x24f0f5=function(_0xdb2e1a,_0x5ad9f6){const _0x589b14=_0x52826b,_0x4defb9=new _0x58a331(_0x589b14(0x2a0),{'code':_0xdb2e1a,'reason':_0x5ad9f6[_0x589b14(0x30a)](),'wasClean':this[_0x589b14(0x2d6)]&&this[_0x589b14(0x391)]});_0x4defb9[_0x1e6848]=this,_0x3234e8(_0x118fc0,this,_0x4defb9);};else{if(_0x42673b==='error')_0x24f0f5=function(_0x2be003){const _0x4390dc=_0x52826b,_0xbb5668=new _0x14dab8(_0x4390dc(0x297),{'error':_0x2be003,'message':_0x2be003[_0x4390dc(0x2a6)]});_0xbb5668[_0x1e6848]=this,_0x3234e8(_0x118fc0,this,_0xbb5668);};else{if(_0x42673b===_0x52826b(0x32f))_0x24f0f5=function(){const _0x8fcb71=_0x52826b,_0x408d7a=new _0x234e1d(_0x8fcb71(0x32f));_0x408d7a[_0x1e6848]=this,_0x3234e8(_0x118fc0,this,_0x408d7a);};else return;}}}_0x24f0f5[_0x5bd4dd]=!!_0xacf244[_0x5bd4dd],_0x24f0f5[_0x27ad9f]=_0x118fc0,_0xacf244[_0x52826b(0x216)]?this[_0x52826b(0x216)](_0x42673b,_0x24f0f5):this['on'](_0x42673b,_0x24f0f5);},'removeEventListener'(_0x27243e,_0x10f38b){const _0x31e10a=_0x3e2990;for(const _0x2ea31a of this[_0x31e10a(0x22c)](_0x27243e))if(_0x2ea31a[_0x27ad9f]===_0x10f38b&&!_0x2ea31a[_0x5bd4dd]){this['removeListener'](_0x27243e,_0x2ea31a);break;}}},'MessageEvent':_0x5747d8};function _0x3234e8(_0xe6e62e,_0x10893a,_0x594be3){const _0x41b8f4=_0x3e2990;typeof _0xe6e62e==_0x41b8f4(0x2c8)&&_0xe6e62e[_0x41b8f4(0x341)]?_0xe6e62e[_0x41b8f4(0x341)]['call'](_0xe6e62e,_0x594be3):_0xe6e62e[_0x41b8f4(0x31d)](_0x10893a,_0x594be3);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0xbb22b8}=ne();function _0x122b0c(_0x2c6beb,_0x10da5d,_0x5b11c6){const _0xf3a149=_0x2f80;_0x2c6beb[_0x10da5d]===void 0x0?_0x2c6beb[_0x10da5d]=[_0x5b11c6]:_0x2c6beb[_0x10da5d][_0xf3a149(0x266)](_0x5b11c6);}function _0x4d335b(_0x2c9bd9){const _0xf8d254=_0x2f80,_0x8f326a=Object[_0xf8d254(0x227)](null);let _0x41977f=Object[_0xf8d254(0x227)](null),_0x107c65=!0x1,_0x639266=!0x1,_0x57526d=!0x1,_0x457704,_0x7acc39,_0x3fdc65=-0x1,_0x1f1792=-0x1,_0x3bed46=-0x1,_0x246762=0x0;for(;_0x246762<_0x2c9bd9[_0xf8d254(0x339)];_0x246762++)if(_0x1f1792=_0x2c9bd9[_0xf8d254(0x228)](_0x246762),_0x457704===void 0x0){if(_0x3bed46===-0x1&&_0xbb22b8[_0x1f1792]===0x1)_0x3fdc65===-0x1&&(_0x3fdc65=_0x246762);else{if(_0x246762!==0x0&&(_0x1f1792===0x20||_0x1f1792===0x9))_0x3bed46===-0x1&&_0x3fdc65!==-0x1&&(_0x3bed46=_0x246762);else{if(_0x1f1792===0x3b||_0x1f1792===0x2c){if(_0x3fdc65===-0x1)throw new SyntaxError(_0xf8d254(0x27d)+_0x246762);_0x3bed46===-0x1&&(_0x3bed46=_0x246762);const _0x6586ab=_0x2c9bd9[_0xf8d254(0x28e)](_0x3fdc65,_0x3bed46);_0x1f1792===0x2c?(_0x122b0c(_0x8f326a,_0x6586ab,_0x41977f),_0x41977f=Object[_0xf8d254(0x227)](null)):_0x457704=_0x6586ab,_0x3fdc65=_0x3bed46=-0x1;}else throw new SyntaxError(_0xf8d254(0x27d)+_0x246762);}}}else{if(_0x7acc39===void 0x0){if(_0x3bed46===-0x1&&_0xbb22b8[_0x1f1792]===0x1)_0x3fdc65===-0x1&&(_0x3fdc65=_0x246762);else{if(_0x1f1792===0x20||_0x1f1792===0x9)_0x3bed46===-0x1&&_0x3fdc65!==-0x1&&(_0x3bed46=_0x246762);else{if(_0x1f1792===0x3b||_0x1f1792===0x2c){if(_0x3fdc65===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x246762);_0x3bed46===-0x1&&(_0x3bed46=_0x246762),_0x122b0c(_0x41977f,_0x2c9bd9['slice'](_0x3fdc65,_0x3bed46),!0x0),_0x1f1792===0x2c&&(_0x122b0c(_0x8f326a,_0x457704,_0x41977f),_0x41977f=Object['create'](null),_0x457704=void 0x0),_0x3fdc65=_0x3bed46=-0x1;}else{if(_0x1f1792===0x3d&&_0x3fdc65!==-0x1&&_0x3bed46===-0x1)_0x7acc39=_0x2c9bd9[_0xf8d254(0x28e)](_0x3fdc65,_0x246762),_0x3fdc65=_0x3bed46=-0x1;else throw new SyntaxError(_0xf8d254(0x27d)+_0x246762);}}}}else{if(_0x639266){if(_0xbb22b8[_0x1f1792]!==0x1)throw new SyntaxError(_0xf8d254(0x27d)+_0x246762);_0x3fdc65===-0x1?_0x3fdc65=_0x246762:_0x107c65||(_0x107c65=!0x0),_0x639266=!0x1;}else{if(_0x57526d){if(_0xbb22b8[_0x1f1792]===0x1)_0x3fdc65===-0x1&&(_0x3fdc65=_0x246762);else{if(_0x1f1792===0x22&&_0x3fdc65!==-0x1)_0x57526d=!0x1,_0x3bed46=_0x246762;else{if(_0x1f1792===0x5c)_0x639266=!0x0;else throw new SyntaxError(_0xf8d254(0x27d)+_0x246762);}}}else{if(_0x1f1792===0x22&&_0x2c9bd9[_0xf8d254(0x228)](_0x246762-0x1)===0x3d)_0x57526d=!0x0;else{if(_0x3bed46===-0x1&&_0xbb22b8[_0x1f1792]===0x1)_0x3fdc65===-0x1&&(_0x3fdc65=_0x246762);else{if(_0x3fdc65!==-0x1&&(_0x1f1792===0x20||_0x1f1792===0x9))_0x3bed46===-0x1&&(_0x3bed46=_0x246762);else{if(_0x1f1792===0x3b||_0x1f1792===0x2c){if(_0x3fdc65===-0x1)throw new SyntaxError(_0xf8d254(0x27d)+_0x246762);_0x3bed46===-0x1&&(_0x3bed46=_0x246762);let _0x5a191e=_0x2c9bd9['slice'](_0x3fdc65,_0x3bed46);_0x107c65&&(_0x5a191e=_0x5a191e[_0xf8d254(0x310)](/\\/g,''),_0x107c65=!0x1),_0x122b0c(_0x41977f,_0x7acc39,_0x5a191e),_0x1f1792===0x2c&&(_0x122b0c(_0x8f326a,_0x457704,_0x41977f),_0x41977f=Object[_0xf8d254(0x227)](null),_0x457704=void 0x0),_0x7acc39=void 0x0,_0x3fdc65=_0x3bed46=-0x1;}else throw new SyntaxError(_0xf8d254(0x27d)+_0x246762);}}}}}}}if(_0x3fdc65===-0x1||_0x57526d||_0x1f1792===0x20||_0x1f1792===0x9)throw new SyntaxError(_0xf8d254(0x28f));_0x3bed46===-0x1&&(_0x3bed46=_0x246762);const _0x5435dc=_0x2c9bd9[_0xf8d254(0x28e)](_0x3fdc65,_0x3bed46);return _0x457704===void 0x0?_0x122b0c(_0x8f326a,_0x5435dc,_0x41977f):(_0x7acc39===void 0x0?_0x122b0c(_0x41977f,_0x5435dc,!0x0):_0x107c65?_0x122b0c(_0x41977f,_0x7acc39,_0x5435dc[_0xf8d254(0x310)](/\\/g,'')):_0x122b0c(_0x41977f,_0x7acc39,_0x5435dc),_0x122b0c(_0x8f326a,_0x457704,_0x41977f)),_0x8f326a;}function _0xc7cca1(_0x14af56){const _0x26b47d=_0x2f80;return Object[_0x26b47d(0x2f5)](_0x14af56)[_0x26b47d(0x355)](_0x1c9c52=>{const _0x456e02=_0x26b47d;let _0x412b91=_0x14af56[_0x1c9c52];return Array[_0x456e02(0x243)](_0x412b91)||(_0x412b91=[_0x412b91]),_0x412b91[_0x456e02(0x355)](_0x2b3e75=>[_0x1c9c52][_0x456e02(0x2aa)](Object['keys'](_0x2b3e75)[_0x456e02(0x355)](_0x3df4dc=>{const _0x1cd694=_0x456e02;let _0x4cb234=_0x2b3e75[_0x3df4dc];return Array['isArray'](_0x4cb234)||(_0x4cb234=[_0x4cb234]),_0x4cb234[_0x1cd694(0x355)](_0x4cb830=>_0x4cb830===!0x0?_0x3df4dc:_0x3df4dc+'='+_0x4cb830)[_0x1cd694(0x29c)](';\x20');}))[_0x456e02(0x29c)](';\x20'))[_0x456e02(0x29c)](',\x20');})[_0x26b47d(0x29c)](',\x20');}return be={'format':_0xc7cca1,'parse':_0x4d335b},be;}var we,st;function Ie(){const _0x7c04ae=_0x374957;if(st)return we;st=0x1;const _0x4ba8e2=_0x74a247,_0x5b80d6=_0x586745,_0x3e72f7=_0x42d105,_0x39df7c=_0x2457fe,_0x29bf0b=_0x5a29df,{randomBytes:_0x579dfa,createHash:_0x2b2fb7}=_0x4d189e,{Duplex:_0x2c6656,Readable:_0x102efb}=_0x3d2ecc,{URL:_0x2c2f7c}=_0x5f2f41,_0x3bc325=he(),_0x2d283e=dt(),_0x1e953e=_t(),{isBlob:_0x463777}=ne(),{BINARY_TYPES:_0x18c814,EMPTY_BUFFER:_0x1a1317,GUID:_0x1c65f8,kForOnEventAttribute:_0x29a6a6,kListener:_0x3f9862,kStatusCode:_0x17317b,kWebSocket:_0x59de15,NOOP:_0x26aeef}=V(),{EventTarget:{addEventListener:_0x593a25,removeEventListener:_0xe81425}}=Kt(),{format:_0x31bfce,parse:_0x1fd58c}=pt(),{toBuffer:_0x33b4e6}=ce(),_0x2c21a5=0x1e*0x3e8,_0x62b67c=Symbol(_0x7c04ae(0x365)),_0x50b7f6=[0x8,0xd],_0x1b8231=[_0x7c04ae(0x24e),'OPEN',_0x7c04ae(0x267),_0x7c04ae(0x27f)],_0x4c279f=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x5647d0 extends _0x4ba8e2{constructor(_0x33da9d,_0xc9f830,_0x496fb5){const _0xdcbc28=_0x7c04ae;super(),this[_0xdcbc28(0x275)]=_0x18c814[0x0],this['_closeCode']=0x3ee,this[_0xdcbc28(0x2d6)]=!0x1,this[_0xdcbc28(0x391)]=!0x1,this['_closeMessage']=_0x1a1317,this['_closeTimer']=null,this['_errorEmitted']=!0x1,this[_0xdcbc28(0x239)]={},this[_0xdcbc28(0x347)]=!0x1,this[_0xdcbc28(0x279)]='',this[_0xdcbc28(0x259)]=_0x5647d0[_0xdcbc28(0x24e)],this[_0xdcbc28(0x2bf)]=null,this[_0xdcbc28(0x39d)]=null,this[_0xdcbc28(0x321)]=null,_0x33da9d!==null?(this[_0xdcbc28(0x1f5)]=0x0,this[_0xdcbc28(0x272)]=!0x1,this['_redirects']=0x0,_0xc9f830===void 0x0?_0xc9f830=[]:Array[_0xdcbc28(0x243)](_0xc9f830)||(typeof _0xc9f830==_0xdcbc28(0x2c8)&&_0xc9f830!==null?(_0x496fb5=_0xc9f830,_0xc9f830=[]):_0xc9f830=[_0xc9f830]),_0x5ebc4c(this,_0x33da9d,_0xc9f830,_0x496fb5)):(this['_autoPong']=_0x496fb5['autoPong'],this[_0xdcbc28(0x272)]=!0x0);}get[_0x7c04ae(0x202)](){const _0x394ea7=_0x7c04ae;return this[_0x394ea7(0x275)];}set[_0x7c04ae(0x202)](_0x4113de){const _0x4ac6af=_0x7c04ae;_0x18c814[_0x4ac6af(0x253)](_0x4113de)&&(this[_0x4ac6af(0x275)]=_0x4113de,this['_receiver']&&(this['_receiver'][_0x4ac6af(0x275)]=_0x4113de));}get[_0x7c04ae(0x2f4)](){const _0x22a089=_0x7c04ae;return this[_0x22a089(0x321)]?this[_0x22a089(0x321)]['_writableState'][_0x22a089(0x339)]+this[_0x22a089(0x39d)][_0x22a089(0x248)]:this[_0x22a089(0x1f5)];}get['extensions'](){const _0x115013=_0x7c04ae;return Object['keys'](this[_0x115013(0x239)])['join']();}get['isPaused'](){return this['_paused'];}get[_0x7c04ae(0x2c1)](){return null;}get[_0x7c04ae(0x345)](){return null;}get[_0x7c04ae(0x21f)](){return null;}get[_0x7c04ae(0x281)](){return null;}get[_0x7c04ae(0x261)](){const _0x1891c0=_0x7c04ae;return this[_0x1891c0(0x279)];}get[_0x7c04ae(0x2b5)](){return this['_readyState'];}get[_0x7c04ae(0x358)](){const _0xbbcc65=_0x7c04ae;return this[_0xbbcc65(0x314)];}[_0x7c04ae(0x30b)](_0x3b80c8,_0x25bf69,_0x4c9255){const _0x465af4=_0x7c04ae,_0x5eb3d6=new _0x2d283e({'allowSynchronousEvents':_0x4c9255['allowSynchronousEvents'],'binaryType':this[_0x465af4(0x202)],'extensions':this[_0x465af4(0x239)],'isServer':this['_isServer'],'maxPayload':_0x4c9255['maxPayload'],'skipUTF8Validation':_0x4c9255['skipUTF8Validation']}),_0x3307cb=new _0x1e953e(_0x3b80c8,this[_0x465af4(0x239)],_0x4c9255[_0x465af4(0x2c0)]);this[_0x465af4(0x2bf)]=_0x5eb3d6,this[_0x465af4(0x39d)]=_0x3307cb,this[_0x465af4(0x321)]=_0x3b80c8,_0x5eb3d6[_0x59de15]=this,_0x3307cb[_0x59de15]=this,_0x3b80c8[_0x59de15]=this,_0x5eb3d6['on'](_0x465af4(0x2f3),_0x31c9d3),_0x5eb3d6['on'](_0x465af4(0x35e),_0x3710b2),_0x5eb3d6['on']('error',_0x580f1a),_0x5eb3d6['on'](_0x465af4(0x2a6),_0x1fa059),_0x5eb3d6['on'](_0x465af4(0x38a),_0x3abda4),_0x5eb3d6['on']('pong',_0x3d1315),_0x3307cb[_0x465af4(0x345)]=_0x1db18a,_0x3b80c8[_0x465af4(0x262)]&&_0x3b80c8['setTimeout'](0x0),_0x3b80c8['setNoDelay']&&_0x3b80c8[_0x465af4(0x2f1)](),_0x25bf69[_0x465af4(0x339)]>0x0&&_0x3b80c8[_0x465af4(0x2b0)](_0x25bf69),_0x3b80c8['on']('close',_0x32ce2a),_0x3b80c8['on']('data',_0x395490),_0x3b80c8['on']('end',_0x1a7d8e),_0x3b80c8['on'](_0x465af4(0x297),_0x2cc2c6),this[_0x465af4(0x259)]=_0x5647d0[_0x465af4(0x329)],this[_0x465af4(0x35f)]('open');}[_0x7c04ae(0x29a)](){const _0x2f8ece=_0x7c04ae;if(!this[_0x2f8ece(0x321)]){this[_0x2f8ece(0x259)]=_0x5647d0[_0x2f8ece(0x27f)],this['emit'](_0x2f8ece(0x2a0),this[_0x2f8ece(0x369)],this[_0x2f8ece(0x327)]);return;}this[_0x2f8ece(0x239)][_0x3bc325[_0x2f8ece(0x34e)]]&&this[_0x2f8ece(0x239)][_0x3bc325[_0x2f8ece(0x34e)]][_0x2f8ece(0x2f0)](),this[_0x2f8ece(0x2bf)][_0x2f8ece(0x33c)](),this[_0x2f8ece(0x259)]=_0x5647d0[_0x2f8ece(0x27f)],this[_0x2f8ece(0x35f)](_0x2f8ece(0x2a0),this[_0x2f8ece(0x369)],this[_0x2f8ece(0x327)]);}[_0x7c04ae(0x2a0)](_0x3dccf6,_0x51847d){const _0x229f7a=_0x7c04ae;if(this[_0x229f7a(0x2b5)]!==_0x5647d0[_0x229f7a(0x27f)]){if(this[_0x229f7a(0x2b5)]===_0x5647d0['CONNECTING']){_0x40028e(this,this[_0x229f7a(0x34b)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this['readyState']===_0x5647d0['CLOSING']){this[_0x229f7a(0x391)]&&(this[_0x229f7a(0x2d6)]||this[_0x229f7a(0x2bf)][_0x229f7a(0x204)][_0x229f7a(0x2ab)])&&this[_0x229f7a(0x321)][_0x229f7a(0x330)]();return;}this[_0x229f7a(0x259)]=_0x5647d0[_0x229f7a(0x267)],this[_0x229f7a(0x39d)][_0x229f7a(0x2a0)](_0x3dccf6,_0x51847d,!this['_isServer'],_0x54bd33=>{const _0x3b33b1=_0x229f7a;_0x54bd33||(this[_0x3b33b1(0x391)]=!0x0,(this['_closeFrameReceived']||this[_0x3b33b1(0x2bf)][_0x3b33b1(0x204)]['errorEmitted'])&&this[_0x3b33b1(0x321)]['end']());}),_0x58086a(this);}}['pause'](){const _0x5e9416=_0x7c04ae;this[_0x5e9416(0x2b5)]===_0x5647d0[_0x5e9416(0x24e)]||this[_0x5e9416(0x2b5)]===_0x5647d0[_0x5e9416(0x27f)]||(this[_0x5e9416(0x347)]=!0x0,this[_0x5e9416(0x321)][_0x5e9416(0x389)]());}[_0x7c04ae(0x38a)](_0x295323,_0x49c27c,_0x4b8288){const _0x38983e=_0x7c04ae;if(this[_0x38983e(0x2b5)]===_0x5647d0[_0x38983e(0x24e)])throw new Error(_0x38983e(0x37b));if(typeof _0x295323=='function'?(_0x4b8288=_0x295323,_0x295323=_0x49c27c=void 0x0):typeof _0x49c27c=='function'&&(_0x4b8288=_0x49c27c,_0x49c27c=void 0x0),typeof _0x295323==_0x38983e(0x364)&&(_0x295323=_0x295323[_0x38983e(0x30a)]()),this[_0x38983e(0x2b5)]!==_0x5647d0[_0x38983e(0x329)]){_0x64df44(this,_0x295323,_0x4b8288);return;}_0x49c27c===void 0x0&&(_0x49c27c=!this[_0x38983e(0x272)]),this[_0x38983e(0x39d)]['ping'](_0x295323||_0x1a1317,_0x49c27c,_0x4b8288);}[_0x7c04ae(0x36d)](_0x570d33,_0x434396,_0x4b30ae){const _0x2ceab8=_0x7c04ae;if(this[_0x2ceab8(0x2b5)]===_0x5647d0['CONNECTING'])throw new Error(_0x2ceab8(0x37b));if(typeof _0x570d33==_0x2ceab8(0x2cf)?(_0x4b30ae=_0x570d33,_0x570d33=_0x434396=void 0x0):typeof _0x434396==_0x2ceab8(0x2cf)&&(_0x4b30ae=_0x434396,_0x434396=void 0x0),typeof _0x570d33==_0x2ceab8(0x364)&&(_0x570d33=_0x570d33[_0x2ceab8(0x30a)]()),this[_0x2ceab8(0x2b5)]!==_0x5647d0[_0x2ceab8(0x329)]){_0x64df44(this,_0x570d33,_0x4b30ae);return;}_0x434396===void 0x0&&(_0x434396=!this[_0x2ceab8(0x272)]),this[_0x2ceab8(0x39d)][_0x2ceab8(0x36d)](_0x570d33||_0x1a1317,_0x434396,_0x4b30ae);}[_0x7c04ae(0x338)](){const _0x139412=_0x7c04ae;this[_0x139412(0x2b5)]===_0x5647d0[_0x139412(0x24e)]||this['readyState']===_0x5647d0[_0x139412(0x27f)]||(this[_0x139412(0x347)]=!0x1,this[_0x139412(0x2bf)]['_writableState']['needDrain']||this[_0x139412(0x321)][_0x139412(0x338)]());}[_0x7c04ae(0x306)](_0x1aefdd,_0x406777,_0x17657c){const _0xde4e90=_0x7c04ae;if(this[_0xde4e90(0x2b5)]===_0x5647d0[_0xde4e90(0x24e)])throw new Error(_0xde4e90(0x37b));if(typeof _0x406777==_0xde4e90(0x2cf)&&(_0x17657c=_0x406777,_0x406777={}),typeof _0x1aefdd==_0xde4e90(0x364)&&(_0x1aefdd=_0x1aefdd[_0xde4e90(0x30a)]()),this[_0xde4e90(0x2b5)]!==_0x5647d0[_0xde4e90(0x329)]){_0x64df44(this,_0x1aefdd,_0x17657c);return;}const _0xc4f01e={'binary':typeof _0x1aefdd!=_0xde4e90(0x36e),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x406777};this['_extensions'][_0x3bc325['extensionName']]||(_0xc4f01e[_0xde4e90(0x25d)]=!0x1),this[_0xde4e90(0x39d)][_0xde4e90(0x306)](_0x1aefdd||_0x1a1317,_0xc4f01e,_0x17657c);}[_0x7c04ae(0x3a3)](){const _0x5e9623=_0x7c04ae;if(this[_0x5e9623(0x2b5)]!==_0x5647d0['CLOSED']){if(this['readyState']===_0x5647d0[_0x5e9623(0x24e)]){_0x40028e(this,this['_req'],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x5e9623(0x321)]&&(this['_readyState']=_0x5647d0[_0x5e9623(0x267)],this[_0x5e9623(0x321)]['destroy']());}}}Object[_0x7c04ae(0x260)](_0x5647d0,_0x7c04ae(0x24e),{'enumerable':!0x0,'value':_0x1b8231[_0x7c04ae(0x205)]('CONNECTING')}),Object[_0x7c04ae(0x260)](_0x5647d0[_0x7c04ae(0x312)],_0x7c04ae(0x24e),{'enumerable':!0x0,'value':_0x1b8231[_0x7c04ae(0x205)](_0x7c04ae(0x24e))}),Object[_0x7c04ae(0x260)](_0x5647d0,_0x7c04ae(0x329),{'enumerable':!0x0,'value':_0x1b8231[_0x7c04ae(0x205)](_0x7c04ae(0x329))}),Object[_0x7c04ae(0x260)](_0x5647d0[_0x7c04ae(0x312)],_0x7c04ae(0x329),{'enumerable':!0x0,'value':_0x1b8231['indexOf'](_0x7c04ae(0x329))}),Object[_0x7c04ae(0x260)](_0x5647d0,'CLOSING',{'enumerable':!0x0,'value':_0x1b8231['indexOf'](_0x7c04ae(0x267))}),Object[_0x7c04ae(0x260)](_0x5647d0[_0x7c04ae(0x312)],_0x7c04ae(0x267),{'enumerable':!0x0,'value':_0x1b8231['indexOf'](_0x7c04ae(0x267))}),Object[_0x7c04ae(0x260)](_0x5647d0,_0x7c04ae(0x27f),{'enumerable':!0x0,'value':_0x1b8231['indexOf'](_0x7c04ae(0x27f))}),Object[_0x7c04ae(0x260)](_0x5647d0['prototype'],'CLOSED',{'enumerable':!0x0,'value':_0x1b8231[_0x7c04ae(0x205)](_0x7c04ae(0x27f))}),[_0x7c04ae(0x202),_0x7c04ae(0x2f4),_0x7c04ae(0x23c),'isPaused','protocol',_0x7c04ae(0x2b5),_0x7c04ae(0x358)][_0x7c04ae(0x36c)](_0x23fdd8=>{const _0x1db649=_0x7c04ae;Object[_0x1db649(0x260)](_0x5647d0[_0x1db649(0x312)],_0x23fdd8,{'enumerable':!0x0});}),['open',_0x7c04ae(0x297),'close',_0x7c04ae(0x2a6)][_0x7c04ae(0x36c)](_0x130482=>{const _0x56063c=_0x7c04ae;Object[_0x56063c(0x260)](_0x5647d0['prototype'],'on'+_0x130482,{'enumerable':!0x0,'get'(){const _0x44771d=_0x56063c;for(const _0x4aba21 of this[_0x44771d(0x22c)](_0x130482))if(_0x4aba21[_0x29a6a6])return _0x4aba21[_0x3f9862];return null;},'set'(_0x499848){const _0x3c92c0=_0x56063c;for(const _0x16f6f9 of this[_0x3c92c0(0x22c)](_0x130482))if(_0x16f6f9[_0x29a6a6]){this[_0x3c92c0(0x344)](_0x130482,_0x16f6f9);break;}typeof _0x499848==_0x3c92c0(0x2cf)&&this[_0x3c92c0(0x278)](_0x130482,_0x499848,{[_0x29a6a6]:!0x0});}});}),_0x5647d0[_0x7c04ae(0x312)][_0x7c04ae(0x278)]=_0x593a25,_0x5647d0[_0x7c04ae(0x312)][_0x7c04ae(0x371)]=_0xe81425,we=_0x5647d0;function _0x5ebc4c(_0x2435cf,_0x493018,_0x28dd80,_0x177c04){const _0x4a4cea=_0x7c04ae,_0x15ff09={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x50b7f6[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x177c04,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x2435cf['_autoPong']=_0x15ff09[_0x4a4cea(0x23d)],!_0x50b7f6[_0x4a4cea(0x253)](_0x15ff09[_0x4a4cea(0x34a)]))throw new RangeError(_0x4a4cea(0x210)+_0x15ff09[_0x4a4cea(0x34a)]+'\x20(supported\x20versions:\x20'+_0x50b7f6[_0x4a4cea(0x29c)](',\x20')+')');let _0x40ea0e;if(_0x493018 instanceof _0x2c2f7c)_0x40ea0e=_0x493018;else try{_0x40ea0e=new _0x2c2f7c(_0x493018);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x493018);}_0x40ea0e[_0x4a4cea(0x261)]===_0x4a4cea(0x282)?_0x40ea0e[_0x4a4cea(0x261)]='ws:':_0x40ea0e[_0x4a4cea(0x261)]===_0x4a4cea(0x332)&&(_0x40ea0e[_0x4a4cea(0x261)]=_0x4a4cea(0x2e5)),_0x2435cf[_0x4a4cea(0x314)]=_0x40ea0e[_0x4a4cea(0x246)];const _0xe8cfb8=_0x40ea0e[_0x4a4cea(0x261)]===_0x4a4cea(0x2e5),_0xc9debc=_0x40ea0e['protocol']===_0x4a4cea(0x269);let _0x2cf21a;if(_0x40ea0e[_0x4a4cea(0x261)]!=='ws:'&&!_0xe8cfb8&&!_0xc9debc?_0x2cf21a=_0x4a4cea(0x34f):_0xc9debc&&!_0x40ea0e[_0x4a4cea(0x26c)]?_0x2cf21a='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x40ea0e['hash']&&(_0x2cf21a=_0x4a4cea(0x25c)),_0x2cf21a){const _0x56db8e=new SyntaxError(_0x2cf21a);if(_0x2435cf[_0x4a4cea(0x2fe)]===0x0)throw _0x56db8e;_0x4b42a4(_0x2435cf,_0x56db8e);return;}const _0x1c932a=_0xe8cfb8?0x1bb:0x50,_0x42d9bb=_0x579dfa(0x10)[_0x4a4cea(0x30a)](_0x4a4cea(0x317)),_0x4a1bd5=_0xe8cfb8?_0x5b80d6[_0x4a4cea(0x264)]:_0x3e72f7[_0x4a4cea(0x264)],_0x1b5552=new Set();let _0x52be86;if(_0x15ff09[_0x4a4cea(0x378)]=_0x15ff09[_0x4a4cea(0x378)]||(_0xe8cfb8?_0x3577b2:_0x47d592),_0x15ff09[_0x4a4cea(0x350)]=_0x15ff09[_0x4a4cea(0x350)]||_0x1c932a,_0x15ff09[_0x4a4cea(0x38b)]=_0x40ea0e['port']||_0x1c932a,_0x15ff09[_0x4a4cea(0x218)]=_0x40ea0e['hostname'][_0x4a4cea(0x376)]('[')?_0x40ea0e[_0x4a4cea(0x356)]['slice'](0x1,-0x1):_0x40ea0e['hostname'],_0x15ff09[_0x4a4cea(0x27b)]={..._0x15ff09['headers'],'Sec-WebSocket-Version':_0x15ff09['protocolVersion'],'Sec-WebSocket-Key':_0x42d9bb,'Connection':_0x4a4cea(0x2d3),'Upgrade':_0x4a4cea(0x383)},_0x15ff09[_0x4a4cea(0x2f6)]=_0x40ea0e['pathname']+_0x40ea0e[_0x4a4cea(0x23e)],_0x15ff09['timeout']=_0x15ff09[_0x4a4cea(0x385)],_0x15ff09['perMessageDeflate']&&(_0x52be86=new _0x3bc325(_0x15ff09[_0x4a4cea(0x34d)]!==!0x0?_0x15ff09[_0x4a4cea(0x34d)]:{},!0x1,_0x15ff09[_0x4a4cea(0x2c7)]),_0x15ff09[_0x4a4cea(0x27b)][_0x4a4cea(0x2af)]=_0x31bfce({[_0x3bc325[_0x4a4cea(0x34e)]]:_0x52be86['offer']()})),_0x28dd80[_0x4a4cea(0x339)]){for(const _0x924d1f of _0x28dd80){if(typeof _0x924d1f!=_0x4a4cea(0x36e)||!_0x4c279f[_0x4a4cea(0x2fa)](_0x924d1f)||_0x1b5552[_0x4a4cea(0x223)](_0x924d1f))throw new SyntaxError(_0x4a4cea(0x20e));_0x1b5552['add'](_0x924d1f);}_0x15ff09[_0x4a4cea(0x27b)][_0x4a4cea(0x38c)]=_0x28dd80['join'](',');}if(_0x15ff09[_0x4a4cea(0x258)]&&(_0x15ff09[_0x4a4cea(0x34a)]<0xd?_0x15ff09['headers'][_0x4a4cea(0x39f)]=_0x15ff09[_0x4a4cea(0x258)]:_0x15ff09[_0x4a4cea(0x27b)][_0x4a4cea(0x280)]=_0x15ff09['origin']),(_0x40ea0e[_0x4a4cea(0x319)]||_0x40ea0e[_0x4a4cea(0x224)])&&(_0x15ff09['auth']=_0x40ea0e['username']+':'+_0x40ea0e['password']),_0xc9debc){const _0x1e174b=_0x15ff09[_0x4a4cea(0x2f6)]['split'](':');_0x15ff09['socketPath']=_0x1e174b[0x0],_0x15ff09[_0x4a4cea(0x2f6)]=_0x1e174b[0x1];}let _0x17a633;if(_0x15ff09[_0x4a4cea(0x26b)]){if(_0x2435cf['_redirects']===0x0){_0x2435cf[_0x4a4cea(0x21e)]=_0xc9debc,_0x2435cf[_0x4a4cea(0x20b)]=_0xe8cfb8,_0x2435cf['_originalHostOrSocketPath']=_0xc9debc?_0x15ff09[_0x4a4cea(0x315)]:_0x40ea0e[_0x4a4cea(0x218)];const _0x773266=_0x177c04&&_0x177c04['headers'];if(_0x177c04={..._0x177c04,'headers':{}},_0x773266){for(const [_0x3ff7a2,_0x3609d3]of Object[_0x4a4cea(0x24f)](_0x773266))_0x177c04[_0x4a4cea(0x27b)][_0x3ff7a2[_0x4a4cea(0x2fd)]()]=_0x3609d3;}}else{if(_0x2435cf[_0x4a4cea(0x26a)]('redirect')===0x0){const _0x3af1d5=_0xc9debc?_0x2435cf[_0x4a4cea(0x21e)]?_0x15ff09[_0x4a4cea(0x315)]===_0x2435cf[_0x4a4cea(0x217)]:!0x1:_0x2435cf['_originalIpc']?!0x1:_0x40ea0e[_0x4a4cea(0x218)]===_0x2435cf[_0x4a4cea(0x217)];(!_0x3af1d5||_0x2435cf[_0x4a4cea(0x20b)]&&!_0xe8cfb8)&&(delete _0x15ff09[_0x4a4cea(0x27b)]['authorization'],delete _0x15ff09[_0x4a4cea(0x27b)][_0x4a4cea(0x238)],_0x3af1d5||delete _0x15ff09[_0x4a4cea(0x27b)]['host'],_0x15ff09[_0x4a4cea(0x33b)]=void 0x0);}}_0x15ff09[_0x4a4cea(0x33b)]&&!_0x177c04[_0x4a4cea(0x27b)]['authorization']&&(_0x177c04[_0x4a4cea(0x27b)]['authorization']=_0x4a4cea(0x2f8)+Buffer[_0x4a4cea(0x299)](_0x15ff09[_0x4a4cea(0x33b)])['toString'](_0x4a4cea(0x317))),_0x17a633=_0x2435cf[_0x4a4cea(0x34b)]=_0x4a1bd5(_0x15ff09),_0x2435cf[_0x4a4cea(0x2fe)]&&_0x2435cf['emit'](_0x4a4cea(0x2c9),_0x2435cf[_0x4a4cea(0x358)],_0x17a633);}else _0x17a633=_0x2435cf['_req']=_0x4a1bd5(_0x15ff09);_0x15ff09['timeout']&&_0x17a633['on'](_0x4a4cea(0x1fb),()=>{const _0x316361=_0x4a4cea;_0x40028e(_0x2435cf,_0x17a633,_0x316361(0x20d));}),_0x17a633['on']('error',_0x5eccc3=>{const _0x2d0500=_0x4a4cea;_0x17a633===null||_0x17a633[_0x62b67c]||(_0x17a633=_0x2435cf[_0x2d0500(0x34b)]=null,_0x4b42a4(_0x2435cf,_0x5eccc3));}),_0x17a633['on'](_0x4a4cea(0x2f2),_0x4bb22b=>{const _0x254bfb=_0x4a4cea,_0x39ebf2=_0x4bb22b[_0x254bfb(0x27b)][_0x254bfb(0x235)],_0x557ff4=_0x4bb22b['statusCode'];if(_0x39ebf2&&_0x15ff09[_0x254bfb(0x26b)]&&_0x557ff4>=0x12c&&_0x557ff4<0x190){if(++_0x2435cf[_0x254bfb(0x2fe)]>_0x15ff09[_0x254bfb(0x2f7)]){_0x40028e(_0x2435cf,_0x17a633,'Maximum\x20redirects\x20exceeded');return;}_0x17a633['abort']();let _0x1e4d9f;try{_0x1e4d9f=new _0x2c2f7c(_0x39ebf2,_0x493018);}catch{const _0x20c8c4=new SyntaxError(_0x254bfb(0x32a)+_0x39ebf2);_0x4b42a4(_0x2435cf,_0x20c8c4);return;}_0x5ebc4c(_0x2435cf,_0x1e4d9f,_0x28dd80,_0x177c04);}else _0x2435cf[_0x254bfb(0x35f)](_0x254bfb(0x353),_0x17a633,_0x4bb22b)||_0x40028e(_0x2435cf,_0x17a633,_0x254bfb(0x2a7)+_0x4bb22b[_0x254bfb(0x2ee)]);}),_0x17a633['on'](_0x4a4cea(0x2bd),(_0x3bc7d5,_0x5538b2,_0x521675)=>{const _0x3f5862=_0x4a4cea;if(_0x2435cf[_0x3f5862(0x35f)](_0x3f5862(0x2bd),_0x3bc7d5),_0x2435cf[_0x3f5862(0x2b5)]!==_0x5647d0[_0x3f5862(0x24e)])return;_0x17a633=_0x2435cf[_0x3f5862(0x34b)]=null;const _0x552ad6=_0x3bc7d5['headers'][_0x3f5862(0x2bd)];if(_0x552ad6===void 0x0||_0x552ad6[_0x3f5862(0x2fd)]()!==_0x3f5862(0x383)){_0x40028e(_0x2435cf,_0x5538b2,_0x3f5862(0x36f));return;}const _0x677634=_0x2b2fb7(_0x3f5862(0x361))[_0x3f5862(0x31c)](_0x42d9bb+_0x1c65f8)['digest']('base64');if(_0x3bc7d5[_0x3f5862(0x27b)][_0x3f5862(0x28c)]!==_0x677634){_0x40028e(_0x2435cf,_0x5538b2,_0x3f5862(0x379));return;}const _0x5b1176=_0x3bc7d5[_0x3f5862(0x27b)][_0x3f5862(0x30c)];let _0x2950e9;if(_0x5b1176!==void 0x0?_0x1b5552['size']?_0x1b5552[_0x3f5862(0x223)](_0x5b1176)||(_0x2950e9=_0x3f5862(0x31b)):_0x2950e9=_0x3f5862(0x303):_0x1b5552[_0x3f5862(0x2db)]&&(_0x2950e9=_0x3f5862(0x23f)),_0x2950e9){_0x40028e(_0x2435cf,_0x5538b2,_0x2950e9);return;}_0x5b1176&&(_0x2435cf['_protocol']=_0x5b1176);const _0x4bfcee=_0x3bc7d5['headers'][_0x3f5862(0x360)];if(_0x4bfcee!==void 0x0){if(!_0x52be86){_0x40028e(_0x2435cf,_0x5538b2,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x2c6af3;try{_0x2c6af3=_0x1fd58c(_0x4bfcee);}catch{_0x40028e(_0x2435cf,_0x5538b2,_0x3f5862(0x2cb));return;}const _0x3929c2=Object['keys'](_0x2c6af3);if(_0x3929c2['length']!==0x1||_0x3929c2[0x0]!==_0x3bc325[_0x3f5862(0x34e)]){_0x40028e(_0x2435cf,_0x5538b2,_0x3f5862(0x390));return;}try{_0x52be86[_0x3f5862(0x37d)](_0x2c6af3[_0x3bc325[_0x3f5862(0x34e)]]);}catch{_0x40028e(_0x2435cf,_0x5538b2,_0x3f5862(0x2cb));return;}_0x2435cf['_extensions'][_0x3bc325['extensionName']]=_0x52be86;}_0x2435cf['setSocket'](_0x5538b2,_0x521675,{'allowSynchronousEvents':_0x15ff09[_0x3f5862(0x305)],'generateMask':_0x15ff09[_0x3f5862(0x2c0)],'maxPayload':_0x15ff09[_0x3f5862(0x2c7)],'skipUTF8Validation':_0x15ff09['skipUTF8Validation']});}),_0x15ff09[_0x4a4cea(0x2d4)]?_0x15ff09['finishRequest'](_0x17a633,_0x2435cf):_0x17a633[_0x4a4cea(0x330)]();}function _0x4b42a4(_0x20c627,_0x2a0072){const _0xf35923=_0x7c04ae;_0x20c627[_0xf35923(0x259)]=_0x5647d0['CLOSING'],_0x20c627[_0xf35923(0x37a)]=!0x0,_0x20c627['emit'](_0xf35923(0x297),_0x2a0072),_0x20c627[_0xf35923(0x29a)]();}function _0x47d592(_0x26d8aa){const _0x1a7260=_0x7c04ae;return _0x26d8aa[_0x1a7260(0x2f6)]=_0x26d8aa[_0x1a7260(0x315)],_0x39df7c['connect'](_0x26d8aa);}function _0x3577b2(_0x4ba0a2){const _0x1783cd=_0x7c04ae;return _0x4ba0a2['path']=void 0x0,!_0x4ba0a2[_0x1783cd(0x1ff)]&&_0x4ba0a2[_0x1783cd(0x1ff)]!==''&&(_0x4ba0a2[_0x1783cd(0x1ff)]=_0x39df7c['isIP'](_0x4ba0a2['host'])?'':_0x4ba0a2['host']),_0x29bf0b[_0x1783cd(0x2b9)](_0x4ba0a2);}function _0x40028e(_0x99010c,_0x1f3d01,_0x22a9be){const _0x301e24=_0x7c04ae;_0x99010c[_0x301e24(0x259)]=_0x5647d0[_0x301e24(0x267)];const _0x166f6f=new Error(_0x22a9be);Error['captureStackTrace'](_0x166f6f,_0x40028e),_0x1f3d01[_0x301e24(0x28b)]?(_0x1f3d01[_0x62b67c]=!0x0,_0x1f3d01[_0x301e24(0x265)](),_0x1f3d01[_0x301e24(0x36b)]&&!_0x1f3d01[_0x301e24(0x36b)]['destroyed']&&_0x1f3d01[_0x301e24(0x36b)]['destroy'](),process['nextTick'](_0x4b42a4,_0x99010c,_0x166f6f)):(_0x1f3d01[_0x301e24(0x2ca)](_0x166f6f),_0x1f3d01[_0x301e24(0x216)](_0x301e24(0x297),_0x99010c['emit']['bind'](_0x99010c,_0x301e24(0x297))),_0x1f3d01[_0x301e24(0x216)]('close',_0x99010c[_0x301e24(0x29a)][_0x301e24(0x26e)](_0x99010c)));}function _0x64df44(_0x11d8bf,_0x405171,_0x4e0bc1){const _0x36a176=_0x7c04ae;if(_0x405171){const _0x364ba6=_0x463777(_0x405171)?_0x405171[_0x36a176(0x2db)]:_0x33b4e6(_0x405171)[_0x36a176(0x339)];_0x11d8bf['_socket']?_0x11d8bf[_0x36a176(0x39d)][_0x36a176(0x248)]+=_0x364ba6:_0x11d8bf[_0x36a176(0x1f5)]+=_0x364ba6;}if(_0x4e0bc1){const _0x3387d1=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x11d8bf[_0x36a176(0x2b5)]+'\x20('+_0x1b8231[_0x11d8bf[_0x36a176(0x2b5)]]+')');process[_0x36a176(0x340)](_0x4e0bc1,_0x3387d1);}}function _0x31c9d3(_0x2d836e,_0x5716f3){const _0x36af3e=_0x7c04ae,_0x30d6a5=this[_0x59de15];_0x30d6a5[_0x36af3e(0x2d6)]=!0x0,_0x30d6a5[_0x36af3e(0x327)]=_0x5716f3,_0x30d6a5[_0x36af3e(0x369)]=_0x2d836e,_0x30d6a5[_0x36af3e(0x321)][_0x59de15]!==void 0x0&&(_0x30d6a5[_0x36af3e(0x321)][_0x36af3e(0x344)](_0x36af3e(0x287),_0x395490),process[_0x36af3e(0x340)](_0x4c4f92,_0x30d6a5[_0x36af3e(0x321)]),_0x2d836e===0x3ed?_0x30d6a5[_0x36af3e(0x2a0)]():_0x30d6a5[_0x36af3e(0x2a0)](_0x2d836e,_0x5716f3));}function _0x3710b2(){const _0x42b3f9=_0x7c04ae,_0x288bc4=this[_0x59de15];_0x288bc4['isPaused']||_0x288bc4[_0x42b3f9(0x321)][_0x42b3f9(0x338)]();}function _0x580f1a(_0x57097e){const _0x3a2309=_0x7c04ae,_0x43e040=this[_0x59de15];_0x43e040[_0x3a2309(0x321)][_0x59de15]!==void 0x0&&(_0x43e040[_0x3a2309(0x321)][_0x3a2309(0x344)](_0x3a2309(0x287),_0x395490),process[_0x3a2309(0x340)](_0x4c4f92,_0x43e040[_0x3a2309(0x321)]),_0x43e040[_0x3a2309(0x2a0)](_0x57097e[_0x17317b])),_0x43e040[_0x3a2309(0x37a)]||(_0x43e040[_0x3a2309(0x37a)]=!0x0,_0x43e040[_0x3a2309(0x35f)](_0x3a2309(0x297),_0x57097e));}function _0x4af42d(){this[_0x59de15]['emitClose']();}function _0x1fa059(_0x3aeaf0,_0x13b7f6){const _0x183713=_0x7c04ae;this[_0x59de15][_0x183713(0x35f)](_0x183713(0x2a6),_0x3aeaf0,_0x13b7f6);}function _0x3abda4(_0xbd3c77){const _0x1e7ca4=_0x7c04ae,_0x415437=this[_0x59de15];_0x415437['_autoPong']&&_0x415437[_0x1e7ca4(0x36d)](_0xbd3c77,!this[_0x1e7ca4(0x272)],_0x26aeef),_0x415437[_0x1e7ca4(0x35f)](_0x1e7ca4(0x38a),_0xbd3c77);}function _0x3d1315(_0x4b54ea){const _0x3fe226=_0x7c04ae;this[_0x59de15][_0x3fe226(0x35f)](_0x3fe226(0x36d),_0x4b54ea);}function _0x4c4f92(_0x21ba24){_0x21ba24['resume']();}function _0x1db18a(_0x4c27d6){const _0xadeb20=_0x7c04ae,_0x1fb99c=this[_0x59de15];_0x1fb99c['readyState']!==_0x5647d0[_0xadeb20(0x27f)]&&(_0x1fb99c[_0xadeb20(0x2b5)]===_0x5647d0[_0xadeb20(0x329)]&&(_0x1fb99c[_0xadeb20(0x259)]=_0x5647d0['CLOSING'],_0x58086a(_0x1fb99c)),this['_socket'][_0xadeb20(0x330)](),_0x1fb99c[_0xadeb20(0x37a)]||(_0x1fb99c[_0xadeb20(0x37a)]=!0x0,_0x1fb99c[_0xadeb20(0x35f)](_0xadeb20(0x297),_0x4c27d6)));}function _0x58086a(_0x30ebc1){const _0x4e6db5=_0x7c04ae;_0x30ebc1['_closeTimer']=setTimeout(_0x30ebc1[_0x4e6db5(0x321)]['destroy']['bind'](_0x30ebc1['_socket']),_0x2c21a5);}function _0x32ce2a(){const _0x80aa73=_0x7c04ae,_0x30fb46=this[_0x59de15];this[_0x80aa73(0x344)]('close',_0x32ce2a),this[_0x80aa73(0x344)](_0x80aa73(0x287),_0x395490),this['removeListener'](_0x80aa73(0x330),_0x1a7d8e),_0x30fb46['_readyState']=_0x5647d0[_0x80aa73(0x267)];let _0x501ae8;!this['_readableState']['endEmitted']&&!_0x30fb46['_closeFrameReceived']&&!_0x30fb46[_0x80aa73(0x2bf)][_0x80aa73(0x204)][_0x80aa73(0x2ab)]&&(_0x501ae8=_0x30fb46[_0x80aa73(0x321)][_0x80aa73(0x31a)]())!==null&&_0x30fb46[_0x80aa73(0x2bf)][_0x80aa73(0x2d9)](_0x501ae8),_0x30fb46['_receiver'][_0x80aa73(0x330)](),this[_0x59de15]=void 0x0,clearTimeout(_0x30fb46[_0x80aa73(0x386)]),_0x30fb46['_receiver'][_0x80aa73(0x204)][_0x80aa73(0x396)]||_0x30fb46[_0x80aa73(0x2bf)]['_writableState'][_0x80aa73(0x2ab)]?_0x30fb46[_0x80aa73(0x29a)]():(_0x30fb46[_0x80aa73(0x2bf)]['on'](_0x80aa73(0x297),_0x4af42d),_0x30fb46[_0x80aa73(0x2bf)]['on'](_0x80aa73(0x203),_0x4af42d));}function _0x395490(_0x2740a4){const _0x5cde82=_0x7c04ae;this[_0x59de15][_0x5cde82(0x2bf)]['write'](_0x2740a4)||this[_0x5cde82(0x389)]();}function _0x1a7d8e(){const _0x394962=_0x7c04ae,_0x32a802=this[_0x59de15];_0x32a802[_0x394962(0x259)]=_0x5647d0['CLOSING'],_0x32a802[_0x394962(0x2bf)]['end'](),this[_0x394962(0x330)]();}function _0x2cc2c6(){const _0x2c9e67=_0x7c04ae,_0x32db67=this[_0x59de15];this[_0x2c9e67(0x344)]('error',_0x2cc2c6),this['on'](_0x2c9e67(0x297),_0x26aeef),_0x32db67&&(_0x32db67['_readyState']=_0x5647d0[_0x2c9e67(0x267)],this[_0x2c9e67(0x2ca)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x286f84}=_0x3d2ecc;function _0x3edafa(_0x4f0ede){const _0x37ad8c=_0x2f80;_0x4f0ede[_0x37ad8c(0x35f)](_0x37ad8c(0x2a0));}function _0x292e9a(){const _0x153085=_0x2f80;!this[_0x153085(0x2ba)]&&this[_0x153085(0x204)][_0x153085(0x396)]&&this[_0x153085(0x2ca)]();}function _0x5747a7(_0x472b67){const _0x4caf6f=_0x2f80;this[_0x4caf6f(0x344)](_0x4caf6f(0x297),_0x5747a7),this[_0x4caf6f(0x2ca)](),this[_0x4caf6f(0x26a)](_0x4caf6f(0x297))===0x0&&this['emit'](_0x4caf6f(0x297),_0x472b67);}function _0x385ae6(_0x54a153,_0x5696f0){const _0x5e643c=_0x2f80;let _0x53a6eb=!0x0;const _0x2e68d7=new _0x286f84({..._0x5696f0,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x54a153['on'](_0x5e643c(0x2a6),function(_0x3dc6d6,_0x1f1b0f){const _0x405560=_0x5e643c,_0x4b0b1d=!_0x1f1b0f&&_0x2e68d7['_readableState'][_0x405560(0x382)]?_0x3dc6d6[_0x405560(0x30a)]():_0x3dc6d6;_0x2e68d7[_0x405560(0x266)](_0x4b0b1d)||_0x54a153[_0x405560(0x389)]();}),_0x54a153[_0x5e643c(0x216)]('error',function(_0x1c1f8f){const _0x1dcefd=_0x5e643c;_0x2e68d7['destroyed']||(_0x53a6eb=!0x1,_0x2e68d7[_0x1dcefd(0x2ca)](_0x1c1f8f));}),_0x54a153[_0x5e643c(0x216)](_0x5e643c(0x2a0),function(){const _0x3e18a6=_0x5e643c;_0x2e68d7['destroyed']||_0x2e68d7[_0x3e18a6(0x266)](null);}),_0x2e68d7[_0x5e643c(0x2b2)]=function(_0x53b7e4,_0x59c256){const _0x5316c2=_0x5e643c;if(_0x54a153[_0x5316c2(0x2b5)]===_0x54a153[_0x5316c2(0x27f)]){_0x59c256(_0x53b7e4),process[_0x5316c2(0x340)](_0x3edafa,_0x2e68d7);return;}let _0x323604=!0x1;_0x54a153[_0x5316c2(0x216)]('error',function(_0x53f2c0){_0x323604=!0x0,_0x59c256(_0x53f2c0);}),_0x54a153[_0x5316c2(0x216)](_0x5316c2(0x2a0),function(){const _0x27db35=_0x5316c2;_0x323604||_0x59c256(_0x53b7e4),process[_0x27db35(0x340)](_0x3edafa,_0x2e68d7);}),_0x53a6eb&&_0x54a153[_0x5316c2(0x3a3)]();},_0x2e68d7['_final']=function(_0x1c80de){const _0x4ed0c7=_0x5e643c;if(_0x54a153[_0x4ed0c7(0x2b5)]===_0x54a153[_0x4ed0c7(0x24e)]){_0x54a153[_0x4ed0c7(0x216)]('open',function(){_0x2e68d7['_final'](_0x1c80de);});return;}_0x54a153[_0x4ed0c7(0x321)]!==null&&(_0x54a153['_socket'][_0x4ed0c7(0x204)]['finished']?(_0x1c80de(),_0x2e68d7[_0x4ed0c7(0x242)][_0x4ed0c7(0x25f)]&&_0x2e68d7[_0x4ed0c7(0x2ca)]()):(_0x54a153[_0x4ed0c7(0x321)][_0x4ed0c7(0x216)](_0x4ed0c7(0x203),function(){_0x1c80de();}),_0x54a153['close']()));},_0x2e68d7['_read']=function(){const _0x3fde2e=_0x5e643c;_0x54a153[_0x3fde2e(0x30e)]&&_0x54a153[_0x3fde2e(0x338)]();},_0x2e68d7[_0x5e643c(0x373)]=function(_0x5e2087,_0x3ff47c,_0x5d0963){const _0xcd24b=_0x5e643c;if(_0x54a153[_0xcd24b(0x2b5)]===_0x54a153[_0xcd24b(0x24e)]){_0x54a153['once'](_0xcd24b(0x32f),function(){_0x2e68d7['_write'](_0x5e2087,_0x3ff47c,_0x5d0963);});return;}_0x54a153[_0xcd24b(0x306)](_0x5e2087,_0x5d0963);},_0x2e68d7['on'](_0x5e643c(0x330),_0x292e9a),_0x2e68d7['on'](_0x5e643c(0x297),_0x5747a7),_0x2e68d7;}return Oe=_0x385ae6,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x1b49e0}=ne();function _0x26dace(_0x111a81){const _0x3ecba8=_0x2f80,_0x56337d=new Set();let _0x344f23=-0x1,_0x35bee5=-0x1,_0x11f68e=0x0;for(_0x11f68e;_0x11f68e<_0x111a81[_0x3ecba8(0x339)];_0x11f68e++){const _0x7d257a=_0x111a81[_0x3ecba8(0x228)](_0x11f68e);if(_0x35bee5===-0x1&&_0x1b49e0[_0x7d257a]===0x1)_0x344f23===-0x1&&(_0x344f23=_0x11f68e);else{if(_0x11f68e!==0x0&&(_0x7d257a===0x20||_0x7d257a===0x9))_0x35bee5===-0x1&&_0x344f23!==-0x1&&(_0x35bee5=_0x11f68e);else{if(_0x7d257a===0x2c){if(_0x344f23===-0x1)throw new SyntaxError(_0x3ecba8(0x27d)+_0x11f68e);_0x35bee5===-0x1&&(_0x35bee5=_0x11f68e);const _0x3631ec=_0x111a81[_0x3ecba8(0x28e)](_0x344f23,_0x35bee5);if(_0x56337d[_0x3ecba8(0x223)](_0x3631ec))throw new SyntaxError('The\x20\x22'+_0x3631ec+_0x3ecba8(0x366));_0x56337d[_0x3ecba8(0x2b7)](_0x3631ec),_0x344f23=_0x35bee5=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x11f68e);}}}if(_0x344f23===-0x1||_0x35bee5!==-0x1)throw new SyntaxError(_0x3ecba8(0x28f));const _0x4b3f8e=_0x111a81[_0x3ecba8(0x28e)](_0x344f23,_0x11f68e);if(_0x56337d[_0x3ecba8(0x223)](_0x4b3f8e))throw new SyntaxError(_0x3ecba8(0x225)+_0x4b3f8e+'\x22\x20subprotocol\x20is\x20duplicated');return _0x56337d['add'](_0x4b3f8e),_0x56337d;}return Ce={'parse':_0x26dace},Ce;}var Te,ot;function er(){const _0x37b779=_0x374957;if(ot)return Te;ot=0x1;const _0x5f19a2=_0x74a247,_0x5b61f7=_0x42d105,{Duplex:_0x903f56}=_0x3d2ecc,{createHash:_0x1c5f83}=_0x4d189e,_0x50d3bf=pt(),_0x540b77=he(),_0x480682=Jt(),_0x3c7191=Ie(),{GUID:_0x486c4b,kWebSocket:_0x152c2c}=V(),_0x50fb13=/^[+/0-9A-Za-z]{22}==$/,_0x36ef49=0x0,_0x5f4b45=0x1,_0x352c45=0x2;class _0x3822eb extends _0x5f19a2{constructor(_0x125dcd,_0xcfbd01){const _0x13b9f9=_0x2f80;if(super(),_0x125dcd={'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':_0x3c7191,..._0x125dcd},_0x125dcd[_0x13b9f9(0x38b)]==null&&!_0x125dcd[_0x13b9f9(0x3a0)]&&!_0x125dcd['noServer']||_0x125dcd[_0x13b9f9(0x38b)]!=null&&(_0x125dcd[_0x13b9f9(0x3a0)]||_0x125dcd[_0x13b9f9(0x30f)])||_0x125dcd['server']&&_0x125dcd[_0x13b9f9(0x30f)])throw new TypeError(_0x13b9f9(0x273));if(_0x125dcd['port']!=null?(this[_0x13b9f9(0x285)]=_0x5b61f7[_0x13b9f9(0x2cd)]((_0x4a804f,_0xf37ffe)=>{const _0x20db36=_0x13b9f9,_0x43d05f=_0x5b61f7['STATUS_CODES'][0x1aa];_0xf37ffe[_0x20db36(0x220)](0x1aa,{'Content-Length':_0x43d05f[_0x20db36(0x339)],'Content-Type':_0x20db36(0x352)}),_0xf37ffe[_0x20db36(0x330)](_0x43d05f);}),this[_0x13b9f9(0x285)][_0x13b9f9(0x25a)](_0x125dcd[_0x13b9f9(0x38b)],_0x125dcd[_0x13b9f9(0x218)],_0x125dcd[_0x13b9f9(0x2a2)],_0xcfbd01)):_0x125dcd[_0x13b9f9(0x3a0)]&&(this[_0x13b9f9(0x285)]=_0x125dcd['server']),this[_0x13b9f9(0x285)]){const _0x25e375=this[_0x13b9f9(0x35f)][_0x13b9f9(0x26e)](this,_0x13b9f9(0x2dd));this[_0x13b9f9(0x316)]=_0x4a7edc(this[_0x13b9f9(0x285)],{'listening':this[_0x13b9f9(0x35f)][_0x13b9f9(0x26e)](this,'listening'),'error':this['emit'][_0x13b9f9(0x26e)](this,_0x13b9f9(0x297)),'upgrade':(_0x4421f4,_0x2f2071,_0x1923db)=>{const _0x236a6c=_0x13b9f9;this[_0x236a6c(0x349)](_0x4421f4,_0x2f2071,_0x1923db,_0x25e375);}});}_0x125dcd['perMessageDeflate']===!0x0&&(_0x125dcd[_0x13b9f9(0x34d)]={}),_0x125dcd[_0x13b9f9(0x294)]&&(this[_0x13b9f9(0x2c3)]=new Set(),this[_0x13b9f9(0x33e)]=!0x1),this[_0x13b9f9(0x318)]=_0x125dcd,this['_state']=_0x36ef49;}[_0x37b779(0x375)](){const _0x575414=_0x37b779;if(this[_0x575414(0x318)][_0x575414(0x30f)])throw new Error(_0x575414(0x263));return this[_0x575414(0x285)]?this['_server']['address']():null;}[_0x37b779(0x2a0)](_0x5b9d52){const _0x52388a=_0x37b779;if(this[_0x52388a(0x302)]===_0x352c45){_0x5b9d52&&this[_0x52388a(0x216)](_0x52388a(0x2a0),()=>{const _0x108ba6=_0x52388a;_0x5b9d52(new Error(_0x108ba6(0x2fc)));}),process[_0x52388a(0x340)](_0x51e21a,this);return;}if(_0x5b9d52&&this[_0x52388a(0x216)](_0x52388a(0x2a0),_0x5b9d52),this['_state']!==_0x5f4b45){if(this[_0x52388a(0x302)]=_0x5f4b45,this['options'][_0x52388a(0x30f)]||this[_0x52388a(0x318)][_0x52388a(0x3a0)])this[_0x52388a(0x285)]&&(this[_0x52388a(0x316)](),this['_removeListeners']=this['_server']=null),this[_0x52388a(0x2c3)]?this['clients'][_0x52388a(0x2db)]?this[_0x52388a(0x33e)]=!0x0:process[_0x52388a(0x340)](_0x51e21a,this):process[_0x52388a(0x340)](_0x51e21a,this);else{const _0x844d33=this[_0x52388a(0x285)];this['_removeListeners'](),this[_0x52388a(0x316)]=this[_0x52388a(0x285)]=null,_0x844d33[_0x52388a(0x2a0)](()=>{_0x51e21a(this);});}}}[_0x37b779(0x2ac)](_0x201630){const _0x16b0e9=_0x37b779;if(this[_0x16b0e9(0x318)][_0x16b0e9(0x2f6)]){const _0x3f5261=_0x201630[_0x16b0e9(0x358)][_0x16b0e9(0x205)]('?');if((_0x3f5261!==-0x1?_0x201630[_0x16b0e9(0x358)][_0x16b0e9(0x28e)](0x0,_0x3f5261):_0x201630[_0x16b0e9(0x358)])!==this[_0x16b0e9(0x318)][_0x16b0e9(0x2f6)])return!0x1;}return!0x0;}[_0x37b779(0x349)](_0x2c375c,_0xfef0d3,_0x3cb1b0,_0x5dd256){const _0x63b3f1=_0x37b779;_0xfef0d3['on'](_0x63b3f1(0x297),_0x52470e);const _0x29b79d=_0x2c375c[_0x63b3f1(0x27b)][_0x63b3f1(0x304)],_0x3fcb2e=_0x2c375c[_0x63b3f1(0x27b)][_0x63b3f1(0x2bd)],_0x5269db=+_0x2c375c[_0x63b3f1(0x27b)][_0x63b3f1(0x232)];if(_0x2c375c[_0x63b3f1(0x22a)]!==_0x63b3f1(0x2b1)){_0x3ebc85(this,_0x2c375c,_0xfef0d3,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x3fcb2e===void 0x0||_0x3fcb2e[_0x63b3f1(0x2fd)]()!==_0x63b3f1(0x383)){_0x3ebc85(this,_0x2c375c,_0xfef0d3,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x29b79d===void 0x0||!_0x50fb13[_0x63b3f1(0x2fa)](_0x29b79d)){_0x3ebc85(this,_0x2c375c,_0xfef0d3,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x5269db!==0xd&&_0x5269db!==0x8){_0x3ebc85(this,_0x2c375c,_0xfef0d3,0x190,_0x63b3f1(0x1fc),{'Sec-WebSocket-Version':_0x63b3f1(0x2ef)});return;}if(!this[_0x63b3f1(0x2ac)](_0x2c375c)){_0x112520(_0xfef0d3,0x190);return;}const _0x364e53=_0x2c375c[_0x63b3f1(0x27b)][_0x63b3f1(0x30c)];let _0xb42218=new Set();if(_0x364e53!==void 0x0)try{_0xb42218=_0x480682[_0x63b3f1(0x39b)](_0x364e53);}catch{_0x3ebc85(this,_0x2c375c,_0xfef0d3,0x190,_0x63b3f1(0x2e7));return;}const _0x4620a1=_0x2c375c['headers']['sec-websocket-extensions'],_0x3dd1a1={};if(this[_0x63b3f1(0x318)][_0x63b3f1(0x34d)]&&_0x4620a1!==void 0x0){const _0x4fb238=new _0x540b77(this[_0x63b3f1(0x318)][_0x63b3f1(0x34d)],!0x0,this[_0x63b3f1(0x318)][_0x63b3f1(0x2c7)]);try{const _0x2da125=_0x50d3bf[_0x63b3f1(0x39b)](_0x4620a1);_0x2da125[_0x540b77[_0x63b3f1(0x34e)]]&&(_0x4fb238[_0x63b3f1(0x37d)](_0x2da125[_0x540b77[_0x63b3f1(0x34e)]]),_0x3dd1a1[_0x540b77[_0x63b3f1(0x34e)]]=_0x4fb238);}catch{_0x3ebc85(this,_0x2c375c,_0xfef0d3,0x190,_0x63b3f1(0x290));return;}}if(this[_0x63b3f1(0x318)]['verifyClient']){const _0x2c52b4={'origin':_0x2c375c[_0x63b3f1(0x27b)][''+(_0x5269db===0x8?_0x63b3f1(0x226):_0x63b3f1(0x258))],'secure':!!(_0x2c375c[_0x63b3f1(0x36b)][_0x63b3f1(0x393)]||_0x2c375c[_0x63b3f1(0x36b)][_0x63b3f1(0x2d2)]),'req':_0x2c375c};if(this[_0x63b3f1(0x318)][_0x63b3f1(0x2d1)]['length']===0x2){this[_0x63b3f1(0x318)][_0x63b3f1(0x2d1)](_0x2c52b4,(_0x29ff25,_0x19f6e3,_0x2bbf1,_0x36df9e)=>{const _0x354844=_0x63b3f1;if(!_0x29ff25)return _0x112520(_0xfef0d3,_0x19f6e3||0x191,_0x2bbf1,_0x36df9e);this[_0x354844(0x3a2)](_0x3dd1a1,_0x29b79d,_0xb42218,_0x2c375c,_0xfef0d3,_0x3cb1b0,_0x5dd256);});return;}if(!this[_0x63b3f1(0x318)][_0x63b3f1(0x2d1)](_0x2c52b4))return _0x112520(_0xfef0d3,0x191);}this[_0x63b3f1(0x3a2)](_0x3dd1a1,_0x29b79d,_0xb42218,_0x2c375c,_0xfef0d3,_0x3cb1b0,_0x5dd256);}[_0x37b779(0x3a2)](_0x5c3b6a,_0x45593b,_0xdce59a,_0x4bc37c,_0x1de5e5,_0x3cc9cb,_0x1fd9fa){const _0x3044b2=_0x37b779;if(!_0x1de5e5[_0x3044b2(0x27a)]||!_0x1de5e5[_0x3044b2(0x2dc)])return _0x1de5e5['destroy']();if(_0x1de5e5[_0x152c2c])throw new Error(_0x3044b2(0x29b));if(this['_state']>_0x36ef49)return _0x112520(_0x1de5e5,0x1f7);const _0x266bb3=[_0x3044b2(0x33d),_0x3044b2(0x309),'Connection:\x20Upgrade',_0x3044b2(0x39c)+_0x1c5f83(_0x3044b2(0x361))[_0x3044b2(0x31c)](_0x45593b+_0x486c4b)[_0x3044b2(0x291)](_0x3044b2(0x317))],_0x24415a=new this[(_0x3044b2(0x318))][(_0x3044b2(0x33a))](null,void 0x0,this[_0x3044b2(0x318)]);if(_0xdce59a['size']){const _0x37cf5e=this[_0x3044b2(0x318)][_0x3044b2(0x27c)]?this[_0x3044b2(0x318)][_0x3044b2(0x27c)](_0xdce59a,_0x4bc37c):_0xdce59a['values']()['next']()[_0x3044b2(0x368)];_0x37cf5e&&(_0x266bb3[_0x3044b2(0x266)]('Sec-WebSocket-Protocol:\x20'+_0x37cf5e),_0x24415a[_0x3044b2(0x279)]=_0x37cf5e);}if(_0x5c3b6a[_0x540b77[_0x3044b2(0x34e)]]){const _0x3dd4d0=_0x5c3b6a[_0x540b77[_0x3044b2(0x34e)]][_0x3044b2(0x29f)],_0x249ddd=_0x50d3bf[_0x3044b2(0x313)]({[_0x540b77['extensionName']]:[_0x3dd4d0]});_0x266bb3[_0x3044b2(0x266)](_0x3044b2(0x214)+_0x249ddd),_0x24415a['_extensions']=_0x5c3b6a;}this[_0x3044b2(0x35f)](_0x3044b2(0x27b),_0x266bb3,_0x4bc37c),_0x1de5e5[_0x3044b2(0x2d9)](_0x266bb3[_0x3044b2(0x2aa)]('\x0d\x0a')[_0x3044b2(0x29c)]('\x0d\x0a')),_0x1de5e5[_0x3044b2(0x344)](_0x3044b2(0x297),_0x52470e),_0x24415a[_0x3044b2(0x30b)](_0x1de5e5,_0x3cc9cb,{'allowSynchronousEvents':this[_0x3044b2(0x318)]['allowSynchronousEvents'],'maxPayload':this[_0x3044b2(0x318)][_0x3044b2(0x2c7)],'skipUTF8Validation':this[_0x3044b2(0x318)][_0x3044b2(0x219)]}),this[_0x3044b2(0x2c3)]&&(this[_0x3044b2(0x2c3)][_0x3044b2(0x2b7)](_0x24415a),_0x24415a['on'](_0x3044b2(0x2a0),()=>{const _0x2f87ad=_0x3044b2;this[_0x2f87ad(0x2c3)][_0x2f87ad(0x38e)](_0x24415a),this[_0x2f87ad(0x33e)]&&!this[_0x2f87ad(0x2c3)][_0x2f87ad(0x2db)]&&process['nextTick'](_0x51e21a,this);})),_0x1fd9fa(_0x24415a,_0x4bc37c);}}Te=_0x3822eb;function _0x4a7edc(_0x17127b,_0x5b4615){const _0x848a15=_0x37b779;for(const _0x1533ae of Object[_0x848a15(0x2f5)](_0x5b4615))_0x17127b['on'](_0x1533ae,_0x5b4615[_0x1533ae]);return function(){for(const _0x1f8d96 of Object['keys'](_0x5b4615))_0x17127b['removeListener'](_0x1f8d96,_0x5b4615[_0x1f8d96]);};}function _0x51e21a(_0x53d13c){const _0xa7d473=_0x37b779;_0x53d13c[_0xa7d473(0x302)]=_0x352c45,_0x53d13c['emit'](_0xa7d473(0x2a0));}function _0x52470e(){this['destroy']();}function _0x112520(_0x4edd8c,_0x1113de,_0xf04c0d,_0x1bb20b){const _0x1eb9c4=_0x37b779;_0xf04c0d=_0xf04c0d||_0x5b61f7['STATUS_CODES'][_0x1113de],_0x1bb20b={'Connection':_0x1eb9c4(0x2a0),'Content-Type':_0x1eb9c4(0x37f),'Content-Length':Buffer[_0x1eb9c4(0x354)](_0xf04c0d),..._0x1bb20b},_0x4edd8c[_0x1eb9c4(0x216)](_0x1eb9c4(0x203),_0x4edd8c['destroy']),_0x4edd8c[_0x1eb9c4(0x330)](_0x1eb9c4(0x2e8)+_0x1113de+'\x20'+_0x5b61f7[_0x1eb9c4(0x2b4)][_0x1113de]+'\x0d\x0a'+Object['keys'](_0x1bb20b)[_0x1eb9c4(0x355)](_0x4eb320=>_0x4eb320+':\x20'+_0x1bb20b[_0x4eb320])[_0x1eb9c4(0x29c)]('\x0d\x0a')+_0x1eb9c4(0x39a)+_0xf04c0d);}function _0x3ebc85(_0x4ac31c,_0x3e7740,_0x38c42e,_0x127874,_0x932aba,_0x2fcff5){const _0x2804c5=_0x37b779;if(_0x4ac31c[_0x2804c5(0x26a)](_0x2804c5(0x325))){const _0x1fada7=new Error(_0x932aba);Error[_0x2804c5(0x37c)](_0x1fada7,_0x3ebc85),_0x4ac31c[_0x2804c5(0x35f)]('wsClientError',_0x1fada7,_0x38c42e,_0x3e7740);}else _0x112520(_0x38c42e,_0x127874,_0x932aba,_0x2fcff5);}return Te;}er();var tr=Object[_0x374957(0x245)],rr=(_0x27cb7e,_0x2b455b,_0x61ed23,_0x5982f0)=>{const _0x57ecb8=_0x374957;for(var _0x25f400=_0x5982f0>0x1?void 0x0:_0x5982f0?tr(_0x2b455b,_0x61ed23):_0x2b455b,_0xdb3000=_0x27cb7e[_0x57ecb8(0x339)]-0x1,_0x5f5bbf;_0xdb3000>=0x0;_0xdb3000--)(_0x5f5bbf=_0x27cb7e[_0xdb3000])&&(_0x25f400=_0x5f5bbf(_0x25f400)||_0x25f400);return _0x25f400;},sr=(_0x1883c7,_0x115c3b)=>(_0x5707a7,_0x14415f)=>_0x115c3b(_0x5707a7,_0x14415f,_0x1883c7);let Ne=class extends _0x529da3{constructor(_0xcd81f8){const _0x53d8fa=_0x374957;super(),this[_0x53d8fa(0x323)]=_0xcd81f8;}[_0x374957(0x27e)](_0x24ce3b){const _0x118556=_0x374957;var _0x240622;const _0x8cc398=(_0x240622=this[_0x118556(0x323)][_0x118556(0x24c)](Be))==null?void 0x0:_0x240622['customHeaders'];try{const _0x191e57=new Qt(_0x24ce3b,{'headers':{..._0x8cc398}}),_0x57eb13=new _0x14d140();return{'URL':_0x24ce3b,'close':(_0x44a983,_0x51f26d)=>{const _0x50e7f2=_0x118556;_0x191e57[_0x50e7f2(0x2a0)](_0x44a983,_0x51f26d),_0x57eb13['dispose']();},'send':_0x3494f6=>{const _0x4ed4c2=_0x118556;_0x191e57[_0x4ed4c2(0x306)](_0x3494f6);},'open$':new _0x33871b(_0x42f6d0=>{const _0x1894f6=_0x118556,_0x1ce48e=_0xb5943a=>_0x42f6d0[_0x1894f6(0x380)](_0xb5943a);_0x191e57[_0x1894f6(0x278)](_0x1894f6(0x32f),_0x1ce48e),_0x57eb13[_0x1894f6(0x2b7)](_0x51f2a3(()=>_0x191e57[_0x1894f6(0x371)]('open',_0x1ce48e)));})[_0x118556(0x21d)](_0x186291()),'close$':new _0x33871b(_0x904105=>{const _0x134ba2=_0x118556,_0x451bb1=_0x2952c9=>_0x904105[_0x134ba2(0x380)](_0x2952c9);_0x191e57[_0x134ba2(0x278)](_0x134ba2(0x2a0),_0x451bb1),_0x57eb13[_0x134ba2(0x2b7)](_0x51f2a3(()=>_0x191e57[_0x134ba2(0x371)](_0x134ba2(0x2a0),_0x451bb1)));})['pipe'](_0x186291()),'error$':new _0x33871b(_0x7332ca=>{const _0x4d7d3a=_0x118556,_0x3d408b=_0x58386c=>_0x7332ca['next'](_0x58386c);_0x191e57[_0x4d7d3a(0x278)]('error',_0x3d408b),_0x57eb13[_0x4d7d3a(0x2b7)](_0x51f2a3(()=>_0x191e57[_0x4d7d3a(0x371)](_0x4d7d3a(0x297),_0x3d408b)));})[_0x118556(0x21d)](_0x186291()),'message$':new _0x33871b(_0x3973eb=>{const _0x22c153=_0x118556,_0x4e35d9=_0x4be2cf=>_0x3973eb[_0x22c153(0x380)](_0x4be2cf);_0x191e57[_0x22c153(0x278)](_0x22c153(0x2a6),_0x4e35d9),_0x57eb13[_0x22c153(0x2b7)](_0x51f2a3(()=>_0x191e57[_0x22c153(0x371)](_0x22c153(0x2a6),_0x4e35d9)));})[_0x118556(0x21d)](_0x186291())};}catch(_0x3076e9){return console['error'](_0x3076e9),null;}}};Ne=rr([sr(0x0,_0x1b1d96)],Ne);var ir=Object['defineProperty'],nr=Object['getOwnPropertyDescriptor'],or=(_0x102c0a,_0x5d1fd6,_0x36d5b2)=>_0x5d1fd6 in _0x102c0a?ir(_0x102c0a,_0x5d1fd6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x36d5b2}):_0x102c0a[_0x5d1fd6]=_0x36d5b2,ar=(_0x4e62a5,_0x364fd5,_0x26dcd0,_0x3d80c5)=>{const _0x342924=_0x374957;for(var _0x58fb4f=_0x3d80c5>0x1?void 0x0:_0x3d80c5?nr(_0x364fd5,_0x26dcd0):_0x364fd5,_0x2c4ea7=_0x4e62a5[_0x342924(0x339)]-0x1,_0x45a4a7;_0x2c4ea7>=0x0;_0x2c4ea7--)(_0x45a4a7=_0x4e62a5[_0x2c4ea7])&&(_0x58fb4f=_0x45a4a7(_0x58fb4f)||_0x58fb4f);return _0x58fb4f;},ke=(_0x38b06e,_0x516db3)=>(_0x2de233,_0x514d38)=>_0x516db3(_0x2de233,_0x514d38,_0x38b06e),lr=(_0x36ba48,_0x4b7a45,_0xfb3fe)=>or(_0x36ba48,_0x4b7a45+'',_0xfb3fe);let Pe=class extends _0x3d7a1f{constructor(_0x5a12fa=Ft,_0x3d0a29,_0x5b1413,_0x1a9f8e){const _0x53e31a=_0x374957;_0x5a12fa[_0x53e31a(0x2c4)]||_0x3d0a29[_0x53e31a(0x221)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x53e31a(0x323)]=_0x5b1413,this[_0x53e31a(0x1f4)]=_0x1a9f8e,this[_0x53e31a(0x323)]['setConfig'](Be,_0x5a12fa);}[_0x374957(0x26f)](){this['_registerDependencies']();}['_registerDependencies'](){const _0x1d2f1f=_0x374957;_0x474173(this[_0x1d2f1f(0x1f4)],[[_0x315535,{'useClass':Ne}]]);}};lr(Pe,_0x374957(0x295),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),Pe=ar([_0x2ad880(_0x94a5cf),ke(0x1,_0x21463b),ke(0x2,_0x1b1d96),ke(0x3,_0x233579(_0x41e164))],Pe);var fr=Object['getOwnPropertyDescriptor'],cr=(_0x341b6,_0x4c3b14,_0x61ebd,_0x44595f)=>{for(var _0x5eddd0=_0x44595f>0x1?void 0x0:_0x44595f?fr(_0x4c3b14,_0x61ebd):_0x4c3b14,_0x35e09b=_0x341b6['length']-0x1,_0xfb3f6a;_0x35e09b>=0x0;_0x35e09b--)(_0xfb3f6a=_0x341b6[_0x35e09b])&&(_0x5eddd0=_0xfb3f6a(_0x5eddd0)||_0x5eddd0);return _0x5eddd0;},se=(_0x2049d1,_0x337c9b)=>(_0x2b1c2f,_0x54db53)=>_0x337c9b(_0x2b1c2f,_0x54db53,_0x2049d1);let at=class extends _0x595e77{constructor(_0x5827d9,_0x26b7be,_0x4f5301,_0x19d9e4,_0x40d1d1){const _0x46ad14=_0x374957;super(_0x5827d9,_0x26b7be,_0x4f5301,_0x19d9e4,_0x40d1d1);const _0x1cd278=this[_0x46ad14(0x323)]['getConfig'](Be);this[_0x46ad14(0x2d8)]['registerHTTPInterceptor']({'interceptor':(_0x2e7709,_0x2178ee)=>{const _0x7d01bf=_0x46ad14;var _0x560cf9;const _0x314aca=_0x2e7709[_0x7d01bf(0x27b)];return(_0x560cf9=_0x1cd278==null?void 0x0:_0x1cd278[_0x7d01bf(0x2c4)])!=null&&_0x560cf9['cookie']&&_0x314aca[_0x7d01bf(0x2b8)]('Cookie',_0x1cd278[_0x7d01bf(0x2c4)][_0x7d01bf(0x238)]),_0x2178ee(_0x2e7709);}});}async['createSocket'](_0xfe66af){const _0x3d798d=_0x374957;return this[_0x3d798d(0x367)](_0xfe66af);}};at=cr([se(0x0,_0x233579(_0x41e164)),se(0x1,_0x233579(_0x5b756c)),se(0x2,_0x1b1d96),se(0x3,_0x21463b),se(0x4,_0x428826)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|
|
1
|
+
const _0x4f6260=_0x115a;(function(_0x448ded,_0x90456f){const _0x38edfa=_0x115a,_0x346570=_0x448ded();while(!![]){try{const _0x5e3996=-parseInt(_0x38edfa(0x151))/0x1*(parseInt(_0x38edfa(0x213))/0x2)+parseInt(_0x38edfa(0xe9))/0x3+parseInt(_0x38edfa(0x113))/0x4*(-parseInt(_0x38edfa(0x144))/0x5)+parseInt(_0x38edfa(0x1f2))/0x6+parseInt(_0x38edfa(0x181))/0x7*(parseInt(_0x38edfa(0x91))/0x8)+-parseInt(_0x38edfa(0x13e))/0x9+parseInt(_0x38edfa(0x1fc))/0xa;if(_0x5e3996===_0x90456f)break;else _0x346570['push'](_0x346570['shift']());}catch(_0xf2163d){_0x346570['push'](_0x346570['shift']());}}}(_0x1533,0x83d59));import{UniverCollaborationClientPlugin as _0x5a29c4,CollaborationSocketService as _0x270829}from'@univerjs-pro/collaboration-client';import{Disposable as _0x572172,DisposableCollection as _0x4bb3d8,toDisposable as _0xcd4a9,IConfigService as _0x14f097,DependentOn as _0x4057df,ILogService as _0x5cb661,Inject as _0x9c53c0,Injector as _0x61d3a9,Plugin as _0x385364,registerDependencies as _0x24d7c3}from'@univerjs/core';import{ISocketService as _0x5f2e36,HTTPService as _0x35ec7e}from'@univerjs/network';import{Observable as _0x546f43,share as _0x2451ba}from'rxjs';import _0x3666b2 from'events';import _0x6f787d from'https';import _0x513c8 from'http';import _0x51071f from'net';import _0x4ef45f from'tls';import _0x25ad0b from'crypto';import _0xa793d9 from'stream';import _0x4fdd9a from'url';function _0x1533(){const _0x41cb78=['_fragmented','_mask','WS_ERR_UNEXPECTED_RSV_1','upgrade','servername','_extensions','socket','_socket','authorization','extensions','onmessage','offer','_closeTimer','setSocket','\x22\x20subprotocol\x20is\x20duplicated','readUInt16BE','address','server_max_window_bits','delete','WS_ERR_INVALID_UTF8','kIsForOnEventAttribute','compress','kDone','Unexpected\x20character\x20at\x20index\x20','fin','_sender','_deflate','Invalid\x20Upgrade\x20header','captureStackTrace','exports','hostname','sha1','open','followRedirects','errorEmitted','consume','_originalSecure','species','5105904LHSntf','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','redirect','createConnection','Basic\x20','nodebuffer','_masked','createServer','_totalPayloadLength','invalid\x20opcode\x20','328030wuBxFS','_maxPayload','_doCreateSocket','endEmitted','unexpected-response','threshold','generateMask','_queue','wss:','_opcode','_closeFrameReceived','byteOffset','stream','add','constructor','_readableState','listenerCount','host','_isServer','defineProperty','_shouldEmitClose','keys','Invalid\x20URL:\x20','46ceipBR','invalid\x20payload\x20length\x20','_compressed','serverNoContextTakeover','allocUnsafe','listen','Sec-WebSocket-Accept:\x20','sendFrame','_payloadLength','Unexpected\x20server\x20response:\x20','WebSocket','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','_write','_maskBuffer','getData','password','Cookie','WebSocket\x20is\x20not\x20open:\x20readyState\x20','Max\x20payload\x20size\x20exceeded','Unexpected\x20end\x20of\x20input','origin','allowSynchronousEvents','params','toLowerCase','sec-websocket-extensions','sec-websocket-origin','blob','isArray','byteLength','finished','test','collaboration-client-node.config','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','defaultPort','_writableState','get','resume','clientTracking','onopen','onStarting','createSocket','_decompress','kCode','port','removeAllListeners','create','8SRtmxl','read','protocolVersion','Sec-WebSocket-Extensions','server','clients','Invalid\x20Sec-WebSocket-Protocol\x20header','kTarget','_autoPong','_injector','finishRequest','registerHTTPInterceptor','readOnly','readable','_errorEmitted','Origin','customHeaders','Server\x20sent\x20no\x20subprotocol','Upgrade:\x20websocket','connect','Invalid\x20WebSocket\x20frame:\x20','code','\x22\x20must\x20have\x20only\x20a\x20single\x20value','auth','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','dataMessage','_fin','pending','_registerDependencies','split','MASK\x20must\x20be\x20set','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','set','_skipUTF8Validation','server_no_context_takeover','default','client_max_window_bits','invalid\x20status\x20code\x20','acceptAsClient','encrypted','_firstFragment','Z_DEFAULT_WINDOWBITS','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','opcode','_closeMessage','reset','path','response','listeners','noServer','_max_window_bits','_url','shift','https:','socketPath','Unsupported\x20protocol\x20version:\x20','perMessageDeflate','pipe','construct','handleUpgrade','_closeFrameSent','_originalHostOrSocketPath','headers','websocket','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','_state','indexOf','arrayBuffer','extensionName','conclude','\x0d\x0a\x0d\x0a','fragments','prototype','_generateMask','type','WS_ERR_EXPECTED_MASK','RSV1\x20must\x20be\x20clear','sec-websocket-accept','pause','message','normalizeParams','Upgrade','pathname','dequeue','text/html','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','removeListener','CLOSING','2530182crtnjg','frame','writeUInt16BE','destroy','_fragments','parse','_protocol','http:','Invalid\x20Sec-WebSocket-Extensions\x20header','emitClose','ping','close','_originalIpc','Unknown\x20parameter\x20\x22','removeEventListener','_receiver','maxPayload','kByteLength','data','Sec-WebSocket-Origin','_errored','_binaryType','setTimeout','readyState','File','_httpService','getMask','_loop','drain','Opening\x20handshake\x20has\x20timed\x20out','once','bind','shouldHandle','_closeCode','buffer','concat','The\x20\x22','method','WS_ERR_INVALID_OPCODE','_bufferedAmount','charCodeAt','kRun','4LwpXjP','mask','pluginName','CLOSED','hash','decompress','search','has','STATUS_CODES','getConfig','_buffers','skipUTF8Validation','nextTick','forEach','finish','reason','string','readUInt32BE','toStringTag','_options','includes','env','target','alloc','href','Invalid\x20value\x20for\x20parameter\x20\x22','hasOwnProperty','sec-websocket-version','HTTP/1.1\x20','_req','flush','WS_ERR_INVALID_CLOSE_CODE','getOwnPropertyDescriptor','verifyClient','client_no_context_takeover','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','Server\x20sent\x20an\x20invalid\x20subprotocol','WS_NO_UTF_8_VALIDATE','protocol','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','unshift','_no_context_takeover','clientMaxWindowBits','2113497oyAfok','emit','cork','setNoDelay','end','listening','4088230qmtBEl','_server','location','dispose','WS_ERR_UNEXPECTED_RSV_2_3','Invalid\x20HTTP\x20method','clientNoContextTakeover','timeout','concurrency','function','next','sec-websocket-protocol','status-code','18814MEbAhh','entries','freeze','url','bufferedAmount','invalid\x20UTF-8\x20sequence','digest','maskBuffer','\x22:\x20','pong','_bufferedBytes','apply','_removeListeners','isBuffer','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','accept','request','push','ws:','abort','terminate','options','controlMessage','isServer','GET','replace','MASK\x20must\x20be\x20clear','dispatch','map','onclose','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','Connection:\x20Upgrade','join','statusCode','autoPong','kError','total-length','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','cleanup','toString','jobs','size','Sec-WebSocket-Protocol','call','Sec-WebSocket-Protocol:\x20','client','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','haveLength','2086091qLEPpf','kReason','serverMaxWindowBits','slice','enqueue','isValidUTF8','arraybuffer','__esModule','CONNECTING','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','username','Invalid\x20Sec-WebSocket-Accept\x20header','createDeflateRaw','write','number','getPayloadLength64','addEventListener','cookie','isPaused','_readyState','_allowSynchronousEvents','onerror','sec-websocket-key','completeUpgrade','concurrencyLimit','wasClean','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','update','HTTP/1.1\x20101\x20Switching\x20Protocols','permessage-deflate','authorized','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','base64','startLoop','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','kAborted','_compress','Blob','destroyed','getInfo','format','ws+unix:','handleEvent','createError','zlibInflateOptions','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','acceptAsServer','error','Parameter\x20\x22','getBlobData','_messageLength','from','_paused','_final','_configService','_inflate','_threshold','length','binaryType','_redirects','objectMode','handshakeTimeout','callback','FIN\x20must\x20be\x20set','OPEN','WS_ERR_EXPECTED_FIN','send','value','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','getPayloadLength16','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','handleProtocols','object','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','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'];_0x1533=function(){return _0x41cb78;};return _0x1533();}import _0x46d509 from'zlib';import _0x402a52 from'buffer';import{ISnapshotServerService as _0x3be298}from'@univerjs-pro/collaboration';const Be=_0x4f6260(0x232),Ft={'customHeaders':{}};function Wt(_0x346954){const _0x330ad6=_0x4f6260;return _0x346954&&_0x346954[_0x330ad6(0x188)]&&Object[_0x330ad6(0xd9)][_0x330ad6(0x12d)][_0x330ad6(0x17c)](_0x346954,_0x330ad6(0xb4))?_0x346954[_0x330ad6(0xb4)]:_0x346954;}function ut(_0x15fd62){const _0x32d20d=_0x4f6260;if(Object['prototype'][_0x32d20d(0x12d)][_0x32d20d(0x17c)](_0x15fd62,_0x32d20d(0x188)))return _0x15fd62;var _0x4f9e10=_0x15fd62[_0x32d20d(0xb4)];if(typeof _0x4f9e10==_0x32d20d(0x14d)){var _0x3789ed=function _0x5e088c(){const _0x4889dd=_0x32d20d;var _0x4cac07=!0x1;try{_0x4cac07=this instanceof _0x5e088c;}catch{}return _0x4cac07?Reflect[_0x4889dd(0xcb)](_0x4f9e10,arguments,this[_0x4889dd(0x20a)]):_0x4f9e10['apply'](this,arguments);};_0x3789ed[_0x32d20d(0xd9)]=_0x4f9e10[_0x32d20d(0xd9)];}else _0x3789ed={};return Object['defineProperty'](_0x3789ed,'__esModule',{'value':!0x0}),Object[_0x32d20d(0x211)](_0x15fd62)[_0x32d20d(0x120)](function(_0x2f2c79){const _0x15727d=_0x32d20d;var _0x2f31bb=Object[_0x15727d(0x133)](_0x15fd62,_0x2f2c79);Object[_0x15727d(0x20f)](_0x3789ed,_0x2f2c79,_0x2f31bb[_0x15727d(0x237)]?_0x2f31bb:{'enumerable':!0x0,'get':function(){return _0x15fd62[_0x2f2c79];}});}),_0x3789ed;}var te={'exports':{}},ge,Ye;function V(){const _0x4f954f=_0x4f6260;if(Ye)return ge;Ye=0x1;const _0x1dd2fa=[_0x4f954f(0x1f7),_0x4f954f(0x187),_0x4f954f(0xd8)],_0x5c5c0e=typeof Blob<'u';return _0x5c5c0e&&_0x1dd2fa[_0x4f954f(0x162)](_0x4f954f(0x22d)),ge={'BINARY_TYPES':_0x1dd2fa,'EMPTY_BUFFER':Buffer[_0x4f954f(0x12a)](0x0),'GUID':_0x4f954f(0x1a0),'hasBlob':_0x5c5c0e,'kForOnEventAttribute':Symbol(_0x4f954f(0x1e0)),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x4f954f(0x150)),'kWebSocket':Symbol(_0x4f954f(0xd0)),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0x4f6260(0x153)](Object[_0x4f6260(0x20f)]({'__proto__':null,'default':jt},Symbol[_0x4f6260(0x125)],{'value':'Module'})),Vt=ut(Gt);var Ke;function ce(){const _0x40a466=_0x4f6260;if(Ke)return te[_0x40a466(0x1e9)];Ke=0x1;const {EMPTY_BUFFER:_0x3bc8b3}=V(),_0x47063b=Buffer[Symbol[_0x40a466(0x1f1)]];function _0x558ea1(_0x2a395d,_0x869a0c){const _0x2285e9=_0x40a466;if(_0x2a395d[_0x2285e9(0x1ba)]===0x0)return _0x3bc8b3;if(_0x2a395d[_0x2285e9(0x1ba)]===0x1)return _0x2a395d[0x0];const _0x3f58f7=Buffer[_0x2285e9(0x217)](_0x869a0c);let _0x1a73a4=0x0;for(let _0x2d8ecd=0x0;_0x2d8ecd<_0x2a395d[_0x2285e9(0x1ba)];_0x2d8ecd++){const _0x1387c5=_0x2a395d[_0x2d8ecd];_0x3f58f7[_0x2285e9(0xb1)](_0x1387c5,_0x1a73a4),_0x1a73a4+=_0x1387c5[_0x2285e9(0x1ba)];}return _0x1a73a4<_0x869a0c?new _0x47063b(_0x3f58f7[_0x2285e9(0x10b)],_0x3f58f7[_0x2285e9(0x207)],_0x1a73a4):_0x3f58f7;}function _0x3d2dee(_0x5c77f3,_0x892d48,_0x488116,_0x396822,_0x4dbb03){for(let _0x59fea8=0x0;_0x59fea8<_0x4dbb03;_0x59fea8++)_0x488116[_0x396822+_0x59fea8]=_0x5c77f3[_0x59fea8]^_0x892d48[_0x59fea8&0x3];}function _0x1f39ab(_0xba8637,_0x1ff7c7){for(let _0x54f155=0x0;_0x54f155<_0xba8637['length'];_0x54f155++)_0xba8637[_0x54f155]^=_0x1ff7c7[_0x54f155&0x3];}function _0x296998(_0x4d7ac7){const _0x49f67d=_0x40a466;return _0x4d7ac7[_0x49f67d(0x1ba)]===_0x4d7ac7[_0x49f67d(0x10b)][_0x49f67d(0x22f)]?_0x4d7ac7[_0x49f67d(0x10b)]:_0x4d7ac7[_0x49f67d(0x10b)][_0x49f67d(0x184)](_0x4d7ac7[_0x49f67d(0x207)],_0x4d7ac7[_0x49f67d(0x207)]+_0x4d7ac7[_0x49f67d(0x1ba)]);}function _0x2d6e97(_0x5cd93b){const _0x131ad3=_0x40a466;if(_0x2d6e97[_0x131ad3(0x9d)]=!0x0,Buffer[_0x131ad3(0x15e)](_0x5cd93b))return _0x5cd93b;let _0x128e3f;return _0x5cd93b instanceof ArrayBuffer?_0x128e3f=new _0x47063b(_0x5cd93b):ArrayBuffer['isView'](_0x5cd93b)?_0x128e3f=new _0x47063b(_0x5cd93b['buffer'],_0x5cd93b[_0x131ad3(0x207)],_0x5cd93b[_0x131ad3(0x22f)]):(_0x128e3f=Buffer[_0x131ad3(0x1b4)](_0x5cd93b),_0x2d6e97['readOnly']=!0x1),_0x128e3f;}if(te[_0x40a466(0x1e9)]={'concat':_0x558ea1,'mask':_0x3d2dee,'toArrayBuffer':_0x296998,'toBuffer':_0x2d6e97,'unmask':_0x1f39ab},!process[_0x40a466(0x128)]['WS_NO_BUFFER_UTIL'])try{const _0xcebde0=Vt;te['exports'][_0x40a466(0x114)]=function(_0x10aee9,_0x42f68c,_0x52a70b,_0x2d514e,_0x22107a){const _0x37e89c=_0x40a466;_0x22107a<0x30?_0x3d2dee(_0x10aee9,_0x42f68c,_0x52a70b,_0x2d514e,_0x22107a):_0xcebde0[_0x37e89c(0x114)](_0x10aee9,_0x42f68c,_0x52a70b,_0x2d514e,_0x22107a);},te[_0x40a466(0x1e9)]['unmask']=function(_0xea0cb0,_0x4224ab){const _0x3b040f=_0x40a466;_0xea0cb0[_0x3b040f(0x1ba)]<0x20?_0x1f39ab(_0xea0cb0,_0x4224ab):_0xcebde0['unmask'](_0xea0cb0,_0x4224ab);};}catch{}return te['exports'];}var ye,Xe;function qt(){const _0x24295c=_0x4f6260;if(Xe)return ye;Xe=0x1;const _0x500b8c=Symbol(_0x24295c(0x1e2)),_0x424f0c=Symbol(_0x24295c(0x112));class _0x32c1d2{constructor(_0x518eb3){const _0x4234ee=_0x24295c;this[_0x500b8c]=()=>{const _0x51dc72=_0x115a;this[_0x51dc72(0xac)]--,this[_0x424f0c]();},this[_0x4234ee(0x14c)]=_0x518eb3||0x1/0x0,this['jobs']=[],this[_0x4234ee(0xac)]=0x0;}[_0x24295c(0x209)](_0xdc4dd){const _0x166f35=_0x24295c;this[_0x166f35(0x179)]['push'](_0xdc4dd),this[_0x424f0c]();}[_0x424f0c](){const _0x5a0731=_0x24295c;if(this['pending']!==this[_0x5a0731(0x14c)]&&this[_0x5a0731(0x179)][_0x5a0731(0x1ba)]){const _0x46144b=this[_0x5a0731(0x179)][_0x5a0731(0xc5)]();this['pending']++,_0x46144b(this[_0x500b8c]);}}}return ye=_0x32c1d2,ye;}var ve,Ze;function he(){const _0x37a44f=_0x4f6260;if(Ze)return ve;Ze=0x1;const _0x5c478e=_0x46d509,_0x2e445d=ce(),_0x3467dc=qt(),{kStatusCode:_0x2835fd}=V(),_0x5b7155=Buffer[Symbol[_0x37a44f(0x1f1)]],_0x44c693=Buffer[_0x37a44f(0x1b4)]([0x0,0x0,0xff,0xff]),_0x102886=Symbol(_0x37a44f(0x19e)),_0x3dc319=Symbol(_0x37a44f(0x175)),_0xfd983a=Symbol(_0x37a44f(0x1bf)),_0x5129b5=Symbol('buffers'),_0x44101f=Symbol('error');let _0x595b1b;class _0xfa252a{constructor(_0x52d379,_0x1688ed,_0x45815e){const _0x3fa80d=_0x37a44f;if(this[_0x3fa80d(0x1fd)]=_0x45815e|0x0,this[_0x3fa80d(0x126)]=_0x52d379||{},this[_0x3fa80d(0x1b9)]=this[_0x3fa80d(0x126)][_0x3fa80d(0x201)]!==void 0x0?this[_0x3fa80d(0x126)][_0x3fa80d(0x201)]:0x400,this[_0x3fa80d(0x20e)]=!!_0x1688ed,this[_0x3fa80d(0x1e6)]=null,this['_inflate']=null,this[_0x3fa80d(0x229)]=null,!_0x595b1b){const _0x113193=this[_0x3fa80d(0x126)]['concurrencyLimit']!==void 0x0?this[_0x3fa80d(0x126)][_0x3fa80d(0x199)]:0xa;_0x595b1b=new _0x3467dc(_0x113193);}}static get[_0x37a44f(0xd5)](){const _0x5e2f4c=_0x37a44f;return _0x5e2f4c(0x19e);}[_0x37a44f(0x1d7)](){const _0xde0db8=_0x37a44f,_0x256653={};return this['_options'][_0xde0db8(0x216)]&&(_0x256653[_0xde0db8(0xb3)]=!0x0),this[_0xde0db8(0x126)][_0xde0db8(0x14a)]&&(_0x256653[_0xde0db8(0x135)]=!0x0),this[_0xde0db8(0x126)][_0xde0db8(0x183)]&&(_0x256653[_0xde0db8(0x1dd)]=this[_0xde0db8(0x126)][_0xde0db8(0x183)]),this[_0xde0db8(0x126)][_0xde0db8(0x13d)]?_0x256653[_0xde0db8(0xb5)]=this[_0xde0db8(0x126)]['clientMaxWindowBits']:this['_options'][_0xde0db8(0x13d)]==null&&(_0x256653['client_max_window_bits']=!0x0),_0x256653;}[_0x37a44f(0x160)](_0xbde569){const _0x1f85ae=_0x37a44f;return _0xbde569=this[_0x1f85ae(0xe1)](_0xbde569),this[_0x1f85ae(0x229)]=this[_0x1f85ae(0x20e)]?this[_0x1f85ae(0x1af)](_0xbde569):this['acceptAsClient'](_0xbde569),this[_0x1f85ae(0x229)];}[_0x37a44f(0x177)](){const _0xdaf416=_0x37a44f;if(this[_0xdaf416(0x1b8)]&&(this['_inflate']['close'](),this[_0xdaf416(0x1b8)]=null),this[_0xdaf416(0x1e6)]){const _0x140636=this[_0xdaf416(0x1e6)][_0xfd983a];this[_0xdaf416(0x1e6)]['close'](),this[_0xdaf416(0x1e6)]=null,_0x140636&&_0x140636(new Error(_0xdaf416(0xd1)));}}['acceptAsServer'](_0x57aa3c){const _0x18408d=_0x37a44f,_0x26e611=this['_options'],_0x1f4af5=_0x57aa3c['find'](_0x3837eb=>!(_0x26e611[_0x18408d(0x216)]===!0x1&&_0x3837eb[_0x18408d(0xb3)]||_0x3837eb[_0x18408d(0x1dd)]&&(_0x26e611[_0x18408d(0x183)]===!0x1||typeof _0x26e611[_0x18408d(0x183)]==_0x18408d(0x18f)&&_0x26e611[_0x18408d(0x183)]>_0x3837eb[_0x18408d(0x1dd)])||typeof _0x26e611[_0x18408d(0x13d)]==_0x18408d(0x18f)&&!_0x3837eb['client_max_window_bits']));if(!_0x1f4af5)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x26e611[_0x18408d(0x216)]&&(_0x1f4af5['server_no_context_takeover']=!0x0),_0x26e611['clientNoContextTakeover']&&(_0x1f4af5['client_no_context_takeover']=!0x0),typeof _0x26e611[_0x18408d(0x183)]==_0x18408d(0x18f)&&(_0x1f4af5[_0x18408d(0x1dd)]=_0x26e611[_0x18408d(0x183)]),typeof _0x26e611['clientMaxWindowBits']=='number'?_0x1f4af5[_0x18408d(0xb5)]=_0x26e611[_0x18408d(0x13d)]:(_0x1f4af5['client_max_window_bits']===!0x0||_0x26e611[_0x18408d(0x13d)]===!0x1)&&delete _0x1f4af5[_0x18408d(0xb5)],_0x1f4af5;}[_0x37a44f(0xb7)](_0x56351c){const _0x529423=_0x37a44f,_0x5040e7=_0x56351c[0x0];if(this[_0x529423(0x126)]['clientNoContextTakeover']===!0x1&&_0x5040e7[_0x529423(0x135)])throw new Error(_0x529423(0xe6));if(!_0x5040e7['client_max_window_bits'])typeof this[_0x529423(0x126)][_0x529423(0x13d)]==_0x529423(0x18f)&&(_0x5040e7['client_max_window_bits']=this[_0x529423(0x126)][_0x529423(0x13d)]);else{if(this[_0x529423(0x126)][_0x529423(0x13d)]===!0x1||typeof this[_0x529423(0x126)][_0x529423(0x13d)]==_0x529423(0x18f)&&_0x5040e7['client_max_window_bits']>this['_options'][_0x529423(0x13d)])throw new Error(_0x529423(0xbb));}return _0x5040e7;}[_0x37a44f(0xe1)](_0x5a1e11){const _0x2c5770=_0x37a44f;return _0x5a1e11[_0x2c5770(0x120)](_0x2d46b0=>{const _0x16d674=_0x2c5770;Object[_0x16d674(0x211)](_0x2d46b0)[_0x16d674(0x120)](_0x4ec678=>{const _0x17f2a3=_0x16d674;let _0x224b46=_0x2d46b0[_0x4ec678];if(_0x224b46[_0x17f2a3(0x1ba)]>0x1)throw new Error(_0x17f2a3(0x1b1)+_0x4ec678+_0x17f2a3(0xa7));if(_0x224b46=_0x224b46[0x0],_0x4ec678==='client_max_window_bits'){if(_0x224b46!==!0x0){const _0x598d77=+_0x224b46;if(!Number['isInteger'](_0x598d77)||_0x598d77<0x8||_0x598d77>0xf)throw new TypeError(_0x17f2a3(0x12c)+_0x4ec678+_0x17f2a3(0x159)+_0x224b46);_0x224b46=_0x598d77;}else{if(!this[_0x17f2a3(0x20e)])throw new TypeError(_0x17f2a3(0x12c)+_0x4ec678+_0x17f2a3(0x159)+_0x224b46);}}else{if(_0x4ec678===_0x17f2a3(0x1dd)){const _0x16ab45=+_0x224b46;if(!Number['isInteger'](_0x16ab45)||_0x16ab45<0x8||_0x16ab45>0xf)throw new TypeError(_0x17f2a3(0x12c)+_0x4ec678+_0x17f2a3(0x159)+_0x224b46);_0x224b46=_0x16ab45;}else{if(_0x4ec678===_0x17f2a3(0x135)||_0x4ec678===_0x17f2a3(0xb3)){if(_0x224b46!==!0x0)throw new TypeError(_0x17f2a3(0x12c)+_0x4ec678+'\x22:\x20'+_0x224b46);}else throw new Error(_0x17f2a3(0xf6)+_0x4ec678+'\x22');}}_0x2d46b0[_0x4ec678]=_0x224b46;});}),_0x5a1e11;}[_0x37a44f(0x118)](_0x5bfd54,_0x173951,_0x4412cb){const _0x2da38e=_0x37a44f;_0x595b1b[_0x2da38e(0x209)](_0x193115=>{const _0x32e974=_0x2da38e;this[_0x32e974(0x8c)](_0x5bfd54,_0x173951,(_0x2a8e1,_0x1a0608)=>{_0x193115(),_0x4412cb(_0x2a8e1,_0x1a0608);});});}[_0x37a44f(0x1e1)](_0x551bc7,_0x48b761,_0x557a18){const _0x129aa3=_0x37a44f;_0x595b1b[_0x129aa3(0x209)](_0x95324=>{const _0x45b7f2=_0x129aa3;this[_0x45b7f2(0x1a5)](_0x551bc7,_0x48b761,(_0x52a4f4,_0x4cb524)=>{_0x95324(),_0x557a18(_0x52a4f4,_0x4cb524);});});}[_0x37a44f(0x8c)](_0x3afc57,_0x4897d9,_0x28cd0f){const _0xd619c7=_0x37a44f,_0x4568ef=this['_isServer']?_0xd619c7(0x17e):_0xd619c7(0x95);if(!this[_0xd619c7(0x1b8)]){const _0x3f0d98=_0x4568ef+_0xd619c7(0xc3),_0x1c0dfd=typeof this[_0xd619c7(0x229)][_0x3f0d98]!=_0xd619c7(0x18f)?_0x5c478e['Z_DEFAULT_WINDOWBITS']:this[_0xd619c7(0x229)][_0x3f0d98];this[_0xd619c7(0x1b8)]=_0x5c478e['createInflateRaw']({...this[_0xd619c7(0x126)][_0xd619c7(0x1ad)],'windowBits':_0x1c0dfd}),this[_0xd619c7(0x1b8)][_0x102886]=this,this['_inflate'][_0x3dc319]=0x0,this[_0xd619c7(0x1b8)][_0x5129b5]=[],this[_0xd619c7(0x1b8)]['on'](_0xd619c7(0x1b0),_0xc15dc8),this['_inflate']['on']('data',_0x33850e);}this[_0xd619c7(0x1b8)][_0xfd983a]=_0x28cd0f,this[_0xd619c7(0x1b8)][_0xd619c7(0x18e)](_0x3afc57),_0x4897d9&&this[_0xd619c7(0x1b8)][_0xd619c7(0x18e)](_0x44c693),this[_0xd619c7(0x1b8)]['flush'](()=>{const _0x1d0db0=_0xd619c7,_0x555d35=this[_0x1d0db0(0x1b8)][_0x44101f];if(_0x555d35){this[_0x1d0db0(0x1b8)][_0x1d0db0(0xf4)](),this[_0x1d0db0(0x1b8)]=null,_0x28cd0f(_0x555d35);return;}const _0x303193=_0x2e445d[_0x1d0db0(0x10c)](this[_0x1d0db0(0x1b8)][_0x5129b5],this[_0x1d0db0(0x1b8)][_0x3dc319]);this[_0x1d0db0(0x1b8)]['_readableState'][_0x1d0db0(0x1ff)]?(this[_0x1d0db0(0x1b8)][_0x1d0db0(0xf4)](),this['_inflate']=null):(this['_inflate'][_0x3dc319]=0x0,this[_0x1d0db0(0x1b8)][_0x5129b5]=[],_0x4897d9&&this[_0x1d0db0(0x229)][_0x4568ef+_0x1d0db0(0x13c)]&&this[_0x1d0db0(0x1b8)][_0x1d0db0(0xbe)]()),_0x28cd0f(null,_0x303193);});}['_compress'](_0x651d31,_0x2f092b,_0x31a2ac){const _0x3ee086=_0x37a44f,_0x6a1b7e=this[_0x3ee086(0x20e)]?'server':_0x3ee086(0x17e);if(!this[_0x3ee086(0x1e6)]){const _0x47c728=_0x6a1b7e+'_max_window_bits',_0x31f431=typeof this['params'][_0x47c728]!=_0x3ee086(0x18f)?_0x5c478e[_0x3ee086(0xba)]:this[_0x3ee086(0x229)][_0x47c728];this[_0x3ee086(0x1e6)]=_0x5c478e[_0x3ee086(0x18d)]({...this['_options']['zlibDeflateOptions'],'windowBits':_0x31f431}),this[_0x3ee086(0x1e6)][_0x3dc319]=0x0,this['_deflate'][_0x5129b5]=[],this[_0x3ee086(0x1e6)]['on'](_0x3ee086(0xfb),_0x339d17);}this[_0x3ee086(0x1e6)][_0xfd983a]=_0x31a2ac,this[_0x3ee086(0x1e6)][_0x3ee086(0x18e)](_0x651d31),this[_0x3ee086(0x1e6)][_0x3ee086(0x131)](_0x5c478e['Z_SYNC_FLUSH'],()=>{const _0x875666=_0x3ee086;if(!this[_0x875666(0x1e6)])return;let _0x7217df=_0x2e445d[_0x875666(0x10c)](this[_0x875666(0x1e6)][_0x5129b5],this[_0x875666(0x1e6)][_0x3dc319]);_0x2f092b&&(_0x7217df=new _0x5b7155(_0x7217df[_0x875666(0x10b)],_0x7217df[_0x875666(0x207)],_0x7217df['length']-0x4)),this[_0x875666(0x1e6)][_0xfd983a]=null,this[_0x875666(0x1e6)][_0x3dc319]=0x0,this[_0x875666(0x1e6)][_0x5129b5]=[],_0x2f092b&&this[_0x875666(0x229)][_0x6a1b7e+_0x875666(0x13c)]&&this[_0x875666(0x1e6)][_0x875666(0xbe)](),_0x31a2ac(null,_0x7217df);});}}ve=_0xfa252a;function _0x339d17(_0xcc1e87){const _0x137844=_0x37a44f;this[_0x5129b5]['push'](_0xcc1e87),this[_0x3dc319]+=_0xcc1e87[_0x137844(0x1ba)];}function _0x33850e(_0x253e4d){const _0x21208c=_0x37a44f;if(this[_0x3dc319]+=_0x253e4d[_0x21208c(0x1ba)],this[_0x102886][_0x21208c(0x1fd)]<0x1||this[_0x3dc319]<=this[_0x102886][_0x21208c(0x1fd)]){this[_0x5129b5][_0x21208c(0x162)](_0x253e4d);return;}this[_0x44101f]=new RangeError(_0x21208c(0x225)),this[_0x44101f]['code']=_0x21208c(0xb0),this[_0x44101f][_0x2835fd]=0x3f1,this[_0x21208c(0xe7)](_0x21208c(0xfb),_0x33850e),this[_0x21208c(0xbe)]();}function _0xc15dc8(_0x303a57){const _0x3cf509=_0x37a44f;if(this[_0x102886][_0x3cf509(0x1b8)]=null,this[_0x44101f]){this[_0xfd983a](this[_0x44101f]);return;}_0x303a57[_0x2835fd]=0x3ef,this[_0xfd983a](_0x303a57);}return ve;}function _0x115a(_0x567597,_0x8f5ff7){const _0x1533ab=_0x1533();return _0x115a=function(_0x115ab2,_0x17d9ba){_0x115ab2=_0x115ab2-0x8a;let _0x38e3af=_0x1533ab[_0x115ab2];return _0x38e3af;},_0x115a(_0x567597,_0x8f5ff7);}var re={'exports':{}};const Ht={},zt=Object[_0x4f6260(0x153)](Object[_0x4f6260(0x20f)]({'__proto__':null,'default':Ht},Symbol[_0x4f6260(0x125)],{'value':'Module'})),Yt=ut(zt);var Qe;function ne(){const _0x26a552=_0x4f6260;if(Qe)return re['exports'];Qe=0x1;const {isUtf8:_0x3815e2}=_0x402a52,{hasBlob:_0x874d7}=V(),_0x4f5fbd=[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 _0x2a09e0(_0x2fb316){return _0x2fb316>=0x3e8&&_0x2fb316<=0x3f6&&_0x2fb316!==0x3ec&&_0x2fb316!==0x3ed&&_0x2fb316!==0x3ee||_0x2fb316>=0xbb8&&_0x2fb316<=0x1387;}function _0x262cc0(_0x437935){const _0x47b572=_0x115a,_0x167267=_0x437935[_0x47b572(0x1ba)];let _0x591bdc=0x0;for(;_0x591bdc<_0x167267;)if((_0x437935[_0x591bdc]&0x80)===0x0)_0x591bdc++;else{if((_0x437935[_0x591bdc]&0xe0)===0xc0){if(_0x591bdc+0x1===_0x167267||(_0x437935[_0x591bdc+0x1]&0xc0)!==0x80||(_0x437935[_0x591bdc]&0xfe)===0xc0)return!0x1;_0x591bdc+=0x2;}else{if((_0x437935[_0x591bdc]&0xf0)===0xe0){if(_0x591bdc+0x2>=_0x167267||(_0x437935[_0x591bdc+0x1]&0xc0)!==0x80||(_0x437935[_0x591bdc+0x2]&0xc0)!==0x80||_0x437935[_0x591bdc]===0xe0&&(_0x437935[_0x591bdc+0x1]&0xe0)===0x80||_0x437935[_0x591bdc]===0xed&&(_0x437935[_0x591bdc+0x1]&0xe0)===0xa0)return!0x1;_0x591bdc+=0x3;}else{if((_0x437935[_0x591bdc]&0xf8)===0xf0){if(_0x591bdc+0x3>=_0x167267||(_0x437935[_0x591bdc+0x1]&0xc0)!==0x80||(_0x437935[_0x591bdc+0x2]&0xc0)!==0x80||(_0x437935[_0x591bdc+0x3]&0xc0)!==0x80||_0x437935[_0x591bdc]===0xf0&&(_0x437935[_0x591bdc+0x1]&0xf0)===0x80||_0x437935[_0x591bdc]===0xf4&&_0x437935[_0x591bdc+0x1]>0x8f||_0x437935[_0x591bdc]>0xf4)return!0x1;_0x591bdc+=0x4;}else return!0x1;}}}return!0x0;}function _0x1219d8(_0xcd5fd){const _0x5a1fe8=_0x115a;return _0x874d7&&typeof _0xcd5fd==_0x5a1fe8(0x1c9)&&typeof _0xcd5fd[_0x5a1fe8(0xd4)]==_0x5a1fe8(0x14d)&&typeof _0xcd5fd[_0x5a1fe8(0xdb)]=='string'&&typeof _0xcd5fd[_0x5a1fe8(0x208)]==_0x5a1fe8(0x14d)&&(_0xcd5fd[Symbol['toStringTag']]===_0x5a1fe8(0x1a6)||_0xcd5fd[Symbol[_0x5a1fe8(0x125)]]===_0x5a1fe8(0x101));}if(re['exports']={'isBlob':_0x1219d8,'isValidStatusCode':_0x2a09e0,'isValidUTF8':_0x262cc0,'tokenChars':_0x4f5fbd},_0x3815e2)re[_0x26a552(0x1e9)][_0x26a552(0x186)]=function(_0x558b53){const _0x29aa64=_0x26a552;return _0x558b53[_0x29aa64(0x1ba)]<0x18?_0x262cc0(_0x558b53):_0x3815e2(_0x558b53);};else{if(!process[_0x26a552(0x128)][_0x26a552(0x138)])try{const _0x9fc934=Yt;re[_0x26a552(0x1e9)][_0x26a552(0x186)]=function(_0x273408){const _0x492b37=_0x26a552;return _0x273408[_0x492b37(0x1ba)]<0x20?_0x262cc0(_0x273408):_0x9fc934(_0x273408);};}catch{}}return re[_0x26a552(0x1e9)];}var Se,Je;function dt(){const _0x561fd6=_0x4f6260;if(Je)return Se;Je=0x1;const {Writable:_0x58dc52}=_0xa793d9,_0x4b91c9=he(),{BINARY_TYPES:_0x1d7dd6,EMPTY_BUFFER:_0xcbd203,kStatusCode:_0x573e83,kWebSocket:_0xd11ee6}=V(),{concat:_0x1357fe,toArrayBuffer:_0x1349a3,unmask:_0x577373}=ce(),{isValidStatusCode:_0x113a3e,isValidUTF8:_0x25ffe2}=ne(),_0x2d5935=Buffer[Symbol['species']],_0x2c562d=0x0,_0x3ffe73=0x1,_0x56dab4=0x2,_0x18b565=0x3,_0x530c9e=0x4,_0x13baa8=0x5,_0x5b41f6=0x6;class _0x46a9de extends _0x58dc52{constructor(_0x3d7c94={}){const _0xb4290e=_0x115a;super(),this[_0xb4290e(0x195)]=_0x3d7c94[_0xb4290e(0x228)]!==void 0x0?_0x3d7c94[_0xb4290e(0x228)]:!0x0,this[_0xb4290e(0xfe)]=_0x3d7c94[_0xb4290e(0x1bb)]||_0x1d7dd6[0x0],this['_extensions']=_0x3d7c94[_0xb4290e(0x1d5)]||{},this[_0xb4290e(0x20e)]=!!_0x3d7c94[_0xb4290e(0x168)],this[_0xb4290e(0x1fd)]=_0x3d7c94[_0xb4290e(0xf9)]|0x0,this['_skipUTF8Validation']=!!_0x3d7c94[_0xb4290e(0x11e)],this[_0xd11ee6]=void 0x0,this[_0xb4290e(0x15b)]=0x0,this[_0xb4290e(0x11d)]=[],this[_0xb4290e(0x215)]=!0x1,this['_payloadLength']=0x0,this['_mask']=void 0x0,this[_0xb4290e(0x1cc)]=0x0,this[_0xb4290e(0x1f8)]=!0x1,this[_0xb4290e(0xab)]=!0x1,this['_opcode']=0x0,this[_0xb4290e(0x1fa)]=0x0,this[_0xb4290e(0x1b3)]=0x0,this['_fragments']=[],this['_errored']=!0x1,this['_loop']=!0x1,this[_0xb4290e(0xd2)]=_0x2c562d;}['_write'](_0xf14576,_0x205bf0,_0x1a10be){const _0x2cad40=_0x115a;if(this[_0x2cad40(0x205)]===0x8&&this['_state']==_0x2c562d)return _0x1a10be();this['_bufferedBytes']+=_0xf14576[_0x2cad40(0x1ba)],this['_buffers'][_0x2cad40(0x162)](_0xf14576),this['startLoop'](_0x1a10be);}[_0x561fd6(0x1ef)](_0x5076bc){const _0x1527d5=_0x561fd6;if(this[_0x1527d5(0x15b)]-=_0x5076bc,_0x5076bc===this[_0x1527d5(0x11d)][0x0][_0x1527d5(0x1ba)])return this['_buffers'][_0x1527d5(0xc5)]();if(_0x5076bc<this['_buffers'][0x0][_0x1527d5(0x1ba)]){const _0x5e6b23=this[_0x1527d5(0x11d)][0x0];return this[_0x1527d5(0x11d)][0x0]=new _0x2d5935(_0x5e6b23[_0x1527d5(0x10b)],_0x5e6b23[_0x1527d5(0x207)]+_0x5076bc,_0x5e6b23['length']-_0x5076bc),new _0x2d5935(_0x5e6b23['buffer'],_0x5e6b23['byteOffset'],_0x5076bc);}const _0x35b499=Buffer['allocUnsafe'](_0x5076bc);do{const _0x3bae97=this[_0x1527d5(0x11d)][0x0],_0x1e753a=_0x35b499[_0x1527d5(0x1ba)]-_0x5076bc;_0x5076bc>=_0x3bae97['length']?_0x35b499[_0x1527d5(0xb1)](this[_0x1527d5(0x11d)]['shift'](),_0x1e753a):(_0x35b499[_0x1527d5(0xb1)](new Uint8Array(_0x3bae97['buffer'],_0x3bae97[_0x1527d5(0x207)],_0x5076bc),_0x1e753a),this[_0x1527d5(0x11d)][0x0]=new _0x2d5935(_0x3bae97[_0x1527d5(0x10b)],_0x3bae97['byteOffset']+_0x5076bc,_0x3bae97[_0x1527d5(0x1ba)]-_0x5076bc)),_0x5076bc-=_0x3bae97[_0x1527d5(0x1ba)];}while(_0x5076bc>0x0);return _0x35b499;}[_0x561fd6(0x1a2)](_0x1d3cc2){const _0x54225f=_0x561fd6;this['_loop']=!0x0;do switch(this['_state']){case _0x2c562d:this[_0x54225f(0x1a8)](_0x1d3cc2);break;case _0x3ffe73:this[_0x54225f(0x1c6)](_0x1d3cc2);break;case _0x56dab4:this[_0x54225f(0x190)](_0x1d3cc2);break;case _0x18b565:this[_0x54225f(0x103)]();break;case _0x530c9e:this[_0x54225f(0x221)](_0x1d3cc2);break;case _0x13baa8:case _0x5b41f6:this['_loop']=!0x1;return;}while(this[_0x54225f(0x104)]);this[_0x54225f(0xfd)]||_0x1d3cc2();}['getInfo'](_0x28f20e){const _0x4b1f40=_0x561fd6;if(this[_0x4b1f40(0x15b)]<0x2){this['_loop']=!0x1;return;}const _0x247cfa=this[_0x4b1f40(0x1ef)](0x2);if((_0x247cfa[0x0]&0x30)!==0x0){const _0x599394=this[_0x4b1f40(0x1ac)](RangeError,_0x4b1f40(0x1c7),!0x0,0x3ea,_0x4b1f40(0x148));_0x28f20e(_0x599394);return;}const _0x3d76aa=(_0x247cfa[0x0]&0x40)===0x40;if(_0x3d76aa&&!this[_0x4b1f40(0x1d1)][_0x4b91c9[_0x4b1f40(0xd5)]]){const _0x3cd205=this[_0x4b1f40(0x1ac)](RangeError,_0x4b1f40(0xdd),!0x0,0x3ea,_0x4b1f40(0x1ce));_0x28f20e(_0x3cd205);return;}if(this[_0x4b1f40(0xab)]=(_0x247cfa[0x0]&0x80)===0x80,this[_0x4b1f40(0x205)]=_0x247cfa[0x0]&0xf,this[_0x4b1f40(0x21b)]=_0x247cfa[0x1]&0x7f,this[_0x4b1f40(0x205)]===0x0){if(_0x3d76aa){const _0x310782=this[_0x4b1f40(0x1ac)](RangeError,_0x4b1f40(0xdd),!0x0,0x3ea,_0x4b1f40(0x1ce));_0x28f20e(_0x310782);return;}if(!this[_0x4b1f40(0x1cc)]){const _0x4f061f=this['createError'](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x4b1f40(0x10f));_0x28f20e(_0x4f061f);return;}this[_0x4b1f40(0x205)]=this['_fragmented'];}else{if(this[_0x4b1f40(0x205)]===0x1||this[_0x4b1f40(0x205)]===0x2){if(this['_fragmented']){const _0x2feae9=this[_0x4b1f40(0x1ac)](RangeError,_0x4b1f40(0x1fb)+this[_0x4b1f40(0x205)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x28f20e(_0x2feae9);return;}this[_0x4b1f40(0x215)]=_0x3d76aa;}else{if(this[_0x4b1f40(0x205)]>0x7&&this[_0x4b1f40(0x205)]<0xb){if(!this['_fin']){const _0x4be1c0=this[_0x4b1f40(0x1ac)](RangeError,_0x4b1f40(0x1c0),!0x0,0x3ea,_0x4b1f40(0x1c2));_0x28f20e(_0x4be1c0);return;}if(_0x3d76aa){const _0xcece0c=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x28f20e(_0xcece0c);return;}if(this[_0x4b1f40(0x21b)]>0x7d||this[_0x4b1f40(0x205)]===0x8&&this[_0x4b1f40(0x21b)]===0x1){const _0x29f781=this[_0x4b1f40(0x1ac)](RangeError,_0x4b1f40(0x214)+this[_0x4b1f40(0x21b)],!0x0,0x3ea,_0x4b1f40(0x1a3));_0x28f20e(_0x29f781);return;}}else{const _0x5ba645=this[_0x4b1f40(0x1ac)](RangeError,_0x4b1f40(0x1fb)+this[_0x4b1f40(0x205)],!0x0,0x3ea,_0x4b1f40(0x10f));_0x28f20e(_0x5ba645);return;}}}if(!this[_0x4b1f40(0xab)]&&!this['_fragmented']&&(this[_0x4b1f40(0x1cc)]=this[_0x4b1f40(0x205)]),this['_masked']=(_0x247cfa[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x4b1f40(0x1f8)]){const _0x1d8365=this[_0x4b1f40(0x1ac)](RangeError,_0x4b1f40(0xaf),!0x0,0x3ea,_0x4b1f40(0xdc));_0x28f20e(_0x1d8365);return;}}else{if(this[_0x4b1f40(0x1f8)]){const _0x4b5719=this[_0x4b1f40(0x1ac)](RangeError,_0x4b1f40(0x16b),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x28f20e(_0x4b5719);return;}}this[_0x4b1f40(0x21b)]===0x7e?this[_0x4b1f40(0xd2)]=_0x3ffe73:this[_0x4b1f40(0x21b)]===0x7f?this[_0x4b1f40(0xd2)]=_0x56dab4:this[_0x4b1f40(0x180)](_0x28f20e);}['getPayloadLength16'](_0x47e835){const _0x49d1e6=_0x561fd6;if(this[_0x49d1e6(0x15b)]<0x2){this[_0x49d1e6(0x104)]=!0x1;return;}this[_0x49d1e6(0x21b)]=this[_0x49d1e6(0x1ef)](0x2)['readUInt16BE'](0x0),this[_0x49d1e6(0x180)](_0x47e835);}[_0x561fd6(0x190)](_0x1d8e3f){const _0x4a86f0=_0x561fd6;if(this[_0x4a86f0(0x15b)]<0x8){this[_0x4a86f0(0x104)]=!0x1;return;}const _0x4b497e=this[_0x4a86f0(0x1ef)](0x8),_0x1a58c5=_0x4b497e['readUInt32BE'](0x0);if(_0x1a58c5>Math['pow'](0x2,0x15)-0x1){const _0x70160e=this[_0x4a86f0(0x1ac)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x1d8e3f(_0x70160e);return;}this[_0x4a86f0(0x21b)]=_0x1a58c5*Math['pow'](0x2,0x20)+_0x4b497e[_0x4a86f0(0x124)](0x4),this[_0x4a86f0(0x180)](_0x1d8e3f);}[_0x561fd6(0x180)](_0x23582c){const _0xa99b70=_0x561fd6;if(this[_0xa99b70(0x21b)]&&this['_opcode']<0x8&&(this[_0xa99b70(0x1fa)]+=this['_payloadLength'],this[_0xa99b70(0x1fa)]>this[_0xa99b70(0x1fd)]&&this[_0xa99b70(0x1fd)]>0x0)){const _0x4e1a3c=this['createError'](RangeError,_0xa99b70(0x225),!0x1,0x3f1,_0xa99b70(0xb0));_0x23582c(_0x4e1a3c);return;}this[_0xa99b70(0x1f8)]?this[_0xa99b70(0xd2)]=_0x18b565:this[_0xa99b70(0xd2)]=_0x530c9e;}[_0x561fd6(0x103)](){const _0x4b065f=_0x561fd6;if(this[_0x4b065f(0x15b)]<0x4){this[_0x4b065f(0x104)]=!0x1;return;}this['_mask']=this[_0x4b065f(0x1ef)](0x4),this[_0x4b065f(0xd2)]=_0x530c9e;}['getData'](_0x29c574){const _0x2d622e=_0x561fd6;let _0x5a14bf=_0xcbd203;if(this['_payloadLength']){if(this[_0x2d622e(0x15b)]<this[_0x2d622e(0x21b)]){this['_loop']=!0x1;return;}_0x5a14bf=this[_0x2d622e(0x1ef)](this[_0x2d622e(0x21b)]),this['_masked']&&(this[_0x2d622e(0x1cd)][0x0]|this[_0x2d622e(0x1cd)][0x1]|this[_0x2d622e(0x1cd)][0x2]|this[_0x2d622e(0x1cd)][0x3])!==0x0&&_0x577373(_0x5a14bf,this[_0x2d622e(0x1cd)]);}if(this[_0x2d622e(0x205)]>0x7){this[_0x2d622e(0x167)](_0x5a14bf,_0x29c574);return;}if(this[_0x2d622e(0x215)]){this['_state']=_0x13baa8,this[_0x2d622e(0x118)](_0x5a14bf,_0x29c574);return;}_0x5a14bf[_0x2d622e(0x1ba)]&&(this['_messageLength']=this[_0x2d622e(0x1fa)],this[_0x2d622e(0xed)][_0x2d622e(0x162)](_0x5a14bf)),this['dataMessage'](_0x29c574);}[_0x561fd6(0x118)](_0x351937,_0x558eb6){const _0x137117=_0x561fd6;this[_0x137117(0x1d1)][_0x4b91c9[_0x137117(0xd5)]][_0x137117(0x118)](_0x351937,this[_0x137117(0xab)],(_0x1b196e,_0x2b9f84)=>{const _0x510663=_0x137117;if(_0x1b196e)return _0x558eb6(_0x1b196e);if(_0x2b9f84[_0x510663(0x1ba)]){if(this[_0x510663(0x1b3)]+=_0x2b9f84['length'],this[_0x510663(0x1b3)]>this[_0x510663(0x1fd)]&&this['_maxPayload']>0x0){const _0x1678a7=this[_0x510663(0x1ac)](RangeError,_0x510663(0x225),!0x1,0x3f1,_0x510663(0xb0));_0x558eb6(_0x1678a7);return;}this['_fragments'][_0x510663(0x162)](_0x2b9f84);}this[_0x510663(0xaa)](_0x558eb6),this[_0x510663(0xd2)]===_0x2c562d&&this[_0x510663(0x1a2)](_0x558eb6);});}[_0x561fd6(0xaa)](_0x3de771){const _0x25a3bc=_0x561fd6;if(!this[_0x25a3bc(0xab)]){this[_0x25a3bc(0xd2)]=_0x2c562d;return;}const _0x1190b8=this['_messageLength'],_0x3cbdbe=this['_fragments'];if(this[_0x25a3bc(0x1fa)]=0x0,this['_messageLength']=0x0,this[_0x25a3bc(0x1cc)]=0x0,this['_fragments']=[],this['_opcode']===0x2){let _0x1ad01e;this[_0x25a3bc(0xfe)]===_0x25a3bc(0x1f7)?_0x1ad01e=_0x1357fe(_0x3cbdbe,_0x1190b8):this[_0x25a3bc(0xfe)]===_0x25a3bc(0x187)?_0x1ad01e=_0x1349a3(_0x1357fe(_0x3cbdbe,_0x1190b8)):this[_0x25a3bc(0xfe)]==='blob'?_0x1ad01e=new Blob(_0x3cbdbe):_0x1ad01e=_0x3cbdbe,this['_allowSynchronousEvents']?(this[_0x25a3bc(0x13f)](_0x25a3bc(0xe0),_0x1ad01e,!0x0),this[_0x25a3bc(0xd2)]=_0x2c562d):(this[_0x25a3bc(0xd2)]=_0x5b41f6,setImmediate(()=>{const _0x3947a2=_0x25a3bc;this['emit'](_0x3947a2(0xe0),_0x1ad01e,!0x0),this[_0x3947a2(0xd2)]=_0x2c562d,this[_0x3947a2(0x1a2)](_0x3de771);}));}else{const _0x266f46=_0x1357fe(_0x3cbdbe,_0x1190b8);if(!this[_0x25a3bc(0xb2)]&&!_0x25ffe2(_0x266f46)){const _0x5bdf4a=this['createError'](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x25a3bc(0x1df));_0x3de771(_0x5bdf4a);return;}this[_0x25a3bc(0xd2)]===_0x13baa8||this['_allowSynchronousEvents']?(this[_0x25a3bc(0x13f)](_0x25a3bc(0xe0),_0x266f46,!0x1),this[_0x25a3bc(0xd2)]=_0x2c562d):(this[_0x25a3bc(0xd2)]=_0x5b41f6,setImmediate(()=>{const _0x2470dd=_0x25a3bc;this[_0x2470dd(0x13f)](_0x2470dd(0xe0),_0x266f46,!0x1),this[_0x2470dd(0xd2)]=_0x2c562d,this[_0x2470dd(0x1a2)](_0x3de771);}));}}[_0x561fd6(0x167)](_0x52290d,_0x3c03a5){const _0x280e92=_0x561fd6;if(this[_0x280e92(0x205)]===0x8){if(_0x52290d[_0x280e92(0x1ba)]===0x0)this['_loop']=!0x1,this['emit'](_0x280e92(0xd6),0x3ed,_0xcbd203),this['end']();else{const _0x252d1c=_0x52290d[_0x280e92(0x1db)](0x0);if(!_0x113a3e(_0x252d1c)){const _0x508d6e=this[_0x280e92(0x1ac)](RangeError,_0x280e92(0xb6)+_0x252d1c,!0x0,0x3ea,_0x280e92(0x132));_0x3c03a5(_0x508d6e);return;}const _0x120314=new _0x2d5935(_0x52290d[_0x280e92(0x10b)],_0x52290d[_0x280e92(0x207)]+0x2,_0x52290d['length']-0x2);if(!this[_0x280e92(0xb2)]&&!_0x25ffe2(_0x120314)){const _0x5017e0=this[_0x280e92(0x1ac)](Error,_0x280e92(0x156),!0x0,0x3ef,_0x280e92(0x1df));_0x3c03a5(_0x5017e0);return;}this[_0x280e92(0x104)]=!0x1,this[_0x280e92(0x13f)](_0x280e92(0xd6),_0x252d1c,_0x120314),this[_0x280e92(0x142)]();}this['_state']=_0x2c562d;return;}this[_0x280e92(0x195)]?(this[_0x280e92(0x13f)](this[_0x280e92(0x205)]===0x9?_0x280e92(0xf3):_0x280e92(0x15a),_0x52290d),this['_state']=_0x2c562d):(this['_state']=_0x5b41f6,setImmediate(()=>{const _0x17814f=_0x280e92;this[_0x17814f(0x13f)](this['_opcode']===0x9?_0x17814f(0xf3):_0x17814f(0x15a),_0x52290d),this[_0x17814f(0xd2)]=_0x2c562d,this['startLoop'](_0x3c03a5);}));}[_0x561fd6(0x1ac)](_0x35f62c,_0x5c403c,_0x1c63f3,_0x567bf9,_0x5ad2b0){const _0xe8b411=_0x561fd6;this['_loop']=!0x1,this[_0xe8b411(0xfd)]=!0x0;const _0x492d9e=new _0x35f62c(_0x1c63f3?_0xe8b411(0xa5)+_0x5c403c:_0x5c403c);return Error['captureStackTrace'](_0x492d9e,this[_0xe8b411(0x1ac)]),_0x492d9e[_0xe8b411(0xa6)]=_0x5ad2b0,_0x492d9e[_0x573e83]=_0x567bf9,_0x492d9e;}}return Se=_0x46a9de,Se;}var Ee,et;function _t(){const _0x231f02=_0x4f6260;if(et)return Ee;et=0x1;const {Duplex:_0xa4eeed}=_0xa793d9,{randomFillSync:_0xd47ffc}=_0x25ad0b,_0x450d1a=he(),{EMPTY_BUFFER:_0x278126,kWebSocket:_0x8ce4a2,NOOP:_0x23e952}=V(),{isBlob:_0x343209,isValidStatusCode:_0x456fb6}=ne(),{mask:_0x3a9120,toBuffer:_0x108e95}=ce(),_0x24a21e=Symbol(_0x231f02(0xfa)),_0x56b6b0=Buffer['alloc'](0x4),_0x1c8267=0x8*0x400;let _0x4052fe,_0x3baa15=_0x1c8267;const _0x1664fb=0x0,_0x4007db=0x1,_0x53fa75=0x2;class _0x569af1{constructor(_0x27eb45,_0x42ea1d,_0x1dfcff){const _0x383950=_0x231f02;this['_extensions']=_0x42ea1d||{},_0x1dfcff&&(this[_0x383950(0xda)]=_0x1dfcff,this[_0x383950(0x220)]=Buffer['alloc'](0x4)),this[_0x383950(0x1d3)]=_0x27eb45,this[_0x383950(0xb9)]=!0x0,this[_0x383950(0x1a5)]=!0x1,this[_0x383950(0x15b)]=0x0,this[_0x383950(0x203)]=[],this[_0x383950(0xd2)]=_0x1664fb,this[_0x383950(0x196)]=_0x23e952,this[_0x8ce4a2]=void 0x0;}static['frame'](_0x2453ce,_0x25ca04){const _0x4c3e20=_0x231f02;let _0x58f23c,_0x2c3033=!0x1,_0xbbce0=0x2,_0x4b147a=!0x1;_0x25ca04[_0x4c3e20(0x114)]&&(_0x58f23c=_0x25ca04[_0x4c3e20(0x158)]||_0x56b6b0,_0x25ca04['generateMask']?_0x25ca04[_0x4c3e20(0x202)](_0x58f23c):(_0x3baa15===_0x1c8267&&(_0x4052fe===void 0x0&&(_0x4052fe=Buffer['alloc'](_0x1c8267)),_0xd47ffc(_0x4052fe,0x0,_0x1c8267),_0x3baa15=0x0),_0x58f23c[0x0]=_0x4052fe[_0x3baa15++],_0x58f23c[0x1]=_0x4052fe[_0x3baa15++],_0x58f23c[0x2]=_0x4052fe[_0x3baa15++],_0x58f23c[0x3]=_0x4052fe[_0x3baa15++]),_0x4b147a=(_0x58f23c[0x0]|_0x58f23c[0x1]|_0x58f23c[0x2]|_0x58f23c[0x3])===0x0,_0xbbce0=0x6);let _0x3775d8;typeof _0x2453ce==_0x4c3e20(0x123)?(!_0x25ca04['mask']||_0x4b147a)&&_0x25ca04[_0x24a21e]!==void 0x0?_0x3775d8=_0x25ca04[_0x24a21e]:(_0x2453ce=Buffer[_0x4c3e20(0x1b4)](_0x2453ce),_0x3775d8=_0x2453ce[_0x4c3e20(0x1ba)]):(_0x3775d8=_0x2453ce[_0x4c3e20(0x1ba)],_0x2c3033=_0x25ca04['mask']&&_0x25ca04[_0x4c3e20(0x9d)]&&!_0x4b147a);let _0xec5513=_0x3775d8;_0x3775d8>=0x10000?(_0xbbce0+=0x8,_0xec5513=0x7f):_0x3775d8>0x7d&&(_0xbbce0+=0x2,_0xec5513=0x7e);const _0x4858a9=Buffer[_0x4c3e20(0x217)](_0x2c3033?_0x3775d8+_0xbbce0:_0xbbce0);return _0x4858a9[0x0]=_0x25ca04[_0x4c3e20(0x1e4)]?_0x25ca04[_0x4c3e20(0xbc)]|0x80:_0x25ca04[_0x4c3e20(0xbc)],_0x25ca04['rsv1']&&(_0x4858a9[0x0]|=0x40),_0x4858a9[0x1]=_0xec5513,_0xec5513===0x7e?_0x4858a9[_0x4c3e20(0xeb)](_0x3775d8,0x2):_0xec5513===0x7f&&(_0x4858a9[0x2]=_0x4858a9[0x3]=0x0,_0x4858a9['writeUIntBE'](_0x3775d8,0x4,0x6)),_0x25ca04['mask']?(_0x4858a9[0x1]|=0x80,_0x4858a9[_0xbbce0-0x4]=_0x58f23c[0x0],_0x4858a9[_0xbbce0-0x3]=_0x58f23c[0x1],_0x4858a9[_0xbbce0-0x2]=_0x58f23c[0x2],_0x4858a9[_0xbbce0-0x1]=_0x58f23c[0x3],_0x4b147a?[_0x4858a9,_0x2453ce]:_0x2c3033?(_0x3a9120(_0x2453ce,_0x58f23c,_0x4858a9,_0xbbce0,_0x3775d8),[_0x4858a9]):(_0x3a9120(_0x2453ce,_0x58f23c,_0x2453ce,0x0,_0x3775d8),[_0x4858a9,_0x2453ce])):[_0x4858a9,_0x2453ce];}[_0x231f02(0xf4)](_0x33b51d,_0x14510f,_0x375a63,_0xbd0f0d){const _0x2fa736=_0x231f02;let _0x24578a;if(_0x33b51d===void 0x0)_0x24578a=_0x278126;else{if(typeof _0x33b51d!='number'||!_0x456fb6(_0x33b51d))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x14510f===void 0x0||!_0x14510f['length'])_0x24578a=Buffer[_0x2fa736(0x217)](0x2),_0x24578a[_0x2fa736(0xeb)](_0x33b51d,0x0);else{const _0x26eafb=Buffer[_0x2fa736(0x22f)](_0x14510f);if(_0x26eafb>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x24578a=Buffer[_0x2fa736(0x217)](0x2+_0x26eafb),_0x24578a[_0x2fa736(0xeb)](_0x33b51d,0x0),typeof _0x14510f==_0x2fa736(0x123)?_0x24578a[_0x2fa736(0x18e)](_0x14510f,0x2):_0x24578a['set'](_0x14510f,0x2);}}const _0x189ced={[_0x24a21e]:_0x24578a[_0x2fa736(0x1ba)],'fin':!0x0,'generateMask':this[_0x2fa736(0xda)],'mask':_0x375a63,'maskBuffer':this[_0x2fa736(0x220)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x2fa736(0xd2)]!==_0x1664fb?this[_0x2fa736(0x185)]([this['dispatch'],_0x24578a,!0x1,_0x189ced,_0xbd0f0d]):this['sendFrame'](_0x569af1['frame'](_0x24578a,_0x189ced),_0xbd0f0d);}[_0x231f02(0xf3)](_0x48e90a,_0x9b7940,_0x38605b){const _0x17765a=_0x231f02;let _0x361be2,_0x492d8e;if(typeof _0x48e90a==_0x17765a(0x123)?(_0x361be2=Buffer['byteLength'](_0x48e90a),_0x492d8e=!0x1):_0x343209(_0x48e90a)?(_0x361be2=_0x48e90a[_0x17765a(0x17a)],_0x492d8e=!0x1):(_0x48e90a=_0x108e95(_0x48e90a),_0x361be2=_0x48e90a['length'],_0x492d8e=_0x108e95['readOnly']),_0x361be2>0x7d)throw new RangeError(_0x17765a(0x176));const _0x2161a5={[_0x24a21e]:_0x361be2,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x9b7940,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x492d8e,'rsv1':!0x1};_0x343209(_0x48e90a)?this['_state']!==_0x1664fb?this[_0x17765a(0x185)]([this[_0x17765a(0x1b2)],_0x48e90a,!0x1,_0x2161a5,_0x38605b]):this[_0x17765a(0x1b2)](_0x48e90a,!0x1,_0x2161a5,_0x38605b):this[_0x17765a(0xd2)]!==_0x1664fb?this['enqueue']([this[_0x17765a(0x16c)],_0x48e90a,!0x1,_0x2161a5,_0x38605b]):this['sendFrame'](_0x569af1[_0x17765a(0xea)](_0x48e90a,_0x2161a5),_0x38605b);}[_0x231f02(0x15a)](_0x24910a,_0x270c6c,_0xe4d2bf){const _0xc75b9b=_0x231f02;let _0x204efa,_0x1b4e33;if(typeof _0x24910a==_0xc75b9b(0x123)?(_0x204efa=Buffer[_0xc75b9b(0x22f)](_0x24910a),_0x1b4e33=!0x1):_0x343209(_0x24910a)?(_0x204efa=_0x24910a[_0xc75b9b(0x17a)],_0x1b4e33=!0x1):(_0x24910a=_0x108e95(_0x24910a),_0x204efa=_0x24910a[_0xc75b9b(0x1ba)],_0x1b4e33=_0x108e95['readOnly']),_0x204efa>0x7d)throw new RangeError(_0xc75b9b(0x176));const _0x219e62={[_0x24a21e]:_0x204efa,'fin':!0x0,'generateMask':this[_0xc75b9b(0xda)],'mask':_0x270c6c,'maskBuffer':this[_0xc75b9b(0x220)],'opcode':0xa,'readOnly':_0x1b4e33,'rsv1':!0x1};_0x343209(_0x24910a)?this[_0xc75b9b(0xd2)]!==_0x1664fb?this[_0xc75b9b(0x185)]([this[_0xc75b9b(0x1b2)],_0x24910a,!0x1,_0x219e62,_0xe4d2bf]):this['getBlobData'](_0x24910a,!0x1,_0x219e62,_0xe4d2bf):this[_0xc75b9b(0xd2)]!==_0x1664fb?this[_0xc75b9b(0x185)]([this['dispatch'],_0x24910a,!0x1,_0x219e62,_0xe4d2bf]):this['sendFrame'](_0x569af1[_0xc75b9b(0xea)](_0x24910a,_0x219e62),_0xe4d2bf);}[_0x231f02(0x1c3)](_0x831696,_0x1c38e8,_0x491247){const _0x184046=_0x231f02,_0x8aa8f8=this[_0x184046(0x1d1)][_0x450d1a[_0x184046(0xd5)]];let _0x4d9aa1=_0x1c38e8['binary']?0x2:0x1,_0x58aed8=_0x1c38e8[_0x184046(0x1e1)],_0x5e3d66,_0x556fdb;typeof _0x831696==_0x184046(0x123)?(_0x5e3d66=Buffer[_0x184046(0x22f)](_0x831696),_0x556fdb=!0x1):_0x343209(_0x831696)?(_0x5e3d66=_0x831696[_0x184046(0x17a)],_0x556fdb=!0x1):(_0x831696=_0x108e95(_0x831696),_0x5e3d66=_0x831696[_0x184046(0x1ba)],_0x556fdb=_0x108e95[_0x184046(0x9d)]),this['_firstFragment']?(this[_0x184046(0xb9)]=!0x1,_0x58aed8&&_0x8aa8f8&&_0x8aa8f8[_0x184046(0x229)][_0x8aa8f8['_isServer']?'server_no_context_takeover':_0x184046(0x135)]&&(_0x58aed8=_0x5e3d66>=_0x8aa8f8['_threshold']),this[_0x184046(0x1a5)]=_0x58aed8):(_0x58aed8=!0x1,_0x4d9aa1=0x0),_0x1c38e8['fin']&&(this[_0x184046(0xb9)]=!0x0);const _0x504947={[_0x24a21e]:_0x5e3d66,'fin':_0x1c38e8[_0x184046(0x1e4)],'generateMask':this[_0x184046(0xda)],'mask':_0x1c38e8[_0x184046(0x114)],'maskBuffer':this[_0x184046(0x220)],'opcode':_0x4d9aa1,'readOnly':_0x556fdb,'rsv1':_0x58aed8};_0x343209(_0x831696)?this['_state']!==_0x1664fb?this[_0x184046(0x185)]([this[_0x184046(0x1b2)],_0x831696,this['_compress'],_0x504947,_0x491247]):this['getBlobData'](_0x831696,this['_compress'],_0x504947,_0x491247):this[_0x184046(0xd2)]!==_0x1664fb?this[_0x184046(0x185)]([this[_0x184046(0x16c)],_0x831696,this[_0x184046(0x1a5)],_0x504947,_0x491247]):this[_0x184046(0x16c)](_0x831696,this[_0x184046(0x1a5)],_0x504947,_0x491247);}[_0x231f02(0x1b2)](_0x3f9eb6,_0x234539,_0x556a61,_0x41afcc){const _0x3f4837=_0x231f02;this[_0x3f4837(0x15b)]+=_0x556a61[_0x24a21e],this[_0x3f4837(0xd2)]=_0x53fa75,_0x3f9eb6[_0x3f4837(0xd4)]()['then'](_0x2b03b8=>{const _0x25dc68=_0x3f4837;if(this[_0x25dc68(0x1d3)]['destroyed']){const _0x5b09a3=new Error(_0x25dc68(0x13a));process['nextTick'](_0x34d74f,this,_0x5b09a3,_0x41afcc);return;}this[_0x25dc68(0x15b)]-=_0x556a61[_0x24a21e];const _0x419ca2=_0x108e95(_0x2b03b8);_0x234539?this[_0x25dc68(0x16c)](_0x419ca2,_0x234539,_0x556a61,_0x41afcc):(this[_0x25dc68(0xd2)]=_0x1664fb,this['sendFrame'](_0x569af1[_0x25dc68(0xea)](_0x419ca2,_0x556a61),_0x41afcc),this[_0x25dc68(0xe4)]());})['catch'](_0x3e9e00=>{const _0x5c0a48=_0x3f4837;process[_0x5c0a48(0x11f)](_0x398a35,this,_0x3e9e00,_0x41afcc);});}[_0x231f02(0x16c)](_0x5e9506,_0x96bd6b,_0x4b203e,_0x1fce10){const _0x17402c=_0x231f02;if(!_0x96bd6b){this['sendFrame'](_0x569af1[_0x17402c(0xea)](_0x5e9506,_0x4b203e),_0x1fce10);return;}const _0x282b43=this[_0x17402c(0x1d1)][_0x450d1a[_0x17402c(0xd5)]];this['_bufferedBytes']+=_0x4b203e[_0x24a21e],this['_state']=_0x4007db,_0x282b43[_0x17402c(0x1e1)](_0x5e9506,_0x4b203e['fin'],(_0x2a9942,_0x4d0aa3)=>{const _0x2907f5=_0x17402c;if(this['_socket'][_0x2907f5(0x1a7)]){const _0x209224=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x34d74f(this,_0x209224,_0x1fce10);return;}this['_bufferedBytes']-=_0x4b203e[_0x24a21e],this[_0x2907f5(0xd2)]=_0x1664fb,_0x4b203e[_0x2907f5(0x9d)]=!0x1,this[_0x2907f5(0x21a)](_0x569af1[_0x2907f5(0xea)](_0x4d0aa3,_0x4b203e),_0x1fce10),this[_0x2907f5(0xe4)]();});}['dequeue'](){const _0x357c4a=_0x231f02;for(;this[_0x357c4a(0xd2)]===_0x1664fb&&this[_0x357c4a(0x203)]['length'];){const _0xb8f42b=this[_0x357c4a(0x203)][_0x357c4a(0xc5)]();this['_bufferedBytes']-=_0xb8f42b[0x3][_0x24a21e],Reflect[_0x357c4a(0x15c)](_0xb8f42b[0x0],this,_0xb8f42b['slice'](0x1));}}[_0x231f02(0x185)](_0x260011){const _0x4c768d=_0x231f02;this[_0x4c768d(0x15b)]+=_0x260011[0x3][_0x24a21e],this[_0x4c768d(0x203)][_0x4c768d(0x162)](_0x260011);}[_0x231f02(0x21a)](_0x1cf879,_0x70c32c){const _0x546b62=_0x231f02;_0x1cf879['length']===0x2?(this[_0x546b62(0x1d3)][_0x546b62(0x140)](),this[_0x546b62(0x1d3)][_0x546b62(0x18e)](_0x1cf879[0x0]),this[_0x546b62(0x1d3)][_0x546b62(0x18e)](_0x1cf879[0x1],_0x70c32c),this[_0x546b62(0x1d3)]['uncork']()):this[_0x546b62(0x1d3)]['write'](_0x1cf879[0x0],_0x70c32c);}}Ee=_0x569af1;function _0x34d74f(_0x2c6b15,_0x2e05e7,_0x2fecd6){const _0x19c9b4=_0x231f02;typeof _0x2fecd6==_0x19c9b4(0x14d)&&_0x2fecd6(_0x2e05e7);for(let _0x343549=0x0;_0x343549<_0x2c6b15['_queue'][_0x19c9b4(0x1ba)];_0x343549++){const _0x58078b=_0x2c6b15[_0x19c9b4(0x203)][_0x343549],_0x40f652=_0x58078b[_0x58078b[_0x19c9b4(0x1ba)]-0x1];typeof _0x40f652==_0x19c9b4(0x14d)&&_0x40f652(_0x2e05e7);}}function _0x398a35(_0x4e88a7,_0x275dee,_0x2b8551){const _0x3cff1e=_0x231f02;_0x34d74f(_0x4e88a7,_0x275dee,_0x2b8551),_0x4e88a7[_0x3cff1e(0x196)](_0x275dee);}return Ee;}var xe,tt;function Kt(){const _0x373fec=_0x4f6260;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x9823d0,kListener:_0x462a27}=V(),_0x3cd762=Symbol(_0x373fec(0x8d)),_0x2bee3c=Symbol('kData'),_0x3a5a1c=Symbol(_0x373fec(0x174)),_0x23c7b4=Symbol('kMessage'),_0xc0c096=Symbol(_0x373fec(0x182)),_0xad2d90=Symbol(_0x373fec(0x98)),_0x29ba32=Symbol('kType'),_0x3a6f00=Symbol('kWasClean');class _0x275b66{constructor(_0x40d219){this[_0xad2d90]=null,this[_0x29ba32]=_0x40d219;}get[_0x373fec(0x129)](){return this[_0xad2d90];}get[_0x373fec(0xdb)](){return this[_0x29ba32];}}Object[_0x373fec(0x20f)](_0x275b66[_0x373fec(0xd9)],_0x373fec(0x129),{'enumerable':!0x0}),Object[_0x373fec(0x20f)](_0x275b66[_0x373fec(0xd9)],_0x373fec(0xdb),{'enumerable':!0x0});class _0x419f45 extends _0x275b66{constructor(_0x9d8bd1,_0xc35ef2={}){const _0xf00b18=_0x373fec;super(_0x9d8bd1),this[_0x3cd762]=_0xc35ef2[_0xf00b18(0xa6)]===void 0x0?0x0:_0xc35ef2[_0xf00b18(0xa6)],this[_0xc0c096]=_0xc35ef2[_0xf00b18(0x122)]===void 0x0?'':_0xc35ef2['reason'],this[_0x3a6f00]=_0xc35ef2['wasClean']===void 0x0?!0x1:_0xc35ef2[_0xf00b18(0x19a)];}get[_0x373fec(0xa6)](){return this[_0x3cd762];}get['reason'](){return this[_0xc0c096];}get['wasClean'](){return this[_0x3a6f00];}}Object[_0x373fec(0x20f)](_0x419f45['prototype'],'code',{'enumerable':!0x0}),Object[_0x373fec(0x20f)](_0x419f45[_0x373fec(0xd9)],'reason',{'enumerable':!0x0}),Object[_0x373fec(0x20f)](_0x419f45[_0x373fec(0xd9)],_0x373fec(0x19a),{'enumerable':!0x0});class _0x1b1a3a extends _0x275b66{constructor(_0x2f79cc,_0x550b22={}){const _0xba2649=_0x373fec;super(_0x2f79cc),this[_0x3a5a1c]=_0x550b22[_0xba2649(0x1b0)]===void 0x0?null:_0x550b22[_0xba2649(0x1b0)],this[_0x23c7b4]=_0x550b22[_0xba2649(0xe0)]===void 0x0?'':_0x550b22[_0xba2649(0xe0)];}get['error'](){return this[_0x3a5a1c];}get[_0x373fec(0xe0)](){return this[_0x23c7b4];}}Object[_0x373fec(0x20f)](_0x1b1a3a['prototype'],_0x373fec(0x1b0),{'enumerable':!0x0}),Object['defineProperty'](_0x1b1a3a[_0x373fec(0xd9)],_0x373fec(0xe0),{'enumerable':!0x0});class _0x5c6620 extends _0x275b66{constructor(_0x643c6,_0xf95106={}){const _0x4398eb=_0x373fec;super(_0x643c6),this[_0x2bee3c]=_0xf95106[_0x4398eb(0xfb)]===void 0x0?null:_0xf95106['data'];}get[_0x373fec(0xfb)](){return this[_0x2bee3c];}}Object[_0x373fec(0x20f)](_0x5c6620[_0x373fec(0xd9)],_0x373fec(0xfb),{'enumerable':!0x0}),xe={'CloseEvent':_0x419f45,'ErrorEvent':_0x1b1a3a,'Event':_0x275b66,'EventTarget':{'addEventListener'(_0x48b41e,_0x368d5d,_0xe31c61={}){const _0x3ee079=_0x373fec;for(const _0x5e6bcb of this[_0x3ee079(0xc1)](_0x48b41e))if(!_0xe31c61[_0x9823d0]&&_0x5e6bcb[_0x462a27]===_0x368d5d&&!_0x5e6bcb[_0x9823d0])return;let _0x301e57;if(_0x48b41e===_0x3ee079(0xe0))_0x301e57=function(_0x3c5b9c,_0x521a79){const _0x437025=_0x3ee079,_0xd81f21=new _0x5c6620(_0x437025(0xe0),{'data':_0x521a79?_0x3c5b9c:_0x3c5b9c[_0x437025(0x178)]()});_0xd81f21[_0xad2d90]=this,_0x390704(_0x368d5d,this,_0xd81f21);};else{if(_0x48b41e===_0x3ee079(0xf4))_0x301e57=function(_0xc4a67c,_0x10ddef){const _0x5439e8=_0x3ee079,_0x598562=new _0x419f45(_0x5439e8(0xf4),{'code':_0xc4a67c,'reason':_0x10ddef[_0x5439e8(0x178)](),'wasClean':this[_0x5439e8(0x206)]&&this[_0x5439e8(0xcd)]});_0x598562[_0xad2d90]=this,_0x390704(_0x368d5d,this,_0x598562);};else{if(_0x48b41e===_0x3ee079(0x1b0))_0x301e57=function(_0x70897e){const _0x240681=_0x3ee079,_0x4d6b34=new _0x1b1a3a(_0x240681(0x1b0),{'error':_0x70897e,'message':_0x70897e['message']});_0x4d6b34[_0xad2d90]=this,_0x390704(_0x368d5d,this,_0x4d6b34);};else{if(_0x48b41e===_0x3ee079(0x1ec))_0x301e57=function(){const _0x39726a=_0x3ee079,_0x2cc2cb=new _0x275b66(_0x39726a(0x1ec));_0x2cc2cb[_0xad2d90]=this,_0x390704(_0x368d5d,this,_0x2cc2cb);};else return;}}}_0x301e57[_0x9823d0]=!!_0xe31c61[_0x9823d0],_0x301e57[_0x462a27]=_0x368d5d,_0xe31c61['once']?this[_0x3ee079(0x107)](_0x48b41e,_0x301e57):this['on'](_0x48b41e,_0x301e57);},'removeEventListener'(_0xadebab,_0xd93dd4){const _0x39c6fb=_0x373fec;for(const _0x4fac0d of this[_0x39c6fb(0xc1)](_0xadebab))if(_0x4fac0d[_0x462a27]===_0xd93dd4&&!_0x4fac0d[_0x9823d0]){this[_0x39c6fb(0xe7)](_0xadebab,_0x4fac0d);break;}}},'MessageEvent':_0x5c6620};function _0x390704(_0x4bdbf7,_0x5879a8,_0x276801){const _0x4a4fc2=_0x373fec;typeof _0x4bdbf7==_0x4a4fc2(0x1c9)&&_0x4bdbf7[_0x4a4fc2(0x1ab)]?_0x4bdbf7[_0x4a4fc2(0x1ab)]['call'](_0x4bdbf7,_0x276801):_0x4bdbf7['call'](_0x5879a8,_0x276801);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x14de5f}=ne();function _0x491d22(_0x3bb4e4,_0x2a97ed,_0x5e413b){const _0x67d191=_0x115a;_0x3bb4e4[_0x2a97ed]===void 0x0?_0x3bb4e4[_0x2a97ed]=[_0x5e413b]:_0x3bb4e4[_0x2a97ed][_0x67d191(0x162)](_0x5e413b);}function _0x386665(_0x4ec528){const _0x85d558=_0x115a,_0x55e4e8=Object[_0x85d558(0x90)](null);let _0x5f39a6=Object[_0x85d558(0x90)](null),_0x1d869b=!0x1,_0x26a7bd=!0x1,_0x30870b=!0x1,_0x3f9c99,_0x1f86d2,_0x41c3f6=-0x1,_0x57d1c6=-0x1,_0x1be7fa=-0x1,_0x121389=0x0;for(;_0x121389<_0x4ec528['length'];_0x121389++)if(_0x57d1c6=_0x4ec528[_0x85d558(0x111)](_0x121389),_0x3f9c99===void 0x0){if(_0x1be7fa===-0x1&&_0x14de5f[_0x57d1c6]===0x1)_0x41c3f6===-0x1&&(_0x41c3f6=_0x121389);else{if(_0x121389!==0x0&&(_0x57d1c6===0x20||_0x57d1c6===0x9))_0x1be7fa===-0x1&&_0x41c3f6!==-0x1&&(_0x1be7fa=_0x121389);else{if(_0x57d1c6===0x3b||_0x57d1c6===0x2c){if(_0x41c3f6===-0x1)throw new SyntaxError(_0x85d558(0x1e3)+_0x121389);_0x1be7fa===-0x1&&(_0x1be7fa=_0x121389);const _0x37e5aa=_0x4ec528['slice'](_0x41c3f6,_0x1be7fa);_0x57d1c6===0x2c?(_0x491d22(_0x55e4e8,_0x37e5aa,_0x5f39a6),_0x5f39a6=Object[_0x85d558(0x90)](null)):_0x3f9c99=_0x37e5aa,_0x41c3f6=_0x1be7fa=-0x1;}else throw new SyntaxError(_0x85d558(0x1e3)+_0x121389);}}}else{if(_0x1f86d2===void 0x0){if(_0x1be7fa===-0x1&&_0x14de5f[_0x57d1c6]===0x1)_0x41c3f6===-0x1&&(_0x41c3f6=_0x121389);else{if(_0x57d1c6===0x20||_0x57d1c6===0x9)_0x1be7fa===-0x1&&_0x41c3f6!==-0x1&&(_0x1be7fa=_0x121389);else{if(_0x57d1c6===0x3b||_0x57d1c6===0x2c){if(_0x41c3f6===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x121389);_0x1be7fa===-0x1&&(_0x1be7fa=_0x121389),_0x491d22(_0x5f39a6,_0x4ec528[_0x85d558(0x184)](_0x41c3f6,_0x1be7fa),!0x0),_0x57d1c6===0x2c&&(_0x491d22(_0x55e4e8,_0x3f9c99,_0x5f39a6),_0x5f39a6=Object[_0x85d558(0x90)](null),_0x3f9c99=void 0x0),_0x41c3f6=_0x1be7fa=-0x1;}else{if(_0x57d1c6===0x3d&&_0x41c3f6!==-0x1&&_0x1be7fa===-0x1)_0x1f86d2=_0x4ec528[_0x85d558(0x184)](_0x41c3f6,_0x121389),_0x41c3f6=_0x1be7fa=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x121389);}}}}else{if(_0x26a7bd){if(_0x14de5f[_0x57d1c6]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x121389);_0x41c3f6===-0x1?_0x41c3f6=_0x121389:_0x1d869b||(_0x1d869b=!0x0),_0x26a7bd=!0x1;}else{if(_0x30870b){if(_0x14de5f[_0x57d1c6]===0x1)_0x41c3f6===-0x1&&(_0x41c3f6=_0x121389);else{if(_0x57d1c6===0x22&&_0x41c3f6!==-0x1)_0x30870b=!0x1,_0x1be7fa=_0x121389;else{if(_0x57d1c6===0x5c)_0x26a7bd=!0x0;else throw new SyntaxError(_0x85d558(0x1e3)+_0x121389);}}}else{if(_0x57d1c6===0x22&&_0x4ec528[_0x85d558(0x111)](_0x121389-0x1)===0x3d)_0x30870b=!0x0;else{if(_0x1be7fa===-0x1&&_0x14de5f[_0x57d1c6]===0x1)_0x41c3f6===-0x1&&(_0x41c3f6=_0x121389);else{if(_0x41c3f6!==-0x1&&(_0x57d1c6===0x20||_0x57d1c6===0x9))_0x1be7fa===-0x1&&(_0x1be7fa=_0x121389);else{if(_0x57d1c6===0x3b||_0x57d1c6===0x2c){if(_0x41c3f6===-0x1)throw new SyntaxError(_0x85d558(0x1e3)+_0x121389);_0x1be7fa===-0x1&&(_0x1be7fa=_0x121389);let _0x5dd168=_0x4ec528[_0x85d558(0x184)](_0x41c3f6,_0x1be7fa);_0x1d869b&&(_0x5dd168=_0x5dd168[_0x85d558(0x16a)](/\\/g,''),_0x1d869b=!0x1),_0x491d22(_0x5f39a6,_0x1f86d2,_0x5dd168),_0x57d1c6===0x2c&&(_0x491d22(_0x55e4e8,_0x3f9c99,_0x5f39a6),_0x5f39a6=Object['create'](null),_0x3f9c99=void 0x0),_0x1f86d2=void 0x0,_0x41c3f6=_0x1be7fa=-0x1;}else throw new SyntaxError(_0x85d558(0x1e3)+_0x121389);}}}}}}}if(_0x41c3f6===-0x1||_0x30870b||_0x57d1c6===0x20||_0x57d1c6===0x9)throw new SyntaxError(_0x85d558(0x226));_0x1be7fa===-0x1&&(_0x1be7fa=_0x121389);const _0xacf919=_0x4ec528[_0x85d558(0x184)](_0x41c3f6,_0x1be7fa);return _0x3f9c99===void 0x0?_0x491d22(_0x55e4e8,_0xacf919,_0x5f39a6):(_0x1f86d2===void 0x0?_0x491d22(_0x5f39a6,_0xacf919,!0x0):_0x1d869b?_0x491d22(_0x5f39a6,_0x1f86d2,_0xacf919['replace'](/\\/g,'')):_0x491d22(_0x5f39a6,_0x1f86d2,_0xacf919),_0x491d22(_0x55e4e8,_0x3f9c99,_0x5f39a6)),_0x55e4e8;}function _0x3f4c4b(_0x302ddd){const _0xa29691=_0x115a;return Object['keys'](_0x302ddd)[_0xa29691(0x16d)](_0x21cf16=>{const _0x5df4a7=_0xa29691;let _0x2192e2=_0x302ddd[_0x21cf16];return Array[_0x5df4a7(0x22e)](_0x2192e2)||(_0x2192e2=[_0x2192e2]),_0x2192e2[_0x5df4a7(0x16d)](_0x379375=>[_0x21cf16][_0x5df4a7(0x10c)](Object['keys'](_0x379375)[_0x5df4a7(0x16d)](_0x1464a5=>{const _0x3809e8=_0x5df4a7;let _0x3bcd23=_0x379375[_0x1464a5];return Array[_0x3809e8(0x22e)](_0x3bcd23)||(_0x3bcd23=[_0x3bcd23]),_0x3bcd23[_0x3809e8(0x16d)](_0x523adf=>_0x523adf===!0x0?_0x1464a5:_0x1464a5+'='+_0x523adf)[_0x3809e8(0x171)](';\x20');}))[_0x5df4a7(0x171)](';\x20'))[_0x5df4a7(0x171)](',\x20');})['join'](',\x20');}return be={'format':_0x3f4c4b,'parse':_0x386665},be;}var we,st;function Ie(){const _0x2f0829=_0x4f6260;if(st)return we;st=0x1;const _0x39af16=_0x3666b2,_0x5da28d=_0x6f787d,_0x45f37d=_0x513c8,_0x5334ea=_0x51071f,_0x1810ac=_0x4ef45f,{randomBytes:_0x186e7e,createHash:_0x19447b}=_0x25ad0b,{Duplex:_0x41a8f3,Readable:_0x299a4d}=_0xa793d9,{URL:_0x332f45}=_0x4fdd9a,_0xb940e1=he(),_0x45dda2=dt(),_0x35d389=_t(),{isBlob:_0x145116}=ne(),{BINARY_TYPES:_0x24f48f,EMPTY_BUFFER:_0x64f3e7,GUID:_0x1a61b6,kForOnEventAttribute:_0x2619f5,kListener:_0x202b59,kStatusCode:_0x14d1e0,kWebSocket:_0x3c016b,NOOP:_0x58abd1}=V(),{EventTarget:{addEventListener:_0x201968,removeEventListener:_0x291fa3}}=Kt(),{format:_0x2eafb1,parse:_0x5be245}=pt(),{toBuffer:_0xc81dd8}=ce(),_0x501e1a=0x1e*0x3e8,_0x3e1e4b=Symbol(_0x2f0829(0x1a4)),_0x4e4f7e=[0x8,0xd],_0x222a32=[_0x2f0829(0x189),_0x2f0829(0x1c1),_0x2f0829(0xe8),'CLOSED'],_0x1e3eb5=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x60c71b extends _0x39af16{constructor(_0x2d7b92,_0x40609b,_0x2e6566){const _0x177572=_0x2f0829;super(),this['_binaryType']=_0x24f48f[0x0],this[_0x177572(0x10a)]=0x3ee,this[_0x177572(0x206)]=!0x1,this[_0x177572(0xcd)]=!0x1,this[_0x177572(0xbd)]=_0x64f3e7,this[_0x177572(0x1d8)]=null,this['_errorEmitted']=!0x1,this[_0x177572(0x1d1)]={},this[_0x177572(0x1b5)]=!0x1,this[_0x177572(0xef)]='',this[_0x177572(0x194)]=_0x60c71b[_0x177572(0x189)],this[_0x177572(0xf8)]=null,this[_0x177572(0x1e5)]=null,this[_0x177572(0x1d3)]=null,_0x2d7b92!==null?(this[_0x177572(0x110)]=0x0,this[_0x177572(0x20e)]=!0x1,this['_redirects']=0x0,_0x40609b===void 0x0?_0x40609b=[]:Array[_0x177572(0x22e)](_0x40609b)||(typeof _0x40609b==_0x177572(0x1c9)&&_0x40609b!==null?(_0x2e6566=_0x40609b,_0x40609b=[]):_0x40609b=[_0x40609b]),_0x32de74(this,_0x2d7b92,_0x40609b,_0x2e6566)):(this[_0x177572(0x99)]=_0x2e6566[_0x177572(0x173)],this['_isServer']=!0x0);}get[_0x2f0829(0x1bb)](){const _0x29bbec=_0x2f0829;return this[_0x29bbec(0xfe)];}set['binaryType'](_0x1b2646){const _0x495212=_0x2f0829;_0x24f48f['includes'](_0x1b2646)&&(this['_binaryType']=_0x1b2646,this[_0x495212(0xf8)]&&(this[_0x495212(0xf8)]['_binaryType']=_0x1b2646));}get[_0x2f0829(0x155)](){const _0x1b886f=_0x2f0829;return this[_0x1b886f(0x1d3)]?this[_0x1b886f(0x1d3)][_0x1b886f(0x236)][_0x1b886f(0x1ba)]+this[_0x1b886f(0x1e5)]['_bufferedBytes']:this[_0x1b886f(0x110)];}get[_0x2f0829(0x1d5)](){const _0x20fb9b=_0x2f0829;return Object[_0x20fb9b(0x211)](this[_0x20fb9b(0x1d1)])[_0x20fb9b(0x171)]();}get[_0x2f0829(0x193)](){const _0x46a355=_0x2f0829;return this[_0x46a355(0x1b5)];}get[_0x2f0829(0x16e)](){return null;}get['onerror'](){return null;}get[_0x2f0829(0x23a)](){return null;}get[_0x2f0829(0x1d6)](){return null;}get[_0x2f0829(0x139)](){const _0x4ce21d=_0x2f0829;return this[_0x4ce21d(0xef)];}get[_0x2f0829(0x100)](){return this['_readyState'];}get['url'](){const _0x100a09=_0x2f0829;return this[_0x100a09(0xc4)];}[_0x2f0829(0x1d9)](_0x3f75b8,_0x4c745f,_0x2ed6c0){const _0x12f967=_0x2f0829,_0x47a579=new _0x45dda2({'allowSynchronousEvents':_0x2ed6c0[_0x12f967(0x228)],'binaryType':this['binaryType'],'extensions':this[_0x12f967(0x1d1)],'isServer':this[_0x12f967(0x20e)],'maxPayload':_0x2ed6c0['maxPayload'],'skipUTF8Validation':_0x2ed6c0['skipUTF8Validation']}),_0x2bf756=new _0x35d389(_0x3f75b8,this[_0x12f967(0x1d1)],_0x2ed6c0[_0x12f967(0x202)]);this[_0x12f967(0xf8)]=_0x47a579,this[_0x12f967(0x1e5)]=_0x2bf756,this[_0x12f967(0x1d3)]=_0x3f75b8,_0x47a579[_0x3c016b]=this,_0x2bf756[_0x3c016b]=this,_0x3f75b8[_0x3c016b]=this,_0x47a579['on'](_0x12f967(0xd6),_0x5b2a02),_0x47a579['on'](_0x12f967(0x105),_0x3ebebd),_0x47a579['on']('error',_0xd3d534),_0x47a579['on']('message',_0x11da8c),_0x47a579['on'](_0x12f967(0xf3),_0x21f3de),_0x47a579['on'](_0x12f967(0x15a),_0x2cd790),_0x2bf756['onerror']=_0x2ed1c0,_0x3f75b8[_0x12f967(0xff)]&&_0x3f75b8[_0x12f967(0xff)](0x0),_0x3f75b8['setNoDelay']&&_0x3f75b8[_0x12f967(0x141)](),_0x4c745f['length']>0x0&&_0x3f75b8[_0x12f967(0x13b)](_0x4c745f),_0x3f75b8['on'](_0x12f967(0xf4),_0x332e71),_0x3f75b8['on'](_0x12f967(0xfb),_0x20c26f),_0x3f75b8['on']('end',_0x5d254),_0x3f75b8['on'](_0x12f967(0x1b0),_0x2dcf96),this[_0x12f967(0x194)]=_0x60c71b[_0x12f967(0x1c1)],this[_0x12f967(0x13f)](_0x12f967(0x1ec));}['emitClose'](){const _0xf3dc84=_0x2f0829;if(!this['_socket']){this['_readyState']=_0x60c71b['CLOSED'],this[_0xf3dc84(0x13f)](_0xf3dc84(0xf4),this['_closeCode'],this[_0xf3dc84(0xbd)]);return;}this[_0xf3dc84(0x1d1)][_0xb940e1[_0xf3dc84(0xd5)]]&&this['_extensions'][_0xb940e1['extensionName']][_0xf3dc84(0x177)](),this[_0xf3dc84(0xf8)][_0xf3dc84(0x8f)](),this[_0xf3dc84(0x194)]=_0x60c71b['CLOSED'],this['emit'](_0xf3dc84(0xf4),this[_0xf3dc84(0x10a)],this['_closeMessage']);}[_0x2f0829(0xf4)](_0x48b0a1,_0x680eed){const _0xf7b3c0=_0x2f0829;if(this['readyState']!==_0x60c71b[_0xf7b3c0(0x116)]){if(this[_0xf7b3c0(0x100)]===_0x60c71b[_0xf7b3c0(0x189)]){_0x4ca3ec(this,this[_0xf7b3c0(0x130)],_0xf7b3c0(0x17f));return;}if(this[_0xf7b3c0(0x100)]===_0x60c71b[_0xf7b3c0(0xe8)]){this[_0xf7b3c0(0xcd)]&&(this[_0xf7b3c0(0x206)]||this[_0xf7b3c0(0xf8)]['_writableState']['errorEmitted'])&&this[_0xf7b3c0(0x1d3)][_0xf7b3c0(0x142)]();return;}this['_readyState']=_0x60c71b[_0xf7b3c0(0xe8)],this[_0xf7b3c0(0x1e5)][_0xf7b3c0(0xf4)](_0x48b0a1,_0x680eed,!this[_0xf7b3c0(0x20e)],_0x54e5bf=>{const _0x170f54=_0xf7b3c0;_0x54e5bf||(this[_0x170f54(0xcd)]=!0x0,(this[_0x170f54(0x206)]||this['_receiver'][_0x170f54(0x236)][_0x170f54(0x1ee)])&&this[_0x170f54(0x1d3)][_0x170f54(0x142)]());}),_0x4ffb3a(this);}}[_0x2f0829(0xdf)](){const _0x2b79ee=_0x2f0829;this[_0x2b79ee(0x100)]===_0x60c71b[_0x2b79ee(0x189)]||this[_0x2b79ee(0x100)]===_0x60c71b[_0x2b79ee(0x116)]||(this['_paused']=!0x0,this[_0x2b79ee(0x1d3)][_0x2b79ee(0xdf)]());}[_0x2f0829(0xf3)](_0x5e69ba,_0x52ab8e,_0x560f52){const _0x18b94e=_0x2f0829;if(this[_0x18b94e(0x100)]===_0x60c71b[_0x18b94e(0x189)])throw new Error(_0x18b94e(0x136));if(typeof _0x5e69ba==_0x18b94e(0x14d)?(_0x560f52=_0x5e69ba,_0x5e69ba=_0x52ab8e=void 0x0):typeof _0x52ab8e==_0x18b94e(0x14d)&&(_0x560f52=_0x52ab8e,_0x52ab8e=void 0x0),typeof _0x5e69ba==_0x18b94e(0x18f)&&(_0x5e69ba=_0x5e69ba[_0x18b94e(0x178)]()),this['readyState']!==_0x60c71b[_0x18b94e(0x1c1)]){_0x1c001d(this,_0x5e69ba,_0x560f52);return;}_0x52ab8e===void 0x0&&(_0x52ab8e=!this[_0x18b94e(0x20e)]),this[_0x18b94e(0x1e5)][_0x18b94e(0xf3)](_0x5e69ba||_0x64f3e7,_0x52ab8e,_0x560f52);}['pong'](_0x1ef9c3,_0x5e6864,_0x449c44){const _0x49fe1f=_0x2f0829;if(this[_0x49fe1f(0x100)]===_0x60c71b[_0x49fe1f(0x189)])throw new Error(_0x49fe1f(0x136));if(typeof _0x1ef9c3==_0x49fe1f(0x14d)?(_0x449c44=_0x1ef9c3,_0x1ef9c3=_0x5e6864=void 0x0):typeof _0x5e6864==_0x49fe1f(0x14d)&&(_0x449c44=_0x5e6864,_0x5e6864=void 0x0),typeof _0x1ef9c3==_0x49fe1f(0x18f)&&(_0x1ef9c3=_0x1ef9c3[_0x49fe1f(0x178)]()),this[_0x49fe1f(0x100)]!==_0x60c71b['OPEN']){_0x1c001d(this,_0x1ef9c3,_0x449c44);return;}_0x5e6864===void 0x0&&(_0x5e6864=!this[_0x49fe1f(0x20e)]),this[_0x49fe1f(0x1e5)][_0x49fe1f(0x15a)](_0x1ef9c3||_0x64f3e7,_0x5e6864,_0x449c44);}[_0x2f0829(0x238)](){const _0x1dc8c5=_0x2f0829;this[_0x1dc8c5(0x100)]===_0x60c71b[_0x1dc8c5(0x189)]||this[_0x1dc8c5(0x100)]===_0x60c71b[_0x1dc8c5(0x116)]||(this[_0x1dc8c5(0x1b5)]=!0x1,this[_0x1dc8c5(0xf8)][_0x1dc8c5(0x236)]['needDrain']||this[_0x1dc8c5(0x1d3)][_0x1dc8c5(0x238)]());}['send'](_0x43b851,_0x510391,_0x57aea2){const _0x1f6167=_0x2f0829;if(this['readyState']===_0x60c71b[_0x1f6167(0x189)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x510391=='function'&&(_0x57aea2=_0x510391,_0x510391={}),typeof _0x43b851==_0x1f6167(0x18f)&&(_0x43b851=_0x43b851[_0x1f6167(0x178)]()),this['readyState']!==_0x60c71b[_0x1f6167(0x1c1)]){_0x1c001d(this,_0x43b851,_0x57aea2);return;}const _0xbc871a={'binary':typeof _0x43b851!='string','mask':!this[_0x1f6167(0x20e)],'compress':!0x0,'fin':!0x0,..._0x510391};this[_0x1f6167(0x1d1)][_0xb940e1['extensionName']]||(_0xbc871a[_0x1f6167(0x1e1)]=!0x1),this[_0x1f6167(0x1e5)][_0x1f6167(0x1c3)](_0x43b851||_0x64f3e7,_0xbc871a,_0x57aea2);}[_0x2f0829(0x165)](){const _0x1fcef4=_0x2f0829;if(this['readyState']!==_0x60c71b['CLOSED']){if(this[_0x1fcef4(0x100)]===_0x60c71b[_0x1fcef4(0x189)]){_0x4ca3ec(this,this['_req'],_0x1fcef4(0x17f));return;}this[_0x1fcef4(0x1d3)]&&(this[_0x1fcef4(0x194)]=_0x60c71b[_0x1fcef4(0xe8)],this[_0x1fcef4(0x1d3)][_0x1fcef4(0xec)]());}}}Object['defineProperty'](_0x60c71b,_0x2f0829(0x189),{'enumerable':!0x0,'value':_0x222a32['indexOf'](_0x2f0829(0x189))}),Object[_0x2f0829(0x20f)](_0x60c71b[_0x2f0829(0xd9)],'CONNECTING',{'enumerable':!0x0,'value':_0x222a32['indexOf'](_0x2f0829(0x189))}),Object[_0x2f0829(0x20f)](_0x60c71b,_0x2f0829(0x1c1),{'enumerable':!0x0,'value':_0x222a32[_0x2f0829(0xd3)]('OPEN')}),Object[_0x2f0829(0x20f)](_0x60c71b[_0x2f0829(0xd9)],'OPEN',{'enumerable':!0x0,'value':_0x222a32[_0x2f0829(0xd3)]('OPEN')}),Object[_0x2f0829(0x20f)](_0x60c71b,_0x2f0829(0xe8),{'enumerable':!0x0,'value':_0x222a32[_0x2f0829(0xd3)]('CLOSING')}),Object['defineProperty'](_0x60c71b[_0x2f0829(0xd9)],_0x2f0829(0xe8),{'enumerable':!0x0,'value':_0x222a32[_0x2f0829(0xd3)](_0x2f0829(0xe8))}),Object[_0x2f0829(0x20f)](_0x60c71b,'CLOSED',{'enumerable':!0x0,'value':_0x222a32[_0x2f0829(0xd3)](_0x2f0829(0x116))}),Object[_0x2f0829(0x20f)](_0x60c71b[_0x2f0829(0xd9)],'CLOSED',{'enumerable':!0x0,'value':_0x222a32[_0x2f0829(0xd3)](_0x2f0829(0x116))}),[_0x2f0829(0x1bb),'bufferedAmount',_0x2f0829(0x1d5),_0x2f0829(0x193),_0x2f0829(0x139),'readyState',_0x2f0829(0x154)][_0x2f0829(0x120)](_0x3d3394=>{const _0x5c1520=_0x2f0829;Object[_0x5c1520(0x20f)](_0x60c71b['prototype'],_0x3d3394,{'enumerable':!0x0});}),[_0x2f0829(0x1ec),_0x2f0829(0x1b0),'close',_0x2f0829(0xe0)][_0x2f0829(0x120)](_0x13cb1a=>{const _0x9f182b=_0x2f0829;Object['defineProperty'](_0x60c71b[_0x9f182b(0xd9)],'on'+_0x13cb1a,{'enumerable':!0x0,'get'(){const _0x36384b=_0x9f182b;for(const _0x2665aa of this[_0x36384b(0xc1)](_0x13cb1a))if(_0x2665aa[_0x2619f5])return _0x2665aa[_0x202b59];return null;},'set'(_0x33c61f){const _0x504a65=_0x9f182b;for(const _0xe11827 of this['listeners'](_0x13cb1a))if(_0xe11827[_0x2619f5]){this['removeListener'](_0x13cb1a,_0xe11827);break;}typeof _0x33c61f==_0x504a65(0x14d)&&this['addEventListener'](_0x13cb1a,_0x33c61f,{[_0x2619f5]:!0x0});}});}),_0x60c71b['prototype'][_0x2f0829(0x191)]=_0x201968,_0x60c71b[_0x2f0829(0xd9)][_0x2f0829(0xf7)]=_0x291fa3,we=_0x60c71b;function _0x32de74(_0x3a97e0,_0x4eff40,_0x43d15e,_0x4ba132){const _0x3da78a=_0x2f0829,_0x126b2a={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x4e4f7e[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x4ba132,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x3da78a(0x169),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x3a97e0['_autoPong']=_0x126b2a[_0x3da78a(0x173)],!_0x4e4f7e[_0x3da78a(0x127)](_0x126b2a[_0x3da78a(0x93)]))throw new RangeError(_0x3da78a(0xc8)+_0x126b2a[_0x3da78a(0x93)]+'\x20(supported\x20versions:\x20'+_0x4e4f7e[_0x3da78a(0x171)](',\x20')+')');let _0x28f1e3;if(_0x4eff40 instanceof _0x332f45)_0x28f1e3=_0x4eff40;else try{_0x28f1e3=new _0x332f45(_0x4eff40);}catch{throw new SyntaxError(_0x3da78a(0x212)+_0x4eff40);}_0x28f1e3[_0x3da78a(0x139)]===_0x3da78a(0xf0)?_0x28f1e3[_0x3da78a(0x139)]=_0x3da78a(0x163):_0x28f1e3[_0x3da78a(0x139)]===_0x3da78a(0xc6)&&(_0x28f1e3[_0x3da78a(0x139)]=_0x3da78a(0x204)),_0x3a97e0[_0x3da78a(0xc4)]=_0x28f1e3[_0x3da78a(0x12b)];const _0x4bd91d=_0x28f1e3[_0x3da78a(0x139)]===_0x3da78a(0x204),_0xc810e3=_0x28f1e3[_0x3da78a(0x139)]===_0x3da78a(0x1aa);let _0x289b07;if(_0x28f1e3[_0x3da78a(0x139)]!==_0x3da78a(0x163)&&!_0x4bd91d&&!_0xc810e3?_0x289b07=_0x3da78a(0x1cb):_0xc810e3&&!_0x28f1e3[_0x3da78a(0xe3)]?_0x289b07='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x28f1e3[_0x3da78a(0x117)]&&(_0x289b07='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x289b07){const _0x876933=new SyntaxError(_0x289b07);if(_0x3a97e0['_redirects']===0x0)throw _0x876933;_0x535629(_0x3a97e0,_0x876933);return;}const _0x287dd8=_0x4bd91d?0x1bb:0x50,_0x46bfe8=_0x186e7e(0x10)[_0x3da78a(0x178)]('base64'),_0x7fadc5=_0x4bd91d?_0x5da28d[_0x3da78a(0x161)]:_0x45f37d[_0x3da78a(0x161)],_0x540101=new Set();let _0x509af3;if(_0x126b2a[_0x3da78a(0x1f5)]=_0x126b2a[_0x3da78a(0x1f5)]||(_0x4bd91d?_0x148889:_0x146271),_0x126b2a['defaultPort']=_0x126b2a[_0x3da78a(0x235)]||_0x287dd8,_0x126b2a[_0x3da78a(0x8e)]=_0x28f1e3[_0x3da78a(0x8e)]||_0x287dd8,_0x126b2a[_0x3da78a(0x20d)]=_0x28f1e3[_0x3da78a(0x1ea)]['startsWith']('[')?_0x28f1e3[_0x3da78a(0x1ea)][_0x3da78a(0x184)](0x1,-0x1):_0x28f1e3['hostname'],_0x126b2a[_0x3da78a(0xcf)]={..._0x126b2a[_0x3da78a(0xcf)],'Sec-WebSocket-Version':_0x126b2a[_0x3da78a(0x93)],'Sec-WebSocket-Key':_0x46bfe8,'Connection':_0x3da78a(0xe2),'Upgrade':_0x3da78a(0xd0)},_0x126b2a[_0x3da78a(0xbf)]=_0x28f1e3['pathname']+_0x28f1e3[_0x3da78a(0x119)],_0x126b2a[_0x3da78a(0x14b)]=_0x126b2a[_0x3da78a(0x1be)],_0x126b2a[_0x3da78a(0xc9)]&&(_0x509af3=new _0xb940e1(_0x126b2a[_0x3da78a(0xc9)]!==!0x0?_0x126b2a[_0x3da78a(0xc9)]:{},!0x1,_0x126b2a[_0x3da78a(0xf9)]),_0x126b2a[_0x3da78a(0xcf)][_0x3da78a(0x94)]=_0x2eafb1({[_0xb940e1[_0x3da78a(0xd5)]]:_0x509af3[_0x3da78a(0x1d7)]()})),_0x43d15e['length']){for(const _0x2d9fca of _0x43d15e){if(typeof _0x2d9fca!=_0x3da78a(0x123)||!_0x1e3eb5['test'](_0x2d9fca)||_0x540101['has'](_0x2d9fca))throw new SyntaxError(_0x3da78a(0x233));_0x540101[_0x3da78a(0x209)](_0x2d9fca);}_0x126b2a[_0x3da78a(0xcf)][_0x3da78a(0x17b)]=_0x43d15e[_0x3da78a(0x171)](',');}if(_0x126b2a[_0x3da78a(0x227)]&&(_0x126b2a['protocolVersion']<0xd?_0x126b2a[_0x3da78a(0xcf)][_0x3da78a(0xfc)]=_0x126b2a[_0x3da78a(0x227)]:_0x126b2a['headers'][_0x3da78a(0xa0)]=_0x126b2a['origin']),(_0x28f1e3[_0x3da78a(0x18b)]||_0x28f1e3[_0x3da78a(0x222)])&&(_0x126b2a[_0x3da78a(0xa8)]=_0x28f1e3[_0x3da78a(0x18b)]+':'+_0x28f1e3[_0x3da78a(0x222)]),_0xc810e3){const _0x170a3e=_0x126b2a[_0x3da78a(0xbf)][_0x3da78a(0xae)](':');_0x126b2a['socketPath']=_0x170a3e[0x0],_0x126b2a[_0x3da78a(0xbf)]=_0x170a3e[0x1];}let _0x30355f;if(_0x126b2a[_0x3da78a(0x1ed)]){if(_0x3a97e0[_0x3da78a(0x1bc)]===0x0){_0x3a97e0[_0x3da78a(0xf5)]=_0xc810e3,_0x3a97e0['_originalSecure']=_0x4bd91d,_0x3a97e0[_0x3da78a(0xce)]=_0xc810e3?_0x126b2a[_0x3da78a(0xc7)]:_0x28f1e3[_0x3da78a(0x20d)];const _0x4ff54c=_0x4ba132&&_0x4ba132[_0x3da78a(0xcf)];if(_0x4ba132={..._0x4ba132,'headers':{}},_0x4ff54c){for(const [_0x15801f,_0xc0c0d8]of Object[_0x3da78a(0x152)](_0x4ff54c))_0x4ba132[_0x3da78a(0xcf)][_0x15801f[_0x3da78a(0x22a)]()]=_0xc0c0d8;}}else{if(_0x3a97e0['listenerCount'](_0x3da78a(0x1f4))===0x0){const _0xd49871=_0xc810e3?_0x3a97e0[_0x3da78a(0xf5)]?_0x126b2a[_0x3da78a(0xc7)]===_0x3a97e0[_0x3da78a(0xce)]:!0x1:_0x3a97e0['_originalIpc']?!0x1:_0x28f1e3['host']===_0x3a97e0['_originalHostOrSocketPath'];(!_0xd49871||_0x3a97e0[_0x3da78a(0x1f0)]&&!_0x4bd91d)&&(delete _0x126b2a[_0x3da78a(0xcf)]['authorization'],delete _0x126b2a[_0x3da78a(0xcf)][_0x3da78a(0x192)],_0xd49871||delete _0x126b2a['headers']['host'],_0x126b2a[_0x3da78a(0xa8)]=void 0x0);}}_0x126b2a[_0x3da78a(0xa8)]&&!_0x4ba132['headers'][_0x3da78a(0x1d4)]&&(_0x4ba132[_0x3da78a(0xcf)][_0x3da78a(0x1d4)]=_0x3da78a(0x1f6)+Buffer[_0x3da78a(0x1b4)](_0x126b2a[_0x3da78a(0xa8)])[_0x3da78a(0x178)](_0x3da78a(0x1a1))),_0x30355f=_0x3a97e0[_0x3da78a(0x130)]=_0x7fadc5(_0x126b2a),_0x3a97e0[_0x3da78a(0x1bc)]&&_0x3a97e0[_0x3da78a(0x13f)](_0x3da78a(0x1f4),_0x3a97e0[_0x3da78a(0x154)],_0x30355f);}else _0x30355f=_0x3a97e0['_req']=_0x7fadc5(_0x126b2a);_0x126b2a[_0x3da78a(0x14b)]&&_0x30355f['on']('timeout',()=>{const _0x35fded=_0x3da78a;_0x4ca3ec(_0x3a97e0,_0x30355f,_0x35fded(0x106));}),_0x30355f['on'](_0x3da78a(0x1b0),_0x553930=>{const _0x769f82=_0x3da78a;_0x30355f===null||_0x30355f[_0x3e1e4b]||(_0x30355f=_0x3a97e0[_0x769f82(0x130)]=null,_0x535629(_0x3a97e0,_0x553930));}),_0x30355f['on'](_0x3da78a(0xc0),_0x3d01f4=>{const _0x90a28a=_0x3da78a,_0x2997c5=_0x3d01f4[_0x90a28a(0xcf)][_0x90a28a(0x146)],_0x1b7708=_0x3d01f4['statusCode'];if(_0x2997c5&&_0x126b2a[_0x90a28a(0x1ed)]&&_0x1b7708>=0x12c&&_0x1b7708<0x190){if(++_0x3a97e0[_0x90a28a(0x1bc)]>_0x126b2a['maxRedirects']){_0x4ca3ec(_0x3a97e0,_0x30355f,'Maximum\x20redirects\x20exceeded');return;}_0x30355f[_0x90a28a(0x164)]();let _0x30a7af;try{_0x30a7af=new _0x332f45(_0x2997c5,_0x4eff40);}catch{const _0x412f19=new SyntaxError('Invalid\x20URL:\x20'+_0x2997c5);_0x535629(_0x3a97e0,_0x412f19);return;}_0x32de74(_0x3a97e0,_0x30a7af,_0x43d15e,_0x4ba132);}else _0x3a97e0[_0x90a28a(0x13f)](_0x90a28a(0x200),_0x30355f,_0x3d01f4)||_0x4ca3ec(_0x3a97e0,_0x30355f,_0x90a28a(0x21c)+_0x3d01f4[_0x90a28a(0x172)]);}),_0x30355f['on'](_0x3da78a(0x1cf),(_0x4a9d94,_0x5254ae,_0x1ee5ee)=>{const _0x123ff4=_0x3da78a;if(_0x3a97e0[_0x123ff4(0x13f)]('upgrade',_0x4a9d94),_0x3a97e0[_0x123ff4(0x100)]!==_0x60c71b['CONNECTING'])return;_0x30355f=_0x3a97e0[_0x123ff4(0x130)]=null;const _0x4b5be6=_0x4a9d94[_0x123ff4(0xcf)][_0x123ff4(0x1cf)];if(_0x4b5be6===void 0x0||_0x4b5be6[_0x123ff4(0x22a)]()!=='websocket'){_0x4ca3ec(_0x3a97e0,_0x5254ae,_0x123ff4(0x1e7));return;}const _0x5734a1=_0x19447b(_0x123ff4(0x1eb))[_0x123ff4(0x19c)](_0x46bfe8+_0x1a61b6)[_0x123ff4(0x157)](_0x123ff4(0x1a1));if(_0x4a9d94['headers'][_0x123ff4(0xde)]!==_0x5734a1){_0x4ca3ec(_0x3a97e0,_0x5254ae,_0x123ff4(0x18c));return;}const _0x3cdf31=_0x4a9d94[_0x123ff4(0xcf)][_0x123ff4(0x14f)];let _0x3f653f;if(_0x3cdf31!==void 0x0?_0x540101[_0x123ff4(0x17a)]?_0x540101[_0x123ff4(0x11a)](_0x3cdf31)||(_0x3f653f=_0x123ff4(0x137)):_0x3f653f=_0x123ff4(0x234):_0x540101[_0x123ff4(0x17a)]&&(_0x3f653f=_0x123ff4(0xa2)),_0x3f653f){_0x4ca3ec(_0x3a97e0,_0x5254ae,_0x3f653f);return;}_0x3cdf31&&(_0x3a97e0[_0x123ff4(0xef)]=_0x3cdf31);const _0x4b713e=_0x4a9d94[_0x123ff4(0xcf)][_0x123ff4(0x22b)];if(_0x4b713e!==void 0x0){if(!_0x509af3){_0x4ca3ec(_0x3a97e0,_0x5254ae,_0x123ff4(0x1ca));return;}let _0x4b3812;try{_0x4b3812=_0x5be245(_0x4b713e);}catch{_0x4ca3ec(_0x3a97e0,_0x5254ae,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0xc41634=Object['keys'](_0x4b3812);if(_0xc41634[_0x123ff4(0x1ba)]!==0x1||_0xc41634[0x0]!==_0xb940e1[_0x123ff4(0xd5)]){_0x4ca3ec(_0x3a97e0,_0x5254ae,_0x123ff4(0x1f3));return;}try{_0x509af3[_0x123ff4(0x160)](_0x4b3812[_0xb940e1[_0x123ff4(0xd5)]]);}catch{_0x4ca3ec(_0x3a97e0,_0x5254ae,_0x123ff4(0xf1));return;}_0x3a97e0[_0x123ff4(0x1d1)][_0xb940e1[_0x123ff4(0xd5)]]=_0x509af3;}_0x3a97e0[_0x123ff4(0x1d9)](_0x5254ae,_0x1ee5ee,{'allowSynchronousEvents':_0x126b2a[_0x123ff4(0x228)],'generateMask':_0x126b2a['generateMask'],'maxPayload':_0x126b2a[_0x123ff4(0xf9)],'skipUTF8Validation':_0x126b2a[_0x123ff4(0x11e)]});}),_0x126b2a[_0x3da78a(0x9b)]?_0x126b2a[_0x3da78a(0x9b)](_0x30355f,_0x3a97e0):_0x30355f[_0x3da78a(0x142)]();}function _0x535629(_0x56d44c,_0x501c08){const _0xa248a4=_0x2f0829;_0x56d44c[_0xa248a4(0x194)]=_0x60c71b[_0xa248a4(0xe8)],_0x56d44c[_0xa248a4(0x9f)]=!0x0,_0x56d44c['emit'](_0xa248a4(0x1b0),_0x501c08),_0x56d44c[_0xa248a4(0xf2)]();}function _0x146271(_0x2c407c){const _0x552d48=_0x2f0829;return _0x2c407c[_0x552d48(0xbf)]=_0x2c407c[_0x552d48(0xc7)],_0x5334ea[_0x552d48(0xa4)](_0x2c407c);}function _0x148889(_0x44c842){const _0xef7bfe=_0x2f0829;return _0x44c842['path']=void 0x0,!_0x44c842[_0xef7bfe(0x1d0)]&&_0x44c842[_0xef7bfe(0x1d0)]!==''&&(_0x44c842['servername']=_0x5334ea['isIP'](_0x44c842['host'])?'':_0x44c842[_0xef7bfe(0x20d)]),_0x1810ac[_0xef7bfe(0xa4)](_0x44c842);}function _0x4ca3ec(_0x230113,_0x259da3,_0x159fd5){const _0x48ef38=_0x2f0829;_0x230113[_0x48ef38(0x194)]=_0x60c71b[_0x48ef38(0xe8)];const _0x6e88ff=new Error(_0x159fd5);Error['captureStackTrace'](_0x6e88ff,_0x4ca3ec),_0x259da3['setHeader']?(_0x259da3[_0x3e1e4b]=!0x0,_0x259da3['abort'](),_0x259da3[_0x48ef38(0x1d2)]&&!_0x259da3[_0x48ef38(0x1d2)][_0x48ef38(0x1a7)]&&_0x259da3[_0x48ef38(0x1d2)][_0x48ef38(0xec)](),process['nextTick'](_0x535629,_0x230113,_0x6e88ff)):(_0x259da3['destroy'](_0x6e88ff),_0x259da3[_0x48ef38(0x107)](_0x48ef38(0x1b0),_0x230113[_0x48ef38(0x13f)][_0x48ef38(0x108)](_0x230113,_0x48ef38(0x1b0))),_0x259da3[_0x48ef38(0x107)](_0x48ef38(0xf4),_0x230113[_0x48ef38(0xf2)][_0x48ef38(0x108)](_0x230113)));}function _0x1c001d(_0x1fe61e,_0x432a35,_0x46f83e){const _0x89cdab=_0x2f0829;if(_0x432a35){const _0x1c1365=_0x145116(_0x432a35)?_0x432a35[_0x89cdab(0x17a)]:_0xc81dd8(_0x432a35)['length'];_0x1fe61e['_socket']?_0x1fe61e[_0x89cdab(0x1e5)]['_bufferedBytes']+=_0x1c1365:_0x1fe61e[_0x89cdab(0x110)]+=_0x1c1365;}if(_0x46f83e){const _0x47a246=new Error(_0x89cdab(0x224)+_0x1fe61e[_0x89cdab(0x100)]+'\x20('+_0x222a32[_0x1fe61e[_0x89cdab(0x100)]]+')');process['nextTick'](_0x46f83e,_0x47a246);}}function _0x5b2a02(_0xd545ac,_0x1ff73d){const _0x26be36=_0x2f0829,_0x286bb6=this[_0x3c016b];_0x286bb6[_0x26be36(0x206)]=!0x0,_0x286bb6[_0x26be36(0xbd)]=_0x1ff73d,_0x286bb6[_0x26be36(0x10a)]=_0xd545ac,_0x286bb6[_0x26be36(0x1d3)][_0x3c016b]!==void 0x0&&(_0x286bb6[_0x26be36(0x1d3)]['removeListener'](_0x26be36(0xfb),_0x20c26f),process['nextTick'](_0x4bbdb6,_0x286bb6[_0x26be36(0x1d3)]),_0xd545ac===0x3ed?_0x286bb6['close']():_0x286bb6[_0x26be36(0xf4)](_0xd545ac,_0x1ff73d));}function _0x3ebebd(){const _0x37bb51=_0x2f0829,_0x24bd58=this[_0x3c016b];_0x24bd58[_0x37bb51(0x193)]||_0x24bd58[_0x37bb51(0x1d3)][_0x37bb51(0x238)]();}function _0xd3d534(_0x446d34){const _0x23ccdf=_0x2f0829,_0x216c19=this[_0x3c016b];_0x216c19[_0x23ccdf(0x1d3)][_0x3c016b]!==void 0x0&&(_0x216c19[_0x23ccdf(0x1d3)][_0x23ccdf(0xe7)](_0x23ccdf(0xfb),_0x20c26f),process[_0x23ccdf(0x11f)](_0x4bbdb6,_0x216c19['_socket']),_0x216c19[_0x23ccdf(0xf4)](_0x446d34[_0x14d1e0])),_0x216c19[_0x23ccdf(0x9f)]||(_0x216c19[_0x23ccdf(0x9f)]=!0x0,_0x216c19['emit']('error',_0x446d34));}function _0x346833(){const _0x5a8e3d=_0x2f0829;this[_0x3c016b][_0x5a8e3d(0xf2)]();}function _0x11da8c(_0x27d3e4,_0x32be38){const _0x5239eb=_0x2f0829;this[_0x3c016b][_0x5239eb(0x13f)](_0x5239eb(0xe0),_0x27d3e4,_0x32be38);}function _0x21f3de(_0xa7a487){const _0x54e53e=_0x2f0829,_0x377d1c=this[_0x3c016b];_0x377d1c[_0x54e53e(0x99)]&&_0x377d1c[_0x54e53e(0x15a)](_0xa7a487,!this[_0x54e53e(0x20e)],_0x58abd1),_0x377d1c['emit'](_0x54e53e(0xf3),_0xa7a487);}function _0x2cd790(_0x599f1d){const _0x21f6a4=_0x2f0829;this[_0x3c016b][_0x21f6a4(0x13f)](_0x21f6a4(0x15a),_0x599f1d);}function _0x4bbdb6(_0x4f045c){const _0x418453=_0x2f0829;_0x4f045c[_0x418453(0x238)]();}function _0x2ed1c0(_0x11a476){const _0x55ee71=_0x2f0829,_0x21689b=this[_0x3c016b];_0x21689b[_0x55ee71(0x100)]!==_0x60c71b[_0x55ee71(0x116)]&&(_0x21689b[_0x55ee71(0x100)]===_0x60c71b[_0x55ee71(0x1c1)]&&(_0x21689b[_0x55ee71(0x194)]=_0x60c71b['CLOSING'],_0x4ffb3a(_0x21689b)),this[_0x55ee71(0x1d3)][_0x55ee71(0x142)](),_0x21689b[_0x55ee71(0x9f)]||(_0x21689b[_0x55ee71(0x9f)]=!0x0,_0x21689b[_0x55ee71(0x13f)](_0x55ee71(0x1b0),_0x11a476)));}function _0x4ffb3a(_0x286357){const _0x4ec8ec=_0x2f0829;_0x286357[_0x4ec8ec(0x1d8)]=setTimeout(_0x286357[_0x4ec8ec(0x1d3)][_0x4ec8ec(0xec)][_0x4ec8ec(0x108)](_0x286357[_0x4ec8ec(0x1d3)]),_0x501e1a);}function _0x332e71(){const _0x5278b5=_0x2f0829,_0x5a3f50=this[_0x3c016b];this[_0x5278b5(0xe7)](_0x5278b5(0xf4),_0x332e71),this['removeListener'](_0x5278b5(0xfb),_0x20c26f),this[_0x5278b5(0xe7)]('end',_0x5d254),_0x5a3f50[_0x5278b5(0x194)]=_0x60c71b[_0x5278b5(0xe8)];let _0x193a55;!this[_0x5278b5(0x20b)]['endEmitted']&&!_0x5a3f50[_0x5278b5(0x206)]&&!_0x5a3f50['_receiver'][_0x5278b5(0x236)][_0x5278b5(0x1ee)]&&(_0x193a55=_0x5a3f50[_0x5278b5(0x1d3)][_0x5278b5(0x92)]())!==null&&_0x5a3f50['_receiver'][_0x5278b5(0x18e)](_0x193a55),_0x5a3f50[_0x5278b5(0xf8)][_0x5278b5(0x142)](),this[_0x3c016b]=void 0x0,clearTimeout(_0x5a3f50[_0x5278b5(0x1d8)]),_0x5a3f50['_receiver'][_0x5278b5(0x236)][_0x5278b5(0x230)]||_0x5a3f50[_0x5278b5(0xf8)]['_writableState']['errorEmitted']?_0x5a3f50['emitClose']():(_0x5a3f50['_receiver']['on'](_0x5278b5(0x1b0),_0x346833),_0x5a3f50[_0x5278b5(0xf8)]['on'](_0x5278b5(0x121),_0x346833));}function _0x20c26f(_0x166e68){const _0x47fb12=_0x2f0829;this[_0x3c016b][_0x47fb12(0xf8)][_0x47fb12(0x18e)](_0x166e68)||this[_0x47fb12(0xdf)]();}function _0x5d254(){const _0x156f61=_0x2f0829,_0x1debef=this[_0x3c016b];_0x1debef['_readyState']=_0x60c71b['CLOSING'],_0x1debef[_0x156f61(0xf8)]['end'](),this['end']();}function _0x2dcf96(){const _0x3523c9=_0x2f0829,_0x26f2c8=this[_0x3c016b];this[_0x3523c9(0xe7)]('error',_0x2dcf96),this['on'](_0x3523c9(0x1b0),_0x58abd1),_0x26f2c8&&(_0x26f2c8['_readyState']=_0x60c71b[_0x3523c9(0xe8)],this[_0x3523c9(0xec)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x2bb485}=_0xa793d9;function _0x8b9155(_0x1bfa1f){_0x1bfa1f['emit']('close');}function _0x3d6ecc(){const _0x570764=_0x115a;!this[_0x570764(0x1a7)]&&this['_writableState'][_0x570764(0x230)]&&this['destroy']();}function _0x501a3b(_0x5e4880){const _0x488904=_0x115a;this['removeListener'](_0x488904(0x1b0),_0x501a3b),this[_0x488904(0xec)](),this[_0x488904(0x20c)](_0x488904(0x1b0))===0x0&&this[_0x488904(0x13f)]('error',_0x5e4880);}function _0x4c8554(_0x41e667,_0x1f107b){const _0x20e84c=_0x115a;let _0x585aae=!0x0;const _0x5f2c66=new _0x2bb485({..._0x1f107b,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x41e667['on']('message',function(_0x4ff7dd,_0x1e2349){const _0x23d3a6=_0x115a,_0x55a4d7=!_0x1e2349&&_0x5f2c66[_0x23d3a6(0x20b)][_0x23d3a6(0x1bd)]?_0x4ff7dd[_0x23d3a6(0x178)]():_0x4ff7dd;_0x5f2c66[_0x23d3a6(0x162)](_0x55a4d7)||_0x41e667[_0x23d3a6(0xdf)]();}),_0x41e667[_0x20e84c(0x107)]('error',function(_0x547487){const _0x26c393=_0x20e84c;_0x5f2c66[_0x26c393(0x1a7)]||(_0x585aae=!0x1,_0x5f2c66[_0x26c393(0xec)](_0x547487));}),_0x41e667[_0x20e84c(0x107)](_0x20e84c(0xf4),function(){const _0x4948df=_0x20e84c;_0x5f2c66[_0x4948df(0x1a7)]||_0x5f2c66[_0x4948df(0x162)](null);}),_0x5f2c66['_destroy']=function(_0x5b08ca,_0x2a12c4){const _0x655b54=_0x20e84c;if(_0x41e667[_0x655b54(0x100)]===_0x41e667[_0x655b54(0x116)]){_0x2a12c4(_0x5b08ca),process['nextTick'](_0x8b9155,_0x5f2c66);return;}let _0x1b1005=!0x1;_0x41e667[_0x655b54(0x107)](_0x655b54(0x1b0),function(_0x3f4611){_0x1b1005=!0x0,_0x2a12c4(_0x3f4611);}),_0x41e667['once'](_0x655b54(0xf4),function(){const _0x4d2c10=_0x655b54;_0x1b1005||_0x2a12c4(_0x5b08ca),process[_0x4d2c10(0x11f)](_0x8b9155,_0x5f2c66);}),_0x585aae&&_0x41e667['terminate']();},_0x5f2c66[_0x20e84c(0x1b6)]=function(_0x41e91a){const _0x5e71fa=_0x20e84c;if(_0x41e667['readyState']===_0x41e667[_0x5e71fa(0x189)]){_0x41e667[_0x5e71fa(0x107)](_0x5e71fa(0x1ec),function(){const _0x2378db=_0x5e71fa;_0x5f2c66[_0x2378db(0x1b6)](_0x41e91a);});return;}_0x41e667[_0x5e71fa(0x1d3)]!==null&&(_0x41e667[_0x5e71fa(0x1d3)][_0x5e71fa(0x236)][_0x5e71fa(0x230)]?(_0x41e91a(),_0x5f2c66[_0x5e71fa(0x20b)][_0x5e71fa(0x1ff)]&&_0x5f2c66['destroy']()):(_0x41e667[_0x5e71fa(0x1d3)][_0x5e71fa(0x107)]('finish',function(){_0x41e91a();}),_0x41e667[_0x5e71fa(0xf4)]()));},_0x5f2c66['_read']=function(){const _0x2aa3ac=_0x20e84c;_0x41e667['isPaused']&&_0x41e667[_0x2aa3ac(0x238)]();},_0x5f2c66[_0x20e84c(0x21f)]=function(_0x13dd64,_0x288774,_0x1b0ead){const _0x2b0acd=_0x20e84c;if(_0x41e667[_0x2b0acd(0x100)]===_0x41e667['CONNECTING']){_0x41e667[_0x2b0acd(0x107)](_0x2b0acd(0x1ec),function(){_0x5f2c66['_write'](_0x13dd64,_0x288774,_0x1b0ead);});return;}_0x41e667['send'](_0x13dd64,_0x1b0ead);},_0x5f2c66['on'](_0x20e84c(0x142),_0x3d6ecc),_0x5f2c66['on']('error',_0x501a3b),_0x5f2c66;}return Oe=_0x4c8554,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x10829c}=ne();function _0x4dca51(_0x238e65){const _0x4c9741=_0x115a,_0x3b78bd=new Set();let _0x45f13f=-0x1,_0x5eef09=-0x1,_0x19fb10=0x0;for(_0x19fb10;_0x19fb10<_0x238e65[_0x4c9741(0x1ba)];_0x19fb10++){const _0xbaa30e=_0x238e65['charCodeAt'](_0x19fb10);if(_0x5eef09===-0x1&&_0x10829c[_0xbaa30e]===0x1)_0x45f13f===-0x1&&(_0x45f13f=_0x19fb10);else{if(_0x19fb10!==0x0&&(_0xbaa30e===0x20||_0xbaa30e===0x9))_0x5eef09===-0x1&&_0x45f13f!==-0x1&&(_0x5eef09=_0x19fb10);else{if(_0xbaa30e===0x2c){if(_0x45f13f===-0x1)throw new SyntaxError(_0x4c9741(0x1e3)+_0x19fb10);_0x5eef09===-0x1&&(_0x5eef09=_0x19fb10);const _0x4e646f=_0x238e65[_0x4c9741(0x184)](_0x45f13f,_0x5eef09);if(_0x3b78bd['has'](_0x4e646f))throw new SyntaxError(_0x4c9741(0x10d)+_0x4e646f+'\x22\x20subprotocol\x20is\x20duplicated');_0x3b78bd[_0x4c9741(0x209)](_0x4e646f),_0x45f13f=_0x5eef09=-0x1;}else throw new SyntaxError(_0x4c9741(0x1e3)+_0x19fb10);}}}if(_0x45f13f===-0x1||_0x5eef09!==-0x1)throw new SyntaxError(_0x4c9741(0x226));const _0x281eb6=_0x238e65['slice'](_0x45f13f,_0x19fb10);if(_0x3b78bd[_0x4c9741(0x11a)](_0x281eb6))throw new SyntaxError(_0x4c9741(0x10d)+_0x281eb6+_0x4c9741(0x1da));return _0x3b78bd[_0x4c9741(0x209)](_0x281eb6),_0x3b78bd;}return Ce={'parse':_0x4dca51},Ce;}var Te,ot;function er(){const _0x2fa5b3=_0x4f6260;if(ot)return Te;ot=0x1;const _0xebfc93=_0x3666b2,_0x409201=_0x513c8,{Duplex:_0x28daa6}=_0xa793d9,{createHash:_0x51b794}=_0x25ad0b,_0x596f31=pt(),_0x1d3c43=he(),_0x417dec=Jt(),_0x3edcce=Ie(),{GUID:_0x517db2,kWebSocket:_0x1f2d10}=V(),_0x2b7be5=/^[+/0-9A-Za-z]{22}==$/,_0x80a65d=0x0,_0xe9b493=0x1,_0x6d4b86=0x2;class _0x2def0a extends _0xebfc93{constructor(_0x3cdf61,_0x136364){const _0x1959aa=_0x115a;if(super(),_0x3cdf61={'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':_0x3edcce,..._0x3cdf61},_0x3cdf61['port']==null&&!_0x3cdf61[_0x1959aa(0x95)]&&!_0x3cdf61[_0x1959aa(0xc2)]||_0x3cdf61[_0x1959aa(0x8e)]!=null&&(_0x3cdf61[_0x1959aa(0x95)]||_0x3cdf61[_0x1959aa(0xc2)])||_0x3cdf61[_0x1959aa(0x95)]&&_0x3cdf61['noServer'])throw new TypeError(_0x1959aa(0xa9));if(_0x3cdf61[_0x1959aa(0x8e)]!=null?(this[_0x1959aa(0x145)]=_0x409201[_0x1959aa(0x1f9)]((_0x4d13f9,_0x18504d)=>{const _0x22e605=_0x1959aa,_0x1b8302=_0x409201['STATUS_CODES'][0x1aa];_0x18504d['writeHead'](0x1aa,{'Content-Length':_0x1b8302[_0x22e605(0x1ba)],'Content-Type':'text/plain'}),_0x18504d[_0x22e605(0x142)](_0x1b8302);}),this[_0x1959aa(0x145)][_0x1959aa(0x218)](_0x3cdf61[_0x1959aa(0x8e)],_0x3cdf61[_0x1959aa(0x20d)],_0x3cdf61['backlog'],_0x136364)):_0x3cdf61[_0x1959aa(0x95)]&&(this['_server']=_0x3cdf61[_0x1959aa(0x95)]),this[_0x1959aa(0x145)]){const _0x63316f=this[_0x1959aa(0x13f)][_0x1959aa(0x108)](this,'connection');this[_0x1959aa(0x15d)]=_0x53cc79(this[_0x1959aa(0x145)],{'listening':this[_0x1959aa(0x13f)]['bind'](this,_0x1959aa(0x143)),'error':this[_0x1959aa(0x13f)]['bind'](this,_0x1959aa(0x1b0)),'upgrade':(_0x173cd4,_0x13ee2a,_0x3aeda1)=>{const _0xf7ce4f=_0x1959aa;this[_0xf7ce4f(0xcc)](_0x173cd4,_0x13ee2a,_0x3aeda1,_0x63316f);}});}_0x3cdf61[_0x1959aa(0xc9)]===!0x0&&(_0x3cdf61[_0x1959aa(0xc9)]={}),_0x3cdf61[_0x1959aa(0x239)]&&(this[_0x1959aa(0x96)]=new Set(),this['_shouldEmitClose']=!0x1),this['options']=_0x3cdf61,this[_0x1959aa(0xd2)]=_0x80a65d;}[_0x2fa5b3(0x1dc)](){const _0x24149d=_0x2fa5b3;if(this['options'][_0x24149d(0xc2)])throw new Error(_0x24149d(0x15f));return this[_0x24149d(0x145)]?this[_0x24149d(0x145)][_0x24149d(0x1dc)]():null;}[_0x2fa5b3(0xf4)](_0x16f402){const _0x567d86=_0x2fa5b3;if(this[_0x567d86(0xd2)]===_0x6d4b86){_0x16f402&&this[_0x567d86(0x107)](_0x567d86(0xf4),()=>{_0x16f402(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x567d86(0x11f)](_0x337834,this);return;}if(_0x16f402&&this[_0x567d86(0x107)](_0x567d86(0xf4),_0x16f402),this[_0x567d86(0xd2)]!==_0xe9b493){if(this[_0x567d86(0xd2)]=_0xe9b493,this[_0x567d86(0x166)][_0x567d86(0xc2)]||this['options']['server'])this[_0x567d86(0x145)]&&(this[_0x567d86(0x15d)](),this[_0x567d86(0x15d)]=this['_server']=null),this[_0x567d86(0x96)]?this[_0x567d86(0x96)][_0x567d86(0x17a)]?this[_0x567d86(0x210)]=!0x0:process[_0x567d86(0x11f)](_0x337834,this):process[_0x567d86(0x11f)](_0x337834,this);else{const _0x3b01fe=this[_0x567d86(0x145)];this[_0x567d86(0x15d)](),this[_0x567d86(0x15d)]=this[_0x567d86(0x145)]=null,_0x3b01fe[_0x567d86(0xf4)](()=>{_0x337834(this);});}}}[_0x2fa5b3(0x109)](_0xcab53f){const _0x563416=_0x2fa5b3;if(this[_0x563416(0x166)][_0x563416(0xbf)]){const _0x15edbe=_0xcab53f['url'][_0x563416(0xd3)]('?');if((_0x15edbe!==-0x1?_0xcab53f[_0x563416(0x154)][_0x563416(0x184)](0x0,_0x15edbe):_0xcab53f[_0x563416(0x154)])!==this[_0x563416(0x166)]['path'])return!0x1;}return!0x0;}[_0x2fa5b3(0xcc)](_0x5b7d07,_0x1b510d,_0x4c17a4,_0x44209f){const _0x2d7c59=_0x2fa5b3;_0x1b510d['on'](_0x2d7c59(0x1b0),_0x34cb85);const _0x265754=_0x5b7d07[_0x2d7c59(0xcf)][_0x2d7c59(0x197)],_0x1fba7b=_0x5b7d07[_0x2d7c59(0xcf)]['upgrade'],_0x38cb28=+_0x5b7d07['headers'][_0x2d7c59(0x12e)];if(_0x5b7d07[_0x2d7c59(0x10e)]!==_0x2d7c59(0x169)){_0x19ae50(this,_0x5b7d07,_0x1b510d,0x195,_0x2d7c59(0x149));return;}if(_0x1fba7b===void 0x0||_0x1fba7b[_0x2d7c59(0x22a)]()!=='websocket'){_0x19ae50(this,_0x5b7d07,_0x1b510d,0x190,_0x2d7c59(0x1e7));return;}if(_0x265754===void 0x0||!_0x2b7be5[_0x2d7c59(0x231)](_0x265754)){_0x19ae50(this,_0x5b7d07,_0x1b510d,0x190,_0x2d7c59(0x16f));return;}if(_0x38cb28!==0xd&&_0x38cb28!==0x8){_0x19ae50(this,_0x5b7d07,_0x1b510d,0x190,_0x2d7c59(0x21e),{'Sec-WebSocket-Version':'13,\x208'});return;}if(!this[_0x2d7c59(0x109)](_0x5b7d07)){_0x2ec627(_0x1b510d,0x190);return;}const _0x1594f2=_0x5b7d07[_0x2d7c59(0xcf)][_0x2d7c59(0x14f)];let _0x325bff=new Set();if(_0x1594f2!==void 0x0)try{_0x325bff=_0x417dec['parse'](_0x1594f2);}catch{_0x19ae50(this,_0x5b7d07,_0x1b510d,0x190,_0x2d7c59(0x97));return;}const _0x12fdbf=_0x5b7d07[_0x2d7c59(0xcf)][_0x2d7c59(0x22b)],_0x1860d5={};if(this[_0x2d7c59(0x166)][_0x2d7c59(0xc9)]&&_0x12fdbf!==void 0x0){const _0x54c4bf=new _0x1d3c43(this[_0x2d7c59(0x166)][_0x2d7c59(0xc9)],!0x0,this[_0x2d7c59(0x166)][_0x2d7c59(0xf9)]);try{const _0x42a669=_0x596f31[_0x2d7c59(0xee)](_0x12fdbf);_0x42a669[_0x1d3c43[_0x2d7c59(0xd5)]]&&(_0x54c4bf['accept'](_0x42a669[_0x1d3c43['extensionName']]),_0x1860d5[_0x1d3c43[_0x2d7c59(0xd5)]]=_0x54c4bf);}catch{_0x19ae50(this,_0x5b7d07,_0x1b510d,0x190,_0x2d7c59(0x1ae));return;}}if(this[_0x2d7c59(0x166)]['verifyClient']){const _0x36ace1={'origin':_0x5b7d07['headers'][''+(_0x38cb28===0x8?_0x2d7c59(0x22c):_0x2d7c59(0x227))],'secure':!!(_0x5b7d07[_0x2d7c59(0x1d2)][_0x2d7c59(0x19f)]||_0x5b7d07[_0x2d7c59(0x1d2)][_0x2d7c59(0xb8)]),'req':_0x5b7d07};if(this[_0x2d7c59(0x166)][_0x2d7c59(0x134)]['length']===0x2){this[_0x2d7c59(0x166)][_0x2d7c59(0x134)](_0x36ace1,(_0x5d46cb,_0x1af46d,_0x2fb0d8,_0x216991)=>{const _0x5ab7cc=_0x2d7c59;if(!_0x5d46cb)return _0x2ec627(_0x1b510d,_0x1af46d||0x191,_0x2fb0d8,_0x216991);this[_0x5ab7cc(0x198)](_0x1860d5,_0x265754,_0x325bff,_0x5b7d07,_0x1b510d,_0x4c17a4,_0x44209f);});return;}if(!this[_0x2d7c59(0x166)]['verifyClient'](_0x36ace1))return _0x2ec627(_0x1b510d,0x191);}this[_0x2d7c59(0x198)](_0x1860d5,_0x265754,_0x325bff,_0x5b7d07,_0x1b510d,_0x4c17a4,_0x44209f);}[_0x2fa5b3(0x198)](_0x10f034,_0x4d9d21,_0x21a572,_0x10d552,_0x347b87,_0x3639e2,_0x1b1815){const _0x37b3ba=_0x2fa5b3;if(!_0x347b87[_0x37b3ba(0x9e)]||!_0x347b87['writable'])return _0x347b87[_0x37b3ba(0xec)]();if(_0x347b87[_0x1f2d10])throw new Error(_0x37b3ba(0x19b));if(this[_0x37b3ba(0xd2)]>_0x80a65d)return _0x2ec627(_0x347b87,0x1f7);const _0x1a2509=[_0x37b3ba(0x19d),_0x37b3ba(0xa3),_0x37b3ba(0x170),_0x37b3ba(0x219)+_0x51b794(_0x37b3ba(0x1eb))[_0x37b3ba(0x19c)](_0x4d9d21+_0x517db2)[_0x37b3ba(0x157)](_0x37b3ba(0x1a1))],_0x3957bc=new this['options'][(_0x37b3ba(0x21d))](null,void 0x0,this[_0x37b3ba(0x166)]);if(_0x21a572['size']){const _0x23499b=this[_0x37b3ba(0x166)]['handleProtocols']?this[_0x37b3ba(0x166)][_0x37b3ba(0x1c8)](_0x21a572,_0x10d552):_0x21a572['values']()[_0x37b3ba(0x14e)]()[_0x37b3ba(0x1c4)];_0x23499b&&(_0x1a2509[_0x37b3ba(0x162)](_0x37b3ba(0x17d)+_0x23499b),_0x3957bc['_protocol']=_0x23499b);}if(_0x10f034[_0x1d3c43[_0x37b3ba(0xd5)]]){const _0x1bd3c3=_0x10f034[_0x1d3c43['extensionName']][_0x37b3ba(0x229)],_0x505b2a=_0x596f31[_0x37b3ba(0x1a9)]({[_0x1d3c43[_0x37b3ba(0xd5)]]:[_0x1bd3c3]});_0x1a2509[_0x37b3ba(0x162)]('Sec-WebSocket-Extensions:\x20'+_0x505b2a),_0x3957bc['_extensions']=_0x10f034;}this[_0x37b3ba(0x13f)](_0x37b3ba(0xcf),_0x1a2509,_0x10d552),_0x347b87['write'](_0x1a2509[_0x37b3ba(0x10c)]('\x0d\x0a')[_0x37b3ba(0x171)]('\x0d\x0a')),_0x347b87[_0x37b3ba(0xe7)](_0x37b3ba(0x1b0),_0x34cb85),_0x3957bc[_0x37b3ba(0x1d9)](_0x347b87,_0x3639e2,{'allowSynchronousEvents':this['options'][_0x37b3ba(0x228)],'maxPayload':this[_0x37b3ba(0x166)]['maxPayload'],'skipUTF8Validation':this[_0x37b3ba(0x166)]['skipUTF8Validation']}),this[_0x37b3ba(0x96)]&&(this[_0x37b3ba(0x96)][_0x37b3ba(0x209)](_0x3957bc),_0x3957bc['on']('close',()=>{const _0x4a72a1=_0x37b3ba;this[_0x4a72a1(0x96)][_0x4a72a1(0x1de)](_0x3957bc),this[_0x4a72a1(0x210)]&&!this['clients'][_0x4a72a1(0x17a)]&&process[_0x4a72a1(0x11f)](_0x337834,this);})),_0x1b1815(_0x3957bc,_0x10d552);}}Te=_0x2def0a;function _0x53cc79(_0x5f5401,_0x17bb5d){for(const _0x3a6980 of Object['keys'](_0x17bb5d))_0x5f5401['on'](_0x3a6980,_0x17bb5d[_0x3a6980]);return function(){const _0x4601e7=_0x115a;for(const _0x5048ea of Object['keys'](_0x17bb5d))_0x5f5401[_0x4601e7(0xe7)](_0x5048ea,_0x17bb5d[_0x5048ea]);};}function _0x337834(_0x3c4c66){const _0x4c5db1=_0x2fa5b3;_0x3c4c66[_0x4c5db1(0xd2)]=_0x6d4b86,_0x3c4c66[_0x4c5db1(0x13f)]('close');}function _0x34cb85(){const _0x1b1085=_0x2fa5b3;this[_0x1b1085(0xec)]();}function _0x2ec627(_0x215dae,_0x115636,_0x2b3586,_0x259062){const _0x2999a2=_0x2fa5b3;_0x2b3586=_0x2b3586||_0x409201[_0x2999a2(0x11b)][_0x115636],_0x259062={'Connection':_0x2999a2(0xf4),'Content-Type':_0x2999a2(0xe5),'Content-Length':Buffer[_0x2999a2(0x22f)](_0x2b3586),..._0x259062},_0x215dae[_0x2999a2(0x107)]('finish',_0x215dae[_0x2999a2(0xec)]),_0x215dae['end'](_0x2999a2(0x12f)+_0x115636+'\x20'+_0x409201[_0x2999a2(0x11b)][_0x115636]+'\x0d\x0a'+Object[_0x2999a2(0x211)](_0x259062)['map'](_0x3a0545=>_0x3a0545+':\x20'+_0x259062[_0x3a0545])[_0x2999a2(0x171)]('\x0d\x0a')+_0x2999a2(0xd7)+_0x2b3586);}function _0x19ae50(_0x1fe129,_0x26699e,_0x4080d2,_0x2b0230,_0x3f0d56,_0x458e4a){const _0xaef72d=_0x2fa5b3;if(_0x1fe129[_0xaef72d(0x20c)]('wsClientError')){const _0xe7e3d5=new Error(_0x3f0d56);Error[_0xaef72d(0x1e8)](_0xe7e3d5,_0x19ae50),_0x1fe129['emit']('wsClientError',_0xe7e3d5,_0x4080d2,_0x26699e);}else _0x2ec627(_0x4080d2,_0x2b0230,_0x3f0d56,_0x458e4a);}return Te;}er();var tr=Object[_0x4f6260(0x133)],rr=(_0x574cd1,_0x493bb1,_0x1729e6,_0xa7200d)=>{const _0x127359=_0x4f6260;for(var _0x473de9=_0xa7200d>0x1?void 0x0:_0xa7200d?tr(_0x493bb1,_0x1729e6):_0x493bb1,_0x1a58ad=_0x574cd1[_0x127359(0x1ba)]-0x1,_0x244264;_0x1a58ad>=0x0;_0x1a58ad--)(_0x244264=_0x574cd1[_0x1a58ad])&&(_0x473de9=_0x244264(_0x473de9)||_0x473de9);return _0x473de9;},sr=(_0x48187b,_0x274778)=>(_0xfc6180,_0x4a360a)=>_0x274778(_0xfc6180,_0x4a360a,_0x48187b);let Ne=class extends _0x572172{constructor(_0x5687a1){const _0x278c3b=_0x4f6260;super(),this[_0x278c3b(0x1b7)]=_0x5687a1;}[_0x4f6260(0x8b)](_0x150f76){const _0x5de158=_0x4f6260;var _0x4ad86;const _0x295287=(_0x4ad86=this[_0x5de158(0x1b7)][_0x5de158(0x11c)](Be))==null?void 0x0:_0x4ad86['customHeaders'];try{const _0x19bb88=new Qt(_0x150f76,{'headers':{..._0x295287}}),_0x2b372b=new _0x4bb3d8();return{'URL':_0x150f76,'close':(_0x3a2f27,_0x23a68)=>{const _0x5abb22=_0x5de158;_0x19bb88[_0x5abb22(0xf4)](_0x3a2f27,_0x23a68),_0x2b372b[_0x5abb22(0x147)]();},'send':_0x2a6198=>{_0x19bb88['send'](_0x2a6198);},'open$':new _0x546f43(_0x4c2d12=>{const _0x3f3e02=_0x5de158,_0xaf952f=_0x16d7ff=>_0x4c2d12[_0x3f3e02(0x14e)](_0x16d7ff);_0x19bb88[_0x3f3e02(0x191)](_0x3f3e02(0x1ec),_0xaf952f),_0x2b372b[_0x3f3e02(0x209)](_0xcd4a9(()=>_0x19bb88[_0x3f3e02(0xf7)](_0x3f3e02(0x1ec),_0xaf952f)));})[_0x5de158(0xca)](_0x2451ba()),'close$':new _0x546f43(_0x50521c=>{const _0x21a3dc=_0x5de158,_0x14637c=_0x5f587b=>_0x50521c[_0x21a3dc(0x14e)](_0x5f587b);_0x19bb88['addEventListener'](_0x21a3dc(0xf4),_0x14637c),_0x2b372b[_0x21a3dc(0x209)](_0xcd4a9(()=>_0x19bb88[_0x21a3dc(0xf7)](_0x21a3dc(0xf4),_0x14637c)));})[_0x5de158(0xca)](_0x2451ba()),'error$':new _0x546f43(_0x4cf239=>{const _0x8acdf=_0x5de158,_0x238d56=_0x253507=>_0x4cf239[_0x8acdf(0x14e)](_0x253507);_0x19bb88[_0x8acdf(0x191)](_0x8acdf(0x1b0),_0x238d56),_0x2b372b[_0x8acdf(0x209)](_0xcd4a9(()=>_0x19bb88['removeEventListener'](_0x8acdf(0x1b0),_0x238d56)));})[_0x5de158(0xca)](_0x2451ba()),'message$':new _0x546f43(_0x248b88=>{const _0x38264c=_0x5de158,_0x3d7e85=_0x4fe6b9=>_0x248b88[_0x38264c(0x14e)](_0x4fe6b9);_0x19bb88[_0x38264c(0x191)](_0x38264c(0xe0),_0x3d7e85),_0x2b372b[_0x38264c(0x209)](_0xcd4a9(()=>_0x19bb88['removeEventListener'](_0x38264c(0xe0),_0x3d7e85)));})[_0x5de158(0xca)](_0x2451ba())};}catch(_0x2b49f6){return console[_0x5de158(0x1b0)](_0x2b49f6),null;}}};Ne=rr([sr(0x0,_0x14f097)],Ne);var ir=Object[_0x4f6260(0x20f)],nr=Object[_0x4f6260(0x133)],or=(_0x3aca6f,_0x1bf3b9,_0x734129)=>_0x1bf3b9 in _0x3aca6f?ir(_0x3aca6f,_0x1bf3b9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x734129}):_0x3aca6f[_0x1bf3b9]=_0x734129,ar=(_0xba5955,_0x310333,_0x3ff35b,_0x20c765)=>{for(var _0x5849dc=_0x20c765>0x1?void 0x0:_0x20c765?nr(_0x310333,_0x3ff35b):_0x310333,_0x5a39d6=_0xba5955['length']-0x1,_0x13974d;_0x5a39d6>=0x0;_0x5a39d6--)(_0x13974d=_0xba5955[_0x5a39d6])&&(_0x5849dc=_0x13974d(_0x5849dc)||_0x5849dc);return _0x5849dc;},ke=(_0x51755c,_0x35b086)=>(_0x1604b2,_0x424701)=>_0x35b086(_0x1604b2,_0x424701,_0x51755c),lr=(_0x33e5c2,_0xdabe20,_0x1b9f1c)=>or(_0x33e5c2,_0xdabe20+'',_0x1b9f1c);let Pe=class extends _0x385364{constructor(_0x198f4e=Ft,_0xfdf8fb,_0x345bcc,_0x13f0d3){const _0x4bf651=_0x4f6260;_0x198f4e[_0x4bf651(0xa1)]||_0xfdf8fb['warn'](_0x4bf651(0x18a)),super(),this[_0x4bf651(0x1b7)]=_0x345bcc,this[_0x4bf651(0x9a)]=_0x13f0d3,this[_0x4bf651(0x1b7)]['setConfig'](Be,_0x198f4e);}[_0x4f6260(0x8a)](){const _0x4d83d1=_0x4f6260;this[_0x4d83d1(0xad)]();}[_0x4f6260(0xad)](){const _0x28cd64=_0x4f6260;_0x24d7c3(this[_0x28cd64(0x9a)],[[_0x5f2e36,{'useClass':Ne}]]);}};lr(Pe,_0x4f6260(0x115),_0x4f6260(0x1c5)),Pe=ar([_0x4057df(_0x5a29c4),ke(0x1,_0x5cb661),ke(0x2,_0x14f097),ke(0x3,_0x9c53c0(_0x61d3a9))],Pe);var fr=Object[_0x4f6260(0x133)],cr=(_0x4d0827,_0x56ed69,_0x2ae963,_0x1d81ec)=>{for(var _0x5dce9d=_0x1d81ec>0x1?void 0x0:_0x1d81ec?fr(_0x56ed69,_0x2ae963):_0x56ed69,_0xde89fe=_0x4d0827['length']-0x1,_0x57433f;_0xde89fe>=0x0;_0xde89fe--)(_0x57433f=_0x4d0827[_0xde89fe])&&(_0x5dce9d=_0x57433f(_0x5dce9d)||_0x5dce9d);return _0x5dce9d;},se=(_0x579703,_0x4d0ea4)=>(_0x13bc7a,_0x1105b7)=>_0x4d0ea4(_0x13bc7a,_0x1105b7,_0x579703);let at=class extends _0x270829{constructor(_0x43d3a5,_0x3afc66,_0x35cbaf,_0x2d11b3,_0x18bd17){const _0x41d21b=_0x4f6260;super(_0x43d3a5,_0x3afc66,_0x35cbaf,_0x2d11b3,_0x18bd17);const _0x1c77cc=this[_0x41d21b(0x1b7)][_0x41d21b(0x11c)](Be);this[_0x41d21b(0x102)][_0x41d21b(0x9c)]({'interceptor':(_0x25d9ac,_0x3ae993)=>{const _0x327951=_0x41d21b;var _0x473dcd;const _0x5ca5c6=_0x25d9ac[_0x327951(0xcf)];return(_0x473dcd=_0x1c77cc==null?void 0x0:_0x1c77cc[_0x327951(0xa1)])!=null&&_0x473dcd[_0x327951(0x192)]&&_0x5ca5c6[_0x327951(0xb1)](_0x327951(0x223),_0x1c77cc[_0x327951(0xa1)][_0x327951(0x192)]),_0x3ae993(_0x25d9ac);}});}async['createSocket'](_0x424199){const _0xfbd93a=_0x4f6260;return this[_0xfbd93a(0x1fe)](_0x424199);}};at=cr([se(0x0,_0x9c53c0(_0x61d3a9)),se(0x1,_0x9c53c0(_0x35ec7e)),se(0x2,_0x14f097),se(0x3,_0x5cb661),se(0x4,_0x3be298)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|